diff --git a/.idea/Web-Client.iml b/.idea/Web-Client.iml
index c956989b..a707f2cd 100644
--- a/.idea/Web-Client.iml
+++ b/.idea/Web-Client.iml
@@ -4,5 +4,7 @@
+
+
\ No newline at end of file
diff --git a/.idea/dictionaries/wolverindev.xml b/.idea/dictionaries/wolverindev.xml
new file mode 100644
index 00000000..2298c1ba
--- /dev/null
+++ b/.idea/dictionaries/wolverindev.xml
@@ -0,0 +1,7 @@
+
+
+
+ resampler
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 00000000..a7c7a041
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml
index 2b2f10ae..ce61e281 100644
--- a/.idea/jsLibraryMappings.xml
+++ b/.idea/jsLibraryMappings.xml
@@ -1,6 +1,7 @@
+
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b6788b13..19860912 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,7 +1,78 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -11,24 +82,44 @@
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -36,8 +127,8 @@
-
-
+
+
@@ -45,83 +136,86 @@
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
createBuffer
+ console.log
+ on_encoded_data
+ handleVoiceData
+ vad_ppt_key
+ vat_ppt_key
+ start
+ channelTree
+ channel
+ update
+ on_connected
on_data
@@ -132,8 +226,36 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -150,10 +272,10 @@
-
+
-
-
+
+
@@ -177,6 +299,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -200,12 +355,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -216,11 +384,16 @@
-
+
+
+
+
+
+
@@ -248,33 +421,34 @@
1519749313999
+
-
+
-
-
+
-
-
+
-
-
-
+
+
+
+
-
+
+
@@ -303,8 +477,6 @@
-
-
@@ -325,6 +497,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -333,39 +515,11 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -392,19 +546,14 @@
-
-
-
-
-
-
-
-
-
+
+
-
+
+
+
@@ -428,9 +577,6 @@
-
-
-
@@ -442,14 +588,7 @@
-
-
-
-
-
-
-
-
+
@@ -458,83 +597,339 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/asm/generated/TeaWeb-Native.js b/asm/generated/TeaWeb-Native.js
index 2107b510..2f268fbe 100644
--- a/asm/generated/TeaWeb-Native.js
+++ b/asm/generated/TeaWeb-Native.js
@@ -1473,13 +1473,14 @@ var ASM_CONSTS = [];
+
STATIC_BASE = GLOBAL_BASE;
-STATICTOP = STATIC_BASE + 35152;
+STATICTOP = STATIC_BASE + 35184;
/* global initializers */ __ATINIT__.push();
-memoryInitializer = "data:application/octet-stream;base64,6FgAAFqCAAAQWQAAuoIAACAAAAAAAAAAEFkAAGeCAAAwAAAAAAAAAOhYAACIggAAEFkAAJWCAAAQAAAAAAAAABBZAADrggAACAAAAAAAAAAA+gAAgD4AAKCMAACAPgAA+CoAAOgDAACwNgAA6AMAAAhSAADQBwAAYG0AANAHAADgLgAA6AMAAFBGAADQBwAACFIAANAHAAAwdQAA0AcAAPgqAADoAwAAsDYAAOgDAABoQgAA6AMAAAhSAADQBwAA4C4AAOgDAACYOgAA6AMAAFBGAADQBwAA8FUAANAHAADmWjQ4d04zOdPZyTmSkTM6zGCMOmH7yTqZfgk7y4AzO9UlYzt3Low7qIqpO0W4yTuHpuw76C4JPK5mHTz3AjM8k/9JPE9YY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AAAQhQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAAAAAAOAAAAAQAAAAMAAAABgAAAAcAAAAIAAAADQAAAA4AAAAPAAAAAAAAAEgAAAAQAAAAEQAAABIAAAAAAAEAAgADAAQABQAGAAcACAAKAAwADgAQABQAGAAcACIAKAAwADwATgBkAAAAAAAAAAAAAAAAAAAAAAAIAAgACAAIABAAEAAQABUAFQAYAB0AIgAkAP////////////////////8AAAAAAAAAACkAKQApAFIAUgB7AKQAyADeAAAAAAAAAAAAAAAAAAAAAAApACkAKQApAHsAewB7AKQApADwAAoBGwEnASkAKQApACkAKQApACkAKQB7AHsAewB7APAA8ADwAAoBCgExAT4BSAFQAXsAewB7AHsAewB7AHsAewDwAPAA8ADwADEBMQExAT4BPgFXAV8BZgFsAfAA8ADwAPAA8ADwAPAA8AAxATEBMQExAVcBVwFXAV8BXwFyAXgBfgGDAQAADAAYACQAMAAEABAAHAAoADQACAAUACAALAA4AAEADQAZACUAMQAFABEAHQApADUACQAVACEALQA5AAIADgAaACYAMgAGABIAHgAqADYACgAWACIALgA6AAMADwAbACcAMwAHABMAHwArADcACwAXACMALwA7AAAAGAAwAEgAYAAIACAAOABQAGgAEAAoAEAAWABwAAQAHAA0AEwAZAAMACQAPABUAGwAFAAsAEQAXAB0AAEAGQAxAEkAYQAJACEAOQBRAGkAEQApAEEAWQBxAAUAHQA1AE0AZQANACUAPQBVAG0AFQAtAEUAXQB1AAIAGgAyAEoAYgAKACIAOgBSAGoAEgAqAEIAWgByAAYAHgA2AE4AZgAOACYAPgBWAG4AFgAuAEYAXgB2AAMAGwAzAEsAYwALACMAOwBTAGsAEwArAEMAWwBzAAcAHwA3AE8AZwAPACcAPwBXAG8AFwAvAEcAXwB3AAAAMABgAJAAwAAQAEAAcACgANAAIABQAIAAsADgAAQANABkA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AAAAAAAAACkAKQApAFIAUgB7AKQAyADeAAAAAAAAAAAAAAAAAAAAAAApACkAKQApAHsAewB7AKQApADwAAoBGwEnASkAKQApACkAKQApACkAKQB7AHsAewB7APAA8ADwAAoBCgExAT4BSAFQAXsAewB7AHsAewB7AHsAewDwAPAA8ADwADEBMQExAT4BPgFXAV8BZgFsAfAA8ADwAPAA8ADwAPAA8AAxATEBMQExAVcBVwFXAV8BXwFyAXgBfgGDAQAADAAYACQAMAAEABAAHAAoADQACAAUACAALAA4AAEADQAZACUAMQAFABEAHQApADUACQAVACEALQA5AAIADgAaACYAMgAGABIAHgAqADYACgAWACIALgA6AAMADwAbACcAMwAHABMAHwArADcACwAXACMALwA7AAAAGAAwAEgAYAAIACAAOABQAGgAEAAoAEAAWABwAAQAHAA0AEwAZAAMACQAPABUAGwAFAAsAEQAXAB0AAEAGQAxAEkAYQAJACEAOQBRAGkAEQApAEEAWQBxAAUAHQA1AE0AZQANACUAPQBVAG0AFQAtAEUAXQB1AAIAGgAyAEoAYgAKACIAOgBSAGoAEgAqAEIAWgByAAYAHgA2AE4AZgAOACYAPgBWAG4AFgAuAEYAXgB2AAMAGwAzAEsAYwALACMAOwBTAGsAEwArAEMAWwBzAAcAHwA3AE8AZwAPACcAPwBXAG8AFwAvAEcAXwB3AAAAMABgAJAAwAAQAEAAcACgANAAIABQAIAAsADgAAQANABkAJQAxAAUAEQAdACkANQAJABUAIQAtADkAAgAOABoAJgAyAAYAEgAeACoANgAKABYAIgAuADoAAwAPABsAJwAzAAcAEwAfACsANwALABcAIwAvADsAAEAMQBhAJEAwQARAEEAcQChANEAIQBRAIEAsQDhAAUANQBlAJUAxQAVAEUAdQClANUAJQBVAIUAtQDlAAkAOQBpAJkAyQAZAEkAeQCpANkAKQBZAIkAuQDpAA0APQBtAJ0AzQAdAE0AfQCtAN0ALQBdAI0AvQDtAAIAMgBiAJIAwgASAEIAcgCiANIAIgBSAIIAsgDiAAYANgBmAJYAxgAWAEYAdgCmANYAJgB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gQDAgEAvLCbindhQysaCgCld1A9LyMbFA4JBABxPwAICgwQfTMaEg8MCwoJCAcGBQQDAgEAxmktFg8MCwoJCAcGBQQDAgEA1aJ0UzsrIBgSDwwJBwYFAwIA77t0OxwQCwoJCAcGBQQDAgEA+uW8h1YzHhMNCggGBQQDAgEA+evVuZyAZ1NCNSohGhURDQoA/vnrzqR2TS4bEAoHBQQDAgEA//3579y/nHdVOSUXDwoGBAIA//379u3fy7OYfGJLNygdFQ8A//7999yiakMqHBIMCQYEAwIAHzlroM3N////////////////RS9Db6bN////////////////UkpPX22AkaCtzc3N4P//4P/gfUo7RWGNtv//////////////rXNVSUxcc5GtzeDg////////poZxZmVma3Z9ipGbprbAwM2W4LaGZVNPVWF4ka3N4P///////+DAlnhlXFldZnaGoLbA4ODg/+DgtpuGdm1oZmpvdoORoK2D8b6yhFdKKQ4A38GdjGo5JxIAg0qNT1CKX2iGX2NbfV1Me3N7gADWKgDrgBUA9LhICwD41oAqBwD44apQGQUA++zGfjYSAwD67tOfUiMPBQD658uogFg1GQYA/O7YuZRsRygSBAD98+HHpoBaOR8NAwD+9unUt5NtSSwXCgIA//rw38amgFo6IRAGAQD/+/Tn0rWSbksuGQwFAQD//fju3cSkgFw8IxIIAwEA//358uXQtJJuTDAbDgcDAQCBAM8yAOyBFAD1uUgKAPnVgSoGAPriqVcbBAD76cKCPhQEAPrsz6BjLxEDAP/w2baDUSkLAQD//unJn2s9FAIBAP/56c6qgFYyFwcBAP/67tm6lGxGJxIGAQD//PPiyKaAWjgeDQQBAP/89efRtJJuTC8ZCwQBAP/9+O3bwqOAXT4lEwgDAQD//vrx4s2xkW9PMx4PBgIBAIEAyzYA6oEXAPW4SQoA+teBKQUA/OitVhgDAP3wyIE4DwIA/fTZpF4mCgEA/fXivYRHGwcBAP3258ufaTgXBgEA//jr1bOFVS8TBQEA//7z3cKfdUYlDAIBAP/++OrQq4BVMBYIAgEA//768Ny9lWtDJBAGAgEA//778+PJpoBaNx0NBQIBAP/+/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vYw==";
@@ -2147,1215 +2148,1216 @@ function getTempRet0() {
return tempRet0|0;
}
-function _codec_opus_createNativeHandle($channelCount) {
- $channelCount = $channelCount|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $call1 = 0, $call2 = 0, $call4 = 0, $channelCount$addr = 0, $codec = 0, $decoder = 0, $error = 0, $vararg_buffer = 0, $vararg_buffer1 = 0, $vararg_buffer4 = 0, label = 0, sp = 0;
+function _codec_opus_createNativeHandle($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
+ var $9 = 0, $vararg_buffer = 0, $vararg_buffer3 = 0, $vararg_buffer6 = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0, $vararg_ptr9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $vararg_buffer4 = sp + 16|0;
- $vararg_buffer1 = sp + 8|0;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $vararg_buffer6 = sp + 24|0;
+ $vararg_buffer3 = sp + 16|0;
$vararg_buffer = sp;
- $error = sp + 20|0;
- $channelCount$addr = $channelCount;
- $0 = $channelCount$addr;
- HEAP32[$vararg_buffer>>2] = $0;
+ $5 = sp + 32|0;
+ $2 = $0;
+ $3 = $1;
+ $6 = $2;
+ $7 = $3;
+ HEAP32[$vararg_buffer>>2] = $6;
+ $vararg_ptr1 = ((($vararg_buffer)) + 4|0);
+ HEAP32[$vararg_ptr1>>2] = 48000;
+ $vararg_ptr2 = ((($vararg_buffer)) + 8|0);
+ HEAP32[$vararg_ptr2>>2] = $7;
(_printf(25720,$vararg_buffer)|0);
- $call1 = (__Znwj(12)|0);
- __ZN10OpusHandleC2Ev($call1);
- $codec = $call1;
- HEAP32[$error>>2] = 0;
- $1 = $channelCount$addr;
- $call2 = (_opus_decoder_create(48000,$1,$error)|0);
- $2 = $codec;
- $decoder = ((($2)) + 4|0);
- HEAP32[$decoder>>2] = $call2;
- $3 = HEAP32[$error>>2]|0;
- HEAP32[$vararg_buffer1>>2] = $3;
- (_printf(25740,$vararg_buffer1)|0);
- $4 = $channelCount$addr;
- $call4 = (_opus_encoder_create(48000,$4,2049,$error)|0);
- $5 = $codec;
- HEAP32[$5>>2] = $call4;
- $6 = HEAP32[$error>>2]|0;
- HEAP32[$vararg_buffer4>>2] = $6;
- (_printf(25740,$vararg_buffer4)|0);
- $7 = $codec;
- STACKTOP = sp;return ($7|0);
+ $8 = (__Znwj(12)|0);
+ ;HEAP32[$8>>2]=0|0;HEAP32[$8+4>>2]=0|0;HEAP32[$8+8>>2]=0|0;
+ __ZN10OpusHandleC2Ev($8);
+ $4 = $8;
+ HEAP32[$5>>2] = 0;
+ $9 = $2;
+ $10 = (_opus_decoder_create(48000,$9,$5)|0);
+ $11 = $4;
+ $12 = ((($11)) + 4|0);
+ HEAP32[$12>>2] = $10;
+ $13 = HEAP32[$5>>2]|0;
+ HEAP32[$vararg_buffer3>>2] = $13;
+ (_printf(25785,$vararg_buffer3)|0);
+ $14 = $2;
+ $15 = $3;
+ $16 = (_opus_encoder_create(48000,$14,$15,$5)|0);
+ $17 = $4;
+ HEAP32[$17>>2] = $16;
+ $18 = HEAP32[$5>>2]|0;
+ $19 = $4;
+ $20 = ((($19)) + 8|0);
+ $21 = HEAP32[$20>>2]|0;
+ HEAP32[$vararg_buffer6>>2] = $18;
+ $vararg_ptr9 = ((($vararg_buffer6)) + 4|0);
+ HEAP32[$vararg_ptr9>>2] = $21;
+ (_printf(25796,$vararg_buffer6)|0);
+ $22 = $4;
+ STACKTOP = sp;return ($22|0);
}
-function __ZN10OpusHandleC2Ev($this) {
- $this = $this|0;
- var $channelCount = 0, $decoder = 0, $this$addr = 0, $this1 = 0, label = 0, sp = 0;
+function __ZN10OpusHandleC2Ev($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $this$addr = $this;
- $this1 = $this$addr;
- HEAP32[$this1>>2] = 0;
- $decoder = ((($this1)) + 4|0);
- HEAP32[$decoder>>2] = 0;
- $channelCount = ((($this1)) + 8|0);
- HEAP32[$channelCount>>2] = 1;
+ $1 = $0;
+ $2 = $1;
+ HEAP32[$2>>2] = 0;
+ $3 = ((($2)) + 4|0);
+ HEAP32[$3>>2] = 0;
+ $4 = ((($2)) + 8|0);
+ HEAP32[$4>>2] = 1;
STACKTOP = sp;return;
}
-function _codec_opus_deleteNativeHandle($codec) {
- $codec = $codec|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $codec$addr = 0, $decoder = 0, $decoder3 = 0, $decoder5 = 0, $isnull = 0, $tobool = 0, $tobool1 = 0, $tobool6 = 0;
+function _codec_opus_deleteNativeHandle($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
var label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $codec$addr = $codec;
- $0 = $codec$addr;
- $tobool = ($0|0)!=(0|0);
- if (!($tobool)) {
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0|0);
+ if (!($3)) {
STACKTOP = sp;return;
}
- $1 = $codec$addr;
- $decoder = ((($1)) + 4|0);
- $2 = HEAP32[$decoder>>2]|0;
- $tobool1 = ($2|0)!=(0|0);
- if ($tobool1) {
- $3 = $codec$addr;
- $decoder3 = ((($3)) + 4|0);
- $4 = HEAP32[$decoder3>>2]|0;
- _opus_decoder_destroy($4);
+ $4 = $1;
+ $5 = ((($4)) + 4|0);
+ $6 = HEAP32[$5>>2]|0;
+ $7 = ($6|0)!=(0|0);
+ if ($7) {
+ $8 = $1;
+ $9 = ((($8)) + 4|0);
+ $10 = HEAP32[$9>>2]|0;
+ _opus_decoder_destroy($10);
}
- $5 = $codec$addr;
- $decoder5 = ((($5)) + 4|0);
- HEAP32[$decoder5>>2] = 0;
- $6 = $codec$addr;
- $7 = HEAP32[$6>>2]|0;
- $tobool6 = ($7|0)!=(0|0);
- if ($tobool6) {
- $8 = $codec$addr;
- $9 = HEAP32[$8>>2]|0;
- _opus_encoder_destroy($9);
+ $11 = $1;
+ $12 = ((($11)) + 4|0);
+ HEAP32[$12>>2] = 0;
+ $13 = $1;
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ($14|0)!=(0|0);
+ if ($15) {
+ $16 = $1;
+ $17 = HEAP32[$16>>2]|0;
+ _opus_encoder_destroy($17);
}
- $10 = $codec$addr;
- HEAP32[$10>>2] = 0;
- $11 = $codec$addr;
- $isnull = ($11|0)==(0|0);
- if ($isnull) {
+ $18 = $1;
+ HEAP32[$18>>2] = 0;
+ $19 = $1;
+ $20 = ($19|0)==(0|0);
+ if ($20) {
STACKTOP = sp;return;
}
- __ZdlPv($11);
+ __ZdlPv($19);
STACKTOP = sp;return;
}
-function _codec_opus_encode($handle,$buffer,$length,$maxLength) {
- $handle = $handle|0;
- $buffer = $buffer|0;
- $length = $length|0;
- $maxLength = $maxLength|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $buffer$addr = 0, $call2 = 0, $channelCount = 0, $div = 0, $handle$addr = 0;
- var $length$addr = 0, $maxLength$addr = 0, $result = 0, $retval = 0, $vararg_buffer = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0, $vararg_ptr3 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $vararg_buffer = sp;
- $handle$addr = $handle;
- $buffer$addr = $buffer;
- $length$addr = $length;
- $maxLength$addr = $maxLength;
- $0 = $handle$addr;
- $1 = HEAP32[$0>>2]|0;
- $2 = $buffer$addr;
- $3 = $length$addr;
- $4 = $maxLength$addr;
- HEAP32[$vararg_buffer>>2] = $1;
- $vararg_ptr1 = ((($vararg_buffer)) + 4|0);
- HEAP32[$vararg_ptr1>>2] = $2;
- $vararg_ptr2 = ((($vararg_buffer)) + 8|0);
- HEAP32[$vararg_ptr2>>2] = $3;
- $vararg_ptr3 = ((($vararg_buffer)) + 12|0);
- HEAP32[$vararg_ptr3>>2] = $4;
- (_printf(25751,$vararg_buffer)|0);
- $5 = $handle$addr;
- $6 = HEAP32[$5>>2]|0;
- $7 = $buffer$addr;
- $8 = $length$addr;
- $9 = $handle$addr;
- $channelCount = ((($9)) + 8|0);
- $10 = HEAP32[$channelCount>>2]|0;
- $div = (($8>>>0) / ($10>>>0))&-1;
- $11 = $buffer$addr;
- $12 = $maxLength$addr;
- $call2 = (_opus_encode_float($6,$7,$div,$11,$12)|0);
- $result = $call2;
- $13 = $result;
- $retval = $13;
- $14 = $retval;
- STACKTOP = sp;return ($14|0);
-}
-function _codec_opus_decode($handle,$buffer,$length,$maxLength) {
- $handle = $handle|0;
- $buffer = $buffer|0;
- $length = $length|0;
- $maxLength = $maxLength|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $buffer$addr = 0, $call = 0, $channelCount = 0, $decoder = 0, $div = 0, $div1 = 0, $handle$addr = 0, $length$addr = 0, $maxLength$addr = 0, $result = 0;
- var $retval = 0, label = 0, sp = 0;
+function _codec_opus_encode($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $handle$addr = $handle;
- $buffer$addr = $buffer;
- $length$addr = $length;
- $maxLength$addr = $maxLength;
- $0 = $handle$addr;
- $decoder = ((($0)) + 4|0);
- $1 = HEAP32[$decoder>>2]|0;
- $2 = $buffer$addr;
- $3 = $length$addr;
- $4 = $buffer$addr;
- $5 = $maxLength$addr;
- $div = (($5>>>0) / 4)&-1;
- $6 = $handle$addr;
- $channelCount = ((($6)) + 8|0);
- $7 = HEAP32[$channelCount>>2]|0;
- $div1 = (($div>>>0) / ($7>>>0))&-1;
- $call = (_opus_decode_float($1,$2,$3,$4,$div1,0)|0);
- $result = $call;
- $8 = $result;
- $retval = $8;
- $9 = $retval;
- STACKTOP = sp;return ($9|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $10 = $5;
+ $11 = HEAP32[$10>>2]|0;
+ $12 = $6;
+ $13 = $7;
+ $14 = $5;
+ $15 = ((($14)) + 8|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = (($13>>>0) / ($16>>>0))&-1;
+ $18 = $6;
+ $19 = $8;
+ $20 = (_opus_encode_float($11,$12,$17,$18,$19)|0);
+ $9 = $20;
+ $21 = $9;
+ $4 = $21;
+ $22 = $4;
+ STACKTOP = sp;return ($22|0);
}
-function _codec_opus_changeApplication($handle,$type) {
- $handle = $handle|0;
- $type = $type|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $call = 0, $cmp = 0, $cmp1 = 0, $cmp3 = 0, $handle$addr = 0, $or$cond = 0, $or$cond1 = 0, $retval = 0, $type$addr = 0, $vararg_buffer = 0, label = 0, sp = 0;
+function _codec_opus_decode($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $10 = $5;
+ $11 = ((($10)) + 4|0);
+ $12 = HEAP32[$11>>2]|0;
+ $13 = $6;
+ $14 = $7;
+ $15 = $6;
+ $16 = $8;
+ $17 = (($16>>>0) / 4)&-1;
+ $18 = $5;
+ $19 = ((($18)) + 8|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = (($17>>>0) / ($20>>>0))&-1;
+ $22 = (_opus_decode_float($12,$13,$14,$15,$21,0)|0);
+ $9 = $22;
+ $23 = $9;
+ $4 = $23;
+ $24 = $4;
+ STACKTOP = sp;return ($24|0);
+}
+function _codec_opus_changeApplication($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond3 = 0, $vararg_buffer = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
$vararg_buffer = sp;
- $handle$addr = $handle;
- $type$addr = $type;
- $0 = $type$addr;
- $cmp = ($0|0)!=(2048);
- $1 = $type$addr;
- $cmp1 = ($1|0)!=(2049);
- $or$cond = $cmp & $cmp1;
- $2 = $type$addr;
- $cmp3 = ($2|0)!=(2051);
- $or$cond1 = $or$cond & $cmp3;
- if ($or$cond1) {
- $retval = 1;
- $6 = $retval;
- STACKTOP = sp;return ($6|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $4;
+ $6 = ($5|0)!=(2048);
+ $7 = $4;
+ $8 = ($7|0)!=(2049);
+ $or$cond = $6 & $8;
+ $9 = $4;
+ $10 = ($9|0)!=(2051);
+ $or$cond3 = $or$cond & $10;
+ if ($or$cond3) {
+ $2 = 1;
+ $15 = $2;
+ STACKTOP = sp;return ($15|0);
} else {
- $3 = $handle$addr;
- $4 = HEAP32[$3>>2]|0;
- $5 = $type$addr;
- HEAP32[$vararg_buffer>>2] = $5;
- $call = (_opus_encoder_ctl($4,4000,$vararg_buffer)|0);
- $retval = $call;
- $6 = $retval;
- STACKTOP = sp;return ($6|0);
+ $11 = $3;
+ $12 = HEAP32[$11>>2]|0;
+ $13 = $4;
+ HEAP32[$vararg_buffer>>2] = $13;
+ $14 = (_opus_encoder_ctl($12,4000,$vararg_buffer)|0);
+ $2 = $14;
+ $15 = $2;
+ STACKTOP = sp;return ($15|0);
}
return (0)|0;
}
-function _opus_decoder_get_size($channels) {
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $add = 0, $add7 = 0, $call = 0, $call4 = 0, $call5 = 0, $call6 = 0, $celtDecSizeBytes = 0, $channels$addr = 0, $cmp = 0, $cmp1 = 0, $or$cond = 0, $ret = 0;
- var $retval = 0, $silkDecSizeBytes = 0, $tobool = 0, label = 0, sp = 0;
+function _opus_decoder_get_size($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, $or$cond = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $silkDecSizeBytes = sp + 8|0;
- $channels$addr = $channels;
- $0 = $channels$addr;
- $cmp = ($0|0)<(1);
- $1 = $channels$addr;
- $cmp1 = ($1|0)>(2);
- $or$cond = $cmp | $cmp1;
+ $3 = sp + 8|0;
+ $2 = $0;
+ $6 = $2;
+ $7 = ($6|0)<(1);
+ $8 = $2;
+ $9 = ($8|0)>(2);
+ $or$cond = $7 | $9;
if ($or$cond) {
- $retval = 0;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
+ $1 = 0;
+ $22 = $1;
+ STACKTOP = sp;return ($22|0);
}
- $call = (_silk_Get_Decoder_Size($silkDecSizeBytes)|0);
- $ret = $call;
- $2 = $ret;
- $tobool = ($2|0)!=(0);
- if ($tobool) {
- $retval = 0;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
+ $10 = (_silk_Get_Decoder_Size($3)|0);
+ $5 = $10;
+ $11 = $5;
+ $12 = ($11|0)!=(0);
+ if ($12) {
+ $1 = 0;
+ $22 = $1;
+ STACKTOP = sp;return ($22|0);
} else {
- $3 = HEAP32[$silkDecSizeBytes>>2]|0;
- $call4 = (_align($3)|0);
- HEAP32[$silkDecSizeBytes>>2] = $call4;
- $4 = $channels$addr;
- $call5 = (_celt_decoder_get_size($4)|0);
- $celtDecSizeBytes = $call5;
- $call6 = (_align(88)|0);
- $5 = HEAP32[$silkDecSizeBytes>>2]|0;
- $add = (($call6) + ($5))|0;
- $6 = $celtDecSizeBytes;
- $add7 = (($add) + ($6))|0;
- $retval = $add7;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
+ $13 = HEAP32[$3>>2]|0;
+ $14 = (_align($13)|0);
+ HEAP32[$3>>2] = $14;
+ $15 = $2;
+ $16 = (_celt_decoder_get_size($15)|0);
+ $4 = $16;
+ $17 = (_align(88)|0);
+ $18 = HEAP32[$3>>2]|0;
+ $19 = (($17) + ($18))|0;
+ $20 = $4;
+ $21 = (($19) + ($20))|0;
+ $1 = $21;
+ $22 = $1;
+ STACKTOP = sp;return ($22|0);
}
return (0)|0;
}
-function _align($i) {
- $i = $i|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $add = 0, $alignment = 0, $div = 0, $i$addr = 0, $mul = 0, $sub = 0, label = 0, sp = 0;
+function _align($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $i$addr = $i;
- $alignment = 4;
- $0 = $i$addr;
- $1 = $alignment;
- $add = (($0) + ($1))|0;
- $sub = (($add) - 1)|0;
- $2 = $alignment;
- $div = (($sub>>>0) / ($2>>>0))&-1;
- $3 = $alignment;
- $mul = Math_imul($div, $3)|0;
- STACKTOP = sp;return ($mul|0);
+ $1 = $0;
+ $2 = 4;
+ $3 = $1;
+ $4 = $2;
+ $5 = (($3) + ($4))|0;
+ $6 = (($5) - 1)|0;
+ $7 = $2;
+ $8 = (($6>>>0) / ($7>>>0))&-1;
+ $9 = $2;
+ $10 = Math_imul($8, $9)|0;
+ STACKTOP = sp;return ($10|0);
}
-function _opus_decoder_init($st,$Fs,$channels) {
- $st = $st|0;
- $Fs = $Fs|0;
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $API_sampleRate = 0, $DecControl = 0, $DecControl24 = 0, $Fs$addr = 0, $Fs21 = 0, $Fs22 = 0, $add = 0, $add$ptr = 0, $add$ptr19 = 0, $arch = 0, $call = 0, $call11 = 0, $call14 = 0, $call15 = 0, $call25 = 0;
- var $call29 = 0, $call34 = 0, $celt_dec = 0, $channels$addr = 0, $channels20 = 0, $channels23 = 0, $cmp = 0, $cmp1 = 0, $cmp10 = 0, $cmp3 = 0, $cmp30 = 0, $cmp5 = 0, $cmp7 = 0, $cmp8 = 0, $div = 0, $frame_size = 0, $mul = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0;
- var $or$cond3 = 0, $or$cond4 = 0, $prev_mode = 0, $ret = 0, $retval = 0, $silkDecSizeBytes = 0, $silk_dec = 0, $silk_dec_offset = 0, $silk_dec_offset16 = 0, $silk_dec_offset17 = 0, $st$addr = 0, $stream_channels = 0, $tobool = 0, $tobool26 = 0, $vararg_buffer = 0, label = 0, sp = 0;
+function _opus_decoder_init($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $or$cond = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond7 = 0, $or$cond9 = 0, $vararg_buffer = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
$vararg_buffer = sp;
- $silkDecSizeBytes = sp + 4|0;
- $st$addr = $st;
- $Fs$addr = $Fs;
- $channels$addr = $channels;
- $0 = $Fs$addr;
- $cmp = ($0|0)!=(48000);
- $1 = $Fs$addr;
- $cmp1 = ($1|0)!=(24000);
- $or$cond = $cmp & $cmp1;
- $2 = $Fs$addr;
- $cmp3 = ($2|0)!=(16000);
- $or$cond1 = $or$cond & $cmp3;
- $3 = $Fs$addr;
- $cmp5 = ($3|0)!=(12000);
- $or$cond2 = $or$cond1 & $cmp5;
- $4 = $Fs$addr;
- $cmp7 = ($4|0)!=(8000);
- $or$cond3 = $or$cond2 & $cmp7;
- if (!($or$cond3)) {
- $5 = $channels$addr;
- $cmp8 = ($5|0)!=(1);
- $6 = $channels$addr;
- $cmp10 = ($6|0)!=(2);
- $or$cond4 = $cmp8 & $cmp10;
- if (!($or$cond4)) {
- $7 = $st$addr;
- $8 = $channels$addr;
- $call = (_opus_decoder_get_size($8)|0);
- $mul = $call;
- _memset(($7|0),0,($mul|0))|0;
- $call11 = (_silk_Get_Decoder_Size($silkDecSizeBytes)|0);
- $ret = $call11;
- $9 = $ret;
- $tobool = ($9|0)!=(0);
- if ($tobool) {
- $retval = -3;
- $44 = $retval;
- STACKTOP = sp;return ($44|0);
+ $10 = sp + 4|0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $11 = $5;
+ $12 = ($11|0)!=(48000);
+ $13 = $5;
+ $14 = ($13|0)!=(24000);
+ $or$cond = $12 & $14;
+ $15 = $5;
+ $16 = ($15|0)!=(16000);
+ $or$cond3 = $or$cond & $16;
+ $17 = $5;
+ $18 = ($17|0)!=(12000);
+ $or$cond5 = $or$cond3 & $18;
+ $19 = $5;
+ $20 = ($19|0)!=(8000);
+ $or$cond7 = $or$cond5 & $20;
+ if (!($or$cond7)) {
+ $21 = $6;
+ $22 = ($21|0)!=(1);
+ $23 = $6;
+ $24 = ($23|0)!=(2);
+ $or$cond9 = $22 & $24;
+ if (!($or$cond9)) {
+ $25 = $4;
+ $26 = $6;
+ $27 = (_opus_decoder_get_size($26)|0);
+ $28 = $27;
+ _memset(($25|0),0,($28|0))|0;
+ $29 = (_silk_Get_Decoder_Size($10)|0);
+ $9 = $29;
+ $30 = $9;
+ $31 = ($30|0)!=(0);
+ if ($31) {
+ $3 = -3;
+ $91 = $3;
+ STACKTOP = sp;return ($91|0);
}
- $10 = HEAP32[$silkDecSizeBytes>>2]|0;
- $call14 = (_align($10)|0);
- HEAP32[$silkDecSizeBytes>>2] = $call14;
- $call15 = (_align(88)|0);
- $11 = $st$addr;
- $silk_dec_offset = ((($11)) + 4|0);
- HEAP32[$silk_dec_offset>>2] = $call15;
- $12 = $st$addr;
- $silk_dec_offset16 = ((($12)) + 4|0);
- $13 = HEAP32[$silk_dec_offset16>>2]|0;
- $14 = HEAP32[$silkDecSizeBytes>>2]|0;
- $add = (($13) + ($14))|0;
- $15 = $st$addr;
- HEAP32[$15>>2] = $add;
- $16 = $st$addr;
- $17 = $st$addr;
- $silk_dec_offset17 = ((($17)) + 4|0);
- $18 = HEAP32[$silk_dec_offset17>>2]|0;
- $add$ptr = (($16) + ($18)|0);
- $silk_dec = $add$ptr;
- $19 = $st$addr;
- $20 = $st$addr;
- $21 = HEAP32[$20>>2]|0;
- $add$ptr19 = (($19) + ($21)|0);
- $celt_dec = $add$ptr19;
- $22 = $channels$addr;
- $23 = $st$addr;
- $channels20 = ((($23)) + 8|0);
- HEAP32[$channels20>>2] = $22;
- $24 = $st$addr;
- $stream_channels = ((($24)) + 48|0);
- HEAP32[$stream_channels>>2] = $22;
- $25 = $Fs$addr;
- $26 = $st$addr;
- $Fs21 = ((($26)) + 12|0);
- HEAP32[$Fs21>>2] = $25;
- $27 = $st$addr;
- $Fs22 = ((($27)) + 12|0);
- $28 = HEAP32[$Fs22>>2]|0;
- $29 = $st$addr;
- $DecControl = ((($29)) + 16|0);
- $API_sampleRate = ((($DecControl)) + 8|0);
- HEAP32[$API_sampleRate>>2] = $28;
- $30 = $st$addr;
- $channels23 = ((($30)) + 8|0);
- $31 = HEAP32[$channels23>>2]|0;
- $32 = $st$addr;
- $DecControl24 = ((($32)) + 16|0);
- HEAP32[$DecControl24>>2] = $31;
- $33 = $silk_dec;
- $call25 = (_silk_InitDecoder($33)|0);
- $ret = $call25;
- $34 = $ret;
- $tobool26 = ($34|0)!=(0);
- if ($tobool26) {
- $retval = -3;
- $44 = $retval;
- STACKTOP = sp;return ($44|0);
+ $32 = HEAP32[$10>>2]|0;
+ $33 = (_align($32)|0);
+ HEAP32[$10>>2] = $33;
+ $34 = (_align(88)|0);
+ $35 = $4;
+ $36 = ((($35)) + 4|0);
+ HEAP32[$36>>2] = $34;
+ $37 = $4;
+ $38 = ((($37)) + 4|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = HEAP32[$10>>2]|0;
+ $41 = (($39) + ($40))|0;
+ $42 = $4;
+ HEAP32[$42>>2] = $41;
+ $43 = $4;
+ $44 = $4;
+ $45 = ((($44)) + 4|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = (($43) + ($46)|0);
+ $7 = $47;
+ $48 = $4;
+ $49 = $4;
+ $50 = HEAP32[$49>>2]|0;
+ $51 = (($48) + ($50)|0);
+ $8 = $51;
+ $52 = $6;
+ $53 = $4;
+ $54 = ((($53)) + 8|0);
+ HEAP32[$54>>2] = $52;
+ $55 = $4;
+ $56 = ((($55)) + 48|0);
+ HEAP32[$56>>2] = $52;
+ $57 = $5;
+ $58 = $4;
+ $59 = ((($58)) + 12|0);
+ HEAP32[$59>>2] = $57;
+ $60 = $4;
+ $61 = ((($60)) + 12|0);
+ $62 = HEAP32[$61>>2]|0;
+ $63 = $4;
+ $64 = ((($63)) + 16|0);
+ $65 = ((($64)) + 8|0);
+ HEAP32[$65>>2] = $62;
+ $66 = $4;
+ $67 = ((($66)) + 8|0);
+ $68 = HEAP32[$67>>2]|0;
+ $69 = $4;
+ $70 = ((($69)) + 16|0);
+ HEAP32[$70>>2] = $68;
+ $71 = $7;
+ $72 = (_silk_InitDecoder($71)|0);
+ $9 = $72;
+ $73 = $9;
+ $74 = ($73|0)!=(0);
+ if ($74) {
+ $3 = -3;
+ $91 = $3;
+ STACKTOP = sp;return ($91|0);
}
- $35 = $celt_dec;
- $36 = $Fs$addr;
- $37 = $channels$addr;
- $call29 = (_celt_decoder_init($35,$36,$37)|0);
- $ret = $call29;
- $38 = $ret;
- $cmp30 = ($38|0)!=(0);
- if ($cmp30) {
- $retval = -3;
- $44 = $retval;
- STACKTOP = sp;return ($44|0);
+ $75 = $8;
+ $76 = $5;
+ $77 = $6;
+ $78 = (_celt_decoder_init($75,$76,$77)|0);
+ $9 = $78;
+ $79 = $9;
+ $80 = ($79|0)!=(0);
+ if ($80) {
+ $3 = -3;
+ $91 = $3;
+ STACKTOP = sp;return ($91|0);
} else {
- $39 = $celt_dec;
+ $81 = $8;
HEAP32[$vararg_buffer>>2] = 0;
- (_opus_custom_decoder_ctl($39,10016,$vararg_buffer)|0);
- $40 = $st$addr;
- $prev_mode = ((($40)) + 60|0);
- HEAP32[$prev_mode>>2] = 0;
- $41 = $Fs$addr;
- $div = (($41|0) / 400)&-1;
- $42 = $st$addr;
- $frame_size = ((($42)) + 64|0);
- HEAP32[$frame_size>>2] = $div;
- $call34 = (_opus_select_arch()|0);
- $43 = $st$addr;
- $arch = ((($43)) + 44|0);
- HEAP32[$arch>>2] = $call34;
- $retval = 0;
- $44 = $retval;
- STACKTOP = sp;return ($44|0);
+ (_opus_custom_decoder_ctl($81,10016,$vararg_buffer)|0);
+ $82 = $4;
+ $83 = ((($82)) + 60|0);
+ HEAP32[$83>>2] = 0;
+ $84 = $5;
+ $85 = (($84|0) / 400)&-1;
+ $86 = $4;
+ $87 = ((($86)) + 64|0);
+ HEAP32[$87>>2] = $85;
+ $88 = (_opus_select_arch()|0);
+ $89 = $4;
+ $90 = ((($89)) + 44|0);
+ HEAP32[$90>>2] = $88;
+ $3 = 0;
+ $91 = $3;
+ STACKTOP = sp;return ($91|0);
}
}
}
- $retval = -1;
- $44 = $retval;
- STACKTOP = sp;return ($44|0);
+ $3 = -1;
+ $91 = $3;
+ STACKTOP = sp;return ($91|0);
}
function _opus_select_arch() {
var label = 0, sp = 0;
sp = STACKTOP;
return 0;
}
-function _opus_decoder_create($Fs,$channels,$error) {
- $Fs = $Fs|0;
- $channels = $channels|0;
- $error = $error|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $Fs$addr = 0, $call = 0, $call13 = 0, $call20 = 0, $channels$addr = 0, $cmp = 0, $cmp1 = 0, $cmp10 = 0, $cmp14 = 0, $cmp24 = 0, $cmp3 = 0, $cmp5 = 0, $cmp7 = 0, $cmp8 = 0, $error$addr = 0, $or$cond = 0, $or$cond1 = 0;
- var $or$cond2 = 0, $or$cond3 = 0, $or$cond4 = 0, $ret = 0, $retval = 0, $st = 0, $tobool = 0, $tobool16 = 0, $tobool21 = 0, label = 0, sp = 0;
+function _opus_decoder_create($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $5 = 0;
+ var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond7 = 0, $or$cond9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $Fs$addr = $Fs;
- $channels$addr = $channels;
- $error$addr = $error;
- $0 = $Fs$addr;
- $cmp = ($0|0)!=(48000);
- $1 = $Fs$addr;
- $cmp1 = ($1|0)!=(24000);
- $or$cond = $cmp & $cmp1;
- $2 = $Fs$addr;
- $cmp3 = ($2|0)!=(16000);
- $or$cond1 = $or$cond & $cmp3;
- $3 = $Fs$addr;
- $cmp5 = ($3|0)!=(12000);
- $or$cond2 = $or$cond1 & $cmp5;
- $4 = $Fs$addr;
- $cmp7 = ($4|0)!=(8000);
- $or$cond3 = $or$cond2 & $cmp7;
- if (!($or$cond3)) {
- $5 = $channels$addr;
- $cmp8 = ($5|0)!=(1);
- $6 = $channels$addr;
- $cmp10 = ($6|0)!=(2);
- $or$cond4 = $cmp8 & $cmp10;
- if (!($or$cond4)) {
- $9 = $channels$addr;
- $call = (_opus_decoder_get_size($9)|0);
- $call13 = (_opus_alloc($call)|0);
- $st = $call13;
- $10 = $st;
- $cmp14 = ($10|0)==(0|0);
- if ($cmp14) {
- $11 = $error$addr;
- $tobool16 = ($11|0)!=(0|0);
- if ($tobool16) {
- $12 = $error$addr;
- HEAP32[$12>>2] = -7;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $9 = $4;
+ $10 = ($9|0)!=(48000);
+ $11 = $4;
+ $12 = ($11|0)!=(24000);
+ $or$cond = $10 & $12;
+ $13 = $4;
+ $14 = ($13|0)!=(16000);
+ $or$cond3 = $or$cond & $14;
+ $15 = $4;
+ $16 = ($15|0)!=(12000);
+ $or$cond5 = $or$cond3 & $16;
+ $17 = $4;
+ $18 = ($17|0)!=(8000);
+ $or$cond7 = $or$cond5 & $18;
+ if (!($or$cond7)) {
+ $19 = $5;
+ $20 = ($19|0)!=(1);
+ $21 = $5;
+ $22 = ($21|0)!=(2);
+ $or$cond9 = $20 & $22;
+ if (!($or$cond9)) {
+ $26 = $5;
+ $27 = (_opus_decoder_get_size($26)|0);
+ $28 = (_opus_alloc($27)|0);
+ $8 = $28;
+ $29 = $8;
+ $30 = ($29|0)==(0|0);
+ if ($30) {
+ $31 = $6;
+ $32 = ($31|0)!=(0|0);
+ if ($32) {
+ $33 = $6;
+ HEAP32[$33>>2] = -7;
}
- $retval = 0;
- $22 = $retval;
- STACKTOP = sp;return ($22|0);
+ $3 = 0;
+ $46 = $3;
+ STACKTOP = sp;return ($46|0);
}
- $13 = $st;
- $14 = $Fs$addr;
- $15 = $channels$addr;
- $call20 = (_opus_decoder_init($13,$14,$15)|0);
- $ret = $call20;
- $16 = $error$addr;
- $tobool21 = ($16|0)!=(0|0);
- if ($tobool21) {
- $17 = $ret;
- $18 = $error$addr;
- HEAP32[$18>>2] = $17;
+ $34 = $8;
+ $35 = $4;
+ $36 = $5;
+ $37 = (_opus_decoder_init($34,$35,$36)|0);
+ $7 = $37;
+ $38 = $6;
+ $39 = ($38|0)!=(0|0);
+ if ($39) {
+ $40 = $7;
+ $41 = $6;
+ HEAP32[$41>>2] = $40;
}
- $19 = $ret;
- $cmp24 = ($19|0)!=(0);
- if ($cmp24) {
- $20 = $st;
- _opus_free($20);
- $st = 0;
+ $42 = $7;
+ $43 = ($42|0)!=(0);
+ if ($43) {
+ $44 = $8;
+ _opus_free($44);
+ $8 = 0;
}
- $21 = $st;
- $retval = $21;
- $22 = $retval;
- STACKTOP = sp;return ($22|0);
+ $45 = $8;
+ $3 = $45;
+ $46 = $3;
+ STACKTOP = sp;return ($46|0);
}
}
- $7 = $error$addr;
- $tobool = ($7|0)!=(0|0);
- if ($tobool) {
- $8 = $error$addr;
- HEAP32[$8>>2] = -1;
+ $23 = $6;
+ $24 = ($23|0)!=(0|0);
+ if ($24) {
+ $25 = $6;
+ HEAP32[$25>>2] = -1;
}
- $retval = 0;
- $22 = $retval;
- STACKTOP = sp;return ($22|0);
+ $3 = 0;
+ $46 = $3;
+ STACKTOP = sp;return ($46|0);
}
-function _opus_alloc($size) {
- $size = $size|0;
- var $0 = 0, $call = 0, $size$addr = 0, label = 0, sp = 0;
+function _opus_alloc($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $size$addr = $size;
- $0 = $size$addr;
- $call = (_malloc($0)|0);
- STACKTOP = sp;return ($call|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = (_malloc($2)|0);
+ STACKTOP = sp;return ($3|0);
}
-function _opus_free($ptr) {
- $ptr = $ptr|0;
- var $0 = 0, $ptr$addr = 0, label = 0, sp = 0;
+function _opus_free($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $ptr$addr = $ptr;
- $0 = $ptr$addr;
- _free($0);
+ $1 = $0;
+ $2 = $1;
+ _free($2);
STACKTOP = sp;return;
}
-function _opus_decode_native($st,$data,$len,$pcm,$frame_size,$decode_fec,$self_delimited,$packet_offset,$soft_clip) {
- $st = $st|0;
- $data = $data|0;
- $len = $len|0;
- $pcm = $pcm|0;
- $frame_size = $frame_size|0;
- $decode_fec = $decode_fec|0;
- $self_delimited = $self_delimited|0;
- $packet_offset = $packet_offset|0;
- $soft_clip = $soft_clip|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0;
- var $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
- var $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0;
- var $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0;
- var $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0;
- var $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $Fs = 0, $Fs30 = 0, $add = 0, $add$ptr = 0, $add$ptr105 = 0, $add$ptr37 = 0, $add$ptr65 = 0, $add$ptr96 = 0, $add106 = 0, $arrayidx103 = 0, $arrayidx121 = 0, $arrayidx92 = 0;
- var $bandwidth = 0, $bandwidth86 = 0, $call = 0, $call28 = 0, $call29 = 0, $call31 = 0, $call32 = 0, $call33 = 0, $call47 = 0, $call54 = 0, $call66 = 0, $call98 = 0, $channels = 0, $channels117 = 0, $channels62 = 0, $channels94 = 0, $cmp = 0, $cmp1 = 0, $cmp11 = 0, $cmp13 = 0;
- var $cmp16 = 0, $cmp24 = 0, $cmp3 = 0, $cmp34 = 0, $cmp41 = 0, $cmp43 = 0, $cmp45 = 0, $cmp5 = 0, $cmp51 = 0, $cmp55 = 0, $cmp6 = 0, $cmp67 = 0, $cmp81 = 0, $cmp89 = 0, $cmp9 = 0, $cmp99 = 0, $conv = 0, $conv104 = 0, $conv93 = 0, $count = 0;
- var $data$addr = 0, $decode_fec$addr = 0, $div = 0, $duration_copy = 0, $frame_size$addr = 0, $frame_size61 = 0, $frame_size87 = 0, $i = 0, $inc = 0, $last_packet_duration = 0, $last_packet_duration107 = 0, $last_packet_duration49 = 0, $last_packet_duration57 = 0, $last_packet_duration78 = 0, $len$addr = 0, $mode = 0, $mode60 = 0, $mode85 = 0, $mul = 0, $mul64 = 0;
- var $mul80 = 0, $mul95 = 0, $nb_samples = 0, $offset = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond3 = 0, $or$cond4 = 0, $packet_bandwidth = 0, $packet_frame_size = 0, $packet_mode = 0, $packet_offset$addr = 0, $packet_stream_channels = 0, $pcm$addr = 0, $pcm_count = 0, $rem = 0, $ret = 0, $ret40 = 0, $ret91 = 0;
- var $retval = 0, $self_delimited$addr = 0, $size = 0, $soft_clip$addr = 0, $softclip_mem = 0, $softclip_mem120 = 0, $softclip_mem122 = 0, $st$addr = 0, $stream_channels = 0, $stream_channels88 = 0, $sub = 0, $sub50 = 0, $sub53 = 0, $sub63 = 0, $sub97 = 0, $tobool = 0, $tobool115 = 0, $tobool38 = 0, $toc = 0, label = 0;
+function _opus_decode_native($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $25 = 0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0;
+ var $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond7 = 0, $or$cond9 = 0, label = 0;
var sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 208|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(208|0);
- $offset = sp + 36|0;
- $toc = sp + 192|0;
- $size = sp + 96|0;
- $st$addr = $st;
- $data$addr = $data;
- $len$addr = $len;
- $pcm$addr = $pcm;
- $frame_size$addr = $frame_size;
- $decode_fec$addr = $decode_fec;
- $self_delimited$addr = $self_delimited;
- $packet_offset$addr = $packet_offset;
- $soft_clip$addr = $soft_clip;
- $0 = $decode_fec$addr;
- $cmp = ($0|0)<(0);
- $1 = $decode_fec$addr;
- $cmp1 = ($1|0)>(1);
- $or$cond = $cmp | $cmp1;
+ $22 = sp + 36|0;
+ $23 = sp + 192|0;
+ $28 = sp + 96|0;
+ $10 = $0;
+ $11 = $1;
+ $12 = $2;
+ $13 = $3;
+ $14 = $4;
+ $15 = $5;
+ $16 = $6;
+ $17 = $7;
+ $18 = $8;
+ $34 = $15;
+ $35 = ($34|0)<(0);
+ $36 = $15;
+ $37 = ($36|0)>(1);
+ $or$cond = $35 | $37;
if ($or$cond) {
- $retval = -1;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $9 = -1;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
- $2 = $decode_fec$addr;
- $tobool = ($2|0)!=(0);
- $3 = $len$addr;
- $cmp3 = ($3|0)==(0);
- $or$cond1 = $tobool | $cmp3;
- $4 = $data$addr;
- $cmp5 = ($4|0)==(0|0);
- $or$cond2 = $or$cond1 | $cmp5;
- if ($or$cond2) {
- $5 = $frame_size$addr;
- $6 = $st$addr;
- $Fs = ((($6)) + 12|0);
- $7 = HEAP32[$Fs>>2]|0;
- $div = (($7|0) / 400)&-1;
- $rem = (($5|0) % ($div|0))&-1;
- $cmp6 = ($rem|0)!=(0);
- if ($cmp6) {
- $retval = -1;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $38 = $15;
+ $39 = ($38|0)!=(0);
+ $40 = $12;
+ $41 = ($40|0)==(0);
+ $or$cond3 = $39 | $41;
+ $42 = $11;
+ $43 = ($42|0)==(0|0);
+ $or$cond5 = $or$cond3 | $43;
+ if ($or$cond5) {
+ $44 = $14;
+ $45 = $10;
+ $46 = ((($45)) + 12|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = (($47|0) / 400)&-1;
+ $49 = (($44|0) % ($48|0))&-1;
+ $50 = ($49|0)!=(0);
+ if ($50) {
+ $9 = -1;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
}
- $8 = $len$addr;
- $cmp9 = ($8|0)==(0);
- $9 = $data$addr;
- $cmp11 = ($9|0)==(0|0);
- $or$cond3 = $cmp9 | $cmp11;
- if ($or$cond3) {
- $pcm_count = 0;
+ $51 = $12;
+ $52 = ($51|0)==(0);
+ $53 = $11;
+ $54 = ($53|0)==(0|0);
+ $or$cond7 = $52 | $54;
+ if ($or$cond7) {
+ $29 = 0;
while(1) {
- $10 = $st$addr;
- $11 = $pcm$addr;
- $12 = $pcm_count;
- $13 = $st$addr;
- $channels = ((($13)) + 8|0);
- $14 = HEAP32[$channels>>2]|0;
- $mul = Math_imul($12, $14)|0;
- $add$ptr = (($11) + ($mul<<2)|0);
- $15 = $frame_size$addr;
- $16 = $pcm_count;
- $sub = (($15) - ($16))|0;
- $call = (_opus_decode_frame($10,0,0,$add$ptr,$sub,0)|0);
- $ret = $call;
- $17 = $ret;
- $cmp13 = ($17|0)<(0);
- $18 = $ret;
- if ($cmp13) {
+ $55 = $10;
+ $56 = $13;
+ $57 = $29;
+ $58 = $10;
+ $59 = ((($58)) + 8|0);
+ $60 = HEAP32[$59>>2]|0;
+ $61 = Math_imul($57, $60)|0;
+ $62 = (($56) + ($61<<2)|0);
+ $63 = $14;
+ $64 = $29;
+ $65 = (($63) - ($64))|0;
+ $66 = (_opus_decode_frame($55,0,0,$62,$65,0)|0);
+ $30 = $66;
+ $67 = $30;
+ $68 = ($67|0)<(0);
+ $69 = $30;
+ if ($68) {
label = 9;
break;
}
- $19 = $pcm_count;
- $add = (($19) + ($18))|0;
- $pcm_count = $add;
- $20 = $pcm_count;
- $21 = $frame_size$addr;
- $cmp16 = ($20|0)<($21|0);
- if (!($cmp16)) {
+ $70 = $29;
+ $71 = (($70) + ($69))|0;
+ $29 = $71;
+ $72 = $29;
+ $73 = $14;
+ $74 = ($72|0)<($73|0);
+ if (!($74)) {
label = 11;
break;
}
}
if ((label|0) == 9) {
- $retval = $18;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $9 = $69;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
else if ((label|0) == 11) {
(__opus_false()|0);
- $22 = $pcm_count;
- $23 = $st$addr;
- $last_packet_duration = ((($23)) + 72|0);
- HEAP32[$last_packet_duration>>2] = $22;
- $24 = $pcm_count;
- $retval = $24;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $75 = $29;
+ $76 = $10;
+ $77 = ((($76)) + 72|0);
+ HEAP32[$77>>2] = $75;
+ $78 = $29;
+ $9 = $78;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
}
- $25 = $len$addr;
- $cmp24 = ($25|0)<(0);
- if ($cmp24) {
- $retval = -1;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $79 = $12;
+ $80 = ($79|0)<(0);
+ if ($80) {
+ $9 = -1;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
- $26 = $data$addr;
- $call28 = (_opus_packet_get_mode($26)|0);
- $packet_mode = $call28;
- $27 = $data$addr;
- $call29 = (_opus_packet_get_bandwidth($27)|0);
- $packet_bandwidth = $call29;
- $28 = $data$addr;
- $29 = $st$addr;
- $Fs30 = ((($29)) + 12|0);
- $30 = HEAP32[$Fs30>>2]|0;
- $call31 = (_opus_packet_get_samples_per_frame($28,$30)|0);
- $packet_frame_size = $call31;
- $31 = $data$addr;
- $call32 = (_opus_packet_get_nb_channels($31)|0);
- $packet_stream_channels = $call32;
- $32 = $data$addr;
- $33 = $len$addr;
- $34 = $self_delimited$addr;
- $35 = $packet_offset$addr;
- $call33 = (_opus_packet_parse_impl($32,$33,$34,$toc,0,$size,$offset,$35)|0);
- $count = $call33;
- $36 = $count;
- $cmp34 = ($36|0)<(0);
- if ($cmp34) {
- $37 = $count;
- $retval = $37;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $81 = $11;
+ $82 = (_opus_packet_get_mode($81)|0);
+ $26 = $82;
+ $83 = $11;
+ $84 = (_opus_packet_get_bandwidth($83)|0);
+ $25 = $84;
+ $85 = $11;
+ $86 = $10;
+ $87 = ((($86)) + 12|0);
+ $88 = HEAP32[$87>>2]|0;
+ $89 = (_opus_packet_get_samples_per_frame($85,$88)|0);
+ $24 = $89;
+ $90 = $11;
+ $91 = (_opus_packet_get_nb_channels($90)|0);
+ $27 = $91;
+ $92 = $11;
+ $93 = $12;
+ $94 = $16;
+ $95 = $17;
+ $96 = (_opus_packet_parse_impl($92,$93,$94,$23,0,$28,$22,$95)|0);
+ $21 = $96;
+ $97 = $21;
+ $98 = ($97|0)<(0);
+ if ($98) {
+ $99 = $21;
+ $9 = $99;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
- $38 = HEAP32[$offset>>2]|0;
- $39 = $data$addr;
- $add$ptr37 = (($39) + ($38)|0);
- $data$addr = $add$ptr37;
- $40 = $decode_fec$addr;
- $tobool38 = ($40|0)!=(0);
- if ($tobool38) {
- $41 = $frame_size$addr;
- $42 = $packet_frame_size;
- $cmp41 = ($41|0)<($42|0);
- $43 = $packet_mode;
- $cmp43 = ($43|0)==(1002);
- $or$cond4 = $cmp41 | $cmp43;
- if (!($or$cond4)) {
- $44 = $st$addr;
- $mode = ((($44)) + 56|0);
- $45 = HEAP32[$mode>>2]|0;
- $cmp45 = ($45|0)==(1002);
- if (!($cmp45)) {
- $50 = $st$addr;
- $last_packet_duration49 = ((($50)) + 72|0);
- $51 = HEAP32[$last_packet_duration49>>2]|0;
- $duration_copy = $51;
- $52 = $frame_size$addr;
- $53 = $packet_frame_size;
- $sub50 = (($52) - ($53))|0;
- $cmp51 = ($sub50|0)!=(0);
- if ($cmp51) {
- $54 = $st$addr;
- $55 = $pcm$addr;
- $56 = $frame_size$addr;
- $57 = $packet_frame_size;
- $sub53 = (($56) - ($57))|0;
- $58 = $soft_clip$addr;
- $call54 = (_opus_decode_native($54,0,0,$55,$sub53,0,0,0,$58)|0);
- $ret40 = $call54;
- $59 = $ret40;
- $cmp55 = ($59|0)<(0);
- if ($cmp55) {
- $60 = $duration_copy;
- $61 = $st$addr;
- $last_packet_duration57 = ((($61)) + 72|0);
- HEAP32[$last_packet_duration57>>2] = $60;
- $62 = $ret40;
- $retval = $62;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $100 = HEAP32[$22>>2]|0;
+ $101 = $11;
+ $102 = (($101) + ($100)|0);
+ $11 = $102;
+ $103 = $15;
+ $104 = ($103|0)!=(0);
+ if ($104) {
+ $105 = $14;
+ $106 = $24;
+ $107 = ($105|0)<($106|0);
+ $108 = $26;
+ $109 = ($108|0)==(1002);
+ $or$cond9 = $107 | $109;
+ if (!($or$cond9)) {
+ $110 = $10;
+ $111 = ((($110)) + 56|0);
+ $112 = HEAP32[$111>>2]|0;
+ $113 = ($112|0)==(1002);
+ if (!($113)) {
+ $119 = $10;
+ $120 = ((($119)) + 72|0);
+ $121 = HEAP32[$120>>2]|0;
+ $31 = $121;
+ $122 = $14;
+ $123 = $24;
+ $124 = (($122) - ($123))|0;
+ $125 = ($124|0)!=(0);
+ if ($125) {
+ $126 = $10;
+ $127 = $13;
+ $128 = $14;
+ $129 = $24;
+ $130 = (($128) - ($129))|0;
+ $131 = $18;
+ $132 = (_opus_decode_native($126,0,0,$127,$130,0,0,0,$131)|0);
+ $32 = $132;
+ $133 = $32;
+ $134 = ($133|0)<(0);
+ if ($134) {
+ $135 = $31;
+ $136 = $10;
+ $137 = ((($136)) + 72|0);
+ HEAP32[$137>>2] = $135;
+ $138 = $32;
+ $9 = $138;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
}
- $63 = $packet_mode;
- $64 = $st$addr;
- $mode60 = ((($64)) + 56|0);
- HEAP32[$mode60>>2] = $63;
- $65 = $packet_bandwidth;
- $66 = $st$addr;
- $bandwidth = ((($66)) + 52|0);
- HEAP32[$bandwidth>>2] = $65;
- $67 = $packet_frame_size;
- $68 = $st$addr;
- $frame_size61 = ((($68)) + 64|0);
- HEAP32[$frame_size61>>2] = $67;
- $69 = $packet_stream_channels;
- $70 = $st$addr;
- $stream_channels = ((($70)) + 48|0);
- HEAP32[$stream_channels>>2] = $69;
- $71 = $st$addr;
- $72 = $data$addr;
- $73 = HEAP16[$size>>1]|0;
- $conv = $73 << 16 >> 16;
- $74 = $pcm$addr;
- $75 = $st$addr;
- $channels62 = ((($75)) + 8|0);
- $76 = HEAP32[$channels62>>2]|0;
- $77 = $frame_size$addr;
- $78 = $packet_frame_size;
- $sub63 = (($77) - ($78))|0;
- $mul64 = Math_imul($76, $sub63)|0;
- $add$ptr65 = (($74) + ($mul64<<2)|0);
- $79 = $packet_frame_size;
- $call66 = (_opus_decode_frame($71,$72,$conv,$add$ptr65,$79,1)|0);
- $ret40 = $call66;
- $80 = $ret40;
- $cmp67 = ($80|0)<(0);
- if ($cmp67) {
- $81 = $ret40;
- $retval = $81;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $139 = $26;
+ $140 = $10;
+ $141 = ((($140)) + 56|0);
+ HEAP32[$141>>2] = $139;
+ $142 = $25;
+ $143 = $10;
+ $144 = ((($143)) + 52|0);
+ HEAP32[$144>>2] = $142;
+ $145 = $24;
+ $146 = $10;
+ $147 = ((($146)) + 64|0);
+ HEAP32[$147>>2] = $145;
+ $148 = $27;
+ $149 = $10;
+ $150 = ((($149)) + 48|0);
+ HEAP32[$150>>2] = $148;
+ $151 = $10;
+ $152 = $11;
+ $153 = HEAP16[$28>>1]|0;
+ $154 = $153 << 16 >> 16;
+ $155 = $13;
+ $156 = $10;
+ $157 = ((($156)) + 8|0);
+ $158 = HEAP32[$157>>2]|0;
+ $159 = $14;
+ $160 = $24;
+ $161 = (($159) - ($160))|0;
+ $162 = Math_imul($158, $161)|0;
+ $163 = (($155) + ($162<<2)|0);
+ $164 = $24;
+ $165 = (_opus_decode_frame($151,$152,$154,$163,$164,1)|0);
+ $32 = $165;
+ $166 = $32;
+ $167 = ($166|0)<(0);
+ if ($167) {
+ $168 = $32;
+ $9 = $168;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
} else {
(__opus_false()|0);
- $82 = $frame_size$addr;
- $83 = $st$addr;
- $last_packet_duration78 = ((($83)) + 72|0);
- HEAP32[$last_packet_duration78>>2] = $82;
- $84 = $frame_size$addr;
- $retval = $84;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $169 = $14;
+ $170 = $10;
+ $171 = ((($170)) + 72|0);
+ HEAP32[$171>>2] = $169;
+ $172 = $14;
+ $9 = $172;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
}
}
- $46 = $st$addr;
- $47 = $pcm$addr;
- $48 = $frame_size$addr;
- $49 = $soft_clip$addr;
- $call47 = (_opus_decode_native($46,0,0,$47,$48,0,0,0,$49)|0);
- $retval = $call47;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $114 = $10;
+ $115 = $13;
+ $116 = $14;
+ $117 = $18;
+ $118 = (_opus_decode_native($114,0,0,$115,$116,0,0,0,$117)|0);
+ $9 = $118;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
- $85 = $count;
- $86 = $packet_frame_size;
- $mul80 = Math_imul($85, $86)|0;
- $87 = $frame_size$addr;
- $cmp81 = ($mul80|0)>($87|0);
- if ($cmp81) {
- $retval = -2;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $173 = $21;
+ $174 = $24;
+ $175 = Math_imul($173, $174)|0;
+ $176 = $14;
+ $177 = ($175|0)>($176|0);
+ if ($177) {
+ $9 = -2;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
- $88 = $packet_mode;
- $89 = $st$addr;
- $mode85 = ((($89)) + 56|0);
- HEAP32[$mode85>>2] = $88;
- $90 = $packet_bandwidth;
- $91 = $st$addr;
- $bandwidth86 = ((($91)) + 52|0);
- HEAP32[$bandwidth86>>2] = $90;
- $92 = $packet_frame_size;
- $93 = $st$addr;
- $frame_size87 = ((($93)) + 64|0);
- HEAP32[$frame_size87>>2] = $92;
- $94 = $packet_stream_channels;
- $95 = $st$addr;
- $stream_channels88 = ((($95)) + 48|0);
- HEAP32[$stream_channels88>>2] = $94;
- $nb_samples = 0;
- $i = 0;
+ $178 = $26;
+ $179 = $10;
+ $180 = ((($179)) + 56|0);
+ HEAP32[$180>>2] = $178;
+ $181 = $25;
+ $182 = $10;
+ $183 = ((($182)) + 52|0);
+ HEAP32[$183>>2] = $181;
+ $184 = $24;
+ $185 = $10;
+ $186 = ((($185)) + 64|0);
+ HEAP32[$186>>2] = $184;
+ $187 = $27;
+ $188 = $10;
+ $189 = ((($188)) + 48|0);
+ HEAP32[$189>>2] = $187;
+ $20 = 0;
+ $19 = 0;
while(1) {
- $96 = $i;
- $97 = $count;
- $cmp89 = ($96|0)<($97|0);
- if (!($cmp89)) {
+ $190 = $19;
+ $191 = $21;
+ $192 = ($190|0)<($191|0);
+ if (!($192)) {
break;
}
- $98 = $st$addr;
- $99 = $data$addr;
- $100 = $i;
- $arrayidx92 = (($size) + ($100<<1)|0);
- $101 = HEAP16[$arrayidx92>>1]|0;
- $conv93 = $101 << 16 >> 16;
- $102 = $pcm$addr;
- $103 = $nb_samples;
- $104 = $st$addr;
- $channels94 = ((($104)) + 8|0);
- $105 = HEAP32[$channels94>>2]|0;
- $mul95 = Math_imul($103, $105)|0;
- $add$ptr96 = (($102) + ($mul95<<2)|0);
- $106 = $frame_size$addr;
- $107 = $nb_samples;
- $sub97 = (($106) - ($107))|0;
- $call98 = (_opus_decode_frame($98,$99,$conv93,$add$ptr96,$sub97,0)|0);
- $ret91 = $call98;
- $108 = $ret91;
- $cmp99 = ($108|0)<(0);
- if ($cmp99) {
+ $193 = $10;
+ $194 = $11;
+ $195 = $19;
+ $196 = (($28) + ($195<<1)|0);
+ $197 = HEAP16[$196>>1]|0;
+ $198 = $197 << 16 >> 16;
+ $199 = $13;
+ $200 = $20;
+ $201 = $10;
+ $202 = ((($201)) + 8|0);
+ $203 = HEAP32[$202>>2]|0;
+ $204 = Math_imul($200, $203)|0;
+ $205 = (($199) + ($204<<2)|0);
+ $206 = $14;
+ $207 = $20;
+ $208 = (($206) - ($207))|0;
+ $209 = (_opus_decode_frame($193,$194,$198,$205,$208,0)|0);
+ $33 = $209;
+ $210 = $33;
+ $211 = ($210|0)<(0);
+ if ($211) {
label = 31;
break;
}
- $110 = $i;
- $arrayidx103 = (($size) + ($110<<1)|0);
- $111 = HEAP16[$arrayidx103>>1]|0;
- $conv104 = $111 << 16 >> 16;
- $112 = $data$addr;
- $add$ptr105 = (($112) + ($conv104)|0);
- $data$addr = $add$ptr105;
- $113 = $ret91;
- $114 = $nb_samples;
- $add106 = (($114) + ($113))|0;
- $nb_samples = $add106;
- $115 = $i;
- $inc = (($115) + 1)|0;
- $i = $inc;
+ $213 = $19;
+ $214 = (($28) + ($213<<1)|0);
+ $215 = HEAP16[$214>>1]|0;
+ $216 = $215 << 16 >> 16;
+ $217 = $11;
+ $218 = (($217) + ($216)|0);
+ $11 = $218;
+ $219 = $33;
+ $220 = $20;
+ $221 = (($220) + ($219))|0;
+ $20 = $221;
+ $222 = $19;
+ $223 = (($222) + 1)|0;
+ $19 = $223;
}
if ((label|0) == 31) {
- $109 = $ret91;
- $retval = $109;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $212 = $33;
+ $9 = $212;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
- $116 = $nb_samples;
- $117 = $st$addr;
- $last_packet_duration107 = ((($117)) + 72|0);
- HEAP32[$last_packet_duration107>>2] = $116;
+ $224 = $20;
+ $225 = $10;
+ $226 = ((($225)) + 72|0);
+ HEAP32[$226>>2] = $224;
(__opus_false()|0);
- $118 = $soft_clip$addr;
- $tobool115 = ($118|0)!=(0);
- if ($tobool115) {
- $119 = $pcm$addr;
- $120 = $nb_samples;
- $121 = $st$addr;
- $channels117 = ((($121)) + 8|0);
- $122 = HEAP32[$channels117>>2]|0;
- $123 = $st$addr;
- $softclip_mem = ((($123)) + 76|0);
- _opus_pcm_soft_clip($119,$120,$122,$softclip_mem);
+ $227 = $18;
+ $228 = ($227|0)!=(0);
+ if ($228) {
+ $229 = $13;
+ $230 = $20;
+ $231 = $10;
+ $232 = ((($231)) + 8|0);
+ $233 = HEAP32[$232>>2]|0;
+ $234 = $10;
+ $235 = ((($234)) + 76|0);
+ _opus_pcm_soft_clip($229,$230,$233,$235);
} else {
- $124 = $st$addr;
- $softclip_mem120 = ((($124)) + 76|0);
- $arrayidx121 = ((($softclip_mem120)) + 4|0);
- HEAPF32[$arrayidx121>>2] = 0.0;
- $125 = $st$addr;
- $softclip_mem122 = ((($125)) + 76|0);
- HEAPF32[$softclip_mem122>>2] = 0.0;
+ $236 = $10;
+ $237 = ((($236)) + 76|0);
+ $238 = ((($237)) + 4|0);
+ HEAPF32[$238>>2] = 0.0;
+ $239 = $10;
+ $240 = ((($239)) + 76|0);
+ HEAPF32[$240>>2] = 0.0;
}
- $126 = $nb_samples;
- $retval = $126;
- $127 = $retval;
- STACKTOP = sp;return ($127|0);
+ $241 = $20;
+ $9 = $241;
+ $242 = $9;
+ STACKTOP = sp;return ($242|0);
}
-function _opus_decode_frame($st,$data,$len,$pcm,$frame_size,$decode_fec) {
- $st = $st|0;
- $data = $data|0;
- $len = $len|0;
- $pcm = $pcm|0;
- $frame_size = $frame_size|0;
- $decode_fec = $decode_fec|0;
- var $$ = 0, $$12 = 0, $$sink = 0, $$sink11 = 0, $$sink2 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0;
- var $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0;
- var $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0;
- var $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0;
- var $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0;
- var $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0;
- var $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0;
- var $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0;
- var $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0;
- var $256 = 0.0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0;
- var $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0;
- var $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0.0, $306 = 0, $307 = 0, $308 = 0, $309 = 0;
- var $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0;
- var $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0.0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0;
- var $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0;
- var $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0.0, $38 = 0, $380 = 0.0, $381 = 0.0;
- var $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0;
- var $40 = 0, $400 = 0, $401 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
- var $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0;
- var $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0;
- var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $DecControl = 0, $DecControl133 = 0, $DecControl138 = 0, $DecControl170 = 0, $F10 = 0, $F20 = 0, $F2_5 = 0, $F5 = 0, $Fs = 0, $Fs121 = 0, $Fs127 = 0, $Fs4 = 0, $Fs413 = 0;
- var $Fs452 = 0, $Fs480 = 0, $Fs483 = 0, $Fs7 = 0, $add = 0, $add$ptr = 0, $add$ptr1 = 0, $add$ptr191 = 0, $add$ptr293 = 0, $add$ptr295 = 0, $add$ptr384 = 0, $add$ptr393 = 0, $add$ptr399 = 0, $add$ptr404 = 0, $add$ptr407 = 0, $add$ptr41 = 0, $add$ptr411 = 0, $add$ptr444 = 0, $add$ptr447 = 0, $add$ptr450 = 0;
- var $add$ptr472 = 0, $add$ptr475 = 0, $add$ptr478 = 0, $add206 = 0, $add211 = 0, $add229 = 0, $add232 = 0, $add374 = 0.0, $add430 = 0, $add434 = 0, $arch = 0, $arrayidx = 0, $arrayidx182 = 0, $arrayidx338 = 0, $arrayidx369 = 0, $arrayidx370 = 0, $arrayidx375 = 0, $arrayidx431 = 0, $arrayidx435 = 0, $arrayidx465 = 0;
- var $arrayidx466 = 0, $arrayidx501 = 0, $arrayidx503 = 0, $audiosize = 0, $bandwidth = 0, $bandwidth140 = 0, $bandwidth251 = 0, $c = 0, $call = 0, $call171 = 0, $call205 = 0, $call219 = 0, $call224 = 0, $call228 = 0, $call231 = 0, $call239 = 0, $call328 = 0, $call493 = 0.0, $celt_accum = 0, $celt_dec = 0;
- var $celt_frame_size = 0, $celt_mode = 0, $celt_ret = 0, $celt_to_silk = 0, $channels = 0, $channels107 = 0, $channels177 = 0, $channels189 = 0, $channels282 = 0, $channels333 = 0, $channels364 = 0, $channels39 = 0, $channels401 = 0, $channels405 = 0, $channels408 = 0, $channels412 = 0, $channels420 = 0, $channels428 = 0, $channels432 = 0, $channels442 = 0;
- var $channels445 = 0, $channels448 = 0, $channels451 = 0, $channels460 = 0, $channels470 = 0, $channels473 = 0, $channels476 = 0, $channels479 = 0, $channels482 = 0, $channels496 = 0, $channels76 = 0, $cleanup$dest$slot = 0, $cmp = 0, $cmp10 = 0, $cmp102 = 0, $cmp113 = 0, $cmp116 = 0, $cmp123 = 0, $cmp13 = 0, $cmp131 = 0;
- var $cmp134 = 0, $cmp136 = 0, $cmp141 = 0, $cmp162 = 0, $cmp169 = 0, $cmp179 = 0, $cmp193 = 0, $cmp199 = 0, $cmp20 = 0, $cmp202 = 0, $cmp208 = 0, $cmp213 = 0, $cmp216 = 0, $cmp225 = 0, $cmp24 = 0, $cmp240 = 0, $cmp247 = 0, $cmp269 = 0, $cmp27 = 0, $cmp272 = 0;
- var $cmp29 = 0, $cmp301 = 0, $cmp304 = 0, $cmp31 = 0, $cmp311 = 0, $cmp315 = 0, $cmp335 = 0, $cmp344 = 0, $cmp358 = 0, $cmp36 = 0, $cmp366 = 0, $cmp42 = 0, $cmp421 = 0, $cmp425 = 0, $cmp44 = 0, $cmp456 = 0, $cmp46 = 0, $cmp462 = 0, $cmp49 = 0, $cmp498 = 0;
- var $cmp50 = 0, $cmp508 = 0, $cmp518 = 0, $cmp52 = 0, $cmp529 = 0, $cmp59 = 0, $cmp6 = 0, $cmp62 = 0, $cmp64 = 0, $cmp67 = 0, $cmp69 = 0, $cmp72 = 0, $cmp74 = 0, $cmp85 = 0, $cmp87 = 0, $cmp94 = 0, $cmp98 = 0, $cond = 0, $cond106 = 0, $cond111 = 0;
- var $cond130 = 0, $cond167 = 0, $cond18 = 0, $cond236 = 0, $cond277 = 0, $cond286 = 0, $cond309 = 0, $cond327 = 0, $cond35 = 0, $cond534 = 0, $cond91 = 0, $conv = 0, $conv209 = 0, $conv371 = 0, $conv372 = 0.0, $conv489 = 0.0, $conv491 = 0.0, $conv494 = 0.0, $data$addr = 0, $dec = 0;
- var $decode_fec$addr = 0, $decode_gain = 0, $decode_gain488 = 0, $decoded_samples = 0, $div = 0, $div122 = 0, $div128 = 0, $div5 = 0, $div8 = 0, $endband = 0, $first_frame = 0, $frame_size$addr = 0, $frame_size12 = 0, $frame_size16 = 0, $frame_size22 = 0, $gain = 0.0, $i = 0, $inc = 0, $inc184 = 0, $inc340 = 0;
- var $inc377 = 0, $inc437 = 0, $inc440 = 0, $inc468 = 0, $inc505 = 0, $internalSampleRate = 0, $land$ext = 0, $len$addr = 0, $lnot = 0, $lost_flag = 0, $mode = 0, $mode207 = 0, $mode23 = 0, $mul = 0, $mul108 = 0, $mul120 = 0, $mul126 = 0, $mul165 = 0, $mul178 = 0, $mul190 = 0;
- var $mul210 = 0, $mul212 = 0, $mul238 = 0, $mul26 = 0, $mul283 = 0, $mul334 = 0, $mul365 = 0, $mul373 = 0.0, $mul40 = 0, $mul403 = 0, $mul406 = 0, $mul410 = 0, $mul429 = 0, $mul433 = 0, $mul443 = 0, $mul446 = 0, $mul449 = 0, $mul461 = 0, $mul471 = 0, $mul474 = 0;
- var $mul477 = 0, $mul490 = 0.0, $mul492 = 0.0, $mul497 = 0, $mul502 = 0.0, $mul77 = 0, $mul9 = 0, $nChannelsInternal = 0, $or$cond = 0, $or$cond1 = 0, $or$cond10 = 0, $or$cond3 = 0, $or$cond4 = 0, $or$cond5 = 0, $or$cond6 = 0, $or$cond7 = 0, $or$cond8 = 0, $or$cond9 = 0, $payloadSize_ms = 0, $pcm$addr = 0;
- var $pcm_ptr = 0, $pcm_silk_size = 0, $pcm_transition = 0, $pcm_transition_celt_size = 0, $pcm_transition_silk_size = 0, $prev_mode = 0, $prev_mode115 = 0, $prev_mode310 = 0, $prev_mode314 = 0, $prev_mode343 = 0, $prev_mode514 = 0, $prev_mode61 = 0, $prev_mode66 = 0, $prev_mode71 = 0, $prev_redundancy = 0, $prev_redundancy318 = 0, $prev_redundancy351 = 0, $prev_redundancy517 = 0, $rangeFinal512 = 0, $redundancy = 0;
- var $redundancy_bytes = 0, $redundant_audio_size = 0, $redundant_rng = 0, $ret = 0, $retval = 0, $rng = 0, $saved_stack = 0, $shr = 0, $shr2 = 0, $shr233 = 0, $shr3 = 0, $silence = 0, $silk_dec = 0, $silk_dec_offset = 0, $silk_frame_size = 0, $silk_ret = 0, $st$addr = 0, $start_band = 0, $storage = 0, $stream_channels = 0;
- var $stream_channels261 = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$div383 = 0, $sub$ptr$div398 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast380 = 0, $sub$ptr$lhs$cast395 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast381 = 0, $sub$ptr$rhs$cast396 = 0, $sub$ptr$sub = 0, $sub$ptr$sub382 = 0, $sub$ptr$sub397 = 0, $sub234 = 0, $sub237 = 0, $sub244 = 0, $sub402 = 0, $sub409 = 0, $tobool = 0;
- var $tobool100 = 0, $tobool172 = 0, $tobool174 = 0, $tobool197 = 0, $tobool222 = 0, $tobool263 = 0, $tobool267 = 0, $tobool280 = 0, $tobool288 = 0, $tobool290 = 0, $tobool319 = 0, $tobool323 = 0, $tobool330 = 0, $tobool347 = 0, $tobool349 = 0, $tobool352 = 0, $tobool361 = 0, $tobool387 = 0, $tobool389 = 0, $tobool415 = 0;
- var $tobool417 = 0, $tobool454 = 0, $tobool486 = 0, $tobool515 = 0, $tobool516 = 0, $tobool83 = 0, $transition = 0, $vararg_buffer = 0, $vararg_buffer13 = 0, $vararg_buffer16 = 0, $vararg_buffer19 = 0, $vararg_buffer22 = 0, $vararg_buffer25 = 0, $vararg_buffer27 = 0, $vararg_buffer30 = 0, $vararg_buffer33 = 0, $vararg_buffer35 = 0, $vararg_buffer38 = 0, $vla = 0, $vla$alloca_mul = 0;
- var $vla112 = 0, $vla112$alloca_mul = 0, $vla266 = 0, $vla266$alloca_mul = 0, $vla287 = 0, $vla287$alloca_mul = 0, $window = 0, $window386 = 0, $x = 0.0, $xor = 0, $xor$sink = 0, label = 0, sp = 0;
+function _opus_decode_frame($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $$ = 0, $$26 = 0, $$alloca_mul = 0, $$alloca_mul102 = 0, $$alloca_mul104 = 0, $$alloca_mul106 = 0, $$sink = 0, $$sink23 = 0, $$sink25 = 0, $$sink6 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0;
+ var $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0;
+ var $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0;
+ var $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0;
+ var $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0;
+ var $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0;
+ var $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0;
+ var $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0;
+ var $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0;
+ var $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0;
+ var $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0;
+ var $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0;
+ var $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0;
+ var $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0;
+ var $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0;
+ var $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0;
+ var $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0;
+ var $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0;
+ var $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0;
+ var $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0;
+ var $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0;
+ var $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0;
+ var $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0;
+ var $509 = 0, $51 = 0.0, $510 = 0.0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0.0, $516 = 0.0, $517 = 0.0, $518 = 0, $519 = 0, $52 = 0.0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0;
+ var $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0;
+ var $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0;
+ var $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0;
+ var $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0;
+ var $6 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0.0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0;
+ var $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0;
+ var $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0;
+ var $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0.0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0;
+ var $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0;
+ var $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0;
+ var $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0.0, $712 = 0.0, $713 = 0.0, $714 = 0.0, $715 = 0.0, $716 = 0.0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0;
+ var $725 = 0, $726 = 0, $727 = 0.0, $728 = 0.0, $729 = 0.0, $73 = 0, $730 = 0.0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0;
+ var $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0;
+ var $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
+ var $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond10 = 0, $or$cond12 = 0, $or$cond14 = 0, $or$cond16 = 0, $or$cond18 = 0, $or$cond20 = 0, $or$cond22 = 0, $or$cond3 = 0, $or$cond8 = 0;
+ var $vararg_buffer = 0, $vararg_buffer27 = 0, $vararg_buffer30 = 0, $vararg_buffer33 = 0, $vararg_buffer36 = 0, $vararg_buffer39 = 0, $vararg_buffer41 = 0, $vararg_buffer44 = 0, $vararg_buffer47 = 0, $vararg_buffer49 = 0, $vararg_buffer52 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 320|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(320|0);
- $vararg_buffer38 = sp + 80|0;
- $vararg_buffer35 = sp + 72|0;
- $vararg_buffer33 = sp + 64|0;
- $vararg_buffer30 = sp + 56|0;
- $vararg_buffer27 = sp + 48|0;
- $vararg_buffer25 = sp + 40|0;
- $vararg_buffer22 = sp + 32|0;
- $vararg_buffer19 = sp + 24|0;
- $vararg_buffer16 = sp + 16|0;
- $vararg_buffer13 = sp + 8|0;
+ $vararg_buffer52 = sp + 80|0;
+ $vararg_buffer49 = sp + 72|0;
+ $vararg_buffer47 = sp + 64|0;
+ $vararg_buffer44 = sp + 56|0;
+ $vararg_buffer41 = sp + 48|0;
+ $vararg_buffer39 = sp + 40|0;
+ $vararg_buffer36 = sp + 32|0;
+ $vararg_buffer33 = sp + 24|0;
+ $vararg_buffer30 = sp + 16|0;
+ $vararg_buffer27 = sp + 8|0;
$vararg_buffer = sp;
- $dec = sp + 216|0;
- $silk_frame_size = sp + 212|0;
- $redundant_rng = sp + 136|0;
- $silence = sp + 312|0;
- $celt_mode = sp + 92|0;
- $st$addr = $st;
- $data$addr = $data;
- $len$addr = $len;
- $pcm$addr = $pcm;
- $frame_size$addr = $frame_size;
- $decode_fec$addr = $decode_fec;
- $silk_ret = 0;
- $celt_ret = 0;
- $pcm_transition = 0;
- $transition = 0;
- $redundancy = 0;
- $redundancy_bytes = 0;
- $celt_to_silk = 0;
- HEAP32[$redundant_rng>>2] = 0;
- $0 = $st$addr;
- $1 = $st$addr;
- $silk_dec_offset = ((($1)) + 4|0);
- $2 = HEAP32[$silk_dec_offset>>2]|0;
- $add$ptr = (($0) + ($2)|0);
- $silk_dec = $add$ptr;
- $3 = $st$addr;
- $4 = $st$addr;
- $5 = HEAP32[$4>>2]|0;
- $add$ptr1 = (($3) + ($5)|0);
- $celt_dec = $add$ptr1;
- $6 = $st$addr;
- $Fs = ((($6)) + 12|0);
- $7 = HEAP32[$Fs>>2]|0;
- $div = (($7|0) / 50)&-1;
- $F20 = $div;
- $8 = $F20;
- $shr = $8 >> 1;
- $F10 = $shr;
- $9 = $F10;
- $shr2 = $9 >> 1;
- $F5 = $shr2;
- $10 = $F5;
- $shr3 = $10 >> 1;
- $F2_5 = $shr3;
- $11 = $frame_size$addr;
- $12 = $F2_5;
- $cmp = ($11|0)<($12|0);
- if ($cmp) {
- $retval = -2;
- $401 = $retval;
- STACKTOP = sp;return ($401|0);
+ $18 = sp + 216|0;
+ $19 = sp + 212|0;
+ $38 = sp + 136|0;
+ $49 = sp + 312|0;
+ $50 = sp + 92|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $16 = 0;
+ $17 = 0;
+ $23 = 0;
+ $27 = 0;
+ $29 = 0;
+ $30 = 0;
+ $31 = 0;
+ HEAP32[$38>>2] = 0;
+ $53 = $7;
+ $54 = $7;
+ $55 = ((($54)) + 4|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = (($53) + ($56)|0);
+ $13 = $57;
+ $58 = $7;
+ $59 = $7;
+ $60 = HEAP32[$59>>2]|0;
+ $61 = (($58) + ($60)|0);
+ $14 = $61;
+ $62 = $7;
+ $63 = ((($62)) + 12|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = (($64|0) / 50)&-1;
+ $36 = $65;
+ $66 = $36;
+ $67 = $66 >> 1;
+ $35 = $67;
+ $68 = $35;
+ $69 = $68 >> 1;
+ $34 = $69;
+ $70 = $34;
+ $71 = $70 >> 1;
+ $33 = $71;
+ $72 = $11;
+ $73 = $33;
+ $74 = ($72|0)<($73|0);
+ if ($74) {
+ $6 = -2;
+ $765 = $6;
+ STACKTOP = sp;return ($765|0);
}
- $13 = $frame_size$addr;
- $14 = $st$addr;
- $Fs4 = ((($14)) + 12|0);
- $15 = HEAP32[$Fs4>>2]|0;
- $div5 = (($15|0) / 25)&-1;
- $mul = ($div5*3)|0;
- $cmp6 = ($13|0)<($mul|0);
- if ($cmp6) {
- $16 = $frame_size$addr;
- $cond = $16;
+ $75 = $11;
+ $76 = $7;
+ $77 = ((($76)) + 12|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = (($78|0) / 25)&-1;
+ $80 = ($79*3)|0;
+ $81 = ($75|0)<($80|0);
+ if ($81) {
+ $82 = $11;
+ $88 = $82;
} else {
- $17 = $st$addr;
- $Fs7 = ((($17)) + 12|0);
- $18 = HEAP32[$Fs7>>2]|0;
- $div8 = (($18|0) / 25)&-1;
- $mul9 = ($div8*3)|0;
- $cond = $mul9;
+ $83 = $7;
+ $84 = ((($83)) + 12|0);
+ $85 = HEAP32[$84>>2]|0;
+ $86 = (($85|0) / 25)&-1;
+ $87 = ($86*3)|0;
+ $88 = $87;
}
- $frame_size$addr = $cond;
- $19 = $len$addr;
- $cmp10 = ($19|0)<=(1);
- if ($cmp10) {
- $data$addr = 0;
- $20 = $frame_size$addr;
- $21 = $st$addr;
- $frame_size12 = ((($21)) + 64|0);
- $22 = HEAP32[$frame_size12>>2]|0;
- $cmp13 = ($20|0)<($22|0);
- if ($cmp13) {
- $23 = $frame_size$addr;
- $cond18 = $23;
+ $11 = $88;
+ $89 = $9;
+ $90 = ($89|0)<=(1);
+ if ($90) {
+ $8 = 0;
+ $91 = $11;
+ $92 = $7;
+ $93 = ((($92)) + 64|0);
+ $94 = HEAP32[$93>>2]|0;
+ $95 = ($91|0)<($94|0);
+ if ($95) {
+ $96 = $11;
+ $100 = $96;
} else {
- $24 = $st$addr;
- $frame_size16 = ((($24)) + 64|0);
- $25 = HEAP32[$frame_size16>>2]|0;
- $cond18 = $25;
+ $97 = $7;
+ $98 = ((($97)) + 64|0);
+ $99 = HEAP32[$98>>2]|0;
+ $100 = $99;
}
- $frame_size$addr = $cond18;
+ $11 = $100;
}
- $26 = $data$addr;
- $cmp20 = ($26|0)!=(0|0);
+ $101 = $8;
+ $102 = ($101|0)!=(0|0);
do {
- if ($cmp20) {
- $27 = $st$addr;
- $frame_size22 = ((($27)) + 64|0);
- $28 = HEAP32[$frame_size22>>2]|0;
- $audiosize = $28;
- $29 = $st$addr;
- $mode23 = ((($29)) + 56|0);
- $30 = HEAP32[$mode23>>2]|0;
- $mode = $30;
- $31 = $data$addr;
- $32 = $len$addr;
- _ec_dec_init($dec,$31,$32);
+ if ($102) {
+ $103 = $7;
+ $104 = ((($103)) + 64|0);
+ $105 = HEAP32[$104>>2]|0;
+ $25 = $105;
+ $106 = $7;
+ $107 = ((($106)) + 56|0);
+ $108 = HEAP32[$107>>2]|0;
+ $26 = $108;
+ $109 = $8;
+ $110 = $9;
+ _ec_dec_init($18,$109,$110);
} else {
- $33 = $frame_size$addr;
- $audiosize = $33;
- $34 = $st$addr;
- $prev_mode = ((($34)) + 60|0);
- $35 = HEAP32[$prev_mode>>2]|0;
- $mode = $35;
- $36 = $mode;
- $cmp24 = ($36|0)==(0);
- if ($cmp24) {
- $i = 0;
+ $111 = $11;
+ $25 = $111;
+ $112 = $7;
+ $113 = ((($112)) + 60|0);
+ $114 = HEAP32[$113>>2]|0;
+ $26 = $114;
+ $115 = $26;
+ $116 = ($115|0)==(0);
+ if ($116) {
+ $15 = 0;
while(1) {
- $37 = $i;
- $38 = $audiosize;
- $39 = $st$addr;
- $channels = ((($39)) + 8|0);
- $40 = HEAP32[$channels>>2]|0;
- $mul26 = Math_imul($38, $40)|0;
- $cmp27 = ($37|0)<($mul26|0);
- if (!($cmp27)) {
+ $117 = $15;
+ $118 = $25;
+ $119 = $7;
+ $120 = ((($119)) + 8|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = Math_imul($118, $121)|0;
+ $123 = ($117|0)<($122|0);
+ if (!($123)) {
break;
}
- $41 = $pcm$addr;
- $42 = $i;
- $arrayidx = (($41) + ($42<<2)|0);
- HEAPF32[$arrayidx>>2] = 0.0;
- $43 = $i;
- $inc = (($43) + 1)|0;
- $i = $inc;
+ $124 = $10;
+ $125 = $15;
+ $126 = (($124) + ($125<<2)|0);
+ HEAPF32[$126>>2] = 0.0;
+ $127 = $15;
+ $128 = (($127) + 1)|0;
+ $15 = $128;
}
- $44 = $audiosize;
- $retval = $44;
- $401 = $retval;
- STACKTOP = sp;return ($401|0);
+ $129 = $25;
+ $6 = $129;
+ $765 = $6;
+ STACKTOP = sp;return ($765|0);
}
- $45 = $audiosize;
- $46 = $F20;
- $cmp29 = ($45|0)>($46|0);
- if ($cmp29) {
+ $130 = $25;
+ $131 = $36;
+ $132 = ($130|0)>($131|0);
+ if ($132) {
while(1) {
- $47 = $st$addr;
- $48 = $pcm$addr;
- $49 = $audiosize;
- $50 = $F20;
- $cmp31 = ($49|0)<($50|0);
- $51 = $audiosize;
- $52 = $F20;
- $cond35 = $cmp31 ? $51 : $52;
- $call = (_opus_decode_frame($47,0,0,$48,$cond35,0)|0);
- $ret = $call;
- $53 = $ret;
- $cmp36 = ($53|0)<(0);
- $54 = $ret;
- if ($cmp36) {
+ $133 = $7;
+ $134 = $10;
+ $135 = $25;
+ $136 = $36;
+ $137 = ($135|0)<($136|0);
+ $138 = $25;
+ $139 = $36;
+ $140 = $137 ? $138 : $139;
+ $141 = (_opus_decode_frame($133,0,0,$134,$140,0)|0);
+ $40 = $141;
+ $142 = $40;
+ $143 = ($142|0)<(0);
+ $144 = $40;
+ if ($143) {
label = 20;
break;
}
- $55 = $st$addr;
- $channels39 = ((($55)) + 8|0);
- $56 = HEAP32[$channels39>>2]|0;
- $mul40 = Math_imul($54, $56)|0;
- $57 = $pcm$addr;
- $add$ptr41 = (($57) + ($mul40<<2)|0);
- $pcm$addr = $add$ptr41;
- $58 = $ret;
- $59 = $audiosize;
- $sub = (($59) - ($58))|0;
- $audiosize = $sub;
- $60 = $audiosize;
- $cmp42 = ($60|0)>(0);
- if (!($cmp42)) {
+ $145 = $7;
+ $146 = ((($145)) + 8|0);
+ $147 = HEAP32[$146>>2]|0;
+ $148 = Math_imul($144, $147)|0;
+ $149 = $10;
+ $150 = (($149) + ($148<<2)|0);
+ $10 = $150;
+ $151 = $40;
+ $152 = $25;
+ $153 = (($152) - ($151))|0;
+ $25 = $153;
+ $154 = $25;
+ $155 = ($154|0)>(0);
+ if (!($155)) {
label = 22;
break;
}
}
if ((label|0) == 20) {
- $retval = $54;
- $401 = $retval;
- STACKTOP = sp;return ($401|0);
+ $6 = $144;
+ $765 = $6;
+ STACKTOP = sp;return ($765|0);
}
else if ((label|0) == 22) {
- $61 = $frame_size$addr;
- $retval = $61;
- $401 = $retval;
- STACKTOP = sp;return ($401|0);
+ $156 = $11;
+ $6 = $156;
+ $765 = $6;
+ STACKTOP = sp;return ($765|0);
}
}
- $62 = $audiosize;
- $63 = $F20;
- $cmp44 = ($62|0)<($63|0);
- if ($cmp44) {
- $64 = $audiosize;
- $65 = $F10;
- $cmp46 = ($64|0)>($65|0);
- if ($cmp46) {
- $66 = $F10;
- $audiosize = $66;
+ $157 = $25;
+ $158 = $36;
+ $159 = ($157|0)<($158|0);
+ if ($159) {
+ $160 = $25;
+ $161 = $35;
+ $162 = ($160|0)>($161|0);
+ if ($162) {
+ $163 = $35;
+ $25 = $163;
break;
}
- $67 = $mode;
- $cmp49 = ($67|0)!=(1000);
- if ($cmp49) {
- $68 = $audiosize;
- $69 = $F5;
- $cmp50 = ($68|0)>($69|0);
- if ($cmp50) {
- $70 = $audiosize;
- $71 = $F10;
- $cmp52 = ($70|0)<($71|0);
- if ($cmp52) {
- $72 = $F5;
- $audiosize = $72;
+ $164 = $26;
+ $165 = ($164|0)!=(1000);
+ if ($165) {
+ $166 = $25;
+ $167 = $34;
+ $168 = ($166|0)>($167|0);
+ if ($168) {
+ $169 = $25;
+ $170 = $35;
+ $171 = ($169|0)<($170|0);
+ if ($171) {
+ $172 = $34;
+ $25 = $172;
}
}
}
}
}
} while(0);
- $celt_accum = 0;
- $pcm_transition_silk_size = 1;
- $pcm_transition_celt_size = 1;
- $73 = $data$addr;
- $cmp59 = ($73|0)!=(0|0);
+ $39 = 0;
+ $21 = 1;
+ $22 = 1;
+ $173 = $8;
+ $174 = ($173|0)!=(0|0);
do {
- if ($cmp59) {
- $74 = $st$addr;
- $prev_mode61 = ((($74)) + 60|0);
- $75 = HEAP32[$prev_mode61>>2]|0;
- $cmp62 = ($75|0)>(0);
- if ($cmp62) {
- $76 = $mode;
- $cmp64 = ($76|0)==(1002);
- if ($cmp64) {
- $77 = $st$addr;
- $prev_mode66 = ((($77)) + 60|0);
- $78 = HEAP32[$prev_mode66>>2]|0;
- $cmp67 = ($78|0)!=(1002);
- if ($cmp67) {
- $79 = $st$addr;
- $prev_redundancy = ((($79)) + 68|0);
- $80 = HEAP32[$prev_redundancy>>2]|0;
- $tobool = ($80|0)!=(0);
- if ($tobool) {
+ if ($174) {
+ $175 = $7;
+ $176 = ((($175)) + 60|0);
+ $177 = HEAP32[$176>>2]|0;
+ $178 = ($177|0)>(0);
+ if ($178) {
+ $179 = $26;
+ $180 = ($179|0)==(1002);
+ if ($180) {
+ $181 = $7;
+ $182 = ((($181)) + 60|0);
+ $183 = HEAP32[$182>>2]|0;
+ $184 = ($183|0)!=(1002);
+ if ($184) {
+ $185 = $7;
+ $186 = ((($185)) + 68|0);
+ $187 = HEAP32[$186>>2]|0;
+ $188 = ($187|0)!=(0);
+ if ($188) {
label = 35;
}
} else {
@@ -3365,2048 +3367,2048 @@ function _opus_decode_frame($st,$data,$len,$pcm,$frame_size,$decode_fec) {
label = 35;
}
if ((label|0) == 35) {
- $81 = $mode;
- $cmp69 = ($81|0)!=(1002);
- if (!($cmp69)) {
+ $189 = $26;
+ $190 = ($189|0)!=(1002);
+ if (!($190)) {
break;
}
- $82 = $st$addr;
- $prev_mode71 = ((($82)) + 60|0);
- $83 = HEAP32[$prev_mode71>>2]|0;
- $cmp72 = ($83|0)==(1002);
- if (!($cmp72)) {
+ $191 = $7;
+ $192 = ((($191)) + 60|0);
+ $193 = HEAP32[$192>>2]|0;
+ $194 = ($193|0)==(1002);
+ if (!($194)) {
break;
}
}
- $transition = 1;
- $84 = $mode;
- $cmp74 = ($84|0)==(1002);
- $85 = $F5;
- $86 = $st$addr;
- $channels76 = ((($86)) + 8|0);
- $87 = HEAP32[$channels76>>2]|0;
- $mul77 = Math_imul($85, $87)|0;
- if ($cmp74) {
- $pcm_transition_celt_size = $mul77;
+ $27 = 1;
+ $195 = $26;
+ $196 = ($195|0)==(1002);
+ $197 = $34;
+ $198 = $7;
+ $199 = ((($198)) + 8|0);
+ $200 = HEAP32[$199>>2]|0;
+ $201 = Math_imul($197, $200)|0;
+ if ($196) {
+ $22 = $201;
break;
} else {
- $pcm_transition_silk_size = $mul77;
+ $21 = $201;
break;
}
}
}
} while(0);
- $88 = $pcm_transition_celt_size;
- $89 = (_llvm_stacksave()|0);
- $saved_stack = $89;
- $vla$alloca_mul = $88<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $90 = $transition;
- $tobool83 = ($90|0)!=(0);
- $91 = $mode;
- $cmp85 = ($91|0)==(1002);
- $or$cond = $tobool83 & $cmp85;
+ $202 = $22;
+ $203 = (_llvm_stacksave()|0);
+ $41 = $203;
+ $$alloca_mul = $202<<2;
+ $204 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $205 = $27;
+ $206 = ($205|0)!=(0);
+ $207 = $26;
+ $208 = ($207|0)==(1002);
+ $or$cond = $206 & $208;
if ($or$cond) {
- $pcm_transition = $vla;
- $92 = $st$addr;
- $93 = $pcm_transition;
- $94 = $F5;
- $95 = $audiosize;
- $cmp87 = ($94|0)<($95|0);
- $96 = $F5;
- $97 = $audiosize;
- $cond91 = $cmp87 ? $96 : $97;
- (_opus_decode_frame($92,0,0,$93,$cond91,0)|0);
+ $23 = $204;
+ $209 = $7;
+ $210 = $23;
+ $211 = $34;
+ $212 = $25;
+ $213 = ($211|0)<($212|0);
+ $214 = $34;
+ $215 = $25;
+ $216 = $213 ? $214 : $215;
+ (_opus_decode_frame($209,0,0,$210,$216,0)|0);
}
- $98 = $audiosize;
- $99 = $frame_size$addr;
- $cmp94 = ($98|0)>($99|0);
+ $217 = $25;
+ $218 = $11;
+ $219 = ($217|0)>($218|0);
L62: do {
- if ($cmp94) {
- $retval = -1;
- $cleanup$dest$slot = 1;
+ if ($219) {
+ $6 = -1;
+ $42 = 1;
} else {
- $100 = $audiosize;
- $frame_size$addr = $100;
- $101 = $mode;
- $cmp98 = ($101|0)==(1002);
- $102 = $celt_accum;
- $tobool100 = ($102|0)!=(0);
- $or$cond1 = $cmp98 | $tobool100;
- if ($or$cond1) {
- $cond111 = 1;
+ $220 = $25;
+ $11 = $220;
+ $221 = $26;
+ $222 = ($221|0)==(1002);
+ $223 = $39;
+ $224 = ($223|0)!=(0);
+ $or$cond3 = $222 | $224;
+ if ($or$cond3) {
+ $235 = 1;
} else {
- $103 = $F10;
- $104 = $frame_size$addr;
- $cmp102 = ($103|0)>($104|0);
- $105 = $F10;
- $106 = $frame_size$addr;
- $cond106 = $cmp102 ? $105 : $106;
- $107 = $st$addr;
- $channels107 = ((($107)) + 8|0);
- $108 = HEAP32[$channels107>>2]|0;
- $mul108 = Math_imul($cond106, $108)|0;
- $cond111 = $mul108;
+ $225 = $35;
+ $226 = $11;
+ $227 = ($225|0)>($226|0);
+ $228 = $35;
+ $229 = $11;
+ $230 = $227 ? $228 : $229;
+ $231 = $7;
+ $232 = ((($231)) + 8|0);
+ $233 = HEAP32[$232>>2]|0;
+ $234 = Math_imul($230, $233)|0;
+ $235 = $234;
}
- $pcm_silk_size = $cond111;
- $109 = $pcm_silk_size;
- $vla112$alloca_mul = $109<<1;
- $vla112 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla112$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla112$alloca_mul)|0)+15)&-16)|0);;
- $110 = $mode;
- $cmp113 = ($110|0)!=(1002);
+ $20 = $235;
+ $236 = $20;
+ $$alloca_mul102 = $236<<1;
+ $237 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul102)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul102)|0)+15)&-16)|0);;
+ $238 = $26;
+ $239 = ($238|0)!=(1002);
L68: do {
- if ($cmp113) {
- $pcm_ptr = $vla112;
- $111 = $st$addr;
- $prev_mode115 = ((($111)) + 60|0);
- $112 = HEAP32[$prev_mode115>>2]|0;
- $cmp116 = ($112|0)==(1002);
- if ($cmp116) {
- $113 = $silk_dec;
- (_silk_InitDecoder($113)|0);
+ if ($239) {
+ $45 = $237;
+ $240 = $7;
+ $241 = ((($240)) + 60|0);
+ $242 = HEAP32[$241>>2]|0;
+ $243 = ($242|0)==(1002);
+ if ($243) {
+ $244 = $13;
+ (_silk_InitDecoder($244)|0);
}
- $114 = $audiosize;
- $mul120 = ($114*1000)|0;
- $115 = $st$addr;
- $Fs121 = ((($115)) + 12|0);
- $116 = HEAP32[$Fs121>>2]|0;
- $div122 = (($mul120|0) / ($116|0))&-1;
- $cmp123 = (10)>($div122|0);
- if ($cmp123) {
- $cond130 = 10;
+ $245 = $25;
+ $246 = ($245*1000)|0;
+ $247 = $7;
+ $248 = ((($247)) + 12|0);
+ $249 = HEAP32[$248>>2]|0;
+ $250 = (($246|0) / ($249|0))&-1;
+ $251 = (10)>($250|0);
+ if ($251) {
+ $261 = 10;
} else {
- $117 = $audiosize;
- $mul126 = ($117*1000)|0;
- $118 = $st$addr;
- $Fs127 = ((($118)) + 12|0);
- $119 = HEAP32[$Fs127>>2]|0;
- $div128 = (($mul126|0) / ($119|0))&-1;
- $cond130 = $div128;
+ $252 = $25;
+ $253 = ($252*1000)|0;
+ $254 = $7;
+ $255 = ((($254)) + 12|0);
+ $256 = HEAP32[$255>>2]|0;
+ $257 = (($253|0) / ($256|0))&-1;
+ $261 = $257;
}
- $120 = $st$addr;
- $DecControl = ((($120)) + 16|0);
- $payloadSize_ms = ((($DecControl)) + 16|0);
- HEAP32[$payloadSize_ms>>2] = $cond130;
- $121 = $data$addr;
- $cmp131 = ($121|0)!=(0|0);
- if ($cmp131) {
- $122 = $st$addr;
- $stream_channels = ((($122)) + 48|0);
- $123 = HEAP32[$stream_channels>>2]|0;
- $124 = $st$addr;
- $DecControl133 = ((($124)) + 16|0);
- $nChannelsInternal = ((($DecControl133)) + 4|0);
- HEAP32[$nChannelsInternal>>2] = $123;
- $125 = $mode;
- $cmp134 = ($125|0)==(1000);
- $126 = $st$addr;
- if ($cmp134) {
- $bandwidth = ((($126)) + 52|0);
- $127 = HEAP32[$bandwidth>>2]|0;
- $cmp136 = ($127|0)==(1101);
- $128 = $st$addr;
- if ($cmp136) {
- $$sink = 8000;$$sink2 = $128;
+ $258 = $7;
+ $259 = ((($258)) + 16|0);
+ $260 = ((($259)) + 16|0);
+ HEAP32[$260>>2] = $261;
+ $262 = $8;
+ $263 = ($262|0)!=(0|0);
+ if ($263) {
+ $264 = $7;
+ $265 = ((($264)) + 48|0);
+ $266 = HEAP32[$265>>2]|0;
+ $267 = $7;
+ $268 = ((($267)) + 16|0);
+ $269 = ((($268)) + 4|0);
+ HEAP32[$269>>2] = $266;
+ $270 = $26;
+ $271 = ($270|0)==(1000);
+ $272 = $7;
+ if ($271) {
+ $273 = ((($272)) + 52|0);
+ $274 = HEAP32[$273>>2]|0;
+ $275 = ($274|0)==(1101);
+ $276 = $7;
+ if ($275) {
+ $$sink = 8000;$$sink6 = $276;
} else {
- $bandwidth140 = ((($128)) + 52|0);
- $129 = HEAP32[$bandwidth140>>2]|0;
- $cmp141 = ($129|0)==(1102);
- $130 = $st$addr;
- $131 = $st$addr;
- $$ = $cmp141 ? $130 : $131;
- $$12 = $cmp141 ? 12000 : 16000;
- $$sink = $$12;$$sink2 = $$;
+ $277 = ((($276)) + 52|0);
+ $278 = HEAP32[$277>>2]|0;
+ $279 = ($278|0)==(1102);
+ $280 = $7;
+ $281 = $7;
+ $$ = $279 ? $280 : $281;
+ $$26 = $279 ? 12000 : 16000;
+ $$sink = $$26;$$sink6 = $$;
}
} else {
- $$sink = 16000;$$sink2 = $126;
+ $$sink = 16000;$$sink6 = $272;
}
- $DecControl138 = ((($$sink2)) + 16|0);
- $internalSampleRate = ((($DecControl138)) + 12|0);
- HEAP32[$internalSampleRate>>2] = $$sink;
+ $282 = ((($$sink6)) + 16|0);
+ $283 = ((($282)) + 12|0);
+ HEAP32[$283>>2] = $$sink;
}
- $132 = $data$addr;
- $cmp162 = ($132|0)==(0|0);
- $133 = $decode_fec$addr;
- $mul165 = $133<<1;
- $cond167 = $cmp162 ? 1 : $mul165;
- $lost_flag = $cond167;
- $decoded_samples = 0;
+ $284 = $8;
+ $285 = ($284|0)==(0|0);
+ $286 = $12;
+ $287 = $286<<1;
+ $288 = $285 ? 1 : $287;
+ $43 = $288;
+ $44 = 0;
L83: while(1) {
- $134 = $decoded_samples;
- $cmp169 = ($134|0)==(0);
- $conv = $cmp169&1;
- $first_frame = $conv;
- $135 = $silk_dec;
- $136 = $st$addr;
- $DecControl170 = ((($136)) + 16|0);
- $137 = $lost_flag;
- $138 = $first_frame;
- $139 = $pcm_ptr;
- $140 = $st$addr;
- $arch = ((($140)) + 44|0);
- $141 = HEAP32[$arch>>2]|0;
- $call171 = (_silk_Decode($135,$DecControl170,$137,$138,$dec,$139,$silk_frame_size,$141)|0);
- $silk_ret = $call171;
- $142 = $silk_ret;
- $tobool172 = ($142|0)!=(0);
+ $289 = $44;
+ $290 = ($289|0)==(0);
+ $291 = $290&1;
+ $46 = $291;
+ $292 = $13;
+ $293 = $7;
+ $294 = ((($293)) + 16|0);
+ $295 = $43;
+ $296 = $46;
+ $297 = $45;
+ $298 = $7;
+ $299 = ((($298)) + 44|0);
+ $300 = HEAP32[$299>>2]|0;
+ $301 = (_silk_Decode($292,$294,$295,$296,$18,$297,$19,$300)|0);
+ $16 = $301;
+ $302 = $16;
+ $303 = ($302|0)!=(0);
L85: do {
- if ($tobool172) {
- $143 = $lost_flag;
- $tobool174 = ($143|0)!=(0);
- if (!($tobool174)) {
+ if ($303) {
+ $304 = $43;
+ $305 = ($304|0)!=(0);
+ if (!($305)) {
break L83;
}
- $144 = $frame_size$addr;
- HEAP32[$silk_frame_size>>2] = $144;
- $i = 0;
+ $306 = $11;
+ HEAP32[$19>>2] = $306;
+ $15 = 0;
while(1) {
- $145 = $i;
- $146 = $frame_size$addr;
- $147 = $st$addr;
- $channels177 = ((($147)) + 8|0);
- $148 = HEAP32[$channels177>>2]|0;
- $mul178 = Math_imul($146, $148)|0;
- $cmp179 = ($145|0)<($mul178|0);
- if (!($cmp179)) {
+ $307 = $15;
+ $308 = $11;
+ $309 = $7;
+ $310 = ((($309)) + 8|0);
+ $311 = HEAP32[$310>>2]|0;
+ $312 = Math_imul($308, $311)|0;
+ $313 = ($307|0)<($312|0);
+ if (!($313)) {
break L85;
}
- $149 = $pcm_ptr;
- $150 = $i;
- $arrayidx182 = (($149) + ($150<<1)|0);
- HEAP16[$arrayidx182>>1] = 0;
- $151 = $i;
- $inc184 = (($151) + 1)|0;
- $i = $inc184;
+ $314 = $45;
+ $315 = $15;
+ $316 = (($314) + ($315<<1)|0);
+ HEAP16[$316>>1] = 0;
+ $317 = $15;
+ $318 = (($317) + 1)|0;
+ $15 = $318;
}
}
} while(0);
- $152 = HEAP32[$silk_frame_size>>2]|0;
- $153 = $st$addr;
- $channels189 = ((($153)) + 8|0);
- $154 = HEAP32[$channels189>>2]|0;
- $mul190 = Math_imul($152, $154)|0;
- $155 = $pcm_ptr;
- $add$ptr191 = (($155) + ($mul190<<1)|0);
- $pcm_ptr = $add$ptr191;
- $156 = HEAP32[$silk_frame_size>>2]|0;
- $157 = $decoded_samples;
- $add = (($157) + ($156))|0;
- $decoded_samples = $add;
- $158 = $decoded_samples;
- $159 = $frame_size$addr;
- $cmp193 = ($158|0)<($159|0);
- if (!($cmp193)) {
+ $319 = HEAP32[$19>>2]|0;
+ $320 = $7;
+ $321 = ((($320)) + 8|0);
+ $322 = HEAP32[$321>>2]|0;
+ $323 = Math_imul($319, $322)|0;
+ $324 = $45;
+ $325 = (($324) + ($323<<1)|0);
+ $45 = $325;
+ $326 = HEAP32[$19>>2]|0;
+ $327 = $44;
+ $328 = (($327) + ($326))|0;
+ $44 = $328;
+ $329 = $44;
+ $330 = $11;
+ $331 = ($329|0)<($330|0);
+ if (!($331)) {
break L68;
}
}
- $retval = -3;
- $cleanup$dest$slot = 1;
+ $6 = -3;
+ $42 = 1;
break L62;
}
} while(0);
- $start_band = 0;
- $160 = $decode_fec$addr;
- $tobool197 = ($160|0)==(0);
- $161 = $mode;
- $cmp199 = ($161|0)!=(1002);
- $or$cond3 = $tobool197 & $cmp199;
- $162 = $data$addr;
- $cmp202 = ($162|0)!=(0|0);
- $or$cond4 = $or$cond3 & $cmp202;
- if ($or$cond4) {
- $call205 = (_ec_tell($dec)|0);
- $add206 = (($call205) + 17)|0;
- $163 = $st$addr;
- $mode207 = ((($163)) + 56|0);
- $164 = HEAP32[$mode207>>2]|0;
- $cmp208 = ($164|0)==(1001);
- $conv209 = $cmp208&1;
- $mul210 = ($conv209*20)|0;
- $add211 = (($add206) + ($mul210))|0;
- $165 = $len$addr;
- $mul212 = $165<<3;
- $cmp213 = ($add211|0)<=($mul212|0);
- if ($cmp213) {
- $166 = $mode;
- $cmp216 = ($166|0)==(1001);
- if ($cmp216) {
- $call219 = (_ec_dec_bit_logp($dec,12)|0);
- $redundancy = $call219;
+ $28 = 0;
+ $332 = $12;
+ $333 = ($332|0)==(0);
+ $334 = $26;
+ $335 = ($334|0)!=(1002);
+ $or$cond8 = $333 & $335;
+ $336 = $8;
+ $337 = ($336|0)!=(0|0);
+ $or$cond10 = $or$cond8 & $337;
+ if ($or$cond10) {
+ $338 = (_ec_tell($18)|0);
+ $339 = (($338) + 17)|0;
+ $340 = $7;
+ $341 = ((($340)) + 56|0);
+ $342 = HEAP32[$341>>2]|0;
+ $343 = ($342|0)==(1001);
+ $344 = $343&1;
+ $345 = ($344*20)|0;
+ $346 = (($339) + ($345))|0;
+ $347 = $9;
+ $348 = $347<<3;
+ $349 = ($346|0)<=($348|0);
+ if ($349) {
+ $350 = $26;
+ $351 = ($350|0)==(1001);
+ if ($351) {
+ $352 = (_ec_dec_bit_logp($18,12)|0);
+ $29 = $352;
} else {
- $redundancy = 1;
+ $29 = 1;
}
- $167 = $redundancy;
- $tobool222 = ($167|0)!=(0);
- if ($tobool222) {
- $call224 = (_ec_dec_bit_logp($dec,1)|0);
- $celt_to_silk = $call224;
- $168 = $mode;
- $cmp225 = ($168|0)==(1001);
- if ($cmp225) {
- $call228 = (_ec_dec_uint($dec,256)|0);
- $add229 = (($call228) + 2)|0;
- $cond236 = $add229;
+ $353 = $29;
+ $354 = ($353|0)!=(0);
+ if ($354) {
+ $355 = (_ec_dec_bit_logp($18,1)|0);
+ $31 = $355;
+ $356 = $26;
+ $357 = ($356|0)==(1001);
+ if ($357) {
+ $358 = (_ec_dec_uint($18,256)|0);
+ $359 = (($358) + 2)|0;
+ $365 = $359;
} else {
- $169 = $len$addr;
- $call231 = (_ec_tell($dec)|0);
- $add232 = (($call231) + 7)|0;
- $shr233 = $add232 >> 3;
- $sub234 = (($169) - ($shr233))|0;
- $cond236 = $sub234;
+ $360 = $9;
+ $361 = (_ec_tell($18)|0);
+ $362 = (($361) + 7)|0;
+ $363 = $362 >> 3;
+ $364 = (($360) - ($363))|0;
+ $365 = $364;
}
- $redundancy_bytes = $cond236;
- $170 = $redundancy_bytes;
- $171 = $len$addr;
- $sub237 = (($171) - ($170))|0;
- $len$addr = $sub237;
- $172 = $len$addr;
- $mul238 = $172<<3;
- $call239 = (_ec_tell($dec)|0);
- $cmp240 = ($mul238|0)<($call239|0);
- if ($cmp240) {
- $len$addr = 0;
- $redundancy_bytes = 0;
- $redundancy = 0;
+ $30 = $365;
+ $366 = $30;
+ $367 = $9;
+ $368 = (($367) - ($366))|0;
+ $9 = $368;
+ $369 = $9;
+ $370 = $369<<3;
+ $371 = (_ec_tell($18)|0);
+ $372 = ($370|0)<($371|0);
+ if ($372) {
+ $9 = 0;
+ $30 = 0;
+ $29 = 0;
}
- $173 = $redundancy_bytes;
- $storage = ((($dec)) + 4|0);
- $174 = HEAP32[$storage>>2]|0;
- $sub244 = (($174) - ($173))|0;
- HEAP32[$storage>>2] = $sub244;
+ $373 = $30;
+ $374 = ((($18)) + 4|0);
+ $375 = HEAP32[$374>>2]|0;
+ $376 = (($375) - ($373))|0;
+ HEAP32[$374>>2] = $376;
}
}
}
- $175 = $mode;
- $cmp247 = ($175|0)!=(1002);
- if ($cmp247) {
- $start_band = 17;
+ $377 = $26;
+ $378 = ($377|0)!=(1002);
+ if ($378) {
+ $28 = 17;
}
- $endband = 21;
- $176 = $st$addr;
- $bandwidth251 = ((($176)) + 52|0);
- $177 = HEAP32[$bandwidth251>>2]|0;
- switch ($177|0) {
+ $47 = 21;
+ $379 = $7;
+ $380 = ((($379)) + 52|0);
+ $381 = HEAP32[$380>>2]|0;
+ switch ($381|0) {
case 1101: {
- $endband = 13;
+ $47 = 13;
break;
}
case 1103: case 1102: {
- $endband = 17;
+ $47 = 17;
break;
}
case 1104: {
- $endband = 19;
+ $47 = 19;
break;
}
case 1105: {
- $endband = 21;
+ $47 = 21;
break;
}
default: {
}
}
- $178 = $celt_dec;
- $179 = $endband;
- HEAP32[$vararg_buffer>>2] = $179;
- (_opus_custom_decoder_ctl($178,10012,$vararg_buffer)|0);
- $180 = $celt_dec;
- $181 = $st$addr;
- $stream_channels261 = ((($181)) + 48|0);
- $182 = HEAP32[$stream_channels261>>2]|0;
- HEAP32[$vararg_buffer13>>2] = $182;
- (_opus_custom_decoder_ctl($180,10008,$vararg_buffer13)|0);
- $183 = $redundancy;
- $tobool263 = ($183|0)!=(0);
- if ($tobool263) {
- $transition = 0;
- $pcm_transition_silk_size = 1;
+ $382 = $14;
+ $383 = $47;
+ HEAP32[$vararg_buffer>>2] = $383;
+ (_opus_custom_decoder_ctl($382,10012,$vararg_buffer)|0);
+ $384 = $14;
+ $385 = $7;
+ $386 = ((($385)) + 48|0);
+ $387 = HEAP32[$386>>2]|0;
+ HEAP32[$vararg_buffer27>>2] = $387;
+ (_opus_custom_decoder_ctl($384,10008,$vararg_buffer27)|0);
+ $388 = $29;
+ $389 = ($388|0)!=(0);
+ if ($389) {
+ $27 = 0;
+ $21 = 1;
}
- $184 = $pcm_transition_silk_size;
- $vla266$alloca_mul = $184<<2;
- $vla266 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla266$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla266$alloca_mul)|0)+15)&-16)|0);;
- $185 = $transition;
- $tobool267 = ($185|0)!=(0);
- $186 = $mode;
- $cmp269 = ($186|0)!=(1002);
- $or$cond5 = $tobool267 & $cmp269;
- if ($or$cond5) {
- $pcm_transition = $vla266;
- $187 = $st$addr;
- $188 = $pcm_transition;
- $189 = $F5;
- $190 = $audiosize;
- $cmp272 = ($189|0)<($190|0);
- $191 = $F5;
- $192 = $audiosize;
- $cond277 = $cmp272 ? $191 : $192;
- (_opus_decode_frame($187,0,0,$188,$cond277,0)|0);
+ $390 = $21;
+ $$alloca_mul104 = $390<<2;
+ $391 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul104)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul104)|0)+15)&-16)|0);;
+ $392 = $27;
+ $393 = ($392|0)!=(0);
+ $394 = $26;
+ $395 = ($394|0)!=(1002);
+ $or$cond12 = $393 & $395;
+ if ($or$cond12) {
+ $23 = $391;
+ $396 = $7;
+ $397 = $23;
+ $398 = $34;
+ $399 = $25;
+ $400 = ($398|0)<($399|0);
+ $401 = $34;
+ $402 = $25;
+ $403 = $400 ? $401 : $402;
+ (_opus_decode_frame($396,0,0,$397,$403,0)|0);
}
- $193 = $redundancy;
- $tobool280 = ($193|0)!=(0);
- if ($tobool280) {
- $194 = $F5;
- $195 = $st$addr;
- $channels282 = ((($195)) + 8|0);
- $196 = HEAP32[$channels282>>2]|0;
- $mul283 = Math_imul($194, $196)|0;
- $cond286 = $mul283;
+ $404 = $29;
+ $405 = ($404|0)!=(0);
+ if ($405) {
+ $406 = $34;
+ $407 = $7;
+ $408 = ((($407)) + 8|0);
+ $409 = HEAP32[$408>>2]|0;
+ $410 = Math_imul($406, $409)|0;
+ $411 = $410;
} else {
- $cond286 = 1;
+ $411 = 1;
}
- $redundant_audio_size = $cond286;
- $197 = $redundant_audio_size;
- $vla287$alloca_mul = $197<<2;
- $vla287 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla287$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla287$alloca_mul)|0)+15)&-16)|0);;
- $198 = $redundancy;
- $tobool288 = ($198|0)!=(0);
- $199 = $celt_to_silk;
- $tobool290 = ($199|0)!=(0);
- $or$cond6 = $tobool288 & $tobool290;
- if ($or$cond6) {
- $200 = $celt_dec;
- HEAP32[$vararg_buffer16>>2] = 0;
- (_opus_custom_decoder_ctl($200,10010,$vararg_buffer16)|0);
- $201 = $celt_dec;
- $202 = $data$addr;
- $203 = $len$addr;
- $add$ptr293 = (($202) + ($203)|0);
- $204 = $redundancy_bytes;
- $205 = $F5;
- (_celt_decode_with_ec($201,$add$ptr293,$204,$vla287,$205,0,0)|0);
- $206 = $celt_dec;
- $sub$ptr$lhs$cast = $redundant_rng;
- $sub$ptr$rhs$cast = $redundant_rng;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $add$ptr295 = (($redundant_rng) + ($sub$ptr$div<<2)|0);
- HEAP32[$vararg_buffer19>>2] = $add$ptr295;
- (_opus_custom_decoder_ctl($206,4031,$vararg_buffer19)|0);
+ $24 = $411;
+ $412 = $24;
+ $$alloca_mul106 = $412<<2;
+ $413 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul106)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul106)|0)+15)&-16)|0);;
+ $414 = $29;
+ $415 = ($414|0)!=(0);
+ $416 = $31;
+ $417 = ($416|0)!=(0);
+ $or$cond14 = $415 & $417;
+ if ($or$cond14) {
+ $418 = $14;
+ HEAP32[$vararg_buffer30>>2] = 0;
+ (_opus_custom_decoder_ctl($418,10010,$vararg_buffer30)|0);
+ $419 = $14;
+ $420 = $8;
+ $421 = $9;
+ $422 = (($420) + ($421)|0);
+ $423 = $30;
+ $424 = $34;
+ (_celt_decode_with_ec($419,$422,$423,$413,$424,0,0)|0);
+ $425 = $14;
+ $426 = $38;
+ $427 = $38;
+ $428 = (($426) - ($427))|0;
+ $429 = (($428|0) / 4)&-1;
+ $430 = (($38) + ($429<<2)|0);
+ HEAP32[$vararg_buffer33>>2] = $430;
+ (_opus_custom_decoder_ctl($425,4031,$vararg_buffer33)|0);
}
- $207 = $celt_dec;
- $208 = $start_band;
- HEAP32[$vararg_buffer22>>2] = $208;
- (_opus_custom_decoder_ctl($207,10010,$vararg_buffer22)|0);
- $209 = $mode;
- $cmp301 = ($209|0)!=(1000);
+ $431 = $14;
+ $432 = $28;
+ HEAP32[$vararg_buffer36>>2] = $432;
+ (_opus_custom_decoder_ctl($431,10010,$vararg_buffer36)|0);
+ $433 = $26;
+ $434 = ($433|0)!=(1000);
do {
- if ($cmp301) {
- $210 = $F20;
- $211 = $frame_size$addr;
- $cmp304 = ($210|0)<($211|0);
- $212 = $F20;
- $213 = $frame_size$addr;
- $cond309 = $cmp304 ? $212 : $213;
- $celt_frame_size = $cond309;
- $214 = $mode;
- $215 = $st$addr;
- $prev_mode310 = ((($215)) + 60|0);
- $216 = HEAP32[$prev_mode310>>2]|0;
- $cmp311 = ($214|0)!=($216|0);
+ if ($434) {
+ $435 = $36;
+ $436 = $11;
+ $437 = ($435|0)<($436|0);
+ $438 = $36;
+ $439 = $11;
+ $440 = $437 ? $438 : $439;
+ $48 = $440;
+ $441 = $26;
+ $442 = $7;
+ $443 = ((($442)) + 60|0);
+ $444 = HEAP32[$443>>2]|0;
+ $445 = ($441|0)!=($444|0);
do {
- if ($cmp311) {
- $217 = $st$addr;
- $prev_mode314 = ((($217)) + 60|0);
- $218 = HEAP32[$prev_mode314>>2]|0;
- $cmp315 = ($218|0)>(0);
- if (!($cmp315)) {
+ if ($445) {
+ $446 = $7;
+ $447 = ((($446)) + 60|0);
+ $448 = HEAP32[$447>>2]|0;
+ $449 = ($448|0)>(0);
+ if (!($449)) {
break;
}
- $219 = $st$addr;
- $prev_redundancy318 = ((($219)) + 68|0);
- $220 = HEAP32[$prev_redundancy318>>2]|0;
- $tobool319 = ($220|0)!=(0);
- if ($tobool319) {
+ $450 = $7;
+ $451 = ((($450)) + 68|0);
+ $452 = HEAP32[$451>>2]|0;
+ $453 = ($452|0)!=(0);
+ if ($453) {
break;
}
- $221 = $celt_dec;
- (_opus_custom_decoder_ctl($221,4028,$vararg_buffer25)|0);
+ $454 = $14;
+ (_opus_custom_decoder_ctl($454,4028,$vararg_buffer39)|0);
}
} while(0);
- $222 = $celt_dec;
- $223 = $decode_fec$addr;
- $tobool323 = ($223|0)!=(0);
- $224 = $data$addr;
- $cond327 = $tobool323 ? 0 : $224;
- $225 = $len$addr;
- $226 = $pcm$addr;
- $227 = $celt_frame_size;
- $228 = $celt_accum;
- $call328 = (_celt_decode_with_ec($222,$cond327,$225,$226,$227,$dec,$228)|0);
- $celt_ret = $call328;
+ $455 = $14;
+ $456 = $12;
+ $457 = ($456|0)!=(0);
+ $458 = $8;
+ $459 = $457 ? 0 : $458;
+ $460 = $9;
+ $461 = $10;
+ $462 = $48;
+ $463 = $39;
+ $464 = (_celt_decode_with_ec($455,$459,$460,$461,$462,$18,$463)|0);
+ $17 = $464;
} else {
- ;HEAP8[$silence>>0]=HEAP8[25784>>0]|0;HEAP8[$silence+1>>0]=HEAP8[25784+1>>0]|0;
- $229 = $celt_accum;
- $tobool330 = ($229|0)!=(0);
+ ;HEAP8[$49>>0]=HEAP8[25818>>0]|0;HEAP8[$49+1>>0]=HEAP8[25818+1>>0]|0;
+ $465 = $39;
+ $466 = ($465|0)!=(0);
L139: do {
- if (!($tobool330)) {
- $i = 0;
+ if (!($466)) {
+ $15 = 0;
while(1) {
- $230 = $i;
- $231 = $frame_size$addr;
- $232 = $st$addr;
- $channels333 = ((($232)) + 8|0);
- $233 = HEAP32[$channels333>>2]|0;
- $mul334 = Math_imul($231, $233)|0;
- $cmp335 = ($230|0)<($mul334|0);
- if (!($cmp335)) {
+ $467 = $15;
+ $468 = $11;
+ $469 = $7;
+ $470 = ((($469)) + 8|0);
+ $471 = HEAP32[$470>>2]|0;
+ $472 = Math_imul($468, $471)|0;
+ $473 = ($467|0)<($472|0);
+ if (!($473)) {
break L139;
}
- $234 = $pcm$addr;
- $235 = $i;
- $arrayidx338 = (($234) + ($235<<2)|0);
- HEAPF32[$arrayidx338>>2] = 0.0;
- $236 = $i;
- $inc340 = (($236) + 1)|0;
- $i = $inc340;
+ $474 = $10;
+ $475 = $15;
+ $476 = (($474) + ($475<<2)|0);
+ HEAPF32[$476>>2] = 0.0;
+ $477 = $15;
+ $478 = (($477) + 1)|0;
+ $15 = $478;
}
}
} while(0);
- $237 = $st$addr;
- $prev_mode343 = ((($237)) + 60|0);
- $238 = HEAP32[$prev_mode343>>2]|0;
- $cmp344 = ($238|0)==(1001);
- if ($cmp344) {
- $239 = $redundancy;
- $tobool347 = ($239|0)!=(0);
- $240 = $celt_to_silk;
- $tobool349 = ($240|0)!=(0);
- $or$cond7 = $tobool347 & $tobool349;
- if ($or$cond7) {
- $241 = $st$addr;
- $prev_redundancy351 = ((($241)) + 68|0);
- $242 = HEAP32[$prev_redundancy351>>2]|0;
- $tobool352 = ($242|0)!=(0);
- if ($tobool352) {
+ $479 = $7;
+ $480 = ((($479)) + 60|0);
+ $481 = HEAP32[$480>>2]|0;
+ $482 = ($481|0)==(1001);
+ if ($482) {
+ $483 = $29;
+ $484 = ($483|0)!=(0);
+ $485 = $31;
+ $486 = ($485|0)!=(0);
+ $or$cond16 = $484 & $486;
+ if ($or$cond16) {
+ $487 = $7;
+ $488 = ((($487)) + 68|0);
+ $489 = HEAP32[$488>>2]|0;
+ $490 = ($489|0)!=(0);
+ if ($490) {
break;
}
}
- $243 = $celt_dec;
- HEAP32[$vararg_buffer27>>2] = 0;
- (_opus_custom_decoder_ctl($243,10010,$vararg_buffer27)|0);
- $244 = $celt_dec;
- $245 = $pcm$addr;
- $246 = $F2_5;
- $247 = $celt_accum;
- (_celt_decode_with_ec($244,$silence,2,$245,$246,0,$247)|0);
+ $491 = $14;
+ HEAP32[$vararg_buffer41>>2] = 0;
+ (_opus_custom_decoder_ctl($491,10010,$vararg_buffer41)|0);
+ $492 = $14;
+ $493 = $10;
+ $494 = $33;
+ $495 = $39;
+ (_celt_decode_with_ec($492,$49,2,$493,$494,0,$495)|0);
}
}
} while(0);
- $248 = $mode;
- $cmp358 = ($248|0)==(1002);
- $249 = $celt_accum;
- $tobool361 = ($249|0)!=(0);
- $or$cond8 = $cmp358 | $tobool361;
+ $496 = $26;
+ $497 = ($496|0)==(1002);
+ $498 = $39;
+ $499 = ($498|0)!=(0);
+ $or$cond18 = $497 | $499;
L150: do {
- if (!($or$cond8)) {
- $i = 0;
+ if (!($or$cond18)) {
+ $15 = 0;
while(1) {
- $250 = $i;
- $251 = $frame_size$addr;
- $252 = $st$addr;
- $channels364 = ((($252)) + 8|0);
- $253 = HEAP32[$channels364>>2]|0;
- $mul365 = Math_imul($251, $253)|0;
- $cmp366 = ($250|0)<($mul365|0);
- if (!($cmp366)) {
+ $500 = $15;
+ $501 = $11;
+ $502 = $7;
+ $503 = ((($502)) + 8|0);
+ $504 = HEAP32[$503>>2]|0;
+ $505 = Math_imul($501, $504)|0;
+ $506 = ($500|0)<($505|0);
+ if (!($506)) {
break L150;
}
- $254 = $pcm$addr;
- $255 = $i;
- $arrayidx369 = (($254) + ($255<<2)|0);
- $256 = +HEAPF32[$arrayidx369>>2];
- $257 = $i;
- $arrayidx370 = (($vla112) + ($257<<1)|0);
- $258 = HEAP16[$arrayidx370>>1]|0;
- $conv371 = $258 << 16 >> 16;
- $conv372 = (+($conv371|0));
- $mul373 = 3.0517578125E-5 * $conv372;
- $add374 = $256 + $mul373;
- $259 = $pcm$addr;
- $260 = $i;
- $arrayidx375 = (($259) + ($260<<2)|0);
- HEAPF32[$arrayidx375>>2] = $add374;
- $261 = $i;
- $inc377 = (($261) + 1)|0;
- $i = $inc377;
+ $507 = $10;
+ $508 = $15;
+ $509 = (($507) + ($508<<2)|0);
+ $510 = +HEAPF32[$509>>2];
+ $511 = $15;
+ $512 = (($237) + ($511<<1)|0);
+ $513 = HEAP16[$512>>1]|0;
+ $514 = $513 << 16 >> 16;
+ $515 = (+($514|0));
+ $516 = 3.0517578125E-5 * $515;
+ $517 = $510 + $516;
+ $518 = $10;
+ $519 = $15;
+ $520 = (($518) + ($519<<2)|0);
+ HEAPF32[$520>>2] = $517;
+ $521 = $15;
+ $522 = (($521) + 1)|0;
+ $15 = $522;
}
}
} while(0);
- $262 = $celt_dec;
- $sub$ptr$lhs$cast380 = $celt_mode;
- $sub$ptr$rhs$cast381 = $celt_mode;
- $sub$ptr$sub382 = (($sub$ptr$lhs$cast380) - ($sub$ptr$rhs$cast381))|0;
- $sub$ptr$div383 = (($sub$ptr$sub382|0) / 4)&-1;
- $add$ptr384 = (($celt_mode) + ($sub$ptr$div383<<2)|0);
- HEAP32[$vararg_buffer30>>2] = $add$ptr384;
- (_opus_custom_decoder_ctl($262,10015,$vararg_buffer30)|0);
- $263 = HEAP32[$celt_mode>>2]|0;
- $window386 = ((($263)) + 60|0);
- $264 = HEAP32[$window386>>2]|0;
- $window = $264;
- $265 = $redundancy;
- $tobool387 = ($265|0)==(0);
- $266 = $celt_to_silk;
- $tobool389 = ($266|0)!=(0);
- $or$cond9 = $tobool387 | $tobool389;
- if (!($or$cond9)) {
- $267 = $celt_dec;
- (_opus_custom_decoder_ctl($267,4028,$vararg_buffer33)|0);
- $268 = $celt_dec;
- HEAP32[$vararg_buffer35>>2] = 0;
- (_opus_custom_decoder_ctl($268,10010,$vararg_buffer35)|0);
- $269 = $celt_dec;
- $270 = $data$addr;
- $271 = $len$addr;
- $add$ptr393 = (($270) + ($271)|0);
- $272 = $redundancy_bytes;
- $273 = $F5;
- (_celt_decode_with_ec($269,$add$ptr393,$272,$vla287,$273,0,0)|0);
- $274 = $celt_dec;
- $sub$ptr$lhs$cast395 = $redundant_rng;
- $sub$ptr$rhs$cast396 = $redundant_rng;
- $sub$ptr$sub397 = (($sub$ptr$lhs$cast395) - ($sub$ptr$rhs$cast396))|0;
- $sub$ptr$div398 = (($sub$ptr$sub397|0) / 4)&-1;
- $add$ptr399 = (($redundant_rng) + ($sub$ptr$div398<<2)|0);
- HEAP32[$vararg_buffer38>>2] = $add$ptr399;
- (_opus_custom_decoder_ctl($274,4031,$vararg_buffer38)|0);
- $275 = $pcm$addr;
- $276 = $st$addr;
- $channels401 = ((($276)) + 8|0);
- $277 = HEAP32[$channels401>>2]|0;
- $278 = $frame_size$addr;
- $279 = $F2_5;
- $sub402 = (($278) - ($279))|0;
- $mul403 = Math_imul($277, $sub402)|0;
- $add$ptr404 = (($275) + ($mul403<<2)|0);
- $280 = $st$addr;
- $channels405 = ((($280)) + 8|0);
- $281 = HEAP32[$channels405>>2]|0;
- $282 = $F2_5;
- $mul406 = Math_imul($281, $282)|0;
- $add$ptr407 = (($vla287) + ($mul406<<2)|0);
- $283 = $pcm$addr;
- $284 = $st$addr;
- $channels408 = ((($284)) + 8|0);
- $285 = HEAP32[$channels408>>2]|0;
- $286 = $frame_size$addr;
- $287 = $F2_5;
- $sub409 = (($286) - ($287))|0;
- $mul410 = Math_imul($285, $sub409)|0;
- $add$ptr411 = (($283) + ($mul410<<2)|0);
- $288 = $F2_5;
- $289 = $st$addr;
- $channels412 = ((($289)) + 8|0);
- $290 = HEAP32[$channels412>>2]|0;
- $291 = $window;
- $292 = $st$addr;
- $Fs413 = ((($292)) + 12|0);
- $293 = HEAP32[$Fs413>>2]|0;
- _smooth_fade($add$ptr404,$add$ptr407,$add$ptr411,$288,$290,$291,$293);
+ $523 = $14;
+ $524 = $50;
+ $525 = $50;
+ $526 = (($524) - ($525))|0;
+ $527 = (($526|0) / 4)&-1;
+ $528 = (($50) + ($527<<2)|0);
+ HEAP32[$vararg_buffer44>>2] = $528;
+ (_opus_custom_decoder_ctl($523,10015,$vararg_buffer44)|0);
+ $529 = HEAP32[$50>>2]|0;
+ $530 = ((($529)) + 60|0);
+ $531 = HEAP32[$530>>2]|0;
+ $37 = $531;
+ $532 = $29;
+ $533 = ($532|0)==(0);
+ $534 = $31;
+ $535 = ($534|0)!=(0);
+ $or$cond20 = $533 | $535;
+ if (!($or$cond20)) {
+ $536 = $14;
+ (_opus_custom_decoder_ctl($536,4028,$vararg_buffer47)|0);
+ $537 = $14;
+ HEAP32[$vararg_buffer49>>2] = 0;
+ (_opus_custom_decoder_ctl($537,10010,$vararg_buffer49)|0);
+ $538 = $14;
+ $539 = $8;
+ $540 = $9;
+ $541 = (($539) + ($540)|0);
+ $542 = $30;
+ $543 = $34;
+ (_celt_decode_with_ec($538,$541,$542,$413,$543,0,0)|0);
+ $544 = $14;
+ $545 = $38;
+ $546 = $38;
+ $547 = (($545) - ($546))|0;
+ $548 = (($547|0) / 4)&-1;
+ $549 = (($38) + ($548<<2)|0);
+ HEAP32[$vararg_buffer52>>2] = $549;
+ (_opus_custom_decoder_ctl($544,4031,$vararg_buffer52)|0);
+ $550 = $10;
+ $551 = $7;
+ $552 = ((($551)) + 8|0);
+ $553 = HEAP32[$552>>2]|0;
+ $554 = $11;
+ $555 = $33;
+ $556 = (($554) - ($555))|0;
+ $557 = Math_imul($553, $556)|0;
+ $558 = (($550) + ($557<<2)|0);
+ $559 = $7;
+ $560 = ((($559)) + 8|0);
+ $561 = HEAP32[$560>>2]|0;
+ $562 = $33;
+ $563 = Math_imul($561, $562)|0;
+ $564 = (($413) + ($563<<2)|0);
+ $565 = $10;
+ $566 = $7;
+ $567 = ((($566)) + 8|0);
+ $568 = HEAP32[$567>>2]|0;
+ $569 = $11;
+ $570 = $33;
+ $571 = (($569) - ($570))|0;
+ $572 = Math_imul($568, $571)|0;
+ $573 = (($565) + ($572<<2)|0);
+ $574 = $33;
+ $575 = $7;
+ $576 = ((($575)) + 8|0);
+ $577 = HEAP32[$576>>2]|0;
+ $578 = $37;
+ $579 = $7;
+ $580 = ((($579)) + 12|0);
+ $581 = HEAP32[$580>>2]|0;
+ _smooth_fade($558,$564,$573,$574,$577,$578,$581);
}
- $294 = $redundancy;
- $tobool415 = ($294|0)!=(0);
- $295 = $celt_to_silk;
- $tobool417 = ($295|0)!=(0);
- $or$cond10 = $tobool415 & $tobool417;
- if ($or$cond10) {
- $c = 0;
+ $582 = $29;
+ $583 = ($582|0)!=(0);
+ $584 = $31;
+ $585 = ($584|0)!=(0);
+ $or$cond22 = $583 & $585;
+ if ($or$cond22) {
+ $32 = 0;
while(1) {
- $296 = $c;
- $297 = $st$addr;
- $channels420 = ((($297)) + 8|0);
- $298 = HEAP32[$channels420>>2]|0;
- $cmp421 = ($296|0)<($298|0);
- if (!($cmp421)) {
+ $586 = $32;
+ $587 = $7;
+ $588 = ((($587)) + 8|0);
+ $589 = HEAP32[$588>>2]|0;
+ $590 = ($586|0)<($589|0);
+ if (!($590)) {
break;
}
- $i = 0;
+ $15 = 0;
while(1) {
- $299 = $i;
- $300 = $F2_5;
- $cmp425 = ($299|0)<($300|0);
- if (!($cmp425)) {
+ $591 = $15;
+ $592 = $33;
+ $593 = ($591|0)<($592|0);
+ if (!($593)) {
break;
}
- $301 = $st$addr;
- $channels428 = ((($301)) + 8|0);
- $302 = HEAP32[$channels428>>2]|0;
- $303 = $i;
- $mul429 = Math_imul($302, $303)|0;
- $304 = $c;
- $add430 = (($mul429) + ($304))|0;
- $arrayidx431 = (($vla287) + ($add430<<2)|0);
- $305 = +HEAPF32[$arrayidx431>>2];
- $306 = $pcm$addr;
- $307 = $st$addr;
- $channels432 = ((($307)) + 8|0);
- $308 = HEAP32[$channels432>>2]|0;
- $309 = $i;
- $mul433 = Math_imul($308, $309)|0;
- $310 = $c;
- $add434 = (($mul433) + ($310))|0;
- $arrayidx435 = (($306) + ($add434<<2)|0);
- HEAPF32[$arrayidx435>>2] = $305;
- $311 = $i;
- $inc437 = (($311) + 1)|0;
- $i = $inc437;
+ $594 = $7;
+ $595 = ((($594)) + 8|0);
+ $596 = HEAP32[$595>>2]|0;
+ $597 = $15;
+ $598 = Math_imul($596, $597)|0;
+ $599 = $32;
+ $600 = (($598) + ($599))|0;
+ $601 = (($413) + ($600<<2)|0);
+ $602 = +HEAPF32[$601>>2];
+ $603 = $10;
+ $604 = $7;
+ $605 = ((($604)) + 8|0);
+ $606 = HEAP32[$605>>2]|0;
+ $607 = $15;
+ $608 = Math_imul($606, $607)|0;
+ $609 = $32;
+ $610 = (($608) + ($609))|0;
+ $611 = (($603) + ($610<<2)|0);
+ HEAPF32[$611>>2] = $602;
+ $612 = $15;
+ $613 = (($612) + 1)|0;
+ $15 = $613;
}
- $312 = $c;
- $inc440 = (($312) + 1)|0;
- $c = $inc440;
+ $614 = $32;
+ $615 = (($614) + 1)|0;
+ $32 = $615;
}
- $313 = $st$addr;
- $channels442 = ((($313)) + 8|0);
- $314 = HEAP32[$channels442>>2]|0;
- $315 = $F2_5;
- $mul443 = Math_imul($314, $315)|0;
- $add$ptr444 = (($vla287) + ($mul443<<2)|0);
- $316 = $pcm$addr;
- $317 = $st$addr;
- $channels445 = ((($317)) + 8|0);
- $318 = HEAP32[$channels445>>2]|0;
- $319 = $F2_5;
- $mul446 = Math_imul($318, $319)|0;
- $add$ptr447 = (($316) + ($mul446<<2)|0);
- $320 = $pcm$addr;
- $321 = $st$addr;
- $channels448 = ((($321)) + 8|0);
- $322 = HEAP32[$channels448>>2]|0;
- $323 = $F2_5;
- $mul449 = Math_imul($322, $323)|0;
- $add$ptr450 = (($320) + ($mul449<<2)|0);
- $324 = $F2_5;
- $325 = $st$addr;
- $channels451 = ((($325)) + 8|0);
- $326 = HEAP32[$channels451>>2]|0;
- $327 = $window;
- $328 = $st$addr;
- $Fs452 = ((($328)) + 12|0);
- $329 = HEAP32[$Fs452>>2]|0;
- _smooth_fade($add$ptr444,$add$ptr447,$add$ptr450,$324,$326,$327,$329);
+ $616 = $7;
+ $617 = ((($616)) + 8|0);
+ $618 = HEAP32[$617>>2]|0;
+ $619 = $33;
+ $620 = Math_imul($618, $619)|0;
+ $621 = (($413) + ($620<<2)|0);
+ $622 = $10;
+ $623 = $7;
+ $624 = ((($623)) + 8|0);
+ $625 = HEAP32[$624>>2]|0;
+ $626 = $33;
+ $627 = Math_imul($625, $626)|0;
+ $628 = (($622) + ($627<<2)|0);
+ $629 = $10;
+ $630 = $7;
+ $631 = ((($630)) + 8|0);
+ $632 = HEAP32[$631>>2]|0;
+ $633 = $33;
+ $634 = Math_imul($632, $633)|0;
+ $635 = (($629) + ($634<<2)|0);
+ $636 = $33;
+ $637 = $7;
+ $638 = ((($637)) + 8|0);
+ $639 = HEAP32[$638>>2]|0;
+ $640 = $37;
+ $641 = $7;
+ $642 = ((($641)) + 12|0);
+ $643 = HEAP32[$642>>2]|0;
+ _smooth_fade($621,$628,$635,$636,$639,$640,$643);
}
- $330 = $transition;
- $tobool454 = ($330|0)!=(0);
+ $644 = $27;
+ $645 = ($644|0)!=(0);
do {
- if ($tobool454) {
- $331 = $audiosize;
- $332 = $F5;
- $cmp456 = ($331|0)>=($332|0);
- if (!($cmp456)) {
- $360 = $pcm_transition;
- $361 = $pcm$addr;
- $362 = $pcm$addr;
- $363 = $F2_5;
- $364 = $st$addr;
- $channels482 = ((($364)) + 8|0);
- $365 = HEAP32[$channels482>>2]|0;
- $366 = $window;
- $367 = $st$addr;
- $Fs483 = ((($367)) + 12|0);
- $368 = HEAP32[$Fs483>>2]|0;
- _smooth_fade($360,$361,$362,$363,$365,$366,$368);
+ if ($645) {
+ $646 = $25;
+ $647 = $34;
+ $648 = ($646|0)>=($647|0);
+ if (!($648)) {
+ $693 = $23;
+ $694 = $10;
+ $695 = $10;
+ $696 = $33;
+ $697 = $7;
+ $698 = ((($697)) + 8|0);
+ $699 = HEAP32[$698>>2]|0;
+ $700 = $37;
+ $701 = $7;
+ $702 = ((($701)) + 12|0);
+ $703 = HEAP32[$702>>2]|0;
+ _smooth_fade($693,$694,$695,$696,$699,$700,$703);
break;
}
- $i = 0;
+ $15 = 0;
while(1) {
- $333 = $i;
- $334 = $st$addr;
- $channels460 = ((($334)) + 8|0);
- $335 = HEAP32[$channels460>>2]|0;
- $336 = $F2_5;
- $mul461 = Math_imul($335, $336)|0;
- $cmp462 = ($333|0)<($mul461|0);
- $337 = $pcm_transition;
- if (!($cmp462)) {
+ $649 = $15;
+ $650 = $7;
+ $651 = ((($650)) + 8|0);
+ $652 = HEAP32[$651>>2]|0;
+ $653 = $33;
+ $654 = Math_imul($652, $653)|0;
+ $655 = ($649|0)<($654|0);
+ $656 = $23;
+ if (!($655)) {
break;
}
- $338 = $i;
- $arrayidx465 = (($337) + ($338<<2)|0);
- $339 = +HEAPF32[$arrayidx465>>2];
- $340 = $pcm$addr;
- $341 = $i;
- $arrayidx466 = (($340) + ($341<<2)|0);
- HEAPF32[$arrayidx466>>2] = $339;
- $342 = $i;
- $inc468 = (($342) + 1)|0;
- $i = $inc468;
+ $657 = $15;
+ $658 = (($656) + ($657<<2)|0);
+ $659 = +HEAPF32[$658>>2];
+ $660 = $10;
+ $661 = $15;
+ $662 = (($660) + ($661<<2)|0);
+ HEAPF32[$662>>2] = $659;
+ $663 = $15;
+ $664 = (($663) + 1)|0;
+ $15 = $664;
}
- $343 = $st$addr;
- $channels470 = ((($343)) + 8|0);
- $344 = HEAP32[$channels470>>2]|0;
- $345 = $F2_5;
- $mul471 = Math_imul($344, $345)|0;
- $add$ptr472 = (($337) + ($mul471<<2)|0);
- $346 = $pcm$addr;
- $347 = $st$addr;
- $channels473 = ((($347)) + 8|0);
- $348 = HEAP32[$channels473>>2]|0;
- $349 = $F2_5;
- $mul474 = Math_imul($348, $349)|0;
- $add$ptr475 = (($346) + ($mul474<<2)|0);
- $350 = $pcm$addr;
- $351 = $st$addr;
- $channels476 = ((($351)) + 8|0);
- $352 = HEAP32[$channels476>>2]|0;
- $353 = $F2_5;
- $mul477 = Math_imul($352, $353)|0;
- $add$ptr478 = (($350) + ($mul477<<2)|0);
- $354 = $F2_5;
- $355 = $st$addr;
- $channels479 = ((($355)) + 8|0);
- $356 = HEAP32[$channels479>>2]|0;
- $357 = $window;
- $358 = $st$addr;
- $Fs480 = ((($358)) + 12|0);
- $359 = HEAP32[$Fs480>>2]|0;
- _smooth_fade($add$ptr472,$add$ptr475,$add$ptr478,$354,$356,$357,$359);
+ $665 = $7;
+ $666 = ((($665)) + 8|0);
+ $667 = HEAP32[$666>>2]|0;
+ $668 = $33;
+ $669 = Math_imul($667, $668)|0;
+ $670 = (($656) + ($669<<2)|0);
+ $671 = $10;
+ $672 = $7;
+ $673 = ((($672)) + 8|0);
+ $674 = HEAP32[$673>>2]|0;
+ $675 = $33;
+ $676 = Math_imul($674, $675)|0;
+ $677 = (($671) + ($676<<2)|0);
+ $678 = $10;
+ $679 = $7;
+ $680 = ((($679)) + 8|0);
+ $681 = HEAP32[$680>>2]|0;
+ $682 = $33;
+ $683 = Math_imul($681, $682)|0;
+ $684 = (($678) + ($683<<2)|0);
+ $685 = $33;
+ $686 = $7;
+ $687 = ((($686)) + 8|0);
+ $688 = HEAP32[$687>>2]|0;
+ $689 = $37;
+ $690 = $7;
+ $691 = ((($690)) + 12|0);
+ $692 = HEAP32[$691>>2]|0;
+ _smooth_fade($670,$677,$684,$685,$688,$689,$692);
}
} while(0);
- $369 = $st$addr;
- $decode_gain = ((($369)) + 40|0);
- $370 = HEAP32[$decode_gain>>2]|0;
- $tobool486 = ($370|0)!=(0);
+ $704 = $7;
+ $705 = ((($704)) + 40|0);
+ $706 = HEAP32[$705>>2]|0;
+ $707 = ($706|0)!=(0);
L180: do {
- if ($tobool486) {
- $371 = $st$addr;
- $decode_gain488 = ((($371)) + 40|0);
- $372 = HEAP32[$decode_gain488>>2]|0;
- $conv489 = (+($372|0));
- $mul490 = 6.4881407888606191E-4 * $conv489;
- $conv491 = $mul490;
- $mul492 = 0.69314718055994529 * $conv491;
- $call493 = (+Math_exp((+$mul492)));
- $conv494 = $call493;
- $gain = $conv494;
- $i = 0;
+ if ($707) {
+ $708 = $7;
+ $709 = ((($708)) + 40|0);
+ $710 = HEAP32[$709>>2]|0;
+ $711 = (+($710|0));
+ $712 = 6.4881407888606191E-4 * $711;
+ $713 = $712;
+ $714 = 0.69314718055994529 * $713;
+ $715 = (+Math_exp((+$714)));
+ $716 = $715;
+ $51 = $716;
+ $15 = 0;
while(1) {
- $373 = $i;
- $374 = $frame_size$addr;
- $375 = $st$addr;
- $channels496 = ((($375)) + 8|0);
- $376 = HEAP32[$channels496>>2]|0;
- $mul497 = Math_imul($374, $376)|0;
- $cmp498 = ($373|0)<($mul497|0);
- if (!($cmp498)) {
+ $717 = $15;
+ $718 = $11;
+ $719 = $7;
+ $720 = ((($719)) + 8|0);
+ $721 = HEAP32[$720>>2]|0;
+ $722 = Math_imul($718, $721)|0;
+ $723 = ($717|0)<($722|0);
+ if (!($723)) {
break L180;
}
- $377 = $pcm$addr;
- $378 = $i;
- $arrayidx501 = (($377) + ($378<<2)|0);
- $379 = +HEAPF32[$arrayidx501>>2];
- $380 = $gain;
- $mul502 = $379 * $380;
- $x = $mul502;
- $381 = $x;
- $382 = $pcm$addr;
- $383 = $i;
- $arrayidx503 = (($382) + ($383<<2)|0);
- HEAPF32[$arrayidx503>>2] = $381;
- $384 = $i;
- $inc505 = (($384) + 1)|0;
- $i = $inc505;
+ $724 = $10;
+ $725 = $15;
+ $726 = (($724) + ($725<<2)|0);
+ $727 = +HEAPF32[$726>>2];
+ $728 = $51;
+ $729 = $727 * $728;
+ $52 = $729;
+ $730 = $52;
+ $731 = $10;
+ $732 = $15;
+ $733 = (($731) + ($732<<2)|0);
+ HEAPF32[$733>>2] = $730;
+ $734 = $15;
+ $735 = (($734) + 1)|0;
+ $15 = $735;
}
}
} while(0);
- $385 = $len$addr;
- $cmp508 = ($385|0)<=(1);
- if ($cmp508) {
- $386 = $st$addr;
- $$sink11 = $386;$xor$sink = 0;
+ $736 = $9;
+ $737 = ($736|0)<=(1);
+ if ($737) {
+ $738 = $7;
+ $$sink23 = 0;$$sink25 = $738;
} else {
- $rng = ((($dec)) + 28|0);
- $387 = HEAP32[$rng>>2]|0;
- $388 = HEAP32[$redundant_rng>>2]|0;
- $xor = $387 ^ $388;
- $389 = $st$addr;
- $$sink11 = $389;$xor$sink = $xor;
+ $739 = ((($18)) + 28|0);
+ $740 = HEAP32[$739>>2]|0;
+ $741 = HEAP32[$38>>2]|0;
+ $742 = $740 ^ $741;
+ $743 = $7;
+ $$sink23 = $742;$$sink25 = $743;
}
- $rangeFinal512 = ((($$sink11)) + 84|0);
- HEAP32[$rangeFinal512>>2] = $xor$sink;
- $390 = $mode;
- $391 = $st$addr;
- $prev_mode514 = ((($391)) + 60|0);
- HEAP32[$prev_mode514>>2] = $390;
- $392 = $redundancy;
- $tobool515 = ($392|0)!=(0);
- if ($tobool515) {
- $393 = $celt_to_silk;
- $tobool516 = ($393|0)!=(0);
- $lnot = $tobool516 ^ 1;
- $394 = $lnot;
+ $744 = ((($$sink25)) + 84|0);
+ HEAP32[$744>>2] = $$sink23;
+ $745 = $26;
+ $746 = $7;
+ $747 = ((($746)) + 60|0);
+ HEAP32[$747>>2] = $745;
+ $748 = $29;
+ $749 = ($748|0)!=(0);
+ if ($749) {
+ $750 = $31;
+ $751 = ($750|0)!=(0);
+ $752 = $751 ^ 1;
+ $754 = $752;
} else {
- $394 = 0;
+ $754 = 0;
}
- $land$ext = $394&1;
- $395 = $st$addr;
- $prev_redundancy517 = ((($395)) + 68|0);
- HEAP32[$prev_redundancy517>>2] = $land$ext;
- $396 = $celt_ret;
- $cmp518 = ($396|0)>=(0);
- if ($cmp518) {
+ $753 = $754&1;
+ $755 = $7;
+ $756 = ((($755)) + 68|0);
+ HEAP32[$756>>2] = $753;
+ $757 = $17;
+ $758 = ($757|0)>=(0);
+ if ($758) {
(__opus_false()|0);
}
- $397 = $celt_ret;
- $cmp529 = ($397|0)<(0);
- $398 = $celt_ret;
- $399 = $audiosize;
- $cond534 = $cmp529 ? $398 : $399;
- $retval = $cond534;
- $cleanup$dest$slot = 1;
+ $759 = $17;
+ $760 = ($759|0)<(0);
+ $761 = $17;
+ $762 = $25;
+ $763 = $760 ? $761 : $762;
+ $6 = $763;
+ $42 = 1;
}
} while(0);
- $400 = $saved_stack;
- _llvm_stackrestore(($400|0));
- $401 = $retval;
- STACKTOP = sp;return ($401|0);
+ $764 = $41;
+ _llvm_stackrestore(($764|0));
+ $765 = $6;
+ STACKTOP = sp;return ($765|0);
}
function __opus_false() {
var label = 0, sp = 0;
sp = STACKTOP;
return 0;
}
-function _opus_packet_get_mode($data) {
- $data = $data|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $and = 0, $and3 = 0, $cmp = 0, $conv = 0, $conv2 = 0, $data$addr = 0, $mode = 0, $tobool = 0, label = 0, sp = 0;
+function _opus_packet_get_mode($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $data$addr = $data;
- $0 = $data$addr;
- $1 = HEAP8[$0>>0]|0;
- $conv = $1&255;
- $and = $conv & 128;
- $tobool = ($and|0)!=(0);
+ $1 = $0;
+ $3 = $1;
+ $4 = HEAP8[$3>>0]|0;
+ $5 = $4&255;
+ $6 = $5 & 128;
+ $7 = ($6|0)!=(0);
do {
- if ($tobool) {
- $mode = 1002;
+ if ($7) {
+ $2 = 1002;
} else {
- $2 = $data$addr;
- $3 = HEAP8[$2>>0]|0;
- $conv2 = $3&255;
- $and3 = $conv2 & 96;
- $cmp = ($and3|0)==(96);
- if ($cmp) {
- $mode = 1001;
+ $8 = $1;
+ $9 = HEAP8[$8>>0]|0;
+ $10 = $9&255;
+ $11 = $10 & 96;
+ $12 = ($11|0)==(96);
+ if ($12) {
+ $2 = 1001;
break;
} else {
- $mode = 1000;
+ $2 = 1000;
break;
}
}
} while(0);
- $4 = $mode;
- STACKTOP = sp;return ($4|0);
+ $13 = $2;
+ STACKTOP = sp;return ($13|0);
}
-function _opus_packet_get_bandwidth($data) {
- $data = $data|0;
- var $$add = 0, $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $add = 0, $add21 = 0, $and = 0, $and14 = 0, $and20 = 0, $and3 = 0, $and8 = 0, $bandwidth = 0, $cmp = 0, $cmp9 = 0, $cond = 0;
- var $conv = 0, $conv13 = 0, $conv2 = 0, $data$addr = 0, $shr = 0, $shr19 = 0, $tobool = 0, $tobool15 = 0, label = 0, sp = 0;
+function _opus_packet_get_bandwidth($0) {
+ $0 = $0|0;
+ var $$ = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
+ var $27 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $data$addr = $data;
- $0 = $data$addr;
- $1 = HEAP8[$0>>0]|0;
- $conv = $1&255;
- $and = $conv & 128;
- $tobool = ($and|0)!=(0);
- $2 = $data$addr;
- $3 = HEAP8[$2>>0]|0;
- $conv2 = $3&255;
- if ($tobool) {
- $shr = $conv2 >> 5;
- $and3 = $shr & 3;
- $add = (1102 + ($and3))|0;
- $bandwidth = $add;
- $4 = $bandwidth;
- $cmp = ($4|0)==(1102);
- $$add = $cmp ? 1101 : $add;
- $bandwidth = $$add;
- $7 = $bandwidth;
- STACKTOP = sp;return ($7|0);
+ $1 = $0;
+ $3 = $1;
+ $4 = HEAP8[$3>>0]|0;
+ $5 = $4&255;
+ $6 = $5 & 128;
+ $7 = ($6|0)!=(0);
+ $8 = $1;
+ $9 = HEAP8[$8>>0]|0;
+ $10 = $9&255;
+ if ($7) {
+ $11 = $10 >> 5;
+ $12 = $11 & 3;
+ $13 = (1102 + ($12))|0;
+ $2 = $13;
+ $14 = $2;
+ $15 = ($14|0)==(1102);
+ $$ = $15 ? 1101 : $13;
+ $2 = $$;
+ $27 = $2;
+ STACKTOP = sp;return ($27|0);
}
- $and8 = $conv2 & 96;
- $cmp9 = ($and8|0)==(96);
- $5 = $data$addr;
- $6 = HEAP8[$5>>0]|0;
- $conv13 = $6&255;
- if ($cmp9) {
- $and14 = $conv13 & 16;
- $tobool15 = ($and14|0)!=(0);
- $cond = $tobool15 ? 1105 : 1104;
- $bandwidth = $cond;
- $7 = $bandwidth;
- STACKTOP = sp;return ($7|0);
+ $16 = $10 & 96;
+ $17 = ($16|0)==(96);
+ $18 = $1;
+ $19 = HEAP8[$18>>0]|0;
+ $20 = $19&255;
+ if ($17) {
+ $21 = $20 & 16;
+ $22 = ($21|0)!=(0);
+ $23 = $22 ? 1105 : 1104;
+ $2 = $23;
+ $27 = $2;
+ STACKTOP = sp;return ($27|0);
} else {
- $shr19 = $conv13 >> 5;
- $and20 = $shr19 & 3;
- $add21 = (1101 + ($and20))|0;
- $bandwidth = $add21;
- $7 = $bandwidth;
- STACKTOP = sp;return ($7|0);
+ $24 = $20 >> 5;
+ $25 = $24 & 3;
+ $26 = (1101 + ($25))|0;
+ $2 = $26;
+ $27 = $2;
+ STACKTOP = sp;return ($27|0);
}
return (0)|0;
}
-function _opus_packet_get_nb_channels($data) {
- $data = $data|0;
- var $0 = 0, $1 = 0, $and = 0, $cond = 0, $conv = 0, $data$addr = 0, $tobool = 0, label = 0, sp = 0;
+function _opus_packet_get_nb_channels($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $data$addr = $data;
- $0 = $data$addr;
- $1 = HEAP8[$0>>0]|0;
- $conv = $1&255;
- $and = $conv & 4;
- $tobool = ($and|0)!=(0);
- $cond = $tobool ? 2 : 1;
- STACKTOP = sp;return ($cond|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = HEAP8[$2>>0]|0;
+ $4 = $3&255;
+ $5 = $4 & 4;
+ $6 = ($5|0)!=(0);
+ $7 = $6 ? 2 : 1;
+ STACKTOP = sp;return ($7|0);
}
-function _ec_tell($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $_this$addr = 0, $nbits_total = 0, $rng = 0, $sub = 0, $sub1 = 0, label = 0, sp = 0;
+function _ec_tell($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $nbits_total = ((($0)) + 20|0);
- $1 = HEAP32[$nbits_total>>2]|0;
- $2 = $_this$addr;
- $rng = ((($2)) + 28|0);
- $3 = HEAP32[$rng>>2]|0;
- $4 = (Math_clz32(($3|0))|0);
- $sub = (32 - ($4))|0;
- $sub1 = (($1) - ($sub))|0;
- STACKTOP = sp;return ($sub1|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 20|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (Math_clz32(($7|0))|0);
+ $9 = (32 - ($8))|0;
+ $10 = (($4) - ($9))|0;
+ STACKTOP = sp;return ($10|0);
}
-function _smooth_fade($in1,$in2,$out,$overlap,$channels,$window,$Fs) {
- $in1 = $in1|0;
- $in2 = $in2|0;
- $out = $out|0;
- $overlap = $overlap|0;
- $channels = $channels|0;
- $window = $window|0;
- $Fs = $Fs|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $Fs$addr = 0, $add = 0, $add11 = 0, $add14 = 0.0, $add16 = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx17 = 0, $arrayidx5 = 0;
- var $arrayidx8 = 0, $c = 0, $channels$addr = 0, $cmp = 0, $cmp2 = 0, $div = 0, $i = 0, $in1$addr = 0, $in2$addr = 0, $inc = 0, $inc18 = 0, $inc20 = 0, $mul = 0, $mul10 = 0, $mul13 = 0.0, $mul15 = 0, $mul4 = 0, $mul6 = 0.0, $mul7 = 0, $mul9 = 0.0;
- var $out$addr = 0, $overlap$addr = 0, $sub = 0.0, $w = 0.0, $window$addr = 0, label = 0, sp = 0;
+function _smooth_fade($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0.0;
+ var $50 = 0.0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0.0, $59 = 0.0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $in1$addr = $in1;
- $in2$addr = $in2;
- $out$addr = $out;
- $overlap$addr = $overlap;
- $channels$addr = $channels;
- $window$addr = $window;
- $Fs$addr = $Fs;
- $0 = $Fs$addr;
- $div = (48000 / ($0|0))&-1;
- $inc = $div;
- $c = 0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $18 = $13;
+ $19 = (48000 / ($18|0))&-1;
+ $16 = $19;
+ $15 = 0;
while(1) {
- $1 = $c;
- $2 = $channels$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
+ $20 = $15;
+ $21 = $11;
+ $22 = ($20|0)<($21|0);
+ if (!($22)) {
break;
}
- $i = 0;
+ $14 = 0;
while(1) {
- $3 = $i;
- $4 = $overlap$addr;
- $cmp2 = ($3|0)<($4|0);
- if (!($cmp2)) {
+ $23 = $14;
+ $24 = $10;
+ $25 = ($23|0)<($24|0);
+ if (!($25)) {
break;
}
- $5 = $window$addr;
- $6 = $i;
- $7 = $inc;
- $mul = Math_imul($6, $7)|0;
- $arrayidx = (($5) + ($mul<<2)|0);
- $8 = +HEAPF32[$arrayidx>>2];
- $9 = $window$addr;
- $10 = $i;
- $11 = $inc;
- $mul4 = Math_imul($10, $11)|0;
- $arrayidx5 = (($9) + ($mul4<<2)|0);
- $12 = +HEAPF32[$arrayidx5>>2];
- $mul6 = $8 * $12;
- $w = $mul6;
- $13 = $w;
- $14 = $in2$addr;
- $15 = $i;
- $16 = $channels$addr;
- $mul7 = Math_imul($15, $16)|0;
- $17 = $c;
- $add = (($mul7) + ($17))|0;
- $arrayidx8 = (($14) + ($add<<2)|0);
- $18 = +HEAPF32[$arrayidx8>>2];
- $mul9 = $13 * $18;
- $19 = $w;
- $sub = 1.0 - $19;
- $20 = $in1$addr;
- $21 = $i;
- $22 = $channels$addr;
- $mul10 = Math_imul($21, $22)|0;
- $23 = $c;
- $add11 = (($mul10) + ($23))|0;
- $arrayidx12 = (($20) + ($add11<<2)|0);
- $24 = +HEAPF32[$arrayidx12>>2];
- $mul13 = $sub * $24;
- $add14 = $mul9 + $mul13;
- $25 = $out$addr;
- $26 = $i;
- $27 = $channels$addr;
- $mul15 = Math_imul($26, $27)|0;
- $28 = $c;
- $add16 = (($mul15) + ($28))|0;
- $arrayidx17 = (($25) + ($add16<<2)|0);
- HEAPF32[$arrayidx17>>2] = $add14;
- $29 = $i;
- $inc18 = (($29) + 1)|0;
- $i = $inc18;
+ $26 = $12;
+ $27 = $14;
+ $28 = $16;
+ $29 = Math_imul($27, $28)|0;
+ $30 = (($26) + ($29<<2)|0);
+ $31 = +HEAPF32[$30>>2];
+ $32 = $12;
+ $33 = $14;
+ $34 = $16;
+ $35 = Math_imul($33, $34)|0;
+ $36 = (($32) + ($35<<2)|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $31 * $37;
+ $17 = $38;
+ $39 = $17;
+ $40 = $8;
+ $41 = $14;
+ $42 = $11;
+ $43 = Math_imul($41, $42)|0;
+ $44 = $15;
+ $45 = (($43) + ($44))|0;
+ $46 = (($40) + ($45<<2)|0);
+ $47 = +HEAPF32[$46>>2];
+ $48 = $39 * $47;
+ $49 = $17;
+ $50 = 1.0 - $49;
+ $51 = $7;
+ $52 = $14;
+ $53 = $11;
+ $54 = Math_imul($52, $53)|0;
+ $55 = $15;
+ $56 = (($54) + ($55))|0;
+ $57 = (($51) + ($56<<2)|0);
+ $58 = +HEAPF32[$57>>2];
+ $59 = $50 * $58;
+ $60 = $48 + $59;
+ $61 = $9;
+ $62 = $14;
+ $63 = $11;
+ $64 = Math_imul($62, $63)|0;
+ $65 = $15;
+ $66 = (($64) + ($65))|0;
+ $67 = (($61) + ($66<<2)|0);
+ HEAPF32[$67>>2] = $60;
+ $68 = $14;
+ $69 = (($68) + 1)|0;
+ $14 = $69;
}
- $30 = $c;
- $inc20 = (($30) + 1)|0;
- $c = $inc20;
+ $70 = $15;
+ $71 = (($70) + 1)|0;
+ $15 = $71;
}
STACKTOP = sp;return;
}
-function _opus_packet_get_nb_frames($packet,$len) {
- $packet = $packet|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $and = 0, $and14 = 0, $arrayidx12 = 0, $cmp = 0, $cmp1 = 0, $cmp4 = 0, $cmp8 = 0, $conv = 0, $conv13 = 0, $count = 0, $len$addr = 0;
- var $packet$addr = 0, $retval = 0, label = 0, sp = 0;
+function _opus_packet_get_nb_frames($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $packet$addr = $packet;
- $len$addr = $len;
- $0 = $len$addr;
- $cmp = ($0|0)<(1);
+ $3 = $0;
+ $4 = $1;
+ $6 = $4;
+ $7 = ($6|0)<(1);
do {
- if ($cmp) {
- $retval = -1;
+ if ($7) {
+ $2 = -1;
} else {
- $1 = $packet$addr;
- $2 = HEAP8[$1>>0]|0;
- $conv = $2&255;
- $and = $conv & 3;
- $count = $and;
- $3 = $count;
- $cmp1 = ($3|0)==(0);
- if ($cmp1) {
- $retval = 1;
+ $8 = $3;
+ $9 = HEAP8[$8>>0]|0;
+ $10 = $9&255;
+ $11 = $10 & 3;
+ $5 = $11;
+ $12 = $5;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $2 = 1;
break;
}
- $4 = $count;
- $cmp4 = ($4|0)!=(3);
- if ($cmp4) {
- $retval = 2;
+ $14 = $5;
+ $15 = ($14|0)!=(3);
+ if ($15) {
+ $2 = 2;
break;
}
- $5 = $len$addr;
- $cmp8 = ($5|0)<(2);
- if ($cmp8) {
- $retval = -4;
+ $16 = $4;
+ $17 = ($16|0)<(2);
+ if ($17) {
+ $2 = -4;
break;
} else {
- $6 = $packet$addr;
- $arrayidx12 = ((($6)) + 1|0);
- $7 = HEAP8[$arrayidx12>>0]|0;
- $conv13 = $7&255;
- $and14 = $conv13 & 63;
- $retval = $and14;
+ $18 = $3;
+ $19 = ((($18)) + 1|0);
+ $20 = HEAP8[$19>>0]|0;
+ $21 = $20&255;
+ $22 = $21 & 63;
+ $2 = $22;
break;
}
}
} while(0);
- $8 = $retval;
- STACKTOP = sp;return ($8|0);
+ $23 = $2;
+ STACKTOP = sp;return ($23|0);
}
-function _opus_decode_float($st,$data,$len,$pcm,$frame_size,$decode_fec) {
- $st = $st|0;
- $data = $data|0;
- $len = $len|0;
- $pcm = $pcm|0;
- $frame_size = $frame_size|0;
- $decode_fec = $decode_fec|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $call = 0, $cmp = 0, $data$addr = 0, $decode_fec$addr = 0, $frame_size$addr = 0, $len$addr = 0, $pcm$addr = 0, $retval = 0, $st$addr = 0, label = 0, sp = 0;
+function _opus_decode_float($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $st$addr = $st;
- $data$addr = $data;
- $len$addr = $len;
- $pcm$addr = $pcm;
- $frame_size$addr = $frame_size;
- $decode_fec$addr = $decode_fec;
- $0 = $frame_size$addr;
- $cmp = ($0|0)<=(0);
- if ($cmp) {
- $retval = -1;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $11;
+ $14 = ($13|0)<=(0);
+ if ($14) {
+ $6 = -1;
+ $22 = $6;
+ STACKTOP = sp;return ($22|0);
} else {
- $1 = $st$addr;
- $2 = $data$addr;
- $3 = $len$addr;
- $4 = $pcm$addr;
- $5 = $frame_size$addr;
- $6 = $decode_fec$addr;
- $call = (_opus_decode_native($1,$2,$3,$4,$5,$6,0,0,0)|0);
- $retval = $call;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
+ $15 = $7;
+ $16 = $8;
+ $17 = $9;
+ $18 = $10;
+ $19 = $11;
+ $20 = $12;
+ $21 = (_opus_decode_native($15,$16,$17,$18,$19,$20,0,0,0)|0);
+ $6 = $21;
+ $22 = $6;
+ STACKTOP = sp;return ($22|0);
}
return (0)|0;
}
-function _opus_decoder_destroy($st) {
- $st = $st|0;
- var $0 = 0, $st$addr = 0, label = 0, sp = 0;
+function _opus_decoder_destroy($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $st$addr = $st;
- $0 = $st$addr;
- _opus_free($0);
+ $1 = $0;
+ $2 = $1;
+ _opus_free($2);
STACKTOP = sp;return;
}
-function _opus_encoder_get_size($channels) {
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $add = 0, $add7 = 0, $call = 0, $call4 = 0, $call5 = 0, $call6 = 0, $celtEncSizeBytes = 0, $channels$addr = 0, $cmp = 0, $cmp1 = 0, $or$cond = 0, $ret = 0;
- var $retval = 0, $silkEncSizeBytes = 0, $tobool = 0, label = 0, sp = 0;
+function _opus_encoder_get_size($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, $or$cond = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $silkEncSizeBytes = sp + 8|0;
- $channels$addr = $channels;
- $0 = $channels$addr;
- $cmp = ($0|0)<(1);
- $1 = $channels$addr;
- $cmp1 = ($1|0)>(2);
- $or$cond = $cmp | $cmp1;
+ $3 = sp + 8|0;
+ $2 = $0;
+ $6 = $2;
+ $7 = ($6|0)<(1);
+ $8 = $2;
+ $9 = ($8|0)>(2);
+ $or$cond = $7 | $9;
if ($or$cond) {
- $retval = 0;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
+ $1 = 0;
+ $22 = $1;
+ STACKTOP = sp;return ($22|0);
}
- $call = (_silk_Get_Encoder_Size($silkEncSizeBytes)|0);
- $ret = $call;
- $2 = $ret;
- $tobool = ($2|0)!=(0);
- if ($tobool) {
- $retval = 0;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
+ $10 = (_silk_Get_Encoder_Size($3)|0);
+ $5 = $10;
+ $11 = $5;
+ $12 = ($11|0)!=(0);
+ if ($12) {
+ $1 = 0;
+ $22 = $1;
+ STACKTOP = sp;return ($22|0);
} else {
- $3 = HEAP32[$silkEncSizeBytes>>2]|0;
- $call4 = (_align_7($3)|0);
- HEAP32[$silkEncSizeBytes>>2] = $call4;
- $4 = $channels$addr;
- $call5 = (_celt_encoder_get_size($4)|0);
- $celtEncSizeBytes = $call5;
- $call6 = (_align_7(18220)|0);
- $5 = HEAP32[$silkEncSizeBytes>>2]|0;
- $add = (($call6) + ($5))|0;
- $6 = $celtEncSizeBytes;
- $add7 = (($add) + ($6))|0;
- $retval = $add7;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
+ $13 = HEAP32[$3>>2]|0;
+ $14 = (_align_7($13)|0);
+ HEAP32[$3>>2] = $14;
+ $15 = $2;
+ $16 = (_celt_encoder_get_size($15)|0);
+ $4 = $16;
+ $17 = (_align_7(18220)|0);
+ $18 = HEAP32[$3>>2]|0;
+ $19 = (($17) + ($18))|0;
+ $20 = $4;
+ $21 = (($19) + ($20))|0;
+ $1 = $21;
+ $22 = $1;
+ STACKTOP = sp;return ($22|0);
}
return (0)|0;
}
-function _align_7($i) {
- $i = $i|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $add = 0, $alignment = 0, $div = 0, $i$addr = 0, $mul = 0, $sub = 0, label = 0, sp = 0;
+function _align_7($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $i$addr = $i;
- $alignment = 4;
- $0 = $i$addr;
- $1 = $alignment;
- $add = (($0) + ($1))|0;
- $sub = (($add) - 1)|0;
- $2 = $alignment;
- $div = (($sub>>>0) / ($2>>>0))&-1;
- $3 = $alignment;
- $mul = Math_imul($div, $3)|0;
- STACKTOP = sp;return ($mul|0);
+ $1 = $0;
+ $2 = 4;
+ $3 = $1;
+ $4 = $2;
+ $5 = (($3) + ($4))|0;
+ $6 = (($5) - 1)|0;
+ $7 = $2;
+ $8 = (($6>>>0) / ($7>>>0))&-1;
+ $9 = $2;
+ $10 = Math_imul($8, $9)|0;
+ STACKTOP = sp;return ($10|0);
}
-function _opus_encoder_init($st,$Fs,$channels,$application) {
- $st = $st|0;
- $Fs = $Fs|0;
- $channels = $channels|0;
- $application = $application|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $API_sampleRate = 0, $Fs$addr = 0, $Fs27 = 0, $Fs36 = 0, $Fs64 = 0, $Fs65 = 0;
- var $add = 0, $add$ptr = 0, $add$ptr25 = 0, $add62 = 0, $analysis = 0, $application$addr = 0, $application63 = 0, $arch = 0, $arch29 = 0, $arch49 = 0, $bandwidth = 0, $bitRate = 0, $bitrate_bps = 0, $call = 0, $call17 = 0, $call20 = 0, $call21 = 0, $call28 = 0, $call30 = 0, $call50 = 0;
- var $call67 = 0, $celt_enc = 0, $channels$addr = 0, $channels26 = 0, $cmp = 0, $cmp1 = 0, $cmp10 = 0, $cmp12 = 0, $cmp14 = 0, $cmp16 = 0, $cmp3 = 0, $cmp5 = 0, $cmp51 = 0, $cmp7 = 0, $cmp8 = 0, $complexity = 0, $complexity59 = 0, $delay_compensation = 0, $desiredInternalSampleRate = 0, $div = 0;
- var $div66 = 0, $encoder_buffer = 0, $err = 0, $first = 0, $force_channels = 0, $hybrid_stereo_width_Q14 = 0, $lsb_depth = 0, $maxInternalSampleRate = 0, $max_bandwidth = 0, $minInternalSampleRate = 0, $mode = 0, $mul = 0, $mul61 = 0, $nChannelsInternal = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond3 = 0, $or$cond4 = 0, $or$cond5 = 0;
- var $or$cond6 = 0, $packetLossPercentage = 0, $payloadSize_ms = 0, $prev_HB_gain = 0, $reducedDependency = 0, $ret = 0, $retval = 0, $shl = 0, $signal_type = 0, $silkEncSizeBytes = 0, $silk_enc = 0, $silk_enc_offset = 0, $silk_enc_offset22 = 0, $silk_enc_offset23 = 0, $silk_mode = 0, $silk_mode34 = 0, $silk_mode35 = 0, $silk_mode37 = 0, $silk_mode38 = 0, $silk_mode39 = 0;
- var $silk_mode40 = 0, $silk_mode41 = 0, $silk_mode42 = 0, $silk_mode43 = 0, $silk_mode44 = 0, $silk_mode45 = 0, $silk_mode46 = 0, $silk_mode47 = 0, $silk_mode48 = 0, $silk_mode58 = 0, $st$addr = 0, $stream_channels = 0, $tobool = 0, $tobool31 = 0, $useCBR = 0, $useDTX = 0, $useInBandFEC = 0, $use_vbr = 0, $user_bandwidth = 0, $user_bitrate_bps = 0;
- var $user_forced_mode = 0, $vararg_buffer = 0, $vararg_buffer7 = 0, $variable_HP_smth2_Q15 = 0, $variable_duration = 0, $vbr_constraint = 0, $voice_ratio = 0, label = 0, sp = 0;
+function _opus_encoder_init($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond11 = 0;
+ var $or$cond13 = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond7 = 0, $or$cond9 = 0, $vararg_buffer = 0, $vararg_buffer14 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $vararg_buffer7 = sp + 8|0;
+ $vararg_buffer14 = sp + 8|0;
$vararg_buffer = sp;
- $silkEncSizeBytes = sp + 12|0;
- $st$addr = $st;
- $Fs$addr = $Fs;
- $channels$addr = $channels;
- $application$addr = $application;
- $0 = $Fs$addr;
- $cmp = ($0|0)!=(48000);
- $1 = $Fs$addr;
- $cmp1 = ($1|0)!=(24000);
- $or$cond = $cmp & $cmp1;
- $2 = $Fs$addr;
- $cmp3 = ($2|0)!=(16000);
- $or$cond1 = $or$cond & $cmp3;
- $3 = $Fs$addr;
- $cmp5 = ($3|0)!=(12000);
- $or$cond2 = $or$cond1 & $cmp5;
- $4 = $Fs$addr;
- $cmp7 = ($4|0)!=(8000);
- $or$cond3 = $or$cond2 & $cmp7;
- if (!($or$cond3)) {
- $5 = $channels$addr;
- $cmp8 = ($5|0)!=(1);
- $6 = $channels$addr;
- $cmp10 = ($6|0)!=(2);
- $or$cond4 = $cmp8 & $cmp10;
- if (!($or$cond4)) {
- $7 = $application$addr;
- $cmp12 = ($7|0)!=(2048);
- $8 = $application$addr;
- $cmp14 = ($8|0)!=(2049);
- $or$cond5 = $cmp12 & $cmp14;
- $9 = $application$addr;
- $cmp16 = ($9|0)!=(2051);
- $or$cond6 = $or$cond5 & $cmp16;
- if (!($or$cond6)) {
- $10 = $st$addr;
- $11 = $channels$addr;
- $call = (_opus_encoder_get_size($11)|0);
- $mul = $call;
- _memset(($10|0),0,($mul|0))|0;
- $call17 = (_silk_Get_Encoder_Size($silkEncSizeBytes)|0);
- $ret = $call17;
- $12 = $ret;
- $tobool = ($12|0)!=(0);
- if ($tobool) {
- $retval = -1;
- $93 = $retval;
- STACKTOP = sp;return ($93|0);
+ $13 = sp + 12|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $14 = $6;
+ $15 = ($14|0)!=(48000);
+ $16 = $6;
+ $17 = ($16|0)!=(24000);
+ $or$cond = $15 & $17;
+ $18 = $6;
+ $19 = ($18|0)!=(16000);
+ $or$cond3 = $or$cond & $19;
+ $20 = $6;
+ $21 = ($20|0)!=(12000);
+ $or$cond5 = $or$cond3 & $21;
+ $22 = $6;
+ $23 = ($22|0)!=(8000);
+ $or$cond7 = $or$cond5 & $23;
+ if (!($or$cond7)) {
+ $24 = $7;
+ $25 = ($24|0)!=(1);
+ $26 = $7;
+ $27 = ($26|0)!=(2);
+ $or$cond9 = $25 & $27;
+ if (!($or$cond9)) {
+ $28 = $8;
+ $29 = ($28|0)!=(2048);
+ $30 = $8;
+ $31 = ($30|0)!=(2049);
+ $or$cond11 = $29 & $31;
+ $32 = $8;
+ $33 = ($32|0)!=(2051);
+ $or$cond13 = $or$cond11 & $33;
+ if (!($or$cond13)) {
+ $34 = $5;
+ $35 = $7;
+ $36 = (_opus_encoder_get_size($35)|0);
+ $37 = $36;
+ _memset(($34|0),0,($37|0))|0;
+ $38 = (_silk_Get_Encoder_Size($13)|0);
+ $12 = $38;
+ $39 = $12;
+ $40 = ($39|0)!=(0);
+ if ($40) {
+ $4 = -1;
+ $201 = $4;
+ STACKTOP = sp;return ($201|0);
}
- $13 = HEAP32[$silkEncSizeBytes>>2]|0;
- $call20 = (_align_7($13)|0);
- HEAP32[$silkEncSizeBytes>>2] = $call20;
- $call21 = (_align_7(18220)|0);
- $14 = $st$addr;
- $silk_enc_offset = ((($14)) + 4|0);
- HEAP32[$silk_enc_offset>>2] = $call21;
- $15 = $st$addr;
- $silk_enc_offset22 = ((($15)) + 4|0);
- $16 = HEAP32[$silk_enc_offset22>>2]|0;
- $17 = HEAP32[$silkEncSizeBytes>>2]|0;
- $add = (($16) + ($17))|0;
- $18 = $st$addr;
- HEAP32[$18>>2] = $add;
- $19 = $st$addr;
- $20 = $st$addr;
- $silk_enc_offset23 = ((($20)) + 4|0);
- $21 = HEAP32[$silk_enc_offset23>>2]|0;
- $add$ptr = (($19) + ($21)|0);
- $silk_enc = $add$ptr;
- $22 = $st$addr;
- $23 = $st$addr;
- $24 = HEAP32[$23>>2]|0;
- $add$ptr25 = (($22) + ($24)|0);
- $celt_enc = $add$ptr25;
- $25 = $channels$addr;
- $26 = $st$addr;
- $channels26 = ((($26)) + 100|0);
- HEAP32[$channels26>>2] = $25;
- $27 = $st$addr;
- $stream_channels = ((($27)) + 14288|0);
- HEAP32[$stream_channels>>2] = $25;
- $28 = $Fs$addr;
- $29 = $st$addr;
- $Fs27 = ((($29)) + 132|0);
- HEAP32[$Fs27>>2] = $28;
- $call28 = (_opus_select_arch_8()|0);
- $30 = $st$addr;
- $arch = ((($30)) + 168|0);
- HEAP32[$arch>>2] = $call28;
- $31 = $silk_enc;
- $32 = $st$addr;
- $arch29 = ((($32)) + 168|0);
- $33 = HEAP32[$arch29>>2]|0;
- $34 = $st$addr;
- $silk_mode = ((($34)) + 8|0);
- $call30 = (_silk_InitEncoder($31,$33,$silk_mode)|0);
- $ret = $call30;
- $35 = $ret;
- $tobool31 = ($35|0)!=(0);
- if ($tobool31) {
- $retval = -3;
- $93 = $retval;
- STACKTOP = sp;return ($93|0);
+ $41 = HEAP32[$13>>2]|0;
+ $42 = (_align_7($41)|0);
+ HEAP32[$13>>2] = $42;
+ $43 = (_align_7(18220)|0);
+ $44 = $5;
+ $45 = ((($44)) + 4|0);
+ HEAP32[$45>>2] = $43;
+ $46 = $5;
+ $47 = ((($46)) + 4|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = HEAP32[$13>>2]|0;
+ $50 = (($48) + ($49))|0;
+ $51 = $5;
+ HEAP32[$51>>2] = $50;
+ $52 = $5;
+ $53 = $5;
+ $54 = ((($53)) + 4|0);
+ $55 = HEAP32[$54>>2]|0;
+ $56 = (($52) + ($55)|0);
+ $9 = $56;
+ $57 = $5;
+ $58 = $5;
+ $59 = HEAP32[$58>>2]|0;
+ $60 = (($57) + ($59)|0);
+ $10 = $60;
+ $61 = $7;
+ $62 = $5;
+ $63 = ((($62)) + 100|0);
+ HEAP32[$63>>2] = $61;
+ $64 = $5;
+ $65 = ((($64)) + 14288|0);
+ HEAP32[$65>>2] = $61;
+ $66 = $6;
+ $67 = $5;
+ $68 = ((($67)) + 132|0);
+ HEAP32[$68>>2] = $66;
+ $69 = (_opus_select_arch_8()|0);
+ $70 = $5;
+ $71 = ((($70)) + 168|0);
+ HEAP32[$71>>2] = $69;
+ $72 = $9;
+ $73 = $5;
+ $74 = ((($73)) + 168|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $5;
+ $77 = ((($76)) + 8|0);
+ $78 = (_silk_InitEncoder($72,$75,$77)|0);
+ $12 = $78;
+ $79 = $12;
+ $80 = ($79|0)!=(0);
+ if ($80) {
+ $4 = -3;
+ $201 = $4;
+ STACKTOP = sp;return ($201|0);
}
- $36 = $channels$addr;
- $37 = $st$addr;
- $silk_mode34 = ((($37)) + 8|0);
- HEAP32[$silk_mode34>>2] = $36;
- $38 = $channels$addr;
- $39 = $st$addr;
- $silk_mode35 = ((($39)) + 8|0);
- $nChannelsInternal = ((($silk_mode35)) + 4|0);
- HEAP32[$nChannelsInternal>>2] = $38;
- $40 = $st$addr;
- $Fs36 = ((($40)) + 132|0);
- $41 = HEAP32[$Fs36>>2]|0;
- $42 = $st$addr;
- $silk_mode37 = ((($42)) + 8|0);
- $API_sampleRate = ((($silk_mode37)) + 8|0);
- HEAP32[$API_sampleRate>>2] = $41;
- $43 = $st$addr;
- $silk_mode38 = ((($43)) + 8|0);
- $maxInternalSampleRate = ((($silk_mode38)) + 12|0);
- HEAP32[$maxInternalSampleRate>>2] = 16000;
- $44 = $st$addr;
- $silk_mode39 = ((($44)) + 8|0);
- $minInternalSampleRate = ((($silk_mode39)) + 16|0);
- HEAP32[$minInternalSampleRate>>2] = 8000;
- $45 = $st$addr;
- $silk_mode40 = ((($45)) + 8|0);
- $desiredInternalSampleRate = ((($silk_mode40)) + 20|0);
- HEAP32[$desiredInternalSampleRate>>2] = 16000;
- $46 = $st$addr;
- $silk_mode41 = ((($46)) + 8|0);
- $payloadSize_ms = ((($silk_mode41)) + 24|0);
- HEAP32[$payloadSize_ms>>2] = 20;
- $47 = $st$addr;
- $silk_mode42 = ((($47)) + 8|0);
- $bitRate = ((($silk_mode42)) + 28|0);
- HEAP32[$bitRate>>2] = 25000;
- $48 = $st$addr;
- $silk_mode43 = ((($48)) + 8|0);
- $packetLossPercentage = ((($silk_mode43)) + 32|0);
- HEAP32[$packetLossPercentage>>2] = 0;
- $49 = $st$addr;
- $silk_mode44 = ((($49)) + 8|0);
- $complexity = ((($silk_mode44)) + 36|0);
- HEAP32[$complexity>>2] = 9;
- $50 = $st$addr;
- $silk_mode45 = ((($50)) + 8|0);
- $useInBandFEC = ((($silk_mode45)) + 40|0);
- HEAP32[$useInBandFEC>>2] = 0;
- $51 = $st$addr;
- $silk_mode46 = ((($51)) + 8|0);
- $useDTX = ((($silk_mode46)) + 44|0);
- HEAP32[$useDTX>>2] = 0;
- $52 = $st$addr;
- $silk_mode47 = ((($52)) + 8|0);
- $useCBR = ((($silk_mode47)) + 48|0);
- HEAP32[$useCBR>>2] = 0;
- $53 = $st$addr;
- $silk_mode48 = ((($53)) + 8|0);
- $reducedDependency = ((($silk_mode48)) + 64|0);
- HEAP32[$reducedDependency>>2] = 0;
- $54 = $celt_enc;
- $55 = $Fs$addr;
- $56 = $channels$addr;
- $57 = $st$addr;
- $arch49 = ((($57)) + 168|0);
- $58 = HEAP32[$arch49>>2]|0;
- $call50 = (_celt_encoder_init($54,$55,$56,$58)|0);
- $err = $call50;
- $59 = $err;
- $cmp51 = ($59|0)!=(0);
- if ($cmp51) {
- $retval = -3;
- $93 = $retval;
- STACKTOP = sp;return ($93|0);
+ $81 = $7;
+ $82 = $5;
+ $83 = ((($82)) + 8|0);
+ HEAP32[$83>>2] = $81;
+ $84 = $7;
+ $85 = $5;
+ $86 = ((($85)) + 8|0);
+ $87 = ((($86)) + 4|0);
+ HEAP32[$87>>2] = $84;
+ $88 = $5;
+ $89 = ((($88)) + 132|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = $5;
+ $92 = ((($91)) + 8|0);
+ $93 = ((($92)) + 8|0);
+ HEAP32[$93>>2] = $90;
+ $94 = $5;
+ $95 = ((($94)) + 8|0);
+ $96 = ((($95)) + 12|0);
+ HEAP32[$96>>2] = 16000;
+ $97 = $5;
+ $98 = ((($97)) + 8|0);
+ $99 = ((($98)) + 16|0);
+ HEAP32[$99>>2] = 8000;
+ $100 = $5;
+ $101 = ((($100)) + 8|0);
+ $102 = ((($101)) + 20|0);
+ HEAP32[$102>>2] = 16000;
+ $103 = $5;
+ $104 = ((($103)) + 8|0);
+ $105 = ((($104)) + 24|0);
+ HEAP32[$105>>2] = 20;
+ $106 = $5;
+ $107 = ((($106)) + 8|0);
+ $108 = ((($107)) + 28|0);
+ HEAP32[$108>>2] = 25000;
+ $109 = $5;
+ $110 = ((($109)) + 8|0);
+ $111 = ((($110)) + 32|0);
+ HEAP32[$111>>2] = 0;
+ $112 = $5;
+ $113 = ((($112)) + 8|0);
+ $114 = ((($113)) + 36|0);
+ HEAP32[$114>>2] = 9;
+ $115 = $5;
+ $116 = ((($115)) + 8|0);
+ $117 = ((($116)) + 40|0);
+ HEAP32[$117>>2] = 0;
+ $118 = $5;
+ $119 = ((($118)) + 8|0);
+ $120 = ((($119)) + 44|0);
+ HEAP32[$120>>2] = 0;
+ $121 = $5;
+ $122 = ((($121)) + 8|0);
+ $123 = ((($122)) + 48|0);
+ HEAP32[$123>>2] = 0;
+ $124 = $5;
+ $125 = ((($124)) + 8|0);
+ $126 = ((($125)) + 64|0);
+ HEAP32[$126>>2] = 0;
+ $127 = $10;
+ $128 = $6;
+ $129 = $7;
+ $130 = $5;
+ $131 = ((($130)) + 168|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = (_celt_encoder_init($127,$128,$129,$132)|0);
+ $11 = $133;
+ $134 = $11;
+ $135 = ($134|0)!=(0);
+ if ($135) {
+ $4 = -3;
+ $201 = $4;
+ STACKTOP = sp;return ($201|0);
} else {
- $60 = $celt_enc;
+ $136 = $10;
HEAP32[$vararg_buffer>>2] = 0;
- (_opus_custom_encoder_ctl($60,10016,$vararg_buffer)|0);
- $61 = $celt_enc;
- $62 = $st$addr;
- $silk_mode58 = ((($62)) + 8|0);
- $complexity59 = ((($silk_mode58)) + 36|0);
- $63 = HEAP32[$complexity59>>2]|0;
- HEAP32[$vararg_buffer7>>2] = $63;
- (_opus_custom_encoder_ctl($61,4010,$vararg_buffer7)|0);
- $64 = $st$addr;
- $use_vbr = ((($64)) + 136|0);
- HEAP32[$use_vbr>>2] = 1;
- $65 = $st$addr;
- $vbr_constraint = ((($65)) + 140|0);
- HEAP32[$vbr_constraint>>2] = 1;
- $66 = $st$addr;
- $user_bitrate_bps = ((($66)) + 152|0);
- HEAP32[$user_bitrate_bps>>2] = -1000;
- $67 = $Fs$addr;
- $68 = $channels$addr;
- $mul61 = Math_imul($67, $68)|0;
- $add62 = (3000 + ($mul61))|0;
- $69 = $st$addr;
- $bitrate_bps = ((($69)) + 148|0);
- HEAP32[$bitrate_bps>>2] = $add62;
- $70 = $application$addr;
- $71 = $st$addr;
- $application63 = ((($71)) + 96|0);
- HEAP32[$application63>>2] = $70;
- $72 = $st$addr;
- $signal_type = ((($72)) + 112|0);
- HEAP32[$signal_type>>2] = -1000;
- $73 = $st$addr;
- $user_bandwidth = ((($73)) + 116|0);
- HEAP32[$user_bandwidth>>2] = -1000;
- $74 = $st$addr;
- $max_bandwidth = ((($74)) + 120|0);
- HEAP32[$max_bandwidth>>2] = 1105;
- $75 = $st$addr;
- $force_channels = ((($75)) + 108|0);
- HEAP32[$force_channels>>2] = -1000;
- $76 = $st$addr;
- $user_forced_mode = ((($76)) + 124|0);
- HEAP32[$user_forced_mode>>2] = -1000;
- $77 = $st$addr;
- $voice_ratio = ((($77)) + 128|0);
- HEAP32[$voice_ratio>>2] = -1;
- $78 = $st$addr;
- $Fs64 = ((($78)) + 132|0);
- $79 = HEAP32[$Fs64>>2]|0;
- $div = (($79|0) / 100)&-1;
- $80 = $st$addr;
- $encoder_buffer = ((($80)) + 160|0);
- HEAP32[$encoder_buffer>>2] = $div;
- $81 = $st$addr;
- $lsb_depth = ((($81)) + 156|0);
- HEAP32[$lsb_depth>>2] = 24;
- $82 = $st$addr;
- $variable_duration = ((($82)) + 144|0);
- HEAP32[$variable_duration>>2] = 5000;
- $83 = $st$addr;
- $Fs65 = ((($83)) + 132|0);
- $84 = HEAP32[$Fs65>>2]|0;
- $div66 = (($84|0) / 250)&-1;
- $85 = $st$addr;
- $delay_compensation = ((($85)) + 104|0);
- HEAP32[$delay_compensation>>2] = $div66;
- $86 = $st$addr;
- $hybrid_stereo_width_Q14 = ((($86)) + 14292|0);
- HEAP16[$hybrid_stereo_width_Q14>>1] = 16384;
- $87 = $st$addr;
- $prev_HB_gain = ((($87)) + 14300|0);
- HEAPF32[$prev_HB_gain>>2] = 1.0;
- $call67 = (_silk_lin2log(60)|0);
- $shl = $call67 << 8;
- $88 = $st$addr;
- $variable_HP_smth2_Q15 = ((($88)) + 14296|0);
- HEAP32[$variable_HP_smth2_Q15>>2] = $shl;
- $89 = $st$addr;
- $first = ((($89)) + 14344|0);
- HEAP32[$first>>2] = 1;
- $90 = $st$addr;
- $mode = ((($90)) + 14320|0);
- HEAP32[$mode>>2] = 1001;
- $91 = $st$addr;
- $bandwidth = ((($91)) + 14336|0);
- HEAP32[$bandwidth>>2] = 1105;
- $92 = $st$addr;
- $analysis = ((($92)) + 172|0);
- _tonality_analysis_init($analysis);
- $retval = 0;
- $93 = $retval;
- STACKTOP = sp;return ($93|0);
+ (_opus_custom_encoder_ctl($136,10016,$vararg_buffer)|0);
+ $137 = $10;
+ $138 = $5;
+ $139 = ((($138)) + 8|0);
+ $140 = ((($139)) + 36|0);
+ $141 = HEAP32[$140>>2]|0;
+ HEAP32[$vararg_buffer14>>2] = $141;
+ (_opus_custom_encoder_ctl($137,4010,$vararg_buffer14)|0);
+ $142 = $5;
+ $143 = ((($142)) + 136|0);
+ HEAP32[$143>>2] = 1;
+ $144 = $5;
+ $145 = ((($144)) + 140|0);
+ HEAP32[$145>>2] = 1;
+ $146 = $5;
+ $147 = ((($146)) + 152|0);
+ HEAP32[$147>>2] = -1000;
+ $148 = $6;
+ $149 = $7;
+ $150 = Math_imul($148, $149)|0;
+ $151 = (3000 + ($150))|0;
+ $152 = $5;
+ $153 = ((($152)) + 148|0);
+ HEAP32[$153>>2] = $151;
+ $154 = $8;
+ $155 = $5;
+ $156 = ((($155)) + 96|0);
+ HEAP32[$156>>2] = $154;
+ $157 = $5;
+ $158 = ((($157)) + 112|0);
+ HEAP32[$158>>2] = -1000;
+ $159 = $5;
+ $160 = ((($159)) + 116|0);
+ HEAP32[$160>>2] = -1000;
+ $161 = $5;
+ $162 = ((($161)) + 120|0);
+ HEAP32[$162>>2] = 1105;
+ $163 = $5;
+ $164 = ((($163)) + 108|0);
+ HEAP32[$164>>2] = -1000;
+ $165 = $5;
+ $166 = ((($165)) + 124|0);
+ HEAP32[$166>>2] = -1000;
+ $167 = $5;
+ $168 = ((($167)) + 128|0);
+ HEAP32[$168>>2] = -1;
+ $169 = $5;
+ $170 = ((($169)) + 132|0);
+ $171 = HEAP32[$170>>2]|0;
+ $172 = (($171|0) / 100)&-1;
+ $173 = $5;
+ $174 = ((($173)) + 160|0);
+ HEAP32[$174>>2] = $172;
+ $175 = $5;
+ $176 = ((($175)) + 156|0);
+ HEAP32[$176>>2] = 24;
+ $177 = $5;
+ $178 = ((($177)) + 144|0);
+ HEAP32[$178>>2] = 5000;
+ $179 = $5;
+ $180 = ((($179)) + 132|0);
+ $181 = HEAP32[$180>>2]|0;
+ $182 = (($181|0) / 250)&-1;
+ $183 = $5;
+ $184 = ((($183)) + 104|0);
+ HEAP32[$184>>2] = $182;
+ $185 = $5;
+ $186 = ((($185)) + 14292|0);
+ HEAP16[$186>>1] = 16384;
+ $187 = $5;
+ $188 = ((($187)) + 14300|0);
+ HEAPF32[$188>>2] = 1.0;
+ $189 = (_silk_lin2log(60)|0);
+ $190 = $189 << 8;
+ $191 = $5;
+ $192 = ((($191)) + 14296|0);
+ HEAP32[$192>>2] = $190;
+ $193 = $5;
+ $194 = ((($193)) + 14344|0);
+ HEAP32[$194>>2] = 1;
+ $195 = $5;
+ $196 = ((($195)) + 14320|0);
+ HEAP32[$196>>2] = 1001;
+ $197 = $5;
+ $198 = ((($197)) + 14336|0);
+ HEAP32[$198>>2] = 1105;
+ $199 = $5;
+ $200 = ((($199)) + 172|0);
+ _tonality_analysis_init($200);
+ $4 = 0;
+ $201 = $4;
+ STACKTOP = sp;return ($201|0);
}
}
}
}
- $retval = -1;
- $93 = $retval;
- STACKTOP = sp;return ($93|0);
+ $4 = -1;
+ $201 = $4;
+ STACKTOP = sp;return ($201|0);
}
function _opus_select_arch_8() {
var label = 0, sp = 0;
sp = STACKTOP;
return 0;
}
-function _opus_encoder_create($Fs,$channels,$application,$error) {
- $Fs = $Fs|0;
- $channels = $channels|0;
- $application = $application|0;
- $error = $error|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Fs$addr = 0, $application$addr = 0, $call = 0, $call19 = 0, $call26 = 0, $channels$addr = 0, $cmp = 0, $cmp1 = 0, $cmp10 = 0, $cmp12 = 0, $cmp14 = 0, $cmp16 = 0, $cmp20 = 0;
- var $cmp3 = 0, $cmp30 = 0, $cmp5 = 0, $cmp7 = 0, $cmp8 = 0, $error$addr = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond3 = 0, $or$cond4 = 0, $or$cond5 = 0, $or$cond6 = 0, $ret = 0, $retval = 0, $st = 0, $tobool = 0, $tobool22 = 0, $tobool27 = 0, label = 0;
+function _opus_encoder_create($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond11 = 0, $or$cond13 = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond7 = 0, $or$cond9 = 0, label = 0;
var sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $Fs$addr = $Fs;
- $channels$addr = $channels;
- $application$addr = $application;
- $error$addr = $error;
- $0 = $Fs$addr;
- $cmp = ($0|0)!=(48000);
- $1 = $Fs$addr;
- $cmp1 = ($1|0)!=(24000);
- $or$cond = $cmp & $cmp1;
- $2 = $Fs$addr;
- $cmp3 = ($2|0)!=(16000);
- $or$cond1 = $or$cond & $cmp3;
- $3 = $Fs$addr;
- $cmp5 = ($3|0)!=(12000);
- $or$cond2 = $or$cond1 & $cmp5;
- $4 = $Fs$addr;
- $cmp7 = ($4|0)!=(8000);
- $or$cond3 = $or$cond2 & $cmp7;
- if (!($or$cond3)) {
- $5 = $channels$addr;
- $cmp8 = ($5|0)!=(1);
- $6 = $channels$addr;
- $cmp10 = ($6|0)!=(2);
- $or$cond4 = $cmp8 & $cmp10;
- if (!($or$cond4)) {
- $7 = $application$addr;
- $cmp12 = ($7|0)!=(2048);
- $8 = $application$addr;
- $cmp14 = ($8|0)!=(2049);
- $or$cond5 = $cmp12 & $cmp14;
- $9 = $application$addr;
- $cmp16 = ($9|0)!=(2051);
- $or$cond6 = $or$cond5 & $cmp16;
- if (!($or$cond6)) {
- $12 = $channels$addr;
- $call = (_opus_encoder_get_size($12)|0);
- $call19 = (_opus_alloc_11($call)|0);
- $st = $call19;
- $13 = $st;
- $cmp20 = ($13|0)==(0|0);
- if ($cmp20) {
- $14 = $error$addr;
- $tobool22 = ($14|0)!=(0|0);
- if ($tobool22) {
- $15 = $error$addr;
- HEAP32[$15>>2] = -7;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $11 = $5;
+ $12 = ($11|0)!=(48000);
+ $13 = $5;
+ $14 = ($13|0)!=(24000);
+ $or$cond = $12 & $14;
+ $15 = $5;
+ $16 = ($15|0)!=(16000);
+ $or$cond3 = $or$cond & $16;
+ $17 = $5;
+ $18 = ($17|0)!=(12000);
+ $or$cond5 = $or$cond3 & $18;
+ $19 = $5;
+ $20 = ($19|0)!=(8000);
+ $or$cond7 = $or$cond5 & $20;
+ if (!($or$cond7)) {
+ $21 = $6;
+ $22 = ($21|0)!=(1);
+ $23 = $6;
+ $24 = ($23|0)!=(2);
+ $or$cond9 = $22 & $24;
+ if (!($or$cond9)) {
+ $25 = $7;
+ $26 = ($25|0)!=(2048);
+ $27 = $7;
+ $28 = ($27|0)!=(2049);
+ $or$cond11 = $26 & $28;
+ $29 = $7;
+ $30 = ($29|0)!=(2051);
+ $or$cond13 = $or$cond11 & $30;
+ if (!($or$cond13)) {
+ $34 = $6;
+ $35 = (_opus_encoder_get_size($34)|0);
+ $36 = (_opus_alloc_11($35)|0);
+ $10 = $36;
+ $37 = $10;
+ $38 = ($37|0)==(0|0);
+ if ($38) {
+ $39 = $8;
+ $40 = ($39|0)!=(0|0);
+ if ($40) {
+ $41 = $8;
+ HEAP32[$41>>2] = -7;
}
- $retval = 0;
- $26 = $retval;
- STACKTOP = sp;return ($26|0);
+ $4 = 0;
+ $55 = $4;
+ STACKTOP = sp;return ($55|0);
}
- $16 = $st;
- $17 = $Fs$addr;
- $18 = $channels$addr;
- $19 = $application$addr;
- $call26 = (_opus_encoder_init($16,$17,$18,$19)|0);
- $ret = $call26;
- $20 = $error$addr;
- $tobool27 = ($20|0)!=(0|0);
- if ($tobool27) {
- $21 = $ret;
- $22 = $error$addr;
- HEAP32[$22>>2] = $21;
+ $42 = $10;
+ $43 = $5;
+ $44 = $6;
+ $45 = $7;
+ $46 = (_opus_encoder_init($42,$43,$44,$45)|0);
+ $9 = $46;
+ $47 = $8;
+ $48 = ($47|0)!=(0|0);
+ if ($48) {
+ $49 = $9;
+ $50 = $8;
+ HEAP32[$50>>2] = $49;
}
- $23 = $ret;
- $cmp30 = ($23|0)!=(0);
- if ($cmp30) {
- $24 = $st;
- _opus_free_12($24);
- $st = 0;
+ $51 = $9;
+ $52 = ($51|0)!=(0);
+ if ($52) {
+ $53 = $10;
+ _opus_free_12($53);
+ $10 = 0;
}
- $25 = $st;
- $retval = $25;
- $26 = $retval;
- STACKTOP = sp;return ($26|0);
+ $54 = $10;
+ $4 = $54;
+ $55 = $4;
+ STACKTOP = sp;return ($55|0);
}
}
}
- $10 = $error$addr;
- $tobool = ($10|0)!=(0|0);
- if ($tobool) {
- $11 = $error$addr;
- HEAP32[$11>>2] = -1;
+ $31 = $8;
+ $32 = ($31|0)!=(0|0);
+ if ($32) {
+ $33 = $8;
+ HEAP32[$33>>2] = -1;
}
- $retval = 0;
- $26 = $retval;
- STACKTOP = sp;return ($26|0);
+ $4 = 0;
+ $55 = $4;
+ STACKTOP = sp;return ($55|0);
}
-function _opus_alloc_11($size) {
- $size = $size|0;
- var $0 = 0, $call = 0, $size$addr = 0, label = 0, sp = 0;
+function _opus_alloc_11($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $size$addr = $size;
- $0 = $size$addr;
- $call = (_malloc($0)|0);
- STACKTOP = sp;return ($call|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = (_malloc($2)|0);
+ STACKTOP = sp;return ($3|0);
}
-function _opus_free_12($ptr) {
- $ptr = $ptr|0;
- var $0 = 0, $ptr$addr = 0, label = 0, sp = 0;
+function _opus_free_12($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $ptr$addr = $ptr;
- $0 = $ptr$addr;
- _free($0);
+ $1 = $0;
+ $2 = $1;
+ _free($2);
STACKTOP = sp;return;
}
-function _downmix_float($_x,$sub,$subframe,$offset,$c1,$c2,$C) {
- $_x = $_x|0;
- $sub = $sub|0;
- $subframe = $subframe|0;
- $offset = $offset|0;
- $c1 = $c1|0;
- $c2 = $c2|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0.0;
- var $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $C$addr = 0, $_x$addr = 0, $add = 0, $add1 = 0, $add10 = 0, $add14 = 0.0, $add26 = 0, $add28 = 0;
- var $add32 = 0.0, $add8 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx13 = 0, $arrayidx29 = 0, $arrayidx3 = 0, $arrayidx31 = 0, $arrayidx49 = 0, $c = 0, $c1$addr = 0, $c2$addr = 0, $cmp = 0, $cmp18 = 0, $cmp21 = 0, $cmp24 = 0, $cmp4 = 0, $cmp40 = 0, $cmp46 = 0, $cmp6 = 0;
- var $conv = 0.0, $div = 0.0, $div43 = 0.0, $inc = 0, $inc16 = 0, $inc34 = 0, $inc37 = 0, $inc52 = 0, $j = 0, $mul = 0, $mul12 = 0.0, $mul2 = 0.0, $mul27 = 0, $mul30 = 0.0, $mul50 = 0.0, $mul9 = 0, $offset$addr = 0, $scale = 0.0, $sub$addr = 0, $subframe$addr = 0;
- var $x = 0, label = 0, sp = 0;
+function _downmix_float($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0.0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0;
+ var $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0;
+ var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0.0, $59 = 0, $60 = 0, $61 = 0;
+ var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0.0, $8 = 0;
+ var $80 = 0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0.0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0;
+ var $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $_x$addr = $_x;
- $sub$addr = $sub;
- $subframe$addr = $subframe;
- $offset$addr = $offset;
- $c1$addr = $c1;
- $c2$addr = $c2;
- $C$addr = $C;
- $0 = $_x$addr;
- $x = $0;
- $j = 0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $18 = $7;
+ $14 = $18;
+ $16 = 0;
while(1) {
- $1 = $j;
- $2 = $subframe$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
+ $19 = $16;
+ $20 = $9;
+ $21 = ($19|0)<($20|0);
+ if (!($21)) {
break;
}
- $3 = $x;
- $4 = $j;
- $5 = $offset$addr;
- $add = (($4) + ($5))|0;
- $6 = $C$addr;
- $mul = Math_imul($add, $6)|0;
- $7 = $c1$addr;
- $add1 = (($mul) + ($7))|0;
- $arrayidx = (($3) + ($add1<<2)|0);
- $8 = +HEAPF32[$arrayidx>>2];
- $mul2 = $8 * 32768.0;
- $9 = $sub$addr;
- $10 = $j;
- $arrayidx3 = (($9) + ($10<<2)|0);
- HEAPF32[$arrayidx3>>2] = $mul2;
- $11 = $j;
- $inc = (($11) + 1)|0;
- $j = $inc;
+ $22 = $14;
+ $23 = $16;
+ $24 = $10;
+ $25 = (($23) + ($24))|0;
+ $26 = $13;
+ $27 = Math_imul($25, $26)|0;
+ $28 = $11;
+ $29 = (($27) + ($28))|0;
+ $30 = (($22) + ($29<<2)|0);
+ $31 = +HEAPF32[$30>>2];
+ $32 = $31 * 32768.0;
+ $33 = $8;
+ $34 = $16;
+ $35 = (($33) + ($34<<2)|0);
+ HEAPF32[$35>>2] = $32;
+ $36 = $16;
+ $37 = (($36) + 1)|0;
+ $16 = $37;
}
- $12 = $c2$addr;
- $cmp4 = ($12|0)>(-1);
+ $38 = $12;
+ $39 = ($38|0)>(-1);
L5: do {
- if ($cmp4) {
- $j = 0;
+ if ($39) {
+ $16 = 0;
while(1) {
- $13 = $j;
- $14 = $subframe$addr;
- $cmp6 = ($13|0)<($14|0);
- if (!($cmp6)) {
+ $40 = $16;
+ $41 = $9;
+ $42 = ($40|0)<($41|0);
+ if (!($42)) {
break L5;
}
- $15 = $x;
- $16 = $j;
- $17 = $offset$addr;
- $add8 = (($16) + ($17))|0;
- $18 = $C$addr;
- $mul9 = Math_imul($add8, $18)|0;
- $19 = $c2$addr;
- $add10 = (($mul9) + ($19))|0;
- $arrayidx11 = (($15) + ($add10<<2)|0);
- $20 = +HEAPF32[$arrayidx11>>2];
- $mul12 = $20 * 32768.0;
- $21 = $sub$addr;
- $22 = $j;
- $arrayidx13 = (($21) + ($22<<2)|0);
- $23 = +HEAPF32[$arrayidx13>>2];
- $add14 = $23 + $mul12;
- HEAPF32[$arrayidx13>>2] = $add14;
- $24 = $j;
- $inc16 = (($24) + 1)|0;
- $j = $inc16;
+ $43 = $14;
+ $44 = $16;
+ $45 = $10;
+ $46 = (($44) + ($45))|0;
+ $47 = $13;
+ $48 = Math_imul($46, $47)|0;
+ $49 = $12;
+ $50 = (($48) + ($49))|0;
+ $51 = (($43) + ($50<<2)|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $52 * 32768.0;
+ $54 = $8;
+ $55 = $16;
+ $56 = (($54) + ($55<<2)|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = $57 + $53;
+ HEAPF32[$56>>2] = $58;
+ $59 = $16;
+ $60 = (($59) + 1)|0;
+ $16 = $60;
}
} else {
- $25 = $c2$addr;
- $cmp18 = ($25|0)==(-2);
- if ($cmp18) {
- $c = 1;
+ $61 = $12;
+ $62 = ($61|0)==(-2);
+ if ($62) {
+ $17 = 1;
while(1) {
- $26 = $c;
- $27 = $C$addr;
- $cmp21 = ($26|0)<($27|0);
- if (!($cmp21)) {
+ $63 = $17;
+ $64 = $13;
+ $65 = ($63|0)<($64|0);
+ if (!($65)) {
break L5;
}
- $j = 0;
+ $16 = 0;
while(1) {
- $28 = $j;
- $29 = $subframe$addr;
- $cmp24 = ($28|0)<($29|0);
- if (!($cmp24)) {
+ $66 = $16;
+ $67 = $9;
+ $68 = ($66|0)<($67|0);
+ if (!($68)) {
break;
}
- $30 = $x;
- $31 = $j;
- $32 = $offset$addr;
- $add26 = (($31) + ($32))|0;
- $33 = $C$addr;
- $mul27 = Math_imul($add26, $33)|0;
- $34 = $c;
- $add28 = (($mul27) + ($34))|0;
- $arrayidx29 = (($30) + ($add28<<2)|0);
- $35 = +HEAPF32[$arrayidx29>>2];
- $mul30 = $35 * 32768.0;
- $36 = $sub$addr;
- $37 = $j;
- $arrayidx31 = (($36) + ($37<<2)|0);
- $38 = +HEAPF32[$arrayidx31>>2];
- $add32 = $38 + $mul30;
- HEAPF32[$arrayidx31>>2] = $add32;
- $39 = $j;
- $inc34 = (($39) + 1)|0;
- $j = $inc34;
+ $69 = $14;
+ $70 = $16;
+ $71 = $10;
+ $72 = (($70) + ($71))|0;
+ $73 = $13;
+ $74 = Math_imul($72, $73)|0;
+ $75 = $17;
+ $76 = (($74) + ($75))|0;
+ $77 = (($69) + ($76<<2)|0);
+ $78 = +HEAPF32[$77>>2];
+ $79 = $78 * 32768.0;
+ $80 = $8;
+ $81 = $16;
+ $82 = (($80) + ($81<<2)|0);
+ $83 = +HEAPF32[$82>>2];
+ $84 = $83 + $79;
+ HEAPF32[$82>>2] = $84;
+ $85 = $16;
+ $86 = (($85) + 1)|0;
+ $16 = $86;
}
- $40 = $c;
- $inc37 = (($40) + 1)|0;
- $c = $inc37;
+ $87 = $17;
+ $88 = (($87) + 1)|0;
+ $17 = $88;
}
}
}
} while(0);
- $scale = 1.0;
- $41 = $C$addr;
- $cmp40 = ($41|0)==(-2);
- if ($cmp40) {
- $42 = $C$addr;
- $conv = (+($42|0));
- $43 = $scale;
- $div = $43 / $conv;
- $scale = $div;
+ $15 = 1.0;
+ $89 = $13;
+ $90 = ($89|0)==(-2);
+ if ($90) {
+ $91 = $13;
+ $92 = (+($91|0));
+ $93 = $15;
+ $94 = $93 / $92;
+ $15 = $94;
} else {
- $44 = $scale;
- $div43 = $44 / 2.0;
- $scale = $div43;
+ $95 = $15;
+ $96 = $95 / 2.0;
+ $15 = $96;
}
- $j = 0;
+ $16 = 0;
while(1) {
- $45 = $j;
- $46 = $subframe$addr;
- $cmp46 = ($45|0)<($46|0);
- if (!($cmp46)) {
+ $97 = $16;
+ $98 = $9;
+ $99 = ($97|0)<($98|0);
+ if (!($99)) {
break;
}
- $47 = $scale;
- $48 = $sub$addr;
- $49 = $j;
- $arrayidx49 = (($48) + ($49<<2)|0);
- $50 = +HEAPF32[$arrayidx49>>2];
- $mul50 = $50 * $47;
- HEAPF32[$arrayidx49>>2] = $mul50;
- $51 = $j;
- $inc52 = (($51) + 1)|0;
- $j = $inc52;
+ $100 = $15;
+ $101 = $8;
+ $102 = $16;
+ $103 = (($101) + ($102<<2)|0);
+ $104 = +HEAPF32[$103>>2];
+ $105 = $104 * $100;
+ HEAPF32[$103>>2] = $105;
+ $106 = $16;
+ $107 = (($106) + 1)|0;
+ $16 = $107;
}
STACKTOP = sp;return;
}
-function _frame_size_select($frame_size,$variable_duration,$Fs) {
- $frame_size = $frame_size|0;
- $variable_duration = $variable_duration|0;
- $Fs = $Fs|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Fs$addr = 0, $cmp = 0, $cmp1 = 0, $cmp12 = 0, $cmp22 = 0, $cmp26 = 0, $cmp29 = 0, $cmp3 = 0, $cmp32 = 0, $cmp35 = 0, $cmp38 = 0;
- var $cmp42 = 0, $cmp7 = 0, $cmp8 = 0, $cond = 0, $div = 0, $div10 = 0, $div11 = 0, $div14 = 0, $div15 = 0, $div5 = 0, $frame_size$addr = 0, $mul = 0, $mul13 = 0, $mul25 = 0, $mul28 = 0, $mul31 = 0, $mul34 = 0, $mul37 = 0, $mul40 = 0, $mul41 = 0;
- var $new_size = 0, $or$cond = 0, $retval = 0, $shl = 0, $shl17 = 0, $sub = 0, $sub16 = 0, $variable_duration$addr = 0, label = 0, sp = 0;
+function _frame_size_select($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $frame_size$addr = $frame_size;
- $variable_duration$addr = $variable_duration;
- $Fs$addr = $Fs;
- $0 = $frame_size$addr;
- $1 = $Fs$addr;
- $div = (($1|0) / 400)&-1;
- $cmp = ($0|0)<($div|0);
- if ($cmp) {
- $retval = -1;
- $28 = $retval;
- STACKTOP = sp;return ($28|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $8 = $4;
+ $9 = $6;
+ $10 = (($9|0) / 400)&-1;
+ $11 = ($8|0)<($10|0);
+ if ($11) {
+ $3 = -1;
+ $69 = $3;
+ STACKTOP = sp;return ($69|0);
}
- $2 = $variable_duration$addr;
- $cmp1 = ($2|0)==(5000);
+ $12 = $5;
+ $13 = ($12|0)==(5000);
do {
- if ($cmp1) {
- $3 = $frame_size$addr;
- $new_size = $3;
+ if ($13) {
+ $14 = $4;
+ $7 = $14;
} else {
- $4 = $variable_duration$addr;
- $cmp3 = ($4|0)==(5010);
- if ($cmp3) {
- $5 = $Fs$addr;
- $div5 = (($5|0) / 50)&-1;
- $new_size = $div5;
+ $15 = $5;
+ $16 = ($15|0)==(5010);
+ if ($16) {
+ $17 = $6;
+ $18 = (($17|0) / 50)&-1;
+ $7 = $18;
break;
}
- $6 = $variable_duration$addr;
- $cmp7 = ($6|0)>=(5001);
- $7 = $variable_duration$addr;
- $cmp8 = ($7|0)<=(5006);
- $or$cond = $cmp7 & $cmp8;
+ $19 = $5;
+ $20 = ($19|0)>=(5001);
+ $21 = $5;
+ $22 = ($21|0)<=(5006);
+ $or$cond = $20 & $22;
if (!($or$cond)) {
- $retval = -1;
- $28 = $retval;
- STACKTOP = sp;return ($28|0);
+ $3 = -1;
+ $69 = $3;
+ STACKTOP = sp;return ($69|0);
}
- $8 = $Fs$addr;
- $mul = ($8*3)|0;
- $div10 = (($mul|0) / 50)&-1;
- $9 = $Fs$addr;
- $div11 = (($9|0) / 400)&-1;
- $10 = $variable_duration$addr;
- $sub = (($10) - 5001)|0;
- $shl = $div11 << $sub;
- $cmp12 = ($div10|0)<($shl|0);
- $11 = $Fs$addr;
- if ($cmp12) {
- $mul13 = ($11*3)|0;
- $div14 = (($mul13|0) / 50)&-1;
- $cond = $div14;
+ $23 = $6;
+ $24 = ($23*3)|0;
+ $25 = (($24|0) / 50)&-1;
+ $26 = $6;
+ $27 = (($26|0) / 400)&-1;
+ $28 = $5;
+ $29 = (($28) - 5001)|0;
+ $30 = $27 << $29;
+ $31 = ($25|0)<($30|0);
+ $32 = $6;
+ if ($31) {
+ $33 = ($32*3)|0;
+ $34 = (($33|0) / 50)&-1;
+ $39 = $34;
} else {
- $div15 = (($11|0) / 400)&-1;
- $12 = $variable_duration$addr;
- $sub16 = (($12) - 5001)|0;
- $shl17 = $div15 << $sub16;
- $cond = $shl17;
+ $35 = (($32|0) / 400)&-1;
+ $36 = $5;
+ $37 = (($36) - 5001)|0;
+ $38 = $35 << $37;
+ $39 = $38;
}
- $new_size = $cond;
+ $7 = $39;
}
} while(0);
- $13 = $new_size;
- $14 = $frame_size$addr;
- $cmp22 = ($13|0)>($14|0);
- if ($cmp22) {
- $retval = -1;
- $28 = $retval;
- STACKTOP = sp;return ($28|0);
+ $40 = $7;
+ $41 = $4;
+ $42 = ($40|0)>($41|0);
+ if ($42) {
+ $3 = -1;
+ $69 = $3;
+ STACKTOP = sp;return ($69|0);
}
- $15 = $new_size;
- $mul25 = ($15*400)|0;
- $16 = $Fs$addr;
- $cmp26 = ($mul25|0)!=($16|0);
- if ($cmp26) {
- $17 = $new_size;
- $mul28 = ($17*200)|0;
- $18 = $Fs$addr;
- $cmp29 = ($mul28|0)!=($18|0);
- if ($cmp29) {
- $19 = $new_size;
- $mul31 = ($19*100)|0;
- $20 = $Fs$addr;
- $cmp32 = ($mul31|0)!=($20|0);
- if ($cmp32) {
- $21 = $new_size;
- $mul34 = ($21*50)|0;
- $22 = $Fs$addr;
- $cmp35 = ($mul34|0)!=($22|0);
- if ($cmp35) {
- $23 = $new_size;
- $mul37 = ($23*25)|0;
- $24 = $Fs$addr;
- $cmp38 = ($mul37|0)!=($24|0);
- if ($cmp38) {
- $25 = $new_size;
- $mul40 = ($25*50)|0;
- $26 = $Fs$addr;
- $mul41 = ($26*3)|0;
- $cmp42 = ($mul40|0)!=($mul41|0);
- if ($cmp42) {
- $retval = -1;
- $28 = $retval;
- STACKTOP = sp;return ($28|0);
+ $43 = $7;
+ $44 = ($43*400)|0;
+ $45 = $6;
+ $46 = ($44|0)!=($45|0);
+ if ($46) {
+ $47 = $7;
+ $48 = ($47*200)|0;
+ $49 = $6;
+ $50 = ($48|0)!=($49|0);
+ if ($50) {
+ $51 = $7;
+ $52 = ($51*100)|0;
+ $53 = $6;
+ $54 = ($52|0)!=($53|0);
+ if ($54) {
+ $55 = $7;
+ $56 = ($55*50)|0;
+ $57 = $6;
+ $58 = ($56|0)!=($57|0);
+ if ($58) {
+ $59 = $7;
+ $60 = ($59*25)|0;
+ $61 = $6;
+ $62 = ($60|0)!=($61|0);
+ if ($62) {
+ $63 = $7;
+ $64 = ($63*50)|0;
+ $65 = $6;
+ $66 = ($65*3)|0;
+ $67 = ($64|0)!=($66|0);
+ if ($67) {
+ $3 = -1;
+ $69 = $3;
+ STACKTOP = sp;return ($69|0);
}
}
}
}
}
}
- $27 = $new_size;
- $retval = $27;
- $28 = $retval;
- STACKTOP = sp;return ($28|0);
+ $68 = $7;
+ $3 = $68;
+ $69 = $3;
+ STACKTOP = sp;return ($69|0);
}
-function _compute_frame_size($analysis_pcm,$frame_size,$variable_duration,$C,$Fs,$bitrate_bps,$delay_compensation,$downmix,$subframe_mem) {
- $analysis_pcm = $analysis_pcm|0;
- $frame_size = $frame_size|0;
- $variable_duration = $variable_duration|0;
- $C = $C|0;
- $Fs = $Fs|0;
- $bitrate_bps = $bitrate_bps|0;
- $delay_compensation = $delay_compensation|0;
- $downmix = $downmix|0;
- $subframe_mem = $subframe_mem|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $Fs$addr = 0, $LM = 0, $analysis_pcm$addr = 0, $bitrate_bps$addr = 0, $call = 0, $call6 = 0, $cmp = 0, $cmp1 = 0, $cmp3 = 0, $cmp7 = 0, $dec = 0, $delay_compensation$addr = 0, $div = 0, $div2 = 0, $div4 = 0, $downmix$addr = 0;
- var $frame_size$addr = 0, $retval = 0, $shl = 0, $shl5 = 0, $subframe_mem$addr = 0, $variable_duration$addr = 0, label = 0, sp = 0;
+function _compute_frame_size($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $analysis_pcm$addr = $analysis_pcm;
- $frame_size$addr = $frame_size;
- $variable_duration$addr = $variable_duration;
- $C$addr = $C;
- $Fs$addr = $Fs;
- $bitrate_bps$addr = $bitrate_bps;
- $delay_compensation$addr = $delay_compensation;
- $downmix$addr = $downmix;
- $subframe_mem$addr = $subframe_mem;
- $0 = $variable_duration$addr;
- $cmp = ($0|0)==(5010);
- if ($cmp) {
- $1 = $frame_size$addr;
- $2 = $Fs$addr;
- $div = (($2|0) / 200)&-1;
- $cmp1 = ($1|0)>=($div|0);
- if ($cmp1) {
- $LM = 3;
- $3 = $analysis_pcm$addr;
- $4 = $frame_size$addr;
- $5 = $C$addr;
- $6 = $Fs$addr;
- $7 = $bitrate_bps$addr;
- $8 = $subframe_mem$addr;
- $9 = $delay_compensation$addr;
- $10 = $downmix$addr;
- $call = (_optimize_framesize($3,$4,$5,$6,$7,0.0,$8,$9,$10)|0);
- $LM = $call;
+ $10 = $0;
+ $11 = $1;
+ $12 = $2;
+ $13 = $3;
+ $14 = $4;
+ $15 = $5;
+ $16 = $6;
+ $17 = $7;
+ $18 = $8;
+ $20 = $12;
+ $21 = ($20|0)==(5010);
+ if ($21) {
+ $22 = $11;
+ $23 = $14;
+ $24 = (($23|0) / 200)&-1;
+ $25 = ($22|0)>=($24|0);
+ if ($25) {
+ $19 = 3;
+ $26 = $10;
+ $27 = $11;
+ $28 = $13;
+ $29 = $14;
+ $30 = $15;
+ $31 = $18;
+ $32 = $16;
+ $33 = $17;
+ $34 = (_optimize_framesize($26,$27,$28,$29,$30,0.0,$31,$32,$33)|0);
+ $19 = $34;
while(1) {
- $11 = $Fs$addr;
- $div2 = (($11|0) / 400)&-1;
- $12 = $LM;
- $shl = $div2 << $12;
- $13 = $frame_size$addr;
- $cmp3 = ($shl|0)>($13|0);
- if (!($cmp3)) {
+ $35 = $14;
+ $36 = (($35|0) / 400)&-1;
+ $37 = $19;
+ $38 = $36 << $37;
+ $39 = $11;
+ $40 = ($38|0)>($39|0);
+ if (!($40)) {
break;
}
- $14 = $LM;
- $dec = (($14) + -1)|0;
- $LM = $dec;
+ $41 = $19;
+ $42 = (($41) + -1)|0;
+ $19 = $42;
}
- $15 = $Fs$addr;
- $div4 = (($15|0) / 400)&-1;
- $16 = $LM;
- $shl5 = $div4 << $16;
- $frame_size$addr = $shl5;
+ $43 = $14;
+ $44 = (($43|0) / 400)&-1;
+ $45 = $19;
+ $46 = $44 << $45;
+ $11 = $46;
} else {
label = 7;
}
@@ -5414,1384 +5416,1384 @@ function _compute_frame_size($analysis_pcm,$frame_size,$variable_duration,$C,$Fs
label = 7;
}
if ((label|0) == 7) {
- $17 = $frame_size$addr;
- $18 = $variable_duration$addr;
- $19 = $Fs$addr;
- $call6 = (_frame_size_select($17,$18,$19)|0);
- $frame_size$addr = $call6;
+ $47 = $11;
+ $48 = $12;
+ $49 = $14;
+ $50 = (_frame_size_select($47,$48,$49)|0);
+ $11 = $50;
}
- $20 = $frame_size$addr;
- $cmp7 = ($20|0)<(0);
- if ($cmp7) {
- $retval = -1;
- $22 = $retval;
- STACKTOP = sp;return ($22|0);
+ $51 = $11;
+ $52 = ($51|0)<(0);
+ if ($52) {
+ $9 = -1;
+ $54 = $9;
+ STACKTOP = sp;return ($54|0);
} else {
- $21 = $frame_size$addr;
- $retval = $21;
- $22 = $retval;
- STACKTOP = sp;return ($22|0);
+ $53 = $11;
+ $9 = $53;
+ $54 = $9;
+ STACKTOP = sp;return ($54|0);
}
return (0)|0;
}
-function _optimize_framesize($x,$len,$C,$Fs,$bitrate,$tonality,$mem,$buffering,$downmix) {
- $x = $x|0;
- $len = $len|0;
- $C = $C|0;
- $Fs = $Fs|0;
- $bitrate = $bitrate|0;
- $tonality = +$tonality;
- $mem = $mem|0;
- $buffering = $buffering|0;
- $downmix = $downmix|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0.0, $4 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0;
- var $45 = 0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0.0, $60 = 0, $61 = 0, $62 = 0.0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $8 = 0, $9 = 0, $C$addr = 0, $Fs$addr = 0, $N = 0;
- var $add = 0.0, $add15 = 0.0, $add22 = 0, $add34 = 0.0, $add35 = 0, $add38 = 0, $add43 = 0, $add46 = 0, $add50 = 0, $add54 = 0, $add60 = 0.0, $add62 = 0, $add71 = 0, $add75 = 0, $add9 = 0.0, $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx13 = 0, $arrayidx14 = 0, $arrayidx17 = 0;
- var $arrayidx30 = 0, $arrayidx36 = 0, $arrayidx39 = 0, $arrayidx45 = 0, $arrayidx47 = 0, $arrayidx6 = 0, $arrayidx66 = 0, $arrayidx7 = 0, $arrayidx72 = 0, $arrayidx73 = 0, $arrayidx76 = 0, $arrayidx77 = 0, $arrayidx8 = 0, $bestLM = 0, $bitrate$addr = 0, $buffering$addr = 0, $call = 0, $cmp = 0, $cmp20 = 0, $cmp23 = 0;
- var $cmp28 = 0, $cmp51 = 0, $cond = 0, $cond56 = 0, $conv = 0.0, $conv64 = 0, $div = 0, $div10 = 0.0, $div16 = 0.0, $div18 = 0, $div19 = 0, $div3 = 0.0, $div37 = 0.0, $div65 = 0, $downmix$addr = 0, $e = 0, $e_1 = 0, $i = 0, $inc = 0, $inc41 = 0;
- var $j = 0, $len$addr = 0, $mem$addr = 0, $memx = 0.0, $mul = 0, $mul21 = 0, $mul33 = 0.0, $mul59 = 0.0, $mul61 = 0, $mul63 = 0.0, $offset = 0, $pos = 0, $saved_stack = 0, $shl = 0, $shl70 = 0, $shl74 = 0, $sub = 0, $sub31 = 0.0, $sub32 = 0.0, $sub44 = 0;
- var $sub5 = 0, $subframe = 0, $tmp = 0.0, $tmpx = 0.0, $tobool = 0, $tobool48 = 0, $tobool68 = 0, $tonality$addr = 0.0, $vla = 0, $vla$alloca_mul = 0, $x$addr = 0, label = 0, sp = 0;
+function _optimize_framesize($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = +$5;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $$alloca_mul = 0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0.0, $118 = 0.0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0.0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0.0, $151 = 0.0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0.0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0.0, $168 = 0, $169 = 0, $17 = 0, $170 = 0;
+ var $171 = 0, $172 = 0, $173 = 0, $174 = 0.0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0.0, $69 = 0.0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0;
+ var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0.0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 304|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(304|0);
- $e = sp + 144|0;
- $e_1 = sp + 36|0;
- $x$addr = $x;
- $len$addr = $len;
- $C$addr = $C;
- $Fs$addr = $Fs;
- $bitrate$addr = $bitrate;
- $tonality$addr = $tonality;
- $mem$addr = $mem;
- $buffering$addr = $buffering;
- $downmix$addr = $downmix;
- $bestLM = 0;
- $0 = $Fs$addr;
- $div = (($0|0) / 400)&-1;
- $subframe = $div;
- $1 = $subframe;
- $2 = (_llvm_stacksave()|0);
- $saved_stack = $2;
- $vla$alloca_mul = $1<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $3 = $mem$addr;
- $4 = +HEAPF32[$3>>2];
- HEAPF32[$e>>2] = $4;
- $5 = $mem$addr;
- $6 = +HEAPF32[$5>>2];
- $add = 1.0000000036274937E-15 + $6;
- $div3 = 1.0 / $add;
- HEAPF32[$e_1>>2] = $div3;
- $7 = $buffering$addr;
- $tobool = ($7|0)!=(0);
- if ($tobool) {
- $8 = $subframe;
- $mul = $8<<1;
- $9 = $buffering$addr;
- $sub = (($mul) - ($9))|0;
- $offset = $sub;
- $10 = $offset;
- $11 = $len$addr;
- $sub5 = (($11) - ($10))|0;
- $len$addr = $sub5;
- $12 = $mem$addr;
- $arrayidx6 = ((($12)) + 4|0);
- $13 = +HEAPF32[$arrayidx6>>2];
- $arrayidx7 = ((($e)) + 4|0);
- HEAPF32[$arrayidx7>>2] = $13;
- $14 = $mem$addr;
- $arrayidx8 = ((($14)) + 4|0);
- $15 = +HEAPF32[$arrayidx8>>2];
- $add9 = 1.0000000036274937E-15 + $15;
- $div10 = 1.0 / $add9;
- $arrayidx11 = ((($e_1)) + 4|0);
- HEAPF32[$arrayidx11>>2] = $div10;
- $16 = $mem$addr;
- $arrayidx12 = ((($16)) + 8|0);
- $17 = +HEAPF32[$arrayidx12>>2];
- $arrayidx13 = ((($e)) + 8|0);
- HEAPF32[$arrayidx13>>2] = $17;
- $18 = $mem$addr;
- $arrayidx14 = ((($18)) + 8|0);
- $19 = +HEAPF32[$arrayidx14>>2];
- $add15 = 1.0000000036274937E-15 + $19;
- $div16 = 1.0 / $add15;
- $arrayidx17 = ((($e_1)) + 8|0);
- HEAPF32[$arrayidx17>>2] = $div16;
- $pos = 3;
+ $20 = sp + 144|0;
+ $21 = sp + 36|0;
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $23 = 0;
+ $31 = $12;
+ $32 = (($31|0) / 400)&-1;
+ $24 = $32;
+ $33 = $24;
+ $34 = (_llvm_stacksave()|0);
+ $27 = $34;
+ $$alloca_mul = $33<<2;
+ $35 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $36 = $15;
+ $37 = +HEAPF32[$36>>2];
+ HEAPF32[$20>>2] = $37;
+ $38 = $15;
+ $39 = +HEAPF32[$38>>2];
+ $40 = 1.0000000036274937E-15 + $39;
+ $41 = 1.0 / $40;
+ HEAPF32[$21>>2] = $41;
+ $42 = $16;
+ $43 = ($42|0)!=(0);
+ if ($43) {
+ $44 = $24;
+ $45 = $44<<1;
+ $46 = $16;
+ $47 = (($45) - ($46))|0;
+ $26 = $47;
+ $48 = $26;
+ $49 = $10;
+ $50 = (($49) - ($48))|0;
+ $10 = $50;
+ $51 = $15;
+ $52 = ((($51)) + 4|0);
+ $53 = +HEAPF32[$52>>2];
+ $54 = ((($20)) + 4|0);
+ HEAPF32[$54>>2] = $53;
+ $55 = $15;
+ $56 = ((($55)) + 4|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = 1.0000000036274937E-15 + $57;
+ $59 = 1.0 / $58;
+ $60 = ((($21)) + 4|0);
+ HEAPF32[$60>>2] = $59;
+ $61 = $15;
+ $62 = ((($61)) + 8|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = ((($20)) + 8|0);
+ HEAPF32[$64>>2] = $63;
+ $65 = $15;
+ $66 = ((($65)) + 8|0);
+ $67 = +HEAPF32[$66>>2];
+ $68 = 1.0000000036274937E-15 + $67;
+ $69 = 1.0 / $68;
+ $70 = ((($21)) + 8|0);
+ HEAPF32[$70>>2] = $69;
+ $25 = 3;
} else {
- $pos = 1;
- $offset = 0;
+ $25 = 1;
+ $26 = 0;
}
- $20 = $len$addr;
- $21 = $subframe;
- $div18 = (($20|0) / ($21|0))&-1;
- $cmp = ($div18|0)<(24);
- if ($cmp) {
- $22 = $len$addr;
- $23 = $subframe;
- $div19 = (($22|0) / ($23|0))&-1;
- $cond = $div19;
+ $71 = $10;
+ $72 = $24;
+ $73 = (($71|0) / ($72|0))&-1;
+ $74 = ($73|0)<(24);
+ if ($74) {
+ $75 = $10;
+ $76 = $24;
+ $77 = (($75|0) / ($76|0))&-1;
+ $78 = $77;
} else {
- $cond = 24;
+ $78 = 24;
}
- $N = $cond;
- $memx = 0.0;
- $i = 0;
+ $18 = $78;
+ $22 = 0.0;
+ $19 = 0;
while(1) {
- $24 = $i;
- $25 = $N;
- $cmp20 = ($24|0)<($25|0);
- if (!($cmp20)) {
+ $79 = $19;
+ $80 = $18;
+ $81 = ($79|0)<($80|0);
+ if (!($81)) {
break;
}
- $tmp = 1.0000000036274937E-15;
- $26 = $downmix$addr;
- $27 = $x$addr;
- $28 = $subframe;
- $29 = $i;
- $30 = $subframe;
- $mul21 = Math_imul($29, $30)|0;
- $31 = $offset;
- $add22 = (($mul21) + ($31))|0;
- $32 = $C$addr;
- FUNCTION_TABLE_viiiiiii[$26 & 31]($27,$vla,$28,$add22,0,-2,$32);
- $33 = $i;
- $cmp23 = ($33|0)==(0);
- if ($cmp23) {
- $34 = +HEAPF32[$vla>>2];
- $memx = $34;
+ $28 = 1.0000000036274937E-15;
+ $82 = $17;
+ $83 = $9;
+ $84 = $24;
+ $85 = $19;
+ $86 = $24;
+ $87 = Math_imul($85, $86)|0;
+ $88 = $26;
+ $89 = (($87) + ($88))|0;
+ $90 = $11;
+ FUNCTION_TABLE_viiiiiii[$82 & 31]($83,$35,$84,$89,0,-2,$90);
+ $91 = $19;
+ $92 = ($91|0)==(0);
+ if ($92) {
+ $93 = +HEAPF32[$35>>2];
+ $22 = $93;
}
- $j = 0;
+ $30 = 0;
while(1) {
- $35 = $j;
- $36 = $subframe;
- $cmp28 = ($35|0)<($36|0);
- if (!($cmp28)) {
+ $94 = $30;
+ $95 = $24;
+ $96 = ($94|0)<($95|0);
+ if (!($96)) {
break;
}
- $37 = $j;
- $arrayidx30 = (($vla) + ($37<<2)|0);
- $38 = +HEAPF32[$arrayidx30>>2];
- $tmpx = $38;
- $39 = $tmpx;
- $40 = $memx;
- $sub31 = $39 - $40;
- $41 = $tmpx;
- $42 = $memx;
- $sub32 = $41 - $42;
- $mul33 = $sub31 * $sub32;
- $43 = $tmp;
- $add34 = $43 + $mul33;
- $tmp = $add34;
- $44 = $tmpx;
- $memx = $44;
- $45 = $j;
- $inc = (($45) + 1)|0;
- $j = $inc;
+ $97 = $30;
+ $98 = (($35) + ($97<<2)|0);
+ $99 = +HEAPF32[$98>>2];
+ $29 = $99;
+ $100 = $29;
+ $101 = $22;
+ $102 = $100 - $101;
+ $103 = $29;
+ $104 = $22;
+ $105 = $103 - $104;
+ $106 = $102 * $105;
+ $107 = $28;
+ $108 = $107 + $106;
+ $28 = $108;
+ $109 = $29;
+ $22 = $109;
+ $110 = $30;
+ $111 = (($110) + 1)|0;
+ $30 = $111;
}
- $46 = $tmp;
- $47 = $i;
- $48 = $pos;
- $add35 = (($47) + ($48))|0;
- $arrayidx36 = (($e) + ($add35<<2)|0);
- HEAPF32[$arrayidx36>>2] = $46;
- $49 = $tmp;
- $div37 = 1.0 / $49;
- $50 = $i;
- $51 = $pos;
- $add38 = (($50) + ($51))|0;
- $arrayidx39 = (($e_1) + ($add38<<2)|0);
- HEAPF32[$arrayidx39>>2] = $div37;
- $52 = $i;
- $inc41 = (($52) + 1)|0;
- $i = $inc41;
+ $112 = $28;
+ $113 = $19;
+ $114 = $25;
+ $115 = (($113) + ($114))|0;
+ $116 = (($20) + ($115<<2)|0);
+ HEAPF32[$116>>2] = $112;
+ $117 = $28;
+ $118 = 1.0 / $117;
+ $119 = $19;
+ $120 = $25;
+ $121 = (($119) + ($120))|0;
+ $122 = (($21) + ($121<<2)|0);
+ HEAPF32[$122>>2] = $118;
+ $123 = $19;
+ $124 = (($123) + 1)|0;
+ $19 = $124;
}
- $53 = $i;
- $54 = $pos;
- $add43 = (($53) + ($54))|0;
- $sub44 = (($add43) - 1)|0;
- $arrayidx45 = (($e) + ($sub44<<2)|0);
- $55 = +HEAPF32[$arrayidx45>>2];
- $56 = $i;
- $57 = $pos;
- $add46 = (($56) + ($57))|0;
- $arrayidx47 = (($e) + ($add46<<2)|0);
- HEAPF32[$arrayidx47>>2] = $55;
- $58 = $buffering$addr;
- $tobool48 = ($58|0)!=(0);
- if ($tobool48) {
- $59 = $N;
- $add50 = (($59) + 2)|0;
- $cmp51 = (24)<($add50|0);
- $60 = $N;
- $add54 = (($60) + 2)|0;
- $cond56 = $cmp51 ? 24 : $add54;
- $N = $cond56;
+ $125 = $19;
+ $126 = $25;
+ $127 = (($125) + ($126))|0;
+ $128 = (($127) - 1)|0;
+ $129 = (($20) + ($128<<2)|0);
+ $130 = +HEAPF32[$129>>2];
+ $131 = $19;
+ $132 = $25;
+ $133 = (($131) + ($132))|0;
+ $134 = (($20) + ($133<<2)|0);
+ HEAPF32[$134>>2] = $130;
+ $135 = $16;
+ $136 = ($135|0)!=(0);
+ if ($136) {
+ $137 = $18;
+ $138 = (($137) + 2)|0;
+ $139 = (24)<($138|0);
+ $140 = $18;
+ $141 = (($140) + 2)|0;
+ $142 = $139 ? 24 : $141;
+ $18 = $142;
}
- $61 = $N;
- $62 = $tonality$addr;
- $mul59 = 0.5 * $62;
- $add60 = 1.0 + $mul59;
- $63 = $C$addr;
- $mul61 = ($63*60)|0;
- $add62 = (($mul61) + 40)|0;
- $conv = (+($add62|0));
- $mul63 = $add60 * $conv;
- $conv64 = (~~(($mul63)));
- $64 = $bitrate$addr;
- $div65 = (($64|0) / 400)&-1;
- $call = (_transient_viterbi($e,$e_1,$61,$conv64,$div65)|0);
- $bestLM = $call;
- $65 = $bestLM;
- $shl = 1 << $65;
- $arrayidx66 = (($e) + ($shl<<2)|0);
- $66 = +HEAPF32[$arrayidx66>>2];
- $67 = $mem$addr;
- HEAPF32[$67>>2] = $66;
- $68 = $buffering$addr;
- $tobool68 = ($68|0)!=(0);
- if (!($tobool68)) {
- $75 = $bestLM;
- $76 = $saved_stack;
- _llvm_stackrestore(($76|0));
- STACKTOP = sp;return ($75|0);
+ $143 = $18;
+ $144 = $14;
+ $145 = 0.5 * $144;
+ $146 = 1.0 + $145;
+ $147 = $11;
+ $148 = ($147*60)|0;
+ $149 = (($148) + 40)|0;
+ $150 = (+($149|0));
+ $151 = $146 * $150;
+ $152 = (~~(($151)));
+ $153 = $13;
+ $154 = (($153|0) / 400)&-1;
+ $155 = (_transient_viterbi($20,$21,$143,$152,$154)|0);
+ $23 = $155;
+ $156 = $23;
+ $157 = 1 << $156;
+ $158 = (($20) + ($157<<2)|0);
+ $159 = +HEAPF32[$158>>2];
+ $160 = $15;
+ HEAPF32[$160>>2] = $159;
+ $161 = $16;
+ $162 = ($161|0)!=(0);
+ if (!($162)) {
+ $177 = $23;
+ $178 = $27;
+ _llvm_stackrestore(($178|0));
+ STACKTOP = sp;return ($177|0);
}
- $69 = $bestLM;
- $shl70 = 1 << $69;
- $add71 = (($shl70) + 1)|0;
- $arrayidx72 = (($e) + ($add71<<2)|0);
- $70 = +HEAPF32[$arrayidx72>>2];
- $71 = $mem$addr;
- $arrayidx73 = ((($71)) + 4|0);
- HEAPF32[$arrayidx73>>2] = $70;
- $72 = $bestLM;
- $shl74 = 1 << $72;
- $add75 = (($shl74) + 2)|0;
- $arrayidx76 = (($e) + ($add75<<2)|0);
- $73 = +HEAPF32[$arrayidx76>>2];
- $74 = $mem$addr;
- $arrayidx77 = ((($74)) + 8|0);
- HEAPF32[$arrayidx77>>2] = $73;
- $75 = $bestLM;
- $76 = $saved_stack;
- _llvm_stackrestore(($76|0));
- STACKTOP = sp;return ($75|0);
+ $163 = $23;
+ $164 = 1 << $163;
+ $165 = (($164) + 1)|0;
+ $166 = (($20) + ($165<<2)|0);
+ $167 = +HEAPF32[$166>>2];
+ $168 = $15;
+ $169 = ((($168)) + 4|0);
+ HEAPF32[$169>>2] = $167;
+ $170 = $23;
+ $171 = 1 << $170;
+ $172 = (($171) + 2)|0;
+ $173 = (($20) + ($172<<2)|0);
+ $174 = +HEAPF32[$173>>2];
+ $175 = $15;
+ $176 = ((($175)) + 8|0);
+ HEAPF32[$176>>2] = $174;
+ $177 = $23;
+ $178 = $27;
+ _llvm_stackrestore(($178|0));
+ STACKTOP = sp;return ($177|0);
}
-function _transient_viterbi($E,$E_1,$N,$frame_cost,$rate) {
- $E = $E|0;
- $E_1 = $E_1|0;
- $N = $N|0;
- $frame_cost = $frame_cost|0;
- $rate = $rate|0;
- var $$sink = 0, $$sink1 = 0.0, $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
- var $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0;
- var $43 = 0, $44 = 0, $45 = 0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0;
- var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0;
- var $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0, $83 = 0, $84 = 0.0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $E$addr = 0, $E_1$addr = 0, $N$addr = 0, $add = 0, $add$ptr = 0;
- var $add$ptr85 = 0, $add114 = 0.0, $add15 = 0, $add17 = 0.0, $add64 = 0, $add71 = 0, $add83 = 0, $add87 = 0, $add90 = 0.0, $arrayidx106 = 0, $arrayidx111 = 0, $arrayidx111$sink = 0, $arrayidx113 = 0, $arrayidx123 = 0, $arrayidx124 = 0, $arrayidx130 = 0, $arrayidx131 = 0, $arrayidx136 = 0, $arrayidx137 = 0, $arrayidx147 = 0;
- var $arrayidx148 = 0, $arrayidx21 = 0, $arrayidx24 = 0, $arrayidx37 = 0, $arrayidx39 = 0, $arrayidx40 = 0, $arrayidx41 = 0, $arrayidx43 = 0, $arrayidx44 = 0, $arrayidx52 = 0, $arrayidx54 = 0, $arrayidx56 = 0, $arrayidx57 = 0, $arrayidx63 = 0, $arrayidx67 = 0, $arrayidx7 = 0, $arrayidx74 = 0, $arrayidx76 = 0, $arrayidx9 = 0, $arrayidx92 = 0;
- var $arrayidx94 = 0, $best_cost = 0.0, $best_state = 0, $call = 0.0, $call88 = 0.0, $cmp = 0, $cmp1 = 0, $cmp11 = 0, $cmp126 = 0, $cmp132 = 0, $cmp144 = 0, $cmp29 = 0, $cmp33 = 0, $cmp49 = 0, $cmp5 = 0, $cmp59 = 0, $cmp68 = 0, $cmp97 = 0, $conv = 0.0, $conv101 = 0.0;
- var $conv104 = 0.0, $conv14 = 0.0, $conv84 = 0.0, $cost = 0, $curr_cost = 0.0, $dec = 0, $div = 0.0, $div105 = 0.0, $factor = 0.0, $frame_cost$addr = 0, $i = 0, $inc = 0, $inc117 = 0, $inc120 = 0, $inc140 = 0, $inc26 = 0, $inc46 = 0, $inc79 = 0, $j = 0, $k = 0;
- var $min_cost = 0.0, $mul = 0, $mul102 = 0.0, $mul16 = 0.0, $mul18 = 0.0, $mul82 = 0, $mul89 = 0.0, $mul91 = 0.0, $rate$addr = 0, $shl = 0, $shl103 = 0, $shl112 = 0, $shl20 = 0, $shl23 = 0, $shl53 = 0, $shl65 = 0, $shl72 = 0, $shl75 = 0, $shl81 = 0, $shl93 = 0;
- var $shl96 = 0, $states = 0, $sub = 0.0, $sub100 = 0, $sub122 = 0, $sub129 = 0, $sub135 = 0, $sub36 = 0, $sub38 = 0, $sub42 = 0, $sub55 = 0, $sub62 = 0, $sub66 = 0, $sub73 = 0, $sub86 = 0, $sub95 = 0, $tmp = 0.0, label = 0, sp = 0;
+function _transient_viterbi($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$sink = 0, $$sink3 = 0.0, $$sink4 = 0, $10 = 0, $100 = 0.0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0;
+ var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0.0, $130 = 0, $131 = 0, $132 = 0;
+ var $133 = 0.0, $134 = 0.0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0.0, $15 = 0.0, $150 = 0.0;
+ var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0.0, $168 = 0, $169 = 0;
+ var $17 = 0, $170 = 0.0, $171 = 0.0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0.0, $180 = 0.0, $181 = 0.0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
+ var $188 = 0, $189 = 0.0, $19 = 0.0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0.0, $198 = 0.0, $199 = 0, $20 = 0.0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0.0;
+ var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0;
+ var $28 = 0.0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0.0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 3136|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(3136|0);
- $cost = sp + 1568|0;
- $states = sp + 32|0;
- $E$addr = $E;
- $E_1$addr = $E_1;
- $N$addr = $N;
- $frame_cost$addr = $frame_cost;
- $rate$addr = $rate;
- $0 = $rate$addr;
- $cmp = ($0|0)<(80);
+ $11 = sp + 1568|0;
+ $12 = sp + 32|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $21 = $9;
+ $22 = ($21|0)<(80);
do {
- if ($cmp) {
- $factor = 0.0;
+ if ($22) {
+ $15 = 0.0;
} else {
- $1 = $rate$addr;
- $cmp1 = ($1|0)>(160);
- if ($cmp1) {
- $factor = 1.0;
+ $23 = $9;
+ $24 = ($23|0)>(160);
+ if ($24) {
+ $15 = 1.0;
break;
} else {
- $2 = $rate$addr;
- $conv = (+($2|0));
- $sub = $conv - 80.0;
- $div = $sub / 80.0;
- $factor = $div;
+ $25 = $9;
+ $26 = (+($25|0));
+ $27 = $26 - 80.0;
+ $28 = $27 / 80.0;
+ $15 = $28;
break;
}
}
} while(0);
- $i = 0;
+ $10 = 0;
while(1) {
- $3 = $i;
- $cmp5 = ($3|0)<(16);
- if (!($cmp5)) {
+ $29 = $10;
+ $30 = ($29|0)<(16);
+ if (!($30)) {
break;
}
- $4 = $i;
- $arrayidx7 = (($states) + ($4<<2)|0);
- HEAP32[$arrayidx7>>2] = -1;
- $5 = $i;
- $arrayidx9 = (($cost) + ($5<<2)|0);
- HEAPF32[$arrayidx9>>2] = 1.0E+10;
- $6 = $i;
- $inc = (($6) + 1)|0;
- $i = $inc;
+ $31 = $10;
+ $32 = (($12) + ($31<<2)|0);
+ HEAP32[$32>>2] = -1;
+ $33 = $10;
+ $34 = (($11) + ($33<<2)|0);
+ HEAPF32[$34>>2] = 1.0E+10;
+ $35 = $10;
+ $36 = (($35) + 1)|0;
+ $10 = $36;
}
- $i = 0;
+ $10 = 0;
while(1) {
- $7 = $i;
- $cmp11 = ($7|0)<(4);
- if (!($cmp11)) {
+ $37 = $10;
+ $38 = ($37|0)<(4);
+ if (!($38)) {
break;
}
- $8 = $frame_cost$addr;
- $9 = $rate$addr;
- $10 = $i;
- $shl = 1 << $10;
- $mul = Math_imul($9, $shl)|0;
- $add = (($8) + ($mul))|0;
- $conv14 = (+($add|0));
- $11 = $factor;
- $12 = $E$addr;
- $13 = $E_1$addr;
- $14 = $i;
- $15 = $N$addr;
- $add15 = (($15) + 1)|0;
- $call = (+_transient_boost($12,$13,$14,$add15));
- $mul16 = $11 * $call;
- $add17 = 1.0 + $mul16;
- $mul18 = $conv14 * $add17;
- $16 = $i;
- $shl20 = 1 << $16;
- $arrayidx21 = (($cost) + ($shl20<<2)|0);
- HEAPF32[$arrayidx21>>2] = $mul18;
- $17 = $i;
- $18 = $i;
- $shl23 = 1 << $18;
- $arrayidx24 = (($states) + ($shl23<<2)|0);
- HEAP32[$arrayidx24>>2] = $17;
- $19 = $i;
- $inc26 = (($19) + 1)|0;
- $i = $inc26;
+ $39 = $8;
+ $40 = $9;
+ $41 = $10;
+ $42 = 1 << $41;
+ $43 = Math_imul($40, $42)|0;
+ $44 = (($39) + ($43))|0;
+ $45 = (+($44|0));
+ $46 = $15;
+ $47 = $5;
+ $48 = $6;
+ $49 = $10;
+ $50 = $7;
+ $51 = (($50) + 1)|0;
+ $52 = (+_transient_boost($47,$48,$49,$51));
+ $53 = $46 * $52;
+ $54 = 1.0 + $53;
+ $55 = $45 * $54;
+ $56 = $10;
+ $57 = 1 << $56;
+ $58 = (($11) + ($57<<2)|0);
+ HEAPF32[$58>>2] = $55;
+ $59 = $10;
+ $60 = $10;
+ $61 = 1 << $60;
+ $62 = (($12) + ($61<<2)|0);
+ HEAP32[$62>>2] = $59;
+ $63 = $10;
+ $64 = (($63) + 1)|0;
+ $10 = $64;
}
- $i = 1;
+ $10 = 1;
while(1) {
- $20 = $i;
- $21 = $N$addr;
- $cmp29 = ($20|0)<($21|0);
- if (!($cmp29)) {
+ $65 = $10;
+ $66 = $7;
+ $67 = ($65|0)<($66|0);
+ if (!($67)) {
break;
}
- $j = 2;
+ $16 = 2;
while(1) {
- $22 = $j;
- $cmp33 = ($22|0)<(16);
- if (!($cmp33)) {
+ $68 = $16;
+ $69 = ($68|0)<(16);
+ if (!($69)) {
break;
}
- $23 = $i;
- $sub36 = (($23) - 1)|0;
- $arrayidx37 = (($cost) + ($sub36<<6)|0);
- $24 = $j;
- $sub38 = (($24) - 1)|0;
- $arrayidx39 = (($arrayidx37) + ($sub38<<2)|0);
- $25 = +HEAPF32[$arrayidx39>>2];
- $26 = $i;
- $arrayidx40 = (($cost) + ($26<<6)|0);
- $27 = $j;
- $arrayidx41 = (($arrayidx40) + ($27<<2)|0);
- HEAPF32[$arrayidx41>>2] = $25;
- $28 = $j;
- $sub42 = (($28) - 1)|0;
- $29 = $i;
- $arrayidx43 = (($states) + ($29<<6)|0);
- $30 = $j;
- $arrayidx44 = (($arrayidx43) + ($30<<2)|0);
- HEAP32[$arrayidx44>>2] = $sub42;
- $31 = $j;
- $inc46 = (($31) + 1)|0;
- $j = $inc46;
+ $70 = $10;
+ $71 = (($70) - 1)|0;
+ $72 = (($11) + ($71<<6)|0);
+ $73 = $16;
+ $74 = (($73) - 1)|0;
+ $75 = (($72) + ($74<<2)|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $10;
+ $78 = (($11) + ($77<<6)|0);
+ $79 = $16;
+ $80 = (($78) + ($79<<2)|0);
+ HEAPF32[$80>>2] = $76;
+ $81 = $16;
+ $82 = (($81) - 1)|0;
+ $83 = $10;
+ $84 = (($12) + ($83<<6)|0);
+ $85 = $16;
+ $86 = (($84) + ($85<<2)|0);
+ HEAP32[$86>>2] = $82;
+ $87 = $16;
+ $88 = (($87) + 1)|0;
+ $16 = $88;
}
- $j = 0;
+ $16 = 0;
while(1) {
- $32 = $j;
- $cmp49 = ($32|0)<(4);
- $33 = $i;
- if (!($cmp49)) {
+ $89 = $16;
+ $90 = ($89|0)<(4);
+ $91 = $10;
+ if (!($90)) {
break;
}
- $arrayidx52 = (($states) + ($33<<6)|0);
- $34 = $j;
- $shl53 = 1 << $34;
- $arrayidx54 = (($arrayidx52) + ($shl53<<2)|0);
- HEAP32[$arrayidx54>>2] = 1;
- $35 = $i;
- $sub55 = (($35) - 1)|0;
- $arrayidx56 = (($cost) + ($sub55<<6)|0);
- $arrayidx57 = ((($arrayidx56)) + 4|0);
- $36 = +HEAPF32[$arrayidx57>>2];
- $min_cost = $36;
- $k = 1;
+ $92 = (($12) + ($91<<6)|0);
+ $93 = $16;
+ $94 = 1 << $93;
+ $95 = (($92) + ($94<<2)|0);
+ HEAP32[$95>>2] = 1;
+ $96 = $10;
+ $97 = (($96) - 1)|0;
+ $98 = (($11) + ($97<<6)|0);
+ $99 = ((($98)) + 4|0);
+ $100 = +HEAPF32[$99>>2];
+ $18 = $100;
+ $17 = 1;
while(1) {
- $37 = $k;
- $cmp59 = ($37|0)<(4);
- if (!($cmp59)) {
+ $101 = $17;
+ $102 = ($101|0)<(4);
+ if (!($102)) {
break;
}
- $38 = $i;
- $sub62 = (($38) - 1)|0;
- $arrayidx63 = (($cost) + ($sub62<<6)|0);
- $39 = $k;
- $add64 = (($39) + 1)|0;
- $shl65 = 1 << $add64;
- $sub66 = (($shl65) - 1)|0;
- $arrayidx67 = (($arrayidx63) + ($sub66<<2)|0);
- $40 = +HEAPF32[$arrayidx67>>2];
- $tmp = $40;
- $41 = $tmp;
- $42 = $min_cost;
- $cmp68 = $41 < $42;
- if ($cmp68) {
- $43 = $k;
- $add71 = (($43) + 1)|0;
- $shl72 = 1 << $add71;
- $sub73 = (($shl72) - 1)|0;
- $44 = $i;
- $arrayidx74 = (($states) + ($44<<6)|0);
- $45 = $j;
- $shl75 = 1 << $45;
- $arrayidx76 = (($arrayidx74) + ($shl75<<2)|0);
- HEAP32[$arrayidx76>>2] = $sub73;
- $46 = $tmp;
- $min_cost = $46;
+ $103 = $10;
+ $104 = (($103) - 1)|0;
+ $105 = (($11) + ($104<<6)|0);
+ $106 = $17;
+ $107 = (($106) + 1)|0;
+ $108 = 1 << $107;
+ $109 = (($108) - 1)|0;
+ $110 = (($105) + ($109<<2)|0);
+ $111 = +HEAPF32[$110>>2];
+ $20 = $111;
+ $112 = $20;
+ $113 = $18;
+ $114 = $112 < $113;
+ if ($114) {
+ $115 = $17;
+ $116 = (($115) + 1)|0;
+ $117 = 1 << $116;
+ $118 = (($117) - 1)|0;
+ $119 = $10;
+ $120 = (($12) + ($119<<6)|0);
+ $121 = $16;
+ $122 = 1 << $121;
+ $123 = (($120) + ($122<<2)|0);
+ HEAP32[$123>>2] = $118;
+ $124 = $20;
+ $18 = $124;
}
- $47 = $k;
- $inc79 = (($47) + 1)|0;
- $k = $inc79;
+ $125 = $17;
+ $126 = (($125) + 1)|0;
+ $17 = $126;
}
- $48 = $frame_cost$addr;
- $49 = $rate$addr;
- $50 = $j;
- $shl81 = 1 << $50;
- $mul82 = Math_imul($49, $shl81)|0;
- $add83 = (($48) + ($mul82))|0;
- $conv84 = (+($add83|0));
- $51 = $factor;
- $52 = $E$addr;
- $53 = $i;
- $add$ptr = (($52) + ($53<<2)|0);
- $54 = $E_1$addr;
- $55 = $i;
- $add$ptr85 = (($54) + ($55<<2)|0);
- $56 = $j;
- $57 = $N$addr;
- $58 = $i;
- $sub86 = (($57) - ($58))|0;
- $add87 = (($sub86) + 1)|0;
- $call88 = (+_transient_boost($add$ptr,$add$ptr85,$56,$add87));
- $mul89 = $51 * $call88;
- $add90 = 1.0 + $mul89;
- $mul91 = $conv84 * $add90;
- $curr_cost = $mul91;
- $59 = $min_cost;
- $60 = $i;
- $arrayidx92 = (($cost) + ($60<<6)|0);
- $61 = $j;
- $shl93 = 1 << $61;
- $arrayidx94 = (($arrayidx92) + ($shl93<<2)|0);
- HEAPF32[$arrayidx94>>2] = $59;
- $62 = $N$addr;
- $63 = $i;
- $sub95 = (($62) - ($63))|0;
- $64 = $j;
- $shl96 = 1 << $64;
- $cmp97 = ($sub95|0)<($shl96|0);
- $65 = $curr_cost;
- if ($cmp97) {
- $66 = $N$addr;
- $67 = $i;
- $sub100 = (($66) - ($67))|0;
- $conv101 = (+($sub100|0));
- $mul102 = $65 * $conv101;
- $68 = $j;
- $shl103 = 1 << $68;
- $conv104 = (+($shl103|0));
- $div105 = $mul102 / $conv104;
- $69 = $i;
- $arrayidx106 = (($cost) + ($69<<6)|0);
- $70 = $j;
- $$sink = $70;$$sink1 = $div105;$arrayidx111$sink = $arrayidx106;
+ $127 = $8;
+ $128 = $9;
+ $129 = $16;
+ $130 = 1 << $129;
+ $131 = Math_imul($128, $130)|0;
+ $132 = (($127) + ($131))|0;
+ $133 = (+($132|0));
+ $134 = $15;
+ $135 = $5;
+ $136 = $10;
+ $137 = (($135) + ($136<<2)|0);
+ $138 = $6;
+ $139 = $10;
+ $140 = (($138) + ($139<<2)|0);
+ $141 = $16;
+ $142 = $7;
+ $143 = $10;
+ $144 = (($142) - ($143))|0;
+ $145 = (($144) + 1)|0;
+ $146 = (+_transient_boost($137,$140,$141,$145));
+ $147 = $134 * $146;
+ $148 = 1.0 + $147;
+ $149 = $133 * $148;
+ $19 = $149;
+ $150 = $18;
+ $151 = $10;
+ $152 = (($11) + ($151<<6)|0);
+ $153 = $16;
+ $154 = 1 << $153;
+ $155 = (($152) + ($154<<2)|0);
+ HEAPF32[$155>>2] = $150;
+ $156 = $7;
+ $157 = $10;
+ $158 = (($156) - ($157))|0;
+ $159 = $16;
+ $160 = 1 << $159;
+ $161 = ($158|0)<($160|0);
+ $162 = $19;
+ if ($161) {
+ $163 = $7;
+ $164 = $10;
+ $165 = (($163) - ($164))|0;
+ $166 = (+($165|0));
+ $167 = $162 * $166;
+ $168 = $16;
+ $169 = 1 << $168;
+ $170 = (+($169|0));
+ $171 = $167 / $170;
+ $172 = $10;
+ $173 = (($11) + ($172<<6)|0);
+ $174 = $16;
+ $$sink = $174;$$sink3 = $171;$$sink4 = $173;
} else {
- $71 = $i;
- $arrayidx111 = (($cost) + ($71<<6)|0);
- $72 = $j;
- $$sink = $72;$$sink1 = $65;$arrayidx111$sink = $arrayidx111;
+ $175 = $10;
+ $176 = (($11) + ($175<<6)|0);
+ $177 = $16;
+ $$sink = $177;$$sink3 = $162;$$sink4 = $176;
}
- $shl112 = 1 << $$sink;
- $arrayidx113 = (($arrayidx111$sink) + ($shl112<<2)|0);
- $73 = +HEAPF32[$arrayidx113>>2];
- $add114 = $73 + $$sink1;
- HEAPF32[$arrayidx113>>2] = $add114;
- $74 = $j;
- $inc117 = (($74) + 1)|0;
- $j = $inc117;
+ $178 = 1 << $$sink;
+ $179 = (($$sink4) + ($178<<2)|0);
+ $180 = +HEAPF32[$179>>2];
+ $181 = $180 + $$sink3;
+ HEAPF32[$179>>2] = $181;
+ $182 = $16;
+ $183 = (($182) + 1)|0;
+ $16 = $183;
}
- $inc120 = (($33) + 1)|0;
- $i = $inc120;
+ $184 = (($91) + 1)|0;
+ $10 = $184;
}
- $best_state = 1;
- $75 = $N$addr;
- $sub122 = (($75) - 1)|0;
- $arrayidx123 = (($cost) + ($sub122<<6)|0);
- $arrayidx124 = ((($arrayidx123)) + 4|0);
- $76 = +HEAPF32[$arrayidx124>>2];
- $best_cost = $76;
- $i = 2;
+ $14 = 1;
+ $185 = $7;
+ $186 = (($185) - 1)|0;
+ $187 = (($11) + ($186<<6)|0);
+ $188 = ((($187)) + 4|0);
+ $189 = +HEAPF32[$188>>2];
+ $13 = $189;
+ $10 = 2;
while(1) {
- $77 = $i;
- $cmp126 = ($77|0)<(16);
- $78 = $N$addr;
- $sub129 = (($78) - 1)|0;
- if (!($cmp126)) {
+ $190 = $10;
+ $191 = ($190|0)<(16);
+ $192 = $7;
+ $193 = (($192) - 1)|0;
+ if (!($191)) {
break;
}
- $arrayidx130 = (($cost) + ($sub129<<6)|0);
- $79 = $i;
- $arrayidx131 = (($arrayidx130) + ($79<<2)|0);
- $80 = +HEAPF32[$arrayidx131>>2];
- $81 = $best_cost;
- $cmp132 = $80 < $81;
- if ($cmp132) {
- $82 = $N$addr;
- $sub135 = (($82) - 1)|0;
- $arrayidx136 = (($cost) + ($sub135<<6)|0);
- $83 = $i;
- $arrayidx137 = (($arrayidx136) + ($83<<2)|0);
- $84 = +HEAPF32[$arrayidx137>>2];
- $best_cost = $84;
- $85 = $i;
- $best_state = $85;
+ $194 = (($11) + ($193<<6)|0);
+ $195 = $10;
+ $196 = (($194) + ($195<<2)|0);
+ $197 = +HEAPF32[$196>>2];
+ $198 = $13;
+ $199 = $197 < $198;
+ if ($199) {
+ $200 = $7;
+ $201 = (($200) - 1)|0;
+ $202 = (($11) + ($201<<6)|0);
+ $203 = $10;
+ $204 = (($202) + ($203<<2)|0);
+ $205 = +HEAPF32[$204>>2];
+ $13 = $205;
+ $206 = $10;
+ $14 = $206;
}
- $86 = $i;
- $inc140 = (($86) + 1)|0;
- $i = $inc140;
+ $207 = $10;
+ $208 = (($207) + 1)|0;
+ $10 = $208;
}
- $i = $sub129;
+ $10 = $193;
while(1) {
- $87 = $i;
- $cmp144 = ($87|0)>=(0);
- if (!($cmp144)) {
+ $209 = $10;
+ $210 = ($209|0)>=(0);
+ if (!($210)) {
break;
}
- $88 = $i;
- $arrayidx147 = (($states) + ($88<<6)|0);
- $89 = $best_state;
- $arrayidx148 = (($arrayidx147) + ($89<<2)|0);
- $90 = HEAP32[$arrayidx148>>2]|0;
- $best_state = $90;
- $91 = $i;
- $dec = (($91) + -1)|0;
- $i = $dec;
+ $211 = $10;
+ $212 = (($12) + ($211<<6)|0);
+ $213 = $14;
+ $214 = (($212) + ($213<<2)|0);
+ $215 = HEAP32[$214>>2]|0;
+ $14 = $215;
+ $216 = $10;
+ $217 = (($216) + -1)|0;
+ $10 = $217;
}
- $92 = $best_state;
- STACKTOP = sp;return ($92|0);
+ $218 = $14;
+ STACKTOP = sp;return ($218|0);
}
-function _transient_boost($E,$E_1,$LM,$maxM) {
- $E = $E|0;
- $E_1 = $E_1|0;
- $LM = $LM|0;
- $maxM = $maxM|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0.0, $9 = 0.0, $E$addr = 0, $E_1$addr = 0, $LM$addr = 0, $M = 0, $add = 0, $add2 = 0, $add4 = 0.0, $add6 = 0.0, $arrayidx = 0, $arrayidx5 = 0, $call = 0.0, $call34 = 0.0, $cmp = 0, $cmp19 = 0, $cmp25 = 0, $cmp3 = 0, $cmp9 = 0;
- var $cond = 0, $cond16 = 0.0, $cond32 = 0.0, $cond37 = 0.0, $conv = 0.0, $conv17 = 0.0, $conv18 = 0.0, $conv33 = 0.0, $conv35 = 0.0, $div = 0.0, $i = 0, $inc = 0, $maxM$addr = 0, $metric = 0.0, $mul = 0.0, $mul14 = 0.0, $mul24 = 0.0, $mul30 = 0.0, $mul7 = 0, $mul8 = 0.0;
- var $shl = 0, $shl1 = 0, $sub = 0.0, $sub13 = 0.0, $sub23 = 0.0, $sub29 = 0.0, $sumE = 0.0, $sumE_1 = 0.0, label = 0, sp = 0;
+function _transient_boost($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0.0;
+ var $30 = 0.0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0, $46 = 0.0, $47 = 0.0, $48 = 0.0;
+ var $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0, $64 = 0.0, $65 = 0.0, $66 = 0.0;
+ var $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $E$addr = $E;
- $E_1$addr = $E_1;
- $LM$addr = $LM;
- $maxM$addr = $maxM;
- $sumE = 0.0;
- $sumE_1 = 0.0;
- $0 = $maxM$addr;
- $1 = $LM$addr;
- $shl = 1 << $1;
- $add = (($shl) + 1)|0;
- $cmp = ($0|0)<($add|0);
- if ($cmp) {
- $2 = $maxM$addr;
- $cond = $2;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $10 = 0.0;
+ $11 = 0.0;
+ $13 = $7;
+ $14 = $6;
+ $15 = 1 << $14;
+ $16 = (($15) + 1)|0;
+ $17 = ($13|0)<($16|0);
+ if ($17) {
+ $18 = $7;
+ $22 = $18;
} else {
- $3 = $LM$addr;
- $shl1 = 1 << $3;
- $add2 = (($shl1) + 1)|0;
- $cond = $add2;
+ $19 = $6;
+ $20 = 1 << $19;
+ $21 = (($20) + 1)|0;
+ $22 = $21;
}
- $M = $cond;
- $i = 0;
+ $9 = $22;
+ $8 = 0;
while(1) {
- $4 = $i;
- $5 = $M;
- $cmp3 = ($4|0)<($5|0);
- if (!($cmp3)) {
+ $23 = $8;
+ $24 = $9;
+ $25 = ($23|0)<($24|0);
+ if (!($25)) {
break;
}
- $6 = $E$addr;
- $7 = $i;
- $arrayidx = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx>>2];
- $9 = $sumE;
- $add4 = $9 + $8;
- $sumE = $add4;
- $10 = $E_1$addr;
- $11 = $i;
- $arrayidx5 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx5>>2];
- $13 = $sumE_1;
- $add6 = $13 + $12;
- $sumE_1 = $add6;
- $14 = $i;
- $inc = (($14) + 1)|0;
- $i = $inc;
+ $26 = $4;
+ $27 = $8;
+ $28 = (($26) + ($27<<2)|0);
+ $29 = +HEAPF32[$28>>2];
+ $30 = $10;
+ $31 = $30 + $29;
+ $10 = $31;
+ $32 = $5;
+ $33 = $8;
+ $34 = (($32) + ($33<<2)|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $11;
+ $37 = $36 + $35;
+ $11 = $37;
+ $38 = $8;
+ $39 = (($38) + 1)|0;
+ $8 = $39;
}
- $15 = $sumE;
- $16 = $sumE_1;
- $mul = $15 * $16;
- $17 = $M;
- $18 = $M;
- $mul7 = Math_imul($17, $18)|0;
- $conv = (+($mul7|0));
- $div = $mul / $conv;
- $metric = $div;
- $19 = $metric;
- $sub = $19 - 2.0;
- $mul8 = 0.05000000074505806 * $sub;
- $cmp9 = 0.0 > $mul8;
- if ($cmp9) {
- $cond16 = 0.0;
+ $40 = $10;
+ $41 = $11;
+ $42 = $40 * $41;
+ $43 = $9;
+ $44 = $9;
+ $45 = Math_imul($43, $44)|0;
+ $46 = (+($45|0));
+ $47 = $42 / $46;
+ $12 = $47;
+ $48 = $12;
+ $49 = $48 - 2.0;
+ $50 = 0.05000000074505806 * $49;
+ $51 = 0.0 > $50;
+ if ($51) {
+ $56 = 0.0;
} else {
- $20 = $metric;
- $sub13 = $20 - 2.0;
- $mul14 = 0.05000000074505806 * $sub13;
- $cond16 = $mul14;
+ $52 = $12;
+ $53 = $52 - 2.0;
+ $54 = 0.05000000074505806 * $53;
+ $56 = $54;
}
- $conv17 = $cond16;
- $call = (+Math_sqrt((+$conv17)));
- $conv18 = $call;
- $cmp19 = 1.0 < $conv18;
- if ($cmp19) {
- $cond37 = 1.0;
- STACKTOP = sp;return (+$cond37);
+ $55 = $56;
+ $57 = (+Math_sqrt((+$55)));
+ $58 = $57;
+ $59 = 1.0 < $58;
+ if ($59) {
+ $71 = 1.0;
+ STACKTOP = sp;return (+$71);
}
- $21 = $metric;
- $sub23 = $21 - 2.0;
- $mul24 = 0.05000000074505806 * $sub23;
- $cmp25 = 0.0 > $mul24;
- if ($cmp25) {
- $cond32 = 0.0;
+ $60 = $12;
+ $61 = $60 - 2.0;
+ $62 = 0.05000000074505806 * $61;
+ $63 = 0.0 > $62;
+ if ($63) {
+ $68 = 0.0;
} else {
- $22 = $metric;
- $sub29 = $22 - 2.0;
- $mul30 = 0.05000000074505806 * $sub29;
- $cond32 = $mul30;
+ $64 = $12;
+ $65 = $64 - 2.0;
+ $66 = 0.05000000074505806 * $65;
+ $68 = $66;
}
- $conv33 = $cond32;
- $call34 = (+Math_sqrt((+$conv33)));
- $conv35 = $call34;
- $cond37 = $conv35;
- STACKTOP = sp;return (+$cond37);
+ $67 = $68;
+ $69 = (+Math_sqrt((+$67)));
+ $70 = $69;
+ $71 = $70;
+ STACKTOP = sp;return (+$71);
}
-function _compute_stereo_width($pcm,$frame_size,$Fs,$mem) {
- $pcm = $pcm|0;
- $frame_size = $frame_size|0;
- $Fs = $Fs|0;
- $mem = $mem|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0.0, $107 = 0, $108 = 0.0, $109 = 0, $11 = 0.0, $110 = 0.0, $111 = 0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0;
- var $116 = 0.0, $117 = 0.0, $118 = 0.0, $119 = 0, $12 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0.0, $130 = 0.0, $131 = 0.0, $132 = 0.0, $133 = 0.0;
- var $134 = 0.0, $135 = 0.0, $136 = 0, $137 = 0.0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0.0, $141 = 0, $142 = 0.0, $143 = 0, $144 = 0, $145 = 0.0, $146 = 0, $147 = 0.0, $148 = 0, $149 = 0.0, $15 = 0.0, $150 = 0, $151 = 0;
- var $152 = 0.0, $153 = 0, $154 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0, $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0;
- var $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0, $49 = 0;
- var $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0;
- var $68 = 0.0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0.0, $8 = 0.0, $80 = 0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0.0;
- var $86 = 0, $87 = 0.0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0.0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0.0, $Fs$addr = 0, $XY = 0, $XY113 = 0, $XY118 = 0, $XY123 = 0;
- var $XY124 = 0, $XY55 = 0, $XY70 = 0, $XY75 = 0, $XY78 = 0, $YY = 0, $YY103 = 0, $YY59 = 0, $YY79 = 0, $YY84 = 0, $YY87 = 0, $YY89 = 0, $YY95 = 0, $YY95$sink = 0, $add = 0, $add10 = 0, $add126 = 0.0, $add13 = 0, $add133 = 0.0, $add134 = 0.0;
- var $add146 = 0.0, $add16 = 0.0, $add18 = 0.0, $add20 = 0.0, $add22 = 0, $add25 = 0, $add28 = 0.0, $add30 = 0.0, $add32 = 0.0, $add34 = 0, $add37 = 0, $add40 = 0.0, $add42 = 0.0, $add44 = 0.0, $add45 = 0.0, $add46 = 0.0, $add47 = 0.0, $add48 = 0, $add52 = 0.0, $add56 = 0.0;
- var $add60 = 0.0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx14 = 0, $arrayidx23 = 0, $arrayidx26 = 0, $arrayidx35 = 0, $arrayidx38 = 0, $arrayidx5 = 0, $call = 0.0, $call105 = 0.0, $call108 = 0.0, $call111 = 0.0, $call130 = 0.0, $call139 = 0.0, $cmp = 0, $cmp115 = 0, $cmp151 = 0, $cmp165 = 0, $cmp2 = 0;
- var $cmp62 = 0, $cmp71 = 0, $cmp80 = 0, $cmp90 = 0, $cmp98 = 0, $cond = 0, $cond122 = 0.0, $cond161 = 0.0, $cond172 = 0.0, $cond68 = 0.0, $cond77 = 0.0, $cond86 = 0.0, $conv = 0.0, $conv101 = 0.0, $conv102 = 0.0, $conv104 = 0.0, $conv106 = 0.0, $conv107 = 0.0, $conv109 = 0.0, $conv110 = 0.0;
- var $conv112 = 0.0, $conv129 = 0.0, $conv131 = 0.0, $conv138 = 0.0, $conv140 = 0.0, $conv143 = 0.0, $conv147 = 0.0, $conv155 = 0.0, $corr = 0.0, $div = 0, $div1 = 0.0, $div127 = 0.0, $div135 = 0.0, $div144 = 0.0, $div148 = 0.0, $div156 = 0.0, $frame_rate = 0, $frame_size$addr = 0, $i = 0, $ldiff = 0.0;
- var $max_follower = 0, $max_follower154 = 0, $max_follower162 = 0, $max_follower163 = 0, $max_follower169 = 0, $mem$addr = 0, $mul = 0, $mul114 = 0.0, $mul12 = 0, $mul120 = 0.0, $mul125 = 0.0, $mul132 = 0.0, $mul136 = 0.0, $mul141 = 0.0, $mul15 = 0.0, $mul164 = 0.0, $mul17 = 0.0, $mul170 = 0.0, $mul19 = 0.0, $mul21 = 0;
- var $mul24 = 0, $mul27 = 0.0, $mul29 = 0.0, $mul31 = 0.0, $mul33 = 0, $mul36 = 0, $mul39 = 0.0, $mul4 = 0, $mul41 = 0.0, $mul43 = 0.0, $mul50 = 0.0, $mul54 = 0.0, $mul58 = 0.0, $mul6 = 0.0, $mul7 = 0.0, $mul8 = 0.0, $mul9 = 0, $pcm$addr = 0, $pxx = 0.0, $pxy = 0.0;
- var $pyy = 0.0, $qrrt_xx = 0.0, $qrrt_yy = 0.0, $short_alpha = 0.0, $smoothed_width = 0, $smoothed_width145 = 0, $smoothed_width150 = 0, $smoothed_width159 = 0, $sqrt_xx = 0.0, $sqrt_yy = 0.0, $sub = 0.0, $sub128 = 0.0, $sub137 = 0.0, $sub142 = 0.0, $sub149 = 0.0, $sub157 = 0.0, $sub49 = 0.0, $sub53 = 0.0, $sub57 = 0.0, $width = 0.0;
- var $x = 0.0, $xx = 0.0, $xy = 0.0, $y = 0.0, $yy = 0.0, label = 0, sp = 0;
+function _compute_stereo_width($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$sink = 0, $10 = 0.0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0.0, $110 = 0.0, $111 = 0.0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0.0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0.0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0.0, $130 = 0.0, $131 = 0.0, $132 = 0.0, $133 = 0.0, $134 = 0.0;
+ var $135 = 0.0, $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0.0, $14 = 0.0, $140 = 0.0, $141 = 0.0, $142 = 0.0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0, $15 = 0.0, $150 = 0, $151 = 0.0, $152 = 0.0;
+ var $153 = 0, $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0, $158 = 0.0, $159 = 0.0, $16 = 0.0, $160 = 0.0, $161 = 0.0, $162 = 0, $163 = 0, $164 = 0.0, $165 = 0.0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0.0, $17 = 0.0, $170 = 0.0;
+ var $171 = 0.0, $172 = 0.0, $173 = 0, $174 = 0, $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0, $179 = 0, $18 = 0, $180 = 0.0, $181 = 0.0, $182 = 0, $183 = 0.0, $184 = 0, $185 = 0, $186 = 0.0, $187 = 0, $188 = 0.0, $189 = 0;
+ var $19 = 0, $190 = 0, $191 = 0.0, $192 = 0, $193 = 0, $194 = 0, $195 = 0.0, $196 = 0, $197 = 0, $198 = 0.0, $199 = 0, $20 = 0.0, $200 = 0, $201 = 0.0, $202 = 0, $203 = 0, $204 = 0, $205 = 0.0, $206 = 0, $207 = 0;
+ var $208 = 0.0, $209 = 0, $21 = 0.0, $210 = 0.0, $211 = 0, $212 = 0, $213 = 0.0, $214 = 0, $215 = 0, $216 = 0, $217 = 0.0, $218 = 0, $219 = 0, $22 = 0.0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0.0, $224 = 0, $225 = 0;
+ var $226 = 0.0, $227 = 0.0, $228 = 0.0, $229 = 0.0, $23 = 0.0, $230 = 0.0, $231 = 0.0, $232 = 0.0, $233 = 0.0, $234 = 0.0, $235 = 0.0, $236 = 0.0, $237 = 0.0, $238 = 0, $239 = 0, $24 = 0.0, $240 = 0.0, $241 = 0.0, $242 = 0.0, $243 = 0.0;
+ var $244 = 0, $245 = 0, $246 = 0, $247 = 0.0, $248 = 0.0, $249 = 0.0, $25 = 0.0, $250 = 0.0, $251 = 0, $252 = 0, $253 = 0.0, $254 = 0, $255 = 0, $256 = 0.0, $257 = 0.0, $258 = 0.0, $259 = 0.0, $26 = 0, $260 = 0.0, $261 = 0.0;
+ var $262 = 0.0, $263 = 0.0, $264 = 0.0, $265 = 0.0, $266 = 0.0, $267 = 0.0, $268 = 0.0, $269 = 0.0, $27 = 0, $270 = 0.0, $271 = 0.0, $272 = 0.0, $273 = 0.0, $274 = 0.0, $275 = 0.0, $276 = 0.0, $277 = 0.0, $278 = 0.0, $279 = 0.0, $28 = 0;
+ var $280 = 0.0, $281 = 0.0, $282 = 0.0, $283 = 0.0, $284 = 0, $285 = 0, $286 = 0.0, $287 = 0.0, $288 = 0, $289 = 0.0, $29 = 0, $290 = 0.0, $291 = 0, $292 = 0, $293 = 0.0, $294 = 0.0, $295 = 0, $296 = 0, $297 = 0.0, $298 = 0;
+ var $299 = 0.0, $30 = 0, $300 = 0.0, $301 = 0.0, $302 = 0, $303 = 0, $304 = 0.0, $305 = 0, $306 = 0, $307 = 0, $308 = 0.0, $309 = 0, $31 = 0, $310 = 0.0, $311 = 0.0, $312 = 0.0, $313 = 0, $314 = 0.0, $315 = 0, $316 = 0;
+ var $317 = 0.0, $318 = 0, $319 = 0, $32 = 0, $320 = 0.0, $321 = 0.0, $322 = 0, $323 = 0, $324 = 0, $325 = 0.0, $326 = 0.0, $327 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0;
+ var $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0;
+ var $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0.0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0;
+ var $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0.0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0.0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0.0, $90 = 0, $91 = 0.0, $92 = 0, $93 = 0, $94 = 0;
+ var $95 = 0, $96 = 0, $97 = 0.0, $98 = 0.0, $99 = 0.0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $pcm$addr = $pcm;
- $frame_size$addr = $frame_size;
- $Fs$addr = $Fs;
- $mem$addr = $mem;
- $0 = $Fs$addr;
- $1 = $frame_size$addr;
- $div = (($0|0) / ($1|0))&-1;
- $frame_rate = $div;
- $2 = $frame_rate;
- $cmp = (50)>($2|0);
- $3 = $frame_rate;
- $cond = $cmp ? 50 : $3;
- $conv = (+($cond|0));
- $div1 = 25.0 / $conv;
- $sub = 1.0 - $div1;
- $short_alpha = $sub;
- $yy = 0.0;
- $xy = 0.0;
- $xx = 0.0;
- $i = 0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $26 = $6;
+ $27 = $5;
+ $28 = (($26|0) / ($27|0))&-1;
+ $18 = $28;
+ $29 = $18;
+ $30 = (50)>($29|0);
+ $31 = $18;
+ $32 = $30 ? 50 : $31;
+ $33 = (+($32|0));
+ $34 = 25.0 / $33;
+ $35 = 1.0 - $34;
+ $20 = $35;
+ $13 = 0.0;
+ $12 = 0.0;
+ $11 = 0.0;
+ $19 = 0;
while(1) {
- $4 = $i;
- $5 = $frame_size$addr;
- $cmp2 = ($4|0)<($5|0);
- if (!($cmp2)) {
+ $36 = $19;
+ $37 = $5;
+ $38 = ($36|0)<($37|0);
+ if (!($38)) {
break;
}
- $pxx = 0.0;
- $pxy = 0.0;
- $pyy = 0.0;
- $6 = $pcm$addr;
- $7 = $i;
- $mul = $7<<1;
- $arrayidx = (($6) + ($mul<<2)|0);
- $8 = +HEAPF32[$arrayidx>>2];
- $x = $8;
- $9 = $pcm$addr;
- $10 = $i;
- $mul4 = $10<<1;
- $add = (($mul4) + 1)|0;
- $arrayidx5 = (($9) + ($add<<2)|0);
- $11 = +HEAPF32[$arrayidx5>>2];
- $y = $11;
- $12 = $x;
- $13 = $x;
- $mul6 = $12 * $13;
- $pxx = $mul6;
- $14 = $x;
- $15 = $y;
- $mul7 = $14 * $15;
- $pxy = $mul7;
- $16 = $y;
- $17 = $y;
- $mul8 = $16 * $17;
- $pyy = $mul8;
- $18 = $pcm$addr;
- $19 = $i;
- $mul9 = $19<<1;
- $add10 = (($mul9) + 2)|0;
- $arrayidx11 = (($18) + ($add10<<2)|0);
- $20 = +HEAPF32[$arrayidx11>>2];
- $x = $20;
- $21 = $pcm$addr;
- $22 = $i;
- $mul12 = $22<<1;
- $add13 = (($mul12) + 3)|0;
- $arrayidx14 = (($21) + ($add13<<2)|0);
- $23 = +HEAPF32[$arrayidx14>>2];
- $y = $23;
- $24 = $x;
- $25 = $x;
- $mul15 = $24 * $25;
- $26 = $pxx;
- $add16 = $26 + $mul15;
- $pxx = $add16;
- $27 = $x;
- $28 = $y;
- $mul17 = $27 * $28;
- $29 = $pxy;
- $add18 = $29 + $mul17;
- $pxy = $add18;
- $30 = $y;
- $31 = $y;
- $mul19 = $30 * $31;
- $32 = $pyy;
- $add20 = $32 + $mul19;
- $pyy = $add20;
- $33 = $pcm$addr;
- $34 = $i;
- $mul21 = $34<<1;
- $add22 = (($mul21) + 4)|0;
- $arrayidx23 = (($33) + ($add22<<2)|0);
- $35 = +HEAPF32[$arrayidx23>>2];
- $x = $35;
- $36 = $pcm$addr;
- $37 = $i;
- $mul24 = $37<<1;
- $add25 = (($mul24) + 5)|0;
- $arrayidx26 = (($36) + ($add25<<2)|0);
- $38 = +HEAPF32[$arrayidx26>>2];
- $y = $38;
- $39 = $x;
- $40 = $x;
- $mul27 = $39 * $40;
- $41 = $pxx;
- $add28 = $41 + $mul27;
- $pxx = $add28;
- $42 = $x;
- $43 = $y;
- $mul29 = $42 * $43;
- $44 = $pxy;
- $add30 = $44 + $mul29;
- $pxy = $add30;
- $45 = $y;
- $46 = $y;
- $mul31 = $45 * $46;
- $47 = $pyy;
- $add32 = $47 + $mul31;
- $pyy = $add32;
- $48 = $pcm$addr;
- $49 = $i;
- $mul33 = $49<<1;
- $add34 = (($mul33) + 6)|0;
- $arrayidx35 = (($48) + ($add34<<2)|0);
- $50 = +HEAPF32[$arrayidx35>>2];
- $x = $50;
- $51 = $pcm$addr;
- $52 = $i;
- $mul36 = $52<<1;
- $add37 = (($mul36) + 7)|0;
- $arrayidx38 = (($51) + ($add37<<2)|0);
- $53 = +HEAPF32[$arrayidx38>>2];
- $y = $53;
- $54 = $x;
- $55 = $x;
- $mul39 = $54 * $55;
- $56 = $pxx;
- $add40 = $56 + $mul39;
- $pxx = $add40;
- $57 = $x;
- $58 = $y;
- $mul41 = $57 * $58;
- $59 = $pxy;
- $add42 = $59 + $mul41;
- $pxy = $add42;
- $60 = $y;
- $61 = $y;
- $mul43 = $60 * $61;
- $62 = $pyy;
- $add44 = $62 + $mul43;
- $pyy = $add44;
- $63 = $pxx;
- $64 = $xx;
- $add45 = $64 + $63;
- $xx = $add45;
- $65 = $pxy;
- $66 = $xy;
- $add46 = $66 + $65;
- $xy = $add46;
- $67 = $pyy;
- $68 = $yy;
- $add47 = $68 + $67;
- $yy = $add47;
- $69 = $i;
- $add48 = (($69) + 4)|0;
- $i = $add48;
- }
- $70 = $short_alpha;
- $71 = $xx;
- $72 = $mem$addr;
- $73 = +HEAPF32[$72>>2];
- $sub49 = $71 - $73;
- $mul50 = $70 * $sub49;
- $74 = $mem$addr;
- $75 = +HEAPF32[$74>>2];
- $add52 = $75 + $mul50;
- HEAPF32[$74>>2] = $add52;
- $76 = $short_alpha;
- $77 = $xy;
- $78 = $mem$addr;
- $XY = ((($78)) + 4|0);
- $79 = +HEAPF32[$XY>>2];
- $sub53 = $77 - $79;
- $mul54 = $76 * $sub53;
- $80 = $mem$addr;
- $XY55 = ((($80)) + 4|0);
- $81 = +HEAPF32[$XY55>>2];
- $add56 = $81 + $mul54;
- HEAPF32[$XY55>>2] = $add56;
- $82 = $short_alpha;
- $83 = $yy;
- $84 = $mem$addr;
- $YY = ((($84)) + 8|0);
- $85 = +HEAPF32[$YY>>2];
- $sub57 = $83 - $85;
- $mul58 = $82 * $sub57;
- $86 = $mem$addr;
- $YY59 = ((($86)) + 8|0);
- $87 = +HEAPF32[$YY59>>2];
- $add60 = $87 + $mul58;
- HEAPF32[$YY59>>2] = $add60;
- $88 = $mem$addr;
- $89 = +HEAPF32[$88>>2];
- $cmp62 = 0.0 > $89;
- if ($cmp62) {
- $cond68 = 0.0;
- } else {
- $90 = $mem$addr;
+ $21 = 0.0;
+ $22 = 0.0;
+ $23 = 0.0;
+ $39 = $4;
+ $40 = $19;
+ $41 = $40<<1;
+ $42 = (($39) + ($41<<2)|0);
+ $43 = +HEAPF32[$42>>2];
+ $24 = $43;
+ $44 = $4;
+ $45 = $19;
+ $46 = $45<<1;
+ $47 = (($46) + 1)|0;
+ $48 = (($44) + ($47<<2)|0);
+ $49 = +HEAPF32[$48>>2];
+ $25 = $49;
+ $50 = $24;
+ $51 = $24;
+ $52 = $50 * $51;
+ $21 = $52;
+ $53 = $24;
+ $54 = $25;
+ $55 = $53 * $54;
+ $22 = $55;
+ $56 = $25;
+ $57 = $25;
+ $58 = $56 * $57;
+ $23 = $58;
+ $59 = $4;
+ $60 = $19;
+ $61 = $60<<1;
+ $62 = (($61) + 2)|0;
+ $63 = (($59) + ($62<<2)|0);
+ $64 = +HEAPF32[$63>>2];
+ $24 = $64;
+ $65 = $4;
+ $66 = $19;
+ $67 = $66<<1;
+ $68 = (($67) + 3)|0;
+ $69 = (($65) + ($68<<2)|0);
+ $70 = +HEAPF32[$69>>2];
+ $25 = $70;
+ $71 = $24;
+ $72 = $24;
+ $73 = $71 * $72;
+ $74 = $21;
+ $75 = $74 + $73;
+ $21 = $75;
+ $76 = $24;
+ $77 = $25;
+ $78 = $76 * $77;
+ $79 = $22;
+ $80 = $79 + $78;
+ $22 = $80;
+ $81 = $25;
+ $82 = $25;
+ $83 = $81 * $82;
+ $84 = $23;
+ $85 = $84 + $83;
+ $23 = $85;
+ $86 = $4;
+ $87 = $19;
+ $88 = $87<<1;
+ $89 = (($88) + 4)|0;
+ $90 = (($86) + ($89<<2)|0);
$91 = +HEAPF32[$90>>2];
- $cond68 = $91;
+ $24 = $91;
+ $92 = $4;
+ $93 = $19;
+ $94 = $93<<1;
+ $95 = (($94) + 5)|0;
+ $96 = (($92) + ($95<<2)|0);
+ $97 = +HEAPF32[$96>>2];
+ $25 = $97;
+ $98 = $24;
+ $99 = $24;
+ $100 = $98 * $99;
+ $101 = $21;
+ $102 = $101 + $100;
+ $21 = $102;
+ $103 = $24;
+ $104 = $25;
+ $105 = $103 * $104;
+ $106 = $22;
+ $107 = $106 + $105;
+ $22 = $107;
+ $108 = $25;
+ $109 = $25;
+ $110 = $108 * $109;
+ $111 = $23;
+ $112 = $111 + $110;
+ $23 = $112;
+ $113 = $4;
+ $114 = $19;
+ $115 = $114<<1;
+ $116 = (($115) + 6)|0;
+ $117 = (($113) + ($116<<2)|0);
+ $118 = +HEAPF32[$117>>2];
+ $24 = $118;
+ $119 = $4;
+ $120 = $19;
+ $121 = $120<<1;
+ $122 = (($121) + 7)|0;
+ $123 = (($119) + ($122<<2)|0);
+ $124 = +HEAPF32[$123>>2];
+ $25 = $124;
+ $125 = $24;
+ $126 = $24;
+ $127 = $125 * $126;
+ $128 = $21;
+ $129 = $128 + $127;
+ $21 = $129;
+ $130 = $24;
+ $131 = $25;
+ $132 = $130 * $131;
+ $133 = $22;
+ $134 = $133 + $132;
+ $22 = $134;
+ $135 = $25;
+ $136 = $25;
+ $137 = $135 * $136;
+ $138 = $23;
+ $139 = $138 + $137;
+ $23 = $139;
+ $140 = $21;
+ $141 = $11;
+ $142 = $141 + $140;
+ $11 = $142;
+ $143 = $22;
+ $144 = $12;
+ $145 = $144 + $143;
+ $12 = $145;
+ $146 = $23;
+ $147 = $13;
+ $148 = $147 + $146;
+ $13 = $148;
+ $149 = $19;
+ $150 = (($149) + 4)|0;
+ $19 = $150;
}
- $92 = $mem$addr;
- HEAPF32[$92>>2] = $cond68;
- $93 = $mem$addr;
- $XY70 = ((($93)) + 4|0);
- $94 = +HEAPF32[$XY70>>2];
- $cmp71 = 0.0 > $94;
- if ($cmp71) {
- $cond77 = 0.0;
+ $151 = $20;
+ $152 = $11;
+ $153 = $7;
+ $154 = +HEAPF32[$153>>2];
+ $155 = $152 - $154;
+ $156 = $151 * $155;
+ $157 = $7;
+ $158 = +HEAPF32[$157>>2];
+ $159 = $158 + $156;
+ HEAPF32[$157>>2] = $159;
+ $160 = $20;
+ $161 = $12;
+ $162 = $7;
+ $163 = ((($162)) + 4|0);
+ $164 = +HEAPF32[$163>>2];
+ $165 = $161 - $164;
+ $166 = $160 * $165;
+ $167 = $7;
+ $168 = ((($167)) + 4|0);
+ $169 = +HEAPF32[$168>>2];
+ $170 = $169 + $166;
+ HEAPF32[$168>>2] = $170;
+ $171 = $20;
+ $172 = $13;
+ $173 = $7;
+ $174 = ((($173)) + 8|0);
+ $175 = +HEAPF32[$174>>2];
+ $176 = $172 - $175;
+ $177 = $171 * $176;
+ $178 = $7;
+ $179 = ((($178)) + 8|0);
+ $180 = +HEAPF32[$179>>2];
+ $181 = $180 + $177;
+ HEAPF32[$179>>2] = $181;
+ $182 = $7;
+ $183 = +HEAPF32[$182>>2];
+ $184 = 0.0 > $183;
+ if ($184) {
+ $188 = 0.0;
} else {
- $95 = $mem$addr;
- $XY75 = ((($95)) + 4|0);
- $96 = +HEAPF32[$XY75>>2];
- $cond77 = $96;
+ $185 = $7;
+ $186 = +HEAPF32[$185>>2];
+ $188 = $186;
}
- $97 = $mem$addr;
- $XY78 = ((($97)) + 4|0);
- HEAPF32[$XY78>>2] = $cond77;
- $98 = $mem$addr;
- $YY79 = ((($98)) + 8|0);
- $99 = +HEAPF32[$YY79>>2];
- $cmp80 = 0.0 > $99;
- if ($cmp80) {
- $cond86 = 0.0;
+ $187 = $7;
+ HEAPF32[$187>>2] = $188;
+ $189 = $7;
+ $190 = ((($189)) + 4|0);
+ $191 = +HEAPF32[$190>>2];
+ $192 = 0.0 > $191;
+ if ($192) {
+ $198 = 0.0;
} else {
- $100 = $mem$addr;
- $YY84 = ((($100)) + 8|0);
- $101 = +HEAPF32[$YY84>>2];
- $cond86 = $101;
+ $193 = $7;
+ $194 = ((($193)) + 4|0);
+ $195 = +HEAPF32[$194>>2];
+ $198 = $195;
}
- $102 = $mem$addr;
- $YY87 = ((($102)) + 8|0);
- HEAPF32[$YY87>>2] = $cond86;
- $103 = $mem$addr;
- $104 = +HEAPF32[$103>>2];
- $105 = $mem$addr;
- $YY89 = ((($105)) + 8|0);
- $106 = +HEAPF32[$YY89>>2];
- $cmp90 = $104 > $106;
- $107 = $mem$addr;
- $YY95 = ((($107)) + 8|0);
- $YY95$sink = $cmp90 ? $107 : $YY95;
- $108 = +HEAPF32[$YY95$sink>>2];
- $cmp98 = $108 > 7.9999997979030013E-4;
- if ($cmp98) {
- $109 = $mem$addr;
- $110 = +HEAPF32[$109>>2];
- $conv101 = $110;
- $call = (+Math_sqrt((+$conv101)));
- $conv102 = $call;
- $sqrt_xx = $conv102;
- $111 = $mem$addr;
- $YY103 = ((($111)) + 8|0);
- $112 = +HEAPF32[$YY103>>2];
- $conv104 = $112;
- $call105 = (+Math_sqrt((+$conv104)));
- $conv106 = $call105;
- $sqrt_yy = $conv106;
- $113 = $sqrt_xx;
- $conv107 = $113;
- $call108 = (+Math_sqrt((+$conv107)));
- $conv109 = $call108;
- $qrrt_xx = $conv109;
- $114 = $sqrt_yy;
- $conv110 = $114;
- $call111 = (+Math_sqrt((+$conv110)));
- $conv112 = $call111;
- $qrrt_yy = $conv112;
- $115 = $mem$addr;
- $XY113 = ((($115)) + 4|0);
- $116 = +HEAPF32[$XY113>>2];
- $117 = $sqrt_xx;
- $118 = $sqrt_yy;
- $mul114 = $117 * $118;
- $cmp115 = $116 < $mul114;
- if ($cmp115) {
- $119 = $mem$addr;
- $XY118 = ((($119)) + 4|0);
- $120 = +HEAPF32[$XY118>>2];
- $cond122 = $120;
+ $196 = $7;
+ $197 = ((($196)) + 4|0);
+ HEAPF32[$197>>2] = $198;
+ $199 = $7;
+ $200 = ((($199)) + 8|0);
+ $201 = +HEAPF32[$200>>2];
+ $202 = 0.0 > $201;
+ if ($202) {
+ $208 = 0.0;
+ } else {
+ $203 = $7;
+ $204 = ((($203)) + 8|0);
+ $205 = +HEAPF32[$204>>2];
+ $208 = $205;
+ }
+ $206 = $7;
+ $207 = ((($206)) + 8|0);
+ HEAPF32[$207>>2] = $208;
+ $209 = $7;
+ $210 = +HEAPF32[$209>>2];
+ $211 = $7;
+ $212 = ((($211)) + 8|0);
+ $213 = +HEAPF32[$212>>2];
+ $214 = $210 > $213;
+ $215 = $7;
+ $216 = ((($215)) + 8|0);
+ $$sink = $214 ? $215 : $216;
+ $217 = +HEAPF32[$$sink>>2];
+ $218 = $217 > 7.9999997979030013E-4;
+ if ($218) {
+ $219 = $7;
+ $220 = +HEAPF32[$219>>2];
+ $221 = $220;
+ $222 = (+Math_sqrt((+$221)));
+ $223 = $222;
+ $14 = $223;
+ $224 = $7;
+ $225 = ((($224)) + 8|0);
+ $226 = +HEAPF32[$225>>2];
+ $227 = $226;
+ $228 = (+Math_sqrt((+$227)));
+ $229 = $228;
+ $15 = $229;
+ $230 = $14;
+ $231 = $230;
+ $232 = (+Math_sqrt((+$231)));
+ $233 = $232;
+ $16 = $233;
+ $234 = $15;
+ $235 = $234;
+ $236 = (+Math_sqrt((+$235)));
+ $237 = $236;
+ $17 = $237;
+ $238 = $7;
+ $239 = ((($238)) + 4|0);
+ $240 = +HEAPF32[$239>>2];
+ $241 = $14;
+ $242 = $15;
+ $243 = $241 * $242;
+ $244 = $240 < $243;
+ if ($244) {
+ $245 = $7;
+ $246 = ((($245)) + 4|0);
+ $247 = +HEAPF32[$246>>2];
+ $253 = $247;
} else {
- $121 = $sqrt_xx;
- $122 = $sqrt_yy;
- $mul120 = $121 * $122;
- $cond122 = $mul120;
+ $248 = $14;
+ $249 = $15;
+ $250 = $248 * $249;
+ $253 = $250;
}
- $123 = $mem$addr;
- $XY123 = ((($123)) + 4|0);
- HEAPF32[$XY123>>2] = $cond122;
- $124 = $mem$addr;
- $XY124 = ((($124)) + 4|0);
- $125 = +HEAPF32[$XY124>>2];
- $126 = $sqrt_xx;
- $127 = $sqrt_yy;
- $mul125 = $126 * $127;
- $add126 = 1.0000000036274937E-15 + $mul125;
- $div127 = $125 / $add126;
- $corr = $div127;
- $128 = $qrrt_xx;
- $129 = $qrrt_yy;
- $sub128 = $128 - $129;
- $conv129 = $sub128;
- $call130 = (+Math_abs((+$conv129)));
- $conv131 = $call130;
- $mul132 = 1.0 * $conv131;
- $130 = $qrrt_xx;
- $add133 = 1.0000000036274937E-15 + $130;
- $131 = $qrrt_yy;
- $add134 = $add133 + $131;
- $div135 = $mul132 / $add134;
- $ldiff = $div135;
- $132 = $corr;
- $133 = $corr;
- $mul136 = $132 * $133;
- $sub137 = 1.0 - $mul136;
- $conv138 = $sub137;
- $call139 = (+Math_sqrt((+$conv138)));
- $conv140 = $call139;
- $134 = $ldiff;
- $mul141 = $conv140 * $134;
- $width = $mul141;
- $135 = $width;
- $136 = $mem$addr;
- $smoothed_width = ((($136)) + 12|0);
- $137 = +HEAPF32[$smoothed_width>>2];
- $sub142 = $135 - $137;
- $138 = $frame_rate;
- $conv143 = (+($138|0));
- $div144 = $sub142 / $conv143;
- $139 = $mem$addr;
- $smoothed_width145 = ((($139)) + 12|0);
- $140 = +HEAPF32[$smoothed_width145>>2];
- $add146 = $140 + $div144;
- HEAPF32[$smoothed_width145>>2] = $add146;
- $141 = $mem$addr;
- $max_follower = ((($141)) + 16|0);
- $142 = +HEAPF32[$max_follower>>2];
- $143 = $frame_rate;
- $conv147 = (+($143|0));
- $div148 = 0.019999999552965164 / $conv147;
- $sub149 = $142 - $div148;
- $144 = $mem$addr;
- $smoothed_width150 = ((($144)) + 12|0);
- $145 = +HEAPF32[$smoothed_width150>>2];
- $cmp151 = $sub149 > $145;
- $146 = $mem$addr;
- if ($cmp151) {
- $max_follower154 = ((($146)) + 16|0);
- $147 = +HEAPF32[$max_follower154>>2];
- $148 = $frame_rate;
- $conv155 = (+($148|0));
- $div156 = 0.019999999552965164 / $conv155;
- $sub157 = $147 - $div156;
- $cond161 = $sub157;
+ $251 = $7;
+ $252 = ((($251)) + 4|0);
+ HEAPF32[$252>>2] = $253;
+ $254 = $7;
+ $255 = ((($254)) + 4|0);
+ $256 = +HEAPF32[$255>>2];
+ $257 = $14;
+ $258 = $15;
+ $259 = $257 * $258;
+ $260 = 1.0000000036274937E-15 + $259;
+ $261 = $256 / $260;
+ $8 = $261;
+ $262 = $16;
+ $263 = $17;
+ $264 = $262 - $263;
+ $265 = $264;
+ $266 = (+Math_abs((+$265)));
+ $267 = $266;
+ $268 = 1.0 * $267;
+ $269 = $16;
+ $270 = 1.0000000036274937E-15 + $269;
+ $271 = $17;
+ $272 = $270 + $271;
+ $273 = $268 / $272;
+ $9 = $273;
+ $274 = $8;
+ $275 = $8;
+ $276 = $274 * $275;
+ $277 = 1.0 - $276;
+ $278 = $277;
+ $279 = (+Math_sqrt((+$278)));
+ $280 = $279;
+ $281 = $9;
+ $282 = $280 * $281;
+ $10 = $282;
+ $283 = $10;
+ $284 = $7;
+ $285 = ((($284)) + 12|0);
+ $286 = +HEAPF32[$285>>2];
+ $287 = $283 - $286;
+ $288 = $18;
+ $289 = (+($288|0));
+ $290 = $287 / $289;
+ $291 = $7;
+ $292 = ((($291)) + 12|0);
+ $293 = +HEAPF32[$292>>2];
+ $294 = $293 + $290;
+ HEAPF32[$292>>2] = $294;
+ $295 = $7;
+ $296 = ((($295)) + 16|0);
+ $297 = +HEAPF32[$296>>2];
+ $298 = $18;
+ $299 = (+($298|0));
+ $300 = 0.019999999552965164 / $299;
+ $301 = $297 - $300;
+ $302 = $7;
+ $303 = ((($302)) + 12|0);
+ $304 = +HEAPF32[$303>>2];
+ $305 = $301 > $304;
+ $306 = $7;
+ if ($305) {
+ $307 = ((($306)) + 16|0);
+ $308 = +HEAPF32[$307>>2];
+ $309 = $18;
+ $310 = (+($309|0));
+ $311 = 0.019999999552965164 / $310;
+ $312 = $308 - $311;
+ $317 = $312;
} else {
- $smoothed_width159 = ((($146)) + 12|0);
- $149 = +HEAPF32[$smoothed_width159>>2];
- $cond161 = $149;
+ $313 = ((($306)) + 12|0);
+ $314 = +HEAPF32[$313>>2];
+ $317 = $314;
}
- $150 = $mem$addr;
- $max_follower162 = ((($150)) + 16|0);
- HEAPF32[$max_follower162>>2] = $cond161;
+ $315 = $7;
+ $316 = ((($315)) + 16|0);
+ HEAPF32[$316>>2] = $317;
} else {
- $width = 0.0;
- $corr = 1.0;
- $ldiff = 0.0;
+ $10 = 0.0;
+ $8 = 1.0;
+ $9 = 0.0;
}
- $151 = $mem$addr;
- $max_follower163 = ((($151)) + 16|0);
- $152 = +HEAPF32[$max_follower163>>2];
- $mul164 = 20.0 * $152;
- $cmp165 = 1.0 < $mul164;
- if ($cmp165) {
- $cond172 = 1.0;
- STACKTOP = sp;return (+$cond172);
+ $318 = $7;
+ $319 = ((($318)) + 16|0);
+ $320 = +HEAPF32[$319>>2];
+ $321 = 20.0 * $320;
+ $322 = 1.0 < $321;
+ if ($322) {
+ $327 = 1.0;
+ STACKTOP = sp;return (+$327);
}
- $153 = $mem$addr;
- $max_follower169 = ((($153)) + 16|0);
- $154 = +HEAPF32[$max_follower169>>2];
- $mul170 = 20.0 * $154;
- $cond172 = $mul170;
- STACKTOP = sp;return (+$cond172);
+ $323 = $7;
+ $324 = ((($323)) + 16|0);
+ $325 = +HEAPF32[$324>>2];
+ $326 = 20.0 * $325;
+ $327 = $326;
+ STACKTOP = sp;return (+$327);
}
-function _opus_encode_native($st,$pcm,$frame_size,$data,$out_data_bytes,$lsb_depth,$analysis_pcm,$analysis_size,$c1,$c2,$analysis_channels,$downmix,$float_api) {
- $st = $st|0;
- $pcm = $pcm|0;
- $frame_size = $frame_size|0;
- $data = $data|0;
- $out_data_bytes = $out_data_bytes|0;
- $lsb_depth = $lsb_depth|0;
- $analysis_pcm = $analysis_pcm|0;
- $analysis_size = $analysis_size|0;
- $c1 = $c1|0;
- $c2 = $c2|0;
- $analysis_channels = $analysis_channels|0;
- $downmix = $downmix|0;
- $float_api = $float_api|0;
- var $$old = 0, $$sink = 0, $$sink15 = 0, $$sink17 = 0, $$sink18 = 0, $$sink22 = 0, $$sink23 = 0, $$sink25 = 0, $$sink26 = 0, $$sink4$sink = 0, $$sink5$sink = 0, $$sink7$sink = 0, $$sink8$sink = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0;
- var $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0, $1013 = 0, $1014 = 0, $1015 = 0, $1016 = 0, $1017 = 0, $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0;
- var $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0, $1029 = 0, $103 = 0, $1030 = 0, $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0, $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0;
- var $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0, $105 = 0, $1050 = 0, $1051 = 0, $1052 = 0, $1053 = 0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0;
- var $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0.0, $1063 = 0.0, $1064 = 0, $1065 = 0.0, $1066 = 0.0, $1067 = 0, $1068 = 0, $1069 = 0, $107 = 0, $1070 = 0, $1071 = 0, $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0;
- var $1076 = 0.0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0, $1086 = 0, $1087 = 0, $1088 = 0, $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0;
- var $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0.0, $11 = 0, $110 = 0, $1100 = 0.0, $1101 = 0.0, $1102 = 0.0, $1103 = 0, $1104 = 0, $1105 = 0, $1106 = 0, $1107 = 0, $1108 = 0, $1109 = 0, $111 = 0, $1110 = 0;
- var $1111 = 0, $1112 = 0, $1113 = 0, $1114 = 0, $1115 = 0, $1116 = 0, $1117 = 0, $1118 = 0, $1119 = 0, $112 = 0, $1120 = 0, $1121 = 0, $1122 = 0, $1123 = 0, $1124 = 0, $1125 = 0, $1126 = 0, $1127 = 0, $1128 = 0, $1129 = 0;
- var $113 = 0, $1130 = 0, $1131 = 0, $1132 = 0, $1133 = 0, $1134 = 0, $1135 = 0, $1136 = 0, $1137 = 0, $1138 = 0, $1139 = 0, $114 = 0, $1140 = 0, $1141 = 0, $1142 = 0, $1143 = 0, $1144 = 0, $1145 = 0, $1146 = 0, $1147 = 0;
- var $1148 = 0, $1149 = 0, $115 = 0, $1150 = 0, $1151 = 0, $1152 = 0, $1153 = 0, $1154 = 0, $1155 = 0, $1156 = 0, $1157 = 0, $1158 = 0, $1159 = 0, $116 = 0, $1160 = 0, $1161 = 0, $1162 = 0, $1163 = 0, $1164 = 0, $1165 = 0;
- var $1166 = 0, $1167 = 0, $1168 = 0, $1169 = 0, $117 = 0, $1170 = 0, $1171 = 0, $1172 = 0, $1173 = 0, $1174 = 0, $1175 = 0, $1176 = 0, $1177 = 0, $1178 = 0, $1179 = 0, $118 = 0, $1180 = 0, $1181 = 0, $1182 = 0, $1183 = 0;
- var $1184 = 0, $1185 = 0, $1186 = 0, $1187 = 0, $1188 = 0, $1189 = 0, $119 = 0, $1190 = 0, $1191 = 0, $1192 = 0, $1193 = 0, $1194 = 0, $1195 = 0, $1196 = 0, $1197 = 0, $1198 = 0, $1199 = 0, $12 = 0, $120 = 0, $1200 = 0;
- var $1201 = 0, $1202 = 0, $1203 = 0, $1204 = 0, $1205 = 0, $1206 = 0, $1207 = 0, $1208 = 0, $1209 = 0, $121 = 0, $1210 = 0, $1211 = 0, $1212 = 0, $1213 = 0, $1214 = 0, $1215 = 0, $1216 = 0, $1217 = 0, $1218 = 0, $1219 = 0;
- var $122 = 0, $1220 = 0, $1221 = 0, $1222 = 0, $1223 = 0, $1224 = 0, $1225 = 0, $1226 = 0, $1227 = 0, $1228 = 0, $1229 = 0, $123 = 0, $1230 = 0, $1231 = 0, $1232 = 0, $1233 = 0, $1234 = 0, $1235 = 0, $1236 = 0, $1237 = 0;
- var $1238 = 0, $1239 = 0, $124 = 0, $1240 = 0, $1241 = 0, $1242 = 0, $1243 = 0, $1244 = 0, $1245 = 0, $1246 = 0, $1247 = 0, $1248 = 0, $1249 = 0, $125 = 0, $1250 = 0, $1251 = 0, $1252 = 0, $1253 = 0, $1254 = 0, $1255 = 0;
- var $1256 = 0, $1257 = 0, $1258 = 0, $1259 = 0, $126 = 0, $1260 = 0, $1261 = 0, $1262 = 0, $1263 = 0, $1264 = 0, $1265 = 0, $1266 = 0, $1267 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
- var $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0;
- var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0;
- var $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
- var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0.0, $196 = 0, $197 = 0.0, $198 = 0, $199 = 0.0, $2 = 0, $20 = 0, $200 = 0, $201 = 0.0, $202 = 0, $203 = 0, $204 = 0;
- var $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0;
- var $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0;
- var $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0;
- var $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0;
- var $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0;
- var $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0;
- var $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0;
- var $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0;
- var $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0;
- var $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0;
- var $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0;
- var $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0;
- var $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0;
- var $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0;
- var $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0;
- var $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0;
- var $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0;
- var $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0;
- var $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0;
- var $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0;
- var $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0;
- var $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $6 = 0, $60 = 0, $600 = 0;
- var $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0;
- var $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0;
- var $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0.0, $648 = 0.0, $649 = 0.0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0;
- var $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0;
- var $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0.0, $690 = 0, $691 = 0;
- var $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0.0, $7 = 0, $70 = 0, $700 = 0.0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0;
- var $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0.0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0.0;
- var $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0.0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0.0, $738 = 0.0, $739 = 0.0, $74 = 0, $740 = 0.0, $741 = 0.0, $742 = 0, $743 = 0, $744 = 0.0, $745 = 0;
- var $746 = 0, $747 = 0, $748 = 0.0, $749 = 0, $75 = 0, $750 = 0.0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0;
- var $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0;
- var $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $8 = 0;
- var $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0;
- var $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0;
- var $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0;
- var $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0.0, $869 = 0, $87 = 0, $870 = 0, $871 = 0;
- var $872 = 0, $873 = 0, $874 = 0, $875 = 0, $876 = 0, $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0.0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0;
- var $890 = 0, $891 = 0, $892 = 0, $893 = 0, $894 = 0, $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0;
- var $908 = 0, $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0;
- var $926 = 0, $927 = 0, $928 = 0.0, $929 = 0, $93 = 0, $930 = 0, $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0;
- var $944 = 0, $945 = 0, $946 = 0, $947 = 0, $948 = 0, $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0.0, $961 = 0;
- var $962 = 0, $963 = 0, $964 = 0, $965 = 0, $966 = 0, $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0;
- var $980 = 0, $981 = 0, $982 = 0, $983 = 0, $984 = 0, $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0;
- var $999 = 0, $Fs = 0, $Fs1014 = 0, $Fs1199 = 0, $Fs12 = 0, $Fs1205 = 0, $Fs1322 = 0, $Fs1349 = 0, $Fs1359 = 0, $Fs1362 = 0, $Fs1409 = 0, $Fs1497 = 0, $Fs1517 = 0, $Fs1525 = 0, $Fs1559 = 0, $Fs1579 = 0, $Fs1586 = 0, $Fs1593 = 0, $Fs16 = 0, $Fs1702 = 0;
- var $Fs1765 = 0, $Fs188 = 0, $Fs1900 = 0, $Fs1934 = 0, $Fs1958 = 0, $Fs1960 = 0, $Fs1990 = 0, $Fs20 = 0, $Fs24 = 0, $Fs270 = 0, $Fs353 = 0, $Fs368 = 0, $Fs4 = 0, $Fs427 = 0, $Fs43 = 0, $Fs444 = 0, $Fs447 = 0, $Fs455 = 0, $Fs458 = 0, $Fs48 = 0;
- var $Fs609 = 0, $Fs619 = 0, $Fs629 = 0, $Fs639 = 0, $Fs731 = 0, $Fs752 = 0, $Fs8 = 0, $Fs802 = 0, $Fs807 = 0, $Fs882 = 0, $Fs892 = 0, $Fs92 = 0, $Fs955 = 0, $Fs963 = 0, $Fs97 = 0, $HB_gain = 0.0, $HB_gain_ref = 0, $N2 = 0, $N4 = 0, $add = 0.0;
- var $add$ptr = 0, $add$ptr1355 = 0, $add$ptr1358 = 0, $add$ptr1891 = 0, $add$ptr1902 = 0, $add$ptr1912 = 0, $add$ptr1969 = 0, $add$ptr1975 = 0, $add$ptr1976 = 0, $add$ptr1986 = 0, $add$ptr28 = 0, $add$ptr40 = 0, $add$ptr806 = 0, $add$ptr810 = 0, $add$ptr818 = 0, $add$ptr898 = 0, $add1019 = 0, $add1041 = 0, $add1068 = 0.0, $add1073 = 0.0;
- var $add1113 = 0, $add1120 = 0, $add1130 = 0, $add1137 = 0, $add1150 = 0.0, $add1162 = 0.0, $add1196 = 0, $add1202 = 0, $add1392 = 0, $add1480 = 0, $add1488 = 0, $add1493 = 0, $add1524 = 0, $add1534 = 0.0, $add1549 = 0, $add1604 = 0, $add1608 = 0, $add1637 = 0, $add164 = 0, $add1646 = 0;
- var $add1663 = 0, $add1667 = 0, $add1679 = 0, $add1690 = 0, $add172 = 0, $add1777 = 0, $add1782 = 0, $add1795 = 0, $add1812 = 0, $add1867 = 0, $add187 = 0, $add2034 = 0, $add2035 = 0, $add248 = 0, $add255 = 0, $add269 = 0, $add289 = 0.0, $add296 = 0.0, $add302 = 0, $add307 = 0;
- var $add318 = 0, $add449 = 0, $add460 = 0, $add505 = 0, $add533 = 0, $add541 = 0, $add552 = 0, $add900 = 0, $add923 = 0, $add940 = 0, $add941 = 0, $allowBandwidthSwitch = 0, $analysis = 0, $analysis46 = 0, $analysis47 = 0, $analysis747 = 0, $analysis749 = 0, $analysis_bandwidth = 0, $analysis_channels$addr = 0, $analysis_info = 0;
- var $analysis_pcm$addr = 0, $analysis_read_pos_bak = 0, $analysis_read_subframe_bak = 0, $analysis_size$addr = 0, $and = 0, $application = 0, $application209 = 0, $application221 = 0, $application275 = 0, $application303 = 0, $application946 = 0, $arch = 0, $arrayidx1114 = 0, $arrayidx1121 = 0, $arrayidx1131 = 0, $arrayidx1138 = 0, $arrayidx1374 = 0, $arrayidx1376 = 0, $arrayidx1393 = 0, $arrayidx1395 = 0;
- var $arrayidx1413 = 0, $arrayidx1584 = 0, $arrayidx1598 = 0, $arrayidx1619 = 0, $arrayidx1631 = 0, $arrayidx1644 = 0, $arrayidx1656 = 0, $arrayidx1672 = 0, $arrayidx1684 = 0, $arrayidx2016 = 0, $arrayidx2027 = 0, $arrayidx526 = 0, $arrayidx528 = 0, $arrayidx529 = 0, $arrayidx534 = 0, $arrayidx538 = 0, $arrayidx542 = 0, $arrayidx908 = 0, $arrayidx917 = 0, $arrayidx952 = 0;
- var $arrayidx959 = 0, $arrayidx970 = 0, $arrayidx973 = 0, $arrayidx985 = 0, $arrayidx990 = 0, $arrayidx992 = 0, $arrayidx994 = 0, $bak_bandwidth = 0, $bak_channels = 0, $bak_mode = 0, $bak_to_mono = 0, $bandwidth = 0, $bandwidth1091 = 0, $bandwidth1096 = 0, $bandwidth118 = 0, $bandwidth1180 = 0, $bandwidth1184 = 0, $bandwidth123 = 0, $bandwidth498 = 0, $bandwidth546 = 0;
- var $bandwidth561 = 0, $bandwidth572 = 0, $bandwidth576 = 0, $bandwidth579 = 0, $bandwidth584 = 0, $bandwidth590 = 0, $bandwidth599 = 0, $bandwidth603 = 0, $bandwidth607 = 0, $bandwidth613 = 0, $bandwidth617 = 0, $bandwidth623 = 0, $bandwidth627 = 0, $bandwidth633 = 0, $bandwidth637 = 0, $bandwidth643 = 0, $bandwidth647 = 0, $bandwidth701 = 0, $bandwidth706 = 0, $bandwidth711 = 0;
- var $bandwidth720 = 0, $bandwidth724 = 0, $bandwidth729 = 0, $bandwidth740 = 0, $bandwidth774 = 0, $bandwidth860 = 0, $bandwidth_thresholds = 0, $bitRate = 0, $bitRate1026 = 0, $bitRate1040 = 0, $bitRate1044 = 0, $bitRate1053 = 0, $bitRate1058 = 0, $bitRate1080 = 0, $bitRate1167 = 0, $bitRate1175 = 0, $bitRate1195 = 0, $bitRate1320 = 0, $bitRate1329 = 0, $bitRate1336 = 0;
- var $bitRate1341 = 0, $bitRate1495 = 0, $bitrate_bps = 0, $bitrate_bps101 = 0, $bitrate_bps114 = 0, $bitrate_bps1548 = 0, $bitrate_bps162 = 0, $bitrate_bps170 = 0, $bitrate_bps180 = 0, $bitrate_bps1816 = 0, $bitrate_bps1822 = 0, $bitrate_bps184 = 0, $bitrate_bps266 = 0, $bitrate_bps467 = 0, $bitrate_bps473 = 0, $bitrate_bps831 = 0, $bitrate_bps838 = 0, $bitrate_bps880 = 0, $bitrate_bps890 = 0, $bonus = 0;
- var $bw = 0, $bytes_per_frame = 0, $bytes_target = 0, $c = 0, $c1$addr = 0, $c2$addr = 0, $call1375 = 0, $call1394 = 0, $call1400 = 0, $call1412 = 0, $call1479 = 0, $call158 = 0, $call1776 = 0, $call1794 = 0, $call1811 = 0, $call1866 = 0, $call1903 = 0, $call1940 = 0, $call1945 = 0, $call1977 = 0;
- var $call1993 = 0, $call2006 = 0, $call2039 = 0, $call56 = 0.0, $call811 = 0, $call819 = 0, $call849 = 0, $call928 = 0, $call93 = 0.0, $call945 = 0, $call96 = 0, $call976 = 0.0, $cbrBytes = 0, $celt_enc = 0, $celt_mode = 0, $celt_pred = 0.0, $celt_rate = 0, $celt_to_silk = 0, $channels = 0, $channels1003 = 0;
- var $channels1103 = 0, $channels1159 = 0, $channels1208 = 0, $channels1345 = 0, $channels1361 = 0, $channels1368 = 0, $channels1385 = 0, $channels1390 = 0, $channels1558 = 0, $channels1582 = 0, $channels1585 = 0, $channels1596 = 0, $channels1606 = 0, $channels1617 = 0, $channels1620 = 0, $channels1629 = 0, $channels1639 = 0, $channels1647 = 0, $channels1651 = 0, $channels1670 = 0;
- var $channels1674 = 0, $channels1682 = 0, $channels1700 = 0, $channels1742 = 0, $channels1763 = 0, $channels185 = 0, $channels1965 = 0, $channels1972 = 0, $channels234 = 0, $channels241 = 0, $channels262 = 0, $channels514 = 0, $channels801 = 0, $channels901 = 0, $channels906 = 0, $channels909 = 0, $channels915 = 0, $channels950 = 0, $channels954 = 0, $channels957 = 0;
- var $channels962 = 0, $channels968 = 0, $channels971 = 0, $channels974 = 0, $channels983 = 0, $channels986 = 0, $cleanup$dest = 0, $cleanup$dest$slot = 0, $cmp = 0, $cmp1 = 0, $cmp1000 = 0, $cmp1010 = 0, $cmp1016 = 0, $cmp1022 = 0, $cmp104 = 0, $cmp1047 = 0, $cmp1060 = 0, $cmp107 = 0, $cmp1070 = 0, $cmp1092 = 0;
- var $cmp1097 = 0, $cmp1104 = 0, $cmp1108 = 0, $cmp111 = 0, $cmp1115 = 0, $cmp1125 = 0, $cmp1132 = 0, $cmp1145 = 0, $cmp115 = 0, $cmp1170 = 0, $cmp1181 = 0, $cmp1185 = 0, $cmp119 = 0, $cmp1212 = 0, $cmp1217 = 0, $cmp1228 = 0, $cmp1237 = 0, $cmp1241 = 0, $cmp1247 = 0, $cmp1254 = 0;
- var $cmp126 = 0, $cmp1265 = 0, $cmp1272 = 0, $cmp1294 = 0, $cmp13 = 0, $cmp130 = 0, $cmp1305 = 0, $cmp1331 = 0, $cmp134 = 0, $cmp1370 = 0, $cmp138 = 0, $cmp1387 = 0, $cmp1404 = 0, $cmp141 = 0, $cmp1416 = 0, $cmp1420 = 0, $cmp1426 = 0, $cmp1432 = 0, $cmp145 = 0, $cmp1463 = 0;
- var $cmp1476 = 0, $cmp148 = 0, $cmp1485 = 0, $cmp1502 = 0, $cmp1514 = 0, $cmp1519 = 0, $cmp152 = 0, $cmp1564 = 0, $cmp1569 = 0, $cmp1573 = 0, $cmp1611 = 0, $cmp167 = 0, $cmp1692 = 0, $cmp1695 = 0, $cmp17 = 0, $cmp1706 = 0, $cmp1710 = 0, $cmp1714 = 0, $cmp1722 = 0, $cmp1727 = 0;
- var $cmp1743 = 0, $cmp1747 = 0, $cmp1752 = 0, $cmp1773 = 0, $cmp1779 = 0, $cmp1785 = 0, $cmp1789 = 0, $cmp1797 = 0, $cmp1804 = 0, $cmp1818 = 0, $cmp1826 = 0, $cmp1832 = 0, $cmp1836 = 0, $cmp1845 = 0, $cmp1858 = 0, $cmp1863 = 0, $cmp1872 = 0, $cmp1884 = 0, $cmp1904 = 0, $cmp1920 = 0;
- var $cmp1925 = 0, $cmp1929 = 0, $cmp194 = 0, $cmp1942 = 0, $cmp1946 = 0, $cmp1978 = 0, $cmp199 = 0, $cmp2009 = 0, $cmp2012 = 0, $cmp2020 = 0, $cmp2025 = 0, $cmp2025$old = 0, $cmp2029 = 0, $cmp204 = 0, $cmp2040 = 0, $cmp210 = 0, $cmp213 = 0, $cmp22 = 0, $cmp222 = 0, $cmp231 = 0;
- var $cmp235 = 0, $cmp242 = 0, $cmp25 = 0, $cmp250 = 0, $cmp257 = 0, $cmp27 = 0, $cmp276 = 0, $cmp281 = 0, $cmp29 = 0, $cmp304 = 0, $cmp309 = 0, $cmp315 = 0, $cmp321 = 0, $cmp331 = 0, $cmp339 = 0, $cmp34 = 0, $cmp350 = 0, $cmp355 = 0, $cmp364 = 0, $cmp371 = 0;
- var $cmp377 = 0, $cmp380 = 0, $cmp384 = 0, $cmp388 = 0, $cmp392 = 0, $cmp403 = 0, $cmp407 = 0, $cmp41 = 0, $cmp411 = 0, $cmp415 = 0, $cmp419 = 0, $cmp423 = 0, $cmp429 = 0, $cmp44 = 0, $cmp451 = 0, $cmp469 = 0, $cmp480 = 0, $cmp484 = 0, $cmp490 = 0, $cmp5 = 0;
- var $cmp500 = 0, $cmp515 = 0, $cmp519 = 0, $cmp524 = 0, $cmp53 = 0, $cmp547 = 0, $cmp555 = 0, $cmp559 = 0, $cmp566 = 0, $cmp573 = 0, $cmp580 = 0, $cmp586 = 0, $cmp593 = 0, $cmp596 = 0, $cmp60 = 0, $cmp600 = 0, $cmp610 = 0, $cmp614 = 0, $cmp620 = 0, $cmp624 = 0;
- var $cmp630 = 0, $cmp634 = 0, $cmp640 = 0, $cmp644 = 0, $cmp65 = 0, $cmp653 = 0, $cmp658 = 0, $cmp662 = 0, $cmp668 = 0, $cmp672 = 0, $cmp678 = 0, $cmp684 = 0, $cmp693 = 0, $cmp70 = 0, $cmp703 = 0, $cmp717 = 0, $cmp721 = 0, $cmp733 = 0, $cmp737 = 0, $cmp741 = 0;
- var $cmp744 = 0, $cmp75 = 0, $cmp754 = 0, $cmp759 = 0, $cmp788 = 0, $cmp796 = 0, $cmp812 = 0, $cmp820 = 0, $cmp835 = 0, $cmp850 = 0, $cmp86 = 0, $cmp862 = 0, $cmp865 = 0, $cmp871 = 0, $cmp874 = 0, $cmp885 = 0, $cmp89 = 0, $cmp9 = 0, $cmp925 = 0, $cmp947 = 0;
- var $cmp977 = 0, $cmp98 = 0, $cmp980 = 0, $complexity = 0, $complexity504 = 0, $cond = 0, $cond1 = 0, $cond1062 = 0, $cond1076 = 0.0, $cond1124 = 0.0, $cond1144 = 0.0, $cond1179 = 0, $cond125 = 0, $cond1261 = 0, $cond1279 = 0, $cond1301 = 0, $cond1339 = 0, $cond1487 = 0, $cond1507 = 0, $cond1720 = 0;
- var $cond1733 = 0, $cond1736 = 0, $cond177 = 0, $cond1825 = 0, $cond1831 = 0, $cond1841 = 0, $cond1843 = 0, $cond1879 = 0, $cond218 = 0, $cond259 = 0, $cond323 = 0, $cond366 = 0, $cond39 = 0, $cond463 = 0, $cond476 = 0, $cond606 = 0, $cond699 = 0, $cond756 = 0, $cond766 = 0, $cond844 = 0;
- var $cond896 = 0, $conv = 0.0, $conv1017 = 0, $conv1063 = 0.0, $conv1064 = 0.0, $conv1067 = 0.0, $conv1157 = 0.0, $conv1160 = 0.0, $conv1163 = 0.0, $conv1165 = 0, $conv1473 = 0, $conv1532 = 0.0, $conv1536 = 0, $conv1746 = 0, $conv1756 = 0.0, $conv1759 = 0.0, $conv1768 = 0, $conv1780 = 0, $conv2028 = 0, $conv285 = 0.0;
- var $conv287 = 0.0, $conv290 = 0, $conv292 = 0.0, $conv294 = 0.0, $conv297 = 0, $conv424 = 0, $conv57 = 0, $curr_bandwidth = 0, $cutoff_Hz = 0, $data$addr = 0, $dec = 0, $dec2031 = 0, $delay_buffer = 0, $delay_buffer1353 = 0, $delay_buffer1356 = 0, $delay_buffer1363 = 0, $delay_buffer1373 = 0, $delay_buffer1576 = 0, $delay_buffer1590 = 0, $delay_buffer1614 = 0;
- var $delay_buffer1616 = 0, $delay_buffer1626 = 0, $delay_buffer1628 = 0, $delay_buffer1638 = 0, $delay_buffer1650 = 0, $delay_buffer1677 = 0, $delay_buffer912 = 0, $delay_compensation = 0, $delay_compensation1347 = 0, $delay_compensation31 = 0, $desiredInternalSampleRate = 0, $desiredInternalSampleRate1221 = 0, $desiredInternalSampleRate1253 = 0, $desiredInternalSampleRate1259 = 0, $desiredInternalSampleRate1263 = 0, $desiredInternalSampleRate1271 = 0, $desiredInternalSampleRate1277 = 0, $desiredInternalSampleRate1281 = 0, $detected_bandwidth = 0, $detected_bandwidth63 = 0;
- var $detected_bandwidth649 = 0, $detected_bandwidth68 = 0, $detected_bandwidth692 = 0, $detected_bandwidth696 = 0, $detected_bandwidth700 = 0, $detected_bandwidth702 = 0, $detected_bandwidth708 = 0, $detected_bandwidth708$sink = 0, $detected_bandwidth73 = 0, $detected_bandwidth78 = 0, $div = 0, $div1029 = 0, $div1038 = 0, $div1038$sink = 0, $div1046 = 0, $div1051 = 0, $div1069 = 0.0, $div1158 = 0.0, $div1169 = 0, $div1177 = 0;
- var $div1189 = 0, $div1201 = 0, $div1206 = 0, $div1245 = 0, $div1311 = 0, $div1324 = 0, $div1350 = 0, $div1360 = 0, $div1410 = 0, $div1499 = 0, $div1518 = 0, $div1526 = 0, $div1561 = 0, $div1580 = 0, $div1588 = 0, $div1594 = 0, $div166 = 0, $div174 = 0, $div1817 = 0, $div1823 = 0;
- var $div189 = 0, $div1901 = 0, $div1935 = 0, $div1959 = 0, $div1961 = 0, $div1991 = 0, $div271 = 0, $div354 = 0, $div370 = 0, $div428 = 0, $div445 = 0, $div448 = 0, $div450 = 0, $div456 = 0, $div459 = 0, $div461 = 0, $div468 = 0, $div474 = 0, $div507 = 0, $div732 = 0;
- var $div753 = 0, $div758 = 0, $div764 = 0, $div804 = 0, $div808 = 0, $div833 = 0, $div834 = 0, $div840 = 0, $div841 = 0, $div884 = 0, $div894 = 0, $downmix$addr = 0, $dummy = 0, $dummy1932 = 0, $dummy1957 = 0, $effective_max_rate = 0, $enc = 0, $encoder_buffer = 0, $encoder_buffer1346 = 0, $encoder_buffer1367 = 0;
- var $encoder_buffer1381 = 0, $encoder_buffer1577 = 0, $encoder_buffer1591 = 0, $encoder_buffer1607 = 0, $encoder_buffer1621 = 0, $encoder_buffer1640 = 0, $encoder_buffer1652 = 0, $encoder_buffer1668 = 0, $encoder_buffer1673 = 0, $encoder_buffer1680 = 0, $encoder_buffer913 = 0, $end = 0, $endband = 0, $energy_masking = 0, $energy_masking1082 = 0, $energy_masking1111 = 0, $energy_masking1118 = 0, $energy_masking1128 = 0, $energy_masking1135 = 0, $energy_masking1739 = 0;
- var $equiv_rate = 0, $equiv_rate2 = 0, $err = 0, $err1956 = 0, $first = 0, $first2005 = 0, $first543 = 0, $first562 = 0, $float_api$addr = 0, $force_channels = 0, $force_channels230 = 0, $force_channels238 = 0, $force_channels518 = 0, $force_channels771 = 0, $force_channels777 = 0, $force_channels782 = 0, $force_channels856 = 0, $frame_rate = 0, $frame_size$addr = 0, $g1 = 0.0;
- var $g2 = 0.0, $hp_freq_smth1 = 0, $hp_mem = 0, $hp_mem960 = 0, $hp_mem989 = 0, $hp_mem991 = 0, $hp_mem993 = 0, $hp_mem995 = 0, $hybrid_stereo_width_Q14 = 0, $hybrid_stereo_width_Q141755 = 0, $hybrid_stereo_width_Q141769 = 0, $hysteresis = 0, $i = 0, $inWBmodeWithoutVariableLP = 0, $inc = 0, $inc1152 = 0, $inc1155 = 0, $inc1378 = 0, $inc1397 = 0, $inc825 = 0;
- var $incdec$ptr = 0, $internalSampleRate = 0, $internalSampleRate1425 = 0, $internalSampleRate1431 = 0, $len = 0, $lfe = 0, $lfe1088 = 0, $lfe726 = 0, $lnot = 0, $lnot$ext = 0, $lnot$ext1290 = 0, $lnot1289 = 0, $lsb_depth$addr = 0, $lsb_depth33 = 0, $lsb_depth37 = 0, $mask = 0.0, $mask_sum = 0.0, $masking_depth = 0.0, $maxBits = 0, $maxBits1309 = 0;
- var $maxBits1313 = 0, $maxBits1327 = 0, $maxInternalSampleRate = 0, $maxInternalSampleRate1251 = 0, $maxInternalSampleRate1269 = 0, $maxInternalSampleRate1285 = 0, $max_bandwidth = 0, $max_bandwidth583 = 0, $max_data_bytes = 0, $max_rate = 0, $max_redundancy = 0, $minInternalSampleRate = 0, $min_detected_bandwidth = 0, $mode = 0, $mode1009 = 0, $mode1227 = 0, $mode1236 = 0, $mode1304 = 0, $mode1408 = 0, $mode1415 = 0;
- var $mode1462 = 0, $mode1475 = 0, $mode1484 = 0, $mode1563 = 0, $mode1567 = 0, $mode1705 = 0, $mode1772 = 0, $mode1778 = 0, $mode1788 = 0, $mode1803 = 0, $mode1844 = 0, $mode1857 = 0, $mode1862 = 0, $mode1883 = 0, $mode1919 = 0, $mode1923 = 0, $mode1989 = 0, $mode2000 = 0, $mode2019 = 0, $mode324 = 0;
- var $mode334 = 0, $mode342 = 0, $mode349 = 0, $mode358 = 0, $mode362 = 0, $mode374 = 0, $mode387 = 0, $mode406 = 0, $mode414 = 0, $mode422 = 0, $mode433 = 0, $mode479 = 0, $mode489 = 0, $mode499 = 0, $mode565 = 0, $mode592 = 0, $mode661 = 0, $mode671 = 0, $mode716 = 0, $mode736 = 0;
- var $mode772 = 0, $mode861 = 0, $mode868 = 0, $mode870 = 0, $mode877 = 0, $mode924 = 0, $mode999 = 0, $mode_music = 0, $mode_voice = 0, $mul = 0, $mul1004 = 0, $mul1007 = 0, $mul1008 = 0, $mul1015 = 0, $mul1018 = 0, $mul102 = 0, $mul1020 = 0, $mul1028 = 0, $mul103 = 0, $mul1037 = 0;
- var $mul1045 = 0, $mul1050 = 0, $mul1066 = 0, $mul11 = 0, $mul110 = 0, $mul1112 = 0, $mul1119 = 0, $mul1129 = 0, $mul1136 = 0, $mul1148 = 0.0, $mul1161 = 0.0, $mul1164 = 0.0, $mul1168 = 0, $mul1176 = 0, $mul1188 = 0, $mul1198 = 0, $mul1200 = 0, $mul1204 = 0, $mul1244 = 0, $mul1302 = 0;
- var $mul1310 = 0, $mul1321 = 0, $mul1323 = 0, $mul1325 = 0, $mul1352 = 0, $mul1365 = 0, $mul1369 = 0, $mul1386 = 0, $mul1391 = 0, $mul1496 = 0, $mul1498 = 0, $mul15 = 0, $mul1523 = 0, $mul1528 = 0, $mul1533 = 0.0, $mul1535 = 0.0, $mul1560 = 0, $mul1583 = 0, $mul1587 = 0, $mul1589 = 0;
- var $mul1597 = 0, $mul1603 = 0, $mul1610 = 0, $mul1618 = 0, $mul1624 = 0, $mul1625 = 0, $mul163 = 0, $mul1630 = 0, $mul1636 = 0, $mul1643 = 0, $mul1648 = 0, $mul1649 = 0, $mul165 = 0, $mul1655 = 0, $mul1662 = 0, $mul1671 = 0, $mul1675 = 0, $mul1676 = 0, $mul1683 = 0, $mul1689 = 0;
- var $mul171 = 0, $mul1721 = 0, $mul173 = 0, $mul1734 = 0, $mul1760 = 0.0, $mul1761 = 0.0, $mul178 = 0, $mul1781 = 0, $mul1784 = 0, $mul179 = 0, $mul1796 = 0, $mul182 = 0, $mul183 = 0, $mul186 = 0, $mul19 = 0, $mul191 = 0, $mul1941 = 0, $mul1968 = 0, $mul1974 = 0, $mul2008 = 0;
- var $mul208 = 0, $mul21 = 0, $mul23 = 0, $mul245 = 0, $mul246 = 0, $mul268 = 0, $mul273 = 0, $mul286 = 0.0, $mul288 = 0.0, $mul293 = 0.0, $mul295 = 0.0, $mul298 = 0, $mul3 = 0, $mul300 = 0, $mul367 = 0, $mul369 = 0, $mul446 = 0, $mul457 = 0, $mul506 = 0, $mul527 = 0;
- var $mul531 = 0, $mul537 = 0, $mul540 = 0, $mul55 = 0.0, $mul657 = 0, $mul667 = 0, $mul677 = 0, $mul683 = 0, $mul7 = 0, $mul767 = 0, $mul803 = 0, $mul805 = 0, $mul809 = 0, $mul817 = 0, $mul832 = 0, $mul839 = 0, $mul881 = 0, $mul883 = 0, $mul891 = 0, $mul893 = 0;
- var $mul902 = 0, $mul907 = 0, $mul910 = 0, $mul911 = 0, $mul916 = 0, $mul922 = 0, $mul935 = 0, $mul938 = 0, $mul951 = 0, $mul958 = 0, $mul969 = 0, $mul972 = 0, $mul975 = 0, $mul984 = 0, $mul987 = 0, $mul988 = 0, $music_bandwidth_thresholds = 0, $music_prob = 0, $nBytes = 0, $nChannelsInternal = 0;
- var $nb_compr_bytes = 0, $nb_frames = 0, $opusCanSwitch = 0, $opusCanSwitch1443 = 0, $or$cond = 0, $or$cond10 = 0, $or$cond11 = 0, $or$cond19 = 0, $or$cond2 = 0, $or$cond20 = 0, $or$cond21 = 0, $or$cond24 = 0, $or$cond24$not = 0, $or$cond27 = 0, $or$cond3 = 0, $or$cond6 = 0, $or$cond9 = 0, $out_data_bytes$addr = 0, $overlap = 0, $overlap1699 = 0;
- var $overlap1762 = 0, $packetLossPercentage = 0, $payloadSize_ms = 0, $pcm$addr = 0, $prefill = 0, $prefill_offset = 0, $prev_HB_gain = 0, $prev_HB_gain1698 = 0, $prev_HB_gain1704 = 0, $prev_channels = 0, $prev_channels2004 = 0, $prev_channels785 = 0, $prev_framesize = 0, $prev_mode = 0, $prev_mode1568 = 0, $prev_mode1572 = 0, $prev_mode1924 = 0, $prev_mode1928 = 0, $prev_mode2001 = 0, $prev_mode314 = 0;
- var $prev_mode391 = 0, $prev_mode402 = 0, $prev_mode410 = 0, $prev_mode418 = 0, $prev_mode432 = 0, $prev_mode483 = 0, $rangeFinal = 0, $rangeFinal1407 = 0, $rangeFinal1995 = 0, $rangeFinal2017 = 0, $rate_offset = 0, $read_pos = 0, $read_pos748 = 0, $read_subframe = 0, $read_subframe750 = 0, $reducedDependency = 0, $redundancy = 0, $redundancy_bytes = 0, $redundant_rng = 0, $repacketize_len = 0;
- var $ret = 0, $retval = 0, $rng = 0, $rp = 0, $saved_stack = 0, $saved_stack1005 = 0, $saved_stack903 = 0, $shl = 0, $shr = 0, $shr1481 = 0, $shr1813 = 0, $shr1868 = 0, $shr247 = 0, $shr301 = 0, $shr330 = 0, $shr532 = 0, $shr934 = 0, $shr939 = 0, $shr944 = 0, $signal_type = 0;
- var $signal_type193 = 0, $signal_type198 = 0, $silk_bw_switch = 0, $silk_bw_switch1446 = 0, $silk_bw_switch1855 = 0, $silk_bw_switch440 = 0, $silk_enc = 0, $silk_enc_offset = 0, $silk_mode = 0, $silk_mode1021 = 0, $silk_mode1025 = 0, $silk_mode1039 = 0, $silk_mode1043 = 0, $silk_mode1052 = 0, $silk_mode1057 = 0, $silk_mode1079 = 0, $silk_mode1166 = 0, $silk_mode1174 = 0, $silk_mode1194 = 0, $silk_mode1207 = 0;
- var $silk_mode1209 = 0, $silk_mode1211 = 0, $silk_mode1215 = 0, $silk_mode1220 = 0, $silk_mode1231 = 0, $silk_mode1240 = 0, $silk_mode1250 = 0, $silk_mode1252 = 0, $silk_mode1258 = 0, $silk_mode1262 = 0, $silk_mode1268 = 0, $silk_mode1270 = 0, $silk_mode1276 = 0, $silk_mode1280 = 0, $silk_mode1284 = 0, $silk_mode1291 = 0, $silk_mode1303 = 0, $silk_mode1308 = 0, $silk_mode1312 = 0, $silk_mode1315 = 0;
- var $silk_mode1319 = 0, $silk_mode1326 = 0, $silk_mode1328 = 0, $silk_mode1335 = 0, $silk_mode1340 = 0, $silk_mode1380 = 0, $silk_mode1399 = 0, $silk_mode1419 = 0, $silk_mode1424 = 0, $silk_mode1430 = 0, $silk_mode1440 = 0, $silk_mode1441 = 0, $silk_mode1442 = 0, $silk_mode1467 = 0, $silk_mode1494 = 0, $silk_mode1737 = 0, $silk_mode1750 = 0, $silk_mode1757 = 0, $silk_mode1766 = 0, $silk_mode325 = 0;
- var $silk_mode328 = 0, $silk_mode336 = 0, $silk_mode383 = 0, $silk_mode395 = 0, $silk_mode399 = 0, $silk_mode495 = 0, $silk_mode503 = 0, $silk_mode569 = 0, $silk_mode778 = 0, $silk_mode791 = 0, $silk_mode857 = 0, $srate = 0, $st$addr = 0, $start_band = 0, $stereoWidth_Q14 = 0, $stereoWidth_Q141751 = 0, $stereoWidth_Q141758 = 0, $stereoWidth_Q141767 = 0, $stereo_threshold = 0, $stereo_width = 0.0;
- var $stream_channels = 0, $stream_channels1013 = 0, $stream_channels1065 = 0, $stream_channels1210 = 0, $stream_channels1411 = 0, $stream_channels1459 = 0, $stream_channels1522 = 0, $stream_channels1709 = 0, $stream_channels1992 = 0, $stream_channels2003 = 0, $stream_channels249 = 0, $stream_channels263 = 0, $stream_channels267 = 0, $stream_channels376 = 0, $stream_channels397 = 0, $stream_channels656 = 0, $stream_channels666 = 0, $stream_channels676 = 0, $stream_channels682 = 0, $stream_channels776 = 0;
- var $stream_channels784 = 0, $sub = 0.0, $sub$ptr$div = 0, $sub$ptr$div1602 = 0, $sub$ptr$div1635 = 0, $sub$ptr$div1661 = 0, $sub$ptr$div1688 = 0, $sub$ptr$div1890 = 0, $sub$ptr$div1911 = 0, $sub$ptr$div1985 = 0, $sub$ptr$div921 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast1599 = 0, $sub$ptr$lhs$cast1632 = 0, $sub$ptr$lhs$cast1658 = 0, $sub$ptr$lhs$cast1685 = 0, $sub$ptr$lhs$cast1887 = 0, $sub$ptr$lhs$cast1908 = 0, $sub$ptr$lhs$cast1982 = 0, $sub$ptr$lhs$cast918 = 0;
- var $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast1600 = 0, $sub$ptr$rhs$cast1633 = 0, $sub$ptr$rhs$cast1659 = 0, $sub$ptr$rhs$cast1686 = 0, $sub$ptr$rhs$cast1888 = 0, $sub$ptr$rhs$cast1909 = 0, $sub$ptr$rhs$cast1983 = 0, $sub$ptr$rhs$cast919 = 0, $sub$ptr$sub = 0, $sub$ptr$sub1601 = 0, $sub$ptr$sub1634 = 0, $sub$ptr$sub1660 = 0, $sub$ptr$sub1687 = 0, $sub$ptr$sub1889 = 0, $sub$ptr$sub1910 = 0, $sub$ptr$sub1984 = 0, $sub$ptr$sub920 = 0, $sub1027 = 0, $sub1059 = 0;
- var $sub1292 = 0, $sub1293 = 0, $sub1298 = 0, $sub1299 = 0, $sub1330 = 0, $sub1337 = 0, $sub1348 = 0, $sub1351 = 0, $sub1500 = 0, $sub1527 = 0, $sub1551 = 0, $sub1552 = 0, $sub1578 = 0, $sub1581 = 0, $sub1592 = 0, $sub1595 = 0, $sub1609 = 0, $sub1622 = 0, $sub1623 = 0, $sub1641 = 0;
- var $sub1642 = 0, $sub1653 = 0, $sub1654 = 0, $sub1669 = 0, $sub1681 = 0, $sub1713 = 0, $sub1718 = 0, $sub1726 = 0, $sub1731 = 0, $sub1783 = 0, $sub1807 = 0, $sub1808 = 0, $sub1814 = 0, $sub1848 = 0, $sub1870 = 0, $sub1871 = 0, $sub1875 = 0, $sub1876 = 0, $sub190 = 0, $sub192 = 0;
- var $sub1966 = 0, $sub1967 = 0, $sub1973 = 0, $sub2007 = 0, $sub253 = 0, $sub272 = 0, $sub274 = 0, $sub284 = 0.0, $sub291 = 0.0, $sub299 = 0, $sub312 = 0, $sub329 = 0, $sub511 = 0, $sub530 = 0, $sub536 = 0, $sub539 = 0, $sub550 = 0, $sub757 = 0, $sub763 = 0, $sub795 = 0;
- var $sub879 = 0, $sub888 = 0, $sub897 = 0, $sub899 = 0, $sub905 = 0, $sub914 = 0, $sub933 = 0, $sub937 = 0, $sum = 0.0, $switchReady = 0, $threshold = 0, $threshold535 = 0, $tmp_len = 0, $toMono = 0, $toMono396 = 0, $toMono400 = 0, $toMono779 = 0, $toMono792 = 0, $toMono858 = 0, $to_celt = 0;
- var $tobool = 0, $tobool1055 = 0, $tobool1083 = 0, $tobool1086 = 0, $tobool1089 = 0, $tobool1288 = 0, $tobool1317 = 0, $tobool1343 = 0, $tobool1401 = 0, $tobool1444 = 0, $tobool1468 = 0, $tobool1482 = 0, $tobool1491 = 0, $tobool1511 = 0, $tobool1530 = 0, $tobool160 = 0, $tobool1740 = 0, $tobool1792 = 0, $tobool1801 = 0, $tobool1853 = 0;
- var $tobool1881 = 0, $tobool1894 = 0, $tobool1896 = 0, $tobool1952 = 0, $tobool1954 = 0, $tobool1996 = 0, $tobool2023 = 0, $tobool2037 = 0, $tobool326 = 0, $tobool337 = 0, $tobool360 = 0, $tobool425 = 0, $tobool438 = 0, $tobool442 = 0, $tobool465 = 0, $tobool493 = 0, $tobool496 = 0, $tobool509 = 0, $tobool51 = 0, $tobool544 = 0;
- var $tobool563 = 0, $tobool570 = 0, $tobool650 = 0, $tobool727 = 0, $tobool780 = 0, $tobool793 = 0, $tobool828 = 0, $tobool848 = 0, $tobool965 = 0, $tocmode = 0, $tonality = 0, $total_bitRate = 0, $total_buffer = 0, $useCBR = 0, $useCBR1316 = 0, $useDTX = 0, $useInBandFEC = 0, $use_vbr = 0, $use_vbr1085 = 0, $use_vbr1287 = 0;
- var $use_vbr1490 = 0, $use_vbr1510 = 0, $use_vbr2036 = 0, $use_vbr464 = 0, $use_vbr508 = 0, $use_vbr827 = 0, $use_vbr847 = 0, $user_bandwidth = 0, $user_bandwidth589 = 0, $user_bandwidth652 = 0, $user_bandwidth770 = 0, $user_bandwidth775 = 0, $user_bandwidth855 = 0, $user_forced_mode = 0, $user_forced_mode345 = 0, $user_forced_mode769 = 0, $user_forced_mode773 = 0, $user_forced_mode799 = 0, $user_forced_mode854 = 0, $vararg_buffer = 0;
- var $vararg_buffer28 = 0, $vararg_buffer31 = 0, $vararg_buffer34 = 0, $vararg_buffer37 = 0, $vararg_buffer40 = 0, $vararg_buffer43 = 0, $vararg_buffer46 = 0, $vararg_buffer49 = 0, $vararg_buffer52 = 0, $vararg_buffer55 = 0, $vararg_buffer58 = 0, $vararg_buffer61 = 0, $vararg_buffer64 = 0, $vararg_buffer67 = 0, $vararg_buffer69 = 0, $vararg_buffer72 = 0, $vararg_buffer74 = 0, $vararg_buffer77 = 0, $vararg_buffer79 = 0, $vararg_buffer82 = 0;
- var $vararg_buffer85 = 0, $variable_HP_smth1_Q15 = 0, $variable_HP_smth2_Q15 = 0, $variable_HP_smth2_Q15932 = 0, $variable_HP_smth2_Q15936 = 0, $variable_HP_smth2_Q15942 = 0, $variable_HP_smth2_Q15943 = 0, $variable_duration = 0, $variable_duration1513 = 0, $vbr_constraint1542 = 0, $vla = 0, $vla$alloca_mul = 0, $vla1006 = 0, $vla1006$alloca_mul = 0, $vla1562 = 0, $vla1562$alloca_mul = 0, $vla904 = 0, $vla904$alloca_mul = 0, $voice_bandwidth_thresholds = 0, $voice_est = 0;
- var $voice_ratio = 0, $voice_ratio203 = 0, $voice_ratio207 = 0, $voice_ratio58 = 0, $width_mem = 0, $window = 0, $window1701 = 0, $window1764 = 0, $xor = 0, $zero = 0, label = 0, sp = 0;
+function _opus_encode_native($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ var $$alloca_mul = 0, $$alloca_mul215 = 0, $$alloca_mul217 = 0, $$alloca_mul219 = 0, $$old = 0, $$old51 = 0, $$sink = 0, $$sink12$sink = 0, $$sink14$sink = 0, $$sink17 = 0, $$sink25 = 0, $$sink30 = 0, $$sink32 = 0, $$sink33 = 0, $$sink40 = 0, $$sink42 = 0, $$sink48 = 0, $$sink50 = 0, $$sink6$sink = 0, $$sink8$sink = 0;
+ var $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0, $1013 = 0, $1014 = 0, $1015 = 0, $1016 = 0, $1017 = 0;
+ var $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0, $1029 = 0, $103 = 0.0, $1030 = 0, $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0, $1035 = 0;
+ var $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0, $105 = 0, $1050 = 0, $1051 = 0, $1052 = 0, $1053 = 0;
+ var $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0.0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1065 = 0, $1066 = 0, $1067 = 0, $1068 = 0, $1069 = 0, $107 = 0.0, $1070 = 0, $1071 = 0;
+ var $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0, $1086 = 0, $1087 = 0, $1088 = 0, $1089 = 0, $109 = 0;
+ var $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0, $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0, $1103 = 0, $1104 = 0, $1105 = 0, $1106 = 0, $1107 = 0, $1108 = 0;
+ var $1109 = 0, $111 = 0, $1110 = 0, $1111 = 0, $1112 = 0, $1113 = 0, $1114 = 0, $1115 = 0, $1116 = 0, $1117 = 0, $1118 = 0, $1119 = 0, $112 = 0, $1120 = 0, $1121 = 0, $1122 = 0, $1123 = 0, $1124 = 0, $1125 = 0, $1126 = 0;
+ var $1127 = 0, $1128 = 0, $1129 = 0, $113 = 0, $1130 = 0, $1131 = 0, $1132 = 0, $1133 = 0, $1134 = 0, $1135 = 0, $1136 = 0, $1137 = 0, $1138 = 0, $1139 = 0, $114 = 0, $1140 = 0, $1141 = 0, $1142 = 0, $1143 = 0, $1144 = 0;
+ var $1145 = 0, $1146 = 0, $1147 = 0, $1148 = 0, $1149 = 0, $115 = 0, $1150 = 0, $1151 = 0, $1152 = 0, $1153 = 0, $1154 = 0, $1155 = 0, $1156 = 0, $1157 = 0, $1158 = 0, $1159 = 0, $116 = 0, $1160 = 0, $1161 = 0, $1162 = 0;
+ var $1163 = 0, $1164 = 0, $1165 = 0, $1166 = 0, $1167 = 0, $1168 = 0, $1169 = 0, $117 = 0, $1170 = 0, $1171 = 0, $1172 = 0, $1173 = 0, $1174 = 0, $1175 = 0, $1176 = 0, $1177 = 0, $1178 = 0, $1179 = 0, $118 = 0, $1180 = 0;
+ var $1181 = 0, $1182 = 0, $1183 = 0, $1184 = 0, $1185 = 0, $1186 = 0, $1187 = 0, $1188 = 0, $1189 = 0, $119 = 0, $1190 = 0, $1191 = 0, $1192 = 0, $1193 = 0, $1194 = 0, $1195 = 0, $1196 = 0, $1197 = 0, $1198 = 0, $1199 = 0;
+ var $120 = 0, $1200 = 0, $1201 = 0, $1202 = 0, $1203 = 0, $1204 = 0, $1205 = 0, $1206 = 0, $1207 = 0, $1208 = 0, $1209 = 0, $121 = 0, $1210 = 0, $1211 = 0, $1212 = 0, $1213 = 0, $1214 = 0, $1215 = 0, $1216 = 0, $1217 = 0;
+ var $1218 = 0, $1219 = 0, $122 = 0, $1220 = 0, $1221 = 0, $1222 = 0, $1223 = 0, $1224 = 0, $1225 = 0, $1226 = 0, $1227 = 0, $1228 = 0, $1229 = 0, $123 = 0, $1230 = 0, $1231 = 0, $1232 = 0, $1233 = 0, $1234 = 0, $1235 = 0;
+ var $1236 = 0, $1237 = 0, $1238 = 0, $1239 = 0, $124 = 0, $1240 = 0, $1241 = 0, $1242 = 0, $1243 = 0, $1244 = 0, $1245 = 0, $1246 = 0, $1247 = 0, $1248 = 0, $1249 = 0, $125 = 0, $1250 = 0, $1251 = 0, $1252 = 0, $1253 = 0;
+ var $1254 = 0, $1255 = 0, $1256 = 0, $1257 = 0, $1258 = 0, $1259 = 0, $126 = 0, $1260 = 0, $1261 = 0, $1262 = 0, $1263 = 0, $1264 = 0, $1265 = 0, $1266 = 0, $1267 = 0, $1268 = 0, $1269 = 0, $127 = 0, $1270 = 0, $1271 = 0;
+ var $1272 = 0, $1273 = 0, $1274 = 0, $1275 = 0, $1276 = 0, $1277 = 0, $1278 = 0, $1279 = 0, $128 = 0, $1280 = 0, $1281 = 0, $1282 = 0, $1283 = 0, $1284 = 0, $1285 = 0, $1286 = 0, $1287 = 0, $1288 = 0, $1289 = 0, $129 = 0;
+ var $1290 = 0, $1291 = 0, $1292 = 0, $1293 = 0, $1294 = 0, $1295 = 0, $1296 = 0, $1297 = 0, $1298 = 0, $1299 = 0, $13 = 0, $130 = 0, $1300 = 0, $1301 = 0, $1302 = 0, $1303 = 0, $1304 = 0, $1305 = 0, $1306 = 0, $1307 = 0;
+ var $1308 = 0, $1309 = 0, $131 = 0, $1310 = 0, $1311 = 0, $1312 = 0, $1313 = 0, $1314 = 0, $1315 = 0, $1316 = 0, $1317 = 0, $1318 = 0, $1319 = 0, $132 = 0, $1320 = 0, $1321 = 0, $1322 = 0, $1323 = 0, $1324 = 0, $1325 = 0;
+ var $1326 = 0, $1327 = 0, $1328 = 0, $1329 = 0, $133 = 0, $1330 = 0, $1331 = 0, $1332 = 0, $1333 = 0, $1334 = 0, $1335 = 0, $1336 = 0, $1337 = 0, $1338 = 0, $1339 = 0, $134 = 0, $1340 = 0, $1341 = 0, $1342 = 0, $1343 = 0;
+ var $1344 = 0, $1345 = 0, $1346 = 0, $1347 = 0, $1348 = 0, $1349 = 0, $135 = 0, $1350 = 0, $1351 = 0, $1352 = 0, $1353 = 0, $1354 = 0, $1355 = 0, $1356 = 0, $1357 = 0, $1358 = 0, $1359 = 0, $136 = 0, $1360 = 0, $1361 = 0;
+ var $1362 = 0, $1363 = 0, $1364 = 0, $1365 = 0, $1366 = 0, $1367 = 0, $1368 = 0, $1369 = 0, $137 = 0, $1370 = 0, $1371 = 0, $1372 = 0, $1373 = 0, $1374 = 0, $1375 = 0, $1376 = 0, $1377 = 0, $1378 = 0, $1379 = 0, $138 = 0;
+ var $1380 = 0, $1381 = 0, $1382 = 0, $1383 = 0, $1384 = 0, $1385 = 0, $1386 = 0, $1387 = 0, $1388 = 0, $1389 = 0, $139 = 0, $1390 = 0, $1391 = 0, $1392 = 0, $1393 = 0, $1394 = 0, $1395 = 0, $1396 = 0.0, $1397 = 0.0, $1398 = 0;
+ var $1399 = 0.0, $14 = 0, $140 = 0, $1400 = 0.0, $1401 = 0, $1402 = 0, $1403 = 0, $1404 = 0, $1405 = 0, $1406 = 0, $1407 = 0, $1408 = 0, $1409 = 0, $141 = 0, $1410 = 0, $1411 = 0, $1412 = 0, $1413 = 0, $1414 = 0, $1415 = 0;
+ var $1416 = 0, $1417 = 0, $1418 = 0, $1419 = 0, $142 = 0, $1420 = 0, $1421 = 0, $1422 = 0, $1423 = 0, $1424 = 0, $1425 = 0, $1426 = 0, $1427 = 0, $1428 = 0, $1429 = 0, $143 = 0, $1430 = 0, $1431 = 0, $1432 = 0, $1433 = 0;
+ var $1434 = 0, $1435 = 0, $1436 = 0, $1437 = 0, $1438 = 0, $1439 = 0, $144 = 0, $1440 = 0, $1441 = 0, $1442 = 0, $1443 = 0, $1444 = 0, $1445 = 0, $1446 = 0, $1447 = 0, $1448 = 0, $1449 = 0, $145 = 0, $1450 = 0, $1451 = 0;
+ var $1452 = 0, $1453 = 0, $1454 = 0, $1455 = 0, $1456 = 0, $1457 = 0, $1458 = 0, $1459 = 0, $146 = 0, $1460 = 0, $1461 = 0, $1462 = 0, $1463 = 0, $1464 = 0, $1465 = 0, $1466 = 0, $1467 = 0, $1468 = 0, $1469 = 0, $147 = 0;
+ var $1470 = 0, $1471 = 0, $1472 = 0, $1473 = 0, $1474 = 0, $1475 = 0, $1476 = 0, $1477 = 0, $1478 = 0, $1479 = 0, $148 = 0, $1480 = 0, $1481 = 0, $1482 = 0, $1483 = 0, $1484 = 0, $1485 = 0, $1486 = 0, $1487 = 0, $1488 = 0;
+ var $1489 = 0, $149 = 0, $1490 = 0, $1491 = 0, $1492 = 0, $1493 = 0, $1494 = 0, $1495 = 0, $1496 = 0, $1497 = 0, $1498 = 0, $1499 = 0, $15 = 0, $150 = 0, $1500 = 0, $1501 = 0, $1502 = 0, $1503 = 0, $1504 = 0, $1505 = 0;
+ var $1506 = 0.0, $1507 = 0, $1508 = 0.0, $1509 = 0, $151 = 0, $1510 = 0, $1511 = 0, $1512 = 0, $1513 = 0, $1514 = 0.0, $1515 = 0.0, $1516 = 0.0, $1517 = 0.0, $1518 = 0, $1519 = 0.0, $152 = 0, $1520 = 0.0, $1521 = 0.0, $1522 = 0, $1523 = 0;
+ var $1524 = 0, $1525 = 0, $1526 = 0, $1527 = 0, $1528 = 0, $1529 = 0, $153 = 0, $1530 = 0, $1531 = 0, $1532 = 0, $1533 = 0, $1534 = 0, $1535 = 0, $1536 = 0, $1537 = 0, $1538 = 0, $1539 = 0, $154 = 0, $1540 = 0, $1541 = 0;
+ var $1542 = 0, $1543 = 0, $1544 = 0, $1545 = 0, $1546 = 0, $1547 = 0, $1548 = 0, $1549 = 0, $155 = 0, $1550 = 0, $1551 = 0, $1552 = 0, $1553 = 0, $1554 = 0, $1555 = 0, $1556 = 0, $1557 = 0, $1558 = 0, $1559 = 0, $156 = 0;
+ var $1560 = 0, $1561 = 0, $1562 = 0.0, $1563 = 0, $1564 = 0, $1565 = 0, $1566 = 0, $1567 = 0, $1568 = 0, $1569 = 0, $157 = 0, $1570 = 0, $1571 = 0, $1572 = 0.0, $1573 = 0, $1574 = 0.0, $1575 = 0, $1576 = 0, $1577 = 0, $1578 = 0;
+ var $1579 = 0, $158 = 0, $1580 = 0, $1581 = 0, $1582 = 0, $1583 = 0.0, $1584 = 0, $1585 = 0, $1586 = 0, $1587 = 0, $1588 = 0, $1589 = 0, $159 = 0, $1590 = 0, $1591 = 0, $1592 = 0, $1593 = 0.0, $1594 = 0.0, $1595 = 0.0, $1596 = 0;
+ var $1597 = 0.0, $1598 = 0.0, $1599 = 0.0, $16 = 0, $160 = 0, $1600 = 0.0, $1601 = 0.0, $1602 = 0, $1603 = 0, $1604 = 0, $1605 = 0, $1606 = 0.0, $1607 = 0, $1608 = 0.0, $1609 = 0.0, $161 = 0, $1610 = 0, $1611 = 0, $1612 = 0, $1613 = 0.0;
+ var $1614 = 0.0, $1615 = 0.0, $1616 = 0.0, $1617 = 0, $1618 = 0.0, $1619 = 0.0, $162 = 0, $1620 = 0.0, $1621 = 0, $1622 = 0, $1623 = 0, $1624 = 0, $1625 = 0, $1626 = 0, $1627 = 0, $1628 = 0, $1629 = 0, $163 = 0, $1630 = 0, $1631 = 0;
+ var $1632 = 0, $1633 = 0, $1634 = 0, $1635 = 0, $1636 = 0, $1637 = 0, $1638 = 0, $1639 = 0, $164 = 0, $1640 = 0, $1641 = 0, $1642 = 0, $1643 = 0, $1644 = 0, $1645 = 0, $1646 = 0, $1647 = 0, $1648 = 0, $1649 = 0, $165 = 0;
+ var $1650 = 0, $1651 = 0, $1652 = 0, $1653 = 0, $1654 = 0, $1655 = 0, $1656 = 0, $1657 = 0, $1658 = 0, $1659 = 0, $166 = 0, $1660 = 0, $1661 = 0, $1662 = 0, $1663 = 0, $1664 = 0, $1665 = 0, $1666 = 0, $1667 = 0, $1668 = 0;
+ var $1669 = 0, $167 = 0, $1670 = 0, $1671 = 0, $1672 = 0, $1673 = 0, $1674 = 0, $1675 = 0, $1676 = 0, $1677 = 0, $1678 = 0, $1679 = 0, $168 = 0, $1680 = 0, $1681 = 0, $1682 = 0, $1683 = 0, $1684 = 0, $1685 = 0, $1686 = 0;
+ var $1687 = 0, $1688 = 0, $1689 = 0, $169 = 0, $1690 = 0, $1691 = 0, $1692 = 0, $1693 = 0, $1694 = 0, $1695 = 0, $1696 = 0, $1697 = 0, $1698 = 0, $1699 = 0, $17 = 0, $170 = 0, $1700 = 0, $1701 = 0, $1702 = 0, $1703 = 0;
+ var $1704 = 0, $1705 = 0, $1706 = 0, $1707 = 0, $1708 = 0, $1709 = 0, $171 = 0, $1710 = 0, $1711 = 0, $1712 = 0, $1713 = 0, $1714 = 0, $1715 = 0, $1716 = 0, $1717 = 0, $1718 = 0, $1719 = 0, $172 = 0, $1720 = 0, $1721 = 0;
+ var $1722 = 0, $1723 = 0, $1724 = 0, $1725 = 0, $1726 = 0, $1727 = 0, $1728 = 0, $1729 = 0, $173 = 0, $1730 = 0, $1731 = 0, $1732 = 0, $1733 = 0, $1734 = 0, $1735 = 0, $1736 = 0, $1737 = 0, $1738 = 0, $1739 = 0, $174 = 0;
+ var $1740 = 0, $1741 = 0, $1742 = 0, $1743 = 0, $1744 = 0, $1745 = 0, $1746 = 0, $1747 = 0, $1748 = 0, $1749 = 0, $175 = 0, $1750 = 0, $1751 = 0, $1752 = 0, $1753 = 0, $1754 = 0, $1755 = 0, $1756 = 0, $1757 = 0, $1758 = 0;
+ var $1759 = 0, $176 = 0, $1760 = 0, $1761 = 0, $1762 = 0, $1763 = 0, $1764 = 0, $1765 = 0, $1766 = 0, $1767 = 0, $1768 = 0, $1769 = 0, $177 = 0, $1770 = 0, $1771 = 0, $1772 = 0, $1773 = 0, $1774 = 0, $1775 = 0, $1776 = 0;
+ var $1777 = 0, $1778 = 0, $1779 = 0, $178 = 0, $1780 = 0, $1781 = 0, $1782 = 0, $1783 = 0, $1784 = 0, $1785 = 0, $1786 = 0, $1787 = 0, $1788 = 0, $1789 = 0, $179 = 0, $1790 = 0, $1791 = 0, $1792 = 0, $1793 = 0, $1794 = 0;
+ var $1795 = 0, $1796 = 0, $1797 = 0, $1798 = 0, $1799 = 0, $18 = 0, $180 = 0, $1800 = 0, $1801 = 0, $1802 = 0, $1803 = 0, $1804 = 0, $1805 = 0, $1806 = 0, $1807 = 0, $1808 = 0, $1809 = 0, $181 = 0, $1810 = 0, $1811 = 0;
+ var $1812 = 0, $1813 = 0, $1814 = 0, $1815 = 0, $1816 = 0, $1817 = 0, $1818 = 0, $1819 = 0, $182 = 0, $1820 = 0, $1821 = 0, $1822 = 0, $1823 = 0, $1824 = 0, $1825 = 0, $1826 = 0, $1827 = 0, $1828 = 0, $1829 = 0, $183 = 0;
+ var $1830 = 0, $1831 = 0, $1832 = 0, $1833 = 0, $1834 = 0, $1835 = 0, $1836 = 0, $1837 = 0, $1838 = 0, $1839 = 0, $184 = 0, $1840 = 0, $1841 = 0, $1842 = 0, $1843 = 0, $1844 = 0, $1845 = 0, $1846 = 0, $1847 = 0, $1848 = 0;
+ var $1849 = 0, $185 = 0, $1850 = 0, $1851 = 0, $1852 = 0, $1853 = 0, $1854 = 0, $1855 = 0, $1856 = 0, $1857 = 0, $1858 = 0, $1859 = 0, $186 = 0, $1860 = 0, $1861 = 0, $1862 = 0, $1863 = 0, $1864 = 0, $1865 = 0, $1866 = 0;
+ var $1867 = 0, $1868 = 0, $1869 = 0, $187 = 0, $1870 = 0, $1871 = 0, $1872 = 0, $1873 = 0, $1874 = 0, $1875 = 0, $1876 = 0, $1877 = 0, $1878 = 0, $1879 = 0, $188 = 0, $1880 = 0, $1881 = 0, $1882 = 0, $1883 = 0, $1884 = 0;
+ var $1885 = 0, $1886 = 0.0, $1887 = 0, $1888 = 0, $1889 = 0, $189 = 0, $1890 = 0, $1891 = 0, $1892 = 0, $1893 = 0, $1894 = 0, $1895 = 0, $1896 = 0, $1897 = 0, $1898 = 0, $1899 = 0, $19 = 0, $190 = 0, $1900 = 0, $1901 = 0;
+ var $1902 = 0, $1903 = 0, $1904 = 0, $1905 = 0, $1906 = 0, $1907 = 0, $1908 = 0, $1909 = 0, $191 = 0, $1910 = 0, $1911 = 0, $1912 = 0, $1913 = 0.0, $1914 = 0, $1915 = 0, $1916 = 0, $1917 = 0, $1918 = 0, $1919 = 0, $192 = 0;
+ var $1920 = 0, $1921 = 0, $1922 = 0, $1923 = 0, $1924 = 0, $1925 = 0, $1926 = 0, $1927 = 0, $1928 = 0, $1929 = 0, $193 = 0, $1930 = 0, $1931 = 0, $1932 = 0, $1933 = 0, $1934 = 0, $1935 = 0, $1936 = 0, $1937 = 0, $1938 = 0;
+ var $1939 = 0, $194 = 0, $1940 = 0, $1941 = 0, $1942 = 0, $1943 = 0, $1944 = 0, $1945 = 0, $1946 = 0, $1947 = 0, $1948 = 0, $1949 = 0, $195 = 0, $1950 = 0, $1951 = 0, $1952 = 0, $1953 = 0, $1954 = 0, $1955 = 0, $1956 = 0;
+ var $1957 = 0, $1958 = 0, $1959 = 0, $196 = 0, $1960 = 0, $1961 = 0, $1962 = 0, $1963 = 0, $1964 = 0, $1965 = 0, $1966 = 0, $1967 = 0, $1968 = 0, $1969 = 0, $197 = 0, $1970 = 0, $1971 = 0, $1972 = 0, $1973 = 0, $1974 = 0;
+ var $1975 = 0, $1976 = 0, $1977 = 0, $1978 = 0, $1979 = 0, $198 = 0, $1980 = 0, $1981 = 0, $1982 = 0, $1983 = 0, $1984 = 0, $1985 = 0, $1986 = 0, $1987 = 0, $1988 = 0, $1989 = 0, $199 = 0, $1990 = 0, $1991 = 0, $1992 = 0;
+ var $1993 = 0, $1994 = 0, $1995 = 0, $1996 = 0, $1997 = 0, $1998 = 0.0, $1999 = 0, $20 = 0, $200 = 0, $2000 = 0, $2001 = 0, $2002 = 0, $2003 = 0, $2004 = 0, $2005 = 0, $2006 = 0, $2007 = 0, $2008 = 0, $2009 = 0, $201 = 0;
+ var $2010 = 0, $2011 = 0, $2012 = 0, $2013 = 0, $2014 = 0, $2015 = 0, $2016 = 0, $2017 = 0, $2018 = 0, $2019 = 0, $202 = 0, $2020 = 0, $2021 = 0, $2022 = 0, $2023 = 0, $2024 = 0, $2025 = 0, $2026 = 0, $2027 = 0, $2028 = 0;
+ var $2029 = 0, $203 = 0, $2030 = 0, $2031 = 0, $2032 = 0, $2033 = 0, $2034 = 0, $2035 = 0, $2036 = 0, $2037 = 0, $2038 = 0, $2039 = 0, $204 = 0, $2040 = 0, $2041 = 0, $2042 = 0, $2043 = 0, $2044 = 0, $2045 = 0, $2046 = 0;
+ var $2047 = 0, $2048 = 0, $2049 = 0, $205 = 0, $2050 = 0, $2051 = 0, $2052 = 0, $2053 = 0, $2054 = 0, $2055 = 0, $2056 = 0, $2057 = 0, $2058 = 0, $2059 = 0, $206 = 0, $2060 = 0, $2061 = 0, $2062 = 0, $2063 = 0, $2064 = 0;
+ var $2065 = 0, $2066 = 0, $2067 = 0, $2068 = 0.0, $2069 = 0, $207 = 0, $2070 = 0.0, $2071 = 0.0, $2072 = 0.0, $2073 = 0.0, $2074 = 0, $2075 = 0, $2076 = 0, $2077 = 0, $2078 = 0, $2079 = 0, $208 = 0, $2080 = 0, $2081 = 0, $2082 = 0;
+ var $2083 = 0, $2084 = 0, $2085 = 0, $2086 = 0, $2087 = 0, $2088 = 0, $2089 = 0, $209 = 0, $2090 = 0, $2091 = 0, $2092 = 0, $2093 = 0, $2094 = 0, $2095 = 0, $2096 = 0, $2097 = 0, $2098 = 0, $2099 = 0, $21 = 0, $210 = 0;
+ var $2100 = 0, $2101 = 0, $2102 = 0, $2103 = 0, $2104 = 0, $2105 = 0, $2106 = 0, $2107 = 0, $2108 = 0, $2109 = 0, $211 = 0, $2110 = 0, $2111 = 0, $2112 = 0, $2113 = 0, $2114 = 0, $2115 = 0, $2116 = 0, $2117 = 0, $2118 = 0;
+ var $2119 = 0, $212 = 0, $2120 = 0, $2121 = 0, $2122 = 0, $2123 = 0, $2124 = 0, $2125 = 0, $2126 = 0, $2127 = 0, $2128 = 0, $2129 = 0, $213 = 0, $2130 = 0, $2131 = 0, $2132 = 0, $2133 = 0, $2134 = 0, $2135 = 0, $2136 = 0;
+ var $2137 = 0, $2138 = 0, $2139 = 0, $214 = 0, $2140 = 0, $2141 = 0, $2142 = 0, $2143 = 0, $2144 = 0, $2145 = 0, $2146 = 0, $2147 = 0, $2148 = 0, $2149 = 0, $215 = 0, $2150 = 0, $2151 = 0, $2152 = 0, $2153 = 0, $2154 = 0;
+ var $2155 = 0, $2156 = 0, $2157 = 0, $2158 = 0, $2159 = 0, $216 = 0, $2160 = 0, $2161 = 0, $2162 = 0, $2163 = 0, $2164 = 0, $2165 = 0, $2166 = 0, $2167 = 0, $2168 = 0, $2169 = 0, $217 = 0, $2170 = 0, $2171 = 0, $2172 = 0;
+ var $2173 = 0, $2174 = 0, $2175 = 0, $2176 = 0, $2177 = 0, $2178 = 0, $2179 = 0, $218 = 0, $2180 = 0, $2181 = 0, $2182 = 0, $2183 = 0, $2184 = 0, $2185 = 0, $2186 = 0, $2187 = 0, $2188 = 0, $2189 = 0, $219 = 0, $2190 = 0;
+ var $2191 = 0, $2192 = 0, $2193 = 0, $2194 = 0, $2195 = 0, $2196 = 0, $2197 = 0, $2198 = 0, $2199 = 0, $22 = 0, $220 = 0, $2200 = 0, $2201 = 0, $2202 = 0, $2203 = 0, $2204 = 0, $2205 = 0, $2206 = 0, $2207 = 0, $2208 = 0;
+ var $2209 = 0, $221 = 0, $2210 = 0, $2211 = 0, $2212 = 0, $2213 = 0, $2214 = 0, $2215 = 0, $2216 = 0, $2217 = 0, $2218 = 0, $2219 = 0, $222 = 0, $2220 = 0, $2221 = 0, $2222 = 0, $2223 = 0, $2224 = 0, $2225 = 0, $2226 = 0;
+ var $2227 = 0, $2228 = 0, $2229 = 0, $223 = 0, $2230 = 0, $2231 = 0, $2232 = 0, $2233 = 0, $2234 = 0, $2235 = 0, $2236 = 0, $2237 = 0, $2238 = 0, $2239 = 0, $224 = 0, $2240 = 0, $2241 = 0, $2242 = 0, $2243 = 0, $2244 = 0;
+ var $2245 = 0, $2246 = 0, $2247 = 0, $2248 = 0, $2249 = 0, $225 = 0, $2250 = 0, $2251 = 0, $2252 = 0, $2253 = 0, $2254 = 0, $2255 = 0, $2256 = 0, $2257 = 0, $2258 = 0, $2259 = 0, $226 = 0, $2260 = 0, $2261 = 0, $2262 = 0;
+ var $2263 = 0, $2264 = 0, $2265 = 0, $2266 = 0, $2267 = 0, $2268 = 0, $2269 = 0, $227 = 0, $2270 = 0, $2271 = 0, $2272 = 0, $2273 = 0, $2274 = 0, $2275 = 0, $2276 = 0, $2277 = 0, $2278 = 0, $2279 = 0, $228 = 0, $2280 = 0;
+ var $2281 = 0, $2282 = 0, $2283 = 0, $2284 = 0, $2285 = 0, $2286 = 0, $2287 = 0, $2288 = 0, $2289 = 0, $229 = 0, $2290 = 0, $2291 = 0, $2292 = 0, $2293 = 0, $2294 = 0, $2295 = 0, $2296 = 0, $2297 = 0, $2298 = 0.0, $2299 = 0;
+ var $23 = 0, $230 = 0, $2300 = 0.0, $2301 = 0, $2302 = 0, $2303 = 0, $2304 = 0.0, $2305 = 0.0, $2306 = 0, $2307 = 0, $2308 = 0, $2309 = 0, $231 = 0, $2310 = 0, $2311 = 0, $2312 = 0, $2313 = 0, $2314 = 0, $2315 = 0, $2316 = 0;
+ var $2317 = 0, $2318 = 0, $2319 = 0.0, $232 = 0, $2320 = 0, $2321 = 0, $2322 = 0, $2323 = 0, $2324 = 0, $2325 = 0, $2326 = 0, $2327 = 0, $2328 = 0, $2329 = 0, $233 = 0, $2330 = 0, $2331 = 0, $2332 = 0, $2333 = 0, $2334 = 0;
+ var $2335 = 0, $2336 = 0, $2337 = 0, $2338 = 0, $2339 = 0, $234 = 0, $2340 = 0, $2341 = 0, $2342 = 0, $2343 = 0, $2344 = 0, $2345 = 0, $2346 = 0, $2347 = 0, $2348 = 0, $2349 = 0, $235 = 0, $2350 = 0, $2351 = 0, $2352 = 0;
+ var $2353 = 0, $2354 = 0, $2355 = 0, $2356 = 0, $2357 = 0, $2358 = 0, $2359 = 0, $236 = 0, $2360 = 0, $2361 = 0, $2362 = 0, $2363 = 0, $2364 = 0, $2365 = 0, $2366 = 0, $2367 = 0, $2368 = 0, $2369 = 0, $237 = 0, $2370 = 0.0;
+ var $2371 = 0, $2372 = 0, $2373 = 0, $2374 = 0, $2375 = 0.0, $2376 = 0.0, $2377 = 0.0, $2378 = 0.0, $2379 = 0.0, $238 = 0, $2380 = 0.0, $2381 = 0.0, $2382 = 0, $2383 = 0, $2384 = 0, $2385 = 0, $2386 = 0, $2387 = 0, $2388 = 0, $2389 = 0;
+ var $239 = 0, $2390 = 0, $2391 = 0, $2392 = 0, $2393 = 0, $2394 = 0, $2395 = 0, $2396 = 0, $2397 = 0, $2398 = 0, $2399 = 0, $24 = 0, $240 = 0, $2400 = 0, $2401 = 0, $2402 = 0, $2403 = 0, $2404 = 0, $2405 = 0, $2406 = 0;
+ var $2407 = 0, $2408 = 0, $2409 = 0, $241 = 0, $2410 = 0, $2411 = 0, $2412 = 0, $2413 = 0, $2414 = 0, $2415 = 0, $2416 = 0, $2417 = 0, $2418 = 0, $2419 = 0, $242 = 0, $2420 = 0, $2421 = 0, $2422 = 0, $2423 = 0, $2424 = 0;
+ var $2425 = 0, $2426 = 0, $2427 = 0, $2428 = 0, $2429 = 0, $243 = 0, $2430 = 0, $2431 = 0, $2432 = 0, $2433 = 0, $2434 = 0, $2435 = 0, $2436 = 0, $2437 = 0, $2438 = 0, $2439 = 0, $244 = 0.0, $2440 = 0, $2441 = 0, $2442 = 0;
+ var $2443 = 0, $2444 = 0, $2445 = 0, $2446 = 0, $2447 = 0, $2448 = 0, $2449 = 0, $245 = 0.0, $2450 = 0, $2451 = 0, $2452 = 0, $2453 = 0, $2454 = 0, $2455 = 0, $2456 = 0, $2457 = 0, $2458 = 0, $2459 = 0, $246 = 0.0, $2460 = 0;
+ var $2461 = 0, $2462 = 0, $2463 = 0, $2464 = 0, $2465 = 0, $2466 = 0, $2467 = 0, $2468 = 0, $2469 = 0, $247 = 0.0, $2470 = 0, $2471 = 0, $2472 = 0, $2473 = 0, $2474 = 0, $2475 = 0, $2476 = 0, $2477 = 0, $2478 = 0, $2479 = 0;
+ var $248 = 0.0, $2480 = 0, $2481 = 0, $2482 = 0, $2483 = 0, $2484 = 0, $2485 = 0, $2486 = 0, $2487 = 0, $2488 = 0, $2489 = 0, $249 = 0.0, $2490 = 0, $2491 = 0, $2492 = 0, $2493 = 0, $2494 = 0, $2495 = 0, $2496 = 0, $2497 = 0;
+ var $2498 = 0, $2499 = 0, $25 = 0, $250 = 0, $2500 = 0, $2501 = 0, $2502 = 0, $2503 = 0, $2504 = 0, $2505 = 0, $2506 = 0, $2507 = 0, $2508 = 0, $2509 = 0, $251 = 0, $2510 = 0, $2511 = 0, $2512 = 0, $2513 = 0, $2514 = 0;
+ var $2515 = 0, $2516 = 0, $2517 = 0, $2518 = 0, $2519 = 0, $252 = 0, $2520 = 0, $2521 = 0, $2522 = 0, $2523 = 0, $2524 = 0, $2525 = 0, $2526 = 0, $2527 = 0, $2528 = 0, $2529 = 0, $253 = 0, $2530 = 0, $2531 = 0, $2532 = 0;
+ var $2533 = 0, $2534 = 0, $2535 = 0, $2536 = 0, $2537 = 0, $2538 = 0, $2539 = 0, $254 = 0, $2540 = 0, $2541 = 0, $2542 = 0, $2543 = 0, $2544 = 0, $2545 = 0, $2546 = 0, $2547 = 0, $2548 = 0, $2549 = 0, $255 = 0, $2550 = 0;
+ var $2551 = 0, $2552 = 0, $2553 = 0, $2554 = 0, $2555 = 0, $2556 = 0, $2557 = 0, $2558 = 0, $2559 = 0, $256 = 0, $2560 = 0, $2561 = 0, $2562 = 0, $2563 = 0, $2564 = 0, $2565 = 0, $2566 = 0, $2567 = 0, $2568 = 0, $2569 = 0;
+ var $257 = 0, $2570 = 0, $2571 = 0, $2572 = 0, $2573 = 0, $2574 = 0, $2575 = 0, $2576 = 0, $2577 = 0, $2578 = 0, $2579 = 0, $258 = 0, $2580 = 0, $2581 = 0, $2582 = 0, $2583 = 0, $2584 = 0, $2585 = 0, $2586 = 0, $2587 = 0;
+ var $2588 = 0, $2589 = 0, $259 = 0, $2590 = 0, $2591 = 0, $2592 = 0, $2593 = 0, $2594 = 0, $2595 = 0, $2596 = 0, $2597 = 0, $2598 = 0, $2599 = 0, $26 = 0, $260 = 0, $2600 = 0, $2601 = 0, $2602 = 0, $2603 = 0, $2604 = 0;
+ var $2605 = 0, $2606 = 0, $2607 = 0, $2608 = 0, $2609 = 0, $261 = 0, $2610 = 0, $2611 = 0, $2612 = 0, $2613 = 0, $2614 = 0, $2615 = 0, $2616 = 0, $2617 = 0, $2618 = 0, $2619 = 0, $262 = 0, $2620 = 0, $2621 = 0, $2622 = 0;
+ var $2623 = 0, $2624 = 0, $2625 = 0, $2626 = 0, $2627 = 0, $2628 = 0, $2629 = 0, $263 = 0, $2630 = 0, $2631 = 0, $2632 = 0, $2633 = 0, $2634 = 0, $2635 = 0, $2636 = 0, $2637 = 0, $2638 = 0, $2639 = 0, $264 = 0, $2640 = 0;
+ var $2641 = 0, $2642 = 0, $2643 = 0, $2644 = 0, $2645 = 0, $2646 = 0, $2647 = 0, $2648 = 0, $2649 = 0, $265 = 0, $2650 = 0, $2651 = 0, $2652 = 0, $2653 = 0, $2654 = 0, $2655 = 0, $2656 = 0, $2657 = 0, $2658 = 0, $2659 = 0;
+ var $266 = 0, $2660 = 0, $2661 = 0, $2662 = 0, $2663 = 0, $2664 = 0, $2665 = 0, $2666 = 0, $2667 = 0, $2668 = 0, $2669 = 0, $267 = 0, $2670 = 0, $2671 = 0, $2672 = 0, $2673 = 0, $2674 = 0, $2675 = 0, $2676 = 0, $2677 = 0;
+ var $2678 = 0, $2679 = 0, $268 = 0, $2680 = 0, $2681 = 0, $2682 = 0, $2683 = 0, $2684 = 0, $2685 = 0, $2686 = 0, $2687 = 0, $2688 = 0, $2689 = 0, $269 = 0, $2690 = 0, $2691 = 0, $2692 = 0, $2693 = 0, $2694 = 0, $2695 = 0;
+ var $2696 = 0, $2697 = 0, $2698 = 0, $2699 = 0, $27 = 0, $270 = 0, $2700 = 0, $2701 = 0, $2702 = 0, $2703 = 0, $2704 = 0, $2705 = 0, $2706 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0;
+ var $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0.0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0;
+ var $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
+ var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
+ var $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0;
+ var $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0;
+ var $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0;
+ var $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0;
+ var $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0;
+ var $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0;
+ var $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0;
+ var $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0;
+ var $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0;
+ var $496 = 0, $497 = 0.0, $498 = 0.0, $499 = 0, $50 = 0.0, $500 = 0.0, $501 = 0.0, $502 = 0.0, $503 = 0, $504 = 0.0, $505 = 0.0, $506 = 0.0, $507 = 0, $508 = 0.0, $509 = 0.0, $51 = 0, $510 = 0, $511 = 0.0, $512 = 0.0, $513 = 0.0;
+ var $514 = 0, $515 = 0.0, $516 = 0.0, $517 = 0.0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0.0, $530 = 0, $531 = 0;
+ var $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0;
+ var $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0;
+ var $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0;
+ var $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0;
+ var $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0;
+ var $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0;
+ var $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0;
+ var $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0;
+ var $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0;
+ var $696 = 0, $697 = 0, $698 = 0, $699 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0;
+ var $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0;
+ var $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0;
+ var $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0;
+ var $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0;
+ var $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0;
+ var $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0, $822 = 0;
+ var $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0, $840 = 0;
+ var $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0;
+ var $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0.0, $870 = 0, $871 = 0, $872 = 0, $873 = 0, $874 = 0, $875 = 0, $876 = 0, $877 = 0;
+ var $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0, $890 = 0, $891 = 0, $892 = 0, $893 = 0, $894 = 0, $895 = 0;
+ var $896 = 0, $897 = 0, $898 = 0, $899 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0, $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0, $913 = 0;
+ var $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0.0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0, $927 = 0, $928 = 0, $929 = 0, $93 = 0.0, $930 = 0, $931 = 0;
+ var $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0, $944 = 0, $945 = 0, $946 = 0, $947 = 0, $948 = 0, $949 = 0, $95 = 0;
+ var $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0, $963 = 0, $964 = 0, $965 = 0, $966 = 0, $967 = 0, $968 = 0;
+ var $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0.0, $980 = 0, $981 = 0, $982 = 0, $983 = 0, $984 = 0, $985 = 0, $986 = 0;
+ var $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0, $999 = 0, $cond = 0, $or$cond = 0, $or$cond11 = 0, $or$cond16 = 0, $or$cond19 = 0, $or$cond21 = 0;
+ var $or$cond3 = 0, $or$cond35 = 0, $or$cond37 = 0, $or$cond39 = 0, $or$cond44 = 0, $or$cond44$not = 0, $or$cond5 = 0, $or$cond52 = 0, $vararg_buffer = 0, $vararg_buffer102 = 0, $vararg_buffer104 = 0, $vararg_buffer107 = 0, $vararg_buffer110 = 0, $vararg_buffer53 = 0, $vararg_buffer56 = 0, $vararg_buffer59 = 0, $vararg_buffer62 = 0, $vararg_buffer65 = 0, $vararg_buffer68 = 0, $vararg_buffer71 = 0;
+ var $vararg_buffer74 = 0, $vararg_buffer77 = 0, $vararg_buffer80 = 0, $vararg_buffer83 = 0, $vararg_buffer86 = 0, $vararg_buffer89 = 0, $vararg_buffer92 = 0, $vararg_buffer94 = 0, $vararg_buffer97 = 0, $vararg_buffer99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 1072|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1072|0);
- $vararg_buffer85 = sp + 168|0;
- $vararg_buffer82 = sp + 160|0;
- $vararg_buffer79 = sp + 152|0;
- $vararg_buffer77 = sp + 144|0;
- $vararg_buffer74 = sp + 136|0;
- $vararg_buffer72 = sp + 128|0;
- $vararg_buffer69 = sp + 120|0;
- $vararg_buffer67 = sp + 112|0;
- $vararg_buffer64 = sp + 104|0;
- $vararg_buffer61 = sp + 96|0;
- $vararg_buffer58 = sp + 88|0;
- $vararg_buffer55 = sp + 80|0;
- $vararg_buffer52 = sp + 72|0;
- $vararg_buffer49 = sp + 64|0;
- $vararg_buffer46 = sp + 56|0;
- $vararg_buffer43 = sp + 48|0;
- $vararg_buffer40 = sp + 40|0;
- $vararg_buffer37 = sp + 32|0;
- $vararg_buffer34 = sp + 24|0;
- $vararg_buffer31 = sp + 16|0;
- $vararg_buffer28 = sp + 8|0;
+ $vararg_buffer110 = sp + 168|0;
+ $vararg_buffer107 = sp + 160|0;
+ $vararg_buffer104 = sp + 152|0;
+ $vararg_buffer102 = sp + 144|0;
+ $vararg_buffer99 = sp + 136|0;
+ $vararg_buffer97 = sp + 128|0;
+ $vararg_buffer94 = sp + 120|0;
+ $vararg_buffer92 = sp + 112|0;
+ $vararg_buffer89 = sp + 104|0;
+ $vararg_buffer86 = sp + 96|0;
+ $vararg_buffer83 = sp + 88|0;
+ $vararg_buffer80 = sp + 80|0;
+ $vararg_buffer77 = sp + 72|0;
+ $vararg_buffer74 = sp + 64|0;
+ $vararg_buffer71 = sp + 56|0;
+ $vararg_buffer68 = sp + 48|0;
+ $vararg_buffer65 = sp + 40|0;
+ $vararg_buffer62 = sp + 32|0;
+ $vararg_buffer59 = sp + 24|0;
+ $vararg_buffer56 = sp + 16|0;
+ $vararg_buffer53 = sp + 8|0;
$vararg_buffer = sp;
- $nBytes = sp + 976|0;
- $enc = sp + 928|0;
- $redundant_rng = sp + 888|0;
- $celt_mode = sp + 836|0;
- $analysis_info = sp + 808|0;
- $dummy = sp + 680|0;
- $bandwidth_thresholds = sp + 640|0;
- $rp = sp + 284|0;
- $zero = sp + 220|0;
- $dummy1932 = sp + 1056|0;
- $dummy1957 = sp + 1054|0;
- $st$addr = $st;
- $pcm$addr = $pcm;
- $frame_size$addr = $frame_size;
- $data$addr = $data;
- $out_data_bytes$addr = $out_data_bytes;
- $lsb_depth$addr = $lsb_depth;
- $analysis_pcm$addr = $analysis_pcm;
- $analysis_size$addr = $analysis_size;
- $c1$addr = $c1;
- $c2$addr = $c2;
- $analysis_channels$addr = $analysis_channels;
- $downmix$addr = $downmix;
- $float_api$addr = $float_api;
- $ret = 0;
- $prefill = 0;
- $start_band = 0;
- $redundancy = 0;
- $redundancy_bytes = 0;
- $celt_to_silk = 0;
- $to_celt = 0;
- HEAP32[$redundant_rng>>2] = 0;
- $analysis_read_pos_bak = -1;
- $analysis_read_subframe_bak = -1;
- $0 = $out_data_bytes$addr;
- $cmp = (1276)<($0|0);
- $1 = $out_data_bytes$addr;
- $cond = $cmp ? 1276 : $1;
- $max_data_bytes = $cond;
- $2 = $st$addr;
- $rangeFinal = ((($2)) + 18216|0);
- HEAP32[$rangeFinal>>2] = 0;
- $3 = $st$addr;
- $variable_duration = ((($3)) + 144|0);
- $4 = HEAP32[$variable_duration>>2]|0;
- $tobool = ($4|0)!=(0);
- if ($tobool) {
+ $31 = sp + 976|0;
+ $32 = sp + 928|0;
+ $41 = sp + 888|0;
+ $54 = sp + 836|0;
+ $55 = sp + 808|0;
+ $66 = sp + 680|0;
+ $69 = sp + 640|0;
+ $83 = sp + 284|0;
+ $100 = sp + 220|0;
+ $110 = sp + 1056|0;
+ $112 = sp + 1054|0;
+ $14 = $0;
+ $15 = $1;
+ $16 = $2;
+ $17 = $3;
+ $18 = $4;
+ $19 = $5;
+ $20 = $6;
+ $21 = $7;
+ $22 = $8;
+ $23 = $9;
+ $24 = $10;
+ $25 = $11;
+ $26 = $12;
+ $30 = 0;
+ $34 = 0;
+ $35 = 0;
+ $36 = 0;
+ $37 = 0;
+ $38 = 0;
+ $40 = 0;
+ HEAP32[$41>>2] = 0;
+ $56 = -1;
+ $57 = -1;
+ $115 = $18;
+ $116 = (1276)<($115|0);
+ $117 = $18;
+ $118 = $116 ? 1276 : $117;
+ $51 = $118;
+ $119 = $14;
+ $120 = ((($119)) + 18216|0);
+ HEAP32[$120>>2] = 0;
+ $121 = $14;
+ $122 = ((($121)) + 144|0);
+ $123 = HEAP32[$122>>2]|0;
+ $124 = ($123|0)!=(0);
+ if ($124) {
label = 8;
} else {
- $5 = $frame_size$addr;
- $mul = ($5*400)|0;
- $6 = $st$addr;
- $Fs = ((($6)) + 132|0);
- $7 = HEAP32[$Fs>>2]|0;
- $cmp1 = ($mul|0)!=($7|0);
- if ($cmp1) {
- $8 = $frame_size$addr;
- $mul3 = ($8*200)|0;
- $9 = $st$addr;
- $Fs4 = ((($9)) + 132|0);
- $10 = HEAP32[$Fs4>>2]|0;
- $cmp5 = ($mul3|0)!=($10|0);
- if ($cmp5) {
- $11 = $frame_size$addr;
- $mul7 = ($11*100)|0;
- $12 = $st$addr;
- $Fs8 = ((($12)) + 132|0);
- $13 = HEAP32[$Fs8>>2]|0;
- $cmp9 = ($mul7|0)!=($13|0);
- if ($cmp9) {
- $14 = $frame_size$addr;
- $mul11 = ($14*50)|0;
- $15 = $st$addr;
- $Fs12 = ((($15)) + 132|0);
- $16 = HEAP32[$Fs12>>2]|0;
- $cmp13 = ($mul11|0)!=($16|0);
- if ($cmp13) {
- $17 = $frame_size$addr;
- $mul15 = ($17*25)|0;
- $18 = $st$addr;
- $Fs16 = ((($18)) + 132|0);
- $19 = HEAP32[$Fs16>>2]|0;
- $cmp17 = ($mul15|0)!=($19|0);
- if ($cmp17) {
- $20 = $frame_size$addr;
- $mul19 = ($20*50)|0;
- $21 = $st$addr;
- $Fs20 = ((($21)) + 132|0);
- $22 = HEAP32[$Fs20>>2]|0;
- $mul21 = ($22*3)|0;
- $cmp22 = ($mul19|0)!=($mul21|0);
- if (!($cmp22)) {
+ $125 = $16;
+ $126 = ($125*400)|0;
+ $127 = $14;
+ $128 = ((($127)) + 132|0);
+ $129 = HEAP32[$128>>2]|0;
+ $130 = ($126|0)!=($129|0);
+ if ($130) {
+ $131 = $16;
+ $132 = ($131*200)|0;
+ $133 = $14;
+ $134 = ((($133)) + 132|0);
+ $135 = HEAP32[$134>>2]|0;
+ $136 = ($132|0)!=($135|0);
+ if ($136) {
+ $137 = $16;
+ $138 = ($137*100)|0;
+ $139 = $14;
+ $140 = ((($139)) + 132|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = ($138|0)!=($141|0);
+ if ($142) {
+ $143 = $16;
+ $144 = ($143*50)|0;
+ $145 = $14;
+ $146 = ((($145)) + 132|0);
+ $147 = HEAP32[$146>>2]|0;
+ $148 = ($144|0)!=($147|0);
+ if ($148) {
+ $149 = $16;
+ $150 = ($149*25)|0;
+ $151 = $14;
+ $152 = ((($151)) + 132|0);
+ $153 = HEAP32[$152>>2]|0;
+ $154 = ($150|0)!=($153|0);
+ if ($154) {
+ $155 = $16;
+ $156 = ($155*50)|0;
+ $157 = $14;
+ $158 = ((($157)) + 132|0);
+ $159 = HEAP32[$158>>2]|0;
+ $160 = ($159*3)|0;
+ $161 = ($156|0)!=($160|0);
+ if (!($161)) {
label = 8;
}
} else {
@@ -6811,184 +6813,184 @@ function _opus_encode_native($st,$pcm,$frame_size,$data,$out_data_bytes,$lsb_dep
}
}
if ((label|0) == 8) {
- $23 = $frame_size$addr;
- $mul23 = ($23*400)|0;
- $24 = $st$addr;
- $Fs24 = ((($24)) + 132|0);
- $25 = HEAP32[$Fs24>>2]|0;
- $cmp25 = ($mul23|0)<($25|0);
- $26 = $max_data_bytes;
- $cmp27 = ($26|0)<=(0);
- $or$cond = $cmp25 | $cmp27;
+ $162 = $16;
+ $163 = ($162*400)|0;
+ $164 = $14;
+ $165 = ((($164)) + 132|0);
+ $166 = HEAP32[$165>>2]|0;
+ $167 = ($163|0)<($166|0);
+ $168 = $51;
+ $169 = ($168|0)<=(0);
+ $or$cond = $167 | $169;
if (!($or$cond)) {
- $27 = $st$addr;
- $28 = $st$addr;
- $silk_enc_offset = ((($28)) + 4|0);
- $29 = HEAP32[$silk_enc_offset>>2]|0;
- $add$ptr = (($27) + ($29)|0);
- $silk_enc = $add$ptr;
- $30 = $st$addr;
- $31 = $st$addr;
- $32 = HEAP32[$31>>2]|0;
- $add$ptr28 = (($30) + ($32)|0);
- $celt_enc = $add$ptr28;
- $33 = $st$addr;
- $application = ((($33)) + 96|0);
- $34 = HEAP32[$application>>2]|0;
- $cmp29 = ($34|0)==(2051);
- if ($cmp29) {
- $delay_compensation = 0;
+ $170 = $14;
+ $171 = $14;
+ $172 = ((($171)) + 4|0);
+ $173 = HEAP32[$172>>2]|0;
+ $174 = (($170) + ($173)|0);
+ $27 = $174;
+ $175 = $14;
+ $176 = $14;
+ $177 = HEAP32[$176>>2]|0;
+ $178 = (($175) + ($177)|0);
+ $28 = $178;
+ $179 = $14;
+ $180 = ((($179)) + 96|0);
+ $181 = HEAP32[$180>>2]|0;
+ $182 = ($181|0)==(2051);
+ if ($182) {
+ $46 = 0;
} else {
- $35 = $st$addr;
- $delay_compensation31 = ((($35)) + 104|0);
- $36 = HEAP32[$delay_compensation31>>2]|0;
- $delay_compensation = $36;
+ $183 = $14;
+ $184 = ((($183)) + 104|0);
+ $185 = HEAP32[$184>>2]|0;
+ $46 = $185;
}
- $37 = $lsb_depth$addr;
- $38 = $st$addr;
- $lsb_depth33 = ((($38)) + 156|0);
- $39 = HEAP32[$lsb_depth33>>2]|0;
- $cmp34 = ($37|0)<($39|0);
- if ($cmp34) {
- $40 = $lsb_depth$addr;
- $cond39 = $40;
+ $186 = $19;
+ $187 = $14;
+ $188 = ((($187)) + 156|0);
+ $189 = HEAP32[$188>>2]|0;
+ $190 = ($186|0)<($189|0);
+ if ($190) {
+ $191 = $19;
+ $195 = $191;
} else {
- $41 = $st$addr;
- $lsb_depth37 = ((($41)) + 156|0);
- $42 = HEAP32[$lsb_depth37>>2]|0;
- $cond39 = $42;
+ $192 = $14;
+ $193 = ((($192)) + 156|0);
+ $194 = HEAP32[$193>>2]|0;
+ $195 = $194;
}
- $lsb_depth$addr = $cond39;
- $43 = $celt_enc;
- $sub$ptr$lhs$cast = $celt_mode;
- $sub$ptr$rhs$cast = $celt_mode;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $add$ptr40 = (($celt_mode) + ($sub$ptr$div<<2)|0);
- HEAP32[$vararg_buffer>>2] = $add$ptr40;
- (_opus_custom_encoder_ctl($43,10015,$vararg_buffer)|0);
- HEAP32[$analysis_info>>2] = 0;
- $44 = $st$addr;
- $silk_mode = ((($44)) + 8|0);
- $complexity = ((($silk_mode)) + 36|0);
- $45 = HEAP32[$complexity>>2]|0;
- $cmp41 = ($45|0)>=(7);
- if ($cmp41) {
- $46 = $st$addr;
- $Fs43 = ((($46)) + 132|0);
- $47 = HEAP32[$Fs43>>2]|0;
- $cmp44 = ($47|0)==(48000);
- if ($cmp44) {
- $48 = $st$addr;
- $analysis = ((($48)) + 172|0);
- $read_pos = ((($analysis)) + 8508|0);
- $49 = HEAP32[$read_pos>>2]|0;
- $analysis_read_pos_bak = $49;
- $50 = $st$addr;
- $analysis46 = ((($50)) + 172|0);
- $read_subframe = ((($analysis46)) + 8512|0);
- $51 = HEAP32[$read_subframe>>2]|0;
- $analysis_read_subframe_bak = $51;
- $52 = $st$addr;
- $analysis47 = ((($52)) + 172|0);
- $53 = HEAP32[$celt_mode>>2]|0;
- $54 = $analysis_pcm$addr;
- $55 = $analysis_size$addr;
- $56 = $frame_size$addr;
- $57 = $c1$addr;
- $58 = $c2$addr;
- $59 = $analysis_channels$addr;
- $60 = $st$addr;
- $Fs48 = ((($60)) + 132|0);
- $61 = HEAP32[$Fs48>>2]|0;
- $62 = $lsb_depth$addr;
- $63 = $downmix$addr;
- _run_analysis($analysis47,$53,$54,$55,$56,$57,$58,$59,$61,$62,$63,$analysis_info);
+ $19 = $195;
+ $196 = $28;
+ $197 = $54;
+ $198 = $54;
+ $199 = (($197) - ($198))|0;
+ $200 = (($199|0) / 4)&-1;
+ $201 = (($54) + ($200<<2)|0);
+ HEAP32[$vararg_buffer>>2] = $201;
+ (_opus_custom_encoder_ctl($196,10015,$vararg_buffer)|0);
+ HEAP32[$55>>2] = 0;
+ $202 = $14;
+ $203 = ((($202)) + 8|0);
+ $204 = ((($203)) + 36|0);
+ $205 = HEAP32[$204>>2]|0;
+ $206 = ($205|0)>=(7);
+ if ($206) {
+ $207 = $14;
+ $208 = ((($207)) + 132|0);
+ $209 = HEAP32[$208>>2]|0;
+ $210 = ($209|0)==(48000);
+ if ($210) {
+ $211 = $14;
+ $212 = ((($211)) + 172|0);
+ $213 = ((($212)) + 8508|0);
+ $214 = HEAP32[$213>>2]|0;
+ $56 = $214;
+ $215 = $14;
+ $216 = ((($215)) + 172|0);
+ $217 = ((($216)) + 8512|0);
+ $218 = HEAP32[$217>>2]|0;
+ $57 = $218;
+ $219 = $14;
+ $220 = ((($219)) + 172|0);
+ $221 = HEAP32[$54>>2]|0;
+ $222 = $20;
+ $223 = $21;
+ $224 = $16;
+ $225 = $22;
+ $226 = $23;
+ $227 = $24;
+ $228 = $14;
+ $229 = ((($228)) + 132|0);
+ $230 = HEAP32[$229>>2]|0;
+ $231 = $19;
+ $232 = $25;
+ _run_analysis($220,$221,$222,$223,$224,$225,$226,$227,$230,$231,$232,$55);
}
}
- $64 = $st$addr;
- $voice_ratio = ((($64)) + 128|0);
- HEAP32[$voice_ratio>>2] = -1;
- $65 = $st$addr;
- $detected_bandwidth = ((($65)) + 18212|0);
- HEAP32[$detected_bandwidth>>2] = 0;
- $66 = HEAP32[$analysis_info>>2]|0;
- $tobool51 = ($66|0)!=(0);
+ $233 = $14;
+ $234 = ((($233)) + 128|0);
+ HEAP32[$234>>2] = -1;
+ $235 = $14;
+ $236 = ((($235)) + 18212|0);
+ HEAP32[$236>>2] = 0;
+ $237 = HEAP32[$55>>2]|0;
+ $238 = ($237|0)!=(0);
do {
- if ($tobool51) {
- $67 = $st$addr;
- $signal_type = ((($67)) + 112|0);
- $68 = HEAP32[$signal_type>>2]|0;
- $cmp53 = ($68|0)==(-1000);
- if ($cmp53) {
- $music_prob = ((($analysis_info)) + 20|0);
- $69 = +HEAPF32[$music_prob>>2];
- $sub = 1.0 - $69;
- $mul55 = 100.0 * $sub;
- $conv = $mul55;
- $add = 0.5 + $conv;
- $call56 = (+Math_floor((+$add)));
- $conv57 = (~~(($call56)));
- $70 = $st$addr;
- $voice_ratio58 = ((($70)) + 128|0);
- HEAP32[$voice_ratio58>>2] = $conv57;
+ if ($238) {
+ $239 = $14;
+ $240 = ((($239)) + 112|0);
+ $241 = HEAP32[$240>>2]|0;
+ $242 = ($241|0)==(-1000);
+ if ($242) {
+ $243 = ((($55)) + 20|0);
+ $244 = +HEAPF32[$243>>2];
+ $245 = 1.0 - $244;
+ $246 = 100.0 * $245;
+ $247 = $246;
+ $248 = 0.5 + $247;
+ $249 = (+Math_floor((+$248)));
+ $250 = (~~(($249)));
+ $251 = $14;
+ $252 = ((($251)) + 128|0);
+ HEAP32[$252>>2] = $250;
}
- $bandwidth = ((($analysis_info)) + 24|0);
- $71 = HEAP32[$bandwidth>>2]|0;
- $analysis_bandwidth = $71;
- $72 = $analysis_bandwidth;
- $cmp60 = ($72|0)<=(12);
- if ($cmp60) {
- $73 = $st$addr;
- $detected_bandwidth63 = ((($73)) + 18212|0);
- HEAP32[$detected_bandwidth63>>2] = 1101;
+ $253 = ((($55)) + 24|0);
+ $254 = HEAP32[$253>>2]|0;
+ $58 = $254;
+ $255 = $58;
+ $256 = ($255|0)<=(12);
+ if ($256) {
+ $257 = $14;
+ $258 = ((($257)) + 18212|0);
+ HEAP32[$258>>2] = 1101;
break;
}
- $74 = $analysis_bandwidth;
- $cmp65 = ($74|0)<=(14);
- if ($cmp65) {
- $75 = $st$addr;
- $detected_bandwidth68 = ((($75)) + 18212|0);
- HEAP32[$detected_bandwidth68>>2] = 1102;
+ $259 = $58;
+ $260 = ($259|0)<=(14);
+ if ($260) {
+ $261 = $14;
+ $262 = ((($261)) + 18212|0);
+ HEAP32[$262>>2] = 1102;
break;
}
- $76 = $analysis_bandwidth;
- $cmp70 = ($76|0)<=(16);
- if ($cmp70) {
- $77 = $st$addr;
- $detected_bandwidth73 = ((($77)) + 18212|0);
- HEAP32[$detected_bandwidth73>>2] = 1103;
+ $263 = $58;
+ $264 = ($263|0)<=(16);
+ if ($264) {
+ $265 = $14;
+ $266 = ((($265)) + 18212|0);
+ HEAP32[$266>>2] = 1103;
break;
} else {
- $78 = $analysis_bandwidth;
- $cmp75 = ($78|0)<=(18);
- $79 = $st$addr;
- $detected_bandwidth78 = ((($79)) + 18212|0);
- $$sink = $cmp75 ? 1104 : 1105;
- HEAP32[$detected_bandwidth78>>2] = $$sink;
+ $267 = $58;
+ $268 = ($267|0)<=(18);
+ $269 = $14;
+ $270 = ((($269)) + 18212|0);
+ $$sink = $268 ? 1104 : 1105;
+ HEAP32[$270>>2] = $$sink;
break;
}
}
} while(0);
- $80 = $st$addr;
- $channels = ((($80)) + 100|0);
- $81 = HEAP32[$channels>>2]|0;
- $cmp86 = ($81|0)==(2);
- if ($cmp86) {
- $82 = $st$addr;
- $force_channels = ((($82)) + 108|0);
- $83 = HEAP32[$force_channels>>2]|0;
- $cmp89 = ($83|0)!=(1);
- if ($cmp89) {
- $84 = $pcm$addr;
- $85 = $frame_size$addr;
- $86 = $st$addr;
- $Fs92 = ((($86)) + 132|0);
- $87 = HEAP32[$Fs92>>2]|0;
- $88 = $st$addr;
- $width_mem = ((($88)) + 14352|0);
- $call93 = (+_compute_stereo_width($84,$85,$87,$width_mem));
- $stereo_width = $call93;
+ $271 = $14;
+ $272 = ((($271)) + 100|0);
+ $273 = HEAP32[$272>>2]|0;
+ $274 = ($273|0)==(2);
+ if ($274) {
+ $275 = $14;
+ $276 = ((($275)) + 108|0);
+ $277 = HEAP32[$276>>2]|0;
+ $278 = ($277|0)!=(1);
+ if ($278) {
+ $279 = $15;
+ $280 = $16;
+ $281 = $14;
+ $282 = ((($281)) + 132|0);
+ $283 = HEAP32[$282>>2]|0;
+ $284 = $14;
+ $285 = ((($284)) + 14352|0);
+ $286 = (+_compute_stereo_width($279,$280,$283,$285));
+ $53 = $286;
} else {
label = 32;
}
@@ -6996,185 +6998,185 @@ function _opus_encode_native($st,$pcm,$frame_size,$data,$out_data_bytes,$lsb_dep
label = 32;
}
if ((label|0) == 32) {
- $stereo_width = 0.0;
+ $53 = 0.0;
}
- $89 = $delay_compensation;
- $total_buffer = $89;
- $90 = $st$addr;
- $91 = $frame_size$addr;
- $92 = $max_data_bytes;
- $call96 = (_user_bitrate_to_bitrate($90,$91,$92)|0);
- $93 = $st$addr;
- $bitrate_bps = ((($93)) + 148|0);
- HEAP32[$bitrate_bps>>2] = $call96;
- $94 = $st$addr;
- $Fs97 = ((($94)) + 132|0);
- $95 = HEAP32[$Fs97>>2]|0;
- $96 = $frame_size$addr;
- $div = (($95|0) / ($96|0))&-1;
- $frame_rate = $div;
- $97 = $max_data_bytes;
- $cmp98 = ($97|0)<(3);
+ $287 = $46;
+ $52 = $287;
+ $288 = $14;
+ $289 = $16;
+ $290 = $51;
+ $291 = (_user_bitrate_to_bitrate($288,$289,$290)|0);
+ $292 = $14;
+ $293 = ((($292)) + 148|0);
+ HEAP32[$293>>2] = $291;
+ $294 = $14;
+ $295 = ((($294)) + 132|0);
+ $296 = HEAP32[$295>>2]|0;
+ $297 = $16;
+ $298 = (($296|0) / ($297|0))&-1;
+ $47 = $298;
+ $299 = $51;
+ $300 = ($299|0)<(3);
do {
- if (!($cmp98)) {
- $98 = $st$addr;
- $bitrate_bps101 = ((($98)) + 148|0);
- $99 = HEAP32[$bitrate_bps101>>2]|0;
- $100 = $frame_rate;
- $mul102 = ($100*3)|0;
- $mul103 = $mul102<<3;
- $cmp104 = ($99|0)<($mul103|0);
- if (!($cmp104)) {
- $101 = $frame_rate;
- $cmp107 = ($101|0)<(50);
- if ($cmp107) {
- $102 = $max_data_bytes;
- $103 = $frame_rate;
- $mul110 = Math_imul($102, $103)|0;
- $cmp111 = ($mul110|0)<(300);
- if ($cmp111) {
+ if (!($300)) {
+ $301 = $14;
+ $302 = ((($301)) + 148|0);
+ $303 = HEAP32[$302>>2]|0;
+ $304 = $47;
+ $305 = ($304*3)|0;
+ $306 = $305<<3;
+ $307 = ($303|0)<($306|0);
+ if (!($307)) {
+ $308 = $47;
+ $309 = ($308|0)<(50);
+ if ($309) {
+ $310 = $51;
+ $311 = $47;
+ $312 = Math_imul($310, $311)|0;
+ $313 = ($312|0)<(300);
+ if ($313) {
break;
}
- $104 = $st$addr;
- $bitrate_bps114 = ((($104)) + 148|0);
- $105 = HEAP32[$bitrate_bps114>>2]|0;
- $cmp115 = ($105|0)<(2400);
- if ($cmp115) {
+ $314 = $14;
+ $315 = ((($314)) + 148|0);
+ $316 = HEAP32[$315>>2]|0;
+ $317 = ($316|0)<(2400);
+ if ($317) {
break;
}
}
- $126 = $st$addr;
- $use_vbr = ((($126)) + 136|0);
- $127 = HEAP32[$use_vbr>>2]|0;
- $tobool160 = ($127|0)!=(0);
- if (!($tobool160)) {
- $128 = $st$addr;
- $bitrate_bps162 = ((($128)) + 148|0);
- $129 = HEAP32[$bitrate_bps162>>2]|0;
- $130 = $frame_rate;
- $mul163 = $130<<2;
- $add164 = (($129) + ($mul163))|0;
- $131 = $frame_rate;
- $mul165 = $131<<3;
- $div166 = (($add164|0) / ($mul165|0))&-1;
- $132 = $max_data_bytes;
- $cmp167 = ($div166|0)<($132|0);
- if ($cmp167) {
- $133 = $st$addr;
- $bitrate_bps170 = ((($133)) + 148|0);
- $134 = HEAP32[$bitrate_bps170>>2]|0;
- $135 = $frame_rate;
- $mul171 = $135<<2;
- $add172 = (($134) + ($mul171))|0;
- $136 = $frame_rate;
- $mul173 = $136<<3;
- $div174 = (($add172|0) / ($mul173|0))&-1;
- $cond177 = $div174;
+ $353 = $14;
+ $354 = ((($353)) + 136|0);
+ $355 = HEAP32[$354>>2]|0;
+ $356 = ($355|0)!=(0);
+ if (!($356)) {
+ $357 = $14;
+ $358 = ((($357)) + 148|0);
+ $359 = HEAP32[$358>>2]|0;
+ $360 = $47;
+ $361 = $360<<2;
+ $362 = (($359) + ($361))|0;
+ $363 = $47;
+ $364 = $363<<3;
+ $365 = (($362|0) / ($364|0))&-1;
+ $366 = $51;
+ $367 = ($365|0)<($366|0);
+ if ($367) {
+ $368 = $14;
+ $369 = ((($368)) + 148|0);
+ $370 = HEAP32[$369>>2]|0;
+ $371 = $47;
+ $372 = $371<<2;
+ $373 = (($370) + ($372))|0;
+ $374 = $47;
+ $375 = $374<<3;
+ $376 = (($373|0) / ($375|0))&-1;
+ $378 = $376;
} else {
- $137 = $max_data_bytes;
- $cond177 = $137;
+ $377 = $51;
+ $378 = $377;
}
- $cbrBytes = $cond177;
- $138 = $cbrBytes;
- $139 = $frame_rate;
- $mul178 = $139<<3;
- $mul179 = Math_imul($138, $mul178)|0;
- $140 = $st$addr;
- $bitrate_bps180 = ((($140)) + 148|0);
- HEAP32[$bitrate_bps180>>2] = $mul179;
- $141 = $cbrBytes;
- $max_data_bytes = $141;
+ $61 = $378;
+ $379 = $61;
+ $380 = $47;
+ $381 = $380<<3;
+ $382 = Math_imul($379, $381)|0;
+ $383 = $14;
+ $384 = ((($383)) + 148|0);
+ HEAP32[$384>>2] = $382;
+ $385 = $61;
+ $51 = $385;
}
- $142 = $frame_rate;
- $143 = $max_data_bytes;
- $mul182 = Math_imul($142, $143)|0;
- $mul183 = $mul182<<3;
- $max_rate = $mul183;
- $144 = $st$addr;
- $bitrate_bps184 = ((($144)) + 148|0);
- $145 = HEAP32[$bitrate_bps184>>2]|0;
- $146 = $st$addr;
- $channels185 = ((($146)) + 100|0);
- $147 = HEAP32[$channels185>>2]|0;
- $mul186 = ($147*40)|0;
- $add187 = (($mul186) + 20)|0;
- $148 = $st$addr;
- $Fs188 = ((($148)) + 132|0);
- $149 = HEAP32[$Fs188>>2]|0;
- $150 = $frame_size$addr;
- $div189 = (($149|0) / ($150|0))&-1;
- $sub190 = (($div189) - 50)|0;
- $mul191 = Math_imul($add187, $sub190)|0;
- $sub192 = (($145) - ($mul191))|0;
- $equiv_rate = $sub192;
- $151 = $st$addr;
- $signal_type193 = ((($151)) + 112|0);
- $152 = HEAP32[$signal_type193>>2]|0;
- $cmp194 = ($152|0)==(3001);
+ $386 = $47;
+ $387 = $51;
+ $388 = Math_imul($386, $387)|0;
+ $389 = $388<<3;
+ $48 = $389;
+ $390 = $14;
+ $391 = ((($390)) + 148|0);
+ $392 = HEAP32[$391>>2]|0;
+ $393 = $14;
+ $394 = ((($393)) + 100|0);
+ $395 = HEAP32[$394>>2]|0;
+ $396 = ($395*40)|0;
+ $397 = (($396) + 20)|0;
+ $398 = $14;
+ $399 = ((($398)) + 132|0);
+ $400 = HEAP32[$399>>2]|0;
+ $401 = $16;
+ $402 = (($400|0) / ($401|0))&-1;
+ $403 = (($402) - 50)|0;
+ $404 = Math_imul($397, $403)|0;
+ $405 = (($392) - ($404))|0;
+ $45 = $405;
+ $406 = $14;
+ $407 = ((($406)) + 112|0);
+ $408 = HEAP32[$407>>2]|0;
+ $409 = ($408|0)==(3001);
do {
- if ($cmp194) {
- $voice_est = 127;
+ if ($409) {
+ $44 = 127;
} else {
- $153 = $st$addr;
- $signal_type198 = ((($153)) + 112|0);
- $154 = HEAP32[$signal_type198>>2]|0;
- $cmp199 = ($154|0)==(3002);
- if ($cmp199) {
- $voice_est = 0;
+ $410 = $14;
+ $411 = ((($410)) + 112|0);
+ $412 = HEAP32[$411>>2]|0;
+ $413 = ($412|0)==(3002);
+ if ($413) {
+ $44 = 0;
break;
}
- $155 = $st$addr;
- $voice_ratio203 = ((($155)) + 128|0);
- $156 = HEAP32[$voice_ratio203>>2]|0;
- $cmp204 = ($156|0)>=(0);
- $157 = $st$addr;
- if ($cmp204) {
- $voice_ratio207 = ((($157)) + 128|0);
- $158 = HEAP32[$voice_ratio207>>2]|0;
- $mul208 = ($158*327)|0;
- $shr = $mul208 >> 8;
- $voice_est = $shr;
- $159 = $st$addr;
- $application209 = ((($159)) + 96|0);
- $160 = HEAP32[$application209>>2]|0;
- $cmp210 = ($160|0)==(2049);
- if (!($cmp210)) {
+ $414 = $14;
+ $415 = ((($414)) + 128|0);
+ $416 = HEAP32[$415>>2]|0;
+ $417 = ($416|0)>=(0);
+ $418 = $14;
+ if ($417) {
+ $419 = ((($418)) + 128|0);
+ $420 = HEAP32[$419>>2]|0;
+ $421 = ($420*327)|0;
+ $422 = $421 >> 8;
+ $44 = $422;
+ $423 = $14;
+ $424 = ((($423)) + 96|0);
+ $425 = HEAP32[$424>>2]|0;
+ $426 = ($425|0)==(2049);
+ if (!($426)) {
break;
}
- $161 = $voice_est;
- $cmp213 = ($161|0)<(115);
- $162 = $voice_est;
- $cond218 = $cmp213 ? $162 : 115;
- $voice_est = $cond218;
+ $427 = $44;
+ $428 = ($427|0)<(115);
+ $429 = $44;
+ $430 = $428 ? $429 : 115;
+ $44 = $430;
break;
}
- $application221 = ((($157)) + 96|0);
- $163 = HEAP32[$application221>>2]|0;
- $cmp222 = ($163|0)==(2048);
- if ($cmp222) {
- $voice_est = 115;
+ $431 = ((($418)) + 96|0);
+ $432 = HEAP32[$431>>2]|0;
+ $433 = ($432|0)==(2048);
+ if ($433) {
+ $44 = 115;
break;
} else {
- $voice_est = 48;
+ $44 = 48;
break;
}
}
} while(0);
- $164 = $st$addr;
- $force_channels230 = ((($164)) + 108|0);
- $165 = HEAP32[$force_channels230>>2]|0;
- $cmp231 = ($165|0)!=(-1000);
- if ($cmp231) {
- $166 = $st$addr;
- $channels234 = ((($166)) + 100|0);
- $167 = HEAP32[$channels234>>2]|0;
- $cmp235 = ($167|0)==(2);
- if ($cmp235) {
- $168 = $st$addr;
- $force_channels238 = ((($168)) + 108|0);
- $169 = HEAP32[$force_channels238>>2]|0;
- $170 = $st$addr;
- $$sink4$sink = $169;$$sink5$sink = $170;
+ $434 = $14;
+ $435 = ((($434)) + 108|0);
+ $436 = HEAP32[$435>>2]|0;
+ $437 = ($436|0)!=(-1000);
+ if ($437) {
+ $438 = $14;
+ $439 = ((($438)) + 100|0);
+ $440 = HEAP32[$439>>2]|0;
+ $441 = ($440|0)==(2);
+ if ($441) {
+ $442 = $14;
+ $443 = ((($442)) + 108|0);
+ $444 = HEAP32[$443>>2]|0;
+ $445 = $14;
+ $$sink6$sink = $444;$$sink8$sink = $445;
} else {
label = 71;
}
@@ -7183,2274 +7185,2274 @@ function _opus_encode_native($st,$pcm,$frame_size,$data,$out_data_bytes,$lsb_dep
}
do {
if ((label|0) == 71) {
- $171 = $st$addr;
- $channels241 = ((($171)) + 100|0);
- $172 = HEAP32[$channels241>>2]|0;
- $cmp242 = ($172|0)==(2);
- if (!($cmp242)) {
- $181 = $st$addr;
- $channels262 = ((($181)) + 100|0);
- $182 = HEAP32[$channels262>>2]|0;
- $183 = $st$addr;
- $$sink4$sink = $182;$$sink5$sink = $183;
+ $446 = $14;
+ $447 = ((($446)) + 100|0);
+ $448 = HEAP32[$447>>2]|0;
+ $449 = ($448|0)==(2);
+ if (!($449)) {
+ $468 = $14;
+ $469 = ((($468)) + 100|0);
+ $470 = HEAP32[$469>>2]|0;
+ $471 = $14;
+ $$sink6$sink = $470;$$sink8$sink = $471;
break;
}
- $173 = $voice_est;
- $174 = $voice_est;
- $mul245 = Math_imul($173, $174)|0;
- $mul246 = 0;
- $shr247 = $mul246 >> 14;
- $add248 = (30000 + ($shr247))|0;
- $stereo_threshold = $add248;
- $175 = $st$addr;
- $stream_channels249 = ((($175)) + 14288|0);
- $176 = HEAP32[$stream_channels249>>2]|0;
- $cmp250 = ($176|0)==(2);
- $177 = $stereo_threshold;
- if ($cmp250) {
- $sub253 = (($177) - 1000)|0;
- $stereo_threshold = $sub253;
+ $450 = $44;
+ $451 = $44;
+ $452 = Math_imul($450, $451)|0;
+ $453 = 0;
+ $454 = $453 >> 14;
+ $455 = (30000 + ($454))|0;
+ $62 = $455;
+ $456 = $14;
+ $457 = ((($456)) + 14288|0);
+ $458 = HEAP32[$457>>2]|0;
+ $459 = ($458|0)==(2);
+ $460 = $62;
+ if ($459) {
+ $461 = (($460) - 1000)|0;
+ $62 = $461;
} else {
- $add255 = (($177) + 1000)|0;
- $stereo_threshold = $add255;
+ $462 = (($460) + 1000)|0;
+ $62 = $462;
}
- $178 = $equiv_rate;
- $179 = $stereo_threshold;
- $cmp257 = ($178|0)>($179|0);
- $cond259 = $cmp257 ? 2 : 1;
- $180 = $st$addr;
- $$sink4$sink = $cond259;$$sink5$sink = $180;
+ $463 = $45;
+ $464 = $62;
+ $465 = ($463|0)>($464|0);
+ $466 = $465 ? 2 : 1;
+ $467 = $14;
+ $$sink6$sink = $466;$$sink8$sink = $467;
}
} while(0);
- $stream_channels263 = ((($$sink5$sink)) + 14288|0);
- HEAP32[$stream_channels263>>2] = $$sink4$sink;
- $184 = $st$addr;
- $bitrate_bps266 = ((($184)) + 148|0);
- $185 = HEAP32[$bitrate_bps266>>2]|0;
- $186 = $st$addr;
- $stream_channels267 = ((($186)) + 14288|0);
- $187 = HEAP32[$stream_channels267>>2]|0;
- $mul268 = ($187*40)|0;
- $add269 = (($mul268) + 20)|0;
- $188 = $st$addr;
- $Fs270 = ((($188)) + 132|0);
- $189 = HEAP32[$Fs270>>2]|0;
- $190 = $frame_size$addr;
- $div271 = (($189|0) / ($190|0))&-1;
- $sub272 = (($div271) - 50)|0;
- $mul273 = Math_imul($add269, $sub272)|0;
- $sub274 = (($185) - ($mul273))|0;
- $equiv_rate = $sub274;
- $191 = $st$addr;
- $application275 = ((($191)) + 96|0);
- $192 = HEAP32[$application275>>2]|0;
- $cmp276 = ($192|0)==(2051);
- $193 = $st$addr;
+ $472 = ((($$sink8$sink)) + 14288|0);
+ HEAP32[$472>>2] = $$sink6$sink;
+ $473 = $14;
+ $474 = ((($473)) + 148|0);
+ $475 = HEAP32[$474>>2]|0;
+ $476 = $14;
+ $477 = ((($476)) + 14288|0);
+ $478 = HEAP32[$477>>2]|0;
+ $479 = ($478*40)|0;
+ $480 = (($479) + 20)|0;
+ $481 = $14;
+ $482 = ((($481)) + 132|0);
+ $483 = HEAP32[$482>>2]|0;
+ $484 = $16;
+ $485 = (($483|0) / ($484|0))&-1;
+ $486 = (($485) - 50)|0;
+ $487 = Math_imul($480, $486)|0;
+ $488 = (($475) - ($487))|0;
+ $45 = $488;
+ $489 = $14;
+ $490 = ((($489)) + 96|0);
+ $491 = HEAP32[$490>>2]|0;
+ $492 = ($491|0)==(2051);
+ $493 = $14;
do {
- if ($cmp276) {
- $$sink7$sink = 1002;$$sink8$sink = $193;
+ if ($492) {
+ $$sink12$sink = 1002;$$sink14$sink = $493;
label = 91;
} else {
- $user_forced_mode = ((($193)) + 124|0);
- $194 = HEAP32[$user_forced_mode>>2]|0;
- $cmp281 = ($194|0)==(-1000);
- if (!($cmp281)) {
- $230 = $st$addr;
- $user_forced_mode345 = ((($230)) + 124|0);
- $231 = HEAP32[$user_forced_mode345>>2]|0;
- $232 = $st$addr;
- $$sink7$sink = $231;$$sink8$sink = $232;
+ $494 = ((($493)) + 124|0);
+ $495 = HEAP32[$494>>2]|0;
+ $496 = ($495|0)==(-1000);
+ if (!($496)) {
+ $576 = $14;
+ $577 = ((($576)) + 124|0);
+ $578 = HEAP32[$577>>2]|0;
+ $579 = $14;
+ $$sink12$sink = $578;$$sink14$sink = $579;
label = 91;
break;
}
- $195 = $stereo_width;
- $sub284 = 1.0 - $195;
- $196 = HEAP32[22]|0;
- $conv285 = (+($196|0));
- $mul286 = $sub284 * $conv285;
- $197 = $stereo_width;
- $198 = HEAP32[(96)>>2]|0;
- $conv287 = (+($198|0));
- $mul288 = $197 * $conv287;
- $add289 = $mul286 + $mul288;
- $conv290 = (~~(($add289)));
- $mode_voice = $conv290;
- $199 = $stereo_width;
- $sub291 = 1.0 - $199;
- $200 = HEAP32[(100)>>2]|0;
- $conv292 = (+($200|0));
- $mul293 = $sub291 * $conv292;
- $201 = $stereo_width;
- $202 = HEAP32[(100)>>2]|0;
- $conv294 = (+($202|0));
- $mul295 = $201 * $conv294;
- $add296 = $mul293 + $mul295;
- $conv297 = (~~(($add296)));
- $mode_music = $conv297;
- $203 = $mode_music;
- $204 = $voice_est;
- $205 = $voice_est;
- $mul298 = Math_imul($204, $205)|0;
- $206 = $mode_voice;
- $207 = $mode_music;
- $sub299 = (($206) - ($207))|0;
- $mul300 = Math_imul($mul298, $sub299)|0;
- $shr301 = $mul300 >> 14;
- $add302 = (($203) + ($shr301))|0;
- $threshold = $add302;
- $208 = $st$addr;
- $application303 = ((($208)) + 96|0);
- $209 = HEAP32[$application303>>2]|0;
- $cmp304 = ($209|0)==(2048);
- if ($cmp304) {
- $210 = $threshold;
- $add307 = (($210) + 8000)|0;
- $threshold = $add307;
+ $497 = $53;
+ $498 = 1.0 - $497;
+ $499 = HEAP32[22]|0;
+ $500 = (+($499|0));
+ $501 = $498 * $500;
+ $502 = $53;
+ $503 = HEAP32[(96)>>2]|0;
+ $504 = (+($503|0));
+ $505 = $502 * $504;
+ $506 = $501 + $505;
+ $507 = (~~(($506)));
+ $63 = $507;
+ $508 = $53;
+ $509 = 1.0 - $508;
+ $510 = HEAP32[(100)>>2]|0;
+ $511 = (+($510|0));
+ $512 = $509 * $511;
+ $513 = $53;
+ $514 = HEAP32[(100)>>2]|0;
+ $515 = (+($514|0));
+ $516 = $513 * $515;
+ $517 = $512 + $516;
+ $518 = (~~(($517)));
+ $64 = $518;
+ $519 = $64;
+ $520 = $44;
+ $521 = $44;
+ $522 = Math_imul($520, $521)|0;
+ $523 = $63;
+ $524 = $64;
+ $525 = (($523) - ($524))|0;
+ $526 = Math_imul($522, $525)|0;
+ $527 = $526 >> 14;
+ $528 = (($519) + ($527))|0;
+ $65 = $528;
+ $529 = $14;
+ $530 = ((($529)) + 96|0);
+ $531 = HEAP32[$530>>2]|0;
+ $532 = ($531|0)==(2048);
+ if ($532) {
+ $533 = $65;
+ $534 = (($533) + 8000)|0;
+ $65 = $534;
}
- $211 = $st$addr;
- $prev_mode = ((($211)) + 14324|0);
- $212 = HEAP32[$prev_mode>>2]|0;
- $cmp309 = ($212|0)==(1002);
+ $535 = $14;
+ $536 = ((($535)) + 14324|0);
+ $537 = HEAP32[$536>>2]|0;
+ $538 = ($537|0)==(1002);
do {
- if ($cmp309) {
- $213 = $threshold;
- $sub312 = (($213) - 4000)|0;
- $threshold = $sub312;
+ if ($538) {
+ $539 = $65;
+ $540 = (($539) - 4000)|0;
+ $65 = $540;
} else {
- $214 = $st$addr;
- $prev_mode314 = ((($214)) + 14324|0);
- $215 = HEAP32[$prev_mode314>>2]|0;
- $cmp315 = ($215|0)>(0);
- if (!($cmp315)) {
+ $541 = $14;
+ $542 = ((($541)) + 14324|0);
+ $543 = HEAP32[$542>>2]|0;
+ $544 = ($543|0)>(0);
+ if (!($544)) {
break;
}
- $216 = $threshold;
- $add318 = (($216) + 4000)|0;
- $threshold = $add318;
+ $545 = $65;
+ $546 = (($545) + 4000)|0;
+ $65 = $546;
}
} while(0);
- $217 = $equiv_rate;
- $218 = $threshold;
- $cmp321 = ($217|0)>=($218|0);
- $cond323 = $cmp321 ? 1002 : 1000;
- $219 = $st$addr;
- $mode324 = ((($219)) + 14320|0);
- HEAP32[$mode324>>2] = $cond323;
- $220 = $st$addr;
- $silk_mode325 = ((($220)) + 8|0);
- $useInBandFEC = ((($silk_mode325)) + 40|0);
- $221 = HEAP32[$useInBandFEC>>2]|0;
- $tobool326 = ($221|0)!=(0);
+ $547 = $45;
+ $548 = $65;
+ $549 = ($547|0)>=($548|0);
+ $550 = $549 ? 1002 : 1000;
+ $551 = $14;
+ $552 = ((($551)) + 14320|0);
+ HEAP32[$552>>2] = $550;
+ $553 = $14;
+ $554 = ((($553)) + 8|0);
+ $555 = ((($554)) + 40|0);
+ $556 = HEAP32[$555>>2]|0;
+ $557 = ($556|0)!=(0);
do {
- if ($tobool326) {
- $222 = $st$addr;
- $silk_mode328 = ((($222)) + 8|0);
- $packetLossPercentage = ((($silk_mode328)) + 32|0);
- $223 = HEAP32[$packetLossPercentage>>2]|0;
- $224 = $voice_est;
- $sub329 = (128 - ($224))|0;
- $shr330 = $sub329 >> 4;
- $cmp331 = ($223|0)>($shr330|0);
- if (!($cmp331)) {
+ if ($557) {
+ $558 = $14;
+ $559 = ((($558)) + 8|0);
+ $560 = ((($559)) + 32|0);
+ $561 = HEAP32[$560>>2]|0;
+ $562 = $44;
+ $563 = (128 - ($562))|0;
+ $564 = $563 >> 4;
+ $565 = ($561|0)>($564|0);
+ if (!($565)) {
break;
}
- $225 = $st$addr;
- $mode334 = ((($225)) + 14320|0);
- HEAP32[$mode334>>2] = 1000;
+ $566 = $14;
+ $567 = ((($566)) + 14320|0);
+ HEAP32[$567>>2] = 1000;
}
} while(0);
- $226 = $st$addr;
- $silk_mode336 = ((($226)) + 8|0);
- $useDTX = ((($silk_mode336)) + 44|0);
- $227 = HEAP32[$useDTX>>2]|0;
- $tobool337 = ($227|0)!=(0);
- $228 = $voice_est;
- $cmp339 = ($228|0)>(100);
- $or$cond6 = $tobool337 & $cmp339;
- if (!($or$cond6)) {
+ $568 = $14;
+ $569 = ((($568)) + 8|0);
+ $570 = ((($569)) + 44|0);
+ $571 = HEAP32[$570>>2]|0;
+ $572 = ($571|0)!=(0);
+ $573 = $44;
+ $574 = ($573|0)>(100);
+ $or$cond11 = $572 & $574;
+ if (!($or$cond11)) {
break;
}
- $229 = $st$addr;
- $$sink7$sink = 1000;$$sink8$sink = $229;
+ $575 = $14;
+ $$sink12$sink = 1000;$$sink14$sink = $575;
label = 91;
}
} while(0);
if ((label|0) == 91) {
- $mode342 = ((($$sink8$sink)) + 14320|0);
- HEAP32[$mode342>>2] = $$sink7$sink;
+ $580 = ((($$sink14$sink)) + 14320|0);
+ HEAP32[$580>>2] = $$sink12$sink;
}
- $233 = $st$addr;
- $mode349 = ((($233)) + 14320|0);
- $234 = HEAP32[$mode349>>2]|0;
- $cmp350 = ($234|0)!=(1002);
- if ($cmp350) {
- $235 = $frame_size$addr;
- $236 = $st$addr;
- $Fs353 = ((($236)) + 132|0);
- $237 = HEAP32[$Fs353>>2]|0;
- $div354 = (($237|0) / 100)&-1;
- $cmp355 = ($235|0)<($div354|0);
- if ($cmp355) {
- $238 = $st$addr;
- $mode358 = ((($238)) + 14320|0);
- HEAP32[$mode358>>2] = 1002;
+ $581 = $14;
+ $582 = ((($581)) + 14320|0);
+ $583 = HEAP32[$582>>2]|0;
+ $584 = ($583|0)!=(1002);
+ if ($584) {
+ $585 = $16;
+ $586 = $14;
+ $587 = ((($586)) + 132|0);
+ $588 = HEAP32[$587>>2]|0;
+ $589 = (($588|0) / 100)&-1;
+ $590 = ($585|0)<($589|0);
+ if ($590) {
+ $591 = $14;
+ $592 = ((($591)) + 14320|0);
+ HEAP32[$592>>2] = 1002;
}
}
- $239 = $st$addr;
- $lfe = ((($239)) + 164|0);
- $240 = HEAP32[$lfe>>2]|0;
- $tobool360 = ($240|0)!=(0);
- if ($tobool360) {
- $241 = $st$addr;
- $mode362 = ((($241)) + 14320|0);
- HEAP32[$mode362>>2] = 1002;
+ $593 = $14;
+ $594 = ((($593)) + 164|0);
+ $595 = HEAP32[$594>>2]|0;
+ $596 = ($595|0)!=(0);
+ if ($596) {
+ $597 = $14;
+ $598 = ((($597)) + 14320|0);
+ HEAP32[$598>>2] = 1002;
}
- $242 = $max_data_bytes;
- $243 = $frame_rate;
- $cmp364 = ($243|0)>(50);
- $cond366 = $cmp364 ? 12000 : 8000;
- $244 = $frame_size$addr;
- $mul367 = Math_imul($cond366, $244)|0;
- $245 = $st$addr;
- $Fs368 = ((($245)) + 132|0);
- $246 = HEAP32[$Fs368>>2]|0;
- $mul369 = $246<<3;
- $div370 = (($mul367|0) / ($mul369|0))&-1;
- $cmp371 = ($242|0)<($div370|0);
- if ($cmp371) {
- $247 = $st$addr;
- $mode374 = ((($247)) + 14320|0);
- HEAP32[$mode374>>2] = 1002;
+ $599 = $51;
+ $600 = $47;
+ $601 = ($600|0)>(50);
+ $602 = $601 ? 12000 : 8000;
+ $603 = $16;
+ $604 = Math_imul($602, $603)|0;
+ $605 = $14;
+ $606 = ((($605)) + 132|0);
+ $607 = HEAP32[$606>>2]|0;
+ $608 = $607<<3;
+ $609 = (($604|0) / ($608|0))&-1;
+ $610 = ($599|0)<($609|0);
+ if ($610) {
+ $611 = $14;
+ $612 = ((($611)) + 14320|0);
+ HEAP32[$612>>2] = 1002;
}
- $248 = $st$addr;
- $stream_channels376 = ((($248)) + 14288|0);
- $249 = HEAP32[$stream_channels376>>2]|0;
- $cmp377 = ($249|0)==(1);
+ $613 = $14;
+ $614 = ((($613)) + 14288|0);
+ $615 = HEAP32[$614>>2]|0;
+ $616 = ($615|0)==(1);
do {
- if ($cmp377) {
- $250 = $st$addr;
- $prev_channels = ((($250)) + 14328|0);
- $251 = HEAP32[$prev_channels>>2]|0;
- $cmp380 = ($251|0)==(2);
- if (!($cmp380)) {
+ if ($616) {
+ $617 = $14;
+ $618 = ((($617)) + 14328|0);
+ $619 = HEAP32[$618>>2]|0;
+ $620 = ($619|0)==(2);
+ if (!($620)) {
label = 105;
break;
}
- $252 = $st$addr;
- $silk_mode383 = ((($252)) + 8|0);
- $toMono = ((($silk_mode383)) + 56|0);
- $253 = HEAP32[$toMono>>2]|0;
- $cmp384 = ($253|0)==(0);
- if (!($cmp384)) {
+ $621 = $14;
+ $622 = ((($621)) + 8|0);
+ $623 = ((($622)) + 56|0);
+ $624 = HEAP32[$623>>2]|0;
+ $625 = ($624|0)==(0);
+ if (!($625)) {
label = 105;
break;
}
- $254 = $st$addr;
- $mode387 = ((($254)) + 14320|0);
- $255 = HEAP32[$mode387>>2]|0;
- $cmp388 = ($255|0)!=(1002);
- if (!($cmp388)) {
+ $626 = $14;
+ $627 = ((($626)) + 14320|0);
+ $628 = HEAP32[$627>>2]|0;
+ $629 = ($628|0)!=(1002);
+ if (!($629)) {
label = 105;
break;
}
- $256 = $st$addr;
- $prev_mode391 = ((($256)) + 14324|0);
- $257 = HEAP32[$prev_mode391>>2]|0;
- $cmp392 = ($257|0)!=(1002);
- if (!($cmp392)) {
+ $630 = $14;
+ $631 = ((($630)) + 14324|0);
+ $632 = HEAP32[$631>>2]|0;
+ $633 = ($632|0)!=(1002);
+ if (!($633)) {
label = 105;
break;
}
- $258 = $st$addr;
- $silk_mode395 = ((($258)) + 8|0);
- $toMono396 = ((($silk_mode395)) + 56|0);
- HEAP32[$toMono396>>2] = 1;
- $259 = $st$addr;
- $stream_channels397 = ((($259)) + 14288|0);
- HEAP32[$stream_channels397>>2] = 2;
+ $634 = $14;
+ $635 = ((($634)) + 8|0);
+ $636 = ((($635)) + 56|0);
+ HEAP32[$636>>2] = 1;
+ $637 = $14;
+ $638 = ((($637)) + 14288|0);
+ HEAP32[$638>>2] = 2;
} else {
label = 105;
}
} while(0);
if ((label|0) == 105) {
- $260 = $st$addr;
- $silk_mode399 = ((($260)) + 8|0);
- $toMono400 = ((($silk_mode399)) + 56|0);
- HEAP32[$toMono400>>2] = 0;
+ $639 = $14;
+ $640 = ((($639)) + 8|0);
+ $641 = ((($640)) + 56|0);
+ HEAP32[$641>>2] = 0;
}
- $261 = $st$addr;
- $prev_mode402 = ((($261)) + 14324|0);
- $262 = HEAP32[$prev_mode402>>2]|0;
- $cmp403 = ($262|0)>(0);
+ $642 = $14;
+ $643 = ((($642)) + 14324|0);
+ $644 = HEAP32[$643>>2]|0;
+ $645 = ($644|0)>(0);
do {
- if ($cmp403) {
- $263 = $st$addr;
- $mode406 = ((($263)) + 14320|0);
- $264 = HEAP32[$mode406>>2]|0;
- $cmp407 = ($264|0)!=(1002);
- if ($cmp407) {
- $265 = $st$addr;
- $prev_mode410 = ((($265)) + 14324|0);
- $266 = HEAP32[$prev_mode410>>2]|0;
- $cmp411 = ($266|0)==(1002);
- if (!($cmp411)) {
+ if ($645) {
+ $646 = $14;
+ $647 = ((($646)) + 14320|0);
+ $648 = HEAP32[$647>>2]|0;
+ $649 = ($648|0)!=(1002);
+ if ($649) {
+ $650 = $14;
+ $651 = ((($650)) + 14324|0);
+ $652 = HEAP32[$651>>2]|0;
+ $653 = ($652|0)==(1002);
+ if (!($653)) {
label = 109;
}
} else {
label = 109;
}
if ((label|0) == 109) {
- $267 = $st$addr;
- $mode414 = ((($267)) + 14320|0);
- $268 = HEAP32[$mode414>>2]|0;
- $cmp415 = ($268|0)==(1002);
- if (!($cmp415)) {
+ $654 = $14;
+ $655 = ((($654)) + 14320|0);
+ $656 = HEAP32[$655>>2]|0;
+ $657 = ($656|0)==(1002);
+ if (!($657)) {
break;
}
- $269 = $st$addr;
- $prev_mode418 = ((($269)) + 14324|0);
- $270 = HEAP32[$prev_mode418>>2]|0;
- $cmp419 = ($270|0)!=(1002);
- if (!($cmp419)) {
+ $658 = $14;
+ $659 = ((($658)) + 14324|0);
+ $660 = HEAP32[$659>>2]|0;
+ $661 = ($660|0)!=(1002);
+ if (!($661)) {
break;
}
}
- $redundancy = 1;
- $271 = $st$addr;
- $mode422 = ((($271)) + 14320|0);
- $272 = HEAP32[$mode422>>2]|0;
- $cmp423 = ($272|0)!=(1002);
- $conv424 = $cmp423&1;
- $celt_to_silk = $conv424;
- $273 = $celt_to_silk;
- $tobool425 = ($273|0)!=(0);
- if ($tobool425) {
+ $36 = 1;
+ $662 = $14;
+ $663 = ((($662)) + 14320|0);
+ $664 = HEAP32[$663>>2]|0;
+ $665 = ($664|0)!=(1002);
+ $666 = $665&1;
+ $38 = $666;
+ $667 = $38;
+ $668 = ($667|0)!=(0);
+ if ($668) {
break;
}
- $274 = $frame_size$addr;
- $275 = $st$addr;
- $Fs427 = ((($275)) + 132|0);
- $276 = HEAP32[$Fs427>>2]|0;
- $div428 = (($276|0) / 100)&-1;
- $cmp429 = ($274|0)>=($div428|0);
- if ($cmp429) {
- $277 = $st$addr;
- $prev_mode432 = ((($277)) + 14324|0);
- $278 = HEAP32[$prev_mode432>>2]|0;
- $279 = $st$addr;
- $mode433 = ((($279)) + 14320|0);
- HEAP32[$mode433>>2] = $278;
- $to_celt = 1;
+ $669 = $16;
+ $670 = $14;
+ $671 = ((($670)) + 132|0);
+ $672 = HEAP32[$671>>2]|0;
+ $673 = (($672|0) / 100)&-1;
+ $674 = ($669|0)>=($673|0);
+ if ($674) {
+ $675 = $14;
+ $676 = ((($675)) + 14324|0);
+ $677 = HEAP32[$676>>2]|0;
+ $678 = $14;
+ $679 = ((($678)) + 14320|0);
+ HEAP32[$679>>2] = $677;
+ $40 = 1;
break;
} else {
- $redundancy = 0;
+ $36 = 0;
break;
}
}
} while(0);
- $280 = $st$addr;
- $silk_bw_switch = ((($280)) + 14340|0);
- $281 = HEAP32[$silk_bw_switch>>2]|0;
- $tobool438 = ($281|0)!=(0);
- if ($tobool438) {
- $redundancy = 1;
- $celt_to_silk = 1;
- $282 = $st$addr;
- $silk_bw_switch440 = ((($282)) + 14340|0);
- HEAP32[$silk_bw_switch440>>2] = 0;
- $prefill = 1;
+ $680 = $14;
+ $681 = ((($680)) + 14340|0);
+ $682 = HEAP32[$681>>2]|0;
+ $683 = ($682|0)!=(0);
+ if ($683) {
+ $36 = 1;
+ $38 = 1;
+ $684 = $14;
+ $685 = ((($684)) + 14340|0);
+ HEAP32[$685>>2] = 0;
+ $34 = 1;
}
- $283 = $redundancy;
- $tobool442 = ($283|0)!=(0);
+ $686 = $36;
+ $687 = ($686|0)!=(0);
do {
- if ($tobool442) {
- $284 = $max_data_bytes;
- $285 = $st$addr;
- $Fs444 = ((($285)) + 132|0);
- $286 = HEAP32[$Fs444>>2]|0;
- $div445 = (($286|0) / 200)&-1;
- $mul446 = Math_imul($284, $div445)|0;
- $287 = $frame_size$addr;
- $288 = $st$addr;
- $Fs447 = ((($288)) + 132|0);
- $289 = HEAP32[$Fs447>>2]|0;
- $div448 = (($289|0) / 200)&-1;
- $add449 = (($287) + ($div448))|0;
- $div450 = (($mul446|0) / ($add449|0))&-1;
- $cmp451 = (257)<($div450|0);
- if ($cmp451) {
- $cond463 = 257;
+ if ($687) {
+ $688 = $51;
+ $689 = $14;
+ $690 = ((($689)) + 132|0);
+ $691 = HEAP32[$690>>2]|0;
+ $692 = (($691|0) / 200)&-1;
+ $693 = Math_imul($688, $692)|0;
+ $694 = $16;
+ $695 = $14;
+ $696 = ((($695)) + 132|0);
+ $697 = HEAP32[$696>>2]|0;
+ $698 = (($697|0) / 200)&-1;
+ $699 = (($694) + ($698))|0;
+ $700 = (($693|0) / ($699|0))&-1;
+ $701 = (257)<($700|0);
+ if ($701) {
+ $715 = 257;
} else {
- $290 = $max_data_bytes;
- $291 = $st$addr;
- $Fs455 = ((($291)) + 132|0);
- $292 = HEAP32[$Fs455>>2]|0;
- $div456 = (($292|0) / 200)&-1;
- $mul457 = Math_imul($290, $div456)|0;
- $293 = $frame_size$addr;
- $294 = $st$addr;
- $Fs458 = ((($294)) + 132|0);
- $295 = HEAP32[$Fs458>>2]|0;
- $div459 = (($295|0) / 200)&-1;
- $add460 = (($293) + ($div459))|0;
- $div461 = (($mul457|0) / ($add460|0))&-1;
- $cond463 = $div461;
+ $702 = $51;
+ $703 = $14;
+ $704 = ((($703)) + 132|0);
+ $705 = HEAP32[$704>>2]|0;
+ $706 = (($705|0) / 200)&-1;
+ $707 = Math_imul($702, $706)|0;
+ $708 = $16;
+ $709 = $14;
+ $710 = ((($709)) + 132|0);
+ $711 = HEAP32[$710>>2]|0;
+ $712 = (($711|0) / 200)&-1;
+ $713 = (($708) + ($712))|0;
+ $714 = (($707|0) / ($713|0))&-1;
+ $715 = $714;
}
- $redundancy_bytes = $cond463;
- $296 = $st$addr;
- $use_vbr464 = ((($296)) + 136|0);
- $297 = HEAP32[$use_vbr464>>2]|0;
- $tobool465 = ($297|0)!=(0);
- if (!($tobool465)) {
+ $37 = $715;
+ $716 = $14;
+ $717 = ((($716)) + 136|0);
+ $718 = HEAP32[$717>>2]|0;
+ $719 = ($718|0)!=(0);
+ if (!($719)) {
break;
}
- $298 = $redundancy_bytes;
- $299 = $st$addr;
- $bitrate_bps467 = ((($299)) + 148|0);
- $300 = HEAP32[$bitrate_bps467>>2]|0;
- $div468 = (($300|0) / 1600)&-1;
- $cmp469 = ($298|0)<($div468|0);
- if ($cmp469) {
- $301 = $redundancy_bytes;
- $cond476 = $301;
+ $720 = $37;
+ $721 = $14;
+ $722 = ((($721)) + 148|0);
+ $723 = HEAP32[$722>>2]|0;
+ $724 = (($723|0) / 1600)&-1;
+ $725 = ($720|0)<($724|0);
+ if ($725) {
+ $726 = $37;
+ $731 = $726;
} else {
- $302 = $st$addr;
- $bitrate_bps473 = ((($302)) + 148|0);
- $303 = HEAP32[$bitrate_bps473>>2]|0;
- $div474 = (($303|0) / 1600)&-1;
- $cond476 = $div474;
+ $727 = $14;
+ $728 = ((($727)) + 148|0);
+ $729 = HEAP32[$728>>2]|0;
+ $730 = (($729|0) / 1600)&-1;
+ $731 = $730;
}
- $redundancy_bytes = $cond476;
+ $37 = $731;
}
} while(0);
- $304 = $st$addr;
- $mode479 = ((($304)) + 14320|0);
- $305 = HEAP32[$mode479>>2]|0;
- $cmp480 = ($305|0)!=(1002);
+ $732 = $14;
+ $733 = ((($732)) + 14320|0);
+ $734 = HEAP32[$733>>2]|0;
+ $735 = ($734|0)!=(1002);
do {
- if ($cmp480) {
- $306 = $st$addr;
- $prev_mode483 = ((($306)) + 14324|0);
- $307 = HEAP32[$prev_mode483>>2]|0;
- $cmp484 = ($307|0)==(1002);
- if (!($cmp484)) {
+ if ($735) {
+ $736 = $14;
+ $737 = ((($736)) + 14324|0);
+ $738 = HEAP32[$737>>2]|0;
+ $739 = ($738|0)==(1002);
+ if (!($739)) {
break;
}
- $308 = $silk_enc;
- $309 = $st$addr;
- $arch = ((($309)) + 168|0);
- $310 = HEAP32[$arch>>2]|0;
- (_silk_InitEncoder($308,$310,$dummy)|0);
- $prefill = 1;
+ $740 = $27;
+ $741 = $14;
+ $742 = ((($741)) + 168|0);
+ $743 = HEAP32[$742>>2]|0;
+ (_silk_InitEncoder($740,$743,$66)|0);
+ $34 = 1;
}
} while(0);
- $311 = $st$addr;
- $mode489 = ((($311)) + 14320|0);
- $312 = HEAP32[$mode489>>2]|0;
- $cmp490 = ($312|0)==(1002);
+ $744 = $14;
+ $745 = ((($744)) + 14320|0);
+ $746 = HEAP32[$745>>2]|0;
+ $747 = ($746|0)==(1002);
do {
- if ($cmp490) {
+ if ($747) {
label = 131;
} else {
- $313 = $st$addr;
- $first = ((($313)) + 14344|0);
- $314 = HEAP32[$first>>2]|0;
- $tobool493 = ($314|0)!=(0);
- if ($tobool493) {
+ $748 = $14;
+ $749 = ((($748)) + 14344|0);
+ $750 = HEAP32[$749>>2]|0;
+ $751 = ($750|0)!=(0);
+ if ($751) {
label = 131;
break;
}
- $315 = $st$addr;
- $silk_mode495 = ((($315)) + 8|0);
- $allowBandwidthSwitch = ((($silk_mode495)) + 72|0);
- $316 = HEAP32[$allowBandwidthSwitch>>2]|0;
- $tobool496 = ($316|0)!=(0);
- if ($tobool496) {
+ $752 = $14;
+ $753 = ((($752)) + 8|0);
+ $754 = ((($753)) + 72|0);
+ $755 = HEAP32[$754>>2]|0;
+ $756 = ($755|0)!=(0);
+ if ($756) {
label = 131;
}
}
} while(0);
do {
if ((label|0) == 131) {
- $bandwidth498 = 1105;
- $317 = $equiv_rate;
- $equiv_rate2 = $317;
- $318 = $st$addr;
- $mode499 = ((($318)) + 14320|0);
- $319 = HEAP32[$mode499>>2]|0;
- $cmp500 = ($319|0)!=(1002);
+ $70 = 1105;
+ $757 = $45;
+ $71 = $757;
+ $758 = $14;
+ $759 = ((($758)) + 14320|0);
+ $760 = HEAP32[$759>>2]|0;
+ $761 = ($760|0)!=(1002);
do {
- if ($cmp500) {
- $320 = $equiv_rate2;
- $321 = $st$addr;
- $silk_mode503 = ((($321)) + 8|0);
- $complexity504 = ((($silk_mode503)) + 36|0);
- $322 = HEAP32[$complexity504>>2]|0;
- $add505 = (45 + ($322))|0;
- $mul506 = Math_imul($320, $add505)|0;
- $div507 = (($mul506|0) / 50)&-1;
- $equiv_rate2 = $div507;
- $323 = $st$addr;
- $use_vbr508 = ((($323)) + 136|0);
- $324 = HEAP32[$use_vbr508>>2]|0;
- $tobool509 = ($324|0)!=(0);
- if ($tobool509) {
+ if ($761) {
+ $762 = $71;
+ $763 = $14;
+ $764 = ((($763)) + 8|0);
+ $765 = ((($764)) + 36|0);
+ $766 = HEAP32[$765>>2]|0;
+ $767 = (45 + ($766))|0;
+ $768 = Math_imul($762, $767)|0;
+ $769 = (($768|0) / 50)&-1;
+ $71 = $769;
+ $770 = $14;
+ $771 = ((($770)) + 136|0);
+ $772 = HEAP32[$771>>2]|0;
+ $773 = ($772|0)!=(0);
+ if ($773) {
break;
}
- $325 = $equiv_rate2;
- $sub511 = (($325) - 1000)|0;
- $equiv_rate2 = $sub511;
+ $774 = $71;
+ $775 = (($774) - 1000)|0;
+ $71 = $775;
}
} while(0);
- $326 = $st$addr;
- $channels514 = ((($326)) + 100|0);
- $327 = HEAP32[$channels514>>2]|0;
- $cmp515 = ($327|0)==(2);
+ $776 = $14;
+ $777 = ((($776)) + 100|0);
+ $778 = HEAP32[$777>>2]|0;
+ $779 = ($778|0)==(2);
do {
- if ($cmp515) {
- $328 = $st$addr;
- $force_channels518 = ((($328)) + 108|0);
- $329 = HEAP32[$force_channels518>>2]|0;
- $cmp519 = ($329|0)!=(1);
- if (!($cmp519)) {
+ if ($779) {
+ $780 = $14;
+ $781 = ((($780)) + 108|0);
+ $782 = HEAP32[$781>>2]|0;
+ $783 = ($782|0)!=(1);
+ if (!($783)) {
label = 137;
break;
}
- $voice_bandwidth_thresholds = 104;
- $music_bandwidth_thresholds = 136;
+ $67 = 104;
+ $68 = 136;
} else {
label = 137;
}
} while(0);
if ((label|0) == 137) {
- $voice_bandwidth_thresholds = 168;
- $music_bandwidth_thresholds = 200;
+ $67 = 168;
+ $68 = 200;
}
- $i = 0;
+ $29 = 0;
while(1) {
- $330 = $i;
- $cmp524 = ($330|0)<(8);
- if (!($cmp524)) {
+ $784 = $29;
+ $785 = ($784|0)<(8);
+ if (!($785)) {
break;
}
- $331 = $music_bandwidth_thresholds;
- $332 = $i;
- $arrayidx526 = (($331) + ($332<<2)|0);
- $333 = HEAP32[$arrayidx526>>2]|0;
- $334 = $voice_est;
- $335 = $voice_est;
- $mul527 = Math_imul($334, $335)|0;
- $336 = $voice_bandwidth_thresholds;
- $337 = $i;
- $arrayidx528 = (($336) + ($337<<2)|0);
- $338 = HEAP32[$arrayidx528>>2]|0;
- $339 = $music_bandwidth_thresholds;
- $340 = $i;
- $arrayidx529 = (($339) + ($340<<2)|0);
- $341 = HEAP32[$arrayidx529>>2]|0;
- $sub530 = (($338) - ($341))|0;
- $mul531 = Math_imul($mul527, $sub530)|0;
- $shr532 = $mul531 >> 14;
- $add533 = (($333) + ($shr532))|0;
- $342 = $i;
- $arrayidx534 = (($bandwidth_thresholds) + ($342<<2)|0);
- HEAP32[$arrayidx534>>2] = $add533;
- $343 = $i;
- $inc = (($343) + 1)|0;
- $i = $inc;
+ $786 = $68;
+ $787 = $29;
+ $788 = (($786) + ($787<<2)|0);
+ $789 = HEAP32[$788>>2]|0;
+ $790 = $44;
+ $791 = $44;
+ $792 = Math_imul($790, $791)|0;
+ $793 = $67;
+ $794 = $29;
+ $795 = (($793) + ($794<<2)|0);
+ $796 = HEAP32[$795>>2]|0;
+ $797 = $68;
+ $798 = $29;
+ $799 = (($797) + ($798<<2)|0);
+ $800 = HEAP32[$799>>2]|0;
+ $801 = (($796) - ($800))|0;
+ $802 = Math_imul($792, $801)|0;
+ $803 = $802 >> 14;
+ $804 = (($789) + ($803))|0;
+ $805 = $29;
+ $806 = (($69) + ($805<<2)|0);
+ HEAP32[$806>>2] = $804;
+ $807 = $29;
+ $808 = (($807) + 1)|0;
+ $29 = $808;
}
while(1) {
- $344 = $bandwidth498;
- $sub536 = (($344) - 1102)|0;
- $mul537 = $sub536<<1;
- $arrayidx538 = (($bandwidth_thresholds) + ($mul537<<2)|0);
- $345 = HEAP32[$arrayidx538>>2]|0;
- $threshold535 = $345;
- $346 = $bandwidth498;
- $sub539 = (($346) - 1102)|0;
- $mul540 = $sub539<<1;
- $add541 = (($mul540) + 1)|0;
- $arrayidx542 = (($bandwidth_thresholds) + ($add541<<2)|0);
- $347 = HEAP32[$arrayidx542>>2]|0;
- $hysteresis = $347;
- $348 = $st$addr;
- $first543 = ((($348)) + 14344|0);
- $349 = HEAP32[$first543>>2]|0;
- $tobool544 = ($349|0)!=(0);
+ $809 = $70;
+ $810 = (($809) - 1102)|0;
+ $811 = $810<<1;
+ $812 = (($69) + ($811<<2)|0);
+ $813 = HEAP32[$812>>2]|0;
+ $72 = $813;
+ $814 = $70;
+ $815 = (($814) - 1102)|0;
+ $816 = $815<<1;
+ $817 = (($816) + 1)|0;
+ $818 = (($69) + ($817<<2)|0);
+ $819 = HEAP32[$818>>2]|0;
+ $73 = $819;
+ $820 = $14;
+ $821 = ((($820)) + 14344|0);
+ $822 = HEAP32[$821>>2]|0;
+ $823 = ($822|0)!=(0);
do {
- if (!($tobool544)) {
- $350 = $st$addr;
- $bandwidth546 = ((($350)) + 14336|0);
- $351 = HEAP32[$bandwidth546>>2]|0;
- $352 = $bandwidth498;
- $cmp547 = ($351|0)>=($352|0);
- $353 = $hysteresis;
- $354 = $threshold535;
- if ($cmp547) {
- $sub550 = (($354) - ($353))|0;
- $threshold535 = $sub550;
+ if (!($823)) {
+ $824 = $14;
+ $825 = ((($824)) + 14336|0);
+ $826 = HEAP32[$825>>2]|0;
+ $827 = $70;
+ $828 = ($826|0)>=($827|0);
+ $829 = $73;
+ $830 = $72;
+ if ($828) {
+ $831 = (($830) - ($829))|0;
+ $72 = $831;
break;
} else {
- $add552 = (($354) + ($353))|0;
- $threshold535 = $add552;
+ $832 = (($830) + ($829))|0;
+ $72 = $832;
break;
}
}
} while(0);
- $355 = $equiv_rate2;
- $356 = $threshold535;
- $cmp555 = ($355|0)>=($356|0);
- if ($cmp555) {
+ $833 = $71;
+ $834 = $72;
+ $835 = ($833|0)>=($834|0);
+ if ($835) {
break;
}
- $357 = $bandwidth498;
- $dec = (($357) + -1)|0;
- $bandwidth498 = $dec;
- $cmp559 = ($dec|0)>(1101);
- if (!($cmp559)) {
+ $836 = $70;
+ $837 = (($836) + -1)|0;
+ $70 = $837;
+ $838 = ($837|0)>(1101);
+ if (!($838)) {
break;
}
}
- $358 = $bandwidth498;
- $359 = $st$addr;
- $bandwidth561 = ((($359)) + 14336|0);
- HEAP32[$bandwidth561>>2] = $358;
- $360 = $st$addr;
- $first562 = ((($360)) + 14344|0);
- $361 = HEAP32[$first562>>2]|0;
- $tobool563 = ($361|0)!=(0);
- if ($tobool563) {
+ $839 = $70;
+ $840 = $14;
+ $841 = ((($840)) + 14336|0);
+ HEAP32[$841>>2] = $839;
+ $842 = $14;
+ $843 = ((($842)) + 14344|0);
+ $844 = HEAP32[$843>>2]|0;
+ $845 = ($844|0)!=(0);
+ if ($845) {
break;
}
- $362 = $st$addr;
- $mode565 = ((($362)) + 14320|0);
- $363 = HEAP32[$mode565>>2]|0;
- $cmp566 = ($363|0)!=(1002);
- if (!($cmp566)) {
+ $846 = $14;
+ $847 = ((($846)) + 14320|0);
+ $848 = HEAP32[$847>>2]|0;
+ $849 = ($848|0)!=(1002);
+ if (!($849)) {
break;
}
- $364 = $st$addr;
- $silk_mode569 = ((($364)) + 8|0);
- $inWBmodeWithoutVariableLP = ((($silk_mode569)) + 76|0);
- $365 = HEAP32[$inWBmodeWithoutVariableLP>>2]|0;
- $tobool570 = ($365|0)!=(0);
- if ($tobool570) {
+ $850 = $14;
+ $851 = ((($850)) + 8|0);
+ $852 = ((($851)) + 76|0);
+ $853 = HEAP32[$852>>2]|0;
+ $854 = ($853|0)!=(0);
+ if ($854) {
break;
}
- $366 = $st$addr;
- $bandwidth572 = ((($366)) + 14336|0);
- $367 = HEAP32[$bandwidth572>>2]|0;
- $cmp573 = ($367|0)>(1103);
- if (!($cmp573)) {
+ $855 = $14;
+ $856 = ((($855)) + 14336|0);
+ $857 = HEAP32[$856>>2]|0;
+ $858 = ($857|0)>(1103);
+ if (!($858)) {
break;
}
- $368 = $st$addr;
- $bandwidth576 = ((($368)) + 14336|0);
- HEAP32[$bandwidth576>>2] = 1103;
+ $859 = $14;
+ $860 = ((($859)) + 14336|0);
+ HEAP32[$860>>2] = 1103;
}
} while(0);
- $369 = $st$addr;
- $bandwidth579 = ((($369)) + 14336|0);
- $370 = HEAP32[$bandwidth579>>2]|0;
- $371 = $st$addr;
- $max_bandwidth = ((($371)) + 120|0);
- $372 = HEAP32[$max_bandwidth>>2]|0;
- $cmp580 = ($370|0)>($372|0);
- if ($cmp580) {
- $373 = $st$addr;
- $max_bandwidth583 = ((($373)) + 120|0);
- $374 = HEAP32[$max_bandwidth583>>2]|0;
- $375 = $st$addr;
- $bandwidth584 = ((($375)) + 14336|0);
- HEAP32[$bandwidth584>>2] = $374;
+ $861 = $14;
+ $862 = ((($861)) + 14336|0);
+ $863 = HEAP32[$862>>2]|0;
+ $864 = $14;
+ $865 = ((($864)) + 120|0);
+ $866 = HEAP32[$865>>2]|0;
+ $867 = ($863|0)>($866|0);
+ if ($867) {
+ $868 = $14;
+ $869 = ((($868)) + 120|0);
+ $870 = HEAP32[$869>>2]|0;
+ $871 = $14;
+ $872 = ((($871)) + 14336|0);
+ HEAP32[$872>>2] = $870;
}
- $376 = $st$addr;
- $user_bandwidth = ((($376)) + 116|0);
- $377 = HEAP32[$user_bandwidth>>2]|0;
- $cmp586 = ($377|0)!=(-1000);
- if ($cmp586) {
- $378 = $st$addr;
- $user_bandwidth589 = ((($378)) + 116|0);
- $379 = HEAP32[$user_bandwidth589>>2]|0;
- $380 = $st$addr;
- $bandwidth590 = ((($380)) + 14336|0);
- HEAP32[$bandwidth590>>2] = $379;
+ $873 = $14;
+ $874 = ((($873)) + 116|0);
+ $875 = HEAP32[$874>>2]|0;
+ $876 = ($875|0)!=(-1000);
+ if ($876) {
+ $877 = $14;
+ $878 = ((($877)) + 116|0);
+ $879 = HEAP32[$878>>2]|0;
+ $880 = $14;
+ $881 = ((($880)) + 14336|0);
+ HEAP32[$881>>2] = $879;
}
- $381 = $st$addr;
- $mode592 = ((($381)) + 14320|0);
- $382 = HEAP32[$mode592>>2]|0;
- $cmp593 = ($382|0)!=(1002);
- $383 = $max_rate;
- $cmp596 = ($383|0)<(15000);
- $or$cond9 = $cmp593 & $cmp596;
- if ($or$cond9) {
- $384 = $st$addr;
- $bandwidth599 = ((($384)) + 14336|0);
- $385 = HEAP32[$bandwidth599>>2]|0;
- $cmp600 = ($385|0)<(1103);
- if ($cmp600) {
- $386 = $st$addr;
- $bandwidth603 = ((($386)) + 14336|0);
- $387 = HEAP32[$bandwidth603>>2]|0;
- $cond606 = $387;
+ $882 = $14;
+ $883 = ((($882)) + 14320|0);
+ $884 = HEAP32[$883>>2]|0;
+ $885 = ($884|0)!=(1002);
+ $886 = $48;
+ $887 = ($886|0)<(15000);
+ $or$cond16 = $885 & $887;
+ if ($or$cond16) {
+ $888 = $14;
+ $889 = ((($888)) + 14336|0);
+ $890 = HEAP32[$889>>2]|0;
+ $891 = ($890|0)<(1103);
+ if ($891) {
+ $892 = $14;
+ $893 = ((($892)) + 14336|0);
+ $894 = HEAP32[$893>>2]|0;
+ $897 = $894;
} else {
- $cond606 = 1103;
+ $897 = 1103;
}
- $388 = $st$addr;
- $bandwidth607 = ((($388)) + 14336|0);
- HEAP32[$bandwidth607>>2] = $cond606;
+ $895 = $14;
+ $896 = ((($895)) + 14336|0);
+ HEAP32[$896>>2] = $897;
}
- $389 = $st$addr;
- $Fs609 = ((($389)) + 132|0);
- $390 = HEAP32[$Fs609>>2]|0;
- $cmp610 = ($390|0)<=(24000);
+ $898 = $14;
+ $899 = ((($898)) + 132|0);
+ $900 = HEAP32[$899>>2]|0;
+ $901 = ($900|0)<=(24000);
do {
- if ($cmp610) {
- $391 = $st$addr;
- $bandwidth613 = ((($391)) + 14336|0);
- $392 = HEAP32[$bandwidth613>>2]|0;
- $cmp614 = ($392|0)>(1104);
- if (!($cmp614)) {
+ if ($901) {
+ $902 = $14;
+ $903 = ((($902)) + 14336|0);
+ $904 = HEAP32[$903>>2]|0;
+ $905 = ($904|0)>(1104);
+ if (!($905)) {
break;
}
- $393 = $st$addr;
- $bandwidth617 = ((($393)) + 14336|0);
- HEAP32[$bandwidth617>>2] = 1104;
+ $906 = $14;
+ $907 = ((($906)) + 14336|0);
+ HEAP32[$907>>2] = 1104;
}
} while(0);
- $394 = $st$addr;
- $Fs619 = ((($394)) + 132|0);
- $395 = HEAP32[$Fs619>>2]|0;
- $cmp620 = ($395|0)<=(16000);
+ $908 = $14;
+ $909 = ((($908)) + 132|0);
+ $910 = HEAP32[$909>>2]|0;
+ $911 = ($910|0)<=(16000);
do {
- if ($cmp620) {
- $396 = $st$addr;
- $bandwidth623 = ((($396)) + 14336|0);
- $397 = HEAP32[$bandwidth623>>2]|0;
- $cmp624 = ($397|0)>(1103);
- if (!($cmp624)) {
+ if ($911) {
+ $912 = $14;
+ $913 = ((($912)) + 14336|0);
+ $914 = HEAP32[$913>>2]|0;
+ $915 = ($914|0)>(1103);
+ if (!($915)) {
break;
}
- $398 = $st$addr;
- $bandwidth627 = ((($398)) + 14336|0);
- HEAP32[$bandwidth627>>2] = 1103;
+ $916 = $14;
+ $917 = ((($916)) + 14336|0);
+ HEAP32[$917>>2] = 1103;
}
} while(0);
- $399 = $st$addr;
- $Fs629 = ((($399)) + 132|0);
- $400 = HEAP32[$Fs629>>2]|0;
- $cmp630 = ($400|0)<=(12000);
+ $918 = $14;
+ $919 = ((($918)) + 132|0);
+ $920 = HEAP32[$919>>2]|0;
+ $921 = ($920|0)<=(12000);
do {
- if ($cmp630) {
- $401 = $st$addr;
- $bandwidth633 = ((($401)) + 14336|0);
- $402 = HEAP32[$bandwidth633>>2]|0;
- $cmp634 = ($402|0)>(1102);
- if (!($cmp634)) {
+ if ($921) {
+ $922 = $14;
+ $923 = ((($922)) + 14336|0);
+ $924 = HEAP32[$923>>2]|0;
+ $925 = ($924|0)>(1102);
+ if (!($925)) {
break;
}
- $403 = $st$addr;
- $bandwidth637 = ((($403)) + 14336|0);
- HEAP32[$bandwidth637>>2] = 1102;
+ $926 = $14;
+ $927 = ((($926)) + 14336|0);
+ HEAP32[$927>>2] = 1102;
}
} while(0);
- $404 = $st$addr;
- $Fs639 = ((($404)) + 132|0);
- $405 = HEAP32[$Fs639>>2]|0;
- $cmp640 = ($405|0)<=(8000);
+ $928 = $14;
+ $929 = ((($928)) + 132|0);
+ $930 = HEAP32[$929>>2]|0;
+ $931 = ($930|0)<=(8000);
do {
- if ($cmp640) {
- $406 = $st$addr;
- $bandwidth643 = ((($406)) + 14336|0);
- $407 = HEAP32[$bandwidth643>>2]|0;
- $cmp644 = ($407|0)>(1101);
- if (!($cmp644)) {
+ if ($931) {
+ $932 = $14;
+ $933 = ((($932)) + 14336|0);
+ $934 = HEAP32[$933>>2]|0;
+ $935 = ($934|0)>(1101);
+ if (!($935)) {
break;
}
- $408 = $st$addr;
- $bandwidth647 = ((($408)) + 14336|0);
- HEAP32[$bandwidth647>>2] = 1101;
+ $936 = $14;
+ $937 = ((($936)) + 14336|0);
+ HEAP32[$937>>2] = 1101;
}
} while(0);
- $409 = $st$addr;
- $detected_bandwidth649 = ((($409)) + 18212|0);
- $410 = HEAP32[$detected_bandwidth649>>2]|0;
- $tobool650 = ($410|0)!=(0);
+ $938 = $14;
+ $939 = ((($938)) + 18212|0);
+ $940 = HEAP32[$939>>2]|0;
+ $941 = ($940|0)!=(0);
do {
- if ($tobool650) {
- $411 = $st$addr;
- $user_bandwidth652 = ((($411)) + 116|0);
- $412 = HEAP32[$user_bandwidth652>>2]|0;
- $cmp653 = ($412|0)==(-1000);
- if (!($cmp653)) {
+ if ($941) {
+ $942 = $14;
+ $943 = ((($942)) + 116|0);
+ $944 = HEAP32[$943>>2]|0;
+ $945 = ($944|0)==(-1000);
+ if (!($945)) {
break;
}
- $413 = $equiv_rate;
- $414 = $st$addr;
- $stream_channels656 = ((($414)) + 14288|0);
- $415 = HEAP32[$stream_channels656>>2]|0;
- $mul657 = ($415*18000)|0;
- $cmp658 = ($413|0)<=($mul657|0);
+ $946 = $45;
+ $947 = $14;
+ $948 = ((($947)) + 14288|0);
+ $949 = HEAP32[$948>>2]|0;
+ $950 = ($949*18000)|0;
+ $951 = ($946|0)<=($950|0);
do {
- if ($cmp658) {
- $416 = $st$addr;
- $mode661 = ((($416)) + 14320|0);
- $417 = HEAP32[$mode661>>2]|0;
- $cmp662 = ($417|0)==(1002);
- if (!($cmp662)) {
+ if ($951) {
+ $952 = $14;
+ $953 = ((($952)) + 14320|0);
+ $954 = HEAP32[$953>>2]|0;
+ $955 = ($954|0)==(1002);
+ if (!($955)) {
label = 177;
break;
}
- $min_detected_bandwidth = 1101;
+ $74 = 1101;
} else {
label = 177;
}
} while(0);
L223: do {
if ((label|0) == 177) {
- $418 = $equiv_rate;
- $419 = $st$addr;
- $stream_channels666 = ((($419)) + 14288|0);
- $420 = HEAP32[$stream_channels666>>2]|0;
- $mul667 = ($420*24000)|0;
- $cmp668 = ($418|0)<=($mul667|0);
+ $956 = $45;
+ $957 = $14;
+ $958 = ((($957)) + 14288|0);
+ $959 = HEAP32[$958>>2]|0;
+ $960 = ($959*24000)|0;
+ $961 = ($956|0)<=($960|0);
do {
- if ($cmp668) {
- $421 = $st$addr;
- $mode671 = ((($421)) + 14320|0);
- $422 = HEAP32[$mode671>>2]|0;
- $cmp672 = ($422|0)==(1002);
- if (!($cmp672)) {
+ if ($961) {
+ $962 = $14;
+ $963 = ((($962)) + 14320|0);
+ $964 = HEAP32[$963>>2]|0;
+ $965 = ($964|0)==(1002);
+ if (!($965)) {
break;
}
- $min_detected_bandwidth = 1102;
+ $74 = 1102;
break L223;
}
} while(0);
- $423 = $equiv_rate;
- $424 = $st$addr;
- $stream_channels676 = ((($424)) + 14288|0);
- $425 = HEAP32[$stream_channels676>>2]|0;
- $mul677 = ($425*30000)|0;
- $cmp678 = ($423|0)<=($mul677|0);
- if ($cmp678) {
- $min_detected_bandwidth = 1103;
+ $966 = $45;
+ $967 = $14;
+ $968 = ((($967)) + 14288|0);
+ $969 = HEAP32[$968>>2]|0;
+ $970 = ($969*30000)|0;
+ $971 = ($966|0)<=($970|0);
+ if ($971) {
+ $74 = 1103;
break;
}
- $426 = $equiv_rate;
- $427 = $st$addr;
- $stream_channels682 = ((($427)) + 14288|0);
- $428 = HEAP32[$stream_channels682>>2]|0;
- $mul683 = ($428*44000)|0;
- $cmp684 = ($426|0)<=($mul683|0);
- if ($cmp684) {
- $min_detected_bandwidth = 1104;
+ $972 = $45;
+ $973 = $14;
+ $974 = ((($973)) + 14288|0);
+ $975 = HEAP32[$974>>2]|0;
+ $976 = ($975*44000)|0;
+ $977 = ($972|0)<=($976|0);
+ if ($977) {
+ $74 = 1104;
break;
} else {
- $min_detected_bandwidth = 1105;
+ $74 = 1105;
break;
}
}
} while(0);
- $429 = $st$addr;
- $detected_bandwidth692 = ((($429)) + 18212|0);
- $430 = HEAP32[$detected_bandwidth692>>2]|0;
- $431 = $min_detected_bandwidth;
- $cmp693 = ($430|0)>($431|0);
- if ($cmp693) {
- $432 = $st$addr;
- $detected_bandwidth696 = ((($432)) + 18212|0);
- $433 = HEAP32[$detected_bandwidth696>>2]|0;
- $cond699 = $433;
+ $978 = $14;
+ $979 = ((($978)) + 18212|0);
+ $980 = HEAP32[$979>>2]|0;
+ $981 = $74;
+ $982 = ($980|0)>($981|0);
+ if ($982) {
+ $983 = $14;
+ $984 = ((($983)) + 18212|0);
+ $985 = HEAP32[$984>>2]|0;
+ $989 = $985;
} else {
- $434 = $min_detected_bandwidth;
- $cond699 = $434;
+ $986 = $74;
+ $989 = $986;
}
- $435 = $st$addr;
- $detected_bandwidth700 = ((($435)) + 18212|0);
- HEAP32[$detected_bandwidth700>>2] = $cond699;
- $436 = $st$addr;
- $bandwidth701 = ((($436)) + 14336|0);
- $437 = HEAP32[$bandwidth701>>2]|0;
- $438 = $st$addr;
- $detected_bandwidth702 = ((($438)) + 18212|0);
- $439 = HEAP32[$detected_bandwidth702>>2]|0;
- $cmp703 = ($437|0)<($439|0);
- $440 = $st$addr;
- $detected_bandwidth708 = ((($440)) + 18212|0);
- $bandwidth706 = ((($440)) + 14336|0);
- $detected_bandwidth708$sink = $cmp703 ? $bandwidth706 : $detected_bandwidth708;
- $441 = HEAP32[$detected_bandwidth708$sink>>2]|0;
- $442 = $st$addr;
- $bandwidth711 = ((($442)) + 14336|0);
- HEAP32[$bandwidth711>>2] = $441;
+ $987 = $14;
+ $988 = ((($987)) + 18212|0);
+ HEAP32[$988>>2] = $989;
+ $990 = $14;
+ $991 = ((($990)) + 14336|0);
+ $992 = HEAP32[$991>>2]|0;
+ $993 = $14;
+ $994 = ((($993)) + 18212|0);
+ $995 = HEAP32[$994>>2]|0;
+ $996 = ($992|0)<($995|0);
+ $997 = $14;
+ $998 = ((($997)) + 18212|0);
+ $999 = ((($997)) + 14336|0);
+ $$sink17 = $996 ? $999 : $998;
+ $1000 = HEAP32[$$sink17>>2]|0;
+ $1001 = $14;
+ $1002 = ((($1001)) + 14336|0);
+ HEAP32[$1002>>2] = $1000;
}
} while(0);
- $443 = $celt_enc;
- $444 = $lsb_depth$addr;
- HEAP32[$vararg_buffer28>>2] = $444;
- (_opus_custom_encoder_ctl($443,4036,$vararg_buffer28)|0);
- $445 = $st$addr;
- $mode716 = ((($445)) + 14320|0);
- $446 = HEAP32[$mode716>>2]|0;
- $cmp717 = ($446|0)==(1002);
+ $1003 = $28;
+ $1004 = $19;
+ HEAP32[$vararg_buffer53>>2] = $1004;
+ (_opus_custom_encoder_ctl($1003,4036,$vararg_buffer53)|0);
+ $1005 = $14;
+ $1006 = ((($1005)) + 14320|0);
+ $1007 = HEAP32[$1006>>2]|0;
+ $1008 = ($1007|0)==(1002);
do {
- if ($cmp717) {
- $447 = $st$addr;
- $bandwidth720 = ((($447)) + 14336|0);
- $448 = HEAP32[$bandwidth720>>2]|0;
- $cmp721 = ($448|0)==(1102);
- if (!($cmp721)) {
+ if ($1008) {
+ $1009 = $14;
+ $1010 = ((($1009)) + 14336|0);
+ $1011 = HEAP32[$1010>>2]|0;
+ $1012 = ($1011|0)==(1102);
+ if (!($1012)) {
break;
}
- $449 = $st$addr;
- $bandwidth724 = ((($449)) + 14336|0);
- HEAP32[$bandwidth724>>2] = 1103;
+ $1013 = $14;
+ $1014 = ((($1013)) + 14336|0);
+ HEAP32[$1014>>2] = 1103;
}
} while(0);
- $450 = $st$addr;
- $lfe726 = ((($450)) + 164|0);
- $451 = HEAP32[$lfe726>>2]|0;
- $tobool727 = ($451|0)!=(0);
- if ($tobool727) {
- $452 = $st$addr;
- $bandwidth729 = ((($452)) + 14336|0);
- HEAP32[$bandwidth729>>2] = 1101;
+ $1015 = $14;
+ $1016 = ((($1015)) + 164|0);
+ $1017 = HEAP32[$1016>>2]|0;
+ $1018 = ($1017|0)!=(0);
+ if ($1018) {
+ $1019 = $14;
+ $1020 = ((($1019)) + 14336|0);
+ HEAP32[$1020>>2] = 1101;
}
- $453 = $frame_size$addr;
- $454 = $st$addr;
- $Fs731 = ((($454)) + 132|0);
- $455 = HEAP32[$Fs731>>2]|0;
- $div732 = (($455|0) / 50)&-1;
- $cmp733 = ($453|0)>($div732|0);
+ $1021 = $16;
+ $1022 = $14;
+ $1023 = ((($1022)) + 132|0);
+ $1024 = HEAP32[$1023>>2]|0;
+ $1025 = (($1024|0) / 50)&-1;
+ $1026 = ($1021|0)>($1025|0);
do {
- if ($cmp733) {
- $456 = $st$addr;
- $mode736 = ((($456)) + 14320|0);
- $457 = HEAP32[$mode736>>2]|0;
- $cmp737 = ($457|0)==(1002);
- if (!($cmp737)) {
- $458 = $st$addr;
- $bandwidth740 = ((($458)) + 14336|0);
- $459 = HEAP32[$bandwidth740>>2]|0;
- $cmp741 = ($459|0)>(1103);
- if (!($cmp741)) {
+ if ($1026) {
+ $1027 = $14;
+ $1028 = ((($1027)) + 14320|0);
+ $1029 = HEAP32[$1028>>2]|0;
+ $1030 = ($1029|0)==(1002);
+ if (!($1030)) {
+ $1031 = $14;
+ $1032 = ((($1031)) + 14336|0);
+ $1033 = HEAP32[$1032>>2]|0;
+ $1034 = ($1033|0)>(1103);
+ if (!($1034)) {
break;
}
}
- $460 = $analysis_read_pos_bak;
- $cmp744 = ($460|0)!=(-1);
- if ($cmp744) {
- $461 = $analysis_read_pos_bak;
- $462 = $st$addr;
- $analysis747 = ((($462)) + 172|0);
- $read_pos748 = ((($analysis747)) + 8508|0);
- HEAP32[$read_pos748>>2] = $461;
- $463 = $analysis_read_subframe_bak;
- $464 = $st$addr;
- $analysis749 = ((($464)) + 172|0);
- $read_subframe750 = ((($analysis749)) + 8512|0);
- HEAP32[$read_subframe750>>2] = $463;
+ $1035 = $56;
+ $1036 = ($1035|0)!=(-1);
+ if ($1036) {
+ $1037 = $56;
+ $1038 = $14;
+ $1039 = ((($1038)) + 172|0);
+ $1040 = ((($1039)) + 8508|0);
+ HEAP32[$1040>>2] = $1037;
+ $1041 = $57;
+ $1042 = $14;
+ $1043 = ((($1042)) + 172|0);
+ $1044 = ((($1043)) + 8512|0);
+ HEAP32[$1044>>2] = $1041;
}
- $465 = $frame_size$addr;
- $466 = $st$addr;
- $Fs752 = ((($466)) + 132|0);
- $467 = HEAP32[$Fs752>>2]|0;
- $div753 = (($467|0) / 25)&-1;
- $cmp754 = ($465|0)>($div753|0);
- $cond756 = $cmp754 ? 3 : 2;
- $nb_frames = $cond756;
- $468 = $out_data_bytes$addr;
- $sub757 = (($468) - 3)|0;
- $469 = $nb_frames;
- $div758 = (($sub757|0) / ($469|0))&-1;
- $cmp759 = (1276)<($div758|0);
- if ($cmp759) {
- $cond766 = 1276;
+ $1045 = $16;
+ $1046 = $14;
+ $1047 = ((($1046)) + 132|0);
+ $1048 = HEAP32[$1047>>2]|0;
+ $1049 = (($1048|0) / 25)&-1;
+ $1050 = ($1045|0)>($1049|0);
+ $1051 = $1050 ? 3 : 2;
+ $75 = $1051;
+ $1052 = $18;
+ $1053 = (($1052) - 3)|0;
+ $1054 = $75;
+ $1055 = (($1053|0) / ($1054|0))&-1;
+ $1056 = (1276)<($1055|0);
+ if ($1056) {
+ $1061 = 1276;
} else {
- $470 = $out_data_bytes$addr;
- $sub763 = (($470) - 3)|0;
- $471 = $nb_frames;
- $div764 = (($sub763|0) / ($471|0))&-1;
- $cond766 = $div764;
+ $1057 = $18;
+ $1058 = (($1057) - 3)|0;
+ $1059 = $75;
+ $1060 = (($1058|0) / ($1059|0))&-1;
+ $1061 = $1060;
}
- $bytes_per_frame = $cond766;
- $472 = $nb_frames;
- $473 = $bytes_per_frame;
- $mul767 = Math_imul($472, $473)|0;
- $474 = (_llvm_stacksave()|0);
- $saved_stack = $474;
- $vla$alloca_mul = $mul767;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- (_opus_repacketizer_init($rp)|0);
- $475 = $st$addr;
- $user_forced_mode769 = ((($475)) + 124|0);
- $476 = HEAP32[$user_forced_mode769>>2]|0;
- $bak_mode = $476;
- $477 = $st$addr;
- $user_bandwidth770 = ((($477)) + 116|0);
- $478 = HEAP32[$user_bandwidth770>>2]|0;
- $bak_bandwidth = $478;
- $479 = $st$addr;
- $force_channels771 = ((($479)) + 108|0);
- $480 = HEAP32[$force_channels771>>2]|0;
- $bak_channels = $480;
- $481 = $st$addr;
- $mode772 = ((($481)) + 14320|0);
- $482 = HEAP32[$mode772>>2]|0;
- $483 = $st$addr;
- $user_forced_mode773 = ((($483)) + 124|0);
- HEAP32[$user_forced_mode773>>2] = $482;
- $484 = $st$addr;
- $bandwidth774 = ((($484)) + 14336|0);
- $485 = HEAP32[$bandwidth774>>2]|0;
- $486 = $st$addr;
- $user_bandwidth775 = ((($486)) + 116|0);
- HEAP32[$user_bandwidth775>>2] = $485;
- $487 = $st$addr;
- $stream_channels776 = ((($487)) + 14288|0);
- $488 = HEAP32[$stream_channels776>>2]|0;
- $489 = $st$addr;
- $force_channels777 = ((($489)) + 108|0);
- HEAP32[$force_channels777>>2] = $488;
- $490 = $st$addr;
- $silk_mode778 = ((($490)) + 8|0);
- $toMono779 = ((($silk_mode778)) + 56|0);
- $491 = HEAP32[$toMono779>>2]|0;
- $bak_to_mono = $491;
- $492 = $bak_to_mono;
- $tobool780 = ($492|0)!=(0);
- $493 = $st$addr;
- if ($tobool780) {
- $force_channels782 = ((($493)) + 108|0);
- HEAP32[$force_channels782>>2] = 1;
+ $80 = $1061;
+ $1062 = $75;
+ $1063 = $80;
+ $1064 = Math_imul($1062, $1063)|0;
+ $1065 = (_llvm_stacksave()|0);
+ $82 = $1065;
+ $$alloca_mul = $1064;
+ $1066 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ (_opus_repacketizer_init($83)|0);
+ $1067 = $14;
+ $1068 = ((($1067)) + 124|0);
+ $1069 = HEAP32[$1068>>2]|0;
+ $76 = $1069;
+ $1070 = $14;
+ $1071 = ((($1070)) + 116|0);
+ $1072 = HEAP32[$1071>>2]|0;
+ $77 = $1072;
+ $1073 = $14;
+ $1074 = ((($1073)) + 108|0);
+ $1075 = HEAP32[$1074>>2]|0;
+ $78 = $1075;
+ $1076 = $14;
+ $1077 = ((($1076)) + 14320|0);
+ $1078 = HEAP32[$1077>>2]|0;
+ $1079 = $14;
+ $1080 = ((($1079)) + 124|0);
+ HEAP32[$1080>>2] = $1078;
+ $1081 = $14;
+ $1082 = ((($1081)) + 14336|0);
+ $1083 = HEAP32[$1082>>2]|0;
+ $1084 = $14;
+ $1085 = ((($1084)) + 116|0);
+ HEAP32[$1085>>2] = $1083;
+ $1086 = $14;
+ $1087 = ((($1086)) + 14288|0);
+ $1088 = HEAP32[$1087>>2]|0;
+ $1089 = $14;
+ $1090 = ((($1089)) + 108|0);
+ HEAP32[$1090>>2] = $1088;
+ $1091 = $14;
+ $1092 = ((($1091)) + 8|0);
+ $1093 = ((($1092)) + 56|0);
+ $1094 = HEAP32[$1093>>2]|0;
+ $79 = $1094;
+ $1095 = $79;
+ $1096 = ($1095|0)!=(0);
+ $1097 = $14;
+ if ($1096) {
+ $1098 = ((($1097)) + 108|0);
+ HEAP32[$1098>>2] = 1;
} else {
- $stream_channels784 = ((($493)) + 14288|0);
- $494 = HEAP32[$stream_channels784>>2]|0;
- $495 = $st$addr;
- $prev_channels785 = ((($495)) + 14328|0);
- HEAP32[$prev_channels785>>2] = $494;
+ $1099 = ((($1097)) + 14288|0);
+ $1100 = HEAP32[$1099>>2]|0;
+ $1101 = $14;
+ $1102 = ((($1101)) + 14328|0);
+ HEAP32[$1102>>2] = $1100;
}
- $i = 0;
+ $29 = 0;
while(1) {
- $496 = $i;
- $497 = $nb_frames;
- $cmp788 = ($496|0)<($497|0);
- $498 = $st$addr;
- if (!($cmp788)) {
+ $1103 = $29;
+ $1104 = $75;
+ $1105 = ($1103|0)<($1104|0);
+ $1106 = $14;
+ if (!($1105)) {
label = 214;
break;
}
- $silk_mode791 = ((($498)) + 8|0);
- $toMono792 = ((($silk_mode791)) + 56|0);
- HEAP32[$toMono792>>2] = 0;
- $499 = $to_celt;
- $tobool793 = ($499|0)!=(0);
+ $1107 = ((($1106)) + 8|0);
+ $1108 = ((($1107)) + 56|0);
+ HEAP32[$1108>>2] = 0;
+ $1109 = $40;
+ $1110 = ($1109|0)!=(0);
do {
- if ($tobool793) {
- $500 = $i;
- $501 = $nb_frames;
- $sub795 = (($501) - 1)|0;
- $cmp796 = ($500|0)==($sub795|0);
- if (!($cmp796)) {
+ if ($1110) {
+ $1111 = $29;
+ $1112 = $75;
+ $1113 = (($1112) - 1)|0;
+ $1114 = ($1111|0)==($1113|0);
+ if (!($1114)) {
break;
}
- $502 = $st$addr;
- $user_forced_mode799 = ((($502)) + 124|0);
- HEAP32[$user_forced_mode799>>2] = 1002;
+ $1115 = $14;
+ $1116 = ((($1115)) + 124|0);
+ HEAP32[$1116>>2] = 1002;
}
} while(0);
- $503 = $st$addr;
- $504 = $pcm$addr;
- $505 = $i;
- $506 = $st$addr;
- $channels801 = ((($506)) + 100|0);
- $507 = HEAP32[$channels801>>2]|0;
- $508 = $st$addr;
- $Fs802 = ((($508)) + 132|0);
- $509 = HEAP32[$Fs802>>2]|0;
- $mul803 = Math_imul($507, $509)|0;
- $div804 = (($mul803|0) / 50)&-1;
- $mul805 = Math_imul($505, $div804)|0;
- $add$ptr806 = (($504) + ($mul805<<2)|0);
- $510 = $st$addr;
- $Fs807 = ((($510)) + 132|0);
- $511 = HEAP32[$Fs807>>2]|0;
- $div808 = (($511|0) / 50)&-1;
- $512 = $i;
- $513 = $bytes_per_frame;
- $mul809 = Math_imul($512, $513)|0;
- $add$ptr810 = (($vla) + ($mul809)|0);
- $514 = $bytes_per_frame;
- $515 = $lsb_depth$addr;
- $516 = $c1$addr;
- $517 = $c2$addr;
- $518 = $analysis_channels$addr;
- $519 = $downmix$addr;
- $520 = $float_api$addr;
- $call811 = (_opus_encode_native($503,$add$ptr806,$div808,$add$ptr810,$514,$515,0,0,$516,$517,$518,$519,$520)|0);
- $tmp_len = $call811;
- $521 = $tmp_len;
- $cmp812 = ($521|0)<(0);
- if ($cmp812) {
+ $1117 = $14;
+ $1118 = $15;
+ $1119 = $29;
+ $1120 = $14;
+ $1121 = ((($1120)) + 100|0);
+ $1122 = HEAP32[$1121>>2]|0;
+ $1123 = $14;
+ $1124 = ((($1123)) + 132|0);
+ $1125 = HEAP32[$1124>>2]|0;
+ $1126 = Math_imul($1122, $1125)|0;
+ $1127 = (($1126|0) / 50)&-1;
+ $1128 = Math_imul($1119, $1127)|0;
+ $1129 = (($1118) + ($1128<<2)|0);
+ $1130 = $14;
+ $1131 = ((($1130)) + 132|0);
+ $1132 = HEAP32[$1131>>2]|0;
+ $1133 = (($1132|0) / 50)&-1;
+ $1134 = $29;
+ $1135 = $80;
+ $1136 = Math_imul($1134, $1135)|0;
+ $1137 = (($1066) + ($1136)|0);
+ $1138 = $80;
+ $1139 = $19;
+ $1140 = $22;
+ $1141 = $23;
+ $1142 = $24;
+ $1143 = $25;
+ $1144 = $26;
+ $1145 = (_opus_encode_native($1117,$1129,$1133,$1137,$1138,$1139,0,0,$1140,$1141,$1142,$1143,$1144)|0);
+ $84 = $1145;
+ $1146 = $84;
+ $1147 = ($1146|0)<(0);
+ if ($1147) {
label = 210;
break;
}
- $522 = $i;
- $523 = $bytes_per_frame;
- $mul817 = Math_imul($522, $523)|0;
- $add$ptr818 = (($vla) + ($mul817)|0);
- $524 = $tmp_len;
- $call819 = (_opus_repacketizer_cat($rp,$add$ptr818,$524)|0);
- $ret = $call819;
- $525 = $ret;
- $cmp820 = ($525|0)<(0);
- if ($cmp820) {
+ $1148 = $29;
+ $1149 = $80;
+ $1150 = Math_imul($1148, $1149)|0;
+ $1151 = (($1066) + ($1150)|0);
+ $1152 = $84;
+ $1153 = (_opus_repacketizer_cat($83,$1151,$1152)|0);
+ $30 = $1153;
+ $1154 = $30;
+ $1155 = ($1154|0)<(0);
+ if ($1155) {
label = 212;
break;
}
- $526 = $i;
- $inc825 = (($526) + 1)|0;
- $i = $inc825;
+ $1156 = $29;
+ $1157 = (($1156) + 1)|0;
+ $29 = $1157;
}
do {
if ((label|0) == 210) {
- $retval = -3;
- $cleanup$dest$slot = 1;
+ $13 = -3;
+ $85 = 1;
}
else if ((label|0) == 212) {
- $retval = -3;
- $cleanup$dest$slot = 1;
+ $13 = -3;
+ $85 = 1;
}
else if ((label|0) == 214) {
- $use_vbr827 = ((($498)) + 136|0);
- $527 = HEAP32[$use_vbr827>>2]|0;
- $tobool828 = ($527|0)!=(0);
- if ($tobool828) {
- $528 = $out_data_bytes$addr;
- $repacketize_len = $528;
+ $1158 = ((($1106)) + 136|0);
+ $1159 = HEAP32[$1158>>2]|0;
+ $1160 = ($1159|0)!=(0);
+ if ($1160) {
+ $1161 = $18;
+ $81 = $1161;
} else {
- $529 = $st$addr;
- $bitrate_bps831 = ((($529)) + 148|0);
- $530 = HEAP32[$bitrate_bps831>>2]|0;
- $mul832 = ($530*3)|0;
- $531 = $nb_frames;
- $div833 = (1200 / ($531|0))&-1;
- $div834 = (($mul832|0) / ($div833|0))&-1;
- $532 = $out_data_bytes$addr;
- $cmp835 = ($div834|0)<($532|0);
- if ($cmp835) {
- $533 = $st$addr;
- $bitrate_bps838 = ((($533)) + 148|0);
- $534 = HEAP32[$bitrate_bps838>>2]|0;
- $mul839 = ($534*3)|0;
- $535 = $nb_frames;
- $div840 = (1200 / ($535|0))&-1;
- $div841 = (($mul839|0) / ($div840|0))&-1;
- $cond844 = $div841;
+ $1162 = $14;
+ $1163 = ((($1162)) + 148|0);
+ $1164 = HEAP32[$1163>>2]|0;
+ $1165 = ($1164*3)|0;
+ $1166 = $75;
+ $1167 = (1200 / ($1166|0))&-1;
+ $1168 = (($1165|0) / ($1167|0))&-1;
+ $1169 = $18;
+ $1170 = ($1168|0)<($1169|0);
+ if ($1170) {
+ $1171 = $14;
+ $1172 = ((($1171)) + 148|0);
+ $1173 = HEAP32[$1172>>2]|0;
+ $1174 = ($1173*3)|0;
+ $1175 = $75;
+ $1176 = (1200 / ($1175|0))&-1;
+ $1177 = (($1174|0) / ($1176|0))&-1;
+ $1179 = $1177;
} else {
- $536 = $out_data_bytes$addr;
- $cond844 = $536;
+ $1178 = $18;
+ $1179 = $1178;
}
- $repacketize_len = $cond844;
+ $81 = $1179;
}
- $537 = $nb_frames;
- $538 = $data$addr;
- $539 = $repacketize_len;
- $540 = $st$addr;
- $use_vbr847 = ((($540)) + 136|0);
- $541 = HEAP32[$use_vbr847>>2]|0;
- $tobool848 = ($541|0)!=(0);
- $lnot = $tobool848 ^ 1;
- $lnot$ext = $lnot&1;
- $call849 = (_opus_repacketizer_out_range_impl($rp,0,$537,$538,$539,0,$lnot$ext)|0);
- $ret = $call849;
- $542 = $ret;
- $cmp850 = ($542|0)<(0);
- if ($cmp850) {
- $retval = -3;
- $cleanup$dest$slot = 1;
+ $1180 = $75;
+ $1181 = $17;
+ $1182 = $81;
+ $1183 = $14;
+ $1184 = ((($1183)) + 136|0);
+ $1185 = HEAP32[$1184>>2]|0;
+ $1186 = ($1185|0)!=(0);
+ $1187 = $1186 ^ 1;
+ $1188 = $1187&1;
+ $1189 = (_opus_repacketizer_out_range_impl($83,0,$1180,$1181,$1182,0,$1188)|0);
+ $30 = $1189;
+ $1190 = $30;
+ $1191 = ($1190|0)<(0);
+ if ($1191) {
+ $13 = -3;
+ $85 = 1;
break;
} else {
- $543 = $bak_mode;
- $544 = $st$addr;
- $user_forced_mode854 = ((($544)) + 124|0);
- HEAP32[$user_forced_mode854>>2] = $543;
- $545 = $bak_bandwidth;
- $546 = $st$addr;
- $user_bandwidth855 = ((($546)) + 116|0);
- HEAP32[$user_bandwidth855>>2] = $545;
- $547 = $bak_channels;
- $548 = $st$addr;
- $force_channels856 = ((($548)) + 108|0);
- HEAP32[$force_channels856>>2] = $547;
- $549 = $bak_to_mono;
- $550 = $st$addr;
- $silk_mode857 = ((($550)) + 8|0);
- $toMono858 = ((($silk_mode857)) + 56|0);
- HEAP32[$toMono858>>2] = $549;
- $551 = $ret;
- $retval = $551;
- $cleanup$dest$slot = 1;
+ $1192 = $76;
+ $1193 = $14;
+ $1194 = ((($1193)) + 124|0);
+ HEAP32[$1194>>2] = $1192;
+ $1195 = $77;
+ $1196 = $14;
+ $1197 = ((($1196)) + 116|0);
+ HEAP32[$1197>>2] = $1195;
+ $1198 = $78;
+ $1199 = $14;
+ $1200 = ((($1199)) + 108|0);
+ HEAP32[$1200>>2] = $1198;
+ $1201 = $79;
+ $1202 = $14;
+ $1203 = ((($1202)) + 8|0);
+ $1204 = ((($1203)) + 56|0);
+ HEAP32[$1204>>2] = $1201;
+ $1205 = $30;
+ $13 = $1205;
+ $85 = 1;
break;
}
}
} while(0);
- $552 = $saved_stack;
- _llvm_stackrestore(($552|0));
- $1267 = $retval;
- STACKTOP = sp;return ($1267|0);
+ $1206 = $82;
+ _llvm_stackrestore(($1206|0));
+ $2706 = $13;
+ STACKTOP = sp;return ($2706|0);
}
} while(0);
- $553 = $st$addr;
- $bandwidth860 = ((($553)) + 14336|0);
- $554 = HEAP32[$bandwidth860>>2]|0;
- $curr_bandwidth = $554;
- $555 = $st$addr;
- $mode861 = ((($555)) + 14320|0);
- $556 = HEAP32[$mode861>>2]|0;
- $cmp862 = ($556|0)==(1000);
- $557 = $curr_bandwidth;
- $cmp865 = ($557|0)>(1103);
- $or$cond10 = $cmp862 & $cmp865;
- if ($or$cond10) {
- $558 = $st$addr;
- $mode868 = ((($558)) + 14320|0);
- HEAP32[$mode868>>2] = 1001;
+ $1207 = $14;
+ $1208 = ((($1207)) + 14336|0);
+ $1209 = HEAP32[$1208>>2]|0;
+ $49 = $1209;
+ $1210 = $14;
+ $1211 = ((($1210)) + 14320|0);
+ $1212 = HEAP32[$1211>>2]|0;
+ $1213 = ($1212|0)==(1000);
+ $1214 = $49;
+ $1215 = ($1214|0)>(1103);
+ $or$cond19 = $1213 & $1215;
+ if ($or$cond19) {
+ $1216 = $14;
+ $1217 = ((($1216)) + 14320|0);
+ HEAP32[$1217>>2] = 1001;
}
- $559 = $st$addr;
- $mode870 = ((($559)) + 14320|0);
- $560 = HEAP32[$mode870>>2]|0;
- $cmp871 = ($560|0)==(1001);
- $561 = $curr_bandwidth;
- $cmp874 = ($561|0)<=(1103);
- $or$cond11 = $cmp871 & $cmp874;
- if ($or$cond11) {
- $562 = $st$addr;
- $mode877 = ((($562)) + 14320|0);
- HEAP32[$mode877>>2] = 1000;
+ $1218 = $14;
+ $1219 = ((($1218)) + 14320|0);
+ $1220 = HEAP32[$1219>>2]|0;
+ $1221 = ($1220|0)==(1001);
+ $1222 = $49;
+ $1223 = ($1222|0)<=(1103);
+ $or$cond21 = $1221 & $1223;
+ if ($or$cond21) {
+ $1224 = $14;
+ $1225 = ((($1224)) + 14320|0);
+ HEAP32[$1225>>2] = 1000;
}
- $563 = $max_data_bytes;
- $564 = $redundancy_bytes;
- $sub879 = (($563) - ($564))|0;
- $565 = $st$addr;
- $bitrate_bps880 = ((($565)) + 148|0);
- $566 = HEAP32[$bitrate_bps880>>2]|0;
- $567 = $frame_size$addr;
- $mul881 = Math_imul($566, $567)|0;
- $568 = $st$addr;
- $Fs882 = ((($568)) + 132|0);
- $569 = HEAP32[$Fs882>>2]|0;
- $mul883 = $569<<3;
- $div884 = (($mul881|0) / ($mul883|0))&-1;
- $cmp885 = ($sub879|0)<($div884|0);
- if ($cmp885) {
- $570 = $max_data_bytes;
- $571 = $redundancy_bytes;
- $sub888 = (($570) - ($571))|0;
- $cond896 = $sub888;
+ $1226 = $51;
+ $1227 = $37;
+ $1228 = (($1226) - ($1227))|0;
+ $1229 = $14;
+ $1230 = ((($1229)) + 148|0);
+ $1231 = HEAP32[$1230>>2]|0;
+ $1232 = $16;
+ $1233 = Math_imul($1231, $1232)|0;
+ $1234 = $14;
+ $1235 = ((($1234)) + 132|0);
+ $1236 = HEAP32[$1235>>2]|0;
+ $1237 = $1236<<3;
+ $1238 = (($1233|0) / ($1237|0))&-1;
+ $1239 = ($1228|0)<($1238|0);
+ if ($1239) {
+ $1240 = $51;
+ $1241 = $37;
+ $1242 = (($1240) - ($1241))|0;
+ $1254 = $1242;
} else {
- $572 = $st$addr;
- $bitrate_bps890 = ((($572)) + 148|0);
- $573 = HEAP32[$bitrate_bps890>>2]|0;
- $574 = $frame_size$addr;
- $mul891 = Math_imul($573, $574)|0;
- $575 = $st$addr;
- $Fs892 = ((($575)) + 132|0);
- $576 = HEAP32[$Fs892>>2]|0;
- $mul893 = $576<<3;
- $div894 = (($mul891|0) / ($mul893|0))&-1;
- $cond896 = $div894;
+ $1243 = $14;
+ $1244 = ((($1243)) + 148|0);
+ $1245 = HEAP32[$1244>>2]|0;
+ $1246 = $16;
+ $1247 = Math_imul($1245, $1246)|0;
+ $1248 = $14;
+ $1249 = ((($1248)) + 132|0);
+ $1250 = HEAP32[$1249>>2]|0;
+ $1251 = $1250<<3;
+ $1252 = (($1247|0) / ($1251|0))&-1;
+ $1254 = $1252;
}
- $sub897 = (($cond896) - 1)|0;
- $bytes_target = $sub897;
- $577 = $data$addr;
- $add$ptr898 = ((($577)) + 1|0);
- $data$addr = $add$ptr898;
- $578 = $data$addr;
- $579 = $max_data_bytes;
- $sub899 = (($579) - 1)|0;
- _ec_enc_init($enc,$578,$sub899);
- $580 = $total_buffer;
- $581 = $frame_size$addr;
- $add900 = (($580) + ($581))|0;
- $582 = $st$addr;
- $channels901 = ((($582)) + 100|0);
- $583 = HEAP32[$channels901>>2]|0;
- $mul902 = Math_imul($add900, $583)|0;
- $584 = (_llvm_stacksave()|0);
- $saved_stack903 = $584;
- $vla904$alloca_mul = $mul902<<2;
- $vla904 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla904$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla904$alloca_mul)|0)+15)&-16)|0);;
- $585 = $st$addr;
- $delay_buffer = ((($585)) + 14372|0);
- $586 = $st$addr;
- $encoder_buffer = ((($586)) + 160|0);
- $587 = HEAP32[$encoder_buffer>>2]|0;
- $588 = $total_buffer;
- $sub905 = (($587) - ($588))|0;
- $589 = $st$addr;
- $channels906 = ((($589)) + 100|0);
- $590 = HEAP32[$channels906>>2]|0;
- $mul907 = Math_imul($sub905, $590)|0;
- $arrayidx908 = (($delay_buffer) + ($mul907<<2)|0);
- $591 = $total_buffer;
- $592 = $st$addr;
- $channels909 = ((($592)) + 100|0);
- $593 = HEAP32[$channels909>>2]|0;
- $mul910 = Math_imul($591, $593)|0;
- $mul911 = $mul910<<2;
- $594 = $st$addr;
- $delay_buffer912 = ((($594)) + 14372|0);
- $595 = $st$addr;
- $encoder_buffer913 = ((($595)) + 160|0);
- $596 = HEAP32[$encoder_buffer913>>2]|0;
- $597 = $total_buffer;
- $sub914 = (($596) - ($597))|0;
- $598 = $st$addr;
- $channels915 = ((($598)) + 100|0);
- $599 = HEAP32[$channels915>>2]|0;
- $mul916 = Math_imul($sub914, $599)|0;
- $arrayidx917 = (($delay_buffer912) + ($mul916<<2)|0);
- $sub$ptr$lhs$cast918 = $vla904;
- $sub$ptr$rhs$cast919 = $arrayidx917;
- $sub$ptr$sub920 = (($sub$ptr$lhs$cast918) - ($sub$ptr$rhs$cast919))|0;
- $sub$ptr$div921 = (($sub$ptr$sub920|0) / 4)&-1;
- $mul922 = 0;
- $add923 = (($mul911) + ($mul922))|0;
- _memcpy(($vla904|0),($arrayidx908|0),($add923|0))|0;
- $600 = $st$addr;
- $mode924 = ((($600)) + 14320|0);
- $601 = HEAP32[$mode924>>2]|0;
- $cmp925 = ($601|0)==(1002);
- if ($cmp925) {
- $call928 = (_silk_lin2log(60)|0);
- $shl = $call928 << 8;
- $hp_freq_smth1 = $shl;
+ $1253 = (($1254) - 1)|0;
+ $33 = $1253;
+ $1255 = $17;
+ $1256 = ((($1255)) + 1|0);
+ $17 = $1256;
+ $1257 = $17;
+ $1258 = $51;
+ $1259 = (($1258) - 1)|0;
+ _ec_enc_init($32,$1257,$1259);
+ $1260 = $52;
+ $1261 = $16;
+ $1262 = (($1260) + ($1261))|0;
+ $1263 = $14;
+ $1264 = ((($1263)) + 100|0);
+ $1265 = HEAP32[$1264>>2]|0;
+ $1266 = Math_imul($1262, $1265)|0;
+ $1267 = (_llvm_stacksave()|0);
+ $86 = $1267;
+ $$alloca_mul215 = $1266<<2;
+ $1268 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul215)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul215)|0)+15)&-16)|0);;
+ $1269 = $14;
+ $1270 = ((($1269)) + 14372|0);
+ $1271 = $14;
+ $1272 = ((($1271)) + 160|0);
+ $1273 = HEAP32[$1272>>2]|0;
+ $1274 = $52;
+ $1275 = (($1273) - ($1274))|0;
+ $1276 = $14;
+ $1277 = ((($1276)) + 100|0);
+ $1278 = HEAP32[$1277>>2]|0;
+ $1279 = Math_imul($1275, $1278)|0;
+ $1280 = (($1270) + ($1279<<2)|0);
+ $1281 = $52;
+ $1282 = $14;
+ $1283 = ((($1282)) + 100|0);
+ $1284 = HEAP32[$1283>>2]|0;
+ $1285 = Math_imul($1281, $1284)|0;
+ $1286 = $1285<<2;
+ $1287 = $14;
+ $1288 = ((($1287)) + 14372|0);
+ $1289 = $14;
+ $1290 = ((($1289)) + 160|0);
+ $1291 = HEAP32[$1290>>2]|0;
+ $1292 = $52;
+ $1293 = (($1291) - ($1292))|0;
+ $1294 = $14;
+ $1295 = ((($1294)) + 100|0);
+ $1296 = HEAP32[$1295>>2]|0;
+ $1297 = Math_imul($1293, $1296)|0;
+ $1298 = (($1288) + ($1297<<2)|0);
+ $1299 = $1268;
+ $1300 = $1298;
+ $1301 = (($1299) - ($1300))|0;
+ $1302 = (($1301|0) / 4)&-1;
+ $1303 = 0;
+ $1304 = (($1286) + ($1303))|0;
+ _memcpy(($1268|0),($1280|0),($1304|0))|0;
+ $1305 = $14;
+ $1306 = ((($1305)) + 14320|0);
+ $1307 = HEAP32[$1306>>2]|0;
+ $1308 = ($1307|0)==(1002);
+ if ($1308) {
+ $1309 = (_silk_lin2log(60)|0);
+ $1310 = $1309 << 8;
+ $43 = $1310;
} else {
- $602 = $silk_enc;
- $variable_HP_smth1_Q15 = ((($602)) + 8|0);
- $603 = HEAP32[$variable_HP_smth1_Q15>>2]|0;
- $hp_freq_smth1 = $603;
+ $1311 = $27;
+ $1312 = ((($1311)) + 8|0);
+ $1313 = HEAP32[$1312>>2]|0;
+ $43 = $1313;
}
- $604 = $st$addr;
- $variable_HP_smth2_Q15 = ((($604)) + 14296|0);
- $605 = HEAP32[$variable_HP_smth2_Q15>>2]|0;
- $606 = $hp_freq_smth1;
- $607 = $st$addr;
- $variable_HP_smth2_Q15932 = ((($607)) + 14296|0);
- $608 = HEAP32[$variable_HP_smth2_Q15932>>2]|0;
- $sub933 = (($606) - ($608))|0;
- $shr934 = $sub933 >> 16;
- $mul935 = ($shr934*983)|0;
- $609 = $hp_freq_smth1;
- $610 = $st$addr;
- $variable_HP_smth2_Q15936 = ((($610)) + 14296|0);
- $611 = HEAP32[$variable_HP_smth2_Q15936>>2]|0;
- $sub937 = (($609) - ($611))|0;
- $and = $sub937 & 65535;
- $mul938 = ($and*983)|0;
- $shr939 = $mul938 >> 16;
- $add940 = (($mul935) + ($shr939))|0;
- $add941 = (($605) + ($add940))|0;
- $612 = $st$addr;
- $variable_HP_smth2_Q15942 = ((($612)) + 14296|0);
- HEAP32[$variable_HP_smth2_Q15942>>2] = $add941;
- $613 = $st$addr;
- $variable_HP_smth2_Q15943 = ((($613)) + 14296|0);
- $614 = HEAP32[$variable_HP_smth2_Q15943>>2]|0;
- $shr944 = $614 >> 8;
- $call945 = (_silk_log2lin($shr944)|0);
- $cutoff_Hz = $call945;
- $615 = $st$addr;
- $application946 = ((($615)) + 96|0);
- $616 = HEAP32[$application946>>2]|0;
- $cmp947 = ($616|0)==(2048);
- $617 = $pcm$addr;
- if ($cmp947) {
- $618 = $cutoff_Hz;
- $619 = $total_buffer;
- $620 = $st$addr;
- $channels950 = ((($620)) + 100|0);
- $621 = HEAP32[$channels950>>2]|0;
- $mul951 = Math_imul($619, $621)|0;
- $arrayidx952 = (($vla904) + ($mul951<<2)|0);
- $622 = $st$addr;
- $hp_mem = ((($622)) + 14304|0);
- $623 = $frame_size$addr;
- $624 = $st$addr;
- $channels954 = ((($624)) + 100|0);
- $625 = HEAP32[$channels954>>2]|0;
- $626 = $st$addr;
- $Fs955 = ((($626)) + 132|0);
- $627 = HEAP32[$Fs955>>2]|0;
- _hp_cutoff($617,$618,$arrayidx952,$hp_mem,$623,$625,$627);
+ $1314 = $14;
+ $1315 = ((($1314)) + 14296|0);
+ $1316 = HEAP32[$1315>>2]|0;
+ $1317 = $43;
+ $1318 = $14;
+ $1319 = ((($1318)) + 14296|0);
+ $1320 = HEAP32[$1319>>2]|0;
+ $1321 = (($1317) - ($1320))|0;
+ $1322 = $1321 >> 16;
+ $1323 = ($1322*983)|0;
+ $1324 = $43;
+ $1325 = $14;
+ $1326 = ((($1325)) + 14296|0);
+ $1327 = HEAP32[$1326>>2]|0;
+ $1328 = (($1324) - ($1327))|0;
+ $1329 = $1328 & 65535;
+ $1330 = ($1329*983)|0;
+ $1331 = $1330 >> 16;
+ $1332 = (($1323) + ($1331))|0;
+ $1333 = (($1316) + ($1332))|0;
+ $1334 = $14;
+ $1335 = ((($1334)) + 14296|0);
+ HEAP32[$1335>>2] = $1333;
+ $1336 = $14;
+ $1337 = ((($1336)) + 14296|0);
+ $1338 = HEAP32[$1337>>2]|0;
+ $1339 = $1338 >> 8;
+ $1340 = (_silk_log2lin($1339)|0);
+ $42 = $1340;
+ $1341 = $14;
+ $1342 = ((($1341)) + 96|0);
+ $1343 = HEAP32[$1342>>2]|0;
+ $1344 = ($1343|0)==(2048);
+ $1345 = $15;
+ if ($1344) {
+ $1346 = $42;
+ $1347 = $52;
+ $1348 = $14;
+ $1349 = ((($1348)) + 100|0);
+ $1350 = HEAP32[$1349>>2]|0;
+ $1351 = Math_imul($1347, $1350)|0;
+ $1352 = (($1268) + ($1351<<2)|0);
+ $1353 = $14;
+ $1354 = ((($1353)) + 14304|0);
+ $1355 = $16;
+ $1356 = $14;
+ $1357 = ((($1356)) + 100|0);
+ $1358 = HEAP32[$1357>>2]|0;
+ $1359 = $14;
+ $1360 = ((($1359)) + 132|0);
+ $1361 = HEAP32[$1360>>2]|0;
+ _hp_cutoff($1345,$1346,$1352,$1354,$1355,$1358,$1361);
} else {
- $628 = $total_buffer;
- $629 = $st$addr;
- $channels957 = ((($629)) + 100|0);
- $630 = HEAP32[$channels957>>2]|0;
- $mul958 = Math_imul($628, $630)|0;
- $arrayidx959 = (($vla904) + ($mul958<<2)|0);
- $631 = $st$addr;
- $hp_mem960 = ((($631)) + 14304|0);
- $632 = $frame_size$addr;
- $633 = $st$addr;
- $channels962 = ((($633)) + 100|0);
- $634 = HEAP32[$channels962>>2]|0;
- $635 = $st$addr;
- $Fs963 = ((($635)) + 132|0);
- $636 = HEAP32[$Fs963>>2]|0;
- _dc_reject($617,3,$arrayidx959,$hp_mem960,$632,$634,$636);
+ $1362 = $52;
+ $1363 = $14;
+ $1364 = ((($1363)) + 100|0);
+ $1365 = HEAP32[$1364>>2]|0;
+ $1366 = Math_imul($1362, $1365)|0;
+ $1367 = (($1268) + ($1366<<2)|0);
+ $1368 = $14;
+ $1369 = ((($1368)) + 14304|0);
+ $1370 = $16;
+ $1371 = $14;
+ $1372 = ((($1371)) + 100|0);
+ $1373 = HEAP32[$1372>>2]|0;
+ $1374 = $14;
+ $1375 = ((($1374)) + 132|0);
+ $1376 = HEAP32[$1375>>2]|0;
+ _dc_reject($1345,3,$1367,$1369,$1370,$1373,$1376);
}
- $637 = $float_api$addr;
- $tobool965 = ($637|0)!=(0);
+ $1377 = $26;
+ $1378 = ($1377|0)!=(0);
do {
- if ($tobool965) {
- $638 = $total_buffer;
- $639 = $st$addr;
- $channels968 = ((($639)) + 100|0);
- $640 = HEAP32[$channels968>>2]|0;
- $mul969 = Math_imul($638, $640)|0;
- $arrayidx970 = (($vla904) + ($mul969<<2)|0);
- $641 = $total_buffer;
- $642 = $st$addr;
- $channels971 = ((($642)) + 100|0);
- $643 = HEAP32[$channels971>>2]|0;
- $mul972 = Math_imul($641, $643)|0;
- $arrayidx973 = (($vla904) + ($mul972<<2)|0);
- $644 = $frame_size$addr;
- $645 = $st$addr;
- $channels974 = ((($645)) + 100|0);
- $646 = HEAP32[$channels974>>2]|0;
- $mul975 = Math_imul($644, $646)|0;
- $call976 = (+_celt_inner_prod_c($arrayidx970,$arrayidx973,$mul975));
- $sum = $call976;
- $647 = $sum;
- $cmp977 = $647 < 1.0E+9;
- if ($cmp977) {
- $648 = $sum;
- $649 = $sum;
- $cmp980 = $648 != $649;
- if (!($cmp980)) {
+ if ($1378) {
+ $1379 = $52;
+ $1380 = $14;
+ $1381 = ((($1380)) + 100|0);
+ $1382 = HEAP32[$1381>>2]|0;
+ $1383 = Math_imul($1379, $1382)|0;
+ $1384 = (($1268) + ($1383<<2)|0);
+ $1385 = $52;
+ $1386 = $14;
+ $1387 = ((($1386)) + 100|0);
+ $1388 = HEAP32[$1387>>2]|0;
+ $1389 = Math_imul($1385, $1388)|0;
+ $1390 = (($1268) + ($1389<<2)|0);
+ $1391 = $16;
+ $1392 = $14;
+ $1393 = ((($1392)) + 100|0);
+ $1394 = HEAP32[$1393>>2]|0;
+ $1395 = Math_imul($1391, $1394)|0;
+ $1396 = (+_celt_inner_prod_c($1384,$1390,$1395));
+ $87 = $1396;
+ $1397 = $87;
+ $1398 = $1397 < 1.0E+9;
+ if ($1398) {
+ $1399 = $87;
+ $1400 = $87;
+ $1401 = $1399 != $1400;
+ if (!($1401)) {
break;
}
}
- $650 = $total_buffer;
- $651 = $st$addr;
- $channels983 = ((($651)) + 100|0);
- $652 = HEAP32[$channels983>>2]|0;
- $mul984 = Math_imul($650, $652)|0;
- $arrayidx985 = (($vla904) + ($mul984<<2)|0);
- $653 = $frame_size$addr;
- $654 = $st$addr;
- $channels986 = ((($654)) + 100|0);
- $655 = HEAP32[$channels986>>2]|0;
- $mul987 = Math_imul($653, $655)|0;
- $mul988 = $mul987<<2;
- _memset(($arrayidx985|0),0,($mul988|0))|0;
- $656 = $st$addr;
- $hp_mem989 = ((($656)) + 14304|0);
- $arrayidx990 = ((($hp_mem989)) + 12|0);
- HEAPF32[$arrayidx990>>2] = 0.0;
- $657 = $st$addr;
- $hp_mem991 = ((($657)) + 14304|0);
- $arrayidx992 = ((($hp_mem991)) + 8|0);
- HEAPF32[$arrayidx992>>2] = 0.0;
- $658 = $st$addr;
- $hp_mem993 = ((($658)) + 14304|0);
- $arrayidx994 = ((($hp_mem993)) + 4|0);
- HEAPF32[$arrayidx994>>2] = 0.0;
- $659 = $st$addr;
- $hp_mem995 = ((($659)) + 14304|0);
- HEAPF32[$hp_mem995>>2] = 0.0;
+ $1402 = $52;
+ $1403 = $14;
+ $1404 = ((($1403)) + 100|0);
+ $1405 = HEAP32[$1404>>2]|0;
+ $1406 = Math_imul($1402, $1405)|0;
+ $1407 = (($1268) + ($1406<<2)|0);
+ $1408 = $16;
+ $1409 = $14;
+ $1410 = ((($1409)) + 100|0);
+ $1411 = HEAP32[$1410>>2]|0;
+ $1412 = Math_imul($1408, $1411)|0;
+ $1413 = $1412<<2;
+ _memset(($1407|0),0,($1413|0))|0;
+ $1414 = $14;
+ $1415 = ((($1414)) + 14304|0);
+ $1416 = ((($1415)) + 12|0);
+ HEAPF32[$1416>>2] = 0.0;
+ $1417 = $14;
+ $1418 = ((($1417)) + 14304|0);
+ $1419 = ((($1418)) + 8|0);
+ HEAPF32[$1419>>2] = 0.0;
+ $1420 = $14;
+ $1421 = ((($1420)) + 14304|0);
+ $1422 = ((($1421)) + 4|0);
+ HEAPF32[$1422>>2] = 0.0;
+ $1423 = $14;
+ $1424 = ((($1423)) + 14304|0);
+ HEAPF32[$1424>>2] = 0.0;
}
} while(0);
- $HB_gain = 1.0;
- $660 = $st$addr;
- $mode999 = ((($660)) + 14320|0);
- $661 = HEAP32[$mode999>>2]|0;
- $cmp1000 = ($661|0)!=(1002);
- if ($cmp1000) {
- $662 = $st$addr;
- $channels1003 = ((($662)) + 100|0);
- $663 = HEAP32[$channels1003>>2]|0;
- $664 = $frame_size$addr;
- $mul1004 = Math_imul($663, $664)|0;
- $665 = (_llvm_stacksave()|0);
- $saved_stack1005 = $665;
- $vla1006$alloca_mul = $mul1004<<1;
- $vla1006 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1006$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1006$alloca_mul)|0)+15)&-16)|0);;
- $666 = $bytes_target;
- $mul1007 = $666<<3;
- $667 = $frame_rate;
- $mul1008 = Math_imul($mul1007, $667)|0;
- $total_bitRate = $mul1008;
- $668 = $st$addr;
- $mode1009 = ((($668)) + 14320|0);
- $669 = HEAP32[$mode1009>>2]|0;
- $cmp1010 = ($669|0)==(1001);
+ $50 = 1.0;
+ $1425 = $14;
+ $1426 = ((($1425)) + 14320|0);
+ $1427 = HEAP32[$1426>>2]|0;
+ $1428 = ($1427|0)!=(1002);
+ if ($1428) {
+ $1429 = $14;
+ $1430 = ((($1429)) + 100|0);
+ $1431 = HEAP32[$1430>>2]|0;
+ $1432 = $16;
+ $1433 = Math_imul($1431, $1432)|0;
+ $1434 = (_llvm_stacksave()|0);
+ $90 = $1434;
+ $$alloca_mul217 = $1433<<1;
+ $1435 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul217)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul217)|0)+15)&-16)|0);;
+ $1436 = $33;
+ $1437 = $1436<<3;
+ $1438 = $47;
+ $1439 = Math_imul($1437, $1438)|0;
+ $88 = $1439;
+ $1440 = $14;
+ $1441 = ((($1440)) + 14320|0);
+ $1442 = HEAP32[$1441>>2]|0;
+ $1443 = ($1442|0)==(1001);
do {
- if ($cmp1010) {
- $670 = $st$addr;
- $stream_channels1013 = ((($670)) + 14288|0);
- $671 = HEAP32[$stream_channels1013>>2]|0;
- $672 = $st$addr;
- $Fs1014 = ((($672)) + 132|0);
- $673 = HEAP32[$Fs1014>>2]|0;
- $674 = $frame_size$addr;
- $mul1015 = ($674*100)|0;
- $cmp1016 = ($673|0)==($mul1015|0);
- $conv1017 = $cmp1016&1;
- $mul1018 = ($conv1017*1000)|0;
- $add1019 = (5000 + ($mul1018))|0;
- $mul1020 = Math_imul($671, $add1019)|0;
- $675 = $st$addr;
- $silk_mode1021 = ((($675)) + 8|0);
- $bitRate = ((($silk_mode1021)) + 28|0);
- HEAP32[$bitRate>>2] = $mul1020;
- $676 = $curr_bandwidth;
- $cmp1022 = ($676|0)==(1104);
- $677 = $total_bitRate;
- $678 = $st$addr;
- $silk_mode1025 = ((($678)) + 8|0);
- $bitRate1026 = ((($silk_mode1025)) + 28|0);
- $679 = HEAP32[$bitRate1026>>2]|0;
- $sub1027 = (($677) - ($679))|0;
- if ($cmp1022) {
- $mul1028 = $sub1027<<1;
- $div1029 = (($mul1028|0) / 3)&-1;
- $680 = $st$addr;
- $$sink25 = $680;$div1038$sink = $div1029;
+ if ($1443) {
+ $1444 = $14;
+ $1445 = ((($1444)) + 14288|0);
+ $1446 = HEAP32[$1445>>2]|0;
+ $1447 = $14;
+ $1448 = ((($1447)) + 132|0);
+ $1449 = HEAP32[$1448>>2]|0;
+ $1450 = $16;
+ $1451 = ($1450*100)|0;
+ $1452 = ($1449|0)==($1451|0);
+ $1453 = $1452&1;
+ $1454 = ($1453*1000)|0;
+ $1455 = (5000 + ($1454))|0;
+ $1456 = Math_imul($1446, $1455)|0;
+ $1457 = $14;
+ $1458 = ((($1457)) + 8|0);
+ $1459 = ((($1458)) + 28|0);
+ HEAP32[$1459>>2] = $1456;
+ $1460 = $49;
+ $1461 = ($1460|0)==(1104);
+ $1462 = $88;
+ $1463 = $14;
+ $1464 = ((($1463)) + 8|0);
+ $1465 = ((($1464)) + 28|0);
+ $1466 = HEAP32[$1465>>2]|0;
+ $1467 = (($1462) - ($1466))|0;
+ if ($1461) {
+ $1468 = $1467<<1;
+ $1469 = (($1468|0) / 3)&-1;
+ $1470 = $14;
+ $$sink25 = $1469;$$sink48 = $1470;
} else {
- $mul1037 = ($sub1027*3)|0;
- $div1038 = (($mul1037|0) / 5)&-1;
- $681 = $st$addr;
- $$sink25 = $681;$div1038$sink = $div1038;
+ $1471 = ($1467*3)|0;
+ $1472 = (($1471|0) / 5)&-1;
+ $1473 = $14;
+ $$sink25 = $1472;$$sink48 = $1473;
}
- $silk_mode1039 = ((($$sink25)) + 8|0);
- $bitRate1040 = ((($silk_mode1039)) + 28|0);
- $682 = HEAP32[$bitRate1040>>2]|0;
- $add1041 = (($682) + ($div1038$sink))|0;
- HEAP32[$bitRate1040>>2] = $add1041;
- $683 = $st$addr;
- $silk_mode1043 = ((($683)) + 8|0);
- $bitRate1044 = ((($silk_mode1043)) + 28|0);
- $684 = HEAP32[$bitRate1044>>2]|0;
- $685 = $total_bitRate;
- $mul1045 = $685<<2;
- $div1046 = (($mul1045|0) / 5)&-1;
- $cmp1047 = ($684|0)>($div1046|0);
- if ($cmp1047) {
- $686 = $total_bitRate;
- $mul1050 = $686<<2;
- $div1051 = (($mul1050|0) / 5)&-1;
- $687 = $st$addr;
- $silk_mode1052 = ((($687)) + 8|0);
- $bitRate1053 = ((($silk_mode1052)) + 28|0);
- HEAP32[$bitRate1053>>2] = $div1051;
+ $1474 = ((($$sink48)) + 8|0);
+ $1475 = ((($1474)) + 28|0);
+ $1476 = HEAP32[$1475>>2]|0;
+ $1477 = (($1476) + ($$sink25))|0;
+ HEAP32[$1475>>2] = $1477;
+ $1478 = $14;
+ $1479 = ((($1478)) + 8|0);
+ $1480 = ((($1479)) + 28|0);
+ $1481 = HEAP32[$1480>>2]|0;
+ $1482 = $88;
+ $1483 = $1482<<2;
+ $1484 = (($1483|0) / 5)&-1;
+ $1485 = ($1481|0)>($1484|0);
+ if ($1485) {
+ $1486 = $88;
+ $1487 = $1486<<2;
+ $1488 = (($1487|0) / 5)&-1;
+ $1489 = $14;
+ $1490 = ((($1489)) + 8|0);
+ $1491 = ((($1490)) + 28|0);
+ HEAP32[$1491>>2] = $1488;
}
- $688 = $st$addr;
- $energy_masking = ((($688)) + 14348|0);
- $689 = HEAP32[$energy_masking>>2]|0;
- $tobool1055 = ($689|0)!=(0|0);
- if ($tobool1055) {
+ $1492 = $14;
+ $1493 = ((($1492)) + 14348|0);
+ $1494 = HEAP32[$1493>>2]|0;
+ $1495 = ($1494|0)!=(0|0);
+ if ($1495) {
break;
}
- $690 = $total_bitRate;
- $691 = $st$addr;
- $silk_mode1057 = ((($691)) + 8|0);
- $bitRate1058 = ((($silk_mode1057)) + 28|0);
- $692 = HEAP32[$bitRate1058>>2]|0;
- $sub1059 = (($690) - ($692))|0;
- $celt_rate = $sub1059;
- $693 = $curr_bandwidth;
- $cmp1060 = ($693|0)==(1104);
- $cond1062 = $cmp1060 ? 3000 : 3600;
- $HB_gain_ref = $cond1062;
- $694 = $celt_rate;
- $conv1063 = (+($694|0));
- $695 = $celt_rate;
- $conv1064 = (+($695|0));
- $696 = $st$addr;
- $stream_channels1065 = ((($696)) + 14288|0);
- $697 = HEAP32[$stream_channels1065>>2]|0;
- $698 = $HB_gain_ref;
- $mul1066 = Math_imul($697, $698)|0;
- $conv1067 = (+($mul1066|0));
- $add1068 = $conv1064 + $conv1067;
- $div1069 = $conv1063 / $add1068;
- $HB_gain = $div1069;
- $699 = $HB_gain;
- $cmp1070 = $699 < 0.8571428656578064;
- $700 = $HB_gain;
- $add1073 = $700 + 0.1428571492433548;
- $cond1076 = $cmp1070 ? $add1073 : 1.0;
- $HB_gain = $cond1076;
+ $1496 = $88;
+ $1497 = $14;
+ $1498 = ((($1497)) + 8|0);
+ $1499 = ((($1498)) + 28|0);
+ $1500 = HEAP32[$1499>>2]|0;
+ $1501 = (($1496) - ($1500))|0;
+ $89 = $1501;
+ $1502 = $49;
+ $1503 = ($1502|0)==(1104);
+ $1504 = $1503 ? 3000 : 3600;
+ $91 = $1504;
+ $1505 = $89;
+ $1506 = (+($1505|0));
+ $1507 = $89;
+ $1508 = (+($1507|0));
+ $1509 = $14;
+ $1510 = ((($1509)) + 14288|0);
+ $1511 = HEAP32[$1510>>2]|0;
+ $1512 = $91;
+ $1513 = Math_imul($1511, $1512)|0;
+ $1514 = (+($1513|0));
+ $1515 = $1508 + $1514;
+ $1516 = $1506 / $1515;
+ $50 = $1516;
+ $1517 = $50;
+ $1518 = $1517 < 0.8571428656578064;
+ $1519 = $50;
+ $1520 = $1519 + 0.1428571492433548;
+ $1521 = $1518 ? $1520 : 1.0;
+ $50 = $1521;
} else {
- $701 = $total_bitRate;
- $702 = $st$addr;
- $silk_mode1079 = ((($702)) + 8|0);
- $bitRate1080 = ((($silk_mode1079)) + 28|0);
- HEAP32[$bitRate1080>>2] = $701;
+ $1522 = $88;
+ $1523 = $14;
+ $1524 = ((($1523)) + 8|0);
+ $1525 = ((($1524)) + 28|0);
+ HEAP32[$1525>>2] = $1522;
}
} while(0);
- $703 = $st$addr;
- $energy_masking1082 = ((($703)) + 14348|0);
- $704 = HEAP32[$energy_masking1082>>2]|0;
- $tobool1083 = ($704|0)!=(0|0);
+ $1526 = $14;
+ $1527 = ((($1526)) + 14348|0);
+ $1528 = HEAP32[$1527>>2]|0;
+ $1529 = ($1528|0)!=(0|0);
do {
- if ($tobool1083) {
- $705 = $st$addr;
- $use_vbr1085 = ((($705)) + 136|0);
- $706 = HEAP32[$use_vbr1085>>2]|0;
- $tobool1086 = ($706|0)!=(0);
- if (!($tobool1086)) {
+ if ($1529) {
+ $1530 = $14;
+ $1531 = ((($1530)) + 136|0);
+ $1532 = HEAP32[$1531>>2]|0;
+ $1533 = ($1532|0)!=(0);
+ if (!($1533)) {
break;
}
- $707 = $st$addr;
- $lfe1088 = ((($707)) + 164|0);
- $708 = HEAP32[$lfe1088>>2]|0;
- $tobool1089 = ($708|0)!=(0);
- if ($tobool1089) {
+ $1534 = $14;
+ $1535 = ((($1534)) + 164|0);
+ $1536 = HEAP32[$1535>>2]|0;
+ $1537 = ($1536|0)!=(0);
+ if ($1537) {
break;
}
- $mask_sum = 0.0;
- $end = 17;
- $srate = 16000;
- $709 = $st$addr;
- $bandwidth1091 = ((($709)) + 14336|0);
- $710 = HEAP32[$bandwidth1091>>2]|0;
- $cmp1092 = ($710|0)==(1101);
+ $92 = 0.0;
+ $96 = 17;
+ $97 = 16000;
+ $1538 = $14;
+ $1539 = ((($1538)) + 14336|0);
+ $1540 = HEAP32[$1539>>2]|0;
+ $1541 = ($1540|0)==(1101);
do {
- if ($cmp1092) {
- $end = 13;
- $srate = 8000;
+ if ($1541) {
+ $96 = 13;
+ $97 = 8000;
} else {
- $711 = $st$addr;
- $bandwidth1096 = ((($711)) + 14336|0);
- $712 = HEAP32[$bandwidth1096>>2]|0;
- $cmp1097 = ($712|0)==(1102);
- if (!($cmp1097)) {
+ $1542 = $14;
+ $1543 = ((($1542)) + 14336|0);
+ $1544 = HEAP32[$1543>>2]|0;
+ $1545 = ($1544|0)==(1102);
+ if (!($1545)) {
break;
}
- $end = 15;
- $srate = 12000;
+ $96 = 15;
+ $97 = 12000;
}
} while(0);
- $c = 0;
+ $95 = 0;
while(1) {
- $713 = $c;
- $714 = $st$addr;
- $channels1103 = ((($714)) + 100|0);
- $715 = HEAP32[$channels1103>>2]|0;
- $cmp1104 = ($713|0)<($715|0);
- if (!($cmp1104)) {
+ $1546 = $95;
+ $1547 = $14;
+ $1548 = ((($1547)) + 100|0);
+ $1549 = HEAP32[$1548>>2]|0;
+ $1550 = ($1546|0)<($1549|0);
+ if (!($1550)) {
break;
}
- $i = 0;
+ $29 = 0;
while(1) {
- $716 = $i;
- $717 = $end;
- $cmp1108 = ($716|0)<($717|0);
- if (!($cmp1108)) {
+ $1551 = $29;
+ $1552 = $96;
+ $1553 = ($1551|0)<($1552|0);
+ if (!($1553)) {
break;
}
- $718 = $st$addr;
- $energy_masking1111 = ((($718)) + 14348|0);
- $719 = HEAP32[$energy_masking1111>>2]|0;
- $720 = $c;
- $mul1112 = ($720*21)|0;
- $721 = $i;
- $add1113 = (($mul1112) + ($721))|0;
- $arrayidx1114 = (($719) + ($add1113<<2)|0);
- $722 = +HEAPF32[$arrayidx1114>>2];
- $cmp1115 = $722 < 0.5;
- if ($cmp1115) {
- $723 = $st$addr;
- $energy_masking1118 = ((($723)) + 14348|0);
- $724 = HEAP32[$energy_masking1118>>2]|0;
- $725 = $c;
- $mul1119 = ($725*21)|0;
- $726 = $i;
- $add1120 = (($mul1119) + ($726))|0;
- $arrayidx1121 = (($724) + ($add1120<<2)|0);
- $727 = +HEAPF32[$arrayidx1121>>2];
- $cond1124 = $727;
+ $1554 = $14;
+ $1555 = ((($1554)) + 14348|0);
+ $1556 = HEAP32[$1555>>2]|0;
+ $1557 = $95;
+ $1558 = ($1557*21)|0;
+ $1559 = $29;
+ $1560 = (($1558) + ($1559))|0;
+ $1561 = (($1556) + ($1560<<2)|0);
+ $1562 = +HEAPF32[$1561>>2];
+ $1563 = $1562 < 0.5;
+ if ($1563) {
+ $1564 = $14;
+ $1565 = ((($1564)) + 14348|0);
+ $1566 = HEAP32[$1565>>2]|0;
+ $1567 = $95;
+ $1568 = ($1567*21)|0;
+ $1569 = $29;
+ $1570 = (($1568) + ($1569))|0;
+ $1571 = (($1566) + ($1570<<2)|0);
+ $1572 = +HEAPF32[$1571>>2];
+ $1574 = $1572;
} else {
- $cond1124 = 0.5;
+ $1574 = 0.5;
}
- $cmp1125 = $cond1124 > -2.0;
+ $1573 = $1574 > -2.0;
do {
- if ($cmp1125) {
- $728 = $st$addr;
- $energy_masking1128 = ((($728)) + 14348|0);
- $729 = HEAP32[$energy_masking1128>>2]|0;
- $730 = $c;
- $mul1129 = ($730*21)|0;
- $731 = $i;
- $add1130 = (($mul1129) + ($731))|0;
- $arrayidx1131 = (($729) + ($add1130<<2)|0);
- $732 = +HEAPF32[$arrayidx1131>>2];
- $cmp1132 = $732 < 0.5;
- if (!($cmp1132)) {
- $cond1144 = 0.5;
+ if ($1573) {
+ $1575 = $14;
+ $1576 = ((($1575)) + 14348|0);
+ $1577 = HEAP32[$1576>>2]|0;
+ $1578 = $95;
+ $1579 = ($1578*21)|0;
+ $1580 = $29;
+ $1581 = (($1579) + ($1580))|0;
+ $1582 = (($1577) + ($1581<<2)|0);
+ $1583 = +HEAPF32[$1582>>2];
+ $1584 = $1583 < 0.5;
+ if (!($1584)) {
+ $1594 = 0.5;
break;
}
- $733 = $st$addr;
- $energy_masking1135 = ((($733)) + 14348|0);
- $734 = HEAP32[$energy_masking1135>>2]|0;
- $735 = $c;
- $mul1136 = ($735*21)|0;
- $736 = $i;
- $add1137 = (($mul1136) + ($736))|0;
- $arrayidx1138 = (($734) + ($add1137<<2)|0);
- $737 = +HEAPF32[$arrayidx1138>>2];
- $cond1144 = $737;
+ $1585 = $14;
+ $1586 = ((($1585)) + 14348|0);
+ $1587 = HEAP32[$1586>>2]|0;
+ $1588 = $95;
+ $1589 = ($1588*21)|0;
+ $1590 = $29;
+ $1591 = (($1589) + ($1590))|0;
+ $1592 = (($1587) + ($1591<<2)|0);
+ $1593 = +HEAPF32[$1592>>2];
+ $1594 = $1593;
} else {
- $cond1144 = -2.0;
+ $1594 = -2.0;
}
} while(0);
- $mask = $cond1144;
- $738 = $mask;
- $cmp1145 = $738 > 0.0;
- if ($cmp1145) {
- $739 = $mask;
- $mul1148 = 0.5 * $739;
- $mask = $mul1148;
+ $98 = $1594;
+ $1595 = $98;
+ $1596 = $1595 > 0.0;
+ if ($1596) {
+ $1597 = $98;
+ $1598 = 0.5 * $1597;
+ $98 = $1598;
}
- $740 = $mask;
- $741 = $mask_sum;
- $add1150 = $741 + $740;
- $mask_sum = $add1150;
- $742 = $i;
- $inc1152 = (($742) + 1)|0;
- $i = $inc1152;
+ $1599 = $98;
+ $1600 = $92;
+ $1601 = $1600 + $1599;
+ $92 = $1601;
+ $1602 = $29;
+ $1603 = (($1602) + 1)|0;
+ $29 = $1603;
}
- $743 = $c;
- $inc1155 = (($743) + 1)|0;
- $c = $inc1155;
+ $1604 = $95;
+ $1605 = (($1604) + 1)|0;
+ $95 = $1605;
}
- $744 = $mask_sum;
- $745 = $end;
- $conv1157 = (+($745|0));
- $div1158 = $744 / $conv1157;
- $746 = $st$addr;
- $channels1159 = ((($746)) + 100|0);
- $747 = HEAP32[$channels1159>>2]|0;
- $conv1160 = (+($747|0));
- $mul1161 = $div1158 * $conv1160;
- $masking_depth = $mul1161;
- $748 = $masking_depth;
- $add1162 = $748 + 0.20000000298023224;
- $masking_depth = $add1162;
- $749 = $srate;
- $conv1163 = (+($749<<16>>16));
- $750 = $masking_depth;
- $mul1164 = $conv1163 * $750;
- $conv1165 = (~~(($mul1164)));
- $rate_offset = $conv1165;
- $751 = $rate_offset;
- $752 = $st$addr;
- $silk_mode1166 = ((($752)) + 8|0);
- $bitRate1167 = ((($silk_mode1166)) + 28|0);
- $753 = HEAP32[$bitRate1167>>2]|0;
- $mul1168 = Math_imul(-2, $753)|0;
- $div1169 = (($mul1168|0) / 3)&-1;
- $cmp1170 = ($751|0)>($div1169|0);
- if ($cmp1170) {
- $754 = $rate_offset;
- $cond1179 = $754;
+ $1606 = $92;
+ $1607 = $96;
+ $1608 = (+($1607|0));
+ $1609 = $1606 / $1608;
+ $1610 = $14;
+ $1611 = ((($1610)) + 100|0);
+ $1612 = HEAP32[$1611>>2]|0;
+ $1613 = (+($1612|0));
+ $1614 = $1609 * $1613;
+ $93 = $1614;
+ $1615 = $93;
+ $1616 = $1615 + 0.20000000298023224;
+ $93 = $1616;
+ $1617 = $97;
+ $1618 = (+($1617<<16>>16));
+ $1619 = $93;
+ $1620 = $1618 * $1619;
+ $1621 = (~~(($1620)));
+ $94 = $1621;
+ $1622 = $94;
+ $1623 = $14;
+ $1624 = ((($1623)) + 8|0);
+ $1625 = ((($1624)) + 28|0);
+ $1626 = HEAP32[$1625>>2]|0;
+ $1627 = Math_imul(-2, $1626)|0;
+ $1628 = (($1627|0) / 3)&-1;
+ $1629 = ($1622|0)>($1628|0);
+ if ($1629) {
+ $1630 = $94;
+ $1637 = $1630;
} else {
- $755 = $st$addr;
- $silk_mode1174 = ((($755)) + 8|0);
- $bitRate1175 = ((($silk_mode1174)) + 28|0);
- $756 = HEAP32[$bitRate1175>>2]|0;
- $mul1176 = Math_imul(-2, $756)|0;
- $div1177 = (($mul1176|0) / 3)&-1;
- $cond1179 = $div1177;
+ $1631 = $14;
+ $1632 = ((($1631)) + 8|0);
+ $1633 = ((($1632)) + 28|0);
+ $1634 = HEAP32[$1633>>2]|0;
+ $1635 = Math_imul(-2, $1634)|0;
+ $1636 = (($1635|0) / 3)&-1;
+ $1637 = $1636;
}
- $rate_offset = $cond1179;
- $757 = $st$addr;
- $bandwidth1180 = ((($757)) + 14336|0);
- $758 = HEAP32[$bandwidth1180>>2]|0;
- $cmp1181 = ($758|0)==(1104);
+ $94 = $1637;
+ $1638 = $14;
+ $1639 = ((($1638)) + 14336|0);
+ $1640 = HEAP32[$1639>>2]|0;
+ $1641 = ($1640|0)==(1104);
do {
- if ($cmp1181) {
+ if ($1641) {
label = 276;
} else {
- $759 = $st$addr;
- $bandwidth1184 = ((($759)) + 14336|0);
- $760 = HEAP32[$bandwidth1184>>2]|0;
- $cmp1185 = ($760|0)==(1105);
- if ($cmp1185) {
+ $1642 = $14;
+ $1643 = ((($1642)) + 14336|0);
+ $1644 = HEAP32[$1643>>2]|0;
+ $1645 = ($1644|0)==(1105);
+ if ($1645) {
label = 276;
break;
}
- $763 = $rate_offset;
- $764 = $st$addr;
- $$sink15 = $763;$$sink26 = $764;
+ $1650 = $94;
+ $1651 = $14;
+ $$sink30 = $1650;$$sink50 = $1651;
}
} while(0);
if ((label|0) == 276) {
- $761 = $rate_offset;
- $mul1188 = ($761*3)|0;
- $div1189 = (($mul1188|0) / 5)&-1;
- $762 = $st$addr;
- $$sink15 = $div1189;$$sink26 = $762;
+ $1646 = $94;
+ $1647 = ($1646*3)|0;
+ $1648 = (($1647|0) / 5)&-1;
+ $1649 = $14;
+ $$sink30 = $1648;$$sink50 = $1649;
}
- $silk_mode1194 = ((($$sink26)) + 8|0);
- $bitRate1195 = ((($silk_mode1194)) + 28|0);
- $765 = HEAP32[$bitRate1195>>2]|0;
- $add1196 = (($765) + ($$sink15))|0;
- HEAP32[$bitRate1195>>2] = $add1196;
- $766 = $rate_offset;
- $767 = $frame_size$addr;
- $mul1198 = Math_imul($766, $767)|0;
- $768 = $st$addr;
- $Fs1199 = ((($768)) + 132|0);
- $769 = HEAP32[$Fs1199>>2]|0;
- $mul1200 = $769<<3;
- $div1201 = (($mul1198|0) / ($mul1200|0))&-1;
- $770 = $bytes_target;
- $add1202 = (($770) + ($div1201))|0;
- $bytes_target = $add1202;
+ $1652 = ((($$sink50)) + 8|0);
+ $1653 = ((($1652)) + 28|0);
+ $1654 = HEAP32[$1653>>2]|0;
+ $1655 = (($1654) + ($$sink30))|0;
+ HEAP32[$1653>>2] = $1655;
+ $1656 = $94;
+ $1657 = $16;
+ $1658 = Math_imul($1656, $1657)|0;
+ $1659 = $14;
+ $1660 = ((($1659)) + 132|0);
+ $1661 = HEAP32[$1660>>2]|0;
+ $1662 = $1661<<3;
+ $1663 = (($1658|0) / ($1662|0))&-1;
+ $1664 = $33;
+ $1665 = (($1664) + ($1663))|0;
+ $33 = $1665;
}
} while(0);
- $771 = $frame_size$addr;
- $mul1204 = ($771*1000)|0;
- $772 = $st$addr;
- $Fs1205 = ((($772)) + 132|0);
- $773 = HEAP32[$Fs1205>>2]|0;
- $div1206 = (($mul1204|0) / ($773|0))&-1;
- $774 = $st$addr;
- $silk_mode1207 = ((($774)) + 8|0);
- $payloadSize_ms = ((($silk_mode1207)) + 24|0);
- HEAP32[$payloadSize_ms>>2] = $div1206;
- $775 = $st$addr;
- $channels1208 = ((($775)) + 100|0);
- $776 = HEAP32[$channels1208>>2]|0;
- $777 = $st$addr;
- $silk_mode1209 = ((($777)) + 8|0);
- HEAP32[$silk_mode1209>>2] = $776;
- $778 = $st$addr;
- $stream_channels1210 = ((($778)) + 14288|0);
- $779 = HEAP32[$stream_channels1210>>2]|0;
- $780 = $st$addr;
- $silk_mode1211 = ((($780)) + 8|0);
- $nChannelsInternal = ((($silk_mode1211)) + 4|0);
- HEAP32[$nChannelsInternal>>2] = $779;
- $781 = $curr_bandwidth;
- $cmp1212 = ($781|0)==(1101);
- if ($cmp1212) {
- $782 = $st$addr;
- $silk_mode1215 = ((($782)) + 8|0);
- $desiredInternalSampleRate = ((($silk_mode1215)) + 20|0);
- HEAP32[$desiredInternalSampleRate>>2] = 8000;
+ $1666 = $16;
+ $1667 = ($1666*1000)|0;
+ $1668 = $14;
+ $1669 = ((($1668)) + 132|0);
+ $1670 = HEAP32[$1669>>2]|0;
+ $1671 = (($1667|0) / ($1670|0))&-1;
+ $1672 = $14;
+ $1673 = ((($1672)) + 8|0);
+ $1674 = ((($1673)) + 24|0);
+ HEAP32[$1674>>2] = $1671;
+ $1675 = $14;
+ $1676 = ((($1675)) + 100|0);
+ $1677 = HEAP32[$1676>>2]|0;
+ $1678 = $14;
+ $1679 = ((($1678)) + 8|0);
+ HEAP32[$1679>>2] = $1677;
+ $1680 = $14;
+ $1681 = ((($1680)) + 14288|0);
+ $1682 = HEAP32[$1681>>2]|0;
+ $1683 = $14;
+ $1684 = ((($1683)) + 8|0);
+ $1685 = ((($1684)) + 4|0);
+ HEAP32[$1685>>2] = $1682;
+ $1686 = $49;
+ $1687 = ($1686|0)==(1101);
+ if ($1687) {
+ $1688 = $14;
+ $1689 = ((($1688)) + 8|0);
+ $1690 = ((($1689)) + 20|0);
+ HEAP32[$1690>>2] = 8000;
} else {
- $783 = $curr_bandwidth;
- $cmp1217 = ($783|0)==(1102);
- $784 = $st$addr;
- $silk_mode1220 = ((($784)) + 8|0);
- $desiredInternalSampleRate1221 = ((($silk_mode1220)) + 20|0);
- $$sink17 = $cmp1217 ? 12000 : 16000;
- HEAP32[$desiredInternalSampleRate1221>>2] = $$sink17;
+ $1691 = $49;
+ $1692 = ($1691|0)==(1102);
+ $1693 = $14;
+ $1694 = ((($1693)) + 8|0);
+ $1695 = ((($1694)) + 20|0);
+ $$sink32 = $1692 ? 12000 : 16000;
+ HEAP32[$1695>>2] = $$sink32;
}
- $785 = $st$addr;
- $mode1227 = ((($785)) + 14320|0);
- $786 = HEAP32[$mode1227>>2]|0;
- $cmp1228 = ($786|0)==(1001);
- $787 = $st$addr;
- $silk_mode1231 = ((($787)) + 8|0);
- $minInternalSampleRate = ((($silk_mode1231)) + 16|0);
- $$sink18 = $cmp1228 ? 16000 : 8000;
- HEAP32[$minInternalSampleRate>>2] = $$sink18;
- $788 = $st$addr;
- $mode1236 = ((($788)) + 14320|0);
- $789 = HEAP32[$mode1236>>2]|0;
- $cmp1237 = ($789|0)==(1000);
+ $1696 = $14;
+ $1697 = ((($1696)) + 14320|0);
+ $1698 = HEAP32[$1697>>2]|0;
+ $1699 = ($1698|0)==(1001);
+ $1700 = $14;
+ $1701 = ((($1700)) + 8|0);
+ $1702 = ((($1701)) + 16|0);
+ $$sink33 = $1699 ? 16000 : 8000;
+ HEAP32[$1702>>2] = $$sink33;
+ $1703 = $14;
+ $1704 = ((($1703)) + 14320|0);
+ $1705 = HEAP32[$1704>>2]|0;
+ $1706 = ($1705|0)==(1000);
do {
- if ($cmp1237) {
- $790 = $max_rate;
- $effective_max_rate = $790;
- $791 = $st$addr;
- $silk_mode1240 = ((($791)) + 8|0);
- $maxInternalSampleRate = ((($silk_mode1240)) + 12|0);
- HEAP32[$maxInternalSampleRate>>2] = 16000;
- $792 = $frame_rate;
- $cmp1241 = ($792|0)>(50);
- if ($cmp1241) {
- $793 = $effective_max_rate;
- $mul1244 = $793<<1;
- $div1245 = (($mul1244|0) / 3)&-1;
- $effective_max_rate = $div1245;
+ if ($1706) {
+ $1707 = $48;
+ $99 = $1707;
+ $1708 = $14;
+ $1709 = ((($1708)) + 8|0);
+ $1710 = ((($1709)) + 12|0);
+ HEAP32[$1710>>2] = 16000;
+ $1711 = $47;
+ $1712 = ($1711|0)>(50);
+ if ($1712) {
+ $1713 = $99;
+ $1714 = $1713<<1;
+ $1715 = (($1714|0) / 3)&-1;
+ $99 = $1715;
}
- $794 = $effective_max_rate;
- $cmp1247 = ($794|0)<(13000);
- if ($cmp1247) {
- $795 = $st$addr;
- $silk_mode1250 = ((($795)) + 8|0);
- $maxInternalSampleRate1251 = ((($silk_mode1250)) + 12|0);
- HEAP32[$maxInternalSampleRate1251>>2] = 12000;
- $796 = $st$addr;
- $silk_mode1252 = ((($796)) + 8|0);
- $desiredInternalSampleRate1253 = ((($silk_mode1252)) + 20|0);
- $797 = HEAP32[$desiredInternalSampleRate1253>>2]|0;
- $cmp1254 = (12000)<($797|0);
- if ($cmp1254) {
- $cond1261 = 12000;
+ $1716 = $99;
+ $1717 = ($1716|0)<(13000);
+ if ($1717) {
+ $1718 = $14;
+ $1719 = ((($1718)) + 8|0);
+ $1720 = ((($1719)) + 12|0);
+ HEAP32[$1720>>2] = 12000;
+ $1721 = $14;
+ $1722 = ((($1721)) + 8|0);
+ $1723 = ((($1722)) + 20|0);
+ $1724 = HEAP32[$1723>>2]|0;
+ $1725 = (12000)<($1724|0);
+ if ($1725) {
+ $1733 = 12000;
} else {
- $798 = $st$addr;
- $silk_mode1258 = ((($798)) + 8|0);
- $desiredInternalSampleRate1259 = ((($silk_mode1258)) + 20|0);
- $799 = HEAP32[$desiredInternalSampleRate1259>>2]|0;
- $cond1261 = $799;
+ $1726 = $14;
+ $1727 = ((($1726)) + 8|0);
+ $1728 = ((($1727)) + 20|0);
+ $1729 = HEAP32[$1728>>2]|0;
+ $1733 = $1729;
}
- $800 = $st$addr;
- $silk_mode1262 = ((($800)) + 8|0);
- $desiredInternalSampleRate1263 = ((($silk_mode1262)) + 20|0);
- HEAP32[$desiredInternalSampleRate1263>>2] = $cond1261;
+ $1730 = $14;
+ $1731 = ((($1730)) + 8|0);
+ $1732 = ((($1731)) + 20|0);
+ HEAP32[$1732>>2] = $1733;
}
- $801 = $effective_max_rate;
- $cmp1265 = ($801|0)<(9600);
- if (!($cmp1265)) {
+ $1734 = $99;
+ $1735 = ($1734|0)<(9600);
+ if (!($1735)) {
break;
}
- $802 = $st$addr;
- $silk_mode1268 = ((($802)) + 8|0);
- $maxInternalSampleRate1269 = ((($silk_mode1268)) + 12|0);
- HEAP32[$maxInternalSampleRate1269>>2] = 8000;
- $803 = $st$addr;
- $silk_mode1270 = ((($803)) + 8|0);
- $desiredInternalSampleRate1271 = ((($silk_mode1270)) + 20|0);
- $804 = HEAP32[$desiredInternalSampleRate1271>>2]|0;
- $cmp1272 = (8000)<($804|0);
- if ($cmp1272) {
- $cond1279 = 8000;
+ $1736 = $14;
+ $1737 = ((($1736)) + 8|0);
+ $1738 = ((($1737)) + 12|0);
+ HEAP32[$1738>>2] = 8000;
+ $1739 = $14;
+ $1740 = ((($1739)) + 8|0);
+ $1741 = ((($1740)) + 20|0);
+ $1742 = HEAP32[$1741>>2]|0;
+ $1743 = (8000)<($1742|0);
+ if ($1743) {
+ $1751 = 8000;
} else {
- $805 = $st$addr;
- $silk_mode1276 = ((($805)) + 8|0);
- $desiredInternalSampleRate1277 = ((($silk_mode1276)) + 20|0);
- $806 = HEAP32[$desiredInternalSampleRate1277>>2]|0;
- $cond1279 = $806;
+ $1744 = $14;
+ $1745 = ((($1744)) + 8|0);
+ $1746 = ((($1745)) + 20|0);
+ $1747 = HEAP32[$1746>>2]|0;
+ $1751 = $1747;
}
- $807 = $st$addr;
- $silk_mode1280 = ((($807)) + 8|0);
- $desiredInternalSampleRate1281 = ((($silk_mode1280)) + 20|0);
- HEAP32[$desiredInternalSampleRate1281>>2] = $cond1279;
+ $1748 = $14;
+ $1749 = ((($1748)) + 8|0);
+ $1750 = ((($1749)) + 20|0);
+ HEAP32[$1750>>2] = $1751;
} else {
- $808 = $st$addr;
- $silk_mode1284 = ((($808)) + 8|0);
- $maxInternalSampleRate1285 = ((($silk_mode1284)) + 12|0);
- HEAP32[$maxInternalSampleRate1285>>2] = 16000;
+ $1752 = $14;
+ $1753 = ((($1752)) + 8|0);
+ $1754 = ((($1753)) + 12|0);
+ HEAP32[$1754>>2] = 16000;
}
} while(0);
- $809 = $st$addr;
- $use_vbr1287 = ((($809)) + 136|0);
- $810 = HEAP32[$use_vbr1287>>2]|0;
- $tobool1288 = ($810|0)!=(0);
- $lnot1289 = $tobool1288 ^ 1;
- $lnot$ext1290 = $lnot1289&1;
- $811 = $st$addr;
- $silk_mode1291 = ((($811)) + 8|0);
- $useCBR = ((($silk_mode1291)) + 48|0);
- HEAP32[$useCBR>>2] = $lnot$ext1290;
- $812 = $max_data_bytes;
- $sub1292 = (($812) - 1)|0;
- $813 = $redundancy_bytes;
- $sub1293 = (($sub1292) - ($813))|0;
- $cmp1294 = (1275)<($sub1293|0);
- if ($cmp1294) {
- $cond1301 = 1275;
+ $1755 = $14;
+ $1756 = ((($1755)) + 136|0);
+ $1757 = HEAP32[$1756>>2]|0;
+ $1758 = ($1757|0)!=(0);
+ $1759 = $1758 ^ 1;
+ $1760 = $1759&1;
+ $1761 = $14;
+ $1762 = ((($1761)) + 8|0);
+ $1763 = ((($1762)) + 48|0);
+ HEAP32[$1763>>2] = $1760;
+ $1764 = $51;
+ $1765 = (($1764) - 1)|0;
+ $1766 = $37;
+ $1767 = (($1765) - ($1766))|0;
+ $1768 = (1275)<($1767|0);
+ if ($1768) {
+ $1773 = 1275;
} else {
- $814 = $max_data_bytes;
- $sub1298 = (($814) - 1)|0;
- $815 = $redundancy_bytes;
- $sub1299 = (($sub1298) - ($815))|0;
- $cond1301 = $sub1299;
+ $1769 = $51;
+ $1770 = (($1769) - 1)|0;
+ $1771 = $37;
+ $1772 = (($1770) - ($1771))|0;
+ $1773 = $1772;
}
- HEAP32[$nBytes>>2] = $cond1301;
- $816 = HEAP32[$nBytes>>2]|0;
- $mul1302 = $816<<3;
- $817 = $st$addr;
- $silk_mode1303 = ((($817)) + 8|0);
- $maxBits = ((($silk_mode1303)) + 52|0);
- HEAP32[$maxBits>>2] = $mul1302;
- $818 = $st$addr;
- $mode1304 = ((($818)) + 14320|0);
- $819 = HEAP32[$mode1304>>2]|0;
- $cmp1305 = ($819|0)==(1001);
- if ($cmp1305) {
- $820 = $st$addr;
- $silk_mode1308 = ((($820)) + 8|0);
- $maxBits1309 = ((($silk_mode1308)) + 52|0);
- $821 = HEAP32[$maxBits1309>>2]|0;
- $mul1310 = ($821*9)|0;
- $div1311 = (($mul1310|0) / 10)&-1;
- $822 = $st$addr;
- $silk_mode1312 = ((($822)) + 8|0);
- $maxBits1313 = ((($silk_mode1312)) + 52|0);
- HEAP32[$maxBits1313>>2] = $div1311;
+ HEAP32[$31>>2] = $1773;
+ $1774 = HEAP32[$31>>2]|0;
+ $1775 = $1774<<3;
+ $1776 = $14;
+ $1777 = ((($1776)) + 8|0);
+ $1778 = ((($1777)) + 52|0);
+ HEAP32[$1778>>2] = $1775;
+ $1779 = $14;
+ $1780 = ((($1779)) + 14320|0);
+ $1781 = HEAP32[$1780>>2]|0;
+ $1782 = ($1781|0)==(1001);
+ if ($1782) {
+ $1783 = $14;
+ $1784 = ((($1783)) + 8|0);
+ $1785 = ((($1784)) + 52|0);
+ $1786 = HEAP32[$1785>>2]|0;
+ $1787 = ($1786*9)|0;
+ $1788 = (($1787|0) / 10)&-1;
+ $1789 = $14;
+ $1790 = ((($1789)) + 8|0);
+ $1791 = ((($1790)) + 52|0);
+ HEAP32[$1791>>2] = $1788;
}
- $823 = $st$addr;
- $silk_mode1315 = ((($823)) + 8|0);
- $useCBR1316 = ((($silk_mode1315)) + 48|0);
- $824 = HEAP32[$useCBR1316>>2]|0;
- $tobool1317 = ($824|0)!=(0);
- if ($tobool1317) {
- $825 = $st$addr;
- $silk_mode1319 = ((($825)) + 8|0);
- $bitRate1320 = ((($silk_mode1319)) + 28|0);
- $826 = HEAP32[$bitRate1320>>2]|0;
- $827 = $frame_size$addr;
- $mul1321 = Math_imul($826, $827)|0;
- $828 = $st$addr;
- $Fs1322 = ((($828)) + 132|0);
- $829 = HEAP32[$Fs1322>>2]|0;
- $mul1323 = $829<<3;
- $div1324 = (($mul1321|0) / ($mul1323|0))&-1;
- $mul1325 = $div1324<<3;
- $830 = $st$addr;
- $silk_mode1326 = ((($830)) + 8|0);
- $maxBits1327 = ((($silk_mode1326)) + 52|0);
- HEAP32[$maxBits1327>>2] = $mul1325;
- $831 = $st$addr;
- $silk_mode1328 = ((($831)) + 8|0);
- $bitRate1329 = ((($silk_mode1328)) + 28|0);
- $832 = HEAP32[$bitRate1329>>2]|0;
- $sub1330 = (($832) - 2000)|0;
- $cmp1331 = (1)>($sub1330|0);
- if ($cmp1331) {
- $cond1339 = 1;
+ $1792 = $14;
+ $1793 = ((($1792)) + 8|0);
+ $1794 = ((($1793)) + 48|0);
+ $1795 = HEAP32[$1794>>2]|0;
+ $1796 = ($1795|0)!=(0);
+ if ($1796) {
+ $1797 = $14;
+ $1798 = ((($1797)) + 8|0);
+ $1799 = ((($1798)) + 28|0);
+ $1800 = HEAP32[$1799>>2]|0;
+ $1801 = $16;
+ $1802 = Math_imul($1800, $1801)|0;
+ $1803 = $14;
+ $1804 = ((($1803)) + 132|0);
+ $1805 = HEAP32[$1804>>2]|0;
+ $1806 = $1805<<3;
+ $1807 = (($1802|0) / ($1806|0))&-1;
+ $1808 = $1807<<3;
+ $1809 = $14;
+ $1810 = ((($1809)) + 8|0);
+ $1811 = ((($1810)) + 52|0);
+ HEAP32[$1811>>2] = $1808;
+ $1812 = $14;
+ $1813 = ((($1812)) + 8|0);
+ $1814 = ((($1813)) + 28|0);
+ $1815 = HEAP32[$1814>>2]|0;
+ $1816 = (($1815) - 2000)|0;
+ $1817 = (1)>($1816|0);
+ if ($1817) {
+ $1826 = 1;
} else {
- $833 = $st$addr;
- $silk_mode1335 = ((($833)) + 8|0);
- $bitRate1336 = ((($silk_mode1335)) + 28|0);
- $834 = HEAP32[$bitRate1336>>2]|0;
- $sub1337 = (($834) - 2000)|0;
- $cond1339 = $sub1337;
+ $1818 = $14;
+ $1819 = ((($1818)) + 8|0);
+ $1820 = ((($1819)) + 28|0);
+ $1821 = HEAP32[$1820>>2]|0;
+ $1822 = (($1821) - 2000)|0;
+ $1826 = $1822;
}
- $835 = $st$addr;
- $silk_mode1340 = ((($835)) + 8|0);
- $bitRate1341 = ((($silk_mode1340)) + 28|0);
- HEAP32[$bitRate1341>>2] = $cond1339;
+ $1823 = $14;
+ $1824 = ((($1823)) + 8|0);
+ $1825 = ((($1824)) + 28|0);
+ HEAP32[$1825>>2] = $1826;
}
- $836 = $prefill;
- $tobool1343 = ($836|0)!=(0);
- if ($tobool1343) {
- HEAP32[$zero>>2] = 0;
- $837 = $st$addr;
- $channels1345 = ((($837)) + 100|0);
- $838 = HEAP32[$channels1345>>2]|0;
- $839 = $st$addr;
- $encoder_buffer1346 = ((($839)) + 160|0);
- $840 = HEAP32[$encoder_buffer1346>>2]|0;
- $841 = $st$addr;
- $delay_compensation1347 = ((($841)) + 104|0);
- $842 = HEAP32[$delay_compensation1347>>2]|0;
- $sub1348 = (($840) - ($842))|0;
- $843 = $st$addr;
- $Fs1349 = ((($843)) + 132|0);
- $844 = HEAP32[$Fs1349>>2]|0;
- $div1350 = (($844|0) / 400)&-1;
- $sub1351 = (($sub1348) - ($div1350))|0;
- $mul1352 = Math_imul($838, $sub1351)|0;
- $prefill_offset = $mul1352;
- $845 = $st$addr;
- $delay_buffer1353 = ((($845)) + 14372|0);
- $846 = $prefill_offset;
- $add$ptr1355 = (($delay_buffer1353) + ($846<<2)|0);
- $847 = $st$addr;
- $delay_buffer1356 = ((($847)) + 14372|0);
- $848 = $prefill_offset;
- $add$ptr1358 = (($delay_buffer1356) + ($848<<2)|0);
- $849 = HEAP32[$celt_mode>>2]|0;
- $overlap = ((($849)) + 4|0);
- $850 = HEAP32[$overlap>>2]|0;
- $851 = $st$addr;
- $Fs1359 = ((($851)) + 132|0);
- $852 = HEAP32[$Fs1359>>2]|0;
- $div1360 = (($852|0) / 400)&-1;
- $853 = $st$addr;
- $channels1361 = ((($853)) + 100|0);
- $854 = HEAP32[$channels1361>>2]|0;
- $855 = HEAP32[$celt_mode>>2]|0;
- $window = ((($855)) + 60|0);
- $856 = HEAP32[$window>>2]|0;
- $857 = $st$addr;
- $Fs1362 = ((($857)) + 132|0);
- $858 = HEAP32[$Fs1362>>2]|0;
- _gain_fade($add$ptr1355,$add$ptr1358,0.0,1.0,$850,$div1360,$854,$856,$858);
- $859 = $st$addr;
- $delay_buffer1363 = ((($859)) + 14372|0);
- $860 = $prefill_offset;
- $mul1365 = $860<<2;
- _memset(($delay_buffer1363|0),0,($mul1365|0))|0;
- $i = 0;
+ $1827 = $34;
+ $1828 = ($1827|0)!=(0);
+ if ($1828) {
+ HEAP32[$100>>2] = 0;
+ $1829 = $14;
+ $1830 = ((($1829)) + 100|0);
+ $1831 = HEAP32[$1830>>2]|0;
+ $1832 = $14;
+ $1833 = ((($1832)) + 160|0);
+ $1834 = HEAP32[$1833>>2]|0;
+ $1835 = $14;
+ $1836 = ((($1835)) + 104|0);
+ $1837 = HEAP32[$1836>>2]|0;
+ $1838 = (($1834) - ($1837))|0;
+ $1839 = $14;
+ $1840 = ((($1839)) + 132|0);
+ $1841 = HEAP32[$1840>>2]|0;
+ $1842 = (($1841|0) / 400)&-1;
+ $1843 = (($1838) - ($1842))|0;
+ $1844 = Math_imul($1831, $1843)|0;
+ $101 = $1844;
+ $1845 = $14;
+ $1846 = ((($1845)) + 14372|0);
+ $1847 = $101;
+ $1848 = (($1846) + ($1847<<2)|0);
+ $1849 = $14;
+ $1850 = ((($1849)) + 14372|0);
+ $1851 = $101;
+ $1852 = (($1850) + ($1851<<2)|0);
+ $1853 = HEAP32[$54>>2]|0;
+ $1854 = ((($1853)) + 4|0);
+ $1855 = HEAP32[$1854>>2]|0;
+ $1856 = $14;
+ $1857 = ((($1856)) + 132|0);
+ $1858 = HEAP32[$1857>>2]|0;
+ $1859 = (($1858|0) / 400)&-1;
+ $1860 = $14;
+ $1861 = ((($1860)) + 100|0);
+ $1862 = HEAP32[$1861>>2]|0;
+ $1863 = HEAP32[$54>>2]|0;
+ $1864 = ((($1863)) + 60|0);
+ $1865 = HEAP32[$1864>>2]|0;
+ $1866 = $14;
+ $1867 = ((($1866)) + 132|0);
+ $1868 = HEAP32[$1867>>2]|0;
+ _gain_fade($1848,$1852,0.0,1.0,$1855,$1859,$1862,$1865,$1868);
+ $1869 = $14;
+ $1870 = ((($1869)) + 14372|0);
+ $1871 = $101;
+ $1872 = $1871<<2;
+ _memset(($1870|0),0,($1872|0))|0;
+ $29 = 0;
while(1) {
- $861 = $i;
- $862 = $st$addr;
- $encoder_buffer1367 = ((($862)) + 160|0);
- $863 = HEAP32[$encoder_buffer1367>>2]|0;
- $864 = $st$addr;
- $channels1368 = ((($864)) + 100|0);
- $865 = HEAP32[$channels1368>>2]|0;
- $mul1369 = Math_imul($863, $865)|0;
- $cmp1370 = ($861|0)<($mul1369|0);
- if (!($cmp1370)) {
+ $1873 = $29;
+ $1874 = $14;
+ $1875 = ((($1874)) + 160|0);
+ $1876 = HEAP32[$1875>>2]|0;
+ $1877 = $14;
+ $1878 = ((($1877)) + 100|0);
+ $1879 = HEAP32[$1878>>2]|0;
+ $1880 = Math_imul($1876, $1879)|0;
+ $1881 = ($1873|0)<($1880|0);
+ if (!($1881)) {
break;
}
- $866 = $st$addr;
- $delay_buffer1373 = ((($866)) + 14372|0);
- $867 = $i;
- $arrayidx1374 = (($delay_buffer1373) + ($867<<2)|0);
- $868 = +HEAPF32[$arrayidx1374>>2];
- $call1375 = (_FLOAT2INT16_13($868)|0);
- $869 = $i;
- $arrayidx1376 = (($vla1006) + ($869<<1)|0);
- HEAP16[$arrayidx1376>>1] = $call1375;
- $870 = $i;
- $inc1378 = (($870) + 1)|0;
- $i = $inc1378;
+ $1882 = $14;
+ $1883 = ((($1882)) + 14372|0);
+ $1884 = $29;
+ $1885 = (($1883) + ($1884<<2)|0);
+ $1886 = +HEAPF32[$1885>>2];
+ $1887 = (_FLOAT2INT16_13($1886)|0);
+ $1888 = $29;
+ $1889 = (($1435) + ($1888<<1)|0);
+ HEAP16[$1889>>1] = $1887;
+ $1890 = $29;
+ $1891 = (($1890) + 1)|0;
+ $29 = $1891;
}
- $871 = $silk_enc;
- $872 = $st$addr;
- $silk_mode1380 = ((($872)) + 8|0);
- $873 = $st$addr;
- $encoder_buffer1381 = ((($873)) + 160|0);
- $874 = HEAP32[$encoder_buffer1381>>2]|0;
- (_silk_Encode($871,$silk_mode1380,$vla1006,$874,0,$zero,1)|0);
+ $1892 = $27;
+ $1893 = $14;
+ $1894 = ((($1893)) + 8|0);
+ $1895 = $14;
+ $1896 = ((($1895)) + 160|0);
+ $1897 = HEAP32[$1896>>2]|0;
+ (_silk_Encode($1892,$1894,$1435,$1897,0,$100,1)|0);
}
- $i = 0;
+ $29 = 0;
while(1) {
- $875 = $i;
- $876 = $frame_size$addr;
- $877 = $st$addr;
- $channels1385 = ((($877)) + 100|0);
- $878 = HEAP32[$channels1385>>2]|0;
- $mul1386 = Math_imul($876, $878)|0;
- $cmp1387 = ($875|0)<($mul1386|0);
- if (!($cmp1387)) {
+ $1898 = $29;
+ $1899 = $16;
+ $1900 = $14;
+ $1901 = ((($1900)) + 100|0);
+ $1902 = HEAP32[$1901>>2]|0;
+ $1903 = Math_imul($1899, $1902)|0;
+ $1904 = ($1898|0)<($1903|0);
+ if (!($1904)) {
break;
}
- $879 = $total_buffer;
- $880 = $st$addr;
- $channels1390 = ((($880)) + 100|0);
- $881 = HEAP32[$channels1390>>2]|0;
- $mul1391 = Math_imul($879, $881)|0;
- $882 = $i;
- $add1392 = (($mul1391) + ($882))|0;
- $arrayidx1393 = (($vla904) + ($add1392<<2)|0);
- $883 = +HEAPF32[$arrayidx1393>>2];
- $call1394 = (_FLOAT2INT16_13($883)|0);
- $884 = $i;
- $arrayidx1395 = (($vla1006) + ($884<<1)|0);
- HEAP16[$arrayidx1395>>1] = $call1394;
- $885 = $i;
- $inc1397 = (($885) + 1)|0;
- $i = $inc1397;
+ $1905 = $52;
+ $1906 = $14;
+ $1907 = ((($1906)) + 100|0);
+ $1908 = HEAP32[$1907>>2]|0;
+ $1909 = Math_imul($1905, $1908)|0;
+ $1910 = $29;
+ $1911 = (($1909) + ($1910))|0;
+ $1912 = (($1268) + ($1911<<2)|0);
+ $1913 = +HEAPF32[$1912>>2];
+ $1914 = (_FLOAT2INT16_13($1913)|0);
+ $1915 = $29;
+ $1916 = (($1435) + ($1915<<1)|0);
+ HEAP16[$1916>>1] = $1914;
+ $1917 = $29;
+ $1918 = (($1917) + 1)|0;
+ $29 = $1918;
}
- $886 = $silk_enc;
- $887 = $st$addr;
- $silk_mode1399 = ((($887)) + 8|0);
- $888 = $frame_size$addr;
- $call1400 = (_silk_Encode($886,$silk_mode1399,$vla1006,$888,$enc,$nBytes,0)|0);
- $ret = $call1400;
- $889 = $ret;
- $tobool1401 = ($889|0)!=(0);
+ $1919 = $27;
+ $1920 = $14;
+ $1921 = ((($1920)) + 8|0);
+ $1922 = $16;
+ $1923 = (_silk_Encode($1919,$1921,$1435,$1922,$32,$31,0)|0);
+ $30 = $1923;
+ $1924 = $30;
+ $1925 = ($1924|0)!=(0);
do {
- if ($tobool1401) {
- $retval = -3;
- $cleanup$dest$slot = 1;
+ if ($1925) {
+ $13 = -3;
+ $85 = 1;
} else {
- $890 = HEAP32[$nBytes>>2]|0;
- $cmp1404 = ($890|0)==(0);
- $891 = $st$addr;
- if ($cmp1404) {
- $rangeFinal1407 = ((($891)) + 18216|0);
- HEAP32[$rangeFinal1407>>2] = 0;
- $892 = $st$addr;
- $mode1408 = ((($892)) + 14320|0);
- $893 = HEAP32[$mode1408>>2]|0;
- $894 = $st$addr;
- $Fs1409 = ((($894)) + 132|0);
- $895 = HEAP32[$Fs1409>>2]|0;
- $896 = $frame_size$addr;
- $div1410 = (($895|0) / ($896|0))&-1;
- $897 = $curr_bandwidth;
- $898 = $st$addr;
- $stream_channels1411 = ((($898)) + 14288|0);
- $899 = HEAP32[$stream_channels1411>>2]|0;
- $call1412 = (_gen_toc($893,$div1410,$897,$899)|0);
- $900 = $data$addr;
- $arrayidx1413 = ((($900)) + -1|0);
- HEAP8[$arrayidx1413>>0] = $call1412;
- $retval = 1;
- $cleanup$dest$slot = 1;
+ $1926 = HEAP32[$31>>2]|0;
+ $1927 = ($1926|0)==(0);
+ $1928 = $14;
+ if ($1927) {
+ $1929 = ((($1928)) + 18216|0);
+ HEAP32[$1929>>2] = 0;
+ $1930 = $14;
+ $1931 = ((($1930)) + 14320|0);
+ $1932 = HEAP32[$1931>>2]|0;
+ $1933 = $14;
+ $1934 = ((($1933)) + 132|0);
+ $1935 = HEAP32[$1934>>2]|0;
+ $1936 = $16;
+ $1937 = (($1935|0) / ($1936|0))&-1;
+ $1938 = $49;
+ $1939 = $14;
+ $1940 = ((($1939)) + 14288|0);
+ $1941 = HEAP32[$1940>>2]|0;
+ $1942 = (_gen_toc($1932,$1937,$1938,$1941)|0);
+ $1943 = $17;
+ $1944 = ((($1943)) + -1|0);
+ HEAP8[$1944>>0] = $1942;
+ $13 = 1;
+ $85 = 1;
break;
}
- $mode1415 = ((($891)) + 14320|0);
- $901 = HEAP32[$mode1415>>2]|0;
- $cmp1416 = ($901|0)==(1000);
+ $1945 = ((($1928)) + 14320|0);
+ $1946 = HEAP32[$1945>>2]|0;
+ $1947 = ($1946|0)==(1000);
do {
- if ($cmp1416) {
- $902 = $st$addr;
- $silk_mode1419 = ((($902)) + 8|0);
- $internalSampleRate = ((($silk_mode1419)) + 68|0);
- $903 = HEAP32[$internalSampleRate>>2]|0;
- $cmp1420 = ($903|0)==(8000);
- if ($cmp1420) {
- $curr_bandwidth = 1101;
+ if ($1947) {
+ $1948 = $14;
+ $1949 = ((($1948)) + 8|0);
+ $1950 = ((($1949)) + 68|0);
+ $1951 = HEAP32[$1950>>2]|0;
+ $1952 = ($1951|0)==(8000);
+ if ($1952) {
+ $49 = 1101;
break;
}
- $904 = $st$addr;
- $silk_mode1424 = ((($904)) + 8|0);
- $internalSampleRate1425 = ((($silk_mode1424)) + 68|0);
- $905 = HEAP32[$internalSampleRate1425>>2]|0;
- $cmp1426 = ($905|0)==(12000);
- if ($cmp1426) {
- $curr_bandwidth = 1102;
+ $1953 = $14;
+ $1954 = ((($1953)) + 8|0);
+ $1955 = ((($1954)) + 68|0);
+ $1956 = HEAP32[$1955>>2]|0;
+ $1957 = ($1956|0)==(12000);
+ if ($1957) {
+ $49 = 1102;
break;
}
- $906 = $st$addr;
- $silk_mode1430 = ((($906)) + 8|0);
- $internalSampleRate1431 = ((($silk_mode1430)) + 68|0);
- $907 = HEAP32[$internalSampleRate1431>>2]|0;
- $cmp1432 = ($907|0)==(16000);
- if (!($cmp1432)) {
+ $1958 = $14;
+ $1959 = ((($1958)) + 8|0);
+ $1960 = ((($1959)) + 68|0);
+ $1961 = HEAP32[$1960>>2]|0;
+ $1962 = ($1961|0)==(16000);
+ if (!($1962)) {
break;
}
- $curr_bandwidth = 1103;
+ $49 = 1103;
}
} while(0);
- $908 = $st$addr;
- $silk_mode1440 = ((($908)) + 8|0);
- $switchReady = ((($silk_mode1440)) + 84|0);
- $909 = HEAP32[$switchReady>>2]|0;
- $910 = $st$addr;
- $silk_mode1441 = ((($910)) + 8|0);
- $opusCanSwitch = ((($silk_mode1441)) + 60|0);
- HEAP32[$opusCanSwitch>>2] = $909;
- $911 = $st$addr;
- $silk_mode1442 = ((($911)) + 8|0);
- $opusCanSwitch1443 = ((($silk_mode1442)) + 60|0);
- $912 = HEAP32[$opusCanSwitch1443>>2]|0;
- $tobool1444 = ($912|0)!=(0);
- if ($tobool1444) {
- $redundancy = 1;
- $celt_to_silk = 0;
- $913 = $st$addr;
- $silk_bw_switch1446 = ((($913)) + 14340|0);
- HEAP32[$silk_bw_switch1446>>2] = 1;
+ $1963 = $14;
+ $1964 = ((($1963)) + 8|0);
+ $1965 = ((($1964)) + 84|0);
+ $1966 = HEAP32[$1965>>2]|0;
+ $1967 = $14;
+ $1968 = ((($1967)) + 8|0);
+ $1969 = ((($1968)) + 60|0);
+ HEAP32[$1969>>2] = $1966;
+ $1970 = $14;
+ $1971 = ((($1970)) + 8|0);
+ $1972 = ((($1971)) + 60|0);
+ $1973 = HEAP32[$1972>>2]|0;
+ $1974 = ($1973|0)!=(0);
+ if ($1974) {
+ $36 = 1;
+ $38 = 0;
+ $1975 = $14;
+ $1976 = ((($1975)) + 14340|0);
+ HEAP32[$1976>>2] = 1;
}
- $cleanup$dest$slot = 0;
+ $85 = 0;
}
} while(0);
- $914 = $saved_stack1005;
- _llvm_stackrestore(($914|0));
- $cleanup$dest = $cleanup$dest$slot;
- $cond1 = ($cleanup$dest|0)==(0);
- if ($cond1) {
+ $1977 = $90;
+ _llvm_stackrestore(($1977|0));
+ $1978 = $85;
+ $cond = ($1978|0)==(0);
+ if ($cond) {
label = 325;
}
} else {
@@ -9458,68692 +9460,2292 @@ function _opus_encode_native($st,$pcm,$frame_size,$data,$out_data_bytes,$lsb_dep
}
L430: do {
if ((label|0) == 325) {
- $endband = 21;
- $915 = $curr_bandwidth;
- switch ($915|0) {
+ $102 = 21;
+ $1979 = $49;
+ switch ($1979|0) {
case 1101: {
- $endband = 13;
+ $102 = 13;
break;
}
case 1103: case 1102: {
- $endband = 17;
+ $102 = 17;
break;
}
case 1104: {
- $endband = 19;
+ $102 = 19;
break;
}
case 1105: {
- $endband = 21;
+ $102 = 21;
break;
}
default: {
}
}
- $916 = $celt_enc;
- $917 = $endband;
- HEAP32[$vararg_buffer31>>2] = $917;
- (_opus_custom_encoder_ctl($916,10012,$vararg_buffer31)|0);
- $918 = $celt_enc;
- $919 = $st$addr;
- $stream_channels1459 = ((($919)) + 14288|0);
- $920 = HEAP32[$stream_channels1459>>2]|0;
- HEAP32[$vararg_buffer34>>2] = $920;
- (_opus_custom_encoder_ctl($918,10008,$vararg_buffer34)|0);
- $921 = $celt_enc;
- HEAP32[$vararg_buffer37>>2] = -1;
- (_opus_custom_encoder_ctl($921,4002,$vararg_buffer37)|0);
- $922 = $st$addr;
- $mode1462 = ((($922)) + 14320|0);
- $923 = HEAP32[$mode1462>>2]|0;
- $cmp1463 = ($923|0)!=(1000);
+ $1980 = $28;
+ $1981 = $102;
+ HEAP32[$vararg_buffer56>>2] = $1981;
+ (_opus_custom_encoder_ctl($1980,10012,$vararg_buffer56)|0);
+ $1982 = $28;
+ $1983 = $14;
+ $1984 = ((($1983)) + 14288|0);
+ $1985 = HEAP32[$1984>>2]|0;
+ HEAP32[$vararg_buffer59>>2] = $1985;
+ (_opus_custom_encoder_ctl($1982,10008,$vararg_buffer59)|0);
+ $1986 = $28;
+ HEAP32[$vararg_buffer62>>2] = -1;
+ (_opus_custom_encoder_ctl($1986,4002,$vararg_buffer62)|0);
+ $1987 = $14;
+ $1988 = ((($1987)) + 14320|0);
+ $1989 = HEAP32[$1988>>2]|0;
+ $1990 = ($1989|0)!=(1000);
do {
- if ($cmp1463) {
- $celt_pred = 2.0;
- $924 = $celt_enc;
- HEAP32[$vararg_buffer40>>2] = 0;
- (_opus_custom_encoder_ctl($924,4006,$vararg_buffer40)|0);
- $925 = $st$addr;
- $silk_mode1467 = ((($925)) + 8|0);
- $reducedDependency = ((($silk_mode1467)) + 64|0);
- $926 = HEAP32[$reducedDependency>>2]|0;
- $tobool1468 = ($926|0)!=(0);
- if ($tobool1468) {
- $celt_pred = 0.0;
+ if ($1990) {
+ $103 = 2.0;
+ $1991 = $28;
+ HEAP32[$vararg_buffer65>>2] = 0;
+ (_opus_custom_encoder_ctl($1991,4006,$vararg_buffer65)|0);
+ $1992 = $14;
+ $1993 = ((($1992)) + 8|0);
+ $1994 = ((($1993)) + 64|0);
+ $1995 = HEAP32[$1994>>2]|0;
+ $1996 = ($1995|0)!=(0);
+ if ($1996) {
+ $103 = 0.0;
}
- $927 = $celt_enc;
- $928 = $celt_pred;
- $conv1473 = (~~(($928)));
- HEAP32[$vararg_buffer43>>2] = $conv1473;
- (_opus_custom_encoder_ctl($927,10002,$vararg_buffer43)|0);
- $929 = $st$addr;
- $mode1475 = ((($929)) + 14320|0);
- $930 = HEAP32[$mode1475>>2]|0;
- $cmp1476 = ($930|0)==(1001);
- if ($cmp1476) {
- $call1479 = (_ec_tell_14($enc)|0);
- $add1480 = (($call1479) + 7)|0;
- $shr1481 = $add1480 >> 3;
- $len = $shr1481;
- $931 = $redundancy;
- $tobool1482 = ($931|0)!=(0);
- if ($tobool1482) {
- $932 = $st$addr;
- $mode1484 = ((($932)) + 14320|0);
- $933 = HEAP32[$mode1484>>2]|0;
- $cmp1485 = ($933|0)==(1001);
- $cond1487 = $cmp1485 ? 3 : 1;
- $934 = $len;
- $add1488 = (($934) + ($cond1487))|0;
- $len = $add1488;
+ $1997 = $28;
+ $1998 = $103;
+ $1999 = (~~(($1998)));
+ HEAP32[$vararg_buffer68>>2] = $1999;
+ (_opus_custom_encoder_ctl($1997,10002,$vararg_buffer68)|0);
+ $2000 = $14;
+ $2001 = ((($2000)) + 14320|0);
+ $2002 = HEAP32[$2001>>2]|0;
+ $2003 = ($2002|0)==(1001);
+ if ($2003) {
+ $2004 = (_ec_tell_14($32)|0);
+ $2005 = (($2004) + 7)|0;
+ $2006 = $2005 >> 3;
+ $104 = $2006;
+ $2007 = $36;
+ $2008 = ($2007|0)!=(0);
+ if ($2008) {
+ $2009 = $14;
+ $2010 = ((($2009)) + 14320|0);
+ $2011 = HEAP32[$2010>>2]|0;
+ $2012 = ($2011|0)==(1001);
+ $2013 = $2012 ? 3 : 1;
+ $2014 = $104;
+ $2015 = (($2014) + ($2013))|0;
+ $104 = $2015;
}
- $935 = $st$addr;
- $use_vbr1490 = ((($935)) + 136|0);
- $936 = HEAP32[$use_vbr1490>>2]|0;
- $tobool1491 = ($936|0)!=(0);
- $937 = $len;
- $938 = $bytes_target;
- if ($tobool1491) {
- $add1493 = (($937) + ($938))|0;
- $939 = $st$addr;
- $silk_mode1494 = ((($939)) + 8|0);
- $bitRate1495 = ((($silk_mode1494)) + 28|0);
- $940 = HEAP32[$bitRate1495>>2]|0;
- $941 = $frame_size$addr;
- $mul1496 = Math_imul($940, $941)|0;
- $942 = $st$addr;
- $Fs1497 = ((($942)) + 132|0);
- $943 = HEAP32[$Fs1497>>2]|0;
- $mul1498 = $943<<3;
- $div1499 = (($mul1496|0) / ($mul1498|0))&-1;
- $sub1500 = (($add1493) - ($div1499))|0;
- $nb_compr_bytes = $sub1500;
+ $2016 = $14;
+ $2017 = ((($2016)) + 136|0);
+ $2018 = HEAP32[$2017>>2]|0;
+ $2019 = ($2018|0)!=(0);
+ $2020 = $104;
+ $2021 = $33;
+ if ($2019) {
+ $2022 = (($2020) + ($2021))|0;
+ $2023 = $14;
+ $2024 = ((($2023)) + 8|0);
+ $2025 = ((($2024)) + 28|0);
+ $2026 = HEAP32[$2025>>2]|0;
+ $2027 = $16;
+ $2028 = Math_imul($2026, $2027)|0;
+ $2029 = $14;
+ $2030 = ((($2029)) + 132|0);
+ $2031 = HEAP32[$2030>>2]|0;
+ $2032 = $2031<<3;
+ $2033 = (($2028|0) / ($2032|0))&-1;
+ $2034 = (($2022) - ($2033))|0;
+ $39 = $2034;
break;
} else {
- $cmp1502 = ($937|0)>($938|0);
- $944 = $len;
- $945 = $bytes_target;
- $cond1507 = $cmp1502 ? $944 : $945;
- $nb_compr_bytes = $cond1507;
+ $2035 = ($2020|0)>($2021|0);
+ $2036 = $104;
+ $2037 = $33;
+ $2038 = $2035 ? $2036 : $2037;
+ $39 = $2038;
break;
}
}
- $946 = $st$addr;
- $use_vbr1510 = ((($946)) + 136|0);
- $947 = HEAP32[$use_vbr1510>>2]|0;
- $tobool1511 = ($947|0)!=(0);
- if (!($tobool1511)) {
- $971 = $bytes_target;
- $nb_compr_bytes = $971;
+ $2039 = $14;
+ $2040 = ((($2039)) + 136|0);
+ $2041 = HEAP32[$2040>>2]|0;
+ $2042 = ($2041|0)!=(0);
+ if (!($2042)) {
+ $2090 = $33;
+ $39 = $2090;
break;
}
- $bonus = 0;
- $948 = $st$addr;
- $variable_duration1513 = ((($948)) + 144|0);
- $949 = HEAP32[$variable_duration1513>>2]|0;
- $cmp1514 = ($949|0)==(5010);
+ $105 = 0;
+ $2043 = $14;
+ $2044 = ((($2043)) + 144|0);
+ $2045 = HEAP32[$2044>>2]|0;
+ $2046 = ($2045|0)==(5010);
do {
- if ($cmp1514) {
- $950 = $frame_size$addr;
- $951 = $st$addr;
- $Fs1517 = ((($951)) + 132|0);
- $952 = HEAP32[$Fs1517>>2]|0;
- $div1518 = (($952|0) / 50)&-1;
- $cmp1519 = ($950|0)!=($div1518|0);
- if (!($cmp1519)) {
+ if ($2046) {
+ $2047 = $16;
+ $2048 = $14;
+ $2049 = ((($2048)) + 132|0);
+ $2050 = HEAP32[$2049>>2]|0;
+ $2051 = (($2050|0) / 50)&-1;
+ $2052 = ($2047|0)!=($2051|0);
+ if (!($2052)) {
break;
}
- $953 = $st$addr;
- $stream_channels1522 = ((($953)) + 14288|0);
- $954 = HEAP32[$stream_channels1522>>2]|0;
- $mul1523 = ($954*60)|0;
- $add1524 = (($mul1523) + 40)|0;
- $955 = $st$addr;
- $Fs1525 = ((($955)) + 132|0);
- $956 = HEAP32[$Fs1525>>2]|0;
- $957 = $frame_size$addr;
- $div1526 = (($956|0) / ($957|0))&-1;
- $sub1527 = (($div1526) - 50)|0;
- $mul1528 = Math_imul($add1524, $sub1527)|0;
- $bonus = $mul1528;
- $958 = HEAP32[$analysis_info>>2]|0;
- $tobool1530 = ($958|0)!=(0);
- if (!($tobool1530)) {
+ $2053 = $14;
+ $2054 = ((($2053)) + 14288|0);
+ $2055 = HEAP32[$2054>>2]|0;
+ $2056 = ($2055*60)|0;
+ $2057 = (($2056) + 40)|0;
+ $2058 = $14;
+ $2059 = ((($2058)) + 132|0);
+ $2060 = HEAP32[$2059>>2]|0;
+ $2061 = $16;
+ $2062 = (($2060|0) / ($2061|0))&-1;
+ $2063 = (($2062) - 50)|0;
+ $2064 = Math_imul($2057, $2063)|0;
+ $105 = $2064;
+ $2065 = HEAP32[$55>>2]|0;
+ $2066 = ($2065|0)!=(0);
+ if (!($2066)) {
break;
}
- $959 = $bonus;
- $conv1532 = (+($959|0));
- $tonality = ((($analysis_info)) + 4|0);
- $960 = +HEAPF32[$tonality>>2];
- $mul1533 = 0.5 * $960;
- $add1534 = 1.0 + $mul1533;
- $mul1535 = $conv1532 * $add1534;
- $conv1536 = (~~(($mul1535)));
- $bonus = $conv1536;
+ $2067 = $105;
+ $2068 = (+($2067|0));
+ $2069 = ((($55)) + 4|0);
+ $2070 = +HEAPF32[$2069>>2];
+ $2071 = 0.5 * $2070;
+ $2072 = 1.0 + $2071;
+ $2073 = $2068 * $2072;
+ $2074 = (~~(($2073)));
+ $105 = $2074;
}
} while(0);
- $961 = $celt_enc;
- HEAP32[$vararg_buffer46>>2] = 1;
- (_opus_custom_encoder_ctl($961,4006,$vararg_buffer46)|0);
- $962 = $celt_enc;
- $963 = $st$addr;
- $vbr_constraint1542 = ((($963)) + 140|0);
- $964 = HEAP32[$vbr_constraint1542>>2]|0;
- HEAP32[$vararg_buffer49>>2] = $964;
- (_opus_custom_encoder_ctl($962,4020,$vararg_buffer49)|0);
- $965 = $celt_enc;
- $966 = $st$addr;
- $bitrate_bps1548 = ((($966)) + 148|0);
- $967 = HEAP32[$bitrate_bps1548>>2]|0;
- $968 = $bonus;
- $add1549 = (($967) + ($968))|0;
- HEAP32[$vararg_buffer52>>2] = $add1549;
- (_opus_custom_encoder_ctl($965,4002,$vararg_buffer52)|0);
- $969 = $max_data_bytes;
- $sub1551 = (($969) - 1)|0;
- $970 = $redundancy_bytes;
- $sub1552 = (($sub1551) - ($970))|0;
- $nb_compr_bytes = $sub1552;
+ $2075 = $28;
+ HEAP32[$vararg_buffer71>>2] = 1;
+ (_opus_custom_encoder_ctl($2075,4006,$vararg_buffer71)|0);
+ $2076 = $28;
+ $2077 = $14;
+ $2078 = ((($2077)) + 140|0);
+ $2079 = HEAP32[$2078>>2]|0;
+ HEAP32[$vararg_buffer74>>2] = $2079;
+ (_opus_custom_encoder_ctl($2076,4020,$vararg_buffer74)|0);
+ $2080 = $28;
+ $2081 = $14;
+ $2082 = ((($2081)) + 148|0);
+ $2083 = HEAP32[$2082>>2]|0;
+ $2084 = $105;
+ $2085 = (($2083) + ($2084))|0;
+ HEAP32[$vararg_buffer77>>2] = $2085;
+ (_opus_custom_encoder_ctl($2080,4002,$vararg_buffer77)|0);
+ $2086 = $51;
+ $2087 = (($2086) - 1)|0;
+ $2088 = $37;
+ $2089 = (($2087) - ($2088))|0;
+ $39 = $2089;
} else {
- $nb_compr_bytes = 0;
+ $39 = 0;
}
} while(0);
- $972 = $st$addr;
- $channels1558 = ((($972)) + 100|0);
- $973 = HEAP32[$channels1558>>2]|0;
- $974 = $st$addr;
- $Fs1559 = ((($974)) + 132|0);
- $975 = HEAP32[$Fs1559>>2]|0;
- $mul1560 = Math_imul($973, $975)|0;
- $div1561 = (($mul1560|0) / 400)&-1;
- $vla1562$alloca_mul = $div1561<<2;
- $vla1562 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1562$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1562$alloca_mul)|0)+15)&-16)|0);;
- $976 = $st$addr;
- $mode1563 = ((($976)) + 14320|0);
- $977 = HEAP32[$mode1563>>2]|0;
- $cmp1564 = ($977|0)!=(1000);
+ $2091 = $14;
+ $2092 = ((($2091)) + 100|0);
+ $2093 = HEAP32[$2092>>2]|0;
+ $2094 = $14;
+ $2095 = ((($2094)) + 132|0);
+ $2096 = HEAP32[$2095>>2]|0;
+ $2097 = Math_imul($2093, $2096)|0;
+ $2098 = (($2097|0) / 400)&-1;
+ $$alloca_mul219 = $2098<<2;
+ $2099 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul219)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul219)|0)+15)&-16)|0);;
+ $2100 = $14;
+ $2101 = ((($2100)) + 14320|0);
+ $2102 = HEAP32[$2101>>2]|0;
+ $2103 = ($2102|0)!=(1000);
do {
- if ($cmp1564) {
- $978 = $st$addr;
- $mode1567 = ((($978)) + 14320|0);
- $979 = HEAP32[$mode1567>>2]|0;
- $980 = $st$addr;
- $prev_mode1568 = ((($980)) + 14324|0);
- $981 = HEAP32[$prev_mode1568>>2]|0;
- $cmp1569 = ($979|0)!=($981|0);
- if (!($cmp1569)) {
+ if ($2103) {
+ $2104 = $14;
+ $2105 = ((($2104)) + 14320|0);
+ $2106 = HEAP32[$2105>>2]|0;
+ $2107 = $14;
+ $2108 = ((($2107)) + 14324|0);
+ $2109 = HEAP32[$2108>>2]|0;
+ $2110 = ($2106|0)!=($2109|0);
+ if (!($2110)) {
break;
}
- $982 = $st$addr;
- $prev_mode1572 = ((($982)) + 14324|0);
- $983 = HEAP32[$prev_mode1572>>2]|0;
- $cmp1573 = ($983|0)>(0);
- if (!($cmp1573)) {
+ $2111 = $14;
+ $2112 = ((($2111)) + 14324|0);
+ $2113 = HEAP32[$2112>>2]|0;
+ $2114 = ($2113|0)>(0);
+ if (!($2114)) {
break;
}
- $984 = $st$addr;
- $delay_buffer1576 = ((($984)) + 14372|0);
- $985 = $st$addr;
- $encoder_buffer1577 = ((($985)) + 160|0);
- $986 = HEAP32[$encoder_buffer1577>>2]|0;
- $987 = $total_buffer;
- $sub1578 = (($986) - ($987))|0;
- $988 = $st$addr;
- $Fs1579 = ((($988)) + 132|0);
- $989 = HEAP32[$Fs1579>>2]|0;
- $div1580 = (($989|0) / 400)&-1;
- $sub1581 = (($sub1578) - ($div1580))|0;
- $990 = $st$addr;
- $channels1582 = ((($990)) + 100|0);
- $991 = HEAP32[$channels1582>>2]|0;
- $mul1583 = Math_imul($sub1581, $991)|0;
- $arrayidx1584 = (($delay_buffer1576) + ($mul1583<<2)|0);
- $992 = $st$addr;
- $channels1585 = ((($992)) + 100|0);
- $993 = HEAP32[$channels1585>>2]|0;
- $994 = $st$addr;
- $Fs1586 = ((($994)) + 132|0);
- $995 = HEAP32[$Fs1586>>2]|0;
- $mul1587 = Math_imul($993, $995)|0;
- $div1588 = (($mul1587|0) / 400)&-1;
- $mul1589 = $div1588<<2;
- $996 = $st$addr;
- $delay_buffer1590 = ((($996)) + 14372|0);
- $997 = $st$addr;
- $encoder_buffer1591 = ((($997)) + 160|0);
- $998 = HEAP32[$encoder_buffer1591>>2]|0;
- $999 = $total_buffer;
- $sub1592 = (($998) - ($999))|0;
- $1000 = $st$addr;
- $Fs1593 = ((($1000)) + 132|0);
- $1001 = HEAP32[$Fs1593>>2]|0;
- $div1594 = (($1001|0) / 400)&-1;
- $sub1595 = (($sub1592) - ($div1594))|0;
- $1002 = $st$addr;
- $channels1596 = ((($1002)) + 100|0);
- $1003 = HEAP32[$channels1596>>2]|0;
- $mul1597 = Math_imul($sub1595, $1003)|0;
- $arrayidx1598 = (($delay_buffer1590) + ($mul1597<<2)|0);
- $sub$ptr$lhs$cast1599 = $vla1562;
- $sub$ptr$rhs$cast1600 = $arrayidx1598;
- $sub$ptr$sub1601 = (($sub$ptr$lhs$cast1599) - ($sub$ptr$rhs$cast1600))|0;
- $sub$ptr$div1602 = (($sub$ptr$sub1601|0) / 4)&-1;
- $mul1603 = 0;
- $add1604 = (($mul1589) + ($mul1603))|0;
- _memcpy(($vla1562|0),($arrayidx1584|0),($add1604|0))|0;
+ $2115 = $14;
+ $2116 = ((($2115)) + 14372|0);
+ $2117 = $14;
+ $2118 = ((($2117)) + 160|0);
+ $2119 = HEAP32[$2118>>2]|0;
+ $2120 = $52;
+ $2121 = (($2119) - ($2120))|0;
+ $2122 = $14;
+ $2123 = ((($2122)) + 132|0);
+ $2124 = HEAP32[$2123>>2]|0;
+ $2125 = (($2124|0) / 400)&-1;
+ $2126 = (($2121) - ($2125))|0;
+ $2127 = $14;
+ $2128 = ((($2127)) + 100|0);
+ $2129 = HEAP32[$2128>>2]|0;
+ $2130 = Math_imul($2126, $2129)|0;
+ $2131 = (($2116) + ($2130<<2)|0);
+ $2132 = $14;
+ $2133 = ((($2132)) + 100|0);
+ $2134 = HEAP32[$2133>>2]|0;
+ $2135 = $14;
+ $2136 = ((($2135)) + 132|0);
+ $2137 = HEAP32[$2136>>2]|0;
+ $2138 = Math_imul($2134, $2137)|0;
+ $2139 = (($2138|0) / 400)&-1;
+ $2140 = $2139<<2;
+ $2141 = $14;
+ $2142 = ((($2141)) + 14372|0);
+ $2143 = $14;
+ $2144 = ((($2143)) + 160|0);
+ $2145 = HEAP32[$2144>>2]|0;
+ $2146 = $52;
+ $2147 = (($2145) - ($2146))|0;
+ $2148 = $14;
+ $2149 = ((($2148)) + 132|0);
+ $2150 = HEAP32[$2149>>2]|0;
+ $2151 = (($2150|0) / 400)&-1;
+ $2152 = (($2147) - ($2151))|0;
+ $2153 = $14;
+ $2154 = ((($2153)) + 100|0);
+ $2155 = HEAP32[$2154>>2]|0;
+ $2156 = Math_imul($2152, $2155)|0;
+ $2157 = (($2142) + ($2156<<2)|0);
+ $2158 = $2099;
+ $2159 = $2157;
+ $2160 = (($2158) - ($2159))|0;
+ $2161 = (($2160|0) / 4)&-1;
+ $2162 = 0;
+ $2163 = (($2140) + ($2162))|0;
+ _memcpy(($2099|0),($2131|0),($2163|0))|0;
}
} while(0);
- $1004 = $st$addr;
- $channels1606 = ((($1004)) + 100|0);
- $1005 = HEAP32[$channels1606>>2]|0;
- $1006 = $st$addr;
- $encoder_buffer1607 = ((($1006)) + 160|0);
- $1007 = HEAP32[$encoder_buffer1607>>2]|0;
- $1008 = $frame_size$addr;
- $1009 = $total_buffer;
- $add1608 = (($1008) + ($1009))|0;
- $sub1609 = (($1007) - ($add1608))|0;
- $mul1610 = Math_imul($1005, $sub1609)|0;
- $cmp1611 = ($mul1610|0)>(0);
- $1010 = $st$addr;
- $delay_buffer1614 = ((($1010)) + 14372|0);
- if ($cmp1611) {
- $1011 = $st$addr;
- $delay_buffer1616 = ((($1011)) + 14372|0);
- $1012 = $st$addr;
- $channels1617 = ((($1012)) + 100|0);
- $1013 = HEAP32[$channels1617>>2]|0;
- $1014 = $frame_size$addr;
- $mul1618 = Math_imul($1013, $1014)|0;
- $arrayidx1619 = (($delay_buffer1616) + ($mul1618<<2)|0);
- $1015 = $st$addr;
- $channels1620 = ((($1015)) + 100|0);
- $1016 = HEAP32[$channels1620>>2]|0;
- $1017 = $st$addr;
- $encoder_buffer1621 = ((($1017)) + 160|0);
- $1018 = HEAP32[$encoder_buffer1621>>2]|0;
- $1019 = $frame_size$addr;
- $sub1622 = (($1018) - ($1019))|0;
- $1020 = $total_buffer;
- $sub1623 = (($sub1622) - ($1020))|0;
- $mul1624 = Math_imul($1016, $sub1623)|0;
- $mul1625 = $mul1624<<2;
- $1021 = $st$addr;
- $delay_buffer1626 = ((($1021)) + 14372|0);
- $1022 = $st$addr;
- $delay_buffer1628 = ((($1022)) + 14372|0);
- $1023 = $st$addr;
- $channels1629 = ((($1023)) + 100|0);
- $1024 = HEAP32[$channels1629>>2]|0;
- $1025 = $frame_size$addr;
- $mul1630 = Math_imul($1024, $1025)|0;
- $arrayidx1631 = (($delay_buffer1628) + ($mul1630<<2)|0);
- $sub$ptr$lhs$cast1632 = $delay_buffer1626;
- $sub$ptr$rhs$cast1633 = $arrayidx1631;
- $sub$ptr$sub1634 = (($sub$ptr$lhs$cast1632) - ($sub$ptr$rhs$cast1633))|0;
- $sub$ptr$div1635 = (($sub$ptr$sub1634|0) / 4)&-1;
- $mul1636 = 0;
- $add1637 = (($mul1625) + ($mul1636))|0;
- _memmove(($delay_buffer1614|0),($arrayidx1619|0),($add1637|0))|0;
- $1026 = $st$addr;
- $delay_buffer1638 = ((($1026)) + 14372|0);
- $1027 = $st$addr;
- $channels1639 = ((($1027)) + 100|0);
- $1028 = HEAP32[$channels1639>>2]|0;
- $1029 = $st$addr;
- $encoder_buffer1640 = ((($1029)) + 160|0);
- $1030 = HEAP32[$encoder_buffer1640>>2]|0;
- $1031 = $frame_size$addr;
- $sub1641 = (($1030) - ($1031))|0;
- $1032 = $total_buffer;
- $sub1642 = (($sub1641) - ($1032))|0;
- $mul1643 = Math_imul($1028, $sub1642)|0;
- $arrayidx1644 = (($delay_buffer1638) + ($mul1643<<2)|0);
- $1033 = $frame_size$addr;
- $1034 = $total_buffer;
- $add1646 = (($1033) + ($1034))|0;
- $1035 = $st$addr;
- $channels1647 = ((($1035)) + 100|0);
- $1036 = HEAP32[$channels1647>>2]|0;
- $mul1648 = Math_imul($add1646, $1036)|0;
- $mul1649 = $mul1648<<2;
- $1037 = $st$addr;
- $delay_buffer1650 = ((($1037)) + 14372|0);
- $1038 = $st$addr;
- $channels1651 = ((($1038)) + 100|0);
- $1039 = HEAP32[$channels1651>>2]|0;
- $1040 = $st$addr;
- $encoder_buffer1652 = ((($1040)) + 160|0);
- $1041 = HEAP32[$encoder_buffer1652>>2]|0;
- $1042 = $frame_size$addr;
- $sub1653 = (($1041) - ($1042))|0;
- $1043 = $total_buffer;
- $sub1654 = (($sub1653) - ($1043))|0;
- $mul1655 = Math_imul($1039, $sub1654)|0;
- $arrayidx1656 = (($delay_buffer1650) + ($mul1655<<2)|0);
- $sub$ptr$lhs$cast1658 = $arrayidx1656;
- $sub$ptr$rhs$cast1659 = $vla904;
- $sub$ptr$sub1660 = (($sub$ptr$lhs$cast1658) - ($sub$ptr$rhs$cast1659))|0;
- $sub$ptr$div1661 = (($sub$ptr$sub1660|0) / 4)&-1;
- $mul1662 = 0;
- $add1663 = (($mul1649) + ($mul1662))|0;
- _memcpy(($arrayidx1644|0),($vla904|0),($add1663|0))|0;
+ $2164 = $14;
+ $2165 = ((($2164)) + 100|0);
+ $2166 = HEAP32[$2165>>2]|0;
+ $2167 = $14;
+ $2168 = ((($2167)) + 160|0);
+ $2169 = HEAP32[$2168>>2]|0;
+ $2170 = $16;
+ $2171 = $52;
+ $2172 = (($2170) + ($2171))|0;
+ $2173 = (($2169) - ($2172))|0;
+ $2174 = Math_imul($2166, $2173)|0;
+ $2175 = ($2174|0)>(0);
+ $2176 = $14;
+ $2177 = ((($2176)) + 14372|0);
+ if ($2175) {
+ $2178 = $14;
+ $2179 = ((($2178)) + 14372|0);
+ $2180 = $14;
+ $2181 = ((($2180)) + 100|0);
+ $2182 = HEAP32[$2181>>2]|0;
+ $2183 = $16;
+ $2184 = Math_imul($2182, $2183)|0;
+ $2185 = (($2179) + ($2184<<2)|0);
+ $2186 = $14;
+ $2187 = ((($2186)) + 100|0);
+ $2188 = HEAP32[$2187>>2]|0;
+ $2189 = $14;
+ $2190 = ((($2189)) + 160|0);
+ $2191 = HEAP32[$2190>>2]|0;
+ $2192 = $16;
+ $2193 = (($2191) - ($2192))|0;
+ $2194 = $52;
+ $2195 = (($2193) - ($2194))|0;
+ $2196 = Math_imul($2188, $2195)|0;
+ $2197 = $2196<<2;
+ $2198 = $14;
+ $2199 = ((($2198)) + 14372|0);
+ $2200 = $14;
+ $2201 = ((($2200)) + 14372|0);
+ $2202 = $14;
+ $2203 = ((($2202)) + 100|0);
+ $2204 = HEAP32[$2203>>2]|0;
+ $2205 = $16;
+ $2206 = Math_imul($2204, $2205)|0;
+ $2207 = (($2201) + ($2206<<2)|0);
+ $2208 = $2199;
+ $2209 = $2207;
+ $2210 = (($2208) - ($2209))|0;
+ $2211 = (($2210|0) / 4)&-1;
+ $2212 = 0;
+ $2213 = (($2197) + ($2212))|0;
+ _memmove(($2177|0),($2185|0),($2213|0))|0;
+ $2214 = $14;
+ $2215 = ((($2214)) + 14372|0);
+ $2216 = $14;
+ $2217 = ((($2216)) + 100|0);
+ $2218 = HEAP32[$2217>>2]|0;
+ $2219 = $14;
+ $2220 = ((($2219)) + 160|0);
+ $2221 = HEAP32[$2220>>2]|0;
+ $2222 = $16;
+ $2223 = (($2221) - ($2222))|0;
+ $2224 = $52;
+ $2225 = (($2223) - ($2224))|0;
+ $2226 = Math_imul($2218, $2225)|0;
+ $2227 = (($2215) + ($2226<<2)|0);
+ $2228 = $16;
+ $2229 = $52;
+ $2230 = (($2228) + ($2229))|0;
+ $2231 = $14;
+ $2232 = ((($2231)) + 100|0);
+ $2233 = HEAP32[$2232>>2]|0;
+ $2234 = Math_imul($2230, $2233)|0;
+ $2235 = $2234<<2;
+ $2236 = $14;
+ $2237 = ((($2236)) + 14372|0);
+ $2238 = $14;
+ $2239 = ((($2238)) + 100|0);
+ $2240 = HEAP32[$2239>>2]|0;
+ $2241 = $14;
+ $2242 = ((($2241)) + 160|0);
+ $2243 = HEAP32[$2242>>2]|0;
+ $2244 = $16;
+ $2245 = (($2243) - ($2244))|0;
+ $2246 = $52;
+ $2247 = (($2245) - ($2246))|0;
+ $2248 = Math_imul($2240, $2247)|0;
+ $2249 = (($2237) + ($2248<<2)|0);
+ $2250 = $2249;
+ $2251 = $1268;
+ $2252 = (($2250) - ($2251))|0;
+ $2253 = (($2252|0) / 4)&-1;
+ $2254 = 0;
+ $2255 = (($2235) + ($2254))|0;
+ _memcpy(($2227|0),($1268|0),($2255|0))|0;
} else {
- $1044 = $frame_size$addr;
- $1045 = $total_buffer;
- $add1667 = (($1044) + ($1045))|0;
- $1046 = $st$addr;
- $encoder_buffer1668 = ((($1046)) + 160|0);
- $1047 = HEAP32[$encoder_buffer1668>>2]|0;
- $sub1669 = (($add1667) - ($1047))|0;
- $1048 = $st$addr;
- $channels1670 = ((($1048)) + 100|0);
- $1049 = HEAP32[$channels1670>>2]|0;
- $mul1671 = Math_imul($sub1669, $1049)|0;
- $arrayidx1672 = (($vla904) + ($mul1671<<2)|0);
- $1050 = $st$addr;
- $encoder_buffer1673 = ((($1050)) + 160|0);
- $1051 = HEAP32[$encoder_buffer1673>>2]|0;
- $1052 = $st$addr;
- $channels1674 = ((($1052)) + 100|0);
- $1053 = HEAP32[$channels1674>>2]|0;
- $mul1675 = Math_imul($1051, $1053)|0;
- $mul1676 = $mul1675<<2;
- $1054 = $st$addr;
- $delay_buffer1677 = ((($1054)) + 14372|0);
- $1055 = $frame_size$addr;
- $1056 = $total_buffer;
- $add1679 = (($1055) + ($1056))|0;
- $1057 = $st$addr;
- $encoder_buffer1680 = ((($1057)) + 160|0);
- $1058 = HEAP32[$encoder_buffer1680>>2]|0;
- $sub1681 = (($add1679) - ($1058))|0;
- $1059 = $st$addr;
- $channels1682 = ((($1059)) + 100|0);
- $1060 = HEAP32[$channels1682>>2]|0;
- $mul1683 = Math_imul($sub1681, $1060)|0;
- $arrayidx1684 = (($vla904) + ($mul1683<<2)|0);
- $sub$ptr$lhs$cast1685 = $delay_buffer1677;
- $sub$ptr$rhs$cast1686 = $arrayidx1684;
- $sub$ptr$sub1687 = (($sub$ptr$lhs$cast1685) - ($sub$ptr$rhs$cast1686))|0;
- $sub$ptr$div1688 = (($sub$ptr$sub1687|0) / 4)&-1;
- $mul1689 = 0;
- $add1690 = (($mul1676) + ($mul1689))|0;
- _memcpy(($delay_buffer1614|0),($arrayidx1672|0),($add1690|0))|0;
+ $2256 = $16;
+ $2257 = $52;
+ $2258 = (($2256) + ($2257))|0;
+ $2259 = $14;
+ $2260 = ((($2259)) + 160|0);
+ $2261 = HEAP32[$2260>>2]|0;
+ $2262 = (($2258) - ($2261))|0;
+ $2263 = $14;
+ $2264 = ((($2263)) + 100|0);
+ $2265 = HEAP32[$2264>>2]|0;
+ $2266 = Math_imul($2262, $2265)|0;
+ $2267 = (($1268) + ($2266<<2)|0);
+ $2268 = $14;
+ $2269 = ((($2268)) + 160|0);
+ $2270 = HEAP32[$2269>>2]|0;
+ $2271 = $14;
+ $2272 = ((($2271)) + 100|0);
+ $2273 = HEAP32[$2272>>2]|0;
+ $2274 = Math_imul($2270, $2273)|0;
+ $2275 = $2274<<2;
+ $2276 = $14;
+ $2277 = ((($2276)) + 14372|0);
+ $2278 = $16;
+ $2279 = $52;
+ $2280 = (($2278) + ($2279))|0;
+ $2281 = $14;
+ $2282 = ((($2281)) + 160|0);
+ $2283 = HEAP32[$2282>>2]|0;
+ $2284 = (($2280) - ($2283))|0;
+ $2285 = $14;
+ $2286 = ((($2285)) + 100|0);
+ $2287 = HEAP32[$2286>>2]|0;
+ $2288 = Math_imul($2284, $2287)|0;
+ $2289 = (($1268) + ($2288<<2)|0);
+ $2290 = $2277;
+ $2291 = $2289;
+ $2292 = (($2290) - ($2291))|0;
+ $2293 = (($2292|0) / 4)&-1;
+ $2294 = 0;
+ $2295 = (($2275) + ($2294))|0;
+ _memcpy(($2177|0),($2267|0),($2295|0))|0;
}
- $1061 = $st$addr;
- $prev_HB_gain = ((($1061)) + 14300|0);
- $1062 = +HEAPF32[$prev_HB_gain>>2];
- $cmp1692 = $1062 < 1.0;
- $1063 = $HB_gain;
- $cmp1695 = $1063 < 1.0;
- $or$cond19 = $cmp1692 | $cmp1695;
- if ($or$cond19) {
- $1064 = $st$addr;
- $prev_HB_gain1698 = ((($1064)) + 14300|0);
- $1065 = +HEAPF32[$prev_HB_gain1698>>2];
- $1066 = $HB_gain;
- $1067 = HEAP32[$celt_mode>>2]|0;
- $overlap1699 = ((($1067)) + 4|0);
- $1068 = HEAP32[$overlap1699>>2]|0;
- $1069 = $frame_size$addr;
- $1070 = $st$addr;
- $channels1700 = ((($1070)) + 100|0);
- $1071 = HEAP32[$channels1700>>2]|0;
- $1072 = HEAP32[$celt_mode>>2]|0;
- $window1701 = ((($1072)) + 60|0);
- $1073 = HEAP32[$window1701>>2]|0;
- $1074 = $st$addr;
- $Fs1702 = ((($1074)) + 132|0);
- $1075 = HEAP32[$Fs1702>>2]|0;
- _gain_fade($vla904,$vla904,$1065,$1066,$1068,$1069,$1071,$1073,$1075);
+ $2296 = $14;
+ $2297 = ((($2296)) + 14300|0);
+ $2298 = +HEAPF32[$2297>>2];
+ $2299 = $2298 < 1.0;
+ $2300 = $50;
+ $2301 = $2300 < 1.0;
+ $or$cond35 = $2299 | $2301;
+ if ($or$cond35) {
+ $2302 = $14;
+ $2303 = ((($2302)) + 14300|0);
+ $2304 = +HEAPF32[$2303>>2];
+ $2305 = $50;
+ $2306 = HEAP32[$54>>2]|0;
+ $2307 = ((($2306)) + 4|0);
+ $2308 = HEAP32[$2307>>2]|0;
+ $2309 = $16;
+ $2310 = $14;
+ $2311 = ((($2310)) + 100|0);
+ $2312 = HEAP32[$2311>>2]|0;
+ $2313 = HEAP32[$54>>2]|0;
+ $2314 = ((($2313)) + 60|0);
+ $2315 = HEAP32[$2314>>2]|0;
+ $2316 = $14;
+ $2317 = ((($2316)) + 132|0);
+ $2318 = HEAP32[$2317>>2]|0;
+ _gain_fade($1268,$1268,$2304,$2305,$2308,$2309,$2312,$2315,$2318);
}
- $1076 = $HB_gain;
- $1077 = $st$addr;
- $prev_HB_gain1704 = ((($1077)) + 14300|0);
- HEAPF32[$prev_HB_gain1704>>2] = $1076;
- $1078 = $st$addr;
- $mode1705 = ((($1078)) + 14320|0);
- $1079 = HEAP32[$mode1705>>2]|0;
- $cmp1706 = ($1079|0)!=(1001);
- if ($cmp1706) {
+ $2319 = $50;
+ $2320 = $14;
+ $2321 = ((($2320)) + 14300|0);
+ HEAPF32[$2321>>2] = $2319;
+ $2322 = $14;
+ $2323 = ((($2322)) + 14320|0);
+ $2324 = HEAP32[$2323>>2]|0;
+ $2325 = ($2324|0)!=(1001);
+ if ($2325) {
label = 358;
} else {
- $1080 = $st$addr;
- $stream_channels1709 = ((($1080)) + 14288|0);
- $1081 = HEAP32[$stream_channels1709>>2]|0;
- $cmp1710 = ($1081|0)==(1);
- if ($cmp1710) {
+ $2326 = $14;
+ $2327 = ((($2326)) + 14288|0);
+ $2328 = HEAP32[$2327>>2]|0;
+ $2329 = ($2328|0)==(1);
+ if ($2329) {
label = 358;
}
}
if ((label|0) == 358) {
- $1082 = $equiv_rate;
- $sub1713 = (($1082) - 30000)|0;
- $cmp1714 = (0)>($sub1713|0);
- $1083 = $equiv_rate;
- $sub1718 = (($1083) - 30000)|0;
- $cond1720 = $cmp1714 ? 0 : $sub1718;
- $mul1721 = $cond1720<<1;
- $cmp1722 = (16384)<($mul1721|0);
- if ($cmp1722) {
- $cond1736 = 16384;
+ $2330 = $45;
+ $2331 = (($2330) - 30000)|0;
+ $2332 = (0)>($2331|0);
+ $2333 = $45;
+ $2334 = (($2333) - 30000)|0;
+ $2335 = $2332 ? 0 : $2334;
+ $2336 = $2335<<1;
+ $2337 = (16384)<($2336|0);
+ if ($2337) {
+ $2348 = 16384;
} else {
- $1084 = $equiv_rate;
- $sub1726 = (($1084) - 30000)|0;
- $cmp1727 = (0)>($sub1726|0);
- $1085 = $equiv_rate;
- $sub1731 = (($1085) - 30000)|0;
- $cond1733 = $cmp1727 ? 0 : $sub1731;
- $mul1734 = $cond1733<<1;
- $cond1736 = $mul1734;
+ $2338 = $45;
+ $2339 = (($2338) - 30000)|0;
+ $2340 = (0)>($2339|0);
+ $2341 = $45;
+ $2342 = (($2341) - 30000)|0;
+ $2343 = $2340 ? 0 : $2342;
+ $2344 = $2343<<1;
+ $2348 = $2344;
}
- $1086 = $st$addr;
- $silk_mode1737 = ((($1086)) + 8|0);
- $stereoWidth_Q14 = ((($silk_mode1737)) + 80|0);
- HEAP32[$stereoWidth_Q14>>2] = $cond1736;
+ $2345 = $14;
+ $2346 = ((($2345)) + 8|0);
+ $2347 = ((($2346)) + 80|0);
+ HEAP32[$2347>>2] = $2348;
}
- $1087 = $st$addr;
- $energy_masking1739 = ((($1087)) + 14348|0);
- $1088 = HEAP32[$energy_masking1739>>2]|0;
- $tobool1740 = ($1088|0)!=(0|0);
+ $2349 = $14;
+ $2350 = ((($2349)) + 14348|0);
+ $2351 = HEAP32[$2350>>2]|0;
+ $2352 = ($2351|0)!=(0|0);
do {
- if (!($tobool1740)) {
- $1089 = $st$addr;
- $channels1742 = ((($1089)) + 100|0);
- $1090 = HEAP32[$channels1742>>2]|0;
- $cmp1743 = ($1090|0)==(2);
- if (!($cmp1743)) {
+ if (!($2352)) {
+ $2353 = $14;
+ $2354 = ((($2353)) + 100|0);
+ $2355 = HEAP32[$2354>>2]|0;
+ $2356 = ($2355|0)==(2);
+ if (!($2356)) {
break;
}
- $1091 = $st$addr;
- $hybrid_stereo_width_Q14 = ((($1091)) + 14292|0);
- $1092 = HEAP16[$hybrid_stereo_width_Q14>>1]|0;
- $conv1746 = $1092 << 16 >> 16;
- $cmp1747 = ($conv1746|0)<(16384);
- if (!($cmp1747)) {
- $1093 = $st$addr;
- $silk_mode1750 = ((($1093)) + 8|0);
- $stereoWidth_Q141751 = ((($silk_mode1750)) + 80|0);
- $1094 = HEAP32[$stereoWidth_Q141751>>2]|0;
- $cmp1752 = ($1094|0)<(16384);
- if (!($cmp1752)) {
+ $2357 = $14;
+ $2358 = ((($2357)) + 14292|0);
+ $2359 = HEAP16[$2358>>1]|0;
+ $2360 = $2359 << 16 >> 16;
+ $2361 = ($2360|0)<(16384);
+ if (!($2361)) {
+ $2362 = $14;
+ $2363 = ((($2362)) + 8|0);
+ $2364 = ((($2363)) + 80|0);
+ $2365 = HEAP32[$2364>>2]|0;
+ $2366 = ($2365|0)<(16384);
+ if (!($2366)) {
break;
}
}
- $1095 = $st$addr;
- $hybrid_stereo_width_Q141755 = ((($1095)) + 14292|0);
- $1096 = HEAP16[$hybrid_stereo_width_Q141755>>1]|0;
- $conv1756 = (+($1096<<16>>16));
- $g1 = $conv1756;
- $1097 = $st$addr;
- $silk_mode1757 = ((($1097)) + 8|0);
- $stereoWidth_Q141758 = ((($silk_mode1757)) + 80|0);
- $1098 = HEAP32[$stereoWidth_Q141758>>2]|0;
- $conv1759 = (+($1098|0));
- $g2 = $conv1759;
- $1099 = $g1;
- $mul1760 = $1099 * 6.103515625E-5;
- $g1 = $mul1760;
- $1100 = $g2;
- $mul1761 = $1100 * 6.103515625E-5;
- $g2 = $mul1761;
- $1101 = $g1;
- $1102 = $g2;
- $1103 = HEAP32[$celt_mode>>2]|0;
- $overlap1762 = ((($1103)) + 4|0);
- $1104 = HEAP32[$overlap1762>>2]|0;
- $1105 = $frame_size$addr;
- $1106 = $st$addr;
- $channels1763 = ((($1106)) + 100|0);
- $1107 = HEAP32[$channels1763>>2]|0;
- $1108 = HEAP32[$celt_mode>>2]|0;
- $window1764 = ((($1108)) + 60|0);
- $1109 = HEAP32[$window1764>>2]|0;
- $1110 = $st$addr;
- $Fs1765 = ((($1110)) + 132|0);
- $1111 = HEAP32[$Fs1765>>2]|0;
- _stereo_fade($vla904,$vla904,$1101,$1102,$1104,$1105,$1107,$1109,$1111);
- $1112 = $st$addr;
- $silk_mode1766 = ((($1112)) + 8|0);
- $stereoWidth_Q141767 = ((($silk_mode1766)) + 80|0);
- $1113 = HEAP32[$stereoWidth_Q141767>>2]|0;
- $conv1768 = $1113&65535;
- $1114 = $st$addr;
- $hybrid_stereo_width_Q141769 = ((($1114)) + 14292|0);
- HEAP16[$hybrid_stereo_width_Q141769>>1] = $conv1768;
+ $2367 = $14;
+ $2368 = ((($2367)) + 14292|0);
+ $2369 = HEAP16[$2368>>1]|0;
+ $2370 = (+($2369<<16>>16));
+ $106 = $2370;
+ $2371 = $14;
+ $2372 = ((($2371)) + 8|0);
+ $2373 = ((($2372)) + 80|0);
+ $2374 = HEAP32[$2373>>2]|0;
+ $2375 = (+($2374|0));
+ $107 = $2375;
+ $2376 = $106;
+ $2377 = $2376 * 6.103515625E-5;
+ $106 = $2377;
+ $2378 = $107;
+ $2379 = $2378 * 6.103515625E-5;
+ $107 = $2379;
+ $2380 = $106;
+ $2381 = $107;
+ $2382 = HEAP32[$54>>2]|0;
+ $2383 = ((($2382)) + 4|0);
+ $2384 = HEAP32[$2383>>2]|0;
+ $2385 = $16;
+ $2386 = $14;
+ $2387 = ((($2386)) + 100|0);
+ $2388 = HEAP32[$2387>>2]|0;
+ $2389 = HEAP32[$54>>2]|0;
+ $2390 = ((($2389)) + 60|0);
+ $2391 = HEAP32[$2390>>2]|0;
+ $2392 = $14;
+ $2393 = ((($2392)) + 132|0);
+ $2394 = HEAP32[$2393>>2]|0;
+ _stereo_fade($1268,$1268,$2380,$2381,$2384,$2385,$2388,$2391,$2394);
+ $2395 = $14;
+ $2396 = ((($2395)) + 8|0);
+ $2397 = ((($2396)) + 80|0);
+ $2398 = HEAP32[$2397>>2]|0;
+ $2399 = $2398&65535;
+ $2400 = $14;
+ $2401 = ((($2400)) + 14292|0);
+ HEAP16[$2401>>1] = $2399;
}
} while(0);
- $1115 = $st$addr;
- $mode1772 = ((($1115)) + 14320|0);
- $1116 = HEAP32[$mode1772>>2]|0;
- $cmp1773 = ($1116|0)!=(1002);
+ $2402 = $14;
+ $2403 = ((($2402)) + 14320|0);
+ $2404 = HEAP32[$2403>>2]|0;
+ $2405 = ($2404|0)!=(1002);
do {
- if ($cmp1773) {
- $call1776 = (_ec_tell_14($enc)|0);
- $add1777 = (($call1776) + 17)|0;
- $1117 = $st$addr;
- $mode1778 = ((($1117)) + 14320|0);
- $1118 = HEAP32[$mode1778>>2]|0;
- $cmp1779 = ($1118|0)==(1001);
- $conv1780 = $cmp1779&1;
- $mul1781 = ($conv1780*20)|0;
- $add1782 = (($add1777) + ($mul1781))|0;
- $1119 = $max_data_bytes;
- $sub1783 = (($1119) - 1)|0;
- $mul1784 = $sub1783<<3;
- $cmp1785 = ($add1782|0)<=($mul1784|0);
- if (!($cmp1785)) {
+ if ($2405) {
+ $2406 = (_ec_tell_14($32)|0);
+ $2407 = (($2406) + 17)|0;
+ $2408 = $14;
+ $2409 = ((($2408)) + 14320|0);
+ $2410 = HEAP32[$2409>>2]|0;
+ $2411 = ($2410|0)==(1001);
+ $2412 = $2411&1;
+ $2413 = ($2412*20)|0;
+ $2414 = (($2407) + ($2413))|0;
+ $2415 = $51;
+ $2416 = (($2415) - 1)|0;
+ $2417 = $2416<<3;
+ $2418 = ($2414|0)<=($2417|0);
+ if (!($2418)) {
label = 383;
break;
}
- $1120 = $st$addr;
- $mode1788 = ((($1120)) + 14320|0);
- $1121 = HEAP32[$mode1788>>2]|0;
- $cmp1789 = ($1121|0)==(1001);
+ $2419 = $14;
+ $2420 = ((($2419)) + 14320|0);
+ $2421 = HEAP32[$2420>>2]|0;
+ $2422 = ($2421|0)==(1001);
do {
- if ($cmp1789) {
- $1122 = $redundancy;
- $tobool1792 = ($1122|0)!=(0);
- if (!($tobool1792)) {
- $call1794 = (_ec_tell_14($enc)|0);
- $add1795 = (($call1794) + 37)|0;
- $1123 = $nb_compr_bytes;
- $mul1796 = $1123<<3;
- $cmp1797 = ($add1795|0)<=($mul1796|0);
- if (!($cmp1797)) {
+ if ($2422) {
+ $2423 = $36;
+ $2424 = ($2423|0)!=(0);
+ if (!($2424)) {
+ $2425 = (_ec_tell_14($32)|0);
+ $2426 = (($2425) + 37)|0;
+ $2427 = $39;
+ $2428 = $2427<<3;
+ $2429 = ($2426|0)<=($2428|0);
+ if (!($2429)) {
break;
}
}
- $1124 = $redundancy;
- _ec_enc_bit_logp($enc,$1124,12);
+ $2430 = $36;
+ _ec_enc_bit_logp($32,$2430,12);
}
} while(0);
- $1125 = $redundancy;
- $tobool1801 = ($1125|0)!=(0);
- if (!($tobool1801)) {
+ $2431 = $36;
+ $2432 = ($2431|0)!=(0);
+ if (!($2432)) {
break;
}
- $1126 = $celt_to_silk;
- _ec_enc_bit_logp($enc,$1126,1);
- $1127 = $st$addr;
- $mode1803 = ((($1127)) + 14320|0);
- $1128 = HEAP32[$mode1803>>2]|0;
- $cmp1804 = ($1128|0)==(1001);
- $1129 = $max_data_bytes;
- $sub1807 = (($1129) - 1)|0;
- if ($cmp1804) {
- $1130 = $nb_compr_bytes;
- $sub1808 = (($sub1807) - ($1130))|0;
- $max_redundancy = $sub1808;
+ $2433 = $38;
+ _ec_enc_bit_logp($32,$2433,1);
+ $2434 = $14;
+ $2435 = ((($2434)) + 14320|0);
+ $2436 = HEAP32[$2435>>2]|0;
+ $2437 = ($2436|0)==(1001);
+ $2438 = $51;
+ $2439 = (($2438) - 1)|0;
+ if ($2437) {
+ $2440 = $39;
+ $2441 = (($2439) - ($2440))|0;
+ $108 = $2441;
} else {
- $call1811 = (_ec_tell_14($enc)|0);
- $add1812 = (($call1811) + 7)|0;
- $shr1813 = $add1812 >> 3;
- $sub1814 = (($sub1807) - ($shr1813))|0;
- $max_redundancy = $sub1814;
+ $2442 = (_ec_tell_14($32)|0);
+ $2443 = (($2442) + 7)|0;
+ $2444 = $2443 >> 3;
+ $2445 = (($2439) - ($2444))|0;
+ $108 = $2445;
}
- $1131 = $max_redundancy;
- $1132 = $st$addr;
- $bitrate_bps1816 = ((($1132)) + 148|0);
- $1133 = HEAP32[$bitrate_bps1816>>2]|0;
- $div1817 = (($1133|0) / 1600)&-1;
- $cmp1818 = ($1131|0)<($div1817|0);
- if ($cmp1818) {
- $1134 = $max_redundancy;
- $cond1825 = $1134;
+ $2446 = $108;
+ $2447 = $14;
+ $2448 = ((($2447)) + 148|0);
+ $2449 = HEAP32[$2448>>2]|0;
+ $2450 = (($2449|0) / 1600)&-1;
+ $2451 = ($2446|0)<($2450|0);
+ if ($2451) {
+ $2452 = $108;
+ $2457 = $2452;
} else {
- $1135 = $st$addr;
- $bitrate_bps1822 = ((($1135)) + 148|0);
- $1136 = HEAP32[$bitrate_bps1822>>2]|0;
- $div1823 = (($1136|0) / 1600)&-1;
- $cond1825 = $div1823;
+ $2453 = $14;
+ $2454 = ((($2453)) + 148|0);
+ $2455 = HEAP32[$2454>>2]|0;
+ $2456 = (($2455|0) / 1600)&-1;
+ $2457 = $2456;
}
- $redundancy_bytes = $cond1825;
- $1137 = $redundancy_bytes;
- $cmp1826 = (2)>($1137|0);
- $1138 = $redundancy_bytes;
- $cond1831 = $cmp1826 ? 2 : $1138;
- $cmp1832 = (257)<($cond1831|0);
- if ($cmp1832) {
- $cond1843 = 257;
+ $37 = $2457;
+ $2458 = $37;
+ $2459 = (2)>($2458|0);
+ $2460 = $37;
+ $2461 = $2459 ? 2 : $2460;
+ $2462 = (257)<($2461|0);
+ if ($2462) {
+ $2467 = 257;
} else {
- $1139 = $redundancy_bytes;
- $cmp1836 = (2)>($1139|0);
- $1140 = $redundancy_bytes;
- $cond1841 = $cmp1836 ? 2 : $1140;
- $cond1843 = $cond1841;
+ $2463 = $37;
+ $2464 = (2)>($2463|0);
+ $2465 = $37;
+ $2466 = $2464 ? 2 : $2465;
+ $2467 = $2466;
}
- $redundancy_bytes = $cond1843;
- $1141 = $st$addr;
- $mode1844 = ((($1141)) + 14320|0);
- $1142 = HEAP32[$mode1844>>2]|0;
- $cmp1845 = ($1142|0)==(1001);
- if (!($cmp1845)) {
+ $37 = $2467;
+ $2468 = $14;
+ $2469 = ((($2468)) + 14320|0);
+ $2470 = HEAP32[$2469>>2]|0;
+ $2471 = ($2470|0)==(1001);
+ if (!($2471)) {
break;
}
- $1143 = $redundancy_bytes;
- $sub1848 = (($1143) - 2)|0;
- _ec_enc_uint($enc,$sub1848,256);
+ $2472 = $37;
+ $2473 = (($2472) - 2)|0;
+ _ec_enc_uint($32,$2473,256);
} else {
label = 383;
}
} while(0);
if ((label|0) == 383) {
- $redundancy = 0;
+ $36 = 0;
}
- $1144 = $redundancy;
- $tobool1853 = ($1144|0)!=(0);
- if (!($tobool1853)) {
- $1145 = $st$addr;
- $silk_bw_switch1855 = ((($1145)) + 14340|0);
- HEAP32[$silk_bw_switch1855>>2] = 0;
- $redundancy_bytes = 0;
+ $2474 = $36;
+ $2475 = ($2474|0)!=(0);
+ if (!($2475)) {
+ $2476 = $14;
+ $2477 = ((($2476)) + 14340|0);
+ HEAP32[$2477>>2] = 0;
+ $37 = 0;
}
- $1146 = $st$addr;
- $mode1857 = ((($1146)) + 14320|0);
- $1147 = HEAP32[$mode1857>>2]|0;
- $cmp1858 = ($1147|0)!=(1002);
- if ($cmp1858) {
- $start_band = 17;
+ $2478 = $14;
+ $2479 = ((($2478)) + 14320|0);
+ $2480 = HEAP32[$2479>>2]|0;
+ $2481 = ($2480|0)!=(1002);
+ if ($2481) {
+ $35 = 17;
}
- $1148 = $st$addr;
- $mode1862 = ((($1148)) + 14320|0);
- $1149 = HEAP32[$mode1862>>2]|0;
- $cmp1863 = ($1149|0)==(1000);
- if ($cmp1863) {
- $call1866 = (_ec_tell_14($enc)|0);
- $add1867 = (($call1866) + 7)|0;
- $shr1868 = $add1867 >> 3;
- $ret = $shr1868;
- _ec_enc_done($enc);
- $1150 = $ret;
- $nb_compr_bytes = $1150;
+ $2482 = $14;
+ $2483 = ((($2482)) + 14320|0);
+ $2484 = HEAP32[$2483>>2]|0;
+ $2485 = ($2484|0)==(1000);
+ if ($2485) {
+ $2486 = (_ec_tell_14($32)|0);
+ $2487 = (($2486) + 7)|0;
+ $2488 = $2487 >> 3;
+ $30 = $2488;
+ _ec_enc_done($32);
+ $2489 = $30;
+ $39 = $2489;
} else {
- $1151 = $max_data_bytes;
- $sub1870 = (($1151) - 1)|0;
- $1152 = $redundancy_bytes;
- $sub1871 = (($sub1870) - ($1152))|0;
- $1153 = $nb_compr_bytes;
- $cmp1872 = ($sub1871|0)<($1153|0);
- if ($cmp1872) {
- $1154 = $max_data_bytes;
- $sub1875 = (($1154) - 1)|0;
- $1155 = $redundancy_bytes;
- $sub1876 = (($sub1875) - ($1155))|0;
- $cond1879 = $sub1876;
+ $2490 = $51;
+ $2491 = (($2490) - 1)|0;
+ $2492 = $37;
+ $2493 = (($2491) - ($2492))|0;
+ $2494 = $39;
+ $2495 = ($2493|0)<($2494|0);
+ if ($2495) {
+ $2496 = $51;
+ $2497 = (($2496) - 1)|0;
+ $2498 = $37;
+ $2499 = (($2497) - ($2498))|0;
+ $2501 = $2499;
} else {
- $1156 = $nb_compr_bytes;
- $cond1879 = $1156;
+ $2500 = $39;
+ $2501 = $2500;
}
- $nb_compr_bytes = $cond1879;
- $1157 = $nb_compr_bytes;
- _ec_enc_shrink($enc,$1157);
+ $39 = $2501;
+ $2502 = $39;
+ _ec_enc_shrink($32,$2502);
}
- $1158 = $redundancy;
- $tobool1881 = ($1158|0)!=(0);
- if ($tobool1881) {
+ $2503 = $36;
+ $2504 = ($2503|0)!=(0);
+ if ($2504) {
label = 396;
} else {
- $1159 = $st$addr;
- $mode1883 = ((($1159)) + 14320|0);
- $1160 = HEAP32[$mode1883>>2]|0;
- $cmp1884 = ($1160|0)!=(1000);
- if ($cmp1884) {
+ $2505 = $14;
+ $2506 = ((($2505)) + 14320|0);
+ $2507 = HEAP32[$2506>>2]|0;
+ $2508 = ($2507|0)!=(1000);
+ if ($2508) {
label = 396;
}
}
if ((label|0) == 396) {
- $1161 = $celt_enc;
- $sub$ptr$lhs$cast1887 = $analysis_info;
- $sub$ptr$rhs$cast1888 = $analysis_info;
- $sub$ptr$sub1889 = (($sub$ptr$lhs$cast1887) - ($sub$ptr$rhs$cast1888))|0;
- $sub$ptr$div1890 = (($sub$ptr$sub1889|0) / 28)&-1;
- $add$ptr1891 = (($analysis_info) + (($sub$ptr$div1890*28)|0)|0);
- HEAP32[$vararg_buffer55>>2] = $add$ptr1891;
- (_opus_custom_encoder_ctl($1161,10022,$vararg_buffer55)|0);
+ $2509 = $28;
+ $2510 = $55;
+ $2511 = $55;
+ $2512 = (($2510) - ($2511))|0;
+ $2513 = (($2512|0) / 28)&-1;
+ $2514 = (($55) + (($2513*28)|0)|0);
+ HEAP32[$vararg_buffer80>>2] = $2514;
+ (_opus_custom_encoder_ctl($2509,10022,$vararg_buffer80)|0);
}
- $1162 = $redundancy;
- $tobool1894 = ($1162|0)!=(0);
- $1163 = $celt_to_silk;
- $tobool1896 = ($1163|0)!=(0);
- $or$cond20 = $tobool1894 & $tobool1896;
+ $2515 = $36;
+ $2516 = ($2515|0)!=(0);
+ $2517 = $38;
+ $2518 = ($2517|0)!=(0);
+ $or$cond37 = $2516 & $2518;
do {
- if ($or$cond20) {
- $1164 = $celt_enc;
- HEAP32[$vararg_buffer58>>2] = 0;
- (_opus_custom_encoder_ctl($1164,10010,$vararg_buffer58)|0);
- $1165 = $celt_enc;
- HEAP32[$vararg_buffer61>>2] = 0;
- (_opus_custom_encoder_ctl($1165,4006,$vararg_buffer61)|0);
- $1166 = $celt_enc;
- $1167 = $st$addr;
- $Fs1900 = ((($1167)) + 132|0);
- $1168 = HEAP32[$Fs1900>>2]|0;
- $div1901 = (($1168|0) / 200)&-1;
- $1169 = $data$addr;
- $1170 = $nb_compr_bytes;
- $add$ptr1902 = (($1169) + ($1170)|0);
- $1171 = $redundancy_bytes;
- $call1903 = (_celt_encode_with_ec($1166,$vla904,$div1901,$add$ptr1902,$1171,0)|0);
- $err = $call1903;
- $1172 = $err;
- $cmp1904 = ($1172|0)<(0);
- if ($cmp1904) {
- $retval = -3;
- $cleanup$dest$slot = 1;
+ if ($or$cond37) {
+ $2519 = $28;
+ HEAP32[$vararg_buffer83>>2] = 0;
+ (_opus_custom_encoder_ctl($2519,10010,$vararg_buffer83)|0);
+ $2520 = $28;
+ HEAP32[$vararg_buffer86>>2] = 0;
+ (_opus_custom_encoder_ctl($2520,4006,$vararg_buffer86)|0);
+ $2521 = $28;
+ $2522 = $14;
+ $2523 = ((($2522)) + 132|0);
+ $2524 = HEAP32[$2523>>2]|0;
+ $2525 = (($2524|0) / 200)&-1;
+ $2526 = $17;
+ $2527 = $39;
+ $2528 = (($2526) + ($2527)|0);
+ $2529 = $37;
+ $2530 = (_celt_encode_with_ec($2521,$1268,$2525,$2528,$2529,0)|0);
+ $109 = $2530;
+ $2531 = $109;
+ $2532 = ($2531|0)<(0);
+ if ($2532) {
+ $13 = -3;
+ $85 = 1;
break L430;
} else {
- $1173 = $celt_enc;
- $sub$ptr$lhs$cast1908 = $redundant_rng;
- $sub$ptr$rhs$cast1909 = $redundant_rng;
- $sub$ptr$sub1910 = (($sub$ptr$lhs$cast1908) - ($sub$ptr$rhs$cast1909))|0;
- $sub$ptr$div1911 = (($sub$ptr$sub1910|0) / 4)&-1;
- $add$ptr1912 = (($redundant_rng) + ($sub$ptr$div1911<<2)|0);
- HEAP32[$vararg_buffer64>>2] = $add$ptr1912;
- (_opus_custom_encoder_ctl($1173,4031,$vararg_buffer64)|0);
- $1174 = $celt_enc;
- (_opus_custom_encoder_ctl($1174,4028,$vararg_buffer67)|0);
+ $2533 = $28;
+ $2534 = $41;
+ $2535 = $41;
+ $2536 = (($2534) - ($2535))|0;
+ $2537 = (($2536|0) / 4)&-1;
+ $2538 = (($41) + ($2537<<2)|0);
+ HEAP32[$vararg_buffer89>>2] = $2538;
+ (_opus_custom_encoder_ctl($2533,4031,$vararg_buffer89)|0);
+ $2539 = $28;
+ (_opus_custom_encoder_ctl($2539,4028,$vararg_buffer92)|0);
break;
}
}
} while(0);
- $1175 = $celt_enc;
- $1176 = $start_band;
- HEAP32[$vararg_buffer69>>2] = $1176;
- (_opus_custom_encoder_ctl($1175,10010,$vararg_buffer69)|0);
- $1177 = $st$addr;
- $mode1919 = ((($1177)) + 14320|0);
- $1178 = HEAP32[$mode1919>>2]|0;
- $cmp1920 = ($1178|0)!=(1000);
+ $2540 = $28;
+ $2541 = $35;
+ HEAP32[$vararg_buffer94>>2] = $2541;
+ (_opus_custom_encoder_ctl($2540,10010,$vararg_buffer94)|0);
+ $2542 = $14;
+ $2543 = ((($2542)) + 14320|0);
+ $2544 = HEAP32[$2543>>2]|0;
+ $2545 = ($2544|0)!=(1000);
do {
- if ($cmp1920) {
- $1179 = $st$addr;
- $mode1923 = ((($1179)) + 14320|0);
- $1180 = HEAP32[$mode1923>>2]|0;
- $1181 = $st$addr;
- $prev_mode1924 = ((($1181)) + 14324|0);
- $1182 = HEAP32[$prev_mode1924>>2]|0;
- $cmp1925 = ($1180|0)!=($1182|0);
+ if ($2545) {
+ $2546 = $14;
+ $2547 = ((($2546)) + 14320|0);
+ $2548 = HEAP32[$2547>>2]|0;
+ $2549 = $14;
+ $2550 = ((($2549)) + 14324|0);
+ $2551 = HEAP32[$2550>>2]|0;
+ $2552 = ($2548|0)!=($2551|0);
do {
- if ($cmp1925) {
- $1183 = $st$addr;
- $prev_mode1928 = ((($1183)) + 14324|0);
- $1184 = HEAP32[$prev_mode1928>>2]|0;
- $cmp1929 = ($1184|0)>(0);
- if (!($cmp1929)) {
+ if ($2552) {
+ $2553 = $14;
+ $2554 = ((($2553)) + 14324|0);
+ $2555 = HEAP32[$2554>>2]|0;
+ $2556 = ($2555|0)>(0);
+ if (!($2556)) {
break;
}
- $1185 = $celt_enc;
- (_opus_custom_encoder_ctl($1185,4028,$vararg_buffer72)|0);
- $1186 = $celt_enc;
- $1187 = $st$addr;
- $Fs1934 = ((($1187)) + 132|0);
- $1188 = HEAP32[$Fs1934>>2]|0;
- $div1935 = (($1188|0) / 400)&-1;
- (_celt_encode_with_ec($1186,$vla1562,$div1935,$dummy1932,2,0)|0);
- $1189 = $celt_enc;
- HEAP32[$vararg_buffer74>>2] = 0;
- (_opus_custom_encoder_ctl($1189,10002,$vararg_buffer74)|0);
+ $2557 = $28;
+ (_opus_custom_encoder_ctl($2557,4028,$vararg_buffer97)|0);
+ $2558 = $28;
+ $2559 = $14;
+ $2560 = ((($2559)) + 132|0);
+ $2561 = HEAP32[$2560>>2]|0;
+ $2562 = (($2561|0) / 400)&-1;
+ (_celt_encode_with_ec($2558,$2099,$2562,$110,2,0)|0);
+ $2563 = $28;
+ HEAP32[$vararg_buffer99>>2] = 0;
+ (_opus_custom_encoder_ctl($2563,10002,$vararg_buffer99)|0);
}
} while(0);
- $call1940 = (_ec_tell_14($enc)|0);
- $1190 = $nb_compr_bytes;
- $mul1941 = $1190<<3;
- $cmp1942 = ($call1940|0)<=($mul1941|0);
- if (!($cmp1942)) {
+ $2564 = (_ec_tell_14($32)|0);
+ $2565 = $39;
+ $2566 = $2565<<3;
+ $2567 = ($2564|0)<=($2566|0);
+ if (!($2567)) {
break;
}
- $1191 = $celt_enc;
- $1192 = $frame_size$addr;
- $1193 = $nb_compr_bytes;
- $call1945 = (_celt_encode_with_ec($1191,$vla904,$1192,0,$1193,$enc)|0);
- $ret = $call1945;
- $1194 = $ret;
- $cmp1946 = ($1194|0)<(0);
- if (!($cmp1946)) {
+ $2568 = $28;
+ $2569 = $16;
+ $2570 = $39;
+ $2571 = (_celt_encode_with_ec($2568,$1268,$2569,0,$2570,$32)|0);
+ $30 = $2571;
+ $2572 = $30;
+ $2573 = ($2572|0)<(0);
+ if (!($2573)) {
break;
}
- $retval = -3;
- $cleanup$dest$slot = 1;
+ $13 = -3;
+ $85 = 1;
break L430;
}
} while(0);
- $1195 = $redundancy;
- $tobool1952 = ($1195|0)==(0);
- $1196 = $celt_to_silk;
- $tobool1954 = ($1196|0)!=(0);
- $or$cond21 = $tobool1952 | $tobool1954;
+ $2574 = $36;
+ $2575 = ($2574|0)==(0);
+ $2576 = $38;
+ $2577 = ($2576|0)!=(0);
+ $or$cond39 = $2575 | $2577;
do {
- if (!($or$cond21)) {
- $1197 = $st$addr;
- $Fs1958 = ((($1197)) + 132|0);
- $1198 = HEAP32[$Fs1958>>2]|0;
- $div1959 = (($1198|0) / 200)&-1;
- $N2 = $div1959;
- $1199 = $st$addr;
- $Fs1960 = ((($1199)) + 132|0);
- $1200 = HEAP32[$Fs1960>>2]|0;
- $div1961 = (($1200|0) / 400)&-1;
- $N4 = $div1961;
- $1201 = $celt_enc;
- (_opus_custom_encoder_ctl($1201,4028,$vararg_buffer77)|0);
- $1202 = $celt_enc;
- HEAP32[$vararg_buffer79>>2] = 0;
- (_opus_custom_encoder_ctl($1202,10010,$vararg_buffer79)|0);
- $1203 = $celt_enc;
- HEAP32[$vararg_buffer82>>2] = 0;
- (_opus_custom_encoder_ctl($1203,10002,$vararg_buffer82)|0);
- $1204 = $celt_enc;
- $1205 = $st$addr;
- $channels1965 = ((($1205)) + 100|0);
- $1206 = HEAP32[$channels1965>>2]|0;
- $1207 = $frame_size$addr;
- $1208 = $N2;
- $sub1966 = (($1207) - ($1208))|0;
- $1209 = $N4;
- $sub1967 = (($sub1966) - ($1209))|0;
- $mul1968 = Math_imul($1206, $sub1967)|0;
- $add$ptr1969 = (($vla904) + ($mul1968<<2)|0);
- $1210 = $N4;
- (_celt_encode_with_ec($1204,$add$ptr1969,$1210,$dummy1957,2,0)|0);
- $1211 = $celt_enc;
- $1212 = $st$addr;
- $channels1972 = ((($1212)) + 100|0);
- $1213 = HEAP32[$channels1972>>2]|0;
- $1214 = $frame_size$addr;
- $1215 = $N2;
- $sub1973 = (($1214) - ($1215))|0;
- $mul1974 = Math_imul($1213, $sub1973)|0;
- $add$ptr1975 = (($vla904) + ($mul1974<<2)|0);
- $1216 = $N2;
- $1217 = $data$addr;
- $1218 = $nb_compr_bytes;
- $add$ptr1976 = (($1217) + ($1218)|0);
- $1219 = $redundancy_bytes;
- $call1977 = (_celt_encode_with_ec($1211,$add$ptr1975,$1216,$add$ptr1976,$1219,0)|0);
- $err1956 = $call1977;
- $1220 = $err1956;
- $cmp1978 = ($1220|0)<(0);
- if ($cmp1978) {
- $retval = -3;
- $cleanup$dest$slot = 1;
+ if (!($or$cond39)) {
+ $2578 = $14;
+ $2579 = ((($2578)) + 132|0);
+ $2580 = HEAP32[$2579>>2]|0;
+ $2581 = (($2580|0) / 200)&-1;
+ $113 = $2581;
+ $2582 = $14;
+ $2583 = ((($2582)) + 132|0);
+ $2584 = HEAP32[$2583>>2]|0;
+ $2585 = (($2584|0) / 400)&-1;
+ $114 = $2585;
+ $2586 = $28;
+ (_opus_custom_encoder_ctl($2586,4028,$vararg_buffer102)|0);
+ $2587 = $28;
+ HEAP32[$vararg_buffer104>>2] = 0;
+ (_opus_custom_encoder_ctl($2587,10010,$vararg_buffer104)|0);
+ $2588 = $28;
+ HEAP32[$vararg_buffer107>>2] = 0;
+ (_opus_custom_encoder_ctl($2588,10002,$vararg_buffer107)|0);
+ $2589 = $28;
+ $2590 = $14;
+ $2591 = ((($2590)) + 100|0);
+ $2592 = HEAP32[$2591>>2]|0;
+ $2593 = $16;
+ $2594 = $113;
+ $2595 = (($2593) - ($2594))|0;
+ $2596 = $114;
+ $2597 = (($2595) - ($2596))|0;
+ $2598 = Math_imul($2592, $2597)|0;
+ $2599 = (($1268) + ($2598<<2)|0);
+ $2600 = $114;
+ (_celt_encode_with_ec($2589,$2599,$2600,$112,2,0)|0);
+ $2601 = $28;
+ $2602 = $14;
+ $2603 = ((($2602)) + 100|0);
+ $2604 = HEAP32[$2603>>2]|0;
+ $2605 = $16;
+ $2606 = $113;
+ $2607 = (($2605) - ($2606))|0;
+ $2608 = Math_imul($2604, $2607)|0;
+ $2609 = (($1268) + ($2608<<2)|0);
+ $2610 = $113;
+ $2611 = $17;
+ $2612 = $39;
+ $2613 = (($2611) + ($2612)|0);
+ $2614 = $37;
+ $2615 = (_celt_encode_with_ec($2601,$2609,$2610,$2613,$2614,0)|0);
+ $111 = $2615;
+ $2616 = $111;
+ $2617 = ($2616|0)<(0);
+ if ($2617) {
+ $13 = -3;
+ $85 = 1;
break L430;
} else {
- $1221 = $celt_enc;
- $sub$ptr$lhs$cast1982 = $redundant_rng;
- $sub$ptr$rhs$cast1983 = $redundant_rng;
- $sub$ptr$sub1984 = (($sub$ptr$lhs$cast1982) - ($sub$ptr$rhs$cast1983))|0;
- $sub$ptr$div1985 = (($sub$ptr$sub1984|0) / 4)&-1;
- $add$ptr1986 = (($redundant_rng) + ($sub$ptr$div1985<<2)|0);
- HEAP32[$vararg_buffer85>>2] = $add$ptr1986;
- (_opus_custom_encoder_ctl($1221,4031,$vararg_buffer85)|0);
+ $2618 = $28;
+ $2619 = $41;
+ $2620 = $41;
+ $2621 = (($2619) - ($2620))|0;
+ $2622 = (($2621|0) / 4)&-1;
+ $2623 = (($41) + ($2622<<2)|0);
+ HEAP32[$vararg_buffer110>>2] = $2623;
+ (_opus_custom_encoder_ctl($2618,4031,$vararg_buffer110)|0);
break;
}
}
} while(0);
- $1222 = $data$addr;
- $incdec$ptr = ((($1222)) + -1|0);
- $data$addr = $incdec$ptr;
- $1223 = $st$addr;
- $mode1989 = ((($1223)) + 14320|0);
- $1224 = HEAP32[$mode1989>>2]|0;
- $1225 = $st$addr;
- $Fs1990 = ((($1225)) + 132|0);
- $1226 = HEAP32[$Fs1990>>2]|0;
- $1227 = $frame_size$addr;
- $div1991 = (($1226|0) / ($1227|0))&-1;
- $1228 = $curr_bandwidth;
- $1229 = $st$addr;
- $stream_channels1992 = ((($1229)) + 14288|0);
- $1230 = HEAP32[$stream_channels1992>>2]|0;
- $call1993 = (_gen_toc($1224,$div1991,$1228,$1230)|0);
- $1231 = $data$addr;
- HEAP8[$1231>>0] = $call1993;
- $rng = ((($enc)) + 28|0);
- $1232 = HEAP32[$rng>>2]|0;
- $1233 = HEAP32[$redundant_rng>>2]|0;
- $xor = $1232 ^ $1233;
- $1234 = $st$addr;
- $rangeFinal1995 = ((($1234)) + 18216|0);
- HEAP32[$rangeFinal1995>>2] = $xor;
- $1235 = $to_celt;
- $tobool1996 = ($1235|0)!=(0);
- $1236 = $st$addr;
- if ($tobool1996) {
- $$sink22 = 1002;$$sink23 = $1236;
+ $2624 = $17;
+ $2625 = ((($2624)) + -1|0);
+ $17 = $2625;
+ $2626 = $14;
+ $2627 = ((($2626)) + 14320|0);
+ $2628 = HEAP32[$2627>>2]|0;
+ $2629 = $14;
+ $2630 = ((($2629)) + 132|0);
+ $2631 = HEAP32[$2630>>2]|0;
+ $2632 = $16;
+ $2633 = (($2631|0) / ($2632|0))&-1;
+ $2634 = $49;
+ $2635 = $14;
+ $2636 = ((($2635)) + 14288|0);
+ $2637 = HEAP32[$2636>>2]|0;
+ $2638 = (_gen_toc($2628,$2633,$2634,$2637)|0);
+ $2639 = $17;
+ HEAP8[$2639>>0] = $2638;
+ $2640 = ((($32)) + 28|0);
+ $2641 = HEAP32[$2640>>2]|0;
+ $2642 = HEAP32[$41>>2]|0;
+ $2643 = $2641 ^ $2642;
+ $2644 = $14;
+ $2645 = ((($2644)) + 18216|0);
+ HEAP32[$2645>>2] = $2643;
+ $2646 = $40;
+ $2647 = ($2646|0)!=(0);
+ $2648 = $14;
+ if ($2647) {
+ $$sink40 = 1002;$$sink42 = $2648;
} else {
- $mode2000 = ((($1236)) + 14320|0);
- $1237 = HEAP32[$mode2000>>2]|0;
- $1238 = $st$addr;
- $$sink22 = $1237;$$sink23 = $1238;
+ $2649 = ((($2648)) + 14320|0);
+ $2650 = HEAP32[$2649>>2]|0;
+ $2651 = $14;
+ $$sink40 = $2650;$$sink42 = $2651;
}
- $prev_mode2001 = ((($$sink23)) + 14324|0);
- HEAP32[$prev_mode2001>>2] = $$sink22;
- $1239 = $st$addr;
- $stream_channels2003 = ((($1239)) + 14288|0);
- $1240 = HEAP32[$stream_channels2003>>2]|0;
- $1241 = $st$addr;
- $prev_channels2004 = ((($1241)) + 14328|0);
- HEAP32[$prev_channels2004>>2] = $1240;
- $1242 = $frame_size$addr;
- $1243 = $st$addr;
- $prev_framesize = ((($1243)) + 14332|0);
- HEAP32[$prev_framesize>>2] = $1242;
- $1244 = $st$addr;
- $first2005 = ((($1244)) + 14344|0);
- HEAP32[$first2005>>2] = 0;
- $call2006 = (_ec_tell_14($enc)|0);
- $1245 = $max_data_bytes;
- $sub2007 = (($1245) - 1)|0;
- $mul2008 = $sub2007<<3;
- $cmp2009 = ($call2006|0)>($mul2008|0);
+ $2652 = ((($$sink42)) + 14324|0);
+ HEAP32[$2652>>2] = $$sink40;
+ $2653 = $14;
+ $2654 = ((($2653)) + 14288|0);
+ $2655 = HEAP32[$2654>>2]|0;
+ $2656 = $14;
+ $2657 = ((($2656)) + 14328|0);
+ HEAP32[$2657>>2] = $2655;
+ $2658 = $16;
+ $2659 = $14;
+ $2660 = ((($2659)) + 14332|0);
+ HEAP32[$2660>>2] = $2658;
+ $2661 = $14;
+ $2662 = ((($2661)) + 14344|0);
+ HEAP32[$2662>>2] = 0;
+ $2663 = (_ec_tell_14($32)|0);
+ $2664 = $51;
+ $2665 = (($2664) - 1)|0;
+ $2666 = $2665<<3;
+ $2667 = ($2663|0)>($2666|0);
L557: do {
- if ($cmp2009) {
- $1246 = $max_data_bytes;
- $cmp2012 = ($1246|0)<(2);
- if ($cmp2012) {
- $retval = -2;
- $cleanup$dest$slot = 1;
+ if ($2667) {
+ $2668 = $51;
+ $2669 = ($2668|0)<(2);
+ if ($2669) {
+ $13 = -2;
+ $85 = 1;
break L430;
} else {
- $1247 = $data$addr;
- $arrayidx2016 = ((($1247)) + 1|0);
- HEAP8[$arrayidx2016>>0] = 0;
- $ret = 1;
- $1248 = $st$addr;
- $rangeFinal2017 = ((($1248)) + 18216|0);
- HEAP32[$rangeFinal2017>>2] = 0;
+ $2670 = $17;
+ $2671 = ((($2670)) + 1|0);
+ HEAP8[$2671>>0] = 0;
+ $30 = 1;
+ $2672 = $14;
+ $2673 = ((($2672)) + 18216|0);
+ HEAP32[$2673>>2] = 0;
break;
}
} else {
- $1249 = $st$addr;
- $mode2019 = ((($1249)) + 14320|0);
- $1250 = HEAP32[$mode2019>>2]|0;
- $cmp2020 = ($1250|0)!=(1000);
- $1251 = $redundancy;
- $tobool2023 = ($1251|0)!=(0);
- $or$cond24 = $cmp2020 | $tobool2023;
- $or$cond24$not = $or$cond24 ^ 1;
- $1252 = $ret;
- $cmp2025 = ($1252|0)>(2);
- $or$cond27 = $or$cond24$not & $cmp2025;
- if (!($or$cond27)) {
+ $2674 = $14;
+ $2675 = ((($2674)) + 14320|0);
+ $2676 = HEAP32[$2675>>2]|0;
+ $2677 = ($2676|0)!=(1000);
+ $2678 = $36;
+ $2679 = ($2678|0)!=(0);
+ $or$cond44 = $2677 | $2679;
+ $or$cond44$not = $or$cond44 ^ 1;
+ $2680 = $30;
+ $2681 = ($2680|0)>(2);
+ $or$cond52 = $or$cond44$not & $2681;
+ if (!($or$cond52)) {
break;
}
while(1) {
- $1253 = $data$addr;
- $1254 = $ret;
- $arrayidx2027 = (($1253) + ($1254)|0);
- $1255 = HEAP8[$arrayidx2027>>0]|0;
- $conv2028 = $1255&255;
- $cmp2029 = ($conv2028|0)==(0);
- if (!($cmp2029)) {
+ $2682 = $17;
+ $2683 = $30;
+ $2684 = (($2682) + ($2683)|0);
+ $2685 = HEAP8[$2684>>0]|0;
+ $2686 = $2685&255;
+ $2687 = ($2686|0)==(0);
+ if (!($2687)) {
break L557;
}
- $1256 = $ret;
- $dec2031 = (($1256) + -1)|0;
- $ret = $dec2031;
- $$old = $ret;
- $cmp2025$old = ($$old|0)>(2);
- if (!($cmp2025$old)) {
+ $2688 = $30;
+ $2689 = (($2688) + -1)|0;
+ $30 = $2689;
+ $$old = $30;
+ $$old51 = ($$old|0)>(2);
+ if (!($$old51)) {
break;
}
}
}
} while(0);
- $1257 = $redundancy_bytes;
- $add2034 = (1 + ($1257))|0;
- $1258 = $ret;
- $add2035 = (($1258) + ($add2034))|0;
- $ret = $add2035;
- $1259 = $st$addr;
- $use_vbr2036 = ((($1259)) + 136|0);
- $1260 = HEAP32[$use_vbr2036>>2]|0;
- $tobool2037 = ($1260|0)!=(0);
+ $2690 = $37;
+ $2691 = (1 + ($2690))|0;
+ $2692 = $30;
+ $2693 = (($2692) + ($2691))|0;
+ $30 = $2693;
+ $2694 = $14;
+ $2695 = ((($2694)) + 136|0);
+ $2696 = HEAP32[$2695>>2]|0;
+ $2697 = ($2696|0)!=(0);
do {
- if (!($tobool2037)) {
- $1261 = $data$addr;
- $1262 = $ret;
- $1263 = $max_data_bytes;
- $call2039 = (_opus_packet_pad($1261,$1262,$1263)|0);
- $cmp2040 = ($call2039|0)!=(0);
- if ($cmp2040) {
- $retval = -3;
- $cleanup$dest$slot = 1;
+ if (!($2697)) {
+ $2698 = $17;
+ $2699 = $30;
+ $2700 = $51;
+ $2701 = (_opus_packet_pad($2698,$2699,$2700)|0);
+ $2702 = ($2701|0)!=(0);
+ if ($2702) {
+ $13 = -3;
+ $85 = 1;
break L430;
} else {
- $1264 = $max_data_bytes;
- $ret = $1264;
+ $2703 = $51;
+ $30 = $2703;
break;
}
}
} while(0);
- $1265 = $ret;
- $retval = $1265;
- $cleanup$dest$slot = 1;
+ $2704 = $30;
+ $13 = $2704;
+ $85 = 1;
}
} while(0);
- $1266 = $saved_stack903;
- _llvm_stackrestore(($1266|0));
- $1267 = $retval;
- STACKTOP = sp;return ($1267|0);
+ $2705 = $86;
+ _llvm_stackrestore(($2705|0));
+ $2706 = $13;
+ STACKTOP = sp;return ($2706|0);
}
}
} while(0);
- $106 = $st$addr;
- $mode = ((($106)) + 14320|0);
- $107 = HEAP32[$mode>>2]|0;
- $tocmode = $107;
- $108 = $st$addr;
- $bandwidth118 = ((($108)) + 14336|0);
- $109 = HEAP32[$bandwidth118>>2]|0;
- $cmp119 = ($109|0)==(0);
- if ($cmp119) {
- $cond125 = 1101;
+ $318 = $14;
+ $319 = ((($318)) + 14320|0);
+ $320 = HEAP32[$319>>2]|0;
+ $59 = $320;
+ $321 = $14;
+ $322 = ((($321)) + 14336|0);
+ $323 = HEAP32[$322>>2]|0;
+ $324 = ($323|0)==(0);
+ if ($324) {
+ $328 = 1101;
} else {
- $110 = $st$addr;
- $bandwidth123 = ((($110)) + 14336|0);
- $111 = HEAP32[$bandwidth123>>2]|0;
- $cond125 = $111;
+ $325 = $14;
+ $326 = ((($325)) + 14336|0);
+ $327 = HEAP32[$326>>2]|0;
+ $328 = $327;
}
- $bw = $cond125;
- $112 = $tocmode;
- $cmp126 = ($112|0)==(0);
- if ($cmp126) {
- $tocmode = 1000;
+ $60 = $328;
+ $329 = $59;
+ $330 = ($329|0)==(0);
+ if ($330) {
+ $59 = 1000;
}
- $113 = $frame_rate;
- $cmp130 = ($113|0)>(100);
- if ($cmp130) {
- $tocmode = 1002;
+ $331 = $47;
+ $332 = ($331|0)>(100);
+ if ($332) {
+ $59 = 1002;
}
- $114 = $frame_rate;
- $cmp134 = ($114|0)<(50);
- if ($cmp134) {
- $tocmode = 1000;
+ $333 = $47;
+ $334 = ($333|0)<(50);
+ if ($334) {
+ $59 = 1000;
}
- $115 = $tocmode;
- $cmp138 = ($115|0)==(1000);
- $116 = $bw;
- $cmp141 = ($116|0)>(1103);
- $or$cond2 = $cmp138 & $cmp141;
+ $335 = $59;
+ $336 = ($335|0)==(1000);
+ $337 = $60;
+ $338 = ($337|0)>(1103);
+ $or$cond3 = $336 & $338;
do {
- if ($or$cond2) {
- $bw = 1103;
- } else {
- $117 = $tocmode;
- $cmp145 = ($117|0)==(1002);
- $118 = $bw;
- $cmp148 = ($118|0)==(1102);
- $or$cond3 = $cmp145 & $cmp148;
- if ($or$cond3) {
- $bw = 1101;
- break;
- }
- $119 = $bw;
- $cmp152 = ($119|0)<=(1104);
- if ($cmp152) {
- $bw = 1104;
- }
- }
- } while(0);
- $120 = $tocmode;
- $121 = $frame_rate;
- $122 = $bw;
- $123 = $st$addr;
- $stream_channels = ((($123)) + 14288|0);
- $124 = HEAP32[$stream_channels>>2]|0;
- $call158 = (_gen_toc($120,$121,$122,$124)|0);
- $125 = $data$addr;
- HEAP8[$125>>0] = $call158;
- $retval = 1;
- $1267 = $retval;
- STACKTOP = sp;return ($1267|0);
- }
- }
- $retval = -1;
- $1267 = $retval;
- STACKTOP = sp;return ($1267|0);
-}
-function _user_bitrate_to_bitrate($st,$frame_size,$max_data_bytes) {
- $st = $st|0;
- $frame_size = $frame_size|0;
- $max_data_bytes = $max_data_bytes|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
- var $Fs = 0, $Fs10 = 0, $Fs2 = 0, $Fs4 = 0, $add = 0, $channels = 0, $cmp = 0, $cmp7 = 0, $div = 0, $div12 = 0, $div3 = 0, $frame_size$addr = 0, $max_data_bytes$addr = 0, $mul = 0, $mul11 = 0, $mul5 = 0, $mul9 = 0, $retval = 0, $st$addr = 0, $tobool = 0;
- var $user_bitrate_bps = 0, $user_bitrate_bps14 = 0, $user_bitrate_bps6 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $st$addr = $st;
- $frame_size$addr = $frame_size;
- $max_data_bytes$addr = $max_data_bytes;
- $0 = $frame_size$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $1 = $st$addr;
- $Fs = ((($1)) + 132|0);
- $2 = HEAP32[$Fs>>2]|0;
- $div = (($2|0) / 400)&-1;
- $frame_size$addr = $div;
- }
- $3 = $st$addr;
- $user_bitrate_bps = ((($3)) + 152|0);
- $4 = HEAP32[$user_bitrate_bps>>2]|0;
- $cmp = ($4|0)==(-1000);
- $5 = $st$addr;
- if ($cmp) {
- $Fs2 = ((($5)) + 132|0);
- $6 = HEAP32[$Fs2>>2]|0;
- $mul = ($6*60)|0;
- $7 = $frame_size$addr;
- $div3 = (($mul|0) / ($7|0))&-1;
- $8 = $st$addr;
- $Fs4 = ((($8)) + 132|0);
- $9 = HEAP32[$Fs4>>2]|0;
- $10 = $st$addr;
- $channels = ((($10)) + 100|0);
- $11 = HEAP32[$channels>>2]|0;
- $mul5 = Math_imul($9, $11)|0;
- $add = (($div3) + ($mul5))|0;
- $retval = $add;
- $19 = $retval;
- STACKTOP = sp;return ($19|0);
- }
- $user_bitrate_bps6 = ((($5)) + 152|0);
- $12 = HEAP32[$user_bitrate_bps6>>2]|0;
- $cmp7 = ($12|0)==(-1);
- if ($cmp7) {
- $13 = $max_data_bytes$addr;
- $mul9 = $13<<3;
- $14 = $st$addr;
- $Fs10 = ((($14)) + 132|0);
- $15 = HEAP32[$Fs10>>2]|0;
- $mul11 = Math_imul($mul9, $15)|0;
- $16 = $frame_size$addr;
- $div12 = (($mul11|0) / ($16|0))&-1;
- $retval = $div12;
- $19 = $retval;
- STACKTOP = sp;return ($19|0);
- } else {
- $17 = $st$addr;
- $user_bitrate_bps14 = ((($17)) + 152|0);
- $18 = HEAP32[$user_bitrate_bps14>>2]|0;
- $retval = $18;
- $19 = $retval;
- STACKTOP = sp;return ($19|0);
- }
- return (0)|0;
-}
-function _gen_toc($mode,$framerate,$bandwidth,$channels) {
- $mode = $mode|0;
- $framerate = $framerate|0;
- $bandwidth = $bandwidth|0;
- $channels = $channels|0;
- var $$sub10 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
- var $8 = 0, $9 = 0, $bandwidth$addr = 0, $channels$addr = 0, $cmp = 0, $cmp1 = 0, $cmp11 = 0, $cmp35 = 0, $cmp7 = 0, $conv = 0, $conv15 = 0, $conv17 = 0, $conv19 = 0, $conv21 = 0, $conv25 = 0, $conv27 = 0, $conv30 = 0, $conv32 = 0, $conv36 = 0, $conv38 = 0;
- var $conv40 = 0, $conv5 = 0, $conv6 = 0, $framerate$addr = 0, $inc = 0, $mode$addr = 0, $or = 0, $or16 = 0, $or20 = 0, $or26 = 0, $or31 = 0, $or39 = 0, $period = 0, $shl = 0, $shl14 = 0, $shl18 = 0, $shl2 = 0, $shl24 = 0, $shl29 = 0, $shl37 = 0;
- var $shl4 = 0, $sub = 0, $sub10 = 0, $sub23 = 0, $sub28 = 0, $sub3 = 0, $tmp = 0, $toc = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $mode$addr = $mode;
- $framerate$addr = $framerate;
- $bandwidth$addr = $bandwidth;
- $channels$addr = $channels;
- $period = 0;
- while(1) {
- $0 = $framerate$addr;
- $cmp = ($0|0)<(400);
- if (!($cmp)) {
- break;
- }
- $1 = $framerate$addr;
- $shl = $1 << 1;
- $framerate$addr = $shl;
- $2 = $period;
- $inc = (($2) + 1)|0;
- $period = $inc;
- }
- $3 = $mode$addr;
- $cmp1 = ($3|0)==(1000);
- do {
- if ($cmp1) {
- $4 = $bandwidth$addr;
- $sub = (($4) - 1101)|0;
- $shl2 = $sub << 5;
- $conv = $shl2&255;
- $toc = $conv;
- $5 = $period;
- $sub3 = (($5) - 2)|0;
- $shl4 = $sub3 << 3;
- $6 = $toc;
- $conv5 = $6&255;
- $or = $conv5 | $shl4;
- $conv6 = $or&255;
- $toc = $conv6;
- } else {
- $7 = $mode$addr;
- $cmp7 = ($7|0)==(1002);
- if ($cmp7) {
- $8 = $bandwidth$addr;
- $sub10 = (($8) - 1102)|0;
- $tmp = $sub10;
- $9 = $tmp;
- $cmp11 = ($9|0)<(0);
- $$sub10 = $cmp11 ? 0 : $sub10;
- $tmp = $$sub10;
- $toc = -128;
- $10 = $tmp;
- $shl14 = $10 << 5;
- $11 = $toc;
- $conv15 = $11&255;
- $or16 = $conv15 | $shl14;
- $conv17 = $or16&255;
- $toc = $conv17;
- $12 = $period;
- $shl18 = $12 << 3;
- $13 = $toc;
- $conv19 = $13&255;
- $or20 = $conv19 | $shl18;
- $conv21 = $or20&255;
- $toc = $conv21;
- break;
- } else {
- $toc = 96;
- $14 = $bandwidth$addr;
- $sub23 = (($14) - 1104)|0;
- $shl24 = $sub23 << 4;
- $15 = $toc;
- $conv25 = $15&255;
- $or26 = $conv25 | $shl24;
- $conv27 = $or26&255;
- $toc = $conv27;
- $16 = $period;
- $sub28 = (($16) - 2)|0;
- $shl29 = $sub28 << 3;
- $17 = $toc;
- $conv30 = $17&255;
- $or31 = $conv30 | $shl29;
- $conv32 = $or31&255;
- $toc = $conv32;
- break;
- }
- }
- } while(0);
- $18 = $channels$addr;
- $cmp35 = ($18|0)==(2);
- $conv36 = $cmp35&1;
- $shl37 = $conv36 << 2;
- $19 = $toc;
- $conv38 = $19&255;
- $or39 = $conv38 | $shl37;
- $conv40 = $or39&255;
- $toc = $conv40;
- $20 = $toc;
- STACKTOP = sp;return ($20|0);
-}
-function _hp_cutoff($in,$cutoff_Hz,$out,$hp_mem,$len,$channels,$Fs) {
- $in = $in|0;
- $cutoff_Hz = $cutoff_Hz|0;
- $out = $out|0;
- $hp_mem = $hp_mem|0;
- $len = $len|0;
- $channels = $channels|0;
- $Fs = $Fs|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $A_Q28 = 0, $B_Q28 = 0, $Fc_Q19 = 0, $Fs$addr = 0, $add = 0, $add$ptr = 0, $add$ptr89 = 0, $add$ptr90 = 0, $add17 = 0, $add20 = 0, $add35 = 0, $add37 = 0, $add40 = 0, $add46 = 0, $add56 = 0;
- var $add58 = 0, $add61 = 0, $add64 = 0, $add67 = 0, $add78 = 0, $add80 = 0, $add83 = 0, $and = 0, $and25 = 0, $and30 = 0, $and51 = 0, $and73 = 0, $arrayidx5 = 0, $arrayidx6 = 0, $arrayidx84 = 0, $channels$addr = 0, $cmp = 0, $conv = 0, $conv1 = 0, $conv10 = 0;
- var $conv12 = 0, $conv13 = 0, $conv22 = 0, $conv23 = 0, $conv27 = 0, $conv28 = 0, $conv31 = 0, $conv32 = 0, $conv42 = 0, $conv43 = 0, $conv48 = 0, $conv49 = 0, $conv52 = 0, $conv53 = 0, $conv70 = 0, $conv71 = 0, $conv74 = 0, $conv75 = 0, $conv9 = 0, $cutoff_Hz$addr = 0;
- var $div = 0, $div2 = 0, $hp_mem$addr = 0, $in$addr = 0, $len$addr = 0, $mul = 0, $mul11 = 0, $mul14 = 0, $mul19 = 0, $mul24 = 0, $mul29 = 0, $mul3 = 0, $mul33 = 0, $mul39 = 0, $mul44 = 0, $mul50 = 0, $mul54 = 0, $mul60 = 0, $mul66 = 0, $mul72 = 0;
- var $mul76 = 0, $mul82 = 0, $out$addr = 0, $r_Q22 = 0, $r_Q28 = 0, $shl = 0, $shr = 0, $shr15 = 0, $shr16 = 0, $shr18 = 0, $shr26 = 0, $shr34 = 0, $shr36 = 0, $shr38 = 0, $shr45 = 0, $shr47 = 0, $shr55 = 0, $shr57 = 0, $shr59 = 0, $shr63 = 0;
- var $shr65 = 0, $shr69 = 0, $shr7 = 0, $shr77 = 0, $shr79 = 0, $shr8 = 0, $shr81 = 0, $sub = 0, $sub21 = 0, $sub4 = 0, $sub41 = 0, $sub62 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $B_Q28 = sp + 24|0;
- $A_Q28 = sp + 16|0;
- $in$addr = $in;
- $cutoff_Hz$addr = $cutoff_Hz;
- $out$addr = $out;
- $hp_mem$addr = $hp_mem;
- $len$addr = $len;
- $channels$addr = $channels;
- $Fs$addr = $Fs;
- $0 = $cutoff_Hz$addr;
- $conv = $0&65535;
- $conv1 = $conv << 16 >> 16;
- $mul = ($conv1*2471)|0;
- $1 = $Fs$addr;
- $div = (($1|0) / 1000)&-1;
- $div2 = (($mul|0) / ($div|0))&-1;
- $Fc_Q19 = $div2;
- $2 = $Fc_Q19;
- $mul3 = ($2*471)|0;
- $sub = (268435456 - ($mul3))|0;
- $r_Q28 = $sub;
- $3 = $r_Q28;
- HEAP32[$B_Q28>>2] = $3;
- $4 = $r_Q28;
- $sub4 = (0 - ($4))|0;
- $shl = $sub4 << 1;
- $arrayidx5 = ((($B_Q28)) + 4|0);
- HEAP32[$arrayidx5>>2] = $shl;
- $5 = $r_Q28;
- $arrayidx6 = ((($B_Q28)) + 8|0);
- HEAP32[$arrayidx6>>2] = $5;
- $6 = $r_Q28;
- $shr = $6 >> 6;
- $r_Q22 = $shr;
- $7 = $r_Q22;
- $shr7 = $7 >> 16;
- $8 = $Fc_Q19;
- $shr8 = $8 >> 16;
- $9 = $Fc_Q19;
- $conv9 = $9&65535;
- $conv10 = $conv9 << 16 >> 16;
- $mul11 = Math_imul($shr8, $conv10)|0;
- $10 = $Fc_Q19;
- $and = $10 & 65535;
- $11 = $Fc_Q19;
- $conv12 = $11&65535;
- $conv13 = $conv12 << 16 >> 16;
- $mul14 = Math_imul($and, $conv13)|0;
- $shr15 = $mul14 >> 16;
- $add = (($mul11) + ($shr15))|0;
- $12 = $Fc_Q19;
- $13 = $Fc_Q19;
- $shr16 = $13 >> 15;
- $add17 = (($shr16) + 1)|0;
- $shr18 = $add17 >> 1;
- $mul19 = Math_imul($12, $shr18)|0;
- $add20 = (($add) + ($mul19))|0;
- $sub21 = (($add20) - 8388608)|0;
- $conv22 = $sub21&65535;
- $conv23 = $conv22 << 16 >> 16;
- $mul24 = Math_imul($shr7, $conv23)|0;
- $14 = $r_Q22;
- $and25 = $14 & 65535;
- $15 = $Fc_Q19;
- $shr26 = $15 >> 16;
- $16 = $Fc_Q19;
- $conv27 = $16&65535;
- $conv28 = $conv27 << 16 >> 16;
- $mul29 = Math_imul($shr26, $conv28)|0;
- $17 = $Fc_Q19;
- $and30 = $17 & 65535;
- $18 = $Fc_Q19;
- $conv31 = $18&65535;
- $conv32 = $conv31 << 16 >> 16;
- $mul33 = Math_imul($and30, $conv32)|0;
- $shr34 = $mul33 >> 16;
- $add35 = (($mul29) + ($shr34))|0;
- $19 = $Fc_Q19;
- $20 = $Fc_Q19;
- $shr36 = $20 >> 15;
- $add37 = (($shr36) + 1)|0;
- $shr38 = $add37 >> 1;
- $mul39 = Math_imul($19, $shr38)|0;
- $add40 = (($add35) + ($mul39))|0;
- $sub41 = (($add40) - 8388608)|0;
- $conv42 = $sub41&65535;
- $conv43 = $conv42 << 16 >> 16;
- $mul44 = Math_imul($and25, $conv43)|0;
- $shr45 = $mul44 >> 16;
- $add46 = (($mul24) + ($shr45))|0;
- $21 = $r_Q22;
- $22 = $Fc_Q19;
- $shr47 = $22 >> 16;
- $23 = $Fc_Q19;
- $conv48 = $23&65535;
- $conv49 = $conv48 << 16 >> 16;
- $mul50 = Math_imul($shr47, $conv49)|0;
- $24 = $Fc_Q19;
- $and51 = $24 & 65535;
- $25 = $Fc_Q19;
- $conv52 = $25&65535;
- $conv53 = $conv52 << 16 >> 16;
- $mul54 = Math_imul($and51, $conv53)|0;
- $shr55 = $mul54 >> 16;
- $add56 = (($mul50) + ($shr55))|0;
- $26 = $Fc_Q19;
- $27 = $Fc_Q19;
- $shr57 = $27 >> 15;
- $add58 = (($shr57) + 1)|0;
- $shr59 = $add58 >> 1;
- $mul60 = Math_imul($26, $shr59)|0;
- $add61 = (($add56) + ($mul60))|0;
- $sub62 = (($add61) - 8388608)|0;
- $shr63 = $sub62 >> 15;
- $add64 = (($shr63) + 1)|0;
- $shr65 = $add64 >> 1;
- $mul66 = Math_imul($21, $shr65)|0;
- $add67 = (($add46) + ($mul66))|0;
- HEAP32[$A_Q28>>2] = $add67;
- $28 = $r_Q22;
- $shr69 = $28 >> 16;
- $29 = $r_Q22;
- $conv70 = $29&65535;
- $conv71 = $conv70 << 16 >> 16;
- $mul72 = Math_imul($shr69, $conv71)|0;
- $30 = $r_Q22;
- $and73 = $30 & 65535;
- $31 = $r_Q22;
- $conv74 = $31&65535;
- $conv75 = $conv74 << 16 >> 16;
- $mul76 = Math_imul($and73, $conv75)|0;
- $shr77 = $mul76 >> 16;
- $add78 = (($mul72) + ($shr77))|0;
- $32 = $r_Q22;
- $33 = $r_Q22;
- $shr79 = $33 >> 15;
- $add80 = (($shr79) + 1)|0;
- $shr81 = $add80 >> 1;
- $mul82 = Math_imul($32, $shr81)|0;
- $add83 = (($add78) + ($mul82))|0;
- $arrayidx84 = ((($A_Q28)) + 4|0);
- HEAP32[$arrayidx84>>2] = $add83;
- $34 = $in$addr;
- $35 = $hp_mem$addr;
- $36 = $out$addr;
- $37 = $len$addr;
- $38 = $channels$addr;
- _silk_biquad_float($34,$B_Q28,$A_Q28,$35,$36,$37,$38);
- $39 = $channels$addr;
- $cmp = ($39|0)==(2);
- if (!($cmp)) {
- STACKTOP = sp;return;
- }
- $40 = $in$addr;
- $add$ptr = ((($40)) + 4|0);
- $41 = $hp_mem$addr;
- $add$ptr89 = ((($41)) + 8|0);
- $42 = $out$addr;
- $add$ptr90 = ((($42)) + 4|0);
- $43 = $len$addr;
- $44 = $channels$addr;
- _silk_biquad_float($add$ptr,$B_Q28,$A_Q28,$add$ptr89,$add$ptr90,$43,$44);
- STACKTOP = sp;return;
-}
-function _dc_reject($in,$cutoff_Hz,$out,$hp_mem,$len,$channels,$Fs) {
- $in = $in|0;
- $cutoff_Hz = $cutoff_Hz|0;
- $out = $out|0;
- $hp_mem = $hp_mem|0;
- $len = $len|0;
- $channels = $channels|0;
- $Fs = $Fs|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Fs$addr = 0, $add = 0, $add16 = 0.0, $add17 = 0.0, $add21 = 0, $add25 = 0, $add28 = 0, $add32 = 0.0, $add33 = 0.0, $add35 = 0, $add38 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx13 = 0;
- var $arrayidx19 = 0, $arrayidx22 = 0, $arrayidx26 = 0, $arrayidx29 = 0, $arrayidx36 = 0, $arrayidx39 = 0, $arrayidx9 = 0, $c = 0, $channels$addr = 0, $cmp = 0, $cmp4 = 0, $coef = 0.0, $conv = 0.0, $conv1 = 0.0, $cutoff_Hz$addr = 0, $div = 0.0, $hp_mem$addr = 0, $i = 0, $in$addr = 0, $inc = 0;
- var $inc41 = 0, $len$addr = 0, $mul = 0.0, $mul10 = 0, $mul12 = 0, $mul15 = 0.0, $mul18 = 0, $mul20 = 0, $mul24 = 0, $mul27 = 0, $mul31 = 0.0, $mul34 = 0, $mul37 = 0, $mul7 = 0, $mul8 = 0, $out$addr = 0, $sub = 0.0, $sub14 = 0.0, $sub23 = 0.0, $sub30 = 0.0;
- var $tmp = 0.0, $x = 0.0, $y = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $in$addr = $in;
- $cutoff_Hz$addr = $cutoff_Hz;
- $out$addr = $out;
- $hp_mem$addr = $hp_mem;
- $len$addr = $len;
- $channels$addr = $channels;
- $Fs$addr = $Fs;
- $0 = $cutoff_Hz$addr;
- $conv = (+($0|0));
- $mul = 4.0 * $conv;
- $1 = $Fs$addr;
- $conv1 = (+($1|0));
- $div = $mul / $conv1;
- $coef = $div;
- $c = 0;
- while(1) {
- $2 = $c;
- $3 = $channels$addr;
- $cmp = ($2|0)<($3|0);
- if (!($cmp)) {
- break;
- }
- $i = 0;
- while(1) {
- $4 = $i;
- $5 = $len$addr;
- $cmp4 = ($4|0)<($5|0);
- if (!($cmp4)) {
- break;
- }
- $6 = $in$addr;
- $7 = $channels$addr;
- $8 = $i;
- $mul7 = Math_imul($7, $8)|0;
- $9 = $c;
- $add = (($mul7) + ($9))|0;
- $arrayidx = (($6) + ($add<<2)|0);
- $10 = +HEAPF32[$arrayidx>>2];
- $x = $10;
- $11 = $x;
- $12 = $hp_mem$addr;
- $13 = $c;
- $mul8 = $13<<1;
- $arrayidx9 = (($12) + ($mul8<<2)|0);
- $14 = +HEAPF32[$arrayidx9>>2];
- $sub = $11 - $14;
- $tmp = $sub;
- $15 = $hp_mem$addr;
- $16 = $c;
- $mul10 = $16<<1;
- $arrayidx11 = (($15) + ($mul10<<2)|0);
- $17 = +HEAPF32[$arrayidx11>>2];
- $18 = $coef;
- $19 = $x;
- $20 = $hp_mem$addr;
- $21 = $c;
- $mul12 = $21<<1;
- $arrayidx13 = (($20) + ($mul12<<2)|0);
- $22 = +HEAPF32[$arrayidx13>>2];
- $sub14 = $19 - $22;
- $mul15 = $18 * $sub14;
- $add16 = $17 + $mul15;
- $add17 = $add16 + 1.0000000031710769E-30;
- $23 = $hp_mem$addr;
- $24 = $c;
- $mul18 = $24<<1;
- $arrayidx19 = (($23) + ($mul18<<2)|0);
- HEAPF32[$arrayidx19>>2] = $add17;
- $25 = $tmp;
- $26 = $hp_mem$addr;
- $27 = $c;
- $mul20 = $27<<1;
- $add21 = (($mul20) + 1)|0;
- $arrayidx22 = (($26) + ($add21<<2)|0);
- $28 = +HEAPF32[$arrayidx22>>2];
- $sub23 = $25 - $28;
- $y = $sub23;
- $29 = $hp_mem$addr;
- $30 = $c;
- $mul24 = $30<<1;
- $add25 = (($mul24) + 1)|0;
- $arrayidx26 = (($29) + ($add25<<2)|0);
- $31 = +HEAPF32[$arrayidx26>>2];
- $32 = $coef;
- $33 = $tmp;
- $34 = $hp_mem$addr;
- $35 = $c;
- $mul27 = $35<<1;
- $add28 = (($mul27) + 1)|0;
- $arrayidx29 = (($34) + ($add28<<2)|0);
- $36 = +HEAPF32[$arrayidx29>>2];
- $sub30 = $33 - $36;
- $mul31 = $32 * $sub30;
- $add32 = $31 + $mul31;
- $add33 = $add32 + 1.0000000031710769E-30;
- $37 = $hp_mem$addr;
- $38 = $c;
- $mul34 = $38<<1;
- $add35 = (($mul34) + 1)|0;
- $arrayidx36 = (($37) + ($add35<<2)|0);
- HEAPF32[$arrayidx36>>2] = $add33;
- $39 = $y;
- $40 = $out$addr;
- $41 = $channels$addr;
- $42 = $i;
- $mul37 = Math_imul($41, $42)|0;
- $43 = $c;
- $add38 = (($mul37) + ($43))|0;
- $arrayidx39 = (($40) + ($add38<<2)|0);
- HEAPF32[$arrayidx39>>2] = $39;
- $44 = $i;
- $inc = (($44) + 1)|0;
- $i = $inc;
- }
- $45 = $c;
- $inc41 = (($45) + 1)|0;
- $c = $inc41;
- }
- STACKTOP = sp;return;
-}
-function _celt_inner_prod_c($x,$y,$N) {
- $x = $x|0;
- $y = $y|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $2 = 0.0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $N$addr = 0, $add = 0.0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $x$addr = 0, $xy = 0.0;
- var $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $y$addr = $y;
- $N$addr = $N;
- $xy = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $xy;
- if (!($cmp)) {
- break;
- }
- $3 = $x$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $6 = $y$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $mul = $5 * $8;
- $add = $2 + $mul;
- $xy = $add;
- $9 = $i;
- $inc = (($9) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return (+$2);
-}
-function _gain_fade($in,$out,$g1,$g2,$overlap48,$frame_size,$channels,$window,$Fs) {
- $in = $in|0;
- $out = $out|0;
- $g1 = +$g1;
- $g2 = +$g2;
- $overlap48 = $overlap48|0;
- $frame_size = $frame_size|0;
- $channels = $channels|0;
- $window = $window|0;
- $Fs = $Fs|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0;
- var $45 = 0.0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $7 = 0, $8 = 0, $9 = 0.0, $Fs$addr = 0, $add = 0.0, $add25 = 0.0, $add32 = 0, $add36 = 0, $add45 = 0, $add49 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx18 = 0, $arrayidx20 = 0, $arrayidx27 = 0;
- var $arrayidx30 = 0, $arrayidx33 = 0, $arrayidx37 = 0, $arrayidx4 = 0, $arrayidx46 = 0, $arrayidx50 = 0, $arrayidx8 = 0, $c = 0, $channels$addr = 0, $cmp = 0, $cmp13 = 0, $cmp2 = 0, $cmp42 = 0, $cmp55 = 0, $div = 0, $div1 = 0, $frame_size$addr = 0, $g = 0.0, $g1$addr = 0.0, $g15 = 0.0;
- var $g2$addr = 0.0, $i = 0, $in$addr = 0, $inc = 0, $inc11 = 0, $inc39 = 0, $inc52 = 0, $inc54 = 0, $mul = 0, $mul17 = 0, $mul19 = 0, $mul21 = 0.0, $mul22 = 0.0, $mul24 = 0.0, $mul26 = 0, $mul28 = 0.0, $mul29 = 0, $mul3 = 0, $mul31 = 0, $mul34 = 0.0;
- var $mul35 = 0, $mul44 = 0, $mul47 = 0.0, $mul48 = 0, $mul5 = 0.0, $mul6 = 0.0, $mul7 = 0.0, $mul9 = 0.0, $out$addr = 0, $overlap = 0, $overlap48$addr = 0, $sub = 0.0, $sub23 = 0.0, $w = 0.0, $w16 = 0.0, $window$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $in$addr = $in;
- $out$addr = $out;
- $g1$addr = $g1;
- $g2$addr = $g2;
- $overlap48$addr = $overlap48;
- $frame_size$addr = $frame_size;
- $channels$addr = $channels;
- $window$addr = $window;
- $Fs$addr = $Fs;
- $0 = $Fs$addr;
- $div = (48000 / ($0|0))&-1;
- $inc = $div;
- $1 = $overlap48$addr;
- $2 = $inc;
- $div1 = (($1|0) / ($2|0))&-1;
- $overlap = $div1;
- $3 = $channels$addr;
- $cmp = ($3|0)==(1);
- $i = 0;
- L1: do {
- if ($cmp) {
- while(1) {
- $4 = $i;
- $5 = $overlap;
- $cmp2 = ($4|0)<($5|0);
- if (!($cmp2)) {
- break L1;
- }
- $6 = $window$addr;
- $7 = $i;
- $8 = $inc;
- $mul = Math_imul($7, $8)|0;
- $arrayidx = (($6) + ($mul<<2)|0);
- $9 = +HEAPF32[$arrayidx>>2];
- $10 = $window$addr;
- $11 = $i;
- $12 = $inc;
- $mul3 = Math_imul($11, $12)|0;
- $arrayidx4 = (($10) + ($mul3<<2)|0);
- $13 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $13;
- $w = $mul5;
- $14 = $w;
- $15 = $g2$addr;
- $mul6 = $14 * $15;
- $16 = $w;
- $sub = 1.0 - $16;
- $17 = $g1$addr;
- $mul7 = $sub * $17;
- $add = $mul6 + $mul7;
- $g = $add;
- $18 = $g;
- $19 = $in$addr;
- $20 = $i;
- $arrayidx8 = (($19) + ($20<<2)|0);
- $21 = +HEAPF32[$arrayidx8>>2];
- $mul9 = $18 * $21;
- $22 = $out$addr;
- $23 = $i;
- $arrayidx10 = (($22) + ($23<<2)|0);
- HEAPF32[$arrayidx10>>2] = $mul9;
- $24 = $i;
- $inc11 = (($24) + 1)|0;
- $i = $inc11;
- }
- } else {
- while(1) {
- $25 = $i;
- $26 = $overlap;
- $cmp13 = ($25|0)<($26|0);
- if (!($cmp13)) {
- break L1;
- }
- $27 = $window$addr;
- $28 = $i;
- $29 = $inc;
- $mul17 = Math_imul($28, $29)|0;
- $arrayidx18 = (($27) + ($mul17<<2)|0);
- $30 = +HEAPF32[$arrayidx18>>2];
- $31 = $window$addr;
- $32 = $i;
- $33 = $inc;
- $mul19 = Math_imul($32, $33)|0;
- $arrayidx20 = (($31) + ($mul19<<2)|0);
- $34 = +HEAPF32[$arrayidx20>>2];
- $mul21 = $30 * $34;
- $w16 = $mul21;
- $35 = $w16;
- $36 = $g2$addr;
- $mul22 = $35 * $36;
- $37 = $w16;
- $sub23 = 1.0 - $37;
- $38 = $g1$addr;
- $mul24 = $sub23 * $38;
- $add25 = $mul22 + $mul24;
- $g15 = $add25;
- $39 = $g15;
- $40 = $in$addr;
- $41 = $i;
- $mul26 = $41<<1;
- $arrayidx27 = (($40) + ($mul26<<2)|0);
- $42 = +HEAPF32[$arrayidx27>>2];
- $mul28 = $39 * $42;
- $43 = $out$addr;
- $44 = $i;
- $mul29 = $44<<1;
- $arrayidx30 = (($43) + ($mul29<<2)|0);
- HEAPF32[$arrayidx30>>2] = $mul28;
- $45 = $g15;
- $46 = $in$addr;
- $47 = $i;
- $mul31 = $47<<1;
- $add32 = (($mul31) + 1)|0;
- $arrayidx33 = (($46) + ($add32<<2)|0);
- $48 = +HEAPF32[$arrayidx33>>2];
- $mul34 = $45 * $48;
- $49 = $out$addr;
- $50 = $i;
- $mul35 = $50<<1;
- $add36 = (($mul35) + 1)|0;
- $arrayidx37 = (($49) + ($add36<<2)|0);
- HEAPF32[$arrayidx37>>2] = $mul34;
- $51 = $i;
- $inc39 = (($51) + 1)|0;
- $i = $inc39;
- }
- }
- } while(0);
- $c = 0;
- while(1) {
- $52 = $overlap;
- $i = $52;
- while(1) {
- $53 = $i;
- $54 = $frame_size$addr;
- $cmp42 = ($53|0)<($54|0);
- if (!($cmp42)) {
- break;
- }
- $55 = $g2$addr;
- $56 = $in$addr;
- $57 = $i;
- $58 = $channels$addr;
- $mul44 = Math_imul($57, $58)|0;
- $59 = $c;
- $add45 = (($mul44) + ($59))|0;
- $arrayidx46 = (($56) + ($add45<<2)|0);
- $60 = +HEAPF32[$arrayidx46>>2];
- $mul47 = $55 * $60;
- $61 = $out$addr;
- $62 = $i;
- $63 = $channels$addr;
- $mul48 = Math_imul($62, $63)|0;
- $64 = $c;
- $add49 = (($mul48) + ($64))|0;
- $arrayidx50 = (($61) + ($add49<<2)|0);
- HEAPF32[$arrayidx50>>2] = $mul47;
- $65 = $i;
- $inc52 = (($65) + 1)|0;
- $i = $inc52;
- }
- $66 = $c;
- $inc54 = (($66) + 1)|0;
- $c = $inc54;
- $67 = $channels$addr;
- $cmp55 = ($inc54|0)<($67|0);
- if (!($cmp55)) {
- break;
- }
- }
- STACKTOP = sp;return;
-}
-function _FLOAT2INT16_13($x) {
- $x = +$x;
- var $0 = 0.0, $1 = 0.0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $call = 0, $cmp = 0, $cmp1 = 0, $cond = 0.0, $cond5 = 0.0, $conv = 0, $mul = 0.0, $x$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $x$addr = $x;
- $0 = $x$addr;
- $mul = $0 * 32768.0;
- $x$addr = $mul;
- $1 = $x$addr;
- $cmp = $1 > -32768.0;
- $2 = $x$addr;
- $cond = $cmp ? $2 : -32768.0;
- $x$addr = $cond;
- $3 = $x$addr;
- $cmp1 = $3 < 32767.0;
- $4 = $x$addr;
- $cond5 = $cmp1 ? $4 : 32767.0;
- $x$addr = $cond5;
- $5 = $x$addr;
- $call = (_lrintf($5)|0);
- $conv = $call&65535;
- STACKTOP = sp;return ($conv|0);
-}
-function _ec_tell_14($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $_this$addr = 0, $nbits_total = 0, $rng = 0, $sub = 0, $sub1 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $nbits_total = ((($0)) + 20|0);
- $1 = HEAP32[$nbits_total>>2]|0;
- $2 = $_this$addr;
- $rng = ((($2)) + 28|0);
- $3 = HEAP32[$rng>>2]|0;
- $4 = (Math_clz32(($3|0))|0);
- $sub = (32 - ($4))|0;
- $sub1 = (($1) - ($sub))|0;
- STACKTOP = sp;return ($sub1|0);
-}
-function _stereo_fade($in,$out,$g1,$g2,$overlap48,$frame_size,$channels,$window,$Fs) {
- $in = $in|0;
- $out = $out|0;
- $g1 = +$g1;
- $g2 = +$g2;
- $overlap48 = $overlap48|0;
- $frame_size = $frame_size|0;
- $channels = $channels|0;
- $window = $window|0;
- $Fs = $Fs|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0, $3 = 0.0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0.0, $62 = 0.0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $8 = 0, $9 = 0, $Fs$addr = 0, $add = 0.0, $add12 = 0, $add23 = 0, $add25 = 0.0;
- var $add27 = 0, $add37 = 0, $add48 = 0, $add50 = 0.0, $add52 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx18 = 0, $arrayidx21 = 0, $arrayidx24 = 0, $arrayidx28 = 0, $arrayidx35 = 0, $arrayidx38 = 0, $arrayidx4 = 0, $arrayidx43 = 0, $arrayidx46 = 0, $arrayidx49 = 0, $arrayidx53 = 0, $channels$addr = 0;
- var $cmp = 0, $cmp31 = 0, $diff = 0.0, $diff33 = 0.0, $div = 0, $div1 = 0, $frame_size$addr = 0, $g = 0.0, $g1$addr = 0.0, $g2$addr = 0.0, $i = 0, $in$addr = 0, $inc = 0, $inc29 = 0, $inc55 = 0, $mul = 0, $mul11 = 0, $mul15 = 0.0, $mul16 = 0.0, $mul17 = 0;
- var $mul20 = 0, $mul22 = 0, $mul26 = 0, $mul3 = 0, $mul34 = 0, $mul36 = 0, $mul40 = 0.0, $mul41 = 0.0, $mul42 = 0, $mul45 = 0, $mul47 = 0, $mul5 = 0.0, $mul51 = 0, $mul6 = 0.0, $mul8 = 0.0, $mul9 = 0, $out$addr = 0, $overlap = 0, $overlap48$addr = 0, $sub = 0.0;
- var $sub14 = 0.0, $sub19 = 0.0, $sub2 = 0.0, $sub39 = 0.0, $sub44 = 0.0, $sub7 = 0.0, $w = 0.0, $window$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $in$addr = $in;
- $out$addr = $out;
- $g1$addr = $g1;
- $g2$addr = $g2;
- $overlap48$addr = $overlap48;
- $frame_size$addr = $frame_size;
- $channels$addr = $channels;
- $window$addr = $window;
- $Fs$addr = $Fs;
- $0 = $Fs$addr;
- $div = (48000 / ($0|0))&-1;
- $inc = $div;
- $1 = $overlap48$addr;
- $2 = $inc;
- $div1 = (($1|0) / ($2|0))&-1;
- $overlap = $div1;
- $3 = $g1$addr;
- $sub = 1.0 - $3;
- $g1$addr = $sub;
- $4 = $g2$addr;
- $sub2 = 1.0 - $4;
- $g2$addr = $sub2;
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $overlap;
- $cmp = ($5|0)<($6|0);
- if (!($cmp)) {
- break;
- }
- $7 = $window$addr;
- $8 = $i;
- $9 = $inc;
- $mul = Math_imul($8, $9)|0;
- $arrayidx = (($7) + ($mul<<2)|0);
- $10 = +HEAPF32[$arrayidx>>2];
- $11 = $window$addr;
- $12 = $i;
- $13 = $inc;
- $mul3 = Math_imul($12, $13)|0;
- $arrayidx4 = (($11) + ($mul3<<2)|0);
- $14 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $10 * $14;
- $w = $mul5;
- $15 = $w;
- $16 = $g2$addr;
- $mul6 = $15 * $16;
- $17 = $w;
- $sub7 = 1.0 - $17;
- $18 = $g1$addr;
- $mul8 = $sub7 * $18;
- $add = $mul6 + $mul8;
- $g = $add;
- $19 = $in$addr;
- $20 = $i;
- $21 = $channels$addr;
- $mul9 = Math_imul($20, $21)|0;
- $arrayidx10 = (($19) + ($mul9<<2)|0);
- $22 = +HEAPF32[$arrayidx10>>2];
- $23 = $in$addr;
- $24 = $i;
- $25 = $channels$addr;
- $mul11 = Math_imul($24, $25)|0;
- $add12 = (($mul11) + 1)|0;
- $arrayidx13 = (($23) + ($add12<<2)|0);
- $26 = +HEAPF32[$arrayidx13>>2];
- $sub14 = $22 - $26;
- $mul15 = 0.5 * $sub14;
- $diff = $mul15;
- $27 = $g;
- $28 = $diff;
- $mul16 = $27 * $28;
- $diff = $mul16;
- $29 = $out$addr;
- $30 = $i;
- $31 = $channels$addr;
- $mul17 = Math_imul($30, $31)|0;
- $arrayidx18 = (($29) + ($mul17<<2)|0);
- $32 = +HEAPF32[$arrayidx18>>2];
- $33 = $diff;
- $sub19 = $32 - $33;
- $34 = $out$addr;
- $35 = $i;
- $36 = $channels$addr;
- $mul20 = Math_imul($35, $36)|0;
- $arrayidx21 = (($34) + ($mul20<<2)|0);
- HEAPF32[$arrayidx21>>2] = $sub19;
- $37 = $out$addr;
- $38 = $i;
- $39 = $channels$addr;
- $mul22 = Math_imul($38, $39)|0;
- $add23 = (($mul22) + 1)|0;
- $arrayidx24 = (($37) + ($add23<<2)|0);
- $40 = +HEAPF32[$arrayidx24>>2];
- $41 = $diff;
- $add25 = $40 + $41;
- $42 = $out$addr;
- $43 = $i;
- $44 = $channels$addr;
- $mul26 = Math_imul($43, $44)|0;
- $add27 = (($mul26) + 1)|0;
- $arrayidx28 = (($42) + ($add27<<2)|0);
- HEAPF32[$arrayidx28>>2] = $add25;
- $45 = $i;
- $inc29 = (($45) + 1)|0;
- $i = $inc29;
- }
- while(1) {
- $46 = $i;
- $47 = $frame_size$addr;
- $cmp31 = ($46|0)<($47|0);
- if (!($cmp31)) {
- break;
- }
- $48 = $in$addr;
- $49 = $i;
- $50 = $channels$addr;
- $mul34 = Math_imul($49, $50)|0;
- $arrayidx35 = (($48) + ($mul34<<2)|0);
- $51 = +HEAPF32[$arrayidx35>>2];
- $52 = $in$addr;
- $53 = $i;
- $54 = $channels$addr;
- $mul36 = Math_imul($53, $54)|0;
- $add37 = (($mul36) + 1)|0;
- $arrayidx38 = (($52) + ($add37<<2)|0);
- $55 = +HEAPF32[$arrayidx38>>2];
- $sub39 = $51 - $55;
- $mul40 = 0.5 * $sub39;
- $diff33 = $mul40;
- $56 = $g2$addr;
- $57 = $diff33;
- $mul41 = $56 * $57;
- $diff33 = $mul41;
- $58 = $out$addr;
- $59 = $i;
- $60 = $channels$addr;
- $mul42 = Math_imul($59, $60)|0;
- $arrayidx43 = (($58) + ($mul42<<2)|0);
- $61 = +HEAPF32[$arrayidx43>>2];
- $62 = $diff33;
- $sub44 = $61 - $62;
- $63 = $out$addr;
- $64 = $i;
- $65 = $channels$addr;
- $mul45 = Math_imul($64, $65)|0;
- $arrayidx46 = (($63) + ($mul45<<2)|0);
- HEAPF32[$arrayidx46>>2] = $sub44;
- $66 = $out$addr;
- $67 = $i;
- $68 = $channels$addr;
- $mul47 = Math_imul($67, $68)|0;
- $add48 = (($mul47) + 1)|0;
- $arrayidx49 = (($66) + ($add48<<2)|0);
- $69 = +HEAPF32[$arrayidx49>>2];
- $70 = $diff33;
- $add50 = $69 + $70;
- $71 = $out$addr;
- $72 = $i;
- $73 = $channels$addr;
- $mul51 = Math_imul($72, $73)|0;
- $add52 = (($mul51) + 1)|0;
- $arrayidx53 = (($71) + ($add52<<2)|0);
- HEAPF32[$arrayidx53>>2] = $add50;
- $74 = $i;
- $inc55 = (($74) + 1)|0;
- $i = $inc55;
- }
- STACKTOP = sp;return;
-}
-function _silk_biquad_float($in,$B_Q28,$A_Q28,$S,$out,$len,$stride) {
- $in = $in|0;
- $B_Q28 = $B_Q28|0;
- $A_Q28 = $A_Q28|0;
- $S = $S|0;
- $out = $out|0;
- $len = $len|0;
- $stride = $stride|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $A = 0, $A_Q28$addr = 0, $B = 0;
- var $B_Q28$addr = 0, $S$addr = 0, $add = 0.0, $add29 = 0.0, $add36 = 0.0, $add37 = 0.0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx14 = 0, $arrayidx17 = 0, $arrayidx2 = 0, $arrayidx20 = 0, $arrayidx24 = 0, $arrayidx27 = 0, $arrayidx32 = 0, $arrayidx34 = 0, $arrayidx38 = 0, $arrayidx40 = 0, $arrayidx5 = 0, $cmp = 0;
- var $conv = 0.0, $conv11 = 0.0, $conv15 = 0.0, $conv3 = 0.0, $conv7 = 0.0, $in$addr = 0, $inc = 0, $inval = 0.0, $k = 0, $len$addr = 0, $mul = 0.0, $mul12 = 0.0, $mul16 = 0.0, $mul19 = 0, $mul23 = 0.0, $mul26 = 0.0, $mul28 = 0.0, $mul33 = 0.0, $mul35 = 0.0, $mul39 = 0;
- var $mul4 = 0.0, $mul8 = 0.0, $out$addr = 0, $stride$addr = 0, $sub = 0.0, $sub31 = 0.0, $vout = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $A = sp + 16|0;
- $B = sp;
- $in$addr = $in;
- $B_Q28$addr = $B_Q28;
- $A_Q28$addr = $A_Q28;
- $S$addr = $S;
- $out$addr = $out;
- $len$addr = $len;
- $stride$addr = $stride;
- $0 = $A_Q28$addr;
- $1 = HEAP32[$0>>2]|0;
- $conv = (+($1|0));
- $mul = $conv * 3.7252902984619141E-9;
- HEAPF32[$A>>2] = $mul;
- $2 = $A_Q28$addr;
- $arrayidx2 = ((($2)) + 4|0);
- $3 = HEAP32[$arrayidx2>>2]|0;
- $conv3 = (+($3|0));
- $mul4 = $conv3 * 3.7252902984619141E-9;
- $arrayidx5 = ((($A)) + 4|0);
- HEAPF32[$arrayidx5>>2] = $mul4;
- $4 = $B_Q28$addr;
- $5 = HEAP32[$4>>2]|0;
- $conv7 = (+($5|0));
- $mul8 = $conv7 * 3.7252902984619141E-9;
- HEAPF32[$B>>2] = $mul8;
- $6 = $B_Q28$addr;
- $arrayidx10 = ((($6)) + 4|0);
- $7 = HEAP32[$arrayidx10>>2]|0;
- $conv11 = (+($7|0));
- $mul12 = $conv11 * 3.7252902984619141E-9;
- $arrayidx13 = ((($B)) + 4|0);
- HEAPF32[$arrayidx13>>2] = $mul12;
- $8 = $B_Q28$addr;
- $arrayidx14 = ((($8)) + 8|0);
- $9 = HEAP32[$arrayidx14>>2]|0;
- $conv15 = (+($9|0));
- $mul16 = $conv15 * 3.7252902984619141E-9;
- $arrayidx17 = ((($B)) + 8|0);
- HEAPF32[$arrayidx17>>2] = $mul16;
- $k = 0;
- while(1) {
- $10 = $k;
- $11 = $len$addr;
- $cmp = ($10|0)<($11|0);
- if (!($cmp)) {
- break;
- }
- $12 = $in$addr;
- $13 = $k;
- $14 = $stride$addr;
- $mul19 = Math_imul($13, $14)|0;
- $arrayidx20 = (($12) + ($mul19<<2)|0);
- $15 = +HEAPF32[$arrayidx20>>2];
- $inval = $15;
- $16 = $S$addr;
- $17 = +HEAPF32[$16>>2];
- $18 = +HEAPF32[$B>>2];
- $19 = $inval;
- $mul23 = $18 * $19;
- $add = $17 + $mul23;
- $vout = $add;
- $20 = $S$addr;
- $arrayidx24 = ((($20)) + 4|0);
- $21 = +HEAPF32[$arrayidx24>>2];
- $22 = $vout;
- $23 = +HEAPF32[$A>>2];
- $mul26 = $22 * $23;
- $sub = $21 - $mul26;
- $arrayidx27 = ((($B)) + 4|0);
- $24 = +HEAPF32[$arrayidx27>>2];
- $25 = $inval;
- $mul28 = $24 * $25;
- $add29 = $sub + $mul28;
- $26 = $S$addr;
- HEAPF32[$26>>2] = $add29;
- $27 = $vout;
- $sub31 = - $27;
- $arrayidx32 = ((($A)) + 4|0);
- $28 = +HEAPF32[$arrayidx32>>2];
- $mul33 = $sub31 * $28;
- $arrayidx34 = ((($B)) + 8|0);
- $29 = +HEAPF32[$arrayidx34>>2];
- $30 = $inval;
- $mul35 = $29 * $30;
- $add36 = $mul33 + $mul35;
- $add37 = $add36 + 1.0000000031710769E-30;
- $31 = $S$addr;
- $arrayidx38 = ((($31)) + 4|0);
- HEAPF32[$arrayidx38>>2] = $add37;
- $32 = $vout;
- $33 = $out$addr;
- $34 = $k;
- $35 = $stride$addr;
- $mul39 = Math_imul($34, $35)|0;
- $arrayidx40 = (($33) + ($mul39<<2)|0);
- HEAPF32[$arrayidx40>>2] = $32;
- $36 = $k;
- $inc = (($36) + 1)|0;
- $k = $inc;
- }
- STACKTOP = sp;return;
-}
-function _opus_encode_float($st,$pcm,$analysis_frame_size,$data,$out_data_bytes) {
- $st = $st|0;
- $pcm = $pcm|0;
- $analysis_frame_size = $analysis_frame_size|0;
- $data = $data|0;
- $out_data_bytes = $out_data_bytes|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $3 = 0, $4 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Fs = 0, $analysis = 0, $analysis_frame_size$addr = 0, $application = 0, $bitrate_bps = 0, $call = 0, $call3 = 0, $channels = 0, $channels2 = 0, $cmp = 0, $data$addr = 0, $delay_compensation = 0, $delay_compensation1 = 0, $frame_size = 0, $out_data_bytes$addr = 0;
- var $pcm$addr = 0, $st$addr = 0, $subframe_mem = 0, $variable_duration = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $st$addr = $st;
- $pcm$addr = $pcm;
- $analysis_frame_size$addr = $analysis_frame_size;
- $data$addr = $data;
- $out_data_bytes$addr = $out_data_bytes;
- $0 = $st$addr;
- $application = ((($0)) + 96|0);
- $1 = HEAP32[$application>>2]|0;
- $cmp = ($1|0)==(2051);
- if ($cmp) {
- $delay_compensation = 0;
- } else {
- $2 = $st$addr;
- $delay_compensation1 = ((($2)) + 104|0);
- $3 = HEAP32[$delay_compensation1>>2]|0;
- $delay_compensation = $3;
- }
- $4 = $pcm$addr;
- $5 = $analysis_frame_size$addr;
- $6 = $st$addr;
- $variable_duration = ((($6)) + 144|0);
- $7 = HEAP32[$variable_duration>>2]|0;
- $8 = $st$addr;
- $channels = ((($8)) + 100|0);
- $9 = HEAP32[$channels>>2]|0;
- $10 = $st$addr;
- $Fs = ((($10)) + 132|0);
- $11 = HEAP32[$Fs>>2]|0;
- $12 = $st$addr;
- $bitrate_bps = ((($12)) + 148|0);
- $13 = HEAP32[$bitrate_bps>>2]|0;
- $14 = $delay_compensation;
- $15 = $st$addr;
- $analysis = ((($15)) + 172|0);
- $subframe_mem = ((($analysis)) + 6872|0);
- $call = (_compute_frame_size($4,$5,$7,$9,$11,$13,$14,19,$subframe_mem)|0);
- $frame_size = $call;
- $16 = $st$addr;
- $17 = $pcm$addr;
- $18 = $frame_size;
- $19 = $data$addr;
- $20 = $out_data_bytes$addr;
- $21 = $pcm$addr;
- $22 = $analysis_frame_size$addr;
- $23 = $st$addr;
- $channels2 = ((($23)) + 100|0);
- $24 = HEAP32[$channels2>>2]|0;
- $call3 = (_opus_encode_native($16,$17,$18,$19,$20,24,$21,$22,0,-2,$24,19,1)|0);
- STACKTOP = sp;return ($call3|0);
-}
-function _opus_encoder_ctl($st,$request,$varargs) {
- $st = $st|0;
- $request = $request|0;
- $varargs = $varargs|0;
- var $$old = 0, $$sink = 0, $$sink10 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0;
- var $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0;
- var $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0;
- var $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0;
- var $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0;
- var $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0;
- var $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0;
- var $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0;
- var $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0;
- var $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0;
- var $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0;
- var $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0;
- var $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0;
- var $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0;
- var $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0;
- var $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0;
- var $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0;
- var $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0;
- var $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0;
- var $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0;
- var $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0;
- var $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0;
- var $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0;
- var $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0;
- var $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0;
- var $546 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
- var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
- var $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $Fs = 0, $Fs314 = 0, $add = 0, $add$ptr = 0, $add$ptr403 = 0, $add$ptr441 = 0, $add$ptr454 = 0, $analysis = 0, $ap = 0, $application = 0;
- var $application16 = 0, $application302 = 0, $application8 = 0, $arch = 0, $arglist_current = 0, $arglist_current103 = 0, $arglist_current106 = 0, $arglist_current109 = 0, $arglist_current112 = 0, $arglist_current115 = 0, $arglist_current118 = 0, $arglist_current121 = 0, $arglist_current124 = 0, $arglist_current127 = 0, $arglist_current130 = 0, $arglist_current133 = 0, $arglist_current136 = 0, $arglist_current139 = 0, $arglist_current142 = 0, $arglist_current145 = 0;
- var $arglist_current151 = 0, $arglist_current154 = 0, $arglist_current157 = 0, $arglist_current162 = 0, $arglist_current165 = 0, $arglist_current171 = 0, $arglist_current177 = 0, $arglist_current52 = 0, $arglist_current55 = 0, $arglist_current58 = 0, $arglist_current61 = 0, $arglist_current64 = 0, $arglist_current67 = 0, $arglist_current70 = 0, $arglist_current73 = 0, $arglist_current76 = 0, $arglist_current79 = 0, $arglist_current82 = 0, $arglist_current85 = 0, $arglist_current88 = 0;
- var $arglist_current91 = 0, $arglist_current94 = 0, $arglist_current97 = 0, $arglist_next = 0, $arglist_next104 = 0, $arglist_next107 = 0, $arglist_next110 = 0, $arglist_next113 = 0, $arglist_next116 = 0, $arglist_next119 = 0, $arglist_next122 = 0, $arglist_next125 = 0, $arglist_next128 = 0, $arglist_next131 = 0, $arglist_next134 = 0, $arglist_next137 = 0, $arglist_next140 = 0, $arglist_next143 = 0, $arglist_next146 = 0, $arglist_next152 = 0;
- var $arglist_next155 = 0, $arglist_next158 = 0, $arglist_next163 = 0, $arglist_next166 = 0, $arglist_next172 = 0, $arglist_next178 = 0, $arglist_next53 = 0, $arglist_next56 = 0, $arglist_next59 = 0, $arglist_next62 = 0, $arglist_next65 = 0, $arglist_next68 = 0, $arglist_next71 = 0, $arglist_next74 = 0, $arglist_next77 = 0, $arglist_next80 = 0, $arglist_next83 = 0, $arglist_next86 = 0, $arglist_next89 = 0, $arglist_next92 = 0;
- var $arglist_next95 = 0, $arglist_next98 = 0, $bandwidth = 0, $bandwidth411 = 0, $call = 0, $call412 = 0, $call433 = 0, $call442 = 0, $call455 = 0, $celt_enc = 0, $channels = 0, $channels32 = 0, $channels408 = 0, $channels51 = 0, $cmp = 0, $cmp100 = 0, $cmp102 = 0, $cmp104 = 0, $cmp108 = 0, $cmp114 = 0;
- var $cmp134 = 0, $cmp136 = 0, $cmp153 = 0, $cmp155 = 0, $cmp174 = 0, $cmp177 = 0, $cmp195 = 0, $cmp198 = 0, $cmp21 = 0, $cmp219 = 0, $cmp222 = 0, $cmp23 = 0, $cmp239 = 0, $cmp242 = 0, $cmp25 = 0, $cmp258 = 0, $cmp261 = 0, $cmp27 = 0, $cmp277 = 0, $cmp280 = 0;
- var $cmp283 = 0, $cmp3 = 0, $cmp30 = 0, $cmp303 = 0, $cmp326 = 0, $cmp329 = 0, $cmp345 = 0, $cmp348 = 0, $cmp351 = 0, $cmp354 = 0, $cmp357 = 0, $cmp360 = 0, $cmp363 = 0, $cmp366 = 0, $cmp385 = 0, $cmp388 = 0, $cmp417 = 0, $cmp420 = 0, $cmp423 = 0, $cmp49 = 0;
- var $cmp5 = 0, $cmp52 = 0, $cmp54 = 0, $cmp54$old = 0, $cmp69 = 0, $cmp7 = 0, $cmp71 = 0, $cmp75 = 0, $cmp79 = 0, $complexity = 0, $complexity169 = 0, $delay_compensation = 0, $div = 0, $dummy = 0, $energy_masking = 0, $expanded = 0, $expanded100 = 0, $expanded102 = 0, $expanded103 = 0, $expanded104 = 0;
- var $expanded106 = 0, $expanded107 = 0, $expanded109 = 0, $expanded11 = 0, $expanded110 = 0, $expanded111 = 0, $expanded113 = 0, $expanded114 = 0, $expanded116 = 0, $expanded117 = 0, $expanded118 = 0, $expanded12 = 0, $expanded120 = 0, $expanded121 = 0, $expanded123 = 0, $expanded124 = 0, $expanded125 = 0, $expanded127 = 0, $expanded128 = 0, $expanded13 = 0;
- var $expanded130 = 0, $expanded131 = 0, $expanded132 = 0, $expanded134 = 0, $expanded135 = 0, $expanded137 = 0, $expanded138 = 0, $expanded139 = 0, $expanded141 = 0, $expanded142 = 0, $expanded144 = 0, $expanded145 = 0, $expanded146 = 0, $expanded148 = 0, $expanded149 = 0, $expanded15 = 0, $expanded151 = 0, $expanded152 = 0, $expanded153 = 0, $expanded155 = 0;
- var $expanded156 = 0, $expanded158 = 0, $expanded159 = 0, $expanded16 = 0, $expanded160 = 0, $expanded162 = 0, $expanded163 = 0, $expanded165 = 0, $expanded166 = 0, $expanded167 = 0, $expanded169 = 0, $expanded170 = 0, $expanded172 = 0, $expanded173 = 0, $expanded174 = 0, $expanded176 = 0, $expanded177 = 0, $expanded179 = 0, $expanded18 = 0, $expanded180 = 0;
- var $expanded181 = 0, $expanded183 = 0, $expanded184 = 0, $expanded186 = 0, $expanded187 = 0, $expanded188 = 0, $expanded19 = 0, $expanded190 = 0, $expanded191 = 0, $expanded193 = 0, $expanded194 = 0, $expanded195 = 0, $expanded197 = 0, $expanded198 = 0, $expanded2 = 0, $expanded20 = 0, $expanded200 = 0, $expanded201 = 0, $expanded202 = 0, $expanded204 = 0;
- var $expanded205 = 0, $expanded207 = 0, $expanded208 = 0, $expanded209 = 0, $expanded211 = 0, $expanded212 = 0, $expanded214 = 0, $expanded215 = 0, $expanded216 = 0, $expanded218 = 0, $expanded219 = 0, $expanded22 = 0, $expanded221 = 0, $expanded222 = 0, $expanded223 = 0, $expanded225 = 0, $expanded226 = 0, $expanded228 = 0, $expanded229 = 0, $expanded23 = 0;
- var $expanded230 = 0, $expanded232 = 0, $expanded233 = 0, $expanded235 = 0, $expanded236 = 0, $expanded237 = 0, $expanded239 = 0, $expanded240 = 0, $expanded242 = 0, $expanded243 = 0, $expanded244 = 0, $expanded246 = 0, $expanded247 = 0, $expanded249 = 0, $expanded25 = 0, $expanded250 = 0, $expanded251 = 0, $expanded253 = 0, $expanded254 = 0, $expanded256 = 0;
- var $expanded257 = 0, $expanded258 = 0, $expanded26 = 0, $expanded260 = 0, $expanded261 = 0, $expanded263 = 0, $expanded264 = 0, $expanded265 = 0, $expanded267 = 0, $expanded268 = 0, $expanded27 = 0, $expanded270 = 0, $expanded271 = 0, $expanded272 = 0, $expanded29 = 0, $expanded30 = 0, $expanded32 = 0, $expanded33 = 0, $expanded34 = 0, $expanded36 = 0;
- var $expanded37 = 0, $expanded39 = 0, $expanded4 = 0, $expanded40 = 0, $expanded41 = 0, $expanded43 = 0, $expanded44 = 0, $expanded46 = 0, $expanded47 = 0, $expanded48 = 0, $expanded5 = 0, $expanded50 = 0, $expanded51 = 0, $expanded53 = 0, $expanded54 = 0, $expanded55 = 0, $expanded57 = 0, $expanded58 = 0, $expanded6 = 0, $expanded60 = 0;
- var $expanded61 = 0, $expanded62 = 0, $expanded64 = 0, $expanded65 = 0, $expanded67 = 0, $expanded68 = 0, $expanded69 = 0, $expanded71 = 0, $expanded72 = 0, $expanded74 = 0, $expanded75 = 0, $expanded76 = 0, $expanded78 = 0, $expanded79 = 0, $expanded8 = 0, $expanded81 = 0, $expanded82 = 0, $expanded83 = 0, $expanded85 = 0, $expanded86 = 0;
- var $expanded88 = 0, $expanded89 = 0, $expanded9 = 0, $expanded90 = 0, $expanded92 = 0, $expanded93 = 0, $expanded95 = 0, $expanded96 = 0, $expanded97 = 0, $expanded99 = 0, $first = 0, $first410 = 0, $force_channels = 0, $force_channels64 = 0, $hybrid_stereo_width_Q14 = 0, $lfe = 0, $lsb_depth = 0, $lsb_depth340 = 0, $maxInternalSampleRate = 0, $maxInternalSampleRate111 = 0;
- var $maxInternalSampleRate117 = 0, $maxInternalSampleRate82 = 0, $max_bandwidth = 0, $max_bandwidth74 = 0, $max_bandwidth78 = 0, $max_bandwidth95 = 0, $mode = 0, $mul = 0, $mul33 = 0, $mul405 = 0, $or$cond = 0, $or$cond1 = 0, $or$cond12 = 0, $or$cond14 = 0, $or$cond16 = 0, $or$cond18 = 0, $or$cond2 = 0, $or$cond20 = 0, $or$cond22 = 0, $or$cond24 = 0;
- var $or$cond26 = 0, $or$cond28 = 0, $or$cond3 = 0, $or$cond30 = 0, $or$cond32 = 0, $or$cond34 = 0, $or$cond36 = 0, $or$cond38 = 0, $or$cond40 = 0, $or$cond42 = 0, $or$cond44 = 0, $or$cond46 = 0, $or$cond48 = 0, $or$cond5 = 0, $or$cond50 = 0, $or$cond7 = 0, $or$cond9 = 0, $packetLossPercentage = 0, $packetLossPercentage214 = 0, $prev_HB_gain = 0;
- var $prev_framesize = 0, $rangeFinal = 0, $reducedDependency = 0, $reducedDependency401 = 0, $request$addr = 0, $ret = 0, $retval = 0, $shl = 0, $signal_type = 0, $signal_type294 = 0, $silk_enc = 0, $silk_enc_offset = 0, $silk_mode = 0, $silk_mode110 = 0, $silk_mode116 = 0, $silk_mode139 = 0, $silk_mode147 = 0, $silk_mode158 = 0, $silk_mode168 = 0, $silk_mode181 = 0;
- var $silk_mode189 = 0, $silk_mode202 = 0, $silk_mode213 = 0, $silk_mode226 = 0, $silk_mode392 = 0, $silk_mode400 = 0, $silk_mode81 = 0, $st$addr = 0, $start = 0, $stream_channels = 0, $stream_channels409 = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$div453 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast438 = 0, $sub$ptr$lhs$cast450 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast439 = 0, $sub$ptr$rhs$cast451 = 0;
- var $sub$ptr$sub = 0, $sub$ptr$sub440 = 0, $sub$ptr$sub452 = 0, $sub404 = 0, $tobool = 0, $tobool127 = 0, $tobool13 = 0, $tobool144 = 0, $tobool165 = 0, $tobool186 = 0, $tobool210 = 0, $tobool231 = 0, $tobool250 = 0, $tobool269 = 0, $tobool291 = 0, $tobool299 = 0, $tobool311 = 0, $tobool319 = 0, $tobool337 = 0, $tobool377 = 0;
- var $tobool397 = 0, $tobool42 = 0, $tobool447 = 0, $tobool61 = 0, $tobool92 = 0, $useCBR = 0, $useDTX = 0, $useDTX148 = 0, $useInBandFEC = 0, $useInBandFEC190 = 0, $use_vbr = 0, $use_vbr234 = 0, $user_bandwidth = 0, $user_bandwidth107 = 0, $user_bandwidth113 = 0, $user_bitrate_bps = 0, $user_forced_mode = 0, $value = 0, $value10 = 0, $value124 = 0;
- var $value131 = 0, $value141 = 0, $value150 = 0, $value162 = 0, $value171 = 0, $value18 = 0, $value183 = 0, $value192 = 0, $value207 = 0, $value216 = 0, $value228 = 0, $value236 = 0, $value247 = 0, $value255 = 0, $value266 = 0, $value274 = 0, $value288 = 0, $value296 = 0, $value308 = 0, $value316 = 0;
- var $value323 = 0, $value334 = 0, $value342 = 0, $value374 = 0, $value382 = 0, $value39 = 0, $value394 = 0, $value414 = 0, $value428 = 0, $value435 = 0, $value444 = 0, $value46 = 0, $value58 = 0, $value66 = 0, $value89 = 0, $value97 = 0, $vararg_buffer = 0, $vararg_buffer147 = 0, $vararg_buffer159 = 0, $vararg_buffer167 = 0;
- var $vararg_buffer173 = 0, $vararg_buffer179 = 0, $vararg_buffer99 = 0, $varet = 0, $varet12 = 0, $varet126 = 0, $varet133 = 0, $varet143 = 0, $varet152 = 0, $varet164 = 0, $varet173 = 0, $varet185 = 0, $varet194 = 0, $varet20 = 0, $varet209 = 0, $varet218 = 0, $varet230 = 0, $varet238 = 0, $varet249 = 0, $varet257 = 0;
- var $varet268 = 0, $varet276 = 0, $varet290 = 0, $varet298 = 0, $varet310 = 0, $varet318 = 0, $varet325 = 0, $varet336 = 0, $varet344 = 0, $varet376 = 0, $varet384 = 0, $varet396 = 0, $varet41 = 0, $varet416 = 0, $varet430 = 0, $varet437 = 0, $varet446 = 0, $varet48 = 0, $varet60 = 0, $varet68 = 0;
- var $varet91 = 0, $varet99 = 0, $variable_HP_smth2_Q15 = 0, $variable_duration = 0, $variable_duration380 = 0, $vbr_constraint = 0, $vbr_constraint272 = 0, $voice_ratio = 0, $voice_ratio253 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 512|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(512|0);
- $vararg_buffer179 = sp + 48|0;
- $vararg_buffer173 = sp + 40|0;
- $vararg_buffer167 = sp + 32|0;
- $vararg_buffer159 = sp + 24|0;
- $vararg_buffer147 = sp + 16|0;
- $vararg_buffer99 = sp + 8|0;
- $vararg_buffer = sp;
- $ap = sp + 464|0;
- $dummy = sp + 88|0;
- $st$addr = $st;
- $request$addr = $request;
- $ret = 0;
- HEAP32[$ap>>2] = $varargs;
- $0 = $st$addr;
- $1 = $st$addr;
- $2 = HEAP32[$1>>2]|0;
- $add$ptr = (($0) + ($2)|0);
- $celt_enc = $add$ptr;
- $3 = $request$addr;
- L1: do {
- switch ($3|0) {
- case 4000: {
- $arglist_current = HEAP32[$ap>>2]|0;
- $4 = $arglist_current;
- $5 = ((0) + 4|0);
- $expanded2 = $5;
- $expanded = (($expanded2) - 1)|0;
- $6 = (($4) + ($expanded))|0;
- $7 = ((0) + 4|0);
- $expanded6 = $7;
- $expanded5 = (($expanded6) - 1)|0;
- $expanded4 = $expanded5 ^ -1;
- $8 = $6 & $expanded4;
- $9 = $8;
- $10 = HEAP32[$9>>2]|0;
- $arglist_next = ((($9)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next;
- $varet = $10;
- $11 = $varet;
- $value = $11;
- $12 = $value;
- $cmp = ($12|0)!=(2048);
- $13 = $value;
- $cmp3 = ($13|0)!=(2049);
- $or$cond = $cmp & $cmp3;
- $14 = $value;
- $cmp5 = ($14|0)!=(2051);
- $or$cond1 = $or$cond & $cmp5;
- do {
- if (!($or$cond1)) {
- $15 = $st$addr;
- $first = ((($15)) + 14344|0);
- $16 = HEAP32[$first>>2]|0;
- $tobool = ($16|0)!=(0);
- if (!($tobool)) {
- $17 = $st$addr;
- $application = ((($17)) + 96|0);
- $18 = HEAP32[$application>>2]|0;
- $19 = $value;
- $cmp7 = ($18|0)!=($19|0);
- if ($cmp7) {
- break;
- }
- }
- $20 = $value;
- $21 = $st$addr;
- $application8 = ((($21)) + 96|0);
- HEAP32[$application8>>2] = $20;
- label = 95;
- break L1;
- }
- } while(0);
- $ret = -1;
- label = 95;
- break;
- }
- case 4001: {
- $arglist_current52 = HEAP32[$ap>>2]|0;
- $22 = $arglist_current52;
- $23 = ((0) + 4|0);
- $expanded9 = $23;
- $expanded8 = (($expanded9) - 1)|0;
- $24 = (($22) + ($expanded8))|0;
- $25 = ((0) + 4|0);
- $expanded13 = $25;
- $expanded12 = (($expanded13) - 1)|0;
- $expanded11 = $expanded12 ^ -1;
- $26 = $24 & $expanded11;
- $27 = $26;
- $28 = HEAP32[$27>>2]|0;
- $arglist_next53 = ((($27)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next53;
- $varet12 = $28;
- $29 = $varet12;
- $value10 = $29;
- $30 = $value10;
- $tobool13 = ($30|0)!=(0|0);
- if ($tobool13) {
- $31 = $st$addr;
- $application16 = ((($31)) + 96|0);
- $32 = HEAP32[$application16>>2]|0;
- $33 = $value10;
- HEAP32[$33>>2] = $32;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4002: {
- $arglist_current55 = HEAP32[$ap>>2]|0;
- $34 = $arglist_current55;
- $35 = ((0) + 4|0);
- $expanded16 = $35;
- $expanded15 = (($expanded16) - 1)|0;
- $36 = (($34) + ($expanded15))|0;
- $37 = ((0) + 4|0);
- $expanded20 = $37;
- $expanded19 = (($expanded20) - 1)|0;
- $expanded18 = $expanded19 ^ -1;
- $38 = $36 & $expanded18;
- $39 = $38;
- $40 = HEAP32[$39>>2]|0;
- $arglist_next56 = ((($39)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next56;
- $varet20 = $40;
- $41 = $varet20;
- $value18 = $41;
- $42 = $value18;
- $cmp21 = ($42|0)!=(-1000);
- $43 = $value18;
- $cmp23 = ($43|0)!=(-1);
- $or$cond2 = $cmp21 & $cmp23;
- do {
- if ($or$cond2) {
- $44 = $value18;
- $cmp25 = ($44|0)<=(0);
- if ($cmp25) {
- label = 96;
- break L1;
- }
- $45 = $value18;
- $cmp27 = ($45|0)<=(500);
- if ($cmp27) {
- $value18 = 500;
- break;
- }
- $46 = $value18;
- $47 = $st$addr;
- $channels = ((($47)) + 100|0);
- $48 = HEAP32[$channels>>2]|0;
- $mul = ($48*300000)|0;
- $cmp30 = ($46|0)>($mul|0);
- if ($cmp30) {
- $49 = $st$addr;
- $channels32 = ((($49)) + 100|0);
- $50 = HEAP32[$channels32>>2]|0;
- $mul33 = ($50*300000)|0;
- $value18 = $mul33;
- }
- }
- } while(0);
- $51 = $value18;
- $52 = $st$addr;
- $user_bitrate_bps = ((($52)) + 152|0);
- HEAP32[$user_bitrate_bps>>2] = $51;
- label = 95;
- break;
- }
- case 4003: {
- $arglist_current58 = HEAP32[$ap>>2]|0;
- $53 = $arglist_current58;
- $54 = ((0) + 4|0);
- $expanded23 = $54;
- $expanded22 = (($expanded23) - 1)|0;
- $55 = (($53) + ($expanded22))|0;
- $56 = ((0) + 4|0);
- $expanded27 = $56;
- $expanded26 = (($expanded27) - 1)|0;
- $expanded25 = $expanded26 ^ -1;
- $57 = $55 & $expanded25;
- $58 = $57;
- $59 = HEAP32[$58>>2]|0;
- $arglist_next59 = ((($58)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next59;
- $varet41 = $59;
- $60 = $varet41;
- $value39 = $60;
- $61 = $value39;
- $tobool42 = ($61|0)!=(0|0);
- if ($tobool42) {
- $62 = $st$addr;
- $63 = $st$addr;
- $prev_framesize = ((($63)) + 14332|0);
- $64 = HEAP32[$prev_framesize>>2]|0;
- $call = (_user_bitrate_to_bitrate($62,$64,1276)|0);
- $65 = $value39;
- HEAP32[$65>>2] = $call;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4022: {
- $arglist_current61 = HEAP32[$ap>>2]|0;
- $66 = $arglist_current61;
- $67 = ((0) + 4|0);
- $expanded30 = $67;
- $expanded29 = (($expanded30) - 1)|0;
- $68 = (($66) + ($expanded29))|0;
- $69 = ((0) + 4|0);
- $expanded34 = $69;
- $expanded33 = (($expanded34) - 1)|0;
- $expanded32 = $expanded33 ^ -1;
- $70 = $68 & $expanded32;
- $71 = $70;
- $72 = HEAP32[$71>>2]|0;
- $arglist_next62 = ((($71)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next62;
- $varet48 = $72;
- $73 = $varet48;
- $value46 = $73;
- $74 = $value46;
- $cmp49 = ($74|0)<(1);
- $$old = $value46;
- if ($cmp49) {
- $cmp54$old = ($$old|0)!=(-1000);
- if ($cmp54$old) {
- label = 96;
- break L1;
- }
- } else {
- $75 = $st$addr;
- $channels51 = ((($75)) + 100|0);
- $76 = HEAP32[$channels51>>2]|0;
- $cmp52 = ($$old|0)>($76|0);
- $77 = $value46;
- $cmp54 = ($77|0)!=(-1000);
- $or$cond3 = $cmp52 & $cmp54;
if ($or$cond3) {
- label = 96;
- break L1;
- }
- }
- $78 = $value46;
- $79 = $st$addr;
- $force_channels = ((($79)) + 108|0);
- HEAP32[$force_channels>>2] = $78;
- label = 95;
- break;
- }
- case 4023: {
- $arglist_current64 = HEAP32[$ap>>2]|0;
- $80 = $arglist_current64;
- $81 = ((0) + 4|0);
- $expanded37 = $81;
- $expanded36 = (($expanded37) - 1)|0;
- $82 = (($80) + ($expanded36))|0;
- $83 = ((0) + 4|0);
- $expanded41 = $83;
- $expanded40 = (($expanded41) - 1)|0;
- $expanded39 = $expanded40 ^ -1;
- $84 = $82 & $expanded39;
- $85 = $84;
- $86 = HEAP32[$85>>2]|0;
- $arglist_next65 = ((($85)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next65;
- $varet60 = $86;
- $87 = $varet60;
- $value58 = $87;
- $88 = $value58;
- $tobool61 = ($88|0)!=(0|0);
- if ($tobool61) {
- $89 = $st$addr;
- $force_channels64 = ((($89)) + 108|0);
- $90 = HEAP32[$force_channels64>>2]|0;
- $91 = $value58;
- HEAP32[$91>>2] = $90;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4004: {
- $arglist_current67 = HEAP32[$ap>>2]|0;
- $92 = $arglist_current67;
- $93 = ((0) + 4|0);
- $expanded44 = $93;
- $expanded43 = (($expanded44) - 1)|0;
- $94 = (($92) + ($expanded43))|0;
- $95 = ((0) + 4|0);
- $expanded48 = $95;
- $expanded47 = (($expanded48) - 1)|0;
- $expanded46 = $expanded47 ^ -1;
- $96 = $94 & $expanded46;
- $97 = $96;
- $98 = HEAP32[$97>>2]|0;
- $arglist_next68 = ((($97)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next68;
- $varet68 = $98;
- $99 = $varet68;
- $value66 = $99;
- $100 = $value66;
- $cmp69 = ($100|0)<(1101);
- $101 = $value66;
- $cmp71 = ($101|0)>(1105);
- $or$cond5 = $cmp69 | $cmp71;
- if ($or$cond5) {
- label = 96;
- } else {
- $102 = $value66;
- $103 = $st$addr;
- $max_bandwidth = ((($103)) + 120|0);
- HEAP32[$max_bandwidth>>2] = $102;
- $104 = $st$addr;
- $max_bandwidth74 = ((($104)) + 120|0);
- $105 = HEAP32[$max_bandwidth74>>2]|0;
- $cmp75 = ($105|0)==(1101);
- $106 = $st$addr;
- if ($cmp75) {
- $silk_mode = ((($106)) + 8|0);
- $maxInternalSampleRate = ((($silk_mode)) + 12|0);
- HEAP32[$maxInternalSampleRate>>2] = 8000;
- label = 95;
- break L1;
+ $60 = 1103;
} else {
- $max_bandwidth78 = ((($106)) + 120|0);
- $107 = HEAP32[$max_bandwidth78>>2]|0;
- $cmp79 = ($107|0)==(1102);
- $108 = $st$addr;
- $silk_mode81 = ((($108)) + 8|0);
- $maxInternalSampleRate82 = ((($silk_mode81)) + 12|0);
- $$sink = $cmp79 ? 12000 : 16000;
- HEAP32[$maxInternalSampleRate82>>2] = $$sink;
- label = 95;
- break L1;
- }
- }
- break;
- }
- case 4005: {
- $arglist_current70 = HEAP32[$ap>>2]|0;
- $109 = $arglist_current70;
- $110 = ((0) + 4|0);
- $expanded51 = $110;
- $expanded50 = (($expanded51) - 1)|0;
- $111 = (($109) + ($expanded50))|0;
- $112 = ((0) + 4|0);
- $expanded55 = $112;
- $expanded54 = (($expanded55) - 1)|0;
- $expanded53 = $expanded54 ^ -1;
- $113 = $111 & $expanded53;
- $114 = $113;
- $115 = HEAP32[$114>>2]|0;
- $arglist_next71 = ((($114)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next71;
- $varet91 = $115;
- $116 = $varet91;
- $value89 = $116;
- $117 = $value89;
- $tobool92 = ($117|0)!=(0|0);
- if ($tobool92) {
- $118 = $st$addr;
- $max_bandwidth95 = ((($118)) + 120|0);
- $119 = HEAP32[$max_bandwidth95>>2]|0;
- $120 = $value89;
- HEAP32[$120>>2] = $119;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4008: {
- $arglist_current73 = HEAP32[$ap>>2]|0;
- $121 = $arglist_current73;
- $122 = ((0) + 4|0);
- $expanded58 = $122;
- $expanded57 = (($expanded58) - 1)|0;
- $123 = (($121) + ($expanded57))|0;
- $124 = ((0) + 4|0);
- $expanded62 = $124;
- $expanded61 = (($expanded62) - 1)|0;
- $expanded60 = $expanded61 ^ -1;
- $125 = $123 & $expanded60;
- $126 = $125;
- $127 = HEAP32[$126>>2]|0;
- $arglist_next74 = ((($126)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next74;
- $varet99 = $127;
- $128 = $varet99;
- $value97 = $128;
- $129 = $value97;
- $cmp100 = ($129|0)<(1101);
- $130 = $value97;
- $cmp102 = ($130|0)>(1105);
- $or$cond7 = $cmp100 | $cmp102;
- $131 = $value97;
- $cmp104 = ($131|0)!=(-1000);
- $or$cond9 = $or$cond7 & $cmp104;
- if ($or$cond9) {
- label = 96;
- } else {
- $132 = $value97;
- $133 = $st$addr;
- $user_bandwidth = ((($133)) + 116|0);
- HEAP32[$user_bandwidth>>2] = $132;
- $134 = $st$addr;
- $user_bandwidth107 = ((($134)) + 116|0);
- $135 = HEAP32[$user_bandwidth107>>2]|0;
- $cmp108 = ($135|0)==(1101);
- $136 = $st$addr;
- if ($cmp108) {
- $silk_mode110 = ((($136)) + 8|0);
- $maxInternalSampleRate111 = ((($silk_mode110)) + 12|0);
- HEAP32[$maxInternalSampleRate111>>2] = 8000;
- label = 95;
- break L1;
- } else {
- $user_bandwidth113 = ((($136)) + 116|0);
- $137 = HEAP32[$user_bandwidth113>>2]|0;
- $cmp114 = ($137|0)==(1102);
- $138 = $st$addr;
- $silk_mode116 = ((($138)) + 8|0);
- $maxInternalSampleRate117 = ((($silk_mode116)) + 12|0);
- $$sink10 = $cmp114 ? 12000 : 16000;
- HEAP32[$maxInternalSampleRate117>>2] = $$sink10;
- label = 95;
- break L1;
- }
- }
- break;
- }
- case 4009: {
- $arglist_current76 = HEAP32[$ap>>2]|0;
- $139 = $arglist_current76;
- $140 = ((0) + 4|0);
- $expanded65 = $140;
- $expanded64 = (($expanded65) - 1)|0;
- $141 = (($139) + ($expanded64))|0;
- $142 = ((0) + 4|0);
- $expanded69 = $142;
- $expanded68 = (($expanded69) - 1)|0;
- $expanded67 = $expanded68 ^ -1;
- $143 = $141 & $expanded67;
- $144 = $143;
- $145 = HEAP32[$144>>2]|0;
- $arglist_next77 = ((($144)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next77;
- $varet126 = $145;
- $146 = $varet126;
- $value124 = $146;
- $147 = $value124;
- $tobool127 = ($147|0)!=(0|0);
- if ($tobool127) {
- $148 = $st$addr;
- $bandwidth = ((($148)) + 14336|0);
- $149 = HEAP32[$bandwidth>>2]|0;
- $150 = $value124;
- HEAP32[$150>>2] = $149;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4016: {
- $arglist_current79 = HEAP32[$ap>>2]|0;
- $151 = $arglist_current79;
- $152 = ((0) + 4|0);
- $expanded72 = $152;
- $expanded71 = (($expanded72) - 1)|0;
- $153 = (($151) + ($expanded71))|0;
- $154 = ((0) + 4|0);
- $expanded76 = $154;
- $expanded75 = (($expanded76) - 1)|0;
- $expanded74 = $expanded75 ^ -1;
- $155 = $153 & $expanded74;
- $156 = $155;
- $157 = HEAP32[$156>>2]|0;
- $arglist_next80 = ((($156)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next80;
- $varet133 = $157;
- $158 = $varet133;
- $value131 = $158;
- $159 = $value131;
- $cmp134 = ($159|0)<(0);
- $160 = $value131;
- $cmp136 = ($160|0)>(1);
- $or$cond12 = $cmp134 | $cmp136;
- if ($or$cond12) {
- label = 96;
- } else {
- $161 = $value131;
- $162 = $st$addr;
- $silk_mode139 = ((($162)) + 8|0);
- $useDTX = ((($silk_mode139)) + 44|0);
- HEAP32[$useDTX>>2] = $161;
- label = 95;
- }
- break;
- }
- case 4017: {
- $arglist_current82 = HEAP32[$ap>>2]|0;
- $163 = $arglist_current82;
- $164 = ((0) + 4|0);
- $expanded79 = $164;
- $expanded78 = (($expanded79) - 1)|0;
- $165 = (($163) + ($expanded78))|0;
- $166 = ((0) + 4|0);
- $expanded83 = $166;
- $expanded82 = (($expanded83) - 1)|0;
- $expanded81 = $expanded82 ^ -1;
- $167 = $165 & $expanded81;
- $168 = $167;
- $169 = HEAP32[$168>>2]|0;
- $arglist_next83 = ((($168)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next83;
- $varet143 = $169;
- $170 = $varet143;
- $value141 = $170;
- $171 = $value141;
- $tobool144 = ($171|0)!=(0|0);
- if ($tobool144) {
- $172 = $st$addr;
- $silk_mode147 = ((($172)) + 8|0);
- $useDTX148 = ((($silk_mode147)) + 44|0);
- $173 = HEAP32[$useDTX148>>2]|0;
- $174 = $value141;
- HEAP32[$174>>2] = $173;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4010: {
- $arglist_current85 = HEAP32[$ap>>2]|0;
- $175 = $arglist_current85;
- $176 = ((0) + 4|0);
- $expanded86 = $176;
- $expanded85 = (($expanded86) - 1)|0;
- $177 = (($175) + ($expanded85))|0;
- $178 = ((0) + 4|0);
- $expanded90 = $178;
- $expanded89 = (($expanded90) - 1)|0;
- $expanded88 = $expanded89 ^ -1;
- $179 = $177 & $expanded88;
- $180 = $179;
- $181 = HEAP32[$180>>2]|0;
- $arglist_next86 = ((($180)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next86;
- $varet152 = $181;
- $182 = $varet152;
- $value150 = $182;
- $183 = $value150;
- $cmp153 = ($183|0)<(0);
- $184 = $value150;
- $cmp155 = ($184|0)>(10);
- $or$cond14 = $cmp153 | $cmp155;
- if ($or$cond14) {
- label = 96;
- } else {
- $185 = $value150;
- $186 = $st$addr;
- $silk_mode158 = ((($186)) + 8|0);
- $complexity = ((($silk_mode158)) + 36|0);
- HEAP32[$complexity>>2] = $185;
- $187 = $celt_enc;
- $188 = $value150;
- HEAP32[$vararg_buffer>>2] = $188;
- (_opus_custom_encoder_ctl($187,4010,$vararg_buffer)|0);
- label = 95;
- }
- break;
- }
- case 4011: {
- $arglist_current88 = HEAP32[$ap>>2]|0;
- $189 = $arglist_current88;
- $190 = ((0) + 4|0);
- $expanded93 = $190;
- $expanded92 = (($expanded93) - 1)|0;
- $191 = (($189) + ($expanded92))|0;
- $192 = ((0) + 4|0);
- $expanded97 = $192;
- $expanded96 = (($expanded97) - 1)|0;
- $expanded95 = $expanded96 ^ -1;
- $193 = $191 & $expanded95;
- $194 = $193;
- $195 = HEAP32[$194>>2]|0;
- $arglist_next89 = ((($194)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next89;
- $varet164 = $195;
- $196 = $varet164;
- $value162 = $196;
- $197 = $value162;
- $tobool165 = ($197|0)!=(0|0);
- if ($tobool165) {
- $198 = $st$addr;
- $silk_mode168 = ((($198)) + 8|0);
- $complexity169 = ((($silk_mode168)) + 36|0);
- $199 = HEAP32[$complexity169>>2]|0;
- $200 = $value162;
- HEAP32[$200>>2] = $199;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4012: {
- $arglist_current91 = HEAP32[$ap>>2]|0;
- $201 = $arglist_current91;
- $202 = ((0) + 4|0);
- $expanded100 = $202;
- $expanded99 = (($expanded100) - 1)|0;
- $203 = (($201) + ($expanded99))|0;
- $204 = ((0) + 4|0);
- $expanded104 = $204;
- $expanded103 = (($expanded104) - 1)|0;
- $expanded102 = $expanded103 ^ -1;
- $205 = $203 & $expanded102;
- $206 = $205;
- $207 = HEAP32[$206>>2]|0;
- $arglist_next92 = ((($206)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next92;
- $varet173 = $207;
- $208 = $varet173;
- $value171 = $208;
- $209 = $value171;
- $cmp174 = ($209|0)<(0);
- $210 = $value171;
- $cmp177 = ($210|0)>(1);
- $or$cond16 = $cmp174 | $cmp177;
- if ($or$cond16) {
- label = 96;
- } else {
- $211 = $value171;
- $212 = $st$addr;
- $silk_mode181 = ((($212)) + 8|0);
- $useInBandFEC = ((($silk_mode181)) + 40|0);
- HEAP32[$useInBandFEC>>2] = $211;
- label = 95;
- }
- break;
- }
- case 4013: {
- $arglist_current94 = HEAP32[$ap>>2]|0;
- $213 = $arglist_current94;
- $214 = ((0) + 4|0);
- $expanded107 = $214;
- $expanded106 = (($expanded107) - 1)|0;
- $215 = (($213) + ($expanded106))|0;
- $216 = ((0) + 4|0);
- $expanded111 = $216;
- $expanded110 = (($expanded111) - 1)|0;
- $expanded109 = $expanded110 ^ -1;
- $217 = $215 & $expanded109;
- $218 = $217;
- $219 = HEAP32[$218>>2]|0;
- $arglist_next95 = ((($218)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next95;
- $varet185 = $219;
- $220 = $varet185;
- $value183 = $220;
- $221 = $value183;
- $tobool186 = ($221|0)!=(0|0);
- if ($tobool186) {
- $222 = $st$addr;
- $silk_mode189 = ((($222)) + 8|0);
- $useInBandFEC190 = ((($silk_mode189)) + 40|0);
- $223 = HEAP32[$useInBandFEC190>>2]|0;
- $224 = $value183;
- HEAP32[$224>>2] = $223;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4014: {
- $arglist_current97 = HEAP32[$ap>>2]|0;
- $225 = $arglist_current97;
- $226 = ((0) + 4|0);
- $expanded114 = $226;
- $expanded113 = (($expanded114) - 1)|0;
- $227 = (($225) + ($expanded113))|0;
- $228 = ((0) + 4|0);
- $expanded118 = $228;
- $expanded117 = (($expanded118) - 1)|0;
- $expanded116 = $expanded117 ^ -1;
- $229 = $227 & $expanded116;
- $230 = $229;
- $231 = HEAP32[$230>>2]|0;
- $arglist_next98 = ((($230)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next98;
- $varet194 = $231;
- $232 = $varet194;
- $value192 = $232;
- $233 = $value192;
- $cmp195 = ($233|0)<(0);
- $234 = $value192;
- $cmp198 = ($234|0)>(100);
- $or$cond18 = $cmp195 | $cmp198;
- if ($or$cond18) {
- label = 96;
- } else {
- $235 = $value192;
- $236 = $st$addr;
- $silk_mode202 = ((($236)) + 8|0);
- $packetLossPercentage = ((($silk_mode202)) + 32|0);
- HEAP32[$packetLossPercentage>>2] = $235;
- $237 = $celt_enc;
- $238 = $value192;
- HEAP32[$vararg_buffer99>>2] = $238;
- (_opus_custom_encoder_ctl($237,4014,$vararg_buffer99)|0);
- label = 95;
- }
- break;
- }
- case 4015: {
- $arglist_current103 = HEAP32[$ap>>2]|0;
- $239 = $arglist_current103;
- $240 = ((0) + 4|0);
- $expanded121 = $240;
- $expanded120 = (($expanded121) - 1)|0;
- $241 = (($239) + ($expanded120))|0;
- $242 = ((0) + 4|0);
- $expanded125 = $242;
- $expanded124 = (($expanded125) - 1)|0;
- $expanded123 = $expanded124 ^ -1;
- $243 = $241 & $expanded123;
- $244 = $243;
- $245 = HEAP32[$244>>2]|0;
- $arglist_next104 = ((($244)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next104;
- $varet209 = $245;
- $246 = $varet209;
- $value207 = $246;
- $247 = $value207;
- $tobool210 = ($247|0)!=(0|0);
- if ($tobool210) {
- $248 = $st$addr;
- $silk_mode213 = ((($248)) + 8|0);
- $packetLossPercentage214 = ((($silk_mode213)) + 32|0);
- $249 = HEAP32[$packetLossPercentage214>>2]|0;
- $250 = $value207;
- HEAP32[$250>>2] = $249;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4006: {
- $arglist_current106 = HEAP32[$ap>>2]|0;
- $251 = $arglist_current106;
- $252 = ((0) + 4|0);
- $expanded128 = $252;
- $expanded127 = (($expanded128) - 1)|0;
- $253 = (($251) + ($expanded127))|0;
- $254 = ((0) + 4|0);
- $expanded132 = $254;
- $expanded131 = (($expanded132) - 1)|0;
- $expanded130 = $expanded131 ^ -1;
- $255 = $253 & $expanded130;
- $256 = $255;
- $257 = HEAP32[$256>>2]|0;
- $arglist_next107 = ((($256)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next107;
- $varet218 = $257;
- $258 = $varet218;
- $value216 = $258;
- $259 = $value216;
- $cmp219 = ($259|0)<(0);
- $260 = $value216;
- $cmp222 = ($260|0)>(1);
- $or$cond20 = $cmp219 | $cmp222;
- if ($or$cond20) {
- label = 96;
- } else {
- $261 = $value216;
- $262 = $st$addr;
- $use_vbr = ((($262)) + 136|0);
- HEAP32[$use_vbr>>2] = $261;
- $263 = $value216;
- $sub = (1 - ($263))|0;
- $264 = $st$addr;
- $silk_mode226 = ((($264)) + 8|0);
- $useCBR = ((($silk_mode226)) + 48|0);
- HEAP32[$useCBR>>2] = $sub;
- label = 95;
- }
- break;
- }
- case 4007: {
- $arglist_current109 = HEAP32[$ap>>2]|0;
- $265 = $arglist_current109;
- $266 = ((0) + 4|0);
- $expanded135 = $266;
- $expanded134 = (($expanded135) - 1)|0;
- $267 = (($265) + ($expanded134))|0;
- $268 = ((0) + 4|0);
- $expanded139 = $268;
- $expanded138 = (($expanded139) - 1)|0;
- $expanded137 = $expanded138 ^ -1;
- $269 = $267 & $expanded137;
- $270 = $269;
- $271 = HEAP32[$270>>2]|0;
- $arglist_next110 = ((($270)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next110;
- $varet230 = $271;
- $272 = $varet230;
- $value228 = $272;
- $273 = $value228;
- $tobool231 = ($273|0)!=(0|0);
- if ($tobool231) {
- $274 = $st$addr;
- $use_vbr234 = ((($274)) + 136|0);
- $275 = HEAP32[$use_vbr234>>2]|0;
- $276 = $value228;
- HEAP32[$276>>2] = $275;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 11018: {
- $arglist_current112 = HEAP32[$ap>>2]|0;
- $277 = $arglist_current112;
- $278 = ((0) + 4|0);
- $expanded142 = $278;
- $expanded141 = (($expanded142) - 1)|0;
- $279 = (($277) + ($expanded141))|0;
- $280 = ((0) + 4|0);
- $expanded146 = $280;
- $expanded145 = (($expanded146) - 1)|0;
- $expanded144 = $expanded145 ^ -1;
- $281 = $279 & $expanded144;
- $282 = $281;
- $283 = HEAP32[$282>>2]|0;
- $arglist_next113 = ((($282)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next113;
- $varet238 = $283;
- $284 = $varet238;
- $value236 = $284;
- $285 = $value236;
- $cmp239 = ($285|0)<(-1);
- $286 = $value236;
- $cmp242 = ($286|0)>(100);
- $or$cond22 = $cmp239 | $cmp242;
- if ($or$cond22) {
- label = 96;
- } else {
- $287 = $value236;
- $288 = $st$addr;
- $voice_ratio = ((($288)) + 128|0);
- HEAP32[$voice_ratio>>2] = $287;
- label = 95;
- }
- break;
- }
- case 11019: {
- $arglist_current115 = HEAP32[$ap>>2]|0;
- $289 = $arglist_current115;
- $290 = ((0) + 4|0);
- $expanded149 = $290;
- $expanded148 = (($expanded149) - 1)|0;
- $291 = (($289) + ($expanded148))|0;
- $292 = ((0) + 4|0);
- $expanded153 = $292;
- $expanded152 = (($expanded153) - 1)|0;
- $expanded151 = $expanded152 ^ -1;
- $293 = $291 & $expanded151;
- $294 = $293;
- $295 = HEAP32[$294>>2]|0;
- $arglist_next116 = ((($294)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next116;
- $varet249 = $295;
- $296 = $varet249;
- $value247 = $296;
- $297 = $value247;
- $tobool250 = ($297|0)!=(0|0);
- if ($tobool250) {
- $298 = $st$addr;
- $voice_ratio253 = ((($298)) + 128|0);
- $299 = HEAP32[$voice_ratio253>>2]|0;
- $300 = $value247;
- HEAP32[$300>>2] = $299;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4020: {
- $arglist_current118 = HEAP32[$ap>>2]|0;
- $301 = $arglist_current118;
- $302 = ((0) + 4|0);
- $expanded156 = $302;
- $expanded155 = (($expanded156) - 1)|0;
- $303 = (($301) + ($expanded155))|0;
- $304 = ((0) + 4|0);
- $expanded160 = $304;
- $expanded159 = (($expanded160) - 1)|0;
- $expanded158 = $expanded159 ^ -1;
- $305 = $303 & $expanded158;
- $306 = $305;
- $307 = HEAP32[$306>>2]|0;
- $arglist_next119 = ((($306)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next119;
- $varet257 = $307;
- $308 = $varet257;
- $value255 = $308;
- $309 = $value255;
- $cmp258 = ($309|0)<(0);
- $310 = $value255;
- $cmp261 = ($310|0)>(1);
- $or$cond24 = $cmp258 | $cmp261;
- if ($or$cond24) {
- label = 96;
- } else {
- $311 = $value255;
- $312 = $st$addr;
- $vbr_constraint = ((($312)) + 140|0);
- HEAP32[$vbr_constraint>>2] = $311;
- label = 95;
- }
- break;
- }
- case 4021: {
- $arglist_current121 = HEAP32[$ap>>2]|0;
- $313 = $arglist_current121;
- $314 = ((0) + 4|0);
- $expanded163 = $314;
- $expanded162 = (($expanded163) - 1)|0;
- $315 = (($313) + ($expanded162))|0;
- $316 = ((0) + 4|0);
- $expanded167 = $316;
- $expanded166 = (($expanded167) - 1)|0;
- $expanded165 = $expanded166 ^ -1;
- $317 = $315 & $expanded165;
- $318 = $317;
- $319 = HEAP32[$318>>2]|0;
- $arglist_next122 = ((($318)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next122;
- $varet268 = $319;
- $320 = $varet268;
- $value266 = $320;
- $321 = $value266;
- $tobool269 = ($321|0)!=(0|0);
- if ($tobool269) {
- $322 = $st$addr;
- $vbr_constraint272 = ((($322)) + 140|0);
- $323 = HEAP32[$vbr_constraint272>>2]|0;
- $324 = $value266;
- HEAP32[$324>>2] = $323;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4024: {
- $arglist_current124 = HEAP32[$ap>>2]|0;
- $325 = $arglist_current124;
- $326 = ((0) + 4|0);
- $expanded170 = $326;
- $expanded169 = (($expanded170) - 1)|0;
- $327 = (($325) + ($expanded169))|0;
- $328 = ((0) + 4|0);
- $expanded174 = $328;
- $expanded173 = (($expanded174) - 1)|0;
- $expanded172 = $expanded173 ^ -1;
- $329 = $327 & $expanded172;
- $330 = $329;
- $331 = HEAP32[$330>>2]|0;
- $arglist_next125 = ((($330)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next125;
- $varet276 = $331;
- $332 = $varet276;
- $value274 = $332;
- $333 = $value274;
- $cmp277 = ($333|0)!=(-1000);
- $334 = $value274;
- $cmp280 = ($334|0)!=(3001);
- $or$cond26 = $cmp277 & $cmp280;
- $335 = $value274;
- $cmp283 = ($335|0)!=(3002);
- $or$cond28 = $or$cond26 & $cmp283;
- if ($or$cond28) {
- label = 96;
- } else {
- $336 = $value274;
- $337 = $st$addr;
- $signal_type = ((($337)) + 112|0);
- HEAP32[$signal_type>>2] = $336;
- label = 95;
- }
- break;
- }
- case 4025: {
- $arglist_current127 = HEAP32[$ap>>2]|0;
- $338 = $arglist_current127;
- $339 = ((0) + 4|0);
- $expanded177 = $339;
- $expanded176 = (($expanded177) - 1)|0;
- $340 = (($338) + ($expanded176))|0;
- $341 = ((0) + 4|0);
- $expanded181 = $341;
- $expanded180 = (($expanded181) - 1)|0;
- $expanded179 = $expanded180 ^ -1;
- $342 = $340 & $expanded179;
- $343 = $342;
- $344 = HEAP32[$343>>2]|0;
- $arglist_next128 = ((($343)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next128;
- $varet290 = $344;
- $345 = $varet290;
- $value288 = $345;
- $346 = $value288;
- $tobool291 = ($346|0)!=(0|0);
- if ($tobool291) {
- $347 = $st$addr;
- $signal_type294 = ((($347)) + 112|0);
- $348 = HEAP32[$signal_type294>>2]|0;
- $349 = $value288;
- HEAP32[$349>>2] = $348;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4027: {
- $arglist_current130 = HEAP32[$ap>>2]|0;
- $350 = $arglist_current130;
- $351 = ((0) + 4|0);
- $expanded184 = $351;
- $expanded183 = (($expanded184) - 1)|0;
- $352 = (($350) + ($expanded183))|0;
- $353 = ((0) + 4|0);
- $expanded188 = $353;
- $expanded187 = (($expanded188) - 1)|0;
- $expanded186 = $expanded187 ^ -1;
- $354 = $352 & $expanded186;
- $355 = $354;
- $356 = HEAP32[$355>>2]|0;
- $arglist_next131 = ((($355)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next131;
- $varet298 = $356;
- $357 = $varet298;
- $value296 = $357;
- $358 = $value296;
- $tobool299 = ($358|0)!=(0|0);
- if ($tobool299) {
- $359 = $st$addr;
- $Fs = ((($359)) + 132|0);
- $360 = HEAP32[$Fs>>2]|0;
- $div = (($360|0) / 400)&-1;
- $361 = $value296;
- HEAP32[$361>>2] = $div;
- $362 = $st$addr;
- $application302 = ((($362)) + 96|0);
- $363 = HEAP32[$application302>>2]|0;
- $cmp303 = ($363|0)!=(2051);
- if ($cmp303) {
- $364 = $st$addr;
- $delay_compensation = ((($364)) + 104|0);
- $365 = HEAP32[$delay_compensation>>2]|0;
- $366 = $value296;
- $367 = HEAP32[$366>>2]|0;
- $add = (($367) + ($365))|0;
- HEAP32[$366>>2] = $add;
- label = 95;
- } else {
- label = 95;
- }
- } else {
- label = 96;
- }
- break;
- }
- case 4029: {
- $arglist_current133 = HEAP32[$ap>>2]|0;
- $368 = $arglist_current133;
- $369 = ((0) + 4|0);
- $expanded191 = $369;
- $expanded190 = (($expanded191) - 1)|0;
- $370 = (($368) + ($expanded190))|0;
- $371 = ((0) + 4|0);
- $expanded195 = $371;
- $expanded194 = (($expanded195) - 1)|0;
- $expanded193 = $expanded194 ^ -1;
- $372 = $370 & $expanded193;
- $373 = $372;
- $374 = HEAP32[$373>>2]|0;
- $arglist_next134 = ((($373)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next134;
- $varet310 = $374;
- $375 = $varet310;
- $value308 = $375;
- $376 = $value308;
- $tobool311 = ($376|0)!=(0|0);
- if ($tobool311) {
- $377 = $st$addr;
- $Fs314 = ((($377)) + 132|0);
- $378 = HEAP32[$Fs314>>2]|0;
- $379 = $value308;
- HEAP32[$379>>2] = $378;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4031: {
- $arglist_current136 = HEAP32[$ap>>2]|0;
- $380 = $arglist_current136;
- $381 = ((0) + 4|0);
- $expanded198 = $381;
- $expanded197 = (($expanded198) - 1)|0;
- $382 = (($380) + ($expanded197))|0;
- $383 = ((0) + 4|0);
- $expanded202 = $383;
- $expanded201 = (($expanded202) - 1)|0;
- $expanded200 = $expanded201 ^ -1;
- $384 = $382 & $expanded200;
- $385 = $384;
- $386 = HEAP32[$385>>2]|0;
- $arglist_next137 = ((($385)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next137;
- $varet318 = $386;
- $387 = $varet318;
- $value316 = $387;
- $388 = $value316;
- $tobool319 = ($388|0)!=(0|0);
- if ($tobool319) {
- $389 = $st$addr;
- $rangeFinal = ((($389)) + 18216|0);
- $390 = HEAP32[$rangeFinal>>2]|0;
- $391 = $value316;
- HEAP32[$391>>2] = $390;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4036: {
- $arglist_current139 = HEAP32[$ap>>2]|0;
- $392 = $arglist_current139;
- $393 = ((0) + 4|0);
- $expanded205 = $393;
- $expanded204 = (($expanded205) - 1)|0;
- $394 = (($392) + ($expanded204))|0;
- $395 = ((0) + 4|0);
- $expanded209 = $395;
- $expanded208 = (($expanded209) - 1)|0;
- $expanded207 = $expanded208 ^ -1;
- $396 = $394 & $expanded207;
- $397 = $396;
- $398 = HEAP32[$397>>2]|0;
- $arglist_next140 = ((($397)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next140;
- $varet325 = $398;
- $399 = $varet325;
- $value323 = $399;
- $400 = $value323;
- $cmp326 = ($400|0)<(8);
- $401 = $value323;
- $cmp329 = ($401|0)>(24);
- $or$cond30 = $cmp326 | $cmp329;
- if ($or$cond30) {
- label = 96;
- } else {
- $402 = $value323;
- $403 = $st$addr;
- $lsb_depth = ((($403)) + 156|0);
- HEAP32[$lsb_depth>>2] = $402;
- label = 95;
- }
- break;
- }
- case 4037: {
- $arglist_current142 = HEAP32[$ap>>2]|0;
- $404 = $arglist_current142;
- $405 = ((0) + 4|0);
- $expanded212 = $405;
- $expanded211 = (($expanded212) - 1)|0;
- $406 = (($404) + ($expanded211))|0;
- $407 = ((0) + 4|0);
- $expanded216 = $407;
- $expanded215 = (($expanded216) - 1)|0;
- $expanded214 = $expanded215 ^ -1;
- $408 = $406 & $expanded214;
- $409 = $408;
- $410 = HEAP32[$409>>2]|0;
- $arglist_next143 = ((($409)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next143;
- $varet336 = $410;
- $411 = $varet336;
- $value334 = $411;
- $412 = $value334;
- $tobool337 = ($412|0)!=(0|0);
- if ($tobool337) {
- $413 = $st$addr;
- $lsb_depth340 = ((($413)) + 156|0);
- $414 = HEAP32[$lsb_depth340>>2]|0;
- $415 = $value334;
- HEAP32[$415>>2] = $414;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4040: {
- $arglist_current145 = HEAP32[$ap>>2]|0;
- $416 = $arglist_current145;
- $417 = ((0) + 4|0);
- $expanded219 = $417;
- $expanded218 = (($expanded219) - 1)|0;
- $418 = (($416) + ($expanded218))|0;
- $419 = ((0) + 4|0);
- $expanded223 = $419;
- $expanded222 = (($expanded223) - 1)|0;
- $expanded221 = $expanded222 ^ -1;
- $420 = $418 & $expanded221;
- $421 = $420;
- $422 = HEAP32[$421>>2]|0;
- $arglist_next146 = ((($421)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next146;
- $varet344 = $422;
- $423 = $varet344;
- $value342 = $423;
- $424 = $value342;
- $cmp345 = ($424|0)!=(5000);
- $425 = $value342;
- $cmp348 = ($425|0)!=(5001);
- $or$cond32 = $cmp345 & $cmp348;
- $426 = $value342;
- $cmp351 = ($426|0)!=(5002);
- $or$cond34 = $or$cond32 & $cmp351;
- $427 = $value342;
- $cmp354 = ($427|0)!=(5003);
- $or$cond36 = $or$cond34 & $cmp354;
- $428 = $value342;
- $cmp357 = ($428|0)!=(5004);
- $or$cond38 = $or$cond36 & $cmp357;
- $429 = $value342;
- $cmp360 = ($429|0)!=(5005);
- $or$cond40 = $or$cond38 & $cmp360;
- $430 = $value342;
- $cmp363 = ($430|0)!=(5006);
- $or$cond42 = $or$cond40 & $cmp363;
- $431 = $value342;
- $cmp366 = ($431|0)!=(5010);
- $or$cond44 = $or$cond42 & $cmp366;
- if ($or$cond44) {
- label = 96;
- } else {
- $432 = $value342;
- $433 = $st$addr;
- $variable_duration = ((($433)) + 144|0);
- HEAP32[$variable_duration>>2] = $432;
- $434 = $celt_enc;
- $435 = $value342;
- HEAP32[$vararg_buffer147>>2] = $435;
- (_opus_custom_encoder_ctl($434,4040,$vararg_buffer147)|0);
- label = 95;
- }
- break;
- }
- case 4041: {
- $arglist_current151 = HEAP32[$ap>>2]|0;
- $436 = $arglist_current151;
- $437 = ((0) + 4|0);
- $expanded226 = $437;
- $expanded225 = (($expanded226) - 1)|0;
- $438 = (($436) + ($expanded225))|0;
- $439 = ((0) + 4|0);
- $expanded230 = $439;
- $expanded229 = (($expanded230) - 1)|0;
- $expanded228 = $expanded229 ^ -1;
- $440 = $438 & $expanded228;
- $441 = $440;
- $442 = HEAP32[$441>>2]|0;
- $arglist_next152 = ((($441)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next152;
- $varet376 = $442;
- $443 = $varet376;
- $value374 = $443;
- $444 = $value374;
- $tobool377 = ($444|0)!=(0|0);
- if ($tobool377) {
- $445 = $st$addr;
- $variable_duration380 = ((($445)) + 144|0);
- $446 = HEAP32[$variable_duration380>>2]|0;
- $447 = $value374;
- HEAP32[$447>>2] = $446;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4042: {
- $arglist_current154 = HEAP32[$ap>>2]|0;
- $448 = $arglist_current154;
- $449 = ((0) + 4|0);
- $expanded233 = $449;
- $expanded232 = (($expanded233) - 1)|0;
- $450 = (($448) + ($expanded232))|0;
- $451 = ((0) + 4|0);
- $expanded237 = $451;
- $expanded236 = (($expanded237) - 1)|0;
- $expanded235 = $expanded236 ^ -1;
- $452 = $450 & $expanded235;
- $453 = $452;
- $454 = HEAP32[$453>>2]|0;
- $arglist_next155 = ((($453)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next155;
- $varet384 = $454;
- $455 = $varet384;
- $value382 = $455;
- $456 = $value382;
- $cmp385 = ($456|0)>(1);
- $457 = $value382;
- $cmp388 = ($457|0)<(0);
- $or$cond46 = $cmp385 | $cmp388;
- if ($or$cond46) {
- label = 96;
- } else {
- $458 = $value382;
- $459 = $st$addr;
- $silk_mode392 = ((($459)) + 8|0);
- $reducedDependency = ((($silk_mode392)) + 64|0);
- HEAP32[$reducedDependency>>2] = $458;
- label = 95;
- }
- break;
- }
- case 4043: {
- $arglist_current157 = HEAP32[$ap>>2]|0;
- $460 = $arglist_current157;
- $461 = ((0) + 4|0);
- $expanded240 = $461;
- $expanded239 = (($expanded240) - 1)|0;
- $462 = (($460) + ($expanded239))|0;
- $463 = ((0) + 4|0);
- $expanded244 = $463;
- $expanded243 = (($expanded244) - 1)|0;
- $expanded242 = $expanded243 ^ -1;
- $464 = $462 & $expanded242;
- $465 = $464;
- $466 = HEAP32[$465>>2]|0;
- $arglist_next158 = ((($465)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next158;
- $varet396 = $466;
- $467 = $varet396;
- $value394 = $467;
- $468 = $value394;
- $tobool397 = ($468|0)!=(0|0);
- if ($tobool397) {
- $469 = $st$addr;
- $silk_mode400 = ((($469)) + 8|0);
- $reducedDependency401 = ((($silk_mode400)) + 64|0);
- $470 = HEAP32[$reducedDependency401>>2]|0;
- $471 = $value394;
- HEAP32[$471>>2] = $470;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- case 4028: {
- $472 = $st$addr;
- $473 = $st$addr;
- $silk_enc_offset = ((($473)) + 4|0);
- $474 = HEAP32[$silk_enc_offset>>2]|0;
- $add$ptr403 = (($472) + ($474)|0);
- $silk_enc = $add$ptr403;
- $475 = $st$addr;
- $analysis = ((($475)) + 172|0);
- _tonality_analysis_reset($analysis);
- $476 = $st$addr;
- $stream_channels = ((($476)) + 14288|0);
- $start = $stream_channels;
- $477 = $start;
- $478 = $start;
- $479 = $st$addr;
- $sub$ptr$lhs$cast = $478;
- $sub$ptr$rhs$cast = $479;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub404 = (18220 - ($sub$ptr$sub))|0;
- $mul405 = $sub404;
- _memset(($477|0),0,($mul405|0))|0;
- $480 = $celt_enc;
- (_opus_custom_encoder_ctl($480,4028,$vararg_buffer159)|0);
- $481 = $silk_enc;
- $482 = $st$addr;
- $arch = ((($482)) + 168|0);
- $483 = HEAP32[$arch>>2]|0;
- (_silk_InitEncoder($481,$483,$dummy)|0);
- $484 = $st$addr;
- $channels408 = ((($484)) + 100|0);
- $485 = HEAP32[$channels408>>2]|0;
- $486 = $st$addr;
- $stream_channels409 = ((($486)) + 14288|0);
- HEAP32[$stream_channels409>>2] = $485;
- $487 = $st$addr;
- $hybrid_stereo_width_Q14 = ((($487)) + 14292|0);
- HEAP16[$hybrid_stereo_width_Q14>>1] = 16384;
- $488 = $st$addr;
- $prev_HB_gain = ((($488)) + 14300|0);
- HEAPF32[$prev_HB_gain>>2] = 1.0;
- $489 = $st$addr;
- $first410 = ((($489)) + 14344|0);
- HEAP32[$first410>>2] = 1;
- $490 = $st$addr;
- $mode = ((($490)) + 14320|0);
- HEAP32[$mode>>2] = 1001;
- $491 = $st$addr;
- $bandwidth411 = ((($491)) + 14336|0);
- HEAP32[$bandwidth411>>2] = 1105;
- $call412 = (_silk_lin2log(60)|0);
- $shl = $call412 << 8;
- $492 = $st$addr;
- $variable_HP_smth2_Q15 = ((($492)) + 14296|0);
- HEAP32[$variable_HP_smth2_Q15>>2] = $shl;
- label = 95;
- break;
- }
- case 11002: {
- $arglist_current162 = HEAP32[$ap>>2]|0;
- $493 = $arglist_current162;
- $494 = ((0) + 4|0);
- $expanded247 = $494;
- $expanded246 = (($expanded247) - 1)|0;
- $495 = (($493) + ($expanded246))|0;
- $496 = ((0) + 4|0);
- $expanded251 = $496;
- $expanded250 = (($expanded251) - 1)|0;
- $expanded249 = $expanded250 ^ -1;
- $497 = $495 & $expanded249;
- $498 = $497;
- $499 = HEAP32[$498>>2]|0;
- $arglist_next163 = ((($498)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next163;
- $varet416 = $499;
- $500 = $varet416;
- $value414 = $500;
- $501 = $value414;
- $cmp417 = ($501|0)<(1000);
- $502 = $value414;
- $cmp420 = ($502|0)>(1002);
- $or$cond48 = $cmp417 | $cmp420;
- $503 = $value414;
- $cmp423 = ($503|0)!=(-1000);
- $or$cond50 = $or$cond48 & $cmp423;
- if ($or$cond50) {
- label = 96;
- } else {
- $504 = $value414;
- $505 = $st$addr;
- $user_forced_mode = ((($505)) + 124|0);
- HEAP32[$user_forced_mode>>2] = $504;
- label = 95;
- }
- break;
- }
- case 10024: {
- $arglist_current165 = HEAP32[$ap>>2]|0;
- $506 = $arglist_current165;
- $507 = ((0) + 4|0);
- $expanded254 = $507;
- $expanded253 = (($expanded254) - 1)|0;
- $508 = (($506) + ($expanded253))|0;
- $509 = ((0) + 4|0);
- $expanded258 = $509;
- $expanded257 = (($expanded258) - 1)|0;
- $expanded256 = $expanded257 ^ -1;
- $510 = $508 & $expanded256;
- $511 = $510;
- $512 = HEAP32[$511>>2]|0;
- $arglist_next166 = ((($511)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next166;
- $varet430 = $512;
- $513 = $varet430;
- $value428 = $513;
- $514 = $value428;
- $515 = $st$addr;
- $lfe = ((($515)) + 164|0);
- HEAP32[$lfe>>2] = $514;
- $516 = $celt_enc;
- $517 = $value428;
- HEAP32[$vararg_buffer167>>2] = $517;
- $call433 = (_opus_custom_encoder_ctl($516,10024,$vararg_buffer167)|0);
- $ret = $call433;
- label = 95;
- break;
- }
- case 10026: {
- $arglist_current171 = HEAP32[$ap>>2]|0;
- $518 = $arglist_current171;
- $519 = ((0) + 4|0);
- $expanded261 = $519;
- $expanded260 = (($expanded261) - 1)|0;
- $520 = (($518) + ($expanded260))|0;
- $521 = ((0) + 4|0);
- $expanded265 = $521;
- $expanded264 = (($expanded265) - 1)|0;
- $expanded263 = $expanded264 ^ -1;
- $522 = $520 & $expanded263;
- $523 = $522;
- $524 = HEAP32[$523>>2]|0;
- $arglist_next172 = ((($523)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next172;
- $varet437 = $524;
- $525 = $varet437;
- $value435 = $525;
- $526 = $value435;
- $527 = $st$addr;
- $energy_masking = ((($527)) + 14348|0);
- HEAP32[$energy_masking>>2] = $526;
- $528 = $celt_enc;
- $529 = $value435;
- $530 = $value435;
- $531 = $value435;
- $sub$ptr$lhs$cast438 = $530;
- $sub$ptr$rhs$cast439 = $531;
- $sub$ptr$sub440 = (($sub$ptr$lhs$cast438) - ($sub$ptr$rhs$cast439))|0;
- $sub$ptr$div = (($sub$ptr$sub440|0) / 4)&-1;
- $add$ptr441 = (($529) + ($sub$ptr$div<<2)|0);
- HEAP32[$vararg_buffer173>>2] = $add$ptr441;
- $call442 = (_opus_custom_encoder_ctl($528,10026,$vararg_buffer173)|0);
- $ret = $call442;
- label = 95;
- break;
- }
- case 10015: {
- $arglist_current177 = HEAP32[$ap>>2]|0;
- $532 = $arglist_current177;
- $533 = ((0) + 4|0);
- $expanded268 = $533;
- $expanded267 = (($expanded268) - 1)|0;
- $534 = (($532) + ($expanded267))|0;
- $535 = ((0) + 4|0);
- $expanded272 = $535;
- $expanded271 = (($expanded272) - 1)|0;
- $expanded270 = $expanded271 ^ -1;
- $536 = $534 & $expanded270;
- $537 = $536;
- $538 = HEAP32[$537>>2]|0;
- $arglist_next178 = ((($537)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next178;
- $varet446 = $538;
- $539 = $varet446;
- $value444 = $539;
- $540 = $value444;
- $tobool447 = ($540|0)!=(0|0);
- if ($tobool447) {
- $541 = $celt_enc;
- $542 = $value444;
- $543 = $value444;
- $544 = $value444;
- $sub$ptr$lhs$cast450 = $543;
- $sub$ptr$rhs$cast451 = $544;
- $sub$ptr$sub452 = (($sub$ptr$lhs$cast450) - ($sub$ptr$rhs$cast451))|0;
- $sub$ptr$div453 = (($sub$ptr$sub452|0) / 4)&-1;
- $add$ptr454 = (($542) + ($sub$ptr$div453<<2)|0);
- HEAP32[$vararg_buffer179>>2] = $add$ptr454;
- $call455 = (_opus_custom_encoder_ctl($541,10015,$vararg_buffer179)|0);
- $ret = $call455;
- label = 95;
- } else {
- label = 96;
- }
- break;
- }
- default: {
- $ret = -5;
- label = 95;
- }
- }
- } while(0);
- if ((label|0) == 95) {
- $545 = $ret;
- $retval = $545;
- $546 = $retval;
- STACKTOP = sp;return ($546|0);
- }
- else if ((label|0) == 96) {
- $retval = -1;
- $546 = $retval;
- STACKTOP = sp;return ($546|0);
- }
- return (0)|0;
-}
-function _opus_encoder_destroy($st) {
- $st = $st|0;
- var $0 = 0, $st$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $st$addr = $st;
- $0 = $st$addr;
- _opus_free_12($0);
- STACKTOP = sp;return;
-}
-function _opus_repacketizer_init($rp) {
- $rp = $rp|0;
- var $0 = 0, $1 = 0, $nb_frames = 0, $rp$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $rp$addr = $rp;
- $0 = $rp$addr;
- $nb_frames = ((($0)) + 4|0);
- HEAP32[$nb_frames>>2] = 0;
- $1 = $rp$addr;
- STACKTOP = sp;return ($1|0);
-}
-function _opus_repacketizer_cat($rp,$data,$len) {
- $rp = $rp|0;
- $data = $data|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $2 = 0, $call = 0, $data$addr = 0, $len$addr = 0, $rp$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $rp$addr = $rp;
- $data$addr = $data;
- $len$addr = $len;
- $0 = $rp$addr;
- $1 = $data$addr;
- $2 = $len$addr;
- $call = (_opus_repacketizer_cat_impl($0,$1,$2,0)|0);
- STACKTOP = sp;return ($call|0);
-}
-function _opus_repacketizer_cat_impl($rp,$data,$len,$self_delimited) {
- $rp = $rp|0;
- $data = $data|0;
- $len = $len|0;
- $self_delimited = $self_delimited|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add34 = 0, $and = 0, $and6 = 0, $arrayidx24 = 0;
- var $arrayidx27 = 0, $call = 0, $call12 = 0, $call28 = 0, $cmp = 0, $cmp1 = 0, $cmp13 = 0, $cmp19 = 0, $cmp29 = 0, $cmp7 = 0, $conv = 0, $conv5 = 0, $curr_nb_frames = 0, $data$addr = 0, $frames = 0, $framesize = 0, $framesize18 = 0, $len$addr = 0, $len25 = 0, $mul = 0;
- var $nb_frames = 0, $nb_frames17 = 0, $nb_frames23 = 0, $nb_frames26 = 0, $nb_frames33 = 0, $ret = 0, $retval = 0, $rp$addr = 0, $self_delimited$addr = 0, $tmp_toc = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $tmp_toc = sp + 28|0;
- $rp$addr = $rp;
- $data$addr = $data;
- $len$addr = $len;
- $self_delimited$addr = $self_delimited;
- $0 = $len$addr;
- $cmp = ($0|0)<(1);
- if ($cmp) {
- $retval = -4;
- $34 = $retval;
- STACKTOP = sp;return ($34|0);
- }
- $1 = $rp$addr;
- $nb_frames = ((($1)) + 4|0);
- $2 = HEAP32[$nb_frames>>2]|0;
- $cmp1 = ($2|0)==(0);
- if ($cmp1) {
- $3 = $data$addr;
- $4 = HEAP8[$3>>0]|0;
- $5 = $rp$addr;
- HEAP8[$5>>0] = $4;
- $6 = $data$addr;
- $call = (_opus_packet_get_samples_per_frame($6,8000)|0);
- $7 = $rp$addr;
- $framesize = ((($7)) + 296|0);
- HEAP32[$framesize>>2] = $call;
- } else {
- $8 = $rp$addr;
- $9 = HEAP8[$8>>0]|0;
- $conv = $9&255;
- $and = $conv & 252;
- $10 = $data$addr;
- $11 = HEAP8[$10>>0]|0;
- $conv5 = $11&255;
- $and6 = $conv5 & 252;
- $cmp7 = ($and|0)!=($and6|0);
- if ($cmp7) {
- $retval = -4;
- $34 = $retval;
- STACKTOP = sp;return ($34|0);
- }
- }
- $12 = $data$addr;
- $13 = $len$addr;
- $call12 = (_opus_packet_get_nb_frames($12,$13)|0);
- $curr_nb_frames = $call12;
- $14 = $curr_nb_frames;
- $cmp13 = ($14|0)<(1);
- if ($cmp13) {
- $retval = -4;
- $34 = $retval;
- STACKTOP = sp;return ($34|0);
- }
- $15 = $curr_nb_frames;
- $16 = $rp$addr;
- $nb_frames17 = ((($16)) + 4|0);
- $17 = HEAP32[$nb_frames17>>2]|0;
- $add = (($15) + ($17))|0;
- $18 = $rp$addr;
- $framesize18 = ((($18)) + 296|0);
- $19 = HEAP32[$framesize18>>2]|0;
- $mul = Math_imul($add, $19)|0;
- $cmp19 = ($mul|0)>(960);
- if ($cmp19) {
- $retval = -4;
- $34 = $retval;
- STACKTOP = sp;return ($34|0);
- }
- $20 = $data$addr;
- $21 = $len$addr;
- $22 = $self_delimited$addr;
- $23 = $rp$addr;
- $frames = ((($23)) + 8|0);
- $24 = $rp$addr;
- $nb_frames23 = ((($24)) + 4|0);
- $25 = HEAP32[$nb_frames23>>2]|0;
- $arrayidx24 = (($frames) + ($25<<2)|0);
- $26 = $rp$addr;
- $len25 = ((($26)) + 200|0);
- $27 = $rp$addr;
- $nb_frames26 = ((($27)) + 4|0);
- $28 = HEAP32[$nb_frames26>>2]|0;
- $arrayidx27 = (($len25) + ($28<<1)|0);
- $call28 = (_opus_packet_parse_impl($20,$21,$22,$tmp_toc,$arrayidx24,$arrayidx27,0,0)|0);
- $ret = $call28;
- $29 = $ret;
- $cmp29 = ($29|0)<(1);
- if ($cmp29) {
- $30 = $ret;
- $retval = $30;
- $34 = $retval;
- STACKTOP = sp;return ($34|0);
- } else {
- $31 = $curr_nb_frames;
- $32 = $rp$addr;
- $nb_frames33 = ((($32)) + 4|0);
- $33 = HEAP32[$nb_frames33>>2]|0;
- $add34 = (($33) + ($31))|0;
- HEAP32[$nb_frames33>>2] = $add34;
- $retval = 0;
- $34 = $retval;
- STACKTOP = sp;return ($34|0);
- }
- return (0)|0;
-}
-function _opus_repacketizer_out_range_impl($rp,$begin,$end,$data,$maxlen,$self_delimited,$pad) {
- $rp = $rp|0;
- $begin = $begin|0;
- $end = $end|0;
- $data = $data|0;
- $maxlen = $maxlen|0;
- $self_delimited = $self_delimited|0;
- $pad = $pad|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
- var $add = 0, $add$ptr = 0, $add$ptr197 = 0, $add$ptr209 = 0, $add$ptr224 = 0, $add$ptr230 = 0, $add$ptr7 = 0, $add$ptr75 = 0, $add108 = 0, $add118 = 0, $add121 = 0, $add122 = 0, $add129 = 0, $add147 = 0, $add148 = 0, $add18 = 0, $add185 = 0, $add19 = 0, $add221 = 0, $add39 = 0;
- var $add40 = 0, $add55 = 0, $add56 = 0, $add61 = 0, $add62 = 0, $add93 = 0, $and = 0, $and136 = 0, $and155 = 0, $and47 = 0, $and69 = 0, $arrayidx = 0, $arrayidx114 = 0, $arrayidx119 = 0, $arrayidx127 = 0, $arrayidx167 = 0, $arrayidx194 = 0, $arrayidx206 = 0, $arrayidx215 = 0, $arrayidx216 = 0;
- var $arrayidx219 = 0, $arrayidx222 = 0, $arrayidx30 = 0, $arrayidx53 = 0, $arrayidx89 = 0, $arrayidx98 = 0, $begin$addr = 0, $call = 0, $call196 = 0, $call208 = 0, $cmp = 0, $cmp1 = 0, $cmp10 = 0, $cmp102 = 0, $cmp111 = 0, $cmp116 = 0, $cmp13 = 0, $cmp130 = 0, $cmp149 = 0, $cmp164 = 0;
- var $cmp173 = 0, $cmp191 = 0, $cmp20 = 0, $cmp212 = 0, $cmp231 = 0, $cmp27 = 0, $cmp3 = 0, $cmp34 = 0, $cmp41 = 0, $cmp59 = 0, $cmp63 = 0, $cmp79 = 0, $cmp83 = 0, $cmp91 = 0, $cmp96 = 0, $cond = 0, $conv = 0, $conv101 = 0, $conv11 = 0, $conv115 = 0;
- var $conv117 = 0, $conv120 = 0, $conv128 = 0, $conv135 = 0, $conv138 = 0, $conv141 = 0, $conv145 = 0, $conv154 = 0, $conv157 = 0, $conv159 = 0, $conv168 = 0, $conv17 = 0, $conv170 = 0, $conv183 = 0, $conv195 = 0, $conv207 = 0, $conv217 = 0, $conv223 = 0, $conv24 = 0, $conv25 = 0;
- var $conv31 = 0, $conv33 = 0, $conv38 = 0, $conv46 = 0, $conv48 = 0, $conv54 = 0, $conv58 = 0, $conv60 = 0, $conv68 = 0, $conv71 = 0, $conv74 = 0, $conv90 = 0, $conv92 = 0, $conv99 = 0, $count = 0, $data$addr = 0, $div = 0, $end$addr = 0, $frames = 0, $frames5 = 0;
- var $i = 0, $inc = 0, $inc124 = 0, $inc178 = 0, $inc199 = 0, $inc226 = 0, $incdec$ptr = 0, $incdec$ptr139 = 0, $incdec$ptr142 = 0, $incdec$ptr158 = 0, $incdec$ptr160 = 0, $incdec$ptr176 = 0, $incdec$ptr184 = 0, $incdec$ptr233 = 0, $incdec$ptr49 = 0, $incdec$ptr72 = 0, $len = 0, $len4 = 0, $maxlen$addr = 0, $mul = 0;
- var $mul146 = 0, $mul180 = 0, $mul218 = 0, $mul220 = 0, $nb_255s = 0, $nb_frames = 0, $or = 0, $or137 = 0, $or140 = 0, $or156 = 0, $or169 = 0, $or70 = 0, $pad$addr = 0, $pad_amount = 0, $ptr = 0, $retval = 0, $rp$addr = 0, $sdlen = 0, $self_delimited$addr = 0, $sub = 0;
- var $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $sub110 = 0, $sub126 = 0, $sub163 = 0, $sub171 = 0, $sub181 = 0, $sub182 = 0, $sub190 = 0, $sub205 = 0, $sub88 = 0, $sub9 = 0, $tobool = 0, $tobool106 = 0, $tobool162 = 0, $tobool187 = 0, $tobool203 = 0, $tobool228 = 0, $tobool82 = 0;
- var $tobool86 = 0, $tot_size = 0, $vbr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $rp$addr = $rp;
- $begin$addr = $begin;
- $end$addr = $end;
- $data$addr = $data;
- $maxlen$addr = $maxlen;
- $self_delimited$addr = $self_delimited;
- $pad$addr = $pad;
- $0 = $begin$addr;
- $cmp = ($0|0)<(0);
- if (!($cmp)) {
- $1 = $begin$addr;
- $2 = $end$addr;
- $cmp1 = ($1|0)>=($2|0);
- if (!($cmp1)) {
- $3 = $end$addr;
- $4 = $rp$addr;
- $nb_frames = ((($4)) + 4|0);
- $5 = HEAP32[$nb_frames>>2]|0;
- $cmp3 = ($3|0)>($5|0);
- if (!($cmp3)) {
- $6 = $end$addr;
- $7 = $begin$addr;
- $sub = (($6) - ($7))|0;
- $count = $sub;
- $8 = $rp$addr;
- $len4 = ((($8)) + 200|0);
- $9 = $begin$addr;
- $add$ptr = (($len4) + ($9<<1)|0);
- $len = $add$ptr;
- $10 = $rp$addr;
- $frames5 = ((($10)) + 8|0);
- $11 = $begin$addr;
- $add$ptr7 = (($frames5) + ($11<<2)|0);
- $frames = $add$ptr7;
- $12 = $self_delimited$addr;
- $tobool = ($12|0)!=(0);
- if ($tobool) {
- $13 = $len;
- $14 = $count;
- $sub9 = (($14) - 1)|0;
- $arrayidx = (($13) + ($sub9<<1)|0);
- $15 = HEAP16[$arrayidx>>1]|0;
- $conv = $15 << 16 >> 16;
- $cmp10 = ($conv|0)>=(252);
- $conv11 = $cmp10&1;
- $add = (1 + ($conv11))|0;
- $tot_size = $add;
- } else {
- $tot_size = 0;
- }
- $16 = $data$addr;
- $ptr = $16;
- $17 = $count;
- $cmp13 = ($17|0)==(1);
- do {
- if ($cmp13) {
- $18 = $len;
- $19 = HEAP16[$18>>1]|0;
- $conv17 = $19 << 16 >> 16;
- $add18 = (($conv17) + 1)|0;
- $20 = $tot_size;
- $add19 = (($20) + ($add18))|0;
- $tot_size = $add19;
- $21 = $tot_size;
- $22 = $maxlen$addr;
- $cmp20 = ($21|0)>($22|0);
- if (!($cmp20)) {
- $23 = $rp$addr;
- $24 = HEAP8[$23>>0]|0;
- $conv24 = $24&255;
- $and = $conv24 & 252;
- $conv25 = $and&255;
- $25 = $ptr;
- $incdec$ptr = ((($25)) + 1|0);
- $ptr = $incdec$ptr;
- HEAP8[$25>>0] = $conv25;
- break;
- }
- $retval = -2;
- $159 = $retval;
- STACKTOP = sp;return ($159|0);
- } else {
- $26 = $count;
- $cmp27 = ($26|0)==(2);
- if ($cmp27) {
- $27 = $len;
- $arrayidx30 = ((($27)) + 2|0);
- $28 = HEAP16[$arrayidx30>>1]|0;
- $conv31 = $28 << 16 >> 16;
- $29 = $len;
- $30 = HEAP16[$29>>1]|0;
- $conv33 = $30 << 16 >> 16;
- $cmp34 = ($conv31|0)==($conv33|0);
- $31 = $len;
- $32 = HEAP16[$31>>1]|0;
- $conv38 = $32 << 16 >> 16;
- if ($cmp34) {
- $mul = $conv38<<1;
- $add39 = (($mul) + 1)|0;
- $33 = $tot_size;
- $add40 = (($33) + ($add39))|0;
- $tot_size = $add40;
- $34 = $tot_size;
- $35 = $maxlen$addr;
- $cmp41 = ($34|0)>($35|0);
- if (!($cmp41)) {
- $36 = $rp$addr;
- $37 = HEAP8[$36>>0]|0;
- $conv46 = $37&255;
- $and47 = $conv46 & 252;
- $or = $and47 | 1;
- $conv48 = $or&255;
- $38 = $ptr;
- $incdec$ptr49 = ((($38)) + 1|0);
- $ptr = $incdec$ptr49;
- HEAP8[$38>>0] = $conv48;
- break;
- }
- $retval = -2;
- $159 = $retval;
- STACKTOP = sp;return ($159|0);
- } else {
- $39 = $len;
- $arrayidx53 = ((($39)) + 2|0);
- $40 = HEAP16[$arrayidx53>>1]|0;
- $conv54 = $40 << 16 >> 16;
- $add55 = (($conv38) + ($conv54))|0;
- $add56 = (($add55) + 2)|0;
- $41 = $len;
- $42 = HEAP16[$41>>1]|0;
- $conv58 = $42 << 16 >> 16;
- $cmp59 = ($conv58|0)>=(252);
- $conv60 = $cmp59&1;
- $add61 = (($add56) + ($conv60))|0;
- $43 = $tot_size;
- $add62 = (($43) + ($add61))|0;
- $tot_size = $add62;
- $44 = $tot_size;
- $45 = $maxlen$addr;
- $cmp63 = ($44|0)>($45|0);
- if (!($cmp63)) {
- $46 = $rp$addr;
- $47 = HEAP8[$46>>0]|0;
- $conv68 = $47&255;
- $and69 = $conv68 & 252;
- $or70 = $and69 | 2;
- $conv71 = $or70&255;
- $48 = $ptr;
- $incdec$ptr72 = ((($48)) + 1|0);
- $ptr = $incdec$ptr72;
- HEAP8[$48>>0] = $conv71;
- $49 = $len;
- $50 = HEAP16[$49>>1]|0;
- $conv74 = $50 << 16 >> 16;
- $51 = $ptr;
- $call = (_encode_size($conv74,$51)|0);
- $52 = $ptr;
- $add$ptr75 = (($52) + ($call)|0);
- $ptr = $add$ptr75;
- break;
- }
- $retval = -2;
- $159 = $retval;
- STACKTOP = sp;return ($159|0);
- }
- }
- }
- } while(0);
- $53 = $count;
- $cmp79 = ($53|0)>(2);
- if ($cmp79) {
- label = 23;
- } else {
- $54 = $pad$addr;
- $tobool82 = ($54|0)!=(0);
- if ($tobool82) {
- $55 = $tot_size;
- $56 = $maxlen$addr;
- $cmp83 = ($55|0)<($56|0);
- if ($cmp83) {
- label = 23;
- }
- }
- }
- L32: do {
- if ((label|0) == 23) {
- $pad_amount = 0;
- $57 = $data$addr;
- $ptr = $57;
- $58 = $self_delimited$addr;
- $tobool86 = ($58|0)!=(0);
- if ($tobool86) {
- $59 = $len;
- $60 = $count;
- $sub88 = (($60) - 1)|0;
- $arrayidx89 = (($59) + ($sub88<<1)|0);
- $61 = HEAP16[$arrayidx89>>1]|0;
- $conv90 = $61 << 16 >> 16;
- $cmp91 = ($conv90|0)>=(252);
- $conv92 = $cmp91&1;
- $add93 = (1 + ($conv92))|0;
- $tot_size = $add93;
- } else {
- $tot_size = 0;
- }
- $vbr = 0;
- $i = 1;
- while(1) {
- $62 = $i;
- $63 = $count;
- $cmp96 = ($62|0)<($63|0);
- if (!($cmp96)) {
- break;
- }
- $64 = $len;
- $65 = $i;
- $arrayidx98 = (($64) + ($65<<1)|0);
- $66 = HEAP16[$arrayidx98>>1]|0;
- $conv99 = $66 << 16 >> 16;
- $67 = $len;
- $68 = HEAP16[$67>>1]|0;
- $conv101 = $68 << 16 >> 16;
- $cmp102 = ($conv99|0)!=($conv101|0);
- if ($cmp102) {
- label = 29;
- break;
- }
- $69 = $i;
- $inc = (($69) + 1)|0;
- $i = $inc;
- }
- if ((label|0) == 29) {
- $vbr = 1;
- }
- $70 = $vbr;
- $tobool106 = ($70|0)!=(0);
- do {
- if ($tobool106) {
- $71 = $tot_size;
- $add108 = (($71) + 2)|0;
- $tot_size = $add108;
- $i = 0;
- while(1) {
- $72 = $i;
- $73 = $count;
- $sub110 = (($73) - 1)|0;
- $cmp111 = ($72|0)<($sub110|0);
- $74 = $len;
- if (!($cmp111)) {
- break;
- }
- $75 = $i;
- $arrayidx114 = (($74) + ($75<<1)|0);
- $76 = HEAP16[$arrayidx114>>1]|0;
- $conv115 = $76 << 16 >> 16;
- $cmp116 = ($conv115|0)>=(252);
- $conv117 = $cmp116&1;
- $add118 = (1 + ($conv117))|0;
- $77 = $len;
- $78 = $i;
- $arrayidx119 = (($77) + ($78<<1)|0);
- $79 = HEAP16[$arrayidx119>>1]|0;
- $conv120 = $79 << 16 >> 16;
- $add121 = (($add118) + ($conv120))|0;
- $80 = $tot_size;
- $add122 = (($80) + ($add121))|0;
- $tot_size = $add122;
- $81 = $i;
- $inc124 = (($81) + 1)|0;
- $i = $inc124;
- }
- $82 = $count;
- $sub126 = (($82) - 1)|0;
- $arrayidx127 = (($74) + ($sub126<<1)|0);
- $83 = HEAP16[$arrayidx127>>1]|0;
- $conv128 = $83 << 16 >> 16;
- $84 = $tot_size;
- $add129 = (($84) + ($conv128))|0;
- $tot_size = $add129;
- $85 = $tot_size;
- $86 = $maxlen$addr;
- $cmp130 = ($85|0)>($86|0);
- if (!($cmp130)) {
- $87 = $rp$addr;
- $88 = HEAP8[$87>>0]|0;
- $conv135 = $88&255;
- $and136 = $conv135 & 252;
- $or137 = $and136 | 3;
- $conv138 = $or137&255;
- $89 = $ptr;
- $incdec$ptr139 = ((($89)) + 1|0);
- $ptr = $incdec$ptr139;
- HEAP8[$89>>0] = $conv138;
- $90 = $count;
- $or140 = $90 | 128;
- $conv141 = $or140&255;
- $91 = $ptr;
- $incdec$ptr142 = ((($91)) + 1|0);
- $ptr = $incdec$ptr142;
- HEAP8[$91>>0] = $conv141;
- break;
- }
- $retval = -2;
- $159 = $retval;
- STACKTOP = sp;return ($159|0);
- } else {
- $92 = $count;
- $93 = $len;
- $94 = HEAP16[$93>>1]|0;
- $conv145 = $94 << 16 >> 16;
- $mul146 = Math_imul($92, $conv145)|0;
- $add147 = (($mul146) + 2)|0;
- $95 = $tot_size;
- $add148 = (($95) + ($add147))|0;
- $tot_size = $add148;
- $96 = $tot_size;
- $97 = $maxlen$addr;
- $cmp149 = ($96|0)>($97|0);
- if (!($cmp149)) {
- $98 = $rp$addr;
- $99 = HEAP8[$98>>0]|0;
- $conv154 = $99&255;
- $and155 = $conv154 & 252;
- $or156 = $and155 | 3;
- $conv157 = $or156&255;
- $100 = $ptr;
- $incdec$ptr158 = ((($100)) + 1|0);
- $ptr = $incdec$ptr158;
- HEAP8[$100>>0] = $conv157;
- $101 = $count;
- $conv159 = $101&255;
- $102 = $ptr;
- $incdec$ptr160 = ((($102)) + 1|0);
- $ptr = $incdec$ptr160;
- HEAP8[$102>>0] = $conv159;
- break;
- }
- $retval = -2;
- $159 = $retval;
- STACKTOP = sp;return ($159|0);
- }
- } while(0);
- $103 = $pad$addr;
- $tobool162 = ($103|0)!=(0);
- if ($tobool162) {
- $104 = $maxlen$addr;
- $105 = $tot_size;
- $sub163 = (($104) - ($105))|0;
- $cond = $sub163;
- } else {
- $cond = 0;
- }
- $pad_amount = $cond;
- $106 = $pad_amount;
- $cmp164 = ($106|0)!=(0);
- if ($cmp164) {
- $107 = $data$addr;
- $arrayidx167 = ((($107)) + 1|0);
- $108 = HEAP8[$arrayidx167>>0]|0;
- $conv168 = $108&255;
- $or169 = $conv168 | 64;
- $conv170 = $or169&255;
- HEAP8[$arrayidx167>>0] = $conv170;
- $109 = $pad_amount;
- $sub171 = (($109) - 1)|0;
- $div = (($sub171|0) / 255)&-1;
- $nb_255s = $div;
- $i = 0;
- while(1) {
- $110 = $i;
- $111 = $nb_255s;
- $cmp173 = ($110|0)<($111|0);
- if (!($cmp173)) {
- break;
- }
- $112 = $ptr;
- $incdec$ptr176 = ((($112)) + 1|0);
- $ptr = $incdec$ptr176;
- HEAP8[$112>>0] = -1;
- $113 = $i;
- $inc178 = (($113) + 1)|0;
- $i = $inc178;
- }
- $114 = $pad_amount;
- $115 = $nb_255s;
- $mul180 = ($115*255)|0;
- $sub181 = (($114) - ($mul180))|0;
- $sub182 = (($sub181) - 1)|0;
- $conv183 = $sub182&255;
- $116 = $ptr;
- $incdec$ptr184 = ((($116)) + 1|0);
- $ptr = $incdec$ptr184;
- HEAP8[$116>>0] = $conv183;
- $117 = $pad_amount;
- $118 = $tot_size;
- $add185 = (($118) + ($117))|0;
- $tot_size = $add185;
- }
- $119 = $vbr;
- $tobool187 = ($119|0)!=(0);
- if ($tobool187) {
- $i = 0;
- while(1) {
- $120 = $i;
- $121 = $count;
- $sub190 = (($121) - 1)|0;
- $cmp191 = ($120|0)<($sub190|0);
- if (!($cmp191)) {
- break L32;
- }
- $122 = $len;
- $123 = $i;
- $arrayidx194 = (($122) + ($123<<1)|0);
- $124 = HEAP16[$arrayidx194>>1]|0;
- $conv195 = $124 << 16 >> 16;
- $125 = $ptr;
- $call196 = (_encode_size($conv195,$125)|0);
- $126 = $ptr;
- $add$ptr197 = (($126) + ($call196)|0);
- $ptr = $add$ptr197;
- $127 = $i;
- $inc199 = (($127) + 1)|0;
- $i = $inc199;
- }
- }
- }
- } while(0);
- $128 = $self_delimited$addr;
- $tobool203 = ($128|0)!=(0);
- if ($tobool203) {
- $129 = $len;
- $130 = $count;
- $sub205 = (($130) - 1)|0;
- $arrayidx206 = (($129) + ($sub205<<1)|0);
- $131 = HEAP16[$arrayidx206>>1]|0;
- $conv207 = $131 << 16 >> 16;
- $132 = $ptr;
- $call208 = (_encode_size($conv207,$132)|0);
- $sdlen = $call208;
- $133 = $sdlen;
- $134 = $ptr;
- $add$ptr209 = (($134) + ($133)|0);
- $ptr = $add$ptr209;
- }
- $i = 0;
- while(1) {
- $135 = $i;
- $136 = $count;
- $cmp212 = ($135|0)<($136|0);
- if (!($cmp212)) {
+ $339 = $59;
+ $340 = ($339|0)==(1002);
+ $341 = $60;
+ $342 = ($341|0)==(1102);
+ $or$cond5 = $340 & $342;
+ if ($or$cond5) {
+ $60 = 1101;
break;
}
- $137 = $ptr;
- $138 = $frames;
- $139 = $i;
- $arrayidx215 = (($138) + ($139<<2)|0);
- $140 = HEAP32[$arrayidx215>>2]|0;
- $141 = $len;
- $142 = $i;
- $arrayidx216 = (($141) + ($142<<1)|0);
- $143 = HEAP16[$arrayidx216>>1]|0;
- $conv217 = $143 << 16 >> 16;
- $mul218 = $conv217;
- $144 = $ptr;
- $145 = $frames;
- $146 = $i;
- $arrayidx219 = (($145) + ($146<<2)|0);
- $147 = HEAP32[$arrayidx219>>2]|0;
- $sub$ptr$lhs$cast = $144;
- $sub$ptr$rhs$cast = $147;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $mul220 = 0;
- $add221 = (($mul218) + ($mul220))|0;
- _memmove(($137|0),($140|0),($add221|0))|0;
- $148 = $len;
- $149 = $i;
- $arrayidx222 = (($148) + ($149<<1)|0);
- $150 = HEAP16[$arrayidx222>>1]|0;
- $conv223 = $150 << 16 >> 16;
- $151 = $ptr;
- $add$ptr224 = (($151) + ($conv223)|0);
- $ptr = $add$ptr224;
- $152 = $i;
- $inc226 = (($152) + 1)|0;
- $i = $inc226;
- }
- $153 = $pad$addr;
- $tobool228 = ($153|0)!=(0);
- L83: do {
- if ($tobool228) {
- while(1) {
- $154 = $ptr;
- $155 = $data$addr;
- $156 = $maxlen$addr;
- $add$ptr230 = (($155) + ($156)|0);
- $cmp231 = ($154>>>0)<($add$ptr230>>>0);
- if (!($cmp231)) {
- break L83;
- }
- $157 = $ptr;
- $incdec$ptr233 = ((($157)) + 1|0);
- $ptr = $incdec$ptr233;
- HEAP8[$157>>0] = 0;
- }
- }
- } while(0);
- $158 = $tot_size;
- $retval = $158;
- $159 = $retval;
- STACKTOP = sp;return ($159|0);
- }
- }
- }
- $retval = -1;
- $159 = $retval;
- STACKTOP = sp;return ($159|0);
-}
-function _opus_packet_pad($data,$len,$new_len) {
- $data = $data|0;
- $len = $len|0;
- $new_len = $new_len|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0;
- var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add$ptr = 0, $add$ptr10 = 0, $add$ptr12 = 0, $add$ptr14 = 0, $add$ptr7 = 0, $add$ptr8 = 0, $call16 = 0, $cmp = 0, $cmp1 = 0, $cmp17 = 0, $cmp3 = 0, $data$addr = 0, $idx$neg = 0, $idx$neg13 = 0, $idx$neg9 = 0;
- var $len$addr = 0, $mul = 0, $mul11 = 0, $nb_frames = 0, $new_len$addr = 0, $ret = 0, $retval = 0, $rp = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 320|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(320|0);
- $rp = sp + 4|0;
- $data$addr = $data;
- $len$addr = $len;
- $new_len$addr = $new_len;
- $0 = $len$addr;
- $cmp = ($0|0)<(1);
- if ($cmp) {
- $retval = -1;
- $23 = $retval;
- STACKTOP = sp;return ($23|0);
- }
- $1 = $len$addr;
- $2 = $new_len$addr;
- $cmp1 = ($1|0)==($2|0);
- if ($cmp1) {
- $retval = 0;
- $23 = $retval;
- STACKTOP = sp;return ($23|0);
- }
- $3 = $len$addr;
- $4 = $new_len$addr;
- $cmp3 = ($3|0)>($4|0);
- if ($cmp3) {
- $retval = -1;
- $23 = $retval;
- STACKTOP = sp;return ($23|0);
- }
- (_opus_repacketizer_init($rp)|0);
- $5 = $data$addr;
- $6 = $new_len$addr;
- $add$ptr = (($5) + ($6)|0);
- $7 = $len$addr;
- $idx$neg = (0 - ($7))|0;
- $add$ptr7 = (($add$ptr) + ($idx$neg)|0);
- $8 = $data$addr;
- $9 = $len$addr;
- $mul = $9;
- $10 = $data$addr;
- $11 = $new_len$addr;
- $add$ptr8 = (($10) + ($11)|0);
- $12 = $len$addr;
- $idx$neg9 = (0 - ($12))|0;
- $add$ptr10 = (($add$ptr8) + ($idx$neg9)|0);
- $13 = $data$addr;
- $sub$ptr$lhs$cast = $add$ptr10;
- $sub$ptr$rhs$cast = $13;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $mul11 = 0;
- $add = (($mul) + ($mul11))|0;
- _memmove(($add$ptr7|0),($8|0),($add|0))|0;
- $14 = $data$addr;
- $15 = $new_len$addr;
- $add$ptr12 = (($14) + ($15)|0);
- $16 = $len$addr;
- $idx$neg13 = (0 - ($16))|0;
- $add$ptr14 = (($add$ptr12) + ($idx$neg13)|0);
- $17 = $len$addr;
- (_opus_repacketizer_cat($rp,$add$ptr14,$17)|0);
- $nb_frames = ((($rp)) + 4|0);
- $18 = HEAP32[$nb_frames>>2]|0;
- $19 = $data$addr;
- $20 = $new_len$addr;
- $call16 = (_opus_repacketizer_out_range_impl($rp,0,$18,$19,$20,0,1)|0);
- $ret = $call16;
- $21 = $ret;
- $cmp17 = ($21|0)>(0);
- if ($cmp17) {
- $retval = 0;
- $23 = $retval;
- STACKTOP = sp;return ($23|0);
- } else {
- $22 = $ret;
- $retval = $22;
- $23 = $retval;
- STACKTOP = sp;return ($23|0);
- }
- return (0)|0;
-}
-function _tonality_analysis_init($tonal) {
- $tonal = $tonal|0;
- var $0 = 0, $1 = 0, $call = 0, $tonal$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $tonal$addr = $tonal;
- $call = (_opus_select_arch_33()|0);
- $0 = $tonal$addr;
- HEAP32[$0>>2] = $call;
- $1 = $tonal$addr;
- _tonality_analysis_reset($1);
- STACKTOP = sp;return;
-}
-function _opus_select_arch_33() {
- var label = 0, sp = 0;
- sp = STACKTOP;
- return 0;
-}
-function _tonality_analysis_reset($tonal) {
- $tonal = $tonal|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $angle = 0, $mul = 0, $start = 0, $sub = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $tonal$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $tonal$addr = $tonal;
- $0 = $tonal$addr;
- $angle = ((($0)) + 4|0);
- $start = $angle;
- $1 = $start;
- $2 = $start;
- $3 = $tonal$addr;
- $sub$ptr$lhs$cast = $2;
- $sub$ptr$rhs$cast = $3;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub = (14116 - ($sub$ptr$sub))|0;
- $mul = $sub;
- _memset(($1|0),0,($mul|0))|0;
- STACKTOP = sp;return;
-}
-function _tonality_get_info($tonal,$info_out,$len) {
- $tonal = $tonal|0;
- $info_out = $info_out|0;
- $len = $len|0;
- var $$inc = 0, $$sink1 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
- var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0.0;
- var $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $add = 0, $add19 = 0, $add39 = 0.0, $add45 = 0.0, $add52 = 0.0, $arrayidx = 0, $arrayidx18 = 0, $arrayidx38 = 0, $arrayidx44 = 0, $cmp = 0, $cmp11 = 0, $cmp14 = 0, $cmp2 = 0, $cmp22 = 0, $cmp28 = 0, $cmp34 = 0, $cmp37 = 0, $cmp4 = 0, $cmp42 = 0;
- var $cmp6 = 0, $cond = 0, $curr_lookahead = 0, $dec = 0, $div = 0, $i = 0, $inc = 0, $inc26 = 0, $inc40 = 0, $inc47 = 0, $info = 0, $info17 = 0, $info_out$addr = 0, $len$addr = 0, $mul = 0, $mul49 = 0.0, $mul51 = 0.0, $music_confidence = 0, $music_prob = 0, $pmusic = 0;
- var $pos = 0, $pspeech = 0, $psum = 0.0, $read_pos = 0, $read_pos1 = 0, $read_pos25 = 0, $read_pos25$sink2 = 0, $read_pos27 = 0, $read_pos30 = 0, $read_subframe = 0, $read_subframe21 = 0, $read_subframe23 = 0, $speech_confidence = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $sub24 = 0, $sub31 = 0;
- var $sub33 = 0, $sub35 = 0, $sub36 = 0, $sub50 = 0.0, $tonal$addr = 0, $write_pos = 0, $write_pos10 = 0, $write_pos3 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $tonal$addr = $tonal;
- $info_out$addr = $info_out;
- $len$addr = $len;
- $0 = $tonal$addr;
- $read_pos = ((($0)) + 8508|0);
- $1 = HEAP32[$read_pos>>2]|0;
- $pos = $1;
- $2 = $tonal$addr;
- $write_pos = ((($2)) + 8504|0);
- $3 = HEAP32[$write_pos>>2]|0;
- $4 = $tonal$addr;
- $read_pos1 = ((($4)) + 8508|0);
- $5 = HEAP32[$read_pos1>>2]|0;
- $sub = (($3) - ($5))|0;
- $curr_lookahead = $sub;
- $6 = $curr_lookahead;
- $cmp = ($6|0)<(0);
- if ($cmp) {
- $7 = $curr_lookahead;
- $add = (($7) + 200)|0;
- $curr_lookahead = $add;
- }
- $8 = $len$addr;
- $cmp2 = ($8|0)>(480);
- if ($cmp2) {
- $9 = $pos;
- $10 = $tonal$addr;
- $write_pos3 = ((($10)) + 8504|0);
- $11 = HEAP32[$write_pos3>>2]|0;
- $cmp4 = ($9|0)!=($11|0);
- if ($cmp4) {
- $12 = $pos;
- $inc = (($12) + 1)|0;
- $pos = $inc;
- $13 = $pos;
- $cmp6 = ($13|0)==(200);
- $$inc = $cmp6 ? 0 : $inc;
- $pos = $$inc;
- }
- }
- $14 = $pos;
- $15 = $tonal$addr;
- $write_pos10 = ((($15)) + 8504|0);
- $16 = HEAP32[$write_pos10>>2]|0;
- $cmp11 = ($14|0)==($16|0);
- if ($cmp11) {
- $17 = $pos;
- $dec = (($17) + -1)|0;
- $pos = $dec;
- }
- $18 = $pos;
- $cmp14 = ($18|0)<(0);
- if ($cmp14) {
- $pos = 199;
- }
- $19 = $info_out$addr;
- $20 = $tonal$addr;
- $info = ((($20)) + 8516|0);
- $21 = $pos;
- $arrayidx = (($info) + (($21*28)|0)|0);
- $22 = $info_out$addr;
- $23 = $tonal$addr;
- $info17 = ((($23)) + 8516|0);
- $24 = $pos;
- $arrayidx18 = (($info17) + (($24*28)|0)|0);
- $sub$ptr$lhs$cast = $22;
- $sub$ptr$rhs$cast = $arrayidx18;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 28)&-1;
- $mul = 0;
- $add19 = (28 + ($mul))|0;
- _memcpy(($19|0),($arrayidx|0),($add19|0))|0;
- $25 = $len$addr;
- $div = (($25|0) / 120)&-1;
- $26 = $tonal$addr;
- $read_subframe = ((($26)) + 8512|0);
- $$sink1 = $div;$read_pos25$sink2 = $read_subframe;
- while(1) {
- $27 = HEAP32[$read_pos25$sink2>>2]|0;
- $inc26 = (($27) + ($$sink1))|0;
- HEAP32[$read_pos25$sink2>>2] = $inc26;
- $28 = $tonal$addr;
- $read_subframe21 = ((($28)) + 8512|0);
- $29 = HEAP32[$read_subframe21>>2]|0;
- $cmp22 = ($29|0)>=(4);
- $30 = $tonal$addr;
- if (!($cmp22)) {
- break;
- }
- $read_subframe23 = ((($30)) + 8512|0);
- $31 = HEAP32[$read_subframe23>>2]|0;
- $sub24 = (($31) - 4)|0;
- HEAP32[$read_subframe23>>2] = $sub24;
- $32 = $tonal$addr;
- $read_pos25 = ((($32)) + 8508|0);
- $$sink1 = 1;$read_pos25$sink2 = $read_pos25;
- }
- $read_pos27 = ((($30)) + 8508|0);
- $33 = HEAP32[$read_pos27>>2]|0;
- $cmp28 = ($33|0)>=(200);
- if ($cmp28) {
- $34 = $tonal$addr;
- $read_pos30 = ((($34)) + 8508|0);
- $35 = HEAP32[$read_pos30>>2]|0;
- $sub31 = (($35) - 200)|0;
- HEAP32[$read_pos30>>2] = $sub31;
- }
- $36 = $curr_lookahead;
- $sub33 = (($36) - 10)|0;
- $cmp34 = ($sub33|0)>(0);
- $37 = $curr_lookahead;
- $sub35 = (($37) - 10)|0;
- $cond = $cmp34 ? $sub35 : 0;
- $curr_lookahead = $cond;
- $psum = 0.0;
- $i = 0;
- while(1) {
- $38 = $i;
- $39 = $curr_lookahead;
- $sub36 = (200 - ($39))|0;
- $cmp37 = ($38|0)<($sub36|0);
- if (!($cmp37)) {
- break;
- }
- $40 = $tonal$addr;
- $pmusic = ((($40)) + 7688|0);
- $41 = $i;
- $arrayidx38 = (($pmusic) + ($41<<2)|0);
- $42 = +HEAPF32[$arrayidx38>>2];
- $43 = $psum;
- $add39 = $43 + $42;
- $psum = $add39;
- $44 = $i;
- $inc40 = (($44) + 1)|0;
- $i = $inc40;
- }
- while(1) {
- $45 = $i;
- $cmp42 = ($45|0)<(200);
- if (!($cmp42)) {
- break;
- }
- $46 = $tonal$addr;
- $pspeech = ((($46)) + 6888|0);
- $47 = $i;
- $arrayidx44 = (($pspeech) + ($47<<2)|0);
- $48 = +HEAPF32[$arrayidx44>>2];
- $49 = $psum;
- $add45 = $49 + $48;
- $psum = $add45;
- $50 = $i;
- $inc47 = (($50) + 1)|0;
- $i = $inc47;
- }
- $51 = $psum;
- $52 = $tonal$addr;
- $music_confidence = ((($52)) + 8492|0);
- $53 = +HEAPF32[$music_confidence>>2];
- $mul49 = $51 * $53;
- $54 = $psum;
- $sub50 = 1.0 - $54;
- $55 = $tonal$addr;
- $speech_confidence = ((($55)) + 8488|0);
- $56 = +HEAPF32[$speech_confidence>>2];
- $mul51 = $sub50 * $56;
- $add52 = $mul49 + $mul51;
- $psum = $add52;
- $57 = $psum;
- $58 = $info_out$addr;
- $music_prob = ((($58)) + 20|0);
- HEAPF32[$music_prob>>2] = $57;
- STACKTOP = sp;return;
-}
-function _run_analysis($analysis,$celt_mode,$analysis_pcm,$analysis_frame_size,$frame_size,$c1,$c2,$C,$Fs,$lsb_depth,$downmix,$analysis_info) {
- $analysis = $analysis|0;
- $celt_mode = $celt_mode|0;
- $analysis_pcm = $analysis_pcm|0;
- $analysis_frame_size = $analysis_frame_size|0;
- $frame_size = $frame_size|0;
- $c1 = $c1|0;
- $c2 = $c2|0;
- $C = $C|0;
- $Fs = $Fs|0;
- $lsb_depth = $lsb_depth|0;
- $downmix = $downmix|0;
- $analysis_info = $analysis_info|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $Fs$addr = 0, $add = 0, $analysis$addr = 0, $analysis_frame_size$addr = 0, $analysis_info$addr = 0, $analysis_offset = 0;
- var $analysis_offset12 = 0, $analysis_offset13 = 0, $analysis_offset4 = 0, $analysis_pcm$addr = 0, $c1$addr = 0, $c2$addr = 0, $celt_mode$addr = 0, $cmp = 0, $cmp1 = 0, $cmp11 = 0, $cmp5 = 0, $cond = 0, $cond9 = 0, $div = 0, $div3 = 0, $downmix$addr = 0, $frame_size$addr = 0, $lsb_depth$addr = 0, $mul = 0, $mul2 = 0;
- var $offset = 0, $pcm_len = 0, $sub = 0, $sub10 = 0, $sub14 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $analysis$addr = $analysis;
- $celt_mode$addr = $celt_mode;
- $analysis_pcm$addr = $analysis_pcm;
- $analysis_frame_size$addr = $analysis_frame_size;
- $frame_size$addr = $frame_size;
- $c1$addr = $c1;
- $c2$addr = $c2;
- $C$addr = $C;
- $Fs$addr = $Fs;
- $lsb_depth$addr = $lsb_depth;
- $downmix$addr = $downmix;
- $analysis_info$addr = $analysis_info;
- $0 = $analysis_pcm$addr;
- $cmp = ($0|0)!=(0|0);
- if (!($cmp)) {
- $29 = $analysis_info$addr;
- HEAP32[$29>>2] = 0;
- $30 = $analysis$addr;
- $31 = $analysis_info$addr;
- $32 = $frame_size$addr;
- _tonality_get_info($30,$31,$32);
- STACKTOP = sp;return;
- }
- $1 = $Fs$addr;
- $mul = ($1*195)|0;
- $div = (($mul|0) / 100)&-1;
- $2 = $analysis_frame_size$addr;
- $cmp1 = ($div|0)<($2|0);
- if ($cmp1) {
- $3 = $Fs$addr;
- $mul2 = ($3*195)|0;
- $div3 = (($mul2|0) / 100)&-1;
- $cond = $div3;
- } else {
- $4 = $analysis_frame_size$addr;
- $cond = $4;
- }
- $analysis_frame_size$addr = $cond;
- $5 = $analysis_frame_size$addr;
- $6 = $analysis$addr;
- $analysis_offset = ((($6)) + 6884|0);
- $7 = HEAP32[$analysis_offset>>2]|0;
- $sub = (($5) - ($7))|0;
- $pcm_len = $sub;
- $8 = $analysis$addr;
- $analysis_offset4 = ((($8)) + 6884|0);
- $9 = HEAP32[$analysis_offset4>>2]|0;
- $offset = $9;
- while(1) {
- $10 = $analysis$addr;
- $11 = $celt_mode$addr;
- $12 = $analysis_pcm$addr;
- $13 = $pcm_len;
- $cmp5 = (480)<($13|0);
- $14 = $pcm_len;
- $cond9 = $cmp5 ? 480 : $14;
- $15 = $offset;
- $16 = $c1$addr;
- $17 = $c2$addr;
- $18 = $C$addr;
- $19 = $lsb_depth$addr;
- $20 = $downmix$addr;
- _tonality_analysis($10,$11,$12,$cond9,$15,$16,$17,$18,$19,$20);
- $21 = $offset;
- $add = (($21) + 480)|0;
- $offset = $add;
- $22 = $pcm_len;
- $sub10 = (($22) - 480)|0;
- $pcm_len = $sub10;
- $23 = $pcm_len;
- $cmp11 = ($23|0)>(0);
- if (!($cmp11)) {
- break;
- }
- }
- $24 = $analysis_frame_size$addr;
- $25 = $analysis$addr;
- $analysis_offset12 = ((($25)) + 6884|0);
- HEAP32[$analysis_offset12>>2] = $24;
- $26 = $frame_size$addr;
- $27 = $analysis$addr;
- $analysis_offset13 = ((($27)) + 6884|0);
- $28 = HEAP32[$analysis_offset13>>2]|0;
- $sub14 = (($28) - ($26))|0;
- HEAP32[$analysis_offset13>>2] = $sub14;
- $29 = $analysis_info$addr;
- HEAP32[$29>>2] = 0;
- $30 = $analysis$addr;
- $31 = $analysis_info$addr;
- $32 = $frame_size$addr;
- _tonality_get_info($30,$31,$32);
- STACKTOP = sp;return;
-}
-function _tonality_analysis($tonal,$celt_mode,$x,$len,$offset,$c1,$c2,$C,$lsb_depth,$downmix) {
- $tonal = $tonal|0;
- $celt_mode = $celt_mode|0;
- $x = $x|0;
- $len = $len|0;
- $offset = $offset|0;
- $c1 = $c1|0;
- $c2 = $c2|0;
- $C = $C|0;
- $lsb_depth = $lsb_depth|0;
- $downmix = $downmix|0;
- var $$div611 = 0.0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0;
- var $115 = 0.0, $116 = 0, $117 = 0, $118 = 0.0, $119 = 0, $12 = 0, $120 = 0.0, $121 = 0, $122 = 0, $123 = 0.0, $124 = 0, $125 = 0, $126 = 0.0, $127 = 0, $128 = 0.0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0;
- var $133 = 0, $134 = 0.0, $135 = 0.0, $136 = 0, $137 = 0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0.0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0, $149 = 0.0, $15 = 0, $150 = 0.0;
- var $151 = 0.0, $152 = 0.0, $153 = 0.0, $154 = 0.0, $155 = 0.0, $156 = 0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0, $160 = 0.0, $161 = 0.0, $162 = 0, $163 = 0, $164 = 0.0, $165 = 0.0, $166 = 0.0, $167 = 0.0, $168 = 0, $169 = 0.0;
- var $17 = 0, $170 = 0, $171 = 0, $172 = 0.0, $173 = 0, $174 = 0, $175 = 0.0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
- var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0.0, $196 = 0, $197 = 0.0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0.0, $201 = 0, $202 = 0, $203 = 0.0, $204 = 0;
- var $205 = 0.0, $206 = 0, $207 = 0.0, $208 = 0, $209 = 0, $21 = 0, $210 = 0.0, $211 = 0, $212 = 0, $213 = 0.0, $214 = 0.0, $215 = 0.0, $216 = 0.0, $217 = 0, $218 = 0.0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0, $222 = 0.0;
- var $223 = 0.0, $224 = 0, $225 = 0.0, $226 = 0.0, $227 = 0.0, $228 = 0, $229 = 0.0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0.0, $235 = 0.0, $236 = 0.0, $237 = 0.0, $238 = 0.0, $239 = 0.0, $24 = 0, $240 = 0;
- var $241 = 0, $242 = 0.0, $243 = 0, $244 = 0, $245 = 0.0, $246 = 0, $247 = 0.0, $248 = 0, $249 = 0, $25 = 0, $250 = 0.0, $251 = 0, $252 = 0, $253 = 0, $254 = 0.0, $255 = 0, $256 = 0, $257 = 0.0, $258 = 0, $259 = 0.0;
- var $26 = 0, $260 = 0, $261 = 0, $262 = 0.0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0.0, $268 = 0, $269 = 0, $27 = 0, $270 = 0.0, $271 = 0, $272 = 0, $273 = 0.0, $274 = 0, $275 = 0, $276 = 0.0, $277 = 0;
- var $278 = 0.0, $279 = 0, $28 = 0, $280 = 0, $281 = 0.0, $282 = 0, $283 = 0, $284 = 0.0, $285 = 0, $286 = 0, $287 = 0.0, $288 = 0.0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0.0, $294 = 0.0, $295 = 0;
- var $296 = 0, $297 = 0, $298 = 0.0, $299 = 0.0, $3 = 0, $30 = 0, $300 = 0, $301 = 0.0, $302 = 0.0, $303 = 0.0, $304 = 0.0, $305 = 0.0, $306 = 0.0, $307 = 0.0, $308 = 0.0, $309 = 0.0, $31 = 0, $310 = 0.0, $311 = 0.0, $312 = 0.0;
- var $313 = 0.0, $314 = 0, $315 = 0, $316 = 0.0, $317 = 0.0, $318 = 0.0, $319 = 0.0, $32 = 0, $320 = 0, $321 = 0, $322 = 0.0, $323 = 0, $324 = 0, $325 = 0.0, $326 = 0.0, $327 = 0, $328 = 0, $329 = 0.0, $33 = 0, $330 = 0.0;
- var $331 = 0.0, $332 = 0, $333 = 0.0, $334 = 0.0, $335 = 0, $336 = 0.0, $337 = 0, $338 = 0.0, $339 = 0, $34 = 0, $340 = 0.0, $341 = 0, $342 = 0.0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0.0, $349 = 0.0;
- var $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0.0, $36 = 0, $360 = 0, $361 = 0.0, $362 = 0, $363 = 0, $364 = 0.0, $365 = 0, $366 = 0, $367 = 0.0;
- var $368 = 0, $369 = 0.0, $37 = 0, $370 = 0, $371 = 0.0, $372 = 0, $373 = 0, $374 = 0.0, $375 = 0, $376 = 0, $377 = 0.0, $378 = 0.0, $379 = 0.0, $38 = 0, $380 = 0, $381 = 0.0, $382 = 0.0, $383 = 0.0, $384 = 0.0, $385 = 0.0;
- var $386 = 0, $387 = 0, $388 = 0.0, $389 = 0.0, $39 = 0, $390 = 0.0, $391 = 0, $392 = 0, $393 = 0.0, $394 = 0.0, $395 = 0, $396 = 0, $397 = 0.0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0.0, $401 = 0.0, $402 = 0;
- var $403 = 0, $404 = 0.0, $405 = 0.0, $406 = 0.0, $407 = 0.0, $408 = 0.0, $409 = 0.0, $41 = 0, $410 = 0.0, $411 = 0.0, $412 = 0.0, $413 = 0.0, $414 = 0.0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0;
- var $421 = 0.0, $422 = 0, $423 = 0.0, $424 = 0.0, $425 = 0, $426 = 0.0, $427 = 0.0, $428 = 0, $429 = 0.0, $43 = 0, $430 = 0, $431 = 0.0, $432 = 0.0, $433 = 0, $434 = 0.0, $435 = 0.0, $436 = 0, $437 = 0.0, $438 = 0, $439 = 0;
- var $44 = 0, $440 = 0, $441 = 0, $442 = 0.0, $443 = 0, $444 = 0.0, $445 = 0.0, $446 = 0, $447 = 0.0, $448 = 0, $449 = 0, $45 = 0, $450 = 0.0, $451 = 0.0, $452 = 0, $453 = 0, $454 = 0.0, $455 = 0.0, $456 = 0.0, $457 = 0.0;
- var $458 = 0, $459 = 0.0, $46 = 0, $460 = 0.0, $461 = 0, $462 = 0.0, $463 = 0.0, $464 = 0, $465 = 0.0, $466 = 0.0, $467 = 0, $468 = 0.0, $469 = 0.0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0;
- var $476 = 0.0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0.0, $481 = 0, $482 = 0, $483 = 0.0, $484 = 0, $485 = 0, $486 = 0.0, $487 = 0, $488 = 0, $489 = 0.0, $49 = 0, $490 = 0, $491 = 0, $492 = 0.0, $493 = 0;
- var $494 = 0, $495 = 0.0, $496 = 0, $497 = 0, $498 = 0, $499 = 0.0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0.0, $503 = 0.0, $504 = 0, $505 = 0.0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0;
- var $511 = 0.0, $512 = 0, $513 = 0, $514 = 0.0, $515 = 0, $516 = 0, $517 = 0.0, $518 = 0, $519 = 0, $52 = 0, $520 = 0.0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0.0, $526 = 0, $527 = 0, $528 = 0.0, $529 = 0;
- var $53 = 0, $530 = 0, $531 = 0.0, $532 = 0, $533 = 0, $534 = 0.0, $535 = 0, $536 = 0, $537 = 0.0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0.0, $544 = 0, $545 = 0, $546 = 0.0, $547 = 0.0;
- var $548 = 0, $549 = 0.0, $55 = 0, $550 = 0, $551 = 0.0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0.0, $559 = 0, $56 = 0.0, $560 = 0, $561 = 0, $562 = 0, $563 = 0.0, $564 = 0, $565 = 0;
- var $566 = 0, $567 = 0, $568 = 0.0, $569 = 0, $57 = 0.0, $570 = 0, $571 = 0, $572 = 0.0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0.0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0.0;
- var $584 = 0, $585 = 0.0, $586 = 0.0, $587 = 0, $588 = 0.0, $589 = 0, $59 = 0, $590 = 0.0, $591 = 0.0, $592 = 0.0, $593 = 0.0, $594 = 0.0, $595 = 0.0, $596 = 0.0, $597 = 0.0, $598 = 0.0, $599 = 0.0, $6 = 0, $60 = 0.0, $600 = 0.0;
- var $601 = 0.0, $602 = 0.0, $603 = 0.0, $604 = 0.0, $605 = 0, $606 = 0.0, $607 = 0, $608 = 0.0, $609 = 0, $61 = 0, $610 = 0.0, $611 = 0, $612 = 0.0, $613 = 0.0, $614 = 0.0, $615 = 0.0, $616 = 0.0, $617 = 0.0, $618 = 0.0, $619 = 0;
- var $62 = 0.0, $620 = 0.0, $621 = 0.0, $622 = 0, $623 = 0.0, $624 = 0.0, $625 = 0, $626 = 0.0, $627 = 0.0, $628 = 0, $629 = 0.0, $63 = 0, $630 = 0.0, $631 = 0.0, $632 = 0.0, $633 = 0.0, $634 = 0.0, $635 = 0.0, $636 = 0.0, $637 = 0.0;
- var $638 = 0.0, $639 = 0.0, $64 = 0, $640 = 0.0, $641 = 0.0, $642 = 0, $643 = 0, $644 = 0.0, $645 = 0, $646 = 0.0, $647 = 0.0, $648 = 0.0, $649 = 0.0, $65 = 0, $650 = 0.0, $651 = 0.0, $652 = 0, $653 = 0, $654 = 0, $655 = 0;
- var $656 = 0, $657 = 0.0, $658 = 0, $659 = 0.0, $66 = 0.0, $660 = 0, $661 = 0.0, $662 = 0, $663 = 0.0, $664 = 0.0, $665 = 0.0, $666 = 0.0, $667 = 0, $668 = 0.0, $669 = 0.0, $67 = 0, $670 = 0.0, $671 = 0, $672 = 0, $673 = 0;
- var $674 = 0, $675 = 0.0, $676 = 0.0, $677 = 0, $678 = 0, $679 = 0, $68 = 0.0, $680 = 0, $681 = 0.0, $682 = 0.0, $683 = 0, $684 = 0, $685 = 0, $686 = 0.0, $687 = 0.0, $688 = 0.0, $689 = 0, $69 = 0, $690 = 0.0, $691 = 0.0;
- var $692 = 0.0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0.0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0.0, $701 = 0.0, $702 = 0, $703 = 0.0, $704 = 0, $705 = 0.0, $706 = 0, $707 = 0, $708 = 0.0, $709 = 0.0;
- var $71 = 0, $710 = 0, $711 = 0, $712 = 0.0, $713 = 0, $714 = 0, $715 = 0.0, $716 = 0, $717 = 0, $718 = 0, $719 = 0.0, $72 = 0.0, $720 = 0.0, $721 = 0, $722 = 0.0, $723 = 0, $724 = 0.0, $725 = 0, $726 = 0, $727 = 0;
- var $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0.0, $733 = 0.0, $734 = 0, $735 = 0.0, $736 = 0.0, $737 = 0, $738 = 0.0, $739 = 0, $74 = 0, $740 = 0.0, $741 = 0, $742 = 0.0, $743 = 0, $744 = 0, $745 = 0;
- var $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0.0, $750 = 0.0, $751 = 0.0, $752 = 0, $753 = 0.0, $754 = 0.0, $755 = 0, $756 = 0.0, $757 = 0, $758 = 0.0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0;
- var $764 = 0, $765 = 0, $766 = 0, $767 = 0.0, $768 = 0, $769 = 0, $77 = 0, $770 = 0.0, $771 = 0, $772 = 0, $773 = 0, $774 = 0.0, $775 = 0, $776 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0;
- var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $A = 0, $BFCC = 0;
- var $C$addr = 0, $E = 0.0, $E280 = 0, $E359 = 0, $E366 = 0, $E462 = 0.0, $E_count = 0, $E_count634 = 0, $E_count636 = 0, $Etracker = 0, $Etracker573 = 0, $Etracker578 = 0, $Etracker581 = 0, $L1 = 0.0, $L2 = 0.0, $N = 0, $N2 = 0, $X1i = 0.0, $X1r = 0.0, $X2i = 0.0;
- var $X2r = 0.0, $activity = 0, $activity621 = 0, $activity801 = 0, $adapt = 0.0, $adapt1069 = 0.0, $add = 0, $add$ptr = 0, $add$ptr103 = 0, $add$ptr108 = 0, $add$ptr109 = 0, $add1023 = 0.0, $add1062 = 0.0, $add1095 = 0.0, $add111 = 0, $add117 = 0, $add12 = 0, $add120 = 0, $add144 = 0.0, $add156 = 0.0;
- var $add173 = 0.0, $add18 = 0, $add184 = 0.0, $add192 = 0.0, $add197 = 0.0, $add198 = 0.0, $add201 = 0.0, $add229 = 0, $add24 = 0, $add246 = 0.0, $add252 = 0.0, $add260 = 0.0, $add261 = 0.0, $add264 = 0.0, $add269 = 0.0, $add283 = 0.0, $add285 = 0.0, $add286 = 0.0, $add290 = 0.0, $add291 = 0.0;
- var $add299 = 0.0, $add307 = 0.0, $add332 = 0.0, $add338 = 0.0, $add349 = 0.0, $add354 = 0.0, $add365 = 0.0, $add369 = 0.0, $add375 = 0.0, $add385 = 0.0, $add393 = 0.0, $add394 = 0.0, $add4 = 0, $add401 = 0.0, $add411 = 0.0, $add416 = 0, $add423 = 0.0, $add432 = 0.0, $add440 = 0.0, $add464 = 0;
- var $add483 = 0.0, $add489 = 0.0, $add497 = 0.0, $add498 = 0.0, $add50 = 0, $add55 = 0, $add587 = 0.0, $add598 = 0, $add6 = 0, $add602 = 0.0, $add620 = 0.0, $add635 = 0, $add645 = 0, $add647 = 0.0, $add652 = 0, $add654 = 0.0, $add656 = 0.0, $add658 = 0, $add661 = 0.0, $add679 = 0.0;
- var $add691 = 0, $add698 = 0, $add702 = 0.0, $add703 = 0, $add714 = 0, $add716 = 0.0, $add721 = 0, $add723 = 0.0, $add727 = 0, $add731 = 0, $add74 = 0, $add751 = 0.0, $add763 = 0, $add766 = 0, $add769 = 0, $add772 = 0, $add777 = 0, $add794 = 0, $add811 = 0.0, $add818 = 0.0;
- var $add827 = 0.0, $add835 = 0.0, $add89 = 0, $add892 = 0.0, $add894 = 0.0, $add901 = 0.0, $add908 = 0.0, $add920 = 0.0, $add945 = 0.0, $add950 = 0.0, $add966 = 0, $add972 = 0, $add996 = 0.0, $add997 = 0.0, $alpha = 0.0, $alphaE = 0.0, $alphaE2 = 0.0, $angle = 0, $angle136 = 0.0, $angle2 = 0.0;
- var $arrayidx1007 = 0, $arrayidx1010 = 0, $arrayidx1022 = 0, $arrayidx1027 = 0, $arrayidx116 = 0, $arrayidx139 = 0, $arrayidx142 = 0, $arrayidx145 = 0, $arrayidx148 = 0, $arrayidx151 = 0, $arrayidx154 = 0, $arrayidx158 = 0, $arrayidx160 = 0, $arrayidx164 = 0, $arrayidx166 = 0, $arrayidx180 = 0, $arrayidx191 = 0, $arrayidx195 = 0, $arrayidx204 = 0, $arrayidx205 = 0;
- var $arrayidx206 = 0, $arrayidx207 = 0, $arrayidx217 = 0, $arrayidx218 = 0, $arrayidx227 = 0, $arrayidx230 = 0, $arrayidx234 = 0, $arrayidx236 = 0, $arrayidx240 = 0, $arrayidx243 = 0, $arrayidx247 = 0, $arrayidx249 = 0, $arrayidx254 = 0, $arrayidx257 = 0, $arrayidx262 = 0, $arrayidx266 = 0, $arrayidx281 = 0, $arrayidx282 = 0, $arrayidx295 = 0, $arrayidx296 = 0;
- var $arrayidx298 = 0, $arrayidx303 = 0, $arrayidx306 = 0, $arrayidx311 = 0, $arrayidx312 = 0, $arrayidx314 = 0, $arrayidx319 = 0, $arrayidx322 = 0, $arrayidx327 = 0, $arrayidx329 = 0, $arrayidx331 = 0, $arrayidx337 = 0, $arrayidx340 = 0, $arrayidx343 = 0, $arrayidx345 = 0, $arrayidx348 = 0, $arrayidx351 = 0, $arrayidx360 = 0, $arrayidx361 = 0, $arrayidx367 = 0;
- var $arrayidx368 = 0, $arrayidx39 = 0, $arrayidx396 = 0, $arrayidx405 = 0, $arrayidx409 = 0, $arrayidx410 = 0, $arrayidx417 = 0, $arrayidx436 = 0, $arrayidx441 = 0, $arrayidx443 = 0, $arrayidx463 = 0, $arrayidx465 = 0, $arrayidx471 = 0, $arrayidx473 = 0, $arrayidx477 = 0, $arrayidx480 = 0, $arrayidx484 = 0, $arrayidx486 = 0, $arrayidx491 = 0, $arrayidx494 = 0;
- var $arrayidx509 = 0, $arrayidx516 = 0, $arrayidx522 = 0, $arrayidx524 = 0, $arrayidx530 = 0, $arrayidx59 = 0, $arrayidx599 = 0, $arrayidx600 = 0, $arrayidx606 = 0, $arrayidx644 = 0, $arrayidx646 = 0, $arrayidx650 = 0, $arrayidx653 = 0, $arrayidx659 = 0, $arrayidx662 = 0, $arrayidx665 = 0, $arrayidx675 = 0, $arrayidx677 = 0, $arrayidx681 = 0, $arrayidx689 = 0;
- var $arrayidx69 = 0, $arrayidx692 = 0, $arrayidx696 = 0, $arrayidx699 = 0, $arrayidx704 = 0, $arrayidx71 = 0, $arrayidx712 = 0, $arrayidx715 = 0, $arrayidx719 = 0, $arrayidx72 = 0, $arrayidx722 = 0, $arrayidx728 = 0, $arrayidx732 = 0, $arrayidx745 = 0, $arrayidx747 = 0, $arrayidx749 = 0, $arrayidx75 = 0, $arrayidx753 = 0, $arrayidx764 = 0, $arrayidx767 = 0;
- var $arrayidx77 = 0, $arrayidx770 = 0, $arrayidx773 = 0, $arrayidx775 = 0, $arrayidx778 = 0, $arrayidx779 = 0, $arrayidx781 = 0, $arrayidx790 = 0, $arrayidx795 = 0, $arrayidx800 = 0, $arrayidx802 = 0, $arrayidx803 = 0, $arrayidx805 = 0, $arrayidx807 = 0, $arrayidx82 = 0, $arrayidx825 = 0, $arrayidx828 = 0, $arrayidx829 = 0, $arrayidx832 = 0, $arrayidx837 = 0;
- var $arrayidx86 = 0, $arrayidx92 = 0, $arrayidx944 = 0, $arrayidx949 = 0, $arrayidx96 = 0, $arrayidx967 = 0, $arrayidx970 = 0, $arrayidx973 = 0, $arrayidx976 = 0, $arrayidx983 = 0, $arrayidx987 = 0, $arrayidx993 = 0, $arrayidx995 = 0, $avg_mod = 0.0, $b = 0, $band_end = 0, $band_start = 0, $band_tonality = 0, $bandwidth = 0, $bandwidth1122 = 0;
- var $bandwidth_mask = 0.0, $beta = 0.0, $binE = 0.0, $binE470 = 0.0, $c1$addr = 0, $c2$addr = 0, $call = 0.0, $call168 = 0.0, $call174 = 0.0, $call178 = 0.0, $call185 = 0.0, $call189 = 0.0, $call288 = 0.0, $call293 = 0.0, $call363 = 0.0, $call376 = 0.0, $call386 = 0.0, $call566 = 0.0, $call792 = 0.0, $call885 = 0.0;
- var $celt_mode$addr = 0, $cmean = 0, $cmean674 = 0, $cmean680 = 0, $cmp = 0, $cmp1003 = 0, $cmp1018 = 0, $cmp1029 = 0, $cmp1034 = 0, $cmp1041 = 0, $cmp1051 = 0, $cmp1066 = 0, $cmp1074 = 0, $cmp1084 = 0, $cmp1098 = 0, $cmp1104 = 0, $cmp1111 = 0, $cmp1113 = 0, $cmp1119 = 0, $cmp128 = 0;
- var $cmp133 = 0, $cmp19 = 0, $cmp214 = 0, $cmp224 = 0, $cmp231 = 0, $cmp273 = 0, $cmp275 = 0, $cmp30 = 0, $cmp300 = 0, $cmp316 = 0, $cmp333 = 0, $cmp34 = 0, $cmp356 = 0, $cmp379 = 0, $cmp398 = 0, $cmp41 = 0, $cmp412 = 0, $cmp425 = 0, $cmp448 = 0, $cmp459 = 0;
- var $cmp467 = 0, $cmp502 = 0, $cmp51 = 0, $cmp511 = 0, $cmp525 = 0, $cmp534 = 0, $cmp544 = 0, $cmp547 = 0, $cmp553 = 0, $cmp561 = 0, $cmp570 = 0, $cmp583 = 0, $cmp590 = 0, $cmp594 = 0, $cmp61 = 0, $cmp613 = 0, $cmp624 = 0, $cmp641 = 0, $cmp67 = 0, $cmp670 = 0;
- var $cmp686 = 0, $cmp7 = 0, $cmp709 = 0, $cmp737 = 0, $cmp741 = 0, $cmp759 = 0, $cmp786 = 0, $cmp840 = 0, $cmp847 = 0, $cmp852 = 0, $cmp862 = 0, $cmp869 = 0, $cmp874 = 0, $cmp935 = 0, $cmp962 = 0, $cmp989 = 0, $cond = 0, $cond1047 = 0, $cond1059 = 0.0, $cond1080 = 0;
- var $cond1092 = 0.0, $cond14 = 0, $cond26 = 0, $cond309 = 0.0, $cond325 = 0.0, $cond390 = 0.0, $cond408 = 0.0, $cond435 = 0.0, $cond454 = 0, $cond48 = 0, $cond507 = 0.0, $cond520 = 0.0, $cond532 = 0.0, $cond540 = 0.0, $cond577 = 0.0, $cond631 = 0.0, $cond846 = 0.0, $cond858 = 0.0, $cond860 = 0.0, $cond868 = 0.0;
- var $cond882 = 0.0, $conv = 0.0, $conv1028 = 0.0, $conv1033 = 0.0, $conv1038 = 0.0, $conv1065 = 0.0, $conv1071 = 0.0, $conv1112 = 0, $conv1120 = 0, $conv15 = 0.0, $conv172 = 0.0, $conv175 = 0.0, $conv177 = 0.0, $conv179 = 0.0, $conv183 = 0.0, $conv186 = 0.0, $conv188 = 0.0, $conv190 = 0.0, $conv27 = 0.0, $conv287 = 0.0;
- var $conv289 = 0.0, $conv292 = 0.0, $conv294 = 0.0, $conv362 = 0.0, $conv364 = 0.0, $conv374 = 0.0, $conv377 = 0.0, $conv384 = 0.0, $conv387 = 0.0, $conv421 = 0.0, $conv430 = 0.0, $conv438 = 0.0, $conv455 = 0.0, $conv541 = 0.0, $conv542 = 0.0, $conv551 = 0.0, $conv565 = 0.0, $conv567 = 0.0, $conv791 = 0.0, $conv793 = 0.0;
- var $conv820 = 0.0, $conv821 = 0.0, $conv884 = 0.0, $conv886 = 0.0, $conv911 = 0.0, $conv912 = 0.0, $conv913 = 0.0, $conv916 = 0.0, $conv917 = 0.0, $conv918 = 0.0, $conv927 = 0.0, $conv928 = 0.0, $conv929 = 0.0, $conv931 = 0.0, $conv932 = 0.0, $conv933 = 0.0, $count = 0, $count11 = 0, $count17 = 0, $count211 = 0;
- var $count23 = 0, $count29 = 0, $count3 = 0, $count33 = 0, $count5 = 0, $count560 = 0, $count612 = 0, $count637 = 0, $count736 = 0, $count934 = 0, $d2A = 0, $d2_angle = 0, $d2_angle138 = 0.0, $d2_angle2 = 0.0, $dA = 0, $d_angle = 0, $d_angle137 = 0.0, $d_angle2 = 0.0, $div = 0.0, $div1001 = 0.0;
- var $div1039 = 0.0, $div1072 = 0.0, $div16 = 0.0, $div202 = 0.0, $div28 = 0.0, $div284 = 0.0, $div353 = 0.0, $div378 = 0.0, $div388 = 0.0, $div395 = 0.0, $div402 = 0.0, $div456 = 0.0, $div610 = 0.0, $div611 = 0.0, $div617 = 0.0, $div622 = 0.0, $div633 = 0.0, $div893 = 0.0, $div921 = 0.0, $downmix$addr = 0;
- var $features = 0, $frame_loudness = 0.0, $frame_noisiness = 0.0, $frame_probs = 0, $frame_stationarity = 0.0, $frame_tonality = 0.0, $highE = 0, $highE313 = 0, $highE321 = 0, $highE326 = 0, $highE328 = 0, $highE336 = 0, $highE347 = 0, $i = 0, $i146 = 0, $i149 = 0, $i152 = 0, $i155 = 0, $i248 = 0, $i250 = 0;
- var $i255 = 0, $i258 = 0, $i485 = 0, $i487 = 0, $i492 = 0, $i495 = 0, $i78 = 0, $i97 = 0, $in = 0, $inc = 0, $inc1013 = 0, $inc1025 = 0, $inc1037 = 0, $inc1070 = 0, $inc209 = 0, $inc220 = 0, $inc271 = 0, $inc371 = 0, $inc445 = 0, $inc500 = 0;
- var $inc558 = 0, $inc58 = 0, $inc604 = 0, $inc608 = 0, $inc638 = 0, $inc667 = 0, $inc683 = 0, $inc706 = 0, $inc734 = 0, $inc755 = 0, $inc783 = 0, $inc797 = 0, $inc978 = 0, $inc98 = 0, $inc999 = 0, $info = 0, $info57 = 0, $inmem = 0, $inmem101 = 0, $inmem104 = 0;
- var $inmem106 = 0, $inmem115 = 0, $inmem70 = 0, $inmem73 = 0, $inmem79 = 0, $inmem88 = 0, $inmem99 = 0, $kfft = 0, $kfft32 = 0, $last_music = 0, $last_music1121 = 0, $last_transition = 0, $last_transition1116 = 0, $len$addr = 0, $logE = 0, $lowE = 0, $lowE297 = 0, $lowE305 = 0, $lowE310 = 0, $lowE330 = 0;
- var $lowE339 = 0, $lowE344 = 0, $lowE350 = 0, $lowECount = 0, $lowECount586 = 0, $lowECount806 = 0, $lsb_depth$addr = 0, $m0 = 0.0, $maxE = 0.0, $max_frame_tonality = 0.0, $mdct = 0, $meanE = 0, $meanE515 = 0, $meanE521 = 0, $meanE523 = 0, $meanE529 = 0, $mem = 0, $mem649 = 0, $mem651 = 0, $mem657 = 0;
- var $mem690 = 0, $mem695 = 0, $mem697 = 0, $mem713 = 0, $mem718 = 0, $mem720 = 0, $mem726 = 0, $mem762 = 0, $mem765 = 0, $mem768 = 0, $mem771 = 0, $mem774 = 0, $mem776 = 0, $mem780 = 0, $mem_fill = 0, $mem_fill112 = 0, $mem_fill118 = 0, $mem_fill121 = 0, $mem_fill38 = 0, $mem_fill40 = 0;
- var $mem_fill45 = 0, $mem_fill49 = 0, $mem_fill54 = 0, $mod1 = 0.0, $mod2 = 0.0, $mul = 0.0, $mul1008 = 0.0, $mul1011 = 0.0, $mul1060 = 0.0, $mul1093 = 0.0, $mul110 = 0, $mul163 = 0.0, $mul169 = 0.0, $mul181 = 0.0, $mul182 = 0.0, $mul193 = 0.0, $mul194 = 0.0, $mul196 = 0.0, $mul199 = 0.0, $mul200 = 0.0;
- var $mul238 = 0.0, $mul245 = 0.0, $mul251 = 0.0, $mul259 = 0.0, $mul263 = 0.0, $mul265 = 0.0, $mul268 = 0.0, $mul373 = 0.0, $mul383 = 0.0, $mul391 = 0.0, $mul392 = 0.0, $mul397 = 0.0, $mul406 = 0.0, $mul422 = 0.0, $mul424 = 0.0, $mul431 = 0.0, $mul433 = 0.0, $mul439 = 0.0, $mul457 = 0.0, $mul475 = 0.0;
- var $mul482 = 0.0, $mul488 = 0.0, $mul496 = 0.0, $mul510 = 0.0, $mul517 = 0.0, $mul533 = 0.0, $mul537 = 0.0, $mul543 = 0.0, $mul546 = 0.0, $mul552 = 0.0, $mul568 = 0.0, $mul580 = 0.0, $mul597 = 0, $mul601 = 0.0, $mul619 = 0.0, $mul623 = 0.0, $mul629 = 0.0, $mul648 = 0.0, $mul655 = 0.0, $mul660 = 0.0;
- var $mul663 = 0.0, $mul676 = 0.0, $mul678 = 0.0, $mul694 = 0.0, $mul701 = 0.0, $mul717 = 0.0, $mul724 = 0.0, $mul729 = 0.0, $mul746 = 0.0, $mul748 = 0.0, $mul750 = 0.0, $mul76 = 0.0, $mul812 = 0.0, $mul815 = 0.0, $mul817 = 0.0, $mul822 = 0.0, $mul826 = 0.0, $mul83 = 0.0, $mul831 = 0.0, $mul834 = 0.0;
- var $mul838 = 0.0, $mul887 = 0.0, $mul889 = 0.0, $mul891 = 0.0, $mul898 = 0.0, $mul900 = 0.0, $mul904 = 0.0, $mul907 = 0.0, $mul914 = 0.0, $mul919 = 0.0, $mul93 = 0.0, $mul952 = 0.0, $mul953 = 0.0, $mul957 = 0.0, $mul958 = 0.0, $mul968 = 0.0, $mul974 = 0.0, $mul980 = 0.0, $mul981 = 0.0, $mul984 = 0.0;
- var $mul985 = 0.0, $music0 = 0.0, $music_confidence = 0, $music_confidence1056 = 0, $music_confidence1061 = 0, $music_confidence1101 = 0, $music_confidence_count = 0, $music_confidence_count1040 = 0, $music_confidence_count1044 = 0, $music_confidence_count1048 = 0, $music_confidence_count1097 = 0, $music_prob = 0, $music_prob1032 = 0, $music_prob1064 = 0, $music_prob1110 = 0, $music_prob1118 = 0, $music_prob861 = 0, $music_prob866 = 0, $music_prob873 = 0, $music_prob878 = 0;
- var $music_prob895 = 0, $music_prob899 = 0, $music_prob902 = 0, $music_prob905 = 0, $music_prob922 = 0, $music_prob923 = 0, $music_prob924 = 0, $nE = 0.0, $noise_floor = 0.0, $noisiness = 0, $noisiness1123 = 0, $offset$addr = 0, $out = 0, $p = 0.0, $p0 = 0.0, $p1 = 0.0, $pi4 = 0.0, $pmusic = 0, $pmusic1009 = 0, $pmusic1015 = 0;
- var $pmusic946 = 0, $pmusic948 = 0, $pmusic959 = 0, $pmusic971 = 0, $pmusic975 = 0, $pmusic986 = 0, $pmusic994 = 0, $prev_band_tonality = 0, $prev_band_tonality404 = 0, $prev_band_tonality442 = 0, $prev_tonality = 0, $prev_tonality628 = 0, $prev_tonality632 = 0, $pspeech = 0, $pspeech1006 = 0, $pspeech1021 = 0, $pspeech941 = 0, $pspeech943 = 0, $pspeech954 = 0, $pspeech965 = 0;
- var $pspeech969 = 0, $pspeech982 = 0, $pspeech992 = 0, $psum = 0.0, $q = 0.0, $relativeE = 0.0, $rem = 0, $remaining = 0, $s0 = 0.0, $shl = 0, $slope = 0.0, $speech0 = 0.0, $speech_confidence = 0, $speech_confidence1089 = 0, $speech_confidence1094 = 0, $speech_confidence1107 = 0, $speech_confidence_count = 0, $speech_confidence_count1073 = 0, $speech_confidence_count1077 = 0, $speech_confidence_count1081 = 0;
- var $speech_confidence_count1103 = 0, $stationarity = 0.0, $std = 0, $std752 = 0, $std789 = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $sub1050 = 0.0, $sub1057 = 0.0, $sub1083 = 0.0, $sub1090 = 0.0, $sub113 = 0, $sub114 = 0, $sub119 = 0, $sub141 = 0, $sub147 = 0, $sub150 = 0.0;
- var $sub153 = 0, $sub157 = 0, $sub162 = 0.0, $sub165 = 0.0, $sub167 = 0.0, $sub170 = 0.0, $sub171 = 0.0, $sub176 = 0.0, $sub187 = 0.0, $sub203 = 0.0, $sub239 = 0, $sub242 = 0, $sub253 = 0, $sub256 = 0, $sub267 = 0.0, $sub315 = 0.0, $sub323 = 0.0, $sub341 = 0.0, $sub346 = 0.0, $sub352 = 0.0;
- var $sub415 = 0, $sub418 = 0.0, $sub420 = 0, $sub429 = 0, $sub437 = 0, $sub447 = 0, $sub452 = 0, $sub46 = 0, $sub476 = 0, $sub479 = 0, $sub490 = 0, $sub493 = 0, $sub508 = 0.0, $sub514 = 0.0, $sub550 = 0, $sub569 = 0.0, $sub574 = 0.0, $sub579 = 0.0, $sub582 = 0.0, $sub618 = 0.0;
- var $sub65 = 0, $sub664 = 0.0, $sub673 = 0.0, $sub693 = 0.0, $sub700 = 0.0, $sub725 = 0.0, $sub730 = 0.0, $sub744 = 0.0, $sub80 = 0, $sub81 = 0, $sub823 = 0.0, $sub833 = 0.0, $sub84 = 0, $sub85 = 0, $sub883 = 0.0, $sub888 = 0.0, $sub890 = 0.0, $sub896 = 0.0, $sub897 = 0.0, $sub90 = 0;
- var $sub903 = 0.0, $sub906 = 0.0, $sub91 = 0, $sub910 = 0.0, $sub926 = 0.0, $sub94 = 0, $sub95 = 0, $sub951 = 0.0, $sub956 = 0.0, $sum = 0.0, $tE = 0.0, $tau = 0.0, $tobool = 0, $tonal$addr = 0, $tonality = 0, $tonality639 = 0, $tonality799 = 0, $tonality_slope = 0, $tonality_slope804 = 0, $w = 0.0;
- var $write_pos = 0, $write_pos60 = 0, $write_pos64 = 0, $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 10192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(10192|0);
- $band_tonality = sp + 10040|0;
- $logE = sp + 9968|0;
- $BFCC = sp + 9936|0;
- $features = sp + 9836|0;
- $frame_probs = sp + 9800|0;
- $in = sp + 5920|0;
- $out = sp + 2080|0;
- $tonality = sp + 1120|0;
- $noisiness = sp + 160|0;
- $tonal$addr = $tonal;
- $celt_mode$addr = $celt_mode;
- $x$addr = $x;
- $len$addr = $len;
- $offset$addr = $offset;
- $c1$addr = $c1;
- $c2$addr = $c2;
- $C$addr = $C;
- $lsb_depth$addr = $lsb_depth;
- $downmix$addr = $downmix;
- $N = 480;
- $N2 = 240;
- $0 = $tonal$addr;
- $angle = ((($0)) + 4|0);
- $A = $angle;
- $1 = $tonal$addr;
- $d_angle = ((($1)) + 964|0);
- $dA = $d_angle;
- $2 = $tonal$addr;
- $d2_angle = ((($2)) + 1924|0);
- $d2A = $d2_angle;
- $pi4 = 97.409088134765625;
- $slope = 0.0;
- $bandwidth = 0;
- $maxE = 0.0;
- $3 = $tonal$addr;
- $last_transition = ((($3)) + 6864|0);
- $4 = HEAP32[$last_transition>>2]|0;
- $inc = (($4) + 1)|0;
- HEAP32[$last_transition>>2] = $inc;
- $5 = $tonal$addr;
- $count = ((($5)) + 6868|0);
- $6 = HEAP32[$count>>2]|0;
- $add = (1 + ($6))|0;
- $cmp = (20)<($add|0);
- if ($cmp) {
- $cond = 20;
- } else {
- $7 = $tonal$addr;
- $count3 = ((($7)) + 6868|0);
- $8 = HEAP32[$count3>>2]|0;
- $add4 = (1 + ($8))|0;
- $cond = $add4;
- }
- $conv = (+($cond|0));
- $div = 1.0 / $conv;
- $alpha = $div;
- $9 = $tonal$addr;
- $count5 = ((($9)) + 6868|0);
- $10 = HEAP32[$count5>>2]|0;
- $add6 = (1 + ($10))|0;
- $cmp7 = (50)<($add6|0);
- if ($cmp7) {
- $cond14 = 50;
- } else {
- $11 = $tonal$addr;
- $count11 = ((($11)) + 6868|0);
- $12 = HEAP32[$count11>>2]|0;
- $add12 = (1 + ($12))|0;
- $cond14 = $add12;
- }
- $conv15 = (+($cond14|0));
- $div16 = 1.0 / $conv15;
- $alphaE = $div16;
- $13 = $tonal$addr;
- $count17 = ((($13)) + 6868|0);
- $14 = HEAP32[$count17>>2]|0;
- $add18 = (1 + ($14))|0;
- $cmp19 = (1000)<($add18|0);
- if ($cmp19) {
- $cond26 = 1000;
- } else {
- $15 = $tonal$addr;
- $count23 = ((($15)) + 6868|0);
- $16 = HEAP32[$count23>>2]|0;
- $add24 = (1 + ($16))|0;
- $cond26 = $add24;
- }
- $conv27 = (+($cond26|0));
- $div28 = 1.0 / $conv27;
- $alphaE2 = $div28;
- $17 = $tonal$addr;
- $count29 = ((($17)) + 6868|0);
- $18 = HEAP32[$count29>>2]|0;
- $cmp30 = ($18|0)<(4);
- if ($cmp30) {
- $19 = $tonal$addr;
- $music_prob = ((($19)) + 6844|0);
- HEAPF32[$music_prob>>2] = 0.5;
- }
- $20 = $celt_mode$addr;
- $mdct = ((($20)) + 64|0);
- $kfft32 = ((($mdct)) + 8|0);
- $21 = HEAP32[$kfft32>>2]|0;
- $kfft = $21;
- $22 = $tonal$addr;
- $count33 = ((($22)) + 6868|0);
- $23 = HEAP32[$count33>>2]|0;
- $cmp34 = ($23|0)==(0);
- if ($cmp34) {
- $24 = $tonal$addr;
- $mem_fill = ((($24)) + 5764|0);
- HEAP32[$mem_fill>>2] = 240;
- }
- $25 = $downmix$addr;
- $26 = $x$addr;
- $27 = $tonal$addr;
- $inmem = ((($27)) + 2884|0);
- $28 = $tonal$addr;
- $mem_fill38 = ((($28)) + 5764|0);
- $29 = HEAP32[$mem_fill38>>2]|0;
- $arrayidx39 = (($inmem) + ($29<<2)|0);
- $30 = $len$addr;
- $31 = $tonal$addr;
- $mem_fill40 = ((($31)) + 5764|0);
- $32 = HEAP32[$mem_fill40>>2]|0;
- $sub = (720 - ($32))|0;
- $cmp41 = ($30|0)<($sub|0);
- if ($cmp41) {
- $33 = $len$addr;
- $cond48 = $33;
- } else {
- $34 = $tonal$addr;
- $mem_fill45 = ((($34)) + 5764|0);
- $35 = HEAP32[$mem_fill45>>2]|0;
- $sub46 = (720 - ($35))|0;
- $cond48 = $sub46;
- }
- $36 = $offset$addr;
- $37 = $c1$addr;
- $38 = $c2$addr;
- $39 = $C$addr;
- FUNCTION_TABLE_viiiiiii[$25 & 31]($26,$arrayidx39,$cond48,$36,$37,$38,$39);
- $40 = $tonal$addr;
- $mem_fill49 = ((($40)) + 5764|0);
- $41 = HEAP32[$mem_fill49>>2]|0;
- $42 = $len$addr;
- $add50 = (($41) + ($42))|0;
- $cmp51 = ($add50|0)<(720);
- if ($cmp51) {
- $43 = $len$addr;
- $44 = $tonal$addr;
- $mem_fill54 = ((($44)) + 5764|0);
- $45 = HEAP32[$mem_fill54>>2]|0;
- $add55 = (($45) + ($43))|0;
- HEAP32[$mem_fill54>>2] = $add55;
- STACKTOP = sp;return;
- }
- $46 = $tonal$addr;
- $info57 = ((($46)) + 8516|0);
- $47 = $tonal$addr;
- $write_pos = ((($47)) + 8504|0);
- $48 = HEAP32[$write_pos>>2]|0;
- $inc58 = (($48) + 1)|0;
- HEAP32[$write_pos>>2] = $inc58;
- $arrayidx59 = (($info57) + (($48*28)|0)|0);
- $info = $arrayidx59;
- $49 = $tonal$addr;
- $write_pos60 = ((($49)) + 8504|0);
- $50 = HEAP32[$write_pos60>>2]|0;
- $cmp61 = ($50|0)>=(200);
- if ($cmp61) {
- $51 = $tonal$addr;
- $write_pos64 = ((($51)) + 8504|0);
- $52 = HEAP32[$write_pos64>>2]|0;
- $sub65 = (($52) - 200)|0;
- HEAP32[$write_pos64>>2] = $sub65;
- }
- $i = 0;
- while(1) {
- $53 = $i;
- $54 = $N2;
- $cmp67 = ($53|0)<($54|0);
- if (!($cmp67)) {
- break;
- }
- $55 = $i;
- $arrayidx69 = (232 + ($55<<2)|0);
- $56 = +HEAPF32[$arrayidx69>>2];
- $w = $56;
- $57 = $w;
- $58 = $tonal$addr;
- $inmem70 = ((($58)) + 2884|0);
- $59 = $i;
- $arrayidx71 = (($inmem70) + ($59<<2)|0);
- $60 = +HEAPF32[$arrayidx71>>2];
- $mul = $57 * $60;
- $61 = $i;
- $arrayidx72 = (($in) + ($61<<3)|0);
- HEAPF32[$arrayidx72>>2] = $mul;
- $62 = $w;
- $63 = $tonal$addr;
- $inmem73 = ((($63)) + 2884|0);
- $64 = $N2;
- $65 = $i;
- $add74 = (($64) + ($65))|0;
- $arrayidx75 = (($inmem73) + ($add74<<2)|0);
- $66 = +HEAPF32[$arrayidx75>>2];
- $mul76 = $62 * $66;
- $67 = $i;
- $arrayidx77 = (($in) + ($67<<3)|0);
- $i78 = ((($arrayidx77)) + 4|0);
- HEAPF32[$i78>>2] = $mul76;
- $68 = $w;
- $69 = $tonal$addr;
- $inmem79 = ((($69)) + 2884|0);
- $70 = $N;
- $71 = $i;
- $sub80 = (($70) - ($71))|0;
- $sub81 = (($sub80) - 1)|0;
- $arrayidx82 = (($inmem79) + ($sub81<<2)|0);
- $72 = +HEAPF32[$arrayidx82>>2];
- $mul83 = $68 * $72;
- $73 = $N;
- $74 = $i;
- $sub84 = (($73) - ($74))|0;
- $sub85 = (($sub84) - 1)|0;
- $arrayidx86 = (($in) + ($sub85<<3)|0);
- HEAPF32[$arrayidx86>>2] = $mul83;
- $75 = $w;
- $76 = $tonal$addr;
- $inmem88 = ((($76)) + 2884|0);
- $77 = $N;
- $78 = $N2;
- $add89 = (($77) + ($78))|0;
- $79 = $i;
- $sub90 = (($add89) - ($79))|0;
- $sub91 = (($sub90) - 1)|0;
- $arrayidx92 = (($inmem88) + ($sub91<<2)|0);
- $80 = +HEAPF32[$arrayidx92>>2];
- $mul93 = $75 * $80;
- $81 = $N;
- $82 = $i;
- $sub94 = (($81) - ($82))|0;
- $sub95 = (($sub94) - 1)|0;
- $arrayidx96 = (($in) + ($sub95<<3)|0);
- $i97 = ((($arrayidx96)) + 4|0);
- HEAPF32[$i97>>2] = $mul93;
- $83 = $i;
- $inc98 = (($83) + 1)|0;
- $i = $inc98;
- }
- $84 = $tonal$addr;
- $inmem99 = ((($84)) + 2884|0);
- $85 = $tonal$addr;
- $inmem101 = ((($85)) + 2884|0);
- $add$ptr = ((($inmem101)) + 2880|0);
- $add$ptr103 = ((($add$ptr)) + -960|0);
- $86 = $tonal$addr;
- $inmem104 = ((($86)) + 2884|0);
- $87 = $tonal$addr;
- $inmem106 = ((($87)) + 2884|0);
- $add$ptr108 = ((($inmem106)) + 2880|0);
- $add$ptr109 = ((($add$ptr108)) + -960|0);
- $sub$ptr$lhs$cast = $inmem104;
- $sub$ptr$rhs$cast = $add$ptr109;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul110 = 0;
- $add111 = (960 + ($mul110))|0;
- _memmove(($inmem99|0),($add$ptr103|0),($add111|0))|0;
- $88 = $len$addr;
- $89 = $tonal$addr;
- $mem_fill112 = ((($89)) + 5764|0);
- $90 = HEAP32[$mem_fill112>>2]|0;
- $sub113 = (720 - ($90))|0;
- $sub114 = (($88) - ($sub113))|0;
- $remaining = $sub114;
- $91 = $downmix$addr;
- $92 = $x$addr;
- $93 = $tonal$addr;
- $inmem115 = ((($93)) + 2884|0);
- $arrayidx116 = ((($inmem115)) + 960|0);
- $94 = $remaining;
- $95 = $offset$addr;
- $add117 = (($95) + 720)|0;
- $96 = $tonal$addr;
- $mem_fill118 = ((($96)) + 5764|0);
- $97 = HEAP32[$mem_fill118>>2]|0;
- $sub119 = (($add117) - ($97))|0;
- $98 = $c1$addr;
- $99 = $c2$addr;
- $100 = $C$addr;
- FUNCTION_TABLE_viiiiiii[$91 & 31]($92,$arrayidx116,$94,$sub119,$98,$99,$100);
- $101 = $remaining;
- $add120 = (240 + ($101))|0;
- $102 = $tonal$addr;
- $mem_fill121 = ((($102)) + 5764|0);
- HEAP32[$mem_fill121>>2] = $add120;
- $103 = $kfft;
- _opus_fft_c($103,$in,$out);
- $104 = +HEAPF32[$out>>2];
- $105 = +HEAPF32[$out>>2];
- $cmp128 = $104 != $105;
- if ($cmp128) {
- $106 = $info;
- HEAP32[$106>>2] = 0;
- STACKTOP = sp;return;
- }
- $i = 1;
- while(1) {
- $107 = $i;
- $108 = $N2;
- $cmp133 = ($107|0)<($108|0);
- if (!($cmp133)) {
- break;
- }
- $109 = $i;
- $arrayidx139 = (($out) + ($109<<3)|0);
- $110 = +HEAPF32[$arrayidx139>>2];
- $111 = $N;
- $112 = $i;
- $sub141 = (($111) - ($112))|0;
- $arrayidx142 = (($out) + ($sub141<<3)|0);
- $113 = +HEAPF32[$arrayidx142>>2];
- $add144 = $110 + $113;
- $X1r = $add144;
- $114 = $i;
- $arrayidx145 = (($out) + ($114<<3)|0);
- $i146 = ((($arrayidx145)) + 4|0);
- $115 = +HEAPF32[$i146>>2];
- $116 = $N;
- $117 = $i;
- $sub147 = (($116) - ($117))|0;
- $arrayidx148 = (($out) + ($sub147<<3)|0);
- $i149 = ((($arrayidx148)) + 4|0);
- $118 = +HEAPF32[$i149>>2];
- $sub150 = $115 - $118;
- $X1i = $sub150;
- $119 = $i;
- $arrayidx151 = (($out) + ($119<<3)|0);
- $i152 = ((($arrayidx151)) + 4|0);
- $120 = +HEAPF32[$i152>>2];
- $121 = $N;
- $122 = $i;
- $sub153 = (($121) - ($122))|0;
- $arrayidx154 = (($out) + ($sub153<<3)|0);
- $i155 = ((($arrayidx154)) + 4|0);
- $123 = +HEAPF32[$i155>>2];
- $add156 = $120 + $123;
- $X2r = $add156;
- $124 = $N;
- $125 = $i;
- $sub157 = (($124) - ($125))|0;
- $arrayidx158 = (($out) + ($sub157<<3)|0);
- $126 = +HEAPF32[$arrayidx158>>2];
- $127 = $i;
- $arrayidx160 = (($out) + ($127<<3)|0);
- $128 = +HEAPF32[$arrayidx160>>2];
- $sub162 = $126 - $128;
- $X2i = $sub162;
- $129 = $X1i;
- $130 = $X1r;
- $call = (+_fast_atan2f($129,$130));
- $mul163 = 0.15915493667125702 * $call;
- $angle136 = $mul163;
- $131 = $angle136;
- $132 = $A;
- $133 = $i;
- $arrayidx164 = (($132) + ($133<<2)|0);
- $134 = +HEAPF32[$arrayidx164>>2];
- $sub165 = $131 - $134;
- $d_angle137 = $sub165;
- $135 = $d_angle137;
- $136 = $dA;
- $137 = $i;
- $arrayidx166 = (($136) + ($137<<2)|0);
- $138 = +HEAPF32[$arrayidx166>>2];
- $sub167 = $135 - $138;
- $d2_angle138 = $sub167;
- $139 = $X2i;
- $140 = $X2r;
- $call168 = (+_fast_atan2f($139,$140));
- $mul169 = 0.15915493667125702 * $call168;
- $angle2 = $mul169;
- $141 = $angle2;
- $142 = $angle136;
- $sub170 = $141 - $142;
- $d_angle2 = $sub170;
- $143 = $d_angle2;
- $144 = $d_angle137;
- $sub171 = $143 - $144;
- $d2_angle2 = $sub171;
- $145 = $d2_angle138;
- $146 = $d2_angle138;
- $conv172 = $146;
- $add173 = 0.5 + $conv172;
- $call174 = (+Math_floor((+$add173)));
- $conv175 = $call174;
- $sub176 = $145 - $conv175;
- $mod1 = $sub176;
- $147 = $mod1;
- $conv177 = $147;
- $call178 = (+Math_abs((+$conv177)));
- $conv179 = $call178;
- $148 = $i;
- $arrayidx180 = (($noisiness) + ($148<<2)|0);
- HEAPF32[$arrayidx180>>2] = $conv179;
- $149 = $mod1;
- $150 = $mod1;
- $mul181 = $150 * $149;
- $mod1 = $mul181;
- $151 = $mod1;
- $152 = $mod1;
- $mul182 = $152 * $151;
- $mod1 = $mul182;
- $153 = $d2_angle2;
- $154 = $d2_angle2;
- $conv183 = $154;
- $add184 = 0.5 + $conv183;
- $call185 = (+Math_floor((+$add184)));
- $conv186 = $call185;
- $sub187 = $153 - $conv186;
- $mod2 = $sub187;
- $155 = $mod2;
- $conv188 = $155;
- $call189 = (+Math_abs((+$conv188)));
- $conv190 = $call189;
- $156 = $i;
- $arrayidx191 = (($noisiness) + ($156<<2)|0);
- $157 = +HEAPF32[$arrayidx191>>2];
- $add192 = $157 + $conv190;
- HEAPF32[$arrayidx191>>2] = $add192;
- $158 = $mod2;
- $159 = $mod2;
- $mul193 = $159 * $158;
- $mod2 = $mul193;
- $160 = $mod2;
- $161 = $mod2;
- $mul194 = $161 * $160;
- $mod2 = $mul194;
- $162 = $d2A;
- $163 = $i;
- $arrayidx195 = (($162) + ($163<<2)|0);
- $164 = +HEAPF32[$arrayidx195>>2];
- $165 = $mod1;
- $mul196 = 2.0 * $165;
- $add197 = $164 + $mul196;
- $166 = $mod2;
- $add198 = $add197 + $166;
- $mul199 = 0.25 * $add198;
- $avg_mod = $mul199;
- $167 = $avg_mod;
- $mul200 = 62341.81640625 * $167;
- $add201 = 1.0 + $mul200;
- $div202 = 1.0 / $add201;
- $sub203 = $div202 - 0.014999999664723873;
- $168 = $i;
- $arrayidx204 = (($tonality) + ($168<<2)|0);
- HEAPF32[$arrayidx204>>2] = $sub203;
- $169 = $angle2;
- $170 = $A;
- $171 = $i;
- $arrayidx205 = (($170) + ($171<<2)|0);
- HEAPF32[$arrayidx205>>2] = $169;
- $172 = $d_angle2;
- $173 = $dA;
- $174 = $i;
- $arrayidx206 = (($173) + ($174<<2)|0);
- HEAPF32[$arrayidx206>>2] = $172;
- $175 = $mod2;
- $176 = $d2A;
- $177 = $i;
- $arrayidx207 = (($176) + ($177<<2)|0);
- HEAPF32[$arrayidx207>>2] = $175;
- $178 = $i;
- $inc209 = (($178) + 1)|0;
- $i = $inc209;
- }
- $frame_tonality = 0.0;
- $max_frame_tonality = 0.0;
- $179 = $info;
- $activity = ((($179)) + 16|0);
- HEAPF32[$activity>>2] = 0.0;
- $frame_noisiness = 0.0;
- $frame_stationarity = 0.0;
- $180 = $tonal$addr;
- $count211 = ((($180)) + 6868|0);
- $181 = HEAP32[$count211>>2]|0;
- $tobool = ($181|0)!=(0);
- L39: do {
- if (!($tobool)) {
- $b = 0;
- while(1) {
- $182 = $b;
- $cmp214 = ($182|0)<(18);
- if (!($cmp214)) {
- break L39;
- }
- $183 = $tonal$addr;
- $lowE = ((($183)) + 6420|0);
- $184 = $b;
- $arrayidx217 = (($lowE) + ($184<<2)|0);
- HEAPF32[$arrayidx217>>2] = 1.0E+10;
- $185 = $tonal$addr;
- $highE = ((($185)) + 6492|0);
- $186 = $b;
- $arrayidx218 = (($highE) + ($186<<2)|0);
- HEAPF32[$arrayidx218>>2] = -1.0E+10;
- $187 = $b;
- $inc220 = (($187) + 1)|0;
- $b = $inc220;
- }
- }
- } while(0);
- $relativeE = 0.0;
- $frame_loudness = 0.0;
- $b = 0;
- while(1) {
- $188 = $b;
- $cmp224 = ($188|0)<(18);
- if (!($cmp224)) {
- break;
- }
- $E = 0.0;
- $tE = 0.0;
- $nE = 0.0;
- $189 = $b;
- $arrayidx227 = (1192 + ($189<<2)|0);
- $190 = HEAP32[$arrayidx227>>2]|0;
- $i = $190;
- while(1) {
- $191 = $i;
- $192 = $b;
- $add229 = (($192) + 1)|0;
- $arrayidx230 = (1192 + ($add229<<2)|0);
- $193 = HEAP32[$arrayidx230>>2]|0;
- $cmp231 = ($191|0)<($193|0);
- if (!($cmp231)) {
- break;
- }
- $194 = $i;
- $arrayidx234 = (($out) + ($194<<3)|0);
- $195 = +HEAPF32[$arrayidx234>>2];
- $196 = $i;
- $arrayidx236 = (($out) + ($196<<3)|0);
- $197 = +HEAPF32[$arrayidx236>>2];
- $mul238 = $195 * $197;
- $198 = $N;
- $199 = $i;
- $sub239 = (($198) - ($199))|0;
- $arrayidx240 = (($out) + ($sub239<<3)|0);
- $200 = +HEAPF32[$arrayidx240>>2];
- $201 = $N;
- $202 = $i;
- $sub242 = (($201) - ($202))|0;
- $arrayidx243 = (($out) + ($sub242<<3)|0);
- $203 = +HEAPF32[$arrayidx243>>2];
- $mul245 = $200 * $203;
- $add246 = $mul238 + $mul245;
- $204 = $i;
- $arrayidx247 = (($out) + ($204<<3)|0);
- $i248 = ((($arrayidx247)) + 4|0);
- $205 = +HEAPF32[$i248>>2];
- $206 = $i;
- $arrayidx249 = (($out) + ($206<<3)|0);
- $i250 = ((($arrayidx249)) + 4|0);
- $207 = +HEAPF32[$i250>>2];
- $mul251 = $205 * $207;
- $add252 = $add246 + $mul251;
- $208 = $N;
- $209 = $i;
- $sub253 = (($208) - ($209))|0;
- $arrayidx254 = (($out) + ($sub253<<3)|0);
- $i255 = ((($arrayidx254)) + 4|0);
- $210 = +HEAPF32[$i255>>2];
- $211 = $N;
- $212 = $i;
- $sub256 = (($211) - ($212))|0;
- $arrayidx257 = (($out) + ($sub256<<3)|0);
- $i258 = ((($arrayidx257)) + 4|0);
- $213 = +HEAPF32[$i258>>2];
- $mul259 = $210 * $213;
- $add260 = $add252 + $mul259;
- $binE = $add260;
- $214 = $binE;
- $215 = $E;
- $add261 = $215 + $214;
- $E = $add261;
- $216 = $binE;
- $217 = $i;
- $arrayidx262 = (($tonality) + ($217<<2)|0);
- $218 = +HEAPF32[$arrayidx262>>2];
- $mul263 = $216 * $218;
- $219 = $tE;
- $add264 = $219 + $mul263;
- $tE = $add264;
- $220 = $binE;
- $mul265 = $220 * 2.0;
- $221 = $i;
- $arrayidx266 = (($noisiness) + ($221<<2)|0);
- $222 = +HEAPF32[$arrayidx266>>2];
- $sub267 = 0.5 - $222;
- $mul268 = $mul265 * $sub267;
- $223 = $nE;
- $add269 = $223 + $mul268;
- $nE = $add269;
- $224 = $i;
- $inc271 = (($224) + 1)|0;
- $i = $inc271;
- }
- $225 = $E;
- $cmp273 = $225 < 1.0E+9;
- if (!($cmp273)) {
- label = 37;
- break;
- }
- $226 = $E;
- $227 = $E;
- $cmp275 = $226 != $227;
- if ($cmp275) {
- label = 37;
- break;
- }
- $229 = $E;
- $230 = $tonal$addr;
- $E280 = ((($230)) + 5844|0);
- $231 = $tonal$addr;
- $E_count = ((($231)) + 6856|0);
- $232 = HEAP32[$E_count>>2]|0;
- $arrayidx281 = (($E280) + (($232*72)|0)|0);
- $233 = $b;
- $arrayidx282 = (($arrayidx281) + ($233<<2)|0);
- HEAPF32[$arrayidx282>>2] = $229;
- $234 = $nE;
- $235 = $E;
- $add283 = 1.0000000036274937E-15 + $235;
- $div284 = $234 / $add283;
- $236 = $frame_noisiness;
- $add285 = $236 + $div284;
- $frame_noisiness = $add285;
- $237 = $E;
- $add286 = $237 + 1.000000013351432E-10;
- $conv287 = $add286;
- $call288 = (+Math_sqrt((+$conv287)));
- $conv289 = $call288;
- $238 = $frame_loudness;
- $add290 = $238 + $conv289;
- $frame_loudness = $add290;
- $239 = $E;
- $add291 = $239 + 1.000000013351432E-10;
- $conv292 = $add291;
- $call293 = (+Math_log((+$conv292)));
- $conv294 = $call293;
- $240 = $b;
- $arrayidx295 = (($logE) + ($240<<2)|0);
- HEAPF32[$arrayidx295>>2] = $conv294;
- $241 = $b;
- $arrayidx296 = (($logE) + ($241<<2)|0);
- $242 = +HEAPF32[$arrayidx296>>2];
- $243 = $tonal$addr;
- $lowE297 = ((($243)) + 6420|0);
- $244 = $b;
- $arrayidx298 = (($lowE297) + ($244<<2)|0);
- $245 = +HEAPF32[$arrayidx298>>2];
- $add299 = $245 + 0.0099999997764825821;
- $cmp300 = $242 < $add299;
- if ($cmp300) {
- $246 = $b;
- $arrayidx303 = (($logE) + ($246<<2)|0);
- $247 = +HEAPF32[$arrayidx303>>2];
- $cond309 = $247;
- } else {
- $248 = $tonal$addr;
- $lowE305 = ((($248)) + 6420|0);
- $249 = $b;
- $arrayidx306 = (($lowE305) + ($249<<2)|0);
- $250 = +HEAPF32[$arrayidx306>>2];
- $add307 = $250 + 0.0099999997764825821;
- $cond309 = $add307;
- }
- $251 = $tonal$addr;
- $lowE310 = ((($251)) + 6420|0);
- $252 = $b;
- $arrayidx311 = (($lowE310) + ($252<<2)|0);
- HEAPF32[$arrayidx311>>2] = $cond309;
- $253 = $b;
- $arrayidx312 = (($logE) + ($253<<2)|0);
- $254 = +HEAPF32[$arrayidx312>>2];
- $255 = $tonal$addr;
- $highE313 = ((($255)) + 6492|0);
- $256 = $b;
- $arrayidx314 = (($highE313) + ($256<<2)|0);
- $257 = +HEAPF32[$arrayidx314>>2];
- $sub315 = $257 - 0.10000000149011612;
- $cmp316 = $254 > $sub315;
- if ($cmp316) {
- $258 = $b;
- $arrayidx319 = (($logE) + ($258<<2)|0);
- $259 = +HEAPF32[$arrayidx319>>2];
- $cond325 = $259;
- } else {
- $260 = $tonal$addr;
- $highE321 = ((($260)) + 6492|0);
- $261 = $b;
- $arrayidx322 = (($highE321) + ($261<<2)|0);
- $262 = +HEAPF32[$arrayidx322>>2];
- $sub323 = $262 - 0.10000000149011612;
- $cond325 = $sub323;
- }
- $263 = $tonal$addr;
- $highE326 = ((($263)) + 6492|0);
- $264 = $b;
- $arrayidx327 = (($highE326) + ($264<<2)|0);
- HEAPF32[$arrayidx327>>2] = $cond325;
- $265 = $tonal$addr;
- $highE328 = ((($265)) + 6492|0);
- $266 = $b;
- $arrayidx329 = (($highE328) + ($266<<2)|0);
- $267 = +HEAPF32[$arrayidx329>>2];
- $268 = $tonal$addr;
- $lowE330 = ((($268)) + 6420|0);
- $269 = $b;
- $arrayidx331 = (($lowE330) + ($269<<2)|0);
- $270 = +HEAPF32[$arrayidx331>>2];
- $add332 = $270 + 1.0;
- $cmp333 = $267 < $add332;
- if ($cmp333) {
- $271 = $tonal$addr;
- $highE336 = ((($271)) + 6492|0);
- $272 = $b;
- $arrayidx337 = (($highE336) + ($272<<2)|0);
- $273 = +HEAPF32[$arrayidx337>>2];
- $add338 = $273 + 0.5;
- HEAPF32[$arrayidx337>>2] = $add338;
- $274 = $tonal$addr;
- $lowE339 = ((($274)) + 6420|0);
- $275 = $b;
- $arrayidx340 = (($lowE339) + ($275<<2)|0);
- $276 = +HEAPF32[$arrayidx340>>2];
- $sub341 = $276 - 0.5;
- HEAPF32[$arrayidx340>>2] = $sub341;
- }
- $277 = $b;
- $arrayidx343 = (($logE) + ($277<<2)|0);
- $278 = +HEAPF32[$arrayidx343>>2];
- $279 = $tonal$addr;
- $lowE344 = ((($279)) + 6420|0);
- $280 = $b;
- $arrayidx345 = (($lowE344) + ($280<<2)|0);
- $281 = +HEAPF32[$arrayidx345>>2];
- $sub346 = $278 - $281;
- $282 = $tonal$addr;
- $highE347 = ((($282)) + 6492|0);
- $283 = $b;
- $arrayidx348 = (($highE347) + ($283<<2)|0);
- $284 = +HEAPF32[$arrayidx348>>2];
- $add349 = 1.0000000036274937E-15 + $284;
- $285 = $tonal$addr;
- $lowE350 = ((($285)) + 6420|0);
- $286 = $b;
- $arrayidx351 = (($lowE350) + ($286<<2)|0);
- $287 = +HEAPF32[$arrayidx351>>2];
- $sub352 = $add349 - $287;
- $div353 = $sub346 / $sub352;
- $288 = $relativeE;
- $add354 = $288 + $div353;
- $relativeE = $add354;
- $L2 = 0.0;
- $L1 = 0.0;
- $i = 0;
- while(1) {
- $289 = $i;
- $cmp356 = ($289|0)<(8);
- if (!($cmp356)) {
- break;
- }
- $290 = $tonal$addr;
- $E359 = ((($290)) + 5844|0);
- $291 = $i;
- $arrayidx360 = (($E359) + (($291*72)|0)|0);
- $292 = $b;
- $arrayidx361 = (($arrayidx360) + ($292<<2)|0);
- $293 = +HEAPF32[$arrayidx361>>2];
- $conv362 = $293;
- $call363 = (+Math_sqrt((+$conv362)));
- $conv364 = $call363;
- $294 = $L1;
- $add365 = $294 + $conv364;
- $L1 = $add365;
- $295 = $tonal$addr;
- $E366 = ((($295)) + 5844|0);
- $296 = $i;
- $arrayidx367 = (($E366) + (($296*72)|0)|0);
- $297 = $b;
- $arrayidx368 = (($arrayidx367) + ($297<<2)|0);
- $298 = +HEAPF32[$arrayidx368>>2];
- $299 = $L2;
- $add369 = $299 + $298;
- $L2 = $add369;
- $300 = $i;
- $inc371 = (($300) + 1)|0;
- $i = $inc371;
- }
- $301 = $L1;
- $302 = $L2;
- $mul373 = 8.0 * $302;
- $conv374 = $mul373;
- $add375 = 1.0000000000000001E-15 + $conv374;
- $call376 = (+Math_sqrt((+$add375)));
- $conv377 = $call376;
- $div378 = $301 / $conv377;
- $cmp379 = 0.99000000953674316 < $div378;
- if ($cmp379) {
- $cond390 = 0.99000000953674316;
- } else {
- $303 = $L1;
- $304 = $L2;
- $mul383 = 8.0 * $304;
- $conv384 = $mul383;
- $add385 = 1.0000000000000001E-15 + $conv384;
- $call386 = (+Math_sqrt((+$add385)));
- $conv387 = $call386;
- $div388 = $303 / $conv387;
- $cond390 = $div388;
- }
- $stationarity = $cond390;
- $305 = $stationarity;
- $306 = $stationarity;
- $mul391 = $306 * $305;
- $stationarity = $mul391;
- $307 = $stationarity;
- $308 = $stationarity;
- $mul392 = $308 * $307;
- $stationarity = $mul392;
- $309 = $stationarity;
- $310 = $frame_stationarity;
- $add393 = $310 + $309;
- $frame_stationarity = $add393;
- $311 = $tE;
- $312 = $E;
- $add394 = 1.0000000036274937E-15 + $312;
- $div395 = $311 / $add394;
- $313 = $stationarity;
- $314 = $tonal$addr;
- $prev_band_tonality = ((($314)) + 5768|0);
- $315 = $b;
- $arrayidx396 = (($prev_band_tonality) + ($315<<2)|0);
- $316 = +HEAPF32[$arrayidx396>>2];
- $mul397 = $313 * $316;
- $cmp398 = $div395 > $mul397;
- if ($cmp398) {
- $317 = $tE;
- $318 = $E;
- $add401 = 1.0000000036274937E-15 + $318;
- $div402 = $317 / $add401;
- $cond408 = $div402;
- } else {
- $319 = $stationarity;
- $320 = $tonal$addr;
- $prev_band_tonality404 = ((($320)) + 5768|0);
- $321 = $b;
- $arrayidx405 = (($prev_band_tonality404) + ($321<<2)|0);
- $322 = +HEAPF32[$arrayidx405>>2];
- $mul406 = $319 * $322;
- $cond408 = $mul406;
- }
- $323 = $b;
- $arrayidx409 = (($band_tonality) + ($323<<2)|0);
- HEAPF32[$arrayidx409>>2] = $cond408;
- $324 = $b;
- $arrayidx410 = (($band_tonality) + ($324<<2)|0);
- $325 = +HEAPF32[$arrayidx410>>2];
- $326 = $frame_tonality;
- $add411 = $326 + $325;
- $frame_tonality = $add411;
- $327 = $b;
- $cmp412 = ($327|0)>=(9);
- if ($cmp412) {
- $328 = $b;
- $sub415 = (($328) - 18)|0;
- $add416 = (($sub415) + 9)|0;
- $arrayidx417 = (($band_tonality) + ($add416<<2)|0);
- $329 = +HEAPF32[$arrayidx417>>2];
- $330 = $frame_tonality;
- $sub418 = $330 - $329;
- $frame_tonality = $sub418;
- }
- $331 = $max_frame_tonality;
- $332 = $b;
- $sub420 = (($332) - 18)|0;
- $conv421 = (+($sub420|0));
- $mul422 = 0.029999999329447746 * $conv421;
- $add423 = 1.0 + $mul422;
- $333 = $frame_tonality;
- $mul424 = $add423 * $333;
- $cmp425 = $331 > $mul424;
- if ($cmp425) {
- $334 = $max_frame_tonality;
- $cond435 = $334;
- } else {
- $335 = $b;
- $sub429 = (($335) - 18)|0;
- $conv430 = (+($sub429|0));
- $mul431 = 0.029999999329447746 * $conv430;
- $add432 = 1.0 + $mul431;
- $336 = $frame_tonality;
- $mul433 = $add432 * $336;
- $cond435 = $mul433;
- }
- $max_frame_tonality = $cond435;
- $337 = $b;
- $arrayidx436 = (($band_tonality) + ($337<<2)|0);
- $338 = +HEAPF32[$arrayidx436>>2];
- $339 = $b;
- $sub437 = (($339) - 8)|0;
- $conv438 = (+($sub437|0));
- $mul439 = $338 * $conv438;
- $340 = $slope;
- $add440 = $340 + $mul439;
- $slope = $add440;
- $341 = $b;
- $arrayidx441 = (($band_tonality) + ($341<<2)|0);
- $342 = +HEAPF32[$arrayidx441>>2];
- $343 = $tonal$addr;
- $prev_band_tonality442 = ((($343)) + 5768|0);
- $344 = $b;
- $arrayidx443 = (($prev_band_tonality442) + ($344<<2)|0);
- HEAPF32[$arrayidx443>>2] = $342;
- $345 = $b;
- $inc445 = (($345) + 1)|0;
- $b = $inc445;
- }
- if ((label|0) == 37) {
- $228 = $info;
- HEAP32[$228>>2] = 0;
- STACKTOP = sp;return;
- }
- $bandwidth_mask = 0.0;
- $bandwidth = 0;
- $maxE = 0.0;
- $346 = $lsb_depth$addr;
- $sub447 = (($346) - 8)|0;
- $cmp448 = (0)>($sub447|0);
- $347 = $lsb_depth$addr;
- $sub452 = (($347) - 8)|0;
- $cond454 = $cmp448 ? 0 : $sub452;
- $shl = 1 << $cond454;
- $conv455 = (+($shl|0));
- $div456 = 5.6999997468665242E-4 / $conv455;
- $noise_floor = $div456;
- $348 = $noise_floor;
- $349 = $noise_floor;
- $mul457 = $349 * $348;
- $noise_floor = $mul457;
- $b = 0;
- while(1) {
- $350 = $b;
- $cmp459 = ($350|0)<(21);
- if (!($cmp459)) {
- break;
- }
- $E462 = 0.0;
- $351 = $b;
- $arrayidx463 = (1268 + ($351<<2)|0);
- $352 = HEAP32[$arrayidx463>>2]|0;
- $band_start = $352;
- $353 = $b;
- $add464 = (($353) + 1)|0;
- $arrayidx465 = (1268 + ($add464<<2)|0);
- $354 = HEAP32[$arrayidx465>>2]|0;
- $band_end = $354;
- $355 = $band_start;
- $i = $355;
- while(1) {
- $356 = $i;
- $357 = $band_end;
- $cmp467 = ($356|0)<($357|0);
- if (!($cmp467)) {
- break;
- }
- $358 = $i;
- $arrayidx471 = (($out) + ($358<<3)|0);
- $359 = +HEAPF32[$arrayidx471>>2];
- $360 = $i;
- $arrayidx473 = (($out) + ($360<<3)|0);
- $361 = +HEAPF32[$arrayidx473>>2];
- $mul475 = $359 * $361;
- $362 = $N;
- $363 = $i;
- $sub476 = (($362) - ($363))|0;
- $arrayidx477 = (($out) + ($sub476<<3)|0);
- $364 = +HEAPF32[$arrayidx477>>2];
- $365 = $N;
- $366 = $i;
- $sub479 = (($365) - ($366))|0;
- $arrayidx480 = (($out) + ($sub479<<3)|0);
- $367 = +HEAPF32[$arrayidx480>>2];
- $mul482 = $364 * $367;
- $add483 = $mul475 + $mul482;
- $368 = $i;
- $arrayidx484 = (($out) + ($368<<3)|0);
- $i485 = ((($arrayidx484)) + 4|0);
- $369 = +HEAPF32[$i485>>2];
- $370 = $i;
- $arrayidx486 = (($out) + ($370<<3)|0);
- $i487 = ((($arrayidx486)) + 4|0);
- $371 = +HEAPF32[$i487>>2];
- $mul488 = $369 * $371;
- $add489 = $add483 + $mul488;
- $372 = $N;
- $373 = $i;
- $sub490 = (($372) - ($373))|0;
- $arrayidx491 = (($out) + ($sub490<<3)|0);
- $i492 = ((($arrayidx491)) + 4|0);
- $374 = +HEAPF32[$i492>>2];
- $375 = $N;
- $376 = $i;
- $sub493 = (($375) - ($376))|0;
- $arrayidx494 = (($out) + ($sub493<<3)|0);
- $i495 = ((($arrayidx494)) + 4|0);
- $377 = +HEAPF32[$i495>>2];
- $mul496 = $374 * $377;
- $add497 = $add489 + $mul496;
- $binE470 = $add497;
- $378 = $binE470;
- $379 = $E462;
- $add498 = $379 + $378;
- $E462 = $add498;
- $380 = $i;
- $inc500 = (($380) + 1)|0;
- $i = $inc500;
- }
- $381 = $maxE;
- $382 = $E462;
- $cmp502 = $381 > $382;
- $383 = $maxE;
- $384 = $E462;
- $cond507 = $cmp502 ? $383 : $384;
- $maxE = $cond507;
- $385 = $alphaE2;
- $sub508 = 1.0 - $385;
- $386 = $tonal$addr;
- $meanE = ((($386)) + 6564|0);
- $387 = $b;
- $arrayidx509 = (($meanE) + ($387<<2)|0);
- $388 = +HEAPF32[$arrayidx509>>2];
- $mul510 = $sub508 * $388;
- $389 = $E462;
- $cmp511 = $mul510 > $389;
- if ($cmp511) {
- $390 = $alphaE2;
- $sub514 = 1.0 - $390;
- $391 = $tonal$addr;
- $meanE515 = ((($391)) + 6564|0);
- $392 = $b;
- $arrayidx516 = (($meanE515) + ($392<<2)|0);
- $393 = +HEAPF32[$arrayidx516>>2];
- $mul517 = $sub514 * $393;
- $cond520 = $mul517;
- } else {
- $394 = $E462;
- $cond520 = $394;
- }
- $395 = $tonal$addr;
- $meanE521 = ((($395)) + 6564|0);
- $396 = $b;
- $arrayidx522 = (($meanE521) + ($396<<2)|0);
- HEAPF32[$arrayidx522>>2] = $cond520;
- $397 = $E462;
- $398 = $tonal$addr;
- $meanE523 = ((($398)) + 6564|0);
- $399 = $b;
- $arrayidx524 = (($meanE523) + ($399<<2)|0);
- $400 = +HEAPF32[$arrayidx524>>2];
- $cmp525 = $397 > $400;
- if ($cmp525) {
- $401 = $E462;
- $cond532 = $401;
- } else {
- $402 = $tonal$addr;
- $meanE529 = ((($402)) + 6564|0);
- $403 = $b;
- $arrayidx530 = (($meanE529) + ($403<<2)|0);
- $404 = +HEAPF32[$arrayidx530>>2];
- $cond532 = $404;
- }
- $E462 = $cond532;
- $405 = $bandwidth_mask;
- $mul533 = 0.05000000074505806 * $405;
- $406 = $E462;
- $cmp534 = $mul533 > $406;
- $407 = $bandwidth_mask;
- $mul537 = 0.05000000074505806 * $407;
- $408 = $E462;
- $cond540 = $cmp534 ? $mul537 : $408;
- $bandwidth_mask = $cond540;
- $409 = $E462;
- $conv541 = $409;
- $410 = $bandwidth_mask;
- $conv542 = $410;
- $mul543 = 0.10000000000000001 * $conv542;
- $cmp544 = $conv541 > $mul543;
- if ($cmp544) {
- $411 = $E462;
- $mul546 = $411 * 1.0E+9;
- $412 = $maxE;
- $cmp547 = $mul546 > $412;
- if ($cmp547) {
- $413 = $E462;
- $414 = $noise_floor;
- $415 = $band_end;
- $416 = $band_start;
- $sub550 = (($415) - ($416))|0;
- $conv551 = (+($sub550|0));
- $mul552 = $414 * $conv551;
- $cmp553 = $413 > $mul552;
- if ($cmp553) {
- $417 = $b;
- $bandwidth = $417;
- }
- }
- }
- $418 = $b;
- $inc558 = (($418) + 1)|0;
- $b = $inc558;
- }
- $419 = $tonal$addr;
- $count560 = ((($419)) + 6868|0);
- $420 = HEAP32[$count560>>2]|0;
- $cmp561 = ($420|0)<=(2);
- if ($cmp561) {
- $bandwidth = 20;
- }
- $421 = $frame_loudness;
- $conv565 = $421;
- $call566 = (+_log10($conv565));
- $conv567 = $call566;
- $mul568 = 20.0 * $conv567;
- $frame_loudness = $mul568;
- $422 = $tonal$addr;
- $Etracker = ((($422)) + 6848|0);
- $423 = +HEAPF32[$Etracker>>2];
- $sub569 = $423 - 0.029999999329447746;
- $424 = $frame_loudness;
- $cmp570 = $sub569 > $424;
- if ($cmp570) {
- $425 = $tonal$addr;
- $Etracker573 = ((($425)) + 6848|0);
- $426 = +HEAPF32[$Etracker573>>2];
- $sub574 = $426 - 0.029999999329447746;
- $cond577 = $sub574;
- } else {
- $427 = $frame_loudness;
- $cond577 = $427;
- }
- $428 = $tonal$addr;
- $Etracker578 = ((($428)) + 6848|0);
- HEAPF32[$Etracker578>>2] = $cond577;
- $429 = $alphaE;
- $sub579 = 1.0 - $429;
- $430 = $tonal$addr;
- $lowECount = ((($430)) + 6852|0);
- $431 = +HEAPF32[$lowECount>>2];
- $mul580 = $431 * $sub579;
- HEAPF32[$lowECount>>2] = $mul580;
- $432 = $frame_loudness;
- $433 = $tonal$addr;
- $Etracker581 = ((($433)) + 6848|0);
- $434 = +HEAPF32[$Etracker581>>2];
- $sub582 = $434 - 30.0;
- $cmp583 = $432 < $sub582;
- if ($cmp583) {
- $435 = $alphaE;
- $436 = $tonal$addr;
- $lowECount586 = ((($436)) + 6852|0);
- $437 = +HEAPF32[$lowECount586>>2];
- $add587 = $437 + $435;
- HEAPF32[$lowECount586>>2] = $add587;
- }
- $i = 0;
- while(1) {
- $438 = $i;
- $cmp590 = ($438|0)<(8);
- if (!($cmp590)) {
- break;
- }
- $sum = 0.0;
- $b = 0;
- while(1) {
- $439 = $b;
- $cmp594 = ($439|0)<(16);
- if (!($cmp594)) {
- break;
- }
- $440 = $i;
- $mul597 = $440<<4;
- $441 = $b;
- $add598 = (($mul597) + ($441))|0;
- $arrayidx599 = (1356 + ($add598<<2)|0);
- $442 = +HEAPF32[$arrayidx599>>2];
- $443 = $b;
- $arrayidx600 = (($logE) + ($443<<2)|0);
- $444 = +HEAPF32[$arrayidx600>>2];
- $mul601 = $442 * $444;
- $445 = $sum;
- $add602 = $445 + $mul601;
- $sum = $add602;
- $446 = $b;
- $inc604 = (($446) + 1)|0;
- $b = $inc604;
- }
- $447 = $sum;
- $448 = $i;
- $arrayidx606 = (($BFCC) + ($448<<2)|0);
- HEAPF32[$arrayidx606>>2] = $447;
- $449 = $i;
- $inc608 = (($449) + 1)|0;
- $i = $inc608;
- }
- $450 = $frame_stationarity;
- $div610 = $450 / 18.0;
- $frame_stationarity = $div610;
- $451 = $relativeE;
- $div611 = $451 / 18.0;
- $relativeE = $div611;
- $452 = $tonal$addr;
- $count612 = ((($452)) + 6868|0);
- $453 = HEAP32[$count612>>2]|0;
- $cmp613 = ($453|0)<(10);
- $$div611 = $cmp613 ? 0.5 : $div611;
- $relativeE = $$div611;
- $454 = $frame_noisiness;
- $div617 = $454 / 18.0;
- $frame_noisiness = $div617;
- $455 = $frame_noisiness;
- $456 = $frame_noisiness;
- $sub618 = 1.0 - $456;
- $457 = $relativeE;
- $mul619 = $sub618 * $457;
- $add620 = $455 + $mul619;
- $458 = $info;
- $activity621 = ((($458)) + 16|0);
- HEAPF32[$activity621>>2] = $add620;
- $459 = $max_frame_tonality;
- $div622 = $459 / 9.0;
- $frame_tonality = $div622;
- $460 = $frame_tonality;
- $461 = $tonal$addr;
- $prev_tonality = ((($461)) + 5840|0);
- $462 = +HEAPF32[$prev_tonality>>2];
- $mul623 = $462 * 0.80000001192092896;
- $cmp624 = $460 > $mul623;
- if ($cmp624) {
- $463 = $frame_tonality;
- $cond631 = $463;
- } else {
- $464 = $tonal$addr;
- $prev_tonality628 = ((($464)) + 5840|0);
- $465 = +HEAPF32[$prev_tonality628>>2];
- $mul629 = $465 * 0.80000001192092896;
- $cond631 = $mul629;
- }
- $frame_tonality = $cond631;
- $466 = $frame_tonality;
- $467 = $tonal$addr;
- $prev_tonality632 = ((($467)) + 5840|0);
- HEAPF32[$prev_tonality632>>2] = $466;
- $468 = $slope;
- $div633 = $468 / 64.0;
- $slope = $div633;
- $469 = $slope;
- $470 = $info;
- $tonality_slope = ((($470)) + 8|0);
- HEAPF32[$tonality_slope>>2] = $469;
- $471 = $tonal$addr;
- $E_count634 = ((($471)) + 6856|0);
- $472 = HEAP32[$E_count634>>2]|0;
- $add635 = (($472) + 1)|0;
- $rem = (($add635|0) % 8)&-1;
- $473 = $tonal$addr;
- $E_count636 = ((($473)) + 6856|0);
- HEAP32[$E_count636>>2] = $rem;
- $474 = $tonal$addr;
- $count637 = ((($474)) + 6868|0);
- $475 = HEAP32[$count637>>2]|0;
- $inc638 = (($475) + 1)|0;
- HEAP32[$count637>>2] = $inc638;
- $476 = $frame_tonality;
- $477 = $info;
- $tonality639 = ((($477)) + 4|0);
- HEAPF32[$tonality639>>2] = $476;
- $i = 0;
- while(1) {
- $478 = $i;
- $cmp641 = ($478|0)<(4);
- if (!($cmp641)) {
- break;
- }
- $479 = $i;
- $arrayidx644 = (($BFCC) + ($479<<2)|0);
- $480 = +HEAPF32[$arrayidx644>>2];
- $481 = $tonal$addr;
- $mem = ((($481)) + 6648|0);
- $482 = $i;
- $add645 = (($482) + 24)|0;
- $arrayidx646 = (($mem) + ($add645<<2)|0);
- $483 = +HEAPF32[$arrayidx646>>2];
- $add647 = $480 + $483;
- $mul648 = -0.12298999726772308 * $add647;
- $484 = $tonal$addr;
- $mem649 = ((($484)) + 6648|0);
- $485 = $i;
- $arrayidx650 = (($mem649) + ($485<<2)|0);
- $486 = +HEAPF32[$arrayidx650>>2];
- $487 = $tonal$addr;
- $mem651 = ((($487)) + 6648|0);
- $488 = $i;
- $add652 = (($488) + 16)|0;
- $arrayidx653 = (($mem651) + ($add652<<2)|0);
- $489 = +HEAPF32[$arrayidx653>>2];
- $add654 = $486 + $489;
- $mul655 = 0.49195000529289246 * $add654;
- $add656 = $mul648 + $mul655;
- $490 = $tonal$addr;
- $mem657 = ((($490)) + 6648|0);
- $491 = $i;
- $add658 = (($491) + 8)|0;
- $arrayidx659 = (($mem657) + ($add658<<2)|0);
- $492 = +HEAPF32[$arrayidx659>>2];
- $mul660 = 0.69692999124526978 * $492;
- $add661 = $add656 + $mul660;
- $493 = $tonal$addr;
- $cmean = ((($493)) + 6776|0);
- $494 = $i;
- $arrayidx662 = (($cmean) + ($494<<2)|0);
- $495 = +HEAPF32[$arrayidx662>>2];
- $mul663 = 1.4349000453948975 * $495;
- $sub664 = $add661 - $mul663;
- $496 = $i;
- $arrayidx665 = (($features) + ($496<<2)|0);
- HEAPF32[$arrayidx665>>2] = $sub664;
- $497 = $i;
- $inc667 = (($497) + 1)|0;
- $i = $inc667;
- }
- $i = 0;
- while(1) {
- $498 = $i;
- $cmp670 = ($498|0)<(4);
- if (!($cmp670)) {
- break;
- }
- $499 = $alpha;
- $sub673 = 1.0 - $499;
- $500 = $tonal$addr;
- $cmean674 = ((($500)) + 6776|0);
- $501 = $i;
- $arrayidx675 = (($cmean674) + ($501<<2)|0);
- $502 = +HEAPF32[$arrayidx675>>2];
- $mul676 = $sub673 * $502;
- $503 = $alpha;
- $504 = $i;
- $arrayidx677 = (($BFCC) + ($504<<2)|0);
- $505 = +HEAPF32[$arrayidx677>>2];
- $mul678 = $503 * $505;
- $add679 = $mul676 + $mul678;
- $506 = $tonal$addr;
- $cmean680 = ((($506)) + 6776|0);
- $507 = $i;
- $arrayidx681 = (($cmean680) + ($507<<2)|0);
- HEAPF32[$arrayidx681>>2] = $add679;
- $508 = $i;
- $inc683 = (($508) + 1)|0;
- $i = $inc683;
- }
- $i = 0;
- while(1) {
- $509 = $i;
- $cmp686 = ($509|0)<(4);
- if (!($cmp686)) {
- break;
- }
- $510 = $i;
- $arrayidx689 = (($BFCC) + ($510<<2)|0);
- $511 = +HEAPF32[$arrayidx689>>2];
- $512 = $tonal$addr;
- $mem690 = ((($512)) + 6648|0);
- $513 = $i;
- $add691 = (($513) + 24)|0;
- $arrayidx692 = (($mem690) + ($add691<<2)|0);
- $514 = +HEAPF32[$arrayidx692>>2];
- $sub693 = $511 - $514;
- $mul694 = 0.63245999813079834 * $sub693;
- $515 = $tonal$addr;
- $mem695 = ((($515)) + 6648|0);
- $516 = $i;
- $arrayidx696 = (($mem695) + ($516<<2)|0);
- $517 = +HEAPF32[$arrayidx696>>2];
- $518 = $tonal$addr;
- $mem697 = ((($518)) + 6648|0);
- $519 = $i;
- $add698 = (($519) + 16)|0;
- $arrayidx699 = (($mem697) + ($add698<<2)|0);
- $520 = +HEAPF32[$arrayidx699>>2];
- $sub700 = $517 - $520;
- $mul701 = 0.31622999906539917 * $sub700;
- $add702 = $mul694 + $mul701;
- $521 = $i;
- $add703 = (4 + ($521))|0;
- $arrayidx704 = (($features) + ($add703<<2)|0);
- HEAPF32[$arrayidx704>>2] = $add702;
- $522 = $i;
- $inc706 = (($522) + 1)|0;
- $i = $inc706;
- }
- $i = 0;
- while(1) {
- $523 = $i;
- $cmp709 = ($523|0)<(3);
- if (!($cmp709)) {
- break;
- }
- $524 = $i;
- $arrayidx712 = (($BFCC) + ($524<<2)|0);
- $525 = +HEAPF32[$arrayidx712>>2];
- $526 = $tonal$addr;
- $mem713 = ((($526)) + 6648|0);
- $527 = $i;
- $add714 = (($527) + 24)|0;
- $arrayidx715 = (($mem713) + ($add714<<2)|0);
- $528 = +HEAPF32[$arrayidx715>>2];
- $add716 = $525 + $528;
- $mul717 = 0.53451997041702271 * $add716;
- $529 = $tonal$addr;
- $mem718 = ((($529)) + 6648|0);
- $530 = $i;
- $arrayidx719 = (($mem718) + ($530<<2)|0);
- $531 = +HEAPF32[$arrayidx719>>2];
- $532 = $tonal$addr;
- $mem720 = ((($532)) + 6648|0);
- $533 = $i;
- $add721 = (($533) + 16)|0;
- $arrayidx722 = (($mem720) + ($add721<<2)|0);
- $534 = +HEAPF32[$arrayidx722>>2];
- $add723 = $531 + $534;
- $mul724 = 0.26725998520851135 * $add723;
- $sub725 = $mul717 - $mul724;
- $535 = $tonal$addr;
- $mem726 = ((($535)) + 6648|0);
- $536 = $i;
- $add727 = (($536) + 8)|0;
- $arrayidx728 = (($mem726) + ($add727<<2)|0);
- $537 = +HEAPF32[$arrayidx728>>2];
- $mul729 = 0.53451997041702271 * $537;
- $sub730 = $sub725 - $mul729;
- $538 = $i;
- $add731 = (8 + ($538))|0;
- $arrayidx732 = (($features) + ($add731<<2)|0);
- HEAPF32[$arrayidx732>>2] = $sub730;
- $539 = $i;
- $inc734 = (($539) + 1)|0;
- $i = $inc734;
- }
- $540 = $tonal$addr;
- $count736 = ((($540)) + 6868|0);
- $541 = HEAP32[$count736>>2]|0;
- $cmp737 = ($541|0)>(5);
- L146: do {
- if ($cmp737) {
- $i = 0;
- while(1) {
- $542 = $i;
- $cmp741 = ($542|0)<(9);
- if (!($cmp741)) {
- break L146;
- }
- $543 = $alpha;
- $sub744 = 1.0 - $543;
- $544 = $tonal$addr;
- $std = ((($544)) + 6808|0);
- $545 = $i;
- $arrayidx745 = (($std) + ($545<<2)|0);
- $546 = +HEAPF32[$arrayidx745>>2];
- $mul746 = $sub744 * $546;
- $547 = $alpha;
- $548 = $i;
- $arrayidx747 = (($features) + ($548<<2)|0);
- $549 = +HEAPF32[$arrayidx747>>2];
- $mul748 = $547 * $549;
- $550 = $i;
- $arrayidx749 = (($features) + ($550<<2)|0);
- $551 = +HEAPF32[$arrayidx749>>2];
- $mul750 = $mul748 * $551;
- $add751 = $mul746 + $mul750;
- $552 = $tonal$addr;
- $std752 = ((($552)) + 6808|0);
- $553 = $i;
- $arrayidx753 = (($std752) + ($553<<2)|0);
- HEAPF32[$arrayidx753>>2] = $add751;
- $554 = $i;
- $inc755 = (($554) + 1)|0;
- $i = $inc755;
- }
- }
- } while(0);
- $i = 0;
- while(1) {
- $555 = $i;
- $cmp759 = ($555|0)<(8);
- if (!($cmp759)) {
- break;
- }
- $556 = $tonal$addr;
- $mem762 = ((($556)) + 6648|0);
- $557 = $i;
- $add763 = (($557) + 16)|0;
- $arrayidx764 = (($mem762) + ($add763<<2)|0);
- $558 = +HEAPF32[$arrayidx764>>2];
- $559 = $tonal$addr;
- $mem765 = ((($559)) + 6648|0);
- $560 = $i;
- $add766 = (($560) + 24)|0;
- $arrayidx767 = (($mem765) + ($add766<<2)|0);
- HEAPF32[$arrayidx767>>2] = $558;
- $561 = $tonal$addr;
- $mem768 = ((($561)) + 6648|0);
- $562 = $i;
- $add769 = (($562) + 8)|0;
- $arrayidx770 = (($mem768) + ($add769<<2)|0);
- $563 = +HEAPF32[$arrayidx770>>2];
- $564 = $tonal$addr;
- $mem771 = ((($564)) + 6648|0);
- $565 = $i;
- $add772 = (($565) + 16)|0;
- $arrayidx773 = (($mem771) + ($add772<<2)|0);
- HEAPF32[$arrayidx773>>2] = $563;
- $566 = $tonal$addr;
- $mem774 = ((($566)) + 6648|0);
- $567 = $i;
- $arrayidx775 = (($mem774) + ($567<<2)|0);
- $568 = +HEAPF32[$arrayidx775>>2];
- $569 = $tonal$addr;
- $mem776 = ((($569)) + 6648|0);
- $570 = $i;
- $add777 = (($570) + 8)|0;
- $arrayidx778 = (($mem776) + ($add777<<2)|0);
- HEAPF32[$arrayidx778>>2] = $568;
- $571 = $i;
- $arrayidx779 = (($BFCC) + ($571<<2)|0);
- $572 = +HEAPF32[$arrayidx779>>2];
- $573 = $tonal$addr;
- $mem780 = ((($573)) + 6648|0);
- $574 = $i;
- $arrayidx781 = (($mem780) + ($574<<2)|0);
- HEAPF32[$arrayidx781>>2] = $572;
- $575 = $i;
- $inc783 = (($575) + 1)|0;
- $i = $inc783;
- }
- $i = 0;
- while(1) {
- $576 = $i;
- $cmp786 = ($576|0)<(9);
- if (!($cmp786)) {
- break;
- }
- $577 = $tonal$addr;
- $std789 = ((($577)) + 6808|0);
- $578 = $i;
- $arrayidx790 = (($std789) + ($578<<2)|0);
- $579 = +HEAPF32[$arrayidx790>>2];
- $conv791 = $579;
- $call792 = (+Math_sqrt((+$conv791)));
- $conv793 = $call792;
- $580 = $i;
- $add794 = (11 + ($580))|0;
- $arrayidx795 = (($features) + ($add794<<2)|0);
- HEAPF32[$arrayidx795>>2] = $conv793;
- $581 = $i;
- $inc797 = (($581) + 1)|0;
- $i = $inc797;
- }
- $582 = $info;
- $tonality799 = ((($582)) + 4|0);
- $583 = +HEAPF32[$tonality799>>2];
- $arrayidx800 = ((($features)) + 80|0);
- HEAPF32[$arrayidx800>>2] = $583;
- $584 = $info;
- $activity801 = ((($584)) + 16|0);
- $585 = +HEAPF32[$activity801>>2];
- $arrayidx802 = ((($features)) + 84|0);
- HEAPF32[$arrayidx802>>2] = $585;
- $586 = $frame_stationarity;
- $arrayidx803 = ((($features)) + 88|0);
- HEAPF32[$arrayidx803>>2] = $586;
- $587 = $info;
- $tonality_slope804 = ((($587)) + 8|0);
- $588 = +HEAPF32[$tonality_slope804>>2];
- $arrayidx805 = ((($features)) + 92|0);
- HEAPF32[$arrayidx805>>2] = $588;
- $589 = $tonal$addr;
- $lowECount806 = ((($589)) + 6852|0);
- $590 = +HEAPF32[$lowECount806>>2];
- $arrayidx807 = ((($features)) + 96|0);
- HEAPF32[$arrayidx807>>2] = $590;
- _mlp_process(2672,$features,$frame_probs);
- $591 = +HEAPF32[$frame_probs>>2];
- $add811 = $591 + 1.0;
- $mul812 = 0.5 * $add811;
- HEAPF32[$frame_probs>>2] = $mul812;
- $592 = +HEAPF32[$frame_probs>>2];
- $mul815 = 1.2100000381469727 * $592;
- $593 = +HEAPF32[$frame_probs>>2];
- $mul817 = $mul815 * $593;
- $add818 = 0.0099999997764825821 + $mul817;
- $594 = +HEAPF32[$frame_probs>>2];
- $conv820 = $594;
- $595 = (+Math_pow((+$conv820),10.0));
- $conv821 = $595;
- $mul822 = 0.23000000417232513 * $conv821;
- $sub823 = $add818 - $mul822;
- HEAPF32[$frame_probs>>2] = $sub823;
- $arrayidx825 = ((($frame_probs)) + 4|0);
- $596 = +HEAPF32[$arrayidx825>>2];
- $mul826 = 0.5 * $596;
- $add827 = $mul826 + 0.5;
- $arrayidx828 = ((($frame_probs)) + 4|0);
- HEAPF32[$arrayidx828>>2] = $add827;
- $arrayidx829 = ((($frame_probs)) + 4|0);
- $597 = +HEAPF32[$arrayidx829>>2];
- $598 = +HEAPF32[$frame_probs>>2];
- $mul831 = $597 * $598;
- $arrayidx832 = ((($frame_probs)) + 4|0);
- $599 = +HEAPF32[$arrayidx832>>2];
- $sub833 = 1.0 - $599;
- $mul834 = $sub833 * 0.5;
- $add835 = $mul831 + $mul834;
- HEAPF32[$frame_probs>>2] = $add835;
- $arrayidx837 = ((($frame_probs)) + 4|0);
- $600 = +HEAPF32[$arrayidx837>>2];
- $mul838 = 4.9999998736893758E-5 * $600;
- $tau = $mul838;
- $beta = 0.05000000074505806;
- $601 = +HEAPF32[$frame_probs>>2];
- $cmp840 = 0.94999998807907104 < $601;
- $602 = +HEAPF32[$frame_probs>>2];
- $cond846 = $cmp840 ? 0.94999998807907104 : $602;
- $cmp847 = 0.05000000074505806 > $cond846;
- if ($cmp847) {
- $cond860 = 0.05000000074505806;
- } else {
- $603 = +HEAPF32[$frame_probs>>2];
- $cmp852 = 0.94999998807907104 < $603;
- $604 = +HEAPF32[$frame_probs>>2];
- $cond858 = $cmp852 ? 0.94999998807907104 : $604;
- $cond860 = $cond858;
- }
- $p = $cond860;
- $605 = $tonal$addr;
- $music_prob861 = ((($605)) + 6844|0);
- $606 = +HEAPF32[$music_prob861>>2];
- $cmp862 = 0.94999998807907104 < $606;
- if ($cmp862) {
- $cond868 = 0.94999998807907104;
- } else {
- $607 = $tonal$addr;
- $music_prob866 = ((($607)) + 6844|0);
- $608 = +HEAPF32[$music_prob866>>2];
- $cond868 = $608;
- }
- $cmp869 = 0.05000000074505806 > $cond868;
- if ($cmp869) {
- $cond882 = 0.05000000074505806;
- } else {
- $609 = $tonal$addr;
- $music_prob873 = ((($609)) + 6844|0);
- $610 = +HEAPF32[$music_prob873>>2];
- $cmp874 = 0.94999998807907104 < $610;
- if ($cmp874) {
- $cond882 = 0.94999998807907104;
- } else {
- $611 = $tonal$addr;
- $music_prob878 = ((($611)) + 6844|0);
- $612 = +HEAPF32[$music_prob878>>2];
- $cond882 = $612;
- }
- }
- $q = $cond882;
- $613 = $p;
- $614 = $q;
- $sub883 = $613 - $614;
- $conv884 = $sub883;
- $call885 = (+Math_abs((+$conv884)));
- $conv886 = $call885;
- $mul887 = 0.05000000074505806 * $conv886;
- $615 = $p;
- $616 = $q;
- $sub888 = 1.0 - $616;
- $mul889 = $615 * $sub888;
- $617 = $q;
- $618 = $p;
- $sub890 = 1.0 - $618;
- $mul891 = $617 * $sub890;
- $add892 = $mul889 + $mul891;
- $div893 = $mul887 / $add892;
- $add894 = 0.0099999997764825821 + $div893;
- $beta = $add894;
- $619 = $tonal$addr;
- $music_prob895 = ((($619)) + 6844|0);
- $620 = +HEAPF32[$music_prob895>>2];
- $sub896 = 1.0 - $620;
- $621 = $tau;
- $sub897 = 1.0 - $621;
- $mul898 = $sub896 * $sub897;
- $622 = $tonal$addr;
- $music_prob899 = ((($622)) + 6844|0);
- $623 = +HEAPF32[$music_prob899>>2];
- $624 = $tau;
- $mul900 = $623 * $624;
- $add901 = $mul898 + $mul900;
- $p0 = $add901;
- $625 = $tonal$addr;
- $music_prob902 = ((($625)) + 6844|0);
- $626 = +HEAPF32[$music_prob902>>2];
- $627 = $tau;
- $sub903 = 1.0 - $627;
- $mul904 = $626 * $sub903;
- $628 = $tonal$addr;
- $music_prob905 = ((($628)) + 6844|0);
- $629 = +HEAPF32[$music_prob905>>2];
- $sub906 = 1.0 - $629;
- $630 = $tau;
- $mul907 = $sub906 * $630;
- $add908 = $mul904 + $mul907;
- $p1 = $add908;
- $631 = +HEAPF32[$frame_probs>>2];
- $sub910 = 1.0 - $631;
- $conv911 = $sub910;
- $632 = $beta;
- $conv912 = $632;
- $633 = (+Math_pow((+$conv911),(+$conv912)));
- $conv913 = $633;
- $634 = $p0;
- $mul914 = $634 * $conv913;
- $p0 = $mul914;
- $635 = +HEAPF32[$frame_probs>>2];
- $conv916 = $635;
- $636 = $beta;
- $conv917 = $636;
- $637 = (+Math_pow((+$conv916),(+$conv917)));
- $conv918 = $637;
- $638 = $p1;
- $mul919 = $638 * $conv918;
- $p1 = $mul919;
- $639 = $p1;
- $640 = $p0;
- $641 = $p1;
- $add920 = $640 + $641;
- $div921 = $639 / $add920;
- $642 = $tonal$addr;
- $music_prob922 = ((($642)) + 6844|0);
- HEAPF32[$music_prob922>>2] = $div921;
- $643 = $tonal$addr;
- $music_prob923 = ((($643)) + 6844|0);
- $644 = +HEAPF32[$music_prob923>>2];
- $645 = $info;
- $music_prob924 = ((($645)) + 20|0);
- HEAPF32[$music_prob924>>2] = $644;
- $psum = 9.9999996826552254E-21;
- $646 = +HEAPF32[$frame_probs>>2];
- $sub926 = 1.0 - $646;
- $conv927 = $sub926;
- $647 = $beta;
- $conv928 = $647;
- $648 = (+Math_pow((+$conv927),(+$conv928)));
- $conv929 = $648;
- $speech0 = $conv929;
- $649 = +HEAPF32[$frame_probs>>2];
- $conv931 = $649;
- $650 = $beta;
- $conv932 = $650;
- $651 = (+Math_pow((+$conv931),(+$conv932)));
- $conv933 = $651;
- $music0 = $conv933;
- $652 = $tonal$addr;
- $count934 = ((($652)) + 6868|0);
- $653 = HEAP32[$count934>>2]|0;
- $cmp935 = ($653|0)==(1);
- if ($cmp935) {
- $654 = $tonal$addr;
- $pspeech = ((($654)) + 6888|0);
- HEAPF32[$pspeech>>2] = 0.5;
- $655 = $tonal$addr;
- $pmusic = ((($655)) + 7688|0);
- HEAPF32[$pmusic>>2] = 0.5;
- }
- $656 = $tonal$addr;
- $pspeech941 = ((($656)) + 6888|0);
- $657 = +HEAPF32[$pspeech941>>2];
- $658 = $tonal$addr;
- $pspeech943 = ((($658)) + 6888|0);
- $arrayidx944 = ((($pspeech943)) + 4|0);
- $659 = +HEAPF32[$arrayidx944>>2];
- $add945 = $657 + $659;
- $s0 = $add945;
- $660 = $tonal$addr;
- $pmusic946 = ((($660)) + 7688|0);
- $661 = +HEAPF32[$pmusic946>>2];
- $662 = $tonal$addr;
- $pmusic948 = ((($662)) + 7688|0);
- $arrayidx949 = ((($pmusic948)) + 4|0);
- $663 = +HEAPF32[$arrayidx949>>2];
- $add950 = $661 + $663;
- $m0 = $add950;
- $664 = $s0;
- $665 = $tau;
- $sub951 = 1.0 - $665;
- $mul952 = $664 * $sub951;
- $666 = $speech0;
- $mul953 = $mul952 * $666;
- $667 = $tonal$addr;
- $pspeech954 = ((($667)) + 6888|0);
- HEAPF32[$pspeech954>>2] = $mul953;
- $668 = $m0;
- $669 = $tau;
- $sub956 = 1.0 - $669;
- $mul957 = $668 * $sub956;
- $670 = $music0;
- $mul958 = $mul957 * $670;
- $671 = $tonal$addr;
- $pmusic959 = ((($671)) + 7688|0);
- HEAPF32[$pmusic959>>2] = $mul958;
- $i = 1;
- while(1) {
- $672 = $i;
- $cmp962 = ($672|0)<(199);
- if (!($cmp962)) {
- break;
- }
- $673 = $tonal$addr;
- $pspeech965 = ((($673)) + 6888|0);
- $674 = $i;
- $add966 = (($674) + 1)|0;
- $arrayidx967 = (($pspeech965) + ($add966<<2)|0);
- $675 = +HEAPF32[$arrayidx967>>2];
- $676 = $speech0;
- $mul968 = $675 * $676;
- $677 = $tonal$addr;
- $pspeech969 = ((($677)) + 6888|0);
- $678 = $i;
- $arrayidx970 = (($pspeech969) + ($678<<2)|0);
- HEAPF32[$arrayidx970>>2] = $mul968;
- $679 = $tonal$addr;
- $pmusic971 = ((($679)) + 7688|0);
- $680 = $i;
- $add972 = (($680) + 1)|0;
- $arrayidx973 = (($pmusic971) + ($add972<<2)|0);
- $681 = +HEAPF32[$arrayidx973>>2];
- $682 = $music0;
- $mul974 = $681 * $682;
- $683 = $tonal$addr;
- $pmusic975 = ((($683)) + 7688|0);
- $684 = $i;
- $arrayidx976 = (($pmusic975) + ($684<<2)|0);
- HEAPF32[$arrayidx976>>2] = $mul974;
- $685 = $i;
- $inc978 = (($685) + 1)|0;
- $i = $inc978;
- }
- $686 = $m0;
- $687 = $tau;
- $mul980 = $686 * $687;
- $688 = $speech0;
- $mul981 = $mul980 * $688;
- $689 = $tonal$addr;
- $pspeech982 = ((($689)) + 6888|0);
- $arrayidx983 = ((($pspeech982)) + 796|0);
- HEAPF32[$arrayidx983>>2] = $mul981;
- $690 = $s0;
- $691 = $tau;
- $mul984 = $690 * $691;
- $692 = $music0;
- $mul985 = $mul984 * $692;
- $693 = $tonal$addr;
- $pmusic986 = ((($693)) + 7688|0);
- $arrayidx987 = ((($pmusic986)) + 796|0);
- HEAPF32[$arrayidx987>>2] = $mul985;
- $i = 0;
- while(1) {
- $694 = $i;
- $cmp989 = ($694|0)<(200);
- if (!($cmp989)) {
- break;
- }
- $695 = $tonal$addr;
- $pspeech992 = ((($695)) + 6888|0);
- $696 = $i;
- $arrayidx993 = (($pspeech992) + ($696<<2)|0);
- $697 = +HEAPF32[$arrayidx993>>2];
- $698 = $tonal$addr;
- $pmusic994 = ((($698)) + 7688|0);
- $699 = $i;
- $arrayidx995 = (($pmusic994) + ($699<<2)|0);
- $700 = +HEAPF32[$arrayidx995>>2];
- $add996 = $697 + $700;
- $701 = $psum;
- $add997 = $701 + $add996;
- $psum = $add997;
- $702 = $i;
- $inc999 = (($702) + 1)|0;
- $i = $inc999;
- }
- $703 = $psum;
- $div1001 = 1.0 / $703;
- $psum = $div1001;
- $i = 0;
- while(1) {
- $704 = $i;
- $cmp1003 = ($704|0)<(200);
- if (!($cmp1003)) {
- break;
- }
- $705 = $psum;
- $706 = $tonal$addr;
- $pspeech1006 = ((($706)) + 6888|0);
- $707 = $i;
- $arrayidx1007 = (($pspeech1006) + ($707<<2)|0);
- $708 = +HEAPF32[$arrayidx1007>>2];
- $mul1008 = $708 * $705;
- HEAPF32[$arrayidx1007>>2] = $mul1008;
- $709 = $psum;
- $710 = $tonal$addr;
- $pmusic1009 = ((($710)) + 7688|0);
- $711 = $i;
- $arrayidx1010 = (($pmusic1009) + ($711<<2)|0);
- $712 = +HEAPF32[$arrayidx1010>>2];
- $mul1011 = $712 * $709;
- HEAPF32[$arrayidx1010>>2] = $mul1011;
- $713 = $i;
- $inc1013 = (($713) + 1)|0;
- $i = $inc1013;
- }
- $714 = $tonal$addr;
- $pmusic1015 = ((($714)) + 7688|0);
- $715 = +HEAPF32[$pmusic1015>>2];
- $psum = $715;
- $i = 1;
- while(1) {
- $716 = $i;
- $cmp1018 = ($716|0)<(200);
- if (!($cmp1018)) {
- break;
- }
- $717 = $tonal$addr;
- $pspeech1021 = ((($717)) + 6888|0);
- $718 = $i;
- $arrayidx1022 = (($pspeech1021) + ($718<<2)|0);
- $719 = +HEAPF32[$arrayidx1022>>2];
- $720 = $psum;
- $add1023 = $720 + $719;
- $psum = $add1023;
- $721 = $i;
- $inc1025 = (($721) + 1)|0;
- $i = $inc1025;
- }
- $arrayidx1027 = ((($frame_probs)) + 4|0);
- $722 = +HEAPF32[$arrayidx1027>>2];
- $conv1028 = $722;
- $cmp1029 = $conv1028 > 0.75;
- $723 = $tonal$addr;
- do {
- if ($cmp1029) {
- $music_prob1032 = ((($723)) + 6844|0);
- $724 = +HEAPF32[$music_prob1032>>2];
- $conv1033 = $724;
- $cmp1034 = $conv1033 > 0.90000000000000002;
- if ($cmp1034) {
- $725 = $tonal$addr;
- $music_confidence_count = ((($725)) + 8500|0);
- $726 = HEAP32[$music_confidence_count>>2]|0;
- $inc1037 = (($726) + 1)|0;
- HEAP32[$music_confidence_count>>2] = $inc1037;
- $conv1038 = (+($inc1037|0));
- $div1039 = 1.0 / $conv1038;
- $adapt = $div1039;
- $727 = $tonal$addr;
- $music_confidence_count1040 = ((($727)) + 8500|0);
- $728 = HEAP32[$music_confidence_count1040>>2]|0;
- $cmp1041 = ($728|0)<(500);
- if ($cmp1041) {
- $729 = $tonal$addr;
- $music_confidence_count1044 = ((($729)) + 8500|0);
- $730 = HEAP32[$music_confidence_count1044>>2]|0;
- $cond1047 = $730;
- } else {
- $cond1047 = 500;
- }
- $731 = $tonal$addr;
- $music_confidence_count1048 = ((($731)) + 8500|0);
- HEAP32[$music_confidence_count1048>>2] = $cond1047;
- $732 = $adapt;
- $733 = +HEAPF32[$frame_probs>>2];
- $734 = $tonal$addr;
- $music_confidence = ((($734)) + 8492|0);
- $735 = +HEAPF32[$music_confidence>>2];
- $sub1050 = $733 - $735;
- $cmp1051 = -0.20000000298023224 > $sub1050;
- if ($cmp1051) {
- $cond1059 = -0.20000000298023224;
- } else {
- $736 = +HEAPF32[$frame_probs>>2];
- $737 = $tonal$addr;
- $music_confidence1056 = ((($737)) + 8492|0);
- $738 = +HEAPF32[$music_confidence1056>>2];
- $sub1057 = $736 - $738;
- $cond1059 = $sub1057;
- }
- $mul1060 = $732 * $cond1059;
- $739 = $tonal$addr;
- $music_confidence1061 = ((($739)) + 8492|0);
- $740 = +HEAPF32[$music_confidence1061>>2];
- $add1062 = $740 + $mul1060;
- HEAPF32[$music_confidence1061>>2] = $add1062;
- }
- $741 = $tonal$addr;
- $music_prob1064 = ((($741)) + 6844|0);
- $742 = +HEAPF32[$music_prob1064>>2];
- $conv1065 = $742;
- $cmp1066 = $conv1065 < 0.10000000000000001;
- if (!($cmp1066)) {
- break;
- }
- $743 = $tonal$addr;
- $speech_confidence_count = ((($743)) + 8496|0);
- $744 = HEAP32[$speech_confidence_count>>2]|0;
- $inc1070 = (($744) + 1)|0;
- HEAP32[$speech_confidence_count>>2] = $inc1070;
- $conv1071 = (+($inc1070|0));
- $div1072 = 1.0 / $conv1071;
- $adapt1069 = $div1072;
- $745 = $tonal$addr;
- $speech_confidence_count1073 = ((($745)) + 8496|0);
- $746 = HEAP32[$speech_confidence_count1073>>2]|0;
- $cmp1074 = ($746|0)<(500);
- if ($cmp1074) {
- $747 = $tonal$addr;
- $speech_confidence_count1077 = ((($747)) + 8496|0);
- $748 = HEAP32[$speech_confidence_count1077>>2]|0;
- $cond1080 = $748;
- } else {
- $cond1080 = 500;
- }
- $749 = $tonal$addr;
- $speech_confidence_count1081 = ((($749)) + 8496|0);
- HEAP32[$speech_confidence_count1081>>2] = $cond1080;
- $750 = $adapt1069;
- $751 = +HEAPF32[$frame_probs>>2];
- $752 = $tonal$addr;
- $speech_confidence = ((($752)) + 8488|0);
- $753 = +HEAPF32[$speech_confidence>>2];
- $sub1083 = $751 - $753;
- $cmp1084 = 0.20000000298023224 < $sub1083;
- if ($cmp1084) {
- $cond1092 = 0.20000000298023224;
- } else {
- $754 = +HEAPF32[$frame_probs>>2];
- $755 = $tonal$addr;
- $speech_confidence1089 = ((($755)) + 8488|0);
- $756 = +HEAPF32[$speech_confidence1089>>2];
- $sub1090 = $754 - $756;
- $cond1092 = $sub1090;
- }
- $mul1093 = $750 * $cond1092;
- $757 = $tonal$addr;
- $speech_confidence1094 = ((($757)) + 8488|0);
- $758 = +HEAPF32[$speech_confidence1094>>2];
- $add1095 = $758 + $mul1093;
- HEAPF32[$speech_confidence1094>>2] = $add1095;
- } else {
- $music_confidence_count1097 = ((($723)) + 8500|0);
- $759 = HEAP32[$music_confidence_count1097>>2]|0;
- $cmp1098 = ($759|0)==(0);
- if ($cmp1098) {
- $760 = $tonal$addr;
- $music_confidence1101 = ((($760)) + 8492|0);
- HEAPF32[$music_confidence1101>>2] = 0.89999997615814208;
- }
- $761 = $tonal$addr;
- $speech_confidence_count1103 = ((($761)) + 8496|0);
- $762 = HEAP32[$speech_confidence_count1103>>2]|0;
- $cmp1104 = ($762|0)==(0);
- if (!($cmp1104)) {
- break;
- }
- $763 = $tonal$addr;
- $speech_confidence1107 = ((($763)) + 8488|0);
- HEAPF32[$speech_confidence1107>>2] = 0.10000000149011612;
- }
- } while(0);
- $764 = $tonal$addr;
- $last_music = ((($764)) + 6860|0);
- $765 = HEAP32[$last_music>>2]|0;
- $766 = $tonal$addr;
- $music_prob1110 = ((($766)) + 6844|0);
- $767 = +HEAPF32[$music_prob1110>>2];
- $cmp1111 = $767 > 0.5;
- $conv1112 = $cmp1111&1;
- $cmp1113 = ($765|0)!=($conv1112|0);
- if ($cmp1113) {
- $768 = $tonal$addr;
- $last_transition1116 = ((($768)) + 6864|0);
- HEAP32[$last_transition1116>>2] = 0;
- }
- $769 = $tonal$addr;
- $music_prob1118 = ((($769)) + 6844|0);
- $770 = +HEAPF32[$music_prob1118>>2];
- $cmp1119 = $770 > 0.5;
- $conv1120 = $cmp1119&1;
- $771 = $tonal$addr;
- $last_music1121 = ((($771)) + 6860|0);
- HEAP32[$last_music1121>>2] = $conv1120;
- $772 = $bandwidth;
- $773 = $info;
- $bandwidth1122 = ((($773)) + 24|0);
- HEAP32[$bandwidth1122>>2] = $772;
- $774 = $frame_noisiness;
- $775 = $info;
- $noisiness1123 = ((($775)) + 12|0);
- HEAPF32[$noisiness1123>>2] = $774;
- $776 = $info;
- HEAP32[$776>>2] = 1;
- STACKTOP = sp;return;
-}
-function _fast_atan2f($y,$x) {
- $y = +$y;
- $x = +$x;
- var $0 = 0.0, $1 = 0.0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $8 = 0.0, $9 = 0.0, $add = 0.0;
- var $add13 = 0.0, $add15 = 0.0, $add22 = 0.0, $add26 = 0.0, $add33 = 0.0, $add35 = 0.0, $add42 = 0.0, $add48 = 0.0, $call = 0.0, $call3 = 0.0, $cmp = 0, $cmp17 = 0, $cmp24 = 0, $cmp27 = 0, $cmp37 = 0, $cmp45 = 0, $cmp50 = 0, $cmp55 = 0, $cmp59 = 0, $cmp9 = 0;
- var $cond = 0.0, $cond29 = 0.0, $cond47 = 0.0, $cond52 = 0.0, $cond57 = 0.0, $cond61 = 0.0, $conv = 0.0, $conv1 = 0.0, $conv2 = 0.0, $conv4 = 0.0, $den = 0.0, $den31 = 0.0, $div = 0.0, $div44 = 0.0, $mul = 0.0, $mul12 = 0.0, $mul14 = 0.0, $mul16 = 0.0, $mul20 = 0.0, $mul21 = 0.0;
- var $mul23 = 0.0, $mul32 = 0.0, $mul34 = 0.0, $mul36 = 0.0, $mul40 = 0.0, $mul41 = 0.0, $mul43 = 0.0, $mul49 = 0.0, $mul58 = 0.0, $mul6 = 0.0, $mul7 = 0.0, $mul8 = 0.0, $retval = 0.0, $sub = 0.0, $sub53 = 0.0, $sub62 = 0.0, $x$addr = 0.0, $x2 = 0.0, $y$addr = 0.0, $y2 = 0.0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $y$addr = $y;
- $x$addr = $x;
- $0 = $x$addr;
- $conv = $0;
- $call = (+Math_abs((+$conv)));
- $conv1 = $call;
- $1 = $y$addr;
- $conv2 = $1;
- $call3 = (+Math_abs((+$conv2)));
- $conv4 = $call3;
- $add = $conv1 + $conv4;
- $cmp = $add < 9.9999997171806853E-10;
- if ($cmp) {
- $2 = $x$addr;
- $mul = $2 * 999999995904.0;
- $x$addr = $mul;
- $3 = $y$addr;
- $mul6 = $3 * 999999995904.0;
- $y$addr = $mul6;
- }
- $4 = $x$addr;
- $5 = $x$addr;
- $mul7 = $4 * $5;
- $x2 = $mul7;
- $6 = $y$addr;
- $7 = $y$addr;
- $mul8 = $6 * $7;
- $y2 = $mul8;
- $8 = $x2;
- $9 = $y2;
- $cmp9 = $8 < $9;
- if ($cmp9) {
- $10 = $y2;
- $11 = $x2;
- $mul12 = 0.67848402261734009 * $11;
- $add13 = $10 + $mul12;
- $12 = $y2;
- $13 = $x2;
- $mul14 = 0.085955418646335601 * $13;
- $add15 = $12 + $mul14;
- $mul16 = $add13 * $add15;
- $den = $mul16;
- $14 = $den;
- $cmp17 = $14 != 0.0;
- if ($cmp17) {
- $15 = $x$addr;
- $sub = - $15;
- $16 = $y$addr;
- $mul20 = $sub * $16;
- $17 = $y2;
- $18 = $x2;
- $mul21 = 0.43157973885536194 * $18;
- $add22 = $17 + $mul21;
- $mul23 = $mul20 * $add22;
- $19 = $den;
- $div = $mul23 / $19;
- $20 = $y$addr;
- $cmp24 = $20 < 0.0;
- $cond = $cmp24 ? -1.5707963705062866 : 1.5707963705062866;
- $add26 = $div + $cond;
- $retval = $add26;
- $38 = $retval;
- STACKTOP = sp;return (+$38);
- } else {
- $21 = $y$addr;
- $cmp27 = $21 < 0.0;
- $cond29 = $cmp27 ? -1.5707963705062866 : 1.5707963705062866;
- $retval = $cond29;
- $38 = $retval;
- STACKTOP = sp;return (+$38);
- }
- } else {
- $22 = $x2;
- $23 = $y2;
- $mul32 = 0.67848402261734009 * $23;
- $add33 = $22 + $mul32;
- $24 = $x2;
- $25 = $y2;
- $mul34 = 0.085955418646335601 * $25;
- $add35 = $24 + $mul34;
- $mul36 = $add33 * $add35;
- $den31 = $mul36;
- $26 = $den31;
- $cmp37 = $26 != 0.0;
- if ($cmp37) {
- $27 = $x$addr;
- $28 = $y$addr;
- $mul40 = $27 * $28;
- $29 = $x2;
- $30 = $y2;
- $mul41 = 0.43157973885536194 * $30;
- $add42 = $29 + $mul41;
- $mul43 = $mul40 * $add42;
- $31 = $den31;
- $div44 = $mul43 / $31;
- $32 = $y$addr;
- $cmp45 = $32 < 0.0;
- $cond47 = $cmp45 ? -1.5707963705062866 : 1.5707963705062866;
- $add48 = $div44 + $cond47;
- $33 = $x$addr;
- $34 = $y$addr;
- $mul49 = $33 * $34;
- $cmp50 = $mul49 < 0.0;
- $cond52 = $cmp50 ? -1.5707963705062866 : 1.5707963705062866;
- $sub53 = $add48 - $cond52;
- $retval = $sub53;
- $38 = $retval;
- STACKTOP = sp;return (+$38);
- } else {
- $35 = $y$addr;
- $cmp55 = $35 < 0.0;
- $cond57 = $cmp55 ? -1.5707963705062866 : 1.5707963705062866;
- $36 = $x$addr;
- $37 = $y$addr;
- $mul58 = $36 * $37;
- $cmp59 = $mul58 < 0.0;
- $cond61 = $cmp59 ? -1.5707963705062866 : 1.5707963705062866;
- $sub62 = $cond57 - $cond61;
- $retval = $sub62;
- $38 = $retval;
- STACKTOP = sp;return (+$38);
- }
- }
- return +(0.0);
-}
-function _mlp_process($m,$in,$out) {
- $m = $m|0;
- $in = $in|0;
- $out = $out|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0;
- var $W = 0, $add = 0.0, $add28 = 0.0, $arrayidx = 0, $arrayidx14 = 0, $arrayidx22 = 0, $arrayidx25 = 0, $arrayidx33 = 0, $arrayidx6 = 0, $arrayidx8 = 0, $call = 0.0, $call32 = 0.0, $cmp = 0, $cmp15 = 0, $cmp23 = 0, $cmp4 = 0, $hidden = 0, $in$addr = 0, $inc = 0, $inc10 = 0;
- var $inc30 = 0, $inc35 = 0, $incdec$ptr = 0, $incdec$ptr19 = 0, $incdec$ptr26 = 0, $incdec$ptr7 = 0, $j = 0, $k = 0, $k17 = 0, $m$addr = 0, $mul = 0.0, $mul27 = 0.0, $out$addr = 0, $sum = 0.0, $sum18 = 0.0, $topo = 0, $topo13 = 0, $topo2 = 0, $topo21 = 0, $weights = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 448|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(448|0);
- $hidden = sp + 24|0;
- $m$addr = $m;
- $in$addr = $in;
- $out$addr = $out;
- $0 = $m$addr;
- $weights = ((($0)) + 8|0);
- $1 = HEAP32[$weights>>2]|0;
- $W = $1;
- $j = 0;
- while(1) {
- $2 = $j;
- $3 = $m$addr;
- $topo = ((($3)) + 4|0);
- $4 = HEAP32[$topo>>2]|0;
- $arrayidx = ((($4)) + 4|0);
- $5 = HEAP32[$arrayidx>>2]|0;
- $cmp = ($2|0)<($5|0);
- if (!($cmp)) {
- break;
- }
- $6 = $W;
- $incdec$ptr = ((($6)) + 4|0);
- $W = $incdec$ptr;
- $7 = +HEAPF32[$6>>2];
- $sum = $7;
- $k = 0;
- while(1) {
- $8 = $k;
- $9 = $m$addr;
- $topo2 = ((($9)) + 4|0);
- $10 = HEAP32[$topo2>>2]|0;
- $11 = HEAP32[$10>>2]|0;
- $cmp4 = ($8|0)<($11|0);
- $12 = $sum;
- if (!($cmp4)) {
- break;
- }
- $13 = $in$addr;
- $14 = $k;
- $arrayidx6 = (($13) + ($14<<2)|0);
- $15 = +HEAPF32[$arrayidx6>>2];
- $16 = $W;
- $incdec$ptr7 = ((($16)) + 4|0);
- $W = $incdec$ptr7;
- $17 = +HEAPF32[$16>>2];
- $mul = $15 * $17;
- $add = $12 + $mul;
- $sum = $add;
- $18 = $k;
- $inc = (($18) + 1)|0;
- $k = $inc;
- }
- $call = (+_tansig_approx($12));
- $19 = $j;
- $arrayidx8 = (($hidden) + ($19<<2)|0);
- HEAPF32[$arrayidx8>>2] = $call;
- $20 = $j;
- $inc10 = (($20) + 1)|0;
- $j = $inc10;
- }
- $j = 0;
- while(1) {
- $21 = $j;
- $22 = $m$addr;
- $topo13 = ((($22)) + 4|0);
- $23 = HEAP32[$topo13>>2]|0;
- $arrayidx14 = ((($23)) + 8|0);
- $24 = HEAP32[$arrayidx14>>2]|0;
- $cmp15 = ($21|0)<($24|0);
- if (!($cmp15)) {
- break;
- }
- $25 = $W;
- $incdec$ptr19 = ((($25)) + 4|0);
- $W = $incdec$ptr19;
- $26 = +HEAPF32[$25>>2];
- $sum18 = $26;
- $k17 = 0;
- while(1) {
- $27 = $k17;
- $28 = $m$addr;
- $topo21 = ((($28)) + 4|0);
- $29 = HEAP32[$topo21>>2]|0;
- $arrayidx22 = ((($29)) + 4|0);
- $30 = HEAP32[$arrayidx22>>2]|0;
- $cmp23 = ($27|0)<($30|0);
- $31 = $sum18;
- if (!($cmp23)) {
- break;
- }
- $32 = $k17;
- $arrayidx25 = (($hidden) + ($32<<2)|0);
- $33 = +HEAPF32[$arrayidx25>>2];
- $34 = $W;
- $incdec$ptr26 = ((($34)) + 4|0);
- $W = $incdec$ptr26;
- $35 = +HEAPF32[$34>>2];
- $mul27 = $33 * $35;
- $add28 = $31 + $mul27;
- $sum18 = $add28;
- $36 = $k17;
- $inc30 = (($36) + 1)|0;
- $k17 = $inc30;
- }
- $call32 = (+_tansig_approx($31));
- $37 = $out$addr;
- $38 = $j;
- $arrayidx33 = (($37) + ($38<<2)|0);
- HEAPF32[$arrayidx33>>2] = $call32;
- $39 = $j;
- $inc35 = (($39) + 1)|0;
- $j = $inc35;
- }
- STACKTOP = sp;return;
-}
-function _tansig_approx($x) {
- $x = +$x;
- var $0 = 0.0, $1 = 0.0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0.0, $20 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0, $8 = 0.0;
- var $9 = 0, $add = 0.0, $add20 = 0.0, $arrayidx = 0, $call = 0.0, $cmp = 0, $cmp1 = 0, $cmp4 = 0, $cmp7 = 0, $conv = 0.0, $conv10 = 0, $conv11 = 0.0, $dy = 0.0, $i = 0, $mul = 0.0, $mul12 = 0.0, $mul14 = 0.0, $mul16 = 0.0, $mul17 = 0.0, $mul19 = 0.0;
- var $mul21 = 0.0, $retval = 0.0, $sign = 0.0, $sub = 0.0, $sub13 = 0.0, $sub15 = 0.0, $sub18 = 0.0, $x$addr = 0.0, $y = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $sign = 1.0;
- $0 = $x$addr;
- $cmp = $0 < 8.0;
- if (!($cmp)) {
- $retval = 1.0;
- $20 = $retval;
- STACKTOP = sp;return (+$20);
- }
- $1 = $x$addr;
- $cmp1 = $1 > -8.0;
- if (!($cmp1)) {
- $retval = -1.0;
- $20 = $retval;
- STACKTOP = sp;return (+$20);
- }
- $2 = $x$addr;
- $3 = $x$addr;
- $cmp4 = $2 != $3;
- if ($cmp4) {
- $retval = 0.0;
- $20 = $retval;
- STACKTOP = sp;return (+$20);
- }
- $4 = $x$addr;
- $cmp7 = $4 < 0.0;
- if ($cmp7) {
- $5 = $x$addr;
- $sub = - $5;
- $x$addr = $sub;
- $sign = -1.0;
- }
- $6 = $x$addr;
- $mul = 25.0 * $6;
- $add = 0.5 + $mul;
- $conv = $add;
- $call = (+Math_floor((+$conv)));
- $conv10 = (~~(($call)));
- $i = $conv10;
- $7 = $i;
- $conv11 = (+($7|0));
- $mul12 = 0.039999999105930328 * $conv11;
- $8 = $x$addr;
- $sub13 = $8 - $mul12;
- $x$addr = $sub13;
- $9 = $i;
- $arrayidx = (1868 + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx>>2];
- $y = $10;
- $11 = $y;
- $12 = $y;
- $mul14 = $11 * $12;
- $sub15 = 1.0 - $mul14;
- $dy = $sub15;
- $13 = $y;
- $14 = $x$addr;
- $15 = $dy;
- $mul16 = $14 * $15;
- $16 = $y;
- $17 = $x$addr;
- $mul17 = $16 * $17;
- $sub18 = 1.0 - $mul17;
- $mul19 = $mul16 * $sub18;
- $add20 = $13 + $mul19;
- $y = $add20;
- $18 = $sign;
- $19 = $y;
- $mul21 = $18 * $19;
- $retval = $mul21;
- $20 = $retval;
- STACKTOP = sp;return (+$20);
-}
-function _celt_encoder_get_size($channels) {
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $call = 0, $call1 = 0, $channels$addr = 0, $mode = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $channels$addr = $channels;
- $call = (_opus_custom_mode_create(48000,960,0)|0);
- $mode = $call;
- $0 = $mode;
- $1 = $channels$addr;
- $call1 = (_opus_custom_encoder_get_size($0,$1)|0);
- STACKTOP = sp;return ($call1|0);
-}
-function _opus_custom_encoder_get_size($mode,$channels) {
- $mode = $mode|0;
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $add = 0, $add4 = 0, $add8 = 0, $channels$addr = 0, $mode$addr = 0, $mul = 0, $mul1 = 0, $mul2 = 0, $mul3 = 0, $mul5 = 0, $mul6 = 0, $mul7 = 0;
- var $nbEBands = 0, $overlap = 0, $size = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $mode$addr = $mode;
- $channels$addr = $channels;
- $0 = $channels$addr;
- $1 = $mode$addr;
- $overlap = ((($1)) + 4|0);
- $2 = HEAP32[$overlap>>2]|0;
- $mul = Math_imul($0, $2)|0;
- $sub = (($mul) - 1)|0;
- $mul1 = $sub<<2;
- $add = (204 + ($mul1))|0;
- $3 = $channels$addr;
- $mul2 = $3<<10;
- $mul3 = $mul2<<2;
- $add4 = (($add) + ($mul3))|0;
- $4 = $channels$addr;
- $mul5 = ($4*3)|0;
- $5 = $mode$addr;
- $nbEBands = ((($5)) + 8|0);
- $6 = HEAP32[$nbEBands>>2]|0;
- $mul6 = Math_imul($mul5, $6)|0;
- $mul7 = $mul6<<2;
- $add8 = (($add4) + ($mul7))|0;
- $size = $add8;
- $7 = $size;
- STACKTOP = sp;return ($7|0);
-}
-function _celt_encoder_init($st,$sampling_rate,$channels,$arch) {
- $st = $st|0;
- $sampling_rate = $sampling_rate|0;
- $channels = $channels|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $arch$addr = 0, $call = 0, $call1 = 0, $call2 = 0, $channels$addr = 0, $cmp = 0, $ret = 0, $retval = 0, $sampling_rate$addr = 0, $st$addr = 0, $upsample = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $st$addr = $st;
- $sampling_rate$addr = $sampling_rate;
- $channels$addr = $channels;
- $arch$addr = $arch;
- $0 = $st$addr;
- $call = (_opus_custom_mode_create(48000,960,0)|0);
- $1 = $channels$addr;
- $2 = $arch$addr;
- $call1 = (_opus_custom_encoder_init_arch($0,$call,$1,$2)|0);
- $ret = $call1;
- $3 = $ret;
- $cmp = ($3|0)!=(0);
- if ($cmp) {
- $4 = $ret;
- $retval = $4;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
- } else {
- $5 = $sampling_rate$addr;
- $call2 = (_resampling_factor($5)|0);
- $6 = $st$addr;
- $upsample = ((($6)) + 28|0);
- HEAP32[$upsample>>2] = $call2;
- $retval = 0;
- $7 = $retval;
- STACKTOP = sp;return ($7|0);
- }
- return (0)|0;
-}
-function _opus_custom_encoder_init_arch($st,$mode,$channels,$arch) {
- $st = $st|0;
- $mode = $mode|0;
- $channels = $channels|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arch$addr = 0, $arch10 = 0, $bitrate = 0, $call = 0, $channels$addr = 0, $channels8 = 0, $clip = 0, $cmp = 0, $cmp1 = 0, $cmp2 = 0;
- var $cmp4 = 0, $complexity = 0, $constrained_vbr = 0, $effEBands = 0, $end = 0, $force_intra = 0, $lsb_depth = 0, $mode$addr = 0, $mul = 0, $or$cond = 0, $or$cond1 = 0, $retval = 0, $signalling = 0, $st$addr = 0, $start = 0, $stream_channels = 0, $upsample = 0, $vararg_buffer = 0, $vbr = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $vararg_buffer = sp;
- $st$addr = $st;
- $mode$addr = $mode;
- $channels$addr = $channels;
- $arch$addr = $arch;
- $0 = $channels$addr;
- $cmp = ($0|0)<(0);
- $1 = $channels$addr;
- $cmp1 = ($1|0)>(2);
- $or$cond = $cmp | $cmp1;
- if ($or$cond) {
- $retval = -1;
- $29 = $retval;
- STACKTOP = sp;return ($29|0);
- }
- $2 = $st$addr;
- $cmp2 = ($2|0)==(0|0);
- $3 = $mode$addr;
- $cmp4 = ($3|0)==(0|0);
- $or$cond1 = $cmp2 | $cmp4;
- if ($or$cond1) {
- $retval = -7;
- $29 = $retval;
- STACKTOP = sp;return ($29|0);
- } else {
- $4 = $st$addr;
- $5 = $mode$addr;
- $6 = $channels$addr;
- $call = (_opus_custom_encoder_get_size($5,$6)|0);
- $mul = $call;
- _memset(($4|0),0,($mul|0))|0;
- $7 = $mode$addr;
- $8 = $st$addr;
- HEAP32[$8>>2] = $7;
- $9 = $channels$addr;
- $10 = $st$addr;
- $channels8 = ((($10)) + 4|0);
- HEAP32[$channels8>>2] = $9;
- $11 = $st$addr;
- $stream_channels = ((($11)) + 8|0);
- HEAP32[$stream_channels>>2] = $9;
- $12 = $st$addr;
- $upsample = ((($12)) + 28|0);
- HEAP32[$upsample>>2] = 1;
- $13 = $st$addr;
- $start = ((($13)) + 32|0);
- HEAP32[$start>>2] = 0;
- $14 = $st$addr;
- $15 = HEAP32[$14>>2]|0;
- $effEBands = ((($15)) + 12|0);
- $16 = HEAP32[$effEBands>>2]|0;
- $17 = $st$addr;
- $end = ((($17)) + 36|0);
- HEAP32[$end>>2] = $16;
- $18 = $st$addr;
- $signalling = ((($18)) + 48|0);
- HEAP32[$signalling>>2] = 1;
- $19 = $arch$addr;
- $20 = $st$addr;
- $arch10 = ((($20)) + 72|0);
- HEAP32[$arch10>>2] = $19;
- $21 = $st$addr;
- $constrained_vbr = ((($21)) + 52|0);
- HEAP32[$constrained_vbr>>2] = 1;
- $22 = $st$addr;
- $clip = ((($22)) + 16|0);
- HEAP32[$clip>>2] = 1;
- $23 = $st$addr;
- $bitrate = ((($23)) + 40|0);
- HEAP32[$bitrate>>2] = -1;
- $24 = $st$addr;
- $vbr = ((($24)) + 44|0);
- HEAP32[$vbr>>2] = 0;
- $25 = $st$addr;
- $force_intra = ((($25)) + 12|0);
- HEAP32[$force_intra>>2] = 0;
- $26 = $st$addr;
- $complexity = ((($26)) + 24|0);
- HEAP32[$complexity>>2] = 5;
- $27 = $st$addr;
- $lsb_depth = ((($27)) + 60|0);
- HEAP32[$lsb_depth>>2] = 24;
- $28 = $st$addr;
- (_opus_custom_encoder_ctl($28,4028,$vararg_buffer)|0);
- $retval = 0;
- $29 = $retval;
- STACKTOP = sp;return ($29|0);
- }
- return (0)|0;
-}
-function _opus_custom_encoder_ctl($st,$request,$varargs) {
- $st = $st|0;
- $request = $request|0;
- $varargs = $varargs|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
- var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
- var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
- var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
- var $98 = 0, $99 = 0, $add = 0, $add$ptr = 0, $add$ptr109 = 0, $add$ptr114 = 0, $add139 = 0, $analysis = 0, $analysis134 = 0, $ap = 0, $arglist_current = 0, $arglist_current10 = 0, $arglist_current13 = 0, $arglist_current16 = 0, $arglist_current19 = 0, $arglist_current22 = 0, $arglist_current25 = 0, $arglist_current28 = 0, $arglist_current31 = 0, $arglist_current34 = 0;
- var $arglist_current37 = 0, $arglist_current40 = 0, $arglist_current43 = 0, $arglist_current46 = 0, $arglist_current49 = 0, $arglist_current52 = 0, $arglist_current55 = 0, $arglist_current7 = 0, $arglist_next = 0, $arglist_next11 = 0, $arglist_next14 = 0, $arglist_next17 = 0, $arglist_next20 = 0, $arglist_next23 = 0, $arglist_next26 = 0, $arglist_next29 = 0, $arglist_next32 = 0, $arglist_next35 = 0, $arglist_next38 = 0, $arglist_next41 = 0;
- var $arglist_next44 = 0, $arglist_next47 = 0, $arglist_next50 = 0, $arglist_next53 = 0, $arglist_next56 = 0, $arglist_next8 = 0, $arrayidx = 0, $arrayidx125 = 0, $bitrate = 0, $call = 0, $channels = 0, $channels102 = 0, $channels105 = 0, $channels110 = 0, $channels116 = 0, $channels119 = 0, $channels67 = 0, $cmp = 0, $cmp10 = 0, $cmp123 = 0;
- var $cmp145 = 0, $cmp154 = 0, $cmp17 = 0, $cmp21 = 0, $cmp28 = 0, $cmp3 = 0, $cmp30 = 0, $cmp33 = 0, $cmp34 = 0, $cmp40 = 0, $cmp43 = 0, $cmp59 = 0, $cmp61 = 0, $cmp65 = 0, $cmp73 = 0, $cmp76 = 0, $cmp8 = 0, $cmp84 = 0, $cmp87 = 0, $complexity = 0;
- var $cond = 0, $constrained_vbr = 0, $conv = 0, $conv35 = 0, $delayedIntra = 0, $disable_pf = 0, $end = 0, $energy_mask = 0, $expanded = 0, $expanded100 = 0, $expanded102 = 0, $expanded103 = 0, $expanded104 = 0, $expanded106 = 0, $expanded107 = 0, $expanded109 = 0, $expanded11 = 0, $expanded110 = 0, $expanded111 = 0, $expanded113 = 0;
- var $expanded114 = 0, $expanded116 = 0, $expanded117 = 0, $expanded118 = 0, $expanded12 = 0, $expanded120 = 0, $expanded121 = 0, $expanded123 = 0, $expanded124 = 0, $expanded125 = 0, $expanded13 = 0, $expanded15 = 0, $expanded16 = 0, $expanded18 = 0, $expanded19 = 0, $expanded2 = 0, $expanded20 = 0, $expanded22 = 0, $expanded23 = 0, $expanded25 = 0;
- var $expanded26 = 0, $expanded27 = 0, $expanded29 = 0, $expanded30 = 0, $expanded32 = 0, $expanded33 = 0, $expanded34 = 0, $expanded36 = 0, $expanded37 = 0, $expanded39 = 0, $expanded4 = 0, $expanded40 = 0, $expanded41 = 0, $expanded43 = 0, $expanded44 = 0, $expanded46 = 0, $expanded47 = 0, $expanded48 = 0, $expanded5 = 0, $expanded50 = 0;
- var $expanded51 = 0, $expanded53 = 0, $expanded54 = 0, $expanded55 = 0, $expanded57 = 0, $expanded58 = 0, $expanded6 = 0, $expanded60 = 0, $expanded61 = 0, $expanded62 = 0, $expanded64 = 0, $expanded65 = 0, $expanded67 = 0, $expanded68 = 0, $expanded69 = 0, $expanded71 = 0, $expanded72 = 0, $expanded74 = 0, $expanded75 = 0, $expanded76 = 0;
- var $expanded78 = 0, $expanded79 = 0, $expanded8 = 0, $expanded81 = 0, $expanded82 = 0, $expanded83 = 0, $expanded85 = 0, $expanded86 = 0, $expanded88 = 0, $expanded89 = 0, $expanded9 = 0, $expanded90 = 0, $expanded92 = 0, $expanded93 = 0, $expanded95 = 0, $expanded96 = 0, $expanded97 = 0, $expanded99 = 0, $force_intra = 0, $hf_average = 0;
- var $i = 0, $in_mem = 0, $inc = 0, $info = 0, $lfe = 0, $loss_rate = 0, $lsb_depth = 0, $lsb_depth95 = 0, $mul = 0, $mul104 = 0, $mul108 = 0, $mul113 = 0, $mul118 = 0, $mul122 = 0, $mul138 = 0, $mul68 = 0, $nbEBands = 0, $nbEBands107 = 0, $nbEBands112 = 0, $nbEBands121 = 0;
- var $nbEBands20 = 0, $oldBandE = 0, $oldLogE = 0, $oldLogE2 = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond3 = 0, $or$cond4 = 0, $or$cond5 = 0, $overlap = 0, $request$addr = 0, $retval = 0, $rng = 0, $rng117 = 0, $rng158 = 0, $signalling = 0, $spread_decision = 0, $st$addr = 0, $start = 0;
- var $stream_channels = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast135 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast136 = 0, $sub$ptr$sub = 0, $sub$ptr$sub137 = 0, $tapset_decision = 0, $tobool = 0, $tonal_average = 0, $value = 0, $value127 = 0, $value14 = 0, $value142 = 0, $value151 = 0, $value160 = 0, $value164 = 0, $value25 = 0;
- var $value37 = 0, $value48 = 0, $value5 = 0, $value52 = 0, $value56 = 0, $value70 = 0, $value81 = 0, $value92 = 0, $value97 = 0, $varet = 0, $varet129 = 0, $varet132 = 0, $varet144 = 0, $varet153 = 0, $varet16 = 0, $varet162 = 0, $varet166 = 0, $varet27 = 0, $varet39 = 0, $varet50 = 0;
- var $varet54 = 0, $varet58 = 0, $varet7 = 0, $varet72 = 0, $varet83 = 0, $varet94 = 0, $varet99 = 0, $variable_duration = 0, $vbr = 0, $vbr_offset = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
- $ap = sp + 160|0;
- $st$addr = $st;
- $request$addr = $request;
- HEAP32[$ap>>2] = $varargs;
- $0 = $request$addr;
- do {
- switch ($0|0) {
- case 4010: {
- $arglist_current = HEAP32[$ap>>2]|0;
- $1 = $arglist_current;
- $2 = ((0) + 4|0);
- $expanded2 = $2;
- $expanded = (($expanded2) - 1)|0;
- $3 = (($1) + ($expanded))|0;
- $4 = ((0) + 4|0);
- $expanded6 = $4;
- $expanded5 = (($expanded6) - 1)|0;
- $expanded4 = $expanded5 ^ -1;
- $5 = $3 & $expanded4;
- $6 = $5;
- $7 = HEAP32[$6>>2]|0;
- $arglist_next = ((($6)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next;
- $varet = $7;
- $8 = $varet;
- $value = $8;
- $9 = $value;
- $cmp = ($9|0)<(0);
- $10 = $value;
- $cmp3 = ($10|0)>(10);
- $or$cond = $cmp | $cmp3;
- if ($or$cond) {
- label = 41;
- } else {
- $11 = $value;
- $12 = $st$addr;
- $complexity = ((($12)) + 24|0);
- HEAP32[$complexity>>2] = $11;
- label = 40;
- }
- break;
- }
- case 10010: {
- $arglist_current7 = HEAP32[$ap>>2]|0;
- $13 = $arglist_current7;
- $14 = ((0) + 4|0);
- $expanded9 = $14;
- $expanded8 = (($expanded9) - 1)|0;
- $15 = (($13) + ($expanded8))|0;
- $16 = ((0) + 4|0);
- $expanded13 = $16;
- $expanded12 = (($expanded13) - 1)|0;
- $expanded11 = $expanded12 ^ -1;
- $17 = $15 & $expanded11;
- $18 = $17;
- $19 = HEAP32[$18>>2]|0;
- $arglist_next8 = ((($18)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next8;
- $varet7 = $19;
- $20 = $varet7;
- $value5 = $20;
- $21 = $value5;
- $cmp8 = ($21|0)<(0);
- if ($cmp8) {
- label = 41;
- } else {
- $22 = $value5;
- $23 = $st$addr;
- $24 = HEAP32[$23>>2]|0;
- $nbEBands = ((($24)) + 8|0);
- $25 = HEAP32[$nbEBands>>2]|0;
- $cmp10 = ($22|0)>=($25|0);
- if ($cmp10) {
- label = 41;
- } else {
- $26 = $value5;
- $27 = $st$addr;
- $start = ((($27)) + 32|0);
- HEAP32[$start>>2] = $26;
- label = 40;
- }
- }
- break;
- }
- case 10012: {
- $arglist_current10 = HEAP32[$ap>>2]|0;
- $28 = $arglist_current10;
- $29 = ((0) + 4|0);
- $expanded16 = $29;
- $expanded15 = (($expanded16) - 1)|0;
- $30 = (($28) + ($expanded15))|0;
- $31 = ((0) + 4|0);
- $expanded20 = $31;
- $expanded19 = (($expanded20) - 1)|0;
- $expanded18 = $expanded19 ^ -1;
- $32 = $30 & $expanded18;
- $33 = $32;
- $34 = HEAP32[$33>>2]|0;
- $arglist_next11 = ((($33)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next11;
- $varet16 = $34;
- $35 = $varet16;
- $value14 = $35;
- $36 = $value14;
- $cmp17 = ($36|0)<(1);
- if ($cmp17) {
- label = 41;
- } else {
- $37 = $value14;
- $38 = $st$addr;
- $39 = HEAP32[$38>>2]|0;
- $nbEBands20 = ((($39)) + 8|0);
- $40 = HEAP32[$nbEBands20>>2]|0;
- $cmp21 = ($37|0)>($40|0);
- if ($cmp21) {
- label = 41;
- } else {
- $41 = $value14;
- $42 = $st$addr;
- $end = ((($42)) + 36|0);
- HEAP32[$end>>2] = $41;
- label = 40;
- }
- }
- break;
- }
- case 10002: {
- $arglist_current13 = HEAP32[$ap>>2]|0;
- $43 = $arglist_current13;
- $44 = ((0) + 4|0);
- $expanded23 = $44;
- $expanded22 = (($expanded23) - 1)|0;
- $45 = (($43) + ($expanded22))|0;
- $46 = ((0) + 4|0);
- $expanded27 = $46;
- $expanded26 = (($expanded27) - 1)|0;
- $expanded25 = $expanded26 ^ -1;
- $47 = $45 & $expanded25;
- $48 = $47;
- $49 = HEAP32[$48>>2]|0;
- $arglist_next14 = ((($48)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next14;
- $varet27 = $49;
- $50 = $varet27;
- $value25 = $50;
- $51 = $value25;
- $cmp28 = ($51|0)<(0);
- $52 = $value25;
- $cmp30 = ($52|0)>(2);
- $or$cond1 = $cmp28 | $cmp30;
- if ($or$cond1) {
- label = 41;
- } else {
- $53 = $value25;
- $cmp33 = ($53|0)<=(1);
- $conv = $cmp33&1;
- $54 = $st$addr;
- $disable_pf = ((($54)) + 20|0);
- HEAP32[$disable_pf>>2] = $conv;
- $55 = $value25;
- $cmp34 = ($55|0)==(0);
- $conv35 = $cmp34&1;
- $56 = $st$addr;
- $force_intra = ((($56)) + 12|0);
- HEAP32[$force_intra>>2] = $conv35;
- label = 40;
- }
- break;
- }
- case 4014: {
- $arglist_current16 = HEAP32[$ap>>2]|0;
- $57 = $arglist_current16;
- $58 = ((0) + 4|0);
- $expanded30 = $58;
- $expanded29 = (($expanded30) - 1)|0;
- $59 = (($57) + ($expanded29))|0;
- $60 = ((0) + 4|0);
- $expanded34 = $60;
- $expanded33 = (($expanded34) - 1)|0;
- $expanded32 = $expanded33 ^ -1;
- $61 = $59 & $expanded32;
- $62 = $61;
- $63 = HEAP32[$62>>2]|0;
- $arglist_next17 = ((($62)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next17;
- $varet39 = $63;
- $64 = $varet39;
- $value37 = $64;
- $65 = $value37;
- $cmp40 = ($65|0)<(0);
- $66 = $value37;
- $cmp43 = ($66|0)>(100);
- $or$cond2 = $cmp40 | $cmp43;
- if ($or$cond2) {
- label = 41;
- } else {
- $67 = $value37;
- $68 = $st$addr;
- $loss_rate = ((($68)) + 56|0);
- HEAP32[$loss_rate>>2] = $67;
- label = 40;
- }
- break;
- }
- case 4020: {
- $arglist_current19 = HEAP32[$ap>>2]|0;
- $69 = $arglist_current19;
- $70 = ((0) + 4|0);
- $expanded37 = $70;
- $expanded36 = (($expanded37) - 1)|0;
- $71 = (($69) + ($expanded36))|0;
- $72 = ((0) + 4|0);
- $expanded41 = $72;
- $expanded40 = (($expanded41) - 1)|0;
- $expanded39 = $expanded40 ^ -1;
- $73 = $71 & $expanded39;
- $74 = $73;
- $75 = HEAP32[$74>>2]|0;
- $arglist_next20 = ((($74)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next20;
- $varet50 = $75;
- $76 = $varet50;
- $value48 = $76;
- $77 = $value48;
- $78 = $st$addr;
- $constrained_vbr = ((($78)) + 52|0);
- HEAP32[$constrained_vbr>>2] = $77;
- label = 40;
- break;
- }
- case 4006: {
- $arglist_current22 = HEAP32[$ap>>2]|0;
- $79 = $arglist_current22;
- $80 = ((0) + 4|0);
- $expanded44 = $80;
- $expanded43 = (($expanded44) - 1)|0;
- $81 = (($79) + ($expanded43))|0;
- $82 = ((0) + 4|0);
- $expanded48 = $82;
- $expanded47 = (($expanded48) - 1)|0;
- $expanded46 = $expanded47 ^ -1;
- $83 = $81 & $expanded46;
- $84 = $83;
- $85 = HEAP32[$84>>2]|0;
- $arglist_next23 = ((($84)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next23;
- $varet54 = $85;
- $86 = $varet54;
- $value52 = $86;
- $87 = $value52;
- $88 = $st$addr;
- $vbr = ((($88)) + 44|0);
- HEAP32[$vbr>>2] = $87;
- label = 40;
- break;
- }
- case 4002: {
- $arglist_current25 = HEAP32[$ap>>2]|0;
- $89 = $arglist_current25;
- $90 = ((0) + 4|0);
- $expanded51 = $90;
- $expanded50 = (($expanded51) - 1)|0;
- $91 = (($89) + ($expanded50))|0;
- $92 = ((0) + 4|0);
- $expanded55 = $92;
- $expanded54 = (($expanded55) - 1)|0;
- $expanded53 = $expanded54 ^ -1;
- $93 = $91 & $expanded53;
- $94 = $93;
- $95 = HEAP32[$94>>2]|0;
- $arglist_next26 = ((($94)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next26;
- $varet58 = $95;
- $96 = $varet58;
- $value56 = $96;
- $97 = $value56;
- $cmp59 = ($97|0)<=(500);
- $98 = $value56;
- $cmp61 = ($98|0)!=(-1);
- $or$cond3 = $cmp59 & $cmp61;
- if ($or$cond3) {
- label = 41;
- } else {
- $99 = $value56;
- $100 = $st$addr;
- $channels = ((($100)) + 4|0);
- $101 = HEAP32[$channels>>2]|0;
- $mul = ($101*260000)|0;
- $cmp65 = ($99|0)<($mul|0);
- if ($cmp65) {
- $102 = $value56;
- $cond = $102;
- } else {
- $103 = $st$addr;
- $channels67 = ((($103)) + 4|0);
- $104 = HEAP32[$channels67>>2]|0;
- $mul68 = ($104*260000)|0;
- $cond = $mul68;
- }
- $value56 = $cond;
- $105 = $value56;
- $106 = $st$addr;
- $bitrate = ((($106)) + 40|0);
- HEAP32[$bitrate>>2] = $105;
- label = 40;
- }
- break;
- }
- case 10008: {
- $arglist_current28 = HEAP32[$ap>>2]|0;
- $107 = $arglist_current28;
- $108 = ((0) + 4|0);
- $expanded58 = $108;
- $expanded57 = (($expanded58) - 1)|0;
- $109 = (($107) + ($expanded57))|0;
- $110 = ((0) + 4|0);
- $expanded62 = $110;
- $expanded61 = (($expanded62) - 1)|0;
- $expanded60 = $expanded61 ^ -1;
- $111 = $109 & $expanded60;
- $112 = $111;
- $113 = HEAP32[$112>>2]|0;
- $arglist_next29 = ((($112)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next29;
- $varet72 = $113;
- $114 = $varet72;
- $value70 = $114;
- $115 = $value70;
- $cmp73 = ($115|0)<(1);
- $116 = $value70;
- $cmp76 = ($116|0)>(2);
- $or$cond4 = $cmp73 | $cmp76;
- if ($or$cond4) {
- label = 41;
- } else {
- $117 = $value70;
- $118 = $st$addr;
- $stream_channels = ((($118)) + 8|0);
- HEAP32[$stream_channels>>2] = $117;
- label = 40;
- }
- break;
- }
- case 4036: {
- $arglist_current31 = HEAP32[$ap>>2]|0;
- $119 = $arglist_current31;
- $120 = ((0) + 4|0);
- $expanded65 = $120;
- $expanded64 = (($expanded65) - 1)|0;
- $121 = (($119) + ($expanded64))|0;
- $122 = ((0) + 4|0);
- $expanded69 = $122;
- $expanded68 = (($expanded69) - 1)|0;
- $expanded67 = $expanded68 ^ -1;
- $123 = $121 & $expanded67;
- $124 = $123;
- $125 = HEAP32[$124>>2]|0;
- $arglist_next32 = ((($124)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next32;
- $varet83 = $125;
- $126 = $varet83;
- $value81 = $126;
- $127 = $value81;
- $cmp84 = ($127|0)<(8);
- $128 = $value81;
- $cmp87 = ($128|0)>(24);
- $or$cond5 = $cmp84 | $cmp87;
- if ($or$cond5) {
- label = 41;
- } else {
- $129 = $value81;
- $130 = $st$addr;
- $lsb_depth = ((($130)) + 60|0);
- HEAP32[$lsb_depth>>2] = $129;
- label = 40;
- }
- break;
- }
- case 4037: {
- $arglist_current34 = HEAP32[$ap>>2]|0;
- $131 = $arglist_current34;
- $132 = ((0) + 4|0);
- $expanded72 = $132;
- $expanded71 = (($expanded72) - 1)|0;
- $133 = (($131) + ($expanded71))|0;
- $134 = ((0) + 4|0);
- $expanded76 = $134;
- $expanded75 = (($expanded76) - 1)|0;
- $expanded74 = $expanded75 ^ -1;
- $135 = $133 & $expanded74;
- $136 = $135;
- $137 = HEAP32[$136>>2]|0;
- $arglist_next35 = ((($136)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next35;
- $varet94 = $137;
- $138 = $varet94;
- $value92 = $138;
- $139 = $st$addr;
- $lsb_depth95 = ((($139)) + 60|0);
- $140 = HEAP32[$lsb_depth95>>2]|0;
- $141 = $value92;
- HEAP32[$141>>2] = $140;
- label = 40;
- break;
- }
- case 4040: {
- $arglist_current37 = HEAP32[$ap>>2]|0;
- $142 = $arglist_current37;
- $143 = ((0) + 4|0);
- $expanded79 = $143;
- $expanded78 = (($expanded79) - 1)|0;
- $144 = (($142) + ($expanded78))|0;
- $145 = ((0) + 4|0);
- $expanded83 = $145;
- $expanded82 = (($expanded83) - 1)|0;
- $expanded81 = $expanded82 ^ -1;
- $146 = $144 & $expanded81;
- $147 = $146;
- $148 = HEAP32[$147>>2]|0;
- $arglist_next38 = ((($147)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next38;
- $varet99 = $148;
- $149 = $varet99;
- $value97 = $149;
- $150 = $value97;
- $151 = $st$addr;
- $variable_duration = ((($151)) + 64|0);
- HEAP32[$variable_duration>>2] = $150;
- label = 40;
- break;
- }
- case 4028: {
- $152 = $st$addr;
- $in_mem = ((($152)) + 200|0);
- $153 = $st$addr;
- $channels102 = ((($153)) + 4|0);
- $154 = HEAP32[$channels102>>2]|0;
- $155 = $st$addr;
- $156 = HEAP32[$155>>2]|0;
- $overlap = ((($156)) + 4|0);
- $157 = HEAP32[$overlap>>2]|0;
- $add = (($157) + 1024)|0;
- $mul104 = Math_imul($154, $add)|0;
- $add$ptr = (($in_mem) + ($mul104<<2)|0);
- $oldBandE = $add$ptr;
- $158 = $oldBandE;
- $159 = $st$addr;
- $channels105 = ((($159)) + 4|0);
- $160 = HEAP32[$channels105>>2]|0;
- $161 = $st$addr;
- $162 = HEAP32[$161>>2]|0;
- $nbEBands107 = ((($162)) + 8|0);
- $163 = HEAP32[$nbEBands107>>2]|0;
- $mul108 = Math_imul($160, $163)|0;
- $add$ptr109 = (($158) + ($mul108<<2)|0);
- $oldLogE = $add$ptr109;
- $164 = $oldLogE;
- $165 = $st$addr;
- $channels110 = ((($165)) + 4|0);
- $166 = HEAP32[$channels110>>2]|0;
- $167 = $st$addr;
- $168 = HEAP32[$167>>2]|0;
- $nbEBands112 = ((($168)) + 8|0);
- $169 = HEAP32[$nbEBands112>>2]|0;
- $mul113 = Math_imul($166, $169)|0;
- $add$ptr114 = (($164) + ($mul113<<2)|0);
- $oldLogE2 = $add$ptr114;
- $170 = $st$addr;
- $rng = ((($170)) + 76|0);
- $171 = $st$addr;
- $172 = HEAP32[$171>>2]|0;
- $173 = $st$addr;
- $channels116 = ((($173)) + 4|0);
- $174 = HEAP32[$channels116>>2]|0;
- $call = (_opus_custom_encoder_get_size($172,$174)|0);
- $175 = $st$addr;
- $rng117 = ((($175)) + 76|0);
- $176 = $st$addr;
- $sub$ptr$lhs$cast = $rng117;
- $sub$ptr$rhs$cast = $176;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub = (($call) - ($sub$ptr$sub))|0;
- $mul118 = $sub;
- _memset(($rng|0),0,($mul118|0))|0;
- $i = 0;
- while(1) {
- $177 = $i;
- $178 = $st$addr;
- $channels119 = ((($178)) + 4|0);
- $179 = HEAP32[$channels119>>2]|0;
- $180 = $st$addr;
- $181 = HEAP32[$180>>2]|0;
- $nbEBands121 = ((($181)) + 8|0);
- $182 = HEAP32[$nbEBands121>>2]|0;
- $mul122 = Math_imul($179, $182)|0;
- $cmp123 = ($177|0)<($mul122|0);
- if (!($cmp123)) {
- break;
- }
- $183 = $oldLogE2;
- $184 = $i;
- $arrayidx = (($183) + ($184<<2)|0);
- HEAPF32[$arrayidx>>2] = -28.0;
- $185 = $oldLogE;
- $186 = $i;
- $arrayidx125 = (($185) + ($186<<2)|0);
- HEAPF32[$arrayidx125>>2] = -28.0;
- $187 = $i;
- $inc = (($187) + 1)|0;
- $i = $inc;
- }
- $188 = $st$addr;
- $vbr_offset = ((($188)) + 172|0);
- HEAP32[$vbr_offset>>2] = 0;
- $189 = $st$addr;
- $delayedIntra = ((($189)) + 84|0);
- HEAPF32[$delayedIntra>>2] = 1.0;
- $190 = $st$addr;
- $spread_decision = ((($190)) + 80|0);
- HEAP32[$spread_decision>>2] = 2;
- $191 = $st$addr;
- $tonal_average = ((($191)) + 88|0);
- HEAP32[$tonal_average>>2] = 256;
- $192 = $st$addr;
- $hf_average = ((($192)) + 96|0);
- HEAP32[$hf_average>>2] = 0;
- $193 = $st$addr;
- $tapset_decision = ((($193)) + 100|0);
- HEAP32[$tapset_decision>>2] = 0;
- label = 40;
- break;
- }
- case 10016: {
- $arglist_current40 = HEAP32[$ap>>2]|0;
- $194 = $arglist_current40;
- $195 = ((0) + 4|0);
- $expanded86 = $195;
- $expanded85 = (($expanded86) - 1)|0;
- $196 = (($194) + ($expanded85))|0;
- $197 = ((0) + 4|0);
- $expanded90 = $197;
- $expanded89 = (($expanded90) - 1)|0;
- $expanded88 = $expanded89 ^ -1;
- $198 = $196 & $expanded88;
- $199 = $198;
- $200 = HEAP32[$199>>2]|0;
- $arglist_next41 = ((($199)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next41;
- $varet129 = $200;
- $201 = $varet129;
- $value127 = $201;
- $202 = $value127;
- $203 = $st$addr;
- $signalling = ((($203)) + 48|0);
- HEAP32[$signalling>>2] = $202;
- label = 40;
- break;
- }
- case 10022: {
- $arglist_current43 = HEAP32[$ap>>2]|0;
- $204 = $arglist_current43;
- $205 = ((0) + 4|0);
- $expanded93 = $205;
- $expanded92 = (($expanded93) - 1)|0;
- $206 = (($204) + ($expanded92))|0;
- $207 = ((0) + 4|0);
- $expanded97 = $207;
- $expanded96 = (($expanded97) - 1)|0;
- $expanded95 = $expanded96 ^ -1;
- $208 = $206 & $expanded95;
- $209 = $208;
- $210 = HEAP32[$209>>2]|0;
- $arglist_next44 = ((($209)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next44;
- $varet132 = $210;
- $211 = $varet132;
- $info = $211;
- $212 = $info;
- $tobool = ($212|0)!=(0|0);
- if ($tobool) {
- $213 = $st$addr;
- $analysis = ((($213)) + 120|0);
- $214 = $info;
- $215 = $st$addr;
- $analysis134 = ((($215)) + 120|0);
- $216 = $info;
- $sub$ptr$lhs$cast135 = $analysis134;
- $sub$ptr$rhs$cast136 = $216;
- $sub$ptr$sub137 = (($sub$ptr$lhs$cast135) - ($sub$ptr$rhs$cast136))|0;
- $sub$ptr$div = (($sub$ptr$sub137|0) / 28)&-1;
- $mul138 = 0;
- $add139 = (28 + ($mul138))|0;
- _memcpy(($analysis|0),($214|0),($add139|0))|0;
- label = 40;
- } else {
- label = 40;
- }
- break;
- }
- case 10015: {
- $arglist_current46 = HEAP32[$ap>>2]|0;
- $217 = $arglist_current46;
- $218 = ((0) + 4|0);
- $expanded100 = $218;
- $expanded99 = (($expanded100) - 1)|0;
- $219 = (($217) + ($expanded99))|0;
- $220 = ((0) + 4|0);
- $expanded104 = $220;
- $expanded103 = (($expanded104) - 1)|0;
- $expanded102 = $expanded103 ^ -1;
- $221 = $219 & $expanded102;
- $222 = $221;
- $223 = HEAP32[$222>>2]|0;
- $arglist_next47 = ((($222)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next47;
- $varet144 = $223;
- $224 = $varet144;
- $value142 = $224;
- $225 = $value142;
- $cmp145 = ($225|0)==(0|0);
- if ($cmp145) {
- label = 41;
- } else {
- $226 = $st$addr;
- $227 = HEAP32[$226>>2]|0;
- $228 = $value142;
- HEAP32[$228>>2] = $227;
- label = 40;
- }
- break;
- }
- case 4031: {
- $arglist_current49 = HEAP32[$ap>>2]|0;
- $229 = $arglist_current49;
- $230 = ((0) + 4|0);
- $expanded107 = $230;
- $expanded106 = (($expanded107) - 1)|0;
- $231 = (($229) + ($expanded106))|0;
- $232 = ((0) + 4|0);
- $expanded111 = $232;
- $expanded110 = (($expanded111) - 1)|0;
- $expanded109 = $expanded110 ^ -1;
- $233 = $231 & $expanded109;
- $234 = $233;
- $235 = HEAP32[$234>>2]|0;
- $arglist_next50 = ((($234)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next50;
- $varet153 = $235;
- $236 = $varet153;
- $value151 = $236;
- $237 = $value151;
- $cmp154 = ($237|0)==(0|0);
- if ($cmp154) {
- label = 41;
- } else {
- $238 = $st$addr;
- $rng158 = ((($238)) + 76|0);
- $239 = HEAP32[$rng158>>2]|0;
- $240 = $value151;
- HEAP32[$240>>2] = $239;
- label = 40;
- }
- break;
- }
- case 10024: {
- $arglist_current52 = HEAP32[$ap>>2]|0;
- $241 = $arglist_current52;
- $242 = ((0) + 4|0);
- $expanded114 = $242;
- $expanded113 = (($expanded114) - 1)|0;
- $243 = (($241) + ($expanded113))|0;
- $244 = ((0) + 4|0);
- $expanded118 = $244;
- $expanded117 = (($expanded118) - 1)|0;
- $expanded116 = $expanded117 ^ -1;
- $245 = $243 & $expanded116;
- $246 = $245;
- $247 = HEAP32[$246>>2]|0;
- $arglist_next53 = ((($246)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next53;
- $varet162 = $247;
- $248 = $varet162;
- $value160 = $248;
- $249 = $value160;
- $250 = $st$addr;
- $lfe = ((($250)) + 68|0);
- HEAP32[$lfe>>2] = $249;
- label = 40;
- break;
- }
- case 10026: {
- $arglist_current55 = HEAP32[$ap>>2]|0;
- $251 = $arglist_current55;
- $252 = ((0) + 4|0);
- $expanded121 = $252;
- $expanded120 = (($expanded121) - 1)|0;
- $253 = (($251) + ($expanded120))|0;
- $254 = ((0) + 4|0);
- $expanded125 = $254;
- $expanded124 = (($expanded125) - 1)|0;
- $expanded123 = $expanded124 ^ -1;
- $255 = $253 & $expanded123;
- $256 = $255;
- $257 = HEAP32[$256>>2]|0;
- $arglist_next56 = ((($256)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next56;
- $varet166 = $257;
- $258 = $varet166;
- $value164 = $258;
- $259 = $value164;
- $260 = $st$addr;
- $energy_mask = ((($260)) + 192|0);
- HEAP32[$energy_mask>>2] = $259;
- label = 40;
- break;
- }
- default: {
- $retval = -5;
- $261 = $retval;
- STACKTOP = sp;return ($261|0);
- }
- }
- } while(0);
- if ((label|0) == 40) {
- $retval = 0;
- $261 = $retval;
- STACKTOP = sp;return ($261|0);
- }
- else if ((label|0) == 41) {
- $retval = -1;
- $261 = $retval;
- STACKTOP = sp;return ($261|0);
- }
- return (0)|0;
-}
-function _celt_preemphasis($pcmp,$inp,$N,$CC,$upsample,$coef,$mem,$clip) {
- $pcmp = $pcmp|0;
- $inp = $inp|0;
- $N = $N|0;
- $CC = $CC|0;
- $upsample = $upsample|0;
- $coef = $coef|0;
- $mem = $mem|0;
- $clip = $clip|0;
- var $0 = 0, $1 = 0.0, $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0.0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0.0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0, $73 = 0.0, $74 = 0, $8 = 0, $9 = 0, $CC$addr = 0, $N$addr = 0, $Nu = 0, $arrayidx1 = 0, $arrayidx17 = 0;
- var $arrayidx20 = 0, $arrayidx30 = 0, $arrayidx33 = 0, $arrayidx38 = 0, $arrayidx43 = 0, $arrayidx49 = 0, $arrayidx5 = 0, $arrayidx58 = 0, $arrayidx60 = 0, $arrayidx7 = 0, $clip$addr = 0, $cmp = 0, $cmp14 = 0, $cmp2 = 0, $cmp27 = 0, $cmp31 = 0, $cmp34 = 0, $cmp39 = 0, $cmp4 = 0, $cmp55 = 0;
- var $cmp9 = 0, $coef$addr = 0, $coef0 = 0.0, $cond = 0.0, $cond47 = 0.0, $div = 0, $i = 0, $inc = 0, $inc22 = 0, $inc51 = 0, $inc63 = 0, $inp$addr = 0, $m = 0.0, $mem$addr = 0, $mul = 0, $mul11 = 0, $mul16 = 0, $mul18 = 0.0, $mul19 = 0, $mul29 = 0;
- var $mul32 = 0, $mul37 = 0, $mul42 = 0, $mul48 = 0, $mul6 = 0.0, $mul61 = 0.0, $mul8 = 0.0, $or$cond = 0, $or$cond$not = 0, $or$cond1 = 0, $pcmp$addr = 0, $sub = 0.0, $sub59 = 0.0, $tobool = 0, $tobool24 = 0, $upsample$addr = 0, $x = 0.0, $x57 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $pcmp$addr = $pcmp;
- $inp$addr = $inp;
- $N$addr = $N;
- $CC$addr = $CC;
- $upsample$addr = $upsample;
- $coef$addr = $coef;
- $mem$addr = $mem;
- $clip$addr = $clip;
- $0 = $coef$addr;
- $1 = +HEAPF32[$0>>2];
- $coef0 = $1;
- $2 = $mem$addr;
- $3 = +HEAPF32[$2>>2];
- $m = $3;
- $4 = $coef$addr;
- $arrayidx1 = ((($4)) + 4|0);
- $5 = +HEAPF32[$arrayidx1>>2];
- $cmp = $5 == 0.0;
- $6 = $upsample$addr;
- $cmp2 = ($6|0)==(1);
- $or$cond = $cmp & $cmp2;
- $or$cond$not = $or$cond ^ 1;
- $7 = $clip$addr;
- $tobool = ($7|0)!=(0);
- $or$cond1 = $or$cond$not | $tobool;
- if (!($or$cond1)) {
- $i = 0;
- while(1) {
- $8 = $i;
- $9 = $N$addr;
- $cmp4 = ($8|0)<($9|0);
- if (!($cmp4)) {
- break;
- }
- $10 = $pcmp$addr;
- $11 = $CC$addr;
- $12 = $i;
- $mul = Math_imul($11, $12)|0;
- $arrayidx5 = (($10) + ($mul<<2)|0);
- $13 = +HEAPF32[$arrayidx5>>2];
- $mul6 = $13 * 32768.0;
- $x = $mul6;
- $14 = $x;
- $15 = $m;
- $sub = $14 - $15;
- $16 = $inp$addr;
- $17 = $i;
- $arrayidx7 = (($16) + ($17<<2)|0);
- HEAPF32[$arrayidx7>>2] = $sub;
- $18 = $coef0;
- $19 = $x;
- $mul8 = $18 * $19;
- $m = $mul8;
- $20 = $i;
- $inc = (($20) + 1)|0;
- $i = $inc;
- }
- $21 = $m;
- $22 = $mem$addr;
- HEAPF32[$22>>2] = $21;
- STACKTOP = sp;return;
- }
- $23 = $N$addr;
- $24 = $upsample$addr;
- $div = (($23|0) / ($24|0))&-1;
- $Nu = $div;
- $25 = $upsample$addr;
- $cmp9 = ($25|0)!=(1);
- if ($cmp9) {
- $26 = $inp$addr;
- $27 = $N$addr;
- $mul11 = $27<<2;
- _memset(($26|0),0,($mul11|0))|0;
- }
- $i = 0;
- while(1) {
- $28 = $i;
- $29 = $Nu;
- $cmp14 = ($28|0)<($29|0);
- if (!($cmp14)) {
- break;
- }
- $30 = $pcmp$addr;
- $31 = $CC$addr;
- $32 = $i;
- $mul16 = Math_imul($31, $32)|0;
- $arrayidx17 = (($30) + ($mul16<<2)|0);
- $33 = +HEAPF32[$arrayidx17>>2];
- $mul18 = $33 * 32768.0;
- $34 = $inp$addr;
- $35 = $i;
- $36 = $upsample$addr;
- $mul19 = Math_imul($35, $36)|0;
- $arrayidx20 = (($34) + ($mul19<<2)|0);
- HEAPF32[$arrayidx20>>2] = $mul18;
- $37 = $i;
- $inc22 = (($37) + 1)|0;
- $i = $inc22;
- }
- $38 = $clip$addr;
- $tobool24 = ($38|0)!=(0);
- L16: do {
- if ($tobool24) {
- $i = 0;
- while(1) {
- $39 = $i;
- $40 = $Nu;
- $cmp27 = ($39|0)<($40|0);
- if (!($cmp27)) {
- break L16;
- }
- $41 = $inp$addr;
- $42 = $i;
- $43 = $upsample$addr;
- $mul29 = Math_imul($42, $43)|0;
- $arrayidx30 = (($41) + ($mul29<<2)|0);
- $44 = +HEAPF32[$arrayidx30>>2];
- $cmp31 = 65536.0 < $44;
- if ($cmp31) {
- $cond = 65536.0;
- } else {
- $45 = $inp$addr;
- $46 = $i;
- $47 = $upsample$addr;
- $mul32 = Math_imul($46, $47)|0;
- $arrayidx33 = (($45) + ($mul32<<2)|0);
- $48 = +HEAPF32[$arrayidx33>>2];
- $cond = $48;
- }
- $cmp34 = -65536.0 > $cond;
- if ($cmp34) {
- $cond47 = -65536.0;
- } else {
- $49 = $inp$addr;
- $50 = $i;
- $51 = $upsample$addr;
- $mul37 = Math_imul($50, $51)|0;
- $arrayidx38 = (($49) + ($mul37<<2)|0);
- $52 = +HEAPF32[$arrayidx38>>2];
- $cmp39 = 65536.0 < $52;
- if ($cmp39) {
- $cond47 = 65536.0;
- } else {
- $53 = $inp$addr;
- $54 = $i;
- $55 = $upsample$addr;
- $mul42 = Math_imul($54, $55)|0;
- $arrayidx43 = (($53) + ($mul42<<2)|0);
- $56 = +HEAPF32[$arrayidx43>>2];
- $cond47 = $56;
- }
- }
- $57 = $inp$addr;
- $58 = $i;
- $59 = $upsample$addr;
- $mul48 = Math_imul($58, $59)|0;
- $arrayidx49 = (($57) + ($mul48<<2)|0);
- HEAPF32[$arrayidx49>>2] = $cond47;
- $60 = $i;
- $inc51 = (($60) + 1)|0;
- $i = $inc51;
- }
- }
- } while(0);
- $i = 0;
- while(1) {
- $61 = $i;
- $62 = $N$addr;
- $cmp55 = ($61|0)<($62|0);
- if (!($cmp55)) {
- break;
- }
- $63 = $inp$addr;
- $64 = $i;
- $arrayidx58 = (($63) + ($64<<2)|0);
- $65 = +HEAPF32[$arrayidx58>>2];
- $x57 = $65;
- $66 = $x57;
- $67 = $m;
- $sub59 = $66 - $67;
- $68 = $inp$addr;
- $69 = $i;
- $arrayidx60 = (($68) + ($69<<2)|0);
- HEAPF32[$arrayidx60>>2] = $sub59;
- $70 = $coef0;
- $71 = $x57;
- $mul61 = $70 * $71;
- $m = $mul61;
- $72 = $i;
- $inc63 = (($72) + 1)|0;
- $i = $inc63;
- }
- $73 = $m;
- $74 = $mem$addr;
- HEAPF32[$74>>2] = $73;
- STACKTOP = sp;return;
-}
-function _celt_encode_with_ec($st,$pcm,$frame_size,$compressed,$nbCompressedBytes,$enc) {
- $st = $st|0;
- $pcm = $pcm|0;
- $frame_size = $frame_size|0;
- $compressed = $compressed|0;
- $nbCompressedBytes = $nbCompressedBytes|0;
- $enc = $enc|0;
- var $$old = 0, $$old3 = 0, $$sink = 0, $$sink19 = 0, $$sink20 = 0, $$sink25 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0;
- var $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0, $1013 = 0, $1014 = 0, $1015 = 0, $1016 = 0, $1017 = 0, $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0.0, $1027 = 0;
- var $1028 = 0, $1029 = 0, $103 = 0, $1030 = 0, $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0, $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0;
- var $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0, $105 = 0, $1050 = 0, $1051 = 0, $1052 = 0, $1053 = 0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0.0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0.0, $1061 = 0, $1062 = 0, $1063 = 0;
- var $1064 = 0, $1065 = 0.0, $1066 = 0, $1067 = 0, $1068 = 0, $1069 = 0, $107 = 0, $1070 = 0, $1071 = 0, $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0;
- var $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0, $1086 = 0, $1087 = 0, $1088 = 0, $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0, $11 = 0;
- var $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0, $1103 = 0, $1104 = 0, $1105 = 0, $1106 = 0, $1107 = 0, $1108 = 0, $1109 = 0, $111 = 0, $1110 = 0, $1111 = 0, $1112 = 0, $1113 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0.0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0.0;
- var $189 = 0, $19 = 0, $190 = 0.0, $191 = 0.0, $192 = 0, $193 = 0.0, $194 = 0.0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0.0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0.0, $262 = 0, $263 = 0.0, $264 = 0, $265 = 0, $266 = 0, $267 = 0.0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
- var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
- var $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0.0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0;
- var $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0.0, $363 = 0.0, $364 = 0, $365 = 0.0, $366 = 0.0, $367 = 0, $368 = 0;
- var $369 = 0.0, $37 = 0, $370 = 0, $371 = 0.0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0;
- var $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0.0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0;
- var $404 = 0, $405 = 0.0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0.0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0.0, $418 = 0.0, $419 = 0.0, $42 = 0, $420 = 0.0, $421 = 0;
- var $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0.0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0.0, $436 = 0, $437 = 0, $438 = 0.0, $439 = 0, $44 = 0;
- var $440 = 0, $441 = 0.0, $442 = 0, $443 = 0.0, $444 = 0.0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0.0, $45 = 0, $450 = 0.0, $451 = 0.0, $452 = 0.0, $453 = 0.0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0;
- var $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0.0, $464 = 0.0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0.0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0.0;
- var $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0.0, $483 = 0.0, $484 = 0.0, $485 = 0.0, $486 = 0.0, $487 = 0.0, $488 = 0.0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0.0, $494 = 0.0;
- var $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0.0, $5 = 0, $50 = 0, $500 = 0, $501 = 0.0, $502 = 0, $503 = 0, $504 = 0.0, $505 = 0.0, $506 = 0.0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0;
- var $512 = 0, $513 = 0, $514 = 0.0, $515 = 0, $516 = 0.0, $517 = 0.0, $518 = 0.0, $519 = 0, $52 = 0, $520 = 0.0, $521 = 0.0, $522 = 0, $523 = 0.0, $524 = 0, $525 = 0, $526 = 0.0, $527 = 0.0, $528 = 0.0, $529 = 0, $53 = 0;
- var $530 = 0, $531 = 0.0, $532 = 0.0, $533 = 0.0, $534 = 0.0, $535 = 0, $536 = 0, $537 = 0, $538 = 0.0, $539 = 0.0, $54 = 0, $540 = 0, $541 = 0.0, $542 = 0.0, $543 = 0.0, $544 = 0.0, $545 = 0.0, $546 = 0.0, $547 = 0, $548 = 0.0;
- var $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0;
- var $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0;
- var $585 = 0, $586 = 0, $587 = 0, $588 = 0.0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $6 = 0, $60 = 0, $600 = 0, $601 = 0;
- var $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0.0, $62 = 0;
- var $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0;
- var $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0;
- var $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0;
- var $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0;
- var $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0;
- var $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0;
- var $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0;
- var $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0;
- var $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0;
- var $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0.0, $799 = 0, $8 = 0, $80 = 0;
- var $800 = 0, $801 = 0.0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0;
- var $819 = 0, $82 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0.0;
- var $837 = 0, $838 = 0.0, $839 = 0, $84 = 0, $840 = 0.0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0.0, $848 = 0.0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0;
- var $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0, $872 = 0;
- var $873 = 0, $874 = 0, $875 = 0, $876 = 0, $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0, $884 = 0.0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0, $890 = 0;
- var $891 = 0, $892 = 0, $893 = 0, $894 = 0, $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0;
- var $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0;
- var $927 = 0, $928 = 0, $929 = 0, $93 = 0, $930 = 0, $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0, $944 = 0;
- var $945 = 0, $946 = 0, $947 = 0, $948 = 0, $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0;
- var $963 = 0, $964 = 0, $965 = 0, $966 = 0, $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0, $980 = 0;
- var $981 = 0, $982 = 0, $983 = 0, $984 = 0, $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0, $999 = 0;
- var $C = 0, $CC = 0, $LM = 0, $M = 0, $N = 0, $_enc = 0, $add = 0, $add$ptr = 0, $add$ptr1266 = 0, $add$ptr205 = 0, $add$ptr23 = 0, $add$ptr25 = 0, $add$ptr250 = 0, $add$ptr253 = 0, $add$ptr254 = 0, $add$ptr258 = 0, $add$ptr27 = 0, $add1014 = 0, $add1046 = 0, $add1053 = 0;
- var $add1066 = 0, $add1067 = 0, $add1068 = 0, $add1071 = 0, $add1073 = 0, $add1081 = 0, $add1086 = 0, $add1101 = 0, $add1111 = 0, $add1125 = 0, $add1145 = 0, $add1148 = 0, $add1153 = 0, $add1170 = 0, $add121 = 0, $add1228 = 0, $add1243 = 0, $add1314 = 0, $add1325 = 0, $add1333 = 0;
- var $add136 = 0, $add1361 = 0, $add1364 = 0, $add1367 = 0, $add1377 = 0, $add1380 = 0, $add1383 = 0, $add144 = 0, $add154 = 0, $add163 = 0, $add174 = 0, $add183 = 0, $add232 = 0, $add237 = 0, $add245 = 0, $add251 = 0, $add30 = 0, $add328 = 0, $add334 = 0, $add339 = 0;
- var $add349 = 0, $add356 = 0, $add39 = 0, $add390 = 0.0, $add46 = 0, $add465 = 0, $add472 = 0, $add482 = 0, $add489 = 0, $add502 = 0, $add510 = 0.0, $add511 = 0, $add517 = 0, $add519 = 0, $add523 = 0.0, $add53 = 0, $add532 = 0.0, $add536 = 0, $add561 = 0, $add580 = 0.0;
- var $add587 = 0, $add596 = 0, $add596$sink = 0, $add624 = 0.0, $add65 = 0, $add650 = 0.0, $add682 = 0, $add689 = 0, $add695 = 0.0, $add723 = 0.0, $add730 = 0, $add736 = 0, $add762 = 0.0, $add772 = 0, $add83 = 0, $add838 = 0, $add910 = 0, $add940 = 0, $add958 = 0, $add959 = 0;
- var $add99 = 0, $adjust = 0, $alloc_trim = 0, $alpha = 0.0, $analysis = 0, $analysis1023 = 0, $analysis1055 = 0, $analysis1179 = 0, $analysis1207 = 0, $analysis1211 = 0, $analysis303 = 0, $anti_collapse_on = 0, $anti_collapse_rsv = 0, $arch = 0, $arch1025 = 0, $arch1274 = 0, $arch396 = 0, $arch753 = 0, $arrayidx = 0, $arrayidx1292 = 0;
- var $arrayidx1306 = 0, $arrayidx1308 = 0, $arrayidx1340 = 0, $arrayidx1341 = 0, $arrayidx1345 = 0, $arrayidx1347 = 0, $arrayidx1347$sink = 0, $arrayidx1350 = 0, $arrayidx1362 = 0, $arrayidx1365 = 0, $arrayidx1368 = 0, $arrayidx1378 = 0, $arrayidx1381 = 0, $arrayidx1384 = 0, $arrayidx411 = 0, $arrayidx417 = 0, $arrayidx423 = 0, $arrayidx424 = 0, $arrayidx428 = 0, $arrayidx432 = 0;
- var $arrayidx466 = 0, $arrayidx473 = 0, $arrayidx483 = 0, $arrayidx490 = 0, $arrayidx503 = 0, $arrayidx505 = 0, $arrayidx512 = 0, $arrayidx514 = 0, $arrayidx562 = 0, $arrayidx564 = 0, $arrayidx585 = 0, $arrayidx588 = 0, $arrayidx597 = 0, $arrayidx615 = 0, $arrayidx634 = 0, $arrayidx640 = 0, $arrayidx644 = 0, $arrayidx668 = 0, $arrayidx675 = 0, $arrayidx683 = 0;
- var $arrayidx690 = 0, $arrayidx761 = 0, $arrayidx816 = 0, $arrayidx817 = 0, $arrayidx826 = 0, $arrayidx911 = 0, $arrayidx913 = 0, $arrayidx945 = 0, $arrayidx951 = 0, $arrayidx974 = 0, $balance = 0, $bandwidth = 0, $bandwidth1212 = 0, $base_target = 0, $bitrate = 0, $bitrate116 = 0, $bitrate119 = 0, $bitrate36 = 0, $bitrate42 = 0, $bitrate48 = 0;
- var $bits = 0, $boost = 0, $c = 0, $call = 0, $call1026 = 0, $call1028 = 0, $call1065 = 0, $call1162 = 0, $call1223 = 0, $call1283 = 0, $call1404 = 0, $call189 = 0.0, $call198 = 0.0, $call209 = 0.0, $call243 = 0, $call294 = 0, $call350 = 0, $call355 = 0, $call735 = 0, $call749 = 0;
- var $call771 = 0, $call810 = 0, $call837 = 0, $call878 = 0, $call889 = 0.0, $call905 = 0, $call954 = 0, $call984 = 0, $call988 = 0, $channels = 0, $cleanup$dest$slot = 0, $clip = 0, $cmp = 0, $cmp1003 = 0, $cmp1016 = 0, $cmp1030 = 0, $cmp1037 = 0, $cmp1063 = 0, $cmp1075 = 0, $cmp1082 = 0;
- var $cmp1095 = 0, $cmp1134 = 0, $cmp1149 = 0, $cmp1167 = 0, $cmp117 = 0, $cmp1172 = 0, $cmp1184 = 0, $cmp1189 = 0, $cmp1194 = 0, $cmp1199 = 0, $cmp1208 = 0, $cmp1231 = 0, $cmp1239 = 0, $cmp1247 = 0, $cmp1263 = 0, $cmp127 = 0, $cmp1275 = 0, $cmp1279 = 0, $cmp1289 = 0, $cmp13 = 0;
- var $cmp130 = 0, $cmp1300 = 0, $cmp1303 = 0, $cmp1337 = 0, $cmp134 = 0, $cmp1342 = 0, $cmp1357 = 0, $cmp1373 = 0, $cmp139 = 0, $cmp1390 = 0, $cmp141 = 0, $cmp150 = 0, $cmp152 = 0, $cmp158 = 0, $cmp160 = 0, $cmp172 = 0, $cmp179 = 0, $cmp190 = 0, $cmp212 = 0, $cmp220 = 0;
- var $cmp222 = 0, $cmp229 = 0, $cmp233 = 0, $cmp248 = 0, $cmp260 = 0, $cmp264 = 0, $cmp268 = 0, $cmp271 = 0, $cmp271$old = 0, $cmp278 = 0, $cmp28 = 0, $cmp283 = 0, $cmp286 = 0, $cmp295 = 0, $cmp298 = 0, $cmp305 = 0, $cmp311 = 0, $cmp318 = 0, $cmp32 = 0, $cmp322 = 0;
- var $cmp325 = 0, $cmp329 = 0, $cmp33 = 0, $cmp343 = 0, $cmp352 = 0, $cmp357 = 0, $cmp374 = 0, $cmp385 = 0, $cmp397 = 0, $cmp400 = 0, $cmp408 = 0, $cmp414 = 0, $cmp425 = 0, $cmp44 = 0, $cmp440 = 0, $cmp448 = 0, $cmp456 = 0, $cmp460 = 0, $cmp467 = 0, $cmp477 = 0;
- var $cmp484 = 0, $cmp49 = 0, $cmp497 = 0, $cmp542 = 0, $cmp548 = 0, $cmp551 = 0, $cmp567 = 0, $cmp574 = 0, $cmp581 = 0, $cmp589 = 0, $cmp60 = 0, $cmp604 = 0, $cmp611 = 0, $cmp621 = 0, $cmp625 = 0, $cmp631 = 0, $cmp636 = 0, $cmp664 = 0, $cmp670 = 0, $cmp679 = 0;
- var $cmp685 = 0, $cmp7 = 0, $cmp703 = 0, $cmp709 = 0, $cmp713 = 0, $cmp732 = 0, $cmp737 = 0, $cmp743 = 0, $cmp756 = 0, $cmp768 = 0, $cmp773 = 0, $cmp78 = 0, $cmp781 = 0, $cmp784 = 0, $cmp788 = 0, $cmp794 = 0, $cmp798 = 0, $cmp8 = 0, $cmp802 = 0, $cmp812 = 0;
- var $cmp823 = 0, $cmp834 = 0, $cmp839 = 0, $cmp850 = 0, $cmp854 = 0, $cmp857 = 0, $cmp861 = 0, $cmp894 = 0, $cmp9 = 0, $cmp907 = 0, $cmp919 = 0, $cmp925 = 0, $cmp930 = 0, $cmp94 = 0, $cmp942 = 0, $cmp946 = 0, $cmp952 = 0, $cmp966 = 0, $cmp978 = 0, $cmp981 = 0;
- var $cmp991 = 0, $cmp998 = 0, $codedBands = 0, $complexity = 0, $complexity342 = 0, $complexity373 = 0, $complexity742 = 0, $complexity787 = 0, $complexity833 = 0, $complexity849 = 0, $complexity860 = 0, $compressed$addr = 0, $cond = 0, $cond1011 = 0, $cond1044 = 0, $cond1080 = 0, $cond1088 = 0, $cond113 = 0, $cond1144 = 0, $cond1155 = 0;
- var $cond1176 = 0, $cond1215 = 0, $cond1238 = 0, $cond1256 = 0, $cond1269 = 0, $cond135 = 0, $cond142 = 0, $cond149 = 0, $cond153 = 0, $cond161 = 0, $cond171 = 0, $cond200 = 0.0, $cond217 = 0.0, $cond239 = 0, $cond422 = 0.0, $cond431 = 0.0, $cond454 = 0, $cond476 = 0.0, $cond496 = 0.0, $cond547 = 0.0;
- var $cond556 = 0.0, $cond559 = 0.0, $cond609 = 0.0, $cond643 = 0.0, $cond662 = 0.0, $cond678 = 0.0, $cond693 = 0.0, $cond708 = 0.0, $cond718 = 0.0, $cond720 = 0.0, $cond77 = 0, $cond900 = 0, $cond924 = 0, $cond935 = 0, $cond937 = 0, $cond972 = 0, $cond997 = 0, $consec_transient = 0, $consec_transient1278 = 0, $consec_transient1397 = 0;
- var $constrained_vbr = 0, $constrained_vbr1049 = 0, $constrained_vbr1058 = 0, $constrained_vbr1106 = 0, $constrained_vbr1113 = 0, $constrained_vbr1130 = 0, $constrained_vbr887 = 0, $conv = 0.0, $conv1064 = 0, $conv1102 = 0.0, $conv1121 = 0.0, $conv1123 = 0, $conv1280 = 0, $conv221 = 0, $conv304 = 0.0, $conv308 = 0.0, $conv309 = 0.0, $conv314 = 0.0, $conv316 = 0.0, $conv388 = 0.0;
- var $conv504 = 0, $conv506 = 0, $conv508 = 0.0, $conv513 = 0, $conv515 = 0, $conv521 = 0.0, $conv530 = 0.0, $conv539 = 0.0, $conv563 = 0, $conv565 = 0, $conv578 = 0.0, $conv658 = 0.0, $conv700 = 0.0, $conv759 = 0.0, $conv835 = 0, $conv912 = 0, $conv914 = 0, $conv953 = 0, $conv987 = 0.0, $count = 0;
- var $count_dynalloc = 0, $delayedIntra = 0, $delta = 0, $den = 0, $diff = 0.0, $disable_pf = 0, $div = 0, $div102 = 0, $div1103 = 0.0, $div1139 = 0, $div188 = 0, $div197 = 0, $div204 = 0, $div208 = 0, $div219 = 0.0, $div531 = 0.0, $div540 = 0.0, $div56 = 0, $div566 = 0, $div68 = 0;
- var $div701 = 0.0, $div86 = 0, $div893 = 0, $div898 = 0, $div986 = 0, $dual_stereo = 0, $dynalloc_logp = 0, $dynalloc_loop_logp = 0, $eBands = 0, $eBands4 = 0, $effEBands = 0, $effEBands181 = 0, $effEnd = 0, $effectiveBytes = 0, $enabled = 0, $enc$addr = 0, $end = 0, $end6 = 0, $energy_mask = 0, $energy_mask1062 = 0;
- var $energy_mask463 = 0, $energy_mask470 = 0, $energy_mask480 = 0, $energy_mask487 = 0, $energy_mask584 = 0, $energy_mask586 = 0, $energy_mask592 = 0, $equiv_rate = 0, $flag = 0, $follow = 0.0, $force_intra = 0, $frame_avg = 0.0, $frame_size$addr = 0, $gain1 = 0, $hf_average = 0, $i = 0, $in_mem = 0, $in_mem20 = 0, $inc = 0, $inc1099 = 0;
- var $inc1294 = 0, $inc1352 = 0, $inc1370 = 0, $inc1386 = 0, $inc1389 = 0, $inc1398 = 0, $inc259 = 0, $inc392 = 0, $inc434 = 0, $inc525 = 0, $inc528 = 0, $inc571 = 0, $inc616 = 0, $inc619 = 0, $inc646 = 0, $inc697 = 0, $inc764 = 0, $inc819 = 0, $inc828 = 0, $inc961 = 0;
- var $inc976 = 0, $intensity = 0, $intensity1002 = 0, $intensity1007 = 0, $intensity1012 = 0, $intensity1024 = 0, $intensity1057 = 0, $intensity1221 = 0, $intensity1271 = 0, $intensity989 = 0, $intensity990 = 0, $intensity995 = 0, $isTransient = 0, $j = 0, $lambda = 0, $land$ext = 0, $land$ext293 = 0, $land$ext377 = 0, $land$ext877 = 0, $lastCodedBands = 0;
- var $lastCodedBands1056 = 0, $lastCodedBands1222 = 0, $lastCodedBands1224 = 0, $lastCodedBands1227 = 0, $lastCodedBands1229 = 0, $lastCodedBands1234 = 0, $lastCodedBands1242 = 0, $lastCodedBands1250 = 0, $lastCodedBands1259 = 0, $lastCodedBands452 = 0, $lfe = 0, $lfe1019 = 0, $lfe1061 = 0, $lfe1217 = 0, $lfe346 = 0, $lfe404 = 0, $lfe445 = 0, $lfe653 = 0, $lfe746 = 0, $lfe791 = 0;
- var $lfe836 = 0, $lfe842 = 0, $lfe888 = 0, $lfe890 = 0, $lin = 0.0, $lm_diff = 0, $lnot = 0, $lnot$ext = 0, $lnot$ext108 = 0, $lnot$ext74 = 0, $lnot$ext92 = 0, $lnot105 = 0, $lnot107 = 0, $lnot290 = 0, $lnot58 = 0, $lnot71 = 0, $lnot73 = 0, $lnot874 = 0, $lnot89 = 0, $lnot91 = 0;
- var $logN = 0, $loss_rate = 0, $lsb_depth = 0, $lsb_depth885 = 0, $mask = 0.0, $mask_avg = 0.0, $mask_end = 0, $maxDepth = 0.0, $maxLM = 0, $maxLM1033 = 0, $maxLM12 = 0, $max_allowed = 0, $midband = 0, $min_allowed = 0, $min_bandwidth = 0, $mode = 0, $mul = 0, $mul101 = 0, $mul1045 = 0, $mul1117 = 0;
- var $mul1122 = 0.0, $mul1160 = 0, $mul1183 = 0, $mul1188 = 0, $mul1193 = 0, $mul1198 = 0, $mul120 = 0, $mul124 = 0, $mul1261 = 0, $mul1272 = 0, $mul1282 = 0, $mul1288 = 0, $mul1307 = 0, $mul1313 = 0, $mul1318 = 0, $mul1319 = 0, $mul1324 = 0, $mul1326 = 0, $mul1327 = 0, $mul1332 = 0;
- var $mul1336 = 0, $mul1360 = 0, $mul1363 = 0, $mul1366 = 0, $mul1376 = 0, $mul1379 = 0, $mul1382 = 0, $mul178 = 0, $mul18 = 0, $mul184 = 0, $mul186 = 0, $mul19 = 0, $mul195 = 0, $mul202 = 0, $mul206 = 0, $mul22 = 0, $mul24 = 0, $mul240 = 0, $mul242 = 0, $mul252 = 0;
- var $mul26 = 0, $mul267 = 0, $mul310 = 0.0, $mul317 = 0.0, $mul365 = 0, $mul367 = 0, $mul369 = 0, $mul37 = 0, $mul378 = 0, $mul384 = 0, $mul389 = 0.0, $mul413 = 0.0, $mul420 = 0.0, $mul43 = 0, $mul437 = 0, $mul439 = 0, $mul464 = 0, $mul471 = 0, $mul481 = 0, $mul488 = 0;
- var $mul500 = 0.0, $mul509 = 0.0, $mul518 = 0, $mul52 = 0, $mul522 = 0.0, $mul533 = 0.0, $mul535 = 0, $mul537 = 0, $mul538 = 0, $mul541 = 0.0, $mul55 = 0, $mul579 = 0.0, $mul628 = 0, $mul64 = 0, $mul651 = 0.0, $mul659 = 0.0, $mul67 = 0, $mul721 = 0.0, $mul727 = 0, $mul728 = 0;
- var $mul729 = 0, $mul755 = 0, $mul760 = 0.0, $mul777 = 0, $mul780 = 0, $mul809 = 0, $mul82 = 0, $mul831 = 0, $mul85 = 0, $mul853 = 0, $mul916 = 0, $mul98 = 0, $nbAvailableBytes = 0, $nbCompressedBytes$addr = 0, $nbEBands = 0, $nbEBands2 = 0, $nbFilledBytes = 0, $nbits_total = 0, $need_clip = 0, $octave = 0;
- var $offset = 0.0, $oldBandE = 0, $oldLogE = 0, $oldLogE2 = 0, $or$cond = 0, $or$cond1 = 0, $or$cond10 = 0, $or$cond12 = 0, $or$cond14 = 0, $or$cond16 = 0, $or$cond18 = 0, $or$cond2 = 0, $or$cond2$not = 0, $or$cond22 = 0, $or$cond24 = 0, $or$cond4 = 0, $or$cond6 = 0, $or$cond8 = 0, $overlap = 0, $overlap3 = 0;
- var $overlap_max = 0, $overlap_max192 = 0, $overlap_max210 = 0, $overlap_max211 = 0, $overlap_max215 = 0, $pcm$addr = 0, $pf_on = 0, $pitch_change = 0, $pitch_index = 0, $preemph = 0, $preemph_memE = 0, $prefilter_gain = 0, $prefilter_gain1298 = 0, $prefilter_mem = 0, $prefilter_period = 0, $prefilter_period1297 = 0, $prefilter_period315 = 0, $prefilter_tapset = 0, $prefilter_tapset1299 = 0, $qg = 0;
- var $quanta = 0, $retval = 0, $rng = 0, $rng1402 = 0, $rng1403 = 0, $sample_max = 0.0, $saved_stack = 0, $secondMdct = 0, $shl = 0, $shl1047 = 0, $shl1091 = 0, $shl1116 = 0, $shl1161 = 0, $shl1171 = 0, $shl16 = 0, $shl218 = 0, $shl337 = 0, $shl904 = 0, $shl917 = 0, $shl918 = 0;
- var $shl928 = 0, $shl939 = 0, $shortBlocks = 0, $shortMdctSize = 0, $shortMdctSize17 = 0, $shr = 0, $shr1036 = 0, $shr1042 = 0, $shr1052 = 0, $shr1070 = 0, $shr1074 = 0, $shr122 = 0, $shr138 = 0, $shr147 = 0, $shr157 = 0, $shr166 = 0, $shr35 = 0, $shr38 = 0, $shr40 = 0, $signalBandwidth = 0;
- var $signalling = 0, $signalling103 = 0, $signalling69 = 0, $signalling87 = 0, $silence = 0, $spec_avg = 0, $spec_avg722 = 0, $spread_decision = 0, $spread_decision1270 = 0, $spread_decision864 = 0, $spread_decision869 = 0, $spread_decision879 = 0, $spread_decision882 = 0, $st$addr = 0, $start = 0, $start5 = 0, $stereo_saving = 0, $stereo_saving1059 = 0, $stream_channels = 0, $sub = 0;
- var $sub$ptr$div = 0, $sub$ptr$div1312 = 0, $sub$ptr$div1323 = 0, $sub$ptr$div1331 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast1309 = 0, $sub$ptr$lhs$cast1320 = 0, $sub$ptr$lhs$cast1328 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast1310 = 0, $sub$ptr$rhs$cast1321 = 0, $sub$ptr$rhs$cast1329 = 0, $sub$ptr$sub = 0, $sub$ptr$sub1311 = 0, $sub$ptr$sub1322 = 0, $sub$ptr$sub1330 = 0, $sub1015 = 0, $sub1034 = 0, $sub1035 = 0, $sub1041 = 0;
- var $sub1048 = 0, $sub1069 = 0, $sub1072 = 0, $sub1089 = 0, $sub109 = 0, $sub1090 = 0, $sub1109 = 0, $sub1119 = 0, $sub1120 = 0, $sub1127 = 0, $sub1138 = 0, $sub1163 = 0, $sub1164 = 0, $sub1177 = 0, $sub1178 = 0, $sub123 = 0, $sub1230 = 0, $sub1235 = 0, $sub1246 = 0, $sub125 = 0;
- var $sub1251 = 0, $sub1273 = 0, $sub1284 = 0, $sub137 = 0, $sub146 = 0, $sub156 = 0, $sub165 = 0, $sub185 = 0, $sub194 = 0, $sub201 = 0, $sub244 = 0, $sub335 = 0, $sub336 = 0, $sub338 = 0, $sub340 = 0, $sub507 = 0, $sub516 = 0, $sub520 = 0, $sub534 = 0, $sub577 = 0;
- var $sub59 = 0, $sub610 = 0.0, $sub614 = 0.0, $sub635 = 0.0, $sub641 = 0.0, $sub667 = 0.0, $sub669 = 0.0, $sub673 = 0.0, $sub676 = 0.0, $sub684 = 0.0, $sub691 = 0.0, $sub699 = 0, $sub702 = 0.0, $sub75 = 0, $sub815 = 0, $sub915 = 0, $sub93 = 0, $sub941 = 0, $sub965 = 0, $sub970 = 0;
- var $surround_masking = 0.0, $surround_trim = 0.0, $tapset_decision = 0, $tapset_decision845 = 0, $tapset_decision870 = 0, $target = 0, $tell = 0, $temporal_vbr = 0.0, $tf_chan = 0, $tf_estimate = 0, $tf_select = 0, $tf_sum = 0, $tmp = 0, $tobool = 0, $tobool1020 = 0, $tobool104 = 0, $tobool1050 = 0, $tobool1092 = 0, $tobool1107 = 0, $tobool1114 = 0;
- var $tobool1131 = 0, $tobool1140 = 0, $tobool1165 = 0, $tobool1181 = 0, $tobool1218 = 0, $tobool1225 = 0, $tobool1285 = 0, $tobool1316 = 0, $tobool132 = 0, $tobool1393 = 0, $tobool1395 = 0, $tobool1405 = 0, $tobool227 = 0, $tobool247 = 0, $tobool262 = 0, $tobool274 = 0, $tobool274$old = 0, $tobool276 = 0, $tobool281 = 0, $tobool301 = 0;
- var $tobool347 = 0, $tobool360 = 0, $tobool371 = 0, $tobool380 = 0, $tobool405 = 0, $tobool443 = 0, $tobool446 = 0, $tobool57 = 0, $tobool654 = 0, $tobool656 = 0, $tobool70 = 0, $tobool725 = 0, $tobool740 = 0, $tobool747 = 0, $tobool750 = 0, $tobool792 = 0, $tobool843 = 0, $tobool847 = 0, $tobool871 = 0, $tobool873 = 0;
- var $tobool88 = 0, $tobool891 = 0, $tobool955 = 0, $tobool963 = 0, $tonal_average = 0, $tonality = 0, $tot_boost = 0, $total_bits = 0, $total_boost = 0, $transient_got_disabled = 0, $unmask = 0.0, $upsample = 0, $upsample187 = 0, $upsample196 = 0, $upsample203 = 0, $upsample207 = 0, $upsample255 = 0, $upsample382 = 0, $upsample395 = 0, $upsample752 = 0;
- var $variable_duration = 0, $variable_duration1060 = 0, $vbr = 0, $vbr886 = 0, $vbr_bound = 0, $vbr_count = 0, $vbr_count1098 = 0, $vbr_count1100 = 0, $vbr_drift = 0, $vbr_drift1124 = 0, $vbr_drift1126 = 0, $vbr_offset = 0, $vbr_offset1118 = 0, $vbr_offset1128 = 0, $vbr_rate = 0, $vbr_reservoir = 0, $vbr_reservoir1110 = 0, $vbr_reservoir1133 = 0, $vbr_reservoir1137 = 0, $vbr_reservoir1146 = 0;
- var $vbr_reservoir145 = 0, $vbr_reservoir155 = 0, $vbr_reservoir164 = 0, $vla = 0, $vla$alloca_mul = 0, $vla1157 = 0, $vla1157$alloca_mul = 0, $vla1158 = 0, $vla1158$alloca_mul = 0, $vla1159 = 0, $vla1159$alloca_mul = 0, $vla1262 = 0, $vla1262$alloca_mul = 0, $vla366 = 0, $vla366$alloca_mul = 0, $vla368 = 0, $vla368$alloca_mul = 0, $vla370 = 0, $vla370$alloca_mul = 0, $vla379 = 0;
- var $vla379$alloca_mul = 0, $vla438 = 0, $vla438$alloca_mul = 0, $vla778 = 0, $vla778$alloca_mul = 0, $vla779 = 0, $vla779$alloca_mul = 0, $vla832 = 0, $vla832$alloca_mul = 0, $vla884 = 0, $vla884$alloca_mul = 0, $vla903 = 0, $vla903$alloca_mul = 0, $width = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 448|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(448|0);
- $_enc = sp + 352|0;
- $tf_sum = sp + 280|0;
- $pitch_index = sp + 272|0;
- $gain1 = sp + 268|0;
- $dual_stereo = sp + 264|0;
- $balance = sp + 240|0;
- $tf_chan = sp + 212|0;
- $tf_estimate = sp + 208|0;
- $tot_boost = sp + 200|0;
- $qg = sp + 116|0;
- $st$addr = $st;
- $pcm$addr = $pcm;
- $frame_size$addr = $frame_size;
- $compressed$addr = $compressed;
- $nbCompressedBytes$addr = $nbCompressedBytes;
- $enc$addr = $enc;
- $shortBlocks = 0;
- $isTransient = 0;
- $0 = $st$addr;
- $channels = ((($0)) + 4|0);
- $1 = HEAP32[$channels>>2]|0;
- $CC = $1;
- $2 = $st$addr;
- $stream_channels = ((($2)) + 8|0);
- $3 = HEAP32[$stream_channels>>2]|0;
- $C = $3;
- HEAP32[$pitch_index>>2] = 15;
- HEAPF32[$gain1>>2] = 0.0;
- HEAP32[$dual_stereo>>2] = 0;
- $prefilter_tapset = 0;
- $anti_collapse_on = 0;
- $silence = 0;
- HEAP32[$tf_chan>>2] = 0;
- $pitch_change = 0;
- $transient_got_disabled = 0;
- $surround_masking = 0.0;
- $temporal_vbr = 0.0;
- $surround_trim = 0.0;
- $equiv_rate = 510000;
- $4 = $st$addr;
- $5 = HEAP32[$4>>2]|0;
- $mode = $5;
- $6 = $mode;
- $nbEBands2 = ((($6)) + 8|0);
- $7 = HEAP32[$nbEBands2>>2]|0;
- $nbEBands = $7;
- $8 = $mode;
- $overlap3 = ((($8)) + 4|0);
- $9 = HEAP32[$overlap3>>2]|0;
- $overlap = $9;
- $10 = $mode;
- $eBands4 = ((($10)) + 32|0);
- $11 = HEAP32[$eBands4>>2]|0;
- $eBands = $11;
- $12 = $st$addr;
- $start5 = ((($12)) + 32|0);
- $13 = HEAP32[$start5>>2]|0;
- $start = $13;
- $14 = $st$addr;
- $end6 = ((($14)) + 36|0);
- $15 = HEAP32[$end6>>2]|0;
- $end = $15;
- HEAPF32[$tf_estimate>>2] = 0.0;
- $16 = $nbCompressedBytes$addr;
- $cmp = ($16|0)<(2);
- $17 = $pcm$addr;
- $cmp7 = ($17|0)==(0|0);
- $or$cond = $cmp | $cmp7;
- if ($or$cond) {
- $retval = -1;
- $1113 = $retval;
- STACKTOP = sp;return ($1113|0);
- }
- $18 = $st$addr;
- $upsample = ((($18)) + 28|0);
- $19 = HEAP32[$upsample>>2]|0;
- $20 = $frame_size$addr;
- $mul = Math_imul($20, $19)|0;
- $frame_size$addr = $mul;
- $LM = 0;
- while(1) {
- $21 = $LM;
- $22 = $mode;
- $maxLM = ((($22)) + 36|0);
- $23 = HEAP32[$maxLM>>2]|0;
- $cmp8 = ($21|0)<=($23|0);
- if (!($cmp8)) {
- break;
- }
- $24 = $mode;
- $shortMdctSize = ((($24)) + 44|0);
- $25 = HEAP32[$shortMdctSize>>2]|0;
- $26 = $LM;
- $shl = $25 << $26;
- $27 = $frame_size$addr;
- $cmp9 = ($shl|0)==($27|0);
- if ($cmp9) {
- break;
- }
- $28 = $LM;
- $inc = (($28) + 1)|0;
- $LM = $inc;
- }
- $29 = $LM;
- $30 = $mode;
- $maxLM12 = ((($30)) + 36|0);
- $31 = HEAP32[$maxLM12>>2]|0;
- $cmp13 = ($29|0)>($31|0);
- if ($cmp13) {
- $retval = -1;
- $1113 = $retval;
- STACKTOP = sp;return ($1113|0);
- }
- $32 = $LM;
- $shl16 = 1 << $32;
- $M = $shl16;
- $33 = $M;
- $34 = $mode;
- $shortMdctSize17 = ((($34)) + 44|0);
- $35 = HEAP32[$shortMdctSize17>>2]|0;
- $mul18 = Math_imul($33, $35)|0;
- $N = $mul18;
- $36 = $st$addr;
- $in_mem = ((($36)) + 200|0);
- $37 = $CC;
- $38 = $overlap;
- $mul19 = Math_imul($37, $38)|0;
- $add$ptr = (($in_mem) + ($mul19<<2)|0);
- $prefilter_mem = $add$ptr;
- $39 = $st$addr;
- $in_mem20 = ((($39)) + 200|0);
- $40 = $CC;
- $41 = $overlap;
- $add = (($41) + 1024)|0;
- $mul22 = Math_imul($40, $add)|0;
- $add$ptr23 = (($in_mem20) + ($mul22<<2)|0);
- $oldBandE = $add$ptr23;
- $42 = $oldBandE;
- $43 = $CC;
- $44 = $nbEBands;
- $mul24 = Math_imul($43, $44)|0;
- $add$ptr25 = (($42) + ($mul24<<2)|0);
- $oldLogE = $add$ptr25;
- $45 = $oldLogE;
- $46 = $CC;
- $47 = $nbEBands;
- $mul26 = Math_imul($46, $47)|0;
- $add$ptr27 = (($45) + ($mul26<<2)|0);
- $oldLogE2 = $add$ptr27;
- $48 = $enc$addr;
- $cmp28 = ($48|0)==(0|0);
- if ($cmp28) {
- $tell = 1;
- $nbFilledBytes = 0;
- } else {
- $49 = $enc$addr;
- $call = (_ec_tell_50($49)|0);
- $tell = $call;
- $50 = $tell;
- $add30 = (($50) + 4)|0;
- $shr = $add30 >> 3;
- $nbFilledBytes = $shr;
- }
- $51 = $nbCompressedBytes$addr;
- $cmp32 = ($51|0)<(1275);
- $52 = $nbCompressedBytes$addr;
- $cond = $cmp32 ? $52 : 1275;
- $nbCompressedBytes$addr = $cond;
- $53 = $nbCompressedBytes$addr;
- $54 = $nbFilledBytes;
- $sub = (($53) - ($54))|0;
- $nbAvailableBytes = $sub;
- $55 = $st$addr;
- $vbr = ((($55)) + 44|0);
- $56 = HEAP32[$vbr>>2]|0;
- $tobool = ($56|0)!=(0);
- if ($tobool) {
- $57 = $st$addr;
- $bitrate = ((($57)) + 40|0);
- $58 = HEAP32[$bitrate>>2]|0;
- $cmp33 = ($58|0)!=(-1);
- if ($cmp33) {
- $59 = $mode;
- $60 = HEAP32[$59>>2]|0;
- $shr35 = $60 >> 3;
- $den = $shr35;
- $61 = $st$addr;
- $bitrate36 = ((($61)) + 40|0);
- $62 = HEAP32[$bitrate36>>2]|0;
- $63 = $frame_size$addr;
- $mul37 = Math_imul($62, $63)|0;
- $64 = $den;
- $shr38 = $64 >> 1;
- $add39 = (($mul37) + ($shr38))|0;
- $65 = $den;
- $div = (($add39|0) / ($65|0))&-1;
- $vbr_rate = $div;
- $66 = $vbr_rate;
- $shr40 = $66 >> 6;
- $effectiveBytes = $shr40;
- } else {
- label = 15;
- }
- } else {
- label = 15;
- }
- if ((label|0) == 15) {
- $vbr_rate = 0;
- $67 = $st$addr;
- $bitrate42 = ((($67)) + 40|0);
- $68 = HEAP32[$bitrate42>>2]|0;
- $69 = $frame_size$addr;
- $mul43 = Math_imul($68, $69)|0;
- $tmp = $mul43;
- $70 = $tell;
- $cmp44 = ($70|0)>(1);
- if ($cmp44) {
- $71 = $tell;
- $72 = $tmp;
- $add46 = (($72) + ($71))|0;
- $tmp = $add46;
- }
- $73 = $st$addr;
- $bitrate48 = ((($73)) + 40|0);
- $74 = HEAP32[$bitrate48>>2]|0;
- $cmp49 = ($74|0)!=(-1);
- if ($cmp49) {
- $75 = $nbCompressedBytes$addr;
- $76 = $tmp;
- $77 = $mode;
- $78 = HEAP32[$77>>2]|0;
- $mul52 = $78<<2;
- $add53 = (($76) + ($mul52))|0;
- $79 = $mode;
- $80 = HEAP32[$79>>2]|0;
- $mul55 = $80<<3;
- $div56 = (($add53|0) / ($mul55|0))&-1;
- $81 = $st$addr;
- $signalling = ((($81)) + 48|0);
- $82 = HEAP32[$signalling>>2]|0;
- $tobool57 = ($82|0)!=(0);
- $lnot = $tobool57 ^ 1;
- $lnot58 = $lnot ^ 1;
- $lnot$ext = $lnot58&1;
- $sub59 = (($div56) - ($lnot$ext))|0;
- $cmp60 = ($75|0)<($sub59|0);
- if ($cmp60) {
- $83 = $nbCompressedBytes$addr;
- $cond77 = $83;
- } else {
- $84 = $tmp;
- $85 = $mode;
- $86 = HEAP32[$85>>2]|0;
- $mul64 = $86<<2;
- $add65 = (($84) + ($mul64))|0;
- $87 = $mode;
- $88 = HEAP32[$87>>2]|0;
- $mul67 = $88<<3;
- $div68 = (($add65|0) / ($mul67|0))&-1;
- $89 = $st$addr;
- $signalling69 = ((($89)) + 48|0);
- $90 = HEAP32[$signalling69>>2]|0;
- $tobool70 = ($90|0)!=(0);
- $lnot71 = $tobool70 ^ 1;
- $lnot73 = $lnot71 ^ 1;
- $lnot$ext74 = $lnot73&1;
- $sub75 = (($div68) - ($lnot$ext74))|0;
- $cond77 = $sub75;
- }
- $cmp78 = (2)>($cond77|0);
- do {
- if ($cmp78) {
- $cond113 = 2;
- } else {
- $91 = $nbCompressedBytes$addr;
- $92 = $tmp;
- $93 = $mode;
- $94 = HEAP32[$93>>2]|0;
- $mul82 = $94<<2;
- $add83 = (($92) + ($mul82))|0;
- $95 = $mode;
- $96 = HEAP32[$95>>2]|0;
- $mul85 = $96<<3;
- $div86 = (($add83|0) / ($mul85|0))&-1;
- $97 = $st$addr;
- $signalling87 = ((($97)) + 48|0);
- $98 = HEAP32[$signalling87>>2]|0;
- $tobool88 = ($98|0)!=(0);
- $lnot89 = $tobool88 ^ 1;
- $lnot91 = $lnot89 ^ 1;
- $lnot$ext92 = $lnot91&1;
- $sub93 = (($div86) - ($lnot$ext92))|0;
- $cmp94 = ($91|0)<($sub93|0);
- if ($cmp94) {
- $99 = $nbCompressedBytes$addr;
- $cond113 = $99;
- break;
- } else {
- $100 = $tmp;
- $101 = $mode;
- $102 = HEAP32[$101>>2]|0;
- $mul98 = $102<<2;
- $add99 = (($100) + ($mul98))|0;
- $103 = $mode;
- $104 = HEAP32[$103>>2]|0;
- $mul101 = $104<<3;
- $div102 = (($add99|0) / ($mul101|0))&-1;
- $105 = $st$addr;
- $signalling103 = ((($105)) + 48|0);
- $106 = HEAP32[$signalling103>>2]|0;
- $tobool104 = ($106|0)!=(0);
- $lnot105 = $tobool104 ^ 1;
- $lnot107 = $lnot105 ^ 1;
- $lnot$ext108 = $lnot107&1;
- $sub109 = (($div102) - ($lnot$ext108))|0;
- $cond113 = $sub109;
- break;
+ $343 = $60;
+ $344 = ($343|0)<=(1104);
+ if ($344) {
+ $60 = 1104;
}
}
} while(0);
- $nbCompressedBytes$addr = $cond113;
- }
- $107 = $nbCompressedBytes$addr;
- $effectiveBytes = $107;
- }
- $108 = $st$addr;
- $bitrate116 = ((($108)) + 40|0);
- $109 = HEAP32[$bitrate116>>2]|0;
- $cmp117 = ($109|0)!=(-1);
- if ($cmp117) {
- $110 = $st$addr;
- $bitrate119 = ((($110)) + 40|0);
- $111 = HEAP32[$bitrate119>>2]|0;
- $112 = $C;
- $mul120 = ($112*40)|0;
- $add121 = (($mul120) + 20)|0;
- $113 = $LM;
- $shr122 = 400 >> $113;
- $sub123 = (($shr122) - 50)|0;
- $mul124 = Math_imul($add121, $sub123)|0;
- $sub125 = (($111) - ($mul124))|0;
- $equiv_rate = $sub125;
- }
- $114 = $enc$addr;
- $cmp127 = ($114|0)==(0|0);
- if ($cmp127) {
- $115 = $compressed$addr;
- $116 = $nbCompressedBytes$addr;
- _ec_enc_init($_enc,$115,$116);
- $enc$addr = $_enc;
- }
- $117 = $vbr_rate;
- $cmp130 = ($117|0)>(0);
- if ($cmp130) {
- $118 = $st$addr;
- $constrained_vbr = ((($118)) + 52|0);
- $119 = HEAP32[$constrained_vbr>>2]|0;
- $tobool132 = ($119|0)!=(0);
- if ($tobool132) {
- $120 = $vbr_rate;
- $vbr_bound = $120;
- $121 = $tell;
- $cmp134 = ($121|0)==(1);
- $cond135 = $cmp134 ? 2 : 0;
- $122 = $vbr_rate;
- $123 = $vbr_bound;
- $add136 = (($122) + ($123))|0;
- $124 = $st$addr;
- $vbr_reservoir = ((($124)) + 164|0);
- $125 = HEAP32[$vbr_reservoir>>2]|0;
- $sub137 = (($add136) - ($125))|0;
- $shr138 = $sub137 >> 6;
- $cmp139 = ($cond135|0)>($shr138|0);
- if ($cmp139) {
- $126 = $tell;
- $cmp141 = ($126|0)==(1);
- $cond142 = $cmp141 ? 2 : 0;
- $cond149 = $cond142;
- } else {
- $127 = $vbr_rate;
- $128 = $vbr_bound;
- $add144 = (($127) + ($128))|0;
- $129 = $st$addr;
- $vbr_reservoir145 = ((($129)) + 164|0);
- $130 = HEAP32[$vbr_reservoir145>>2]|0;
- $sub146 = (($add144) - ($130))|0;
- $shr147 = $sub146 >> 6;
- $cond149 = $shr147;
- }
- $131 = $nbAvailableBytes;
- $cmp150 = ($cond149|0)<($131|0);
- do {
- if ($cmp150) {
- $132 = $tell;
- $cmp152 = ($132|0)==(1);
- $cond153 = $cmp152 ? 2 : 0;
- $133 = $vbr_rate;
- $134 = $vbr_bound;
- $add154 = (($133) + ($134))|0;
- $135 = $st$addr;
- $vbr_reservoir155 = ((($135)) + 164|0);
- $136 = HEAP32[$vbr_reservoir155>>2]|0;
- $sub156 = (($add154) - ($136))|0;
- $shr157 = $sub156 >> 6;
- $cmp158 = ($cond153|0)>($shr157|0);
- if ($cmp158) {
- $137 = $tell;
- $cmp160 = ($137|0)==(1);
- $cond161 = $cmp160 ? 2 : 0;
- $cond171 = $cond161;
- break;
- } else {
- $138 = $vbr_rate;
- $139 = $vbr_bound;
- $add163 = (($138) + ($139))|0;
- $140 = $st$addr;
- $vbr_reservoir164 = ((($140)) + 164|0);
- $141 = HEAP32[$vbr_reservoir164>>2]|0;
- $sub165 = (($add163) - ($141))|0;
- $shr166 = $sub165 >> 6;
- $cond171 = $shr166;
- break;
- }
- } else {
- $142 = $nbAvailableBytes;
- $cond171 = $142;
- }
- } while(0);
- $max_allowed = $cond171;
- $143 = $max_allowed;
- $144 = $nbAvailableBytes;
- $cmp172 = ($143|0)<($144|0);
- if ($cmp172) {
- $145 = $nbFilledBytes;
- $146 = $max_allowed;
- $add174 = (($145) + ($146))|0;
- $nbCompressedBytes$addr = $add174;
- $147 = $max_allowed;
- $nbAvailableBytes = $147;
- $148 = $enc$addr;
- $149 = $nbCompressedBytes$addr;
- _ec_enc_shrink($148,$149);
- }
+ $345 = $59;
+ $346 = $47;
+ $347 = $60;
+ $348 = $14;
+ $349 = ((($348)) + 14288|0);
+ $350 = HEAP32[$349>>2]|0;
+ $351 = (_gen_toc($345,$346,$347,$350)|0);
+ $352 = $17;
+ HEAP8[$352>>0] = $351;
+ $13 = 1;
+ $2706 = $13;
+ STACKTOP = sp;return ($2706|0);
}
}
- $150 = $nbCompressedBytes$addr;
- $mul178 = $150<<3;
- $total_bits = $mul178;
- $151 = $end;
- $effEnd = $151;
- $152 = $effEnd;
- $153 = $mode;
- $effEBands = ((($153)) + 12|0);
- $154 = HEAP32[$effEBands>>2]|0;
- $cmp179 = ($152|0)>($154|0);
- if ($cmp179) {
- $155 = $mode;
- $effEBands181 = ((($155)) + 12|0);
- $156 = HEAP32[$effEBands181>>2]|0;
- $effEnd = $156;
- }
- $157 = $CC;
- $158 = $N;
- $159 = $overlap;
- $add183 = (($158) + ($159))|0;
- $mul184 = Math_imul($157, $add183)|0;
- $160 = (_llvm_stacksave()|0);
- $saved_stack = $160;
- $vla$alloca_mul = $mul184<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $161 = $st$addr;
- $overlap_max = ((($161)) + 180|0);
- $162 = +HEAPF32[$overlap_max>>2];
- $163 = $pcm$addr;
- $164 = $C;
- $165 = $N;
- $166 = $overlap;
- $sub185 = (($165) - ($166))|0;
- $mul186 = Math_imul($164, $sub185)|0;
- $167 = $st$addr;
- $upsample187 = ((($167)) + 28|0);
- $168 = HEAP32[$upsample187>>2]|0;
- $div188 = (($mul186|0) / ($168|0))&-1;
- $call189 = (+_celt_maxabs16($163,$div188));
- $cmp190 = $162 > $call189;
- if ($cmp190) {
- $169 = $st$addr;
- $overlap_max192 = ((($169)) + 180|0);
- $170 = +HEAPF32[$overlap_max192>>2];
- $cond200 = $170;
- } else {
- $171 = $pcm$addr;
- $172 = $C;
- $173 = $N;
- $174 = $overlap;
- $sub194 = (($173) - ($174))|0;
- $mul195 = Math_imul($172, $sub194)|0;
- $175 = $st$addr;
- $upsample196 = ((($175)) + 28|0);
- $176 = HEAP32[$upsample196>>2]|0;
- $div197 = (($mul195|0) / ($176|0))&-1;
- $call198 = (+_celt_maxabs16($171,$div197));
- $cond200 = $call198;
- }
- $sample_max = $cond200;
- $177 = $pcm$addr;
- $178 = $C;
- $179 = $N;
- $180 = $overlap;
- $sub201 = (($179) - ($180))|0;
- $mul202 = Math_imul($178, $sub201)|0;
- $181 = $st$addr;
- $upsample203 = ((($181)) + 28|0);
- $182 = HEAP32[$upsample203>>2]|0;
- $div204 = (($mul202|0) / ($182|0))&-1;
- $add$ptr205 = (($177) + ($div204<<2)|0);
- $183 = $C;
- $184 = $overlap;
- $mul206 = Math_imul($183, $184)|0;
- $185 = $st$addr;
- $upsample207 = ((($185)) + 28|0);
- $186 = HEAP32[$upsample207>>2]|0;
- $div208 = (($mul206|0) / ($186|0))&-1;
- $call209 = (+_celt_maxabs16($add$ptr205,$div208));
- $187 = $st$addr;
- $overlap_max210 = ((($187)) + 180|0);
- HEAPF32[$overlap_max210>>2] = $call209;
- $188 = $sample_max;
- $189 = $st$addr;
- $overlap_max211 = ((($189)) + 180|0);
- $190 = +HEAPF32[$overlap_max211>>2];
- $cmp212 = $188 > $190;
- if ($cmp212) {
- $191 = $sample_max;
- $cond217 = $191;
- } else {
- $192 = $st$addr;
- $overlap_max215 = ((($192)) + 180|0);
- $193 = +HEAPF32[$overlap_max215>>2];
- $cond217 = $193;
- }
- $sample_max = $cond217;
- $194 = $sample_max;
- $195 = $st$addr;
- $lsb_depth = ((($195)) + 60|0);
- $196 = HEAP32[$lsb_depth>>2]|0;
- $shl218 = 1 << $196;
- $conv = (+($shl218|0));
- $div219 = 1.0 / $conv;
- $cmp220 = $194 <= $div219;
- $conv221 = $cmp220&1;
- $silence = $conv221;
- $197 = $tell;
- $cmp222 = ($197|0)==(1);
- if ($cmp222) {
- $198 = $enc$addr;
- $199 = $silence;
- _ec_enc_bit_logp($198,$199,15);
- } else {
- $silence = 0;
- }
- $200 = $silence;
- $tobool227 = ($200|0)!=(0);
- if ($tobool227) {
- $201 = $vbr_rate;
- $cmp229 = ($201|0)>(0);
- if ($cmp229) {
- $202 = $nbCompressedBytes$addr;
- $203 = $nbFilledBytes;
- $add232 = (($203) + 2)|0;
- $cmp233 = ($202|0)<($add232|0);
- $204 = $nbCompressedBytes$addr;
- $205 = $nbFilledBytes;
- $add237 = (($205) + 2)|0;
- $cond239 = $cmp233 ? $204 : $add237;
- $nbCompressedBytes$addr = $cond239;
- $effectiveBytes = $cond239;
- $206 = $nbCompressedBytes$addr;
- $mul240 = $206<<3;
- $total_bits = $mul240;
- $nbAvailableBytes = 2;
- $207 = $enc$addr;
- $208 = $nbCompressedBytes$addr;
- _ec_enc_shrink($207,$208);
- }
- $209 = $nbCompressedBytes$addr;
- $mul242 = $209<<3;
- $tell = $mul242;
- $210 = $tell;
- $211 = $enc$addr;
- $call243 = (_ec_tell_50($211)|0);
- $sub244 = (($210) - ($call243))|0;
- $212 = $enc$addr;
- $nbits_total = ((($212)) + 20|0);
- $213 = HEAP32[$nbits_total>>2]|0;
- $add245 = (($213) + ($sub244))|0;
- HEAP32[$nbits_total>>2] = $add245;
- }
- $c = 0;
- while(1) {
- $need_clip = 0;
- $214 = $st$addr;
- $clip = ((($214)) + 16|0);
- $215 = HEAP32[$clip>>2]|0;
- $tobool247 = ($215|0)!=(0);
- $216 = $sample_max;
- $cmp248 = $216 > 65536.0;
- $217 = $tobool247 ? $cmp248 : 0;
- $land$ext = $217&1;
- $need_clip = $land$ext;
- $218 = $pcm$addr;
- $219 = $c;
- $add$ptr250 = (($218) + ($219<<2)|0);
- $220 = $c;
- $221 = $N;
- $222 = $overlap;
- $add251 = (($221) + ($222))|0;
- $mul252 = Math_imul($220, $add251)|0;
- $add$ptr253 = (($vla) + ($mul252<<2)|0);
- $223 = $overlap;
- $add$ptr254 = (($add$ptr253) + ($223<<2)|0);
- $224 = $N;
- $225 = $CC;
- $226 = $st$addr;
- $upsample255 = ((($226)) + 28|0);
- $227 = HEAP32[$upsample255>>2]|0;
- $228 = $mode;
- $preemph = ((($228)) + 16|0);
- $229 = $st$addr;
- $preemph_memE = ((($229)) + 148|0);
- $230 = $c;
- $add$ptr258 = (($preemph_memE) + ($230<<2)|0);
- $231 = $need_clip;
- _celt_preemphasis($add$ptr250,$add$ptr254,$224,$225,$227,$preemph,$add$ptr258,$231);
- $232 = $c;
- $inc259 = (($232) + 1)|0;
- $c = $inc259;
- $233 = $CC;
- $cmp260 = ($inc259|0)<($233|0);
- if (!($cmp260)) {
- break;
- }
- }
- $234 = $st$addr;
- $lfe = ((($234)) + 68|0);
- $235 = HEAP32[$lfe>>2]|0;
- $tobool262 = ($235|0)!=(0);
- $236 = $nbAvailableBytes;
- $cmp264 = ($236|0)>(3);
- $or$cond1 = $tobool262 & $cmp264;
- if ($or$cond1) {
- $$old = $start;
- $cmp271$old = ($$old|0)!=(0);
- $$old3 = $silence;
- $tobool274$old = ($$old3|0)!=(0);
- $or$cond6 = $cmp271$old | $tobool274$old;
- if ($or$cond6) {
- $251 = 0;
- } else {
- label = 63;
- }
- } else {
- $237 = $nbAvailableBytes;
- $238 = $C;
- $mul267 = ($238*12)|0;
- $cmp268 = ($237|0)>($mul267|0);
- $239 = $start;
- $cmp271 = ($239|0)==(0);
- $or$cond2 = $cmp268 & $cmp271;
- $or$cond2$not = $or$cond2 ^ 1;
- $240 = $silence;
- $tobool274 = ($240|0)!=(0);
- $or$cond4 = $or$cond2$not | $tobool274;
- if ($or$cond4) {
- $251 = 0;
- } else {
- label = 63;
- }
- }
- if ((label|0) == 63) {
- $241 = $st$addr;
- $disable_pf = ((($241)) + 20|0);
- $242 = HEAP32[$disable_pf>>2]|0;
- $tobool276 = ($242|0)!=(0);
- if ($tobool276) {
- $251 = 0;
- } else {
- $243 = $st$addr;
- $complexity = ((($243)) + 24|0);
- $244 = HEAP32[$complexity>>2]|0;
- $cmp278 = ($244|0)>=(5);
- if ($cmp278) {
- $245 = $st$addr;
- $consec_transient = ((($245)) + 116|0);
- $246 = HEAP32[$consec_transient>>2]|0;
- $tobool281 = ($246|0)!=(0);
- $247 = $LM;
- $cmp283 = ($247|0)!=(3);
- $or$cond8 = $tobool281 & $cmp283;
- if ($or$cond8) {
- $248 = $st$addr;
- $variable_duration = ((($248)) + 64|0);
- $249 = HEAP32[$variable_duration>>2]|0;
- $cmp286 = ($249|0)==(5010);
- $250 = $cmp286;
- } else {
- $250 = 0;
- }
- $lnot290 = $250 ^ 1;
- $251 = $lnot290;
- } else {
- $251 = 0;
- }
- }
- }
- $land$ext293 = $251&1;
- $enabled = $land$ext293;
- $252 = $st$addr;
- $tapset_decision = ((($252)) + 100|0);
- $253 = HEAP32[$tapset_decision>>2]|0;
- $prefilter_tapset = $253;
- $254 = $st$addr;
- $255 = $prefilter_mem;
- $256 = $CC;
- $257 = $N;
- $258 = $prefilter_tapset;
- $259 = $enabled;
- $260 = $nbAvailableBytes;
- $call294 = (_run_prefilter($254,$vla,$255,$256,$257,$258,$pitch_index,$gain1,$qg,$259,$260)|0);
- $pf_on = $call294;
- $261 = +HEAPF32[$gain1>>2];
- $cmp295 = $261 > 0.40000000596046448;
- if ($cmp295) {
- label = 70;
- } else {
- $262 = $st$addr;
- $prefilter_gain = ((($262)) + 108|0);
- $263 = +HEAPF32[$prefilter_gain>>2];
- $cmp298 = $263 > 0.40000000596046448;
- if ($cmp298) {
- label = 70;
- }
- }
- do {
- if ((label|0) == 70) {
- $264 = $st$addr;
- $analysis = ((($264)) + 120|0);
- $265 = HEAP32[$analysis>>2]|0;
- $tobool301 = ($265|0)!=(0);
- if ($tobool301) {
- $266 = $st$addr;
- $analysis303 = ((($266)) + 120|0);
- $tonality = ((($analysis303)) + 4|0);
- $267 = +HEAPF32[$tonality>>2];
- $conv304 = $267;
- $cmp305 = $conv304 > 0.29999999999999999;
- if (!($cmp305)) {
- break;
- }
- }
- $268 = HEAP32[$pitch_index>>2]|0;
- $conv308 = (+($268|0));
- $269 = $st$addr;
- $prefilter_period = ((($269)) + 104|0);
- $270 = HEAP32[$prefilter_period>>2]|0;
- $conv309 = (+($270|0));
- $mul310 = 1.26 * $conv309;
- $cmp311 = $conv308 > $mul310;
- if (!($cmp311)) {
- $271 = HEAP32[$pitch_index>>2]|0;
- $conv314 = (+($271|0));
- $272 = $st$addr;
- $prefilter_period315 = ((($272)) + 104|0);
- $273 = HEAP32[$prefilter_period315>>2]|0;
- $conv316 = (+($273|0));
- $mul317 = 0.79000000000000004 * $conv316;
- $cmp318 = $conv314 < $mul317;
- if (!($cmp318)) {
- break;
- }
- }
- $pitch_change = 1;
- }
- } while(0);
- $274 = $pf_on;
- $cmp322 = ($274|0)==(0);
- if ($cmp322) {
- $275 = $start;
- $cmp325 = ($275|0)==(0);
- if ($cmp325) {
- $276 = $tell;
- $add328 = (($276) + 16)|0;
- $277 = $total_bits;
- $cmp329 = ($add328|0)<=($277|0);
- if ($cmp329) {
- $278 = $enc$addr;
- _ec_enc_bit_logp($278,0,1);
- }
- }
- } else {
- $279 = $enc$addr;
- _ec_enc_bit_logp($279,1,1);
- $280 = HEAP32[$pitch_index>>2]|0;
- $add334 = (($280) + 1)|0;
- HEAP32[$pitch_index>>2] = $add334;
- $281 = HEAP32[$pitch_index>>2]|0;
- $282 = (Math_clz32(($281|0))|0);
- $sub335 = (32 - ($282))|0;
- $sub336 = (($sub335) - 5)|0;
- $octave = $sub336;
- $283 = $enc$addr;
- $284 = $octave;
- _ec_enc_uint($283,$284,6);
- $285 = $enc$addr;
- $286 = HEAP32[$pitch_index>>2]|0;
- $287 = $octave;
- $shl337 = 16 << $287;
- $sub338 = (($286) - ($shl337))|0;
- $288 = $octave;
- $add339 = (4 + ($288))|0;
- _ec_enc_bits($285,$sub338,$add339);
- $289 = HEAP32[$pitch_index>>2]|0;
- $sub340 = (($289) - 1)|0;
- HEAP32[$pitch_index>>2] = $sub340;
- $290 = $enc$addr;
- $291 = HEAP32[$qg>>2]|0;
- _ec_enc_bits($290,$291,3);
- $292 = $enc$addr;
- $293 = $prefilter_tapset;
- _ec_enc_icdf($292,$293,25786,2);
- }
- $isTransient = 0;
- $shortBlocks = 0;
- $294 = $st$addr;
- $complexity342 = ((($294)) + 24|0);
- $295 = HEAP32[$complexity342>>2]|0;
- $cmp343 = ($295|0)>=(1);
- if ($cmp343) {
- $296 = $st$addr;
- $lfe346 = ((($296)) + 68|0);
- $297 = HEAP32[$lfe346>>2]|0;
- $tobool347 = ($297|0)!=(0);
- if (!($tobool347)) {
- $298 = $N;
- $299 = $overlap;
- $add349 = (($298) + ($299))|0;
- $300 = $CC;
- $call350 = (_transient_analysis($vla,$add349,$300,$tf_estimate,$tf_chan)|0);
- $isTransient = $call350;
- }
- }
- $301 = $LM;
- $cmp352 = ($301|0)>(0);
- if ($cmp352) {
- $302 = $enc$addr;
- $call355 = (_ec_tell_50($302)|0);
- $add356 = (($call355) + 3)|0;
- $303 = $total_bits;
- $cmp357 = ($add356|0)<=($303|0);
- if ($cmp357) {
- $304 = $isTransient;
- $tobool360 = ($304|0)!=(0);
- if ($tobool360) {
- $305 = $M;
- $shortBlocks = $305;
- }
- } else {
- label = 87;
- }
- } else {
- label = 87;
- }
- if ((label|0) == 87) {
- $isTransient = 0;
- $transient_got_disabled = 1;
- }
- $306 = $CC;
- $307 = $N;
- $mul365 = Math_imul($306, $307)|0;
- $vla366$alloca_mul = $mul365<<2;
- $vla366 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla366$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla366$alloca_mul)|0)+15)&-16)|0);;
- $308 = $nbEBands;
- $309 = $CC;
- $mul367 = Math_imul($308, $309)|0;
- $vla368$alloca_mul = $mul367<<2;
- $vla368 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla368$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla368$alloca_mul)|0)+15)&-16)|0);;
- $310 = $nbEBands;
- $311 = $CC;
- $mul369 = Math_imul($310, $311)|0;
- $vla370$alloca_mul = $mul369<<2;
- $vla370 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla370$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla370$alloca_mul)|0)+15)&-16)|0);;
- $312 = $shortBlocks;
- $tobool371 = ($312|0)!=(0);
- if ($tobool371) {
- $313 = $st$addr;
- $complexity373 = ((($313)) + 24|0);
- $314 = HEAP32[$complexity373>>2]|0;
- $cmp374 = ($314|0)>=(8);
- $315 = $cmp374;
- } else {
- $315 = 0;
- }
- $land$ext377 = $315&1;
- $secondMdct = $land$ext377;
- $316 = $C;
- $317 = $nbEBands;
- $mul378 = Math_imul($316, $317)|0;
- $vla379$alloca_mul = $mul378<<2;
- $vla379 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla379$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla379$alloca_mul)|0)+15)&-16)|0);;
- $318 = $secondMdct;
- $tobool380 = ($318|0)!=(0);
- L128: do {
- if ($tobool380) {
- $319 = $mode;
- $320 = $C;
- $321 = $CC;
- $322 = $LM;
- $323 = $st$addr;
- $upsample382 = ((($323)) + 28|0);
- $324 = HEAP32[$upsample382>>2]|0;
- $325 = $st$addr;
- $arch = ((($325)) + 72|0);
- $326 = HEAP32[$arch>>2]|0;
- _compute_mdcts($319,0,$vla,$vla366,$320,$321,$322,$324,$326);
- $327 = $mode;
- $328 = $effEnd;
- $329 = $C;
- $330 = $LM;
- _compute_band_energies($327,$vla366,$vla368,$328,$329,$330);
- $331 = $mode;
- $332 = $effEnd;
- $333 = $end;
- $334 = $C;
- _amp2Log2($331,$332,$333,$vla368,$vla379,$334);
- $i = 0;
- while(1) {
- $335 = $i;
- $336 = $C;
- $337 = $nbEBands;
- $mul384 = Math_imul($336, $337)|0;
- $cmp385 = ($335|0)<($mul384|0);
- if (!($cmp385)) {
- break L128;
- }
- $338 = $LM;
- $conv388 = (+($338|0));
- $mul389 = 0.5 * $conv388;
- $339 = $i;
- $arrayidx = (($vla379) + ($339<<2)|0);
- $340 = +HEAPF32[$arrayidx>>2];
- $add390 = $340 + $mul389;
- HEAPF32[$arrayidx>>2] = $add390;
- $341 = $i;
- $inc392 = (($341) + 1)|0;
- $i = $inc392;
- }
- }
- } while(0);
- $342 = $mode;
- $343 = $shortBlocks;
- $344 = $C;
- $345 = $CC;
- $346 = $LM;
- $347 = $st$addr;
- $upsample395 = ((($347)) + 28|0);
- $348 = HEAP32[$upsample395>>2]|0;
- $349 = $st$addr;
- $arch396 = ((($349)) + 72|0);
- $350 = HEAP32[$arch396>>2]|0;
- _compute_mdcts($342,$343,$vla,$vla366,$344,$345,$346,$348,$350);
- $351 = $CC;
- $cmp397 = ($351|0)==(2);
- $352 = $C;
- $cmp400 = ($352|0)==(1);
- $or$cond10 = $cmp397 & $cmp400;
- if ($or$cond10) {
- HEAP32[$tf_chan>>2] = 0;
- }
- $353 = $mode;
- $354 = $effEnd;
- $355 = $C;
- $356 = $LM;
- _compute_band_energies($353,$vla366,$vla368,$354,$355,$356);
- $357 = $st$addr;
- $lfe404 = ((($357)) + 68|0);
- $358 = HEAP32[$lfe404>>2]|0;
- $tobool405 = ($358|0)!=(0);
- L137: do {
- if ($tobool405) {
- $i = 2;
- while(1) {
- $359 = $i;
- $360 = $end;
- $cmp408 = ($359|0)<($360|0);
- if (!($cmp408)) {
- break L137;
- }
- $361 = $i;
- $arrayidx411 = (($vla368) + ($361<<2)|0);
- $362 = +HEAPF32[$arrayidx411>>2];
- $363 = +HEAPF32[$vla368>>2];
- $mul413 = 9.9999997473787516E-5 * $363;
- $cmp414 = $362 < $mul413;
- if ($cmp414) {
- $364 = $i;
- $arrayidx417 = (($vla368) + ($364<<2)|0);
- $365 = +HEAPF32[$arrayidx417>>2];
- $cond422 = $365;
- } else {
- $366 = +HEAPF32[$vla368>>2];
- $mul420 = 9.9999997473787516E-5 * $366;
- $cond422 = $mul420;
- }
- $367 = $i;
- $arrayidx423 = (($vla368) + ($367<<2)|0);
- HEAPF32[$arrayidx423>>2] = $cond422;
- $368 = $i;
- $arrayidx424 = (($vla368) + ($368<<2)|0);
- $369 = +HEAPF32[$arrayidx424>>2];
- $cmp425 = $369 > 1.0000000036274937E-15;
- if ($cmp425) {
- $370 = $i;
- $arrayidx428 = (($vla368) + ($370<<2)|0);
- $371 = +HEAPF32[$arrayidx428>>2];
- $cond431 = $371;
- } else {
- $cond431 = 1.0000000036274937E-15;
- }
- $372 = $i;
- $arrayidx432 = (($vla368) + ($372<<2)|0);
- HEAPF32[$arrayidx432>>2] = $cond431;
- $373 = $i;
- $inc434 = (($373) + 1)|0;
- $i = $inc434;
- }
- }
- } while(0);
- $374 = $mode;
- $375 = $effEnd;
- $376 = $end;
- $377 = $C;
- _amp2Log2($374,$375,$376,$vla368,$vla370,$377);
- $378 = $C;
- $379 = $nbEBands;
- $mul437 = Math_imul($378, $379)|0;
- $vla438$alloca_mul = $mul437<<2;
- $vla438 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla438$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla438$alloca_mul)|0)+15)&-16)|0);;
- $380 = $end;
- $mul439 = $380<<2;
- _memset(($vla438|0),0,($mul439|0))|0;
- $381 = $start;
- $cmp440 = ($381|0)==(0);
- do {
- if ($cmp440) {
- $382 = $st$addr;
- $energy_mask = ((($382)) + 192|0);
- $383 = HEAP32[$energy_mask>>2]|0;
- $tobool443 = ($383|0)!=(0|0);
- if (!($tobool443)) {
- break;
- }
- $384 = $st$addr;
- $lfe445 = ((($384)) + 68|0);
- $385 = HEAP32[$lfe445>>2]|0;
- $tobool446 = ($385|0)!=(0);
- if ($tobool446) {
- break;
- }
- $mask_avg = 0.0;
- $diff = 0.0;
- $count = 0;
- $386 = $st$addr;
- $lastCodedBands = ((($386)) + 92|0);
- $387 = HEAP32[$lastCodedBands>>2]|0;
- $cmp448 = (2)>($387|0);
- if ($cmp448) {
- $cond454 = 2;
- } else {
- $388 = $st$addr;
- $lastCodedBands452 = ((($388)) + 92|0);
- $389 = HEAP32[$lastCodedBands452>>2]|0;
- $cond454 = $389;
- }
- $mask_end = $cond454;
- $c = 0;
- while(1) {
- $390 = $c;
- $391 = $C;
- $cmp456 = ($390|0)<($391|0);
- if (!($cmp456)) {
- break;
- }
- $i = 0;
- while(1) {
- $392 = $i;
- $393 = $mask_end;
- $cmp460 = ($392|0)<($393|0);
- if (!($cmp460)) {
- break;
- }
- $394 = $st$addr;
- $energy_mask463 = ((($394)) + 192|0);
- $395 = HEAP32[$energy_mask463>>2]|0;
- $396 = $nbEBands;
- $397 = $c;
- $mul464 = Math_imul($396, $397)|0;
- $398 = $i;
- $add465 = (($mul464) + ($398))|0;
- $arrayidx466 = (($395) + ($add465<<2)|0);
- $399 = +HEAPF32[$arrayidx466>>2];
- $cmp467 = $399 < 0.25;
- if ($cmp467) {
- $400 = $st$addr;
- $energy_mask470 = ((($400)) + 192|0);
- $401 = HEAP32[$energy_mask470>>2]|0;
- $402 = $nbEBands;
- $403 = $c;
- $mul471 = Math_imul($402, $403)|0;
- $404 = $i;
- $add472 = (($mul471) + ($404))|0;
- $arrayidx473 = (($401) + ($add472<<2)|0);
- $405 = +HEAPF32[$arrayidx473>>2];
- $cond476 = $405;
- } else {
- $cond476 = 0.25;
- }
- $cmp477 = $cond476 > -2.0;
- do {
- if ($cmp477) {
- $406 = $st$addr;
- $energy_mask480 = ((($406)) + 192|0);
- $407 = HEAP32[$energy_mask480>>2]|0;
- $408 = $nbEBands;
- $409 = $c;
- $mul481 = Math_imul($408, $409)|0;
- $410 = $i;
- $add482 = (($mul481) + ($410))|0;
- $arrayidx483 = (($407) + ($add482<<2)|0);
- $411 = +HEAPF32[$arrayidx483>>2];
- $cmp484 = $411 < 0.25;
- if (!($cmp484)) {
- $cond496 = 0.25;
- break;
- }
- $412 = $st$addr;
- $energy_mask487 = ((($412)) + 192|0);
- $413 = HEAP32[$energy_mask487>>2]|0;
- $414 = $nbEBands;
- $415 = $c;
- $mul488 = Math_imul($414, $415)|0;
- $416 = $i;
- $add489 = (($mul488) + ($416))|0;
- $arrayidx490 = (($413) + ($add489<<2)|0);
- $417 = +HEAPF32[$arrayidx490>>2];
- $cond496 = $417;
- } else {
- $cond496 = -2.0;
- }
- } while(0);
- $mask = $cond496;
- $418 = $mask;
- $cmp497 = $418 > 0.0;
- if ($cmp497) {
- $419 = $mask;
- $mul500 = 0.5 * $419;
- $mask = $mul500;
- }
- $420 = $mask;
- $421 = $eBands;
- $422 = $i;
- $add502 = (($422) + 1)|0;
- $arrayidx503 = (($421) + ($add502<<1)|0);
- $423 = HEAP16[$arrayidx503>>1]|0;
- $conv504 = $423 << 16 >> 16;
- $424 = $eBands;
- $425 = $i;
- $arrayidx505 = (($424) + ($425<<1)|0);
- $426 = HEAP16[$arrayidx505>>1]|0;
- $conv506 = $426 << 16 >> 16;
- $sub507 = (($conv504) - ($conv506))|0;
- $conv508 = (+($sub507|0));
- $mul509 = $420 * $conv508;
- $427 = $mask_avg;
- $add510 = $427 + $mul509;
- $mask_avg = $add510;
- $428 = $eBands;
- $429 = $i;
- $add511 = (($429) + 1)|0;
- $arrayidx512 = (($428) + ($add511<<1)|0);
- $430 = HEAP16[$arrayidx512>>1]|0;
- $conv513 = $430 << 16 >> 16;
- $431 = $eBands;
- $432 = $i;
- $arrayidx514 = (($431) + ($432<<1)|0);
- $433 = HEAP16[$arrayidx514>>1]|0;
- $conv515 = $433 << 16 >> 16;
- $sub516 = (($conv513) - ($conv515))|0;
- $434 = $count;
- $add517 = (($434) + ($sub516))|0;
- $count = $add517;
- $435 = $mask;
- $436 = $i;
- $mul518 = $436<<1;
- $add519 = (1 + ($mul518))|0;
- $437 = $mask_end;
- $sub520 = (($add519) - ($437))|0;
- $conv521 = (+($sub520|0));
- $mul522 = $435 * $conv521;
- $438 = $diff;
- $add523 = $438 + $mul522;
- $diff = $add523;
- $439 = $i;
- $inc525 = (($439) + 1)|0;
- $i = $inc525;
- }
- $440 = $c;
- $inc528 = (($440) + 1)|0;
- $c = $inc528;
- }
- $441 = $mask_avg;
- $442 = $count;
- $conv530 = (+($442|0));
- $div531 = $441 / $conv530;
- $mask_avg = $div531;
- $443 = $mask_avg;
- $add532 = $443 + 0.20000000298023224;
- $mask_avg = $add532;
- $444 = $diff;
- $mul533 = $444 * 6.0;
- $445 = $C;
- $446 = $mask_end;
- $sub534 = (($446) - 1)|0;
- $mul535 = Math_imul($445, $sub534)|0;
- $447 = $mask_end;
- $add536 = (($447) + 1)|0;
- $mul537 = Math_imul($mul535, $add536)|0;
- $448 = $mask_end;
- $mul538 = Math_imul($mul537, $448)|0;
- $conv539 = (+($mul538|0));
- $div540 = $mul533 / $conv539;
- $diff = $div540;
- $449 = $diff;
- $mul541 = 0.5 * $449;
- $diff = $mul541;
- $450 = $diff;
- $cmp542 = $450 < 0.030999999493360519;
- $451 = $diff;
- $cond547 = $cmp542 ? $451 : 0.030999999493360519;
- $cmp548 = $cond547 > -0.030999999493360519;
- if ($cmp548) {
- $452 = $diff;
- $cmp551 = $452 < 0.030999999493360519;
- $453 = $diff;
- $cond556 = $cmp551 ? $453 : 0.030999999493360519;
- $cond559 = $cond556;
- } else {
- $cond559 = -0.030999999493360519;
- }
- $diff = $cond559;
- $midband = 0;
- while(1) {
- $454 = $eBands;
- $455 = $midband;
- $add561 = (($455) + 1)|0;
- $arrayidx562 = (($454) + ($add561<<1)|0);
- $456 = HEAP16[$arrayidx562>>1]|0;
- $conv563 = $456 << 16 >> 16;
- $457 = $eBands;
- $458 = $mask_end;
- $arrayidx564 = (($457) + ($458<<1)|0);
- $459 = HEAP16[$arrayidx564>>1]|0;
- $conv565 = $459 << 16 >> 16;
- $div566 = (($conv565|0) / 2)&-1;
- $cmp567 = ($conv563|0)<($div566|0);
- if (!($cmp567)) {
- break;
- }
- $460 = $midband;
- $inc571 = (($460) + 1)|0;
- $midband = $inc571;
- }
- $count_dynalloc = 0;
- $i = 0;
- while(1) {
- $461 = $i;
- $462 = $mask_end;
- $cmp574 = ($461|0)<($462|0);
- if (!($cmp574)) {
- break;
- }
- $463 = $mask_avg;
- $464 = $diff;
- $465 = $i;
- $466 = $midband;
- $sub577 = (($465) - ($466))|0;
- $conv578 = (+($sub577|0));
- $mul579 = $464 * $conv578;
- $add580 = $463 + $mul579;
- $lin = $add580;
- $467 = $C;
- $cmp581 = ($467|0)==(2);
- $468 = $st$addr;
- $energy_mask584 = ((($468)) + 192|0);
- $469 = HEAP32[$energy_mask584>>2]|0;
- $470 = $i;
- $arrayidx585 = (($469) + ($470<<2)|0);
- $471 = +HEAPF32[$arrayidx585>>2];
- if ($cmp581) {
- $472 = $st$addr;
- $energy_mask586 = ((($472)) + 192|0);
- $473 = HEAP32[$energy_mask586>>2]|0;
- $474 = $nbEBands;
- $475 = $i;
- $add587 = (($474) + ($475))|0;
- $arrayidx588 = (($473) + ($add587<<2)|0);
- $476 = +HEAPF32[$arrayidx588>>2];
- $cmp589 = $471 > $476;
- $477 = $st$addr;
- $energy_mask592 = ((($477)) + 192|0);
- $478 = HEAP32[$energy_mask592>>2]|0;
- if ($cmp589) {
- $479 = $i;
- $add596$sink = $479;
- } else {
- $480 = $nbEBands;
- $481 = $i;
- $add596 = (($480) + ($481))|0;
- $add596$sink = $add596;
- }
- $arrayidx597 = (($478) + ($add596$sink<<2)|0);
- $482 = +HEAPF32[$arrayidx597>>2];
- $unmask = $482;
- } else {
- $unmask = $471;
- }
- $483 = $unmask;
- $cmp604 = $483 < 0.0;
- $484 = $unmask;
- $cond609 = $cmp604 ? $484 : 0.0;
- $unmask = $cond609;
- $485 = $lin;
- $486 = $unmask;
- $sub610 = $486 - $485;
- $unmask = $sub610;
- $487 = $unmask;
- $cmp611 = $487 > 0.25;
- if ($cmp611) {
- $488 = $unmask;
- $sub614 = $488 - 0.25;
- $489 = $i;
- $arrayidx615 = (($vla438) + ($489<<2)|0);
- HEAPF32[$arrayidx615>>2] = $sub614;
- $490 = $count_dynalloc;
- $inc616 = (($490) + 1)|0;
- $count_dynalloc = $inc616;
- }
- $491 = $i;
- $inc619 = (($491) + 1)|0;
- $i = $inc619;
- }
- $492 = $count_dynalloc;
- $cmp621 = ($492|0)>=(3);
- L197: do {
- if ($cmp621) {
- $493 = $mask_avg;
- $add624 = $493 + 0.25;
- $mask_avg = $add624;
- $494 = $mask_avg;
- $cmp625 = $494 > 0.0;
- if ($cmp625) {
- $mask_avg = 0.0;
- $diff = 0.0;
- $495 = $mask_end;
- $mul628 = $495<<2;
- _memset(($vla438|0),0,($mul628|0))|0;
- break;
- }
- $i = 0;
- while(1) {
- $496 = $i;
- $497 = $mask_end;
- $cmp631 = ($496|0)<($497|0);
- if (!($cmp631)) {
- break L197;
- }
- $498 = $i;
- $arrayidx634 = (($vla438) + ($498<<2)|0);
- $499 = +HEAPF32[$arrayidx634>>2];
- $sub635 = $499 - 0.25;
- $cmp636 = 0.0 > $sub635;
- if ($cmp636) {
- $cond643 = 0.0;
- } else {
- $500 = $i;
- $arrayidx640 = (($vla438) + ($500<<2)|0);
- $501 = +HEAPF32[$arrayidx640>>2];
- $sub641 = $501 - 0.25;
- $cond643 = $sub641;
- }
- $502 = $i;
- $arrayidx644 = (($vla438) + ($502<<2)|0);
- HEAPF32[$arrayidx644>>2] = $cond643;
- $503 = $i;
- $inc646 = (($503) + 1)|0;
- $i = $inc646;
- }
- }
- } while(0);
- $504 = $mask_avg;
- $add650 = $504 + 0.20000000298023224;
- $mask_avg = $add650;
- $505 = $diff;
- $mul651 = 64.0 * $505;
- $surround_trim = $mul651;
- $506 = $mask_avg;
- $surround_masking = $506;
- }
- } while(0);
- $507 = $st$addr;
- $lfe653 = ((($507)) + 68|0);
- $508 = HEAP32[$lfe653>>2]|0;
- $tobool654 = ($508|0)!=(0);
- if (!($tobool654)) {
- $follow = -10.0;
- $frame_avg = 0.0;
- $509 = $shortBlocks;
- $tobool656 = ($509|0)!=(0);
- if ($tobool656) {
- $510 = $LM;
- $conv658 = (+($510|0));
- $mul659 = 0.5 * $conv658;
- $cond662 = $mul659;
- } else {
- $cond662 = 0.0;
- }
- $offset = $cond662;
- $511 = $start;
- $i = $511;
- while(1) {
- $512 = $i;
- $513 = $end;
- $cmp664 = ($512|0)<($513|0);
- if (!($cmp664)) {
- break;
- }
- $514 = $follow;
- $sub667 = $514 - 1.0;
- $515 = $i;
- $arrayidx668 = (($vla370) + ($515<<2)|0);
- $516 = +HEAPF32[$arrayidx668>>2];
- $517 = $offset;
- $sub669 = $516 - $517;
- $cmp670 = $sub667 > $sub669;
- if ($cmp670) {
- $518 = $follow;
- $sub673 = $518 - 1.0;
- $cond678 = $sub673;
- } else {
- $519 = $i;
- $arrayidx675 = (($vla370) + ($519<<2)|0);
- $520 = +HEAPF32[$arrayidx675>>2];
- $521 = $offset;
- $sub676 = $520 - $521;
- $cond678 = $sub676;
- }
- $follow = $cond678;
- $522 = $C;
- $cmp679 = ($522|0)==(2);
- if ($cmp679) {
- $523 = $follow;
- $524 = $i;
- $525 = $nbEBands;
- $add682 = (($524) + ($525))|0;
- $arrayidx683 = (($vla370) + ($add682<<2)|0);
- $526 = +HEAPF32[$arrayidx683>>2];
- $527 = $offset;
- $sub684 = $526 - $527;
- $cmp685 = $523 > $sub684;
- if ($cmp685) {
- $528 = $follow;
- $cond693 = $528;
- } else {
- $529 = $i;
- $530 = $nbEBands;
- $add689 = (($529) + ($530))|0;
- $arrayidx690 = (($vla370) + ($add689<<2)|0);
- $531 = +HEAPF32[$arrayidx690>>2];
- $532 = $offset;
- $sub691 = $531 - $532;
- $cond693 = $sub691;
- }
- $follow = $cond693;
- }
- $533 = $follow;
- $534 = $frame_avg;
- $add695 = $534 + $533;
- $frame_avg = $add695;
- $535 = $i;
- $inc697 = (($535) + 1)|0;
- $i = $inc697;
- }
- $536 = $end;
- $537 = $start;
- $sub699 = (($536) - ($537))|0;
- $conv700 = (+($sub699|0));
- $538 = $frame_avg;
- $div701 = $538 / $conv700;
- $frame_avg = $div701;
- $539 = $frame_avg;
- $540 = $st$addr;
- $spec_avg = ((($540)) + 196|0);
- $541 = +HEAPF32[$spec_avg>>2];
- $sub702 = $539 - $541;
- $temporal_vbr = $sub702;
- $542 = $temporal_vbr;
- $cmp703 = -1.5 > $542;
- $543 = $temporal_vbr;
- $cond708 = $cmp703 ? -1.5 : $543;
- $cmp709 = 3.0 < $cond708;
- if ($cmp709) {
- $cond720 = 3.0;
- } else {
- $544 = $temporal_vbr;
- $cmp713 = -1.5 > $544;
- $545 = $temporal_vbr;
- $cond718 = $cmp713 ? -1.5 : $545;
- $cond720 = $cond718;
- }
- $temporal_vbr = $cond720;
- $546 = $temporal_vbr;
- $mul721 = 0.019999999552965164 * $546;
- $547 = $st$addr;
- $spec_avg722 = ((($547)) + 196|0);
- $548 = +HEAPF32[$spec_avg722>>2];
- $add723 = $548 + $mul721;
- HEAPF32[$spec_avg722>>2] = $add723;
- }
- $549 = $secondMdct;
- $tobool725 = ($549|0)!=(0);
- if (!($tobool725)) {
- $550 = $C;
- $551 = $nbEBands;
- $mul727 = Math_imul($550, $551)|0;
- $mul728 = $mul727<<2;
- $sub$ptr$lhs$cast = $vla379;
- $sub$ptr$rhs$cast = $vla370;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul729 = 0;
- $add730 = (($mul728) + ($mul729))|0;
- _memcpy(($vla379|0),($vla370|0),($add730|0))|0;
- }
- $552 = $LM;
- $cmp732 = ($552|0)>(0);
- do {
- if ($cmp732) {
- $553 = $enc$addr;
- $call735 = (_ec_tell_50($553)|0);
- $add736 = (($call735) + 3)|0;
- $554 = $total_bits;
- $cmp737 = ($add736|0)>($554|0);
- $555 = $isTransient;
- $tobool740 = ($555|0)!=(0);
- $or$cond12 = $cmp737 | $tobool740;
- if ($or$cond12) {
- break;
- }
- $556 = $st$addr;
- $complexity742 = ((($556)) + 24|0);
- $557 = HEAP32[$complexity742>>2]|0;
- $cmp743 = ($557|0)>=(5);
- if (!($cmp743)) {
- break;
- }
- $558 = $st$addr;
- $lfe746 = ((($558)) + 68|0);
- $559 = HEAP32[$lfe746>>2]|0;
- $tobool747 = ($559|0)!=(0);
- if ($tobool747) {
- break;
- }
- $560 = $oldBandE;
- $561 = $nbEBands;
- $562 = $start;
- $563 = $end;
- $564 = $C;
- $call749 = (_patch_transient_decision($vla370,$560,$561,$562,$563,$564)|0);
- $tobool750 = ($call749|0)!=(0);
- if (!($tobool750)) {
- break;
- }
- $isTransient = 1;
- $565 = $M;
- $shortBlocks = $565;
- $566 = $mode;
- $567 = $shortBlocks;
- $568 = $C;
- $569 = $CC;
- $570 = $LM;
- $571 = $st$addr;
- $upsample752 = ((($571)) + 28|0);
- $572 = HEAP32[$upsample752>>2]|0;
- $573 = $st$addr;
- $arch753 = ((($573)) + 72|0);
- $574 = HEAP32[$arch753>>2]|0;
- _compute_mdcts($566,$567,$vla,$vla366,$568,$569,$570,$572,$574);
- $575 = $mode;
- $576 = $effEnd;
- $577 = $C;
- $578 = $LM;
- _compute_band_energies($575,$vla366,$vla368,$576,$577,$578);
- $579 = $mode;
- $580 = $effEnd;
- $581 = $end;
- $582 = $C;
- _amp2Log2($579,$580,$581,$vla368,$vla370,$582);
- $i = 0;
- while(1) {
- $583 = $i;
- $584 = $C;
- $585 = $nbEBands;
- $mul755 = Math_imul($584, $585)|0;
- $cmp756 = ($583|0)<($mul755|0);
- if (!($cmp756)) {
- break;
- }
- $586 = $LM;
- $conv759 = (+($586|0));
- $mul760 = 0.5 * $conv759;
- $587 = $i;
- $arrayidx761 = (($vla379) + ($587<<2)|0);
- $588 = +HEAPF32[$arrayidx761>>2];
- $add762 = $588 + $mul760;
- HEAPF32[$arrayidx761>>2] = $add762;
- $589 = $i;
- $inc764 = (($589) + 1)|0;
- $i = $inc764;
- }
- HEAPF32[$tf_estimate>>2] = 0.20000000298023224;
- }
- } while(0);
- $590 = $LM;
- $cmp768 = ($590|0)>(0);
- do {
- if ($cmp768) {
- $591 = $enc$addr;
- $call771 = (_ec_tell_50($591)|0);
- $add772 = (($call771) + 3)|0;
- $592 = $total_bits;
- $cmp773 = ($add772|0)<=($592|0);
- if (!($cmp773)) {
- break;
- }
- $593 = $enc$addr;
- $594 = $isTransient;
- _ec_enc_bit_logp($593,$594,3);
- }
- } while(0);
- $595 = $C;
- $596 = $N;
- $mul777 = Math_imul($595, $596)|0;
- $vla778$alloca_mul = $mul777<<2;
- $vla778 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla778$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla778$alloca_mul)|0)+15)&-16)|0);;
- $597 = $mode;
- $598 = $effEnd;
- $599 = $C;
- $600 = $M;
- _normalise_bands($597,$vla366,$vla778,$vla368,$598,$599,$600);
- $601 = $nbEBands;
- $vla779$alloca_mul = $601<<2;
- $vla779 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla779$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla779$alloca_mul)|0)+15)&-16)|0);;
- $602 = $effectiveBytes;
- $603 = $C;
- $mul780 = ($603*15)|0;
- $cmp781 = ($602|0)>=($mul780|0);
- $604 = $start;
- $cmp784 = ($604|0)==(0);
- $or$cond14 = $cmp781 & $cmp784;
- L252: do {
- if ($or$cond14) {
- $605 = $st$addr;
- $complexity787 = ((($605)) + 24|0);
- $606 = HEAP32[$complexity787>>2]|0;
- $cmp788 = ($606|0)>=(2);
- if (!($cmp788)) {
- label = 192;
- break;
- }
- $607 = $st$addr;
- $lfe791 = ((($607)) + 68|0);
- $608 = HEAP32[$lfe791>>2]|0;
- $tobool792 = ($608|0)!=(0);
- if ($tobool792) {
- label = 192;
- break;
- }
- $609 = $effectiveBytes;
- $cmp794 = ($609|0)<(40);
- do {
- if ($cmp794) {
- $lambda = 12;
- } else {
- $610 = $effectiveBytes;
- $cmp798 = ($610|0)<(60);
- if ($cmp798) {
- $lambda = 6;
- break;
- }
- $611 = $effectiveBytes;
- $cmp802 = ($611|0)<(100);
- if ($cmp802) {
- $lambda = 4;
- break;
- } else {
- $lambda = 3;
- break;
- }
- }
- } while(0);
- $612 = $lambda;
- $mul809 = $612<<1;
- $lambda = $mul809;
- $613 = $mode;
- $614 = $effEnd;
- $615 = $isTransient;
- $616 = $lambda;
- $617 = $N;
- $618 = $LM;
- $619 = +HEAPF32[$tf_estimate>>2];
- $620 = HEAP32[$tf_chan>>2]|0;
- $call810 = (_tf_analysis($613,$614,$615,$vla779,$616,$vla778,$617,$618,$tf_sum,$619,$620)|0);
- $tf_select = $call810;
- $621 = $effEnd;
- $i = $621;
- while(1) {
- $622 = $i;
- $623 = $end;
- $cmp812 = ($622|0)<($623|0);
- if (!($cmp812)) {
- break L252;
- }
- $624 = $effEnd;
- $sub815 = (($624) - 1)|0;
- $arrayidx816 = (($vla779) + ($sub815<<2)|0);
- $625 = HEAP32[$arrayidx816>>2]|0;
- $626 = $i;
- $arrayidx817 = (($vla779) + ($626<<2)|0);
- HEAP32[$arrayidx817>>2] = $625;
- $627 = $i;
- $inc819 = (($627) + 1)|0;
- $i = $inc819;
- }
- } else {
- label = 192;
- }
- } while(0);
- if ((label|0) == 192) {
- HEAP32[$tf_sum>>2] = 0;
- $i = 0;
- while(1) {
- $628 = $i;
- $629 = $end;
- $cmp823 = ($628|0)<($629|0);
- if (!($cmp823)) {
- break;
- }
- $630 = $isTransient;
- $631 = $i;
- $arrayidx826 = (($vla779) + ($631<<2)|0);
- HEAP32[$arrayidx826>>2] = $630;
- $632 = $i;
- $inc828 = (($632) + 1)|0;
- $i = $inc828;
- }
- $tf_select = 0;
- }
- $633 = $C;
- $634 = $nbEBands;
- $mul831 = Math_imul($633, $634)|0;
- $vla832$alloca_mul = $mul831<<2;
- $vla832 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla832$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla832$alloca_mul)|0)+15)&-16)|0);;
- $635 = $mode;
- $636 = $start;
- $637 = $end;
- $638 = $effEnd;
- $639 = $oldBandE;
- $640 = $total_bits;
- $641 = $enc$addr;
- $642 = $C;
- $643 = $LM;
- $644 = $nbAvailableBytes;
- $645 = $st$addr;
- $force_intra = ((($645)) + 12|0);
- $646 = HEAP32[$force_intra>>2]|0;
- $647 = $st$addr;
- $delayedIntra = ((($647)) + 84|0);
- $648 = $st$addr;
- $complexity833 = ((($648)) + 24|0);
- $649 = HEAP32[$complexity833>>2]|0;
- $cmp834 = ($649|0)>=(4);
- $conv835 = $cmp834&1;
- $650 = $st$addr;
- $loss_rate = ((($650)) + 56|0);
- $651 = HEAP32[$loss_rate>>2]|0;
- $652 = $st$addr;
- $lfe836 = ((($652)) + 68|0);
- $653 = HEAP32[$lfe836>>2]|0;
- _quant_coarse_energy($635,$636,$637,$638,$vla370,$639,$640,$vla832,$641,$642,$643,$644,$646,$delayedIntra,$conv835,$651,$653);
- $654 = $start;
- $655 = $end;
- $656 = $isTransient;
- $657 = $LM;
- $658 = $tf_select;
- $659 = $enc$addr;
- _tf_encode($654,$655,$656,$vla779,$657,$658,$659);
- $660 = $enc$addr;
- $call837 = (_ec_tell_50($660)|0);
- $add838 = (($call837) + 4)|0;
- $661 = $total_bits;
- $cmp839 = ($add838|0)<=($661|0);
- if ($cmp839) {
- $662 = $st$addr;
- $lfe842 = ((($662)) + 68|0);
- $663 = HEAP32[$lfe842>>2]|0;
- $tobool843 = ($663|0)!=(0);
- L278: do {
- if ($tobool843) {
- $664 = $st$addr;
- $tapset_decision845 = ((($664)) + 100|0);
- HEAP32[$tapset_decision845>>2] = 0;
- $665 = $st$addr;
- $spread_decision = ((($665)) + 80|0);
- HEAP32[$spread_decision>>2] = 2;
- } else {
- $666 = $shortBlocks;
- $tobool847 = ($666|0)!=(0);
- do {
- if (!($tobool847)) {
- $667 = $st$addr;
- $complexity849 = ((($667)) + 24|0);
- $668 = HEAP32[$complexity849>>2]|0;
- $cmp850 = ($668|0)<(3);
- if ($cmp850) {
- break;
- }
- $669 = $nbAvailableBytes;
- $670 = $C;
- $mul853 = ($670*10)|0;
- $cmp854 = ($669|0)<($mul853|0);
- $671 = $start;
- $cmp857 = ($671|0)!=(0);
- $or$cond16 = $cmp854 | $cmp857;
- if ($or$cond16) {
- break;
- }
- $675 = $mode;
- $676 = $st$addr;
- $tonal_average = ((($676)) + 88|0);
- $677 = $st$addr;
- $spread_decision869 = ((($677)) + 80|0);
- $678 = HEAP32[$spread_decision869>>2]|0;
- $679 = $st$addr;
- $hf_average = ((($679)) + 96|0);
- $680 = $st$addr;
- $tapset_decision870 = ((($680)) + 100|0);
- $681 = $pf_on;
- $tobool871 = ($681|0)!=(0);
- if ($tobool871) {
- $682 = $shortBlocks;
- $tobool873 = ($682|0)!=(0);
- $lnot874 = $tobool873 ^ 1;
- $683 = $lnot874;
- } else {
- $683 = 0;
- }
- $land$ext877 = $683&1;
- $684 = $effEnd;
- $685 = $C;
- $686 = $M;
- $call878 = (_spreading_decision($675,$vla778,$tonal_average,$678,$hf_average,$tapset_decision870,$land$ext877,$684,$685,$686)|0);
- $687 = $st$addr;
- $spread_decision879 = ((($687)) + 80|0);
- HEAP32[$spread_decision879>>2] = $call878;
- break L278;
- }
- } while(0);
- $672 = $st$addr;
- $complexity860 = ((($672)) + 24|0);
- $673 = HEAP32[$complexity860>>2]|0;
- $cmp861 = ($673|0)==(0);
- $674 = $st$addr;
- $spread_decision864 = ((($674)) + 80|0);
- $$sink = $cmp861 ? 0 : 2;
- HEAP32[$spread_decision864>>2] = $$sink;
- }
- } while(0);
- $688 = $enc$addr;
- $689 = $st$addr;
- $spread_decision882 = ((($689)) + 80|0);
- $690 = HEAP32[$spread_decision882>>2]|0;
- _ec_enc_icdf($688,$690,25789,5);
- }
- $691 = $nbEBands;
- $vla884$alloca_mul = $691<<2;
- $vla884 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla884$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla884$alloca_mul)|0)+15)&-16)|0);;
- $692 = $nbEBands;
- $693 = $start;
- $694 = $end;
- $695 = $C;
- $696 = $st$addr;
- $lsb_depth885 = ((($696)) + 60|0);
- $697 = HEAP32[$lsb_depth885>>2]|0;
- $698 = $mode;
- $logN = ((($698)) + 56|0);
- $699 = HEAP32[$logN>>2]|0;
- $700 = $isTransient;
- $701 = $st$addr;
- $vbr886 = ((($701)) + 44|0);
- $702 = HEAP32[$vbr886>>2]|0;
- $703 = $st$addr;
- $constrained_vbr887 = ((($703)) + 52|0);
- $704 = HEAP32[$constrained_vbr887>>2]|0;
- $705 = $eBands;
- $706 = $LM;
- $707 = $effectiveBytes;
- $708 = $st$addr;
- $lfe888 = ((($708)) + 68|0);
- $709 = HEAP32[$lfe888>>2]|0;
- $call889 = (+_dynalloc_analysis($vla370,$vla379,$692,$693,$694,$695,$vla884,$697,$699,$700,$702,$704,$705,$706,$707,$tot_boost,$709,$vla438));
- $maxDepth = $call889;
- $710 = $st$addr;
- $lfe890 = ((($710)) + 68|0);
- $711 = HEAP32[$lfe890>>2]|0;
- $tobool891 = ($711|0)!=(0);
- if ($tobool891) {
- $712 = $effectiveBytes;
- $div893 = (($712|0) / 3)&-1;
- $cmp894 = (8)<($div893|0);
- if ($cmp894) {
- $cond900 = 8;
- } else {
- $713 = $effectiveBytes;
- $div898 = (($713|0) / 3)&-1;
- $cond900 = $div898;
- }
- HEAP32[$vla884>>2] = $cond900;
- }
- $714 = $nbEBands;
- $vla903$alloca_mul = $714<<2;
- $vla903 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla903$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla903$alloca_mul)|0)+15)&-16)|0);;
- $715 = $mode;
- $716 = $LM;
- $717 = $C;
- _init_caps($715,$vla903,$716,$717);
- $dynalloc_logp = 6;
- $718 = $total_bits;
- $shl904 = $718 << 3;
- $total_bits = $shl904;
- $total_boost = 0;
- $719 = $enc$addr;
- $call905 = (_ec_tell_frac($719)|0);
- $tell = $call905;
- $720 = $start;
- $i = $720;
- while(1) {
- $721 = $i;
- $722 = $end;
- $cmp907 = ($721|0)<($722|0);
- $723 = $C;
- if (!($cmp907)) {
- break;
- }
- $724 = $eBands;
- $725 = $i;
- $add910 = (($725) + 1)|0;
- $arrayidx911 = (($724) + ($add910<<1)|0);
- $726 = HEAP16[$arrayidx911>>1]|0;
- $conv912 = $726 << 16 >> 16;
- $727 = $eBands;
- $728 = $i;
- $arrayidx913 = (($727) + ($728<<1)|0);
- $729 = HEAP16[$arrayidx913>>1]|0;
- $conv914 = $729 << 16 >> 16;
- $sub915 = (($conv912) - ($conv914))|0;
- $mul916 = Math_imul($723, $sub915)|0;
- $730 = $LM;
- $shl917 = $mul916 << $730;
- $width = $shl917;
- $731 = $width;
- $shl918 = $731 << 3;
- $732 = $width;
- $cmp919 = (48)>($732|0);
- $733 = $width;
- $cond924 = $cmp919 ? 48 : $733;
- $cmp925 = ($shl918|0)<($cond924|0);
- $734 = $width;
- if ($cmp925) {
- $shl928 = $734 << 3;
- $cond937 = $shl928;
- } else {
- $cmp930 = (48)>($734|0);
- $735 = $width;
- $cond935 = $cmp930 ? 48 : $735;
- $cond937 = $cond935;
- }
- $quanta = $cond937;
- $736 = $dynalloc_logp;
- $dynalloc_loop_logp = $736;
- $boost = 0;
- $j = 0;
- while(1) {
- $737 = $tell;
- $738 = $dynalloc_loop_logp;
- $shl939 = $738 << 3;
- $add940 = (($737) + ($shl939))|0;
- $739 = $total_bits;
- $740 = $total_boost;
- $sub941 = (($739) - ($740))|0;
- $cmp942 = ($add940|0)<($sub941|0);
- if (!($cmp942)) {
- break;
- }
- $741 = $boost;
- $742 = $i;
- $arrayidx945 = (($vla903) + ($742<<2)|0);
- $743 = HEAP32[$arrayidx945>>2]|0;
- $cmp946 = ($741|0)<($743|0);
- if (!($cmp946)) {
- break;
- }
- $744 = $j;
- $745 = $i;
- $arrayidx951 = (($vla884) + ($745<<2)|0);
- $746 = HEAP32[$arrayidx951>>2]|0;
- $cmp952 = ($744|0)<($746|0);
- $conv953 = $cmp952&1;
- $flag = $conv953;
- $747 = $enc$addr;
- $748 = $flag;
- $749 = $dynalloc_loop_logp;
- _ec_enc_bit_logp($747,$748,$749);
- $750 = $enc$addr;
- $call954 = (_ec_tell_frac($750)|0);
- $tell = $call954;
- $751 = $flag;
- $tobool955 = ($751|0)!=(0);
- if (!($tobool955)) {
- break;
- }
- $752 = $quanta;
- $753 = $boost;
- $add958 = (($753) + ($752))|0;
- $boost = $add958;
- $754 = $quanta;
- $755 = $total_boost;
- $add959 = (($755) + ($754))|0;
- $total_boost = $add959;
- $dynalloc_loop_logp = 1;
- $756 = $j;
- $inc961 = (($756) + 1)|0;
- $j = $inc961;
- }
- $757 = $j;
- $tobool963 = ($757|0)!=(0);
- if ($tobool963) {
- $758 = $dynalloc_logp;
- $sub965 = (($758) - 1)|0;
- $cmp966 = (2)>($sub965|0);
- $759 = $dynalloc_logp;
- $sub970 = (($759) - 1)|0;
- $cond972 = $cmp966 ? 2 : $sub970;
- $dynalloc_logp = $cond972;
- }
- $760 = $boost;
- $761 = $i;
- $arrayidx974 = (($vla884) + ($761<<2)|0);
- HEAP32[$arrayidx974>>2] = $760;
- $762 = $i;
- $inc976 = (($762) + 1)|0;
- $i = $inc976;
- }
- $cmp978 = ($723|0)==(2);
- if ($cmp978) {
- $763 = $LM;
- $cmp981 = ($763|0)!=(0);
- if ($cmp981) {
- $764 = $mode;
- $765 = $LM;
- $766 = $N;
- $call984 = (_stereo_analysis($764,$vla778,$765,$766)|0);
- HEAP32[$dual_stereo>>2] = $call984;
- }
- $767 = $equiv_rate;
- $div986 = (($767|0) / 1000)&-1;
- $conv987 = (+($div986|0));
- $768 = $st$addr;
- $intensity = ((($768)) + 188|0);
- $769 = HEAP32[$intensity>>2]|0;
- $call988 = (_hysteresis_decision($conv987,4384,4468,21,$769)|0);
- $770 = $st$addr;
- $intensity989 = ((($770)) + 188|0);
- HEAP32[$intensity989>>2] = $call988;
- $771 = $end;
- $772 = $start;
- $773 = $st$addr;
- $intensity990 = ((($773)) + 188|0);
- $774 = HEAP32[$intensity990>>2]|0;
- $cmp991 = ($772|0)>($774|0);
- if ($cmp991) {
- $775 = $start;
- $cond997 = $775;
- } else {
- $776 = $st$addr;
- $intensity995 = ((($776)) + 188|0);
- $777 = HEAP32[$intensity995>>2]|0;
- $cond997 = $777;
- }
- $cmp998 = ($771|0)<($cond997|0);
- do {
- if ($cmp998) {
- $778 = $end;
- $cond1011 = $778;
- } else {
- $779 = $start;
- $780 = $st$addr;
- $intensity1002 = ((($780)) + 188|0);
- $781 = HEAP32[$intensity1002>>2]|0;
- $cmp1003 = ($779|0)>($781|0);
- if ($cmp1003) {
- $782 = $start;
- $cond1011 = $782;
- break;
- } else {
- $783 = $st$addr;
- $intensity1007 = ((($783)) + 188|0);
- $784 = HEAP32[$intensity1007>>2]|0;
- $cond1011 = $784;
- break;
- }
- }
- } while(0);
- $785 = $st$addr;
- $intensity1012 = ((($785)) + 188|0);
- HEAP32[$intensity1012>>2] = $cond1011;
- }
- $alloc_trim = 5;
- $786 = $tell;
- $add1014 = (($786) + 48)|0;
- $787 = $total_bits;
- $788 = $total_boost;
- $sub1015 = (($787) - ($788))|0;
- $cmp1016 = ($add1014|0)<=($sub1015|0);
- if ($cmp1016) {
- $789 = $st$addr;
- $lfe1019 = ((($789)) + 68|0);
- $790 = HEAP32[$lfe1019>>2]|0;
- $tobool1020 = ($790|0)!=(0);
- if ($tobool1020) {
- $alloc_trim = 5;
- } else {
- $791 = $mode;
- $792 = $end;
- $793 = $LM;
- $794 = $C;
- $795 = $N;
- $796 = $st$addr;
- $analysis1023 = ((($796)) + 120|0);
- $797 = $st$addr;
- $stereo_saving = ((($797)) + 184|0);
- $798 = +HEAPF32[$tf_estimate>>2];
- $799 = $st$addr;
- $intensity1024 = ((($799)) + 188|0);
- $800 = HEAP32[$intensity1024>>2]|0;
- $801 = $surround_trim;
- $802 = $st$addr;
- $arch1025 = ((($802)) + 72|0);
- $803 = HEAP32[$arch1025>>2]|0;
- $call1026 = (_alloc_trim_analysis($791,$vla778,$vla370,$792,$793,$794,$795,$analysis1023,$stereo_saving,$798,$800,$801,$803)|0);
- $alloc_trim = $call1026;
- }
- $804 = $enc$addr;
- $805 = $alloc_trim;
- _ec_enc_icdf($804,$805,25793,7);
- $806 = $enc$addr;
- $call1028 = (_ec_tell_frac($806)|0);
- $tell = $call1028;
- }
- $807 = $vbr_rate;
- $cmp1030 = ($807|0)>(0);
- if ($cmp1030) {
- $808 = $mode;
- $maxLM1033 = ((($808)) + 36|0);
- $809 = HEAP32[$maxLM1033>>2]|0;
- $810 = $LM;
- $sub1034 = (($809) - ($810))|0;
- $lm_diff = $sub1034;
- $811 = $nbCompressedBytes$addr;
- $812 = $LM;
- $sub1035 = (3 - ($812))|0;
- $shr1036 = 1275 >> $sub1035;
- $cmp1037 = ($811|0)<($shr1036|0);
- if ($cmp1037) {
- $813 = $nbCompressedBytes$addr;
- $cond1044 = $813;
- } else {
- $814 = $LM;
- $sub1041 = (3 - ($814))|0;
- $shr1042 = 1275 >> $sub1041;
- $cond1044 = $shr1042;
- }
- $nbCompressedBytes$addr = $cond1044;
- $815 = $vbr_rate;
- $816 = $C;
- $mul1045 = ($816*40)|0;
- $add1046 = (($mul1045) + 20)|0;
- $shl1047 = $add1046 << 3;
- $sub1048 = (($815) - ($shl1047))|0;
- $base_target = $sub1048;
- $817 = $st$addr;
- $constrained_vbr1049 = ((($817)) + 52|0);
- $818 = HEAP32[$constrained_vbr1049>>2]|0;
- $tobool1050 = ($818|0)!=(0);
- if ($tobool1050) {
- $819 = $st$addr;
- $vbr_offset = ((($819)) + 172|0);
- $820 = HEAP32[$vbr_offset>>2]|0;
- $821 = $lm_diff;
- $shr1052 = $820 >> $821;
- $822 = $base_target;
- $add1053 = (($822) + ($shr1052))|0;
- $base_target = $add1053;
- }
- $823 = $mode;
- $824 = $st$addr;
- $analysis1055 = ((($824)) + 120|0);
- $825 = $base_target;
- $826 = $LM;
- $827 = $equiv_rate;
- $828 = $st$addr;
- $lastCodedBands1056 = ((($828)) + 92|0);
- $829 = HEAP32[$lastCodedBands1056>>2]|0;
- $830 = $C;
- $831 = $st$addr;
- $intensity1057 = ((($831)) + 188|0);
- $832 = HEAP32[$intensity1057>>2]|0;
- $833 = $st$addr;
- $constrained_vbr1058 = ((($833)) + 52|0);
- $834 = HEAP32[$constrained_vbr1058>>2]|0;
- $835 = $st$addr;
- $stereo_saving1059 = ((($835)) + 184|0);
- $836 = +HEAPF32[$stereo_saving1059>>2];
- $837 = HEAP32[$tot_boost>>2]|0;
- $838 = +HEAPF32[$tf_estimate>>2];
- $839 = $pitch_change;
- $840 = $maxDepth;
- $841 = $st$addr;
- $variable_duration1060 = ((($841)) + 64|0);
- $842 = HEAP32[$variable_duration1060>>2]|0;
- $843 = $st$addr;
- $lfe1061 = ((($843)) + 68|0);
- $844 = HEAP32[$lfe1061>>2]|0;
- $845 = $st$addr;
- $energy_mask1062 = ((($845)) + 192|0);
- $846 = HEAP32[$energy_mask1062>>2]|0;
- $cmp1063 = ($846|0)!=(0|0);
- $conv1064 = $cmp1063&1;
- $847 = $surround_masking;
- $848 = $temporal_vbr;
- $call1065 = (_compute_vbr($823,$analysis1055,$825,$826,$827,$829,$830,$832,$834,$836,$837,$838,$839,$840,$842,$844,$conv1064,$847,$848)|0);
- $target = $call1065;
- $849 = $target;
- $850 = $tell;
- $add1066 = (($849) + ($850))|0;
- $target = $add1066;
- $851 = $tell;
- $852 = $total_boost;
- $add1067 = (($851) + ($852))|0;
- $add1068 = (($add1067) + 64)|0;
- $sub1069 = (($add1068) - 1)|0;
- $shr1070 = $sub1069 >> 6;
- $add1071 = (($shr1070) + 2)|0;
- $853 = $nbFilledBytes;
- $sub1072 = (($add1071) - ($853))|0;
- $min_allowed = $sub1072;
- $854 = $target;
- $add1073 = (($854) + 32)|0;
- $shr1074 = $add1073 >> 6;
- $nbAvailableBytes = $shr1074;
- $855 = $min_allowed;
- $856 = $nbAvailableBytes;
- $cmp1075 = ($855|0)>($856|0);
- $857 = $min_allowed;
- $858 = $nbAvailableBytes;
- $cond1080 = $cmp1075 ? $857 : $858;
- $nbAvailableBytes = $cond1080;
- $859 = $nbCompressedBytes$addr;
- $860 = $nbAvailableBytes;
- $861 = $nbFilledBytes;
- $add1081 = (($860) + ($861))|0;
- $cmp1082 = ($859|0)<($add1081|0);
- if ($cmp1082) {
- $862 = $nbCompressedBytes$addr;
- $cond1088 = $862;
- } else {
- $863 = $nbAvailableBytes;
- $864 = $nbFilledBytes;
- $add1086 = (($863) + ($864))|0;
- $cond1088 = $add1086;
- }
- $865 = $nbFilledBytes;
- $sub1089 = (($cond1088) - ($865))|0;
- $nbAvailableBytes = $sub1089;
- $866 = $target;
- $867 = $vbr_rate;
- $sub1090 = (($866) - ($867))|0;
- $delta = $sub1090;
- $868 = $nbAvailableBytes;
- $shl1091 = $868 << 6;
- $target = $shl1091;
- $869 = $silence;
- $tobool1092 = ($869|0)!=(0);
- if ($tobool1092) {
- $nbAvailableBytes = 2;
- $target = 128;
- $delta = 0;
- }
- $870 = $st$addr;
- $vbr_count = ((($870)) + 176|0);
- $871 = HEAP32[$vbr_count>>2]|0;
- $cmp1095 = ($871|0)<(970);
- if ($cmp1095) {
- $872 = $st$addr;
- $vbr_count1098 = ((($872)) + 176|0);
- $873 = HEAP32[$vbr_count1098>>2]|0;
- $inc1099 = (($873) + 1)|0;
- HEAP32[$vbr_count1098>>2] = $inc1099;
- $874 = $st$addr;
- $vbr_count1100 = ((($874)) + 176|0);
- $875 = HEAP32[$vbr_count1100>>2]|0;
- $add1101 = (($875) + 20)|0;
- $conv1102 = (+($add1101|0));
- $div1103 = 1.0 / $conv1102;
- $alpha = $div1103;
- } else {
- $alpha = 0.0010000000474974513;
- }
- $876 = $st$addr;
- $constrained_vbr1106 = ((($876)) + 52|0);
- $877 = HEAP32[$constrained_vbr1106>>2]|0;
- $tobool1107 = ($877|0)!=(0);
- if ($tobool1107) {
- $878 = $target;
- $879 = $vbr_rate;
- $sub1109 = (($878) - ($879))|0;
- $880 = $st$addr;
- $vbr_reservoir1110 = ((($880)) + 164|0);
- $881 = HEAP32[$vbr_reservoir1110>>2]|0;
- $add1111 = (($881) + ($sub1109))|0;
- HEAP32[$vbr_reservoir1110>>2] = $add1111;
- }
- $882 = $st$addr;
- $constrained_vbr1113 = ((($882)) + 52|0);
- $883 = HEAP32[$constrained_vbr1113>>2]|0;
- $tobool1114 = ($883|0)!=(0);
- if ($tobool1114) {
- $884 = $alpha;
- $885 = $delta;
- $886 = $lm_diff;
- $shl1116 = 1 << $886;
- $mul1117 = Math_imul($885, $shl1116)|0;
- $887 = $st$addr;
- $vbr_offset1118 = ((($887)) + 172|0);
- $888 = HEAP32[$vbr_offset1118>>2]|0;
- $sub1119 = (($mul1117) - ($888))|0;
- $889 = $st$addr;
- $vbr_drift = ((($889)) + 168|0);
- $890 = HEAP32[$vbr_drift>>2]|0;
- $sub1120 = (($sub1119) - ($890))|0;
- $conv1121 = (+($sub1120|0));
- $mul1122 = $884 * $conv1121;
- $conv1123 = (~~(($mul1122)));
- $891 = $st$addr;
- $vbr_drift1124 = ((($891)) + 168|0);
- $892 = HEAP32[$vbr_drift1124>>2]|0;
- $add1125 = (($892) + ($conv1123))|0;
- HEAP32[$vbr_drift1124>>2] = $add1125;
- $893 = $st$addr;
- $vbr_drift1126 = ((($893)) + 168|0);
- $894 = HEAP32[$vbr_drift1126>>2]|0;
- $sub1127 = (0 - ($894))|0;
- $895 = $st$addr;
- $vbr_offset1128 = ((($895)) + 172|0);
- HEAP32[$vbr_offset1128>>2] = $sub1127;
- }
- $896 = $st$addr;
- $constrained_vbr1130 = ((($896)) + 52|0);
- $897 = HEAP32[$constrained_vbr1130>>2]|0;
- $tobool1131 = ($897|0)!=(0);
- do {
- if ($tobool1131) {
- $898 = $st$addr;
- $vbr_reservoir1133 = ((($898)) + 164|0);
- $899 = HEAP32[$vbr_reservoir1133>>2]|0;
- $cmp1134 = ($899|0)<(0);
- if (!($cmp1134)) {
- break;
- }
- $900 = $st$addr;
- $vbr_reservoir1137 = ((($900)) + 164|0);
- $901 = HEAP32[$vbr_reservoir1137>>2]|0;
- $sub1138 = (0 - ($901))|0;
- $div1139 = (($sub1138|0) / 64)&-1;
- $adjust = $div1139;
- $902 = $silence;
- $tobool1140 = ($902|0)!=(0);
- $903 = $adjust;
- $cond1144 = $tobool1140 ? 0 : $903;
- $904 = $nbAvailableBytes;
- $add1145 = (($904) + ($cond1144))|0;
- $nbAvailableBytes = $add1145;
- $905 = $st$addr;
- $vbr_reservoir1146 = ((($905)) + 164|0);
- HEAP32[$vbr_reservoir1146>>2] = 0;
- }
- } while(0);
- $906 = $nbCompressedBytes$addr;
- $907 = $nbAvailableBytes;
- $908 = $nbFilledBytes;
- $add1148 = (($907) + ($908))|0;
- $cmp1149 = ($906|0)<($add1148|0);
- if ($cmp1149) {
- $909 = $nbCompressedBytes$addr;
- $cond1155 = $909;
- } else {
- $910 = $nbAvailableBytes;
- $911 = $nbFilledBytes;
- $add1153 = (($910) + ($911))|0;
- $cond1155 = $add1153;
- }
- $nbCompressedBytes$addr = $cond1155;
- $912 = $enc$addr;
- $913 = $nbCompressedBytes$addr;
- _ec_enc_shrink($912,$913);
- }
- $914 = $nbEBands;
- $vla1157$alloca_mul = $914<<2;
- $vla1157 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1157$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1157$alloca_mul)|0)+15)&-16)|0);;
- $915 = $nbEBands;
- $vla1158$alloca_mul = $915<<2;
- $vla1158 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1158$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1158$alloca_mul)|0)+15)&-16)|0);;
- $916 = $nbEBands;
- $vla1159$alloca_mul = $916<<2;
- $vla1159 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1159$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1159$alloca_mul)|0)+15)&-16)|0);;
- $917 = $nbCompressedBytes$addr;
- $mul1160 = $917<<3;
- $shl1161 = $mul1160 << 3;
- $918 = $enc$addr;
- $call1162 = (_ec_tell_frac($918)|0);
- $sub1163 = (($shl1161) - ($call1162))|0;
- $sub1164 = (($sub1163) - 1)|0;
- $bits = $sub1164;
- $919 = $isTransient;
- $tobool1165 = ($919|0)!=(0);
- $920 = $LM;
- $cmp1167 = ($920|0)>=(2);
- $or$cond18 = $tobool1165 & $cmp1167;
- if ($or$cond18) {
- $921 = $bits;
- $922 = $LM;
- $add1170 = (($922) + 2)|0;
- $shl1171 = $add1170 << 3;
- $cmp1172 = ($921|0)>=($shl1171|0);
- $923 = $cmp1172;
- } else {
- $923 = 0;
- }
- $cond1176 = $923 ? 8 : 0;
- $anti_collapse_rsv = $cond1176;
- $924 = $anti_collapse_rsv;
- $925 = $bits;
- $sub1177 = (($925) - ($924))|0;
- $bits = $sub1177;
- $926 = $end;
- $sub1178 = (($926) - 1)|0;
- $signalBandwidth = $sub1178;
- $927 = $st$addr;
- $analysis1179 = ((($927)) + 120|0);
- $928 = HEAP32[$analysis1179>>2]|0;
- $tobool1181 = ($928|0)!=(0);
- if ($tobool1181) {
- $929 = $equiv_rate;
- $930 = $C;
- $mul1183 = ($930*32000)|0;
- $cmp1184 = ($929|0)<($mul1183|0);
- do {
- if ($cmp1184) {
- $min_bandwidth = 13;
- } else {
- $931 = $equiv_rate;
- $932 = $C;
- $mul1188 = ($932*48000)|0;
- $cmp1189 = ($931|0)<($mul1188|0);
- if ($cmp1189) {
- $min_bandwidth = 16;
- break;
- }
- $933 = $equiv_rate;
- $934 = $C;
- $mul1193 = ($934*60000)|0;
- $cmp1194 = ($933|0)<($mul1193|0);
- if ($cmp1194) {
- $min_bandwidth = 18;
- break;
- }
- $935 = $equiv_rate;
- $936 = $C;
- $mul1198 = ($936*80000)|0;
- $cmp1199 = ($935|0)<($mul1198|0);
- if ($cmp1199) {
- $min_bandwidth = 19;
- break;
- } else {
- $min_bandwidth = 20;
- break;
- }
- }
- } while(0);
- $937 = $st$addr;
- $analysis1207 = ((($937)) + 120|0);
- $bandwidth = ((($analysis1207)) + 24|0);
- $938 = HEAP32[$bandwidth>>2]|0;
- $939 = $min_bandwidth;
- $cmp1208 = ($938|0)>($939|0);
- if ($cmp1208) {
- $940 = $st$addr;
- $analysis1211 = ((($940)) + 120|0);
- $bandwidth1212 = ((($analysis1211)) + 24|0);
- $941 = HEAP32[$bandwidth1212>>2]|0;
- $cond1215 = $941;
- } else {
- $942 = $min_bandwidth;
- $cond1215 = $942;
- }
- $signalBandwidth = $cond1215;
- }
- $943 = $st$addr;
- $lfe1217 = ((($943)) + 68|0);
- $944 = HEAP32[$lfe1217>>2]|0;
- $tobool1218 = ($944|0)!=(0);
- if ($tobool1218) {
- $signalBandwidth = 1;
- }
- $945 = $mode;
- $946 = $start;
- $947 = $end;
- $948 = $alloc_trim;
- $949 = $st$addr;
- $intensity1221 = ((($949)) + 188|0);
- $950 = $bits;
- $951 = $C;
- $952 = $LM;
- $953 = $enc$addr;
- $954 = $st$addr;
- $lastCodedBands1222 = ((($954)) + 92|0);
- $955 = HEAP32[$lastCodedBands1222>>2]|0;
- $956 = $signalBandwidth;
- $call1223 = (_compute_allocation($945,$946,$947,$vla884,$vla903,$948,$intensity1221,$dual_stereo,$950,$balance,$vla1158,$vla1157,$vla1159,$951,$952,$953,1,$955,$956)|0);
- $codedBands = $call1223;
- $957 = $st$addr;
- $lastCodedBands1224 = ((($957)) + 92|0);
- $958 = HEAP32[$lastCodedBands1224>>2]|0;
- $tobool1225 = ($958|0)!=(0);
- if ($tobool1225) {
- $959 = $st$addr;
- $lastCodedBands1227 = ((($959)) + 92|0);
- $960 = HEAP32[$lastCodedBands1227>>2]|0;
- $add1228 = (($960) + 1)|0;
- $961 = $st$addr;
- $lastCodedBands1229 = ((($961)) + 92|0);
- $962 = HEAP32[$lastCodedBands1229>>2]|0;
- $sub1230 = (($962) - 1)|0;
- $963 = $codedBands;
- $cmp1231 = ($sub1230|0)>($963|0);
- if ($cmp1231) {
- $964 = $st$addr;
- $lastCodedBands1234 = ((($964)) + 92|0);
- $965 = HEAP32[$lastCodedBands1234>>2]|0;
- $sub1235 = (($965) - 1)|0;
- $cond1238 = $sub1235;
- } else {
- $966 = $codedBands;
- $cond1238 = $966;
- }
- $cmp1239 = ($add1228|0)<($cond1238|0);
- $967 = $st$addr;
- $lastCodedBands1242 = ((($967)) + 92|0);
- $968 = HEAP32[$lastCodedBands1242>>2]|0;
- do {
- if ($cmp1239) {
- $add1243 = (($968) + 1)|0;
- $cond1256 = $add1243;
- } else {
- $sub1246 = (($968) - 1)|0;
- $969 = $codedBands;
- $cmp1247 = ($sub1246|0)>($969|0);
- if ($cmp1247) {
- $970 = $st$addr;
- $lastCodedBands1250 = ((($970)) + 92|0);
- $971 = HEAP32[$lastCodedBands1250>>2]|0;
- $sub1251 = (($971) - 1)|0;
- $cond1256 = $sub1251;
- break;
- } else {
- $972 = $codedBands;
- $cond1256 = $972;
- break;
- }
- }
- } while(0);
- $973 = $st$addr;
- $$sink19 = $cond1256;$$sink20 = $973;
- } else {
- $974 = $codedBands;
- $975 = $st$addr;
- $$sink19 = $974;$$sink20 = $975;
- }
- $lastCodedBands1259 = ((($$sink20)) + 92|0);
- HEAP32[$lastCodedBands1259>>2] = $$sink19;
- $976 = $mode;
- $977 = $start;
- $978 = $end;
- $979 = $oldBandE;
- $980 = $enc$addr;
- $981 = $C;
- _quant_fine_energy($976,$977,$978,$979,$vla832,$vla1157,$980,$981);
- $982 = $C;
- $983 = $nbEBands;
- $mul1261 = Math_imul($982, $983)|0;
- $vla1262$alloca_mul = $mul1261;
- $vla1262 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1262$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1262$alloca_mul)|0)+15)&-16)|0);;
- $984 = $mode;
- $985 = $start;
- $986 = $end;
- $987 = $C;
- $cmp1263 = ($987|0)==(2);
- $988 = $N;
- $add$ptr1266 = (($vla778) + ($988<<2)|0);
- $cond1269 = $cmp1263 ? $add$ptr1266 : 0;
- $989 = $shortBlocks;
- $990 = $st$addr;
- $spread_decision1270 = ((($990)) + 80|0);
- $991 = HEAP32[$spread_decision1270>>2]|0;
- $992 = HEAP32[$dual_stereo>>2]|0;
- $993 = $st$addr;
- $intensity1271 = ((($993)) + 188|0);
- $994 = HEAP32[$intensity1271>>2]|0;
- $995 = $nbCompressedBytes$addr;
- $mul1272 = $995<<6;
- $996 = $anti_collapse_rsv;
- $sub1273 = (($mul1272) - ($996))|0;
- $997 = HEAP32[$balance>>2]|0;
- $998 = $enc$addr;
- $999 = $LM;
- $1000 = $codedBands;
- $1001 = $st$addr;
- $rng = ((($1001)) + 76|0);
- $1002 = $st$addr;
- $arch1274 = ((($1002)) + 72|0);
- $1003 = HEAP32[$arch1274>>2]|0;
- _quant_all_bands(1,$984,$985,$986,$vla778,$cond1269,$vla1262,$vla368,$vla1158,$989,$991,$992,$994,$vla779,$sub1273,$997,$998,$999,$1000,$rng,$1003);
- $1004 = $anti_collapse_rsv;
- $cmp1275 = ($1004|0)>(0);
- if ($cmp1275) {
- $1005 = $st$addr;
- $consec_transient1278 = ((($1005)) + 116|0);
- $1006 = HEAP32[$consec_transient1278>>2]|0;
- $cmp1279 = ($1006|0)<(2);
- $conv1280 = $cmp1279&1;
- $anti_collapse_on = $conv1280;
- $1007 = $enc$addr;
- $1008 = $anti_collapse_on;
- _ec_enc_bits($1007,$1008,1);
- }
- $1009 = $mode;
- $1010 = $start;
- $1011 = $end;
- $1012 = $oldBandE;
- $1013 = $nbCompressedBytes$addr;
- $mul1282 = $1013<<3;
- $1014 = $enc$addr;
- $call1283 = (_ec_tell_50($1014)|0);
- $sub1284 = (($mul1282) - ($call1283))|0;
- $1015 = $enc$addr;
- $1016 = $C;
- _quant_energy_finalise($1009,$1010,$1011,$1012,$vla832,$vla1157,$vla1159,$sub1284,$1015,$1016);
- $1017 = $silence;
- $tobool1285 = ($1017|0)!=(0);
- L417: do {
- if ($tobool1285) {
- $i = 0;
- while(1) {
- $1018 = $i;
- $1019 = $C;
- $1020 = $nbEBands;
- $mul1288 = Math_imul($1019, $1020)|0;
- $cmp1289 = ($1018|0)<($mul1288|0);
- if (!($cmp1289)) {
- break L417;
- }
- $1021 = $oldBandE;
- $1022 = $i;
- $arrayidx1292 = (($1021) + ($1022<<2)|0);
- HEAPF32[$arrayidx1292>>2] = -28.0;
- $1023 = $i;
- $inc1294 = (($1023) + 1)|0;
- $i = $inc1294;
- }
- }
- } while(0);
- $1024 = HEAP32[$pitch_index>>2]|0;
- $1025 = $st$addr;
- $prefilter_period1297 = ((($1025)) + 104|0);
- HEAP32[$prefilter_period1297>>2] = $1024;
- $1026 = +HEAPF32[$gain1>>2];
- $1027 = $st$addr;
- $prefilter_gain1298 = ((($1027)) + 108|0);
- HEAPF32[$prefilter_gain1298>>2] = $1026;
- $1028 = $prefilter_tapset;
- $1029 = $st$addr;
- $prefilter_tapset1299 = ((($1029)) + 112|0);
- HEAP32[$prefilter_tapset1299>>2] = $1028;
- $1030 = $CC;
- $cmp1300 = ($1030|0)==(2);
- $1031 = $C;
- $cmp1303 = ($1031|0)==(1);
- $or$cond22 = $cmp1300 & $cmp1303;
- if ($or$cond22) {
- $1032 = $oldBandE;
- $1033 = $nbEBands;
- $arrayidx1306 = (($1032) + ($1033<<2)|0);
- $1034 = $oldBandE;
- $1035 = $nbEBands;
- $mul1307 = $1035<<2;
- $1036 = $oldBandE;
- $1037 = $nbEBands;
- $arrayidx1308 = (($1036) + ($1037<<2)|0);
- $1038 = $oldBandE;
- $sub$ptr$lhs$cast1309 = $arrayidx1308;
- $sub$ptr$rhs$cast1310 = $1038;
- $sub$ptr$sub1311 = (($sub$ptr$lhs$cast1309) - ($sub$ptr$rhs$cast1310))|0;
- $sub$ptr$div1312 = (($sub$ptr$sub1311|0) / 4)&-1;
- $mul1313 = 0;
- $add1314 = (($mul1307) + ($mul1313))|0;
- _memcpy(($arrayidx1306|0),($1034|0),($add1314|0))|0;
- }
- $1039 = $isTransient;
- $tobool1316 = ($1039|0)!=(0);
- L426: do {
- if ($tobool1316) {
- $i = 0;
- while(1) {
- $1052 = $i;
- $1053 = $CC;
- $1054 = $nbEBands;
- $mul1336 = Math_imul($1053, $1054)|0;
- $cmp1337 = ($1052|0)<($mul1336|0);
- if (!($cmp1337)) {
- break L426;
- }
- $1055 = $oldLogE;
- $1056 = $i;
- $arrayidx1340 = (($1055) + ($1056<<2)|0);
- $1057 = +HEAPF32[$arrayidx1340>>2];
- $1058 = $oldBandE;
- $1059 = $i;
- $arrayidx1341 = (($1058) + ($1059<<2)|0);
- $1060 = +HEAPF32[$arrayidx1341>>2];
- $cmp1342 = $1057 < $1060;
- if ($cmp1342) {
- $1061 = $oldLogE;
- $1062 = $i;
- $arrayidx1345 = (($1061) + ($1062<<2)|0);
- $arrayidx1347$sink = $arrayidx1345;
- } else {
- $1063 = $oldBandE;
- $1064 = $i;
- $arrayidx1347 = (($1063) + ($1064<<2)|0);
- $arrayidx1347$sink = $arrayidx1347;
- }
- $1065 = +HEAPF32[$arrayidx1347$sink>>2];
- $1066 = $oldLogE;
- $1067 = $i;
- $arrayidx1350 = (($1066) + ($1067<<2)|0);
- HEAPF32[$arrayidx1350>>2] = $1065;
- $1068 = $i;
- $inc1352 = (($1068) + 1)|0;
- $i = $inc1352;
- }
- } else {
- $1040 = $oldLogE2;
- $1041 = $oldLogE;
- $1042 = $CC;
- $1043 = $nbEBands;
- $mul1318 = Math_imul($1042, $1043)|0;
- $mul1319 = $mul1318<<2;
- $1044 = $oldLogE2;
- $1045 = $oldLogE;
- $sub$ptr$lhs$cast1320 = $1044;
- $sub$ptr$rhs$cast1321 = $1045;
- $sub$ptr$sub1322 = (($sub$ptr$lhs$cast1320) - ($sub$ptr$rhs$cast1321))|0;
- $sub$ptr$div1323 = (($sub$ptr$sub1322|0) / 4)&-1;
- $mul1324 = 0;
- $add1325 = (($mul1319) + ($mul1324))|0;
- _memcpy(($1040|0),($1041|0),($add1325|0))|0;
- $1046 = $oldLogE;
- $1047 = $oldBandE;
- $1048 = $CC;
- $1049 = $nbEBands;
- $mul1326 = Math_imul($1048, $1049)|0;
- $mul1327 = $mul1326<<2;
- $1050 = $oldLogE;
- $1051 = $oldBandE;
- $sub$ptr$lhs$cast1328 = $1050;
- $sub$ptr$rhs$cast1329 = $1051;
- $sub$ptr$sub1330 = (($sub$ptr$lhs$cast1328) - ($sub$ptr$rhs$cast1329))|0;
- $sub$ptr$div1331 = (($sub$ptr$sub1330|0) / 4)&-1;
- $mul1332 = 0;
- $add1333 = (($mul1327) + ($mul1332))|0;
- _memcpy(($1046|0),($1047|0),($add1333|0))|0;
- }
- } while(0);
- $c = 0;
- while(1) {
- $i = 0;
- while(1) {
- $1069 = $i;
- $1070 = $start;
- $cmp1357 = ($1069|0)<($1070|0);
- if (!($cmp1357)) {
- break;
- }
- $1071 = $oldBandE;
- $1072 = $c;
- $1073 = $nbEBands;
- $mul1360 = Math_imul($1072, $1073)|0;
- $1074 = $i;
- $add1361 = (($mul1360) + ($1074))|0;
- $arrayidx1362 = (($1071) + ($add1361<<2)|0);
- HEAPF32[$arrayidx1362>>2] = 0.0;
- $1075 = $oldLogE2;
- $1076 = $c;
- $1077 = $nbEBands;
- $mul1363 = Math_imul($1076, $1077)|0;
- $1078 = $i;
- $add1364 = (($mul1363) + ($1078))|0;
- $arrayidx1365 = (($1075) + ($add1364<<2)|0);
- HEAPF32[$arrayidx1365>>2] = -28.0;
- $1079 = $oldLogE;
- $1080 = $c;
- $1081 = $nbEBands;
- $mul1366 = Math_imul($1080, $1081)|0;
- $1082 = $i;
- $add1367 = (($mul1366) + ($1082))|0;
- $arrayidx1368 = (($1079) + ($add1367<<2)|0);
- HEAPF32[$arrayidx1368>>2] = -28.0;
- $1083 = $i;
- $inc1370 = (($1083) + 1)|0;
- $i = $inc1370;
- }
- $1084 = $end;
- $i = $1084;
- while(1) {
- $1085 = $i;
- $1086 = $nbEBands;
- $cmp1373 = ($1085|0)<($1086|0);
- if (!($cmp1373)) {
- break;
- }
- $1087 = $oldBandE;
- $1088 = $c;
- $1089 = $nbEBands;
- $mul1376 = Math_imul($1088, $1089)|0;
- $1090 = $i;
- $add1377 = (($mul1376) + ($1090))|0;
- $arrayidx1378 = (($1087) + ($add1377<<2)|0);
- HEAPF32[$arrayidx1378>>2] = 0.0;
- $1091 = $oldLogE2;
- $1092 = $c;
- $1093 = $nbEBands;
- $mul1379 = Math_imul($1092, $1093)|0;
- $1094 = $i;
- $add1380 = (($mul1379) + ($1094))|0;
- $arrayidx1381 = (($1091) + ($add1380<<2)|0);
- HEAPF32[$arrayidx1381>>2] = -28.0;
- $1095 = $oldLogE;
- $1096 = $c;
- $1097 = $nbEBands;
- $mul1382 = Math_imul($1096, $1097)|0;
- $1098 = $i;
- $add1383 = (($mul1382) + ($1098))|0;
- $arrayidx1384 = (($1095) + ($add1383<<2)|0);
- HEAPF32[$arrayidx1384>>2] = -28.0;
- $1099 = $i;
- $inc1386 = (($1099) + 1)|0;
- $i = $inc1386;
- }
- $1100 = $c;
- $inc1389 = (($1100) + 1)|0;
- $c = $inc1389;
- $1101 = $CC;
- $cmp1390 = ($inc1389|0)<($1101|0);
- if (!($cmp1390)) {
- break;
- }
- }
- $1102 = $isTransient;
- $tobool1393 = ($1102|0)!=(0);
- $1103 = $transient_got_disabled;
- $tobool1395 = ($1103|0)!=(0);
- $or$cond24 = $tobool1393 | $tobool1395;
- $1104 = $st$addr;
- $consec_transient1397 = ((($1104)) + 116|0);
- if ($or$cond24) {
- $1105 = HEAP32[$consec_transient1397>>2]|0;
- $inc1398 = (($1105) + 1)|0;
- $$sink25 = $inc1398;
- } else {
- $$sink25 = 0;
- }
- HEAP32[$consec_transient1397>>2] = $$sink25;
- $1106 = $enc$addr;
- $rng1402 = ((($1106)) + 28|0);
- $1107 = HEAP32[$rng1402>>2]|0;
- $1108 = $st$addr;
- $rng1403 = ((($1108)) + 76|0);
- HEAP32[$rng1403>>2] = $1107;
- $1109 = $enc$addr;
- _ec_enc_done($1109);
- $1110 = $enc$addr;
- $call1404 = (_ec_get_error($1110)|0);
- $tobool1405 = ($call1404|0)!=(0);
- if ($tobool1405) {
- $retval = -3;
- $cleanup$dest$slot = 1;
- } else {
- $1111 = $nbCompressedBytes$addr;
- $retval = $1111;
- $cleanup$dest$slot = 1;
- }
- $1112 = $saved_stack;
- _llvm_stackrestore(($1112|0));
- $1113 = $retval;
- STACKTOP = sp;return ($1113|0);
+ $13 = -1;
+ $2706 = $13;
+ STACKTOP = sp;return ($2706|0);
}
-function _ec_tell_50($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $_this$addr = 0, $nbits_total = 0, $rng = 0, $sub = 0, $sub1 = 0, label = 0, sp = 0;
+function _user_bitrate_to_bitrate($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $5 = 0, $6 = 0;
+ var $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $nbits_total = ((($0)) + 20|0);
- $1 = HEAP32[$nbits_total>>2]|0;
- $2 = $_this$addr;
- $rng = ((($2)) + 28|0);
- $3 = HEAP32[$rng>>2]|0;
- $4 = (Math_clz32(($3|0))|0);
- $sub = (32 - ($4))|0;
- $sub1 = (($1) - ($sub))|0;
- STACKTOP = sp;return ($sub1|0);
-}
-function _celt_maxabs16($x,$len) {
- $x = $x|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0.0, $20 = 0.0, $21 = 0.0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0.0, $7 = 0;
- var $8 = 0, $9 = 0.0, $arrayidx = 0, $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx7 = 0, $cmp = 0, $cmp1 = 0, $cmp10 = 0, $cmp4 = 0, $cond = 0.0, $cond15 = 0.0, $cond9 = 0.0, $i = 0, $inc = 0, $len$addr = 0, $maxval = 0.0, $minval = 0.0, $sub = 0.0, $sub13 = 0.0;
- var $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $len$addr = $len;
- $maxval = 0.0;
- $minval = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $len$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $maxval;
- if (!($cmp)) {
- break;
- }
- $3 = $x$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $cmp1 = $2 > $5;
- if ($cmp1) {
- $6 = $maxval;
- $cond = $6;
- } else {
- $7 = $x$addr;
- $8 = $i;
- $arrayidx2 = (($7) + ($8<<2)|0);
- $9 = +HEAPF32[$arrayidx2>>2];
- $cond = $9;
- }
- $maxval = $cond;
- $10 = $minval;
- $11 = $x$addr;
- $12 = $i;
- $arrayidx3 = (($11) + ($12<<2)|0);
- $13 = +HEAPF32[$arrayidx3>>2];
- $cmp4 = $10 < $13;
- if ($cmp4) {
- $14 = $minval;
- $cond9 = $14;
- } else {
- $15 = $x$addr;
- $16 = $i;
- $arrayidx7 = (($15) + ($16<<2)|0);
- $17 = +HEAPF32[$arrayidx7>>2];
- $cond9 = $17;
- }
- $minval = $cond9;
- $18 = $i;
- $inc = (($18) + 1)|0;
- $i = $inc;
- }
- $19 = $minval;
- $sub = - $19;
- $cmp10 = $2 > $sub;
- $20 = $maxval;
- $21 = $minval;
- $sub13 = - $21;
- $cond15 = $cmp10 ? $20 : $sub13;
- STACKTOP = sp;return (+$cond15);
-}
-function _run_prefilter($st,$in,$prefilter_mem,$CC,$N,$prefilter_tapset,$pitch,$gain,$qgain,$enabled,$nbAvailableBytes) {
- $st = $st|0;
- $in = $in|0;
- $prefilter_mem = $prefilter_mem|0;
- $CC = $CC|0;
- $N = $N|0;
- $prefilter_tapset = $prefilter_tapset|0;
- $pitch = $pitch|0;
- $gain = $gain|0;
- $qgain = $qgain|0;
- $enabled = $enabled|0;
- $nbAvailableBytes = $nbAvailableBytes|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0, $131 = 0.0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0.0, $154 = 0.0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0.0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $23 = 0, $24 = 0, $25 = 0;
- var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
- var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
- var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0.0, $73 = 0.0, $74 = 0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0;
- var $80 = 0.0, $81 = 0.0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0;
- var $99 = 0, $CC$addr = 0, $N$addr = 0, $add = 0, $add$ptr = 0, $add$ptr10 = 0, $add$ptr136 = 0, $add$ptr139 = 0, $add$ptr14 = 0, $add$ptr143 = 0, $add$ptr147 = 0, $add$ptr158 = 0, $add$ptr159 = 0, $add$ptr161 = 0, $add$ptr17 = 0, $add$ptr174 = 0, $add$ptr175 = 0, $add$ptr176 = 0, $add$ptr178 = 0, $add$ptr179 = 0;
- var $add$ptr18 = 0, $add$ptr190 = 0, $add$ptr193 = 0, $add$ptr194 = 0, $add$ptr199 = 0, $add$ptr202 = 0, $add$ptr203 = 0, $add$ptr21 = 0, $add$ptr214 = 0, $add$ptr216 = 0, $add$ptr218 = 0, $add$ptr220 = 0, $add$ptr231 = 0, $add$ptr232 = 0, $add$ptr236 = 0, $add$ptr238 = 0, $add$ptr239 = 0, $add$ptr24 = 0, $add$ptr247 = 0, $add$ptr248 = 0;
- var $add$ptr249 = 0, $add$ptr25 = 0, $add$ptr251 = 0, $add$ptr254 = 0, $add$ptr255 = 0, $add$ptr257 = 0, $add$ptr259 = 0, $add$ptr36 = 0, $add$ptr7 = 0, $add119 = 0, $add12 = 0, $add134 = 0, $add141 = 0, $add15 = 0, $add153 = 0, $add156 = 0, $add172 = 0, $add191 = 0, $add200 = 0, $add209 = 0;
- var $add22 = 0, $add226 = 0, $add245 = 0, $add265 = 0, $add3 = 0, $add31 = 0, $add32 = 0, $add35 = 0, $add62 = 0.0, $add66 = 0.0, $add70 = 0.0, $add96 = 0.0, $arch = 0, $arch170 = 0, $arch186 = 0, $arch37 = 0, $arch38 = 0, $arrayidx13 = 0, $arrayidx160 = 0, $arrayidx177 = 0;
- var $arrayidx20 = 0, $arrayidx215 = 0, $arrayidx219 = 0, $arrayidx250 = 0, $arrayidx258 = 0, $arrayidx4 = 0, $arrayidx5 = 0, $arrayidx8 = 0, $c = 0, $call = 0.0, $call58 = 0, $call88 = 0.0, $call98 = 0.0, $cmp = 0, $cmp101 = 0, $cmp107 = 0, $cmp111 = 0, $cmp126 = 0, $cmp210 = 0, $cmp269 = 0;
- var $cmp39 = 0, $cmp42 = 0, $cmp47 = 0, $cmp52 = 0, $cmp60 = 0, $cmp64 = 0, $cmp68 = 0, $cmp73 = 0, $cmp78 = 0, $cmp82 = 0, $cmp83 = 0, $cmp90 = 0, $cond = 0.0, $cond106 = 0, $cond116 = 0, $cond118 = 0, $cond132 = 0, $conv = 0.0, $conv120 = 0.0, $conv89 = 0.0;
- var $conv97 = 0.0, $conv99 = 0, $div = 0.0, $enabled$addr = 0, $gain$addr = 0, $gain1 = 0.0, $idx$neg = 0, $idx$neg256 = 0, $in$addr = 0, $in_mem = 0, $in_mem144 = 0, $in_mem187 = 0, $in_mem196 = 0, $inc = 0, $inc268 = 0, $loss_rate = 0, $loss_rate46 = 0, $loss_rate51 = 0, $mode = 0, $mul = 0;
- var $mul11 = 0, $mul121 = 0.0, $mul135 = 0, $mul138 = 0, $mul140 = 0, $mul142 = 0, $mul146 = 0, $mul152 = 0, $mul157 = 0, $mul16 = 0, $mul173 = 0, $mul189 = 0, $mul19 = 0, $mul192 = 0, $mul195 = 0, $mul198 = 0, $mul201 = 0, $mul208 = 0, $mul213 = 0, $mul217 = 0;
- var $mul225 = 0, $mul23 = 0, $mul230 = 0, $mul234 = 0, $mul235 = 0, $mul237 = 0, $mul244 = 0, $mul246 = 0, $mul252 = 0, $mul253 = 0, $mul264 = 0, $mul30 = 0, $mul41 = 0.0, $mul44 = 0.0, $mul49 = 0.0, $mul59 = 0, $mul6 = 0, $mul9 = 0, $mul95 = 0.0, $nbAvailableBytes$addr = 0;
- var $offset = 0, $overlap = 0, $overlap2 = 0, $pf_on = 0, $pf_threshold = 0.0, $pitch$addr = 0, $pitch_index = 0, $pre = 0, $prefilter_gain = 0, $prefilter_gain164 = 0, $prefilter_gain166 = 0, $prefilter_gain182 = 0, $prefilter_gain72 = 0, $prefilter_gain77 = 0, $prefilter_gain86 = 0, $prefilter_gain93 = 0, $prefilter_mem$addr = 0, $prefilter_period = 0, $prefilter_period125 = 0, $prefilter_period129 = 0;
- var $prefilter_period133 = 0, $prefilter_period162 = 0, $prefilter_period163 = 0, $prefilter_period180 = 0, $prefilter_period56 = 0, $prefilter_tapset$addr = 0, $prefilter_tapset168 = 0, $prefilter_tapset169 = 0, $prefilter_tapset185 = 0, $qg = 0, $qgain$addr = 0, $saved_stack = 0, $saved_stack33 = 0, $shortMdctSize = 0, $shr = 0, $st$addr = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$div151 = 0, $sub$ptr$div207 = 0;
- var $sub$ptr$div224 = 0, $sub$ptr$div243 = 0, $sub$ptr$div263 = 0, $sub$ptr$div29 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast148 = 0, $sub$ptr$lhs$cast204 = 0, $sub$ptr$lhs$cast221 = 0, $sub$ptr$lhs$cast240 = 0, $sub$ptr$lhs$cast26 = 0, $sub$ptr$lhs$cast260 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast149 = 0, $sub$ptr$rhs$cast205 = 0, $sub$ptr$rhs$cast222 = 0, $sub$ptr$rhs$cast241 = 0, $sub$ptr$rhs$cast261 = 0, $sub$ptr$rhs$cast27 = 0, $sub$ptr$sub = 0, $sub$ptr$sub150 = 0;
- var $sub$ptr$sub206 = 0, $sub$ptr$sub223 = 0, $sub$ptr$sub242 = 0, $sub$ptr$sub262 = 0, $sub$ptr$sub28 = 0, $sub100 = 0, $sub124 = 0, $sub165 = 0.0, $sub167 = 0.0, $sub181 = 0, $sub183 = 0.0, $sub184 = 0.0, $sub233 = 0, $sub57 = 0, $sub75 = 0.0, $sub80 = 0.0, $sub87 = 0.0, $tobool = 0, $tobool154 = 0, $vla = 0;
- var $vla$alloca_mul = 0, $vla34 = 0, $vla34$alloca_mul = 0, $window = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $pre = sp + 40|0;
- $pitch_index = sp + 32|0;
- $st$addr = $st;
- $in$addr = $in;
- $prefilter_mem$addr = $prefilter_mem;
- $CC$addr = $CC;
- $N$addr = $N;
- $prefilter_tapset$addr = $prefilter_tapset;
- $pitch$addr = $pitch;
- $gain$addr = $gain;
- $qgain$addr = $qgain;
- $enabled$addr = $enabled;
- $nbAvailableBytes$addr = $nbAvailableBytes;
- $0 = $st$addr;
- $1 = HEAP32[$0>>2]|0;
- $mode = $1;
- $2 = $mode;
- $overlap2 = ((($2)) + 4|0);
- $3 = HEAP32[$overlap2>>2]|0;
- $overlap = $3;
- $4 = $CC$addr;
- $5 = $N$addr;
- $add = (($5) + 1024)|0;
- $mul = Math_imul($4, $add)|0;
- $6 = (_llvm_stacksave()|0);
- $saved_stack = $6;
- $vla$alloca_mul = $mul<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- HEAP32[$pre>>2] = $vla;
- $7 = $N$addr;
- $add3 = (($7) + 1024)|0;
- $add$ptr = (($vla) + ($add3<<2)|0);
- $arrayidx4 = ((($pre)) + 4|0);
- HEAP32[$arrayidx4>>2] = $add$ptr;
- $c = 0;
- while(1) {
- $8 = $c;
- $arrayidx5 = (($pre) + ($8<<2)|0);
- $9 = HEAP32[$arrayidx5>>2]|0;
- $10 = $prefilter_mem$addr;
- $11 = $c;
- $mul6 = $11<<10;
- $add$ptr7 = (($10) + ($mul6<<2)|0);
- $12 = $c;
- $arrayidx8 = (($pre) + ($12<<2)|0);
- $13 = HEAP32[$arrayidx8>>2]|0;
- $14 = $prefilter_mem$addr;
- $15 = $c;
- $mul9 = $15<<10;
- $add$ptr10 = (($14) + ($mul9<<2)|0);
- $sub$ptr$lhs$cast = $13;
- $sub$ptr$rhs$cast = $add$ptr10;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul11 = 0;
- $add12 = (4096 + ($mul11))|0;
- _memcpy(($9|0),($add$ptr7|0),($add12|0))|0;
- $16 = $c;
- $arrayidx13 = (($pre) + ($16<<2)|0);
- $17 = HEAP32[$arrayidx13>>2]|0;
- $add$ptr14 = ((($17)) + 4096|0);
- $18 = $in$addr;
- $19 = $c;
- $20 = $N$addr;
- $21 = $overlap;
- $add15 = (($20) + ($21))|0;
- $mul16 = Math_imul($19, $add15)|0;
- $add$ptr17 = (($18) + ($mul16<<2)|0);
- $22 = $overlap;
- $add$ptr18 = (($add$ptr17) + ($22<<2)|0);
- $23 = $N$addr;
- $mul19 = $23<<2;
- $24 = $c;
- $arrayidx20 = (($pre) + ($24<<2)|0);
- $25 = HEAP32[$arrayidx20>>2]|0;
- $add$ptr21 = ((($25)) + 4096|0);
- $26 = $in$addr;
- $27 = $c;
- $28 = $N$addr;
- $29 = $overlap;
- $add22 = (($28) + ($29))|0;
- $mul23 = Math_imul($27, $add22)|0;
- $add$ptr24 = (($26) + ($mul23<<2)|0);
- $30 = $overlap;
- $add$ptr25 = (($add$ptr24) + ($30<<2)|0);
- $sub$ptr$lhs$cast26 = $add$ptr21;
- $sub$ptr$rhs$cast27 = $add$ptr25;
- $sub$ptr$sub28 = (($sub$ptr$lhs$cast26) - ($sub$ptr$rhs$cast27))|0;
- $sub$ptr$div29 = (($sub$ptr$sub28|0) / 4)&-1;
- $mul30 = 0;
- $add31 = (($mul19) + ($mul30))|0;
- _memcpy(($add$ptr14|0),($add$ptr18|0),($add31|0))|0;
- $31 = $c;
- $inc = (($31) + 1)|0;
- $c = $inc;
- $32 = $CC$addr;
- $cmp = ($inc|0)<($32|0);
- if (!($cmp)) {
- break;
- }
- }
- $33 = $enabled$addr;
- $tobool = ($33|0)!=(0);
- if ($tobool) {
- $34 = $N$addr;
- $add32 = (1024 + ($34))|0;
- $shr = $add32 >> 1;
- $35 = (_llvm_stacksave()|0);
- $saved_stack33 = $35;
- $vla34$alloca_mul = $shr<<2;
- $vla34 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla34$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla34$alloca_mul)|0)+15)&-16)|0);;
- $36 = $N$addr;
- $add35 = (1024 + ($36))|0;
- $37 = $CC$addr;
- $38 = $st$addr;
- $arch = ((($38)) + 72|0);
- $39 = HEAP32[$arch>>2]|0;
- _pitch_downsample($pre,$vla34,$add35,$37,$39);
- $add$ptr36 = ((($vla34)) + 2048|0);
- $40 = $N$addr;
- $41 = $st$addr;
- $arch37 = ((($41)) + 72|0);
- $42 = HEAP32[$arch37>>2]|0;
- _pitch_search($add$ptr36,$vla34,$40,979,$pitch_index,$42);
- $43 = HEAP32[$pitch_index>>2]|0;
- $sub = (1024 - ($43))|0;
- HEAP32[$pitch_index>>2] = $sub;
- $44 = $N$addr;
- $45 = $st$addr;
- $prefilter_period = ((($45)) + 104|0);
- $46 = HEAP32[$prefilter_period>>2]|0;
- $47 = $st$addr;
- $prefilter_gain = ((($47)) + 108|0);
- $48 = +HEAPF32[$prefilter_gain>>2];
- $49 = $st$addr;
- $arch38 = ((($49)) + 72|0);
- $50 = HEAP32[$arch38>>2]|0;
- $call = (+_remove_doubling($vla34,1024,15,$44,$pitch_index,$46,$48,$50));
- $gain1 = $call;
- $51 = HEAP32[$pitch_index>>2]|0;
- $cmp39 = ($51|0)>(1022);
- if ($cmp39) {
- HEAP32[$pitch_index>>2] = 1022;
- }
- $52 = $gain1;
- $mul41 = 0.69999998807907104 * $52;
- $gain1 = $mul41;
- $53 = $st$addr;
- $loss_rate = ((($53)) + 56|0);
- $54 = HEAP32[$loss_rate>>2]|0;
- $cmp42 = ($54|0)>(2);
- if ($cmp42) {
- $55 = $gain1;
- $mul44 = 0.5 * $55;
- $gain1 = $mul44;
- }
- $56 = $st$addr;
- $loss_rate46 = ((($56)) + 56|0);
- $57 = HEAP32[$loss_rate46>>2]|0;
- $cmp47 = ($57|0)>(4);
- if ($cmp47) {
- $58 = $gain1;
- $mul49 = 0.5 * $58;
- $gain1 = $mul49;
- }
- $59 = $st$addr;
- $loss_rate51 = ((($59)) + 56|0);
- $60 = HEAP32[$loss_rate51>>2]|0;
- $cmp52 = ($60|0)>(8);
- if ($cmp52) {
- $gain1 = 0.0;
- }
- $61 = $saved_stack33;
- _llvm_stackrestore(($61|0));
- } else {
- $gain1 = 0.0;
- HEAP32[$pitch_index>>2] = 15;
- }
- $pf_threshold = 0.20000000298023224;
- $62 = HEAP32[$pitch_index>>2]|0;
- $63 = $st$addr;
- $prefilter_period56 = ((($63)) + 104|0);
- $64 = HEAP32[$prefilter_period56>>2]|0;
- $sub57 = (($62) - ($64))|0;
- $call58 = (Math_abs(($sub57|0))|0);
- $mul59 = ($call58*10)|0;
- $65 = HEAP32[$pitch_index>>2]|0;
- $cmp60 = ($mul59|0)>($65|0);
- if ($cmp60) {
- $66 = $pf_threshold;
- $add62 = $66 + 0.20000000298023224;
- $pf_threshold = $add62;
- }
- $67 = $nbAvailableBytes$addr;
- $cmp64 = ($67|0)<(25);
- if ($cmp64) {
- $68 = $pf_threshold;
- $add66 = $68 + 0.10000000149011612;
- $pf_threshold = $add66;
- }
- $69 = $nbAvailableBytes$addr;
- $cmp68 = ($69|0)<(35);
- if ($cmp68) {
- $70 = $pf_threshold;
- $add70 = $70 + 0.10000000149011612;
- $pf_threshold = $add70;
- }
- $71 = $st$addr;
- $prefilter_gain72 = ((($71)) + 108|0);
- $72 = +HEAPF32[$prefilter_gain72>>2];
- $cmp73 = $72 > 0.40000000596046448;
- if ($cmp73) {
- $73 = $pf_threshold;
- $sub75 = $73 - 0.10000000149011612;
- $pf_threshold = $sub75;
- }
- $74 = $st$addr;
- $prefilter_gain77 = ((($74)) + 108|0);
- $75 = +HEAPF32[$prefilter_gain77>>2];
- $cmp78 = $75 > 0.55000001192092896;
- if ($cmp78) {
- $76 = $pf_threshold;
- $sub80 = $76 - 0.10000000149011612;
- $pf_threshold = $sub80;
- }
- $77 = $pf_threshold;
- $cmp82 = $77 > 0.20000000298023224;
- $78 = $pf_threshold;
- $cond = $cmp82 ? $78 : 0.20000000298023224;
- $pf_threshold = $cond;
- $79 = $gain1;
- $80 = $pf_threshold;
- $cmp83 = $79 < $80;
- if ($cmp83) {
- $gain1 = 0.0;
- $pf_on = 0;
- $qg = 0;
- } else {
- $81 = $gain1;
- $82 = $st$addr;
- $prefilter_gain86 = ((($82)) + 108|0);
- $83 = +HEAPF32[$prefilter_gain86>>2];
- $sub87 = $81 - $83;
- $conv = $sub87;
- $call88 = (+Math_abs((+$conv)));
- $conv89 = $call88;
- $cmp90 = $conv89 < 0.10000000149011612;
- if ($cmp90) {
- $84 = $st$addr;
- $prefilter_gain93 = ((($84)) + 108|0);
- $85 = +HEAPF32[$prefilter_gain93>>2];
- $gain1 = $85;
- }
- $86 = $gain1;
- $mul95 = $86 * 32.0;
- $div = $mul95 / 3.0;
- $add96 = 0.5 + $div;
- $conv97 = $add96;
- $call98 = (+Math_floor((+$conv97)));
- $conv99 = (~~(($call98)));
- $sub100 = (($conv99) - 1)|0;
- $qg = $sub100;
- $87 = $qg;
- $cmp101 = (7)<($87|0);
- $88 = $qg;
- $cond106 = $cmp101 ? 7 : $88;
- $cmp107 = (0)>($cond106|0);
- if ($cmp107) {
- $cond118 = 0;
- } else {
- $89 = $qg;
- $cmp111 = (7)<($89|0);
- $90 = $qg;
- $cond116 = $cmp111 ? 7 : $90;
- $cond118 = $cond116;
- }
- $qg = $cond118;
- $91 = $qg;
- $add119 = (($91) + 1)|0;
- $conv120 = (+($add119|0));
- $mul121 = 0.09375 * $conv120;
- $gain1 = $mul121;
- $pf_on = 1;
- }
- $c = 0;
- while(1) {
- $92 = $mode;
- $shortMdctSize = ((($92)) + 44|0);
- $93 = HEAP32[$shortMdctSize>>2]|0;
- $94 = $overlap;
- $sub124 = (($93) - ($94))|0;
- $offset = $sub124;
- $95 = $st$addr;
- $prefilter_period125 = ((($95)) + 104|0);
- $96 = HEAP32[$prefilter_period125>>2]|0;
- $cmp126 = ($96|0)>(15);
- if ($cmp126) {
- $97 = $st$addr;
- $prefilter_period129 = ((($97)) + 104|0);
- $98 = HEAP32[$prefilter_period129>>2]|0;
- $cond132 = $98;
- } else {
- $cond132 = 15;
- }
- $99 = $st$addr;
- $prefilter_period133 = ((($99)) + 104|0);
- HEAP32[$prefilter_period133>>2] = $cond132;
- $100 = $in$addr;
- $101 = $c;
- $102 = $N$addr;
- $103 = $overlap;
- $add134 = (($102) + ($103))|0;
- $mul135 = Math_imul($101, $add134)|0;
- $add$ptr136 = (($100) + ($mul135<<2)|0);
- $104 = $st$addr;
- $in_mem = ((($104)) + 200|0);
- $105 = $c;
- $106 = $overlap;
- $mul138 = Math_imul($105, $106)|0;
- $add$ptr139 = (($in_mem) + ($mul138<<2)|0);
- $107 = $overlap;
- $mul140 = $107<<2;
- $108 = $in$addr;
- $109 = $c;
- $110 = $N$addr;
- $111 = $overlap;
- $add141 = (($110) + ($111))|0;
- $mul142 = Math_imul($109, $add141)|0;
- $add$ptr143 = (($108) + ($mul142<<2)|0);
- $112 = $st$addr;
- $in_mem144 = ((($112)) + 200|0);
- $113 = $c;
- $114 = $overlap;
- $mul146 = Math_imul($113, $114)|0;
- $add$ptr147 = (($in_mem144) + ($mul146<<2)|0);
- $sub$ptr$lhs$cast148 = $add$ptr143;
- $sub$ptr$rhs$cast149 = $add$ptr147;
- $sub$ptr$sub150 = (($sub$ptr$lhs$cast148) - ($sub$ptr$rhs$cast149))|0;
- $sub$ptr$div151 = (($sub$ptr$sub150|0) / 4)&-1;
- $mul152 = 0;
- $add153 = (($mul140) + ($mul152))|0;
- _memcpy(($add$ptr136|0),($add$ptr139|0),($add153|0))|0;
- $115 = $offset;
- $tobool154 = ($115|0)!=(0);
- if ($tobool154) {
- $116 = $in$addr;
- $117 = $c;
- $118 = $N$addr;
- $119 = $overlap;
- $add156 = (($118) + ($119))|0;
- $mul157 = Math_imul($117, $add156)|0;
- $add$ptr158 = (($116) + ($mul157<<2)|0);
- $120 = $overlap;
- $add$ptr159 = (($add$ptr158) + ($120<<2)|0);
- $121 = $c;
- $arrayidx160 = (($pre) + ($121<<2)|0);
- $122 = HEAP32[$arrayidx160>>2]|0;
- $add$ptr161 = ((($122)) + 4096|0);
- $123 = $st$addr;
- $prefilter_period162 = ((($123)) + 104|0);
- $124 = HEAP32[$prefilter_period162>>2]|0;
- $125 = $st$addr;
- $prefilter_period163 = ((($125)) + 104|0);
- $126 = HEAP32[$prefilter_period163>>2]|0;
- $127 = $offset;
- $128 = $st$addr;
- $prefilter_gain164 = ((($128)) + 108|0);
- $129 = +HEAPF32[$prefilter_gain164>>2];
- $sub165 = - $129;
- $130 = $st$addr;
- $prefilter_gain166 = ((($130)) + 108|0);
- $131 = +HEAPF32[$prefilter_gain166>>2];
- $sub167 = - $131;
- $132 = $st$addr;
- $prefilter_tapset168 = ((($132)) + 112|0);
- $133 = HEAP32[$prefilter_tapset168>>2]|0;
- $134 = $st$addr;
- $prefilter_tapset169 = ((($134)) + 112|0);
- $135 = HEAP32[$prefilter_tapset169>>2]|0;
- $136 = $st$addr;
- $arch170 = ((($136)) + 72|0);
- $137 = HEAP32[$arch170>>2]|0;
- _comb_filter($add$ptr159,$add$ptr161,$124,$126,$127,$sub165,$sub167,$133,$135,0,0,$137);
- }
- $138 = $in$addr;
- $139 = $c;
- $140 = $N$addr;
- $141 = $overlap;
- $add172 = (($140) + ($141))|0;
- $mul173 = Math_imul($139, $add172)|0;
- $add$ptr174 = (($138) + ($mul173<<2)|0);
- $142 = $overlap;
- $add$ptr175 = (($add$ptr174) + ($142<<2)|0);
- $143 = $offset;
- $add$ptr176 = (($add$ptr175) + ($143<<2)|0);
- $144 = $c;
- $arrayidx177 = (($pre) + ($144<<2)|0);
- $145 = HEAP32[$arrayidx177>>2]|0;
- $add$ptr178 = ((($145)) + 4096|0);
- $146 = $offset;
- $add$ptr179 = (($add$ptr178) + ($146<<2)|0);
- $147 = $st$addr;
- $prefilter_period180 = ((($147)) + 104|0);
- $148 = HEAP32[$prefilter_period180>>2]|0;
- $149 = HEAP32[$pitch_index>>2]|0;
- $150 = $N$addr;
- $151 = $offset;
- $sub181 = (($150) - ($151))|0;
- $152 = $st$addr;
- $prefilter_gain182 = ((($152)) + 108|0);
- $153 = +HEAPF32[$prefilter_gain182>>2];
- $sub183 = - $153;
- $154 = $gain1;
- $sub184 = - $154;
- $155 = $st$addr;
- $prefilter_tapset185 = ((($155)) + 112|0);
- $156 = HEAP32[$prefilter_tapset185>>2]|0;
- $157 = $prefilter_tapset$addr;
- $158 = $mode;
- $window = ((($158)) + 60|0);
- $159 = HEAP32[$window>>2]|0;
- $160 = $overlap;
- $161 = $st$addr;
- $arch186 = ((($161)) + 72|0);
- $162 = HEAP32[$arch186>>2]|0;
- _comb_filter($add$ptr176,$add$ptr179,$148,$149,$sub181,$sub183,$sub184,$156,$157,$159,$160,$162);
- $163 = $st$addr;
- $in_mem187 = ((($163)) + 200|0);
- $164 = $c;
- $165 = $overlap;
- $mul189 = Math_imul($164, $165)|0;
- $add$ptr190 = (($in_mem187) + ($mul189<<2)|0);
- $166 = $in$addr;
- $167 = $c;
- $168 = $N$addr;
- $169 = $overlap;
- $add191 = (($168) + ($169))|0;
- $mul192 = Math_imul($167, $add191)|0;
- $add$ptr193 = (($166) + ($mul192<<2)|0);
- $170 = $N$addr;
- $add$ptr194 = (($add$ptr193) + ($170<<2)|0);
- $171 = $overlap;
- $mul195 = $171<<2;
- $172 = $st$addr;
- $in_mem196 = ((($172)) + 200|0);
- $173 = $c;
- $174 = $overlap;
- $mul198 = Math_imul($173, $174)|0;
- $add$ptr199 = (($in_mem196) + ($mul198<<2)|0);
- $175 = $in$addr;
- $176 = $c;
- $177 = $N$addr;
- $178 = $overlap;
- $add200 = (($177) + ($178))|0;
- $mul201 = Math_imul($176, $add200)|0;
- $add$ptr202 = (($175) + ($mul201<<2)|0);
- $179 = $N$addr;
- $add$ptr203 = (($add$ptr202) + ($179<<2)|0);
- $sub$ptr$lhs$cast204 = $add$ptr199;
- $sub$ptr$rhs$cast205 = $add$ptr203;
- $sub$ptr$sub206 = (($sub$ptr$lhs$cast204) - ($sub$ptr$rhs$cast205))|0;
- $sub$ptr$div207 = (($sub$ptr$sub206|0) / 4)&-1;
- $mul208 = 0;
- $add209 = (($mul195) + ($mul208))|0;
- _memcpy(($add$ptr190|0),($add$ptr194|0),($add209|0))|0;
- $180 = $N$addr;
- $cmp210 = ($180|0)>(1024);
- $181 = $prefilter_mem$addr;
- $182 = $c;
- $mul213 = $182<<10;
- $add$ptr214 = (($181) + ($mul213<<2)|0);
- if ($cmp210) {
- $183 = $c;
- $arrayidx215 = (($pre) + ($183<<2)|0);
- $184 = HEAP32[$arrayidx215>>2]|0;
- $185 = $N$addr;
- $add$ptr216 = (($184) + ($185<<2)|0);
- $186 = $prefilter_mem$addr;
- $187 = $c;
- $mul217 = $187<<10;
- $add$ptr218 = (($186) + ($mul217<<2)|0);
- $188 = $c;
- $arrayidx219 = (($pre) + ($188<<2)|0);
- $189 = HEAP32[$arrayidx219>>2]|0;
- $190 = $N$addr;
- $add$ptr220 = (($189) + ($190<<2)|0);
- $sub$ptr$lhs$cast221 = $add$ptr218;
- $sub$ptr$rhs$cast222 = $add$ptr220;
- $sub$ptr$sub223 = (($sub$ptr$lhs$cast221) - ($sub$ptr$rhs$cast222))|0;
- $sub$ptr$div224 = (($sub$ptr$sub223|0) / 4)&-1;
- $mul225 = 0;
- $add226 = (4096 + ($mul225))|0;
- _memmove(($add$ptr214|0),($add$ptr216|0),($add226|0))|0;
- } else {
- $191 = $prefilter_mem$addr;
- $192 = $c;
- $mul230 = $192<<10;
- $add$ptr231 = (($191) + ($mul230<<2)|0);
- $193 = $N$addr;
- $add$ptr232 = (($add$ptr231) + ($193<<2)|0);
- $194 = $N$addr;
- $sub233 = (1024 - ($194))|0;
- $mul234 = $sub233<<2;
- $195 = $prefilter_mem$addr;
- $196 = $c;
- $mul235 = $196<<10;
- $add$ptr236 = (($195) + ($mul235<<2)|0);
- $197 = $prefilter_mem$addr;
- $198 = $c;
- $mul237 = $198<<10;
- $add$ptr238 = (($197) + ($mul237<<2)|0);
- $199 = $N$addr;
- $add$ptr239 = (($add$ptr238) + ($199<<2)|0);
- $sub$ptr$lhs$cast240 = $add$ptr236;
- $sub$ptr$rhs$cast241 = $add$ptr239;
- $sub$ptr$sub242 = (($sub$ptr$lhs$cast240) - ($sub$ptr$rhs$cast241))|0;
- $sub$ptr$div243 = (($sub$ptr$sub242|0) / 4)&-1;
- $mul244 = 0;
- $add245 = (($mul234) + ($mul244))|0;
- _memmove(($add$ptr214|0),($add$ptr232|0),($add245|0))|0;
- $200 = $prefilter_mem$addr;
- $201 = $c;
- $mul246 = $201<<10;
- $add$ptr247 = (($200) + ($mul246<<2)|0);
- $add$ptr248 = ((($add$ptr247)) + 4096|0);
- $202 = $N$addr;
- $idx$neg = (0 - ($202))|0;
- $add$ptr249 = (($add$ptr248) + ($idx$neg<<2)|0);
- $203 = $c;
- $arrayidx250 = (($pre) + ($203<<2)|0);
- $204 = HEAP32[$arrayidx250>>2]|0;
- $add$ptr251 = ((($204)) + 4096|0);
- $205 = $N$addr;
- $mul252 = $205<<2;
- $206 = $prefilter_mem$addr;
- $207 = $c;
- $mul253 = $207<<10;
- $add$ptr254 = (($206) + ($mul253<<2)|0);
- $add$ptr255 = ((($add$ptr254)) + 4096|0);
- $208 = $N$addr;
- $idx$neg256 = (0 - ($208))|0;
- $add$ptr257 = (($add$ptr255) + ($idx$neg256<<2)|0);
- $209 = $c;
- $arrayidx258 = (($pre) + ($209<<2)|0);
- $210 = HEAP32[$arrayidx258>>2]|0;
- $add$ptr259 = ((($210)) + 4096|0);
- $sub$ptr$lhs$cast260 = $add$ptr257;
- $sub$ptr$rhs$cast261 = $add$ptr259;
- $sub$ptr$sub262 = (($sub$ptr$lhs$cast260) - ($sub$ptr$rhs$cast261))|0;
- $sub$ptr$div263 = (($sub$ptr$sub262|0) / 4)&-1;
- $mul264 = 0;
- $add265 = (($mul252) + ($mul264))|0;
- _memmove(($add$ptr249|0),($add$ptr251|0),($add265|0))|0;
- }
- $211 = $c;
- $inc268 = (($211) + 1)|0;
- $c = $inc268;
- $212 = $CC$addr;
- $cmp269 = ($inc268|0)<($212|0);
- if (!($cmp269)) {
- break;
- }
- }
- $213 = $gain1;
- $214 = $gain$addr;
- HEAPF32[$214>>2] = $213;
- $215 = HEAP32[$pitch_index>>2]|0;
- $216 = $pitch$addr;
- HEAP32[$216>>2] = $215;
- $217 = $qg;
- $218 = $qgain$addr;
- HEAP32[$218>>2] = $217;
- $219 = $pf_on;
- $220 = $saved_stack;
- _llvm_stackrestore(($220|0));
- STACKTOP = sp;return ($219|0);
-}
-function _transient_analysis($in,$len,$C,$tf_estimate,$tf_chan) {
- $in = $in|0;
- $len = $len|0;
- $C = $C|0;
- $tf_estimate = $tf_estimate|0;
- $tf_chan = $tf_chan|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0;
- var $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0;
- var $63 = 0, $64 = 0.0, $65 = 0.0, $66 = 0, $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0, $C$addr = 0, $add = 0, $add106 = 0, $add108 = 0;
- var $add19 = 0, $add22 = 0, $add25 = 0.0, $add26 = 0.0, $add29 = 0.0, $add4 = 0.0, $add42 = 0.0, $add5 = 0.0, $add54 = 0.0, $add63 = 0.0, $add73 = 0.0, $add85 = 0.0, $add95 = 0.0, $arrayidx = 0, $arrayidx104 = 0, $arrayidx14 = 0, $arrayidx16 = 0, $arrayidx20 = 0, $arrayidx23 = 0, $arrayidx30 = 0;
- var $arrayidx31 = 0, $arrayidx39 = 0, $arrayidx43 = 0, $arrayidx44 = 0, $arrayidx62 = 0, $arrayidx72 = 0, $arrayidx84 = 0, $arrayidx9 = 0, $arrayidx94 = 0, $c = 0, $call = 0.0, $call124 = 0.0, $call133 = 0.0, $call162 = 0.0, $call66 = 0.0, $call76 = 0.0, $call88 = 0.0, $call98 = 0.0, $cmp = 0, $cmp11 = 0;
- var $cmp115 = 0, $cmp120 = 0, $cmp127 = 0, $cmp138 = 0, $cmp147 = 0, $cmp151 = 0, $cmp2 = 0, $cmp37 = 0, $cmp45 = 0, $cmp58 = 0, $cmp67 = 0, $cmp79 = 0, $cmp89 = 0, $cond = 0.0, $cond102 = 0.0, $cond137 = 0.0, $cond143 = 0.0, $cond156 = 0.0, $cond161 = 0.0, $cond78 = 0.0;
- var $conv = 0.0, $conv103 = 0, $conv105 = 0, $conv121 = 0, $conv123 = 0.0, $conv125 = 0.0, $conv132 = 0.0, $conv134 = 0.0, $conv145 = 0.0, $conv158 = 0.0, $conv163 = 0.0, $conv50 = 0.0, $conv52 = 0.0, $conv53 = 0.0, $conv65 = 0.0, $conv75 = 0.0, $conv87 = 0.0, $conv97 = 0.0, $dec = 0, $div = 0;
- var $div114 = 0, $div55 = 0.0, $i = 0, $id = 0, $in$addr = 0, $inc = 0, $inc118 = 0, $inc33 = 0, $is_transient = 0, $len$addr = 0, $len2 = 0, $mask_metric = 0, $maxE = 0.0, $mean = 0.0, $mem0 = 0.0, $mem1 = 0.0, $mul = 0, $mul110 = 0, $mul111 = 0, $mul113 = 0;
- var $mul122 = 0, $mul13 = 0, $mul131 = 0, $mul144 = 0.0, $mul15 = 0, $mul157 = 0.0, $mul17 = 0.0, $mul18 = 0, $mul21 = 0, $mul24 = 0.0, $mul28 = 0.0, $mul41 = 0.0, $mul48 = 0.0, $mul49 = 0.0, $mul51 = 0.0, $mul6 = 0.0, $mul61 = 0.0, $mul64 = 0.0, $mul7 = 0.0, $mul71 = 0.0;
- var $mul74 = 0.0, $mul83 = 0.0, $mul86 = 0.0, $mul93 = 0.0, $mul96 = 0.0, $norm = 0.0, $saved_stack = 0, $sub = 0.0, $sub112 = 0, $sub126 = 0.0, $sub135 = 0.0, $sub146 = 0.0, $sub159 = 0.0, $sub27 = 0.0, $sub35 = 0, $sub40 = 0.0, $sub57 = 0, $sub8 = 0.0, $tf_chan$addr = 0, $tf_estimate$addr = 0;
- var $tf_max = 0.0, $unmask = 0, $vla = 0, $vla$alloca_mul = 0, $x = 0.0, $x2 = 0.0, $y = 0.0, dest = 0, label = 0, sp = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $in$addr = $in;
- $len$addr = $len;
- $C$addr = $C;
- $tf_estimate$addr = $tf_estimate;
- $tf_chan$addr = $tf_chan;
- $is_transient = 0;
- $mask_metric = 0;
- $0 = $len$addr;
- $1 = (_llvm_stacksave()|0);
- $saved_stack = $1;
- $vla$alloca_mul = $0<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $2 = $len$addr;
- $div = (($2|0) / 2)&-1;
- $len2 = $div;
- $c = 0;
- while(1) {
- $3 = $c;
- $4 = $C$addr;
- $cmp = ($3|0)<($4|0);
- if (!($cmp)) {
- break;
- }
- $unmask = 0;
- $mem0 = 0.0;
- $mem1 = 0.0;
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $len$addr;
- $cmp2 = ($5|0)<($6|0);
- if (!($cmp2)) {
- break;
- }
- $7 = $in$addr;
- $8 = $i;
- $9 = $c;
- $10 = $len$addr;
- $mul = Math_imul($9, $10)|0;
- $add = (($8) + ($mul))|0;
- $arrayidx = (($7) + ($add<<2)|0);
- $11 = +HEAPF32[$arrayidx>>2];
- $x = $11;
- $12 = $mem0;
- $13 = $x;
- $add4 = $12 + $13;
- $y = $add4;
- $14 = $mem1;
- $15 = $y;
- $add5 = $14 + $15;
- $16 = $x;
- $mul6 = 2.0 * $16;
- $sub = $add5 - $mul6;
- $mem0 = $sub;
- $17 = $x;
- $18 = $y;
- $mul7 = 0.5 * $18;
- $sub8 = $17 - $mul7;
- $mem1 = $sub8;
- $19 = $y;
- $20 = $i;
- $arrayidx9 = (($vla) + ($20<<2)|0);
- HEAPF32[$arrayidx9>>2] = $19;
- $21 = $i;
- $inc = (($21) + 1)|0;
- $i = $inc;
- }
- dest=$vla; stop=dest+48|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
- $mean = 0.0;
- $mem0 = 0.0;
- $i = 0;
- while(1) {
- $22 = $i;
- $23 = $len2;
- $cmp11 = ($22|0)<($23|0);
- if (!($cmp11)) {
- break;
- }
- $24 = $i;
- $mul13 = $24<<1;
- $arrayidx14 = (($vla) + ($mul13<<2)|0);
- $25 = +HEAPF32[$arrayidx14>>2];
- $26 = $i;
- $mul15 = $26<<1;
- $arrayidx16 = (($vla) + ($mul15<<2)|0);
- $27 = +HEAPF32[$arrayidx16>>2];
- $mul17 = $25 * $27;
- $28 = $i;
- $mul18 = $28<<1;
- $add19 = (($mul18) + 1)|0;
- $arrayidx20 = (($vla) + ($add19<<2)|0);
- $29 = +HEAPF32[$arrayidx20>>2];
- $30 = $i;
- $mul21 = $30<<1;
- $add22 = (($mul21) + 1)|0;
- $arrayidx23 = (($vla) + ($add22<<2)|0);
- $31 = +HEAPF32[$arrayidx23>>2];
- $mul24 = $29 * $31;
- $add25 = $mul17 + $mul24;
- $x2 = $add25;
- $32 = $x2;
- $33 = $mean;
- $add26 = $33 + $32;
- $mean = $add26;
- $34 = $mem0;
- $35 = $x2;
- $36 = $mem0;
- $sub27 = $35 - $36;
- $mul28 = 0.0625 * $sub27;
- $add29 = $34 + $mul28;
- $37 = $i;
- $arrayidx30 = (($vla) + ($37<<2)|0);
- HEAPF32[$arrayidx30>>2] = $add29;
- $38 = $i;
- $arrayidx31 = (($vla) + ($38<<2)|0);
- $39 = +HEAPF32[$arrayidx31>>2];
- $mem0 = $39;
- $40 = $i;
- $inc33 = (($40) + 1)|0;
- $i = $inc33;
- }
- $mem0 = 0.0;
- $maxE = 0.0;
- $41 = $len2;
- $sub35 = (($41) - 1)|0;
- $i = $sub35;
- while(1) {
- $42 = $i;
- $cmp37 = ($42|0)>=(0);
- if (!($cmp37)) {
- break;
- }
- $43 = $mem0;
- $44 = $i;
- $arrayidx39 = (($vla) + ($44<<2)|0);
- $45 = +HEAPF32[$arrayidx39>>2];
- $46 = $mem0;
- $sub40 = $45 - $46;
- $mul41 = 0.125 * $sub40;
- $add42 = $43 + $mul41;
- $47 = $i;
- $arrayidx43 = (($vla) + ($47<<2)|0);
- HEAPF32[$arrayidx43>>2] = $add42;
- $48 = $i;
- $arrayidx44 = (($vla) + ($48<<2)|0);
- $49 = +HEAPF32[$arrayidx44>>2];
- $mem0 = $49;
- $50 = $maxE;
- $51 = $mem0;
- $cmp45 = $50 > $51;
- $52 = $maxE;
- $53 = $mem0;
- $cond = $cmp45 ? $52 : $53;
- $maxE = $cond;
- $54 = $i;
- $dec = (($54) + -1)|0;
- $i = $dec;
- }
- $55 = $mean;
- $56 = $maxE;
- $mul48 = $55 * $56;
- $conv = $mul48;
- $mul49 = $conv * 0.5;
- $57 = $len2;
- $conv50 = (+($57|0));
- $mul51 = $mul49 * $conv50;
- $call = (+Math_sqrt((+$mul51)));
- $conv52 = $call;
- $mean = $conv52;
- $58 = $len2;
- $conv53 = (+($58|0));
- $59 = $mean;
- $add54 = 1.0000000036274937E-15 + $59;
- $div55 = $conv53 / $add54;
- $norm = $div55;
- $unmask = 0;
- $i = 12;
- while(1) {
- $60 = $i;
- $61 = $len2;
- $sub57 = (($61) - 5)|0;
- $cmp58 = ($60|0)<($sub57|0);
- if (!($cmp58)) {
- break;
- }
- $62 = $norm;
- $mul61 = 64.0 * $62;
- $63 = $i;
- $arrayidx62 = (($vla) + ($63<<2)|0);
- $64 = +HEAPF32[$arrayidx62>>2];
- $add63 = $64 + 1.0000000036274937E-15;
- $mul64 = $mul61 * $add63;
- $conv65 = $mul64;
- $call66 = (+Math_floor((+$conv65)));
- $cmp67 = 127.0 < $call66;
- if ($cmp67) {
- $cond78 = 127.0;
- } else {
- $65 = $norm;
- $mul71 = 64.0 * $65;
- $66 = $i;
- $arrayidx72 = (($vla) + ($66<<2)|0);
- $67 = +HEAPF32[$arrayidx72>>2];
- $add73 = $67 + 1.0000000036274937E-15;
- $mul74 = $mul71 * $add73;
- $conv75 = $mul74;
- $call76 = (+Math_floor((+$conv75)));
- $cond78 = $call76;
- }
- $cmp79 = 0.0 > $cond78;
- if ($cmp79) {
- $cond102 = 0.0;
- } else {
- $68 = $norm;
- $mul83 = 64.0 * $68;
- $69 = $i;
- $arrayidx84 = (($vla) + ($69<<2)|0);
- $70 = +HEAPF32[$arrayidx84>>2];
- $add85 = $70 + 1.0000000036274937E-15;
- $mul86 = $mul83 * $add85;
- $conv87 = $mul86;
- $call88 = (+Math_floor((+$conv87)));
- $cmp89 = 127.0 < $call88;
- if ($cmp89) {
- $cond102 = 127.0;
- } else {
- $71 = $norm;
- $mul93 = 64.0 * $71;
- $72 = $i;
- $arrayidx94 = (($vla) + ($72<<2)|0);
- $73 = +HEAPF32[$arrayidx94>>2];
- $add95 = $73 + 1.0000000036274937E-15;
- $mul96 = $mul93 * $add95;
- $conv97 = $mul96;
- $call98 = (+Math_floor((+$conv97)));
- $cond102 = $call98;
- }
- }
- $conv103 = (~~(($cond102)));
- $id = $conv103;
- $74 = $id;
- $arrayidx104 = (25804 + ($74)|0);
- $75 = HEAP8[$arrayidx104>>0]|0;
- $conv105 = $75&255;
- $76 = $unmask;
- $add106 = (($76) + ($conv105))|0;
- $unmask = $add106;
- $77 = $i;
- $add108 = (($77) + 4)|0;
- $i = $add108;
- }
- $78 = $unmask;
- $mul110 = $78<<6;
- $mul111 = $mul110<<2;
- $79 = $len2;
- $sub112 = (($79) - 17)|0;
- $mul113 = ($sub112*6)|0;
- $div114 = (($mul111|0) / ($mul113|0))&-1;
- $unmask = $div114;
- $80 = $unmask;
- $81 = $mask_metric;
- $cmp115 = ($80|0)>($81|0);
- if ($cmp115) {
- $82 = $c;
- $83 = $tf_chan$addr;
- HEAP32[$83>>2] = $82;
- $84 = $unmask;
- $mask_metric = $84;
- }
- $85 = $c;
- $inc118 = (($85) + 1)|0;
- $c = $inc118;
- }
- $86 = $mask_metric;
- $cmp120 = ($86|0)>(200);
- $conv121 = $cmp120&1;
- $is_transient = $conv121;
- $87 = $mask_metric;
- $mul122 = ($87*27)|0;
- $conv123 = (+($mul122|0));
- $call124 = (+Math_sqrt((+$conv123)));
- $conv125 = $call124;
- $sub126 = $conv125 - 42.0;
- $cmp127 = 0.0 > $sub126;
- if ($cmp127) {
- $cond137 = 0.0;
- } else {
- $88 = $mask_metric;
- $mul131 = ($88*27)|0;
- $conv132 = (+($mul131|0));
- $call133 = (+Math_sqrt((+$conv132)));
- $conv134 = $call133;
- $sub135 = $conv134 - 42.0;
- $cond137 = $sub135;
- }
- $tf_max = $cond137;
- $89 = $tf_max;
- $cmp138 = 163.0 < $89;
- $90 = $tf_max;
- $cond143 = $cmp138 ? 163.0 : $90;
- $mul144 = 0.0068999999202787876 * $cond143;
- $conv145 = $mul144;
- $sub146 = $conv145 - 0.13900000000000001;
- $cmp147 = 0.0 > $sub146;
- if ($cmp147) {
- $cond161 = 0.0;
- $call162 = (+Math_sqrt((+$cond161)));
- $conv163 = $call162;
- $93 = $tf_estimate$addr;
- HEAPF32[$93>>2] = $conv163;
- $94 = $is_transient;
- $95 = $saved_stack;
- _llvm_stackrestore(($95|0));
- STACKTOP = sp;return ($94|0);
- }
- $91 = $tf_max;
- $cmp151 = 163.0 < $91;
- $92 = $tf_max;
- $cond156 = $cmp151 ? 163.0 : $92;
- $mul157 = 0.0068999999202787876 * $cond156;
- $conv158 = $mul157;
- $sub159 = $conv158 - 0.13900000000000001;
- $cond161 = $sub159;
- $call162 = (+Math_sqrt((+$cond161)));
- $conv163 = $call162;
- $93 = $tf_estimate$addr;
- HEAPF32[$93>>2] = $conv163;
- $94 = $is_transient;
- $95 = $saved_stack;
- _llvm_stackrestore(($95|0));
- STACKTOP = sp;return ($94|0);
-}
-function _compute_mdcts($mode,$shortBlocks,$in,$out,$C,$CC,$LM,$upsample,$arch) {
- $mode = $mode|0;
- $shortBlocks = $shortBlocks|0;
- $in = $in|0;
- $out = $out|0;
- $C = $C|0;
- $CC = $CC|0;
- $LM = $LM|0;
- $upsample = $upsample|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $8 = 0, $9 = 0, $B = 0, $C$addr = 0;
- var $CC$addr = 0, $LM$addr = 0, $N = 0, $add = 0, $add$ptr = 0, $add$ptr6 = 0, $add22 = 0, $add25 = 0.0, $add40 = 0, $add48 = 0, $add9 = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx19 = 0, $arrayidx23 = 0, $arrayidx26 = 0, $arrayidx41 = 0, $arrayidx49 = 0, $b = 0, $bound = 0;
- var $c = 0, $cmp = 0, $cmp11 = 0, $cmp12 = 0, $cmp13 = 0, $cmp17 = 0, $cmp31 = 0, $cmp36 = 0, $cmp55 = 0, $conv = 0.0, $div = 0, $i = 0, $in$addr = 0, $inc = 0, $inc10 = 0, $inc28 = 0, $inc44 = 0, $inc54 = 0, $maxLM = 0, $maxLM3 = 0;
- var $mdct = 0, $mode$addr = 0, $mul = 0, $mul16 = 0, $mul20 = 0.0, $mul21 = 0, $mul24 = 0.0, $mul34 = 0, $mul38 = 0, $mul39 = 0, $mul4 = 0, $mul42 = 0.0, $mul46 = 0, $mul47 = 0, $mul5 = 0, $mul50 = 0, $mul52 = 0, $mul7 = 0, $mul8 = 0, $or$cond = 0;
- var $out$addr = 0, $overlap = 0, $overlap1 = 0, $shift = 0, $shl = 0, $shortBlocks$addr = 0, $shortMdctSize = 0, $shortMdctSize2 = 0, $sub = 0, $sub51 = 0, $tobool = 0, $upsample$addr = 0, $window = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $mode$addr = $mode;
- $shortBlocks$addr = $shortBlocks;
- $in$addr = $in;
- $out$addr = $out;
- $C$addr = $C;
- $CC$addr = $CC;
- $LM$addr = $LM;
- $upsample$addr = $upsample;
- $arch$addr = $arch;
- $0 = $mode$addr;
- $overlap1 = ((($0)) + 4|0);
- $1 = HEAP32[$overlap1>>2]|0;
- $overlap = $1;
- $2 = $shortBlocks$addr;
- $tobool = ($2|0)!=(0);
- if ($tobool) {
- $3 = $shortBlocks$addr;
- $B = $3;
- $4 = $mode$addr;
- $shortMdctSize = ((($4)) + 44|0);
- $5 = HEAP32[$shortMdctSize>>2]|0;
- $N = $5;
- $6 = $mode$addr;
- $maxLM = ((($6)) + 36|0);
- $7 = HEAP32[$maxLM>>2]|0;
- $shift = $7;
- } else {
- $B = 1;
- $8 = $mode$addr;
- $shortMdctSize2 = ((($8)) + 44|0);
- $9 = HEAP32[$shortMdctSize2>>2]|0;
- $10 = $LM$addr;
- $shl = $9 << $10;
- $N = $shl;
- $11 = $mode$addr;
- $maxLM3 = ((($11)) + 36|0);
- $12 = HEAP32[$maxLM3>>2]|0;
- $13 = $LM$addr;
- $sub = (($12) - ($13))|0;
- $shift = $sub;
- }
- $c = 0;
- while(1) {
- $b = 0;
- while(1) {
- $14 = $b;
- $15 = $B;
- $cmp = ($14|0)<($15|0);
- if (!($cmp)) {
- break;
- }
- $16 = $mode$addr;
- $mdct = ((($16)) + 64|0);
- $17 = $in$addr;
- $18 = $c;
- $19 = $B;
- $20 = $N;
- $mul = Math_imul($19, $20)|0;
- $21 = $overlap;
- $add = (($mul) + ($21))|0;
- $mul4 = Math_imul($18, $add)|0;
- $add$ptr = (($17) + ($mul4<<2)|0);
- $22 = $b;
- $23 = $N;
- $mul5 = Math_imul($22, $23)|0;
- $add$ptr6 = (($add$ptr) + ($mul5<<2)|0);
- $24 = $out$addr;
- $25 = $b;
- $26 = $c;
- $27 = $N;
- $mul7 = Math_imul($26, $27)|0;
- $28 = $B;
- $mul8 = Math_imul($mul7, $28)|0;
- $add9 = (($25) + ($mul8))|0;
- $arrayidx = (($24) + ($add9<<2)|0);
- $29 = $mode$addr;
- $window = ((($29)) + 60|0);
- $30 = HEAP32[$window>>2]|0;
- $31 = $overlap;
- $32 = $shift;
- $33 = $B;
- $34 = $arch$addr;
- _clt_mdct_forward_c($mdct,$add$ptr6,$arrayidx,$30,$31,$32,$33,$34);
- $35 = $b;
- $inc = (($35) + 1)|0;
- $b = $inc;
- }
- $36 = $c;
- $inc10 = (($36) + 1)|0;
- $c = $inc10;
- $37 = $CC$addr;
- $cmp11 = ($inc10|0)<($37|0);
- if (!($cmp11)) {
- break;
- }
- }
- $38 = $CC$addr;
- $cmp12 = ($38|0)==(2);
- $39 = $C$addr;
- $cmp13 = ($39|0)==(1);
- $or$cond = $cmp12 & $cmp13;
- L12: do {
- if ($or$cond) {
- $i = 0;
- while(1) {
- $40 = $i;
- $41 = $B;
- $42 = $N;
- $mul16 = Math_imul($41, $42)|0;
- $cmp17 = ($40|0)<($mul16|0);
- if (!($cmp17)) {
- break L12;
- }
- $43 = $out$addr;
- $44 = $i;
- $arrayidx19 = (($43) + ($44<<2)|0);
- $45 = +HEAPF32[$arrayidx19>>2];
- $mul20 = 0.5 * $45;
- $46 = $out$addr;
- $47 = $B;
- $48 = $N;
- $mul21 = Math_imul($47, $48)|0;
- $49 = $i;
- $add22 = (($mul21) + ($49))|0;
- $arrayidx23 = (($46) + ($add22<<2)|0);
- $50 = +HEAPF32[$arrayidx23>>2];
- $mul24 = 0.5 * $50;
- $add25 = $mul20 + $mul24;
- $51 = $out$addr;
- $52 = $i;
- $arrayidx26 = (($51) + ($52<<2)|0);
- HEAPF32[$arrayidx26>>2] = $add25;
- $53 = $i;
- $inc28 = (($53) + 1)|0;
- $i = $inc28;
- }
- }
- } while(0);
- $54 = $upsample$addr;
- $cmp31 = ($54|0)!=(1);
- if (!($cmp31)) {
- STACKTOP = sp;return;
- }
- $c = 0;
- while(1) {
- $55 = $B;
- $56 = $N;
- $mul34 = Math_imul($55, $56)|0;
- $57 = $upsample$addr;
- $div = (($mul34|0) / ($57|0))&-1;
- $bound = $div;
- $i = 0;
- while(1) {
- $58 = $i;
- $59 = $bound;
- $cmp36 = ($58|0)<($59|0);
- if (!($cmp36)) {
- break;
- }
- $60 = $upsample$addr;
- $conv = (+($60|0));
- $61 = $out$addr;
- $62 = $c;
- $63 = $B;
- $mul38 = Math_imul($62, $63)|0;
- $64 = $N;
- $mul39 = Math_imul($mul38, $64)|0;
- $65 = $i;
- $add40 = (($mul39) + ($65))|0;
- $arrayidx41 = (($61) + ($add40<<2)|0);
- $66 = +HEAPF32[$arrayidx41>>2];
- $mul42 = $66 * $conv;
- HEAPF32[$arrayidx41>>2] = $mul42;
- $67 = $i;
- $inc44 = (($67) + 1)|0;
- $i = $inc44;
- }
- $68 = $out$addr;
- $69 = $c;
- $70 = $B;
- $mul46 = Math_imul($69, $70)|0;
- $71 = $N;
- $mul47 = Math_imul($mul46, $71)|0;
- $72 = $bound;
- $add48 = (($mul47) + ($72))|0;
- $arrayidx49 = (($68) + ($add48<<2)|0);
- $73 = $B;
- $74 = $N;
- $mul50 = Math_imul($73, $74)|0;
- $75 = $bound;
- $sub51 = (($mul50) - ($75))|0;
- $mul52 = $sub51<<2;
- _memset(($arrayidx49|0),0,($mul52|0))|0;
- $76 = $c;
- $inc54 = (($76) + 1)|0;
- $c = $inc54;
- $77 = $C$addr;
- $cmp55 = ($inc54|0)<($77|0);
- if (!($cmp55)) {
- break;
- }
- }
- STACKTOP = sp;return;
-}
-function _patch_transient_decision($newE,$oldE,$nbEBands,$start,$end,$C) {
- $newE = $newE|0;
- $oldE = $oldE|0;
- $nbEBands = $nbEBands|0;
- $start = $start|0;
- $end = $end|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0;
- var $23 = 0.0, $24 = 0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0, $29 = 0, $3 = 0.0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0;
- var $41 = 0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0;
- var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0.0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
- var $78 = 0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0.0, $86 = 0, $87 = 0.0, $88 = 0, $89 = 0.0, $9 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0;
- var $96 = 0, $97 = 0, $98 = 0.0, $99 = 0, $C$addr = 0, $add = 0, $add100 = 0, $add118 = 0.0, $add13 = 0, $add19 = 0, $add19$sink = 0, $add24 = 0, $add32 = 0, $add38 = 0, $add38$sink = 0, $add49 = 0, $add55 = 0, $add55$sink = 0, $add70 = 0, $add77 = 0;
- var $add94 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx101 = 0, $arrayidx104 = 0, $arrayidx108 = 0, $arrayidx11 = 0, $arrayidx14 = 0, $arrayidx20 = 0, $arrayidx23 = 0, $arrayidx29 = 0, $arrayidx3 = 0, $arrayidx31 = 0, $arrayidx33 = 0, $arrayidx39 = 0, $arrayidx45 = 0, $arrayidx48 = 0, $arrayidx5 = 0, $arrayidx50 = 0;
- var $arrayidx56 = 0, $arrayidx61 = 0, $arrayidx69 = 0, $arrayidx71 = 0, $arrayidx75 = 0, $arrayidx78 = 0, $arrayidx8 = 0, $arrayidx82 = 0, $arrayidx95 = 0, $c = 0, $cmp = 0, $cmp105 = 0, $cmp112 = 0, $cmp123 = 0, $cmp125 = 0, $cmp132 = 0, $cmp15 = 0, $cmp2 = 0, $cmp26 = 0, $cmp34 = 0;
- var $cmp42 = 0, $cmp51 = 0, $cmp6 = 0, $cmp67 = 0, $cmp73 = 0, $cmp85 = 0, $cmp92 = 0, $cmp96 = 0, $cond = 0.0, $cond103 = 0.0, $cond110 = 0.0, $cond117 = 0.0, $cond129 = 0, $cond60 = 0.0, $cond81 = 0.0, $cond89 = 0, $conv = 0.0, $conv133 = 0, $dec = 0, $div = 0.0;
- var $end$addr = 0, $i = 0, $inc = 0, $inc120 = 0, $inc122 = 0, $inc63 = 0, $mean_diff = 0.0, $mul = 0, $mul131 = 0, $mul99 = 0, $nbEBands$addr = 0, $newE$addr = 0, $oldE$addr = 0, $spread_old = 0, $start$addr = 0, $sub = 0, $sub111 = 0.0, $sub115 = 0.0, $sub124 = 0, $sub130 = 0;
- var $sub28 = 0, $sub30 = 0.0, $sub4 = 0.0, $sub44 = 0, $sub46 = 0.0, $sub65 = 0, $sub7 = 0, $sub72 = 0.0, $sub79 = 0.0, $sub9 = 0.0, $sub91 = 0, $x1 = 0.0, $x2 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
- $spread_old = sp + 8|0;
- $newE$addr = $newE;
- $oldE$addr = $oldE;
- $nbEBands$addr = $nbEBands;
- $start$addr = $start;
- $end$addr = $end;
- $C$addr = $C;
- $mean_diff = 0.0;
- $0 = $C$addr;
- $cmp = ($0|0)==(1);
- $1 = $oldE$addr;
- $2 = $start$addr;
- $arrayidx = (($1) + ($2<<2)|0);
- $3 = +HEAPF32[$arrayidx>>2];
- L1: do {
- if ($cmp) {
- $4 = $start$addr;
- $arrayidx1 = (($spread_old) + ($4<<2)|0);
- HEAPF32[$arrayidx1>>2] = $3;
- $5 = $start$addr;
- $add = (($5) + 1)|0;
- $i = $add;
- while(1) {
- $6 = $i;
- $7 = $end$addr;
- $cmp2 = ($6|0)<($7|0);
- if (!($cmp2)) {
- break L1;
- }
- $8 = $i;
- $sub = (($8) - 1)|0;
- $arrayidx3 = (($spread_old) + ($sub<<2)|0);
- $9 = +HEAPF32[$arrayidx3>>2];
- $sub4 = $9 - 1.0;
- $10 = $oldE$addr;
- $11 = $i;
- $arrayidx5 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx5>>2];
- $cmp6 = $sub4 > $12;
- if ($cmp6) {
- $13 = $i;
- $sub7 = (($13) - 1)|0;
- $arrayidx8 = (($spread_old) + ($sub7<<2)|0);
- $14 = +HEAPF32[$arrayidx8>>2];
- $sub9 = $14 - 1.0;
- $cond = $sub9;
- } else {
- $15 = $oldE$addr;
- $16 = $i;
- $arrayidx10 = (($15) + ($16<<2)|0);
- $17 = +HEAPF32[$arrayidx10>>2];
- $cond = $17;
- }
- $18 = $i;
- $arrayidx11 = (($spread_old) + ($18<<2)|0);
- HEAPF32[$arrayidx11>>2] = $cond;
- $19 = $i;
- $inc = (($19) + 1)|0;
- $i = $inc;
- }
- } else {
- $20 = $oldE$addr;
- $21 = $start$addr;
- $22 = $nbEBands$addr;
- $add13 = (($21) + ($22))|0;
- $arrayidx14 = (($20) + ($add13<<2)|0);
- $23 = +HEAPF32[$arrayidx14>>2];
- $cmp15 = $3 > $23;
- $24 = $oldE$addr;
- $25 = $start$addr;
- $26 = $nbEBands$addr;
- $add19 = (($25) + ($26))|0;
- $add19$sink = $cmp15 ? $25 : $add19;
- $arrayidx20 = (($24) + ($add19$sink<<2)|0);
- $27 = +HEAPF32[$arrayidx20>>2];
- $28 = $start$addr;
- $arrayidx23 = (($spread_old) + ($28<<2)|0);
- HEAPF32[$arrayidx23>>2] = $27;
- $29 = $start$addr;
- $add24 = (($29) + 1)|0;
- $i = $add24;
- while(1) {
- $30 = $i;
- $31 = $end$addr;
- $cmp26 = ($30|0)<($31|0);
- if (!($cmp26)) {
- break L1;
- }
- $32 = $i;
- $sub28 = (($32) - 1)|0;
- $arrayidx29 = (($spread_old) + ($sub28<<2)|0);
- $33 = +HEAPF32[$arrayidx29>>2];
- $sub30 = $33 - 1.0;
- $34 = $oldE$addr;
- $35 = $i;
- $arrayidx31 = (($34) + ($35<<2)|0);
- $36 = +HEAPF32[$arrayidx31>>2];
- $37 = $oldE$addr;
- $38 = $i;
- $39 = $nbEBands$addr;
- $add32 = (($38) + ($39))|0;
- $arrayidx33 = (($37) + ($add32<<2)|0);
- $40 = +HEAPF32[$arrayidx33>>2];
- $cmp34 = $36 > $40;
- $41 = $oldE$addr;
- $42 = $i;
- $43 = $nbEBands$addr;
- $add38 = (($42) + ($43))|0;
- $add38$sink = $cmp34 ? $42 : $add38;
- $arrayidx39 = (($41) + ($add38$sink<<2)|0);
- $44 = +HEAPF32[$arrayidx39>>2];
- $cmp42 = $sub30 > $44;
- if ($cmp42) {
- $45 = $i;
- $sub44 = (($45) - 1)|0;
- $arrayidx45 = (($spread_old) + ($sub44<<2)|0);
- $46 = +HEAPF32[$arrayidx45>>2];
- $sub46 = $46 - 1.0;
- $cond60 = $sub46;
- } else {
- $47 = $oldE$addr;
- $48 = $i;
- $arrayidx48 = (($47) + ($48<<2)|0);
- $49 = +HEAPF32[$arrayidx48>>2];
- $50 = $oldE$addr;
- $51 = $i;
- $52 = $nbEBands$addr;
- $add49 = (($51) + ($52))|0;
- $arrayidx50 = (($50) + ($add49<<2)|0);
- $53 = +HEAPF32[$arrayidx50>>2];
- $cmp51 = $49 > $53;
- $54 = $oldE$addr;
- $55 = $i;
- $56 = $nbEBands$addr;
- $add55 = (($55) + ($56))|0;
- $add55$sink = $cmp51 ? $55 : $add55;
- $arrayidx56 = (($54) + ($add55$sink<<2)|0);
- $57 = +HEAPF32[$arrayidx56>>2];
- $cond60 = $57;
- }
- $58 = $i;
- $arrayidx61 = (($spread_old) + ($58<<2)|0);
- HEAPF32[$arrayidx61>>2] = $cond60;
- $59 = $i;
- $inc63 = (($59) + 1)|0;
- $i = $inc63;
- }
- }
- } while(0);
- $60 = $end$addr;
- $sub65 = (($60) - 2)|0;
- $i = $sub65;
- while(1) {
- $61 = $i;
- $62 = $start$addr;
- $cmp67 = ($61|0)>=($62|0);
- if (!($cmp67)) {
- break;
- }
- $63 = $i;
- $arrayidx69 = (($spread_old) + ($63<<2)|0);
- $64 = +HEAPF32[$arrayidx69>>2];
- $65 = $i;
- $add70 = (($65) + 1)|0;
- $arrayidx71 = (($spread_old) + ($add70<<2)|0);
- $66 = +HEAPF32[$arrayidx71>>2];
- $sub72 = $66 - 1.0;
- $cmp73 = $64 > $sub72;
- $67 = $i;
- if ($cmp73) {
- $arrayidx75 = (($spread_old) + ($67<<2)|0);
- $68 = +HEAPF32[$arrayidx75>>2];
- $cond81 = $68;
- } else {
- $add77 = (($67) + 1)|0;
- $arrayidx78 = (($spread_old) + ($add77<<2)|0);
- $69 = +HEAPF32[$arrayidx78>>2];
- $sub79 = $69 - 1.0;
- $cond81 = $sub79;
- }
- $70 = $i;
- $arrayidx82 = (($spread_old) + ($70<<2)|0);
- HEAPF32[$arrayidx82>>2] = $cond81;
- $71 = $i;
- $dec = (($71) + -1)|0;
- $i = $dec;
- }
- $c = 0;
- while(1) {
- $72 = $start$addr;
- $cmp85 = (2)>($72|0);
- $73 = $start$addr;
- $cond89 = $cmp85 ? 2 : $73;
- $i = $cond89;
- while(1) {
- $74 = $i;
- $75 = $end$addr;
- $sub91 = (($75) - 1)|0;
- $cmp92 = ($74|0)<($sub91|0);
- if (!($cmp92)) {
- break;
- }
- $76 = $newE$addr;
- $77 = $i;
- $78 = $c;
- $79 = $nbEBands$addr;
- $mul = Math_imul($78, $79)|0;
- $add94 = (($77) + ($mul))|0;
- $arrayidx95 = (($76) + ($add94<<2)|0);
- $80 = +HEAPF32[$arrayidx95>>2];
- $cmp96 = 0.0 > $80;
- if ($cmp96) {
- $cond103 = 0.0;
- } else {
- $81 = $newE$addr;
- $82 = $i;
- $83 = $c;
- $84 = $nbEBands$addr;
- $mul99 = Math_imul($83, $84)|0;
- $add100 = (($82) + ($mul99))|0;
- $arrayidx101 = (($81) + ($add100<<2)|0);
- $85 = +HEAPF32[$arrayidx101>>2];
- $cond103 = $85;
- }
- $x1 = $cond103;
- $86 = $i;
- $arrayidx104 = (($spread_old) + ($86<<2)|0);
- $87 = +HEAPF32[$arrayidx104>>2];
- $cmp105 = 0.0 > $87;
- if ($cmp105) {
- $cond110 = 0.0;
- } else {
- $88 = $i;
- $arrayidx108 = (($spread_old) + ($88<<2)|0);
- $89 = +HEAPF32[$arrayidx108>>2];
- $cond110 = $89;
- }
- $x2 = $cond110;
- $90 = $mean_diff;
- $91 = $x1;
- $92 = $x2;
- $sub111 = $91 - $92;
- $cmp112 = 0.0 > $sub111;
- if ($cmp112) {
- $cond117 = 0.0;
- } else {
- $93 = $x1;
- $94 = $x2;
- $sub115 = $93 - $94;
- $cond117 = $sub115;
- }
- $add118 = $90 + $cond117;
- $mean_diff = $add118;
- $95 = $i;
- $inc120 = (($95) + 1)|0;
- $i = $inc120;
- }
- $96 = $c;
- $inc122 = (($96) + 1)|0;
- $c = $inc122;
- $97 = $C$addr;
- $cmp123 = ($inc122|0)<($97|0);
- if (!($cmp123)) {
- break;
- }
- }
- $98 = $mean_diff;
- $99 = $C$addr;
- $100 = $end$addr;
- $sub124 = (($100) - 1)|0;
- $101 = $start$addr;
- $cmp125 = (2)>($101|0);
- $102 = $start$addr;
- $cond129 = $cmp125 ? 2 : $102;
- $sub130 = (($sub124) - ($cond129))|0;
- $mul131 = Math_imul($99, $sub130)|0;
- $conv = (+($mul131|0));
- $div = $98 / $conv;
- $mean_diff = $div;
- $103 = $mean_diff;
- $cmp132 = $103 > 1.0;
- $conv133 = $cmp132&1;
- STACKTOP = sp;return ($conv133|0);
-}
-function _tf_analysis($m,$len,$isTransient,$tf_res,$lambda,$X,$N0,$LM,$tf_sum,$tf_estimate,$tf_chan) {
- $m = $m|0;
- $len = $len|0;
- $isTransient = $isTransient|0;
- $tf_res = $tf_res|0;
- $lambda = $lambda|0;
- $X = $X|0;
- $N0 = $N0|0;
- $LM = $LM|0;
- $tf_sum = $tf_sum|0;
- $tf_estimate = +$tf_estimate;
- $tf_chan = $tf_chan|0;
- var $$sink = 0, $$sink2 = 0, $$sink3 = 0, $$sink4 = 0, $$sink5 = 0, $$sink6 = 0, $0 = 0.0, $1 = 0.0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0;
- var $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0;
- var $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0;
- var $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0;
- var $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0;
- var $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0;
- var $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
- var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
- var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0.0, $65 = 0.0;
- var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
- var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $B = 0, $L1 = 0.0, $LM$addr = 0;
- var $N = 0, $N0$addr = 0, $X$addr = 0, $add = 0, $add113 = 0, $add143 = 0, $add148 = 0, $add151 = 0, $add155 = 0, $add163 = 0, $add164 = 0, $add170 = 0, $add175 = 0, $add176 = 0, $add182 = 0, $add215 = 0, $add223 = 0, $add235 = 0, $add236 = 0, $add242 = 0;
- var $add247 = 0, $add248 = 0, $add254 = 0, $add268 = 0, $add273 = 0, $add31 = 0, $add45 = 0, $add53 = 0, $add56 = 0, $add69 = 0, $add71 = 0, $add80 = 0, $add88 = 0, $add96 = 0, $arrayidx = 0, $arrayidx104 = 0, $arrayidx111 = 0, $arrayidx116 = 0, $arrayidx119 = 0, $arrayidx124 = 0;
- var $arrayidx13 = 0, $arrayidx159 = 0, $arrayidx160 = 0, $arrayidx165 = 0, $arrayidx171 = 0, $arrayidx172 = 0, $arrayidx177 = 0, $arrayidx192 = 0, $arrayidx196 = 0, $arrayidx221 = 0, $arrayidx229 = 0, $arrayidx23 = 0, $arrayidx231 = 0, $arrayidx232 = 0, $arrayidx237 = 0, $arrayidx243 = 0, $arrayidx244 = 0, $arrayidx249 = 0, $arrayidx26 = 0, $arrayidx262 = 0;
- var $arrayidx269 = 0, $arrayidx274 = 0, $arrayidx275 = 0, $arrayidx278 = 0, $arrayidx279 = 0, $arrayidx279$sink = 0, $arrayidx32 = 0, $arrayidx35 = 0, $arrayidx4 = 0, $arrayidx42 = 0, $arrayidx46 = 0, $arrayidx50 = 0, $arrayidx54 = 0, $arrayidx9 = 0, $best_L1 = 0.0, $best_level = 0, $bias = 0.0, $call = 0.0, $call169 = 0, $call181 = 0;
- var $call241 = 0, $call253 = 0, $call72 = 0.0, $call92 = 0.0, $cmp = 0, $cmp117 = 0, $cmp121 = 0, $cmp131 = 0, $cmp140 = 0, $cmp144 = 0, $cmp152 = 0, $cmp186 = 0, $cmp198 = 0, $cmp20 = 0, $cmp210 = 0, $cmp216 = 0, $cmp224 = 0, $cmp258 = 0, $cmp265 = 0, $cmp270 = 0;
- var $cmp38 = 0, $cmp73 = 0, $cmp81 = 0, $cmp93 = 0, $cond = 0.0, $cond110 = 0, $cond138 = 0, $cond150 = 0, $cond158 = 0, $cond191 = 0, $cond208 = 0, $cond260 = 0, $cond60 = 0, $conv = 0, $conv10 = 0, $conv14 = 0, $conv166 = 0, $conv178 = 0, $conv238 = 0, $conv24 = 0;
- var $conv250 = 0, $conv27 = 0, $conv33 = 0, $conv36 = 0, $conv39 = 0, $conv43 = 0, $conv5 = 0, $conv51 = 0, $cost0 = 0, $cost1 = 0, $curr0 = 0, $curr0213 = 0, $curr1 = 0, $curr1214 = 0, $dec = 0, $div = 0, $eBands = 0, $eBands11 = 0, $eBands2 = 0, $eBands22 = 0;
- var $eBands25 = 0, $eBands30 = 0, $eBands34 = 0, $eBands41 = 0, $eBands49 = 0, $eBands8 = 0, $from0 = 0, $from1 = 0, $i = 0, $inc = 0, $inc128 = 0, $inc184 = 0, $inc194 = 0, $inc256 = 0, $isTransient$addr = 0, $k = 0, $lambda$addr = 0, $len$addr = 0, $lnot = 0, $lnot$ext = 0;
- var $m$addr = 0, $mul = 0.0, $mul100 = 0, $mul103 = 0, $mul103$sink = 0, $mul120 = 0, $mul161 = 0, $mul162 = 0, $mul167 = 0, $mul173 = 0, $mul174 = 0, $mul179 = 0, $mul233 = 0, $mul234 = 0, $mul239 = 0, $mul245 = 0, $mul246 = 0, $mul251 = 0, $mul40 = 0, $mul47 = 0;
- var $mul48 = 0, $mul55 = 0, $mul63 = 0, $mul68 = 0, $narrow = 0, $or$cond = 0, $or$cond1 = 0, $saved_stack = 0, $sel = 0, $selcost = 0, $shl = 0, $shl16 = 0, $shl29 = 0, $shl44 = 0, $shl52 = 0, $shl70 = 0, $shl91 = 0, $shr = 0, $shr90 = 0, $sub = 0.0;
- var $sub$ptr$div = 0, $sub$ptr$div67 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast64 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast65 = 0, $sub$ptr$sub = 0, $sub$ptr$sub66 = 0, $sub1 = 0.0, $sub112 = 0, $sub12 = 0, $sub125 = 0, $sub15 = 0, $sub168 = 0, $sub180 = 0, $sub240 = 0, $sub252 = 0, $sub261 = 0, $sub263 = 0, $sub28 = 0;
- var $sub3 = 0, $sub37 = 0, $sub6 = 0, $sub86 = 0, $sub87 = 0, $tf_chan$addr = 0, $tf_estimate$addr = 0.0, $tf_res$addr = 0, $tf_select = 0, $tf_sum$addr = 0, $tobool = 0, $tobool106 = 0, $tobool114 = 0, $tobool134 = 0, $tobool201 = 0, $tobool204 = 0, $tobool61 = 0, $tobool62 = 0, $tobool78 = 0, $tobool79 = 0;
- var $tobool84 = 0, $vla = 0, $vla$alloca_mul = 0, $vla17 = 0, $vla17$alloca_mul = 0, $vla18 = 0, $vla18$alloca_mul = 0, $vla19 = 0, $vla19$alloca_mul = 0, $vla7 = 0, $vla7$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
- $selcost = sp + 64|0;
- $m$addr = $m;
- $len$addr = $len;
- $isTransient$addr = $isTransient;
- $tf_res$addr = $tf_res;
- $lambda$addr = $lambda;
- $X$addr = $X;
- $N0$addr = $N0;
- $LM$addr = $LM;
- $tf_sum$addr = $tf_sum;
- $tf_estimate$addr = $tf_estimate;
- $tf_chan$addr = $tf_chan;
- $tf_select = 0;
- $0 = $tf_estimate$addr;
- $sub = 0.5 - $0;
- $cmp = -0.25 > $sub;
- $1 = $tf_estimate$addr;
- $sub1 = 0.5 - $1;
- $cond = $cmp ? -0.25 : $sub1;
- $mul = 0.039999999105930328 * $cond;
- $bias = $mul;
- $2 = $len$addr;
- $3 = (_llvm_stacksave()|0);
- $saved_stack = $3;
- $vla$alloca_mul = $2<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $4 = $m$addr;
- $eBands = ((($4)) + 32|0);
- $5 = HEAP32[$eBands>>2]|0;
- $6 = $len$addr;
- $arrayidx = (($5) + ($6<<1)|0);
- $7 = HEAP16[$arrayidx>>1]|0;
- $conv = $7 << 16 >> 16;
- $8 = $m$addr;
- $eBands2 = ((($8)) + 32|0);
- $9 = HEAP32[$eBands2>>2]|0;
- $10 = $len$addr;
- $sub3 = (($10) - 1)|0;
- $arrayidx4 = (($9) + ($sub3<<1)|0);
- $11 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $11 << 16 >> 16;
- $sub6 = (($conv) - ($conv5))|0;
- $12 = $LM$addr;
- $shl = $sub6 << $12;
- $vla7$alloca_mul = $shl<<2;
- $vla7 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla7$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla7$alloca_mul)|0)+15)&-16)|0);;
- $13 = $m$addr;
- $eBands8 = ((($13)) + 32|0);
- $14 = HEAP32[$eBands8>>2]|0;
- $15 = $len$addr;
- $arrayidx9 = (($14) + ($15<<1)|0);
- $16 = HEAP16[$arrayidx9>>1]|0;
- $conv10 = $16 << 16 >> 16;
- $17 = $m$addr;
- $eBands11 = ((($17)) + 32|0);
- $18 = HEAP32[$eBands11>>2]|0;
- $19 = $len$addr;
- $sub12 = (($19) - 1)|0;
- $arrayidx13 = (($18) + ($sub12<<1)|0);
- $20 = HEAP16[$arrayidx13>>1]|0;
- $conv14 = $20 << 16 >> 16;
- $sub15 = (($conv10) - ($conv14))|0;
- $21 = $LM$addr;
- $shl16 = $sub15 << $21;
- $vla17$alloca_mul = $shl16<<2;
- $vla17 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla17$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla17$alloca_mul)|0)+15)&-16)|0);;
- $22 = $len$addr;
- $vla18$alloca_mul = $22<<2;
- $vla18 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla18$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla18$alloca_mul)|0)+15)&-16)|0);;
- $23 = $len$addr;
- $vla19$alloca_mul = $23<<2;
- $vla19 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla19$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla19$alloca_mul)|0)+15)&-16)|0);;
- $24 = $tf_sum$addr;
- HEAP32[$24>>2] = 0;
- $i = 0;
- while(1) {
- $25 = $i;
- $26 = $len$addr;
- $cmp20 = ($25|0)<($26|0);
- if (!($cmp20)) {
- break;
- }
- $best_level = 0;
- $27 = $m$addr;
- $eBands22 = ((($27)) + 32|0);
- $28 = HEAP32[$eBands22>>2]|0;
- $29 = $i;
- $add = (($29) + 1)|0;
- $arrayidx23 = (($28) + ($add<<1)|0);
- $30 = HEAP16[$arrayidx23>>1]|0;
- $conv24 = $30 << 16 >> 16;
- $31 = $m$addr;
- $eBands25 = ((($31)) + 32|0);
- $32 = HEAP32[$eBands25>>2]|0;
- $33 = $i;
- $arrayidx26 = (($32) + ($33<<1)|0);
- $34 = HEAP16[$arrayidx26>>1]|0;
- $conv27 = $34 << 16 >> 16;
- $sub28 = (($conv24) - ($conv27))|0;
- $35 = $LM$addr;
- $shl29 = $sub28 << $35;
- $N = $shl29;
- $36 = $m$addr;
- $eBands30 = ((($36)) + 32|0);
- $37 = HEAP32[$eBands30>>2]|0;
- $38 = $i;
- $add31 = (($38) + 1)|0;
- $arrayidx32 = (($37) + ($add31<<1)|0);
- $39 = HEAP16[$arrayidx32>>1]|0;
- $conv33 = $39 << 16 >> 16;
- $40 = $m$addr;
- $eBands34 = ((($40)) + 32|0);
- $41 = HEAP32[$eBands34>>2]|0;
- $42 = $i;
- $arrayidx35 = (($41) + ($42<<1)|0);
- $43 = HEAP16[$arrayidx35>>1]|0;
- $conv36 = $43 << 16 >> 16;
- $sub37 = (($conv33) - ($conv36))|0;
- $cmp38 = ($sub37|0)==(1);
- $conv39 = $cmp38&1;
- $narrow = $conv39;
- $44 = $X$addr;
- $45 = $tf_chan$addr;
- $46 = $N0$addr;
- $mul40 = Math_imul($45, $46)|0;
- $47 = $m$addr;
- $eBands41 = ((($47)) + 32|0);
- $48 = HEAP32[$eBands41>>2]|0;
- $49 = $i;
- $arrayidx42 = (($48) + ($49<<1)|0);
- $50 = HEAP16[$arrayidx42>>1]|0;
- $conv43 = $50 << 16 >> 16;
- $51 = $LM$addr;
- $shl44 = $conv43 << $51;
- $add45 = (($mul40) + ($shl44))|0;
- $arrayidx46 = (($44) + ($add45<<2)|0);
- $52 = $N;
- $mul47 = $52<<2;
- $53 = $X$addr;
- $54 = $tf_chan$addr;
- $55 = $N0$addr;
- $mul48 = Math_imul($54, $55)|0;
- $56 = $m$addr;
- $eBands49 = ((($56)) + 32|0);
- $57 = HEAP32[$eBands49>>2]|0;
- $58 = $i;
- $arrayidx50 = (($57) + ($58<<1)|0);
- $59 = HEAP16[$arrayidx50>>1]|0;
- $conv51 = $59 << 16 >> 16;
- $60 = $LM$addr;
- $shl52 = $conv51 << $60;
- $add53 = (($mul48) + ($shl52))|0;
- $arrayidx54 = (($53) + ($add53<<2)|0);
- $sub$ptr$lhs$cast = $vla7;
- $sub$ptr$rhs$cast = $arrayidx54;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul55 = 0;
- $add56 = (($mul47) + ($mul55))|0;
- _memcpy(($vla7|0),($arrayidx46|0),($add56|0))|0;
- $61 = $N;
- $62 = $isTransient$addr;
- $tobool = ($62|0)!=(0);
- $63 = $LM$addr;
- $cond60 = $tobool ? $63 : 0;
- $64 = $bias;
- $call = (+_l1_metric($vla7,$61,$cond60,$64));
- $L1 = $call;
- $65 = $L1;
- $best_L1 = $65;
- $66 = $isTransient$addr;
- $tobool61 = ($66|0)==(0);
- $67 = $narrow;
- $tobool62 = ($67|0)!=(0);
- $or$cond = $tobool61 | $tobool62;
- if (!($or$cond)) {
- $68 = $N;
- $mul63 = $68<<2;
- $sub$ptr$lhs$cast64 = $vla17;
- $sub$ptr$rhs$cast65 = $vla7;
- $sub$ptr$sub66 = (($sub$ptr$lhs$cast64) - ($sub$ptr$rhs$cast65))|0;
- $sub$ptr$div67 = (($sub$ptr$sub66|0) / 4)&-1;
- $mul68 = 0;
- $add69 = (($mul63) + ($mul68))|0;
- _memcpy(($vla17|0),($vla7|0),($add69|0))|0;
- $69 = $N;
- $70 = $LM$addr;
- $shr = $69 >> $70;
- $71 = $LM$addr;
- $shl70 = 1 << $71;
- _haar1($vla17,$shr,$shl70);
- $72 = $N;
- $73 = $LM$addr;
- $add71 = (($73) + 1)|0;
- $74 = $bias;
- $call72 = (+_l1_metric($vla17,$72,$add71,$74));
- $L1 = $call72;
- $75 = $L1;
- $76 = $best_L1;
- $cmp73 = $75 < $76;
- if ($cmp73) {
- $77 = $L1;
- $best_L1 = $77;
- $best_level = -1;
- }
- }
- $k = 0;
- while(1) {
- $78 = $k;
- $79 = $LM$addr;
- $80 = $isTransient$addr;
- $tobool78 = ($80|0)!=(0);
- $81 = $narrow;
- $tobool79 = ($81|0)!=(0);
- $82 = $tobool78 ? 1 : $tobool79;
- $lnot = $82 ^ 1;
- $lnot$ext = $lnot&1;
- $add80 = (($79) + ($lnot$ext))|0;
- $cmp81 = ($78|0)<($add80|0);
- $83 = $isTransient$addr;
- $tobool84 = ($83|0)!=(0);
- if (!($cmp81)) {
- break;
- }
- if ($tobool84) {
- $84 = $LM$addr;
- $85 = $k;
- $sub86 = (($84) - ($85))|0;
- $sub87 = (($sub86) - 1)|0;
- $B = $sub87;
- } else {
- $86 = $k;
- $add88 = (($86) + 1)|0;
- $B = $add88;
- }
- $87 = $N;
- $88 = $k;
- $shr90 = $87 >> $88;
- $89 = $k;
- $shl91 = 1 << $89;
- _haar1($vla7,$shr90,$shl91);
- $90 = $N;
- $91 = $B;
- $92 = $bias;
- $call92 = (+_l1_metric($vla7,$90,$91,$92));
- $L1 = $call92;
- $93 = $L1;
- $94 = $best_L1;
- $cmp93 = $93 < $94;
- if ($cmp93) {
- $95 = $L1;
- $best_L1 = $95;
- $96 = $k;
- $add96 = (($96) + 1)|0;
- $best_level = $add96;
- }
- $97 = $k;
- $inc = (($97) + 1)|0;
- $k = $inc;
- }
- $98 = $best_level;
- $mul103 = Math_imul(-2, $98)|0;
- $99 = $i;
- $mul100 = $98<<1;
- $100 = $i;
- $$sink = $tobool84 ? $100 : $99;
- $mul103$sink = $tobool84 ? $mul100 : $mul103;
- $arrayidx104 = (($vla) + ($$sink<<2)|0);
- HEAP32[$arrayidx104>>2] = $mul103$sink;
- $101 = $isTransient$addr;
- $tobool106 = ($101|0)!=(0);
- $102 = $LM$addr;
- $cond110 = $tobool106 ? $102 : 0;
- $103 = $i;
- $arrayidx111 = (($vla) + ($103<<2)|0);
- $104 = HEAP32[$arrayidx111>>2]|0;
- $div = (($104|0) / 2)&-1;
- $sub112 = (($cond110) - ($div))|0;
- $105 = $tf_sum$addr;
- $106 = HEAP32[$105>>2]|0;
- $add113 = (($106) + ($sub112))|0;
- HEAP32[$105>>2] = $add113;
- $107 = $narrow;
- $tobool114 = ($107|0)!=(0);
- do {
- if ($tobool114) {
- $108 = $i;
- $arrayidx116 = (($vla) + ($108<<2)|0);
- $109 = HEAP32[$arrayidx116>>2]|0;
- $cmp117 = ($109|0)==(0);
- if (!($cmp117)) {
- $110 = $i;
- $arrayidx119 = (($vla) + ($110<<2)|0);
- $111 = HEAP32[$arrayidx119>>2]|0;
- $112 = $LM$addr;
- $mul120 = Math_imul(-2, $112)|0;
- $cmp121 = ($111|0)==($mul120|0);
- if (!($cmp121)) {
- break;
- }
- }
- $113 = $i;
- $arrayidx124 = (($vla) + ($113<<2)|0);
- $114 = HEAP32[$arrayidx124>>2]|0;
- $sub125 = (($114) - 1)|0;
- HEAP32[$arrayidx124>>2] = $sub125;
- }
- } while(0);
- $115 = $i;
- $inc128 = (($115) + 1)|0;
- $i = $inc128;
- }
- $tf_select = 0;
- $sel = 0;
- while(1) {
- $116 = $sel;
- $cmp131 = ($116|0)<(2);
- if (!($cmp131)) {
- break;
- }
- $cost0 = 0;
- $117 = $isTransient$addr;
- $tobool134 = ($117|0)!=(0);
- $118 = $lambda$addr;
- $cond138 = $tobool134 ? 0 : $118;
- $cost1 = $cond138;
- $i = 1;
- while(1) {
- $119 = $i;
- $120 = $len$addr;
- $cmp140 = ($119|0)<($120|0);
- $121 = $cost0;
- $122 = $cost1;
- if (!($cmp140)) {
- break;
- }
- $123 = $lambda$addr;
- $add143 = (($122) + ($123))|0;
- $cmp144 = ($121|0)<($add143|0);
- if ($cmp144) {
- $124 = $cost0;
- $cond150 = $124;
- } else {
- $125 = $cost1;
- $126 = $lambda$addr;
- $add148 = (($125) + ($126))|0;
- $cond150 = $add148;
- }
- $curr0 = $cond150;
- $127 = $cost0;
- $128 = $lambda$addr;
- $add151 = (($127) + ($128))|0;
- $129 = $cost1;
- $cmp152 = ($add151|0)<($129|0);
- if ($cmp152) {
- $130 = $cost0;
- $131 = $lambda$addr;
- $add155 = (($130) + ($131))|0;
- $cond158 = $add155;
- } else {
- $132 = $cost1;
- $cond158 = $132;
- }
- $curr1 = $cond158;
- $133 = $curr0;
- $134 = $i;
- $arrayidx159 = (($vla) + ($134<<2)|0);
- $135 = HEAP32[$arrayidx159>>2]|0;
- $136 = $LM$addr;
- $arrayidx160 = (28933 + ($136<<3)|0);
- $137 = $isTransient$addr;
- $mul161 = $137<<2;
- $138 = $sel;
- $mul162 = $138<<1;
- $add163 = (($mul161) + ($mul162))|0;
- $add164 = (($add163) + 0)|0;
- $arrayidx165 = (($arrayidx160) + ($add164)|0);
- $139 = HEAP8[$arrayidx165>>0]|0;
- $conv166 = $139 << 24 >> 24;
- $mul167 = $conv166<<1;
- $sub168 = (($135) - ($mul167))|0;
- $call169 = (Math_abs(($sub168|0))|0);
- $add170 = (($133) + ($call169))|0;
- $cost0 = $add170;
- $140 = $curr1;
- $141 = $i;
- $arrayidx171 = (($vla) + ($141<<2)|0);
- $142 = HEAP32[$arrayidx171>>2]|0;
- $143 = $LM$addr;
- $arrayidx172 = (28933 + ($143<<3)|0);
- $144 = $isTransient$addr;
- $mul173 = $144<<2;
- $145 = $sel;
- $mul174 = $145<<1;
- $add175 = (($mul173) + ($mul174))|0;
- $add176 = (($add175) + 1)|0;
- $arrayidx177 = (($arrayidx172) + ($add176)|0);
- $146 = HEAP8[$arrayidx177>>0]|0;
- $conv178 = $146 << 24 >> 24;
- $mul179 = $conv178<<1;
- $sub180 = (($142) - ($mul179))|0;
- $call181 = (Math_abs(($sub180|0))|0);
- $add182 = (($140) + ($call181))|0;
- $cost1 = $add182;
- $147 = $i;
- $inc184 = (($147) + 1)|0;
- $i = $inc184;
- }
- $cmp186 = ($121|0)<($122|0);
- $148 = $cost0;
- $149 = $cost1;
- $cond191 = $cmp186 ? $148 : $149;
- $cost0 = $cond191;
- $150 = $cost0;
- $151 = $sel;
- $arrayidx192 = (($selcost) + ($151<<2)|0);
- HEAP32[$arrayidx192>>2] = $150;
- $152 = $sel;
- $inc194 = (($152) + 1)|0;
- $sel = $inc194;
- }
- $arrayidx196 = ((($selcost)) + 4|0);
- $153 = HEAP32[$arrayidx196>>2]|0;
- $154 = HEAP32[$selcost>>2]|0;
- $cmp198 = ($153|0)<($154|0);
- $155 = $isTransient$addr;
- $tobool201 = ($155|0)!=(0);
- $or$cond1 = $cmp198 & $tobool201;
- if ($or$cond1) {
- $tf_select = 1;
- }
- $cost0 = 0;
- $156 = $isTransient$addr;
- $tobool204 = ($156|0)!=(0);
- $157 = $lambda$addr;
- $cond208 = $tobool204 ? 0 : $157;
- $cost1 = $cond208;
- $i = 1;
- while(1) {
- $158 = $i;
- $159 = $len$addr;
- $cmp210 = ($158|0)<($159|0);
- $160 = $cost0;
- if (!($cmp210)) {
- break;
- }
- $from0 = $160;
- $161 = $cost1;
- $162 = $lambda$addr;
- $add215 = (($161) + ($162))|0;
- $from1 = $add215;
- $163 = $from0;
- $164 = $from1;
- $cmp216 = ($163|0)<($164|0);
- if ($cmp216) {
- $165 = $from0;
- $curr0213 = $165;
- $166 = $i;
- $$sink2 = 0;$$sink3 = $166;
- } else {
- $167 = $from1;
- $curr0213 = $167;
- $168 = $i;
- $$sink2 = 1;$$sink3 = $168;
- }
- $arrayidx221 = (($vla18) + ($$sink3<<2)|0);
- HEAP32[$arrayidx221>>2] = $$sink2;
- $169 = $cost0;
- $170 = $lambda$addr;
- $add223 = (($169) + ($170))|0;
- $from0 = $add223;
- $171 = $cost1;
- $from1 = $171;
- $172 = $from0;
- $173 = $from1;
- $cmp224 = ($172|0)<($173|0);
- if ($cmp224) {
- $174 = $from0;
- $curr1214 = $174;
- $175 = $i;
- $$sink4 = 0;$$sink5 = $175;
- } else {
- $176 = $from1;
- $curr1214 = $176;
- $177 = $i;
- $$sink4 = 1;$$sink5 = $177;
- }
- $arrayidx229 = (($vla19) + ($$sink5<<2)|0);
- HEAP32[$arrayidx229>>2] = $$sink4;
- $178 = $curr0213;
- $179 = $i;
- $arrayidx231 = (($vla) + ($179<<2)|0);
- $180 = HEAP32[$arrayidx231>>2]|0;
- $181 = $LM$addr;
- $arrayidx232 = (28933 + ($181<<3)|0);
- $182 = $isTransient$addr;
- $mul233 = $182<<2;
- $183 = $tf_select;
- $mul234 = $183<<1;
- $add235 = (($mul233) + ($mul234))|0;
- $add236 = (($add235) + 0)|0;
- $arrayidx237 = (($arrayidx232) + ($add236)|0);
- $184 = HEAP8[$arrayidx237>>0]|0;
- $conv238 = $184 << 24 >> 24;
- $mul239 = $conv238<<1;
- $sub240 = (($180) - ($mul239))|0;
- $call241 = (Math_abs(($sub240|0))|0);
- $add242 = (($178) + ($call241))|0;
- $cost0 = $add242;
- $185 = $curr1214;
- $186 = $i;
- $arrayidx243 = (($vla) + ($186<<2)|0);
- $187 = HEAP32[$arrayidx243>>2]|0;
- $188 = $LM$addr;
- $arrayidx244 = (28933 + ($188<<3)|0);
- $189 = $isTransient$addr;
- $mul245 = $189<<2;
- $190 = $tf_select;
- $mul246 = $190<<1;
- $add247 = (($mul245) + ($mul246))|0;
- $add248 = (($add247) + 1)|0;
- $arrayidx249 = (($arrayidx244) + ($add248)|0);
- $191 = HEAP8[$arrayidx249>>0]|0;
- $conv250 = $191 << 24 >> 24;
- $mul251 = $conv250<<1;
- $sub252 = (($187) - ($mul251))|0;
- $call253 = (Math_abs(($sub252|0))|0);
- $add254 = (($185) + ($call253))|0;
- $cost1 = $add254;
- $192 = $i;
- $inc256 = (($192) + 1)|0;
- $i = $inc256;
- }
- $193 = $cost1;
- $cmp258 = ($160|0)<($193|0);
- $cond260 = $cmp258 ? 0 : 1;
- $194 = $tf_res$addr;
- $195 = $len$addr;
- $sub261 = (($195) - 1)|0;
- $arrayidx262 = (($194) + ($sub261<<2)|0);
- HEAP32[$arrayidx262>>2] = $cond260;
- $196 = $len$addr;
- $sub263 = (($196) - 2)|0;
- $i = $sub263;
- while(1) {
- $197 = $i;
- $cmp265 = ($197|0)>=(0);
- if (!($cmp265)) {
- break;
- }
- $198 = $tf_res$addr;
- $199 = $i;
- $add268 = (($199) + 1)|0;
- $arrayidx269 = (($198) + ($add268<<2)|0);
- $200 = HEAP32[$arrayidx269>>2]|0;
- $cmp270 = ($200|0)==(1);
- $201 = $i;
- $add273 = (($201) + 1)|0;
- if ($cmp270) {
- $arrayidx274 = (($vla19) + ($add273<<2)|0);
- $202 = HEAP32[$arrayidx274>>2]|0;
- $203 = $tf_res$addr;
- $204 = $i;
- $arrayidx275 = (($203) + ($204<<2)|0);
- $$sink6 = $202;$arrayidx279$sink = $arrayidx275;
- } else {
- $arrayidx278 = (($vla18) + ($add273<<2)|0);
- $205 = HEAP32[$arrayidx278>>2]|0;
- $206 = $tf_res$addr;
- $207 = $i;
- $arrayidx279 = (($206) + ($207<<2)|0);
- $$sink6 = $205;$arrayidx279$sink = $arrayidx279;
- }
- HEAP32[$arrayidx279$sink>>2] = $$sink6;
- $208 = $i;
- $dec = (($208) + -1)|0;
- $i = $dec;
- }
- $209 = $tf_select;
- $210 = $saved_stack;
- _llvm_stackrestore(($210|0));
- STACKTOP = sp;return ($209|0);
-}
-function _tf_encode($start,$end,$isTransient,$tf_res,$LM,$tf_select,$enc) {
- $start = $start|0;
- $end = $end|0;
- $isTransient = $isTransient|0;
- $tf_res = $tf_res|0;
- $LM = $LM|0;
- $tf_select = $tf_select|0;
- $enc = $enc|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $LM$addr = 0, $add = 0;
- var $add1 = 0, $add14 = 0, $add15 = 0, $add19 = 0, $add20 = 0, $add35 = 0, $add37 = 0, $add4 = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx16 = 0, $arrayidx17 = 0, $arrayidx21 = 0, $arrayidx32 = 0, $arrayidx36 = 0, $arrayidx38 = 0, $arrayidx40 = 0, $arrayidx7 = 0, $arrayidx8 = 0, $budget = 0;
- var $call = 0, $call6 = 0, $cmp = 0, $cmp2 = 0, $cmp23 = 0, $cmp29 = 0, $cmp3 = 0, $cmp5 = 0, $cond = 0, $cond10 = 0, $conv = 0, $conv22 = 0, $conv39 = 0, $curr = 0, $enc$addr = 0, $end$addr = 0, $i = 0, $inc = 0, $inc42 = 0, $isTransient$addr = 0;
- var $land$ext = 0, $logp = 0, $mul = 0, $mul13 = 0, $mul18 = 0, $mul33 = 0, $mul34 = 0, $or = 0, $start$addr = 0, $storage = 0, $sub = 0, $tell = 0, $tf_changed = 0, $tf_res$addr = 0, $tf_select$addr = 0, $tf_select_rsv = 0, $tobool = 0, $tobool11 = 0, $tobool9 = 0, $xor = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $start$addr = $start;
- $end$addr = $end;
- $isTransient$addr = $isTransient;
- $tf_res$addr = $tf_res;
- $LM$addr = $LM;
- $tf_select$addr = $tf_select;
- $enc$addr = $enc;
- $0 = $enc$addr;
- $storage = ((($0)) + 4|0);
- $1 = HEAP32[$storage>>2]|0;
- $mul = $1<<3;
- $budget = $mul;
- $2 = $enc$addr;
- $call = (_ec_tell_50($2)|0);
- $tell = $call;
- $3 = $isTransient$addr;
- $tobool = ($3|0)!=(0);
- $cond = $tobool ? 2 : 4;
- $logp = $cond;
- $4 = $LM$addr;
- $cmp = ($4|0)>(0);
- if ($cmp) {
- $5 = $tell;
- $6 = $logp;
- $add = (($5) + ($6))|0;
- $add1 = (($add) + 1)|0;
- $7 = $budget;
- $cmp2 = ($add1>>>0)<=($7>>>0);
- $8 = $cmp2;
- } else {
- $8 = 0;
- }
- $land$ext = $8&1;
- $tf_select_rsv = $land$ext;
- $9 = $tf_select_rsv;
- $10 = $budget;
- $sub = (($10) - ($9))|0;
- $budget = $sub;
- $tf_changed = 0;
- $curr = 0;
- $11 = $start$addr;
- $i = $11;
- while(1) {
- $12 = $i;
- $13 = $end$addr;
- $cmp3 = ($12|0)<($13|0);
- if (!($cmp3)) {
- break;
- }
- $14 = $tell;
- $15 = $logp;
- $add4 = (($14) + ($15))|0;
- $16 = $budget;
- $cmp5 = ($add4>>>0)<=($16>>>0);
- if ($cmp5) {
- $17 = $enc$addr;
- $18 = $tf_res$addr;
- $19 = $i;
- $arrayidx = (($18) + ($19<<2)|0);
- $20 = HEAP32[$arrayidx>>2]|0;
- $21 = $curr;
- $xor = $20 ^ $21;
- $22 = $logp;
- _ec_enc_bit_logp($17,$xor,$22);
- $23 = $enc$addr;
- $call6 = (_ec_tell_50($23)|0);
- $tell = $call6;
- $24 = $tf_res$addr;
- $25 = $i;
- $arrayidx7 = (($24) + ($25<<2)|0);
- $26 = HEAP32[$arrayidx7>>2]|0;
- $curr = $26;
- $27 = $curr;
- $28 = $tf_changed;
- $or = $28 | $27;
- $tf_changed = $or;
- } else {
- $29 = $curr;
- $30 = $tf_res$addr;
- $31 = $i;
- $arrayidx8 = (($30) + ($31<<2)|0);
- HEAP32[$arrayidx8>>2] = $29;
- }
- $32 = $isTransient$addr;
- $tobool9 = ($32|0)!=(0);
- $cond10 = $tobool9 ? 4 : 5;
- $logp = $cond10;
- $33 = $i;
- $inc = (($33) + 1)|0;
- $i = $inc;
- }
- $34 = $tf_select_rsv;
- $tobool11 = ($34|0)!=(0);
- if ($tobool11) {
- $35 = $LM$addr;
- $arrayidx12 = (28933 + ($35<<3)|0);
- $36 = $isTransient$addr;
- $mul13 = $36<<2;
- $add14 = (($mul13) + 0)|0;
- $37 = $tf_changed;
- $add15 = (($add14) + ($37))|0;
- $arrayidx16 = (($arrayidx12) + ($add15)|0);
- $38 = HEAP8[$arrayidx16>>0]|0;
- $conv = $38 << 24 >> 24;
- $39 = $LM$addr;
- $arrayidx17 = (28933 + ($39<<3)|0);
- $40 = $isTransient$addr;
- $mul18 = $40<<2;
- $add19 = (($mul18) + 2)|0;
- $41 = $tf_changed;
- $add20 = (($add19) + ($41))|0;
- $arrayidx21 = (($arrayidx17) + ($add20)|0);
- $42 = HEAP8[$arrayidx21>>0]|0;
- $conv22 = $42 << 24 >> 24;
- $cmp23 = ($conv|0)!=($conv22|0);
- if ($cmp23) {
- $43 = $enc$addr;
- $44 = $tf_select$addr;
- _ec_enc_bit_logp($43,$44,1);
- } else {
- label = 12;
- }
- } else {
- label = 12;
- }
- if ((label|0) == 12) {
- $tf_select$addr = 0;
- }
- $45 = $start$addr;
- $i = $45;
- while(1) {
- $46 = $i;
- $47 = $end$addr;
- $cmp29 = ($46|0)<($47|0);
- if (!($cmp29)) {
- break;
- }
- $48 = $LM$addr;
- $arrayidx32 = (28933 + ($48<<3)|0);
- $49 = $isTransient$addr;
- $mul33 = $49<<2;
- $50 = $tf_select$addr;
- $mul34 = $50<<1;
- $add35 = (($mul33) + ($mul34))|0;
- $51 = $tf_res$addr;
- $52 = $i;
- $arrayidx36 = (($51) + ($52<<2)|0);
- $53 = HEAP32[$arrayidx36>>2]|0;
- $add37 = (($add35) + ($53))|0;
- $arrayidx38 = (($arrayidx32) + ($add37)|0);
- $54 = HEAP8[$arrayidx38>>0]|0;
- $conv39 = $54 << 24 >> 24;
- $55 = $tf_res$addr;
- $56 = $i;
- $arrayidx40 = (($55) + ($56<<2)|0);
- HEAP32[$arrayidx40>>2] = $conv39;
- $57 = $i;
- $inc42 = (($57) + 1)|0;
- $i = $inc42;
- }
- STACKTOP = sp;return;
-}
-function _dynalloc_analysis($bandLogE,$bandLogE2,$nbEBands,$start,$end,$C,$offsets,$lsb_depth,$logN,$isTransient,$vbr,$constrained_vbr,$eBands,$LM,$effectiveBytes,$tot_boost_,$lfe,$surround_dynalloc) {
- $bandLogE = $bandLogE|0;
- $bandLogE2 = $bandLogE2|0;
- $nbEBands = $nbEBands|0;
- $start = $start|0;
- $end = $end|0;
- $C = $C|0;
- $offsets = $offsets|0;
- $lsb_depth = $lsb_depth|0;
- $logN = $logN|0;
- $isTransient = $isTransient|0;
- $vbr = $vbr|0;
- $constrained_vbr = $constrained_vbr|0;
- $eBands = $eBands|0;
- $LM = $LM|0;
- $effectiveBytes = $effectiveBytes|0;
- $tot_boost_ = $tot_boost_|0;
- $lfe = $lfe|0;
- $surround_dynalloc = $surround_dynalloc|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0.0, $133 = 0;
- var $134 = 0, $135 = 0.0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0.0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0.0, $148 = 0, $149 = 0.0, $15 = 0, $150 = 0.0, $151 = 0;
- var $152 = 0.0, $153 = 0.0, $154 = 0, $155 = 0, $156 = 0.0, $157 = 0.0, $158 = 0, $159 = 0.0, $16 = 0, $160 = 0.0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0.0, $17 = 0;
- var $170 = 0.0, $171 = 0, $172 = 0, $173 = 0.0, $174 = 0.0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0.0, $192 = 0, $193 = 0.0, $194 = 0, $195 = 0, $196 = 0, $197 = 0.0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0.0, $21 = 0.0, $210 = 0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0.0, $215 = 0, $216 = 0.0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0.0, $221 = 0, $222 = 0, $223 = 0.0;
- var $224 = 0, $225 = 0.0, $226 = 0, $227 = 0, $228 = 0.0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0.0, $233 = 0, $234 = 0.0, $235 = 0, $236 = 0, $237 = 0.0, $238 = 0, $239 = 0.0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0.0, $244 = 0, $245 = 0, $246 = 0.0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0.0, $251 = 0, $252 = 0, $253 = 0.0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0.0;
- var $260 = 0.0, $261 = 0, $262 = 0.0, $263 = 0, $264 = 0, $265 = 0.0, $266 = 0, $267 = 0.0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0.0, $275 = 0, $276 = 0, $277 = 0.0, $278 = 0;
- var $279 = 0, $28 = 0.0, $280 = 0, $281 = 0.0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0.0, $290 = 0, $291 = 0.0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0.0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0.0, $303 = 0, $304 = 0, $305 = 0.0, $306 = 0, $307 = 0.0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0.0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0.0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
- var $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0.0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0.0, $35 = 0;
- var $350 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0;
- var $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0;
- var $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0.0;
- var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0, $99 = 0, $C$addr = 0, $LM$addr = 0, $add = 0.0, $add10 = 0, $add101 = 0, $add103 = 0.0, $add106 = 0, $add115 = 0, $add117 = 0.0;
- var $add119 = 0, $add124 = 0, $add126 = 0.0, $add129 = 0, $add14 = 0.0, $add145 = 0, $add155 = 0, $add189 = 0, $add21 = 0, $add248 = 0, $add255 = 0, $add262 = 0, $add265 = 0, $add273 = 0, $add28 = 0, $add291 = 0, $add293 = 0, $add300 = 0, $add302 = 0, $add307 = 0.0;
- var $add394 = 0, $add433 = 0, $add446 = 0, $add54 = 0, $add57 = 0, $add6 = 0.0, $add60 = 0.0, $add66 = 0.0, $add68 = 0, $add75 = 0.0, $add78 = 0, $add9 = 0, $add92 = 0, $add94 = 0.0, $add96 = 0, $arrayidx = 0, $arrayidx102 = 0, $arrayidx107 = 0, $arrayidx113 = 0, $arrayidx116 = 0;
- var $arrayidx120 = 0, $arrayidx125 = 0, $arrayidx130 = 0, $arrayidx135 = 0, $arrayidx143 = 0, $arrayidx147 = 0, $arrayidx15 = 0, $arrayidx152 = 0, $arrayidx157 = 0, $arrayidx162 = 0, $arrayidx167 = 0, $arrayidx179 = 0, $arrayidx183 = 0, $arrayidx187 = 0, $arrayidx191 = 0, $arrayidx195 = 0, $arrayidx200 = 0, $arrayidx205 = 0, $arrayidx207 = 0, $arrayidx212 = 0;
- var $arrayidx217 = 0, $arrayidx22 = 0, $arrayidx222 = 0, $arrayidx223 = 0, $arrayidx227 = 0, $arrayidx229 = 0, $arrayidx229$sink = 0, $arrayidx23 = 0, $arrayidx232 = 0, $arrayidx249 = 0, $arrayidx250 = 0, $arrayidx256 = 0, $arrayidx258 = 0, $arrayidx263 = 0, $arrayidx264 = 0, $arrayidx266 = 0, $arrayidx271 = 0, $arrayidx274 = 0, $arrayidx278 = 0, $arrayidx279 = 0;
- var $arrayidx280 = 0, $arrayidx286 = 0, $arrayidx287 = 0, $arrayidx29 = 0, $arrayidx292 = 0, $arrayidx294 = 0, $arrayidx30 = 0, $arrayidx301 = 0, $arrayidx303 = 0, $arrayidx309 = 0, $arrayidx317 = 0, $arrayidx318 = 0, $arrayidx324 = 0, $arrayidx325 = 0, $arrayidx329 = 0, $arrayidx338 = 0, $arrayidx339 = 0, $arrayidx343 = 0, $arrayidx345 = 0, $arrayidx345$sink = 0;
- var $arrayidx348 = 0, $arrayidx361 = 0, $arrayidx363 = 0, $arrayidx375 = 0, $arrayidx381 = 0, $arrayidx383 = 0, $arrayidx385 = 0, $arrayidx389 = 0, $arrayidx393 = 0, $arrayidx395 = 0, $arrayidx397 = 0, $arrayidx404 = 0, $arrayidx412 = 0, $arrayidx443 = 0, $arrayidx445 = 0, $arrayidx45 = 0, $arrayidx47 = 0, $arrayidx55 = 0, $arrayidx59 = 0, $arrayidx65 = 0;
- var $arrayidx69 = 0, $arrayidx7 = 0, $arrayidx74 = 0, $arrayidx79 = 0, $arrayidx82 = 0, $arrayidx91 = 0, $arrayidx93 = 0, $arrayidx97 = 0, $bandLogE$addr = 0, $bandLogE2$addr = 0, $boost = 0, $boost_bits = 0, $c = 0, $call = 0.0, $call158 = 0.0, $call168 = 0.0, $call192 = 0.0, $cap = 0, $cmp = 0, $cmp110 = 0;
- var $cmp121 = 0, $cmp140 = 0, $cmp149 = 0, $cmp17 = 0, $cmp171 = 0, $cmp180 = 0, $cmp196 = 0, $cmp208 = 0, $cmp219 = 0, $cmp224 = 0, $cmp238 = 0, $cmp241 = 0, $cmp245 = 0, $cmp25 = 0, $cmp252 = 0, $cmp268 = 0, $cmp282 = 0, $cmp296 = 0, $cmp314 = 0, $cmp320 = 0;
- var $cmp335 = 0, $cmp340 = 0, $cmp358 = 0, $cmp36 = 0, $cmp369 = 0, $cmp372 = 0, $cmp378 = 0, $cmp38 = 0, $cmp386 = 0, $cmp40 = 0, $cmp401 = 0, $cmp409 = 0, $cmp436 = 0, $cmp50 = 0, $cmp61 = 0, $cmp70 = 0, $cmp88 = 0, $cmp98 = 0, $cond = 0.0, $cond109 = 0.0;
- var $cond134 = 0.0, $cond161 = 0.0, $cond177 = 0.0, $cond186 = 0.0, $cond203 = 0.0, $cond215 = 0.0, $cond261 = 0.0, $cond277 = 0.0, $cond290 = 0.0, $cond306 = 0.0, $cond328 = 0.0, $cond392 = 0.0, $cond81 = 0.0, $constrained_vbr$addr = 0, $conv = 0.0, $conv12 = 0.0, $conv396 = 0, $conv398 = 0, $conv405 = 0, $conv414 = 0;
- var $conv419 = 0.0, $conv422 = 0, $conv5 = 0.0, $dec = 0, $div = 0, $div421 = 0.0, $div435 = 0, $div439 = 0, $eBands$addr = 0, $effectiveBytes$addr = 0, $end$addr = 0, $f = 0, $i = 0, $inc = 0, $inc164 = 0, $inc234 = 0, $inc237 = 0, $inc311 = 0, $inc33 = 0, $inc331 = 0;
- var $inc35 = 0, $inc350 = 0, $inc365 = 0, $inc449 = 0, $inc84 = 0, $isTransient$addr = 0, $last = 0, $lfe$addr = 0, $logN$addr = 0, $lsb_depth$addr = 0, $maxDepth = 0.0, $mul = 0, $mul1 = 0, $mul105 = 0, $mul11 = 0, $mul118 = 0, $mul128 = 0, $mul13 = 0.0, $mul144 = 0, $mul154 = 0;
- var $mul166 = 0, $mul188 = 0, $mul20 = 0, $mul27 = 0, $mul3 = 0, $mul308 = 0.0, $mul362 = 0.0, $mul376 = 0.0, $mul382 = 0.0, $mul4 = 0.0, $mul400 = 0, $mul406 = 0, $mul413 = 0.0, $mul415 = 0, $mul420 = 0.0, $mul423 = 0, $mul44 = 0, $mul46 = 0, $mul53 = 0, $mul56 = 0;
- var $mul67 = 0, $mul77 = 0, $mul95 = 0, $nbEBands$addr = 0, $offset = 0.0, $offsets$addr = 0, $or$cond = 0, $or$cond$not = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond2$not = 0, $or$cond3 = 0, $or$cond4 = 0, $saved_stack = 0, $shl = 0, $shl407 = 0, $shl416 = 0, $shl424 = 0, $shl440 = 0, $shl441 = 0;
- var $shr = 0, $shr434 = 0, $start$addr = 0, $sub = 0, $sub139 = 0, $sub146 = 0, $sub148 = 0.0, $sub156 = 0, $sub159 = 0.0, $sub169 = 0.0, $sub190 = 0, $sub193 = 0.0, $sub194 = 0, $sub199 = 0, $sub204 = 0, $sub206 = 0, $sub211 = 0, $sub216 = 0, $sub24 = 0.0, $sub251 = 0.0;
- var $sub259 = 0.0, $sub267 = 0.0, $sub275 = 0.0, $sub281 = 0.0, $sub288 = 0.0, $sub295 = 0.0, $sub304 = 0.0, $sub31 = 0.0, $sub319 = 0.0, $sub326 = 0.0, $sub399 = 0, $sub442 = 0, $sub58 = 0, $sub64 = 0, $sub73 = 0, $sub8 = 0.0, $sub86 = 0, $surround_dynalloc$addr = 0, $tmp = 0.0, $tobool = 0;
- var $tobool352 = 0, $tobool353 = 0, $tobool355 = 0, $tobool427 = 0, $tobool429 = 0, $tobool431 = 0, $tot_boost = 0, $tot_boost_$addr = 0, $vbr$addr = 0, $vla = 0, $vla$alloca_mul = 0, $vla2 = 0, $vla2$alloca_mul = 0, $width = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
- $bandLogE$addr = $bandLogE;
- $bandLogE2$addr = $bandLogE2;
- $nbEBands$addr = $nbEBands;
- $start$addr = $start;
- $end$addr = $end;
- $C$addr = $C;
- $offsets$addr = $offsets;
- $lsb_depth$addr = $lsb_depth;
- $logN$addr = $logN;
- $isTransient$addr = $isTransient;
- $vbr$addr = $vbr;
- $constrained_vbr$addr = $constrained_vbr;
- $eBands$addr = $eBands;
- $LM$addr = $LM;
- $effectiveBytes$addr = $effectiveBytes;
- $tot_boost_$addr = $tot_boost_;
- $lfe$addr = $lfe;
- $surround_dynalloc$addr = $surround_dynalloc;
- $tot_boost = 0;
- $0 = $C$addr;
- $1 = $nbEBands$addr;
- $mul = Math_imul($0, $1)|0;
- $2 = (_llvm_stacksave()|0);
- $saved_stack = $2;
- $vla$alloca_mul = $mul<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $3 = $C$addr;
- $4 = $nbEBands$addr;
- $mul1 = Math_imul($3, $4)|0;
- $vla2$alloca_mul = $mul1<<2;
- $vla2 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla2$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla2$alloca_mul)|0)+15)&-16)|0);;
- $5 = $offsets$addr;
- $6 = $nbEBands$addr;
- $mul3 = $6<<2;
- _memset(($5|0),0,($mul3|0))|0;
- $maxDepth = -31.899999618530273;
- $i = 0;
- while(1) {
- $7 = $i;
- $8 = $end$addr;
- $cmp = ($7|0)<($8|0);
- if (!($cmp)) {
- break;
- }
- $9 = $logN$addr;
- $10 = $i;
- $arrayidx = (($9) + ($10<<1)|0);
- $11 = HEAP16[$arrayidx>>1]|0;
- $conv = (+($11<<16>>16));
- $mul4 = 0.0625 * $conv;
- $add = $mul4 + 0.5;
- $12 = $lsb_depth$addr;
- $sub = (9 - ($12))|0;
- $conv5 = (+($sub|0));
- $add6 = $add + $conv5;
- $13 = $i;
- $arrayidx7 = (16504 + ($13<<2)|0);
- $14 = +HEAPF32[$arrayidx7>>2];
- $sub8 = $add6 - $14;
- $15 = $i;
- $add9 = (($15) + 5)|0;
- $16 = $i;
- $add10 = (($16) + 5)|0;
- $mul11 = Math_imul($add9, $add10)|0;
- $conv12 = (+($mul11|0));
- $mul13 = 0.0062000001780688763 * $conv12;
- $add14 = $sub8 + $mul13;
- $17 = $i;
- $arrayidx15 = (($vla2) + ($17<<2)|0);
- HEAPF32[$arrayidx15>>2] = $add14;
- $18 = $i;
- $inc = (($18) + 1)|0;
- $i = $inc;
- }
- $c = 0;
- while(1) {
- $i = 0;
- while(1) {
- $19 = $i;
- $20 = $end$addr;
- $cmp17 = ($19|0)<($20|0);
- if (!($cmp17)) {
- break;
- }
- $21 = $maxDepth;
- $22 = $bandLogE$addr;
- $23 = $c;
- $24 = $nbEBands$addr;
- $mul20 = Math_imul($23, $24)|0;
- $25 = $i;
- $add21 = (($mul20) + ($25))|0;
- $arrayidx22 = (($22) + ($add21<<2)|0);
- $26 = +HEAPF32[$arrayidx22>>2];
- $27 = $i;
- $arrayidx23 = (($vla2) + ($27<<2)|0);
- $28 = +HEAPF32[$arrayidx23>>2];
- $sub24 = $26 - $28;
- $cmp25 = $21 > $sub24;
- if ($cmp25) {
- $29 = $maxDepth;
- $cond = $29;
- } else {
- $30 = $bandLogE$addr;
- $31 = $c;
- $32 = $nbEBands$addr;
- $mul27 = Math_imul($31, $32)|0;
- $33 = $i;
- $add28 = (($mul27) + ($33))|0;
- $arrayidx29 = (($30) + ($add28<<2)|0);
- $34 = +HEAPF32[$arrayidx29>>2];
- $35 = $i;
- $arrayidx30 = (($vla2) + ($35<<2)|0);
- $36 = +HEAPF32[$arrayidx30>>2];
- $sub31 = $34 - $36;
- $cond = $sub31;
- }
- $maxDepth = $cond;
- $37 = $i;
- $inc33 = (($37) + 1)|0;
- $i = $inc33;
- }
- $38 = $c;
- $inc35 = (($38) + 1)|0;
- $c = $inc35;
- $39 = $C$addr;
- $cmp36 = ($inc35|0)<($39|0);
- if (!($cmp36)) {
- break;
- }
- }
- $40 = $effectiveBytes$addr;
- $cmp38 = ($40|0)>(50);
- $41 = $LM$addr;
- $cmp40 = ($41|0)>=(1);
- $or$cond = $cmp38 & $cmp40;
- $or$cond$not = $or$cond ^ 1;
- $42 = $lfe$addr;
- $tobool = ($42|0)!=(0);
- $or$cond1 = $or$cond$not | $tobool;
- if ($or$cond1) {
- $347 = $tot_boost;
- $348 = $tot_boost_$addr;
- HEAP32[$348>>2] = $347;
- $349 = $maxDepth;
- $350 = $saved_stack;
- _llvm_stackrestore(($350|0));
- STACKTOP = sp;return (+$349);
- }
- $last = 0;
- $c = 0;
- while(1) {
- $43 = $c;
- $44 = $nbEBands$addr;
- $mul44 = Math_imul($43, $44)|0;
- $arrayidx45 = (($vla) + ($mul44<<2)|0);
- $f = $arrayidx45;
- $45 = $bandLogE2$addr;
- $46 = $c;
- $47 = $nbEBands$addr;
- $mul46 = Math_imul($46, $47)|0;
- $arrayidx47 = (($45) + ($mul46<<2)|0);
- $48 = +HEAPF32[$arrayidx47>>2];
- $49 = $f;
- HEAPF32[$49>>2] = $48;
- $i = 1;
- while(1) {
- $50 = $i;
- $51 = $end$addr;
- $cmp50 = ($50|0)<($51|0);
- if (!($cmp50)) {
- break;
- }
- $52 = $bandLogE2$addr;
- $53 = $c;
- $54 = $nbEBands$addr;
- $mul53 = Math_imul($53, $54)|0;
- $55 = $i;
- $add54 = (($mul53) + ($55))|0;
- $arrayidx55 = (($52) + ($add54<<2)|0);
- $56 = +HEAPF32[$arrayidx55>>2];
- $57 = $bandLogE2$addr;
- $58 = $c;
- $59 = $nbEBands$addr;
- $mul56 = Math_imul($58, $59)|0;
- $60 = $i;
- $add57 = (($mul56) + ($60))|0;
- $sub58 = (($add57) - 1)|0;
- $arrayidx59 = (($57) + ($sub58<<2)|0);
- $61 = +HEAPF32[$arrayidx59>>2];
- $add60 = $61 + 0.5;
- $cmp61 = $56 > $add60;
- if ($cmp61) {
- $62 = $i;
- $last = $62;
- }
- $63 = $f;
- $64 = $i;
- $sub64 = (($64) - 1)|0;
- $arrayidx65 = (($63) + ($sub64<<2)|0);
- $65 = +HEAPF32[$arrayidx65>>2];
- $add66 = $65 + 1.5;
- $66 = $bandLogE2$addr;
- $67 = $c;
- $68 = $nbEBands$addr;
- $mul67 = Math_imul($67, $68)|0;
- $69 = $i;
- $add68 = (($mul67) + ($69))|0;
- $arrayidx69 = (($66) + ($add68<<2)|0);
- $70 = +HEAPF32[$arrayidx69>>2];
- $cmp70 = $add66 < $70;
- if ($cmp70) {
- $71 = $f;
- $72 = $i;
- $sub73 = (($72) - 1)|0;
- $arrayidx74 = (($71) + ($sub73<<2)|0);
- $73 = +HEAPF32[$arrayidx74>>2];
- $add75 = $73 + 1.5;
- $cond81 = $add75;
- } else {
- $74 = $bandLogE2$addr;
- $75 = $c;
- $76 = $nbEBands$addr;
- $mul77 = Math_imul($75, $76)|0;
- $77 = $i;
- $add78 = (($mul77) + ($77))|0;
- $arrayidx79 = (($74) + ($add78<<2)|0);
- $78 = +HEAPF32[$arrayidx79>>2];
- $cond81 = $78;
- }
- $79 = $f;
- $80 = $i;
- $arrayidx82 = (($79) + ($80<<2)|0);
- HEAPF32[$arrayidx82>>2] = $cond81;
- $81 = $i;
- $inc84 = (($81) + 1)|0;
- $i = $inc84;
- }
- $82 = $last;
- $sub86 = (($82) - 1)|0;
- $i = $sub86;
- while(1) {
- $83 = $i;
- $cmp88 = ($83|0)>=(0);
- if (!($cmp88)) {
- break;
- }
- $84 = $f;
- $85 = $i;
- $arrayidx91 = (($84) + ($85<<2)|0);
- $86 = +HEAPF32[$arrayidx91>>2];
- $87 = $f;
- $88 = $i;
- $add92 = (($88) + 1)|0;
- $arrayidx93 = (($87) + ($add92<<2)|0);
- $89 = +HEAPF32[$arrayidx93>>2];
- $add94 = $89 + 2.0;
- $90 = $bandLogE2$addr;
- $91 = $c;
- $92 = $nbEBands$addr;
- $mul95 = Math_imul($91, $92)|0;
- $93 = $i;
- $add96 = (($mul95) + ($93))|0;
- $arrayidx97 = (($90) + ($add96<<2)|0);
- $94 = +HEAPF32[$arrayidx97>>2];
- $cmp98 = $add94 < $94;
- if ($cmp98) {
- $95 = $f;
- $96 = $i;
- $add101 = (($96) + 1)|0;
- $arrayidx102 = (($95) + ($add101<<2)|0);
- $97 = +HEAPF32[$arrayidx102>>2];
- $add103 = $97 + 2.0;
- $cond109 = $add103;
- } else {
- $98 = $bandLogE2$addr;
- $99 = $c;
- $100 = $nbEBands$addr;
- $mul105 = Math_imul($99, $100)|0;
- $101 = $i;
- $add106 = (($mul105) + ($101))|0;
- $arrayidx107 = (($98) + ($add106<<2)|0);
- $102 = +HEAPF32[$arrayidx107>>2];
- $cond109 = $102;
- }
- $cmp110 = $86 < $cond109;
- $103 = $f;
- $104 = $i;
- do {
- if ($cmp110) {
- $arrayidx113 = (($103) + ($104<<2)|0);
- $105 = +HEAPF32[$arrayidx113>>2];
- $cond134 = $105;
- } else {
- $add115 = (($104) + 1)|0;
- $arrayidx116 = (($103) + ($add115<<2)|0);
- $106 = +HEAPF32[$arrayidx116>>2];
- $add117 = $106 + 2.0;
- $107 = $bandLogE2$addr;
- $108 = $c;
- $109 = $nbEBands$addr;
- $mul118 = Math_imul($108, $109)|0;
- $110 = $i;
- $add119 = (($mul118) + ($110))|0;
- $arrayidx120 = (($107) + ($add119<<2)|0);
- $111 = +HEAPF32[$arrayidx120>>2];
- $cmp121 = $add117 < $111;
- if ($cmp121) {
- $112 = $f;
- $113 = $i;
- $add124 = (($113) + 1)|0;
- $arrayidx125 = (($112) + ($add124<<2)|0);
- $114 = +HEAPF32[$arrayidx125>>2];
- $add126 = $114 + 2.0;
- $cond134 = $add126;
- break;
- } else {
- $115 = $bandLogE2$addr;
- $116 = $c;
- $117 = $nbEBands$addr;
- $mul128 = Math_imul($116, $117)|0;
- $118 = $i;
- $add129 = (($mul128) + ($118))|0;
- $arrayidx130 = (($115) + ($add129<<2)|0);
- $119 = +HEAPF32[$arrayidx130>>2];
- $cond134 = $119;
- break;
- }
- }
- } while(0);
- $120 = $f;
- $121 = $i;
- $arrayidx135 = (($120) + ($121<<2)|0);
- HEAPF32[$arrayidx135>>2] = $cond134;
- $122 = $i;
- $dec = (($122) + -1)|0;
- $i = $dec;
- }
- $offset = 1.0;
- $i = 2;
- while(1) {
- $123 = $i;
- $124 = $end$addr;
- $sub139 = (($124) - 2)|0;
- $cmp140 = ($123|0)<($sub139|0);
- if (!($cmp140)) {
- break;
- }
- $125 = $f;
- $126 = $i;
- $arrayidx143 = (($125) + ($126<<2)|0);
- $127 = +HEAPF32[$arrayidx143>>2];
- $128 = $bandLogE2$addr;
- $129 = $c;
- $130 = $nbEBands$addr;
- $mul144 = Math_imul($129, $130)|0;
- $131 = $i;
- $add145 = (($mul144) + ($131))|0;
- $sub146 = (($add145) - 2)|0;
- $arrayidx147 = (($128) + ($sub146<<2)|0);
- $call = (+_median_of_5($arrayidx147));
- $132 = $offset;
- $sub148 = $call - $132;
- $cmp149 = $127 > $sub148;
- if ($cmp149) {
- $133 = $f;
- $134 = $i;
- $arrayidx152 = (($133) + ($134<<2)|0);
- $135 = +HEAPF32[$arrayidx152>>2];
- $cond161 = $135;
- } else {
- $136 = $bandLogE2$addr;
- $137 = $c;
- $138 = $nbEBands$addr;
- $mul154 = Math_imul($137, $138)|0;
- $139 = $i;
- $add155 = (($mul154) + ($139))|0;
- $sub156 = (($add155) - 2)|0;
- $arrayidx157 = (($136) + ($sub156<<2)|0);
- $call158 = (+_median_of_5($arrayidx157));
- $140 = $offset;
- $sub159 = $call158 - $140;
- $cond161 = $sub159;
- }
- $141 = $f;
- $142 = $i;
- $arrayidx162 = (($141) + ($142<<2)|0);
- HEAPF32[$arrayidx162>>2] = $cond161;
- $143 = $i;
- $inc164 = (($143) + 1)|0;
- $i = $inc164;
- }
- $144 = $bandLogE2$addr;
- $145 = $c;
- $146 = $nbEBands$addr;
- $mul166 = Math_imul($145, $146)|0;
- $arrayidx167 = (($144) + ($mul166<<2)|0);
- $call168 = (+_median_of_3($arrayidx167));
- $147 = $offset;
- $sub169 = $call168 - $147;
- $tmp = $sub169;
- $148 = $f;
- $149 = +HEAPF32[$148>>2];
- $150 = $tmp;
- $cmp171 = $149 > $150;
- if ($cmp171) {
- $151 = $f;
- $152 = +HEAPF32[$151>>2];
- $cond177 = $152;
- } else {
- $153 = $tmp;
- $cond177 = $153;
- }
- $154 = $f;
- HEAPF32[$154>>2] = $cond177;
- $155 = $f;
- $arrayidx179 = ((($155)) + 4|0);
- $156 = +HEAPF32[$arrayidx179>>2];
- $157 = $tmp;
- $cmp180 = $156 > $157;
- if ($cmp180) {
- $158 = $f;
- $arrayidx183 = ((($158)) + 4|0);
- $159 = +HEAPF32[$arrayidx183>>2];
- $cond186 = $159;
- } else {
- $160 = $tmp;
- $cond186 = $160;
- }
- $161 = $f;
- $arrayidx187 = ((($161)) + 4|0);
- HEAPF32[$arrayidx187>>2] = $cond186;
- $162 = $bandLogE2$addr;
- $163 = $c;
- $164 = $nbEBands$addr;
- $mul188 = Math_imul($163, $164)|0;
- $165 = $end$addr;
- $add189 = (($mul188) + ($165))|0;
- $sub190 = (($add189) - 3)|0;
- $arrayidx191 = (($162) + ($sub190<<2)|0);
- $call192 = (+_median_of_3($arrayidx191));
- $166 = $offset;
- $sub193 = $call192 - $166;
- $tmp = $sub193;
- $167 = $f;
- $168 = $end$addr;
- $sub194 = (($168) - 2)|0;
- $arrayidx195 = (($167) + ($sub194<<2)|0);
- $169 = +HEAPF32[$arrayidx195>>2];
- $170 = $tmp;
- $cmp196 = $169 > $170;
- if ($cmp196) {
- $171 = $f;
- $172 = $end$addr;
- $sub199 = (($172) - 2)|0;
- $arrayidx200 = (($171) + ($sub199<<2)|0);
- $173 = +HEAPF32[$arrayidx200>>2];
- $cond203 = $173;
- } else {
- $174 = $tmp;
- $cond203 = $174;
- }
- $175 = $f;
- $176 = $end$addr;
- $sub204 = (($176) - 2)|0;
- $arrayidx205 = (($175) + ($sub204<<2)|0);
- HEAPF32[$arrayidx205>>2] = $cond203;
- $177 = $f;
- $178 = $end$addr;
- $sub206 = (($178) - 1)|0;
- $arrayidx207 = (($177) + ($sub206<<2)|0);
- $179 = +HEAPF32[$arrayidx207>>2];
- $180 = $tmp;
- $cmp208 = $179 > $180;
- if ($cmp208) {
- $181 = $f;
- $182 = $end$addr;
- $sub211 = (($182) - 1)|0;
- $arrayidx212 = (($181) + ($sub211<<2)|0);
- $183 = +HEAPF32[$arrayidx212>>2];
- $cond215 = $183;
- } else {
- $184 = $tmp;
- $cond215 = $184;
- }
- $185 = $f;
- $186 = $end$addr;
- $sub216 = (($186) - 1)|0;
- $arrayidx217 = (($185) + ($sub216<<2)|0);
- HEAPF32[$arrayidx217>>2] = $cond215;
- $i = 0;
- while(1) {
- $187 = $i;
- $188 = $end$addr;
- $cmp219 = ($187|0)<($188|0);
- if (!($cmp219)) {
- break;
- }
- $189 = $f;
- $190 = $i;
- $arrayidx222 = (($189) + ($190<<2)|0);
- $191 = +HEAPF32[$arrayidx222>>2];
- $192 = $i;
- $arrayidx223 = (($vla2) + ($192<<2)|0);
- $193 = +HEAPF32[$arrayidx223>>2];
- $cmp224 = $191 > $193;
- if ($cmp224) {
- $194 = $f;
- $195 = $i;
- $arrayidx227 = (($194) + ($195<<2)|0);
- $arrayidx229$sink = $arrayidx227;
- } else {
- $196 = $i;
- $arrayidx229 = (($vla2) + ($196<<2)|0);
- $arrayidx229$sink = $arrayidx229;
- }
- $197 = +HEAPF32[$arrayidx229$sink>>2];
- $198 = $f;
- $199 = $i;
- $arrayidx232 = (($198) + ($199<<2)|0);
- HEAPF32[$arrayidx232>>2] = $197;
- $200 = $i;
- $inc234 = (($200) + 1)|0;
- $i = $inc234;
- }
- $201 = $c;
- $inc237 = (($201) + 1)|0;
- $c = $inc237;
- $202 = $C$addr;
- $cmp238 = ($inc237|0)<($202|0);
- if (!($cmp238)) {
- break;
- }
- }
- $203 = $C$addr;
- $cmp241 = ($203|0)==(2);
- $204 = $start$addr;
- $i = $204;
- L80: do {
- if ($cmp241) {
- while(1) {
- $205 = $i;
- $206 = $end$addr;
- $cmp245 = ($205|0)<($206|0);
- if (!($cmp245)) {
- break L80;
- }
- $207 = $nbEBands$addr;
- $208 = $i;
- $add248 = (($207) + ($208))|0;
- $arrayidx249 = (($vla) + ($add248<<2)|0);
- $209 = +HEAPF32[$arrayidx249>>2];
- $210 = $i;
- $arrayidx250 = (($vla) + ($210<<2)|0);
- $211 = +HEAPF32[$arrayidx250>>2];
- $sub251 = $211 - 4.0;
- $cmp252 = $209 > $sub251;
- if ($cmp252) {
- $212 = $nbEBands$addr;
- $213 = $i;
- $add255 = (($212) + ($213))|0;
- $arrayidx256 = (($vla) + ($add255<<2)|0);
- $214 = +HEAPF32[$arrayidx256>>2];
- $cond261 = $214;
- } else {
- $215 = $i;
- $arrayidx258 = (($vla) + ($215<<2)|0);
- $216 = +HEAPF32[$arrayidx258>>2];
- $sub259 = $216 - 4.0;
- $cond261 = $sub259;
- }
- $217 = $nbEBands$addr;
- $218 = $i;
- $add262 = (($217) + ($218))|0;
- $arrayidx263 = (($vla) + ($add262<<2)|0);
- HEAPF32[$arrayidx263>>2] = $cond261;
- $219 = $i;
- $arrayidx264 = (($vla) + ($219<<2)|0);
- $220 = +HEAPF32[$arrayidx264>>2];
- $221 = $nbEBands$addr;
- $222 = $i;
- $add265 = (($221) + ($222))|0;
- $arrayidx266 = (($vla) + ($add265<<2)|0);
- $223 = +HEAPF32[$arrayidx266>>2];
- $sub267 = $223 - 4.0;
- $cmp268 = $220 > $sub267;
- if ($cmp268) {
- $224 = $i;
- $arrayidx271 = (($vla) + ($224<<2)|0);
- $225 = +HEAPF32[$arrayidx271>>2];
- $cond277 = $225;
- } else {
- $226 = $nbEBands$addr;
- $227 = $i;
- $add273 = (($226) + ($227))|0;
- $arrayidx274 = (($vla) + ($add273<<2)|0);
- $228 = +HEAPF32[$arrayidx274>>2];
- $sub275 = $228 - 4.0;
- $cond277 = $sub275;
- }
- $229 = $i;
- $arrayidx278 = (($vla) + ($229<<2)|0);
- HEAPF32[$arrayidx278>>2] = $cond277;
- $230 = $bandLogE$addr;
- $231 = $i;
- $arrayidx279 = (($230) + ($231<<2)|0);
- $232 = +HEAPF32[$arrayidx279>>2];
- $233 = $i;
- $arrayidx280 = (($vla) + ($233<<2)|0);
- $234 = +HEAPF32[$arrayidx280>>2];
- $sub281 = $232 - $234;
- $cmp282 = 0.0 > $sub281;
- if ($cmp282) {
- $cond290 = 0.0;
- } else {
- $235 = $bandLogE$addr;
- $236 = $i;
- $arrayidx286 = (($235) + ($236<<2)|0);
- $237 = +HEAPF32[$arrayidx286>>2];
- $238 = $i;
- $arrayidx287 = (($vla) + ($238<<2)|0);
- $239 = +HEAPF32[$arrayidx287>>2];
- $sub288 = $237 - $239;
- $cond290 = $sub288;
- }
- $240 = $bandLogE$addr;
- $241 = $nbEBands$addr;
- $242 = $i;
- $add291 = (($241) + ($242))|0;
- $arrayidx292 = (($240) + ($add291<<2)|0);
- $243 = +HEAPF32[$arrayidx292>>2];
- $244 = $nbEBands$addr;
- $245 = $i;
- $add293 = (($244) + ($245))|0;
- $arrayidx294 = (($vla) + ($add293<<2)|0);
- $246 = +HEAPF32[$arrayidx294>>2];
- $sub295 = $243 - $246;
- $cmp296 = 0.0 > $sub295;
- if ($cmp296) {
- $cond306 = 0.0;
- } else {
- $247 = $bandLogE$addr;
- $248 = $nbEBands$addr;
- $249 = $i;
- $add300 = (($248) + ($249))|0;
- $arrayidx301 = (($247) + ($add300<<2)|0);
- $250 = +HEAPF32[$arrayidx301>>2];
- $251 = $nbEBands$addr;
- $252 = $i;
- $add302 = (($251) + ($252))|0;
- $arrayidx303 = (($vla) + ($add302<<2)|0);
- $253 = +HEAPF32[$arrayidx303>>2];
- $sub304 = $250 - $253;
- $cond306 = $sub304;
- }
- $add307 = $cond290 + $cond306;
- $mul308 = 0.5 * $add307;
- $254 = $i;
- $arrayidx309 = (($vla) + ($254<<2)|0);
- HEAPF32[$arrayidx309>>2] = $mul308;
- $255 = $i;
- $inc311 = (($255) + 1)|0;
- $i = $inc311;
- }
- } else {
- while(1) {
- $256 = $i;
- $257 = $end$addr;
- $cmp314 = ($256|0)<($257|0);
- if (!($cmp314)) {
- break L80;
- }
- $258 = $bandLogE$addr;
- $259 = $i;
- $arrayidx317 = (($258) + ($259<<2)|0);
- $260 = +HEAPF32[$arrayidx317>>2];
- $261 = $i;
- $arrayidx318 = (($vla) + ($261<<2)|0);
- $262 = +HEAPF32[$arrayidx318>>2];
- $sub319 = $260 - $262;
- $cmp320 = 0.0 > $sub319;
- if ($cmp320) {
- $cond328 = 0.0;
- } else {
- $263 = $bandLogE$addr;
- $264 = $i;
- $arrayidx324 = (($263) + ($264<<2)|0);
- $265 = +HEAPF32[$arrayidx324>>2];
- $266 = $i;
- $arrayidx325 = (($vla) + ($266<<2)|0);
- $267 = +HEAPF32[$arrayidx325>>2];
- $sub326 = $265 - $267;
- $cond328 = $sub326;
- }
- $268 = $i;
- $arrayidx329 = (($vla) + ($268<<2)|0);
- HEAPF32[$arrayidx329>>2] = $cond328;
- $269 = $i;
- $inc331 = (($269) + 1)|0;
- $i = $inc331;
- }
- }
- } while(0);
- $270 = $start$addr;
- $i = $270;
- while(1) {
- $271 = $i;
- $272 = $end$addr;
- $cmp335 = ($271|0)<($272|0);
- if (!($cmp335)) {
- break;
- }
- $273 = $i;
- $arrayidx338 = (($vla) + ($273<<2)|0);
- $274 = +HEAPF32[$arrayidx338>>2];
- $275 = $surround_dynalloc$addr;
- $276 = $i;
- $arrayidx339 = (($275) + ($276<<2)|0);
- $277 = +HEAPF32[$arrayidx339>>2];
- $cmp340 = $274 > $277;
- if ($cmp340) {
- $278 = $i;
- $arrayidx343 = (($vla) + ($278<<2)|0);
- $arrayidx345$sink = $arrayidx343;
- } else {
- $279 = $surround_dynalloc$addr;
- $280 = $i;
- $arrayidx345 = (($279) + ($280<<2)|0);
- $arrayidx345$sink = $arrayidx345;
- }
- $281 = +HEAPF32[$arrayidx345$sink>>2];
- $282 = $i;
- $arrayidx348 = (($vla) + ($282<<2)|0);
- HEAPF32[$arrayidx348>>2] = $281;
- $283 = $i;
- $inc350 = (($283) + 1)|0;
- $i = $inc350;
- }
- $284 = $vbr$addr;
- $tobool352 = ($284|0)==(0);
- $285 = $constrained_vbr$addr;
- $tobool353 = ($285|0)!=(0);
- $or$cond2 = $tobool352 | $tobool353;
- $or$cond2$not = $or$cond2 ^ 1;
- $286 = $isTransient$addr;
- $tobool355 = ($286|0)!=(0);
- $or$cond3 = $or$cond2$not | $tobool355;
- L113: do {
- if (!($or$cond3)) {
- $287 = $start$addr;
- $i = $287;
- while(1) {
- $288 = $i;
- $289 = $end$addr;
- $cmp358 = ($288|0)<($289|0);
- if (!($cmp358)) {
- break L113;
- }
- $290 = $i;
- $arrayidx361 = (($vla) + ($290<<2)|0);
- $291 = +HEAPF32[$arrayidx361>>2];
- $mul362 = 0.5 * $291;
- $292 = $i;
- $arrayidx363 = (($vla) + ($292<<2)|0);
- HEAPF32[$arrayidx363>>2] = $mul362;
- $293 = $i;
- $inc365 = (($293) + 1)|0;
- $i = $inc365;
- }
- }
- } while(0);
- $294 = $start$addr;
- $i = $294;
- while(1) {
- $295 = $i;
- $296 = $end$addr;
- $cmp369 = ($295|0)<($296|0);
- if (!($cmp369)) {
- label = 103;
- break;
- }
- $297 = $i;
- $cmp372 = ($297|0)<(8);
- if ($cmp372) {
- $298 = $i;
- $arrayidx375 = (($vla) + ($298<<2)|0);
- $299 = +HEAPF32[$arrayidx375>>2];
- $mul376 = $299 * 2.0;
- HEAPF32[$arrayidx375>>2] = $mul376;
- }
- $300 = $i;
- $cmp378 = ($300|0)>=(12);
- if ($cmp378) {
- $301 = $i;
- $arrayidx381 = (($vla) + ($301<<2)|0);
- $302 = +HEAPF32[$arrayidx381>>2];
- $mul382 = 0.5 * $302;
- $303 = $i;
- $arrayidx383 = (($vla) + ($303<<2)|0);
- HEAPF32[$arrayidx383>>2] = $mul382;
- }
- $304 = $i;
- $arrayidx385 = (($vla) + ($304<<2)|0);
- $305 = +HEAPF32[$arrayidx385>>2];
- $cmp386 = $305 < 4.0;
- if ($cmp386) {
- $306 = $i;
- $arrayidx389 = (($vla) + ($306<<2)|0);
- $307 = +HEAPF32[$arrayidx389>>2];
- $cond392 = $307;
- } else {
- $cond392 = 4.0;
- }
- $308 = $i;
- $arrayidx393 = (($vla) + ($308<<2)|0);
- HEAPF32[$arrayidx393>>2] = $cond392;
- $309 = $C$addr;
- $310 = $eBands$addr;
- $311 = $i;
- $add394 = (($311) + 1)|0;
- $arrayidx395 = (($310) + ($add394<<1)|0);
- $312 = HEAP16[$arrayidx395>>1]|0;
- $conv396 = $312 << 16 >> 16;
- $313 = $eBands$addr;
- $314 = $i;
- $arrayidx397 = (($313) + ($314<<1)|0);
- $315 = HEAP16[$arrayidx397>>1]|0;
- $conv398 = $315 << 16 >> 16;
- $sub399 = (($conv396) - ($conv398))|0;
- $mul400 = Math_imul($309, $sub399)|0;
- $316 = $LM$addr;
- $shl = $mul400 << $316;
- $width = $shl;
- $317 = $width;
- $cmp401 = ($317|0)<(6);
- do {
- if ($cmp401) {
- $318 = $i;
- $arrayidx404 = (($vla) + ($318<<2)|0);
- $319 = +HEAPF32[$arrayidx404>>2];
- $conv405 = (~~(($319)));
- $boost = $conv405;
- $320 = $boost;
- $321 = $width;
- $mul406 = Math_imul($320, $321)|0;
- $shl407 = $mul406 << 3;
- $boost_bits = $shl407;
- } else {
- $322 = $width;
- $cmp409 = ($322|0)>(48);
- $323 = $i;
- $arrayidx412 = (($vla) + ($323<<2)|0);
- $324 = +HEAPF32[$arrayidx412>>2];
- if ($cmp409) {
- $mul413 = $324 * 8.0;
- $conv414 = (~~(($mul413)));
- $boost = $conv414;
- $325 = $boost;
- $326 = $width;
- $mul415 = Math_imul($325, $326)|0;
- $shl416 = $mul415 << 3;
- $div = (($shl416|0) / 8)&-1;
- $boost_bits = $div;
- break;
- } else {
- $327 = $width;
- $conv419 = (+($327|0));
- $mul420 = $324 * $conv419;
- $div421 = $mul420 / 6.0;
- $conv422 = (~~(($div421)));
- $boost = $conv422;
- $328 = $boost;
- $mul423 = ($328*6)|0;
- $shl424 = $mul423 << 3;
- $boost_bits = $shl424;
- break;
- }
- }
- } while(0);
- $329 = $vbr$addr;
- $tobool427 = ($329|0)!=(0);
- if ($tobool427) {
- $330 = $constrained_vbr$addr;
- $tobool429 = ($330|0)==(0);
- $331 = $isTransient$addr;
- $tobool431 = ($331|0)!=(0);
- $or$cond4 = $tobool429 | $tobool431;
- if (!($or$cond4)) {
- label = 100;
- }
- } else {
- label = 100;
- }
- if ((label|0) == 100) {
- label = 0;
- $332 = $tot_boost;
- $333 = $boost_bits;
- $add433 = (($332) + ($333))|0;
- $shr = $add433 >> 3;
- $shr434 = $shr >> 3;
- $334 = $effectiveBytes$addr;
- $div435 = (($334|0) / 4)&-1;
- $cmp436 = ($shr434|0)>($div435|0);
- if ($cmp436) {
- break;
- }
- }
- $341 = $boost;
- $342 = $offsets$addr;
- $343 = $i;
- $arrayidx445 = (($342) + ($343<<2)|0);
- HEAP32[$arrayidx445>>2] = $341;
- $344 = $boost_bits;
- $345 = $tot_boost;
- $add446 = (($345) + ($344))|0;
- $tot_boost = $add446;
- $346 = $i;
- $inc449 = (($346) + 1)|0;
- $i = $inc449;
- }
- if ((label|0) == 103) {
- $347 = $tot_boost;
- $348 = $tot_boost_$addr;
- HEAP32[$348>>2] = $347;
- $349 = $maxDepth;
- $350 = $saved_stack;
- _llvm_stackrestore(($350|0));
- STACKTOP = sp;return (+$349);
- }
- $335 = $effectiveBytes$addr;
- $div439 = (($335|0) / 4)&-1;
- $shl440 = $div439 << 3;
- $shl441 = $shl440 << 3;
- $cap = $shl441;
- $336 = $cap;
- $337 = $tot_boost;
- $sub442 = (($336) - ($337))|0;
- $338 = $offsets$addr;
- $339 = $i;
- $arrayidx443 = (($338) + ($339<<2)|0);
- HEAP32[$arrayidx443>>2] = $sub442;
- $340 = $cap;
- $tot_boost = $340;
- $347 = $tot_boost;
- $348 = $tot_boost_$addr;
- HEAP32[$348>>2] = $347;
- $349 = $maxDepth;
- $350 = $saved_stack;
- _llvm_stackrestore(($350|0));
- STACKTOP = sp;return (+$349);
-}
-function _stereo_analysis($m,$X,$LM,$N0) {
- $m = $m|0;
- $X = $X|0;
- $LM = $LM|0;
- $N0 = $N0|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $L = 0.0, $LM$addr = 0, $M = 0.0, $N0$addr = 0, $R = 0.0, $S = 0.0, $X$addr = 0, $add = 0, $add10 = 0, $add12 = 0.0, $add18 = 0.0, $add19 = 0.0, $add26 = 0.0, $add27 = 0.0, $add37 = 0;
- var $add39 = 0, $add45 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx3 = 0, $arrayidx35 = 0, $arrayidx43 = 0, $arrayidx9 = 0, $call = 0.0, $call16 = 0.0, $call21 = 0.0, $call24 = 0.0, $cmp = 0, $cmp31 = 0, $cmp49 = 0, $cmp6 = 0, $conv = 0, $conv13 = 0.0, $conv14 = 0.0, $conv15 = 0.0;
- var $conv17 = 0.0, $conv20 = 0.0, $conv22 = 0.0, $conv23 = 0.0, $conv25 = 0.0, $conv36 = 0, $conv4 = 0, $conv40 = 0.0, $conv44 = 0, $conv47 = 0.0, $conv50 = 0, $eBands = 0, $eBands2 = 0, $eBands34 = 0, $eBands42 = 0, $i = 0, $inc = 0, $inc29 = 0, $j = 0, $m$addr = 0;
- var $mul = 0.0, $mul41 = 0.0, $mul48 = 0.0, $shl = 0, $shl38 = 0, $shl46 = 0, $shl5 = 0, $sub = 0.0, $sub33 = 0, $sumLR = 0.0, $sumMS = 0.0, $thetas = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $m$addr = $m;
- $X$addr = $X;
- $LM$addr = $LM;
- $N0$addr = $N0;
- $sumLR = 1.0000000036274937E-15;
- $sumMS = 1.0000000036274937E-15;
- $i = 0;
- while(1) {
- $0 = $i;
- $cmp = ($0|0)<(13);
- if (!($cmp)) {
- break;
- }
- $1 = $m$addr;
- $eBands = ((($1)) + 32|0);
- $2 = HEAP32[$eBands>>2]|0;
- $3 = $i;
- $arrayidx = (($2) + ($3<<1)|0);
- $4 = HEAP16[$arrayidx>>1]|0;
- $conv = $4 << 16 >> 16;
- $5 = $LM$addr;
- $shl = $conv << $5;
- $j = $shl;
- while(1) {
- $6 = $j;
- $7 = $m$addr;
- $eBands2 = ((($7)) + 32|0);
- $8 = HEAP32[$eBands2>>2]|0;
- $9 = $i;
- $add = (($9) + 1)|0;
- $arrayidx3 = (($8) + ($add<<1)|0);
- $10 = HEAP16[$arrayidx3>>1]|0;
- $conv4 = $10 << 16 >> 16;
- $11 = $LM$addr;
- $shl5 = $conv4 << $11;
- $cmp6 = ($6|0)<($shl5|0);
- if (!($cmp6)) {
- break;
- }
- $12 = $X$addr;
- $13 = $j;
- $arrayidx9 = (($12) + ($13<<2)|0);
- $14 = +HEAPF32[$arrayidx9>>2];
- $L = $14;
- $15 = $X$addr;
- $16 = $N0$addr;
- $17 = $j;
- $add10 = (($16) + ($17))|0;
- $arrayidx11 = (($15) + ($add10<<2)|0);
- $18 = +HEAPF32[$arrayidx11>>2];
- $R = $18;
- $19 = $L;
- $20 = $R;
- $add12 = $19 + $20;
- $M = $add12;
- $21 = $L;
- $22 = $R;
- $sub = $21 - $22;
- $S = $sub;
- $23 = $sumLR;
- $24 = $L;
- $conv13 = $24;
- $call = (+Math_abs((+$conv13)));
- $conv14 = $call;
- $25 = $R;
- $conv15 = $25;
- $call16 = (+Math_abs((+$conv15)));
- $conv17 = $call16;
- $add18 = $conv14 + $conv17;
- $add19 = $23 + $add18;
- $sumLR = $add19;
- $26 = $sumMS;
- $27 = $M;
- $conv20 = $27;
- $call21 = (+Math_abs((+$conv20)));
- $conv22 = $call21;
- $28 = $S;
- $conv23 = $28;
- $call24 = (+Math_abs((+$conv23)));
- $conv25 = $call24;
- $add26 = $conv22 + $conv25;
- $add27 = $26 + $add26;
- $sumMS = $add27;
- $29 = $j;
- $inc = (($29) + 1)|0;
- $j = $inc;
- }
- $30 = $i;
- $inc29 = (($30) + 1)|0;
- $i = $inc29;
- }
- $31 = $sumMS;
- $mul = 0.70710700750350952 * $31;
- $sumMS = $mul;
- $thetas = 13;
- $32 = $LM$addr;
- $cmp31 = ($32|0)<=(1);
- if ($cmp31) {
- $33 = $thetas;
- $sub33 = (($33) - 8)|0;
- $thetas = $sub33;
- }
- $34 = $m$addr;
- $eBands34 = ((($34)) + 32|0);
- $35 = HEAP32[$eBands34>>2]|0;
- $arrayidx35 = ((($35)) + 26|0);
- $36 = HEAP16[$arrayidx35>>1]|0;
- $conv36 = $36 << 16 >> 16;
- $37 = $LM$addr;
- $add37 = (($37) + 1)|0;
- $shl38 = $conv36 << $add37;
- $38 = $thetas;
- $add39 = (($shl38) + ($38))|0;
- $conv40 = (+($add39|0));
- $39 = $sumMS;
- $mul41 = $conv40 * $39;
- $40 = $m$addr;
- $eBands42 = ((($40)) + 32|0);
- $41 = HEAP32[$eBands42>>2]|0;
- $arrayidx43 = ((($41)) + 26|0);
- $42 = HEAP16[$arrayidx43>>1]|0;
- $conv44 = $42 << 16 >> 16;
- $43 = $LM$addr;
- $add45 = (($43) + 1)|0;
- $shl46 = $conv44 << $add45;
- $conv47 = (+($shl46|0));
- $44 = $sumLR;
- $mul48 = $conv47 * $44;
- $cmp49 = $mul41 > $mul48;
- $conv50 = $cmp49&1;
- STACKTOP = sp;return ($conv50|0);
-}
-function _alloc_trim_analysis($m,$X,$bandLogE,$end,$LM,$C,$N0,$analysis,$stereo_saving,$tf_estimate,$intensity,$surround_trim,$arch) {
- $m = $m|0;
- $X = $X|0;
- $bandLogE = $bandLogE|0;
- $end = $end|0;
- $LM = $LM|0;
- $C = $C|0;
- $N0 = $N0|0;
- $analysis = $analysis|0;
- $stereo_saving = $stereo_saving|0;
- $tf_estimate = +$tf_estimate;
- $intensity = $intensity|0;
- $surround_trim = +$surround_trim;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0, $113 = 0.0, $114 = 0, $115 = 0.0;
- var $116 = 0.0, $117 = 0.0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
- var $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
- var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0;
- var $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0, $77 = 0.0, $78 = 0.0;
- var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0, $89 = 0, $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0.0;
- var $97 = 0.0, $98 = 0.0, $99 = 0.0, $C$addr = 0, $LM$addr = 0, $N0$addr = 0, $X$addr = 0, $add = 0, $add112 = 0.0, $add113 = 0.0, $add119 = 0.0, $add131 = 0, $add134 = 0, $add138 = 0.0, $add148 = 0.0, $add154 = 0.0, $add16 = 0.0, $add162 = 0.0, $add168 = 0.0, $add179 = 0.0;
- var $add186 = 0.0, $add195 = 0.0, $add202 = 0.0, $add210 = 0.0, $add39 = 0, $add42 = 0, $add9 = 0, $analysis$addr = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx132 = 0, $arrayidx2 = 0, $arrayidx31 = 0, $arrayidx34 = 0, $arrayidx36 = 0, $arrayidx4 = 0, $arrayidx40 = 0, $arrayidx43 = 0;
- var $arrayidx46 = 0, $arrayidx7 = 0, $bandLogE$addr = 0, $c = 0, $call = 0.0, $call18 = 0.0, $call212 = 0.0, $call23 = 0.0, $call50 = 0.0, $call52 = 0.0, $call59 = 0.0, $call67 = 0.0, $call74 = 0.0, $call81 = 0.0, $call88 = 0.0, $call99 = 0.0, $cmp = 0, $cmp1 = 0, $cmp105 = 0, $cmp116 = 0;
- var $cmp127 = 0, $cmp143 = 0, $cmp150 = 0, $cmp158 = 0, $cmp164 = 0, $cmp181 = 0, $cmp190 = 0, $cmp197 = 0, $cmp20 = 0, $cmp214 = 0, $cmp220 = 0, $cmp224 = 0, $cmp26 = 0, $cmp54 = 0, $cmp69 = 0, $cmp91 = 0, $cond = 0.0, $cond103 = 0.0, $cond111 = 0.0, $cond124 = 0.0;
- var $cond157 = 0.0, $cond173 = 0.0, $cond189 = 0.0, $cond207 = 0.0, $cond219 = 0, $cond229 = 0, $cond231 = 0, $cond62 = 0.0, $cond77 = 0.0, $conv = 0, $conv101 = 0.0, $conv11 = 0, $conv136 = 0.0, $conv14 = 0, $conv147 = 0.0, $conv17 = 0.0, $conv19 = 0.0, $conv211 = 0.0, $conv213 = 0, $conv22 = 0.0;
- var $conv24 = 0.0, $conv32 = 0, $conv37 = 0, $conv44 = 0, $conv47 = 0, $conv5 = 0, $conv51 = 0.0, $conv53 = 0.0, $conv58 = 0.0, $conv60 = 0.0, $conv66 = 0.0, $conv68 = 0.0, $conv73 = 0.0, $conv75 = 0.0, $conv80 = 0.0, $conv83 = 0.0, $conv87 = 0.0, $conv90 = 0.0, $conv98 = 0.0, $diff = 0.0;
- var $div = 0.0, $div149 = 0.0, $div155 = 0.0, $div163 = 0.0, $div169 = 0.0, $eBands = 0, $eBands12 = 0, $eBands3 = 0, $eBands30 = 0, $eBands35 = 0, $eBands41 = 0, $eBands45 = 0, $eBands8 = 0, $end$addr = 0, $i = 0, $inc = 0, $inc140 = 0, $inc142 = 0, $inc64 = 0, $intensity$addr = 0;
- var $logXC = 0.0, $logXC2 = 0.0, $m$addr = 0, $minXC = 0.0, $mul = 0.0, $mul100 = 0.0, $mul104 = 0.0, $mul109 = 0.0, $mul114 = 0.0, $mul121 = 0.0, $mul130 = 0, $mul133 = 0, $mul137 = 0.0, $mul146 = 0, $mul176 = 0.0, $mul180 = 0.0, $mul187 = 0.0, $mul196 = 0.0, $mul203 = 0.0, $mul78 = 0.0;
- var $mul82 = 0.0, $mul84 = 0.0, $mul85 = 0.0, $mul89 = 0.0, $mul94 = 0.0, $mul96 = 0.0, $nbEBands = 0, $partial = 0.0, $partial29 = 0.0, $shl = 0, $shl15 = 0, $shl33 = 0, $shl38 = 0, $shl49 = 0, $shl6 = 0, $stereo_saving$addr = 0, $sub = 0, $sub115 = 0.0, $sub122 = 0.0, $sub126 = 0;
- var $sub135 = 0, $sub145 = 0, $sub174 = 0.0, $sub175 = 0.0, $sub177 = 0.0, $sub208 = 0.0, $sub48 = 0, $sub79 = 0.0, $sub86 = 0.0, $sub97 = 0.0, $sum = 0.0, $surround_trim$addr = 0.0, $tf_estimate$addr = 0.0, $tobool = 0, $tonality_slope = 0, $tonality_slope185 = 0, $tonality_slope194 = 0, $tonality_slope201 = 0, $trim = 0.0, $trim_index = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $m$addr = $m;
- $X$addr = $X;
- $bandLogE$addr = $bandLogE;
- $end$addr = $end;
- $LM$addr = $LM;
- $C$addr = $C;
- $N0$addr = $N0;
- $analysis$addr = $analysis;
- $stereo_saving$addr = $stereo_saving;
- $tf_estimate$addr = $tf_estimate;
- $intensity$addr = $intensity;
- $surround_trim$addr = $surround_trim;
- $arch$addr = $arch;
- $diff = 0.0;
- $trim = 5.0;
- $0 = $C$addr;
- $cmp = ($0|0)==(2);
- if ($cmp) {
- $sum = 0.0;
- $i = 0;
- while(1) {
- $1 = $i;
- $cmp1 = ($1|0)<(8);
- if (!($cmp1)) {
- break;
- }
- $2 = $X$addr;
- $3 = $m$addr;
- $eBands = ((($3)) + 32|0);
- $4 = HEAP32[$eBands>>2]|0;
- $5 = $i;
- $arrayidx = (($4) + ($5<<1)|0);
- $6 = HEAP16[$arrayidx>>1]|0;
- $conv = $6 << 16 >> 16;
- $7 = $LM$addr;
- $shl = $conv << $7;
- $arrayidx2 = (($2) + ($shl<<2)|0);
- $8 = $X$addr;
- $9 = $N0$addr;
- $10 = $m$addr;
- $eBands3 = ((($10)) + 32|0);
- $11 = HEAP32[$eBands3>>2]|0;
- $12 = $i;
- $arrayidx4 = (($11) + ($12<<1)|0);
- $13 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $13 << 16 >> 16;
- $14 = $LM$addr;
- $shl6 = $conv5 << $14;
- $add = (($9) + ($shl6))|0;
- $arrayidx7 = (($8) + ($add<<2)|0);
- $15 = $m$addr;
- $eBands8 = ((($15)) + 32|0);
- $16 = HEAP32[$eBands8>>2]|0;
- $17 = $i;
- $add9 = (($17) + 1)|0;
- $arrayidx10 = (($16) + ($add9<<1)|0);
- $18 = HEAP16[$arrayidx10>>1]|0;
- $conv11 = $18 << 16 >> 16;
- $19 = $m$addr;
- $eBands12 = ((($19)) + 32|0);
- $20 = HEAP32[$eBands12>>2]|0;
- $21 = $i;
- $arrayidx13 = (($20) + ($21<<1)|0);
- $22 = HEAP16[$arrayidx13>>1]|0;
- $conv14 = $22 << 16 >> 16;
- $sub = (($conv11) - ($conv14))|0;
- $23 = $LM$addr;
- $shl15 = $sub << $23;
- $call = (+_celt_inner_prod_c_51($arrayidx2,$arrayidx7,$shl15));
- $partial = $call;
- $24 = $sum;
- $25 = $partial;
- $add16 = $24 + $25;
- $sum = $add16;
- $26 = $i;
- $inc = (($26) + 1)|0;
- $i = $inc;
- }
- $27 = $sum;
- $mul = 0.125 * $27;
- $sum = $mul;
- $28 = $sum;
- $conv17 = $28;
- $call18 = (+Math_abs((+$conv17)));
- $conv19 = $call18;
- $cmp20 = 1.0 < $conv19;
- if ($cmp20) {
- $cond = 1.0;
- } else {
- $29 = $sum;
- $conv22 = $29;
- $call23 = (+Math_abs((+$conv22)));
- $conv24 = $call23;
- $cond = $conv24;
- }
- $sum = $cond;
- $30 = $sum;
- $minXC = $30;
- $i = 8;
- while(1) {
- $31 = $i;
- $32 = $intensity$addr;
- $cmp26 = ($31|0)<($32|0);
- if (!($cmp26)) {
- break;
- }
- $33 = $X$addr;
- $34 = $m$addr;
- $eBands30 = ((($34)) + 32|0);
- $35 = HEAP32[$eBands30>>2]|0;
- $36 = $i;
- $arrayidx31 = (($35) + ($36<<1)|0);
- $37 = HEAP16[$arrayidx31>>1]|0;
- $conv32 = $37 << 16 >> 16;
- $38 = $LM$addr;
- $shl33 = $conv32 << $38;
- $arrayidx34 = (($33) + ($shl33<<2)|0);
- $39 = $X$addr;
- $40 = $N0$addr;
- $41 = $m$addr;
- $eBands35 = ((($41)) + 32|0);
- $42 = HEAP32[$eBands35>>2]|0;
- $43 = $i;
- $arrayidx36 = (($42) + ($43<<1)|0);
- $44 = HEAP16[$arrayidx36>>1]|0;
- $conv37 = $44 << 16 >> 16;
- $45 = $LM$addr;
- $shl38 = $conv37 << $45;
- $add39 = (($40) + ($shl38))|0;
- $arrayidx40 = (($39) + ($add39<<2)|0);
- $46 = $m$addr;
- $eBands41 = ((($46)) + 32|0);
- $47 = HEAP32[$eBands41>>2]|0;
- $48 = $i;
- $add42 = (($48) + 1)|0;
- $arrayidx43 = (($47) + ($add42<<1)|0);
- $49 = HEAP16[$arrayidx43>>1]|0;
- $conv44 = $49 << 16 >> 16;
- $50 = $m$addr;
- $eBands45 = ((($50)) + 32|0);
- $51 = HEAP32[$eBands45>>2]|0;
- $52 = $i;
- $arrayidx46 = (($51) + ($52<<1)|0);
- $53 = HEAP16[$arrayidx46>>1]|0;
- $conv47 = $53 << 16 >> 16;
- $sub48 = (($conv44) - ($conv47))|0;
- $54 = $LM$addr;
- $shl49 = $sub48 << $54;
- $call50 = (+_celt_inner_prod_c_51($arrayidx34,$arrayidx40,$shl49));
- $partial29 = $call50;
- $55 = $minXC;
- $56 = $partial29;
- $conv51 = $56;
- $call52 = (+Math_abs((+$conv51)));
- $conv53 = $call52;
- $cmp54 = $55 < $conv53;
- if ($cmp54) {
- $57 = $minXC;
- $cond62 = $57;
- } else {
- $58 = $partial29;
- $conv58 = $58;
- $call59 = (+Math_abs((+$conv58)));
- $conv60 = $call59;
- $cond62 = $conv60;
- }
- $minXC = $cond62;
- $59 = $i;
- $inc64 = (($59) + 1)|0;
- $i = $inc64;
- }
- $60 = $minXC;
- $conv66 = $60;
- $call67 = (+Math_abs((+$conv66)));
- $conv68 = $call67;
- $cmp69 = 1.0 < $conv68;
- if ($cmp69) {
- $cond77 = 1.0;
- } else {
- $61 = $minXC;
- $conv73 = $61;
- $call74 = (+Math_abs((+$conv73)));
- $conv75 = $call74;
- $cond77 = $conv75;
- }
- $minXC = $cond77;
- $62 = $sum;
- $63 = $sum;
- $mul78 = $62 * $63;
- $sub79 = 1.0010000467300415 - $mul78;
- $conv80 = $sub79;
- $call81 = (+Math_log((+$conv80)));
- $mul82 = 1.4426950408889634 * $call81;
- $conv83 = $mul82;
- $logXC = $conv83;
- $64 = $logXC;
- $mul84 = 0.5 * $64;
- $65 = $minXC;
- $66 = $minXC;
- $mul85 = $65 * $66;
- $sub86 = 1.0010000467300415 - $mul85;
- $conv87 = $sub86;
- $call88 = (+Math_log((+$conv87)));
- $mul89 = 1.4426950408889634 * $call88;
- $conv90 = $mul89;
- $cmp91 = $mul84 > $conv90;
- if ($cmp91) {
- $67 = $logXC;
- $mul94 = 0.5 * $67;
- $cond103 = $mul94;
- } else {
- $68 = $minXC;
- $69 = $minXC;
- $mul96 = $68 * $69;
- $sub97 = 1.0010000467300415 - $mul96;
- $conv98 = $sub97;
- $call99 = (+Math_log((+$conv98)));
- $mul100 = 1.4426950408889634 * $call99;
- $conv101 = $mul100;
- $cond103 = $conv101;
- }
- $logXC2 = $cond103;
- $70 = $logXC;
- $mul104 = 0.75 * $70;
- $cmp105 = -4.0 > $mul104;
- $71 = $logXC;
- $mul109 = 0.75 * $71;
- $cond111 = $cmp105 ? -4.0 : $mul109;
- $72 = $trim;
- $add112 = $72 + $cond111;
- $trim = $add112;
- $73 = $stereo_saving$addr;
- $74 = +HEAPF32[$73>>2];
- $add113 = $74 + 0.25;
- $75 = $logXC2;
- $mul114 = 0.5 * $75;
- $sub115 = - $mul114;
- $cmp116 = $add113 < $sub115;
- if ($cmp116) {
- $76 = $stereo_saving$addr;
- $77 = +HEAPF32[$76>>2];
- $add119 = $77 + 0.25;
- $cond124 = $add119;
- } else {
- $78 = $logXC2;
- $mul121 = 0.5 * $78;
- $sub122 = - $mul121;
- $cond124 = $sub122;
- }
- $79 = $stereo_saving$addr;
- HEAPF32[$79>>2] = $cond124;
- }
- $c = 0;
- while(1) {
- $i = 0;
- while(1) {
- $80 = $i;
- $81 = $end$addr;
- $sub126 = (($81) - 1)|0;
- $cmp127 = ($80|0)<($sub126|0);
- if (!($cmp127)) {
- break;
- }
- $82 = $bandLogE$addr;
- $83 = $i;
- $84 = $c;
- $85 = $m$addr;
- $nbEBands = ((($85)) + 8|0);
- $86 = HEAP32[$nbEBands>>2]|0;
- $mul130 = Math_imul($84, $86)|0;
- $add131 = (($83) + ($mul130))|0;
- $arrayidx132 = (($82) + ($add131<<2)|0);
- $87 = +HEAPF32[$arrayidx132>>2];
- $88 = $i;
- $mul133 = $88<<1;
- $add134 = (2 + ($mul133))|0;
- $89 = $end$addr;
- $sub135 = (($add134) - ($89))|0;
- $conv136 = (+($sub135|0));
- $mul137 = $87 * $conv136;
- $90 = $diff;
- $add138 = $90 + $mul137;
- $diff = $add138;
- $91 = $i;
- $inc140 = (($91) + 1)|0;
- $i = $inc140;
- }
- $92 = $c;
- $inc142 = (($92) + 1)|0;
- $c = $inc142;
- $93 = $C$addr;
- $cmp143 = ($inc142|0)<($93|0);
- if (!($cmp143)) {
- break;
- }
- }
- $94 = $C$addr;
- $95 = $end$addr;
- $sub145 = (($95) - 1)|0;
- $mul146 = Math_imul($94, $sub145)|0;
- $conv147 = (+($mul146|0));
- $96 = $diff;
- $div = $96 / $conv147;
- $diff = $div;
- $97 = $diff;
- $add148 = $97 + 1.0;
- $div149 = $add148 / 6.0;
- $cmp150 = 2.0 < $div149;
- if ($cmp150) {
- $cond157 = 2.0;
- } else {
- $98 = $diff;
- $add154 = $98 + 1.0;
- $div155 = $add154 / 6.0;
- $cond157 = $div155;
- }
- $cmp158 = -2.0 > $cond157;
- if ($cmp158) {
- $cond173 = -2.0;
- } else {
- $99 = $diff;
- $add162 = $99 + 1.0;
- $div163 = $add162 / 6.0;
- $cmp164 = 2.0 < $div163;
- if ($cmp164) {
- $cond173 = 2.0;
- } else {
- $100 = $diff;
- $add168 = $100 + 1.0;
- $div169 = $add168 / 6.0;
- $cond173 = $div169;
- }
- }
- $101 = $trim;
- $sub174 = $101 - $cond173;
- $trim = $sub174;
- $102 = $surround_trim$addr;
- $103 = $trim;
- $sub175 = $103 - $102;
- $trim = $sub175;
- $104 = $tf_estimate$addr;
- $mul176 = 2.0 * $104;
- $105 = $trim;
- $sub177 = $105 - $mul176;
- $trim = $sub177;
- $106 = $analysis$addr;
- $107 = HEAP32[$106>>2]|0;
- $tobool = ($107|0)!=(0);
- if ($tobool) {
- $108 = $analysis$addr;
- $tonality_slope = ((($108)) + 8|0);
- $109 = +HEAPF32[$tonality_slope>>2];
- $add179 = $109 + 0.05000000074505806;
- $mul180 = 2.0 * $add179;
- $cmp181 = 2.0 < $mul180;
- if ($cmp181) {
- $cond189 = 2.0;
- } else {
- $110 = $analysis$addr;
- $tonality_slope185 = ((($110)) + 8|0);
- $111 = +HEAPF32[$tonality_slope185>>2];
- $add186 = $111 + 0.05000000074505806;
- $mul187 = 2.0 * $add186;
- $cond189 = $mul187;
- }
- $cmp190 = -2.0 > $cond189;
- if ($cmp190) {
- $cond207 = -2.0;
- } else {
- $112 = $analysis$addr;
- $tonality_slope194 = ((($112)) + 8|0);
- $113 = +HEAPF32[$tonality_slope194>>2];
- $add195 = $113 + 0.05000000074505806;
- $mul196 = 2.0 * $add195;
- $cmp197 = 2.0 < $mul196;
- if ($cmp197) {
- $cond207 = 2.0;
- } else {
- $114 = $analysis$addr;
- $tonality_slope201 = ((($114)) + 8|0);
- $115 = +HEAPF32[$tonality_slope201>>2];
- $add202 = $115 + 0.05000000074505806;
- $mul203 = 2.0 * $add202;
- $cond207 = $mul203;
- }
- }
- $116 = $trim;
- $sub208 = $116 - $cond207;
- $trim = $sub208;
- }
- $117 = $trim;
- $add210 = 0.5 + $117;
- $conv211 = $add210;
- $call212 = (+Math_floor((+$conv211)));
- $conv213 = (~~(($call212)));
- $trim_index = $conv213;
- $118 = $trim_index;
- $cmp214 = (10)<($118|0);
- $119 = $trim_index;
- $cond219 = $cmp214 ? 10 : $119;
- $cmp220 = (0)>($cond219|0);
- if ($cmp220) {
- $cond231 = 0;
- $trim_index = $cond231;
- $122 = $trim_index;
- STACKTOP = sp;return ($122|0);
- }
- $120 = $trim_index;
- $cmp224 = (10)<($120|0);
- $121 = $trim_index;
- $cond229 = $cmp224 ? 10 : $121;
- $cond231 = $cond229;
- $trim_index = $cond231;
- $122 = $trim_index;
- STACKTOP = sp;return ($122|0);
-}
-function _compute_vbr($mode,$analysis,$base_target,$LM,$bitrate,$lastCodedBands,$C,$intensity,$constrained_vbr,$stereo_saving,$tot_boost,$tf_estimate,$pitch_change,$maxDepth,$variable_duration,$lfe,$has_surround_mask,$surround_masking,$temporal_vbr) {
- $mode = $mode|0;
- $analysis = $analysis|0;
- $base_target = $base_target|0;
- $LM = $LM|0;
- $bitrate = $bitrate|0;
- $lastCodedBands = $lastCodedBands|0;
- $C = $C|0;
- $intensity = $intensity|0;
- $constrained_vbr = $constrained_vbr|0;
- $stereo_saving = +$stereo_saving;
- $tot_boost = $tot_boost|0;
- $tf_estimate = +$tf_estimate;
- $pitch_change = $pitch_change|0;
- $maxDepth = +$maxDepth;
- $variable_duration = $variable_duration|0;
- $lfe = $lfe|0;
- $has_surround_mask = $has_surround_mask|0;
- $surround_masking = +$surround_masking;
- $temporal_vbr = +$temporal_vbr;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0.0, $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0;
- var $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0;
- var $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0;
- var $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0.0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0;
- var $75 = 0, $76 = 0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0;
- var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $C$addr = 0, $LM$addr = 0, $activity = 0, $activity20 = 0, $add = 0, $add105 = 0, $add116 = 0, $add181 = 0, $add216 = 0, $add69 = 0, $add77 = 0, $add98 = 0, $amount = 0.0;
- var $analysis$addr = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx127 = 0, $arrayidx33 = 0, $base_target$addr = 0, $bins = 0, $bitrate$addr = 0, $cmp = 0, $cmp118 = 0, $cmp135 = 0, $cmp142 = 0, $cmp15 = 0, $cmp153 = 0, $cmp159 = 0, $cmp170 = 0, $cmp185 = 0, $cmp189 = 0, $cmp196 = 0, $cmp201 = 0;
- var $cmp219 = 0, $cmp24 = 0, $cmp27 = 0, $cmp4 = 0, $cmp40 = 0, $cmp52 = 0, $cmp70 = 0, $cmp84 = 0, $coded_bands = 0, $coded_bins = 0, $coded_stereo_bands = 0, $coded_stereo_dof = 0, $cond = 0, $cond124 = 0, $cond141 = 0, $cond147 = 0, $cond167 = 0.0, $cond175 = 0.0, $cond195 = 0, $cond207 = 0;
- var $cond209 = 0, $cond225 = 0, $cond32 = 0, $cond45 = 0.0, $cond72 = 0.0, $cond9 = 0, $cond91 = 0.0, $constrained_vbr$addr = 0, $conv = 0, $conv102 = 0.0, $conv104 = 0, $conv11 = 0, $conv113 = 0.0, $conv115 = 0, $conv128 = 0, $conv132 = 0.0, $conv134 = 0, $conv14 = 0.0, $conv157 = 0.0, $conv164 = 0.0;
- var $conv178 = 0.0, $conv180 = 0, $conv19 = 0.0, $conv21 = 0, $conv210 = 0.0, $conv213 = 0.0, $conv215 = 0, $conv34 = 0, $conv37 = 0.0, $conv39 = 0.0, $conv46 = 0.0, $conv50 = 0.0, $conv60 = 0.0, $conv64 = 0, $conv74 = 0.0, $conv76 = 0, $conv94 = 0.0, $conv97 = 0, $div = 0.0, $div117 = 0;
- var $div121 = 0, $eBands = 0, $eBands2 = 0, $floor_depth = 0, $has_surround_mask$addr = 0, $intensity$addr = 0, $lastCodedBands$addr = 0, $lfe$addr = 0, $maxDepth$addr = 0.0, $max_frac = 0.0, $mode$addr = 0, $mul = 0.0, $mul103 = 0.0, $mul114 = 0.0, $mul130 = 0, $mul133 = 0.0, $mul158 = 0.0, $mul165 = 0.0, $mul179 = 0.0, $mul211 = 0.0;
- var $mul212 = 0.0, $mul214 = 0.0, $mul218 = 0, $mul222 = 0, $mul38 = 0.0, $mul47 = 0.0, $mul51 = 0.0, $mul61 = 0.0, $mul75 = 0.0, $mul95 = 0.0, $mul96 = 0.0, $nbEBands = 0, $nbEBands1 = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond3 = 0, $or$cond4 = 0, $pitch_change$addr = 0, $rate_factor = 0.0;
- var $shl = 0, $shl101 = 0, $shl112 = 0, $shl12 = 0, $shl129 = 0, $shl131 = 0, $shl18 = 0, $shl35 = 0, $shl49 = 0, $shl59 = 0, $shl59$sink = 0, $shl67 = 0, $shl93 = 0, $shr = 0, $shr139 = 0, $stereo_saving$addr = 0.0, $sub = 0.0, $sub126 = 0, $sub156 = 0, $sub163 = 0;
- var $sub177 = 0, $sub188 = 0, $sub193 = 0, $sub200 = 0, $sub205 = 0, $sub22 = 0, $sub36 = 0, $sub48 = 0.0, $sub58 = 0.0, $sub58$sink = 0.0, $sub65 = 0, $sub68 = 0, $sub73 = 0.0, $sub83 = 0.0, $sub89 = 0.0, $sub92 = 0.0, $surround_masking$addr = 0.0, $surround_target = 0, $target = 0, $temporal_vbr$addr = 0.0;
- var $tf_calibration = 0.0, $tf_estimate$addr = 0.0, $tobool = 0, $tobool108 = 0, $tobool110 = 0, $tobool13 = 0, $tobool148 = 0, $tobool149 = 0, $tobool151 = 0, $tobool168 = 0, $tobool183 = 0, $tobool79 = 0, $tobool81 = 0, $tobool99 = 0, $tonal = 0.0, $tonal_target = 0, $tonality = 0, $tonality88 = 0, $tot_boost$addr = 0, $tvbr_factor = 0.0;
- var $variable_duration$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
- $mode$addr = $mode;
- $analysis$addr = $analysis;
- $base_target$addr = $base_target;
- $LM$addr = $LM;
- $bitrate$addr = $bitrate;
- $lastCodedBands$addr = $lastCodedBands;
- $C$addr = $C;
- $intensity$addr = $intensity;
- $constrained_vbr$addr = $constrained_vbr;
- $stereo_saving$addr = $stereo_saving;
- $tot_boost$addr = $tot_boost;
- $tf_estimate$addr = $tf_estimate;
- $pitch_change$addr = $pitch_change;
- $maxDepth$addr = $maxDepth;
- $variable_duration$addr = $variable_duration;
- $lfe$addr = $lfe;
- $has_surround_mask$addr = $has_surround_mask;
- $surround_masking$addr = $surround_masking;
- $temporal_vbr$addr = $temporal_vbr;
- $0 = $mode$addr;
- $nbEBands1 = ((($0)) + 8|0);
- $1 = HEAP32[$nbEBands1>>2]|0;
- $nbEBands = $1;
- $2 = $mode$addr;
- $eBands2 = ((($2)) + 32|0);
- $3 = HEAP32[$eBands2>>2]|0;
- $eBands = $3;
- $4 = $lastCodedBands$addr;
- $tobool = ($4|0)!=(0);
- $5 = $lastCodedBands$addr;
- $6 = $nbEBands;
- $cond = $tobool ? $5 : $6;
- $coded_bands = $cond;
- $7 = $eBands;
- $8 = $coded_bands;
- $arrayidx = (($7) + ($8<<1)|0);
- $9 = HEAP16[$arrayidx>>1]|0;
- $conv = $9 << 16 >> 16;
- $10 = $LM$addr;
- $shl = $conv << $10;
- $coded_bins = $shl;
- $11 = $C$addr;
- $cmp = ($11|0)==(2);
- if ($cmp) {
- $12 = $eBands;
- $13 = $intensity$addr;
- $14 = $coded_bands;
- $cmp4 = ($13|0)<($14|0);
- $15 = $intensity$addr;
- $16 = $coded_bands;
- $cond9 = $cmp4 ? $15 : $16;
- $arrayidx10 = (($12) + ($cond9<<1)|0);
- $17 = HEAP16[$arrayidx10>>1]|0;
- $conv11 = $17 << 16 >> 16;
- $18 = $LM$addr;
- $shl12 = $conv11 << $18;
- $19 = $coded_bins;
- $add = (($19) + ($shl12))|0;
- $coded_bins = $add;
- }
- $20 = $base_target$addr;
- $target = $20;
- $21 = $analysis$addr;
- $22 = HEAP32[$21>>2]|0;
- $tobool13 = ($22|0)!=(0);
- if ($tobool13) {
- $23 = $analysis$addr;
- $activity = ((($23)) + 16|0);
- $24 = +HEAPF32[$activity>>2];
- $conv14 = $24;
- $cmp15 = $conv14 < 0.40000000000000002;
- if ($cmp15) {
- $25 = $coded_bins;
- $shl18 = $25 << 3;
- $conv19 = (+($shl18|0));
- $26 = $analysis$addr;
- $activity20 = ((($26)) + 16|0);
- $27 = +HEAPF32[$activity20>>2];
- $sub = 0.40000000596046448 - $27;
- $mul = $conv19 * $sub;
- $conv21 = (~~(($mul)));
- $28 = $target;
- $sub22 = (($28) - ($conv21))|0;
- $target = $sub22;
- }
- }
- $29 = $C$addr;
- $cmp24 = ($29|0)==(2);
- if ($cmp24) {
- $30 = $intensity$addr;
- $31 = $coded_bands;
- $cmp27 = ($30|0)<($31|0);
- $32 = $intensity$addr;
- $33 = $coded_bands;
- $cond32 = $cmp27 ? $32 : $33;
- $coded_stereo_bands = $cond32;
- $34 = $eBands;
- $35 = $coded_stereo_bands;
- $arrayidx33 = (($34) + ($35<<1)|0);
- $36 = HEAP16[$arrayidx33>>1]|0;
- $conv34 = $36 << 16 >> 16;
- $37 = $LM$addr;
- $shl35 = $conv34 << $37;
- $38 = $coded_stereo_bands;
- $sub36 = (($shl35) - ($38))|0;
- $coded_stereo_dof = $sub36;
- $39 = $coded_stereo_dof;
- $conv37 = (+($39|0));
- $mul38 = 0.80000001192092896 * $conv37;
- $40 = $coded_bins;
- $conv39 = (+($40|0));
- $div = $mul38 / $conv39;
- $max_frac = $div;
- $41 = $stereo_saving$addr;
- $cmp40 = $41 < 1.0;
- $42 = $stereo_saving$addr;
- $cond45 = $cmp40 ? $42 : 1.0;
- $stereo_saving$addr = $cond45;
- $43 = $max_frac;
- $44 = $target;
- $conv46 = (+($44|0));
- $mul47 = $43 * $conv46;
- $45 = $stereo_saving$addr;
- $sub48 = $45 - 0.10000000149011612;
- $46 = $coded_stereo_dof;
- $shl49 = $46 << 3;
- $conv50 = (+($shl49|0));
- $mul51 = $sub48 * $conv50;
- $cmp52 = $mul47 < $mul51;
- if ($cmp52) {
- $47 = $max_frac;
- $48 = $target;
- $shl59$sink = $48;$sub58$sink = $47;
- } else {
- $49 = $stereo_saving$addr;
- $sub58 = $49 - 0.10000000149011612;
- $50 = $coded_stereo_dof;
- $shl59 = $50 << 3;
- $shl59$sink = $shl59;$sub58$sink = $sub58;
- }
- $conv60 = (+($shl59$sink|0));
- $mul61 = $sub58$sink * $conv60;
- $conv64 = (~~(($mul61)));
- $51 = $target;
- $sub65 = (($51) - ($conv64))|0;
- $target = $sub65;
- }
- $52 = $tot_boost$addr;
- $53 = $LM$addr;
- $shl67 = 16 << $53;
- $sub68 = (($52) - ($shl67))|0;
- $54 = $target;
- $add69 = (($54) + ($sub68))|0;
- $target = $add69;
- $55 = $variable_duration$addr;
- $cmp70 = ($55|0)==(5010);
- $cond72 = $cmp70 ? 0.019999999552965164 : 0.039999999105930328;
- $tf_calibration = $cond72;
- $56 = $tf_estimate$addr;
- $57 = $tf_calibration;
- $sub73 = $56 - $57;
- $58 = $target;
- $conv74 = (+($58|0));
- $mul75 = $sub73 * $conv74;
- $conv76 = (~~(($mul75)));
- $59 = $target;
- $add77 = (($59) + ($conv76))|0;
- $target = $add77;
- $60 = $analysis$addr;
- $61 = HEAP32[$60>>2]|0;
- $tobool79 = ($61|0)==(0);
- $62 = $lfe$addr;
- $tobool81 = ($62|0)!=(0);
- $or$cond = $tobool79 | $tobool81;
- if (!($or$cond)) {
- $63 = $analysis$addr;
- $tonality = ((($63)) + 4|0);
- $64 = +HEAPF32[$tonality>>2];
- $sub83 = $64 - 0.15000000596046448;
- $cmp84 = 0.0 > $sub83;
- if ($cmp84) {
- $cond91 = 0.0;
- } else {
- $65 = $analysis$addr;
- $tonality88 = ((($65)) + 4|0);
- $66 = +HEAPF32[$tonality88>>2];
- $sub89 = $66 - 0.15000000596046448;
- $cond91 = $sub89;
- }
- $sub92 = $cond91 - 0.090000003576278687;
- $tonal = $sub92;
- $67 = $target;
- $68 = $coded_bins;
- $shl93 = $68 << 3;
- $conv94 = (+($shl93|0));
- $mul95 = $conv94 * 1.2000000476837158;
- $69 = $tonal;
- $mul96 = $mul95 * $69;
- $conv97 = (~~(($mul96)));
- $add98 = (($67) + ($conv97))|0;
- $tonal_target = $add98;
- $70 = $pitch_change$addr;
- $tobool99 = ($70|0)!=(0);
- if ($tobool99) {
- $71 = $coded_bins;
- $shl101 = $71 << 3;
- $conv102 = (+($shl101|0));
- $mul103 = $conv102 * 0.80000001192092896;
- $conv104 = (~~(($mul103)));
- $72 = $tonal_target;
- $add105 = (($72) + ($conv104))|0;
- $tonal_target = $add105;
- }
- $73 = $tonal_target;
- $target = $73;
- }
- $74 = $has_surround_mask$addr;
- $tobool108 = ($74|0)==(0);
- $75 = $lfe$addr;
- $tobool110 = ($75|0)!=(0);
- $or$cond1 = $tobool108 | $tobool110;
- if (!($or$cond1)) {
- $76 = $target;
- $77 = $surround_masking$addr;
- $78 = $coded_bins;
- $shl112 = $78 << 3;
- $conv113 = (+($shl112|0));
- $mul114 = $77 * $conv113;
- $conv115 = (~~(($mul114)));
- $add116 = (($76) + ($conv115))|0;
- $surround_target = $add116;
- $79 = $target;
- $div117 = (($79|0) / 4)&-1;
- $80 = $surround_target;
- $cmp118 = ($div117|0)>($80|0);
- if ($cmp118) {
- $81 = $target;
- $div121 = (($81|0) / 4)&-1;
- $cond124 = $div121;
- } else {
- $82 = $surround_target;
- $cond124 = $82;
- }
- $target = $cond124;
- }
- $83 = $eBands;
- $84 = $nbEBands;
- $sub126 = (($84) - 2)|0;
- $arrayidx127 = (($83) + ($sub126<<1)|0);
- $85 = HEAP16[$arrayidx127>>1]|0;
- $conv128 = $85 << 16 >> 16;
- $86 = $LM$addr;
- $shl129 = $conv128 << $86;
- $bins = $shl129;
- $87 = $C$addr;
- $88 = $bins;
- $mul130 = Math_imul($87, $88)|0;
- $shl131 = $mul130 << 3;
- $conv132 = (+($shl131|0));
- $89 = $maxDepth$addr;
- $mul133 = $conv132 * $89;
- $conv134 = (~~(($mul133)));
- $floor_depth = $conv134;
- $90 = $floor_depth;
- $91 = $target;
- $shr = $91 >> 2;
- $cmp135 = ($90|0)>($shr|0);
- $92 = $floor_depth;
- $93 = $target;
- $shr139 = $93 >> 2;
- $cond141 = $cmp135 ? $92 : $shr139;
- $floor_depth = $cond141;
- $94 = $target;
- $95 = $floor_depth;
- $cmp142 = ($94|0)<($95|0);
- $96 = $target;
- $97 = $floor_depth;
- $cond147 = $cmp142 ? $96 : $97;
- $target = $cond147;
- $98 = $has_surround_mask$addr;
- $tobool148 = ($98|0)==(0);
- $99 = $lfe$addr;
- $tobool149 = ($99|0)!=(0);
- $or$cond2 = $tobool148 | $tobool149;
- if ($or$cond2) {
- $100 = $constrained_vbr$addr;
- $tobool151 = ($100|0)!=(0);
- $101 = $bitrate$addr;
- $cmp153 = ($101|0)<(64000);
- $or$cond3 = $tobool151 | $cmp153;
- if ($or$cond3) {
- $102 = $bitrate$addr;
- $sub156 = (($102) - 32000)|0;
- $conv157 = (+($sub156|0));
- $mul158 = 3.0517578125E-5 * $conv157;
- $cmp159 = 0.0 > $mul158;
- if ($cmp159) {
- $cond167 = 0.0;
- } else {
- $103 = $bitrate$addr;
- $sub163 = (($103) - 32000)|0;
- $conv164 = (+($sub163|0));
- $mul165 = 3.0517578125E-5 * $conv164;
- $cond167 = $mul165;
- }
- $rate_factor = $cond167;
- $104 = $constrained_vbr$addr;
- $tobool168 = ($104|0)!=(0);
- if ($tobool168) {
- $105 = $rate_factor;
- $cmp170 = $105 < 0.67000001668930054;
- $106 = $rate_factor;
- $cond175 = $cmp170 ? $106 : 0.67000001668930054;
- $rate_factor = $cond175;
- }
- $107 = $base_target$addr;
- $108 = $rate_factor;
- $109 = $target;
- $110 = $base_target$addr;
- $sub177 = (($109) - ($110))|0;
- $conv178 = (+($sub177|0));
- $mul179 = $108 * $conv178;
- $conv180 = (~~(($mul179)));
- $add181 = (($107) + ($conv180))|0;
- $target = $add181;
- }
- }
- $111 = $has_surround_mask$addr;
- $tobool183 = ($111|0)==(0);
- $112 = $tf_estimate$addr;
- $cmp185 = $112 < 0.20000000298023224;
- $or$cond4 = $tobool183 & $cmp185;
- if (!($or$cond4)) {
- $122 = $base_target$addr;
- $mul218 = $122<<1;
- $123 = $target;
- $cmp219 = ($mul218|0)<($123|0);
- $124 = $base_target$addr;
- $mul222 = $124<<1;
- $125 = $target;
- $cond225 = $cmp219 ? $mul222 : $125;
- $target = $cond225;
- $126 = $target;
- STACKTOP = sp;return ($126|0);
- }
- $113 = $bitrate$addr;
- $sub188 = (96000 - ($113))|0;
- $cmp189 = (32000)<($sub188|0);
- $114 = $bitrate$addr;
- $sub193 = (96000 - ($114))|0;
- $cond195 = $cmp189 ? 32000 : $sub193;
- $cmp196 = (0)>($cond195|0);
- if ($cmp196) {
- $cond209 = 0;
- } else {
- $115 = $bitrate$addr;
- $sub200 = (96000 - ($115))|0;
- $cmp201 = (32000)<($sub200|0);
- $116 = $bitrate$addr;
- $sub205 = (96000 - ($116))|0;
- $cond207 = $cmp201 ? 32000 : $sub205;
- $cond209 = $cond207;
- }
- $conv210 = (+($cond209|0));
- $mul211 = 3.0999999580672011E-6 * $conv210;
- $amount = $mul211;
- $117 = $temporal_vbr$addr;
- $118 = $amount;
- $mul212 = $117 * $118;
- $tvbr_factor = $mul212;
- $119 = $tvbr_factor;
- $120 = $target;
- $conv213 = (+($120|0));
- $mul214 = $119 * $conv213;
- $conv215 = (~~(($mul214)));
- $121 = $target;
- $add216 = (($121) + ($conv215))|0;
- $target = $add216;
- $122 = $base_target$addr;
- $mul218 = $122<<1;
- $123 = $target;
- $cmp219 = ($mul218|0)<($123|0);
- $124 = $base_target$addr;
- $mul222 = $124<<1;
- $125 = $target;
- $cond225 = $cmp219 ? $mul222 : $125;
- $target = $cond225;
- $126 = $target;
- STACKTOP = sp;return ($126|0);
-}
-function _ec_get_error($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $_this$addr = 0, $error = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $error = ((($0)) + 44|0);
- $1 = HEAP32[$error>>2]|0;
- STACKTOP = sp;return ($1|0);
-}
-function _celt_inner_prod_c_51($x,$y,$N) {
- $x = $x|0;
- $y = $y|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $2 = 0.0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $N$addr = 0, $add = 0.0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $x$addr = 0, $xy = 0.0;
- var $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $y$addr = $y;
- $N$addr = $N;
- $xy = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $xy;
- if (!($cmp)) {
- break;
- }
- $3 = $x$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $6 = $y$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $mul = $5 * $8;
- $add = $2 + $mul;
- $xy = $add;
- $9 = $i;
- $inc = (($9) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return (+$2);
-}
-function _median_of_5($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0.0, $10 = 0.0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0;
- var $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0.0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx14 = 0, $arrayidx15 = 0;
- var $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $arrayidx8 = 0, $cmp = 0, $cmp17 = 0, $cmp23 = 0, $cmp25 = 0, $cmp27 = 0, $cmp29 = 0, $cmp35 = 0, $cmp37 = 0, $cmp43 = 0, $cmp9 = 0, $cond = 0.0, $cond33 = 0.0, $cond41 = 0.0, $cond47 = 0.0, $retval = 0.0;
- var $t0 = 0.0, $t1 = 0.0, $t2 = 0.0, $t3 = 0.0, $t4 = 0.0, $tmp = 0.0, $tmp20 = 0.0, $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $x$addr = $x;
- $0 = $x$addr;
- $arrayidx = ((($0)) + 8|0);
- $1 = +HEAPF32[$arrayidx>>2];
- $t2 = $1;
- $2 = $x$addr;
- $3 = +HEAPF32[$2>>2];
- $4 = $x$addr;
- $arrayidx2 = ((($4)) + 4|0);
- $5 = +HEAPF32[$arrayidx2>>2];
- $cmp = $3 > $5;
- $6 = $x$addr;
- if ($cmp) {
- $arrayidx3 = ((($6)) + 4|0);
- $7 = +HEAPF32[$arrayidx3>>2];
- $t0 = $7;
- $8 = $x$addr;
- $9 = +HEAPF32[$8>>2];
- $t1 = $9;
- } else {
- $10 = +HEAPF32[$6>>2];
- $t0 = $10;
- $11 = $x$addr;
- $arrayidx6 = ((($11)) + 4|0);
- $12 = +HEAPF32[$arrayidx6>>2];
- $t1 = $12;
- }
- $13 = $x$addr;
- $arrayidx7 = ((($13)) + 12|0);
- $14 = +HEAPF32[$arrayidx7>>2];
- $15 = $x$addr;
- $arrayidx8 = ((($15)) + 16|0);
- $16 = +HEAPF32[$arrayidx8>>2];
- $cmp9 = $14 > $16;
- $17 = $x$addr;
- if ($cmp9) {
- $arrayidx11 = ((($17)) + 16|0);
- $18 = +HEAPF32[$arrayidx11>>2];
- $t3 = $18;
- $19 = $x$addr;
- $arrayidx12 = ((($19)) + 12|0);
- $20 = +HEAPF32[$arrayidx12>>2];
- $t4 = $20;
- } else {
- $arrayidx14 = ((($17)) + 12|0);
- $21 = +HEAPF32[$arrayidx14>>2];
- $t3 = $21;
- $22 = $x$addr;
- $arrayidx15 = ((($22)) + 16|0);
- $23 = +HEAPF32[$arrayidx15>>2];
- $t4 = $23;
- }
- $24 = $t0;
- $25 = $t3;
- $cmp17 = $24 > $25;
- if ($cmp17) {
- $26 = $t0;
- $tmp = $26;
- $27 = $t3;
- $t0 = $27;
- $28 = $tmp;
- $t3 = $28;
- $29 = $t1;
- $tmp20 = $29;
- $30 = $t4;
- $t1 = $30;
- $31 = $tmp20;
- $t4 = $31;
- }
- $32 = $t2;
- $33 = $t1;
- $cmp23 = $32 > $33;
- if ($cmp23) {
- $34 = $t1;
- $35 = $t3;
- $cmp25 = $34 < $35;
- if ($cmp25) {
- $36 = $t2;
- $37 = $t3;
- $cmp27 = $36 < $37;
- $38 = $t2;
- $39 = $t3;
- $cond = $cmp27 ? $38 : $39;
- $retval = $cond;
- $54 = $retval;
- STACKTOP = sp;return (+$54);
- } else {
- $40 = $t4;
- $41 = $t1;
- $cmp29 = $40 < $41;
- $42 = $t4;
- $43 = $t1;
- $cond33 = $cmp29 ? $42 : $43;
- $retval = $cond33;
- $54 = $retval;
- STACKTOP = sp;return (+$54);
- }
- } else {
- $44 = $t2;
- $45 = $t3;
- $cmp35 = $44 < $45;
- if ($cmp35) {
- $46 = $t1;
- $47 = $t3;
- $cmp37 = $46 < $47;
- $48 = $t1;
- $49 = $t3;
- $cond41 = $cmp37 ? $48 : $49;
- $retval = $cond41;
- $54 = $retval;
- STACKTOP = sp;return (+$54);
- } else {
- $50 = $t2;
- $51 = $t4;
- $cmp43 = $50 < $51;
- $52 = $t2;
- $53 = $t4;
- $cond47 = $cmp43 ? $52 : $53;
- $retval = $cond47;
- $54 = $retval;
- STACKTOP = sp;return (+$54);
- }
- }
- return +(0.0);
-}
-function _median_of_3($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0.0, $10 = 0.0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0.0, $3 = 0.0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0.0, $8 = 0.0;
- var $9 = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx5 = 0, $arrayidx6 = 0, $cmp = 0, $cmp10 = 0, $cmp7 = 0, $retval = 0.0, $t0 = 0.0, $t1 = 0.0, $t2 = 0.0, $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $0 = $x$addr;
- $1 = +HEAPF32[$0>>2];
- $2 = $x$addr;
- $arrayidx1 = ((($2)) + 4|0);
- $3 = +HEAPF32[$arrayidx1>>2];
- $cmp = $1 > $3;
- $4 = $x$addr;
- if ($cmp) {
- $arrayidx2 = ((($4)) + 4|0);
- $5 = +HEAPF32[$arrayidx2>>2];
- $t0 = $5;
- $6 = $x$addr;
- $7 = +HEAPF32[$6>>2];
- $t1 = $7;
- } else {
- $8 = +HEAPF32[$4>>2];
- $t0 = $8;
- $9 = $x$addr;
- $arrayidx5 = ((($9)) + 4|0);
- $10 = +HEAPF32[$arrayidx5>>2];
- $t1 = $10;
- }
- $11 = $x$addr;
- $arrayidx6 = ((($11)) + 8|0);
- $12 = +HEAPF32[$arrayidx6>>2];
- $t2 = $12;
- $13 = $t1;
- $14 = $t2;
- $cmp7 = $13 < $14;
- if ($cmp7) {
- $15 = $t1;
- $retval = $15;
- $20 = $retval;
- STACKTOP = sp;return (+$20);
- }
- $16 = $t0;
- $17 = $t2;
- $cmp10 = $16 < $17;
- if ($cmp10) {
- $18 = $t2;
- $retval = $18;
- $20 = $retval;
- STACKTOP = sp;return (+$20);
- } else {
- $19 = $t0;
- $retval = $19;
- $20 = $retval;
- STACKTOP = sp;return (+$20);
- }
- return +(0.0);
-}
-function _l1_metric($tmp,$N,$LM,$bias) {
- $tmp = $tmp|0;
- $N = $N|0;
- $LM = $LM|0;
- $bias = +$bias;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0.0, $2 = 0, $3 = 0, $4 = 0.0, $5 = 0.0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0.0, $L1 = 0.0, $LM$addr = 0, $N$addr = 0, $add = 0.0, $add4 = 0.0, $arrayidx = 0, $bias$addr = 0.0, $call = 0.0;
- var $cmp = 0, $conv = 0.0, $conv1 = 0.0, $conv2 = 0.0, $i = 0, $inc = 0, $mul = 0.0, $mul3 = 0.0, $tmp$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $tmp$addr = $tmp;
- $N$addr = $N;
- $LM$addr = $LM;
- $bias$addr = $bias;
- $L1 = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $tmp$addr;
- $3 = $i;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx>>2];
- $conv = $4;
- $call = (+Math_abs((+$conv)));
- $conv1 = $call;
- $5 = $L1;
- $add = $5 + $conv1;
- $L1 = $add;
- $6 = $i;
- $inc = (($6) + 1)|0;
- $i = $inc;
- }
- $7 = $L1;
- $8 = $LM$addr;
- $conv2 = (+($8|0));
- $9 = $bias$addr;
- $mul = $conv2 * $9;
- $10 = $L1;
- $mul3 = $mul * $10;
- $add4 = $7 + $mul3;
- $L1 = $add4;
- $11 = $L1;
- STACKTOP = sp;return (+$11);
-}
-function _celt_decoder_get_size($channels) {
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $call = 0, $call1 = 0, $channels$addr = 0, $mode = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $channels$addr = $channels;
- $call = (_opus_custom_mode_create(48000,960,0)|0);
- $mode = $call;
- $0 = $mode;
- $1 = $channels$addr;
- $call1 = (_opus_custom_decoder_get_size($0,$1)|0);
- STACKTOP = sp;return ($call1|0);
-}
-function _opus_custom_decoder_get_size($mode,$channels) {
- $mode = $mode|0;
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $add = 0, $add2 = 0, $add5 = 0, $add8 = 0, $channels$addr = 0, $mode$addr = 0, $mul = 0, $mul1 = 0, $mul3 = 0, $mul4 = 0, $mul6 = 0, $mul7 = 0, $nbEBands = 0;
- var $overlap = 0, $size = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $mode$addr = $mode;
- $channels$addr = $channels;
- $0 = $channels$addr;
- $1 = $mode$addr;
- $overlap = ((($1)) + 4|0);
- $2 = HEAP32[$overlap>>2]|0;
- $add = (2048 + ($2))|0;
- $mul = Math_imul($0, $add)|0;
- $sub = (($mul) - 1)|0;
- $mul1 = $sub<<2;
- $add2 = (88 + ($mul1))|0;
- $3 = $channels$addr;
- $mul3 = ($3*24)|0;
- $mul4 = $mul3<<2;
- $add5 = (($add2) + ($mul4))|0;
- $4 = $mode$addr;
- $nbEBands = ((($4)) + 8|0);
- $5 = HEAP32[$nbEBands>>2]|0;
- $mul6 = $5<<3;
- $mul7 = $mul6<<2;
- $add8 = (($add5) + ($mul7))|0;
- $size = $add8;
- $6 = $size;
- STACKTOP = sp;return ($6|0);
-}
-function _celt_decoder_init($st,$sampling_rate,$channels) {
- $st = $st|0;
- $sampling_rate = $sampling_rate|0;
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $call = 0, $call1 = 0, $call2 = 0, $channels$addr = 0, $cmp = 0, $cmp4 = 0, $downsample = 0, $downsample3 = 0, $ret = 0, $retval = 0, $sampling_rate$addr = 0;
- var $st$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $st$addr = $st;
- $sampling_rate$addr = $sampling_rate;
- $channels$addr = $channels;
- $0 = $st$addr;
- $call = (_opus_custom_mode_create(48000,960,0)|0);
- $1 = $channels$addr;
- $call1 = (_opus_custom_decoder_init($0,$call,$1)|0);
- $ret = $call1;
- $2 = $ret;
- $cmp = ($2|0)!=(0);
- if ($cmp) {
- $3 = $ret;
- $retval = $3;
- $8 = $retval;
- STACKTOP = sp;return ($8|0);
- }
- $4 = $sampling_rate$addr;
- $call2 = (_resampling_factor($4)|0);
- $5 = $st$addr;
- $downsample = ((($5)) + 16|0);
- HEAP32[$downsample>>2] = $call2;
- $6 = $st$addr;
- $downsample3 = ((($6)) + 16|0);
- $7 = HEAP32[$downsample3>>2]|0;
- $cmp4 = ($7|0)==(0);
- if ($cmp4) {
- $retval = -1;
- $8 = $retval;
- STACKTOP = sp;return ($8|0);
- } else {
- $retval = 0;
- $8 = $retval;
- STACKTOP = sp;return ($8|0);
- }
- return (0)|0;
-}
-function _opus_custom_decoder_init($st,$mode,$channels) {
- $st = $st|0;
- $mode = $mode|0;
- $channels = $channels|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $3 = 0, $4 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arch = 0, $call = 0, $call9 = 0, $channels$addr = 0, $channels7 = 0, $cmp = 0, $cmp1 = 0, $cmp2 = 0, $downsample = 0, $effEBands = 0, $end = 0, $loss_count = 0, $mode$addr = 0, $mul = 0, $or$cond = 0;
- var $overlap = 0, $overlap6 = 0, $retval = 0, $signalling = 0, $st$addr = 0, $start = 0, $stream_channels = 0, $vararg_buffer = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $vararg_buffer = sp;
- $st$addr = $st;
- $mode$addr = $mode;
- $channels$addr = $channels;
- $0 = $channels$addr;
- $cmp = ($0|0)<(0);
- $1 = $channels$addr;
- $cmp1 = ($1|0)>(2);
- $or$cond = $cmp | $cmp1;
- if ($or$cond) {
- $retval = -1;
- $24 = $retval;
- STACKTOP = sp;return ($24|0);
- }
- $2 = $st$addr;
- $cmp2 = ($2|0)==(0|0);
- if ($cmp2) {
- $retval = -7;
- $24 = $retval;
- STACKTOP = sp;return ($24|0);
- } else {
- $3 = $st$addr;
- $4 = $mode$addr;
- $5 = $channels$addr;
- $call = (_opus_custom_decoder_get_size($4,$5)|0);
- $mul = $call;
- _memset(($3|0),0,($mul|0))|0;
- $6 = $mode$addr;
- $7 = $st$addr;
- HEAP32[$7>>2] = $6;
- $8 = $mode$addr;
- $overlap = ((($8)) + 4|0);
- $9 = HEAP32[$overlap>>2]|0;
- $10 = $st$addr;
- $overlap6 = ((($10)) + 4|0);
- HEAP32[$overlap6>>2] = $9;
- $11 = $channels$addr;
- $12 = $st$addr;
- $channels7 = ((($12)) + 8|0);
- HEAP32[$channels7>>2] = $11;
- $13 = $st$addr;
- $stream_channels = ((($13)) + 12|0);
- HEAP32[$stream_channels>>2] = $11;
- $14 = $st$addr;
- $downsample = ((($14)) + 16|0);
- HEAP32[$downsample>>2] = 1;
- $15 = $st$addr;
- $start = ((($15)) + 20|0);
- HEAP32[$start>>2] = 0;
- $16 = $st$addr;
- $17 = HEAP32[$16>>2]|0;
- $effEBands = ((($17)) + 12|0);
- $18 = HEAP32[$effEBands>>2]|0;
- $19 = $st$addr;
- $end = ((($19)) + 24|0);
- HEAP32[$end>>2] = $18;
- $20 = $st$addr;
- $signalling = ((($20)) + 28|0);
- HEAP32[$signalling>>2] = 1;
- $call9 = (_opus_select_arch_56()|0);
- $21 = $st$addr;
- $arch = ((($21)) + 32|0);
- HEAP32[$arch>>2] = $call9;
- $22 = $st$addr;
- $loss_count = ((($22)) + 48|0);
- HEAP32[$loss_count>>2] = 0;
- $23 = $st$addr;
- (_opus_custom_decoder_ctl($23,4028,$vararg_buffer)|0);
- $retval = 0;
- $24 = $retval;
- STACKTOP = sp;return ($24|0);
- }
- return (0)|0;
-}
-function _opus_select_arch_56() {
- var label = 0, sp = 0;
- sp = STACKTOP;
- return 0;
-}
-function _opus_custom_decoder_ctl($st,$request,$varargs) {
- $st = $st|0;
- $request = $request|0;
- $varargs = $varargs|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0;
- var $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0;
- var $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0;
- var $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0;
- var $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0;
- var $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $_decode_mem = 0, $add = 0, $add$ptr = 0, $add$ptr44 = 0, $add$ptr48 = 0, $add$ptr52 = 0, $ap = 0, $arglist_current = 0, $arglist_current11 = 0, $arglist_current14 = 0, $arglist_current17 = 0;
- var $arglist_current2 = 0, $arglist_current20 = 0, $arglist_current23 = 0, $arglist_current5 = 0, $arglist_current8 = 0, $arglist_next = 0, $arglist_next12 = 0, $arglist_next15 = 0, $arglist_next18 = 0, $arglist_next21 = 0, $arglist_next24 = 0, $arglist_next3 = 0, $arglist_next6 = 0, $arglist_next9 = 0, $arrayidx = 0, $arrayidx61 = 0, $call = 0, $channels = 0, $channels42 = 0, $channels54 = 0;
- var $cmp = 0, $cmp12 = 0, $cmp19 = 0, $cmp21 = 0, $cmp28 = 0, $cmp3 = 0, $cmp36 = 0, $cmp60 = 0, $cmp66 = 0, $cmp73 = 0, $cmp8 = 0, $cmp85 = 0, $div = 0, $downsample = 0, $end = 0, $error = 0, $error31 = 0, $expanded = 0, $expanded10 = 0, $expanded12 = 0;
- var $expanded13 = 0, $expanded14 = 0, $expanded16 = 0, $expanded17 = 0, $expanded19 = 0, $expanded20 = 0, $expanded21 = 0, $expanded23 = 0, $expanded24 = 0, $expanded26 = 0, $expanded27 = 0, $expanded28 = 0, $expanded3 = 0, $expanded30 = 0, $expanded31 = 0, $expanded33 = 0, $expanded34 = 0, $expanded35 = 0, $expanded37 = 0, $expanded38 = 0;
- var $expanded40 = 0, $expanded41 = 0, $expanded42 = 0, $expanded44 = 0, $expanded45 = 0, $expanded47 = 0, $expanded48 = 0, $expanded49 = 0, $expanded5 = 0, $expanded51 = 0, $expanded52 = 0, $expanded54 = 0, $expanded55 = 0, $expanded56 = 0, $expanded58 = 0, $expanded59 = 0, $expanded6 = 0, $expanded61 = 0, $expanded62 = 0, $expanded63 = 0;
- var $expanded7 = 0, $expanded9 = 0, $i = 0, $inc = 0, $lpc = 0, $mul = 0, $mul43 = 0, $mul47 = 0, $mul51 = 0, $mul56 = 0, $mul59 = 0, $nbEBands = 0, $nbEBands11 = 0, $nbEBands46 = 0, $nbEBands50 = 0, $nbEBands58 = 0, $oldBandE = 0, $oldLogE = 0, $oldLogE2 = 0, $or$cond = 0;
- var $overlap = 0, $overlap41 = 0, $postfilter_period = 0, $request$addr = 0, $retval = 0, $rng = 0, $rng55 = 0, $rng88 = 0, $signalling = 0, $st$addr = 0, $start = 0, $stream_channels = 0, $sub = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $value = 0, $value16 = 0, $value25 = 0, $value33 = 0;
- var $value5 = 0, $value63 = 0, $value70 = 0, $value78 = 0, $value82 = 0, $varet = 0, $varet18 = 0, $varet27 = 0, $varet35 = 0, $varet65 = 0, $varet7 = 0, $varet72 = 0, $varet80 = 0, $varet84 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
- $ap = sp + 96|0;
- $st$addr = $st;
- $request$addr = $request;
- HEAP32[$ap>>2] = $varargs;
- $0 = $request$addr;
- L1: do {
- switch ($0|0) {
- case 10010: {
- $arglist_current = HEAP32[$ap>>2]|0;
- $1 = $arglist_current;
- $2 = ((0) + 4|0);
- $expanded3 = $2;
- $expanded = (($expanded3) - 1)|0;
- $3 = (($1) + ($expanded))|0;
- $4 = ((0) + 4|0);
- $expanded7 = $4;
- $expanded6 = (($expanded7) - 1)|0;
- $expanded5 = $expanded6 ^ -1;
- $5 = $3 & $expanded5;
- $6 = $5;
- $7 = HEAP32[$6>>2]|0;
- $arglist_next = ((($6)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next;
- $varet = $7;
- $8 = $varet;
- $value = $8;
- $9 = $value;
- $cmp = ($9|0)<(0);
- if ($cmp) {
- label = 25;
- } else {
- $10 = $value;
- $11 = $st$addr;
- $12 = HEAP32[$11>>2]|0;
- $nbEBands = ((($12)) + 8|0);
- $13 = HEAP32[$nbEBands>>2]|0;
- $cmp3 = ($10|0)>=($13|0);
- if ($cmp3) {
- label = 25;
- } else {
- $14 = $value;
- $15 = $st$addr;
- $start = ((($15)) + 20|0);
- HEAP32[$start>>2] = $14;
- label = 24;
- }
- }
- break;
- }
- case 10012: {
- $arglist_current2 = HEAP32[$ap>>2]|0;
- $16 = $arglist_current2;
- $17 = ((0) + 4|0);
- $expanded10 = $17;
- $expanded9 = (($expanded10) - 1)|0;
- $18 = (($16) + ($expanded9))|0;
- $19 = ((0) + 4|0);
- $expanded14 = $19;
- $expanded13 = (($expanded14) - 1)|0;
- $expanded12 = $expanded13 ^ -1;
- $20 = $18 & $expanded12;
- $21 = $20;
- $22 = HEAP32[$21>>2]|0;
- $arglist_next3 = ((($21)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next3;
- $varet7 = $22;
- $23 = $varet7;
- $value5 = $23;
- $24 = $value5;
- $cmp8 = ($24|0)<(1);
- if ($cmp8) {
- label = 25;
- } else {
- $25 = $value5;
- $26 = $st$addr;
- $27 = HEAP32[$26>>2]|0;
- $nbEBands11 = ((($27)) + 8|0);
- $28 = HEAP32[$nbEBands11>>2]|0;
- $cmp12 = ($25|0)>($28|0);
- if ($cmp12) {
- label = 25;
- } else {
- $29 = $value5;
- $30 = $st$addr;
- $end = ((($30)) + 24|0);
- HEAP32[$end>>2] = $29;
- label = 24;
- }
- }
- break;
- }
- case 10008: {
- $arglist_current5 = HEAP32[$ap>>2]|0;
- $31 = $arglist_current5;
- $32 = ((0) + 4|0);
- $expanded17 = $32;
- $expanded16 = (($expanded17) - 1)|0;
- $33 = (($31) + ($expanded16))|0;
- $34 = ((0) + 4|0);
- $expanded21 = $34;
- $expanded20 = (($expanded21) - 1)|0;
- $expanded19 = $expanded20 ^ -1;
- $35 = $33 & $expanded19;
- $36 = $35;
- $37 = HEAP32[$36>>2]|0;
- $arglist_next6 = ((($36)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next6;
- $varet18 = $37;
- $38 = $varet18;
- $value16 = $38;
- $39 = $value16;
- $cmp19 = ($39|0)<(1);
- $40 = $value16;
- $cmp21 = ($40|0)>(2);
- $or$cond = $cmp19 | $cmp21;
- if ($or$cond) {
- label = 25;
- } else {
- $41 = $value16;
- $42 = $st$addr;
- $stream_channels = ((($42)) + 12|0);
- HEAP32[$stream_channels>>2] = $41;
- label = 24;
- }
- break;
- }
- case 10007: {
- $arglist_current8 = HEAP32[$ap>>2]|0;
- $43 = $arglist_current8;
- $44 = ((0) + 4|0);
- $expanded24 = $44;
- $expanded23 = (($expanded24) - 1)|0;
- $45 = (($43) + ($expanded23))|0;
- $46 = ((0) + 4|0);
- $expanded28 = $46;
- $expanded27 = (($expanded28) - 1)|0;
- $expanded26 = $expanded27 ^ -1;
- $47 = $45 & $expanded26;
- $48 = $47;
- $49 = HEAP32[$48>>2]|0;
- $arglist_next9 = ((($48)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next9;
- $varet27 = $49;
- $50 = $varet27;
- $value25 = $50;
- $51 = $value25;
- $cmp28 = ($51|0)==(0|0);
- if ($cmp28) {
- label = 25;
- } else {
- $52 = $st$addr;
- $error = ((($52)) + 40|0);
- $53 = HEAP32[$error>>2]|0;
- $54 = $value25;
- HEAP32[$54>>2] = $53;
- $55 = $st$addr;
- $error31 = ((($55)) + 40|0);
- HEAP32[$error31>>2] = 0;
- label = 24;
- }
- break;
- }
- case 4027: {
- $arglist_current11 = HEAP32[$ap>>2]|0;
- $56 = $arglist_current11;
- $57 = ((0) + 4|0);
- $expanded31 = $57;
- $expanded30 = (($expanded31) - 1)|0;
- $58 = (($56) + ($expanded30))|0;
- $59 = ((0) + 4|0);
- $expanded35 = $59;
- $expanded34 = (($expanded35) - 1)|0;
- $expanded33 = $expanded34 ^ -1;
- $60 = $58 & $expanded33;
- $61 = $60;
- $62 = HEAP32[$61>>2]|0;
- $arglist_next12 = ((($61)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next12;
- $varet35 = $62;
- $63 = $varet35;
- $value33 = $63;
- $64 = $value33;
- $cmp36 = ($64|0)==(0|0);
- if ($cmp36) {
- label = 25;
- } else {
- $65 = $st$addr;
- $overlap = ((($65)) + 4|0);
- $66 = HEAP32[$overlap>>2]|0;
- $67 = $st$addr;
- $downsample = ((($67)) + 16|0);
- $68 = HEAP32[$downsample>>2]|0;
- $div = (($66|0) / ($68|0))&-1;
- $69 = $value33;
- HEAP32[$69>>2] = $div;
- label = 24;
- }
- break;
- }
- case 4028: {
- $70 = $st$addr;
- $_decode_mem = ((($70)) + 84|0);
- $71 = $st$addr;
- $overlap41 = ((($71)) + 4|0);
- $72 = HEAP32[$overlap41>>2]|0;
- $add = (2048 + ($72))|0;
- $73 = $st$addr;
- $channels = ((($73)) + 8|0);
- $74 = HEAP32[$channels>>2]|0;
- $mul = Math_imul($add, $74)|0;
- $add$ptr = (($_decode_mem) + ($mul<<2)|0);
- $lpc = $add$ptr;
- $75 = $lpc;
- $76 = $st$addr;
- $channels42 = ((($76)) + 8|0);
- $77 = HEAP32[$channels42>>2]|0;
- $mul43 = ($77*24)|0;
- $add$ptr44 = (($75) + ($mul43<<2)|0);
- $oldBandE = $add$ptr44;
- $78 = $oldBandE;
- $79 = $st$addr;
- $80 = HEAP32[$79>>2]|0;
- $nbEBands46 = ((($80)) + 8|0);
- $81 = HEAP32[$nbEBands46>>2]|0;
- $mul47 = $81<<1;
- $add$ptr48 = (($78) + ($mul47<<2)|0);
- $oldLogE = $add$ptr48;
- $82 = $oldLogE;
- $83 = $st$addr;
- $84 = HEAP32[$83>>2]|0;
- $nbEBands50 = ((($84)) + 8|0);
- $85 = HEAP32[$nbEBands50>>2]|0;
- $mul51 = $85<<1;
- $add$ptr52 = (($82) + ($mul51<<2)|0);
- $oldLogE2 = $add$ptr52;
- $86 = $st$addr;
- $rng = ((($86)) + 36|0);
- $87 = $st$addr;
- $88 = HEAP32[$87>>2]|0;
- $89 = $st$addr;
- $channels54 = ((($89)) + 8|0);
- $90 = HEAP32[$channels54>>2]|0;
- $call = (_opus_custom_decoder_get_size($88,$90)|0);
- $91 = $st$addr;
- $rng55 = ((($91)) + 36|0);
- $92 = $st$addr;
- $sub$ptr$lhs$cast = $rng55;
- $sub$ptr$rhs$cast = $92;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub = (($call) - ($sub$ptr$sub))|0;
- $mul56 = $sub;
- _memset(($rng|0),0,($mul56|0))|0;
- $i = 0;
- while(1) {
- $93 = $i;
- $94 = $st$addr;
- $95 = HEAP32[$94>>2]|0;
- $nbEBands58 = ((($95)) + 8|0);
- $96 = HEAP32[$nbEBands58>>2]|0;
- $mul59 = $96<<1;
- $cmp60 = ($93|0)<($mul59|0);
- if (!($cmp60)) {
- label = 24;
- break L1;
- }
- $97 = $oldLogE2;
- $98 = $i;
- $arrayidx = (($97) + ($98<<2)|0);
- HEAPF32[$arrayidx>>2] = -28.0;
- $99 = $oldLogE;
- $100 = $i;
- $arrayidx61 = (($99) + ($100<<2)|0);
- HEAPF32[$arrayidx61>>2] = -28.0;
- $101 = $i;
- $inc = (($101) + 1)|0;
- $i = $inc;
- }
- break;
- }
- case 4033: {
- $arglist_current14 = HEAP32[$ap>>2]|0;
- $102 = $arglist_current14;
- $103 = ((0) + 4|0);
- $expanded38 = $103;
- $expanded37 = (($expanded38) - 1)|0;
- $104 = (($102) + ($expanded37))|0;
- $105 = ((0) + 4|0);
- $expanded42 = $105;
- $expanded41 = (($expanded42) - 1)|0;
- $expanded40 = $expanded41 ^ -1;
- $106 = $104 & $expanded40;
- $107 = $106;
- $108 = HEAP32[$107>>2]|0;
- $arglist_next15 = ((($107)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next15;
- $varet65 = $108;
- $109 = $varet65;
- $value63 = $109;
- $110 = $value63;
- $cmp66 = ($110|0)==(0|0);
- if ($cmp66) {
- label = 25;
- } else {
- $111 = $st$addr;
- $postfilter_period = ((($111)) + 52|0);
- $112 = HEAP32[$postfilter_period>>2]|0;
- $113 = $value63;
- HEAP32[$113>>2] = $112;
- label = 24;
- }
- break;
- }
- case 10015: {
- $arglist_current17 = HEAP32[$ap>>2]|0;
- $114 = $arglist_current17;
- $115 = ((0) + 4|0);
- $expanded45 = $115;
- $expanded44 = (($expanded45) - 1)|0;
- $116 = (($114) + ($expanded44))|0;
- $117 = ((0) + 4|0);
- $expanded49 = $117;
- $expanded48 = (($expanded49) - 1)|0;
- $expanded47 = $expanded48 ^ -1;
- $118 = $116 & $expanded47;
- $119 = $118;
- $120 = HEAP32[$119>>2]|0;
- $arglist_next18 = ((($119)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next18;
- $varet72 = $120;
- $121 = $varet72;
- $value70 = $121;
- $122 = $value70;
- $cmp73 = ($122|0)==(0|0);
- if ($cmp73) {
- label = 25;
- } else {
- $123 = $st$addr;
- $124 = HEAP32[$123>>2]|0;
- $125 = $value70;
- HEAP32[$125>>2] = $124;
- label = 24;
- }
- break;
- }
- case 10016: {
- $arglist_current20 = HEAP32[$ap>>2]|0;
- $126 = $arglist_current20;
- $127 = ((0) + 4|0);
- $expanded52 = $127;
- $expanded51 = (($expanded52) - 1)|0;
- $128 = (($126) + ($expanded51))|0;
- $129 = ((0) + 4|0);
- $expanded56 = $129;
- $expanded55 = (($expanded56) - 1)|0;
- $expanded54 = $expanded55 ^ -1;
- $130 = $128 & $expanded54;
- $131 = $130;
- $132 = HEAP32[$131>>2]|0;
- $arglist_next21 = ((($131)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next21;
- $varet80 = $132;
- $133 = $varet80;
- $value78 = $133;
- $134 = $value78;
- $135 = $st$addr;
- $signalling = ((($135)) + 28|0);
- HEAP32[$signalling>>2] = $134;
- label = 24;
- break;
- }
- case 4031: {
- $arglist_current23 = HEAP32[$ap>>2]|0;
- $136 = $arglist_current23;
- $137 = ((0) + 4|0);
- $expanded59 = $137;
- $expanded58 = (($expanded59) - 1)|0;
- $138 = (($136) + ($expanded58))|0;
- $139 = ((0) + 4|0);
- $expanded63 = $139;
- $expanded62 = (($expanded63) - 1)|0;
- $expanded61 = $expanded62 ^ -1;
- $140 = $138 & $expanded61;
- $141 = $140;
- $142 = HEAP32[$141>>2]|0;
- $arglist_next24 = ((($141)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next24;
- $varet84 = $142;
- $143 = $varet84;
- $value82 = $143;
- $144 = $value82;
- $cmp85 = ($144|0)==(0|0);
- if ($cmp85) {
- label = 25;
- } else {
- $145 = $st$addr;
- $rng88 = ((($145)) + 36|0);
- $146 = HEAP32[$rng88>>2]|0;
- $147 = $value82;
- HEAP32[$147>>2] = $146;
- label = 24;
- }
- break;
- }
- default: {
- $retval = -5;
- $148 = $retval;
- STACKTOP = sp;return ($148|0);
- }
- }
- } while(0);
- if ((label|0) == 24) {
- $retval = 0;
- $148 = $retval;
- STACKTOP = sp;return ($148|0);
- }
- else if ((label|0) == 25) {
- $retval = -1;
- $148 = $retval;
- STACKTOP = sp;return ($148|0);
- }
- return (0)|0;
-}
-function _celt_decode_with_ec($st,$data,$len,$pcm,$frame_size,$dec,$accum) {
- $st = $st|0;
- $data = $data|0;
- $len = $len|0;
- $pcm = $pcm|0;
- $frame_size = $frame_size|0;
- $dec = $dec|0;
- $accum = $accum|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
- var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0.0, $331 = 0;
- var $332 = 0.0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0;
- var $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0.0, $359 = 0.0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0;
- var $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0.0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0.0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0;
- var $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0.0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0;
- var $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0.0;
- var $422 = 0.0, $423 = 0, $424 = 0, $425 = 0.0, $426 = 0, $427 = 0, $428 = 0.0, $429 = 0.0, $43 = 0, $430 = 0, $431 = 0, $432 = 0.0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0;
- var $440 = 0.0, $441 = 0, $442 = 0, $443 = 0.0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0.0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0;
- var $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0;
- var $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0;
- var $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0;
- var $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
- var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0, $94 = 0;
- var $95 = 0, $96 = 0, $97 = 0.0, $98 = 0, $99 = 0, $C = 0, $CC = 0, $LM = 0, $M = 0, $N = 0, $_dec = 0, $_decode_mem = 0, $_decode_mem30 = 0, $accum$addr = 0, $add = 0, $add$ptr = 0, $add$ptr11 = 0, $add$ptr13 = 0, $add$ptr15 = 0, $add$ptr242 = 0;
- var $add$ptr249 = 0, $add$ptr264 = 0, $add$ptr328 = 0, $add$ptr331 = 0, $add$ptr34 = 0, $add$ptr36 = 0, $add$ptr37 = 0, $add$ptr9 = 0, $add100 = 0, $add104 = 0, $add109 = 0, $add117 = 0, $add129 = 0, $add138 = 0, $add152 = 0, $add181 = 0, $add192 = 0, $add211 = 0, $add229 = 0, $add245 = 0;
- var $add251 = 0, $add32 = 0, $add375 = 0, $add386 = 0, $add394 = 0, $add408 = 0.0, $add414 = 0.0, $add450 = 0, $add453 = 0, $add456 = 0, $add466 = 0, $add469 = 0, $add472 = 0, $add64 = 0, $add68 = 0, $add68$sink = 0, $add87 = 0, $add90 = 0, $add98 = 0, $alloc_trim = 0;
- var $anti_collapse_on = 0, $anti_collapse_rsv = 0, $arch = 0, $arch281 = 0, $arch297 = 0, $arch322 = 0, $arch338 = 0, $arrayidx = 0, $arrayidx153 = 0, $arrayidx155 = 0, $arrayidx184 = 0, $arrayidx194 = 0, $arrayidx240 = 0, $arrayidx241 = 0, $arrayidx247 = 0, $arrayidx248 = 0, $arrayidx290 = 0, $arrayidx315 = 0, $arrayidx316 = 0, $arrayidx326 = 0;
- var $arrayidx329 = 0, $arrayidx35 = 0, $arrayidx367 = 0, $arrayidx369 = 0, $arrayidx38 = 0, $arrayidx407 = 0, $arrayidx409 = 0, $arrayidx413 = 0, $arrayidx416 = 0, $arrayidx419 = 0, $arrayidx429 = 0, $arrayidx430 = 0, $arrayidx434 = 0, $arrayidx436 = 0, $arrayidx436$sink = 0, $arrayidx439 = 0, $arrayidx451 = 0, $arrayidx454 = 0, $arrayidx457 = 0, $arrayidx467 = 0;
- var $arrayidx470 = 0, $arrayidx473 = 0, $arrayidx63 = 0, $arrayidx65 = 0, $arrayidx69 = 0, $arrayidx70 = 0, $backgroundLogE = 0, $balance = 0, $bits = 0, $boost = 0, $c = 0, $call = 0, $call102 = 0, $call103 = 0, $call107 = 0, $call112 = 0, $call121 = 0, $call122 = 0, $call133 = 0, $call137 = 0;
- var $call142 = 0, $call147 = 0, $call187 = 0, $call188 = 0, $call215 = 0, $call221 = 0, $call238 = 0, $call273 = 0, $call276 = 0, $call491 = 0, $call497 = 0, $call80 = 0, $call86 = 0, $call93 = 0, $call96 = 0, $call99 = 0, $channels = 0, $cleanup$dest$slot = 0, $cmp = 0, $cmp105 = 0;
- var $cmp114 = 0, $cmp118 = 0, $cmp130 = 0, $cmp139 = 0, $cmp149 = 0, $cmp16 = 0, $cmp161 = 0, $cmp167 = 0, $cmp172 = 0, $cmp18 = 0, $cmp182 = 0, $cmp185 = 0, $cmp195 = 0, $cmp199 = 0, $cmp212 = 0, $cmp22 = 0, $cmp226 = 0, $cmp23 = 0, $cmp231 = 0, $cmp25 = 0;
- var $cmp254 = 0, $cmp261 = 0, $cmp270 = 0, $cmp287 = 0, $cmp299 = 0, $cmp307 = 0, $cmp323 = 0, $cmp342 = 0, $cmp354 = 0, $cmp364 = 0, $cmp395 = 0, $cmp40 = 0, $cmp404 = 0, $cmp41 = 0, $cmp410 = 0, $cmp426 = 0, $cmp431 = 0, $cmp446 = 0, $cmp45 = 0, $cmp462 = 0;
- var $cmp47 = 0, $cmp479 = 0, $cmp493 = 0, $cmp55 = 0, $cmp58 = 0, $cmp61 = 0, $cmp66 = 0, $cmp76 = 0, $cmp78 = 0, $cmp89 = 0, $cmp91 = 0, $codedBands = 0, $cond136 = 0, $cond166 = 0, $cond177 = 0, $cond179 = 0, $cond205 = 0, $cond218 = 0, $cond234 = 0, $cond267 = 0;
- var $cond305 = 0, $cond313 = 0, $cond418 = 0.0, $conv = 0.0, $conv154 = 0, $conv156 = 0, $conv398 = 0.0, $data$addr = 0, $dec$addr = 0, $decode_mem = 0, $div = 0, $div244 = 0, $div502 = 0, $downsample = 0, $downsample296 = 0, $downsample485 = 0, $downsample50 = 0, $downsample501 = 0, $downsample53 = 0, $dual_stereo = 0;
- var $dynalloc_logp = 0, $dynalloc_loop_logp = 0, $eBands = 0, $eBands4 = 0, $effEBands = 0, $effEBands43 = 0, $effEnd = 0, $end = 0, $end6 = 0, $error = 0, $flag = 0, $frame_size$addr = 0, $i = 0, $idx$neg = 0, $inc = 0, $inc208 = 0, $inc253 = 0, $inc292 = 0, $inc341 = 0, $inc39 = 0;
- var $inc421 = 0, $inc441 = 0, $inc459 = 0, $inc475 = 0, $inc478 = 0, $inc72 = 0, $intensity = 0, $intra_ener = 0, $isTransient = 0, $len$addr = 0, $loss_count = 0, $loss_count490 = 0, $lpc = 0, $maxLM = 0, $maxLM17 = 0, $max_background_increase = 0.0, $mode = 0, $mul = 0, $mul10 = 0, $mul110 = 0.0;
- var $mul12 = 0, $mul14 = 0, $mul158 = 0, $mul219 = 0, $mul246 = 0, $mul250 = 0, $mul257 = 0, $mul259 = 0, $mul268 = 0, $mul275 = 0, $mul286 = 0, $mul29 = 0, $mul33 = 0, $mul368 = 0, $mul374 = 0, $mul379 = 0, $mul380 = 0, $mul385 = 0, $mul387 = 0, $mul388 = 0;
- var $mul393 = 0, $mul399 = 0.0, $mul403 = 0, $mul425 = 0, $mul449 = 0, $mul452 = 0, $mul455 = 0, $mul465 = 0, $mul468 = 0, $mul471 = 0, $mul492 = 0, $mul7 = 0, $mul75 = 0, $mul8 = 0, $mul85 = 0, $nbEBands = 0, $nbEBands2 = 0, $nbits_total = 0, $octave = 0, $oldBandE = 0;
- var $oldLogE = 0, $oldLogE2 = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond3 = 0, $out_syn = 0, $overlap = 0, $overlap3 = 0, $pcm$addr = 0, $postfilter_gain = 0.0, $postfilter_gain320 = 0, $postfilter_gain335 = 0, $postfilter_gain347 = 0, $postfilter_gain352 = 0, $postfilter_gain359 = 0, $postfilter_gain_old = 0, $postfilter_gain_old348 = 0, $postfilter_gain_old360 = 0, $postfilter_period = 0;
- var $postfilter_period302 = 0, $postfilter_period306 = 0, $postfilter_period318 = 0, $postfilter_period332 = 0, $postfilter_period345 = 0, $postfilter_period351 = 0, $postfilter_period357 = 0, $postfilter_period_old = 0, $postfilter_period_old310 = 0, $postfilter_period_old314 = 0, $postfilter_period_old317 = 0, $postfilter_period_old346 = 0, $postfilter_period_old358 = 0, $postfilter_pitch = 0, $postfilter_tapset = 0, $postfilter_tapset321 = 0, $postfilter_tapset336 = 0, $postfilter_tapset349 = 0, $postfilter_tapset353 = 0, $postfilter_tapset361 = 0;
- var $postfilter_tapset_old = 0, $postfilter_tapset_old350 = 0, $postfilter_tapset_old362 = 0, $preemph = 0, $preemph486 = 0, $preemph_memD = 0, $preemph_memD488 = 0, $qg = 0, $quanta = 0, $retval = 0, $rng = 0, $rng280 = 0, $rng482 = 0, $rng483 = 0, $saved_stack = 0, $shl = 0, $shl146 = 0, $shl159 = 0, $shl160 = 0, $shl170 = 0;
- var $shl180 = 0, $shl21 = 0, $shl220 = 0, $shl230 = 0, $shl97 = 0, $shortBlocks = 0, $shortMdctSize = 0, $shortMdctSize28 = 0, $shortMdctSize319 = 0, $shortMdctSize327 = 0, $shortMdctSize330 = 0, $shortMdctSize333 = 0, $silence = 0, $spread_decision = 0, $st$addr = 0, $start = 0, $start5 = 0, $stream_channels = 0, $sub = 0, $sub$ptr$div = 0;
- var $sub$ptr$div373 = 0, $sub$ptr$div384 = 0, $sub$ptr$div392 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast370 = 0, $sub$ptr$lhs$cast381 = 0, $sub$ptr$lhs$cast389 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast371 = 0, $sub$ptr$rhs$cast382 = 0, $sub$ptr$rhs$cast390 = 0, $sub$ptr$sub = 0, $sub$ptr$sub372 = 0, $sub$ptr$sub383 = 0, $sub$ptr$sub391 = 0, $sub101 = 0, $sub157 = 0, $sub193 = 0, $sub198 = 0, $sub203 = 0;
- var $sub222 = 0, $sub223 = 0, $sub235 = 0, $sub243 = 0, $sub269 = 0, $sub277 = 0, $sub334 = 0, $tell = 0, $tobool = 0, $tobool125 = 0, $tobool189 = 0, $tobool224 = 0, $tobool278 = 0, $tobool283 = 0, $tobool377 = 0, $tobool498 = 0, $tobool94 = 0, $total_bits = 0, $vla = 0, $vla$alloca_mul = 0;
- var $vla144 = 0, $vla144$alloca_mul = 0, $vla145 = 0, $vla145$alloca_mul = 0, $vla210 = 0, $vla210$alloca_mul = 0, $vla236 = 0, $vla236$alloca_mul = 0, $vla237 = 0, $vla237$alloca_mul = 0, $vla258 = 0, $vla258$alloca_mul = 0, $vla260 = 0, $vla260$alloca_mul = 0, $width = 0, $window = 0, $window337 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 304|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(304|0);
- $_dec = sp + 192|0;
- $decode_mem = sp + 184|0;
- $out_syn = sp + 176|0;
- $intensity = sp + 96|0;
- $dual_stereo = sp + 92|0;
- $balance = sp + 84|0;
- $st$addr = $st;
- $data$addr = $data;
- $len$addr = $len;
- $pcm$addr = $pcm;
- $frame_size$addr = $frame_size;
- $dec$addr = $dec;
- $accum$addr = $accum;
- $0 = $st$addr;
- $channels = ((($0)) + 8|0);
- $1 = HEAP32[$channels>>2]|0;
- $CC = $1;
- HEAP32[$intensity>>2] = 0;
- HEAP32[$dual_stereo>>2] = 0;
- $anti_collapse_on = 0;
- $2 = $st$addr;
- $stream_channels = ((($2)) + 12|0);
- $3 = HEAP32[$stream_channels>>2]|0;
- $C = $3;
- $4 = $st$addr;
- $5 = HEAP32[$4>>2]|0;
- $mode = $5;
- $6 = $mode;
- $nbEBands2 = ((($6)) + 8|0);
- $7 = HEAP32[$nbEBands2>>2]|0;
- $nbEBands = $7;
- $8 = $mode;
- $overlap3 = ((($8)) + 4|0);
- $9 = HEAP32[$overlap3>>2]|0;
- $overlap = $9;
- $10 = $mode;
- $eBands4 = ((($10)) + 32|0);
- $11 = HEAP32[$eBands4>>2]|0;
- $eBands = $11;
- $12 = $st$addr;
- $start5 = ((($12)) + 20|0);
- $13 = HEAP32[$start5>>2]|0;
- $start = $13;
- $14 = $st$addr;
- $end6 = ((($14)) + 24|0);
- $15 = HEAP32[$end6>>2]|0;
- $end = $15;
- $16 = $st$addr;
- $downsample = ((($16)) + 16|0);
- $17 = HEAP32[$downsample>>2]|0;
- $18 = $frame_size$addr;
- $mul = Math_imul($18, $17)|0;
- $frame_size$addr = $mul;
- $19 = $st$addr;
- $_decode_mem = ((($19)) + 84|0);
- $20 = $overlap;
- $add = (2048 + ($20))|0;
- $21 = $CC;
- $mul7 = Math_imul($add, $21)|0;
- $add$ptr = (($_decode_mem) + ($mul7<<2)|0);
- $lpc = $add$ptr;
- $22 = $lpc;
- $23 = $CC;
- $mul8 = ($23*24)|0;
- $add$ptr9 = (($22) + ($mul8<<2)|0);
- $oldBandE = $add$ptr9;
- $24 = $oldBandE;
- $25 = $nbEBands;
- $mul10 = $25<<1;
- $add$ptr11 = (($24) + ($mul10<<2)|0);
- $oldLogE = $add$ptr11;
- $26 = $oldLogE;
- $27 = $nbEBands;
- $mul12 = $27<<1;
- $add$ptr13 = (($26) + ($mul12<<2)|0);
- $oldLogE2 = $add$ptr13;
- $28 = $oldLogE2;
- $29 = $nbEBands;
- $mul14 = $29<<1;
- $add$ptr15 = (($28) + ($mul14<<2)|0);
- $backgroundLogE = $add$ptr15;
- $LM = 0;
- while(1) {
- $30 = $LM;
- $31 = $mode;
- $maxLM = ((($31)) + 36|0);
- $32 = HEAP32[$maxLM>>2]|0;
- $cmp = ($30|0)<=($32|0);
- if (!($cmp)) {
- break;
- }
- $33 = $mode;
- $shortMdctSize = ((($33)) + 44|0);
- $34 = HEAP32[$shortMdctSize>>2]|0;
- $35 = $LM;
- $shl = $34 << $35;
- $36 = $frame_size$addr;
- $cmp16 = ($shl|0)==($36|0);
- if ($cmp16) {
- break;
- }
- $37 = $LM;
- $inc = (($37) + 1)|0;
- $LM = $inc;
- }
- $38 = $LM;
- $39 = $mode;
- $maxLM17 = ((($39)) + 36|0);
- $40 = HEAP32[$maxLM17>>2]|0;
- $cmp18 = ($38|0)>($40|0);
- if ($cmp18) {
- $retval = -1;
- $504 = $retval;
- STACKTOP = sp;return ($504|0);
- }
- $41 = $LM;
- $shl21 = 1 << $41;
- $M = $shl21;
- $42 = $len$addr;
- $cmp22 = ($42|0)<(0);
- $43 = $len$addr;
- $cmp23 = ($43|0)>(1275);
- $or$cond = $cmp22 | $cmp23;
- $44 = $pcm$addr;
- $cmp25 = ($44|0)==(0|0);
- $or$cond1 = $or$cond | $cmp25;
- if ($or$cond1) {
- $retval = -1;
- $504 = $retval;
- STACKTOP = sp;return ($504|0);
- }
- $45 = $M;
- $46 = $mode;
- $shortMdctSize28 = ((($46)) + 44|0);
- $47 = HEAP32[$shortMdctSize28>>2]|0;
- $mul29 = Math_imul($45, $47)|0;
- $N = $mul29;
- $c = 0;
- while(1) {
- $48 = $st$addr;
- $_decode_mem30 = ((($48)) + 84|0);
- $49 = $c;
- $50 = $overlap;
- $add32 = (2048 + ($50))|0;
- $mul33 = Math_imul($49, $add32)|0;
- $add$ptr34 = (($_decode_mem30) + ($mul33<<2)|0);
- $51 = $c;
- $arrayidx = (($decode_mem) + ($51<<2)|0);
- HEAP32[$arrayidx>>2] = $add$ptr34;
- $52 = $c;
- $arrayidx35 = (($decode_mem) + ($52<<2)|0);
- $53 = HEAP32[$arrayidx35>>2]|0;
- $add$ptr36 = ((($53)) + 8192|0);
- $54 = $N;
- $idx$neg = (0 - ($54))|0;
- $add$ptr37 = (($add$ptr36) + ($idx$neg<<2)|0);
- $55 = $c;
- $arrayidx38 = (($out_syn) + ($55<<2)|0);
- HEAP32[$arrayidx38>>2] = $add$ptr37;
- $56 = $c;
- $inc39 = (($56) + 1)|0;
- $c = $inc39;
- $57 = $CC;
- $cmp40 = ($inc39|0)<($57|0);
- if (!($cmp40)) {
- break;
- }
- }
- $58 = $end;
- $effEnd = $58;
- $59 = $effEnd;
- $60 = $mode;
- $effEBands = ((($60)) + 12|0);
- $61 = HEAP32[$effEBands>>2]|0;
- $cmp41 = ($59|0)>($61|0);
- if ($cmp41) {
- $62 = $mode;
- $effEBands43 = ((($62)) + 12|0);
- $63 = HEAP32[$effEBands43>>2]|0;
- $effEnd = $63;
- }
- $64 = $data$addr;
- $cmp45 = ($64|0)==(0|0);
- $65 = $len$addr;
- $cmp47 = ($65|0)<=(1);
- $or$cond2 = $cmp45 | $cmp47;
- if ($or$cond2) {
- $66 = $st$addr;
- $67 = $N;
- $68 = $LM;
- _celt_decode_lost($66,$67,$68);
- $69 = $pcm$addr;
- $70 = $N;
- $71 = $CC;
- $72 = $st$addr;
- $downsample50 = ((($72)) + 16|0);
- $73 = HEAP32[$downsample50>>2]|0;
- $74 = $mode;
- $preemph = ((($74)) + 16|0);
- $75 = $st$addr;
- $preemph_memD = ((($75)) + 76|0);
- $76 = $accum$addr;
- _deemphasis($out_syn,$69,$70,$71,$73,$preemph,$preemph_memD,$76);
- $77 = $frame_size$addr;
- $78 = $st$addr;
- $downsample53 = ((($78)) + 16|0);
- $79 = HEAP32[$downsample53>>2]|0;
- $div = (($77|0) / ($79|0))&-1;
- $retval = $div;
- $504 = $retval;
- STACKTOP = sp;return ($504|0);
- }
- $80 = $dec$addr;
- $cmp55 = ($80|0)==(0|0);
- if ($cmp55) {
- $81 = $data$addr;
- $82 = $len$addr;
- _ec_dec_init($_dec,$81,$82);
- $dec$addr = $_dec;
- }
- $83 = $C;
- $cmp58 = ($83|0)==(1);
- L27: do {
- if ($cmp58) {
- $i = 0;
- while(1) {
- $84 = $i;
- $85 = $nbEBands;
- $cmp61 = ($84|0)<($85|0);
- if (!($cmp61)) {
- break L27;
- }
- $86 = $oldBandE;
- $87 = $i;
- $arrayidx63 = (($86) + ($87<<2)|0);
- $88 = +HEAPF32[$arrayidx63>>2];
- $89 = $oldBandE;
- $90 = $nbEBands;
- $91 = $i;
- $add64 = (($90) + ($91))|0;
- $arrayidx65 = (($89) + ($add64<<2)|0);
- $92 = +HEAPF32[$arrayidx65>>2];
- $cmp66 = $88 > $92;
- $93 = $oldBandE;
- if ($cmp66) {
- $94 = $i;
- $add68$sink = $94;
- } else {
- $95 = $nbEBands;
- $96 = $i;
- $add68 = (($95) + ($96))|0;
- $add68$sink = $add68;
- }
- $arrayidx69 = (($93) + ($add68$sink<<2)|0);
- $97 = +HEAPF32[$arrayidx69>>2];
- $98 = $oldBandE;
- $99 = $i;
- $arrayidx70 = (($98) + ($99<<2)|0);
- HEAPF32[$arrayidx70>>2] = $97;
- $100 = $i;
- $inc72 = (($100) + 1)|0;
- $i = $inc72;
- }
- }
- } while(0);
- $101 = $len$addr;
- $mul75 = $101<<3;
- $total_bits = $mul75;
- $102 = $dec$addr;
- $call = (_ec_tell_61($102)|0);
- $tell = $call;
- $103 = $tell;
- $104 = $total_bits;
- $cmp76 = ($103|0)>=($104|0);
- do {
- if ($cmp76) {
- $silence = 1;
- } else {
- $105 = $tell;
- $cmp78 = ($105|0)==(1);
- if ($cmp78) {
- $106 = $dec$addr;
- $call80 = (_ec_dec_bit_logp($106,15)|0);
- $silence = $call80;
- break;
- } else {
- $silence = 0;
- break;
- }
- }
- } while(0);
- $107 = $silence;
- $tobool = ($107|0)!=(0);
- if ($tobool) {
- $108 = $len$addr;
- $mul85 = $108<<3;
- $tell = $mul85;
- $109 = $tell;
- $110 = $dec$addr;
- $call86 = (_ec_tell_61($110)|0);
- $sub = (($109) - ($call86))|0;
- $111 = $dec$addr;
- $nbits_total = ((($111)) + 20|0);
- $112 = HEAP32[$nbits_total>>2]|0;
- $add87 = (($112) + ($sub))|0;
- HEAP32[$nbits_total>>2] = $add87;
- }
- $postfilter_gain = 0.0;
- $postfilter_pitch = 0;
- $postfilter_tapset = 0;
- $113 = $start;
- $cmp89 = ($113|0)==(0);
- if ($cmp89) {
- $114 = $tell;
- $add90 = (($114) + 16)|0;
- $115 = $total_bits;
- $cmp91 = ($add90|0)<=($115|0);
- if ($cmp91) {
- $116 = $dec$addr;
- $call93 = (_ec_dec_bit_logp($116,1)|0);
- $tobool94 = ($call93|0)!=(0);
- if ($tobool94) {
- $117 = $dec$addr;
- $call96 = (_ec_dec_uint($117,6)|0);
- $octave = $call96;
- $118 = $octave;
- $shl97 = 16 << $118;
- $119 = $dec$addr;
- $120 = $octave;
- $add98 = (4 + ($120))|0;
- $call99 = (_ec_dec_bits($119,$add98)|0);
- $add100 = (($shl97) + ($call99))|0;
- $sub101 = (($add100) - 1)|0;
- $postfilter_pitch = $sub101;
- $121 = $dec$addr;
- $call102 = (_ec_dec_bits($121,3)|0);
- $qg = $call102;
- $122 = $dec$addr;
- $call103 = (_ec_tell_61($122)|0);
- $add104 = (($call103) + 2)|0;
- $123 = $total_bits;
- $cmp105 = ($add104|0)<=($123|0);
- if ($cmp105) {
- $124 = $dec$addr;
- $call107 = (_ec_dec_icdf($124,25932,2)|0);
- $postfilter_tapset = $call107;
- }
- $125 = $qg;
- $add109 = (($125) + 1)|0;
- $conv = (+($add109|0));
- $mul110 = 0.09375 * $conv;
- $postfilter_gain = $mul110;
- }
- $126 = $dec$addr;
- $call112 = (_ec_tell_61($126)|0);
- $tell = $call112;
- }
- }
- $127 = $LM;
- $cmp114 = ($127|0)>(0);
- if ($cmp114) {
- $128 = $tell;
- $add117 = (($128) + 3)|0;
- $129 = $total_bits;
- $cmp118 = ($add117|0)<=($129|0);
- if ($cmp118) {
- $130 = $dec$addr;
- $call121 = (_ec_dec_bit_logp($130,3)|0);
- $isTransient = $call121;
- $131 = $dec$addr;
- $call122 = (_ec_tell_61($131)|0);
- $tell = $call122;
- } else {
- label = 41;
- }
- } else {
- label = 41;
- }
- if ((label|0) == 41) {
- $isTransient = 0;
- }
- $132 = $isTransient;
- $tobool125 = ($132|0)!=(0);
- if ($tobool125) {
- $133 = $M;
- $shortBlocks = $133;
- } else {
- $shortBlocks = 0;
- }
- $134 = $tell;
- $add129 = (($134) + 3)|0;
- $135 = $total_bits;
- $cmp130 = ($add129|0)<=($135|0);
- if ($cmp130) {
- $136 = $dec$addr;
- $call133 = (_ec_dec_bit_logp($136,3)|0);
- $cond136 = $call133;
- } else {
- $cond136 = 0;
- }
- $intra_ener = $cond136;
- $137 = $mode;
- $138 = $start;
- $139 = $end;
- $140 = $oldBandE;
- $141 = $intra_ener;
- $142 = $dec$addr;
- $143 = $C;
- $144 = $LM;
- _unquant_coarse_energy($137,$138,$139,$140,$141,$142,$143,$144);
- $145 = $nbEBands;
- $146 = (_llvm_stacksave()|0);
- $saved_stack = $146;
- $vla$alloca_mul = $145<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $147 = $start;
- $148 = $end;
- $149 = $isTransient;
- $150 = $LM;
- $151 = $dec$addr;
- _tf_decode($147,$148,$149,$vla,$150,$151);
- $152 = $dec$addr;
- $call137 = (_ec_tell_61($152)|0);
- $tell = $call137;
- $spread_decision = 2;
- $153 = $tell;
- $add138 = (($153) + 4)|0;
- $154 = $total_bits;
- $cmp139 = ($add138|0)<=($154|0);
- if ($cmp139) {
- $155 = $dec$addr;
- $call142 = (_ec_dec_icdf($155,25935,5)|0);
- $spread_decision = $call142;
- }
- $156 = $nbEBands;
- $vla144$alloca_mul = $156<<2;
- $vla144 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla144$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla144$alloca_mul)|0)+15)&-16)|0);;
- $157 = $mode;
- $158 = $LM;
- $159 = $C;
- _init_caps($157,$vla144,$158,$159);
- $160 = $nbEBands;
- $vla145$alloca_mul = $160<<2;
- $vla145 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla145$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla145$alloca_mul)|0)+15)&-16)|0);;
- $dynalloc_logp = 6;
- $161 = $total_bits;
- $shl146 = $161 << 3;
- $total_bits = $shl146;
- $162 = $dec$addr;
- $call147 = (_ec_tell_frac($162)|0);
- $tell = $call147;
- $163 = $start;
- $i = $163;
- while(1) {
- $164 = $i;
- $165 = $end;
- $cmp149 = ($164|0)<($165|0);
- if (!($cmp149)) {
- break;
- }
- $166 = $C;
- $167 = $eBands;
- $168 = $i;
- $add152 = (($168) + 1)|0;
- $arrayidx153 = (($167) + ($add152<<1)|0);
- $169 = HEAP16[$arrayidx153>>1]|0;
- $conv154 = $169 << 16 >> 16;
- $170 = $eBands;
- $171 = $i;
- $arrayidx155 = (($170) + ($171<<1)|0);
- $172 = HEAP16[$arrayidx155>>1]|0;
- $conv156 = $172 << 16 >> 16;
- $sub157 = (($conv154) - ($conv156))|0;
- $mul158 = Math_imul($166, $sub157)|0;
- $173 = $LM;
- $shl159 = $mul158 << $173;
- $width = $shl159;
- $174 = $width;
- $shl160 = $174 << 3;
- $175 = $width;
- $cmp161 = (48)>($175|0);
- $176 = $width;
- $cond166 = $cmp161 ? 48 : $176;
- $cmp167 = ($shl160|0)<($cond166|0);
- $177 = $width;
- if ($cmp167) {
- $shl170 = $177 << 3;
- $cond179 = $shl170;
- } else {
- $cmp172 = (48)>($177|0);
- $178 = $width;
- $cond177 = $cmp172 ? 48 : $178;
- $cond179 = $cond177;
- }
- $quanta = $cond179;
- $179 = $dynalloc_logp;
- $dynalloc_loop_logp = $179;
- $boost = 0;
- while(1) {
- $180 = $tell;
- $181 = $dynalloc_loop_logp;
- $shl180 = $181 << 3;
- $add181 = (($180) + ($shl180))|0;
- $182 = $total_bits;
- $cmp182 = ($add181|0)<($182|0);
- if (!($cmp182)) {
- break;
- }
- $183 = $boost;
- $184 = $i;
- $arrayidx184 = (($vla144) + ($184<<2)|0);
- $185 = HEAP32[$arrayidx184>>2]|0;
- $cmp185 = ($183|0)<($185|0);
- if (!($cmp185)) {
- break;
- }
- $186 = $dec$addr;
- $187 = $dynalloc_loop_logp;
- $call187 = (_ec_dec_bit_logp($186,$187)|0);
- $flag = $call187;
- $188 = $dec$addr;
- $call188 = (_ec_tell_frac($188)|0);
- $tell = $call188;
- $189 = $flag;
- $tobool189 = ($189|0)!=(0);
- if (!($tobool189)) {
- break;
- }
- $190 = $quanta;
- $191 = $boost;
- $add192 = (($191) + ($190))|0;
- $boost = $add192;
- $192 = $quanta;
- $193 = $total_bits;
- $sub193 = (($193) - ($192))|0;
- $total_bits = $sub193;
- $dynalloc_loop_logp = 1;
- }
- $194 = $boost;
- $195 = $i;
- $arrayidx194 = (($vla145) + ($195<<2)|0);
- HEAP32[$arrayidx194>>2] = $194;
- $196 = $boost;
- $cmp195 = ($196|0)>(0);
- if ($cmp195) {
- $197 = $dynalloc_logp;
- $sub198 = (($197) - 1)|0;
- $cmp199 = (2)>($sub198|0);
- $198 = $dynalloc_logp;
- $sub203 = (($198) - 1)|0;
- $cond205 = $cmp199 ? 2 : $sub203;
- $dynalloc_logp = $cond205;
- }
- $199 = $i;
- $inc208 = (($199) + 1)|0;
- $i = $inc208;
- }
- $200 = $nbEBands;
- $vla210$alloca_mul = $200<<2;
- $vla210 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla210$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla210$alloca_mul)|0)+15)&-16)|0);;
- $201 = $tell;
- $add211 = (($201) + 48)|0;
- $202 = $total_bits;
- $cmp212 = ($add211|0)<=($202|0);
- if ($cmp212) {
- $203 = $dec$addr;
- $call215 = (_ec_dec_icdf($203,25939,7)|0);
- $cond218 = $call215;
- } else {
- $cond218 = 5;
- }
- $alloc_trim = $cond218;
- $204 = $len$addr;
- $mul219 = $204<<3;
- $shl220 = $mul219 << 3;
- $205 = $dec$addr;
- $call221 = (_ec_tell_frac($205)|0);
- $sub222 = (($shl220) - ($call221))|0;
- $sub223 = (($sub222) - 1)|0;
- $bits = $sub223;
- $206 = $isTransient;
- $tobool224 = ($206|0)!=(0);
- $207 = $LM;
- $cmp226 = ($207|0)>=(2);
- $or$cond3 = $tobool224 & $cmp226;
- if ($or$cond3) {
- $208 = $bits;
- $209 = $LM;
- $add229 = (($209) + 2)|0;
- $shl230 = $add229 << 3;
- $cmp231 = ($208|0)>=($shl230|0);
- $210 = $cmp231;
- } else {
- $210 = 0;
- }
- $cond234 = $210 ? 8 : 0;
- $anti_collapse_rsv = $cond234;
- $211 = $anti_collapse_rsv;
- $212 = $bits;
- $sub235 = (($212) - ($211))|0;
- $bits = $sub235;
- $213 = $nbEBands;
- $vla236$alloca_mul = $213<<2;
- $vla236 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla236$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla236$alloca_mul)|0)+15)&-16)|0);;
- $214 = $nbEBands;
- $vla237$alloca_mul = $214<<2;
- $vla237 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla237$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla237$alloca_mul)|0)+15)&-16)|0);;
- $215 = $mode;
- $216 = $start;
- $217 = $end;
- $218 = $alloc_trim;
- $219 = $bits;
- $220 = $C;
- $221 = $LM;
- $222 = $dec$addr;
- $call238 = (_compute_allocation($215,$216,$217,$vla145,$vla144,$218,$intensity,$dual_stereo,$219,$balance,$vla236,$vla210,$vla237,$220,$221,$222,0,0,0)|0);
- $codedBands = $call238;
- $223 = $mode;
- $224 = $start;
- $225 = $end;
- $226 = $oldBandE;
- $227 = $dec$addr;
- $228 = $C;
- _unquant_fine_energy($223,$224,$225,$226,$vla210,$227,$228);
- $c = 0;
- while(1) {
- $229 = $c;
- $arrayidx240 = (($decode_mem) + ($229<<2)|0);
- $230 = HEAP32[$arrayidx240>>2]|0;
- $231 = $c;
- $arrayidx241 = (($decode_mem) + ($231<<2)|0);
- $232 = HEAP32[$arrayidx241>>2]|0;
- $233 = $N;
- $add$ptr242 = (($232) + ($233<<2)|0);
- $234 = $N;
- $sub243 = (2048 - ($234))|0;
- $235 = $overlap;
- $div244 = (($235|0) / 2)&-1;
- $add245 = (($sub243) + ($div244))|0;
- $mul246 = $add245<<2;
- $236 = $c;
- $arrayidx247 = (($decode_mem) + ($236<<2)|0);
- $237 = HEAP32[$arrayidx247>>2]|0;
- $238 = $c;
- $arrayidx248 = (($decode_mem) + ($238<<2)|0);
- $239 = HEAP32[$arrayidx248>>2]|0;
- $240 = $N;
- $add$ptr249 = (($239) + ($240<<2)|0);
- $sub$ptr$lhs$cast = $237;
- $sub$ptr$rhs$cast = $add$ptr249;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul250 = 0;
- $add251 = (($mul246) + ($mul250))|0;
- _memmove(($230|0),($add$ptr242|0),($add251|0))|0;
- $241 = $c;
- $inc253 = (($241) + 1)|0;
- $c = $inc253;
- $242 = $CC;
- $cmp254 = ($inc253|0)<($242|0);
- if (!($cmp254)) {
- break;
- }
- }
- $243 = $C;
- $244 = $nbEBands;
- $mul257 = Math_imul($243, $244)|0;
- $vla258$alloca_mul = $mul257;
- $vla258 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla258$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla258$alloca_mul)|0)+15)&-16)|0);;
- $245 = $C;
- $246 = $N;
- $mul259 = Math_imul($245, $246)|0;
- $vla260$alloca_mul = $mul259<<2;
- $vla260 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla260$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla260$alloca_mul)|0)+15)&-16)|0);;
- $247 = $mode;
- $248 = $start;
- $249 = $end;
- $250 = $C;
- $cmp261 = ($250|0)==(2);
- $251 = $N;
- $add$ptr264 = (($vla260) + ($251<<2)|0);
- $cond267 = $cmp261 ? $add$ptr264 : 0;
- $252 = $shortBlocks;
- $253 = $spread_decision;
- $254 = HEAP32[$dual_stereo>>2]|0;
- $255 = HEAP32[$intensity>>2]|0;
- $256 = $len$addr;
- $mul268 = $256<<6;
- $257 = $anti_collapse_rsv;
- $sub269 = (($mul268) - ($257))|0;
- $258 = HEAP32[$balance>>2]|0;
- $259 = $dec$addr;
- $260 = $LM;
- $261 = $codedBands;
- $262 = $st$addr;
- $rng = ((($262)) + 36|0);
- $263 = $st$addr;
- $arch = ((($263)) + 32|0);
- $264 = HEAP32[$arch>>2]|0;
- _quant_all_bands(0,$247,$248,$249,$vla260,$cond267,$vla258,0,$vla236,$252,$253,$254,$255,$vla,$sub269,$258,$259,$260,$261,$rng,$264);
- $265 = $anti_collapse_rsv;
- $cmp270 = ($265|0)>(0);
- if ($cmp270) {
- $266 = $dec$addr;
- $call273 = (_ec_dec_bits($266,1)|0);
- $anti_collapse_on = $call273;
- }
- $267 = $mode;
- $268 = $start;
- $269 = $end;
- $270 = $oldBandE;
- $271 = $len$addr;
- $mul275 = $271<<3;
- $272 = $dec$addr;
- $call276 = (_ec_tell_61($272)|0);
- $sub277 = (($mul275) - ($call276))|0;
- $273 = $dec$addr;
- $274 = $C;
- _unquant_energy_finalise($267,$268,$269,$270,$vla210,$vla237,$sub277,$273,$274);
- $275 = $anti_collapse_on;
- $tobool278 = ($275|0)!=(0);
- if ($tobool278) {
- $276 = $mode;
- $277 = $LM;
- $278 = $C;
- $279 = $N;
- $280 = $start;
- $281 = $end;
- $282 = $oldBandE;
- $283 = $oldLogE;
- $284 = $oldLogE2;
- $285 = $st$addr;
- $rng280 = ((($285)) + 36|0);
- $286 = HEAP32[$rng280>>2]|0;
- $287 = $st$addr;
- $arch281 = ((($287)) + 32|0);
- $288 = HEAP32[$arch281>>2]|0;
- _anti_collapse($276,$vla260,$vla258,$277,$278,$279,$280,$281,$282,$283,$284,$vla236,$286,$288);
- }
- $289 = $silence;
- $tobool283 = ($289|0)!=(0);
- L105: do {
- if ($tobool283) {
- $i = 0;
- while(1) {
- $290 = $i;
- $291 = $C;
- $292 = $nbEBands;
- $mul286 = Math_imul($291, $292)|0;
- $cmp287 = ($290|0)<($mul286|0);
- if (!($cmp287)) {
- break L105;
- }
- $293 = $oldBandE;
- $294 = $i;
- $arrayidx290 = (($293) + ($294<<2)|0);
- HEAPF32[$arrayidx290>>2] = -28.0;
- $295 = $i;
- $inc292 = (($295) + 1)|0;
- $i = $inc292;
- }
- }
- } while(0);
- $296 = $mode;
- $297 = $oldBandE;
- $298 = $start;
- $299 = $effEnd;
- $300 = $C;
- $301 = $CC;
- $302 = $isTransient;
- $303 = $LM;
- $304 = $st$addr;
- $downsample296 = ((($304)) + 16|0);
- $305 = HEAP32[$downsample296>>2]|0;
- $306 = $silence;
- $307 = $st$addr;
- $arch297 = ((($307)) + 32|0);
- $308 = HEAP32[$arch297>>2]|0;
- _celt_synthesis($296,$vla260,$out_syn,$297,$298,$299,$300,$301,$302,$303,$305,$306,$308);
- $c = 0;
- while(1) {
- $309 = $st$addr;
- $postfilter_period = ((($309)) + 52|0);
- $310 = HEAP32[$postfilter_period>>2]|0;
- $cmp299 = ($310|0)>(15);
- if ($cmp299) {
- $311 = $st$addr;
- $postfilter_period302 = ((($311)) + 52|0);
- $312 = HEAP32[$postfilter_period302>>2]|0;
- $cond305 = $312;
- } else {
- $cond305 = 15;
- }
- $313 = $st$addr;
- $postfilter_period306 = ((($313)) + 52|0);
- HEAP32[$postfilter_period306>>2] = $cond305;
- $314 = $st$addr;
- $postfilter_period_old = ((($314)) + 56|0);
- $315 = HEAP32[$postfilter_period_old>>2]|0;
- $cmp307 = ($315|0)>(15);
- if ($cmp307) {
- $316 = $st$addr;
- $postfilter_period_old310 = ((($316)) + 56|0);
- $317 = HEAP32[$postfilter_period_old310>>2]|0;
- $cond313 = $317;
- } else {
- $cond313 = 15;
- }
- $318 = $st$addr;
- $postfilter_period_old314 = ((($318)) + 56|0);
- HEAP32[$postfilter_period_old314>>2] = $cond313;
- $319 = $c;
- $arrayidx315 = (($out_syn) + ($319<<2)|0);
- $320 = HEAP32[$arrayidx315>>2]|0;
- $321 = $c;
- $arrayidx316 = (($out_syn) + ($321<<2)|0);
- $322 = HEAP32[$arrayidx316>>2]|0;
- $323 = $st$addr;
- $postfilter_period_old317 = ((($323)) + 56|0);
- $324 = HEAP32[$postfilter_period_old317>>2]|0;
- $325 = $st$addr;
- $postfilter_period318 = ((($325)) + 52|0);
- $326 = HEAP32[$postfilter_period318>>2]|0;
- $327 = $mode;
- $shortMdctSize319 = ((($327)) + 44|0);
- $328 = HEAP32[$shortMdctSize319>>2]|0;
- $329 = $st$addr;
- $postfilter_gain_old = ((($329)) + 64|0);
- $330 = +HEAPF32[$postfilter_gain_old>>2];
- $331 = $st$addr;
- $postfilter_gain320 = ((($331)) + 60|0);
- $332 = +HEAPF32[$postfilter_gain320>>2];
- $333 = $st$addr;
- $postfilter_tapset_old = ((($333)) + 72|0);
- $334 = HEAP32[$postfilter_tapset_old>>2]|0;
- $335 = $st$addr;
- $postfilter_tapset321 = ((($335)) + 68|0);
- $336 = HEAP32[$postfilter_tapset321>>2]|0;
- $337 = $mode;
- $window = ((($337)) + 60|0);
- $338 = HEAP32[$window>>2]|0;
- $339 = $overlap;
- $340 = $st$addr;
- $arch322 = ((($340)) + 32|0);
- $341 = HEAP32[$arch322>>2]|0;
- _comb_filter($320,$322,$324,$326,$328,$330,$332,$334,$336,$338,$339,$341);
- $342 = $LM;
- $cmp323 = ($342|0)!=(0);
- if ($cmp323) {
- $343 = $c;
- $arrayidx326 = (($out_syn) + ($343<<2)|0);
- $344 = HEAP32[$arrayidx326>>2]|0;
- $345 = $mode;
- $shortMdctSize327 = ((($345)) + 44|0);
- $346 = HEAP32[$shortMdctSize327>>2]|0;
- $add$ptr328 = (($344) + ($346<<2)|0);
- $347 = $c;
- $arrayidx329 = (($out_syn) + ($347<<2)|0);
- $348 = HEAP32[$arrayidx329>>2]|0;
- $349 = $mode;
- $shortMdctSize330 = ((($349)) + 44|0);
- $350 = HEAP32[$shortMdctSize330>>2]|0;
- $add$ptr331 = (($348) + ($350<<2)|0);
- $351 = $st$addr;
- $postfilter_period332 = ((($351)) + 52|0);
- $352 = HEAP32[$postfilter_period332>>2]|0;
- $353 = $postfilter_pitch;
- $354 = $N;
- $355 = $mode;
- $shortMdctSize333 = ((($355)) + 44|0);
- $356 = HEAP32[$shortMdctSize333>>2]|0;
- $sub334 = (($354) - ($356))|0;
- $357 = $st$addr;
- $postfilter_gain335 = ((($357)) + 60|0);
- $358 = +HEAPF32[$postfilter_gain335>>2];
- $359 = $postfilter_gain;
- $360 = $st$addr;
- $postfilter_tapset336 = ((($360)) + 68|0);
- $361 = HEAP32[$postfilter_tapset336>>2]|0;
- $362 = $postfilter_tapset;
- $363 = $mode;
- $window337 = ((($363)) + 60|0);
- $364 = HEAP32[$window337>>2]|0;
- $365 = $overlap;
- $366 = $st$addr;
- $arch338 = ((($366)) + 32|0);
- $367 = HEAP32[$arch338>>2]|0;
- _comb_filter($add$ptr328,$add$ptr331,$352,$353,$sub334,$358,$359,$361,$362,$364,$365,$367);
- }
- $368 = $c;
- $inc341 = (($368) + 1)|0;
- $c = $inc341;
- $369 = $CC;
- $cmp342 = ($inc341|0)<($369|0);
- if (!($cmp342)) {
- break;
- }
- }
- $370 = $st$addr;
- $postfilter_period345 = ((($370)) + 52|0);
- $371 = HEAP32[$postfilter_period345>>2]|0;
- $372 = $st$addr;
- $postfilter_period_old346 = ((($372)) + 56|0);
- HEAP32[$postfilter_period_old346>>2] = $371;
- $373 = $st$addr;
- $postfilter_gain347 = ((($373)) + 60|0);
- $374 = +HEAPF32[$postfilter_gain347>>2];
- $375 = $st$addr;
- $postfilter_gain_old348 = ((($375)) + 64|0);
- HEAPF32[$postfilter_gain_old348>>2] = $374;
- $376 = $st$addr;
- $postfilter_tapset349 = ((($376)) + 68|0);
- $377 = HEAP32[$postfilter_tapset349>>2]|0;
- $378 = $st$addr;
- $postfilter_tapset_old350 = ((($378)) + 72|0);
- HEAP32[$postfilter_tapset_old350>>2] = $377;
- $379 = $postfilter_pitch;
- $380 = $st$addr;
- $postfilter_period351 = ((($380)) + 52|0);
- HEAP32[$postfilter_period351>>2] = $379;
- $381 = $postfilter_gain;
- $382 = $st$addr;
- $postfilter_gain352 = ((($382)) + 60|0);
- HEAPF32[$postfilter_gain352>>2] = $381;
- $383 = $postfilter_tapset;
- $384 = $st$addr;
- $postfilter_tapset353 = ((($384)) + 68|0);
- HEAP32[$postfilter_tapset353>>2] = $383;
- $385 = $LM;
- $cmp354 = ($385|0)!=(0);
- if ($cmp354) {
- $386 = $st$addr;
- $postfilter_period357 = ((($386)) + 52|0);
- $387 = HEAP32[$postfilter_period357>>2]|0;
- $388 = $st$addr;
- $postfilter_period_old358 = ((($388)) + 56|0);
- HEAP32[$postfilter_period_old358>>2] = $387;
- $389 = $st$addr;
- $postfilter_gain359 = ((($389)) + 60|0);
- $390 = +HEAPF32[$postfilter_gain359>>2];
- $391 = $st$addr;
- $postfilter_gain_old360 = ((($391)) + 64|0);
- HEAPF32[$postfilter_gain_old360>>2] = $390;
- $392 = $st$addr;
- $postfilter_tapset361 = ((($392)) + 68|0);
- $393 = HEAP32[$postfilter_tapset361>>2]|0;
- $394 = $st$addr;
- $postfilter_tapset_old362 = ((($394)) + 72|0);
- HEAP32[$postfilter_tapset_old362>>2] = $393;
- }
- $395 = $C;
- $cmp364 = ($395|0)==(1);
- if ($cmp364) {
- $396 = $oldBandE;
- $397 = $nbEBands;
- $arrayidx367 = (($396) + ($397<<2)|0);
- $398 = $oldBandE;
- $399 = $nbEBands;
- $mul368 = $399<<2;
- $400 = $oldBandE;
- $401 = $nbEBands;
- $arrayidx369 = (($400) + ($401<<2)|0);
- $402 = $oldBandE;
- $sub$ptr$lhs$cast370 = $arrayidx369;
- $sub$ptr$rhs$cast371 = $402;
- $sub$ptr$sub372 = (($sub$ptr$lhs$cast370) - ($sub$ptr$rhs$cast371))|0;
- $sub$ptr$div373 = (($sub$ptr$sub372|0) / 4)&-1;
- $mul374 = 0;
- $add375 = (($mul368) + ($mul374))|0;
- _memcpy(($arrayidx367|0),($398|0),($add375|0))|0;
- }
- $403 = $isTransient;
- $tobool377 = ($403|0)!=(0);
- L129: do {
- if ($tobool377) {
- $i = 0;
- while(1) {
- $436 = $i;
- $437 = $nbEBands;
- $mul425 = $437<<1;
- $cmp426 = ($436|0)<($mul425|0);
- if (!($cmp426)) {
- break L129;
- }
- $438 = $oldLogE;
- $439 = $i;
- $arrayidx429 = (($438) + ($439<<2)|0);
- $440 = +HEAPF32[$arrayidx429>>2];
- $441 = $oldBandE;
- $442 = $i;
- $arrayidx430 = (($441) + ($442<<2)|0);
- $443 = +HEAPF32[$arrayidx430>>2];
- $cmp431 = $440 < $443;
- if ($cmp431) {
- $444 = $oldLogE;
- $445 = $i;
- $arrayidx434 = (($444) + ($445<<2)|0);
- $arrayidx436$sink = $arrayidx434;
- } else {
- $446 = $oldBandE;
- $447 = $i;
- $arrayidx436 = (($446) + ($447<<2)|0);
- $arrayidx436$sink = $arrayidx436;
- }
- $448 = +HEAPF32[$arrayidx436$sink>>2];
- $449 = $oldLogE;
- $450 = $i;
- $arrayidx439 = (($449) + ($450<<2)|0);
- HEAPF32[$arrayidx439>>2] = $448;
- $451 = $i;
- $inc441 = (($451) + 1)|0;
- $i = $inc441;
- }
- } else {
- $404 = $oldLogE2;
- $405 = $oldLogE;
- $406 = $nbEBands;
- $mul379 = $406<<1;
- $mul380 = $mul379<<2;
- $407 = $oldLogE2;
- $408 = $oldLogE;
- $sub$ptr$lhs$cast381 = $407;
- $sub$ptr$rhs$cast382 = $408;
- $sub$ptr$sub383 = (($sub$ptr$lhs$cast381) - ($sub$ptr$rhs$cast382))|0;
- $sub$ptr$div384 = (($sub$ptr$sub383|0) / 4)&-1;
- $mul385 = 0;
- $add386 = (($mul380) + ($mul385))|0;
- _memcpy(($404|0),($405|0),($add386|0))|0;
- $409 = $oldLogE;
- $410 = $oldBandE;
- $411 = $nbEBands;
- $mul387 = $411<<1;
- $mul388 = $mul387<<2;
- $412 = $oldLogE;
- $413 = $oldBandE;
- $sub$ptr$lhs$cast389 = $412;
- $sub$ptr$rhs$cast390 = $413;
- $sub$ptr$sub391 = (($sub$ptr$lhs$cast389) - ($sub$ptr$rhs$cast390))|0;
- $sub$ptr$div392 = (($sub$ptr$sub391|0) / 4)&-1;
- $mul393 = 0;
- $add394 = (($mul388) + ($mul393))|0;
- _memcpy(($409|0),($410|0),($add394|0))|0;
- $414 = $st$addr;
- $loss_count = ((($414)) + 48|0);
- $415 = HEAP32[$loss_count>>2]|0;
- $cmp395 = ($415|0)<(10);
- if ($cmp395) {
- $416 = $M;
- $conv398 = (+($416|0));
- $mul399 = $conv398 * 0.0010000000474974513;
- $max_background_increase = $mul399;
- } else {
- $max_background_increase = 1.0;
- }
- $i = 0;
- while(1) {
- $417 = $i;
- $418 = $nbEBands;
- $mul403 = $418<<1;
- $cmp404 = ($417|0)<($mul403|0);
- if (!($cmp404)) {
- break L129;
- }
- $419 = $backgroundLogE;
- $420 = $i;
- $arrayidx407 = (($419) + ($420<<2)|0);
- $421 = +HEAPF32[$arrayidx407>>2];
- $422 = $max_background_increase;
- $add408 = $421 + $422;
- $423 = $oldBandE;
- $424 = $i;
- $arrayidx409 = (($423) + ($424<<2)|0);
- $425 = +HEAPF32[$arrayidx409>>2];
- $cmp410 = $add408 < $425;
- if ($cmp410) {
- $426 = $backgroundLogE;
- $427 = $i;
- $arrayidx413 = (($426) + ($427<<2)|0);
- $428 = +HEAPF32[$arrayidx413>>2];
- $429 = $max_background_increase;
- $add414 = $428 + $429;
- $cond418 = $add414;
- } else {
- $430 = $oldBandE;
- $431 = $i;
- $arrayidx416 = (($430) + ($431<<2)|0);
- $432 = +HEAPF32[$arrayidx416>>2];
- $cond418 = $432;
- }
- $433 = $backgroundLogE;
- $434 = $i;
- $arrayidx419 = (($433) + ($434<<2)|0);
- HEAPF32[$arrayidx419>>2] = $cond418;
- $435 = $i;
- $inc421 = (($435) + 1)|0;
- $i = $inc421;
- }
- }
- } while(0);
- $c = 0;
- while(1) {
- $i = 0;
- while(1) {
- $452 = $i;
- $453 = $start;
- $cmp446 = ($452|0)<($453|0);
- if (!($cmp446)) {
- break;
- }
- $454 = $oldBandE;
- $455 = $c;
- $456 = $nbEBands;
- $mul449 = Math_imul($455, $456)|0;
- $457 = $i;
- $add450 = (($mul449) + ($457))|0;
- $arrayidx451 = (($454) + ($add450<<2)|0);
- HEAPF32[$arrayidx451>>2] = 0.0;
- $458 = $oldLogE2;
- $459 = $c;
- $460 = $nbEBands;
- $mul452 = Math_imul($459, $460)|0;
- $461 = $i;
- $add453 = (($mul452) + ($461))|0;
- $arrayidx454 = (($458) + ($add453<<2)|0);
- HEAPF32[$arrayidx454>>2] = -28.0;
- $462 = $oldLogE;
- $463 = $c;
- $464 = $nbEBands;
- $mul455 = Math_imul($463, $464)|0;
- $465 = $i;
- $add456 = (($mul455) + ($465))|0;
- $arrayidx457 = (($462) + ($add456<<2)|0);
- HEAPF32[$arrayidx457>>2] = -28.0;
- $466 = $i;
- $inc459 = (($466) + 1)|0;
- $i = $inc459;
- }
- $467 = $end;
- $i = $467;
- while(1) {
- $468 = $i;
- $469 = $nbEBands;
- $cmp462 = ($468|0)<($469|0);
- if (!($cmp462)) {
- break;
- }
- $470 = $oldBandE;
- $471 = $c;
- $472 = $nbEBands;
- $mul465 = Math_imul($471, $472)|0;
- $473 = $i;
- $add466 = (($mul465) + ($473))|0;
- $arrayidx467 = (($470) + ($add466<<2)|0);
- HEAPF32[$arrayidx467>>2] = 0.0;
- $474 = $oldLogE2;
- $475 = $c;
- $476 = $nbEBands;
- $mul468 = Math_imul($475, $476)|0;
- $477 = $i;
- $add469 = (($mul468) + ($477))|0;
- $arrayidx470 = (($474) + ($add469<<2)|0);
- HEAPF32[$arrayidx470>>2] = -28.0;
- $478 = $oldLogE;
- $479 = $c;
- $480 = $nbEBands;
- $mul471 = Math_imul($479, $480)|0;
- $481 = $i;
- $add472 = (($mul471) + ($481))|0;
- $arrayidx473 = (($478) + ($add472<<2)|0);
- HEAPF32[$arrayidx473>>2] = -28.0;
- $482 = $i;
- $inc475 = (($482) + 1)|0;
- $i = $inc475;
- }
- $483 = $c;
- $inc478 = (($483) + 1)|0;
- $c = $inc478;
- $cmp479 = ($inc478|0)<(2);
- if (!($cmp479)) {
- break;
- }
- }
- $484 = $dec$addr;
- $rng482 = ((($484)) + 28|0);
- $485 = HEAP32[$rng482>>2]|0;
- $486 = $st$addr;
- $rng483 = ((($486)) + 36|0);
- HEAP32[$rng483>>2] = $485;
- $487 = $pcm$addr;
- $488 = $N;
- $489 = $CC;
- $490 = $st$addr;
- $downsample485 = ((($490)) + 16|0);
- $491 = HEAP32[$downsample485>>2]|0;
- $492 = $mode;
- $preemph486 = ((($492)) + 16|0);
- $493 = $st$addr;
- $preemph_memD488 = ((($493)) + 76|0);
- $494 = $accum$addr;
- _deemphasis($out_syn,$487,$488,$489,$491,$preemph486,$preemph_memD488,$494);
- $495 = $st$addr;
- $loss_count490 = ((($495)) + 48|0);
- HEAP32[$loss_count490>>2] = 0;
- $496 = $dec$addr;
- $call491 = (_ec_tell_61($496)|0);
- $497 = $len$addr;
- $mul492 = $497<<3;
- $cmp493 = ($call491|0)>($mul492|0);
- if ($cmp493) {
- $retval = -3;
- $cleanup$dest$slot = 1;
- } else {
- $498 = $dec$addr;
- $call497 = (_ec_get_error_65($498)|0);
- $tobool498 = ($call497|0)!=(0);
- if ($tobool498) {
- $499 = $st$addr;
- $error = ((($499)) + 40|0);
- HEAP32[$error>>2] = 1;
- }
- $500 = $frame_size$addr;
- $501 = $st$addr;
- $downsample501 = ((($501)) + 16|0);
- $502 = HEAP32[$downsample501>>2]|0;
- $div502 = (($500|0) / ($502|0))&-1;
- $retval = $div502;
- $cleanup$dest$slot = 1;
- }
- $503 = $saved_stack;
- _llvm_stackrestore(($503|0));
- $504 = $retval;
- STACKTOP = sp;return ($504|0);
-}
-function _celt_decode_lost($st,$N,$LM) {
- $st = $st|0;
- $N = $N|0;
- $LM = $LM|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0.0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0.0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0.0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0.0, $209 = 0.0, $21 = 0, $210 = 0.0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0.0, $215 = 0.0, $216 = 0.0, $217 = 0.0, $218 = 0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0.0;
- var $224 = 0.0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0.0, $236 = 0.0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0.0, $244 = 0.0, $245 = 0.0, $246 = 0, $247 = 0, $248 = 0.0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0.0, $257 = 0.0, $258 = 0.0, $259 = 0.0, $26 = 0;
- var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0.0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
- var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0.0, $283 = 0.0, $284 = 0.0, $285 = 0.0, $286 = 0, $287 = 0.0, $288 = 0.0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0.0, $296 = 0.0;
- var $297 = 0.0, $298 = 0.0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0.0, $304 = 0.0, $305 = 0.0, $306 = 0, $307 = 0, $308 = 0, $309 = 0.0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0.0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0.0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
- var $332 = 0, $333 = 0.0, $334 = 0, $335 = 0.0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0.0, $347 = 0, $348 = 0, $349 = 0.0, $35 = 0;
- var $350 = 0, $351 = 0, $352 = 0, $353 = 0.0, $354 = 0, $355 = 0.0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
- var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
- var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0.0;
- var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
- var $96 = 0, $97 = 0, $98 = 0, $99 = 0, $C = 0, $E1 = 0.0, $E2 = 0.0, $LM$addr = 0, $N$addr = 0, $S1 = 0.0, $S2 = 0.0, $_decode_mem = 0, $_decode_mem9 = 0, $ac = 0, $add = 0, $add$ptr = 0, $add$ptr109 = 0, $add$ptr116 = 0, $add$ptr13 = 0, $add$ptr15 = 0;
- var $add$ptr17 = 0, $add$ptr176 = 0, $add$ptr19 = 0, $add$ptr200 = 0, $add$ptr202 = 0, $add$ptr204 = 0, $add$ptr206 = 0, $add$ptr208 = 0, $add$ptr21 = 0, $add$ptr239 = 0, $add$ptr242 = 0, $add$ptr291 = 0, $add$ptr293 = 0, $add$ptr295 = 0, $add$ptr296 = 0, $add$ptr298 = 0, $add$ptr372 = 0, $add$ptr6 = 0, $add$ptr7 = 0, $add$ptr98 = 0;
- var $add11 = 0, $add112 = 0, $add118 = 0, $add145 = 0, $add217 = 0, $add220 = 0.0, $add223 = 0, $add226 = 0.0, $add248 = 0, $add250 = 0, $add262 = 0, $add266 = 0, $add269 = 0, $add270 = 0, $add273 = 0.0, $add307 = 0, $add310 = 0.0, $add323 = 0, $add332 = 0.0, $add333 = 0.0;
- var $add347 = 0, $add351 = 0, $add361 = 0, $add365 = 0, $add394 = 0.0, $add395 = 0, $add406 = 0, $add47 = 0, $add50 = 0, $add55 = 0, $add59 = 0, $add65 = 0, $add80 = 0, $add81 = 0, $add93 = 0, $arch = 0, $arch125 = 0, $arch130 = 0, $arch156 = 0, $arch210 = 0;
- var $arch300 = 0, $arch378 = 0, $arrayidx = 0, $arrayidx107 = 0, $arrayidx108 = 0, $arrayidx114 = 0, $arrayidx115 = 0, $arrayidx140 = 0, $arrayidx146 = 0, $arrayidx147 = 0, $arrayidx164 = 0, $arrayidx170 = 0, $arrayidx194 = 0, $arrayidx195 = 0, $arrayidx218 = 0, $arrayidx224 = 0, $arrayidx263 = 0, $arrayidx267 = 0, $arrayidx271 = 0, $arrayidx286 = 0;
- var $arrayidx287 = 0, $arrayidx308 = 0, $arrayidx324 = 0, $arrayidx342 = 0, $arrayidx348 = 0, $arrayidx352 = 0, $arrayidx362 = 0, $arrayidx366 = 0, $arrayidx384 = 0, $arrayidx387 = 0, $arrayidx391 = 0, $arrayidx392 = 0, $arrayidx396 = 0, $arrayidx48 = 0, $arrayidx5 = 0, $arrayidx51 = 0, $arrayidx56 = 0, $arrayidx60 = 0, $arrayidx66 = 0, $arrayidx79 = 0;
- var $arrayidx8 = 0, $arrayidx82 = 0, $arrayidx84 = 0, $arrayidx94 = 0, $attenuation = 0.0, $backgroundLogE = 0, $blen = 0, $boffs = 0, $buf = 0, $c = 0, $call = 0, $call131 = 0, $call237 = 0.0, $call336 = 0.0, $channels = 0, $cmp = 0, $cmp121 = 0, $cmp126 = 0, $cmp142 = 0, $cmp151 = 0;
- var $cmp161 = 0, $cmp180 = 0, $cmp188 = 0, $cmp213 = 0, $cmp230 = 0, $cmp24 = 0, $cmp25 = 0, $cmp253 = 0, $cmp256 = 0, $cmp27 = 0, $cmp280 = 0, $cmp29 = 0, $cmp302 = 0, $cmp315 = 0, $cmp319 = 0, $cmp329 = 0, $cmp33 = 0, $cmp339 = 0, $cmp357 = 0, $cmp381 = 0;
- var $cmp402 = 0, $cmp42 = 0, $cmp45 = 0, $cmp52 = 0, $cmp70 = 0, $cmp73 = 0, $cmp76 = 0, $cmp89 = 0, $cond = 0, $cond186 = 0, $cond235 = 0.0, $cond40 = 0, $cond43 = 0.0, $cond63 = 0.0, $conv = 0, $conv166 = 0.0, $conv168 = 0.0, $conv236 = 0.0, $conv238 = 0.0, $conv335 = 0.0;
- var $conv337 = 0.0, $conv83 = 0, $conv85 = 0, $conv92 = 0.0, $decay = 0.0, $decay138 = 0.0, $decay_length = 0, $decode_mem = 0, $div = 0.0, $div334 = 0.0, $div380 = 0, $downsample = 0, $e = 0.0, $eBands = 0, $eBands4 = 0, $effEBands = 0, $effEBands28 = 0, $effEBands32 = 0, $effEBands36 = 0, $effEnd = 0;
- var $end = 0, $end26 = 0, $exc = 0, $exc_length = 0, $extrapolation_len = 0, $extrapolation_offset = 0, $fade = 0.0, $i = 0, $idx$neg = 0, $idx$neg201 = 0, $idx$neg207 = 0, $idx$neg292 = 0, $idx$neg297 = 0, $inc = 0, $inc100 = 0, $inc103 = 0, $inc120 = 0, $inc149 = 0, $inc173 = 0, $inc197 = 0;
- var $inc228 = 0, $inc275 = 0, $inc276 = 0, $inc289 = 0, $inc312 = 0, $inc326 = 0, $inc354 = 0, $inc368 = 0, $inc398 = 0, $inc401 = 0, $inc67 = 0, $inc69 = 0, $inc96 = 0, $j = 0, $j139 = 0, $last_pitch_index = 0, $last_pitch_index133 = 0, $lor$ext = 0, $loss_count = 0, $loss_count22 = 0;
- var $loss_count407 = 0, $lpc = 0, $lpc_mem = 0, $lpc_mem278 = 0, $mode = 0, $mul = 0, $mul113 = 0, $mul117 = 0, $mul12 = 0, $mul14 = 0, $mul159 = 0.0, $mul16 = 0, $mul165 = 0.0, $mul167 = 0.0, $mul169 = 0.0, $mul175 = 0, $mul179 = 0, $mul18 = 0, $mul183 = 0, $mul20 = 0;
- var $mul203 = 0, $mul219 = 0.0, $mul221 = 0, $mul225 = 0.0, $mul241 = 0, $mul247 = 0, $mul251 = 0.0, $mul260 = 0.0, $mul264 = 0.0, $mul272 = 0.0, $mul294 = 0, $mul309 = 0.0, $mul314 = 0.0, $mul344 = 0.0, $mul349 = 0.0, $mul363 = 0.0, $mul388 = 0.0, $mul393 = 0.0, $mul41 = 0, $mul46 = 0;
- var $mul49 = 0, $mul54 = 0, $mul58 = 0, $mul64 = 0, $mul78 = 0, $nbEBands = 0, $nbEBands2 = 0, $noise_based = 0, $oldBandE = 0, $oldLogE = 0, $oldLogE2 = 0, $out_syn = 0, $overlap = 0, $overlap3 = 0, $pitch_index = 0, $postfilter_gain = 0, $postfilter_gain375 = 0, $postfilter_period = 0, $postfilter_period373 = 0, $postfilter_tapset = 0;
- var $postfilter_tapset377 = 0, $ratio = 0.0, $rng = 0, $rng105 = 0, $saved_stack = 0, $saved_stack134 = 0, $seed = 0, $shl = 0, $shl87 = 0, $shr = 0, $shr111 = 0, $shr211 = 0, $st$addr = 0, $start = 0, $start23 = 0, $sub = 0.0, $sub$ptr$div = 0, $sub$ptr$div246 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast243 = 0;
- var $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast244 = 0, $sub$ptr$sub = 0, $sub$ptr$sub245 = 0, $sub110 = 0, $sub171 = 0.0, $sub191 = 0, $sub192 = 0, $sub193 = 0, $sub216 = 0, $sub222 = 0, $sub240 = 0, $sub249 = 0, $sub259 = 0, $sub265 = 0, $sub268 = 0, $sub283 = 0, $sub284 = 0, $sub285 = 0, $sub306 = 0;
- var $sub322 = 0, $sub343 = 0.0, $sub345 = 0.0, $sub346 = 0, $sub350 = 0, $sub360 = 0, $sub364 = 0, $sub374 = 0.0, $sub376 = 0.0, $sub385 = 0, $sub386 = 0, $sub389 = 0, $sub390 = 0, $sub61 = 0.0, $sub86 = 0, $tmp = 0.0, $tmp305 = 0.0, $tmp_g = 0.0, $tobool = 0, $vla = 0;
- var $vla$alloca_mul = 0, $vla135 = 0, $vla135$alloca_mul = 0, $window = 0, $window136 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 4608|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(4608|0);
- $decode_mem = sp + 4568|0;
- $out_syn = sp + 4560|0;
- $exc = sp + 368|0;
- $ac = sp + 232|0;
- $lpc_mem = sp + 136|0;
- $lpc_mem278 = sp + 16|0;
- $st$addr = $st;
- $N$addr = $N;
- $LM$addr = $LM;
- $0 = $st$addr;
- $channels = ((($0)) + 8|0);
- $1 = HEAP32[$channels>>2]|0;
- $C = $1;
- $2 = $st$addr;
- $3 = HEAP32[$2>>2]|0;
- $mode = $3;
- $4 = $mode;
- $nbEBands2 = ((($4)) + 8|0);
- $5 = HEAP32[$nbEBands2>>2]|0;
- $nbEBands = $5;
- $6 = $mode;
- $overlap3 = ((($6)) + 4|0);
- $7 = HEAP32[$overlap3>>2]|0;
- $overlap = $7;
- $8 = $mode;
- $eBands4 = ((($8)) + 32|0);
- $9 = HEAP32[$eBands4>>2]|0;
- $eBands = $9;
- $c = 0;
- while(1) {
- $10 = $st$addr;
- $_decode_mem = ((($10)) + 84|0);
- $11 = $c;
- $12 = $overlap;
- $add = (2048 + ($12))|0;
- $mul = Math_imul($11, $add)|0;
- $add$ptr = (($_decode_mem) + ($mul<<2)|0);
- $13 = $c;
- $arrayidx = (($decode_mem) + ($13<<2)|0);
- HEAP32[$arrayidx>>2] = $add$ptr;
- $14 = $c;
- $arrayidx5 = (($decode_mem) + ($14<<2)|0);
- $15 = HEAP32[$arrayidx5>>2]|0;
- $add$ptr6 = ((($15)) + 8192|0);
- $16 = $N$addr;
- $idx$neg = (0 - ($16))|0;
- $add$ptr7 = (($add$ptr6) + ($idx$neg<<2)|0);
- $17 = $c;
- $arrayidx8 = (($out_syn) + ($17<<2)|0);
- HEAP32[$arrayidx8>>2] = $add$ptr7;
- $18 = $c;
- $inc = (($18) + 1)|0;
- $c = $inc;
- $19 = $C;
- $cmp = ($inc|0)<($19|0);
- if (!($cmp)) {
- break;
- }
- }
- $20 = $st$addr;
- $_decode_mem9 = ((($20)) + 84|0);
- $21 = $overlap;
- $add11 = (2048 + ($21))|0;
- $22 = $C;
- $mul12 = Math_imul($add11, $22)|0;
- $add$ptr13 = (($_decode_mem9) + ($mul12<<2)|0);
- $lpc = $add$ptr13;
- $23 = $lpc;
- $24 = $C;
- $mul14 = ($24*24)|0;
- $add$ptr15 = (($23) + ($mul14<<2)|0);
- $oldBandE = $add$ptr15;
- $25 = $oldBandE;
- $26 = $nbEBands;
- $mul16 = $26<<1;
- $add$ptr17 = (($25) + ($mul16<<2)|0);
- $oldLogE = $add$ptr17;
- $27 = $oldLogE;
- $28 = $nbEBands;
- $mul18 = $28<<1;
- $add$ptr19 = (($27) + ($mul18<<2)|0);
- $oldLogE2 = $add$ptr19;
- $29 = $oldLogE2;
- $30 = $nbEBands;
- $mul20 = $30<<1;
- $add$ptr21 = (($29) + ($mul20<<2)|0);
- $backgroundLogE = $add$ptr21;
- $31 = $st$addr;
- $loss_count22 = ((($31)) + 48|0);
- $32 = HEAP32[$loss_count22>>2]|0;
- $loss_count = $32;
- $33 = $st$addr;
- $start23 = ((($33)) + 20|0);
- $34 = HEAP32[$start23>>2]|0;
- $start = $34;
- $35 = $loss_count;
- $cmp24 = ($35|0)>=(5);
- $36 = $start;
- $cmp25 = ($36|0)!=(0);
- $37 = $cmp24 ? 1 : $cmp25;
- $lor$ext = $37&1;
- $noise_based = $lor$ext;
- $38 = $noise_based;
- $tobool = ($38|0)!=(0);
- if ($tobool) {
- $39 = $st$addr;
- $end26 = ((($39)) + 24|0);
- $40 = HEAP32[$end26>>2]|0;
- $end = $40;
- $41 = $start;
- $42 = $end;
- $43 = $mode;
- $effEBands = ((($43)) + 12|0);
- $44 = HEAP32[$effEBands>>2]|0;
- $cmp27 = ($42|0)<($44|0);
- if ($cmp27) {
- $45 = $end;
- $cond = $45;
- } else {
- $46 = $mode;
- $effEBands28 = ((($46)) + 12|0);
- $47 = HEAP32[$effEBands28>>2]|0;
- $cond = $47;
- }
- $cmp29 = ($41|0)>($cond|0);
- do {
- if ($cmp29) {
- $48 = $start;
- $cond40 = $48;
- } else {
- $49 = $end;
- $50 = $mode;
- $effEBands32 = ((($50)) + 12|0);
- $51 = HEAP32[$effEBands32>>2]|0;
- $cmp33 = ($49|0)<($51|0);
- if ($cmp33) {
- $52 = $end;
- $cond40 = $52;
- break;
- } else {
- $53 = $mode;
- $effEBands36 = ((($53)) + 12|0);
- $54 = HEAP32[$effEBands36>>2]|0;
- $cond40 = $54;
- break;
- }
- }
- } while(0);
- $effEnd = $cond40;
- $55 = $C;
- $56 = $N$addr;
- $mul41 = Math_imul($55, $56)|0;
- $57 = (_llvm_stacksave()|0);
- $saved_stack = $57;
- $vla$alloca_mul = $mul41<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $58 = $loss_count;
- $cmp42 = ($58|0)==(0);
- $cond43 = $cmp42 ? 1.5 : 0.5;
- $decay = $cond43;
- $c = 0;
- while(1) {
- $59 = $start;
- $i = $59;
- while(1) {
- $60 = $i;
- $61 = $end;
- $cmp45 = ($60|0)<($61|0);
- if (!($cmp45)) {
- break;
- }
- $62 = $backgroundLogE;
- $63 = $c;
- $64 = $nbEBands;
- $mul46 = Math_imul($63, $64)|0;
- $65 = $i;
- $add47 = (($mul46) + ($65))|0;
- $arrayidx48 = (($62) + ($add47<<2)|0);
- $66 = +HEAPF32[$arrayidx48>>2];
- $67 = $oldBandE;
- $68 = $c;
- $69 = $nbEBands;
- $mul49 = Math_imul($68, $69)|0;
- $70 = $i;
- $add50 = (($mul49) + ($70))|0;
- $arrayidx51 = (($67) + ($add50<<2)|0);
- $71 = +HEAPF32[$arrayidx51>>2];
- $72 = $decay;
- $sub = $71 - $72;
- $cmp52 = $66 > $sub;
- if ($cmp52) {
- $73 = $backgroundLogE;
- $74 = $c;
- $75 = $nbEBands;
- $mul54 = Math_imul($74, $75)|0;
- $76 = $i;
- $add55 = (($mul54) + ($76))|0;
- $arrayidx56 = (($73) + ($add55<<2)|0);
- $77 = +HEAPF32[$arrayidx56>>2];
- $cond63 = $77;
- } else {
- $78 = $oldBandE;
- $79 = $c;
- $80 = $nbEBands;
- $mul58 = Math_imul($79, $80)|0;
- $81 = $i;
- $add59 = (($mul58) + ($81))|0;
- $arrayidx60 = (($78) + ($add59<<2)|0);
- $82 = +HEAPF32[$arrayidx60>>2];
- $83 = $decay;
- $sub61 = $82 - $83;
- $cond63 = $sub61;
- }
- $84 = $oldBandE;
- $85 = $c;
- $86 = $nbEBands;
- $mul64 = Math_imul($85, $86)|0;
- $87 = $i;
- $add65 = (($mul64) + ($87))|0;
- $arrayidx66 = (($84) + ($add65<<2)|0);
- HEAPF32[$arrayidx66>>2] = $cond63;
- $88 = $i;
- $inc67 = (($88) + 1)|0;
- $i = $inc67;
- }
- $89 = $c;
- $inc69 = (($89) + 1)|0;
- $c = $inc69;
- $90 = $C;
- $cmp70 = ($inc69|0)<($90|0);
- if (!($cmp70)) {
- break;
- }
- }
- $91 = $st$addr;
- $rng = ((($91)) + 36|0);
- $92 = HEAP32[$rng>>2]|0;
- $seed = $92;
- $c = 0;
- while(1) {
- $93 = $c;
- $94 = $C;
- $cmp73 = ($93|0)<($94|0);
- if (!($cmp73)) {
- break;
- }
- $95 = $start;
- $i = $95;
- while(1) {
- $96 = $i;
- $97 = $effEnd;
- $cmp76 = ($96|0)<($97|0);
- if (!($cmp76)) {
- break;
- }
- $98 = $N$addr;
- $99 = $c;
- $mul78 = Math_imul($98, $99)|0;
- $100 = $eBands;
- $101 = $i;
- $arrayidx79 = (($100) + ($101<<1)|0);
- $102 = HEAP16[$arrayidx79>>1]|0;
- $conv = $102 << 16 >> 16;
- $103 = $LM$addr;
- $shl = $conv << $103;
- $add80 = (($mul78) + ($shl))|0;
- $boffs = $add80;
- $104 = $eBands;
- $105 = $i;
- $add81 = (($105) + 1)|0;
- $arrayidx82 = (($104) + ($add81<<1)|0);
- $106 = HEAP16[$arrayidx82>>1]|0;
- $conv83 = $106 << 16 >> 16;
- $107 = $eBands;
- $108 = $i;
- $arrayidx84 = (($107) + ($108<<1)|0);
- $109 = HEAP16[$arrayidx84>>1]|0;
- $conv85 = $109 << 16 >> 16;
- $sub86 = (($conv83) - ($conv85))|0;
- $110 = $LM$addr;
- $shl87 = $sub86 << $110;
- $blen = $shl87;
- $j = 0;
- while(1) {
- $111 = $j;
- $112 = $blen;
- $cmp89 = ($111|0)<($112|0);
- if (!($cmp89)) {
- break;
- }
- $113 = $seed;
- $call = (_celt_lcg_rand($113)|0);
- $seed = $call;
- $114 = $seed;
- $shr = $114 >> 20;
- $conv92 = (+($shr|0));
- $115 = $boffs;
- $116 = $j;
- $add93 = (($115) + ($116))|0;
- $arrayidx94 = (($vla) + ($add93<<2)|0);
- HEAPF32[$arrayidx94>>2] = $conv92;
- $117 = $j;
- $inc96 = (($117) + 1)|0;
- $j = $inc96;
- }
- $118 = $boffs;
- $add$ptr98 = (($vla) + ($118<<2)|0);
- $119 = $blen;
- $120 = $st$addr;
- $arch = ((($120)) + 32|0);
- $121 = HEAP32[$arch>>2]|0;
- _renormalise_vector($add$ptr98,$119,1.0,$121);
- $122 = $i;
- $inc100 = (($122) + 1)|0;
- $i = $inc100;
- }
- $123 = $c;
- $inc103 = (($123) + 1)|0;
- $c = $inc103;
- }
- $124 = $seed;
- $125 = $st$addr;
- $rng105 = ((($125)) + 36|0);
- HEAP32[$rng105>>2] = $124;
- $c = 0;
- while(1) {
- $126 = $c;
- $arrayidx107 = (($decode_mem) + ($126<<2)|0);
- $127 = HEAP32[$arrayidx107>>2]|0;
- $128 = $c;
- $arrayidx108 = (($decode_mem) + ($128<<2)|0);
- $129 = HEAP32[$arrayidx108>>2]|0;
- $130 = $N$addr;
- $add$ptr109 = (($129) + ($130<<2)|0);
- $131 = $N$addr;
- $sub110 = (2048 - ($131))|0;
- $132 = $overlap;
- $shr111 = $132 >> 1;
- $add112 = (($sub110) + ($shr111))|0;
- $mul113 = $add112<<2;
- $133 = $c;
- $arrayidx114 = (($decode_mem) + ($133<<2)|0);
- $134 = HEAP32[$arrayidx114>>2]|0;
- $135 = $c;
- $arrayidx115 = (($decode_mem) + ($135<<2)|0);
- $136 = HEAP32[$arrayidx115>>2]|0;
- $137 = $N$addr;
- $add$ptr116 = (($136) + ($137<<2)|0);
- $sub$ptr$lhs$cast = $134;
- $sub$ptr$rhs$cast = $add$ptr116;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul117 = 0;
- $add118 = (($mul113) + ($mul117))|0;
- _memmove(($127|0),($add$ptr109|0),($add118|0))|0;
- $138 = $c;
- $inc120 = (($138) + 1)|0;
- $c = $inc120;
- $139 = $C;
- $cmp121 = ($inc120|0)<($139|0);
- if (!($cmp121)) {
- break;
- }
- }
- $140 = $mode;
- $141 = $oldBandE;
- $142 = $start;
- $143 = $effEnd;
- $144 = $C;
- $145 = $C;
- $146 = $LM$addr;
- $147 = $st$addr;
- $downsample = ((($147)) + 16|0);
- $148 = HEAP32[$downsample>>2]|0;
- $149 = $st$addr;
- $arch125 = ((($149)) + 32|0);
- $150 = HEAP32[$arch125>>2]|0;
- _celt_synthesis($140,$vla,$out_syn,$141,$142,$143,$144,$145,0,$146,$148,0,$150);
- $151 = $saved_stack;
- _llvm_stackrestore(($151|0));
- $362 = $loss_count;
- $add406 = (($362) + 1)|0;
- $363 = $st$addr;
- $loss_count407 = ((($363)) + 48|0);
- HEAP32[$loss_count407>>2] = $add406;
- STACKTOP = sp;return;
- }
- $fade = 1.0;
- $152 = $loss_count;
- $cmp126 = ($152|0)==(0);
- if ($cmp126) {
- $153 = $C;
- $154 = $st$addr;
- $arch130 = ((($154)) + 32|0);
- $155 = HEAP32[$arch130>>2]|0;
- $call131 = (_celt_plc_pitch_search($decode_mem,$153,$155)|0);
- $pitch_index = $call131;
- $156 = $st$addr;
- $last_pitch_index = ((($156)) + 44|0);
- HEAP32[$last_pitch_index>>2] = $call131;
- } else {
- $157 = $st$addr;
- $last_pitch_index133 = ((($157)) + 44|0);
- $158 = HEAP32[$last_pitch_index133>>2]|0;
- $pitch_index = $158;
- $fade = 0.80000001192092896;
- }
- $159 = $overlap;
- $160 = (_llvm_stacksave()|0);
- $saved_stack134 = $160;
- $vla135$alloca_mul = $159<<2;
- $vla135 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla135$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla135$alloca_mul)|0)+15)&-16)|0);;
- $161 = $mode;
- $window136 = ((($161)) + 60|0);
- $162 = HEAP32[$window136>>2]|0;
- $window = $162;
- $c = 0;
- while(1) {
- $S1 = 0.0;
- $163 = $c;
- $arrayidx140 = (($decode_mem) + ($163<<2)|0);
- $164 = HEAP32[$arrayidx140>>2]|0;
- $buf = $164;
- $i = 0;
- while(1) {
- $165 = $i;
- $cmp142 = ($165|0)<(1024);
- if (!($cmp142)) {
- break;
- }
- $166 = $buf;
- $167 = $i;
- $add145 = (1024 + ($167))|0;
- $arrayidx146 = (($166) + ($add145<<2)|0);
- $168 = +HEAPF32[$arrayidx146>>2];
- $169 = $i;
- $arrayidx147 = (($exc) + ($169<<2)|0);
- HEAPF32[$arrayidx147>>2] = $168;
- $170 = $i;
- $inc149 = (($170) + 1)|0;
- $i = $inc149;
- }
- $171 = $loss_count;
- $cmp151 = ($171|0)==(0);
- if ($cmp151) {
- $172 = $window;
- $173 = $overlap;
- $174 = $st$addr;
- $arch156 = ((($174)) + 32|0);
- $175 = HEAP32[$arch156>>2]|0;
- (__celt_autocorr($exc,$ac,$172,$173,24,1024,$175)|0);
- $176 = +HEAPF32[$ac>>2];
- $mul159 = $176 * 1.0001000165939331;
- HEAPF32[$ac>>2] = $mul159;
- $i = 1;
- while(1) {
- $177 = $i;
- $cmp161 = ($177|0)<=(24);
- if (!($cmp161)) {
- break;
- }
- $178 = $i;
- $arrayidx164 = (($ac) + ($178<<2)|0);
- $179 = +HEAPF32[$arrayidx164>>2];
- $mul165 = $179 * 6.4000007114373147E-5;
- $180 = $i;
- $conv166 = (+($180|0));
- $mul167 = $mul165 * $conv166;
- $181 = $i;
- $conv168 = (+($181|0));
- $mul169 = $mul167 * $conv168;
- $182 = $i;
- $arrayidx170 = (($ac) + ($182<<2)|0);
- $183 = +HEAPF32[$arrayidx170>>2];
- $sub171 = $183 - $mul169;
- HEAPF32[$arrayidx170>>2] = $sub171;
- $184 = $i;
- $inc173 = (($184) + 1)|0;
- $i = $inc173;
- }
- $185 = $lpc;
- $186 = $c;
- $mul175 = ($186*24)|0;
- $add$ptr176 = (($185) + ($mul175<<2)|0);
- __celt_lpc($add$ptr176,$ac,24);
- }
- $187 = $pitch_index;
- $mul179 = $187<<1;
- $cmp180 = ($mul179|0)<(1024);
- $188 = $pitch_index;
- $mul183 = $188<<1;
- $cond186 = $cmp180 ? $mul183 : 1024;
- $exc_length = $cond186;
- $i = 0;
- while(1) {
- $189 = $i;
- $cmp188 = ($189|0)<(24);
- if (!($cmp188)) {
- break;
- }
- $190 = $buf;
- $191 = $exc_length;
- $sub191 = (2048 - ($191))|0;
- $sub192 = (($sub191) - 1)|0;
- $192 = $i;
- $sub193 = (($sub192) - ($192))|0;
- $arrayidx194 = (($190) + ($sub193<<2)|0);
- $193 = +HEAPF32[$arrayidx194>>2];
- $194 = $i;
- $arrayidx195 = (($lpc_mem) + ($194<<2)|0);
- HEAPF32[$arrayidx195>>2] = $193;
- $195 = $i;
- $inc197 = (($195) + 1)|0;
- $i = $inc197;
- }
- $add$ptr200 = ((($exc)) + 4096|0);
- $196 = $exc_length;
- $idx$neg201 = (0 - ($196))|0;
- $add$ptr202 = (($add$ptr200) + ($idx$neg201<<2)|0);
- $197 = $lpc;
- $198 = $c;
- $mul203 = ($198*24)|0;
- $add$ptr204 = (($197) + ($mul203<<2)|0);
- $add$ptr206 = ((($exc)) + 4096|0);
- $199 = $exc_length;
- $idx$neg207 = (0 - ($199))|0;
- $add$ptr208 = (($add$ptr206) + ($idx$neg207<<2)|0);
- $200 = $exc_length;
- $201 = $st$addr;
- $arch210 = ((($201)) + 32|0);
- $202 = HEAP32[$arch210>>2]|0;
- _celt_fir_c($add$ptr202,$add$ptr204,$add$ptr208,$200,24,$lpc_mem,$202);
- $E1 = 1.0;
- $E2 = 1.0;
- $203 = $exc_length;
- $shr211 = $203 >> 1;
- $decay_length = $shr211;
- $i = 0;
- while(1) {
- $204 = $i;
- $205 = $decay_length;
- $cmp213 = ($204|0)<($205|0);
- if (!($cmp213)) {
- break;
- }
- $206 = $decay_length;
- $sub216 = (1024 - ($206))|0;
- $207 = $i;
- $add217 = (($sub216) + ($207))|0;
- $arrayidx218 = (($exc) + ($add217<<2)|0);
- $208 = +HEAPF32[$arrayidx218>>2];
- $e = $208;
- $209 = $e;
- $210 = $e;
- $mul219 = $209 * $210;
- $211 = $E1;
- $add220 = $211 + $mul219;
- $E1 = $add220;
- $212 = $decay_length;
- $mul221 = $212<<1;
- $sub222 = (1024 - ($mul221))|0;
- $213 = $i;
- $add223 = (($sub222) + ($213))|0;
- $arrayidx224 = (($exc) + ($add223<<2)|0);
- $214 = +HEAPF32[$arrayidx224>>2];
- $e = $214;
- $215 = $e;
- $216 = $e;
- $mul225 = $215 * $216;
- $217 = $E2;
- $add226 = $217 + $mul225;
- $E2 = $add226;
- $218 = $i;
- $inc228 = (($218) + 1)|0;
- $i = $inc228;
- }
- $219 = $E1;
- $220 = $E2;
- $cmp230 = $219 < $220;
- $221 = $E1;
- $222 = $E2;
- $cond235 = $cmp230 ? $221 : $222;
- $E1 = $cond235;
- $223 = $E1;
- $224 = $E2;
- $div = $223 / $224;
- $conv236 = $div;
- $call237 = (+Math_sqrt((+$conv236)));
- $conv238 = $call237;
- $decay138 = $conv238;
- $225 = $buf;
- $226 = $buf;
- $227 = $N$addr;
- $add$ptr239 = (($226) + ($227<<2)|0);
- $228 = $N$addr;
- $sub240 = (2048 - ($228))|0;
- $mul241 = $sub240<<2;
- $229 = $buf;
- $230 = $buf;
- $231 = $N$addr;
- $add$ptr242 = (($230) + ($231<<2)|0);
- $sub$ptr$lhs$cast243 = $229;
- $sub$ptr$rhs$cast244 = $add$ptr242;
- $sub$ptr$sub245 = (($sub$ptr$lhs$cast243) - ($sub$ptr$rhs$cast244))|0;
- $sub$ptr$div246 = (($sub$ptr$sub245|0) / 4)&-1;
- $mul247 = 0;
- $add248 = (($mul241) + ($mul247))|0;
- _memmove(($225|0),($add$ptr239|0),($add248|0))|0;
- $232 = $pitch_index;
- $sub249 = (1024 - ($232))|0;
- $extrapolation_offset = $sub249;
- $233 = $N$addr;
- $234 = $overlap;
- $add250 = (($233) + ($234))|0;
- $extrapolation_len = $add250;
- $235 = $fade;
- $236 = $decay138;
- $mul251 = $235 * $236;
- $attenuation = $mul251;
- $j139 = 0;
- $i = 0;
- while(1) {
- $237 = $i;
- $238 = $extrapolation_len;
- $cmp253 = ($237|0)<($238|0);
- if (!($cmp253)) {
- break;
- }
- $239 = $j139;
- $240 = $pitch_index;
- $cmp256 = ($239|0)>=($240|0);
- if ($cmp256) {
- $241 = $pitch_index;
- $242 = $j139;
- $sub259 = (($242) - ($241))|0;
- $j139 = $sub259;
- $243 = $attenuation;
- $244 = $decay138;
- $mul260 = $243 * $244;
- $attenuation = $mul260;
- }
- $245 = $attenuation;
- $246 = $extrapolation_offset;
- $247 = $j139;
- $add262 = (($246) + ($247))|0;
- $arrayidx263 = (($exc) + ($add262<<2)|0);
- $248 = +HEAPF32[$arrayidx263>>2];
- $mul264 = $245 * $248;
- $249 = $buf;
- $250 = $N$addr;
- $sub265 = (2048 - ($250))|0;
- $251 = $i;
- $add266 = (($sub265) + ($251))|0;
- $arrayidx267 = (($249) + ($add266<<2)|0);
- HEAPF32[$arrayidx267>>2] = $mul264;
- $252 = $buf;
- $253 = $N$addr;
- $sub268 = (1024 - ($253))|0;
- $254 = $extrapolation_offset;
- $add269 = (($sub268) + ($254))|0;
- $255 = $j139;
- $add270 = (($add269) + ($255))|0;
- $arrayidx271 = (($252) + ($add270<<2)|0);
- $256 = +HEAPF32[$arrayidx271>>2];
- $tmp = $256;
- $257 = $tmp;
- $258 = $tmp;
- $mul272 = $257 * $258;
- $259 = $S1;
- $add273 = $259 + $mul272;
- $S1 = $add273;
- $260 = $i;
- $inc275 = (($260) + 1)|0;
- $i = $inc275;
- $261 = $j139;
- $inc276 = (($261) + 1)|0;
- $j139 = $inc276;
- }
- $i = 0;
- while(1) {
- $262 = $i;
- $cmp280 = ($262|0)<(24);
- $263 = $buf;
- if (!($cmp280)) {
- break;
- }
- $264 = $N$addr;
- $sub283 = (2048 - ($264))|0;
- $sub284 = (($sub283) - 1)|0;
- $265 = $i;
- $sub285 = (($sub284) - ($265))|0;
- $arrayidx286 = (($263) + ($sub285<<2)|0);
- $266 = +HEAPF32[$arrayidx286>>2];
- $267 = $i;
- $arrayidx287 = (($lpc_mem278) + ($267<<2)|0);
- HEAPF32[$arrayidx287>>2] = $266;
- $268 = $i;
- $inc289 = (($268) + 1)|0;
- $i = $inc289;
- }
- $add$ptr291 = ((($263)) + 8192|0);
- $269 = $N$addr;
- $idx$neg292 = (0 - ($269))|0;
- $add$ptr293 = (($add$ptr291) + ($idx$neg292<<2)|0);
- $270 = $lpc;
- $271 = $c;
- $mul294 = ($271*24)|0;
- $add$ptr295 = (($270) + ($mul294<<2)|0);
- $272 = $buf;
- $add$ptr296 = ((($272)) + 8192|0);
- $273 = $N$addr;
- $idx$neg297 = (0 - ($273))|0;
- $add$ptr298 = (($add$ptr296) + ($idx$neg297<<2)|0);
- $274 = $extrapolation_len;
- $275 = $st$addr;
- $arch300 = ((($275)) + 32|0);
- $276 = HEAP32[$arch300>>2]|0;
- _celt_iir($add$ptr293,$add$ptr295,$add$ptr298,$274,24,$lpc_mem278,$276);
- $S2 = 0.0;
- $i = 0;
- while(1) {
- $277 = $i;
- $278 = $extrapolation_len;
- $cmp302 = ($277|0)<($278|0);
- if (!($cmp302)) {
- break;
- }
- $279 = $buf;
- $280 = $N$addr;
- $sub306 = (2048 - ($280))|0;
- $281 = $i;
- $add307 = (($sub306) + ($281))|0;
- $arrayidx308 = (($279) + ($add307<<2)|0);
- $282 = +HEAPF32[$arrayidx308>>2];
- $tmp305 = $282;
- $283 = $tmp305;
- $284 = $tmp305;
- $mul309 = $283 * $284;
- $285 = $S2;
- $add310 = $285 + $mul309;
- $S2 = $add310;
- $286 = $i;
- $inc312 = (($286) + 1)|0;
- $i = $inc312;
- }
- $287 = $S1;
- $288 = $S2;
- $mul314 = 0.20000000298023224 * $288;
- $cmp315 = $287 > $mul314;
- L85: do {
- if ($cmp315) {
- $295 = $S1;
- $296 = $S2;
- $cmp329 = $295 < $296;
- if ($cmp329) {
- $297 = $S1;
- $add332 = $297 + 1.0;
- $298 = $S2;
- $add333 = $298 + 1.0;
- $div334 = $add332 / $add333;
- $conv335 = $div334;
- $call336 = (+Math_sqrt((+$conv335)));
- $conv337 = $call336;
- $ratio = $conv337;
- $i = 0;
- while(1) {
- $299 = $i;
- $300 = $overlap;
- $cmp339 = ($299|0)<($300|0);
- if (!($cmp339)) {
- break;
- }
- $301 = $window;
- $302 = $i;
- $arrayidx342 = (($301) + ($302<<2)|0);
- $303 = +HEAPF32[$arrayidx342>>2];
- $304 = $ratio;
- $sub343 = 1.0 - $304;
- $mul344 = $303 * $sub343;
- $sub345 = 1.0 - $mul344;
- $tmp_g = $sub345;
- $305 = $tmp_g;
- $306 = $buf;
- $307 = $N$addr;
- $sub346 = (2048 - ($307))|0;
- $308 = $i;
- $add347 = (($sub346) + ($308))|0;
- $arrayidx348 = (($306) + ($add347<<2)|0);
- $309 = +HEAPF32[$arrayidx348>>2];
- $mul349 = $305 * $309;
- $310 = $buf;
- $311 = $N$addr;
- $sub350 = (2048 - ($311))|0;
- $312 = $i;
- $add351 = (($sub350) + ($312))|0;
- $arrayidx352 = (($310) + ($add351<<2)|0);
- HEAPF32[$arrayidx352>>2] = $mul349;
- $313 = $i;
- $inc354 = (($313) + 1)|0;
- $i = $inc354;
- }
- $314 = $overlap;
- $i = $314;
- while(1) {
- $315 = $i;
- $316 = $extrapolation_len;
- $cmp357 = ($315|0)<($316|0);
- if (!($cmp357)) {
- break L85;
- }
- $317 = $ratio;
- $318 = $buf;
- $319 = $N$addr;
- $sub360 = (2048 - ($319))|0;
- $320 = $i;
- $add361 = (($sub360) + ($320))|0;
- $arrayidx362 = (($318) + ($add361<<2)|0);
- $321 = +HEAPF32[$arrayidx362>>2];
- $mul363 = $317 * $321;
- $322 = $buf;
- $323 = $N$addr;
- $sub364 = (2048 - ($323))|0;
- $324 = $i;
- $add365 = (($sub364) + ($324))|0;
- $arrayidx366 = (($322) + ($add365<<2)|0);
- HEAPF32[$arrayidx366>>2] = $mul363;
- $325 = $i;
- $inc368 = (($325) + 1)|0;
- $i = $inc368;
- }
- }
- } else {
- $i = 0;
- while(1) {
- $289 = $i;
- $290 = $extrapolation_len;
- $cmp319 = ($289|0)<($290|0);
- if (!($cmp319)) {
- break L85;
- }
- $291 = $buf;
- $292 = $N$addr;
- $sub322 = (2048 - ($292))|0;
- $293 = $i;
- $add323 = (($sub322) + ($293))|0;
- $arrayidx324 = (($291) + ($add323<<2)|0);
- HEAPF32[$arrayidx324>>2] = 0.0;
- $294 = $i;
- $inc326 = (($294) + 1)|0;
- $i = $inc326;
- }
- }
- } while(0);
- $326 = $buf;
- $add$ptr372 = ((($326)) + 8192|0);
- $327 = $st$addr;
- $postfilter_period = ((($327)) + 52|0);
- $328 = HEAP32[$postfilter_period>>2]|0;
- $329 = $st$addr;
- $postfilter_period373 = ((($329)) + 52|0);
- $330 = HEAP32[$postfilter_period373>>2]|0;
- $331 = $overlap;
- $332 = $st$addr;
- $postfilter_gain = ((($332)) + 60|0);
- $333 = +HEAPF32[$postfilter_gain>>2];
- $sub374 = - $333;
- $334 = $st$addr;
- $postfilter_gain375 = ((($334)) + 60|0);
- $335 = +HEAPF32[$postfilter_gain375>>2];
- $sub376 = - $335;
- $336 = $st$addr;
- $postfilter_tapset = ((($336)) + 68|0);
- $337 = HEAP32[$postfilter_tapset>>2]|0;
- $338 = $st$addr;
- $postfilter_tapset377 = ((($338)) + 68|0);
- $339 = HEAP32[$postfilter_tapset377>>2]|0;
- $340 = $st$addr;
- $arch378 = ((($340)) + 32|0);
- $341 = HEAP32[$arch378>>2]|0;
- _comb_filter($vla135,$add$ptr372,$328,$330,$331,$sub374,$sub376,$337,$339,0,0,$341);
- $i = 0;
- while(1) {
- $342 = $i;
- $343 = $overlap;
- $div380 = (($343|0) / 2)&-1;
- $cmp381 = ($342|0)<($div380|0);
- if (!($cmp381)) {
- break;
- }
- $344 = $window;
- $345 = $i;
- $arrayidx384 = (($344) + ($345<<2)|0);
- $346 = +HEAPF32[$arrayidx384>>2];
- $347 = $overlap;
- $sub385 = (($347) - 1)|0;
- $348 = $i;
- $sub386 = (($sub385) - ($348))|0;
- $arrayidx387 = (($vla135) + ($sub386<<2)|0);
- $349 = +HEAPF32[$arrayidx387>>2];
- $mul388 = $346 * $349;
- $350 = $window;
- $351 = $overlap;
- $352 = $i;
- $sub389 = (($351) - ($352))|0;
- $sub390 = (($sub389) - 1)|0;
- $arrayidx391 = (($350) + ($sub390<<2)|0);
- $353 = +HEAPF32[$arrayidx391>>2];
- $354 = $i;
- $arrayidx392 = (($vla135) + ($354<<2)|0);
- $355 = +HEAPF32[$arrayidx392>>2];
- $mul393 = $353 * $355;
- $add394 = $mul388 + $mul393;
- $356 = $buf;
- $357 = $i;
- $add395 = (2048 + ($357))|0;
- $arrayidx396 = (($356) + ($add395<<2)|0);
- HEAPF32[$arrayidx396>>2] = $add394;
- $358 = $i;
- $inc398 = (($358) + 1)|0;
- $i = $inc398;
- }
- $359 = $c;
- $inc401 = (($359) + 1)|0;
- $c = $inc401;
- $360 = $C;
- $cmp402 = ($inc401|0)<($360|0);
- if (!($cmp402)) {
- break;
- }
- }
- $361 = $saved_stack134;
- _llvm_stackrestore(($361|0));
- $362 = $loss_count;
- $add406 = (($362) + 1)|0;
- $363 = $st$addr;
- $loss_count407 = ((($363)) + 48|0);
- HEAP32[$loss_count407>>2] = $add406;
- STACKTOP = sp;return;
-}
-function _deemphasis($in,$pcm,$N,$C,$downsample,$coef,$mem,$accum) {
- $in = $in|0;
- $pcm = $pcm|0;
- $N = $N|0;
- $C = $C|0;
- $downsample = $downsample|0;
- $coef = $coef|0;
- $mem = $mem|0;
- $accum = $accum|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $C$addr = 0, $N$addr = 0, $Nd = 0, $accum$addr = 0, $add = 0.0;
- var $add$ptr = 0, $add12 = 0.0, $add13 = 0.0, $add5 = 0.0, $apply_downsampling = 0, $arrayidx1 = 0, $arrayidx11 = 0, $arrayidx17 = 0, $arrayidx2 = 0, $arrayidx21 = 0, $arrayidx27 = 0, $arrayidx30 = 0, $arrayidx4 = 0, $arrayidx6 = 0, $c = 0, $cmp = 0, $cmp24 = 0, $cmp3 = 0, $cmp36 = 0, $cmp8 = 0;
- var $coef$addr = 0, $coef0 = 0.0, $div = 0, $downsample$addr = 0, $in$addr = 0, $inc = 0, $inc19 = 0, $inc32 = 0, $inc35 = 0, $j = 0, $m = 0.0, $mem$addr = 0, $mul = 0.0, $mul14 = 0.0, $mul15 = 0.0, $mul16 = 0, $mul26 = 0, $mul28 = 0.0, $mul29 = 0, $pcm$addr = 0;
- var $saved_stack = 0, $tmp = 0.0, $tmp10 = 0.0, $tobool = 0, $vla = 0, $vla$alloca_mul = 0, $x = 0, $y = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $in$addr = $in;
- $pcm$addr = $pcm;
- $N$addr = $N;
- $C$addr = $C;
- $downsample$addr = $downsample;
- $coef$addr = $coef;
- $mem$addr = $mem;
- $accum$addr = $accum;
- $apply_downsampling = 0;
- $0 = $N$addr;
- $1 = (_llvm_stacksave()|0);
- $saved_stack = $1;
- $vla$alloca_mul = $0<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $2 = $coef$addr;
- $3 = +HEAPF32[$2>>2];
- $coef0 = $3;
- $4 = $N$addr;
- $5 = $downsample$addr;
- $div = (($4|0) / ($5|0))&-1;
- $Nd = $div;
- $c = 0;
- while(1) {
- $6 = $mem$addr;
- $7 = $c;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $m = $8;
- $9 = $in$addr;
- $10 = $c;
- $arrayidx2 = (($9) + ($10<<2)|0);
- $11 = HEAP32[$arrayidx2>>2]|0;
- $x = $11;
- $12 = $pcm$addr;
- $13 = $c;
- $add$ptr = (($12) + ($13<<2)|0);
- $y = $add$ptr;
- $14 = $downsample$addr;
- $cmp = ($14|0)>(1);
- $j = 0;
- L3: do {
- if ($cmp) {
- while(1) {
- $15 = $j;
- $16 = $N$addr;
- $cmp3 = ($15|0)<($16|0);
- if (!($cmp3)) {
- break;
- }
- $17 = $x;
- $18 = $j;
- $arrayidx4 = (($17) + ($18<<2)|0);
- $19 = +HEAPF32[$arrayidx4>>2];
- $20 = $m;
- $add = $19 + $20;
- $add5 = $add + 1.0000000031710769E-30;
- $tmp = $add5;
- $21 = $coef0;
- $22 = $tmp;
- $mul = $21 * $22;
- $m = $mul;
- $23 = $tmp;
- $24 = $j;
- $arrayidx6 = (($vla) + ($24<<2)|0);
- HEAPF32[$arrayidx6>>2] = $23;
- $25 = $j;
- $inc = (($25) + 1)|0;
- $j = $inc;
- }
- $apply_downsampling = 1;
- } else {
- while(1) {
- $26 = $j;
- $27 = $N$addr;
- $cmp8 = ($26|0)<($27|0);
- if (!($cmp8)) {
- break L3;
- }
- $28 = $x;
- $29 = $j;
- $arrayidx11 = (($28) + ($29<<2)|0);
- $30 = +HEAPF32[$arrayidx11>>2];
- $31 = $m;
- $add12 = $30 + $31;
- $add13 = $add12 + 1.0000000031710769E-30;
- $tmp10 = $add13;
- $32 = $coef0;
- $33 = $tmp10;
- $mul14 = $32 * $33;
- $m = $mul14;
- $34 = $tmp10;
- $mul15 = $34 * 3.0517578125E-5;
- $35 = $y;
- $36 = $j;
- $37 = $C$addr;
- $mul16 = Math_imul($36, $37)|0;
- $arrayidx17 = (($35) + ($mul16<<2)|0);
- HEAPF32[$arrayidx17>>2] = $mul15;
- $38 = $j;
- $inc19 = (($38) + 1)|0;
- $j = $inc19;
- }
- }
- } while(0);
- $39 = $m;
- $40 = $mem$addr;
- $41 = $c;
- $arrayidx21 = (($40) + ($41<<2)|0);
- HEAPF32[$arrayidx21>>2] = $39;
- $42 = $apply_downsampling;
- $tobool = ($42|0)!=(0);
- L12: do {
- if ($tobool) {
- $j = 0;
- while(1) {
- $43 = $j;
- $44 = $Nd;
- $cmp24 = ($43|0)<($44|0);
- if (!($cmp24)) {
- break L12;
- }
- $45 = $j;
- $46 = $downsample$addr;
- $mul26 = Math_imul($45, $46)|0;
- $arrayidx27 = (($vla) + ($mul26<<2)|0);
- $47 = +HEAPF32[$arrayidx27>>2];
- $mul28 = $47 * 3.0517578125E-5;
- $48 = $y;
- $49 = $j;
- $50 = $C$addr;
- $mul29 = Math_imul($49, $50)|0;
- $arrayidx30 = (($48) + ($mul29<<2)|0);
- HEAPF32[$arrayidx30>>2] = $mul28;
- $51 = $j;
- $inc32 = (($51) + 1)|0;
- $j = $inc32;
- }
- }
- } while(0);
- $52 = $c;
- $inc35 = (($52) + 1)|0;
- $c = $inc35;
- $53 = $C$addr;
- $cmp36 = ($inc35|0)<($53|0);
- if (!($cmp36)) {
- break;
- }
- }
- $54 = $saved_stack;
- _llvm_stackrestore(($54|0));
- STACKTOP = sp;return;
-}
-function _ec_tell_61($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $_this$addr = 0, $nbits_total = 0, $rng = 0, $sub = 0, $sub1 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $nbits_total = ((($0)) + 20|0);
- $1 = HEAP32[$nbits_total>>2]|0;
- $2 = $_this$addr;
- $rng = ((($2)) + 28|0);
- $3 = HEAP32[$rng>>2]|0;
- $4 = (Math_clz32(($3|0))|0);
- $sub = (32 - ($4))|0;
- $sub1 = (($1) - ($sub))|0;
- STACKTOP = sp;return ($sub1|0);
-}
-function _tf_decode($start,$end,$isTransient,$tf_res,$LM,$dec) {
- $start = $start|0;
- $end = $end|0;
- $isTransient = $isTransient|0;
- $tf_res = $tf_res|0;
- $LM = $LM|0;
- $dec = $dec|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $LM$addr = 0, $add = 0, $add1 = 0, $add13 = 0, $add14 = 0, $add18 = 0, $add19 = 0, $add34 = 0, $add36 = 0;
- var $add4 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx15 = 0, $arrayidx16 = 0, $arrayidx20 = 0, $arrayidx31 = 0, $arrayidx35 = 0, $arrayidx37 = 0, $arrayidx39 = 0, $budget = 0, $call = 0, $call25 = 0, $call6 = 0, $call7 = 0, $cmp = 0, $cmp2 = 0, $cmp22 = 0, $cmp28 = 0, $cmp3 = 0;
- var $cmp5 = 0, $cond = 0, $cond9 = 0, $conv = 0, $conv21 = 0, $conv38 = 0, $curr = 0, $dec$addr = 0, $end$addr = 0, $i = 0, $inc = 0, $inc41 = 0, $isTransient$addr = 0, $land$ext = 0, $logp = 0, $mul = 0, $mul12 = 0, $mul17 = 0, $mul32 = 0, $mul33 = 0;
- var $or = 0, $start$addr = 0, $storage = 0, $sub = 0, $tell = 0, $tf_changed = 0, $tf_res$addr = 0, $tf_select = 0, $tf_select_rsv = 0, $tobool = 0, $tobool10 = 0, $tobool8 = 0, $xor = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $start$addr = $start;
- $end$addr = $end;
- $isTransient$addr = $isTransient;
- $tf_res$addr = $tf_res;
- $LM$addr = $LM;
- $dec$addr = $dec;
- $0 = $dec$addr;
- $storage = ((($0)) + 4|0);
- $1 = HEAP32[$storage>>2]|0;
- $mul = $1<<3;
- $budget = $mul;
- $2 = $dec$addr;
- $call = (_ec_tell_61($2)|0);
- $tell = $call;
- $3 = $isTransient$addr;
- $tobool = ($3|0)!=(0);
- $cond = $tobool ? 2 : 4;
- $logp = $cond;
- $4 = $LM$addr;
- $cmp = ($4|0)>(0);
- if ($cmp) {
- $5 = $tell;
- $6 = $logp;
- $add = (($5) + ($6))|0;
- $add1 = (($add) + 1)|0;
- $7 = $budget;
- $cmp2 = ($add1>>>0)<=($7>>>0);
- $8 = $cmp2;
- } else {
- $8 = 0;
- }
- $land$ext = $8&1;
- $tf_select_rsv = $land$ext;
- $9 = $tf_select_rsv;
- $10 = $budget;
- $sub = (($10) - ($9))|0;
- $budget = $sub;
- $curr = 0;
- $tf_changed = 0;
- $11 = $start$addr;
- $i = $11;
- while(1) {
- $12 = $i;
- $13 = $end$addr;
- $cmp3 = ($12|0)<($13|0);
- if (!($cmp3)) {
- break;
- }
- $14 = $tell;
- $15 = $logp;
- $add4 = (($14) + ($15))|0;
- $16 = $budget;
- $cmp5 = ($add4>>>0)<=($16>>>0);
- if ($cmp5) {
- $17 = $dec$addr;
- $18 = $logp;
- $call6 = (_ec_dec_bit_logp($17,$18)|0);
- $19 = $curr;
- $xor = $19 ^ $call6;
- $curr = $xor;
- $20 = $dec$addr;
- $call7 = (_ec_tell_61($20)|0);
- $tell = $call7;
- $21 = $curr;
- $22 = $tf_changed;
- $or = $22 | $21;
- $tf_changed = $or;
- }
- $23 = $curr;
- $24 = $tf_res$addr;
- $25 = $i;
- $arrayidx = (($24) + ($25<<2)|0);
- HEAP32[$arrayidx>>2] = $23;
- $26 = $isTransient$addr;
- $tobool8 = ($26|0)!=(0);
- $cond9 = $tobool8 ? 4 : 5;
- $logp = $cond9;
- $27 = $i;
- $inc = (($27) + 1)|0;
- $i = $inc;
- }
- $tf_select = 0;
- $28 = $tf_select_rsv;
- $tobool10 = ($28|0)!=(0);
- if ($tobool10) {
- $29 = $LM$addr;
- $arrayidx11 = (28933 + ($29<<3)|0);
- $30 = $isTransient$addr;
- $mul12 = $30<<2;
- $add13 = (($mul12) + 0)|0;
- $31 = $tf_changed;
- $add14 = (($add13) + ($31))|0;
- $arrayidx15 = (($arrayidx11) + ($add14)|0);
- $32 = HEAP8[$arrayidx15>>0]|0;
- $conv = $32 << 24 >> 24;
- $33 = $LM$addr;
- $arrayidx16 = (28933 + ($33<<3)|0);
- $34 = $isTransient$addr;
- $mul17 = $34<<2;
- $add18 = (($mul17) + 2)|0;
- $35 = $tf_changed;
- $add19 = (($add18) + ($35))|0;
- $arrayidx20 = (($arrayidx16) + ($add19)|0);
- $36 = HEAP8[$arrayidx20>>0]|0;
- $conv21 = $36 << 24 >> 24;
- $cmp22 = ($conv|0)!=($conv21|0);
- if ($cmp22) {
- $37 = $dec$addr;
- $call25 = (_ec_dec_bit_logp($37,1)|0);
- $tf_select = $call25;
- }
- }
- $38 = $start$addr;
- $i = $38;
- while(1) {
- $39 = $i;
- $40 = $end$addr;
- $cmp28 = ($39|0)<($40|0);
- if (!($cmp28)) {
- break;
- }
- $41 = $LM$addr;
- $arrayidx31 = (28933 + ($41<<3)|0);
- $42 = $isTransient$addr;
- $mul32 = $42<<2;
- $43 = $tf_select;
- $mul33 = $43<<1;
- $add34 = (($mul32) + ($mul33))|0;
- $44 = $tf_res$addr;
- $45 = $i;
- $arrayidx35 = (($44) + ($45<<2)|0);
- $46 = HEAP32[$arrayidx35>>2]|0;
- $add36 = (($add34) + ($46))|0;
- $arrayidx37 = (($arrayidx31) + ($add36)|0);
- $47 = HEAP8[$arrayidx37>>0]|0;
- $conv38 = $47 << 24 >> 24;
- $48 = $tf_res$addr;
- $49 = $i;
- $arrayidx39 = (($48) + ($49<<2)|0);
- HEAP32[$arrayidx39>>2] = $conv38;
- $50 = $i;
- $inc41 = (($50) + 1)|0;
- $i = $inc41;
- }
- STACKTOP = sp;return;
-}
-function _celt_synthesis($mode,$X,$out_syn,$oldBandE,$start,$effEnd,$C,$CC,$isTransient,$LM,$downsample,$silence,$arch) {
- $mode = $mode|0;
- $X = $X|0;
- $out_syn = $out_syn|0;
- $oldBandE = $oldBandE|0;
- $start = $start|0;
- $effEnd = $effEnd|0;
- $C = $C|0;
- $CC = $CC|0;
- $isTransient = $isTransient|0;
- $LM = $LM|0;
- $downsample = $downsample|0;
- $silence = $silence|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0;
- var $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
- var $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0;
- var $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0;
- var $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0;
- var $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0.0, $B = 0, $C$addr = 0, $CC$addr = 0, $LM$addr = 0, $M = 0, $N = 0, $NB = 0, $X$addr = 0, $add = 0, $add$ptr = 0, $add$ptr15 = 0, $add$ptr23 = 0;
- var $add$ptr36 = 0, $add$ptr37 = 0, $add$ptr38 = 0, $add$ptr57 = 0, $add$ptr64 = 0, $add$ptr66 = 0, $add$ptr74 = 0, $add44 = 0.0, $arch$addr = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx20 = 0, $arrayidx21 = 0, $arrayidx42 = 0, $arrayidx43 = 0, $arrayidx46 = 0, $arrayidx54 = 0, $arrayidx71 = 0, $arrayidx72 = 0, $b = 0;
- var $c = 0, $cmp = 0, $cmp11 = 0, $cmp17 = 0, $cmp29 = 0, $cmp31 = 0, $cmp40 = 0, $cmp51 = 0, $cmp68 = 0, $cmp8 = 0, $cmp80 = 0, $div = 0, $div35 = 0, $downsample$addr = 0, $effEnd$addr = 0, $freq2 = 0, $freq233 = 0, $i = 0, $inc = 0, $inc26 = 0;
- var $inc48 = 0, $inc60 = 0, $inc77 = 0, $inc79 = 0, $isTransient$addr = 0, $maxLM = 0, $maxLM7 = 0, $mdct = 0, $mdct19 = 0, $mdct53 = 0, $mdct70 = 0, $mode$addr = 0, $mul = 0, $mul10 = 0, $mul14 = 0, $mul22 = 0, $mul45 = 0.0, $mul56 = 0, $mul63 = 0, $mul65 = 0;
- var $mul73 = 0, $nbEBands = 0, $nbEBands2 = 0, $oldBandE$addr = 0, $or$cond = 0, $or$cond1 = 0, $out_syn$addr = 0, $overlap = 0, $overlap1 = 0, $saved_stack = 0, $shift = 0, $shl = 0, $shl3 = 0, $shl6 = 0, $shortMdctSize = 0, $shortMdctSize4 = 0, $shortMdctSize5 = 0, $silence$addr = 0, $start$addr = 0, $sub = 0;
- var $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $tobool = 0, $vla = 0, $vla$alloca_mul = 0, $window = 0, $window24 = 0, $window58 = 0, $window75 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $mode$addr = $mode;
- $X$addr = $X;
- $out_syn$addr = $out_syn;
- $oldBandE$addr = $oldBandE;
- $start$addr = $start;
- $effEnd$addr = $effEnd;
- $C$addr = $C;
- $CC$addr = $CC;
- $isTransient$addr = $isTransient;
- $LM$addr = $LM;
- $downsample$addr = $downsample;
- $silence$addr = $silence;
- $arch$addr = $arch;
- $0 = $mode$addr;
- $overlap1 = ((($0)) + 4|0);
- $1 = HEAP32[$overlap1>>2]|0;
- $overlap = $1;
- $2 = $mode$addr;
- $nbEBands2 = ((($2)) + 8|0);
- $3 = HEAP32[$nbEBands2>>2]|0;
- $nbEBands = $3;
- $4 = $mode$addr;
- $shortMdctSize = ((($4)) + 44|0);
- $5 = HEAP32[$shortMdctSize>>2]|0;
- $6 = $LM$addr;
- $shl = $5 << $6;
- $N = $shl;
- $7 = $N;
- $8 = (_llvm_stacksave()|0);
- $saved_stack = $8;
- $vla$alloca_mul = $7<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $9 = $LM$addr;
- $shl3 = 1 << $9;
- $M = $shl3;
- $10 = $isTransient$addr;
- $tobool = ($10|0)!=(0);
- if ($tobool) {
- $11 = $M;
- $B = $11;
- $12 = $mode$addr;
- $shortMdctSize4 = ((($12)) + 44|0);
- $13 = HEAP32[$shortMdctSize4>>2]|0;
- $NB = $13;
- $14 = $mode$addr;
- $maxLM = ((($14)) + 36|0);
- $15 = HEAP32[$maxLM>>2]|0;
- $shift = $15;
- } else {
- $B = 1;
- $16 = $mode$addr;
- $shortMdctSize5 = ((($16)) + 44|0);
- $17 = HEAP32[$shortMdctSize5>>2]|0;
- $18 = $LM$addr;
- $shl6 = $17 << $18;
- $NB = $shl6;
- $19 = $mode$addr;
- $maxLM7 = ((($19)) + 36|0);
- $20 = HEAP32[$maxLM7>>2]|0;
- $21 = $LM$addr;
- $sub = (($20) - ($21))|0;
- $shift = $sub;
- }
- $22 = $CC$addr;
- $cmp = ($22|0)==(2);
- $23 = $C$addr;
- $cmp8 = ($23|0)==(1);
- $or$cond = $cmp & $cmp8;
- if ($or$cond) {
- $24 = $mode$addr;
- $25 = $X$addr;
- $26 = $oldBandE$addr;
- $27 = $start$addr;
- $28 = $effEnd$addr;
- $29 = $M;
- $30 = $downsample$addr;
- $31 = $silence$addr;
- _denormalise_bands($24,$25,$vla,$26,$27,$28,$29,$30,$31);
- $32 = $out_syn$addr;
- $arrayidx = ((($32)) + 4|0);
- $33 = HEAP32[$arrayidx>>2]|0;
- $34 = $overlap;
- $div = (($34|0) / 2)&-1;
- $add$ptr = (($33) + ($div<<2)|0);
- $freq2 = $add$ptr;
- $35 = $freq2;
- $36 = $N;
- $mul = $36<<2;
- $37 = $freq2;
- $sub$ptr$lhs$cast = $37;
- $sub$ptr$rhs$cast = $vla;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul10 = 0;
- $add = (($mul) + ($mul10))|0;
- _memcpy(($35|0),($vla|0),($add|0))|0;
- $b = 0;
- while(1) {
- $38 = $b;
- $39 = $B;
- $cmp11 = ($38|0)<($39|0);
- if (!($cmp11)) {
- break;
- }
- $40 = $mode$addr;
- $mdct = ((($40)) + 64|0);
- $41 = $freq2;
- $42 = $b;
- $arrayidx12 = (($41) + ($42<<2)|0);
- $43 = $out_syn$addr;
- $44 = HEAP32[$43>>2]|0;
- $45 = $NB;
- $46 = $b;
- $mul14 = Math_imul($45, $46)|0;
- $add$ptr15 = (($44) + ($mul14<<2)|0);
- $47 = $mode$addr;
- $window = ((($47)) + 60|0);
- $48 = HEAP32[$window>>2]|0;
- $49 = $overlap;
- $50 = $shift;
- $51 = $B;
- $52 = $arch$addr;
- _clt_mdct_backward_c($mdct,$arrayidx12,$add$ptr15,$48,$49,$50,$51,$52);
- $53 = $b;
- $inc = (($53) + 1)|0;
- $b = $inc;
- }
- $b = 0;
- while(1) {
- $54 = $b;
- $55 = $B;
- $cmp17 = ($54|0)<($55|0);
- if (!($cmp17)) {
- break;
- }
- $56 = $mode$addr;
- $mdct19 = ((($56)) + 64|0);
- $57 = $b;
- $arrayidx20 = (($vla) + ($57<<2)|0);
- $58 = $out_syn$addr;
- $arrayidx21 = ((($58)) + 4|0);
- $59 = HEAP32[$arrayidx21>>2]|0;
- $60 = $NB;
- $61 = $b;
- $mul22 = Math_imul($60, $61)|0;
- $add$ptr23 = (($59) + ($mul22<<2)|0);
- $62 = $mode$addr;
- $window24 = ((($62)) + 60|0);
- $63 = HEAP32[$window24>>2]|0;
- $64 = $overlap;
- $65 = $shift;
- $66 = $B;
- $67 = $arch$addr;
- _clt_mdct_backward_c($mdct19,$arrayidx20,$add$ptr23,$63,$64,$65,$66,$67);
- $68 = $b;
- $inc26 = (($68) + 1)|0;
- $b = $inc26;
- }
- $147 = $saved_stack;
- _llvm_stackrestore(($147|0));
- STACKTOP = sp;return;
- }
- $69 = $CC$addr;
- $cmp29 = ($69|0)==(1);
- $70 = $C$addr;
- $cmp31 = ($70|0)==(2);
- $or$cond1 = $cmp29 & $cmp31;
- if (!($or$cond1)) {
- $c = 0;
- while(1) {
- $117 = $mode$addr;
- $118 = $X$addr;
- $119 = $c;
- $120 = $N;
- $mul63 = Math_imul($119, $120)|0;
- $add$ptr64 = (($118) + ($mul63<<2)|0);
- $121 = $oldBandE$addr;
- $122 = $c;
- $123 = $nbEBands;
- $mul65 = Math_imul($122, $123)|0;
- $add$ptr66 = (($121) + ($mul65<<2)|0);
- $124 = $start$addr;
- $125 = $effEnd$addr;
- $126 = $M;
- $127 = $downsample$addr;
- $128 = $silence$addr;
- _denormalise_bands($117,$add$ptr64,$vla,$add$ptr66,$124,$125,$126,$127,$128);
- $b = 0;
- while(1) {
- $129 = $b;
- $130 = $B;
- $cmp68 = ($129|0)<($130|0);
- if (!($cmp68)) {
- break;
- }
- $131 = $mode$addr;
- $mdct70 = ((($131)) + 64|0);
- $132 = $b;
- $arrayidx71 = (($vla) + ($132<<2)|0);
- $133 = $out_syn$addr;
- $134 = $c;
- $arrayidx72 = (($133) + ($134<<2)|0);
- $135 = HEAP32[$arrayidx72>>2]|0;
- $136 = $NB;
- $137 = $b;
- $mul73 = Math_imul($136, $137)|0;
- $add$ptr74 = (($135) + ($mul73<<2)|0);
- $138 = $mode$addr;
- $window75 = ((($138)) + 60|0);
- $139 = HEAP32[$window75>>2]|0;
- $140 = $overlap;
- $141 = $shift;
- $142 = $B;
- $143 = $arch$addr;
- _clt_mdct_backward_c($mdct70,$arrayidx71,$add$ptr74,$139,$140,$141,$142,$143);
- $144 = $b;
- $inc77 = (($144) + 1)|0;
- $b = $inc77;
- }
- $145 = $c;
- $inc79 = (($145) + 1)|0;
- $c = $inc79;
- $146 = $CC$addr;
- $cmp80 = ($inc79|0)<($146|0);
- if (!($cmp80)) {
- break;
- }
- }
- $147 = $saved_stack;
- _llvm_stackrestore(($147|0));
- STACKTOP = sp;return;
- }
- $71 = $out_syn$addr;
- $72 = HEAP32[$71>>2]|0;
- $73 = $overlap;
- $div35 = (($73|0) / 2)&-1;
- $add$ptr36 = (($72) + ($div35<<2)|0);
- $freq233 = $add$ptr36;
- $74 = $mode$addr;
- $75 = $X$addr;
- $76 = $oldBandE$addr;
- $77 = $start$addr;
- $78 = $effEnd$addr;
- $79 = $M;
- $80 = $downsample$addr;
- $81 = $silence$addr;
- _denormalise_bands($74,$75,$vla,$76,$77,$78,$79,$80,$81);
- $82 = $mode$addr;
- $83 = $X$addr;
- $84 = $N;
- $add$ptr37 = (($83) + ($84<<2)|0);
- $85 = $freq233;
- $86 = $oldBandE$addr;
- $87 = $nbEBands;
- $add$ptr38 = (($86) + ($87<<2)|0);
- $88 = $start$addr;
- $89 = $effEnd$addr;
- $90 = $M;
- $91 = $downsample$addr;
- $92 = $silence$addr;
- _denormalise_bands($82,$add$ptr37,$85,$add$ptr38,$88,$89,$90,$91,$92);
- $i = 0;
- while(1) {
- $93 = $i;
- $94 = $N;
- $cmp40 = ($93|0)<($94|0);
- if (!($cmp40)) {
- break;
- }
- $95 = $i;
- $arrayidx42 = (($vla) + ($95<<2)|0);
- $96 = +HEAPF32[$arrayidx42>>2];
- $97 = $freq233;
- $98 = $i;
- $arrayidx43 = (($97) + ($98<<2)|0);
- $99 = +HEAPF32[$arrayidx43>>2];
- $add44 = $96 + $99;
- $mul45 = 0.5 * $add44;
- $100 = $i;
- $arrayidx46 = (($vla) + ($100<<2)|0);
- HEAPF32[$arrayidx46>>2] = $mul45;
- $101 = $i;
- $inc48 = (($101) + 1)|0;
- $i = $inc48;
- }
- $b = 0;
- while(1) {
- $102 = $b;
- $103 = $B;
- $cmp51 = ($102|0)<($103|0);
- if (!($cmp51)) {
- break;
- }
- $104 = $mode$addr;
- $mdct53 = ((($104)) + 64|0);
- $105 = $b;
- $arrayidx54 = (($vla) + ($105<<2)|0);
- $106 = $out_syn$addr;
- $107 = HEAP32[$106>>2]|0;
- $108 = $NB;
- $109 = $b;
- $mul56 = Math_imul($108, $109)|0;
- $add$ptr57 = (($107) + ($mul56<<2)|0);
- $110 = $mode$addr;
- $window58 = ((($110)) + 60|0);
- $111 = HEAP32[$window58>>2]|0;
- $112 = $overlap;
- $113 = $shift;
- $114 = $B;
- $115 = $arch$addr;
- _clt_mdct_backward_c($mdct53,$arrayidx54,$add$ptr57,$111,$112,$113,$114,$115);
- $116 = $b;
- $inc60 = (($116) + 1)|0;
- $b = $inc60;
- }
- $147 = $saved_stack;
- _llvm_stackrestore(($147|0));
- STACKTOP = sp;return;
-}
-function _ec_get_error_65($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $_this$addr = 0, $error = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $error = ((($0)) + 44|0);
- $1 = HEAP32[$error>>2]|0;
- STACKTOP = sp;return ($1|0);
-}
-function _celt_plc_pitch_search($decode_mem,$C,$arch) {
- $decode_mem = $decode_mem|0;
- $C = $C|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $C$addr = 0, $add$ptr = 0, $arch$addr = 0, $decode_mem$addr = 0, $lp_pitch_buf = 0, $pitch_index = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 4112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(4112|0);
- $pitch_index = sp + 4096|0;
- $lp_pitch_buf = sp;
- $decode_mem$addr = $decode_mem;
- $C$addr = $C;
- $arch$addr = $arch;
- $0 = $decode_mem$addr;
- $1 = $C$addr;
- $2 = $arch$addr;
- _pitch_downsample($0,$lp_pitch_buf,2048,$1,$2);
- $add$ptr = ((($lp_pitch_buf)) + 1440|0);
- $3 = $arch$addr;
- _pitch_search($add$ptr,$lp_pitch_buf,1328,620,$pitch_index,$3);
- $4 = HEAP32[$pitch_index>>2]|0;
- $sub = (720 - ($4))|0;
- HEAP32[$pitch_index>>2] = $sub;
- $5 = HEAP32[$pitch_index>>2]|0;
- STACKTOP = sp;return ($5|0);
-}
-function _ec_tell_frac($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_this$addr = 0, $add = 0, $add6 = 0;
- var $arrayidx = 0, $b = 0, $cmp = 0, $conv = 0, $l = 0, $nbits = 0, $nbits_total = 0, $r = 0, $rng = 0, $rng1 = 0, $shl = 0, $shl5 = 0, $shr = 0, $shr3 = 0, $sub = 0, $sub2 = 0, $sub4 = 0, $sub7 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $nbits_total = ((($0)) + 20|0);
- $1 = HEAP32[$nbits_total>>2]|0;
- $shl = $1 << 3;
- $nbits = $shl;
- $2 = $_this$addr;
- $rng = ((($2)) + 28|0);
- $3 = HEAP32[$rng>>2]|0;
- $4 = (Math_clz32(($3|0))|0);
- $sub = (32 - ($4))|0;
- $l = $sub;
- $5 = $_this$addr;
- $rng1 = ((($5)) + 28|0);
- $6 = HEAP32[$rng1>>2]|0;
- $7 = $l;
- $sub2 = (($7) - 16)|0;
- $shr = $6 >>> $sub2;
- $r = $shr;
- $8 = $r;
- $shr3 = $8 >>> 12;
- $sub4 = (($shr3) - 8)|0;
- $b = $sub4;
- $9 = $r;
- $10 = $b;
- $arrayidx = (4552 + ($10<<2)|0);
- $11 = HEAP32[$arrayidx>>2]|0;
- $cmp = ($9>>>0)>($11>>>0);
- $conv = $cmp&1;
- $12 = $b;
- $add = (($12) + ($conv))|0;
- $b = $add;
- $13 = $l;
- $shl5 = $13 << 3;
- $14 = $b;
- $add6 = (($shl5) + ($14))|0;
- $l = $add6;
- $15 = $nbits;
- $16 = $l;
- $sub7 = (($15) - ($16))|0;
- STACKTOP = sp;return ($sub7|0);
-}
-function _ec_dec_init($_this,$_buf,$_storage) {
- $_this = $_this|0;
- $_buf = $_buf|0;
- $_storage = $_storage|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_buf$addr = 0;
- var $_storage$addr = 0, $_this$addr = 0, $call = 0, $end_offs = 0, $end_window = 0, $error = 0, $nbits_total = 0, $nend_bits = 0, $offs = 0, $rem = 0, $rem2 = 0, $rng = 0, $rng1 = 0, $shr = 0, $storage = 0, $sub = 0, $sub3 = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $_buf$addr = $_buf;
- $_storage$addr = $_storage;
- $0 = $_buf$addr;
- $1 = $_this$addr;
- HEAP32[$1>>2] = $0;
- $2 = $_storage$addr;
- $3 = $_this$addr;
- $storage = ((($3)) + 4|0);
- HEAP32[$storage>>2] = $2;
- $4 = $_this$addr;
- $end_offs = ((($4)) + 8|0);
- HEAP32[$end_offs>>2] = 0;
- $5 = $_this$addr;
- $end_window = ((($5)) + 12|0);
- HEAP32[$end_window>>2] = 0;
- $6 = $_this$addr;
- $nend_bits = ((($6)) + 16|0);
- HEAP32[$nend_bits>>2] = 0;
- $7 = $_this$addr;
- $nbits_total = ((($7)) + 20|0);
- HEAP32[$nbits_total>>2] = 9;
- $8 = $_this$addr;
- $offs = ((($8)) + 24|0);
- HEAP32[$offs>>2] = 0;
- $9 = $_this$addr;
- $rng = ((($9)) + 28|0);
- HEAP32[$rng>>2] = 128;
- $10 = $_this$addr;
- $call = (_ec_read_byte($10)|0);
- $11 = $_this$addr;
- $rem = ((($11)) + 40|0);
- HEAP32[$rem>>2] = $call;
- $12 = $_this$addr;
- $rng1 = ((($12)) + 28|0);
- $13 = HEAP32[$rng1>>2]|0;
- $sub = (($13) - 1)|0;
- $14 = $_this$addr;
- $rem2 = ((($14)) + 40|0);
- $15 = HEAP32[$rem2>>2]|0;
- $shr = $15 >> 1;
- $sub3 = (($sub) - ($shr))|0;
- $16 = $_this$addr;
- $val = ((($16)) + 32|0);
- HEAP32[$val>>2] = $sub3;
- $17 = $_this$addr;
- $error = ((($17)) + 44|0);
- HEAP32[$error>>2] = 0;
- $18 = $_this$addr;
- _ec_dec_normalize($18);
- STACKTOP = sp;return;
-}
-function _ec_read_byte($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $_this$addr = 0, $arrayidx = 0, $cmp = 0, $cond = 0, $conv = 0, $inc = 0, $offs = 0, $offs1 = 0, $storage = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $offs = ((($0)) + 24|0);
- $1 = HEAP32[$offs>>2]|0;
- $2 = $_this$addr;
- $storage = ((($2)) + 4|0);
- $3 = HEAP32[$storage>>2]|0;
- $cmp = ($1>>>0)<($3>>>0);
- if (!($cmp)) {
- $cond = 0;
- STACKTOP = sp;return ($cond|0);
- }
- $4 = $_this$addr;
- $5 = HEAP32[$4>>2]|0;
- $6 = $_this$addr;
- $offs1 = ((($6)) + 24|0);
- $7 = HEAP32[$offs1>>2]|0;
- $inc = (($7) + 1)|0;
- HEAP32[$offs1>>2] = $inc;
- $arrayidx = (($5) + ($7)|0);
- $8 = HEAP8[$arrayidx>>0]|0;
- $conv = $8&255;
- $cond = $conv;
- STACKTOP = sp;return ($cond|0);
-}
-function _ec_dec_normalize($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_this$addr = 0, $add = 0, $add6 = 0;
- var $and = 0, $and7 = 0, $call = 0, $cmp = 0, $nbits_total = 0, $neg = 0, $or = 0, $rem = 0, $rem2 = 0, $rem4 = 0, $rng = 0, $rng1 = 0, $shl = 0, $shl3 = 0, $shl5 = 0, $shr = 0, $sym = 0, $val = 0, $val8 = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- while(1) {
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $cmp = ($1>>>0)<=(8388608);
- if (!($cmp)) {
- break;
- }
- $2 = $_this$addr;
- $nbits_total = ((($2)) + 20|0);
- $3 = HEAP32[$nbits_total>>2]|0;
- $add = (($3) + 8)|0;
- HEAP32[$nbits_total>>2] = $add;
- $4 = $_this$addr;
- $rng1 = ((($4)) + 28|0);
- $5 = HEAP32[$rng1>>2]|0;
- $shl = $5 << 8;
- HEAP32[$rng1>>2] = $shl;
- $6 = $_this$addr;
- $rem = ((($6)) + 40|0);
- $7 = HEAP32[$rem>>2]|0;
- $sym = $7;
- $8 = $_this$addr;
- $call = (_ec_read_byte($8)|0);
- $9 = $_this$addr;
- $rem2 = ((($9)) + 40|0);
- HEAP32[$rem2>>2] = $call;
- $10 = $sym;
- $shl3 = $10 << 8;
- $11 = $_this$addr;
- $rem4 = ((($11)) + 40|0);
- $12 = HEAP32[$rem4>>2]|0;
- $or = $shl3 | $12;
- $shr = $or >> 1;
- $sym = $shr;
- $13 = $_this$addr;
- $val = ((($13)) + 32|0);
- $14 = HEAP32[$val>>2]|0;
- $shl5 = $14 << 8;
- $15 = $sym;
- $neg = $15 ^ -1;
- $and = 255 & $neg;
- $add6 = (($shl5) + ($and))|0;
- $and7 = $add6 & 2147483647;
- $16 = $_this$addr;
- $val8 = ((($16)) + 32|0);
- HEAP32[$val8>>2] = $and7;
- }
- STACKTOP = sp;return;
-}
-function _ec_decode($_this,$_ft) {
- $_this = $_this|0;
- $_ft = $_ft|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_ft$addr = 0, $_this$addr = 0, $add = 0, $add2 = 0, $add3 = 0, $add5 = 0;
- var $and = 0, $call = 0, $cmp = 0, $conv = 0, $div = 0, $ext = 0, $ext1 = 0, $rng = 0, $s = 0, $sub = 0, $sub4 = 0, $sub6 = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $_ft$addr = $_ft;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $2 = $_ft$addr;
- $call = (_celt_udiv($1,$2)|0);
- $3 = $_this$addr;
- $ext = ((($3)) + 36|0);
- HEAP32[$ext>>2] = $call;
- $4 = $_this$addr;
- $val = ((($4)) + 32|0);
- $5 = HEAP32[$val>>2]|0;
- $6 = $_this$addr;
- $ext1 = ((($6)) + 36|0);
- $7 = HEAP32[$ext1>>2]|0;
- $div = (($5>>>0) / ($7>>>0))&-1;
- $s = $div;
- $8 = $_ft$addr;
- $9 = $s;
- $add = (($9) + 1)|0;
- $10 = $_ft$addr;
- $11 = $s;
- $add2 = (($11) + 1)|0;
- $sub = (($10) - ($add2))|0;
- $12 = $_ft$addr;
- $13 = $s;
- $add3 = (($13) + 1)|0;
- $cmp = ($12>>>0)<($add3>>>0);
- $conv = $cmp&1;
- $sub4 = (0 - ($conv))|0;
- $and = $sub & $sub4;
- $add5 = (($add) + ($and))|0;
- $sub6 = (($8) - ($add5))|0;
- STACKTOP = sp;return ($sub6|0);
-}
-function _celt_udiv($n,$d) {
- $n = $n|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $d$addr = 0, $div = 0, $n$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $n$addr = $n;
- $d$addr = $d;
- $0 = $n$addr;
- $1 = $d$addr;
- $div = (($0>>>0) / ($1>>>0))&-1;
- STACKTOP = sp;return ($div|0);
-}
-function _ec_decode_bin($_this,$_bits) {
- $_this = $_this|0;
- $_bits = $_bits|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_bits$addr = 0, $_this$addr = 0, $add = 0, $add3 = 0, $add5 = 0, $add7 = 0;
- var $and = 0, $cmp = 0, $conv = 0, $div = 0, $ext = 0, $ext1 = 0, $rng = 0, $s = 0, $shl = 0, $shl2 = 0, $shl4 = 0, $shr = 0, $sub = 0, $sub6 = 0, $sub8 = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $_bits$addr = $_bits;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $2 = $_bits$addr;
- $shr = $1 >>> $2;
- $3 = $_this$addr;
- $ext = ((($3)) + 36|0);
- HEAP32[$ext>>2] = $shr;
- $4 = $_this$addr;
- $val = ((($4)) + 32|0);
- $5 = HEAP32[$val>>2]|0;
- $6 = $_this$addr;
- $ext1 = ((($6)) + 36|0);
- $7 = HEAP32[$ext1>>2]|0;
- $div = (($5>>>0) / ($7>>>0))&-1;
- $s = $div;
- $8 = $_bits$addr;
- $shl = 1 << $8;
- $9 = $s;
- $add = (($9) + 1)|0;
- $10 = $_bits$addr;
- $shl2 = 1 << $10;
- $11 = $s;
- $add3 = (($11) + 1)|0;
- $sub = (($shl2) - ($add3))|0;
- $12 = $_bits$addr;
- $shl4 = 1 << $12;
- $13 = $s;
- $add5 = (($13) + 1)|0;
- $cmp = ($shl4>>>0)<($add5>>>0);
- $conv = $cmp&1;
- $sub6 = (0 - ($conv))|0;
- $and = $sub & $sub6;
- $add7 = (($add) + ($and))|0;
- $sub8 = (($shl) - ($add7))|0;
- STACKTOP = sp;return ($sub8|0);
-}
-function _ec_dec_update($_this,$_fl,$_fh,$_ft) {
- $_this = $_this|0;
- $_fl = $_fl|0;
- $_fh = $_fh|0;
- $_ft = $_ft|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_fh$addr = 0, $_fl$addr = 0, $_ft$addr = 0, $_this$addr = 0;
- var $cmp = 0, $cond = 0, $ext = 0, $ext2 = 0, $mul = 0, $mul4 = 0, $rng = 0, $rng6 = 0, $s = 0, $sub = 0, $sub1 = 0, $sub3 = 0, $sub5 = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_fl$addr = $_fl;
- $_fh$addr = $_fh;
- $_ft$addr = $_ft;
- $0 = $_this$addr;
- $ext = ((($0)) + 36|0);
- $1 = HEAP32[$ext>>2]|0;
- $2 = $_ft$addr;
- $3 = $_fh$addr;
- $sub = (($2) - ($3))|0;
- $mul = Math_imul($1, $sub)|0;
- $s = $mul;
- $4 = $s;
- $5 = $_this$addr;
- $val = ((($5)) + 32|0);
- $6 = HEAP32[$val>>2]|0;
- $sub1 = (($6) - ($4))|0;
- HEAP32[$val>>2] = $sub1;
- $7 = $_fl$addr;
- $cmp = ($7>>>0)>(0);
- $8 = $_this$addr;
- if ($cmp) {
- $ext2 = ((($8)) + 36|0);
- $9 = HEAP32[$ext2>>2]|0;
- $10 = $_fh$addr;
- $11 = $_fl$addr;
- $sub3 = (($10) - ($11))|0;
- $mul4 = Math_imul($9, $sub3)|0;
- $cond = $mul4;
- $14 = $_this$addr;
- $rng6 = ((($14)) + 28|0);
- HEAP32[$rng6>>2] = $cond;
- $15 = $_this$addr;
- _ec_dec_normalize($15);
- STACKTOP = sp;return;
- } else {
- $rng = ((($8)) + 28|0);
- $12 = HEAP32[$rng>>2]|0;
- $13 = $s;
- $sub5 = (($12) - ($13))|0;
- $cond = $sub5;
- $14 = $_this$addr;
- $rng6 = ((($14)) + 28|0);
- HEAP32[$rng6>>2] = $cond;
- $15 = $_this$addr;
- _ec_dec_normalize($15);
- STACKTOP = sp;return;
- }
-}
-function _ec_dec_bit_logp($_this,$_logp) {
- $_this = $_this|0;
- $_logp = $_logp|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_logp$addr = 0;
- var $_this$addr = 0, $cmp = 0, $cond = 0, $conv = 0, $d = 0, $r = 0, $ret = 0, $rng = 0, $rng4 = 0, $s = 0, $shr = 0, $sub = 0, $sub3 = 0, $tobool = 0, $tobool2 = 0, $val = 0, $val1 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_logp$addr = $_logp;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $r = $1;
- $2 = $_this$addr;
- $val = ((($2)) + 32|0);
- $3 = HEAP32[$val>>2]|0;
- $d = $3;
- $4 = $r;
- $5 = $_logp$addr;
- $shr = $4 >>> $5;
- $s = $shr;
- $6 = $d;
- $7 = $s;
- $cmp = ($6>>>0)<($7>>>0);
- $conv = $cmp&1;
- $ret = $conv;
- $8 = $ret;
- $tobool = ($8|0)!=(0);
- if (!($tobool)) {
- $9 = $d;
- $10 = $s;
- $sub = (($9) - ($10))|0;
- $11 = $_this$addr;
- $val1 = ((($11)) + 32|0);
- HEAP32[$val1>>2] = $sub;
- }
- $12 = $ret;
- $tobool2 = ($12|0)!=(0);
- if ($tobool2) {
- $13 = $s;
- $cond = $13;
- } else {
- $14 = $r;
- $15 = $s;
- $sub3 = (($14) - ($15))|0;
- $cond = $sub3;
- }
- $16 = $_this$addr;
- $rng4 = ((($16)) + 28|0);
- HEAP32[$rng4>>2] = $cond;
- $17 = $_this$addr;
- _ec_dec_normalize($17);
- $18 = $ret;
- STACKTOP = sp;return ($18|0);
-}
-function _ec_dec_icdf($_this,$_icdf,$_ftb) {
- $_this = $_this|0;
- $_icdf = $_icdf|0;
- $_ftb = $_ftb|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $_ftb$addr = 0, $_icdf$addr = 0, $_this$addr = 0, $arrayidx = 0, $cmp = 0, $conv = 0, $d = 0, $inc = 0, $mul = 0, $r = 0, $ret = 0, $rng = 0, $rng4 = 0, $s = 0, $shr = 0, $sub = 0, $sub3 = 0, $t = 0, $val = 0;
- var $val2 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_icdf$addr = $_icdf;
- $_ftb$addr = $_ftb;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $s = $1;
- $2 = $_this$addr;
- $val = ((($2)) + 32|0);
- $3 = HEAP32[$val>>2]|0;
- $d = $3;
- $4 = $s;
- $5 = $_ftb$addr;
- $shr = $4 >>> $5;
- $r = $shr;
- $ret = -1;
- while(1) {
- $6 = $s;
- $t = $6;
- $7 = $r;
- $8 = $_icdf$addr;
- $9 = $ret;
- $inc = (($9) + 1)|0;
- $ret = $inc;
- $arrayidx = (($8) + ($inc)|0);
- $10 = HEAP8[$arrayidx>>0]|0;
- $conv = $10&255;
- $mul = Math_imul($7, $conv)|0;
- $s = $mul;
- $11 = $d;
- $12 = $s;
- $cmp = ($11>>>0)<($12>>>0);
- if (!($cmp)) {
- break;
- }
- }
- $13 = $d;
- $14 = $s;
- $sub = (($13) - ($14))|0;
- $15 = $_this$addr;
- $val2 = ((($15)) + 32|0);
- HEAP32[$val2>>2] = $sub;
- $16 = $t;
- $17 = $s;
- $sub3 = (($16) - ($17))|0;
- $18 = $_this$addr;
- $rng4 = ((($18)) + 28|0);
- HEAP32[$rng4>>2] = $sub3;
- $19 = $_this$addr;
- _ec_dec_normalize($19);
- $20 = $ret;
- STACKTOP = sp;return ($20|0);
-}
-function _ec_dec_uint($_this,$_ft) {
- $_this = $_this|0;
- $_ft = $_ft|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_ft$addr = 0, $_this$addr = 0, $add = 0, $add2 = 0, $add7 = 0, $call = 0, $call3 = 0, $call6 = 0, $cmp = 0;
- var $cmp4 = 0, $dec = 0, $error = 0, $ft = 0, $ftb = 0, $inc = 0, $or = 0, $retval = 0, $s = 0, $shl = 0, $shr = 0, $sub = 0, $sub1 = 0, $t = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_ft$addr = $_ft;
- $0 = $_ft$addr;
- $dec = (($0) + -1)|0;
- $_ft$addr = $dec;
- $1 = $_ft$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $ftb = $sub;
- $3 = $ftb;
- $cmp = ($3|0)>(8);
- if (!($cmp)) {
- $22 = $_ft$addr;
- $inc = (($22) + 1)|0;
- $_ft$addr = $inc;
- $23 = $_this$addr;
- $24 = $_ft$addr;
- $call6 = (_ec_decode($23,$24)|0);
- $s = $call6;
- $25 = $_this$addr;
- $26 = $s;
- $27 = $s;
- $add7 = (($27) + 1)|0;
- $28 = $_ft$addr;
- _ec_dec_update($25,$26,$add7,$28);
- $29 = $s;
- $retval = $29;
- $30 = $retval;
- STACKTOP = sp;return ($30|0);
- }
- $4 = $ftb;
- $sub1 = (($4) - 8)|0;
- $ftb = $sub1;
- $5 = $_ft$addr;
- $6 = $ftb;
- $shr = $5 >>> $6;
- $add = (($shr) + 1)|0;
- $ft = $add;
- $7 = $_this$addr;
- $8 = $ft;
- $call = (_ec_decode($7,$8)|0);
- $s = $call;
- $9 = $_this$addr;
- $10 = $s;
- $11 = $s;
- $add2 = (($11) + 1)|0;
- $12 = $ft;
- _ec_dec_update($9,$10,$add2,$12);
- $13 = $s;
- $14 = $ftb;
- $shl = $13 << $14;
- $15 = $_this$addr;
- $16 = $ftb;
- $call3 = (_ec_dec_bits($15,$16)|0);
- $or = $shl | $call3;
- $t = $or;
- $17 = $t;
- $18 = $_ft$addr;
- $cmp4 = ($17>>>0)<=($18>>>0);
- if ($cmp4) {
- $19 = $t;
- $retval = $19;
- $30 = $retval;
- STACKTOP = sp;return ($30|0);
- } else {
- $20 = $_this$addr;
- $error = ((($20)) + 44|0);
- HEAP32[$error>>2] = 1;
- $21 = $_ft$addr;
- $retval = $21;
- $30 = $retval;
- STACKTOP = sp;return ($30|0);
- }
- return (0)|0;
-}
-function _ec_dec_bits($_this,$_bits) {
- $_this = $_this|0;
- $_bits = $_bits|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $3 = 0, $4 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_bits$addr = 0, $_this$addr = 0, $add = 0, $add6 = 0, $and = 0, $available = 0, $call = 0, $cmp = 0, $cmp1 = 0, $end_window = 0, $end_window4 = 0, $nbits_total = 0, $nend_bits = 0, $nend_bits5 = 0, $or = 0;
- var $ret = 0, $shl = 0, $shl2 = 0, $shr = 0, $sub = 0, $sub3 = 0, $window = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_bits$addr = $_bits;
- $0 = $_this$addr;
- $end_window = ((($0)) + 12|0);
- $1 = HEAP32[$end_window>>2]|0;
- $window = $1;
- $2 = $_this$addr;
- $nend_bits = ((($2)) + 16|0);
- $3 = HEAP32[$nend_bits>>2]|0;
- $available = $3;
- $4 = $available;
- $5 = $_bits$addr;
- $cmp = ($4>>>0)<($5>>>0);
- if ($cmp) {
- while(1) {
- $6 = $_this$addr;
- $call = (_ec_read_byte_from_end($6)|0);
- $7 = $available;
- $shl = $call << $7;
- $8 = $window;
- $or = $8 | $shl;
- $window = $or;
- $9 = $available;
- $add = (($9) + 8)|0;
- $available = $add;
- $10 = $available;
- $cmp1 = ($10|0)<=(24);
- if (!($cmp1)) {
- break;
- }
- }
- }
- $11 = $window;
- $12 = $_bits$addr;
- $shl2 = 1 << $12;
- $sub = (($shl2) - 1)|0;
- $and = $11 & $sub;
- $ret = $and;
- $13 = $_bits$addr;
- $14 = $window;
- $shr = $14 >>> $13;
- $window = $shr;
- $15 = $_bits$addr;
- $16 = $available;
- $sub3 = (($16) - ($15))|0;
- $available = $sub3;
- $17 = $window;
- $18 = $_this$addr;
- $end_window4 = ((($18)) + 12|0);
- HEAP32[$end_window4>>2] = $17;
- $19 = $available;
- $20 = $_this$addr;
- $nend_bits5 = ((($20)) + 16|0);
- HEAP32[$nend_bits5>>2] = $19;
- $21 = $_bits$addr;
- $22 = $_this$addr;
- $nbits_total = ((($22)) + 20|0);
- $23 = HEAP32[$nbits_total>>2]|0;
- $add6 = (($23) + ($21))|0;
- HEAP32[$nbits_total>>2] = $add6;
- $24 = $ret;
- STACKTOP = sp;return ($24|0);
-}
-function _ec_read_byte_from_end($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_this$addr = 0, $arrayidx = 0, $cmp = 0, $cond = 0, $conv = 0, $end_offs = 0, $end_offs2 = 0, $inc = 0, $storage = 0;
- var $storage1 = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $end_offs = ((($0)) + 8|0);
- $1 = HEAP32[$end_offs>>2]|0;
- $2 = $_this$addr;
- $storage = ((($2)) + 4|0);
- $3 = HEAP32[$storage>>2]|0;
- $cmp = ($1>>>0)<($3>>>0);
- if (!($cmp)) {
- $cond = 0;
- STACKTOP = sp;return ($cond|0);
- }
- $4 = $_this$addr;
- $5 = HEAP32[$4>>2]|0;
- $6 = $_this$addr;
- $storage1 = ((($6)) + 4|0);
- $7 = HEAP32[$storage1>>2]|0;
- $8 = $_this$addr;
- $end_offs2 = ((($8)) + 8|0);
- $9 = HEAP32[$end_offs2>>2]|0;
- $inc = (($9) + 1)|0;
- HEAP32[$end_offs2>>2] = $inc;
- $sub = (($7) - ($inc))|0;
- $arrayidx = (($5) + ($sub)|0);
- $10 = HEAP8[$arrayidx>>0]|0;
- $conv = $10&255;
- $cond = $conv;
- STACKTOP = sp;return ($cond|0);
-}
-function _ec_enc_init($_this,$_buf,$_size) {
- $_this = $_this|0;
- $_buf = $_buf|0;
- $_size = $_size|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_buf$addr = 0, $_size$addr = 0, $_this$addr = 0, $end_offs = 0, $end_window = 0, $error = 0;
- var $ext = 0, $nbits_total = 0, $nend_bits = 0, $offs = 0, $rem = 0, $rng = 0, $storage = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $_buf$addr = $_buf;
- $_size$addr = $_size;
- $0 = $_buf$addr;
- $1 = $_this$addr;
- HEAP32[$1>>2] = $0;
- $2 = $_this$addr;
- $end_offs = ((($2)) + 8|0);
- HEAP32[$end_offs>>2] = 0;
- $3 = $_this$addr;
- $end_window = ((($3)) + 12|0);
- HEAP32[$end_window>>2] = 0;
- $4 = $_this$addr;
- $nend_bits = ((($4)) + 16|0);
- HEAP32[$nend_bits>>2] = 0;
- $5 = $_this$addr;
- $nbits_total = ((($5)) + 20|0);
- HEAP32[$nbits_total>>2] = 33;
- $6 = $_this$addr;
- $offs = ((($6)) + 24|0);
- HEAP32[$offs>>2] = 0;
- $7 = $_this$addr;
- $rng = ((($7)) + 28|0);
- HEAP32[$rng>>2] = -2147483648;
- $8 = $_this$addr;
- $rem = ((($8)) + 40|0);
- HEAP32[$rem>>2] = -1;
- $9 = $_this$addr;
- $val = ((($9)) + 32|0);
- HEAP32[$val>>2] = 0;
- $10 = $_this$addr;
- $ext = ((($10)) + 36|0);
- HEAP32[$ext>>2] = 0;
- $11 = $_size$addr;
- $12 = $_this$addr;
- $storage = ((($12)) + 4|0);
- HEAP32[$storage>>2] = $11;
- $13 = $_this$addr;
- $error = ((($13)) + 44|0);
- HEAP32[$error>>2] = 0;
- STACKTOP = sp;return;
-}
-function _ec_encode($_this,$_fl,$_fh,$_ft) {
- $_this = $_this|0;
- $_fl = $_fl|0;
- $_fh = $_fh|0;
- $_ft = $_ft|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $_fh$addr = 0, $_fl$addr = 0, $_ft$addr = 0, $_this$addr = 0, $add = 0, $call = 0, $cmp = 0, $mul = 0, $mul4 = 0, $mul7 = 0, $r = 0, $rng = 0, $rng1 = 0, $rng5 = 0, $rng8 = 0, $sub = 0, $sub2 = 0, $sub3 = 0, $sub6 = 0;
- var $sub9 = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_fl$addr = $_fl;
- $_fh$addr = $_fh;
- $_ft$addr = $_ft;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $2 = $_ft$addr;
- $call = (_celt_udiv_80($1,$2)|0);
- $r = $call;
- $3 = $_fl$addr;
- $cmp = ($3>>>0)>(0);
- if ($cmp) {
- $4 = $_this$addr;
- $rng1 = ((($4)) + 28|0);
- $5 = HEAP32[$rng1>>2]|0;
- $6 = $r;
- $7 = $_ft$addr;
- $8 = $_fl$addr;
- $sub = (($7) - ($8))|0;
- $mul = Math_imul($6, $sub)|0;
- $sub2 = (($5) - ($mul))|0;
- $9 = $_this$addr;
- $val = ((($9)) + 32|0);
- $10 = HEAP32[$val>>2]|0;
- $add = (($10) + ($sub2))|0;
- HEAP32[$val>>2] = $add;
- $11 = $r;
- $12 = $_fh$addr;
- $13 = $_fl$addr;
- $sub3 = (($12) - ($13))|0;
- $mul4 = Math_imul($11, $sub3)|0;
- $14 = $_this$addr;
- $rng5 = ((($14)) + 28|0);
- HEAP32[$rng5>>2] = $mul4;
- $20 = $_this$addr;
- _ec_enc_normalize($20);
- STACKTOP = sp;return;
- } else {
- $15 = $r;
- $16 = $_ft$addr;
- $17 = $_fh$addr;
- $sub6 = (($16) - ($17))|0;
- $mul7 = Math_imul($15, $sub6)|0;
- $18 = $_this$addr;
- $rng8 = ((($18)) + 28|0);
- $19 = HEAP32[$rng8>>2]|0;
- $sub9 = (($19) - ($mul7))|0;
- HEAP32[$rng8>>2] = $sub9;
- $20 = $_this$addr;
- _ec_enc_normalize($20);
- STACKTOP = sp;return;
- }
-}
-function _celt_udiv_80($n,$d) {
- $n = $n|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $d$addr = 0, $div = 0, $n$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $n$addr = $n;
- $d$addr = $d;
- $0 = $n$addr;
- $1 = $d$addr;
- $div = (($0>>>0) / ($1>>>0))&-1;
- STACKTOP = sp;return ($div|0);
-}
-function _ec_enc_normalize($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_this$addr = 0, $add = 0, $and = 0, $cmp = 0, $nbits_total = 0, $rng = 0, $rng3 = 0, $shl = 0;
- var $shl4 = 0, $shr = 0, $val = 0, $val1 = 0, $val2 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- while(1) {
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $cmp = ($1>>>0)<=(8388608);
- if (!($cmp)) {
- break;
- }
- $2 = $_this$addr;
- $3 = $_this$addr;
- $val = ((($3)) + 32|0);
- $4 = HEAP32[$val>>2]|0;
- $shr = $4 >>> 23;
- _ec_enc_carry_out($2,$shr);
- $5 = $_this$addr;
- $val1 = ((($5)) + 32|0);
- $6 = HEAP32[$val1>>2]|0;
- $shl = $6 << 8;
- $and = $shl & 2147483647;
- $7 = $_this$addr;
- $val2 = ((($7)) + 32|0);
- HEAP32[$val2>>2] = $and;
- $8 = $_this$addr;
- $rng3 = ((($8)) + 28|0);
- $9 = HEAP32[$rng3>>2]|0;
- $shl4 = $9 << 8;
- HEAP32[$rng3>>2] = $shl4;
- $10 = $_this$addr;
- $nbits_total = ((($10)) + 20|0);
- $11 = HEAP32[$nbits_total>>2]|0;
- $add = (($11) + 8)|0;
- HEAP32[$nbits_total>>2] = $add;
- }
- STACKTOP = sp;return;
-}
-function _ec_enc_carry_out($_this,$_c) {
- $_this = $_this|0;
- $_c = $_c|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $_c$addr = 0, $_this$addr = 0, $add = 0, $add6 = 0, $and = 0, $and13 = 0, $call = 0, $call7 = 0, $carry = 0, $cmp = 0, $cmp1 = 0, $cmp11 = 0, $cmp4 = 0, $dec = 0, $error = 0, $error8 = 0, $ext = 0;
- var $ext10 = 0, $ext15 = 0, $inc = 0, $or = 0, $or9 = 0, $rem = 0, $rem14 = 0, $rem3 = 0, $shr = 0, $sym = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $_c$addr = $_c;
- $0 = $_c$addr;
- $cmp = ($0|0)!=(255);
- if (!($cmp)) {
- $21 = $_this$addr;
- $ext15 = ((($21)) + 36|0);
- $22 = HEAP32[$ext15>>2]|0;
- $inc = (($22) + 1)|0;
- HEAP32[$ext15>>2] = $inc;
- STACKTOP = sp;return;
- }
- $1 = $_c$addr;
- $shr = $1 >> 8;
- $carry = $shr;
- $2 = $_this$addr;
- $rem = ((($2)) + 40|0);
- $3 = HEAP32[$rem>>2]|0;
- $cmp1 = ($3|0)>=(0);
- if ($cmp1) {
- $4 = $_this$addr;
- $5 = $_this$addr;
- $rem3 = ((($5)) + 40|0);
- $6 = HEAP32[$rem3>>2]|0;
- $7 = $carry;
- $add = (($6) + ($7))|0;
- $call = (_ec_write_byte($4,$add)|0);
- $8 = $_this$addr;
- $error = ((($8)) + 44|0);
- $9 = HEAP32[$error>>2]|0;
- $or = $9 | $call;
- HEAP32[$error>>2] = $or;
- }
- $10 = $_this$addr;
- $ext = ((($10)) + 36|0);
- $11 = HEAP32[$ext>>2]|0;
- $cmp4 = ($11>>>0)>(0);
- if ($cmp4) {
- $12 = $carry;
- $add6 = (255 + ($12))|0;
- $and = $add6 & 255;
- $sym = $and;
- while(1) {
- $13 = $_this$addr;
- $14 = $sym;
- $call7 = (_ec_write_byte($13,$14)|0);
- $15 = $_this$addr;
- $error8 = ((($15)) + 44|0);
- $16 = HEAP32[$error8>>2]|0;
- $or9 = $16 | $call7;
- HEAP32[$error8>>2] = $or9;
- $17 = $_this$addr;
- $ext10 = ((($17)) + 36|0);
- $18 = HEAP32[$ext10>>2]|0;
- $dec = (($18) + -1)|0;
- HEAP32[$ext10>>2] = $dec;
- $cmp11 = ($dec>>>0)>(0);
- if (!($cmp11)) {
- break;
- }
- }
- }
- $19 = $_c$addr;
- $and13 = $19 & 255;
- $20 = $_this$addr;
- $rem14 = ((($20)) + 40|0);
- HEAP32[$rem14>>2] = $and13;
- STACKTOP = sp;return;
-}
-function _ec_write_byte($_this,$_value) {
- $_this = $_this|0;
- $_value = $_value|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_this$addr = 0, $_value$addr = 0, $add = 0, $arrayidx = 0, $cmp = 0, $conv = 0, $end_offs = 0, $inc = 0;
- var $offs = 0, $offs1 = 0, $retval = 0, $storage = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $_value$addr = $_value;
- $0 = $_this$addr;
- $offs = ((($0)) + 24|0);
- $1 = HEAP32[$offs>>2]|0;
- $2 = $_this$addr;
- $end_offs = ((($2)) + 8|0);
- $3 = HEAP32[$end_offs>>2]|0;
- $add = (($1) + ($3))|0;
- $4 = $_this$addr;
- $storage = ((($4)) + 4|0);
- $5 = HEAP32[$storage>>2]|0;
- $cmp = ($add>>>0)>=($5>>>0);
- if ($cmp) {
- $retval = -1;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
- } else {
- $6 = $_value$addr;
- $conv = $6&255;
- $7 = $_this$addr;
- $8 = HEAP32[$7>>2]|0;
- $9 = $_this$addr;
- $offs1 = ((($9)) + 24|0);
- $10 = HEAP32[$offs1>>2]|0;
- $inc = (($10) + 1)|0;
- HEAP32[$offs1>>2] = $inc;
- $arrayidx = (($8) + ($10)|0);
- HEAP8[$arrayidx>>0] = $conv;
- $retval = 0;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
- }
- return (0)|0;
-}
-function _ec_encode_bin($_this,$_fl,$_fh,$_bits) {
- $_this = $_this|0;
- $_fl = $_fl|0;
- $_fh = $_fh|0;
- $_bits = $_bits|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $_bits$addr = 0, $_fh$addr = 0, $_fl$addr = 0, $_this$addr = 0, $add = 0, $cmp = 0, $mul = 0, $mul4 = 0, $mul8 = 0, $r = 0, $rng = 0, $rng1 = 0, $rng5 = 0, $rng9 = 0, $shl = 0, $shl6 = 0, $shr = 0, $sub = 0, $sub10 = 0;
- var $sub2 = 0, $sub3 = 0, $sub7 = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_fl$addr = $_fl;
- $_fh$addr = $_fh;
- $_bits$addr = $_bits;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $2 = $_bits$addr;
- $shr = $1 >>> $2;
- $r = $shr;
- $3 = $_fl$addr;
- $cmp = ($3>>>0)>(0);
- if ($cmp) {
- $4 = $_this$addr;
- $rng1 = ((($4)) + 28|0);
- $5 = HEAP32[$rng1>>2]|0;
- $6 = $r;
- $7 = $_bits$addr;
- $shl = 1 << $7;
- $8 = $_fl$addr;
- $sub = (($shl) - ($8))|0;
- $mul = Math_imul($6, $sub)|0;
- $sub2 = (($5) - ($mul))|0;
- $9 = $_this$addr;
- $val = ((($9)) + 32|0);
- $10 = HEAP32[$val>>2]|0;
- $add = (($10) + ($sub2))|0;
- HEAP32[$val>>2] = $add;
- $11 = $r;
- $12 = $_fh$addr;
- $13 = $_fl$addr;
- $sub3 = (($12) - ($13))|0;
- $mul4 = Math_imul($11, $sub3)|0;
- $14 = $_this$addr;
- $rng5 = ((($14)) + 28|0);
- HEAP32[$rng5>>2] = $mul4;
- $20 = $_this$addr;
- _ec_enc_normalize($20);
- STACKTOP = sp;return;
- } else {
- $15 = $r;
- $16 = $_bits$addr;
- $shl6 = 1 << $16;
- $17 = $_fh$addr;
- $sub7 = (($shl6) - ($17))|0;
- $mul8 = Math_imul($15, $sub7)|0;
- $18 = $_this$addr;
- $rng9 = ((($18)) + 28|0);
- $19 = HEAP32[$rng9>>2]|0;
- $sub10 = (($19) - ($mul8))|0;
- HEAP32[$rng9>>2] = $sub10;
- $20 = $_this$addr;
- _ec_enc_normalize($20);
- STACKTOP = sp;return;
- }
-}
-function _ec_enc_bit_logp($_this,$_val,$_logp) {
- $_this = $_this|0;
- $_val = $_val|0;
- $_logp = $_logp|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_logp$addr = 0, $_this$addr = 0, $_val$addr = 0;
- var $add = 0, $cond = 0, $l = 0, $r = 0, $rng = 0, $rng3 = 0, $s = 0, $shr = 0, $sub = 0, $tobool = 0, $tobool2 = 0, $val = 0, $val1 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_val$addr = $_val;
- $_logp$addr = $_logp;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $r = $1;
- $2 = $_this$addr;
- $val = ((($2)) + 32|0);
- $3 = HEAP32[$val>>2]|0;
- $l = $3;
- $4 = $r;
- $5 = $_logp$addr;
- $shr = $4 >>> $5;
- $s = $shr;
- $6 = $s;
- $7 = $r;
- $sub = (($7) - ($6))|0;
- $r = $sub;
- $8 = $_val$addr;
- $tobool = ($8|0)!=(0);
- if ($tobool) {
- $9 = $l;
- $10 = $r;
- $add = (($9) + ($10))|0;
- $11 = $_this$addr;
- $val1 = ((($11)) + 32|0);
- HEAP32[$val1>>2] = $add;
- }
- $12 = $_val$addr;
- $tobool2 = ($12|0)!=(0);
- $13 = $s;
- $14 = $r;
- $cond = $tobool2 ? $13 : $14;
- $15 = $_this$addr;
- $rng3 = ((($15)) + 28|0);
- HEAP32[$rng3>>2] = $cond;
- $16 = $_this$addr;
- _ec_enc_normalize($16);
- STACKTOP = sp;return;
-}
-function _ec_enc_icdf($_this,$_s,$_icdf,$_ftb) {
- $_this = $_this|0;
- $_s = $_s|0;
- $_icdf = $_icdf|0;
- $_ftb = $_ftb|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_ftb$addr = 0, $_icdf$addr = 0, $_s$addr = 0, $_this$addr = 0, $add = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx4 = 0, $arrayidx6 = 0, $cmp = 0, $conv = 0, $conv12 = 0, $conv5 = 0;
- var $conv7 = 0, $mul = 0, $mul13 = 0, $mul9 = 0, $r = 0, $rng = 0, $rng1 = 0, $rng10 = 0, $rng14 = 0, $shr = 0, $sub = 0, $sub15 = 0, $sub2 = 0, $sub3 = 0, $sub8 = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_s$addr = $_s;
- $_icdf$addr = $_icdf;
- $_ftb$addr = $_ftb;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $2 = $_ftb$addr;
- $shr = $1 >>> $2;
- $r = $shr;
- $3 = $_s$addr;
- $cmp = ($3|0)>(0);
- if ($cmp) {
- $4 = $_this$addr;
- $rng1 = ((($4)) + 28|0);
- $5 = HEAP32[$rng1>>2]|0;
- $6 = $r;
- $7 = $_icdf$addr;
- $8 = $_s$addr;
- $sub = (($8) - 1)|0;
- $arrayidx = (($7) + ($sub)|0);
- $9 = HEAP8[$arrayidx>>0]|0;
- $conv = $9&255;
- $mul = Math_imul($6, $conv)|0;
- $sub2 = (($5) - ($mul))|0;
- $10 = $_this$addr;
- $val = ((($10)) + 32|0);
- $11 = HEAP32[$val>>2]|0;
- $add = (($11) + ($sub2))|0;
- HEAP32[$val>>2] = $add;
- $12 = $r;
- $13 = $_icdf$addr;
- $14 = $_s$addr;
- $sub3 = (($14) - 1)|0;
- $arrayidx4 = (($13) + ($sub3)|0);
- $15 = HEAP8[$arrayidx4>>0]|0;
- $conv5 = $15&255;
- $16 = $_icdf$addr;
- $17 = $_s$addr;
- $arrayidx6 = (($16) + ($17)|0);
- $18 = HEAP8[$arrayidx6>>0]|0;
- $conv7 = $18&255;
- $sub8 = (($conv5) - ($conv7))|0;
- $mul9 = Math_imul($12, $sub8)|0;
- $19 = $_this$addr;
- $rng10 = ((($19)) + 28|0);
- HEAP32[$rng10>>2] = $mul9;
- $26 = $_this$addr;
- _ec_enc_normalize($26);
- STACKTOP = sp;return;
- } else {
- $20 = $r;
- $21 = $_icdf$addr;
- $22 = $_s$addr;
- $arrayidx11 = (($21) + ($22)|0);
- $23 = HEAP8[$arrayidx11>>0]|0;
- $conv12 = $23&255;
- $mul13 = Math_imul($20, $conv12)|0;
- $24 = $_this$addr;
- $rng14 = ((($24)) + 28|0);
- $25 = HEAP32[$rng14>>2]|0;
- $sub15 = (($25) - ($mul13))|0;
- HEAP32[$rng14>>2] = $sub15;
- $26 = $_this$addr;
- _ec_enc_normalize($26);
- STACKTOP = sp;return;
- }
-}
-function _ec_enc_uint($_this,$_fl,$_ft) {
- $_this = $_this|0;
- $_fl = $_fl|0;
- $_ft = $_ft|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $_fl$addr = 0, $_ft$addr = 0, $_this$addr = 0, $add = 0, $add3 = 0, $add5 = 0, $add6 = 0, $and = 0, $cmp = 0, $dec = 0, $fl = 0, $ft = 0, $ftb = 0, $shl = 0, $shr = 0, $shr2 = 0, $sub = 0, $sub1 = 0, $sub4 = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_fl$addr = $_fl;
- $_ft$addr = $_ft;
- $0 = $_ft$addr;
- $dec = (($0) + -1)|0;
- $_ft$addr = $dec;
- $1 = $_ft$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $ftb = $sub;
- $3 = $ftb;
- $cmp = ($3|0)>(8);
- if ($cmp) {
- $4 = $ftb;
- $sub1 = (($4) - 8)|0;
- $ftb = $sub1;
- $5 = $_ft$addr;
- $6 = $ftb;
- $shr = $5 >>> $6;
- $add = (($shr) + 1)|0;
- $ft = $add;
- $7 = $_fl$addr;
- $8 = $ftb;
- $shr2 = $7 >>> $8;
- $fl = $shr2;
- $9 = $_this$addr;
- $10 = $fl;
- $11 = $fl;
- $add3 = (($11) + 1)|0;
- $12 = $ft;
- _ec_encode($9,$10,$add3,$12);
- $13 = $_this$addr;
- $14 = $_fl$addr;
- $15 = $ftb;
- $shl = 1 << $15;
- $sub4 = (($shl) - 1)|0;
- $and = $14 & $sub4;
- $16 = $ftb;
- _ec_enc_bits($13,$and,$16);
- STACKTOP = sp;return;
- } else {
- $17 = $_this$addr;
- $18 = $_fl$addr;
- $19 = $_fl$addr;
- $add5 = (($19) + 1)|0;
- $20 = $_ft$addr;
- $add6 = (($20) + 1)|0;
- _ec_encode($17,$18,$add5,$add6);
- STACKTOP = sp;return;
- }
-}
-function _ec_enc_bits($_this,$_fl,$_bits) {
- $_this = $_this|0;
- $_fl = $_fl|0;
- $_bits = $_bits|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $3 = 0, $4 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_bits$addr = 0, $_fl$addr = 0, $_this$addr = 0, $add = 0, $add3 = 0, $add6 = 0, $and = 0, $call = 0, $cmp = 0, $cmp1 = 0, $end_window = 0, $end_window4 = 0, $error = 0, $nbits_total = 0, $nend_bits = 0;
- var $nend_bits5 = 0, $or = 0, $or2 = 0, $shl = 0, $shr = 0, $sub = 0, $used = 0, $window = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_fl$addr = $_fl;
- $_bits$addr = $_bits;
- $0 = $_this$addr;
- $end_window = ((($0)) + 12|0);
- $1 = HEAP32[$end_window>>2]|0;
- $window = $1;
- $2 = $_this$addr;
- $nend_bits = ((($2)) + 16|0);
- $3 = HEAP32[$nend_bits>>2]|0;
- $used = $3;
- $4 = $used;
- $5 = $_bits$addr;
- $add = (($4) + ($5))|0;
- $cmp = ($add>>>0)>(32);
- if ($cmp) {
- while(1) {
- $6 = $_this$addr;
- $7 = $window;
- $and = $7 & 255;
- $call = (_ec_write_byte_at_end($6,$and)|0);
- $8 = $_this$addr;
- $error = ((($8)) + 44|0);
- $9 = HEAP32[$error>>2]|0;
- $or = $9 | $call;
- HEAP32[$error>>2] = $or;
- $10 = $window;
- $shr = $10 >>> 8;
- $window = $shr;
- $11 = $used;
- $sub = (($11) - 8)|0;
- $used = $sub;
- $12 = $used;
- $cmp1 = ($12|0)>=(8);
- if (!($cmp1)) {
- break;
- }
- }
- }
- $13 = $_fl$addr;
- $14 = $used;
- $shl = $13 << $14;
- $15 = $window;
- $or2 = $15 | $shl;
- $window = $or2;
- $16 = $_bits$addr;
- $17 = $used;
- $add3 = (($17) + ($16))|0;
- $used = $add3;
- $18 = $window;
- $19 = $_this$addr;
- $end_window4 = ((($19)) + 12|0);
- HEAP32[$end_window4>>2] = $18;
- $20 = $used;
- $21 = $_this$addr;
- $nend_bits5 = ((($21)) + 16|0);
- HEAP32[$nend_bits5>>2] = $20;
- $22 = $_bits$addr;
- $23 = $_this$addr;
- $nbits_total = ((($23)) + 20|0);
- $24 = HEAP32[$nbits_total>>2]|0;
- $add6 = (($24) + ($22))|0;
- HEAP32[$nbits_total>>2] = $add6;
- STACKTOP = sp;return;
-}
-function _ec_write_byte_at_end($_this,$_value) {
- $_this = $_this|0;
- $_value = $_value|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_this$addr = 0, $_value$addr = 0, $add = 0, $arrayidx = 0, $cmp = 0, $conv = 0;
- var $end_offs = 0, $end_offs2 = 0, $inc = 0, $offs = 0, $retval = 0, $storage = 0, $storage1 = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $_value$addr = $_value;
- $0 = $_this$addr;
- $offs = ((($0)) + 24|0);
- $1 = HEAP32[$offs>>2]|0;
- $2 = $_this$addr;
- $end_offs = ((($2)) + 8|0);
- $3 = HEAP32[$end_offs>>2]|0;
- $add = (($1) + ($3))|0;
- $4 = $_this$addr;
- $storage = ((($4)) + 4|0);
- $5 = HEAP32[$storage>>2]|0;
- $cmp = ($add>>>0)>=($5>>>0);
- if ($cmp) {
- $retval = -1;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- } else {
- $6 = $_value$addr;
- $conv = $6&255;
- $7 = $_this$addr;
- $8 = HEAP32[$7>>2]|0;
- $9 = $_this$addr;
- $storage1 = ((($9)) + 4|0);
- $10 = HEAP32[$storage1>>2]|0;
- $11 = $_this$addr;
- $end_offs2 = ((($11)) + 8|0);
- $12 = HEAP32[$end_offs2>>2]|0;
- $inc = (($12) + 1)|0;
- HEAP32[$end_offs2>>2] = $inc;
- $sub = (($10) - ($inc))|0;
- $arrayidx = (($8) + ($sub)|0);
- HEAP8[$arrayidx>>0] = $conv;
- $retval = 0;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- return (0)|0;
-}
-function _ec_enc_patch_initial_bits($_this,$_val,$_nbits) {
- $_this = $_this|0;
- $_val = $_val|0;
- $_nbits = $_nbits|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_nbits$addr = 0, $_this$addr = 0, $_val$addr = 0, $add = 0, $and = 0, $and12 = 0, $and22 = 0, $cmp = 0, $cmp17 = 0, $cmp7 = 0, $conv = 0, $conv4 = 0;
- var $error = 0, $mask = 0, $neg = 0, $neg11 = 0, $neg21 = 0, $offs = 0, $or = 0, $or14 = 0, $or24 = 0, $rem = 0, $rem10 = 0, $rem15 = 0, $rng = 0, $shift = 0, $shl = 0, $shl13 = 0, $shl2 = 0, $shl20 = 0, $shl23 = 0, $shl3 = 0;
- var $shr = 0, $sub = 0, $sub1 = 0, $val = 0, $val25 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $_val$addr = $_val;
- $_nbits$addr = $_nbits;
- $0 = $_nbits$addr;
- $sub = (8 - ($0))|0;
- $shift = $sub;
- $1 = $_nbits$addr;
- $shl = 1 << $1;
- $sub1 = (($shl) - 1)|0;
- $2 = $shift;
- $shl2 = $sub1 << $2;
- $mask = $shl2;
- $3 = $_this$addr;
- $offs = ((($3)) + 24|0);
- $4 = HEAP32[$offs>>2]|0;
- $cmp = ($4>>>0)>(0);
- $5 = $_this$addr;
- if ($cmp) {
- $6 = HEAP32[$5>>2]|0;
- $7 = HEAP8[$6>>0]|0;
- $conv = $7&255;
- $8 = $mask;
- $neg = $8 ^ -1;
- $and = $conv & $neg;
- $9 = $_val$addr;
- $10 = $shift;
- $shl3 = $9 << $10;
- $or = $and | $shl3;
- $conv4 = $or&255;
- $11 = $_this$addr;
- $12 = HEAP32[$11>>2]|0;
- HEAP8[$12>>0] = $conv4;
- STACKTOP = sp;return;
- }
- $rem = ((($5)) + 40|0);
- $13 = HEAP32[$rem>>2]|0;
- $cmp7 = ($13|0)>=(0);
- $14 = $_this$addr;
- if ($cmp7) {
- $rem10 = ((($14)) + 40|0);
- $15 = HEAP32[$rem10>>2]|0;
- $16 = $mask;
- $neg11 = $16 ^ -1;
- $and12 = $15 & $neg11;
- $17 = $_val$addr;
- $18 = $shift;
- $shl13 = $17 << $18;
- $or14 = $and12 | $shl13;
- $19 = $_this$addr;
- $rem15 = ((($19)) + 40|0);
- HEAP32[$rem15>>2] = $or14;
- STACKTOP = sp;return;
- }
- $rng = ((($14)) + 28|0);
- $20 = HEAP32[$rng>>2]|0;
- $21 = $_nbits$addr;
- $shr = -2147483648 >>> $21;
- $cmp17 = ($20>>>0)<=($shr>>>0);
- $22 = $_this$addr;
- if ($cmp17) {
- $val = ((($22)) + 32|0);
- $23 = HEAP32[$val>>2]|0;
- $24 = $mask;
- $shl20 = $24 << 23;
- $neg21 = $shl20 ^ -1;
- $and22 = $23 & $neg21;
- $25 = $_val$addr;
- $26 = $shift;
- $add = (23 + ($26))|0;
- $shl23 = $25 << $add;
- $or24 = $and22 | $shl23;
- $27 = $_this$addr;
- $val25 = ((($27)) + 32|0);
- HEAP32[$val25>>2] = $or24;
- STACKTOP = sp;return;
- } else {
- $error = ((($22)) + 44|0);
- HEAP32[$error>>2] = -1;
- STACKTOP = sp;return;
- }
-}
-function _ec_enc_shrink($_this,$_size) {
- $_this = $_this|0;
- $_size = $_size|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $3 = 0;
- var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_size$addr = 0, $_this$addr = 0, $add = 0, $add$ptr = 0, $add$ptr1 = 0, $add$ptr12 = 0, $add$ptr15 = 0, $add$ptr18 = 0, $add$ptr3 = 0, $add$ptr6 = 0, $add$ptr9 = 0, $end_offs = 0, $end_offs10 = 0, $end_offs16 = 0;
- var $end_offs4 = 0, $end_offs7 = 0, $idx$neg = 0, $idx$neg11 = 0, $idx$neg17 = 0, $idx$neg5 = 0, $mul = 0, $mul19 = 0, $storage = 0, $storage14 = 0, $storage20 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $_size$addr = $_size;
- $0 = $_this$addr;
- $1 = HEAP32[$0>>2]|0;
- $2 = $_size$addr;
- $add$ptr = (($1) + ($2)|0);
- $3 = $_this$addr;
- $end_offs = ((($3)) + 8|0);
- $4 = HEAP32[$end_offs>>2]|0;
- $idx$neg = (0 - ($4))|0;
- $add$ptr1 = (($add$ptr) + ($idx$neg)|0);
- $5 = $_this$addr;
- $6 = HEAP32[$5>>2]|0;
- $7 = $_this$addr;
- $storage = ((($7)) + 4|0);
- $8 = HEAP32[$storage>>2]|0;
- $add$ptr3 = (($6) + ($8)|0);
- $9 = $_this$addr;
- $end_offs4 = ((($9)) + 8|0);
- $10 = HEAP32[$end_offs4>>2]|0;
- $idx$neg5 = (0 - ($10))|0;
- $add$ptr6 = (($add$ptr3) + ($idx$neg5)|0);
- $11 = $_this$addr;
- $end_offs7 = ((($11)) + 8|0);
- $12 = HEAP32[$end_offs7>>2]|0;
- $mul = $12;
- $13 = $_this$addr;
- $14 = HEAP32[$13>>2]|0;
- $15 = $_size$addr;
- $add$ptr9 = (($14) + ($15)|0);
- $16 = $_this$addr;
- $end_offs10 = ((($16)) + 8|0);
- $17 = HEAP32[$end_offs10>>2]|0;
- $idx$neg11 = (0 - ($17))|0;
- $add$ptr12 = (($add$ptr9) + ($idx$neg11)|0);
- $18 = $_this$addr;
- $19 = HEAP32[$18>>2]|0;
- $20 = $_this$addr;
- $storage14 = ((($20)) + 4|0);
- $21 = HEAP32[$storage14>>2]|0;
- $add$ptr15 = (($19) + ($21)|0);
- $22 = $_this$addr;
- $end_offs16 = ((($22)) + 8|0);
- $23 = HEAP32[$end_offs16>>2]|0;
- $idx$neg17 = (0 - ($23))|0;
- $add$ptr18 = (($add$ptr15) + ($idx$neg17)|0);
- $sub$ptr$lhs$cast = $add$ptr12;
- $sub$ptr$rhs$cast = $add$ptr18;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $mul19 = 0;
- $add = (($mul) + ($mul19))|0;
- _memmove(($add$ptr1|0),($add$ptr6|0),($add|0))|0;
- $24 = $_size$addr;
- $25 = $_this$addr;
- $storage20 = ((($25)) + 4|0);
- HEAP32[$storage20>>2] = $24;
- STACKTOP = sp;return;
-}
-function _ec_enc_done($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $8 = 0, $9 = 0, $_this$addr = 0, $add = 0, $add$ptr = 0;
- var $add4 = 0, $add41 = 0, $add7 = 0, $and = 0, $and12 = 0, $and21 = 0, $and48 = 0, $and9 = 0, $arrayidx = 0, $call = 0, $cmp = 0, $cmp10 = 0, $cmp14 = 0, $cmp15 = 0, $cmp19 = 0, $cmp31 = 0, $cmp35 = 0, $cmp43 = 0, $cmp44 = 0, $conv = 0;
- var $conv51 = 0, $conv57 = 0, $conv59 = 0, $end = 0, $end_offs = 0, $end_offs33 = 0, $end_offs40 = 0, $end_offs54 = 0, $end_window = 0, $error = 0, $error26 = 0, $error37 = 0, $error49 = 0, $ext = 0, $inc = 0, $l = 0, $msk = 0, $mul = 0, $neg = 0, $neg8 = 0;
- var $nend_bits = 0, $offs = 0, $offs28 = 0, $offs39 = 0, $or = 0, $or22 = 0, $or58 = 0, $rem = 0, $rng = 0, $rng3 = 0, $shl = 0, $shl46 = 0, $shr = 0, $shr11 = 0, $shr23 = 0, $shr5 = 0, $storage = 0, $storage34 = 0, $storage42 = 0, $storage53 = 0;
- var $sub = 0, $sub1 = 0, $sub13 = 0, $sub24 = 0, $sub29 = 0, $sub30 = 0, $sub38 = 0, $sub47 = 0, $sub55 = 0, $sub56 = 0, $tobool = 0, $used = 0, $val = 0, $val2 = 0, $val6 = 0, $window = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $rng = ((($0)) + 28|0);
- $1 = HEAP32[$rng>>2]|0;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $l = $sub1;
- $3 = $l;
- $shr = 2147483647 >>> $3;
- $msk = $shr;
- $4 = $_this$addr;
- $val = ((($4)) + 32|0);
- $5 = HEAP32[$val>>2]|0;
- $6 = $msk;
- $add = (($5) + ($6))|0;
- $7 = $msk;
- $neg = $7 ^ -1;
- $and = $add & $neg;
- $end = $and;
- $8 = $end;
- $9 = $msk;
- $or = $8 | $9;
- $10 = $_this$addr;
- $val2 = ((($10)) + 32|0);
- $11 = HEAP32[$val2>>2]|0;
- $12 = $_this$addr;
- $rng3 = ((($12)) + 28|0);
- $13 = HEAP32[$rng3>>2]|0;
- $add4 = (($11) + ($13))|0;
- $cmp = ($or>>>0)>=($add4>>>0);
- if ($cmp) {
- $14 = $l;
- $inc = (($14) + 1)|0;
- $l = $inc;
- $15 = $msk;
- $shr5 = $15 >>> 1;
- $msk = $shr5;
- $16 = $_this$addr;
- $val6 = ((($16)) + 32|0);
- $17 = HEAP32[$val6>>2]|0;
- $18 = $msk;
- $add7 = (($17) + ($18))|0;
- $19 = $msk;
- $neg8 = $19 ^ -1;
- $and9 = $add7 & $neg8;
- $end = $and9;
- }
- while(1) {
- $20 = $l;
- $cmp10 = ($20|0)>(0);
- $21 = $_this$addr;
- if (!($cmp10)) {
- break;
- }
- $22 = $end;
- $shr11 = $22 >>> 23;
- _ec_enc_carry_out($21,$shr11);
- $23 = $end;
- $shl = $23 << 8;
- $and12 = $shl & 2147483647;
- $end = $and12;
- $24 = $l;
- $sub13 = (($24) - 8)|0;
- $l = $sub13;
- }
- $rem = ((($21)) + 40|0);
- $25 = HEAP32[$rem>>2]|0;
- $cmp14 = ($25|0)>=(0);
- if ($cmp14) {
- label = 7;
- } else {
- $26 = $_this$addr;
- $ext = ((($26)) + 36|0);
- $27 = HEAP32[$ext>>2]|0;
- $cmp15 = ($27>>>0)>(0);
- if ($cmp15) {
- label = 7;
- }
- }
- if ((label|0) == 7) {
- $28 = $_this$addr;
- _ec_enc_carry_out($28,0);
- }
- $29 = $_this$addr;
- $end_window = ((($29)) + 12|0);
- $30 = HEAP32[$end_window>>2]|0;
- $window = $30;
- $31 = $_this$addr;
- $nend_bits = ((($31)) + 16|0);
- $32 = HEAP32[$nend_bits>>2]|0;
- $used = $32;
- while(1) {
- $33 = $used;
- $cmp19 = ($33|0)>=(8);
- $34 = $_this$addr;
- if (!($cmp19)) {
- break;
- }
- $35 = $window;
- $and21 = $35 & 255;
- $call = (_ec_write_byte_at_end($34,$and21)|0);
- $36 = $_this$addr;
- $error = ((($36)) + 44|0);
- $37 = HEAP32[$error>>2]|0;
- $or22 = $37 | $call;
- HEAP32[$error>>2] = $or22;
- $38 = $window;
- $shr23 = $38 >>> 8;
- $window = $shr23;
- $39 = $used;
- $sub24 = (($39) - 8)|0;
- $used = $sub24;
- }
- $error26 = ((($34)) + 44|0);
- $40 = HEAP32[$error26>>2]|0;
- $tobool = ($40|0)!=(0);
- if ($tobool) {
- STACKTOP = sp;return;
- }
- $41 = $_this$addr;
- $42 = HEAP32[$41>>2]|0;
- $43 = $_this$addr;
- $offs = ((($43)) + 24|0);
- $44 = HEAP32[$offs>>2]|0;
- $add$ptr = (($42) + ($44)|0);
- $45 = $_this$addr;
- $storage = ((($45)) + 4|0);
- $46 = HEAP32[$storage>>2]|0;
- $47 = $_this$addr;
- $offs28 = ((($47)) + 24|0);
- $48 = HEAP32[$offs28>>2]|0;
- $sub29 = (($46) - ($48))|0;
- $49 = $_this$addr;
- $end_offs = ((($49)) + 8|0);
- $50 = HEAP32[$end_offs>>2]|0;
- $sub30 = (($sub29) - ($50))|0;
- $mul = $sub30;
- _memset(($add$ptr|0),0,($mul|0))|0;
- $51 = $used;
- $cmp31 = ($51|0)>(0);
- if (!($cmp31)) {
- STACKTOP = sp;return;
- }
- $52 = $_this$addr;
- $end_offs33 = ((($52)) + 8|0);
- $53 = HEAP32[$end_offs33>>2]|0;
- $54 = $_this$addr;
- $storage34 = ((($54)) + 4|0);
- $55 = HEAP32[$storage34>>2]|0;
- $cmp35 = ($53>>>0)>=($55>>>0);
- if ($cmp35) {
- $56 = $_this$addr;
- $error37 = ((($56)) + 44|0);
- HEAP32[$error37>>2] = -1;
- STACKTOP = sp;return;
- }
- $57 = $l;
- $sub38 = (0 - ($57))|0;
- $l = $sub38;
- $58 = $_this$addr;
- $offs39 = ((($58)) + 24|0);
- $59 = HEAP32[$offs39>>2]|0;
- $60 = $_this$addr;
- $end_offs40 = ((($60)) + 8|0);
- $61 = HEAP32[$end_offs40>>2]|0;
- $add41 = (($59) + ($61))|0;
- $62 = $_this$addr;
- $storage42 = ((($62)) + 4|0);
- $63 = HEAP32[$storage42>>2]|0;
- $cmp43 = ($add41>>>0)>=($63>>>0);
- if ($cmp43) {
- $64 = $l;
- $65 = $used;
- $cmp44 = ($64|0)<($65|0);
- if ($cmp44) {
- $66 = $l;
- $shl46 = 1 << $66;
- $sub47 = (($shl46) - 1)|0;
- $67 = $window;
- $and48 = $67 & $sub47;
- $window = $and48;
- $68 = $_this$addr;
- $error49 = ((($68)) + 44|0);
- HEAP32[$error49>>2] = -1;
- }
- }
- $69 = $window;
- $conv = $69&255;
- $conv51 = $conv&255;
- $70 = $_this$addr;
- $71 = HEAP32[$70>>2]|0;
- $72 = $_this$addr;
- $storage53 = ((($72)) + 4|0);
- $73 = HEAP32[$storage53>>2]|0;
- $74 = $_this$addr;
- $end_offs54 = ((($74)) + 8|0);
- $75 = HEAP32[$end_offs54>>2]|0;
- $sub55 = (($73) - ($75))|0;
- $sub56 = (($sub55) - 1)|0;
- $arrayidx = (($71) + ($sub56)|0);
- $76 = HEAP8[$arrayidx>>0]|0;
- $conv57 = $76&255;
- $or58 = $conv57 | $conv51;
- $conv59 = $or58&255;
- HEAP8[$arrayidx>>0] = $conv59;
- STACKTOP = sp;return;
-}
-function _opus_fft_impl($st,$fout) {
- $st = $st|0;
- $fout = $fout|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $L = 0, $add = 0, $add10 = 0, $arrayidx11 = 0, $arrayidx16 = 0, $arrayidx26 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx32 = 0, $arrayidx34 = 0, $arrayidx35 = 0, $arrayidx37 = 0, $arrayidx39 = 0, $arrayidx41 = 0, $arrayidx43 = 0, $arrayidx6 = 0, $arrayidx8 = 0, $cmp = 0, $cmp12 = 0;
- var $cmp19 = 0, $cmp21 = 0, $cond = 0, $conv = 0, $conv17 = 0, $conv27 = 0, $conv31 = 0, $conv7 = 0, $dec = 0, $factors = 0, $factors14 = 0, $factors23 = 0, $factors28 = 0, $factors4 = 0, $fout$addr = 0, $fstride = 0, $i = 0, $inc = 0, $m = 0, $m2 = 0;
- var $mul = 0, $mul15 = 0, $mul24 = 0, $mul29 = 0, $mul5 = 0, $mul9 = 0, $p = 0, $shift = 0, $shift1 = 0, $shift2 = 0, $shl = 0, $shl38 = 0, $shl42 = 0, $st$addr = 0, $sub = 0, $sub18 = 0, $sub25 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $fstride = sp + 8|0;
- $st$addr = $st;
- $fout$addr = $fout;
- $0 = $st$addr;
- $shift1 = ((($0)) + 8|0);
- $1 = HEAP32[$shift1>>2]|0;
- $cmp = ($1|0)>(0);
- if ($cmp) {
- $2 = $st$addr;
- $shift2 = ((($2)) + 8|0);
- $3 = HEAP32[$shift2>>2]|0;
- $cond = $3;
- } else {
- $cond = 0;
- }
- $shift = $cond;
- HEAP32[$fstride>>2] = 1;
- $L = 0;
- while(1) {
- $4 = $st$addr;
- $factors = ((($4)) + 12|0);
- $5 = $L;
- $mul = $5<<1;
- $arrayidx3 = (($factors) + ($mul<<1)|0);
- $6 = HEAP16[$arrayidx3>>1]|0;
- $conv = $6 << 16 >> 16;
- $p = $conv;
- $7 = $st$addr;
- $factors4 = ((($7)) + 12|0);
- $8 = $L;
- $mul5 = $8<<1;
- $add = (($mul5) + 1)|0;
- $arrayidx6 = (($factors4) + ($add<<1)|0);
- $9 = HEAP16[$arrayidx6>>1]|0;
- $conv7 = $9 << 16 >> 16;
- $m = $conv7;
- $10 = $L;
- $arrayidx8 = (($fstride) + ($10<<2)|0);
- $11 = HEAP32[$arrayidx8>>2]|0;
- $12 = $p;
- $mul9 = Math_imul($11, $12)|0;
- $13 = $L;
- $add10 = (($13) + 1)|0;
- $arrayidx11 = (($fstride) + ($add10<<2)|0);
- HEAP32[$arrayidx11>>2] = $mul9;
- $14 = $L;
- $inc = (($14) + 1)|0;
- $L = $inc;
- $15 = $m;
- $cmp12 = ($15|0)!=(1);
- if (!($cmp12)) {
- break;
- }
- }
- $16 = $st$addr;
- $factors14 = ((($16)) + 12|0);
- $17 = $L;
- $mul15 = $17<<1;
- $sub = (($mul15) - 1)|0;
- $arrayidx16 = (($factors14) + ($sub<<1)|0);
- $18 = HEAP16[$arrayidx16>>1]|0;
- $conv17 = $18 << 16 >> 16;
- $m = $conv17;
- $19 = $L;
- $sub18 = (($19) - 1)|0;
- $i = $sub18;
- while(1) {
- $20 = $i;
- $cmp19 = ($20|0)>=(0);
- if (!($cmp19)) {
- break;
- }
- $21 = $i;
- $cmp21 = ($21|0)!=(0);
- if ($cmp21) {
- $22 = $st$addr;
- $factors23 = ((($22)) + 12|0);
- $23 = $i;
- $mul24 = $23<<1;
- $sub25 = (($mul24) - 1)|0;
- $arrayidx26 = (($factors23) + ($sub25<<1)|0);
- $24 = HEAP16[$arrayidx26>>1]|0;
- $conv27 = $24 << 16 >> 16;
- $m2 = $conv27;
- } else {
- $m2 = 1;
- }
- $25 = $st$addr;
- $factors28 = ((($25)) + 12|0);
- $26 = $i;
- $mul29 = $26<<1;
- $arrayidx30 = (($factors28) + ($mul29<<1)|0);
- $27 = HEAP16[$arrayidx30>>1]|0;
- $conv31 = $27 << 16 >> 16;
- switch ($conv31|0) {
- case 2: {
- $28 = $fout$addr;
- $29 = $m;
- $30 = $i;
- $arrayidx32 = (($fstride) + ($30<<2)|0);
- $31 = HEAP32[$arrayidx32>>2]|0;
- _kf_bfly2($28,$29,$31);
- break;
- }
- case 4: {
- $32 = $fout$addr;
- $33 = $i;
- $arrayidx34 = (($fstride) + ($33<<2)|0);
- $34 = HEAP32[$arrayidx34>>2]|0;
- $35 = $shift;
- $shl = $34 << $35;
- $36 = $st$addr;
- $37 = $m;
- $38 = $i;
- $arrayidx35 = (($fstride) + ($38<<2)|0);
- $39 = HEAP32[$arrayidx35>>2]|0;
- $40 = $m2;
- _kf_bfly4($32,$shl,$36,$37,$39,$40);
- break;
- }
- case 3: {
- $41 = $fout$addr;
- $42 = $i;
- $arrayidx37 = (($fstride) + ($42<<2)|0);
- $43 = HEAP32[$arrayidx37>>2]|0;
- $44 = $shift;
- $shl38 = $43 << $44;
- $45 = $st$addr;
- $46 = $m;
- $47 = $i;
- $arrayidx39 = (($fstride) + ($47<<2)|0);
- $48 = HEAP32[$arrayidx39>>2]|0;
- $49 = $m2;
- _kf_bfly3($41,$shl38,$45,$46,$48,$49);
- break;
- }
- case 5: {
- $50 = $fout$addr;
- $51 = $i;
- $arrayidx41 = (($fstride) + ($51<<2)|0);
- $52 = HEAP32[$arrayidx41>>2]|0;
- $53 = $shift;
- $shl42 = $52 << $53;
- $54 = $st$addr;
- $55 = $m;
- $56 = $i;
- $arrayidx43 = (($fstride) + ($56<<2)|0);
- $57 = HEAP32[$arrayidx43>>2]|0;
- $58 = $m2;
- _kf_bfly5($50,$shl42,$54,$55,$57,$58);
- break;
- }
- default: {
- }
- }
- $59 = $m2;
- $m = $59;
- $60 = $i;
- $dec = (($60) + -1)|0;
- $i = $dec;
- }
- STACKTOP = sp;return;
-}
-function _kf_bfly2($Fout,$m,$N) {
- $Fout = $Fout|0;
- $m = $m|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0.0;
- var $27 = 0.0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0.0, $44 = 0;
- var $45 = 0.0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0, $5 = 0.0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0.0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0.0, $6 = 0.0, $60 = 0, $61 = 0.0, $62 = 0;
- var $63 = 0.0, $64 = 0.0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0.0, $76 = 0.0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0.0;
- var $81 = 0.0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0, $9 = 0.0, $Fout$addr = 0, $Fout2 = 0, $N$addr = 0, $add = 0.0, $add$ptr = 0, $add$ptr127 = 0, $add121 = 0.0, $add125 = 0.0, $add18 = 0.0, $add24 = 0.0, $add51 = 0.0, $add55 = 0.0, $add82 = 0.0, $add86 = 0.0;
- var $arrayidx104 = 0, $arrayidx108 = 0, $arrayidx110 = 0, $arrayidx114 = 0, $arrayidx119 = 0, $arrayidx123 = 0, $arrayidx20 = 0, $arrayidx22 = 0, $arrayidx26 = 0, $arrayidx28 = 0, $arrayidx34 = 0, $arrayidx38 = 0, $arrayidx40 = 0, $arrayidx44 = 0, $arrayidx49 = 0, $arrayidx53 = 0, $arrayidx57 = 0, $arrayidx60 = 0, $arrayidx65 = 0, $arrayidx69 = 0;
- var $arrayidx71 = 0, $arrayidx75 = 0, $arrayidx80 = 0, $arrayidx84 = 0, $arrayidx88 = 0, $arrayidx90 = 0, $arrayidx95 = 0, $arrayidx98 = 0, $cmp = 0, $i = 0, $i10 = 0, $i102 = 0, $i111 = 0, $i112 = 0, $i115 = 0, $i122 = 0, $i124 = 0, $i15 = 0, $i17 = 0, $i23 = 0;
- var $i27 = 0, $i32 = 0, $i41 = 0, $i42 = 0, $i45 = 0, $i52 = 0, $i54 = 0, $i58 = 0, $i6 = 0, $i63 = 0, $i7 = 0, $i72 = 0, $i73 = 0, $i76 = 0, $i83 = 0, $i85 = 0, $i89 = 0, $i96 = 0, $inc = 0, $m$addr = 0;
- var $mul = 0.0, $mul101 = 0.0, $mul31 = 0.0, $mul93 = 0.0, $sub = 0.0, $sub100 = 0.0, $sub107 = 0.0, $sub113 = 0.0, $sub30 = 0.0, $sub37 = 0.0, $sub43 = 0.0, $sub62 = 0.0, $sub68 = 0.0, $sub74 = 0.0, $sub8 = 0.0, $sub92 = 0.0, $sub97 = 0.0, $t = 0, $tw = 0.0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $t = sp;
- $Fout$addr = $Fout;
- $m$addr = $m;
- $N$addr = $N;
- $tw = 0.70710676908493042;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $Fout$addr;
- $add$ptr = ((($2)) + 32|0);
- $Fout2 = $add$ptr;
- $3 = $Fout2;
- ;HEAP32[$t>>2]=HEAP32[$3>>2]|0;HEAP32[$t+4>>2]=HEAP32[$3+4>>2]|0;
- $4 = $Fout$addr;
- $5 = +HEAPF32[$4>>2];
- $6 = +HEAPF32[$t>>2];
- $sub = $5 - $6;
- $7 = $Fout2;
- HEAPF32[$7>>2] = $sub;
- $8 = $Fout$addr;
- $i6 = ((($8)) + 4|0);
- $9 = +HEAPF32[$i6>>2];
- $i7 = ((($t)) + 4|0);
- $10 = +HEAPF32[$i7>>2];
- $sub8 = $9 - $10;
- $11 = $Fout2;
- $i10 = ((($11)) + 4|0);
- HEAPF32[$i10>>2] = $sub8;
- $12 = +HEAPF32[$t>>2];
- $13 = $Fout$addr;
- $14 = +HEAPF32[$13>>2];
- $add = $14 + $12;
- HEAPF32[$13>>2] = $add;
- $i15 = ((($t)) + 4|0);
- $15 = +HEAPF32[$i15>>2];
- $16 = $Fout$addr;
- $i17 = ((($16)) + 4|0);
- $17 = +HEAPF32[$i17>>2];
- $add18 = $17 + $15;
- HEAPF32[$i17>>2] = $add18;
- $18 = $Fout2;
- $arrayidx20 = ((($18)) + 8|0);
- $19 = +HEAPF32[$arrayidx20>>2];
- $20 = $Fout2;
- $arrayidx22 = ((($20)) + 8|0);
- $i23 = ((($arrayidx22)) + 4|0);
- $21 = +HEAPF32[$i23>>2];
- $add24 = $19 + $21;
- $22 = $tw;
- $mul = $add24 * $22;
- HEAPF32[$t>>2] = $mul;
- $23 = $Fout2;
- $arrayidx26 = ((($23)) + 8|0);
- $i27 = ((($arrayidx26)) + 4|0);
- $24 = +HEAPF32[$i27>>2];
- $25 = $Fout2;
- $arrayidx28 = ((($25)) + 8|0);
- $26 = +HEAPF32[$arrayidx28>>2];
- $sub30 = $24 - $26;
- $27 = $tw;
- $mul31 = $sub30 * $27;
- $i32 = ((($t)) + 4|0);
- HEAPF32[$i32>>2] = $mul31;
- $28 = $Fout$addr;
- $arrayidx34 = ((($28)) + 8|0);
- $29 = +HEAPF32[$arrayidx34>>2];
- $30 = +HEAPF32[$t>>2];
- $sub37 = $29 - $30;
- $31 = $Fout2;
- $arrayidx38 = ((($31)) + 8|0);
- HEAPF32[$arrayidx38>>2] = $sub37;
- $32 = $Fout$addr;
- $arrayidx40 = ((($32)) + 8|0);
- $i41 = ((($arrayidx40)) + 4|0);
- $33 = +HEAPF32[$i41>>2];
- $i42 = ((($t)) + 4|0);
- $34 = +HEAPF32[$i42>>2];
- $sub43 = $33 - $34;
- $35 = $Fout2;
- $arrayidx44 = ((($35)) + 8|0);
- $i45 = ((($arrayidx44)) + 4|0);
- HEAPF32[$i45>>2] = $sub43;
- $36 = +HEAPF32[$t>>2];
- $37 = $Fout$addr;
- $arrayidx49 = ((($37)) + 8|0);
- $38 = +HEAPF32[$arrayidx49>>2];
- $add51 = $38 + $36;
- HEAPF32[$arrayidx49>>2] = $add51;
- $i52 = ((($t)) + 4|0);
- $39 = +HEAPF32[$i52>>2];
- $40 = $Fout$addr;
- $arrayidx53 = ((($40)) + 8|0);
- $i54 = ((($arrayidx53)) + 4|0);
- $41 = +HEAPF32[$i54>>2];
- $add55 = $41 + $39;
- HEAPF32[$i54>>2] = $add55;
- $42 = $Fout2;
- $arrayidx57 = ((($42)) + 16|0);
- $i58 = ((($arrayidx57)) + 4|0);
- $43 = +HEAPF32[$i58>>2];
- HEAPF32[$t>>2] = $43;
- $44 = $Fout2;
- $arrayidx60 = ((($44)) + 16|0);
- $45 = +HEAPF32[$arrayidx60>>2];
- $sub62 = - $45;
- $i63 = ((($t)) + 4|0);
- HEAPF32[$i63>>2] = $sub62;
- $46 = $Fout$addr;
- $arrayidx65 = ((($46)) + 16|0);
- $47 = +HEAPF32[$arrayidx65>>2];
- $48 = +HEAPF32[$t>>2];
- $sub68 = $47 - $48;
- $49 = $Fout2;
- $arrayidx69 = ((($49)) + 16|0);
- HEAPF32[$arrayidx69>>2] = $sub68;
- $50 = $Fout$addr;
- $arrayidx71 = ((($50)) + 16|0);
- $i72 = ((($arrayidx71)) + 4|0);
- $51 = +HEAPF32[$i72>>2];
- $i73 = ((($t)) + 4|0);
- $52 = +HEAPF32[$i73>>2];
- $sub74 = $51 - $52;
- $53 = $Fout2;
- $arrayidx75 = ((($53)) + 16|0);
- $i76 = ((($arrayidx75)) + 4|0);
- HEAPF32[$i76>>2] = $sub74;
- $54 = +HEAPF32[$t>>2];
- $55 = $Fout$addr;
- $arrayidx80 = ((($55)) + 16|0);
- $56 = +HEAPF32[$arrayidx80>>2];
- $add82 = $56 + $54;
- HEAPF32[$arrayidx80>>2] = $add82;
- $i83 = ((($t)) + 4|0);
- $57 = +HEAPF32[$i83>>2];
- $58 = $Fout$addr;
- $arrayidx84 = ((($58)) + 16|0);
- $i85 = ((($arrayidx84)) + 4|0);
- $59 = +HEAPF32[$i85>>2];
- $add86 = $59 + $57;
- HEAPF32[$i85>>2] = $add86;
- $60 = $Fout2;
- $arrayidx88 = ((($60)) + 24|0);
- $i89 = ((($arrayidx88)) + 4|0);
- $61 = +HEAPF32[$i89>>2];
- $62 = $Fout2;
- $arrayidx90 = ((($62)) + 24|0);
- $63 = +HEAPF32[$arrayidx90>>2];
- $sub92 = $61 - $63;
- $64 = $tw;
- $mul93 = $sub92 * $64;
- HEAPF32[$t>>2] = $mul93;
- $65 = $Fout2;
- $arrayidx95 = ((($65)) + 24|0);
- $i96 = ((($arrayidx95)) + 4|0);
- $66 = +HEAPF32[$i96>>2];
- $sub97 = - $66;
- $67 = $Fout2;
- $arrayidx98 = ((($67)) + 24|0);
- $68 = +HEAPF32[$arrayidx98>>2];
- $sub100 = $sub97 - $68;
- $69 = $tw;
- $mul101 = $sub100 * $69;
- $i102 = ((($t)) + 4|0);
- HEAPF32[$i102>>2] = $mul101;
- $70 = $Fout$addr;
- $arrayidx104 = ((($70)) + 24|0);
- $71 = +HEAPF32[$arrayidx104>>2];
- $72 = +HEAPF32[$t>>2];
- $sub107 = $71 - $72;
- $73 = $Fout2;
- $arrayidx108 = ((($73)) + 24|0);
- HEAPF32[$arrayidx108>>2] = $sub107;
- $74 = $Fout$addr;
- $arrayidx110 = ((($74)) + 24|0);
- $i111 = ((($arrayidx110)) + 4|0);
- $75 = +HEAPF32[$i111>>2];
- $i112 = ((($t)) + 4|0);
- $76 = +HEAPF32[$i112>>2];
- $sub113 = $75 - $76;
- $77 = $Fout2;
- $arrayidx114 = ((($77)) + 24|0);
- $i115 = ((($arrayidx114)) + 4|0);
- HEAPF32[$i115>>2] = $sub113;
- $78 = +HEAPF32[$t>>2];
- $79 = $Fout$addr;
- $arrayidx119 = ((($79)) + 24|0);
- $80 = +HEAPF32[$arrayidx119>>2];
- $add121 = $80 + $78;
- HEAPF32[$arrayidx119>>2] = $add121;
- $i122 = ((($t)) + 4|0);
- $81 = +HEAPF32[$i122>>2];
- $82 = $Fout$addr;
- $arrayidx123 = ((($82)) + 24|0);
- $i124 = ((($arrayidx123)) + 4|0);
- $83 = +HEAPF32[$i124>>2];
- $add125 = $83 + $81;
- HEAPF32[$i124>>2] = $add125;
- $84 = $Fout$addr;
- $add$ptr127 = ((($84)) + 64|0);
- $Fout$addr = $add$ptr127;
- $85 = $i;
- $inc = (($85) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _kf_bfly4($Fout,$fstride,$st,$m,$N,$mm) {
- $Fout = $Fout|0;
- $fstride = $fstride|0;
- $st = $st|0;
- $m = $m|0;
- $N = $N|0;
- $mm = $mm|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0.0, $115 = 0;
- var $116 = 0, $117 = 0.0, $118 = 0, $119 = 0.0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0, $131 = 0, $132 = 0.0, $133 = 0;
- var $134 = 0.0, $135 = 0, $136 = 0.0, $137 = 0.0, $138 = 0, $139 = 0.0, $14 = 0.0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0.0, $144 = 0.0, $145 = 0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0.0, $15 = 0, $150 = 0.0, $151 = 0.0;
- var $152 = 0.0, $153 = 0.0, $154 = 0.0, $155 = 0, $156 = 0.0, $157 = 0.0, $158 = 0, $159 = 0, $16 = 0.0, $160 = 0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0.0, $172 = 0, $173 = 0.0, $174 = 0.0, $175 = 0, $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0, $18 = 0.0, $180 = 0, $181 = 0.0, $182 = 0.0, $183 = 0, $184 = 0, $185 = 0.0, $186 = 0.0, $187 = 0, $188 = 0;
- var $189 = 0.0, $19 = 0, $190 = 0.0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0.0, $29 = 0.0, $3 = 0;
- var $30 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0.0, $40 = 0.0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0.0, $45 = 0, $46 = 0.0, $47 = 0, $48 = 0.0;
- var $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0, $58 = 0.0, $59 = 0.0, $6 = 0.0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
- var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0.0, $78 = 0, $79 = 0.0, $8 = 0.0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0, $84 = 0.0;
- var $85 = 0, $86 = 0, $87 = 0.0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0, $99 = 0.0, $Fout$addr = 0, $Fout_beg = 0, $N$addr = 0, $add = 0.0;
- var $add$ptr = 0, $add$ptr237 = 0, $add$ptr239 = 0, $add$ptr241 = 0, $add$ptr91 = 0, $add115 = 0.0, $add139 = 0.0, $add16 = 0.0, $add163 = 0.0, $add185 = 0.0, $add189 = 0.0, $add196 = 0.0, $add203 = 0.0, $add23 = 0.0, $add246 = 0.0, $add250 = 0.0, $add256 = 0.0, $add277 = 0.0, $add29 = 0.0, $add47 = 0.0;
- var $add50 = 0.0, $add68 = 0.0, $add83 = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx100 = 0, $arrayidx107 = 0, $arrayidx111 = 0, $arrayidx120 = 0, $arrayidx124 = 0, $arrayidx129 = 0, $arrayidx13 = 0, $arrayidx131 = 0, $arrayidx135 = 0, $arrayidx140 = 0, $arrayidx144 = 0, $arrayidx148 = 0, $arrayidx153 = 0, $arrayidx155 = 0, $arrayidx159 = 0;
- var $arrayidx164 = 0, $arrayidx169 = 0, $arrayidx172 = 0, $arrayidx175 = 0, $arrayidx178 = 0, $arrayidx182 = 0, $arrayidx186 = 0, $arrayidx19 = 0, $arrayidx194 = 0, $arrayidx197 = 0, $arrayidx201 = 0, $arrayidx204 = 0, $arrayidx21 = 0, $arrayidx210 = 0, $arrayidx213 = 0, $arrayidx217 = 0, $arrayidx220 = 0, $arrayidx225 = 0, $arrayidx228 = 0, $arrayidx231 = 0;
- var $arrayidx234 = 0, $arrayidx243 = 0, $arrayidx247 = 0, $arrayidx25 = 0, $arrayidx252 = 0, $arrayidx254 = 0, $arrayidx257 = 0, $arrayidx259 = 0, $arrayidx261 = 0, $arrayidx264 = 0, $arrayidx266 = 0, $arrayidx268 = 0, $arrayidx27 = 0, $arrayidx271 = 0, $arrayidx273 = 0, $arrayidx275 = 0, $arrayidx278 = 0, $arrayidx36 = 0, $arrayidx41 = 0, $arrayidx5 = 0;
- var $arrayidx53 = 0, $arrayidx55 = 0, $arrayidx59 = 0, $arrayidx61 = 0, $arrayidx69 = 0, $arrayidx74 = 0, $arrayidx79 = 0, $arrayidx84 = 0, $arrayidx96 = 0, $cmp = 0, $cmp1 = 0, $cmp88 = 0, $cmp93 = 0, $fstride$addr = 0, $i = 0, $i101 = 0, $i102 = 0, $i109 = 0, $i112 = 0, $i117 = 0;
- var $i125 = 0, $i126 = 0, $i133 = 0, $i136 = 0, $i14 = 0, $i141 = 0, $i149 = 0, $i15 = 0, $i150 = 0, $i157 = 0, $i160 = 0, $i165 = 0, $i174 = 0, $i176 = 0, $i179 = 0, $i187 = 0, $i188 = 0, $i200 = 0, $i202 = 0, $i205 = 0;
- var $i216 = 0, $i218 = 0, $i221 = 0, $i230 = 0, $i232 = 0, $i235 = 0, $i248 = 0, $i249 = 0, $i255 = 0, $i26 = 0, $i260 = 0, $i265 = 0, $i269 = 0, $i274 = 0, $i279 = 0, $i28 = 0, $i30 = 0, $i38 = 0, $i39 = 0, $i4 = 0;
- var $i42 = 0, $i48 = 0, $i49 = 0, $i6 = 0, $i60 = 0, $i62 = 0, $i64 = 0, $i67 = 0, $i71 = 0, $i75 = 0, $i77 = 0, $i8 = 0, $i81 = 0, $i85 = 0, $inc = 0, $inc281 = 0, $inc284 = 0, $incdec$ptr = 0, $j = 0, $m$addr = 0;
- var $m2 = 0, $m3 = 0, $mm$addr = 0, $mul = 0, $mul103 = 0.0, $mul110 = 0.0, $mul114 = 0.0, $mul123 = 0.0, $mul127 = 0.0, $mul134 = 0.0, $mul138 = 0.0, $mul147 = 0.0, $mul151 = 0.0, $mul158 = 0.0, $mul162 = 0.0, $mul238 = 0, $mul240 = 0, $mul86 = 0, $mul90 = 0, $mul99 = 0.0;
- var $scratch = 0, $scratch0 = 0, $scratch1 = 0, $st$addr = 0, $sub = 0.0, $sub104 = 0.0, $sub128 = 0.0, $sub152 = 0.0, $sub171 = 0.0, $sub177 = 0.0, $sub212 = 0.0, $sub219 = 0.0, $sub227 = 0.0, $sub233 = 0.0, $sub263 = 0.0, $sub270 = 0.0, $sub35 = 0.0, $sub40 = 0.0, $sub57 = 0.0, $sub63 = 0.0;
- var $sub7 = 0.0, $sub73 = 0.0, $sub78 = 0.0, $tw1 = 0, $tw2 = 0, $tw3 = 0, $twiddles = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
- $scratch0 = sp + 88|0;
- $scratch1 = sp + 80|0;
- $scratch = sp + 24|0;
- $Fout$addr = $Fout;
- $fstride$addr = $fstride;
- $st$addr = $st;
- $m$addr = $m;
- $N$addr = $N;
- $mm$addr = $mm;
- $0 = $m$addr;
- $cmp = ($0|0)==(1);
- if ($cmp) {
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $N$addr;
- $cmp1 = ($1|0)<($2|0);
- if (!($cmp1)) {
- break;
- }
- $3 = $Fout$addr;
- $4 = +HEAPF32[$3>>2];
- $5 = $Fout$addr;
- $arrayidx = ((($5)) + 16|0);
- $6 = +HEAPF32[$arrayidx>>2];
- $sub = $4 - $6;
- HEAPF32[$scratch0>>2] = $sub;
- $7 = $Fout$addr;
- $i4 = ((($7)) + 4|0);
- $8 = +HEAPF32[$i4>>2];
- $9 = $Fout$addr;
- $arrayidx5 = ((($9)) + 16|0);
- $i6 = ((($arrayidx5)) + 4|0);
- $10 = +HEAPF32[$i6>>2];
- $sub7 = $8 - $10;
- $i8 = ((($scratch0)) + 4|0);
- HEAPF32[$i8>>2] = $sub7;
- $11 = $Fout$addr;
- $arrayidx10 = ((($11)) + 16|0);
- $12 = +HEAPF32[$arrayidx10>>2];
- $13 = $Fout$addr;
- $14 = +HEAPF32[$13>>2];
- $add = $14 + $12;
- HEAPF32[$13>>2] = $add;
- $15 = $Fout$addr;
- $arrayidx13 = ((($15)) + 16|0);
- $i14 = ((($arrayidx13)) + 4|0);
- $16 = +HEAPF32[$i14>>2];
- $17 = $Fout$addr;
- $i15 = ((($17)) + 4|0);
- $18 = +HEAPF32[$i15>>2];
- $add16 = $18 + $16;
- HEAPF32[$i15>>2] = $add16;
- $19 = $Fout$addr;
- $arrayidx19 = ((($19)) + 8|0);
- $20 = +HEAPF32[$arrayidx19>>2];
- $21 = $Fout$addr;
- $arrayidx21 = ((($21)) + 24|0);
- $22 = +HEAPF32[$arrayidx21>>2];
- $add23 = $20 + $22;
- HEAPF32[$scratch1>>2] = $add23;
- $23 = $Fout$addr;
- $arrayidx25 = ((($23)) + 8|0);
- $i26 = ((($arrayidx25)) + 4|0);
- $24 = +HEAPF32[$i26>>2];
- $25 = $Fout$addr;
- $arrayidx27 = ((($25)) + 24|0);
- $i28 = ((($arrayidx27)) + 4|0);
- $26 = +HEAPF32[$i28>>2];
- $add29 = $24 + $26;
- $i30 = ((($scratch1)) + 4|0);
- HEAPF32[$i30>>2] = $add29;
- $27 = $Fout$addr;
- $28 = +HEAPF32[$27>>2];
- $29 = +HEAPF32[$scratch1>>2];
- $sub35 = $28 - $29;
- $30 = $Fout$addr;
- $arrayidx36 = ((($30)) + 16|0);
- HEAPF32[$arrayidx36>>2] = $sub35;
- $31 = $Fout$addr;
- $i38 = ((($31)) + 4|0);
- $32 = +HEAPF32[$i38>>2];
- $i39 = ((($scratch1)) + 4|0);
- $33 = +HEAPF32[$i39>>2];
- $sub40 = $32 - $33;
- $34 = $Fout$addr;
- $arrayidx41 = ((($34)) + 16|0);
- $i42 = ((($arrayidx41)) + 4|0);
- HEAPF32[$i42>>2] = $sub40;
- $35 = +HEAPF32[$scratch1>>2];
- $36 = $Fout$addr;
- $37 = +HEAPF32[$36>>2];
- $add47 = $37 + $35;
- HEAPF32[$36>>2] = $add47;
- $i48 = ((($scratch1)) + 4|0);
- $38 = +HEAPF32[$i48>>2];
- $39 = $Fout$addr;
- $i49 = ((($39)) + 4|0);
- $40 = +HEAPF32[$i49>>2];
- $add50 = $40 + $38;
- HEAPF32[$i49>>2] = $add50;
- $41 = $Fout$addr;
- $arrayidx53 = ((($41)) + 8|0);
- $42 = +HEAPF32[$arrayidx53>>2];
- $43 = $Fout$addr;
- $arrayidx55 = ((($43)) + 24|0);
- $44 = +HEAPF32[$arrayidx55>>2];
- $sub57 = $42 - $44;
- HEAPF32[$scratch1>>2] = $sub57;
- $45 = $Fout$addr;
- $arrayidx59 = ((($45)) + 8|0);
- $i60 = ((($arrayidx59)) + 4|0);
- $46 = +HEAPF32[$i60>>2];
- $47 = $Fout$addr;
- $arrayidx61 = ((($47)) + 24|0);
- $i62 = ((($arrayidx61)) + 4|0);
- $48 = +HEAPF32[$i62>>2];
- $sub63 = $46 - $48;
- $i64 = ((($scratch1)) + 4|0);
- HEAPF32[$i64>>2] = $sub63;
- $49 = +HEAPF32[$scratch0>>2];
- $i67 = ((($scratch1)) + 4|0);
- $50 = +HEAPF32[$i67>>2];
- $add68 = $49 + $50;
- $51 = $Fout$addr;
- $arrayidx69 = ((($51)) + 8|0);
- HEAPF32[$arrayidx69>>2] = $add68;
- $i71 = ((($scratch0)) + 4|0);
- $52 = +HEAPF32[$i71>>2];
- $53 = +HEAPF32[$scratch1>>2];
- $sub73 = $52 - $53;
- $54 = $Fout$addr;
- $arrayidx74 = ((($54)) + 8|0);
- $i75 = ((($arrayidx74)) + 4|0);
- HEAPF32[$i75>>2] = $sub73;
- $55 = +HEAPF32[$scratch0>>2];
- $i77 = ((($scratch1)) + 4|0);
- $56 = +HEAPF32[$i77>>2];
- $sub78 = $55 - $56;
- $57 = $Fout$addr;
- $arrayidx79 = ((($57)) + 24|0);
- HEAPF32[$arrayidx79>>2] = $sub78;
- $i81 = ((($scratch0)) + 4|0);
- $58 = +HEAPF32[$i81>>2];
- $59 = +HEAPF32[$scratch1>>2];
- $add83 = $58 + $59;
- $60 = $Fout$addr;
- $arrayidx84 = ((($60)) + 24|0);
- $i85 = ((($arrayidx84)) + 4|0);
- HEAPF32[$i85>>2] = $add83;
- $61 = $Fout$addr;
- $add$ptr = ((($61)) + 32|0);
- $Fout$addr = $add$ptr;
- $62 = $i;
- $inc = (($62) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
- }
- $63 = $m$addr;
- $mul = $63<<1;
- $m2 = $mul;
- $64 = $m$addr;
- $mul86 = ($64*3)|0;
- $m3 = $mul86;
- $65 = $Fout$addr;
- $Fout_beg = $65;
- $i = 0;
- while(1) {
- $66 = $i;
- $67 = $N$addr;
- $cmp88 = ($66|0)<($67|0);
- if (!($cmp88)) {
- break;
- }
- $68 = $Fout_beg;
- $69 = $i;
- $70 = $mm$addr;
- $mul90 = Math_imul($69, $70)|0;
- $add$ptr91 = (($68) + ($mul90<<3)|0);
- $Fout$addr = $add$ptr91;
- $71 = $st$addr;
- $twiddles = ((($71)) + 48|0);
- $72 = HEAP32[$twiddles>>2]|0;
- $tw1 = $72;
- $tw2 = $72;
- $tw3 = $72;
- $j = 0;
- while(1) {
- $73 = $j;
- $74 = $m$addr;
- $cmp93 = ($73|0)<($74|0);
- if (!($cmp93)) {
- break;
- }
- $75 = $Fout$addr;
- $76 = $m$addr;
- $arrayidx96 = (($75) + ($76<<3)|0);
- $77 = +HEAPF32[$arrayidx96>>2];
- $78 = $tw1;
- $79 = +HEAPF32[$78>>2];
- $mul99 = $77 * $79;
- $80 = $Fout$addr;
- $81 = $m$addr;
- $arrayidx100 = (($80) + ($81<<3)|0);
- $i101 = ((($arrayidx100)) + 4|0);
- $82 = +HEAPF32[$i101>>2];
- $83 = $tw1;
- $i102 = ((($83)) + 4|0);
- $84 = +HEAPF32[$i102>>2];
- $mul103 = $82 * $84;
- $sub104 = $mul99 - $mul103;
- HEAPF32[$scratch>>2] = $sub104;
- $85 = $Fout$addr;
- $86 = $m$addr;
- $arrayidx107 = (($85) + ($86<<3)|0);
- $87 = +HEAPF32[$arrayidx107>>2];
- $88 = $tw1;
- $i109 = ((($88)) + 4|0);
- $89 = +HEAPF32[$i109>>2];
- $mul110 = $87 * $89;
- $90 = $Fout$addr;
- $91 = $m$addr;
- $arrayidx111 = (($90) + ($91<<3)|0);
- $i112 = ((($arrayidx111)) + 4|0);
- $92 = +HEAPF32[$i112>>2];
- $93 = $tw1;
- $94 = +HEAPF32[$93>>2];
- $mul114 = $92 * $94;
- $add115 = $mul110 + $mul114;
- $i117 = ((($scratch)) + 4|0);
- HEAPF32[$i117>>2] = $add115;
- $95 = $Fout$addr;
- $96 = $m2;
- $arrayidx120 = (($95) + ($96<<3)|0);
- $97 = +HEAPF32[$arrayidx120>>2];
- $98 = $tw2;
- $99 = +HEAPF32[$98>>2];
- $mul123 = $97 * $99;
- $100 = $Fout$addr;
- $101 = $m2;
- $arrayidx124 = (($100) + ($101<<3)|0);
- $i125 = ((($arrayidx124)) + 4|0);
- $102 = +HEAPF32[$i125>>2];
- $103 = $tw2;
- $i126 = ((($103)) + 4|0);
- $104 = +HEAPF32[$i126>>2];
- $mul127 = $102 * $104;
- $sub128 = $mul123 - $mul127;
- $arrayidx129 = ((($scratch)) + 8|0);
- HEAPF32[$arrayidx129>>2] = $sub128;
- $105 = $Fout$addr;
- $106 = $m2;
- $arrayidx131 = (($105) + ($106<<3)|0);
- $107 = +HEAPF32[$arrayidx131>>2];
- $108 = $tw2;
- $i133 = ((($108)) + 4|0);
- $109 = +HEAPF32[$i133>>2];
- $mul134 = $107 * $109;
- $110 = $Fout$addr;
- $111 = $m2;
- $arrayidx135 = (($110) + ($111<<3)|0);
- $i136 = ((($arrayidx135)) + 4|0);
- $112 = +HEAPF32[$i136>>2];
- $113 = $tw2;
- $114 = +HEAPF32[$113>>2];
- $mul138 = $112 * $114;
- $add139 = $mul134 + $mul138;
- $arrayidx140 = ((($scratch)) + 8|0);
- $i141 = ((($arrayidx140)) + 4|0);
- HEAPF32[$i141>>2] = $add139;
- $115 = $Fout$addr;
- $116 = $m3;
- $arrayidx144 = (($115) + ($116<<3)|0);
- $117 = +HEAPF32[$arrayidx144>>2];
- $118 = $tw3;
- $119 = +HEAPF32[$118>>2];
- $mul147 = $117 * $119;
- $120 = $Fout$addr;
- $121 = $m3;
- $arrayidx148 = (($120) + ($121<<3)|0);
- $i149 = ((($arrayidx148)) + 4|0);
- $122 = +HEAPF32[$i149>>2];
- $123 = $tw3;
- $i150 = ((($123)) + 4|0);
- $124 = +HEAPF32[$i150>>2];
- $mul151 = $122 * $124;
- $sub152 = $mul147 - $mul151;
- $arrayidx153 = ((($scratch)) + 16|0);
- HEAPF32[$arrayidx153>>2] = $sub152;
- $125 = $Fout$addr;
- $126 = $m3;
- $arrayidx155 = (($125) + ($126<<3)|0);
- $127 = +HEAPF32[$arrayidx155>>2];
- $128 = $tw3;
- $i157 = ((($128)) + 4|0);
- $129 = +HEAPF32[$i157>>2];
- $mul158 = $127 * $129;
- $130 = $Fout$addr;
- $131 = $m3;
- $arrayidx159 = (($130) + ($131<<3)|0);
- $i160 = ((($arrayidx159)) + 4|0);
- $132 = +HEAPF32[$i160>>2];
- $133 = $tw3;
- $134 = +HEAPF32[$133>>2];
- $mul162 = $132 * $134;
- $add163 = $mul158 + $mul162;
- $arrayidx164 = ((($scratch)) + 16|0);
- $i165 = ((($arrayidx164)) + 4|0);
- HEAPF32[$i165>>2] = $add163;
- $135 = $Fout$addr;
- $136 = +HEAPF32[$135>>2];
- $arrayidx169 = ((($scratch)) + 8|0);
- $137 = +HEAPF32[$arrayidx169>>2];
- $sub171 = $136 - $137;
- $arrayidx172 = ((($scratch)) + 40|0);
- HEAPF32[$arrayidx172>>2] = $sub171;
- $138 = $Fout$addr;
- $i174 = ((($138)) + 4|0);
- $139 = +HEAPF32[$i174>>2];
- $arrayidx175 = ((($scratch)) + 8|0);
- $i176 = ((($arrayidx175)) + 4|0);
- $140 = +HEAPF32[$i176>>2];
- $sub177 = $139 - $140;
- $arrayidx178 = ((($scratch)) + 40|0);
- $i179 = ((($arrayidx178)) + 4|0);
- HEAPF32[$i179>>2] = $sub177;
- $arrayidx182 = ((($scratch)) + 8|0);
- $141 = +HEAPF32[$arrayidx182>>2];
- $142 = $Fout$addr;
- $143 = +HEAPF32[$142>>2];
- $add185 = $143 + $141;
- HEAPF32[$142>>2] = $add185;
- $arrayidx186 = ((($scratch)) + 8|0);
- $i187 = ((($arrayidx186)) + 4|0);
- $144 = +HEAPF32[$i187>>2];
- $145 = $Fout$addr;
- $i188 = ((($145)) + 4|0);
- $146 = +HEAPF32[$i188>>2];
- $add189 = $146 + $144;
- HEAPF32[$i188>>2] = $add189;
- $147 = +HEAPF32[$scratch>>2];
- $arrayidx194 = ((($scratch)) + 16|0);
- $148 = +HEAPF32[$arrayidx194>>2];
- $add196 = $147 + $148;
- $arrayidx197 = ((($scratch)) + 24|0);
- HEAPF32[$arrayidx197>>2] = $add196;
- $i200 = ((($scratch)) + 4|0);
- $149 = +HEAPF32[$i200>>2];
- $arrayidx201 = ((($scratch)) + 16|0);
- $i202 = ((($arrayidx201)) + 4|0);
- $150 = +HEAPF32[$i202>>2];
- $add203 = $149 + $150;
- $arrayidx204 = ((($scratch)) + 24|0);
- $i205 = ((($arrayidx204)) + 4|0);
- HEAPF32[$i205>>2] = $add203;
- $151 = +HEAPF32[$scratch>>2];
- $arrayidx210 = ((($scratch)) + 16|0);
- $152 = +HEAPF32[$arrayidx210>>2];
- $sub212 = $151 - $152;
- $arrayidx213 = ((($scratch)) + 32|0);
- HEAPF32[$arrayidx213>>2] = $sub212;
- $i216 = ((($scratch)) + 4|0);
- $153 = +HEAPF32[$i216>>2];
- $arrayidx217 = ((($scratch)) + 16|0);
- $i218 = ((($arrayidx217)) + 4|0);
- $154 = +HEAPF32[$i218>>2];
- $sub219 = $153 - $154;
- $arrayidx220 = ((($scratch)) + 32|0);
- $i221 = ((($arrayidx220)) + 4|0);
- HEAPF32[$i221>>2] = $sub219;
- $155 = $Fout$addr;
- $156 = +HEAPF32[$155>>2];
- $arrayidx225 = ((($scratch)) + 24|0);
- $157 = +HEAPF32[$arrayidx225>>2];
- $sub227 = $156 - $157;
- $158 = $Fout$addr;
- $159 = $m2;
- $arrayidx228 = (($158) + ($159<<3)|0);
- HEAPF32[$arrayidx228>>2] = $sub227;
- $160 = $Fout$addr;
- $i230 = ((($160)) + 4|0);
- $161 = +HEAPF32[$i230>>2];
- $arrayidx231 = ((($scratch)) + 24|0);
- $i232 = ((($arrayidx231)) + 4|0);
- $162 = +HEAPF32[$i232>>2];
- $sub233 = $161 - $162;
- $163 = $Fout$addr;
- $164 = $m2;
- $arrayidx234 = (($163) + ($164<<3)|0);
- $i235 = ((($arrayidx234)) + 4|0);
- HEAPF32[$i235>>2] = $sub233;
- $165 = $fstride$addr;
- $166 = $tw1;
- $add$ptr237 = (($166) + ($165<<3)|0);
- $tw1 = $add$ptr237;
- $167 = $fstride$addr;
- $mul238 = $167<<1;
- $168 = $tw2;
- $add$ptr239 = (($168) + ($mul238<<3)|0);
- $tw2 = $add$ptr239;
- $169 = $fstride$addr;
- $mul240 = ($169*3)|0;
- $170 = $tw3;
- $add$ptr241 = (($170) + ($mul240<<3)|0);
- $tw3 = $add$ptr241;
- $arrayidx243 = ((($scratch)) + 24|0);
- $171 = +HEAPF32[$arrayidx243>>2];
- $172 = $Fout$addr;
- $173 = +HEAPF32[$172>>2];
- $add246 = $173 + $171;
- HEAPF32[$172>>2] = $add246;
- $arrayidx247 = ((($scratch)) + 24|0);
- $i248 = ((($arrayidx247)) + 4|0);
- $174 = +HEAPF32[$i248>>2];
- $175 = $Fout$addr;
- $i249 = ((($175)) + 4|0);
- $176 = +HEAPF32[$i249>>2];
- $add250 = $176 + $174;
- HEAPF32[$i249>>2] = $add250;
- $arrayidx252 = ((($scratch)) + 40|0);
- $177 = +HEAPF32[$arrayidx252>>2];
- $arrayidx254 = ((($scratch)) + 32|0);
- $i255 = ((($arrayidx254)) + 4|0);
- $178 = +HEAPF32[$i255>>2];
- $add256 = $177 + $178;
- $179 = $Fout$addr;
- $180 = $m$addr;
- $arrayidx257 = (($179) + ($180<<3)|0);
- HEAPF32[$arrayidx257>>2] = $add256;
- $arrayidx259 = ((($scratch)) + 40|0);
- $i260 = ((($arrayidx259)) + 4|0);
- $181 = +HEAPF32[$i260>>2];
- $arrayidx261 = ((($scratch)) + 32|0);
- $182 = +HEAPF32[$arrayidx261>>2];
- $sub263 = $181 - $182;
- $183 = $Fout$addr;
- $184 = $m$addr;
- $arrayidx264 = (($183) + ($184<<3)|0);
- $i265 = ((($arrayidx264)) + 4|0);
- HEAPF32[$i265>>2] = $sub263;
- $arrayidx266 = ((($scratch)) + 40|0);
- $185 = +HEAPF32[$arrayidx266>>2];
- $arrayidx268 = ((($scratch)) + 32|0);
- $i269 = ((($arrayidx268)) + 4|0);
- $186 = +HEAPF32[$i269>>2];
- $sub270 = $185 - $186;
- $187 = $Fout$addr;
- $188 = $m3;
- $arrayidx271 = (($187) + ($188<<3)|0);
- HEAPF32[$arrayidx271>>2] = $sub270;
- $arrayidx273 = ((($scratch)) + 40|0);
- $i274 = ((($arrayidx273)) + 4|0);
- $189 = +HEAPF32[$i274>>2];
- $arrayidx275 = ((($scratch)) + 32|0);
- $190 = +HEAPF32[$arrayidx275>>2];
- $add277 = $189 + $190;
- $191 = $Fout$addr;
- $192 = $m3;
- $arrayidx278 = (($191) + ($192<<3)|0);
- $i279 = ((($arrayidx278)) + 4|0);
- HEAPF32[$i279>>2] = $add277;
- $193 = $Fout$addr;
- $incdec$ptr = ((($193)) + 8|0);
- $Fout$addr = $incdec$ptr;
- $194 = $j;
- $inc281 = (($194) + 1)|0;
- $j = $inc281;
- }
- $195 = $i;
- $inc284 = (($195) + 1)|0;
- $i = $inc284;
- }
- STACKTOP = sp;return;
-}
-function _kf_bfly3($Fout,$fstride,$st,$m,$N,$mm) {
- $Fout = $Fout|0;
- $fstride = $fstride|0;
- $st = $st|0;
- $m = $m|0;
- $N = $N|0;
- $mm = $mm|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0.0;
- var $19 = 0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0;
- var $37 = 0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0.0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0.0;
- var $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0.0;
- var $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0.0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0;
- var $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0.0, $99 = 0, $Fout$addr = 0, $Fout_beg = 0, $N$addr = 0, $add = 0.0, $add$ptr = 0, $add$ptr80 = 0, $add$ptr82 = 0, $add111 = 0.0, $add115 = 0.0, $add121 = 0.0, $add140 = 0.0;
- var $add44 = 0.0, $add53 = 0.0, $add60 = 0.0, $arrayidx = 0, $arrayidx108 = 0, $arrayidx112 = 0, $arrayidx117 = 0, $arrayidx12 = 0, $arrayidx122 = 0, $arrayidx124 = 0, $arrayidx129 = 0, $arrayidx133 = 0, $arrayidx138 = 0, $arrayidx14 = 0, $arrayidx18 = 0, $arrayidx22 = 0, $arrayidx25 = 0, $arrayidx29 = 0, $arrayidx34 = 0, $arrayidx36 = 0;
- var $arrayidx40 = 0, $arrayidx45 = 0, $arrayidx49 = 0, $arrayidx5 = 0, $arrayidx51 = 0, $arrayidx54 = 0, $arrayidx56 = 0, $arrayidx58 = 0, $arrayidx61 = 0, $arrayidx65 = 0, $arrayidx67 = 0, $arrayidx72 = 0, $arrayidx74 = 0, $arrayidx8 = 0, $arrayidx84 = 0, $arrayidx88 = 0, $arrayidx91 = 0, $arrayidx95 = 0, $cmp = 0, $dec = 0;
- var $epi3 = 0, $fstride$addr = 0, $i = 0, $i10 = 0, $i102 = 0, $i104 = 0, $i113 = 0, $i114 = 0, $i120 = 0, $i125 = 0, $i130 = 0, $i132 = 0, $i139 = 0, $i16 = 0, $i19 = 0, $i23 = 0, $i30 = 0, $i31 = 0, $i38 = 0, $i41 = 0;
- var $i46 = 0, $i57 = 0, $i59 = 0, $i62 = 0, $i73 = 0, $i75 = 0, $i78 = 0, $i9 = 0, $i90 = 0, $i92 = 0, $i96 = 0, $i98 = 0, $inc = 0, $incdec$ptr = 0, $k = 0, $m$addr = 0, $m2 = 0, $mm$addr = 0, $mul = 0, $mul1 = 0;
- var $mul101 = 0.0, $mul105 = 0.0, $mul11 = 0.0, $mul17 = 0.0, $mul2 = 0, $mul21 = 0.0, $mul28 = 0.0, $mul32 = 0.0, $mul39 = 0.0, $mul43 = 0.0, $mul7 = 0.0, $mul81 = 0, $mul86 = 0.0, $mul93 = 0.0, $scratch = 0, $st$addr = 0, $sub = 0.0, $sub128 = 0.0, $sub135 = 0.0, $sub33 = 0.0;
- var $sub69 = 0.0, $sub76 = 0.0, $sub87 = 0.0, $sub94 = 0.0, $tobool = 0, $tw1 = 0, $tw2 = 0, $twiddles = 0, $twiddles3 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $scratch = sp + 16|0;
- $epi3 = sp + 8|0;
- $Fout$addr = $Fout;
- $fstride$addr = $fstride;
- $st$addr = $st;
- $m$addr = $m;
- $N$addr = $N;
- $mm$addr = $mm;
- $0 = $m$addr;
- $mul = $0<<1;
- $m2 = $mul;
- $1 = $Fout$addr;
- $Fout_beg = $1;
- $2 = $st$addr;
- $twiddles = ((($2)) + 48|0);
- $3 = HEAP32[$twiddles>>2]|0;
- $4 = $fstride$addr;
- $5 = $m$addr;
- $mul1 = Math_imul($4, $5)|0;
- $arrayidx = (($3) + ($mul1<<3)|0);
- ;HEAP32[$epi3>>2]=HEAP32[$arrayidx>>2]|0;HEAP32[$epi3+4>>2]=HEAP32[$arrayidx+4>>2]|0;
- $i = 0;
- while(1) {
- $6 = $i;
- $7 = $N$addr;
- $cmp = ($6|0)<($7|0);
- if (!($cmp)) {
- break;
- }
- $8 = $Fout_beg;
- $9 = $i;
- $10 = $mm$addr;
- $mul2 = Math_imul($9, $10)|0;
- $add$ptr = (($8) + ($mul2<<3)|0);
- $Fout$addr = $add$ptr;
- $11 = $st$addr;
- $twiddles3 = ((($11)) + 48|0);
- $12 = HEAP32[$twiddles3>>2]|0;
- $tw2 = $12;
- $tw1 = $12;
- $13 = $m$addr;
- $k = $13;
- while(1) {
- $14 = $Fout$addr;
- $15 = $m$addr;
- $arrayidx5 = (($14) + ($15<<3)|0);
- $16 = +HEAPF32[$arrayidx5>>2];
- $17 = $tw1;
- $18 = +HEAPF32[$17>>2];
- $mul7 = $16 * $18;
- $19 = $Fout$addr;
- $20 = $m$addr;
- $arrayidx8 = (($19) + ($20<<3)|0);
- $i9 = ((($arrayidx8)) + 4|0);
- $21 = +HEAPF32[$i9>>2];
- $22 = $tw1;
- $i10 = ((($22)) + 4|0);
- $23 = +HEAPF32[$i10>>2];
- $mul11 = $21 * $23;
- $sub = $mul7 - $mul11;
- $arrayidx12 = ((($scratch)) + 8|0);
- HEAPF32[$arrayidx12>>2] = $sub;
- $24 = $Fout$addr;
- $25 = $m$addr;
- $arrayidx14 = (($24) + ($25<<3)|0);
- $26 = +HEAPF32[$arrayidx14>>2];
- $27 = $tw1;
- $i16 = ((($27)) + 4|0);
- $28 = +HEAPF32[$i16>>2];
- $mul17 = $26 * $28;
- $29 = $Fout$addr;
- $30 = $m$addr;
- $arrayidx18 = (($29) + ($30<<3)|0);
- $i19 = ((($arrayidx18)) + 4|0);
- $31 = +HEAPF32[$i19>>2];
- $32 = $tw1;
- $33 = +HEAPF32[$32>>2];
- $mul21 = $31 * $33;
- $add = $mul17 + $mul21;
- $arrayidx22 = ((($scratch)) + 8|0);
- $i23 = ((($arrayidx22)) + 4|0);
- HEAPF32[$i23>>2] = $add;
- $34 = $Fout$addr;
- $35 = $m2;
- $arrayidx25 = (($34) + ($35<<3)|0);
- $36 = +HEAPF32[$arrayidx25>>2];
- $37 = $tw2;
- $38 = +HEAPF32[$37>>2];
- $mul28 = $36 * $38;
- $39 = $Fout$addr;
- $40 = $m2;
- $arrayidx29 = (($39) + ($40<<3)|0);
- $i30 = ((($arrayidx29)) + 4|0);
- $41 = +HEAPF32[$i30>>2];
- $42 = $tw2;
- $i31 = ((($42)) + 4|0);
- $43 = +HEAPF32[$i31>>2];
- $mul32 = $41 * $43;
- $sub33 = $mul28 - $mul32;
- $arrayidx34 = ((($scratch)) + 16|0);
- HEAPF32[$arrayidx34>>2] = $sub33;
- $44 = $Fout$addr;
- $45 = $m2;
- $arrayidx36 = (($44) + ($45<<3)|0);
- $46 = +HEAPF32[$arrayidx36>>2];
- $47 = $tw2;
- $i38 = ((($47)) + 4|0);
- $48 = +HEAPF32[$i38>>2];
- $mul39 = $46 * $48;
- $49 = $Fout$addr;
- $50 = $m2;
- $arrayidx40 = (($49) + ($50<<3)|0);
- $i41 = ((($arrayidx40)) + 4|0);
- $51 = +HEAPF32[$i41>>2];
- $52 = $tw2;
- $53 = +HEAPF32[$52>>2];
- $mul43 = $51 * $53;
- $add44 = $mul39 + $mul43;
- $arrayidx45 = ((($scratch)) + 16|0);
- $i46 = ((($arrayidx45)) + 4|0);
- HEAPF32[$i46>>2] = $add44;
- $arrayidx49 = ((($scratch)) + 8|0);
- $54 = +HEAPF32[$arrayidx49>>2];
- $arrayidx51 = ((($scratch)) + 16|0);
- $55 = +HEAPF32[$arrayidx51>>2];
- $add53 = $54 + $55;
- $arrayidx54 = ((($scratch)) + 24|0);
- HEAPF32[$arrayidx54>>2] = $add53;
- $arrayidx56 = ((($scratch)) + 8|0);
- $i57 = ((($arrayidx56)) + 4|0);
- $56 = +HEAPF32[$i57>>2];
- $arrayidx58 = ((($scratch)) + 16|0);
- $i59 = ((($arrayidx58)) + 4|0);
- $57 = +HEAPF32[$i59>>2];
- $add60 = $56 + $57;
- $arrayidx61 = ((($scratch)) + 24|0);
- $i62 = ((($arrayidx61)) + 4|0);
- HEAPF32[$i62>>2] = $add60;
- $arrayidx65 = ((($scratch)) + 8|0);
- $58 = +HEAPF32[$arrayidx65>>2];
- $arrayidx67 = ((($scratch)) + 16|0);
- $59 = +HEAPF32[$arrayidx67>>2];
- $sub69 = $58 - $59;
- HEAPF32[$scratch>>2] = $sub69;
- $arrayidx72 = ((($scratch)) + 8|0);
- $i73 = ((($arrayidx72)) + 4|0);
- $60 = +HEAPF32[$i73>>2];
- $arrayidx74 = ((($scratch)) + 16|0);
- $i75 = ((($arrayidx74)) + 4|0);
- $61 = +HEAPF32[$i75>>2];
- $sub76 = $60 - $61;
- $i78 = ((($scratch)) + 4|0);
- HEAPF32[$i78>>2] = $sub76;
- $62 = $fstride$addr;
- $63 = $tw1;
- $add$ptr80 = (($63) + ($62<<3)|0);
- $tw1 = $add$ptr80;
- $64 = $fstride$addr;
- $mul81 = $64<<1;
- $65 = $tw2;
- $add$ptr82 = (($65) + ($mul81<<3)|0);
- $tw2 = $add$ptr82;
- $66 = $Fout$addr;
- $67 = +HEAPF32[$66>>2];
- $arrayidx84 = ((($scratch)) + 24|0);
- $68 = +HEAPF32[$arrayidx84>>2];
- $mul86 = $68 * 0.5;
- $sub87 = $67 - $mul86;
- $69 = $Fout$addr;
- $70 = $m$addr;
- $arrayidx88 = (($69) + ($70<<3)|0);
- HEAPF32[$arrayidx88>>2] = $sub87;
- $71 = $Fout$addr;
- $i90 = ((($71)) + 4|0);
- $72 = +HEAPF32[$i90>>2];
- $arrayidx91 = ((($scratch)) + 24|0);
- $i92 = ((($arrayidx91)) + 4|0);
- $73 = +HEAPF32[$i92>>2];
- $mul93 = $73 * 0.5;
- $sub94 = $72 - $mul93;
- $74 = $Fout$addr;
- $75 = $m$addr;
- $arrayidx95 = (($74) + ($75<<3)|0);
- $i96 = ((($arrayidx95)) + 4|0);
- HEAPF32[$i96>>2] = $sub94;
- $i98 = ((($epi3)) + 4|0);
- $76 = +HEAPF32[$i98>>2];
- $77 = +HEAPF32[$scratch>>2];
- $mul101 = $77 * $76;
- HEAPF32[$scratch>>2] = $mul101;
- $i102 = ((($epi3)) + 4|0);
- $78 = +HEAPF32[$i102>>2];
- $i104 = ((($scratch)) + 4|0);
- $79 = +HEAPF32[$i104>>2];
- $mul105 = $79 * $78;
- HEAPF32[$i104>>2] = $mul105;
- $arrayidx108 = ((($scratch)) + 24|0);
- $80 = +HEAPF32[$arrayidx108>>2];
- $81 = $Fout$addr;
- $82 = +HEAPF32[$81>>2];
- $add111 = $82 + $80;
- HEAPF32[$81>>2] = $add111;
- $arrayidx112 = ((($scratch)) + 24|0);
- $i113 = ((($arrayidx112)) + 4|0);
- $83 = +HEAPF32[$i113>>2];
- $84 = $Fout$addr;
- $i114 = ((($84)) + 4|0);
- $85 = +HEAPF32[$i114>>2];
- $add115 = $85 + $83;
- HEAPF32[$i114>>2] = $add115;
- $86 = $Fout$addr;
- $87 = $m$addr;
- $arrayidx117 = (($86) + ($87<<3)|0);
- $88 = +HEAPF32[$arrayidx117>>2];
- $i120 = ((($scratch)) + 4|0);
- $89 = +HEAPF32[$i120>>2];
- $add121 = $88 + $89;
- $90 = $Fout$addr;
- $91 = $m2;
- $arrayidx122 = (($90) + ($91<<3)|0);
- HEAPF32[$arrayidx122>>2] = $add121;
- $92 = $Fout$addr;
- $93 = $m$addr;
- $arrayidx124 = (($92) + ($93<<3)|0);
- $i125 = ((($arrayidx124)) + 4|0);
- $94 = +HEAPF32[$i125>>2];
- $95 = +HEAPF32[$scratch>>2];
- $sub128 = $94 - $95;
- $96 = $Fout$addr;
- $97 = $m2;
- $arrayidx129 = (($96) + ($97<<3)|0);
- $i130 = ((($arrayidx129)) + 4|0);
- HEAPF32[$i130>>2] = $sub128;
- $i132 = ((($scratch)) + 4|0);
- $98 = +HEAPF32[$i132>>2];
- $99 = $Fout$addr;
- $100 = $m$addr;
- $arrayidx133 = (($99) + ($100<<3)|0);
- $101 = +HEAPF32[$arrayidx133>>2];
- $sub135 = $101 - $98;
- HEAPF32[$arrayidx133>>2] = $sub135;
- $102 = +HEAPF32[$scratch>>2];
- $103 = $Fout$addr;
- $104 = $m$addr;
- $arrayidx138 = (($103) + ($104<<3)|0);
- $i139 = ((($arrayidx138)) + 4|0);
- $105 = +HEAPF32[$i139>>2];
- $add140 = $105 + $102;
- HEAPF32[$i139>>2] = $add140;
- $106 = $Fout$addr;
- $incdec$ptr = ((($106)) + 8|0);
- $Fout$addr = $incdec$ptr;
- $107 = $k;
- $dec = (($107) + -1)|0;
- $k = $dec;
- $tobool = ($dec|0)!=(0);
- if (!($tobool)) {
- break;
- }
- }
- $108 = $i;
- $inc = (($108) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _kf_bfly5($Fout,$fstride,$st,$m,$N,$mm) {
- $Fout = $Fout|0;
- $fstride = $fstride|0;
- $st = $st|0;
- $m = $m|0;
- $N = $N|0;
- $mm = $mm|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0, $113 = 0.0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0.0, $118 = 0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0.0, $124 = 0.0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0.0, $133 = 0.0;
- var $134 = 0.0, $135 = 0.0, $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0, $147 = 0.0, $148 = 0.0, $149 = 0.0, $15 = 0, $150 = 0.0, $151 = 0.0;
- var $152 = 0.0, $153 = 0.0, $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0, $160 = 0.0, $161 = 0.0, $162 = 0.0, $163 = 0.0, $164 = 0.0, $165 = 0.0, $166 = 0.0, $167 = 0.0, $168 = 0, $169 = 0.0, $17 = 0;
- var $170 = 0.0, $171 = 0, $172 = 0.0, $173 = 0.0, $174 = 0, $175 = 0.0, $176 = 0.0, $177 = 0, $178 = 0.0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0.0, $182 = 0.0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0.0;
- var $189 = 0.0, $19 = 0, $190 = 0.0, $191 = 0.0, $192 = 0.0, $193 = 0.0, $194 = 0.0, $195 = 0.0, $196 = 0.0, $197 = 0.0, $198 = 0, $199 = 0.0, $2 = 0, $20 = 0, $200 = 0.0, $201 = 0, $202 = 0.0, $203 = 0.0, $204 = 0, $205 = 0.0;
- var $206 = 0.0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0;
- var $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0;
- var $5 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0;
- var $68 = 0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0, $73 = 0, $74 = 0, $75 = 0.0, $76 = 0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0;
- var $86 = 0, $87 = 0.0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0.0, $Fout$addr = 0, $Fout0 = 0, $Fout1 = 0, $Fout2 = 0, $Fout3 = 0;
- var $Fout4 = 0, $Fout_beg = 0, $N$addr = 0, $add = 0.0, $add$ptr = 0, $add$ptr11 = 0, $add$ptr13 = 0, $add$ptr7 = 0, $add$ptr9 = 0, $add101 = 0.0, $add133 = 0.0, $add142 = 0.0, $add149 = 0.0, $add174 = 0.0, $add181 = 0.0, $add205 = 0.0, $add207 = 0.0, $add212 = 0.0, $add214 = 0.0, $add221 = 0.0;
- var $add226 = 0.0, $add235 = 0.0, $add240 = 0.0, $add251 = 0.0, $add285 = 0.0, $add291 = 0.0, $add300 = 0.0, $add305 = 0.0, $add314 = 0.0, $add319 = 0.0, $add331 = 0.0, $add350 = 0.0, $add356 = 0.0, $add69 = 0.0, $arrayidx = 0, $arrayidx102 = 0, $arrayidx109 = 0, $arrayidx115 = 0, $arrayidx119 = 0, $arrayidx124 = 0;
- var $arrayidx130 = 0, $arrayidx134 = 0, $arrayidx138 = 0, $arrayidx140 = 0, $arrayidx143 = 0, $arrayidx145 = 0, $arrayidx147 = 0, $arrayidx150 = 0, $arrayidx154 = 0, $arrayidx156 = 0, $arrayidx159 = 0, $arrayidx161 = 0, $arrayidx163 = 0, $arrayidx166 = 0, $arrayidx170 = 0, $arrayidx172 = 0, $arrayidx175 = 0, $arrayidx177 = 0, $arrayidx179 = 0, $arrayidx182 = 0;
- var $arrayidx186 = 0, $arrayidx188 = 0, $arrayidx19 = 0, $arrayidx191 = 0, $arrayidx193 = 0, $arrayidx195 = 0, $arrayidx198 = 0, $arrayidx201 = 0, $arrayidx203 = 0, $arrayidx208 = 0, $arrayidx210 = 0, $arrayidx217 = 0, $arrayidx222 = 0, $arrayidx227 = 0, $arrayidx231 = 0, $arrayidx236 = 0, $arrayidx24 = 0, $arrayidx241 = 0, $arrayidx243 = 0, $arrayidx247 = 0;
- var $arrayidx252 = 0, $arrayidx254 = 0, $arrayidx259 = 0, $arrayidx264 = 0, $arrayidx267 = 0, $arrayidx269 = 0, $arrayidx27 = 0, $arrayidx273 = 0, $arrayidx275 = 0, $arrayidx281 = 0, $arrayidx283 = 0, $arrayidx287 = 0, $arrayidx289 = 0, $arrayidx296 = 0, $arrayidx301 = 0, $arrayidx306 = 0, $arrayidx31 = 0, $arrayidx310 = 0, $arrayidx315 = 0, $arrayidx320 = 0;
- var $arrayidx322 = 0, $arrayidx327 = 0, $arrayidx332 = 0, $arrayidx334 = 0, $arrayidx338 = 0, $arrayidx343 = 0, $arrayidx346 = 0, $arrayidx348 = 0, $arrayidx352 = 0, $arrayidx354 = 0, $arrayidx36 = 0, $arrayidx360 = 0, $arrayidx362 = 0, $arrayidx366 = 0, $arrayidx368 = 0, $arrayidx39 = 0, $arrayidx4 = 0, $arrayidx45 = 0, $arrayidx51 = 0, $arrayidx55 = 0;
- var $arrayidx60 = 0, $arrayidx66 = 0, $arrayidx70 = 0, $arrayidx77 = 0, $arrayidx83 = 0, $arrayidx87 = 0, $arrayidx92 = 0, $arrayidx98 = 0, $cmp = 0, $cmp15 = 0, $fstride$addr = 0, $i = 0, $i103 = 0, $i112 = 0, $i116 = 0, $i125 = 0, $i127 = 0, $i135 = 0, $i146 = 0, $i148 = 0;
- var $i151 = 0, $i162 = 0, $i164 = 0, $i167 = 0, $i178 = 0, $i180 = 0, $i183 = 0, $i194 = 0, $i196 = 0, $i199 = 0, $i209 = 0, $i211 = 0, $i213 = 0, $i22 = 0, $i230 = 0, $i232 = 0, $i237 = 0, $i242 = 0, $i244 = 0, $i245 = 0;
- var $i248 = 0, $i249 = 0, $i25 = 0, $i256 = 0, $i261 = 0, $i265 = 0, $i274 = 0, $i276 = 0, $i278 = 0, $i288 = 0, $i290 = 0, $i292 = 0, $i309 = 0, $i311 = 0, $i316 = 0, $i32 = 0, $i321 = 0, $i323 = 0, $i324 = 0, $i328 = 0;
- var $i329 = 0, $i336 = 0, $i34 = 0, $i340 = 0, $i344 = 0, $i353 = 0, $i355 = 0, $i357 = 0, $i367 = 0, $i369 = 0, $i371 = 0, $i40 = 0, $i48 = 0, $i52 = 0, $i61 = 0, $i63 = 0, $i71 = 0, $i80 = 0, $i84 = 0, $i93 = 0;
- var $i95 = 0, $inc = 0, $inc378 = 0, $incdec$ptr = 0, $incdec$ptr373 = 0, $incdec$ptr374 = 0, $incdec$ptr375 = 0, $incdec$ptr376 = 0, $m$addr = 0, $mm$addr = 0, $mul = 0, $mul10 = 0, $mul100 = 0.0, $mul107 = 0, $mul108 = 0, $mul111 = 0.0, $mul113 = 0, $mul114 = 0, $mul117 = 0.0, $mul12 = 0;
- var $mul122 = 0, $mul123 = 0, $mul126 = 0.0, $mul128 = 0, $mul129 = 0, $mul132 = 0.0, $mul18 = 0, $mul2 = 0, $mul21 = 0.0, $mul220 = 0.0, $mul225 = 0.0, $mul23 = 0, $mul234 = 0.0, $mul239 = 0.0, $mul246 = 0.0, $mul250 = 0.0, $mul257 = 0.0, $mul26 = 0.0, $mul262 = 0.0, $mul299 = 0.0;
- var $mul3 = 0, $mul30 = 0, $mul304 = 0.0, $mul313 = 0.0, $mul318 = 0.0, $mul325 = 0.0, $mul33 = 0.0, $mul330 = 0.0, $mul337 = 0.0, $mul341 = 0.0, $mul35 = 0, $mul38 = 0.0, $mul43 = 0, $mul44 = 0, $mul47 = 0.0, $mul49 = 0, $mul50 = 0, $mul53 = 0.0, $mul58 = 0, $mul59 = 0;
- var $mul6 = 0, $mul62 = 0.0, $mul64 = 0, $mul65 = 0, $mul68 = 0.0, $mul75 = 0, $mul76 = 0, $mul79 = 0.0, $mul8 = 0, $mul81 = 0, $mul82 = 0, $mul85 = 0.0, $mul90 = 0, $mul91 = 0, $mul94 = 0.0, $mul96 = 0, $mul97 = 0, $scratch = 0, $st$addr = 0, $sub = 0.0;
- var $sub118 = 0.0, $sub158 = 0.0, $sub165 = 0.0, $sub190 = 0.0, $sub197 = 0.0, $sub258 = 0.0, $sub263 = 0.0, $sub271 = 0.0, $sub277 = 0.0, $sub326 = 0.0, $sub342 = 0.0, $sub364 = 0.0, $sub370 = 0.0, $sub54 = 0.0, $sub86 = 0.0, $tw = 0, $twiddles = 0, $twiddles1 = 0, $twiddles5 = 0, $u = 0;
- var $ya = 0, $yb = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
- $scratch = sp + 32|0;
- $ya = sp + 16|0;
- $yb = sp + 8|0;
- $Fout$addr = $Fout;
- $fstride$addr = $fstride;
- $st$addr = $st;
- $m$addr = $m;
- $N$addr = $N;
- $mm$addr = $mm;
- $0 = $Fout$addr;
- $Fout_beg = $0;
- $1 = $st$addr;
- $twiddles = ((($1)) + 48|0);
- $2 = HEAP32[$twiddles>>2]|0;
- $3 = $fstride$addr;
- $4 = $m$addr;
- $mul = Math_imul($3, $4)|0;
- $arrayidx = (($2) + ($mul<<3)|0);
- ;HEAP32[$ya>>2]=HEAP32[$arrayidx>>2]|0;HEAP32[$ya+4>>2]=HEAP32[$arrayidx+4>>2]|0;
- $5 = $st$addr;
- $twiddles1 = ((($5)) + 48|0);
- $6 = HEAP32[$twiddles1>>2]|0;
- $7 = $fstride$addr;
- $mul2 = $7<<1;
- $8 = $m$addr;
- $mul3 = Math_imul($mul2, $8)|0;
- $arrayidx4 = (($6) + ($mul3<<3)|0);
- ;HEAP32[$yb>>2]=HEAP32[$arrayidx4>>2]|0;HEAP32[$yb+4>>2]=HEAP32[$arrayidx4+4>>2]|0;
- $9 = $st$addr;
- $twiddles5 = ((($9)) + 48|0);
- $10 = HEAP32[$twiddles5>>2]|0;
- $tw = $10;
- $i = 0;
- while(1) {
- $11 = $i;
- $12 = $N$addr;
- $cmp = ($11|0)<($12|0);
- if (!($cmp)) {
- break;
- }
- $13 = $Fout_beg;
- $14 = $i;
- $15 = $mm$addr;
- $mul6 = Math_imul($14, $15)|0;
- $add$ptr = (($13) + ($mul6<<3)|0);
- $Fout$addr = $add$ptr;
- $16 = $Fout$addr;
- $Fout0 = $16;
- $17 = $Fout0;
- $18 = $m$addr;
- $add$ptr7 = (($17) + ($18<<3)|0);
- $Fout1 = $add$ptr7;
- $19 = $Fout0;
- $20 = $m$addr;
- $mul8 = $20<<1;
- $add$ptr9 = (($19) + ($mul8<<3)|0);
- $Fout2 = $add$ptr9;
- $21 = $Fout0;
- $22 = $m$addr;
- $mul10 = ($22*3)|0;
- $add$ptr11 = (($21) + ($mul10<<3)|0);
- $Fout3 = $add$ptr11;
- $23 = $Fout0;
- $24 = $m$addr;
- $mul12 = $24<<2;
- $add$ptr13 = (($23) + ($mul12<<3)|0);
- $Fout4 = $add$ptr13;
- $u = 0;
- while(1) {
- $25 = $u;
- $26 = $m$addr;
- $cmp15 = ($25|0)<($26|0);
- if (!($cmp15)) {
- break;
- }
- $27 = $Fout0;
- ;HEAP32[$scratch>>2]=HEAP32[$27>>2]|0;HEAP32[$scratch+4>>2]=HEAP32[$27+4>>2]|0;
- $28 = $Fout1;
- $29 = +HEAPF32[$28>>2];
- $30 = $tw;
- $31 = $u;
- $32 = $fstride$addr;
- $mul18 = Math_imul($31, $32)|0;
- $arrayidx19 = (($30) + ($mul18<<3)|0);
- $33 = +HEAPF32[$arrayidx19>>2];
- $mul21 = $29 * $33;
- $34 = $Fout1;
- $i22 = ((($34)) + 4|0);
- $35 = +HEAPF32[$i22>>2];
- $36 = $tw;
- $37 = $u;
- $38 = $fstride$addr;
- $mul23 = Math_imul($37, $38)|0;
- $arrayidx24 = (($36) + ($mul23<<3)|0);
- $i25 = ((($arrayidx24)) + 4|0);
- $39 = +HEAPF32[$i25>>2];
- $mul26 = $35 * $39;
- $sub = $mul21 - $mul26;
- $arrayidx27 = ((($scratch)) + 8|0);
- HEAPF32[$arrayidx27>>2] = $sub;
- $40 = $Fout1;
- $41 = +HEAPF32[$40>>2];
- $42 = $tw;
- $43 = $u;
- $44 = $fstride$addr;
- $mul30 = Math_imul($43, $44)|0;
- $arrayidx31 = (($42) + ($mul30<<3)|0);
- $i32 = ((($arrayidx31)) + 4|0);
- $45 = +HEAPF32[$i32>>2];
- $mul33 = $41 * $45;
- $46 = $Fout1;
- $i34 = ((($46)) + 4|0);
- $47 = +HEAPF32[$i34>>2];
- $48 = $tw;
- $49 = $u;
- $50 = $fstride$addr;
- $mul35 = Math_imul($49, $50)|0;
- $arrayidx36 = (($48) + ($mul35<<3)|0);
- $51 = +HEAPF32[$arrayidx36>>2];
- $mul38 = $47 * $51;
- $add = $mul33 + $mul38;
- $arrayidx39 = ((($scratch)) + 8|0);
- $i40 = ((($arrayidx39)) + 4|0);
- HEAPF32[$i40>>2] = $add;
- $52 = $Fout2;
- $53 = +HEAPF32[$52>>2];
- $54 = $tw;
- $55 = $u;
- $mul43 = $55<<1;
- $56 = $fstride$addr;
- $mul44 = Math_imul($mul43, $56)|0;
- $arrayidx45 = (($54) + ($mul44<<3)|0);
- $57 = +HEAPF32[$arrayidx45>>2];
- $mul47 = $53 * $57;
- $58 = $Fout2;
- $i48 = ((($58)) + 4|0);
- $59 = +HEAPF32[$i48>>2];
- $60 = $tw;
- $61 = $u;
- $mul49 = $61<<1;
- $62 = $fstride$addr;
- $mul50 = Math_imul($mul49, $62)|0;
- $arrayidx51 = (($60) + ($mul50<<3)|0);
- $i52 = ((($arrayidx51)) + 4|0);
- $63 = +HEAPF32[$i52>>2];
- $mul53 = $59 * $63;
- $sub54 = $mul47 - $mul53;
- $arrayidx55 = ((($scratch)) + 16|0);
- HEAPF32[$arrayidx55>>2] = $sub54;
- $64 = $Fout2;
- $65 = +HEAPF32[$64>>2];
- $66 = $tw;
- $67 = $u;
- $mul58 = $67<<1;
- $68 = $fstride$addr;
- $mul59 = Math_imul($mul58, $68)|0;
- $arrayidx60 = (($66) + ($mul59<<3)|0);
- $i61 = ((($arrayidx60)) + 4|0);
- $69 = +HEAPF32[$i61>>2];
- $mul62 = $65 * $69;
- $70 = $Fout2;
- $i63 = ((($70)) + 4|0);
- $71 = +HEAPF32[$i63>>2];
- $72 = $tw;
- $73 = $u;
- $mul64 = $73<<1;
- $74 = $fstride$addr;
- $mul65 = Math_imul($mul64, $74)|0;
- $arrayidx66 = (($72) + ($mul65<<3)|0);
- $75 = +HEAPF32[$arrayidx66>>2];
- $mul68 = $71 * $75;
- $add69 = $mul62 + $mul68;
- $arrayidx70 = ((($scratch)) + 16|0);
- $i71 = ((($arrayidx70)) + 4|0);
- HEAPF32[$i71>>2] = $add69;
- $76 = $Fout3;
- $77 = +HEAPF32[$76>>2];
- $78 = $tw;
- $79 = $u;
- $mul75 = ($79*3)|0;
- $80 = $fstride$addr;
- $mul76 = Math_imul($mul75, $80)|0;
- $arrayidx77 = (($78) + ($mul76<<3)|0);
- $81 = +HEAPF32[$arrayidx77>>2];
- $mul79 = $77 * $81;
- $82 = $Fout3;
- $i80 = ((($82)) + 4|0);
- $83 = +HEAPF32[$i80>>2];
- $84 = $tw;
- $85 = $u;
- $mul81 = ($85*3)|0;
- $86 = $fstride$addr;
- $mul82 = Math_imul($mul81, $86)|0;
- $arrayidx83 = (($84) + ($mul82<<3)|0);
- $i84 = ((($arrayidx83)) + 4|0);
- $87 = +HEAPF32[$i84>>2];
- $mul85 = $83 * $87;
- $sub86 = $mul79 - $mul85;
- $arrayidx87 = ((($scratch)) + 24|0);
- HEAPF32[$arrayidx87>>2] = $sub86;
- $88 = $Fout3;
- $89 = +HEAPF32[$88>>2];
- $90 = $tw;
- $91 = $u;
- $mul90 = ($91*3)|0;
- $92 = $fstride$addr;
- $mul91 = Math_imul($mul90, $92)|0;
- $arrayidx92 = (($90) + ($mul91<<3)|0);
- $i93 = ((($arrayidx92)) + 4|0);
- $93 = +HEAPF32[$i93>>2];
- $mul94 = $89 * $93;
- $94 = $Fout3;
- $i95 = ((($94)) + 4|0);
- $95 = +HEAPF32[$i95>>2];
- $96 = $tw;
- $97 = $u;
- $mul96 = ($97*3)|0;
- $98 = $fstride$addr;
- $mul97 = Math_imul($mul96, $98)|0;
- $arrayidx98 = (($96) + ($mul97<<3)|0);
- $99 = +HEAPF32[$arrayidx98>>2];
- $mul100 = $95 * $99;
- $add101 = $mul94 + $mul100;
- $arrayidx102 = ((($scratch)) + 24|0);
- $i103 = ((($arrayidx102)) + 4|0);
- HEAPF32[$i103>>2] = $add101;
- $100 = $Fout4;
- $101 = +HEAPF32[$100>>2];
- $102 = $tw;
- $103 = $u;
- $mul107 = $103<<2;
- $104 = $fstride$addr;
- $mul108 = Math_imul($mul107, $104)|0;
- $arrayidx109 = (($102) + ($mul108<<3)|0);
- $105 = +HEAPF32[$arrayidx109>>2];
- $mul111 = $101 * $105;
- $106 = $Fout4;
- $i112 = ((($106)) + 4|0);
- $107 = +HEAPF32[$i112>>2];
- $108 = $tw;
- $109 = $u;
- $mul113 = $109<<2;
- $110 = $fstride$addr;
- $mul114 = Math_imul($mul113, $110)|0;
- $arrayidx115 = (($108) + ($mul114<<3)|0);
- $i116 = ((($arrayidx115)) + 4|0);
- $111 = +HEAPF32[$i116>>2];
- $mul117 = $107 * $111;
- $sub118 = $mul111 - $mul117;
- $arrayidx119 = ((($scratch)) + 32|0);
- HEAPF32[$arrayidx119>>2] = $sub118;
- $112 = $Fout4;
- $113 = +HEAPF32[$112>>2];
- $114 = $tw;
- $115 = $u;
- $mul122 = $115<<2;
- $116 = $fstride$addr;
- $mul123 = Math_imul($mul122, $116)|0;
- $arrayidx124 = (($114) + ($mul123<<3)|0);
- $i125 = ((($arrayidx124)) + 4|0);
- $117 = +HEAPF32[$i125>>2];
- $mul126 = $113 * $117;
- $118 = $Fout4;
- $i127 = ((($118)) + 4|0);
- $119 = +HEAPF32[$i127>>2];
- $120 = $tw;
- $121 = $u;
- $mul128 = $121<<2;
- $122 = $fstride$addr;
- $mul129 = Math_imul($mul128, $122)|0;
- $arrayidx130 = (($120) + ($mul129<<3)|0);
- $123 = +HEAPF32[$arrayidx130>>2];
- $mul132 = $119 * $123;
- $add133 = $mul126 + $mul132;
- $arrayidx134 = ((($scratch)) + 32|0);
- $i135 = ((($arrayidx134)) + 4|0);
- HEAPF32[$i135>>2] = $add133;
- $arrayidx138 = ((($scratch)) + 8|0);
- $124 = +HEAPF32[$arrayidx138>>2];
- $arrayidx140 = ((($scratch)) + 32|0);
- $125 = +HEAPF32[$arrayidx140>>2];
- $add142 = $124 + $125;
- $arrayidx143 = ((($scratch)) + 56|0);
- HEAPF32[$arrayidx143>>2] = $add142;
- $arrayidx145 = ((($scratch)) + 8|0);
- $i146 = ((($arrayidx145)) + 4|0);
- $126 = +HEAPF32[$i146>>2];
- $arrayidx147 = ((($scratch)) + 32|0);
- $i148 = ((($arrayidx147)) + 4|0);
- $127 = +HEAPF32[$i148>>2];
- $add149 = $126 + $127;
- $arrayidx150 = ((($scratch)) + 56|0);
- $i151 = ((($arrayidx150)) + 4|0);
- HEAPF32[$i151>>2] = $add149;
- $arrayidx154 = ((($scratch)) + 8|0);
- $128 = +HEAPF32[$arrayidx154>>2];
- $arrayidx156 = ((($scratch)) + 32|0);
- $129 = +HEAPF32[$arrayidx156>>2];
- $sub158 = $128 - $129;
- $arrayidx159 = ((($scratch)) + 80|0);
- HEAPF32[$arrayidx159>>2] = $sub158;
- $arrayidx161 = ((($scratch)) + 8|0);
- $i162 = ((($arrayidx161)) + 4|0);
- $130 = +HEAPF32[$i162>>2];
- $arrayidx163 = ((($scratch)) + 32|0);
- $i164 = ((($arrayidx163)) + 4|0);
- $131 = +HEAPF32[$i164>>2];
- $sub165 = $130 - $131;
- $arrayidx166 = ((($scratch)) + 80|0);
- $i167 = ((($arrayidx166)) + 4|0);
- HEAPF32[$i167>>2] = $sub165;
- $arrayidx170 = ((($scratch)) + 16|0);
- $132 = +HEAPF32[$arrayidx170>>2];
- $arrayidx172 = ((($scratch)) + 24|0);
- $133 = +HEAPF32[$arrayidx172>>2];
- $add174 = $132 + $133;
- $arrayidx175 = ((($scratch)) + 64|0);
- HEAPF32[$arrayidx175>>2] = $add174;
- $arrayidx177 = ((($scratch)) + 16|0);
- $i178 = ((($arrayidx177)) + 4|0);
- $134 = +HEAPF32[$i178>>2];
- $arrayidx179 = ((($scratch)) + 24|0);
- $i180 = ((($arrayidx179)) + 4|0);
- $135 = +HEAPF32[$i180>>2];
- $add181 = $134 + $135;
- $arrayidx182 = ((($scratch)) + 64|0);
- $i183 = ((($arrayidx182)) + 4|0);
- HEAPF32[$i183>>2] = $add181;
- $arrayidx186 = ((($scratch)) + 16|0);
- $136 = +HEAPF32[$arrayidx186>>2];
- $arrayidx188 = ((($scratch)) + 24|0);
- $137 = +HEAPF32[$arrayidx188>>2];
- $sub190 = $136 - $137;
- $arrayidx191 = ((($scratch)) + 72|0);
- HEAPF32[$arrayidx191>>2] = $sub190;
- $arrayidx193 = ((($scratch)) + 16|0);
- $i194 = ((($arrayidx193)) + 4|0);
- $138 = +HEAPF32[$i194>>2];
- $arrayidx195 = ((($scratch)) + 24|0);
- $i196 = ((($arrayidx195)) + 4|0);
- $139 = +HEAPF32[$i196>>2];
- $sub197 = $138 - $139;
- $arrayidx198 = ((($scratch)) + 72|0);
- $i199 = ((($arrayidx198)) + 4|0);
- HEAPF32[$i199>>2] = $sub197;
- $arrayidx201 = ((($scratch)) + 56|0);
- $140 = +HEAPF32[$arrayidx201>>2];
- $arrayidx203 = ((($scratch)) + 64|0);
- $141 = +HEAPF32[$arrayidx203>>2];
- $add205 = $140 + $141;
- $142 = $Fout0;
- $143 = +HEAPF32[$142>>2];
- $add207 = $143 + $add205;
- HEAPF32[$142>>2] = $add207;
- $arrayidx208 = ((($scratch)) + 56|0);
- $i209 = ((($arrayidx208)) + 4|0);
- $144 = +HEAPF32[$i209>>2];
- $arrayidx210 = ((($scratch)) + 64|0);
- $i211 = ((($arrayidx210)) + 4|0);
- $145 = +HEAPF32[$i211>>2];
- $add212 = $144 + $145;
- $146 = $Fout0;
- $i213 = ((($146)) + 4|0);
- $147 = +HEAPF32[$i213>>2];
- $add214 = $147 + $add212;
- HEAPF32[$i213>>2] = $add214;
- $148 = +HEAPF32[$scratch>>2];
- $arrayidx217 = ((($scratch)) + 56|0);
- $149 = +HEAPF32[$arrayidx217>>2];
- $150 = +HEAPF32[$ya>>2];
- $mul220 = $149 * $150;
- $add221 = $148 + $mul220;
- $arrayidx222 = ((($scratch)) + 64|0);
- $151 = +HEAPF32[$arrayidx222>>2];
- $152 = +HEAPF32[$yb>>2];
- $mul225 = $151 * $152;
- $add226 = $add221 + $mul225;
- $arrayidx227 = ((($scratch)) + 40|0);
- HEAPF32[$arrayidx227>>2] = $add226;
- $i230 = ((($scratch)) + 4|0);
- $153 = +HEAPF32[$i230>>2];
- $arrayidx231 = ((($scratch)) + 56|0);
- $i232 = ((($arrayidx231)) + 4|0);
- $154 = +HEAPF32[$i232>>2];
- $155 = +HEAPF32[$ya>>2];
- $mul234 = $154 * $155;
- $add235 = $153 + $mul234;
- $arrayidx236 = ((($scratch)) + 64|0);
- $i237 = ((($arrayidx236)) + 4|0);
- $156 = +HEAPF32[$i237>>2];
- $157 = +HEAPF32[$yb>>2];
- $mul239 = $156 * $157;
- $add240 = $add235 + $mul239;
- $arrayidx241 = ((($scratch)) + 40|0);
- $i242 = ((($arrayidx241)) + 4|0);
- HEAPF32[$i242>>2] = $add240;
- $arrayidx243 = ((($scratch)) + 80|0);
- $i244 = ((($arrayidx243)) + 4|0);
- $158 = +HEAPF32[$i244>>2];
- $i245 = ((($ya)) + 4|0);
- $159 = +HEAPF32[$i245>>2];
- $mul246 = $158 * $159;
- $arrayidx247 = ((($scratch)) + 72|0);
- $i248 = ((($arrayidx247)) + 4|0);
- $160 = +HEAPF32[$i248>>2];
- $i249 = ((($yb)) + 4|0);
- $161 = +HEAPF32[$i249>>2];
- $mul250 = $160 * $161;
- $add251 = $mul246 + $mul250;
- $arrayidx252 = ((($scratch)) + 48|0);
- HEAPF32[$arrayidx252>>2] = $add251;
- $arrayidx254 = ((($scratch)) + 80|0);
- $162 = +HEAPF32[$arrayidx254>>2];
- $i256 = ((($ya)) + 4|0);
- $163 = +HEAPF32[$i256>>2];
- $mul257 = $162 * $163;
- $sub258 = - $mul257;
- $arrayidx259 = ((($scratch)) + 72|0);
- $164 = +HEAPF32[$arrayidx259>>2];
- $i261 = ((($yb)) + 4|0);
- $165 = +HEAPF32[$i261>>2];
- $mul262 = $164 * $165;
- $sub263 = $sub258 - $mul262;
- $arrayidx264 = ((($scratch)) + 48|0);
- $i265 = ((($arrayidx264)) + 4|0);
- HEAPF32[$i265>>2] = $sub263;
- $arrayidx267 = ((($scratch)) + 40|0);
- $166 = +HEAPF32[$arrayidx267>>2];
- $arrayidx269 = ((($scratch)) + 48|0);
- $167 = +HEAPF32[$arrayidx269>>2];
- $sub271 = $166 - $167;
- $168 = $Fout1;
- HEAPF32[$168>>2] = $sub271;
- $arrayidx273 = ((($scratch)) + 40|0);
- $i274 = ((($arrayidx273)) + 4|0);
- $169 = +HEAPF32[$i274>>2];
- $arrayidx275 = ((($scratch)) + 48|0);
- $i276 = ((($arrayidx275)) + 4|0);
- $170 = +HEAPF32[$i276>>2];
- $sub277 = $169 - $170;
- $171 = $Fout1;
- $i278 = ((($171)) + 4|0);
- HEAPF32[$i278>>2] = $sub277;
- $arrayidx281 = ((($scratch)) + 40|0);
- $172 = +HEAPF32[$arrayidx281>>2];
- $arrayidx283 = ((($scratch)) + 48|0);
- $173 = +HEAPF32[$arrayidx283>>2];
- $add285 = $172 + $173;
- $174 = $Fout4;
- HEAPF32[$174>>2] = $add285;
- $arrayidx287 = ((($scratch)) + 40|0);
- $i288 = ((($arrayidx287)) + 4|0);
- $175 = +HEAPF32[$i288>>2];
- $arrayidx289 = ((($scratch)) + 48|0);
- $i290 = ((($arrayidx289)) + 4|0);
- $176 = +HEAPF32[$i290>>2];
- $add291 = $175 + $176;
- $177 = $Fout4;
- $i292 = ((($177)) + 4|0);
- HEAPF32[$i292>>2] = $add291;
- $178 = +HEAPF32[$scratch>>2];
- $arrayidx296 = ((($scratch)) + 56|0);
- $179 = +HEAPF32[$arrayidx296>>2];
- $180 = +HEAPF32[$yb>>2];
- $mul299 = $179 * $180;
- $add300 = $178 + $mul299;
- $arrayidx301 = ((($scratch)) + 64|0);
- $181 = +HEAPF32[$arrayidx301>>2];
- $182 = +HEAPF32[$ya>>2];
- $mul304 = $181 * $182;
- $add305 = $add300 + $mul304;
- $arrayidx306 = ((($scratch)) + 88|0);
- HEAPF32[$arrayidx306>>2] = $add305;
- $i309 = ((($scratch)) + 4|0);
- $183 = +HEAPF32[$i309>>2];
- $arrayidx310 = ((($scratch)) + 56|0);
- $i311 = ((($arrayidx310)) + 4|0);
- $184 = +HEAPF32[$i311>>2];
- $185 = +HEAPF32[$yb>>2];
- $mul313 = $184 * $185;
- $add314 = $183 + $mul313;
- $arrayidx315 = ((($scratch)) + 64|0);
- $i316 = ((($arrayidx315)) + 4|0);
- $186 = +HEAPF32[$i316>>2];
- $187 = +HEAPF32[$ya>>2];
- $mul318 = $186 * $187;
- $add319 = $add314 + $mul318;
- $arrayidx320 = ((($scratch)) + 88|0);
- $i321 = ((($arrayidx320)) + 4|0);
- HEAPF32[$i321>>2] = $add319;
- $arrayidx322 = ((($scratch)) + 80|0);
- $i323 = ((($arrayidx322)) + 4|0);
- $188 = +HEAPF32[$i323>>2];
- $i324 = ((($yb)) + 4|0);
- $189 = +HEAPF32[$i324>>2];
- $mul325 = $188 * $189;
- $sub326 = - $mul325;
- $arrayidx327 = ((($scratch)) + 72|0);
- $i328 = ((($arrayidx327)) + 4|0);
- $190 = +HEAPF32[$i328>>2];
- $i329 = ((($ya)) + 4|0);
- $191 = +HEAPF32[$i329>>2];
- $mul330 = $190 * $191;
- $add331 = $sub326 + $mul330;
- $arrayidx332 = ((($scratch)) + 96|0);
- HEAPF32[$arrayidx332>>2] = $add331;
- $arrayidx334 = ((($scratch)) + 80|0);
- $192 = +HEAPF32[$arrayidx334>>2];
- $i336 = ((($yb)) + 4|0);
- $193 = +HEAPF32[$i336>>2];
- $mul337 = $192 * $193;
- $arrayidx338 = ((($scratch)) + 72|0);
- $194 = +HEAPF32[$arrayidx338>>2];
- $i340 = ((($ya)) + 4|0);
- $195 = +HEAPF32[$i340>>2];
- $mul341 = $194 * $195;
- $sub342 = $mul337 - $mul341;
- $arrayidx343 = ((($scratch)) + 96|0);
- $i344 = ((($arrayidx343)) + 4|0);
- HEAPF32[$i344>>2] = $sub342;
- $arrayidx346 = ((($scratch)) + 88|0);
- $196 = +HEAPF32[$arrayidx346>>2];
- $arrayidx348 = ((($scratch)) + 96|0);
- $197 = +HEAPF32[$arrayidx348>>2];
- $add350 = $196 + $197;
- $198 = $Fout2;
- HEAPF32[$198>>2] = $add350;
- $arrayidx352 = ((($scratch)) + 88|0);
- $i353 = ((($arrayidx352)) + 4|0);
- $199 = +HEAPF32[$i353>>2];
- $arrayidx354 = ((($scratch)) + 96|0);
- $i355 = ((($arrayidx354)) + 4|0);
- $200 = +HEAPF32[$i355>>2];
- $add356 = $199 + $200;
- $201 = $Fout2;
- $i357 = ((($201)) + 4|0);
- HEAPF32[$i357>>2] = $add356;
- $arrayidx360 = ((($scratch)) + 88|0);
- $202 = +HEAPF32[$arrayidx360>>2];
- $arrayidx362 = ((($scratch)) + 96|0);
- $203 = +HEAPF32[$arrayidx362>>2];
- $sub364 = $202 - $203;
- $204 = $Fout3;
- HEAPF32[$204>>2] = $sub364;
- $arrayidx366 = ((($scratch)) + 88|0);
- $i367 = ((($arrayidx366)) + 4|0);
- $205 = +HEAPF32[$i367>>2];
- $arrayidx368 = ((($scratch)) + 96|0);
- $i369 = ((($arrayidx368)) + 4|0);
- $206 = +HEAPF32[$i369>>2];
- $sub370 = $205 - $206;
- $207 = $Fout3;
- $i371 = ((($207)) + 4|0);
- HEAPF32[$i371>>2] = $sub370;
- $208 = $Fout0;
- $incdec$ptr = ((($208)) + 8|0);
- $Fout0 = $incdec$ptr;
- $209 = $Fout1;
- $incdec$ptr373 = ((($209)) + 8|0);
- $Fout1 = $incdec$ptr373;
- $210 = $Fout2;
- $incdec$ptr374 = ((($210)) + 8|0);
- $Fout2 = $incdec$ptr374;
- $211 = $Fout3;
- $incdec$ptr375 = ((($211)) + 8|0);
- $Fout3 = $incdec$ptr375;
- $212 = $Fout4;
- $incdec$ptr376 = ((($212)) + 8|0);
- $Fout4 = $incdec$ptr376;
- $213 = $u;
- $inc = (($213) + 1)|0;
- $u = $inc;
- }
- $214 = $i;
- $inc378 = (($214) + 1)|0;
- $i = $inc378;
- }
- STACKTOP = sp;return;
-}
-function _opus_fft_c($st,$fin,$fout) {
- $st = $st|0;
- $fin = $fin|0;
- $fout = $fout|0;
- var $0 = 0, $1 = 0.0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0;
- var $6 = 0, $7 = 0.0, $8 = 0.0, $9 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx8 = 0, $bitrev = 0, $bitrev7 = 0, $cmp = 0, $fin$addr = 0, $fout$addr = 0, $i = 0, $i11 = 0, $i5 = 0, $idxprom = 0, $idxprom9 = 0, $inc = 0;
- var $mul = 0.0, $mul6 = 0.0, $scale = 0.0, $scale1 = 0, $st$addr = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x = sp;
- $st$addr = $st;
- $fin$addr = $fin;
- $fout$addr = $fout;
- $0 = $st$addr;
- $scale1 = ((($0)) + 4|0);
- $1 = +HEAPF32[$scale1>>2];
- $scale = $1;
- $i = 0;
- while(1) {
- $2 = $i;
- $3 = $st$addr;
- $4 = HEAP32[$3>>2]|0;
- $cmp = ($2|0)<($4|0);
- if (!($cmp)) {
- break;
- }
- $5 = $fin$addr;
- $6 = $i;
- $arrayidx = (($5) + ($6<<3)|0);
- ;HEAP32[$x>>2]=HEAP32[$arrayidx>>2]|0;HEAP32[$x+4>>2]=HEAP32[$arrayidx+4>>2]|0;
- $7 = $scale;
- $8 = +HEAPF32[$x>>2];
- $mul = $7 * $8;
- $9 = $fout$addr;
- $10 = $st$addr;
- $bitrev = ((($10)) + 44|0);
- $11 = HEAP32[$bitrev>>2]|0;
- $12 = $i;
- $arrayidx2 = (($11) + ($12<<1)|0);
- $13 = HEAP16[$arrayidx2>>1]|0;
- $idxprom = $13 << 16 >> 16;
- $arrayidx3 = (($9) + ($idxprom<<3)|0);
- HEAPF32[$arrayidx3>>2] = $mul;
- $14 = $scale;
- $i5 = ((($x)) + 4|0);
- $15 = +HEAPF32[$i5>>2];
- $mul6 = $14 * $15;
- $16 = $fout$addr;
- $17 = $st$addr;
- $bitrev7 = ((($17)) + 44|0);
- $18 = HEAP32[$bitrev7>>2]|0;
- $19 = $i;
- $arrayidx8 = (($18) + ($19<<1)|0);
- $20 = HEAP16[$arrayidx8>>1]|0;
- $idxprom9 = $20 << 16 >> 16;
- $arrayidx10 = (($16) + ($idxprom9<<3)|0);
- $i11 = ((($arrayidx10)) + 4|0);
- HEAPF32[$i11>>2] = $mul6;
- $21 = $i;
- $inc = (($21) + 1)|0;
- $i = $inc;
- }
- $22 = $st$addr;
- $23 = $fout$addr;
- _opus_fft_impl($22,$23);
- STACKTOP = sp;return;
-}
-function _clt_mdct_forward_c($l,$in,$out,$window,$overlap,$shift,$stride,$arch) {
- $l = $l|0;
- $in = $in|0;
- $out = $out|0;
- $window = $window|0;
- $overlap = $overlap|0;
- $shift = $shift|0;
- $stride = $stride|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0.0;
- var $116 = 0.0, $117 = 0.0, $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0.0, $121 = 0.0, $122 = 0.0, $123 = 0.0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0.0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0, $145 = 0.0, $146 = 0, $147 = 0, $148 = 0.0, $149 = 0, $15 = 0, $150 = 0.0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0.0, $155 = 0, $156 = 0.0, $157 = 0, $158 = 0, $159 = 0.0, $16 = 0, $160 = 0.0, $161 = 0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0.0;
- var $35 = 0, $36 = 0.0, $37 = 0, $38 = 0.0, $39 = 0, $4 = 0.0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0;
- var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0;
- var $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0.0, $86 = 0, $87 = 0.0, $88 = 0, $89 = 0;
- var $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $N = 0, $N2 = 0, $N4 = 0, $add = 0, $add$ptr = 0, $add$ptr103 = 0, $add$ptr11 = 0, $add$ptr129 = 0, $add$ptr13 = 0;
- var $add$ptr131 = 0, $add$ptr15 = 0, $add$ptr16 = 0, $add$ptr29 = 0, $add$ptr30 = 0, $add$ptr31 = 0, $add$ptr32 = 0, $add$ptr36 = 0, $add$ptr37 = 0, $add$ptr46 = 0, $add$ptr47 = 0, $add$ptr66 = 0, $add$ptr67 = 0, $add$ptr68 = 0, $add$ptr69 = 0, $add$ptr7 = 0, $add$ptr8 = 0, $add$ptr9 = 0, $add112 = 0, $add120 = 0;
- var $add126 = 0.0, $add23 = 0.0, $add39 = 0, $add59 = 0.0, $add64 = 0.0, $add79 = 0, $add88 = 0.0, $arch$addr = 0, $arrayidx = 0, $arrayidx113 = 0, $arrayidx116 = 0, $arrayidx121 = 0, $arrayidx124 = 0, $arrayidx21 = 0, $arrayidx25 = 0, $arrayidx55 = 0, $arrayidx62 = 0, $arrayidx78 = 0, $arrayidx80 = 0, $arrayidx96 = 0;
- var $arrayidx97 = 0, $bitrev = 0, $cmp = 0, $cmp107 = 0, $cmp19 = 0, $cmp42 = 0, $cmp52 = 0, $cmp76 = 0, $fp = 0, $i = 0, $i111 = 0, $i123 = 0, $i89 = 0, $i93 = 0, $i95 = 0, $idx$neg = 0, $idxprom = 0, $im = 0.0, $in$addr = 0, $inc = 0;
- var $inc133 = 0, $inc34 = 0, $inc49 = 0, $inc71 = 0, $inc99 = 0, $incdec$ptr = 0, $incdec$ptr127 = 0, $incdec$ptr28 = 0, $incdec$ptr44 = 0, $incdec$ptr45 = 0, $incdec$ptr60 = 0, $incdec$ptr65 = 0, $incdec$ptr81 = 0, $incdec$ptr82 = 0, $kfft = 0, $l$addr = 0, $mul = 0.0, $mul102 = 0, $mul114 = 0.0, $mul117 = 0.0;
- var $mul122 = 0.0, $mul125 = 0.0, $mul128 = 0, $mul130 = 0, $mul22 = 0.0, $mul24 = 0.0, $mul26 = 0.0, $mul56 = 0.0, $mul58 = 0.0, $mul61 = 0.0, $mul63 = 0.0, $mul83 = 0.0, $mul84 = 0.0, $mul86 = 0.0, $mul87 = 0.0, $mul91 = 0.0, $mul94 = 0.0, $out$addr = 0, $overlap$addr = 0, $re = 0.0;
- var $saved_stack = 0, $scale = 0.0, $scale1 = 0, $shift$addr = 0, $shr = 0, $shr10 = 0, $shr12 = 0, $shr14 = 0, $shr18 = 0, $shr4 = 0, $shr40 = 0, $shr6 = 0, $st = 0, $stride$addr = 0, $sub = 0, $sub101 = 0, $sub118 = 0.0, $sub27 = 0.0, $sub41 = 0, $sub54 = 0;
- var $sub57 = 0.0, $sub85 = 0.0, $t = 0, $t0 = 0.0, $t1 = 0.0, $t104 = 0, $trig = 0, $trig2 = 0, $vla = 0, $vla$alloca_mul = 0, $vla5 = 0, $vla5$alloca_mul = 0, $window$addr = 0, $wp1 = 0, $wp2 = 0, $xp1 = 0, $xp2 = 0, $yc = 0, $yi = 0.0, $yi110 = 0.0;
- var $yp = 0, $yp1 = 0, $yp2 = 0, $yp73 = 0, $yr = 0.0, $yr109 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
- $yc = sp + 48|0;
- $l$addr = $l;
- $in$addr = $in;
- $out$addr = $out;
- $window$addr = $window;
- $overlap$addr = $overlap;
- $shift$addr = $shift;
- $stride$addr = $stride;
- $arch$addr = $arch;
- $0 = $l$addr;
- $kfft = ((($0)) + 8|0);
- $1 = $shift$addr;
- $arrayidx = (($kfft) + ($1<<2)|0);
- $2 = HEAP32[$arrayidx>>2]|0;
- $st = $2;
- $3 = $st;
- $scale1 = ((($3)) + 4|0);
- $4 = +HEAPF32[$scale1>>2];
- $scale = $4;
- $5 = $l$addr;
- $6 = HEAP32[$5>>2]|0;
- $N = $6;
- $7 = $l$addr;
- $trig2 = ((($7)) + 24|0);
- $8 = HEAP32[$trig2>>2]|0;
- $trig = $8;
- $i = 0;
- while(1) {
- $9 = $i;
- $10 = $shift$addr;
- $cmp = ($9|0)<($10|0);
- $11 = $N;
- $shr = $11 >> 1;
- if (!($cmp)) {
- break;
- }
- $N = $shr;
- $12 = $N;
- $13 = $trig;
- $add$ptr = (($13) + ($12<<2)|0);
- $trig = $add$ptr;
- $14 = $i;
- $inc = (($14) + 1)|0;
- $i = $inc;
- }
- $N2 = $shr;
- $15 = $N;
- $shr4 = $15 >> 2;
- $N4 = $shr4;
- $16 = $N2;
- $17 = (_llvm_stacksave()|0);
- $saved_stack = $17;
- $vla$alloca_mul = $16<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $18 = $N4;
- $vla5$alloca_mul = $18<<3;
- $vla5 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla5$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla5$alloca_mul)|0)+15)&-16)|0);;
- $19 = $in$addr;
- $20 = $overlap$addr;
- $shr6 = $20 >> 1;
- $add$ptr7 = (($19) + ($shr6<<2)|0);
- $xp1 = $add$ptr7;
- $21 = $in$addr;
- $22 = $N2;
- $add$ptr8 = (($21) + ($22<<2)|0);
- $add$ptr9 = ((($add$ptr8)) + -4|0);
- $23 = $overlap$addr;
- $shr10 = $23 >> 1;
- $add$ptr11 = (($add$ptr9) + ($shr10<<2)|0);
- $xp2 = $add$ptr11;
- $yp = $vla;
- $24 = $window$addr;
- $25 = $overlap$addr;
- $shr12 = $25 >> 1;
- $add$ptr13 = (($24) + ($shr12<<2)|0);
- $wp1 = $add$ptr13;
- $26 = $window$addr;
- $27 = $overlap$addr;
- $shr14 = $27 >> 1;
- $add$ptr15 = (($26) + ($shr14<<2)|0);
- $add$ptr16 = ((($add$ptr15)) + -4|0);
- $wp2 = $add$ptr16;
- $i = 0;
- while(1) {
- $28 = $i;
- $29 = $overlap$addr;
- $add = (($29) + 3)|0;
- $shr18 = $add >> 2;
- $cmp19 = ($28|0)<($shr18|0);
- if (!($cmp19)) {
- break;
- }
- $30 = $wp2;
- $31 = +HEAPF32[$30>>2];
- $32 = $xp1;
- $33 = $N2;
- $arrayidx21 = (($32) + ($33<<2)|0);
- $34 = +HEAPF32[$arrayidx21>>2];
- $mul = $31 * $34;
- $35 = $wp1;
- $36 = +HEAPF32[$35>>2];
- $37 = $xp2;
- $38 = +HEAPF32[$37>>2];
- $mul22 = $36 * $38;
- $add23 = $mul + $mul22;
- $39 = $yp;
- $incdec$ptr = ((($39)) + 4|0);
- $yp = $incdec$ptr;
- HEAPF32[$39>>2] = $add23;
- $40 = $wp1;
- $41 = +HEAPF32[$40>>2];
- $42 = $xp1;
- $43 = +HEAPF32[$42>>2];
- $mul24 = $41 * $43;
- $44 = $wp2;
- $45 = +HEAPF32[$44>>2];
- $46 = $xp2;
- $47 = $N2;
- $sub = (0 - ($47))|0;
- $arrayidx25 = (($46) + ($sub<<2)|0);
- $48 = +HEAPF32[$arrayidx25>>2];
- $mul26 = $45 * $48;
- $sub27 = $mul24 - $mul26;
- $49 = $yp;
- $incdec$ptr28 = ((($49)) + 4|0);
- $yp = $incdec$ptr28;
- HEAPF32[$49>>2] = $sub27;
- $50 = $xp1;
- $add$ptr29 = ((($50)) + 8|0);
- $xp1 = $add$ptr29;
- $51 = $xp2;
- $add$ptr30 = ((($51)) + -8|0);
- $xp2 = $add$ptr30;
- $52 = $wp1;
- $add$ptr31 = ((($52)) + 8|0);
- $wp1 = $add$ptr31;
- $53 = $wp2;
- $add$ptr32 = ((($53)) + -8|0);
- $wp2 = $add$ptr32;
- $54 = $i;
- $inc34 = (($54) + 1)|0;
- $i = $inc34;
- }
- $55 = $window$addr;
- $wp1 = $55;
- $56 = $window$addr;
- $57 = $overlap$addr;
- $add$ptr36 = (($56) + ($57<<2)|0);
- $add$ptr37 = ((($add$ptr36)) + -4|0);
- $wp2 = $add$ptr37;
- while(1) {
- $58 = $i;
- $59 = $N4;
- $60 = $overlap$addr;
- $add39 = (($60) + 3)|0;
- $shr40 = $add39 >> 2;
- $sub41 = (($59) - ($shr40))|0;
- $cmp42 = ($58|0)<($sub41|0);
- if (!($cmp42)) {
- break;
- }
- $61 = $xp2;
- $62 = +HEAPF32[$61>>2];
- $63 = $yp;
- $incdec$ptr44 = ((($63)) + 4|0);
- $yp = $incdec$ptr44;
- HEAPF32[$63>>2] = $62;
- $64 = $xp1;
- $65 = +HEAPF32[$64>>2];
- $66 = $yp;
- $incdec$ptr45 = ((($66)) + 4|0);
- $yp = $incdec$ptr45;
- HEAPF32[$66>>2] = $65;
- $67 = $xp1;
- $add$ptr46 = ((($67)) + 8|0);
- $xp1 = $add$ptr46;
- $68 = $xp2;
- $add$ptr47 = ((($68)) + -8|0);
- $xp2 = $add$ptr47;
- $69 = $i;
- $inc49 = (($69) + 1)|0;
- $i = $inc49;
- }
- while(1) {
- $70 = $i;
- $71 = $N4;
- $cmp52 = ($70|0)<($71|0);
- if (!($cmp52)) {
- break;
- }
- $72 = $wp1;
- $73 = +HEAPF32[$72>>2];
- $74 = $xp1;
- $75 = $N2;
- $sub54 = (0 - ($75))|0;
- $arrayidx55 = (($74) + ($sub54<<2)|0);
- $76 = +HEAPF32[$arrayidx55>>2];
- $mul56 = $73 * $76;
- $sub57 = - $mul56;
- $77 = $wp2;
- $78 = +HEAPF32[$77>>2];
- $79 = $xp2;
- $80 = +HEAPF32[$79>>2];
- $mul58 = $78 * $80;
- $add59 = $sub57 + $mul58;
- $81 = $yp;
- $incdec$ptr60 = ((($81)) + 4|0);
- $yp = $incdec$ptr60;
- HEAPF32[$81>>2] = $add59;
- $82 = $wp2;
- $83 = +HEAPF32[$82>>2];
- $84 = $xp1;
- $85 = +HEAPF32[$84>>2];
- $mul61 = $83 * $85;
- $86 = $wp1;
- $87 = +HEAPF32[$86>>2];
- $88 = $xp2;
- $89 = $N2;
- $arrayidx62 = (($88) + ($89<<2)|0);
- $90 = +HEAPF32[$arrayidx62>>2];
- $mul63 = $87 * $90;
- $add64 = $mul61 + $mul63;
- $91 = $yp;
- $incdec$ptr65 = ((($91)) + 4|0);
- $yp = $incdec$ptr65;
- HEAPF32[$91>>2] = $add64;
- $92 = $xp1;
- $add$ptr66 = ((($92)) + 8|0);
- $xp1 = $add$ptr66;
- $93 = $xp2;
- $add$ptr67 = ((($93)) + -8|0);
- $xp2 = $add$ptr67;
- $94 = $wp1;
- $add$ptr68 = ((($94)) + 8|0);
- $wp1 = $add$ptr68;
- $95 = $wp2;
- $add$ptr69 = ((($95)) + -8|0);
- $wp2 = $add$ptr69;
- $96 = $i;
- $inc71 = (($96) + 1)|0;
- $i = $inc71;
- }
- $yp73 = $vla;
- $97 = $trig;
- $t = $97;
- $i = 0;
- while(1) {
- $98 = $i;
- $99 = $N4;
- $cmp76 = ($98|0)<($99|0);
- if (!($cmp76)) {
- break;
- }
- $100 = $t;
- $101 = $i;
- $arrayidx78 = (($100) + ($101<<2)|0);
- $102 = +HEAPF32[$arrayidx78>>2];
- $t0 = $102;
- $103 = $t;
- $104 = $N4;
- $105 = $i;
- $add79 = (($104) + ($105))|0;
- $arrayidx80 = (($103) + ($add79<<2)|0);
- $106 = +HEAPF32[$arrayidx80>>2];
- $t1 = $106;
- $107 = $yp73;
- $incdec$ptr81 = ((($107)) + 4|0);
- $yp73 = $incdec$ptr81;
- $108 = +HEAPF32[$107>>2];
- $re = $108;
- $109 = $yp73;
- $incdec$ptr82 = ((($109)) + 4|0);
- $yp73 = $incdec$ptr82;
- $110 = +HEAPF32[$109>>2];
- $im = $110;
- $111 = $re;
- $112 = $t0;
- $mul83 = $111 * $112;
- $113 = $im;
- $114 = $t1;
- $mul84 = $113 * $114;
- $sub85 = $mul83 - $mul84;
- $yr = $sub85;
- $115 = $im;
- $116 = $t0;
- $mul86 = $115 * $116;
- $117 = $re;
- $118 = $t1;
- $mul87 = $117 * $118;
- $add88 = $mul86 + $mul87;
- $yi = $add88;
- $119 = $yr;
- HEAPF32[$yc>>2] = $119;
- $120 = $yi;
- $i89 = ((($yc)) + 4|0);
- HEAPF32[$i89>>2] = $120;
- $121 = $scale;
- $122 = +HEAPF32[$yc>>2];
- $mul91 = $121 * $122;
- HEAPF32[$yc>>2] = $mul91;
- $123 = $scale;
- $i93 = ((($yc)) + 4|0);
- $124 = +HEAPF32[$i93>>2];
- $mul94 = $123 * $124;
- $i95 = ((($yc)) + 4|0);
- HEAPF32[$i95>>2] = $mul94;
- $125 = $st;
- $bitrev = ((($125)) + 44|0);
- $126 = HEAP32[$bitrev>>2]|0;
- $127 = $i;
- $arrayidx96 = (($126) + ($127<<1)|0);
- $128 = HEAP16[$arrayidx96>>1]|0;
- $idxprom = $128 << 16 >> 16;
- $arrayidx97 = (($vla5) + ($idxprom<<3)|0);
- ;HEAP32[$arrayidx97>>2]=HEAP32[$yc>>2]|0;HEAP32[$arrayidx97+4>>2]=HEAP32[$yc+4>>2]|0;
- $129 = $i;
- $inc99 = (($129) + 1)|0;
- $i = $inc99;
- }
- $130 = $st;
- _opus_fft_impl($130,$vla5);
- $fp = $vla5;
- $131 = $out$addr;
- $yp1 = $131;
- $132 = $out$addr;
- $133 = $stride$addr;
- $134 = $N2;
- $sub101 = (($134) - 1)|0;
- $mul102 = Math_imul($133, $sub101)|0;
- $add$ptr103 = (($132) + ($mul102<<2)|0);
- $yp2 = $add$ptr103;
- $135 = $trig;
- $t104 = $135;
- $i = 0;
- while(1) {
- $136 = $i;
- $137 = $N4;
- $cmp107 = ($136|0)<($137|0);
- if (!($cmp107)) {
- break;
- }
- $138 = $fp;
- $i111 = ((($138)) + 4|0);
- $139 = +HEAPF32[$i111>>2];
- $140 = $t104;
- $141 = $N4;
- $142 = $i;
- $add112 = (($141) + ($142))|0;
- $arrayidx113 = (($140) + ($add112<<2)|0);
- $143 = +HEAPF32[$arrayidx113>>2];
- $mul114 = $139 * $143;
- $144 = $fp;
- $145 = +HEAPF32[$144>>2];
- $146 = $t104;
- $147 = $i;
- $arrayidx116 = (($146) + ($147<<2)|0);
- $148 = +HEAPF32[$arrayidx116>>2];
- $mul117 = $145 * $148;
- $sub118 = $mul114 - $mul117;
- $yr109 = $sub118;
- $149 = $fp;
- $150 = +HEAPF32[$149>>2];
- $151 = $t104;
- $152 = $N4;
- $153 = $i;
- $add120 = (($152) + ($153))|0;
- $arrayidx121 = (($151) + ($add120<<2)|0);
- $154 = +HEAPF32[$arrayidx121>>2];
- $mul122 = $150 * $154;
- $155 = $fp;
- $i123 = ((($155)) + 4|0);
- $156 = +HEAPF32[$i123>>2];
- $157 = $t104;
- $158 = $i;
- $arrayidx124 = (($157) + ($158<<2)|0);
- $159 = +HEAPF32[$arrayidx124>>2];
- $mul125 = $156 * $159;
- $add126 = $mul122 + $mul125;
- $yi110 = $add126;
- $160 = $yr109;
- $161 = $yp1;
- HEAPF32[$161>>2] = $160;
- $162 = $yi110;
- $163 = $yp2;
- HEAPF32[$163>>2] = $162;
- $164 = $fp;
- $incdec$ptr127 = ((($164)) + 8|0);
- $fp = $incdec$ptr127;
- $165 = $stride$addr;
- $mul128 = $165<<1;
- $166 = $yp1;
- $add$ptr129 = (($166) + ($mul128<<2)|0);
- $yp1 = $add$ptr129;
- $167 = $stride$addr;
- $mul130 = $167<<1;
- $168 = $yp2;
- $idx$neg = (0 - ($mul130))|0;
- $add$ptr131 = (($168) + ($idx$neg<<2)|0);
- $yp2 = $add$ptr131;
- $169 = $i;
- $inc133 = (($169) + 1)|0;
- $i = $inc133;
- }
- $170 = $saved_stack;
- _llvm_stackrestore(($170|0));
- STACKTOP = sp;return;
-}
-function _clt_mdct_backward_c($l,$in,$out,$window,$overlap,$shift,$stride,$arch) {
- $l = $l|0;
- $in = $in|0;
- $out = $out|0;
- $window = $window|0;
- $overlap = $overlap|0;
- $shift = $shift|0;
- $stride = $stride|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0.0;
- var $116 = 0, $117 = 0.0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0.0, $132 = 0, $133 = 0.0;
- var $134 = 0, $135 = 0.0, $136 = 0.0, $137 = 0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0, $141 = 0, $142 = 0.0, $143 = 0.0, $144 = 0, $145 = 0.0, $146 = 0.0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $16 = 0;
- var $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0.0, $33 = 0, $34 = 0;
- var $35 = 0, $36 = 0.0, $37 = 0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0;
- var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0;
- var $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0;
- var $9 = 0, $90 = 0.0, $91 = 0, $92 = 0.0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0, $97 = 0.0, $98 = 0, $99 = 0, $N = 0, $N2 = 0, $N4 = 0, $add = 0, $add$ptr = 0, $add$ptr29 = 0, $add$ptr31 = 0, $add$ptr38 = 0, $add$ptr4 = 0;
- var $add$ptr40 = 0, $add$ptr42 = 0, $add$ptr43 = 0, $add$ptr44 = 0, $add$ptr6 = 0, $add$ptr84 = 0, $add$ptr85 = 0, $add$ptr90 = 0, $add$ptr91 = 0, $add$ptr93 = 0, $add$ptr94 = 0, $add105 = 0.0, $add16 = 0.0, $add19 = 0, $add24 = 0, $add48 = 0, $add58 = 0, $add62 = 0.0, $add78 = 0.0, $arch$addr = 0;
- var $arrayidx12 = 0, $arrayidx14 = 0, $arrayidx17 = 0, $arrayidx20 = 0, $arrayidx25 = 0, $arrayidx27 = 0, $arrayidx36 = 0, $arrayidx55 = 0, $arrayidx57 = 0, $arrayidx59 = 0, $arrayidx66 = 0, $arrayidx69 = 0, $arrayidx7 = 0, $arrayidx72 = 0, $arrayidx75 = 0, $arrayidx83 = 0, $bitrev = 0, $bitrev8 = 0, $cmp = 0, $cmp10 = 0;
- var $cmp50 = 0, $cmp96 = 0, $conv = 0, $div = 0, $i = 0, $idx$neg = 0, $im = 0.0, $in$addr = 0, $inc = 0, $inc110 = 0, $inc33 = 0, $inc87 = 0, $incdec$ptr = 0, $incdec$ptr102 = 0, $incdec$ptr106 = 0, $incdec$ptr107 = 0, $incdec$ptr108 = 0, $kfft = 0, $kfft35 = 0, $l$addr = 0;
- var $mul = 0, $mul100 = 0.0, $mul103 = 0.0, $mul104 = 0.0, $mul13 = 0.0, $mul15 = 0.0, $mul18 = 0.0, $mul21 = 0.0, $mul23 = 0, $mul26 = 0, $mul28 = 0, $mul30 = 0, $mul60 = 0.0, $mul61 = 0.0, $mul63 = 0.0, $mul64 = 0.0, $mul76 = 0.0, $mul77 = 0.0, $mul79 = 0.0, $mul80 = 0.0;
- var $mul99 = 0.0, $out$addr = 0, $overlap$addr = 0, $re = 0.0, $rev = 0, $shift$addr = 0, $shr = 0, $shr3 = 0, $shr37 = 0, $shr39 = 0, $shr41 = 0, $shr49 = 0, $shr5 = 0, $stride$addr = 0, $sub = 0, $sub101 = 0.0, $sub22 = 0.0, $sub65 = 0.0, $sub70 = 0, $sub71 = 0;
- var $sub73 = 0, $sub74 = 0, $sub81 = 0.0, $t = 0, $t0 = 0.0, $t1 = 0.0, $t45 = 0, $trig = 0, $trig1 = 0, $window$addr = 0, $wp1 = 0, $wp2 = 0, $x1 = 0.0, $x2 = 0.0, $xp1 = 0, $xp189 = 0, $xp2 = 0, $yi = 0.0, $yi54 = 0.0, $yp = 0;
- var $yp0 = 0, $yp1 = 0, $yp192 = 0, $yr = 0.0, $yr53 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
- $l$addr = $l;
- $in$addr = $in;
- $out$addr = $out;
- $window$addr = $window;
- $overlap$addr = $overlap;
- $shift$addr = $shift;
- $stride$addr = $stride;
- $arch$addr = $arch;
- $0 = $l$addr;
- $1 = HEAP32[$0>>2]|0;
- $N = $1;
- $2 = $l$addr;
- $trig1 = ((($2)) + 24|0);
- $3 = HEAP32[$trig1>>2]|0;
- $trig = $3;
- $i = 0;
- while(1) {
- $4 = $i;
- $5 = $shift$addr;
- $cmp = ($4|0)<($5|0);
- $6 = $N;
- $shr = $6 >> 1;
- if (!($cmp)) {
- break;
- }
- $N = $shr;
- $7 = $N;
- $8 = $trig;
- $add$ptr = (($8) + ($7<<2)|0);
- $trig = $add$ptr;
- $9 = $i;
- $inc = (($9) + 1)|0;
- $i = $inc;
- }
- $N2 = $shr;
- $10 = $N;
- $shr3 = $10 >> 2;
- $N4 = $shr3;
- $11 = $in$addr;
- $xp1 = $11;
- $12 = $in$addr;
- $13 = $stride$addr;
- $14 = $N2;
- $sub = (($14) - 1)|0;
- $mul = Math_imul($13, $sub)|0;
- $add$ptr4 = (($12) + ($mul<<2)|0);
- $xp2 = $add$ptr4;
- $15 = $out$addr;
- $16 = $overlap$addr;
- $shr5 = $16 >> 1;
- $add$ptr6 = (($15) + ($shr5<<2)|0);
- $yp = $add$ptr6;
- $17 = $trig;
- $t = $17;
- $18 = $l$addr;
- $kfft = ((($18)) + 8|0);
- $19 = $shift$addr;
- $arrayidx7 = (($kfft) + ($19<<2)|0);
- $20 = HEAP32[$arrayidx7>>2]|0;
- $bitrev8 = ((($20)) + 44|0);
- $21 = HEAP32[$bitrev8>>2]|0;
- $bitrev = $21;
- $i = 0;
- while(1) {
- $22 = $i;
- $23 = $N4;
- $cmp10 = ($22|0)<($23|0);
- if (!($cmp10)) {
- break;
- }
- $24 = $bitrev;
- $incdec$ptr = ((($24)) + 2|0);
- $bitrev = $incdec$ptr;
- $25 = HEAP16[$24>>1]|0;
- $conv = $25 << 16 >> 16;
- $rev = $conv;
- $26 = $xp2;
- $27 = +HEAPF32[$26>>2];
- $28 = $t;
- $29 = $i;
- $arrayidx12 = (($28) + ($29<<2)|0);
- $30 = +HEAPF32[$arrayidx12>>2];
- $mul13 = $27 * $30;
- $31 = $xp1;
- $32 = +HEAPF32[$31>>2];
- $33 = $t;
- $34 = $N4;
- $35 = $i;
- $add = (($34) + ($35))|0;
- $arrayidx14 = (($33) + ($add<<2)|0);
- $36 = +HEAPF32[$arrayidx14>>2];
- $mul15 = $32 * $36;
- $add16 = $mul13 + $mul15;
- $yr = $add16;
- $37 = $xp1;
- $38 = +HEAPF32[$37>>2];
- $39 = $t;
- $40 = $i;
- $arrayidx17 = (($39) + ($40<<2)|0);
- $41 = +HEAPF32[$arrayidx17>>2];
- $mul18 = $38 * $41;
- $42 = $xp2;
- $43 = +HEAPF32[$42>>2];
- $44 = $t;
- $45 = $N4;
- $46 = $i;
- $add19 = (($45) + ($46))|0;
- $arrayidx20 = (($44) + ($add19<<2)|0);
- $47 = +HEAPF32[$arrayidx20>>2];
- $mul21 = $43 * $47;
- $sub22 = $mul18 - $mul21;
- $yi = $sub22;
- $48 = $yr;
- $49 = $yp;
- $50 = $rev;
- $mul23 = $50<<1;
- $add24 = (($mul23) + 1)|0;
- $arrayidx25 = (($49) + ($add24<<2)|0);
- HEAPF32[$arrayidx25>>2] = $48;
- $51 = $yi;
- $52 = $yp;
- $53 = $rev;
- $mul26 = $53<<1;
- $arrayidx27 = (($52) + ($mul26<<2)|0);
- HEAPF32[$arrayidx27>>2] = $51;
- $54 = $stride$addr;
- $mul28 = $54<<1;
- $55 = $xp1;
- $add$ptr29 = (($55) + ($mul28<<2)|0);
- $xp1 = $add$ptr29;
- $56 = $stride$addr;
- $mul30 = $56<<1;
- $57 = $xp2;
- $idx$neg = (0 - ($mul30))|0;
- $add$ptr31 = (($57) + ($idx$neg<<2)|0);
- $xp2 = $add$ptr31;
- $58 = $i;
- $inc33 = (($58) + 1)|0;
- $i = $inc33;
- }
- $59 = $l$addr;
- $kfft35 = ((($59)) + 8|0);
- $60 = $shift$addr;
- $arrayidx36 = (($kfft35) + ($60<<2)|0);
- $61 = HEAP32[$arrayidx36>>2]|0;
- $62 = $out$addr;
- $63 = $overlap$addr;
- $shr37 = $63 >> 1;
- $add$ptr38 = (($62) + ($shr37<<2)|0);
- _opus_fft_impl($61,$add$ptr38);
- $64 = $out$addr;
- $65 = $overlap$addr;
- $shr39 = $65 >> 1;
- $add$ptr40 = (($64) + ($shr39<<2)|0);
- $yp0 = $add$ptr40;
- $66 = $out$addr;
- $67 = $overlap$addr;
- $shr41 = $67 >> 1;
- $add$ptr42 = (($66) + ($shr41<<2)|0);
- $68 = $N2;
- $add$ptr43 = (($add$ptr42) + ($68<<2)|0);
- $add$ptr44 = ((($add$ptr43)) + -8|0);
- $yp1 = $add$ptr44;
- $69 = $trig;
- $t45 = $69;
- $i = 0;
- while(1) {
- $70 = $i;
- $71 = $N4;
- $add48 = (($71) + 1)|0;
- $shr49 = $add48 >> 1;
- $cmp50 = ($70|0)<($shr49|0);
- if (!($cmp50)) {
- break;
- }
- $72 = $yp0;
- $arrayidx55 = ((($72)) + 4|0);
- $73 = +HEAPF32[$arrayidx55>>2];
- $re = $73;
- $74 = $yp0;
- $75 = +HEAPF32[$74>>2];
- $im = $75;
- $76 = $t45;
- $77 = $i;
- $arrayidx57 = (($76) + ($77<<2)|0);
- $78 = +HEAPF32[$arrayidx57>>2];
- $t0 = $78;
- $79 = $t45;
- $80 = $N4;
- $81 = $i;
- $add58 = (($80) + ($81))|0;
- $arrayidx59 = (($79) + ($add58<<2)|0);
- $82 = +HEAPF32[$arrayidx59>>2];
- $t1 = $82;
- $83 = $re;
- $84 = $t0;
- $mul60 = $83 * $84;
- $85 = $im;
- $86 = $t1;
- $mul61 = $85 * $86;
- $add62 = $mul60 + $mul61;
- $yr53 = $add62;
- $87 = $re;
- $88 = $t1;
- $mul63 = $87 * $88;
- $89 = $im;
- $90 = $t0;
- $mul64 = $89 * $90;
- $sub65 = $mul63 - $mul64;
- $yi54 = $sub65;
- $91 = $yp1;
- $arrayidx66 = ((($91)) + 4|0);
- $92 = +HEAPF32[$arrayidx66>>2];
- $re = $92;
- $93 = $yp1;
- $94 = +HEAPF32[$93>>2];
- $im = $94;
- $95 = $yr53;
- $96 = $yp0;
- HEAPF32[$96>>2] = $95;
- $97 = $yi54;
- $98 = $yp1;
- $arrayidx69 = ((($98)) + 4|0);
- HEAPF32[$arrayidx69>>2] = $97;
- $99 = $t45;
- $100 = $N4;
- $101 = $i;
- $sub70 = (($100) - ($101))|0;
- $sub71 = (($sub70) - 1)|0;
- $arrayidx72 = (($99) + ($sub71<<2)|0);
- $102 = +HEAPF32[$arrayidx72>>2];
- $t0 = $102;
- $103 = $t45;
- $104 = $N2;
- $105 = $i;
- $sub73 = (($104) - ($105))|0;
- $sub74 = (($sub73) - 1)|0;
- $arrayidx75 = (($103) + ($sub74<<2)|0);
- $106 = +HEAPF32[$arrayidx75>>2];
- $t1 = $106;
- $107 = $re;
- $108 = $t0;
- $mul76 = $107 * $108;
- $109 = $im;
- $110 = $t1;
- $mul77 = $109 * $110;
- $add78 = $mul76 + $mul77;
- $yr53 = $add78;
- $111 = $re;
- $112 = $t1;
- $mul79 = $111 * $112;
- $113 = $im;
- $114 = $t0;
- $mul80 = $113 * $114;
- $sub81 = $mul79 - $mul80;
- $yi54 = $sub81;
- $115 = $yr53;
- $116 = $yp1;
- HEAPF32[$116>>2] = $115;
- $117 = $yi54;
- $118 = $yp0;
- $arrayidx83 = ((($118)) + 4|0);
- HEAPF32[$arrayidx83>>2] = $117;
- $119 = $yp0;
- $add$ptr84 = ((($119)) + 8|0);
- $yp0 = $add$ptr84;
- $120 = $yp1;
- $add$ptr85 = ((($120)) + -8|0);
- $yp1 = $add$ptr85;
- $121 = $i;
- $inc87 = (($121) + 1)|0;
- $i = $inc87;
- }
- $122 = $out$addr;
- $123 = $overlap$addr;
- $add$ptr90 = (($122) + ($123<<2)|0);
- $add$ptr91 = ((($add$ptr90)) + -4|0);
- $xp189 = $add$ptr91;
- $124 = $out$addr;
- $yp192 = $124;
- $125 = $window$addr;
- $wp1 = $125;
- $126 = $window$addr;
- $127 = $overlap$addr;
- $add$ptr93 = (($126) + ($127<<2)|0);
- $add$ptr94 = ((($add$ptr93)) + -4|0);
- $wp2 = $add$ptr94;
- $i = 0;
- while(1) {
- $128 = $i;
- $129 = $overlap$addr;
- $div = (($129|0) / 2)&-1;
- $cmp96 = ($128|0)<($div|0);
- if (!($cmp96)) {
- break;
- }
- $130 = $xp189;
- $131 = +HEAPF32[$130>>2];
- $x1 = $131;
- $132 = $yp192;
- $133 = +HEAPF32[$132>>2];
- $x2 = $133;
- $134 = $wp2;
- $135 = +HEAPF32[$134>>2];
- $136 = $x2;
- $mul99 = $135 * $136;
- $137 = $wp1;
- $138 = +HEAPF32[$137>>2];
- $139 = $x1;
- $mul100 = $138 * $139;
- $sub101 = $mul99 - $mul100;
- $140 = $yp192;
- $incdec$ptr102 = ((($140)) + 4|0);
- $yp192 = $incdec$ptr102;
- HEAPF32[$140>>2] = $sub101;
- $141 = $wp1;
- $142 = +HEAPF32[$141>>2];
- $143 = $x2;
- $mul103 = $142 * $143;
- $144 = $wp2;
- $145 = +HEAPF32[$144>>2];
- $146 = $x1;
- $mul104 = $145 * $146;
- $add105 = $mul103 + $mul104;
- $147 = $xp189;
- $incdec$ptr106 = ((($147)) + -4|0);
- $xp189 = $incdec$ptr106;
- HEAPF32[$147>>2] = $add105;
- $148 = $wp1;
- $incdec$ptr107 = ((($148)) + 4|0);
- $wp1 = $incdec$ptr107;
- $149 = $wp2;
- $incdec$ptr108 = ((($149)) + -4|0);
- $wp2 = $incdec$ptr108;
- $150 = $i;
- $inc110 = (($150) + 1)|0;
- $i = $inc110;
- }
- STACKTOP = sp;return;
-}
-function _opus_custom_mode_create($Fs,$frame_size,$error) {
- $Fs = $Fs|0;
- $frame_size = $frame_size|0;
- $error = $error|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $Fs$addr = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $cmp = 0, $cmp2 = 0, $cmp5 = 0, $cmp8 = 0, $error$addr = 0, $frame_size$addr = 0, $i = 0, $inc = 0, $inc13 = 0, $j = 0, $mul = 0, $nbShortMdcts = 0;
- var $retval = 0, $shl = 0, $shortMdctSize = 0, $tobool = 0, $tobool15 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $Fs$addr = $Fs;
- $frame_size$addr = $frame_size;
- $error$addr = $error;
- $i = 0;
- L1: while(1) {
- $0 = $i;
- $cmp = ($0|0)<(1);
- if (!($cmp)) {
- label = 12;
- break;
- }
- $j = 0;
- while(1) {
- $1 = $j;
- $cmp2 = ($1|0)<(4);
- if (!($cmp2)) {
- break;
- }
- $2 = $Fs$addr;
- $3 = $i;
- $arrayidx = (4584 + ($3<<2)|0);
- $4 = HEAP32[$arrayidx>>2]|0;
- $5 = HEAP32[$4>>2]|0;
- $cmp5 = ($2|0)==($5|0);
- if ($cmp5) {
- $6 = $frame_size$addr;
- $7 = $j;
- $shl = $6 << $7;
- $8 = $i;
- $arrayidx6 = (4584 + ($8<<2)|0);
- $9 = HEAP32[$arrayidx6>>2]|0;
- $shortMdctSize = ((($9)) + 44|0);
- $10 = HEAP32[$shortMdctSize>>2]|0;
- $11 = $i;
- $arrayidx7 = (4584 + ($11<<2)|0);
- $12 = HEAP32[$arrayidx7>>2]|0;
- $nbShortMdcts = ((($12)) + 40|0);
- $13 = HEAP32[$nbShortMdcts>>2]|0;
- $mul = Math_imul($10, $13)|0;
- $cmp8 = ($shl|0)==($mul|0);
- if ($cmp8) {
- label = 7;
- break L1;
- }
- }
- $18 = $j;
- $inc = (($18) + 1)|0;
- $j = $inc;
- }
- $19 = $i;
- $inc13 = (($19) + 1)|0;
- $i = $inc13;
- }
- if ((label|0) == 7) {
- $14 = $error$addr;
- $tobool = ($14|0)!=(0|0);
- if ($tobool) {
- $15 = $error$addr;
- HEAP32[$15>>2] = 0;
- }
- $16 = $i;
- $arrayidx10 = (4584 + ($16<<2)|0);
- $17 = HEAP32[$arrayidx10>>2]|0;
- $retval = $17;
- $22 = $retval;
- STACKTOP = sp;return ($22|0);
- }
- else if ((label|0) == 12) {
- $20 = $error$addr;
- $tobool15 = ($20|0)!=(0|0);
- if ($tobool15) {
- $21 = $error$addr;
- HEAP32[$21>>2] = -1;
- }
- $retval = 0;
- $22 = $retval;
- STACKTOP = sp;return ($22|0);
- }
- return (0)|0;
-}
-function _pitch_downsample($x,$x_lp,$len,$C,$arch) {
- $x = $x|0;
- $x_lp = $x_lp|0;
- $len = $len|0;
- $C = $C|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0.0;
- var $45 = 0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $5 = 0.0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0.0;
- var $63 = 0.0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $9 = 0.0, $C$addr = 0, $ac = 0, $add = 0, $add10 = 0.0, $add101 = 0.0, $add18 = 0.0, $add32 = 0, $add34 = 0.0, $add39 = 0.0, $add42 = 0.0, $add5 = 0.0, $add51 = 0.0, $add54 = 0.0, $add86 = 0.0, $add91 = 0.0, $add96 = 0.0, $arch$addr = 0, $arrayidx1 = 0, $arrayidx102 = 0;
- var $arrayidx103 = 0, $arrayidx105 = 0, $arrayidx12 = 0, $arrayidx14 = 0, $arrayidx26 = 0, $arrayidx29 = 0, $arrayidx30 = 0, $arrayidx33 = 0, $arrayidx36 = 0, $arrayidx38 = 0, $arrayidx4 = 0, $arrayidx41 = 0, $arrayidx47 = 0, $arrayidx49 = 0, $arrayidx61 = 0, $arrayidx67 = 0, $arrayidx79 = 0, $arrayidx81 = 0, $arrayidx88 = 0, $arrayidx9 = 0;
- var $arrayidx92 = 0, $arrayidx93 = 0, $arrayidx94 = 0, $arrayidx97 = 0, $arrayidx98 = 0, $arrayidx99 = 0, $c1 = 0.0, $cmp = 0, $cmp21 = 0, $cmp24 = 0, $cmp59 = 0, $cmp75 = 0, $conv = 0.0, $conv64 = 0.0, $i = 0, $inc = 0, $inc44 = 0, $inc70 = 0, $inc83 = 0, $len$addr = 0;
- var $lpc = 0, $lpc2 = 0, $mem = 0, $mul = 0, $mul100 = 0.0, $mul104 = 0.0, $mul11 = 0.0, $mul15 = 0.0, $mul19 = 0.0, $mul27 = 0, $mul3 = 0, $mul31 = 0, $mul35 = 0.0, $mul37 = 0, $mul40 = 0.0, $mul48 = 0.0, $mul52 = 0.0, $mul57 = 0.0, $mul6 = 0.0, $mul62 = 0.0;
- var $mul63 = 0.0, $mul65 = 0.0, $mul66 = 0.0, $mul78 = 0.0, $mul8 = 0, $mul80 = 0.0, $mul90 = 0.0, $mul95 = 0.0, $shr = 0, $shr107 = 0, $shr23 = 0, $shr55 = 0, $sub = 0, $sub28 = 0, $sub68 = 0.0, $tmp = 0.0, $x$addr = 0, $x_lp$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $ac = sp + 68|0;
- $lpc = sp + 48|0;
- $mem = sp + 24|0;
- $lpc2 = sp + 4|0;
- $x$addr = $x;
- $x_lp$addr = $x_lp;
- $len$addr = $len;
- $C$addr = $C;
- $arch$addr = $arch;
- $tmp = 1.0;
- ;HEAP32[$mem>>2]=0|0;HEAP32[$mem+4>>2]=0|0;HEAP32[$mem+8>>2]=0|0;HEAP32[$mem+12>>2]=0|0;HEAP32[$mem+16>>2]=0|0;
- $c1 = 0.80000001192092896;
- $i = 1;
- while(1) {
- $0 = $i;
- $1 = $len$addr;
- $shr = $1 >> 1;
- $cmp = ($0|0)<($shr|0);
- $2 = $x$addr;
- $3 = HEAP32[$2>>2]|0;
- if (!($cmp)) {
- break;
- }
- $4 = $i;
- $mul = $4<<1;
- $sub = (($mul) - 1)|0;
- $arrayidx1 = (($3) + ($sub<<2)|0);
- $5 = +HEAPF32[$arrayidx1>>2];
- $6 = $x$addr;
- $7 = HEAP32[$6>>2]|0;
- $8 = $i;
- $mul3 = $8<<1;
- $add = (($mul3) + 1)|0;
- $arrayidx4 = (($7) + ($add<<2)|0);
- $9 = +HEAPF32[$arrayidx4>>2];
- $add5 = $5 + $9;
- $mul6 = 0.5 * $add5;
- $10 = $x$addr;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $5;
+ $8 = ($7|0)!=(0);
+ if (!($8)) {
+ $9 = $4;
+ $10 = ((($9)) + 132|0);
$11 = HEAP32[$10>>2]|0;
- $12 = $i;
- $mul8 = $12<<1;
- $arrayidx9 = (($11) + ($mul8<<2)|0);
- $13 = +HEAPF32[$arrayidx9>>2];
- $add10 = $mul6 + $13;
- $mul11 = 0.5 * $add10;
- $14 = $x_lp$addr;
- $15 = $i;
- $arrayidx12 = (($14) + ($15<<2)|0);
- HEAPF32[$arrayidx12>>2] = $mul11;
- $16 = $i;
- $inc = (($16) + 1)|0;
- $i = $inc;
+ $12 = (($11|0) / 400)&-1;
+ $5 = $12;
}
- $arrayidx14 = ((($3)) + 4|0);
- $17 = +HEAPF32[$arrayidx14>>2];
- $mul15 = 0.5 * $17;
- $18 = $x$addr;
- $19 = HEAP32[$18>>2]|0;
- $20 = +HEAPF32[$19>>2];
- $add18 = $mul15 + $20;
- $mul19 = 0.5 * $add18;
- $21 = $x_lp$addr;
- HEAPF32[$21>>2] = $mul19;
- $22 = $C$addr;
- $cmp21 = ($22|0)==(2);
- if ($cmp21) {
- $i = 1;
- while(1) {
- $23 = $i;
- $24 = $len$addr;
- $shr23 = $24 >> 1;
- $cmp24 = ($23|0)<($shr23|0);
- $25 = $x$addr;
- $arrayidx26 = ((($25)) + 4|0);
- $26 = HEAP32[$arrayidx26>>2]|0;
- if (!($cmp24)) {
- break;
- }
- $27 = $i;
- $mul27 = $27<<1;
- $sub28 = (($mul27) - 1)|0;
- $arrayidx29 = (($26) + ($sub28<<2)|0);
- $28 = +HEAPF32[$arrayidx29>>2];
- $29 = $x$addr;
- $arrayidx30 = ((($29)) + 4|0);
- $30 = HEAP32[$arrayidx30>>2]|0;
- $31 = $i;
- $mul31 = $31<<1;
- $add32 = (($mul31) + 1)|0;
- $arrayidx33 = (($30) + ($add32<<2)|0);
- $32 = +HEAPF32[$arrayidx33>>2];
- $add34 = $28 + $32;
- $mul35 = 0.5 * $add34;
- $33 = $x$addr;
- $arrayidx36 = ((($33)) + 4|0);
- $34 = HEAP32[$arrayidx36>>2]|0;
- $35 = $i;
- $mul37 = $35<<1;
- $arrayidx38 = (($34) + ($mul37<<2)|0);
- $36 = +HEAPF32[$arrayidx38>>2];
- $add39 = $mul35 + $36;
- $mul40 = 0.5 * $add39;
- $37 = $x_lp$addr;
- $38 = $i;
- $arrayidx41 = (($37) + ($38<<2)|0);
- $39 = +HEAPF32[$arrayidx41>>2];
- $add42 = $39 + $mul40;
- HEAPF32[$arrayidx41>>2] = $add42;
- $40 = $i;
- $inc44 = (($40) + 1)|0;
- $i = $inc44;
- }
- $arrayidx47 = ((($26)) + 4|0);
- $41 = +HEAPF32[$arrayidx47>>2];
- $mul48 = 0.5 * $41;
- $42 = $x$addr;
- $arrayidx49 = ((($42)) + 4|0);
- $43 = HEAP32[$arrayidx49>>2]|0;
- $44 = +HEAPF32[$43>>2];
- $add51 = $mul48 + $44;
- $mul52 = 0.5 * $add51;
- $45 = $x_lp$addr;
- $46 = +HEAPF32[$45>>2];
- $add54 = $46 + $mul52;
- HEAPF32[$45>>2] = $add54;
- }
- $47 = $x_lp$addr;
- $48 = $len$addr;
- $shr55 = $48 >> 1;
- $49 = $arch$addr;
- (__celt_autocorr($47,$ac,0,0,4,$shr55,$49)|0);
- $50 = +HEAPF32[$ac>>2];
- $mul57 = $50 * 1.0001000165939331;
- HEAPF32[$ac>>2] = $mul57;
- $i = 1;
- while(1) {
- $51 = $i;
- $cmp59 = ($51|0)<=(4);
- if (!($cmp59)) {
- break;
- }
- $52 = $i;
- $arrayidx61 = (($ac) + ($52<<2)|0);
- $53 = +HEAPF32[$arrayidx61>>2];
- $54 = $i;
- $conv = (+($54|0));
- $mul62 = 0.0080000003799796104 * $conv;
- $mul63 = $53 * $mul62;
- $55 = $i;
- $conv64 = (+($55|0));
- $mul65 = 0.0080000003799796104 * $conv64;
- $mul66 = $mul63 * $mul65;
- $56 = $i;
- $arrayidx67 = (($ac) + ($56<<2)|0);
- $57 = +HEAPF32[$arrayidx67>>2];
- $sub68 = $57 - $mul66;
- HEAPF32[$arrayidx67>>2] = $sub68;
- $58 = $i;
- $inc70 = (($58) + 1)|0;
- $i = $inc70;
- }
- __celt_lpc($lpc,$ac,4);
- $i = 0;
- while(1) {
- $59 = $i;
- $cmp75 = ($59|0)<(4);
- if (!($cmp75)) {
- break;
- }
- $60 = $tmp;
- $mul78 = 0.89999997615814208 * $60;
- $tmp = $mul78;
- $61 = $i;
- $arrayidx79 = (($lpc) + ($61<<2)|0);
- $62 = +HEAPF32[$arrayidx79>>2];
- $63 = $tmp;
- $mul80 = $62 * $63;
- $64 = $i;
- $arrayidx81 = (($lpc) + ($64<<2)|0);
- HEAPF32[$arrayidx81>>2] = $mul80;
- $65 = $i;
- $inc83 = (($65) + 1)|0;
- $i = $inc83;
- }
- $66 = +HEAPF32[$lpc>>2];
- $add86 = $66 + 0.80000001192092896;
- HEAPF32[$lpc2>>2] = $add86;
- $arrayidx88 = ((($lpc)) + 4|0);
- $67 = +HEAPF32[$arrayidx88>>2];
- $68 = $c1;
- $69 = +HEAPF32[$lpc>>2];
- $mul90 = $68 * $69;
- $add91 = $67 + $mul90;
- $arrayidx92 = ((($lpc2)) + 4|0);
- HEAPF32[$arrayidx92>>2] = $add91;
- $arrayidx93 = ((($lpc)) + 8|0);
- $70 = +HEAPF32[$arrayidx93>>2];
- $71 = $c1;
- $arrayidx94 = ((($lpc)) + 4|0);
- $72 = +HEAPF32[$arrayidx94>>2];
- $mul95 = $71 * $72;
- $add96 = $70 + $mul95;
- $arrayidx97 = ((($lpc2)) + 8|0);
- HEAPF32[$arrayidx97>>2] = $add96;
- $arrayidx98 = ((($lpc)) + 12|0);
- $73 = +HEAPF32[$arrayidx98>>2];
- $74 = $c1;
- $arrayidx99 = ((($lpc)) + 8|0);
- $75 = +HEAPF32[$arrayidx99>>2];
- $mul100 = $74 * $75;
- $add101 = $73 + $mul100;
- $arrayidx102 = ((($lpc2)) + 12|0);
- HEAPF32[$arrayidx102>>2] = $add101;
- $76 = $c1;
- $arrayidx103 = ((($lpc)) + 12|0);
- $77 = +HEAPF32[$arrayidx103>>2];
- $mul104 = $76 * $77;
- $arrayidx105 = ((($lpc2)) + 16|0);
- HEAPF32[$arrayidx105>>2] = $mul104;
- $78 = $x_lp$addr;
- $79 = $x_lp$addr;
- $80 = $len$addr;
- $shr107 = $80 >> 1;
- _celt_fir5($78,$lpc2,$79,$shr107,$mem);
- STACKTOP = sp;return;
-}
-function _celt_fir5($x,$num,$y,$N,$mem) {
- $x = $x|0;
- $num = $num|0;
- $y = $y|0;
- $N = $N|0;
- $mem = $mem|0;
- var $0 = 0, $1 = 0.0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0;
- var $45 = 0, $46 = 0.0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0.0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $7 = 0.0, $8 = 0;
- var $9 = 0.0, $N$addr = 0, $add = 0.0, $add12 = 0.0, $add14 = 0.0, $add16 = 0.0, $add18 = 0.0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx19 = 0, $arrayidx2 = 0, $arrayidx20 = 0, $arrayidx22 = 0, $arrayidx23 = 0, $arrayidx24 = 0, $arrayidx25 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $arrayidx6 = 0, $arrayidx7 = 0;
- var $arrayidx8 = 0, $arrayidx9 = 0, $cmp = 0, $i = 0, $inc = 0, $mem$addr = 0, $mem0 = 0.0, $mem1 = 0.0, $mem2 = 0.0, $mem3 = 0.0, $mem4 = 0.0, $mul = 0.0, $mul11 = 0.0, $mul13 = 0.0, $mul15 = 0.0, $mul17 = 0.0, $num$addr = 0, $num0 = 0.0, $num1 = 0.0, $num2 = 0.0;
- var $num3 = 0.0, $num4 = 0.0, $sum = 0.0, $x$addr = 0, $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $x$addr = $x;
- $num$addr = $num;
- $y$addr = $y;
- $N$addr = $N;
- $mem$addr = $mem;
- $0 = $num$addr;
- $1 = +HEAPF32[$0>>2];
- $num0 = $1;
- $2 = $num$addr;
- $arrayidx1 = ((($2)) + 4|0);
- $3 = +HEAPF32[$arrayidx1>>2];
- $num1 = $3;
- $4 = $num$addr;
- $arrayidx2 = ((($4)) + 8|0);
- $5 = +HEAPF32[$arrayidx2>>2];
- $num2 = $5;
- $6 = $num$addr;
- $arrayidx3 = ((($6)) + 12|0);
- $7 = +HEAPF32[$arrayidx3>>2];
- $num3 = $7;
- $8 = $num$addr;
- $arrayidx4 = ((($8)) + 16|0);
- $9 = +HEAPF32[$arrayidx4>>2];
- $num4 = $9;
- $10 = $mem$addr;
- $11 = +HEAPF32[$10>>2];
- $mem0 = $11;
- $12 = $mem$addr;
- $arrayidx6 = ((($12)) + 4|0);
- $13 = +HEAPF32[$arrayidx6>>2];
- $mem1 = $13;
- $14 = $mem$addr;
- $arrayidx7 = ((($14)) + 8|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $mem2 = $15;
- $16 = $mem$addr;
- $arrayidx8 = ((($16)) + 12|0);
- $17 = +HEAPF32[$arrayidx8>>2];
- $mem3 = $17;
- $18 = $mem$addr;
- $arrayidx9 = ((($18)) + 16|0);
- $19 = +HEAPF32[$arrayidx9>>2];
- $mem4 = $19;
- $i = 0;
- while(1) {
- $20 = $i;
- $21 = $N$addr;
- $cmp = ($20|0)<($21|0);
- if (!($cmp)) {
- break;
- }
- $22 = $x$addr;
- $23 = $i;
- $arrayidx10 = (($22) + ($23<<2)|0);
- $24 = +HEAPF32[$arrayidx10>>2];
- $sum = $24;
- $25 = $sum;
- $26 = $num0;
- $27 = $mem0;
- $mul = $26 * $27;
- $add = $25 + $mul;
- $sum = $add;
- $28 = $sum;
- $29 = $num1;
- $30 = $mem1;
- $mul11 = $29 * $30;
- $add12 = $28 + $mul11;
- $sum = $add12;
- $31 = $sum;
- $32 = $num2;
- $33 = $mem2;
- $mul13 = $32 * $33;
- $add14 = $31 + $mul13;
- $sum = $add14;
- $34 = $sum;
- $35 = $num3;
- $36 = $mem3;
- $mul15 = $35 * $36;
- $add16 = $34 + $mul15;
- $sum = $add16;
- $37 = $sum;
- $38 = $num4;
- $39 = $mem4;
- $mul17 = $38 * $39;
- $add18 = $37 + $mul17;
- $sum = $add18;
- $40 = $mem3;
- $mem4 = $40;
- $41 = $mem2;
- $mem3 = $41;
- $42 = $mem1;
- $mem2 = $42;
- $43 = $mem0;
- $mem1 = $43;
- $44 = $x$addr;
- $45 = $i;
- $arrayidx19 = (($44) + ($45<<2)|0);
- $46 = +HEAPF32[$arrayidx19>>2];
- $mem0 = $46;
- $47 = $sum;
- $48 = $y$addr;
- $49 = $i;
- $arrayidx20 = (($48) + ($49<<2)|0);
- HEAPF32[$arrayidx20>>2] = $47;
- $50 = $i;
- $inc = (($50) + 1)|0;
- $i = $inc;
- }
- $51 = $mem0;
- $52 = $mem$addr;
- HEAPF32[$52>>2] = $51;
- $53 = $mem1;
- $54 = $mem$addr;
- $arrayidx22 = ((($54)) + 4|0);
- HEAPF32[$arrayidx22>>2] = $53;
- $55 = $mem2;
- $56 = $mem$addr;
- $arrayidx23 = ((($56)) + 8|0);
- HEAPF32[$arrayidx23>>2] = $55;
- $57 = $mem3;
- $58 = $mem$addr;
- $arrayidx24 = ((($58)) + 12|0);
- HEAPF32[$arrayidx24>>2] = $57;
- $59 = $mem4;
- $60 = $mem$addr;
- $arrayidx25 = ((($60)) + 16|0);
- HEAPF32[$arrayidx25>>2] = $59;
- STACKTOP = sp;return;
-}
-function _celt_pitch_xcorr($_x,$_y,$xcorr,$len,$max_pitch,$arch) {
- $_x = $_x|0;
- $_y = $_y|0;
- $xcorr = $xcorr|0;
- $len = $len|0;
- $max_pitch = $max_pitch|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0, $28 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0.0, $7 = 0, $8 = 0, $9 = 0.0, $_x$addr = 0, $_y$addr = 0, $add = 0, $add$ptr = 0, $add$ptr15 = 0, $add10 = 0, $add5 = 0, $add8 = 0, $arch$addr = 0, $arrayidx1 = 0, $arrayidx16 = 0;
- var $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $arrayidx9 = 0, $call = 0.0, $cmp = 0, $cmp12 = 0, $i = 0, $inc = 0, $len$addr = 0, $max_pitch$addr = 0, $sub = 0, $sum = 0, $sum14 = 0.0, $xcorr$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $sum = sp + 8|0;
- $_x$addr = $_x;
- $_y$addr = $_y;
- $xcorr$addr = $xcorr;
- $len$addr = $len;
- $max_pitch$addr = $max_pitch;
- $arch$addr = $arch;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $max_pitch$addr;
- $sub = (($1) - 3)|0;
- $cmp = ($0|0)<($sub|0);
- if (!($cmp)) {
- break;
- }
- ;HEAP32[$sum>>2]=0|0;HEAP32[$sum+4>>2]=0|0;HEAP32[$sum+8>>2]=0|0;HEAP32[$sum+12>>2]=0|0;
- $2 = $_x$addr;
- $3 = $_y$addr;
- $4 = $i;
- $add$ptr = (($3) + ($4<<2)|0);
- $5 = $len$addr;
- _xcorr_kernel_c($2,$add$ptr,$sum,$5);
- $6 = +HEAPF32[$sum>>2];
- $7 = $xcorr$addr;
- $8 = $i;
- $arrayidx1 = (($7) + ($8<<2)|0);
- HEAPF32[$arrayidx1>>2] = $6;
- $arrayidx2 = ((($sum)) + 4|0);
- $9 = +HEAPF32[$arrayidx2>>2];
- $10 = $xcorr$addr;
- $11 = $i;
- $add = (($11) + 1)|0;
- $arrayidx3 = (($10) + ($add<<2)|0);
- HEAPF32[$arrayidx3>>2] = $9;
- $arrayidx4 = ((($sum)) + 8|0);
- $12 = +HEAPF32[$arrayidx4>>2];
- $13 = $xcorr$addr;
- $14 = $i;
- $add5 = (($14) + 2)|0;
- $arrayidx6 = (($13) + ($add5<<2)|0);
- HEAPF32[$arrayidx6>>2] = $12;
- $arrayidx7 = ((($sum)) + 12|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $16 = $xcorr$addr;
- $17 = $i;
- $add8 = (($17) + 3)|0;
- $arrayidx9 = (($16) + ($add8<<2)|0);
- HEAPF32[$arrayidx9>>2] = $15;
- $18 = $i;
- $add10 = (($18) + 4)|0;
- $i = $add10;
- }
- while(1) {
- $19 = $i;
- $20 = $max_pitch$addr;
- $cmp12 = ($19|0)<($20|0);
- if (!($cmp12)) {
- break;
- }
- $21 = $_x$addr;
- $22 = $_y$addr;
- $23 = $i;
- $add$ptr15 = (($22) + ($23<<2)|0);
- $24 = $len$addr;
- $call = (+_celt_inner_prod_c_103($21,$add$ptr15,$24));
- $sum14 = $call;
- $25 = $sum14;
- $26 = $xcorr$addr;
- $27 = $i;
- $arrayidx16 = (($26) + ($27<<2)|0);
- HEAPF32[$arrayidx16>>2] = $25;
- $28 = $i;
- $inc = (($28) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _xcorr_kernel_c($x,$y,$sum,$len) {
- $x = $x|0;
- $y = $y|0;
- $sum = $sum|0;
- $len = $len|0;
- var $0 = 0, $1 = 0.0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0.0, $109 = 0, $11 = 0.0, $110 = 0.0, $111 = 0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0;
- var $116 = 0, $117 = 0.0, $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0.0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0.0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0.0, $135 = 0, $136 = 0.0, $137 = 0, $138 = 0.0, $139 = 0.0, $14 = 0.0, $140 = 0.0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0, $147 = 0, $148 = 0.0, $149 = 0.0, $15 = 0.0, $150 = 0.0, $151 = 0;
- var $152 = 0, $153 = 0.0, $154 = 0.0, $155 = 0.0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0.0, $161 = 0, $162 = 0.0, $163 = 0, $164 = 0.0, $165 = 0.0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0.0, $17 = 0;
- var $170 = 0.0, $171 = 0.0, $172 = 0, $173 = 0, $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0.0, $180 = 0.0, $181 = 0.0, $182 = 0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0.0;
- var $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0, $3 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0;
- var $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0.0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0.0, $6 = 0;
- var $60 = 0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0;
- var $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0, $89 = 0, $9 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0.0;
- var $97 = 0.0, $98 = 0, $99 = 0, $add = 0.0, $add101 = 0.0, $add105 = 0.0, $add109 = 0.0, $add113 = 0.0, $add12 = 0.0, $add123 = 0.0, $add127 = 0.0, $add131 = 0.0, $add135 = 0.0, $add16 = 0.0, $add22 = 0.0, $add26 = 0.0, $add30 = 0.0, $add34 = 0.0, $add40 = 0.0, $add44 = 0.0;
- var $add48 = 0.0, $add52 = 0.0, $add58 = 0.0, $add62 = 0.0, $add66 = 0.0, $add70 = 0.0, $add72 = 0, $add79 = 0.0, $add8 = 0.0, $add83 = 0.0, $add87 = 0.0, $add91 = 0.0, $arrayidx10 = 0, $arrayidx103 = 0, $arrayidx106 = 0, $arrayidx107 = 0, $arrayidx110 = 0, $arrayidx111 = 0, $arrayidx114 = 0, $arrayidx125 = 0;
- var $arrayidx128 = 0, $arrayidx129 = 0, $arrayidx13 = 0, $arrayidx132 = 0, $arrayidx133 = 0, $arrayidx136 = 0, $arrayidx14 = 0, $arrayidx17 = 0, $arrayidx24 = 0, $arrayidx27 = 0, $arrayidx28 = 0, $arrayidx31 = 0, $arrayidx32 = 0, $arrayidx35 = 0, $arrayidx42 = 0, $arrayidx45 = 0, $arrayidx46 = 0, $arrayidx49 = 0, $arrayidx50 = 0, $arrayidx53 = 0;
- var $arrayidx6 = 0, $arrayidx60 = 0, $arrayidx63 = 0, $arrayidx64 = 0, $arrayidx67 = 0, $arrayidx68 = 0, $arrayidx71 = 0, $arrayidx81 = 0, $arrayidx84 = 0, $arrayidx85 = 0, $arrayidx88 = 0, $arrayidx89 = 0, $arrayidx9 = 0, $arrayidx92 = 0, $cmp = 0, $cmp116 = 0, $cmp73 = 0, $cmp94 = 0, $inc = 0, $inc93 = 0;
- var $incdec$ptr = 0, $incdec$ptr1 = 0, $incdec$ptr119 = 0, $incdec$ptr120 = 0, $incdec$ptr18 = 0, $incdec$ptr19 = 0, $incdec$ptr2 = 0, $incdec$ptr3 = 0, $incdec$ptr36 = 0, $incdec$ptr37 = 0, $incdec$ptr4 = 0, $incdec$ptr54 = 0, $incdec$ptr55 = 0, $incdec$ptr75 = 0, $incdec$ptr76 = 0, $incdec$ptr97 = 0, $incdec$ptr98 = 0, $j = 0, $len$addr = 0, $mul = 0.0;
- var $mul100 = 0.0, $mul104 = 0.0, $mul108 = 0.0, $mul11 = 0.0, $mul112 = 0.0, $mul122 = 0.0, $mul126 = 0.0, $mul130 = 0.0, $mul134 = 0.0, $mul15 = 0.0, $mul21 = 0.0, $mul25 = 0.0, $mul29 = 0.0, $mul33 = 0.0, $mul39 = 0.0, $mul43 = 0.0, $mul47 = 0.0, $mul51 = 0.0, $mul57 = 0.0, $mul61 = 0.0;
- var $mul65 = 0.0, $mul69 = 0.0, $mul7 = 0.0, $mul78 = 0.0, $mul82 = 0.0, $mul86 = 0.0, $mul90 = 0.0, $sub = 0, $sum$addr = 0, $tmp = 0.0, $tmp118 = 0.0, $tmp74 = 0.0, $tmp96 = 0.0, $x$addr = 0, $y$addr = 0, $y_0 = 0.0, $y_1 = 0.0, $y_2 = 0.0, $y_3 = 0.0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $x$addr = $x;
- $y$addr = $y;
- $sum$addr = $sum;
- $len$addr = $len;
- $y_3 = 0.0;
- $0 = $y$addr;
- $incdec$ptr = ((($0)) + 4|0);
- $y$addr = $incdec$ptr;
- $1 = +HEAPF32[$0>>2];
- $y_0 = $1;
- $2 = $y$addr;
- $incdec$ptr1 = ((($2)) + 4|0);
- $y$addr = $incdec$ptr1;
- $3 = +HEAPF32[$2>>2];
- $y_1 = $3;
- $4 = $y$addr;
- $incdec$ptr2 = ((($4)) + 4|0);
- $y$addr = $incdec$ptr2;
- $5 = +HEAPF32[$4>>2];
- $y_2 = $5;
- $j = 0;
- while(1) {
- $6 = $j;
- $7 = $len$addr;
- $sub = (($7) - 3)|0;
- $cmp = ($6|0)<($sub|0);
- if (!($cmp)) {
- break;
- }
- $8 = $x$addr;
- $incdec$ptr3 = ((($8)) + 4|0);
- $x$addr = $incdec$ptr3;
- $9 = +HEAPF32[$8>>2];
- $tmp = $9;
- $10 = $y$addr;
- $incdec$ptr4 = ((($10)) + 4|0);
- $y$addr = $incdec$ptr4;
- $11 = +HEAPF32[$10>>2];
- $y_3 = $11;
- $12 = $sum$addr;
- $13 = +HEAPF32[$12>>2];
- $14 = $tmp;
- $15 = $y_0;
- $mul = $14 * $15;
- $add = $13 + $mul;
- $16 = $sum$addr;
- HEAPF32[$16>>2] = $add;
- $17 = $sum$addr;
- $arrayidx6 = ((($17)) + 4|0);
- $18 = +HEAPF32[$arrayidx6>>2];
- $19 = $tmp;
- $20 = $y_1;
- $mul7 = $19 * $20;
- $add8 = $18 + $mul7;
- $21 = $sum$addr;
- $arrayidx9 = ((($21)) + 4|0);
- HEAPF32[$arrayidx9>>2] = $add8;
- $22 = $sum$addr;
- $arrayidx10 = ((($22)) + 8|0);
- $23 = +HEAPF32[$arrayidx10>>2];
- $24 = $tmp;
- $25 = $y_2;
- $mul11 = $24 * $25;
- $add12 = $23 + $mul11;
- $26 = $sum$addr;
- $arrayidx13 = ((($26)) + 8|0);
- HEAPF32[$arrayidx13>>2] = $add12;
- $27 = $sum$addr;
- $arrayidx14 = ((($27)) + 12|0);
- $28 = +HEAPF32[$arrayidx14>>2];
- $29 = $tmp;
- $30 = $y_3;
- $mul15 = $29 * $30;
- $add16 = $28 + $mul15;
- $31 = $sum$addr;
- $arrayidx17 = ((($31)) + 12|0);
- HEAPF32[$arrayidx17>>2] = $add16;
- $32 = $x$addr;
- $incdec$ptr18 = ((($32)) + 4|0);
- $x$addr = $incdec$ptr18;
- $33 = +HEAPF32[$32>>2];
- $tmp = $33;
- $34 = $y$addr;
- $incdec$ptr19 = ((($34)) + 4|0);
- $y$addr = $incdec$ptr19;
- $35 = +HEAPF32[$34>>2];
- $y_0 = $35;
- $36 = $sum$addr;
- $37 = +HEAPF32[$36>>2];
- $38 = $tmp;
- $39 = $y_1;
- $mul21 = $38 * $39;
- $add22 = $37 + $mul21;
- $40 = $sum$addr;
- HEAPF32[$40>>2] = $add22;
- $41 = $sum$addr;
- $arrayidx24 = ((($41)) + 4|0);
- $42 = +HEAPF32[$arrayidx24>>2];
- $43 = $tmp;
- $44 = $y_2;
- $mul25 = $43 * $44;
- $add26 = $42 + $mul25;
- $45 = $sum$addr;
- $arrayidx27 = ((($45)) + 4|0);
- HEAPF32[$arrayidx27>>2] = $add26;
- $46 = $sum$addr;
- $arrayidx28 = ((($46)) + 8|0);
- $47 = +HEAPF32[$arrayidx28>>2];
- $48 = $tmp;
- $49 = $y_3;
- $mul29 = $48 * $49;
- $add30 = $47 + $mul29;
- $50 = $sum$addr;
- $arrayidx31 = ((($50)) + 8|0);
- HEAPF32[$arrayidx31>>2] = $add30;
- $51 = $sum$addr;
- $arrayidx32 = ((($51)) + 12|0);
- $52 = +HEAPF32[$arrayidx32>>2];
- $53 = $tmp;
- $54 = $y_0;
- $mul33 = $53 * $54;
- $add34 = $52 + $mul33;
- $55 = $sum$addr;
- $arrayidx35 = ((($55)) + 12|0);
- HEAPF32[$arrayidx35>>2] = $add34;
- $56 = $x$addr;
- $incdec$ptr36 = ((($56)) + 4|0);
- $x$addr = $incdec$ptr36;
- $57 = +HEAPF32[$56>>2];
- $tmp = $57;
- $58 = $y$addr;
- $incdec$ptr37 = ((($58)) + 4|0);
- $y$addr = $incdec$ptr37;
- $59 = +HEAPF32[$58>>2];
- $y_1 = $59;
- $60 = $sum$addr;
- $61 = +HEAPF32[$60>>2];
- $62 = $tmp;
- $63 = $y_2;
- $mul39 = $62 * $63;
- $add40 = $61 + $mul39;
- $64 = $sum$addr;
- HEAPF32[$64>>2] = $add40;
- $65 = $sum$addr;
- $arrayidx42 = ((($65)) + 4|0);
- $66 = +HEAPF32[$arrayidx42>>2];
- $67 = $tmp;
- $68 = $y_3;
- $mul43 = $67 * $68;
- $add44 = $66 + $mul43;
- $69 = $sum$addr;
- $arrayidx45 = ((($69)) + 4|0);
- HEAPF32[$arrayidx45>>2] = $add44;
- $70 = $sum$addr;
- $arrayidx46 = ((($70)) + 8|0);
- $71 = +HEAPF32[$arrayidx46>>2];
- $72 = $tmp;
- $73 = $y_0;
- $mul47 = $72 * $73;
- $add48 = $71 + $mul47;
- $74 = $sum$addr;
- $arrayidx49 = ((($74)) + 8|0);
- HEAPF32[$arrayidx49>>2] = $add48;
- $75 = $sum$addr;
- $arrayidx50 = ((($75)) + 12|0);
- $76 = +HEAPF32[$arrayidx50>>2];
- $77 = $tmp;
- $78 = $y_1;
- $mul51 = $77 * $78;
- $add52 = $76 + $mul51;
- $79 = $sum$addr;
- $arrayidx53 = ((($79)) + 12|0);
- HEAPF32[$arrayidx53>>2] = $add52;
- $80 = $x$addr;
- $incdec$ptr54 = ((($80)) + 4|0);
- $x$addr = $incdec$ptr54;
- $81 = +HEAPF32[$80>>2];
- $tmp = $81;
- $82 = $y$addr;
- $incdec$ptr55 = ((($82)) + 4|0);
- $y$addr = $incdec$ptr55;
- $83 = +HEAPF32[$82>>2];
- $y_2 = $83;
- $84 = $sum$addr;
- $85 = +HEAPF32[$84>>2];
- $86 = $tmp;
- $87 = $y_3;
- $mul57 = $86 * $87;
- $add58 = $85 + $mul57;
- $88 = $sum$addr;
- HEAPF32[$88>>2] = $add58;
- $89 = $sum$addr;
- $arrayidx60 = ((($89)) + 4|0);
- $90 = +HEAPF32[$arrayidx60>>2];
- $91 = $tmp;
- $92 = $y_0;
- $mul61 = $91 * $92;
- $add62 = $90 + $mul61;
- $93 = $sum$addr;
- $arrayidx63 = ((($93)) + 4|0);
- HEAPF32[$arrayidx63>>2] = $add62;
- $94 = $sum$addr;
- $arrayidx64 = ((($94)) + 8|0);
- $95 = +HEAPF32[$arrayidx64>>2];
- $96 = $tmp;
- $97 = $y_1;
- $mul65 = $96 * $97;
- $add66 = $95 + $mul65;
- $98 = $sum$addr;
- $arrayidx67 = ((($98)) + 8|0);
- HEAPF32[$arrayidx67>>2] = $add66;
- $99 = $sum$addr;
- $arrayidx68 = ((($99)) + 12|0);
- $100 = +HEAPF32[$arrayidx68>>2];
- $101 = $tmp;
- $102 = $y_2;
- $mul69 = $101 * $102;
- $add70 = $100 + $mul69;
- $103 = $sum$addr;
- $arrayidx71 = ((($103)) + 12|0);
- HEAPF32[$arrayidx71>>2] = $add70;
- $104 = $j;
- $add72 = (($104) + 4)|0;
- $j = $add72;
- }
- $105 = $j;
- $inc = (($105) + 1)|0;
- $j = $inc;
- $106 = $len$addr;
- $cmp73 = ($105|0)<($106|0);
- if ($cmp73) {
- $107 = $x$addr;
- $incdec$ptr75 = ((($107)) + 4|0);
- $x$addr = $incdec$ptr75;
- $108 = +HEAPF32[$107>>2];
- $tmp74 = $108;
- $109 = $y$addr;
- $incdec$ptr76 = ((($109)) + 4|0);
- $y$addr = $incdec$ptr76;
- $110 = +HEAPF32[$109>>2];
- $y_3 = $110;
- $111 = $sum$addr;
- $112 = +HEAPF32[$111>>2];
- $113 = $tmp74;
- $114 = $y_0;
- $mul78 = $113 * $114;
- $add79 = $112 + $mul78;
- $115 = $sum$addr;
- HEAPF32[$115>>2] = $add79;
- $116 = $sum$addr;
- $arrayidx81 = ((($116)) + 4|0);
- $117 = +HEAPF32[$arrayidx81>>2];
- $118 = $tmp74;
- $119 = $y_1;
- $mul82 = $118 * $119;
- $add83 = $117 + $mul82;
- $120 = $sum$addr;
- $arrayidx84 = ((($120)) + 4|0);
- HEAPF32[$arrayidx84>>2] = $add83;
- $121 = $sum$addr;
- $arrayidx85 = ((($121)) + 8|0);
- $122 = +HEAPF32[$arrayidx85>>2];
- $123 = $tmp74;
- $124 = $y_2;
- $mul86 = $123 * $124;
- $add87 = $122 + $mul86;
- $125 = $sum$addr;
- $arrayidx88 = ((($125)) + 8|0);
- HEAPF32[$arrayidx88>>2] = $add87;
- $126 = $sum$addr;
- $arrayidx89 = ((($126)) + 12|0);
- $127 = +HEAPF32[$arrayidx89>>2];
- $128 = $tmp74;
- $129 = $y_3;
- $mul90 = $128 * $129;
- $add91 = $127 + $mul90;
- $130 = $sum$addr;
- $arrayidx92 = ((($130)) + 12|0);
- HEAPF32[$arrayidx92>>2] = $add91;
- }
- $131 = $j;
- $inc93 = (($131) + 1)|0;
- $j = $inc93;
- $132 = $len$addr;
- $cmp94 = ($131|0)<($132|0);
- if ($cmp94) {
- $133 = $x$addr;
- $incdec$ptr97 = ((($133)) + 4|0);
- $x$addr = $incdec$ptr97;
- $134 = +HEAPF32[$133>>2];
- $tmp96 = $134;
- $135 = $y$addr;
- $incdec$ptr98 = ((($135)) + 4|0);
- $y$addr = $incdec$ptr98;
- $136 = +HEAPF32[$135>>2];
- $y_0 = $136;
- $137 = $sum$addr;
- $138 = +HEAPF32[$137>>2];
- $139 = $tmp96;
- $140 = $y_1;
- $mul100 = $139 * $140;
- $add101 = $138 + $mul100;
- $141 = $sum$addr;
- HEAPF32[$141>>2] = $add101;
- $142 = $sum$addr;
- $arrayidx103 = ((($142)) + 4|0);
- $143 = +HEAPF32[$arrayidx103>>2];
- $144 = $tmp96;
- $145 = $y_2;
- $mul104 = $144 * $145;
- $add105 = $143 + $mul104;
- $146 = $sum$addr;
- $arrayidx106 = ((($146)) + 4|0);
- HEAPF32[$arrayidx106>>2] = $add105;
- $147 = $sum$addr;
- $arrayidx107 = ((($147)) + 8|0);
- $148 = +HEAPF32[$arrayidx107>>2];
- $149 = $tmp96;
- $150 = $y_3;
- $mul108 = $149 * $150;
- $add109 = $148 + $mul108;
- $151 = $sum$addr;
- $arrayidx110 = ((($151)) + 8|0);
- HEAPF32[$arrayidx110>>2] = $add109;
- $152 = $sum$addr;
- $arrayidx111 = ((($152)) + 12|0);
- $153 = +HEAPF32[$arrayidx111>>2];
- $154 = $tmp96;
- $155 = $y_0;
- $mul112 = $154 * $155;
- $add113 = $153 + $mul112;
- $156 = $sum$addr;
- $arrayidx114 = ((($156)) + 12|0);
- HEAPF32[$arrayidx114>>2] = $add113;
- }
- $157 = $j;
- $158 = $len$addr;
- $cmp116 = ($157|0)<($158|0);
- if (!($cmp116)) {
- STACKTOP = sp;return;
- }
- $159 = $x$addr;
- $incdec$ptr119 = ((($159)) + 4|0);
- $x$addr = $incdec$ptr119;
- $160 = +HEAPF32[$159>>2];
- $tmp118 = $160;
- $161 = $y$addr;
- $incdec$ptr120 = ((($161)) + 4|0);
- $y$addr = $incdec$ptr120;
- $162 = +HEAPF32[$161>>2];
- $y_1 = $162;
- $163 = $sum$addr;
- $164 = +HEAPF32[$163>>2];
- $165 = $tmp118;
- $166 = $y_2;
- $mul122 = $165 * $166;
- $add123 = $164 + $mul122;
- $167 = $sum$addr;
- HEAPF32[$167>>2] = $add123;
- $168 = $sum$addr;
- $arrayidx125 = ((($168)) + 4|0);
- $169 = +HEAPF32[$arrayidx125>>2];
- $170 = $tmp118;
- $171 = $y_3;
- $mul126 = $170 * $171;
- $add127 = $169 + $mul126;
- $172 = $sum$addr;
- $arrayidx128 = ((($172)) + 4|0);
- HEAPF32[$arrayidx128>>2] = $add127;
- $173 = $sum$addr;
- $arrayidx129 = ((($173)) + 8|0);
- $174 = +HEAPF32[$arrayidx129>>2];
- $175 = $tmp118;
- $176 = $y_0;
- $mul130 = $175 * $176;
- $add131 = $174 + $mul130;
- $177 = $sum$addr;
- $arrayidx132 = ((($177)) + 8|0);
- HEAPF32[$arrayidx132>>2] = $add131;
- $178 = $sum$addr;
- $arrayidx133 = ((($178)) + 12|0);
- $179 = +HEAPF32[$arrayidx133>>2];
- $180 = $tmp118;
- $181 = $y_1;
- $mul134 = $180 * $181;
- $add135 = $179 + $mul134;
- $182 = $sum$addr;
- $arrayidx136 = ((($182)) + 12|0);
- HEAPF32[$arrayidx136>>2] = $add135;
- STACKTOP = sp;return;
-}
-function _celt_inner_prod_c_103($x,$y,$N) {
- $x = $x|0;
- $y = $y|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $2 = 0.0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $N$addr = 0, $add = 0.0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $x$addr = 0, $xy = 0.0;
- var $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $y$addr = $y;
- $N$addr = $N;
- $xy = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $xy;
- if (!($cmp)) {
- break;
- }
- $3 = $x$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $6 = $y$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $mul = $5 * $8;
- $add = $2 + $mul;
- $xy = $add;
- $9 = $i;
- $inc = (($9) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return (+$2);
-}
-function _pitch_search($x_lp,$y,$len,$max_pitch,$pitch,$arch) {
- $x_lp = $x_lp|0;
- $y = $y|0;
- $len = $len|0;
- $max_pitch = $max_pitch|0;
- $pitch = $pitch|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $7 = 0, $8 = 0, $9 = 0, $a = 0.0, $add = 0, $add$ptr = 0, $add58 = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx13 = 0, $arrayidx25 = 0, $arrayidx29 = 0, $arrayidx37 = 0, $arrayidx54 = 0, $arrayidx56 = 0, $arrayidx59 = 0, $arrayidx6 = 0, $b = 0.0;
- var $best_pitch = 0, $c = 0.0, $call = 0, $call32 = 0, $call35 = 0.0, $cmp = 0, $cmp23 = 0, $cmp28 = 0, $cmp33 = 0, $cmp36 = 0, $cmp45 = 0, $cmp50 = 0, $cmp63 = 0, $cmp68 = 0, $cmp9 = 0, $cond = 0.0, $i = 0, $inc = 0, $inc15 = 0, $inc39 = 0;
- var $j = 0, $lag = 0, $len$addr = 0, $max_pitch$addr = 0, $mul = 0, $mul11 = 0, $mul27 = 0, $mul30 = 0, $mul62 = 0.0, $mul67 = 0.0, $mul76 = 0, $offset = 0, $pitch$addr = 0, $saved_stack = 0, $shr = 0, $shr1 = 0, $shr17 = 0, $shr18 = 0, $shr19 = 0, $shr20 = 0;
- var $shr22 = 0, $shr3 = 0, $shr34 = 0, $shr41 = 0, $shr42 = 0, $shr48 = 0, $shr5 = 0, $shr8 = 0, $sub = 0, $sub31 = 0, $sub49 = 0, $sub53 = 0, $sub60 = 0.0, $sub61 = 0.0, $sub65 = 0.0, $sub66 = 0.0, $sub77 = 0, $sum = 0.0, $vla = 0, $vla$alloca_mul = 0;
- var $vla2 = 0, $vla2$alloca_mul = 0, $vla4 = 0, $vla4$alloca_mul = 0, $x_lp$addr = 0, $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $best_pitch = sp + 24|0;
- $x_lp$addr = $x_lp;
- $y$addr = $y;
- $len$addr = $len;
- $max_pitch$addr = $max_pitch;
- $pitch$addr = $pitch;
- $arch$addr = $arch;
- ;HEAP32[$best_pitch>>2]=0|0;HEAP32[$best_pitch+4>>2]=0|0;
- $0 = $len$addr;
- $1 = $max_pitch$addr;
- $add = (($0) + ($1))|0;
- $lag = $add;
- $2 = $len$addr;
- $shr = $2 >> 2;
- $3 = (_llvm_stacksave()|0);
- $saved_stack = $3;
- $vla$alloca_mul = $shr<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $4 = $lag;
- $shr1 = $4 >> 2;
- $vla2$alloca_mul = $shr1<<2;
- $vla2 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla2$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla2$alloca_mul)|0)+15)&-16)|0);;
- $5 = $max_pitch$addr;
- $shr3 = $5 >> 1;
- $vla4$alloca_mul = $shr3<<2;
- $vla4 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla4$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla4$alloca_mul)|0)+15)&-16)|0);;
- $j = 0;
- while(1) {
- $6 = $j;
- $7 = $len$addr;
- $shr5 = $7 >> 2;
- $cmp = ($6|0)<($shr5|0);
- if (!($cmp)) {
- break;
- }
- $8 = $x_lp$addr;
- $9 = $j;
- $mul = $9<<1;
- $arrayidx = (($8) + ($mul<<2)|0);
- $10 = +HEAPF32[$arrayidx>>2];
- $11 = $j;
- $arrayidx6 = (($vla) + ($11<<2)|0);
- HEAPF32[$arrayidx6>>2] = $10;
- $12 = $j;
- $inc = (($12) + 1)|0;
- $j = $inc;
- }
- $j = 0;
- while(1) {
- $13 = $j;
- $14 = $lag;
- $shr8 = $14 >> 2;
- $cmp9 = ($13|0)<($shr8|0);
- if (!($cmp9)) {
- break;
- }
- $15 = $y$addr;
- $16 = $j;
- $mul11 = $16<<1;
- $arrayidx12 = (($15) + ($mul11<<2)|0);
- $17 = +HEAPF32[$arrayidx12>>2];
- $18 = $j;
- $arrayidx13 = (($vla2) + ($18<<2)|0);
- HEAPF32[$arrayidx13>>2] = $17;
- $19 = $j;
- $inc15 = (($19) + 1)|0;
- $j = $inc15;
- }
- $20 = $len$addr;
- $shr17 = $20 >> 2;
- $21 = $max_pitch$addr;
- $shr18 = $21 >> 2;
- $22 = $arch$addr;
- _celt_pitch_xcorr($vla,$vla2,$vla4,$shr17,$shr18,$22);
- $23 = $len$addr;
- $shr19 = $23 >> 2;
- $24 = $max_pitch$addr;
- $shr20 = $24 >> 2;
- _find_best_pitch($vla4,$vla2,$shr19,$shr20,$best_pitch);
- $i = 0;
- while(1) {
- $25 = $i;
- $26 = $max_pitch$addr;
- $shr22 = $26 >> 1;
- $cmp23 = ($25|0)<($shr22|0);
- if (!($cmp23)) {
- break;
- }
- $27 = $i;
- $arrayidx25 = (($vla4) + ($27<<2)|0);
- HEAPF32[$arrayidx25>>2] = 0.0;
- $28 = $i;
- $29 = HEAP32[$best_pitch>>2]|0;
- $mul27 = $29<<1;
- $sub = (($28) - ($mul27))|0;
- $call = (Math_abs(($sub|0))|0);
- $cmp28 = ($call|0)>(2);
- if ($cmp28) {
- $30 = $i;
- $arrayidx29 = ((($best_pitch)) + 4|0);
- $31 = HEAP32[$arrayidx29>>2]|0;
- $mul30 = $31<<1;
- $sub31 = (($30) - ($mul30))|0;
- $call32 = (Math_abs(($sub31|0))|0);
- $cmp33 = ($call32|0)>(2);
- if (!($cmp33)) {
- label = 11;
- }
- } else {
- label = 11;
- }
- if ((label|0) == 11) {
- label = 0;
- $32 = $x_lp$addr;
- $33 = $y$addr;
- $34 = $i;
- $add$ptr = (($33) + ($34<<2)|0);
- $35 = $len$addr;
- $shr34 = $35 >> 1;
- $call35 = (+_celt_inner_prod_c_103($32,$add$ptr,$shr34));
- $sum = $call35;
- $36 = $sum;
- $cmp36 = -1.0 > $36;
- $37 = $sum;
- $cond = $cmp36 ? -1.0 : $37;
- $38 = $i;
- $arrayidx37 = (($vla4) + ($38<<2)|0);
- HEAPF32[$arrayidx37>>2] = $cond;
- }
- $39 = $i;
- $inc39 = (($39) + 1)|0;
- $i = $inc39;
- }
- $40 = $y$addr;
- $41 = $len$addr;
- $shr41 = $41 >> 1;
- $42 = $max_pitch$addr;
- $shr42 = $42 >> 1;
- _find_best_pitch($vla4,$40,$shr41,$shr42,$best_pitch);
- $43 = HEAP32[$best_pitch>>2]|0;
- $cmp45 = ($43|0)>(0);
- if ($cmp45) {
- $44 = HEAP32[$best_pitch>>2]|0;
- $45 = $max_pitch$addr;
- $shr48 = $45 >> 1;
- $sub49 = (($shr48) - 1)|0;
- $cmp50 = ($44|0)<($sub49|0);
- if ($cmp50) {
- $46 = HEAP32[$best_pitch>>2]|0;
- $sub53 = (($46) - 1)|0;
- $arrayidx54 = (($vla4) + ($sub53<<2)|0);
- $47 = +HEAPF32[$arrayidx54>>2];
- $a = $47;
- $48 = HEAP32[$best_pitch>>2]|0;
- $arrayidx56 = (($vla4) + ($48<<2)|0);
- $49 = +HEAPF32[$arrayidx56>>2];
- $b = $49;
- $50 = HEAP32[$best_pitch>>2]|0;
- $add58 = (($50) + 1)|0;
- $arrayidx59 = (($vla4) + ($add58<<2)|0);
- $51 = +HEAPF32[$arrayidx59>>2];
- $c = $51;
- $52 = $c;
- $53 = $a;
- $sub60 = $52 - $53;
- $54 = $b;
- $55 = $a;
- $sub61 = $54 - $55;
- $mul62 = 0.69999998807907104 * $sub61;
- $cmp63 = $sub60 > $mul62;
- if ($cmp63) {
- $offset = 1;
- $60 = HEAP32[$best_pitch>>2]|0;
- $mul76 = $60<<1;
- $61 = $offset;
- $sub77 = (($mul76) - ($61))|0;
- $62 = $pitch$addr;
- HEAP32[$62>>2] = $sub77;
- $63 = $saved_stack;
- _llvm_stackrestore(($63|0));
- STACKTOP = sp;return;
- }
- $56 = $a;
- $57 = $c;
- $sub65 = $56 - $57;
- $58 = $b;
- $59 = $c;
- $sub66 = $58 - $59;
- $mul67 = 0.69999998807907104 * $sub66;
- $cmp68 = $sub65 > $mul67;
- if ($cmp68) {
- $offset = -1;
- $60 = HEAP32[$best_pitch>>2]|0;
- $mul76 = $60<<1;
- $61 = $offset;
- $sub77 = (($mul76) - ($61))|0;
- $62 = $pitch$addr;
- HEAP32[$62>>2] = $sub77;
- $63 = $saved_stack;
- _llvm_stackrestore(($63|0));
- STACKTOP = sp;return;
- } else {
- $offset = 0;
- $60 = HEAP32[$best_pitch>>2]|0;
- $mul76 = $60<<1;
- $61 = $offset;
- $sub77 = (($mul76) - ($61))|0;
- $62 = $pitch$addr;
- HEAP32[$62>>2] = $sub77;
- $63 = $saved_stack;
- _llvm_stackrestore(($63|0));
- STACKTOP = sp;return;
- }
- }
- }
- $offset = 0;
- $60 = HEAP32[$best_pitch>>2]|0;
- $mul76 = $60<<1;
- $61 = $offset;
- $sub77 = (($mul76) - ($61))|0;
- $62 = $pitch$addr;
- HEAP32[$62>>2] = $sub77;
- $63 = $saved_stack;
- _llvm_stackrestore(($63|0));
- STACKTOP = sp;return;
-}
-function _find_best_pitch($xcorr,$y,$len,$max_pitch,$best_pitch) {
- $xcorr = $xcorr|0;
- $y = $y|0;
- $len = $len|0;
- $max_pitch = $max_pitch|0;
- $best_pitch = $best_pitch|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0;
- var $26 = 0.0, $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0;
- var $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0;
- var $7 = 0.0, $8 = 0, $9 = 0, $Syy = 0.0, $add = 0.0, $add42 = 0, $add44 = 0, $add50 = 0.0, $arrayidx1 = 0, $arrayidx11 = 0, $arrayidx13 = 0, $arrayidx16 = 0, $arrayidx18 = 0, $arrayidx29 = 0, $arrayidx3 = 0, $arrayidx31 = 0, $arrayidx33 = 0, $arrayidx37 = 0, $arrayidx38 = 0, $arrayidx39 = 0;
- var $arrayidx39$sink = 0, $arrayidx43 = 0, $arrayidx45 = 0, $arrayidx47 = 0, $arrayidx48 = 0, $arrayidx5 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $best_den = 0, $best_num = 0, $best_pitch$addr = 0, $cmp = 0, $cmp12 = 0, $cmp20 = 0, $cmp26 = 0, $cmp51 = 0, $cmp9 = 0, $cond = 0.0, $i = 0, $inc = 0;
- var $inc53 = 0, $j = 0, $len$addr = 0, $max_pitch$addr = 0, $mul = 0.0, $mul14 = 0.0, $mul15 = 0.0, $mul17 = 0.0, $mul19 = 0.0, $mul23 = 0.0, $mul25 = 0.0, $mul46 = 0.0, $mul49 = 0.0, $num = 0.0, $sub = 0.0, $xcorr$addr = 0, $xcorr16 = 0.0, $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $best_num = sp + 16|0;
- $best_den = sp + 8|0;
- $xcorr$addr = $xcorr;
- $y$addr = $y;
- $len$addr = $len;
- $max_pitch$addr = $max_pitch;
- $best_pitch$addr = $best_pitch;
- $Syy = 1.0;
- HEAPF32[$best_num>>2] = -1.0;
- $arrayidx1 = ((($best_num)) + 4|0);
- HEAPF32[$arrayidx1>>2] = -1.0;
- HEAPF32[$best_den>>2] = 0.0;
- $arrayidx3 = ((($best_den)) + 4|0);
- HEAPF32[$arrayidx3>>2] = 0.0;
- $0 = $best_pitch$addr;
- HEAP32[$0>>2] = 0;
- $1 = $best_pitch$addr;
- $arrayidx5 = ((($1)) + 4|0);
- HEAP32[$arrayidx5>>2] = 1;
- $j = 0;
- while(1) {
- $2 = $j;
- $3 = $len$addr;
- $cmp = ($2|0)<($3|0);
- if (!($cmp)) {
- break;
- }
- $4 = $Syy;
- $5 = $y$addr;
- $6 = $j;
- $arrayidx6 = (($5) + ($6<<2)|0);
- $7 = +HEAPF32[$arrayidx6>>2];
- $8 = $y$addr;
- $9 = $j;
- $arrayidx7 = (($8) + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx7>>2];
- $mul = $7 * $10;
- $add = $4 + $mul;
- $Syy = $add;
- $11 = $j;
- $inc = (($11) + 1)|0;
- $j = $inc;
- }
- $i = 0;
- while(1) {
- $12 = $i;
- $13 = $max_pitch$addr;
- $cmp9 = ($12|0)<($13|0);
- if (!($cmp9)) {
- break;
- }
- $14 = $xcorr$addr;
- $15 = $i;
- $arrayidx11 = (($14) + ($15<<2)|0);
- $16 = +HEAPF32[$arrayidx11>>2];
- $cmp12 = $16 > 0.0;
- if ($cmp12) {
- $17 = $xcorr$addr;
- $18 = $i;
- $arrayidx13 = (($17) + ($18<<2)|0);
- $19 = +HEAPF32[$arrayidx13>>2];
- $xcorr16 = $19;
- $20 = $xcorr16;
- $mul14 = $20 * 9.999999960041972E-13;
- $xcorr16 = $mul14;
- $21 = $xcorr16;
- $22 = $xcorr16;
- $mul15 = $21 * $22;
- $num = $mul15;
- $23 = $num;
- $arrayidx16 = ((($best_den)) + 4|0);
- $24 = +HEAPF32[$arrayidx16>>2];
- $mul17 = $23 * $24;
- $arrayidx18 = ((($best_num)) + 4|0);
- $25 = +HEAPF32[$arrayidx18>>2];
- $26 = $Syy;
- $mul19 = $25 * $26;
- $cmp20 = $mul17 > $mul19;
- if ($cmp20) {
- $27 = $num;
- $28 = +HEAPF32[$best_den>>2];
- $mul23 = $27 * $28;
- $29 = +HEAPF32[$best_num>>2];
- $30 = $Syy;
- $mul25 = $29 * $30;
- $cmp26 = $mul23 > $mul25;
- if ($cmp26) {
- $31 = +HEAPF32[$best_num>>2];
- $arrayidx29 = ((($best_num)) + 4|0);
- HEAPF32[$arrayidx29>>2] = $31;
- $32 = +HEAPF32[$best_den>>2];
- $arrayidx31 = ((($best_den)) + 4|0);
- HEAPF32[$arrayidx31>>2] = $32;
- $33 = $best_pitch$addr;
- $34 = HEAP32[$33>>2]|0;
- $35 = $best_pitch$addr;
- $arrayidx33 = ((($35)) + 4|0);
- HEAP32[$arrayidx33>>2] = $34;
- $36 = $num;
- HEAPF32[$best_num>>2] = $36;
- $37 = $Syy;
- HEAPF32[$best_den>>2] = $37;
- $38 = $i;
- $39 = $best_pitch$addr;
- $$sink = $38;$arrayidx39$sink = $39;
- } else {
- $40 = $num;
- $arrayidx37 = ((($best_num)) + 4|0);
- HEAPF32[$arrayidx37>>2] = $40;
- $41 = $Syy;
- $arrayidx38 = ((($best_den)) + 4|0);
- HEAPF32[$arrayidx38>>2] = $41;
- $42 = $i;
- $43 = $best_pitch$addr;
- $arrayidx39 = ((($43)) + 4|0);
- $$sink = $42;$arrayidx39$sink = $arrayidx39;
- }
- HEAP32[$arrayidx39$sink>>2] = $$sink;
- }
- }
- $44 = $y$addr;
- $45 = $i;
- $46 = $len$addr;
- $add42 = (($45) + ($46))|0;
- $arrayidx43 = (($44) + ($add42<<2)|0);
- $47 = +HEAPF32[$arrayidx43>>2];
- $48 = $y$addr;
- $49 = $i;
- $50 = $len$addr;
- $add44 = (($49) + ($50))|0;
- $arrayidx45 = (($48) + ($add44<<2)|0);
- $51 = +HEAPF32[$arrayidx45>>2];
- $mul46 = $47 * $51;
- $52 = $y$addr;
- $53 = $i;
- $arrayidx47 = (($52) + ($53<<2)|0);
- $54 = +HEAPF32[$arrayidx47>>2];
- $55 = $y$addr;
- $56 = $i;
- $arrayidx48 = (($55) + ($56<<2)|0);
- $57 = +HEAPF32[$arrayidx48>>2];
- $mul49 = $54 * $57;
- $sub = $mul46 - $mul49;
- $58 = $Syy;
- $add50 = $58 + $sub;
- $Syy = $add50;
- $59 = $Syy;
- $cmp51 = 1.0 > $59;
- $60 = $Syy;
- $cond = $cmp51 ? 1.0 : $60;
- $Syy = $cond;
- $61 = $i;
- $inc53 = (($61) + 1)|0;
- $i = $inc53;
- }
- STACKTOP = sp;return;
-}
-function _remove_doubling($x,$maxperiod,$minperiod,$N,$T0_,$prev_period,$prev_gain,$arch) {
- $x = $x|0;
- $maxperiod = $maxperiod|0;
- $minperiod = $minperiod|0;
- $N = $N|0;
- $T0_ = $T0_|0;
- $prev_period = $prev_period|0;
- $prev_gain = +$prev_gain;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0, $115 = 0.0;
- var $116 = 0, $117 = 0.0, $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0.0, $121 = 0.0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0.0, $132 = 0.0, $133 = 0.0;
- var $134 = 0.0, $135 = 0.0, $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0.0, $151 = 0;
- var $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0;
- var $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0;
- var $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
- var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0;
- var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0, $99 = 0, $N$addr = 0, $T = 0, $T0 = 0, $T0_$addr = 0, $T1 = 0, $T1b = 0, $add = 0, $add$ptr = 0;
- var $add$ptr157 = 0, $add$ptr5 = 0, $add11 = 0.0, $add147 = 0.0, $add154 = 0, $add192 = 0, $add22 = 0.0, $add30 = 0, $add40 = 0, $add44 = 0, $add50 = 0, $add58 = 0.0, $add61 = 0.0, $add65 = 0.0, $arch$addr = 0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx15 = 0, $arrayidx159 = 0, $arrayidx163 = 0;
- var $arrayidx166 = 0, $arrayidx175 = 0, $arrayidx177 = 0, $arrayidx178 = 0, $arrayidx19 = 0, $arrayidx20 = 0, $arrayidx47 = 0, $arrayidx55 = 0, $arrayidx57 = 0, $arrayidx59 = 0, $arrayidx60 = 0, $arrayidx8 = 0, $best_xy = 0.0, $best_yy = 0.0, $call = 0.0, $call158 = 0.0, $call32 = 0, $call52 = 0, $call67 = 0.0, $call71 = 0;
- var $call77 = 0, $cmp = 0, $cmp100 = 0, $cmp105 = 0, $cmp115 = 0, $cmp120 = 0, $cmp130 = 0, $cmp137 = 0, $cmp143 = 0, $cmp151 = 0, $cmp170 = 0, $cmp18 = 0, $cmp181 = 0, $cmp187 = 0, $cmp193 = 0, $cmp26 = 0, $cmp33 = 0, $cmp37 = 0, $cmp41 = 0, $cmp6 = 0;
- var $cmp72 = 0, $cmp78 = 0, $cmp82 = 0, $cmp91 = 0, $cond = 0.0, $cond112 = 0.0, $cond127 = 0.0, $cond142 = 0.0, $cond98 = 0.0, $cont = 0.0, $conv = 0.0, $conv23 = 0.0, $conv66 = 0.0, $conv68 = 0.0, $div = 0, $div1 = 0, $div148 = 0.0, $div2 = 0, $div24 = 0.0, $div3 = 0;
- var $div4 = 0, $div69 = 0.0, $g = 0.0, $g0 = 0.0, $g1 = 0.0, $i = 0, $idx$neg = 0, $idx$neg156 = 0, $inc = 0, $inc135 = 0, $inc161 = 0, $k = 0, $maxperiod$addr = 0, $minperiod$addr = 0, $minperiod0 = 0, $mul = 0.0, $mul103 = 0.0, $mul109 = 0.0, $mul114 = 0, $mul118 = 0.0;
- var $mul124 = 0.0, $mul16 = 0.0, $mul169 = 0.0, $mul180 = 0.0, $mul191 = 0, $mul21 = 0.0, $mul29 = 0, $mul31 = 0, $mul48 = 0, $mul49 = 0, $mul51 = 0, $mul62 = 0.0, $mul63 = 0.0, $mul64 = 0.0, $mul80 = 0, $mul81 = 0, $mul85 = 0.0, $mul89 = 0.0, $mul95 = 0.0, $mul99 = 0;
- var $offset = 0, $pg = 0.0, $prev_gain$addr = 0.0, $prev_period$addr = 0, $saved_stack = 0, $sub = 0, $sub104 = 0.0, $sub110 = 0.0, $sub119 = 0.0, $sub12 = 0, $sub125 = 0.0, $sub14 = 0, $sub155 = 0, $sub165 = 0.0, $sub168 = 0.0, $sub17 = 0.0, $sub176 = 0.0, $sub179 = 0.0, $sub54 = 0, $sub56 = 0;
- var $sub7 = 0, $sub70 = 0, $sub76 = 0, $sub9 = 0, $sub90 = 0.0, $sub96 = 0.0, $thresh = 0.0, $vla = 0, $vla$alloca_mul = 0, $x$addr = 0, $xcorr = 0, $xx = 0, $xy = 0, $xy2 = 0, $yy = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
- $xy = sp + 64|0;
- $xx = sp + 60|0;
- $xy2 = sp + 52|0;
- $xcorr = sp + 40|0;
- $x$addr = $x;
- $maxperiod$addr = $maxperiod;
- $minperiod$addr = $minperiod;
- $N$addr = $N;
- $T0_$addr = $T0_;
- $prev_period$addr = $prev_period;
- $prev_gain$addr = $prev_gain;
- $arch$addr = $arch;
- $0 = $minperiod$addr;
- $minperiod0 = $0;
- $1 = $maxperiod$addr;
- $div = (($1|0) / 2)&-1;
- $maxperiod$addr = $div;
- $2 = $minperiod$addr;
- $div1 = (($2|0) / 2)&-1;
- $minperiod$addr = $div1;
- $3 = $T0_$addr;
- $4 = HEAP32[$3>>2]|0;
- $div2 = (($4|0) / 2)&-1;
- HEAP32[$3>>2] = $div2;
- $5 = $prev_period$addr;
- $div3 = (($5|0) / 2)&-1;
- $prev_period$addr = $div3;
- $6 = $N$addr;
- $div4 = (($6|0) / 2)&-1;
- $N$addr = $div4;
- $7 = $maxperiod$addr;
- $8 = $x$addr;
- $add$ptr = (($8) + ($7<<2)|0);
- $x$addr = $add$ptr;
- $9 = $T0_$addr;
- $10 = HEAP32[$9>>2]|0;
- $11 = $maxperiod$addr;
- $cmp = ($10|0)>=($11|0);
- if ($cmp) {
- $12 = $maxperiod$addr;
- $sub = (($12) - 1)|0;
- $13 = $T0_$addr;
- HEAP32[$13>>2] = $sub;
- }
- $14 = $T0_$addr;
+ $13 = $4;
+ $14 = ((($13)) + 152|0);
$15 = HEAP32[$14>>2]|0;
- $T0 = $15;
- $T = $15;
- $16 = $maxperiod$addr;
- $add = (($16) + 1)|0;
- $17 = (_llvm_stacksave()|0);
- $saved_stack = $17;
- $vla$alloca_mul = $add<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $18 = $x$addr;
- $19 = $x$addr;
- $20 = $x$addr;
- $21 = $T0;
- $idx$neg = (0 - ($21))|0;
- $add$ptr5 = (($20) + ($idx$neg<<2)|0);
- $22 = $N$addr;
- _dual_inner_prod_c($18,$19,$add$ptr5,$22,$xx,$xy);
- $23 = +HEAPF32[$xx>>2];
- HEAPF32[$vla>>2] = $23;
- $24 = +HEAPF32[$xx>>2];
- $yy = $24;
- $i = 1;
- while(1) {
- $25 = $i;
- $26 = $maxperiod$addr;
- $cmp6 = ($25|0)<=($26|0);
- if (!($cmp6)) {
- break;
- }
- $27 = $yy;
- $28 = $x$addr;
- $29 = $i;
- $sub7 = (0 - ($29))|0;
- $arrayidx8 = (($28) + ($sub7<<2)|0);
- $30 = +HEAPF32[$arrayidx8>>2];
- $31 = $x$addr;
- $32 = $i;
- $sub9 = (0 - ($32))|0;
- $arrayidx10 = (($31) + ($sub9<<2)|0);
- $33 = +HEAPF32[$arrayidx10>>2];
- $mul = $30 * $33;
- $add11 = $27 + $mul;
- $34 = $x$addr;
- $35 = $N$addr;
- $36 = $i;
- $sub12 = (($35) - ($36))|0;
- $arrayidx13 = (($34) + ($sub12<<2)|0);
- $37 = +HEAPF32[$arrayidx13>>2];
- $38 = $x$addr;
- $39 = $N$addr;
- $40 = $i;
- $sub14 = (($39) - ($40))|0;
- $arrayidx15 = (($38) + ($sub14<<2)|0);
- $41 = +HEAPF32[$arrayidx15>>2];
- $mul16 = $37 * $41;
- $sub17 = $add11 - $mul16;
- $yy = $sub17;
- $42 = $yy;
- $cmp18 = 0.0 > $42;
- $43 = $yy;
- $cond = $cmp18 ? 0.0 : $43;
- $44 = $i;
- $arrayidx19 = (($vla) + ($44<<2)|0);
- HEAPF32[$arrayidx19>>2] = $cond;
- $45 = $i;
- $inc = (($45) + 1)|0;
- $i = $inc;
+ $16 = ($15|0)==(-1000);
+ $17 = $4;
+ if ($16) {
+ $18 = ((($17)) + 132|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = ($19*60)|0;
+ $21 = $5;
+ $22 = (($20|0) / ($21|0))&-1;
+ $23 = $4;
+ $24 = ((($23)) + 132|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = $4;
+ $27 = ((($26)) + 100|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = Math_imul($25, $28)|0;
+ $30 = (($22) + ($29))|0;
+ $3 = $30;
+ $45 = $3;
+ STACKTOP = sp;return ($45|0);
}
- $46 = $T0;
- $arrayidx20 = (($vla) + ($46<<2)|0);
- $47 = +HEAPF32[$arrayidx20>>2];
- $yy = $47;
- $48 = +HEAPF32[$xy>>2];
- $best_xy = $48;
- $49 = $yy;
- $best_yy = $49;
- $50 = +HEAPF32[$xy>>2];
- $51 = +HEAPF32[$xx>>2];
- $52 = $yy;
- $mul21 = $51 * $52;
- $add22 = 1.0 + $mul21;
- $conv = $add22;
- $call = (+Math_sqrt((+$conv)));
- $conv23 = $call;
- $div24 = $50 / $conv23;
- $g0 = $div24;
- $g = $div24;
- $k = 2;
- while(1) {
- $53 = $k;
- $cmp26 = ($53|0)<=(15);
- if (!($cmp26)) {
- break;
- }
- $cont = 0.0;
- $54 = $T0;
- $mul29 = $54<<1;
- $55 = $k;
- $add30 = (($mul29) + ($55))|0;
- $56 = $k;
- $mul31 = $56<<1;
- $call32 = (_celt_udiv_108($add30,$mul31)|0);
- $T1 = $call32;
- $57 = $T1;
- $58 = $minperiod$addr;
- $cmp33 = ($57|0)<($58|0);
- if ($cmp33) {
- break;
- }
- $59 = $k;
- $cmp37 = ($59|0)==(2);
- do {
- if ($cmp37) {
- $60 = $T1;
- $61 = $T0;
- $add40 = (($60) + ($61))|0;
- $62 = $maxperiod$addr;
- $cmp41 = ($add40|0)>($62|0);
- $63 = $T0;
- if ($cmp41) {
- $T1b = $63;
- break;
- } else {
- $64 = $T1;
- $add44 = (($63) + ($64))|0;
- $T1b = $add44;
- break;
- }
- } else {
- $65 = $k;
- $arrayidx47 = (16440 + ($65<<2)|0);
- $66 = HEAP32[$arrayidx47>>2]|0;
- $mul48 = $66<<1;
- $67 = $T0;
- $mul49 = Math_imul($mul48, $67)|0;
- $68 = $k;
- $add50 = (($mul49) + ($68))|0;
- $69 = $k;
- $mul51 = $69<<1;
- $call52 = (_celt_udiv_108($add50,$mul51)|0);
- $T1b = $call52;
- }
- } while(0);
- $70 = $x$addr;
- $71 = $x$addr;
- $72 = $T1;
- $sub54 = (0 - ($72))|0;
- $arrayidx55 = (($71) + ($sub54<<2)|0);
- $73 = $x$addr;
- $74 = $T1b;
- $sub56 = (0 - ($74))|0;
- $arrayidx57 = (($73) + ($sub56<<2)|0);
- $75 = $N$addr;
- _dual_inner_prod_c($70,$arrayidx55,$arrayidx57,$75,$xy,$xy2);
- $76 = +HEAPF32[$xy2>>2];
- $77 = +HEAPF32[$xy>>2];
- $add58 = $77 + $76;
- HEAPF32[$xy>>2] = $add58;
- $78 = $T1;
- $arrayidx59 = (($vla) + ($78<<2)|0);
- $79 = +HEAPF32[$arrayidx59>>2];
- $80 = $T1b;
- $arrayidx60 = (($vla) + ($80<<2)|0);
- $81 = +HEAPF32[$arrayidx60>>2];
- $add61 = $79 + $81;
- $yy = $add61;
- $82 = +HEAPF32[$xy>>2];
- $83 = +HEAPF32[$xx>>2];
- $mul62 = 2.0 * $83;
- $mul63 = $mul62 * 1.0;
- $84 = $yy;
- $mul64 = $mul63 * $84;
- $add65 = 1.0 + $mul64;
- $conv66 = $add65;
- $call67 = (+Math_sqrt((+$conv66)));
- $conv68 = $call67;
- $div69 = $82 / $conv68;
- $g1 = $div69;
- $85 = $T1;
- $86 = $prev_period$addr;
- $sub70 = (($85) - ($86))|0;
- $call71 = (Math_abs(($sub70|0))|0);
- $cmp72 = ($call71|0)<=(1);
- do {
- if ($cmp72) {
- $87 = $prev_gain$addr;
- $cont = $87;
- } else {
- $88 = $T1;
- $89 = $prev_period$addr;
- $sub76 = (($88) - ($89))|0;
- $call77 = (Math_abs(($sub76|0))|0);
- $cmp78 = ($call77|0)<=(2);
- if ($cmp78) {
- $90 = $k;
- $mul80 = ($90*5)|0;
- $91 = $k;
- $mul81 = Math_imul($mul80, $91)|0;
- $92 = $T0;
- $cmp82 = ($mul81|0)<($92|0);
- if ($cmp82) {
- $93 = $prev_gain$addr;
- $mul85 = 0.5 * $93;
- $cont = $mul85;
- break;
- }
- }
- $cont = 0.0;
- }
- } while(0);
- $94 = $g0;
- $mul89 = 0.69999998807907104 * $94;
- $95 = $cont;
- $sub90 = $mul89 - $95;
- $cmp91 = 0.30000001192092896 > $sub90;
- if ($cmp91) {
- $cond98 = 0.30000001192092896;
- } else {
- $96 = $g0;
- $mul95 = 0.69999998807907104 * $96;
- $97 = $cont;
- $sub96 = $mul95 - $97;
- $cond98 = $sub96;
- }
- $thresh = $cond98;
- $98 = $T1;
- $99 = $minperiod$addr;
- $mul99 = ($99*3)|0;
- $cmp100 = ($98|0)<($mul99|0);
- if ($cmp100) {
- $100 = $g0;
- $mul103 = 0.85000002384185791 * $100;
- $101 = $cont;
- $sub104 = $mul103 - $101;
- $cmp105 = 0.40000000596046448 > $sub104;
- if ($cmp105) {
- $cond112 = 0.40000000596046448;
- } else {
- $102 = $g0;
- $mul109 = 0.85000002384185791 * $102;
- $103 = $cont;
- $sub110 = $mul109 - $103;
- $cond112 = $sub110;
- }
- $thresh = $cond112;
- } else {
- $104 = $T1;
- $105 = $minperiod$addr;
- $mul114 = $105<<1;
- $cmp115 = ($104|0)<($mul114|0);
- if ($cmp115) {
- $106 = $g0;
- $mul118 = 0.89999997615814208 * $106;
- $107 = $cont;
- $sub119 = $mul118 - $107;
- $cmp120 = 0.5 > $sub119;
- if ($cmp120) {
- $cond127 = 0.5;
- } else {
- $108 = $g0;
- $mul124 = 0.89999997615814208 * $108;
- $109 = $cont;
- $sub125 = $mul124 - $109;
- $cond127 = $sub125;
- }
- $thresh = $cond127;
- }
- }
- $110 = $g1;
- $111 = $thresh;
- $cmp130 = $110 > $111;
- if ($cmp130) {
- $112 = +HEAPF32[$xy>>2];
- $best_xy = $112;
- $113 = $yy;
- $best_yy = $113;
- $114 = $T1;
- $T = $114;
- $115 = $g1;
- $g = $115;
- }
- $116 = $k;
- $inc135 = (($116) + 1)|0;
- $k = $inc135;
- }
- $117 = $best_xy;
- $cmp137 = 0.0 > $117;
- $118 = $best_xy;
- $cond142 = $cmp137 ? 0.0 : $118;
- $best_xy = $cond142;
- $119 = $best_yy;
- $120 = $best_xy;
- $cmp143 = $119 <= $120;
- if ($cmp143) {
- $pg = 1.0;
+ $31 = ((($17)) + 152|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = ($32|0)==(-1);
+ if ($33) {
+ $34 = $6;
+ $35 = $34<<3;
+ $36 = $4;
+ $37 = ((($36)) + 132|0);
+ $38 = HEAP32[$37>>2]|0;
+ $39 = Math_imul($35, $38)|0;
+ $40 = $5;
+ $41 = (($39|0) / ($40|0))&-1;
+ $3 = $41;
+ $45 = $3;
+ STACKTOP = sp;return ($45|0);
} else {
- $121 = $best_xy;
- $122 = $best_yy;
- $add147 = $122 + 1.0;
- $div148 = $121 / $add147;
- $pg = $div148;
- }
- $k = 0;
- while(1) {
- $123 = $k;
- $cmp151 = ($123|0)<(3);
- if (!($cmp151)) {
- break;
- }
- $124 = $x$addr;
- $125 = $x$addr;
- $126 = $T;
- $127 = $k;
- $add154 = (($126) + ($127))|0;
- $sub155 = (($add154) - 1)|0;
- $idx$neg156 = (0 - ($sub155))|0;
- $add$ptr157 = (($125) + ($idx$neg156<<2)|0);
- $128 = $N$addr;
- $call158 = (+_celt_inner_prod_c_103($124,$add$ptr157,$128));
- $129 = $k;
- $arrayidx159 = (($xcorr) + ($129<<2)|0);
- HEAPF32[$arrayidx159>>2] = $call158;
- $130 = $k;
- $inc161 = (($130) + 1)|0;
- $k = $inc161;
- }
- $arrayidx163 = ((($xcorr)) + 8|0);
- $131 = +HEAPF32[$arrayidx163>>2];
- $132 = +HEAPF32[$xcorr>>2];
- $sub165 = $131 - $132;
- $arrayidx166 = ((($xcorr)) + 4|0);
- $133 = +HEAPF32[$arrayidx166>>2];
- $134 = +HEAPF32[$xcorr>>2];
- $sub168 = $133 - $134;
- $mul169 = 0.69999998807907104 * $sub168;
- $cmp170 = $sub165 > $mul169;
- do {
- if ($cmp170) {
- $offset = 1;
- } else {
- $135 = +HEAPF32[$xcorr>>2];
- $arrayidx175 = ((($xcorr)) + 8|0);
- $136 = +HEAPF32[$arrayidx175>>2];
- $sub176 = $135 - $136;
- $arrayidx177 = ((($xcorr)) + 4|0);
- $137 = +HEAPF32[$arrayidx177>>2];
- $arrayidx178 = ((($xcorr)) + 8|0);
- $138 = +HEAPF32[$arrayidx178>>2];
- $sub179 = $137 - $138;
- $mul180 = 0.69999998807907104 * $sub179;
- $cmp181 = $sub176 > $mul180;
- if ($cmp181) {
- $offset = -1;
- break;
- } else {
- $offset = 0;
- break;
- }
- }
- } while(0);
- $139 = $pg;
- $140 = $g;
- $cmp187 = $139 > $140;
- if ($cmp187) {
- $141 = $g;
- $pg = $141;
- }
- $142 = $T;
- $mul191 = $142<<1;
- $143 = $offset;
- $add192 = (($mul191) + ($143))|0;
- $144 = $T0_$addr;
- HEAP32[$144>>2] = $add192;
- $145 = $T0_$addr;
- $146 = HEAP32[$145>>2]|0;
- $147 = $minperiod0;
- $cmp193 = ($146|0)<($147|0);
- if (!($cmp193)) {
- $150 = $pg;
- $151 = $saved_stack;
- _llvm_stackrestore(($151|0));
- STACKTOP = sp;return (+$150);
- }
- $148 = $minperiod0;
- $149 = $T0_$addr;
- HEAP32[$149>>2] = $148;
- $150 = $pg;
- $151 = $saved_stack;
- _llvm_stackrestore(($151|0));
- STACKTOP = sp;return (+$150);
-}
-function _dual_inner_prod_c($x,$y01,$y02,$N,$xy1,$xy2) {
- $x = $x|0;
- $y01 = $y01|0;
- $y02 = $y02|0;
- $N = $N|0;
- $xy1 = $xy1|0;
- $xy2 = $xy2|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0.0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0.0;
- var $N$addr = 0, $add = 0.0, $add5 = 0.0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx3 = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $mul4 = 0.0, $x$addr = 0, $xy01 = 0.0, $xy02 = 0.0, $xy1$addr = 0, $xy2$addr = 0, $y01$addr = 0, $y02$addr = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $x$addr = $x;
- $y01$addr = $y01;
- $y02$addr = $y02;
- $N$addr = $N;
- $xy1$addr = $xy1;
- $xy2$addr = $xy2;
- $xy01 = 0.0;
- $xy02 = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $xy01;
- if (!($cmp)) {
- break;
- }
- $3 = $x$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $6 = $y01$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $mul = $5 * $8;
- $add = $2 + $mul;
- $xy01 = $add;
- $9 = $xy02;
- $10 = $x$addr;
- $11 = $i;
- $arrayidx2 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx2>>2];
- $13 = $y02$addr;
- $14 = $i;
- $arrayidx3 = (($13) + ($14<<2)|0);
- $15 = +HEAPF32[$arrayidx3>>2];
- $mul4 = $12 * $15;
- $add5 = $9 + $mul4;
- $xy02 = $add5;
- $16 = $i;
- $inc = (($16) + 1)|0;
- $i = $inc;
- }
- $17 = $xy1$addr;
- HEAPF32[$17>>2] = $2;
- $18 = $xy02;
- $19 = $xy2$addr;
- HEAPF32[$19>>2] = $18;
- STACKTOP = sp;return;
-}
-function _celt_udiv_108($n,$d) {
- $n = $n|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $d$addr = 0, $div = 0, $n$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $n$addr = $n;
- $d$addr = $d;
- $0 = $n$addr;
- $1 = $d$addr;
- $div = (($0>>>0) / ($1>>>0))&-1;
- STACKTOP = sp;return ($div|0);
-}
-function __celt_lpc($_lpc,$ac,$p) {
- $_lpc = $_lpc|0;
- $ac = $ac|0;
- $p = $p|0;
- var $0 = 0, $1 = 0.0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0;
- var $45 = 0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $7 = 0, $8 = 0;
- var $9 = 0.0, $_lpc$addr = 0, $ac$addr = 0, $add = 0.0, $add15 = 0, $add17 = 0.0, $add21 = 0, $add29 = 0.0, $add32 = 0.0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx16 = 0, $arrayidx19 = 0, $arrayidx24 = 0, $arrayidx27 = 0, $arrayidx30 = 0, $arrayidx35 = 0, $cmp = 0, $cmp22 = 0;
- var $cmp3 = 0, $cmp44 = 0, $cmp5 = 0, $cmp8 = 0, $div = 0.0, $error = 0.0, $i = 0, $inc = 0, $inc13 = 0, $inc37 = 0, $inc47 = 0, $j = 0, $lpc = 0, $mul = 0.0, $mul28 = 0.0, $mul31 = 0.0, $mul39 = 0.0, $mul40 = 0.0, $mul43 = 0.0, $p$addr = 0;
- var $r = 0.0, $rr = 0.0, $shr = 0, $sub = 0, $sub18 = 0.0, $sub25 = 0, $sub26 = 0, $sub33 = 0, $sub34 = 0, $sub41 = 0.0, $tmp1 = 0.0, $tmp2 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $_lpc$addr = $_lpc;
- $ac$addr = $ac;
- $p$addr = $p;
- $0 = $ac$addr;
- $1 = +HEAPF32[$0>>2];
- $error = $1;
- $2 = $_lpc$addr;
- $lpc = $2;
- $i = 0;
- while(1) {
- $3 = $i;
- $4 = $p$addr;
- $cmp = ($3|0)<($4|0);
- if (!($cmp)) {
- break;
- }
- $5 = $lpc;
- $6 = $i;
- $arrayidx1 = (($5) + ($6<<2)|0);
- HEAPF32[$arrayidx1>>2] = 0.0;
- $7 = $i;
- $inc = (($7) + 1)|0;
- $i = $inc;
- }
- $8 = $ac$addr;
- $9 = +HEAPF32[$8>>2];
- $cmp3 = $9 != 0.0;
- if (!($cmp3)) {
- STACKTOP = sp;return;
- }
- $i = 0;
- while(1) {
- $10 = $i;
- $11 = $p$addr;
- $cmp5 = ($10|0)<($11|0);
- if (!($cmp5)) {
- label = 15;
- break;
- }
- $rr = 0.0;
- $j = 0;
- while(1) {
- $12 = $j;
- $13 = $i;
- $cmp8 = ($12|0)<($13|0);
- if (!($cmp8)) {
- break;
- }
- $14 = $lpc;
- $15 = $j;
- $arrayidx10 = (($14) + ($15<<2)|0);
- $16 = +HEAPF32[$arrayidx10>>2];
- $17 = $ac$addr;
- $18 = $i;
- $19 = $j;
- $sub = (($18) - ($19))|0;
- $arrayidx11 = (($17) + ($sub<<2)|0);
- $20 = +HEAPF32[$arrayidx11>>2];
- $mul = $16 * $20;
- $21 = $rr;
- $add = $21 + $mul;
- $rr = $add;
- $22 = $j;
- $inc13 = (($22) + 1)|0;
- $j = $inc13;
- }
- $23 = $ac$addr;
- $24 = $i;
- $add15 = (($24) + 1)|0;
- $arrayidx16 = (($23) + ($add15<<2)|0);
- $25 = +HEAPF32[$arrayidx16>>2];
- $26 = $rr;
- $add17 = $26 + $25;
- $rr = $add17;
- $27 = $rr;
- $28 = $error;
- $div = $27 / $28;
- $sub18 = - $div;
- $r = $sub18;
- $29 = $r;
- $30 = $lpc;
- $31 = $i;
- $arrayidx19 = (($30) + ($31<<2)|0);
- HEAPF32[$arrayidx19>>2] = $29;
- $j = 0;
- while(1) {
- $32 = $j;
- $33 = $i;
- $add21 = (($33) + 1)|0;
- $shr = $add21 >> 1;
- $cmp22 = ($32|0)<($shr|0);
- if (!($cmp22)) {
- break;
- }
- $34 = $lpc;
- $35 = $j;
- $arrayidx24 = (($34) + ($35<<2)|0);
- $36 = +HEAPF32[$arrayidx24>>2];
- $tmp1 = $36;
- $37 = $lpc;
- $38 = $i;
- $sub25 = (($38) - 1)|0;
- $39 = $j;
- $sub26 = (($sub25) - ($39))|0;
- $arrayidx27 = (($37) + ($sub26<<2)|0);
- $40 = +HEAPF32[$arrayidx27>>2];
- $tmp2 = $40;
- $41 = $tmp1;
- $42 = $r;
- $43 = $tmp2;
- $mul28 = $42 * $43;
- $add29 = $41 + $mul28;
- $44 = $lpc;
- $45 = $j;
- $arrayidx30 = (($44) + ($45<<2)|0);
- HEAPF32[$arrayidx30>>2] = $add29;
- $46 = $tmp2;
- $47 = $r;
- $48 = $tmp1;
- $mul31 = $47 * $48;
- $add32 = $46 + $mul31;
- $49 = $lpc;
- $50 = $i;
- $sub33 = (($50) - 1)|0;
- $51 = $j;
- $sub34 = (($sub33) - ($51))|0;
- $arrayidx35 = (($49) + ($sub34<<2)|0);
- HEAPF32[$arrayidx35>>2] = $add32;
- $52 = $j;
- $inc37 = (($52) + 1)|0;
- $j = $inc37;
- }
- $53 = $error;
- $54 = $r;
- $55 = $r;
- $mul39 = $54 * $55;
- $56 = $error;
- $mul40 = $mul39 * $56;
- $sub41 = $53 - $mul40;
- $error = $sub41;
- $57 = $error;
- $58 = $ac$addr;
- $59 = +HEAPF32[$58>>2];
- $mul43 = 0.0010000000474974513 * $59;
- $cmp44 = $57 < $mul43;
- if ($cmp44) {
- label = 15;
- break;
- }
- $60 = $i;
- $inc47 = (($60) + 1)|0;
- $i = $inc47;
- }
- if ((label|0) == 15) {
- STACKTOP = sp;return;
- }
-}
-function _celt_fir_c($_x,$num,$_y,$N,$ord,$mem,$arch) {
- $_x = $_x|0;
- $num = $num|0;
- $_y = $_y|0;
- $N = $N|0;
- $ord = $ord|0;
- $mem = $mem|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0.0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0.0, $62 = 0.0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0.0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $9 = 0.0, $N$addr = 0, $_x$addr = 0, $_y$addr = 0, $add = 0, $add$ptr = 0, $add18 = 0, $add39 = 0.0, $add41 = 0, $add44 = 0.0, $add45 = 0, $add47 = 0, $add50 = 0.0, $add51 = 0, $add53 = 0, $add56 = 0.0;
- var $add57 = 0, $add60 = 0, $add70 = 0, $add72 = 0.0, $add77 = 0.0, $arch$addr = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx17 = 0, $arrayidx19 = 0, $arrayidx28 = 0, $arrayidx29 = 0, $arrayidx3 = 0, $arrayidx37 = 0, $arrayidx40 = 0, $arrayidx42 = 0, $arrayidx43 = 0, $arrayidx46 = 0, $arrayidx48 = 0, $arrayidx49 = 0;
- var $arrayidx52 = 0, $arrayidx54 = 0, $arrayidx55 = 0, $arrayidx58 = 0, $arrayidx69 = 0, $arrayidx71 = 0, $arrayidx76 = 0, $arrayidx78 = 0, $arrayidx9 = 0, $cmp = 0, $cmp15 = 0, $cmp24 = 0, $cmp35 = 0, $cmp5 = 0, $cmp63 = 0, $cmp67 = 0, $i = 0, $inc = 0, $inc12 = 0, $inc21 = 0;
- var $inc31 = 0, $inc74 = 0, $inc80 = 0, $j = 0, $mem$addr = 0, $mul = 0.0, $num$addr = 0, $ord$addr = 0, $saved_stack = 0, $sub = 0, $sub2 = 0, $sub26 = 0, $sub27 = 0, $sub34 = 0, $sub7 = 0, $sub8 = 0, $sum = 0, $sum65 = 0.0, $vla = 0, $vla$alloca_mul = 0;
- var $vla1 = 0, $vla1$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $sum = sp + 8|0;
- $_x$addr = $_x;
- $num$addr = $num;
- $_y$addr = $_y;
- $N$addr = $N;
- $ord$addr = $ord;
- $mem$addr = $mem;
- $arch$addr = $arch;
- $0 = $ord$addr;
- $1 = (_llvm_stacksave()|0);
- $saved_stack = $1;
- $vla$alloca_mul = $0<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $2 = $N$addr;
- $3 = $ord$addr;
- $add = (($2) + ($3))|0;
- $vla1$alloca_mul = $add<<2;
- $vla1 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1$alloca_mul)|0)+15)&-16)|0);;
- $i = 0;
- while(1) {
- $4 = $i;
- $5 = $ord$addr;
- $cmp = ($4|0)<($5|0);
- if (!($cmp)) {
- break;
- }
- $6 = $num$addr;
- $7 = $ord$addr;
- $8 = $i;
- $sub = (($7) - ($8))|0;
- $sub2 = (($sub) - 1)|0;
- $arrayidx = (($6) + ($sub2<<2)|0);
- $9 = +HEAPF32[$arrayidx>>2];
- $10 = $i;
- $arrayidx3 = (($vla) + ($10<<2)|0);
- HEAPF32[$arrayidx3>>2] = $9;
- $11 = $i;
- $inc = (($11) + 1)|0;
- $i = $inc;
- }
- $i = 0;
- while(1) {
- $12 = $i;
- $13 = $ord$addr;
- $cmp5 = ($12|0)<($13|0);
- if (!($cmp5)) {
- break;
- }
- $14 = $mem$addr;
- $15 = $ord$addr;
- $16 = $i;
- $sub7 = (($15) - ($16))|0;
- $sub8 = (($sub7) - 1)|0;
- $arrayidx9 = (($14) + ($sub8<<2)|0);
- $17 = +HEAPF32[$arrayidx9>>2];
- $18 = $i;
- $arrayidx10 = (($vla1) + ($18<<2)|0);
- HEAPF32[$arrayidx10>>2] = $17;
- $19 = $i;
- $inc12 = (($19) + 1)|0;
- $i = $inc12;
- }
- $i = 0;
- while(1) {
- $20 = $i;
- $21 = $N$addr;
- $cmp15 = ($20|0)<($21|0);
- if (!($cmp15)) {
- break;
- }
- $22 = $_x$addr;
- $23 = $i;
- $arrayidx17 = (($22) + ($23<<2)|0);
- $24 = +HEAPF32[$arrayidx17>>2];
- $25 = $i;
- $26 = $ord$addr;
- $add18 = (($25) + ($26))|0;
- $arrayidx19 = (($vla1) + ($add18<<2)|0);
- HEAPF32[$arrayidx19>>2] = $24;
- $27 = $i;
- $inc21 = (($27) + 1)|0;
- $i = $inc21;
- }
- $i = 0;
- while(1) {
- $28 = $i;
- $29 = $ord$addr;
- $cmp24 = ($28|0)<($29|0);
- if (!($cmp24)) {
- break;
- }
- $30 = $_x$addr;
- $31 = $N$addr;
- $32 = $i;
- $sub26 = (($31) - ($32))|0;
- $sub27 = (($sub26) - 1)|0;
- $arrayidx28 = (($30) + ($sub27<<2)|0);
- $33 = +HEAPF32[$arrayidx28>>2];
- $34 = $mem$addr;
- $35 = $i;
- $arrayidx29 = (($34) + ($35<<2)|0);
- HEAPF32[$arrayidx29>>2] = $33;
- $36 = $i;
- $inc31 = (($36) + 1)|0;
- $i = $inc31;
- }
- $i = 0;
- while(1) {
- $37 = $i;
- $38 = $N$addr;
- $sub34 = (($38) - 3)|0;
- $cmp35 = ($37|0)<($sub34|0);
- if (!($cmp35)) {
- break;
- }
- ;HEAP32[$sum>>2]=0|0;HEAP32[$sum+4>>2]=0|0;HEAP32[$sum+8>>2]=0|0;HEAP32[$sum+12>>2]=0|0;
- $39 = $i;
- $add$ptr = (($vla1) + ($39<<2)|0);
- $40 = $ord$addr;
- _xcorr_kernel_c_113($vla,$add$ptr,$sum,$40);
- $41 = $_x$addr;
- $42 = $i;
- $arrayidx37 = (($41) + ($42<<2)|0);
- $43 = +HEAPF32[$arrayidx37>>2];
- $44 = +HEAPF32[$sum>>2];
- $add39 = $43 + $44;
- $45 = $_y$addr;
- $46 = $i;
- $arrayidx40 = (($45) + ($46<<2)|0);
- HEAPF32[$arrayidx40>>2] = $add39;
- $47 = $_x$addr;
- $48 = $i;
- $add41 = (($48) + 1)|0;
- $arrayidx42 = (($47) + ($add41<<2)|0);
- $49 = +HEAPF32[$arrayidx42>>2];
- $arrayidx43 = ((($sum)) + 4|0);
- $50 = +HEAPF32[$arrayidx43>>2];
- $add44 = $49 + $50;
- $51 = $_y$addr;
- $52 = $i;
- $add45 = (($52) + 1)|0;
- $arrayidx46 = (($51) + ($add45<<2)|0);
- HEAPF32[$arrayidx46>>2] = $add44;
- $53 = $_x$addr;
- $54 = $i;
- $add47 = (($54) + 2)|0;
- $arrayidx48 = (($53) + ($add47<<2)|0);
- $55 = +HEAPF32[$arrayidx48>>2];
- $arrayidx49 = ((($sum)) + 8|0);
- $56 = +HEAPF32[$arrayidx49>>2];
- $add50 = $55 + $56;
- $57 = $_y$addr;
- $58 = $i;
- $add51 = (($58) + 2)|0;
- $arrayidx52 = (($57) + ($add51<<2)|0);
- HEAPF32[$arrayidx52>>2] = $add50;
- $59 = $_x$addr;
- $60 = $i;
- $add53 = (($60) + 3)|0;
- $arrayidx54 = (($59) + ($add53<<2)|0);
- $61 = +HEAPF32[$arrayidx54>>2];
- $arrayidx55 = ((($sum)) + 12|0);
- $62 = +HEAPF32[$arrayidx55>>2];
- $add56 = $61 + $62;
- $63 = $_y$addr;
- $64 = $i;
- $add57 = (($64) + 3)|0;
- $arrayidx58 = (($63) + ($add57<<2)|0);
- HEAPF32[$arrayidx58>>2] = $add56;
- $65 = $i;
- $add60 = (($65) + 4)|0;
- $i = $add60;
- }
- while(1) {
- $66 = $i;
- $67 = $N$addr;
- $cmp63 = ($66|0)<($67|0);
- if (!($cmp63)) {
- break;
- }
- $sum65 = 0.0;
- $j = 0;
- while(1) {
- $68 = $j;
- $69 = $ord$addr;
- $cmp67 = ($68|0)<($69|0);
- if (!($cmp67)) {
- break;
- }
- $70 = $sum65;
- $71 = $j;
- $arrayidx69 = (($vla) + ($71<<2)|0);
- $72 = +HEAPF32[$arrayidx69>>2];
- $73 = $i;
- $74 = $j;
- $add70 = (($73) + ($74))|0;
- $arrayidx71 = (($vla1) + ($add70<<2)|0);
- $75 = +HEAPF32[$arrayidx71>>2];
- $mul = $72 * $75;
- $add72 = $70 + $mul;
- $sum65 = $add72;
- $76 = $j;
- $inc74 = (($76) + 1)|0;
- $j = $inc74;
- }
- $77 = $_x$addr;
- $78 = $i;
- $arrayidx76 = (($77) + ($78<<2)|0);
- $79 = +HEAPF32[$arrayidx76>>2];
- $80 = $sum65;
- $add77 = $79 + $80;
- $81 = $_y$addr;
- $82 = $i;
- $arrayidx78 = (($81) + ($82<<2)|0);
- HEAPF32[$arrayidx78>>2] = $add77;
- $83 = $i;
- $inc80 = (($83) + 1)|0;
- $i = $inc80;
- }
- $84 = $saved_stack;
- _llvm_stackrestore(($84|0));
- STACKTOP = sp;return;
-}
-function _xcorr_kernel_c_113($x,$y,$sum,$len) {
- $x = $x|0;
- $y = $y|0;
- $sum = $sum|0;
- $len = $len|0;
- var $0 = 0, $1 = 0.0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0.0, $109 = 0, $11 = 0.0, $110 = 0.0, $111 = 0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0;
- var $116 = 0, $117 = 0.0, $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0.0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0.0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0.0, $135 = 0, $136 = 0.0, $137 = 0, $138 = 0.0, $139 = 0.0, $14 = 0.0, $140 = 0.0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0, $147 = 0, $148 = 0.0, $149 = 0.0, $15 = 0.0, $150 = 0.0, $151 = 0;
- var $152 = 0, $153 = 0.0, $154 = 0.0, $155 = 0.0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0.0, $161 = 0, $162 = 0.0, $163 = 0, $164 = 0.0, $165 = 0.0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0.0, $17 = 0;
- var $170 = 0.0, $171 = 0.0, $172 = 0, $173 = 0, $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0.0, $180 = 0.0, $181 = 0.0, $182 = 0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0.0;
- var $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0, $3 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0;
- var $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0.0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0.0, $6 = 0;
- var $60 = 0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0;
- var $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0, $89 = 0, $9 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0.0;
- var $97 = 0.0, $98 = 0, $99 = 0, $add = 0.0, $add101 = 0.0, $add105 = 0.0, $add109 = 0.0, $add113 = 0.0, $add12 = 0.0, $add123 = 0.0, $add127 = 0.0, $add131 = 0.0, $add135 = 0.0, $add16 = 0.0, $add22 = 0.0, $add26 = 0.0, $add30 = 0.0, $add34 = 0.0, $add40 = 0.0, $add44 = 0.0;
- var $add48 = 0.0, $add52 = 0.0, $add58 = 0.0, $add62 = 0.0, $add66 = 0.0, $add70 = 0.0, $add72 = 0, $add79 = 0.0, $add8 = 0.0, $add83 = 0.0, $add87 = 0.0, $add91 = 0.0, $arrayidx10 = 0, $arrayidx103 = 0, $arrayidx106 = 0, $arrayidx107 = 0, $arrayidx110 = 0, $arrayidx111 = 0, $arrayidx114 = 0, $arrayidx125 = 0;
- var $arrayidx128 = 0, $arrayidx129 = 0, $arrayidx13 = 0, $arrayidx132 = 0, $arrayidx133 = 0, $arrayidx136 = 0, $arrayidx14 = 0, $arrayidx17 = 0, $arrayidx24 = 0, $arrayidx27 = 0, $arrayidx28 = 0, $arrayidx31 = 0, $arrayidx32 = 0, $arrayidx35 = 0, $arrayidx42 = 0, $arrayidx45 = 0, $arrayidx46 = 0, $arrayidx49 = 0, $arrayidx50 = 0, $arrayidx53 = 0;
- var $arrayidx6 = 0, $arrayidx60 = 0, $arrayidx63 = 0, $arrayidx64 = 0, $arrayidx67 = 0, $arrayidx68 = 0, $arrayidx71 = 0, $arrayidx81 = 0, $arrayidx84 = 0, $arrayidx85 = 0, $arrayidx88 = 0, $arrayidx89 = 0, $arrayidx9 = 0, $arrayidx92 = 0, $cmp = 0, $cmp116 = 0, $cmp73 = 0, $cmp94 = 0, $inc = 0, $inc93 = 0;
- var $incdec$ptr = 0, $incdec$ptr1 = 0, $incdec$ptr119 = 0, $incdec$ptr120 = 0, $incdec$ptr18 = 0, $incdec$ptr19 = 0, $incdec$ptr2 = 0, $incdec$ptr3 = 0, $incdec$ptr36 = 0, $incdec$ptr37 = 0, $incdec$ptr4 = 0, $incdec$ptr54 = 0, $incdec$ptr55 = 0, $incdec$ptr75 = 0, $incdec$ptr76 = 0, $incdec$ptr97 = 0, $incdec$ptr98 = 0, $j = 0, $len$addr = 0, $mul = 0.0;
- var $mul100 = 0.0, $mul104 = 0.0, $mul108 = 0.0, $mul11 = 0.0, $mul112 = 0.0, $mul122 = 0.0, $mul126 = 0.0, $mul130 = 0.0, $mul134 = 0.0, $mul15 = 0.0, $mul21 = 0.0, $mul25 = 0.0, $mul29 = 0.0, $mul33 = 0.0, $mul39 = 0.0, $mul43 = 0.0, $mul47 = 0.0, $mul51 = 0.0, $mul57 = 0.0, $mul61 = 0.0;
- var $mul65 = 0.0, $mul69 = 0.0, $mul7 = 0.0, $mul78 = 0.0, $mul82 = 0.0, $mul86 = 0.0, $mul90 = 0.0, $sub = 0, $sum$addr = 0, $tmp = 0.0, $tmp118 = 0.0, $tmp74 = 0.0, $tmp96 = 0.0, $x$addr = 0, $y$addr = 0, $y_0 = 0.0, $y_1 = 0.0, $y_2 = 0.0, $y_3 = 0.0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $x$addr = $x;
- $y$addr = $y;
- $sum$addr = $sum;
- $len$addr = $len;
- $y_3 = 0.0;
- $0 = $y$addr;
- $incdec$ptr = ((($0)) + 4|0);
- $y$addr = $incdec$ptr;
- $1 = +HEAPF32[$0>>2];
- $y_0 = $1;
- $2 = $y$addr;
- $incdec$ptr1 = ((($2)) + 4|0);
- $y$addr = $incdec$ptr1;
- $3 = +HEAPF32[$2>>2];
- $y_1 = $3;
- $4 = $y$addr;
- $incdec$ptr2 = ((($4)) + 4|0);
- $y$addr = $incdec$ptr2;
- $5 = +HEAPF32[$4>>2];
- $y_2 = $5;
- $j = 0;
- while(1) {
- $6 = $j;
- $7 = $len$addr;
- $sub = (($7) - 3)|0;
- $cmp = ($6|0)<($sub|0);
- if (!($cmp)) {
- break;
- }
- $8 = $x$addr;
- $incdec$ptr3 = ((($8)) + 4|0);
- $x$addr = $incdec$ptr3;
- $9 = +HEAPF32[$8>>2];
- $tmp = $9;
- $10 = $y$addr;
- $incdec$ptr4 = ((($10)) + 4|0);
- $y$addr = $incdec$ptr4;
- $11 = +HEAPF32[$10>>2];
- $y_3 = $11;
- $12 = $sum$addr;
- $13 = +HEAPF32[$12>>2];
- $14 = $tmp;
- $15 = $y_0;
- $mul = $14 * $15;
- $add = $13 + $mul;
- $16 = $sum$addr;
- HEAPF32[$16>>2] = $add;
- $17 = $sum$addr;
- $arrayidx6 = ((($17)) + 4|0);
- $18 = +HEAPF32[$arrayidx6>>2];
- $19 = $tmp;
- $20 = $y_1;
- $mul7 = $19 * $20;
- $add8 = $18 + $mul7;
- $21 = $sum$addr;
- $arrayidx9 = ((($21)) + 4|0);
- HEAPF32[$arrayidx9>>2] = $add8;
- $22 = $sum$addr;
- $arrayidx10 = ((($22)) + 8|0);
- $23 = +HEAPF32[$arrayidx10>>2];
- $24 = $tmp;
- $25 = $y_2;
- $mul11 = $24 * $25;
- $add12 = $23 + $mul11;
- $26 = $sum$addr;
- $arrayidx13 = ((($26)) + 8|0);
- HEAPF32[$arrayidx13>>2] = $add12;
- $27 = $sum$addr;
- $arrayidx14 = ((($27)) + 12|0);
- $28 = +HEAPF32[$arrayidx14>>2];
- $29 = $tmp;
- $30 = $y_3;
- $mul15 = $29 * $30;
- $add16 = $28 + $mul15;
- $31 = $sum$addr;
- $arrayidx17 = ((($31)) + 12|0);
- HEAPF32[$arrayidx17>>2] = $add16;
- $32 = $x$addr;
- $incdec$ptr18 = ((($32)) + 4|0);
- $x$addr = $incdec$ptr18;
- $33 = +HEAPF32[$32>>2];
- $tmp = $33;
- $34 = $y$addr;
- $incdec$ptr19 = ((($34)) + 4|0);
- $y$addr = $incdec$ptr19;
- $35 = +HEAPF32[$34>>2];
- $y_0 = $35;
- $36 = $sum$addr;
- $37 = +HEAPF32[$36>>2];
- $38 = $tmp;
- $39 = $y_1;
- $mul21 = $38 * $39;
- $add22 = $37 + $mul21;
- $40 = $sum$addr;
- HEAPF32[$40>>2] = $add22;
- $41 = $sum$addr;
- $arrayidx24 = ((($41)) + 4|0);
- $42 = +HEAPF32[$arrayidx24>>2];
- $43 = $tmp;
- $44 = $y_2;
- $mul25 = $43 * $44;
- $add26 = $42 + $mul25;
- $45 = $sum$addr;
- $arrayidx27 = ((($45)) + 4|0);
- HEAPF32[$arrayidx27>>2] = $add26;
- $46 = $sum$addr;
- $arrayidx28 = ((($46)) + 8|0);
- $47 = +HEAPF32[$arrayidx28>>2];
- $48 = $tmp;
- $49 = $y_3;
- $mul29 = $48 * $49;
- $add30 = $47 + $mul29;
- $50 = $sum$addr;
- $arrayidx31 = ((($50)) + 8|0);
- HEAPF32[$arrayidx31>>2] = $add30;
- $51 = $sum$addr;
- $arrayidx32 = ((($51)) + 12|0);
- $52 = +HEAPF32[$arrayidx32>>2];
- $53 = $tmp;
- $54 = $y_0;
- $mul33 = $53 * $54;
- $add34 = $52 + $mul33;
- $55 = $sum$addr;
- $arrayidx35 = ((($55)) + 12|0);
- HEAPF32[$arrayidx35>>2] = $add34;
- $56 = $x$addr;
- $incdec$ptr36 = ((($56)) + 4|0);
- $x$addr = $incdec$ptr36;
- $57 = +HEAPF32[$56>>2];
- $tmp = $57;
- $58 = $y$addr;
- $incdec$ptr37 = ((($58)) + 4|0);
- $y$addr = $incdec$ptr37;
- $59 = +HEAPF32[$58>>2];
- $y_1 = $59;
- $60 = $sum$addr;
- $61 = +HEAPF32[$60>>2];
- $62 = $tmp;
- $63 = $y_2;
- $mul39 = $62 * $63;
- $add40 = $61 + $mul39;
- $64 = $sum$addr;
- HEAPF32[$64>>2] = $add40;
- $65 = $sum$addr;
- $arrayidx42 = ((($65)) + 4|0);
- $66 = +HEAPF32[$arrayidx42>>2];
- $67 = $tmp;
- $68 = $y_3;
- $mul43 = $67 * $68;
- $add44 = $66 + $mul43;
- $69 = $sum$addr;
- $arrayidx45 = ((($69)) + 4|0);
- HEAPF32[$arrayidx45>>2] = $add44;
- $70 = $sum$addr;
- $arrayidx46 = ((($70)) + 8|0);
- $71 = +HEAPF32[$arrayidx46>>2];
- $72 = $tmp;
- $73 = $y_0;
- $mul47 = $72 * $73;
- $add48 = $71 + $mul47;
- $74 = $sum$addr;
- $arrayidx49 = ((($74)) + 8|0);
- HEAPF32[$arrayidx49>>2] = $add48;
- $75 = $sum$addr;
- $arrayidx50 = ((($75)) + 12|0);
- $76 = +HEAPF32[$arrayidx50>>2];
- $77 = $tmp;
- $78 = $y_1;
- $mul51 = $77 * $78;
- $add52 = $76 + $mul51;
- $79 = $sum$addr;
- $arrayidx53 = ((($79)) + 12|0);
- HEAPF32[$arrayidx53>>2] = $add52;
- $80 = $x$addr;
- $incdec$ptr54 = ((($80)) + 4|0);
- $x$addr = $incdec$ptr54;
- $81 = +HEAPF32[$80>>2];
- $tmp = $81;
- $82 = $y$addr;
- $incdec$ptr55 = ((($82)) + 4|0);
- $y$addr = $incdec$ptr55;
- $83 = +HEAPF32[$82>>2];
- $y_2 = $83;
- $84 = $sum$addr;
- $85 = +HEAPF32[$84>>2];
- $86 = $tmp;
- $87 = $y_3;
- $mul57 = $86 * $87;
- $add58 = $85 + $mul57;
- $88 = $sum$addr;
- HEAPF32[$88>>2] = $add58;
- $89 = $sum$addr;
- $arrayidx60 = ((($89)) + 4|0);
- $90 = +HEAPF32[$arrayidx60>>2];
- $91 = $tmp;
- $92 = $y_0;
- $mul61 = $91 * $92;
- $add62 = $90 + $mul61;
- $93 = $sum$addr;
- $arrayidx63 = ((($93)) + 4|0);
- HEAPF32[$arrayidx63>>2] = $add62;
- $94 = $sum$addr;
- $arrayidx64 = ((($94)) + 8|0);
- $95 = +HEAPF32[$arrayidx64>>2];
- $96 = $tmp;
- $97 = $y_1;
- $mul65 = $96 * $97;
- $add66 = $95 + $mul65;
- $98 = $sum$addr;
- $arrayidx67 = ((($98)) + 8|0);
- HEAPF32[$arrayidx67>>2] = $add66;
- $99 = $sum$addr;
- $arrayidx68 = ((($99)) + 12|0);
- $100 = +HEAPF32[$arrayidx68>>2];
- $101 = $tmp;
- $102 = $y_2;
- $mul69 = $101 * $102;
- $add70 = $100 + $mul69;
- $103 = $sum$addr;
- $arrayidx71 = ((($103)) + 12|0);
- HEAPF32[$arrayidx71>>2] = $add70;
- $104 = $j;
- $add72 = (($104) + 4)|0;
- $j = $add72;
- }
- $105 = $j;
- $inc = (($105) + 1)|0;
- $j = $inc;
- $106 = $len$addr;
- $cmp73 = ($105|0)<($106|0);
- if ($cmp73) {
- $107 = $x$addr;
- $incdec$ptr75 = ((($107)) + 4|0);
- $x$addr = $incdec$ptr75;
- $108 = +HEAPF32[$107>>2];
- $tmp74 = $108;
- $109 = $y$addr;
- $incdec$ptr76 = ((($109)) + 4|0);
- $y$addr = $incdec$ptr76;
- $110 = +HEAPF32[$109>>2];
- $y_3 = $110;
- $111 = $sum$addr;
- $112 = +HEAPF32[$111>>2];
- $113 = $tmp74;
- $114 = $y_0;
- $mul78 = $113 * $114;
- $add79 = $112 + $mul78;
- $115 = $sum$addr;
- HEAPF32[$115>>2] = $add79;
- $116 = $sum$addr;
- $arrayidx81 = ((($116)) + 4|0);
- $117 = +HEAPF32[$arrayidx81>>2];
- $118 = $tmp74;
- $119 = $y_1;
- $mul82 = $118 * $119;
- $add83 = $117 + $mul82;
- $120 = $sum$addr;
- $arrayidx84 = ((($120)) + 4|0);
- HEAPF32[$arrayidx84>>2] = $add83;
- $121 = $sum$addr;
- $arrayidx85 = ((($121)) + 8|0);
- $122 = +HEAPF32[$arrayidx85>>2];
- $123 = $tmp74;
- $124 = $y_2;
- $mul86 = $123 * $124;
- $add87 = $122 + $mul86;
- $125 = $sum$addr;
- $arrayidx88 = ((($125)) + 8|0);
- HEAPF32[$arrayidx88>>2] = $add87;
- $126 = $sum$addr;
- $arrayidx89 = ((($126)) + 12|0);
- $127 = +HEAPF32[$arrayidx89>>2];
- $128 = $tmp74;
- $129 = $y_3;
- $mul90 = $128 * $129;
- $add91 = $127 + $mul90;
- $130 = $sum$addr;
- $arrayidx92 = ((($130)) + 12|0);
- HEAPF32[$arrayidx92>>2] = $add91;
- }
- $131 = $j;
- $inc93 = (($131) + 1)|0;
- $j = $inc93;
- $132 = $len$addr;
- $cmp94 = ($131|0)<($132|0);
- if ($cmp94) {
- $133 = $x$addr;
- $incdec$ptr97 = ((($133)) + 4|0);
- $x$addr = $incdec$ptr97;
- $134 = +HEAPF32[$133>>2];
- $tmp96 = $134;
- $135 = $y$addr;
- $incdec$ptr98 = ((($135)) + 4|0);
- $y$addr = $incdec$ptr98;
- $136 = +HEAPF32[$135>>2];
- $y_0 = $136;
- $137 = $sum$addr;
- $138 = +HEAPF32[$137>>2];
- $139 = $tmp96;
- $140 = $y_1;
- $mul100 = $139 * $140;
- $add101 = $138 + $mul100;
- $141 = $sum$addr;
- HEAPF32[$141>>2] = $add101;
- $142 = $sum$addr;
- $arrayidx103 = ((($142)) + 4|0);
- $143 = +HEAPF32[$arrayidx103>>2];
- $144 = $tmp96;
- $145 = $y_2;
- $mul104 = $144 * $145;
- $add105 = $143 + $mul104;
- $146 = $sum$addr;
- $arrayidx106 = ((($146)) + 4|0);
- HEAPF32[$arrayidx106>>2] = $add105;
- $147 = $sum$addr;
- $arrayidx107 = ((($147)) + 8|0);
- $148 = +HEAPF32[$arrayidx107>>2];
- $149 = $tmp96;
- $150 = $y_3;
- $mul108 = $149 * $150;
- $add109 = $148 + $mul108;
- $151 = $sum$addr;
- $arrayidx110 = ((($151)) + 8|0);
- HEAPF32[$arrayidx110>>2] = $add109;
- $152 = $sum$addr;
- $arrayidx111 = ((($152)) + 12|0);
- $153 = +HEAPF32[$arrayidx111>>2];
- $154 = $tmp96;
- $155 = $y_0;
- $mul112 = $154 * $155;
- $add113 = $153 + $mul112;
- $156 = $sum$addr;
- $arrayidx114 = ((($156)) + 12|0);
- HEAPF32[$arrayidx114>>2] = $add113;
- }
- $157 = $j;
- $158 = $len$addr;
- $cmp116 = ($157|0)<($158|0);
- if (!($cmp116)) {
- STACKTOP = sp;return;
- }
- $159 = $x$addr;
- $incdec$ptr119 = ((($159)) + 4|0);
- $x$addr = $incdec$ptr119;
- $160 = +HEAPF32[$159>>2];
- $tmp118 = $160;
- $161 = $y$addr;
- $incdec$ptr120 = ((($161)) + 4|0);
- $y$addr = $incdec$ptr120;
- $162 = +HEAPF32[$161>>2];
- $y_1 = $162;
- $163 = $sum$addr;
- $164 = +HEAPF32[$163>>2];
- $165 = $tmp118;
- $166 = $y_2;
- $mul122 = $165 * $166;
- $add123 = $164 + $mul122;
- $167 = $sum$addr;
- HEAPF32[$167>>2] = $add123;
- $168 = $sum$addr;
- $arrayidx125 = ((($168)) + 4|0);
- $169 = +HEAPF32[$arrayidx125>>2];
- $170 = $tmp118;
- $171 = $y_3;
- $mul126 = $170 * $171;
- $add127 = $169 + $mul126;
- $172 = $sum$addr;
- $arrayidx128 = ((($172)) + 4|0);
- HEAPF32[$arrayidx128>>2] = $add127;
- $173 = $sum$addr;
- $arrayidx129 = ((($173)) + 8|0);
- $174 = +HEAPF32[$arrayidx129>>2];
- $175 = $tmp118;
- $176 = $y_0;
- $mul130 = $175 * $176;
- $add131 = $174 + $mul130;
- $177 = $sum$addr;
- $arrayidx132 = ((($177)) + 8|0);
- HEAPF32[$arrayidx132>>2] = $add131;
- $178 = $sum$addr;
- $arrayidx133 = ((($178)) + 12|0);
- $179 = +HEAPF32[$arrayidx133>>2];
- $180 = $tmp118;
- $181 = $y_1;
- $mul134 = $180 * $181;
- $add135 = $179 + $mul134;
- $182 = $sum$addr;
- $arrayidx136 = ((($182)) + 12|0);
- HEAPF32[$arrayidx136>>2] = $add135;
- STACKTOP = sp;return;
-}
-function _celt_iir($_x,$den,$_y,$N,$ord,$mem,$arch) {
- $_x = $_x|0;
- $den = $den|0;
- $_y = $_y|0;
- $N = $N|0;
- $ord = $ord|0;
- $mem = $mem|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0.0, $115 = 0;
- var $116 = 0.0, $117 = 0, $118 = 0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0.0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $14 = 0;
- var $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0, $32 = 0.0;
- var $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0;
- var $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0, $64 = 0.0, $65 = 0.0, $66 = 0, $67 = 0, $68 = 0.0, $69 = 0;
- var $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0.0, $87 = 0;
- var $88 = 0.0, $89 = 0.0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0.0, $99 = 0, $N$addr = 0, $_x$addr = 0, $_y$addr = 0, $add = 0, $add$ptr = 0, $add102 = 0.0, $add106 = 0;
- var $add107 = 0, $add110 = 0, $add113 = 0, $add124 = 0, $add131 = 0, $add16 = 0, $add29 = 0, $add32 = 0, $add35 = 0, $add40 = 0, $add45 = 0, $add48 = 0.0, $add52 = 0, $add53 = 0, $add56 = 0, $add59 = 0, $add60 = 0, $add64 = 0.0, $add67 = 0, $add71 = 0.0;
- var $add75 = 0, $add76 = 0, $add79 = 0, $add82 = 0, $add83 = 0, $add87 = 0.0, $add90 = 0, $add91 = 0, $add95 = 0.0, $add98 = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx103 = 0, $arrayidx104 = 0, $arrayidx108 = 0, $arrayidx109 = 0, $arrayidx11 = 0, $arrayidx111 = 0, $arrayidx119 = 0;
- var $arrayidx123 = 0, $arrayidx125 = 0, $arrayidx132 = 0, $arrayidx133 = 0, $arrayidx142 = 0, $arrayidx143 = 0, $arrayidx19 = 0, $arrayidx27 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx33 = 0, $arrayidx34 = 0, $arrayidx36 = 0, $arrayidx37 = 0, $arrayidx41 = 0, $arrayidx43 = 0, $arrayidx44 = 0, $arrayidx46 = 0, $arrayidx49 = 0;
- var $arrayidx50 = 0, $arrayidx54 = 0, $arrayidx55 = 0, $arrayidx57 = 0, $arrayidx58 = 0, $arrayidx61 = 0, $arrayidx65 = 0, $arrayidx66 = 0, $arrayidx68 = 0, $arrayidx69 = 0, $arrayidx72 = 0, $arrayidx73 = 0, $arrayidx77 = 0, $arrayidx78 = 0, $arrayidx80 = 0, $arrayidx81 = 0, $arrayidx84 = 0, $arrayidx88 = 0, $arrayidx89 = 0, $arrayidx9 = 0;
- var $arrayidx92 = 0, $arrayidx93 = 0, $arrayidx96 = 0, $arrayidx97 = 0, $arrayidx99 = 0, $cmp = 0, $cmp116 = 0, $cmp121 = 0, $cmp138 = 0, $cmp17 = 0, $cmp25 = 0, $cmp5 = 0, $den$addr = 0, $i = 0, $inc = 0, $inc129 = 0, $inc13 = 0, $inc135 = 0, $inc145 = 0, $inc21 = 0;
- var $j = 0, $mem$addr = 0, $mul = 0.0, $mul101 = 0.0, $mul126 = 0.0, $mul63 = 0.0, $mul70 = 0.0, $mul86 = 0.0, $mul94 = 0.0, $ord$addr = 0, $saved_stack = 0, $sub = 0, $sub10 = 0.0, $sub105 = 0.0, $sub127 = 0.0, $sub140 = 0, $sub141 = 0, $sub2 = 0, $sub24 = 0, $sub39 = 0.0;
- var $sub51 = 0.0, $sub7 = 0, $sub74 = 0.0, $sub8 = 0, $sum = 0, $sum118 = 0.0, $vla = 0, $vla$alloca_mul = 0, $vla1 = 0, $vla1$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $sum = sp + 8|0;
- $_x$addr = $_x;
- $den$addr = $den;
- $_y$addr = $_y;
- $N$addr = $N;
- $ord$addr = $ord;
- $mem$addr = $mem;
- $arch$addr = $arch;
- $0 = $ord$addr;
- $1 = (_llvm_stacksave()|0);
- $saved_stack = $1;
- $vla$alloca_mul = $0<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $2 = $N$addr;
- $3 = $ord$addr;
- $add = (($2) + ($3))|0;
- $vla1$alloca_mul = $add<<2;
- $vla1 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1$alloca_mul)|0)+15)&-16)|0);;
- $i = 0;
- while(1) {
- $4 = $i;
- $5 = $ord$addr;
- $cmp = ($4|0)<($5|0);
- if (!($cmp)) {
- break;
- }
- $6 = $den$addr;
- $7 = $ord$addr;
- $8 = $i;
- $sub = (($7) - ($8))|0;
- $sub2 = (($sub) - 1)|0;
- $arrayidx = (($6) + ($sub2<<2)|0);
- $9 = +HEAPF32[$arrayidx>>2];
- $10 = $i;
- $arrayidx3 = (($vla) + ($10<<2)|0);
- HEAPF32[$arrayidx3>>2] = $9;
- $11 = $i;
- $inc = (($11) + 1)|0;
- $i = $inc;
- }
- $i = 0;
- while(1) {
- $12 = $i;
- $13 = $ord$addr;
- $cmp5 = ($12|0)<($13|0);
- if (!($cmp5)) {
- break;
- }
- $14 = $mem$addr;
- $15 = $ord$addr;
- $16 = $i;
- $sub7 = (($15) - ($16))|0;
- $sub8 = (($sub7) - 1)|0;
- $arrayidx9 = (($14) + ($sub8<<2)|0);
- $17 = +HEAPF32[$arrayidx9>>2];
- $sub10 = - $17;
- $18 = $i;
- $arrayidx11 = (($vla1) + ($18<<2)|0);
- HEAPF32[$arrayidx11>>2] = $sub10;
- $19 = $i;
- $inc13 = (($19) + 1)|0;
- $i = $inc13;
- }
- while(1) {
- $20 = $i;
- $21 = $N$addr;
- $22 = $ord$addr;
- $add16 = (($21) + ($22))|0;
- $cmp17 = ($20|0)<($add16|0);
- if (!($cmp17)) {
- break;
- }
- $23 = $i;
- $arrayidx19 = (($vla1) + ($23<<2)|0);
- HEAPF32[$arrayidx19>>2] = 0.0;
- $24 = $i;
- $inc21 = (($24) + 1)|0;
- $i = $inc21;
- }
- $i = 0;
- while(1) {
- $25 = $i;
- $26 = $N$addr;
- $sub24 = (($26) - 3)|0;
- $cmp25 = ($25|0)<($sub24|0);
- if (!($cmp25)) {
- break;
- }
- $27 = $_x$addr;
- $28 = $i;
- $arrayidx27 = (($27) + ($28<<2)|0);
- $29 = +HEAPF32[$arrayidx27>>2];
- HEAPF32[$sum>>2] = $29;
- $30 = $_x$addr;
- $31 = $i;
- $add29 = (($31) + 1)|0;
- $arrayidx30 = (($30) + ($add29<<2)|0);
- $32 = +HEAPF32[$arrayidx30>>2];
- $arrayidx31 = ((($sum)) + 4|0);
- HEAPF32[$arrayidx31>>2] = $32;
- $33 = $_x$addr;
- $34 = $i;
- $add32 = (($34) + 2)|0;
- $arrayidx33 = (($33) + ($add32<<2)|0);
- $35 = +HEAPF32[$arrayidx33>>2];
- $arrayidx34 = ((($sum)) + 8|0);
- HEAPF32[$arrayidx34>>2] = $35;
- $36 = $_x$addr;
- $37 = $i;
- $add35 = (($37) + 3)|0;
- $arrayidx36 = (($36) + ($add35<<2)|0);
- $38 = +HEAPF32[$arrayidx36>>2];
- $arrayidx37 = ((($sum)) + 12|0);
- HEAPF32[$arrayidx37>>2] = $38;
- $39 = $i;
- $add$ptr = (($vla1) + ($39<<2)|0);
- $40 = $ord$addr;
- _xcorr_kernel_c_113($vla,$add$ptr,$sum,$40);
- $41 = +HEAPF32[$sum>>2];
- $sub39 = - $41;
- $42 = $i;
- $43 = $ord$addr;
- $add40 = (($42) + ($43))|0;
- $arrayidx41 = (($vla1) + ($add40<<2)|0);
- HEAPF32[$arrayidx41>>2] = $sub39;
- $44 = +HEAPF32[$sum>>2];
- $45 = $_y$addr;
- $46 = $i;
- $arrayidx43 = (($45) + ($46<<2)|0);
- HEAPF32[$arrayidx43>>2] = $44;
- $arrayidx44 = ((($sum)) + 4|0);
- $47 = +HEAPF32[$arrayidx44>>2];
- $48 = $i;
- $49 = $ord$addr;
- $add45 = (($48) + ($49))|0;
- $arrayidx46 = (($vla1) + ($add45<<2)|0);
- $50 = +HEAPF32[$arrayidx46>>2];
- $51 = $den$addr;
- $52 = +HEAPF32[$51>>2];
- $mul = $50 * $52;
- $add48 = $47 + $mul;
- $arrayidx49 = ((($sum)) + 4|0);
- HEAPF32[$arrayidx49>>2] = $add48;
- $arrayidx50 = ((($sum)) + 4|0);
- $53 = +HEAPF32[$arrayidx50>>2];
- $sub51 = - $53;
- $54 = $i;
- $55 = $ord$addr;
- $add52 = (($54) + ($55))|0;
- $add53 = (($add52) + 1)|0;
- $arrayidx54 = (($vla1) + ($add53<<2)|0);
- HEAPF32[$arrayidx54>>2] = $sub51;
- $arrayidx55 = ((($sum)) + 4|0);
- $56 = +HEAPF32[$arrayidx55>>2];
- $57 = $_y$addr;
- $58 = $i;
- $add56 = (($58) + 1)|0;
- $arrayidx57 = (($57) + ($add56<<2)|0);
- HEAPF32[$arrayidx57>>2] = $56;
- $arrayidx58 = ((($sum)) + 8|0);
- $59 = +HEAPF32[$arrayidx58>>2];
- $60 = $i;
- $61 = $ord$addr;
- $add59 = (($60) + ($61))|0;
- $add60 = (($add59) + 1)|0;
- $arrayidx61 = (($vla1) + ($add60<<2)|0);
- $62 = +HEAPF32[$arrayidx61>>2];
- $63 = $den$addr;
- $64 = +HEAPF32[$63>>2];
- $mul63 = $62 * $64;
- $add64 = $59 + $mul63;
- $arrayidx65 = ((($sum)) + 8|0);
- HEAPF32[$arrayidx65>>2] = $add64;
- $arrayidx66 = ((($sum)) + 8|0);
- $65 = +HEAPF32[$arrayidx66>>2];
- $66 = $i;
- $67 = $ord$addr;
- $add67 = (($66) + ($67))|0;
- $arrayidx68 = (($vla1) + ($add67<<2)|0);
- $68 = +HEAPF32[$arrayidx68>>2];
- $69 = $den$addr;
- $arrayidx69 = ((($69)) + 4|0);
- $70 = +HEAPF32[$arrayidx69>>2];
- $mul70 = $68 * $70;
- $add71 = $65 + $mul70;
- $arrayidx72 = ((($sum)) + 8|0);
- HEAPF32[$arrayidx72>>2] = $add71;
- $arrayidx73 = ((($sum)) + 8|0);
- $71 = +HEAPF32[$arrayidx73>>2];
- $sub74 = - $71;
- $72 = $i;
- $73 = $ord$addr;
- $add75 = (($72) + ($73))|0;
- $add76 = (($add75) + 2)|0;
- $arrayidx77 = (($vla1) + ($add76<<2)|0);
- HEAPF32[$arrayidx77>>2] = $sub74;
- $arrayidx78 = ((($sum)) + 8|0);
- $74 = +HEAPF32[$arrayidx78>>2];
- $75 = $_y$addr;
- $76 = $i;
- $add79 = (($76) + 2)|0;
- $arrayidx80 = (($75) + ($add79<<2)|0);
- HEAPF32[$arrayidx80>>2] = $74;
- $arrayidx81 = ((($sum)) + 12|0);
- $77 = +HEAPF32[$arrayidx81>>2];
- $78 = $i;
- $79 = $ord$addr;
- $add82 = (($78) + ($79))|0;
- $add83 = (($add82) + 2)|0;
- $arrayidx84 = (($vla1) + ($add83<<2)|0);
- $80 = +HEAPF32[$arrayidx84>>2];
- $81 = $den$addr;
- $82 = +HEAPF32[$81>>2];
- $mul86 = $80 * $82;
- $add87 = $77 + $mul86;
- $arrayidx88 = ((($sum)) + 12|0);
- HEAPF32[$arrayidx88>>2] = $add87;
- $arrayidx89 = ((($sum)) + 12|0);
- $83 = +HEAPF32[$arrayidx89>>2];
- $84 = $i;
- $85 = $ord$addr;
- $add90 = (($84) + ($85))|0;
- $add91 = (($add90) + 1)|0;
- $arrayidx92 = (($vla1) + ($add91<<2)|0);
- $86 = +HEAPF32[$arrayidx92>>2];
- $87 = $den$addr;
- $arrayidx93 = ((($87)) + 4|0);
- $88 = +HEAPF32[$arrayidx93>>2];
- $mul94 = $86 * $88;
- $add95 = $83 + $mul94;
- $arrayidx96 = ((($sum)) + 12|0);
- HEAPF32[$arrayidx96>>2] = $add95;
- $arrayidx97 = ((($sum)) + 12|0);
- $89 = +HEAPF32[$arrayidx97>>2];
- $90 = $i;
- $91 = $ord$addr;
- $add98 = (($90) + ($91))|0;
- $arrayidx99 = (($vla1) + ($add98<<2)|0);
- $92 = +HEAPF32[$arrayidx99>>2];
- $93 = $den$addr;
- $arrayidx100 = ((($93)) + 8|0);
- $94 = +HEAPF32[$arrayidx100>>2];
- $mul101 = $92 * $94;
- $add102 = $89 + $mul101;
- $arrayidx103 = ((($sum)) + 12|0);
- HEAPF32[$arrayidx103>>2] = $add102;
- $arrayidx104 = ((($sum)) + 12|0);
- $95 = +HEAPF32[$arrayidx104>>2];
- $sub105 = - $95;
- $96 = $i;
- $97 = $ord$addr;
- $add106 = (($96) + ($97))|0;
- $add107 = (($add106) + 3)|0;
- $arrayidx108 = (($vla1) + ($add107<<2)|0);
- HEAPF32[$arrayidx108>>2] = $sub105;
- $arrayidx109 = ((($sum)) + 12|0);
- $98 = +HEAPF32[$arrayidx109>>2];
- $99 = $_y$addr;
- $100 = $i;
- $add110 = (($100) + 3)|0;
- $arrayidx111 = (($99) + ($add110<<2)|0);
- HEAPF32[$arrayidx111>>2] = $98;
- $101 = $i;
- $add113 = (($101) + 4)|0;
- $i = $add113;
- }
- while(1) {
- $102 = $i;
- $103 = $N$addr;
- $cmp116 = ($102|0)<($103|0);
- if (!($cmp116)) {
- break;
- }
- $104 = $_x$addr;
- $105 = $i;
- $arrayidx119 = (($104) + ($105<<2)|0);
- $106 = +HEAPF32[$arrayidx119>>2];
- $sum118 = $106;
- $j = 0;
- while(1) {
- $107 = $j;
- $108 = $ord$addr;
- $cmp121 = ($107|0)<($108|0);
- if (!($cmp121)) {
- break;
- }
- $109 = $j;
- $arrayidx123 = (($vla) + ($109<<2)|0);
- $110 = +HEAPF32[$arrayidx123>>2];
- $111 = $i;
- $112 = $j;
- $add124 = (($111) + ($112))|0;
- $arrayidx125 = (($vla1) + ($add124<<2)|0);
- $113 = +HEAPF32[$arrayidx125>>2];
- $mul126 = $110 * $113;
- $114 = $sum118;
- $sub127 = $114 - $mul126;
- $sum118 = $sub127;
- $115 = $j;
- $inc129 = (($115) + 1)|0;
- $j = $inc129;
- }
- $116 = $sum118;
- $117 = $i;
- $118 = $ord$addr;
- $add131 = (($117) + ($118))|0;
- $arrayidx132 = (($vla1) + ($add131<<2)|0);
- HEAPF32[$arrayidx132>>2] = $116;
- $119 = $sum118;
- $120 = $_y$addr;
- $121 = $i;
- $arrayidx133 = (($120) + ($121<<2)|0);
- HEAPF32[$arrayidx133>>2] = $119;
- $122 = $i;
- $inc135 = (($122) + 1)|0;
- $i = $inc135;
- }
- $i = 0;
- while(1) {
- $123 = $i;
- $124 = $ord$addr;
- $cmp138 = ($123|0)<($124|0);
- if (!($cmp138)) {
- break;
- }
- $125 = $_y$addr;
- $126 = $N$addr;
- $127 = $i;
- $sub140 = (($126) - ($127))|0;
- $sub141 = (($sub140) - 1)|0;
- $arrayidx142 = (($125) + ($sub141<<2)|0);
- $128 = +HEAPF32[$arrayidx142>>2];
- $129 = $mem$addr;
- $130 = $i;
- $arrayidx143 = (($129) + ($130<<2)|0);
- HEAPF32[$arrayidx143>>2] = $128;
- $131 = $i;
- $inc145 = (($131) + 1)|0;
- $i = $inc145;
- }
- $132 = $saved_stack;
- _llvm_stackrestore(($132|0));
- STACKTOP = sp;return;
-}
-function __celt_autocorr($x,$ac,$window,$overlap,$lag,$n,$arch) {
- $x = $x|0;
- $ac = $ac|0;
- $window = $window|0;
- $overlap = $overlap|0;
- $lag = $lag|0;
- $n = $n|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0;
- var $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $ac$addr = 0;
- var $add = 0, $add23 = 0, $add31 = 0.0, $add36 = 0.0, $arch$addr = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx16 = 0, $arrayidx2 = 0, $arrayidx27 = 0, $arrayidx29 = 0, $arrayidx35 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $arrayidx8 = 0, $cmp = 0, $cmp1 = 0, $cmp21 = 0, $cmp25 = 0;
- var $cmp4 = 0, $d = 0.0, $fastN = 0, $i = 0, $inc = 0, $inc18 = 0, $inc33 = 0, $inc38 = 0, $k = 0, $lag$addr = 0, $mul = 0.0, $mul13 = 0.0, $mul30 = 0.0, $n$addr = 0, $overlap$addr = 0, $saved_stack = 0, $shift = 0, $sub = 0, $sub10 = 0, $sub14 = 0;
- var $sub15 = 0, $sub28 = 0, $sub9 = 0, $vla = 0, $vla$alloca_mul = 0, $window$addr = 0, $x$addr = 0, $xptr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $x$addr = $x;
- $ac$addr = $ac;
- $window$addr = $window;
- $overlap$addr = $overlap;
- $lag$addr = $lag;
- $n$addr = $n;
- $arch$addr = $arch;
- $0 = $n$addr;
- $1 = $lag$addr;
- $sub = (($0) - ($1))|0;
- $fastN = $sub;
- $2 = $n$addr;
- $3 = (_llvm_stacksave()|0);
- $saved_stack = $3;
- $vla$alloca_mul = $2<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $4 = $overlap$addr;
- $cmp = ($4|0)==(0);
- if ($cmp) {
- $5 = $x$addr;
- $xptr = $5;
- } else {
- $i = 0;
- while(1) {
- $6 = $i;
- $7 = $n$addr;
- $cmp1 = ($6|0)<($7|0);
- if (!($cmp1)) {
- break;
- }
- $8 = $x$addr;
- $9 = $i;
- $arrayidx = (($8) + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx>>2];
- $11 = $i;
- $arrayidx2 = (($vla) + ($11<<2)|0);
- HEAPF32[$arrayidx2>>2] = $10;
- $12 = $i;
- $inc = (($12) + 1)|0;
- $i = $inc;
- }
- $i = 0;
- while(1) {
- $13 = $i;
- $14 = $overlap$addr;
- $cmp4 = ($13|0)<($14|0);
- if (!($cmp4)) {
- break;
- }
- $15 = $x$addr;
- $16 = $i;
- $arrayidx6 = (($15) + ($16<<2)|0);
- $17 = +HEAPF32[$arrayidx6>>2];
- $18 = $window$addr;
- $19 = $i;
- $arrayidx7 = (($18) + ($19<<2)|0);
- $20 = +HEAPF32[$arrayidx7>>2];
- $mul = $17 * $20;
- $21 = $i;
- $arrayidx8 = (($vla) + ($21<<2)|0);
- HEAPF32[$arrayidx8>>2] = $mul;
- $22 = $x$addr;
- $23 = $n$addr;
- $24 = $i;
- $sub9 = (($23) - ($24))|0;
- $sub10 = (($sub9) - 1)|0;
- $arrayidx11 = (($22) + ($sub10<<2)|0);
- $25 = +HEAPF32[$arrayidx11>>2];
- $26 = $window$addr;
- $27 = $i;
- $arrayidx12 = (($26) + ($27<<2)|0);
- $28 = +HEAPF32[$arrayidx12>>2];
- $mul13 = $25 * $28;
- $29 = $n$addr;
- $30 = $i;
- $sub14 = (($29) - ($30))|0;
- $sub15 = (($sub14) - 1)|0;
- $arrayidx16 = (($vla) + ($sub15<<2)|0);
- HEAPF32[$arrayidx16>>2] = $mul13;
- $31 = $i;
- $inc18 = (($31) + 1)|0;
- $i = $inc18;
- }
- $xptr = $vla;
- }
- $shift = 0;
- $32 = $xptr;
- $33 = $xptr;
- $34 = $ac$addr;
- $35 = $fastN;
- $36 = $lag$addr;
- $add = (($36) + 1)|0;
- $37 = $arch$addr;
- _celt_pitch_xcorr($32,$33,$34,$35,$add,$37);
- $k = 0;
- while(1) {
- $38 = $k;
- $39 = $lag$addr;
- $cmp21 = ($38|0)<=($39|0);
- if (!($cmp21)) {
- break;
- }
- $40 = $k;
- $41 = $fastN;
- $add23 = (($40) + ($41))|0;
- $i = $add23;
- $d = 0.0;
- while(1) {
- $42 = $i;
- $43 = $n$addr;
- $cmp25 = ($42|0)<($43|0);
- $44 = $d;
- if (!($cmp25)) {
- break;
- }
- $45 = $xptr;
- $46 = $i;
- $arrayidx27 = (($45) + ($46<<2)|0);
- $47 = +HEAPF32[$arrayidx27>>2];
- $48 = $xptr;
- $49 = $i;
- $50 = $k;
- $sub28 = (($49) - ($50))|0;
- $arrayidx29 = (($48) + ($sub28<<2)|0);
- $51 = +HEAPF32[$arrayidx29>>2];
- $mul30 = $47 * $51;
- $add31 = $44 + $mul30;
- $d = $add31;
- $52 = $i;
- $inc33 = (($52) + 1)|0;
- $i = $inc33;
- }
- $53 = $ac$addr;
- $54 = $k;
- $arrayidx35 = (($53) + ($54<<2)|0);
- $55 = +HEAPF32[$arrayidx35>>2];
- $add36 = $55 + $44;
- HEAPF32[$arrayidx35>>2] = $add36;
- $56 = $k;
- $inc38 = (($56) + 1)|0;
- $k = $inc38;
- }
- $57 = $shift;
- $58 = $saved_stack;
- _llvm_stackrestore(($58|0));
- STACKTOP = sp;return ($57|0);
-}
-function _quant_coarse_energy($m,$start,$end,$effEnd,$eBands,$oldEBands,$budget,$error,$enc,$C,$LM,$nbAvailableBytes,$force_intra,$delayedIntra,$two_pass,$loss_rate,$lfe) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $effEnd = $effEnd|0;
- $eBands = $eBands|0;
- $oldEBands = $oldEBands|0;
- $budget = $budget|0;
- $error = $error|0;
- $enc = $enc|0;
- $C = $C|0;
- $LM = $LM|0;
- $nbAvailableBytes = $nbAvailableBytes|0;
- $force_intra = $force_intra|0;
- $delayedIntra = $delayedIntra|0;
- $two_pass = $two_pass|0;
- $loss_rate = $loss_rate|0;
- $lfe = $lfe|0;
- var $$sub54 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0;
- var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0, $127 = 0, $128 = 0.0, $129 = 0, $13 = 0, $130 = 0.0, $131 = 0, $132 = 0.0;
- var $133 = 0.0, $134 = 0, $135 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0.0;
- var $3 = 0.0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
- var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
- var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
- var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $C$addr = 0, $LM$addr = 0, $add = 0;
- var $add$ptr = 0, $add100 = 0, $add109 = 0, $add119 = 0, $add128 = 0, $add137 = 0.0, $add41 = 0, $add67 = 0, $add81 = 0, $add91 = 0, $arrayidx = 0, $arrayidx133 = 0, $arrayidx134 = 0, $arrayidx45 = 0, $arrayidx68 = 0, $arrayidx69 = 0, $badness1 = 0, $badness2 = 0, $budget$addr = 0, $call = 0.0;
- var $call15 = 0, $call46 = 0, $call50 = 0, $call51 = 0, $call52 = 0, $call53 = 0, $call71 = 0, $call80 = 0, $cmp = 0, $cmp16 = 0, $cmp19 = 0, $cmp24 = 0, $cmp55 = 0, $cmp6 = 0, $cmp74 = 0, $cmp77 = 0, $cmp82 = 0, $cond = 0.0, $conv = 0.0, $conv10 = 0.0;
- var $conv13 = 0.0, $conv14 = 0, $conv22 = 0.0, $conv26 = 0.0, $conv8 = 0.0, $delayedIntra$addr = 0, $div = 0.0, $eBands$addr = 0, $effEnd$addr = 0, $enc$addr = 0, $enc_intra_state = 0, $enc_start_state = 0, $end$addr = 0, $error$addr = 0, $force_intra$addr = 0, $intra = 0, $intra_bias = 0, $intra_buf = 0, $lfe$addr = 0, $lor$ext = 0;
- var $loss_rate$addr = 0, $m$addr = 0, $max_decay = 0.0, $mul = 0, $mul102 = 0, $mul103 = 0, $mul108 = 0, $mul11 = 0.0, $mul112 = 0, $mul113 = 0, $mul118 = 0, $mul12 = 0, $mul121 = 0, $mul122 = 0, $mul127 = 0, $mul135 = 0.0, $mul136 = 0.0, $mul2 = 0, $mul23 = 0.0, $mul27 = 0.0;
- var $mul33 = 0, $mul35 = 0, $mul38 = 0, $mul39 = 0, $mul40 = 0, $mul5 = 0, $mul62 = 0, $mul66 = 0, $mul86 = 0, $mul9 = 0.0, $mul90 = 0, $mul93 = 0, $mul94 = 0, $mul99 = 0, $nbAvailableBytes$addr = 0, $nbEBands = 0, $nbEBands101 = 0, $nbEBands111 = 0, $nbEBands120 = 0, $nbEBands32 = 0;
- var $nbEBands34 = 0, $nbEBands37 = 0, $nbEBands92 = 0, $new_distortion = 0.0, $nintra_bytes = 0, $nstart_bytes = 0, $oldEBands$addr = 0, $or$cond = 0, $save_bytes = 0, $saved_stack = 0, $saved_stack59 = 0, $start$addr = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$div107 = 0, $sub$ptr$div117 = 0, $sub$ptr$div126 = 0, $sub$ptr$div98 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast104 = 0;
- var $sub$ptr$lhs$cast114 = 0, $sub$ptr$lhs$cast123 = 0, $sub$ptr$lhs$cast63 = 0, $sub$ptr$lhs$cast87 = 0, $sub$ptr$lhs$cast95 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast105 = 0, $sub$ptr$rhs$cast115 = 0, $sub$ptr$rhs$cast124 = 0, $sub$ptr$rhs$cast64 = 0, $sub$ptr$rhs$cast88 = 0, $sub$ptr$rhs$cast96 = 0, $sub$ptr$sub = 0, $sub$ptr$sub106 = 0, $sub$ptr$sub116 = 0, $sub$ptr$sub125 = 0, $sub$ptr$sub65 = 0, $sub$ptr$sub89 = 0, $sub$ptr$sub97 = 0, $sub18 = 0;
- var $sub4 = 0, $sub54 = 0, $sub61 = 0, $sub85 = 0, $tell = 0, $tell_intra = 0, $tobool = 0, $tobool1 = 0, $tobool130 = 0, $tobool29 = 0, $tobool42 = 0, $tobool43 = 0, $tobool48 = 0, $tobool72 = 0, $two_pass$addr = 0, $vla = 0, $vla$alloca_mul = 0, $vla36 = 0, $vla36$alloca_mul = 0, $vla60 = 0;
- var $vla60$alloca_mul = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 224|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(224|0);
- $enc_start_state = sp + 96|0;
- $enc_intra_state = sp + 24|0;
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $effEnd$addr = $effEnd;
- $eBands$addr = $eBands;
- $oldEBands$addr = $oldEBands;
- $budget$addr = $budget;
- $error$addr = $error;
- $enc$addr = $enc;
- $C$addr = $C;
- $LM$addr = $LM;
- $nbAvailableBytes$addr = $nbAvailableBytes;
- $force_intra$addr = $force_intra;
- $delayedIntra$addr = $delayedIntra;
- $two_pass$addr = $two_pass;
- $loss_rate$addr = $loss_rate;
- $lfe$addr = $lfe;
- $badness1 = 0;
- $0 = $force_intra$addr;
- $tobool = ($0|0)!=(0);
- if ($tobool) {
- $11 = 1;
- } else {
- $1 = $two_pass$addr;
- $tobool1 = ($1|0)!=(0);
- if ($tobool1) {
- $11 = 0;
- } else {
- $2 = $delayedIntra$addr;
- $3 = +HEAPF32[$2>>2];
- $4 = $C$addr;
- $mul = $4<<1;
- $5 = $end$addr;
- $6 = $start$addr;
- $sub = (($5) - ($6))|0;
- $mul2 = Math_imul($mul, $sub)|0;
- $conv = (+($mul2|0));
- $cmp = $3 > $conv;
- if ($cmp) {
- $7 = $nbAvailableBytes$addr;
- $8 = $end$addr;
- $9 = $start$addr;
- $sub4 = (($8) - ($9))|0;
- $10 = $C$addr;
- $mul5 = Math_imul($sub4, $10)|0;
- $cmp6 = ($7|0)>($mul5|0);
- $11 = $cmp6;
- } else {
- $11 = 0;
- }
- }
- }
- $lor$ext = $11&1;
- $intra = $lor$ext;
- $12 = $budget$addr;
- $conv8 = (+($12>>>0));
- $13 = $delayedIntra$addr;
- $14 = +HEAPF32[$13>>2];
- $mul9 = $conv8 * $14;
- $15 = $loss_rate$addr;
- $conv10 = (+($15|0));
- $mul11 = $mul9 * $conv10;
- $16 = $C$addr;
- $mul12 = $16<<9;
- $conv13 = (+($mul12|0));
- $div = $mul11 / $conv13;
- $conv14 = (~~(($div)));
- $intra_bias = $conv14;
- $17 = $eBands$addr;
- $18 = $oldEBands$addr;
- $19 = $start$addr;
- $20 = $effEnd$addr;
- $21 = $m$addr;
- $nbEBands = ((($21)) + 8|0);
- $22 = HEAP32[$nbEBands>>2]|0;
- $23 = $C$addr;
- $call = (+_loss_distortion($17,$18,$19,$20,$22,$23));
- $new_distortion = $call;
- $24 = $enc$addr;
- $call15 = (_ec_tell_122($24)|0);
- $tell = $call15;
- $25 = $tell;
- $add = (($25) + 3)|0;
- $26 = $budget$addr;
- $cmp16 = ($add>>>0)>($26>>>0);
- if ($cmp16) {
- $intra = 0;
- $two_pass$addr = 0;
- }
- $max_decay = 16.0;
- $27 = $end$addr;
- $28 = $start$addr;
- $sub18 = (($27) - ($28))|0;
- $cmp19 = ($sub18|0)>(10);
- if ($cmp19) {
- $29 = $max_decay;
- $30 = $nbAvailableBytes$addr;
- $conv22 = (+($30|0));
- $mul23 = 0.125 * $conv22;
- $cmp24 = $29 < $mul23;
- if ($cmp24) {
- $31 = $max_decay;
- $cond = $31;
- } else {
- $32 = $nbAvailableBytes$addr;
- $conv26 = (+($32|0));
- $mul27 = 0.125 * $conv26;
- $cond = $mul27;
- }
- $max_decay = $cond;
- }
- $33 = $lfe$addr;
- $tobool29 = ($33|0)!=(0);
- if ($tobool29) {
- $max_decay = 3.0;
- }
- $34 = $enc$addr;
- dest=$enc_start_state; src=$34; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $35 = $C$addr;
- $36 = $m$addr;
- $nbEBands32 = ((($36)) + 8|0);
- $37 = HEAP32[$nbEBands32>>2]|0;
- $mul33 = Math_imul($35, $37)|0;
- $38 = (_llvm_stacksave()|0);
- $saved_stack = $38;
- $vla$alloca_mul = $mul33<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $39 = $C$addr;
- $40 = $m$addr;
- $nbEBands34 = ((($40)) + 8|0);
- $41 = HEAP32[$nbEBands34>>2]|0;
- $mul35 = Math_imul($39, $41)|0;
- $vla36$alloca_mul = $mul35<<2;
- $vla36 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla36$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla36$alloca_mul)|0)+15)&-16)|0);;
- $42 = $oldEBands$addr;
- $43 = $C$addr;
- $44 = $m$addr;
- $nbEBands37 = ((($44)) + 8|0);
- $45 = HEAP32[$nbEBands37>>2]|0;
- $mul38 = Math_imul($43, $45)|0;
- $mul39 = $mul38<<2;
- $46 = $oldEBands$addr;
- $sub$ptr$lhs$cast = $vla;
- $sub$ptr$rhs$cast = $46;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul40 = 0;
- $add41 = (($mul39) + ($mul40))|0;
- _memcpy(($vla|0),($42|0),($add41|0))|0;
- $47 = $two_pass$addr;
- $tobool42 = ($47|0)!=(0);
- $48 = $intra;
- $tobool43 = ($48|0)!=(0);
- $or$cond = $tobool42 | $tobool43;
- if ($or$cond) {
- $49 = $m$addr;
- $50 = $start$addr;
- $51 = $end$addr;
- $52 = $eBands$addr;
- $53 = $budget$addr;
- $54 = $tell;
- $55 = $LM$addr;
- $arrayidx = (26741 + (($55*84)|0)|0);
- $arrayidx45 = ((($arrayidx)) + 42|0);
- $56 = $enc$addr;
- $57 = $C$addr;
- $58 = $LM$addr;
- $59 = $max_decay;
- $60 = $lfe$addr;
- $call46 = (_quant_coarse_energy_impl($49,$50,$51,$52,$vla,$53,$54,$arrayidx45,$vla36,$56,$57,$58,1,$59,$60)|0);
- $badness1 = $call46;
- }
- $61 = $intra;
- $tobool48 = ($61|0)!=(0);
- if ($tobool48) {
- $114 = $oldEBands$addr;
- $115 = $C$addr;
- $116 = $m$addr;
- $nbEBands111 = ((($116)) + 8|0);
- $117 = HEAP32[$nbEBands111>>2]|0;
- $mul112 = Math_imul($115, $117)|0;
- $mul113 = $mul112<<2;
- $118 = $oldEBands$addr;
- $sub$ptr$lhs$cast114 = $118;
- $sub$ptr$rhs$cast115 = $vla;
- $sub$ptr$sub116 = (($sub$ptr$lhs$cast114) - ($sub$ptr$rhs$cast115))|0;
- $sub$ptr$div117 = (($sub$ptr$sub116|0) / 4)&-1;
- $mul118 = 0;
- $add119 = (($mul113) + ($mul118))|0;
- _memcpy(($114|0),($vla|0),($add119|0))|0;
- $119 = $error$addr;
- $120 = $C$addr;
- $121 = $m$addr;
- $nbEBands120 = ((($121)) + 8|0);
- $122 = HEAP32[$nbEBands120>>2]|0;
- $mul121 = Math_imul($120, $122)|0;
- $mul122 = $mul121<<2;
- $123 = $error$addr;
- $sub$ptr$lhs$cast123 = $123;
- $sub$ptr$rhs$cast124 = $vla36;
- $sub$ptr$sub125 = (($sub$ptr$lhs$cast123) - ($sub$ptr$rhs$cast124))|0;
- $sub$ptr$div126 = (($sub$ptr$sub125|0) / 4)&-1;
- $mul127 = 0;
- $add128 = (($mul122) + ($mul127))|0;
- _memcpy(($119|0),($vla36|0),($add128|0))|0;
- } else {
- $62 = $enc$addr;
- $call50 = (_ec_tell_frac($62)|0);
- $tell_intra = $call50;
- $63 = $enc$addr;
- dest=$enc_intra_state; src=$63; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $call51 = (_ec_range_bytes($enc_start_state)|0);
- $nstart_bytes = $call51;
- $call52 = (_ec_range_bytes($enc_intra_state)|0);
- $nintra_bytes = $call52;
- $call53 = (_ec_get_buffer($enc_intra_state)|0);
- $64 = $nstart_bytes;
- $add$ptr = (($call53) + ($64)|0);
- $intra_buf = $add$ptr;
- $65 = $nintra_bytes;
- $66 = $nstart_bytes;
- $sub54 = (($65) - ($66))|0;
- $save_bytes = $sub54;
- $67 = $save_bytes;
- $cmp55 = ($67|0)==(0);
- $$sub54 = $cmp55 ? 1 : $sub54;
- $save_bytes = $$sub54;
- $68 = $save_bytes;
- $69 = (_llvm_stacksave()|0);
- $saved_stack59 = $69;
- $vla60$alloca_mul = $68;
- $vla60 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla60$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla60$alloca_mul)|0)+15)&-16)|0);;
- $70 = $intra_buf;
- $71 = $nintra_bytes;
- $72 = $nstart_bytes;
- $sub61 = (($71) - ($72))|0;
- $mul62 = $sub61;
- $73 = $intra_buf;
- $sub$ptr$lhs$cast63 = $vla60;
- $sub$ptr$rhs$cast64 = $73;
- $sub$ptr$sub65 = (($sub$ptr$lhs$cast63) - ($sub$ptr$rhs$cast64))|0;
- $mul66 = 0;
- $add67 = (($mul62) + ($mul66))|0;
- _memcpy(($vla60|0),($70|0),($add67|0))|0;
- $74 = $enc$addr;
- dest=$74; src=$enc_start_state; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $75 = $m$addr;
- $76 = $start$addr;
- $77 = $end$addr;
- $78 = $eBands$addr;
- $79 = $oldEBands$addr;
- $80 = $budget$addr;
- $81 = $tell;
- $82 = $LM$addr;
- $arrayidx68 = (26741 + (($82*84)|0)|0);
- $83 = $intra;
- $arrayidx69 = (($arrayidx68) + (($83*42)|0)|0);
- $84 = $error$addr;
- $85 = $enc$addr;
- $86 = $C$addr;
- $87 = $LM$addr;
- $88 = $max_decay;
- $89 = $lfe$addr;
- $call71 = (_quant_coarse_energy_impl($75,$76,$77,$78,$79,$80,$81,$arrayidx69,$84,$85,$86,$87,0,$88,$89)|0);
- $badness2 = $call71;
- $90 = $two_pass$addr;
- $tobool72 = ($90|0)!=(0);
- do {
- if ($tobool72) {
- $91 = $badness1;
- $92 = $badness2;
- $cmp74 = ($91|0)<($92|0);
- if (!($cmp74)) {
- $93 = $badness1;
- $94 = $badness2;
- $cmp77 = ($93|0)==($94|0);
- if (!($cmp77)) {
- break;
- }
- $95 = $enc$addr;
- $call80 = (_ec_tell_frac($95)|0);
- $96 = $intra_bias;
- $add81 = (($call80) + ($96))|0;
- $97 = $tell_intra;
- $cmp82 = ($add81|0)>($97|0);
- if (!($cmp82)) {
- break;
- }
- }
- $98 = $enc$addr;
- dest=$98; src=$enc_intra_state; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $99 = $intra_buf;
- $100 = $nintra_bytes;
- $101 = $nstart_bytes;
- $sub85 = (($100) - ($101))|0;
- $mul86 = $sub85;
- $102 = $intra_buf;
- $sub$ptr$lhs$cast87 = $102;
- $sub$ptr$rhs$cast88 = $vla60;
- $sub$ptr$sub89 = (($sub$ptr$lhs$cast87) - ($sub$ptr$rhs$cast88))|0;
- $mul90 = 0;
- $add91 = (($mul86) + ($mul90))|0;
- _memcpy(($99|0),($vla60|0),($add91|0))|0;
- $103 = $oldEBands$addr;
- $104 = $C$addr;
- $105 = $m$addr;
- $nbEBands92 = ((($105)) + 8|0);
- $106 = HEAP32[$nbEBands92>>2]|0;
- $mul93 = Math_imul($104, $106)|0;
- $mul94 = $mul93<<2;
- $107 = $oldEBands$addr;
- $sub$ptr$lhs$cast95 = $107;
- $sub$ptr$rhs$cast96 = $vla;
- $sub$ptr$sub97 = (($sub$ptr$lhs$cast95) - ($sub$ptr$rhs$cast96))|0;
- $sub$ptr$div98 = (($sub$ptr$sub97|0) / 4)&-1;
- $mul99 = 0;
- $add100 = (($mul94) + ($mul99))|0;
- _memcpy(($103|0),($vla|0),($add100|0))|0;
- $108 = $error$addr;
- $109 = $C$addr;
- $110 = $m$addr;
- $nbEBands101 = ((($110)) + 8|0);
- $111 = HEAP32[$nbEBands101>>2]|0;
- $mul102 = Math_imul($109, $111)|0;
- $mul103 = $mul102<<2;
- $112 = $error$addr;
- $sub$ptr$lhs$cast104 = $112;
- $sub$ptr$rhs$cast105 = $vla36;
- $sub$ptr$sub106 = (($sub$ptr$lhs$cast104) - ($sub$ptr$rhs$cast105))|0;
- $sub$ptr$div107 = (($sub$ptr$sub106|0) / 4)&-1;
- $mul108 = 0;
- $add109 = (($mul103) + ($mul108))|0;
- _memcpy(($108|0),($vla36|0),($add109|0))|0;
- $intra = 1;
- }
- } while(0);
- $113 = $saved_stack59;
- _llvm_stackrestore(($113|0));
- }
- $124 = $intra;
- $tobool130 = ($124|0)!=(0);
- if ($tobool130) {
- $125 = $new_distortion;
- $126 = $delayedIntra$addr;
- HEAPF32[$126>>2] = $125;
- $135 = $saved_stack;
- _llvm_stackrestore(($135|0));
- STACKTOP = sp;return;
- } else {
- $127 = $LM$addr;
- $arrayidx133 = (16604 + ($127<<2)|0);
- $128 = +HEAPF32[$arrayidx133>>2];
- $129 = $LM$addr;
- $arrayidx134 = (16604 + ($129<<2)|0);
- $130 = +HEAPF32[$arrayidx134>>2];
- $mul135 = $128 * $130;
- $131 = $delayedIntra$addr;
- $132 = +HEAPF32[$131>>2];
- $mul136 = $mul135 * $132;
- $133 = $new_distortion;
- $add137 = $mul136 + $133;
- $134 = $delayedIntra$addr;
- HEAPF32[$134>>2] = $add137;
- $135 = $saved_stack;
- _llvm_stackrestore(($135|0));
- STACKTOP = sp;return;
- }
-}
-function _loss_distortion($eBands,$oldEBands,$start,$end,$len,$C) {
- $eBands = $eBands|0;
- $oldEBands = $oldEBands|0;
- $start = $start|0;
- $end = $end|0;
- $len = $len|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0.0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0;
- var $9 = 0, $C$addr = 0, $add = 0, $add2 = 0, $add5 = 0.0, $arrayidx = 0, $arrayidx3 = 0, $c = 0, $cmp = 0, $cmp7 = 0, $cmp8 = 0, $cond = 0.0, $d = 0.0, $dist = 0.0, $eBands$addr = 0, $end$addr = 0, $i = 0, $inc = 0, $inc6 = 0, $len$addr = 0;
- var $mul = 0, $mul1 = 0, $mul4 = 0.0, $oldEBands$addr = 0, $start$addr = 0, $sub = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $eBands$addr = $eBands;
- $oldEBands$addr = $oldEBands;
- $start$addr = $start;
- $end$addr = $end;
- $len$addr = $len;
- $C$addr = $C;
- $dist = 0.0;
- $c = 0;
- while(1) {
- $0 = $start$addr;
- $i = $0;
- while(1) {
- $1 = $i;
- $2 = $end$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $eBands$addr;
- $4 = $i;
- $5 = $c;
- $6 = $len$addr;
- $mul = Math_imul($5, $6)|0;
- $add = (($4) + ($mul))|0;
- $arrayidx = (($3) + ($add<<2)|0);
- $7 = +HEAPF32[$arrayidx>>2];
- $8 = $oldEBands$addr;
- $9 = $i;
- $10 = $c;
- $11 = $len$addr;
- $mul1 = Math_imul($10, $11)|0;
- $add2 = (($9) + ($mul1))|0;
- $arrayidx3 = (($8) + ($add2<<2)|0);
- $12 = +HEAPF32[$arrayidx3>>2];
- $sub = $7 - $12;
- $d = $sub;
- $13 = $dist;
- $14 = $d;
- $15 = $d;
- $mul4 = $14 * $15;
- $add5 = $13 + $mul4;
- $dist = $add5;
- $16 = $i;
- $inc = (($16) + 1)|0;
- $i = $inc;
- }
- $17 = $c;
- $inc6 = (($17) + 1)|0;
- $c = $inc6;
- $18 = $C$addr;
- $cmp7 = ($inc6|0)<($18|0);
- if (!($cmp7)) {
- break;
- }
- }
- $19 = $dist;
- $cmp8 = 200.0 < $19;
- $20 = $dist;
- $cond = $cmp8 ? 200.0 : $20;
- STACKTOP = sp;return (+$cond);
-}
-function _ec_tell_122($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $_this$addr = 0, $nbits_total = 0, $rng = 0, $sub = 0, $sub1 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $nbits_total = ((($0)) + 20|0);
- $1 = HEAP32[$nbits_total>>2]|0;
- $2 = $_this$addr;
- $rng = ((($2)) + 28|0);
- $3 = HEAP32[$rng>>2]|0;
- $4 = (Math_clz32(($3|0))|0);
- $sub = (32 - ($4))|0;
- $sub1 = (($1) - ($sub))|0;
- STACKTOP = sp;return ($sub1|0);
-}
-function _quant_coarse_energy_impl($m,$start,$end,$eBands,$oldEBands,$budget,$tell,$prob_model,$error,$enc,$C,$LM,$intra,$max_decay,$lfe) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $eBands = $eBands|0;
- $oldEBands = $oldEBands|0;
- $budget = $budget|0;
- $tell = $tell|0;
- $prob_model = $prob_model|0;
- $error = $error|0;
- $enc = $enc|0;
- $C = $C|0;
- $LM = $LM|0;
- $intra = $intra|0;
- $max_decay = +$max_decay;
- $lfe = $lfe|0;
- var $$add43 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0.0;
- var $115 = 0, $116 = 0.0, $117 = 0.0, $118 = 0.0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
- var $133 = 0, $134 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0.0, $3 = 0;
- var $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0;
- var $49 = 0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0.0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
- var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0.0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
- var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $C$addr = 0, $LM$addr = 0, $add = 0, $add107 = 0;
- var $add14 = 0, $add158 = 0, $add162 = 0, $add166 = 0.0, $add167 = 0.0, $add170 = 0, $add173 = 0.0, $add19 = 0.0, $add23 = 0, $add31 = 0, $add43 = 0, $add5 = 0, $add9 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx105 = 0, $arrayidx108 = 0, $arrayidx15 = 0, $arrayidx159 = 0, $arrayidx165 = 0;
- var $arrayidx17 = 0, $arrayidx171 = 0, $arrayidx172 = 0, $arrayidx176 = 0, $arrayidx2 = 0, $arrayidx24 = 0, $arrayidx32 = 0, $arrayidx6 = 0, $badness = 0, $beta = 0.0, $bits_left = 0, $budget$addr = 0, $c = 0, $call = 0.0, $call161 = 0, $call49 = 0, $cmp = 0, $cmp11 = 0, $cmp113 = 0, $cmp116 = 0;
- var $cmp122 = 0, $cmp126 = 0, $cmp135 = 0, $cmp140 = 0, $cmp143 = 0, $cmp177 = 0, $cmp25 = 0, $cmp36 = 0, $cmp38 = 0, $cmp4 = 0, $cmp44 = 0, $cmp55 = 0, $cmp58 = 0, $cmp61 = 0, $cmp64 = 0, $cmp71 = 0, $cmp74 = 0, $cmp84 = 0, $cmp87 = 0, $cmp95 = 0;
- var $cmp98 = 0, $coef = 0.0, $cond = 0.0, $cond103 = 0, $cond121 = 0, $cond131 = 0, $cond133 = 0, $cond148 = 0, $cond184 = 0, $cond34 = 0.0, $cond69 = 0, $cond79 = 0, $cond92 = 0, $conv = 0.0, $conv106 = 0, $conv109 = 0, $conv136 = 0, $conv154 = 0.0, $conv163 = 0.0, $conv20 = 0;
- var $conv42 = 0, $decay_bound = 0.0, $eBands$addr = 0, $enc$addr = 0, $end$addr = 0, $error$addr = 0, $f = 0.0, $i = 0, $inc = 0, $inc179 = 0, $intra$addr = 0, $lfe$addr = 0, $m$addr = 0, $max_decay$addr = 0.0, $mul = 0, $mul104 = 0, $mul13 = 0, $mul134 = 0, $mul157 = 0, $mul16 = 0.0;
- var $mul164 = 0.0, $mul169 = 0, $mul174 = 0.0, $mul22 = 0, $mul30 = 0, $mul51 = 0, $mul53 = 0, $mul8 = 0, $nbEBands = 0, $nbEBands12 = 0, $nbEBands156 = 0, $nbEBands168 = 0, $nbEBands21 = 0, $nbEBands29 = 0, $nbEBands7 = 0, $oldE = 0.0, $oldEBands$addr = 0, $or$cond = 0, $or$cond1 = 0, $pi = 0;
- var $prev = 0, $prob_model$addr = 0, $q = 0.0, $qi = 0, $qi0 = 0, $shl = 0, $shl110 = 0, $start$addr = 0, $sub = 0.0, $sub112 = 0, $sub137 = 0, $sub139 = 0, $sub149 = 0, $sub155 = 0.0, $sub160 = 0, $sub175 = 0.0, $sub18 = 0.0, $sub35 = 0.0, $sub41 = 0.0, $sub50 = 0;
- var $sub52 = 0, $sub54 = 0, $sub94 = 0, $tell$addr = 0, $tmp = 0.0, $tobool = 0, $tobool180 = 0, $tobool82 = 0, $x = 0.0, $xor = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
- $prev = sp + 48|0;
- $qi = sp + 32|0;
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $eBands$addr = $eBands;
- $oldEBands$addr = $oldEBands;
- $budget$addr = $budget;
- $tell$addr = $tell;
- $prob_model$addr = $prob_model;
- $error$addr = $error;
- $enc$addr = $enc;
- $C$addr = $C;
- $LM$addr = $LM;
- $intra$addr = $intra;
- $max_decay$addr = $max_decay;
- $lfe$addr = $lfe;
- $badness = 0;
- ;HEAP32[$prev>>2]=0|0;HEAP32[$prev+4>>2]=0|0;
- $0 = $tell$addr;
- $add = (($0) + 3)|0;
- $1 = $budget$addr;
- $cmp = ($add|0)<=($1|0);
- if ($cmp) {
- $2 = $enc$addr;
- $3 = $intra$addr;
- _ec_enc_bit_logp($2,$3,3);
- }
- $4 = $intra$addr;
- $tobool = ($4|0)!=(0);
- if ($tobool) {
- $coef = 0.0;
- $beta = 0.149993896484375;
- } else {
- $5 = $LM$addr;
- $arrayidx = (16620 + ($5<<2)|0);
- $6 = +HEAPF32[$arrayidx>>2];
- $beta = $6;
- $7 = $LM$addr;
- $arrayidx2 = (16604 + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx2>>2];
- $coef = $8;
- }
- $9 = $start$addr;
- $i = $9;
- while(1) {
- $10 = $i;
- $11 = $end$addr;
- $cmp4 = ($10|0)<($11|0);
- if (!($cmp4)) {
- break;
- }
- $c = 0;
- while(1) {
- $12 = $eBands$addr;
- $13 = $i;
- $14 = $c;
- $15 = $m$addr;
- $nbEBands = ((($15)) + 8|0);
- $16 = HEAP32[$nbEBands>>2]|0;
- $mul = Math_imul($14, $16)|0;
- $add5 = (($13) + ($mul))|0;
- $arrayidx6 = (($12) + ($add5<<2)|0);
- $17 = +HEAPF32[$arrayidx6>>2];
- $x = $17;
- $18 = $oldEBands$addr;
- $19 = $i;
- $20 = $c;
- $21 = $m$addr;
- $nbEBands7 = ((($21)) + 8|0);
- $22 = HEAP32[$nbEBands7>>2]|0;
- $mul8 = Math_imul($20, $22)|0;
- $add9 = (($19) + ($mul8))|0;
- $arrayidx10 = (($18) + ($add9<<2)|0);
- $23 = +HEAPF32[$arrayidx10>>2];
- $cmp11 = -9.0 > $23;
- if ($cmp11) {
- $cond = -9.0;
- } else {
- $24 = $oldEBands$addr;
- $25 = $i;
- $26 = $c;
- $27 = $m$addr;
- $nbEBands12 = ((($27)) + 8|0);
- $28 = HEAP32[$nbEBands12>>2]|0;
- $mul13 = Math_imul($26, $28)|0;
- $add14 = (($25) + ($mul13))|0;
- $arrayidx15 = (($24) + ($add14<<2)|0);
- $29 = +HEAPF32[$arrayidx15>>2];
- $cond = $29;
- }
- $oldE = $cond;
- $30 = $x;
- $31 = $coef;
- $32 = $oldE;
- $mul16 = $31 * $32;
- $sub = $30 - $mul16;
- $33 = $c;
- $arrayidx17 = (($prev) + ($33<<2)|0);
- $34 = +HEAPF32[$arrayidx17>>2];
- $sub18 = $sub - $34;
- $f = $sub18;
- $35 = $f;
- $add19 = 0.5 + $35;
- $conv = $add19;
- $call = (+Math_floor((+$conv)));
- $conv20 = (~~(($call)));
- HEAP32[$qi>>2] = $conv20;
- $36 = $oldEBands$addr;
- $37 = $i;
- $38 = $c;
- $39 = $m$addr;
- $nbEBands21 = ((($39)) + 8|0);
- $40 = HEAP32[$nbEBands21>>2]|0;
- $mul22 = Math_imul($38, $40)|0;
- $add23 = (($37) + ($mul22))|0;
- $arrayidx24 = (($36) + ($add23<<2)|0);
- $41 = +HEAPF32[$arrayidx24>>2];
- $cmp25 = -28.0 > $41;
- if ($cmp25) {
- $cond34 = -28.0;
- } else {
- $42 = $oldEBands$addr;
- $43 = $i;
- $44 = $c;
- $45 = $m$addr;
- $nbEBands29 = ((($45)) + 8|0);
- $46 = HEAP32[$nbEBands29>>2]|0;
- $mul30 = Math_imul($44, $46)|0;
- $add31 = (($43) + ($mul30))|0;
- $arrayidx32 = (($42) + ($add31<<2)|0);
- $47 = +HEAPF32[$arrayidx32>>2];
- $cond34 = $47;
- }
- $48 = $max_decay$addr;
- $sub35 = $cond34 - $48;
- $decay_bound = $sub35;
- $49 = HEAP32[$qi>>2]|0;
- $cmp36 = ($49|0)<(0);
- if ($cmp36) {
- $50 = $x;
- $51 = $decay_bound;
- $cmp38 = $50 < $51;
- if ($cmp38) {
- $52 = $decay_bound;
- $53 = $x;
- $sub41 = $52 - $53;
- $conv42 = (~~(($sub41)));
- $54 = HEAP32[$qi>>2]|0;
- $add43 = (($54) + ($conv42))|0;
- HEAP32[$qi>>2] = $add43;
- $55 = HEAP32[$qi>>2]|0;
- $cmp44 = ($55|0)>(0);
- $$add43 = $cmp44 ? 0 : $add43;
- HEAP32[$qi>>2] = $$add43;
- }
- }
- $56 = HEAP32[$qi>>2]|0;
- $qi0 = $56;
- $57 = $enc$addr;
- $call49 = (_ec_tell_122($57)|0);
- $tell$addr = $call49;
- $58 = $budget$addr;
- $59 = $tell$addr;
- $sub50 = (($58) - ($59))|0;
- $60 = $C$addr;
- $mul51 = ($60*3)|0;
- $61 = $end$addr;
- $62 = $i;
- $sub52 = (($61) - ($62))|0;
- $mul53 = Math_imul($mul51, $sub52)|0;
- $sub54 = (($sub50) - ($mul53))|0;
- $bits_left = $sub54;
- $63 = $i;
- $64 = $start$addr;
- $cmp55 = ($63|0)!=($64|0);
- $65 = $bits_left;
- $cmp58 = ($65|0)<(30);
- $or$cond = $cmp55 & $cmp58;
- if ($or$cond) {
- $66 = $bits_left;
- $cmp61 = ($66|0)<(24);
- if ($cmp61) {
- $67 = HEAP32[$qi>>2]|0;
- $cmp64 = (1)<($67|0);
- $68 = HEAP32[$qi>>2]|0;
- $cond69 = $cmp64 ? 1 : $68;
- HEAP32[$qi>>2] = $cond69;
- }
- $69 = $bits_left;
- $cmp71 = ($69|0)<(16);
- if ($cmp71) {
- $70 = HEAP32[$qi>>2]|0;
- $cmp74 = (-1)>($70|0);
- $71 = HEAP32[$qi>>2]|0;
- $cond79 = $cmp74 ? -1 : $71;
- HEAP32[$qi>>2] = $cond79;
- }
- }
- $72 = $lfe$addr;
- $tobool82 = ($72|0)!=(0);
- $73 = $i;
- $cmp84 = ($73|0)>=(2);
- $or$cond1 = $tobool82 & $cmp84;
- if ($or$cond1) {
- $74 = HEAP32[$qi>>2]|0;
- $cmp87 = ($74|0)<(0);
- $75 = HEAP32[$qi>>2]|0;
- $cond92 = $cmp87 ? $75 : 0;
- HEAP32[$qi>>2] = $cond92;
- }
- $76 = $budget$addr;
- $77 = $tell$addr;
- $sub94 = (($76) - ($77))|0;
- $cmp95 = ($sub94|0)>=(15);
- do {
- if ($cmp95) {
- $78 = $i;
- $cmp98 = ($78|0)<(20);
- $79 = $i;
- $cond103 = $cmp98 ? $79 : 20;
- $mul104 = $cond103<<1;
- $pi = $mul104;
- $80 = $enc$addr;
- $81 = $prob_model$addr;
- $82 = $pi;
- $arrayidx105 = (($81) + ($82)|0);
- $83 = HEAP8[$arrayidx105>>0]|0;
- $conv106 = $83&255;
- $shl = $conv106 << 7;
- $84 = $prob_model$addr;
- $85 = $pi;
- $add107 = (($85) + 1)|0;
- $arrayidx108 = (($84) + ($add107)|0);
- $86 = HEAP8[$arrayidx108>>0]|0;
- $conv109 = $86&255;
- $shl110 = $conv109 << 6;
- _ec_laplace_encode($80,$qi,$shl,$shl110);
- } else {
- $87 = $budget$addr;
- $88 = $tell$addr;
- $sub112 = (($87) - ($88))|0;
- $cmp113 = ($sub112|0)>=(2);
- if ($cmp113) {
- $89 = HEAP32[$qi>>2]|0;
- $cmp116 = ($89|0)<(1);
- $90 = HEAP32[$qi>>2]|0;
- $cond121 = $cmp116 ? $90 : 1;
- $cmp122 = (-1)>($cond121|0);
- if ($cmp122) {
- $cond133 = -1;
- } else {
- $91 = HEAP32[$qi>>2]|0;
- $cmp126 = ($91|0)<(1);
- $92 = HEAP32[$qi>>2]|0;
- $cond131 = $cmp126 ? $92 : 1;
- $cond133 = $cond131;
- }
- HEAP32[$qi>>2] = $cond133;
- $93 = $enc$addr;
- $94 = HEAP32[$qi>>2]|0;
- $mul134 = $94<<1;
- $95 = HEAP32[$qi>>2]|0;
- $cmp135 = ($95|0)<(0);
- $conv136 = $cmp135&1;
- $sub137 = (0 - ($conv136))|0;
- $xor = $mul134 ^ $sub137;
- _ec_enc_icdf($93,$xor,27077,2);
- break;
- } else {
- $96 = $budget$addr;
- $97 = $tell$addr;
- $sub139 = (($96) - ($97))|0;
- $cmp140 = ($sub139|0)>=(1);
- if ($cmp140) {
- $98 = HEAP32[$qi>>2]|0;
- $cmp143 = (0)<($98|0);
- $99 = HEAP32[$qi>>2]|0;
- $cond148 = $cmp143 ? 0 : $99;
- HEAP32[$qi>>2] = $cond148;
- $100 = $enc$addr;
- $101 = HEAP32[$qi>>2]|0;
- $sub149 = (0 - ($101))|0;
- _ec_enc_bit_logp($100,$sub149,1);
- break;
- } else {
- HEAP32[$qi>>2] = -1;
- break;
- }
- }
- }
- } while(0);
- $102 = $f;
- $103 = HEAP32[$qi>>2]|0;
- $conv154 = (+($103|0));
- $sub155 = $102 - $conv154;
- $104 = $error$addr;
- $105 = $i;
- $106 = $c;
- $107 = $m$addr;
- $nbEBands156 = ((($107)) + 8|0);
- $108 = HEAP32[$nbEBands156>>2]|0;
- $mul157 = Math_imul($106, $108)|0;
- $add158 = (($105) + ($mul157))|0;
- $arrayidx159 = (($104) + ($add158<<2)|0);
- HEAPF32[$arrayidx159>>2] = $sub155;
- $109 = $qi0;
- $110 = HEAP32[$qi>>2]|0;
- $sub160 = (($109) - ($110))|0;
- $call161 = (Math_abs(($sub160|0))|0);
- $111 = $badness;
- $add162 = (($111) + ($call161))|0;
- $badness = $add162;
- $112 = HEAP32[$qi>>2]|0;
- $conv163 = (+($112|0));
- $q = $conv163;
- $113 = $coef;
- $114 = $oldE;
- $mul164 = $113 * $114;
- $115 = $c;
- $arrayidx165 = (($prev) + ($115<<2)|0);
- $116 = +HEAPF32[$arrayidx165>>2];
- $add166 = $mul164 + $116;
- $117 = $q;
- $add167 = $add166 + $117;
- $tmp = $add167;
- $118 = $tmp;
- $119 = $oldEBands$addr;
- $120 = $i;
- $121 = $c;
- $122 = $m$addr;
- $nbEBands168 = ((($122)) + 8|0);
- $123 = HEAP32[$nbEBands168>>2]|0;
- $mul169 = Math_imul($121, $123)|0;
- $add170 = (($120) + ($mul169))|0;
- $arrayidx171 = (($119) + ($add170<<2)|0);
- HEAPF32[$arrayidx171>>2] = $118;
- $124 = $c;
- $arrayidx172 = (($prev) + ($124<<2)|0);
- $125 = +HEAPF32[$arrayidx172>>2];
- $126 = $q;
- $add173 = $125 + $126;
- $127 = $beta;
- $128 = $q;
- $mul174 = $127 * $128;
- $sub175 = $add173 - $mul174;
- $129 = $c;
- $arrayidx176 = (($prev) + ($129<<2)|0);
- HEAPF32[$arrayidx176>>2] = $sub175;
- $130 = $c;
- $inc = (($130) + 1)|0;
- $c = $inc;
- $131 = $C$addr;
- $cmp177 = ($inc|0)<($131|0);
- if (!($cmp177)) {
- break;
- }
- }
- $132 = $i;
- $inc179 = (($132) + 1)|0;
- $i = $inc179;
- }
- $133 = $lfe$addr;
- $tobool180 = ($133|0)!=(0);
- $134 = $badness;
- $cond184 = $tobool180 ? 0 : $134;
- STACKTOP = sp;return ($cond184|0);
-}
-function _ec_range_bytes($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $_this$addr = 0, $offs = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $offs = ((($0)) + 24|0);
- $1 = HEAP32[$offs>>2]|0;
- STACKTOP = sp;return ($1|0);
-}
-function _ec_get_buffer($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $_this$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $1 = HEAP32[$0>>2]|0;
- STACKTOP = sp;return ($1|0);
-}
-function _quant_fine_energy($m,$start,$end,$oldEBands,$error,$fine_quant,$enc,$C) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $oldEBands = $oldEBands|0;
- $error = $error|0;
- $fine_quant = $fine_quant|0;
- $enc = $enc|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0;
- var $45 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $add = 0, $add24 = 0.0, $add34 = 0, $add36 = 0.0, $add39 = 0, $add5 = 0.0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx22 = 0, $arrayidx25 = 0, $arrayidx35 = 0, $arrayidx4 = 0, $arrayidx40 = 0;
- var $c = 0, $call = 0.0, $cmp = 0, $cmp12 = 0, $cmp18 = 0, $cmp2 = 0, $cmp42 = 0, $conv = 0, $conv10 = 0, $conv11 = 0, $conv15 = 0, $conv23 = 0.0, $conv28 = 0.0, $conv6 = 0, $conv7 = 0.0, $conv9 = 0.0, $enc$addr = 0, $end$addr = 0, $error$addr = 0, $fine_quant$addr = 0;
- var $frac = 0, $i = 0, $inc = 0, $inc44 = 0, $m$addr = 0, $mul = 0, $mul29 = 0.0, $mul30 = 0.0, $mul33 = 0, $mul38 = 0, $mul8 = 0.0, $nbEBands = 0, $nbEBands32 = 0, $nbEBands37 = 0, $offset = 0.0, $oldEBands$addr = 0, $q2 = 0, $shl = 0, $shl27 = 0, $start$addr = 0;
- var $sub = 0, $sub16 = 0, $sub26 = 0, $sub31 = 0.0, $sub41 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $oldEBands$addr = $oldEBands;
- $error$addr = $error;
- $fine_quant$addr = $fine_quant;
- $enc$addr = $enc;
- $C$addr = $C;
- $0 = $start$addr;
- $i = $0;
- while(1) {
- $1 = $i;
- $2 = $end$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $fine_quant$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = HEAP32[$arrayidx>>2]|0;
- $shl = 1 << $5;
- $conv = $shl&65535;
- $frac = $conv;
- $6 = $fine_quant$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = HEAP32[$arrayidx1>>2]|0;
- $cmp2 = ($8|0)<=(0);
- if (!($cmp2)) {
- $c = 0;
- while(1) {
- $9 = $error$addr;
- $10 = $i;
- $11 = $c;
- $12 = $m$addr;
- $nbEBands = ((($12)) + 8|0);
- $13 = HEAP32[$nbEBands>>2]|0;
- $mul = Math_imul($11, $13)|0;
- $add = (($10) + ($mul))|0;
- $arrayidx4 = (($9) + ($add<<2)|0);
- $14 = +HEAPF32[$arrayidx4>>2];
- $add5 = $14 + 0.5;
- $15 = $frac;
- $conv6 = $15 << 16 >> 16;
- $conv7 = (+($conv6|0));
- $mul8 = $add5 * $conv7;
- $conv9 = $mul8;
- $call = (+Math_floor((+$conv9)));
- $conv10 = (~~(($call)));
- $q2 = $conv10;
- $16 = $q2;
- $17 = $frac;
- $conv11 = $17 << 16 >> 16;
- $sub = (($conv11) - 1)|0;
- $cmp12 = ($16|0)>($sub|0);
- if ($cmp12) {
- $18 = $frac;
- $conv15 = $18 << 16 >> 16;
- $sub16 = (($conv15) - 1)|0;
- $q2 = $sub16;
- }
- $19 = $q2;
- $cmp18 = ($19|0)<(0);
- if ($cmp18) {
- $q2 = 0;
- }
- $20 = $enc$addr;
- $21 = $q2;
- $22 = $fine_quant$addr;
- $23 = $i;
- $arrayidx22 = (($22) + ($23<<2)|0);
- $24 = HEAP32[$arrayidx22>>2]|0;
- _ec_enc_bits($20,$21,$24);
- $25 = $q2;
- $conv23 = (+($25|0));
- $add24 = $conv23 + 0.5;
- $26 = $fine_quant$addr;
- $27 = $i;
- $arrayidx25 = (($26) + ($27<<2)|0);
- $28 = HEAP32[$arrayidx25>>2]|0;
- $sub26 = (14 - ($28))|0;
- $shl27 = 1 << $sub26;
- $conv28 = (+($shl27|0));
- $mul29 = $add24 * $conv28;
- $mul30 = $mul29 * 6.103515625E-5;
- $sub31 = $mul30 - 0.5;
- $offset = $sub31;
- $29 = $offset;
- $30 = $oldEBands$addr;
- $31 = $i;
- $32 = $c;
- $33 = $m$addr;
- $nbEBands32 = ((($33)) + 8|0);
- $34 = HEAP32[$nbEBands32>>2]|0;
- $mul33 = Math_imul($32, $34)|0;
- $add34 = (($31) + ($mul33))|0;
- $arrayidx35 = (($30) + ($add34<<2)|0);
- $35 = +HEAPF32[$arrayidx35>>2];
- $add36 = $35 + $29;
- HEAPF32[$arrayidx35>>2] = $add36;
- $36 = $offset;
- $37 = $error$addr;
- $38 = $i;
- $39 = $c;
- $40 = $m$addr;
- $nbEBands37 = ((($40)) + 8|0);
- $41 = HEAP32[$nbEBands37>>2]|0;
- $mul38 = Math_imul($39, $41)|0;
- $add39 = (($38) + ($mul38))|0;
- $arrayidx40 = (($37) + ($add39<<2)|0);
- $42 = +HEAPF32[$arrayidx40>>2];
- $sub41 = $42 - $36;
- HEAPF32[$arrayidx40>>2] = $sub41;
- $43 = $c;
- $inc = (($43) + 1)|0;
- $c = $inc;
- $44 = $C$addr;
- $cmp42 = ($inc|0)<($44|0);
- if (!($cmp42)) {
- break;
- }
- }
- }
- $45 = $i;
- $inc44 = (($45) + 1)|0;
- $i = $inc44;
- }
- STACKTOP = sp;return;
-}
-function _quant_energy_finalise($m,$start,$end,$oldEBands,$error,$fine_quant,$fine_priority,$bits_left,$enc,$C) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $oldEBands = $oldEBands|0;
- $error = $error|0;
- $fine_quant = $fine_quant|0;
- $fine_priority = $fine_priority|0;
- $bits_left = $bits_left|0;
- $enc = $enc|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $add = 0, $add18 = 0;
- var $add20 = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx19 = 0, $arrayidx6 = 0, $arrayidx8 = 0, $bits_left$addr = 0, $c = 0, $cmp = 0, $cmp2 = 0, $cmp21 = 0, $cmp3 = 0, $cmp5 = 0, $cmp7 = 0, $cmp9 = 0, $cond = 0, $conv = 0.0, $conv13 = 0.0, $dec = 0, $enc$addr = 0;
- var $end$addr = 0, $error$addr = 0, $fine_priority$addr = 0, $fine_quant$addr = 0, $i = 0, $inc = 0, $inc23 = 0, $inc25 = 0, $m$addr = 0, $mul = 0, $mul14 = 0.0, $mul15 = 0.0, $mul17 = 0, $nbEBands = 0, $nbEBands16 = 0, $offset = 0.0, $oldEBands$addr = 0, $prio = 0, $q2 = 0, $shl = 0;
- var $start$addr = 0, $sub = 0.0, $sub11 = 0, $sub12 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $oldEBands$addr = $oldEBands;
- $error$addr = $error;
- $fine_quant$addr = $fine_quant;
- $fine_priority$addr = $fine_priority;
- $bits_left$addr = $bits_left;
- $enc$addr = $enc;
- $C$addr = $C;
- $prio = 0;
- while(1) {
- $0 = $prio;
- $cmp = ($0|0)<(2);
- if (!($cmp)) {
- break;
- }
- $1 = $start$addr;
- $i = $1;
- while(1) {
- $2 = $i;
- $3 = $end$addr;
- $cmp2 = ($2|0)<($3|0);
- if (!($cmp2)) {
- break;
- }
- $4 = $bits_left$addr;
- $5 = $C$addr;
- $cmp3 = ($4|0)>=($5|0);
- if (!($cmp3)) {
- break;
- }
- $6 = $fine_quant$addr;
- $7 = $i;
- $arrayidx = (($6) + ($7<<2)|0);
- $8 = HEAP32[$arrayidx>>2]|0;
- $cmp5 = ($8|0)>=(8);
- if (!($cmp5)) {
- $9 = $fine_priority$addr;
- $10 = $i;
- $arrayidx6 = (($9) + ($10<<2)|0);
- $11 = HEAP32[$arrayidx6>>2]|0;
- $12 = $prio;
- $cmp7 = ($11|0)!=($12|0);
- if (!($cmp7)) {
- $c = 0;
- while(1) {
- $13 = $error$addr;
- $14 = $i;
- $15 = $c;
- $16 = $m$addr;
- $nbEBands = ((($16)) + 8|0);
- $17 = HEAP32[$nbEBands>>2]|0;
- $mul = Math_imul($15, $17)|0;
- $add = (($14) + ($mul))|0;
- $arrayidx8 = (($13) + ($add<<2)|0);
- $18 = +HEAPF32[$arrayidx8>>2];
- $cmp9 = $18 < 0.0;
- $cond = $cmp9 ? 0 : 1;
- $q2 = $cond;
- $19 = $enc$addr;
- $20 = $q2;
- _ec_enc_bits($19,$20,1);
- $21 = $q2;
- $conv = (+($21|0));
- $sub = $conv - 0.5;
- $22 = $fine_quant$addr;
- $23 = $i;
- $arrayidx10 = (($22) + ($23<<2)|0);
- $24 = HEAP32[$arrayidx10>>2]|0;
- $sub11 = (14 - ($24))|0;
- $sub12 = (($sub11) - 1)|0;
- $shl = 1 << $sub12;
- $conv13 = (+($shl|0));
- $mul14 = $sub * $conv13;
- $mul15 = $mul14 * 6.103515625E-5;
- $offset = $mul15;
- $25 = $offset;
- $26 = $oldEBands$addr;
- $27 = $i;
- $28 = $c;
- $29 = $m$addr;
- $nbEBands16 = ((($29)) + 8|0);
- $30 = HEAP32[$nbEBands16>>2]|0;
- $mul17 = Math_imul($28, $30)|0;
- $add18 = (($27) + ($mul17))|0;
- $arrayidx19 = (($26) + ($add18<<2)|0);
- $31 = +HEAPF32[$arrayidx19>>2];
- $add20 = $31 + $25;
- HEAPF32[$arrayidx19>>2] = $add20;
- $32 = $bits_left$addr;
- $dec = (($32) + -1)|0;
- $bits_left$addr = $dec;
- $33 = $c;
- $inc = (($33) + 1)|0;
- $c = $inc;
- $34 = $C$addr;
- $cmp21 = ($inc|0)<($34|0);
- if (!($cmp21)) {
- break;
- }
- }
- }
- }
- $35 = $i;
- $inc23 = (($35) + 1)|0;
- $i = $inc23;
- }
- $36 = $prio;
- $inc25 = (($36) + 1)|0;
- $prio = $inc25;
- }
- STACKTOP = sp;return;
-}
-function _unquant_coarse_energy($m,$start,$end,$oldEBands,$intra,$dec,$C,$LM) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $oldEBands = $oldEBands|0;
- $intra = $intra|0;
- $dec = $dec|0;
- $C = $C|0;
- $LM = $LM|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0, $4 = 0.0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0.0, $59 = 0.0, $6 = 0.0, $60 = 0.0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $8 = 0, $9 = 0, $C$addr = 0, $LM$addr = 0, $add = 0, $add33 = 0, $add41 = 0;
- var $add47 = 0, $add51 = 0, $add55 = 0.0, $add56 = 0.0, $add59 = 0, $add62 = 0.0, $and = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx34 = 0, $arrayidx42 = 0, $arrayidx48 = 0, $arrayidx52 = 0, $arrayidx54 = 0, $arrayidx60 = 0, $arrayidx61 = 0, $arrayidx65 = 0, $arrayidx8 = 0;
- var $arrayidx9 = 0, $beta = 0.0, $budget = 0, $c = 0, $call = 0, $call12 = 0, $call18 = 0, $call25 = 0, $cmp = 0, $cmp15 = 0, $cmp22 = 0, $cmp35 = 0, $cmp4 = 0, $cmp6 = 0, $cmp66 = 0, $coef = 0.0, $cond = 0, $cond44 = 0.0, $conv = 0, $conv10 = 0;
- var $conv31 = 0.0, $dec$addr = 0, $end$addr = 0, $i = 0, $inc = 0, $inc68 = 0, $intra$addr = 0, $m$addr = 0, $mul = 0, $mul32 = 0, $mul40 = 0, $mul46 = 0, $mul50 = 0, $mul53 = 0.0, $mul58 = 0, $mul63 = 0.0, $mul7 = 0, $nbEBands = 0, $nbEBands39 = 0, $nbEBands45 = 0;
- var $nbEBands49 = 0, $nbEBands57 = 0, $oldEBands$addr = 0, $pi = 0, $prev = 0, $prob_model = 0, $q = 0.0, $qi = 0, $shl = 0, $shl11 = 0, $shr = 0, $start$addr = 0, $storage = 0, $sub = 0, $sub14 = 0, $sub19 = 0, $sub21 = 0, $sub26 = 0, $sub64 = 0.0, $tell = 0;
- var $tmp = 0.0, $tobool = 0, $xor = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $prev = sp + 32|0;
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $oldEBands$addr = $oldEBands;
- $intra$addr = $intra;
- $dec$addr = $dec;
- $C$addr = $C;
- $LM$addr = $LM;
- $0 = $LM$addr;
- $arrayidx = (26741 + (($0*84)|0)|0);
- $1 = $intra$addr;
- $arrayidx1 = (($arrayidx) + (($1*42)|0)|0);
- $prob_model = $arrayidx1;
- ;HEAP32[$prev>>2]=0|0;HEAP32[$prev+4>>2]=0|0;
- $2 = $intra$addr;
- $tobool = ($2|0)!=(0);
- if ($tobool) {
- $coef = 0.0;
- $beta = 0.149993896484375;
- } else {
- $3 = $LM$addr;
- $arrayidx2 = (16620 + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx2>>2];
- $beta = $4;
- $5 = $LM$addr;
- $arrayidx3 = (16604 + ($5<<2)|0);
- $6 = +HEAPF32[$arrayidx3>>2];
- $coef = $6;
- }
- $7 = $dec$addr;
- $storage = ((($7)) + 4|0);
- $8 = HEAP32[$storage>>2]|0;
- $mul = $8<<3;
- $budget = $mul;
- $9 = $start$addr;
- $i = $9;
- while(1) {
- $10 = $i;
- $11 = $end$addr;
- $cmp = ($10|0)<($11|0);
- if (!($cmp)) {
- break;
- }
- $c = 0;
- while(1) {
- $12 = $dec$addr;
- $call = (_ec_tell_122($12)|0);
- $tell = $call;
- $13 = $budget;
- $14 = $tell;
- $sub = (($13) - ($14))|0;
- $cmp4 = ($sub|0)>=(15);
- do {
- if ($cmp4) {
- $15 = $i;
- $cmp6 = ($15|0)<(20);
- $16 = $i;
- $cond = $cmp6 ? $16 : 20;
- $mul7 = $cond<<1;
- $pi = $mul7;
- $17 = $dec$addr;
- $18 = $prob_model;
- $19 = $pi;
- $arrayidx8 = (($18) + ($19)|0);
- $20 = HEAP8[$arrayidx8>>0]|0;
- $conv = $20&255;
- $shl = $conv << 7;
- $21 = $prob_model;
- $22 = $pi;
- $add = (($22) + 1)|0;
- $arrayidx9 = (($21) + ($add)|0);
- $23 = HEAP8[$arrayidx9>>0]|0;
- $conv10 = $23&255;
- $shl11 = $conv10 << 6;
- $call12 = (_ec_laplace_decode($17,$shl,$shl11)|0);
- $qi = $call12;
- } else {
- $24 = $budget;
- $25 = $tell;
- $sub14 = (($24) - ($25))|0;
- $cmp15 = ($sub14|0)>=(2);
- if ($cmp15) {
- $26 = $dec$addr;
- $call18 = (_ec_dec_icdf($26,27077,2)|0);
- $qi = $call18;
- $27 = $qi;
- $shr = $27 >> 1;
- $28 = $qi;
- $and = $28 & 1;
- $sub19 = (0 - ($and))|0;
- $xor = $shr ^ $sub19;
- $qi = $xor;
- break;
- }
- $29 = $budget;
- $30 = $tell;
- $sub21 = (($29) - ($30))|0;
- $cmp22 = ($sub21|0)>=(1);
- if ($cmp22) {
- $31 = $dec$addr;
- $call25 = (_ec_dec_bit_logp($31,1)|0);
- $sub26 = (0 - ($call25))|0;
- $qi = $sub26;
- break;
- } else {
- $qi = -1;
- break;
- }
- }
- } while(0);
- $32 = $qi;
- $conv31 = (+($32|0));
- $q = $conv31;
- $33 = $oldEBands$addr;
- $34 = $i;
- $35 = $c;
- $36 = $m$addr;
- $nbEBands = ((($36)) + 8|0);
- $37 = HEAP32[$nbEBands>>2]|0;
- $mul32 = Math_imul($35, $37)|0;
- $add33 = (($34) + ($mul32))|0;
- $arrayidx34 = (($33) + ($add33<<2)|0);
- $38 = +HEAPF32[$arrayidx34>>2];
- $cmp35 = -9.0 > $38;
- if ($cmp35) {
- $cond44 = -9.0;
- } else {
- $39 = $oldEBands$addr;
- $40 = $i;
- $41 = $c;
- $42 = $m$addr;
- $nbEBands39 = ((($42)) + 8|0);
- $43 = HEAP32[$nbEBands39>>2]|0;
- $mul40 = Math_imul($41, $43)|0;
- $add41 = (($40) + ($mul40))|0;
- $arrayidx42 = (($39) + ($add41<<2)|0);
- $44 = +HEAPF32[$arrayidx42>>2];
- $cond44 = $44;
- }
- $45 = $oldEBands$addr;
- $46 = $i;
- $47 = $c;
- $48 = $m$addr;
- $nbEBands45 = ((($48)) + 8|0);
- $49 = HEAP32[$nbEBands45>>2]|0;
- $mul46 = Math_imul($47, $49)|0;
- $add47 = (($46) + ($mul46))|0;
- $arrayidx48 = (($45) + ($add47<<2)|0);
- HEAPF32[$arrayidx48>>2] = $cond44;
- $50 = $coef;
- $51 = $oldEBands$addr;
- $52 = $i;
- $53 = $c;
- $54 = $m$addr;
- $nbEBands49 = ((($54)) + 8|0);
- $55 = HEAP32[$nbEBands49>>2]|0;
- $mul50 = Math_imul($53, $55)|0;
- $add51 = (($52) + ($mul50))|0;
- $arrayidx52 = (($51) + ($add51<<2)|0);
- $56 = +HEAPF32[$arrayidx52>>2];
- $mul53 = $50 * $56;
- $57 = $c;
- $arrayidx54 = (($prev) + ($57<<2)|0);
- $58 = +HEAPF32[$arrayidx54>>2];
- $add55 = $mul53 + $58;
- $59 = $q;
- $add56 = $add55 + $59;
- $tmp = $add56;
- $60 = $tmp;
- $61 = $oldEBands$addr;
- $62 = $i;
- $63 = $c;
- $64 = $m$addr;
- $nbEBands57 = ((($64)) + 8|0);
- $65 = HEAP32[$nbEBands57>>2]|0;
- $mul58 = Math_imul($63, $65)|0;
- $add59 = (($62) + ($mul58))|0;
- $arrayidx60 = (($61) + ($add59<<2)|0);
- HEAPF32[$arrayidx60>>2] = $60;
- $66 = $c;
- $arrayidx61 = (($prev) + ($66<<2)|0);
- $67 = +HEAPF32[$arrayidx61>>2];
- $68 = $q;
- $add62 = $67 + $68;
- $69 = $beta;
- $70 = $q;
- $mul63 = $69 * $70;
- $sub64 = $add62 - $mul63;
- $71 = $c;
- $arrayidx65 = (($prev) + ($71<<2)|0);
- HEAPF32[$arrayidx65>>2] = $sub64;
- $72 = $c;
- $inc = (($72) + 1)|0;
- $c = $inc;
- $73 = $C$addr;
- $cmp66 = ($inc|0)<($73|0);
- if (!($cmp66)) {
- break;
- }
- }
- $74 = $i;
- $inc68 = (($74) + 1)|0;
- $i = $inc68;
- }
- STACKTOP = sp;return;
-}
-function _unquant_fine_energy($m,$start,$end,$oldEBands,$fine_quant,$dec,$C) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $oldEBands = $oldEBands|0;
- $fine_quant = $fine_quant|0;
- $dec = $dec|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0;
- var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $add = 0.0, $add10 = 0.0, $add8 = 0, $arrayidx = 0, $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx9 = 0, $c = 0, $call = 0, $cmp = 0, $cmp1 = 0, $cmp11 = 0, $conv = 0.0, $conv4 = 0.0, $dec$addr = 0;
- var $end$addr = 0, $fine_quant$addr = 0, $i = 0, $inc = 0, $inc13 = 0, $m$addr = 0, $mul = 0.0, $mul5 = 0.0, $mul7 = 0, $nbEBands = 0, $offset = 0.0, $oldEBands$addr = 0, $q2 = 0, $shl = 0, $start$addr = 0, $sub = 0, $sub6 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $oldEBands$addr = $oldEBands;
- $fine_quant$addr = $fine_quant;
- $dec$addr = $dec;
- $C$addr = $C;
- $0 = $start$addr;
- $i = $0;
- while(1) {
- $1 = $i;
- $2 = $end$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $fine_quant$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = HEAP32[$arrayidx>>2]|0;
- $cmp1 = ($5|0)<=(0);
- if (!($cmp1)) {
- $c = 0;
- while(1) {
- $6 = $dec$addr;
- $7 = $fine_quant$addr;
- $8 = $i;
- $arrayidx2 = (($7) + ($8<<2)|0);
- $9 = HEAP32[$arrayidx2>>2]|0;
- $call = (_ec_dec_bits($6,$9)|0);
- $q2 = $call;
- $10 = $q2;
- $conv = (+($10|0));
- $add = $conv + 0.5;
- $11 = $fine_quant$addr;
- $12 = $i;
- $arrayidx3 = (($11) + ($12<<2)|0);
- $13 = HEAP32[$arrayidx3>>2]|0;
- $sub = (14 - ($13))|0;
- $shl = 1 << $sub;
- $conv4 = (+($shl|0));
- $mul = $add * $conv4;
- $mul5 = $mul * 6.103515625E-5;
- $sub6 = $mul5 - 0.5;
- $offset = $sub6;
- $14 = $offset;
- $15 = $oldEBands$addr;
- $16 = $i;
- $17 = $c;
- $18 = $m$addr;
- $nbEBands = ((($18)) + 8|0);
- $19 = HEAP32[$nbEBands>>2]|0;
- $mul7 = Math_imul($17, $19)|0;
- $add8 = (($16) + ($mul7))|0;
- $arrayidx9 = (($15) + ($add8<<2)|0);
- $20 = +HEAPF32[$arrayidx9>>2];
- $add10 = $20 + $14;
- HEAPF32[$arrayidx9>>2] = $add10;
- $21 = $c;
- $inc = (($21) + 1)|0;
- $c = $inc;
- $22 = $C$addr;
- $cmp11 = ($inc|0)<($22|0);
- if (!($cmp11)) {
- break;
- }
- }
- }
- $23 = $i;
- $inc13 = (($23) + 1)|0;
- $i = $inc13;
- }
- STACKTOP = sp;return;
-}
-function _unquant_energy_finalise($m,$start,$end,$oldEBands,$fine_quant,$fine_priority,$bits_left,$dec,$C) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $oldEBands = $oldEBands|0;
- $fine_quant = $fine_quant|0;
- $fine_priority = $fine_priority|0;
- $bits_left = $bits_left|0;
- $dec = $dec|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $add = 0, $add15 = 0.0, $arrayidx = 0, $arrayidx14 = 0, $arrayidx6 = 0, $arrayidx8 = 0, $bits_left$addr = 0, $c = 0, $call = 0;
- var $cmp = 0, $cmp17 = 0, $cmp2 = 0, $cmp3 = 0, $cmp5 = 0, $cmp7 = 0, $conv = 0.0, $conv11 = 0.0, $dec$addr = 0, $dec16 = 0, $end$addr = 0, $fine_priority$addr = 0, $fine_quant$addr = 0, $i = 0, $inc = 0, $inc19 = 0, $inc21 = 0, $m$addr = 0, $mul = 0.0, $mul12 = 0.0;
- var $mul13 = 0, $nbEBands = 0, $offset = 0.0, $oldEBands$addr = 0, $prio = 0, $q2 = 0, $shl = 0, $start$addr = 0, $sub = 0.0, $sub10 = 0, $sub9 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $oldEBands$addr = $oldEBands;
- $fine_quant$addr = $fine_quant;
- $fine_priority$addr = $fine_priority;
- $bits_left$addr = $bits_left;
- $dec$addr = $dec;
- $C$addr = $C;
- $prio = 0;
- while(1) {
- $0 = $prio;
- $cmp = ($0|0)<(2);
- if (!($cmp)) {
- break;
- }
- $1 = $start$addr;
- $i = $1;
- while(1) {
- $2 = $i;
- $3 = $end$addr;
- $cmp2 = ($2|0)<($3|0);
- if (!($cmp2)) {
- break;
- }
- $4 = $bits_left$addr;
- $5 = $C$addr;
- $cmp3 = ($4|0)>=($5|0);
- if (!($cmp3)) {
- break;
- }
- $6 = $fine_quant$addr;
- $7 = $i;
- $arrayidx = (($6) + ($7<<2)|0);
- $8 = HEAP32[$arrayidx>>2]|0;
- $cmp5 = ($8|0)>=(8);
- if (!($cmp5)) {
- $9 = $fine_priority$addr;
- $10 = $i;
- $arrayidx6 = (($9) + ($10<<2)|0);
- $11 = HEAP32[$arrayidx6>>2]|0;
- $12 = $prio;
- $cmp7 = ($11|0)!=($12|0);
- if (!($cmp7)) {
- $c = 0;
- while(1) {
- $13 = $dec$addr;
- $call = (_ec_dec_bits($13,1)|0);
- $q2 = $call;
- $14 = $q2;
- $conv = (+($14|0));
- $sub = $conv - 0.5;
- $15 = $fine_quant$addr;
- $16 = $i;
- $arrayidx8 = (($15) + ($16<<2)|0);
- $17 = HEAP32[$arrayidx8>>2]|0;
- $sub9 = (14 - ($17))|0;
- $sub10 = (($sub9) - 1)|0;
- $shl = 1 << $sub10;
- $conv11 = (+($shl|0));
- $mul = $sub * $conv11;
- $mul12 = $mul * 6.103515625E-5;
- $offset = $mul12;
- $18 = $offset;
- $19 = $oldEBands$addr;
- $20 = $i;
- $21 = $c;
- $22 = $m$addr;
- $nbEBands = ((($22)) + 8|0);
- $23 = HEAP32[$nbEBands>>2]|0;
- $mul13 = Math_imul($21, $23)|0;
- $add = (($20) + ($mul13))|0;
- $arrayidx14 = (($19) + ($add<<2)|0);
- $24 = +HEAPF32[$arrayidx14>>2];
- $add15 = $24 + $18;
- HEAPF32[$arrayidx14>>2] = $add15;
- $25 = $bits_left$addr;
- $dec16 = (($25) + -1)|0;
- $bits_left$addr = $dec16;
- $26 = $c;
- $inc = (($26) + 1)|0;
- $c = $inc;
- $27 = $C$addr;
- $cmp17 = ($inc|0)<($27|0);
- if (!($cmp17)) {
- break;
- }
- }
- }
- }
- $28 = $i;
- $inc19 = (($28) + 1)|0;
- $i = $inc19;
- }
- $29 = $prio;
- $inc21 = (($29) + 1)|0;
- $prio = $inc21;
- }
- STACKTOP = sp;return;
-}
-function _amp2Log2($m,$effEnd,$end,$bandE,$bandLogE,$C) {
- $m = $m|0;
- $effEnd = $effEnd|0;
- $end = $end|0;
- $bandE = $bandE|0;
- $bandLogE = $bandLogE|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0.0, $C$addr = 0, $add = 0, $add14 = 0, $add6 = 0, $arrayidx = 0, $arrayidx15 = 0, $arrayidx3 = 0, $arrayidx7 = 0, $bandE$addr = 0, $bandLogE$addr = 0, $c = 0, $call = 0.0, $cmp = 0;
- var $cmp20 = 0, $cmp9 = 0, $conv = 0.0, $conv2 = 0.0, $effEnd$addr = 0, $end$addr = 0, $i = 0, $inc = 0, $inc17 = 0, $inc19 = 0, $m$addr = 0, $mul = 0, $mul1 = 0.0, $mul13 = 0, $mul5 = 0, $nbEBands = 0, $nbEBands12 = 0, $nbEBands4 = 0, $sub = 0.0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $m$addr = $m;
- $effEnd$addr = $effEnd;
- $end$addr = $end;
- $bandE$addr = $bandE;
- $bandLogE$addr = $bandLogE;
- $C$addr = $C;
- $c = 0;
- while(1) {
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $effEnd$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $bandE$addr;
- $3 = $i;
- $4 = $c;
- $5 = $m$addr;
- $nbEBands = ((($5)) + 8|0);
- $6 = HEAP32[$nbEBands>>2]|0;
- $mul = Math_imul($4, $6)|0;
- $add = (($3) + ($mul))|0;
- $arrayidx = (($2) + ($add<<2)|0);
- $7 = +HEAPF32[$arrayidx>>2];
- $conv = $7;
- $call = (+Math_log((+$conv)));
- $mul1 = 1.4426950408889634 * $call;
- $conv2 = $mul1;
- $8 = $i;
- $arrayidx3 = (16504 + ($8<<2)|0);
- $9 = +HEAPF32[$arrayidx3>>2];
- $sub = $conv2 - $9;
- $10 = $bandLogE$addr;
- $11 = $i;
- $12 = $c;
- $13 = $m$addr;
- $nbEBands4 = ((($13)) + 8|0);
- $14 = HEAP32[$nbEBands4>>2]|0;
- $mul5 = Math_imul($12, $14)|0;
- $add6 = (($11) + ($mul5))|0;
- $arrayidx7 = (($10) + ($add6<<2)|0);
- HEAPF32[$arrayidx7>>2] = $sub;
- $15 = $i;
- $inc = (($15) + 1)|0;
- $i = $inc;
- }
- $16 = $effEnd$addr;
- $i = $16;
- while(1) {
- $17 = $i;
- $18 = $end$addr;
- $cmp9 = ($17|0)<($18|0);
- if (!($cmp9)) {
- break;
- }
- $19 = $bandLogE$addr;
- $20 = $c;
- $21 = $m$addr;
- $nbEBands12 = ((($21)) + 8|0);
- $22 = HEAP32[$nbEBands12>>2]|0;
- $mul13 = Math_imul($20, $22)|0;
- $23 = $i;
- $add14 = (($mul13) + ($23))|0;
- $arrayidx15 = (($19) + ($add14<<2)|0);
- HEAPF32[$arrayidx15>>2] = -14.0;
- $24 = $i;
- $inc17 = (($24) + 1)|0;
- $i = $inc17;
- }
- $25 = $c;
- $inc19 = (($25) + 1)|0;
- $c = $inc19;
- $26 = $C$addr;
- $cmp20 = ($inc19|0)<($26|0);
- if (!($cmp20)) {
- break;
- }
- }
- STACKTOP = sp;return;
-}
-function _compute_allocation($m,$start,$end,$offsets,$cap,$alloc_trim,$intensity,$dual_stereo,$total,$balance,$pulses,$ebits,$fine_priority,$C,$LM,$ec,$encode,$prev,$signalBandwidth) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $offsets = $offsets|0;
- $cap = $cap|0;
- $alloc_trim = $alloc_trim|0;
- $intensity = $intensity|0;
- $dual_stereo = $dual_stereo|0;
- $total = $total|0;
- $balance = $balance|0;
- $pulses = $pulses|0;
- $ebits = $ebits|0;
- $fine_priority = $fine_priority|0;
- $C = $C|0;
- $LM = $LM|0;
- $ec = $ec|0;
- $encode = $encode|0;
- $prev = $prev|0;
- $signalBandwidth = $signalBandwidth|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0;
- var $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
- var $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0;
- var $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0;
- var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $C$addr = 0, $LM$addr = 0, $N = 0, $N159 = 0, $add = 0, $add100 = 0, $add110 = 0, $add116 = 0, $add121 = 0, $add134 = 0, $add141 = 0, $add150 = 0, $add161 = 0;
- var $add171 = 0, $add186 = 0, $add198 = 0, $add204 = 0, $add212 = 0, $add218 = 0, $add226 = 0, $add229 = 0, $add33 = 0, $add48 = 0, $add62 = 0, $add68 = 0, $add84 = 0, $add91 = 0, $allocVectors = 0, $allocVectors169 = 0, $allocVectors184 = 0, $alloc_trim$addr = 0, $arrayidx = 0, $arrayidx101 = 0;
- var $arrayidx109 = 0, $arrayidx115 = 0, $arrayidx120 = 0, $arrayidx122 = 0, $arrayidx126 = 0, $arrayidx131 = 0, $arrayidx162 = 0, $arrayidx165 = 0, $arrayidx172 = 0, $arrayidx181 = 0, $arrayidx187 = 0, $arrayidx19 = 0, $arrayidx197 = 0, $arrayidx203 = 0, $arrayidx211 = 0, $arrayidx217 = 0, $arrayidx22 = 0, $arrayidx225 = 0, $arrayidx228 = 0, $arrayidx230 = 0;
- var $arrayidx243 = 0, $arrayidx244 = 0, $arrayidx34 = 0, $arrayidx37 = 0, $arrayidx46 = 0, $arrayidx49 = 0, $arrayidx52 = 0, $arrayidx66 = 0, $arrayidx69 = 0, $arrayidx72 = 0, $arrayidx80 = 0, $arrayidx92 = 0, $arrayidx95 = 0, $balance$addr = 0, $bits1j = 0, $bits2j = 0, $bitsj = 0, $call = 0, $cap$addr = 0, $cmp = 0;
- var $cmp1 = 0, $cmp106 = 0, $cmp111 = 0, $cmp123 = 0, $cmp127 = 0, $cmp137 = 0, $cmp145 = 0, $cmp152 = 0, $cmp156 = 0, $cmp17 = 0, $cmp178 = 0, $cmp194 = 0, $cmp199 = 0, $cmp208 = 0, $cmp213 = 0, $cmp222 = 0, $cmp231 = 0, $cmp236 = 0, $cmp27 = 0, $cmp3 = 0;
- var $cmp5 = 0, $cmp76 = 0, $cmp87 = 0, $cmp9 = 0, $codedBands = 0, $cond = 0, $cond11 = 0, $cond118 = 0, $cond133 = 0, $cond193 = 0, $cond2 = 0, $cond206 = 0, $cond220 = 0, $cond242 = 0, $cond45 = 0, $conv = 0, $conv102 = 0, $conv163 = 0, $conv166 = 0, $conv173 = 0;
- var $conv188 = 0, $conv20 = 0, $conv23 = 0, $conv35 = 0, $conv38 = 0, $conv50 = 0, $conv53 = 0, $conv70 = 0, $conv73 = 0, $conv93 = 0, $conv96 = 0, $dec = 0, $dec154 = 0, $done = 0, $dual_stereo$addr = 0, $dual_stereo_rsv = 0, $eBands = 0, $eBands160 = 0, $eBands164 = 0, $eBands21 = 0;
- var $eBands32 = 0, $eBands36 = 0, $eBands47 = 0, $eBands51 = 0, $eBands67 = 0, $eBands71 = 0, $eBands90 = 0, $eBands94 = 0, $ebits$addr = 0, $ec$addr = 0, $encode$addr = 0, $end$addr = 0, $fine_priority$addr = 0, $hi = 0, $inc = 0, $inc246 = 0, $intensity$addr = 0, $intensity_rsv = 0, $j = 0, $len = 0;
- var $lo = 0, $m$addr = 0, $mid = 0, $mul = 0, $mul103 = 0, $mul168 = 0, $mul170 = 0, $mul174 = 0, $mul183 = 0, $mul185 = 0, $mul189 = 0, $mul40 = 0, $mul55 = 0, $mul58 = 0, $mul61 = 0, $mul64 = 0, $mul98 = 0, $mul99 = 0, $nbAllocVectors = 0, $nbAllocVectors177 = 0;
- var $nbEBands = 0, $offsets$addr = 0, $or$cond = 0, $prev$addr = 0, $psum = 0, $pulses$addr = 0, $saved_stack = 0, $shl = 0, $shl104 = 0, $shl136 = 0, $shl140 = 0, $shl175 = 0, $shl190 = 0, $shl25 = 0, $shl26 = 0, $shl30 = 0, $shl41 = 0, $shl42 = 0, $shl63 = 0, $shl75 = 0;
- var $shl79 = 0, $shr = 0, $shr105 = 0, $shr176 = 0, $shr191 = 0, $shr43 = 0, $shr65 = 0, $shr85 = 0, $signalBandwidth$addr = 0, $skip_rsv = 0, $skip_start = 0, $start$addr = 0, $sub = 0, $sub12 = 0, $sub148 = 0, $sub167 = 0, $sub235 = 0, $sub24 = 0, $sub240 = 0, $sub39 = 0;
- var $sub4 = 0, $sub54 = 0, $sub56 = 0, $sub57 = 0, $sub59 = 0, $sub60 = 0, $sub74 = 0, $sub8 = 0, $sub81 = 0, $sub83 = 0, $sub97 = 0, $tobool = 0, $total$addr = 0, $vla = 0, $vla$alloca_mul = 0, $vla14 = 0, $vla14$alloca_mul = 0, $vla15 = 0, $vla15$alloca_mul = 0, $vla16 = 0;
- var $vla16$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $offsets$addr = $offsets;
- $cap$addr = $cap;
- $alloc_trim$addr = $alloc_trim;
- $intensity$addr = $intensity;
- $dual_stereo$addr = $dual_stereo;
- $total$addr = $total;
- $balance$addr = $balance;
- $pulses$addr = $pulses;
- $ebits$addr = $ebits;
- $fine_priority$addr = $fine_priority;
- $C$addr = $C;
- $LM$addr = $LM;
- $ec$addr = $ec;
- $encode$addr = $encode;
- $prev$addr = $prev;
- $signalBandwidth$addr = $signalBandwidth;
- $0 = $total$addr;
- $cmp = ($0|0)>(0);
- $1 = $total$addr;
- $cond = $cmp ? $1 : 0;
- $total$addr = $cond;
- $2 = $m$addr;
- $nbEBands = ((($2)) + 8|0);
- $3 = HEAP32[$nbEBands>>2]|0;
- $len = $3;
- $4 = $start$addr;
- $skip_start = $4;
- $5 = $total$addr;
- $cmp1 = ($5|0)>=(8);
- $cond2 = $cmp1 ? 8 : 0;
- $skip_rsv = $cond2;
- $6 = $skip_rsv;
- $7 = $total$addr;
- $sub = (($7) - ($6))|0;
- $total$addr = $sub;
- $dual_stereo_rsv = 0;
- $intensity_rsv = 0;
- $8 = $C$addr;
- $cmp3 = ($8|0)==(2);
- do {
- if ($cmp3) {
- $9 = $end$addr;
- $10 = $start$addr;
- $sub4 = (($9) - ($10))|0;
- $arrayidx = (27080 + ($sub4)|0);
- $11 = HEAP8[$arrayidx>>0]|0;
- $conv = $11&255;
- $intensity_rsv = $conv;
- $12 = $intensity_rsv;
- $13 = $total$addr;
- $cmp5 = ($12|0)>($13|0);
- if ($cmp5) {
- $intensity_rsv = 0;
- break;
- } else {
- $14 = $intensity_rsv;
- $15 = $total$addr;
- $sub8 = (($15) - ($14))|0;
- $total$addr = $sub8;
- $16 = $total$addr;
- $cmp9 = ($16|0)>=(8);
- $cond11 = $cmp9 ? 8 : 0;
- $dual_stereo_rsv = $cond11;
- $17 = $dual_stereo_rsv;
- $18 = $total$addr;
- $sub12 = (($18) - ($17))|0;
- $total$addr = $sub12;
- break;
- }
- }
- } while(0);
- $19 = $len;
- $20 = (_llvm_stacksave()|0);
- $saved_stack = $20;
- $vla$alloca_mul = $19<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $21 = $len;
- $vla14$alloca_mul = $21<<2;
- $vla14 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla14$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla14$alloca_mul)|0)+15)&-16)|0);;
- $22 = $len;
- $vla15$alloca_mul = $22<<2;
- $vla15 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla15$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla15$alloca_mul)|0)+15)&-16)|0);;
- $23 = $len;
- $vla16$alloca_mul = $23<<2;
- $vla16 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla16$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla16$alloca_mul)|0)+15)&-16)|0);;
- $24 = $start$addr;
- $j = $24;
- while(1) {
- $25 = $j;
- $26 = $end$addr;
- $cmp17 = ($25|0)<($26|0);
- if (!($cmp17)) {
- break;
- }
- $27 = $C$addr;
- $shl = $27 << 3;
- $28 = $m$addr;
- $eBands = ((($28)) + 32|0);
- $29 = HEAP32[$eBands>>2]|0;
- $30 = $j;
- $add = (($30) + 1)|0;
- $arrayidx19 = (($29) + ($add<<1)|0);
- $31 = HEAP16[$arrayidx19>>1]|0;
- $conv20 = $31 << 16 >> 16;
- $32 = $m$addr;
- $eBands21 = ((($32)) + 32|0);
- $33 = HEAP32[$eBands21>>2]|0;
- $34 = $j;
- $arrayidx22 = (($33) + ($34<<1)|0);
- $35 = HEAP16[$arrayidx22>>1]|0;
- $conv23 = $35 << 16 >> 16;
- $sub24 = (($conv20) - ($conv23))|0;
- $mul = ($sub24*3)|0;
- $36 = $LM$addr;
- $shl25 = $mul << $36;
- $shl26 = $shl25 << 3;
- $shr = $shl26 >> 4;
- $cmp27 = ($shl|0)>($shr|0);
- if ($cmp27) {
- $37 = $C$addr;
- $shl30 = $37 << 3;
- $cond45 = $shl30;
- } else {
- $38 = $m$addr;
- $eBands32 = ((($38)) + 32|0);
- $39 = HEAP32[$eBands32>>2]|0;
- $40 = $j;
- $add33 = (($40) + 1)|0;
- $arrayidx34 = (($39) + ($add33<<1)|0);
- $41 = HEAP16[$arrayidx34>>1]|0;
- $conv35 = $41 << 16 >> 16;
- $42 = $m$addr;
- $eBands36 = ((($42)) + 32|0);
- $43 = HEAP32[$eBands36>>2]|0;
- $44 = $j;
- $arrayidx37 = (($43) + ($44<<1)|0);
- $45 = HEAP16[$arrayidx37>>1]|0;
- $conv38 = $45 << 16 >> 16;
- $sub39 = (($conv35) - ($conv38))|0;
- $mul40 = ($sub39*3)|0;
- $46 = $LM$addr;
- $shl41 = $mul40 << $46;
- $shl42 = $shl41 << 3;
- $shr43 = $shl42 >> 4;
- $cond45 = $shr43;
- }
- $47 = $j;
- $arrayidx46 = (($vla15) + ($47<<2)|0);
- HEAP32[$arrayidx46>>2] = $cond45;
- $48 = $C$addr;
- $49 = $m$addr;
- $eBands47 = ((($49)) + 32|0);
- $50 = HEAP32[$eBands47>>2]|0;
- $51 = $j;
- $add48 = (($51) + 1)|0;
- $arrayidx49 = (($50) + ($add48<<1)|0);
- $52 = HEAP16[$arrayidx49>>1]|0;
- $conv50 = $52 << 16 >> 16;
- $53 = $m$addr;
- $eBands51 = ((($53)) + 32|0);
- $54 = HEAP32[$eBands51>>2]|0;
- $55 = $j;
- $arrayidx52 = (($54) + ($55<<1)|0);
- $56 = HEAP16[$arrayidx52>>1]|0;
- $conv53 = $56 << 16 >> 16;
- $sub54 = (($conv50) - ($conv53))|0;
- $mul55 = Math_imul($48, $sub54)|0;
- $57 = $alloc_trim$addr;
- $sub56 = (($57) - 5)|0;
- $58 = $LM$addr;
- $sub57 = (($sub56) - ($58))|0;
- $mul58 = Math_imul($mul55, $sub57)|0;
- $59 = $end$addr;
- $60 = $j;
- $sub59 = (($59) - ($60))|0;
- $sub60 = (($sub59) - 1)|0;
- $mul61 = Math_imul($mul58, $sub60)|0;
- $61 = $LM$addr;
- $add62 = (($61) + 3)|0;
- $shl63 = 1 << $add62;
- $mul64 = Math_imul($mul61, $shl63)|0;
- $shr65 = $mul64 >> 6;
- $62 = $j;
- $arrayidx66 = (($vla16) + ($62<<2)|0);
- HEAP32[$arrayidx66>>2] = $shr65;
- $63 = $m$addr;
- $eBands67 = ((($63)) + 32|0);
- $64 = HEAP32[$eBands67>>2]|0;
- $65 = $j;
- $add68 = (($65) + 1)|0;
- $arrayidx69 = (($64) + ($add68<<1)|0);
- $66 = HEAP16[$arrayidx69>>1]|0;
- $conv70 = $66 << 16 >> 16;
- $67 = $m$addr;
- $eBands71 = ((($67)) + 32|0);
- $68 = HEAP32[$eBands71>>2]|0;
- $69 = $j;
- $arrayidx72 = (($68) + ($69<<1)|0);
- $70 = HEAP16[$arrayidx72>>1]|0;
- $conv73 = $70 << 16 >> 16;
- $sub74 = (($conv70) - ($conv73))|0;
- $71 = $LM$addr;
- $shl75 = $sub74 << $71;
- $cmp76 = ($shl75|0)==(1);
- if ($cmp76) {
- $72 = $C$addr;
- $shl79 = $72 << 3;
- $73 = $j;
- $arrayidx80 = (($vla16) + ($73<<2)|0);
- $74 = HEAP32[$arrayidx80>>2]|0;
- $sub81 = (($74) - ($shl79))|0;
- HEAP32[$arrayidx80>>2] = $sub81;
- }
- $75 = $j;
- $inc = (($75) + 1)|0;
- $j = $inc;
- }
- $lo = 1;
- $76 = $m$addr;
- $nbAllocVectors = ((($76)) + 48|0);
- $77 = HEAP32[$nbAllocVectors>>2]|0;
- $sub83 = (($77) - 1)|0;
- $hi = $sub83;
- while(1) {
- $done = 0;
- $psum = 0;
- $78 = $lo;
- $79 = $hi;
- $add84 = (($78) + ($79))|0;
- $shr85 = $add84 >> 1;
- $mid = $shr85;
- $80 = $end$addr;
- $j = $80;
- while(1) {
- $81 = $j;
- $dec = (($81) + -1)|0;
- $j = $dec;
- $82 = $start$addr;
- $cmp87 = ($81|0)>($82|0);
- if (!($cmp87)) {
- break;
- }
- $83 = $m$addr;
- $eBands90 = ((($83)) + 32|0);
- $84 = HEAP32[$eBands90>>2]|0;
- $85 = $j;
- $add91 = (($85) + 1)|0;
- $arrayidx92 = (($84) + ($add91<<1)|0);
- $86 = HEAP16[$arrayidx92>>1]|0;
- $conv93 = $86 << 16 >> 16;
- $87 = $m$addr;
- $eBands94 = ((($87)) + 32|0);
- $88 = HEAP32[$eBands94>>2]|0;
- $89 = $j;
- $arrayidx95 = (($88) + ($89<<1)|0);
- $90 = HEAP16[$arrayidx95>>1]|0;
- $conv96 = $90 << 16 >> 16;
- $sub97 = (($conv93) - ($conv96))|0;
- $N = $sub97;
- $91 = $C$addr;
- $92 = $N;
- $mul98 = Math_imul($91, $92)|0;
- $93 = $m$addr;
- $allocVectors = ((($93)) + 52|0);
- $94 = HEAP32[$allocVectors>>2]|0;
- $95 = $mid;
- $96 = $len;
- $mul99 = Math_imul($95, $96)|0;
- $97 = $j;
- $add100 = (($mul99) + ($97))|0;
- $arrayidx101 = (($94) + ($add100)|0);
- $98 = HEAP8[$arrayidx101>>0]|0;
- $conv102 = $98&255;
- $mul103 = Math_imul($mul98, $conv102)|0;
- $99 = $LM$addr;
- $shl104 = $mul103 << $99;
- $shr105 = $shl104 >> 2;
- $bitsj = $shr105;
- $100 = $bitsj;
- $cmp106 = ($100|0)>(0);
- if ($cmp106) {
- $101 = $bitsj;
- $102 = $j;
- $arrayidx109 = (($vla16) + ($102<<2)|0);
- $103 = HEAP32[$arrayidx109>>2]|0;
- $add110 = (($101) + ($103))|0;
- $cmp111 = (0)>($add110|0);
- if ($cmp111) {
- $cond118 = 0;
- } else {
- $104 = $bitsj;
- $105 = $j;
- $arrayidx115 = (($vla16) + ($105<<2)|0);
- $106 = HEAP32[$arrayidx115>>2]|0;
- $add116 = (($104) + ($106))|0;
- $cond118 = $add116;
- }
- $bitsj = $cond118;
- }
- $107 = $offsets$addr;
- $108 = $j;
- $arrayidx120 = (($107) + ($108<<2)|0);
- $109 = HEAP32[$arrayidx120>>2]|0;
- $110 = $bitsj;
- $add121 = (($110) + ($109))|0;
- $bitsj = $add121;
- $111 = $bitsj;
- $112 = $j;
- $arrayidx122 = (($vla15) + ($112<<2)|0);
- $113 = HEAP32[$arrayidx122>>2]|0;
- $cmp123 = ($111|0)>=($113|0);
- $114 = $done;
- $tobool = ($114|0)!=(0);
- $or$cond = $cmp123 | $tobool;
- if (!($or$cond)) {
- $124 = $bitsj;
- $125 = $C$addr;
- $shl136 = $125 << 3;
- $cmp137 = ($124|0)>=($shl136|0);
- if (!($cmp137)) {
- continue;
- }
- $126 = $C$addr;
- $shl140 = $126 << 3;
- $127 = $psum;
- $add141 = (($127) + ($shl140))|0;
- $psum = $add141;
- continue;
- }
- $done = 1;
- $115 = $bitsj;
- $116 = $cap$addr;
- $117 = $j;
- $arrayidx126 = (($116) + ($117<<2)|0);
- $118 = HEAP32[$arrayidx126>>2]|0;
- $cmp127 = ($115|0)<($118|0);
- if ($cmp127) {
- $119 = $bitsj;
- $cond133 = $119;
- } else {
- $120 = $cap$addr;
- $121 = $j;
- $arrayidx131 = (($120) + ($121<<2)|0);
- $122 = HEAP32[$arrayidx131>>2]|0;
- $cond133 = $122;
- }
- $123 = $psum;
- $add134 = (($123) + ($cond133))|0;
- $psum = $add134;
- }
- $128 = $psum;
- $129 = $total$addr;
- $cmp145 = ($128|0)>($129|0);
- $130 = $mid;
- if ($cmp145) {
- $sub148 = (($130) - 1)|0;
- $hi = $sub148;
- } else {
- $add150 = (($130) + 1)|0;
- $lo = $add150;
- }
- $131 = $lo;
- $132 = $hi;
- $cmp152 = ($131|0)<=($132|0);
- if (!($cmp152)) {
- break;
- }
- }
- $133 = $lo;
- $dec154 = (($133) + -1)|0;
- $lo = $dec154;
- $hi = $133;
- $134 = $start$addr;
- $j = $134;
- while(1) {
- $135 = $j;
- $136 = $end$addr;
- $cmp156 = ($135|0)<($136|0);
- $137 = $m$addr;
- if (!($cmp156)) {
- break;
- }
- $eBands160 = ((($137)) + 32|0);
- $138 = HEAP32[$eBands160>>2]|0;
- $139 = $j;
- $add161 = (($139) + 1)|0;
- $arrayidx162 = (($138) + ($add161<<1)|0);
- $140 = HEAP16[$arrayidx162>>1]|0;
- $conv163 = $140 << 16 >> 16;
- $141 = $m$addr;
- $eBands164 = ((($141)) + 32|0);
- $142 = HEAP32[$eBands164>>2]|0;
- $143 = $j;
- $arrayidx165 = (($142) + ($143<<1)|0);
- $144 = HEAP16[$arrayidx165>>1]|0;
- $conv166 = $144 << 16 >> 16;
- $sub167 = (($conv163) - ($conv166))|0;
- $N159 = $sub167;
- $145 = $C$addr;
- $146 = $N159;
- $mul168 = Math_imul($145, $146)|0;
- $147 = $m$addr;
- $allocVectors169 = ((($147)) + 52|0);
- $148 = HEAP32[$allocVectors169>>2]|0;
- $149 = $lo;
- $150 = $len;
- $mul170 = Math_imul($149, $150)|0;
- $151 = $j;
- $add171 = (($mul170) + ($151))|0;
- $arrayidx172 = (($148) + ($add171)|0);
- $152 = HEAP8[$arrayidx172>>0]|0;
- $conv173 = $152&255;
- $mul174 = Math_imul($mul168, $conv173)|0;
- $153 = $LM$addr;
- $shl175 = $mul174 << $153;
- $shr176 = $shl175 >> 2;
- $bits1j = $shr176;
- $154 = $hi;
- $155 = $m$addr;
- $nbAllocVectors177 = ((($155)) + 48|0);
- $156 = HEAP32[$nbAllocVectors177>>2]|0;
- $cmp178 = ($154|0)>=($156|0);
- if ($cmp178) {
- $157 = $cap$addr;
- $158 = $j;
- $arrayidx181 = (($157) + ($158<<2)|0);
- $159 = HEAP32[$arrayidx181>>2]|0;
- $cond193 = $159;
- } else {
- $160 = $C$addr;
- $161 = $N159;
- $mul183 = Math_imul($160, $161)|0;
- $162 = $m$addr;
- $allocVectors184 = ((($162)) + 52|0);
- $163 = HEAP32[$allocVectors184>>2]|0;
- $164 = $hi;
- $165 = $len;
- $mul185 = Math_imul($164, $165)|0;
- $166 = $j;
- $add186 = (($mul185) + ($166))|0;
- $arrayidx187 = (($163) + ($add186)|0);
- $167 = HEAP8[$arrayidx187>>0]|0;
- $conv188 = $167&255;
- $mul189 = Math_imul($mul183, $conv188)|0;
- $168 = $LM$addr;
- $shl190 = $mul189 << $168;
- $shr191 = $shl190 >> 2;
- $cond193 = $shr191;
- }
- $bits2j = $cond193;
- $169 = $bits1j;
- $cmp194 = ($169|0)>(0);
- if ($cmp194) {
- $170 = $bits1j;
- $171 = $j;
- $arrayidx197 = (($vla16) + ($171<<2)|0);
- $172 = HEAP32[$arrayidx197>>2]|0;
- $add198 = (($170) + ($172))|0;
- $cmp199 = (0)>($add198|0);
- if ($cmp199) {
- $cond206 = 0;
- } else {
- $173 = $bits1j;
- $174 = $j;
- $arrayidx203 = (($vla16) + ($174<<2)|0);
- $175 = HEAP32[$arrayidx203>>2]|0;
- $add204 = (($173) + ($175))|0;
- $cond206 = $add204;
- }
- $bits1j = $cond206;
- }
- $176 = $bits2j;
- $cmp208 = ($176|0)>(0);
- if ($cmp208) {
- $177 = $bits2j;
- $178 = $j;
- $arrayidx211 = (($vla16) + ($178<<2)|0);
- $179 = HEAP32[$arrayidx211>>2]|0;
- $add212 = (($177) + ($179))|0;
- $cmp213 = (0)>($add212|0);
- if ($cmp213) {
- $cond220 = 0;
- } else {
- $180 = $bits2j;
- $181 = $j;
- $arrayidx217 = (($vla16) + ($181<<2)|0);
- $182 = HEAP32[$arrayidx217>>2]|0;
- $add218 = (($180) + ($182))|0;
- $cond220 = $add218;
- }
- $bits2j = $cond220;
- }
- $183 = $lo;
- $cmp222 = ($183|0)>(0);
- if ($cmp222) {
- $184 = $offsets$addr;
- $185 = $j;
- $arrayidx225 = (($184) + ($185<<2)|0);
- $186 = HEAP32[$arrayidx225>>2]|0;
- $187 = $bits1j;
- $add226 = (($187) + ($186))|0;
- $bits1j = $add226;
- }
- $188 = $offsets$addr;
- $189 = $j;
- $arrayidx228 = (($188) + ($189<<2)|0);
- $190 = HEAP32[$arrayidx228>>2]|0;
- $191 = $bits2j;
- $add229 = (($191) + ($190))|0;
- $bits2j = $add229;
- $192 = $offsets$addr;
- $193 = $j;
- $arrayidx230 = (($192) + ($193<<2)|0);
- $194 = HEAP32[$arrayidx230>>2]|0;
- $cmp231 = ($194|0)>(0);
- if ($cmp231) {
- $195 = $j;
- $skip_start = $195;
- }
- $196 = $bits2j;
- $197 = $bits1j;
- $sub235 = (($196) - ($197))|0;
- $cmp236 = (0)>($sub235|0);
- if ($cmp236) {
- $cond242 = 0;
- } else {
- $198 = $bits2j;
- $199 = $bits1j;
- $sub240 = (($198) - ($199))|0;
- $cond242 = $sub240;
- }
- $bits2j = $cond242;
- $200 = $bits1j;
- $201 = $j;
- $arrayidx243 = (($vla) + ($201<<2)|0);
- HEAP32[$arrayidx243>>2] = $200;
- $202 = $bits2j;
- $203 = $j;
- $arrayidx244 = (($vla14) + ($203<<2)|0);
- HEAP32[$arrayidx244>>2] = $202;
- $204 = $j;
- $inc246 = (($204) + 1)|0;
- $j = $inc246;
- }
- $205 = $start$addr;
- $206 = $end$addr;
- $207 = $skip_start;
- $208 = $cap$addr;
- $209 = $total$addr;
- $210 = $balance$addr;
- $211 = $skip_rsv;
- $212 = $intensity$addr;
- $213 = $intensity_rsv;
- $214 = $dual_stereo$addr;
- $215 = $dual_stereo_rsv;
- $216 = $pulses$addr;
- $217 = $ebits$addr;
- $218 = $fine_priority$addr;
- $219 = $C$addr;
- $220 = $LM$addr;
- $221 = $ec$addr;
- $222 = $encode$addr;
- $223 = $prev$addr;
- $224 = $signalBandwidth$addr;
- $call = (_interp_bits2pulses($137,$205,$206,$207,$vla,$vla14,$vla15,$208,$209,$210,$211,$212,$213,$214,$215,$216,$217,$218,$219,$220,$221,$222,$223,$224)|0);
- $codedBands = $call;
- $225 = $codedBands;
- $226 = $saved_stack;
- _llvm_stackrestore(($226|0));
- STACKTOP = sp;return ($225|0);
-}
-function _interp_bits2pulses($m,$start,$end,$skip_start,$bits1,$bits2,$thresh,$cap,$total,$_balance,$skip_rsv,$intensity,$intensity_rsv,$dual_stereo,$dual_stereo_rsv,$bits,$ebits,$fine_priority,$C,$LM,$ec,$encode,$prev,$signalBandwidth) {
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $skip_start = $skip_start|0;
- $bits1 = $bits1|0;
- $bits2 = $bits2|0;
- $thresh = $thresh|0;
- $cap = $cap|0;
- $total = $total|0;
- $_balance = $_balance|0;
- $skip_rsv = $skip_rsv|0;
- $intensity = $intensity|0;
- $intensity_rsv = $intensity_rsv|0;
- $dual_stereo = $dual_stereo|0;
- $dual_stereo_rsv = $dual_stereo_rsv|0;
- $bits = $bits|0;
- $ebits = $ebits|0;
- $fine_priority = $fine_priority|0;
- $C = $C|0;
- $LM = $LM|0;
- $ec = $ec|0;
- $encode = $encode|0;
- $prev = $prev|0;
- $signalBandwidth = $signalBandwidth|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0;
- var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
- var $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0;
- var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0;
- var $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
- var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0;
- var $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0;
- var $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0;
- var $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0;
- var $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0;
- var $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0;
- var $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0;
- var $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0;
- var $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0;
- var $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0;
- var $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0;
- var $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0;
- var $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0;
- var $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0;
- var $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0;
- var $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0;
- var $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0;
- var $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $C$addr = 0, $LM$addr = 0, $N = 0, $N0 = 0, $NClogN = 0, $_balance$addr = 0, $add = 0, $add10 = 0, $add117 = 0, $add118 = 0, $add120 = 0;
- var $add126 = 0, $add134 = 0, $add158 = 0, $add162 = 0, $add171 = 0, $add175 = 0, $add18 = 0, $add195 = 0, $add198 = 0, $add201 = 0, $add208 = 0, $add22 = 0, $add243 = 0, $add252 = 0, $add262 = 0, $add274 = 0, $add284 = 0, $add294 = 0, $add303 = 0, $add330 = 0;
- var $add333 = 0, $add343 = 0, $add346 = 0, $add353 = 0, $add356 = 0, $add363 = 0, $add367 = 0, $add369 = 0, $add375 = 0, $add377 = 0, $add40 = 0, $add410 = 0, $add438 = 0, $add445 = 0, $add453 = 0, $add62 = 0, $add68 = 0, $alloc_floor = 0, $arrayidx = 0, $arrayidx101 = 0;
- var $arrayidx109 = 0, $arrayidx11 = 0, $arrayidx112 = 0, $arrayidx115 = 0, $arrayidx119 = 0, $arrayidx124 = 0, $arrayidx14 = 0, $arrayidx161 = 0, $arrayidx168 = 0, $arrayidx17 = 0, $arrayidx176 = 0, $arrayidx178 = 0, $arrayidx178$sink = 0, $arrayidx222 = 0, $arrayidx225 = 0, $arrayidx230 = 0, $arrayidx233 = 0, $arrayidx244 = 0, $arrayidx247 = 0, $arrayidx251 = 0;
- var $arrayidx263 = 0, $arrayidx266 = 0, $arrayidx275 = 0, $arrayidx278 = 0, $arrayidx283 = 0, $arrayidx295 = 0, $arrayidx298 = 0, $arrayidx302 = 0, $arrayidx307 = 0, $arrayidx312 = 0, $arrayidx318 = 0, $arrayidx331 = 0, $arrayidx345 = 0, $arrayidx355 = 0, $arrayidx36 = 0, $arrayidx366 = 0, $arrayidx37 = 0, $arrayidx374 = 0, $arrayidx380 = 0, $arrayidx381 = 0;
- var $arrayidx384 = 0, $arrayidx385 = 0, $arrayidx387 = 0, $arrayidx392 = 0, $arrayidx395 = 0, $arrayidx397 = 0, $arrayidx401 = 0, $arrayidx405 = 0, $arrayidx406 = 0, $arrayidx409 = 0, $arrayidx41 = 0, $arrayidx413 = 0, $arrayidx414 = 0, $arrayidx417 = 0, $arrayidx431 = 0, $arrayidx432 = 0, $arrayidx433 = 0, $arrayidx440 = 0, $arrayidx448 = 0, $arrayidx452 = 0;
- var $arrayidx459 = 0, $arrayidx469 = 0, $arrayidx472 = 0, $arrayidx473 = 0, $arrayidx474 = 0, $arrayidx477 = 0, $arrayidx53 = 0, $arrayidx58 = 0, $arrayidx61 = 0, $arrayidx71 = 0, $arrayidx74 = 0, $arrayidx78 = 0, $arrayidx8 = 0, $arrayidx81 = 0, $arrayidx87 = 0, $arrayidx90 = 0, $arrayidx98 = 0, $balance = 0, $band_bits = 0, $band_width = 0;
- var $bit = 0, $bits$addr = 0, $bits1$addr = 0, $bits2$addr = 0, $call = 0, $call153 = 0, $call200 = 0, $call216 = 0, $call228 = 0, $call382 = 0, $cap$addr = 0, $cmp = 0, $cmp12 = 0, $cmp121 = 0, $cmp129 = 0, $cmp135 = 0, $cmp138 = 0, $cmp145 = 0, $cmp148 = 0, $cmp15 = 0;
- var $cmp164 = 0, $cmp172 = 0, $cmp183 = 0, $cmp188 = 0, $cmp19 = 0, $cmp2 = 0, $cmp205 = 0, $cmp210 = 0, $cmp239 = 0, $cmp24 = 0, $cmp257 = 0, $cmp269 = 0, $cmp290 = 0, $cmp304 = 0, $cmp309 = 0, $cmp32 = 0, $cmp320 = 0, $cmp323 = 0, $cmp327 = 0, $cmp338 = 0;
- var $cmp349 = 0, $cmp359 = 0, $cmp370 = 0, $cmp389 = 0, $cmp398 = 0, $cmp411 = 0, $cmp42 = 0, $cmp422 = 0, $cmp435 = 0, $cmp442 = 0, $cmp457 = 0, $cmp46 = 0, $cmp466 = 0, $cmp475 = 0, $cmp5 = 0, $cmp54 = 0, $cmp65 = 0, $cmp94 = 0, $codedBands = 0, $cond = 0;
- var $cond107 = 0, $cond128 = 0, $cond140 = 0, $cond193 = 0, $cond282 = 0, $cond316 = 0, $cond329 = 0, $cond379 = 0, $cond404 = 0, $cond429 = 0, $cond451 = 0, $cond60 = 0, $conv = 0, $conv102 = 0, $conv110 = 0, $conv113 = 0, $conv169 = 0, $conv223 = 0, $conv226 = 0, $conv231 = 0;
- var $conv234 = 0, $conv245 = 0, $conv248 = 0, $conv264 = 0, $conv267 = 0, $conv276 = 0, $conv279 = 0, $conv296 = 0, $conv299 = 0, $conv332 = 0, $conv412 = 0, $conv458 = 0, $conv476 = 0, $conv72 = 0, $conv75 = 0, $conv79 = 0, $conv82 = 0, $conv88 = 0, $conv91 = 0, $conv99 = 0;
- var $dec = 0, $dec181 = 0, $dec31 = 0, $den = 0, $done = 0, $dual_stereo$addr = 0, $dual_stereo_rsv$addr = 0, $eBands = 0, $eBands100 = 0, $eBands108 = 0, $eBands111 = 0, $eBands221 = 0, $eBands224 = 0, $eBands229 = 0, $eBands232 = 0, $eBands242 = 0, $eBands246 = 0, $eBands261 = 0, $eBands265 = 0, $eBands273 = 0;
- var $eBands277 = 0, $eBands293 = 0, $eBands297 = 0, $eBands73 = 0, $eBands77 = 0, $eBands80 = 0, $eBands86 = 0, $eBands89 = 0, $eBands97 = 0, $ebits$addr = 0, $ec$addr = 0, $encode$addr = 0, $end$addr = 0, $excess = 0, $extra_bits = 0, $extra_fine = 0, $fine_priority$addr = 0, $hi = 0, $i = 0, $inc = 0;
- var $inc254 = 0, $inc287 = 0, $inc463 = 0, $inc479 = 0, $intensity$addr = 0, $intensity_rsv$addr = 0, $j = 0, $left = 0, $lo = 0, $logM = 0, $logN = 0, $m$addr = 0, $mid = 0, $mul = 0, $mul116 = 0, $mul141 = 0, $mul236 = 0, $mul250 = 0, $mul319 = 0, $mul334 = 0;
- var $mul336 = 0, $mul347 = 0, $mul357 = 0, $mul38 = 0, $mul386 = 0, $mul408 = 0, $mul415 = 0, $mul454 = 0, $mul84 = 0, $offset = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $percoeff = 0, $prev$addr = 0, $psum = 0, $rem = 0, $shl = 0, $shl1 = 0, $shl142 = 0;
- var $shl143 = 0, $shl301 = 0, $shl341 = 0, $shl348 = 0, $shl358 = 0, $shl368 = 0, $shl376 = 0, $shl407 = 0, $shl416 = 0, $shl420 = 0, $shl426 = 0, $shl455 = 0, $shr = 0, $shr144 = 0, $shr335 = 0, $shr342 = 0, $shr352 = 0, $shr362 = 0, $shr383 = 0, $shr388 = 0;
- var $shr39 = 0, $shr393 = 0, $shr394 = 0, $shr439 = 0, $shr446 = 0, $shr470 = 0, $shr471 = 0, $shr9 = 0, $signalBandwidth$addr = 0, $skip_rsv$addr = 0, $skip_start$addr = 0, $start$addr = 0, $stereo = 0, $sub = 0, $sub103 = 0, $sub104 = 0, $sub114 = 0, $sub159 = 0, $sub163 = 0, $sub167 = 0;
- var $sub194 = 0, $sub196 = 0, $sub199 = 0, $sub220 = 0, $sub227 = 0, $sub235 = 0, $sub237 = 0, $sub249 = 0, $sub268 = 0, $sub280 = 0, $sub285 = 0, $sub300 = 0, $sub308 = 0, $sub313 = 0, $sub317 = 0, $sub337 = 0, $sub418 = 0, $sub421 = 0, $sub427 = 0, $sub430 = 0;
- var $sub441 = 0, $sub449 = 0, $sub456 = 0, $sub460 = 0, $sub70 = 0, $sub76 = 0, $sub83 = 0, $sub85 = 0, $sub92 = 0, $sub93 = 0, $thresh$addr = 0, $tmp = 0, $tmp260 = 0, $tmp35 = 0, $tobool = 0, $tobool132 = 0, $tobool154 = 0, $tobool186 = 0, $tobool213 = 0, $tobool326 = 0;
- var $tobool44 = 0, $total$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 224|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(224|0);
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $skip_start$addr = $skip_start;
- $bits1$addr = $bits1;
- $bits2$addr = $bits2;
- $thresh$addr = $thresh;
- $cap$addr = $cap;
- $total$addr = $total;
- $_balance$addr = $_balance;
- $skip_rsv$addr = $skip_rsv;
- $intensity$addr = $intensity;
- $intensity_rsv$addr = $intensity_rsv;
- $dual_stereo$addr = $dual_stereo;
- $dual_stereo_rsv$addr = $dual_stereo_rsv;
- $bits$addr = $bits;
- $ebits$addr = $ebits;
- $fine_priority$addr = $fine_priority;
- $C$addr = $C;
- $LM$addr = $LM;
- $ec$addr = $ec;
- $encode$addr = $encode;
- $prev$addr = $prev;
- $signalBandwidth$addr = $signalBandwidth;
- $codedBands = -1;
- $0 = $C$addr;
- $shl = $0 << 3;
- $alloc_floor = $shl;
- $1 = $C$addr;
- $cmp = ($1|0)>(1);
- $conv = $cmp&1;
- $stereo = $conv;
- $2 = $LM$addr;
- $shl1 = $2 << 3;
- $logM = $shl1;
- $lo = 0;
- $hi = 64;
- $i = 0;
- while(1) {
- $3 = $i;
- $cmp2 = ($3|0)<(6);
- if (!($cmp2)) {
- break;
- }
- $4 = $lo;
- $5 = $hi;
- $add = (($4) + ($5))|0;
- $shr = $add >> 1;
- $mid = $shr;
- $psum = 0;
- $done = 0;
- $6 = $end$addr;
- $j = $6;
- while(1) {
- $7 = $j;
- $dec = (($7) + -1)|0;
- $j = $dec;
- $8 = $start$addr;
- $cmp5 = ($7|0)>($8|0);
- if (!($cmp5)) {
- break;
- }
- $9 = $bits1$addr;
- $10 = $j;
- $arrayidx = (($9) + ($10<<2)|0);
- $11 = HEAP32[$arrayidx>>2]|0;
- $12 = $mid;
- $13 = $bits2$addr;
- $14 = $j;
- $arrayidx8 = (($13) + ($14<<2)|0);
- $15 = HEAP32[$arrayidx8>>2]|0;
- $mul = Math_imul($12, $15)|0;
- $shr9 = $mul >> 6;
- $add10 = (($11) + ($shr9))|0;
- $tmp = $add10;
- $16 = $tmp;
- $17 = $thresh$addr;
- $18 = $j;
- $arrayidx11 = (($17) + ($18<<2)|0);
- $19 = HEAP32[$arrayidx11>>2]|0;
- $cmp12 = ($16|0)>=($19|0);
- $20 = $done;
- $tobool = ($20|0)!=(0);
- $or$cond = $cmp12 | $tobool;
- if (!($or$cond)) {
- $30 = $tmp;
- $31 = $alloc_floor;
- $cmp19 = ($30|0)>=($31|0);
- if (!($cmp19)) {
- continue;
- }
- $32 = $alloc_floor;
- $33 = $psum;
- $add22 = (($33) + ($32))|0;
- $psum = $add22;
- continue;
- }
- $done = 1;
- $21 = $tmp;
- $22 = $cap$addr;
- $23 = $j;
- $arrayidx14 = (($22) + ($23<<2)|0);
- $24 = HEAP32[$arrayidx14>>2]|0;
- $cmp15 = ($21|0)<($24|0);
- if ($cmp15) {
- $25 = $tmp;
- $cond = $25;
- } else {
- $26 = $cap$addr;
- $27 = $j;
- $arrayidx17 = (($26) + ($27<<2)|0);
- $28 = HEAP32[$arrayidx17>>2]|0;
- $cond = $28;
- }
- $29 = $psum;
- $add18 = (($29) + ($cond))|0;
- $psum = $add18;
- }
- $34 = $psum;
- $35 = $total$addr;
- $cmp24 = ($34|0)>($35|0);
- $36 = $mid;
- if ($cmp24) {
- $hi = $36;
- } else {
- $lo = $36;
- }
- $37 = $i;
- $inc = (($37) + 1)|0;
- $i = $inc;
- }
- $psum = 0;
- $done = 0;
- $38 = $end$addr;
- $j = $38;
- while(1) {
- $39 = $j;
- $dec31 = (($39) + -1)|0;
- $j = $dec31;
- $40 = $start$addr;
- $cmp32 = ($39|0)>($40|0);
- if (!($cmp32)) {
- break;
- }
- $41 = $bits1$addr;
- $42 = $j;
- $arrayidx36 = (($41) + ($42<<2)|0);
- $43 = HEAP32[$arrayidx36>>2]|0;
- $44 = $lo;
- $45 = $bits2$addr;
- $46 = $j;
- $arrayidx37 = (($45) + ($46<<2)|0);
- $47 = HEAP32[$arrayidx37>>2]|0;
- $mul38 = Math_imul($44, $47)|0;
- $shr39 = $mul38 >> 6;
- $add40 = (($43) + ($shr39))|0;
- $tmp35 = $add40;
- $48 = $tmp35;
- $49 = $thresh$addr;
- $50 = $j;
- $arrayidx41 = (($49) + ($50<<2)|0);
- $51 = HEAP32[$arrayidx41>>2]|0;
- $cmp42 = ($48|0)>=($51|0);
- $52 = $done;
- $tobool44 = ($52|0)!=(0);
- $or$cond1 = $cmp42 | $tobool44;
- do {
- if ($or$cond1) {
- $done = 1;
- } else {
- $53 = $tmp35;
- $54 = $alloc_floor;
- $cmp46 = ($53|0)>=($54|0);
- if ($cmp46) {
- $55 = $alloc_floor;
- $tmp35 = $55;
- break;
- } else {
- $tmp35 = 0;
- break;
- }
- }
- } while(0);
- $56 = $tmp35;
- $57 = $cap$addr;
- $58 = $j;
- $arrayidx53 = (($57) + ($58<<2)|0);
- $59 = HEAP32[$arrayidx53>>2]|0;
- $cmp54 = ($56|0)<($59|0);
- if ($cmp54) {
- $60 = $tmp35;
- $cond60 = $60;
- } else {
- $61 = $cap$addr;
- $62 = $j;
- $arrayidx58 = (($61) + ($62<<2)|0);
- $63 = HEAP32[$arrayidx58>>2]|0;
- $cond60 = $63;
- }
- $tmp35 = $cond60;
- $64 = $tmp35;
- $65 = $bits$addr;
- $66 = $j;
- $arrayidx61 = (($65) + ($66<<2)|0);
- HEAP32[$arrayidx61>>2] = $64;
- $67 = $tmp35;
- $68 = $psum;
- $add62 = (($68) + ($67))|0;
- $psum = $add62;
- }
- $69 = $end$addr;
- $codedBands = $69;
- while(1) {
- $70 = $codedBands;
- $sub = (($70) - 1)|0;
- $j = $sub;
- $71 = $j;
- $72 = $skip_start$addr;
- $cmp65 = ($71|0)<=($72|0);
- if ($cmp65) {
- label = 29;
- break;
- }
- $75 = $total$addr;
- $76 = $psum;
- $sub70 = (($75) - ($76))|0;
- $left = $sub70;
- $77 = $left;
- $78 = $m$addr;
- $eBands = ((($78)) + 32|0);
- $79 = HEAP32[$eBands>>2]|0;
- $80 = $codedBands;
- $arrayidx71 = (($79) + ($80<<1)|0);
- $81 = HEAP16[$arrayidx71>>1]|0;
- $conv72 = $81 << 16 >> 16;
- $82 = $m$addr;
- $eBands73 = ((($82)) + 32|0);
- $83 = HEAP32[$eBands73>>2]|0;
- $84 = $start$addr;
- $arrayidx74 = (($83) + ($84<<1)|0);
- $85 = HEAP16[$arrayidx74>>1]|0;
- $conv75 = $85 << 16 >> 16;
- $sub76 = (($conv72) - ($conv75))|0;
- $call = (_celt_udiv_137($77,$sub76)|0);
- $percoeff = $call;
- $86 = $m$addr;
- $eBands77 = ((($86)) + 32|0);
- $87 = HEAP32[$eBands77>>2]|0;
- $88 = $codedBands;
- $arrayidx78 = (($87) + ($88<<1)|0);
- $89 = HEAP16[$arrayidx78>>1]|0;
- $conv79 = $89 << 16 >> 16;
- $90 = $m$addr;
- $eBands80 = ((($90)) + 32|0);
- $91 = HEAP32[$eBands80>>2]|0;
- $92 = $start$addr;
- $arrayidx81 = (($91) + ($92<<1)|0);
- $93 = HEAP16[$arrayidx81>>1]|0;
- $conv82 = $93 << 16 >> 16;
- $sub83 = (($conv79) - ($conv82))|0;
- $94 = $percoeff;
- $mul84 = Math_imul($sub83, $94)|0;
- $95 = $left;
- $sub85 = (($95) - ($mul84))|0;
- $left = $sub85;
- $96 = $left;
- $97 = $m$addr;
- $eBands86 = ((($97)) + 32|0);
- $98 = HEAP32[$eBands86>>2]|0;
- $99 = $j;
- $arrayidx87 = (($98) + ($99<<1)|0);
- $100 = HEAP16[$arrayidx87>>1]|0;
- $conv88 = $100 << 16 >> 16;
- $101 = $m$addr;
- $eBands89 = ((($101)) + 32|0);
- $102 = HEAP32[$eBands89>>2]|0;
- $103 = $start$addr;
- $arrayidx90 = (($102) + ($103<<1)|0);
- $104 = HEAP16[$arrayidx90>>1]|0;
- $conv91 = $104 << 16 >> 16;
- $sub92 = (($conv88) - ($conv91))|0;
- $sub93 = (($96) - ($sub92))|0;
- $cmp94 = ($sub93|0)>(0);
- if ($cmp94) {
- $105 = $left;
- $106 = $m$addr;
- $eBands97 = ((($106)) + 32|0);
- $107 = HEAP32[$eBands97>>2]|0;
- $108 = $j;
- $arrayidx98 = (($107) + ($108<<1)|0);
- $109 = HEAP16[$arrayidx98>>1]|0;
- $conv99 = $109 << 16 >> 16;
- $110 = $m$addr;
- $eBands100 = ((($110)) + 32|0);
- $111 = HEAP32[$eBands100>>2]|0;
- $112 = $start$addr;
- $arrayidx101 = (($111) + ($112<<1)|0);
- $113 = HEAP16[$arrayidx101>>1]|0;
- $conv102 = $113 << 16 >> 16;
- $sub103 = (($conv99) - ($conv102))|0;
- $sub104 = (($105) - ($sub103))|0;
- $cond107 = $sub104;
- } else {
- $cond107 = 0;
- }
- $rem = $cond107;
- $114 = $m$addr;
- $eBands108 = ((($114)) + 32|0);
- $115 = HEAP32[$eBands108>>2]|0;
- $116 = $codedBands;
- $arrayidx109 = (($115) + ($116<<1)|0);
- $117 = HEAP16[$arrayidx109>>1]|0;
- $conv110 = $117 << 16 >> 16;
- $118 = $m$addr;
- $eBands111 = ((($118)) + 32|0);
- $119 = HEAP32[$eBands111>>2]|0;
- $120 = $j;
- $arrayidx112 = (($119) + ($120<<1)|0);
- $121 = HEAP16[$arrayidx112>>1]|0;
- $conv113 = $121 << 16 >> 16;
- $sub114 = (($conv110) - ($conv113))|0;
- $band_width = $sub114;
- $122 = $bits$addr;
- $123 = $j;
- $arrayidx115 = (($122) + ($123<<2)|0);
- $124 = HEAP32[$arrayidx115>>2]|0;
- $125 = $percoeff;
- $126 = $band_width;
- $mul116 = Math_imul($125, $126)|0;
- $add117 = (($124) + ($mul116))|0;
- $127 = $rem;
- $add118 = (($add117) + ($127))|0;
- $band_bits = $add118;
- $128 = $band_bits;
- $129 = $thresh$addr;
- $130 = $j;
- $arrayidx119 = (($129) + ($130<<2)|0);
- $131 = HEAP32[$arrayidx119>>2]|0;
- $132 = $alloc_floor;
- $add120 = (($132) + 8)|0;
- $cmp121 = ($131|0)>($add120|0);
- if ($cmp121) {
- $133 = $thresh$addr;
- $134 = $j;
- $arrayidx124 = (($133) + ($134<<2)|0);
- $135 = HEAP32[$arrayidx124>>2]|0;
- $cond128 = $135;
- } else {
- $136 = $alloc_floor;
- $add126 = (($136) + 8)|0;
- $cond128 = $add126;
- }
- $cmp129 = ($128|0)>=($cond128|0);
- if ($cmp129) {
- $137 = $encode$addr;
- $tobool132 = ($137|0)!=(0);
- if ($tobool132) {
- $138 = $codedBands;
- $139 = $start$addr;
- $add134 = (($139) + 2)|0;
- $cmp135 = ($138|0)<=($add134|0);
- if ($cmp135) {
- label = 40;
- break;
- }
- $140 = $band_bits;
- $141 = $j;
- $142 = $prev$addr;
- $cmp138 = ($141|0)<($142|0);
- $cond140 = $cmp138 ? 7 : 9;
- $143 = $band_width;
- $mul141 = Math_imul($cond140, $143)|0;
- $144 = $LM$addr;
- $shl142 = $mul141 << $144;
- $shl143 = $shl142 << 3;
- $shr144 = $shl143 >> 4;
- $cmp145 = ($140|0)>($shr144|0);
- if ($cmp145) {
- $145 = $j;
- $146 = $signalBandwidth$addr;
- $cmp148 = ($145|0)<=($146|0);
- if ($cmp148) {
- label = 40;
- break;
- }
- }
- $148 = $ec$addr;
- _ec_enc_bit_logp($148,0,1);
- } else {
- $149 = $ec$addr;
- $call153 = (_ec_dec_bit_logp($149,1)|0);
- $tobool154 = ($call153|0)!=(0);
- if ($tobool154) {
- break;
- }
- }
- $150 = $psum;
- $add158 = (($150) + 8)|0;
- $psum = $add158;
- $151 = $band_bits;
- $sub159 = (($151) - 8)|0;
- $band_bits = $sub159;
- }
- $152 = $bits$addr;
- $153 = $j;
- $arrayidx161 = (($152) + ($153<<2)|0);
- $154 = HEAP32[$arrayidx161>>2]|0;
- $155 = $intensity_rsv$addr;
- $add162 = (($154) + ($155))|0;
- $156 = $psum;
- $sub163 = (($156) - ($add162))|0;
- $psum = $sub163;
- $157 = $intensity_rsv$addr;
- $cmp164 = ($157|0)>(0);
- if ($cmp164) {
- $158 = $j;
- $159 = $start$addr;
- $sub167 = (($158) - ($159))|0;
- $arrayidx168 = (27080 + ($sub167)|0);
- $160 = HEAP8[$arrayidx168>>0]|0;
- $conv169 = $160&255;
- $intensity_rsv$addr = $conv169;
- }
- $161 = $intensity_rsv$addr;
- $162 = $psum;
- $add171 = (($162) + ($161))|0;
- $psum = $add171;
- $163 = $band_bits;
- $164 = $alloc_floor;
- $cmp172 = ($163|0)>=($164|0);
- if ($cmp172) {
- $165 = $alloc_floor;
- $166 = $psum;
- $add175 = (($166) + ($165))|0;
- $psum = $add175;
- $167 = $alloc_floor;
- $168 = $bits$addr;
- $169 = $j;
- $arrayidx176 = (($168) + ($169<<2)|0);
- $$sink = $167;$arrayidx178$sink = $arrayidx176;
- } else {
- $170 = $bits$addr;
- $171 = $j;
- $arrayidx178 = (($170) + ($171<<2)|0);
- $$sink = 0;$arrayidx178$sink = $arrayidx178;
- }
- HEAP32[$arrayidx178$sink>>2] = $$sink;
- $172 = $codedBands;
- $dec181 = (($172) + -1)|0;
- $codedBands = $dec181;
- }
- if ((label|0) == 29) {
- $73 = $skip_rsv$addr;
- $74 = $total$addr;
- $add68 = (($74) + ($73))|0;
- $total$addr = $add68;
- }
- else if ((label|0) == 40) {
- $147 = $ec$addr;
- _ec_enc_bit_logp($147,1,1);
- }
- $173 = $intensity_rsv$addr;
- $cmp183 = ($173|0)>(0);
- do {
- if ($cmp183) {
- $174 = $encode$addr;
- $tobool186 = ($174|0)!=(0);
- if (!($tobool186)) {
- $188 = $start$addr;
- $189 = $ec$addr;
- $190 = $codedBands;
- $add198 = (($190) + 1)|0;
- $191 = $start$addr;
- $sub199 = (($add198) - ($191))|0;
- $call200 = (_ec_dec_uint($189,$sub199)|0);
- $add201 = (($188) + ($call200))|0;
- $192 = $intensity$addr;
- HEAP32[$192>>2] = $add201;
- break;
- }
- $175 = $intensity$addr;
- $176 = HEAP32[$175>>2]|0;
- $177 = $codedBands;
- $cmp188 = ($176|0)<($177|0);
- if ($cmp188) {
- $178 = $intensity$addr;
- $179 = HEAP32[$178>>2]|0;
- $cond193 = $179;
- } else {
- $180 = $codedBands;
- $cond193 = $180;
- }
- $181 = $intensity$addr;
- HEAP32[$181>>2] = $cond193;
- $182 = $ec$addr;
- $183 = $intensity$addr;
- $184 = HEAP32[$183>>2]|0;
- $185 = $start$addr;
- $sub194 = (($184) - ($185))|0;
- $186 = $codedBands;
- $add195 = (($186) + 1)|0;
- $187 = $start$addr;
- $sub196 = (($add195) - ($187))|0;
- _ec_enc_uint($182,$sub194,$sub196);
- } else {
- $193 = $intensity$addr;
- HEAP32[$193>>2] = 0;
- }
- } while(0);
- $194 = $intensity$addr;
- $195 = HEAP32[$194>>2]|0;
- $196 = $start$addr;
- $cmp205 = ($195|0)<=($196|0);
- if ($cmp205) {
- $197 = $dual_stereo_rsv$addr;
- $198 = $total$addr;
- $add208 = (($198) + ($197))|0;
- $total$addr = $add208;
- $dual_stereo_rsv$addr = 0;
- }
- $199 = $dual_stereo_rsv$addr;
- $cmp210 = ($199|0)>(0);
- do {
- if ($cmp210) {
- $200 = $encode$addr;
- $tobool213 = ($200|0)!=(0);
- $201 = $ec$addr;
- if ($tobool213) {
- $202 = $dual_stereo$addr;
- $203 = HEAP32[$202>>2]|0;
- _ec_enc_bit_logp($201,$203,1);
- break;
- } else {
- $call216 = (_ec_dec_bit_logp($201,1)|0);
- $204 = $dual_stereo$addr;
- HEAP32[$204>>2] = $call216;
- break;
- }
- } else {
- $205 = $dual_stereo$addr;
- HEAP32[$205>>2] = 0;
- }
- } while(0);
- $206 = $total$addr;
- $207 = $psum;
- $sub220 = (($206) - ($207))|0;
- $left = $sub220;
- $208 = $left;
- $209 = $m$addr;
- $eBands221 = ((($209)) + 32|0);
- $210 = HEAP32[$eBands221>>2]|0;
- $211 = $codedBands;
- $arrayidx222 = (($210) + ($211<<1)|0);
- $212 = HEAP16[$arrayidx222>>1]|0;
- $conv223 = $212 << 16 >> 16;
- $213 = $m$addr;
- $eBands224 = ((($213)) + 32|0);
- $214 = HEAP32[$eBands224>>2]|0;
- $215 = $start$addr;
- $arrayidx225 = (($214) + ($215<<1)|0);
- $216 = HEAP16[$arrayidx225>>1]|0;
- $conv226 = $216 << 16 >> 16;
- $sub227 = (($conv223) - ($conv226))|0;
- $call228 = (_celt_udiv_137($208,$sub227)|0);
- $percoeff = $call228;
- $217 = $m$addr;
- $eBands229 = ((($217)) + 32|0);
- $218 = HEAP32[$eBands229>>2]|0;
- $219 = $codedBands;
- $arrayidx230 = (($218) + ($219<<1)|0);
- $220 = HEAP16[$arrayidx230>>1]|0;
- $conv231 = $220 << 16 >> 16;
- $221 = $m$addr;
- $eBands232 = ((($221)) + 32|0);
- $222 = HEAP32[$eBands232>>2]|0;
- $223 = $start$addr;
- $arrayidx233 = (($222) + ($223<<1)|0);
- $224 = HEAP16[$arrayidx233>>1]|0;
- $conv234 = $224 << 16 >> 16;
- $sub235 = (($conv231) - ($conv234))|0;
- $225 = $percoeff;
- $mul236 = Math_imul($sub235, $225)|0;
- $226 = $left;
- $sub237 = (($226) - ($mul236))|0;
- $left = $sub237;
- $227 = $start$addr;
- $j = $227;
- while(1) {
- $228 = $j;
- $229 = $codedBands;
- $cmp239 = ($228|0)<($229|0);
- if (!($cmp239)) {
- break;
- }
- $230 = $percoeff;
- $231 = $m$addr;
- $eBands242 = ((($231)) + 32|0);
- $232 = HEAP32[$eBands242>>2]|0;
- $233 = $j;
- $add243 = (($233) + 1)|0;
- $arrayidx244 = (($232) + ($add243<<1)|0);
- $234 = HEAP16[$arrayidx244>>1]|0;
- $conv245 = $234 << 16 >> 16;
- $235 = $m$addr;
- $eBands246 = ((($235)) + 32|0);
- $236 = HEAP32[$eBands246>>2]|0;
- $237 = $j;
- $arrayidx247 = (($236) + ($237<<1)|0);
- $238 = HEAP16[$arrayidx247>>1]|0;
- $conv248 = $238 << 16 >> 16;
- $sub249 = (($conv245) - ($conv248))|0;
- $mul250 = Math_imul($230, $sub249)|0;
- $239 = $bits$addr;
- $240 = $j;
- $arrayidx251 = (($239) + ($240<<2)|0);
- $241 = HEAP32[$arrayidx251>>2]|0;
- $add252 = (($241) + ($mul250))|0;
- HEAP32[$arrayidx251>>2] = $add252;
- $242 = $j;
- $inc254 = (($242) + 1)|0;
- $j = $inc254;
- }
- $243 = $start$addr;
- $j = $243;
- while(1) {
- $244 = $j;
- $245 = $codedBands;
- $cmp257 = ($244|0)<($245|0);
- if (!($cmp257)) {
- break;
- }
- $246 = $left;
- $247 = $m$addr;
- $eBands261 = ((($247)) + 32|0);
- $248 = HEAP32[$eBands261>>2]|0;
- $249 = $j;
- $add262 = (($249) + 1)|0;
- $arrayidx263 = (($248) + ($add262<<1)|0);
- $250 = HEAP16[$arrayidx263>>1]|0;
- $conv264 = $250 << 16 >> 16;
- $251 = $m$addr;
- $eBands265 = ((($251)) + 32|0);
- $252 = HEAP32[$eBands265>>2]|0;
- $253 = $j;
- $arrayidx266 = (($252) + ($253<<1)|0);
- $254 = HEAP16[$arrayidx266>>1]|0;
- $conv267 = $254 << 16 >> 16;
- $sub268 = (($conv264) - ($conv267))|0;
- $cmp269 = ($246|0)<($sub268|0);
- if ($cmp269) {
- $255 = $left;
- $cond282 = $255;
- } else {
- $256 = $m$addr;
- $eBands273 = ((($256)) + 32|0);
- $257 = HEAP32[$eBands273>>2]|0;
- $258 = $j;
- $add274 = (($258) + 1)|0;
- $arrayidx275 = (($257) + ($add274<<1)|0);
- $259 = HEAP16[$arrayidx275>>1]|0;
- $conv276 = $259 << 16 >> 16;
- $260 = $m$addr;
- $eBands277 = ((($260)) + 32|0);
- $261 = HEAP32[$eBands277>>2]|0;
- $262 = $j;
- $arrayidx278 = (($261) + ($262<<1)|0);
- $263 = HEAP16[$arrayidx278>>1]|0;
- $conv279 = $263 << 16 >> 16;
- $sub280 = (($conv276) - ($conv279))|0;
- $cond282 = $sub280;
- }
- $tmp260 = $cond282;
- $264 = $tmp260;
- $265 = $bits$addr;
- $266 = $j;
- $arrayidx283 = (($265) + ($266<<2)|0);
- $267 = HEAP32[$arrayidx283>>2]|0;
- $add284 = (($267) + ($264))|0;
- HEAP32[$arrayidx283>>2] = $add284;
- $268 = $tmp260;
- $269 = $left;
- $sub285 = (($269) - ($268))|0;
- $left = $sub285;
- $270 = $j;
- $inc287 = (($270) + 1)|0;
- $j = $inc287;
- }
- $balance = 0;
- $271 = $start$addr;
- $j = $271;
- while(1) {
- $272 = $j;
- $273 = $codedBands;
- $cmp290 = ($272|0)<($273|0);
- if (!($cmp290)) {
- break;
- }
- $274 = $m$addr;
- $eBands293 = ((($274)) + 32|0);
- $275 = HEAP32[$eBands293>>2]|0;
- $276 = $j;
- $add294 = (($276) + 1)|0;
- $arrayidx295 = (($275) + ($add294<<1)|0);
- $277 = HEAP16[$arrayidx295>>1]|0;
- $conv296 = $277 << 16 >> 16;
- $278 = $m$addr;
- $eBands297 = ((($278)) + 32|0);
- $279 = HEAP32[$eBands297>>2]|0;
- $280 = $j;
- $arrayidx298 = (($279) + ($280<<1)|0);
- $281 = HEAP16[$arrayidx298>>1]|0;
- $conv299 = $281 << 16 >> 16;
- $sub300 = (($conv296) - ($conv299))|0;
- $N0 = $sub300;
- $282 = $N0;
- $283 = $LM$addr;
- $shl301 = $282 << $283;
- $N = $shl301;
- $284 = $bits$addr;
- $285 = $j;
- $arrayidx302 = (($284) + ($285<<2)|0);
- $286 = HEAP32[$arrayidx302>>2]|0;
- $287 = $balance;
- $add303 = (($286) + ($287))|0;
- $bit = $add303;
- $288 = $N;
- $cmp304 = ($288|0)>(1);
- $289 = $bit;
- if ($cmp304) {
- $290 = $cap$addr;
- $291 = $j;
- $arrayidx307 = (($290) + ($291<<2)|0);
- $292 = HEAP32[$arrayidx307>>2]|0;
- $sub308 = (($289) - ($292))|0;
- $cmp309 = ($sub308|0)>(0);
- if ($cmp309) {
- $293 = $bit;
- $294 = $cap$addr;
- $295 = $j;
- $arrayidx312 = (($294) + ($295<<2)|0);
- $296 = HEAP32[$arrayidx312>>2]|0;
- $sub313 = (($293) - ($296))|0;
- $cond316 = $sub313;
- } else {
- $cond316 = 0;
- }
- $excess = $cond316;
- $297 = $bit;
- $298 = $excess;
- $sub317 = (($297) - ($298))|0;
- $299 = $bits$addr;
- $300 = $j;
- $arrayidx318 = (($299) + ($300<<2)|0);
- HEAP32[$arrayidx318>>2] = $sub317;
- $301 = $C$addr;
- $302 = $N;
- $mul319 = Math_imul($301, $302)|0;
- $303 = $C$addr;
- $cmp320 = ($303|0)==(2);
- $304 = $N;
- $cmp323 = ($304|0)>(2);
- $or$cond2 = $cmp320 & $cmp323;
- if ($or$cond2) {
- $305 = $dual_stereo$addr;
- $306 = HEAP32[$305>>2]|0;
- $tobool326 = ($306|0)!=(0);
- if ($tobool326) {
- $310 = 0;
- } else {
- $307 = $j;
- $308 = $intensity$addr;
- $309 = HEAP32[$308>>2]|0;
- $cmp327 = ($307|0)<($309|0);
- $310 = $cmp327;
- }
- } else {
- $310 = 0;
- }
- $cond329 = $310 ? 1 : 0;
- $add330 = (($mul319) + ($cond329))|0;
- $den = $add330;
- $311 = $den;
- $312 = $m$addr;
- $logN = ((($312)) + 56|0);
- $313 = HEAP32[$logN>>2]|0;
- $314 = $j;
- $arrayidx331 = (($313) + ($314<<1)|0);
- $315 = HEAP16[$arrayidx331>>1]|0;
- $conv332 = $315 << 16 >> 16;
- $316 = $logM;
- $add333 = (($conv332) + ($316))|0;
- $mul334 = Math_imul($311, $add333)|0;
- $NClogN = $mul334;
- $317 = $NClogN;
- $shr335 = $317 >> 1;
- $318 = $den;
- $mul336 = ($318*21)|0;
- $sub337 = (($shr335) - ($mul336))|0;
- $offset = $sub337;
- $319 = $N;
- $cmp338 = ($319|0)==(2);
- if ($cmp338) {
- $320 = $den;
- $shl341 = $320 << 3;
- $shr342 = $shl341 >> 2;
- $321 = $offset;
- $add343 = (($321) + ($shr342))|0;
- $offset = $add343;
- }
- $322 = $bits$addr;
- $323 = $j;
- $arrayidx345 = (($322) + ($323<<2)|0);
- $324 = HEAP32[$arrayidx345>>2]|0;
- $325 = $offset;
- $add346 = (($324) + ($325))|0;
- $326 = $den;
- $mul347 = $326<<1;
- $shl348 = $mul347 << 3;
- $cmp349 = ($add346|0)<($shl348|0);
- if ($cmp349) {
- $327 = $NClogN;
- $shr352 = $327 >> 2;
- $328 = $offset;
- $add353 = (($328) + ($shr352))|0;
- $offset = $add353;
- } else {
- $329 = $bits$addr;
- $330 = $j;
- $arrayidx355 = (($329) + ($330<<2)|0);
- $331 = HEAP32[$arrayidx355>>2]|0;
- $332 = $offset;
- $add356 = (($331) + ($332))|0;
- $333 = $den;
- $mul357 = ($333*3)|0;
- $shl358 = $mul357 << 3;
- $cmp359 = ($add356|0)<($shl358|0);
- if ($cmp359) {
- $334 = $NClogN;
- $shr362 = $334 >> 3;
- $335 = $offset;
- $add363 = (($335) + ($shr362))|0;
- $offset = $add363;
- }
- }
- $336 = $bits$addr;
- $337 = $j;
- $arrayidx366 = (($336) + ($337<<2)|0);
- $338 = HEAP32[$arrayidx366>>2]|0;
- $339 = $offset;
- $add367 = (($338) + ($339))|0;
- $340 = $den;
- $shl368 = $340 << 2;
- $add369 = (($add367) + ($shl368))|0;
- $cmp370 = (0)>($add369|0);
- if ($cmp370) {
- $cond379 = 0;
- } else {
- $341 = $bits$addr;
- $342 = $j;
- $arrayidx374 = (($341) + ($342<<2)|0);
- $343 = HEAP32[$arrayidx374>>2]|0;
- $344 = $offset;
- $add375 = (($343) + ($344))|0;
- $345 = $den;
- $shl376 = $345 << 2;
- $add377 = (($add375) + ($shl376))|0;
- $cond379 = $add377;
- }
- $346 = $ebits$addr;
- $347 = $j;
- $arrayidx380 = (($346) + ($347<<2)|0);
- HEAP32[$arrayidx380>>2] = $cond379;
- $348 = $ebits$addr;
- $349 = $j;
- $arrayidx381 = (($348) + ($349<<2)|0);
- $350 = HEAP32[$arrayidx381>>2]|0;
- $351 = $den;
- $call382 = (_celt_udiv_137($350,$351)|0);
- $shr383 = $call382 >>> 3;
- $352 = $ebits$addr;
- $353 = $j;
- $arrayidx384 = (($352) + ($353<<2)|0);
- HEAP32[$arrayidx384>>2] = $shr383;
- $354 = $C$addr;
- $355 = $ebits$addr;
- $356 = $j;
- $arrayidx385 = (($355) + ($356<<2)|0);
- $357 = HEAP32[$arrayidx385>>2]|0;
- $mul386 = Math_imul($354, $357)|0;
- $358 = $bits$addr;
- $359 = $j;
- $arrayidx387 = (($358) + ($359<<2)|0);
- $360 = HEAP32[$arrayidx387>>2]|0;
- $shr388 = $360 >> 3;
- $cmp389 = ($mul386|0)>($shr388|0);
- if ($cmp389) {
- $361 = $bits$addr;
- $362 = $j;
- $arrayidx392 = (($361) + ($362<<2)|0);
- $363 = HEAP32[$arrayidx392>>2]|0;
- $364 = $stereo;
- $shr393 = $363 >> $364;
- $shr394 = $shr393 >> 3;
- $365 = $ebits$addr;
- $366 = $j;
- $arrayidx395 = (($365) + ($366<<2)|0);
- HEAP32[$arrayidx395>>2] = $shr394;
- }
- $367 = $ebits$addr;
- $368 = $j;
- $arrayidx397 = (($367) + ($368<<2)|0);
- $369 = HEAP32[$arrayidx397>>2]|0;
- $cmp398 = ($369|0)<(8);
- if ($cmp398) {
- $370 = $ebits$addr;
- $371 = $j;
- $arrayidx401 = (($370) + ($371<<2)|0);
- $372 = HEAP32[$arrayidx401>>2]|0;
- $cond404 = $372;
- } else {
- $cond404 = 8;
- }
- $373 = $ebits$addr;
- $374 = $j;
- $arrayidx405 = (($373) + ($374<<2)|0);
- HEAP32[$arrayidx405>>2] = $cond404;
- $375 = $ebits$addr;
- $376 = $j;
- $arrayidx406 = (($375) + ($376<<2)|0);
- $377 = HEAP32[$arrayidx406>>2]|0;
- $378 = $den;
- $shl407 = $378 << 3;
- $mul408 = Math_imul($377, $shl407)|0;
- $379 = $bits$addr;
- $380 = $j;
- $arrayidx409 = (($379) + ($380<<2)|0);
- $381 = HEAP32[$arrayidx409>>2]|0;
- $382 = $offset;
- $add410 = (($381) + ($382))|0;
- $cmp411 = ($mul408|0)>=($add410|0);
- $conv412 = $cmp411&1;
- $383 = $fine_priority$addr;
- $384 = $j;
- $arrayidx413 = (($383) + ($384<<2)|0);
- HEAP32[$arrayidx413>>2] = $conv412;
- $385 = $C$addr;
- $386 = $ebits$addr;
- $387 = $j;
- $arrayidx414 = (($386) + ($387<<2)|0);
- $388 = HEAP32[$arrayidx414>>2]|0;
- $mul415 = Math_imul($385, $388)|0;
- $shl416 = $mul415 << 3;
- $389 = $bits$addr;
- $390 = $j;
- $arrayidx417 = (($389) + ($390<<2)|0);
- $391 = HEAP32[$arrayidx417>>2]|0;
- $sub418 = (($391) - ($shl416))|0;
- HEAP32[$arrayidx417>>2] = $sub418;
- } else {
- $392 = $C$addr;
- $shl420 = $392 << 3;
- $sub421 = (($289) - ($shl420))|0;
- $cmp422 = (0)>($sub421|0);
- if ($cmp422) {
- $cond429 = 0;
- } else {
- $393 = $bit;
- $394 = $C$addr;
- $shl426 = $394 << 3;
- $sub427 = (($393) - ($shl426))|0;
- $cond429 = $sub427;
- }
- $excess = $cond429;
- $395 = $bit;
- $396 = $excess;
- $sub430 = (($395) - ($396))|0;
- $397 = $bits$addr;
- $398 = $j;
- $arrayidx431 = (($397) + ($398<<2)|0);
- HEAP32[$arrayidx431>>2] = $sub430;
- $399 = $ebits$addr;
- $400 = $j;
- $arrayidx432 = (($399) + ($400<<2)|0);
- HEAP32[$arrayidx432>>2] = 0;
- $401 = $fine_priority$addr;
- $402 = $j;
- $arrayidx433 = (($401) + ($402<<2)|0);
- HEAP32[$arrayidx433>>2] = 1;
- }
- $403 = $excess;
- $cmp435 = ($403|0)>(0);
- if ($cmp435) {
- $404 = $excess;
- $405 = $stereo;
- $add438 = (($405) + 3)|0;
- $shr439 = $404 >> $add438;
- $406 = $ebits$addr;
- $407 = $j;
- $arrayidx440 = (($406) + ($407<<2)|0);
- $408 = HEAP32[$arrayidx440>>2]|0;
- $sub441 = (8 - ($408))|0;
- $cmp442 = ($shr439|0)<($sub441|0);
- if ($cmp442) {
- $409 = $excess;
- $410 = $stereo;
- $add445 = (($410) + 3)|0;
- $shr446 = $409 >> $add445;
- $cond451 = $shr446;
- } else {
- $411 = $ebits$addr;
- $412 = $j;
- $arrayidx448 = (($411) + ($412<<2)|0);
- $413 = HEAP32[$arrayidx448>>2]|0;
- $sub449 = (8 - ($413))|0;
- $cond451 = $sub449;
- }
- $extra_fine = $cond451;
- $414 = $extra_fine;
- $415 = $ebits$addr;
- $416 = $j;
- $arrayidx452 = (($415) + ($416<<2)|0);
- $417 = HEAP32[$arrayidx452>>2]|0;
- $add453 = (($417) + ($414))|0;
- HEAP32[$arrayidx452>>2] = $add453;
- $418 = $extra_fine;
- $419 = $C$addr;
- $mul454 = Math_imul($418, $419)|0;
- $shl455 = $mul454 << 3;
- $extra_bits = $shl455;
- $420 = $extra_bits;
- $421 = $excess;
- $422 = $balance;
- $sub456 = (($421) - ($422))|0;
- $cmp457 = ($420|0)>=($sub456|0);
- $conv458 = $cmp457&1;
- $423 = $fine_priority$addr;
- $424 = $j;
- $arrayidx459 = (($423) + ($424<<2)|0);
- HEAP32[$arrayidx459>>2] = $conv458;
- $425 = $extra_bits;
- $426 = $excess;
- $sub460 = (($426) - ($425))|0;
- $excess = $sub460;
- }
- $427 = $excess;
- $balance = $427;
- $428 = $j;
- $inc463 = (($428) + 1)|0;
- $j = $inc463;
- }
- $429 = $balance;
- $430 = $_balance$addr;
- HEAP32[$430>>2] = $429;
- while(1) {
- $431 = $j;
- $432 = $end$addr;
- $cmp466 = ($431|0)<($432|0);
- if (!($cmp466)) {
- break;
- }
- $433 = $bits$addr;
- $434 = $j;
- $arrayidx469 = (($433) + ($434<<2)|0);
- $435 = HEAP32[$arrayidx469>>2]|0;
- $436 = $stereo;
- $shr470 = $435 >> $436;
- $shr471 = $shr470 >> 3;
- $437 = $ebits$addr;
- $438 = $j;
- $arrayidx472 = (($437) + ($438<<2)|0);
- HEAP32[$arrayidx472>>2] = $shr471;
- $439 = $bits$addr;
- $440 = $j;
- $arrayidx473 = (($439) + ($440<<2)|0);
- HEAP32[$arrayidx473>>2] = 0;
- $441 = $ebits$addr;
- $442 = $j;
- $arrayidx474 = (($441) + ($442<<2)|0);
- $443 = HEAP32[$arrayidx474>>2]|0;
- $cmp475 = ($443|0)<(1);
- $conv476 = $cmp475&1;
- $444 = $fine_priority$addr;
- $445 = $j;
- $arrayidx477 = (($444) + ($445<<2)|0);
- HEAP32[$arrayidx477>>2] = $conv476;
- $446 = $j;
- $inc479 = (($446) + 1)|0;
- $j = $inc479;
- }
- $447 = $codedBands;
- STACKTOP = sp;return ($447|0);
-}
-function _celt_udiv_137($n,$d) {
- $n = $n|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $d$addr = 0, $div = 0, $n$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $n$addr = $n;
- $d$addr = $d;
- $0 = $n$addr;
- $1 = $d$addr;
- $div = (($0>>>0) / ($1>>>0))&-1;
- STACKTOP = sp;return ($div|0);
-}
-function _alg_quant($X,$N,$K,$spread,$B,$enc) {
- $X = $X|0;
- $N = $N|0;
- $K = $K|0;
- $spread = $spread|0;
- $B = $B|0;
- $enc = $enc|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0.0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $14 = 0, $15 = 0.0;
- var $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0;
- var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0;
- var $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0;
- var $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0.0, $85 = 0, $86 = 0.0, $87 = 0.0, $88 = 0.0;
- var $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0, $98 = 0.0, $99 = 0, $B$addr = 0, $K$addr = 0, $N$addr = 0, $Rxy = 0.0, $Ryy = 0.0, $X$addr = 0, $add = 0.0, $add42 = 0.0;
- var $add46 = 0.0, $add57 = 0, $add63 = 0.0, $add66 = 0.0, $add68 = 0, $add72 = 0.0, $add75 = 0.0, $add77 = 0.0, $add91 = 0.0, $add93 = 0.0, $add96 = 0.0, $arrayidx = 0, $arrayidx101 = 0, $arrayidx102 = 0, $arrayidx104 = 0, $arrayidx105 = 0, $arrayidx109 = 0, $arrayidx111 = 0, $arrayidx13 = 0, $arrayidx23 = 0;
- var $arrayidx3 = 0, $arrayidx31 = 0, $arrayidx35 = 0, $arrayidx36 = 0, $arrayidx38 = 0, $arrayidx39 = 0, $arrayidx40 = 0, $arrayidx43 = 0, $arrayidx44 = 0, $arrayidx47 = 0, $arrayidx49 = 0, $arrayidx5 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $arrayidx74 = 0, $arrayidx76 = 0, $arrayidx8 = 0, $arrayidx90 = 0, $arrayidx92 = 0, $arrayidx95 = 0;
- var $arrayidx97 = 0, $best_den = 0.0, $best_id = 0, $best_num = 0.0, $call = 0.0, $call118 = 0, $cmp = 0, $cmp10 = 0, $cmp106 = 0, $cmp115 = 0, $cmp16 = 0, $cmp18 = 0, $cmp19 = 0, $cmp26 = 0, $cmp53 = 0, $cmp58 = 0, $cmp70 = 0, $cmp81 = 0, $cmp87 = 0, $cmp9 = 0;
- var $collapse_mask = 0, $conv = 0.0, $conv33 = 0.0, $conv34 = 0, $conv37 = 0.0, $conv61 = 0.0, $div = 0.0, $enc$addr = 0, $i = 0, $inc = 0, $inc114 = 0, $inc15 = 0, $inc25 = 0, $inc52 = 0, $inc86 = 0, $inc98 = 0, $inc99 = 0, $j = 0, $mul = 0.0, $mul103 = 0.0;
- var $mul32 = 0.0, $mul41 = 0.0, $mul45 = 0.0, $mul48 = 0.0, $mul62 = 0.0, $mul65 = 0.0, $mul78 = 0.0, $mul79 = 0.0, $mul80 = 0.0, $mul94 = 0.0, $or$cond = 0, $pulsesLeft = 0, $rcp = 0.0, $s = 0.0, $saved_stack = 0, $shr = 0, $spread$addr = 0, $sub = 0.0, $sub110 = 0, $sub29 = 0;
- var $sub50 = 0, $sum = 0.0, $tmp = 0.0, $vla = 0, $vla$alloca_mul = 0, $vla1 = 0, $vla1$alloca_mul = 0, $vla2 = 0, $vla2$alloca_mul = 0, $xy = 0.0, $yy = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $X$addr = $X;
- $N$addr = $N;
- $K$addr = $K;
- $spread$addr = $spread;
- $B$addr = $B;
- $enc$addr = $enc;
- $0 = $N$addr;
- $1 = (_llvm_stacksave()|0);
- $saved_stack = $1;
- $vla$alloca_mul = $0<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $2 = $N$addr;
- $vla1$alloca_mul = $2<<2;
- $vla1 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla1$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla1$alloca_mul)|0)+15)&-16)|0);;
- $3 = $N$addr;
- $vla2$alloca_mul = $3<<2;
- $vla2 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla2$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla2$alloca_mul)|0)+15)&-16)|0);;
- $4 = $X$addr;
- $5 = $N$addr;
- $6 = $B$addr;
- $7 = $K$addr;
- $8 = $spread$addr;
- _exp_rotation($4,$5,1,$6,$7,$8);
- $sum = 0.0;
- $j = 0;
- while(1) {
- $9 = $X$addr;
- $10 = $j;
- $arrayidx = (($9) + ($10<<2)|0);
- $11 = +HEAPF32[$arrayidx>>2];
- $cmp = $11 > 0.0;
- $12 = $j;
- $arrayidx3 = (($vla2) + ($12<<2)|0);
- if ($cmp) {
- HEAPF32[$arrayidx3>>2] = 1.0;
- } else {
- HEAPF32[$arrayidx3>>2] = -1.0;
- $13 = $X$addr;
- $14 = $j;
- $arrayidx5 = (($13) + ($14<<2)|0);
- $15 = +HEAPF32[$arrayidx5>>2];
- $sub = - $15;
- $16 = $X$addr;
- $17 = $j;
- $arrayidx6 = (($16) + ($17<<2)|0);
- HEAPF32[$arrayidx6>>2] = $sub;
- }
- $18 = $j;
- $arrayidx7 = (($vla1) + ($18<<2)|0);
- HEAP32[$arrayidx7>>2] = 0;
- $19 = $j;
- $arrayidx8 = (($vla) + ($19<<2)|0);
- HEAPF32[$arrayidx8>>2] = 0.0;
- $20 = $j;
- $inc = (($20) + 1)|0;
- $j = $inc;
- $21 = $N$addr;
- $cmp9 = ($inc|0)<($21|0);
- if (!($cmp9)) {
- break;
- }
- }
- $yy = 0.0;
- $xy = 0.0;
- $22 = $K$addr;
- $pulsesLeft = $22;
- $23 = $K$addr;
- $24 = $N$addr;
- $shr = $24 >> 1;
- $cmp10 = ($23|0)>($shr|0);
- if ($cmp10) {
- $j = 0;
- while(1) {
- $25 = $X$addr;
- $26 = $j;
- $arrayidx13 = (($25) + ($26<<2)|0);
- $27 = +HEAPF32[$arrayidx13>>2];
- $28 = $sum;
- $add = $28 + $27;
- $sum = $add;
- $29 = $j;
- $inc15 = (($29) + 1)|0;
- $j = $inc15;
- $30 = $N$addr;
- $cmp16 = ($inc15|0)<($30|0);
- if (!($cmp16)) {
- break;
- }
- }
- $31 = $sum;
- $cmp18 = $31 > 1.0000000036274937E-15;
- $32 = $sum;
- $cmp19 = $32 < 64.0;
- $or$cond = $cmp18 & $cmp19;
- if (!($or$cond)) {
- $33 = $X$addr;
- HEAPF32[$33>>2] = 1.0;
- $j = 1;
- while(1) {
- $34 = $X$addr;
- $35 = $j;
- $arrayidx23 = (($34) + ($35<<2)|0);
- HEAPF32[$arrayidx23>>2] = 0.0;
- $36 = $j;
- $inc25 = (($36) + 1)|0;
- $j = $inc25;
- $37 = $N$addr;
- $cmp26 = ($inc25|0)<($37|0);
- if (!($cmp26)) {
- break;
- }
- }
- $sum = 1.0;
- }
- $38 = $K$addr;
- $sub29 = (($38) - 1)|0;
- $conv = (+($sub29|0));
- $39 = $sum;
- $div = 1.0 / $39;
- $mul = $conv * $div;
- $rcp = $mul;
- $j = 0;
- while(1) {
- $40 = $rcp;
- $41 = $X$addr;
- $42 = $j;
- $arrayidx31 = (($41) + ($42<<2)|0);
- $43 = +HEAPF32[$arrayidx31>>2];
- $mul32 = $40 * $43;
- $conv33 = $mul32;
- $call = (+Math_floor((+$conv33)));
- $conv34 = (~~(($call)));
- $44 = $j;
- $arrayidx35 = (($vla1) + ($44<<2)|0);
- HEAP32[$arrayidx35>>2] = $conv34;
- $45 = $j;
- $arrayidx36 = (($vla1) + ($45<<2)|0);
- $46 = HEAP32[$arrayidx36>>2]|0;
- $conv37 = (+($46|0));
- $47 = $j;
- $arrayidx38 = (($vla) + ($47<<2)|0);
- HEAPF32[$arrayidx38>>2] = $conv37;
- $48 = $yy;
- $49 = $j;
- $arrayidx39 = (($vla) + ($49<<2)|0);
- $50 = +HEAPF32[$arrayidx39>>2];
- $51 = $j;
- $arrayidx40 = (($vla) + ($51<<2)|0);
- $52 = +HEAPF32[$arrayidx40>>2];
- $mul41 = $50 * $52;
- $add42 = $48 + $mul41;
- $yy = $add42;
- $53 = $xy;
- $54 = $X$addr;
- $55 = $j;
- $arrayidx43 = (($54) + ($55<<2)|0);
- $56 = +HEAPF32[$arrayidx43>>2];
- $57 = $j;
- $arrayidx44 = (($vla) + ($57<<2)|0);
- $58 = +HEAPF32[$arrayidx44>>2];
- $mul45 = $56 * $58;
- $add46 = $53 + $mul45;
- $xy = $add46;
- $59 = $j;
- $arrayidx47 = (($vla) + ($59<<2)|0);
- $60 = +HEAPF32[$arrayidx47>>2];
- $mul48 = $60 * 2.0;
- HEAPF32[$arrayidx47>>2] = $mul48;
- $61 = $j;
- $arrayidx49 = (($vla1) + ($61<<2)|0);
- $62 = HEAP32[$arrayidx49>>2]|0;
- $63 = $pulsesLeft;
- $sub50 = (($63) - ($62))|0;
- $pulsesLeft = $sub50;
- $64 = $j;
- $inc52 = (($64) + 1)|0;
- $j = $inc52;
- $65 = $N$addr;
- $cmp53 = ($inc52|0)<($65|0);
- if (!($cmp53)) {
- break;
- }
- }
- }
- $66 = $pulsesLeft;
- $67 = $N$addr;
- $add57 = (($67) + 3)|0;
- $cmp58 = ($66|0)>($add57|0);
- if ($cmp58) {
- $68 = $pulsesLeft;
- $conv61 = (+($68|0));
- $tmp = $conv61;
- $69 = $yy;
- $70 = $tmp;
- $71 = $tmp;
- $mul62 = $70 * $71;
- $add63 = $69 + $mul62;
- $yy = $add63;
- $72 = $yy;
- $73 = $tmp;
- $74 = +HEAPF32[$vla>>2];
- $mul65 = $73 * $74;
- $add66 = $72 + $mul65;
- $yy = $add66;
- $75 = $pulsesLeft;
- $76 = HEAP32[$vla1>>2]|0;
- $add68 = (($76) + ($75))|0;
- HEAP32[$vla1>>2] = $add68;
- $pulsesLeft = 0;
- }
- $s = 1.0;
- $i = 0;
- while(1) {
- $77 = $i;
- $78 = $pulsesLeft;
- $cmp70 = ($77|0)<($78|0);
- if (!($cmp70)) {
- break;
- }
- $best_num = -999999986991104.0;
- $best_den = 0.0;
- $best_id = 0;
- $79 = $yy;
- $add72 = $79 + 1.0;
- $yy = $add72;
- $j = 0;
- while(1) {
- $80 = $xy;
- $81 = $X$addr;
- $82 = $j;
- $arrayidx74 = (($81) + ($82<<2)|0);
- $83 = +HEAPF32[$arrayidx74>>2];
- $add75 = $80 + $83;
- $Rxy = $add75;
- $84 = $yy;
- $85 = $j;
- $arrayidx76 = (($vla) + ($85<<2)|0);
- $86 = +HEAPF32[$arrayidx76>>2];
- $add77 = $84 + $86;
- $Ryy = $add77;
- $87 = $Rxy;
- $88 = $Rxy;
- $mul78 = $87 * $88;
- $Rxy = $mul78;
- $89 = $best_den;
- $90 = $Rxy;
- $mul79 = $89 * $90;
- $91 = $Ryy;
- $92 = $best_num;
- $mul80 = $91 * $92;
- $cmp81 = $mul79 > $mul80;
- if ($cmp81) {
- $93 = $Ryy;
- $best_den = $93;
- $94 = $Rxy;
- $best_num = $94;
- $95 = $j;
- $best_id = $95;
- }
- $96 = $j;
- $inc86 = (($96) + 1)|0;
- $j = $inc86;
- $97 = $N$addr;
- $cmp87 = ($inc86|0)<($97|0);
- if (!($cmp87)) {
- break;
- }
- }
- $98 = $xy;
- $99 = $X$addr;
- $100 = $best_id;
- $arrayidx90 = (($99) + ($100<<2)|0);
- $101 = +HEAPF32[$arrayidx90>>2];
- $add91 = $98 + $101;
- $xy = $add91;
- $102 = $yy;
- $103 = $best_id;
- $arrayidx92 = (($vla) + ($103<<2)|0);
- $104 = +HEAPF32[$arrayidx92>>2];
- $add93 = $102 + $104;
- $yy = $add93;
- $105 = $s;
- $mul94 = 2.0 * $105;
- $106 = $best_id;
- $arrayidx95 = (($vla) + ($106<<2)|0);
- $107 = +HEAPF32[$arrayidx95>>2];
- $add96 = $107 + $mul94;
- HEAPF32[$arrayidx95>>2] = $add96;
- $108 = $best_id;
- $arrayidx97 = (($vla1) + ($108<<2)|0);
- $109 = HEAP32[$arrayidx97>>2]|0;
- $inc98 = (($109) + 1)|0;
- HEAP32[$arrayidx97>>2] = $inc98;
- $110 = $i;
- $inc99 = (($110) + 1)|0;
- $i = $inc99;
- }
- $j = 0;
- while(1) {
- $111 = $j;
- $arrayidx101 = (($vla2) + ($111<<2)|0);
- $112 = +HEAPF32[$arrayidx101>>2];
- $113 = $X$addr;
- $114 = $j;
- $arrayidx102 = (($113) + ($114<<2)|0);
- $115 = +HEAPF32[$arrayidx102>>2];
- $mul103 = $112 * $115;
- $116 = $X$addr;
- $117 = $j;
- $arrayidx104 = (($116) + ($117<<2)|0);
- HEAPF32[$arrayidx104>>2] = $mul103;
- $118 = $j;
- $arrayidx105 = (($vla2) + ($118<<2)|0);
- $119 = +HEAPF32[$arrayidx105>>2];
- $cmp106 = $119 < 0.0;
- if ($cmp106) {
- $120 = $j;
- $arrayidx109 = (($vla1) + ($120<<2)|0);
- $121 = HEAP32[$arrayidx109>>2]|0;
- $sub110 = (0 - ($121))|0;
- $122 = $j;
- $arrayidx111 = (($vla1) + ($122<<2)|0);
- HEAP32[$arrayidx111>>2] = $sub110;
- }
- $123 = $j;
- $inc114 = (($123) + 1)|0;
- $j = $inc114;
- $124 = $N$addr;
- $cmp115 = ($inc114|0)<($124|0);
- if (!($cmp115)) {
- break;
- }
- }
- $125 = $N$addr;
- $126 = $K$addr;
- $127 = $enc$addr;
- _encode_pulses($vla1,$125,$126,$127);
- $128 = $N$addr;
- $129 = $B$addr;
- $call118 = (_extract_collapse_mask($vla1,$128,$129)|0);
- $collapse_mask = $call118;
- $130 = $collapse_mask;
- $131 = $saved_stack;
- _llvm_stackrestore(($131|0));
- STACKTOP = sp;return ($130|0);
-}
-function _exp_rotation($X,$len,$dir,$stride,$K,$spread) {
- $X = $X|0;
- $len = $len|0;
- $dir = $dir|0;
- $stride = $stride|0;
- $K = $K|0;
- $spread = $spread|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0.0, $K$addr = 0, $X$addr = 0, $add = 0, $add$ptr = 0;
- var $add$ptr36 = 0, $add$ptr38 = 0, $add$ptr43 = 0, $add20 = 0, $add22 = 0, $arrayidx = 0, $c = 0.0, $call = 0.0, $call13 = 0.0, $call26 = 0, $cmp = 0, $cmp1 = 0, $cmp16 = 0, $cmp23 = 0, $cmp27 = 0, $cmp29 = 0, $conv = 0.0, $conv12 = 0.0, $conv14 = 0.0, $conv4 = 0.0;
- var $conv8 = 0.0, $conv9 = 0.0, $dir$addr = 0, $div = 0.0, $factor = 0, $gain = 0.0, $i = 0, $inc = 0, $inc47 = 0, $len$addr = 0, $mul = 0, $mul11 = 0.0, $mul15 = 0, $mul19 = 0, $mul2 = 0.0, $mul21 = 0, $mul3 = 0, $mul33 = 0, $mul35 = 0, $mul37 = 0;
- var $mul42 = 0, $mul5 = 0.0, $mul6 = 0.0, $mul7 = 0.0, $or$cond = 0, $s = 0.0, $shr = 0, $spread$addr = 0, $stride$addr = 0, $stride2 = 0, $sub = 0, $sub10 = 0.0, $sub39 = 0.0, $sub44 = 0.0, $theta = 0.0, $tobool = 0, $tobool40 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $X$addr = $X;
- $len$addr = $len;
- $dir$addr = $dir;
- $stride$addr = $stride;
- $K$addr = $K;
- $spread$addr = $spread;
- $stride2 = 0;
- $0 = $K$addr;
- $mul = $0<<1;
- $1 = $len$addr;
- $cmp = ($mul|0)>=($1|0);
- $2 = $spread$addr;
- $cmp1 = ($2|0)==(0);
- $or$cond = $cmp | $cmp1;
- if ($or$cond) {
- STACKTOP = sp;return;
- }
- $3 = $spread$addr;
- $sub = (($3) - 1)|0;
- $arrayidx = (16636 + ($sub<<2)|0);
- $4 = HEAP32[$arrayidx>>2]|0;
- $factor = $4;
- $5 = $len$addr;
- $conv = (+($5|0));
- $mul2 = 1.0 * $conv;
- $6 = $len$addr;
- $7 = $factor;
- $8 = $K$addr;
- $mul3 = Math_imul($7, $8)|0;
- $add = (($6) + ($mul3))|0;
- $conv4 = (+($add|0));
- $div = $mul2 / $conv4;
- $gain = $div;
- $9 = $gain;
- $10 = $gain;
- $mul5 = $9 * $10;
- $mul6 = 0.5 * $mul5;
- $theta = $mul6;
- $11 = $theta;
- $mul7 = 1.5707963705062866 * $11;
- $conv8 = $mul7;
- $call = (+Math_cos((+$conv8)));
- $conv9 = $call;
- $c = $conv9;
- $12 = $theta;
- $sub10 = 1.0 - $12;
- $mul11 = 1.5707963705062866 * $sub10;
- $conv12 = $mul11;
- $call13 = (+Math_cos((+$conv12)));
- $conv14 = $call13;
- $s = $conv14;
- $13 = $len$addr;
- $14 = $stride$addr;
- $mul15 = $14<<3;
- $cmp16 = ($13|0)>=($mul15|0);
- L4: do {
- if ($cmp16) {
- $stride2 = 1;
- while(1) {
- $15 = $stride2;
- $16 = $stride2;
- $mul19 = Math_imul($15, $16)|0;
- $17 = $stride2;
- $add20 = (($mul19) + ($17))|0;
- $18 = $stride$addr;
- $mul21 = Math_imul($add20, $18)|0;
- $19 = $stride$addr;
- $shr = $19 >> 2;
- $add22 = (($mul21) + ($shr))|0;
- $20 = $len$addr;
- $cmp23 = ($add22|0)<($20|0);
- if (!($cmp23)) {
- break L4;
- }
- $21 = $stride2;
- $inc = (($21) + 1)|0;
- $stride2 = $inc;
- }
- }
- } while(0);
- $22 = $len$addr;
- $23 = $stride$addr;
- $call26 = (_celt_udiv_138($22,$23)|0);
- $len$addr = $call26;
- $i = 0;
- while(1) {
- $24 = $i;
- $25 = $stride$addr;
- $cmp27 = ($24|0)<($25|0);
- if (!($cmp27)) {
- break;
- }
- $26 = $dir$addr;
- $cmp29 = ($26|0)<(0);
- if ($cmp29) {
- $27 = $stride2;
- $tobool = ($27|0)!=(0);
- if ($tobool) {
- $28 = $X$addr;
- $29 = $i;
- $30 = $len$addr;
- $mul33 = Math_imul($29, $30)|0;
- $add$ptr = (($28) + ($mul33<<2)|0);
- $31 = $len$addr;
- $32 = $stride2;
- $33 = $s;
- $34 = $c;
- _exp_rotation1($add$ptr,$31,$32,$33,$34);
- }
- $35 = $X$addr;
- $36 = $i;
- $37 = $len$addr;
- $mul35 = Math_imul($36, $37)|0;
- $add$ptr36 = (($35) + ($mul35<<2)|0);
- $38 = $len$addr;
- $39 = $c;
- $40 = $s;
- _exp_rotation1($add$ptr36,$38,1,$39,$40);
- } else {
- $41 = $X$addr;
- $42 = $i;
- $43 = $len$addr;
- $mul37 = Math_imul($42, $43)|0;
- $add$ptr38 = (($41) + ($mul37<<2)|0);
- $44 = $len$addr;
- $45 = $c;
- $46 = $s;
- $sub39 = - $46;
- _exp_rotation1($add$ptr38,$44,1,$45,$sub39);
- $47 = $stride2;
- $tobool40 = ($47|0)!=(0);
- if ($tobool40) {
- $48 = $X$addr;
- $49 = $i;
- $50 = $len$addr;
- $mul42 = Math_imul($49, $50)|0;
- $add$ptr43 = (($48) + ($mul42<<2)|0);
- $51 = $len$addr;
- $52 = $stride2;
- $53 = $s;
- $54 = $c;
- $sub44 = - $54;
- _exp_rotation1($add$ptr43,$51,$52,$53,$sub44);
- }
- }
- $55 = $i;
- $inc47 = (($55) + 1)|0;
- $i = $inc47;
- }
- STACKTOP = sp;return;
-}
-function _extract_collapse_mask($iy,$N,$B) {
- $iy = $iy|0;
- $N = $N|0;
- $B = $B|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $B$addr = 0, $N$addr = 0;
- var $N0 = 0, $add = 0, $arrayidx = 0, $call = 0, $cmp = 0, $cmp2 = 0, $cmp3 = 0, $cmp7 = 0, $collapse_mask = 0, $conv = 0, $i = 0, $inc = 0, $inc6 = 0, $iy$addr = 0, $j = 0, $mul = 0, $or = 0, $or4 = 0, $retval = 0, $shl = 0;
- var $tmp = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $iy$addr = $iy;
- $N$addr = $N;
- $B$addr = $B;
- $0 = $B$addr;
- $cmp = ($0|0)<=(1);
- if ($cmp) {
- $retval = 1;
- $17 = $retval;
- STACKTOP = sp;return ($17|0);
- }
- $1 = $N$addr;
- $2 = $B$addr;
- $call = (_celt_udiv_138($1,$2)|0);
- $N0 = $call;
- $collapse_mask = 0;
- $i = 0;
- while(1) {
- $tmp = 0;
- $j = 0;
- while(1) {
- $3 = $iy$addr;
- $4 = $i;
- $5 = $N0;
- $mul = Math_imul($4, $5)|0;
- $6 = $j;
- $add = (($mul) + ($6))|0;
- $arrayidx = (($3) + ($add<<2)|0);
- $7 = HEAP32[$arrayidx>>2]|0;
- $8 = $tmp;
- $or = $8 | $7;
- $tmp = $or;
- $9 = $j;
- $inc = (($9) + 1)|0;
- $j = $inc;
- $10 = $N0;
- $cmp2 = ($inc|0)<($10|0);
- if (!($cmp2)) {
- break;
- }
- }
- $11 = $tmp;
- $cmp3 = ($11|0)!=(0);
- $conv = $cmp3&1;
- $12 = $i;
- $shl = $conv << $12;
- $13 = $collapse_mask;
- $or4 = $13 | $shl;
- $collapse_mask = $or4;
- $14 = $i;
- $inc6 = (($14) + 1)|0;
- $i = $inc6;
- $15 = $B$addr;
- $cmp7 = ($inc6|0)<($15|0);
- if (!($cmp7)) {
- break;
- }
- }
- $16 = $collapse_mask;
- $retval = $16;
- $17 = $retval;
- STACKTOP = sp;return ($17|0);
-}
-function _celt_udiv_138($n,$d) {
- $n = $n|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $d$addr = 0, $div = 0, $n$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $n$addr = $n;
- $d$addr = $d;
- $0 = $n$addr;
- $1 = $d$addr;
- $div = (($0>>>0) / ($1>>>0))&-1;
- STACKTOP = sp;return ($div|0);
-}
-function _exp_rotation1($X,$len,$stride,$c,$s) {
- $X = $X|0;
- $len = $len|0;
- $stride = $stride|0;
- $c = +$c;
- $s = +$s;
- var $0 = 0, $1 = 0.0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0;
- var $5 = 0, $6 = 0.0, $7 = 0, $8 = 0, $9 = 0.0, $X$addr = 0, $Xptr = 0, $add = 0.0, $add24 = 0.0, $add28 = 0.0, $add7 = 0.0, $arrayidx11 = 0, $arrayidx2 = 0, $arrayidx21 = 0, $arrayidx25 = 0, $arrayidx4 = 0, $c$addr = 0.0, $cmp = 0, $cmp16 = 0, $dec = 0;
- var $i = 0, $inc = 0, $incdec$ptr = 0, $incdec$ptr29 = 0, $len$addr = 0, $ms = 0.0, $mul = 0.0, $mul12 = 0, $mul22 = 0.0, $mul23 = 0.0, $mul26 = 0.0, $mul27 = 0.0, $mul3 = 0.0, $mul5 = 0.0, $mul6 = 0.0, $mul8 = 0, $s$addr = 0.0, $stride$addr = 0, $sub = 0.0, $sub1 = 0;
- var $sub10 = 0, $sub13 = 0, $sub14 = 0, $sub9 = 0, $x1 = 0.0, $x118 = 0.0, $x2 = 0.0, $x219 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $X$addr = $X;
- $len$addr = $len;
- $stride$addr = $stride;
- $c$addr = $c;
- $s$addr = $s;
- $0 = $X$addr;
- $Xptr = $0;
- $1 = $s$addr;
- $sub = - $1;
- $ms = $sub;
- $i = 0;
- while(1) {
- $2 = $i;
- $3 = $len$addr;
- $4 = $stride$addr;
- $sub1 = (($3) - ($4))|0;
- $cmp = ($2|0)<($sub1|0);
- if (!($cmp)) {
- break;
- }
- $5 = $Xptr;
- $6 = +HEAPF32[$5>>2];
- $x1 = $6;
- $7 = $Xptr;
- $8 = $stride$addr;
- $arrayidx2 = (($7) + ($8<<2)|0);
- $9 = +HEAPF32[$arrayidx2>>2];
- $x2 = $9;
- $10 = $c$addr;
- $11 = $x2;
- $mul = $10 * $11;
- $12 = $s$addr;
- $13 = $x1;
- $mul3 = $12 * $13;
- $add = $mul + $mul3;
- $14 = $Xptr;
- $15 = $stride$addr;
- $arrayidx4 = (($14) + ($15<<2)|0);
- HEAPF32[$arrayidx4>>2] = $add;
- $16 = $c$addr;
- $17 = $x1;
- $mul5 = $16 * $17;
- $18 = $ms;
- $19 = $x2;
- $mul6 = $18 * $19;
- $add7 = $mul5 + $mul6;
- $20 = $Xptr;
- $incdec$ptr = ((($20)) + 4|0);
- $Xptr = $incdec$ptr;
- HEAPF32[$20>>2] = $add7;
- $21 = $i;
- $inc = (($21) + 1)|0;
- $i = $inc;
- }
- $22 = $X$addr;
- $23 = $len$addr;
- $24 = $stride$addr;
- $mul8 = $24<<1;
- $sub9 = (($23) - ($mul8))|0;
- $sub10 = (($sub9) - 1)|0;
- $arrayidx11 = (($22) + ($sub10<<2)|0);
- $Xptr = $arrayidx11;
- $25 = $len$addr;
- $26 = $stride$addr;
- $mul12 = $26<<1;
- $sub13 = (($25) - ($mul12))|0;
- $sub14 = (($sub13) - 1)|0;
- $i = $sub14;
- while(1) {
- $27 = $i;
- $cmp16 = ($27|0)>=(0);
- if (!($cmp16)) {
- break;
- }
- $28 = $Xptr;
- $29 = +HEAPF32[$28>>2];
- $x118 = $29;
- $30 = $Xptr;
- $31 = $stride$addr;
- $arrayidx21 = (($30) + ($31<<2)|0);
- $32 = +HEAPF32[$arrayidx21>>2];
- $x219 = $32;
- $33 = $c$addr;
- $34 = $x219;
- $mul22 = $33 * $34;
- $35 = $s$addr;
- $36 = $x118;
- $mul23 = $35 * $36;
- $add24 = $mul22 + $mul23;
- $37 = $Xptr;
- $38 = $stride$addr;
- $arrayidx25 = (($37) + ($38<<2)|0);
- HEAPF32[$arrayidx25>>2] = $add24;
- $39 = $c$addr;
- $40 = $x118;
- $mul26 = $39 * $40;
- $41 = $ms;
- $42 = $x219;
- $mul27 = $41 * $42;
- $add28 = $mul26 + $mul27;
- $43 = $Xptr;
- $incdec$ptr29 = ((($43)) + -4|0);
- $Xptr = $incdec$ptr29;
- HEAPF32[$43>>2] = $add28;
- $44 = $i;
- $dec = (($44) + -1)|0;
- $i = $dec;
- }
- STACKTOP = sp;return;
-}
-function _alg_unquant($X,$N,$K,$spread,$B,$dec,$gain) {
- $X = $X|0;
- $N = $N|0;
- $K = $K|0;
- $spread = $spread|0;
- $B = $B|0;
- $dec = $dec|0;
- $gain = +$gain;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0.0, $9 = 0, $B$addr = 0, $K$addr = 0;
- var $N$addr = 0, $Ryy = 0.0, $X$addr = 0, $call = 0.0, $call1 = 0, $collapse_mask = 0, $dec$addr = 0, $gain$addr = 0.0, $saved_stack = 0, $spread$addr = 0, $vla = 0, $vla$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $X$addr = $X;
- $N$addr = $N;
- $K$addr = $K;
- $spread$addr = $spread;
- $B$addr = $B;
- $dec$addr = $dec;
- $gain$addr = $gain;
- $0 = $N$addr;
- $1 = (_llvm_stacksave()|0);
- $saved_stack = $1;
- $vla$alloca_mul = $0<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $2 = $N$addr;
- $3 = $K$addr;
- $4 = $dec$addr;
- $call = (+_decode_pulses($vla,$2,$3,$4));
- $Ryy = $call;
- $5 = $X$addr;
- $6 = $N$addr;
- $7 = $Ryy;
- $8 = $gain$addr;
- _normalise_residual($vla,$5,$6,$7,$8);
- $9 = $X$addr;
- $10 = $N$addr;
- $11 = $B$addr;
- $12 = $K$addr;
- $13 = $spread$addr;
- _exp_rotation($9,$10,-1,$11,$12,$13);
- $14 = $N$addr;
- $15 = $B$addr;
- $call1 = (_extract_collapse_mask($vla,$14,$15)|0);
- $collapse_mask = $call1;
- $16 = $collapse_mask;
- $17 = $saved_stack;
- _llvm_stackrestore(($17|0));
- STACKTOP = sp;return ($16|0);
-}
-function _normalise_residual($iy,$X,$N,$Ryy,$gain) {
- $iy = $iy|0;
- $X = $X|0;
- $N = $N|0;
- $Ryy = +$Ryy;
- $gain = +$gain;
- var $0 = 0.0, $1 = 0.0, $10 = 0, $2 = 0.0, $3 = 0.0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $N$addr = 0, $Ryy$addr = 0.0, $X$addr = 0, $arrayidx = 0, $arrayidx4 = 0, $call = 0.0, $cmp = 0, $conv = 0.0, $conv1 = 0.0;
- var $conv2 = 0.0, $div = 0.0, $g = 0.0, $gain$addr = 0.0, $i = 0, $inc = 0, $iy$addr = 0, $mul = 0.0, $mul3 = 0.0, $t = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $iy$addr = $iy;
- $X$addr = $X;
- $N$addr = $N;
- $Ryy$addr = $Ryy;
- $gain$addr = $gain;
- $0 = $Ryy$addr;
- $t = $0;
- $1 = $t;
- $conv = $1;
- $call = (+Math_sqrt((+$conv)));
- $conv1 = $call;
- $div = 1.0 / $conv1;
- $2 = $gain$addr;
- $mul = $div * $2;
- $g = $mul;
- $i = 0;
- while(1) {
- $3 = $g;
- $4 = $iy$addr;
- $5 = $i;
- $arrayidx = (($4) + ($5<<2)|0);
- $6 = HEAP32[$arrayidx>>2]|0;
- $conv2 = (+($6|0));
- $mul3 = $3 * $conv2;
- $7 = $X$addr;
- $8 = $i;
- $arrayidx4 = (($7) + ($8<<2)|0);
- HEAPF32[$arrayidx4>>2] = $mul3;
- $9 = $i;
- $inc = (($9) + 1)|0;
- $i = $inc;
- $10 = $N$addr;
- $cmp = ($inc|0)<($10|0);
- if (!($cmp)) {
- break;
- }
- }
- STACKTOP = sp;return;
-}
-function _renormalise_vector($X,$N,$gain,$arch) {
- $X = $X|0;
- $N = $N|0;
- $gain = +$gain;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0, $9 = 0.0, $E = 0.0, $N$addr = 0, $X$addr = 0, $add = 0.0, $arch$addr = 0;
- var $call = 0.0, $call1 = 0.0, $cmp = 0, $conv = 0.0, $conv2 = 0.0, $div = 0.0, $g = 0.0, $gain$addr = 0.0, $i = 0, $inc = 0, $incdec$ptr = 0, $mul = 0.0, $mul4 = 0.0, $t = 0.0, $xptr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $X$addr = $X;
- $N$addr = $N;
- $gain$addr = $gain;
- $arch$addr = $arch;
- $0 = $X$addr;
- $1 = $X$addr;
- $2 = $N$addr;
- $call = (+_celt_inner_prod_c_141($0,$1,$2));
- $add = 1.0000000036274937E-15 + $call;
- $E = $add;
- $3 = $E;
- $t = $3;
- $4 = $t;
- $conv = $4;
- $call1 = (+Math_sqrt((+$conv)));
- $conv2 = $call1;
- $div = 1.0 / $conv2;
- $5 = $gain$addr;
- $mul = $div * $5;
- $g = $mul;
- $6 = $X$addr;
- $xptr = $6;
- $i = 0;
- while(1) {
- $7 = $i;
- $8 = $N$addr;
- $cmp = ($7|0)<($8|0);
- if (!($cmp)) {
- break;
- }
- $9 = $g;
- $10 = $xptr;
- $11 = +HEAPF32[$10>>2];
- $mul4 = $9 * $11;
- $12 = $xptr;
- HEAPF32[$12>>2] = $mul4;
- $13 = $xptr;
- $incdec$ptr = ((($13)) + 4|0);
- $xptr = $incdec$ptr;
- $14 = $i;
- $inc = (($14) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _celt_inner_prod_c_141($x,$y,$N) {
- $x = $x|0;
- $y = $y|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $2 = 0.0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $N$addr = 0, $add = 0.0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $x$addr = 0, $xy = 0.0;
- var $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $y$addr = $y;
- $N$addr = $N;
- $xy = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $xy;
- if (!($cmp)) {
- break;
- }
- $3 = $x$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $6 = $y$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $mul = $5 * $8;
- $add = $2 + $mul;
- $xy = $add;
- $9 = $i;
- $inc = (($9) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return (+$2);
-}
-function _stereo_itheta($X,$Y,$stereo,$N,$arch) {
- $X = $X|0;
- $Y = $Y|0;
- $stereo = $stereo|0;
- $N = $N|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $Emid = 0.0, $Eside = 0.0, $N$addr = 0, $X$addr = 0, $Y$addr = 0;
- var $add = 0.0, $add19 = 0.0, $add4 = 0.0, $add6 = 0.0, $add7 = 0.0, $add9 = 0.0, $arch$addr = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx3 = 0, $call = 0.0, $call10 = 0.0, $call13 = 0.0, $call17 = 0.0, $call20 = 0.0, $call8 = 0.0, $cmp = 0, $conv = 0.0, $conv11 = 0.0;
- var $conv12 = 0.0, $conv14 = 0.0, $conv15 = 0.0, $conv16 = 0.0, $conv21 = 0, $i = 0, $inc = 0, $itheta = 0, $m = 0.0, $mid = 0.0, $mul = 0.0, $mul18 = 0.0, $mul5 = 0.0, $s = 0.0, $side = 0.0, $stereo$addr = 0, $sub = 0.0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $X$addr = $X;
- $Y$addr = $Y;
- $stereo$addr = $stereo;
- $N$addr = $N;
- $arch$addr = $arch;
- $Eside = 1.0000000036274937E-15;
- $Emid = 1.0000000036274937E-15;
- $0 = $stereo$addr;
- $tobool = ($0|0)!=(0);
- L1: do {
- if ($tobool) {
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $N$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break L1;
- }
- $3 = $X$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $6 = $Y$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $add = $5 + $8;
- $m = $add;
- $9 = $X$addr;
- $10 = $i;
- $arrayidx2 = (($9) + ($10<<2)|0);
- $11 = +HEAPF32[$arrayidx2>>2];
- $12 = $Y$addr;
- $13 = $i;
- $arrayidx3 = (($12) + ($13<<2)|0);
- $14 = +HEAPF32[$arrayidx3>>2];
- $sub = $11 - $14;
- $s = $sub;
- $15 = $Emid;
- $16 = $m;
- $17 = $m;
- $mul = $16 * $17;
- $add4 = $15 + $mul;
- $Emid = $add4;
- $18 = $Eside;
- $19 = $s;
- $20 = $s;
- $mul5 = $19 * $20;
- $add6 = $18 + $mul5;
- $Eside = $add6;
- $21 = $i;
- $inc = (($21) + 1)|0;
- $i = $inc;
- }
- } else {
- $22 = $X$addr;
- $23 = $X$addr;
- $24 = $N$addr;
- $call = (+_celt_inner_prod_c_141($22,$23,$24));
- $25 = $Emid;
- $add7 = $25 + $call;
- $Emid = $add7;
- $26 = $Y$addr;
- $27 = $Y$addr;
- $28 = $N$addr;
- $call8 = (+_celt_inner_prod_c_141($26,$27,$28));
- $29 = $Eside;
- $add9 = $29 + $call8;
- $Eside = $add9;
- }
- } while(0);
- $30 = $Emid;
- $conv = $30;
- $call10 = (+Math_sqrt((+$conv)));
- $conv11 = $call10;
- $mid = $conv11;
- $31 = $Eside;
- $conv12 = $31;
- $call13 = (+Math_sqrt((+$conv12)));
- $conv14 = $call13;
- $side = $conv14;
- $32 = $side;
- $conv15 = $32;
- $33 = $mid;
- $conv16 = $33;
- $call17 = (+Math_atan2((+$conv15),(+$conv16)));
- $mul18 = 10430.3818359375 * $call17;
- $add19 = 0.5 + $mul18;
- $call20 = (+Math_floor((+$add19)));
- $conv21 = (~~(($call20)));
- $itheta = $conv21;
- $34 = $itheta;
- STACKTOP = sp;return ($34|0);
-}
-function _silk_Get_Decoder_Size($decSizeBytes) {
- $decSizeBytes = $decSizeBytes|0;
- var $0 = 0, $1 = 0, $decSizeBytes$addr = 0, $ret = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $decSizeBytes$addr = $decSizeBytes;
- $ret = 0;
- $0 = $decSizeBytes$addr;
- HEAP32[$0>>2] = 8544;
- $1 = $ret;
- STACKTOP = sp;return ($1|0);
-}
-function _silk_InitDecoder($decState) {
- $decState = $decState|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $arrayidx = 0, $call = 0, $channel_state = 0, $cmp = 0, $decState$addr = 0, $inc = 0, $n = 0, $prev_decode_only_middle = 0, $ret = 0, $sStereo = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $decState$addr = $decState;
- $ret = 0;
- $0 = $decState$addr;
- $channel_state = $0;
- $n = 0;
- while(1) {
- $1 = $n;
- $cmp = ($1|0)<(2);
- if (!($cmp)) {
- break;
- }
- $2 = $channel_state;
- $3 = $n;
- $arrayidx = (($2) + (($3*4260)|0)|0);
- $call = (_silk_init_decoder($arrayidx)|0);
- $ret = $call;
- $4 = $n;
- $inc = (($4) + 1)|0;
- $n = $inc;
- }
- $5 = $decState$addr;
- $sStereo = ((($5)) + 8520|0);
- ;HEAP32[$sStereo>>2]=0|0;HEAP32[$sStereo+4>>2]=0|0;HEAP32[$sStereo+8>>2]=0|0;
- $6 = $decState$addr;
- $prev_decode_only_middle = ((($6)) + 8540|0);
- HEAP32[$prev_decode_only_middle>>2] = 0;
- $7 = $ret;
- STACKTOP = sp;return ($7|0);
-}
-function _silk_Decode($decState,$decControl,$lostFlag,$newPacketFlag,$psRangeDec,$samplesOut,$nSamplesOut,$arch) {
- $decState = $decState|0;
- $decControl = $decControl|0;
- $lostFlag = $lostFlag|0;
- $newPacketFlag = $newPacketFlag|0;
- $psRangeDec = $psRangeDec|0;
- $samplesOut = $samplesOut|0;
- $nSamplesOut = $nSamplesOut|0;
- $arch = $arch|0;
- var $$sink = 0, $$sink6 = 0, $$sink7 = 0, $$sink8 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0;
- var $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0;
- var $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0;
- var $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0;
- var $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0;
- var $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0;
- var $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0;
- var $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0;
- var $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0;
- var $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0;
- var $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0;
- var $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0;
- var $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0;
- var $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0;
- var $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0;
- var $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0;
- var $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0;
- var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
- var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
- var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
- var $96 = 0, $97 = 0, $98 = 0, $99 = 0, $API_sampleRate = 0, $API_sampleRate100 = 0, $API_sampleRate103 = 0, $API_sampleRate314 = 0, $API_sampleRate442 = 0, $FrameIndex = 0, $LBRR_flag = 0, $LBRR_flag140 = 0, $LBRR_flags = 0, $LBRR_flags148 = 0, $LBRR_flags163 = 0, $LBRR_flags185 = 0, $LBRR_flags196 = 0, $LBRR_flags205 = 0, $LBRR_flags239 = 0, $LBRR_flags262 = 0;
- var $LBRR_flags355 = 0, $LBRR_flags386 = 0, $LBRR_symbol = 0, $LastGainIndex = 0, $LastGainIndex599 = 0, $MS_pred_Q13 = 0, $VAD_flags = 0, $VAD_flags251 = 0, $add = 0, $add$ptr336 = 0, $add$ptr337 = 0, $add$ptr487 = 0, $add$ptr488 = 0, $add155 = 0, $add323 = 0, $add406 = 0, $add468 = 0, $add479 = 0, $add483 = 0, $add510 = 0;
- var $add521 = 0, $add545 = 0, $add552 = 0, $add563 = 0, $add566 = 0, $add64 = 0, $add74 = 0, $and = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx118 = 0, $arrayidx123 = 0, $arrayidx124 = 0, $arrayidx137 = 0, $arrayidx139 = 0, $arrayidx143 = 0, $arrayidx147 = 0, $arrayidx151 = 0, $arrayidx153 = 0, $arrayidx157 = 0;
- var $arrayidx162 = 0, $arrayidx164 = 0, $arrayidx184 = 0, $arrayidx186 = 0, $arrayidx195 = 0, $arrayidx197 = 0, $arrayidx204 = 0, $arrayidx207 = 0, $arrayidx212 = 0, $arrayidx214 = 0, $arrayidx215 = 0, $arrayidx218 = 0, $arrayidx24 = 0, $arrayidx242 = 0, $arrayidx25 = 0, $arrayidx250 = 0, $arrayidx254 = 0, $arrayidx261 = 0, $arrayidx265 = 0, $arrayidx278 = 0;
- var $arrayidx280 = 0, $arrayidx29 = 0, $arrayidx297 = 0, $arrayidx300 = 0, $arrayidx303 = 0, $arrayidx305 = 0, $arrayidx307 = 0, $arrayidx309 = 0, $arrayidx31 = 0, $arrayidx31$sink = 0, $arrayidx338 = 0, $arrayidx354 = 0, $arrayidx356 = 0, $arrayidx358 = 0, $arrayidx37 = 0, $arrayidx385 = 0, $arrayidx388 = 0, $arrayidx39 = 0, $arrayidx402 = 0, $arrayidx403 = 0;
- var $arrayidx404 = 0, $arrayidx408 = 0, $arrayidx409 = 0, $arrayidx412 = 0, $arrayidx428 = 0, $arrayidx440 = 0, $arrayidx45 = 0, $arrayidx47 = 0, $arrayidx489 = 0, $arrayidx505 = 0, $arrayidx507 = 0, $arrayidx508 = 0, $arrayidx519 = 0, $arrayidx522 = 0, $arrayidx53 = 0, $arrayidx540 = 0, $arrayidx543 = 0, $arrayidx55 = 0, $arrayidx550 = 0, $arrayidx553 = 0;
- var $arrayidx564 = 0, $arrayidx567 = 0, $arrayidx584 = 0, $arrayidx598 = 0, $arrayidx6 = 0, $arrayidx72 = 0, $arrayidx92 = 0, $call = 0, $call122 = 0, $call154 = 0, $call405 = 0, $call509 = 0, $call544 = 0, $call73 = 0, $channel_state = 0, $cmp = 0, $cmp101 = 0, $cmp104 = 0, $cmp107 = 0, $cmp11 = 0;
- var $cmp111 = 0, $cmp115 = 0, $cmp120 = 0, $cmp13 = 0, $cmp135 = 0, $cmp145 = 0, $cmp159 = 0, $cmp16 = 0, $cmp173 = 0, $cmp178 = 0, $cmp182 = 0, $cmp190 = 0, $cmp192 = 0, $cmp198 = 0, $cmp20 = 0, $cmp202 = 0, $cmp22 = 0, $cmp229 = 0, $cmp232 = 0, $cmp235 = 0;
- var $cmp243 = 0, $cmp247 = 0, $cmp255 = 0, $cmp258 = 0, $cmp266 = 0, $cmp27 = 0, $cmp273 = 0, $cmp287 = 0, $cmp290 = 0, $cmp293 = 0, $cmp317 = 0, $cmp340 = 0, $cmp348 = 0, $cmp35 = 0, $cmp351 = 0, $cmp359 = 0, $cmp366 = 0, $cmp369 = 0, $cmp378 = 0, $cmp382 = 0;
- var $cmp392 = 0, $cmp4 = 0, $cmp419 = 0, $cmp423 = 0, $cmp43 = 0, $cmp450 = 0, $cmp458 = 0, $cmp494 = 0, $cmp502 = 0, $cmp51 = 0, $cmp512 = 0, $cmp516 = 0, $cmp531 = 0, $cmp535 = 0, $cmp547 = 0, $cmp559 = 0, $cmp575 = 0, $cmp589 = 0, $cmp594 = 0, $cmp65 = 0;
- var $cmp67 = 0, $cmp69 = 0, $cmp79 = 0, $cmp82 = 0, $cmp85 = 0, $cmp87 = 0, $cmp9 = 0, $cond = 0, $cond390 = 0, $cond455 = 0, $cond472 = 0, $condCoding = 0, $condCoding374 = 0, $conv = 0, $conv217 = 0, $conv279 = 0, $conv318 = 0, $conv446 = 0, $conv447 = 0, $decControl$addr = 0;
- var $decState$addr = 0, $decode_only_middle = 0, $delay_stack_alloc = 0, $div = 0, $first_frame_after_reset = 0, $frame_length = 0, $frame_length322 = 0, $frame_length335 = 0, $frame_length467 = 0, $frame_length478 = 0, $frame_length486 = 0, $fs_kHz = 0, $fs_kHz431 = 0, $fs_kHz445 = 0, $fs_kHz581 = 0, $fs_kHz_dec = 0, $has_side = 0, $i = 0, $inc = 0, $inc126 = 0;
- var $inc131 = 0, $inc166 = 0, $inc171 = 0, $inc221 = 0, $inc224 = 0, $inc282 = 0, $inc414 = 0, $inc416 = 0, $inc524 = 0, $inc528 = 0, $inc555 = 0, $inc569 = 0, $inc601 = 0, $inc76 = 0, $indices = 0, $indices216 = 0, $internalSampleRate = 0, $internalSampleRate311 = 0, $internalSampleRate63 = 0, $lagPrev = 0;
- var $lagPrev579 = 0, $land$ext = 0, $lnot = 0, $lnot$ext = 0, $lor$ext = 0, $lostFlag$addr = 0, $mul = 0, $mul313 = 0, $mul316 = 0, $mul324 = 0, $mul410 = 0, $mul443 = 0, $mul448 = 0, $mul469 = 0, $mul480 = 0, $mul481 = 0, $mul482 = 0, $mul520 = 0, $mul551 = 0, $mul562 = 0;
- var $mul565 = 0, $mul585 = 0, $mult_tab = 0, $n = 0, $nChannelsAPI84 = 0, $nChannelsAPI97 = 0, $nChannelsInternal = 0, $nChannelsInternal10 = 0, $nChannelsInternal114 = 0, $nChannelsInternal134 = 0, $nChannelsInternal181 = 0, $nChannelsInternal189 = 0, $nChannelsInternal19 = 0, $nChannelsInternal2 = 0, $nChannelsInternal228 = 0, $nChannelsInternal286 = 0, $nChannelsInternal3 = 0, $nChannelsInternal312 = 0, $nChannelsInternal320 = 0, $nChannelsInternal347 = 0;
- var $nChannelsInternal365 = 0, $nChannelsInternal422 = 0, $nChannelsInternal465 = 0, $nChannelsInternal476 = 0, $nChannelsInternal493 = 0, $nChannelsInternal499 = 0, $nChannelsInternal499$sink = 0, $nChannelsInternal534 = 0, $nChannelsInternal593 = 0, $nChannelsInternal8 = 0, $nChannelsInternal81 = 0, $nChannelsInternal86 = 0, $nChannelsInternal98 = 0, $nChannelsInternal99 = 0, $nFramesDecoded = 0, $nFramesDecoded110 = 0, $nFramesDecoded15 = 0, $nFramesDecoded241 = 0, $nFramesDecoded253 = 0, $nFramesDecoded264 = 0;
- var $nFramesDecoded357 = 0, $nFramesDecoded376 = 0, $nFramesDecoded413 = 0, $nFramesPerPacket = 0, $nFramesPerPacket119 = 0, $nFramesPerPacket144 = 0, $nFramesPerPacket152 = 0, $nFramesPerPacket158 = 0, $nFramesPerPacket177 = 0, $nFramesPerPacket30 = 0, $nFramesPerPacket38 = 0, $nFramesPerPacket46 = 0, $nFramesPerPacket54 = 0, $nSamplesOut$addr = 0, $nSamplesOutDec = 0, $nb_subfr32 = 0, $newPacketFlag$addr = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0;
- var $or$cond3 = 0, $or$cond4 = 0, $or$cond5 = 0, $outBuf = 0, $payloadSize_ms = 0, $payloadSize_ms26 = 0, $payloadSize_ms34 = 0, $payloadSize_ms42 = 0, $payloadSize_ms50 = 0, $prevPitchLag587 = 0, $prevSignalType = 0, $prevSignalType574 = 0, $prev_decode_only_middle = 0, $prev_decode_only_middle345 = 0, $prev_decode_only_middle395 = 0, $prev_decode_only_middle604 = 0, $psDec = 0, $psRangeDec$addr = 0, $pulses = 0, $quantOffsetType = 0;
- var $resample_out_ptr = 0, $resampler_state = 0, $resampler_state506 = 0, $resampler_state541 = 0, $resampler_state94 = 0, $ret = 0, $retval = 0, $sLPC_Q14_buf = 0, $sMid = 0, $sMid437 = 0, $sSide = 0, $sStereo = 0, $sStereo276 = 0, $sStereo426 = 0, $sStereo434 = 0, $sStereo436 = 0, $sStereo90 = 0, $samplesOut$addr = 0, $samplesOut1_tmp = 0, $saved_stack = 0;
- var $shr = 0, $shr161 = 0, $shr583 = 0, $signalType = 0, $stereo_to_mono = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $sub206 = 0, $sub377 = 0, $sub387 = 0, $sub582 = 0, $tobool = 0, $tobool141 = 0, $tobool187 = 0, $tobool208 = 0, $tobool319 = 0, $tobool325 = 0;
- var $tobool343 = 0, $tobool346 = 0, $tobool372 = 0, $tobool389 = 0, $tobool396 = 0, $tobool463 = 0, $tobool474 = 0, $tobool538 = 0, $vla = 0, $vla$alloca_mul = 0, $vla$sink = 0, $vla456 = 0, $vla456$alloca_mul = 0, $vla473 = 0, $vla473$alloca_mul = 0, dest = 0, label = 0, sp = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 784|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(784|0);
- $decode_only_middle = sp + 84|0;
- $nSamplesOutDec = sp + 76|0;
- $samplesOut1_tmp = sp + 64|0;
- $MS_pred_Q13 = sp + 56|0;
- $pulses = sp + 136|0;
- $mult_tab = sp;
- $decState$addr = $decState;
- $decControl$addr = $decControl;
- $lostFlag$addr = $lostFlag;
- $newPacketFlag$addr = $newPacketFlag;
- $psRangeDec$addr = $psRangeDec;
- $samplesOut$addr = $samplesOut;
- $nSamplesOut$addr = $nSamplesOut;
- $arch$addr = $arch;
- HEAP32[$decode_only_middle>>2] = 0;
- $ret = 0;
- ;HEAP32[$MS_pred_Q13>>2]=0|0;HEAP32[$MS_pred_Q13+4>>2]=0|0;
- $0 = $decState$addr;
- $psDec = $0;
- $1 = $psDec;
- $channel_state = $1;
- $2 = $newPacketFlag$addr;
- $tobool = ($2|0)!=(0);
- L1: do {
- if ($tobool) {
- $n = 0;
- while(1) {
- $3 = $n;
- $4 = $decControl$addr;
- $nChannelsInternal = ((($4)) + 4|0);
- $5 = HEAP32[$nChannelsInternal>>2]|0;
- $cmp = ($3|0)<($5|0);
- if (!($cmp)) {
- break L1;
- }
- $6 = $channel_state;
- $7 = $n;
- $arrayidx = (($6) + (($7*4260)|0)|0);
- $nFramesDecoded = ((($arrayidx)) + 2388|0);
- HEAP32[$nFramesDecoded>>2] = 0;
- $8 = $n;
- $inc = (($8) + 1)|0;
- $n = $inc;
- }
- }
- } while(0);
- $9 = $decControl$addr;
- $nChannelsInternal2 = ((($9)) + 4|0);
- $10 = HEAP32[$nChannelsInternal2>>2]|0;
- $11 = $psDec;
- $nChannelsInternal3 = ((($11)) + 8536|0);
- $12 = HEAP32[$nChannelsInternal3>>2]|0;
- $cmp4 = ($10|0)>($12|0);
- if ($cmp4) {
- $13 = $channel_state;
- $arrayidx6 = ((($13)) + 4260|0);
- $call = (_silk_init_decoder($arrayidx6)|0);
- $14 = $ret;
- $add = (($14) + ($call))|0;
- $ret = $add;
- }
- $15 = $decControl$addr;
- $nChannelsInternal8 = ((($15)) + 4|0);
- $16 = HEAP32[$nChannelsInternal8>>2]|0;
- $cmp9 = ($16|0)==(1);
- if ($cmp9) {
- $17 = $psDec;
- $nChannelsInternal10 = ((($17)) + 8536|0);
- $18 = HEAP32[$nChannelsInternal10>>2]|0;
- $cmp11 = ($18|0)==(2);
- if ($cmp11) {
- $19 = $decControl$addr;
- $internalSampleRate = ((($19)) + 12|0);
- $20 = HEAP32[$internalSampleRate>>2]|0;
- $21 = $channel_state;
- $fs_kHz = ((($21)) + 2316|0);
- $22 = HEAP32[$fs_kHz>>2]|0;
- $mul = ($22*1000)|0;
- $cmp13 = ($20|0)==($mul|0);
- $23 = $cmp13;
- } else {
- $23 = 0;
- }
- } else {
- $23 = 0;
- }
- $land$ext = $23&1;
- $stereo_to_mono = $land$ext;
- $24 = $channel_state;
- $nFramesDecoded15 = ((($24)) + 2388|0);
- $25 = HEAP32[$nFramesDecoded15>>2]|0;
- $cmp16 = ($25|0)==(0);
- L14: do {
- if ($cmp16) {
- $n = 0;
- L16: while(1) {
- $26 = $n;
- $27 = $decControl$addr;
- $nChannelsInternal19 = ((($27)) + 4|0);
- $28 = HEAP32[$nChannelsInternal19>>2]|0;
- $cmp20 = ($26|0)<($28|0);
- if (!($cmp20)) {
- break L14;
- }
- $29 = $decControl$addr;
- $payloadSize_ms = ((($29)) + 16|0);
- $30 = HEAP32[$payloadSize_ms>>2]|0;
- $cmp22 = ($30|0)==(0);
- do {
- if ($cmp22) {
- $31 = $channel_state;
- $32 = $n;
- $arrayidx24 = (($31) + (($32*4260)|0)|0);
- $nFramesPerPacket = ((($arrayidx24)) + 2392|0);
- HEAP32[$nFramesPerPacket>>2] = 1;
- $33 = $channel_state;
- $34 = $n;
- $arrayidx25 = (($33) + (($34*4260)|0)|0);
- $$sink8 = 2;$arrayidx31$sink = $arrayidx25;
- } else {
- $35 = $decControl$addr;
- $payloadSize_ms26 = ((($35)) + 16|0);
- $36 = HEAP32[$payloadSize_ms26>>2]|0;
- $cmp27 = ($36|0)==(10);
- if ($cmp27) {
- $37 = $channel_state;
- $38 = $n;
- $arrayidx29 = (($37) + (($38*4260)|0)|0);
- $nFramesPerPacket30 = ((($arrayidx29)) + 2392|0);
- HEAP32[$nFramesPerPacket30>>2] = 1;
- $39 = $channel_state;
- $40 = $n;
- $arrayidx31 = (($39) + (($40*4260)|0)|0);
- $$sink8 = 2;$arrayidx31$sink = $arrayidx31;
- break;
- }
- $41 = $decControl$addr;
- $payloadSize_ms34 = ((($41)) + 16|0);
- $42 = HEAP32[$payloadSize_ms34>>2]|0;
- $cmp35 = ($42|0)==(20);
- if ($cmp35) {
- $43 = $channel_state;
- $44 = $n;
- $arrayidx37 = (($43) + (($44*4260)|0)|0);
- $nFramesPerPacket38 = ((($arrayidx37)) + 2392|0);
- HEAP32[$nFramesPerPacket38>>2] = 1;
- $45 = $channel_state;
- $46 = $n;
- $arrayidx39 = (($45) + (($46*4260)|0)|0);
- $$sink8 = 4;$arrayidx31$sink = $arrayidx39;
- break;
- }
- $47 = $decControl$addr;
- $payloadSize_ms42 = ((($47)) + 16|0);
- $48 = HEAP32[$payloadSize_ms42>>2]|0;
- $cmp43 = ($48|0)==(40);
- if ($cmp43) {
- $49 = $channel_state;
- $50 = $n;
- $arrayidx45 = (($49) + (($50*4260)|0)|0);
- $nFramesPerPacket46 = ((($arrayidx45)) + 2392|0);
- HEAP32[$nFramesPerPacket46>>2] = 2;
- $51 = $channel_state;
- $52 = $n;
- $arrayidx47 = (($51) + (($52*4260)|0)|0);
- $$sink8 = 4;$arrayidx31$sink = $arrayidx47;
- break;
- }
- $53 = $decControl$addr;
- $payloadSize_ms50 = ((($53)) + 16|0);
- $54 = HEAP32[$payloadSize_ms50>>2]|0;
- $cmp51 = ($54|0)==(60);
- if (!($cmp51)) {
- label = 23;
- break L16;
- }
- $55 = $channel_state;
- $56 = $n;
- $arrayidx53 = (($55) + (($56*4260)|0)|0);
- $nFramesPerPacket54 = ((($arrayidx53)) + 2392|0);
- HEAP32[$nFramesPerPacket54>>2] = 3;
- $57 = $channel_state;
- $58 = $n;
- $arrayidx55 = (($57) + (($58*4260)|0)|0);
- $$sink8 = 4;$arrayidx31$sink = $arrayidx55;
- }
- } while(0);
- $nb_subfr32 = ((($arrayidx31$sink)) + 2324|0);
- HEAP32[$nb_subfr32>>2] = $$sink8;
- $59 = $decControl$addr;
- $internalSampleRate63 = ((($59)) + 12|0);
- $60 = HEAP32[$internalSampleRate63>>2]|0;
- $shr = $60 >> 10;
- $add64 = (($shr) + 1)|0;
- $fs_kHz_dec = $add64;
- $61 = $fs_kHz_dec;
- $cmp65 = ($61|0)!=(8);
- $62 = $fs_kHz_dec;
- $cmp67 = ($62|0)!=(12);
- $or$cond = $cmp65 & $cmp67;
- $63 = $fs_kHz_dec;
- $cmp69 = ($63|0)!=(16);
- $or$cond1 = $or$cond & $cmp69;
- if ($or$cond1) {
- label = 25;
- break;
- }
- $64 = $channel_state;
- $65 = $n;
- $arrayidx72 = (($64) + (($65*4260)|0)|0);
- $66 = $fs_kHz_dec;
- $67 = $decControl$addr;
- $API_sampleRate = ((($67)) + 8|0);
- $68 = HEAP32[$API_sampleRate>>2]|0;
- $call73 = (_silk_decoder_set_fs($arrayidx72,$66,$68)|0);
- $69 = $ret;
- $add74 = (($69) + ($call73))|0;
- $ret = $add74;
- $70 = $n;
- $inc76 = (($70) + 1)|0;
- $n = $inc76;
- }
- if ((label|0) == 23) {
- $retval = -203;
- $399 = $retval;
- STACKTOP = sp;return ($399|0);
- }
- else if ((label|0) == 25) {
- $retval = -200;
- $399 = $retval;
- STACKTOP = sp;return ($399|0);
- }
- }
- } while(0);
- $71 = $decControl$addr;
- $72 = HEAP32[$71>>2]|0;
- $cmp79 = ($72|0)==(2);
- do {
- if ($cmp79) {
- $73 = $decControl$addr;
- $nChannelsInternal81 = ((($73)) + 4|0);
- $74 = HEAP32[$nChannelsInternal81>>2]|0;
- $cmp82 = ($74|0)==(2);
- if ($cmp82) {
- $75 = $psDec;
- $nChannelsAPI84 = ((($75)) + 8532|0);
- $76 = HEAP32[$nChannelsAPI84>>2]|0;
- $cmp85 = ($76|0)==(1);
- if (!($cmp85)) {
- $77 = $psDec;
- $nChannelsInternal86 = ((($77)) + 8536|0);
- $78 = HEAP32[$nChannelsInternal86>>2]|0;
- $cmp87 = ($78|0)==(1);
- if (!($cmp87)) {
- break;
- }
- }
- $79 = $psDec;
- $sStereo = ((($79)) + 8520|0);
- ;HEAP32[$sStereo>>2]=0|0;
- $80 = $psDec;
- $sStereo90 = ((($80)) + 8520|0);
- $sSide = ((($sStereo90)) + 8|0);
- ;HEAP32[$sSide>>2]=0|0;
- $81 = $channel_state;
- $arrayidx92 = ((($81)) + 4260|0);
- $resampler_state = ((($arrayidx92)) + 2432|0);
- $82 = $channel_state;
- $resampler_state94 = ((($82)) + 2432|0);
- _memcpy(($resampler_state|0),($resampler_state94|0),300)|0;
- }
- }
- } while(0);
- $83 = $decControl$addr;
- $84 = HEAP32[$83>>2]|0;
- $85 = $psDec;
- $nChannelsAPI97 = ((($85)) + 8532|0);
- HEAP32[$nChannelsAPI97>>2] = $84;
- $86 = $decControl$addr;
- $nChannelsInternal98 = ((($86)) + 4|0);
- $87 = HEAP32[$nChannelsInternal98>>2]|0;
- $88 = $psDec;
- $nChannelsInternal99 = ((($88)) + 8536|0);
- HEAP32[$nChannelsInternal99>>2] = $87;
- $89 = $decControl$addr;
- $API_sampleRate100 = ((($89)) + 8|0);
- $90 = HEAP32[$API_sampleRate100>>2]|0;
- $cmp101 = ($90|0)>(48000);
- if (!($cmp101)) {
- $91 = $decControl$addr;
- $API_sampleRate103 = ((($91)) + 8|0);
- $92 = HEAP32[$API_sampleRate103>>2]|0;
- $cmp104 = ($92|0)<(8000);
- if (!($cmp104)) {
- $94 = $lostFlag$addr;
- $cmp107 = ($94|0)!=(1);
- L50: do {
- if ($cmp107) {
- $95 = $channel_state;
- $nFramesDecoded110 = ((($95)) + 2388|0);
- $96 = HEAP32[$nFramesDecoded110>>2]|0;
- $cmp111 = ($96|0)==(0);
- if ($cmp111) {
- $n = 0;
- while(1) {
- $97 = $n;
- $98 = $decControl$addr;
- $nChannelsInternal114 = ((($98)) + 4|0);
- $99 = HEAP32[$nChannelsInternal114>>2]|0;
- $cmp115 = ($97|0)<($99|0);
- if (!($cmp115)) {
- break;
- }
- $i = 0;
- while(1) {
- $100 = $i;
- $101 = $channel_state;
- $102 = $n;
- $arrayidx118 = (($101) + (($102*4260)|0)|0);
- $nFramesPerPacket119 = ((($arrayidx118)) + 2392|0);
- $103 = HEAP32[$nFramesPerPacket119>>2]|0;
- $cmp120 = ($100|0)<($103|0);
- $104 = $psRangeDec$addr;
- $call122 = (_ec_dec_bit_logp($104,1)|0);
- $105 = $channel_state;
- $106 = $n;
- $arrayidx123 = (($105) + (($106*4260)|0)|0);
- if (!($cmp120)) {
- break;
- }
- $VAD_flags = ((($arrayidx123)) + 2404|0);
- $107 = $i;
- $arrayidx124 = (($VAD_flags) + ($107<<2)|0);
- HEAP32[$arrayidx124>>2] = $call122;
- $108 = $i;
- $inc126 = (($108) + 1)|0;
- $i = $inc126;
- }
- $LBRR_flag = ((($arrayidx123)) + 2416|0);
- HEAP32[$LBRR_flag>>2] = $call122;
- $109 = $n;
- $inc131 = (($109) + 1)|0;
- $n = $inc131;
- }
- $n = 0;
- while(1) {
- $110 = $n;
- $111 = $decControl$addr;
- $nChannelsInternal134 = ((($111)) + 4|0);
- $112 = HEAP32[$nChannelsInternal134>>2]|0;
- $cmp135 = ($110|0)<($112|0);
- if (!($cmp135)) {
- break;
- }
- $113 = $channel_state;
- $114 = $n;
- $arrayidx137 = (($113) + (($114*4260)|0)|0);
- $LBRR_flags = ((($arrayidx137)) + 2420|0);
- ;HEAP32[$LBRR_flags>>2]=0|0;HEAP32[$LBRR_flags+4>>2]=0|0;HEAP32[$LBRR_flags+8>>2]=0|0;
- $115 = $channel_state;
- $116 = $n;
- $arrayidx139 = (($115) + (($116*4260)|0)|0);
- $LBRR_flag140 = ((($arrayidx139)) + 2416|0);
- $117 = HEAP32[$LBRR_flag140>>2]|0;
- $tobool141 = ($117|0)!=(0);
- L64: do {
- if ($tobool141) {
- $118 = $channel_state;
- $119 = $n;
- $arrayidx143 = (($118) + (($119*4260)|0)|0);
- $nFramesPerPacket144 = ((($arrayidx143)) + 2392|0);
- $120 = HEAP32[$nFramesPerPacket144>>2]|0;
- $cmp145 = ($120|0)==(1);
- if ($cmp145) {
- $121 = $channel_state;
- $122 = $n;
- $arrayidx147 = (($121) + (($122*4260)|0)|0);
- $LBRR_flags148 = ((($arrayidx147)) + 2420|0);
- HEAP32[$LBRR_flags148>>2] = 1;
- break;
- }
- $123 = $psRangeDec$addr;
- $124 = $channel_state;
- $125 = $n;
- $arrayidx151 = (($124) + (($125*4260)|0)|0);
- $nFramesPerPacket152 = ((($arrayidx151)) + 2392|0);
- $126 = HEAP32[$nFramesPerPacket152>>2]|0;
- $sub = (($126) - 2)|0;
- $arrayidx153 = (16804 + ($sub<<2)|0);
- $127 = HEAP32[$arrayidx153>>2]|0;
- $call154 = (_ec_dec_icdf($123,$127,8)|0);
- $add155 = (($call154) + 1)|0;
- $LBRR_symbol = $add155;
- $i = 0;
- while(1) {
- $128 = $i;
- $129 = $channel_state;
- $130 = $n;
- $arrayidx157 = (($129) + (($130*4260)|0)|0);
- $nFramesPerPacket158 = ((($arrayidx157)) + 2392|0);
- $131 = HEAP32[$nFramesPerPacket158>>2]|0;
- $cmp159 = ($128|0)<($131|0);
- if (!($cmp159)) {
- break L64;
- }
- $132 = $LBRR_symbol;
- $133 = $i;
- $shr161 = $132 >> $133;
- $and = $shr161 & 1;
- $134 = $channel_state;
- $135 = $n;
- $arrayidx162 = (($134) + (($135*4260)|0)|0);
- $LBRR_flags163 = ((($arrayidx162)) + 2420|0);
- $136 = $i;
- $arrayidx164 = (($LBRR_flags163) + ($136<<2)|0);
- HEAP32[$arrayidx164>>2] = $and;
- $137 = $i;
- $inc166 = (($137) + 1)|0;
- $i = $inc166;
- }
- }
- } while(0);
- $138 = $n;
- $inc171 = (($138) + 1)|0;
- $n = $inc171;
- }
- $139 = $lostFlag$addr;
- $cmp173 = ($139|0)==(0);
- if ($cmp173) {
- $i = 0;
- while(1) {
- $140 = $i;
- $141 = $channel_state;
- $nFramesPerPacket177 = ((($141)) + 2392|0);
- $142 = HEAP32[$nFramesPerPacket177>>2]|0;
- $cmp178 = ($140|0)<($142|0);
- if (!($cmp178)) {
- break L50;
- }
- $n = 0;
- while(1) {
- $143 = $n;
- $144 = $decControl$addr;
- $nChannelsInternal181 = ((($144)) + 4|0);
- $145 = HEAP32[$nChannelsInternal181>>2]|0;
- $cmp182 = ($143|0)<($145|0);
- if (!($cmp182)) {
- break;
- }
- $146 = $channel_state;
- $147 = $n;
- $arrayidx184 = (($146) + (($147*4260)|0)|0);
- $LBRR_flags185 = ((($arrayidx184)) + 2420|0);
- $148 = $i;
- $arrayidx186 = (($LBRR_flags185) + ($148<<2)|0);
- $149 = HEAP32[$arrayidx186>>2]|0;
- $tobool187 = ($149|0)!=(0);
- if ($tobool187) {
- $150 = $decControl$addr;
- $nChannelsInternal189 = ((($150)) + 4|0);
- $151 = HEAP32[$nChannelsInternal189>>2]|0;
- $cmp190 = ($151|0)==(2);
- $152 = $n;
- $cmp192 = ($152|0)==(0);
- $or$cond2 = $cmp190 & $cmp192;
- do {
- if ($or$cond2) {
- $153 = $psRangeDec$addr;
- _silk_stereo_decode_pred($153,$MS_pred_Q13);
- $154 = $channel_state;
- $arrayidx195 = ((($154)) + 4260|0);
- $LBRR_flags196 = ((($arrayidx195)) + 2420|0);
- $155 = $i;
- $arrayidx197 = (($LBRR_flags196) + ($155<<2)|0);
- $156 = HEAP32[$arrayidx197>>2]|0;
- $cmp198 = ($156|0)==(0);
- if (!($cmp198)) {
- break;
- }
- $157 = $psRangeDec$addr;
- _silk_stereo_decode_mid_only($157,$decode_only_middle);
- }
- } while(0);
- $158 = $i;
- $cmp202 = ($158|0)>(0);
- do {
- if ($cmp202) {
- $159 = $channel_state;
- $160 = $n;
- $arrayidx204 = (($159) + (($160*4260)|0)|0);
- $LBRR_flags205 = ((($arrayidx204)) + 2420|0);
- $161 = $i;
- $sub206 = (($161) - 1)|0;
- $arrayidx207 = (($LBRR_flags205) + ($sub206<<2)|0);
- $162 = HEAP32[$arrayidx207>>2]|0;
- $tobool208 = ($162|0)!=(0);
- if (!($tobool208)) {
- label = 64;
- break;
- }
- $condCoding = 2;
- } else {
- label = 64;
- }
- } while(0);
- if ((label|0) == 64) {
- label = 0;
- $condCoding = 0;
- }
- $163 = $channel_state;
- $164 = $n;
- $arrayidx212 = (($163) + (($164*4260)|0)|0);
- $165 = $psRangeDec$addr;
- $166 = $i;
- $167 = $condCoding;
- _silk_decode_indices($arrayidx212,$165,$166,1,$167);
- $168 = $psRangeDec$addr;
- $169 = $channel_state;
- $170 = $n;
- $arrayidx214 = (($169) + (($170*4260)|0)|0);
- $indices = ((($arrayidx214)) + 2736|0);
- $signalType = ((($indices)) + 29|0);
- $171 = HEAP8[$signalType>>0]|0;
- $conv = $171 << 24 >> 24;
- $172 = $channel_state;
- $173 = $n;
- $arrayidx215 = (($172) + (($173*4260)|0)|0);
- $indices216 = ((($arrayidx215)) + 2736|0);
- $quantOffsetType = ((($indices216)) + 30|0);
- $174 = HEAP8[$quantOffsetType>>0]|0;
- $conv217 = $174 << 24 >> 24;
- $175 = $channel_state;
- $176 = $n;
- $arrayidx218 = (($175) + (($176*4260)|0)|0);
- $frame_length = ((($arrayidx218)) + 2328|0);
- $177 = HEAP32[$frame_length>>2]|0;
- _silk_decode_pulses($168,$pulses,$conv,$conv217,$177);
- }
- $178 = $n;
- $inc221 = (($178) + 1)|0;
- $n = $inc221;
- }
- $179 = $i;
- $inc224 = (($179) + 1)|0;
- $i = $inc224;
- }
- }
- }
- }
- } while(0);
- $180 = $decControl$addr;
- $nChannelsInternal228 = ((($180)) + 4|0);
- $181 = HEAP32[$nChannelsInternal228>>2]|0;
- $cmp229 = ($181|0)==(2);
- L96: do {
- if ($cmp229) {
- $182 = $lostFlag$addr;
- $cmp232 = ($182|0)==(0);
- do {
- if (!($cmp232)) {
- $183 = $lostFlag$addr;
- $cmp235 = ($183|0)==(2);
- if ($cmp235) {
- $184 = $channel_state;
- $LBRR_flags239 = ((($184)) + 2420|0);
- $185 = $channel_state;
- $nFramesDecoded241 = ((($185)) + 2388|0);
- $186 = HEAP32[$nFramesDecoded241>>2]|0;
- $arrayidx242 = (($LBRR_flags239) + ($186<<2)|0);
- $187 = HEAP32[$arrayidx242>>2]|0;
- $cmp243 = ($187|0)==(1);
- if ($cmp243) {
- break;
- }
- }
- $n = 0;
- while(1) {
- $200 = $n;
- $cmp273 = ($200|0)<(2);
- if (!($cmp273)) {
- break L96;
- }
- $201 = $psDec;
- $sStereo276 = ((($201)) + 8520|0);
- $202 = $n;
- $arrayidx278 = (($sStereo276) + ($202<<1)|0);
- $203 = HEAP16[$arrayidx278>>1]|0;
- $conv279 = $203 << 16 >> 16;
- $204 = $n;
- $arrayidx280 = (($MS_pred_Q13) + ($204<<2)|0);
- HEAP32[$arrayidx280>>2] = $conv279;
- $205 = $n;
- $inc282 = (($205) + 1)|0;
- $n = $inc282;
- }
- }
- } while(0);
- $188 = $psRangeDec$addr;
- _silk_stereo_decode_pred($188,$MS_pred_Q13);
- $189 = $lostFlag$addr;
- $cmp247 = ($189|0)==(0);
- if ($cmp247) {
- $190 = $channel_state;
- $arrayidx250 = ((($190)) + 4260|0);
- $VAD_flags251 = ((($arrayidx250)) + 2404|0);
- $191 = $channel_state;
- $nFramesDecoded253 = ((($191)) + 2388|0);
- $192 = HEAP32[$nFramesDecoded253>>2]|0;
- $arrayidx254 = (($VAD_flags251) + ($192<<2)|0);
- $193 = HEAP32[$arrayidx254>>2]|0;
- $cmp255 = ($193|0)==(0);
- if (!($cmp255)) {
- label = 74;
- }
- } else {
- label = 74;
- }
- do {
- if ((label|0) == 74) {
- $194 = $lostFlag$addr;
- $cmp258 = ($194|0)==(2);
- if ($cmp258) {
- $195 = $channel_state;
- $arrayidx261 = ((($195)) + 4260|0);
- $LBRR_flags262 = ((($arrayidx261)) + 2420|0);
- $196 = $channel_state;
- $nFramesDecoded264 = ((($196)) + 2388|0);
- $197 = HEAP32[$nFramesDecoded264>>2]|0;
- $arrayidx265 = (($LBRR_flags262) + ($197<<2)|0);
- $198 = HEAP32[$arrayidx265>>2]|0;
- $cmp266 = ($198|0)==(0);
- if ($cmp266) {
- break;
- }
- }
- HEAP32[$decode_only_middle>>2] = 0;
- break L96;
- }
- } while(0);
- $199 = $psRangeDec$addr;
- _silk_stereo_decode_mid_only($199,$decode_only_middle);
- }
- } while(0);
- $206 = $decControl$addr;
- $nChannelsInternal286 = ((($206)) + 4|0);
- $207 = HEAP32[$nChannelsInternal286>>2]|0;
- $cmp287 = ($207|0)==(2);
- $208 = HEAP32[$decode_only_middle>>2]|0;
- $cmp290 = ($208|0)==(0);
- $or$cond3 = $cmp287 & $cmp290;
- if ($or$cond3) {
- $209 = $psDec;
- $prev_decode_only_middle = ((($209)) + 8540|0);
- $210 = HEAP32[$prev_decode_only_middle>>2]|0;
- $cmp293 = ($210|0)==(1);
- if ($cmp293) {
- $211 = $psDec;
- $arrayidx297 = ((($211)) + 4260|0);
- $outBuf = ((($arrayidx297)) + 1348|0);
- _memset(($outBuf|0),0,960)|0;
- $212 = $psDec;
- $arrayidx300 = ((($212)) + 4260|0);
- $sLPC_Q14_buf = ((($arrayidx300)) + 1284|0);
- dest=$sLPC_Q14_buf; stop=dest+64|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
- $213 = $psDec;
- $arrayidx303 = ((($213)) + 4260|0);
- $lagPrev = ((($arrayidx303)) + 2308|0);
- HEAP32[$lagPrev>>2] = 100;
- $214 = $psDec;
- $arrayidx305 = ((($214)) + 4260|0);
- $LastGainIndex = ((($arrayidx305)) + 2312|0);
- HEAP8[$LastGainIndex>>0] = 10;
- $215 = $psDec;
- $arrayidx307 = ((($215)) + 4260|0);
- $prevSignalType = ((($arrayidx307)) + 4164|0);
- HEAP32[$prevSignalType>>2] = 0;
- $216 = $psDec;
- $arrayidx309 = ((($216)) + 4260|0);
- $first_frame_after_reset = ((($arrayidx309)) + 2376|0);
- HEAP32[$first_frame_after_reset>>2] = 1;
- }
- }
- $217 = $decControl$addr;
- $internalSampleRate311 = ((($217)) + 12|0);
- $218 = HEAP32[$internalSampleRate311>>2]|0;
- $219 = $decControl$addr;
- $nChannelsInternal312 = ((($219)) + 4|0);
- $220 = HEAP32[$nChannelsInternal312>>2]|0;
- $mul313 = Math_imul($218, $220)|0;
- $221 = $decControl$addr;
- $API_sampleRate314 = ((($221)) + 8|0);
- $222 = HEAP32[$API_sampleRate314>>2]|0;
- $223 = $decControl$addr;
- $224 = HEAP32[$223>>2]|0;
- $mul316 = Math_imul($222, $224)|0;
- $cmp317 = ($mul313|0)<($mul316|0);
- $conv318 = $cmp317&1;
- $delay_stack_alloc = $conv318;
- $225 = $delay_stack_alloc;
- $tobool319 = ($225|0)!=(0);
- if ($tobool319) {
- $cond = 1;
- } else {
- $226 = $decControl$addr;
- $nChannelsInternal320 = ((($226)) + 4|0);
- $227 = HEAP32[$nChannelsInternal320>>2]|0;
- $228 = $channel_state;
- $frame_length322 = ((($228)) + 2328|0);
- $229 = HEAP32[$frame_length322>>2]|0;
- $add323 = (($229) + 2)|0;
- $mul324 = Math_imul($227, $add323)|0;
- $cond = $mul324;
- }
- $230 = (_llvm_stacksave()|0);
- $saved_stack = $230;
- $vla$alloca_mul = $cond<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $231 = $delay_stack_alloc;
- $tobool325 = ($231|0)!=(0);
- if ($tobool325) {
- $232 = $samplesOut$addr;
- HEAP32[$samplesOut1_tmp>>2] = $232;
- $233 = $samplesOut$addr;
- $234 = $channel_state;
- $$sink = $234;$vla$sink = $233;
- } else {
- HEAP32[$samplesOut1_tmp>>2] = $vla;
- $235 = $channel_state;
- $$sink = $235;$vla$sink = $vla;
- }
- $frame_length335 = ((($$sink)) + 2328|0);
- $236 = HEAP32[$frame_length335>>2]|0;
- $add$ptr336 = (($vla$sink) + ($236<<1)|0);
- $add$ptr337 = ((($add$ptr336)) + 4|0);
- $arrayidx338 = ((($samplesOut1_tmp)) + 4|0);
- HEAP32[$arrayidx338>>2] = $add$ptr337;
- $237 = $lostFlag$addr;
- $cmp340 = ($237|0)==(0);
- if ($cmp340) {
- $238 = HEAP32[$decode_only_middle>>2]|0;
- $tobool343 = ($238|0)!=(0);
- $lnot = $tobool343 ^ 1;
- $lnot$ext = $lnot&1;
- $has_side = $lnot$ext;
- } else {
- $239 = $psDec;
- $prev_decode_only_middle345 = ((($239)) + 8540|0);
- $240 = HEAP32[$prev_decode_only_middle345>>2]|0;
- $tobool346 = ($240|0)!=(0);
- if ($tobool346) {
- $241 = $decControl$addr;
- $nChannelsInternal347 = ((($241)) + 4|0);
- $242 = HEAP32[$nChannelsInternal347>>2]|0;
- $cmp348 = ($242|0)==(2);
- $243 = $lostFlag$addr;
- $cmp351 = ($243|0)==(2);
- $or$cond4 = $cmp348 & $cmp351;
- if ($or$cond4) {
- $244 = $channel_state;
- $arrayidx354 = ((($244)) + 4260|0);
- $LBRR_flags355 = ((($arrayidx354)) + 2420|0);
- $245 = $channel_state;
- $arrayidx356 = ((($245)) + 4260|0);
- $nFramesDecoded357 = ((($arrayidx356)) + 2388|0);
- $246 = HEAP32[$nFramesDecoded357>>2]|0;
- $arrayidx358 = (($LBRR_flags355) + ($246<<2)|0);
- $247 = HEAP32[$arrayidx358>>2]|0;
- $cmp359 = ($247|0)==(1);
- $248 = $cmp359;
- } else {
- $248 = 0;
- }
- } else {
- $248 = 1;
- }
- $lor$ext = $248&1;
- $has_side = $lor$ext;
- }
- $n = 0;
- while(1) {
- $249 = $n;
- $250 = $decControl$addr;
- $nChannelsInternal365 = ((($250)) + 4|0);
- $251 = HEAP32[$nChannelsInternal365>>2]|0;
- $cmp366 = ($249|0)<($251|0);
- if (!($cmp366)) {
- break;
- }
- $252 = $n;
- $cmp369 = ($252|0)==(0);
- $253 = $has_side;
- $tobool372 = ($253|0)!=(0);
- $or$cond5 = $cmp369 | $tobool372;
- if ($or$cond5) {
- $254 = $channel_state;
- $nFramesDecoded376 = ((($254)) + 2388|0);
- $255 = HEAP32[$nFramesDecoded376>>2]|0;
- $256 = $n;
- $sub377 = (($255) - ($256))|0;
- $FrameIndex = $sub377;
- $257 = $FrameIndex;
- $cmp378 = ($257|0)<=(0);
- L140: do {
- if ($cmp378) {
- $condCoding374 = 0;
- } else {
- $258 = $lostFlag$addr;
- $cmp382 = ($258|0)==(2);
- if ($cmp382) {
- $259 = $channel_state;
- $260 = $n;
- $arrayidx385 = (($259) + (($260*4260)|0)|0);
- $LBRR_flags386 = ((($arrayidx385)) + 2420|0);
- $261 = $FrameIndex;
- $sub387 = (($261) - 1)|0;
- $arrayidx388 = (($LBRR_flags386) + ($sub387<<2)|0);
- $262 = HEAP32[$arrayidx388>>2]|0;
- $tobool389 = ($262|0)!=(0);
- $cond390 = $tobool389 ? 2 : 0;
- $condCoding374 = $cond390;
- break;
- }
- $263 = $n;
- $cmp392 = ($263|0)>(0);
- do {
- if ($cmp392) {
- $264 = $psDec;
- $prev_decode_only_middle395 = ((($264)) + 8540|0);
- $265 = HEAP32[$prev_decode_only_middle395>>2]|0;
- $tobool396 = ($265|0)!=(0);
- if (!($tobool396)) {
- break;
- }
- $condCoding374 = 1;
- break L140;
- }
- } while(0);
- $condCoding374 = 2;
- }
- } while(0);
- $266 = $channel_state;
- $267 = $n;
- $arrayidx402 = (($266) + (($267*4260)|0)|0);
- $268 = $psRangeDec$addr;
- $269 = $n;
- $arrayidx403 = (($samplesOut1_tmp) + ($269<<2)|0);
- $270 = HEAP32[$arrayidx403>>2]|0;
- $arrayidx404 = ((($270)) + 4|0);
- $271 = $lostFlag$addr;
- $272 = $condCoding374;
- $273 = $arch$addr;
- $call405 = (_silk_decode_frame($arrayidx402,$268,$arrayidx404,$nSamplesOutDec,$271,$272,$273)|0);
- $274 = $ret;
- $add406 = (($274) + ($call405))|0;
- $ret = $add406;
- } else {
- $275 = $n;
- $arrayidx408 = (($samplesOut1_tmp) + ($275<<2)|0);
- $276 = HEAP32[$arrayidx408>>2]|0;
- $arrayidx409 = ((($276)) + 4|0);
- $277 = HEAP32[$nSamplesOutDec>>2]|0;
- $mul410 = $277<<1;
- _memset(($arrayidx409|0),0,($mul410|0))|0;
- }
- $278 = $channel_state;
- $279 = $n;
- $arrayidx412 = (($278) + (($279*4260)|0)|0);
- $nFramesDecoded413 = ((($arrayidx412)) + 2388|0);
- $280 = HEAP32[$nFramesDecoded413>>2]|0;
- $inc414 = (($280) + 1)|0;
- HEAP32[$nFramesDecoded413>>2] = $inc414;
- $281 = $n;
- $inc416 = (($281) + 1)|0;
- $n = $inc416;
- }
- $282 = $decControl$addr;
- $283 = HEAP32[$282>>2]|0;
- $cmp419 = ($283|0)==(2);
- if ($cmp419) {
- $284 = $decControl$addr;
- $nChannelsInternal422 = ((($284)) + 4|0);
- $285 = HEAP32[$nChannelsInternal422>>2]|0;
- $cmp423 = ($285|0)==(2);
- if ($cmp423) {
- $286 = $psDec;
- $sStereo426 = ((($286)) + 8520|0);
- $287 = HEAP32[$samplesOut1_tmp>>2]|0;
- $arrayidx428 = ((($samplesOut1_tmp)) + 4|0);
- $288 = HEAP32[$arrayidx428>>2]|0;
- $289 = $channel_state;
- $fs_kHz431 = ((($289)) + 2316|0);
- $290 = HEAP32[$fs_kHz431>>2]|0;
- $291 = HEAP32[$nSamplesOutDec>>2]|0;
- _silk_stereo_MS_to_LR($sStereo426,$287,$288,$MS_pred_Q13,$290,$291);
- } else {
- label = 112;
- }
- } else {
- label = 112;
- }
- if ((label|0) == 112) {
- $292 = HEAP32[$samplesOut1_tmp>>2]|0;
- $293 = $psDec;
- $sStereo434 = ((($293)) + 8520|0);
- $sMid = ((($sStereo434)) + 4|0);
- ;HEAP16[$292>>1]=HEAP16[$sMid>>1]|0;HEAP16[$292+2>>1]=HEAP16[$sMid+2>>1]|0;
- $294 = $psDec;
- $sStereo436 = ((($294)) + 8520|0);
- $sMid437 = ((($sStereo436)) + 4|0);
- $295 = HEAP32[$samplesOut1_tmp>>2]|0;
- $296 = HEAP32[$nSamplesOutDec>>2]|0;
- $arrayidx440 = (($295) + ($296<<1)|0);
- ;HEAP16[$sMid437>>1]=HEAP16[$arrayidx440>>1]|0;HEAP16[$sMid437+2>>1]=HEAP16[$arrayidx440+2>>1]|0;
- }
- $297 = HEAP32[$nSamplesOutDec>>2]|0;
- $298 = $decControl$addr;
- $API_sampleRate442 = ((($298)) + 8|0);
- $299 = HEAP32[$API_sampleRate442>>2]|0;
- $mul443 = Math_imul($297, $299)|0;
- $300 = $channel_state;
- $fs_kHz445 = ((($300)) + 2316|0);
- $301 = HEAP32[$fs_kHz445>>2]|0;
- $conv446 = $301&65535;
- $conv447 = $conv446 << 16 >> 16;
- $mul448 = ($conv447*1000)|0;
- $div = (($mul443|0) / ($mul448|0))&-1;
- $302 = $nSamplesOut$addr;
- HEAP32[$302>>2] = $div;
- $303 = $decControl$addr;
- $304 = HEAP32[$303>>2]|0;
- $cmp450 = ($304|0)==(2);
- if ($cmp450) {
- $305 = $nSamplesOut$addr;
- $306 = HEAP32[$305>>2]|0;
- $cond455 = $306;
- } else {
- $cond455 = 1;
- }
- $vla456$alloca_mul = $cond455<<1;
- $vla456 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla456$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla456$alloca_mul)|0)+15)&-16)|0);;
- $307 = $decControl$addr;
- $308 = HEAP32[$307>>2]|0;
- $cmp458 = ($308|0)==(2);
- if ($cmp458) {
- $resample_out_ptr = $vla456;
- } else {
- $309 = $samplesOut$addr;
- $resample_out_ptr = $309;
- }
- $310 = $delay_stack_alloc;
- $tobool463 = ($310|0)!=(0);
- if ($tobool463) {
- $311 = $decControl$addr;
- $nChannelsInternal465 = ((($311)) + 4|0);
- $312 = HEAP32[$nChannelsInternal465>>2]|0;
- $313 = $channel_state;
- $frame_length467 = ((($313)) + 2328|0);
- $314 = HEAP32[$frame_length467>>2]|0;
- $add468 = (($314) + 2)|0;
- $mul469 = Math_imul($312, $add468)|0;
- $cond472 = $mul469;
- } else {
- $cond472 = 1;
- }
- $vla473$alloca_mul = $cond472<<1;
- $vla473 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla473$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla473$alloca_mul)|0)+15)&-16)|0);;
- $315 = $delay_stack_alloc;
- $tobool474 = ($315|0)!=(0);
- if ($tobool474) {
- $316 = $samplesOut$addr;
- $317 = $decControl$addr;
- $nChannelsInternal476 = ((($317)) + 4|0);
- $318 = HEAP32[$nChannelsInternal476>>2]|0;
- $319 = $channel_state;
- $frame_length478 = ((($319)) + 2328|0);
- $320 = HEAP32[$frame_length478>>2]|0;
- $add479 = (($320) + 2)|0;
- $mul480 = Math_imul($318, $add479)|0;
- $mul481 = $mul480<<1;
- $321 = $samplesOut$addr;
- $sub$ptr$lhs$cast = $vla473;
- $sub$ptr$rhs$cast = $321;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 2)&-1;
- $mul482 = 0;
- $add483 = (($mul481) + ($mul482))|0;
- _memcpy(($vla473|0),($316|0),($add483|0))|0;
- HEAP32[$samplesOut1_tmp>>2] = $vla473;
- $322 = $channel_state;
- $frame_length486 = ((($322)) + 2328|0);
- $323 = HEAP32[$frame_length486>>2]|0;
- $add$ptr487 = (($vla473) + ($323<<1)|0);
- $add$ptr488 = ((($add$ptr487)) + 4|0);
- $arrayidx489 = ((($samplesOut1_tmp)) + 4|0);
- HEAP32[$arrayidx489>>2] = $add$ptr488;
- }
- $n = 0;
- while(1) {
- $324 = $n;
- $325 = $decControl$addr;
- $326 = HEAP32[$325>>2]|0;
- $327 = $decControl$addr;
- $nChannelsInternal493 = ((($327)) + 4|0);
- $328 = HEAP32[$nChannelsInternal493>>2]|0;
- $cmp494 = ($326|0)<($328|0);
- $329 = $decControl$addr;
- $nChannelsInternal499 = ((($329)) + 4|0);
- $nChannelsInternal499$sink = $cmp494 ? $329 : $nChannelsInternal499;
- $330 = HEAP32[$nChannelsInternal499$sink>>2]|0;
- $cmp502 = ($324|0)<($330|0);
- if (!($cmp502)) {
- break;
- }
- $331 = $channel_state;
- $332 = $n;
- $arrayidx505 = (($331) + (($332*4260)|0)|0);
- $resampler_state506 = ((($arrayidx505)) + 2432|0);
- $333 = $resample_out_ptr;
- $334 = $n;
- $arrayidx507 = (($samplesOut1_tmp) + ($334<<2)|0);
- $335 = HEAP32[$arrayidx507>>2]|0;
- $arrayidx508 = ((($335)) + 2|0);
- $336 = HEAP32[$nSamplesOutDec>>2]|0;
- $call509 = (_silk_resampler($resampler_state506,$333,$arrayidx508,$336)|0);
- $337 = $ret;
- $add510 = (($337) + ($call509))|0;
- $ret = $add510;
- $338 = $decControl$addr;
- $339 = HEAP32[$338>>2]|0;
- $cmp512 = ($339|0)==(2);
- L176: do {
- if ($cmp512) {
- $i = 0;
- while(1) {
- $340 = $i;
- $341 = $nSamplesOut$addr;
- $342 = HEAP32[$341>>2]|0;
- $cmp516 = ($340|0)<($342|0);
- if (!($cmp516)) {
- break L176;
- }
- $343 = $resample_out_ptr;
- $344 = $i;
- $arrayidx519 = (($343) + ($344<<1)|0);
- $345 = HEAP16[$arrayidx519>>1]|0;
- $346 = $samplesOut$addr;
- $347 = $n;
- $348 = $i;
- $mul520 = $348<<1;
- $add521 = (($347) + ($mul520))|0;
- $arrayidx522 = (($346) + ($add521<<1)|0);
- HEAP16[$arrayidx522>>1] = $345;
- $349 = $i;
- $inc524 = (($349) + 1)|0;
- $i = $inc524;
- }
- }
- } while(0);
- $350 = $n;
- $inc528 = (($350) + 1)|0;
- $n = $inc528;
- }
- $351 = $decControl$addr;
- $352 = HEAP32[$351>>2]|0;
- $cmp531 = ($352|0)==(2);
- L183: do {
- if ($cmp531) {
- $353 = $decControl$addr;
- $nChannelsInternal534 = ((($353)) + 4|0);
- $354 = HEAP32[$nChannelsInternal534>>2]|0;
- $cmp535 = ($354|0)==(1);
- if (!($cmp535)) {
- break;
- }
- $355 = $stereo_to_mono;
- $tobool538 = ($355|0)!=(0);
- if ($tobool538) {
- $356 = $channel_state;
- $arrayidx540 = ((($356)) + 4260|0);
- $resampler_state541 = ((($arrayidx540)) + 2432|0);
- $357 = $resample_out_ptr;
- $358 = HEAP32[$samplesOut1_tmp>>2]|0;
- $arrayidx543 = ((($358)) + 2|0);
- $359 = HEAP32[$nSamplesOutDec>>2]|0;
- $call544 = (_silk_resampler($resampler_state541,$357,$arrayidx543,$359)|0);
- $360 = $ret;
- $add545 = (($360) + ($call544))|0;
- $ret = $add545;
- $i = 0;
- while(1) {
- $361 = $i;
- $362 = $nSamplesOut$addr;
- $363 = HEAP32[$362>>2]|0;
- $cmp547 = ($361|0)<($363|0);
- if (!($cmp547)) {
- break L183;
- }
- $364 = $resample_out_ptr;
- $365 = $i;
- $arrayidx550 = (($364) + ($365<<1)|0);
- $366 = HEAP16[$arrayidx550>>1]|0;
- $367 = $samplesOut$addr;
- $368 = $i;
- $mul551 = $368<<1;
- $add552 = (1 + ($mul551))|0;
- $arrayidx553 = (($367) + ($add552<<1)|0);
- HEAP16[$arrayidx553>>1] = $366;
- $369 = $i;
- $inc555 = (($369) + 1)|0;
- $i = $inc555;
- }
- } else {
- $i = 0;
- while(1) {
- $370 = $i;
- $371 = $nSamplesOut$addr;
- $372 = HEAP32[$371>>2]|0;
- $cmp559 = ($370|0)<($372|0);
- if (!($cmp559)) {
- break L183;
- }
- $373 = $samplesOut$addr;
- $374 = $i;
- $mul562 = $374<<1;
- $add563 = (0 + ($mul562))|0;
- $arrayidx564 = (($373) + ($add563<<1)|0);
- $375 = HEAP16[$arrayidx564>>1]|0;
- $376 = $samplesOut$addr;
- $377 = $i;
- $mul565 = $377<<1;
- $add566 = (1 + ($mul565))|0;
- $arrayidx567 = (($376) + ($add566<<1)|0);
- HEAP16[$arrayidx567>>1] = $375;
- $378 = $i;
- $inc569 = (($378) + 1)|0;
- $i = $inc569;
- }
- }
- }
- } while(0);
- $379 = $channel_state;
- $prevSignalType574 = ((($379)) + 4164|0);
- $380 = HEAP32[$prevSignalType574>>2]|0;
- $cmp575 = ($380|0)==(2);
- if ($cmp575) {
- ;HEAP32[$mult_tab>>2]=HEAP32[16648>>2]|0;HEAP32[$mult_tab+4>>2]=HEAP32[16648+4>>2]|0;HEAP32[$mult_tab+8>>2]=HEAP32[16648+8>>2]|0;
- $381 = $channel_state;
- $lagPrev579 = ((($381)) + 2308|0);
- $382 = HEAP32[$lagPrev579>>2]|0;
- $383 = $channel_state;
- $fs_kHz581 = ((($383)) + 2316|0);
- $384 = HEAP32[$fs_kHz581>>2]|0;
- $sub582 = (($384) - 8)|0;
- $shr583 = $sub582 >> 2;
- $arrayidx584 = (($mult_tab) + ($shr583<<2)|0);
- $385 = HEAP32[$arrayidx584>>2]|0;
- $mul585 = Math_imul($382, $385)|0;
- $386 = $decControl$addr;
- $$sink6 = $mul585;$$sink7 = $386;
- } else {
- $387 = $decControl$addr;
- $$sink6 = 0;$$sink7 = $387;
- }
- $prevPitchLag587 = ((($$sink7)) + 20|0);
- HEAP32[$prevPitchLag587>>2] = $$sink6;
- $388 = $lostFlag$addr;
- $cmp589 = ($388|0)==(1);
- L200: do {
- if ($cmp589) {
- $i = 0;
- while(1) {
- $389 = $i;
- $390 = $psDec;
- $nChannelsInternal593 = ((($390)) + 8536|0);
- $391 = HEAP32[$nChannelsInternal593>>2]|0;
- $cmp594 = ($389|0)<($391|0);
- if (!($cmp594)) {
- break L200;
- }
- $392 = $psDec;
- $393 = $i;
- $arrayidx598 = (($392) + (($393*4260)|0)|0);
- $LastGainIndex599 = ((($arrayidx598)) + 2312|0);
- HEAP8[$LastGainIndex599>>0] = 10;
- $394 = $i;
- $inc601 = (($394) + 1)|0;
- $i = $inc601;
- }
- } else {
- $395 = HEAP32[$decode_only_middle>>2]|0;
- $396 = $psDec;
- $prev_decode_only_middle604 = ((($396)) + 8540|0);
- HEAP32[$prev_decode_only_middle604>>2] = $395;
- }
- } while(0);
- $397 = $ret;
- $retval = $397;
- $398 = $saved_stack;
- _llvm_stackrestore(($398|0));
- $399 = $retval;
- STACKTOP = sp;return ($399|0);
- }
- }
- $ret = -200;
- $93 = $ret;
- $retval = $93;
- $399 = $retval;
- STACKTOP = sp;return ($399|0);
-}
-function _silk_Get_Encoder_Size($encSizeBytes) {
- $encSizeBytes = $encSizeBytes|0;
- var $0 = 0, $1 = 0, $encSizeBytes$addr = 0, $ret = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $encSizeBytes$addr = $encSizeBytes;
- $ret = 0;
- $0 = $encSizeBytes$addr;
- HEAP32[$0>>2] = 24568;
- $1 = $ret;
- STACKTOP = sp;return ($1|0);
-}
-function _silk_InitEncoder($encState,$arch,$encStatus) {
- $encState = $encState|0;
- $arch = $arch|0;
- $encStatus = $encStatus|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add2 = 0, $arch$addr = 0, $arrayidx = 0, $call = 0, $call1 = 0, $cmp = 0;
- var $encState$addr = 0, $encStatus$addr = 0, $inc = 0, $n = 0, $nChannelsAPI = 0, $nChannelsInternal = 0, $psEnc = 0, $ret = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $encState$addr = $encState;
- $arch$addr = $arch;
- $encStatus$addr = $encStatus;
- $ret = 0;
- $0 = $encState$addr;
- $psEnc = $0;
- $1 = $psEnc;
- _memset(($1|0),0,24568)|0;
- $n = 0;
- while(1) {
- $2 = $n;
- $cmp = ($2|0)<(2);
- $3 = $psEnc;
- if (!($cmp)) {
- break;
- }
- $4 = $n;
- $arrayidx = (($3) + (($4*12240)|0)|0);
- $5 = $arch$addr;
- $call = (_silk_init_encoder($arrayidx,$5)|0);
- $6 = $ret;
- $add = (($6) + ($call))|0;
- $ret = $add;
- $7 = $n;
- $inc = (($7) + 1)|0;
- $n = $inc;
- }
- $nChannelsAPI = ((($3)) + 24544|0);
- HEAP32[$nChannelsAPI>>2] = 1;
- $8 = $psEnc;
- $nChannelsInternal = ((($8)) + 24548|0);
- HEAP32[$nChannelsInternal>>2] = 1;
- $9 = $encState$addr;
- $10 = $encStatus$addr;
- $call1 = (_silk_QueryEncoder($9,$10)|0);
- $11 = $ret;
- $add2 = (($11) + ($call1))|0;
- $ret = $add2;
- $12 = $ret;
- STACKTOP = sp;return ($12|0);
-}
-function _silk_QueryEncoder($encState,$encStatus) {
- $encState = $encState|0;
- $encStatus = $encStatus|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $API_fs_Hz = 0, $API_sampleRate = 0, $Complexity = 0, $PacketLoss_perc = 0, $PacketSize_ms = 0, $TargetRate_bps = 0;
- var $allowBandwidthSwitch = 0, $allow_bandwidth_switch = 0, $bitRate = 0, $cmp = 0, $cmp38 = 0, $complexity = 0, $conv = 0, $conv29 = 0, $desiredInternalSampleRate = 0, $desiredInternal_fs_Hz = 0, $encState$addr = 0, $encStatus$addr = 0, $fs_kHz = 0, $fs_kHz34 = 0, $inWBmodeWithoutVariableLP = 0, $internalSampleRate = 0, $land$ext = 0, $maxInternalSampleRate = 0, $maxInternal_fs_Hz = 0, $minInternalSampleRate = 0;
- var $minInternal_fs_Hz = 0, $mode = 0, $mul = 0, $nChannelsAPI = 0, $nChannelsInternal = 0, $nChannelsInternal3 = 0, $packetLossPercentage = 0, $payloadSize_ms = 0, $psEnc = 0, $ret = 0, $sLP = 0, $state_Fxx = 0, $useCBR = 0, $useCBR26 = 0, $useDTX = 0, $useDTX23 = 0, $useInBandFEC = 0, $useInBandFEC20 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $encState$addr = $encState;
- $encStatus$addr = $encStatus;
- $ret = 0;
- $0 = $encState$addr;
- $psEnc = $0;
- $1 = $psEnc;
- $state_Fxx = $1;
- $2 = $psEnc;
- $nChannelsAPI = ((($2)) + 24544|0);
- $3 = HEAP32[$nChannelsAPI>>2]|0;
- $4 = $encStatus$addr;
- HEAP32[$4>>2] = $3;
- $5 = $psEnc;
- $nChannelsInternal = ((($5)) + 24548|0);
- $6 = HEAP32[$nChannelsInternal>>2]|0;
- $7 = $encStatus$addr;
- $nChannelsInternal3 = ((($7)) + 4|0);
- HEAP32[$nChannelsInternal3>>2] = $6;
- $8 = $state_Fxx;
- $API_fs_Hz = ((($8)) + 4580|0);
- $9 = HEAP32[$API_fs_Hz>>2]|0;
- $10 = $encStatus$addr;
- $API_sampleRate = ((($10)) + 8|0);
- HEAP32[$API_sampleRate>>2] = $9;
- $11 = $state_Fxx;
- $maxInternal_fs_Hz = ((($11)) + 4588|0);
- $12 = HEAP32[$maxInternal_fs_Hz>>2]|0;
- $13 = $encStatus$addr;
- $maxInternalSampleRate = ((($13)) + 12|0);
- HEAP32[$maxInternalSampleRate>>2] = $12;
- $14 = $state_Fxx;
- $minInternal_fs_Hz = ((($14)) + 4592|0);
- $15 = HEAP32[$minInternal_fs_Hz>>2]|0;
- $16 = $encStatus$addr;
- $minInternalSampleRate = ((($16)) + 16|0);
- HEAP32[$minInternalSampleRate>>2] = $15;
- $17 = $state_Fxx;
- $desiredInternal_fs_Hz = ((($17)) + 4596|0);
- $18 = HEAP32[$desiredInternal_fs_Hz>>2]|0;
- $19 = $encStatus$addr;
- $desiredInternalSampleRate = ((($19)) + 20|0);
- HEAP32[$desiredInternalSampleRate>>2] = $18;
- $20 = $state_Fxx;
- $PacketSize_ms = ((($20)) + 4636|0);
- $21 = HEAP32[$PacketSize_ms>>2]|0;
- $22 = $encStatus$addr;
- $payloadSize_ms = ((($22)) + 24|0);
- HEAP32[$payloadSize_ms>>2] = $21;
- $23 = $state_Fxx;
- $TargetRate_bps = ((($23)) + 4632|0);
- $24 = HEAP32[$TargetRate_bps>>2]|0;
- $25 = $encStatus$addr;
- $bitRate = ((($25)) + 28|0);
- HEAP32[$bitRate>>2] = $24;
- $26 = $state_Fxx;
- $PacketLoss_perc = ((($26)) + 4640|0);
- $27 = HEAP32[$PacketLoss_perc>>2]|0;
- $28 = $encStatus$addr;
- $packetLossPercentage = ((($28)) + 32|0);
- HEAP32[$packetLossPercentage>>2] = $27;
- $29 = $state_Fxx;
- $Complexity = ((($29)) + 4648|0);
- $30 = HEAP32[$Complexity>>2]|0;
- $31 = $encStatus$addr;
- $complexity = ((($31)) + 36|0);
- HEAP32[$complexity>>2] = $30;
- $32 = $state_Fxx;
- $useInBandFEC = ((($32)) + 6120|0);
- $33 = HEAP32[$useInBandFEC>>2]|0;
- $34 = $encStatus$addr;
- $useInBandFEC20 = ((($34)) + 40|0);
- HEAP32[$useInBandFEC20>>2] = $33;
- $35 = $state_Fxx;
- $useDTX = ((($35)) + 6108|0);
- $36 = HEAP32[$useDTX>>2]|0;
- $37 = $encStatus$addr;
- $useDTX23 = ((($37)) + 44|0);
- HEAP32[$useDTX23>>2] = $36;
- $38 = $state_Fxx;
- $useCBR = ((($38)) + 4708|0);
- $39 = HEAP32[$useCBR>>2]|0;
- $40 = $encStatus$addr;
- $useCBR26 = ((($40)) + 48|0);
- HEAP32[$useCBR26>>2] = $39;
- $41 = $state_Fxx;
- $fs_kHz = ((($41)) + 4600|0);
- $42 = HEAP32[$fs_kHz>>2]|0;
- $conv = $42&65535;
- $conv29 = $conv << 16 >> 16;
- $mul = ($conv29*1000)|0;
- $43 = $encStatus$addr;
- $internalSampleRate = ((($43)) + 68|0);
- HEAP32[$internalSampleRate>>2] = $mul;
- $44 = $state_Fxx;
- $allow_bandwidth_switch = ((($44)) + 4560|0);
- $45 = HEAP32[$allow_bandwidth_switch>>2]|0;
- $46 = $encStatus$addr;
- $allowBandwidthSwitch = ((($46)) + 72|0);
- HEAP32[$allowBandwidthSwitch>>2] = $45;
- $47 = $state_Fxx;
- $fs_kHz34 = ((($47)) + 4600|0);
- $48 = HEAP32[$fs_kHz34>>2]|0;
- $cmp = ($48|0)==(16);
- if (!($cmp)) {
- $51 = 0;
- $land$ext = $51&1;
- $52 = $encStatus$addr;
- $inWBmodeWithoutVariableLP = ((($52)) + 76|0);
- HEAP32[$inWBmodeWithoutVariableLP>>2] = $land$ext;
- $53 = $ret;
- STACKTOP = sp;return ($53|0);
- }
- $49 = $state_Fxx;
- $sLP = ((($49)) + 16|0);
- $mode = ((($sLP)) + 12|0);
- $50 = HEAP32[$mode>>2]|0;
- $cmp38 = ($50|0)==(0);
- $51 = $cmp38;
- $land$ext = $51&1;
- $52 = $encStatus$addr;
- $inWBmodeWithoutVariableLP = ((($52)) + 76|0);
- HEAP32[$inWBmodeWithoutVariableLP>>2] = $land$ext;
- $53 = $ret;
- STACKTOP = sp;return ($53|0);
-}
-function _silk_Encode($encState,$encControl,$samplesIn,$nSamplesIn,$psRangeEnc,$nBytesOut,$prefillFlag) {
- $encState = $encState|0;
- $encControl = $encControl|0;
- $samplesIn = $samplesIn|0;
- $nSamplesIn = $nSamplesIn|0;
- $psRangeEnc = $psRangeEnc|0;
- $nBytesOut = $nBytesOut|0;
- $prefillFlag = $prefillFlag|0;
- var $$sink$sink = 0, $$sink3$sink = 0, $$sink9 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0;
- var $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0;
- var $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0;
- var $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0;
- var $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0;
- var $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0;
- var $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0;
- var $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0;
- var $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0;
- var $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0;
- var $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0;
- var $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0;
- var $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0;
- var $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0;
- var $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0;
- var $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0;
- var $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0;
- var $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0;
- var $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0;
- var $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0;
- var $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0;
- var $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0;
- var $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0;
- var $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0;
- var $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0;
- var $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0;
- var $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0;
- var $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $6 = 0;
- var $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0;
- var $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $64 = 0;
- var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
- var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $API_fs_Hz = 0, $API_fs_Hz196 = 0;
- var $API_sampleRate = 0, $API_sampleRate108 = 0, $API_sampleRate99 = 0, $LBRR_flag = 0, $LBRR_flag1049 = 0, $LBRR_flags = 0, $LBRR_flags511 = 0, $LBRR_flags559 = 0, $LBRR_flags576 = 0, $LBRR_flags591 = 0, $LBRR_flags636 = 0, $LBRR_symbol = 0, $MStargetRates_bps = 0, $PacketSize_ms = 0, $TargetRate_bps = 0, $VAD_flags = 0, $VAD_flags1038 = 0, $VAD_flags848 = 0, $add = 0, $add$ptr = 0;
- var $add1061 = 0, $add1084 = 0, $add1115 = 0, $add1116 = 0, $add1130 = 0, $add246 = 0, $add249 = 0, $add254 = 0, $add285 = 0, $add303 = 0, $add306 = 0, $add325 = 0, $add328 = 0, $add330 = 0, $add348 = 0, $add351 = 0, $add375 = 0, $add378 = 0, $add395 = 0, $add396 = 0;
- var $add407 = 0, $add408 = 0, $add411 = 0, $add422 = 0, $add423 = 0, $add448 = 0, $add451 = 0, $add456 = 0, $add487 = 0, $allowBandwidthSwitch = 0, $allowBandwidthSwitch1124 = 0, $allowBandwidthSwitch1142 = 0, $allowBandwidthSwitch1143 = 0, $allowBandwidthSwitch462 = 0, $and = 0, $arch = 0, $arch80 = 0, $arrayidx1004 = 0, $arrayidx1028 = 0, $arrayidx1036 = 0;
- var $arrayidx1039 = 0, $arrayidx1076 = 0, $arrayidx1185 = 0, $arrayidx1189 = 0, $arrayidx129 = 0, $arrayidx135 = 0, $arrayidx149 = 0, $arrayidx151 = 0, $arrayidx157 = 0, $arrayidx160 = 0, $arrayidx18 = 0, $arrayidx2 = 0, $arrayidx217 = 0, $arrayidx218 = 0, $arrayidx227 = 0, $arrayidx247 = 0, $arrayidx256 = 0, $arrayidx260 = 0, $arrayidx266 = 0, $arrayidx275 = 0;
- var $arrayidx286 = 0, $arrayidx287 = 0, $arrayidx29 = 0, $arrayidx292 = 0, $arrayidx296 = 0, $arrayidx300 = 0, $arrayidx304 = 0, $arrayidx32 = 0, $arrayidx323 = 0, $arrayidx326 = 0, $arrayidx332 = 0, $arrayidx349 = 0, $arrayidx35 = 0, $arrayidx364 = 0, $arrayidx368 = 0, $arrayidx372 = 0, $arrayidx376 = 0, $arrayidx397 = 0, $arrayidx400 = 0, $arrayidx404 = 0;
- var $arrayidx409 = 0, $arrayidx41 = 0, $arrayidx424 = 0, $arrayidx449 = 0, $arrayidx453 = 0, $arrayidx48 = 0, $arrayidx502 = 0, $arrayidx509 = 0, $arrayidx512 = 0, $arrayidx521 = 0, $arrayidx526 = 0, $arrayidx534 = 0, $arrayidx538 = 0, $arrayidx557 = 0, $arrayidx560 = 0, $arrayidx571 = 0, $arrayidx574 = 0, $arrayidx577 = 0, $arrayidx582 = 0, $arrayidx589 = 0;
- var $arrayidx593 = 0, $arrayidx599 = 0, $arrayidx6 = 0, $arrayidx602 = 0, $arrayidx604 = 0, $arrayidx607 = 0, $arrayidx610 = 0, $arrayidx613 = 0, $arrayidx615 = 0, $arrayidx618 = 0, $arrayidx634 = 0, $arrayidx740 = 0, $arrayidx742 = 0, $arrayidx745 = 0, $arrayidx752 = 0, $arrayidx76 = 0, $arrayidx760 = 0, $arrayidx779 = 0, $arrayidx78 = 0, $arrayidx788 = 0;
- var $arrayidx790 = 0, $arrayidx792 = 0, $arrayidx795 = 0, $arrayidx799 = 0, $arrayidx802 = 0, $arrayidx805 = 0, $arrayidx809 = 0, $arrayidx812 = 0, $arrayidx815 = 0, $arrayidx819 = 0, $arrayidx824 = 0, $arrayidx827 = 0, $arrayidx833 = 0, $arrayidx843 = 0, $arrayidx846 = 0, $arrayidx853 = 0, $arrayidx864 = 0, $arrayidx886 = 0, $arrayidx90 = 0, $arrayidx93 = 0;
- var $arrayidx933 = 0, $arrayidx937 = 0, $arrayidx952 = 0, $arrayidx974 = 0, $arrayidx982 = 0, $arrayidx986 = 0, $arrayidx990 = 0, $bitRate = 0, $bitRate1085 = 0, $bitRate645 = 0, $bitRate696 = 0, $bitRate700 = 0, $bitRate704 = 0, $bitRate719 = 0, $bitRate723 = 0, $bitsBalance = 0, $call = 0, $call130 = 0, $call22 = 0, $call248 = 0;
- var $call305 = 0, $call350 = 0, $call377 = 0, $call450 = 0, $call641 = 0, $call683 = 0, $call81 = 0, $call975 = 0, $channelRate_bps = 0, $cmp = 0, $cmp1007 = 0, $cmp1018 = 0, $cmp102 = 0, $cmp1023 = 0, $cmp103 = 0, $cmp1031 = 0, $cmp1072 = 0, $cmp1092 = 0, $cmp1097 = 0, $cmp110 = 0;
- var $cmp1121 = 0, $cmp1133 = 0, $cmp1148 = 0, $cmp1155 = 0, $cmp118 = 0, $cmp1181 = 0, $cmp120 = 0, $cmp131 = 0, $cmp146 = 0, $cmp15 = 0, $cmp188 = 0, $cmp205 = 0, $cmp207 = 0, $cmp214 = 0, $cmp222 = 0, $cmp224 = 0, $cmp270 = 0, $cmp282 = 0, $cmp314 = 0, $cmp317 = 0;
- var $cmp320 = 0, $cmp353 = 0, $cmp360 = 0, $cmp38 = 0, $cmp384 = 0, $cmp471 = 0, $cmp478 = 0, $cmp497 = 0, $cmp505 = 0, $cmp516 = 0, $cmp529 = 0, $cmp548 = 0, $cmp553 = 0, $cmp564 = 0, $cmp567 = 0, $cmp578 = 0, $cmp585 = 0, $cmp59 = 0, $cmp62 = 0, $cmp630 = 0;
- var $cmp660 = 0, $cmp67 = 0, $cmp680 = 0, $cmp697 = 0, $cmp70 = 0, $cmp701 = 0, $cmp706 = 0, $cmp715 = 0, $cmp720 = 0, $cmp732 = 0, $cmp74 = 0, $cmp781 = 0, $cmp784 = 0, $cmp855 = 0, $cmp87 = 0, $cmp892 = 0, $cmp896 = 0, $cmp899 = 0, $cmp905 = 0, $cmp908 = 0;
- var $cmp914 = 0, $cmp926 = 0, $cmp929 = 0, $cmp934 = 0, $cmp938 = 0, $cmp947 = 0, $cmp960 = 0, $cmp964 = 0, $complexity = 0, $complexity1178 = 0, $complexity84 = 0, $cond = 0, $cond1105 = 0, $cond1174 = 0, $cond127 = 0, $cond192 = 0, $cond280 = 0, $cond518 = 0, $cond711 = 0, $cond730 = 0;
- var $condCoding = 0, $condCoding950 = 0, $controlled_since_last_payload = 0, $controlled_since_last_payload1187 = 0, $controlled_since_last_payload984 = 0, $conv = 0, $conv1005 = 0, $conv1040 = 0, $conv1050 = 0, $conv1107 = 0, $conv1108 = 0, $conv1111 = 0, $conv1112 = 0, $conv1163 = 0, $conv1164 = 0, $conv1172 = 0, $conv327 = 0, $conv331 = 0, $conv398 = 0, $conv410 = 0;
- var $conv413 = 0, $conv492 = 0, $conv519 = 0, $conv605 = 0, $conv611 = 0, $conv663 = 0, $conv664 = 0, $conv780 = 0, $conv854 = 0, $curr_block = 0, $div = 0, $div1088 = 0, $div180 = 0, $div203 = 0, $div648 = 0, $div658 = 0, $div672 = 0, $div693 = 0, $div903 = 0, $div912 = 0;
- var $div918 = 0, $div943 = 0, $encControl$addr = 0, $encState$addr = 0, $first_frame_after_reset = 0, $first_frame_after_reset137 = 0, $first_frame_after_reset4 = 0, $first_frame_after_reset821 = 0, $flags = 0, $force_fs_kHz = 0, $frame_length = 0, $frame_length258 = 0, $frame_length383 = 0, $frame_length470 = 0, $frame_length620 = 0, $frame_length772 = 0, $frame_length885 = 0, $fs_kHz = 0, $fs_kHz1147 = 0, $fs_kHz1162 = 0;
- var $fs_kHz169 = 0, $fs_kHz178 = 0, $fs_kHz201 = 0, $fs_kHz268 = 0, $fs_kHz277 = 0, $fs_kHz768 = 0, $i = 0, $iCDF = 0, $id = 0, $inDTX = 0, $inDTX1068 = 0, $inDTX1078 = 0, $inWBmodeWithoutVariableLP = 0, $inc = 0, $inc1043 = 0, $inc1053 = 0, $inc1139 = 0, $inc1193 = 0, $inc153 = 0, $inc163 = 0;
- var $inc220 = 0, $inc289 = 0, $inc334 = 0, $inc426 = 0, $inc514 = 0, $inc541 = 0, $inc623 = 0, $inc626 = 0, $inc639 = 0, $inc97 = 0, $inc993 = 0, $inc995 = 0, $indices_LBRR = 0, $indices_LBRR609 = 0, $inputBuf = 0, $inputBuf298 = 0, $inputBuf343 = 0, $inputBuf370 = 0, $inputBuf390 = 0, $inputBuf402 = 0;
- var $inputBuf417 = 0, $inputBuf443 = 0, $inputBuf739 = 0, $inputBuf744 = 0, $inputBuf871 = 0, $inputBuf881 = 0, $inputBufIx = 0, $inputBufIx245 = 0, $inputBufIx253 = 0, $inputBufIx262 = 0, $inputBufIx302 = 0, $inputBufIx347 = 0, $inputBufIx374 = 0, $inputBufIx394 = 0, $inputBufIx406 = 0, $inputBufIx421 = 0, $inputBufIx447 = 0, $inputBufIx455 = 0, $inputBufIx466 = 0, $inputBufIx988 = 0;
- var $internalSampleRate = 0, $lagPrev = 0, $land$ext = 0, $land$ext1158 = 0, $lor$ext = 0, $maxBits = 0, $maxBits895 = 0, $maxBits941 = 0, $mid_only_flags = 0, $mid_only_flags755 = 0, $mid_only_flags774 = 0, $mid_only_flags859 = 0, $mid_only_flags998 = 0, $mid_side_amp_Q0 = 0, $mid_side_amp_Q028 = 0, $mid_side_amp_Q031 = 0, $mid_side_amp_Q034 = 0, $mode = 0, $mul = 0, $mul100 = 0;
- var $mul101 = 0, $mul106 = 0, $mul1063 = 0, $mul1082 = 0, $mul1087 = 0, $mul109 = 0, $mul1109 = 0, $mul1113 = 0, $mul1165 = 0, $mul165 = 0, $mul170 = 0, $mul174 = 0, $mul179 = 0, $mul197 = 0, $mul202 = 0, $mul216 = 0, $mul264 = 0, $mul269 = 0, $mul273 = 0, $mul278 = 0;
- var $mul284 = 0, $mul322 = 0, $mul324 = 0, $mul435 = 0, $mul460 = 0, $mul489 = 0, $mul647 = 0, $mul665 = 0, $mul669 = 0, $mul671 = 0, $mul690 = 0, $mul692 = 0, $mul902 = 0, $mul911 = 0, $mul917 = 0, $mul942 = 0, $n = 0, $nBits = 0, $nBitsExceeded = 0, $nBitsExceeded1083 = 0;
- var $nBitsExceeded1089 = 0, $nBitsExceeded1091 = 0, $nBitsExceeded1096 = 0, $nBitsExceeded1101 = 0, $nBitsExceeded1106 = 0, $nBitsUsedLBRR = 0, $nBitsUsedLBRR651 = 0, $nBitsUsedLBRR684 = 0, $nBlocksOf10ms = 0, $nBytesOut$addr = 0, $nChannelsAPI = 0, $nChannelsAPI64 = 0, $nChannelsInternal = 0, $nChannelsInternal1022 = 0, $nChannelsInternal1062 = 0, $nChannelsInternal1071 = 0, $nChannelsInternal114 = 0, $nChannelsInternal1140 = 0, $nChannelsInternal117 = 0, $nChannelsInternal1180 = 0;
- var $nChannelsInternal14 = 0, $nChannelsInternal206 = 0, $nChannelsInternal316 = 0, $nChannelsInternal488 = 0, $nChannelsInternal496 = 0, $nChannelsInternal552 = 0, $nChannelsInternal563 = 0, $nChannelsInternal60 = 0, $nChannelsInternal61 = 0, $nChannelsInternal629 = 0, $nChannelsInternal65 = 0, $nChannelsInternal66 = 0, $nChannelsInternal73 = 0, $nChannelsInternal731 = 0, $nChannelsInternal86 = 0, $nChannelsInternal891 = 0, $nChannelsInternal928 = 0, $nFramesEncoded = 0, $nFramesEncoded1002 = 0, $nFramesEncoded1013 = 0;
- var $nFramesEncoded11 = 0, $nFramesEncoded212 = 0, $nFramesEncoded359 = 0, $nFramesEncoded477 = 0, $nFramesEncoded679 = 0, $nFramesEncoded689 = 0, $nFramesEncoded751 = 0, $nFramesEncoded759 = 0, $nFramesEncoded778 = 0, $nFramesEncoded832 = 0, $nFramesEncoded842 = 0, $nFramesEncoded852 = 0, $nFramesEncoded863 = 0, $nFramesEncoded958 = 0, $nFramesEncoded992 = 0, $nFramesPerPacket = 0, $nFramesPerPacket1017 = 0, $nFramesPerPacket1030 = 0, $nFramesPerPacket1060 = 0, $nFramesPerPacket486 = 0;
- var $nFramesPerPacket504 = 0, $nFramesPerPacket528 = 0, $nFramesPerPacket536 = 0, $nFramesPerPacket547 = 0, $nFramesPerPacket657 = 0, $nPrevChannelsInternal = 0, $nPrevChannelsInternal1141 = 0, $nPrevChannelsInternal352 = 0, $nSamplesFromInput = 0, $nSamplesFromInputMax = 0, $nSamplesIn$addr = 0, $nSamplesToBuffer = 0, $nSamplesToBufferMax = 0, $or = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond6 = 0, $or$cond7 = 0, $or$cond8 = 0;
- var $or1041 = 0, $or1051 = 0, $payloadSize_ms = 0, $payloadSize_ms107 = 0, $payloadSize_ms1086 = 0, $payloadSize_ms1128 = 0, $payloadSize_ms1177 = 0, $payloadSize_ms646 = 0, $payloadSize_ms659 = 0, $payloadSize_ms82 = 0, $payloadSize_ms83 = 0, $predIx = 0, $predIx747 = 0, $predIx838 = 0, $prefillFlag$addr = 0, $prefillFlag1191 = 0, $prefillFlag95 = 0, $prevLag = 0, $prevSignalType = 0, $prev_NLSFq_Q15 = 0;
- var $prev_decode_only_middle = 0, $prev_decode_only_middle1006 = 0, $prev_decode_only_middle967 = 0, $prev_gain_Q16 = 0, $psEnc = 0, $psRangeEnc$addr = 0, $pulses_LBRR = 0, $quantOffsetType = 0, $reducedDependency = 0, $resampler_state = 0, $resampler_state229 = 0, $resampler_state233 = 0, $resampler_state238 = 0, $resampler_state294 = 0, $resampler_state339 = 0, $resampler_state366 = 0, $resampler_state439 = 0, $resampler_state46 = 0, $ret = 0, $retval = 0;
- var $sLP = 0, $sLP1154 = 0, $sMid = 0, $sMid876 = 0, $sNSQ = 0, $sNSQ807 = 0, $sNSQ817 = 0, $sPrefilt = 0, $sShape = 0, $sShape810 = 0, $sSide = 0, $sStereo = 0, $sStereo1170 = 0, $sStereo23 = 0, $sStereo25 = 0, $sStereo27 = 0, $sStereo30 = 0, $sStereo33 = 0, $sStereo36 = 0, $sStereo37 = 0;
- var $sStereo570 = 0, $sStereo581 = 0, $sStereo735 = 0, $sStereo746 = 0, $sStereo754 = 0, $sStereo773 = 0, $sStereo837 = 0, $sStereo858 = 0, $sStereo873 = 0, $sStereo875 = 0, $sStereo997 = 0, $samplesIn$addr = 0, $saved_stack = 0, $shl = 0, $shl1034 = 0, $shr = 0, $shr1114 = 0, $shr115 = 0, $shr329 = 0, $shr412 = 0;
- var $shr490 = 0, $signalType = 0, $smth_width_Q14 = 0, $smth_width_Q141171 = 0, $speech_act_thr_for_switch_Q8 = 0, $speech_activity_Q8 = 0, $speech_activity_Q81120 = 0, $stereoWidth_Q14 = 0, $sub = 0, $sub1003 = 0, $sub1090 = 0, $sub187 = 0, $sub263 = 0, $sub461 = 0, $sub491 = 0, $sub532 = 0, $sub537 = 0, $sub592 = 0, $sub652 = 0, $sub673 = 0;
- var $sub685 = 0, $sub691 = 0, $sub694 = 0, $sub925 = 0, $sub944 = 0, $sub959 = 0, $sum = 0, $switchReady = 0, $timeSinceSwitchAllowed_ms = 0, $timeSinceSwitchAllowed_ms1110 = 0, $timeSinceSwitchAllowed_ms1125 = 0, $timeSinceSwitchAllowed_ms1129 = 0, $tmp_complexity = 0, $tmp_payloadSize_ms = 0, $toMono = 0, $toMono1166 = 0, $tobool = 0, $tobool1055 = 0, $tobool1069 = 0, $tobool1079 = 0;
- var $tobool1167 = 0, $tobool1175 = 0, $tobool138 = 0, $tobool140 = 0, $tobool481 = 0, $tobool523 = 0, $tobool561 = 0, $tobool594 = 0, $tobool649 = 0, $tobool674 = 0, $tobool68 = 0, $tobool835 = 0, $tobool924 = 0, $tobool968 = 0, $tot_blocks = 0, $transition = 0, $useCBR = 0, $useCBR923 = 0, $useDTX = 0, $vla = 0;
- var $vla$alloca_mul = 0, $width_prev_Q14 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
- $MStargetRates_bps = sp + 64|0;
- $iCDF = sp + 160|0;
- $encState$addr = $encState;
- $encControl$addr = $encControl;
- $samplesIn$addr = $samplesIn;
- $nSamplesIn$addr = $nSamplesIn;
- $psRangeEnc$addr = $psRangeEnc;
- $nBytesOut$addr = $nBytesOut;
- $prefillFlag$addr = $prefillFlag;
- $tmp_payloadSize_ms = 0;
- $tmp_complexity = 0;
- $ret = 0;
- $nSamplesFromInput = 0;
- $0 = $encState$addr;
- $psEnc = $0;
- $1 = $encControl$addr;
- $reducedDependency = ((($1)) + 64|0);
- $2 = HEAP32[$reducedDependency>>2]|0;
- $tobool = ($2|0)!=(0);
- if ($tobool) {
- $3 = $psEnc;
- $first_frame_after_reset = ((($3)) + 4696|0);
- HEAP32[$first_frame_after_reset>>2] = 1;
- $4 = $psEnc;
- $arrayidx2 = ((($4)) + 12240|0);
- $first_frame_after_reset4 = ((($arrayidx2)) + 4696|0);
- HEAP32[$first_frame_after_reset4>>2] = 1;
- }
- $5 = $psEnc;
- $arrayidx6 = ((($5)) + 12240|0);
- $nFramesEncoded = ((($arrayidx6)) + 5780|0);
- HEAP32[$nFramesEncoded>>2] = 0;
- $6 = $psEnc;
- $nFramesEncoded11 = ((($6)) + 5780|0);
- HEAP32[$nFramesEncoded11>>2] = 0;
- $7 = $encControl$addr;
- $call = (_check_control_input($7)|0);
- $ret = $call;
- $cmp = ($call|0)!=(0);
- if ($cmp) {
- $8 = $ret;
- $retval = $8;
- $634 = $retval;
- STACKTOP = sp;return ($634|0);
- }
- $9 = $encControl$addr;
- $switchReady = ((($9)) + 84|0);
- HEAP32[$switchReady>>2] = 0;
- $10 = $encControl$addr;
- $nChannelsInternal = ((($10)) + 4|0);
- $11 = HEAP32[$nChannelsInternal>>2]|0;
- $12 = $psEnc;
- $nChannelsInternal14 = ((($12)) + 24548|0);
- $13 = HEAP32[$nChannelsInternal14>>2]|0;
- $cmp15 = ($11|0)>($13|0);
- if ($cmp15) {
- $14 = $psEnc;
- $arrayidx18 = ((($14)) + 12240|0);
- $15 = $psEnc;
- $arch = ((($15)) + 5124|0);
- $16 = HEAP32[$arch>>2]|0;
- $call22 = (_silk_init_encoder($arrayidx18,$16)|0);
- $17 = $ret;
- $add = (($17) + ($call22))|0;
- $ret = $add;
- $18 = $psEnc;
- $sStereo = ((($18)) + 24480|0);
- ;HEAP32[$sStereo>>2]=0|0;
- $19 = $psEnc;
- $sStereo23 = ((($19)) + 24480|0);
- $sSide = ((($sStereo23)) + 8|0);
- ;HEAP32[$sSide>>2]=0|0;
- $20 = $psEnc;
- $sStereo25 = ((($20)) + 24480|0);
- $mid_side_amp_Q0 = ((($sStereo25)) + 12|0);
- HEAP32[$mid_side_amp_Q0>>2] = 0;
- $21 = $psEnc;
- $sStereo27 = ((($21)) + 24480|0);
- $mid_side_amp_Q028 = ((($sStereo27)) + 12|0);
- $arrayidx29 = ((($mid_side_amp_Q028)) + 4|0);
- HEAP32[$arrayidx29>>2] = 1;
- $22 = $psEnc;
- $sStereo30 = ((($22)) + 24480|0);
- $mid_side_amp_Q031 = ((($sStereo30)) + 12|0);
- $arrayidx32 = ((($mid_side_amp_Q031)) + 8|0);
- HEAP32[$arrayidx32>>2] = 0;
- $23 = $psEnc;
- $sStereo33 = ((($23)) + 24480|0);
- $mid_side_amp_Q034 = ((($sStereo33)) + 12|0);
- $arrayidx35 = ((($mid_side_amp_Q034)) + 12|0);
- HEAP32[$arrayidx35>>2] = 1;
- $24 = $psEnc;
- $sStereo36 = ((($24)) + 24480|0);
- $width_prev_Q14 = ((($sStereo36)) + 30|0);
- HEAP16[$width_prev_Q14>>1] = 0;
- $25 = $psEnc;
- $sStereo37 = ((($25)) + 24480|0);
- $smth_width_Q14 = ((($sStereo37)) + 28|0);
- HEAP16[$smth_width_Q14>>1] = 16384;
- $26 = $psEnc;
- $nChannelsAPI = ((($26)) + 24544|0);
- $27 = HEAP32[$nChannelsAPI>>2]|0;
- $cmp38 = ($27|0)==(2);
- if ($cmp38) {
- $28 = $psEnc;
- $arrayidx41 = ((($28)) + 12240|0);
- $resampler_state = ((($arrayidx41)) + 5808|0);
- $29 = $psEnc;
- $resampler_state46 = ((($29)) + 5808|0);
- _memcpy(($resampler_state|0),($resampler_state46|0),300)|0;
- $30 = $psEnc;
- $arrayidx48 = ((($30)) + 12240|0);
- $31 = $psEnc;
- ;HEAP32[$arrayidx48>>2]=HEAP32[$31>>2]|0;HEAP32[$arrayidx48+4>>2]=HEAP32[$31+4>>2]|0;
- }
- }
- $32 = $encControl$addr;
- $payloadSize_ms = ((($32)) + 24|0);
- $33 = HEAP32[$payloadSize_ms>>2]|0;
- $34 = $psEnc;
- $PacketSize_ms = ((($34)) + 4636|0);
- $35 = HEAP32[$PacketSize_ms>>2]|0;
- $cmp59 = ($33|0)!=($35|0);
- if ($cmp59) {
- $40 = 1;
- } else {
- $36 = $psEnc;
- $nChannelsInternal60 = ((($36)) + 24548|0);
- $37 = HEAP32[$nChannelsInternal60>>2]|0;
- $38 = $encControl$addr;
- $nChannelsInternal61 = ((($38)) + 4|0);
- $39 = HEAP32[$nChannelsInternal61>>2]|0;
- $cmp62 = ($37|0)!=($39|0);
- $40 = $cmp62;
- }
- $lor$ext = $40&1;
- $transition = $lor$ext;
- $41 = $encControl$addr;
- $42 = HEAP32[$41>>2]|0;
- $43 = $psEnc;
- $nChannelsAPI64 = ((($43)) + 24544|0);
- HEAP32[$nChannelsAPI64>>2] = $42;
- $44 = $encControl$addr;
- $nChannelsInternal65 = ((($44)) + 4|0);
- $45 = HEAP32[$nChannelsInternal65>>2]|0;
- $46 = $psEnc;
- $nChannelsInternal66 = ((($46)) + 24548|0);
- HEAP32[$nChannelsInternal66>>2] = $45;
- $47 = $nSamplesIn$addr;
- $mul = ($47*100)|0;
- $48 = $encControl$addr;
- $API_sampleRate = ((($48)) + 8|0);
- $49 = HEAP32[$API_sampleRate>>2]|0;
- $div = (($mul|0) / ($49|0))&-1;
- $nBlocksOf10ms = $div;
- $50 = $nBlocksOf10ms;
- $cmp67 = ($50|0)>(1);
- $51 = $nBlocksOf10ms;
- $shr = $51 >> 1;
- $cond = $cmp67 ? $shr : 1;
- $tot_blocks = $cond;
- $curr_block = 0;
- $52 = $prefillFlag$addr;
- $tobool68 = ($52|0)!=(0);
- $53 = $nBlocksOf10ms;
- L15: do {
- if ($tobool68) {
- $cmp70 = ($53|0)!=(1);
- if ($cmp70) {
- $retval = -101;
- $634 = $retval;
- STACKTOP = sp;return ($634|0);
- }
- $n = 0;
- while(1) {
- $54 = $n;
- $55 = $encControl$addr;
- $nChannelsInternal73 = ((($55)) + 4|0);
- $56 = HEAP32[$nChannelsInternal73>>2]|0;
- $cmp74 = ($54|0)<($56|0);
- if (!($cmp74)) {
- break;
- }
- $57 = $psEnc;
- $58 = $n;
- $arrayidx76 = (($57) + (($58*12240)|0)|0);
- $59 = $psEnc;
- $60 = $n;
- $arrayidx78 = (($59) + (($60*12240)|0)|0);
- $arch80 = ((($arrayidx78)) + 5124|0);
- $61 = HEAP32[$arch80>>2]|0;
- $call81 = (_silk_init_encoder($arrayidx76,$61)|0);
- $ret = $call81;
- $62 = $n;
- $inc = (($62) + 1)|0;
- $n = $inc;
- }
- $63 = $encControl$addr;
- $payloadSize_ms82 = ((($63)) + 24|0);
- $64 = HEAP32[$payloadSize_ms82>>2]|0;
- $tmp_payloadSize_ms = $64;
- $65 = $encControl$addr;
- $payloadSize_ms83 = ((($65)) + 24|0);
- HEAP32[$payloadSize_ms83>>2] = 10;
- $66 = $encControl$addr;
- $complexity = ((($66)) + 36|0);
- $67 = HEAP32[$complexity>>2]|0;
- $tmp_complexity = $67;
- $68 = $encControl$addr;
- $complexity84 = ((($68)) + 36|0);
- HEAP32[$complexity84>>2] = 0;
- $n = 0;
- while(1) {
- $69 = $n;
- $70 = $encControl$addr;
- $nChannelsInternal86 = ((($70)) + 4|0);
- $71 = HEAP32[$nChannelsInternal86>>2]|0;
- $cmp87 = ($69|0)<($71|0);
- if (!($cmp87)) {
- break L15;
- }
- $72 = $psEnc;
- $73 = $n;
- $arrayidx90 = (($72) + (($73*12240)|0)|0);
- $controlled_since_last_payload = ((($arrayidx90)) + 4700|0);
- HEAP32[$controlled_since_last_payload>>2] = 0;
- $74 = $psEnc;
- $75 = $n;
- $arrayidx93 = (($74) + (($75*12240)|0)|0);
- $prefillFlag95 = ((($arrayidx93)) + 4712|0);
- HEAP32[$prefillFlag95>>2] = 1;
- $76 = $n;
- $inc97 = (($76) + 1)|0;
- $n = $inc97;
- }
- } else {
- $77 = $encControl$addr;
- $API_sampleRate99 = ((($77)) + 8|0);
- $78 = HEAP32[$API_sampleRate99>>2]|0;
- $mul100 = Math_imul($53, $78)|0;
- $79 = $nSamplesIn$addr;
- $mul101 = ($79*100)|0;
- $cmp102 = ($mul100|0)!=($mul101|0);
- $80 = $nSamplesIn$addr;
- $cmp103 = ($80|0)<(0);
- $or$cond = $cmp102 | $cmp103;
- if ($or$cond) {
- $retval = -101;
- $634 = $retval;
- STACKTOP = sp;return ($634|0);
- }
- $81 = $nSamplesIn$addr;
- $mul106 = ($81*1000)|0;
- $82 = $encControl$addr;
- $payloadSize_ms107 = ((($82)) + 24|0);
- $83 = HEAP32[$payloadSize_ms107>>2]|0;
- $84 = $encControl$addr;
- $API_sampleRate108 = ((($84)) + 8|0);
- $85 = HEAP32[$API_sampleRate108>>2]|0;
- $mul109 = Math_imul($83, $85)|0;
- $cmp110 = ($mul106|0)>($mul109|0);
- if ($cmp110) {
- $retval = -101;
- $634 = $retval;
- STACKTOP = sp;return ($634|0);
- }
- }
- } while(0);
- $86 = $encControl$addr;
- $bitRate = ((($86)) + 28|0);
- $87 = HEAP32[$bitRate>>2]|0;
- $88 = $encControl$addr;
- $nChannelsInternal114 = ((($88)) + 4|0);
- $89 = HEAP32[$nChannelsInternal114>>2]|0;
- $sub = (($89) - 1)|0;
- $shr115 = $87 >> $sub;
- $TargetRate_bps = $shr115;
- $n = 0;
- while(1) {
- $90 = $n;
- $91 = $encControl$addr;
- $nChannelsInternal117 = ((($91)) + 4|0);
- $92 = HEAP32[$nChannelsInternal117>>2]|0;
- $cmp118 = ($90|0)<($92|0);
- if (!($cmp118)) {
- break;
- }
- $93 = $n;
- $cmp120 = ($93|0)==(1);
- if ($cmp120) {
- $94 = $psEnc;
- $fs_kHz = ((($94)) + 4600|0);
- $95 = HEAP32[$fs_kHz>>2]|0;
- $cond127 = $95;
- } else {
- $cond127 = 0;
- }
- $force_fs_kHz = $cond127;
- $96 = $psEnc;
- $97 = $n;
- $arrayidx129 = (($96) + (($97*12240)|0)|0);
- $98 = $encControl$addr;
- $99 = $TargetRate_bps;
- $100 = $psEnc;
- $allowBandwidthSwitch = ((($100)) + 24560|0);
- $101 = HEAP32[$allowBandwidthSwitch>>2]|0;
- $102 = $n;
- $103 = $force_fs_kHz;
- $call130 = (_silk_control_encoder($arrayidx129,$98,$99,$101,$102,$103)|0);
- $ret = $call130;
- $cmp131 = ($call130|0)!=(0);
- if ($cmp131) {
- label = 28;
- break;
- }
- $105 = $psEnc;
- $106 = $n;
- $arrayidx135 = (($105) + (($106*12240)|0)|0);
- $first_frame_after_reset137 = ((($arrayidx135)) + 4696|0);
- $107 = HEAP32[$first_frame_after_reset137>>2]|0;
- $tobool138 = ($107|0)!=(0);
- $108 = $transition;
- $tobool140 = ($108|0)!=(0);
- $or$cond1 = $tobool138 | $tobool140;
- L43: do {
- if ($or$cond1) {
- $i = 0;
- while(1) {
- $109 = $i;
- $110 = $psEnc;
- $nFramesPerPacket = ((($110)) + 5776|0);
- $111 = HEAP32[$nFramesPerPacket>>2]|0;
- $cmp146 = ($109|0)<($111|0);
- if (!($cmp146)) {
- break L43;
- }
- $112 = $psEnc;
- $113 = $n;
- $arrayidx149 = (($112) + (($113*12240)|0)|0);
- $LBRR_flags = ((($arrayidx149)) + 4756|0);
- $114 = $i;
- $arrayidx151 = (($LBRR_flags) + ($114<<2)|0);
- HEAP32[$arrayidx151>>2] = 0;
- $115 = $i;
- $inc153 = (($115) + 1)|0;
- $i = $inc153;
- }
- }
- } while(0);
- $116 = $psEnc;
- $117 = $n;
- $arrayidx157 = (($116) + (($117*12240)|0)|0);
- $useDTX = ((($arrayidx157)) + 6108|0);
- $118 = HEAP32[$useDTX>>2]|0;
- $119 = $psEnc;
- $120 = $n;
- $arrayidx160 = (($119) + (($120*12240)|0)|0);
- $inDTX = ((($arrayidx160)) + 6112|0);
- HEAP32[$inDTX>>2] = $118;
- $121 = $n;
- $inc163 = (($121) + 1)|0;
- $n = $inc163;
- }
- if ((label|0) == 28) {
- $104 = $ret;
- $retval = $104;
- $634 = $retval;
- STACKTOP = sp;return ($634|0);
- }
- $122 = $nBlocksOf10ms;
- $mul165 = ($122*10)|0;
- $123 = $psEnc;
- $fs_kHz169 = ((($123)) + 4600|0);
- $124 = HEAP32[$fs_kHz169>>2]|0;
- $mul170 = Math_imul($mul165, $124)|0;
- $nSamplesToBufferMax = $mul170;
- $125 = $nSamplesToBufferMax;
- $126 = $psEnc;
- $API_fs_Hz = ((($126)) + 4580|0);
- $127 = HEAP32[$API_fs_Hz>>2]|0;
- $mul174 = Math_imul($125, $127)|0;
- $128 = $psEnc;
- $fs_kHz178 = ((($128)) + 4600|0);
- $129 = HEAP32[$fs_kHz178>>2]|0;
- $mul179 = ($129*1000)|0;
- $div180 = (($mul174|0) / ($mul179|0))&-1;
- $nSamplesFromInputMax = $div180;
- $130 = $nSamplesFromInputMax;
- $131 = (_llvm_stacksave()|0);
- $saved_stack = $131;
- $vla$alloca_mul = $130<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- while(1) {
- $132 = $psEnc;
- $frame_length = ((($132)) + 4608|0);
- $133 = HEAP32[$frame_length>>2]|0;
- $134 = $psEnc;
- $inputBufIx = ((($134)) + 5772|0);
- $135 = HEAP32[$inputBufIx>>2]|0;
- $sub187 = (($133) - ($135))|0;
- $nSamplesToBuffer = $sub187;
- $136 = $nSamplesToBuffer;
- $137 = $nSamplesToBufferMax;
- $cmp188 = ($136|0)<($137|0);
- $138 = $nSamplesToBuffer;
- $139 = $nSamplesToBufferMax;
- $cond192 = $cmp188 ? $138 : $139;
- $nSamplesToBuffer = $cond192;
- $140 = $nSamplesToBuffer;
- $141 = $psEnc;
- $API_fs_Hz196 = ((($141)) + 4580|0);
- $142 = HEAP32[$API_fs_Hz196>>2]|0;
- $mul197 = Math_imul($140, $142)|0;
- $143 = $psEnc;
- $fs_kHz201 = ((($143)) + 4600|0);
- $144 = HEAP32[$fs_kHz201>>2]|0;
- $mul202 = ($144*1000)|0;
- $div203 = (($mul197|0) / ($mul202|0))&-1;
- $nSamplesFromInput = $div203;
- $145 = $encControl$addr;
- $146 = HEAP32[$145>>2]|0;
- $cmp205 = ($146|0)==(2);
- if ($cmp205) {
- $147 = $encControl$addr;
- $nChannelsInternal206 = ((($147)) + 4|0);
- $148 = HEAP32[$nChannelsInternal206>>2]|0;
- $cmp207 = ($148|0)==(2);
- if ($cmp207) {
- $149 = $psEnc;
- $nFramesEncoded212 = ((($149)) + 5780|0);
- $150 = HEAP32[$nFramesEncoded212>>2]|0;
- $id = $150;
- $n = 0;
- while(1) {
- $151 = $n;
- $152 = $nSamplesFromInput;
- $cmp214 = ($151|0)<($152|0);
- if (!($cmp214)) {
- break;
- }
- $153 = $samplesIn$addr;
- $154 = $n;
- $mul216 = $154<<1;
- $arrayidx217 = (($153) + ($mul216<<1)|0);
- $155 = HEAP16[$arrayidx217>>1]|0;
- $156 = $n;
- $arrayidx218 = (($vla) + ($156<<1)|0);
- HEAP16[$arrayidx218>>1] = $155;
- $157 = $n;
- $inc220 = (($157) + 1)|0;
- $n = $inc220;
- }
- $158 = $psEnc;
- $nPrevChannelsInternal = ((($158)) + 24552|0);
- $159 = HEAP32[$nPrevChannelsInternal>>2]|0;
- $cmp222 = ($159|0)==(1);
- $160 = $id;
- $cmp224 = ($160|0)==(0);
- $or$cond2 = $cmp222 & $cmp224;
- if ($or$cond2) {
- $161 = $psEnc;
- $arrayidx227 = ((($161)) + 12240|0);
- $resampler_state229 = ((($arrayidx227)) + 5808|0);
- $162 = $psEnc;
- $resampler_state233 = ((($162)) + 5808|0);
- _memcpy(($resampler_state229|0),($resampler_state233|0),300)|0;
- }
- $163 = $psEnc;
- $resampler_state238 = ((($163)) + 5808|0);
- $164 = $psEnc;
- $inputBuf = ((($164)) + 5128|0);
- $165 = $psEnc;
- $inputBufIx245 = ((($165)) + 5772|0);
- $166 = HEAP32[$inputBufIx245>>2]|0;
- $add246 = (($166) + 2)|0;
- $arrayidx247 = (($inputBuf) + ($add246<<1)|0);
- $167 = $nSamplesFromInput;
- $call248 = (_silk_resampler($resampler_state238,$arrayidx247,$vla,$167)|0);
- $168 = $ret;
- $add249 = (($168) + ($call248))|0;
- $ret = $add249;
- $169 = $nSamplesToBuffer;
- $170 = $psEnc;
- $inputBufIx253 = ((($170)) + 5772|0);
- $171 = HEAP32[$inputBufIx253>>2]|0;
- $add254 = (($171) + ($169))|0;
- HEAP32[$inputBufIx253>>2] = $add254;
- $172 = $psEnc;
- $arrayidx256 = ((($172)) + 12240|0);
- $frame_length258 = ((($arrayidx256)) + 4608|0);
- $173 = HEAP32[$frame_length258>>2]|0;
- $174 = $psEnc;
- $arrayidx260 = ((($174)) + 12240|0);
- $inputBufIx262 = ((($arrayidx260)) + 5772|0);
- $175 = HEAP32[$inputBufIx262>>2]|0;
- $sub263 = (($173) - ($175))|0;
- $nSamplesToBuffer = $sub263;
- $176 = $nSamplesToBuffer;
- $177 = $nBlocksOf10ms;
- $mul264 = ($177*10)|0;
- $178 = $psEnc;
- $arrayidx266 = ((($178)) + 12240|0);
- $fs_kHz268 = ((($arrayidx266)) + 4600|0);
- $179 = HEAP32[$fs_kHz268>>2]|0;
- $mul269 = Math_imul($mul264, $179)|0;
- $cmp270 = ($176|0)<($mul269|0);
- if ($cmp270) {
- $180 = $nSamplesToBuffer;
- $cond280 = $180;
- } else {
- $181 = $nBlocksOf10ms;
- $mul273 = ($181*10)|0;
- $182 = $psEnc;
- $arrayidx275 = ((($182)) + 12240|0);
- $fs_kHz277 = ((($arrayidx275)) + 4600|0);
- $183 = HEAP32[$fs_kHz277>>2]|0;
- $mul278 = Math_imul($mul273, $183)|0;
- $cond280 = $mul278;
- }
- $nSamplesToBuffer = $cond280;
- $n = 0;
- while(1) {
- $184 = $n;
- $185 = $nSamplesFromInput;
- $cmp282 = ($184|0)<($185|0);
- if (!($cmp282)) {
- break;
- }
- $186 = $samplesIn$addr;
- $187 = $n;
- $mul284 = $187<<1;
- $add285 = (($mul284) + 1)|0;
- $arrayidx286 = (($186) + ($add285<<1)|0);
- $188 = HEAP16[$arrayidx286>>1]|0;
- $189 = $n;
- $arrayidx287 = (($vla) + ($189<<1)|0);
- HEAP16[$arrayidx287>>1] = $188;
- $190 = $n;
- $inc289 = (($190) + 1)|0;
- $n = $inc289;
- }
- $191 = $psEnc;
- $arrayidx292 = ((($191)) + 12240|0);
- $resampler_state294 = ((($arrayidx292)) + 5808|0);
- $192 = $psEnc;
- $arrayidx296 = ((($192)) + 12240|0);
- $inputBuf298 = ((($arrayidx296)) + 5128|0);
- $193 = $psEnc;
- $arrayidx300 = ((($193)) + 12240|0);
- $inputBufIx302 = ((($arrayidx300)) + 5772|0);
- $194 = HEAP32[$inputBufIx302>>2]|0;
- $add303 = (($194) + 2)|0;
- $arrayidx304 = (($inputBuf298) + ($add303<<1)|0);
- $195 = $nSamplesFromInput;
- $call305 = (_silk_resampler($resampler_state294,$arrayidx304,$vla,$195)|0);
- $196 = $ret;
- $add306 = (($196) + ($call305))|0;
- $ret = $add306;
- $197 = $nSamplesToBuffer;
- $198 = $psEnc;
- $$sink$sink = $198;$$sink3$sink = $197;$$sink9 = 1;
- } else {
- label = 49;
- }
- } else {
- label = 49;
- }
- do {
- if ((label|0) == 49) {
- label = 0;
- $199 = $encControl$addr;
- $200 = HEAP32[$199>>2]|0;
- $cmp314 = ($200|0)==(2);
- if ($cmp314) {
- $201 = $encControl$addr;
- $nChannelsInternal316 = ((($201)) + 4|0);
- $202 = HEAP32[$nChannelsInternal316>>2]|0;
- $cmp317 = ($202|0)==(1);
- if ($cmp317) {
- $n = 0;
- while(1) {
- $203 = $n;
- $204 = $nSamplesFromInput;
- $cmp320 = ($203|0)<($204|0);
- if (!($cmp320)) {
- break;
- }
- $205 = $samplesIn$addr;
- $206 = $n;
- $mul322 = $206<<1;
- $arrayidx323 = (($205) + ($mul322<<1)|0);
- $207 = HEAP16[$arrayidx323>>1]|0;
- $conv = $207 << 16 >> 16;
- $208 = $samplesIn$addr;
- $209 = $n;
- $mul324 = $209<<1;
- $add325 = (($mul324) + 1)|0;
- $arrayidx326 = (($208) + ($add325<<1)|0);
- $210 = HEAP16[$arrayidx326>>1]|0;
- $conv327 = $210 << 16 >> 16;
- $add328 = (($conv) + ($conv327))|0;
- $sum = $add328;
- $211 = $sum;
- $shr329 = $211 >> 1;
- $212 = $sum;
- $and = $212 & 1;
- $add330 = (($shr329) + ($and))|0;
- $conv331 = $add330&65535;
- $213 = $n;
- $arrayidx332 = (($vla) + ($213<<1)|0);
- HEAP16[$arrayidx332>>1] = $conv331;
- $214 = $n;
- $inc334 = (($214) + 1)|0;
- $n = $inc334;
- }
- $215 = $psEnc;
- $resampler_state339 = ((($215)) + 5808|0);
- $216 = $psEnc;
- $inputBuf343 = ((($216)) + 5128|0);
- $217 = $psEnc;
- $inputBufIx347 = ((($217)) + 5772|0);
- $218 = HEAP32[$inputBufIx347>>2]|0;
- $add348 = (($218) + 2)|0;
- $arrayidx349 = (($inputBuf343) + ($add348<<1)|0);
- $219 = $nSamplesFromInput;
- $call350 = (_silk_resampler($resampler_state339,$arrayidx349,$vla,$219)|0);
- $220 = $ret;
- $add351 = (($220) + ($call350))|0;
- $ret = $add351;
- $221 = $psEnc;
- $nPrevChannelsInternal352 = ((($221)) + 24552|0);
- $222 = HEAP32[$nPrevChannelsInternal352>>2]|0;
- $cmp353 = ($222|0)==(2);
- L82: do {
- if ($cmp353) {
- $223 = $psEnc;
- $nFramesEncoded359 = ((($223)) + 5780|0);
- $224 = HEAP32[$nFramesEncoded359>>2]|0;
- $cmp360 = ($224|0)==(0);
- if ($cmp360) {
- $225 = $psEnc;
- $arrayidx364 = ((($225)) + 12240|0);
- $resampler_state366 = ((($arrayidx364)) + 5808|0);
- $226 = $psEnc;
- $arrayidx368 = ((($226)) + 12240|0);
- $inputBuf370 = ((($arrayidx368)) + 5128|0);
- $227 = $psEnc;
- $arrayidx372 = ((($227)) + 12240|0);
- $inputBufIx374 = ((($arrayidx372)) + 5772|0);
- $228 = HEAP32[$inputBufIx374>>2]|0;
- $add375 = (($228) + 2)|0;
- $arrayidx376 = (($inputBuf370) + ($add375<<1)|0);
- $229 = $nSamplesFromInput;
- $call377 = (_silk_resampler($resampler_state366,$arrayidx376,$vla,$229)|0);
- $230 = $ret;
- $add378 = (($230) + ($call377))|0;
- $ret = $add378;
- $n = 0;
- while(1) {
- $231 = $n;
- $232 = $psEnc;
- $frame_length383 = ((($232)) + 4608|0);
- $233 = HEAP32[$frame_length383>>2]|0;
- $cmp384 = ($231|0)<($233|0);
- if (!($cmp384)) {
- break L82;
- }
- $234 = $psEnc;
- $inputBuf390 = ((($234)) + 5128|0);
- $235 = $psEnc;
- $inputBufIx394 = ((($235)) + 5772|0);
- $236 = HEAP32[$inputBufIx394>>2]|0;
- $237 = $n;
- $add395 = (($236) + ($237))|0;
- $add396 = (($add395) + 2)|0;
- $arrayidx397 = (($inputBuf390) + ($add396<<1)|0);
- $238 = HEAP16[$arrayidx397>>1]|0;
- $conv398 = $238 << 16 >> 16;
- $239 = $psEnc;
- $arrayidx400 = ((($239)) + 12240|0);
- $inputBuf402 = ((($arrayidx400)) + 5128|0);
- $240 = $psEnc;
- $arrayidx404 = ((($240)) + 12240|0);
- $inputBufIx406 = ((($arrayidx404)) + 5772|0);
- $241 = HEAP32[$inputBufIx406>>2]|0;
- $242 = $n;
- $add407 = (($241) + ($242))|0;
- $add408 = (($add407) + 2)|0;
- $arrayidx409 = (($inputBuf402) + ($add408<<1)|0);
- $243 = HEAP16[$arrayidx409>>1]|0;
- $conv410 = $243 << 16 >> 16;
- $add411 = (($conv398) + ($conv410))|0;
- $shr412 = $add411 >> 1;
- $conv413 = $shr412&65535;
- $244 = $psEnc;
- $inputBuf417 = ((($244)) + 5128|0);
- $245 = $psEnc;
- $inputBufIx421 = ((($245)) + 5772|0);
- $246 = HEAP32[$inputBufIx421>>2]|0;
- $247 = $n;
- $add422 = (($246) + ($247))|0;
- $add423 = (($add422) + 2)|0;
- $arrayidx424 = (($inputBuf417) + ($add423<<1)|0);
- HEAP16[$arrayidx424>>1] = $conv413;
- $248 = $n;
- $inc426 = (($248) + 1)|0;
- $n = $inc426;
- }
- }
- }
- } while(0);
- $249 = $nSamplesToBuffer;
- $250 = $psEnc;
- $$sink$sink = $250;$$sink3$sink = $249;$$sink9 = 0;
- break;
- }
- }
- $251 = $samplesIn$addr;
- $252 = $nSamplesFromInput;
- $mul435 = $252<<1;
- _memcpy(($vla|0),($251|0),($mul435|0))|0;
- $253 = $psEnc;
- $resampler_state439 = ((($253)) + 5808|0);
- $254 = $psEnc;
- $inputBuf443 = ((($254)) + 5128|0);
- $255 = $psEnc;
- $inputBufIx447 = ((($255)) + 5772|0);
- $256 = HEAP32[$inputBufIx447>>2]|0;
- $add448 = (($256) + 2)|0;
- $arrayidx449 = (($inputBuf443) + ($add448<<1)|0);
- $257 = $nSamplesFromInput;
- $call450 = (_silk_resampler($resampler_state439,$arrayidx449,$vla,$257)|0);
- $258 = $ret;
- $add451 = (($258) + ($call450))|0;
- $ret = $add451;
- $259 = $nSamplesToBuffer;
- $260 = $psEnc;
- $$sink$sink = $260;$$sink3$sink = $259;$$sink9 = 0;
- }
- } while(0);
- $arrayidx453 = (($$sink$sink) + (($$sink9*12240)|0)|0);
- $inputBufIx455 = ((($arrayidx453)) + 5772|0);
- $261 = HEAP32[$inputBufIx455>>2]|0;
- $add456 = (($261) + ($$sink3$sink))|0;
- HEAP32[$inputBufIx455>>2] = $add456;
- $262 = $nSamplesFromInput;
- $263 = $encControl$addr;
- $264 = HEAP32[$263>>2]|0;
- $mul460 = Math_imul($262, $264)|0;
- $265 = $samplesIn$addr;
- $add$ptr = (($265) + ($mul460<<1)|0);
- $samplesIn$addr = $add$ptr;
- $266 = $nSamplesFromInput;
- $267 = $nSamplesIn$addr;
- $sub461 = (($267) - ($266))|0;
- $nSamplesIn$addr = $sub461;
- $268 = $psEnc;
- $allowBandwidthSwitch462 = ((($268)) + 24560|0);
- HEAP32[$allowBandwidthSwitch462>>2] = 0;
- $269 = $psEnc;
- $inputBufIx466 = ((($269)) + 5772|0);
- $270 = HEAP32[$inputBufIx466>>2]|0;
- $271 = $psEnc;
- $frame_length470 = ((($271)) + 4608|0);
- $272 = HEAP32[$frame_length470>>2]|0;
- $cmp471 = ($270|0)>=($272|0);
- if (!($cmp471)) {
- break;
- }
- $273 = $psEnc;
- $nFramesEncoded477 = ((($273)) + 5780|0);
- $274 = HEAP32[$nFramesEncoded477>>2]|0;
- $cmp478 = ($274|0)!=(0);
- $275 = $prefillFlag$addr;
- $tobool481 = ($275|0)!=(0);
- $or$cond6 = $cmp478 | $tobool481;
- if (!($or$cond6)) {
- ;HEAP8[$iCDF>>0]=0|0;HEAP8[$iCDF+1>>0]=0|0;
- $276 = $psEnc;
- $nFramesPerPacket486 = ((($276)) + 5776|0);
- $277 = HEAP32[$nFramesPerPacket486>>2]|0;
- $add487 = (($277) + 1)|0;
- $278 = $encControl$addr;
- $nChannelsInternal488 = ((($278)) + 4|0);
- $279 = HEAP32[$nChannelsInternal488>>2]|0;
- $mul489 = Math_imul($add487, $279)|0;
- $shr490 = 256 >> $mul489;
- $sub491 = (256 - ($shr490))|0;
- $conv492 = $sub491&255;
- HEAP8[$iCDF>>0] = $conv492;
- $280 = $psRangeEnc$addr;
- _ec_enc_icdf($280,0,$iCDF,8);
- $n = 0;
- while(1) {
- $281 = $n;
- $282 = $encControl$addr;
- $nChannelsInternal496 = ((($282)) + 4|0);
- $283 = HEAP32[$nChannelsInternal496>>2]|0;
- $cmp497 = ($281|0)<($283|0);
- if (!($cmp497)) {
- break;
- }
- $LBRR_symbol = 0;
- $i = 0;
- while(1) {
- $284 = $i;
- $285 = $psEnc;
- $286 = $n;
- $arrayidx502 = (($285) + (($286*12240)|0)|0);
- $nFramesPerPacket504 = ((($arrayidx502)) + 5776|0);
- $287 = HEAP32[$nFramesPerPacket504>>2]|0;
- $cmp505 = ($284|0)<($287|0);
- if (!($cmp505)) {
- break;
- }
- $288 = $psEnc;
- $289 = $n;
- $arrayidx509 = (($288) + (($289*12240)|0)|0);
- $LBRR_flags511 = ((($arrayidx509)) + 4756|0);
- $290 = $i;
- $arrayidx512 = (($LBRR_flags511) + ($290<<2)|0);
- $291 = HEAP32[$arrayidx512>>2]|0;
- $292 = $i;
- $shl = $291 << $292;
- $293 = $LBRR_symbol;
- $or = $293 | $shl;
- $LBRR_symbol = $or;
- $294 = $i;
- $inc514 = (($294) + 1)|0;
- $i = $inc514;
- }
- $295 = $LBRR_symbol;
- $cmp516 = ($295|0)>(0);
- $cond518 = $cmp516 ? 1 : 0;
- $conv519 = $cond518&255;
- $296 = $psEnc;
- $297 = $n;
- $arrayidx521 = (($296) + (($297*12240)|0)|0);
- $LBRR_flag = ((($arrayidx521)) + 4755|0);
- HEAP8[$LBRR_flag>>0] = $conv519;
- $298 = $LBRR_symbol;
- $tobool523 = ($298|0)!=(0);
- if ($tobool523) {
- $299 = $psEnc;
- $300 = $n;
- $arrayidx526 = (($299) + (($300*12240)|0)|0);
- $nFramesPerPacket528 = ((($arrayidx526)) + 5776|0);
- $301 = HEAP32[$nFramesPerPacket528>>2]|0;
- $cmp529 = ($301|0)>(1);
- if ($cmp529) {
- $302 = $psRangeEnc$addr;
- $303 = $LBRR_symbol;
- $sub532 = (($303) - 1)|0;
- $304 = $psEnc;
- $305 = $n;
- $arrayidx534 = (($304) + (($305*12240)|0)|0);
- $nFramesPerPacket536 = ((($arrayidx534)) + 5776|0);
- $306 = HEAP32[$nFramesPerPacket536>>2]|0;
- $sub537 = (($306) - 2)|0;
- $arrayidx538 = (16804 + ($sub537<<2)|0);
- $307 = HEAP32[$arrayidx538>>2]|0;
- _ec_enc_icdf($302,$sub532,$307,8);
- }
- }
- $308 = $n;
- $inc541 = (($308) + 1)|0;
- $n = $inc541;
- }
- $i = 0;
- while(1) {
- $309 = $i;
- $310 = $psEnc;
- $nFramesPerPacket547 = ((($310)) + 5776|0);
- $311 = HEAP32[$nFramesPerPacket547>>2]|0;
- $cmp548 = ($309|0)<($311|0);
- $n = 0;
- if (!($cmp548)) {
- break;
- }
- while(1) {
- $312 = $n;
- $313 = $encControl$addr;
- $nChannelsInternal552 = ((($313)) + 4|0);
- $314 = HEAP32[$nChannelsInternal552>>2]|0;
- $cmp553 = ($312|0)<($314|0);
- if (!($cmp553)) {
- break;
- }
- $315 = $psEnc;
- $316 = $n;
- $arrayidx557 = (($315) + (($316*12240)|0)|0);
- $LBRR_flags559 = ((($arrayidx557)) + 4756|0);
- $317 = $i;
- $arrayidx560 = (($LBRR_flags559) + ($317<<2)|0);
- $318 = HEAP32[$arrayidx560>>2]|0;
- $tobool561 = ($318|0)!=(0);
- if ($tobool561) {
- $319 = $encControl$addr;
- $nChannelsInternal563 = ((($319)) + 4|0);
- $320 = HEAP32[$nChannelsInternal563>>2]|0;
- $cmp564 = ($320|0)==(2);
- $321 = $n;
- $cmp567 = ($321|0)==(0);
- $or$cond7 = $cmp564 & $cmp567;
- if ($or$cond7) {
- $322 = $psRangeEnc$addr;
- $323 = $psEnc;
- $sStereo570 = ((($323)) + 24480|0);
- $predIx = ((($sStereo570)) + 34|0);
- $324 = $i;
- $arrayidx571 = (($predIx) + (($324*6)|0)|0);
- _silk_stereo_encode_pred($322,$arrayidx571);
- $325 = $psEnc;
- $arrayidx574 = ((($325)) + 12240|0);
- $LBRR_flags576 = ((($arrayidx574)) + 4756|0);
- $326 = $i;
- $arrayidx577 = (($LBRR_flags576) + ($326<<2)|0);
- $327 = HEAP32[$arrayidx577>>2]|0;
- $cmp578 = ($327|0)==(0);
- if ($cmp578) {
- $328 = $psRangeEnc$addr;
- $329 = $psEnc;
- $sStereo581 = ((($329)) + 24480|0);
- $mid_only_flags = ((($sStereo581)) + 52|0);
- $330 = $i;
- $arrayidx582 = (($mid_only_flags) + ($330)|0);
- $331 = HEAP8[$arrayidx582>>0]|0;
- _silk_stereo_encode_mid_only($328,$331);
- }
- }
- $332 = $i;
- $cmp585 = ($332|0)>(0);
- if ($cmp585) {
- $333 = $psEnc;
- $334 = $n;
- $arrayidx589 = (($333) + (($334*12240)|0)|0);
- $LBRR_flags591 = ((($arrayidx589)) + 4756|0);
- $335 = $i;
- $sub592 = (($335) - 1)|0;
- $arrayidx593 = (($LBRR_flags591) + ($sub592<<2)|0);
- $336 = HEAP32[$arrayidx593>>2]|0;
- $tobool594 = ($336|0)!=(0);
- if ($tobool594) {
- $condCoding = 2;
- } else {
- label = 82;
- }
- } else {
- label = 82;
- }
- if ((label|0) == 82) {
- label = 0;
- $condCoding = 0;
- }
- $337 = $psEnc;
- $338 = $n;
- $arrayidx599 = (($337) + (($338*12240)|0)|0);
- $339 = $psRangeEnc$addr;
- $340 = $i;
- $341 = $condCoding;
- _silk_encode_indices($arrayidx599,$339,$340,1,$341);
- $342 = $psRangeEnc$addr;
- $343 = $psEnc;
- $344 = $n;
- $arrayidx602 = (($343) + (($344*12240)|0)|0);
- $indices_LBRR = ((($arrayidx602)) + 6132|0);
- $345 = $i;
- $arrayidx604 = (($indices_LBRR) + (($345*36)|0)|0);
- $signalType = ((($arrayidx604)) + 29|0);
- $346 = HEAP8[$signalType>>0]|0;
- $conv605 = $346 << 24 >> 24;
- $347 = $psEnc;
- $348 = $n;
- $arrayidx607 = (($347) + (($348*12240)|0)|0);
- $indices_LBRR609 = ((($arrayidx607)) + 6132|0);
- $349 = $i;
- $arrayidx610 = (($indices_LBRR609) + (($349*36)|0)|0);
- $quantOffsetType = ((($arrayidx610)) + 30|0);
- $350 = HEAP8[$quantOffsetType>>0]|0;
- $conv611 = $350 << 24 >> 24;
- $351 = $psEnc;
- $352 = $n;
- $arrayidx613 = (($351) + (($352*12240)|0)|0);
- $pulses_LBRR = ((($arrayidx613)) + 6240|0);
- $353 = $i;
- $arrayidx615 = (($pulses_LBRR) + (($353*320)|0)|0);
- $354 = $psEnc;
- $355 = $n;
- $arrayidx618 = (($354) + (($355*12240)|0)|0);
- $frame_length620 = ((($arrayidx618)) + 4608|0);
- $356 = HEAP32[$frame_length620>>2]|0;
- _silk_encode_pulses($342,$conv605,$conv611,$arrayidx615,$356);
- }
- $357 = $n;
- $inc623 = (($357) + 1)|0;
- $n = $inc623;
- }
- $358 = $i;
- $inc626 = (($358) + 1)|0;
- $i = $inc626;
- }
- while(1) {
- $359 = $n;
- $360 = $encControl$addr;
- $nChannelsInternal629 = ((($360)) + 4|0);
- $361 = HEAP32[$nChannelsInternal629>>2]|0;
- $cmp630 = ($359|0)<($361|0);
- if (!($cmp630)) {
- break;
- }
- $362 = $psEnc;
- $363 = $n;
- $arrayidx634 = (($362) + (($363*12240)|0)|0);
- $LBRR_flags636 = ((($arrayidx634)) + 4756|0);
- ;HEAP32[$LBRR_flags636>>2]=0|0;HEAP32[$LBRR_flags636+4>>2]=0|0;HEAP32[$LBRR_flags636+8>>2]=0|0;
- $364 = $n;
- $inc639 = (($364) + 1)|0;
- $n = $inc639;
- }
- $365 = $psRangeEnc$addr;
- $call641 = (_ec_tell_154($365)|0);
- $366 = $psEnc;
- $nBitsUsedLBRR = ((($366)) + 24536|0);
- HEAP32[$nBitsUsedLBRR>>2] = $call641;
- }
- $367 = $psEnc;
- _silk_HP_variable_cutoff($367);
- $368 = $encControl$addr;
- $bitRate645 = ((($368)) + 28|0);
- $369 = HEAP32[$bitRate645>>2]|0;
- $370 = $encControl$addr;
- $payloadSize_ms646 = ((($370)) + 24|0);
- $371 = HEAP32[$payloadSize_ms646>>2]|0;
- $mul647 = Math_imul($369, $371)|0;
- $div648 = (($mul647|0) / 1000)&-1;
- $nBits = $div648;
- $372 = $prefillFlag$addr;
- $tobool649 = ($372|0)!=(0);
- if (!($tobool649)) {
- $373 = $psEnc;
- $nBitsUsedLBRR651 = ((($373)) + 24536|0);
- $374 = HEAP32[$nBitsUsedLBRR651>>2]|0;
- $375 = $nBits;
- $sub652 = (($375) - ($374))|0;
- $nBits = $sub652;
- }
- $376 = $nBits;
- $377 = $psEnc;
- $nFramesPerPacket657 = ((($377)) + 5776|0);
- $378 = HEAP32[$nFramesPerPacket657>>2]|0;
- $div658 = (($376|0) / ($378|0))&-1;
- $nBits = $div658;
- $379 = $encControl$addr;
- $payloadSize_ms659 = ((($379)) + 24|0);
- $380 = HEAP32[$payloadSize_ms659>>2]|0;
- $cmp660 = ($380|0)==(10);
- $381 = $nBits;
- $conv663 = $381&65535;
- $conv664 = $conv663 << 16 >> 16;
- if ($cmp660) {
- $mul665 = ($conv664*100)|0;
- $TargetRate_bps = $mul665;
- } else {
- $mul669 = ($conv664*50)|0;
- $TargetRate_bps = $mul669;
- }
- $382 = $psEnc;
- $nBitsExceeded = ((($382)) + 24540|0);
- $383 = HEAP32[$nBitsExceeded>>2]|0;
- $mul671 = ($383*1000)|0;
- $div672 = (($mul671|0) / 500)&-1;
- $384 = $TargetRate_bps;
- $sub673 = (($384) - ($div672))|0;
- $TargetRate_bps = $sub673;
- $385 = $prefillFlag$addr;
- $tobool674 = ($385|0)!=(0);
- if (!($tobool674)) {
- $386 = $psEnc;
- $nFramesEncoded679 = ((($386)) + 5780|0);
- $387 = HEAP32[$nFramesEncoded679>>2]|0;
- $cmp680 = ($387|0)>(0);
- if ($cmp680) {
- $388 = $psRangeEnc$addr;
- $call683 = (_ec_tell_154($388)|0);
- $389 = $psEnc;
- $nBitsUsedLBRR684 = ((($389)) + 24536|0);
- $390 = HEAP32[$nBitsUsedLBRR684>>2]|0;
- $sub685 = (($call683) - ($390))|0;
- $391 = $nBits;
- $392 = $psEnc;
- $nFramesEncoded689 = ((($392)) + 5780|0);
- $393 = HEAP32[$nFramesEncoded689>>2]|0;
- $mul690 = Math_imul($391, $393)|0;
- $sub691 = (($sub685) - ($mul690))|0;
- $bitsBalance = $sub691;
- $394 = $bitsBalance;
- $mul692 = ($394*1000)|0;
- $div693 = (($mul692|0) / 500)&-1;
- $395 = $TargetRate_bps;
- $sub694 = (($395) - ($div693))|0;
- $TargetRate_bps = $sub694;
- }
- }
- $396 = $encControl$addr;
- $bitRate696 = ((($396)) + 28|0);
- $397 = HEAP32[$bitRate696>>2]|0;
- $cmp697 = ($397|0)>(5000);
- $398 = $TargetRate_bps;
- do {
- if ($cmp697) {
- $399 = $encControl$addr;
- $bitRate700 = ((($399)) + 28|0);
- $400 = HEAP32[$bitRate700>>2]|0;
- $cmp701 = ($398|0)>($400|0);
- if ($cmp701) {
- $401 = $encControl$addr;
- $bitRate704 = ((($401)) + 28|0);
- $402 = HEAP32[$bitRate704>>2]|0;
- $cond730 = $402;
- break;
- } else {
- $403 = $TargetRate_bps;
- $cmp706 = ($403|0)<(5000);
- $404 = $TargetRate_bps;
- $cond711 = $cmp706 ? 5000 : $404;
- $cond730 = $cond711;
- break;
- }
- } else {
- $cmp715 = ($398|0)>(5000);
- if ($cmp715) {
- $cond730 = 5000;
- } else {
- $405 = $TargetRate_bps;
- $406 = $encControl$addr;
- $bitRate719 = ((($406)) + 28|0);
- $407 = HEAP32[$bitRate719>>2]|0;
- $cmp720 = ($405|0)<($407|0);
- if ($cmp720) {
- $408 = $encControl$addr;
- $bitRate723 = ((($408)) + 28|0);
- $409 = HEAP32[$bitRate723>>2]|0;
- $cond730 = $409;
- break;
- } else {
- $410 = $TargetRate_bps;
- $cond730 = $410;
- break;
- }
- }
- }
- } while(0);
- $TargetRate_bps = $cond730;
- $411 = $encControl$addr;
- $nChannelsInternal731 = ((($411)) + 4|0);
- $412 = HEAP32[$nChannelsInternal731>>2]|0;
- $cmp732 = ($412|0)==(2);
- $413 = $psEnc;
- if ($cmp732) {
- $sStereo735 = ((($413)) + 24480|0);
- $414 = $psEnc;
- $inputBuf739 = ((($414)) + 5128|0);
- $arrayidx740 = ((($inputBuf739)) + 4|0);
- $415 = $psEnc;
- $arrayidx742 = ((($415)) + 12240|0);
- $inputBuf744 = ((($arrayidx742)) + 5128|0);
- $arrayidx745 = ((($inputBuf744)) + 4|0);
- $416 = $psEnc;
- $sStereo746 = ((($416)) + 24480|0);
- $predIx747 = ((($sStereo746)) + 34|0);
- $417 = $psEnc;
- $nFramesEncoded751 = ((($417)) + 5780|0);
- $418 = HEAP32[$nFramesEncoded751>>2]|0;
- $arrayidx752 = (($predIx747) + (($418*6)|0)|0);
- $419 = $psEnc;
- $sStereo754 = ((($419)) + 24480|0);
- $mid_only_flags755 = ((($sStereo754)) + 52|0);
- $420 = $psEnc;
- $nFramesEncoded759 = ((($420)) + 5780|0);
- $421 = HEAP32[$nFramesEncoded759>>2]|0;
- $arrayidx760 = (($mid_only_flags755) + ($421)|0);
- $422 = $TargetRate_bps;
- $423 = $psEnc;
- $speech_activity_Q8 = ((($423)) + 4556|0);
- $424 = HEAP32[$speech_activity_Q8>>2]|0;
- $425 = $encControl$addr;
- $toMono = ((($425)) + 56|0);
- $426 = HEAP32[$toMono>>2]|0;
- $427 = $psEnc;
- $fs_kHz768 = ((($427)) + 4600|0);
- $428 = HEAP32[$fs_kHz768>>2]|0;
- $429 = $psEnc;
- $frame_length772 = ((($429)) + 4608|0);
- $430 = HEAP32[$frame_length772>>2]|0;
- _silk_stereo_LR_to_MS($sStereo735,$arrayidx740,$arrayidx745,$arrayidx752,$arrayidx760,$MStargetRates_bps,$422,$424,$426,$428,$430);
- $431 = $psEnc;
- $sStereo773 = ((($431)) + 24480|0);
- $mid_only_flags774 = ((($sStereo773)) + 52|0);
- $432 = $psEnc;
- $nFramesEncoded778 = ((($432)) + 5780|0);
- $433 = HEAP32[$nFramesEncoded778>>2]|0;
- $arrayidx779 = (($mid_only_flags774) + ($433)|0);
- $434 = HEAP8[$arrayidx779>>0]|0;
- $conv780 = $434 << 24 >> 24;
- $cmp781 = ($conv780|0)==(0);
- $435 = $psEnc;
- if ($cmp781) {
- $prev_decode_only_middle = ((($435)) + 24564|0);
- $436 = HEAP32[$prev_decode_only_middle>>2]|0;
- $cmp784 = ($436|0)==(1);
- if ($cmp784) {
- $437 = $psEnc;
- $arrayidx788 = ((($437)) + 12240|0);
- $sShape = ((($arrayidx788)) + 7200|0);
- ;HEAP32[$sShape>>2]=0|0;HEAP32[$sShape+4>>2]=0|0;HEAP32[$sShape+8>>2]=0|0;HEAP32[$sShape+12>>2]=0|0;
- $438 = $psEnc;
- $arrayidx790 = ((($438)) + 12240|0);
- $sPrefilt = ((($arrayidx790)) + 7216|0);
- _memset(($sPrefilt|0),0,2140)|0;
- $439 = $psEnc;
- $arrayidx792 = ((($439)) + 12240|0);
- $sNSQ = ((($arrayidx792)) + 144|0);
- _memset(($sNSQ|0),0,4380)|0;
- $440 = $psEnc;
- $arrayidx795 = ((($440)) + 12240|0);
- $prev_NLSFq_Q15 = ((($arrayidx795)) + 4524|0);
- ;HEAP32[$prev_NLSFq_Q15>>2]=0|0;HEAP32[$prev_NLSFq_Q15+4>>2]=0|0;HEAP32[$prev_NLSFq_Q15+8>>2]=0|0;HEAP32[$prev_NLSFq_Q15+12>>2]=0|0;HEAP32[$prev_NLSFq_Q15+16>>2]=0|0;HEAP32[$prev_NLSFq_Q15+20>>2]=0|0;HEAP32[$prev_NLSFq_Q15+24>>2]=0|0;HEAP32[$prev_NLSFq_Q15+28>>2]=0|0;
- $441 = $psEnc;
- $arrayidx799 = ((($441)) + 12240|0);
- $sLP = ((($arrayidx799)) + 16|0);
- ;HEAP32[$sLP>>2]=0|0;HEAP32[$sLP+4>>2]=0|0;
- $442 = $psEnc;
- $arrayidx802 = ((($442)) + 12240|0);
- $prevLag = ((($arrayidx802)) + 4568|0);
- HEAP32[$prevLag>>2] = 100;
- $443 = $psEnc;
- $arrayidx805 = ((($443)) + 12240|0);
- $sNSQ807 = ((($arrayidx805)) + 144|0);
- $lagPrev = ((($sNSQ807)) + 4356|0);
- HEAP32[$lagPrev>>2] = 100;
- $444 = $psEnc;
- $arrayidx809 = ((($444)) + 12240|0);
- $sShape810 = ((($arrayidx809)) + 7200|0);
- HEAP8[$sShape810>>0] = 10;
- $445 = $psEnc;
- $arrayidx812 = ((($445)) + 12240|0);
- $prevSignalType = ((($arrayidx812)) + 4565|0);
- HEAP8[$prevSignalType>>0] = 0;
- $446 = $psEnc;
- $arrayidx815 = ((($446)) + 12240|0);
- $sNSQ817 = ((($arrayidx815)) + 144|0);
- $prev_gain_Q16 = ((($sNSQ817)) + 4372|0);
- HEAP32[$prev_gain_Q16>>2] = 65536;
- $447 = $psEnc;
- $arrayidx819 = ((($447)) + 12240|0);
- $first_frame_after_reset821 = ((($arrayidx819)) + 4696|0);
- HEAP32[$first_frame_after_reset821>>2] = 1;
- }
- $448 = $psEnc;
- $arrayidx824 = ((($448)) + 12240|0);
- _silk_encode_do_VAD_FLP($arrayidx824);
- } else {
- $arrayidx827 = ((($435)) + 12240|0);
- $VAD_flags = ((($arrayidx827)) + 4752|0);
- $449 = $psEnc;
- $nFramesEncoded832 = ((($449)) + 5780|0);
- $450 = HEAP32[$nFramesEncoded832>>2]|0;
- $arrayidx833 = (($VAD_flags) + ($450)|0);
- HEAP8[$arrayidx833>>0] = 0;
- }
- $451 = $prefillFlag$addr;
- $tobool835 = ($451|0)!=(0);
- if (!($tobool835)) {
- $452 = $psRangeEnc$addr;
- $453 = $psEnc;
- $sStereo837 = ((($453)) + 24480|0);
- $predIx838 = ((($sStereo837)) + 34|0);
- $454 = $psEnc;
- $nFramesEncoded842 = ((($454)) + 5780|0);
- $455 = HEAP32[$nFramesEncoded842>>2]|0;
- $arrayidx843 = (($predIx838) + (($455*6)|0)|0);
- _silk_stereo_encode_pred($452,$arrayidx843);
- $456 = $psEnc;
- $arrayidx846 = ((($456)) + 12240|0);
- $VAD_flags848 = ((($arrayidx846)) + 4752|0);
- $457 = $psEnc;
- $nFramesEncoded852 = ((($457)) + 5780|0);
- $458 = HEAP32[$nFramesEncoded852>>2]|0;
- $arrayidx853 = (($VAD_flags848) + ($458)|0);
- $459 = HEAP8[$arrayidx853>>0]|0;
- $conv854 = $459 << 24 >> 24;
- $cmp855 = ($conv854|0)==(0);
- if ($cmp855) {
- $460 = $psRangeEnc$addr;
- $461 = $psEnc;
- $sStereo858 = ((($461)) + 24480|0);
- $mid_only_flags859 = ((($sStereo858)) + 52|0);
- $462 = $psEnc;
- $nFramesEncoded863 = ((($462)) + 5780|0);
- $463 = HEAP32[$nFramesEncoded863>>2]|0;
- $arrayidx864 = (($mid_only_flags859) + ($463)|0);
- $464 = HEAP8[$arrayidx864>>0]|0;
- _silk_stereo_encode_mid_only($460,$464);
- }
- }
- } else {
- $inputBuf871 = ((($413)) + 5128|0);
- $465 = $psEnc;
- $sStereo873 = ((($465)) + 24480|0);
- $sMid = ((($sStereo873)) + 4|0);
- ;HEAP32[$inputBuf871>>2]=HEAP32[$sMid>>2]|0;
- $466 = $psEnc;
- $sStereo875 = ((($466)) + 24480|0);
- $sMid876 = ((($sStereo875)) + 4|0);
- $467 = $psEnc;
- $inputBuf881 = ((($467)) + 5128|0);
- $468 = $psEnc;
- $frame_length885 = ((($468)) + 4608|0);
- $469 = HEAP32[$frame_length885>>2]|0;
- $arrayidx886 = (($inputBuf881) + ($469<<1)|0);
- ;HEAP16[$sMid876>>1]=HEAP16[$arrayidx886>>1]|0;HEAP16[$sMid876+2>>1]=HEAP16[$arrayidx886+2>>1]|0;
- }
- $470 = $psEnc;
- _silk_encode_do_VAD_FLP($470);
- $n = 0;
- while(1) {
- $471 = $n;
- $472 = $encControl$addr;
- $nChannelsInternal891 = ((($472)) + 4|0);
- $473 = HEAP32[$nChannelsInternal891>>2]|0;
- $cmp892 = ($471|0)<($473|0);
- if (!($cmp892)) {
- break;
- }
- $474 = $encControl$addr;
- $maxBits895 = ((($474)) + 52|0);
- $475 = HEAP32[$maxBits895>>2]|0;
- $maxBits = $475;
- $476 = $tot_blocks;
- $cmp896 = ($476|0)==(2);
- $477 = $curr_block;
- $cmp899 = ($477|0)==(0);
- $or$cond8 = $cmp896 & $cmp899;
- do {
- if ($or$cond8) {
- $478 = $maxBits;
- $mul902 = ($478*3)|0;
- $div903 = (($mul902|0) / 5)&-1;
- $maxBits = $div903;
- } else {
- $479 = $tot_blocks;
- $cmp905 = ($479|0)==(3);
- if ($cmp905) {
- $480 = $curr_block;
- $cmp908 = ($480|0)==(0);
- if ($cmp908) {
- $481 = $maxBits;
- $mul911 = $481<<1;
- $div912 = (($mul911|0) / 5)&-1;
- $maxBits = $div912;
- break;
- }
- $482 = $curr_block;
- $cmp914 = ($482|0)==(1);
- if (!($cmp914)) {
- break;
- }
- $483 = $maxBits;
- $mul917 = ($483*3)|0;
- $div918 = (($mul917|0) / 4)&-1;
- $maxBits = $div918;
- }
- }
- } while(0);
- $484 = $encControl$addr;
- $useCBR923 = ((($484)) + 48|0);
- $485 = HEAP32[$useCBR923>>2]|0;
- $tobool924 = ($485|0)!=(0);
- if ($tobool924) {
- $486 = $curr_block;
- $487 = $tot_blocks;
- $sub925 = (($487) - 1)|0;
- $cmp926 = ($486|0)==($sub925|0);
- $488 = $cmp926;
- } else {
- $488 = 0;
- }
- $land$ext = $488&1;
- $useCBR = $land$ext;
- $489 = $encControl$addr;
- $nChannelsInternal928 = ((($489)) + 4|0);
- $490 = HEAP32[$nChannelsInternal928>>2]|0;
- $cmp929 = ($490|0)==(1);
- do {
- if ($cmp929) {
- $491 = $TargetRate_bps;
- $channelRate_bps = $491;
- } else {
- $492 = $n;
- $arrayidx933 = (($MStargetRates_bps) + ($492<<2)|0);
- $493 = HEAP32[$arrayidx933>>2]|0;
- $channelRate_bps = $493;
- $494 = $n;
- $cmp934 = ($494|0)==(0);
- if (!($cmp934)) {
- break;
- }
- $arrayidx937 = ((($MStargetRates_bps)) + 4|0);
- $495 = HEAP32[$arrayidx937>>2]|0;
- $cmp938 = ($495|0)>(0);
- if (!($cmp938)) {
- break;
- }
- $useCBR = 0;
- $496 = $encControl$addr;
- $maxBits941 = ((($496)) + 52|0);
- $497 = HEAP32[$maxBits941>>2]|0;
- $498 = $tot_blocks;
- $mul942 = $498<<1;
- $div943 = (($497|0) / ($mul942|0))&-1;
- $499 = $maxBits;
- $sub944 = (($499) - ($div943))|0;
- $maxBits = $sub944;
- }
- } while(0);
- $500 = $channelRate_bps;
- $cmp947 = ($500|0)>(0);
- if ($cmp947) {
- $501 = $psEnc;
- $502 = $n;
- $arrayidx952 = (($501) + (($502*12240)|0)|0);
- $503 = $channelRate_bps;
- (_silk_control_SNR($arrayidx952,$503)|0);
- $504 = $psEnc;
- $nFramesEncoded958 = ((($504)) + 5780|0);
- $505 = HEAP32[$nFramesEncoded958>>2]|0;
- $506 = $n;
- $sub959 = (($505) - ($506))|0;
- $cmp960 = ($sub959|0)<=(0);
- L188: do {
- if ($cmp960) {
- $condCoding950 = 0;
- } else {
- $507 = $n;
- $cmp964 = ($507|0)>(0);
- do {
- if ($cmp964) {
- $508 = $psEnc;
- $prev_decode_only_middle967 = ((($508)) + 24564|0);
- $509 = HEAP32[$prev_decode_only_middle967>>2]|0;
- $tobool968 = ($509|0)!=(0);
- if (!($tobool968)) {
- break;
- }
- $condCoding950 = 1;
- break L188;
- }
- } while(0);
- $condCoding950 = 2;
- }
- } while(0);
- $510 = $psEnc;
- $511 = $n;
- $arrayidx974 = (($510) + (($511*12240)|0)|0);
- $512 = $nBytesOut$addr;
- $513 = $psRangeEnc$addr;
- $514 = $condCoding950;
- $515 = $maxBits;
- $516 = $useCBR;
- $call975 = (_silk_encode_frame_FLP($arrayidx974,$512,$513,$514,$515,$516)|0);
- $ret = $call975;
- }
- $517 = $psEnc;
- $518 = $n;
- $arrayidx982 = (($517) + (($518*12240)|0)|0);
- $controlled_since_last_payload984 = ((($arrayidx982)) + 4700|0);
- HEAP32[$controlled_since_last_payload984>>2] = 0;
- $519 = $psEnc;
- $520 = $n;
- $arrayidx986 = (($519) + (($520*12240)|0)|0);
- $inputBufIx988 = ((($arrayidx986)) + 5772|0);
- HEAP32[$inputBufIx988>>2] = 0;
- $521 = $psEnc;
- $522 = $n;
- $arrayidx990 = (($521) + (($522*12240)|0)|0);
- $nFramesEncoded992 = ((($arrayidx990)) + 5780|0);
- $523 = HEAP32[$nFramesEncoded992>>2]|0;
- $inc993 = (($523) + 1)|0;
- HEAP32[$nFramesEncoded992>>2] = $inc993;
- $524 = $n;
- $inc995 = (($524) + 1)|0;
- $n = $inc995;
- }
- $525 = $psEnc;
- $sStereo997 = ((($525)) + 24480|0);
- $mid_only_flags998 = ((($sStereo997)) + 52|0);
- $526 = $psEnc;
- $nFramesEncoded1002 = ((($526)) + 5780|0);
- $527 = HEAP32[$nFramesEncoded1002>>2]|0;
- $sub1003 = (($527) - 1)|0;
- $arrayidx1004 = (($mid_only_flags998) + ($sub1003)|0);
- $528 = HEAP8[$arrayidx1004>>0]|0;
- $conv1005 = $528 << 24 >> 24;
- $529 = $psEnc;
- $prev_decode_only_middle1006 = ((($529)) + 24564|0);
- HEAP32[$prev_decode_only_middle1006>>2] = $conv1005;
- $530 = $nBytesOut$addr;
- $531 = HEAP32[$530>>2]|0;
- $cmp1007 = ($531|0)>(0);
- do {
- if ($cmp1007) {
- $532 = $psEnc;
- $nFramesEncoded1013 = ((($532)) + 5780|0);
- $533 = HEAP32[$nFramesEncoded1013>>2]|0;
- $534 = $psEnc;
- $nFramesPerPacket1017 = ((($534)) + 5776|0);
- $535 = HEAP32[$nFramesPerPacket1017>>2]|0;
- $cmp1018 = ($533|0)==($535|0);
- if ($cmp1018) {
- $flags = 0;
- $n = 0;
- while(1) {
- $536 = $n;
- $537 = $encControl$addr;
- $nChannelsInternal1022 = ((($537)) + 4|0);
- $538 = HEAP32[$nChannelsInternal1022>>2]|0;
- $cmp1023 = ($536|0)<($538|0);
- if (!($cmp1023)) {
- break;
- }
- $i = 0;
- while(1) {
- $539 = $i;
- $540 = $psEnc;
- $541 = $n;
- $arrayidx1028 = (($540) + (($541*12240)|0)|0);
- $nFramesPerPacket1030 = ((($arrayidx1028)) + 5776|0);
- $542 = HEAP32[$nFramesPerPacket1030>>2]|0;
- $cmp1031 = ($539|0)<($542|0);
- $543 = $flags;
- $shl1034 = $543 << 1;
- $flags = $shl1034;
- $544 = $psEnc;
- $545 = $n;
- $arrayidx1036 = (($544) + (($545*12240)|0)|0);
- if (!($cmp1031)) {
- break;
- }
- $VAD_flags1038 = ((($arrayidx1036)) + 4752|0);
- $546 = $i;
- $arrayidx1039 = (($VAD_flags1038) + ($546)|0);
- $547 = HEAP8[$arrayidx1039>>0]|0;
- $conv1040 = $547 << 24 >> 24;
- $548 = $flags;
- $or1041 = $548 | $conv1040;
- $flags = $or1041;
- $549 = $i;
- $inc1043 = (($549) + 1)|0;
- $i = $inc1043;
- }
- $LBRR_flag1049 = ((($arrayidx1036)) + 4755|0);
- $550 = HEAP8[$LBRR_flag1049>>0]|0;
- $conv1050 = $550 << 24 >> 24;
- $551 = $flags;
- $or1051 = $551 | $conv1050;
- $flags = $or1051;
- $552 = $n;
- $inc1053 = (($552) + 1)|0;
- $n = $inc1053;
- }
- $553 = $prefillFlag$addr;
- $tobool1055 = ($553|0)!=(0);
- if (!($tobool1055)) {
- $554 = $psRangeEnc$addr;
- $555 = $flags;
- $556 = $psEnc;
- $nFramesPerPacket1060 = ((($556)) + 5776|0);
- $557 = HEAP32[$nFramesPerPacket1060>>2]|0;
- $add1061 = (($557) + 1)|0;
- $558 = $encControl$addr;
- $nChannelsInternal1062 = ((($558)) + 4|0);
- $559 = HEAP32[$nChannelsInternal1062>>2]|0;
- $mul1063 = Math_imul($add1061, $559)|0;
- _ec_enc_patch_initial_bits($554,$555,$mul1063);
- }
- $560 = $psEnc;
- $inDTX1068 = ((($560)) + 6112|0);
- $561 = HEAP32[$inDTX1068>>2]|0;
- $tobool1069 = ($561|0)!=(0);
- do {
- if ($tobool1069) {
- $562 = $encControl$addr;
- $nChannelsInternal1071 = ((($562)) + 4|0);
- $563 = HEAP32[$nChannelsInternal1071>>2]|0;
- $cmp1072 = ($563|0)==(1);
- if (!($cmp1072)) {
- $564 = $psEnc;
- $arrayidx1076 = ((($564)) + 12240|0);
- $inDTX1078 = ((($arrayidx1076)) + 6112|0);
- $565 = HEAP32[$inDTX1078>>2]|0;
- $tobool1079 = ($565|0)!=(0);
- if (!($tobool1079)) {
- break;
- }
- }
- $566 = $nBytesOut$addr;
- HEAP32[$566>>2] = 0;
- }
- } while(0);
- $567 = $nBytesOut$addr;
- $568 = HEAP32[$567>>2]|0;
- $mul1082 = $568<<3;
- $569 = $psEnc;
- $nBitsExceeded1083 = ((($569)) + 24540|0);
- $570 = HEAP32[$nBitsExceeded1083>>2]|0;
- $add1084 = (($570) + ($mul1082))|0;
- HEAP32[$nBitsExceeded1083>>2] = $add1084;
- $571 = $encControl$addr;
- $bitRate1085 = ((($571)) + 28|0);
- $572 = HEAP32[$bitRate1085>>2]|0;
- $573 = $encControl$addr;
- $payloadSize_ms1086 = ((($573)) + 24|0);
- $574 = HEAP32[$payloadSize_ms1086>>2]|0;
- $mul1087 = Math_imul($572, $574)|0;
- $div1088 = (($mul1087|0) / 1000)&-1;
- $575 = $psEnc;
- $nBitsExceeded1089 = ((($575)) + 24540|0);
- $576 = HEAP32[$nBitsExceeded1089>>2]|0;
- $sub1090 = (($576) - ($div1088))|0;
- HEAP32[$nBitsExceeded1089>>2] = $sub1090;
- $577 = $psEnc;
- $nBitsExceeded1091 = ((($577)) + 24540|0);
- $578 = HEAP32[$nBitsExceeded1091>>2]|0;
- $cmp1092 = ($578|0)>(10000);
- do {
- if ($cmp1092) {
- $cond1105 = 10000;
- } else {
- $579 = $psEnc;
- $nBitsExceeded1096 = ((($579)) + 24540|0);
- $580 = HEAP32[$nBitsExceeded1096>>2]|0;
- $cmp1097 = ($580|0)<(0);
- if ($cmp1097) {
- $cond1105 = 0;
- break;
- }
- $581 = $psEnc;
- $nBitsExceeded1101 = ((($581)) + 24540|0);
- $582 = HEAP32[$nBitsExceeded1101>>2]|0;
- $cond1105 = $582;
- }
- } while(0);
- $583 = $psEnc;
- $nBitsExceeded1106 = ((($583)) + 24540|0);
- HEAP32[$nBitsExceeded1106>>2] = $cond1105;
- $584 = $psEnc;
- $timeSinceSwitchAllowed_ms = ((($584)) + 24556|0);
- $585 = HEAP32[$timeSinceSwitchAllowed_ms>>2]|0;
- $conv1107 = $585&65535;
- $conv1108 = $conv1107 << 16 >> 16;
- $mul1109 = 0;
- $586 = $psEnc;
- $timeSinceSwitchAllowed_ms1110 = ((($586)) + 24556|0);
- $587 = HEAP32[$timeSinceSwitchAllowed_ms1110>>2]|0;
- $conv1111 = $587&65535;
- $conv1112 = $conv1111 << 16 >> 16;
- $mul1113 = ($conv1112*3188)|0;
- $shr1114 = $mul1113 >> 16;
- $add1115 = (($mul1109) + ($shr1114))|0;
- $add1116 = (13 + ($add1115))|0;
- $speech_act_thr_for_switch_Q8 = $add1116;
- $588 = $psEnc;
- $speech_activity_Q81120 = ((($588)) + 4556|0);
- $589 = HEAP32[$speech_activity_Q81120>>2]|0;
- $590 = $speech_act_thr_for_switch_Q8;
- $cmp1121 = ($589|0)<($590|0);
- $591 = $psEnc;
- $allowBandwidthSwitch1124 = ((($591)) + 24560|0);
- if ($cmp1121) {
- HEAP32[$allowBandwidthSwitch1124>>2] = 1;
- $592 = $psEnc;
- $timeSinceSwitchAllowed_ms1125 = ((($592)) + 24556|0);
- HEAP32[$timeSinceSwitchAllowed_ms1125>>2] = 0;
- break;
- } else {
- HEAP32[$allowBandwidthSwitch1124>>2] = 0;
- $593 = $encControl$addr;
- $payloadSize_ms1128 = ((($593)) + 24|0);
- $594 = HEAP32[$payloadSize_ms1128>>2]|0;
- $595 = $psEnc;
- $timeSinceSwitchAllowed_ms1129 = ((($595)) + 24556|0);
- $596 = HEAP32[$timeSinceSwitchAllowed_ms1129>>2]|0;
- $add1130 = (($596) + ($594))|0;
- HEAP32[$timeSinceSwitchAllowed_ms1129>>2] = $add1130;
- break;
- }
- }
- }
- } while(0);
- $597 = $nSamplesIn$addr;
- $cmp1133 = ($597|0)==(0);
- if ($cmp1133) {
- break;
- }
- $598 = $curr_block;
- $inc1139 = (($598) + 1)|0;
- $curr_block = $inc1139;
- }
- $599 = $encControl$addr;
- $nChannelsInternal1140 = ((($599)) + 4|0);
- $600 = HEAP32[$nChannelsInternal1140>>2]|0;
- $601 = $psEnc;
- $nPrevChannelsInternal1141 = ((($601)) + 24552|0);
- HEAP32[$nPrevChannelsInternal1141>>2] = $600;
- $602 = $psEnc;
- $allowBandwidthSwitch1142 = ((($602)) + 24560|0);
- $603 = HEAP32[$allowBandwidthSwitch1142>>2]|0;
- $604 = $encControl$addr;
- $allowBandwidthSwitch1143 = ((($604)) + 72|0);
- HEAP32[$allowBandwidthSwitch1143>>2] = $603;
- $605 = $psEnc;
- $fs_kHz1147 = ((($605)) + 4600|0);
- $606 = HEAP32[$fs_kHz1147>>2]|0;
- $cmp1148 = ($606|0)==(16);
- if ($cmp1148) {
- $607 = $psEnc;
- $sLP1154 = ((($607)) + 16|0);
- $mode = ((($sLP1154)) + 12|0);
- $608 = HEAP32[$mode>>2]|0;
- $cmp1155 = ($608|0)==(0);
- $609 = $cmp1155;
- } else {
- $609 = 0;
- }
- $land$ext1158 = $609&1;
- $610 = $encControl$addr;
- $inWBmodeWithoutVariableLP = ((($610)) + 76|0);
- HEAP32[$inWBmodeWithoutVariableLP>>2] = $land$ext1158;
- $611 = $psEnc;
- $fs_kHz1162 = ((($611)) + 4600|0);
- $612 = HEAP32[$fs_kHz1162>>2]|0;
- $conv1163 = $612&65535;
- $conv1164 = $conv1163 << 16 >> 16;
- $mul1165 = ($conv1164*1000)|0;
- $613 = $encControl$addr;
- $internalSampleRate = ((($613)) + 68|0);
- HEAP32[$internalSampleRate>>2] = $mul1165;
- $614 = $encControl$addr;
- $toMono1166 = ((($614)) + 56|0);
- $615 = HEAP32[$toMono1166>>2]|0;
- $tobool1167 = ($615|0)!=(0);
- if ($tobool1167) {
- $cond1174 = 0;
- } else {
- $616 = $psEnc;
- $sStereo1170 = ((($616)) + 24480|0);
- $smth_width_Q141171 = ((($sStereo1170)) + 28|0);
- $617 = HEAP16[$smth_width_Q141171>>1]|0;
- $conv1172 = $617 << 16 >> 16;
- $cond1174 = $conv1172;
- }
- $618 = $encControl$addr;
- $stereoWidth_Q14 = ((($618)) + 80|0);
- HEAP32[$stereoWidth_Q14>>2] = $cond1174;
- $619 = $prefillFlag$addr;
- $tobool1175 = ($619|0)!=(0);
- L234: do {
- if ($tobool1175) {
- $620 = $tmp_payloadSize_ms;
- $621 = $encControl$addr;
- $payloadSize_ms1177 = ((($621)) + 24|0);
- HEAP32[$payloadSize_ms1177>>2] = $620;
- $622 = $tmp_complexity;
- $623 = $encControl$addr;
- $complexity1178 = ((($623)) + 36|0);
- HEAP32[$complexity1178>>2] = $622;
- $n = 0;
- while(1) {
- $624 = $n;
- $625 = $encControl$addr;
- $nChannelsInternal1180 = ((($625)) + 4|0);
- $626 = HEAP32[$nChannelsInternal1180>>2]|0;
- $cmp1181 = ($624|0)<($626|0);
- if (!($cmp1181)) {
- break L234;
- }
- $627 = $psEnc;
- $628 = $n;
- $arrayidx1185 = (($627) + (($628*12240)|0)|0);
- $controlled_since_last_payload1187 = ((($arrayidx1185)) + 4700|0);
- HEAP32[$controlled_since_last_payload1187>>2] = 0;
- $629 = $psEnc;
- $630 = $n;
- $arrayidx1189 = (($629) + (($630*12240)|0)|0);
- $prefillFlag1191 = ((($arrayidx1189)) + 4712|0);
- HEAP32[$prefillFlag1191>>2] = 0;
- $631 = $n;
- $inc1193 = (($631) + 1)|0;
- $n = $inc1193;
- }
- }
- } while(0);
- $632 = $ret;
- $retval = $632;
- $633 = $saved_stack;
- _llvm_stackrestore(($633|0));
- $634 = $retval;
- STACKTOP = sp;return ($634|0);
-}
-function _ec_tell_154($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $_this$addr = 0, $nbits_total = 0, $rng = 0, $sub = 0, $sub1 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $nbits_total = ((($0)) + 20|0);
- $1 = HEAP32[$nbits_total>>2]|0;
- $2 = $_this$addr;
- $rng = ((($2)) + 28|0);
- $3 = HEAP32[$rng>>2]|0;
- $4 = (Math_clz32(($3|0))|0);
- $sub = (32 - ($4))|0;
- $sub1 = (($1) - ($sub))|0;
- STACKTOP = sp;return ($sub1|0);
-}
-function _silk_encode_indices($psEncC,$psRangeEnc,$FrameIndex,$encode_LBRR,$condCoding) {
- $psEncC = $psEncC|0;
- $psRangeEnc = $psRangeEnc|0;
- $FrameIndex = $FrameIndex|0;
- $encode_LBRR = $encode_LBRR|0;
- $condCoding = $condCoding|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0;
- var $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0;
- var $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
- var $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0;
- var $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0;
- var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $CB1_iCDF = 0, $FrameIndex$addr = 0, $LTPIndex = 0, $LTP_scaleIndex = 0, $NLSFIndices = 0, $NLSFIndices39 = 0, $NLSFIndices48 = 0, $NLSFIndices59 = 0, $NLSFIndices65 = 0, $NLSFIndices77 = 0, $NLSFIndices84 = 0, $NLSFInterpCoef_Q2 = 0, $PERIndex = 0;
- var $PERIndex155 = 0, $Seed = 0, $add = 0, $add125 = 0, $add49 = 0, $add60 = 0, $add66 = 0, $add78 = 0, $add85 = 0, $add88 = 0, $and = 0, $arrayidx = 0, $arrayidx153 = 0, $arrayidx157 = 0, $arrayidx17 = 0, $arrayidx25 = 0, $arrayidx35 = 0, $arrayidx50 = 0, $arrayidx56 = 0, $arrayidx58 = 0;
- var $arrayidx61 = 0, $arrayidx67 = 0, $arrayidx74 = 0, $arrayidx76 = 0, $arrayidx79 = 0, $arrayidx86 = 0, $arrayidx91 = 0, $arrayidx93 = 0, $cmp = 0, $cmp100 = 0, $cmp107 = 0, $cmp110 = 0, $cmp112 = 0, $cmp118 = 0, $cmp121 = 0, $cmp150 = 0, $cmp161 = 0, $cmp22 = 0, $cmp45 = 0, $cmp52 = 0;
- var $cmp69 = 0, $cmp7 = 0, $condCoding$addr = 0, $contourIndex = 0, $conv = 0, $conv1 = 0, $conv103 = 0, $conv106 = 0, $conv11 = 0, $conv115 = 0, $conv116 = 0, $conv131 = 0, $conv134 = 0, $conv135 = 0, $conv136 = 0, $conv139 = 0, $conv140 = 0, $conv146 = 0, $conv147 = 0, $conv154 = 0;
- var $conv164 = 0, $conv168 = 0, $conv170 = 0, $conv20 = 0, $conv26 = 0, $conv28 = 0, $conv30 = 0, $conv33 = 0, $conv41 = 0, $conv44 = 0, $conv51 = 0, $conv62 = 0, $conv68 = 0, $conv80 = 0, $conv87 = 0, $delta_lagIndex = 0, $div = 0, $ec_iCDF = 0, $ec_iCDF73 = 0, $ec_iCDF90 = 0;
- var $ec_ix = 0, $ec_prevLagIndex = 0, $ec_prevLagIndex145 = 0, $ec_prevSignalType = 0, $ec_prevSignalType169 = 0, $encode_LBRR$addr = 0, $encode_absolute_lagIndex = 0, $fs_kHz = 0, $fs_kHz137 = 0, $i = 0, $idxprom = 0, $idxprom156 = 0, $idxprom57 = 0, $idxprom75 = 0, $idxprom92 = 0, $inc = 0, $inc159 = 0, $inc97 = 0, $indices = 0, $indices_LBRR = 0;
- var $k = 0, $lagIndex = 0, $lagIndex130 = 0, $lagIndex133 = 0, $lagIndex144 = 0, $mul = 0, $mul141 = 0, $mul34 = 0, $nb_subfr = 0, $nb_subfr149 = 0, $nb_subfr99 = 0, $or$cond = 0, $or$cond1 = 0, $order = 0, $pitch_contour_iCDF = 0, $pitch_high_bits = 0, $pitch_lag_low_bits_iCDF = 0, $pitch_low_bits = 0, $pred_Q8 = 0, $psEncC$addr = 0;
- var $psIndices = 0, $psNLSF_CB = 0, $psNLSF_CB32 = 0, $psNLSF_CB38 = 0, $psNLSF_CB43 = 0, $psNLSF_CB55 = 0, $psNLSF_CB72 = 0, $psNLSF_CB89 = 0, $psRangeEnc$addr = 0, $quantOffsetType = 0, $shr = 0, $shr132 = 0, $shr138 = 0, $shr31 = 0, $signalType = 0, $signalType105 = 0, $signalType16 = 0, $signalType167 = 0, $signalType29 = 0, $sub = 0;
- var $sub117 = 0, $sub142 = 0, $sub63 = 0, $sub81 = 0, $sub82 = 0, $tobool = 0, $tobool128 = 0, $tobool2 = 0, $typeOffset = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $ec_ix = sp + 56|0;
- $pred_Q8 = sp + 88|0;
- $psEncC$addr = $psEncC;
- $psRangeEnc$addr = $psRangeEnc;
- $FrameIndex$addr = $FrameIndex;
- $encode_LBRR$addr = $encode_LBRR;
- $condCoding$addr = $condCoding;
- $0 = $encode_LBRR$addr;
- $tobool = ($0|0)!=(0);
- $1 = $psEncC$addr;
- if ($tobool) {
- $indices_LBRR = ((($1)) + 6132|0);
- $2 = $FrameIndex$addr;
- $arrayidx = (($indices_LBRR) + (($2*36)|0)|0);
- $psIndices = $arrayidx;
- } else {
- $indices = ((($1)) + 4768|0);
- $psIndices = $indices;
- }
- $3 = $psIndices;
- $signalType = ((($3)) + 29|0);
- $4 = HEAP8[$signalType>>0]|0;
- $conv = $4 << 24 >> 24;
- $mul = $conv<<1;
- $5 = $psIndices;
- $quantOffsetType = ((($5)) + 30|0);
- $6 = HEAP8[$quantOffsetType>>0]|0;
- $conv1 = $6 << 24 >> 24;
- $add = (($mul) + ($conv1))|0;
- $typeOffset = $add;
- $7 = $encode_LBRR$addr;
- $tobool2 = ($7|0)!=(0);
- $8 = $typeOffset;
- $cmp = ($8|0)>=(2);
- $or$cond = $tobool2 | $cmp;
- $9 = $psRangeEnc$addr;
- $10 = $typeOffset;
- if ($or$cond) {
- $sub = (($10) - 2)|0;
- _ec_enc_icdf($9,$sub,27665,8);
- } else {
- _ec_enc_icdf($9,$10,27669,8);
- }
- $11 = $condCoding$addr;
- $cmp7 = ($11|0)==(2);
- $12 = $psRangeEnc$addr;
- $13 = $psIndices;
- $14 = HEAP8[$13>>0]|0;
- $conv11 = $14 << 24 >> 24;
- if ($cmp7) {
- _ec_enc_icdf($12,$conv11,27128,8);
- } else {
- $shr = $conv11 >> 3;
- $15 = $psIndices;
- $signalType16 = ((($15)) + 29|0);
- $16 = HEAP8[$signalType16>>0]|0;
- $idxprom = $16 << 24 >> 24;
- $arrayidx17 = (27104 + ($idxprom<<3)|0);
- _ec_enc_icdf($12,$shr,$arrayidx17,8);
- $17 = $psRangeEnc$addr;
- $18 = $psIndices;
- $19 = HEAP8[$18>>0]|0;
- $conv20 = $19 << 24 >> 24;
- $and = $conv20 & 7;
- _ec_enc_icdf($17,$and,27694,8);
- }
- $i = 1;
- while(1) {
- $20 = $i;
- $21 = $psEncC$addr;
- $nb_subfr = ((($21)) + 4604|0);
- $22 = HEAP32[$nb_subfr>>2]|0;
- $cmp22 = ($20|0)<($22|0);
- $23 = $psRangeEnc$addr;
- $24 = $psIndices;
- if (!($cmp22)) {
- break;
- }
- $25 = $i;
- $arrayidx25 = (($24) + ($25)|0);
- $26 = HEAP8[$arrayidx25>>0]|0;
- $conv26 = $26 << 24 >> 24;
- _ec_enc_icdf($23,$conv26,27128,8);
- $27 = $i;
- $inc = (($27) + 1)|0;
- $i = $inc;
- }
- $NLSFIndices = ((($24)) + 8|0);
- $28 = HEAP8[$NLSFIndices>>0]|0;
- $conv28 = $28 << 24 >> 24;
- $29 = $psEncC$addr;
- $psNLSF_CB = ((($29)) + 4724|0);
- $30 = HEAP32[$psNLSF_CB>>2]|0;
- $CB1_iCDF = ((($30)) + 12|0);
- $31 = HEAP32[$CB1_iCDF>>2]|0;
- $32 = $psIndices;
- $signalType29 = ((($32)) + 29|0);
- $33 = HEAP8[$signalType29>>0]|0;
- $conv30 = $33 << 24 >> 24;
- $shr31 = $conv30 >> 1;
- $34 = $psEncC$addr;
- $psNLSF_CB32 = ((($34)) + 4724|0);
- $35 = HEAP32[$psNLSF_CB32>>2]|0;
- $36 = HEAP16[$35>>1]|0;
- $conv33 = $36 << 16 >> 16;
- $mul34 = Math_imul($shr31, $conv33)|0;
- $arrayidx35 = (($31) + ($mul34)|0);
- _ec_enc_icdf($23,$conv28,$arrayidx35,8);
- $37 = $psEncC$addr;
- $psNLSF_CB38 = ((($37)) + 4724|0);
- $38 = HEAP32[$psNLSF_CB38>>2]|0;
- $39 = $psIndices;
- $NLSFIndices39 = ((($39)) + 8|0);
- $40 = HEAP8[$NLSFIndices39>>0]|0;
- $conv41 = $40 << 24 >> 24;
- _silk_NLSF_unpack($ec_ix,$pred_Q8,$38,$conv41);
- $i = 0;
- while(1) {
- $41 = $i;
- $42 = $psEncC$addr;
- $psNLSF_CB43 = ((($42)) + 4724|0);
- $43 = HEAP32[$psNLSF_CB43>>2]|0;
- $order = ((($43)) + 2|0);
- $44 = HEAP16[$order>>1]|0;
- $conv44 = $44 << 16 >> 16;
- $cmp45 = ($41|0)<($conv44|0);
- if (!($cmp45)) {
- break;
- }
- $45 = $psIndices;
- $NLSFIndices48 = ((($45)) + 8|0);
- $46 = $i;
- $add49 = (($46) + 1)|0;
- $arrayidx50 = (($NLSFIndices48) + ($add49)|0);
- $47 = HEAP8[$arrayidx50>>0]|0;
- $conv51 = $47 << 24 >> 24;
- $cmp52 = ($conv51|0)>=(4);
- do {
- if ($cmp52) {
- $48 = $psRangeEnc$addr;
- $49 = $psEncC$addr;
- $psNLSF_CB55 = ((($49)) + 4724|0);
- $50 = HEAP32[$psNLSF_CB55>>2]|0;
- $ec_iCDF = ((($50)) + 24|0);
- $51 = HEAP32[$ec_iCDF>>2]|0;
- $52 = $i;
- $arrayidx56 = (($ec_ix) + ($52<<1)|0);
- $53 = HEAP16[$arrayidx56>>1]|0;
- $idxprom57 = $53 << 16 >> 16;
- $arrayidx58 = (($51) + ($idxprom57)|0);
- _ec_enc_icdf($48,8,$arrayidx58,8);
- $54 = $psRangeEnc$addr;
- $55 = $psIndices;
- $NLSFIndices59 = ((($55)) + 8|0);
- $56 = $i;
- $add60 = (($56) + 1)|0;
- $arrayidx61 = (($NLSFIndices59) + ($add60)|0);
- $57 = HEAP8[$arrayidx61>>0]|0;
- $conv62 = $57 << 24 >> 24;
- $sub63 = (($conv62) - 4)|0;
- _ec_enc_icdf($54,$sub63,27702,8);
- } else {
- $58 = $psIndices;
- $NLSFIndices65 = ((($58)) + 8|0);
- $59 = $i;
- $add66 = (($59) + 1)|0;
- $arrayidx67 = (($NLSFIndices65) + ($add66)|0);
- $60 = HEAP8[$arrayidx67>>0]|0;
- $conv68 = $60 << 24 >> 24;
- $cmp69 = ($conv68|0)<=(-4);
- $61 = $psRangeEnc$addr;
- if ($cmp69) {
- $62 = $psEncC$addr;
- $psNLSF_CB72 = ((($62)) + 4724|0);
- $63 = HEAP32[$psNLSF_CB72>>2]|0;
- $ec_iCDF73 = ((($63)) + 24|0);
- $64 = HEAP32[$ec_iCDF73>>2]|0;
- $65 = $i;
- $arrayidx74 = (($ec_ix) + ($65<<1)|0);
- $66 = HEAP16[$arrayidx74>>1]|0;
- $idxprom75 = $66 << 16 >> 16;
- $arrayidx76 = (($64) + ($idxprom75)|0);
- _ec_enc_icdf($61,0,$arrayidx76,8);
- $67 = $psRangeEnc$addr;
- $68 = $psIndices;
- $NLSFIndices77 = ((($68)) + 8|0);
- $69 = $i;
- $add78 = (($69) + 1)|0;
- $arrayidx79 = (($NLSFIndices77) + ($add78)|0);
- $70 = HEAP8[$arrayidx79>>0]|0;
- $conv80 = $70 << 24 >> 24;
- $sub81 = (0 - ($conv80))|0;
- $sub82 = (($sub81) - 4)|0;
- _ec_enc_icdf($67,$sub82,27702,8);
- break;
- } else {
- $71 = $psIndices;
- $NLSFIndices84 = ((($71)) + 8|0);
- $72 = $i;
- $add85 = (($72) + 1)|0;
- $arrayidx86 = (($NLSFIndices84) + ($add85)|0);
- $73 = HEAP8[$arrayidx86>>0]|0;
- $conv87 = $73 << 24 >> 24;
- $add88 = (($conv87) + 4)|0;
- $74 = $psEncC$addr;
- $psNLSF_CB89 = ((($74)) + 4724|0);
- $75 = HEAP32[$psNLSF_CB89>>2]|0;
- $ec_iCDF90 = ((($75)) + 24|0);
- $76 = HEAP32[$ec_iCDF90>>2]|0;
- $77 = $i;
- $arrayidx91 = (($ec_ix) + ($77<<1)|0);
- $78 = HEAP16[$arrayidx91>>1]|0;
- $idxprom92 = $78 << 16 >> 16;
- $arrayidx93 = (($76) + ($idxprom92)|0);
- _ec_enc_icdf($61,$add88,$arrayidx93,8);
- break;
- }
- }
- } while(0);
- $79 = $i;
- $inc97 = (($79) + 1)|0;
- $i = $inc97;
- }
- $80 = $psEncC$addr;
- $nb_subfr99 = ((($80)) + 4604|0);
- $81 = HEAP32[$nb_subfr99>>2]|0;
- $cmp100 = ($81|0)==(4);
- if ($cmp100) {
- $82 = $psRangeEnc$addr;
- $83 = $psIndices;
- $NLSFInterpCoef_Q2 = ((($83)) + 31|0);
- $84 = HEAP8[$NLSFInterpCoef_Q2>>0]|0;
- $conv103 = $84 << 24 >> 24;
- _ec_enc_icdf($82,$conv103,27671,8);
- }
- $85 = $psIndices;
- $signalType105 = ((($85)) + 29|0);
- $86 = HEAP8[$signalType105>>0]|0;
- $conv106 = $86 << 24 >> 24;
- $cmp107 = ($conv106|0)==(2);
- if (!($cmp107)) {
- $141 = $psIndices;
- $signalType167 = ((($141)) + 29|0);
- $142 = HEAP8[$signalType167>>0]|0;
- $conv168 = $142 << 24 >> 24;
- $143 = $psEncC$addr;
- $ec_prevSignalType169 = ((($143)) + 5800|0);
- HEAP32[$ec_prevSignalType169>>2] = $conv168;
- $144 = $psRangeEnc$addr;
- $145 = $psIndices;
- $Seed = ((($145)) + 34|0);
- $146 = HEAP8[$Seed>>0]|0;
- $conv170 = $146 << 24 >> 24;
- _ec_enc_icdf($144,$conv170,27679,8);
- STACKTOP = sp;return;
- }
- $encode_absolute_lagIndex = 1;
- $87 = $condCoding$addr;
- $cmp110 = ($87|0)==(2);
- if ($cmp110) {
- $88 = $psEncC$addr;
- $ec_prevSignalType = ((($88)) + 5800|0);
- $89 = HEAP32[$ec_prevSignalType>>2]|0;
- $cmp112 = ($89|0)==(2);
- if ($cmp112) {
- $90 = $psIndices;
- $lagIndex = ((($90)) + 26|0);
- $91 = HEAP16[$lagIndex>>1]|0;
- $conv115 = $91 << 16 >> 16;
- $92 = $psEncC$addr;
- $ec_prevLagIndex = ((($92)) + 5804|0);
- $93 = HEAP16[$ec_prevLagIndex>>1]|0;
- $conv116 = $93 << 16 >> 16;
- $sub117 = (($conv115) - ($conv116))|0;
- $delta_lagIndex = $sub117;
- $94 = $delta_lagIndex;
- $cmp118 = ($94|0)<(-8);
- $95 = $delta_lagIndex;
- $cmp121 = ($95|0)>(11);
- $or$cond1 = $cmp118 | $cmp121;
- if ($or$cond1) {
- $delta_lagIndex = 0;
- } else {
- $96 = $delta_lagIndex;
- $add125 = (($96) + 9)|0;
- $delta_lagIndex = $add125;
- $encode_absolute_lagIndex = 0;
- }
- $97 = $psRangeEnc$addr;
- $98 = $delta_lagIndex;
- _ec_enc_icdf($97,$98,27741,8);
- }
- }
- $99 = $encode_absolute_lagIndex;
- $tobool128 = ($99|0)!=(0);
- if ($tobool128) {
- $100 = $psIndices;
- $lagIndex130 = ((($100)) + 26|0);
- $101 = HEAP16[$lagIndex130>>1]|0;
- $conv131 = $101 << 16 >> 16;
- $102 = $psEncC$addr;
- $fs_kHz = ((($102)) + 4600|0);
- $103 = HEAP32[$fs_kHz>>2]|0;
- $shr132 = $103 >> 1;
- $div = (($conv131|0) / ($shr132|0))&-1;
- $pitch_high_bits = $div;
- $104 = $psIndices;
- $lagIndex133 = ((($104)) + 26|0);
- $105 = HEAP16[$lagIndex133>>1]|0;
- $conv134 = $105 << 16 >> 16;
- $106 = $pitch_high_bits;
- $conv135 = $106&65535;
- $conv136 = $conv135 << 16 >> 16;
- $107 = $psEncC$addr;
- $fs_kHz137 = ((($107)) + 4600|0);
- $108 = HEAP32[$fs_kHz137>>2]|0;
- $shr138 = $108 >> 1;
- $conv139 = $shr138&65535;
- $conv140 = $conv139 << 16 >> 16;
- $mul141 = Math_imul($conv136, $conv140)|0;
- $sub142 = (($conv134) - ($mul141))|0;
- $pitch_low_bits = $sub142;
- $109 = $psRangeEnc$addr;
- $110 = $pitch_high_bits;
- _ec_enc_icdf($109,$110,27709,8);
- $111 = $psRangeEnc$addr;
- $112 = $pitch_low_bits;
- $113 = $psEncC$addr;
- $pitch_lag_low_bits_iCDF = ((($113)) + 4716|0);
- $114 = HEAP32[$pitch_lag_low_bits_iCDF>>2]|0;
- _ec_enc_icdf($111,$112,$114,8);
- }
- $115 = $psIndices;
- $lagIndex144 = ((($115)) + 26|0);
- $116 = HEAP16[$lagIndex144>>1]|0;
- $117 = $psEncC$addr;
- $ec_prevLagIndex145 = ((($117)) + 5804|0);
- HEAP16[$ec_prevLagIndex145>>1] = $116;
- $118 = $psRangeEnc$addr;
- $119 = $psIndices;
- $contourIndex = ((($119)) + 28|0);
- $120 = HEAP8[$contourIndex>>0]|0;
- $conv146 = $120 << 24 >> 24;
- $121 = $psEncC$addr;
- $pitch_contour_iCDF = ((($121)) + 4720|0);
- $122 = HEAP32[$pitch_contour_iCDF>>2]|0;
- _ec_enc_icdf($118,$conv146,$122,8);
- $123 = $psRangeEnc$addr;
- $124 = $psIndices;
- $PERIndex = ((($124)) + 32|0);
- $125 = HEAP8[$PERIndex>>0]|0;
- $conv147 = $125 << 24 >> 24;
- _ec_enc_icdf($123,$conv147,27169,8);
- $k = 0;
- while(1) {
- $126 = $k;
- $127 = $psEncC$addr;
- $nb_subfr149 = ((($127)) + 4604|0);
- $128 = HEAP32[$nb_subfr149>>2]|0;
- $cmp150 = ($126|0)<($128|0);
- if (!($cmp150)) {
- break;
- }
- $129 = $psRangeEnc$addr;
- $130 = $psIndices;
- $LTPIndex = ((($130)) + 4|0);
- $131 = $k;
- $arrayidx153 = (($LTPIndex) + ($131)|0);
- $132 = HEAP8[$arrayidx153>>0]|0;
- $conv154 = $132 << 24 >> 24;
- $133 = $psIndices;
- $PERIndex155 = ((($133)) + 32|0);
- $134 = HEAP8[$PERIndex155>>0]|0;
- $idxprom156 = $134 << 24 >> 24;
- $arrayidx157 = (16660 + ($idxprom156<<2)|0);
- $135 = HEAP32[$arrayidx157>>2]|0;
- _ec_enc_icdf($129,$conv154,$135,8);
- $136 = $k;
- $inc159 = (($136) + 1)|0;
- $k = $inc159;
- }
- $137 = $condCoding$addr;
- $cmp161 = ($137|0)==(0);
- if (!($cmp161)) {
- $141 = $psIndices;
- $signalType167 = ((($141)) + 29|0);
- $142 = HEAP8[$signalType167>>0]|0;
- $conv168 = $142 << 24 >> 24;
- $143 = $psEncC$addr;
- $ec_prevSignalType169 = ((($143)) + 5800|0);
- HEAP32[$ec_prevSignalType169>>2] = $conv168;
- $144 = $psRangeEnc$addr;
- $145 = $psIndices;
- $Seed = ((($145)) + 34|0);
- $146 = HEAP8[$Seed>>0]|0;
- $conv170 = $146 << 24 >> 24;
- _ec_enc_icdf($144,$conv170,27679,8);
- STACKTOP = sp;return;
- }
- $138 = $psRangeEnc$addr;
- $139 = $psIndices;
- $LTP_scaleIndex = ((($139)) + 33|0);
- $140 = HEAP8[$LTP_scaleIndex>>0]|0;
- $conv164 = $140 << 24 >> 24;
- _ec_enc_icdf($138,$conv164,27662,8);
- $141 = $psIndices;
- $signalType167 = ((($141)) + 29|0);
- $142 = HEAP8[$signalType167>>0]|0;
- $conv168 = $142 << 24 >> 24;
- $143 = $psEncC$addr;
- $ec_prevSignalType169 = ((($143)) + 5800|0);
- HEAP32[$ec_prevSignalType169>>2] = $conv168;
- $144 = $psRangeEnc$addr;
- $145 = $psIndices;
- $Seed = ((($145)) + 34|0);
- $146 = HEAP8[$Seed>>0]|0;
- $conv170 = $146 << 24 >> 24;
- _ec_enc_icdf($144,$conv170,27679,8);
- STACKTOP = sp;return;
-}
-function _silk_encode_pulses($psRangeEnc,$signalType,$quantOffsetType,$pulses,$frame_length) {
- $psRangeEnc = $psRangeEnc|0;
- $signalType = $signalType|0;
- $quantOffsetType = $quantOffsetType|0;
- $pulses = $pulses|0;
- $frame_length = $frame_length|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0;
- var $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0;
- var $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
- var $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0;
- var $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0;
- var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $RateLevelIndex = 0, $abs_pulses_ptr = 0, $abs_q = 0, $add = 0, $add$ptr = 0, $add13 = 0, $add131 = 0, $add136 = 0, $add15 = 0, $add21 = 0, $add31 = 0, $add33 = 0, $add39 = 0;
- var $add49 = 0, $add51 = 0, $add57 = 0, $add67 = 0, $add69 = 0, $add7 = 0, $add83 = 0, $add88 = 0, $add93 = 0, $and = 0, $and229 = 0, $arrayidx = 0, $arrayidx101 = 0, $arrayidx103 = 0, $arrayidx115 = 0, $arrayidx118 = 0, $arrayidx119 = 0, $arrayidx125 = 0, $arrayidx129 = 0, $arrayidx133 = 0;
- var $arrayidx134 = 0, $arrayidx14 = 0, $arrayidx149 = 0, $arrayidx151 = 0, $arrayidx157 = 0, $arrayidx16 = 0, $arrayidx161 = 0, $arrayidx164 = 0, $arrayidx172 = 0, $arrayidx181 = 0, $arrayidx186 = 0, $arrayidx195 = 0, $arrayidx200 = 0, $arrayidx201 = 0, $arrayidx207 = 0, $arrayidx212 = 0, $arrayidx22 = 0, $arrayidx32 = 0, $arrayidx34 = 0, $arrayidx4 = 0;
- var $arrayidx40 = 0, $arrayidx50 = 0, $arrayidx52 = 0, $arrayidx58 = 0, $arrayidx68 = 0, $arrayidx76 = 0, $arrayidx8 = 0, $arrayidx89 = 0, $arrayidx95 = 0, $bit = 0, $call = 0, $call82 = 0, $call87 = 0, $call92 = 0, $cdf_ptr = 0, $cmp = 0, $cmp112 = 0, $cmp122 = 0, $cmp126 = 0, $cmp141 = 0;
- var $cmp154 = 0, $cmp158 = 0, $cmp166 = 0, $cmp178 = 0, $cmp18 = 0, $cmp182 = 0, $cmp192 = 0, $cmp196 = 0, $cmp204 = 0, $cmp209 = 0, $cmp223 = 0, $cmp3 = 0, $cmp36 = 0, $cmp5 = 0, $cmp54 = 0, $cmp73 = 0, $cmp98 = 0, $cond = 0, $cond219 = 0, $cond30 = 0;
- var $cond48 = 0, $cond66 = 0, $conv = 0, $conv120 = 0, $conv130 = 0, $conv135 = 0, $conv17 = 0, $conv208 = 0, $conv213 = 0, $conv220 = 0, $conv221 = 0, $conv23 = 0, $conv35 = 0, $conv41 = 0, $conv53 = 0, $conv59 = 0, $conv78 = 0, $conv81 = 0, $conv86 = 0, $conv9 = 0;
- var $conv91 = 0, $dec = 0, $frame_length$addr = 0, $i = 0, $inc = 0, $inc105 = 0, $inc109 = 0, $inc139 = 0, $inc146 = 0, $inc170 = 0, $inc175 = 0, $inc189 = 0, $inc231 = 0, $inc235 = 0, $inc96 = 0, $iter = 0, $j = 0, $k = 0, $minSumBits_Q5 = 0, $mul = 0;
- var $mul1 = 0, $mul185 = 0, $mul199 = 0, $mul2 = 0, $nBits_ptr = 0, $nLS = 0, $psRangeEnc$addr = 0, $pulses$addr = 0, $pulses_comb = 0, $pulses_ptr = 0, $quantOffsetType$addr = 0, $saved_stack = 0, $scale_down = 0, $shr = 0, $shr102 = 0, $shr117 = 0, $shr148 = 0, $shr226 = 0, $signalType$addr = 0, $sub = 0;
- var $sub165 = 0, $sub202 = 0, $sub217 = 0, $sub28 = 0, $sub46 = 0, $sub64 = 0, $sumBits_Q5 = 0, $tobool = 0, $vla = 0, $vla$alloca_mul = 0, $vla70 = 0, $vla70$alloca_mul = 0, $vla71 = 0, $vla71$alloca_mul = 0, dest = 0, label = 0, sp = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
- $pulses_comb = sp + 24|0;
- $psRangeEnc$addr = $psRangeEnc;
- $signalType$addr = $signalType;
- $quantOffsetType$addr = $quantOffsetType;
- $pulses$addr = $pulses;
- $frame_length$addr = $frame_length;
- $RateLevelIndex = 0;
- ;HEAP32[$pulses_comb>>2]=0|0;HEAP32[$pulses_comb+4>>2]=0|0;HEAP32[$pulses_comb+8>>2]=0|0;HEAP32[$pulses_comb+12>>2]=0|0;HEAP32[$pulses_comb+16>>2]=0|0;HEAP32[$pulses_comb+20>>2]=0|0;HEAP32[$pulses_comb+24>>2]=0|0;HEAP32[$pulses_comb+28>>2]=0|0;
- $0 = $frame_length$addr;
- $shr = $0 >> 4;
- $iter = $shr;
- $1 = $iter;
- $mul = $1<<4;
- $2 = $frame_length$addr;
- $cmp = ($mul|0)<($2|0);
- if ($cmp) {
- $3 = $iter;
- $inc = (($3) + 1)|0;
- $iter = $inc;
- $4 = $pulses$addr;
- $5 = $frame_length$addr;
- $arrayidx = (($4) + ($5)|0);
- dest=$arrayidx; stop=dest+16|0; do { HEAP8[dest>>0]=0|0; dest=dest+1|0; } while ((dest|0) < (stop|0));
- }
- $6 = $iter;
- $mul1 = $6<<4;
- $7 = (_llvm_stacksave()|0);
- $saved_stack = $7;
- $vla$alloca_mul = $mul1<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $i = 0;
- while(1) {
- $8 = $i;
- $9 = $iter;
- $mul2 = $9<<4;
- $cmp3 = ($8|0)<($mul2|0);
- if (!($cmp3)) {
- break;
- }
- $10 = $pulses$addr;
- $11 = $i;
- $add = (($11) + 0)|0;
- $arrayidx4 = (($10) + ($add)|0);
- $12 = HEAP8[$arrayidx4>>0]|0;
- $conv = $12 << 24 >> 24;
- $cmp5 = ($conv|0)>(0);
- $13 = $pulses$addr;
- $14 = $i;
- $add7 = (($14) + 0)|0;
- $arrayidx8 = (($13) + ($add7)|0);
- $15 = HEAP8[$arrayidx8>>0]|0;
- $conv9 = $15 << 24 >> 24;
- $sub = (0 - ($conv9))|0;
- $cond = $cmp5 ? $conv9 : $sub;
- $16 = $i;
- $add13 = (($16) + 0)|0;
- $arrayidx14 = (($vla) + ($add13<<2)|0);
- HEAP32[$arrayidx14>>2] = $cond;
- $17 = $pulses$addr;
- $18 = $i;
- $add15 = (($18) + 1)|0;
- $arrayidx16 = (($17) + ($add15)|0);
- $19 = HEAP8[$arrayidx16>>0]|0;
- $conv17 = $19 << 24 >> 24;
- $cmp18 = ($conv17|0)>(0);
- $20 = $pulses$addr;
- $21 = $i;
- $add21 = (($21) + 1)|0;
- $arrayidx22 = (($20) + ($add21)|0);
- $22 = HEAP8[$arrayidx22>>0]|0;
- $conv23 = $22 << 24 >> 24;
- $sub28 = (0 - ($conv23))|0;
- $cond30 = $cmp18 ? $conv23 : $sub28;
- $23 = $i;
- $add31 = (($23) + 1)|0;
- $arrayidx32 = (($vla) + ($add31<<2)|0);
- HEAP32[$arrayidx32>>2] = $cond30;
- $24 = $pulses$addr;
- $25 = $i;
- $add33 = (($25) + 2)|0;
- $arrayidx34 = (($24) + ($add33)|0);
- $26 = HEAP8[$arrayidx34>>0]|0;
- $conv35 = $26 << 24 >> 24;
- $cmp36 = ($conv35|0)>(0);
- $27 = $pulses$addr;
- $28 = $i;
- $add39 = (($28) + 2)|0;
- $arrayidx40 = (($27) + ($add39)|0);
- $29 = HEAP8[$arrayidx40>>0]|0;
- $conv41 = $29 << 24 >> 24;
- $sub46 = (0 - ($conv41))|0;
- $cond48 = $cmp36 ? $conv41 : $sub46;
- $30 = $i;
- $add49 = (($30) + 2)|0;
- $arrayidx50 = (($vla) + ($add49<<2)|0);
- HEAP32[$arrayidx50>>2] = $cond48;
- $31 = $pulses$addr;
- $32 = $i;
- $add51 = (($32) + 3)|0;
- $arrayidx52 = (($31) + ($add51)|0);
- $33 = HEAP8[$arrayidx52>>0]|0;
- $conv53 = $33 << 24 >> 24;
- $cmp54 = ($conv53|0)>(0);
- $34 = $pulses$addr;
- $35 = $i;
- $add57 = (($35) + 3)|0;
- $arrayidx58 = (($34) + ($add57)|0);
- $36 = HEAP8[$arrayidx58>>0]|0;
- $conv59 = $36 << 24 >> 24;
- $sub64 = (0 - ($conv59))|0;
- $cond66 = $cmp54 ? $conv59 : $sub64;
- $37 = $i;
- $add67 = (($37) + 3)|0;
- $arrayidx68 = (($vla) + ($add67<<2)|0);
- HEAP32[$arrayidx68>>2] = $cond66;
- $38 = $i;
- $add69 = (($38) + 4)|0;
- $i = $add69;
- }
- $39 = $iter;
- $vla70$alloca_mul = $39<<2;
- $vla70 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla70$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla70$alloca_mul)|0)+15)&-16)|0);;
- $40 = $iter;
- $vla71$alloca_mul = $40<<2;
- $vla71 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla71$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla71$alloca_mul)|0)+15)&-16)|0);;
- $abs_pulses_ptr = $vla;
- $i = 0;
- while(1) {
- $41 = $i;
- $42 = $iter;
- $cmp73 = ($41|0)<($42|0);
- if (!($cmp73)) {
- break;
- }
- $43 = $i;
- $arrayidx76 = (($vla71) + ($43<<2)|0);
- HEAP32[$arrayidx76>>2] = 0;
- L11: while(1) {
- $44 = $abs_pulses_ptr;
- $45 = HEAP8[27822]|0;
- $conv78 = $45&255;
- $call = (_combine_and_check($pulses_comb,$44,$conv78,8)|0);
- $scale_down = $call;
- $46 = HEAP8[(27823)>>0]|0;
- $conv81 = $46&255;
- $call82 = (_combine_and_check($pulses_comb,$pulses_comb,$conv81,4)|0);
- $47 = $scale_down;
- $add83 = (($47) + ($call82))|0;
- $scale_down = $add83;
- $48 = HEAP8[(27824)>>0]|0;
- $conv86 = $48&255;
- $call87 = (_combine_and_check($pulses_comb,$pulses_comb,$conv86,2)|0);
- $49 = $scale_down;
- $add88 = (($49) + ($call87))|0;
- $scale_down = $add88;
- $50 = $i;
- $arrayidx89 = (($vla70) + ($50<<2)|0);
- $51 = HEAP8[(27825)>>0]|0;
- $conv91 = $51&255;
- $call92 = (_combine_and_check($arrayidx89,$pulses_comb,$conv91,1)|0);
- $52 = $scale_down;
- $add93 = (($52) + ($call92))|0;
- $scale_down = $add93;
- $53 = $scale_down;
- $tobool = ($53|0)!=(0);
- if (!($tobool)) {
- break;
- }
- $54 = $i;
- $arrayidx95 = (($vla71) + ($54<<2)|0);
- $55 = HEAP32[$arrayidx95>>2]|0;
- $inc96 = (($55) + 1)|0;
- HEAP32[$arrayidx95>>2] = $inc96;
- $k = 0;
- while(1) {
- $56 = $k;
- $cmp98 = ($56|0)<(16);
- if (!($cmp98)) {
- continue L11;
- }
- $57 = $abs_pulses_ptr;
- $58 = $k;
- $arrayidx101 = (($57) + ($58<<2)|0);
- $59 = HEAP32[$arrayidx101>>2]|0;
- $shr102 = $59 >> 1;
- $60 = $abs_pulses_ptr;
- $61 = $k;
- $arrayidx103 = (($60) + ($61<<2)|0);
- HEAP32[$arrayidx103>>2] = $shr102;
- $62 = $k;
- $inc105 = (($62) + 1)|0;
- $k = $inc105;
- }
- }
- $63 = $abs_pulses_ptr;
- $add$ptr = ((($63)) + 64|0);
- $abs_pulses_ptr = $add$ptr;
- $64 = $i;
- $inc109 = (($64) + 1)|0;
- $i = $inc109;
- }
- $minSumBits_Q5 = 2147483647;
- $k = 0;
- while(1) {
- $65 = $k;
- $cmp112 = ($65|0)<(9);
- if (!($cmp112)) {
- break;
- }
- $66 = $k;
- $arrayidx115 = (28006 + (($66*18)|0)|0);
- $nBits_ptr = $arrayidx115;
- $67 = $signalType$addr;
- $shr117 = $67 >> 1;
- $arrayidx118 = (28186 + (($shr117*9)|0)|0);
- $68 = $k;
- $arrayidx119 = (($arrayidx118) + ($68)|0);
- $69 = HEAP8[$arrayidx119>>0]|0;
- $conv120 = $69&255;
- $sumBits_Q5 = $conv120;
- $i = 0;
- while(1) {
- $70 = $i;
- $71 = $iter;
- $cmp122 = ($70|0)<($71|0);
- if (!($cmp122)) {
- break;
- }
- $72 = $i;
- $arrayidx125 = (($vla71) + ($72<<2)|0);
- $73 = HEAP32[$arrayidx125>>2]|0;
- $cmp126 = ($73|0)>(0);
- $74 = $nBits_ptr;
- if ($cmp126) {
- $arrayidx129 = ((($74)) + 17|0);
- $75 = HEAP8[$arrayidx129>>0]|0;
- $conv130 = $75&255;
- $76 = $sumBits_Q5;
- $add131 = (($76) + ($conv130))|0;
- $sumBits_Q5 = $add131;
- } else {
- $77 = $i;
- $arrayidx133 = (($vla70) + ($77<<2)|0);
- $78 = HEAP32[$arrayidx133>>2]|0;
- $arrayidx134 = (($74) + ($78)|0);
- $79 = HEAP8[$arrayidx134>>0]|0;
- $conv135 = $79&255;
- $80 = $sumBits_Q5;
- $add136 = (($80) + ($conv135))|0;
- $sumBits_Q5 = $add136;
- }
- $81 = $i;
- $inc139 = (($81) + 1)|0;
- $i = $inc139;
- }
- $82 = $sumBits_Q5;
- $83 = $minSumBits_Q5;
- $cmp141 = ($82|0)<($83|0);
- if ($cmp141) {
- $84 = $sumBits_Q5;
- $minSumBits_Q5 = $84;
- $85 = $k;
- $RateLevelIndex = $85;
- }
- $86 = $k;
- $inc146 = (($86) + 1)|0;
- $k = $inc146;
- }
- $87 = $psRangeEnc$addr;
- $88 = $RateLevelIndex;
- $89 = $signalType$addr;
- $shr148 = $89 >> 1;
- $arrayidx149 = (28168 + (($shr148*9)|0)|0);
- _ec_enc_icdf($87,$88,$arrayidx149,8);
- $90 = $RateLevelIndex;
- $arrayidx151 = (27826 + (($90*18)|0)|0);
- $cdf_ptr = $arrayidx151;
- $i = 0;
- while(1) {
- $91 = $i;
- $92 = $iter;
- $cmp154 = ($91|0)<($92|0);
- if (!($cmp154)) {
- break;
- }
- $93 = $i;
- $arrayidx157 = (($vla71) + ($93<<2)|0);
- $94 = HEAP32[$arrayidx157>>2]|0;
- $cmp158 = ($94|0)==(0);
- $95 = $psRangeEnc$addr;
- if ($cmp158) {
- $96 = $i;
- $arrayidx161 = (($vla70) + ($96<<2)|0);
- $97 = HEAP32[$arrayidx161>>2]|0;
- $98 = $cdf_ptr;
- _ec_enc_icdf($95,$97,$98,8);
- } else {
- $99 = $cdf_ptr;
- _ec_enc_icdf($95,17,$99,8);
- $k = 0;
- while(1) {
- $100 = $k;
- $101 = $i;
- $arrayidx164 = (($vla71) + ($101<<2)|0);
- $102 = HEAP32[$arrayidx164>>2]|0;
- $sub165 = (($102) - 1)|0;
- $cmp166 = ($100|0)<($sub165|0);
- $103 = $psRangeEnc$addr;
- if (!($cmp166)) {
- break;
- }
- _ec_enc_icdf($103,17,(27988),8);
- $104 = $k;
- $inc170 = (($104) + 1)|0;
- $k = $inc170;
- }
- $105 = $i;
- $arrayidx172 = (($vla70) + ($105<<2)|0);
- $106 = HEAP32[$arrayidx172>>2]|0;
- _ec_enc_icdf($103,$106,(27988),8);
- }
- $107 = $i;
- $inc175 = (($107) + 1)|0;
- $i = $inc175;
- }
- $i = 0;
- while(1) {
- $108 = $i;
- $109 = $iter;
- $cmp178 = ($108|0)<($109|0);
- if (!($cmp178)) {
- break;
- }
- $110 = $i;
- $arrayidx181 = (($vla70) + ($110<<2)|0);
- $111 = HEAP32[$arrayidx181>>2]|0;
- $cmp182 = ($111|0)>(0);
- if ($cmp182) {
- $112 = $psRangeEnc$addr;
- $113 = $i;
- $mul185 = $113<<4;
- $arrayidx186 = (($vla) + ($mul185<<2)|0);
- _silk_shell_encoder($112,$arrayidx186);
- }
- $114 = $i;
- $inc189 = (($114) + 1)|0;
- $i = $inc189;
- }
- $i = 0;
- while(1) {
- $115 = $i;
- $116 = $iter;
- $cmp192 = ($115|0)<($116|0);
- if (!($cmp192)) {
- break;
- }
- $117 = $i;
- $arrayidx195 = (($vla71) + ($117<<2)|0);
- $118 = HEAP32[$arrayidx195>>2]|0;
- $cmp196 = ($118|0)>(0);
- L56: do {
- if ($cmp196) {
- $119 = $pulses$addr;
- $120 = $i;
- $mul199 = $120<<4;
- $arrayidx200 = (($119) + ($mul199)|0);
- $pulses_ptr = $arrayidx200;
- $121 = $i;
- $arrayidx201 = (($vla71) + ($121<<2)|0);
- $122 = HEAP32[$arrayidx201>>2]|0;
- $sub202 = (($122) - 1)|0;
- $nLS = $sub202;
- $k = 0;
- while(1) {
- $123 = $k;
- $cmp204 = ($123|0)<(16);
- if (!($cmp204)) {
- break L56;
- }
- $124 = $pulses_ptr;
- $125 = $k;
- $arrayidx207 = (($124) + ($125)|0);
- $126 = HEAP8[$arrayidx207>>0]|0;
- $conv208 = $126 << 24 >> 24;
- $cmp209 = ($conv208|0)>(0);
- $127 = $pulses_ptr;
- $128 = $k;
- $arrayidx212 = (($127) + ($128)|0);
- $129 = HEAP8[$arrayidx212>>0]|0;
- $conv213 = $129 << 24 >> 24;
- $sub217 = (0 - ($conv213))|0;
- $cond219 = $cmp209 ? $conv213 : $sub217;
- $conv220 = $cond219&255;
- $conv221 = $conv220 << 24 >> 24;
- $abs_q = $conv221;
- $130 = $nLS;
- $j = $130;
- while(1) {
- $131 = $j;
- $cmp223 = ($131|0)>(0);
- $132 = $abs_q;
- if (!($cmp223)) {
- break;
- }
- $133 = $j;
- $shr226 = $132 >> $133;
- $and = $shr226 & 1;
- $bit = $and;
- $134 = $psRangeEnc$addr;
- $135 = $bit;
- _ec_enc_icdf($134,$135,27660,8);
- $136 = $j;
- $dec = (($136) + -1)|0;
- $j = $dec;
- }
- $and229 = $132 & 1;
- $bit = $and229;
- $137 = $psRangeEnc$addr;
- $138 = $bit;
- _ec_enc_icdf($137,$138,27660,8);
- $139 = $k;
- $inc231 = (($139) + 1)|0;
- $k = $inc231;
- }
- }
- } while(0);
- $140 = $i;
- $inc235 = (($140) + 1)|0;
- $i = $inc235;
- }
- $141 = $psRangeEnc$addr;
- $142 = $pulses$addr;
- $143 = $frame_length$addr;
- $144 = $signalType$addr;
- $145 = $quantOffsetType$addr;
- _silk_encode_signs($141,$142,$143,$144,$145,$vla70);
- $146 = $saved_stack;
- _llvm_stackrestore(($146|0));
- STACKTOP = sp;return;
-}
-function _combine_and_check($pulses_comb,$pulses_in,$max_pulses,$len) {
- $pulses_comb = $pulses_comb|0;
- $pulses_in = $pulses_in|0;
- $max_pulses = $max_pulses|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add3 = 0, $arrayidx = 0, $arrayidx2 = 0, $arrayidx5 = 0;
- var $cmp = 0, $cmp4 = 0, $inc = 0, $k = 0, $len$addr = 0, $max_pulses$addr = 0, $mul = 0, $mul1 = 0, $pulses_comb$addr = 0, $pulses_in$addr = 0, $retval = 0, $sum = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $pulses_comb$addr = $pulses_comb;
- $pulses_in$addr = $pulses_in;
- $max_pulses$addr = $max_pulses;
- $len$addr = $len;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $len$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- label = 6;
- break;
- }
- $2 = $pulses_in$addr;
- $3 = $k;
- $mul = $3<<1;
- $arrayidx = (($2) + ($mul<<2)|0);
- $4 = HEAP32[$arrayidx>>2]|0;
- $5 = $pulses_in$addr;
- $6 = $k;
- $mul1 = $6<<1;
- $add = (($mul1) + 1)|0;
- $arrayidx2 = (($5) + ($add<<2)|0);
- $7 = HEAP32[$arrayidx2>>2]|0;
- $add3 = (($4) + ($7))|0;
- $sum = $add3;
- $8 = $sum;
- $9 = $max_pulses$addr;
- $cmp4 = ($8|0)>($9|0);
- if ($cmp4) {
- label = 4;
- break;
- }
- $10 = $sum;
- $11 = $pulses_comb$addr;
- $12 = $k;
- $arrayidx5 = (($11) + ($12<<2)|0);
- HEAP32[$arrayidx5>>2] = $10;
- $13 = $k;
- $inc = (($13) + 1)|0;
- $k = $inc;
- }
- if ((label|0) == 4) {
- $retval = 1;
- $14 = $retval;
- STACKTOP = sp;return ($14|0);
- }
- else if ((label|0) == 6) {
- $retval = 0;
- $14 = $retval;
- STACKTOP = sp;return ($14|0);
+ $42 = $4;
+ $43 = ((($42)) + 152|0);
+ $44 = HEAP32[$43>>2]|0;
+ $3 = $44;
+ $45 = $3;
+ STACKTOP = sp;return ($45|0);
}
return (0)|0;
}
-function _silk_shell_encoder($psRangeEnc,$pulses0) {
- $psRangeEnc = $psRangeEnc|0;
- $pulses0 = $pulses0|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx16 = 0, $arrayidx17 = 0, $arrayidx18 = 0, $arrayidx19 = 0;
- var $arrayidx20 = 0, $arrayidx21 = 0, $arrayidx22 = 0, $arrayidx23 = 0, $arrayidx24 = 0, $arrayidx25 = 0, $arrayidx26 = 0, $arrayidx27 = 0, $arrayidx28 = 0, $arrayidx29 = 0, $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx32 = 0, $arrayidx33 = 0, $arrayidx34 = 0, $arrayidx35 = 0, $psRangeEnc$addr = 0, $pulses0$addr = 0, $pulses1 = 0, $pulses2 = 0;
- var $pulses3 = 0, $pulses4 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $pulses1 = sp + 32|0;
- $pulses2 = sp + 16|0;
- $pulses3 = sp + 8|0;
- $pulses4 = sp;
- $psRangeEnc$addr = $psRangeEnc;
- $pulses0$addr = $pulses0;
- $0 = $pulses0$addr;
- _combine_pulses($pulses1,$0,8);
- _combine_pulses($pulses2,$pulses1,4);
- _combine_pulses($pulses3,$pulses2,2);
- _combine_pulses($pulses4,$pulses3,1);
- $1 = $psRangeEnc$addr;
- $2 = HEAP32[$pulses3>>2]|0;
- $3 = HEAP32[$pulses4>>2]|0;
- _encode_split($1,$2,$3,28660);
- $4 = $psRangeEnc$addr;
- $5 = HEAP32[$pulses2>>2]|0;
- $6 = HEAP32[$pulses3>>2]|0;
- _encode_split($4,$5,$6,28508);
- $7 = $psRangeEnc$addr;
- $8 = HEAP32[$pulses1>>2]|0;
- $9 = HEAP32[$pulses2>>2]|0;
- _encode_split($7,$8,$9,28356);
- $10 = $psRangeEnc$addr;
- $11 = $pulses0$addr;
- $12 = HEAP32[$11>>2]|0;
- $13 = HEAP32[$pulses1>>2]|0;
- _encode_split($10,$12,$13,28204);
- $14 = $psRangeEnc$addr;
- $15 = $pulses0$addr;
- $arrayidx14 = ((($15)) + 8|0);
- $16 = HEAP32[$arrayidx14>>2]|0;
- $arrayidx15 = ((($pulses1)) + 4|0);
- $17 = HEAP32[$arrayidx15>>2]|0;
- _encode_split($14,$16,$17,28204);
- $18 = $psRangeEnc$addr;
- $arrayidx16 = ((($pulses1)) + 8|0);
- $19 = HEAP32[$arrayidx16>>2]|0;
- $arrayidx17 = ((($pulses2)) + 4|0);
- $20 = HEAP32[$arrayidx17>>2]|0;
- _encode_split($18,$19,$20,28356);
- $21 = $psRangeEnc$addr;
- $22 = $pulses0$addr;
- $arrayidx18 = ((($22)) + 16|0);
- $23 = HEAP32[$arrayidx18>>2]|0;
- $arrayidx19 = ((($pulses1)) + 8|0);
- $24 = HEAP32[$arrayidx19>>2]|0;
- _encode_split($21,$23,$24,28204);
- $25 = $psRangeEnc$addr;
- $26 = $pulses0$addr;
- $arrayidx20 = ((($26)) + 24|0);
- $27 = HEAP32[$arrayidx20>>2]|0;
- $arrayidx21 = ((($pulses1)) + 12|0);
- $28 = HEAP32[$arrayidx21>>2]|0;
- _encode_split($25,$27,$28,28204);
- $29 = $psRangeEnc$addr;
- $arrayidx22 = ((($pulses2)) + 8|0);
- $30 = HEAP32[$arrayidx22>>2]|0;
- $arrayidx23 = ((($pulses3)) + 4|0);
- $31 = HEAP32[$arrayidx23>>2]|0;
- _encode_split($29,$30,$31,28508);
- $32 = $psRangeEnc$addr;
- $arrayidx24 = ((($pulses1)) + 16|0);
- $33 = HEAP32[$arrayidx24>>2]|0;
- $arrayidx25 = ((($pulses2)) + 8|0);
- $34 = HEAP32[$arrayidx25>>2]|0;
- _encode_split($32,$33,$34,28356);
- $35 = $psRangeEnc$addr;
- $36 = $pulses0$addr;
- $arrayidx26 = ((($36)) + 32|0);
- $37 = HEAP32[$arrayidx26>>2]|0;
- $arrayidx27 = ((($pulses1)) + 16|0);
- $38 = HEAP32[$arrayidx27>>2]|0;
- _encode_split($35,$37,$38,28204);
- $39 = $psRangeEnc$addr;
- $40 = $pulses0$addr;
- $arrayidx28 = ((($40)) + 40|0);
- $41 = HEAP32[$arrayidx28>>2]|0;
- $arrayidx29 = ((($pulses1)) + 20|0);
- $42 = HEAP32[$arrayidx29>>2]|0;
- _encode_split($39,$41,$42,28204);
- $43 = $psRangeEnc$addr;
- $arrayidx30 = ((($pulses1)) + 24|0);
- $44 = HEAP32[$arrayidx30>>2]|0;
- $arrayidx31 = ((($pulses2)) + 12|0);
- $45 = HEAP32[$arrayidx31>>2]|0;
- _encode_split($43,$44,$45,28356);
- $46 = $psRangeEnc$addr;
- $47 = $pulses0$addr;
- $arrayidx32 = ((($47)) + 48|0);
- $48 = HEAP32[$arrayidx32>>2]|0;
- $arrayidx33 = ((($pulses1)) + 24|0);
- $49 = HEAP32[$arrayidx33>>2]|0;
- _encode_split($46,$48,$49,28204);
- $50 = $psRangeEnc$addr;
- $51 = $pulses0$addr;
- $arrayidx34 = ((($51)) + 56|0);
- $52 = HEAP32[$arrayidx34>>2]|0;
- $arrayidx35 = ((($pulses1)) + 28|0);
- $53 = HEAP32[$arrayidx35>>2]|0;
- _encode_split($50,$52,$53,28204);
- STACKTOP = sp;return;
-}
-function _combine_pulses($out,$in,$len) {
- $out = $out|0;
- $in = $in|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add3 = 0, $arrayidx = 0, $arrayidx2 = 0, $arrayidx4 = 0, $cmp = 0, $in$addr = 0, $inc = 0, $k = 0;
- var $len$addr = 0, $mul = 0, $mul1 = 0, $out$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $out$addr = $out;
- $in$addr = $in;
- $len$addr = $len;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $len$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $in$addr;
- $3 = $k;
- $mul = $3<<1;
- $arrayidx = (($2) + ($mul<<2)|0);
- $4 = HEAP32[$arrayidx>>2]|0;
- $5 = $in$addr;
- $6 = $k;
- $mul1 = $6<<1;
- $add = (($mul1) + 1)|0;
- $arrayidx2 = (($5) + ($add<<2)|0);
- $7 = HEAP32[$arrayidx2>>2]|0;
- $add3 = (($4) + ($7))|0;
- $8 = $out$addr;
- $9 = $k;
- $arrayidx4 = (($8) + ($9<<2)|0);
- HEAP32[$arrayidx4>>2] = $add3;
- $10 = $k;
- $inc = (($10) + 1)|0;
- $k = $inc;
- }
- STACKTOP = sp;return;
-}
-function _encode_split($psRangeEnc,$p_child1,$p,$shell_table) {
- $psRangeEnc = $psRangeEnc|0;
- $p_child1 = $p_child1|0;
- $p = $p|0;
- $shell_table = $shell_table|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $idxprom = 0, $p$addr = 0, $p_child1$addr = 0, $psRangeEnc$addr = 0, $shell_table$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psRangeEnc$addr = $psRangeEnc;
- $p_child1$addr = $p_child1;
- $p$addr = $p;
- $shell_table$addr = $shell_table;
- $0 = $p$addr;
- $cmp = ($0|0)>(0);
- if (!($cmp)) {
- STACKTOP = sp;return;
- }
- $1 = $psRangeEnc$addr;
- $2 = $p_child1$addr;
- $3 = $shell_table$addr;
- $4 = $p$addr;
- $arrayidx = (28812 + ($4)|0);
- $5 = HEAP8[$arrayidx>>0]|0;
- $idxprom = $5&255;
- $arrayidx1 = (($3) + ($idxprom)|0);
- _ec_enc_icdf($1,$2,$arrayidx1,8);
- STACKTOP = sp;return;
-}
-function _silk_shell_decoder($pulses0,$psRangeDec,$pulses4) {
- $pulses0 = $pulses0|0;
- $psRangeDec = $psRangeDec|0;
- $pulses4 = $pulses4|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx17 = 0, $arrayidx18 = 0, $arrayidx19 = 0, $arrayidx21 = 0, $arrayidx22 = 0, $arrayidx23 = 0, $arrayidx25 = 0, $arrayidx26 = 0, $arrayidx27 = 0;
- var $arrayidx29 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx33 = 0, $arrayidx34 = 0, $arrayidx35 = 0, $arrayidx37 = 0, $arrayidx38 = 0, $arrayidx39 = 0, $arrayidx41 = 0, $arrayidx42 = 0, $arrayidx43 = 0, $arrayidx45 = 0, $arrayidx46 = 0, $arrayidx47 = 0, $arrayidx49 = 0, $arrayidx50 = 0, $arrayidx51 = 0, $arrayidx53 = 0;
- var $arrayidx54 = 0, $arrayidx55 = 0, $arrayidx6 = 0, $conv = 0, $conv12 = 0, $conv16 = 0, $conv20 = 0, $conv24 = 0, $conv28 = 0, $conv32 = 0, $conv36 = 0, $conv40 = 0, $conv44 = 0, $conv48 = 0, $conv52 = 0, $conv56 = 0, $conv8 = 0, $psRangeDec$addr = 0, $pulses0$addr = 0, $pulses1 = 0;
- var $pulses2 = 0, $pulses3 = 0, $pulses4$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $pulses3 = sp + 40|0;
- $pulses2 = sp + 32|0;
- $pulses1 = sp + 16|0;
- $pulses0$addr = $pulses0;
- $psRangeDec$addr = $psRangeDec;
- $pulses4$addr = $pulses4;
- $arrayidx1 = ((($pulses3)) + 2|0);
- $0 = $psRangeDec$addr;
- $1 = $pulses4$addr;
- _decode_split($pulses3,$arrayidx1,$0,$1,28660);
- $arrayidx3 = ((($pulses2)) + 2|0);
- $2 = $psRangeDec$addr;
- $3 = HEAP16[$pulses3>>1]|0;
- $conv = $3 << 16 >> 16;
- _decode_split($pulses2,$arrayidx3,$2,$conv,28508);
- $arrayidx6 = ((($pulses1)) + 2|0);
- $4 = $psRangeDec$addr;
- $5 = HEAP16[$pulses2>>1]|0;
- $conv8 = $5 << 16 >> 16;
- _decode_split($pulses1,$arrayidx6,$4,$conv8,28356);
- $6 = $pulses0$addr;
- $7 = $pulses0$addr;
- $arrayidx10 = ((($7)) + 2|0);
- $8 = $psRangeDec$addr;
- $9 = HEAP16[$pulses1>>1]|0;
- $conv12 = $9 << 16 >> 16;
- _decode_split($6,$arrayidx10,$8,$conv12,28204);
- $10 = $pulses0$addr;
- $arrayidx13 = ((($10)) + 4|0);
- $11 = $pulses0$addr;
- $arrayidx14 = ((($11)) + 6|0);
- $12 = $psRangeDec$addr;
- $arrayidx15 = ((($pulses1)) + 2|0);
- $13 = HEAP16[$arrayidx15>>1]|0;
- $conv16 = $13 << 16 >> 16;
- _decode_split($arrayidx13,$arrayidx14,$12,$conv16,28204);
- $arrayidx17 = ((($pulses1)) + 4|0);
- $arrayidx18 = ((($pulses1)) + 6|0);
- $14 = $psRangeDec$addr;
- $arrayidx19 = ((($pulses2)) + 2|0);
- $15 = HEAP16[$arrayidx19>>1]|0;
- $conv20 = $15 << 16 >> 16;
- _decode_split($arrayidx17,$arrayidx18,$14,$conv20,28356);
- $16 = $pulses0$addr;
- $arrayidx21 = ((($16)) + 8|0);
- $17 = $pulses0$addr;
- $arrayidx22 = ((($17)) + 10|0);
- $18 = $psRangeDec$addr;
- $arrayidx23 = ((($pulses1)) + 4|0);
- $19 = HEAP16[$arrayidx23>>1]|0;
- $conv24 = $19 << 16 >> 16;
- _decode_split($arrayidx21,$arrayidx22,$18,$conv24,28204);
- $20 = $pulses0$addr;
- $arrayidx25 = ((($20)) + 12|0);
- $21 = $pulses0$addr;
- $arrayidx26 = ((($21)) + 14|0);
- $22 = $psRangeDec$addr;
- $arrayidx27 = ((($pulses1)) + 6|0);
- $23 = HEAP16[$arrayidx27>>1]|0;
- $conv28 = $23 << 16 >> 16;
- _decode_split($arrayidx25,$arrayidx26,$22,$conv28,28204);
- $arrayidx29 = ((($pulses2)) + 4|0);
- $arrayidx30 = ((($pulses2)) + 6|0);
- $24 = $psRangeDec$addr;
- $arrayidx31 = ((($pulses3)) + 2|0);
- $25 = HEAP16[$arrayidx31>>1]|0;
- $conv32 = $25 << 16 >> 16;
- _decode_split($arrayidx29,$arrayidx30,$24,$conv32,28508);
- $arrayidx33 = ((($pulses1)) + 8|0);
- $arrayidx34 = ((($pulses1)) + 10|0);
- $26 = $psRangeDec$addr;
- $arrayidx35 = ((($pulses2)) + 4|0);
- $27 = HEAP16[$arrayidx35>>1]|0;
- $conv36 = $27 << 16 >> 16;
- _decode_split($arrayidx33,$arrayidx34,$26,$conv36,28356);
- $28 = $pulses0$addr;
- $arrayidx37 = ((($28)) + 16|0);
- $29 = $pulses0$addr;
- $arrayidx38 = ((($29)) + 18|0);
- $30 = $psRangeDec$addr;
- $arrayidx39 = ((($pulses1)) + 8|0);
- $31 = HEAP16[$arrayidx39>>1]|0;
- $conv40 = $31 << 16 >> 16;
- _decode_split($arrayidx37,$arrayidx38,$30,$conv40,28204);
- $32 = $pulses0$addr;
- $arrayidx41 = ((($32)) + 20|0);
- $33 = $pulses0$addr;
- $arrayidx42 = ((($33)) + 22|0);
- $34 = $psRangeDec$addr;
- $arrayidx43 = ((($pulses1)) + 10|0);
- $35 = HEAP16[$arrayidx43>>1]|0;
- $conv44 = $35 << 16 >> 16;
- _decode_split($arrayidx41,$arrayidx42,$34,$conv44,28204);
- $arrayidx45 = ((($pulses1)) + 12|0);
- $arrayidx46 = ((($pulses1)) + 14|0);
- $36 = $psRangeDec$addr;
- $arrayidx47 = ((($pulses2)) + 6|0);
- $37 = HEAP16[$arrayidx47>>1]|0;
- $conv48 = $37 << 16 >> 16;
- _decode_split($arrayidx45,$arrayidx46,$36,$conv48,28356);
- $38 = $pulses0$addr;
- $arrayidx49 = ((($38)) + 24|0);
- $39 = $pulses0$addr;
- $arrayidx50 = ((($39)) + 26|0);
- $40 = $psRangeDec$addr;
- $arrayidx51 = ((($pulses1)) + 12|0);
- $41 = HEAP16[$arrayidx51>>1]|0;
- $conv52 = $41 << 16 >> 16;
- _decode_split($arrayidx49,$arrayidx50,$40,$conv52,28204);
- $42 = $pulses0$addr;
- $arrayidx53 = ((($42)) + 28|0);
- $43 = $pulses0$addr;
- $arrayidx54 = ((($43)) + 30|0);
- $44 = $psRangeDec$addr;
- $arrayidx55 = ((($pulses1)) + 14|0);
- $45 = HEAP16[$arrayidx55>>1]|0;
- $conv56 = $45 << 16 >> 16;
- _decode_split($arrayidx53,$arrayidx54,$44,$conv56,28204);
- STACKTOP = sp;return;
-}
-function _decode_split($p_child1,$p_child2,$psRangeDec,$p,$shell_table) {
- $p_child1 = $p_child1|0;
- $p_child2 = $p_child2|0;
- $psRangeDec = $psRangeDec|0;
- $p = $p|0;
- $shell_table = $shell_table|0;
- var $$sink = 0, $$sink1 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arrayidx = 0, $arrayidx1 = 0, $call = 0, $cmp = 0, $conv = 0, $conv4 = 0;
- var $conv5 = 0, $idxprom = 0, $p$addr = 0, $p_child1$addr = 0, $p_child2$addr = 0, $psRangeDec$addr = 0, $shell_table$addr = 0, $sub = 0, label = 0, sp = 0;
+function _gen_toc($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$ = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $p_child1$addr = $p_child1;
- $p_child2$addr = $p_child2;
- $psRangeDec$addr = $psRangeDec;
- $p$addr = $p;
- $shell_table$addr = $shell_table;
- $0 = $p$addr;
- $cmp = ($0|0)>(0);
- if ($cmp) {
- $1 = $psRangeDec$addr;
- $2 = $shell_table$addr;
- $3 = $p$addr;
- $arrayidx = (28812 + ($3)|0);
- $4 = HEAP8[$arrayidx>>0]|0;
- $idxprom = $4&255;
- $arrayidx1 = (($2) + ($idxprom)|0);
- $call = (_ec_dec_icdf($1,$arrayidx1,8)|0);
- $conv = $call&65535;
- $5 = $p_child1$addr;
- HEAP16[$5>>1] = $conv;
- $6 = $p$addr;
- $7 = $p_child1$addr;
- $8 = HEAP16[$7>>1]|0;
- $conv4 = $8 << 16 >> 16;
- $sub = (($6) - ($conv4))|0;
- $conv5 = $sub&65535;
- $9 = $p_child2$addr;
- $$sink = $conv5;$$sink1 = $9;
- HEAP16[$$sink1>>1] = $$sink;
- STACKTOP = sp;return;
- } else {
- $10 = $p_child1$addr;
- HEAP16[$10>>1] = 0;
- $11 = $p_child2$addr;
- $$sink = 0;$$sink1 = $11;
- HEAP16[$$sink1>>1] = $$sink;
- STACKTOP = sp;return;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 0;
+ while(1) {
+ $11 = $5;
+ $12 = ($11|0)<(400);
+ if (!($12)) {
+ break;
+ }
+ $13 = $5;
+ $14 = $13 << 1;
+ $5 = $14;
+ $15 = $8;
+ $16 = (($15) + 1)|0;
+ $8 = $16;
}
-}
-function _silk_HP_variable_cutoff($state_Fxx) {
- $state_Fxx = $state_Fxx|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add34 = 0, $add43 = 0, $add44 = 0, $add76 = 0, $add77 = 0, $and = 0, $and29 = 0, $and35 = 0, $and73 = 0, $call = 0;
- var $call101 = 0, $call111 = 0, $call116 = 0, $call120 = 0, $call125 = 0, $call15 = 0, $call36 = 0, $call79 = 0, $call81 = 0, $call87 = 0, $call92 = 0, $call96 = 0, $cmp = 0, $cmp113 = 0, $cmp122 = 0, $cmp47 = 0, $cmp51 = 0, $cmp53 = 0, $cmp83 = 0, $cmp89 = 0;
- var $cmp98 = 0, $cond = 0, $cond134 = 0, $cond58 = 0, $conv = 0, $conv10 = 0, $conv11 = 0, $conv18 = 0, $conv19 = 0, $conv24 = 0, $conv25 = 0, $conv30 = 0, $conv31 = 0, $conv39 = 0, $conv40 = 0, $conv5 = 0, $conv6 = 0, $conv60 = 0, $conv61 = 0, $conv62 = 0;
- var $conv63 = 0, $conv68 = 0, $conv69 = 0, $conv70 = 0, $conv71 = 0, $delta_freq_Q7 = 0, $div = 0, $fs_kHz = 0, $input_quality_bands_Q15 = 0, $mul = 0, $mul12 = 0, $mul20 = 0, $mul26 = 0, $mul32 = 0, $mul41 = 0, $mul50 = 0, $mul64 = 0, $mul66 = 0, $mul7 = 0, $mul72 = 0;
- var $mul74 = 0, $pitch_freq_Hz_Q16 = 0, $pitch_freq_log_Q7 = 0, $prevLag = 0, $prevSignalType = 0, $psEncC1 = 0, $quality_Q15 = 0, $shl = 0, $shl102 = 0, $shl112 = 0, $shl117 = 0, $shl121 = 0, $shl126 = 0, $shl22 = 0, $shl28 = 0, $shl4 = 0, $shl80 = 0, $shl82 = 0, $shl88 = 0, $shl9 = 0;
- var $shl93 = 0, $shl97 = 0, $shr = 0, $shr13 = 0, $shr14 = 0, $shr23 = 0, $shr33 = 0, $shr42 = 0, $shr45 = 0, $shr65 = 0, $shr75 = 0, $speech_activity_Q8 = 0, $speech_activity_Q867 = 0, $state_Fxx$addr = 0, $sub = 0, $sub16 = 0, $sub17 = 0, $sub21 = 0, $sub27 = 0, $sub3 = 0;
- var $sub37 = 0, $sub38 = 0, $sub46 = 0, $sub8 = 0, $variable_HP_smth1_Q15 = 0, $variable_HP_smth1_Q15104 = 0, $variable_HP_smth1_Q15119 = 0, $variable_HP_smth1_Q15128 = 0, $variable_HP_smth1_Q15135 = 0, $variable_HP_smth1_Q1559 = 0, $variable_HP_smth1_Q1578 = 0, $variable_HP_smth1_Q1586 = 0, $variable_HP_smth1_Q1595 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $state_Fxx$addr = $state_Fxx;
- $0 = $state_Fxx$addr;
- $psEncC1 = $0;
- $1 = $psEncC1;
- $prevSignalType = ((($1)) + 4565|0);
- $2 = HEAP8[$prevSignalType>>0]|0;
- $conv = $2 << 24 >> 24;
- $cmp = ($conv|0)==(2);
- if (!($cmp)) {
- STACKTOP = sp;return;
- }
- $3 = $psEncC1;
- $fs_kHz = ((($3)) + 4600|0);
- $4 = HEAP32[$fs_kHz>>2]|0;
- $mul = ($4*1000)|0;
- $shl = $mul << 16;
- $5 = $psEncC1;
- $prevLag = ((($5)) + 4568|0);
- $6 = HEAP32[$prevLag>>2]|0;
- $div = (($shl|0) / ($6|0))&-1;
- $pitch_freq_Hz_Q16 = $div;
- $7 = $pitch_freq_Hz_Q16;
- $call = (_silk_lin2log($7)|0);
- $sub = (($call) - 2048)|0;
- $pitch_freq_log_Q7 = $sub;
- $8 = $psEncC1;
- $input_quality_bands_Q15 = ((($8)) + 4728|0);
- $9 = HEAP32[$input_quality_bands_Q15>>2]|0;
- $quality_Q15 = $9;
- $10 = $pitch_freq_log_Q7;
- $11 = $quality_Q15;
- $sub3 = (0 - ($11))|0;
- $shl4 = $sub3 << 2;
- $shr = $shl4 >> 16;
- $12 = $quality_Q15;
- $conv5 = $12&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = Math_imul($shr, $conv6)|0;
- $13 = $quality_Q15;
- $sub8 = (0 - ($13))|0;
- $shl9 = $sub8 << 2;
- $and = $shl9 & 65535;
- $14 = $quality_Q15;
- $conv10 = $14&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = Math_imul($and, $conv11)|0;
- $shr13 = $mul12 >> 16;
- $add = (($mul7) + ($shr13))|0;
- $shr14 = $add >> 16;
- $15 = $pitch_freq_log_Q7;
- $call15 = (_silk_lin2log(3932160)|0);
- $sub16 = (($call15) - 2048)|0;
- $sub17 = (($15) - ($sub16))|0;
- $conv18 = $sub17&65535;
- $conv19 = $conv18 << 16 >> 16;
- $mul20 = Math_imul($shr14, $conv19)|0;
- $16 = $quality_Q15;
- $sub21 = (0 - ($16))|0;
- $shl22 = $sub21 << 2;
- $shr23 = $shl22 >> 16;
- $17 = $quality_Q15;
- $conv24 = $17&65535;
- $conv25 = $conv24 << 16 >> 16;
- $mul26 = Math_imul($shr23, $conv25)|0;
- $18 = $quality_Q15;
- $sub27 = (0 - ($18))|0;
- $shl28 = $sub27 << 2;
- $and29 = $shl28 & 65535;
- $19 = $quality_Q15;
- $conv30 = $19&65535;
- $conv31 = $conv30 << 16 >> 16;
- $mul32 = Math_imul($and29, $conv31)|0;
- $shr33 = $mul32 >> 16;
- $add34 = (($mul26) + ($shr33))|0;
- $and35 = $add34 & 65535;
- $20 = $pitch_freq_log_Q7;
- $call36 = (_silk_lin2log(3932160)|0);
- $sub37 = (($call36) - 2048)|0;
- $sub38 = (($20) - ($sub37))|0;
- $conv39 = $sub38&65535;
- $conv40 = $conv39 << 16 >> 16;
- $mul41 = Math_imul($and35, $conv40)|0;
- $shr42 = $mul41 >> 16;
- $add43 = (($mul20) + ($shr42))|0;
- $add44 = (($10) + ($add43))|0;
- $pitch_freq_log_Q7 = $add44;
- $21 = $pitch_freq_log_Q7;
- $22 = $psEncC1;
- $variable_HP_smth1_Q15 = ((($22)) + 8|0);
- $23 = HEAP32[$variable_HP_smth1_Q15>>2]|0;
- $shr45 = $23 >> 8;
- $sub46 = (($21) - ($shr45))|0;
- $delta_freq_Q7 = $sub46;
- $24 = $delta_freq_Q7;
- $cmp47 = ($24|0)<(0);
- if ($cmp47) {
- $25 = $delta_freq_Q7;
- $mul50 = ($25*3)|0;
- $delta_freq_Q7 = $mul50;
- }
- $26 = $delta_freq_Q7;
- $cmp51 = ($26|0)>(51);
- if ($cmp51) {
- $cond58 = 51;
- } else {
- $27 = $delta_freq_Q7;
- $cmp53 = ($27|0)<(-51);
- $28 = $delta_freq_Q7;
- $cond = $cmp53 ? -51 : $28;
- $cond58 = $cond;
- }
- $delta_freq_Q7 = $cond58;
- $29 = $psEncC1;
- $variable_HP_smth1_Q1559 = ((($29)) + 8|0);
- $30 = HEAP32[$variable_HP_smth1_Q1559>>2]|0;
- $31 = $psEncC1;
- $speech_activity_Q8 = ((($31)) + 4556|0);
- $32 = HEAP32[$speech_activity_Q8>>2]|0;
- $conv60 = $32&65535;
- $conv61 = $conv60 << 16 >> 16;
- $33 = $delta_freq_Q7;
- $conv62 = $33&65535;
- $conv63 = $conv62 << 16 >> 16;
- $mul64 = Math_imul($conv61, $conv63)|0;
- $shr65 = $mul64 >> 16;
- $mul66 = ($shr65*6554)|0;
- $34 = $psEncC1;
- $speech_activity_Q867 = ((($34)) + 4556|0);
- $35 = HEAP32[$speech_activity_Q867>>2]|0;
- $conv68 = $35&65535;
- $conv69 = $conv68 << 16 >> 16;
- $36 = $delta_freq_Q7;
- $conv70 = $36&65535;
- $conv71 = $conv70 << 16 >> 16;
- $mul72 = Math_imul($conv69, $conv71)|0;
- $and73 = $mul72 & 65535;
- $mul74 = ($and73*6554)|0;
- $shr75 = $mul74 >> 16;
- $add76 = (($mul66) + ($shr75))|0;
- $add77 = (($30) + ($add76))|0;
- $37 = $psEncC1;
- $variable_HP_smth1_Q1578 = ((($37)) + 8|0);
- HEAP32[$variable_HP_smth1_Q1578>>2] = $add77;
- $call79 = (_silk_lin2log(60)|0);
- $shl80 = $call79 << 8;
- $call81 = (_silk_lin2log(100)|0);
- $shl82 = $call81 << 8;
- $cmp83 = ($shl80|0)>($shl82|0);
- $38 = $psEncC1;
- $variable_HP_smth1_Q1586 = ((($38)) + 8|0);
- $39 = HEAP32[$variable_HP_smth1_Q1586>>2]|0;
+ $17 = $4;
+ $18 = ($17|0)==(1000);
do {
- if ($cmp83) {
- $call87 = (_silk_lin2log(60)|0);
- $shl88 = $call87 << 8;
- $cmp89 = ($39|0)>($shl88|0);
- if ($cmp89) {
- $call92 = (_silk_lin2log(60)|0);
- $shl93 = $call92 << 8;
- $cond134 = $shl93;
- break;
- }
- $40 = $psEncC1;
- $variable_HP_smth1_Q1595 = ((($40)) + 8|0);
- $41 = HEAP32[$variable_HP_smth1_Q1595>>2]|0;
- $call96 = (_silk_lin2log(100)|0);
- $shl97 = $call96 << 8;
- $cmp98 = ($41|0)<($shl97|0);
- if ($cmp98) {
- $call101 = (_silk_lin2log(100)|0);
- $shl102 = $call101 << 8;
- $cond134 = $shl102;
- break;
- } else {
- $42 = $psEncC1;
- $variable_HP_smth1_Q15104 = ((($42)) + 8|0);
- $43 = HEAP32[$variable_HP_smth1_Q15104>>2]|0;
- $cond134 = $43;
- break;
- }
+ if ($18) {
+ $19 = $6;
+ $20 = (($19) - 1101)|0;
+ $21 = $20 << 5;
+ $22 = $21&255;
+ $9 = $22;
+ $23 = $8;
+ $24 = (($23) - 2)|0;
+ $25 = $24 << 3;
+ $26 = $9;
+ $27 = $26&255;
+ $28 = $27 | $25;
+ $29 = $28&255;
+ $9 = $29;
} else {
- $call111 = (_silk_lin2log(100)|0);
- $shl112 = $call111 << 8;
- $cmp113 = ($39|0)>($shl112|0);
- if ($cmp113) {
- $call116 = (_silk_lin2log(100)|0);
- $shl117 = $call116 << 8;
- $cond134 = $shl117;
- break;
- }
- $44 = $psEncC1;
- $variable_HP_smth1_Q15119 = ((($44)) + 8|0);
- $45 = HEAP32[$variable_HP_smth1_Q15119>>2]|0;
- $call120 = (_silk_lin2log(60)|0);
- $shl121 = $call120 << 8;
- $cmp122 = ($45|0)<($shl121|0);
- if ($cmp122) {
- $call125 = (_silk_lin2log(60)|0);
- $shl126 = $call125 << 8;
- $cond134 = $shl126;
+ $30 = $4;
+ $31 = ($30|0)==(1002);
+ if ($31) {
+ $32 = $6;
+ $33 = (($32) - 1102)|0;
+ $10 = $33;
+ $34 = $10;
+ $35 = ($34|0)<(0);
+ $$ = $35 ? 0 : $33;
+ $10 = $$;
+ $9 = -128;
+ $36 = $10;
+ $37 = $36 << 5;
+ $38 = $9;
+ $39 = $38&255;
+ $40 = $39 | $37;
+ $41 = $40&255;
+ $9 = $41;
+ $42 = $8;
+ $43 = $42 << 3;
+ $44 = $9;
+ $45 = $44&255;
+ $46 = $45 | $43;
+ $47 = $46&255;
+ $9 = $47;
break;
} else {
- $46 = $psEncC1;
- $variable_HP_smth1_Q15128 = ((($46)) + 8|0);
- $47 = HEAP32[$variable_HP_smth1_Q15128>>2]|0;
- $cond134 = $47;
+ $9 = 96;
+ $48 = $6;
+ $49 = (($48) - 1104)|0;
+ $50 = $49 << 4;
+ $51 = $9;
+ $52 = $51&255;
+ $53 = $52 | $50;
+ $54 = $53&255;
+ $9 = $54;
+ $55 = $8;
+ $56 = (($55) - 2)|0;
+ $57 = $56 << 3;
+ $58 = $9;
+ $59 = $58&255;
+ $60 = $59 | $57;
+ $61 = $60&255;
+ $9 = $61;
break;
}
}
} while(0);
- $48 = $psEncC1;
- $variable_HP_smth1_Q15135 = ((($48)) + 8|0);
- HEAP32[$variable_HP_smth1_Q15135>>2] = $cond134;
- STACKTOP = sp;return;
-}
-function _silk_NLSF_unpack($ec_ix,$pred_Q8,$psNLSF_CB,$CB1_index) {
- $ec_ix = $ec_ix|0;
- $pred_Q8 = $pred_Q8|0;
- $psNLSF_CB = $psNLSF_CB|0;
- $CB1_index = $CB1_index|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $CB1_index$addr = 0, $add = 0, $add26 = 0, $add36 = 0, $add37 = 0;
- var $add39 = 0, $add41 = 0, $and = 0, $and13 = 0, $and21 = 0, $and31 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx17 = 0, $arrayidx18 = 0, $arrayidx27 = 0, $arrayidx38 = 0, $arrayidx40 = 0, $cmp = 0, $conv = 0, $conv12 = 0, $conv15 = 0, $conv19 = 0, $conv22 = 0, $conv23 = 0;
- var $conv25 = 0, $conv29 = 0, $conv3 = 0, $conv33 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $conv9 = 0, $div = 0, $ec_ix$addr = 0, $ec_sel = 0, $ec_sel_ptr = 0, $entry1 = 0, $i = 0, $incdec$ptr = 0, $mul = 0, $mul16 = 0, $mul24 = 0, $mul35 = 0, $mul8 = 0;
- var $order = 0, $order14 = 0, $order2 = 0, $order32 = 0, $pred_Q8$addr = 0, $pred_Q811 = 0, $pred_Q828 = 0, $psNLSF_CB$addr = 0, $shr = 0, $shr20 = 0, $shr30 = 0, $sub = 0, $sub34 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $ec_ix$addr = $ec_ix;
- $pred_Q8$addr = $pred_Q8;
- $psNLSF_CB$addr = $psNLSF_CB;
- $CB1_index$addr = $CB1_index;
- $0 = $psNLSF_CB$addr;
- $ec_sel = ((($0)) + 20|0);
- $1 = HEAP32[$ec_sel>>2]|0;
- $2 = $CB1_index$addr;
- $3 = $psNLSF_CB$addr;
- $order = ((($3)) + 2|0);
- $4 = HEAP16[$order>>1]|0;
- $conv = $4 << 16 >> 16;
- $mul = Math_imul($2, $conv)|0;
- $div = (($mul|0) / 2)&-1;
- $arrayidx = (($1) + ($div)|0);
- $ec_sel_ptr = $arrayidx;
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $psNLSF_CB$addr;
- $order2 = ((($6)) + 2|0);
- $7 = HEAP16[$order2>>1]|0;
- $conv3 = $7 << 16 >> 16;
- $cmp = ($5|0)<($conv3|0);
- if (!($cmp)) {
- break;
- }
- $8 = $ec_sel_ptr;
- $incdec$ptr = ((($8)) + 1|0);
- $ec_sel_ptr = $incdec$ptr;
- $9 = HEAP8[$8>>0]|0;
- $entry1 = $9;
- $10 = $entry1;
- $conv5 = $10&255;
- $shr = $conv5 >> 1;
- $and = $shr & 7;
- $conv6 = $and&65535;
- $conv7 = $conv6 << 16 >> 16;
- $mul8 = ($conv7*9)|0;
- $conv9 = $mul8&65535;
- $11 = $ec_ix$addr;
- $12 = $i;
- $arrayidx10 = (($11) + ($12<<1)|0);
- HEAP16[$arrayidx10>>1] = $conv9;
- $13 = $psNLSF_CB$addr;
- $pred_Q811 = ((($13)) + 16|0);
- $14 = HEAP32[$pred_Q811>>2]|0;
- $15 = $i;
- $16 = $entry1;
- $conv12 = $16&255;
- $and13 = $conv12 & 1;
- $17 = $psNLSF_CB$addr;
- $order14 = ((($17)) + 2|0);
- $18 = HEAP16[$order14>>1]|0;
- $conv15 = $18 << 16 >> 16;
- $sub = (($conv15) - 1)|0;
- $mul16 = Math_imul($and13, $sub)|0;
- $add = (($15) + ($mul16))|0;
- $arrayidx17 = (($14) + ($add)|0);
- $19 = HEAP8[$arrayidx17>>0]|0;
- $20 = $pred_Q8$addr;
- $21 = $i;
- $arrayidx18 = (($20) + ($21)|0);
- HEAP8[$arrayidx18>>0] = $19;
- $22 = $entry1;
- $conv19 = $22&255;
- $shr20 = $conv19 >> 5;
- $and21 = $shr20 & 7;
- $conv22 = $and21&65535;
- $conv23 = $conv22 << 16 >> 16;
- $mul24 = ($conv23*9)|0;
- $conv25 = $mul24&65535;
- $23 = $ec_ix$addr;
- $24 = $i;
- $add26 = (($24) + 1)|0;
- $arrayidx27 = (($23) + ($add26<<1)|0);
- HEAP16[$arrayidx27>>1] = $conv25;
- $25 = $psNLSF_CB$addr;
- $pred_Q828 = ((($25)) + 16|0);
- $26 = HEAP32[$pred_Q828>>2]|0;
- $27 = $i;
- $28 = $entry1;
- $conv29 = $28&255;
- $shr30 = $conv29 >> 4;
- $and31 = $shr30 & 1;
- $29 = $psNLSF_CB$addr;
- $order32 = ((($29)) + 2|0);
- $30 = HEAP16[$order32>>1]|0;
- $conv33 = $30 << 16 >> 16;
- $sub34 = (($conv33) - 1)|0;
- $mul35 = Math_imul($and31, $sub34)|0;
- $add36 = (($27) + ($mul35))|0;
- $add37 = (($add36) + 1)|0;
- $arrayidx38 = (($26) + ($add37)|0);
- $31 = HEAP8[$arrayidx38>>0]|0;
- $32 = $pred_Q8$addr;
- $33 = $i;
- $add39 = (($33) + 1)|0;
- $arrayidx40 = (($32) + ($add39)|0);
- HEAP8[$arrayidx40>>0] = $31;
- $34 = $i;
- $add41 = (($34) + 2)|0;
- $i = $add41;
- }
- STACKTOP = sp;return;
-}
-function _silk_stereo_LR_to_MS($state,$x1,$x2,$ix,$mid_only_flag,$mid_side_rates_bps,$total_rate_bps,$prev_speech_act_Q8,$toMono,$fs_kHz,$frame_length) {
- $state = $state|0;
- $x1 = $x1|0;
- $x2 = $x2|0;
- $ix = $ix|0;
- $mid_only_flag = $mid_only_flag|0;
- $mid_side_rates_bps = $mid_side_rates_bps|0;
- $total_rate_bps = $total_rate_bps|0;
- $prev_speech_act_Q8 = $prev_speech_act_Q8|0;
- $toMono = $toMono|0;
- $fs_kHz = $fs_kHz|0;
- $frame_length = $frame_length|0;
- var $$sub145 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0;
- var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
- var $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0;
- var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0;
- var $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
- var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0;
- var $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0;
- var $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0;
- var $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0;
- var $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0;
- var $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0;
- var $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0;
- var $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
- var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
- var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
- var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
- var $97 = 0, $98 = 0, $99 = 0, $HP_ratio_Q14 = 0, $LP_ratio_Q14 = 0, $add = 0, $add1 = 0, $add126 = 0, $add136 = 0, $add14 = 0, $add151 = 0, $add153 = 0, $add167 = 0, $add172 = 0, $add178 = 0, $add19 = 0, $add212 = 0, $add213 = 0, $add238 = 0, $add24 = 0;
- var $add283 = 0, $add31 = 0, $add344 = 0, $add394 = 0, $add408 = 0, $add426 = 0, $add433 = 0, $add434 = 0, $add435 = 0, $add438 = 0, $add441 = 0, $add442 = 0, $add446 = 0, $add449 = 0, $add454 = 0, $add459 = 0, $add469 = 0, $add470 = 0, $add471 = 0, $add479 = 0;
- var $add488 = 0, $add489 = 0, $add491 = 0, $add498 = 0, $add505 = 0, $add51 = 0, $add529 = 0, $add532 = 0, $add533 = 0, $add537 = 0, $add54 = 0, $add540 = 0, $add545 = 0, $add55 = 0, $add550 = 0, $add560 = 0, $add561 = 0, $add562 = 0, $add570 = 0, $add579 = 0;
- var $add58 = 0, $add580 = 0, $add582 = 0, $add589 = 0, $add596 = 0, $add6 = 0, $add60 = 0, $add64 = 0, $add81 = 0, $add84 = 0, $add85 = 0, $add89 = 0, $add91 = 0, $add95 = 0, $and = 0, $and121 = 0, $and173 = 0, $and18 = 0, $and207 = 0, $and23 = 0;
- var $and233 = 0, $and278 = 0, $and30 = 0, $and421 = 0, $and453 = 0, $and464 = 0, $and483 = 0, $and544 = 0, $and555 = 0, $and574 = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx11 = 0, $arrayidx130 = 0, $arrayidx132 = 0, $arrayidx16 = 0, $arrayidx163 = 0, $arrayidx164 = 0, $arrayidx194 = 0, $arrayidx2 = 0;
- var $arrayidx219 = 0, $arrayidx252 = 0, $arrayidx257 = 0, $arrayidx260 = 0, $arrayidx262 = 0, $arrayidx297 = 0, $arrayidx302 = 0, $arrayidx305 = 0, $arrayidx324 = 0, $arrayidx329 = 0, $arrayidx35 = 0, $arrayidx362 = 0, $arrayidx366 = 0, $arrayidx367 = 0, $arrayidx376 = 0, $arrayidx39 = 0, $arrayidx397 = 0, $arrayidx399 = 0, $arrayidx4 = 0, $arrayidx42 = 0;
- var $arrayidx436 = 0, $arrayidx439 = 0, $arrayidx443 = 0, $arrayidx450 = 0, $arrayidx455 = 0, $arrayidx472 = 0, $arrayidx480 = 0, $arrayidx49 = 0, $arrayidx513 = 0, $arrayidx519 = 0, $arrayidx52 = 0, $arrayidx527 = 0, $arrayidx530 = 0, $arrayidx534 = 0, $arrayidx541 = 0, $arrayidx546 = 0, $arrayidx56 = 0, $arrayidx563 = 0, $arrayidx571 = 0, $arrayidx604 = 0;
- var $arrayidx612 = 0, $arrayidx615 = 0, $arrayidx63 = 0, $arrayidx65 = 0, $arrayidx69 = 0, $arrayidx79 = 0, $arrayidx8 = 0, $arrayidx82 = 0, $arrayidx86 = 0, $arrayidx94 = 0, $arrayidx96 = 0, $call = 0, $call131 = 0, $call154 = 0, $call179 = 0, $call369 = 0, $cmp = 0, $cmp104 = 0, $cmp137 = 0, $cmp146 = 0;
- var $cmp157 = 0, $cmp180 = 0, $cmp184 = 0, $cmp20 = 0, $cmp223 = 0, $cmp227 = 0, $cmp239 = 0, $cmp25 = 0, $cmp266 = 0, $cmp271 = 0, $cmp284 = 0, $cmp309 = 0, $cmp338 = 0, $cmp349 = 0, $cmp359 = 0, $cmp363 = 0, $cmp430 = 0, $cmp46 = 0, $cmp493 = 0, $cmp500 = 0;
- var $cmp524 = 0, $cmp584 = 0, $cmp591 = 0, $cmp76 = 0, $cond106 = 0, $cond142 = 0, $cond144 = 0, $cond189 = 0, $cond191 = 0, $cond33 = 0, $cond510 = 0, $cond601 = 0, $conv = 0, $conv105 = 0, $conv107 = 0, $conv108 = 0, $conv109 = 0, $conv110 = 0, $conv113 = 0, $conv114 = 0;
- var $conv116 = 0, $conv117 = 0, $conv118 = 0, $conv119 = 0, $conv12 = 0, $conv122 = 0, $conv123 = 0, $conv133 = 0, $conv134 = 0, $conv148 = 0, $conv149 = 0, $conv15 = 0, $conv169 = 0, $conv170 = 0, $conv174 = 0, $conv175 = 0, $conv196 = 0, $conv198 = 0, $conv201 = 0, $conv202 = 0;
- var $conv205 = 0, $conv208 = 0, $conv209 = 0, $conv214 = 0, $conv222 = 0, $conv231 = 0, $conv235 = 0, $conv243 = 0, $conv245 = 0, $conv246 = 0, $conv251 = 0, $conv253 = 0, $conv254 = 0, $conv265 = 0, $conv276 = 0, $conv280 = 0, $conv288 = 0, $conv290 = 0, $conv291 = 0, $conv296 = 0;
- var $conv298 = 0, $conv299 = 0, $conv308 = 0, $conv315 = 0, $conv317 = 0, $conv318 = 0, $conv323 = 0, $conv325 = 0, $conv326 = 0, $conv332 = 0, $conv337 = 0, $conv34 = 0, $conv343 = 0, $conv345 = 0, $conv347 = 0, $conv358 = 0, $conv373 = 0, $conv377 = 0, $conv380 = 0, $conv386 = 0;
- var $conv388 = 0, $conv389 = 0, $conv390 = 0, $conv391 = 0, $conv400 = 0, $conv402 = 0, $conv403 = 0, $conv404 = 0, $conv405 = 0, $conv412 = 0, $conv415 = 0, $conv416 = 0, $conv419 = 0, $conv422 = 0, $conv423 = 0, $conv437 = 0, $conv440 = 0, $conv444 = 0, $conv451 = 0, $conv456 = 0;
- var $conv461 = 0, $conv462 = 0, $conv465 = 0, $conv466 = 0, $conv473 = 0, $conv476 = 0, $conv477 = 0, $conv481 = 0, $conv484 = 0, $conv485 = 0, $conv5 = 0, $conv50 = 0, $conv511 = 0, $conv528 = 0, $conv53 = 0, $conv531 = 0, $conv535 = 0, $conv542 = 0, $conv547 = 0, $conv552 = 0;
- var $conv553 = 0, $conv556 = 0, $conv557 = 0, $conv564 = 0, $conv567 = 0, $conv568 = 0, $conv57 = 0, $conv572 = 0, $conv575 = 0, $conv576 = 0, $conv602 = 0, $conv609 = 0, $conv613 = 0, $conv616 = 0, $conv62 = 0, $conv66 = 0, $conv68 = 0, $conv80 = 0, $conv83 = 0, $conv87 = 0;
- var $conv9 = 0, $conv93 = 0, $conv97 = 0, $conv99 = 0, $delta0_Q13 = 0, $delta1_Q13 = 0, $deltaw_Q24 = 0, $denom_Q16 = 0, $diff = 0, $div = 0, $frac_3_Q16 = 0, $frac_Q16 = 0, $frame_length$addr = 0, $fs_kHz$addr = 0, $inc = 0, $inc102 = 0, $inc515 = 0, $inc606 = 0, $inc71 = 0, $is10msFrame = 0;
- var $ix$addr = 0, $mid = 0, $mid_only_flag$addr = 0, $mid_side_amp_Q0 = 0, $mid_side_amp_Q0129 = 0, $mid_side_rates_bps$addr = 0, $min_mid_rate_bps = 0, $mul = 0, $mul111 = 0, $mul115 = 0, $mul120 = 0, $mul124 = 0, $mul135 = 0, $mul150 = 0, $mul152 = 0, $mul171 = 0, $mul176 = 0, $mul203 = 0, $mul210 = 0, $mul225 = 0;
- var $mul226 = 0, $mul232 = 0, $mul236 = 0, $mul247 = 0, $mul255 = 0, $mul269 = 0, $mul270 = 0, $mul277 = 0, $mul281 = 0, $mul292 = 0, $mul300 = 0, $mul319 = 0, $mul327 = 0, $mul341 = 0, $mul348 = 0, $mul382 = 0, $mul392 = 0, $mul406 = 0, $mul417 = 0, $mul424 = 0;
- var $mul429 = 0, $mul452 = 0, $mul457 = 0, $mul463 = 0, $mul467 = 0, $mul478 = 0, $mul486 = 0, $mul522 = 0, $mul543 = 0, $mul548 = 0, $mul554 = 0, $mul558 = 0, $mul569 = 0, $mul577 = 0, $n = 0, $pred0_Q13 = 0, $pred1_Q13 = 0, $pred_Q13 = 0, $prev_speech_act_Q8$addr = 0, $sMid = 0;
- var $sMid37 = 0, $sSide = 0, $sSide40 = 0, $saved_stack = 0, $shl = 0, $shl165 = 0, $shl381 = 0, $shl427 = 0, $shl445 = 0, $shl447 = 0, $shl474 = 0, $shl482 = 0, $shl521 = 0, $shl536 = 0, $shl538 = 0, $shl565 = 0, $shl573 = 0, $shl88 = 0, $shr = 0, $shr112 = 0;
- var $shr125 = 0, $shr168 = 0, $shr17 = 0, $shr177 = 0, $shr200 = 0, $shr211 = 0, $shr22 = 0, $shr229 = 0, $shr237 = 0, $shr248 = 0, $shr256 = 0, $shr274 = 0, $shr282 = 0, $shr29 = 0, $shr293 = 0, $shr301 = 0, $shr320 = 0, $shr328 = 0, $shr393 = 0, $shr395 = 0;
- var $shr407 = 0, $shr409 = 0, $shr414 = 0, $shr425 = 0, $shr448 = 0, $shr458 = 0, $shr460 = 0, $shr468 = 0, $shr475 = 0, $shr487 = 0, $shr490 = 0, $shr492 = 0, $shr497 = 0, $shr499 = 0, $shr504 = 0, $shr506 = 0, $shr539 = 0, $shr549 = 0, $shr551 = 0, $shr559 = 0;
- var $shr566 = 0, $shr578 = 0, $shr581 = 0, $shr583 = 0, $shr588 = 0, $shr59 = 0, $shr590 = 0, $shr595 = 0, $shr597 = 0, $shr61 = 0, $shr90 = 0, $shr92 = 0, $silent_side_len = 0, $silent_side_len346 = 0, $silent_side_len353 = 0, $silent_side_len356 = 0, $smooth_coef_Q16 = 0, $smth_width_Q14 = 0, $smth_width_Q14197 = 0, $smth_width_Q14204 = 0;
- var $smth_width_Q14215 = 0, $smth_width_Q14230 = 0, $smth_width_Q14234 = 0, $smth_width_Q14242 = 0, $smth_width_Q14250 = 0, $smth_width_Q14275 = 0, $smth_width_Q14279 = 0, $smth_width_Q14287 = 0, $smth_width_Q14295 = 0, $smth_width_Q14307 = 0, $smth_width_Q14314 = 0, $smth_width_Q14322 = 0, $smth_width_Q14331 = 0, $state$addr = 0, $sub = 0, $sub10 = 0, $sub13 = 0, $sub145 = 0, $sub162 = 0, $sub166 = 0;
- var $sub193 = 0, $sub199 = 0, $sub206 = 0, $sub3 = 0, $sub342 = 0, $sub368 = 0, $sub374 = 0, $sub378 = 0, $sub387 = 0, $sub396 = 0, $sub401 = 0, $sub410 = 0, $sub413 = 0, $sub420 = 0, $sub512 = 0, $sub518 = 0, $sub520 = 0, $sub603 = 0, $sub67 = 0, $sub7 = 0;
- var $sub98 = 0, $sum = 0, $toMono$addr = 0, $tobool = 0, $tobool143 = 0, $tobool216 = 0, $total_rate_bps$addr = 0, $vla = 0, $vla$alloca_mul = 0, $vla43 = 0, $vla43$alloca_mul = 0, $vla44 = 0, $vla44$alloca_mul = 0, $vla73 = 0, $vla73$alloca_mul = 0, $vla74 = 0, $vla74$alloca_mul = 0, $w_Q24 = 0, $width_Q14 = 0, $width_prev_Q14 = 0;
- var $width_prev_Q14264 = 0, $width_prev_Q14379 = 0, $width_prev_Q14411 = 0, $width_prev_Q14418 = 0, $width_prev_Q14617 = 0, $x1$addr = 0, $x2$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
- $pred_Q13 = sp + 48|0;
- $LP_ratio_Q14 = sp + 36|0;
- $HP_ratio_Q14 = sp + 32|0;
- $state$addr = $state;
- $x1$addr = $x1;
- $x2$addr = $x2;
- $ix$addr = $ix;
- $mid_only_flag$addr = $mid_only_flag;
- $mid_side_rates_bps$addr = $mid_side_rates_bps;
- $total_rate_bps$addr = $total_rate_bps;
- $prev_speech_act_Q8$addr = $prev_speech_act_Q8;
- $toMono$addr = $toMono;
- $fs_kHz$addr = $fs_kHz;
- $frame_length$addr = $frame_length;
- $0 = $x1$addr;
- $arrayidx = ((($0)) + -4|0);
- $mid = $arrayidx;
- $1 = $frame_length$addr;
- $add = (($1) + 2)|0;
- $2 = (_llvm_stacksave()|0);
- $saved_stack = $2;
- $vla$alloca_mul = $add<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $n = 0;
- while(1) {
- $3 = $n;
- $4 = $frame_length$addr;
- $add1 = (($4) + 2)|0;
- $cmp = ($3|0)<($add1|0);
- if (!($cmp)) {
- break;
- }
- $5 = $x1$addr;
- $6 = $n;
- $sub = (($6) - 2)|0;
- $arrayidx2 = (($5) + ($sub<<1)|0);
- $7 = HEAP16[$arrayidx2>>1]|0;
- $conv = $7 << 16 >> 16;
- $8 = $x2$addr;
- $9 = $n;
- $sub3 = (($9) - 2)|0;
- $arrayidx4 = (($8) + ($sub3<<1)|0);
- $10 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $10 << 16 >> 16;
- $add6 = (($conv) + ($conv5))|0;
- $sum = $add6;
- $11 = $x1$addr;
- $12 = $n;
- $sub7 = (($12) - 2)|0;
- $arrayidx8 = (($11) + ($sub7<<1)|0);
- $13 = HEAP16[$arrayidx8>>1]|0;
- $conv9 = $13 << 16 >> 16;
- $14 = $x2$addr;
- $15 = $n;
- $sub10 = (($15) - 2)|0;
- $arrayidx11 = (($14) + ($sub10<<1)|0);
- $16 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $16 << 16 >> 16;
- $sub13 = (($conv9) - ($conv12))|0;
- $diff = $sub13;
- $17 = $sum;
- $shr = $17 >> 1;
- $18 = $sum;
- $and = $18 & 1;
- $add14 = (($shr) + ($and))|0;
- $conv15 = $add14&65535;
- $19 = $mid;
- $20 = $n;
- $arrayidx16 = (($19) + ($20<<1)|0);
- HEAP16[$arrayidx16>>1] = $conv15;
- $21 = $diff;
- $shr17 = $21 >> 1;
- $22 = $diff;
- $and18 = $22 & 1;
- $add19 = (($shr17) + ($and18))|0;
- $cmp20 = ($add19|0)>(32767);
- if ($cmp20) {
- $cond33 = 32767;
- } else {
- $23 = $diff;
- $shr22 = $23 >> 1;
- $24 = $diff;
- $and23 = $24 & 1;
- $add24 = (($shr22) + ($and23))|0;
- $cmp25 = ($add24|0)<(-32768);
- if ($cmp25) {
- $cond33 = -32768;
- } else {
- $25 = $diff;
- $shr29 = $25 >> 1;
- $26 = $diff;
- $and30 = $26 & 1;
- $add31 = (($shr29) + ($and30))|0;
- $cond33 = $add31;
- }
- }
- $conv34 = $cond33&65535;
- $27 = $n;
- $arrayidx35 = (($vla) + ($27<<1)|0);
- HEAP16[$arrayidx35>>1] = $conv34;
- $28 = $n;
- $inc = (($28) + 1)|0;
- $n = $inc;
- }
- $29 = $mid;
- $30 = $state$addr;
- $sMid = ((($30)) + 4|0);
- ;HEAP16[$29>>1]=HEAP16[$sMid>>1]|0;HEAP16[$29+2>>1]=HEAP16[$sMid+2>>1]|0;
- $31 = $state$addr;
- $sSide = ((($31)) + 8|0);
- ;HEAP16[$vla>>1]=HEAP16[$sSide>>1]|0;HEAP16[$vla+2>>1]=HEAP16[$sSide+2>>1]|0;
- $32 = $state$addr;
- $sMid37 = ((($32)) + 4|0);
- $33 = $mid;
- $34 = $frame_length$addr;
- $arrayidx39 = (($33) + ($34<<1)|0);
- ;HEAP16[$sMid37>>1]=HEAP16[$arrayidx39>>1]|0;HEAP16[$sMid37+2>>1]=HEAP16[$arrayidx39+2>>1]|0;
- $35 = $state$addr;
- $sSide40 = ((($35)) + 8|0);
- $36 = $frame_length$addr;
- $arrayidx42 = (($vla) + ($36<<1)|0);
- ;HEAP16[$sSide40>>1]=HEAP16[$arrayidx42>>1]|0;HEAP16[$sSide40+2>>1]=HEAP16[$arrayidx42+2>>1]|0;
- $37 = $frame_length$addr;
- $vla43$alloca_mul = $37<<1;
- $vla43 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla43$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla43$alloca_mul)|0)+15)&-16)|0);;
- $38 = $frame_length$addr;
- $vla44$alloca_mul = $38<<1;
- $vla44 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla44$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla44$alloca_mul)|0)+15)&-16)|0);;
- $n = 0;
- while(1) {
- $39 = $n;
- $40 = $frame_length$addr;
- $cmp46 = ($39|0)<($40|0);
- if (!($cmp46)) {
- break;
- }
- $41 = $mid;
- $42 = $n;
- $arrayidx49 = (($41) + ($42<<1)|0);
- $43 = HEAP16[$arrayidx49>>1]|0;
- $conv50 = $43 << 16 >> 16;
- $44 = $mid;
- $45 = $n;
- $add51 = (($45) + 2)|0;
- $arrayidx52 = (($44) + ($add51<<1)|0);
- $46 = HEAP16[$arrayidx52>>1]|0;
- $conv53 = $46 << 16 >> 16;
- $add54 = (($conv50) + ($conv53))|0;
- $47 = $mid;
- $48 = $n;
- $add55 = (($48) + 1)|0;
- $arrayidx56 = (($47) + ($add55<<1)|0);
- $49 = HEAP16[$arrayidx56>>1]|0;
- $conv57 = $49 << 16 >> 16;
- $shl = $conv57 << 1;
- $add58 = (($add54) + ($shl))|0;
- $shr59 = $add58 >> 1;
- $add60 = (($shr59) + 1)|0;
- $shr61 = $add60 >> 1;
- $sum = $shr61;
- $50 = $sum;
- $conv62 = $50&65535;
- $51 = $n;
- $arrayidx63 = (($vla43) + ($51<<1)|0);
- HEAP16[$arrayidx63>>1] = $conv62;
- $52 = $mid;
- $53 = $n;
- $add64 = (($53) + 1)|0;
- $arrayidx65 = (($52) + ($add64<<1)|0);
- $54 = HEAP16[$arrayidx65>>1]|0;
- $conv66 = $54 << 16 >> 16;
- $55 = $sum;
- $sub67 = (($conv66) - ($55))|0;
- $conv68 = $sub67&65535;
- $56 = $n;
- $arrayidx69 = (($vla44) + ($56<<1)|0);
- HEAP16[$arrayidx69>>1] = $conv68;
- $57 = $n;
- $inc71 = (($57) + 1)|0;
- $n = $inc71;
- }
- $58 = $frame_length$addr;
- $vla73$alloca_mul = $58<<1;
- $vla73 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla73$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla73$alloca_mul)|0)+15)&-16)|0);;
- $59 = $frame_length$addr;
- $vla74$alloca_mul = $59<<1;
- $vla74 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla74$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla74$alloca_mul)|0)+15)&-16)|0);;
- $n = 0;
- while(1) {
- $60 = $n;
- $61 = $frame_length$addr;
- $cmp76 = ($60|0)<($61|0);
- if (!($cmp76)) {
- break;
- }
- $62 = $n;
- $arrayidx79 = (($vla) + ($62<<1)|0);
- $63 = HEAP16[$arrayidx79>>1]|0;
- $conv80 = $63 << 16 >> 16;
- $64 = $n;
- $add81 = (($64) + 2)|0;
- $arrayidx82 = (($vla) + ($add81<<1)|0);
- $65 = HEAP16[$arrayidx82>>1]|0;
- $conv83 = $65 << 16 >> 16;
- $add84 = (($conv80) + ($conv83))|0;
- $66 = $n;
- $add85 = (($66) + 1)|0;
- $arrayidx86 = (($vla) + ($add85<<1)|0);
- $67 = HEAP16[$arrayidx86>>1]|0;
- $conv87 = $67 << 16 >> 16;
- $shl88 = $conv87 << 1;
- $add89 = (($add84) + ($shl88))|0;
- $shr90 = $add89 >> 1;
- $add91 = (($shr90) + 1)|0;
- $shr92 = $add91 >> 1;
- $sum = $shr92;
- $68 = $sum;
- $conv93 = $68&65535;
- $69 = $n;
- $arrayidx94 = (($vla73) + ($69<<1)|0);
- HEAP16[$arrayidx94>>1] = $conv93;
- $70 = $n;
- $add95 = (($70) + 1)|0;
- $arrayidx96 = (($vla) + ($add95<<1)|0);
- $71 = HEAP16[$arrayidx96>>1]|0;
- $conv97 = $71 << 16 >> 16;
- $72 = $sum;
- $sub98 = (($conv97) - ($72))|0;
- $conv99 = $sub98&65535;
- $73 = $n;
- $arrayidx100 = (($vla74) + ($73<<1)|0);
- HEAP16[$arrayidx100>>1] = $conv99;
- $74 = $n;
- $inc102 = (($74) + 1)|0;
- $n = $inc102;
- }
- $75 = $frame_length$addr;
- $76 = $fs_kHz$addr;
- $mul = ($76*10)|0;
- $cmp104 = ($75|0)==($mul|0);
- $conv105 = $cmp104&1;
- $is10msFrame = $conv105;
- $77 = $is10msFrame;
- $tobool = ($77|0)!=(0);
- $cond106 = $tobool ? 328 : 655;
- $smooth_coef_Q16 = $cond106;
- $78 = $prev_speech_act_Q8$addr;
- $conv107 = $78&65535;
- $conv108 = $conv107 << 16 >> 16;
- $79 = $prev_speech_act_Q8$addr;
- $conv109 = $79&65535;
- $conv110 = $conv109 << 16 >> 16;
- $mul111 = Math_imul($conv108, $conv110)|0;
- $shr112 = $mul111 >> 16;
- $80 = $smooth_coef_Q16;
- $conv113 = $80&65535;
- $conv114 = $conv113 << 16 >> 16;
- $mul115 = Math_imul($shr112, $conv114)|0;
- $81 = $prev_speech_act_Q8$addr;
- $conv116 = $81&65535;
- $conv117 = $conv116 << 16 >> 16;
- $82 = $prev_speech_act_Q8$addr;
- $conv118 = $82&65535;
- $conv119 = $conv118 << 16 >> 16;
- $mul120 = Math_imul($conv117, $conv119)|0;
- $and121 = $mul120 & 65535;
- $83 = $smooth_coef_Q16;
- $conv122 = $83&65535;
- $conv123 = $conv122 << 16 >> 16;
- $mul124 = Math_imul($and121, $conv123)|0;
- $shr125 = $mul124 >> 16;
- $add126 = (($mul115) + ($shr125))|0;
- $smooth_coef_Q16 = $add126;
- $84 = $state$addr;
- $mid_side_amp_Q0 = ((($84)) + 12|0);
- $85 = $frame_length$addr;
- $86 = $smooth_coef_Q16;
- $call = (_silk_stereo_find_predictor($LP_ratio_Q14,$vla43,$vla73,$mid_side_amp_Q0,$85,$86)|0);
- HEAP32[$pred_Q13>>2] = $call;
- $87 = $state$addr;
- $mid_side_amp_Q0129 = ((($87)) + 12|0);
- $arrayidx130 = ((($mid_side_amp_Q0129)) + 8|0);
- $88 = $frame_length$addr;
- $89 = $smooth_coef_Q16;
- $call131 = (_silk_stereo_find_predictor($HP_ratio_Q14,$vla44,$vla74,$arrayidx130,$88,$89)|0);
- $arrayidx132 = ((($pred_Q13)) + 4|0);
- HEAP32[$arrayidx132>>2] = $call131;
- $90 = HEAP32[$HP_ratio_Q14>>2]|0;
- $91 = HEAP32[$LP_ratio_Q14>>2]|0;
- $conv133 = $91&65535;
- $conv134 = $conv133 << 16 >> 16;
- $mul135 = ($conv134*3)|0;
- $add136 = (($90) + ($mul135))|0;
- $frac_Q16 = $add136;
- $92 = $frac_Q16;
- $cmp137 = ($92|0)<(65536);
- $93 = $frac_Q16;
- $cond142 = $cmp137 ? $93 : 65536;
- $frac_Q16 = $cond142;
- $94 = $is10msFrame;
- $tobool143 = ($94|0)!=(0);
- $cond144 = $tobool143 ? 1200 : 600;
- $95 = $total_rate_bps$addr;
- $sub145 = (($95) - ($cond144))|0;
- $total_rate_bps$addr = $sub145;
- $96 = $total_rate_bps$addr;
- $cmp146 = ($96|0)<(1);
- $$sub145 = $cmp146 ? 1 : $sub145;
- $total_rate_bps$addr = $$sub145;
- $97 = $fs_kHz$addr;
- $conv148 = $97&65535;
- $conv149 = $conv148 << 16 >> 16;
- $mul150 = ($conv149*900)|0;
- $add151 = (2000 + ($mul150))|0;
- $min_mid_rate_bps = $add151;
- $98 = $frac_Q16;
- $mul152 = ($98*3)|0;
- $frac_3_Q16 = $mul152;
- $99 = $total_rate_bps$addr;
- $100 = $frac_3_Q16;
- $add153 = (851968 + ($100))|0;
- $call154 = (_silk_DIV32_varQ($99,$add153,19)|0);
- $101 = $mid_side_rates_bps$addr;
- HEAP32[$101>>2] = $call154;
- $102 = $mid_side_rates_bps$addr;
- $103 = HEAP32[$102>>2]|0;
- $104 = $min_mid_rate_bps;
- $cmp157 = ($103|0)<($104|0);
- if ($cmp157) {
- $105 = $min_mid_rate_bps;
- $106 = $mid_side_rates_bps$addr;
- HEAP32[$106>>2] = $105;
- $107 = $total_rate_bps$addr;
- $108 = $mid_side_rates_bps$addr;
- $109 = HEAP32[$108>>2]|0;
- $sub162 = (($107) - ($109))|0;
- $110 = $mid_side_rates_bps$addr;
- $arrayidx163 = ((($110)) + 4|0);
- HEAP32[$arrayidx163>>2] = $sub162;
- $111 = $mid_side_rates_bps$addr;
- $arrayidx164 = ((($111)) + 4|0);
- $112 = HEAP32[$arrayidx164>>2]|0;
- $shl165 = $112 << 1;
- $113 = $min_mid_rate_bps;
- $sub166 = (($shl165) - ($113))|0;
- $114 = $frac_3_Q16;
- $add167 = (65536 + ($114))|0;
- $shr168 = $add167 >> 16;
- $115 = $min_mid_rate_bps;
- $conv169 = $115&65535;
- $conv170 = $conv169 << 16 >> 16;
- $mul171 = Math_imul($shr168, $conv170)|0;
- $116 = $frac_3_Q16;
- $add172 = (65536 + ($116))|0;
- $and173 = $add172 & 65535;
- $117 = $min_mid_rate_bps;
- $conv174 = $117&65535;
- $conv175 = $conv174 << 16 >> 16;
- $mul176 = Math_imul($and173, $conv175)|0;
- $shr177 = $mul176 >> 16;
- $add178 = (($mul171) + ($shr177))|0;
- $call179 = (_silk_DIV32_varQ($sub166,$add178,16)|0);
- $width_Q14 = $call179;
- $118 = $width_Q14;
- $cmp180 = ($118|0)>(16384);
- if ($cmp180) {
- $cond191 = 16384;
- } else {
- $119 = $width_Q14;
- $cmp184 = ($119|0)<(0);
- $120 = $width_Q14;
- $cond189 = $cmp184 ? 0 : $120;
- $cond191 = $cond189;
- }
- $width_Q14 = $cond191;
- } else {
- $121 = $total_rate_bps$addr;
- $122 = $mid_side_rates_bps$addr;
- $123 = HEAP32[$122>>2]|0;
- $sub193 = (($121) - ($123))|0;
- $124 = $mid_side_rates_bps$addr;
- $arrayidx194 = ((($124)) + 4|0);
- HEAP32[$arrayidx194>>2] = $sub193;
- $width_Q14 = 16384;
- }
- $125 = $state$addr;
- $smth_width_Q14 = ((($125)) + 28|0);
- $126 = HEAP16[$smth_width_Q14>>1]|0;
- $conv196 = $126 << 16 >> 16;
- $127 = $width_Q14;
- $128 = $state$addr;
- $smth_width_Q14197 = ((($128)) + 28|0);
- $129 = HEAP16[$smth_width_Q14197>>1]|0;
- $conv198 = $129 << 16 >> 16;
- $sub199 = (($127) - ($conv198))|0;
- $shr200 = $sub199 >> 16;
- $130 = $smooth_coef_Q16;
- $conv201 = $130&65535;
- $conv202 = $conv201 << 16 >> 16;
- $mul203 = Math_imul($shr200, $conv202)|0;
- $131 = $width_Q14;
- $132 = $state$addr;
- $smth_width_Q14204 = ((($132)) + 28|0);
- $133 = HEAP16[$smth_width_Q14204>>1]|0;
- $conv205 = $133 << 16 >> 16;
- $sub206 = (($131) - ($conv205))|0;
- $and207 = $sub206 & 65535;
- $134 = $smooth_coef_Q16;
- $conv208 = $134&65535;
- $conv209 = $conv208 << 16 >> 16;
- $mul210 = Math_imul($and207, $conv209)|0;
- $shr211 = $mul210 >> 16;
- $add212 = (($mul203) + ($shr211))|0;
- $add213 = (($conv196) + ($add212))|0;
- $conv214 = $add213&65535;
- $135 = $state$addr;
- $smth_width_Q14215 = ((($135)) + 28|0);
- HEAP16[$smth_width_Q14215>>1] = $conv214;
- $136 = $mid_only_flag$addr;
- HEAP8[$136>>0] = 0;
- $137 = $toMono$addr;
- $tobool216 = ($137|0)!=(0);
- L24: do {
- if ($tobool216) {
- $width_Q14 = 0;
- HEAP32[$pred_Q13>>2] = 0;
- $arrayidx219 = ((($pred_Q13)) + 4|0);
- HEAP32[$arrayidx219>>2] = 0;
- $138 = $ix$addr;
- _silk_stereo_quant_pred($pred_Q13,$138);
- } else {
- $139 = $state$addr;
- $width_prev_Q14 = ((($139)) + 30|0);
- $140 = HEAP16[$width_prev_Q14>>1]|0;
- $conv222 = $140 << 16 >> 16;
- $cmp223 = ($conv222|0)==(0);
- do {
- if ($cmp223) {
- $141 = $total_rate_bps$addr;
- $mul225 = $141<<3;
- $142 = $min_mid_rate_bps;
- $mul226 = ($142*13)|0;
- $cmp227 = ($mul225|0)<($mul226|0);
- if (!($cmp227)) {
- $143 = $frac_Q16;
- $shr229 = $143 >> 16;
- $144 = $state$addr;
- $smth_width_Q14230 = ((($144)) + 28|0);
- $145 = HEAP16[$smth_width_Q14230>>1]|0;
- $conv231 = $145 << 16 >> 16;
- $mul232 = Math_imul($shr229, $conv231)|0;
- $146 = $frac_Q16;
- $and233 = $146 & 65535;
- $147 = $state$addr;
- $smth_width_Q14234 = ((($147)) + 28|0);
- $148 = HEAP16[$smth_width_Q14234>>1]|0;
- $conv235 = $148 << 16 >> 16;
- $mul236 = Math_imul($and233, $conv235)|0;
- $shr237 = $mul236 >> 16;
- $add238 = (($mul232) + ($shr237))|0;
- $cmp239 = ($add238|0)<(819);
- if (!($cmp239)) {
- break;
- }
- }
- $149 = $state$addr;
- $smth_width_Q14242 = ((($149)) + 28|0);
- $150 = HEAP16[$smth_width_Q14242>>1]|0;
- $conv243 = $150 << 16 >> 16;
- $151 = HEAP32[$pred_Q13>>2]|0;
- $conv245 = $151&65535;
- $conv246 = $conv245 << 16 >> 16;
- $mul247 = Math_imul($conv243, $conv246)|0;
- $shr248 = $mul247 >> 14;
- HEAP32[$pred_Q13>>2] = $shr248;
- $152 = $state$addr;
- $smth_width_Q14250 = ((($152)) + 28|0);
- $153 = HEAP16[$smth_width_Q14250>>1]|0;
- $conv251 = $153 << 16 >> 16;
- $arrayidx252 = ((($pred_Q13)) + 4|0);
- $154 = HEAP32[$arrayidx252>>2]|0;
- $conv253 = $154&65535;
- $conv254 = $conv253 << 16 >> 16;
- $mul255 = Math_imul($conv251, $conv254)|0;
- $shr256 = $mul255 >> 14;
- $arrayidx257 = ((($pred_Q13)) + 4|0);
- HEAP32[$arrayidx257>>2] = $shr256;
- $155 = $ix$addr;
- _silk_stereo_quant_pred($pred_Q13,$155);
- $width_Q14 = 0;
- HEAP32[$pred_Q13>>2] = 0;
- $arrayidx260 = ((($pred_Q13)) + 4|0);
- HEAP32[$arrayidx260>>2] = 0;
- $156 = $total_rate_bps$addr;
- $157 = $mid_side_rates_bps$addr;
- HEAP32[$157>>2] = $156;
- $158 = $mid_side_rates_bps$addr;
- $arrayidx262 = ((($158)) + 4|0);
- HEAP32[$arrayidx262>>2] = 0;
- $159 = $mid_only_flag$addr;
- HEAP8[$159>>0] = 1;
- break L24;
- }
- } while(0);
- $160 = $state$addr;
- $width_prev_Q14264 = ((($160)) + 30|0);
- $161 = HEAP16[$width_prev_Q14264>>1]|0;
- $conv265 = $161 << 16 >> 16;
- $cmp266 = ($conv265|0)!=(0);
- do {
- if ($cmp266) {
- $162 = $total_rate_bps$addr;
- $mul269 = $162<<3;
- $163 = $min_mid_rate_bps;
- $mul270 = ($163*11)|0;
- $cmp271 = ($mul269|0)<($mul270|0);
- if (!($cmp271)) {
- $164 = $frac_Q16;
- $shr274 = $164 >> 16;
- $165 = $state$addr;
- $smth_width_Q14275 = ((($165)) + 28|0);
- $166 = HEAP16[$smth_width_Q14275>>1]|0;
- $conv276 = $166 << 16 >> 16;
- $mul277 = Math_imul($shr274, $conv276)|0;
- $167 = $frac_Q16;
- $and278 = $167 & 65535;
- $168 = $state$addr;
- $smth_width_Q14279 = ((($168)) + 28|0);
- $169 = HEAP16[$smth_width_Q14279>>1]|0;
- $conv280 = $169 << 16 >> 16;
- $mul281 = Math_imul($and278, $conv280)|0;
- $shr282 = $mul281 >> 16;
- $add283 = (($mul277) + ($shr282))|0;
- $cmp284 = ($add283|0)<(328);
- if (!($cmp284)) {
- break;
- }
- }
- $170 = $state$addr;
- $smth_width_Q14287 = ((($170)) + 28|0);
- $171 = HEAP16[$smth_width_Q14287>>1]|0;
- $conv288 = $171 << 16 >> 16;
- $172 = HEAP32[$pred_Q13>>2]|0;
- $conv290 = $172&65535;
- $conv291 = $conv290 << 16 >> 16;
- $mul292 = Math_imul($conv288, $conv291)|0;
- $shr293 = $mul292 >> 14;
- HEAP32[$pred_Q13>>2] = $shr293;
- $173 = $state$addr;
- $smth_width_Q14295 = ((($173)) + 28|0);
- $174 = HEAP16[$smth_width_Q14295>>1]|0;
- $conv296 = $174 << 16 >> 16;
- $arrayidx297 = ((($pred_Q13)) + 4|0);
- $175 = HEAP32[$arrayidx297>>2]|0;
- $conv298 = $175&65535;
- $conv299 = $conv298 << 16 >> 16;
- $mul300 = Math_imul($conv296, $conv299)|0;
- $shr301 = $mul300 >> 14;
- $arrayidx302 = ((($pred_Q13)) + 4|0);
- HEAP32[$arrayidx302>>2] = $shr301;
- $176 = $ix$addr;
- _silk_stereo_quant_pred($pred_Q13,$176);
- $width_Q14 = 0;
- HEAP32[$pred_Q13>>2] = 0;
- $arrayidx305 = ((($pred_Q13)) + 4|0);
- HEAP32[$arrayidx305>>2] = 0;
- break L24;
- }
- } while(0);
- $177 = $state$addr;
- $smth_width_Q14307 = ((($177)) + 28|0);
- $178 = HEAP16[$smth_width_Q14307>>1]|0;
- $conv308 = $178 << 16 >> 16;
- $cmp309 = ($conv308|0)>(15565);
- if ($cmp309) {
- $179 = $ix$addr;
- _silk_stereo_quant_pred($pred_Q13,$179);
- $width_Q14 = 16384;
- break;
- } else {
- $180 = $state$addr;
- $smth_width_Q14314 = ((($180)) + 28|0);
- $181 = HEAP16[$smth_width_Q14314>>1]|0;
- $conv315 = $181 << 16 >> 16;
- $182 = HEAP32[$pred_Q13>>2]|0;
- $conv317 = $182&65535;
- $conv318 = $conv317 << 16 >> 16;
- $mul319 = Math_imul($conv315, $conv318)|0;
- $shr320 = $mul319 >> 14;
- HEAP32[$pred_Q13>>2] = $shr320;
- $183 = $state$addr;
- $smth_width_Q14322 = ((($183)) + 28|0);
- $184 = HEAP16[$smth_width_Q14322>>1]|0;
- $conv323 = $184 << 16 >> 16;
- $arrayidx324 = ((($pred_Q13)) + 4|0);
- $185 = HEAP32[$arrayidx324>>2]|0;
- $conv325 = $185&65535;
- $conv326 = $conv325 << 16 >> 16;
- $mul327 = Math_imul($conv323, $conv326)|0;
- $shr328 = $mul327 >> 14;
- $arrayidx329 = ((($pred_Q13)) + 4|0);
- HEAP32[$arrayidx329>>2] = $shr328;
- $186 = $ix$addr;
- _silk_stereo_quant_pred($pred_Q13,$186);
- $187 = $state$addr;
- $smth_width_Q14331 = ((($187)) + 28|0);
- $188 = HEAP16[$smth_width_Q14331>>1]|0;
- $conv332 = $188 << 16 >> 16;
- $width_Q14 = $conv332;
- break;
- }
- }
- } while(0);
- $189 = $mid_only_flag$addr;
- $190 = HEAP8[$189>>0]|0;
- $conv337 = $190 << 24 >> 24;
- $cmp338 = ($conv337|0)==(1);
- do {
- if ($cmp338) {
- $191 = $frame_length$addr;
- $192 = $fs_kHz$addr;
- $mul341 = $192<<3;
- $sub342 = (($191) - ($mul341))|0;
- $193 = $state$addr;
- $silent_side_len = ((($193)) + 32|0);
- $194 = HEAP16[$silent_side_len>>1]|0;
- $conv343 = $194 << 16 >> 16;
- $add344 = (($conv343) + ($sub342))|0;
- $conv345 = $add344&65535;
- HEAP16[$silent_side_len>>1] = $conv345;
- $195 = $state$addr;
- $silent_side_len346 = ((($195)) + 32|0);
- $196 = HEAP16[$silent_side_len346>>1]|0;
- $conv347 = $196 << 16 >> 16;
- $197 = $fs_kHz$addr;
- $mul348 = ($197*5)|0;
- $cmp349 = ($conv347|0)<($mul348|0);
- if ($cmp349) {
- $198 = $mid_only_flag$addr;
- HEAP8[$198>>0] = 0;
- break;
- } else {
- $199 = $state$addr;
- $silent_side_len353 = ((($199)) + 32|0);
- HEAP16[$silent_side_len353>>1] = 10000;
- break;
- }
- } else {
- $200 = $state$addr;
- $silent_side_len356 = ((($200)) + 32|0);
- HEAP16[$silent_side_len356>>1] = 0;
- }
- } while(0);
- $201 = $mid_only_flag$addr;
- $202 = HEAP8[$201>>0]|0;
- $conv358 = $202 << 24 >> 24;
- $cmp359 = ($conv358|0)==(0);
- if ($cmp359) {
- $203 = $mid_side_rates_bps$addr;
- $arrayidx362 = ((($203)) + 4|0);
- $204 = HEAP32[$arrayidx362>>2]|0;
- $cmp363 = ($204|0)<(1);
- if ($cmp363) {
- $205 = $mid_side_rates_bps$addr;
- $arrayidx366 = ((($205)) + 4|0);
- HEAP32[$arrayidx366>>2] = 1;
- $206 = $total_rate_bps$addr;
- $207 = $mid_side_rates_bps$addr;
- $arrayidx367 = ((($207)) + 4|0);
- $208 = HEAP32[$arrayidx367>>2]|0;
- $sub368 = (($206) - ($208))|0;
- $call369 = (_silk_max_int(1,$sub368)|0);
- $209 = $mid_side_rates_bps$addr;
- HEAP32[$209>>2] = $call369;
- }
- }
- $210 = $state$addr;
- $211 = HEAP16[$210>>1]|0;
- $conv373 = $211 << 16 >> 16;
- $sub374 = (0 - ($conv373))|0;
- $pred0_Q13 = $sub374;
- $212 = $state$addr;
- $arrayidx376 = ((($212)) + 2|0);
- $213 = HEAP16[$arrayidx376>>1]|0;
- $conv377 = $213 << 16 >> 16;
- $sub378 = (0 - ($conv377))|0;
- $pred1_Q13 = $sub378;
- $214 = $state$addr;
- $width_prev_Q14379 = ((($214)) + 30|0);
- $215 = HEAP16[$width_prev_Q14379>>1]|0;
- $conv380 = $215 << 16 >> 16;
- $shl381 = $conv380 << 10;
- $w_Q24 = $shl381;
- $216 = $fs_kHz$addr;
- $mul382 = $216<<3;
- $div = (65536 / ($mul382|0))&-1;
- $denom_Q16 = $div;
- $217 = HEAP32[$pred_Q13>>2]|0;
- $218 = $state$addr;
- $219 = HEAP16[$218>>1]|0;
- $conv386 = $219 << 16 >> 16;
- $sub387 = (($217) - ($conv386))|0;
- $conv388 = $sub387&65535;
- $conv389 = $conv388 << 16 >> 16;
- $220 = $denom_Q16;
- $conv390 = $220&65535;
- $conv391 = $conv390 << 16 >> 16;
- $mul392 = Math_imul($conv389, $conv391)|0;
- $shr393 = $mul392 >> 15;
- $add394 = (($shr393) + 1)|0;
- $shr395 = $add394 >> 1;
- $sub396 = (0 - ($shr395))|0;
- $delta0_Q13 = $sub396;
- $arrayidx397 = ((($pred_Q13)) + 4|0);
- $221 = HEAP32[$arrayidx397>>2]|0;
- $222 = $state$addr;
- $arrayidx399 = ((($222)) + 2|0);
- $223 = HEAP16[$arrayidx399>>1]|0;
- $conv400 = $223 << 16 >> 16;
- $sub401 = (($221) - ($conv400))|0;
- $conv402 = $sub401&65535;
- $conv403 = $conv402 << 16 >> 16;
- $224 = $denom_Q16;
- $conv404 = $224&65535;
- $conv405 = $conv404 << 16 >> 16;
- $mul406 = Math_imul($conv403, $conv405)|0;
- $shr407 = $mul406 >> 15;
- $add408 = (($shr407) + 1)|0;
- $shr409 = $add408 >> 1;
- $sub410 = (0 - ($shr409))|0;
- $delta1_Q13 = $sub410;
- $225 = $width_Q14;
- $226 = $state$addr;
- $width_prev_Q14411 = ((($226)) + 30|0);
- $227 = HEAP16[$width_prev_Q14411>>1]|0;
- $conv412 = $227 << 16 >> 16;
- $sub413 = (($225) - ($conv412))|0;
- $shr414 = $sub413 >> 16;
- $228 = $denom_Q16;
- $conv415 = $228&65535;
- $conv416 = $conv415 << 16 >> 16;
- $mul417 = Math_imul($shr414, $conv416)|0;
- $229 = $width_Q14;
- $230 = $state$addr;
- $width_prev_Q14418 = ((($230)) + 30|0);
- $231 = HEAP16[$width_prev_Q14418>>1]|0;
- $conv419 = $231 << 16 >> 16;
- $sub420 = (($229) - ($conv419))|0;
- $and421 = $sub420 & 65535;
- $232 = $denom_Q16;
- $conv422 = $232&65535;
- $conv423 = $conv422 << 16 >> 16;
- $mul424 = Math_imul($and421, $conv423)|0;
- $shr425 = $mul424 >> 16;
- $add426 = (($mul417) + ($shr425))|0;
- $shl427 = $add426 << 10;
- $deltaw_Q24 = $shl427;
- $n = 0;
- while(1) {
- $233 = $n;
- $234 = $fs_kHz$addr;
- $mul429 = $234<<3;
- $cmp430 = ($233|0)<($mul429|0);
- if (!($cmp430)) {
- break;
- }
- $235 = $delta0_Q13;
- $236 = $pred0_Q13;
- $add433 = (($236) + ($235))|0;
- $pred0_Q13 = $add433;
- $237 = $delta1_Q13;
- $238 = $pred1_Q13;
- $add434 = (($238) + ($237))|0;
- $pred1_Q13 = $add434;
- $239 = $deltaw_Q24;
- $240 = $w_Q24;
- $add435 = (($240) + ($239))|0;
- $w_Q24 = $add435;
- $241 = $mid;
- $242 = $n;
- $arrayidx436 = (($241) + ($242<<1)|0);
- $243 = HEAP16[$arrayidx436>>1]|0;
- $conv437 = $243 << 16 >> 16;
- $244 = $mid;
- $245 = $n;
- $add438 = (($245) + 2)|0;
- $arrayidx439 = (($244) + ($add438<<1)|0);
- $246 = HEAP16[$arrayidx439>>1]|0;
- $conv440 = $246 << 16 >> 16;
- $add441 = (($conv437) + ($conv440))|0;
- $247 = $mid;
- $248 = $n;
- $add442 = (($248) + 1)|0;
- $arrayidx443 = (($247) + ($add442<<1)|0);
- $249 = HEAP16[$arrayidx443>>1]|0;
- $conv444 = $249 << 16 >> 16;
- $shl445 = $conv444 << 1;
- $add446 = (($add441) + ($shl445))|0;
- $shl447 = $add446 << 9;
- $sum = $shl447;
- $250 = $w_Q24;
- $shr448 = $250 >> 16;
- $251 = $n;
- $add449 = (($251) + 1)|0;
- $arrayidx450 = (($vla) + ($add449<<1)|0);
- $252 = HEAP16[$arrayidx450>>1]|0;
- $conv451 = $252 << 16 >> 16;
- $mul452 = Math_imul($shr448, $conv451)|0;
- $253 = $w_Q24;
- $and453 = $253 & 65535;
- $254 = $n;
- $add454 = (($254) + 1)|0;
- $arrayidx455 = (($vla) + ($add454<<1)|0);
- $255 = HEAP16[$arrayidx455>>1]|0;
- $conv456 = $255 << 16 >> 16;
- $mul457 = Math_imul($and453, $conv456)|0;
- $shr458 = $mul457 >> 16;
- $add459 = (($mul452) + ($shr458))|0;
- $256 = $sum;
- $shr460 = $256 >> 16;
- $257 = $pred0_Q13;
- $conv461 = $257&65535;
- $conv462 = $conv461 << 16 >> 16;
- $mul463 = Math_imul($shr460, $conv462)|0;
- $258 = $sum;
- $and464 = $258 & 65535;
- $259 = $pred0_Q13;
- $conv465 = $259&65535;
- $conv466 = $conv465 << 16 >> 16;
- $mul467 = Math_imul($and464, $conv466)|0;
- $shr468 = $mul467 >> 16;
- $add469 = (($mul463) + ($shr468))|0;
- $add470 = (($add459) + ($add469))|0;
- $sum = $add470;
- $260 = $sum;
- $261 = $mid;
- $262 = $n;
- $add471 = (($262) + 1)|0;
- $arrayidx472 = (($261) + ($add471<<1)|0);
- $263 = HEAP16[$arrayidx472>>1]|0;
- $conv473 = $263 << 16 >> 16;
- $shl474 = $conv473 << 11;
- $shr475 = $shl474 >> 16;
- $264 = $pred1_Q13;
- $conv476 = $264&65535;
- $conv477 = $conv476 << 16 >> 16;
- $mul478 = Math_imul($shr475, $conv477)|0;
- $265 = $mid;
- $266 = $n;
- $add479 = (($266) + 1)|0;
- $arrayidx480 = (($265) + ($add479<<1)|0);
- $267 = HEAP16[$arrayidx480>>1]|0;
- $conv481 = $267 << 16 >> 16;
- $shl482 = $conv481 << 11;
- $and483 = $shl482 & 65535;
- $268 = $pred1_Q13;
- $conv484 = $268&65535;
- $conv485 = $conv484 << 16 >> 16;
- $mul486 = Math_imul($and483, $conv485)|0;
- $shr487 = $mul486 >> 16;
- $add488 = (($mul478) + ($shr487))|0;
- $add489 = (($260) + ($add488))|0;
- $sum = $add489;
- $269 = $sum;
- $shr490 = $269 >> 7;
- $add491 = (($shr490) + 1)|0;
- $shr492 = $add491 >> 1;
- $cmp493 = ($shr492|0)>(32767);
- if ($cmp493) {
- $cond510 = 32767;
- } else {
- $270 = $sum;
- $shr497 = $270 >> 7;
- $add498 = (($shr497) + 1)|0;
- $shr499 = $add498 >> 1;
- $cmp500 = ($shr499|0)<(-32768);
- if ($cmp500) {
- $cond510 = -32768;
- } else {
- $271 = $sum;
- $shr504 = $271 >> 7;
- $add505 = (($shr504) + 1)|0;
- $shr506 = $add505 >> 1;
- $cond510 = $shr506;
- }
- }
- $conv511 = $cond510&65535;
- $272 = $x2$addr;
- $273 = $n;
- $sub512 = (($273) - 1)|0;
- $arrayidx513 = (($272) + ($sub512<<1)|0);
- HEAP16[$arrayidx513>>1] = $conv511;
- $274 = $n;
- $inc515 = (($274) + 1)|0;
- $n = $inc515;
- }
- $275 = HEAP32[$pred_Q13>>2]|0;
- $sub518 = (0 - ($275))|0;
- $pred0_Q13 = $sub518;
- $arrayidx519 = ((($pred_Q13)) + 4|0);
- $276 = HEAP32[$arrayidx519>>2]|0;
- $sub520 = (0 - ($276))|0;
- $pred1_Q13 = $sub520;
- $277 = $width_Q14;
- $shl521 = $277 << 10;
- $w_Q24 = $shl521;
- $278 = $fs_kHz$addr;
- $mul522 = $278<<3;
- $n = $mul522;
- while(1) {
- $279 = $n;
- $280 = $frame_length$addr;
- $cmp524 = ($279|0)<($280|0);
- if (!($cmp524)) {
- break;
- }
- $281 = $mid;
- $282 = $n;
- $arrayidx527 = (($281) + ($282<<1)|0);
- $283 = HEAP16[$arrayidx527>>1]|0;
- $conv528 = $283 << 16 >> 16;
- $284 = $mid;
- $285 = $n;
- $add529 = (($285) + 2)|0;
- $arrayidx530 = (($284) + ($add529<<1)|0);
- $286 = HEAP16[$arrayidx530>>1]|0;
- $conv531 = $286 << 16 >> 16;
- $add532 = (($conv528) + ($conv531))|0;
- $287 = $mid;
- $288 = $n;
- $add533 = (($288) + 1)|0;
- $arrayidx534 = (($287) + ($add533<<1)|0);
- $289 = HEAP16[$arrayidx534>>1]|0;
- $conv535 = $289 << 16 >> 16;
- $shl536 = $conv535 << 1;
- $add537 = (($add532) + ($shl536))|0;
- $shl538 = $add537 << 9;
- $sum = $shl538;
- $290 = $w_Q24;
- $shr539 = $290 >> 16;
- $291 = $n;
- $add540 = (($291) + 1)|0;
- $arrayidx541 = (($vla) + ($add540<<1)|0);
- $292 = HEAP16[$arrayidx541>>1]|0;
- $conv542 = $292 << 16 >> 16;
- $mul543 = Math_imul($shr539, $conv542)|0;
- $293 = $w_Q24;
- $and544 = $293 & 65535;
- $294 = $n;
- $add545 = (($294) + 1)|0;
- $arrayidx546 = (($vla) + ($add545<<1)|0);
- $295 = HEAP16[$arrayidx546>>1]|0;
- $conv547 = $295 << 16 >> 16;
- $mul548 = Math_imul($and544, $conv547)|0;
- $shr549 = $mul548 >> 16;
- $add550 = (($mul543) + ($shr549))|0;
- $296 = $sum;
- $shr551 = $296 >> 16;
- $297 = $pred0_Q13;
- $conv552 = $297&65535;
- $conv553 = $conv552 << 16 >> 16;
- $mul554 = Math_imul($shr551, $conv553)|0;
- $298 = $sum;
- $and555 = $298 & 65535;
- $299 = $pred0_Q13;
- $conv556 = $299&65535;
- $conv557 = $conv556 << 16 >> 16;
- $mul558 = Math_imul($and555, $conv557)|0;
- $shr559 = $mul558 >> 16;
- $add560 = (($mul554) + ($shr559))|0;
- $add561 = (($add550) + ($add560))|0;
- $sum = $add561;
- $300 = $sum;
- $301 = $mid;
- $302 = $n;
- $add562 = (($302) + 1)|0;
- $arrayidx563 = (($301) + ($add562<<1)|0);
- $303 = HEAP16[$arrayidx563>>1]|0;
- $conv564 = $303 << 16 >> 16;
- $shl565 = $conv564 << 11;
- $shr566 = $shl565 >> 16;
- $304 = $pred1_Q13;
- $conv567 = $304&65535;
- $conv568 = $conv567 << 16 >> 16;
- $mul569 = Math_imul($shr566, $conv568)|0;
- $305 = $mid;
- $306 = $n;
- $add570 = (($306) + 1)|0;
- $arrayidx571 = (($305) + ($add570<<1)|0);
- $307 = HEAP16[$arrayidx571>>1]|0;
- $conv572 = $307 << 16 >> 16;
- $shl573 = $conv572 << 11;
- $and574 = $shl573 & 65535;
- $308 = $pred1_Q13;
- $conv575 = $308&65535;
- $conv576 = $conv575 << 16 >> 16;
- $mul577 = Math_imul($and574, $conv576)|0;
- $shr578 = $mul577 >> 16;
- $add579 = (($mul569) + ($shr578))|0;
- $add580 = (($300) + ($add579))|0;
- $sum = $add580;
- $309 = $sum;
- $shr581 = $309 >> 7;
- $add582 = (($shr581) + 1)|0;
- $shr583 = $add582 >> 1;
- $cmp584 = ($shr583|0)>(32767);
- if ($cmp584) {
- $cond601 = 32767;
- } else {
- $310 = $sum;
- $shr588 = $310 >> 7;
- $add589 = (($shr588) + 1)|0;
- $shr590 = $add589 >> 1;
- $cmp591 = ($shr590|0)<(-32768);
- if ($cmp591) {
- $cond601 = -32768;
- } else {
- $311 = $sum;
- $shr595 = $311 >> 7;
- $add596 = (($shr595) + 1)|0;
- $shr597 = $add596 >> 1;
- $cond601 = $shr597;
- }
- }
- $conv602 = $cond601&65535;
- $312 = $x2$addr;
- $313 = $n;
- $sub603 = (($313) - 1)|0;
- $arrayidx604 = (($312) + ($sub603<<1)|0);
- HEAP16[$arrayidx604>>1] = $conv602;
- $314 = $n;
- $inc606 = (($314) + 1)|0;
- $n = $inc606;
- }
- $315 = HEAP32[$pred_Q13>>2]|0;
- $conv609 = $315&65535;
- $316 = $state$addr;
- HEAP16[$316>>1] = $conv609;
- $arrayidx612 = ((($pred_Q13)) + 4|0);
- $317 = HEAP32[$arrayidx612>>2]|0;
- $conv613 = $317&65535;
- $318 = $state$addr;
- $arrayidx615 = ((($318)) + 2|0);
- HEAP16[$arrayidx615>>1] = $conv613;
- $319 = $width_Q14;
- $conv616 = $319&65535;
- $320 = $state$addr;
- $width_prev_Q14617 = ((($320)) + 30|0);
- HEAP16[$width_prev_Q14617>>1] = $conv616;
- $321 = $saved_stack;
- _llvm_stackrestore(($321|0));
- STACKTOP = sp;return;
-}
-function _silk_DIV32_varQ($a32,$b32,$Qres) {
- $a32 = $a32|0;
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $a32$addr = 0, $a32_nrm = 0, $a_headrm = 0, $add = 0, $add33 = 0, $add34 = 0, $add35 = 0, $and = 0;
- var $and28 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $call8 = 0, $cmp = 0, $cmp2 = 0, $cmp38 = 0, $cmp44 = 0, $cmp49 = 0, $cmp57 = 0, $cmp70 = 0, $cmp78 = 0, $cmp92 = 0, $cond = 0, $cond7 = 0, $cond89 = 0, $conv = 0;
- var $conv12 = 0, $conv13 = 0, $conv14 = 0, $conv25 = 0, $conv26 = 0, $conv29 = 0, $conv30 = 0, $div = 0, $lshift = 0, $mul = 0, $mul15 = 0, $mul27 = 0, $mul31 = 0, $result = 0, $retval = 0, $shl = 0, $shl10 = 0, $shl22 = 0, $shl91 = 0, $shr = 0;
- var $shr11 = 0, $shr16 = 0, $shr24 = 0, $shr32 = 0, $shr41 = 0, $shr43 = 0, $shr48 = 0, $shr53 = 0, $shr56 = 0, $shr61 = 0, $shr69 = 0, $shr74 = 0, $shr77 = 0, $shr82 = 0, $shr95 = 0, $sub = 0, $sub1 = 0, $sub23 = 0, $sub36 = 0, $sub37 = 0;
- var $sub40 = 0, $sub42 = 0, $sub47 = 0, $sub5 = 0, $sub52 = 0, $sub55 = 0, $sub60 = 0, $sub73 = 0, $sub76 = 0, $sub81 = 0, $sub9 = 0, $sub90 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $a32$addr = $a32;
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $a32$addr;
- $cmp = ($0|0)>(0);
- $1 = $a32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32($cond)|0);
- $sub1 = (($call) - 1)|0;
- $a_headrm = $sub1;
- $2 = $a32$addr;
- $3 = $a_headrm;
- $shl = $2 << $3;
- $a32_nrm = $shl;
- $4 = $b32$addr;
- $cmp2 = ($4|0)>(0);
- $5 = $b32$addr;
- $sub5 = (0 - ($5))|0;
- $cond7 = $cmp2 ? $5 : $sub5;
- $call8 = (_silk_CLZ32($cond7)|0);
- $sub9 = (($call8) - 1)|0;
- $b_headrm = $sub9;
- $6 = $b32$addr;
- $7 = $b_headrm;
- $shl10 = $6 << $7;
- $b32_nrm = $shl10;
- $8 = $b32_nrm;
- $shr = $8 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $9 = $a32_nrm;
- $shr11 = $9 >> 16;
- $10 = $b32_inv;
- $conv = $10&65535;
- $conv12 = $conv << 16 >> 16;
- $mul = Math_imul($shr11, $conv12)|0;
- $11 = $a32_nrm;
- $and = $11 & 65535;
- $12 = $b32_inv;
- $conv13 = $12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul) + ($shr16))|0;
- $result = $add;
- $13 = $a32_nrm;
- $14 = $b32_nrm;
- $15 = ($14|0)<(0);
- $16 = $15 << 31 >> 31;
- $17 = $result;
- $18 = ($17|0)<(0);
- $19 = $18 << 31 >> 31;
- $20 = (___muldi3(($14|0),($16|0),($17|0),($19|0))|0);
- $21 = tempRet0;
- $22 = (_bitshift64Ashr(($20|0),($21|0),32)|0);
- $23 = tempRet0;
- $shl22 = $22 << 3;
- $sub23 = (($13) - ($shl22))|0;
- $a32_nrm = $sub23;
- $24 = $result;
- $25 = $a32_nrm;
- $shr24 = $25 >> 16;
- $26 = $b32_inv;
- $conv25 = $26&65535;
- $conv26 = $conv25 << 16 >> 16;
- $mul27 = Math_imul($shr24, $conv26)|0;
- $27 = $a32_nrm;
- $and28 = $27 & 65535;
- $28 = $b32_inv;
- $conv29 = $28&65535;
- $conv30 = $conv29 << 16 >> 16;
- $mul31 = Math_imul($and28, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul27) + ($shr32))|0;
- $add34 = (($24) + ($add33))|0;
- $result = $add34;
- $29 = $a_headrm;
- $add35 = (29 + ($29))|0;
- $30 = $b_headrm;
- $sub36 = (($add35) - ($30))|0;
- $31 = $Qres$addr;
- $sub37 = (($sub36) - ($31))|0;
- $lshift = $sub37;
- $32 = $lshift;
- $cmp38 = ($32|0)<(0);
- $33 = $lshift;
- if (!($cmp38)) {
- $cmp92 = ($33|0)<(32);
- if ($cmp92) {
- $48 = $result;
- $49 = $lshift;
- $shr95 = $48 >> $49;
- $retval = $shr95;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- } else {
- $retval = 0;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- }
- }
- $sub40 = (0 - ($33))|0;
- $shr41 = -2147483648 >> $sub40;
- $34 = $lshift;
- $sub42 = (0 - ($34))|0;
- $shr43 = 2147483647 >> $sub42;
- $cmp44 = ($shr41|0)>($shr43|0);
- $35 = $result;
- $36 = $lshift;
- $sub47 = (0 - ($36))|0;
- do {
- if ($cmp44) {
- $shr48 = -2147483648 >> $sub47;
- $cmp49 = ($35|0)>($shr48|0);
- if ($cmp49) {
- $37 = $lshift;
- $sub52 = (0 - ($37))|0;
- $shr53 = -2147483648 >> $sub52;
- $cond89 = $shr53;
- break;
- }
- $38 = $result;
- $39 = $lshift;
- $sub55 = (0 - ($39))|0;
- $shr56 = 2147483647 >> $sub55;
- $cmp57 = ($38|0)<($shr56|0);
- if ($cmp57) {
- $40 = $lshift;
- $sub60 = (0 - ($40))|0;
- $shr61 = 2147483647 >> $sub60;
- $cond89 = $shr61;
- break;
- } else {
- $41 = $result;
- $cond89 = $41;
- break;
- }
- } else {
- $shr69 = 2147483647 >> $sub47;
- $cmp70 = ($35|0)>($shr69|0);
- if ($cmp70) {
- $42 = $lshift;
- $sub73 = (0 - ($42))|0;
- $shr74 = 2147483647 >> $sub73;
- $cond89 = $shr74;
- break;
- }
- $43 = $result;
- $44 = $lshift;
- $sub76 = (0 - ($44))|0;
- $shr77 = -2147483648 >> $sub76;
- $cmp78 = ($43|0)<($shr77|0);
- if ($cmp78) {
- $45 = $lshift;
- $sub81 = (0 - ($45))|0;
- $shr82 = -2147483648 >> $sub81;
- $cond89 = $shr82;
- break;
- } else {
- $46 = $result;
- $cond89 = $46;
- break;
- }
- }
- } while(0);
- $47 = $lshift;
- $sub90 = (0 - ($47))|0;
- $shl91 = $cond89 << $sub90;
- $retval = $shl91;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
-}
-function _silk_max_int($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_CLZ32($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_stereo_MS_to_LR($state,$x1,$x2,$pred_Q13,$fs_kHz,$frame_length) {
- $state = $state|0;
- $x1 = $x1|0;
- $x2 = $x2|0;
- $pred_Q13 = $pred_Q13|0;
- $fs_kHz = $fs_kHz|0;
- $frame_length = $frame_length|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $14 = 0, $15 = 0, $16 = 0;
- var $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0;
- var $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0;
- var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0;
- var $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0;
- var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $add = 0, $add100 = 0, $add111 = 0, $add114 = 0, $add115 = 0, $add119 = 0, $add121 = 0, $add134 = 0, $add135 = 0;
- var $add136 = 0, $add144 = 0, $add153 = 0, $add154 = 0, $add156 = 0, $add163 = 0, $add170 = 0, $add177 = 0, $add194 = 0, $add197 = 0, $add200 = 0, $add201 = 0, $add204 = 0, $add221 = 0, $add236 = 0, $add32 = 0, $add36 = 0, $add37 = 0, $add40 = 0, $add43 = 0;
- var $add44 = 0, $add47 = 0, $add49 = 0, $add61 = 0, $add62 = 0, $add63 = 0, $add71 = 0, $add80 = 0, $add81 = 0, $add83 = 0, $add88 = 0, $add95 = 0, $and = 0, $and129 = 0, $and148 = 0, $and75 = 0, $arrayidx = 0, $arrayidx101 = 0, $arrayidx103 = 0, $arrayidx109 = 0;
- var $arrayidx112 = 0, $arrayidx116 = 0, $arrayidx122 = 0, $arrayidx137 = 0, $arrayidx145 = 0, $arrayidx178 = 0, $arrayidx186 = 0, $arrayidx189 = 0, $arrayidx195 = 0, $arrayidx198 = 0, $arrayidx202 = 0, $arrayidx205 = 0, $arrayidx21 = 0, $arrayidx222 = 0, $arrayidx23 = 0, $arrayidx237 = 0, $arrayidx38 = 0, $arrayidx41 = 0, $arrayidx45 = 0, $arrayidx50 = 0;
- var $arrayidx6 = 0, $arrayidx64 = 0, $arrayidx72 = 0, $arrayidx9 = 0, $cmp = 0, $cmp106 = 0, $cmp158 = 0, $cmp165 = 0, $cmp191 = 0, $cmp208 = 0, $cmp212 = 0, $cmp223 = 0, $cmp227 = 0, $cmp85 = 0, $cmp90 = 0, $cond175 = 0, $cond217 = 0, $cond219 = 0, $cond232 = 0, $cond234 = 0;
- var $cond98 = 0, $conv = 0, $conv10 = 0, $conv110 = 0, $conv113 = 0, $conv117 = 0, $conv123 = 0, $conv126 = 0, $conv127 = 0, $conv130 = 0, $conv131 = 0, $conv138 = 0, $conv14 = 0, $conv141 = 0, $conv142 = 0, $conv146 = 0, $conv149 = 0, $conv15 = 0, $conv150 = 0, $conv16 = 0;
- var $conv17 = 0, $conv176 = 0, $conv18 = 0, $conv183 = 0, $conv187 = 0, $conv196 = 0, $conv199 = 0, $conv203 = 0, $conv206 = 0, $conv220 = 0, $conv235 = 0, $conv24 = 0, $conv26 = 0, $conv27 = 0, $conv28 = 0, $conv29 = 0, $conv39 = 0, $conv42 = 0, $conv46 = 0, $conv51 = 0;
- var $conv54 = 0, $conv55 = 0, $conv57 = 0, $conv58 = 0, $conv65 = 0, $conv68 = 0, $conv69 = 0, $conv73 = 0, $conv76 = 0, $conv77 = 0, $conv99 = 0, $delta0_Q13 = 0, $delta1_Q13 = 0, $denom_Q16 = 0, $diff = 0, $div = 0, $frame_length$addr = 0, $fs_kHz$addr = 0, $inc = 0, $inc180 = 0;
- var $inc239 = 0, $mul = 0, $mul104 = 0, $mul128 = 0, $mul132 = 0, $mul143 = 0, $mul151 = 0, $mul19 = 0, $mul30 = 0, $mul34 = 0, $mul56 = 0, $mul59 = 0, $mul70 = 0, $mul78 = 0, $n = 0, $pred0_Q13 = 0, $pred1_Q13 = 0, $pred_Q13$addr = 0, $sMid = 0, $sMid2 = 0;
- var $sSide = 0, $sSide4 = 0, $shl = 0, $shl118 = 0, $shl120 = 0, $shl124 = 0, $shl139 = 0, $shl147 = 0, $shl48 = 0, $shl52 = 0, $shl66 = 0, $shl74 = 0, $shr = 0, $shr125 = 0, $shr133 = 0, $shr140 = 0, $shr152 = 0, $shr155 = 0, $shr157 = 0, $shr162 = 0;
- var $shr164 = 0, $shr169 = 0, $shr171 = 0, $shr20 = 0, $shr31 = 0, $shr33 = 0, $shr53 = 0, $shr60 = 0, $shr67 = 0, $shr79 = 0, $shr82 = 0, $shr84 = 0, $shr87 = 0, $shr89 = 0, $shr94 = 0, $shr96 = 0, $state$addr = 0, $sub = 0, $sub207 = 0, $sub25 = 0;
- var $sum = 0, $x1$addr = 0, $x2$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $state$addr = $state;
- $x1$addr = $x1;
- $x2$addr = $x2;
- $pred_Q13$addr = $pred_Q13;
- $fs_kHz$addr = $fs_kHz;
- $frame_length$addr = $frame_length;
- $0 = $x1$addr;
- $1 = $state$addr;
- $sMid = ((($1)) + 4|0);
- ;HEAP16[$0>>1]=HEAP16[$sMid>>1]|0;HEAP16[$0+2>>1]=HEAP16[$sMid+2>>1]|0;
- $2 = $x2$addr;
- $3 = $state$addr;
- $sSide = ((($3)) + 8|0);
- ;HEAP16[$2>>1]=HEAP16[$sSide>>1]|0;HEAP16[$2+2>>1]=HEAP16[$sSide+2>>1]|0;
- $4 = $state$addr;
- $sMid2 = ((($4)) + 4|0);
- $5 = $x1$addr;
- $6 = $frame_length$addr;
- $arrayidx = (($5) + ($6<<1)|0);
- ;HEAP16[$sMid2>>1]=HEAP16[$arrayidx>>1]|0;HEAP16[$sMid2+2>>1]=HEAP16[$arrayidx+2>>1]|0;
- $7 = $state$addr;
- $sSide4 = ((($7)) + 8|0);
- $8 = $x2$addr;
- $9 = $frame_length$addr;
- $arrayidx6 = (($8) + ($9<<1)|0);
- ;HEAP16[$sSide4>>1]=HEAP16[$arrayidx6>>1]|0;HEAP16[$sSide4+2>>1]=HEAP16[$arrayidx6+2>>1]|0;
- $10 = $state$addr;
- $11 = HEAP16[$10>>1]|0;
- $conv = $11 << 16 >> 16;
- $pred0_Q13 = $conv;
- $12 = $state$addr;
- $arrayidx9 = ((($12)) + 2|0);
- $13 = HEAP16[$arrayidx9>>1]|0;
- $conv10 = $13 << 16 >> 16;
- $pred1_Q13 = $conv10;
- $14 = $fs_kHz$addr;
- $mul = $14<<3;
- $div = (65536 / ($mul|0))&-1;
- $denom_Q16 = $div;
- $15 = $pred_Q13$addr;
- $16 = HEAP32[$15>>2]|0;
- $17 = $state$addr;
- $18 = HEAP16[$17>>1]|0;
- $conv14 = $18 << 16 >> 16;
- $sub = (($16) - ($conv14))|0;
- $conv15 = $sub&65535;
- $conv16 = $conv15 << 16 >> 16;
- $19 = $denom_Q16;
- $conv17 = $19&65535;
- $conv18 = $conv17 << 16 >> 16;
- $mul19 = Math_imul($conv16, $conv18)|0;
- $shr = $mul19 >> 15;
- $add = (($shr) + 1)|0;
- $shr20 = $add >> 1;
- $delta0_Q13 = $shr20;
- $20 = $pred_Q13$addr;
- $arrayidx21 = ((($20)) + 4|0);
- $21 = HEAP32[$arrayidx21>>2]|0;
- $22 = $state$addr;
- $arrayidx23 = ((($22)) + 2|0);
- $23 = HEAP16[$arrayidx23>>1]|0;
- $conv24 = $23 << 16 >> 16;
- $sub25 = (($21) - ($conv24))|0;
- $conv26 = $sub25&65535;
- $conv27 = $conv26 << 16 >> 16;
- $24 = $denom_Q16;
- $conv28 = $24&65535;
- $conv29 = $conv28 << 16 >> 16;
- $mul30 = Math_imul($conv27, $conv29)|0;
- $shr31 = $mul30 >> 15;
- $add32 = (($shr31) + 1)|0;
- $shr33 = $add32 >> 1;
- $delta1_Q13 = $shr33;
- $n = 0;
- while(1) {
- $25 = $n;
- $26 = $fs_kHz$addr;
- $mul34 = $26<<3;
- $cmp = ($25|0)<($mul34|0);
- if (!($cmp)) {
- break;
- }
- $27 = $delta0_Q13;
- $28 = $pred0_Q13;
- $add36 = (($28) + ($27))|0;
- $pred0_Q13 = $add36;
- $29 = $delta1_Q13;
- $30 = $pred1_Q13;
- $add37 = (($30) + ($29))|0;
- $pred1_Q13 = $add37;
- $31 = $x1$addr;
- $32 = $n;
- $arrayidx38 = (($31) + ($32<<1)|0);
- $33 = HEAP16[$arrayidx38>>1]|0;
- $conv39 = $33 << 16 >> 16;
- $34 = $x1$addr;
- $35 = $n;
- $add40 = (($35) + 2)|0;
- $arrayidx41 = (($34) + ($add40<<1)|0);
- $36 = HEAP16[$arrayidx41>>1]|0;
- $conv42 = $36 << 16 >> 16;
- $add43 = (($conv39) + ($conv42))|0;
- $37 = $x1$addr;
- $38 = $n;
- $add44 = (($38) + 1)|0;
- $arrayidx45 = (($37) + ($add44<<1)|0);
- $39 = HEAP16[$arrayidx45>>1]|0;
- $conv46 = $39 << 16 >> 16;
- $shl = $conv46 << 1;
- $add47 = (($add43) + ($shl))|0;
- $shl48 = $add47 << 9;
- $sum = $shl48;
- $40 = $x2$addr;
- $41 = $n;
- $add49 = (($41) + 1)|0;
- $arrayidx50 = (($40) + ($add49<<1)|0);
- $42 = HEAP16[$arrayidx50>>1]|0;
- $conv51 = $42 << 16 >> 16;
- $shl52 = $conv51 << 8;
- $43 = $sum;
- $shr53 = $43 >> 16;
- $44 = $pred0_Q13;
- $conv54 = $44&65535;
- $conv55 = $conv54 << 16 >> 16;
- $mul56 = Math_imul($shr53, $conv55)|0;
- $45 = $sum;
- $and = $45 & 65535;
- $46 = $pred0_Q13;
- $conv57 = $46&65535;
- $conv58 = $conv57 << 16 >> 16;
- $mul59 = Math_imul($and, $conv58)|0;
- $shr60 = $mul59 >> 16;
- $add61 = (($mul56) + ($shr60))|0;
- $add62 = (($shl52) + ($add61))|0;
- $sum = $add62;
- $47 = $sum;
- $48 = $x1$addr;
- $49 = $n;
- $add63 = (($49) + 1)|0;
- $arrayidx64 = (($48) + ($add63<<1)|0);
- $50 = HEAP16[$arrayidx64>>1]|0;
- $conv65 = $50 << 16 >> 16;
- $shl66 = $conv65 << 11;
- $shr67 = $shl66 >> 16;
- $51 = $pred1_Q13;
- $conv68 = $51&65535;
- $conv69 = $conv68 << 16 >> 16;
- $mul70 = Math_imul($shr67, $conv69)|0;
- $52 = $x1$addr;
- $53 = $n;
- $add71 = (($53) + 1)|0;
- $arrayidx72 = (($52) + ($add71<<1)|0);
- $54 = HEAP16[$arrayidx72>>1]|0;
- $conv73 = $54 << 16 >> 16;
- $shl74 = $conv73 << 11;
- $and75 = $shl74 & 65535;
- $55 = $pred1_Q13;
- $conv76 = $55&65535;
- $conv77 = $conv76 << 16 >> 16;
- $mul78 = Math_imul($and75, $conv77)|0;
- $shr79 = $mul78 >> 16;
- $add80 = (($mul70) + ($shr79))|0;
- $add81 = (($47) + ($add80))|0;
- $sum = $add81;
- $56 = $sum;
- $shr82 = $56 >> 7;
- $add83 = (($shr82) + 1)|0;
- $shr84 = $add83 >> 1;
- $cmp85 = ($shr84|0)>(32767);
- if ($cmp85) {
- $cond98 = 32767;
- } else {
- $57 = $sum;
- $shr87 = $57 >> 7;
- $add88 = (($shr87) + 1)|0;
- $shr89 = $add88 >> 1;
- $cmp90 = ($shr89|0)<(-32768);
- if ($cmp90) {
- $cond98 = -32768;
- } else {
- $58 = $sum;
- $shr94 = $58 >> 7;
- $add95 = (($shr94) + 1)|0;
- $shr96 = $add95 >> 1;
- $cond98 = $shr96;
- }
- }
- $conv99 = $cond98&65535;
- $59 = $x2$addr;
- $60 = $n;
- $add100 = (($60) + 1)|0;
- $arrayidx101 = (($59) + ($add100<<1)|0);
- HEAP16[$arrayidx101>>1] = $conv99;
- $61 = $n;
- $inc = (($61) + 1)|0;
- $n = $inc;
- }
- $62 = $pred_Q13$addr;
- $63 = HEAP32[$62>>2]|0;
- $pred0_Q13 = $63;
- $64 = $pred_Q13$addr;
- $arrayidx103 = ((($64)) + 4|0);
- $65 = HEAP32[$arrayidx103>>2]|0;
- $pred1_Q13 = $65;
- $66 = $fs_kHz$addr;
- $mul104 = $66<<3;
- $n = $mul104;
- while(1) {
- $67 = $n;
- $68 = $frame_length$addr;
- $cmp106 = ($67|0)<($68|0);
- if (!($cmp106)) {
- break;
- }
- $69 = $x1$addr;
- $70 = $n;
- $arrayidx109 = (($69) + ($70<<1)|0);
- $71 = HEAP16[$arrayidx109>>1]|0;
- $conv110 = $71 << 16 >> 16;
- $72 = $x1$addr;
- $73 = $n;
- $add111 = (($73) + 2)|0;
- $arrayidx112 = (($72) + ($add111<<1)|0);
- $74 = HEAP16[$arrayidx112>>1]|0;
- $conv113 = $74 << 16 >> 16;
- $add114 = (($conv110) + ($conv113))|0;
- $75 = $x1$addr;
- $76 = $n;
- $add115 = (($76) + 1)|0;
- $arrayidx116 = (($75) + ($add115<<1)|0);
- $77 = HEAP16[$arrayidx116>>1]|0;
- $conv117 = $77 << 16 >> 16;
- $shl118 = $conv117 << 1;
- $add119 = (($add114) + ($shl118))|0;
- $shl120 = $add119 << 9;
- $sum = $shl120;
- $78 = $x2$addr;
- $79 = $n;
- $add121 = (($79) + 1)|0;
- $arrayidx122 = (($78) + ($add121<<1)|0);
- $80 = HEAP16[$arrayidx122>>1]|0;
- $conv123 = $80 << 16 >> 16;
- $shl124 = $conv123 << 8;
- $81 = $sum;
- $shr125 = $81 >> 16;
- $82 = $pred0_Q13;
- $conv126 = $82&65535;
- $conv127 = $conv126 << 16 >> 16;
- $mul128 = Math_imul($shr125, $conv127)|0;
- $83 = $sum;
- $and129 = $83 & 65535;
- $84 = $pred0_Q13;
- $conv130 = $84&65535;
- $conv131 = $conv130 << 16 >> 16;
- $mul132 = Math_imul($and129, $conv131)|0;
- $shr133 = $mul132 >> 16;
- $add134 = (($mul128) + ($shr133))|0;
- $add135 = (($shl124) + ($add134))|0;
- $sum = $add135;
- $85 = $sum;
- $86 = $x1$addr;
- $87 = $n;
- $add136 = (($87) + 1)|0;
- $arrayidx137 = (($86) + ($add136<<1)|0);
- $88 = HEAP16[$arrayidx137>>1]|0;
- $conv138 = $88 << 16 >> 16;
- $shl139 = $conv138 << 11;
- $shr140 = $shl139 >> 16;
- $89 = $pred1_Q13;
- $conv141 = $89&65535;
- $conv142 = $conv141 << 16 >> 16;
- $mul143 = Math_imul($shr140, $conv142)|0;
- $90 = $x1$addr;
- $91 = $n;
- $add144 = (($91) + 1)|0;
- $arrayidx145 = (($90) + ($add144<<1)|0);
- $92 = HEAP16[$arrayidx145>>1]|0;
- $conv146 = $92 << 16 >> 16;
- $shl147 = $conv146 << 11;
- $and148 = $shl147 & 65535;
- $93 = $pred1_Q13;
- $conv149 = $93&65535;
- $conv150 = $conv149 << 16 >> 16;
- $mul151 = Math_imul($and148, $conv150)|0;
- $shr152 = $mul151 >> 16;
- $add153 = (($mul143) + ($shr152))|0;
- $add154 = (($85) + ($add153))|0;
- $sum = $add154;
- $94 = $sum;
- $shr155 = $94 >> 7;
- $add156 = (($shr155) + 1)|0;
- $shr157 = $add156 >> 1;
- $cmp158 = ($shr157|0)>(32767);
- if ($cmp158) {
- $cond175 = 32767;
- } else {
- $95 = $sum;
- $shr162 = $95 >> 7;
- $add163 = (($shr162) + 1)|0;
- $shr164 = $add163 >> 1;
- $cmp165 = ($shr164|0)<(-32768);
- if ($cmp165) {
- $cond175 = -32768;
- } else {
- $96 = $sum;
- $shr169 = $96 >> 7;
- $add170 = (($shr169) + 1)|0;
- $shr171 = $add170 >> 1;
- $cond175 = $shr171;
- }
- }
- $conv176 = $cond175&65535;
- $97 = $x2$addr;
- $98 = $n;
- $add177 = (($98) + 1)|0;
- $arrayidx178 = (($97) + ($add177<<1)|0);
- HEAP16[$arrayidx178>>1] = $conv176;
- $99 = $n;
- $inc180 = (($99) + 1)|0;
- $n = $inc180;
- }
- $100 = $pred_Q13$addr;
- $101 = HEAP32[$100>>2]|0;
- $conv183 = $101&65535;
- $102 = $state$addr;
- HEAP16[$102>>1] = $conv183;
- $103 = $pred_Q13$addr;
- $arrayidx186 = ((($103)) + 4|0);
- $104 = HEAP32[$arrayidx186>>2]|0;
- $conv187 = $104&65535;
- $105 = $state$addr;
- $arrayidx189 = ((($105)) + 2|0);
- HEAP16[$arrayidx189>>1] = $conv187;
- $n = 0;
- while(1) {
- $106 = $n;
- $107 = $frame_length$addr;
- $cmp191 = ($106|0)<($107|0);
- if (!($cmp191)) {
- break;
- }
- $108 = $x1$addr;
- $109 = $n;
- $add194 = (($109) + 1)|0;
- $arrayidx195 = (($108) + ($add194<<1)|0);
- $110 = HEAP16[$arrayidx195>>1]|0;
- $conv196 = $110 << 16 >> 16;
- $111 = $x2$addr;
- $112 = $n;
- $add197 = (($112) + 1)|0;
- $arrayidx198 = (($111) + ($add197<<1)|0);
- $113 = HEAP16[$arrayidx198>>1]|0;
- $conv199 = $113 << 16 >> 16;
- $add200 = (($conv196) + ($conv199))|0;
- $sum = $add200;
- $114 = $x1$addr;
- $115 = $n;
- $add201 = (($115) + 1)|0;
- $arrayidx202 = (($114) + ($add201<<1)|0);
- $116 = HEAP16[$arrayidx202>>1]|0;
- $conv203 = $116 << 16 >> 16;
- $117 = $x2$addr;
- $118 = $n;
- $add204 = (($118) + 1)|0;
- $arrayidx205 = (($117) + ($add204<<1)|0);
- $119 = HEAP16[$arrayidx205>>1]|0;
- $conv206 = $119 << 16 >> 16;
- $sub207 = (($conv203) - ($conv206))|0;
- $diff = $sub207;
- $120 = $sum;
- $cmp208 = ($120|0)>(32767);
- if ($cmp208) {
- $cond219 = 32767;
- } else {
- $121 = $sum;
- $cmp212 = ($121|0)<(-32768);
- $122 = $sum;
- $cond217 = $cmp212 ? -32768 : $122;
- $cond219 = $cond217;
- }
- $conv220 = $cond219&65535;
- $123 = $x1$addr;
- $124 = $n;
- $add221 = (($124) + 1)|0;
- $arrayidx222 = (($123) + ($add221<<1)|0);
- HEAP16[$arrayidx222>>1] = $conv220;
- $125 = $diff;
- $cmp223 = ($125|0)>(32767);
- if ($cmp223) {
- $cond234 = 32767;
- } else {
- $126 = $diff;
- $cmp227 = ($126|0)<(-32768);
- $127 = $diff;
- $cond232 = $cmp227 ? -32768 : $127;
- $cond234 = $cond232;
- }
- $conv235 = $cond234&65535;
- $128 = $x2$addr;
- $129 = $n;
- $add236 = (($129) + 1)|0;
- $arrayidx237 = (($128) + ($add236<<1)|0);
- HEAP16[$arrayidx237>>1] = $conv235;
- $130 = $n;
- $inc239 = (($130) + 1)|0;
- $n = $inc239;
- }
- STACKTOP = sp;return;
-}
-function _check_control_input($encControl) {
- $encControl = $encControl|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $9 = 0, $API_sampleRate = 0, $API_sampleRate1 = 0, $API_sampleRate10 = 0, $API_sampleRate13 = 0, $API_sampleRate16 = 0, $API_sampleRate4 = 0, $API_sampleRate7 = 0, $cmp = 0, $cmp103 = 0, $cmp106 = 0, $cmp109 = 0, $cmp11 = 0, $cmp14 = 0, $cmp17 = 0, $cmp18 = 0;
- var $cmp2 = 0, $cmp21 = 0, $cmp24 = 0, $cmp26 = 0, $cmp29 = 0, $cmp32 = 0, $cmp34 = 0, $cmp37 = 0, $cmp40 = 0, $cmp44 = 0, $cmp48 = 0, $cmp5 = 0, $cmp52 = 0, $cmp53 = 0, $cmp56 = 0, $cmp59 = 0, $cmp62 = 0, $cmp65 = 0, $cmp68 = 0, $cmp71 = 0;
- var $cmp74 = 0, $cmp77 = 0, $cmp8 = 0, $cmp80 = 0, $cmp83 = 0, $cmp86 = 0, $cmp89 = 0, $cmp92 = 0, $cmp95 = 0, $cmp98 = 0, $complexity = 0, $complexity108 = 0, $desiredInternalSampleRate = 0, $desiredInternalSampleRate20 = 0, $desiredInternalSampleRate23 = 0, $desiredInternalSampleRate43 = 0, $desiredInternalSampleRate47 = 0, $encControl$addr = 0, $maxInternalSampleRate = 0, $maxInternalSampleRate28 = 0;
- var $maxInternalSampleRate31 = 0, $maxInternalSampleRate46 = 0, $maxInternalSampleRate51 = 0, $minInternalSampleRate = 0, $minInternalSampleRate36 = 0, $minInternalSampleRate39 = 0, $minInternalSampleRate42 = 0, $minInternalSampleRate50 = 0, $nChannelsInternal = 0, $nChannelsInternal101 = 0, $nChannelsInternal97 = 0, $packetLossPercentage = 0, $packetLossPercentage67 = 0, $payloadSize_ms = 0, $payloadSize_ms55 = 0, $payloadSize_ms58 = 0, $payloadSize_ms61 = 0, $retval = 0, $useCBR = 0, $useCBR79 = 0;
- var $useDTX = 0, $useDTX73 = 0, $useInBandFEC = 0, $useInBandFEC85 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $encControl$addr = $encControl;
- $0 = $encControl$addr;
- $API_sampleRate = ((($0)) + 8|0);
- $1 = HEAP32[$API_sampleRate>>2]|0;
- $cmp = ($1|0)!=(8000);
- if ($cmp) {
- $2 = $encControl$addr;
- $API_sampleRate1 = ((($2)) + 8|0);
- $3 = HEAP32[$API_sampleRate1>>2]|0;
- $cmp2 = ($3|0)!=(12000);
- if ($cmp2) {
- $4 = $encControl$addr;
- $API_sampleRate4 = ((($4)) + 8|0);
- $5 = HEAP32[$API_sampleRate4>>2]|0;
- $cmp5 = ($5|0)!=(16000);
- if ($cmp5) {
- $6 = $encControl$addr;
- $API_sampleRate7 = ((($6)) + 8|0);
- $7 = HEAP32[$API_sampleRate7>>2]|0;
- $cmp8 = ($7|0)!=(24000);
- if ($cmp8) {
- $8 = $encControl$addr;
- $API_sampleRate10 = ((($8)) + 8|0);
- $9 = HEAP32[$API_sampleRate10>>2]|0;
- $cmp11 = ($9|0)!=(32000);
- if ($cmp11) {
- $10 = $encControl$addr;
- $API_sampleRate13 = ((($10)) + 8|0);
- $11 = HEAP32[$API_sampleRate13>>2]|0;
- $cmp14 = ($11|0)!=(44100);
- if ($cmp14) {
- $12 = $encControl$addr;
- $API_sampleRate16 = ((($12)) + 8|0);
- $13 = HEAP32[$API_sampleRate16>>2]|0;
- $cmp17 = ($13|0)!=(48000);
- if (!($cmp17)) {
- label = 8;
- }
- } else {
- label = 8;
- }
- } else {
- label = 8;
- }
- } else {
- label = 8;
- }
- } else {
- label = 8;
- }
- } else {
- label = 8;
- }
- } else {
- label = 8;
- }
- do {
- if ((label|0) == 8) {
- $14 = $encControl$addr;
- $desiredInternalSampleRate = ((($14)) + 20|0);
- $15 = HEAP32[$desiredInternalSampleRate>>2]|0;
- $cmp18 = ($15|0)!=(8000);
- if ($cmp18) {
- $16 = $encControl$addr;
- $desiredInternalSampleRate20 = ((($16)) + 20|0);
- $17 = HEAP32[$desiredInternalSampleRate20>>2]|0;
- $cmp21 = ($17|0)!=(12000);
- if ($cmp21) {
- $18 = $encControl$addr;
- $desiredInternalSampleRate23 = ((($18)) + 20|0);
- $19 = HEAP32[$desiredInternalSampleRate23>>2]|0;
- $cmp24 = ($19|0)!=(16000);
- if ($cmp24) {
- break;
- }
- }
- }
- $20 = $encControl$addr;
- $maxInternalSampleRate = ((($20)) + 12|0);
- $21 = HEAP32[$maxInternalSampleRate>>2]|0;
- $cmp26 = ($21|0)!=(8000);
- if ($cmp26) {
- $22 = $encControl$addr;
- $maxInternalSampleRate28 = ((($22)) + 12|0);
- $23 = HEAP32[$maxInternalSampleRate28>>2]|0;
- $cmp29 = ($23|0)!=(12000);
- if ($cmp29) {
- $24 = $encControl$addr;
- $maxInternalSampleRate31 = ((($24)) + 12|0);
- $25 = HEAP32[$maxInternalSampleRate31>>2]|0;
- $cmp32 = ($25|0)!=(16000);
- if ($cmp32) {
- break;
- }
- }
- }
- $26 = $encControl$addr;
- $minInternalSampleRate = ((($26)) + 16|0);
- $27 = HEAP32[$minInternalSampleRate>>2]|0;
- $cmp34 = ($27|0)!=(8000);
- if ($cmp34) {
- $28 = $encControl$addr;
- $minInternalSampleRate36 = ((($28)) + 16|0);
- $29 = HEAP32[$minInternalSampleRate36>>2]|0;
- $cmp37 = ($29|0)!=(12000);
- if ($cmp37) {
- $30 = $encControl$addr;
- $minInternalSampleRate39 = ((($30)) + 16|0);
- $31 = HEAP32[$minInternalSampleRate39>>2]|0;
- $cmp40 = ($31|0)!=(16000);
- if ($cmp40) {
- break;
- }
- }
- }
- $32 = $encControl$addr;
- $minInternalSampleRate42 = ((($32)) + 16|0);
- $33 = HEAP32[$minInternalSampleRate42>>2]|0;
- $34 = $encControl$addr;
- $desiredInternalSampleRate43 = ((($34)) + 20|0);
- $35 = HEAP32[$desiredInternalSampleRate43>>2]|0;
- $cmp44 = ($33|0)>($35|0);
- if (!($cmp44)) {
- $36 = $encControl$addr;
- $maxInternalSampleRate46 = ((($36)) + 12|0);
- $37 = HEAP32[$maxInternalSampleRate46>>2]|0;
- $38 = $encControl$addr;
- $desiredInternalSampleRate47 = ((($38)) + 20|0);
- $39 = HEAP32[$desiredInternalSampleRate47>>2]|0;
- $cmp48 = ($37|0)<($39|0);
- if (!($cmp48)) {
- $40 = $encControl$addr;
- $minInternalSampleRate50 = ((($40)) + 16|0);
- $41 = HEAP32[$minInternalSampleRate50>>2]|0;
- $42 = $encControl$addr;
- $maxInternalSampleRate51 = ((($42)) + 12|0);
- $43 = HEAP32[$maxInternalSampleRate51>>2]|0;
- $cmp52 = ($41|0)>($43|0);
- if (!($cmp52)) {
- $44 = $encControl$addr;
- $payloadSize_ms = ((($44)) + 24|0);
- $45 = HEAP32[$payloadSize_ms>>2]|0;
- $cmp53 = ($45|0)!=(10);
- if ($cmp53) {
- $46 = $encControl$addr;
- $payloadSize_ms55 = ((($46)) + 24|0);
- $47 = HEAP32[$payloadSize_ms55>>2]|0;
- $cmp56 = ($47|0)!=(20);
- if ($cmp56) {
- $48 = $encControl$addr;
- $payloadSize_ms58 = ((($48)) + 24|0);
- $49 = HEAP32[$payloadSize_ms58>>2]|0;
- $cmp59 = ($49|0)!=(40);
- if ($cmp59) {
- $50 = $encControl$addr;
- $payloadSize_ms61 = ((($50)) + 24|0);
- $51 = HEAP32[$payloadSize_ms61>>2]|0;
- $cmp62 = ($51|0)!=(60);
- if ($cmp62) {
- $retval = -103;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- }
- }
- }
- $52 = $encControl$addr;
- $packetLossPercentage = ((($52)) + 32|0);
- $53 = HEAP32[$packetLossPercentage>>2]|0;
- $cmp65 = ($53|0)<(0);
- if (!($cmp65)) {
- $54 = $encControl$addr;
- $packetLossPercentage67 = ((($54)) + 32|0);
- $55 = HEAP32[$packetLossPercentage67>>2]|0;
- $cmp68 = ($55|0)>(100);
- if (!($cmp68)) {
- $56 = $encControl$addr;
- $useDTX = ((($56)) + 44|0);
- $57 = HEAP32[$useDTX>>2]|0;
- $cmp71 = ($57|0)<(0);
- if (!($cmp71)) {
- $58 = $encControl$addr;
- $useDTX73 = ((($58)) + 44|0);
- $59 = HEAP32[$useDTX73>>2]|0;
- $cmp74 = ($59|0)>(1);
- if (!($cmp74)) {
- $60 = $encControl$addr;
- $useCBR = ((($60)) + 48|0);
- $61 = HEAP32[$useCBR>>2]|0;
- $cmp77 = ($61|0)<(0);
- if (!($cmp77)) {
- $62 = $encControl$addr;
- $useCBR79 = ((($62)) + 48|0);
- $63 = HEAP32[$useCBR79>>2]|0;
- $cmp80 = ($63|0)>(1);
- if (!($cmp80)) {
- $64 = $encControl$addr;
- $useInBandFEC = ((($64)) + 40|0);
- $65 = HEAP32[$useInBandFEC>>2]|0;
- $cmp83 = ($65|0)<(0);
- do {
- if (!($cmp83)) {
- $66 = $encControl$addr;
- $useInBandFEC85 = ((($66)) + 40|0);
- $67 = HEAP32[$useInBandFEC85>>2]|0;
- $cmp86 = ($67|0)>(1);
- if ($cmp86) {
- break;
- }
- $68 = $encControl$addr;
- $69 = HEAP32[$68>>2]|0;
- $cmp89 = ($69|0)<(1);
- do {
- if (!($cmp89)) {
- $70 = $encControl$addr;
- $71 = HEAP32[$70>>2]|0;
- $cmp92 = ($71|0)>(2);
- if ($cmp92) {
- break;
- }
- $72 = $encControl$addr;
- $nChannelsInternal = ((($72)) + 4|0);
- $73 = HEAP32[$nChannelsInternal>>2]|0;
- $cmp95 = ($73|0)<(1);
- do {
- if (!($cmp95)) {
- $74 = $encControl$addr;
- $nChannelsInternal97 = ((($74)) + 4|0);
- $75 = HEAP32[$nChannelsInternal97>>2]|0;
- $cmp98 = ($75|0)>(2);
- if ($cmp98) {
- break;
- }
- $76 = $encControl$addr;
- $nChannelsInternal101 = ((($76)) + 4|0);
- $77 = HEAP32[$nChannelsInternal101>>2]|0;
- $78 = $encControl$addr;
- $79 = HEAP32[$78>>2]|0;
- $cmp103 = ($77|0)>($79|0);
- if ($cmp103) {
- $retval = -111;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- $80 = $encControl$addr;
- $complexity = ((($80)) + 36|0);
- $81 = HEAP32[$complexity>>2]|0;
- $cmp106 = ($81|0)<(0);
- do {
- if (!($cmp106)) {
- $82 = $encControl$addr;
- $complexity108 = ((($82)) + 36|0);
- $83 = HEAP32[$complexity108>>2]|0;
- $cmp109 = ($83|0)>(10);
- if ($cmp109) {
- break;
- }
- $retval = 0;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- } while(0);
- $retval = -106;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- } while(0);
- $retval = -111;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- } while(0);
- $retval = -111;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- } while(0);
- $retval = -107;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- }
- $retval = -109;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- }
- $retval = -108;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- }
- $retval = -105;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
- }
- }
- }
- }
- } while(0);
- $retval = -102;
- $84 = $retval;
- STACKTOP = sp;return ($84|0);
-}
-function _silk_control_SNR($psEncC,$TargetRate_bps) {
- $psEncC = $psEncC|0;
- $TargetRate_bps = $TargetRate_bps|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
- var $SNR_dB_Q7 = 0, $TargetRate_bps$addr = 0, $TargetRate_bps6 = 0, $TargetRate_bps8 = 0, $add = 0, $arrayidx = 0, $arrayidx23 = 0, $arrayidx25 = 0, $arrayidx27 = 0, $arrayidx30 = 0, $arrayidx32 = 0, $arrayidx35 = 0, $cmp = 0, $cmp1 = 0, $cmp12 = 0, $cmp16 = 0, $cmp19 = 0, $cmp20 = 0, $cmp7 = 0, $cmp9 = 0;
- var $cond = 0, $cond5 = 0, $conv = 0, $conv33 = 0, $conv36 = 0, $div = 0, $frac_Q6 = 0, $fs_kHz = 0, $fs_kHz11 = 0, $inc = 0, $k = 0, $mul = 0, $nb_subfr = 0, $psEncC$addr = 0, $rateTable = 0, $ret = 0, $shl = 0, $shl31 = 0, $sub = 0, $sub22 = 0;
- var $sub24 = 0, $sub26 = 0, $sub28 = 0, $sub29 = 0, $sub34 = 0, $sub37 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $psEncC$addr = $psEncC;
- $TargetRate_bps$addr = $TargetRate_bps;
- $ret = 0;
- $0 = $TargetRate_bps$addr;
- $cmp = ($0|0)>(80000);
- if ($cmp) {
- $cond5 = 80000;
- } else {
- $1 = $TargetRate_bps$addr;
- $cmp1 = ($1|0)<(5000);
- $2 = $TargetRate_bps$addr;
- $cond = $cmp1 ? 5000 : $2;
- $cond5 = $cond;
- }
- $TargetRate_bps$addr = $cond5;
- $3 = $TargetRate_bps$addr;
- $4 = $psEncC$addr;
- $TargetRate_bps6 = ((($4)) + 4632|0);
- $5 = HEAP32[$TargetRate_bps6>>2]|0;
- $cmp7 = ($3|0)!=($5|0);
- if (!($cmp7)) {
- $39 = $ret;
- STACKTOP = sp;return ($39|0);
- }
- $6 = $TargetRate_bps$addr;
- $7 = $psEncC$addr;
- $TargetRate_bps8 = ((($7)) + 4632|0);
- HEAP32[$TargetRate_bps8>>2] = $6;
- $8 = $psEncC$addr;
- $fs_kHz = ((($8)) + 4600|0);
- $9 = HEAP32[$fs_kHz>>2]|0;
- $cmp9 = ($9|0)==(8);
- do {
- if ($cmp9) {
- $rateTable = 16708;
- } else {
- $10 = $psEncC$addr;
- $fs_kHz11 = ((($10)) + 4600|0);
- $11 = HEAP32[$fs_kHz11>>2]|0;
- $cmp12 = ($11|0)==(12);
- if ($cmp12) {
- $rateTable = 16740;
- break;
- } else {
- $rateTable = 16772;
- break;
- }
- }
- } while(0);
- $12 = $psEncC$addr;
- $nb_subfr = ((($12)) + 4604|0);
- $13 = HEAP32[$nb_subfr>>2]|0;
- $cmp16 = ($13|0)==(2);
- if ($cmp16) {
- $14 = $TargetRate_bps$addr;
- $sub = (($14) - 2200)|0;
- $TargetRate_bps$addr = $sub;
- }
- $k = 1;
- while(1) {
- $15 = $k;
- $cmp19 = ($15|0)<(8);
- if (!($cmp19)) {
- label = 16;
- break;
- }
- $16 = $TargetRate_bps$addr;
- $17 = $rateTable;
- $18 = $k;
- $arrayidx = (($17) + ($18<<2)|0);
- $19 = HEAP32[$arrayidx>>2]|0;
- $cmp20 = ($16|0)<=($19|0);
- if ($cmp20) {
- break;
- }
- $38 = $k;
- $inc = (($38) + 1)|0;
- $k = $inc;
- }
- if ((label|0) == 16) {
- $39 = $ret;
- STACKTOP = sp;return ($39|0);
- }
- $20 = $TargetRate_bps$addr;
- $21 = $rateTable;
- $22 = $k;
- $sub22 = (($22) - 1)|0;
- $arrayidx23 = (($21) + ($sub22<<2)|0);
- $23 = HEAP32[$arrayidx23>>2]|0;
- $sub24 = (($20) - ($23))|0;
- $shl = $sub24 << 6;
- $24 = $rateTable;
- $25 = $k;
- $arrayidx25 = (($24) + ($25<<2)|0);
- $26 = HEAP32[$arrayidx25>>2]|0;
- $27 = $rateTable;
- $28 = $k;
- $sub26 = (($28) - 1)|0;
- $arrayidx27 = (($27) + ($sub26<<2)|0);
- $29 = HEAP32[$arrayidx27>>2]|0;
- $sub28 = (($26) - ($29))|0;
- $div = (($shl|0) / ($sub28|0))&-1;
- $frac_Q6 = $div;
- $30 = $k;
- $sub29 = (($30) - 1)|0;
- $arrayidx30 = (24950 + ($sub29<<1)|0);
- $31 = HEAP16[$arrayidx30>>1]|0;
- $conv = $31 << 16 >> 16;
- $shl31 = $conv << 6;
- $32 = $frac_Q6;
- $33 = $k;
- $arrayidx32 = (24950 + ($33<<1)|0);
- $34 = HEAP16[$arrayidx32>>1]|0;
- $conv33 = $34 << 16 >> 16;
- $35 = $k;
- $sub34 = (($35) - 1)|0;
- $arrayidx35 = (24950 + ($sub34<<1)|0);
- $36 = HEAP16[$arrayidx35>>1]|0;
- $conv36 = $36 << 16 >> 16;
- $sub37 = (($conv33) - ($conv36))|0;
- $mul = Math_imul($32, $sub37)|0;
- $add = (($shl31) + ($mul))|0;
- $37 = $psEncC$addr;
- $SNR_dB_Q7 = ((($37)) + 4748|0);
- HEAP32[$SNR_dB_Q7>>2] = $add;
- $39 = $ret;
- STACKTOP = sp;return ($39|0);
-}
-function _silk_init_encoder($psEnc,$arch) {
- $psEnc = $psEnc|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $arch$addr = 0, $arch1 = 0, $call = 0, $call8 = 0, $first_frame_after_reset = 0, $psEnc$addr = 0, $ret = 0, $sVAD = 0;
- var $shl = 0, $sub = 0, $variable_HP_smth1_Q15 = 0, $variable_HP_smth1_Q154 = 0, $variable_HP_smth2_Q15 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psEnc$addr = $psEnc;
- $arch$addr = $arch;
- $ret = 0;
- $0 = $psEnc$addr;
- _memset(($0|0),0,12240)|0;
- $1 = $arch$addr;
- $2 = $psEnc$addr;
- $arch1 = ((($2)) + 5124|0);
- HEAP32[$arch1>>2] = $1;
- $call = (_silk_lin2log(3932160)|0);
- $sub = (($call) - 2048)|0;
- $shl = $sub << 8;
- $3 = $psEnc$addr;
- $variable_HP_smth1_Q15 = ((($3)) + 8|0);
- HEAP32[$variable_HP_smth1_Q15>>2] = $shl;
- $4 = $psEnc$addr;
- $variable_HP_smth1_Q154 = ((($4)) + 8|0);
- $5 = HEAP32[$variable_HP_smth1_Q154>>2]|0;
- $6 = $psEnc$addr;
- $variable_HP_smth2_Q15 = ((($6)) + 12|0);
- HEAP32[$variable_HP_smth2_Q15>>2] = $5;
- $7 = $psEnc$addr;
- $first_frame_after_reset = ((($7)) + 4696|0);
- HEAP32[$first_frame_after_reset>>2] = 1;
- $8 = $psEnc$addr;
- $sVAD = ((($8)) + 32|0);
- $call8 = (_silk_VAD_Init($sVAD)|0);
- $9 = $ret;
- $add = (($9) + ($call8))|0;
- $ret = $add;
- $10 = $ret;
- STACKTOP = sp;return ($10|0);
-}
-function _silk_control_encoder($psEnc,$encControl,$TargetRate_bps,$allow_bw_switch,$channelNb,$force_fs_kHz) {
- $psEnc = $psEnc|0;
- $encControl = $encControl|0;
- $TargetRate_bps = $TargetRate_bps|0;
- $allow_bw_switch = $allow_bw_switch|0;
- $channelNb = $channelNb|0;
- $force_fs_kHz = $force_fs_kHz|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $8 = 0, $9 = 0, $API_fs_Hz = 0, $API_fs_Hz21 = 0, $API_sampleRate = 0, $PacketLoss_perc = 0, $TargetRate_bps$addr = 0, $add = 0, $add37 = 0, $add39 = 0, $add42 = 0;
- var $add46 = 0, $allow_bandwidth_switch = 0, $allow_bw_switch$addr = 0, $call = 0, $call33 = 0, $call36 = 0, $call38 = 0, $call41 = 0, $call45 = 0, $channelNb$addr = 0, $channelNb16 = 0, $cmp = 0, $cmp19 = 0, $cmp23 = 0, $cmp27 = 0, $complexity = 0, $controlled_since_last_payload = 0, $controlled_since_last_payload48 = 0, $desiredInternalSampleRate = 0, $desiredInternal_fs_Hz = 0;
- var $encControl$addr = 0, $force_fs_kHz$addr = 0, $fs_kHz = 0, $fs_kHz26 = 0, $fs_kHz30 = 0, $maxInternalSampleRate = 0, $maxInternal_fs_Hz = 0, $minInternalSampleRate = 0, $minInternal_fs_Hz = 0, $nChannelsAPI11 = 0, $nChannelsInternal = 0, $nChannelsInternal13 = 0, $packetLossPercentage = 0, $payloadSize_ms = 0, $prefillFlag = 0, $prev_API_fs_Hz = 0, $psEnc$addr = 0, $ret = 0, $retval = 0, $tobool = 0;
- var $useCBR = 0, $useCBR3 = 0, $useDTX = 0, $useDTX1 = 0, $useInBandFEC = 0, $useInBandFEC9 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $psEnc$addr = $psEnc;
- $encControl$addr = $encControl;
- $TargetRate_bps$addr = $TargetRate_bps;
- $allow_bw_switch$addr = $allow_bw_switch;
- $channelNb$addr = $channelNb;
- $force_fs_kHz$addr = $force_fs_kHz;
- $ret = 0;
- $0 = $encControl$addr;
- $useDTX = ((($0)) + 44|0);
- $1 = HEAP32[$useDTX>>2]|0;
- $2 = $psEnc$addr;
- $useDTX1 = ((($2)) + 6108|0);
- HEAP32[$useDTX1>>2] = $1;
- $3 = $encControl$addr;
- $useCBR = ((($3)) + 48|0);
- $4 = HEAP32[$useCBR>>2]|0;
- $5 = $psEnc$addr;
- $useCBR3 = ((($5)) + 4708|0);
- HEAP32[$useCBR3>>2] = $4;
- $6 = $encControl$addr;
- $API_sampleRate = ((($6)) + 8|0);
- $7 = HEAP32[$API_sampleRate>>2]|0;
- $8 = $psEnc$addr;
- $API_fs_Hz = ((($8)) + 4580|0);
- HEAP32[$API_fs_Hz>>2] = $7;
- $9 = $encControl$addr;
- $maxInternalSampleRate = ((($9)) + 12|0);
- $10 = HEAP32[$maxInternalSampleRate>>2]|0;
- $11 = $psEnc$addr;
- $maxInternal_fs_Hz = ((($11)) + 4588|0);
- HEAP32[$maxInternal_fs_Hz>>2] = $10;
- $12 = $encControl$addr;
- $minInternalSampleRate = ((($12)) + 16|0);
- $13 = HEAP32[$minInternalSampleRate>>2]|0;
- $14 = $psEnc$addr;
- $minInternal_fs_Hz = ((($14)) + 4592|0);
- HEAP32[$minInternal_fs_Hz>>2] = $13;
- $15 = $encControl$addr;
- $desiredInternalSampleRate = ((($15)) + 20|0);
- $16 = HEAP32[$desiredInternalSampleRate>>2]|0;
- $17 = $psEnc$addr;
- $desiredInternal_fs_Hz = ((($17)) + 4596|0);
- HEAP32[$desiredInternal_fs_Hz>>2] = $16;
- $18 = $encControl$addr;
- $useInBandFEC = ((($18)) + 40|0);
- $19 = HEAP32[$useInBandFEC>>2]|0;
- $20 = $psEnc$addr;
- $useInBandFEC9 = ((($20)) + 6120|0);
- HEAP32[$useInBandFEC9>>2] = $19;
- $21 = $encControl$addr;
- $22 = HEAP32[$21>>2]|0;
- $23 = $psEnc$addr;
- $nChannelsAPI11 = ((($23)) + 5784|0);
- HEAP32[$nChannelsAPI11>>2] = $22;
- $24 = $encControl$addr;
- $nChannelsInternal = ((($24)) + 4|0);
- $25 = HEAP32[$nChannelsInternal>>2]|0;
- $26 = $psEnc$addr;
- $nChannelsInternal13 = ((($26)) + 5788|0);
- HEAP32[$nChannelsInternal13>>2] = $25;
- $27 = $allow_bw_switch$addr;
- $28 = $psEnc$addr;
- $allow_bandwidth_switch = ((($28)) + 4560|0);
- HEAP32[$allow_bandwidth_switch>>2] = $27;
- $29 = $channelNb$addr;
- $30 = $psEnc$addr;
- $channelNb16 = ((($30)) + 5792|0);
- HEAP32[$channelNb16>>2] = $29;
- $31 = $psEnc$addr;
- $controlled_since_last_payload = ((($31)) + 4700|0);
- $32 = HEAP32[$controlled_since_last_payload>>2]|0;
- $cmp = ($32|0)!=(0);
- if ($cmp) {
- $33 = $psEnc$addr;
- $prefillFlag = ((($33)) + 4712|0);
- $34 = HEAP32[$prefillFlag>>2]|0;
- $cmp19 = ($34|0)==(0);
- if ($cmp19) {
- $35 = $psEnc$addr;
- $API_fs_Hz21 = ((($35)) + 4580|0);
- $36 = HEAP32[$API_fs_Hz21>>2]|0;
- $37 = $psEnc$addr;
- $prev_API_fs_Hz = ((($37)) + 4584|0);
- $38 = HEAP32[$prev_API_fs_Hz>>2]|0;
- $cmp23 = ($36|0)!=($38|0);
- if ($cmp23) {
- $39 = $psEnc$addr;
- $fs_kHz26 = ((($39)) + 4600|0);
- $40 = HEAP32[$fs_kHz26>>2]|0;
- $cmp27 = ($40|0)>(0);
- if ($cmp27) {
- $41 = $psEnc$addr;
- $42 = $psEnc$addr;
- $fs_kHz30 = ((($42)) + 4600|0);
- $43 = HEAP32[$fs_kHz30>>2]|0;
- $call = (_silk_setup_resamplers($41,$43)|0);
- $44 = $ret;
- $add = (($44) + ($call))|0;
- $ret = $add;
- }
- }
- $45 = $ret;
- $retval = $45;
- $70 = $retval;
- STACKTOP = sp;return ($70|0);
- }
- }
- $46 = $psEnc$addr;
- $47 = $encControl$addr;
- $call33 = (_silk_control_audio_bandwidth($46,$47)|0);
- $fs_kHz = $call33;
- $48 = $force_fs_kHz$addr;
- $tobool = ($48|0)!=(0);
- if ($tobool) {
- $49 = $force_fs_kHz$addr;
- $fs_kHz = $49;
- }
- $50 = $psEnc$addr;
- $51 = $fs_kHz;
- $call36 = (_silk_setup_resamplers($50,$51)|0);
- $52 = $ret;
- $add37 = (($52) + ($call36))|0;
- $ret = $add37;
- $53 = $psEnc$addr;
- $54 = $fs_kHz;
- $55 = $encControl$addr;
- $payloadSize_ms = ((($55)) + 24|0);
- $56 = HEAP32[$payloadSize_ms>>2]|0;
- $call38 = (_silk_setup_fs($53,$54,$56)|0);
- $57 = $ret;
- $add39 = (($57) + ($call38))|0;
- $ret = $add39;
- $58 = $psEnc$addr;
- $59 = $encControl$addr;
- $complexity = ((($59)) + 36|0);
- $60 = HEAP32[$complexity>>2]|0;
- $call41 = (_silk_setup_complexity($58,$60)|0);
- $61 = $ret;
- $add42 = (($61) + ($call41))|0;
- $ret = $add42;
- $62 = $encControl$addr;
- $packetLossPercentage = ((($62)) + 32|0);
- $63 = HEAP32[$packetLossPercentage>>2]|0;
- $64 = $psEnc$addr;
- $PacketLoss_perc = ((($64)) + 4640|0);
- HEAP32[$PacketLoss_perc>>2] = $63;
- $65 = $psEnc$addr;
- $66 = $TargetRate_bps$addr;
- $call45 = (_silk_setup_LBRR($65,$66)|0);
- $67 = $ret;
- $add46 = (($67) + ($call45))|0;
- $ret = $add46;
- $68 = $psEnc$addr;
- $controlled_since_last_payload48 = ((($68)) + 4700|0);
- HEAP32[$controlled_since_last_payload48>>2] = 1;
- $69 = $ret;
- $retval = $69;
- $70 = $retval;
+ $62 = $7;
+ $63 = ($62|0)==(2);
+ $64 = $63&1;
+ $65 = $64 << 2;
+ $66 = $9;
+ $67 = $66&255;
+ $68 = $67 | $65;
+ $69 = $68&255;
+ $9 = $69;
+ $70 = $9;
STACKTOP = sp;return ($70|0);
}
-function _silk_setup_resamplers($psEnc,$fs_kHz) {
- $psEnc = $psEnc|0;
- $fs_kHz = $fs_kHz|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $API_fs_Hz = 0, $API_fs_Hz11 = 0, $API_fs_Hz26 = 0, $API_fs_Hz30 = 0, $API_fs_Hz39 = 0, $API_fs_Hz53 = 0, $add = 0;
- var $add14 = 0, $add28 = 0, $add35 = 0, $add44 = 0, $add48 = 0, $api_buf_samples = 0, $buf_length_ms = 0, $call = 0, $call27 = 0, $call34 = 0, $call43 = 0, $call47 = 0, $cmp = 0, $cmp19 = 0, $cmp4 = 0, $cmp7 = 0, $cond = 0, $conv = 0, $conv23 = 0, $conv40 = 0;
- var $conv41 = 0, $div = 0, $fs_kHz$addr = 0, $fs_kHz1 = 0, $fs_kHz16 = 0, $fs_kHz22 = 0, $fs_kHz6 = 0, $mul = 0, $mul13 = 0, $mul17 = 0, $mul18 = 0, $mul24 = 0, $mul31 = 0, $mul42 = 0, $nb_subfr = 0, $new_buf_samples = 0, $old_buf_samples = 0, $prev_API_fs_Hz = 0, $prev_API_fs_Hz55 = 0, $psEnc$addr = 0;
- var $resampler_state = 0, $resampler_state37 = 0, $resampler_state46 = 0, $ret = 0, $saved_stack = 0, $shl = 0, $temp_resampler_state = 0, $vla = 0, $vla$alloca_mul = 0, $vla32 = 0, $vla32$alloca_mul = 0, $x_buf = 0, $x_buf49 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 336|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(336|0);
- $temp_resampler_state = sp;
- $psEnc$addr = $psEnc;
- $fs_kHz$addr = $fs_kHz;
- $ret = 0;
- $0 = $psEnc$addr;
- $fs_kHz1 = ((($0)) + 4600|0);
- $1 = HEAP32[$fs_kHz1>>2]|0;
- $2 = $fs_kHz$addr;
- $cmp = ($1|0)!=($2|0);
- if (!($cmp)) {
- $3 = $psEnc$addr;
- $prev_API_fs_Hz = ((($3)) + 4584|0);
- $4 = HEAP32[$prev_API_fs_Hz>>2]|0;
- $5 = $psEnc$addr;
- $API_fs_Hz = ((($5)) + 4580|0);
- $6 = HEAP32[$API_fs_Hz>>2]|0;
- $cmp4 = ($4|0)!=($6|0);
- if (!($cmp4)) {
- $49 = $psEnc$addr;
- $API_fs_Hz53 = ((($49)) + 4580|0);
- $50 = HEAP32[$API_fs_Hz53>>2]|0;
- $51 = $psEnc$addr;
- $prev_API_fs_Hz55 = ((($51)) + 4584|0);
- HEAP32[$prev_API_fs_Hz55>>2] = $50;
- $52 = $ret;
- STACKTOP = sp;return ($52|0);
- }
- }
- $7 = $psEnc$addr;
- $fs_kHz6 = ((($7)) + 4600|0);
- $8 = HEAP32[$fs_kHz6>>2]|0;
- $cmp7 = ($8|0)==(0);
- $9 = $psEnc$addr;
- if ($cmp7) {
- $resampler_state = ((($9)) + 5808|0);
- $10 = $psEnc$addr;
- $API_fs_Hz11 = ((($10)) + 4580|0);
- $11 = HEAP32[$API_fs_Hz11>>2]|0;
- $12 = $fs_kHz$addr;
- $mul = ($12*1000)|0;
- $call = (_silk_resampler_init($resampler_state,$11,$mul,1)|0);
- $13 = $ret;
- $add = (($13) + ($call))|0;
- $ret = $add;
- $49 = $psEnc$addr;
- $API_fs_Hz53 = ((($49)) + 4580|0);
- $50 = HEAP32[$API_fs_Hz53>>2]|0;
- $51 = $psEnc$addr;
- $prev_API_fs_Hz55 = ((($51)) + 4584|0);
- HEAP32[$prev_API_fs_Hz55>>2] = $50;
- $52 = $ret;
- STACKTOP = sp;return ($52|0);
- } else {
- $nb_subfr = ((($9)) + 4604|0);
- $14 = HEAP32[$nb_subfr>>2]|0;
- $mul13 = ($14*5)|0;
- $shl = $mul13 << 1;
- $add14 = (($shl) + 5)|0;
- $buf_length_ms = $add14;
- $15 = $buf_length_ms;
- $16 = $psEnc$addr;
- $fs_kHz16 = ((($16)) + 4600|0);
- $17 = HEAP32[$fs_kHz16>>2]|0;
- $mul17 = Math_imul($15, $17)|0;
- $old_buf_samples = $mul17;
- $18 = $buf_length_ms;
- $19 = $fs_kHz$addr;
- $mul18 = Math_imul($18, $19)|0;
- $new_buf_samples = $mul18;
- $20 = $old_buf_samples;
- $21 = $new_buf_samples;
- $cmp19 = ($20|0)>($21|0);
- $22 = $old_buf_samples;
- $23 = $new_buf_samples;
- $cond = $cmp19 ? $22 : $23;
- $24 = (_llvm_stacksave()|0);
- $saved_stack = $24;
- $vla$alloca_mul = $cond<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $25 = $psEnc$addr;
- $x_buf = ((($25)) + 9356|0);
- $26 = $old_buf_samples;
- _silk_float2short_array($vla,$x_buf,$26);
- $27 = $psEnc$addr;
- $fs_kHz22 = ((($27)) + 4600|0);
- $28 = HEAP32[$fs_kHz22>>2]|0;
- $conv = $28&65535;
- $conv23 = $conv << 16 >> 16;
- $mul24 = ($conv23*1000)|0;
- $29 = $psEnc$addr;
- $API_fs_Hz26 = ((($29)) + 4580|0);
- $30 = HEAP32[$API_fs_Hz26>>2]|0;
- $call27 = (_silk_resampler_init($temp_resampler_state,$mul24,$30,0)|0);
- $31 = $ret;
- $add28 = (($31) + ($call27))|0;
- $ret = $add28;
- $32 = $buf_length_ms;
- $33 = $psEnc$addr;
- $API_fs_Hz30 = ((($33)) + 4580|0);
- $34 = HEAP32[$API_fs_Hz30>>2]|0;
- $div = (($34|0) / 1000)&-1;
- $mul31 = Math_imul($32, $div)|0;
- $api_buf_samples = $mul31;
- $35 = $api_buf_samples;
- $vla32$alloca_mul = $35<<1;
- $vla32 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla32$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla32$alloca_mul)|0)+15)&-16)|0);;
- $36 = $old_buf_samples;
- $call34 = (_silk_resampler($temp_resampler_state,$vla32,$vla,$36)|0);
- $37 = $ret;
- $add35 = (($37) + ($call34))|0;
- $ret = $add35;
- $38 = $psEnc$addr;
- $resampler_state37 = ((($38)) + 5808|0);
- $39 = $psEnc$addr;
- $API_fs_Hz39 = ((($39)) + 4580|0);
- $40 = HEAP32[$API_fs_Hz39>>2]|0;
- $41 = $fs_kHz$addr;
- $conv40 = $41&65535;
- $conv41 = $conv40 << 16 >> 16;
- $mul42 = ($conv41*1000)|0;
- $call43 = (_silk_resampler_init($resampler_state37,$40,$mul42,1)|0);
- $42 = $ret;
- $add44 = (($42) + ($call43))|0;
- $ret = $add44;
- $43 = $psEnc$addr;
- $resampler_state46 = ((($43)) + 5808|0);
- $44 = $api_buf_samples;
- $call47 = (_silk_resampler($resampler_state46,$vla,$vla32,$44)|0);
- $45 = $ret;
- $add48 = (($45) + ($call47))|0;
- $ret = $add48;
- $46 = $psEnc$addr;
- $x_buf49 = ((($46)) + 9356|0);
- $47 = $new_buf_samples;
- _silk_short2float_array($x_buf49,$vla,$47);
- $48 = $saved_stack;
- _llvm_stackrestore(($48|0));
- $49 = $psEnc$addr;
- $API_fs_Hz53 = ((($49)) + 4580|0);
- $50 = HEAP32[$API_fs_Hz53>>2]|0;
- $51 = $psEnc$addr;
- $prev_API_fs_Hz55 = ((($51)) + 4584|0);
- HEAP32[$prev_API_fs_Hz55>>2] = $50;
- $52 = $ret;
- STACKTOP = sp;return ($52|0);
- }
- return (0)|0;
-}
-function _silk_setup_fs($psEnc,$fs_kHz,$PacketSize_ms) {
- $psEnc = $psEnc|0;
- $fs_kHz = $fs_kHz|0;
- $PacketSize_ms = $PacketSize_ms|0;
- var $$sink = 0, $$sink3 = 0, $$sink3$sink = 0, $$sink4 = 0, $$sink5 = 0, $$sink5$sink = 0, $$sink6 = 0, $$sink7 = 0, $$sink8$sink = 0, $$sink9$sink = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0;
- var $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0;
- var $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0;
- var $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
- var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
- var $90 = 0, $91 = 0, $PacketSize_ms$addr = 0, $PacketSize_ms1 = 0, $PacketSize_ms59 = 0, $TargetRate_bps = 0, $TargetRate_bps73 = 0, $cmp = 0, $cmp117 = 0, $cmp12 = 0, $cmp121 = 0, $cmp159 = 0, $cmp176 = 0, $cmp184 = 0, $cmp2 = 0, $cmp24 = 0, $cmp3 = 0, $cmp48 = 0, $cmp5 = 0, $cmp64 = 0;
- var $cmp7 = 0, $cmp88 = 0, $cmp9 = 0, $cmp93 = 0, $cond = 0, $conv = 0, $conv136 = 0, $conv137 = 0, $conv14 = 0, $conv140 = 0, $conv141 = 0, $conv145 = 0, $conv146 = 0, $conv149 = 0, $conv15 = 0, $conv150 = 0, $conv153 = 0, $conv154 = 0, $conv16 = 0, $conv162 = 0;
- var $conv163 = 0, $conv18 = 0, $conv19 = 0, $conv36 = 0, $conv37 = 0, $conv41 = 0, $conv42 = 0, $div = 0, $first_frame_after_reset = 0, $frame_length = 0, $frame_length144 = 0, $frame_length40 = 0, $fs_kHz$addr = 0, $fs_kHz116 = 0, $fs_kHz120 = 0, $fs_kHz175 = 0, $fs_kHz183 = 0, $fs_kHz23 = 0, $fs_kHz47 = 0, $fs_kHz63 = 0;
- var $fs_kHz85 = 0, $fs_kHz87 = 0, $inputBufIx = 0, $la_pitch = 0, $lagPrev = 0, $lagPrev80 = 0, $ltp_mem_length = 0, $max_pitch_lag = 0, $mu_LTP_Q9 = 0, $mu_LTP_Q9188 = 0, $mul = 0, $mul132 = 0, $mul142 = 0, $mul147 = 0, $mul151 = 0, $mul155 = 0, $mul164 = 0, $mul170 = 0, $mul170$sink = 0, $mul20 = 0;
- var $mul38 = 0, $mul43 = 0, $nFramesEncoded = 0, $nFramesPerPacket = 0, $nFramesPerPacket33 = 0, $nb_subfr = 0, $nb_subfr139 = 0, $nb_subfr158 = 0, $nb_subfr35 = 0, $nb_subfr92 = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $pitch_LPC_win_length = 0, $pitch_LPC_win_length172 = 0, $pitch_LPC_win_length45 = 0, $pitch_contour_iCDF = 0, $pitch_contour_iCDF52 = 0, $pitch_contour_iCDF52$sink = 0, $pitch_contour_iCDF97 = 0;
- var $pitch_lag_low_bits_iCDF195 = 0, $predictLPCOrder = 0, $predictLPCOrder128 = 0, $prevLag = 0, $prevSignalType = 0, $prev_NLSFq_Q15 = 0, $prev_gain_Q16 = 0, $psEnc$addr = 0, $psNLSF_CB130 = 0, $ret = 0, $sLP = 0, $sNSQ = 0, $sNSQ79 = 0, $sNSQ82 = 0, $sPrefilt = 0, $sPrefilt76 = 0, $sShape = 0, $sShape77 = 0, $silk_NLSF_CB_WB$sink = 0, $subfr_length = 0;
- var $subfr_length135 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psEnc$addr = $psEnc;
- $fs_kHz$addr = $fs_kHz;
- $PacketSize_ms$addr = $PacketSize_ms;
- $ret = 0;
- $0 = $PacketSize_ms$addr;
- $1 = $psEnc$addr;
- $PacketSize_ms1 = ((($1)) + 4636|0);
- $2 = HEAP32[$PacketSize_ms1>>2]|0;
- $cmp = ($0|0)!=($2|0);
- if ($cmp) {
- $3 = $PacketSize_ms$addr;
- $cmp2 = ($3|0)!=(10);
- $4 = $PacketSize_ms$addr;
- $cmp3 = ($4|0)!=(20);
- $or$cond = $cmp2 & $cmp3;
- $5 = $PacketSize_ms$addr;
- $cmp5 = ($5|0)!=(40);
- $or$cond1 = $or$cond & $cmp5;
- $6 = $PacketSize_ms$addr;
- $cmp7 = ($6|0)!=(60);
- $or$cond2 = $or$cond1 & $cmp7;
- if ($or$cond2) {
- $ret = -103;
- }
- $7 = $PacketSize_ms$addr;
- $cmp9 = ($7|0)<=(10);
- if ($cmp9) {
- $8 = $psEnc$addr;
- $nFramesPerPacket = ((($8)) + 5776|0);
- HEAP32[$nFramesPerPacket>>2] = 1;
- $9 = $PacketSize_ms$addr;
- $cmp12 = ($9|0)==(10);
- $cond = $cmp12 ? 2 : 1;
- $10 = $psEnc$addr;
- $nb_subfr = ((($10)) + 4604|0);
- HEAP32[$nb_subfr>>2] = $cond;
- $11 = $PacketSize_ms$addr;
- $conv = $11&65535;
- $conv14 = $conv << 16 >> 16;
- $12 = $fs_kHz$addr;
- $conv15 = $12&65535;
- $conv16 = $conv15 << 16 >> 16;
- $mul = Math_imul($conv14, $conv16)|0;
- $13 = $psEnc$addr;
- $frame_length = ((($13)) + 4608|0);
- HEAP32[$frame_length>>2] = $mul;
- $14 = $fs_kHz$addr;
- $conv18 = $14&65535;
- $conv19 = $conv18 << 16 >> 16;
- $mul20 = ($conv19*14)|0;
- $15 = $psEnc$addr;
- $pitch_LPC_win_length = ((($15)) + 4572|0);
- HEAP32[$pitch_LPC_win_length>>2] = $mul20;
- $16 = $psEnc$addr;
- $fs_kHz23 = ((($16)) + 4600|0);
- $17 = HEAP32[$fs_kHz23>>2]|0;
- $cmp24 = ($17|0)==(8);
- $18 = $psEnc$addr;
- $pitch_contour_iCDF = ((($18)) + 4720|0);
- $$sink = $cmp24 ? 27819 : 27807;
- $$sink3$sink = $$sink;$pitch_contour_iCDF52$sink = $pitch_contour_iCDF;
- } else {
- $19 = $PacketSize_ms$addr;
- $div = (($19|0) / 20)&-1;
- $20 = $psEnc$addr;
- $nFramesPerPacket33 = ((($20)) + 5776|0);
- HEAP32[$nFramesPerPacket33>>2] = $div;
- $21 = $psEnc$addr;
- $nb_subfr35 = ((($21)) + 4604|0);
- HEAP32[$nb_subfr35>>2] = 4;
- $22 = $fs_kHz$addr;
- $conv36 = $22&65535;
- $conv37 = $conv36 << 16 >> 16;
- $mul38 = ($conv37*20)|0;
- $23 = $psEnc$addr;
- $frame_length40 = ((($23)) + 4608|0);
- HEAP32[$frame_length40>>2] = $mul38;
- $24 = $fs_kHz$addr;
- $conv41 = $24&65535;
- $conv42 = $conv41 << 16 >> 16;
- $mul43 = ($conv42*24)|0;
- $25 = $psEnc$addr;
- $pitch_LPC_win_length45 = ((($25)) + 4572|0);
- HEAP32[$pitch_LPC_win_length45>>2] = $mul43;
- $26 = $psEnc$addr;
- $fs_kHz47 = ((($26)) + 4600|0);
- $27 = HEAP32[$fs_kHz47>>2]|0;
- $cmp48 = ($27|0)==(8);
- $28 = $psEnc$addr;
- $pitch_contour_iCDF52 = ((($28)) + 4720|0);
- $$sink3 = $cmp48 ? 27796 : 27762;
- $$sink3$sink = $$sink3;$pitch_contour_iCDF52$sink = $pitch_contour_iCDF52;
- }
- HEAP32[$pitch_contour_iCDF52$sink>>2] = $$sink3$sink;
- $29 = $PacketSize_ms$addr;
- $30 = $psEnc$addr;
- $PacketSize_ms59 = ((($30)) + 4636|0);
- HEAP32[$PacketSize_ms59>>2] = $29;
- $31 = $psEnc$addr;
- $TargetRate_bps = ((($31)) + 4632|0);
- HEAP32[$TargetRate_bps>>2] = 0;
- }
- $32 = $psEnc$addr;
- $fs_kHz63 = ((($32)) + 4600|0);
- $33 = HEAP32[$fs_kHz63>>2]|0;
- $34 = $fs_kHz$addr;
- $cmp64 = ($33|0)!=($34|0);
- if (!($cmp64)) {
- $91 = $ret;
- STACKTOP = sp;return ($91|0);
- }
- $35 = $psEnc$addr;
- $sShape = ((($35)) + 7200|0);
- ;HEAP32[$sShape>>2]=0|0;HEAP32[$sShape+4>>2]=0|0;HEAP32[$sShape+8>>2]=0|0;HEAP32[$sShape+12>>2]=0|0;
- $36 = $psEnc$addr;
- $sPrefilt = ((($36)) + 7216|0);
- _memset(($sPrefilt|0),0,2140)|0;
- $37 = $psEnc$addr;
- $sNSQ = ((($37)) + 144|0);
- _memset(($sNSQ|0),0,4380)|0;
- $38 = $psEnc$addr;
- $prev_NLSFq_Q15 = ((($38)) + 4524|0);
- ;HEAP32[$prev_NLSFq_Q15>>2]=0|0;HEAP32[$prev_NLSFq_Q15+4>>2]=0|0;HEAP32[$prev_NLSFq_Q15+8>>2]=0|0;HEAP32[$prev_NLSFq_Q15+12>>2]=0|0;HEAP32[$prev_NLSFq_Q15+16>>2]=0|0;HEAP32[$prev_NLSFq_Q15+20>>2]=0|0;HEAP32[$prev_NLSFq_Q15+24>>2]=0|0;HEAP32[$prev_NLSFq_Q15+28>>2]=0|0;
- $39 = $psEnc$addr;
- $sLP = ((($39)) + 16|0);
- ;HEAP32[$sLP>>2]=0|0;HEAP32[$sLP+4>>2]=0|0;
- $40 = $psEnc$addr;
- $inputBufIx = ((($40)) + 5772|0);
- HEAP32[$inputBufIx>>2] = 0;
- $41 = $psEnc$addr;
- $nFramesEncoded = ((($41)) + 5780|0);
- HEAP32[$nFramesEncoded>>2] = 0;
- $42 = $psEnc$addr;
- $TargetRate_bps73 = ((($42)) + 4632|0);
- HEAP32[$TargetRate_bps73>>2] = 0;
- $43 = $psEnc$addr;
- $prevLag = ((($43)) + 4568|0);
- HEAP32[$prevLag>>2] = 100;
- $44 = $psEnc$addr;
- $first_frame_after_reset = ((($44)) + 4696|0);
- HEAP32[$first_frame_after_reset>>2] = 1;
- $45 = $psEnc$addr;
- $sPrefilt76 = ((($45)) + 7216|0);
- $lagPrev = ((($sPrefilt76)) + 2136|0);
- HEAP32[$lagPrev>>2] = 100;
- $46 = $psEnc$addr;
- $sShape77 = ((($46)) + 7200|0);
- HEAP8[$sShape77>>0] = 10;
- $47 = $psEnc$addr;
- $sNSQ79 = ((($47)) + 144|0);
- $lagPrev80 = ((($sNSQ79)) + 4356|0);
- HEAP32[$lagPrev80>>2] = 100;
- $48 = $psEnc$addr;
- $sNSQ82 = ((($48)) + 144|0);
- $prev_gain_Q16 = ((($sNSQ82)) + 4372|0);
- HEAP32[$prev_gain_Q16>>2] = 65536;
- $49 = $psEnc$addr;
- $prevSignalType = ((($49)) + 4565|0);
- HEAP8[$prevSignalType>>0] = 0;
- $50 = $fs_kHz$addr;
- $51 = $psEnc$addr;
- $fs_kHz85 = ((($51)) + 4600|0);
- HEAP32[$fs_kHz85>>2] = $50;
- $52 = $psEnc$addr;
- $fs_kHz87 = ((($52)) + 4600|0);
- $53 = HEAP32[$fs_kHz87>>2]|0;
- $cmp88 = ($53|0)==(8);
- $54 = $psEnc$addr;
- $nb_subfr92 = ((($54)) + 4604|0);
- $55 = HEAP32[$nb_subfr92>>2]|0;
- $cmp93 = ($55|0)==(4);
- $56 = $psEnc$addr;
- $pitch_contour_iCDF97 = ((($56)) + 4720|0);
- $$sink5 = $cmp93 ? 27762 : 27807;
- $$sink4 = $cmp93 ? 27796 : 27819;
- $$sink5$sink = $cmp88 ? $$sink4 : $$sink5;
- HEAP32[$pitch_contour_iCDF97>>2] = $$sink5$sink;
- $57 = $psEnc$addr;
- $fs_kHz116 = ((($57)) + 4600|0);
- $58 = HEAP32[$fs_kHz116>>2]|0;
- $cmp117 = ($58|0)==(8);
- if ($cmp117) {
- label = 11;
- } else {
- $59 = $psEnc$addr;
- $fs_kHz120 = ((($59)) + 4600|0);
- $60 = HEAP32[$fs_kHz120>>2]|0;
- $cmp121 = ($60|0)==(12);
- if ($cmp121) {
- label = 11;
- } else {
- $63 = $psEnc$addr;
- $predictLPCOrder128 = ((($63)) + 4664|0);
- HEAP32[$predictLPCOrder128>>2] = 16;
- $64 = $psEnc$addr;
- $$sink6 = $64;$silk_NLSF_CB_WB$sink = 22252;
- }
- }
- if ((label|0) == 11) {
- $61 = $psEnc$addr;
- $predictLPCOrder = ((($61)) + 4664|0);
- HEAP32[$predictLPCOrder>>2] = 10;
- $62 = $psEnc$addr;
- $$sink6 = $62;$silk_NLSF_CB_WB$sink = 22216;
- }
- $psNLSF_CB130 = ((($$sink6)) + 4724|0);
- HEAP32[$psNLSF_CB130>>2] = $silk_NLSF_CB_WB$sink;
- $65 = $fs_kHz$addr;
- $mul132 = ($65*5)|0;
- $66 = $psEnc$addr;
- $subfr_length = ((($66)) + 4612|0);
- HEAP32[$subfr_length>>2] = $mul132;
- $67 = $psEnc$addr;
- $subfr_length135 = ((($67)) + 4612|0);
- $68 = HEAP32[$subfr_length135>>2]|0;
- $conv136 = $68&65535;
- $conv137 = $conv136 << 16 >> 16;
- $69 = $psEnc$addr;
- $nb_subfr139 = ((($69)) + 4604|0);
- $70 = HEAP32[$nb_subfr139>>2]|0;
- $conv140 = $70&65535;
- $conv141 = $conv140 << 16 >> 16;
- $mul142 = Math_imul($conv137, $conv141)|0;
- $71 = $psEnc$addr;
- $frame_length144 = ((($71)) + 4608|0);
- HEAP32[$frame_length144>>2] = $mul142;
- $72 = $fs_kHz$addr;
- $conv145 = $72&65535;
- $conv146 = $conv145 << 16 >> 16;
- $mul147 = ($conv146*20)|0;
- $73 = $psEnc$addr;
- $ltp_mem_length = ((($73)) + 4616|0);
- HEAP32[$ltp_mem_length>>2] = $mul147;
- $74 = $fs_kHz$addr;
- $conv149 = $74&65535;
- $conv150 = $conv149 << 16 >> 16;
- $mul151 = $conv150<<1;
- $75 = $psEnc$addr;
- $la_pitch = ((($75)) + 4620|0);
- HEAP32[$la_pitch>>2] = $mul151;
- $76 = $fs_kHz$addr;
- $conv153 = $76&65535;
- $conv154 = $conv153 << 16 >> 16;
- $mul155 = ($conv154*18)|0;
- $77 = $psEnc$addr;
- $max_pitch_lag = ((($77)) + 4576|0);
- HEAP32[$max_pitch_lag>>2] = $mul155;
- $78 = $psEnc$addr;
- $nb_subfr158 = ((($78)) + 4604|0);
- $79 = HEAP32[$nb_subfr158>>2]|0;
- $cmp159 = ($79|0)==(4);
- $80 = $fs_kHz$addr;
- $conv162 = $80&65535;
- $conv163 = $conv162 << 16 >> 16;
- $mul170 = ($conv163*14)|0;
- $81 = $psEnc$addr;
- $mul164 = ($conv163*24)|0;
- $82 = $psEnc$addr;
- $$sink7 = $cmp159 ? $82 : $81;
- $mul170$sink = $cmp159 ? $mul164 : $mul170;
- $pitch_LPC_win_length172 = ((($$sink7)) + 4572|0);
- HEAP32[$pitch_LPC_win_length172>>2] = $mul170$sink;
- $83 = $psEnc$addr;
- $fs_kHz175 = ((($83)) + 4600|0);
- $84 = HEAP32[$fs_kHz175>>2]|0;
- $cmp176 = ($84|0)==(16);
- $85 = $psEnc$addr;
- do {
- if ($cmp176) {
- $mu_LTP_Q9 = ((($85)) + 4684|0);
- HEAP32[$mu_LTP_Q9>>2] = 10;
- $86 = $psEnc$addr;
- $$sink8$sink = 27694;$$sink9$sink = $86;
- } else {
- $fs_kHz183 = ((($85)) + 4600|0);
- $87 = HEAP32[$fs_kHz183>>2]|0;
- $cmp184 = ($87|0)==(12);
- $88 = $psEnc$addr;
- $mu_LTP_Q9188 = ((($88)) + 4684|0);
- if ($cmp184) {
- HEAP32[$mu_LTP_Q9188>>2] = 13;
- $89 = $psEnc$addr;
- $$sink8$sink = 27688;$$sink9$sink = $89;
- break;
- } else {
- HEAP32[$mu_LTP_Q9188>>2] = 15;
- $90 = $psEnc$addr;
- $$sink8$sink = 27679;$$sink9$sink = $90;
- break;
- }
- }
- } while(0);
- $pitch_lag_low_bits_iCDF195 = ((($$sink9$sink)) + 4716|0);
- HEAP32[$pitch_lag_low_bits_iCDF195>>2] = $$sink8$sink;
- $91 = $ret;
- STACKTOP = sp;return ($91|0);
-}
-function _silk_setup_complexity($psEncC,$Complexity) {
- $psEncC = $psEncC|0;
- $Complexity = $Complexity|0;
- var $$sink$sink$sink$sink = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
- var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
- var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
- var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0;
- var $80 = 0, $81 = 0, $9 = 0, $Complexity$addr = 0, $Complexity73 = 0, $LTPQuantLowComplexity = 0, $LTPQuantLowComplexity12 = 0, $LTPQuantLowComplexity27 = 0, $LTPQuantLowComplexity44 = 0, $LTPQuantLowComplexity59 = 0, $NLSF_MSVQ_Survivors = 0, $NLSF_MSVQ_Survivors13 = 0, $NLSF_MSVQ_Survivors28 = 0, $NLSF_MSVQ_Survivors45 = 0, $NLSF_MSVQ_Survivors60 = 0, $add = 0, $call = 0, $cmp = 0, $cmp1 = 0, $cmp16 = 0;
- var $cmp33 = 0, $fs_kHz = 0, $fs_kHz22 = 0, $fs_kHz29 = 0, $fs_kHz39 = 0, $fs_kHz46 = 0, $fs_kHz54 = 0, $fs_kHz61 = 0, $fs_kHz69 = 0, $fs_kHz7 = 0, $la_shape = 0, $la_shape24 = 0, $la_shape41 = 0, $la_shape56 = 0, $la_shape71 = 0, $la_shape9 = 0, $mul = 0, $mul23 = 0, $mul30 = 0, $mul40 = 0;
- var $mul47 = 0, $mul55 = 0, $mul62 = 0, $mul62$sink$sink$sink$sink = 0, $mul70 = 0, $mul72 = 0, $mul8 = 0, $nStatesDelayedDecision = 0, $nStatesDelayedDecision10 = 0, $nStatesDelayedDecision25 = 0, $nStatesDelayedDecision42 = 0, $nStatesDelayedDecision57 = 0, $pitchEstimationComplexity = 0, $pitchEstimationComplexity18 = 0, $pitchEstimationComplexity3 = 0, $pitchEstimationComplexity35 = 0, $pitchEstimationLPCOrder = 0, $pitchEstimationLPCOrder20 = 0, $pitchEstimationLPCOrder37 = 0, $pitchEstimationLPCOrder5 = 0;
- var $pitchEstimationLPCOrder52 = 0, $pitchEstimationLPCOrder67 = 0, $pitchEstimationLPCOrder68 = 0, $pitchEstimationThreshold_Q16 = 0, $pitchEstimationThreshold_Q1619 = 0, $pitchEstimationThreshold_Q1636 = 0, $pitchEstimationThreshold_Q164 = 0, $pitchEstimationThreshold_Q1651 = 0, $predictLPCOrder = 0, $psEncC$addr = 0, $ret = 0, $shapeWinLength = 0, $shapingLPCOrder = 0, $shapingLPCOrder21 = 0, $shapingLPCOrder38 = 0, $shapingLPCOrder53 = 0, $shapingLPCOrder6 = 0, $useInterpolatedNLSFs = 0, $useInterpolatedNLSFs11 = 0, $useInterpolatedNLSFs26 = 0;
- var $useInterpolatedNLSFs43 = 0, $useInterpolatedNLSFs58 = 0, $warping_Q1663 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psEncC$addr = $psEncC;
- $Complexity$addr = $Complexity;
- $ret = 0;
- $0 = $Complexity$addr;
- $cmp = ($0|0)<(2);
- do {
- if ($cmp) {
- $1 = $psEncC$addr;
- $pitchEstimationComplexity = ((($1)) + 4668|0);
- HEAP32[$pitchEstimationComplexity>>2] = 0;
- $2 = $psEncC$addr;
- $pitchEstimationThreshold_Q16 = ((($2)) + 4676|0);
- HEAP32[$pitchEstimationThreshold_Q16>>2] = 52429;
- $3 = $psEncC$addr;
- $pitchEstimationLPCOrder = ((($3)) + 4672|0);
- HEAP32[$pitchEstimationLPCOrder>>2] = 6;
- $4 = $psEncC$addr;
- $shapingLPCOrder = ((($4)) + 4660|0);
- HEAP32[$shapingLPCOrder>>2] = 8;
- $5 = $psEncC$addr;
- $fs_kHz = ((($5)) + 4600|0);
- $6 = HEAP32[$fs_kHz>>2]|0;
- $mul = ($6*3)|0;
- $7 = $psEncC$addr;
- $la_shape = ((($7)) + 4624|0);
- HEAP32[$la_shape>>2] = $mul;
- $8 = $psEncC$addr;
- $nStatesDelayedDecision = ((($8)) + 4652|0);
- HEAP32[$nStatesDelayedDecision>>2] = 1;
- $9 = $psEncC$addr;
- $useInterpolatedNLSFs = ((($9)) + 4656|0);
- HEAP32[$useInterpolatedNLSFs>>2] = 0;
- $10 = $psEncC$addr;
- $LTPQuantLowComplexity = ((($10)) + 4680|0);
- HEAP32[$LTPQuantLowComplexity>>2] = 1;
- $11 = $psEncC$addr;
- $NLSF_MSVQ_Survivors = ((($11)) + 4692|0);
- HEAP32[$NLSF_MSVQ_Survivors>>2] = 2;
- $12 = $psEncC$addr;
- $$sink$sink$sink$sink = $12;$mul62$sink$sink$sink$sink = 0;
- } else {
- $13 = $Complexity$addr;
- $cmp1 = ($13|0)<(4);
- if ($cmp1) {
- $14 = $psEncC$addr;
- $pitchEstimationComplexity3 = ((($14)) + 4668|0);
- HEAP32[$pitchEstimationComplexity3>>2] = 1;
- $15 = $psEncC$addr;
- $pitchEstimationThreshold_Q164 = ((($15)) + 4676|0);
- HEAP32[$pitchEstimationThreshold_Q164>>2] = 49807;
- $16 = $psEncC$addr;
- $pitchEstimationLPCOrder5 = ((($16)) + 4672|0);
- HEAP32[$pitchEstimationLPCOrder5>>2] = 8;
- $17 = $psEncC$addr;
- $shapingLPCOrder6 = ((($17)) + 4660|0);
- HEAP32[$shapingLPCOrder6>>2] = 10;
- $18 = $psEncC$addr;
- $fs_kHz7 = ((($18)) + 4600|0);
- $19 = HEAP32[$fs_kHz7>>2]|0;
- $mul8 = ($19*5)|0;
- $20 = $psEncC$addr;
- $la_shape9 = ((($20)) + 4624|0);
- HEAP32[$la_shape9>>2] = $mul8;
- $21 = $psEncC$addr;
- $nStatesDelayedDecision10 = ((($21)) + 4652|0);
- HEAP32[$nStatesDelayedDecision10>>2] = 1;
- $22 = $psEncC$addr;
- $useInterpolatedNLSFs11 = ((($22)) + 4656|0);
- HEAP32[$useInterpolatedNLSFs11>>2] = 0;
- $23 = $psEncC$addr;
- $LTPQuantLowComplexity12 = ((($23)) + 4680|0);
- HEAP32[$LTPQuantLowComplexity12>>2] = 0;
- $24 = $psEncC$addr;
- $NLSF_MSVQ_Survivors13 = ((($24)) + 4692|0);
- HEAP32[$NLSF_MSVQ_Survivors13>>2] = 4;
- $25 = $psEncC$addr;
- $$sink$sink$sink$sink = $25;$mul62$sink$sink$sink$sink = 0;
- break;
- }
- $26 = $Complexity$addr;
- $cmp16 = ($26|0)<(6);
- if ($cmp16) {
- $27 = $psEncC$addr;
- $pitchEstimationComplexity18 = ((($27)) + 4668|0);
- HEAP32[$pitchEstimationComplexity18>>2] = 1;
- $28 = $psEncC$addr;
- $pitchEstimationThreshold_Q1619 = ((($28)) + 4676|0);
- HEAP32[$pitchEstimationThreshold_Q1619>>2] = 48497;
- $29 = $psEncC$addr;
- $pitchEstimationLPCOrder20 = ((($29)) + 4672|0);
- HEAP32[$pitchEstimationLPCOrder20>>2] = 10;
- $30 = $psEncC$addr;
- $shapingLPCOrder21 = ((($30)) + 4660|0);
- HEAP32[$shapingLPCOrder21>>2] = 12;
- $31 = $psEncC$addr;
- $fs_kHz22 = ((($31)) + 4600|0);
- $32 = HEAP32[$fs_kHz22>>2]|0;
- $mul23 = ($32*5)|0;
- $33 = $psEncC$addr;
- $la_shape24 = ((($33)) + 4624|0);
- HEAP32[$la_shape24>>2] = $mul23;
- $34 = $psEncC$addr;
- $nStatesDelayedDecision25 = ((($34)) + 4652|0);
- HEAP32[$nStatesDelayedDecision25>>2] = 2;
- $35 = $psEncC$addr;
- $useInterpolatedNLSFs26 = ((($35)) + 4656|0);
- HEAP32[$useInterpolatedNLSFs26>>2] = 1;
- $36 = $psEncC$addr;
- $LTPQuantLowComplexity27 = ((($36)) + 4680|0);
- HEAP32[$LTPQuantLowComplexity27>>2] = 0;
- $37 = $psEncC$addr;
- $NLSF_MSVQ_Survivors28 = ((($37)) + 4692|0);
- HEAP32[$NLSF_MSVQ_Survivors28>>2] = 8;
- $38 = $psEncC$addr;
- $fs_kHz29 = ((($38)) + 4600|0);
- $39 = HEAP32[$fs_kHz29>>2]|0;
- $mul30 = ($39*983)|0;
- $40 = $psEncC$addr;
- $$sink$sink$sink$sink = $40;$mul62$sink$sink$sink$sink = $mul30;
- break;
- }
- $41 = $Complexity$addr;
- $cmp33 = ($41|0)<(8);
- $42 = $psEncC$addr;
- $pitchEstimationComplexity35 = ((($42)) + 4668|0);
- if ($cmp33) {
- HEAP32[$pitchEstimationComplexity35>>2] = 1;
- $43 = $psEncC$addr;
- $pitchEstimationThreshold_Q1636 = ((($43)) + 4676|0);
- HEAP32[$pitchEstimationThreshold_Q1636>>2] = 47186;
- $44 = $psEncC$addr;
- $pitchEstimationLPCOrder37 = ((($44)) + 4672|0);
- HEAP32[$pitchEstimationLPCOrder37>>2] = 12;
- $45 = $psEncC$addr;
- $shapingLPCOrder38 = ((($45)) + 4660|0);
- HEAP32[$shapingLPCOrder38>>2] = 14;
- $46 = $psEncC$addr;
- $fs_kHz39 = ((($46)) + 4600|0);
- $47 = HEAP32[$fs_kHz39>>2]|0;
- $mul40 = ($47*5)|0;
- $48 = $psEncC$addr;
- $la_shape41 = ((($48)) + 4624|0);
- HEAP32[$la_shape41>>2] = $mul40;
- $49 = $psEncC$addr;
- $nStatesDelayedDecision42 = ((($49)) + 4652|0);
- HEAP32[$nStatesDelayedDecision42>>2] = 3;
- $50 = $psEncC$addr;
- $useInterpolatedNLSFs43 = ((($50)) + 4656|0);
- HEAP32[$useInterpolatedNLSFs43>>2] = 1;
- $51 = $psEncC$addr;
- $LTPQuantLowComplexity44 = ((($51)) + 4680|0);
- HEAP32[$LTPQuantLowComplexity44>>2] = 0;
- $52 = $psEncC$addr;
- $NLSF_MSVQ_Survivors45 = ((($52)) + 4692|0);
- HEAP32[$NLSF_MSVQ_Survivors45>>2] = 16;
- $53 = $psEncC$addr;
- $fs_kHz46 = ((($53)) + 4600|0);
- $54 = HEAP32[$fs_kHz46>>2]|0;
- $mul47 = ($54*983)|0;
- $55 = $psEncC$addr;
- $$sink$sink$sink$sink = $55;$mul62$sink$sink$sink$sink = $mul47;
- break;
- } else {
- HEAP32[$pitchEstimationComplexity35>>2] = 2;
- $56 = $psEncC$addr;
- $pitchEstimationThreshold_Q1651 = ((($56)) + 4676|0);
- HEAP32[$pitchEstimationThreshold_Q1651>>2] = 45875;
- $57 = $psEncC$addr;
- $pitchEstimationLPCOrder52 = ((($57)) + 4672|0);
- HEAP32[$pitchEstimationLPCOrder52>>2] = 16;
- $58 = $psEncC$addr;
- $shapingLPCOrder53 = ((($58)) + 4660|0);
- HEAP32[$shapingLPCOrder53>>2] = 16;
- $59 = $psEncC$addr;
- $fs_kHz54 = ((($59)) + 4600|0);
- $60 = HEAP32[$fs_kHz54>>2]|0;
- $mul55 = ($60*5)|0;
- $61 = $psEncC$addr;
- $la_shape56 = ((($61)) + 4624|0);
- HEAP32[$la_shape56>>2] = $mul55;
- $62 = $psEncC$addr;
- $nStatesDelayedDecision57 = ((($62)) + 4652|0);
- HEAP32[$nStatesDelayedDecision57>>2] = 4;
- $63 = $psEncC$addr;
- $useInterpolatedNLSFs58 = ((($63)) + 4656|0);
- HEAP32[$useInterpolatedNLSFs58>>2] = 1;
- $64 = $psEncC$addr;
- $LTPQuantLowComplexity59 = ((($64)) + 4680|0);
- HEAP32[$LTPQuantLowComplexity59>>2] = 0;
- $65 = $psEncC$addr;
- $NLSF_MSVQ_Survivors60 = ((($65)) + 4692|0);
- HEAP32[$NLSF_MSVQ_Survivors60>>2] = 32;
- $66 = $psEncC$addr;
- $fs_kHz61 = ((($66)) + 4600|0);
- $67 = HEAP32[$fs_kHz61>>2]|0;
- $mul62 = ($67*983)|0;
- $68 = $psEncC$addr;
- $$sink$sink$sink$sink = $68;$mul62$sink$sink$sink$sink = $mul62;
- break;
- }
- }
- } while(0);
- $warping_Q1663 = ((($$sink$sink$sink$sink)) + 4704|0);
- HEAP32[$warping_Q1663>>2] = $mul62$sink$sink$sink$sink;
- $69 = $psEncC$addr;
- $pitchEstimationLPCOrder67 = ((($69)) + 4672|0);
- $70 = HEAP32[$pitchEstimationLPCOrder67>>2]|0;
- $71 = $psEncC$addr;
- $predictLPCOrder = ((($71)) + 4664|0);
- $72 = HEAP32[$predictLPCOrder>>2]|0;
- $call = (_silk_min_int($70,$72)|0);
- $73 = $psEncC$addr;
- $pitchEstimationLPCOrder68 = ((($73)) + 4672|0);
- HEAP32[$pitchEstimationLPCOrder68>>2] = $call;
- $74 = $psEncC$addr;
- $fs_kHz69 = ((($74)) + 4600|0);
- $75 = HEAP32[$fs_kHz69>>2]|0;
- $mul70 = ($75*5)|0;
- $76 = $psEncC$addr;
- $la_shape71 = ((($76)) + 4624|0);
- $77 = HEAP32[$la_shape71>>2]|0;
- $mul72 = $77<<1;
- $add = (($mul70) + ($mul72))|0;
- $78 = $psEncC$addr;
- $shapeWinLength = ((($78)) + 4628|0);
- HEAP32[$shapeWinLength>>2] = $add;
- $79 = $Complexity$addr;
- $80 = $psEncC$addr;
- $Complexity73 = ((($80)) + 4648|0);
- HEAP32[$Complexity73>>2] = $79;
- $81 = $ret;
- STACKTOP = sp;return ($81|0);
-}
-function _silk_setup_LBRR($psEncC,$TargetRate_bps) {
- $psEncC = $psEncC|0;
- $TargetRate_bps = $TargetRate_bps|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
- var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $LBRR_GainIncreases38 = 0, $LBRR_enabled = 0, $LBRR_enabled1 = 0, $LBRR_enabled40 = 0, $LBRR_in_previous_packet = 0, $LBRR_rate_thres_bps = 0, $PacketLoss_perc = 0, $PacketLoss_perc11 = 0;
- var $PacketLoss_perc13 = 0, $PacketLoss_perc16 = 0, $PacketLoss_perc29 = 0, $PacketLoss_perc32 = 0, $PacketLoss_perc9 = 0, $TargetRate_bps$addr = 0, $add = 0, $add36 = 0, $and = 0, $and33 = 0, $call = 0, $call$sink = 0, $cmp = 0, $cmp10 = 0, $cmp14 = 0, $cmp2 = 0, $cmp24 = 0, $cmp26 = 0, $cmp5 = 0, $cond = 0;
- var $cond19 = 0, $fs_kHz = 0, $fs_kHz4 = 0, $mul = 0, $mul12 = 0, $mul21 = 0, $mul22 = 0, $mul31 = 0, $mul34 = 0, $psEncC$addr = 0, $ret = 0, $shr = 0, $shr23 = 0, $shr30 = 0, $shr35 = 0, $sub = 0, $sub20 = 0, $sub37 = 0, $tobool = 0, $useInBandFEC = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $psEncC$addr = $psEncC;
- $TargetRate_bps$addr = $TargetRate_bps;
- $ret = 0;
- $0 = $psEncC$addr;
- $LBRR_enabled = ((($0)) + 6124|0);
- $1 = HEAP32[$LBRR_enabled>>2]|0;
- $LBRR_in_previous_packet = $1;
- $2 = $psEncC$addr;
- $LBRR_enabled1 = ((($2)) + 6124|0);
- HEAP32[$LBRR_enabled1>>2] = 0;
- $3 = $psEncC$addr;
- $useInBandFEC = ((($3)) + 6120|0);
- $4 = HEAP32[$useInBandFEC>>2]|0;
- $tobool = ($4|0)!=(0);
- if (!($tobool)) {
- $30 = $ret;
- STACKTOP = sp;return ($30|0);
- }
- $5 = $psEncC$addr;
- $PacketLoss_perc = ((($5)) + 4640|0);
- $6 = HEAP32[$PacketLoss_perc>>2]|0;
- $cmp = ($6|0)>(0);
- if (!($cmp)) {
- $30 = $ret;
- STACKTOP = sp;return ($30|0);
- }
- $7 = $psEncC$addr;
- $fs_kHz = ((($7)) + 4600|0);
- $8 = HEAP32[$fs_kHz>>2]|0;
- $cmp2 = ($8|0)==(8);
- do {
- if ($cmp2) {
- $LBRR_rate_thres_bps = 12000;
- } else {
- $9 = $psEncC$addr;
- $fs_kHz4 = ((($9)) + 4600|0);
- $10 = HEAP32[$fs_kHz4>>2]|0;
- $cmp5 = ($10|0)==(12);
- if ($cmp5) {
- $LBRR_rate_thres_bps = 14000;
- break;
- } else {
- $LBRR_rate_thres_bps = 16000;
- break;
- }
- }
- } while(0);
- $11 = $LBRR_rate_thres_bps;
- $12 = $psEncC$addr;
- $PacketLoss_perc9 = ((($12)) + 4640|0);
- $13 = HEAP32[$PacketLoss_perc9>>2]|0;
- $cmp10 = ($13|0)<(25);
- if ($cmp10) {
- $14 = $psEncC$addr;
- $PacketLoss_perc11 = ((($14)) + 4640|0);
- $15 = HEAP32[$PacketLoss_perc11>>2]|0;
- $cond = $15;
- } else {
- $cond = 25;
- }
- $sub = (125 - ($cond))|0;
- $mul = Math_imul($11, $sub)|0;
- $shr = $mul >> 16;
- $mul12 = ($shr*655)|0;
- $16 = $LBRR_rate_thres_bps;
- $17 = $psEncC$addr;
- $PacketLoss_perc13 = ((($17)) + 4640|0);
- $18 = HEAP32[$PacketLoss_perc13>>2]|0;
- $cmp14 = ($18|0)<(25);
- if ($cmp14) {
- $19 = $psEncC$addr;
- $PacketLoss_perc16 = ((($19)) + 4640|0);
- $20 = HEAP32[$PacketLoss_perc16>>2]|0;
- $cond19 = $20;
- } else {
- $cond19 = 25;
- }
- $sub20 = (125 - ($cond19))|0;
- $mul21 = Math_imul($16, $sub20)|0;
- $and = $mul21 & 65535;
- $mul22 = ($and*655)|0;
- $shr23 = $mul22 >> 16;
- $add = (($mul12) + ($shr23))|0;
- $LBRR_rate_thres_bps = $add;
- $21 = $TargetRate_bps$addr;
- $22 = $LBRR_rate_thres_bps;
- $cmp24 = ($21|0)>($22|0);
- if (!($cmp24)) {
- $30 = $ret;
- STACKTOP = sp;return ($30|0);
- }
- $23 = $LBRR_in_previous_packet;
- $cmp26 = ($23|0)==(0);
- $24 = $psEncC$addr;
- if ($cmp26) {
- $$sink = $24;$call$sink = 7;
- } else {
- $PacketLoss_perc29 = ((($24)) + 4640|0);
- $25 = HEAP32[$PacketLoss_perc29>>2]|0;
- $shr30 = $25 >> 16;
- $mul31 = ($shr30*26214)|0;
- $26 = $psEncC$addr;
- $PacketLoss_perc32 = ((($26)) + 4640|0);
- $27 = HEAP32[$PacketLoss_perc32>>2]|0;
- $and33 = $27 & 65535;
- $mul34 = ($and33*26214)|0;
- $shr35 = $mul34 >> 16;
- $add36 = (($mul31) + ($shr35))|0;
- $sub37 = (7 - ($add36))|0;
- $call = (_silk_max_int_227($sub37,2)|0);
- $28 = $psEncC$addr;
- $$sink = $28;$call$sink = $call;
- }
- $LBRR_GainIncreases38 = ((($$sink)) + 6128|0);
- HEAP32[$LBRR_GainIncreases38>>2] = $call$sink;
- $29 = $psEncC$addr;
- $LBRR_enabled40 = ((($29)) + 6124|0);
- HEAP32[$LBRR_enabled40>>2] = 1;
- $30 = $ret;
- STACKTOP = sp;return ($30|0);
-}
-function _silk_max_int_227($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_min_int($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_float2short_array($out,$in,$length) {
- $out = $out|0;
- $in = $in|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0.0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx2 = 0, $arrayidx7 = 0, $call = 0, $call3 = 0;
- var $call8 = 0, $cmp = 0, $cmp1 = 0, $cmp4 = 0, $cond10 = 0, $conv = 0, $dec = 0, $in$addr = 0, $k = 0, $length$addr = 0, $out$addr = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $out$addr = $out;
- $in$addr = $in;
- $length$addr = $length;
- $0 = $length$addr;
- $sub = (($0) - 1)|0;
- $k = $sub;
- while(1) {
- $1 = $k;
- $cmp = ($1|0)>=(0);
- if (!($cmp)) {
- break;
- }
- $2 = $in$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx>>2];
- $call = (_lrintf($4)|0);
- $cmp1 = ($call|0)>(32767);
- if ($cmp1) {
- $cond10 = 32767;
- } else {
- $5 = $in$addr;
- $6 = $k;
- $arrayidx2 = (($5) + ($6<<2)|0);
- $7 = +HEAPF32[$arrayidx2>>2];
- $call3 = (_lrintf($7)|0);
- $cmp4 = ($call3|0)<(-32768);
- if ($cmp4) {
- $cond10 = -32768;
- } else {
- $8 = $in$addr;
- $9 = $k;
- $arrayidx7 = (($8) + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx7>>2];
- $call8 = (_lrintf($10)|0);
- $cond10 = $call8;
- }
- }
- $conv = $cond10&65535;
- $11 = $out$addr;
- $12 = $k;
- $arrayidx11 = (($11) + ($12<<1)|0);
- HEAP16[$arrayidx11>>1] = $conv;
- $13 = $k;
- $dec = (($13) + -1)|0;
- $k = $dec;
- }
- STACKTOP = sp;return;
-}
-function _silk_short2float_array($out,$in,$length) {
- $out = $out|0;
- $in = $in|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $conv = 0.0, $dec = 0, $in$addr = 0, $k = 0, $length$addr = 0, $out$addr = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $out$addr = $out;
- $in$addr = $in;
- $length$addr = $length;
- $0 = $length$addr;
- $sub = (($0) - 1)|0;
- $k = $sub;
- while(1) {
- $1 = $k;
- $cmp = ($1|0)>=(0);
- if (!($cmp)) {
- break;
- }
- $2 = $in$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3<<1)|0);
- $4 = HEAP16[$arrayidx>>1]|0;
- $conv = (+($4<<16>>16));
- $5 = $out$addr;
- $6 = $k;
- $arrayidx1 = (($5) + ($6<<2)|0);
- HEAPF32[$arrayidx1>>2] = $conv;
- $7 = $k;
- $dec = (($7) + -1)|0;
- $k = $dec;
- }
- STACKTOP = sp;return;
-}
-function _silk_lin2log($inLin) {
- $inLin = $inLin|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $add = 0, $add7 = 0, $add8 = 0, $and = 0, $frac_Q7 = 0, $inLin$addr = 0, $lz = 0, $mul = 0, $mul2 = 0, $mul4 = 0, $mul5 = 0, $shl = 0, $shr = 0;
- var $shr6 = 0, $sub = 0, $sub1 = 0, $sub3 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $lz = sp + 4|0;
- $frac_Q7 = sp;
- $inLin$addr = $inLin;
- $0 = $inLin$addr;
- _silk_CLZ_FRAC($0,$lz,$frac_Q7);
- $1 = HEAP32[$lz>>2]|0;
- $sub = (31 - ($1))|0;
- $shl = $sub << 7;
- $2 = HEAP32[$frac_Q7>>2]|0;
- $3 = HEAP32[$frac_Q7>>2]|0;
- $4 = HEAP32[$frac_Q7>>2]|0;
- $sub1 = (128 - ($4))|0;
- $mul = Math_imul($3, $sub1)|0;
- $shr = $mul >> 16;
- $mul2 = ($shr*179)|0;
- $5 = HEAP32[$frac_Q7>>2]|0;
- $6 = HEAP32[$frac_Q7>>2]|0;
- $sub3 = (128 - ($6))|0;
- $mul4 = Math_imul($5, $sub3)|0;
- $and = $mul4 & 65535;
- $mul5 = ($and*179)|0;
- $shr6 = $mul5 >> 16;
- $add = (($mul2) + ($shr6))|0;
- $add7 = (($2) + ($add))|0;
- $add8 = (($shl) + ($add7))|0;
- STACKTOP = sp;return ($add8|0);
-}
-function _silk_CLZ_FRAC($in,$lz,$frac_Q7) {
- $in = $in|0;
- $lz = $lz|0;
- $frac_Q7 = $frac_Q7|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $and = 0, $call = 0, $call1 = 0, $frac_Q7$addr = 0, $in$addr = 0, $lz$addr = 0, $lzeros = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in$addr = $in;
- $lz$addr = $lz;
- $frac_Q7$addr = $frac_Q7;
- $0 = $in$addr;
- $call = (_silk_CLZ32_230($0)|0);
- $lzeros = $call;
- $1 = $lzeros;
- $2 = $lz$addr;
- HEAP32[$2>>2] = $1;
- $3 = $in$addr;
- $4 = $lzeros;
- $sub = (24 - ($4))|0;
- $call1 = (_silk_ROR32($3,$sub)|0);
- $and = $call1 & 127;
- $5 = $frac_Q7$addr;
- HEAP32[$5>>2] = $and;
- STACKTOP = sp;return;
-}
-function _silk_CLZ32_230($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_ROR32($a32,$rot) {
- $a32 = $a32|0;
- $rot = $rot|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $a32$addr = 0, $cmp = 0, $cmp1 = 0, $m = 0, $or = 0, $or8 = 0;
- var $r = 0, $retval = 0, $rot$addr = 0, $shl = 0, $shl6 = 0, $shr = 0, $shr7 = 0, $sub = 0, $sub3 = 0, $sub5 = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a32$addr = $a32;
- $rot$addr = $rot;
- $0 = $a32$addr;
- $x = $0;
- $1 = $rot$addr;
- $r = $1;
- $2 = $rot$addr;
- $sub = (0 - ($2))|0;
- $m = $sub;
- $3 = $rot$addr;
- $cmp = ($3|0)==(0);
- if ($cmp) {
- $4 = $a32$addr;
- $retval = $4;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- $5 = $rot$addr;
- $cmp1 = ($5|0)<(0);
- $6 = $x;
- if ($cmp1) {
- $7 = $m;
- $shl = $6 << $7;
- $8 = $x;
- $9 = $m;
- $sub3 = (32 - ($9))|0;
- $shr = $8 >>> $sub3;
- $or = $shl | $shr;
- $retval = $or;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- } else {
- $10 = $r;
- $sub5 = (32 - ($10))|0;
- $shl6 = $6 << $sub5;
- $11 = $x;
- $12 = $r;
- $shr7 = $11 >>> $12;
- $or8 = $shl6 | $shr7;
- $retval = $or8;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- return (0)|0;
-}
-function _silk_log2lin($inLog_Q7) {
- $inLog_Q7 = $inLog_Q7|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0;
- var $add20 = 0, $add23 = 0, $add43 = 0, $add44 = 0, $add46 = 0, $and = 0, $and17 = 0, $and40 = 0, $cmp = 0, $cmp1 = 0, $cmp4 = 0, $conv = 0, $conv11 = 0, $conv12 = 0, $conv14 = 0, $conv15 = 0, $conv26 = 0, $conv27 = 0, $conv29 = 0, $conv30 = 0;
- var $conv34 = 0, $conv35 = 0, $conv37 = 0, $conv38 = 0, $conv6 = 0, $conv7 = 0, $conv8 = 0, $frac_Q7 = 0, $inLog_Q7$addr = 0, $mul = 0, $mul10 = 0, $mul16 = 0, $mul18 = 0, $mul21 = 0, $mul31 = 0, $mul33 = 0, $mul39 = 0, $mul41 = 0, $mul45 = 0, $out = 0;
- var $retval = 0, $shl = 0, $shr = 0, $shr19 = 0, $shr22 = 0, $shr25 = 0, $shr32 = 0, $shr42 = 0, $shr9 = 0, $sub = 0, $sub13 = 0, $sub28 = 0, $sub36 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $inLog_Q7$addr = $inLog_Q7;
- $0 = $inLog_Q7$addr;
- $cmp = ($0|0)<(0);
- if ($cmp) {
- $retval = 0;
- $18 = $retval;
- STACKTOP = sp;return ($18|0);
- }
- $1 = $inLog_Q7$addr;
- $cmp1 = ($1|0)>=(3967);
- if ($cmp1) {
- $retval = 2147483647;
- $18 = $retval;
- STACKTOP = sp;return ($18|0);
- }
- $2 = $inLog_Q7$addr;
- $shr = $2 >> 7;
- $shl = 1 << $shr;
- $out = $shl;
- $3 = $inLog_Q7$addr;
- $and = $3 & 127;
- $frac_Q7 = $and;
- $4 = $inLog_Q7$addr;
- $cmp4 = ($4|0)<(2048);
- $5 = $out;
- $6 = $out;
- if ($cmp4) {
- $7 = $frac_Q7;
- $8 = $frac_Q7;
- $conv = $8&65535;
- $conv6 = $conv << 16 >> 16;
- $9 = $frac_Q7;
- $sub = (128 - ($9))|0;
- $conv7 = $sub&65535;
- $conv8 = $conv7 << 16 >> 16;
- $mul = Math_imul($conv6, $conv8)|0;
- $shr9 = $mul >> 16;
- $mul10 = Math_imul($shr9, -174)|0;
- $10 = $frac_Q7;
- $conv11 = $10&65535;
- $conv12 = $conv11 << 16 >> 16;
- $11 = $frac_Q7;
- $sub13 = (128 - ($11))|0;
- $conv14 = $sub13&65535;
- $conv15 = $conv14 << 16 >> 16;
- $mul16 = Math_imul($conv12, $conv15)|0;
- $and17 = $mul16 & 65535;
- $mul18 = Math_imul($and17, -174)|0;
- $shr19 = $mul18 >> 16;
- $add = (($mul10) + ($shr19))|0;
- $add20 = (($7) + ($add))|0;
- $mul21 = Math_imul($6, $add20)|0;
- $shr22 = $mul21 >> 7;
- $add23 = (($5) + ($shr22))|0;
- $out = $add23;
- } else {
- $shr25 = $6 >> 7;
- $12 = $frac_Q7;
- $13 = $frac_Q7;
- $conv26 = $13&65535;
- $conv27 = $conv26 << 16 >> 16;
- $14 = $frac_Q7;
- $sub28 = (128 - ($14))|0;
- $conv29 = $sub28&65535;
- $conv30 = $conv29 << 16 >> 16;
- $mul31 = Math_imul($conv27, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $mul33 = Math_imul($shr32, -174)|0;
- $15 = $frac_Q7;
- $conv34 = $15&65535;
- $conv35 = $conv34 << 16 >> 16;
- $16 = $frac_Q7;
- $sub36 = (128 - ($16))|0;
- $conv37 = $sub36&65535;
- $conv38 = $conv37 << 16 >> 16;
- $mul39 = Math_imul($conv35, $conv38)|0;
- $and40 = $mul39 & 65535;
- $mul41 = Math_imul($and40, -174)|0;
- $shr42 = $mul41 >> 16;
- $add43 = (($mul33) + ($shr42))|0;
- $add44 = (($12) + ($add43))|0;
- $mul45 = Math_imul($shr25, $add44)|0;
- $add46 = (($5) + ($mul45))|0;
- $out = $add46;
- }
- $17 = $out;
- $retval = $17;
- $18 = $retval;
- STACKTOP = sp;return ($18|0);
-}
-function _silk_resampler_init($S,$Fs_Hz_in,$Fs_Hz_out,$forEnc) {
- $S = $S|0;
- $Fs_Hz_in = $Fs_Hz_in|0;
- $Fs_Hz_out = $Fs_Hz_out|0;
- $forEnc = $forEnc|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
- var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
- var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
- var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0;
- var $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $Coefs = 0, $Coefs105 = 0, $Coefs113 = 0, $Coefs121 = 0, $Coefs129 = 0, $Coefs137 = 0, $FIR_Fracs = 0;
- var $FIR_Fracs103 = 0, $FIR_Fracs111 = 0, $FIR_Fracs119 = 0, $FIR_Fracs127 = 0, $FIR_Fracs135 = 0, $FIR_Order = 0, $FIR_Order104 = 0, $FIR_Order112 = 0, $FIR_Order120 = 0, $FIR_Order128 = 0, $FIR_Order136 = 0, $Fs_Hz_in$addr = 0, $Fs_Hz_out$addr = 0, $Fs_in_kHz = 0, $Fs_in_kHz76 = 0, $Fs_out_kHz = 0, $S$addr = 0, $add = 0, $add161 = 0, $add164 = 0;
- var $add167 = 0, $and = 0, $arrayidx = 0, $arrayidx27 = 0, $arrayidx62 = 0, $arrayidx71 = 0, $batchSize = 0, $cmp = 0, $cmp1 = 0, $cmp10 = 0, $cmp100 = 0, $cmp108 = 0, $cmp116 = 0, $cmp12 = 0, $cmp124 = 0, $cmp132 = 0, $cmp14 = 0, $cmp15 = 0, $cmp169 = 0, $cmp20 = 0;
- var $cmp23 = 0, $cmp3 = 0, $cmp38 = 0, $cmp41 = 0, $cmp44 = 0, $cmp47 = 0, $cmp5 = 0, $cmp50 = 0, $cmp55 = 0, $cmp58 = 0, $cmp64 = 0, $cmp67 = 0, $cmp7 = 0, $cmp77 = 0, $cmp8 = 0, $cmp81 = 0, $cmp88 = 0, $cmp94 = 0, $conv = 0, $conv153 = 0;
- var $conv154 = 0, $conv157 = 0, $conv158 = 0, $conv16 = 0, $conv21 = 0, $conv24 = 0, $conv28 = 0, $conv56 = 0, $conv59 = 0, $conv65 = 0, $conv68 = 0, $conv72 = 0, $conv72$sink = 0, $div = 0, $div149 = 0, $div75 = 0, $forEnc$addr = 0, $inc = 0, $inputDelay73 = 0, $invRatio_Q16 = 0;
- var $invRatio_Q16151 = 0, $invRatio_Q16156 = 0, $invRatio_Q16162 = 0, $invRatio_Q16171 = 0, $mul = 0, $mul107 = 0, $mul115 = 0, $mul123 = 0, $mul131 = 0, $mul155 = 0, $mul159 = 0, $mul166 = 0, $mul80 = 0, $mul92 = 0, $mul93 = 0, $mul98 = 0, $mul99 = 0, $or$cond = 0, $or$cond1 = 0, $or$cond10 = 0;
- var $or$cond11 = 0, $or$cond2 = 0, $or$cond3 = 0, $or$cond4 = 0, $or$cond5 = 0, $or$cond8 = 0, $or$cond9 = 0, $resampler_function = 0, $resampler_function91 = 0, $retval = 0, $shl = 0, $shl150 = 0, $shl168 = 0, $shr = 0, $shr152 = 0, $shr160 = 0, $shr163 = 0, $shr165 = 0, $shr17 = 0, $shr19 = 0;
- var $shr25 = 0, $shr54 = 0, $shr60 = 0, $shr63 = 0, $shr69 = 0, $sub = 0, $sub18 = 0, $sub22 = 0, $sub26 = 0, $sub57 = 0, $sub61 = 0, $sub66 = 0, $sub70 = 0, $tobool = 0, $up2x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $S$addr = $S;
- $Fs_Hz_in$addr = $Fs_Hz_in;
- $Fs_Hz_out$addr = $Fs_Hz_out;
- $forEnc$addr = $forEnc;
- $0 = $S$addr;
- _memset(($0|0),0,300)|0;
- $1 = $forEnc$addr;
- $tobool = ($1|0)!=(0);
- $2 = $Fs_Hz_in$addr;
- $cmp = ($2|0)!=(8000);
- $3 = $Fs_Hz_in$addr;
- $cmp1 = ($3|0)!=(12000);
- $or$cond = $cmp & $cmp1;
- $4 = $Fs_Hz_in$addr;
- $cmp3 = ($4|0)!=(16000);
- $or$cond1 = $or$cond & $cmp3;
- do {
- if ($tobool) {
- $5 = $Fs_Hz_in$addr;
- $cmp5 = ($5|0)!=(24000);
- $or$cond2 = $or$cond1 & $cmp5;
- $6 = $Fs_Hz_in$addr;
- $cmp7 = ($6|0)!=(48000);
- $or$cond3 = $or$cond2 & $cmp7;
- if (!($or$cond3)) {
- $7 = $Fs_Hz_out$addr;
- $cmp8 = ($7|0)!=(8000);
- $8 = $Fs_Hz_out$addr;
- $cmp10 = ($8|0)!=(12000);
- $or$cond4 = $cmp8 & $cmp10;
- $9 = $Fs_Hz_out$addr;
- $cmp12 = ($9|0)!=(16000);
- $or$cond5 = $or$cond4 & $cmp12;
- if (!($or$cond5)) {
- $10 = $Fs_Hz_in$addr;
- $shr = $10 >> 12;
- $11 = $Fs_Hz_in$addr;
- $cmp14 = ($11|0)>(16000);
- $conv = $cmp14&1;
- $sub = (($shr) - ($conv))|0;
- $12 = $Fs_Hz_in$addr;
- $cmp15 = ($12|0)>(24000);
- $conv16 = $cmp15&1;
- $shr17 = $sub >> $conv16;
- $sub18 = (($shr17) - 1)|0;
- $arrayidx = (28871 + (($sub18*3)|0)|0);
- $13 = $Fs_Hz_out$addr;
- $shr19 = $13 >> 12;
- $14 = $Fs_Hz_out$addr;
- $cmp20 = ($14|0)>(16000);
- $conv21 = $cmp20&1;
- $sub22 = (($shr19) - ($conv21))|0;
- $15 = $Fs_Hz_out$addr;
- $cmp23 = ($15|0)>(24000);
- $conv24 = $cmp23&1;
- $shr25 = $sub22 >> $conv24;
- $sub26 = (($shr25) - 1)|0;
- $arrayidx27 = (($arrayidx) + ($sub26)|0);
- $16 = HEAP8[$arrayidx27>>0]|0;
- $conv28 = $16 << 24 >> 24;
- $17 = $S$addr;
- $$sink = $17;$conv72$sink = $conv28;
- break;
- }
- }
- $retval = -1;
- $91 = $retval;
- STACKTOP = sp;return ($91|0);
- } else {
- if (!($or$cond1)) {
- $18 = $Fs_Hz_out$addr;
- $cmp38 = ($18|0)!=(8000);
- $19 = $Fs_Hz_out$addr;
- $cmp41 = ($19|0)!=(12000);
- $or$cond8 = $cmp38 & $cmp41;
- $20 = $Fs_Hz_out$addr;
- $cmp44 = ($20|0)!=(16000);
- $or$cond9 = $or$cond8 & $cmp44;
- $21 = $Fs_Hz_out$addr;
- $cmp47 = ($21|0)!=(24000);
- $or$cond10 = $or$cond9 & $cmp47;
- $22 = $Fs_Hz_out$addr;
- $cmp50 = ($22|0)!=(48000);
- $or$cond11 = $or$cond10 & $cmp50;
- if (!($or$cond11)) {
- $23 = $Fs_Hz_in$addr;
- $shr54 = $23 >> 12;
- $24 = $Fs_Hz_in$addr;
- $cmp55 = ($24|0)>(16000);
- $conv56 = $cmp55&1;
- $sub57 = (($shr54) - ($conv56))|0;
- $25 = $Fs_Hz_in$addr;
- $cmp58 = ($25|0)>(24000);
- $conv59 = $cmp58&1;
- $shr60 = $sub57 >> $conv59;
- $sub61 = (($shr60) - 1)|0;
- $arrayidx62 = (28886 + (($sub61*5)|0)|0);
- $26 = $Fs_Hz_out$addr;
- $shr63 = $26 >> 12;
- $27 = $Fs_Hz_out$addr;
- $cmp64 = ($27|0)>(16000);
- $conv65 = $cmp64&1;
- $sub66 = (($shr63) - ($conv65))|0;
- $28 = $Fs_Hz_out$addr;
- $cmp67 = ($28|0)>(24000);
- $conv68 = $cmp67&1;
- $shr69 = $sub66 >> $conv68;
- $sub70 = (($shr69) - 1)|0;
- $arrayidx71 = (($arrayidx62) + ($sub70)|0);
- $29 = HEAP8[$arrayidx71>>0]|0;
- $conv72 = $29 << 24 >> 24;
- $30 = $S$addr;
- $$sink = $30;$conv72$sink = $conv72;
- break;
- }
- }
- $retval = -1;
- $91 = $retval;
- STACKTOP = sp;return ($91|0);
- }
- } while(0);
- $inputDelay73 = ((($$sink)) + 292|0);
- HEAP32[$inputDelay73>>2] = $conv72$sink;
- $31 = $Fs_Hz_in$addr;
- $div = (($31|0) / 1000)&-1;
- $32 = $S$addr;
- $Fs_in_kHz = ((($32)) + 284|0);
- HEAP32[$Fs_in_kHz>>2] = $div;
- $33 = $Fs_Hz_out$addr;
- $div75 = (($33|0) / 1000)&-1;
- $34 = $S$addr;
- $Fs_out_kHz = ((($34)) + 288|0);
- HEAP32[$Fs_out_kHz>>2] = $div75;
- $35 = $S$addr;
- $Fs_in_kHz76 = ((($35)) + 284|0);
- $36 = HEAP32[$Fs_in_kHz76>>2]|0;
- $mul = ($36*10)|0;
- $37 = $S$addr;
- $batchSize = ((($37)) + 268|0);
- HEAP32[$batchSize>>2] = $mul;
- $up2x = 0;
- $38 = $Fs_Hz_out$addr;
- $39 = $Fs_Hz_in$addr;
- $cmp77 = ($38|0)>($39|0);
- $40 = $Fs_Hz_out$addr;
- $41 = $Fs_Hz_in$addr;
- do {
- if ($cmp77) {
- $mul80 = $41<<1;
- $cmp81 = ($40|0)==($mul80|0);
- $42 = $S$addr;
- $resampler_function = ((($42)) + 264|0);
- if ($cmp81) {
- HEAP32[$resampler_function>>2] = 1;
- break;
- } else {
- HEAP32[$resampler_function>>2] = 2;
- $up2x = 1;
- break;
- }
- } else {
- $cmp88 = ($40|0)<($41|0);
- $43 = $S$addr;
- $resampler_function91 = ((($43)) + 264|0);
- if (!($cmp88)) {
- HEAP32[$resampler_function91>>2] = 0;
- break;
- }
- HEAP32[$resampler_function91>>2] = 3;
- $44 = $Fs_Hz_out$addr;
- $mul92 = $44<<2;
- $45 = $Fs_Hz_in$addr;
- $mul93 = ($45*3)|0;
- $cmp94 = ($mul92|0)==($mul93|0);
- if ($cmp94) {
- $46 = $S$addr;
- $FIR_Fracs = ((($46)) + 280|0);
- HEAP32[$FIR_Fracs>>2] = 3;
- $47 = $S$addr;
- $FIR_Order = ((($47)) + 276|0);
- HEAP32[$FIR_Order>>2] = 18;
- $48 = $S$addr;
- $Coefs = ((($48)) + 296|0);
- HEAP32[$Coefs>>2] = 25024;
- break;
- }
- $49 = $Fs_Hz_out$addr;
- $mul98 = ($49*3)|0;
- $50 = $Fs_Hz_in$addr;
- $mul99 = $50<<1;
- $cmp100 = ($mul98|0)==($mul99|0);
- if ($cmp100) {
- $51 = $S$addr;
- $FIR_Fracs103 = ((($51)) + 280|0);
- HEAP32[$FIR_Fracs103>>2] = 2;
- $52 = $S$addr;
- $FIR_Order104 = ((($52)) + 276|0);
- HEAP32[$FIR_Order104>>2] = 18;
- $53 = $S$addr;
- $Coefs105 = ((($53)) + 296|0);
- HEAP32[$Coefs105>>2] = 25082;
- break;
- }
- $54 = $Fs_Hz_out$addr;
- $mul107 = $54<<1;
- $55 = $Fs_Hz_in$addr;
- $cmp108 = ($mul107|0)==($55|0);
- if ($cmp108) {
- $56 = $S$addr;
- $FIR_Fracs111 = ((($56)) + 280|0);
- HEAP32[$FIR_Fracs111>>2] = 1;
- $57 = $S$addr;
- $FIR_Order112 = ((($57)) + 276|0);
- HEAP32[$FIR_Order112>>2] = 24;
- $58 = $S$addr;
- $Coefs113 = ((($58)) + 296|0);
- HEAP32[$Coefs113>>2] = 25122;
- break;
- }
- $59 = $Fs_Hz_out$addr;
- $mul115 = ($59*3)|0;
- $60 = $Fs_Hz_in$addr;
- $cmp116 = ($mul115|0)==($60|0);
- if ($cmp116) {
- $61 = $S$addr;
- $FIR_Fracs119 = ((($61)) + 280|0);
- HEAP32[$FIR_Fracs119>>2] = 1;
- $62 = $S$addr;
- $FIR_Order120 = ((($62)) + 276|0);
- HEAP32[$FIR_Order120>>2] = 36;
- $63 = $S$addr;
- $Coefs121 = ((($63)) + 296|0);
- HEAP32[$Coefs121>>2] = 25150;
- break;
- }
- $64 = $Fs_Hz_out$addr;
- $mul123 = $64<<2;
- $65 = $Fs_Hz_in$addr;
- $cmp124 = ($mul123|0)==($65|0);
- if ($cmp124) {
- $66 = $S$addr;
- $FIR_Fracs127 = ((($66)) + 280|0);
- HEAP32[$FIR_Fracs127>>2] = 1;
- $67 = $S$addr;
- $FIR_Order128 = ((($67)) + 276|0);
- HEAP32[$FIR_Order128>>2] = 36;
- $68 = $S$addr;
- $Coefs129 = ((($68)) + 296|0);
- HEAP32[$Coefs129>>2] = 25190;
- break;
- }
- $69 = $Fs_Hz_out$addr;
- $mul131 = ($69*6)|0;
- $70 = $Fs_Hz_in$addr;
- $cmp132 = ($mul131|0)==($70|0);
- if ($cmp132) {
- $71 = $S$addr;
- $FIR_Fracs135 = ((($71)) + 280|0);
- HEAP32[$FIR_Fracs135>>2] = 1;
- $72 = $S$addr;
- $FIR_Order136 = ((($72)) + 276|0);
- HEAP32[$FIR_Order136>>2] = 36;
- $73 = $S$addr;
- $Coefs137 = ((($73)) + 296|0);
- HEAP32[$Coefs137>>2] = 25230;
- break;
- }
- $retval = -1;
- $91 = $retval;
- STACKTOP = sp;return ($91|0);
- }
- } while(0);
- $74 = $Fs_Hz_in$addr;
- $75 = $up2x;
- $add = (14 + ($75))|0;
- $shl = $74 << $add;
- $76 = $Fs_Hz_out$addr;
- $div149 = (($shl|0) / ($76|0))&-1;
- $shl150 = $div149 << 2;
- $77 = $S$addr;
- $invRatio_Q16 = ((($77)) + 272|0);
- HEAP32[$invRatio_Q16>>2] = $shl150;
- while(1) {
- $78 = $S$addr;
- $invRatio_Q16151 = ((($78)) + 272|0);
- $79 = HEAP32[$invRatio_Q16151>>2]|0;
- $shr152 = $79 >> 16;
- $80 = $Fs_Hz_out$addr;
- $conv153 = $80&65535;
- $conv154 = $conv153 << 16 >> 16;
- $mul155 = Math_imul($shr152, $conv154)|0;
- $81 = $S$addr;
- $invRatio_Q16156 = ((($81)) + 272|0);
- $82 = HEAP32[$invRatio_Q16156>>2]|0;
- $and = $82 & 65535;
- $83 = $Fs_Hz_out$addr;
- $conv157 = $83&65535;
- $conv158 = $conv157 << 16 >> 16;
- $mul159 = Math_imul($and, $conv158)|0;
- $shr160 = $mul159 >> 16;
- $add161 = (($mul155) + ($shr160))|0;
- $84 = $S$addr;
- $invRatio_Q16162 = ((($84)) + 272|0);
- $85 = HEAP32[$invRatio_Q16162>>2]|0;
- $86 = $Fs_Hz_out$addr;
- $shr163 = $86 >> 15;
- $add164 = (($shr163) + 1)|0;
- $shr165 = $add164 >> 1;
- $mul166 = Math_imul($85, $shr165)|0;
- $add167 = (($add161) + ($mul166))|0;
- $87 = $Fs_Hz_in$addr;
- $88 = $up2x;
- $shl168 = $87 << $88;
- $cmp169 = ($add167|0)<($shl168|0);
- if (!($cmp169)) {
- break;
- }
- $89 = $S$addr;
- $invRatio_Q16171 = ((($89)) + 272|0);
- $90 = HEAP32[$invRatio_Q16171>>2]|0;
- $inc = (($90) + 1)|0;
- HEAP32[$invRatio_Q16171>>2] = $inc;
- }
- $retval = 0;
- $91 = $retval;
- STACKTOP = sp;return ($91|0);
-}
-function _silk_resampler($S,$out,$in,$inLen) {
- $S = $S|0;
- $out = $out|0;
- $in = $in|0;
- $inLen = $inLen|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $8 = 0, $9 = 0, $Fs_in_kHz = 0, $Fs_in_kHz11 = 0, $Fs_in_kHz15 = 0, $Fs_in_kHz20 = 0, $Fs_in_kHz24 = 0, $Fs_in_kHz28 = 0, $Fs_in_kHz3 = 0, $Fs_in_kHz33 = 0;
- var $Fs_in_kHz6 = 0, $Fs_out_kHz = 0, $Fs_out_kHz12 = 0, $Fs_out_kHz21 = 0, $Fs_out_kHz30 = 0, $S$addr = 0, $arrayidx = 0, $arrayidx13 = 0, $arrayidx14 = 0, $arrayidx22 = 0, $arrayidx23 = 0, $arrayidx31 = 0, $arrayidx32 = 0, $arrayidx4 = 0, $arrayidx40 = 0, $arrayidx5 = 0, $delayBuf = 0, $delayBuf18 = 0, $delayBuf2 = 0, $delayBuf26 = 0;
- var $delayBuf36 = 0, $delayBuf9 = 0, $in$addr = 0, $inLen$addr = 0, $inputDelay = 0, $inputDelay1 = 0, $inputDelay38 = 0, $inputDelay41 = 0, $mul = 0, $mul29 = 0, $mul35 = 0, $mul42 = 0, $nSamples = 0, $out$addr = 0, $resampler_function = 0, $sub = 0, $sub16 = 0, $sub25 = 0, $sub34 = 0, $sub39 = 0;
- var $sub7 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $S$addr = $S;
- $out$addr = $out;
- $in$addr = $in;
- $inLen$addr = $inLen;
- $0 = $S$addr;
- $Fs_in_kHz = ((($0)) + 284|0);
- $1 = HEAP32[$Fs_in_kHz>>2]|0;
- $2 = $S$addr;
- $inputDelay = ((($2)) + 292|0);
- $3 = HEAP32[$inputDelay>>2]|0;
- $sub = (($1) - ($3))|0;
- $nSamples = $sub;
- $4 = $S$addr;
- $delayBuf = ((($4)) + 168|0);
- $5 = $S$addr;
- $inputDelay1 = ((($5)) + 292|0);
- $6 = HEAP32[$inputDelay1>>2]|0;
- $arrayidx = (($delayBuf) + ($6<<1)|0);
- $7 = $in$addr;
- $8 = $nSamples;
- $mul = $8<<1;
- _memcpy(($arrayidx|0),($7|0),($mul|0))|0;
- $9 = $S$addr;
- $resampler_function = ((($9)) + 264|0);
- $10 = HEAP32[$resampler_function>>2]|0;
- switch ($10|0) {
- case 1: {
- $11 = $S$addr;
- $12 = $out$addr;
- $13 = $S$addr;
- $delayBuf2 = ((($13)) + 168|0);
- $14 = $S$addr;
- $Fs_in_kHz3 = ((($14)) + 284|0);
- $15 = HEAP32[$Fs_in_kHz3>>2]|0;
- _silk_resampler_private_up2_HQ_wrapper($11,$12,$delayBuf2,$15);
- $16 = $S$addr;
- $17 = $out$addr;
- $18 = $S$addr;
- $Fs_out_kHz = ((($18)) + 288|0);
- $19 = HEAP32[$Fs_out_kHz>>2]|0;
- $arrayidx4 = (($17) + ($19<<1)|0);
- $20 = $in$addr;
- $21 = $nSamples;
- $arrayidx5 = (($20) + ($21<<1)|0);
- $22 = $inLen$addr;
- $23 = $S$addr;
- $Fs_in_kHz6 = ((($23)) + 284|0);
- $24 = HEAP32[$Fs_in_kHz6>>2]|0;
- $sub7 = (($22) - ($24))|0;
- _silk_resampler_private_up2_HQ_wrapper($16,$arrayidx4,$arrayidx5,$sub7);
- break;
- }
- case 2: {
- $25 = $S$addr;
- $26 = $out$addr;
- $27 = $S$addr;
- $delayBuf9 = ((($27)) + 168|0);
- $28 = $S$addr;
- $Fs_in_kHz11 = ((($28)) + 284|0);
- $29 = HEAP32[$Fs_in_kHz11>>2]|0;
- _silk_resampler_private_IIR_FIR($25,$26,$delayBuf9,$29);
- $30 = $S$addr;
- $31 = $out$addr;
- $32 = $S$addr;
- $Fs_out_kHz12 = ((($32)) + 288|0);
- $33 = HEAP32[$Fs_out_kHz12>>2]|0;
- $arrayidx13 = (($31) + ($33<<1)|0);
- $34 = $in$addr;
- $35 = $nSamples;
- $arrayidx14 = (($34) + ($35<<1)|0);
- $36 = $inLen$addr;
- $37 = $S$addr;
- $Fs_in_kHz15 = ((($37)) + 284|0);
- $38 = HEAP32[$Fs_in_kHz15>>2]|0;
- $sub16 = (($36) - ($38))|0;
- _silk_resampler_private_IIR_FIR($30,$arrayidx13,$arrayidx14,$sub16);
- break;
- }
- case 3: {
- $39 = $S$addr;
- $40 = $out$addr;
- $41 = $S$addr;
- $delayBuf18 = ((($41)) + 168|0);
- $42 = $S$addr;
- $Fs_in_kHz20 = ((($42)) + 284|0);
- $43 = HEAP32[$Fs_in_kHz20>>2]|0;
- _silk_resampler_private_down_FIR($39,$40,$delayBuf18,$43);
- $44 = $S$addr;
- $45 = $out$addr;
- $46 = $S$addr;
- $Fs_out_kHz21 = ((($46)) + 288|0);
- $47 = HEAP32[$Fs_out_kHz21>>2]|0;
- $arrayidx22 = (($45) + ($47<<1)|0);
- $48 = $in$addr;
- $49 = $nSamples;
- $arrayidx23 = (($48) + ($49<<1)|0);
- $50 = $inLen$addr;
- $51 = $S$addr;
- $Fs_in_kHz24 = ((($51)) + 284|0);
- $52 = HEAP32[$Fs_in_kHz24>>2]|0;
- $sub25 = (($50) - ($52))|0;
- _silk_resampler_private_down_FIR($44,$arrayidx22,$arrayidx23,$sub25);
- break;
- }
- default: {
- $53 = $out$addr;
- $54 = $S$addr;
- $delayBuf26 = ((($54)) + 168|0);
- $55 = $S$addr;
- $Fs_in_kHz28 = ((($55)) + 284|0);
- $56 = HEAP32[$Fs_in_kHz28>>2]|0;
- $mul29 = $56<<1;
- _memcpy(($53|0),($delayBuf26|0),($mul29|0))|0;
- $57 = $out$addr;
- $58 = $S$addr;
- $Fs_out_kHz30 = ((($58)) + 288|0);
- $59 = HEAP32[$Fs_out_kHz30>>2]|0;
- $arrayidx31 = (($57) + ($59<<1)|0);
- $60 = $in$addr;
- $61 = $nSamples;
- $arrayidx32 = (($60) + ($61<<1)|0);
- $62 = $inLen$addr;
- $63 = $S$addr;
- $Fs_in_kHz33 = ((($63)) + 284|0);
- $64 = HEAP32[$Fs_in_kHz33>>2]|0;
- $sub34 = (($62) - ($64))|0;
- $mul35 = $sub34<<1;
- _memcpy(($arrayidx31|0),($arrayidx32|0),($mul35|0))|0;
- }
- }
- $65 = $S$addr;
- $delayBuf36 = ((($65)) + 168|0);
- $66 = $in$addr;
- $67 = $inLen$addr;
- $68 = $S$addr;
- $inputDelay38 = ((($68)) + 292|0);
- $69 = HEAP32[$inputDelay38>>2]|0;
- $sub39 = (($67) - ($69))|0;
- $arrayidx40 = (($66) + ($sub39<<1)|0);
- $70 = $S$addr;
- $inputDelay41 = ((($70)) + 292|0);
- $71 = HEAP32[$inputDelay41>>2]|0;
- $mul42 = $71<<1;
- _memcpy(($delayBuf36|0),($arrayidx40|0),($mul42|0))|0;
- STACKTOP = sp;return 0;
-}
-function _silk_resampler_private_down_FIR($SS,$out,$in,$inLen) {
- $SS = $SS|0;
- $out = $out|0;
- $in = $in|0;
- $inLen = $inLen|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Coefs = 0, $Coefs7 = 0, $FIR_Coefs = 0, $FIR_Fracs = 0, $FIR_Order = 0, $FIR_Order1 = 0, $FIR_Order11 = 0, $FIR_Order17 = 0, $FIR_Order5 = 0, $FIR_Order8 = 0, $S = 0, $SS$addr = 0;
- var $add = 0, $add$ptr = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx16 = 0, $arrayidx6 = 0, $batchSize = 0, $batchSize2 = 0, $batchSize3 = 0, $call = 0, $cmp = 0, $cmp9 = 0, $cond = 0, $in$addr = 0, $inLen$addr = 0, $index_increment_Q16 = 0, $invRatio_Q16 = 0, $max_index_Q16 = 0, $mul = 0, $mul12 = 0;
- var $mul18 = 0, $nSamplesIn = 0, $out$addr = 0, $sFIR = 0, $sFIR13 = 0, $saved_stack = 0, $shl = 0, $sub = 0, $vla = 0, $vla$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $SS$addr = $SS;
- $out$addr = $out;
- $in$addr = $in;
- $inLen$addr = $inLen;
- $0 = $SS$addr;
- $S = $0;
- $1 = $S;
- $batchSize = ((($1)) + 268|0);
- $2 = HEAP32[$batchSize>>2]|0;
- $3 = $S;
- $FIR_Order = ((($3)) + 276|0);
- $4 = HEAP32[$FIR_Order>>2]|0;
- $add = (($2) + ($4))|0;
- $5 = (_llvm_stacksave()|0);
- $saved_stack = $5;
- $vla$alloca_mul = $add<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $6 = $S;
- $sFIR = ((($6)) + 24|0);
- $7 = $S;
- $FIR_Order1 = ((($7)) + 276|0);
- $8 = HEAP32[$FIR_Order1>>2]|0;
- $mul = $8<<2;
- _memcpy(($vla|0),($sFIR|0),($mul|0))|0;
- $9 = $S;
- $Coefs = ((($9)) + 296|0);
- $10 = HEAP32[$Coefs>>2]|0;
- $arrayidx = ((($10)) + 4|0);
- $FIR_Coefs = $arrayidx;
- $11 = $S;
- $invRatio_Q16 = ((($11)) + 272|0);
- $12 = HEAP32[$invRatio_Q16>>2]|0;
- $index_increment_Q16 = $12;
- while(1) {
- $13 = $inLen$addr;
- $14 = $S;
- $batchSize2 = ((($14)) + 268|0);
- $15 = HEAP32[$batchSize2>>2]|0;
- $cmp = ($13|0)<($15|0);
- if ($cmp) {
- $16 = $inLen$addr;
- $cond = $16;
- } else {
- $17 = $S;
- $batchSize3 = ((($17)) + 268|0);
- $18 = HEAP32[$batchSize3>>2]|0;
- $cond = $18;
- }
- $nSamplesIn = $cond;
- $19 = $S;
- $20 = $S;
- $FIR_Order5 = ((($20)) + 276|0);
- $21 = HEAP32[$FIR_Order5>>2]|0;
- $arrayidx6 = (($vla) + ($21<<2)|0);
- $22 = $in$addr;
- $23 = $S;
- $Coefs7 = ((($23)) + 296|0);
- $24 = HEAP32[$Coefs7>>2]|0;
- $25 = $nSamplesIn;
- _silk_resampler_private_AR2($19,$arrayidx6,$22,$24,$25);
- $26 = $nSamplesIn;
- $shl = $26 << 16;
- $max_index_Q16 = $shl;
- $27 = $out$addr;
- $28 = $FIR_Coefs;
- $29 = $S;
- $FIR_Order8 = ((($29)) + 276|0);
- $30 = HEAP32[$FIR_Order8>>2]|0;
- $31 = $S;
- $FIR_Fracs = ((($31)) + 280|0);
- $32 = HEAP32[$FIR_Fracs>>2]|0;
- $33 = $max_index_Q16;
- $34 = $index_increment_Q16;
- $call = (_silk_resampler_private_down_FIR_INTERPOL($27,$vla,$28,$30,$32,$33,$34)|0);
- $out$addr = $call;
- $35 = $nSamplesIn;
- $36 = $in$addr;
- $add$ptr = (($36) + ($35<<1)|0);
- $in$addr = $add$ptr;
- $37 = $nSamplesIn;
- $38 = $inLen$addr;
- $sub = (($38) - ($37))|0;
- $inLen$addr = $sub;
- $39 = $inLen$addr;
- $cmp9 = ($39|0)>(1);
- if (!($cmp9)) {
- break;
- }
- $40 = $nSamplesIn;
- $arrayidx10 = (($vla) + ($40<<2)|0);
- $41 = $S;
- $FIR_Order11 = ((($41)) + 276|0);
- $42 = HEAP32[$FIR_Order11>>2]|0;
- $mul12 = $42<<2;
- _memcpy(($vla|0),($arrayidx10|0),($mul12|0))|0;
- }
- $43 = $S;
- $sFIR13 = ((($43)) + 24|0);
- $44 = $nSamplesIn;
- $arrayidx16 = (($vla) + ($44<<2)|0);
- $45 = $S;
- $FIR_Order17 = ((($45)) + 276|0);
- $46 = HEAP32[$FIR_Order17>>2]|0;
- $mul18 = $46<<2;
- _memcpy(($sFIR13|0),($arrayidx16|0),($mul18|0))|0;
- $47 = $saved_stack;
- _llvm_stackrestore(($47|0));
- STACKTOP = sp;return;
-}
-function _silk_resampler_private_down_FIR_INTERPOL($out,$buf,$FIR_Coefs,$FIR_Order,$FIR_Fracs,$max_index_Q16,$index_increment_Q16) {
- $out = $out|0;
- $buf = $buf|0;
- $FIR_Coefs = $FIR_Coefs|0;
- $FIR_Order = $FIR_Order|0;
- $FIR_Fracs = $FIR_Fracs|0;
- $max_index_Q16 = $max_index_Q16|0;
- $index_increment_Q16 = $index_increment_Q16|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
- var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
- var $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0;
- var $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0;
- var $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0;
- var $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0;
- var $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0;
- var $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0;
- var $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0;
- var $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0;
- var $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0;
- var $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0;
- var $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0;
- var $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0;
- var $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0;
- var $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0;
- var $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
- var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
- var $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $FIR_Coefs$addr = 0, $FIR_Fracs$addr = 0, $FIR_Order$addr = 0, $add = 0, $add$ptr = 0, $add$ptr271 = 0, $add$ptr507 = 0, $add111 = 0, $add112 = 0, $add124 = 0;
- var $add125 = 0, $add140 = 0, $add141 = 0, $add153 = 0, $add154 = 0, $add166 = 0, $add167 = 0, $add179 = 0, $add180 = 0, $add192 = 0, $add193 = 0, $add205 = 0, $add206 = 0, $add21 = 0, $add218 = 0, $add219 = 0, $add231 = 0, $add232 = 0, $add244 = 0, $add245 = 0;
- var $add247 = 0, $add252 = 0, $add259 = 0, $add264 = 0, $add274 = 0, $add281 = 0, $add287 = 0, $add290 = 0, $add297 = 0, $add303 = 0, $add304 = 0, $add307 = 0, $add314 = 0, $add320 = 0, $add321 = 0, $add324 = 0, $add33 = 0, $add331 = 0, $add337 = 0, $add338 = 0;
- var $add34 = 0, $add341 = 0, $add348 = 0, $add354 = 0, $add355 = 0, $add358 = 0, $add365 = 0, $add371 = 0, $add372 = 0, $add375 = 0, $add382 = 0, $add388 = 0, $add389 = 0, $add392 = 0, $add399 = 0, $add405 = 0, $add406 = 0, $add409 = 0, $add416 = 0, $add422 = 0;
- var $add423 = 0, $add426 = 0, $add433 = 0, $add439 = 0, $add440 = 0, $add443 = 0, $add450 = 0, $add456 = 0, $add457 = 0, $add46 = 0, $add460 = 0, $add467 = 0, $add47 = 0, $add473 = 0, $add474 = 0, $add476 = 0, $add483 = 0, $add490 = 0, $add499 = 0, $add510 = 0;
- var $add517 = 0, $add523 = 0, $add526 = 0, $add533 = 0, $add539 = 0, $add540 = 0, $add543 = 0, $add550 = 0, $add556 = 0, $add557 = 0, $add560 = 0, $add567 = 0, $add573 = 0, $add574 = 0, $add577 = 0, $add584 = 0, $add59 = 0, $add590 = 0, $add591 = 0, $add594 = 0;
- var $add60 = 0, $add601 = 0, $add607 = 0, $add608 = 0, $add611 = 0, $add618 = 0, $add624 = 0, $add625 = 0, $add628 = 0, $add635 = 0, $add641 = 0, $add642 = 0, $add645 = 0, $add652 = 0, $add658 = 0, $add659 = 0, $add662 = 0, $add669 = 0, $add675 = 0, $add676 = 0;
- var $add679 = 0, $add686 = 0, $add692 = 0, $add693 = 0, $add696 = 0, $add703 = 0, $add709 = 0, $add710 = 0, $add713 = 0, $add72 = 0, $add720 = 0, $add726 = 0, $add727 = 0, $add73 = 0, $add730 = 0, $add737 = 0, $add743 = 0, $add744 = 0, $add747 = 0, $add754 = 0;
- var $add760 = 0, $add761 = 0, $add764 = 0, $add771 = 0, $add777 = 0, $add778 = 0, $add781 = 0, $add788 = 0, $add794 = 0, $add795 = 0, $add798 = 0, $add805 = 0, $add811 = 0, $add812 = 0, $add814 = 0, $add821 = 0, $add828 = 0, $add837 = 0, $add85 = 0, $add86 = 0;
- var $add98 = 0, $add99 = 0, $and = 0, $and106 = 0, $and119 = 0, $and135 = 0, $and148 = 0, $and16 = 0, $and161 = 0, $and174 = 0, $and187 = 0, $and200 = 0, $and213 = 0, $and226 = 0, $and239 = 0, $and28 = 0, $and282 = 0, $and298 = 0, $and3 = 0, $and315 = 0;
- var $and332 = 0, $and349 = 0, $and366 = 0, $and383 = 0, $and4 = 0, $and400 = 0, $and41 = 0, $and417 = 0, $and434 = 0, $and451 = 0, $and468 = 0, $and518 = 0, $and534 = 0, $and54 = 0, $and551 = 0, $and568 = 0, $and585 = 0, $and602 = 0, $and619 = 0, $and636 = 0;
- var $and653 = 0, $and67 = 0, $and670 = 0, $and687 = 0, $and704 = 0, $and721 = 0, $and738 = 0, $and755 = 0, $and772 = 0, $and789 = 0, $and80 = 0, $and806 = 0, $and93 = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx102 = 0, $arrayidx105 = 0, $arrayidx107 = 0, $arrayidx113 = 0, $arrayidx115 = 0;
- var $arrayidx118 = 0, $arrayidx120 = 0, $arrayidx128 = 0, $arrayidx129 = 0, $arrayidx134 = 0, $arrayidx142 = 0, $arrayidx144 = 0, $arrayidx147 = 0, $arrayidx149 = 0, $arrayidx155 = 0, $arrayidx157 = 0, $arrayidx160 = 0, $arrayidx162 = 0, $arrayidx168 = 0, $arrayidx170 = 0, $arrayidx173 = 0, $arrayidx175 = 0, $arrayidx181 = 0, $arrayidx183 = 0, $arrayidx186 = 0;
- var $arrayidx188 = 0, $arrayidx194 = 0, $arrayidx196 = 0, $arrayidx199 = 0, $arrayidx201 = 0, $arrayidx207 = 0, $arrayidx209 = 0, $arrayidx212 = 0, $arrayidx214 = 0, $arrayidx22 = 0, $arrayidx220 = 0, $arrayidx222 = 0, $arrayidx225 = 0, $arrayidx227 = 0, $arrayidx233 = 0, $arrayidx235 = 0, $arrayidx238 = 0, $arrayidx24 = 0, $arrayidx240 = 0, $arrayidx27 = 0;
- var $arrayidx273 = 0, $arrayidx280 = 0, $arrayidx288 = 0, $arrayidx289 = 0, $arrayidx29 = 0, $arrayidx292 = 0, $arrayidx295 = 0, $arrayidx296 = 0, $arrayidx299 = 0, $arrayidx305 = 0, $arrayidx306 = 0, $arrayidx309 = 0, $arrayidx312 = 0, $arrayidx313 = 0, $arrayidx316 = 0, $arrayidx322 = 0, $arrayidx323 = 0, $arrayidx326 = 0, $arrayidx329 = 0, $arrayidx330 = 0;
- var $arrayidx333 = 0, $arrayidx339 = 0, $arrayidx340 = 0, $arrayidx343 = 0, $arrayidx346 = 0, $arrayidx347 = 0, $arrayidx35 = 0, $arrayidx350 = 0, $arrayidx356 = 0, $arrayidx357 = 0, $arrayidx360 = 0, $arrayidx363 = 0, $arrayidx364 = 0, $arrayidx367 = 0, $arrayidx37 = 0, $arrayidx373 = 0, $arrayidx374 = 0, $arrayidx377 = 0, $arrayidx380 = 0, $arrayidx381 = 0;
- var $arrayidx384 = 0, $arrayidx390 = 0, $arrayidx391 = 0, $arrayidx394 = 0, $arrayidx397 = 0, $arrayidx398 = 0, $arrayidx40 = 0, $arrayidx401 = 0, $arrayidx407 = 0, $arrayidx408 = 0, $arrayidx411 = 0, $arrayidx414 = 0, $arrayidx415 = 0, $arrayidx418 = 0, $arrayidx42 = 0, $arrayidx424 = 0, $arrayidx425 = 0, $arrayidx428 = 0, $arrayidx431 = 0, $arrayidx432 = 0;
- var $arrayidx435 = 0, $arrayidx441 = 0, $arrayidx442 = 0, $arrayidx445 = 0, $arrayidx448 = 0, $arrayidx449 = 0, $arrayidx452 = 0, $arrayidx458 = 0, $arrayidx459 = 0, $arrayidx462 = 0, $arrayidx465 = 0, $arrayidx466 = 0, $arrayidx469 = 0, $arrayidx48 = 0, $arrayidx50 = 0, $arrayidx509 = 0, $arrayidx516 = 0, $arrayidx524 = 0, $arrayidx525 = 0, $arrayidx528 = 0;
- var $arrayidx53 = 0, $arrayidx531 = 0, $arrayidx532 = 0, $arrayidx535 = 0, $arrayidx541 = 0, $arrayidx542 = 0, $arrayidx545 = 0, $arrayidx548 = 0, $arrayidx549 = 0, $arrayidx55 = 0, $arrayidx552 = 0, $arrayidx558 = 0, $arrayidx559 = 0, $arrayidx562 = 0, $arrayidx565 = 0, $arrayidx566 = 0, $arrayidx569 = 0, $arrayidx575 = 0, $arrayidx576 = 0, $arrayidx579 = 0;
- var $arrayidx582 = 0, $arrayidx583 = 0, $arrayidx586 = 0, $arrayidx592 = 0, $arrayidx593 = 0, $arrayidx596 = 0, $arrayidx599 = 0, $arrayidx600 = 0, $arrayidx603 = 0, $arrayidx609 = 0, $arrayidx61 = 0, $arrayidx610 = 0, $arrayidx613 = 0, $arrayidx616 = 0, $arrayidx617 = 0, $arrayidx620 = 0, $arrayidx626 = 0, $arrayidx627 = 0, $arrayidx63 = 0, $arrayidx630 = 0;
- var $arrayidx633 = 0, $arrayidx634 = 0, $arrayidx637 = 0, $arrayidx643 = 0, $arrayidx644 = 0, $arrayidx647 = 0, $arrayidx650 = 0, $arrayidx651 = 0, $arrayidx654 = 0, $arrayidx66 = 0, $arrayidx660 = 0, $arrayidx661 = 0, $arrayidx664 = 0, $arrayidx667 = 0, $arrayidx668 = 0, $arrayidx671 = 0, $arrayidx677 = 0, $arrayidx678 = 0, $arrayidx68 = 0, $arrayidx681 = 0;
- var $arrayidx684 = 0, $arrayidx685 = 0, $arrayidx688 = 0, $arrayidx694 = 0, $arrayidx695 = 0, $arrayidx698 = 0, $arrayidx701 = 0, $arrayidx702 = 0, $arrayidx705 = 0, $arrayidx711 = 0, $arrayidx712 = 0, $arrayidx715 = 0, $arrayidx718 = 0, $arrayidx719 = 0, $arrayidx722 = 0, $arrayidx728 = 0, $arrayidx729 = 0, $arrayidx732 = 0, $arrayidx735 = 0, $arrayidx736 = 0;
- var $arrayidx739 = 0, $arrayidx74 = 0, $arrayidx745 = 0, $arrayidx746 = 0, $arrayidx749 = 0, $arrayidx752 = 0, $arrayidx753 = 0, $arrayidx756 = 0, $arrayidx76 = 0, $arrayidx762 = 0, $arrayidx763 = 0, $arrayidx766 = 0, $arrayidx769 = 0, $arrayidx770 = 0, $arrayidx773 = 0, $arrayidx779 = 0, $arrayidx780 = 0, $arrayidx783 = 0, $arrayidx786 = 0, $arrayidx787 = 0;
- var $arrayidx79 = 0, $arrayidx790 = 0, $arrayidx796 = 0, $arrayidx797 = 0, $arrayidx800 = 0, $arrayidx803 = 0, $arrayidx804 = 0, $arrayidx807 = 0, $arrayidx81 = 0, $arrayidx87 = 0, $arrayidx89 = 0, $arrayidx92 = 0, $arrayidx94 = 0, $buf$addr = 0, $buf_ptr = 0, $cmp = 0, $cmp249 = 0, $cmp254 = 0, $cmp267 = 0, $cmp478 = 0;
- var $cmp485 = 0, $cmp503 = 0, $cmp816 = 0, $cmp823 = 0, $cond262 = 0, $cond495 = 0, $cond833 = 0, $conv = 0, $conv103 = 0, $conv108 = 0, $conv116 = 0, $conv121 = 0, $conv13 = 0, $conv132 = 0, $conv137 = 0, $conv145 = 0, $conv150 = 0, $conv158 = 0, $conv163 = 0, $conv171 = 0;
- var $conv176 = 0, $conv18 = 0, $conv184 = 0, $conv189 = 0, $conv197 = 0, $conv2 = 0, $conv202 = 0, $conv210 = 0, $conv215 = 0, $conv223 = 0, $conv228 = 0, $conv236 = 0, $conv241 = 0, $conv25 = 0, $conv263 = 0, $conv277 = 0, $conv284 = 0, $conv293 = 0, $conv30 = 0, $conv300 = 0;
- var $conv310 = 0, $conv317 = 0, $conv327 = 0, $conv334 = 0, $conv344 = 0, $conv351 = 0, $conv361 = 0, $conv368 = 0, $conv378 = 0, $conv38 = 0, $conv385 = 0, $conv395 = 0, $conv402 = 0, $conv412 = 0, $conv419 = 0, $conv429 = 0, $conv43 = 0, $conv436 = 0, $conv446 = 0, $conv453 = 0;
- var $conv463 = 0, $conv470 = 0, $conv496 = 0, $conv5 = 0, $conv51 = 0, $conv513 = 0, $conv520 = 0, $conv529 = 0, $conv536 = 0, $conv546 = 0, $conv553 = 0, $conv56 = 0, $conv563 = 0, $conv570 = 0, $conv580 = 0, $conv587 = 0, $conv597 = 0, $conv6 = 0, $conv604 = 0, $conv614 = 0;
- var $conv621 = 0, $conv631 = 0, $conv638 = 0, $conv64 = 0, $conv648 = 0, $conv655 = 0, $conv665 = 0, $conv672 = 0, $conv682 = 0, $conv689 = 0, $conv69 = 0, $conv699 = 0, $conv706 = 0, $conv716 = 0, $conv723 = 0, $conv733 = 0, $conv740 = 0, $conv750 = 0, $conv757 = 0, $conv767 = 0;
- var $conv77 = 0, $conv774 = 0, $conv784 = 0, $conv791 = 0, $conv801 = 0, $conv808 = 0, $conv82 = 0, $conv834 = 0, $conv90 = 0, $conv95 = 0, $incdec$ptr = 0, $incdec$ptr497 = 0, $incdec$ptr835 = 0, $index_Q16 = 0, $index_increment_Q16$addr = 0, $interpol_ind = 0, $interpol_ptr = 0, $max_index_Q16$addr = 0, $mul = 0, $mul104 = 0;
- var $mul109 = 0, $mul117 = 0, $mul122 = 0, $mul127 = 0, $mul133 = 0, $mul138 = 0, $mul14 = 0, $mul146 = 0, $mul151 = 0, $mul159 = 0, $mul164 = 0, $mul172 = 0, $mul177 = 0, $mul185 = 0, $mul19 = 0, $mul190 = 0, $mul198 = 0, $mul203 = 0, $mul211 = 0, $mul216 = 0;
- var $mul224 = 0, $mul229 = 0, $mul237 = 0, $mul242 = 0, $mul26 = 0, $mul278 = 0, $mul285 = 0, $mul294 = 0, $mul301 = 0, $mul31 = 0, $mul311 = 0, $mul318 = 0, $mul328 = 0, $mul335 = 0, $mul345 = 0, $mul352 = 0, $mul362 = 0, $mul369 = 0, $mul379 = 0, $mul386 = 0;
- var $mul39 = 0, $mul396 = 0, $mul403 = 0, $mul413 = 0, $mul420 = 0, $mul430 = 0, $mul437 = 0, $mul44 = 0, $mul447 = 0, $mul454 = 0, $mul464 = 0, $mul471 = 0, $mul514 = 0, $mul52 = 0, $mul521 = 0, $mul530 = 0, $mul537 = 0, $mul547 = 0, $mul554 = 0, $mul564 = 0;
- var $mul57 = 0, $mul571 = 0, $mul581 = 0, $mul588 = 0, $mul598 = 0, $mul605 = 0, $mul615 = 0, $mul622 = 0, $mul632 = 0, $mul639 = 0, $mul649 = 0, $mul65 = 0, $mul656 = 0, $mul666 = 0, $mul673 = 0, $mul683 = 0, $mul690 = 0, $mul7 = 0, $mul70 = 0, $mul700 = 0;
- var $mul707 = 0, $mul717 = 0, $mul724 = 0, $mul734 = 0, $mul741 = 0, $mul751 = 0, $mul758 = 0, $mul768 = 0, $mul775 = 0, $mul78 = 0, $mul785 = 0, $mul792 = 0, $mul802 = 0, $mul809 = 0, $mul83 = 0, $mul9 = 0, $mul91 = 0, $mul96 = 0, $out$addr = 0, $res_Q6 = 0;
- var $shr = 0, $shr1 = 0, $shr101 = 0, $shr11 = 0, $shr110 = 0, $shr114 = 0, $shr123 = 0, $shr130 = 0, $shr139 = 0, $shr143 = 0, $shr152 = 0, $shr156 = 0, $shr165 = 0, $shr169 = 0, $shr178 = 0, $shr182 = 0, $shr191 = 0, $shr195 = 0, $shr20 = 0, $shr204 = 0;
- var $shr208 = 0, $shr217 = 0, $shr221 = 0, $shr23 = 0, $shr230 = 0, $shr234 = 0, $shr243 = 0, $shr246 = 0, $shr248 = 0, $shr251 = 0, $shr253 = 0, $shr258 = 0, $shr260 = 0, $shr270 = 0, $shr275 = 0, $shr286 = 0, $shr291 = 0, $shr302 = 0, $shr308 = 0, $shr319 = 0;
- var $shr32 = 0, $shr325 = 0, $shr336 = 0, $shr342 = 0, $shr353 = 0, $shr359 = 0, $shr36 = 0, $shr370 = 0, $shr376 = 0, $shr387 = 0, $shr393 = 0, $shr404 = 0, $shr410 = 0, $shr421 = 0, $shr427 = 0, $shr438 = 0, $shr444 = 0, $shr45 = 0, $shr455 = 0, $shr461 = 0;
- var $shr472 = 0, $shr475 = 0, $shr477 = 0, $shr482 = 0, $shr484 = 0, $shr489 = 0, $shr49 = 0, $shr491 = 0, $shr506 = 0, $shr511 = 0, $shr522 = 0, $shr527 = 0, $shr538 = 0, $shr544 = 0, $shr555 = 0, $shr561 = 0, $shr572 = 0, $shr578 = 0, $shr58 = 0, $shr589 = 0;
- var $shr595 = 0, $shr606 = 0, $shr612 = 0, $shr62 = 0, $shr623 = 0, $shr629 = 0, $shr640 = 0, $shr646 = 0, $shr657 = 0, $shr663 = 0, $shr674 = 0, $shr680 = 0, $shr691 = 0, $shr697 = 0, $shr708 = 0, $shr71 = 0, $shr714 = 0, $shr725 = 0, $shr731 = 0, $shr742 = 0;
- var $shr748 = 0, $shr75 = 0, $shr759 = 0, $shr765 = 0, $shr776 = 0, $shr782 = 0, $shr793 = 0, $shr799 = 0, $shr8 = 0, $shr810 = 0, $shr813 = 0, $shr815 = 0, $shr820 = 0, $shr822 = 0, $shr827 = 0, $shr829 = 0, $shr84 = 0, $shr88 = 0, $shr97 = 0, $sub = 0;
- var $sub126 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $out$addr = $out;
- $buf$addr = $buf;
- $FIR_Coefs$addr = $FIR_Coefs;
- $FIR_Order$addr = $FIR_Order;
- $FIR_Fracs$addr = $FIR_Fracs;
- $max_index_Q16$addr = $max_index_Q16;
- $index_increment_Q16$addr = $index_increment_Q16;
- $0 = $FIR_Order$addr;
- switch ($0|0) {
- case 18: {
- $index_Q16 = 0;
- while(1) {
- $1 = $index_Q16;
- $2 = $max_index_Q16$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $buf$addr;
- $4 = $index_Q16;
- $shr = $4 >> 16;
- $add$ptr = (($3) + ($shr<<2)|0);
- $buf_ptr = $add$ptr;
- $5 = $index_Q16;
- $and = $5 & 65535;
- $shr1 = $and >> 16;
- $6 = $FIR_Fracs$addr;
- $conv = $6&65535;
- $conv2 = $conv << 16 >> 16;
- $mul = Math_imul($shr1, $conv2)|0;
- $7 = $index_Q16;
- $and3 = $7 & 65535;
- $and4 = $and3 & 65535;
- $8 = $FIR_Fracs$addr;
- $conv5 = $8&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = Math_imul($and4, $conv6)|0;
- $shr8 = $mul7 >> 16;
- $add = (($mul) + ($shr8))|0;
- $interpol_ind = $add;
- $9 = $FIR_Coefs$addr;
- $10 = $interpol_ind;
- $mul9 = ($10*9)|0;
- $arrayidx = (($9) + ($mul9<<1)|0);
- $interpol_ptr = $arrayidx;
- $11 = $buf_ptr;
- $12 = HEAP32[$11>>2]|0;
- $shr11 = $12 >> 16;
- $13 = $interpol_ptr;
- $14 = HEAP16[$13>>1]|0;
- $conv13 = $14 << 16 >> 16;
- $mul14 = Math_imul($shr11, $conv13)|0;
- $15 = $buf_ptr;
- $16 = HEAP32[$15>>2]|0;
- $and16 = $16 & 65535;
- $17 = $interpol_ptr;
- $18 = HEAP16[$17>>1]|0;
- $conv18 = $18 << 16 >> 16;
- $mul19 = Math_imul($and16, $conv18)|0;
- $shr20 = $mul19 >> 16;
- $add21 = (($mul14) + ($shr20))|0;
- $res_Q6 = $add21;
- $19 = $res_Q6;
- $20 = $buf_ptr;
- $arrayidx22 = ((($20)) + 4|0);
- $21 = HEAP32[$arrayidx22>>2]|0;
- $shr23 = $21 >> 16;
- $22 = $interpol_ptr;
- $arrayidx24 = ((($22)) + 2|0);
- $23 = HEAP16[$arrayidx24>>1]|0;
- $conv25 = $23 << 16 >> 16;
- $mul26 = Math_imul($shr23, $conv25)|0;
- $24 = $buf_ptr;
- $arrayidx27 = ((($24)) + 4|0);
- $25 = HEAP32[$arrayidx27>>2]|0;
- $and28 = $25 & 65535;
- $26 = $interpol_ptr;
- $arrayidx29 = ((($26)) + 2|0);
- $27 = HEAP16[$arrayidx29>>1]|0;
- $conv30 = $27 << 16 >> 16;
- $mul31 = Math_imul($and28, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul26) + ($shr32))|0;
- $add34 = (($19) + ($add33))|0;
- $res_Q6 = $add34;
- $28 = $res_Q6;
- $29 = $buf_ptr;
- $arrayidx35 = ((($29)) + 8|0);
- $30 = HEAP32[$arrayidx35>>2]|0;
- $shr36 = $30 >> 16;
- $31 = $interpol_ptr;
- $arrayidx37 = ((($31)) + 4|0);
- $32 = HEAP16[$arrayidx37>>1]|0;
- $conv38 = $32 << 16 >> 16;
- $mul39 = Math_imul($shr36, $conv38)|0;
- $33 = $buf_ptr;
- $arrayidx40 = ((($33)) + 8|0);
- $34 = HEAP32[$arrayidx40>>2]|0;
- $and41 = $34 & 65535;
- $35 = $interpol_ptr;
- $arrayidx42 = ((($35)) + 4|0);
- $36 = HEAP16[$arrayidx42>>1]|0;
- $conv43 = $36 << 16 >> 16;
- $mul44 = Math_imul($and41, $conv43)|0;
- $shr45 = $mul44 >> 16;
- $add46 = (($mul39) + ($shr45))|0;
- $add47 = (($28) + ($add46))|0;
- $res_Q6 = $add47;
- $37 = $res_Q6;
- $38 = $buf_ptr;
- $arrayidx48 = ((($38)) + 12|0);
- $39 = HEAP32[$arrayidx48>>2]|0;
- $shr49 = $39 >> 16;
- $40 = $interpol_ptr;
- $arrayidx50 = ((($40)) + 6|0);
- $41 = HEAP16[$arrayidx50>>1]|0;
- $conv51 = $41 << 16 >> 16;
- $mul52 = Math_imul($shr49, $conv51)|0;
- $42 = $buf_ptr;
- $arrayidx53 = ((($42)) + 12|0);
- $43 = HEAP32[$arrayidx53>>2]|0;
- $and54 = $43 & 65535;
- $44 = $interpol_ptr;
- $arrayidx55 = ((($44)) + 6|0);
- $45 = HEAP16[$arrayidx55>>1]|0;
- $conv56 = $45 << 16 >> 16;
- $mul57 = Math_imul($and54, $conv56)|0;
- $shr58 = $mul57 >> 16;
- $add59 = (($mul52) + ($shr58))|0;
- $add60 = (($37) + ($add59))|0;
- $res_Q6 = $add60;
- $46 = $res_Q6;
- $47 = $buf_ptr;
- $arrayidx61 = ((($47)) + 16|0);
- $48 = HEAP32[$arrayidx61>>2]|0;
- $shr62 = $48 >> 16;
- $49 = $interpol_ptr;
- $arrayidx63 = ((($49)) + 8|0);
- $50 = HEAP16[$arrayidx63>>1]|0;
- $conv64 = $50 << 16 >> 16;
- $mul65 = Math_imul($shr62, $conv64)|0;
- $51 = $buf_ptr;
- $arrayidx66 = ((($51)) + 16|0);
- $52 = HEAP32[$arrayidx66>>2]|0;
- $and67 = $52 & 65535;
- $53 = $interpol_ptr;
- $arrayidx68 = ((($53)) + 8|0);
- $54 = HEAP16[$arrayidx68>>1]|0;
- $conv69 = $54 << 16 >> 16;
- $mul70 = Math_imul($and67, $conv69)|0;
- $shr71 = $mul70 >> 16;
- $add72 = (($mul65) + ($shr71))|0;
- $add73 = (($46) + ($add72))|0;
- $res_Q6 = $add73;
- $55 = $res_Q6;
- $56 = $buf_ptr;
- $arrayidx74 = ((($56)) + 20|0);
- $57 = HEAP32[$arrayidx74>>2]|0;
- $shr75 = $57 >> 16;
- $58 = $interpol_ptr;
- $arrayidx76 = ((($58)) + 10|0);
- $59 = HEAP16[$arrayidx76>>1]|0;
- $conv77 = $59 << 16 >> 16;
- $mul78 = Math_imul($shr75, $conv77)|0;
- $60 = $buf_ptr;
- $arrayidx79 = ((($60)) + 20|0);
- $61 = HEAP32[$arrayidx79>>2]|0;
- $and80 = $61 & 65535;
- $62 = $interpol_ptr;
- $arrayidx81 = ((($62)) + 10|0);
- $63 = HEAP16[$arrayidx81>>1]|0;
- $conv82 = $63 << 16 >> 16;
- $mul83 = Math_imul($and80, $conv82)|0;
- $shr84 = $mul83 >> 16;
- $add85 = (($mul78) + ($shr84))|0;
- $add86 = (($55) + ($add85))|0;
- $res_Q6 = $add86;
- $64 = $res_Q6;
- $65 = $buf_ptr;
- $arrayidx87 = ((($65)) + 24|0);
- $66 = HEAP32[$arrayidx87>>2]|0;
- $shr88 = $66 >> 16;
- $67 = $interpol_ptr;
- $arrayidx89 = ((($67)) + 12|0);
- $68 = HEAP16[$arrayidx89>>1]|0;
- $conv90 = $68 << 16 >> 16;
- $mul91 = Math_imul($shr88, $conv90)|0;
- $69 = $buf_ptr;
- $arrayidx92 = ((($69)) + 24|0);
- $70 = HEAP32[$arrayidx92>>2]|0;
- $and93 = $70 & 65535;
- $71 = $interpol_ptr;
- $arrayidx94 = ((($71)) + 12|0);
- $72 = HEAP16[$arrayidx94>>1]|0;
- $conv95 = $72 << 16 >> 16;
- $mul96 = Math_imul($and93, $conv95)|0;
- $shr97 = $mul96 >> 16;
- $add98 = (($mul91) + ($shr97))|0;
- $add99 = (($64) + ($add98))|0;
- $res_Q6 = $add99;
- $73 = $res_Q6;
- $74 = $buf_ptr;
- $arrayidx100 = ((($74)) + 28|0);
- $75 = HEAP32[$arrayidx100>>2]|0;
- $shr101 = $75 >> 16;
- $76 = $interpol_ptr;
- $arrayidx102 = ((($76)) + 14|0);
- $77 = HEAP16[$arrayidx102>>1]|0;
- $conv103 = $77 << 16 >> 16;
- $mul104 = Math_imul($shr101, $conv103)|0;
- $78 = $buf_ptr;
- $arrayidx105 = ((($78)) + 28|0);
- $79 = HEAP32[$arrayidx105>>2]|0;
- $and106 = $79 & 65535;
- $80 = $interpol_ptr;
- $arrayidx107 = ((($80)) + 14|0);
- $81 = HEAP16[$arrayidx107>>1]|0;
- $conv108 = $81 << 16 >> 16;
- $mul109 = Math_imul($and106, $conv108)|0;
- $shr110 = $mul109 >> 16;
- $add111 = (($mul104) + ($shr110))|0;
- $add112 = (($73) + ($add111))|0;
- $res_Q6 = $add112;
- $82 = $res_Q6;
- $83 = $buf_ptr;
- $arrayidx113 = ((($83)) + 32|0);
- $84 = HEAP32[$arrayidx113>>2]|0;
- $shr114 = $84 >> 16;
- $85 = $interpol_ptr;
- $arrayidx115 = ((($85)) + 16|0);
- $86 = HEAP16[$arrayidx115>>1]|0;
- $conv116 = $86 << 16 >> 16;
- $mul117 = Math_imul($shr114, $conv116)|0;
- $87 = $buf_ptr;
- $arrayidx118 = ((($87)) + 32|0);
- $88 = HEAP32[$arrayidx118>>2]|0;
- $and119 = $88 & 65535;
- $89 = $interpol_ptr;
- $arrayidx120 = ((($89)) + 16|0);
- $90 = HEAP16[$arrayidx120>>1]|0;
- $conv121 = $90 << 16 >> 16;
- $mul122 = Math_imul($and119, $conv121)|0;
- $shr123 = $mul122 >> 16;
- $add124 = (($mul117) + ($shr123))|0;
- $add125 = (($82) + ($add124))|0;
- $res_Q6 = $add125;
- $91 = $FIR_Coefs$addr;
- $92 = $FIR_Fracs$addr;
- $sub = (($92) - 1)|0;
- $93 = $interpol_ind;
- $sub126 = (($sub) - ($93))|0;
- $mul127 = ($sub126*9)|0;
- $arrayidx128 = (($91) + ($mul127<<1)|0);
- $interpol_ptr = $arrayidx128;
- $94 = $res_Q6;
- $95 = $buf_ptr;
- $arrayidx129 = ((($95)) + 68|0);
- $96 = HEAP32[$arrayidx129>>2]|0;
- $shr130 = $96 >> 16;
- $97 = $interpol_ptr;
- $98 = HEAP16[$97>>1]|0;
- $conv132 = $98 << 16 >> 16;
- $mul133 = Math_imul($shr130, $conv132)|0;
- $99 = $buf_ptr;
- $arrayidx134 = ((($99)) + 68|0);
- $100 = HEAP32[$arrayidx134>>2]|0;
- $and135 = $100 & 65535;
- $101 = $interpol_ptr;
- $102 = HEAP16[$101>>1]|0;
- $conv137 = $102 << 16 >> 16;
- $mul138 = Math_imul($and135, $conv137)|0;
- $shr139 = $mul138 >> 16;
- $add140 = (($mul133) + ($shr139))|0;
- $add141 = (($94) + ($add140))|0;
- $res_Q6 = $add141;
- $103 = $res_Q6;
- $104 = $buf_ptr;
- $arrayidx142 = ((($104)) + 64|0);
- $105 = HEAP32[$arrayidx142>>2]|0;
- $shr143 = $105 >> 16;
- $106 = $interpol_ptr;
- $arrayidx144 = ((($106)) + 2|0);
- $107 = HEAP16[$arrayidx144>>1]|0;
- $conv145 = $107 << 16 >> 16;
- $mul146 = Math_imul($shr143, $conv145)|0;
- $108 = $buf_ptr;
- $arrayidx147 = ((($108)) + 64|0);
- $109 = HEAP32[$arrayidx147>>2]|0;
- $and148 = $109 & 65535;
- $110 = $interpol_ptr;
- $arrayidx149 = ((($110)) + 2|0);
- $111 = HEAP16[$arrayidx149>>1]|0;
- $conv150 = $111 << 16 >> 16;
- $mul151 = Math_imul($and148, $conv150)|0;
- $shr152 = $mul151 >> 16;
- $add153 = (($mul146) + ($shr152))|0;
- $add154 = (($103) + ($add153))|0;
- $res_Q6 = $add154;
- $112 = $res_Q6;
- $113 = $buf_ptr;
- $arrayidx155 = ((($113)) + 60|0);
- $114 = HEAP32[$arrayidx155>>2]|0;
- $shr156 = $114 >> 16;
- $115 = $interpol_ptr;
- $arrayidx157 = ((($115)) + 4|0);
- $116 = HEAP16[$arrayidx157>>1]|0;
- $conv158 = $116 << 16 >> 16;
- $mul159 = Math_imul($shr156, $conv158)|0;
- $117 = $buf_ptr;
- $arrayidx160 = ((($117)) + 60|0);
- $118 = HEAP32[$arrayidx160>>2]|0;
- $and161 = $118 & 65535;
- $119 = $interpol_ptr;
- $arrayidx162 = ((($119)) + 4|0);
- $120 = HEAP16[$arrayidx162>>1]|0;
- $conv163 = $120 << 16 >> 16;
- $mul164 = Math_imul($and161, $conv163)|0;
- $shr165 = $mul164 >> 16;
- $add166 = (($mul159) + ($shr165))|0;
- $add167 = (($112) + ($add166))|0;
- $res_Q6 = $add167;
- $121 = $res_Q6;
- $122 = $buf_ptr;
- $arrayidx168 = ((($122)) + 56|0);
- $123 = HEAP32[$arrayidx168>>2]|0;
- $shr169 = $123 >> 16;
- $124 = $interpol_ptr;
- $arrayidx170 = ((($124)) + 6|0);
- $125 = HEAP16[$arrayidx170>>1]|0;
- $conv171 = $125 << 16 >> 16;
- $mul172 = Math_imul($shr169, $conv171)|0;
- $126 = $buf_ptr;
- $arrayidx173 = ((($126)) + 56|0);
- $127 = HEAP32[$arrayidx173>>2]|0;
- $and174 = $127 & 65535;
- $128 = $interpol_ptr;
- $arrayidx175 = ((($128)) + 6|0);
- $129 = HEAP16[$arrayidx175>>1]|0;
- $conv176 = $129 << 16 >> 16;
- $mul177 = Math_imul($and174, $conv176)|0;
- $shr178 = $mul177 >> 16;
- $add179 = (($mul172) + ($shr178))|0;
- $add180 = (($121) + ($add179))|0;
- $res_Q6 = $add180;
- $130 = $res_Q6;
- $131 = $buf_ptr;
- $arrayidx181 = ((($131)) + 52|0);
- $132 = HEAP32[$arrayidx181>>2]|0;
- $shr182 = $132 >> 16;
- $133 = $interpol_ptr;
- $arrayidx183 = ((($133)) + 8|0);
- $134 = HEAP16[$arrayidx183>>1]|0;
- $conv184 = $134 << 16 >> 16;
- $mul185 = Math_imul($shr182, $conv184)|0;
- $135 = $buf_ptr;
- $arrayidx186 = ((($135)) + 52|0);
- $136 = HEAP32[$arrayidx186>>2]|0;
- $and187 = $136 & 65535;
- $137 = $interpol_ptr;
- $arrayidx188 = ((($137)) + 8|0);
- $138 = HEAP16[$arrayidx188>>1]|0;
- $conv189 = $138 << 16 >> 16;
- $mul190 = Math_imul($and187, $conv189)|0;
- $shr191 = $mul190 >> 16;
- $add192 = (($mul185) + ($shr191))|0;
- $add193 = (($130) + ($add192))|0;
- $res_Q6 = $add193;
- $139 = $res_Q6;
- $140 = $buf_ptr;
- $arrayidx194 = ((($140)) + 48|0);
- $141 = HEAP32[$arrayidx194>>2]|0;
- $shr195 = $141 >> 16;
- $142 = $interpol_ptr;
- $arrayidx196 = ((($142)) + 10|0);
- $143 = HEAP16[$arrayidx196>>1]|0;
- $conv197 = $143 << 16 >> 16;
- $mul198 = Math_imul($shr195, $conv197)|0;
- $144 = $buf_ptr;
- $arrayidx199 = ((($144)) + 48|0);
- $145 = HEAP32[$arrayidx199>>2]|0;
- $and200 = $145 & 65535;
- $146 = $interpol_ptr;
- $arrayidx201 = ((($146)) + 10|0);
- $147 = HEAP16[$arrayidx201>>1]|0;
- $conv202 = $147 << 16 >> 16;
- $mul203 = Math_imul($and200, $conv202)|0;
- $shr204 = $mul203 >> 16;
- $add205 = (($mul198) + ($shr204))|0;
- $add206 = (($139) + ($add205))|0;
- $res_Q6 = $add206;
- $148 = $res_Q6;
- $149 = $buf_ptr;
- $arrayidx207 = ((($149)) + 44|0);
- $150 = HEAP32[$arrayidx207>>2]|0;
- $shr208 = $150 >> 16;
- $151 = $interpol_ptr;
- $arrayidx209 = ((($151)) + 12|0);
- $152 = HEAP16[$arrayidx209>>1]|0;
- $conv210 = $152 << 16 >> 16;
- $mul211 = Math_imul($shr208, $conv210)|0;
- $153 = $buf_ptr;
- $arrayidx212 = ((($153)) + 44|0);
- $154 = HEAP32[$arrayidx212>>2]|0;
- $and213 = $154 & 65535;
- $155 = $interpol_ptr;
- $arrayidx214 = ((($155)) + 12|0);
- $156 = HEAP16[$arrayidx214>>1]|0;
- $conv215 = $156 << 16 >> 16;
- $mul216 = Math_imul($and213, $conv215)|0;
- $shr217 = $mul216 >> 16;
- $add218 = (($mul211) + ($shr217))|0;
- $add219 = (($148) + ($add218))|0;
- $res_Q6 = $add219;
- $157 = $res_Q6;
- $158 = $buf_ptr;
- $arrayidx220 = ((($158)) + 40|0);
- $159 = HEAP32[$arrayidx220>>2]|0;
- $shr221 = $159 >> 16;
- $160 = $interpol_ptr;
- $arrayidx222 = ((($160)) + 14|0);
- $161 = HEAP16[$arrayidx222>>1]|0;
- $conv223 = $161 << 16 >> 16;
- $mul224 = Math_imul($shr221, $conv223)|0;
- $162 = $buf_ptr;
- $arrayidx225 = ((($162)) + 40|0);
- $163 = HEAP32[$arrayidx225>>2]|0;
- $and226 = $163 & 65535;
- $164 = $interpol_ptr;
- $arrayidx227 = ((($164)) + 14|0);
- $165 = HEAP16[$arrayidx227>>1]|0;
- $conv228 = $165 << 16 >> 16;
- $mul229 = Math_imul($and226, $conv228)|0;
- $shr230 = $mul229 >> 16;
- $add231 = (($mul224) + ($shr230))|0;
- $add232 = (($157) + ($add231))|0;
- $res_Q6 = $add232;
- $166 = $res_Q6;
- $167 = $buf_ptr;
- $arrayidx233 = ((($167)) + 36|0);
- $168 = HEAP32[$arrayidx233>>2]|0;
- $shr234 = $168 >> 16;
- $169 = $interpol_ptr;
- $arrayidx235 = ((($169)) + 16|0);
- $170 = HEAP16[$arrayidx235>>1]|0;
- $conv236 = $170 << 16 >> 16;
- $mul237 = Math_imul($shr234, $conv236)|0;
- $171 = $buf_ptr;
- $arrayidx238 = ((($171)) + 36|0);
- $172 = HEAP32[$arrayidx238>>2]|0;
- $and239 = $172 & 65535;
- $173 = $interpol_ptr;
- $arrayidx240 = ((($173)) + 16|0);
- $174 = HEAP16[$arrayidx240>>1]|0;
- $conv241 = $174 << 16 >> 16;
- $mul242 = Math_imul($and239, $conv241)|0;
- $shr243 = $mul242 >> 16;
- $add244 = (($mul237) + ($shr243))|0;
- $add245 = (($166) + ($add244))|0;
- $res_Q6 = $add245;
- $175 = $res_Q6;
- $shr246 = $175 >> 5;
- $add247 = (($shr246) + 1)|0;
- $shr248 = $add247 >> 1;
- $cmp249 = ($shr248|0)>(32767);
- if ($cmp249) {
- $cond262 = 32767;
- } else {
- $176 = $res_Q6;
- $shr251 = $176 >> 5;
- $add252 = (($shr251) + 1)|0;
- $shr253 = $add252 >> 1;
- $cmp254 = ($shr253|0)<(-32768);
- if ($cmp254) {
- $cond262 = -32768;
- } else {
- $177 = $res_Q6;
- $shr258 = $177 >> 5;
- $add259 = (($shr258) + 1)|0;
- $shr260 = $add259 >> 1;
- $cond262 = $shr260;
- }
- }
- $conv263 = $cond262&65535;
- $178 = $out$addr;
- $incdec$ptr = ((($178)) + 2|0);
- $out$addr = $incdec$ptr;
- HEAP16[$178>>1] = $conv263;
- $179 = $index_increment_Q16$addr;
- $180 = $index_Q16;
- $add264 = (($180) + ($179))|0;
- $index_Q16 = $add264;
- }
- $589 = $out$addr;
- STACKTOP = sp;return ($589|0);
- break;
- }
- case 24: {
- $index_Q16 = 0;
- while(1) {
- $181 = $index_Q16;
- $182 = $max_index_Q16$addr;
- $cmp267 = ($181|0)<($182|0);
- if (!($cmp267)) {
- break;
- }
- $183 = $buf$addr;
- $184 = $index_Q16;
- $shr270 = $184 >> 16;
- $add$ptr271 = (($183) + ($shr270<<2)|0);
- $buf_ptr = $add$ptr271;
- $185 = $buf_ptr;
- $186 = HEAP32[$185>>2]|0;
- $187 = $buf_ptr;
- $arrayidx273 = ((($187)) + 92|0);
- $188 = HEAP32[$arrayidx273>>2]|0;
- $add274 = (($186) + ($188))|0;
- $shr275 = $add274 >> 16;
- $189 = $FIR_Coefs$addr;
- $190 = HEAP16[$189>>1]|0;
- $conv277 = $190 << 16 >> 16;
- $mul278 = Math_imul($shr275, $conv277)|0;
- $191 = $buf_ptr;
- $192 = HEAP32[$191>>2]|0;
- $193 = $buf_ptr;
- $arrayidx280 = ((($193)) + 92|0);
- $194 = HEAP32[$arrayidx280>>2]|0;
- $add281 = (($192) + ($194))|0;
- $and282 = $add281 & 65535;
- $195 = $FIR_Coefs$addr;
- $196 = HEAP16[$195>>1]|0;
- $conv284 = $196 << 16 >> 16;
- $mul285 = Math_imul($and282, $conv284)|0;
- $shr286 = $mul285 >> 16;
- $add287 = (($mul278) + ($shr286))|0;
- $res_Q6 = $add287;
- $197 = $res_Q6;
- $198 = $buf_ptr;
- $arrayidx288 = ((($198)) + 4|0);
- $199 = HEAP32[$arrayidx288>>2]|0;
- $200 = $buf_ptr;
- $arrayidx289 = ((($200)) + 88|0);
- $201 = HEAP32[$arrayidx289>>2]|0;
- $add290 = (($199) + ($201))|0;
- $shr291 = $add290 >> 16;
- $202 = $FIR_Coefs$addr;
- $arrayidx292 = ((($202)) + 2|0);
- $203 = HEAP16[$arrayidx292>>1]|0;
- $conv293 = $203 << 16 >> 16;
- $mul294 = Math_imul($shr291, $conv293)|0;
- $204 = $buf_ptr;
- $arrayidx295 = ((($204)) + 4|0);
- $205 = HEAP32[$arrayidx295>>2]|0;
- $206 = $buf_ptr;
- $arrayidx296 = ((($206)) + 88|0);
- $207 = HEAP32[$arrayidx296>>2]|0;
- $add297 = (($205) + ($207))|0;
- $and298 = $add297 & 65535;
- $208 = $FIR_Coefs$addr;
- $arrayidx299 = ((($208)) + 2|0);
- $209 = HEAP16[$arrayidx299>>1]|0;
- $conv300 = $209 << 16 >> 16;
- $mul301 = Math_imul($and298, $conv300)|0;
- $shr302 = $mul301 >> 16;
- $add303 = (($mul294) + ($shr302))|0;
- $add304 = (($197) + ($add303))|0;
- $res_Q6 = $add304;
- $210 = $res_Q6;
- $211 = $buf_ptr;
- $arrayidx305 = ((($211)) + 8|0);
- $212 = HEAP32[$arrayidx305>>2]|0;
- $213 = $buf_ptr;
- $arrayidx306 = ((($213)) + 84|0);
- $214 = HEAP32[$arrayidx306>>2]|0;
- $add307 = (($212) + ($214))|0;
- $shr308 = $add307 >> 16;
- $215 = $FIR_Coefs$addr;
- $arrayidx309 = ((($215)) + 4|0);
- $216 = HEAP16[$arrayidx309>>1]|0;
- $conv310 = $216 << 16 >> 16;
- $mul311 = Math_imul($shr308, $conv310)|0;
- $217 = $buf_ptr;
- $arrayidx312 = ((($217)) + 8|0);
- $218 = HEAP32[$arrayidx312>>2]|0;
- $219 = $buf_ptr;
- $arrayidx313 = ((($219)) + 84|0);
- $220 = HEAP32[$arrayidx313>>2]|0;
- $add314 = (($218) + ($220))|0;
- $and315 = $add314 & 65535;
- $221 = $FIR_Coefs$addr;
- $arrayidx316 = ((($221)) + 4|0);
- $222 = HEAP16[$arrayidx316>>1]|0;
- $conv317 = $222 << 16 >> 16;
- $mul318 = Math_imul($and315, $conv317)|0;
- $shr319 = $mul318 >> 16;
- $add320 = (($mul311) + ($shr319))|0;
- $add321 = (($210) + ($add320))|0;
- $res_Q6 = $add321;
- $223 = $res_Q6;
- $224 = $buf_ptr;
- $arrayidx322 = ((($224)) + 12|0);
- $225 = HEAP32[$arrayidx322>>2]|0;
- $226 = $buf_ptr;
- $arrayidx323 = ((($226)) + 80|0);
- $227 = HEAP32[$arrayidx323>>2]|0;
- $add324 = (($225) + ($227))|0;
- $shr325 = $add324 >> 16;
- $228 = $FIR_Coefs$addr;
- $arrayidx326 = ((($228)) + 6|0);
- $229 = HEAP16[$arrayidx326>>1]|0;
- $conv327 = $229 << 16 >> 16;
- $mul328 = Math_imul($shr325, $conv327)|0;
- $230 = $buf_ptr;
- $arrayidx329 = ((($230)) + 12|0);
- $231 = HEAP32[$arrayidx329>>2]|0;
- $232 = $buf_ptr;
- $arrayidx330 = ((($232)) + 80|0);
- $233 = HEAP32[$arrayidx330>>2]|0;
- $add331 = (($231) + ($233))|0;
- $and332 = $add331 & 65535;
- $234 = $FIR_Coefs$addr;
- $arrayidx333 = ((($234)) + 6|0);
- $235 = HEAP16[$arrayidx333>>1]|0;
- $conv334 = $235 << 16 >> 16;
- $mul335 = Math_imul($and332, $conv334)|0;
- $shr336 = $mul335 >> 16;
- $add337 = (($mul328) + ($shr336))|0;
- $add338 = (($223) + ($add337))|0;
- $res_Q6 = $add338;
- $236 = $res_Q6;
- $237 = $buf_ptr;
- $arrayidx339 = ((($237)) + 16|0);
- $238 = HEAP32[$arrayidx339>>2]|0;
- $239 = $buf_ptr;
- $arrayidx340 = ((($239)) + 76|0);
- $240 = HEAP32[$arrayidx340>>2]|0;
- $add341 = (($238) + ($240))|0;
- $shr342 = $add341 >> 16;
- $241 = $FIR_Coefs$addr;
- $arrayidx343 = ((($241)) + 8|0);
- $242 = HEAP16[$arrayidx343>>1]|0;
- $conv344 = $242 << 16 >> 16;
- $mul345 = Math_imul($shr342, $conv344)|0;
- $243 = $buf_ptr;
- $arrayidx346 = ((($243)) + 16|0);
- $244 = HEAP32[$arrayidx346>>2]|0;
- $245 = $buf_ptr;
- $arrayidx347 = ((($245)) + 76|0);
- $246 = HEAP32[$arrayidx347>>2]|0;
- $add348 = (($244) + ($246))|0;
- $and349 = $add348 & 65535;
- $247 = $FIR_Coefs$addr;
- $arrayidx350 = ((($247)) + 8|0);
- $248 = HEAP16[$arrayidx350>>1]|0;
- $conv351 = $248 << 16 >> 16;
- $mul352 = Math_imul($and349, $conv351)|0;
- $shr353 = $mul352 >> 16;
- $add354 = (($mul345) + ($shr353))|0;
- $add355 = (($236) + ($add354))|0;
- $res_Q6 = $add355;
- $249 = $res_Q6;
- $250 = $buf_ptr;
- $arrayidx356 = ((($250)) + 20|0);
- $251 = HEAP32[$arrayidx356>>2]|0;
- $252 = $buf_ptr;
- $arrayidx357 = ((($252)) + 72|0);
- $253 = HEAP32[$arrayidx357>>2]|0;
- $add358 = (($251) + ($253))|0;
- $shr359 = $add358 >> 16;
- $254 = $FIR_Coefs$addr;
- $arrayidx360 = ((($254)) + 10|0);
- $255 = HEAP16[$arrayidx360>>1]|0;
- $conv361 = $255 << 16 >> 16;
- $mul362 = Math_imul($shr359, $conv361)|0;
- $256 = $buf_ptr;
- $arrayidx363 = ((($256)) + 20|0);
- $257 = HEAP32[$arrayidx363>>2]|0;
- $258 = $buf_ptr;
- $arrayidx364 = ((($258)) + 72|0);
- $259 = HEAP32[$arrayidx364>>2]|0;
- $add365 = (($257) + ($259))|0;
- $and366 = $add365 & 65535;
- $260 = $FIR_Coefs$addr;
- $arrayidx367 = ((($260)) + 10|0);
- $261 = HEAP16[$arrayidx367>>1]|0;
- $conv368 = $261 << 16 >> 16;
- $mul369 = Math_imul($and366, $conv368)|0;
- $shr370 = $mul369 >> 16;
- $add371 = (($mul362) + ($shr370))|0;
- $add372 = (($249) + ($add371))|0;
- $res_Q6 = $add372;
- $262 = $res_Q6;
- $263 = $buf_ptr;
- $arrayidx373 = ((($263)) + 24|0);
- $264 = HEAP32[$arrayidx373>>2]|0;
- $265 = $buf_ptr;
- $arrayidx374 = ((($265)) + 68|0);
- $266 = HEAP32[$arrayidx374>>2]|0;
- $add375 = (($264) + ($266))|0;
- $shr376 = $add375 >> 16;
- $267 = $FIR_Coefs$addr;
- $arrayidx377 = ((($267)) + 12|0);
- $268 = HEAP16[$arrayidx377>>1]|0;
- $conv378 = $268 << 16 >> 16;
- $mul379 = Math_imul($shr376, $conv378)|0;
- $269 = $buf_ptr;
- $arrayidx380 = ((($269)) + 24|0);
- $270 = HEAP32[$arrayidx380>>2]|0;
- $271 = $buf_ptr;
- $arrayidx381 = ((($271)) + 68|0);
- $272 = HEAP32[$arrayidx381>>2]|0;
- $add382 = (($270) + ($272))|0;
- $and383 = $add382 & 65535;
- $273 = $FIR_Coefs$addr;
- $arrayidx384 = ((($273)) + 12|0);
- $274 = HEAP16[$arrayidx384>>1]|0;
- $conv385 = $274 << 16 >> 16;
- $mul386 = Math_imul($and383, $conv385)|0;
- $shr387 = $mul386 >> 16;
- $add388 = (($mul379) + ($shr387))|0;
- $add389 = (($262) + ($add388))|0;
- $res_Q6 = $add389;
- $275 = $res_Q6;
- $276 = $buf_ptr;
- $arrayidx390 = ((($276)) + 28|0);
- $277 = HEAP32[$arrayidx390>>2]|0;
- $278 = $buf_ptr;
- $arrayidx391 = ((($278)) + 64|0);
- $279 = HEAP32[$arrayidx391>>2]|0;
- $add392 = (($277) + ($279))|0;
- $shr393 = $add392 >> 16;
- $280 = $FIR_Coefs$addr;
- $arrayidx394 = ((($280)) + 14|0);
- $281 = HEAP16[$arrayidx394>>1]|0;
- $conv395 = $281 << 16 >> 16;
- $mul396 = Math_imul($shr393, $conv395)|0;
- $282 = $buf_ptr;
- $arrayidx397 = ((($282)) + 28|0);
- $283 = HEAP32[$arrayidx397>>2]|0;
- $284 = $buf_ptr;
- $arrayidx398 = ((($284)) + 64|0);
- $285 = HEAP32[$arrayidx398>>2]|0;
- $add399 = (($283) + ($285))|0;
- $and400 = $add399 & 65535;
- $286 = $FIR_Coefs$addr;
- $arrayidx401 = ((($286)) + 14|0);
- $287 = HEAP16[$arrayidx401>>1]|0;
- $conv402 = $287 << 16 >> 16;
- $mul403 = Math_imul($and400, $conv402)|0;
- $shr404 = $mul403 >> 16;
- $add405 = (($mul396) + ($shr404))|0;
- $add406 = (($275) + ($add405))|0;
- $res_Q6 = $add406;
- $288 = $res_Q6;
- $289 = $buf_ptr;
- $arrayidx407 = ((($289)) + 32|0);
- $290 = HEAP32[$arrayidx407>>2]|0;
- $291 = $buf_ptr;
- $arrayidx408 = ((($291)) + 60|0);
- $292 = HEAP32[$arrayidx408>>2]|0;
- $add409 = (($290) + ($292))|0;
- $shr410 = $add409 >> 16;
- $293 = $FIR_Coefs$addr;
- $arrayidx411 = ((($293)) + 16|0);
- $294 = HEAP16[$arrayidx411>>1]|0;
- $conv412 = $294 << 16 >> 16;
- $mul413 = Math_imul($shr410, $conv412)|0;
- $295 = $buf_ptr;
- $arrayidx414 = ((($295)) + 32|0);
- $296 = HEAP32[$arrayidx414>>2]|0;
- $297 = $buf_ptr;
- $arrayidx415 = ((($297)) + 60|0);
- $298 = HEAP32[$arrayidx415>>2]|0;
- $add416 = (($296) + ($298))|0;
- $and417 = $add416 & 65535;
- $299 = $FIR_Coefs$addr;
- $arrayidx418 = ((($299)) + 16|0);
- $300 = HEAP16[$arrayidx418>>1]|0;
- $conv419 = $300 << 16 >> 16;
- $mul420 = Math_imul($and417, $conv419)|0;
- $shr421 = $mul420 >> 16;
- $add422 = (($mul413) + ($shr421))|0;
- $add423 = (($288) + ($add422))|0;
- $res_Q6 = $add423;
- $301 = $res_Q6;
- $302 = $buf_ptr;
- $arrayidx424 = ((($302)) + 36|0);
- $303 = HEAP32[$arrayidx424>>2]|0;
- $304 = $buf_ptr;
- $arrayidx425 = ((($304)) + 56|0);
- $305 = HEAP32[$arrayidx425>>2]|0;
- $add426 = (($303) + ($305))|0;
- $shr427 = $add426 >> 16;
- $306 = $FIR_Coefs$addr;
- $arrayidx428 = ((($306)) + 18|0);
- $307 = HEAP16[$arrayidx428>>1]|0;
- $conv429 = $307 << 16 >> 16;
- $mul430 = Math_imul($shr427, $conv429)|0;
- $308 = $buf_ptr;
- $arrayidx431 = ((($308)) + 36|0);
- $309 = HEAP32[$arrayidx431>>2]|0;
- $310 = $buf_ptr;
- $arrayidx432 = ((($310)) + 56|0);
- $311 = HEAP32[$arrayidx432>>2]|0;
- $add433 = (($309) + ($311))|0;
- $and434 = $add433 & 65535;
- $312 = $FIR_Coefs$addr;
- $arrayidx435 = ((($312)) + 18|0);
- $313 = HEAP16[$arrayidx435>>1]|0;
- $conv436 = $313 << 16 >> 16;
- $mul437 = Math_imul($and434, $conv436)|0;
- $shr438 = $mul437 >> 16;
- $add439 = (($mul430) + ($shr438))|0;
- $add440 = (($301) + ($add439))|0;
- $res_Q6 = $add440;
- $314 = $res_Q6;
- $315 = $buf_ptr;
- $arrayidx441 = ((($315)) + 40|0);
- $316 = HEAP32[$arrayidx441>>2]|0;
- $317 = $buf_ptr;
- $arrayidx442 = ((($317)) + 52|0);
- $318 = HEAP32[$arrayidx442>>2]|0;
- $add443 = (($316) + ($318))|0;
- $shr444 = $add443 >> 16;
- $319 = $FIR_Coefs$addr;
- $arrayidx445 = ((($319)) + 20|0);
- $320 = HEAP16[$arrayidx445>>1]|0;
- $conv446 = $320 << 16 >> 16;
- $mul447 = Math_imul($shr444, $conv446)|0;
- $321 = $buf_ptr;
- $arrayidx448 = ((($321)) + 40|0);
- $322 = HEAP32[$arrayidx448>>2]|0;
- $323 = $buf_ptr;
- $arrayidx449 = ((($323)) + 52|0);
- $324 = HEAP32[$arrayidx449>>2]|0;
- $add450 = (($322) + ($324))|0;
- $and451 = $add450 & 65535;
- $325 = $FIR_Coefs$addr;
- $arrayidx452 = ((($325)) + 20|0);
- $326 = HEAP16[$arrayidx452>>1]|0;
- $conv453 = $326 << 16 >> 16;
- $mul454 = Math_imul($and451, $conv453)|0;
- $shr455 = $mul454 >> 16;
- $add456 = (($mul447) + ($shr455))|0;
- $add457 = (($314) + ($add456))|0;
- $res_Q6 = $add457;
- $327 = $res_Q6;
- $328 = $buf_ptr;
- $arrayidx458 = ((($328)) + 44|0);
- $329 = HEAP32[$arrayidx458>>2]|0;
- $330 = $buf_ptr;
- $arrayidx459 = ((($330)) + 48|0);
- $331 = HEAP32[$arrayidx459>>2]|0;
- $add460 = (($329) + ($331))|0;
- $shr461 = $add460 >> 16;
- $332 = $FIR_Coefs$addr;
- $arrayidx462 = ((($332)) + 22|0);
- $333 = HEAP16[$arrayidx462>>1]|0;
- $conv463 = $333 << 16 >> 16;
- $mul464 = Math_imul($shr461, $conv463)|0;
- $334 = $buf_ptr;
- $arrayidx465 = ((($334)) + 44|0);
- $335 = HEAP32[$arrayidx465>>2]|0;
- $336 = $buf_ptr;
- $arrayidx466 = ((($336)) + 48|0);
- $337 = HEAP32[$arrayidx466>>2]|0;
- $add467 = (($335) + ($337))|0;
- $and468 = $add467 & 65535;
- $338 = $FIR_Coefs$addr;
- $arrayidx469 = ((($338)) + 22|0);
- $339 = HEAP16[$arrayidx469>>1]|0;
- $conv470 = $339 << 16 >> 16;
- $mul471 = Math_imul($and468, $conv470)|0;
- $shr472 = $mul471 >> 16;
- $add473 = (($mul464) + ($shr472))|0;
- $add474 = (($327) + ($add473))|0;
- $res_Q6 = $add474;
- $340 = $res_Q6;
- $shr475 = $340 >> 5;
- $add476 = (($shr475) + 1)|0;
- $shr477 = $add476 >> 1;
- $cmp478 = ($shr477|0)>(32767);
- if ($cmp478) {
- $cond495 = 32767;
- } else {
- $341 = $res_Q6;
- $shr482 = $341 >> 5;
- $add483 = (($shr482) + 1)|0;
- $shr484 = $add483 >> 1;
- $cmp485 = ($shr484|0)<(-32768);
- if ($cmp485) {
- $cond495 = -32768;
- } else {
- $342 = $res_Q6;
- $shr489 = $342 >> 5;
- $add490 = (($shr489) + 1)|0;
- $shr491 = $add490 >> 1;
- $cond495 = $shr491;
- }
- }
- $conv496 = $cond495&65535;
- $343 = $out$addr;
- $incdec$ptr497 = ((($343)) + 2|0);
- $out$addr = $incdec$ptr497;
- HEAP16[$343>>1] = $conv496;
- $344 = $index_increment_Q16$addr;
- $345 = $index_Q16;
- $add499 = (($345) + ($344))|0;
- $index_Q16 = $add499;
- }
- $589 = $out$addr;
- STACKTOP = sp;return ($589|0);
- break;
- }
- case 36: {
- $index_Q16 = 0;
- while(1) {
- $346 = $index_Q16;
- $347 = $max_index_Q16$addr;
- $cmp503 = ($346|0)<($347|0);
- if (!($cmp503)) {
- break;
- }
- $348 = $buf$addr;
- $349 = $index_Q16;
- $shr506 = $349 >> 16;
- $add$ptr507 = (($348) + ($shr506<<2)|0);
- $buf_ptr = $add$ptr507;
- $350 = $buf_ptr;
- $351 = HEAP32[$350>>2]|0;
- $352 = $buf_ptr;
- $arrayidx509 = ((($352)) + 140|0);
- $353 = HEAP32[$arrayidx509>>2]|0;
- $add510 = (($351) + ($353))|0;
- $shr511 = $add510 >> 16;
- $354 = $FIR_Coefs$addr;
- $355 = HEAP16[$354>>1]|0;
- $conv513 = $355 << 16 >> 16;
- $mul514 = Math_imul($shr511, $conv513)|0;
- $356 = $buf_ptr;
- $357 = HEAP32[$356>>2]|0;
- $358 = $buf_ptr;
- $arrayidx516 = ((($358)) + 140|0);
- $359 = HEAP32[$arrayidx516>>2]|0;
- $add517 = (($357) + ($359))|0;
- $and518 = $add517 & 65535;
- $360 = $FIR_Coefs$addr;
- $361 = HEAP16[$360>>1]|0;
- $conv520 = $361 << 16 >> 16;
- $mul521 = Math_imul($and518, $conv520)|0;
- $shr522 = $mul521 >> 16;
- $add523 = (($mul514) + ($shr522))|0;
- $res_Q6 = $add523;
- $362 = $res_Q6;
- $363 = $buf_ptr;
- $arrayidx524 = ((($363)) + 4|0);
- $364 = HEAP32[$arrayidx524>>2]|0;
- $365 = $buf_ptr;
- $arrayidx525 = ((($365)) + 136|0);
- $366 = HEAP32[$arrayidx525>>2]|0;
- $add526 = (($364) + ($366))|0;
- $shr527 = $add526 >> 16;
- $367 = $FIR_Coefs$addr;
- $arrayidx528 = ((($367)) + 2|0);
- $368 = HEAP16[$arrayidx528>>1]|0;
- $conv529 = $368 << 16 >> 16;
- $mul530 = Math_imul($shr527, $conv529)|0;
- $369 = $buf_ptr;
- $arrayidx531 = ((($369)) + 4|0);
- $370 = HEAP32[$arrayidx531>>2]|0;
- $371 = $buf_ptr;
- $arrayidx532 = ((($371)) + 136|0);
- $372 = HEAP32[$arrayidx532>>2]|0;
- $add533 = (($370) + ($372))|0;
- $and534 = $add533 & 65535;
- $373 = $FIR_Coefs$addr;
- $arrayidx535 = ((($373)) + 2|0);
- $374 = HEAP16[$arrayidx535>>1]|0;
- $conv536 = $374 << 16 >> 16;
- $mul537 = Math_imul($and534, $conv536)|0;
- $shr538 = $mul537 >> 16;
- $add539 = (($mul530) + ($shr538))|0;
- $add540 = (($362) + ($add539))|0;
- $res_Q6 = $add540;
- $375 = $res_Q6;
- $376 = $buf_ptr;
- $arrayidx541 = ((($376)) + 8|0);
- $377 = HEAP32[$arrayidx541>>2]|0;
- $378 = $buf_ptr;
- $arrayidx542 = ((($378)) + 132|0);
- $379 = HEAP32[$arrayidx542>>2]|0;
- $add543 = (($377) + ($379))|0;
- $shr544 = $add543 >> 16;
- $380 = $FIR_Coefs$addr;
- $arrayidx545 = ((($380)) + 4|0);
- $381 = HEAP16[$arrayidx545>>1]|0;
- $conv546 = $381 << 16 >> 16;
- $mul547 = Math_imul($shr544, $conv546)|0;
- $382 = $buf_ptr;
- $arrayidx548 = ((($382)) + 8|0);
- $383 = HEAP32[$arrayidx548>>2]|0;
- $384 = $buf_ptr;
- $arrayidx549 = ((($384)) + 132|0);
- $385 = HEAP32[$arrayidx549>>2]|0;
- $add550 = (($383) + ($385))|0;
- $and551 = $add550 & 65535;
- $386 = $FIR_Coefs$addr;
- $arrayidx552 = ((($386)) + 4|0);
- $387 = HEAP16[$arrayidx552>>1]|0;
- $conv553 = $387 << 16 >> 16;
- $mul554 = Math_imul($and551, $conv553)|0;
- $shr555 = $mul554 >> 16;
- $add556 = (($mul547) + ($shr555))|0;
- $add557 = (($375) + ($add556))|0;
- $res_Q6 = $add557;
- $388 = $res_Q6;
- $389 = $buf_ptr;
- $arrayidx558 = ((($389)) + 12|0);
- $390 = HEAP32[$arrayidx558>>2]|0;
- $391 = $buf_ptr;
- $arrayidx559 = ((($391)) + 128|0);
- $392 = HEAP32[$arrayidx559>>2]|0;
- $add560 = (($390) + ($392))|0;
- $shr561 = $add560 >> 16;
- $393 = $FIR_Coefs$addr;
- $arrayidx562 = ((($393)) + 6|0);
- $394 = HEAP16[$arrayidx562>>1]|0;
- $conv563 = $394 << 16 >> 16;
- $mul564 = Math_imul($shr561, $conv563)|0;
- $395 = $buf_ptr;
- $arrayidx565 = ((($395)) + 12|0);
- $396 = HEAP32[$arrayidx565>>2]|0;
- $397 = $buf_ptr;
- $arrayidx566 = ((($397)) + 128|0);
- $398 = HEAP32[$arrayidx566>>2]|0;
- $add567 = (($396) + ($398))|0;
- $and568 = $add567 & 65535;
- $399 = $FIR_Coefs$addr;
- $arrayidx569 = ((($399)) + 6|0);
- $400 = HEAP16[$arrayidx569>>1]|0;
- $conv570 = $400 << 16 >> 16;
- $mul571 = Math_imul($and568, $conv570)|0;
- $shr572 = $mul571 >> 16;
- $add573 = (($mul564) + ($shr572))|0;
- $add574 = (($388) + ($add573))|0;
- $res_Q6 = $add574;
- $401 = $res_Q6;
- $402 = $buf_ptr;
- $arrayidx575 = ((($402)) + 16|0);
- $403 = HEAP32[$arrayidx575>>2]|0;
- $404 = $buf_ptr;
- $arrayidx576 = ((($404)) + 124|0);
- $405 = HEAP32[$arrayidx576>>2]|0;
- $add577 = (($403) + ($405))|0;
- $shr578 = $add577 >> 16;
- $406 = $FIR_Coefs$addr;
- $arrayidx579 = ((($406)) + 8|0);
- $407 = HEAP16[$arrayidx579>>1]|0;
- $conv580 = $407 << 16 >> 16;
- $mul581 = Math_imul($shr578, $conv580)|0;
- $408 = $buf_ptr;
- $arrayidx582 = ((($408)) + 16|0);
- $409 = HEAP32[$arrayidx582>>2]|0;
- $410 = $buf_ptr;
- $arrayidx583 = ((($410)) + 124|0);
- $411 = HEAP32[$arrayidx583>>2]|0;
- $add584 = (($409) + ($411))|0;
- $and585 = $add584 & 65535;
- $412 = $FIR_Coefs$addr;
- $arrayidx586 = ((($412)) + 8|0);
- $413 = HEAP16[$arrayidx586>>1]|0;
- $conv587 = $413 << 16 >> 16;
- $mul588 = Math_imul($and585, $conv587)|0;
- $shr589 = $mul588 >> 16;
- $add590 = (($mul581) + ($shr589))|0;
- $add591 = (($401) + ($add590))|0;
- $res_Q6 = $add591;
- $414 = $res_Q6;
- $415 = $buf_ptr;
- $arrayidx592 = ((($415)) + 20|0);
- $416 = HEAP32[$arrayidx592>>2]|0;
- $417 = $buf_ptr;
- $arrayidx593 = ((($417)) + 120|0);
- $418 = HEAP32[$arrayidx593>>2]|0;
- $add594 = (($416) + ($418))|0;
- $shr595 = $add594 >> 16;
- $419 = $FIR_Coefs$addr;
- $arrayidx596 = ((($419)) + 10|0);
- $420 = HEAP16[$arrayidx596>>1]|0;
- $conv597 = $420 << 16 >> 16;
- $mul598 = Math_imul($shr595, $conv597)|0;
- $421 = $buf_ptr;
- $arrayidx599 = ((($421)) + 20|0);
- $422 = HEAP32[$arrayidx599>>2]|0;
- $423 = $buf_ptr;
- $arrayidx600 = ((($423)) + 120|0);
- $424 = HEAP32[$arrayidx600>>2]|0;
- $add601 = (($422) + ($424))|0;
- $and602 = $add601 & 65535;
- $425 = $FIR_Coefs$addr;
- $arrayidx603 = ((($425)) + 10|0);
- $426 = HEAP16[$arrayidx603>>1]|0;
- $conv604 = $426 << 16 >> 16;
- $mul605 = Math_imul($and602, $conv604)|0;
- $shr606 = $mul605 >> 16;
- $add607 = (($mul598) + ($shr606))|0;
- $add608 = (($414) + ($add607))|0;
- $res_Q6 = $add608;
- $427 = $res_Q6;
- $428 = $buf_ptr;
- $arrayidx609 = ((($428)) + 24|0);
- $429 = HEAP32[$arrayidx609>>2]|0;
- $430 = $buf_ptr;
- $arrayidx610 = ((($430)) + 116|0);
- $431 = HEAP32[$arrayidx610>>2]|0;
- $add611 = (($429) + ($431))|0;
- $shr612 = $add611 >> 16;
- $432 = $FIR_Coefs$addr;
- $arrayidx613 = ((($432)) + 12|0);
- $433 = HEAP16[$arrayidx613>>1]|0;
- $conv614 = $433 << 16 >> 16;
- $mul615 = Math_imul($shr612, $conv614)|0;
- $434 = $buf_ptr;
- $arrayidx616 = ((($434)) + 24|0);
- $435 = HEAP32[$arrayidx616>>2]|0;
- $436 = $buf_ptr;
- $arrayidx617 = ((($436)) + 116|0);
- $437 = HEAP32[$arrayidx617>>2]|0;
- $add618 = (($435) + ($437))|0;
- $and619 = $add618 & 65535;
- $438 = $FIR_Coefs$addr;
- $arrayidx620 = ((($438)) + 12|0);
- $439 = HEAP16[$arrayidx620>>1]|0;
- $conv621 = $439 << 16 >> 16;
- $mul622 = Math_imul($and619, $conv621)|0;
- $shr623 = $mul622 >> 16;
- $add624 = (($mul615) + ($shr623))|0;
- $add625 = (($427) + ($add624))|0;
- $res_Q6 = $add625;
- $440 = $res_Q6;
- $441 = $buf_ptr;
- $arrayidx626 = ((($441)) + 28|0);
- $442 = HEAP32[$arrayidx626>>2]|0;
- $443 = $buf_ptr;
- $arrayidx627 = ((($443)) + 112|0);
- $444 = HEAP32[$arrayidx627>>2]|0;
- $add628 = (($442) + ($444))|0;
- $shr629 = $add628 >> 16;
- $445 = $FIR_Coefs$addr;
- $arrayidx630 = ((($445)) + 14|0);
- $446 = HEAP16[$arrayidx630>>1]|0;
- $conv631 = $446 << 16 >> 16;
- $mul632 = Math_imul($shr629, $conv631)|0;
- $447 = $buf_ptr;
- $arrayidx633 = ((($447)) + 28|0);
- $448 = HEAP32[$arrayidx633>>2]|0;
- $449 = $buf_ptr;
- $arrayidx634 = ((($449)) + 112|0);
- $450 = HEAP32[$arrayidx634>>2]|0;
- $add635 = (($448) + ($450))|0;
- $and636 = $add635 & 65535;
- $451 = $FIR_Coefs$addr;
- $arrayidx637 = ((($451)) + 14|0);
- $452 = HEAP16[$arrayidx637>>1]|0;
- $conv638 = $452 << 16 >> 16;
- $mul639 = Math_imul($and636, $conv638)|0;
- $shr640 = $mul639 >> 16;
- $add641 = (($mul632) + ($shr640))|0;
- $add642 = (($440) + ($add641))|0;
- $res_Q6 = $add642;
- $453 = $res_Q6;
- $454 = $buf_ptr;
- $arrayidx643 = ((($454)) + 32|0);
- $455 = HEAP32[$arrayidx643>>2]|0;
- $456 = $buf_ptr;
- $arrayidx644 = ((($456)) + 108|0);
- $457 = HEAP32[$arrayidx644>>2]|0;
- $add645 = (($455) + ($457))|0;
- $shr646 = $add645 >> 16;
- $458 = $FIR_Coefs$addr;
- $arrayidx647 = ((($458)) + 16|0);
- $459 = HEAP16[$arrayidx647>>1]|0;
- $conv648 = $459 << 16 >> 16;
- $mul649 = Math_imul($shr646, $conv648)|0;
- $460 = $buf_ptr;
- $arrayidx650 = ((($460)) + 32|0);
- $461 = HEAP32[$arrayidx650>>2]|0;
- $462 = $buf_ptr;
- $arrayidx651 = ((($462)) + 108|0);
- $463 = HEAP32[$arrayidx651>>2]|0;
- $add652 = (($461) + ($463))|0;
- $and653 = $add652 & 65535;
- $464 = $FIR_Coefs$addr;
- $arrayidx654 = ((($464)) + 16|0);
- $465 = HEAP16[$arrayidx654>>1]|0;
- $conv655 = $465 << 16 >> 16;
- $mul656 = Math_imul($and653, $conv655)|0;
- $shr657 = $mul656 >> 16;
- $add658 = (($mul649) + ($shr657))|0;
- $add659 = (($453) + ($add658))|0;
- $res_Q6 = $add659;
- $466 = $res_Q6;
- $467 = $buf_ptr;
- $arrayidx660 = ((($467)) + 36|0);
- $468 = HEAP32[$arrayidx660>>2]|0;
- $469 = $buf_ptr;
- $arrayidx661 = ((($469)) + 104|0);
- $470 = HEAP32[$arrayidx661>>2]|0;
- $add662 = (($468) + ($470))|0;
- $shr663 = $add662 >> 16;
- $471 = $FIR_Coefs$addr;
- $arrayidx664 = ((($471)) + 18|0);
- $472 = HEAP16[$arrayidx664>>1]|0;
- $conv665 = $472 << 16 >> 16;
- $mul666 = Math_imul($shr663, $conv665)|0;
- $473 = $buf_ptr;
- $arrayidx667 = ((($473)) + 36|0);
- $474 = HEAP32[$arrayidx667>>2]|0;
- $475 = $buf_ptr;
- $arrayidx668 = ((($475)) + 104|0);
- $476 = HEAP32[$arrayidx668>>2]|0;
- $add669 = (($474) + ($476))|0;
- $and670 = $add669 & 65535;
- $477 = $FIR_Coefs$addr;
- $arrayidx671 = ((($477)) + 18|0);
- $478 = HEAP16[$arrayidx671>>1]|0;
- $conv672 = $478 << 16 >> 16;
- $mul673 = Math_imul($and670, $conv672)|0;
- $shr674 = $mul673 >> 16;
- $add675 = (($mul666) + ($shr674))|0;
- $add676 = (($466) + ($add675))|0;
- $res_Q6 = $add676;
- $479 = $res_Q6;
- $480 = $buf_ptr;
- $arrayidx677 = ((($480)) + 40|0);
- $481 = HEAP32[$arrayidx677>>2]|0;
- $482 = $buf_ptr;
- $arrayidx678 = ((($482)) + 100|0);
- $483 = HEAP32[$arrayidx678>>2]|0;
- $add679 = (($481) + ($483))|0;
- $shr680 = $add679 >> 16;
- $484 = $FIR_Coefs$addr;
- $arrayidx681 = ((($484)) + 20|0);
- $485 = HEAP16[$arrayidx681>>1]|0;
- $conv682 = $485 << 16 >> 16;
- $mul683 = Math_imul($shr680, $conv682)|0;
- $486 = $buf_ptr;
- $arrayidx684 = ((($486)) + 40|0);
- $487 = HEAP32[$arrayidx684>>2]|0;
- $488 = $buf_ptr;
- $arrayidx685 = ((($488)) + 100|0);
- $489 = HEAP32[$arrayidx685>>2]|0;
- $add686 = (($487) + ($489))|0;
- $and687 = $add686 & 65535;
- $490 = $FIR_Coefs$addr;
- $arrayidx688 = ((($490)) + 20|0);
- $491 = HEAP16[$arrayidx688>>1]|0;
- $conv689 = $491 << 16 >> 16;
- $mul690 = Math_imul($and687, $conv689)|0;
- $shr691 = $mul690 >> 16;
- $add692 = (($mul683) + ($shr691))|0;
- $add693 = (($479) + ($add692))|0;
- $res_Q6 = $add693;
- $492 = $res_Q6;
- $493 = $buf_ptr;
- $arrayidx694 = ((($493)) + 44|0);
- $494 = HEAP32[$arrayidx694>>2]|0;
- $495 = $buf_ptr;
- $arrayidx695 = ((($495)) + 96|0);
- $496 = HEAP32[$arrayidx695>>2]|0;
- $add696 = (($494) + ($496))|0;
- $shr697 = $add696 >> 16;
- $497 = $FIR_Coefs$addr;
- $arrayidx698 = ((($497)) + 22|0);
- $498 = HEAP16[$arrayidx698>>1]|0;
- $conv699 = $498 << 16 >> 16;
- $mul700 = Math_imul($shr697, $conv699)|0;
- $499 = $buf_ptr;
- $arrayidx701 = ((($499)) + 44|0);
- $500 = HEAP32[$arrayidx701>>2]|0;
- $501 = $buf_ptr;
- $arrayidx702 = ((($501)) + 96|0);
- $502 = HEAP32[$arrayidx702>>2]|0;
- $add703 = (($500) + ($502))|0;
- $and704 = $add703 & 65535;
- $503 = $FIR_Coefs$addr;
- $arrayidx705 = ((($503)) + 22|0);
- $504 = HEAP16[$arrayidx705>>1]|0;
- $conv706 = $504 << 16 >> 16;
- $mul707 = Math_imul($and704, $conv706)|0;
- $shr708 = $mul707 >> 16;
- $add709 = (($mul700) + ($shr708))|0;
- $add710 = (($492) + ($add709))|0;
- $res_Q6 = $add710;
- $505 = $res_Q6;
- $506 = $buf_ptr;
- $arrayidx711 = ((($506)) + 48|0);
- $507 = HEAP32[$arrayidx711>>2]|0;
- $508 = $buf_ptr;
- $arrayidx712 = ((($508)) + 92|0);
- $509 = HEAP32[$arrayidx712>>2]|0;
- $add713 = (($507) + ($509))|0;
- $shr714 = $add713 >> 16;
- $510 = $FIR_Coefs$addr;
- $arrayidx715 = ((($510)) + 24|0);
- $511 = HEAP16[$arrayidx715>>1]|0;
- $conv716 = $511 << 16 >> 16;
- $mul717 = Math_imul($shr714, $conv716)|0;
- $512 = $buf_ptr;
- $arrayidx718 = ((($512)) + 48|0);
- $513 = HEAP32[$arrayidx718>>2]|0;
- $514 = $buf_ptr;
- $arrayidx719 = ((($514)) + 92|0);
- $515 = HEAP32[$arrayidx719>>2]|0;
- $add720 = (($513) + ($515))|0;
- $and721 = $add720 & 65535;
- $516 = $FIR_Coefs$addr;
- $arrayidx722 = ((($516)) + 24|0);
- $517 = HEAP16[$arrayidx722>>1]|0;
- $conv723 = $517 << 16 >> 16;
- $mul724 = Math_imul($and721, $conv723)|0;
- $shr725 = $mul724 >> 16;
- $add726 = (($mul717) + ($shr725))|0;
- $add727 = (($505) + ($add726))|0;
- $res_Q6 = $add727;
- $518 = $res_Q6;
- $519 = $buf_ptr;
- $arrayidx728 = ((($519)) + 52|0);
- $520 = HEAP32[$arrayidx728>>2]|0;
- $521 = $buf_ptr;
- $arrayidx729 = ((($521)) + 88|0);
- $522 = HEAP32[$arrayidx729>>2]|0;
- $add730 = (($520) + ($522))|0;
- $shr731 = $add730 >> 16;
- $523 = $FIR_Coefs$addr;
- $arrayidx732 = ((($523)) + 26|0);
- $524 = HEAP16[$arrayidx732>>1]|0;
- $conv733 = $524 << 16 >> 16;
- $mul734 = Math_imul($shr731, $conv733)|0;
- $525 = $buf_ptr;
- $arrayidx735 = ((($525)) + 52|0);
- $526 = HEAP32[$arrayidx735>>2]|0;
- $527 = $buf_ptr;
- $arrayidx736 = ((($527)) + 88|0);
- $528 = HEAP32[$arrayidx736>>2]|0;
- $add737 = (($526) + ($528))|0;
- $and738 = $add737 & 65535;
- $529 = $FIR_Coefs$addr;
- $arrayidx739 = ((($529)) + 26|0);
- $530 = HEAP16[$arrayidx739>>1]|0;
- $conv740 = $530 << 16 >> 16;
- $mul741 = Math_imul($and738, $conv740)|0;
- $shr742 = $mul741 >> 16;
- $add743 = (($mul734) + ($shr742))|0;
- $add744 = (($518) + ($add743))|0;
- $res_Q6 = $add744;
- $531 = $res_Q6;
- $532 = $buf_ptr;
- $arrayidx745 = ((($532)) + 56|0);
- $533 = HEAP32[$arrayidx745>>2]|0;
- $534 = $buf_ptr;
- $arrayidx746 = ((($534)) + 84|0);
- $535 = HEAP32[$arrayidx746>>2]|0;
- $add747 = (($533) + ($535))|0;
- $shr748 = $add747 >> 16;
- $536 = $FIR_Coefs$addr;
- $arrayidx749 = ((($536)) + 28|0);
- $537 = HEAP16[$arrayidx749>>1]|0;
- $conv750 = $537 << 16 >> 16;
- $mul751 = Math_imul($shr748, $conv750)|0;
- $538 = $buf_ptr;
- $arrayidx752 = ((($538)) + 56|0);
- $539 = HEAP32[$arrayidx752>>2]|0;
- $540 = $buf_ptr;
- $arrayidx753 = ((($540)) + 84|0);
- $541 = HEAP32[$arrayidx753>>2]|0;
- $add754 = (($539) + ($541))|0;
- $and755 = $add754 & 65535;
- $542 = $FIR_Coefs$addr;
- $arrayidx756 = ((($542)) + 28|0);
- $543 = HEAP16[$arrayidx756>>1]|0;
- $conv757 = $543 << 16 >> 16;
- $mul758 = Math_imul($and755, $conv757)|0;
- $shr759 = $mul758 >> 16;
- $add760 = (($mul751) + ($shr759))|0;
- $add761 = (($531) + ($add760))|0;
- $res_Q6 = $add761;
- $544 = $res_Q6;
- $545 = $buf_ptr;
- $arrayidx762 = ((($545)) + 60|0);
- $546 = HEAP32[$arrayidx762>>2]|0;
- $547 = $buf_ptr;
- $arrayidx763 = ((($547)) + 80|0);
- $548 = HEAP32[$arrayidx763>>2]|0;
- $add764 = (($546) + ($548))|0;
- $shr765 = $add764 >> 16;
- $549 = $FIR_Coefs$addr;
- $arrayidx766 = ((($549)) + 30|0);
- $550 = HEAP16[$arrayidx766>>1]|0;
- $conv767 = $550 << 16 >> 16;
- $mul768 = Math_imul($shr765, $conv767)|0;
- $551 = $buf_ptr;
- $arrayidx769 = ((($551)) + 60|0);
- $552 = HEAP32[$arrayidx769>>2]|0;
- $553 = $buf_ptr;
- $arrayidx770 = ((($553)) + 80|0);
- $554 = HEAP32[$arrayidx770>>2]|0;
- $add771 = (($552) + ($554))|0;
- $and772 = $add771 & 65535;
- $555 = $FIR_Coefs$addr;
- $arrayidx773 = ((($555)) + 30|0);
- $556 = HEAP16[$arrayidx773>>1]|0;
- $conv774 = $556 << 16 >> 16;
- $mul775 = Math_imul($and772, $conv774)|0;
- $shr776 = $mul775 >> 16;
- $add777 = (($mul768) + ($shr776))|0;
- $add778 = (($544) + ($add777))|0;
- $res_Q6 = $add778;
- $557 = $res_Q6;
- $558 = $buf_ptr;
- $arrayidx779 = ((($558)) + 64|0);
- $559 = HEAP32[$arrayidx779>>2]|0;
- $560 = $buf_ptr;
- $arrayidx780 = ((($560)) + 76|0);
- $561 = HEAP32[$arrayidx780>>2]|0;
- $add781 = (($559) + ($561))|0;
- $shr782 = $add781 >> 16;
- $562 = $FIR_Coefs$addr;
- $arrayidx783 = ((($562)) + 32|0);
- $563 = HEAP16[$arrayidx783>>1]|0;
- $conv784 = $563 << 16 >> 16;
- $mul785 = Math_imul($shr782, $conv784)|0;
- $564 = $buf_ptr;
- $arrayidx786 = ((($564)) + 64|0);
- $565 = HEAP32[$arrayidx786>>2]|0;
- $566 = $buf_ptr;
- $arrayidx787 = ((($566)) + 76|0);
- $567 = HEAP32[$arrayidx787>>2]|0;
- $add788 = (($565) + ($567))|0;
- $and789 = $add788 & 65535;
- $568 = $FIR_Coefs$addr;
- $arrayidx790 = ((($568)) + 32|0);
- $569 = HEAP16[$arrayidx790>>1]|0;
- $conv791 = $569 << 16 >> 16;
- $mul792 = Math_imul($and789, $conv791)|0;
- $shr793 = $mul792 >> 16;
- $add794 = (($mul785) + ($shr793))|0;
- $add795 = (($557) + ($add794))|0;
- $res_Q6 = $add795;
- $570 = $res_Q6;
- $571 = $buf_ptr;
- $arrayidx796 = ((($571)) + 68|0);
- $572 = HEAP32[$arrayidx796>>2]|0;
- $573 = $buf_ptr;
- $arrayidx797 = ((($573)) + 72|0);
- $574 = HEAP32[$arrayidx797>>2]|0;
- $add798 = (($572) + ($574))|0;
- $shr799 = $add798 >> 16;
- $575 = $FIR_Coefs$addr;
- $arrayidx800 = ((($575)) + 34|0);
- $576 = HEAP16[$arrayidx800>>1]|0;
- $conv801 = $576 << 16 >> 16;
- $mul802 = Math_imul($shr799, $conv801)|0;
- $577 = $buf_ptr;
- $arrayidx803 = ((($577)) + 68|0);
- $578 = HEAP32[$arrayidx803>>2]|0;
- $579 = $buf_ptr;
- $arrayidx804 = ((($579)) + 72|0);
- $580 = HEAP32[$arrayidx804>>2]|0;
- $add805 = (($578) + ($580))|0;
- $and806 = $add805 & 65535;
- $581 = $FIR_Coefs$addr;
- $arrayidx807 = ((($581)) + 34|0);
- $582 = HEAP16[$arrayidx807>>1]|0;
- $conv808 = $582 << 16 >> 16;
- $mul809 = Math_imul($and806, $conv808)|0;
- $shr810 = $mul809 >> 16;
- $add811 = (($mul802) + ($shr810))|0;
- $add812 = (($570) + ($add811))|0;
- $res_Q6 = $add812;
- $583 = $res_Q6;
- $shr813 = $583 >> 5;
- $add814 = (($shr813) + 1)|0;
- $shr815 = $add814 >> 1;
- $cmp816 = ($shr815|0)>(32767);
- if ($cmp816) {
- $cond833 = 32767;
- } else {
- $584 = $res_Q6;
- $shr820 = $584 >> 5;
- $add821 = (($shr820) + 1)|0;
- $shr822 = $add821 >> 1;
- $cmp823 = ($shr822|0)<(-32768);
- if ($cmp823) {
- $cond833 = -32768;
- } else {
- $585 = $res_Q6;
- $shr827 = $585 >> 5;
- $add828 = (($shr827) + 1)|0;
- $shr829 = $add828 >> 1;
- $cond833 = $shr829;
- }
- }
- $conv834 = $cond833&65535;
- $586 = $out$addr;
- $incdec$ptr835 = ((($586)) + 2|0);
- $out$addr = $incdec$ptr835;
- HEAP16[$586>>1] = $conv834;
- $587 = $index_increment_Q16$addr;
- $588 = $index_Q16;
- $add837 = (($588) + ($587))|0;
- $index_Q16 = $add837;
- }
- $589 = $out$addr;
- STACKTOP = sp;return ($589|0);
- break;
- }
- default: {
- $589 = $out$addr;
- STACKTOP = sp;return ($589|0);
- }
- }
- return (0)|0;
-}
-function _silk_resampler_private_IIR_FIR($SS,$out,$in,$inLen) {
- $SS = $SS|0;
- $out = $out|0;
- $in = $in|0;
- $inLen = $inLen|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $S = 0, $SS$addr = 0, $add = 0, $add$ptr = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx6 = 0, $batchSize = 0, $batchSize1 = 0, $batchSize2 = 0, $call = 0;
- var $cmp = 0, $cmp4 = 0, $cond = 0, $in$addr = 0, $inLen$addr = 0, $index_increment_Q16 = 0, $invRatio_Q16 = 0, $max_index_Q16 = 0, $mul = 0, $nSamplesIn = 0, $out$addr = 0, $sFIR = 0, $sFIR7 = 0, $saved_stack = 0, $shl = 0, $shl10 = 0, $shl5 = 0, $sub = 0, $vla = 0, $vla$alloca_mul = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $SS$addr = $SS;
- $out$addr = $out;
- $in$addr = $in;
- $inLen$addr = $inLen;
- $0 = $SS$addr;
- $S = $0;
- $1 = $S;
- $batchSize = ((($1)) + 268|0);
- $2 = HEAP32[$batchSize>>2]|0;
- $mul = $2<<1;
- $add = (($mul) + 8)|0;
- $3 = (_llvm_stacksave()|0);
- $saved_stack = $3;
- $vla$alloca_mul = $add<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $4 = $S;
- $sFIR = ((($4)) + 24|0);
- ;HEAP16[$vla>>1]=HEAP16[$sFIR>>1]|0;HEAP16[$vla+2>>1]=HEAP16[$sFIR+2>>1]|0;HEAP16[$vla+4>>1]=HEAP16[$sFIR+4>>1]|0;HEAP16[$vla+6>>1]=HEAP16[$sFIR+6>>1]|0;HEAP16[$vla+8>>1]=HEAP16[$sFIR+8>>1]|0;HEAP16[$vla+10>>1]=HEAP16[$sFIR+10>>1]|0;HEAP16[$vla+12>>1]=HEAP16[$sFIR+12>>1]|0;HEAP16[$vla+14>>1]=HEAP16[$sFIR+14>>1]|0;
- $5 = $S;
- $invRatio_Q16 = ((($5)) + 272|0);
- $6 = HEAP32[$invRatio_Q16>>2]|0;
- $index_increment_Q16 = $6;
- while(1) {
- $7 = $inLen$addr;
- $8 = $S;
- $batchSize1 = ((($8)) + 268|0);
- $9 = HEAP32[$batchSize1>>2]|0;
- $cmp = ($7|0)<($9|0);
- if ($cmp) {
- $10 = $inLen$addr;
- $cond = $10;
- } else {
- $11 = $S;
- $batchSize2 = ((($11)) + 268|0);
- $12 = HEAP32[$batchSize2>>2]|0;
- $cond = $12;
- }
- $nSamplesIn = $cond;
- $13 = $S;
- $arrayidx = ((($vla)) + 16|0);
- $14 = $in$addr;
- $15 = $nSamplesIn;
- _silk_resampler_private_up2_HQ($13,$arrayidx,$14,$15);
- $16 = $nSamplesIn;
- $shl = $16 << 17;
- $max_index_Q16 = $shl;
- $17 = $out$addr;
- $18 = $max_index_Q16;
- $19 = $index_increment_Q16;
- $call = (_silk_resampler_private_IIR_FIR_INTERPOL($17,$vla,$18,$19)|0);
- $out$addr = $call;
- $20 = $nSamplesIn;
- $21 = $in$addr;
- $add$ptr = (($21) + ($20<<1)|0);
- $in$addr = $add$ptr;
- $22 = $nSamplesIn;
- $23 = $inLen$addr;
- $sub = (($23) - ($22))|0;
- $inLen$addr = $sub;
- $24 = $inLen$addr;
- $cmp4 = ($24|0)>(0);
- if (!($cmp4)) {
- break;
- }
- $25 = $nSamplesIn;
- $shl5 = $25 << 1;
- $arrayidx6 = (($vla) + ($shl5<<1)|0);
- ;HEAP16[$vla>>1]=HEAP16[$arrayidx6>>1]|0;HEAP16[$vla+2>>1]=HEAP16[$arrayidx6+2>>1]|0;HEAP16[$vla+4>>1]=HEAP16[$arrayidx6+4>>1]|0;HEAP16[$vla+6>>1]=HEAP16[$arrayidx6+6>>1]|0;HEAP16[$vla+8>>1]=HEAP16[$arrayidx6+8>>1]|0;HEAP16[$vla+10>>1]=HEAP16[$arrayidx6+10>>1]|0;HEAP16[$vla+12>>1]=HEAP16[$arrayidx6+12>>1]|0;HEAP16[$vla+14>>1]=HEAP16[$arrayidx6+14>>1]|0;
- }
- $26 = $S;
- $sFIR7 = ((($26)) + 24|0);
- $27 = $nSamplesIn;
- $shl10 = $27 << 1;
- $arrayidx11 = (($vla) + ($shl10<<1)|0);
- ;HEAP16[$sFIR7>>1]=HEAP16[$arrayidx11>>1]|0;HEAP16[$sFIR7+2>>1]=HEAP16[$arrayidx11+2>>1]|0;HEAP16[$sFIR7+4>>1]=HEAP16[$arrayidx11+4>>1]|0;HEAP16[$sFIR7+6>>1]=HEAP16[$arrayidx11+6>>1]|0;HEAP16[$sFIR7+8>>1]=HEAP16[$arrayidx11+8>>1]|0;HEAP16[$sFIR7+10>>1]=HEAP16[$arrayidx11+10>>1]|0;HEAP16[$sFIR7+12>>1]=HEAP16[$arrayidx11+12>>1]|0;HEAP16[$sFIR7+14>>1]=HEAP16[$arrayidx11+14>>1]|0;
- $28 = $saved_stack;
- _llvm_stackrestore(($28|0));
- STACKTOP = sp;return;
-}
-function _silk_resampler_private_IIR_FIR_INTERPOL($out,$buf,$max_index_Q16,$index_increment_Q16) {
- $out = $out|0;
- $buf = $buf|0;
- $max_index_Q16 = $max_index_Q16|0;
- $index_increment_Q16 = $index_increment_Q16|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add17 = 0, $add24 = 0, $add31 = 0, $add38 = 0, $add46 = 0, $add54 = 0, $add62 = 0;
- var $add64 = 0, $add69 = 0, $add76 = 0, $add81 = 0, $and = 0, $and1 = 0, $and2 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx13 = 0, $arrayidx14 = 0, $arrayidx18 = 0, $arrayidx20 = 0, $arrayidx21 = 0, $arrayidx25 = 0, $arrayidx27 = 0, $arrayidx28 = 0, $arrayidx32 = 0, $arrayidx34 = 0, $arrayidx35 = 0;
- var $arrayidx39 = 0, $arrayidx42 = 0, $arrayidx43 = 0, $arrayidx47 = 0, $arrayidx50 = 0, $arrayidx51 = 0, $arrayidx55 = 0, $arrayidx58 = 0, $arrayidx7 = 0, $buf$addr = 0, $buf_ptr = 0, $cmp = 0, $cmp66 = 0, $cmp71 = 0, $cond79 = 0, $conv = 0, $conv12 = 0, $conv15 = 0, $conv19 = 0, $conv22 = 0;
- var $conv26 = 0, $conv29 = 0, $conv33 = 0, $conv36 = 0, $conv40 = 0, $conv44 = 0, $conv48 = 0, $conv52 = 0, $conv56 = 0, $conv60 = 0, $conv80 = 0, $conv9 = 0, $incdec$ptr = 0, $index_Q16 = 0, $index_increment_Q16$addr = 0, $max_index_Q16$addr = 0, $mul = 0, $mul10 = 0, $mul16 = 0, $mul23 = 0;
- var $mul3 = 0, $mul30 = 0, $mul37 = 0, $mul45 = 0, $mul53 = 0, $mul61 = 0, $out$addr = 0, $res_Q15 = 0, $shr = 0, $shr4 = 0, $shr5 = 0, $shr63 = 0, $shr65 = 0, $shr68 = 0, $shr70 = 0, $shr75 = 0, $shr77 = 0, $sub = 0, $sub41 = 0, $sub49 = 0;
- var $sub57 = 0, $table_index = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $out$addr = $out;
- $buf$addr = $buf;
- $max_index_Q16$addr = $max_index_Q16;
- $index_increment_Q16$addr = $index_increment_Q16;
- $index_Q16 = 0;
- while(1) {
- $0 = $index_Q16;
- $1 = $max_index_Q16$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $index_Q16;
- $and = $2 & 65535;
- $shr = $and >> 16;
- $mul = ($shr*12)|0;
- $3 = $index_Q16;
- $and1 = $3 & 65535;
- $and2 = $and1 & 65535;
- $mul3 = ($and2*12)|0;
- $shr4 = $mul3 >> 16;
- $add = (($mul) + ($shr4))|0;
- $table_index = $add;
- $4 = $buf$addr;
- $5 = $index_Q16;
- $shr5 = $5 >> 16;
- $arrayidx = (($4) + ($shr5<<1)|0);
- $buf_ptr = $arrayidx;
- $6 = $buf_ptr;
- $7 = HEAP16[$6>>1]|0;
- $conv = $7 << 16 >> 16;
- $8 = $table_index;
- $arrayidx7 = (25282 + ($8<<3)|0);
- $9 = HEAP16[$arrayidx7>>1]|0;
- $conv9 = $9 << 16 >> 16;
- $mul10 = Math_imul($conv, $conv9)|0;
- $res_Q15 = $mul10;
- $10 = $res_Q15;
- $11 = $buf_ptr;
- $arrayidx11 = ((($11)) + 2|0);
- $12 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $12 << 16 >> 16;
- $13 = $table_index;
- $arrayidx13 = (25282 + ($13<<3)|0);
- $arrayidx14 = ((($arrayidx13)) + 2|0);
- $14 = HEAP16[$arrayidx14>>1]|0;
- $conv15 = $14 << 16 >> 16;
- $mul16 = Math_imul($conv12, $conv15)|0;
- $add17 = (($10) + ($mul16))|0;
- $res_Q15 = $add17;
- $15 = $res_Q15;
- $16 = $buf_ptr;
- $arrayidx18 = ((($16)) + 4|0);
- $17 = HEAP16[$arrayidx18>>1]|0;
- $conv19 = $17 << 16 >> 16;
- $18 = $table_index;
- $arrayidx20 = (25282 + ($18<<3)|0);
- $arrayidx21 = ((($arrayidx20)) + 4|0);
- $19 = HEAP16[$arrayidx21>>1]|0;
- $conv22 = $19 << 16 >> 16;
- $mul23 = Math_imul($conv19, $conv22)|0;
- $add24 = (($15) + ($mul23))|0;
- $res_Q15 = $add24;
- $20 = $res_Q15;
- $21 = $buf_ptr;
- $arrayidx25 = ((($21)) + 6|0);
- $22 = HEAP16[$arrayidx25>>1]|0;
- $conv26 = $22 << 16 >> 16;
- $23 = $table_index;
- $arrayidx27 = (25282 + ($23<<3)|0);
- $arrayidx28 = ((($arrayidx27)) + 6|0);
- $24 = HEAP16[$arrayidx28>>1]|0;
- $conv29 = $24 << 16 >> 16;
- $mul30 = Math_imul($conv26, $conv29)|0;
- $add31 = (($20) + ($mul30))|0;
- $res_Q15 = $add31;
- $25 = $res_Q15;
- $26 = $buf_ptr;
- $arrayidx32 = ((($26)) + 8|0);
- $27 = HEAP16[$arrayidx32>>1]|0;
- $conv33 = $27 << 16 >> 16;
- $28 = $table_index;
- $sub = (11 - ($28))|0;
- $arrayidx34 = (25282 + ($sub<<3)|0);
- $arrayidx35 = ((($arrayidx34)) + 6|0);
- $29 = HEAP16[$arrayidx35>>1]|0;
- $conv36 = $29 << 16 >> 16;
- $mul37 = Math_imul($conv33, $conv36)|0;
- $add38 = (($25) + ($mul37))|0;
- $res_Q15 = $add38;
- $30 = $res_Q15;
- $31 = $buf_ptr;
- $arrayidx39 = ((($31)) + 10|0);
- $32 = HEAP16[$arrayidx39>>1]|0;
- $conv40 = $32 << 16 >> 16;
- $33 = $table_index;
- $sub41 = (11 - ($33))|0;
- $arrayidx42 = (25282 + ($sub41<<3)|0);
- $arrayidx43 = ((($arrayidx42)) + 4|0);
- $34 = HEAP16[$arrayidx43>>1]|0;
- $conv44 = $34 << 16 >> 16;
- $mul45 = Math_imul($conv40, $conv44)|0;
- $add46 = (($30) + ($mul45))|0;
- $res_Q15 = $add46;
- $35 = $res_Q15;
- $36 = $buf_ptr;
- $arrayidx47 = ((($36)) + 12|0);
- $37 = HEAP16[$arrayidx47>>1]|0;
- $conv48 = $37 << 16 >> 16;
- $38 = $table_index;
- $sub49 = (11 - ($38))|0;
- $arrayidx50 = (25282 + ($sub49<<3)|0);
- $arrayidx51 = ((($arrayidx50)) + 2|0);
- $39 = HEAP16[$arrayidx51>>1]|0;
- $conv52 = $39 << 16 >> 16;
- $mul53 = Math_imul($conv48, $conv52)|0;
- $add54 = (($35) + ($mul53))|0;
- $res_Q15 = $add54;
- $40 = $res_Q15;
- $41 = $buf_ptr;
- $arrayidx55 = ((($41)) + 14|0);
- $42 = HEAP16[$arrayidx55>>1]|0;
- $conv56 = $42 << 16 >> 16;
- $43 = $table_index;
- $sub57 = (11 - ($43))|0;
- $arrayidx58 = (25282 + ($sub57<<3)|0);
- $44 = HEAP16[$arrayidx58>>1]|0;
- $conv60 = $44 << 16 >> 16;
- $mul61 = Math_imul($conv56, $conv60)|0;
- $add62 = (($40) + ($mul61))|0;
- $res_Q15 = $add62;
- $45 = $res_Q15;
- $shr63 = $45 >> 14;
- $add64 = (($shr63) + 1)|0;
- $shr65 = $add64 >> 1;
- $cmp66 = ($shr65|0)>(32767);
- if ($cmp66) {
- $cond79 = 32767;
- } else {
- $46 = $res_Q15;
- $shr68 = $46 >> 14;
- $add69 = (($shr68) + 1)|0;
- $shr70 = $add69 >> 1;
- $cmp71 = ($shr70|0)<(-32768);
- if ($cmp71) {
- $cond79 = -32768;
- } else {
- $47 = $res_Q15;
- $shr75 = $47 >> 14;
- $add76 = (($shr75) + 1)|0;
- $shr77 = $add76 >> 1;
- $cond79 = $shr77;
- }
- }
- $conv80 = $cond79&65535;
- $48 = $out$addr;
- $incdec$ptr = ((($48)) + 2|0);
- $out$addr = $incdec$ptr;
- HEAP16[$48>>1] = $conv80;
- $49 = $index_increment_Q16$addr;
- $50 = $index_Q16;
- $add81 = (($50) + ($49))|0;
- $index_Q16 = $add81;
- }
- $51 = $out$addr;
- STACKTOP = sp;return ($51|0);
-}
-function _silk_resampler_private_up2_HQ($S,$out,$in,$len) {
- $S = $S|0;
- $out = $out|0;
- $in = $in|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $S$addr = 0, $X = 0, $Y = 0, $add = 0;
- var $add100 = 0, $add103 = 0, $add110 = 0, $add117 = 0, $add125 = 0, $add19 = 0, $add21 = 0, $add22 = 0, $add33 = 0, $add34 = 0, $add36 = 0, $add37 = 0, $add40 = 0, $add45 = 0, $add52 = 0, $add68 = 0, $add7 = 0, $add70 = 0, $add71 = 0, $add8 = 0;
- var $add82 = 0, $add84 = 0, $add85 = 0, $add96 = 0, $add97 = 0, $add99 = 0, $and = 0, $and15 = 0, $and29 = 0, $and64 = 0, $and78 = 0, $and92 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx101 = 0, $arrayidx126 = 0, $arrayidx20 = 0, $arrayidx23 = 0, $arrayidx24 = 0, $arrayidx35 = 0;
- var $arrayidx38 = 0, $arrayidx58 = 0, $arrayidx59 = 0, $arrayidx69 = 0, $arrayidx72 = 0, $arrayidx73 = 0, $arrayidx83 = 0, $arrayidx86 = 0, $arrayidx87 = 0, $arrayidx98 = 0, $cmp = 0, $cmp105 = 0, $cmp112 = 0, $cmp42 = 0, $cmp47 = 0, $cond122 = 0, $cond55 = 0, $conv = 0, $conv123 = 0, $conv13 = 0;
- var $conv16 = 0, $conv2 = 0, $conv27 = 0, $conv3 = 0, $conv30 = 0, $conv56 = 0, $conv62 = 0, $conv65 = 0, $conv76 = 0, $conv79 = 0, $conv90 = 0, $conv93 = 0, $in$addr = 0, $in32 = 0, $inc = 0, $k = 0, $len$addr = 0, $mul = 0, $mul124 = 0, $mul14 = 0;
- var $mul17 = 0, $mul28 = 0, $mul31 = 0, $mul4 = 0, $mul57 = 0, $mul63 = 0, $mul66 = 0, $mul77 = 0, $mul80 = 0, $mul91 = 0, $mul94 = 0, $out$addr = 0, $out32_1 = 0, $out32_2 = 0, $shl = 0, $shr = 0, $shr102 = 0, $shr104 = 0, $shr109 = 0, $shr111 = 0;
- var $shr116 = 0, $shr118 = 0, $shr12 = 0, $shr18 = 0, $shr26 = 0, $shr32 = 0, $shr39 = 0, $shr41 = 0, $shr44 = 0, $shr46 = 0, $shr5 = 0, $shr51 = 0, $shr53 = 0, $shr61 = 0, $shr67 = 0, $shr75 = 0, $shr81 = 0, $shr89 = 0, $shr95 = 0, $sub = 0;
- var $sub11 = 0, $sub25 = 0, $sub60 = 0, $sub74 = 0, $sub88 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $S$addr = $S;
- $out$addr = $out;
- $in$addr = $in;
- $len$addr = $len;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $len$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $in$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3<<1)|0);
- $4 = HEAP16[$arrayidx>>1]|0;
- $conv = $4 << 16 >> 16;
- $shl = $conv << 10;
- $in32 = $shl;
- $5 = $in32;
- $6 = $S$addr;
- $7 = HEAP32[$6>>2]|0;
- $sub = (($5) - ($7))|0;
- $Y = $sub;
- $8 = $Y;
- $shr = $8 >> 16;
- $9 = HEAP16[12506]|0;
- $conv2 = $9 << 16 >> 16;
- $mul = Math_imul($shr, $conv2)|0;
- $10 = $Y;
- $and = $10 & 65535;
- $11 = HEAP16[12506]|0;
- $conv3 = $11 << 16 >> 16;
- $mul4 = Math_imul($and, $conv3)|0;
- $shr5 = $mul4 >> 16;
- $add = (($mul) + ($shr5))|0;
- $X = $add;
- $12 = $S$addr;
- $13 = HEAP32[$12>>2]|0;
- $14 = $X;
- $add7 = (($13) + ($14))|0;
- $out32_1 = $add7;
- $15 = $in32;
- $16 = $X;
- $add8 = (($15) + ($16))|0;
- $17 = $S$addr;
- HEAP32[$17>>2] = $add8;
- $18 = $out32_1;
- $19 = $S$addr;
- $arrayidx10 = ((($19)) + 4|0);
- $20 = HEAP32[$arrayidx10>>2]|0;
- $sub11 = (($18) - ($20))|0;
- $Y = $sub11;
- $21 = $Y;
- $shr12 = $21 >> 16;
- $22 = HEAP16[(25014)>>1]|0;
- $conv13 = $22 << 16 >> 16;
- $mul14 = Math_imul($shr12, $conv13)|0;
- $23 = $Y;
- $and15 = $23 & 65535;
- $24 = HEAP16[(25014)>>1]|0;
- $conv16 = $24 << 16 >> 16;
- $mul17 = Math_imul($and15, $conv16)|0;
- $shr18 = $mul17 >> 16;
- $add19 = (($mul14) + ($shr18))|0;
- $X = $add19;
- $25 = $S$addr;
- $arrayidx20 = ((($25)) + 4|0);
- $26 = HEAP32[$arrayidx20>>2]|0;
- $27 = $X;
- $add21 = (($26) + ($27))|0;
- $out32_2 = $add21;
- $28 = $out32_1;
- $29 = $X;
- $add22 = (($28) + ($29))|0;
- $30 = $S$addr;
- $arrayidx23 = ((($30)) + 4|0);
- HEAP32[$arrayidx23>>2] = $add22;
- $31 = $out32_2;
- $32 = $S$addr;
- $arrayidx24 = ((($32)) + 8|0);
- $33 = HEAP32[$arrayidx24>>2]|0;
- $sub25 = (($31) - ($33))|0;
- $Y = $sub25;
- $34 = $Y;
- $35 = $Y;
- $shr26 = $35 >> 16;
- $36 = HEAP16[(25016)>>1]|0;
- $conv27 = $36 << 16 >> 16;
- $mul28 = Math_imul($shr26, $conv27)|0;
- $37 = $Y;
- $and29 = $37 & 65535;
- $38 = HEAP16[(25016)>>1]|0;
- $conv30 = $38 << 16 >> 16;
- $mul31 = Math_imul($and29, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul28) + ($shr32))|0;
- $add34 = (($34) + ($add33))|0;
- $X = $add34;
- $39 = $S$addr;
- $arrayidx35 = ((($39)) + 8|0);
- $40 = HEAP32[$arrayidx35>>2]|0;
- $41 = $X;
- $add36 = (($40) + ($41))|0;
- $out32_1 = $add36;
- $42 = $out32_2;
- $43 = $X;
- $add37 = (($42) + ($43))|0;
- $44 = $S$addr;
- $arrayidx38 = ((($44)) + 8|0);
- HEAP32[$arrayidx38>>2] = $add37;
- $45 = $out32_1;
- $shr39 = $45 >> 9;
- $add40 = (($shr39) + 1)|0;
- $shr41 = $add40 >> 1;
- $cmp42 = ($shr41|0)>(32767);
- if ($cmp42) {
- $cond55 = 32767;
- } else {
- $46 = $out32_1;
- $shr44 = $46 >> 9;
- $add45 = (($shr44) + 1)|0;
- $shr46 = $add45 >> 1;
- $cmp47 = ($shr46|0)<(-32768);
- if ($cmp47) {
- $cond55 = -32768;
- } else {
- $47 = $out32_1;
- $shr51 = $47 >> 9;
- $add52 = (($shr51) + 1)|0;
- $shr53 = $add52 >> 1;
- $cond55 = $shr53;
- }
- }
- $conv56 = $cond55&65535;
- $48 = $out$addr;
- $49 = $k;
- $mul57 = $49<<1;
- $arrayidx58 = (($48) + ($mul57<<1)|0);
- HEAP16[$arrayidx58>>1] = $conv56;
- $50 = $in32;
- $51 = $S$addr;
- $arrayidx59 = ((($51)) + 12|0);
- $52 = HEAP32[$arrayidx59>>2]|0;
- $sub60 = (($50) - ($52))|0;
- $Y = $sub60;
- $53 = $Y;
- $shr61 = $53 >> 16;
- $54 = HEAP16[12509]|0;
- $conv62 = $54 << 16 >> 16;
- $mul63 = Math_imul($shr61, $conv62)|0;
- $55 = $Y;
- $and64 = $55 & 65535;
- $56 = HEAP16[12509]|0;
- $conv65 = $56 << 16 >> 16;
- $mul66 = Math_imul($and64, $conv65)|0;
- $shr67 = $mul66 >> 16;
- $add68 = (($mul63) + ($shr67))|0;
- $X = $add68;
- $57 = $S$addr;
- $arrayidx69 = ((($57)) + 12|0);
- $58 = HEAP32[$arrayidx69>>2]|0;
- $59 = $X;
- $add70 = (($58) + ($59))|0;
- $out32_1 = $add70;
- $60 = $in32;
- $61 = $X;
- $add71 = (($60) + ($61))|0;
- $62 = $S$addr;
- $arrayidx72 = ((($62)) + 12|0);
- HEAP32[$arrayidx72>>2] = $add71;
- $63 = $out32_1;
- $64 = $S$addr;
- $arrayidx73 = ((($64)) + 16|0);
- $65 = HEAP32[$arrayidx73>>2]|0;
- $sub74 = (($63) - ($65))|0;
- $Y = $sub74;
- $66 = $Y;
- $shr75 = $66 >> 16;
- $67 = HEAP16[(25020)>>1]|0;
- $conv76 = $67 << 16 >> 16;
- $mul77 = Math_imul($shr75, $conv76)|0;
- $68 = $Y;
- $and78 = $68 & 65535;
- $69 = HEAP16[(25020)>>1]|0;
- $conv79 = $69 << 16 >> 16;
- $mul80 = Math_imul($and78, $conv79)|0;
- $shr81 = $mul80 >> 16;
- $add82 = (($mul77) + ($shr81))|0;
- $X = $add82;
- $70 = $S$addr;
- $arrayidx83 = ((($70)) + 16|0);
- $71 = HEAP32[$arrayidx83>>2]|0;
- $72 = $X;
- $add84 = (($71) + ($72))|0;
- $out32_2 = $add84;
- $73 = $out32_1;
- $74 = $X;
- $add85 = (($73) + ($74))|0;
- $75 = $S$addr;
- $arrayidx86 = ((($75)) + 16|0);
- HEAP32[$arrayidx86>>2] = $add85;
- $76 = $out32_2;
- $77 = $S$addr;
- $arrayidx87 = ((($77)) + 20|0);
- $78 = HEAP32[$arrayidx87>>2]|0;
- $sub88 = (($76) - ($78))|0;
- $Y = $sub88;
- $79 = $Y;
- $80 = $Y;
- $shr89 = $80 >> 16;
- $81 = HEAP16[(25022)>>1]|0;
- $conv90 = $81 << 16 >> 16;
- $mul91 = Math_imul($shr89, $conv90)|0;
- $82 = $Y;
- $and92 = $82 & 65535;
- $83 = HEAP16[(25022)>>1]|0;
- $conv93 = $83 << 16 >> 16;
- $mul94 = Math_imul($and92, $conv93)|0;
- $shr95 = $mul94 >> 16;
- $add96 = (($mul91) + ($shr95))|0;
- $add97 = (($79) + ($add96))|0;
- $X = $add97;
- $84 = $S$addr;
- $arrayidx98 = ((($84)) + 20|0);
- $85 = HEAP32[$arrayidx98>>2]|0;
- $86 = $X;
- $add99 = (($85) + ($86))|0;
- $out32_1 = $add99;
- $87 = $out32_2;
- $88 = $X;
- $add100 = (($87) + ($88))|0;
- $89 = $S$addr;
- $arrayidx101 = ((($89)) + 20|0);
- HEAP32[$arrayidx101>>2] = $add100;
- $90 = $out32_1;
- $shr102 = $90 >> 9;
- $add103 = (($shr102) + 1)|0;
- $shr104 = $add103 >> 1;
- $cmp105 = ($shr104|0)>(32767);
- if ($cmp105) {
- $cond122 = 32767;
- } else {
- $91 = $out32_1;
- $shr109 = $91 >> 9;
- $add110 = (($shr109) + 1)|0;
- $shr111 = $add110 >> 1;
- $cmp112 = ($shr111|0)<(-32768);
- if ($cmp112) {
- $cond122 = -32768;
- } else {
- $92 = $out32_1;
- $shr116 = $92 >> 9;
- $add117 = (($shr116) + 1)|0;
- $shr118 = $add117 >> 1;
- $cond122 = $shr118;
- }
- }
- $conv123 = $cond122&65535;
- $93 = $out$addr;
- $94 = $k;
- $mul124 = $94<<1;
- $add125 = (($mul124) + 1)|0;
- $arrayidx126 = (($93) + ($add125<<1)|0);
- HEAP16[$arrayidx126>>1] = $conv123;
- $95 = $k;
- $inc = (($95) + 1)|0;
- $k = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_resampler_private_up2_HQ_wrapper($SS,$out,$in,$len) {
- $SS = $SS|0;
- $out = $out|0;
- $in = $in|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $S = 0, $SS$addr = 0, $in$addr = 0, $len$addr = 0, $out$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $SS$addr = $SS;
- $out$addr = $out;
- $in$addr = $in;
- $len$addr = $len;
- $0 = $SS$addr;
- $S = $0;
- $1 = $S;
- $2 = $out$addr;
- $3 = $in$addr;
- $4 = $len$addr;
- _silk_resampler_private_up2_HQ($1,$2,$3,$4);
- STACKTOP = sp;return;
-}
-function _silk_stereo_decode_pred($psRangeDec,$pred_Q13) {
- $psRangeDec = $psRangeDec|0;
- $pred_Q13 = $pred_Q13|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add25 = 0, $add32 = 0;
- var $add38 = 0, $add44 = 0, $add48 = 0, $and = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx15 = 0, $arrayidx16 = 0, $arrayidx18 = 0, $arrayidx20 = 0, $arrayidx22 = 0, $arrayidx23 = 0, $arrayidx26 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx33 = 0, $arrayidx4 = 0, $arrayidx41 = 0, $arrayidx42 = 0;
- var $arrayidx49 = 0, $arrayidx5 = 0, $arrayidx53 = 0, $arrayidx7 = 0, $call = 0, $call6 = 0, $call9 = 0, $cmp = 0, $cmp13 = 0, $conv = 0, $conv27 = 0, $conv34 = 0, $conv39 = 0, $conv40 = 0, $conv45 = 0, $conv46 = 0, $div = 0, $inc = 0, $inc51 = 0, $ix = 0;
- var $low_Q13 = 0, $mul = 0, $mul17 = 0, $mul29 = 0, $mul36 = 0, $mul43 = 0, $mul47 = 0, $n = 0, $pred_Q13$addr = 0, $psRangeDec$addr = 0, $shr = 0, $shr37 = 0, $step_Q13 = 0, $sub = 0, $sub28 = 0, $sub35 = 0, $sub55 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $ix = sp + 8|0;
- $psRangeDec$addr = $psRangeDec;
- $pred_Q13$addr = $pred_Q13;
- $0 = $psRangeDec$addr;
- $call = (_ec_dec_icdf($0,27623,8)|0);
- $n = $call;
- $1 = $n;
- $div = (($1|0) / 5)&-1;
- $arrayidx1 = ((($ix)) + 8|0);
- HEAP32[$arrayidx1>>2] = $div;
- $2 = $n;
- $arrayidx3 = ((($ix)) + 8|0);
- $3 = HEAP32[$arrayidx3>>2]|0;
- $mul = ($3*5)|0;
- $sub = (($2) - ($mul))|0;
- $arrayidx4 = ((($ix)) + 12|0);
- $arrayidx5 = ((($arrayidx4)) + 8|0);
- HEAP32[$arrayidx5>>2] = $sub;
- $n = 0;
- while(1) {
- $4 = $n;
- $cmp = ($4|0)<(2);
- if (!($cmp)) {
- break;
- }
- $5 = $psRangeDec$addr;
- $call6 = (_ec_dec_icdf($5,27676,8)|0);
- $6 = $n;
- $arrayidx7 = (($ix) + (($6*12)|0)|0);
- HEAP32[$arrayidx7>>2] = $call6;
- $7 = $psRangeDec$addr;
- $call9 = (_ec_dec_icdf($7,27683,8)|0);
- $8 = $n;
- $arrayidx10 = (($ix) + (($8*12)|0)|0);
- $arrayidx11 = ((($arrayidx10)) + 4|0);
- HEAP32[$arrayidx11>>2] = $call9;
- $9 = $n;
- $inc = (($9) + 1)|0;
- $n = $inc;
- }
- $n = 0;
- while(1) {
- $10 = $n;
- $cmp13 = ($10|0)<(2);
- if (!($cmp13)) {
- break;
- }
- $11 = $n;
- $arrayidx15 = (($ix) + (($11*12)|0)|0);
- $arrayidx16 = ((($arrayidx15)) + 8|0);
- $12 = HEAP32[$arrayidx16>>2]|0;
- $mul17 = ($12*3)|0;
- $13 = $n;
- $arrayidx18 = (($ix) + (($13*12)|0)|0);
- $14 = HEAP32[$arrayidx18>>2]|0;
- $add = (($14) + ($mul17))|0;
- HEAP32[$arrayidx18>>2] = $add;
- $15 = $n;
- $arrayidx20 = (($ix) + (($15*12)|0)|0);
- $16 = HEAP32[$arrayidx20>>2]|0;
- $arrayidx22 = (24966 + ($16<<1)|0);
- $17 = HEAP16[$arrayidx22>>1]|0;
- $conv = $17 << 16 >> 16;
- $low_Q13 = $conv;
- $18 = $n;
- $arrayidx23 = (($ix) + (($18*12)|0)|0);
- $19 = HEAP32[$arrayidx23>>2]|0;
- $add25 = (($19) + 1)|0;
- $arrayidx26 = (24966 + ($add25<<1)|0);
- $20 = HEAP16[$arrayidx26>>1]|0;
- $conv27 = $20 << 16 >> 16;
- $21 = $low_Q13;
- $sub28 = (($conv27) - ($21))|0;
- $shr = $sub28 >> 16;
- $mul29 = ($shr*6554)|0;
- $22 = $n;
- $arrayidx30 = (($ix) + (($22*12)|0)|0);
- $23 = HEAP32[$arrayidx30>>2]|0;
- $add32 = (($23) + 1)|0;
- $arrayidx33 = (24966 + ($add32<<1)|0);
- $24 = HEAP16[$arrayidx33>>1]|0;
- $conv34 = $24 << 16 >> 16;
- $25 = $low_Q13;
- $sub35 = (($conv34) - ($25))|0;
- $and = $sub35 & 65535;
- $mul36 = ($and*6554)|0;
- $shr37 = $mul36 >> 16;
- $add38 = (($mul29) + ($shr37))|0;
- $step_Q13 = $add38;
- $26 = $low_Q13;
- $27 = $step_Q13;
- $conv39 = $27&65535;
- $conv40 = $conv39 << 16 >> 16;
- $28 = $n;
- $arrayidx41 = (($ix) + (($28*12)|0)|0);
- $arrayidx42 = ((($arrayidx41)) + 4|0);
- $29 = HEAP32[$arrayidx42>>2]|0;
- $mul43 = $29<<1;
- $add44 = (($mul43) + 1)|0;
- $conv45 = $add44&65535;
- $conv46 = $conv45 << 16 >> 16;
- $mul47 = Math_imul($conv40, $conv46)|0;
- $add48 = (($26) + ($mul47))|0;
- $30 = $pred_Q13$addr;
- $31 = $n;
- $arrayidx49 = (($30) + ($31<<2)|0);
- HEAP32[$arrayidx49>>2] = $add48;
- $32 = $n;
- $inc51 = (($32) + 1)|0;
- $n = $inc51;
- }
- $33 = $pred_Q13$addr;
- $arrayidx53 = ((($33)) + 4|0);
- $34 = HEAP32[$arrayidx53>>2]|0;
- $35 = $pred_Q13$addr;
- $36 = HEAP32[$35>>2]|0;
- $sub55 = (($36) - ($34))|0;
- HEAP32[$35>>2] = $sub55;
- STACKTOP = sp;return;
-}
-function _silk_stereo_decode_mid_only($psRangeDec,$decode_only_mid) {
- $psRangeDec = $psRangeDec|0;
- $decode_only_mid = $decode_only_mid|0;
- var $0 = 0, $1 = 0, $call = 0, $decode_only_mid$addr = 0, $psRangeDec$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psRangeDec$addr = $psRangeDec;
- $decode_only_mid$addr = $decode_only_mid;
- $0 = $psRangeDec$addr;
- $call = (_ec_dec_icdf($0,27648,8)|0);
- $1 = $decode_only_mid$addr;
- HEAP32[$1>>2] = $call;
- STACKTOP = sp;return;
-}
-function _silk_stereo_encode_pred($psRangeEnc,$ix) {
- $psRangeEnc = $psRangeEnc|0;
- $ix = $ix|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx2 = 0;
- var $arrayidx3 = 0, $arrayidx6 = 0, $arrayidx9 = 0, $cmp = 0, $conv = 0, $conv11 = 0, $conv4 = 0, $conv8 = 0, $inc = 0, $ix$addr = 0, $mul = 0, $n = 0, $psRangeEnc$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psRangeEnc$addr = $psRangeEnc;
- $ix$addr = $ix;
- $0 = $ix$addr;
- $arrayidx1 = ((($0)) + 2|0);
- $1 = HEAP8[$arrayidx1>>0]|0;
- $conv = $1 << 24 >> 24;
- $mul = ($conv*5)|0;
- $2 = $ix$addr;
- $arrayidx2 = ((($2)) + 3|0);
- $arrayidx3 = ((($arrayidx2)) + 2|0);
- $3 = HEAP8[$arrayidx3>>0]|0;
- $conv4 = $3 << 24 >> 24;
- $add = (($mul) + ($conv4))|0;
- $n = $add;
- $4 = $psRangeEnc$addr;
- $5 = $n;
- _ec_enc_icdf($4,$5,27623,8);
- $n = 0;
- while(1) {
- $6 = $n;
- $cmp = ($6|0)<(2);
- if (!($cmp)) {
- break;
- }
- $7 = $psRangeEnc$addr;
- $8 = $ix$addr;
- $9 = $n;
- $arrayidx6 = (($8) + (($9*3)|0)|0);
- $10 = HEAP8[$arrayidx6>>0]|0;
- $conv8 = $10 << 24 >> 24;
- _ec_enc_icdf($7,$conv8,27676,8);
- $11 = $psRangeEnc$addr;
- $12 = $ix$addr;
- $13 = $n;
- $arrayidx9 = (($12) + (($13*3)|0)|0);
- $arrayidx10 = ((($arrayidx9)) + 1|0);
- $14 = HEAP8[$arrayidx10>>0]|0;
- $conv11 = $14 << 24 >> 24;
- _ec_enc_icdf($11,$conv11,27683,8);
- $15 = $n;
- $inc = (($15) + 1)|0;
- $n = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_stereo_encode_mid_only($psRangeEnc,$mid_only_flag) {
- $psRangeEnc = $psRangeEnc|0;
- $mid_only_flag = $mid_only_flag|0;
- var $0 = 0, $1 = 0, $conv = 0, $mid_only_flag$addr = 0, $psRangeEnc$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psRangeEnc$addr = $psRangeEnc;
- $mid_only_flag$addr = $mid_only_flag;
- $0 = $psRangeEnc$addr;
- $1 = $mid_only_flag$addr;
- $conv = $1 << 24 >> 24;
- _ec_enc_icdf($0,$conv,27648,8);
- STACKTOP = sp;return;
-}
-function _silk_stereo_find_predictor($ratio_Q14,$x,$y,$mid_res_amp_Q0,$length,$smooth_coef_Q16) {
- $ratio_Q14 = $ratio_Q14|0;
- $x = $x|0;
- $y = $y|0;
- $mid_res_amp_Q0 = $mid_res_amp_Q0|0;
- $length = $length|0;
- $smooth_coef_Q16 = $smooth_coef_Q16|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $9 = 0, $add = 0, $add18 = 0, $add44 = 0, $add45 = 0, $add56 = 0, $add68 = 0, $add70 = 0, $add89 = 0, $add90 = 0, $and = 0, $and13 = 0, $and39 = 0, $and51 = 0, $and63 = 0, $and84 = 0, $arrayidx71 = 0, $arrayidx74 = 0;
- var $arrayidx82 = 0, $arrayidx91 = 0, $arrayidx92 = 0, $call = 0, $call101 = 0, $call26 = 0, $call28 = 0, $call3 = 0, $call35 = 0, $call4 = 0, $call5 = 0, $call72 = 0, $call80 = 0, $cmp = 0, $cmp102 = 0, $cmp106 = 0, $cmp19 = 0, $cmp6 = 0, $cmp94 = 0, $cond = 0;
- var $cond10 = 0, $cond100 = 0, $cond113 = 0, $cond25 = 0, $conv = 0, $conv12 = 0, $conv14 = 0, $conv15 = 0, $conv32 = 0, $conv33 = 0, $conv40 = 0, $conv41 = 0, $conv48 = 0, $conv49 = 0, $conv52 = 0, $conv53 = 0, $conv60 = 0, $conv61 = 0, $conv64 = 0, $conv65 = 0;
- var $conv77 = 0, $conv78 = 0, $conv85 = 0, $conv86 = 0, $corr = 0, $length$addr = 0, $mid_res_amp_Q0$addr = 0, $mul = 0, $mul16 = 0, $mul34 = 0, $mul42 = 0, $mul50 = 0, $mul54 = 0, $mul62 = 0, $mul66 = 0, $mul79 = 0, $mul87 = 0, $nrgx = 0, $nrgy = 0, $pred2_Q10 = 0;
- var $pred_Q13 = 0, $ratio_Q14$addr = 0, $scale = 0, $scale1 = 0, $scale2 = 0, $shl = 0, $shl36 = 0, $shl57 = 0, $shl69 = 0, $shl73 = 0, $shl81 = 0, $shr = 0, $shr11 = 0, $shr17 = 0, $shr2 = 0, $shr27 = 0, $shr31 = 0, $shr43 = 0, $shr47 = 0, $shr55 = 0;
- var $shr59 = 0, $shr67 = 0, $shr76 = 0, $shr88 = 0, $smooth_coef_Q16$addr = 0, $sub = 0, $sub1 = 0, $sub23 = 0, $sub30 = 0, $sub38 = 0, $sub58 = 0, $sub75 = 0, $sub83 = 0, $x$addr = 0, $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $scale1 = sp + 24|0;
- $scale2 = sp + 20|0;
- $nrgx = sp + 16|0;
- $nrgy = sp + 12|0;
- $ratio_Q14$addr = $ratio_Q14;
- $x$addr = $x;
- $y$addr = $y;
- $mid_res_amp_Q0$addr = $mid_res_amp_Q0;
- $length$addr = $length;
- $smooth_coef_Q16$addr = $smooth_coef_Q16;
- $0 = $x$addr;
- $1 = $length$addr;
- _silk_sum_sqr_shift($nrgx,$scale1,$0,$1);
- $2 = $y$addr;
- $3 = $length$addr;
- _silk_sum_sqr_shift($nrgy,$scale2,$2,$3);
- $4 = HEAP32[$scale1>>2]|0;
- $5 = HEAP32[$scale2>>2]|0;
- $call = (_silk_max_int_269($4,$5)|0);
- $scale = $call;
- $6 = $scale;
- $7 = $scale;
- $and = $7 & 1;
- $add = (($6) + ($and))|0;
- $scale = $add;
- $8 = HEAP32[$nrgy>>2]|0;
- $9 = $scale;
- $10 = HEAP32[$scale2>>2]|0;
- $sub = (($9) - ($10))|0;
- $shr = $8 >> $sub;
- HEAP32[$nrgy>>2] = $shr;
- $11 = HEAP32[$nrgx>>2]|0;
- $12 = $scale;
- $13 = HEAP32[$scale1>>2]|0;
- $sub1 = (($12) - ($13))|0;
- $shr2 = $11 >> $sub1;
- HEAP32[$nrgx>>2] = $shr2;
- $14 = HEAP32[$nrgx>>2]|0;
- $call3 = (_silk_max_int_269($14,1)|0);
- HEAP32[$nrgx>>2] = $call3;
- $15 = $x$addr;
- $16 = $y$addr;
- $17 = $scale;
- $18 = $length$addr;
- $call4 = (_silk_inner_prod_aligned_scale($15,$16,$17,$18)|0);
- $corr = $call4;
- $19 = $corr;
- $20 = HEAP32[$nrgx>>2]|0;
- $call5 = (_silk_DIV32_varQ_270($19,$20,13)|0);
- $pred_Q13 = $call5;
- $21 = $pred_Q13;
- $cmp = ($21|0)>(16384);
- if ($cmp) {
- $cond10 = 16384;
- } else {
- $22 = $pred_Q13;
- $cmp6 = ($22|0)<(-16384);
- $23 = $pred_Q13;
- $cond = $cmp6 ? -16384 : $23;
- $cond10 = $cond;
- }
- $pred_Q13 = $cond10;
- $24 = $pred_Q13;
- $shr11 = $24 >> 16;
- $25 = $pred_Q13;
- $conv = $25&65535;
- $conv12 = $conv << 16 >> 16;
- $mul = Math_imul($shr11, $conv12)|0;
- $26 = $pred_Q13;
- $and13 = $26 & 65535;
- $27 = $pred_Q13;
- $conv14 = $27&65535;
- $conv15 = $conv14 << 16 >> 16;
- $mul16 = Math_imul($and13, $conv15)|0;
- $shr17 = $mul16 >> 16;
- $add18 = (($mul) + ($shr17))|0;
- $pred2_Q10 = $add18;
- $28 = $smooth_coef_Q16$addr;
- $29 = $pred2_Q10;
- $cmp19 = ($29|0)>(0);
- $30 = $pred2_Q10;
- $sub23 = (0 - ($30))|0;
- $cond25 = $cmp19 ? $30 : $sub23;
- $call26 = (_silk_max_int_269($28,$cond25)|0);
- $smooth_coef_Q16$addr = $call26;
- $31 = $scale;
- $shr27 = $31 >> 1;
- $scale = $shr27;
- $32 = $mid_res_amp_Q0$addr;
- $33 = HEAP32[$32>>2]|0;
- $34 = HEAP32[$nrgx>>2]|0;
- $call28 = (_silk_SQRT_APPROX($34)|0);
- $35 = $scale;
- $shl = $call28 << $35;
- $36 = $mid_res_amp_Q0$addr;
- $37 = HEAP32[$36>>2]|0;
- $sub30 = (($shl) - ($37))|0;
- $shr31 = $sub30 >> 16;
- $38 = $smooth_coef_Q16$addr;
- $conv32 = $38&65535;
- $conv33 = $conv32 << 16 >> 16;
- $mul34 = Math_imul($shr31, $conv33)|0;
- $39 = HEAP32[$nrgx>>2]|0;
- $call35 = (_silk_SQRT_APPROX($39)|0);
- $40 = $scale;
- $shl36 = $call35 << $40;
- $41 = $mid_res_amp_Q0$addr;
- $42 = HEAP32[$41>>2]|0;
- $sub38 = (($shl36) - ($42))|0;
- $and39 = $sub38 & 65535;
- $43 = $smooth_coef_Q16$addr;
- $conv40 = $43&65535;
- $conv41 = $conv40 << 16 >> 16;
- $mul42 = Math_imul($and39, $conv41)|0;
- $shr43 = $mul42 >> 16;
- $add44 = (($mul34) + ($shr43))|0;
- $add45 = (($33) + ($add44))|0;
- $44 = $mid_res_amp_Q0$addr;
- HEAP32[$44>>2] = $add45;
- $45 = HEAP32[$nrgy>>2]|0;
- $46 = $corr;
- $shr47 = $46 >> 16;
- $47 = $pred_Q13;
- $conv48 = $47&65535;
- $conv49 = $conv48 << 16 >> 16;
- $mul50 = Math_imul($shr47, $conv49)|0;
- $48 = $corr;
- $and51 = $48 & 65535;
- $49 = $pred_Q13;
- $conv52 = $49&65535;
- $conv53 = $conv52 << 16 >> 16;
- $mul54 = Math_imul($and51, $conv53)|0;
- $shr55 = $mul54 >> 16;
- $add56 = (($mul50) + ($shr55))|0;
- $shl57 = $add56 << 4;
- $sub58 = (($45) - ($shl57))|0;
- HEAP32[$nrgy>>2] = $sub58;
- $50 = HEAP32[$nrgy>>2]|0;
- $51 = HEAP32[$nrgx>>2]|0;
- $shr59 = $51 >> 16;
- $52 = $pred2_Q10;
- $conv60 = $52&65535;
- $conv61 = $conv60 << 16 >> 16;
- $mul62 = Math_imul($shr59, $conv61)|0;
- $53 = HEAP32[$nrgx>>2]|0;
- $and63 = $53 & 65535;
- $54 = $pred2_Q10;
- $conv64 = $54&65535;
- $conv65 = $conv64 << 16 >> 16;
- $mul66 = Math_imul($and63, $conv65)|0;
- $shr67 = $mul66 >> 16;
- $add68 = (($mul62) + ($shr67))|0;
- $shl69 = $add68 << 6;
- $add70 = (($50) + ($shl69))|0;
- HEAP32[$nrgy>>2] = $add70;
- $55 = $mid_res_amp_Q0$addr;
- $arrayidx71 = ((($55)) + 4|0);
- $56 = HEAP32[$arrayidx71>>2]|0;
- $57 = HEAP32[$nrgy>>2]|0;
- $call72 = (_silk_SQRT_APPROX($57)|0);
- $58 = $scale;
- $shl73 = $call72 << $58;
- $59 = $mid_res_amp_Q0$addr;
- $arrayidx74 = ((($59)) + 4|0);
- $60 = HEAP32[$arrayidx74>>2]|0;
- $sub75 = (($shl73) - ($60))|0;
- $shr76 = $sub75 >> 16;
- $61 = $smooth_coef_Q16$addr;
- $conv77 = $61&65535;
- $conv78 = $conv77 << 16 >> 16;
- $mul79 = Math_imul($shr76, $conv78)|0;
- $62 = HEAP32[$nrgy>>2]|0;
- $call80 = (_silk_SQRT_APPROX($62)|0);
- $63 = $scale;
- $shl81 = $call80 << $63;
- $64 = $mid_res_amp_Q0$addr;
- $arrayidx82 = ((($64)) + 4|0);
- $65 = HEAP32[$arrayidx82>>2]|0;
- $sub83 = (($shl81) - ($65))|0;
- $and84 = $sub83 & 65535;
- $66 = $smooth_coef_Q16$addr;
- $conv85 = $66&65535;
- $conv86 = $conv85 << 16 >> 16;
- $mul87 = Math_imul($and84, $conv86)|0;
- $shr88 = $mul87 >> 16;
- $add89 = (($mul79) + ($shr88))|0;
- $add90 = (($56) + ($add89))|0;
- $67 = $mid_res_amp_Q0$addr;
- $arrayidx91 = ((($67)) + 4|0);
- HEAP32[$arrayidx91>>2] = $add90;
- $68 = $mid_res_amp_Q0$addr;
- $arrayidx92 = ((($68)) + 4|0);
- $69 = HEAP32[$arrayidx92>>2]|0;
- $70 = $mid_res_amp_Q0$addr;
- $71 = HEAP32[$70>>2]|0;
- $cmp94 = ($71|0)>(1);
- if ($cmp94) {
- $72 = $mid_res_amp_Q0$addr;
- $73 = HEAP32[$72>>2]|0;
- $cond100 = $73;
- } else {
- $cond100 = 1;
- }
- $call101 = (_silk_DIV32_varQ_270($69,$cond100,14)|0);
- $74 = $ratio_Q14$addr;
- HEAP32[$74>>2] = $call101;
- $75 = $ratio_Q14$addr;
- $76 = HEAP32[$75>>2]|0;
- $cmp102 = ($76|0)>(32767);
- if ($cmp102) {
- $cond113 = 32767;
- $81 = $ratio_Q14$addr;
- HEAP32[$81>>2] = $cond113;
- $82 = $pred_Q13;
- STACKTOP = sp;return ($82|0);
- }
- $77 = $ratio_Q14$addr;
- $78 = HEAP32[$77>>2]|0;
- $cmp106 = ($78|0)<(0);
- if ($cmp106) {
- $cond113 = 0;
- $81 = $ratio_Q14$addr;
- HEAP32[$81>>2] = $cond113;
- $82 = $pred_Q13;
- STACKTOP = sp;return ($82|0);
- }
- $79 = $ratio_Q14$addr;
- $80 = HEAP32[$79>>2]|0;
- $cond113 = $80;
- $81 = $ratio_Q14$addr;
- HEAP32[$81>>2] = $cond113;
- $82 = $pred_Q13;
- STACKTOP = sp;return ($82|0);
-}
-function _silk_max_int_269($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_DIV32_varQ_270($a32,$b32,$Qres) {
- $a32 = $a32|0;
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $a32$addr = 0, $a32_nrm = 0, $a_headrm = 0, $add = 0, $add33 = 0, $add34 = 0, $add35 = 0, $and = 0;
- var $and28 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $call8 = 0, $cmp = 0, $cmp2 = 0, $cmp38 = 0, $cmp44 = 0, $cmp49 = 0, $cmp57 = 0, $cmp70 = 0, $cmp78 = 0, $cmp92 = 0, $cond = 0, $cond7 = 0, $cond89 = 0, $conv = 0;
- var $conv12 = 0, $conv13 = 0, $conv14 = 0, $conv25 = 0, $conv26 = 0, $conv29 = 0, $conv30 = 0, $div = 0, $lshift = 0, $mul = 0, $mul15 = 0, $mul27 = 0, $mul31 = 0, $result = 0, $retval = 0, $shl = 0, $shl10 = 0, $shl22 = 0, $shl91 = 0, $shr = 0;
- var $shr11 = 0, $shr16 = 0, $shr24 = 0, $shr32 = 0, $shr41 = 0, $shr43 = 0, $shr48 = 0, $shr53 = 0, $shr56 = 0, $shr61 = 0, $shr69 = 0, $shr74 = 0, $shr77 = 0, $shr82 = 0, $shr95 = 0, $sub = 0, $sub1 = 0, $sub23 = 0, $sub36 = 0, $sub37 = 0;
- var $sub40 = 0, $sub42 = 0, $sub47 = 0, $sub5 = 0, $sub52 = 0, $sub55 = 0, $sub60 = 0, $sub73 = 0, $sub76 = 0, $sub81 = 0, $sub9 = 0, $sub90 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $a32$addr = $a32;
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $a32$addr;
- $cmp = ($0|0)>(0);
- $1 = $a32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_272($cond)|0);
- $sub1 = (($call) - 1)|0;
- $a_headrm = $sub1;
- $2 = $a32$addr;
- $3 = $a_headrm;
- $shl = $2 << $3;
- $a32_nrm = $shl;
- $4 = $b32$addr;
- $cmp2 = ($4|0)>(0);
- $5 = $b32$addr;
- $sub5 = (0 - ($5))|0;
- $cond7 = $cmp2 ? $5 : $sub5;
- $call8 = (_silk_CLZ32_272($cond7)|0);
- $sub9 = (($call8) - 1)|0;
- $b_headrm = $sub9;
- $6 = $b32$addr;
- $7 = $b_headrm;
- $shl10 = $6 << $7;
- $b32_nrm = $shl10;
- $8 = $b32_nrm;
- $shr = $8 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $9 = $a32_nrm;
- $shr11 = $9 >> 16;
- $10 = $b32_inv;
- $conv = $10&65535;
- $conv12 = $conv << 16 >> 16;
- $mul = Math_imul($shr11, $conv12)|0;
- $11 = $a32_nrm;
- $and = $11 & 65535;
- $12 = $b32_inv;
- $conv13 = $12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul) + ($shr16))|0;
- $result = $add;
- $13 = $a32_nrm;
- $14 = $b32_nrm;
- $15 = ($14|0)<(0);
- $16 = $15 << 31 >> 31;
- $17 = $result;
- $18 = ($17|0)<(0);
- $19 = $18 << 31 >> 31;
- $20 = (___muldi3(($14|0),($16|0),($17|0),($19|0))|0);
- $21 = tempRet0;
- $22 = (_bitshift64Ashr(($20|0),($21|0),32)|0);
- $23 = tempRet0;
- $shl22 = $22 << 3;
- $sub23 = (($13) - ($shl22))|0;
- $a32_nrm = $sub23;
- $24 = $result;
- $25 = $a32_nrm;
- $shr24 = $25 >> 16;
- $26 = $b32_inv;
- $conv25 = $26&65535;
- $conv26 = $conv25 << 16 >> 16;
- $mul27 = Math_imul($shr24, $conv26)|0;
- $27 = $a32_nrm;
- $and28 = $27 & 65535;
- $28 = $b32_inv;
- $conv29 = $28&65535;
- $conv30 = $conv29 << 16 >> 16;
- $mul31 = Math_imul($and28, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul27) + ($shr32))|0;
- $add34 = (($24) + ($add33))|0;
- $result = $add34;
- $29 = $a_headrm;
- $add35 = (29 + ($29))|0;
- $30 = $b_headrm;
- $sub36 = (($add35) - ($30))|0;
- $31 = $Qres$addr;
- $sub37 = (($sub36) - ($31))|0;
- $lshift = $sub37;
- $32 = $lshift;
- $cmp38 = ($32|0)<(0);
- $33 = $lshift;
- if (!($cmp38)) {
- $cmp92 = ($33|0)<(32);
- if ($cmp92) {
- $48 = $result;
- $49 = $lshift;
- $shr95 = $48 >> $49;
- $retval = $shr95;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- } else {
- $retval = 0;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- }
- }
- $sub40 = (0 - ($33))|0;
- $shr41 = -2147483648 >> $sub40;
- $34 = $lshift;
- $sub42 = (0 - ($34))|0;
- $shr43 = 2147483647 >> $sub42;
- $cmp44 = ($shr41|0)>($shr43|0);
- $35 = $result;
- $36 = $lshift;
- $sub47 = (0 - ($36))|0;
- do {
- if ($cmp44) {
- $shr48 = -2147483648 >> $sub47;
- $cmp49 = ($35|0)>($shr48|0);
- if ($cmp49) {
- $37 = $lshift;
- $sub52 = (0 - ($37))|0;
- $shr53 = -2147483648 >> $sub52;
- $cond89 = $shr53;
- break;
- }
- $38 = $result;
- $39 = $lshift;
- $sub55 = (0 - ($39))|0;
- $shr56 = 2147483647 >> $sub55;
- $cmp57 = ($38|0)<($shr56|0);
- if ($cmp57) {
- $40 = $lshift;
- $sub60 = (0 - ($40))|0;
- $shr61 = 2147483647 >> $sub60;
- $cond89 = $shr61;
- break;
- } else {
- $41 = $result;
- $cond89 = $41;
- break;
- }
- } else {
- $shr69 = 2147483647 >> $sub47;
- $cmp70 = ($35|0)>($shr69|0);
- if ($cmp70) {
- $42 = $lshift;
- $sub73 = (0 - ($42))|0;
- $shr74 = 2147483647 >> $sub73;
- $cond89 = $shr74;
- break;
- }
- $43 = $result;
- $44 = $lshift;
- $sub76 = (0 - ($44))|0;
- $shr77 = -2147483648 >> $sub76;
- $cmp78 = ($43|0)<($shr77|0);
- if ($cmp78) {
- $45 = $lshift;
- $sub81 = (0 - ($45))|0;
- $shr82 = -2147483648 >> $sub81;
- $cond89 = $shr82;
- break;
- } else {
- $46 = $result;
- $cond89 = $46;
- break;
- }
- }
- } while(0);
- $47 = $lshift;
- $sub90 = (0 - ($47))|0;
- $shl91 = $cond89 << $sub90;
- $retval = $shl91;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
-}
-function _silk_SQRT_APPROX($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add17 = 0, $and = 0, $and9 = 0, $cmp = 0, $conv = 0, $conv10 = 0, $conv11 = 0;
- var $conv13 = 0, $conv14 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $frac_Q7 = 0, $lz = 0, $mul = 0, $mul12 = 0, $mul15 = 0, $mul8 = 0, $retval = 0, $shr = 0, $shr16 = 0, $shr3 = 0, $shr4 = 0, $tobool = 0, $x$addr = 0, $y = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $lz = sp + 4|0;
- $frac_Q7 = sp;
- $x$addr = $x;
- $0 = $x$addr;
- $cmp = ($0|0)<=(0);
- if ($cmp) {
- $retval = 0;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
- }
- $1 = $x$addr;
- _silk_CLZ_FRAC_271($1,$lz,$frac_Q7);
- $2 = HEAP32[$lz>>2]|0;
- $and = $2 & 1;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $y = 32768;
- } else {
- $y = 46214;
- }
- $3 = HEAP32[$lz>>2]|0;
- $shr = $3 >> 1;
- $4 = $y;
- $shr3 = $4 >> $shr;
- $y = $shr3;
- $5 = $y;
- $6 = $y;
- $shr4 = $6 >> 16;
- $7 = HEAP32[$frac_Q7>>2]|0;
- $conv = $7&65535;
- $conv5 = $conv << 16 >> 16;
- $mul = ($conv5*213)|0;
- $conv6 = $mul&65535;
- $conv7 = $conv6 << 16 >> 16;
- $mul8 = Math_imul($shr4, $conv7)|0;
- $8 = $y;
- $and9 = $8 & 65535;
- $9 = HEAP32[$frac_Q7>>2]|0;
- $conv10 = $9&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = ($conv11*213)|0;
- $conv13 = $mul12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and9, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul8) + ($shr16))|0;
- $add17 = (($5) + ($add))|0;
- $y = $add17;
- $10 = $y;
- $retval = $10;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
-}
-function _silk_CLZ_FRAC_271($in,$lz,$frac_Q7) {
- $in = $in|0;
- $lz = $lz|0;
- $frac_Q7 = $frac_Q7|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $and = 0, $call = 0, $call1 = 0, $frac_Q7$addr = 0, $in$addr = 0, $lz$addr = 0, $lzeros = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in$addr = $in;
- $lz$addr = $lz;
- $frac_Q7$addr = $frac_Q7;
- $0 = $in$addr;
- $call = (_silk_CLZ32_272($0)|0);
- $lzeros = $call;
- $1 = $lzeros;
- $2 = $lz$addr;
- HEAP32[$2>>2] = $1;
- $3 = $in$addr;
- $4 = $lzeros;
- $sub = (24 - ($4))|0;
- $call1 = (_silk_ROR32_273($3,$sub)|0);
- $and = $call1 & 127;
- $5 = $frac_Q7$addr;
- HEAP32[$5>>2] = $and;
- STACKTOP = sp;return;
-}
-function _silk_CLZ32_272($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_ROR32_273($a32,$rot) {
- $a32 = $a32|0;
- $rot = $rot|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $a32$addr = 0, $cmp = 0, $cmp1 = 0, $m = 0, $or = 0, $or8 = 0;
- var $r = 0, $retval = 0, $rot$addr = 0, $shl = 0, $shl6 = 0, $shr = 0, $shr7 = 0, $sub = 0, $sub3 = 0, $sub5 = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a32$addr = $a32;
- $rot$addr = $rot;
- $0 = $a32$addr;
- $x = $0;
- $1 = $rot$addr;
- $r = $1;
- $2 = $rot$addr;
- $sub = (0 - ($2))|0;
- $m = $sub;
- $3 = $rot$addr;
- $cmp = ($3|0)==(0);
- if ($cmp) {
- $4 = $a32$addr;
- $retval = $4;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- $5 = $rot$addr;
- $cmp1 = ($5|0)<(0);
- $6 = $x;
- if ($cmp1) {
- $7 = $m;
- $shl = $6 << $7;
- $8 = $x;
- $9 = $m;
- $sub3 = (32 - ($9))|0;
- $shr = $8 >>> $sub3;
- $or = $shl | $shr;
- $retval = $or;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- } else {
- $10 = $r;
- $sub5 = (32 - ($10))|0;
- $shl6 = $6 << $sub5;
- $11 = $x;
- $12 = $r;
- $shr7 = $11 >>> $12;
- $or8 = $shl6 | $shr7;
- $retval = $or8;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- return (0)|0;
-}
-function _silk_stereo_quant_pred($pred_Q13,$ix) {
- $pred_Q13 = $pred_Q13|0;
- $ix = $ix|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add12 = 0, $add20 = 0, $add24 = 0, $add6 = 0, $and = 0, $arrayidx = 0;
- var $arrayidx25 = 0, $arrayidx29 = 0, $arrayidx37 = 0, $arrayidx4 = 0, $arrayidx40 = 0, $arrayidx41 = 0, $arrayidx45 = 0, $arrayidx49 = 0, $arrayidx50 = 0, $arrayidx51 = 0, $arrayidx52 = 0, $arrayidx55 = 0, $arrayidx60 = 0, $arrayidx64 = 0, $arrayidx7 = 0, $cmp = 0, $cmp14 = 0, $cmp2 = 0, $cmp27 = 0, $cmp34 = 0;
- var $cond = 0, $conv = 0, $conv17 = 0, $conv18 = 0, $conv21 = 0, $conv22 = 0, $conv36 = 0, $conv39 = 0, $conv47 = 0, $conv48 = 0, $conv5 = 0, $conv53 = 0, $conv57 = 0, $conv59 = 0, $conv8 = 0, $div = 0, $err_Q13 = 0, $err_min_Q13 = 0, $i = 0, $inc = 0;
- var $inc43 = 0, $inc62 = 0, $ix$addr = 0, $j = 0, $low_Q13 = 0, $lvl_Q13 = 0, $mul = 0, $mul10 = 0, $mul19 = 0, $mul23 = 0, $mul54 = 0, $n = 0, $pred_Q13$addr = 0, $quant_pred_Q13 = 0, $shr = 0, $shr11 = 0, $step_Q13 = 0, $sub = 0, $sub26 = 0, $sub30 = 0;
- var $sub33 = 0, $sub58 = 0, $sub66 = 0, $sub9 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $pred_Q13$addr = $pred_Q13;
- $ix$addr = $ix;
- $quant_pred_Q13 = 0;
- $n = 0;
- while(1) {
- $0 = $n;
- $cmp = ($0|0)<(2);
- if (!($cmp)) {
- break;
- }
- $err_min_Q13 = 2147483647;
- $i = 0;
- L4: while(1) {
- $1 = $i;
- $cmp2 = ($1|0)<(15);
- if (!($cmp2)) {
- break;
- }
- $2 = $i;
- $arrayidx = (24966 + ($2<<1)|0);
- $3 = HEAP16[$arrayidx>>1]|0;
- $conv = $3 << 16 >> 16;
- $low_Q13 = $conv;
- $4 = $i;
- $add = (($4) + 1)|0;
- $arrayidx4 = (24966 + ($add<<1)|0);
- $5 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $5 << 16 >> 16;
- $6 = $low_Q13;
- $sub = (($conv5) - ($6))|0;
- $shr = $sub >> 16;
- $mul = ($shr*6554)|0;
- $7 = $i;
- $add6 = (($7) + 1)|0;
- $arrayidx7 = (24966 + ($add6<<1)|0);
- $8 = HEAP16[$arrayidx7>>1]|0;
- $conv8 = $8 << 16 >> 16;
- $9 = $low_Q13;
- $sub9 = (($conv8) - ($9))|0;
- $and = $sub9 & 65535;
- $mul10 = ($and*6554)|0;
- $shr11 = $mul10 >> 16;
- $add12 = (($mul) + ($shr11))|0;
- $step_Q13 = $add12;
- $j = 0;
- while(1) {
- $10 = $j;
- $cmp14 = ($10|0)<(5);
- if (!($cmp14)) {
- break;
- }
- $11 = $low_Q13;
- $12 = $step_Q13;
- $conv17 = $12&65535;
- $conv18 = $conv17 << 16 >> 16;
- $13 = $j;
- $mul19 = $13<<1;
- $add20 = (($mul19) + 1)|0;
- $conv21 = $add20&65535;
- $conv22 = $conv21 << 16 >> 16;
- $mul23 = Math_imul($conv18, $conv22)|0;
- $add24 = (($11) + ($mul23))|0;
- $lvl_Q13 = $add24;
- $14 = $pred_Q13$addr;
- $15 = $n;
- $arrayidx25 = (($14) + ($15<<2)|0);
- $16 = HEAP32[$arrayidx25>>2]|0;
- $17 = $lvl_Q13;
- $sub26 = (($16) - ($17))|0;
- $cmp27 = ($sub26|0)>(0);
- $18 = $pred_Q13$addr;
- $19 = $n;
- $arrayidx29 = (($18) + ($19<<2)|0);
- $20 = HEAP32[$arrayidx29>>2]|0;
- $21 = $lvl_Q13;
- $sub30 = (($20) - ($21))|0;
- $sub33 = (0 - ($sub30))|0;
- $cond = $cmp27 ? $sub30 : $sub33;
- $err_Q13 = $cond;
- $22 = $err_Q13;
- $23 = $err_min_Q13;
- $cmp34 = ($22|0)<($23|0);
- if (!($cmp34)) {
- break L4;
- }
- $24 = $err_Q13;
- $err_min_Q13 = $24;
- $25 = $lvl_Q13;
- $quant_pred_Q13 = $25;
- $26 = $i;
- $conv36 = $26&255;
- $27 = $ix$addr;
- $28 = $n;
- $arrayidx37 = (($27) + (($28*3)|0)|0);
- HEAP8[$arrayidx37>>0] = $conv36;
- $29 = $j;
- $conv39 = $29&255;
- $30 = $ix$addr;
- $31 = $n;
- $arrayidx40 = (($30) + (($31*3)|0)|0);
- $arrayidx41 = ((($arrayidx40)) + 1|0);
- HEAP8[$arrayidx41>>0] = $conv39;
- $32 = $j;
- $inc = (($32) + 1)|0;
- $j = $inc;
- }
- $33 = $i;
- $inc43 = (($33) + 1)|0;
- $i = $inc43;
- }
- $34 = $ix$addr;
- $35 = $n;
- $arrayidx45 = (($34) + (($35*3)|0)|0);
- $36 = HEAP8[$arrayidx45>>0]|0;
- $conv47 = $36 << 24 >> 24;
- $div = (($conv47|0) / 3)&-1;
- $conv48 = $div&255;
- $37 = $ix$addr;
- $38 = $n;
- $arrayidx49 = (($37) + (($38*3)|0)|0);
- $arrayidx50 = ((($arrayidx49)) + 2|0);
- HEAP8[$arrayidx50>>0] = $conv48;
- $39 = $ix$addr;
- $40 = $n;
- $arrayidx51 = (($39) + (($40*3)|0)|0);
- $arrayidx52 = ((($arrayidx51)) + 2|0);
- $41 = HEAP8[$arrayidx52>>0]|0;
- $conv53 = $41 << 24 >> 24;
- $mul54 = ($conv53*3)|0;
- $42 = $ix$addr;
- $43 = $n;
- $arrayidx55 = (($42) + (($43*3)|0)|0);
- $44 = HEAP8[$arrayidx55>>0]|0;
- $conv57 = $44 << 24 >> 24;
- $sub58 = (($conv57) - ($mul54))|0;
- $conv59 = $sub58&255;
- HEAP8[$arrayidx55>>0] = $conv59;
- $45 = $quant_pred_Q13;
- $46 = $pred_Q13$addr;
- $47 = $n;
- $arrayidx60 = (($46) + ($47<<2)|0);
- HEAP32[$arrayidx60>>2] = $45;
- $48 = $n;
- $inc62 = (($48) + 1)|0;
- $n = $inc62;
- }
- $49 = $pred_Q13$addr;
- $arrayidx64 = ((($49)) + 4|0);
- $50 = HEAP32[$arrayidx64>>2]|0;
- $51 = $pred_Q13$addr;
- $52 = HEAP32[$51>>2]|0;
- $sub66 = (($52) - ($50))|0;
- HEAP32[$51>>2] = $sub66;
- STACKTOP = sp;return;
-}
-function _silk_encode_do_VAD_FLP($psEnc) {
- $psEnc = $psEnc|0;
- var $$sink = 0, $$sink2 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
- var $8 = 0, $9 = 0, $VAD_flags = 0, $VAD_flags31 = 0, $VAD_flags31$sink = 0, $add$ptr = 0, $arrayidx34 = 0, $cmp = 0, $cmp13 = 0, $cmp8 = 0, $inDTX18 = 0, $inDTX26 = 0, $inc = 0, $indices = 0, $indices28 = 0, $inputBuf = 0, $nFramesEncoded33 = 0, $noSpeechCounter = 0, $noSpeechCounter12 = 0, $noSpeechCounter16 = 0;
- var $noSpeechCounter24 = 0, $noSpeechCounter7 = 0, $psEnc$addr = 0, $sCmn17$sink = 0, $signalType = 0, $signalType29 = 0, $speech_activity_Q8 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psEnc$addr = $psEnc;
- $0 = $psEnc$addr;
- $1 = $psEnc$addr;
- $inputBuf = ((($1)) + 5128|0);
- $add$ptr = ((($inputBuf)) + 2|0);
- (_silk_VAD_GetSA_Q8_c($0,$add$ptr)|0);
- $2 = $psEnc$addr;
- $speech_activity_Q8 = ((($2)) + 4556|0);
- $3 = HEAP32[$speech_activity_Q8>>2]|0;
- $cmp = ($3|0)<(13);
- $4 = $psEnc$addr;
- if (!($cmp)) {
- $noSpeechCounter24 = ((($4)) + 6116|0);
- HEAP32[$noSpeechCounter24>>2] = 0;
- $15 = $psEnc$addr;
- $inDTX26 = ((($15)) + 6112|0);
- HEAP32[$inDTX26>>2] = 0;
- $16 = $psEnc$addr;
- $indices28 = ((($16)) + 4768|0);
- $signalType29 = ((($indices28)) + 29|0);
- HEAP8[$signalType29>>0] = 1;
- $17 = $psEnc$addr;
- $VAD_flags31 = ((($17)) + 4752|0);
- $18 = $psEnc$addr;
- $$sink = 1;$$sink2 = $18;$VAD_flags31$sink = $VAD_flags31;
- $nFramesEncoded33 = ((($$sink2)) + 5780|0);
- $19 = HEAP32[$nFramesEncoded33>>2]|0;
- $arrayidx34 = (($VAD_flags31$sink) + ($19)|0);
- HEAP8[$arrayidx34>>0] = $$sink;
- STACKTOP = sp;return;
- }
- $indices = ((($4)) + 4768|0);
- $signalType = ((($indices)) + 29|0);
- HEAP8[$signalType>>0] = 0;
- $5 = $psEnc$addr;
- $noSpeechCounter = ((($5)) + 6116|0);
- $6 = HEAP32[$noSpeechCounter>>2]|0;
- $inc = (($6) + 1)|0;
- HEAP32[$noSpeechCounter>>2] = $inc;
- $7 = $psEnc$addr;
- $noSpeechCounter7 = ((($7)) + 6116|0);
- $8 = HEAP32[$noSpeechCounter7>>2]|0;
- $cmp8 = ($8|0)<(10);
- $9 = $psEnc$addr;
- if ($cmp8) {
- $sCmn17$sink = $9;
- label = 5;
- } else {
- $noSpeechCounter12 = ((($9)) + 6116|0);
- $10 = HEAP32[$noSpeechCounter12>>2]|0;
- $cmp13 = ($10|0)>(30);
- if ($cmp13) {
- $11 = $psEnc$addr;
- $noSpeechCounter16 = ((($11)) + 6116|0);
- HEAP32[$noSpeechCounter16>>2] = 10;
- $12 = $psEnc$addr;
- $sCmn17$sink = $12;
- label = 5;
- }
- }
- if ((label|0) == 5) {
- $inDTX18 = ((($sCmn17$sink)) + 6112|0);
- HEAP32[$inDTX18>>2] = 0;
- }
- $13 = $psEnc$addr;
- $VAD_flags = ((($13)) + 4752|0);
- $14 = $psEnc$addr;
- $$sink = 0;$$sink2 = $14;$VAD_flags31$sink = $VAD_flags;
- $nFramesEncoded33 = ((($$sink2)) + 5780|0);
- $19 = HEAP32[$nFramesEncoded33>>2]|0;
- $arrayidx34 = (($VAD_flags31$sink) + ($19)|0);
- HEAP8[$arrayidx34>>0] = $$sink;
- STACKTOP = sp;return;
-}
-function _silk_encode_frame_FLP($psEnc,$pnBytesOut,$psRangeEnc,$condCoding,$maxBits,$useCBR) {
- $psEnc = $psEnc|0;
- $pnBytesOut = $pnBytesOut|0;
- $psRangeEnc = $psRangeEnc|0;
- $condCoding = $condCoding|0;
- $maxBits = $maxBits|0;
- $useCBR = $useCBR|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0;
- var $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0;
- var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0;
- var $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0;
- var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $GainsUnq_Q16 = 0, $GainsUnq_Q16218 = 0, $GainsUnq_Q16227 = 0, $GainsUnq_Q16232 = 0, $GainsUnq_Q16243 = 0, $GainsUnq_Q16248 = 0, $Lambda = 0, $LastGainIndex_copy2 = 0, $Seed = 0;
- var $Seed45 = 0, $Seed65 = 0, $add = 0, $add$ptr = 0, $add$ptr10 = 0, $add$ptr13 = 0, $add$ptr17 = 0, $add$ptr6 = 0, $add157 = 0, $add172 = 0, $add180 = 0, $add185 = 0, $add191 = 0, $add224 = 0, $add238 = 0, $add254 = 0, $add30 = 0.0, $add310 = 0, $add328 = 0, $and = 0;
- var $and150 = 0, $and168 = 0, $and21 = 0, $and220 = 0, $and234 = 0, $and250 = 0, $arch = 0, $arrayidx = 0, $arrayidx214 = 0, $arrayidx219 = 0, $arrayidx228 = 0, $arrayidx233 = 0, $arrayidx244 = 0, $arrayidx249 = 0, $arrayidx258 = 0, $arrayidx288 = 0, $arrayidx291 = 0, $arrayidx304 = 0, $arrayidx320 = 0, $call = 0;
- var $call158 = 0, $call159 = 0, $call163 = 0, $call281 = 0, $call327 = 0, $call90 = 0, $cmp = 0, $cmp102 = 0, $cmp107 = 0, $cmp109 = 0, $cmp117 = 0, $cmp120 = 0, $cmp123 = 0, $cmp132 = 0, $cmp136 = 0, $cmp151 = 0, $cmp160 = 0, $cmp186 = 0, $cmp198 = 0, $cmp211 = 0;
- var $cmp225 = 0, $cmp239 = 0, $cmp271 = 0, $cmp285 = 0, $cmp50 = 0, $cmp53 = 0, $cmp57 = 0, $cmp91 = 0, $cmp93 = 0, $cmp96 = 0, $cond256 = 0, $condCoding$addr = 0, $conv = 0, $conv128 = 0, $conv135 = 0, $conv166 = 0, $conv169 = 0, $conv173 = 0, $conv181 = 0, $conv182 = 0;
- var $conv192 = 0, $conv194 = 0, $conv204 = 0, $conv216 = 0, $conv22 = 0.0, $conv221 = 0, $conv230 = 0, $conv235 = 0, $conv246 = 0, $conv251 = 0, $conv272 = 0, $conv289 = 0.0, $conv46 = 0, $conv62 = 0, $conv81 = 0, $conv84 = 0, $div = 0, $div179 = 0, $div290 = 0.0, $ec_buf_copy = 0;
- var $ec_prevLagIndex = 0, $ec_prevLagIndex67 = 0, $ec_prevLagIndex_copy = 0, $ec_prevSignalType = 0, $ec_prevSignalType69 = 0, $ec_prevSignalType_copy = 0, $first_frame_after_reset = 0, $found_lower = 0, $found_upper = 0, $frameCounter = 0, $frame_length = 0, $frame_length156 = 0, $frame_length19 = 0, $frame_length28 = 0, $frame_length303 = 0, $frame_length89 = 0, $fs_kHz = 0, $fs_kHz25 = 0, $fs_kHz308 = 0, $gainMult_Q8 = 0;
- var $gainMult_lower = 0, $gainMult_upper = 0, $gain_factor_Q16 = 0, $gainsID = 0, $gainsID_lower = 0, $gainsID_upper = 0, $i = 0, $inc = 0, $inc260 = 0, $inc293 = 0, $inc296 = 0, $inc31 = 0, $indices = 0, $indices265 = 0, $indices276 = 0, $indices323 = 0, $indices39 = 0, $indices44 = 0, $indices64 = 0, $indices71 = 0;
- var $indices80 = 0, $indices83 = 0, $inputBuf = 0, $inputBuf15 = 0, $iter = 0, $lastGainIndexPrev = 0, $ltp_mem_length = 0, $ltp_mem_length306 = 0, $ltp_mem_length5 = 0, $maxBits$addr = 0, $maxIter = 0, $mul = 0, $mul126 = 0.0, $mul167 = 0, $mul170 = 0, $mul177 = 0, $mul217 = 0, $mul222 = 0, $mul23 = 0.0, $mul231 = 0;
- var $mul236 = 0, $mul247 = 0, $mul252 = 0, $mul26 = 0, $mul29 = 0, $mul309 = 0, $mul311 = 0, $nBits = 0, $nBits_lower = 0, $nBits_upper = 0, $nFramesEncoded = 0, $nb_subfr = 0, $nb_subfr210 = 0, $nb_subfr274 = 0, $nb_subfr280 = 0, $nb_subfr284 = 0, $nb_subfr318 = 0, $offs = 0, $offs141 = 0, $or$cond = 0;
- var $or$cond1 = 0, $pGains_Q16 = 0, $pitchL = 0, $pnBytesOut$addr = 0, $prefillFlag = 0, $prefillFlag313 = 0, $prevLag = 0, $prevSignalType = 0, $psEnc$addr = 0, $psRangeEnc$addr = 0, $pulses = 0, $pulses86 = 0, $quantOffsetType = 0, $res_pitch = 0, $res_pitch_frame = 0, $ret = 0, $retval = 0, $sEncCtrl = 0, $sLP = 0, $sNSQ = 0;
- var $sNSQ114 = 0, $sNSQ143 = 0, $sNSQ61 = 0, $sNSQ73 = 0, $sNSQ_copy = 0, $sNSQ_copy2 = 0, $sRangeEnc_copy = 0, $sRangeEnc_copy2 = 0, $sShape = 0, $sShape144 = 0, $sShape262 = 0, $sShape269 = 0, $seed_copy = 0, $shl = 0, $shl257 = 0, $shr = 0, $shr165 = 0, $shr171 = 0, $shr184 = 0, $shr190 = 0;
- var $shr196 = 0, $shr202 = 0, $shr215 = 0, $shr223 = 0, $shr229 = 0, $shr237 = 0, $shr245 = 0, $shr253 = 0, $shr329 = 0, $signalType = 0, $signalType324 = 0, $sub = 0, $sub131 = 0, $sub154 = 0, $sub175 = 0, $sub176 = 0, $sub178 = 0, $sub183 = 0, $sub189 = 0, $sub195 = 0;
- var $sub197 = 0, $sub201 = 0, $sub203 = 0, $sub319 = 0, $tobool = 0, $tobool105 = 0, $tobool314 = 0, $useCBR$addr = 0, $x_buf = 0, $x_buf299 = 0, $x_buf301 = 0, $x_frame = 0, $xfw = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 15152|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(15152|0);
- $sEncCtrl = sp + 12920|0;
- $xfw = sp + 11608|0;
- $res_pitch = sp + 8920|0;
- $sRangeEnc_copy = sp + 8872|0;
- $sRangeEnc_copy2 = sp + 8824|0;
- $sNSQ_copy = sp + 4444|0;
- $sNSQ_copy2 = sp + 64|0;
- $pGains_Q16 = sp + 8|0;
- $ec_buf_copy = sp + 13864|0;
- $psEnc$addr = $psEnc;
- $pnBytesOut$addr = $pnBytesOut;
- $psRangeEnc$addr = $psRangeEnc;
- $condCoding$addr = $condCoding;
- $maxBits$addr = $maxBits;
- $useCBR$addr = $useCBR;
- $ret = 0;
- $gainMult_upper = 0;
- $gainMult_lower = 0;
- $nBits_upper = 0;
- $nBits_lower = 0;
- $LastGainIndex_copy2 = 0;
- $0 = $psEnc$addr;
- $frameCounter = ((($0)) + 4644|0);
- $1 = HEAP32[$frameCounter>>2]|0;
- $inc = (($1) + 1)|0;
- HEAP32[$frameCounter>>2] = $inc;
- $and = $1 & 3;
- $conv = $and&255;
- $2 = $psEnc$addr;
- $indices = ((($2)) + 4768|0);
- $Seed = ((($indices)) + 34|0);
- HEAP8[$Seed>>0] = $conv;
- $3 = $psEnc$addr;
- $x_buf = ((($3)) + 9356|0);
- $4 = $psEnc$addr;
- $ltp_mem_length = ((($4)) + 4616|0);
- $5 = HEAP32[$ltp_mem_length>>2]|0;
- $add$ptr = (($x_buf) + ($5<<2)|0);
- $x_frame = $add$ptr;
- $6 = $psEnc$addr;
- $ltp_mem_length5 = ((($6)) + 4616|0);
- $7 = HEAP32[$ltp_mem_length5>>2]|0;
- $add$ptr6 = (($res_pitch) + ($7<<2)|0);
- $res_pitch_frame = $add$ptr6;
- $8 = $psEnc$addr;
- $sLP = ((($8)) + 16|0);
- $9 = $psEnc$addr;
- $inputBuf = ((($9)) + 5128|0);
- $add$ptr10 = ((($inputBuf)) + 2|0);
- $10 = $psEnc$addr;
- $frame_length = ((($10)) + 4608|0);
- $11 = HEAP32[$frame_length>>2]|0;
- _silk_LP_variable_cutoff($sLP,$add$ptr10,$11);
- $12 = $x_frame;
- $13 = $psEnc$addr;
- $fs_kHz = ((($13)) + 4600|0);
- $14 = HEAP32[$fs_kHz>>2]|0;
- $mul = ($14*5)|0;
- $add$ptr13 = (($12) + ($mul<<2)|0);
- $15 = $psEnc$addr;
- $inputBuf15 = ((($15)) + 5128|0);
- $add$ptr17 = ((($inputBuf15)) + 2|0);
- $16 = $psEnc$addr;
- $frame_length19 = ((($16)) + 4608|0);
- $17 = HEAP32[$frame_length19>>2]|0;
- _silk_short2float_array_280($add$ptr13,$add$ptr17,$17);
- $i = 0;
- while(1) {
- $18 = $i;
- $cmp = ($18|0)<(8);
- if (!($cmp)) {
- break;
- }
- $19 = $i;
- $and21 = $19 & 2;
- $sub = (1 - ($and21))|0;
- $conv22 = (+($sub|0));
- $mul23 = $conv22 * 9.9999999747524271E-7;
- $20 = $x_frame;
- $21 = $psEnc$addr;
- $fs_kHz25 = ((($21)) + 4600|0);
- $22 = HEAP32[$fs_kHz25>>2]|0;
- $mul26 = ($22*5)|0;
- $23 = $i;
- $24 = $psEnc$addr;
- $frame_length28 = ((($24)) + 4608|0);
- $25 = HEAP32[$frame_length28>>2]|0;
- $shr = $25 >> 3;
- $mul29 = Math_imul($23, $shr)|0;
- $add = (($mul26) + ($mul29))|0;
- $arrayidx = (($20) + ($add<<2)|0);
- $26 = +HEAPF32[$arrayidx>>2];
- $add30 = $26 + $mul23;
- HEAPF32[$arrayidx>>2] = $add30;
- $27 = $i;
- $inc31 = (($27) + 1)|0;
- $i = $inc31;
- }
- $28 = $psEnc$addr;
- $prefillFlag = ((($28)) + 4712|0);
- $29 = HEAP32[$prefillFlag>>2]|0;
- $tobool = ($29|0)!=(0);
- L5: do {
- if (!($tobool)) {
- $30 = $psEnc$addr;
- $31 = $x_frame;
- $32 = $psEnc$addr;
- $arch = ((($32)) + 5124|0);
- $33 = HEAP32[$arch>>2]|0;
- _silk_find_pitch_lags_FLP($30,$sEncCtrl,$res_pitch,$31,$33);
- $34 = $psEnc$addr;
- $35 = $res_pitch_frame;
- $36 = $x_frame;
- _silk_noise_shape_analysis_FLP($34,$sEncCtrl,$35,$36);
- $37 = $psEnc$addr;
- $38 = $x_frame;
- $39 = $condCoding$addr;
- _silk_find_pred_coefs_FLP($37,$sEncCtrl,$res_pitch,$38,$39);
- $40 = $psEnc$addr;
- $41 = $condCoding$addr;
- _silk_process_gains_FLP($40,$sEncCtrl,$41);
- $42 = $psEnc$addr;
- $43 = $x_frame;
- _silk_prefilter_FLP($42,$sEncCtrl,$xfw,$43);
- $44 = $psEnc$addr;
- $45 = $condCoding$addr;
- _silk_LBRR_encode_FLP($44,$sEncCtrl,$xfw,$45);
- $maxIter = 6;
- $gainMult_Q8 = 256;
- $found_lower = 0;
- $found_upper = 0;
- $46 = $psEnc$addr;
- $indices39 = ((($46)) + 4768|0);
- $47 = $psEnc$addr;
- $nb_subfr = ((($47)) + 4604|0);
- $48 = HEAP32[$nb_subfr>>2]|0;
- $call = (_silk_gains_ID($indices39,$48)|0);
- $gainsID = $call;
- $gainsID_lower = -1;
- $gainsID_upper = -1;
- $49 = $psRangeEnc$addr;
- dest=$sRangeEnc_copy; src=$49; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $50 = $psEnc$addr;
- $sNSQ = ((($50)) + 144|0);
- _memcpy(($sNSQ_copy|0),($sNSQ|0),4380)|0;
- $51 = $psEnc$addr;
- $indices44 = ((($51)) + 4768|0);
- $Seed45 = ((($indices44)) + 34|0);
- $52 = HEAP8[$Seed45>>0]|0;
- $conv46 = $52 << 24 >> 24;
- $seed_copy = $conv46;
- $53 = $psEnc$addr;
- $ec_prevLagIndex = ((($53)) + 5804|0);
- $54 = HEAP16[$ec_prevLagIndex>>1]|0;
- $ec_prevLagIndex_copy = $54;
- $55 = $psEnc$addr;
- $ec_prevSignalType = ((($55)) + 5800|0);
- $56 = HEAP32[$ec_prevSignalType>>2]|0;
- $ec_prevSignalType_copy = $56;
- $iter = 0;
- while(1) {
- $57 = $gainsID;
- $58 = $gainsID_lower;
- $cmp50 = ($57|0)==($58|0);
- do {
- if ($cmp50) {
- $59 = $nBits_lower;
- $nBits = $59;
- } else {
- $60 = $gainsID;
- $61 = $gainsID_upper;
- $cmp53 = ($60|0)==($61|0);
- if ($cmp53) {
- $62 = $nBits_upper;
- $nBits = $62;
- break;
- }
- $63 = $iter;
- $cmp57 = ($63|0)>(0);
- if ($cmp57) {
- $64 = $psRangeEnc$addr;
- dest=$64; src=$sRangeEnc_copy; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $65 = $psEnc$addr;
- $sNSQ61 = ((($65)) + 144|0);
- _memcpy(($sNSQ61|0),($sNSQ_copy|0),4380)|0;
- $66 = $seed_copy;
- $conv62 = $66&255;
- $67 = $psEnc$addr;
- $indices64 = ((($67)) + 4768|0);
- $Seed65 = ((($indices64)) + 34|0);
- HEAP8[$Seed65>>0] = $conv62;
- $68 = $ec_prevLagIndex_copy;
- $69 = $psEnc$addr;
- $ec_prevLagIndex67 = ((($69)) + 5804|0);
- HEAP16[$ec_prevLagIndex67>>1] = $68;
- $70 = $ec_prevSignalType_copy;
- $71 = $psEnc$addr;
- $ec_prevSignalType69 = ((($71)) + 5800|0);
- HEAP32[$ec_prevSignalType69>>2] = $70;
- }
- $72 = $psEnc$addr;
- $73 = $psEnc$addr;
- $indices71 = ((($73)) + 4768|0);
- $74 = $psEnc$addr;
- $sNSQ73 = ((($74)) + 144|0);
- $75 = $psEnc$addr;
- $pulses = ((($75)) + 4804|0);
- _silk_NSQ_wrapper_FLP($72,$sEncCtrl,$indices71,$sNSQ73,$pulses,$xfw);
- $76 = $psEnc$addr;
- $77 = $psRangeEnc$addr;
- $78 = $psEnc$addr;
- $nFramesEncoded = ((($78)) + 5780|0);
- $79 = HEAP32[$nFramesEncoded>>2]|0;
- $80 = $condCoding$addr;
- _silk_encode_indices($76,$77,$79,0,$80);
- $81 = $psRangeEnc$addr;
- $82 = $psEnc$addr;
- $indices80 = ((($82)) + 4768|0);
- $signalType = ((($indices80)) + 29|0);
- $83 = HEAP8[$signalType>>0]|0;
- $conv81 = $83 << 24 >> 24;
- $84 = $psEnc$addr;
- $indices83 = ((($84)) + 4768|0);
- $quantOffsetType = ((($indices83)) + 30|0);
- $85 = HEAP8[$quantOffsetType>>0]|0;
- $conv84 = $85 << 24 >> 24;
- $86 = $psEnc$addr;
- $pulses86 = ((($86)) + 4804|0);
- $87 = $psEnc$addr;
- $frame_length89 = ((($87)) + 4608|0);
- $88 = HEAP32[$frame_length89>>2]|0;
- _silk_encode_pulses($81,$conv81,$conv84,$pulses86,$88);
- $89 = $psRangeEnc$addr;
- $call90 = (_ec_tell_281($89)|0);
- $nBits = $call90;
- $90 = $useCBR$addr;
- $cmp91 = ($90|0)==(0);
- $91 = $iter;
- $cmp93 = ($91|0)==(0);
- $or$cond = $cmp91 & $cmp93;
- if ($or$cond) {
- $92 = $nBits;
- $93 = $maxBits$addr;
- $cmp96 = ($92|0)<=($93|0);
- if ($cmp96) {
- break L5;
- }
- }
- }
- } while(0);
- $94 = $iter;
- $95 = $maxIter;
- $cmp102 = ($94|0)==($95|0);
- if ($cmp102) {
- break;
- }
- $108 = $nBits;
- $109 = $maxBits$addr;
- $cmp117 = ($108|0)>($109|0);
- do {
- if ($cmp117) {
- $110 = $found_lower;
- $cmp120 = ($110|0)==(0);
- $111 = $iter;
- $cmp123 = ($111|0)>=(2);
- $or$cond1 = $cmp120 & $cmp123;
- if ($or$cond1) {
- $Lambda = ((($sEncCtrl)) + 852|0);
- $112 = +HEAPF32[$Lambda>>2];
- $mul126 = $112 * 1.5;
- HEAPF32[$Lambda>>2] = $mul126;
- $found_upper = 0;
- $gainsID_upper = -1;
- break;
- } else {
- $found_upper = 1;
- $113 = $nBits;
- $nBits_upper = $113;
- $114 = $gainMult_Q8;
- $conv128 = $114 << 16 >> 16;
- $gainMult_upper = $conv128;
- $115 = $gainsID;
- $gainsID_upper = $115;
- break;
- }
- } else {
- $116 = $nBits;
- $117 = $maxBits$addr;
- $sub131 = (($117) - 5)|0;
- $cmp132 = ($116|0)<($sub131|0);
- if (!($cmp132)) {
- break L5;
- }
- $found_lower = 1;
- $118 = $nBits;
- $nBits_lower = $118;
- $119 = $gainMult_Q8;
- $conv135 = $119 << 16 >> 16;
- $gainMult_lower = $conv135;
- $120 = $gainsID;
- $121 = $gainsID_lower;
- $cmp136 = ($120|0)!=($121|0);
- if ($cmp136) {
- $122 = $gainsID;
- $gainsID_lower = $122;
- $123 = $psRangeEnc$addr;
- dest=$sRangeEnc_copy2; src=$123; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $124 = $psRangeEnc$addr;
- $125 = HEAP32[$124>>2]|0;
- $126 = $psRangeEnc$addr;
- $offs141 = ((($126)) + 24|0);
- $127 = HEAP32[$offs141>>2]|0;
- _memcpy(($ec_buf_copy|0),($125|0),($127|0))|0;
- $128 = $psEnc$addr;
- $sNSQ143 = ((($128)) + 144|0);
- _memcpy(($sNSQ_copy2|0),($sNSQ143|0),4380)|0;
- $129 = $psEnc$addr;
- $sShape144 = ((($129)) + 7200|0);
- $130 = HEAP8[$sShape144>>0]|0;
- $LastGainIndex_copy2 = $130;
- }
- }
- } while(0);
- $131 = $found_lower;
- $132 = $found_upper;
- $and150 = $131 & $132;
- $cmp151 = ($and150|0)==(0);
- do {
- if ($cmp151) {
- $133 = $nBits;
- $134 = $maxBits$addr;
- $sub154 = (($133) - ($134))|0;
- $shl = $sub154 << 7;
- $135 = $psEnc$addr;
- $frame_length156 = ((($135)) + 4608|0);
- $136 = HEAP32[$frame_length156>>2]|0;
- $div = (($shl|0) / ($136|0))&-1;
- $add157 = (($div) + 2048)|0;
- $call158 = (_silk_log2lin($add157)|0);
- $gain_factor_Q16 = $call158;
- $137 = $gain_factor_Q16;
- $call159 = (_silk_min_32($137,131072)|0);
- $gain_factor_Q16 = $call159;
- $138 = $nBits;
- $139 = $maxBits$addr;
- $cmp160 = ($138|0)>($139|0);
- if ($cmp160) {
- $140 = $gain_factor_Q16;
- $call163 = (_silk_max_32($140,85197)|0);
- $gain_factor_Q16 = $call163;
- }
- $141 = $gain_factor_Q16;
- $shr165 = $141 >> 16;
- $142 = $gainMult_Q8;
- $conv166 = $142 << 16 >> 16;
- $mul167 = Math_imul($shr165, $conv166)|0;
- $143 = $gain_factor_Q16;
- $and168 = $143 & 65535;
- $144 = $gainMult_Q8;
- $conv169 = $144 << 16 >> 16;
- $mul170 = Math_imul($and168, $conv169)|0;
- $shr171 = $mul170 >> 16;
- $add172 = (($mul167) + ($shr171))|0;
- $conv173 = $add172&65535;
- $gainMult_Q8 = $conv173;
- } else {
- $145 = $gainMult_lower;
- $146 = $gainMult_upper;
- $147 = $gainMult_lower;
- $sub175 = (($146) - ($147))|0;
- $148 = $maxBits$addr;
- $149 = $nBits_lower;
- $sub176 = (($148) - ($149))|0;
- $mul177 = Math_imul($sub175, $sub176)|0;
- $150 = $nBits_upper;
- $151 = $nBits_lower;
- $sub178 = (($150) - ($151))|0;
- $div179 = (($mul177|0) / ($sub178|0))&-1;
- $add180 = (($145) + ($div179))|0;
- $conv181 = $add180&65535;
- $gainMult_Q8 = $conv181;
- $152 = $gainMult_Q8;
- $conv182 = $152 << 16 >> 16;
- $153 = $gainMult_lower;
- $154 = $gainMult_upper;
- $155 = $gainMult_lower;
- $sub183 = (($154) - ($155))|0;
- $shr184 = $sub183 >> 2;
- $add185 = (($153) + ($shr184))|0;
- $cmp186 = ($conv182|0)>($add185|0);
- if ($cmp186) {
- $156 = $gainMult_lower;
- $157 = $gainMult_upper;
- $158 = $gainMult_lower;
- $sub189 = (($157) - ($158))|0;
- $shr190 = $sub189 >> 2;
- $add191 = (($156) + ($shr190))|0;
- $conv192 = $add191&65535;
- $gainMult_Q8 = $conv192;
- break;
- }
- $159 = $gainMult_Q8;
- $conv194 = $159 << 16 >> 16;
- $160 = $gainMult_upper;
- $161 = $gainMult_upper;
- $162 = $gainMult_lower;
- $sub195 = (($161) - ($162))|0;
- $shr196 = $sub195 >> 2;
- $sub197 = (($160) - ($shr196))|0;
- $cmp198 = ($conv194|0)<($sub197|0);
- if ($cmp198) {
- $163 = $gainMult_upper;
- $164 = $gainMult_upper;
- $165 = $gainMult_lower;
- $sub201 = (($164) - ($165))|0;
- $shr202 = $sub201 >> 2;
- $sub203 = (($163) - ($shr202))|0;
- $conv204 = $sub203&65535;
- $gainMult_Q8 = $conv204;
- }
- }
- } while(0);
- $i = 0;
- while(1) {
- $166 = $i;
- $167 = $psEnc$addr;
- $nb_subfr210 = ((($167)) + 4604|0);
- $168 = HEAP32[$nb_subfr210>>2]|0;
- $cmp211 = ($166|0)<($168|0);
- if (!($cmp211)) {
- break;
- }
- $GainsUnq_Q16 = ((($sEncCtrl)) + 892|0);
- $169 = $i;
- $arrayidx214 = (($GainsUnq_Q16) + ($169<<2)|0);
- $170 = HEAP32[$arrayidx214>>2]|0;
- $shr215 = $170 >> 16;
- $171 = $gainMult_Q8;
- $conv216 = $171 << 16 >> 16;
- $mul217 = Math_imul($shr215, $conv216)|0;
- $GainsUnq_Q16218 = ((($sEncCtrl)) + 892|0);
- $172 = $i;
- $arrayidx219 = (($GainsUnq_Q16218) + ($172<<2)|0);
- $173 = HEAP32[$arrayidx219>>2]|0;
- $and220 = $173 & 65535;
- $174 = $gainMult_Q8;
- $conv221 = $174 << 16 >> 16;
- $mul222 = Math_imul($and220, $conv221)|0;
- $shr223 = $mul222 >> 16;
- $add224 = (($mul217) + ($shr223))|0;
- $cmp225 = ($add224|0)>(8388607);
- if ($cmp225) {
- $cond256 = 8388607;
- } else {
- $GainsUnq_Q16227 = ((($sEncCtrl)) + 892|0);
- $175 = $i;
- $arrayidx228 = (($GainsUnq_Q16227) + ($175<<2)|0);
- $176 = HEAP32[$arrayidx228>>2]|0;
- $shr229 = $176 >> 16;
- $177 = $gainMult_Q8;
- $conv230 = $177 << 16 >> 16;
- $mul231 = Math_imul($shr229, $conv230)|0;
- $GainsUnq_Q16232 = ((($sEncCtrl)) + 892|0);
- $178 = $i;
- $arrayidx233 = (($GainsUnq_Q16232) + ($178<<2)|0);
- $179 = HEAP32[$arrayidx233>>2]|0;
- $and234 = $179 & 65535;
- $180 = $gainMult_Q8;
- $conv235 = $180 << 16 >> 16;
- $mul236 = Math_imul($and234, $conv235)|0;
- $shr237 = $mul236 >> 16;
- $add238 = (($mul231) + ($shr237))|0;
- $cmp239 = ($add238|0)<(-8388608);
- if ($cmp239) {
- $cond256 = -8388608;
- } else {
- $GainsUnq_Q16243 = ((($sEncCtrl)) + 892|0);
- $181 = $i;
- $arrayidx244 = (($GainsUnq_Q16243) + ($181<<2)|0);
- $182 = HEAP32[$arrayidx244>>2]|0;
- $shr245 = $182 >> 16;
- $183 = $gainMult_Q8;
- $conv246 = $183 << 16 >> 16;
- $mul247 = Math_imul($shr245, $conv246)|0;
- $GainsUnq_Q16248 = ((($sEncCtrl)) + 892|0);
- $184 = $i;
- $arrayidx249 = (($GainsUnq_Q16248) + ($184<<2)|0);
- $185 = HEAP32[$arrayidx249>>2]|0;
- $and250 = $185 & 65535;
- $186 = $gainMult_Q8;
- $conv251 = $186 << 16 >> 16;
- $mul252 = Math_imul($and250, $conv251)|0;
- $shr253 = $mul252 >> 16;
- $add254 = (($mul247) + ($shr253))|0;
- $cond256 = $add254;
- }
- }
- $shl257 = $cond256 << 8;
- $187 = $i;
- $arrayidx258 = (($pGains_Q16) + ($187<<2)|0);
- HEAP32[$arrayidx258>>2] = $shl257;
- $188 = $i;
- $inc260 = (($188) + 1)|0;
- $i = $inc260;
- }
- $lastGainIndexPrev = ((($sEncCtrl)) + 908|0);
- $189 = HEAP8[$lastGainIndexPrev>>0]|0;
- $190 = $psEnc$addr;
- $sShape262 = ((($190)) + 7200|0);
- HEAP8[$sShape262>>0] = $189;
- $191 = $psEnc$addr;
- $indices265 = ((($191)) + 4768|0);
- $192 = $psEnc$addr;
- $sShape269 = ((($192)) + 7200|0);
- $193 = $condCoding$addr;
- $cmp271 = ($193|0)==(2);
- $conv272 = $cmp271&1;
- $194 = $psEnc$addr;
- $nb_subfr274 = ((($194)) + 4604|0);
- $195 = HEAP32[$nb_subfr274>>2]|0;
- _silk_gains_quant($indices265,$pGains_Q16,$sShape269,$conv272,$195);
- $196 = $psEnc$addr;
- $indices276 = ((($196)) + 4768|0);
- $197 = $psEnc$addr;
- $nb_subfr280 = ((($197)) + 4604|0);
- $198 = HEAP32[$nb_subfr280>>2]|0;
- $call281 = (_silk_gains_ID($indices276,$198)|0);
- $gainsID = $call281;
- $i = 0;
- while(1) {
- $199 = $i;
- $200 = $psEnc$addr;
- $nb_subfr284 = ((($200)) + 4604|0);
- $201 = HEAP32[$nb_subfr284>>2]|0;
- $cmp285 = ($199|0)<($201|0);
- if (!($cmp285)) {
- break;
- }
- $202 = $i;
- $arrayidx288 = (($pGains_Q16) + ($202<<2)|0);
- $203 = HEAP32[$arrayidx288>>2]|0;
- $conv289 = (+($203|0));
- $div290 = $conv289 / 65536.0;
- $204 = $i;
- $arrayidx291 = (($sEncCtrl) + ($204<<2)|0);
- HEAPF32[$arrayidx291>>2] = $div290;
- $205 = $i;
- $inc293 = (($205) + 1)|0;
- $i = $inc293;
- }
- $206 = $iter;
- $inc296 = (($206) + 1)|0;
- $iter = $inc296;
- }
- $96 = $found_lower;
- $tobool105 = ($96|0)!=(0);
- if ($tobool105) {
- $97 = $gainsID;
- $98 = $gainsID_lower;
- $cmp107 = ($97|0)==($98|0);
- if (!($cmp107)) {
- $99 = $nBits;
- $100 = $maxBits$addr;
- $cmp109 = ($99|0)>($100|0);
- if (!($cmp109)) {
- break;
- }
- }
- $101 = $psRangeEnc$addr;
- dest=$101; src=$sRangeEnc_copy2; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $102 = $psRangeEnc$addr;
- $103 = HEAP32[$102>>2]|0;
- $offs = ((($sRangeEnc_copy2)) + 24|0);
- $104 = HEAP32[$offs>>2]|0;
- _memcpy(($103|0),($ec_buf_copy|0),($104|0))|0;
- $105 = $psEnc$addr;
- $sNSQ114 = ((($105)) + 144|0);
- _memcpy(($sNSQ114|0),($sNSQ_copy2|0),4380)|0;
- $106 = $LastGainIndex_copy2;
- $107 = $psEnc$addr;
- $sShape = ((($107)) + 7200|0);
- HEAP8[$sShape>>0] = $106;
- }
- }
- } while(0);
- $207 = $psEnc$addr;
- $x_buf299 = ((($207)) + 9356|0);
- $208 = $psEnc$addr;
- $x_buf301 = ((($208)) + 9356|0);
- $209 = $psEnc$addr;
- $frame_length303 = ((($209)) + 4608|0);
- $210 = HEAP32[$frame_length303>>2]|0;
- $arrayidx304 = (($x_buf301) + ($210<<2)|0);
- $211 = $psEnc$addr;
- $ltp_mem_length306 = ((($211)) + 4616|0);
- $212 = HEAP32[$ltp_mem_length306>>2]|0;
- $213 = $psEnc$addr;
- $fs_kHz308 = ((($213)) + 4600|0);
- $214 = HEAP32[$fs_kHz308>>2]|0;
- $mul309 = ($214*5)|0;
- $add310 = (($212) + ($mul309))|0;
- $mul311 = $add310<<2;
- _memmove(($x_buf299|0),($arrayidx304|0),($mul311|0))|0;
- $215 = $psEnc$addr;
- $prefillFlag313 = ((($215)) + 4712|0);
- $216 = HEAP32[$prefillFlag313>>2]|0;
- $tobool314 = ($216|0)!=(0);
- if ($tobool314) {
- $217 = $pnBytesOut$addr;
- HEAP32[$217>>2] = 0;
- $218 = $ret;
- $retval = $218;
- $230 = $retval;
- STACKTOP = sp;return ($230|0);
- } else {
- $pitchL = ((($sEncCtrl)) + 228|0);
- $219 = $psEnc$addr;
- $nb_subfr318 = ((($219)) + 4604|0);
- $220 = HEAP32[$nb_subfr318>>2]|0;
- $sub319 = (($220) - 1)|0;
- $arrayidx320 = (($pitchL) + ($sub319<<2)|0);
- $221 = HEAP32[$arrayidx320>>2]|0;
- $222 = $psEnc$addr;
- $prevLag = ((($222)) + 4568|0);
- HEAP32[$prevLag>>2] = $221;
- $223 = $psEnc$addr;
- $indices323 = ((($223)) + 4768|0);
- $signalType324 = ((($indices323)) + 29|0);
- $224 = HEAP8[$signalType324>>0]|0;
- $225 = $psEnc$addr;
- $prevSignalType = ((($225)) + 4565|0);
- HEAP8[$prevSignalType>>0] = $224;
- $226 = $psEnc$addr;
- $first_frame_after_reset = ((($226)) + 4696|0);
- HEAP32[$first_frame_after_reset>>2] = 0;
- $227 = $psRangeEnc$addr;
- $call327 = (_ec_tell_281($227)|0);
- $add328 = (($call327) + 7)|0;
- $shr329 = $add328 >> 3;
- $228 = $pnBytesOut$addr;
- HEAP32[$228>>2] = $shr329;
- $229 = $ret;
- $retval = $229;
- $230 = $retval;
- STACKTOP = sp;return ($230|0);
- }
- return (0)|0;
-}
-function _silk_short2float_array_280($out,$in,$length) {
- $out = $out|0;
- $in = $in|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $conv = 0.0, $dec = 0, $in$addr = 0, $k = 0, $length$addr = 0, $out$addr = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $out$addr = $out;
- $in$addr = $in;
- $length$addr = $length;
- $0 = $length$addr;
- $sub = (($0) - 1)|0;
- $k = $sub;
- while(1) {
- $1 = $k;
- $cmp = ($1|0)>=(0);
- if (!($cmp)) {
- break;
- }
- $2 = $in$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3<<1)|0);
- $4 = HEAP16[$arrayidx>>1]|0;
- $conv = (+($4<<16>>16));
- $5 = $out$addr;
- $6 = $k;
- $arrayidx1 = (($5) + ($6<<2)|0);
- HEAPF32[$arrayidx1>>2] = $conv;
- $7 = $k;
- $dec = (($7) + -1)|0;
- $k = $dec;
- }
- STACKTOP = sp;return;
-}
-function _silk_LBRR_encode_FLP($psEnc,$psEncCtrl,$xfw,$condCoding) {
- $psEnc = $psEnc|0;
- $psEncCtrl = $psEncCtrl|0;
- $xfw = $xfw|0;
- $condCoding = $condCoding|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Gains_Q16 = 0, $LBRR_GainIncreases = 0, $LBRR_enabled = 0, $LBRR_flags = 0, $LBRR_flags16 = 0;
- var $LBRRprevLastGainIndex = 0, $LBRRprevLastGainIndex36 = 0, $TempGains = 0, $add = 0, $arrayidx = 0, $arrayidx19 = 0, $arrayidx45 = 0, $arrayidx49 = 0, $arrayidx53 = 0, $arrayidx7 = 0, $call = 0, $cmp = 0, $cmp14 = 0, $cmp20 = 0, $cmp37 = 0, $cmp43 = 0, $condCoding$addr = 0, $conv = 0, $conv25 = 0, $conv28 = 0;
- var $conv29 = 0, $conv38 = 0, $conv46 = 0.0, $inc = 0, $indices = 0, $indices_LBRR = 0, $k = 0, $mul = 0, $mul47 = 0.0, $mul60 = 0, $nFramesEncoded = 0, $nFramesEncoded13 = 0, $nFramesEncoded18 = 0, $nFramesEncoded52 = 0, $nFramesEncoded6 = 0, $nb_subfr = 0, $nb_subfr40 = 0, $nb_subfr42 = 0, $nb_subfr59 = 0, $psEnc$addr = 0;
- var $psEncCtrl$addr = 0, $psIndices_LBRR = 0, $pulses_LBRR = 0, $sNSQ = 0, $sNSQ_LBRR = 0, $sShape = 0, $speech_activity_Q8 = 0, $sub = 0, $tobool = 0, $xfw$addr = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 4448|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(4448|0);
- $Gains_Q16 = sp + 4400|0;
- $TempGains = sp + 4384|0;
- $sNSQ_LBRR = sp;
- $psEnc$addr = $psEnc;
- $psEncCtrl$addr = $psEncCtrl;
- $xfw$addr = $xfw;
- $condCoding$addr = $condCoding;
- $0 = $psEnc$addr;
- $indices_LBRR = ((($0)) + 6132|0);
- $1 = $psEnc$addr;
- $nFramesEncoded = ((($1)) + 5780|0);
- $2 = HEAP32[$nFramesEncoded>>2]|0;
- $arrayidx = (($indices_LBRR) + (($2*36)|0)|0);
- $psIndices_LBRR = $arrayidx;
- $3 = $psEnc$addr;
- $LBRR_enabled = ((($3)) + 6124|0);
- $4 = HEAP32[$LBRR_enabled>>2]|0;
- $tobool = ($4|0)!=(0);
- if (!($tobool)) {
- STACKTOP = sp;return;
- }
- $5 = $psEnc$addr;
- $speech_activity_Q8 = ((($5)) + 4556|0);
- $6 = HEAP32[$speech_activity_Q8>>2]|0;
- $cmp = ($6|0)>(77);
- if (!($cmp)) {
- STACKTOP = sp;return;
- }
- $7 = $psEnc$addr;
- $LBRR_flags = ((($7)) + 4756|0);
- $8 = $psEnc$addr;
- $nFramesEncoded6 = ((($8)) + 5780|0);
- $9 = HEAP32[$nFramesEncoded6>>2]|0;
- $arrayidx7 = (($LBRR_flags) + ($9<<2)|0);
- HEAP32[$arrayidx7>>2] = 1;
- $10 = $psEnc$addr;
- $sNSQ = ((($10)) + 144|0);
- _memcpy(($sNSQ_LBRR|0),($sNSQ|0),4380)|0;
- $11 = $psIndices_LBRR;
- $12 = $psEnc$addr;
- $indices = ((($12)) + 4768|0);
- dest=$11; src=$indices; stop=dest+36|0; do { HEAP16[dest>>1]=HEAP16[src>>1]|0; dest=dest+2|0; src=src+2|0; } while ((dest|0) < (stop|0));
- $13 = $psEncCtrl$addr;
- $14 = $psEnc$addr;
- $nb_subfr = ((($14)) + 4604|0);
- $15 = HEAP32[$nb_subfr>>2]|0;
- $mul = $15<<2;
- _memcpy(($TempGains|0),($13|0),($mul|0))|0;
- $16 = $psEnc$addr;
- $nFramesEncoded13 = ((($16)) + 5780|0);
- $17 = HEAP32[$nFramesEncoded13>>2]|0;
- $cmp14 = ($17|0)==(0);
- if ($cmp14) {
- label = 5;
- } else {
- $18 = $psEnc$addr;
- $LBRR_flags16 = ((($18)) + 4756|0);
- $19 = $psEnc$addr;
- $nFramesEncoded18 = ((($19)) + 5780|0);
- $20 = HEAP32[$nFramesEncoded18>>2]|0;
- $sub = (($20) - 1)|0;
- $arrayidx19 = (($LBRR_flags16) + ($sub<<2)|0);
- $21 = HEAP32[$arrayidx19>>2]|0;
- $cmp20 = ($21|0)==(0);
- if ($cmp20) {
- label = 5;
- }
- }
- if ((label|0) == 5) {
- $22 = $psEnc$addr;
- $sShape = ((($22)) + 7200|0);
- $23 = HEAP8[$sShape>>0]|0;
- $24 = $psEnc$addr;
- $LBRRprevLastGainIndex = ((($24)) + 4564|0);
- HEAP8[$LBRRprevLastGainIndex>>0] = $23;
- $25 = $psEnc$addr;
- $LBRR_GainIncreases = ((($25)) + 6128|0);
- $26 = HEAP32[$LBRR_GainIncreases>>2]|0;
- $27 = $psIndices_LBRR;
- $28 = HEAP8[$27>>0]|0;
- $conv = $28 << 24 >> 24;
- $add = (($conv) + ($26))|0;
- $conv25 = $add&255;
- HEAP8[$27>>0] = $conv25;
- $29 = $psIndices_LBRR;
- $30 = HEAP8[$29>>0]|0;
- $conv28 = $30 << 24 >> 24;
- $call = (_silk_min_int_282($conv28,63)|0);
- $conv29 = $call&255;
- $31 = $psIndices_LBRR;
- HEAP8[$31>>0] = $conv29;
- }
- $32 = $psIndices_LBRR;
- $33 = $psEnc$addr;
- $LBRRprevLastGainIndex36 = ((($33)) + 4564|0);
- $34 = $condCoding$addr;
- $cmp37 = ($34|0)==(2);
- $conv38 = $cmp37&1;
- $35 = $psEnc$addr;
- $nb_subfr40 = ((($35)) + 4604|0);
- $36 = HEAP32[$nb_subfr40>>2]|0;
- _silk_gains_dequant($Gains_Q16,$32,$LBRRprevLastGainIndex36,$conv38,$36);
- $k = 0;
- while(1) {
- $37 = $k;
- $38 = $psEnc$addr;
- $nb_subfr42 = ((($38)) + 4604|0);
- $39 = HEAP32[$nb_subfr42>>2]|0;
- $cmp43 = ($37|0)<($39|0);
- if (!($cmp43)) {
- break;
- }
- $40 = $k;
- $arrayidx45 = (($Gains_Q16) + ($40<<2)|0);
- $41 = HEAP32[$arrayidx45>>2]|0;
- $conv46 = (+($41|0));
- $mul47 = $conv46 * 1.52587890625E-5;
- $42 = $psEncCtrl$addr;
- $43 = $k;
- $arrayidx49 = (($42) + ($43<<2)|0);
- HEAPF32[$arrayidx49>>2] = $mul47;
- $44 = $k;
- $inc = (($44) + 1)|0;
- $k = $inc;
- }
- $45 = $psEnc$addr;
- $46 = $psEncCtrl$addr;
- $47 = $psIndices_LBRR;
- $48 = $psEnc$addr;
- $pulses_LBRR = ((($48)) + 6240|0);
- $49 = $psEnc$addr;
- $nFramesEncoded52 = ((($49)) + 5780|0);
- $50 = HEAP32[$nFramesEncoded52>>2]|0;
- $arrayidx53 = (($pulses_LBRR) + (($50*320)|0)|0);
- $51 = $xfw$addr;
- _silk_NSQ_wrapper_FLP($45,$46,$47,$sNSQ_LBRR,$arrayidx53,$51);
- $52 = $psEncCtrl$addr;
- $53 = $psEnc$addr;
- $nb_subfr59 = ((($53)) + 4604|0);
- $54 = HEAP32[$nb_subfr59>>2]|0;
- $mul60 = $54<<2;
- _memcpy(($52|0),($TempGains|0),($mul60|0))|0;
- STACKTOP = sp;return;
-}
-function _ec_tell_281($_this) {
- $_this = $_this|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $_this$addr = 0, $nbits_total = 0, $rng = 0, $sub = 0, $sub1 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_this$addr = $_this;
- $0 = $_this$addr;
- $nbits_total = ((($0)) + 20|0);
- $1 = HEAP32[$nbits_total>>2]|0;
- $2 = $_this$addr;
- $rng = ((($2)) + 28|0);
- $3 = HEAP32[$rng>>2]|0;
- $4 = (Math_clz32(($3|0))|0);
- $sub = (32 - ($4))|0;
- $sub1 = (($1) - ($sub))|0;
- STACKTOP = sp;return ($sub1|0);
-}
-function _silk_min_32($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_max_32($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_min_int_282($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_find_pitch_lags_FLP($psEnc,$psEncCtrl,$res,$x,$arch) {
- $psEnc = $psEnc|0;
- $psEncCtrl = $psEncCtrl|0;
- $res = $res|0;
- $x = $x|0;
- $arch = $arch|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
- var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
- var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
- var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0;
- var $79 = 0.0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
- var $97 = 0, $98 = 0, $99 = 0, $A = 0, $LTPCorr = 0, $LTPCorr120 = 0, $Wsig = 0, $Wsig_ptr = 0, $add = 0, $add$ptr = 0, $add$ptr14 = 0, $add$ptr17 = 0, $add$ptr28 = 0, $add$ptr35 = 0, $add$ptr6 = 0, $add$ptr9 = 0, $add3 = 0, $add43 = 0, $add45 = 0.0, $add47 = 0.0;
- var $arch$addr = 0, $auto_corr = 0, $buf_len = 0, $call = 0.0, $call101 = 0, $cmp = 0, $cmp102 = 0, $cmp64 = 0, $cmp67 = 0, $cond = 0.0, $contourIndex = 0, $contourIndex119 = 0, $conv = 0, $conv71 = 0.0, $conv75 = 0.0, $conv80 = 0, $conv81 = 0.0, $conv85 = 0.0, $conv96 = 0.0, $div = 0.0;
- var $div97 = 0.0, $first_frame_after_reset = 0, $frame_length = 0, $fs_kHz = 0, $idx$neg = 0, $idx$neg8 = 0, $indices = 0, $indices106 = 0, $indices115 = 0, $indices118 = 0, $indices91 = 0, $indices93 = 0, $input_tilt_Q15 = 0, $la_pitch = 0, $la_pitch11 = 0, $la_pitch13 = 0, $la_pitch16 = 0, $la_pitch21 = 0, $la_pitch25 = 0, $la_pitch32 = 0;
- var $la_pitch37 = 0, $lagIndex = 0, $lagIndex116 = 0, $ltp_mem_length = 0, $ltp_mem_length5 = 0, $mul = 0, $mul44 = 0.0, $mul72 = 0.0, $mul76 = 0.0, $mul77 = 0.0, $mul82 = 0.0, $mul86 = 0.0, $mul87 = 0.0, $nb_subfr = 0, $pitchEstimationComplexity = 0, $pitchEstimationLPCOrder = 0, $pitchEstimationLPCOrder51 = 0, $pitchEstimationLPCOrder56 = 0, $pitchEstimationLPCOrder59 = 0, $pitchEstimationLPCOrder62 = 0;
- var $pitchEstimationLPCOrder70 = 0, $pitchEstimationThreshold_Q16 = 0, $pitchL = 0, $pitchL112 = 0, $pitch_LPC_win_length = 0, $pitch_LPC_win_length19 = 0, $pitch_LPC_win_length23 = 0, $pitch_LPC_win_length30 = 0, $pitch_LPC_win_length41 = 0, $predGain = 0, $prevLag = 0, $prevSignalType = 0, $psEnc$addr = 0, $psEncCtrl$addr = 0, $refl_coef = 0, $res$addr = 0, $res_nrg = 0.0, $shl = 0, $shl26 = 0, $shl33 = 0;
- var $shr = 0, $signalType = 0, $signalType107 = 0, $speech_activity_Q8 = 0, $sub = 0, $sub27 = 0, $sub34 = 0, $sub73 = 0.0, $sub78 = 0.0, $sub83 = 0.0, $sub88 = 0.0, $thrhld = 0.0, $x$addr = 0, $x_buf = 0, $x_buf_ptr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 1792|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1792|0);
- $auto_corr = sp + 1672|0;
- $A = sp + 1608|0;
- $refl_coef = sp + 1544|0;
- $Wsig = sp + 8|0;
- $psEnc$addr = $psEnc;
- $psEncCtrl$addr = $psEncCtrl;
- $res$addr = $res;
- $x$addr = $x;
- $arch$addr = $arch;
- $0 = $psEnc$addr;
- $la_pitch = ((($0)) + 4620|0);
- $1 = HEAP32[$la_pitch>>2]|0;
- $2 = $psEnc$addr;
- $frame_length = ((($2)) + 4608|0);
- $3 = HEAP32[$frame_length>>2]|0;
- $add = (($1) + ($3))|0;
- $4 = $psEnc$addr;
- $ltp_mem_length = ((($4)) + 4616|0);
- $5 = HEAP32[$ltp_mem_length>>2]|0;
- $add3 = (($add) + ($5))|0;
- $buf_len = $add3;
- $6 = $x$addr;
- $7 = $psEnc$addr;
- $ltp_mem_length5 = ((($7)) + 4616|0);
- $8 = HEAP32[$ltp_mem_length5>>2]|0;
- $idx$neg = (0 - ($8))|0;
- $add$ptr = (($6) + ($idx$neg<<2)|0);
- $x_buf = $add$ptr;
- $9 = $x_buf;
- $10 = $buf_len;
- $add$ptr6 = (($9) + ($10<<2)|0);
- $11 = $psEnc$addr;
- $pitch_LPC_win_length = ((($11)) + 4572|0);
- $12 = HEAP32[$pitch_LPC_win_length>>2]|0;
- $idx$neg8 = (0 - ($12))|0;
- $add$ptr9 = (($add$ptr6) + ($idx$neg8<<2)|0);
- $x_buf_ptr = $add$ptr9;
- $Wsig_ptr = $Wsig;
- $13 = $Wsig_ptr;
- $14 = $x_buf_ptr;
- $15 = $psEnc$addr;
- $la_pitch11 = ((($15)) + 4620|0);
- $16 = HEAP32[$la_pitch11>>2]|0;
- _silk_apply_sine_window_FLP($13,$14,1,$16);
- $17 = $psEnc$addr;
- $la_pitch13 = ((($17)) + 4620|0);
- $18 = HEAP32[$la_pitch13>>2]|0;
- $19 = $Wsig_ptr;
- $add$ptr14 = (($19) + ($18<<2)|0);
- $Wsig_ptr = $add$ptr14;
- $20 = $psEnc$addr;
- $la_pitch16 = ((($20)) + 4620|0);
- $21 = HEAP32[$la_pitch16>>2]|0;
- $22 = $x_buf_ptr;
- $add$ptr17 = (($22) + ($21<<2)|0);
- $x_buf_ptr = $add$ptr17;
- $23 = $Wsig_ptr;
- $24 = $x_buf_ptr;
- $25 = $psEnc$addr;
- $pitch_LPC_win_length19 = ((($25)) + 4572|0);
- $26 = HEAP32[$pitch_LPC_win_length19>>2]|0;
- $27 = $psEnc$addr;
- $la_pitch21 = ((($27)) + 4620|0);
- $28 = HEAP32[$la_pitch21>>2]|0;
- $shl = $28 << 1;
- $sub = (($26) - ($shl))|0;
- $mul = $sub<<2;
- _memcpy(($23|0),($24|0),($mul|0))|0;
- $29 = $psEnc$addr;
- $pitch_LPC_win_length23 = ((($29)) + 4572|0);
- $30 = HEAP32[$pitch_LPC_win_length23>>2]|0;
- $31 = $psEnc$addr;
- $la_pitch25 = ((($31)) + 4620|0);
- $32 = HEAP32[$la_pitch25>>2]|0;
- $shl26 = $32 << 1;
- $sub27 = (($30) - ($shl26))|0;
- $33 = $Wsig_ptr;
- $add$ptr28 = (($33) + ($sub27<<2)|0);
- $Wsig_ptr = $add$ptr28;
- $34 = $psEnc$addr;
- $pitch_LPC_win_length30 = ((($34)) + 4572|0);
- $35 = HEAP32[$pitch_LPC_win_length30>>2]|0;
- $36 = $psEnc$addr;
- $la_pitch32 = ((($36)) + 4620|0);
- $37 = HEAP32[$la_pitch32>>2]|0;
- $shl33 = $37 << 1;
- $sub34 = (($35) - ($shl33))|0;
- $38 = $x_buf_ptr;
- $add$ptr35 = (($38) + ($sub34<<2)|0);
- $x_buf_ptr = $add$ptr35;
- $39 = $Wsig_ptr;
- $40 = $x_buf_ptr;
- $41 = $psEnc$addr;
- $la_pitch37 = ((($41)) + 4620|0);
- $42 = HEAP32[$la_pitch37>>2]|0;
- _silk_apply_sine_window_FLP($39,$40,2,$42);
- $43 = $psEnc$addr;
- $pitch_LPC_win_length41 = ((($43)) + 4572|0);
- $44 = HEAP32[$pitch_LPC_win_length41>>2]|0;
- $45 = $psEnc$addr;
- $pitchEstimationLPCOrder = ((($45)) + 4672|0);
- $46 = HEAP32[$pitchEstimationLPCOrder>>2]|0;
- $add43 = (($46) + 1)|0;
- _silk_autocorrelation_FLP($auto_corr,$Wsig,$44,$add43);
- $47 = +HEAPF32[$auto_corr>>2];
- $mul44 = $47 * 0.0010000000474974513;
- $add45 = $mul44 + 1.0;
- $48 = +HEAPF32[$auto_corr>>2];
- $add47 = $48 + $add45;
- HEAPF32[$auto_corr>>2] = $add47;
- $49 = $psEnc$addr;
- $pitchEstimationLPCOrder51 = ((($49)) + 4672|0);
- $50 = HEAP32[$pitchEstimationLPCOrder51>>2]|0;
- $call = (+_silk_schur_FLP($refl_coef,$auto_corr,$50));
- $res_nrg = $call;
- $51 = +HEAPF32[$auto_corr>>2];
- $52 = $res_nrg;
- $cmp = $52 > 1.0;
- $53 = $res_nrg;
- $cond = $cmp ? $53 : 1.0;
- $div = $51 / $cond;
- $54 = $psEncCtrl$addr;
- $predGain = ((($54)) + 868|0);
- HEAPF32[$predGain>>2] = $div;
- $55 = $psEnc$addr;
- $pitchEstimationLPCOrder56 = ((($55)) + 4672|0);
- $56 = HEAP32[$pitchEstimationLPCOrder56>>2]|0;
- _silk_k2a_FLP($A,$refl_coef,$56);
- $57 = $psEnc$addr;
- $pitchEstimationLPCOrder59 = ((($57)) + 4672|0);
- $58 = HEAP32[$pitchEstimationLPCOrder59>>2]|0;
- _silk_bwexpander_FLP($A,$58,0.99000000953674316);
- $59 = $res$addr;
- $60 = $x_buf;
- $61 = $buf_len;
- $62 = $psEnc$addr;
- $pitchEstimationLPCOrder62 = ((($62)) + 4672|0);
- $63 = HEAP32[$pitchEstimationLPCOrder62>>2]|0;
- _silk_LPC_analysis_filter_FLP($59,$A,$60,$61,$63);
- $64 = $psEnc$addr;
- $indices = ((($64)) + 4768|0);
- $signalType = ((($indices)) + 29|0);
- $65 = HEAP8[$signalType>>0]|0;
- $conv = $65 << 24 >> 24;
- $cmp64 = ($conv|0)!=(0);
- if ($cmp64) {
- $66 = $psEnc$addr;
- $first_frame_after_reset = ((($66)) + 4696|0);
- $67 = HEAP32[$first_frame_after_reset>>2]|0;
- $cmp67 = ($67|0)==(0);
- if ($cmp67) {
- $thrhld = 0.60000002384185791;
- $68 = $psEnc$addr;
- $pitchEstimationLPCOrder70 = ((($68)) + 4672|0);
- $69 = HEAP32[$pitchEstimationLPCOrder70>>2]|0;
- $conv71 = (+($69|0));
- $mul72 = 0.0040000001899898052 * $conv71;
- $70 = $thrhld;
- $sub73 = $70 - $mul72;
- $thrhld = $sub73;
- $71 = $psEnc$addr;
- $speech_activity_Q8 = ((($71)) + 4556|0);
- $72 = HEAP32[$speech_activity_Q8>>2]|0;
- $conv75 = (+($72|0));
- $mul76 = 0.10000000149011612 * $conv75;
- $mul77 = $mul76 * 0.00390625;
- $73 = $thrhld;
- $sub78 = $73 - $mul77;
- $thrhld = $sub78;
- $74 = $psEnc$addr;
- $prevSignalType = ((($74)) + 4565|0);
- $75 = HEAP8[$prevSignalType>>0]|0;
- $conv80 = $75 << 24 >> 24;
- $shr = $conv80 >> 1;
- $conv81 = (+($shr|0));
- $mul82 = 0.15000000596046448 * $conv81;
- $76 = $thrhld;
- $sub83 = $76 - $mul82;
- $thrhld = $sub83;
- $77 = $psEnc$addr;
- $input_tilt_Q15 = ((($77)) + 4744|0);
- $78 = HEAP32[$input_tilt_Q15>>2]|0;
- $conv85 = (+($78|0));
- $mul86 = 0.10000000149011612 * $conv85;
- $mul87 = $mul86 * 3.0517578125E-5;
- $79 = $thrhld;
- $sub88 = $79 - $mul87;
- $thrhld = $sub88;
- $80 = $res$addr;
- $81 = $psEncCtrl$addr;
- $pitchL = ((($81)) + 228|0);
- $82 = $psEnc$addr;
- $indices91 = ((($82)) + 4768|0);
- $lagIndex = ((($indices91)) + 26|0);
- $83 = $psEnc$addr;
- $indices93 = ((($83)) + 4768|0);
- $contourIndex = ((($indices93)) + 28|0);
- $84 = $psEnc$addr;
- $LTPCorr = ((($84)) + 12236|0);
- $85 = $psEnc$addr;
- $prevLag = ((($85)) + 4568|0);
- $86 = HEAP32[$prevLag>>2]|0;
- $87 = $psEnc$addr;
- $pitchEstimationThreshold_Q16 = ((($87)) + 4676|0);
- $88 = HEAP32[$pitchEstimationThreshold_Q16>>2]|0;
- $conv96 = (+($88|0));
- $div97 = $conv96 / 65536.0;
- $89 = $thrhld;
- $90 = $psEnc$addr;
- $fs_kHz = ((($90)) + 4600|0);
- $91 = HEAP32[$fs_kHz>>2]|0;
- $92 = $psEnc$addr;
- $pitchEstimationComplexity = ((($92)) + 4668|0);
- $93 = HEAP32[$pitchEstimationComplexity>>2]|0;
- $94 = $psEnc$addr;
- $nb_subfr = ((($94)) + 4604|0);
- $95 = HEAP32[$nb_subfr>>2]|0;
- $96 = $arch$addr;
- $call101 = (_silk_pitch_analysis_core_FLP($80,$pitchL,$lagIndex,$contourIndex,$LTPCorr,$86,$div97,$89,$91,$93,$95,$96)|0);
- $cmp102 = ($call101|0)==(0);
- $97 = $psEnc$addr;
- $indices106 = ((($97)) + 4768|0);
- $signalType107 = ((($indices106)) + 29|0);
- $$sink = $cmp102 ? 2 : 1;
- HEAP8[$signalType107>>0] = $$sink;
- STACKTOP = sp;return;
- }
- }
- $98 = $psEncCtrl$addr;
- $pitchL112 = ((($98)) + 228|0);
- ;HEAP32[$pitchL112>>2]=0|0;HEAP32[$pitchL112+4>>2]=0|0;HEAP32[$pitchL112+8>>2]=0|0;HEAP32[$pitchL112+12>>2]=0|0;
- $99 = $psEnc$addr;
- $indices115 = ((($99)) + 4768|0);
- $lagIndex116 = ((($indices115)) + 26|0);
- HEAP16[$lagIndex116>>1] = 0;
- $100 = $psEnc$addr;
- $indices118 = ((($100)) + 4768|0);
- $contourIndex119 = ((($indices118)) + 28|0);
- HEAP8[$contourIndex119>>0] = 0;
- $101 = $psEnc$addr;
- $LTPCorr120 = ((($101)) + 12236|0);
- HEAPF32[$LTPCorr120>>2] = 0.0;
- STACKTOP = sp;return;
-}
-function _silk_find_pred_coefs_FLP($psEnc,$psEncCtrl,$res_pitch,$x,$condCoding) {
- $psEnc = $psEnc|0;
- $psEncCtrl = $psEncCtrl|0;
- $res_pitch = $res_pitch|0;
- $x = $x|0;
- $condCoding = $condCoding|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $100 = 0, $101 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
- var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
- var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0.0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0;
- var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
- var $8 = 0.0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
- var $98 = 0, $99 = 0, $LPC_in_pre = 0, $LTPCoef = 0, $LTPCoef15 = 0, $LTPCoef31 = 0, $LTPCoef70 = 0, $LTPIndex = 0, $LTPQuantLowComplexity = 0, $LTPredCodGain = 0, $LTPredCodGain76 = 0, $LTPredCodGain82 = 0, $NLSF_Q15 = 0, $PERIndex = 0, $PredCoef = 0, $PredCoef101 = 0, $ResNrg = 0, $WLTP = 0, $Wght = 0, $add = 0;
- var $add$ptr = 0, $add$ptr45 = 0, $add$ptr63 = 0, $add$ptr66 = 0, $add62 = 0, $add88 = 0.0, $arch = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $arrayidx53 = 0, $cmp = 0, $cmp50 = 0, $cmp6 = 0, $coding_quality = 0, $condCoding$addr = 0, $conv = 0, $conv84 = 0.0;
- var $conv85 = 0.0, $div = 0.0, $div83 = 0.0, $div86 = 0.0, $div89 = 0.0, $first_frame_after_reset = 0, $i = 0, $idx$neg = 0, $idx$neg44 = 0, $inc = 0, $inc68 = 0, $indices = 0, $indices18 = 0, $indices21 = 0, $invGains = 0, $ltp_mem_length = 0, $minInvGain = 0.0, $mu_LTP_Q9 = 0, $mul = 0.0, $mul74 = 0;
- var $mul75 = 0, $mul87 = 0.0, $nb_subfr = 0, $nb_subfr108 = 0, $nb_subfr13 = 0, $nb_subfr27 = 0, $nb_subfr39 = 0, $nb_subfr49 = 0, $nb_subfr73 = 0, $pitchL = 0, $pitchL33 = 0, $predictLPCOrder = 0, $predictLPCOrder110 = 0, $predictLPCOrder41 = 0, $predictLPCOrder43 = 0, $predictLPCOrder57 = 0, $predictLPCOrder61 = 0, $prev_NLSFq_Q15 = 0, $prev_NLSFq_Q15112 = 0, $psEnc$addr = 0;
- var $psEncCtrl$addr = 0, $res_pitch$addr = 0, $signalType = 0, $subfr_length = 0, $subfr_length106 = 0, $subfr_length37 = 0, $subfr_length55 = 0, $subfr_length59 = 0, $subfr_length65 = 0, $sum_log_gain_Q7 = 0, $sum_log_gain_Q778 = 0, $tobool = 0, $x$addr = 0, $x_pre_ptr = 0, $x_ptr = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 2048|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(2048|0);
- $WLTP = sp + 1584|0;
- $invGains = sp + 1568|0;
- $Wght = sp + 1552|0;
- $NLSF_Q15 = sp + 2008|0;
- $LPC_in_pre = sp + 8|0;
- $psEnc$addr = $psEnc;
- $psEncCtrl$addr = $psEncCtrl;
- $res_pitch$addr = $res_pitch;
- $x$addr = $x;
- $condCoding$addr = $condCoding;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $psEnc$addr;
- $nb_subfr = ((($1)) + 4604|0);
- $2 = HEAP32[$nb_subfr>>2]|0;
- $cmp = ($0|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $psEncCtrl$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $div = 1.0 / $5;
- $6 = $i;
- $arrayidx1 = (($invGains) + ($6<<2)|0);
- HEAPF32[$arrayidx1>>2] = $div;
- $7 = $i;
- $arrayidx2 = (($invGains) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx2>>2];
- $9 = $i;
- $arrayidx3 = (($invGains) + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx3>>2];
- $mul = $8 * $10;
- $11 = $i;
- $arrayidx4 = (($Wght) + ($11<<2)|0);
- HEAPF32[$arrayidx4>>2] = $mul;
- $12 = $i;
- $inc = (($12) + 1)|0;
- $i = $inc;
- }
- $13 = $psEnc$addr;
- $indices = ((($13)) + 4768|0);
- $signalType = ((($indices)) + 29|0);
- $14 = HEAP8[$signalType>>0]|0;
- $conv = $14 << 24 >> 24;
- $cmp6 = ($conv|0)==(2);
- if ($cmp6) {
- $15 = $psEncCtrl$addr;
- $LTPCoef = ((($15)) + 144|0);
- $16 = $psEncCtrl$addr;
- $LTPredCodGain = ((($16)) + 872|0);
- $17 = $res_pitch$addr;
- $18 = $psEncCtrl$addr;
- $pitchL = ((($18)) + 228|0);
- $19 = $psEnc$addr;
- $subfr_length = ((($19)) + 4612|0);
- $20 = HEAP32[$subfr_length>>2]|0;
- $21 = $psEnc$addr;
- $nb_subfr13 = ((($21)) + 4604|0);
- $22 = HEAP32[$nb_subfr13>>2]|0;
- $23 = $psEnc$addr;
- $ltp_mem_length = ((($23)) + 4616|0);
- $24 = HEAP32[$ltp_mem_length>>2]|0;
- _silk_find_LTP_FLP($LTPCoef,$WLTP,$LTPredCodGain,$17,$pitchL,$Wght,$20,$22,$24);
- $25 = $psEncCtrl$addr;
- $LTPCoef15 = ((($25)) + 144|0);
- $26 = $psEnc$addr;
- $indices18 = ((($26)) + 4768|0);
- $LTPIndex = ((($indices18)) + 4|0);
- $27 = $psEnc$addr;
- $indices21 = ((($27)) + 4768|0);
- $PERIndex = ((($indices21)) + 32|0);
- $28 = $psEnc$addr;
- $sum_log_gain_Q7 = ((($28)) + 4688|0);
- $29 = $psEnc$addr;
- $mu_LTP_Q9 = ((($29)) + 4684|0);
- $30 = HEAP32[$mu_LTP_Q9>>2]|0;
- $31 = $psEnc$addr;
- $LTPQuantLowComplexity = ((($31)) + 4680|0);
- $32 = HEAP32[$LTPQuantLowComplexity>>2]|0;
- $33 = $psEnc$addr;
- $nb_subfr27 = ((($33)) + 4604|0);
- $34 = HEAP32[$nb_subfr27>>2]|0;
- $35 = $psEnc$addr;
- $arch = ((($35)) + 5124|0);
- $36 = HEAP32[$arch>>2]|0;
- _silk_quant_LTP_gains_FLP($LTPCoef15,$LTPIndex,$PERIndex,$sum_log_gain_Q7,$WLTP,$30,$32,$34,$36);
- $37 = $psEnc$addr;
- $38 = $psEncCtrl$addr;
- $39 = $condCoding$addr;
- _silk_LTP_scale_ctrl_FLP($37,$38,$39);
- $40 = $x$addr;
- $41 = $psEnc$addr;
- $predictLPCOrder = ((($41)) + 4664|0);
- $42 = HEAP32[$predictLPCOrder>>2]|0;
- $idx$neg = (0 - ($42))|0;
- $add$ptr = (($40) + ($idx$neg<<2)|0);
- $43 = $psEncCtrl$addr;
- $LTPCoef31 = ((($43)) + 144|0);
- $44 = $psEncCtrl$addr;
- $pitchL33 = ((($44)) + 228|0);
- $45 = $psEnc$addr;
- $subfr_length37 = ((($45)) + 4612|0);
- $46 = HEAP32[$subfr_length37>>2]|0;
- $47 = $psEnc$addr;
- $nb_subfr39 = ((($47)) + 4604|0);
- $48 = HEAP32[$nb_subfr39>>2]|0;
- $49 = $psEnc$addr;
- $predictLPCOrder41 = ((($49)) + 4664|0);
- $50 = HEAP32[$predictLPCOrder41>>2]|0;
- _silk_LTP_analysis_filter_FLP($LPC_in_pre,$add$ptr,$LTPCoef31,$pitchL33,$invGains,$46,$48,$50);
- } else {
- $51 = $x$addr;
- $52 = $psEnc$addr;
- $predictLPCOrder43 = ((($52)) + 4664|0);
- $53 = HEAP32[$predictLPCOrder43>>2]|0;
- $idx$neg44 = (0 - ($53))|0;
- $add$ptr45 = (($51) + ($idx$neg44<<2)|0);
- $x_ptr = $add$ptr45;
- $x_pre_ptr = $LPC_in_pre;
- $i = 0;
- while(1) {
- $54 = $i;
- $55 = $psEnc$addr;
- $nb_subfr49 = ((($55)) + 4604|0);
- $56 = HEAP32[$nb_subfr49>>2]|0;
- $cmp50 = ($54|0)<($56|0);
- if (!($cmp50)) {
- break;
- }
- $57 = $x_pre_ptr;
- $58 = $x_ptr;
- $59 = $i;
- $arrayidx53 = (($invGains) + ($59<<2)|0);
- $60 = +HEAPF32[$arrayidx53>>2];
- $61 = $psEnc$addr;
- $subfr_length55 = ((($61)) + 4612|0);
- $62 = HEAP32[$subfr_length55>>2]|0;
- $63 = $psEnc$addr;
- $predictLPCOrder57 = ((($63)) + 4664|0);
- $64 = HEAP32[$predictLPCOrder57>>2]|0;
- $add = (($62) + ($64))|0;
- _silk_scale_copy_vector_FLP($57,$58,$60,$add);
- $65 = $psEnc$addr;
- $subfr_length59 = ((($65)) + 4612|0);
- $66 = HEAP32[$subfr_length59>>2]|0;
- $67 = $psEnc$addr;
- $predictLPCOrder61 = ((($67)) + 4664|0);
- $68 = HEAP32[$predictLPCOrder61>>2]|0;
- $add62 = (($66) + ($68))|0;
- $69 = $x_pre_ptr;
- $add$ptr63 = (($69) + ($add62<<2)|0);
- $x_pre_ptr = $add$ptr63;
- $70 = $psEnc$addr;
- $subfr_length65 = ((($70)) + 4612|0);
- $71 = HEAP32[$subfr_length65>>2]|0;
- $72 = $x_ptr;
- $add$ptr66 = (($72) + ($71<<2)|0);
- $x_ptr = $add$ptr66;
- $73 = $i;
- $inc68 = (($73) + 1)|0;
- $i = $inc68;
- }
- $74 = $psEncCtrl$addr;
- $LTPCoef70 = ((($74)) + 144|0);
- $75 = $psEnc$addr;
- $nb_subfr73 = ((($75)) + 4604|0);
- $76 = HEAP32[$nb_subfr73>>2]|0;
- $mul74 = ($76*5)|0;
- $mul75 = $mul74<<2;
- _memset(($LTPCoef70|0),0,($mul75|0))|0;
- $77 = $psEncCtrl$addr;
- $LTPredCodGain76 = ((($77)) + 872|0);
- HEAPF32[$LTPredCodGain76>>2] = 0.0;
- $78 = $psEnc$addr;
- $sum_log_gain_Q778 = ((($78)) + 4688|0);
- HEAP32[$sum_log_gain_Q778>>2] = 0;
- }
- $79 = $psEnc$addr;
- $first_frame_after_reset = ((($79)) + 4696|0);
- $80 = HEAP32[$first_frame_after_reset>>2]|0;
- $tobool = ($80|0)!=(0);
- if ($tobool) {
- $minInvGain = 0.0099999997764825821;
- $87 = $psEnc$addr;
- $88 = $minInvGain;
- _silk_find_LPC_FLP($87,$NLSF_Q15,$LPC_in_pre,$88);
- $89 = $psEnc$addr;
- $90 = $psEncCtrl$addr;
- $PredCoef = ((($90)) + 16|0);
- $91 = $psEnc$addr;
- $prev_NLSFq_Q15 = ((($91)) + 4524|0);
- _silk_process_NLSFs_FLP($89,$PredCoef,$NLSF_Q15,$prev_NLSFq_Q15);
- $92 = $psEncCtrl$addr;
- $ResNrg = ((($92)) + 876|0);
- $93 = $psEncCtrl$addr;
- $PredCoef101 = ((($93)) + 16|0);
- $94 = $psEncCtrl$addr;
- $95 = $psEnc$addr;
- $subfr_length106 = ((($95)) + 4612|0);
- $96 = HEAP32[$subfr_length106>>2]|0;
- $97 = $psEnc$addr;
- $nb_subfr108 = ((($97)) + 4604|0);
- $98 = HEAP32[$nb_subfr108>>2]|0;
- $99 = $psEnc$addr;
- $predictLPCOrder110 = ((($99)) + 4664|0);
- $100 = HEAP32[$predictLPCOrder110>>2]|0;
- _silk_residual_energy_FLP($ResNrg,$LPC_in_pre,$PredCoef101,$94,$96,$98,$100);
- $101 = $psEnc$addr;
- $prev_NLSFq_Q15112 = ((($101)) + 4524|0);
- dest=$prev_NLSFq_Q15112; src=$NLSF_Q15; stop=dest+32|0; do { HEAP16[dest>>1]=HEAP16[src>>1]|0; dest=dest+2|0; src=src+2|0; } while ((dest|0) < (stop|0));
- STACKTOP = sp;return;
- } else {
- $81 = $psEncCtrl$addr;
- $LTPredCodGain82 = ((($81)) + 872|0);
- $82 = +HEAPF32[$LTPredCodGain82>>2];
- $div83 = $82 / 3.0;
- $conv84 = $div83;
- $83 = (+Math_pow(2.0,(+$conv84)));
- $conv85 = $83;
- $div86 = $conv85 / 1.0E+4;
- $minInvGain = $div86;
- $84 = $psEncCtrl$addr;
- $coding_quality = ((($84)) + 860|0);
- $85 = +HEAPF32[$coding_quality>>2];
- $mul87 = 0.75 * $85;
- $add88 = 0.25 + $mul87;
- $86 = $minInvGain;
- $div89 = $86 / $add88;
- $minInvGain = $div89;
- $87 = $psEnc$addr;
- $88 = $minInvGain;
- _silk_find_LPC_FLP($87,$NLSF_Q15,$LPC_in_pre,$88);
- $89 = $psEnc$addr;
- $90 = $psEncCtrl$addr;
- $PredCoef = ((($90)) + 16|0);
- $91 = $psEnc$addr;
- $prev_NLSFq_Q15 = ((($91)) + 4524|0);
- _silk_process_NLSFs_FLP($89,$PredCoef,$NLSF_Q15,$prev_NLSFq_Q15);
- $92 = $psEncCtrl$addr;
- $ResNrg = ((($92)) + 876|0);
- $93 = $psEncCtrl$addr;
- $PredCoef101 = ((($93)) + 16|0);
- $94 = $psEncCtrl$addr;
- $95 = $psEnc$addr;
- $subfr_length106 = ((($95)) + 4612|0);
- $96 = HEAP32[$subfr_length106>>2]|0;
- $97 = $psEnc$addr;
- $nb_subfr108 = ((($97)) + 4604|0);
- $98 = HEAP32[$nb_subfr108>>2]|0;
- $99 = $psEnc$addr;
- $predictLPCOrder110 = ((($99)) + 4664|0);
- $100 = HEAP32[$predictLPCOrder110>>2]|0;
- _silk_residual_energy_FLP($ResNrg,$LPC_in_pre,$PredCoef101,$94,$96,$98,$100);
- $101 = $psEnc$addr;
- $prev_NLSFq_Q15112 = ((($101)) + 4524|0);
- dest=$prev_NLSFq_Q15112; src=$NLSF_Q15; stop=dest+32|0; do { HEAP16[dest>>1]=HEAP16[src>>1]|0; dest=dest+2|0; src=src+2|0; } while ((dest|0) < (stop|0));
- STACKTOP = sp;return;
- }
-}
-function _silk_LPC_analysis_filter_FLP($r_LPC,$PredCoef,$s,$length,$Order) {
- $r_LPC = $r_LPC|0;
- $PredCoef = $PredCoef|0;
- $s = $s|0;
- $length = $length|0;
- $Order = $Order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $Order$addr = 0, $PredCoef$addr = 0, $length$addr = 0, $mul = 0, $r_LPC$addr = 0, $s$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $r_LPC$addr = $r_LPC;
- $PredCoef$addr = $PredCoef;
- $s$addr = $s;
- $length$addr = $length;
- $Order$addr = $Order;
- $0 = $Order$addr;
- switch ($0|0) {
- case 6: {
- $1 = $r_LPC$addr;
- $2 = $PredCoef$addr;
- $3 = $s$addr;
- $4 = $length$addr;
- _silk_LPC_analysis_filter6_FLP($1,$2,$3,$4);
- break;
- }
- case 8: {
- $5 = $r_LPC$addr;
- $6 = $PredCoef$addr;
- $7 = $s$addr;
- $8 = $length$addr;
- _silk_LPC_analysis_filter8_FLP($5,$6,$7,$8);
- break;
- }
- case 10: {
- $9 = $r_LPC$addr;
- $10 = $PredCoef$addr;
- $11 = $s$addr;
- $12 = $length$addr;
- _silk_LPC_analysis_filter10_FLP($9,$10,$11,$12);
- break;
- }
- case 12: {
- $13 = $r_LPC$addr;
- $14 = $PredCoef$addr;
- $15 = $s$addr;
- $16 = $length$addr;
- _silk_LPC_analysis_filter12_FLP($13,$14,$15,$16);
- break;
- }
- case 16: {
- $17 = $r_LPC$addr;
- $18 = $PredCoef$addr;
- $19 = $s$addr;
- $20 = $length$addr;
- _silk_LPC_analysis_filter16_FLP($17,$18,$19,$20);
- break;
- }
- default: {
- }
- }
- $21 = $r_LPC$addr;
- $22 = $Order$addr;
- $mul = $22<<2;
- _memset(($21|0),0,($mul|0))|0;
- STACKTOP = sp;return;
-}
-function _silk_LPC_analysis_filter6_FLP($r_LPC,$PredCoef,$s,$length) {
- $r_LPC = $r_LPC|0;
- $PredCoef = $PredCoef|0;
- $s = $s|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0.0, $LPC_pred = 0.0, $PredCoef$addr = 0, $add = 0.0, $add13 = 0.0, $add17 = 0.0, $add21 = 0.0;
- var $add9 = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx18 = 0, $arrayidx19 = 0, $arrayidx22 = 0, $arrayidx24 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $cmp = 0, $inc = 0, $ix = 0, $length$addr = 0, $mul = 0.0, $mul12 = 0.0;
- var $mul16 = 0.0, $mul20 = 0.0, $mul5 = 0.0, $mul8 = 0.0, $r_LPC$addr = 0, $s$addr = 0, $s_ptr = 0, $sub = 0, $sub23 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $r_LPC$addr = $r_LPC;
- $PredCoef$addr = $PredCoef;
- $s$addr = $s;
- $length$addr = $length;
- $ix = 6;
- while(1) {
- $0 = $ix;
- $1 = $length$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $s$addr;
- $3 = $ix;
- $sub = (($3) - 1)|0;
- $arrayidx = (($2) + ($sub<<2)|0);
- $s_ptr = $arrayidx;
- $4 = $s_ptr;
- $5 = +HEAPF32[$4>>2];
- $6 = $PredCoef$addr;
- $7 = +HEAPF32[$6>>2];
- $mul = $5 * $7;
- $8 = $s_ptr;
- $arrayidx3 = ((($8)) + -4|0);
- $9 = +HEAPF32[$arrayidx3>>2];
- $10 = $PredCoef$addr;
- $arrayidx4 = ((($10)) + 4|0);
- $11 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $11;
- $add = $mul + $mul5;
- $12 = $s_ptr;
- $arrayidx6 = ((($12)) + -8|0);
- $13 = +HEAPF32[$arrayidx6>>2];
- $14 = $PredCoef$addr;
- $arrayidx7 = ((($14)) + 8|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $mul8 = $13 * $15;
- $add9 = $add + $mul8;
- $16 = $s_ptr;
- $arrayidx10 = ((($16)) + -12|0);
- $17 = +HEAPF32[$arrayidx10>>2];
- $18 = $PredCoef$addr;
- $arrayidx11 = ((($18)) + 12|0);
- $19 = +HEAPF32[$arrayidx11>>2];
- $mul12 = $17 * $19;
- $add13 = $add9 + $mul12;
- $20 = $s_ptr;
- $arrayidx14 = ((($20)) + -16|0);
- $21 = +HEAPF32[$arrayidx14>>2];
- $22 = $PredCoef$addr;
- $arrayidx15 = ((($22)) + 16|0);
- $23 = +HEAPF32[$arrayidx15>>2];
- $mul16 = $21 * $23;
- $add17 = $add13 + $mul16;
- $24 = $s_ptr;
- $arrayidx18 = ((($24)) + -20|0);
- $25 = +HEAPF32[$arrayidx18>>2];
- $26 = $PredCoef$addr;
- $arrayidx19 = ((($26)) + 20|0);
- $27 = +HEAPF32[$arrayidx19>>2];
- $mul20 = $25 * $27;
- $add21 = $add17 + $mul20;
- $LPC_pred = $add21;
- $28 = $s_ptr;
- $arrayidx22 = ((($28)) + 4|0);
- $29 = +HEAPF32[$arrayidx22>>2];
- $30 = $LPC_pred;
- $sub23 = $29 - $30;
- $31 = $r_LPC$addr;
- $32 = $ix;
- $arrayidx24 = (($31) + ($32<<2)|0);
- HEAPF32[$arrayidx24>>2] = $sub23;
- $33 = $ix;
- $inc = (($33) + 1)|0;
- $ix = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_LPC_analysis_filter8_FLP($r_LPC,$PredCoef,$s,$length) {
- $r_LPC = $r_LPC|0;
- $PredCoef = $PredCoef|0;
- $s = $s|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $5 = 0.0, $6 = 0, $7 = 0.0;
- var $8 = 0, $9 = 0.0, $LPC_pred = 0.0, $PredCoef$addr = 0, $add = 0.0, $add13 = 0.0, $add17 = 0.0, $add21 = 0.0, $add25 = 0.0, $add29 = 0.0, $add9 = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx18 = 0, $arrayidx19 = 0, $arrayidx22 = 0, $arrayidx23 = 0;
- var $arrayidx26 = 0, $arrayidx27 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx32 = 0, $arrayidx4 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $cmp = 0, $inc = 0, $ix = 0, $length$addr = 0, $mul = 0.0, $mul12 = 0.0, $mul16 = 0.0, $mul20 = 0.0, $mul24 = 0.0, $mul28 = 0.0, $mul5 = 0.0, $mul8 = 0.0;
- var $r_LPC$addr = 0, $s$addr = 0, $s_ptr = 0, $sub = 0, $sub31 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $r_LPC$addr = $r_LPC;
- $PredCoef$addr = $PredCoef;
- $s$addr = $s;
- $length$addr = $length;
- $ix = 8;
- while(1) {
- $0 = $ix;
- $1 = $length$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $s$addr;
- $3 = $ix;
- $sub = (($3) - 1)|0;
- $arrayidx = (($2) + ($sub<<2)|0);
- $s_ptr = $arrayidx;
- $4 = $s_ptr;
- $5 = +HEAPF32[$4>>2];
- $6 = $PredCoef$addr;
- $7 = +HEAPF32[$6>>2];
- $mul = $5 * $7;
- $8 = $s_ptr;
- $arrayidx3 = ((($8)) + -4|0);
- $9 = +HEAPF32[$arrayidx3>>2];
- $10 = $PredCoef$addr;
- $arrayidx4 = ((($10)) + 4|0);
- $11 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $11;
- $add = $mul + $mul5;
- $12 = $s_ptr;
- $arrayidx6 = ((($12)) + -8|0);
- $13 = +HEAPF32[$arrayidx6>>2];
- $14 = $PredCoef$addr;
- $arrayidx7 = ((($14)) + 8|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $mul8 = $13 * $15;
- $add9 = $add + $mul8;
- $16 = $s_ptr;
- $arrayidx10 = ((($16)) + -12|0);
- $17 = +HEAPF32[$arrayidx10>>2];
- $18 = $PredCoef$addr;
- $arrayidx11 = ((($18)) + 12|0);
- $19 = +HEAPF32[$arrayidx11>>2];
- $mul12 = $17 * $19;
- $add13 = $add9 + $mul12;
- $20 = $s_ptr;
- $arrayidx14 = ((($20)) + -16|0);
- $21 = +HEAPF32[$arrayidx14>>2];
- $22 = $PredCoef$addr;
- $arrayidx15 = ((($22)) + 16|0);
- $23 = +HEAPF32[$arrayidx15>>2];
- $mul16 = $21 * $23;
- $add17 = $add13 + $mul16;
- $24 = $s_ptr;
- $arrayidx18 = ((($24)) + -20|0);
- $25 = +HEAPF32[$arrayidx18>>2];
- $26 = $PredCoef$addr;
- $arrayidx19 = ((($26)) + 20|0);
- $27 = +HEAPF32[$arrayidx19>>2];
- $mul20 = $25 * $27;
- $add21 = $add17 + $mul20;
- $28 = $s_ptr;
- $arrayidx22 = ((($28)) + -24|0);
- $29 = +HEAPF32[$arrayidx22>>2];
- $30 = $PredCoef$addr;
- $arrayidx23 = ((($30)) + 24|0);
- $31 = +HEAPF32[$arrayidx23>>2];
- $mul24 = $29 * $31;
- $add25 = $add21 + $mul24;
- $32 = $s_ptr;
- $arrayidx26 = ((($32)) + -28|0);
- $33 = +HEAPF32[$arrayidx26>>2];
- $34 = $PredCoef$addr;
- $arrayidx27 = ((($34)) + 28|0);
- $35 = +HEAPF32[$arrayidx27>>2];
- $mul28 = $33 * $35;
- $add29 = $add25 + $mul28;
- $LPC_pred = $add29;
- $36 = $s_ptr;
- $arrayidx30 = ((($36)) + 4|0);
- $37 = +HEAPF32[$arrayidx30>>2];
- $38 = $LPC_pred;
- $sub31 = $37 - $38;
- $39 = $r_LPC$addr;
- $40 = $ix;
- $arrayidx32 = (($39) + ($40<<2)|0);
- HEAPF32[$arrayidx32>>2] = $sub31;
- $41 = $ix;
- $inc = (($41) + 1)|0;
- $ix = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_LPC_analysis_filter10_FLP($r_LPC,$PredCoef,$s,$length) {
- $r_LPC = $r_LPC|0;
- $PredCoef = $PredCoef|0;
- $s = $s|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0.0, $44 = 0;
- var $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $5 = 0.0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0.0, $LPC_pred = 0.0, $PredCoef$addr = 0, $add = 0.0, $add13 = 0.0, $add17 = 0.0, $add21 = 0.0, $add25 = 0.0, $add29 = 0.0, $add33 = 0.0, $add37 = 0.0;
- var $add9 = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx18 = 0, $arrayidx19 = 0, $arrayidx22 = 0, $arrayidx23 = 0, $arrayidx26 = 0, $arrayidx27 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx34 = 0, $arrayidx35 = 0, $arrayidx38 = 0, $arrayidx4 = 0, $arrayidx40 = 0;
- var $arrayidx6 = 0, $arrayidx7 = 0, $cmp = 0, $inc = 0, $ix = 0, $length$addr = 0, $mul = 0.0, $mul12 = 0.0, $mul16 = 0.0, $mul20 = 0.0, $mul24 = 0.0, $mul28 = 0.0, $mul32 = 0.0, $mul36 = 0.0, $mul5 = 0.0, $mul8 = 0.0, $r_LPC$addr = 0, $s$addr = 0, $s_ptr = 0, $sub = 0;
- var $sub39 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $r_LPC$addr = $r_LPC;
- $PredCoef$addr = $PredCoef;
- $s$addr = $s;
- $length$addr = $length;
- $ix = 10;
- while(1) {
- $0 = $ix;
- $1 = $length$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $s$addr;
- $3 = $ix;
- $sub = (($3) - 1)|0;
- $arrayidx = (($2) + ($sub<<2)|0);
- $s_ptr = $arrayidx;
- $4 = $s_ptr;
- $5 = +HEAPF32[$4>>2];
- $6 = $PredCoef$addr;
- $7 = +HEAPF32[$6>>2];
- $mul = $5 * $7;
- $8 = $s_ptr;
- $arrayidx3 = ((($8)) + -4|0);
- $9 = +HEAPF32[$arrayidx3>>2];
- $10 = $PredCoef$addr;
- $arrayidx4 = ((($10)) + 4|0);
- $11 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $11;
- $add = $mul + $mul5;
- $12 = $s_ptr;
- $arrayidx6 = ((($12)) + -8|0);
- $13 = +HEAPF32[$arrayidx6>>2];
- $14 = $PredCoef$addr;
- $arrayidx7 = ((($14)) + 8|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $mul8 = $13 * $15;
- $add9 = $add + $mul8;
- $16 = $s_ptr;
- $arrayidx10 = ((($16)) + -12|0);
- $17 = +HEAPF32[$arrayidx10>>2];
- $18 = $PredCoef$addr;
- $arrayidx11 = ((($18)) + 12|0);
- $19 = +HEAPF32[$arrayidx11>>2];
- $mul12 = $17 * $19;
- $add13 = $add9 + $mul12;
- $20 = $s_ptr;
- $arrayidx14 = ((($20)) + -16|0);
- $21 = +HEAPF32[$arrayidx14>>2];
- $22 = $PredCoef$addr;
- $arrayidx15 = ((($22)) + 16|0);
- $23 = +HEAPF32[$arrayidx15>>2];
- $mul16 = $21 * $23;
- $add17 = $add13 + $mul16;
- $24 = $s_ptr;
- $arrayidx18 = ((($24)) + -20|0);
- $25 = +HEAPF32[$arrayidx18>>2];
- $26 = $PredCoef$addr;
- $arrayidx19 = ((($26)) + 20|0);
- $27 = +HEAPF32[$arrayidx19>>2];
- $mul20 = $25 * $27;
- $add21 = $add17 + $mul20;
- $28 = $s_ptr;
- $arrayidx22 = ((($28)) + -24|0);
- $29 = +HEAPF32[$arrayidx22>>2];
- $30 = $PredCoef$addr;
- $arrayidx23 = ((($30)) + 24|0);
- $31 = +HEAPF32[$arrayidx23>>2];
- $mul24 = $29 * $31;
- $add25 = $add21 + $mul24;
- $32 = $s_ptr;
- $arrayidx26 = ((($32)) + -28|0);
- $33 = +HEAPF32[$arrayidx26>>2];
- $34 = $PredCoef$addr;
- $arrayidx27 = ((($34)) + 28|0);
- $35 = +HEAPF32[$arrayidx27>>2];
- $mul28 = $33 * $35;
- $add29 = $add25 + $mul28;
- $36 = $s_ptr;
- $arrayidx30 = ((($36)) + -32|0);
- $37 = +HEAPF32[$arrayidx30>>2];
- $38 = $PredCoef$addr;
- $arrayidx31 = ((($38)) + 32|0);
- $39 = +HEAPF32[$arrayidx31>>2];
- $mul32 = $37 * $39;
- $add33 = $add29 + $mul32;
- $40 = $s_ptr;
- $arrayidx34 = ((($40)) + -36|0);
- $41 = +HEAPF32[$arrayidx34>>2];
- $42 = $PredCoef$addr;
- $arrayidx35 = ((($42)) + 36|0);
- $43 = +HEAPF32[$arrayidx35>>2];
- $mul36 = $41 * $43;
- $add37 = $add33 + $mul36;
- $LPC_pred = $add37;
- $44 = $s_ptr;
- $arrayidx38 = ((($44)) + 4|0);
- $45 = +HEAPF32[$arrayidx38>>2];
- $46 = $LPC_pred;
- $sub39 = $45 - $46;
- $47 = $r_LPC$addr;
- $48 = $ix;
- $arrayidx40 = (($47) + ($48<<2)|0);
- HEAPF32[$arrayidx40>>2] = $sub39;
- $49 = $ix;
- $inc = (($49) + 1)|0;
- $ix = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_LPC_analysis_filter12_FLP($r_LPC,$PredCoef,$s,$length) {
- $r_LPC = $r_LPC|0;
- $PredCoef = $PredCoef|0;
- $s = $s|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0.0, $44 = 0;
- var $45 = 0.0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0.0, $5 = 0.0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0.0, $LPC_pred = 0.0, $PredCoef$addr = 0;
- var $add = 0.0, $add13 = 0.0, $add17 = 0.0, $add21 = 0.0, $add25 = 0.0, $add29 = 0.0, $add33 = 0.0, $add37 = 0.0, $add41 = 0.0, $add45 = 0.0, $add9 = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx18 = 0, $arrayidx19 = 0, $arrayidx22 = 0, $arrayidx23 = 0;
- var $arrayidx26 = 0, $arrayidx27 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx34 = 0, $arrayidx35 = 0, $arrayidx38 = 0, $arrayidx39 = 0, $arrayidx4 = 0, $arrayidx42 = 0, $arrayidx43 = 0, $arrayidx46 = 0, $arrayidx48 = 0, $arrayidx6 = 0, $arrayidx7 = 0, $cmp = 0, $inc = 0, $ix = 0, $length$addr = 0;
- var $mul = 0.0, $mul12 = 0.0, $mul16 = 0.0, $mul20 = 0.0, $mul24 = 0.0, $mul28 = 0.0, $mul32 = 0.0, $mul36 = 0.0, $mul40 = 0.0, $mul44 = 0.0, $mul5 = 0.0, $mul8 = 0.0, $r_LPC$addr = 0, $s$addr = 0, $s_ptr = 0, $sub = 0, $sub47 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $r_LPC$addr = $r_LPC;
- $PredCoef$addr = $PredCoef;
- $s$addr = $s;
- $length$addr = $length;
- $ix = 12;
- while(1) {
- $0 = $ix;
- $1 = $length$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $s$addr;
- $3 = $ix;
- $sub = (($3) - 1)|0;
- $arrayidx = (($2) + ($sub<<2)|0);
- $s_ptr = $arrayidx;
- $4 = $s_ptr;
- $5 = +HEAPF32[$4>>2];
- $6 = $PredCoef$addr;
- $7 = +HEAPF32[$6>>2];
- $mul = $5 * $7;
- $8 = $s_ptr;
- $arrayidx3 = ((($8)) + -4|0);
- $9 = +HEAPF32[$arrayidx3>>2];
- $10 = $PredCoef$addr;
- $arrayidx4 = ((($10)) + 4|0);
- $11 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $11;
- $add = $mul + $mul5;
- $12 = $s_ptr;
- $arrayidx6 = ((($12)) + -8|0);
- $13 = +HEAPF32[$arrayidx6>>2];
- $14 = $PredCoef$addr;
- $arrayidx7 = ((($14)) + 8|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $mul8 = $13 * $15;
- $add9 = $add + $mul8;
- $16 = $s_ptr;
- $arrayidx10 = ((($16)) + -12|0);
- $17 = +HEAPF32[$arrayidx10>>2];
- $18 = $PredCoef$addr;
- $arrayidx11 = ((($18)) + 12|0);
- $19 = +HEAPF32[$arrayidx11>>2];
- $mul12 = $17 * $19;
- $add13 = $add9 + $mul12;
- $20 = $s_ptr;
- $arrayidx14 = ((($20)) + -16|0);
- $21 = +HEAPF32[$arrayidx14>>2];
- $22 = $PredCoef$addr;
- $arrayidx15 = ((($22)) + 16|0);
- $23 = +HEAPF32[$arrayidx15>>2];
- $mul16 = $21 * $23;
- $add17 = $add13 + $mul16;
- $24 = $s_ptr;
- $arrayidx18 = ((($24)) + -20|0);
- $25 = +HEAPF32[$arrayidx18>>2];
- $26 = $PredCoef$addr;
- $arrayidx19 = ((($26)) + 20|0);
- $27 = +HEAPF32[$arrayidx19>>2];
- $mul20 = $25 * $27;
- $add21 = $add17 + $mul20;
- $28 = $s_ptr;
- $arrayidx22 = ((($28)) + -24|0);
- $29 = +HEAPF32[$arrayidx22>>2];
- $30 = $PredCoef$addr;
- $arrayidx23 = ((($30)) + 24|0);
- $31 = +HEAPF32[$arrayidx23>>2];
- $mul24 = $29 * $31;
- $add25 = $add21 + $mul24;
- $32 = $s_ptr;
- $arrayidx26 = ((($32)) + -28|0);
- $33 = +HEAPF32[$arrayidx26>>2];
- $34 = $PredCoef$addr;
- $arrayidx27 = ((($34)) + 28|0);
- $35 = +HEAPF32[$arrayidx27>>2];
- $mul28 = $33 * $35;
- $add29 = $add25 + $mul28;
- $36 = $s_ptr;
- $arrayidx30 = ((($36)) + -32|0);
- $37 = +HEAPF32[$arrayidx30>>2];
- $38 = $PredCoef$addr;
- $arrayidx31 = ((($38)) + 32|0);
- $39 = +HEAPF32[$arrayidx31>>2];
- $mul32 = $37 * $39;
- $add33 = $add29 + $mul32;
- $40 = $s_ptr;
- $arrayidx34 = ((($40)) + -36|0);
- $41 = +HEAPF32[$arrayidx34>>2];
- $42 = $PredCoef$addr;
- $arrayidx35 = ((($42)) + 36|0);
- $43 = +HEAPF32[$arrayidx35>>2];
- $mul36 = $41 * $43;
- $add37 = $add33 + $mul36;
- $44 = $s_ptr;
- $arrayidx38 = ((($44)) + -40|0);
- $45 = +HEAPF32[$arrayidx38>>2];
- $46 = $PredCoef$addr;
- $arrayidx39 = ((($46)) + 40|0);
- $47 = +HEAPF32[$arrayidx39>>2];
- $mul40 = $45 * $47;
- $add41 = $add37 + $mul40;
- $48 = $s_ptr;
- $arrayidx42 = ((($48)) + -44|0);
- $49 = +HEAPF32[$arrayidx42>>2];
- $50 = $PredCoef$addr;
- $arrayidx43 = ((($50)) + 44|0);
- $51 = +HEAPF32[$arrayidx43>>2];
- $mul44 = $49 * $51;
- $add45 = $add41 + $mul44;
- $LPC_pred = $add45;
- $52 = $s_ptr;
- $arrayidx46 = ((($52)) + 4|0);
- $53 = +HEAPF32[$arrayidx46>>2];
- $54 = $LPC_pred;
- $sub47 = $53 - $54;
- $55 = $r_LPC$addr;
- $56 = $ix;
- $arrayidx48 = (($55) + ($56<<2)|0);
- HEAPF32[$arrayidx48>>2] = $sub47;
- $57 = $ix;
- $inc = (($57) + 1)|0;
- $ix = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_LPC_analysis_filter16_FLP($r_LPC,$PredCoef,$s,$length) {
- $r_LPC = $r_LPC|0;
- $PredCoef = $PredCoef|0;
- $s = $s|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0.0, $44 = 0;
- var $45 = 0.0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0.0, $5 = 0.0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0.0, $62 = 0;
- var $63 = 0.0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0.0, $68 = 0, $69 = 0.0, $7 = 0.0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0, $8 = 0, $9 = 0.0, $LPC_pred = 0.0, $PredCoef$addr = 0, $add = 0.0, $add13 = 0.0, $add17 = 0.0, $add21 = 0.0;
- var $add25 = 0.0, $add29 = 0.0, $add33 = 0.0, $add37 = 0.0, $add41 = 0.0, $add45 = 0.0, $add49 = 0.0, $add53 = 0.0, $add57 = 0.0, $add61 = 0.0, $add9 = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx18 = 0, $arrayidx19 = 0, $arrayidx22 = 0, $arrayidx23 = 0;
- var $arrayidx26 = 0, $arrayidx27 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx34 = 0, $arrayidx35 = 0, $arrayidx38 = 0, $arrayidx39 = 0, $arrayidx4 = 0, $arrayidx42 = 0, $arrayidx43 = 0, $arrayidx46 = 0, $arrayidx47 = 0, $arrayidx50 = 0, $arrayidx51 = 0, $arrayidx54 = 0, $arrayidx55 = 0, $arrayidx58 = 0, $arrayidx59 = 0;
- var $arrayidx6 = 0, $arrayidx62 = 0, $arrayidx64 = 0, $arrayidx7 = 0, $cmp = 0, $inc = 0, $ix = 0, $length$addr = 0, $mul = 0.0, $mul12 = 0.0, $mul16 = 0.0, $mul20 = 0.0, $mul24 = 0.0, $mul28 = 0.0, $mul32 = 0.0, $mul36 = 0.0, $mul40 = 0.0, $mul44 = 0.0, $mul48 = 0.0, $mul5 = 0.0;
- var $mul52 = 0.0, $mul56 = 0.0, $mul60 = 0.0, $mul8 = 0.0, $r_LPC$addr = 0, $s$addr = 0, $s_ptr = 0, $sub = 0, $sub63 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $r_LPC$addr = $r_LPC;
- $PredCoef$addr = $PredCoef;
- $s$addr = $s;
- $length$addr = $length;
- $ix = 16;
- while(1) {
- $0 = $ix;
- $1 = $length$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $s$addr;
- $3 = $ix;
- $sub = (($3) - 1)|0;
- $arrayidx = (($2) + ($sub<<2)|0);
- $s_ptr = $arrayidx;
- $4 = $s_ptr;
- $5 = +HEAPF32[$4>>2];
- $6 = $PredCoef$addr;
- $7 = +HEAPF32[$6>>2];
- $mul = $5 * $7;
- $8 = $s_ptr;
- $arrayidx3 = ((($8)) + -4|0);
- $9 = +HEAPF32[$arrayidx3>>2];
- $10 = $PredCoef$addr;
- $arrayidx4 = ((($10)) + 4|0);
- $11 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $11;
- $add = $mul + $mul5;
- $12 = $s_ptr;
- $arrayidx6 = ((($12)) + -8|0);
- $13 = +HEAPF32[$arrayidx6>>2];
- $14 = $PredCoef$addr;
- $arrayidx7 = ((($14)) + 8|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $mul8 = $13 * $15;
- $add9 = $add + $mul8;
- $16 = $s_ptr;
- $arrayidx10 = ((($16)) + -12|0);
- $17 = +HEAPF32[$arrayidx10>>2];
- $18 = $PredCoef$addr;
- $arrayidx11 = ((($18)) + 12|0);
- $19 = +HEAPF32[$arrayidx11>>2];
- $mul12 = $17 * $19;
- $add13 = $add9 + $mul12;
- $20 = $s_ptr;
- $arrayidx14 = ((($20)) + -16|0);
- $21 = +HEAPF32[$arrayidx14>>2];
- $22 = $PredCoef$addr;
- $arrayidx15 = ((($22)) + 16|0);
- $23 = +HEAPF32[$arrayidx15>>2];
- $mul16 = $21 * $23;
- $add17 = $add13 + $mul16;
- $24 = $s_ptr;
- $arrayidx18 = ((($24)) + -20|0);
- $25 = +HEAPF32[$arrayidx18>>2];
- $26 = $PredCoef$addr;
- $arrayidx19 = ((($26)) + 20|0);
- $27 = +HEAPF32[$arrayidx19>>2];
- $mul20 = $25 * $27;
- $add21 = $add17 + $mul20;
- $28 = $s_ptr;
- $arrayidx22 = ((($28)) + -24|0);
- $29 = +HEAPF32[$arrayidx22>>2];
- $30 = $PredCoef$addr;
- $arrayidx23 = ((($30)) + 24|0);
- $31 = +HEAPF32[$arrayidx23>>2];
- $mul24 = $29 * $31;
- $add25 = $add21 + $mul24;
- $32 = $s_ptr;
- $arrayidx26 = ((($32)) + -28|0);
- $33 = +HEAPF32[$arrayidx26>>2];
- $34 = $PredCoef$addr;
- $arrayidx27 = ((($34)) + 28|0);
- $35 = +HEAPF32[$arrayidx27>>2];
- $mul28 = $33 * $35;
- $add29 = $add25 + $mul28;
- $36 = $s_ptr;
- $arrayidx30 = ((($36)) + -32|0);
- $37 = +HEAPF32[$arrayidx30>>2];
- $38 = $PredCoef$addr;
- $arrayidx31 = ((($38)) + 32|0);
- $39 = +HEAPF32[$arrayidx31>>2];
- $mul32 = $37 * $39;
- $add33 = $add29 + $mul32;
- $40 = $s_ptr;
- $arrayidx34 = ((($40)) + -36|0);
- $41 = +HEAPF32[$arrayidx34>>2];
- $42 = $PredCoef$addr;
- $arrayidx35 = ((($42)) + 36|0);
- $43 = +HEAPF32[$arrayidx35>>2];
- $mul36 = $41 * $43;
- $add37 = $add33 + $mul36;
- $44 = $s_ptr;
- $arrayidx38 = ((($44)) + -40|0);
- $45 = +HEAPF32[$arrayidx38>>2];
- $46 = $PredCoef$addr;
- $arrayidx39 = ((($46)) + 40|0);
- $47 = +HEAPF32[$arrayidx39>>2];
- $mul40 = $45 * $47;
- $add41 = $add37 + $mul40;
- $48 = $s_ptr;
- $arrayidx42 = ((($48)) + -44|0);
- $49 = +HEAPF32[$arrayidx42>>2];
- $50 = $PredCoef$addr;
- $arrayidx43 = ((($50)) + 44|0);
- $51 = +HEAPF32[$arrayidx43>>2];
- $mul44 = $49 * $51;
- $add45 = $add41 + $mul44;
- $52 = $s_ptr;
- $arrayidx46 = ((($52)) + -48|0);
- $53 = +HEAPF32[$arrayidx46>>2];
- $54 = $PredCoef$addr;
- $arrayidx47 = ((($54)) + 48|0);
- $55 = +HEAPF32[$arrayidx47>>2];
- $mul48 = $53 * $55;
- $add49 = $add45 + $mul48;
- $56 = $s_ptr;
- $arrayidx50 = ((($56)) + -52|0);
- $57 = +HEAPF32[$arrayidx50>>2];
- $58 = $PredCoef$addr;
- $arrayidx51 = ((($58)) + 52|0);
- $59 = +HEAPF32[$arrayidx51>>2];
- $mul52 = $57 * $59;
- $add53 = $add49 + $mul52;
- $60 = $s_ptr;
- $arrayidx54 = ((($60)) + -56|0);
- $61 = +HEAPF32[$arrayidx54>>2];
- $62 = $PredCoef$addr;
- $arrayidx55 = ((($62)) + 56|0);
- $63 = +HEAPF32[$arrayidx55>>2];
- $mul56 = $61 * $63;
- $add57 = $add53 + $mul56;
- $64 = $s_ptr;
- $arrayidx58 = ((($64)) + -60|0);
- $65 = +HEAPF32[$arrayidx58>>2];
- $66 = $PredCoef$addr;
- $arrayidx59 = ((($66)) + 60|0);
- $67 = +HEAPF32[$arrayidx59>>2];
- $mul60 = $65 * $67;
- $add61 = $add57 + $mul60;
- $LPC_pred = $add61;
- $68 = $s_ptr;
- $arrayidx62 = ((($68)) + 4|0);
- $69 = +HEAPF32[$arrayidx62>>2];
- $70 = $LPC_pred;
- $sub63 = $69 - $70;
- $71 = $r_LPC$addr;
- $72 = $ix;
- $arrayidx64 = (($71) + ($72<<2)|0);
- HEAPF32[$arrayidx64>>2] = $sub63;
- $73 = $ix;
- $inc = (($73) + 1)|0;
- $ix = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_LTP_analysis_filter_FLP($LTP_res,$x,$B,$pitchL,$invGains,$subfr_length,$nb_subfr,$pre_length) {
- $LTP_res = $LTP_res|0;
- $x = $x|0;
- $B = $B|0;
- $pitchL = $pitchL|0;
- $invGains = $invGains|0;
- $subfr_length = $subfr_length|0;
- $nb_subfr = $nb_subfr|0;
- $pre_length = $pre_length|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $B$addr = 0, $Btmp = 0, $LTP_res$addr = 0, $LTP_res_ptr = 0, $add = 0, $add$ptr = 0, $add$ptr30 = 0, $add$ptr31 = 0, $add29 = 0, $add8 = 0, $arrayidx = 0, $arrayidx1 = 0;
- var $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx16 = 0, $arrayidx17 = 0, $arrayidx19 = 0, $arrayidx24 = 0, $arrayidx5 = 0, $arrayidx6 = 0, $cmp = 0, $cmp14 = 0, $cmp3 = 0, $cmp9 = 0, $i = 0, $idx$neg = 0, $inc = 0, $inc22 = 0, $inc27 = 0, $inc33 = 0, $incdec$ptr = 0, $invGains$addr = 0;
- var $inv_gain = 0.0, $j = 0, $k = 0, $mul = 0, $mul18 = 0.0, $mul25 = 0.0, $nb_subfr$addr = 0, $pitchL$addr = 0, $pre_length$addr = 0, $sub = 0, $sub20 = 0.0, $subfr_length$addr = 0, $x$addr = 0, $x_lag_ptr = 0, $x_ptr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $Btmp = sp + 20|0;
- $LTP_res$addr = $LTP_res;
- $x$addr = $x;
- $B$addr = $B;
- $pitchL$addr = $pitchL;
- $invGains$addr = $invGains;
- $subfr_length$addr = $subfr_length;
- $nb_subfr$addr = $nb_subfr;
- $pre_length$addr = $pre_length;
- $0 = $x$addr;
- $x_ptr = $0;
- $1 = $LTP_res$addr;
- $LTP_res_ptr = $1;
- $k = 0;
- while(1) {
- $2 = $k;
- $3 = $nb_subfr$addr;
- $cmp = ($2|0)<($3|0);
- if (!($cmp)) {
- break;
- }
- $4 = $x_ptr;
- $5 = $pitchL$addr;
- $6 = $k;
- $arrayidx = (($5) + ($6<<2)|0);
- $7 = HEAP32[$arrayidx>>2]|0;
- $idx$neg = (0 - ($7))|0;
- $add$ptr = (($4) + ($idx$neg<<2)|0);
- $x_lag_ptr = $add$ptr;
- $8 = $invGains$addr;
- $9 = $k;
- $arrayidx1 = (($8) + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx1>>2];
- $inv_gain = $10;
- $i = 0;
- while(1) {
- $11 = $i;
- $cmp3 = ($11|0)<(5);
- if (!($cmp3)) {
- break;
- }
- $12 = $B$addr;
- $13 = $k;
- $mul = ($13*5)|0;
- $14 = $i;
- $add = (($mul) + ($14))|0;
- $arrayidx5 = (($12) + ($add<<2)|0);
- $15 = +HEAPF32[$arrayidx5>>2];
- $16 = $i;
- $arrayidx6 = (($Btmp) + ($16<<2)|0);
- HEAPF32[$arrayidx6>>2] = $15;
- $17 = $i;
- $inc = (($17) + 1)|0;
- $i = $inc;
- }
- $i = 0;
- while(1) {
- $18 = $i;
- $19 = $subfr_length$addr;
- $20 = $pre_length$addr;
- $add8 = (($19) + ($20))|0;
- $cmp9 = ($18|0)<($add8|0);
- if (!($cmp9)) {
- break;
- }
- $21 = $x_ptr;
- $22 = $i;
- $arrayidx11 = (($21) + ($22<<2)|0);
- $23 = +HEAPF32[$arrayidx11>>2];
- $24 = $LTP_res_ptr;
- $25 = $i;
- $arrayidx12 = (($24) + ($25<<2)|0);
- HEAPF32[$arrayidx12>>2] = $23;
- $j = 0;
- while(1) {
- $26 = $j;
- $cmp14 = ($26|0)<(5);
- if (!($cmp14)) {
- break;
- }
- $27 = $j;
- $arrayidx16 = (($Btmp) + ($27<<2)|0);
- $28 = +HEAPF32[$arrayidx16>>2];
- $29 = $x_lag_ptr;
- $30 = $j;
- $sub = (2 - ($30))|0;
- $arrayidx17 = (($29) + ($sub<<2)|0);
- $31 = +HEAPF32[$arrayidx17>>2];
- $mul18 = $28 * $31;
- $32 = $LTP_res_ptr;
- $33 = $i;
- $arrayidx19 = (($32) + ($33<<2)|0);
- $34 = +HEAPF32[$arrayidx19>>2];
- $sub20 = $34 - $mul18;
- HEAPF32[$arrayidx19>>2] = $sub20;
- $35 = $j;
- $inc22 = (($35) + 1)|0;
- $j = $inc22;
- }
- $36 = $inv_gain;
- $37 = $LTP_res_ptr;
- $38 = $i;
- $arrayidx24 = (($37) + ($38<<2)|0);
- $39 = +HEAPF32[$arrayidx24>>2];
- $mul25 = $39 * $36;
- HEAPF32[$arrayidx24>>2] = $mul25;
- $40 = $x_lag_ptr;
- $incdec$ptr = ((($40)) + 4|0);
- $x_lag_ptr = $incdec$ptr;
- $41 = $i;
- $inc27 = (($41) + 1)|0;
- $i = $inc27;
- }
- $42 = $subfr_length$addr;
- $43 = $pre_length$addr;
- $add29 = (($42) + ($43))|0;
- $44 = $LTP_res_ptr;
- $add$ptr30 = (($44) + ($add29<<2)|0);
- $LTP_res_ptr = $add$ptr30;
- $45 = $subfr_length$addr;
- $46 = $x_ptr;
- $add$ptr31 = (($46) + ($45<<2)|0);
- $x_ptr = $add$ptr31;
- $47 = $k;
- $inc33 = (($47) + 1)|0;
- $k = $inc33;
- }
- STACKTOP = sp;return;
-}
-function _silk_LTP_scale_ctrl_FLP($psEnc,$psEncCtrl,$condCoding) {
- $psEnc = $psEnc|0;
- $psEncCtrl = $psEncCtrl|0;
- $condCoding = $condCoding|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0;
- var $LTP_scale = 0, $LTP_scaleIndex23 = 0, $LTP_scaleIndex26 = 0, $LTPredCodGain = 0, $LTPredCodGain14 = 0, $LTPredCodGain6 = 0, $PacketLoss_perc = 0, $add = 0, $arrayidx = 0, $cmp = 0, $cmp3 = 0, $cmp9 = 0, $cond18 = 0.0, $condCoding$addr = 0, $conv = 0.0, $conv13 = 0.0, $conv19 = 0, $conv27 = 0.0, $conv5 = 0.0, $div = 0.0;
- var $idxprom = 0, $indices22 = 0, $indices25 = 0, $mul = 0.0, $mul15 = 0.0, $mul16 = 0.0, $mul2 = 0.0, $mul7 = 0.0, $mul8 = 0.0, $nFramesPerPacket = 0, $psEnc$addr = 0, $psEncCtrl$addr = 0, $round_loss = 0, $sCmn$sink = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psEnc$addr = $psEnc;
- $psEncCtrl$addr = $psEncCtrl;
- $condCoding$addr = $condCoding;
- $0 = $condCoding$addr;
- $cmp = ($0|0)==(0);
- $1 = $psEnc$addr;
- if ($cmp) {
- $PacketLoss_perc = ((($1)) + 4640|0);
- $2 = HEAP32[$PacketLoss_perc>>2]|0;
- $3 = $psEnc$addr;
- $nFramesPerPacket = ((($3)) + 5776|0);
- $4 = HEAP32[$nFramesPerPacket>>2]|0;
- $add = (($2) + ($4))|0;
- $round_loss = $add;
- $5 = $round_loss;
- $conv = (+($5|0));
- $6 = $psEncCtrl$addr;
- $LTPredCodGain = ((($6)) + 872|0);
- $7 = +HEAPF32[$LTPredCodGain>>2];
- $mul = $conv * $7;
- $mul2 = $mul * 0.10000000149011612;
- $cmp3 = $mul2 > 2.0;
- if ($cmp3) {
- $cond18 = 2.0;
- } else {
- $8 = $round_loss;
- $conv5 = (+($8|0));
- $9 = $psEncCtrl$addr;
- $LTPredCodGain6 = ((($9)) + 872|0);
- $10 = +HEAPF32[$LTPredCodGain6>>2];
- $mul7 = $conv5 * $10;
- $mul8 = $mul7 * 0.10000000149011612;
- $cmp9 = $mul8 < 0.0;
- if ($cmp9) {
- $cond18 = 0.0;
- } else {
- $11 = $round_loss;
- $conv13 = (+($11|0));
- $12 = $psEncCtrl$addr;
- $LTPredCodGain14 = ((($12)) + 872|0);
- $13 = +HEAPF32[$LTPredCodGain14>>2];
- $mul15 = $conv13 * $13;
- $mul16 = $mul15 * 0.10000000149011612;
- $cond18 = $mul16;
- }
- }
- $conv19 = (~~(($cond18)));
- $14 = $psEnc$addr;
- $$sink = $conv19;$sCmn$sink = $14;
- } else {
- $$sink = 0;$sCmn$sink = $1;
- }
- $indices22 = ((($sCmn$sink)) + 4768|0);
- $LTP_scaleIndex23 = ((($indices22)) + 33|0);
- HEAP8[$LTP_scaleIndex23>>0] = $$sink;
- $15 = $psEnc$addr;
- $indices25 = ((($15)) + 4768|0);
- $LTP_scaleIndex26 = ((($indices25)) + 33|0);
- $16 = HEAP8[$LTP_scaleIndex26>>0]|0;
- $idxprom = $16 << 24 >> 24;
- $arrayidx = (25006 + ($idxprom<<1)|0);
- $17 = HEAP16[$arrayidx>>1]|0;
- $conv27 = (+($17<<16>>16));
- $div = $conv27 / 16384.0;
- $18 = $psEncCtrl$addr;
- $LTP_scale = ((($18)) + 224|0);
- HEAPF32[$LTP_scale>>2] = $div;
- STACKTOP = sp;return;
-}
-function _silk_noise_shape_analysis_FLP($psEnc,$psEncCtrl,$pitch_res,$x) {
- $psEnc = $psEnc|0;
- $psEncCtrl = $psEncCtrl|0;
- $pitch_res = $pitch_res|0;
- $x = $x|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0;
- var $115 = 0.0, $116 = 0.0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0.0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
- var $133 = 0.0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0.0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0.0, $15 = 0, $150 = 0;
- var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0.0, $159 = 0.0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0;
- var $17 = 0, $170 = 0.0, $171 = 0.0, $172 = 0.0, $173 = 0, $174 = 0, $175 = 0, $176 = 0.0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0.0, $180 = 0.0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0, $185 = 0, $186 = 0.0, $187 = 0;
- var $188 = 0, $189 = 0, $19 = 0, $190 = 0.0, $191 = 0, $192 = 0, $193 = 0.0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0.0, $2 = 0, $20 = 0.0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0;
- var $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0.0, $210 = 0.0, $211 = 0, $212 = 0, $213 = 0.0, $214 = 0.0, $215 = 0.0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0.0, $220 = 0, $221 = 0, $222 = 0.0;
- var $223 = 0, $224 = 0.0, $225 = 0.0, $226 = 0.0, $227 = 0, $228 = 0, $229 = 0, $23 = 0.0, $230 = 0, $231 = 0, $232 = 0.0, $233 = 0, $234 = 0, $235 = 0, $236 = 0.0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0;
- var $241 = 0.0, $242 = 0, $243 = 0.0, $244 = 0, $245 = 0.0, $246 = 0.0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0.0, $251 = 0, $252 = 0.0, $253 = 0.0, $254 = 0, $255 = 0.0, $256 = 0.0, $257 = 0, $258 = 0, $259 = 0;
- var $26 = 0, $260 = 0.0, $261 = 0, $262 = 0.0, $263 = 0, $264 = 0.0, $265 = 0, $266 = 0.0, $267 = 0, $268 = 0, $269 = 0.0, $27 = 0.0, $270 = 0, $271 = 0.0, $272 = 0, $273 = 0.0, $274 = 0, $275 = 0.0, $276 = 0, $277 = 0;
- var $278 = 0.0, $279 = 0, $28 = 0.0, $280 = 0.0, $281 = 0, $282 = 0.0, $283 = 0, $284 = 0.0, $285 = 0, $286 = 0, $287 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0;
- var $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0;
- var $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0;
- var $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0;
- var $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $AR1 = 0, $AR1205 = 0, $AR1216 = 0, $AR1230 = 0, $AR2 = 0, $AR2182 = 0, $AR2192 = 0, $AR2199 = 0, $AR2210 = 0, $AR2227 = 0, $BWExp1 = 0.0;
- var $BWExp2 = 0.0, $GainsPre = 0, $GainsPre266 = 0, $HarmBoost = 0.0, $HarmBoost395 = 0, $HarmBoost_smth = 0, $HarmBoost_smth392 = 0, $HarmBoost_smth394 = 0, $HarmShapeGain = 0.0, $HarmShapeGain402 = 0, $HarmShapeGain_smth = 0, $HarmShapeGain_smth399 = 0, $HarmShapeGain_smth401 = 0, $LF_AR_shp = 0, $LF_AR_shp334 = 0, $LF_AR_shp346 = 0, $LF_AR_shp348 = 0, $LF_MA_shp = 0, $LF_MA_shp328 = 0, $LF_MA_shp342 = 0;
- var $LF_MA_shp344 = 0, $LTPCorr = 0, $LTPCorr357 = 0, $LTPCorr377 = 0, $SNR_adj_dB = 0.0, $SNR_dB_Q7 = 0, $SNR_dB_Q733 = 0, $Tilt = 0.0, $Tilt409 = 0, $Tilt_smth = 0, $Tilt_smth406 = 0, $Tilt_smth408 = 0, $add = 0, $add$ptr = 0, $add$ptr135 = 0, $add$ptr136 = 0, $add$ptr140 = 0, $add$ptr141 = 0, $add$ptr143 = 0, $add$ptr76 = 0;
- var $add100 = 0.0, $add107 = 0.0, $add119 = 0.0, $add138 = 0, $add161 = 0, $add166 = 0.0, $add20 = 0.0, $add253 = 0.0, $add259 = 0.0, $add279 = 0.0, $add306 = 0.0, $add307 = 0.0, $add31 = 0.0, $add327 = 0.0, $add362 = 0.0, $add37 = 0.0, $add376 = 0.0, $add393 = 0.0, $add400 = 0.0, $add407 = 0.0;
- var $add41 = 0.0, $add64 = 0.0, $add74 = 0.0, $add96 = 0.0, $arrayidx168 = 0, $arrayidx176 = 0, $arrayidx184 = 0, $arrayidx189 = 0, $arrayidx194 = 0, $arrayidx198 = 0, $arrayidx201 = 0, $arrayidx207 = 0, $arrayidx212 = 0, $arrayidx218 = 0, $arrayidx226 = 0, $arrayidx229 = 0, $arrayidx232 = 0, $arrayidx249 = 0, $arrayidx252 = 0, $arrayidx267 = 0;
- var $arrayidx303 = 0, $arrayidx308 = 0, $arrayidx312 = 0, $arrayidx345 = 0, $arrayidx349 = 0, $arrayidx396 = 0, $arrayidx403 = 0, $arrayidx410 = 0, $arrayidx5 = 0, $auto_corr = 0, $b = 0.0, $call = 0.0, $call172 = 0.0, $call174 = 0.0, $call187 = 0.0, $call215 = 0.0, $call221 = 0.0, $call379 = 0.0, $call62 = 0.0, $call66 = 0.0;
- var $call72 = 0.0, $call79 = 0.0, $cmp = 0, $cmp110 = 0, $cmp125 = 0, $cmp146 = 0, $cmp179 = 0, $cmp245 = 0, $cmp263 = 0, $cmp27 = 0, $cmp290 = 0, $cmp296 = 0, $cmp339 = 0, $cmp367 = 0, $cmp387 = 0, $cmp47 = 0, $cmp59 = 0, $cmp67 = 0, $cmp82 = 0, $coding_quality = 0;
- var $coding_quality102 = 0, $coding_quality117 = 0, $coding_quality16 = 0, $coding_quality257 = 0, $coding_quality354 = 0, $coding_quality370 = 0, $conv = 0.0, $conv115 = 0.0, $conv13 = 0.0, $conv173 = 0.0, $conv175 = 0.0, $conv239 = 0.0, $conv240 = 0.0, $conv241 = 0.0, $conv26 = 0, $conv275 = 0.0, $conv283 = 0.0, $conv289 = 0, $conv301 = 0.0, $conv304 = 0.0;
- var $conv318 = 0.0, $conv325 = 0.0, $conv34 = 0.0, $conv366 = 0, $conv378 = 0.0, $conv380 = 0.0, $conv46 = 0, $conv56 = 0, $conv57 = 0, $conv6 = 0.0, $conv61 = 0.0, $conv63 = 0.0, $conv65 = 0.0, $conv71 = 0.0, $conv73 = 0.0, $delta = 0.0, $div = 0, $div101 = 0.0, $div108 = 0.0, $div116 = 0.0;
- var $div133 = 0, $div222 = 0.0, $div302 = 0.0, $div305 = 0.0, $div326 = 0.0, $energy_variation = 0.0, $flat_part = 0, $fs_kHz = 0, $fs_kHz129 = 0, $fs_kHz300 = 0, $fs_kHz324 = 0, $gain_add = 0.0, $gain_mult = 0.0, $idx$neg = 0, $inc = 0, $inc236 = 0, $inc255 = 0, $inc270 = 0, $inc314 = 0, $inc351 = 0;
- var $inc412 = 0, $indices = 0, $indices287 = 0, $indices364 = 0, $indices44 = 0, $indices51 = 0, $indices86 = 0, $input_quality = 0, $input_quality18 = 0, $input_quality359 = 0, $input_quality372 = 0, $input_quality38 = 0, $input_quality_bands_Q15 = 0, $input_quality_bands_Q15273 = 0, $input_quality_bands_Q154 = 0, $k = 0, $la_shape = 0, $log_energy = 0.0, $log_energy_prev = 0.0, $mul = 0.0;
- var $mul103 = 0.0, $mul105 = 0.0, $mul118 = 0.0, $mul130 = 0, $mul137 = 0, $mul14 = 0.0, $mul164 = 0.0, $mul167 = 0, $mul17 = 0.0, $mul183 = 0, $mul19 = 0.0, $mul190 = 0.0, $mul193 = 0, $mul197 = 0, $mul200 = 0, $mul204 = 0, $mul206 = 0, $mul21 = 0.0, $mul211 = 0, $mul217 = 0;
- var $mul22 = 0.0, $mul224 = 0.0, $mul228 = 0, $mul23 = 0.0, $mul231 = 0, $mul238 = 0.0, $mul250 = 0.0, $mul258 = 0.0, $mul268 = 0.0, $mul276 = 0.0, $mul278 = 0.0, $mul280 = 0.0, $mul284 = 0.0, $mul285 = 0.0, $mul30 = 0.0, $mul310 = 0.0, $mul319 = 0.0, $mul320 = 0.0, $mul331 = 0.0, $mul332 = 0.0;
- var $mul35 = 0.0, $mul356 = 0.0, $mul358 = 0.0, $mul36 = 0.0, $mul361 = 0.0, $mul373 = 0.0, $mul375 = 0.0, $mul381 = 0.0, $mul391 = 0.0, $mul398 = 0.0, $mul40 = 0.0, $mul405 = 0.0, $mul54 = 0, $mul58 = 0, $mul7 = 0.0, $mul78 = 0.0, $mul8 = 0.0, $mul9 = 0.0, $mul95 = 0.0, $mul98 = 0.0;
- var $mul99 = 0.0, $nSamples = 0, $nb_subfr = 0, $nb_subfr124 = 0, $nb_subfr244 = 0, $nb_subfr262 = 0, $nb_subfr295 = 0, $nb_subfr338 = 0, $nb_subfr386 = 0, $nrg = 0.0, $pitchL = 0, $pitch_res$addr = 0, $pitch_res_ptr = 0, $pre_nrg = 0.0, $predGain = 0, $psEnc$addr = 0, $psEncCtrl$addr = 0, $psShapeSt = 0, $quantOffsetType = 0, $quantOffsetType87 = 0;
- var $sShape = 0, $shapeWinLength = 0, $shapeWinLength152 = 0, $shapeWinLength158 = 0, $shapingLPCOrder = 0, $shapingLPCOrder160 = 0, $shapingLPCOrder171 = 0, $shapingLPCOrder186 = 0, $shapingLPCOrder196 = 0, $shapingLPCOrder203 = 0, $shapingLPCOrder209 = 0, $shapingLPCOrder214 = 0, $shapingLPCOrder220 = 0, $shapingLPCOrder234 = 0, $shift = 0, $signalType = 0, $signalType288 = 0, $signalType365 = 0, $signalType45 = 0, $slope_part = 0;
- var $sparseness = 0, $sparseness80 = 0, $sparseness81 = 0, $sparseness93 = 0, $speech_activity_Q8 = 0, $speech_activity_Q8282 = 0, $speech_activity_Q8317 = 0, $strength = 0.0, $sub = 0.0, $sub104 = 0.0, $sub106 = 0.0, $sub132 = 0, $sub15 = 0.0, $sub223 = 0.0, $sub225 = 0.0, $sub24 = 0.0, $sub277 = 0.0, $sub309 = 0.0, $sub311 = 0.0, $sub321 = 0.0;
- var $sub330 = 0.0, $sub333 = 0.0, $sub355 = 0.0, $sub360 = 0.0, $sub371 = 0.0, $sub374 = 0.0, $sub39 = 0.0, $sub390 = 0.0, $sub397 = 0.0, $sub404 = 0.0, $sub70 = 0.0, $sub77 = 0.0, $sub94 = 0.0, $subfr_length = 0, $useCBR = 0, $warping = 0.0, $warping_Q16 = 0, $warping_Q16114 = 0, $warping_Q16145 = 0, $warping_Q16178 = 0;
- var $x$addr = 0, $x_ptr = 0, $x_windowed = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 1152|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1152|0);
- $x_windowed = sp + 88|0;
- $auto_corr = sp + 20|0;
- $psEnc$addr = $psEnc;
- $psEncCtrl$addr = $psEncCtrl;
- $pitch_res$addr = $pitch_res;
- $x$addr = $x;
- $0 = $psEnc$addr;
- $sShape = ((($0)) + 7200|0);
- $psShapeSt = $sShape;
- $1 = $x$addr;
- $2 = $psEnc$addr;
- $la_shape = ((($2)) + 4624|0);
- $3 = HEAP32[$la_shape>>2]|0;
- $idx$neg = (0 - ($3))|0;
- $add$ptr = (($1) + ($idx$neg<<2)|0);
- $x_ptr = $add$ptr;
- $4 = $psEnc$addr;
- $SNR_dB_Q7 = ((($4)) + 4748|0);
- $5 = HEAP32[$SNR_dB_Q7>>2]|0;
- $conv = (+($5|0));
- $mul = $conv * 0.0078125;
- $SNR_adj_dB = $mul;
- $6 = $psEnc$addr;
- $input_quality_bands_Q15 = ((($6)) + 4728|0);
- $7 = HEAP32[$input_quality_bands_Q15>>2]|0;
- $8 = $psEnc$addr;
- $input_quality_bands_Q154 = ((($8)) + 4728|0);
- $arrayidx5 = ((($input_quality_bands_Q154)) + 4|0);
- $9 = HEAP32[$arrayidx5>>2]|0;
- $add = (($7) + ($9))|0;
- $conv6 = (+($add|0));
- $mul7 = 0.5 * $conv6;
- $mul8 = $mul7 * 3.0517578125E-5;
- $10 = $psEncCtrl$addr;
- $input_quality = ((($10)) + 856|0);
- HEAPF32[$input_quality>>2] = $mul8;
- $11 = $SNR_adj_dB;
- $sub = $11 - 20.0;
- $mul9 = 0.25 * $sub;
- $call = (+_silk_sigmoid($mul9));
- $12 = $psEncCtrl$addr;
- $coding_quality = ((($12)) + 860|0);
- HEAPF32[$coding_quality>>2] = $call;
- $13 = $psEnc$addr;
- $useCBR = ((($13)) + 4708|0);
- $14 = HEAP32[$useCBR>>2]|0;
- $cmp = ($14|0)==(0);
- if ($cmp) {
- $15 = $psEnc$addr;
- $speech_activity_Q8 = ((($15)) + 4556|0);
- $16 = HEAP32[$speech_activity_Q8>>2]|0;
- $conv13 = (+($16|0));
- $mul14 = $conv13 * 0.00390625;
- $sub15 = 1.0 - $mul14;
- $b = $sub15;
- $17 = $psEncCtrl$addr;
- $coding_quality16 = ((($17)) + 860|0);
- $18 = +HEAPF32[$coding_quality16>>2];
- $mul17 = 2.0 * $18;
- $19 = $psEncCtrl$addr;
- $input_quality18 = ((($19)) + 856|0);
- $20 = +HEAPF32[$input_quality18>>2];
- $mul19 = 0.5 * $20;
- $add20 = 0.5 + $mul19;
- $mul21 = $mul17 * $add20;
- $21 = $b;
- $mul22 = $mul21 * $21;
- $22 = $b;
- $mul23 = $mul22 * $22;
- $23 = $SNR_adj_dB;
- $sub24 = $23 - $mul23;
- $SNR_adj_dB = $sub24;
- }
- $24 = $psEnc$addr;
- $indices = ((($24)) + 4768|0);
- $signalType = ((($indices)) + 29|0);
- $25 = HEAP8[$signalType>>0]|0;
- $conv26 = $25 << 24 >> 24;
- $cmp27 = ($conv26|0)==(2);
- $26 = $psEnc$addr;
- if ($cmp27) {
- $LTPCorr = ((($26)) + 12236|0);
- $27 = +HEAPF32[$LTPCorr>>2];
- $mul30 = 2.0 * $27;
- $28 = $SNR_adj_dB;
- $add31 = $28 + $mul30;
- $SNR_adj_dB = $add31;
- } else {
- $SNR_dB_Q733 = ((($26)) + 4748|0);
- $29 = HEAP32[$SNR_dB_Q733>>2]|0;
- $conv34 = (+($29|0));
- $mul35 = -0.40000000596046448 * $conv34;
- $mul36 = $mul35 * 0.0078125;
- $add37 = $mul36 + 6.0;
- $30 = $psEncCtrl$addr;
- $input_quality38 = ((($30)) + 856|0);
- $31 = +HEAPF32[$input_quality38>>2];
- $sub39 = 1.0 - $31;
- $mul40 = $add37 * $sub39;
- $32 = $SNR_adj_dB;
- $add41 = $32 + $mul40;
- $SNR_adj_dB = $add41;
- }
- $33 = $psEnc$addr;
- $indices44 = ((($33)) + 4768|0);
- $signalType45 = ((($indices44)) + 29|0);
- $34 = HEAP8[$signalType45>>0]|0;
- $conv46 = $34 << 24 >> 24;
- $cmp47 = ($conv46|0)==(2);
- $35 = $psEnc$addr;
- if ($cmp47) {
- $indices51 = ((($35)) + 4768|0);
- $quantOffsetType = ((($indices51)) + 30|0);
- HEAP8[$quantOffsetType>>0] = 0;
- $36 = $psEncCtrl$addr;
- $sparseness = ((($36)) + 864|0);
- HEAPF32[$sparseness>>2] = 0.0;
- } else {
- $fs_kHz = ((($35)) + 4600|0);
- $37 = HEAP32[$fs_kHz>>2]|0;
- $mul54 = $37<<1;
- $nSamples = $mul54;
- $energy_variation = 0.0;
- $log_energy_prev = 0.0;
- $38 = $pitch_res$addr;
- $pitch_res_ptr = $38;
- $k = 0;
- while(1) {
- $39 = $k;
- $40 = $psEnc$addr;
- $nb_subfr = ((($40)) + 4604|0);
- $41 = HEAP32[$nb_subfr>>2]|0;
- $conv56 = $41&65535;
- $conv57 = $conv56 << 16 >> 16;
- $mul58 = ($conv57*5)|0;
- $div = (($mul58|0) / 2)&-1;
- $cmp59 = ($39|0)<($div|0);
- if (!($cmp59)) {
- break;
- }
- $42 = $nSamples;
- $conv61 = (+($42|0));
- $43 = $pitch_res_ptr;
- $44 = $nSamples;
- $call62 = (+_silk_energy_FLP($43,$44));
- $conv63 = $call62;
- $add64 = $conv61 + $conv63;
- $nrg = $add64;
- $45 = $nrg;
- $conv65 = $45;
- $call66 = (+_silk_log2($conv65));
- $log_energy = $call66;
- $46 = $k;
- $cmp67 = ($46|0)>(0);
- if ($cmp67) {
- $47 = $log_energy;
- $48 = $log_energy_prev;
- $sub70 = $47 - $48;
- $conv71 = $sub70;
- $call72 = (+Math_abs((+$conv71)));
- $conv73 = $call72;
- $49 = $energy_variation;
- $add74 = $49 + $conv73;
- $energy_variation = $add74;
- }
- $50 = $log_energy;
- $log_energy_prev = $50;
- $51 = $nSamples;
- $52 = $pitch_res_ptr;
- $add$ptr76 = (($52) + ($51<<2)|0);
- $pitch_res_ptr = $add$ptr76;
- $53 = $k;
- $inc = (($53) + 1)|0;
- $k = $inc;
- }
- $54 = $energy_variation;
- $sub77 = $54 - 5.0;
- $mul78 = 0.40000000596046448 * $sub77;
- $call79 = (+_silk_sigmoid($mul78));
- $55 = $psEncCtrl$addr;
- $sparseness80 = ((($55)) + 864|0);
- HEAPF32[$sparseness80>>2] = $call79;
- $56 = $psEncCtrl$addr;
- $sparseness81 = ((($56)) + 864|0);
- $57 = +HEAPF32[$sparseness81>>2];
- $cmp82 = $57 > 0.75;
- $58 = $psEnc$addr;
- $indices86 = ((($58)) + 4768|0);
- $quantOffsetType87 = ((($indices86)) + 30|0);
- $$sink = $cmp82 ? 0 : 1;
- HEAP8[$quantOffsetType87>>0] = $$sink;
- $59 = $psEncCtrl$addr;
- $sparseness93 = ((($59)) + 864|0);
- $60 = +HEAPF32[$sparseness93>>2];
- $sub94 = $60 - 0.5;
- $mul95 = 2.0 * $sub94;
- $61 = $SNR_adj_dB;
- $add96 = $61 + $mul95;
- $SNR_adj_dB = $add96;
- }
- $62 = $psEncCtrl$addr;
- $predGain = ((($62)) + 868|0);
- $63 = +HEAPF32[$predGain>>2];
- $mul98 = 0.0010000000474974513 * $63;
- $strength = $mul98;
- $64 = $strength;
- $65 = $strength;
- $mul99 = $64 * $65;
- $add100 = 1.0 + $mul99;
- $div101 = 0.94999998807907104 / $add100;
- $BWExp2 = $div101;
- $BWExp1 = $div101;
- $66 = $psEncCtrl$addr;
- $coding_quality102 = ((($66)) + 860|0);
- $67 = +HEAPF32[$coding_quality102>>2];
- $mul103 = 0.75 * $67;
- $sub104 = 1.0 - $mul103;
- $mul105 = 0.0099999997764825821 * $sub104;
- $delta = $mul105;
- $68 = $delta;
- $69 = $BWExp1;
- $sub106 = $69 - $68;
- $BWExp1 = $sub106;
- $70 = $delta;
- $71 = $BWExp2;
- $add107 = $71 + $70;
- $BWExp2 = $add107;
- $72 = $BWExp2;
- $73 = $BWExp1;
- $div108 = $73 / $72;
- $BWExp1 = $div108;
- $74 = $psEnc$addr;
- $warping_Q16 = ((($74)) + 4704|0);
- $75 = HEAP32[$warping_Q16>>2]|0;
- $cmp110 = ($75|0)>(0);
- if ($cmp110) {
- $76 = $psEnc$addr;
- $warping_Q16114 = ((($76)) + 4704|0);
- $77 = HEAP32[$warping_Q16114>>2]|0;
- $conv115 = (+($77|0));
- $div116 = $conv115 / 65536.0;
- $78 = $psEncCtrl$addr;
- $coding_quality117 = ((($78)) + 860|0);
- $79 = +HEAPF32[$coding_quality117>>2];
- $mul118 = 0.0099999997764825821 * $79;
- $add119 = $div116 + $mul118;
- $warping = $add119;
- } else {
- $warping = 0.0;
- }
- $k = 0;
- while(1) {
- $80 = $k;
- $81 = $psEnc$addr;
- $nb_subfr124 = ((($81)) + 4604|0);
- $82 = HEAP32[$nb_subfr124>>2]|0;
- $cmp125 = ($80|0)<($82|0);
- if (!($cmp125)) {
- break;
- }
- $83 = $psEnc$addr;
- $fs_kHz129 = ((($83)) + 4600|0);
- $84 = HEAP32[$fs_kHz129>>2]|0;
- $mul130 = ($84*3)|0;
- $flat_part = $mul130;
- $85 = $psEnc$addr;
- $shapeWinLength = ((($85)) + 4628|0);
- $86 = HEAP32[$shapeWinLength>>2]|0;
- $87 = $flat_part;
- $sub132 = (($86) - ($87))|0;
- $div133 = (($sub132|0) / 2)&-1;
- $slope_part = $div133;
- $88 = $x_ptr;
- $89 = $slope_part;
- _silk_apply_sine_window_FLP($x_windowed,$88,1,$89);
- $90 = $slope_part;
- $shift = $90;
- $91 = $shift;
- $add$ptr135 = (($x_windowed) + ($91<<2)|0);
- $92 = $x_ptr;
- $93 = $shift;
- $add$ptr136 = (($92) + ($93<<2)|0);
- $94 = $flat_part;
- $mul137 = $94<<2;
- _memcpy(($add$ptr135|0),($add$ptr136|0),($mul137|0))|0;
- $95 = $flat_part;
- $96 = $shift;
- $add138 = (($96) + ($95))|0;
- $shift = $add138;
- $97 = $shift;
- $add$ptr140 = (($x_windowed) + ($97<<2)|0);
- $98 = $x_ptr;
- $99 = $shift;
- $add$ptr141 = (($98) + ($99<<2)|0);
- $100 = $slope_part;
- _silk_apply_sine_window_FLP($add$ptr140,$add$ptr141,2,$100);
- $101 = $psEnc$addr;
- $subfr_length = ((($101)) + 4612|0);
- $102 = HEAP32[$subfr_length>>2]|0;
- $103 = $x_ptr;
- $add$ptr143 = (($103) + ($102<<2)|0);
- $x_ptr = $add$ptr143;
- $104 = $psEnc$addr;
- $warping_Q16145 = ((($104)) + 4704|0);
- $105 = HEAP32[$warping_Q16145>>2]|0;
- $cmp146 = ($105|0)>(0);
- if ($cmp146) {
- $106 = $warping;
- $107 = $psEnc$addr;
- $shapeWinLength152 = ((($107)) + 4628|0);
- $108 = HEAP32[$shapeWinLength152>>2]|0;
- $109 = $psEnc$addr;
- $shapingLPCOrder = ((($109)) + 4660|0);
- $110 = HEAP32[$shapingLPCOrder>>2]|0;
- _silk_warped_autocorrelation_FLP($auto_corr,$x_windowed,$106,$108,$110);
- } else {
- $111 = $psEnc$addr;
- $shapeWinLength158 = ((($111)) + 4628|0);
- $112 = HEAP32[$shapeWinLength158>>2]|0;
- $113 = $psEnc$addr;
- $shapingLPCOrder160 = ((($113)) + 4660|0);
- $114 = HEAP32[$shapingLPCOrder160>>2]|0;
- $add161 = (($114) + 1)|0;
- _silk_autocorrelation_FLP($auto_corr,$x_windowed,$112,$add161);
- }
- $115 = +HEAPF32[$auto_corr>>2];
- $mul164 = $115 * 4.9999998736893758E-5;
- $116 = +HEAPF32[$auto_corr>>2];
- $add166 = $116 + $mul164;
- HEAPF32[$auto_corr>>2] = $add166;
- $117 = $psEncCtrl$addr;
- $AR2 = ((($117)) + 500|0);
- $118 = $k;
- $mul167 = $118<<4;
- $arrayidx168 = (($AR2) + ($mul167<<2)|0);
- $119 = $psEnc$addr;
- $shapingLPCOrder171 = ((($119)) + 4660|0);
- $120 = HEAP32[$shapingLPCOrder171>>2]|0;
- $call172 = (+_silk_levinsondurbin_FLP($arrayidx168,$auto_corr,$120));
- $nrg = $call172;
- $121 = $nrg;
- $conv173 = $121;
- $call174 = (+Math_sqrt((+$conv173)));
- $conv175 = $call174;
- $122 = $psEncCtrl$addr;
- $123 = $k;
- $arrayidx176 = (($122) + ($123<<2)|0);
- HEAPF32[$arrayidx176>>2] = $conv175;
- $124 = $psEnc$addr;
- $warping_Q16178 = ((($124)) + 4704|0);
- $125 = HEAP32[$warping_Q16178>>2]|0;
- $cmp179 = ($125|0)>(0);
- if ($cmp179) {
- $126 = $psEncCtrl$addr;
- $AR2182 = ((($126)) + 500|0);
- $127 = $k;
- $mul183 = $127<<4;
- $arrayidx184 = (($AR2182) + ($mul183<<2)|0);
- $128 = $warping;
- $129 = $psEnc$addr;
- $shapingLPCOrder186 = ((($129)) + 4660|0);
- $130 = HEAP32[$shapingLPCOrder186>>2]|0;
- $call187 = (+_warped_gain($arrayidx184,$128,$130));
- $131 = $psEncCtrl$addr;
- $132 = $k;
- $arrayidx189 = (($131) + ($132<<2)|0);
- $133 = +HEAPF32[$arrayidx189>>2];
- $mul190 = $133 * $call187;
- HEAPF32[$arrayidx189>>2] = $mul190;
- }
- $134 = $psEncCtrl$addr;
- $AR2192 = ((($134)) + 500|0);
- $135 = $k;
- $mul193 = $135<<4;
- $arrayidx194 = (($AR2192) + ($mul193<<2)|0);
- $136 = $psEnc$addr;
- $shapingLPCOrder196 = ((($136)) + 4660|0);
- $137 = HEAP32[$shapingLPCOrder196>>2]|0;
- $138 = $BWExp2;
- _silk_bwexpander_FLP($arrayidx194,$137,$138);
- $139 = $psEncCtrl$addr;
- $AR1 = ((($139)) + 244|0);
- $140 = $k;
- $mul197 = $140<<4;
- $arrayidx198 = (($AR1) + ($mul197<<2)|0);
- $141 = $psEncCtrl$addr;
- $AR2199 = ((($141)) + 500|0);
- $142 = $k;
- $mul200 = $142<<4;
- $arrayidx201 = (($AR2199) + ($mul200<<2)|0);
- $143 = $psEnc$addr;
- $shapingLPCOrder203 = ((($143)) + 4660|0);
- $144 = HEAP32[$shapingLPCOrder203>>2]|0;
- $mul204 = $144<<2;
- _memcpy(($arrayidx198|0),($arrayidx201|0),($mul204|0))|0;
- $145 = $psEncCtrl$addr;
- $AR1205 = ((($145)) + 244|0);
- $146 = $k;
- $mul206 = $146<<4;
- $arrayidx207 = (($AR1205) + ($mul206<<2)|0);
- $147 = $psEnc$addr;
- $shapingLPCOrder209 = ((($147)) + 4660|0);
- $148 = HEAP32[$shapingLPCOrder209>>2]|0;
- $149 = $BWExp1;
- _silk_bwexpander_FLP($arrayidx207,$148,$149);
- $150 = $psEncCtrl$addr;
- $AR2210 = ((($150)) + 500|0);
- $151 = $k;
- $mul211 = $151<<4;
- $arrayidx212 = (($AR2210) + ($mul211<<2)|0);
- $152 = $psEnc$addr;
- $shapingLPCOrder214 = ((($152)) + 4660|0);
- $153 = HEAP32[$shapingLPCOrder214>>2]|0;
- $call215 = (+_silk_LPC_inverse_pred_gain_FLP($arrayidx212,$153));
- $pre_nrg = $call215;
- $154 = $psEncCtrl$addr;
- $AR1216 = ((($154)) + 244|0);
- $155 = $k;
- $mul217 = $155<<4;
- $arrayidx218 = (($AR1216) + ($mul217<<2)|0);
- $156 = $psEnc$addr;
- $shapingLPCOrder220 = ((($156)) + 4660|0);
- $157 = HEAP32[$shapingLPCOrder220>>2]|0;
- $call221 = (+_silk_LPC_inverse_pred_gain_FLP($arrayidx218,$157));
- $nrg = $call221;
- $158 = $pre_nrg;
- $159 = $nrg;
- $div222 = $158 / $159;
- $sub223 = 1.0 - $div222;
- $mul224 = 0.69999998807907104 * $sub223;
- $sub225 = 1.0 - $mul224;
- $160 = $psEncCtrl$addr;
- $GainsPre = ((($160)) + 788|0);
- $161 = $k;
- $arrayidx226 = (($GainsPre) + ($161<<2)|0);
- HEAPF32[$arrayidx226>>2] = $sub225;
- $162 = $psEncCtrl$addr;
- $AR2227 = ((($162)) + 500|0);
- $163 = $k;
- $mul228 = $163<<4;
- $arrayidx229 = (($AR2227) + ($mul228<<2)|0);
- $164 = $psEncCtrl$addr;
- $AR1230 = ((($164)) + 244|0);
- $165 = $k;
- $mul231 = $165<<4;
- $arrayidx232 = (($AR1230) + ($mul231<<2)|0);
- $166 = $warping;
- $167 = $psEnc$addr;
- $shapingLPCOrder234 = ((($167)) + 4660|0);
- $168 = HEAP32[$shapingLPCOrder234>>2]|0;
- _warped_true2monic_coefs($arrayidx229,$arrayidx232,$166,3.999000072479248,$168);
- $169 = $k;
- $inc236 = (($169) + 1)|0;
- $k = $inc236;
- }
- $170 = $SNR_adj_dB;
- $mul238 = -0.15999999642372131 * $170;
- $conv239 = $mul238;
- $171 = (+Math_pow(2.0,(+$conv239)));
- $conv240 = $171;
- $gain_mult = $conv240;
- $172 = (+Math_pow(2.0,0.31999999284744263));
- $conv241 = $172;
- $gain_add = $conv241;
- $k = 0;
- while(1) {
- $173 = $k;
- $174 = $psEnc$addr;
- $nb_subfr244 = ((($174)) + 4604|0);
- $175 = HEAP32[$nb_subfr244>>2]|0;
- $cmp245 = ($173|0)<($175|0);
- if (!($cmp245)) {
- break;
- }
- $176 = $gain_mult;
- $177 = $psEncCtrl$addr;
- $178 = $k;
- $arrayidx249 = (($177) + ($178<<2)|0);
- $179 = +HEAPF32[$arrayidx249>>2];
- $mul250 = $179 * $176;
- HEAPF32[$arrayidx249>>2] = $mul250;
- $180 = $gain_add;
- $181 = $psEncCtrl$addr;
- $182 = $k;
- $arrayidx252 = (($181) + ($182<<2)|0);
- $183 = +HEAPF32[$arrayidx252>>2];
- $add253 = $183 + $180;
- HEAPF32[$arrayidx252>>2] = $add253;
- $184 = $k;
- $inc255 = (($184) + 1)|0;
- $k = $inc255;
- }
- $185 = $psEncCtrl$addr;
- $coding_quality257 = ((($185)) + 860|0);
- $186 = +HEAPF32[$coding_quality257>>2];
- $mul258 = $186 * 0.10000000149011612;
- $add259 = 1.0499999523162842 + $mul258;
- $gain_mult = $add259;
- $k = 0;
- while(1) {
- $187 = $k;
- $188 = $psEnc$addr;
- $nb_subfr262 = ((($188)) + 4604|0);
- $189 = HEAP32[$nb_subfr262>>2]|0;
- $cmp263 = ($187|0)<($189|0);
- if (!($cmp263)) {
- break;
- }
- $190 = $gain_mult;
- $191 = $psEncCtrl$addr;
- $GainsPre266 = ((($191)) + 788|0);
- $192 = $k;
- $arrayidx267 = (($GainsPre266) + ($192<<2)|0);
- $193 = +HEAPF32[$arrayidx267>>2];
- $mul268 = $193 * $190;
- HEAPF32[$arrayidx267>>2] = $mul268;
- $194 = $k;
- $inc270 = (($194) + 1)|0;
- $k = $inc270;
- }
- $195 = $psEnc$addr;
- $input_quality_bands_Q15273 = ((($195)) + 4728|0);
- $196 = HEAP32[$input_quality_bands_Q15273>>2]|0;
- $conv275 = (+($196|0));
- $mul276 = $conv275 * 3.0517578125E-5;
- $sub277 = $mul276 - 1.0;
- $mul278 = 0.5 * $sub277;
- $add279 = 1.0 + $mul278;
- $mul280 = 4.0 * $add279;
- $strength = $mul280;
- $197 = $psEnc$addr;
- $speech_activity_Q8282 = ((($197)) + 4556|0);
- $198 = HEAP32[$speech_activity_Q8282>>2]|0;
- $conv283 = (+($198|0));
- $mul284 = $conv283 * 0.00390625;
- $199 = $strength;
- $mul285 = $199 * $mul284;
- $strength = $mul285;
- $200 = $psEnc$addr;
- $indices287 = ((($200)) + 4768|0);
- $signalType288 = ((($indices287)) + 29|0);
- $201 = HEAP8[$signalType288>>0]|0;
- $conv289 = $201 << 24 >> 24;
- $cmp290 = ($conv289|0)==(2);
- if ($cmp290) {
- $k = 0;
- while(1) {
- $202 = $k;
- $203 = $psEnc$addr;
- $nb_subfr295 = ((($203)) + 4604|0);
- $204 = HEAP32[$nb_subfr295>>2]|0;
- $cmp296 = ($202|0)<($204|0);
- $205 = $psEnc$addr;
- if (!($cmp296)) {
- break;
- }
- $fs_kHz300 = ((($205)) + 4600|0);
- $206 = HEAP32[$fs_kHz300>>2]|0;
- $conv301 = (+($206|0));
- $div302 = 0.20000000298023224 / $conv301;
- $207 = $psEncCtrl$addr;
- $pitchL = ((($207)) + 228|0);
- $208 = $k;
- $arrayidx303 = (($pitchL) + ($208<<2)|0);
- $209 = HEAP32[$arrayidx303>>2]|0;
- $conv304 = (+($209|0));
- $div305 = 3.0 / $conv304;
- $add306 = $div302 + $div305;
- $b = $add306;
- $210 = $b;
- $add307 = -1.0 + $210;
- $211 = $psEncCtrl$addr;
- $LF_MA_shp = ((($211)) + 756|0);
- $212 = $k;
- $arrayidx308 = (($LF_MA_shp) + ($212<<2)|0);
- HEAPF32[$arrayidx308>>2] = $add307;
- $213 = $b;
- $sub309 = 1.0 - $213;
- $214 = $b;
- $215 = $strength;
- $mul310 = $214 * $215;
- $sub311 = $sub309 - $mul310;
- $216 = $psEncCtrl$addr;
- $LF_AR_shp = ((($216)) + 772|0);
- $217 = $k;
- $arrayidx312 = (($LF_AR_shp) + ($217<<2)|0);
- HEAPF32[$arrayidx312>>2] = $sub311;
- $218 = $k;
- $inc314 = (($218) + 1)|0;
- $k = $inc314;
- }
- $speech_activity_Q8317 = ((($205)) + 4556|0);
- $219 = HEAP32[$speech_activity_Q8317>>2]|0;
- $conv318 = (+($219|0));
- $mul319 = 0.26249998807907104 * $conv318;
- $mul320 = $mul319 * 0.00390625;
- $sub321 = -0.25 - $mul320;
- $Tilt = $sub321;
- } else {
- $220 = $psEnc$addr;
- $fs_kHz324 = ((($220)) + 4600|0);
- $221 = HEAP32[$fs_kHz324>>2]|0;
- $conv325 = (+($221|0));
- $div326 = 1.2999999523162842 / $conv325;
- $b = $div326;
- $222 = $b;
- $add327 = -1.0 + $222;
- $223 = $psEncCtrl$addr;
- $LF_MA_shp328 = ((($223)) + 756|0);
- HEAPF32[$LF_MA_shp328>>2] = $add327;
- $224 = $b;
- $sub330 = 1.0 - $224;
- $225 = $b;
- $226 = $strength;
- $mul331 = $225 * $226;
- $mul332 = $mul331 * 0.60000002384185791;
- $sub333 = $sub330 - $mul332;
- $227 = $psEncCtrl$addr;
- $LF_AR_shp334 = ((($227)) + 772|0);
- HEAPF32[$LF_AR_shp334>>2] = $sub333;
- $k = 1;
- while(1) {
- $228 = $k;
- $229 = $psEnc$addr;
- $nb_subfr338 = ((($229)) + 4604|0);
- $230 = HEAP32[$nb_subfr338>>2]|0;
- $cmp339 = ($228|0)<($230|0);
- if (!($cmp339)) {
- break;
- }
- $231 = $psEncCtrl$addr;
- $LF_MA_shp342 = ((($231)) + 756|0);
- $232 = +HEAPF32[$LF_MA_shp342>>2];
- $233 = $psEncCtrl$addr;
- $LF_MA_shp344 = ((($233)) + 756|0);
- $234 = $k;
- $arrayidx345 = (($LF_MA_shp344) + ($234<<2)|0);
- HEAPF32[$arrayidx345>>2] = $232;
- $235 = $psEncCtrl$addr;
- $LF_AR_shp346 = ((($235)) + 772|0);
- $236 = +HEAPF32[$LF_AR_shp346>>2];
- $237 = $psEncCtrl$addr;
- $LF_AR_shp348 = ((($237)) + 772|0);
- $238 = $k;
- $arrayidx349 = (($LF_AR_shp348) + ($238<<2)|0);
- HEAPF32[$arrayidx349>>2] = $236;
- $239 = $k;
- $inc351 = (($239) + 1)|0;
- $k = $inc351;
- }
- $Tilt = -0.25;
- }
- $240 = $psEncCtrl$addr;
- $coding_quality354 = ((($240)) + 860|0);
- $241 = +HEAPF32[$coding_quality354>>2];
- $sub355 = 1.0 - $241;
- $mul356 = 0.10000000149011612 * $sub355;
- $242 = $psEnc$addr;
- $LTPCorr357 = ((($242)) + 12236|0);
- $243 = +HEAPF32[$LTPCorr357>>2];
- $mul358 = $mul356 * $243;
- $HarmBoost = $mul358;
- $244 = $psEncCtrl$addr;
- $input_quality359 = ((($244)) + 856|0);
- $245 = +HEAPF32[$input_quality359>>2];
- $sub360 = 1.0 - $245;
- $mul361 = 0.10000000149011612 * $sub360;
- $246 = $HarmBoost;
- $add362 = $246 + $mul361;
- $HarmBoost = $add362;
- $247 = $psEnc$addr;
- $indices364 = ((($247)) + 4768|0);
- $signalType365 = ((($indices364)) + 29|0);
- $248 = HEAP8[$signalType365>>0]|0;
- $conv366 = $248 << 24 >> 24;
- $cmp367 = ($conv366|0)==(2);
- if ($cmp367) {
- $HarmShapeGain = 0.30000001192092896;
- $249 = $psEncCtrl$addr;
- $coding_quality370 = ((($249)) + 860|0);
- $250 = +HEAPF32[$coding_quality370>>2];
- $sub371 = 1.0 - $250;
- $251 = $psEncCtrl$addr;
- $input_quality372 = ((($251)) + 856|0);
- $252 = +HEAPF32[$input_quality372>>2];
- $mul373 = $sub371 * $252;
- $sub374 = 1.0 - $mul373;
- $mul375 = 0.20000000298023224 * $sub374;
- $253 = $HarmShapeGain;
- $add376 = $253 + $mul375;
- $HarmShapeGain = $add376;
- $254 = $psEnc$addr;
- $LTPCorr377 = ((($254)) + 12236|0);
- $255 = +HEAPF32[$LTPCorr377>>2];
- $conv378 = $255;
- $call379 = (+Math_sqrt((+$conv378)));
- $conv380 = $call379;
- $256 = $HarmShapeGain;
- $mul381 = $256 * $conv380;
- $HarmShapeGain = $mul381;
- } else {
- $HarmShapeGain = 0.0;
- }
- $k = 0;
- while(1) {
- $257 = $k;
- $258 = $psEnc$addr;
- $nb_subfr386 = ((($258)) + 4604|0);
- $259 = HEAP32[$nb_subfr386>>2]|0;
- $cmp387 = ($257|0)<($259|0);
- if (!($cmp387)) {
- break;
- }
- $260 = $HarmBoost;
- $261 = $psShapeSt;
- $HarmBoost_smth = ((($261)) + 4|0);
- $262 = +HEAPF32[$HarmBoost_smth>>2];
- $sub390 = $260 - $262;
- $mul391 = 0.40000000596046448 * $sub390;
- $263 = $psShapeSt;
- $HarmBoost_smth392 = ((($263)) + 4|0);
- $264 = +HEAPF32[$HarmBoost_smth392>>2];
- $add393 = $264 + $mul391;
- HEAPF32[$HarmBoost_smth392>>2] = $add393;
- $265 = $psShapeSt;
- $HarmBoost_smth394 = ((($265)) + 4|0);
- $266 = +HEAPF32[$HarmBoost_smth394>>2];
- $267 = $psEncCtrl$addr;
- $HarmBoost395 = ((($267)) + 804|0);
- $268 = $k;
- $arrayidx396 = (($HarmBoost395) + ($268<<2)|0);
- HEAPF32[$arrayidx396>>2] = $266;
- $269 = $HarmShapeGain;
- $270 = $psShapeSt;
- $HarmShapeGain_smth = ((($270)) + 8|0);
- $271 = +HEAPF32[$HarmShapeGain_smth>>2];
- $sub397 = $269 - $271;
- $mul398 = 0.40000000596046448 * $sub397;
- $272 = $psShapeSt;
- $HarmShapeGain_smth399 = ((($272)) + 8|0);
- $273 = +HEAPF32[$HarmShapeGain_smth399>>2];
- $add400 = $273 + $mul398;
- HEAPF32[$HarmShapeGain_smth399>>2] = $add400;
- $274 = $psShapeSt;
- $HarmShapeGain_smth401 = ((($274)) + 8|0);
- $275 = +HEAPF32[$HarmShapeGain_smth401>>2];
- $276 = $psEncCtrl$addr;
- $HarmShapeGain402 = ((($276)) + 836|0);
- $277 = $k;
- $arrayidx403 = (($HarmShapeGain402) + ($277<<2)|0);
- HEAPF32[$arrayidx403>>2] = $275;
- $278 = $Tilt;
- $279 = $psShapeSt;
- $Tilt_smth = ((($279)) + 12|0);
- $280 = +HEAPF32[$Tilt_smth>>2];
- $sub404 = $278 - $280;
- $mul405 = 0.40000000596046448 * $sub404;
- $281 = $psShapeSt;
- $Tilt_smth406 = ((($281)) + 12|0);
- $282 = +HEAPF32[$Tilt_smth406>>2];
- $add407 = $282 + $mul405;
- HEAPF32[$Tilt_smth406>>2] = $add407;
- $283 = $psShapeSt;
- $Tilt_smth408 = ((($283)) + 12|0);
- $284 = +HEAPF32[$Tilt_smth408>>2];
- $285 = $psEncCtrl$addr;
- $Tilt409 = ((($285)) + 820|0);
- $286 = $k;
- $arrayidx410 = (($Tilt409) + ($286<<2)|0);
- HEAPF32[$arrayidx410>>2] = $284;
- $287 = $k;
- $inc412 = (($287) + 1)|0;
- $k = $inc412;
- }
- STACKTOP = sp;return;
-}
-function _silk_sigmoid($x) {
- $x = +$x;
- var $0 = 0.0, $add = 0.0, $call = 0.0, $conv = 0.0, $conv1 = 0.0, $div = 0.0, $sub = 0.0, $x$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $x$addr = $x;
- $0 = $x$addr;
- $sub = - $0;
- $conv = $sub;
- $call = (+Math_exp((+$conv)));
- $add = 1.0 + $call;
- $div = 1.0 / $add;
- $conv1 = $div;
- STACKTOP = sp;return (+$conv1);
-}
-function _silk_log2($x) {
- $x = +$x;
- var $0 = 0.0, $call = 0.0, $conv = 0.0, $mul = 0.0, $x$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $x$addr = $x;
- $0 = $x$addr;
- $call = (+_log10($0));
- $mul = 3.32192809488736 * $call;
- $conv = $mul;
- STACKTOP = sp;return (+$conv);
-}
-function _warped_gain($coefs,$lambda,$order) {
- $coefs = $coefs|0;
- $lambda = +$lambda;
- $order = $order|0;
- var $0 = 0.0, $1 = 0, $10 = 0.0, $11 = 0, $2 = 0, $3 = 0.0, $4 = 0, $5 = 0, $6 = 0.0, $7 = 0.0, $8 = 0, $9 = 0, $add = 0.0, $arrayidx = 0, $arrayidx3 = 0, $cmp = 0, $coefs$addr = 0, $dec = 0, $div = 0.0, $gain = 0.0;
- var $i = 0, $lambda$addr = 0.0, $mul = 0.0, $order$addr = 0, $sub = 0.0, $sub1 = 0, $sub2 = 0, $sub5 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $coefs$addr = $coefs;
- $lambda$addr = $lambda;
- $order$addr = $order;
- $0 = $lambda$addr;
- $sub = - $0;
- $lambda$addr = $sub;
- $1 = $coefs$addr;
- $2 = $order$addr;
- $sub1 = (($2) - 1)|0;
- $arrayidx = (($1) + ($sub1<<2)|0);
- $3 = +HEAPF32[$arrayidx>>2];
- $gain = $3;
- $4 = $order$addr;
- $sub2 = (($4) - 2)|0;
- $i = $sub2;
- while(1) {
- $5 = $i;
- $cmp = ($5|0)>=(0);
- $6 = $lambda$addr;
- $7 = $gain;
- $mul = $6 * $7;
- if (!($cmp)) {
- break;
- }
- $8 = $coefs$addr;
- $9 = $i;
- $arrayidx3 = (($8) + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx3>>2];
- $add = $mul + $10;
- $gain = $add;
- $11 = $i;
- $dec = (($11) + -1)|0;
- $i = $dec;
- }
- $sub5 = 1.0 - $mul;
- $div = 1.0 / $sub5;
- STACKTOP = sp;return (+$div);
-}
-function _warped_true2monic_coefs($coefs_syn,$coefs_ana,$lambda,$limit,$order) {
- $coefs_syn = $coefs_syn|0;
- $coefs_ana = $coefs_ana|0;
- $lambda = +$lambda;
- $limit = +$limit;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0;
- var $116 = 0.0, $117 = 0.0, $118 = 0, $119 = 0.0, $12 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0.0, $123 = 0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0, $129 = 0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0, $133 = 0;
- var $134 = 0.0, $135 = 0, $136 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0.0, $19 = 0, $2 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0;
- var $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0;
- var $48 = 0, $49 = 0, $5 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0, $65 = 0;
- var $66 = 0.0, $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0.0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0.0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0.0;
- var $84 = 0, $85 = 0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0.0, $99 = 0, $add = 0.0, $add121 = 0.0, $add127 = 0.0;
- var $add17 = 0.0, $add67 = 0.0, $add72 = 0.0, $add91 = 0.0, $add94 = 0, $arrayidx = 0, $arrayidx104 = 0, $arrayidx107 = 0, $arrayidx109 = 0, $arrayidx112 = 0, $arrayidx133 = 0, $arrayidx135 = 0, $arrayidx2 = 0, $arrayidx22 = 0, $arrayidx24 = 0, $arrayidx34 = 0, $arrayidx36 = 0, $arrayidx4 = 0, $arrayidx42 = 0, $arrayidx46 = 0;
- var $arrayidx46$sink = 0, $arrayidx63 = 0, $arrayidx66 = 0, $arrayidx68 = 0, $arrayidx7 = 0, $arrayidx71 = 0, $arrayidx82 = 0, $arrayidx84 = 0, $call = 0.0, $call38 = 0.0, $call48 = 0.0, $chirp = 0.0, $cmp = 0, $cmp101 = 0, $cmp130 = 0, $cmp20 = 0, $cmp29 = 0, $cmp32 = 0, $cmp40 = 0, $cmp50 = 0;
- var $cmp55 = 0, $cmp60 = 0, $cmp79 = 0, $coefs_ana$addr = 0, $coefs_syn$addr = 0, $conv = 0.0, $conv35 = 0.0, $conv37 = 0.0, $conv39 = 0.0, $conv47 = 0.0, $conv49 = 0.0, $conv89 = 0.0, $conv95 = 0.0, $dec = 0, $dec115 = 0, $div = 0.0, $div122 = 0.0, $div128 = 0.0, $div18 = 0.0, $div76 = 0.0;
- var $div77 = 0.0, $div97 = 0.0, $gain_ana = 0.0, $gain_syn = 0.0, $i = 0, $inc = 0, $inc138 = 0, $inc141 = 0, $inc53 = 0, $inc74 = 0, $inc87 = 0, $ind = 0, $iter = 0, $lambda$addr = 0.0, $limit$addr = 0.0, $maxabs = 0.0, $mul = 0.0, $mul105 = 0.0, $mul110 = 0.0, $mul117 = 0.0;
- var $mul12 = 0.0, $mul120 = 0.0, $mul123 = 0.0, $mul126 = 0.0, $mul13 = 0.0, $mul134 = 0.0, $mul136 = 0.0, $mul16 = 0.0, $mul23 = 0.0, $mul25 = 0.0, $mul5 = 0.0, $mul64 = 0.0, $mul69 = 0.0, $mul83 = 0.0, $mul85 = 0.0, $mul9 = 0.0, $mul90 = 0.0, $mul93 = 0.0, $mul96 = 0.0, $order$addr = 0;
- var $sub = 0, $sub1 = 0, $sub10 = 0.0, $sub106 = 0, $sub108 = 0.0, $sub111 = 0, $sub113 = 0.0, $sub118 = 0.0, $sub124 = 0.0, $sub14 = 0.0, $sub3 = 0.0, $sub6 = 0, $sub65 = 0, $sub70 = 0, $sub8 = 0.0, $sub92 = 0.0, $sub98 = 0.0, $sub99 = 0, $tmp = 0.0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $coefs_syn$addr = $coefs_syn;
- $coefs_ana$addr = $coefs_ana;
- $lambda$addr = $lambda;
- $limit$addr = $limit;
- $order$addr = $order;
- $ind = 0;
- $0 = $order$addr;
- $sub = (($0) - 1)|0;
- $i = $sub;
- while(1) {
- $1 = $i;
- $cmp = ($1|0)>(0);
- $2 = $lambda$addr;
- if (!($cmp)) {
- break;
- }
- $3 = $coefs_syn$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $mul = $2 * $5;
- $6 = $coefs_syn$addr;
- $7 = $i;
- $sub1 = (($7) - 1)|0;
- $arrayidx2 = (($6) + ($sub1<<2)|0);
- $8 = +HEAPF32[$arrayidx2>>2];
- $sub3 = $8 - $mul;
- HEAPF32[$arrayidx2>>2] = $sub3;
- $9 = $lambda$addr;
- $10 = $coefs_ana$addr;
- $11 = $i;
- $arrayidx4 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $12;
- $13 = $coefs_ana$addr;
- $14 = $i;
- $sub6 = (($14) - 1)|0;
- $arrayidx7 = (($13) + ($sub6<<2)|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $sub8 = $15 - $mul5;
- HEAPF32[$arrayidx7>>2] = $sub8;
- $16 = $i;
- $dec = (($16) + -1)|0;
- $i = $dec;
- }
- $17 = $lambda$addr;
- $mul9 = $2 * $17;
- $sub10 = 1.0 - $mul9;
- $18 = $lambda$addr;
- $19 = $coefs_syn$addr;
- $20 = +HEAPF32[$19>>2];
- $mul12 = $18 * $20;
- $add = 1.0 + $mul12;
- $div = $sub10 / $add;
- $gain_syn = $div;
- $21 = $lambda$addr;
- $22 = $lambda$addr;
- $mul13 = $21 * $22;
- $sub14 = 1.0 - $mul13;
- $23 = $lambda$addr;
- $24 = $coefs_ana$addr;
- $25 = +HEAPF32[$24>>2];
- $mul16 = $23 * $25;
- $add17 = 1.0 + $mul16;
- $div18 = $sub14 / $add17;
- $gain_ana = $div18;
- $i = 0;
- while(1) {
- $26 = $i;
- $27 = $order$addr;
- $cmp20 = ($26|0)<($27|0);
- if (!($cmp20)) {
- break;
- }
- $28 = $gain_syn;
- $29 = $coefs_syn$addr;
- $30 = $i;
- $arrayidx22 = (($29) + ($30<<2)|0);
- $31 = +HEAPF32[$arrayidx22>>2];
- $mul23 = $31 * $28;
- HEAPF32[$arrayidx22>>2] = $mul23;
- $32 = $gain_ana;
- $33 = $coefs_ana$addr;
- $34 = $i;
- $arrayidx24 = (($33) + ($34<<2)|0);
- $35 = +HEAPF32[$arrayidx24>>2];
- $mul25 = $35 * $32;
- HEAPF32[$arrayidx24>>2] = $mul25;
- $36 = $i;
- $inc = (($36) + 1)|0;
- $i = $inc;
- }
- $iter = 0;
- while(1) {
- $37 = $iter;
- $cmp29 = ($37|0)<(10);
- if (!($cmp29)) {
- label = 31;
- break;
- }
- $maxabs = -1.0;
- $i = 0;
- while(1) {
- $38 = $i;
- $39 = $order$addr;
- $cmp32 = ($38|0)<($39|0);
- if (!($cmp32)) {
- break;
- }
- $40 = $coefs_syn$addr;
- $41 = $i;
- $arrayidx34 = (($40) + ($41<<2)|0);
- $42 = +HEAPF32[$arrayidx34>>2];
- $conv = $42;
- $call = (+Math_abs((+$conv)));
- $conv35 = $call;
- $43 = $coefs_ana$addr;
- $44 = $i;
- $arrayidx36 = (($43) + ($44<<2)|0);
- $45 = +HEAPF32[$arrayidx36>>2];
- $conv37 = $45;
- $call38 = (+Math_abs((+$conv37)));
- $conv39 = $call38;
- $cmp40 = $conv35 > $conv39;
- if ($cmp40) {
- $46 = $coefs_syn$addr;
- $47 = $i;
- $arrayidx42 = (($46) + ($47<<2)|0);
- $arrayidx46$sink = $arrayidx42;
- } else {
- $48 = $coefs_ana$addr;
- $49 = $i;
- $arrayidx46 = (($48) + ($49<<2)|0);
- $arrayidx46$sink = $arrayidx46;
- }
- $50 = +HEAPF32[$arrayidx46$sink>>2];
- $conv47 = $50;
- $call48 = (+Math_abs((+$conv47)));
- $conv49 = $call48;
- $tmp = $conv49;
- $51 = $tmp;
- $52 = $maxabs;
- $cmp50 = $51 > $52;
- if ($cmp50) {
- $53 = $tmp;
- $maxabs = $53;
- $54 = $i;
- $ind = $54;
- }
- $55 = $i;
- $inc53 = (($55) + 1)|0;
- $i = $inc53;
- }
- $56 = $maxabs;
- $57 = $limit$addr;
- $cmp55 = $56 <= $57;
- if ($cmp55) {
- label = 31;
- break;
- }
- $i = 1;
- while(1) {
- $58 = $i;
- $59 = $order$addr;
- $cmp60 = ($58|0)<($59|0);
- if (!($cmp60)) {
- break;
- }
- $60 = $lambda$addr;
- $61 = $coefs_syn$addr;
- $62 = $i;
- $arrayidx63 = (($61) + ($62<<2)|0);
- $63 = +HEAPF32[$arrayidx63>>2];
- $mul64 = $60 * $63;
- $64 = $coefs_syn$addr;
- $65 = $i;
- $sub65 = (($65) - 1)|0;
- $arrayidx66 = (($64) + ($sub65<<2)|0);
- $66 = +HEAPF32[$arrayidx66>>2];
- $add67 = $66 + $mul64;
- HEAPF32[$arrayidx66>>2] = $add67;
- $67 = $lambda$addr;
- $68 = $coefs_ana$addr;
- $69 = $i;
- $arrayidx68 = (($68) + ($69<<2)|0);
- $70 = +HEAPF32[$arrayidx68>>2];
- $mul69 = $67 * $70;
- $71 = $coefs_ana$addr;
- $72 = $i;
- $sub70 = (($72) - 1)|0;
- $arrayidx71 = (($71) + ($sub70<<2)|0);
- $73 = +HEAPF32[$arrayidx71>>2];
- $add72 = $73 + $mul69;
- HEAPF32[$arrayidx71>>2] = $add72;
- $74 = $i;
- $inc74 = (($74) + 1)|0;
- $i = $inc74;
- }
- $75 = $gain_syn;
- $div76 = 1.0 / $75;
- $gain_syn = $div76;
- $76 = $gain_ana;
- $div77 = 1.0 / $76;
- $gain_ana = $div77;
- $i = 0;
- while(1) {
- $77 = $i;
- $78 = $order$addr;
- $cmp79 = ($77|0)<($78|0);
- if (!($cmp79)) {
- break;
- }
- $79 = $gain_syn;
- $80 = $coefs_syn$addr;
- $81 = $i;
- $arrayidx82 = (($80) + ($81<<2)|0);
- $82 = +HEAPF32[$arrayidx82>>2];
- $mul83 = $82 * $79;
- HEAPF32[$arrayidx82>>2] = $mul83;
- $83 = $gain_ana;
- $84 = $coefs_ana$addr;
- $85 = $i;
- $arrayidx84 = (($84) + ($85<<2)|0);
- $86 = +HEAPF32[$arrayidx84>>2];
- $mul85 = $86 * $83;
- HEAPF32[$arrayidx84>>2] = $mul85;
- $87 = $i;
- $inc87 = (($87) + 1)|0;
- $i = $inc87;
- }
- $88 = $iter;
- $conv89 = (+($88|0));
- $mul90 = 0.10000000149011612 * $conv89;
- $add91 = 0.80000001192092896 + $mul90;
- $89 = $maxabs;
- $90 = $limit$addr;
- $sub92 = $89 - $90;
- $mul93 = $add91 * $sub92;
- $91 = $maxabs;
- $92 = $ind;
- $add94 = (($92) + 1)|0;
- $conv95 = (+($add94|0));
- $mul96 = $91 * $conv95;
- $div97 = $mul93 / $mul96;
- $sub98 = 0.99000000953674316 - $div97;
- $chirp = $sub98;
- $93 = $coefs_syn$addr;
- $94 = $order$addr;
- $95 = $chirp;
- _silk_bwexpander_FLP($93,$94,$95);
- $96 = $coefs_ana$addr;
- $97 = $order$addr;
- $98 = $chirp;
- _silk_bwexpander_FLP($96,$97,$98);
- $99 = $order$addr;
- $sub99 = (($99) - 1)|0;
- $i = $sub99;
- while(1) {
- $100 = $i;
- $cmp101 = ($100|0)>(0);
- $101 = $lambda$addr;
- if (!($cmp101)) {
- break;
- }
- $102 = $coefs_syn$addr;
- $103 = $i;
- $arrayidx104 = (($102) + ($103<<2)|0);
- $104 = +HEAPF32[$arrayidx104>>2];
- $mul105 = $101 * $104;
- $105 = $coefs_syn$addr;
- $106 = $i;
- $sub106 = (($106) - 1)|0;
- $arrayidx107 = (($105) + ($sub106<<2)|0);
- $107 = +HEAPF32[$arrayidx107>>2];
- $sub108 = $107 - $mul105;
- HEAPF32[$arrayidx107>>2] = $sub108;
- $108 = $lambda$addr;
- $109 = $coefs_ana$addr;
- $110 = $i;
- $arrayidx109 = (($109) + ($110<<2)|0);
- $111 = +HEAPF32[$arrayidx109>>2];
- $mul110 = $108 * $111;
- $112 = $coefs_ana$addr;
- $113 = $i;
- $sub111 = (($113) - 1)|0;
- $arrayidx112 = (($112) + ($sub111<<2)|0);
- $114 = +HEAPF32[$arrayidx112>>2];
- $sub113 = $114 - $mul110;
- HEAPF32[$arrayidx112>>2] = $sub113;
- $115 = $i;
- $dec115 = (($115) + -1)|0;
- $i = $dec115;
- }
- $116 = $lambda$addr;
- $mul117 = $101 * $116;
- $sub118 = 1.0 - $mul117;
- $117 = $lambda$addr;
- $118 = $coefs_syn$addr;
- $119 = +HEAPF32[$118>>2];
- $mul120 = $117 * $119;
- $add121 = 1.0 + $mul120;
- $div122 = $sub118 / $add121;
- $gain_syn = $div122;
- $120 = $lambda$addr;
- $121 = $lambda$addr;
- $mul123 = $120 * $121;
- $sub124 = 1.0 - $mul123;
- $122 = $lambda$addr;
- $123 = $coefs_ana$addr;
- $124 = +HEAPF32[$123>>2];
- $mul126 = $122 * $124;
- $add127 = 1.0 + $mul126;
- $div128 = $sub124 / $add127;
- $gain_ana = $div128;
- $i = 0;
- while(1) {
- $125 = $i;
- $126 = $order$addr;
- $cmp130 = ($125|0)<($126|0);
- if (!($cmp130)) {
- break;
- }
- $127 = $gain_syn;
- $128 = $coefs_syn$addr;
- $129 = $i;
- $arrayidx133 = (($128) + ($129<<2)|0);
- $130 = +HEAPF32[$arrayidx133>>2];
- $mul134 = $130 * $127;
- HEAPF32[$arrayidx133>>2] = $mul134;
- $131 = $gain_ana;
- $132 = $coefs_ana$addr;
- $133 = $i;
- $arrayidx135 = (($132) + ($133<<2)|0);
- $134 = +HEAPF32[$arrayidx135>>2];
- $mul136 = $134 * $131;
- HEAPF32[$arrayidx135>>2] = $mul136;
- $135 = $i;
- $inc138 = (($135) + 1)|0;
- $i = $inc138;
- }
- $136 = $iter;
- $inc141 = (($136) + 1)|0;
- $iter = $inc141;
- }
- if ((label|0) == 31) {
- STACKTOP = sp;return;
- }
-}
-function _silk_prefilter_FLP($psEnc,$psEncCtrl,$xw,$x) {
- $psEnc = $psEnc|0;
- $psEncCtrl = $psEncCtrl|0;
- $xw = $xw|0;
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0;
- var $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0;
- var $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0.0, $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0.0;
- var $81 = 0.0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $AR1 = 0, $AR1_shp = 0, $B = 0;
- var $GainsPre = 0, $GainsPre28 = 0, $HarmBoost = 0, $HarmBoost31 = 0, $HarmShapeFIR = 0, $HarmShapeGain = 0.0, $HarmShapeGain4 = 0, $LF_AR_shp = 0.0, $LF_AR_shp17 = 0, $LF_MA_shp = 0.0, $LF_MA_shp15 = 0, $P = 0, $Tilt = 0.0, $Tilt13 = 0, $add = 0.0, $add$ptr = 0, $add$ptr72 = 0, $add35 = 0.0, $add43 = 0.0, $add58 = 0.0;
- var $arrayidx = 0, $arrayidx10 = 0, $arrayidx12 = 0, $arrayidx14 = 0, $arrayidx16 = 0, $arrayidx18 = 0, $arrayidx20 = 0, $arrayidx26 = 0, $arrayidx29 = 0, $arrayidx32 = 0, $arrayidx37 = 0, $arrayidx41 = 0, $arrayidx5 = 0, $arrayidx52 = 0, $arrayidx54 = 0, $arrayidx56 = 0, $arrayidx59 = 0, $arrayidx6 = 0, $arrayidx63 = 0, $arrayidx80 = 0;
- var $cmp = 0, $cmp2 = 0, $cmp48 = 0, $coding_quality = 0, $conv = 0, $conv23 = 0.0, $div = 0.0, $inc = 0, $inc74 = 0, $indices = 0, $j = 0, $k = 0, $lag = 0, $lagPrev = 0, $lagPrev81 = 0, $mul = 0.0, $mul11 = 0.0, $mul19 = 0, $mul33 = 0.0, $mul34 = 0.0;
- var $mul36 = 0.0, $mul40 = 0.0, $mul42 = 0.0, $mul53 = 0.0, $mul57 = 0.0, $mul7 = 0.0, $mul9 = 0.0, $nb_subfr = 0, $nb_subfr78 = 0, $pitchL = 0, $pitchL76 = 0, $psEnc$addr = 0, $psEncCtrl$addr = 0, $px = 0, $pxw = 0, $sAR_shp = 0, $sHarmHP = 0, $sHarmHP64 = 0, $sPrefilt = 0, $shapingLPCOrder = 0;
- var $signalType = 0, $st_res = 0, $sub = 0.0, $sub30 = 0.0, $sub55 = 0, $sub62 = 0, $sub79 = 0, $subfr_length = 0, $subfr_length47 = 0, $subfr_length61 = 0, $subfr_length67 = 0, $subfr_length69 = 0, $subfr_length71 = 0, $warping_Q16 = 0, $x$addr = 0, $xw$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 464|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(464|0);
- $B = sp + 408|0;
- $HarmShapeFIR = sp + 384|0;
- $st_res = sp;
- $psEnc$addr = $psEnc;
- $psEncCtrl$addr = $psEncCtrl;
- $xw$addr = $xw;
- $x$addr = $x;
- $0 = $psEnc$addr;
- $sPrefilt = ((($0)) + 7216|0);
- $P = $sPrefilt;
- $1 = $x$addr;
- $px = $1;
- $2 = $xw$addr;
- $pxw = $2;
- $3 = $P;
- $lagPrev = ((($3)) + 2136|0);
- $4 = HEAP32[$lagPrev>>2]|0;
- $lag = $4;
- $k = 0;
- while(1) {
- $5 = $k;
- $6 = $psEnc$addr;
- $nb_subfr = ((($6)) + 4604|0);
- $7 = HEAP32[$nb_subfr>>2]|0;
- $cmp = ($5|0)<($7|0);
- if (!($cmp)) {
- break;
- }
- $8 = $psEnc$addr;
- $indices = ((($8)) + 4768|0);
- $signalType = ((($indices)) + 29|0);
- $9 = HEAP8[$signalType>>0]|0;
- $conv = $9 << 24 >> 24;
- $cmp2 = ($conv|0)==(2);
- if ($cmp2) {
- $10 = $psEncCtrl$addr;
- $pitchL = ((($10)) + 228|0);
- $11 = $k;
- $arrayidx = (($pitchL) + ($11<<2)|0);
- $12 = HEAP32[$arrayidx>>2]|0;
- $lag = $12;
- }
- $13 = $psEncCtrl$addr;
- $HarmShapeGain4 = ((($13)) + 836|0);
- $14 = $k;
- $arrayidx5 = (($HarmShapeGain4) + ($14<<2)|0);
- $15 = +HEAPF32[$arrayidx5>>2];
- $16 = $psEncCtrl$addr;
- $HarmBoost = ((($16)) + 804|0);
- $17 = $k;
- $arrayidx6 = (($HarmBoost) + ($17<<2)|0);
- $18 = +HEAPF32[$arrayidx6>>2];
- $sub = 1.0 - $18;
- $mul = $15 * $sub;
- $HarmShapeGain = $mul;
- $19 = $HarmShapeGain;
- $mul7 = 0.25 * $19;
- HEAPF32[$HarmShapeFIR>>2] = $mul7;
- $20 = $HarmShapeGain;
- $mul9 = 0.4999847412109375 * $20;
- $arrayidx10 = ((($HarmShapeFIR)) + 4|0);
- HEAPF32[$arrayidx10>>2] = $mul9;
- $21 = $HarmShapeGain;
- $mul11 = 0.25 * $21;
- $arrayidx12 = ((($HarmShapeFIR)) + 8|0);
- HEAPF32[$arrayidx12>>2] = $mul11;
- $22 = $psEncCtrl$addr;
- $Tilt13 = ((($22)) + 820|0);
- $23 = $k;
- $arrayidx14 = (($Tilt13) + ($23<<2)|0);
- $24 = +HEAPF32[$arrayidx14>>2];
- $Tilt = $24;
- $25 = $psEncCtrl$addr;
- $LF_MA_shp15 = ((($25)) + 756|0);
- $26 = $k;
- $arrayidx16 = (($LF_MA_shp15) + ($26<<2)|0);
- $27 = +HEAPF32[$arrayidx16>>2];
- $LF_MA_shp = $27;
- $28 = $psEncCtrl$addr;
- $LF_AR_shp17 = ((($28)) + 772|0);
- $29 = $k;
- $arrayidx18 = (($LF_AR_shp17) + ($29<<2)|0);
- $30 = +HEAPF32[$arrayidx18>>2];
- $LF_AR_shp = $30;
- $31 = $psEncCtrl$addr;
- $AR1 = ((($31)) + 244|0);
- $32 = $k;
- $mul19 = $32<<4;
- $arrayidx20 = (($AR1) + ($mul19<<2)|0);
- $AR1_shp = $arrayidx20;
- $33 = $P;
- $sAR_shp = ((($33)) + 2048|0);
- $34 = $AR1_shp;
- $35 = $px;
- $36 = $psEnc$addr;
- $warping_Q16 = ((($36)) + 4704|0);
- $37 = HEAP32[$warping_Q16>>2]|0;
- $conv23 = (+($37|0));
- $div = $conv23 / 65536.0;
- $38 = $psEnc$addr;
- $subfr_length = ((($38)) + 4612|0);
- $39 = HEAP32[$subfr_length>>2]|0;
- $40 = $psEnc$addr;
- $shapingLPCOrder = ((($40)) + 4660|0);
- $41 = HEAP32[$shapingLPCOrder>>2]|0;
- _silk_warped_LPC_analysis_filter_FLP($sAR_shp,$st_res,$34,$35,$div,$39,$41);
- $42 = $psEncCtrl$addr;
- $GainsPre = ((($42)) + 788|0);
- $43 = $k;
- $arrayidx26 = (($GainsPre) + ($43<<2)|0);
- $44 = +HEAPF32[$arrayidx26>>2];
- HEAPF32[$B>>2] = $44;
- $45 = $psEncCtrl$addr;
- $GainsPre28 = ((($45)) + 788|0);
- $46 = $k;
- $arrayidx29 = (($GainsPre28) + ($46<<2)|0);
- $47 = +HEAPF32[$arrayidx29>>2];
- $sub30 = - $47;
- $48 = $psEncCtrl$addr;
- $HarmBoost31 = ((($48)) + 804|0);
- $49 = $k;
- $arrayidx32 = (($HarmBoost31) + ($49<<2)|0);
- $50 = +HEAPF32[$arrayidx32>>2];
- $51 = $HarmShapeGain;
- $mul33 = $50 * $51;
- $add = $mul33 + 0.05000000074505806;
- $52 = $psEncCtrl$addr;
- $coding_quality = ((($52)) + 860|0);
- $53 = +HEAPF32[$coding_quality>>2];
- $mul34 = $53 * 0.10000000149011612;
- $add35 = $add + $mul34;
- $mul36 = $sub30 * $add35;
- $arrayidx37 = ((($B)) + 4|0);
- HEAPF32[$arrayidx37>>2] = $mul36;
- $54 = +HEAPF32[$B>>2];
- $55 = +HEAPF32[$st_res>>2];
- $mul40 = $54 * $55;
- $arrayidx41 = ((($B)) + 4|0);
- $56 = +HEAPF32[$arrayidx41>>2];
- $57 = $P;
- $sHarmHP = ((($57)) + 2128|0);
- $58 = +HEAPF32[$sHarmHP>>2];
- $mul42 = $56 * $58;
- $add43 = $mul40 + $mul42;
- $59 = $pxw;
- HEAPF32[$59>>2] = $add43;
- $j = 1;
- while(1) {
- $60 = $j;
- $61 = $psEnc$addr;
- $subfr_length47 = ((($61)) + 4612|0);
- $62 = HEAP32[$subfr_length47>>2]|0;
- $cmp48 = ($60|0)<($62|0);
- if (!($cmp48)) {
- break;
- }
- $63 = +HEAPF32[$B>>2];
- $64 = $j;
- $arrayidx52 = (($st_res) + ($64<<2)|0);
- $65 = +HEAPF32[$arrayidx52>>2];
- $mul53 = $63 * $65;
- $arrayidx54 = ((($B)) + 4|0);
- $66 = +HEAPF32[$arrayidx54>>2];
- $67 = $j;
- $sub55 = (($67) - 1)|0;
- $arrayidx56 = (($st_res) + ($sub55<<2)|0);
- $68 = +HEAPF32[$arrayidx56>>2];
- $mul57 = $66 * $68;
- $add58 = $mul53 + $mul57;
- $69 = $pxw;
- $70 = $j;
- $arrayidx59 = (($69) + ($70<<2)|0);
- HEAPF32[$arrayidx59>>2] = $add58;
- $71 = $j;
- $inc = (($71) + 1)|0;
- $j = $inc;
- }
- $72 = $psEnc$addr;
- $subfr_length61 = ((($72)) + 4612|0);
- $73 = HEAP32[$subfr_length61>>2]|0;
- $sub62 = (($73) - 1)|0;
- $arrayidx63 = (($st_res) + ($sub62<<2)|0);
- $74 = +HEAPF32[$arrayidx63>>2];
- $75 = $P;
- $sHarmHP64 = ((($75)) + 2128|0);
- HEAPF32[$sHarmHP64>>2] = $74;
- $76 = $P;
- $77 = $pxw;
- $78 = $pxw;
- $79 = $Tilt;
- $80 = $LF_MA_shp;
- $81 = $LF_AR_shp;
- $82 = $lag;
- $83 = $psEnc$addr;
- $subfr_length67 = ((($83)) + 4612|0);
- $84 = HEAP32[$subfr_length67>>2]|0;
- _silk_prefilt_FLP($76,$77,$78,$HarmShapeFIR,$79,$80,$81,$82,$84);
- $85 = $psEnc$addr;
- $subfr_length69 = ((($85)) + 4612|0);
- $86 = HEAP32[$subfr_length69>>2]|0;
- $87 = $px;
- $add$ptr = (($87) + ($86<<2)|0);
- $px = $add$ptr;
- $88 = $psEnc$addr;
- $subfr_length71 = ((($88)) + 4612|0);
- $89 = HEAP32[$subfr_length71>>2]|0;
- $90 = $pxw;
- $add$ptr72 = (($90) + ($89<<2)|0);
- $pxw = $add$ptr72;
- $91 = $k;
- $inc74 = (($91) + 1)|0;
- $k = $inc74;
- }
- $92 = $psEncCtrl$addr;
- $pitchL76 = ((($92)) + 228|0);
- $93 = $psEnc$addr;
- $nb_subfr78 = ((($93)) + 4604|0);
- $94 = HEAP32[$nb_subfr78>>2]|0;
- $sub79 = (($94) - 1)|0;
- $arrayidx80 = (($pitchL76) + ($sub79<<2)|0);
- $95 = HEAP32[$arrayidx80>>2]|0;
- $96 = $P;
- $lagPrev81 = ((($96)) + 2136|0);
- HEAP32[$lagPrev81>>2] = $95;
- STACKTOP = sp;return;
-}
-function _silk_warped_LPC_analysis_filter_FLP($state,$res,$coef,$input,$lambda,$length,$order) {
- $state = $state|0;
- $res = $res|0;
- $coef = $coef|0;
- $input = $input|0;
- $lambda = +$lambda;
- $length = $length|0;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0.0, $28 = 0, $29 = 0, $3 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0.0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0.0, $44 = 0;
- var $45 = 0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0.0, $60 = 0, $61 = 0, $62 = 0.0;
- var $63 = 0.0, $64 = 0.0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $8 = 0, $9 = 0.0, $acc = 0.0, $add = 0.0, $add15 = 0, $add19 = 0.0, $add24 = 0.0, $add25 = 0, $add27 = 0, $add31 = 0.0;
- var $add32 = 0, $add36 = 0.0, $add37 = 0, $add42 = 0.0, $add7 = 0.0, $arrayidx1 = 0, $arrayidx14 = 0, $arrayidx16 = 0, $arrayidx2 = 0, $arrayidx20 = 0, $arrayidx22 = 0, $arrayidx26 = 0, $arrayidx28 = 0, $arrayidx33 = 0, $arrayidx34 = 0, $arrayidx38 = 0, $arrayidx4 = 0, $arrayidx40 = 0, $arrayidx43 = 0, $arrayidx45 = 0;
- var $arrayidx5 = 0, $arrayidx8 = 0, $cmp = 0, $cmp12 = 0, $coef$addr = 0, $i = 0, $inc = 0, $input$addr = 0, $lambda$addr = 0.0, $length$addr = 0, $mul = 0.0, $mul10 = 0.0, $mul18 = 0.0, $mul23 = 0.0, $mul30 = 0.0, $mul35 = 0.0, $mul41 = 0.0, $mul6 = 0.0, $n = 0, $order$addr = 0;
- var $res$addr = 0, $state$addr = 0, $sub = 0.0, $sub17 = 0.0, $sub21 = 0, $sub29 = 0.0, $sub39 = 0, $sub44 = 0.0, $tmp1 = 0.0, $tmp2 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $state$addr = $state;
- $res$addr = $res;
- $coef$addr = $coef;
- $input$addr = $input;
- $lambda$addr = $lambda;
- $length$addr = $length;
- $order$addr = $order;
- $n = 0;
- while(1) {
- $0 = $n;
- $1 = $length$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $state$addr;
- $3 = +HEAPF32[$2>>2];
- $4 = $lambda$addr;
- $5 = $state$addr;
- $arrayidx1 = ((($5)) + 4|0);
- $6 = +HEAPF32[$arrayidx1>>2];
- $mul = $4 * $6;
- $add = $3 + $mul;
- $tmp2 = $add;
- $7 = $input$addr;
- $8 = $n;
- $arrayidx2 = (($7) + ($8<<2)|0);
- $9 = +HEAPF32[$arrayidx2>>2];
- $10 = $state$addr;
- HEAPF32[$10>>2] = $9;
- $11 = $state$addr;
- $arrayidx4 = ((($11)) + 4|0);
- $12 = +HEAPF32[$arrayidx4>>2];
- $13 = $lambda$addr;
- $14 = $state$addr;
- $arrayidx5 = ((($14)) + 8|0);
- $15 = +HEAPF32[$arrayidx5>>2];
- $16 = $tmp2;
- $sub = $15 - $16;
- $mul6 = $13 * $sub;
- $add7 = $12 + $mul6;
- $tmp1 = $add7;
- $17 = $tmp2;
- $18 = $state$addr;
- $arrayidx8 = ((($18)) + 4|0);
- HEAPF32[$arrayidx8>>2] = $17;
- $19 = $coef$addr;
- $20 = +HEAPF32[$19>>2];
- $21 = $tmp2;
- $mul10 = $20 * $21;
- $acc = $mul10;
- $i = 2;
- while(1) {
- $22 = $i;
- $23 = $order$addr;
- $cmp12 = ($22|0)<($23|0);
- if (!($cmp12)) {
- break;
- }
- $24 = $state$addr;
- $25 = $i;
- $arrayidx14 = (($24) + ($25<<2)|0);
- $26 = +HEAPF32[$arrayidx14>>2];
- $27 = $lambda$addr;
- $28 = $state$addr;
- $29 = $i;
- $add15 = (($29) + 1)|0;
- $arrayidx16 = (($28) + ($add15<<2)|0);
- $30 = +HEAPF32[$arrayidx16>>2];
- $31 = $tmp1;
- $sub17 = $30 - $31;
- $mul18 = $27 * $sub17;
- $add19 = $26 + $mul18;
- $tmp2 = $add19;
- $32 = $tmp1;
- $33 = $state$addr;
- $34 = $i;
- $arrayidx20 = (($33) + ($34<<2)|0);
- HEAPF32[$arrayidx20>>2] = $32;
- $35 = $coef$addr;
- $36 = $i;
- $sub21 = (($36) - 1)|0;
- $arrayidx22 = (($35) + ($sub21<<2)|0);
- $37 = +HEAPF32[$arrayidx22>>2];
- $38 = $tmp1;
- $mul23 = $37 * $38;
- $39 = $acc;
- $add24 = $39 + $mul23;
- $acc = $add24;
- $40 = $state$addr;
- $41 = $i;
- $add25 = (($41) + 1)|0;
- $arrayidx26 = (($40) + ($add25<<2)|0);
- $42 = +HEAPF32[$arrayidx26>>2];
- $43 = $lambda$addr;
- $44 = $state$addr;
- $45 = $i;
- $add27 = (($45) + 2)|0;
- $arrayidx28 = (($44) + ($add27<<2)|0);
- $46 = +HEAPF32[$arrayidx28>>2];
- $47 = $tmp2;
- $sub29 = $46 - $47;
- $mul30 = $43 * $sub29;
- $add31 = $42 + $mul30;
- $tmp1 = $add31;
- $48 = $tmp2;
- $49 = $state$addr;
- $50 = $i;
- $add32 = (($50) + 1)|0;
- $arrayidx33 = (($49) + ($add32<<2)|0);
- HEAPF32[$arrayidx33>>2] = $48;
- $51 = $coef$addr;
- $52 = $i;
- $arrayidx34 = (($51) + ($52<<2)|0);
- $53 = +HEAPF32[$arrayidx34>>2];
- $54 = $tmp2;
- $mul35 = $53 * $54;
- $55 = $acc;
- $add36 = $55 + $mul35;
- $acc = $add36;
- $56 = $i;
- $add37 = (($56) + 2)|0;
- $i = $add37;
- }
- $57 = $tmp1;
- $58 = $state$addr;
- $59 = $order$addr;
- $arrayidx38 = (($58) + ($59<<2)|0);
- HEAPF32[$arrayidx38>>2] = $57;
- $60 = $coef$addr;
- $61 = $order$addr;
- $sub39 = (($61) - 1)|0;
- $arrayidx40 = (($60) + ($sub39<<2)|0);
- $62 = +HEAPF32[$arrayidx40>>2];
- $63 = $tmp1;
- $mul41 = $62 * $63;
- $64 = $acc;
- $add42 = $64 + $mul41;
- $acc = $add42;
- $65 = $input$addr;
- $66 = $n;
- $arrayidx43 = (($65) + ($66<<2)|0);
- $67 = +HEAPF32[$arrayidx43>>2];
- $68 = $acc;
- $sub44 = $67 - $68;
- $69 = $res$addr;
- $70 = $n;
- $arrayidx45 = (($69) + ($70<<2)|0);
- HEAPF32[$arrayidx45>>2] = $sub44;
- $71 = $n;
- $inc = (($71) + 1)|0;
- $n = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_prefilt_FLP($P,$st_res,$xw,$HarmShapeFIR,$Tilt,$LF_MA_shp,$LF_AR_shp,$lag,$length) {
- $P = $P|0;
- $st_res = $st_res|0;
- $xw = $xw|0;
- $HarmShapeFIR = $HarmShapeFIR|0;
- $Tilt = +$Tilt;
- $LF_MA_shp = +$LF_MA_shp;
- $LF_AR_shp = +$LF_AR_shp;
- $lag = $lag|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0.0, $40 = 0.0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0;
- var $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $6 = 0.0, $7 = 0, $8 = 0, $9 = 0, $HarmShapeFIR$addr = 0, $LF_AR_shp$addr = 0.0, $LF_MA_shp$addr = 0.0, $LTP_shp_buf = 0;
- var $LTP_shp_buf_idx = 0, $P$addr = 0, $Tilt$addr = 0.0, $add = 0, $add11 = 0.0, $add13 = 0, $add18 = 0.0, $add22 = 0.0, $and = 0, $and14 = 0, $and27 = 0, $and7 = 0, $arrayidx = 0, $arrayidx15 = 0, $arrayidx16 = 0, $arrayidx23 = 0, $arrayidx28 = 0, $arrayidx30 = 0, $arrayidx8 = 0, $arrayidx9 = 0;
- var $cmp = 0, $cmp3 = 0, $i = 0, $idx = 0, $inc = 0, $lag$addr = 0, $length$addr = 0, $mul = 0.0, $mul10 = 0.0, $mul17 = 0.0, $mul19 = 0.0, $mul20 = 0.0, $mul21 = 0.0, $n_LF = 0.0, $n_LTP = 0.0, $n_Tilt = 0.0, $sLF_AR_shp = 0.0, $sLF_AR_shp1 = 0, $sLF_AR_shp31 = 0, $sLF_MA_shp = 0.0;
- var $sLF_MA_shp2 = 0, $sLF_MA_shp32 = 0, $sLTP_shp_buf_idx = 0, $sLTP_shp_buf_idx33 = 0, $st_res$addr = 0, $sub = 0, $sub12 = 0, $sub24 = 0.0, $sub25 = 0.0, $sub26 = 0, $sub29 = 0.0, $sub4 = 0, $sub6 = 0, $xw$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $P$addr = $P;
- $st_res$addr = $st_res;
- $xw$addr = $xw;
- $HarmShapeFIR$addr = $HarmShapeFIR;
- $Tilt$addr = $Tilt;
- $LF_MA_shp$addr = $LF_MA_shp;
- $LF_AR_shp$addr = $LF_AR_shp;
- $lag$addr = $lag;
- $length$addr = $length;
- $0 = $P$addr;
- $LTP_shp_buf = $0;
- $1 = $P$addr;
- $sLTP_shp_buf_idx = ((($1)) + 2116|0);
- $2 = HEAP32[$sLTP_shp_buf_idx>>2]|0;
- $LTP_shp_buf_idx = $2;
- $3 = $P$addr;
- $sLF_AR_shp1 = ((($3)) + 2120|0);
- $4 = +HEAPF32[$sLF_AR_shp1>>2];
- $sLF_AR_shp = $4;
- $5 = $P$addr;
- $sLF_MA_shp2 = ((($5)) + 2124|0);
- $6 = +HEAPF32[$sLF_MA_shp2>>2];
- $sLF_MA_shp = $6;
- $i = 0;
- while(1) {
- $7 = $i;
- $8 = $length$addr;
- $cmp = ($7|0)<($8|0);
- if (!($cmp)) {
- break;
- }
- $9 = $lag$addr;
- $cmp3 = ($9|0)>(0);
- if ($cmp3) {
- $10 = $lag$addr;
- $11 = $LTP_shp_buf_idx;
- $add = (($10) + ($11))|0;
- $idx = $add;
- $12 = $LTP_shp_buf;
- $13 = $idx;
- $sub = (($13) - 1)|0;
- $sub4 = (($sub) - 1)|0;
- $and = $sub4 & 511;
- $arrayidx = (($12) + ($and<<2)|0);
- $14 = +HEAPF32[$arrayidx>>2];
- $15 = $HarmShapeFIR$addr;
- $16 = +HEAPF32[$15>>2];
- $mul = $14 * $16;
- $n_LTP = $mul;
- $17 = $LTP_shp_buf;
- $18 = $idx;
- $sub6 = (($18) - 1)|0;
- $and7 = $sub6 & 511;
- $arrayidx8 = (($17) + ($and7<<2)|0);
- $19 = +HEAPF32[$arrayidx8>>2];
- $20 = $HarmShapeFIR$addr;
- $arrayidx9 = ((($20)) + 4|0);
- $21 = +HEAPF32[$arrayidx9>>2];
- $mul10 = $19 * $21;
- $22 = $n_LTP;
- $add11 = $22 + $mul10;
- $n_LTP = $add11;
- $23 = $LTP_shp_buf;
- $24 = $idx;
- $sub12 = (($24) - 1)|0;
- $add13 = (($sub12) + 1)|0;
- $and14 = $add13 & 511;
- $arrayidx15 = (($23) + ($and14<<2)|0);
- $25 = +HEAPF32[$arrayidx15>>2];
- $26 = $HarmShapeFIR$addr;
- $arrayidx16 = ((($26)) + 8|0);
- $27 = +HEAPF32[$arrayidx16>>2];
- $mul17 = $25 * $27;
- $28 = $n_LTP;
- $add18 = $28 + $mul17;
- $n_LTP = $add18;
- } else {
- $n_LTP = 0.0;
- }
- $29 = $sLF_AR_shp;
- $30 = $Tilt$addr;
- $mul19 = $29 * $30;
- $n_Tilt = $mul19;
- $31 = $sLF_AR_shp;
- $32 = $LF_AR_shp$addr;
- $mul20 = $31 * $32;
- $33 = $sLF_MA_shp;
- $34 = $LF_MA_shp$addr;
- $mul21 = $33 * $34;
- $add22 = $mul20 + $mul21;
- $n_LF = $add22;
- $35 = $st_res$addr;
- $36 = $i;
- $arrayidx23 = (($35) + ($36<<2)|0);
- $37 = +HEAPF32[$arrayidx23>>2];
- $38 = $n_Tilt;
- $sub24 = $37 - $38;
- $sLF_AR_shp = $sub24;
- $39 = $sLF_AR_shp;
- $40 = $n_LF;
- $sub25 = $39 - $40;
- $sLF_MA_shp = $sub25;
- $41 = $LTP_shp_buf_idx;
- $sub26 = (($41) - 1)|0;
- $and27 = $sub26 & 511;
- $LTP_shp_buf_idx = $and27;
- $42 = $sLF_MA_shp;
- $43 = $LTP_shp_buf;
- $44 = $LTP_shp_buf_idx;
- $arrayidx28 = (($43) + ($44<<2)|0);
- HEAPF32[$arrayidx28>>2] = $42;
- $45 = $sLF_MA_shp;
- $46 = $n_LTP;
- $sub29 = $45 - $46;
- $47 = $xw$addr;
- $48 = $i;
- $arrayidx30 = (($47) + ($48<<2)|0);
- HEAPF32[$arrayidx30>>2] = $sub29;
- $49 = $i;
- $inc = (($49) + 1)|0;
- $i = $inc;
- }
- $50 = $sLF_AR_shp;
- $51 = $P$addr;
- $sLF_AR_shp31 = ((($51)) + 2120|0);
- HEAPF32[$sLF_AR_shp31>>2] = $50;
- $52 = $sLF_MA_shp;
- $53 = $P$addr;
- $sLF_MA_shp32 = ((($53)) + 2124|0);
- HEAPF32[$sLF_MA_shp32>>2] = $52;
- $54 = $LTP_shp_buf_idx;
- $55 = $P$addr;
- $sLTP_shp_buf_idx33 = ((($55)) + 2116|0);
- HEAP32[$sLTP_shp_buf_idx33>>2] = $54;
- STACKTOP = sp;return;
-}
-function _silk_process_gains_FLP($psEnc,$psEncCtrl,$condCoding) {
- $psEnc = $psEnc|0;
- $psEncCtrl = $psEncCtrl|0;
- $condCoding = $condCoding|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0.0;
- var $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0.0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0;
- var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
- var $62 = 0, $63 = 0, $64 = 0.0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0.0;
- var $80 = 0.0, $81 = 0.0, $82 = 0, $9 = 0, $GainsUnq_Q16 = 0, $InvMaxSqrVal = 0.0, $LTPredCodGain = 0, $LTPredCodGain86 = 0, $Lambda = 0, $ResNrg = 0, $SNR_dB_Q7 = 0, $add = 0.0, $add116 = 0.0, $add121 = 0.0, $add123 = 0.0, $add125 = 0.0, $add127 = 0.0, $add90 = 0.0, $arrayidx = 0, $arrayidx105 = 0;
- var $arrayidx109 = 0, $arrayidx24 = 0, $arrayidx26 = 0, $arrayidx34 = 0, $arrayidx45 = 0, $arrayidx48 = 0, $arrayidx71 = 0, $arrayidx75 = 0, $call = 0.0, $call29 = 0.0, $cmp = 0, $cmp20 = 0, $cmp31 = 0, $cmp41 = 0, $cmp5 = 0, $cmp61 = 0, $cmp68 = 0, $cmp83 = 0, $cmp91 = 0, $coding_quality = 0;
- var $cond = 0.0, $condCoding$addr = 0, $conv = 0, $conv104 = 0, $conv110 = 0, $conv111 = 0.0, $conv114 = 0.0, $conv118 = 0.0, $conv13 = 0.0, $conv15 = 0.0, $conv16 = 0.0, $conv28 = 0.0, $conv30 = 0.0, $conv47 = 0, $conv62 = 0, $conv72 = 0.0, $conv82 = 0, $conv88 = 0.0, $conv9 = 0.0, $div = 0.0;
- var $div112 = 0.0, $div73 = 0.0, $gain = 0.0, $idxprom = 0, $inc = 0, $inc36 = 0, $inc50 = 0, $inc77 = 0, $indices = 0, $indices102 = 0, $indices107 = 0, $indices57 = 0, $indices80 = 0, $indices95 = 0, $input_quality = 0, $input_tilt_Q15 = 0, $k = 0, $lastGainIndexPrev = 0, $mul = 0.0, $mul10 = 0.0;
- var $mul115 = 0.0, $mul119 = 0.0, $mul12 = 0.0, $mul120 = 0.0, $mul122 = 0.0, $mul124 = 0.0, $mul126 = 0.0, $mul2 = 0.0, $mul25 = 0.0, $mul27 = 0.0, $mul46 = 0.0, $mul55 = 0, $mul7 = 0.0, $mul89 = 0.0, $nStatesDelayedDecision = 0, $nb_subfr = 0, $nb_subfr19 = 0, $nb_subfr40 = 0, $nb_subfr54 = 0, $nb_subfr64 = 0;
- var $nb_subfr67 = 0, $pGains_Q16 = 0, $psEnc$addr = 0, $psEncCtrl$addr = 0, $psShapeSt = 0, $quantOffsetType = 0, $quantOffsetType108 = 0, $quant_offset = 0.0, $s = 0.0, $sShape = 0, $shr = 0, $signalType = 0, $signalType103 = 0, $signalType81 = 0, $speech_activity_Q8 = 0, $sub = 0.0, $sub11 = 0.0, $sub3 = 0.0, $subfr_length = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $pGains_Q16 = sp + 16|0;
- $psEnc$addr = $psEnc;
- $psEncCtrl$addr = $psEncCtrl;
- $condCoding$addr = $condCoding;
- $0 = $psEnc$addr;
- $sShape = ((($0)) + 7200|0);
- $psShapeSt = $sShape;
- $1 = $psEnc$addr;
- $indices = ((($1)) + 4768|0);
- $signalType = ((($indices)) + 29|0);
- $2 = HEAP8[$signalType>>0]|0;
- $conv = $2 << 24 >> 24;
- $cmp = ($conv|0)==(2);
- L1: do {
- if ($cmp) {
- $3 = $psEncCtrl$addr;
- $LTPredCodGain = ((($3)) + 872|0);
- $4 = +HEAPF32[$LTPredCodGain>>2];
- $sub = $4 - 12.0;
- $mul = 0.25 * $sub;
- $call = (+_silk_sigmoid_299($mul));
- $mul2 = 0.5 * $call;
- $sub3 = 1.0 - $mul2;
- $s = $sub3;
- $k = 0;
- while(1) {
- $5 = $k;
- $6 = $psEnc$addr;
- $nb_subfr = ((($6)) + 4604|0);
- $7 = HEAP32[$nb_subfr>>2]|0;
- $cmp5 = ($5|0)<($7|0);
- if (!($cmp5)) {
- break L1;
- }
- $8 = $s;
- $9 = $psEncCtrl$addr;
- $10 = $k;
- $arrayidx = (($9) + ($10<<2)|0);
- $11 = +HEAPF32[$arrayidx>>2];
- $mul7 = $11 * $8;
- HEAPF32[$arrayidx>>2] = $mul7;
- $12 = $k;
- $inc = (($12) + 1)|0;
- $k = $inc;
- }
- }
- } while(0);
- $13 = $psEnc$addr;
- $SNR_dB_Q7 = ((($13)) + 4748|0);
- $14 = HEAP32[$SNR_dB_Q7>>2]|0;
- $conv9 = (+($14|0));
- $mul10 = $conv9 * 0.0078125;
- $sub11 = 21.0 - $mul10;
- $mul12 = 0.33000001311302185 * $sub11;
- $conv13 = $mul12;
- $15 = (+Math_pow(2.0,(+$conv13)));
- $16 = $psEnc$addr;
- $subfr_length = ((($16)) + 4612|0);
- $17 = HEAP32[$subfr_length>>2]|0;
- $conv15 = (+($17|0));
- $div = $15 / $conv15;
- $conv16 = $div;
- $InvMaxSqrVal = $conv16;
- $k = 0;
- while(1) {
- $18 = $k;
- $19 = $psEnc$addr;
- $nb_subfr19 = ((($19)) + 4604|0);
- $20 = HEAP32[$nb_subfr19>>2]|0;
- $cmp20 = ($18|0)<($20|0);
- if (!($cmp20)) {
- break;
- }
- $21 = $psEncCtrl$addr;
- $22 = $k;
- $arrayidx24 = (($21) + ($22<<2)|0);
- $23 = +HEAPF32[$arrayidx24>>2];
- $gain = $23;
- $24 = $gain;
- $25 = $gain;
- $mul25 = $24 * $25;
- $26 = $psEncCtrl$addr;
- $ResNrg = ((($26)) + 876|0);
- $27 = $k;
- $arrayidx26 = (($ResNrg) + ($27<<2)|0);
- $28 = +HEAPF32[$arrayidx26>>2];
- $29 = $InvMaxSqrVal;
- $mul27 = $28 * $29;
- $add = $mul25 + $mul27;
- $conv28 = $add;
- $call29 = (+Math_sqrt((+$conv28)));
- $conv30 = $call29;
- $gain = $conv30;
- $30 = $gain;
- $cmp31 = $30 < 32767.0;
- $31 = $gain;
- $cond = $cmp31 ? $31 : 32767.0;
- $32 = $psEncCtrl$addr;
- $33 = $k;
- $arrayidx34 = (($32) + ($33<<2)|0);
- HEAPF32[$arrayidx34>>2] = $cond;
- $34 = $k;
- $inc36 = (($34) + 1)|0;
- $k = $inc36;
- }
- $k = 0;
- while(1) {
- $35 = $k;
- $36 = $psEnc$addr;
- $nb_subfr40 = ((($36)) + 4604|0);
- $37 = HEAP32[$nb_subfr40>>2]|0;
- $cmp41 = ($35|0)<($37|0);
- $38 = $psEncCtrl$addr;
- if (!($cmp41)) {
- break;
- }
- $39 = $k;
- $arrayidx45 = (($38) + ($39<<2)|0);
- $40 = +HEAPF32[$arrayidx45>>2];
- $mul46 = $40 * 65536.0;
- $conv47 = (~~(($mul46)));
- $41 = $k;
- $arrayidx48 = (($pGains_Q16) + ($41<<2)|0);
- HEAP32[$arrayidx48>>2] = $conv47;
- $42 = $k;
- $inc50 = (($42) + 1)|0;
- $k = $inc50;
- }
- $GainsUnq_Q16 = ((($38)) + 892|0);
- $43 = $psEnc$addr;
- $nb_subfr54 = ((($43)) + 4604|0);
- $44 = HEAP32[$nb_subfr54>>2]|0;
- $mul55 = $44<<2;
- _memcpy(($GainsUnq_Q16|0),($pGains_Q16|0),($mul55|0))|0;
- $45 = $psShapeSt;
- $46 = HEAP8[$45>>0]|0;
- $47 = $psEncCtrl$addr;
- $lastGainIndexPrev = ((($47)) + 908|0);
- HEAP8[$lastGainIndexPrev>>0] = $46;
- $48 = $psEnc$addr;
- $indices57 = ((($48)) + 4768|0);
- $49 = $psShapeSt;
- $50 = $condCoding$addr;
- $cmp61 = ($50|0)==(2);
- $conv62 = $cmp61&1;
- $51 = $psEnc$addr;
- $nb_subfr64 = ((($51)) + 4604|0);
- $52 = HEAP32[$nb_subfr64>>2]|0;
- _silk_gains_quant($indices57,$pGains_Q16,$49,$conv62,$52);
- $k = 0;
- while(1) {
- $53 = $k;
- $54 = $psEnc$addr;
- $nb_subfr67 = ((($54)) + 4604|0);
- $55 = HEAP32[$nb_subfr67>>2]|0;
- $cmp68 = ($53|0)<($55|0);
- if (!($cmp68)) {
- break;
- }
- $56 = $k;
- $arrayidx71 = (($pGains_Q16) + ($56<<2)|0);
- $57 = HEAP32[$arrayidx71>>2]|0;
- $conv72 = (+($57|0));
- $div73 = $conv72 / 65536.0;
- $58 = $psEncCtrl$addr;
- $59 = $k;
- $arrayidx75 = (($58) + ($59<<2)|0);
- HEAPF32[$arrayidx75>>2] = $div73;
- $60 = $k;
- $inc77 = (($60) + 1)|0;
- $k = $inc77;
- }
- $61 = $psEnc$addr;
- $indices80 = ((($61)) + 4768|0);
- $signalType81 = ((($indices80)) + 29|0);
- $62 = HEAP8[$signalType81>>0]|0;
- $conv82 = $62 << 24 >> 24;
- $cmp83 = ($conv82|0)==(2);
- if ($cmp83) {
- $63 = $psEncCtrl$addr;
- $LTPredCodGain86 = ((($63)) + 872|0);
- $64 = +HEAPF32[$LTPredCodGain86>>2];
- $65 = $psEnc$addr;
- $input_tilt_Q15 = ((($65)) + 4744|0);
- $66 = HEAP32[$input_tilt_Q15>>2]|0;
- $conv88 = (+($66|0));
- $mul89 = $conv88 * 3.0517578125E-5;
- $add90 = $64 + $mul89;
- $cmp91 = $add90 > 1.0;
- $67 = $psEnc$addr;
- $indices95 = ((($67)) + 4768|0);
- $quantOffsetType = ((($indices95)) + 30|0);
- $$sink = $cmp91 ? 0 : 1;
- HEAP8[$quantOffsetType>>0] = $$sink;
- }
- $68 = $psEnc$addr;
- $indices102 = ((($68)) + 4768|0);
- $signalType103 = ((($indices102)) + 29|0);
- $69 = HEAP8[$signalType103>>0]|0;
- $conv104 = $69 << 24 >> 24;
- $shr = $conv104 >> 1;
- $arrayidx105 = (24998 + ($shr<<2)|0);
- $70 = $psEnc$addr;
- $indices107 = ((($70)) + 4768|0);
- $quantOffsetType108 = ((($indices107)) + 30|0);
- $71 = HEAP8[$quantOffsetType108>>0]|0;
- $idxprom = $71 << 24 >> 24;
- $arrayidx109 = (($arrayidx105) + ($idxprom<<1)|0);
- $72 = HEAP16[$arrayidx109>>1]|0;
- $conv110 = $72 << 16 >> 16;
- $conv111 = (+($conv110|0));
- $div112 = $conv111 / 1024.0;
- $quant_offset = $div112;
- $73 = $psEnc$addr;
- $nStatesDelayedDecision = ((($73)) + 4652|0);
- $74 = HEAP32[$nStatesDelayedDecision>>2]|0;
- $conv114 = (+($74|0));
- $mul115 = -0.05000000074505806 * $conv114;
- $add116 = 1.2000000476837158 + $mul115;
- $75 = $psEnc$addr;
- $speech_activity_Q8 = ((($75)) + 4556|0);
- $76 = HEAP32[$speech_activity_Q8>>2]|0;
- $conv118 = (+($76|0));
- $mul119 = -0.20000000298023224 * $conv118;
- $mul120 = $mul119 * 0.00390625;
- $add121 = $add116 + $mul120;
- $77 = $psEncCtrl$addr;
- $input_quality = ((($77)) + 856|0);
- $78 = +HEAPF32[$input_quality>>2];
- $mul122 = -0.10000000149011612 * $78;
- $add123 = $add121 + $mul122;
- $79 = $psEncCtrl$addr;
- $coding_quality = ((($79)) + 860|0);
- $80 = +HEAPF32[$coding_quality>>2];
- $mul124 = -0.20000000298023224 * $80;
- $add125 = $add123 + $mul124;
- $81 = $quant_offset;
- $mul126 = 0.80000001192092896 * $81;
- $add127 = $add125 + $mul126;
- $82 = $psEncCtrl$addr;
- $Lambda = ((($82)) + 852|0);
- HEAPF32[$Lambda>>2] = $add127;
- STACKTOP = sp;return;
-}
-function _silk_sigmoid_299($x) {
- $x = +$x;
- var $0 = 0.0, $add = 0.0, $call = 0.0, $conv = 0.0, $conv1 = 0.0, $div = 0.0, $sub = 0.0, $x$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $x$addr = $x;
- $0 = $x$addr;
- $sub = - $0;
- $conv = $sub;
- $call = (+Math_exp((+$conv)));
- $add = 1.0 + $call;
- $div = 1.0 / $add;
- $conv1 = $div;
- STACKTOP = sp;return (+$conv1);
-}
-function _silk_residual_energy_covar_FLP($c,$wXX,$wXx,$wxx,$D) {
- $c = $c|0;
- $wXX = $wXX|0;
- $wXx = $wXx|0;
- $wxx = +$wxx;
- $D = $D|0;
- var $0 = 0, $1 = 0.0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0;
- var $45 = 0, $46 = 0.0, $47 = 0.0, $48 = 0, $49 = 0.0, $5 = 0.0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0.0, $7 = 0.0;
- var $8 = 0, $9 = 0, $D$addr = 0, $add = 0.0, $add$ptr = 0, $add$ptr31 = 0, $add$ptr46 = 0, $add15 = 0, $add20 = 0, $add23 = 0.0, $add30 = 0, $add34 = 0.0, $add36 = 0.0, $add45 = 0, $add47 = 0.0, $add9 = 0.0, $arrayidx1 = 0, $arrayidx21 = 0, $arrayidx27 = 0, $arrayidx32 = 0;
- var $arrayidx6 = 0, $arrayidx7 = 0, $c$addr = 0, $cmp = 0, $cmp13 = 0, $cmp17 = 0, $cmp4 = 0, $cmp40 = 0, $cmp42 = 0, $cmp55 = 0, $i = 0, $inc = 0, $inc25 = 0, $inc38 = 0, $inc49 = 0, $inc53 = 0, $j = 0, $k = 0, $mul = 0, $mul10 = 0.0;
- var $mul19 = 0, $mul2 = 0.0, $mul22 = 0.0, $mul28 = 0.0, $mul29 = 0, $mul33 = 0.0, $mul35 = 0.0, $mul44 = 0, $mul51 = 0.0, $mul8 = 0.0, $nrg = 0.0, $regularization = 0.0, $sub = 0, $sub11 = 0.0, $tmp = 0.0, $wXX$addr = 0, $wXx$addr = 0, $wxx$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $c$addr = $c;
- $wXX$addr = $wXX;
- $wXx$addr = $wXx;
- $wxx$addr = $wxx;
- $D$addr = $D;
- $nrg = 0.0;
- $0 = $wXX$addr;
- $1 = +HEAPF32[$0>>2];
- $2 = $wXX$addr;
- $3 = $D$addr;
- $4 = $D$addr;
- $mul = Math_imul($3, $4)|0;
- $sub = (($mul) - 1)|0;
- $arrayidx1 = (($2) + ($sub<<2)|0);
- $5 = +HEAPF32[$arrayidx1>>2];
- $add = $1 + $5;
- $mul2 = 9.9999999392252903E-9 * $add;
- $regularization = $mul2;
- $k = 0;
- while(1) {
- $6 = $k;
- $cmp = ($6|0)<(10);
- if (!($cmp)) {
- break;
- }
- $7 = $wxx$addr;
- $nrg = $7;
- $tmp = 0.0;
- $i = 0;
- while(1) {
- $8 = $i;
- $9 = $D$addr;
- $cmp4 = ($8|0)<($9|0);
- if (!($cmp4)) {
- break;
- }
- $10 = $wXx$addr;
- $11 = $i;
- $arrayidx6 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx6>>2];
- $13 = $c$addr;
- $14 = $i;
- $arrayidx7 = (($13) + ($14<<2)|0);
- $15 = +HEAPF32[$arrayidx7>>2];
- $mul8 = $12 * $15;
- $16 = $tmp;
- $add9 = $16 + $mul8;
- $tmp = $add9;
- $17 = $i;
- $inc = (($17) + 1)|0;
- $i = $inc;
- }
- $18 = $tmp;
- $mul10 = 2.0 * $18;
- $19 = $nrg;
- $sub11 = $19 - $mul10;
- $nrg = $sub11;
- $i = 0;
- while(1) {
- $20 = $i;
- $21 = $D$addr;
- $cmp13 = ($20|0)<($21|0);
- if (!($cmp13)) {
- break;
- }
- $tmp = 0.0;
- $22 = $i;
- $add15 = (($22) + 1)|0;
- $j = $add15;
- while(1) {
- $23 = $j;
- $24 = $D$addr;
- $cmp17 = ($23|0)<($24|0);
- if (!($cmp17)) {
- break;
- }
- $25 = $wXX$addr;
- $26 = $i;
- $27 = $D$addr;
- $28 = $j;
- $mul19 = Math_imul($27, $28)|0;
- $add20 = (($26) + ($mul19))|0;
- $add$ptr = (($25) + ($add20<<2)|0);
- $29 = +HEAPF32[$add$ptr>>2];
- $30 = $c$addr;
- $31 = $j;
- $arrayidx21 = (($30) + ($31<<2)|0);
- $32 = +HEAPF32[$arrayidx21>>2];
- $mul22 = $29 * $32;
- $33 = $tmp;
- $add23 = $33 + $mul22;
- $tmp = $add23;
- $34 = $j;
- $inc25 = (($34) + 1)|0;
- $j = $inc25;
- }
- $35 = $c$addr;
- $36 = $i;
- $arrayidx27 = (($35) + ($36<<2)|0);
- $37 = +HEAPF32[$arrayidx27>>2];
- $38 = $tmp;
- $mul28 = 2.0 * $38;
- $39 = $wXX$addr;
- $40 = $i;
- $41 = $D$addr;
- $42 = $i;
- $mul29 = Math_imul($41, $42)|0;
- $add30 = (($40) + ($mul29))|0;
- $add$ptr31 = (($39) + ($add30<<2)|0);
- $43 = +HEAPF32[$add$ptr31>>2];
- $44 = $c$addr;
- $45 = $i;
- $arrayidx32 = (($44) + ($45<<2)|0);
- $46 = +HEAPF32[$arrayidx32>>2];
- $mul33 = $43 * $46;
- $add34 = $mul28 + $mul33;
- $mul35 = $37 * $add34;
- $47 = $nrg;
- $add36 = $47 + $mul35;
- $nrg = $add36;
- $48 = $i;
- $inc38 = (($48) + 1)|0;
- $i = $inc38;
- }
- $49 = $nrg;
- $cmp40 = $49 > 0.0;
- if ($cmp40) {
- break;
- }
- $i = 0;
- while(1) {
- $50 = $i;
- $51 = $D$addr;
- $cmp42 = ($50|0)<($51|0);
- $52 = $regularization;
- if (!($cmp42)) {
- break;
- }
- $53 = $wXX$addr;
- $54 = $i;
- $55 = $D$addr;
- $56 = $i;
- $mul44 = Math_imul($55, $56)|0;
- $add45 = (($54) + ($mul44))|0;
- $add$ptr46 = (($53) + ($add45<<2)|0);
- $57 = +HEAPF32[$add$ptr46>>2];
- $add47 = $57 + $52;
- HEAPF32[$add$ptr46>>2] = $add47;
- $58 = $i;
- $inc49 = (($58) + 1)|0;
- $i = $inc49;
- }
- $mul51 = $52 * 2.0;
- $regularization = $mul51;
- $59 = $k;
- $inc53 = (($59) + 1)|0;
- $k = $inc53;
- }
- $60 = $k;
- $cmp55 = ($60|0)==(10);
- if (!($cmp55)) {
- $61 = $nrg;
- STACKTOP = sp;return (+$61);
- }
- $nrg = 1.0;
- $61 = $nrg;
- STACKTOP = sp;return (+$61);
-}
-function _silk_residual_energy_FLP($nrgs,$x,$a,$gains,$subfr_length,$nb_subfr,$LPC_order) {
- $nrgs = $nrgs|0;
- $x = $x|0;
- $a = $a|0;
- $gains = $gains|0;
- $subfr_length = $subfr_length|0;
- $nb_subfr = $nb_subfr|0;
- $LPC_order = $LPC_order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0.0, $LPC_order$addr = 0, $LPC_res = 0, $LPC_res_ptr = 0, $a$addr = 0, $add = 0, $add$ptr = 0, $add$ptr18 = 0, $add$ptr28 = 0, $add$ptr3 = 0, $add$ptr35 = 0, $add$ptr45 = 0, $add$ptr9 = 0, $arrayidx13 = 0, $arrayidx14 = 0;
- var $arrayidx22 = 0, $arrayidx25 = 0, $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx39 = 0, $arrayidx40 = 0, $arrayidx41 = 0, $arrayidx49 = 0, $call = 0.0, $call19 = 0.0, $call36 = 0.0, $call46 = 0.0, $cmp = 0, $conv = 0.0, $conv11 = 0.0, $conv16 = 0.0, $conv21 = 0.0, $conv33 = 0.0, $conv38 = 0.0, $conv43 = 0.0;
- var $conv48 = 0.0, $gains$addr = 0, $mul = 0, $mul10 = 0.0, $mul15 = 0.0, $mul17 = 0, $mul20 = 0.0, $mul27 = 0, $mul29 = 0, $mul32 = 0.0, $mul34 = 0, $mul37 = 0.0, $mul4 = 0, $mul42 = 0.0, $mul44 = 0, $mul47 = 0.0, $mul7 = 0.0, $mul8 = 0, $nb_subfr$addr = 0, $nrgs$addr = 0;
- var $shift = 0, $subfr_length$addr = 0, $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 816|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(816|0);
- $LPC_res = sp;
- $nrgs$addr = $nrgs;
- $x$addr = $x;
- $a$addr = $a;
- $gains$addr = $gains;
- $subfr_length$addr = $subfr_length;
- $nb_subfr$addr = $nb_subfr;
- $LPC_order$addr = $LPC_order;
- $0 = $LPC_order$addr;
- $add$ptr = (($LPC_res) + ($0<<2)|0);
- $LPC_res_ptr = $add$ptr;
- $1 = $LPC_order$addr;
- $2 = $subfr_length$addr;
- $add = (($1) + ($2))|0;
- $shift = $add;
- $3 = $a$addr;
- $4 = $x$addr;
- $5 = $shift;
- $mul = 0;
- $add$ptr3 = (($4) + ($mul<<2)|0);
- $6 = $shift;
- $mul4 = $6<<1;
- $7 = $LPC_order$addr;
- _silk_LPC_analysis_filter_FLP($LPC_res,$3,$add$ptr3,$mul4,$7);
- $8 = $gains$addr;
- $9 = +HEAPF32[$8>>2];
- $10 = $gains$addr;
- $11 = +HEAPF32[$10>>2];
- $mul7 = $9 * $11;
- $conv = $mul7;
- $12 = $LPC_res_ptr;
- $13 = $shift;
- $mul8 = 0;
- $add$ptr9 = (($12) + ($mul8<<2)|0);
- $14 = $subfr_length$addr;
- $call = (+_silk_energy_FLP($add$ptr9,$14));
- $mul10 = $conv * $call;
- $conv11 = $mul10;
- $15 = $nrgs$addr;
- HEAPF32[$15>>2] = $conv11;
- $16 = $gains$addr;
- $arrayidx13 = ((($16)) + 4|0);
- $17 = +HEAPF32[$arrayidx13>>2];
- $18 = $gains$addr;
- $arrayidx14 = ((($18)) + 4|0);
- $19 = +HEAPF32[$arrayidx14>>2];
- $mul15 = $17 * $19;
- $conv16 = $mul15;
- $20 = $LPC_res_ptr;
- $21 = $shift;
- $mul17 = $21;
- $add$ptr18 = (($20) + ($mul17<<2)|0);
- $22 = $subfr_length$addr;
- $call19 = (+_silk_energy_FLP($add$ptr18,$22));
- $mul20 = $conv16 * $call19;
- $conv21 = $mul20;
- $23 = $nrgs$addr;
- $arrayidx22 = ((($23)) + 4|0);
- HEAPF32[$arrayidx22>>2] = $conv21;
- $24 = $nb_subfr$addr;
- $cmp = ($24|0)==(4);
- if (!($cmp)) {
- STACKTOP = sp;return;
- }
- $25 = $a$addr;
- $arrayidx25 = ((($25)) + 64|0);
- $26 = $x$addr;
- $27 = $shift;
- $mul27 = $27<<1;
- $add$ptr28 = (($26) + ($mul27<<2)|0);
- $28 = $shift;
- $mul29 = $28<<1;
- $29 = $LPC_order$addr;
- _silk_LPC_analysis_filter_FLP($LPC_res,$arrayidx25,$add$ptr28,$mul29,$29);
- $30 = $gains$addr;
- $arrayidx30 = ((($30)) + 8|0);
- $31 = +HEAPF32[$arrayidx30>>2];
- $32 = $gains$addr;
- $arrayidx31 = ((($32)) + 8|0);
- $33 = +HEAPF32[$arrayidx31>>2];
- $mul32 = $31 * $33;
- $conv33 = $mul32;
- $34 = $LPC_res_ptr;
- $35 = $shift;
- $mul34 = 0;
- $add$ptr35 = (($34) + ($mul34<<2)|0);
- $36 = $subfr_length$addr;
- $call36 = (+_silk_energy_FLP($add$ptr35,$36));
- $mul37 = $conv33 * $call36;
- $conv38 = $mul37;
- $37 = $nrgs$addr;
- $arrayidx39 = ((($37)) + 8|0);
- HEAPF32[$arrayidx39>>2] = $conv38;
- $38 = $gains$addr;
- $arrayidx40 = ((($38)) + 12|0);
- $39 = +HEAPF32[$arrayidx40>>2];
- $40 = $gains$addr;
- $arrayidx41 = ((($40)) + 12|0);
- $41 = +HEAPF32[$arrayidx41>>2];
- $mul42 = $39 * $41;
- $conv43 = $mul42;
- $42 = $LPC_res_ptr;
- $43 = $shift;
- $mul44 = $43;
- $add$ptr45 = (($42) + ($mul44<<2)|0);
- $44 = $subfr_length$addr;
- $call46 = (+_silk_energy_FLP($add$ptr45,$44));
- $mul47 = $conv43 * $call46;
- $conv48 = $mul47;
- $45 = $nrgs$addr;
- $arrayidx49 = ((($45)) + 12|0);
- HEAPF32[$arrayidx49>>2] = $conv48;
- STACKTOP = sp;return;
-}
-function _silk_warped_autocorrelation_FLP($corr,$input,$warping,$length,$order) {
- $corr = $corr|0;
- $input = $input|0;
- $warping = +$warping;
- $length = $length|0;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0;
- var $27 = 0.0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0.0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0.0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0;
- var $45 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0.0, $C = 0, $add = 0, $add13 = 0.0, $add14 = 0, $add17 = 0, $add21 = 0.0, $add22 = 0, $add26 = 0, $add28 = 0.0, $add29 = 0, $add34 = 0.0, $add38 = 0, $add8 = 0.0, $arrayidx = 0;
- var $arrayidx12 = 0, $arrayidx15 = 0, $arrayidx18 = 0, $arrayidx23 = 0, $arrayidx27 = 0, $arrayidx30 = 0, $arrayidx33 = 0, $arrayidx42 = 0, $arrayidx44 = 0, $arrayidx5 = 0, $arrayidx7 = 0, $arrayidx9 = 0, $cmp = 0, $cmp2 = 0, $cmp39 = 0, $conv = 0.0, $conv16 = 0.0, $conv43 = 0.0, $conv6 = 0.0, $corr$addr = 0;
- var $i = 0, $inc = 0, $inc46 = 0, $input$addr = 0, $length$addr = 0, $mul = 0.0, $mul11 = 0.0, $mul20 = 0.0, $mul25 = 0.0, $mul32 = 0.0, $n = 0, $order$addr = 0, $state = 0, $sub = 0.0, $sub19 = 0.0, $tmp1 = 0.0, $tmp2 = 0.0, $warping$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 320|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(320|0);
- $state = sp + 136|0;
- $C = sp;
- $corr$addr = $corr;
- $input$addr = $input;
- $warping$addr = $warping;
- $length$addr = $length;
- $order$addr = $order;
- _memset(($state|0),0,136)|0;
- _memset(($C|0),0,136)|0;
- $n = 0;
- while(1) {
- $0 = $n;
- $1 = $length$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $input$addr;
- $3 = $n;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx>>2];
- $conv = $4;
- $tmp1 = $conv;
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $order$addr;
- $cmp2 = ($5|0)<($6|0);
- if (!($cmp2)) {
- break;
- }
- $7 = $i;
- $arrayidx5 = (($state) + ($7<<3)|0);
- $8 = +HEAPF64[$arrayidx5>>3];
- $9 = $warping$addr;
- $conv6 = $9;
- $10 = $i;
- $add = (($10) + 1)|0;
- $arrayidx7 = (($state) + ($add<<3)|0);
- $11 = +HEAPF64[$arrayidx7>>3];
- $12 = $tmp1;
- $sub = $11 - $12;
- $mul = $conv6 * $sub;
- $add8 = $8 + $mul;
- $tmp2 = $add8;
- $13 = $tmp1;
- $14 = $i;
- $arrayidx9 = (($state) + ($14<<3)|0);
- HEAPF64[$arrayidx9>>3] = $13;
- $15 = +HEAPF64[$state>>3];
- $16 = $tmp1;
- $mul11 = $15 * $16;
- $17 = $i;
- $arrayidx12 = (($C) + ($17<<3)|0);
- $18 = +HEAPF64[$arrayidx12>>3];
- $add13 = $18 + $mul11;
- HEAPF64[$arrayidx12>>3] = $add13;
- $19 = $i;
- $add14 = (($19) + 1)|0;
- $arrayidx15 = (($state) + ($add14<<3)|0);
- $20 = +HEAPF64[$arrayidx15>>3];
- $21 = $warping$addr;
- $conv16 = $21;
- $22 = $i;
- $add17 = (($22) + 2)|0;
- $arrayidx18 = (($state) + ($add17<<3)|0);
- $23 = +HEAPF64[$arrayidx18>>3];
- $24 = $tmp2;
- $sub19 = $23 - $24;
- $mul20 = $conv16 * $sub19;
- $add21 = $20 + $mul20;
- $tmp1 = $add21;
- $25 = $tmp2;
- $26 = $i;
- $add22 = (($26) + 1)|0;
- $arrayidx23 = (($state) + ($add22<<3)|0);
- HEAPF64[$arrayidx23>>3] = $25;
- $27 = +HEAPF64[$state>>3];
- $28 = $tmp2;
- $mul25 = $27 * $28;
- $29 = $i;
- $add26 = (($29) + 1)|0;
- $arrayidx27 = (($C) + ($add26<<3)|0);
- $30 = +HEAPF64[$arrayidx27>>3];
- $add28 = $30 + $mul25;
- HEAPF64[$arrayidx27>>3] = $add28;
- $31 = $i;
- $add29 = (($31) + 2)|0;
- $i = $add29;
- }
- $32 = $tmp1;
- $33 = $order$addr;
- $arrayidx30 = (($state) + ($33<<3)|0);
- HEAPF64[$arrayidx30>>3] = $32;
- $34 = +HEAPF64[$state>>3];
- $35 = $tmp1;
- $mul32 = $34 * $35;
- $36 = $order$addr;
- $arrayidx33 = (($C) + ($36<<3)|0);
- $37 = +HEAPF64[$arrayidx33>>3];
- $add34 = $37 + $mul32;
- HEAPF64[$arrayidx33>>3] = $add34;
- $38 = $n;
- $inc = (($38) + 1)|0;
- $n = $inc;
- }
- $i = 0;
- while(1) {
- $39 = $i;
- $40 = $order$addr;
- $add38 = (($40) + 1)|0;
- $cmp39 = ($39|0)<($add38|0);
- if (!($cmp39)) {
- break;
- }
- $41 = $i;
- $arrayidx42 = (($C) + ($41<<3)|0);
- $42 = +HEAPF64[$arrayidx42>>3];
- $conv43 = $42;
- $43 = $corr$addr;
- $44 = $i;
- $arrayidx44 = (($43) + ($44<<2)|0);
- HEAPF32[$arrayidx44>>2] = $conv43;
- $45 = $i;
- $inc46 = (($45) + 1)|0;
- $i = $inc46;
- }
- STACKTOP = sp;return;
-}
-function _silk_A2NLSF_FLP($NLSF_Q15,$pAR,$LPC_order) {
- $NLSF_Q15 = $NLSF_Q15|0;
- $pAR = $pAR|0;
- $LPC_order = $LPC_order|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0.0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $LPC_order$addr = 0, $NLSF_Q15$addr = 0, $a_fix_Q16 = 0, $arrayidx = 0, $arrayidx1 = 0, $call = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $pAR$addr = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $a_fix_Q16 = sp;
- $NLSF_Q15$addr = $NLSF_Q15;
- $pAR$addr = $pAR;
- $LPC_order$addr = $LPC_order;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $LPC_order$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $pAR$addr;
- $3 = $i;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx>>2];
- $mul = $4 * 65536.0;
- $call = (_silk_float2int($mul)|0);
- $5 = $i;
- $arrayidx1 = (($a_fix_Q16) + ($5<<2)|0);
- HEAP32[$arrayidx1>>2] = $call;
- $6 = $i;
- $inc = (($6) + 1)|0;
- $i = $inc;
- }
- $7 = $NLSF_Q15$addr;
- $8 = $LPC_order$addr;
- _silk_A2NLSF($7,$a_fix_Q16,$8);
- STACKTOP = sp;return;
-}
-function _silk_float2int($x) {
- $x = +$x;
- var $0 = 0.0, $call = 0, $x$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $x$addr = $x;
- $0 = $x$addr;
- $call = (_lrintf($0)|0);
- STACKTOP = sp;return ($call|0);
-}
-function _silk_NLSF2A_FLP($pAR,$NLSF_Q15,$LPC_order) {
- $pAR = $pAR|0;
- $NLSF_Q15 = $NLSF_Q15|0;
- $LPC_order = $LPC_order|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $LPC_order$addr = 0, $NLSF_Q15$addr = 0, $a_fix_Q12 = 0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $conv = 0.0, $i = 0, $inc = 0, $mul = 0.0, $pAR$addr = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $a_fix_Q12 = sp + 16|0;
- $pAR$addr = $pAR;
- $NLSF_Q15$addr = $NLSF_Q15;
- $LPC_order$addr = $LPC_order;
- $0 = $NLSF_Q15$addr;
- $1 = $LPC_order$addr;
- _silk_NLSF2A($a_fix_Q12,$0,$1);
- $i = 0;
- while(1) {
- $2 = $i;
- $3 = $LPC_order$addr;
- $cmp = ($2|0)<($3|0);
- if (!($cmp)) {
- break;
- }
- $4 = $i;
- $arrayidx = (($a_fix_Q12) + ($4<<1)|0);
- $5 = HEAP16[$arrayidx>>1]|0;
- $conv = (+($5<<16>>16));
- $mul = $conv * 2.44140625E-4;
- $6 = $pAR$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- HEAPF32[$arrayidx1>>2] = $mul;
- $8 = $i;
- $inc = (($8) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_process_NLSFs_FLP($psEncC,$PredCoef,$NLSF_Q15,$prev_NLSF_Q15) {
- $psEncC = $psEncC|0;
- $PredCoef = $PredCoef|0;
- $NLSF_Q15 = $NLSF_Q15|0;
- $prev_NLSF_Q15 = $prev_NLSF_Q15|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $NLSF_Q15$addr = 0, $PredCoef$addr = 0, $PredCoef_Q12 = 0, $arrayidx = 0, $arrayidx4 = 0, $arrayidx5 = 0;
- var $arrayidx6 = 0, $cmp = 0, $cmp2 = 0, $conv = 0.0, $i = 0, $inc = 0, $inc8 = 0, $j = 0, $mul = 0.0, $predictLPCOrder = 0, $prev_NLSF_Q15$addr = 0, $psEncC$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $PredCoef_Q12 = sp + 24|0;
- $psEncC$addr = $psEncC;
- $PredCoef$addr = $PredCoef;
- $NLSF_Q15$addr = $NLSF_Q15;
- $prev_NLSF_Q15$addr = $prev_NLSF_Q15;
- $0 = $psEncC$addr;
- $1 = $NLSF_Q15$addr;
- $2 = $prev_NLSF_Q15$addr;
- _silk_process_NLSFs($0,$PredCoef_Q12,$1,$2);
- $j = 0;
- while(1) {
- $3 = $j;
- $cmp = ($3|0)<(2);
- if (!($cmp)) {
- break;
- }
- $i = 0;
- while(1) {
- $4 = $i;
- $5 = $psEncC$addr;
- $predictLPCOrder = ((($5)) + 4664|0);
- $6 = HEAP32[$predictLPCOrder>>2]|0;
- $cmp2 = ($4|0)<($6|0);
- $7 = $j;
- if (!($cmp2)) {
- break;
- }
- $arrayidx = (($PredCoef_Q12) + ($7<<5)|0);
- $8 = $i;
- $arrayidx4 = (($arrayidx) + ($8<<1)|0);
- $9 = HEAP16[$arrayidx4>>1]|0;
- $conv = (+($9<<16>>16));
- $mul = $conv * 2.44140625E-4;
- $10 = $PredCoef$addr;
- $11 = $j;
- $arrayidx5 = (($10) + ($11<<6)|0);
- $12 = $i;
- $arrayidx6 = (($arrayidx5) + ($12<<2)|0);
- HEAPF32[$arrayidx6>>2] = $mul;
- $13 = $i;
- $inc = (($13) + 1)|0;
- $i = $inc;
- }
- $inc8 = (($7) + 1)|0;
- $j = $inc8;
- }
- STACKTOP = sp;return;
-}
-function _silk_NSQ_wrapper_FLP($psEnc,$psEncCtrl,$psIndices,$psNSQ,$pulses,$x) {
- $psEnc = $psEnc|0;
- $psEncCtrl = $psEncCtrl|0;
- $psIndices = $psIndices|0;
- $psNSQ = $psNSQ|0;
- $pulses = $pulses|0;
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0, $AR2 = 0, $AR2_Q13 = 0, $Gains_Q16 = 0, $HarmShapeGain = 0, $HarmShapeGain_Q14 = 0, $LF_AR_shp = 0, $LF_MA_shp = 0;
- var $LF_shp_Q14 = 0, $LTPCoef = 0, $LTPCoef_Q14 = 0, $LTP_scaleIndex = 0, $LTP_scale_Q14 = 0, $Lambda = 0, $Lambda_Q10 = 0, $PredCoef = 0, $PredCoef_Q12 = 0, $Tilt = 0, $Tilt_Q14 = 0, $add = 0, $add7 = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx103 = 0, $arrayidx18 = 0, $arrayidx21 = 0, $arrayidx26 = 0, $arrayidx27 = 0;
- var $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx34 = 0, $arrayidx47 = 0, $arrayidx51 = 0, $arrayidx64 = 0, $arrayidx65 = 0, $arrayidx69 = 0, $arrayidx70 = 0, $arrayidx8 = 0, $arrayidx83 = 0, $arrayidx86 = 0, $arrayidx93 = 0, $call = 0, $call102 = 0, $call20 = 0, $call23 = 0, $call29 = 0, $call33 = 0, $call39 = 0;
- var $call49 = 0, $call67 = 0, $call85 = 0, $cmp = 0, $cmp108 = 0, $cmp111 = 0, $cmp15 = 0, $cmp3 = 0, $cmp44 = 0, $cmp56 = 0, $cmp61 = 0, $cmp80 = 0, $cmp91 = 0, $cmp97 = 0, $conv = 0, $conv24 = 0, $conv25 = 0, $conv50 = 0, $conv68 = 0, $conv90 = 0;
- var $conv94 = 0, $frame_length = 0, $i = 0, $idxprom = 0, $inc = 0, $inc10 = 0, $inc105 = 0, $inc36 = 0, $inc53 = 0, $inc72 = 0, $inc75 = 0, $inc88 = 0, $j = 0, $mul = 0, $mul101 = 0.0, $mul19 = 0.0, $mul22 = 0.0, $mul28 = 0.0, $mul32 = 0.0, $mul38 = 0.0;
- var $mul43 = 0, $mul48 = 0.0, $mul5 = 0.0, $mul6 = 0, $mul66 = 0.0, $mul84 = 0.0, $nStatesDelayedDecision = 0, $nb_subfr = 0, $nb_subfr14 = 0, $nb_subfr42 = 0, $nb_subfr79 = 0, $or = 0, $pitchL = 0, $pitchL138 = 0, $predictLPCOrder = 0, $psEnc$addr = 0, $psEncCtrl$addr = 0, $psIndices$addr = 0, $psNSQ$addr = 0, $pulses$addr = 0;
- var $shapingLPCOrder = 0, $shl = 0, $signalType = 0, $warping_Q16 = 0, $x$addr = 0, $x_Q3 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 1632|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1632|0);
- $x_Q3 = sp + 80|0;
- $Gains_Q16 = sp + 64|0;
- $PredCoef_Q12 = sp + 1560|0;
- $LTPCoef_Q14 = sp + 1520|0;
- $AR2_Q13 = sp + 1392|0;
- $LF_shp_Q14 = sp + 40|0;
- $Tilt_Q14 = sp + 16|0;
- $HarmShapeGain_Q14 = sp;
- $psEnc$addr = $psEnc;
- $psEncCtrl$addr = $psEncCtrl;
- $psIndices$addr = $psIndices;
- $psNSQ$addr = $psNSQ;
- $pulses$addr = $pulses;
- $x$addr = $x;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $psEnc$addr;
- $nb_subfr = ((($1)) + 4604|0);
- $2 = HEAP32[$nb_subfr>>2]|0;
- $cmp = ($0|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $j = 0;
- while(1) {
- $3 = $j;
- $4 = $psEnc$addr;
- $shapingLPCOrder = ((($4)) + 4660|0);
- $5 = HEAP32[$shapingLPCOrder>>2]|0;
- $cmp3 = ($3|0)<($5|0);
- if (!($cmp3)) {
- break;
- }
- $6 = $psEncCtrl$addr;
- $AR2 = ((($6)) + 500|0);
- $7 = $i;
- $mul = $7<<4;
- $8 = $j;
- $add = (($mul) + ($8))|0;
- $arrayidx = (($AR2) + ($add<<2)|0);
- $9 = +HEAPF32[$arrayidx>>2];
- $mul5 = $9 * 8192.0;
- $call = (_silk_float2int($mul5)|0);
- $conv = $call&65535;
- $10 = $i;
- $mul6 = $10<<4;
- $11 = $j;
- $add7 = (($mul6) + ($11))|0;
- $arrayidx8 = (($AR2_Q13) + ($add7<<1)|0);
- HEAP16[$arrayidx8>>1] = $conv;
- $12 = $j;
- $inc = (($12) + 1)|0;
- $j = $inc;
- }
- $13 = $i;
- $inc10 = (($13) + 1)|0;
- $i = $inc10;
- }
- $i = 0;
- while(1) {
- $14 = $i;
- $15 = $psEnc$addr;
- $nb_subfr14 = ((($15)) + 4604|0);
- $16 = HEAP32[$nb_subfr14>>2]|0;
- $cmp15 = ($14|0)<($16|0);
- $17 = $psEncCtrl$addr;
- if (!($cmp15)) {
- break;
- }
- $LF_AR_shp = ((($17)) + 772|0);
- $18 = $i;
- $arrayidx18 = (($LF_AR_shp) + ($18<<2)|0);
- $19 = +HEAPF32[$arrayidx18>>2];
- $mul19 = $19 * 16384.0;
- $call20 = (_silk_float2int($mul19)|0);
- $shl = $call20 << 16;
- $20 = $psEncCtrl$addr;
- $LF_MA_shp = ((($20)) + 756|0);
- $21 = $i;
- $arrayidx21 = (($LF_MA_shp) + ($21<<2)|0);
- $22 = +HEAPF32[$arrayidx21>>2];
- $mul22 = $22 * 16384.0;
- $call23 = (_silk_float2int($mul22)|0);
- $conv24 = $call23&65535;
- $conv25 = $conv24&65535;
- $or = $shl | $conv25;
- $23 = $i;
- $arrayidx26 = (($LF_shp_Q14) + ($23<<2)|0);
- HEAP32[$arrayidx26>>2] = $or;
- $24 = $psEncCtrl$addr;
- $Tilt = ((($24)) + 820|0);
- $25 = $i;
- $arrayidx27 = (($Tilt) + ($25<<2)|0);
- $26 = +HEAPF32[$arrayidx27>>2];
- $mul28 = $26 * 16384.0;
- $call29 = (_silk_float2int($mul28)|0);
- $27 = $i;
- $arrayidx30 = (($Tilt_Q14) + ($27<<2)|0);
- HEAP32[$arrayidx30>>2] = $call29;
- $28 = $psEncCtrl$addr;
- $HarmShapeGain = ((($28)) + 836|0);
- $29 = $i;
- $arrayidx31 = (($HarmShapeGain) + ($29<<2)|0);
- $30 = +HEAPF32[$arrayidx31>>2];
- $mul32 = $30 * 16384.0;
- $call33 = (_silk_float2int($mul32)|0);
- $31 = $i;
- $arrayidx34 = (($HarmShapeGain_Q14) + ($31<<2)|0);
- HEAP32[$arrayidx34>>2] = $call33;
- $32 = $i;
- $inc36 = (($32) + 1)|0;
- $i = $inc36;
- }
- $Lambda = ((($17)) + 852|0);
- $33 = +HEAPF32[$Lambda>>2];
- $mul38 = $33 * 1024.0;
- $call39 = (_silk_float2int($mul38)|0);
- $Lambda_Q10 = $call39;
- $i = 0;
- while(1) {
- $34 = $i;
- $35 = $psEnc$addr;
- $nb_subfr42 = ((($35)) + 4604|0);
- $36 = HEAP32[$nb_subfr42>>2]|0;
- $mul43 = ($36*5)|0;
- $cmp44 = ($34|0)<($mul43|0);
- if (!($cmp44)) {
- break;
- }
- $37 = $psEncCtrl$addr;
- $LTPCoef = ((($37)) + 144|0);
- $38 = $i;
- $arrayidx47 = (($LTPCoef) + ($38<<2)|0);
- $39 = +HEAPF32[$arrayidx47>>2];
- $mul48 = $39 * 16384.0;
- $call49 = (_silk_float2int($mul48)|0);
- $conv50 = $call49&65535;
- $40 = $i;
- $arrayidx51 = (($LTPCoef_Q14) + ($40<<1)|0);
- HEAP16[$arrayidx51>>1] = $conv50;
- $41 = $i;
- $inc53 = (($41) + 1)|0;
- $i = $inc53;
- }
- $j = 0;
- while(1) {
- $42 = $j;
- $cmp56 = ($42|0)<(2);
- $i = 0;
- if (!($cmp56)) {
- break;
- }
- while(1) {
- $43 = $i;
- $44 = $psEnc$addr;
- $predictLPCOrder = ((($44)) + 4664|0);
- $45 = HEAP32[$predictLPCOrder>>2]|0;
- $cmp61 = ($43|0)<($45|0);
- if (!($cmp61)) {
- break;
- }
- $46 = $psEncCtrl$addr;
- $PredCoef = ((($46)) + 16|0);
- $47 = $j;
- $arrayidx64 = (($PredCoef) + ($47<<6)|0);
- $48 = $i;
- $arrayidx65 = (($arrayidx64) + ($48<<2)|0);
- $49 = +HEAPF32[$arrayidx65>>2];
- $mul66 = $49 * 4096.0;
- $call67 = (_silk_float2int($mul66)|0);
- $conv68 = $call67&65535;
- $50 = $j;
- $arrayidx69 = (($PredCoef_Q12) + ($50<<5)|0);
- $51 = $i;
- $arrayidx70 = (($arrayidx69) + ($51<<1)|0);
- HEAP16[$arrayidx70>>1] = $conv68;
- $52 = $i;
- $inc72 = (($52) + 1)|0;
- $i = $inc72;
- }
- $53 = $j;
- $inc75 = (($53) + 1)|0;
- $j = $inc75;
- }
- while(1) {
- $54 = $i;
- $55 = $psEnc$addr;
- $nb_subfr79 = ((($55)) + 4604|0);
- $56 = HEAP32[$nb_subfr79>>2]|0;
- $cmp80 = ($54|0)<($56|0);
- if (!($cmp80)) {
- break;
- }
- $57 = $psEncCtrl$addr;
- $58 = $i;
- $arrayidx83 = (($57) + ($58<<2)|0);
- $59 = +HEAPF32[$arrayidx83>>2];
- $mul84 = $59 * 65536.0;
- $call85 = (_silk_float2int($mul84)|0);
- $60 = $i;
- $arrayidx86 = (($Gains_Q16) + ($60<<2)|0);
- HEAP32[$arrayidx86>>2] = $call85;
- $61 = $i;
- $inc88 = (($61) + 1)|0;
- $i = $inc88;
- }
- $62 = $psIndices$addr;
- $signalType = ((($62)) + 29|0);
- $63 = HEAP8[$signalType>>0]|0;
- $conv90 = $63 << 24 >> 24;
- $cmp91 = ($conv90|0)==(2);
- if ($cmp91) {
- $64 = $psIndices$addr;
- $LTP_scaleIndex = ((($64)) + 33|0);
- $65 = HEAP8[$LTP_scaleIndex>>0]|0;
- $idxprom = $65 << 24 >> 24;
- $arrayidx93 = (25006 + ($idxprom<<1)|0);
- $66 = HEAP16[$arrayidx93>>1]|0;
- $conv94 = $66 << 16 >> 16;
- $LTP_scale_Q14 = $conv94;
- } else {
- $LTP_scale_Q14 = 0;
- }
- $i = 0;
- while(1) {
- $67 = $i;
- $68 = $psEnc$addr;
- $frame_length = ((($68)) + 4608|0);
- $69 = HEAP32[$frame_length>>2]|0;
- $cmp97 = ($67|0)<($69|0);
- if (!($cmp97)) {
- break;
- }
- $70 = $x$addr;
- $71 = $i;
- $arrayidx100 = (($70) + ($71<<2)|0);
- $72 = +HEAPF32[$arrayidx100>>2];
- $mul101 = 8.0 * $72;
- $call102 = (_silk_float2int($mul101)|0);
- $73 = $i;
- $arrayidx103 = (($x_Q3) + ($73<<2)|0);
- HEAP32[$arrayidx103>>2] = $call102;
- $74 = $i;
- $inc105 = (($74) + 1)|0;
- $i = $inc105;
- }
- $75 = $psEnc$addr;
- $nStatesDelayedDecision = ((($75)) + 4652|0);
- $76 = HEAP32[$nStatesDelayedDecision>>2]|0;
- $cmp108 = ($76|0)>(1);
- if (!($cmp108)) {
- $77 = $psEnc$addr;
- $warping_Q16 = ((($77)) + 4704|0);
- $78 = HEAP32[$warping_Q16>>2]|0;
- $cmp111 = ($78|0)>(0);
- if (!($cmp111)) {
- $86 = $psEnc$addr;
- $87 = $psNSQ$addr;
- $88 = $psIndices$addr;
- $89 = $pulses$addr;
- $90 = $psEncCtrl$addr;
- $pitchL138 = ((($90)) + 228|0);
- $91 = $Lambda_Q10;
- $92 = $LTP_scale_Q14;
- _silk_NSQ_c($86,$87,$88,$x_Q3,$89,$PredCoef_Q12,$LTPCoef_Q14,$AR2_Q13,$HarmShapeGain_Q14,$Tilt_Q14,$LF_shp_Q14,$Gains_Q16,$pitchL138,$91,$92);
- STACKTOP = sp;return;
- }
- }
- $79 = $psEnc$addr;
- $80 = $psNSQ$addr;
- $81 = $psIndices$addr;
- $82 = $pulses$addr;
- $83 = $psEncCtrl$addr;
- $pitchL = ((($83)) + 228|0);
- $84 = $Lambda_Q10;
- $85 = $LTP_scale_Q14;
- _silk_NSQ_del_dec_c($79,$80,$81,$x_Q3,$82,$PredCoef_Q12,$LTPCoef_Q14,$AR2_Q13,$HarmShapeGain_Q14,$Tilt_Q14,$LF_shp_Q14,$Gains_Q16,$pitchL,$84,$85);
- STACKTOP = sp;return;
-}
-function _silk_quant_LTP_gains_FLP($B,$cbk_index,$periodicity_index,$sum_log_gain_Q7,$W,$mu_Q10,$lowComplexity,$nb_subfr,$arch) {
- $B = $B|0;
- $cbk_index = $cbk_index|0;
- $periodicity_index = $periodicity_index|0;
- $sum_log_gain_Q7 = $sum_log_gain_Q7|0;
- $W = $W|0;
- $mu_Q10 = $mu_Q10|0;
- $lowComplexity = $lowComplexity|0;
- $nb_subfr = $nb_subfr|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $3 = 0, $4 = 0.0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $B$addr = 0, $B_Q14 = 0, $W$addr = 0, $W_Q18 = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx2 = 0, $arrayidx22 = 0, $arrayidx25 = 0, $arrayidx9 = 0, $call = 0;
- var $call11 = 0, $cbk_index$addr = 0, $cmp = 0, $cmp19 = 0, $cmp6 = 0, $conv = 0, $conv23 = 0.0, $i = 0, $inc = 0, $inc14 = 0, $inc27 = 0, $lowComplexity$addr = 0, $mu_Q10$addr = 0, $mul = 0, $mul1 = 0.0, $mul10 = 0.0, $mul18 = 0, $mul24 = 0.0, $mul4 = 0, $mul5 = 0;
- var $nb_subfr$addr = 0, $periodicity_index$addr = 0, $sum_log_gain_Q7$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 480|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(480|0);
- $B_Q14 = sp + 440|0;
- $W_Q18 = sp;
- $B$addr = $B;
- $cbk_index$addr = $cbk_index;
- $periodicity_index$addr = $periodicity_index;
- $sum_log_gain_Q7$addr = $sum_log_gain_Q7;
- $W$addr = $W;
- $mu_Q10$addr = $mu_Q10;
- $lowComplexity$addr = $lowComplexity;
- $nb_subfr$addr = $nb_subfr;
- $arch$addr = $arch;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $nb_subfr$addr;
- $mul = ($1*5)|0;
- $cmp = ($0|0)<($mul|0);
- if (!($cmp)) {
- break;
- }
- $2 = $B$addr;
- $3 = $i;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx>>2];
- $mul1 = $4 * 16384.0;
- $call = (_silk_float2int($mul1)|0);
- $conv = $call&65535;
- $5 = $i;
- $arrayidx2 = (($B_Q14) + ($5<<1)|0);
- HEAP16[$arrayidx2>>1] = $conv;
- $6 = $i;
- $inc = (($6) + 1)|0;
- $i = $inc;
- }
- $i = 0;
- while(1) {
- $7 = $i;
- $8 = $nb_subfr$addr;
- $mul4 = ($8*5)|0;
- $mul5 = ($mul4*5)|0;
- $cmp6 = ($7|0)<($mul5|0);
- if (!($cmp6)) {
- break;
- }
- $9 = $W$addr;
- $10 = $i;
- $arrayidx9 = (($9) + ($10<<2)|0);
- $11 = +HEAPF32[$arrayidx9>>2];
- $mul10 = $11 * 262144.0;
- $call11 = (_silk_float2int($mul10)|0);
- $12 = $i;
- $arrayidx12 = (($W_Q18) + ($12<<2)|0);
- HEAP32[$arrayidx12>>2] = $call11;
- $13 = $i;
- $inc14 = (($13) + 1)|0;
- $i = $inc14;
- }
- $14 = $cbk_index$addr;
- $15 = $periodicity_index$addr;
- $16 = $sum_log_gain_Q7$addr;
- $17 = $mu_Q10$addr;
- $18 = $lowComplexity$addr;
- $19 = $nb_subfr$addr;
- $20 = $arch$addr;
- _silk_quant_LTP_gains($B_Q14,$14,$15,$16,$W_Q18,$17,$18,$19,$20);
- $i = 0;
- while(1) {
- $21 = $i;
- $22 = $nb_subfr$addr;
- $mul18 = ($22*5)|0;
- $cmp19 = ($21|0)<($mul18|0);
- if (!($cmp19)) {
- break;
- }
- $23 = $i;
- $arrayidx22 = (($B_Q14) + ($23<<1)|0);
- $24 = HEAP16[$arrayidx22>>1]|0;
- $conv23 = (+($24<<16>>16));
- $mul24 = $conv23 * 6.103515625E-5;
- $25 = $B$addr;
- $26 = $i;
- $arrayidx25 = (($25) + ($26<<2)|0);
- HEAPF32[$arrayidx25>>2] = $mul24;
- $27 = $i;
- $inc27 = (($27) + 1)|0;
- $i = $inc27;
- }
- STACKTOP = sp;return;
-}
-function _silk_autocorrelation_FLP($results,$inputData,$inputDataSize,$correlationCount) {
- $results = $results|0;
- $inputData = $inputData|0;
- $inputDataSize = $inputDataSize|0;
- $correlationCount = $correlationCount|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add$ptr = 0, $arrayidx = 0, $call = 0.0, $cmp = 0, $cmp1 = 0, $conv = 0.0, $correlationCount$addr = 0;
- var $i = 0, $inc = 0, $inputData$addr = 0, $inputDataSize$addr = 0, $results$addr = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $results$addr = $results;
- $inputData$addr = $inputData;
- $inputDataSize$addr = $inputDataSize;
- $correlationCount$addr = $correlationCount;
- $0 = $correlationCount$addr;
- $1 = $inputDataSize$addr;
- $cmp = ($0|0)>($1|0);
- if ($cmp) {
- $2 = $inputDataSize$addr;
- $correlationCount$addr = $2;
- }
- $i = 0;
- while(1) {
- $3 = $i;
- $4 = $correlationCount$addr;
- $cmp1 = ($3|0)<($4|0);
- if (!($cmp1)) {
- break;
- }
- $5 = $inputData$addr;
- $6 = $inputData$addr;
- $7 = $i;
- $add$ptr = (($6) + ($7<<2)|0);
- $8 = $inputDataSize$addr;
- $9 = $i;
- $sub = (($8) - ($9))|0;
- $call = (+_silk_inner_product_FLP($5,$add$ptr,$sub));
- $conv = $call;
- $10 = $results$addr;
- $11 = $i;
- $arrayidx = (($10) + ($11<<2)|0);
- HEAPF32[$arrayidx>>2] = $conv;
- $12 = $i;
- $inc = (($12) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_bwexpander_FLP($ar,$d,$chirp) {
- $ar = $ar|0;
- $d = $d|0;
- $chirp = +$chirp;
- var $0 = 0.0, $1 = 0, $10 = 0, $11 = 0.0, $2 = 0, $3 = 0.0, $4 = 0, $5 = 0, $6 = 0.0, $7 = 0.0, $8 = 0.0, $9 = 0, $ar$addr = 0, $arrayidx = 0, $arrayidx3 = 0, $cfac = 0.0, $chirp$addr = 0.0, $cmp = 0, $d$addr = 0, $i = 0;
- var $inc = 0, $mul = 0.0, $mul1 = 0.0, $mul4 = 0.0, $sub = 0, $sub2 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $ar$addr = $ar;
- $d$addr = $d;
- $chirp$addr = $chirp;
- $0 = $chirp$addr;
- $cfac = $0;
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $d$addr;
- $sub = (($2) - 1)|0;
- $cmp = ($1|0)<($sub|0);
- $3 = $cfac;
- $4 = $ar$addr;
- if (!($cmp)) {
- break;
- }
- $5 = $i;
- $arrayidx = (($4) + ($5<<2)|0);
- $6 = +HEAPF32[$arrayidx>>2];
- $mul = $6 * $3;
- HEAPF32[$arrayidx>>2] = $mul;
- $7 = $chirp$addr;
- $8 = $cfac;
- $mul1 = $8 * $7;
- $cfac = $mul1;
- $9 = $i;
- $inc = (($9) + 1)|0;
- $i = $inc;
- }
- $10 = $d$addr;
- $sub2 = (($10) - 1)|0;
- $arrayidx3 = (($4) + ($sub2<<2)|0);
- $11 = +HEAPF32[$arrayidx3>>2];
- $mul4 = $11 * $3;
- HEAPF32[$arrayidx3>>2] = $mul4;
- STACKTOP = sp;return;
-}
-function _silk_energy_FLP($data,$dataSize) {
- $data = $data|0;
- $dataSize = $dataSize|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0.0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0;
- var $add = 0, $add1 = 0, $add11 = 0.0, $add12 = 0, $add15 = 0, $add19 = 0.0, $add20 = 0, $add23 = 0, $add27 = 0.0, $add28 = 0.0, $add29 = 0, $add39 = 0.0, $add4 = 0, $add7 = 0, $and = 0, $arrayidx = 0, $arrayidx13 = 0, $arrayidx16 = 0, $arrayidx2 = 0, $arrayidx21 = 0;
- var $arrayidx24 = 0, $arrayidx34 = 0, $arrayidx36 = 0, $arrayidx5 = 0, $arrayidx8 = 0, $cmp = 0, $cmp31 = 0, $conv = 0.0, $conv14 = 0.0, $conv17 = 0.0, $conv22 = 0.0, $conv25 = 0.0, $conv3 = 0.0, $conv35 = 0.0, $conv37 = 0.0, $conv6 = 0.0, $conv9 = 0.0, $data$addr = 0, $dataSize$addr = 0, $dataSize4 = 0;
- var $i = 0, $inc = 0, $mul = 0.0, $mul10 = 0.0, $mul18 = 0.0, $mul26 = 0.0, $mul38 = 0.0, $result = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $data$addr = $data;
- $dataSize$addr = $dataSize;
- $result = 0.0;
- $0 = $dataSize$addr;
- $and = $0 & 65532;
- $dataSize4 = $and;
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $dataSize4;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $data$addr;
- $4 = $i;
- $add = (($4) + 0)|0;
- $arrayidx = (($3) + ($add<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $conv = $5;
- $6 = $data$addr;
- $7 = $i;
- $add1 = (($7) + 0)|0;
- $arrayidx2 = (($6) + ($add1<<2)|0);
- $8 = +HEAPF32[$arrayidx2>>2];
- $conv3 = $8;
- $mul = $conv * $conv3;
- $9 = $data$addr;
- $10 = $i;
- $add4 = (($10) + 1)|0;
- $arrayidx5 = (($9) + ($add4<<2)|0);
- $11 = +HEAPF32[$arrayidx5>>2];
- $conv6 = $11;
- $12 = $data$addr;
- $13 = $i;
- $add7 = (($13) + 1)|0;
- $arrayidx8 = (($12) + ($add7<<2)|0);
- $14 = +HEAPF32[$arrayidx8>>2];
- $conv9 = $14;
- $mul10 = $conv6 * $conv9;
- $add11 = $mul + $mul10;
- $15 = $data$addr;
- $16 = $i;
- $add12 = (($16) + 2)|0;
- $arrayidx13 = (($15) + ($add12<<2)|0);
- $17 = +HEAPF32[$arrayidx13>>2];
- $conv14 = $17;
- $18 = $data$addr;
- $19 = $i;
- $add15 = (($19) + 2)|0;
- $arrayidx16 = (($18) + ($add15<<2)|0);
- $20 = +HEAPF32[$arrayidx16>>2];
- $conv17 = $20;
- $mul18 = $conv14 * $conv17;
- $add19 = $add11 + $mul18;
- $21 = $data$addr;
- $22 = $i;
- $add20 = (($22) + 3)|0;
- $arrayidx21 = (($21) + ($add20<<2)|0);
- $23 = +HEAPF32[$arrayidx21>>2];
- $conv22 = $23;
- $24 = $data$addr;
- $25 = $i;
- $add23 = (($25) + 3)|0;
- $arrayidx24 = (($24) + ($add23<<2)|0);
- $26 = +HEAPF32[$arrayidx24>>2];
- $conv25 = $26;
- $mul26 = $conv22 * $conv25;
- $add27 = $add19 + $mul26;
- $27 = $result;
- $add28 = $27 + $add27;
- $result = $add28;
- $28 = $i;
- $add29 = (($28) + 4)|0;
- $i = $add29;
- }
- while(1) {
- $29 = $i;
- $30 = $dataSize$addr;
- $cmp31 = ($29|0)<($30|0);
- if (!($cmp31)) {
- break;
- }
- $31 = $data$addr;
- $32 = $i;
- $arrayidx34 = (($31) + ($32<<2)|0);
- $33 = +HEAPF32[$arrayidx34>>2];
- $conv35 = $33;
- $34 = $data$addr;
- $35 = $i;
- $arrayidx36 = (($34) + ($35<<2)|0);
- $36 = +HEAPF32[$arrayidx36>>2];
- $conv37 = $36;
- $mul38 = $conv35 * $conv37;
- $37 = $result;
- $add39 = $37 + $mul38;
- $result = $add39;
- $38 = $i;
- $inc = (($38) + 1)|0;
- $i = $inc;
- }
- $39 = $result;
- STACKTOP = sp;return (+$39);
-}
-function _silk_inner_product_FLP($data1,$data2,$dataSize) {
- $data1 = $data1|0;
- $data2 = $data2|0;
- $dataSize = $dataSize|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0.0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0;
- var $add = 0, $add1 = 0, $add11 = 0.0, $add12 = 0, $add15 = 0, $add19 = 0.0, $add20 = 0, $add23 = 0, $add27 = 0.0, $add28 = 0.0, $add29 = 0, $add39 = 0.0, $add4 = 0, $add7 = 0, $and = 0, $arrayidx = 0, $arrayidx13 = 0, $arrayidx16 = 0, $arrayidx2 = 0, $arrayidx21 = 0;
- var $arrayidx24 = 0, $arrayidx34 = 0, $arrayidx36 = 0, $arrayidx5 = 0, $arrayidx8 = 0, $cmp = 0, $cmp31 = 0, $conv = 0.0, $conv14 = 0.0, $conv17 = 0.0, $conv22 = 0.0, $conv25 = 0.0, $conv3 = 0.0, $conv35 = 0.0, $conv37 = 0.0, $conv6 = 0.0, $conv9 = 0.0, $data1$addr = 0, $data2$addr = 0, $dataSize$addr = 0;
- var $dataSize4 = 0, $i = 0, $inc = 0, $mul = 0.0, $mul10 = 0.0, $mul18 = 0.0, $mul26 = 0.0, $mul38 = 0.0, $result = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $data1$addr = $data1;
- $data2$addr = $data2;
- $dataSize$addr = $dataSize;
- $result = 0.0;
- $0 = $dataSize$addr;
- $and = $0 & 65532;
- $dataSize4 = $and;
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $dataSize4;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $data1$addr;
- $4 = $i;
- $add = (($4) + 0)|0;
- $arrayidx = (($3) + ($add<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $conv = $5;
- $6 = $data2$addr;
- $7 = $i;
- $add1 = (($7) + 0)|0;
- $arrayidx2 = (($6) + ($add1<<2)|0);
- $8 = +HEAPF32[$arrayidx2>>2];
- $conv3 = $8;
- $mul = $conv * $conv3;
- $9 = $data1$addr;
- $10 = $i;
- $add4 = (($10) + 1)|0;
- $arrayidx5 = (($9) + ($add4<<2)|0);
- $11 = +HEAPF32[$arrayidx5>>2];
- $conv6 = $11;
- $12 = $data2$addr;
- $13 = $i;
- $add7 = (($13) + 1)|0;
- $arrayidx8 = (($12) + ($add7<<2)|0);
- $14 = +HEAPF32[$arrayidx8>>2];
- $conv9 = $14;
- $mul10 = $conv6 * $conv9;
- $add11 = $mul + $mul10;
- $15 = $data1$addr;
- $16 = $i;
- $add12 = (($16) + 2)|0;
- $arrayidx13 = (($15) + ($add12<<2)|0);
- $17 = +HEAPF32[$arrayidx13>>2];
- $conv14 = $17;
- $18 = $data2$addr;
- $19 = $i;
- $add15 = (($19) + 2)|0;
- $arrayidx16 = (($18) + ($add15<<2)|0);
- $20 = +HEAPF32[$arrayidx16>>2];
- $conv17 = $20;
- $mul18 = $conv14 * $conv17;
- $add19 = $add11 + $mul18;
- $21 = $data1$addr;
- $22 = $i;
- $add20 = (($22) + 3)|0;
- $arrayidx21 = (($21) + ($add20<<2)|0);
- $23 = +HEAPF32[$arrayidx21>>2];
- $conv22 = $23;
- $24 = $data2$addr;
- $25 = $i;
- $add23 = (($25) + 3)|0;
- $arrayidx24 = (($24) + ($add23<<2)|0);
- $26 = +HEAPF32[$arrayidx24>>2];
- $conv25 = $26;
- $mul26 = $conv22 * $conv25;
- $add27 = $add19 + $mul26;
- $27 = $result;
- $add28 = $27 + $add27;
- $result = $add28;
- $28 = $i;
- $add29 = (($28) + 4)|0;
- $i = $add29;
- }
- while(1) {
- $29 = $i;
- $30 = $dataSize$addr;
- $cmp31 = ($29|0)<($30|0);
- if (!($cmp31)) {
- break;
- }
- $31 = $data1$addr;
- $32 = $i;
- $arrayidx34 = (($31) + ($32<<2)|0);
- $33 = +HEAPF32[$arrayidx34>>2];
- $conv35 = $33;
- $34 = $data2$addr;
- $35 = $i;
- $arrayidx36 = (($34) + ($35<<2)|0);
- $36 = +HEAPF32[$arrayidx36>>2];
- $conv37 = $36;
- $mul38 = $conv35 * $conv37;
- $37 = $result;
- $add39 = $37 + $mul38;
- $result = $add39;
- $38 = $i;
- $inc = (($38) + 1)|0;
- $i = $inc;
- }
- $39 = $result;
- STACKTOP = sp;return (+$39);
-}
-function _silk_k2a_FLP($A,$rc,$order) {
- $A = $A|0;
- $rc = $rc|0;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0;
- var $3 = 0, $4 = 0, $5 = 0, $6 = 0.0, $7 = 0, $8 = 0, $9 = 0, $A$addr = 0, $Atmp = 0, $add = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx15 = 0, $arrayidx17 = 0, $arrayidx4 = 0, $arrayidx9 = 0, $cmp = 0, $cmp2 = 0, $cmp6 = 0;
- var $inc = 0, $inc13 = 0, $inc19 = 0, $k = 0, $mul = 0.0, $n = 0, $order$addr = 0, $rc$addr = 0, $sub = 0, $sub16 = 0.0, $sub8 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $Atmp = sp;
- $A$addr = $A;
- $rc$addr = $rc;
- $order$addr = $order;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $order$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $n = 0;
- while(1) {
- $2 = $n;
- $3 = $k;
- $cmp2 = ($2|0)<($3|0);
- if (!($cmp2)) {
- break;
- }
- $4 = $A$addr;
- $5 = $n;
- $arrayidx = (($4) + ($5<<2)|0);
- $6 = +HEAPF32[$arrayidx>>2];
- $7 = $n;
- $arrayidx4 = (($Atmp) + ($7<<2)|0);
- HEAPF32[$arrayidx4>>2] = $6;
- $8 = $n;
- $inc = (($8) + 1)|0;
- $n = $inc;
- }
- $n = 0;
- while(1) {
- $9 = $n;
- $10 = $k;
- $cmp6 = ($9|0)<($10|0);
- if (!($cmp6)) {
- break;
- }
- $11 = $k;
- $12 = $n;
- $sub = (($11) - ($12))|0;
- $sub8 = (($sub) - 1)|0;
- $arrayidx9 = (($Atmp) + ($sub8<<2)|0);
- $13 = +HEAPF32[$arrayidx9>>2];
- $14 = $rc$addr;
- $15 = $k;
- $arrayidx10 = (($14) + ($15<<2)|0);
- $16 = +HEAPF32[$arrayidx10>>2];
- $mul = $13 * $16;
- $17 = $A$addr;
- $18 = $n;
- $arrayidx11 = (($17) + ($18<<2)|0);
- $19 = +HEAPF32[$arrayidx11>>2];
- $add = $19 + $mul;
- HEAPF32[$arrayidx11>>2] = $add;
- $20 = $n;
- $inc13 = (($20) + 1)|0;
- $n = $inc13;
- }
- $21 = $rc$addr;
- $22 = $k;
- $arrayidx15 = (($21) + ($22<<2)|0);
- $23 = +HEAPF32[$arrayidx15>>2];
- $sub16 = - $23;
- $24 = $A$addr;
- $25 = $k;
- $arrayidx17 = (($24) + ($25<<2)|0);
- HEAPF32[$arrayidx17>>2] = $sub16;
- $26 = $k;
- $inc19 = (($26) + 1)|0;
- $k = $inc19;
- }
- STACKTOP = sp;return;
-}
-function _silk_levinsondurbin_FLP($A,$corr,$order) {
- $A = $A|0;
- $corr = $corr|0;
- $order = $order|0;
- var $0 = 0, $1 = 0.0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0;
- var $45 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0.0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0.0, $60 = 0, $61 = 0.0, $62 = 0.0;
- var $63 = 0.0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0.0, $70 = 0, $71 = 0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0.0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0.0;
- var $9 = 0.0, $A$addr = 0, $Atmp1 = 0.0, $Atmp2 = 0.0, $add = 0.0, $add13 = 0, $and = 0, $arrayidx14 = 0, $arrayidx18 = 0, $arrayidx2 = 0, $arrayidx20 = 0, $arrayidx34 = 0, $arrayidx37 = 0, $arrayidx41 = 0, $arrayidx44 = 0, $arrayidx49 = 0, $arrayidx5 = 0, $arrayidx51 = 0, $arrayidx53 = 0, $cmp = 0;
- var $cmp12 = 0, $cmp16 = 0, $cmp26 = 0, $cmp32 = 0, $cmp7 = 0, $cond = 0.0, $cond11 = 0.0, $cond30 = 0.0, $corr$addr = 0, $div = 0.0, $div23 = 0.0, $i = 0, $inc = 0, $inc47 = 0, $inc55 = 0, $km = 0.0, $m = 0, $mHalf = 0, $min_nrg = 0.0, $mul = 0.0;
- var $mul21 = 0.0, $mul24 = 0.0, $mul38 = 0.0, $mul43 = 0.0, $mul50 = 0.0, $mul6 = 0.0, $nrg = 0.0, $order$addr = 0, $shr = 0, $sub = 0.0, $sub19 = 0, $sub22 = 0.0, $sub25 = 0.0, $sub35 = 0, $sub36 = 0, $sub39 = 0, $sub40 = 0, $sub42 = 0.0, $sub45 = 0.0, $sub52 = 0.0;
- var $t = 0.0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $A$addr = $A;
- $corr$addr = $corr;
- $order$addr = $order;
- $0 = $corr$addr;
- $1 = +HEAPF32[$0>>2];
- $mul = 9.999999960041972E-13 * $1;
- $add = $mul + 9.9999997171806853E-10;
- $min_nrg = $add;
- $2 = $corr$addr;
- $3 = +HEAPF32[$2>>2];
- $nrg = $3;
- $4 = $min_nrg;
- $5 = $nrg;
- $cmp = $4 > $5;
- $6 = $min_nrg;
- $7 = $nrg;
- $cond = $cmp ? $6 : $7;
- $nrg = $cond;
- $8 = $corr$addr;
- $arrayidx2 = ((($8)) + 4|0);
- $9 = +HEAPF32[$arrayidx2>>2];
- $10 = $nrg;
- $div = $9 / $10;
- $11 = $A$addr;
- HEAPF32[$11>>2] = $div;
- $12 = $A$addr;
- $13 = +HEAPF32[$12>>2];
- $14 = $corr$addr;
- $arrayidx5 = ((($14)) + 4|0);
- $15 = +HEAPF32[$arrayidx5>>2];
- $mul6 = $13 * $15;
- $16 = $nrg;
- $sub = $16 - $mul6;
- $nrg = $sub;
- $17 = $min_nrg;
- $18 = $nrg;
- $cmp7 = $17 > $18;
- $19 = $min_nrg;
- $20 = $nrg;
- $cond11 = $cmp7 ? $19 : $20;
- $nrg = $cond11;
- $m = 1;
- while(1) {
- $21 = $m;
- $22 = $order$addr;
- $cmp12 = ($21|0)<($22|0);
- if (!($cmp12)) {
- break;
- }
- $23 = $corr$addr;
- $24 = $m;
- $add13 = (($24) + 1)|0;
- $arrayidx14 = (($23) + ($add13<<2)|0);
- $25 = +HEAPF32[$arrayidx14>>2];
- $t = $25;
- $i = 0;
- while(1) {
- $26 = $i;
- $27 = $m;
- $cmp16 = ($26|0)<($27|0);
- if (!($cmp16)) {
- break;
- }
- $28 = $A$addr;
- $29 = $i;
- $arrayidx18 = (($28) + ($29<<2)|0);
- $30 = +HEAPF32[$arrayidx18>>2];
- $31 = $corr$addr;
- $32 = $m;
- $33 = $i;
- $sub19 = (($32) - ($33))|0;
- $arrayidx20 = (($31) + ($sub19<<2)|0);
- $34 = +HEAPF32[$arrayidx20>>2];
- $mul21 = $30 * $34;
- $35 = $t;
- $sub22 = $35 - $mul21;
- $t = $sub22;
- $36 = $i;
- $inc = (($36) + 1)|0;
- $i = $inc;
- }
- $37 = $t;
- $38 = $nrg;
- $div23 = $37 / $38;
- $km = $div23;
- $39 = $km;
- $40 = $t;
- $mul24 = $39 * $40;
- $41 = $nrg;
- $sub25 = $41 - $mul24;
- $nrg = $sub25;
- $42 = $min_nrg;
- $43 = $nrg;
- $cmp26 = $42 > $43;
- $44 = $min_nrg;
- $45 = $nrg;
- $cond30 = $cmp26 ? $44 : $45;
- $nrg = $cond30;
- $46 = $m;
- $shr = $46 >> 1;
- $mHalf = $shr;
- $i = 0;
- while(1) {
- $47 = $i;
- $48 = $mHalf;
- $cmp32 = ($47|0)<($48|0);
- if (!($cmp32)) {
- break;
- }
- $49 = $A$addr;
- $50 = $i;
- $arrayidx34 = (($49) + ($50<<2)|0);
- $51 = +HEAPF32[$arrayidx34>>2];
- $Atmp1 = $51;
- $52 = $A$addr;
- $53 = $m;
- $54 = $i;
- $sub35 = (($53) - ($54))|0;
- $sub36 = (($sub35) - 1)|0;
- $arrayidx37 = (($52) + ($sub36<<2)|0);
- $55 = +HEAPF32[$arrayidx37>>2];
- $Atmp2 = $55;
- $56 = $km;
- $57 = $Atmp1;
- $mul38 = $56 * $57;
- $58 = $A$addr;
- $59 = $m;
- $60 = $i;
- $sub39 = (($59) - ($60))|0;
- $sub40 = (($sub39) - 1)|0;
- $arrayidx41 = (($58) + ($sub40<<2)|0);
- $61 = +HEAPF32[$arrayidx41>>2];
- $sub42 = $61 - $mul38;
- HEAPF32[$arrayidx41>>2] = $sub42;
- $62 = $km;
- $63 = $Atmp2;
- $mul43 = $62 * $63;
- $64 = $A$addr;
- $65 = $i;
- $arrayidx44 = (($64) + ($65<<2)|0);
- $66 = +HEAPF32[$arrayidx44>>2];
- $sub45 = $66 - $mul43;
- HEAPF32[$arrayidx44>>2] = $sub45;
- $67 = $i;
- $inc47 = (($67) + 1)|0;
- $i = $inc47;
- }
- $68 = $m;
- $and = $68 & 1;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $69 = $km;
- $70 = $A$addr;
- $71 = $mHalf;
- $arrayidx49 = (($70) + ($71<<2)|0);
- $72 = +HEAPF32[$arrayidx49>>2];
- $mul50 = $69 * $72;
- $73 = $A$addr;
- $74 = $mHalf;
- $arrayidx51 = (($73) + ($74<<2)|0);
- $75 = +HEAPF32[$arrayidx51>>2];
- $sub52 = $75 - $mul50;
- HEAPF32[$arrayidx51>>2] = $sub52;
- }
- $76 = $km;
- $77 = $A$addr;
- $78 = $m;
- $arrayidx53 = (($77) + ($78<<2)|0);
- HEAPF32[$arrayidx53>>2] = $76;
- $79 = $m;
- $inc55 = (($79) + 1)|0;
- $m = $inc55;
- }
- $80 = $nrg;
- STACKTOP = sp;return (+$80);
-}
-function _silk_LPC_inverse_pred_gain_FLP($A,$order) {
- $A = $A|0;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $5 = 0, $6 = 0, $7 = 0;
- var $8 = 0.0, $9 = 0.0, $A$addr = 0, $Anew = 0, $Aold = 0, $Atmp = 0, $and = 0, $and10 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx11 = 0, $arrayidx17 = 0, $arrayidx21 = 0, $arrayidx27 = 0, $cmp = 0, $cmp14 = 0, $cmp3 = 0, $cmp33 = 0, $cmp36 = 0, $cmp5 = 0;
- var $conv = 0.0, $conv18 = 0.0, $conv22 = 0.0, $conv26 = 0.0, $conv32 = 0.0, $conv43 = 0.0, $dec = 0, $div = 0.0, $inc = 0, $invGain = 0.0, $k = 0, $mul = 0, $mul23 = 0.0, $mul25 = 0.0, $mul40 = 0.0, $mul42 = 0.0, $mul7 = 0.0, $mul9 = 0.0, $n = 0, $or$cond = 0;
- var $or$cond1 = 0, $order$addr = 0, $rc = 0.0, $rc_mult1 = 0.0, $rc_mult2 = 0.0, $retval = 0.0, $sub = 0, $sub19 = 0, $sub2 = 0.0, $sub20 = 0, $sub24 = 0.0, $sub31 = 0.0, $sub41 = 0.0, $sub8 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
- $Atmp = sp + 40|0;
- $A$addr = $A;
- $order$addr = $order;
- $0 = $order$addr;
- $and = $0 & 1;
- $arrayidx = (($Atmp) + ($and<<6)|0);
- $Anew = $arrayidx;
- $1 = $Anew;
- $2 = $A$addr;
- $3 = $order$addr;
- $mul = $3<<2;
- _memcpy(($1|0),($2|0),($mul|0))|0;
- $invGain = 1.0;
- $4 = $order$addr;
- $sub = (($4) - 1)|0;
- $k = $sub;
- while(1) {
- $5 = $k;
- $cmp = ($5|0)>(0);
- $6 = $Anew;
- if (!($cmp)) {
- break;
- }
- $7 = $k;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $sub2 = - $8;
- $conv = $sub2;
- $rc = $conv;
- $9 = $rc;
- $cmp3 = $9 > 0.99989998340606689;
- $10 = $rc;
- $cmp5 = $10 < -0.99989998340606689;
- $or$cond = $cmp3 | $cmp5;
- if ($or$cond) {
- label = 4;
- break;
- }
- $11 = $rc;
- $12 = $rc;
- $mul7 = $11 * $12;
- $sub8 = 1.0 - $mul7;
- $rc_mult1 = $sub8;
- $13 = $rc_mult1;
- $div = 1.0 / $13;
- $rc_mult2 = $div;
- $14 = $rc_mult1;
- $15 = $invGain;
- $mul9 = $15 * $14;
- $invGain = $mul9;
- $16 = $Anew;
- $Aold = $16;
- $17 = $k;
- $and10 = $17 & 1;
- $arrayidx11 = (($Atmp) + ($and10<<6)|0);
- $Anew = $arrayidx11;
- $n = 0;
- while(1) {
- $18 = $n;
- $19 = $k;
- $cmp14 = ($18|0)<($19|0);
- if (!($cmp14)) {
- break;
- }
- $20 = $Aold;
- $21 = $n;
- $arrayidx17 = (($20) + ($21<<2)|0);
- $22 = +HEAPF32[$arrayidx17>>2];
- $conv18 = $22;
- $23 = $Aold;
- $24 = $k;
- $25 = $n;
- $sub19 = (($24) - ($25))|0;
- $sub20 = (($sub19) - 1)|0;
- $arrayidx21 = (($23) + ($sub20<<2)|0);
- $26 = +HEAPF32[$arrayidx21>>2];
- $conv22 = $26;
- $27 = $rc;
- $mul23 = $conv22 * $27;
- $sub24 = $conv18 - $mul23;
- $28 = $rc_mult2;
- $mul25 = $sub24 * $28;
- $conv26 = $mul25;
- $29 = $Anew;
- $30 = $n;
- $arrayidx27 = (($29) + ($30<<2)|0);
- HEAPF32[$arrayidx27>>2] = $conv26;
- $31 = $n;
- $inc = (($31) + 1)|0;
- $n = $inc;
- }
- $32 = $k;
- $dec = (($32) + -1)|0;
- $k = $dec;
- }
- if ((label|0) == 4) {
- $retval = 0.0;
- $41 = $retval;
- STACKTOP = sp;return (+$41);
- }
- $33 = +HEAPF32[$6>>2];
- $sub31 = - $33;
- $conv32 = $sub31;
- $rc = $conv32;
- $34 = $rc;
- $cmp33 = $34 > 0.99989998340606689;
- $35 = $rc;
- $cmp36 = $35 < -0.99989998340606689;
- $or$cond1 = $cmp33 | $cmp36;
- if ($or$cond1) {
- $retval = 0.0;
- $41 = $retval;
- STACKTOP = sp;return (+$41);
- } else {
- $36 = $rc;
- $37 = $rc;
- $mul40 = $36 * $37;
- $sub41 = 1.0 - $mul40;
- $rc_mult1 = $sub41;
- $38 = $rc_mult1;
- $39 = $invGain;
- $mul42 = $39 * $38;
- $invGain = $mul42;
- $40 = $invGain;
- $conv43 = $40;
- $retval = $conv43;
- $41 = $retval;
- STACKTOP = sp;return (+$41);
- }
- return +(0.0);
-}
-function _silk_pitch_analysis_core_FLP($frame,$pitch_out,$lagIndex,$contourIndex,$LTPCorr,$prevLag,$search_thres1,$search_thres2,$Fs_kHz,$complexity,$nb_subfr,$arch) {
- $frame = $frame|0;
- $pitch_out = $pitch_out|0;
- $lagIndex = $lagIndex|0;
- $contourIndex = $contourIndex|0;
- $LTPCorr = $LTPCorr|0;
- $prevLag = $prevLag|0;
- $search_thres1 = +$search_thres1;
- $search_thres2 = +$search_thres2;
- $Fs_kHz = $Fs_kHz|0;
- $complexity = $complexity|0;
- $nb_subfr = $nb_subfr|0;
- $arch = $arch|0;
- var $$sink = 0.0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0;
- var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
- var $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0;
- var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0;
- var $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0, $181 = 0, $182 = 0.0, $183 = 0.0, $184 = 0.0, $185 = 0, $186 = 0, $187 = 0;
- var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0;
- var $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0.0, $219 = 0, $22 = 0, $220 = 0.0, $221 = 0, $222 = 0;
- var $223 = 0, $224 = 0, $225 = 0, $226 = 0.0, $227 = 0.0, $228 = 0, $229 = 0.0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0.0, $234 = 0, $235 = 0.0, $236 = 0, $237 = 0.0, $238 = 0.0, $239 = 0.0, $24 = 0.0, $240 = 0.0;
- var $241 = 0, $242 = 0, $243 = 0.0, $244 = 0.0, $245 = 0.0, $246 = 0.0, $247 = 0.0, $248 = 0.0, $249 = 0.0, $25 = 0, $250 = 0, $251 = 0.0, $252 = 0.0, $253 = 0.0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0;
- var $26 = 0.0, $260 = 0, $261 = 0, $262 = 0.0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0;
- var $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0;
- var $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0;
- var $313 = 0, $314 = 0.0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0.0, $321 = 0.0, $322 = 0, $323 = 0, $324 = 0, $325 = 0.0, $326 = 0.0, $327 = 0, $328 = 0.0, $329 = 0.0, $33 = 0, $330 = 0.0;
- var $331 = 0.0, $332 = 0, $333 = 0.0, $334 = 0.0, $335 = 0.0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0.0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0;
- var $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0;
- var $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0;
- var $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0;
- var $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0;
- var $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
- var $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0.0, $62 = 0, $63 = 0.0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0.0;
- var $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0;
- var $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $C = 0, $CBimax = 0, $CBimax_new = 0, $CC = 0, $CCmax = 0.0, $CCmax_b = 0.0, $CCmax_new = 0.0, $CCmax_new_b = 0.0, $Cmax = 0.0, $Fs_kHz$addr = 0, $LTPCorr$addr = 0, $Lag_CB_ptr = 0, $add = 0;
- var $add$ptr = 0, $add$ptr263 = 0, $add$ptr282 = 0, $add$ptr335 = 0, $add$ptr48 = 0, $add$ptr521 = 0, $add$ptr580 = 0, $add$ptr93 = 0, $add113 = 0, $add118 = 0, $add132 = 0, $add138 = 0, $add148 = 0, $add165 = 0, $add176 = 0, $add179 = 0, $add185 = 0, $add189 = 0, $add201 = 0, $add212 = 0;
- var $add216 = 0, $add219 = 0, $add225 = 0, $add255 = 0.0, $add270 = 0.0, $add3 = 0, $add334 = 0, $add337 = 0, $add340 = 0.0, $add376 = 0.0, $add39 = 0.0, $add411 = 0, $add443 = 0, $add460 = 0.0, $add477 = 0.0, $add482 = 0.0, $add503 = 0, $add51 = 0, $add520 = 0, $add523 = 0;
- var $add55 = 0.0, $add579 = 0, $add582 = 0, $add59 = 0.0, $add6 = 0, $add64 = 0.0, $add65 = 0, $add84 = 0.0, $add90 = 0.0, $and = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx102 = 0, $arrayidx107 = 0, $arrayidx115 = 0, $arrayidx120 = 0, $arrayidx133 = 0, $arrayidx137 = 0, $arrayidx140 = 0, $arrayidx152 = 0;
- var $arrayidx160 = 0, $arrayidx161 = 0, $arrayidx171 = 0, $arrayidx174 = 0, $arrayidx177 = 0, $arrayidx190 = 0, $arrayidx195 = 0, $arrayidx207 = 0, $arrayidx210 = 0, $arrayidx214 = 0, $arrayidx217 = 0, $arrayidx229 = 0, $arrayidx236 = 0, $arrayidx246 = 0, $arrayidx248 = 0, $arrayidx260 = 0, $arrayidx273 = 0, $arrayidx274 = 0, $arrayidx276 = 0, $arrayidx277 = 0;
- var $arrayidx277$sink = 0, $arrayidx322 = 0, $arrayidx327 = 0, $arrayidx332 = 0, $arrayidx338 = 0, $arrayidx339 = 0, $arrayidx351 = 0, $arrayidx355 = 0, $arrayidx38 = 0, $arrayidx43 = 0, $arrayidx452 = 0, $arrayidx457 = 0, $arrayidx473 = 0, $arrayidx474 = 0, $arrayidx475 = 0, $arrayidx478 = 0, $arrayidx479 = 0, $arrayidx480 = 0, $arrayidx501 = 0, $arrayidx524 = 0;
- var $arrayidx529 = 0, $arrayidx53 = 0, $arrayidx534 = 0, $arrayidx541 = 0, $arrayidx554 = 0, $arrayidx559 = 0, $arrayidx566 = 0, $arrayidx583 = 0, $arrayidx587 = 0, $arrayidx592 = 0, $arrayidx597 = 0, $arrayidx608 = 0, $arrayidx613 = 0, $arrayidx620 = 0, $arrayidx63 = 0, $arrayidx71 = 0, $arrayidx78 = 0, $arrayidx80 = 0, $arrayidx89 = 0, $basis_ptr = 0;
- var $call = 0.0, $call254 = 0.0, $call264 = 0.0, $call268 = 0.0, $call303 = 0.0, $call362 = 0.0, $call442 = 0, $call444 = 0, $call459 = 0.0, $call54 = 0.0, $cbk_size = 0, $cmp = 0, $cmp121 = 0, $cmp128 = 0, $cmp134 = 0, $cmp149 = 0, $cmp157 = 0, $cmp167 = 0, $cmp17 = 0, $cmp186 = 0;
- var $cmp192 = 0, $cmp203 = 0, $cmp226 = 0, $cmp231 = 0, $cmp243 = 0, $cmp251 = 0, $cmp257 = 0, $cmp265 = 0, $cmp286 = 0, $cmp289 = 0, $cmp295 = 0, $cmp306 = 0, $cmp309 = 0, $cmp311 = 0, $cmp319 = 0, $cmp324 = 0, $cmp329 = 0, $cmp348 = 0, $cmp352 = 0, $cmp36 = 0;
- var $cmp367 = 0, $cmp380 = 0, $cmp385 = 0, $cmp392 = 0, $cmp398 = 0, $cmp401 = 0, $cmp415 = 0, $cmp417 = 0, $cmp420 = 0, $cmp427 = 0, $cmp431 = 0, $cmp449 = 0, $cmp45 = 0, $cmp462 = 0, $cmp466 = 0, $cmp470 = 0, $cmp486 = 0, $cmp498 = 0, $cmp504 = 0, $cmp516 = 0;
- var $cmp526 = 0, $cmp530 = 0, $cmp536 = 0, $cmp549 = 0, $cmp555 = 0, $cmp575 = 0, $cmp584 = 0, $cmp588 = 0, $cmp593 = 0, $cmp604 = 0, $cmp609 = 0, $cmp67 = 0, $cmp98 = 0, $complexity$addr = 0, $cond = 0, $cond436 = 0, $cond440 = 0, $cond565 = 0, $cond619 = 0, $contourIndex$addr = 0;
- var $contour_bias = 0.0, $conv = 0.0, $conv103 = 0.0, $conv172 = 0, $conv175 = 0, $conv178 = 0, $conv180 = 0, $conv191 = 0, $conv208 = 0, $conv211 = 0, $conv215 = 0, $conv218 = 0, $conv220 = 0, $conv230 = 0, $conv235 = 0, $conv261 = 0, $conv272 = 0.0, $conv301 = 0.0, $conv302 = 0.0, $conv336 = 0;
- var $conv360 = 0.0, $conv361 = 0.0, $conv363 = 0.0, $conv372 = 0.0, $conv383 = 0.0, $conv396 = 0.0, $conv404 = 0, $conv405 = 0, $conv408 = 0, $conv409 = 0, $conv447 = 0.0, $conv453 = 0, $conv476 = 0.0, $conv481 = 0.0, $conv491 = 0.0, $conv492 = 0.0, $conv502 = 0, $conv522 = 0, $conv56 = 0.0, $conv571 = 0;
- var $conv572 = 0, $conv58 = 0.0, $conv581 = 0, $conv61 = 0.0, $conv625 = 0, $conv626 = 0, $conv72 = 0.0, $conv74 = 0.0, $conv76 = 0.0, $conv79 = 0.0, $conv81 = 0.0, $conv87 = 0.0, $cross_corr = 0.0, $cross_corr_st3 = 0, $d = 0, $d_comp = 0, $d_srch = 0, $dec = 0, $dec110 = 0, $dec182 = 0;
- var $dec222 = 0, $delta_lag_log2_sqr = 0.0, $div = 0.0, $div105 = 0.0, $div271 = 0.0, $div293 = 0, $div377 = 0.0, $div397 = 0.0, $div448 = 0.0, $div490 = 0.0, $div86 = 0.0, $end_lag = 0, $energies_st3 = 0, $energy = 0.0, $energy_tmp = 0.0, $filt_state = 0, $frame$addr = 0, $frame_12_FIX = 0, $frame_16_FIX = 0, $frame_4_FIX = 0;
- var $frame_4kHz = 0, $frame_8_FIX = 0, $frame_8kHz = 0, $frame_length = 0, $frame_length_4kHz = 0, $frame_length_8kHz = 0, $i = 0, $idx$neg = 0, $idx$neg262 = 0, $idx$neg47 = 0, $inc = 0, $inc144 = 0, $inc154 = 0, $inc163 = 0, $inc196 = 0, $inc199 = 0, $inc237 = 0, $inc240 = 0, $inc280 = 0, $inc284 = 0;
- var $inc342 = 0, $inc345 = 0, $inc358 = 0, $inc390 = 0, $inc484 = 0, $inc509 = 0, $inc511 = 0, $inc513 = 0, $inc568 = 0, $inc622 = 0, $inc95 = 0, $incdec$ptr = 0, $j = 0, $k = 0, $lag = 0, $lagIndex$addr = 0, $lag_counter = 0, $lag_log2 = 0.0, $lag_new = 0, $length_d_comp = 0;
- var $length_d_srch = 0, $max_lag = 0, $max_lag_4kHz = 0, $max_lag_8kHz = 0, $min_lag = 0, $min_lag_4kHz = 0, $min_lag_8kHz = 0, $mul = 0, $mul1 = 0, $mul10 = 0, $mul104 = 0.0, $mul112 = 0, $mul124 = 0, $mul126 = 0.0, $mul2 = 0, $mul269 = 0.0, $mul333 = 0, $mul364 = 0.0, $mul365 = 0.0, $mul371 = 0.0;
- var $mul373 = 0.0, $mul374 = 0.0, $mul375 = 0.0, $mul384 = 0.0, $mul4 = 0, $mul406 = 0, $mul41 = 0, $mul410 = 0, $mul42 = 0, $mul456 = 0, $mul458 = 0, $mul489 = 0.0, $mul493 = 0.0, $mul495 = 0.0, $mul5 = 0, $mul519 = 0, $mul525 = 0, $mul535 = 0, $mul539 = 0, $mul548 = 0;
- var $mul552 = 0, $mul57 = 0.0, $mul578 = 0, $mul60 = 0.0, $mul7 = 0, $mul77 = 0.0, $mul8 = 0, $mul82 = 0.0, $mul85 = 0.0, $mul9 = 0, $nb_cbk_search = 0, $nb_subfr$addr = 0, $normalizer = 0.0, $or$cond = 0, $pitch_out$addr = 0, $prevLag$addr = 0, $prevLag_log2 = 0.0, $retval = 0, $search_thres1$addr = 0.0, $search_thres2$addr = 0.0;
- var $sf_length = 0, $sf_length_4kHz = 0, $sf_length_8kHz = 0, $shl = 0, $shl139 = 0, $shl292 = 0, $shl413 = 0, $shr = 0, $shr298 = 0, $shr407 = 0, $start_lag = 0, $sub = 0, $sub108 = 0.0, $sub117 = 0, $sub146 = 0, $sub170 = 0, $sub173 = 0, $sub206 = 0, $sub209 = 0, $sub213 = 0;
- var $sub234 = 0, $sub35 = 0, $sub366 = 0.0, $sub37 = 0, $sub370 = 0.0, $sub378 = 0.0, $sub441 = 0, $sub494 = 0.0, $sub50 = 0, $sub52 = 0, $sub570 = 0, $sub624 = 0, $sub70 = 0, $sub83 = 0.0, $target_ptr = 0, $threshold = 0.0, $xcorr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 13936|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(13936|0);
- $frame_8kHz = sp + 9072|0;
- $frame_4kHz = sp + 8432|0;
- $frame_8_FIX = sp + 13288|0;
- $frame_4_FIX = sp + 12968|0;
- $filt_state = sp + 8408|0;
- $C = sp + 6016|0;
- $xcorr = sp + 5756|0;
- $CC = sp + 5712|0;
- $d_srch = sp + 5608|0;
- $d_comp = sp + 12664|0;
- $energies_st3 = sp + 2816|0;
- $cross_corr_st3 = sp + 96|0;
- $frame_16_FIX = sp + 11384|0;
- $frame_12_FIX = sp + 10424|0;
- $frame$addr = $frame;
- $pitch_out$addr = $pitch_out;
- $lagIndex$addr = $lagIndex;
- $contourIndex$addr = $contourIndex;
- $LTPCorr$addr = $LTPCorr;
- $prevLag$addr = $prevLag;
- $search_thres1$addr = $search_thres1;
- $search_thres2$addr = $search_thres2;
- $Fs_kHz$addr = $Fs_kHz;
- $complexity$addr = $complexity;
- $nb_subfr$addr = $nb_subfr;
- $arch$addr = $arch;
- $0 = $nb_subfr$addr;
- $mul = ($0*5)|0;
- $add = (20 + ($mul))|0;
- $1 = $Fs_kHz$addr;
- $mul1 = Math_imul($add, $1)|0;
- $frame_length = $mul1;
- $2 = $nb_subfr$addr;
- $mul2 = ($2*5)|0;
- $add3 = (20 + ($mul2))|0;
- $mul4 = $add3<<2;
- $frame_length_4kHz = $mul4;
- $3 = $nb_subfr$addr;
- $mul5 = ($3*5)|0;
- $add6 = (20 + ($mul5))|0;
- $mul7 = $add6<<3;
- $frame_length_8kHz = $mul7;
- $4 = $Fs_kHz$addr;
- $mul8 = ($4*5)|0;
- $sf_length = $mul8;
- $sf_length_4kHz = 20;
- $sf_length_8kHz = 40;
- $5 = $Fs_kHz$addr;
- $mul9 = $5<<1;
- $min_lag = $mul9;
- $min_lag_4kHz = 8;
- $min_lag_8kHz = 16;
- $6 = $Fs_kHz$addr;
- $mul10 = ($6*18)|0;
- $sub = (($mul10) - 1)|0;
- $max_lag = $sub;
- $max_lag_4kHz = 72;
- $max_lag_8kHz = 143;
- $7 = $Fs_kHz$addr;
- $cmp = ($7|0)==(16);
- do {
- if ($cmp) {
- $8 = $frame$addr;
- $9 = $frame_length;
- _silk_float2short_array_326($frame_16_FIX,$8,$9);
- ;HEAP32[$filt_state>>2]=0|0;HEAP32[$filt_state+4>>2]=0|0;
- $10 = $frame_length;
- _silk_resampler_down2($filt_state,$frame_8_FIX,$frame_16_FIX,$10);
- $11 = $frame_length_8kHz;
- _silk_short2float_array_327($frame_8kHz,$frame_8_FIX,$11);
- } else {
- $12 = $Fs_kHz$addr;
- $cmp17 = ($12|0)==(12);
- if ($cmp17) {
- $13 = $frame$addr;
- $14 = $frame_length;
- _silk_float2short_array_326($frame_12_FIX,$13,$14);
- ;HEAP32[$filt_state>>2]=0|0;HEAP32[$filt_state+4>>2]=0|0;HEAP32[$filt_state+8>>2]=0|0;HEAP32[$filt_state+12>>2]=0|0;HEAP32[$filt_state+16>>2]=0|0;HEAP32[$filt_state+20>>2]=0|0;
- $15 = $frame_length;
- _silk_resampler_down2_3($filt_state,$frame_8_FIX,$frame_12_FIX,$15);
- $16 = $frame_length_8kHz;
- _silk_short2float_array_327($frame_8kHz,$frame_8_FIX,$16);
- break;
- } else {
- $17 = $frame$addr;
- $18 = $frame_length_8kHz;
- _silk_float2short_array_326($frame_8_FIX,$17,$18);
- break;
- }
- }
- } while(0);
- ;HEAP32[$filt_state>>2]=0|0;HEAP32[$filt_state+4>>2]=0|0;
- $19 = $frame_length_8kHz;
- _silk_resampler_down2($filt_state,$frame_4_FIX,$frame_8_FIX,$19);
- $20 = $frame_length_4kHz;
- _silk_short2float_array_327($frame_4kHz,$frame_4_FIX,$20);
- $21 = $frame_length_4kHz;
- $sub35 = (($21) - 1)|0;
- $i = $sub35;
- while(1) {
- $22 = $i;
- $cmp36 = ($22|0)>(0);
- if (!($cmp36)) {
- break;
- }
- $23 = $i;
- $sub37 = (($23) - 1)|0;
- $arrayidx = (($frame_4kHz) + ($sub37<<2)|0);
- $24 = +HEAPF32[$arrayidx>>2];
- $25 = $i;
- $arrayidx38 = (($frame_4kHz) + ($25<<2)|0);
- $26 = +HEAPF32[$arrayidx38>>2];
- $add39 = $26 + $24;
- HEAPF32[$arrayidx38>>2] = $add39;
- $27 = $i;
- $dec = (($27) + -1)|0;
- $i = $dec;
- }
- $28 = $nb_subfr$addr;
- $mul41 = $28<<2;
- $mul42 = ($mul41*149)|0;
- _memset(($C|0),0,($mul42|0))|0;
- $29 = $sf_length_4kHz;
- $shl = $29 << 2;
- $arrayidx43 = (($frame_4kHz) + ($shl<<2)|0);
- $target_ptr = $arrayidx43;
- $k = 0;
- while(1) {
- $30 = $k;
- $31 = $nb_subfr$addr;
- $shr = $31 >> 1;
- $cmp45 = ($30|0)<($shr|0);
- if (!($cmp45)) {
- break;
- }
- $32 = $target_ptr;
- $33 = $min_lag_4kHz;
- $idx$neg = (0 - ($33))|0;
- $add$ptr = (($32) + ($idx$neg<<2)|0);
- $basis_ptr = $add$ptr;
- $34 = $target_ptr;
- $35 = $target_ptr;
- $36 = $max_lag_4kHz;
- $idx$neg47 = (0 - ($36))|0;
- $add$ptr48 = (($35) + ($idx$neg47<<2)|0);
- $37 = $sf_length_8kHz;
- $38 = $max_lag_4kHz;
- $39 = $min_lag_4kHz;
- $sub50 = (($38) - ($39))|0;
- $add51 = (($sub50) + 1)|0;
- $40 = $arch$addr;
- _celt_pitch_xcorr($34,$add$ptr48,$xcorr,$37,$add51,$40);
- $41 = $max_lag_4kHz;
- $42 = $min_lag_4kHz;
- $sub52 = (($41) - ($42))|0;
- $arrayidx53 = (($xcorr) + ($sub52<<2)|0);
- $43 = +HEAPF32[$arrayidx53>>2];
- $conv = $43;
- $cross_corr = $conv;
- $44 = $target_ptr;
- $45 = $sf_length_8kHz;
- $call = (+_silk_energy_FLP($44,$45));
- $46 = $basis_ptr;
- $47 = $sf_length_8kHz;
- $call54 = (+_silk_energy_FLP($46,$47));
- $add55 = $call + $call54;
- $48 = $sf_length_8kHz;
- $conv56 = (+($48|0));
- $mul57 = $conv56 * 4000.0;
- $conv58 = $mul57;
- $add59 = $add55 + $conv58;
- $normalizer = $add59;
- $49 = $cross_corr;
- $mul60 = 2.0 * $49;
- $50 = $normalizer;
- $div = $mul60 / $50;
- $conv61 = $div;
- $51 = $min_lag_4kHz;
- $arrayidx63 = (($C) + ($51<<2)|0);
- $52 = +HEAPF32[$arrayidx63>>2];
- $add64 = $52 + $conv61;
- HEAPF32[$arrayidx63>>2] = $add64;
- $53 = $min_lag_4kHz;
- $add65 = (($53) + 1)|0;
- $d = $add65;
- while(1) {
- $54 = $d;
- $55 = $max_lag_4kHz;
- $cmp67 = ($54|0)<=($55|0);
- if (!($cmp67)) {
- break;
- }
- $56 = $basis_ptr;
- $incdec$ptr = ((($56)) + -4|0);
- $basis_ptr = $incdec$ptr;
- $57 = $max_lag_4kHz;
- $58 = $d;
- $sub70 = (($57) - ($58))|0;
- $arrayidx71 = (($xcorr) + ($sub70<<2)|0);
- $59 = +HEAPF32[$arrayidx71>>2];
- $conv72 = $59;
- $cross_corr = $conv72;
- $60 = $basis_ptr;
- $61 = +HEAPF32[$60>>2];
- $conv74 = $61;
- $62 = $basis_ptr;
- $63 = +HEAPF32[$62>>2];
- $conv76 = $63;
- $mul77 = $conv74 * $conv76;
- $64 = $basis_ptr;
- $65 = $sf_length_8kHz;
- $arrayidx78 = (($64) + ($65<<2)|0);
- $66 = +HEAPF32[$arrayidx78>>2];
- $conv79 = $66;
- $67 = $basis_ptr;
- $68 = $sf_length_8kHz;
- $arrayidx80 = (($67) + ($68<<2)|0);
- $69 = +HEAPF32[$arrayidx80>>2];
- $conv81 = $69;
- $mul82 = $conv79 * $conv81;
- $sub83 = $mul77 - $mul82;
- $70 = $normalizer;
- $add84 = $70 + $sub83;
- $normalizer = $add84;
- $71 = $cross_corr;
- $mul85 = 2.0 * $71;
- $72 = $normalizer;
- $div86 = $mul85 / $72;
- $conv87 = $div86;
- $73 = $d;
- $arrayidx89 = (($C) + ($73<<2)|0);
- $74 = +HEAPF32[$arrayidx89>>2];
- $add90 = $74 + $conv87;
- HEAPF32[$arrayidx89>>2] = $add90;
- $75 = $d;
- $inc = (($75) + 1)|0;
- $d = $inc;
- }
- $76 = $sf_length_8kHz;
- $77 = $target_ptr;
- $add$ptr93 = (($77) + ($76<<2)|0);
- $target_ptr = $add$ptr93;
- $78 = $k;
- $inc95 = (($78) + 1)|0;
- $k = $inc95;
- }
- $79 = $max_lag_4kHz;
- $i = $79;
- while(1) {
- $80 = $i;
- $81 = $min_lag_4kHz;
- $cmp98 = ($80|0)>=($81|0);
- if (!($cmp98)) {
- break;
- }
- $82 = $i;
- $arrayidx102 = (($C) + ($82<<2)|0);
- $83 = +HEAPF32[$arrayidx102>>2];
- $84 = $i;
- $conv103 = (+($84|0));
- $mul104 = $83 * $conv103;
- $div105 = $mul104 / 4096.0;
- $85 = $i;
- $arrayidx107 = (($C) + ($85<<2)|0);
- $86 = +HEAPF32[$arrayidx107>>2];
- $sub108 = $86 - $div105;
- HEAPF32[$arrayidx107>>2] = $sub108;
- $87 = $i;
- $dec110 = (($87) + -1)|0;
- $i = $dec110;
- }
- $88 = $complexity$addr;
- $mul112 = $88<<1;
- $add113 = (4 + ($mul112))|0;
- $length_d_srch = $add113;
- $89 = $min_lag_4kHz;
- $arrayidx115 = (($C) + ($89<<2)|0);
- $90 = $max_lag_4kHz;
- $91 = $min_lag_4kHz;
- $sub117 = (($90) - ($91))|0;
- $add118 = (($sub117) + 1)|0;
- $92 = $length_d_srch;
- _silk_insertion_sort_decreasing_FLP($arrayidx115,$d_srch,$add118,$92);
- $93 = $min_lag_4kHz;
- $arrayidx120 = (($C) + ($93<<2)|0);
- $94 = +HEAPF32[$arrayidx120>>2];
- $Cmax = $94;
- $95 = $Cmax;
- $cmp121 = $95 < 0.20000000298023224;
- if ($cmp121) {
- $96 = $pitch_out$addr;
- $97 = $nb_subfr$addr;
- $mul124 = $97<<2;
- _memset(($96|0),0,($mul124|0))|0;
- $98 = $LTPCorr$addr;
- HEAPF32[$98>>2] = 0.0;
- $99 = $lagIndex$addr;
- HEAP16[$99>>1] = 0;
- $100 = $contourIndex$addr;
- HEAP8[$100>>0] = 0;
- $retval = 1;
- $425 = $retval;
- STACKTOP = sp;return ($425|0);
- }
- $101 = $search_thres1$addr;
- $102 = $Cmax;
- $mul126 = $101 * $102;
- $threshold = $mul126;
- $i = 0;
- while(1) {
- $103 = $i;
- $104 = $length_d_srch;
- $cmp128 = ($103|0)<($104|0);
- if (!($cmp128)) {
- break;
- }
- $105 = $min_lag_4kHz;
- $106 = $i;
- $add132 = (($105) + ($106))|0;
- $arrayidx133 = (($C) + ($add132<<2)|0);
- $107 = +HEAPF32[$arrayidx133>>2];
- $108 = $threshold;
- $cmp134 = $107 > $108;
- $109 = $i;
- if (!($cmp134)) {
- label = 24;
- break;
- }
- $arrayidx137 = (($d_srch) + ($109<<2)|0);
- $110 = HEAP32[$arrayidx137>>2]|0;
- $111 = $min_lag_4kHz;
- $add138 = (($110) + ($111))|0;
- $shl139 = $add138 << 1;
- $112 = $i;
- $arrayidx140 = (($d_srch) + ($112<<2)|0);
- HEAP32[$arrayidx140>>2] = $shl139;
- $113 = $i;
- $inc144 = (($113) + 1)|0;
- $i = $inc144;
- }
- if ((label|0) == 24) {
- $length_d_srch = $109;
- }
- $114 = $min_lag_8kHz;
- $sub146 = (($114) - 5)|0;
- $i = $sub146;
- while(1) {
- $115 = $i;
- $116 = $max_lag_8kHz;
- $add148 = (($116) + 5)|0;
- $cmp149 = ($115|0)<($add148|0);
- if (!($cmp149)) {
- break;
- }
- $117 = $i;
- $arrayidx152 = (($d_comp) + ($117<<1)|0);
- HEAP16[$arrayidx152>>1] = 0;
- $118 = $i;
- $inc154 = (($118) + 1)|0;
- $i = $inc154;
- }
- $i = 0;
- while(1) {
- $119 = $i;
- $120 = $length_d_srch;
- $cmp157 = ($119|0)<($120|0);
- if (!($cmp157)) {
- break;
- }
- $121 = $i;
- $arrayidx160 = (($d_srch) + ($121<<2)|0);
- $122 = HEAP32[$arrayidx160>>2]|0;
- $arrayidx161 = (($d_comp) + ($122<<1)|0);
- HEAP16[$arrayidx161>>1] = 1;
- $123 = $i;
- $inc163 = (($123) + 1)|0;
- $i = $inc163;
- }
- $124 = $max_lag_8kHz;
- $add165 = (($124) + 3)|0;
- $i = $add165;
- while(1) {
- $125 = $i;
- $126 = $min_lag_8kHz;
- $cmp167 = ($125|0)>=($126|0);
- if (!($cmp167)) {
- break;
- }
- $127 = $i;
- $sub170 = (($127) - 1)|0;
- $arrayidx171 = (($d_comp) + ($sub170<<1)|0);
- $128 = HEAP16[$arrayidx171>>1]|0;
- $conv172 = $128 << 16 >> 16;
- $129 = $i;
- $sub173 = (($129) - 2)|0;
- $arrayidx174 = (($d_comp) + ($sub173<<1)|0);
- $130 = HEAP16[$arrayidx174>>1]|0;
- $conv175 = $130 << 16 >> 16;
- $add176 = (($conv172) + ($conv175))|0;
- $131 = $i;
- $arrayidx177 = (($d_comp) + ($131<<1)|0);
- $132 = HEAP16[$arrayidx177>>1]|0;
- $conv178 = $132 << 16 >> 16;
- $add179 = (($conv178) + ($add176))|0;
- $conv180 = $add179&65535;
- HEAP16[$arrayidx177>>1] = $conv180;
- $133 = $i;
- $dec182 = (($133) + -1)|0;
- $i = $dec182;
- }
- $length_d_srch = 0;
- $134 = $min_lag_8kHz;
- $i = $134;
- while(1) {
- $135 = $i;
- $136 = $max_lag_8kHz;
- $add185 = (($136) + 1)|0;
- $cmp186 = ($135|0)<($add185|0);
- if (!($cmp186)) {
- break;
- }
- $137 = $i;
- $add189 = (($137) + 1)|0;
- $arrayidx190 = (($d_comp) + ($add189<<1)|0);
- $138 = HEAP16[$arrayidx190>>1]|0;
- $conv191 = $138 << 16 >> 16;
- $cmp192 = ($conv191|0)>(0);
- if ($cmp192) {
- $139 = $i;
- $140 = $length_d_srch;
- $arrayidx195 = (($d_srch) + ($140<<2)|0);
- HEAP32[$arrayidx195>>2] = $139;
- $141 = $length_d_srch;
- $inc196 = (($141) + 1)|0;
- $length_d_srch = $inc196;
- }
- $142 = $i;
- $inc199 = (($142) + 1)|0;
- $i = $inc199;
- }
- $143 = $max_lag_8kHz;
- $add201 = (($143) + 3)|0;
- $i = $add201;
- while(1) {
- $144 = $i;
- $145 = $min_lag_8kHz;
- $cmp203 = ($144|0)>=($145|0);
- if (!($cmp203)) {
- break;
- }
- $146 = $i;
- $sub206 = (($146) - 1)|0;
- $arrayidx207 = (($d_comp) + ($sub206<<1)|0);
- $147 = HEAP16[$arrayidx207>>1]|0;
- $conv208 = $147 << 16 >> 16;
- $148 = $i;
- $sub209 = (($148) - 2)|0;
- $arrayidx210 = (($d_comp) + ($sub209<<1)|0);
- $149 = HEAP16[$arrayidx210>>1]|0;
- $conv211 = $149 << 16 >> 16;
- $add212 = (($conv208) + ($conv211))|0;
- $150 = $i;
- $sub213 = (($150) - 3)|0;
- $arrayidx214 = (($d_comp) + ($sub213<<1)|0);
- $151 = HEAP16[$arrayidx214>>1]|0;
- $conv215 = $151 << 16 >> 16;
- $add216 = (($add212) + ($conv215))|0;
- $152 = $i;
- $arrayidx217 = (($d_comp) + ($152<<1)|0);
- $153 = HEAP16[$arrayidx217>>1]|0;
- $conv218 = $153 << 16 >> 16;
- $add219 = (($conv218) + ($add216))|0;
- $conv220 = $add219&65535;
- HEAP16[$arrayidx217>>1] = $conv220;
- $154 = $i;
- $dec222 = (($154) + -1)|0;
- $i = $dec222;
- }
- $length_d_comp = 0;
- $155 = $min_lag_8kHz;
- $i = $155;
- while(1) {
- $156 = $i;
- $157 = $max_lag_8kHz;
- $add225 = (($157) + 4)|0;
- $cmp226 = ($156|0)<($add225|0);
- if (!($cmp226)) {
- break;
- }
- $158 = $i;
- $arrayidx229 = (($d_comp) + ($158<<1)|0);
- $159 = HEAP16[$arrayidx229>>1]|0;
- $conv230 = $159 << 16 >> 16;
- $cmp231 = ($conv230|0)>(0);
- if ($cmp231) {
- $160 = $i;
- $sub234 = (($160) - 2)|0;
- $conv235 = $sub234&65535;
- $161 = $length_d_comp;
- $arrayidx236 = (($d_comp) + ($161<<1)|0);
- HEAP16[$arrayidx236>>1] = $conv235;
- $162 = $length_d_comp;
- $inc237 = (($162) + 1)|0;
- $length_d_comp = $inc237;
- }
- $163 = $i;
- $inc240 = (($163) + 1)|0;
- $i = $inc240;
- }
- _memset(($C|0),0,2384)|0;
- $164 = $Fs_kHz$addr;
- $cmp243 = ($164|0)==(8);
- if ($cmp243) {
- $165 = $frame$addr;
- $arrayidx246 = ((($165)) + 640|0);
- $target_ptr = $arrayidx246;
- } else {
- $arrayidx248 = ((($frame_8kHz)) + 640|0);
- $target_ptr = $arrayidx248;
- }
- $k = 0;
- while(1) {
- $166 = $k;
- $167 = $nb_subfr$addr;
- $cmp251 = ($166|0)<($167|0);
- if (!($cmp251)) {
- break;
- }
- $168 = $target_ptr;
- $169 = $sf_length_8kHz;
- $call254 = (+_silk_energy_FLP($168,$169));
- $add255 = $call254 + 1.0;
- $energy_tmp = $add255;
- $j = 0;
- while(1) {
- $170 = $j;
- $171 = $length_d_comp;
- $cmp257 = ($170|0)<($171|0);
- if (!($cmp257)) {
- break;
- }
- $172 = $j;
- $arrayidx260 = (($d_comp) + ($172<<1)|0);
- $173 = HEAP16[$arrayidx260>>1]|0;
- $conv261 = $173 << 16 >> 16;
- $d = $conv261;
- $174 = $target_ptr;
- $175 = $d;
- $idx$neg262 = (0 - ($175))|0;
- $add$ptr263 = (($174) + ($idx$neg262<<2)|0);
- $basis_ptr = $add$ptr263;
- $176 = $basis_ptr;
- $177 = $target_ptr;
- $178 = $sf_length_8kHz;
- $call264 = (+_silk_inner_product_FLP($176,$177,$178));
- $cross_corr = $call264;
- $179 = $cross_corr;
- $cmp265 = $179 > 0.0;
- if ($cmp265) {
- $180 = $basis_ptr;
- $181 = $sf_length_8kHz;
- $call268 = (+_silk_energy_FLP($180,$181));
- $energy = $call268;
- $182 = $cross_corr;
- $mul269 = 2.0 * $182;
- $183 = $energy;
- $184 = $energy_tmp;
- $add270 = $183 + $184;
- $div271 = $mul269 / $add270;
- $conv272 = $div271;
- $185 = $k;
- $arrayidx273 = (($C) + (($185*596)|0)|0);
- $186 = $d;
- $arrayidx274 = (($arrayidx273) + ($186<<2)|0);
- $$sink = $conv272;$arrayidx277$sink = $arrayidx274;
- } else {
- $187 = $k;
- $arrayidx276 = (($C) + (($187*596)|0)|0);
- $188 = $d;
- $arrayidx277 = (($arrayidx276) + ($188<<2)|0);
- $$sink = 0.0;$arrayidx277$sink = $arrayidx277;
- }
- HEAPF32[$arrayidx277$sink>>2] = $$sink;
- $189 = $j;
- $inc280 = (($189) + 1)|0;
- $j = $inc280;
- }
- $190 = $sf_length_8kHz;
- $191 = $target_ptr;
- $add$ptr282 = (($191) + ($190<<2)|0);
- $target_ptr = $add$ptr282;
- $192 = $k;
- $inc284 = (($192) + 1)|0;
- $k = $inc284;
- }
- $CCmax = 0.0;
- $CCmax_b = -1000.0;
- $CBimax = 0;
- $lag = -1;
- $193 = $prevLag$addr;
- $cmp286 = ($193|0)>(0);
- if ($cmp286) {
- $194 = $Fs_kHz$addr;
- $cmp289 = ($194|0)==(12);
- if ($cmp289) {
- $195 = $prevLag$addr;
- $shl292 = $195 << 1;
- $div293 = (($shl292|0) / 3)&-1;
- $prevLag$addr = $div293;
- } else {
- $196 = $Fs_kHz$addr;
- $cmp295 = ($196|0)==(16);
- if ($cmp295) {
- $197 = $prevLag$addr;
- $shr298 = $197 >> 1;
- $prevLag$addr = $shr298;
- }
- }
- $198 = $prevLag$addr;
- $conv301 = (+($198|0));
- $conv302 = $conv301;
- $call303 = (+_silk_log2_328($conv302));
- $prevLag_log2 = $call303;
- } else {
- $prevLag_log2 = 0.0;
- }
- $199 = $nb_subfr$addr;
- $cmp306 = ($199|0)==(4);
- do {
- if ($cmp306) {
- $cbk_size = 11;
- $Lag_CB_ptr = 30737;
- $200 = $Fs_kHz$addr;
- $cmp309 = ($200|0)==(8);
- $201 = $complexity$addr;
- $cmp311 = ($201|0)>(0);
- $or$cond = $cmp309 & $cmp311;
- if ($or$cond) {
- $nb_cbk_search = 11;
- break;
- } else {
- $nb_cbk_search = 3;
- break;
- }
- } else {
- $cbk_size = 3;
- $Lag_CB_ptr = 30703;
- $nb_cbk_search = 3;
- }
- } while(0);
- $k = 0;
- while(1) {
- $202 = $k;
- $203 = $length_d_srch;
- $cmp319 = ($202|0)<($203|0);
- if (!($cmp319)) {
- break;
- }
- $204 = $k;
- $arrayidx322 = (($d_srch) + ($204<<2)|0);
- $205 = HEAP32[$arrayidx322>>2]|0;
- $d = $205;
- $j = 0;
- while(1) {
- $206 = $j;
- $207 = $nb_cbk_search;
- $cmp324 = ($206|0)<($207|0);
- if (!($cmp324)) {
- break;
- }
- $208 = $j;
- $arrayidx327 = (($CC) + ($208<<2)|0);
- HEAPF32[$arrayidx327>>2] = 0.0;
- $i = 0;
- while(1) {
- $209 = $i;
- $210 = $nb_subfr$addr;
- $cmp329 = ($209|0)<($210|0);
- if (!($cmp329)) {
- break;
- }
- $211 = $i;
- $arrayidx332 = (($C) + (($211*596)|0)|0);
- $212 = $d;
- $213 = $Lag_CB_ptr;
- $214 = $i;
- $215 = $cbk_size;
- $mul333 = Math_imul($214, $215)|0;
- $216 = $j;
- $add334 = (($mul333) + ($216))|0;
- $add$ptr335 = (($213) + ($add334)|0);
- $217 = HEAP8[$add$ptr335>>0]|0;
- $conv336 = $217 << 24 >> 24;
- $add337 = (($212) + ($conv336))|0;
- $arrayidx338 = (($arrayidx332) + ($add337<<2)|0);
- $218 = +HEAPF32[$arrayidx338>>2];
- $219 = $j;
- $arrayidx339 = (($CC) + ($219<<2)|0);
- $220 = +HEAPF32[$arrayidx339>>2];
- $add340 = $220 + $218;
- HEAPF32[$arrayidx339>>2] = $add340;
- $221 = $i;
- $inc342 = (($221) + 1)|0;
- $i = $inc342;
- }
- $222 = $j;
- $inc345 = (($222) + 1)|0;
- $j = $inc345;
- }
- $CCmax_new = -1000.0;
- $CBimax_new = 0;
- $i = 0;
- while(1) {
- $223 = $i;
- $224 = $nb_cbk_search;
- $cmp348 = ($223|0)<($224|0);
- if (!($cmp348)) {
- break;
- }
- $225 = $i;
- $arrayidx351 = (($CC) + ($225<<2)|0);
- $226 = +HEAPF32[$arrayidx351>>2];
- $227 = $CCmax_new;
- $cmp352 = $226 > $227;
- if ($cmp352) {
- $228 = $i;
- $arrayidx355 = (($CC) + ($228<<2)|0);
- $229 = +HEAPF32[$arrayidx355>>2];
- $CCmax_new = $229;
- $230 = $i;
- $CBimax_new = $230;
- }
- $231 = $i;
- $inc358 = (($231) + 1)|0;
- $i = $inc358;
- }
- $232 = $d;
- $conv360 = (+($232|0));
- $conv361 = $conv360;
- $call362 = (+_silk_log2_328($conv361));
- $lag_log2 = $call362;
- $233 = $CCmax_new;
- $234 = $nb_subfr$addr;
- $conv363 = (+($234|0));
- $mul364 = 0.20000000298023224 * $conv363;
- $235 = $lag_log2;
- $mul365 = $mul364 * $235;
- $sub366 = $233 - $mul365;
- $CCmax_new_b = $sub366;
- $236 = $prevLag$addr;
- $cmp367 = ($236|0)>(0);
- if ($cmp367) {
- $237 = $lag_log2;
- $238 = $prevLag_log2;
- $sub370 = $237 - $238;
- $delta_lag_log2_sqr = $sub370;
- $239 = $delta_lag_log2_sqr;
- $240 = $delta_lag_log2_sqr;
- $mul371 = $240 * $239;
- $delta_lag_log2_sqr = $mul371;
- $241 = $nb_subfr$addr;
- $conv372 = (+($241|0));
- $mul373 = 0.20000000298023224 * $conv372;
- $242 = $LTPCorr$addr;
- $243 = +HEAPF32[$242>>2];
- $mul374 = $mul373 * $243;
- $244 = $delta_lag_log2_sqr;
- $mul375 = $mul374 * $244;
- $245 = $delta_lag_log2_sqr;
- $add376 = $245 + 0.5;
- $div377 = $mul375 / $add376;
- $246 = $CCmax_new_b;
- $sub378 = $246 - $div377;
- $CCmax_new_b = $sub378;
- }
- $247 = $CCmax_new_b;
- $248 = $CCmax_b;
- $cmp380 = $247 > $248;
- if ($cmp380) {
- $249 = $CCmax_new;
- $250 = $nb_subfr$addr;
- $conv383 = (+($250|0));
- $251 = $search_thres2$addr;
- $mul384 = $conv383 * $251;
- $cmp385 = $249 > $mul384;
- if ($cmp385) {
- $252 = $CCmax_new_b;
- $CCmax_b = $252;
- $253 = $CCmax_new;
- $CCmax = $253;
- $254 = $d;
- $lag = $254;
- $255 = $CBimax_new;
- $CBimax = $255;
- }
- }
- $256 = $k;
- $inc390 = (($256) + 1)|0;
- $k = $inc390;
- }
- $257 = $lag;
- $cmp392 = ($257|0)==(-1);
- if ($cmp392) {
- $258 = $pitch_out$addr;
- ;HEAP32[$258>>2]=0|0;HEAP32[$258+4>>2]=0|0;HEAP32[$258+8>>2]=0|0;HEAP32[$258+12>>2]=0|0;
- $259 = $LTPCorr$addr;
- HEAPF32[$259>>2] = 0.0;
- $260 = $lagIndex$addr;
- HEAP16[$260>>1] = 0;
- $261 = $contourIndex$addr;
- HEAP8[$261>>0] = 0;
- $retval = 1;
- $425 = $retval;
- STACKTOP = sp;return ($425|0);
- }
- $262 = $CCmax;
- $263 = $nb_subfr$addr;
- $conv396 = (+($263|0));
- $div397 = $262 / $conv396;
- $264 = $LTPCorr$addr;
- HEAPF32[$264>>2] = $div397;
- $265 = $Fs_kHz$addr;
- $cmp398 = ($265|0)>(8);
- if ($cmp398) {
- $266 = $Fs_kHz$addr;
- $cmp401 = ($266|0)==(12);
- $267 = $lag;
- if ($cmp401) {
- $conv404 = $267&65535;
- $conv405 = $conv404 << 16 >> 16;
- $mul406 = ($conv405*3)|0;
- $shr407 = $mul406 >> 1;
- $268 = $lag;
- $conv408 = $268&65535;
- $conv409 = $conv408 << 16 >> 16;
- $mul410 = ($conv409*3)|0;
- $and = $mul410 & 1;
- $add411 = (($shr407) + ($and))|0;
- $lag = $add411;
- } else {
- $shl413 = $267 << 1;
- $lag = $shl413;
- }
- $269 = $min_lag;
- $270 = $max_lag;
- $cmp415 = ($269|0)>($270|0);
- $271 = $lag;
- do {
- if ($cmp415) {
- $272 = $min_lag;
- $cmp417 = ($271|0)>($272|0);
- if ($cmp417) {
- $273 = $min_lag;
- $cond440 = $273;
- break;
- } else {
- $274 = $lag;
- $275 = $max_lag;
- $cmp420 = ($274|0)<($275|0);
- $276 = $max_lag;
- $277 = $lag;
- $cond = $cmp420 ? $276 : $277;
- $cond440 = $cond;
- break;
- }
- } else {
- $278 = $max_lag;
- $cmp427 = ($271|0)>($278|0);
- if ($cmp427) {
- $279 = $max_lag;
- $cond440 = $279;
- break;
- } else {
- $280 = $lag;
- $281 = $min_lag;
- $cmp431 = ($280|0)<($281|0);
- $282 = $min_lag;
- $283 = $lag;
- $cond436 = $cmp431 ? $282 : $283;
- $cond440 = $cond436;
- break;
- }
- }
- } while(0);
- $lag = $cond440;
- $284 = $lag;
- $sub441 = (($284) - 2)|0;
- $285 = $min_lag;
- $call442 = (_silk_max_int_329($sub441,$285)|0);
- $start_lag = $call442;
- $286 = $lag;
- $add443 = (($286) + 2)|0;
- $287 = $max_lag;
- $call444 = (_silk_min_int_330($add443,$287)|0);
- $end_lag = $call444;
- $288 = $lag;
- $lag_new = $288;
- $CBimax = 0;
- $CCmax = -1000.0;
- $289 = $frame$addr;
- $290 = $start_lag;
- $291 = $sf_length;
- $292 = $nb_subfr$addr;
- $293 = $complexity$addr;
- $294 = $arch$addr;
- _silk_P_Ana_calc_corr_st3($cross_corr_st3,$289,$290,$291,$292,$293,$294);
- $295 = $frame$addr;
- $296 = $start_lag;
- $297 = $sf_length;
- $298 = $nb_subfr$addr;
- $299 = $complexity$addr;
- _silk_P_Ana_calc_energy_st3($energies_st3,$295,$296,$297,$298,$299);
- $lag_counter = 0;
- $300 = $lag;
- $conv447 = (+($300|0));
- $div448 = 0.05000000074505806 / $conv447;
- $contour_bias = $div448;
- $301 = $nb_subfr$addr;
- $cmp449 = ($301|0)==(4);
- if ($cmp449) {
- $302 = $complexity$addr;
- $arrayidx452 = (30941 + ($302)|0);
- $303 = HEAP8[$arrayidx452>>0]|0;
- $conv453 = $303 << 24 >> 24;
- $nb_cbk_search = $conv453;
- $cbk_size = 34;
- $Lag_CB_ptr = 30781;
- } else {
- $nb_cbk_search = 12;
- $cbk_size = 12;
- $Lag_CB_ptr = 30709;
- }
- $304 = $frame$addr;
- $305 = $Fs_kHz$addr;
- $mul456 = ($305*20)|0;
- $arrayidx457 = (($304) + ($mul456<<2)|0);
- $target_ptr = $arrayidx457;
- $306 = $target_ptr;
- $307 = $nb_subfr$addr;
- $308 = $sf_length;
- $mul458 = Math_imul($307, $308)|0;
- $call459 = (+_silk_energy_FLP($306,$mul458));
- $add460 = $call459 + 1.0;
- $energy_tmp = $add460;
- $309 = $start_lag;
- $d = $309;
- while(1) {
- $310 = $d;
- $311 = $end_lag;
- $cmp462 = ($310|0)<=($311|0);
- if (!($cmp462)) {
- break;
- }
- $j = 0;
- while(1) {
- $312 = $j;
- $313 = $nb_cbk_search;
- $cmp466 = ($312|0)<($313|0);
- if (!($cmp466)) {
- break;
- }
- $cross_corr = 0.0;
- $314 = $energy_tmp;
- $energy = $314;
- $k = 0;
- while(1) {
- $315 = $k;
- $316 = $nb_subfr$addr;
- $cmp470 = ($315|0)<($316|0);
- if (!($cmp470)) {
- break;
- }
- $317 = $k;
- $arrayidx473 = (($cross_corr_st3) + (($317*680)|0)|0);
- $318 = $j;
- $arrayidx474 = (($arrayidx473) + (($318*20)|0)|0);
- $319 = $lag_counter;
- $arrayidx475 = (($arrayidx474) + ($319<<2)|0);
- $320 = +HEAPF32[$arrayidx475>>2];
- $conv476 = $320;
- $321 = $cross_corr;
- $add477 = $321 + $conv476;
- $cross_corr = $add477;
- $322 = $k;
- $arrayidx478 = (($energies_st3) + (($322*680)|0)|0);
- $323 = $j;
- $arrayidx479 = (($arrayidx478) + (($323*20)|0)|0);
- $324 = $lag_counter;
- $arrayidx480 = (($arrayidx479) + ($324<<2)|0);
- $325 = +HEAPF32[$arrayidx480>>2];
- $conv481 = $325;
- $326 = $energy;
- $add482 = $326 + $conv481;
- $energy = $add482;
- $327 = $k;
- $inc484 = (($327) + 1)|0;
- $k = $inc484;
- }
- $328 = $cross_corr;
- $cmp486 = $328 > 0.0;
- if ($cmp486) {
- $329 = $cross_corr;
- $mul489 = 2.0 * $329;
- $330 = $energy;
- $div490 = $mul489 / $330;
- $conv491 = $div490;
- $CCmax_new = $conv491;
- $331 = $contour_bias;
- $332 = $j;
- $conv492 = (+($332|0));
- $mul493 = $331 * $conv492;
- $sub494 = 1.0 - $mul493;
- $333 = $CCmax_new;
- $mul495 = $333 * $sub494;
- $CCmax_new = $mul495;
- } else {
- $CCmax_new = 0.0;
- }
- $334 = $CCmax_new;
- $335 = $CCmax;
- $cmp498 = $334 > $335;
- if ($cmp498) {
- $336 = $d;
- $337 = $j;
- $arrayidx501 = (30781 + ($337)|0);
- $338 = HEAP8[$arrayidx501>>0]|0;
- $conv502 = $338 << 24 >> 24;
- $add503 = (($336) + ($conv502))|0;
- $339 = $max_lag;
- $cmp504 = ($add503|0)<=($339|0);
- if ($cmp504) {
- $340 = $CCmax_new;
- $CCmax = $340;
- $341 = $d;
- $lag_new = $341;
- $342 = $j;
- $CBimax = $342;
- }
- }
- $343 = $j;
- $inc509 = (($343) + 1)|0;
- $j = $inc509;
- }
- $344 = $lag_counter;
- $inc511 = (($344) + 1)|0;
- $lag_counter = $inc511;
- $345 = $d;
- $inc513 = (($345) + 1)|0;
- $d = $inc513;
- }
- $k = 0;
- while(1) {
- $346 = $k;
- $347 = $nb_subfr$addr;
- $cmp516 = ($346|0)<($347|0);
- $348 = $lag_new;
- if (!($cmp516)) {
- break;
- }
- $349 = $Lag_CB_ptr;
- $350 = $k;
- $351 = $cbk_size;
- $mul519 = Math_imul($350, $351)|0;
- $352 = $CBimax;
- $add520 = (($mul519) + ($352))|0;
- $add$ptr521 = (($349) + ($add520)|0);
- $353 = HEAP8[$add$ptr521>>0]|0;
- $conv522 = $353 << 24 >> 24;
- $add523 = (($348) + ($conv522))|0;
- $354 = $pitch_out$addr;
- $355 = $k;
- $arrayidx524 = (($354) + ($355<<2)|0);
- HEAP32[$arrayidx524>>2] = $add523;
- $356 = $min_lag;
- $357 = $Fs_kHz$addr;
- $mul525 = ($357*18)|0;
- $cmp526 = ($356|0)>($mul525|0);
- $358 = $pitch_out$addr;
- $359 = $k;
- $arrayidx529 = (($358) + ($359<<2)|0);
- $360 = HEAP32[$arrayidx529>>2]|0;
- do {
- if ($cmp526) {
- $361 = $min_lag;
- $cmp530 = ($360|0)>($361|0);
- if ($cmp530) {
- $362 = $min_lag;
- $cond565 = $362;
- break;
- }
- $363 = $pitch_out$addr;
- $364 = $k;
- $arrayidx534 = (($363) + ($364<<2)|0);
- $365 = HEAP32[$arrayidx534>>2]|0;
- $366 = $Fs_kHz$addr;
- $mul535 = ($366*18)|0;
- $cmp536 = ($365|0)<($mul535|0);
- if ($cmp536) {
- $367 = $Fs_kHz$addr;
- $mul539 = ($367*18)|0;
- $cond565 = $mul539;
- break;
- } else {
- $368 = $pitch_out$addr;
- $369 = $k;
- $arrayidx541 = (($368) + ($369<<2)|0);
- $370 = HEAP32[$arrayidx541>>2]|0;
- $cond565 = $370;
- break;
- }
- } else {
- $371 = $Fs_kHz$addr;
- $mul548 = ($371*18)|0;
- $cmp549 = ($360|0)>($mul548|0);
- if ($cmp549) {
- $372 = $Fs_kHz$addr;
- $mul552 = ($372*18)|0;
- $cond565 = $mul552;
- break;
- }
- $373 = $pitch_out$addr;
- $374 = $k;
- $arrayidx554 = (($373) + ($374<<2)|0);
- $375 = HEAP32[$arrayidx554>>2]|0;
- $376 = $min_lag;
- $cmp555 = ($375|0)<($376|0);
- if ($cmp555) {
- $377 = $min_lag;
- $cond565 = $377;
- break;
- } else {
- $378 = $pitch_out$addr;
- $379 = $k;
- $arrayidx559 = (($378) + ($379<<2)|0);
- $380 = HEAP32[$arrayidx559>>2]|0;
- $cond565 = $380;
- break;
- }
- }
- } while(0);
- $381 = $pitch_out$addr;
- $382 = $k;
- $arrayidx566 = (($381) + ($382<<2)|0);
- HEAP32[$arrayidx566>>2] = $cond565;
- $383 = $k;
- $inc568 = (($383) + 1)|0;
- $k = $inc568;
- }
- $384 = $min_lag;
- $sub570 = (($348) - ($384))|0;
- $conv571 = $sub570&65535;
- $385 = $lagIndex$addr;
- HEAP16[$385>>1] = $conv571;
- $386 = $CBimax;
- $conv572 = $386&255;
- $387 = $contourIndex$addr;
- HEAP8[$387>>0] = $conv572;
- } else {
- $k = 0;
- while(1) {
- $388 = $k;
- $389 = $nb_subfr$addr;
- $cmp575 = ($388|0)<($389|0);
- $390 = $lag;
- if (!($cmp575)) {
- break;
- }
- $391 = $Lag_CB_ptr;
- $392 = $k;
- $393 = $cbk_size;
- $mul578 = Math_imul($392, $393)|0;
- $394 = $CBimax;
- $add579 = (($mul578) + ($394))|0;
- $add$ptr580 = (($391) + ($add579)|0);
- $395 = HEAP8[$add$ptr580>>0]|0;
- $conv581 = $395 << 24 >> 24;
- $add582 = (($390) + ($conv581))|0;
- $396 = $pitch_out$addr;
- $397 = $k;
- $arrayidx583 = (($396) + ($397<<2)|0);
- HEAP32[$arrayidx583>>2] = $add582;
- $398 = $min_lag_8kHz;
- $cmp584 = ($398|0)>(144);
- $399 = $pitch_out$addr;
- $400 = $k;
- $arrayidx587 = (($399) + ($400<<2)|0);
- $401 = HEAP32[$arrayidx587>>2]|0;
- do {
- if ($cmp584) {
- $402 = $min_lag_8kHz;
- $cmp588 = ($401|0)>($402|0);
- if ($cmp588) {
- $403 = $min_lag_8kHz;
- $cond619 = $403;
- break;
- }
- $404 = $pitch_out$addr;
- $405 = $k;
- $arrayidx592 = (($404) + ($405<<2)|0);
- $406 = HEAP32[$arrayidx592>>2]|0;
- $cmp593 = ($406|0)<(144);
- if ($cmp593) {
- $cond619 = 144;
- } else {
- $407 = $pitch_out$addr;
- $408 = $k;
- $arrayidx597 = (($407) + ($408<<2)|0);
- $409 = HEAP32[$arrayidx597>>2]|0;
- $cond619 = $409;
- }
- } else {
- $cmp604 = ($401|0)>(144);
- if ($cmp604) {
- $cond619 = 144;
- } else {
- $410 = $pitch_out$addr;
- $411 = $k;
- $arrayidx608 = (($410) + ($411<<2)|0);
- $412 = HEAP32[$arrayidx608>>2]|0;
- $413 = $min_lag_8kHz;
- $cmp609 = ($412|0)<($413|0);
- if ($cmp609) {
- $414 = $min_lag_8kHz;
- $cond619 = $414;
- break;
- } else {
- $415 = $pitch_out$addr;
- $416 = $k;
- $arrayidx613 = (($415) + ($416<<2)|0);
- $417 = HEAP32[$arrayidx613>>2]|0;
- $cond619 = $417;
- break;
- }
- }
- }
- } while(0);
- $418 = $pitch_out$addr;
- $419 = $k;
- $arrayidx620 = (($418) + ($419<<2)|0);
- HEAP32[$arrayidx620>>2] = $cond619;
- $420 = $k;
- $inc622 = (($420) + 1)|0;
- $k = $inc622;
- }
- $421 = $min_lag_8kHz;
- $sub624 = (($390) - ($421))|0;
- $conv625 = $sub624&65535;
- $422 = $lagIndex$addr;
- HEAP16[$422>>1] = $conv625;
- $423 = $CBimax;
- $conv626 = $423&255;
- $424 = $contourIndex$addr;
- HEAP8[$424>>0] = $conv626;
- }
- $retval = 0;
- $425 = $retval;
- STACKTOP = sp;return ($425|0);
-}
-function _silk_float2short_array_326($out,$in,$length) {
- $out = $out|0;
- $in = $in|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0.0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx2 = 0, $arrayidx7 = 0, $call = 0, $call3 = 0;
- var $call8 = 0, $cmp = 0, $cmp1 = 0, $cmp4 = 0, $cond10 = 0, $conv = 0, $dec = 0, $in$addr = 0, $k = 0, $length$addr = 0, $out$addr = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $out$addr = $out;
- $in$addr = $in;
- $length$addr = $length;
- $0 = $length$addr;
- $sub = (($0) - 1)|0;
- $k = $sub;
- while(1) {
- $1 = $k;
- $cmp = ($1|0)>=(0);
- if (!($cmp)) {
- break;
- }
- $2 = $in$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx>>2];
- $call = (_lrintf($4)|0);
- $cmp1 = ($call|0)>(32767);
- if ($cmp1) {
- $cond10 = 32767;
- } else {
- $5 = $in$addr;
- $6 = $k;
- $arrayidx2 = (($5) + ($6<<2)|0);
- $7 = +HEAPF32[$arrayidx2>>2];
- $call3 = (_lrintf($7)|0);
- $cmp4 = ($call3|0)<(-32768);
- if ($cmp4) {
- $cond10 = -32768;
- } else {
- $8 = $in$addr;
- $9 = $k;
- $arrayidx7 = (($8) + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx7>>2];
- $call8 = (_lrintf($10)|0);
- $cond10 = $call8;
- }
- }
- $conv = $cond10&65535;
- $11 = $out$addr;
- $12 = $k;
- $arrayidx11 = (($11) + ($12<<1)|0);
- HEAP16[$arrayidx11>>1] = $conv;
- $13 = $k;
- $dec = (($13) + -1)|0;
- $k = $dec;
- }
- STACKTOP = sp;return;
-}
-function _silk_short2float_array_327($out,$in,$length) {
- $out = $out|0;
- $in = $in|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $conv = 0.0, $dec = 0, $in$addr = 0, $k = 0, $length$addr = 0, $out$addr = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $out$addr = $out;
- $in$addr = $in;
- $length$addr = $length;
- $0 = $length$addr;
- $sub = (($0) - 1)|0;
- $k = $sub;
- while(1) {
- $1 = $k;
- $cmp = ($1|0)>=(0);
- if (!($cmp)) {
- break;
- }
- $2 = $in$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3<<1)|0);
- $4 = HEAP16[$arrayidx>>1]|0;
- $conv = (+($4<<16>>16));
- $5 = $out$addr;
- $6 = $k;
- $arrayidx1 = (($5) + ($6<<2)|0);
- HEAPF32[$arrayidx1>>2] = $conv;
- $7 = $k;
- $dec = (($7) + -1)|0;
- $k = $dec;
- }
- STACKTOP = sp;return;
-}
-function _silk_log2_328($x) {
- $x = +$x;
- var $0 = 0.0, $call = 0.0, $conv = 0.0, $mul = 0.0, $x$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $x$addr = $x;
- $0 = $x$addr;
- $call = (+_log10($0));
- $mul = 3.32192809488736 * $call;
- $conv = $mul;
- STACKTOP = sp;return (+$conv);
-}
-function _silk_max_int_329($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_min_int_330($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_P_Ana_calc_corr_st3($cross_corr_st3,$frame,$start_lag,$sf_length,$nb_subfr,$complexity,$arch) {
- $cross_corr_st3 = $cross_corr_st3|0;
- $frame = $frame|0;
- $start_lag = $start_lag|0;
- $sf_length = $sf_length|0;
- $nb_subfr = $nb_subfr|0;
- $complexity = $complexity|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Lag_CB_ptr = 0, $Lag_range_ptr = 0, $add = 0, $add$ptr = 0, $add$ptr10 = 0;
- var $add$ptr12 = 0, $add$ptr14 = 0, $add$ptr26 = 0, $add$ptr34 = 0, $add$ptr52 = 0, $add15 = 0, $add25 = 0, $add33 = 0, $add41 = 0, $add9 = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx21 = 0, $arrayidx22 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $arrayidx42 = 0, $arrayidx43 = 0, $arrayidx44 = 0, $arrayidx45 = 0;
- var $cbk_size = 0, $cmp = 0, $cmp17 = 0, $cmp29 = 0, $cmp38 = 0, $cmp5 = 0, $complexity$addr = 0, $conv = 0, $conv11 = 0, $conv27 = 0, $conv35 = 0, $conv7 = 0, $cross_corr_st3$addr = 0, $delta = 0, $frame$addr = 0, $i = 0, $idx = 0, $idx$neg = 0, $idx$neg13 = 0, $inc = 0;
- var $inc23 = 0, $inc47 = 0, $inc50 = 0, $inc54 = 0, $j = 0, $k = 0, $lag_counter = 0, $lag_high = 0, $lag_low = 0, $mul = 0, $mul24 = 0, $mul32 = 0, $mul8 = 0, $nb_cbk_search = 0, $nb_subfr$addr = 0, $scratch_mem = 0, $sf_length$addr = 0, $shl = 0, $start_lag$addr = 0, $sub = 0;
- var $sub20 = 0, $sub36 = 0, $target_ptr = 0, $xcorr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 256|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(256|0);
- $scratch_mem = sp + 96|0;
- $xcorr = sp + 8|0;
- $cross_corr_st3$addr = $cross_corr_st3;
- $frame$addr = $frame;
- $start_lag$addr = $start_lag;
- $sf_length$addr = $sf_length;
- $nb_subfr$addr = $nb_subfr;
- $complexity$addr = $complexity;
- $arch$addr = $arch;
- $0 = $nb_subfr$addr;
- $cmp = ($0|0)==(4);
- if ($cmp) {
- $1 = $complexity$addr;
- $arrayidx = (30917 + ($1<<3)|0);
- $Lag_range_ptr = $arrayidx;
- $Lag_CB_ptr = 30781;
- $2 = $complexity$addr;
- $arrayidx3 = (30941 + ($2)|0);
- $3 = HEAP8[$arrayidx3>>0]|0;
- $conv = $3 << 24 >> 24;
- $nb_cbk_search = $conv;
- $cbk_size = 34;
- } else {
- $Lag_range_ptr = 30733;
- $Lag_CB_ptr = 30709;
- $nb_cbk_search = 12;
- $cbk_size = 12;
- }
- $4 = $frame$addr;
- $5 = $sf_length$addr;
- $shl = $5 << 2;
- $arrayidx4 = (($4) + ($shl<<2)|0);
- $target_ptr = $arrayidx4;
- $k = 0;
- while(1) {
- $6 = $k;
- $7 = $nb_subfr$addr;
- $cmp5 = ($6|0)<($7|0);
- if (!($cmp5)) {
- break;
- }
- $lag_counter = 0;
- $8 = $Lag_range_ptr;
- $9 = $k;
- $mul = $9<<1;
- $add = (($mul) + 0)|0;
- $add$ptr = (($8) + ($add)|0);
- $10 = HEAP8[$add$ptr>>0]|0;
- $conv7 = $10 << 24 >> 24;
- $lag_low = $conv7;
- $11 = $Lag_range_ptr;
- $12 = $k;
- $mul8 = $12<<1;
- $add9 = (($mul8) + 1)|0;
- $add$ptr10 = (($11) + ($add9)|0);
- $13 = HEAP8[$add$ptr10>>0]|0;
- $conv11 = $13 << 24 >> 24;
- $lag_high = $conv11;
- $14 = $target_ptr;
- $15 = $target_ptr;
- $16 = $start_lag$addr;
- $idx$neg = (0 - ($16))|0;
- $add$ptr12 = (($15) + ($idx$neg<<2)|0);
- $17 = $lag_high;
- $idx$neg13 = (0 - ($17))|0;
- $add$ptr14 = (($add$ptr12) + ($idx$neg13<<2)|0);
- $18 = $sf_length$addr;
- $19 = $lag_high;
- $20 = $lag_low;
- $sub = (($19) - ($20))|0;
- $add15 = (($sub) + 1)|0;
- $21 = $arch$addr;
- _celt_pitch_xcorr($14,$add$ptr14,$xcorr,$18,$add15,$21);
- $22 = $lag_low;
- $j = $22;
- while(1) {
- $23 = $j;
- $24 = $lag_high;
- $cmp17 = ($23|0)<=($24|0);
- if (!($cmp17)) {
- break;
- }
- $25 = $lag_high;
- $26 = $j;
- $sub20 = (($25) - ($26))|0;
- $arrayidx21 = (($xcorr) + ($sub20<<2)|0);
- $27 = +HEAPF32[$arrayidx21>>2];
- $28 = $lag_counter;
- $arrayidx22 = (($scratch_mem) + ($28<<2)|0);
- HEAPF32[$arrayidx22>>2] = $27;
- $29 = $lag_counter;
- $inc = (($29) + 1)|0;
- $lag_counter = $inc;
- $30 = $j;
- $inc23 = (($30) + 1)|0;
- $j = $inc23;
- }
- $31 = $Lag_range_ptr;
- $32 = $k;
- $mul24 = $32<<1;
- $add25 = (($mul24) + 0)|0;
- $add$ptr26 = (($31) + ($add25)|0);
- $33 = HEAP8[$add$ptr26>>0]|0;
- $conv27 = $33 << 24 >> 24;
- $delta = $conv27;
- $i = 0;
- while(1) {
- $34 = $i;
- $35 = $nb_cbk_search;
- $cmp29 = ($34|0)<($35|0);
- if (!($cmp29)) {
- break;
- }
- $36 = $Lag_CB_ptr;
- $37 = $k;
- $38 = $cbk_size;
- $mul32 = Math_imul($37, $38)|0;
- $39 = $i;
- $add33 = (($mul32) + ($39))|0;
- $add$ptr34 = (($36) + ($add33)|0);
- $40 = HEAP8[$add$ptr34>>0]|0;
- $conv35 = $40 << 24 >> 24;
- $41 = $delta;
- $sub36 = (($conv35) - ($41))|0;
- $idx = $sub36;
- $j = 0;
- while(1) {
- $42 = $j;
- $cmp38 = ($42|0)<(5);
- if (!($cmp38)) {
- break;
- }
- $43 = $idx;
- $44 = $j;
- $add41 = (($43) + ($44))|0;
- $arrayidx42 = (($scratch_mem) + ($add41<<2)|0);
- $45 = +HEAPF32[$arrayidx42>>2];
- $46 = $cross_corr_st3$addr;
- $47 = $k;
- $arrayidx43 = (($46) + (($47*680)|0)|0);
- $48 = $i;
- $arrayidx44 = (($arrayidx43) + (($48*20)|0)|0);
- $49 = $j;
- $arrayidx45 = (($arrayidx44) + ($49<<2)|0);
- HEAPF32[$arrayidx45>>2] = $45;
- $50 = $j;
- $inc47 = (($50) + 1)|0;
- $j = $inc47;
- }
- $51 = $i;
- $inc50 = (($51) + 1)|0;
- $i = $inc50;
- }
- $52 = $sf_length$addr;
- $53 = $target_ptr;
- $add$ptr52 = (($53) + ($52<<2)|0);
- $target_ptr = $add$ptr52;
- $54 = $k;
- $inc54 = (($54) + 1)|0;
- $k = $inc54;
- }
- STACKTOP = sp;return;
-}
-function _silk_P_Ana_calc_energy_st3($energies_st3,$frame,$start_lag,$sf_length,$nb_subfr,$complexity) {
- $energies_st3 = $energies_st3|0;
- $frame = $frame|0;
- $start_lag = $start_lag|0;
- $sf_length = $sf_length|0;
- $nb_subfr = $nb_subfr|0;
- $complexity = $complexity|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $8 = 0, $9 = 0, $Lag_CB_ptr = 0, $Lag_range_ptr = 0, $add = 0, $add$ptr = 0, $add$ptr15 = 0, $add$ptr19 = 0, $add$ptr48 = 0, $add$ptr56 = 0, $add$ptr74 = 0, $add$ptr9 = 0;
- var $add10 = 0.0, $add14 = 0, $add18 = 0, $add21 = 0, $add41 = 0.0, $add47 = 0, $add55 = 0, $add63 = 0, $add8 = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx27 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx35 = 0, $arrayidx38 = 0, $arrayidx4 = 0, $arrayidx43 = 0, $arrayidx64 = 0, $arrayidx65 = 0;
- var $arrayidx66 = 0, $arrayidx67 = 0, $basis_ptr = 0, $call = 0.0, $cbk_size = 0, $cmp = 0, $cmp23 = 0, $cmp5 = 0, $cmp51 = 0, $cmp60 = 0, $complexity$addr = 0, $conv = 0, $conv11 = 0.0, $conv16 = 0, $conv20 = 0, $conv28 = 0.0, $conv31 = 0.0, $conv36 = 0.0, $conv39 = 0.0, $conv42 = 0.0;
- var $conv49 = 0, $conv57 = 0, $conv7 = 0, $delta = 0, $energies_st3$addr = 0, $energy = 0.0, $frame$addr = 0, $i = 0, $idx = 0, $idx$neg = 0, $inc = 0, $inc44 = 0, $inc45 = 0, $inc69 = 0, $inc72 = 0, $inc76 = 0, $j = 0, $k = 0, $lag_counter = 0, $lag_diff = 0;
- var $mul = 0, $mul13 = 0, $mul17 = 0, $mul32 = 0.0, $mul40 = 0.0, $mul46 = 0, $mul54 = 0, $nb_cbk_search = 0, $nb_subfr$addr = 0, $scratch_mem = 0, $sf_length$addr = 0, $shl = 0, $start_lag$addr = 0, $sub = 0, $sub26 = 0, $sub29 = 0, $sub33 = 0.0, $sub34 = 0, $sub37 = 0, $sub58 = 0;
- var $target_ptr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
- $scratch_mem = sp + 16|0;
- $energies_st3$addr = $energies_st3;
- $frame$addr = $frame;
- $start_lag$addr = $start_lag;
- $sf_length$addr = $sf_length;
- $nb_subfr$addr = $nb_subfr;
- $complexity$addr = $complexity;
- $0 = $nb_subfr$addr;
- $cmp = ($0|0)==(4);
- if ($cmp) {
- $1 = $complexity$addr;
- $arrayidx = (30917 + ($1<<3)|0);
- $Lag_range_ptr = $arrayidx;
- $Lag_CB_ptr = 30781;
- $2 = $complexity$addr;
- $arrayidx3 = (30941 + ($2)|0);
- $3 = HEAP8[$arrayidx3>>0]|0;
- $conv = $3 << 24 >> 24;
- $nb_cbk_search = $conv;
- $cbk_size = 34;
- } else {
- $Lag_range_ptr = 30733;
- $Lag_CB_ptr = 30709;
- $nb_cbk_search = 12;
- $cbk_size = 12;
- }
- $4 = $frame$addr;
- $5 = $sf_length$addr;
- $shl = $5 << 2;
- $arrayidx4 = (($4) + ($shl<<2)|0);
- $target_ptr = $arrayidx4;
- $k = 0;
- while(1) {
- $6 = $k;
- $7 = $nb_subfr$addr;
- $cmp5 = ($6|0)<($7|0);
- if (!($cmp5)) {
- break;
- }
- $lag_counter = 0;
- $8 = $target_ptr;
- $9 = $start_lag$addr;
- $10 = $Lag_range_ptr;
- $11 = $k;
- $mul = $11<<1;
- $add = (($mul) + 0)|0;
- $add$ptr = (($10) + ($add)|0);
- $12 = HEAP8[$add$ptr>>0]|0;
- $conv7 = $12 << 24 >> 24;
- $add8 = (($9) + ($conv7))|0;
- $idx$neg = (0 - ($add8))|0;
- $add$ptr9 = (($8) + ($idx$neg<<2)|0);
- $basis_ptr = $add$ptr9;
- $13 = $basis_ptr;
- $14 = $sf_length$addr;
- $call = (+_silk_energy_FLP($13,$14));
- $add10 = $call + 0.001;
- $energy = $add10;
- $15 = $energy;
- $conv11 = $15;
- $16 = $lag_counter;
- $arrayidx12 = (($scratch_mem) + ($16<<2)|0);
- HEAPF32[$arrayidx12>>2] = $conv11;
- $17 = $lag_counter;
- $inc = (($17) + 1)|0;
- $lag_counter = $inc;
- $18 = $Lag_range_ptr;
- $19 = $k;
- $mul13 = $19<<1;
- $add14 = (($mul13) + 1)|0;
- $add$ptr15 = (($18) + ($add14)|0);
- $20 = HEAP8[$add$ptr15>>0]|0;
- $conv16 = $20 << 24 >> 24;
- $21 = $Lag_range_ptr;
- $22 = $k;
- $mul17 = $22<<1;
- $add18 = (($mul17) + 0)|0;
- $add$ptr19 = (($21) + ($add18)|0);
- $23 = HEAP8[$add$ptr19>>0]|0;
- $conv20 = $23 << 24 >> 24;
- $sub = (($conv16) - ($conv20))|0;
- $add21 = (($sub) + 1)|0;
- $lag_diff = $add21;
- $i = 1;
- while(1) {
- $24 = $i;
- $25 = $lag_diff;
- $cmp23 = ($24|0)<($25|0);
- if (!($cmp23)) {
- break;
- }
- $26 = $basis_ptr;
- $27 = $sf_length$addr;
- $28 = $i;
- $sub26 = (($27) - ($28))|0;
- $arrayidx27 = (($26) + ($sub26<<2)|0);
- $29 = +HEAPF32[$arrayidx27>>2];
- $conv28 = $29;
- $30 = $basis_ptr;
- $31 = $sf_length$addr;
- $32 = $i;
- $sub29 = (($31) - ($32))|0;
- $arrayidx30 = (($30) + ($sub29<<2)|0);
- $33 = +HEAPF32[$arrayidx30>>2];
- $conv31 = $33;
- $mul32 = $conv28 * $conv31;
- $34 = $energy;
- $sub33 = $34 - $mul32;
- $energy = $sub33;
- $35 = $basis_ptr;
- $36 = $i;
- $sub34 = (0 - ($36))|0;
- $arrayidx35 = (($35) + ($sub34<<2)|0);
- $37 = +HEAPF32[$arrayidx35>>2];
- $conv36 = $37;
- $38 = $basis_ptr;
- $39 = $i;
- $sub37 = (0 - ($39))|0;
- $arrayidx38 = (($38) + ($sub37<<2)|0);
- $40 = +HEAPF32[$arrayidx38>>2];
- $conv39 = $40;
- $mul40 = $conv36 * $conv39;
- $41 = $energy;
- $add41 = $41 + $mul40;
- $energy = $add41;
- $42 = $energy;
- $conv42 = $42;
- $43 = $lag_counter;
- $arrayidx43 = (($scratch_mem) + ($43<<2)|0);
- HEAPF32[$arrayidx43>>2] = $conv42;
- $44 = $lag_counter;
- $inc44 = (($44) + 1)|0;
- $lag_counter = $inc44;
- $45 = $i;
- $inc45 = (($45) + 1)|0;
- $i = $inc45;
- }
- $46 = $Lag_range_ptr;
- $47 = $k;
- $mul46 = $47<<1;
- $add47 = (($mul46) + 0)|0;
- $add$ptr48 = (($46) + ($add47)|0);
- $48 = HEAP8[$add$ptr48>>0]|0;
- $conv49 = $48 << 24 >> 24;
- $delta = $conv49;
- $i = 0;
- while(1) {
- $49 = $i;
- $50 = $nb_cbk_search;
- $cmp51 = ($49|0)<($50|0);
- if (!($cmp51)) {
- break;
- }
- $51 = $Lag_CB_ptr;
- $52 = $k;
- $53 = $cbk_size;
- $mul54 = Math_imul($52, $53)|0;
- $54 = $i;
- $add55 = (($mul54) + ($54))|0;
- $add$ptr56 = (($51) + ($add55)|0);
- $55 = HEAP8[$add$ptr56>>0]|0;
- $conv57 = $55 << 24 >> 24;
- $56 = $delta;
- $sub58 = (($conv57) - ($56))|0;
- $idx = $sub58;
- $j = 0;
- while(1) {
- $57 = $j;
- $cmp60 = ($57|0)<(5);
- if (!($cmp60)) {
- break;
- }
- $58 = $idx;
- $59 = $j;
- $add63 = (($58) + ($59))|0;
- $arrayidx64 = (($scratch_mem) + ($add63<<2)|0);
- $60 = +HEAPF32[$arrayidx64>>2];
- $61 = $energies_st3$addr;
- $62 = $k;
- $arrayidx65 = (($61) + (($62*680)|0)|0);
- $63 = $i;
- $arrayidx66 = (($arrayidx65) + (($63*20)|0)|0);
- $64 = $j;
- $arrayidx67 = (($arrayidx66) + ($64<<2)|0);
- HEAPF32[$arrayidx67>>2] = $60;
- $65 = $j;
- $inc69 = (($65) + 1)|0;
- $j = $inc69;
- }
- $66 = $i;
- $inc72 = (($66) + 1)|0;
- $i = $inc72;
- }
- $67 = $sf_length$addr;
- $68 = $target_ptr;
- $add$ptr74 = (($68) + ($67<<2)|0);
- $target_ptr = $add$ptr74;
- $69 = $k;
- $inc76 = (($69) + 1)|0;
- $k = $inc76;
- }
- STACKTOP = sp;return;
-}
-function _silk_scale_copy_vector_FLP($data_out,$data_in,$gain,$dataSize) {
- $data_out = $data_out|0;
- $data_in = $data_in|0;
- $gain = +$gain;
- $dataSize = $dataSize|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $4 = 0, $5 = 0, $6 = 0.0, $7 = 0, $8 = 0, $9 = 0.0, $add = 0, $add1 = 0, $add11 = 0;
- var $add13 = 0, $add16 = 0, $add18 = 0, $add3 = 0, $add6 = 0, $add8 = 0, $and = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx14 = 0, $arrayidx17 = 0, $arrayidx2 = 0, $arrayidx22 = 0, $arrayidx24 = 0, $arrayidx4 = 0, $arrayidx7 = 0, $arrayidx9 = 0, $cmp = 0, $cmp20 = 0, $dataSize$addr = 0;
- var $dataSize4 = 0, $data_in$addr = 0, $data_out$addr = 0, $gain$addr = 0.0, $i = 0, $inc = 0, $mul = 0.0, $mul10 = 0.0, $mul15 = 0.0, $mul23 = 0.0, $mul5 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $data_out$addr = $data_out;
- $data_in$addr = $data_in;
- $gain$addr = $gain;
- $dataSize$addr = $dataSize;
- $0 = $dataSize$addr;
- $and = $0 & 65532;
- $dataSize4 = $and;
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $dataSize4;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $gain$addr;
- $4 = $data_in$addr;
- $5 = $i;
- $add = (($5) + 0)|0;
- $arrayidx = (($4) + ($add<<2)|0);
- $6 = +HEAPF32[$arrayidx>>2];
- $mul = $3 * $6;
- $7 = $data_out$addr;
- $8 = $i;
- $add1 = (($8) + 0)|0;
- $arrayidx2 = (($7) + ($add1<<2)|0);
- HEAPF32[$arrayidx2>>2] = $mul;
- $9 = $gain$addr;
- $10 = $data_in$addr;
- $11 = $i;
- $add3 = (($11) + 1)|0;
- $arrayidx4 = (($10) + ($add3<<2)|0);
- $12 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $12;
- $13 = $data_out$addr;
- $14 = $i;
- $add6 = (($14) + 1)|0;
- $arrayidx7 = (($13) + ($add6<<2)|0);
- HEAPF32[$arrayidx7>>2] = $mul5;
- $15 = $gain$addr;
- $16 = $data_in$addr;
- $17 = $i;
- $add8 = (($17) + 2)|0;
- $arrayidx9 = (($16) + ($add8<<2)|0);
- $18 = +HEAPF32[$arrayidx9>>2];
- $mul10 = $15 * $18;
- $19 = $data_out$addr;
- $20 = $i;
- $add11 = (($20) + 2)|0;
- $arrayidx12 = (($19) + ($add11<<2)|0);
- HEAPF32[$arrayidx12>>2] = $mul10;
- $21 = $gain$addr;
- $22 = $data_in$addr;
- $23 = $i;
- $add13 = (($23) + 3)|0;
- $arrayidx14 = (($22) + ($add13<<2)|0);
- $24 = +HEAPF32[$arrayidx14>>2];
- $mul15 = $21 * $24;
- $25 = $data_out$addr;
- $26 = $i;
- $add16 = (($26) + 3)|0;
- $arrayidx17 = (($25) + ($add16<<2)|0);
- HEAPF32[$arrayidx17>>2] = $mul15;
- $27 = $i;
- $add18 = (($27) + 4)|0;
- $i = $add18;
- }
- while(1) {
- $28 = $i;
- $29 = $dataSize$addr;
- $cmp20 = ($28|0)<($29|0);
- if (!($cmp20)) {
- break;
- }
- $30 = $gain$addr;
- $31 = $data_in$addr;
- $32 = $i;
- $arrayidx22 = (($31) + ($32<<2)|0);
- $33 = +HEAPF32[$arrayidx22>>2];
- $mul23 = $30 * $33;
- $34 = $data_out$addr;
- $35 = $i;
- $arrayidx24 = (($34) + ($35<<2)|0);
- HEAPF32[$arrayidx24>>2] = $mul23;
- $36 = $i;
- $inc = (($36) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_schur_FLP($refl_coef,$auto_corr,$order) {
- $refl_coef = $refl_coef|0;
- $auto_corr = $auto_corr|0;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
- var $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $4 = 0.0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C = 0, $Ctmp1 = 0.0, $Ctmp2 = 0.0;
- var $add = 0, $add21 = 0, $add22 = 0, $add27 = 0.0, $add28 = 0, $add29 = 0, $add33 = 0.0, $add8 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx12 = 0, $arrayidx15 = 0, $arrayidx16 = 0, $arrayidx2 = 0, $arrayidx23 = 0, $arrayidx25 = 0, $arrayidx26 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx34 = 0;
- var $arrayidx35 = 0, $arrayidx43 = 0, $arrayidx9 = 0, $auto_corr$addr = 0, $cmp = 0, $cmp13 = 0, $cmp19 = 0, $cmp6 = 0, $cond = 0.0, $div = 0.0, $inc = 0, $inc37 = 0, $inc40 = 0, $k = 0, $mul = 0.0, $mul32 = 0.0, $n = 0, $order$addr = 0, $rc_tmp = 0.0, $refl_coef$addr = 0;
- var $sub = 0.0, $sub18 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
- $C = sp + 16|0;
- $refl_coef$addr = $refl_coef;
- $auto_corr$addr = $auto_corr;
- $order$addr = $order;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $order$addr;
- $add = (($1) + 1)|0;
- $cmp = ($0|0)<($add|0);
- if (!($cmp)) {
- break;
- }
- $2 = $auto_corr$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx>>2];
- $5 = $k;
- $arrayidx1 = (($C) + ($5<<3)|0);
- $arrayidx2 = ((($arrayidx1)) + 4|0);
- HEAPF32[$arrayidx2>>2] = $4;
- $6 = $k;
- $arrayidx3 = (($C) + ($6<<3)|0);
- HEAPF32[$arrayidx3>>2] = $4;
- $7 = $k;
- $inc = (($7) + 1)|0;
- $k = $inc;
- }
- $k = 0;
- while(1) {
- $8 = $k;
- $9 = $order$addr;
- $cmp6 = ($8|0)<($9|0);
- if (!($cmp6)) {
- break;
- }
- $10 = $k;
- $add8 = (($10) + 1)|0;
- $arrayidx9 = (($C) + ($add8<<3)|0);
- $11 = +HEAPF32[$arrayidx9>>2];
- $sub = - $11;
- $arrayidx12 = ((($C)) + 4|0);
- $12 = +HEAPF32[$arrayidx12>>2];
- $cmp13 = $12 > 9.9999997171806853E-10;
- $arrayidx15 = ((($C)) + 4|0);
- $13 = +HEAPF32[$arrayidx15>>2];
- $cond = $cmp13 ? $13 : 9.9999997171806853E-10;
- $div = $sub / $cond;
- $rc_tmp = $div;
- $14 = $rc_tmp;
- $15 = $refl_coef$addr;
- $16 = $k;
- $arrayidx16 = (($15) + ($16<<2)|0);
- HEAPF32[$arrayidx16>>2] = $14;
- $n = 0;
- while(1) {
- $17 = $n;
- $18 = $order$addr;
- $19 = $k;
- $sub18 = (($18) - ($19))|0;
- $cmp19 = ($17|0)<($sub18|0);
- if (!($cmp19)) {
- break;
- }
- $20 = $n;
- $21 = $k;
- $add21 = (($20) + ($21))|0;
- $add22 = (($add21) + 1)|0;
- $arrayidx23 = (($C) + ($add22<<3)|0);
- $22 = +HEAPF32[$arrayidx23>>2];
- $Ctmp1 = $22;
- $23 = $n;
- $arrayidx25 = (($C) + ($23<<3)|0);
- $arrayidx26 = ((($arrayidx25)) + 4|0);
- $24 = +HEAPF32[$arrayidx26>>2];
- $Ctmp2 = $24;
- $25 = $Ctmp1;
- $26 = $Ctmp2;
- $27 = $rc_tmp;
- $mul = $26 * $27;
- $add27 = $25 + $mul;
- $28 = $n;
- $29 = $k;
- $add28 = (($28) + ($29))|0;
- $add29 = (($add28) + 1)|0;
- $arrayidx30 = (($C) + ($add29<<3)|0);
- HEAPF32[$arrayidx30>>2] = $add27;
- $30 = $Ctmp2;
- $31 = $Ctmp1;
- $32 = $rc_tmp;
- $mul32 = $31 * $32;
- $add33 = $30 + $mul32;
- $33 = $n;
- $arrayidx34 = (($C) + ($33<<3)|0);
- $arrayidx35 = ((($arrayidx34)) + 4|0);
- HEAPF32[$arrayidx35>>2] = $add33;
- $34 = $n;
- $inc37 = (($34) + 1)|0;
- $n = $inc37;
- }
- $35 = $k;
- $inc40 = (($35) + 1)|0;
- $k = $inc40;
- }
- $arrayidx43 = ((($C)) + 4|0);
- $36 = +HEAPF32[$arrayidx43>>2];
- STACKTOP = sp;return (+$36);
-}
-function _silk_insertion_sort_decreasing_FLP($a,$idx,$L,$K) {
- $a = $a|0;
- $idx = $idx|0;
- $L = $L|0;
- $K = $K|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0.0;
- var $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $7 = 0, $8 = 0, $9 = 0, $K$addr = 0, $L$addr = 0, $a$addr = 0, $add = 0, $add13 = 0, $add17 = 0, $add19 = 0, $add40 = 0, $add43 = 0, $add48 = 0, $add50 = 0;
- var $arrayidx = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx14 = 0, $arrayidx18 = 0, $arrayidx20 = 0, $arrayidx27 = 0, $arrayidx29 = 0, $arrayidx35 = 0, $arrayidx39 = 0, $arrayidx4 = 0, $arrayidx41 = 0, $arrayidx42 = 0, $arrayidx44 = 0, $arrayidx49 = 0, $arrayidx51 = 0, $arrayidx7 = 0, $cmp = 0, $cmp2 = 0;
- var $cmp25 = 0, $cmp30 = 0, $cmp33 = 0, $cmp36 = 0, $cmp6 = 0, $cmp8 = 0, $dec = 0, $dec46 = 0, $i = 0, $idx$addr = 0, $inc = 0, $inc22 = 0, $inc53 = 0, $j = 0, $sub = 0, $sub28 = 0, $sub31 = 0, $value = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a$addr = $a;
- $idx$addr = $idx;
- $L$addr = $L;
- $K$addr = $K;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $K$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $i;
- $3 = $idx$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- HEAP32[$arrayidx>>2] = $2;
- $5 = $i;
- $inc = (($5) + 1)|0;
- $i = $inc;
- }
- $i = 1;
- while(1) {
- $6 = $i;
- $7 = $K$addr;
- $cmp2 = ($6|0)<($7|0);
- if (!($cmp2)) {
- break;
- }
- $8 = $a$addr;
- $9 = $i;
- $arrayidx4 = (($8) + ($9<<2)|0);
- $10 = +HEAPF32[$arrayidx4>>2];
- $value = $10;
- $11 = $i;
- $sub = (($11) - 1)|0;
- $j = $sub;
- while(1) {
- $12 = $j;
- $cmp6 = ($12|0)>=(0);
- if (!($cmp6)) {
- break;
- }
- $13 = $value;
- $14 = $a$addr;
- $15 = $j;
- $arrayidx7 = (($14) + ($15<<2)|0);
- $16 = +HEAPF32[$arrayidx7>>2];
- $cmp8 = $13 > $16;
- if (!($cmp8)) {
- break;
- }
- $17 = $a$addr;
- $18 = $j;
- $arrayidx10 = (($17) + ($18<<2)|0);
- $19 = +HEAPF32[$arrayidx10>>2];
- $20 = $a$addr;
- $21 = $j;
- $add = (($21) + 1)|0;
- $arrayidx11 = (($20) + ($add<<2)|0);
- HEAPF32[$arrayidx11>>2] = $19;
- $22 = $idx$addr;
- $23 = $j;
- $arrayidx12 = (($22) + ($23<<2)|0);
- $24 = HEAP32[$arrayidx12>>2]|0;
- $25 = $idx$addr;
- $26 = $j;
- $add13 = (($26) + 1)|0;
- $arrayidx14 = (($25) + ($add13<<2)|0);
- HEAP32[$arrayidx14>>2] = $24;
- $27 = $j;
- $dec = (($27) + -1)|0;
- $j = $dec;
- }
- $28 = $value;
- $29 = $a$addr;
- $30 = $j;
- $add17 = (($30) + 1)|0;
- $arrayidx18 = (($29) + ($add17<<2)|0);
- HEAPF32[$arrayidx18>>2] = $28;
- $31 = $i;
- $32 = $idx$addr;
- $33 = $j;
- $add19 = (($33) + 1)|0;
- $arrayidx20 = (($32) + ($add19<<2)|0);
- HEAP32[$arrayidx20>>2] = $31;
- $34 = $i;
- $inc22 = (($34) + 1)|0;
- $i = $inc22;
- }
- $35 = $K$addr;
- $i = $35;
- while(1) {
- $36 = $i;
- $37 = $L$addr;
- $cmp25 = ($36|0)<($37|0);
- if (!($cmp25)) {
- break;
- }
- $38 = $a$addr;
- $39 = $i;
- $arrayidx27 = (($38) + ($39<<2)|0);
- $40 = +HEAPF32[$arrayidx27>>2];
- $value = $40;
- $41 = $value;
- $42 = $a$addr;
- $43 = $K$addr;
- $sub28 = (($43) - 1)|0;
- $arrayidx29 = (($42) + ($sub28<<2)|0);
- $44 = +HEAPF32[$arrayidx29>>2];
- $cmp30 = $41 > $44;
- if ($cmp30) {
- $45 = $K$addr;
- $sub31 = (($45) - 2)|0;
- $j = $sub31;
- while(1) {
- $46 = $j;
- $cmp33 = ($46|0)>=(0);
- if (!($cmp33)) {
- break;
- }
- $47 = $value;
- $48 = $a$addr;
- $49 = $j;
- $arrayidx35 = (($48) + ($49<<2)|0);
- $50 = +HEAPF32[$arrayidx35>>2];
- $cmp36 = $47 > $50;
- if (!($cmp36)) {
- break;
- }
- $51 = $a$addr;
- $52 = $j;
- $arrayidx39 = (($51) + ($52<<2)|0);
- $53 = +HEAPF32[$arrayidx39>>2];
- $54 = $a$addr;
- $55 = $j;
- $add40 = (($55) + 1)|0;
- $arrayidx41 = (($54) + ($add40<<2)|0);
- HEAPF32[$arrayidx41>>2] = $53;
- $56 = $idx$addr;
- $57 = $j;
- $arrayidx42 = (($56) + ($57<<2)|0);
- $58 = HEAP32[$arrayidx42>>2]|0;
- $59 = $idx$addr;
- $60 = $j;
- $add43 = (($60) + 1)|0;
- $arrayidx44 = (($59) + ($add43<<2)|0);
- HEAP32[$arrayidx44>>2] = $58;
- $61 = $j;
- $dec46 = (($61) + -1)|0;
- $j = $dec46;
- }
- $62 = $value;
- $63 = $a$addr;
- $64 = $j;
- $add48 = (($64) + 1)|0;
- $arrayidx49 = (($63) + ($add48<<2)|0);
- HEAPF32[$arrayidx49>>2] = $62;
- $65 = $i;
- $66 = $idx$addr;
- $67 = $j;
- $add50 = (($67) + 1)|0;
- $arrayidx51 = (($66) + ($add50<<2)|0);
- HEAP32[$arrayidx51>>2] = $65;
- }
- $68 = $i;
- $inc53 = (($68) + 1)|0;
- $i = $inc53;
- }
- STACKTOP = sp;return;
-}
-function _opus_pcm_soft_clip($_x,$N,$C,$declip_mem) {
- $_x = $_x|0;
- $N = $N|0;
- $C = $C|0;
- $declip_mem = $declip_mem|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0.0, $115 = 0.0;
- var $116 = 0.0, $117 = 0, $118 = 0, $119 = 0, $12 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0.0, $129 = 0.0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0.0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0.0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0.0, $145 = 0, $146 = 0.0, $147 = 0.0, $148 = 0, $149 = 0, $15 = 0.0, $150 = 0, $151 = 0;
- var $152 = 0.0, $153 = 0.0, $154 = 0.0, $155 = 0, $156 = 0, $157 = 0, $158 = 0.0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0.0, $171 = 0, $172 = 0, $173 = 0, $174 = 0.0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0.0, $180 = 0, $181 = 0, $182 = 0.0, $183 = 0, $184 = 0, $185 = 0, $19 = 0, $2 = 0, $20 = 0;
- var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0;
- var $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0;
- var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0;
- var $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0.0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0;
- var $94 = 0.0, $95 = 0, $96 = 0, $97 = 0, $98 = 0.0, $99 = 0.0, $C$addr = 0, $N$addr = 0, $_x$addr = 0, $a = 0.0, $add = 0.0, $add$ptr = 0, $add140 = 0.0, $add161 = 0.0, $arrayidx = 0, $arrayidx102 = 0, $arrayidx11 = 0, $arrayidx113 = 0, $arrayidx122 = 0, $arrayidx133 = 0;
- var $arrayidx135 = 0, $arrayidx138 = 0, $arrayidx142 = 0, $arrayidx15 = 0, $arrayidx160 = 0, $arrayidx163 = 0, $arrayidx169 = 0, $arrayidx177 = 0, $arrayidx183 = 0, $arrayidx189 = 0, $arrayidx199 = 0, $arrayidx20 = 0, $arrayidx24 = 0, $arrayidx29 = 0, $arrayidx35 = 0, $arrayidx37 = 0, $arrayidx40 = 0, $arrayidx43 = 0, $arrayidx52 = 0, $arrayidx56 = 0;
- var $arrayidx67 = 0, $arrayidx7 = 0, $arrayidx73 = 0, $arrayidx75 = 0, $arrayidx85 = 0, $arrayidx87 = 0, $arrayidx94 = 0, $c = 0, $call = 0.0, $call104 = 0.0, $call96 = 0.0, $cmp = 0, $cmp1 = 0, $cmp109 = 0, $cmp116 = 0, $cmp12 = 0, $cmp123 = 0, $cmp129 = 0, $cmp147 = 0, $cmp155 = 0;
- var $cmp164 = 0, $cmp172 = 0, $cmp178 = 0, $cmp194 = 0, $cmp22 = 0, $cmp26 = 0, $cmp31 = 0, $cmp49 = 0, $cmp5 = 0, $cmp53 = 0, $cmp57 = 0, $cmp6 = 0, $cmp63 = 0, $cmp70 = 0, $cmp77 = 0, $cmp8 = 0, $cmp81 = 0, $cmp89 = 0, $cmp98 = 0, $cond = 0.0;
- var $cond171 = 0.0, $cond187 = 0.0, $cond19 = 0.0, $conv = 0.0, $conv103 = 0.0, $conv105 = 0.0, $conv152 = 0.0, $conv68 = 0.0, $conv95 = 0.0, $conv97 = 0.0, $curr = 0, $dec = 0, $declip_mem$addr = 0, $delta = 0.0, $div = 0.0, $div153 = 0.0, $end = 0, $i = 0, $inc = 0, $inc107 = 0;
- var $inc144 = 0, $inc191 = 0, $inc201 = 0, $inc45 = 0, $inc61 = 0, $land$ext = 0, $maxval = 0.0, $mul = 0, $mul101 = 0, $mul112 = 0, $mul115 = 0.0, $mul120 = 0.0, $mul121 = 0, $mul132 = 0, $mul134 = 0, $mul136 = 0.0, $mul137 = 0, $mul139 = 0.0, $mul141 = 0, $mul159 = 0;
- var $mul162 = 0, $mul168 = 0, $mul176 = 0, $mul182 = 0, $mul188 = 0, $mul28 = 0, $mul30 = 0.0, $mul34 = 0, $mul36 = 0, $mul38 = 0.0, $mul39 = 0, $mul41 = 0.0, $mul42 = 0, $mul51 = 0, $mul55 = 0, $mul66 = 0, $mul72 = 0, $mul74 = 0, $mul76 = 0.0, $mul84 = 0;
- var $mul86 = 0, $mul88 = 0.0, $mul93 = 0, $offset = 0.0, $or$cond = 0, $or$cond$not = 0, $or$cond1 = 0, $or$cond2 = 0, $or$cond3 = 0, $peak_pos = 0, $special = 0, $start = 0, $sub = 0, $sub119 = 0.0, $sub126 = 0.0, $sub151 = 0.0, $sub158 = 0.0, $tobool = 0, $tobool146 = 0, $tobool4 = 0;
- var $x = 0, $x0 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $_x$addr = $_x;
- $N$addr = $N;
- $C$addr = $C;
- $declip_mem$addr = $declip_mem;
- $0 = $C$addr;
- $cmp = ($0|0)<(1);
- $1 = $N$addr;
- $cmp1 = ($1|0)<(1);
- $or$cond = $cmp | $cmp1;
- $or$cond$not = $or$cond ^ 1;
- $2 = $_x$addr;
- $tobool = ($2|0)!=(0|0);
- $or$cond1 = $or$cond$not & $tobool;
- $3 = $declip_mem$addr;
- $tobool4 = ($3|0)!=(0|0);
- $or$cond2 = $or$cond1 & $tobool4;
- if (!($or$cond2)) {
- STACKTOP = sp;return;
- }
- $i = 0;
- while(1) {
- $4 = $i;
- $5 = $N$addr;
- $6 = $C$addr;
- $mul = Math_imul($5, $6)|0;
- $cmp5 = ($4|0)<($mul|0);
- if (!($cmp5)) {
- break;
- }
- $7 = $_x$addr;
- $8 = $i;
- $arrayidx = (($7) + ($8<<2)|0);
- $9 = +HEAPF32[$arrayidx>>2];
- $cmp6 = 2.0 < $9;
- if ($cmp6) {
- $cond = 2.0;
- } else {
- $10 = $_x$addr;
- $11 = $i;
- $arrayidx7 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx7>>2];
- $cond = $12;
- }
- $cmp8 = -2.0 > $cond;
- if ($cmp8) {
- $cond19 = -2.0;
- } else {
- $13 = $_x$addr;
- $14 = $i;
- $arrayidx11 = (($13) + ($14<<2)|0);
- $15 = +HEAPF32[$arrayidx11>>2];
- $cmp12 = 2.0 < $15;
- if ($cmp12) {
- $cond19 = 2.0;
- } else {
- $16 = $_x$addr;
- $17 = $i;
- $arrayidx15 = (($16) + ($17<<2)|0);
- $18 = +HEAPF32[$arrayidx15>>2];
- $cond19 = $18;
- }
- }
- $19 = $_x$addr;
- $20 = $i;
- $arrayidx20 = (($19) + ($20<<2)|0);
- HEAPF32[$arrayidx20>>2] = $cond19;
- $21 = $i;
- $inc = (($21) + 1)|0;
- $i = $inc;
- }
- $c = 0;
- while(1) {
- $22 = $c;
- $23 = $C$addr;
- $cmp22 = ($22|0)<($23|0);
- if (!($cmp22)) {
- break;
- }
- $24 = $_x$addr;
- $25 = $c;
- $add$ptr = (($24) + ($25<<2)|0);
- $x = $add$ptr;
- $26 = $declip_mem$addr;
- $27 = $c;
- $arrayidx24 = (($26) + ($27<<2)|0);
- $28 = +HEAPF32[$arrayidx24>>2];
- $a = $28;
- $i = 0;
- while(1) {
- $29 = $i;
- $30 = $N$addr;
- $cmp26 = ($29|0)<($30|0);
- if (!($cmp26)) {
- break;
- }
- $31 = $x;
- $32 = $i;
- $33 = $C$addr;
- $mul28 = Math_imul($32, $33)|0;
- $arrayidx29 = (($31) + ($mul28<<2)|0);
- $34 = +HEAPF32[$arrayidx29>>2];
- $35 = $a;
- $mul30 = $34 * $35;
- $cmp31 = $mul30 >= 0.0;
- if ($cmp31) {
- break;
- }
- $36 = $x;
- $37 = $i;
- $38 = $C$addr;
- $mul34 = Math_imul($37, $38)|0;
- $arrayidx35 = (($36) + ($mul34<<2)|0);
- $39 = +HEAPF32[$arrayidx35>>2];
- $40 = $a;
- $41 = $x;
- $42 = $i;
- $43 = $C$addr;
- $mul36 = Math_imul($42, $43)|0;
- $arrayidx37 = (($41) + ($mul36<<2)|0);
- $44 = +HEAPF32[$arrayidx37>>2];
- $mul38 = $40 * $44;
- $45 = $x;
- $46 = $i;
- $47 = $C$addr;
- $mul39 = Math_imul($46, $47)|0;
- $arrayidx40 = (($45) + ($mul39<<2)|0);
- $48 = +HEAPF32[$arrayidx40>>2];
- $mul41 = $mul38 * $48;
- $add = $39 + $mul41;
- $49 = $x;
- $50 = $i;
- $51 = $C$addr;
- $mul42 = Math_imul($50, $51)|0;
- $arrayidx43 = (($49) + ($mul42<<2)|0);
- HEAPF32[$arrayidx43>>2] = $add;
- $52 = $i;
- $inc45 = (($52) + 1)|0;
- $i = $inc45;
- }
- $curr = 0;
- $53 = $x;
- $54 = +HEAPF32[$53>>2];
- $x0 = $54;
- while(1) {
- $special = 0;
- $55 = $curr;
- $i = $55;
- while(1) {
- $56 = $i;
- $57 = $N$addr;
- $cmp49 = ($56|0)<($57|0);
- if (!($cmp49)) {
- break;
- }
- $58 = $x;
- $59 = $i;
- $60 = $C$addr;
- $mul51 = Math_imul($59, $60)|0;
- $arrayidx52 = (($58) + ($mul51<<2)|0);
- $61 = +HEAPF32[$arrayidx52>>2];
- $cmp53 = $61 > 1.0;
- if ($cmp53) {
- break;
- }
- $62 = $x;
- $63 = $i;
- $64 = $C$addr;
- $mul55 = Math_imul($63, $64)|0;
- $arrayidx56 = (($62) + ($mul55<<2)|0);
- $65 = +HEAPF32[$arrayidx56>>2];
- $cmp57 = $65 < -1.0;
- if ($cmp57) {
- break;
- }
- $66 = $i;
- $inc61 = (($66) + 1)|0;
- $i = $inc61;
- }
- $67 = $i;
- $68 = $N$addr;
- $cmp63 = ($67|0)==($68|0);
- if ($cmp63) {
- label = 23;
- break;
- }
- $69 = $i;
- $peak_pos = $69;
- $70 = $i;
- $end = $70;
- $start = $70;
- $71 = $x;
- $72 = $i;
- $73 = $C$addr;
- $mul66 = Math_imul($72, $73)|0;
- $arrayidx67 = (($71) + ($mul66<<2)|0);
- $74 = +HEAPF32[$arrayidx67>>2];
- $conv = $74;
- $call = (+Math_abs((+$conv)));
- $conv68 = $call;
- $maxval = $conv68;
- while(1) {
- $75 = $start;
- $cmp70 = ($75|0)>(0);
- if (!($cmp70)) {
- break;
- }
- $76 = $x;
- $77 = $i;
- $78 = $C$addr;
- $mul72 = Math_imul($77, $78)|0;
- $arrayidx73 = (($76) + ($mul72<<2)|0);
- $79 = +HEAPF32[$arrayidx73>>2];
- $80 = $x;
- $81 = $start;
- $sub = (($81) - 1)|0;
- $82 = $C$addr;
- $mul74 = Math_imul($sub, $82)|0;
- $arrayidx75 = (($80) + ($mul74<<2)|0);
- $83 = +HEAPF32[$arrayidx75>>2];
- $mul76 = $79 * $83;
- $cmp77 = $mul76 >= 0.0;
- if (!($cmp77)) {
- break;
- }
- $84 = $start;
- $dec = (($84) + -1)|0;
- $start = $dec;
- }
- while(1) {
- $85 = $end;
- $86 = $N$addr;
- $cmp81 = ($85|0)<($86|0);
- if (!($cmp81)) {
- break;
- }
- $87 = $x;
- $88 = $i;
- $89 = $C$addr;
- $mul84 = Math_imul($88, $89)|0;
- $arrayidx85 = (($87) + ($mul84<<2)|0);
- $90 = +HEAPF32[$arrayidx85>>2];
- $91 = $x;
- $92 = $end;
- $93 = $C$addr;
- $mul86 = Math_imul($92, $93)|0;
- $arrayidx87 = (($91) + ($mul86<<2)|0);
- $94 = +HEAPF32[$arrayidx87>>2];
- $mul88 = $90 * $94;
- $cmp89 = $mul88 >= 0.0;
- if (!($cmp89)) {
- break;
- }
- $95 = $x;
- $96 = $end;
- $97 = $C$addr;
- $mul93 = Math_imul($96, $97)|0;
- $arrayidx94 = (($95) + ($mul93<<2)|0);
- $98 = +HEAPF32[$arrayidx94>>2];
- $conv95 = $98;
- $call96 = (+Math_abs((+$conv95)));
- $conv97 = $call96;
- $99 = $maxval;
- $cmp98 = $conv97 > $99;
- if ($cmp98) {
- $100 = $x;
- $101 = $end;
- $102 = $C$addr;
- $mul101 = Math_imul($101, $102)|0;
- $arrayidx102 = (($100) + ($mul101<<2)|0);
- $103 = +HEAPF32[$arrayidx102>>2];
- $conv103 = $103;
- $call104 = (+Math_abs((+$conv103)));
- $conv105 = $call104;
- $maxval = $conv105;
- $104 = $end;
- $peak_pos = $104;
- }
- $105 = $end;
- $inc107 = (($105) + 1)|0;
- $end = $inc107;
- }
- $106 = $start;
- $cmp109 = ($106|0)==(0);
- if ($cmp109) {
- $107 = $x;
- $108 = $i;
- $109 = $C$addr;
- $mul112 = Math_imul($108, $109)|0;
- $arrayidx113 = (($107) + ($mul112<<2)|0);
- $110 = +HEAPF32[$arrayidx113>>2];
- $111 = $x;
- $112 = +HEAPF32[$111>>2];
- $mul115 = $110 * $112;
- $cmp116 = $mul115 >= 0.0;
- $113 = $cmp116;
- } else {
- $113 = 0;
- }
- $land$ext = $113&1;
- $special = $land$ext;
- $114 = $maxval;
- $sub119 = $114 - 1.0;
- $115 = $maxval;
- $116 = $maxval;
- $mul120 = $115 * $116;
- $div = $sub119 / $mul120;
- $a = $div;
- $117 = $x;
- $118 = $i;
- $119 = $C$addr;
- $mul121 = Math_imul($118, $119)|0;
- $arrayidx122 = (($117) + ($mul121<<2)|0);
- $120 = +HEAPF32[$arrayidx122>>2];
- $cmp123 = $120 > 0.0;
- if ($cmp123) {
- $121 = $a;
- $sub126 = - $121;
- $a = $sub126;
- }
- $122 = $start;
- $i = $122;
- while(1) {
- $123 = $i;
- $124 = $end;
- $cmp129 = ($123|0)<($124|0);
- if (!($cmp129)) {
- break;
- }
- $125 = $x;
- $126 = $i;
- $127 = $C$addr;
- $mul132 = Math_imul($126, $127)|0;
- $arrayidx133 = (($125) + ($mul132<<2)|0);
- $128 = +HEAPF32[$arrayidx133>>2];
- $129 = $a;
- $130 = $x;
- $131 = $i;
- $132 = $C$addr;
- $mul134 = Math_imul($131, $132)|0;
- $arrayidx135 = (($130) + ($mul134<<2)|0);
- $133 = +HEAPF32[$arrayidx135>>2];
- $mul136 = $129 * $133;
- $134 = $x;
- $135 = $i;
- $136 = $C$addr;
- $mul137 = Math_imul($135, $136)|0;
- $arrayidx138 = (($134) + ($mul137<<2)|0);
- $137 = +HEAPF32[$arrayidx138>>2];
- $mul139 = $mul136 * $137;
- $add140 = $128 + $mul139;
- $138 = $x;
- $139 = $i;
- $140 = $C$addr;
- $mul141 = Math_imul($139, $140)|0;
- $arrayidx142 = (($138) + ($mul141<<2)|0);
- HEAPF32[$arrayidx142>>2] = $add140;
- $141 = $i;
- $inc144 = (($141) + 1)|0;
- $i = $inc144;
- }
- $142 = $special;
- $tobool146 = ($142|0)!=(0);
- $143 = $peak_pos;
- $cmp147 = ($143|0)>=(2);
- $or$cond3 = $tobool146 & $cmp147;
- L54: do {
- if ($or$cond3) {
- $144 = $x0;
- $145 = $x;
- $146 = +HEAPF32[$145>>2];
- $sub151 = $144 - $146;
- $offset = $sub151;
- $147 = $offset;
- $148 = $peak_pos;
- $conv152 = (+($148|0));
- $div153 = $147 / $conv152;
- $delta = $div153;
- $149 = $curr;
- $i = $149;
- while(1) {
- $150 = $i;
- $151 = $peak_pos;
- $cmp155 = ($150|0)<($151|0);
- if (!($cmp155)) {
- break L54;
- }
- $152 = $delta;
- $153 = $offset;
- $sub158 = $153 - $152;
- $offset = $sub158;
- $154 = $offset;
- $155 = $x;
- $156 = $i;
- $157 = $C$addr;
- $mul159 = Math_imul($156, $157)|0;
- $arrayidx160 = (($155) + ($mul159<<2)|0);
- $158 = +HEAPF32[$arrayidx160>>2];
- $add161 = $158 + $154;
- HEAPF32[$arrayidx160>>2] = $add161;
- $159 = $x;
- $160 = $i;
- $161 = $C$addr;
- $mul162 = Math_imul($160, $161)|0;
- $arrayidx163 = (($159) + ($mul162<<2)|0);
- $162 = +HEAPF32[$arrayidx163>>2];
- $cmp164 = 1.0 < $162;
- if ($cmp164) {
- $cond171 = 1.0;
- } else {
- $163 = $x;
- $164 = $i;
- $165 = $C$addr;
- $mul168 = Math_imul($164, $165)|0;
- $arrayidx169 = (($163) + ($mul168<<2)|0);
- $166 = +HEAPF32[$arrayidx169>>2];
- $cond171 = $166;
- }
- $cmp172 = -1.0 > $cond171;
- if ($cmp172) {
- $cond187 = -1.0;
- } else {
- $167 = $x;
- $168 = $i;
- $169 = $C$addr;
- $mul176 = Math_imul($168, $169)|0;
- $arrayidx177 = (($167) + ($mul176<<2)|0);
- $170 = +HEAPF32[$arrayidx177>>2];
- $cmp178 = 1.0 < $170;
- if ($cmp178) {
- $cond187 = 1.0;
- } else {
- $171 = $x;
- $172 = $i;
- $173 = $C$addr;
- $mul182 = Math_imul($172, $173)|0;
- $arrayidx183 = (($171) + ($mul182<<2)|0);
- $174 = +HEAPF32[$arrayidx183>>2];
- $cond187 = $174;
- }
- }
- $175 = $x;
- $176 = $i;
- $177 = $C$addr;
- $mul188 = Math_imul($176, $177)|0;
- $arrayidx189 = (($175) + ($mul188<<2)|0);
- HEAPF32[$arrayidx189>>2] = $cond187;
- $178 = $i;
- $inc191 = (($178) + 1)|0;
- $i = $inc191;
- }
- }
- } while(0);
- $179 = $end;
- $curr = $179;
- $180 = $curr;
- $181 = $N$addr;
- $cmp194 = ($180|0)==($181|0);
- if ($cmp194) {
- break;
- }
- }
- if ((label|0) == 23) {
- label = 0;
- $a = 0.0;
- }
- $182 = $a;
- $183 = $declip_mem$addr;
- $184 = $c;
- $arrayidx199 = (($183) + ($184<<2)|0);
- HEAPF32[$arrayidx199>>2] = $182;
- $185 = $c;
- $inc201 = (($185) + 1)|0;
- $c = $inc201;
- }
- STACKTOP = sp;return;
-}
-function _encode_size($size,$data) {
- $size = $size|0;
- $data = $data|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $add = 0, $and = 0, $arrayidx6 = 0, $cmp = 0, $conv = 0, $conv1 = 0, $conv4 = 0, $conv5 = 0, $data$addr = 0, $retval = 0, $shr = 0;
- var $size$addr = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $size$addr = $size;
- $data$addr = $data;
- $0 = $size$addr;
- $cmp = ($0|0)<(252);
- $1 = $size$addr;
- if ($cmp) {
- $conv = $1&255;
- $2 = $data$addr;
- HEAP8[$2>>0] = $conv;
- $retval = 1;
- $8 = $retval;
- STACKTOP = sp;return ($8|0);
- } else {
- $and = $1 & 3;
- $add = (252 + ($and))|0;
- $conv1 = $add&255;
- $3 = $data$addr;
- HEAP8[$3>>0] = $conv1;
- $4 = $size$addr;
- $5 = $data$addr;
- $6 = HEAP8[$5>>0]|0;
- $conv4 = $6&255;
- $sub = (($4) - ($conv4))|0;
- $shr = $sub >> 2;
- $conv5 = $shr&255;
- $7 = $data$addr;
- $arrayidx6 = ((($7)) + 1|0);
- HEAP8[$arrayidx6>>0] = $conv5;
- $retval = 2;
- $8 = $retval;
- STACKTOP = sp;return ($8|0);
- }
- return (0)|0;
-}
-function _opus_packet_get_samples_per_frame($data,$Fs) {
- $data = $data|0;
- $Fs = $Fs|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Fs$addr = 0, $and = 0, $and11 = 0, $and19 = 0, $and3 = 0, $and6 = 0;
- var $audiosize = 0, $cmp = 0, $cmp20 = 0, $conv = 0, $conv10 = 0, $conv2 = 0, $data$addr = 0, $div = 0, $div14 = 0, $div23 = 0, $div26 = 0, $mul = 0, $shl = 0, $shl25 = 0, $shr = 0, $shr18 = 0, $tobool = 0, $tobool12 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $data$addr = $data;
- $Fs$addr = $Fs;
- $0 = $data$addr;
- $1 = HEAP8[$0>>0]|0;
- $conv = $1&255;
- $and = $conv & 128;
- $tobool = ($and|0)!=(0);
- $2 = $data$addr;
- $3 = HEAP8[$2>>0]|0;
- $conv2 = $3&255;
- if ($tobool) {
- $shr = $conv2 >> 3;
- $and3 = $shr & 3;
- $audiosize = $and3;
- $4 = $Fs$addr;
- $5 = $audiosize;
- $shl = $4 << $5;
- $div = (($shl|0) / 400)&-1;
- $audiosize = $div;
- $12 = $audiosize;
- STACKTOP = sp;return ($12|0);
- }
- $and6 = $conv2 & 96;
- $cmp = ($and6|0)==(96);
- $6 = $data$addr;
- $7 = HEAP8[$6>>0]|0;
- $conv10 = $7&255;
- if ($cmp) {
- $and11 = $conv10 & 8;
- $tobool12 = ($and11|0)!=(0);
- $8 = $Fs$addr;
- $$sink = $tobool12 ? 50 : 100;
- $div14 = (($8|0) / ($$sink|0))&-1;
- $audiosize = $div14;
- $12 = $audiosize;
- STACKTOP = sp;return ($12|0);
- }
- $shr18 = $conv10 >> 3;
- $and19 = $shr18 & 3;
- $audiosize = $and19;
- $9 = $audiosize;
- $cmp20 = ($9|0)==(3);
- $10 = $Fs$addr;
- if ($cmp20) {
- $mul = ($10*60)|0;
- $div23 = (($mul|0) / 1000)&-1;
- $audiosize = $div23;
- $12 = $audiosize;
- STACKTOP = sp;return ($12|0);
- } else {
- $11 = $audiosize;
- $shl25 = $10 << $11;
- $div26 = (($shl25|0) / 100)&-1;
- $audiosize = $div26;
- $12 = $audiosize;
- STACKTOP = sp;return ($12|0);
- }
- return (0)|0;
-}
-function _opus_packet_parse_impl($data,$len,$self_delimited,$out_toc,$frames,$size,$payload_offset,$packet_offset) {
- $data = $data|0;
- $len = $len|0;
- $self_delimited = $self_delimited|0;
- $out_toc = $out_toc|0;
- $frames = $frames|0;
- $size = $size|0;
- $payload_offset = $payload_offset|0;
- $packet_offset = $packet_offset|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
- var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0;
- var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+function _hp_cutoff($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0;
+ var $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
- var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $add = 0, $add$ptr = 0, $add$ptr113 = 0, $add$ptr114 = 0, $add$ptr130 = 0, $add$ptr184 = 0, $add$ptr68 = 0, $add$ptr82 = 0;
- var $add156 = 0, $add193 = 0, $add85 = 0, $and = 0, $and3 = 0, $and30 = 0, $and40 = 0, $and61 = 0, $arrayidx105 = 0, $arrayidx118 = 0, $arrayidx124 = 0, $arrayidx134 = 0, $arrayidx147 = 0, $arrayidx148 = 0, $arrayidx154 = 0, $arrayidx169 = 0, $arrayidx180 = 0, $arrayidx182 = 0, $arrayidx71 = 0, $arrayidx76 = 0;
- var $arrayidx83 = 0, $bytes = 0, $call = 0, $call10 = 0, $call115 = 0, $call69 = 0, $cbr = 0, $ch = 0, $cmp = 0, $cmp101 = 0, $cmp120 = 0, $cmp126 = 0, $cmp13 = 0, $cmp137 = 0, $cmp143 = 0, $cmp157 = 0, $cmp163 = 0, $cmp17 = 0, $cmp175 = 0, $cmp24 = 0;
- var $cmp31 = 0, $cmp34 = 0, $cmp43 = 0, $cmp50 = 0, $cmp53 = 0, $cmp56 = 0, $cmp66 = 0, $cmp73 = 0, $cmp78 = 0, $cmp87 = 0, $cmp95 = 0, $cond = 0, $conv = 0, $conv104 = 0, $conv119 = 0, $conv12 = 0, $conv125 = 0, $conv135 = 0, $conv155 = 0, $conv16 = 0;
- var $conv167 = 0, $conv183 = 0, $conv22 = 0, $conv29 = 0, $conv39 = 0, $conv48 = 0, $conv60 = 0, $conv7 = 0, $conv72 = 0, $conv77 = 0, $conv84 = 0, $count = 0, $data$addr = 0, $data0 = 0, $dec = 0, $dec38 = 0, $dec49 = 0, $div = 0, $div93 = 0, $frames$addr = 0;
- var $framesize = 0, $i = 0, $inc = 0, $inc107 = 0, $inc150 = 0, $inc186 = 0, $incdec$ptr = 0, $incdec$ptr28 = 0, $incdec$ptr47 = 0, $last_size = 0, $len$addr = 0, $lnot = 0, $lnot$ext = 0, $mul = 0, $mul136 = 0, $mul94 = 0, $out_toc$addr = 0, $p = 0, $packet_offset$addr = 0, $pad = 0;
- var $payload_offset$addr = 0, $retval = 0, $self_delimited$addr = 0, $size$addr = 0, $sub = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast190 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast191 = 0, $sub$ptr$sub = 0, $sub$ptr$sub192 = 0, $sub100 = 0, $sub116 = 0, $sub117 = 0, $sub123 = 0, $sub133 = 0, $sub142 = 0, $sub146 = 0, $sub153 = 0, $sub168 = 0;
- var $sub23 = 0, $sub52 = 0, $sub65 = 0, $sub70 = 0, $sub86 = 0, $tmp = 0, $tobool = 0, $tobool111 = 0, $tobool131 = 0, $tobool171 = 0, $tobool178 = 0, $tobool188 = 0, $tobool195 = 0, $tobool4 = 0, $tobool41 = 0, $tobool62 = 0, $tobool63 = 0, $tobool91 = 0, $toc = 0, label = 0;
- var sp = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $14 = sp + 24|0;
+ $15 = sp + 16|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $19 = $8;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = ($21*2471)|0;
+ $23 = $13;
+ $24 = (($23|0) / 1000)&-1;
+ $25 = (($22|0) / ($24|0))&-1;
+ $16 = $25;
+ $26 = $16;
+ $27 = ($26*471)|0;
+ $28 = (268435456 - ($27))|0;
+ $17 = $28;
+ $29 = $17;
+ HEAP32[$14>>2] = $29;
+ $30 = $17;
+ $31 = (0 - ($30))|0;
+ $32 = $31 << 1;
+ $33 = ((($14)) + 4|0);
+ HEAP32[$33>>2] = $32;
+ $34 = $17;
+ $35 = ((($14)) + 8|0);
+ HEAP32[$35>>2] = $34;
+ $36 = $17;
+ $37 = $36 >> 6;
+ $18 = $37;
+ $38 = $18;
+ $39 = $38 >> 16;
+ $40 = $16;
+ $41 = $40 >> 16;
+ $42 = $16;
+ $43 = $42&65535;
+ $44 = $43 << 16 >> 16;
+ $45 = Math_imul($41, $44)|0;
+ $46 = $16;
+ $47 = $46 & 65535;
+ $48 = $16;
+ $49 = $48&65535;
+ $50 = $49 << 16 >> 16;
+ $51 = Math_imul($47, $50)|0;
+ $52 = $51 >> 16;
+ $53 = (($45) + ($52))|0;
+ $54 = $16;
+ $55 = $16;
+ $56 = $55 >> 15;
+ $57 = (($56) + 1)|0;
+ $58 = $57 >> 1;
+ $59 = Math_imul($54, $58)|0;
+ $60 = (($53) + ($59))|0;
+ $61 = (($60) - 8388608)|0;
+ $62 = $61&65535;
+ $63 = $62 << 16 >> 16;
+ $64 = Math_imul($39, $63)|0;
+ $65 = $18;
+ $66 = $65 & 65535;
+ $67 = $16;
+ $68 = $67 >> 16;
+ $69 = $16;
+ $70 = $69&65535;
+ $71 = $70 << 16 >> 16;
+ $72 = Math_imul($68, $71)|0;
+ $73 = $16;
+ $74 = $73 & 65535;
+ $75 = $16;
+ $76 = $75&65535;
+ $77 = $76 << 16 >> 16;
+ $78 = Math_imul($74, $77)|0;
+ $79 = $78 >> 16;
+ $80 = (($72) + ($79))|0;
+ $81 = $16;
+ $82 = $16;
+ $83 = $82 >> 15;
+ $84 = (($83) + 1)|0;
+ $85 = $84 >> 1;
+ $86 = Math_imul($81, $85)|0;
+ $87 = (($80) + ($86))|0;
+ $88 = (($87) - 8388608)|0;
+ $89 = $88&65535;
+ $90 = $89 << 16 >> 16;
+ $91 = Math_imul($66, $90)|0;
+ $92 = $91 >> 16;
+ $93 = (($64) + ($92))|0;
+ $94 = $18;
+ $95 = $16;
+ $96 = $95 >> 16;
+ $97 = $16;
+ $98 = $97&65535;
+ $99 = $98 << 16 >> 16;
+ $100 = Math_imul($96, $99)|0;
+ $101 = $16;
+ $102 = $101 & 65535;
+ $103 = $16;
+ $104 = $103&65535;
+ $105 = $104 << 16 >> 16;
+ $106 = Math_imul($102, $105)|0;
+ $107 = $106 >> 16;
+ $108 = (($100) + ($107))|0;
+ $109 = $16;
+ $110 = $16;
+ $111 = $110 >> 15;
+ $112 = (($111) + 1)|0;
+ $113 = $112 >> 1;
+ $114 = Math_imul($109, $113)|0;
+ $115 = (($108) + ($114))|0;
+ $116 = (($115) - 8388608)|0;
+ $117 = $116 >> 15;
+ $118 = (($117) + 1)|0;
+ $119 = $118 >> 1;
+ $120 = Math_imul($94, $119)|0;
+ $121 = (($93) + ($120))|0;
+ HEAP32[$15>>2] = $121;
+ $122 = $18;
+ $123 = $122 >> 16;
+ $124 = $18;
+ $125 = $124&65535;
+ $126 = $125 << 16 >> 16;
+ $127 = Math_imul($123, $126)|0;
+ $128 = $18;
+ $129 = $128 & 65535;
+ $130 = $18;
+ $131 = $130&65535;
+ $132 = $131 << 16 >> 16;
+ $133 = Math_imul($129, $132)|0;
+ $134 = $133 >> 16;
+ $135 = (($127) + ($134))|0;
+ $136 = $18;
+ $137 = $18;
+ $138 = $137 >> 15;
+ $139 = (($138) + 1)|0;
+ $140 = $139 >> 1;
+ $141 = Math_imul($136, $140)|0;
+ $142 = (($135) + ($141))|0;
+ $143 = ((($15)) + 4|0);
+ HEAP32[$143>>2] = $142;
+ $144 = $7;
+ $145 = $10;
+ $146 = $9;
+ $147 = $11;
+ $148 = $12;
+ _silk_biquad_float($144,$14,$15,$145,$146,$147,$148);
+ $149 = $12;
+ $150 = ($149|0)==(2);
+ if (!($150)) {
+ STACKTOP = sp;return;
+ }
+ $151 = $7;
+ $152 = ((($151)) + 4|0);
+ $153 = $10;
+ $154 = ((($153)) + 8|0);
+ $155 = $9;
+ $156 = ((($155)) + 4|0);
+ $157 = $11;
+ $158 = $12;
+ _silk_biquad_float($152,$14,$15,$154,$156,$157,$158);
+ STACKTOP = sp;return;
+}
+function _dc_reject($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0;
+ var $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0;
+ var $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0.0, $59 = 0.0;
+ var $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
+ var $79 = 0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0.0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $20 = $8;
+ $21 = (+($20|0));
+ $22 = 4.0 * $21;
+ $23 = $13;
+ $24 = (+($23|0));
+ $25 = $22 / $24;
+ $16 = $25;
+ $14 = 0;
+ while(1) {
+ $26 = $14;
+ $27 = $12;
+ $28 = ($26|0)<($27|0);
+ if (!($28)) {
+ break;
+ }
+ $15 = 0;
+ while(1) {
+ $29 = $15;
+ $30 = $11;
+ $31 = ($29|0)<($30|0);
+ if (!($31)) {
+ break;
+ }
+ $32 = $7;
+ $33 = $12;
+ $34 = $15;
+ $35 = Math_imul($33, $34)|0;
+ $36 = $14;
+ $37 = (($35) + ($36))|0;
+ $38 = (($32) + ($37<<2)|0);
+ $39 = +HEAPF32[$38>>2];
+ $17 = $39;
+ $40 = $17;
+ $41 = $10;
+ $42 = $14;
+ $43 = $42<<1;
+ $44 = (($41) + ($43<<2)|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $40 - $45;
+ $18 = $46;
+ $47 = $10;
+ $48 = $14;
+ $49 = $48<<1;
+ $50 = (($47) + ($49<<2)|0);
+ $51 = +HEAPF32[$50>>2];
+ $52 = $16;
+ $53 = $17;
+ $54 = $10;
+ $55 = $14;
+ $56 = $55<<1;
+ $57 = (($54) + ($56<<2)|0);
+ $58 = +HEAPF32[$57>>2];
+ $59 = $53 - $58;
+ $60 = $52 * $59;
+ $61 = $51 + $60;
+ $62 = $61 + 1.0000000031710769E-30;
+ $63 = $10;
+ $64 = $14;
+ $65 = $64<<1;
+ $66 = (($63) + ($65<<2)|0);
+ HEAPF32[$66>>2] = $62;
+ $67 = $18;
+ $68 = $10;
+ $69 = $14;
+ $70 = $69<<1;
+ $71 = (($70) + 1)|0;
+ $72 = (($68) + ($71<<2)|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $67 - $73;
+ $19 = $74;
+ $75 = $10;
+ $76 = $14;
+ $77 = $76<<1;
+ $78 = (($77) + 1)|0;
+ $79 = (($75) + ($78<<2)|0);
+ $80 = +HEAPF32[$79>>2];
+ $81 = $16;
+ $82 = $18;
+ $83 = $10;
+ $84 = $14;
+ $85 = $84<<1;
+ $86 = (($85) + 1)|0;
+ $87 = (($83) + ($86<<2)|0);
+ $88 = +HEAPF32[$87>>2];
+ $89 = $82 - $88;
+ $90 = $81 * $89;
+ $91 = $80 + $90;
+ $92 = $91 + 1.0000000031710769E-30;
+ $93 = $10;
+ $94 = $14;
+ $95 = $94<<1;
+ $96 = (($95) + 1)|0;
+ $97 = (($93) + ($96<<2)|0);
+ HEAPF32[$97>>2] = $92;
+ $98 = $19;
+ $99 = $9;
+ $100 = $12;
+ $101 = $15;
+ $102 = Math_imul($100, $101)|0;
+ $103 = $14;
+ $104 = (($102) + ($103))|0;
+ $105 = (($99) + ($104<<2)|0);
+ HEAPF32[$105>>2] = $98;
+ $106 = $15;
+ $107 = (($106) + 1)|0;
+ $15 = $107;
+ }
+ $108 = $14;
+ $109 = (($108) + 1)|0;
+ $14 = $109;
+ }
+ STACKTOP = sp;return;
+}
+function _celt_inner_prod_c($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = 0.0;
+ $6 = 0;
+ while(1) {
+ $8 = $6;
+ $9 = $5;
+ $10 = ($8|0)<($9|0);
+ $11 = $7;
+ if (!($10)) {
+ break;
+ }
+ $12 = $3;
+ $13 = $6;
+ $14 = (($12) + ($13<<2)|0);
+ $15 = +HEAPF32[$14>>2];
+ $16 = $4;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ $19 = +HEAPF32[$18>>2];
+ $20 = $15 * $19;
+ $21 = $11 + $20;
+ $7 = $21;
+ $22 = $6;
+ $23 = (($22) + 1)|0;
+ $6 = $23;
+ }
+ STACKTOP = sp;return (+$11);
+}
+function _gain_fade($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = +$3;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0.0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0.0, $24 = 0.0;
+ var $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0;
+ var $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $60 = 0, $61 = 0.0, $62 = 0.0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0.0;
+ var $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0.0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $data$addr = $data;
- $len$addr = $len;
- $self_delimited$addr = $self_delimited;
- $out_toc$addr = $out_toc;
- $frames$addr = $frames;
- $size$addr = $size;
- $payload_offset$addr = $payload_offset;
- $packet_offset$addr = $packet_offset;
- $pad = 0;
- $0 = $data$addr;
- $data0 = $0;
- $1 = $size$addr;
- $cmp = ($1|0)==(0|0);
- if ($cmp) {
- $retval = -1;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- $2 = $data$addr;
- $call = (_opus_packet_get_samples_per_frame($2,48000)|0);
- $framesize = $call;
- $cbr = 0;
- $3 = $data$addr;
- $incdec$ptr = ((($3)) + 1|0);
- $data$addr = $incdec$ptr;
- $4 = HEAP8[$3>>0]|0;
- $toc = $4;
- $5 = $len$addr;
- $dec = (($5) + -1)|0;
- $len$addr = $dec;
- $6 = $len$addr;
- $last_size = $6;
- $7 = $toc;
- $conv = $7&255;
- $and = $conv & 3;
- L5: do {
- switch ($and|0) {
- case 0: {
- $count = 1;
- break;
- }
- case 1: {
- $count = 2;
- $cbr = 1;
- $8 = $self_delimited$addr;
- $tobool = ($8|0)!=(0);
- if (!($tobool)) {
- $9 = $len$addr;
- $and3 = $9 & 1;
- $tobool4 = ($and3|0)!=(0);
- if (!($tobool4)) {
- $10 = $len$addr;
- $div = (($10|0) / 2)&-1;
- $last_size = $div;
- $11 = $last_size;
- $conv7 = $11&65535;
- $12 = $size$addr;
- HEAP16[$12>>1] = $conv7;
- break L5;
- }
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- break;
- }
- case 2: {
- $count = 2;
- $13 = $data$addr;
- $14 = $len$addr;
- $15 = $size$addr;
- $call10 = (_parse_size($13,$14,$15)|0);
- $bytes = $call10;
- $16 = $bytes;
- $17 = $len$addr;
- $sub = (($17) - ($16))|0;
- $len$addr = $sub;
- $18 = $size$addr;
- $19 = HEAP16[$18>>1]|0;
- $conv12 = $19 << 16 >> 16;
- $cmp13 = ($conv12|0)<(0);
- if (!($cmp13)) {
- $20 = $size$addr;
- $21 = HEAP16[$20>>1]|0;
- $conv16 = $21 << 16 >> 16;
- $22 = $len$addr;
- $cmp17 = ($conv16|0)>($22|0);
- if (!($cmp17)) {
- $23 = $bytes;
- $24 = $data$addr;
- $add$ptr = (($24) + ($23)|0);
- $data$addr = $add$ptr;
- $25 = $len$addr;
- $26 = $size$addr;
- $27 = HEAP16[$26>>1]|0;
- $conv22 = $27 << 16 >> 16;
- $sub23 = (($25) - ($conv22))|0;
- $last_size = $sub23;
- break L5;
- }
- }
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- break;
- }
- default: {
- $28 = $len$addr;
- $cmp24 = ($28|0)<(1);
- if ($cmp24) {
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- $29 = $data$addr;
- $incdec$ptr28 = ((($29)) + 1|0);
- $data$addr = $incdec$ptr28;
- $30 = HEAP8[$29>>0]|0;
- $ch = $30;
- $31 = $ch;
- $conv29 = $31&255;
- $and30 = $conv29 & 63;
- $count = $and30;
- $32 = $count;
- $cmp31 = ($32|0)<=(0);
- if (!($cmp31)) {
- $33 = $framesize;
- $34 = $count;
- $mul = Math_imul($33, $34)|0;
- $cmp34 = ($mul|0)>(5760);
- if (!($cmp34)) {
- $35 = $len$addr;
- $dec38 = (($35) + -1)|0;
- $len$addr = $dec38;
- $36 = $ch;
- $conv39 = $36&255;
- $and40 = $conv39 & 64;
- $tobool41 = ($and40|0)!=(0);
- L14: do {
- if ($tobool41) {
- while(1) {
- $37 = $len$addr;
- $cmp43 = ($37|0)<=(0);
- if ($cmp43) {
- break;
- }
- $38 = $data$addr;
- $incdec$ptr47 = ((($38)) + 1|0);
- $data$addr = $incdec$ptr47;
- $39 = HEAP8[$38>>0]|0;
- $conv48 = $39&255;
- $p = $conv48;
- $40 = $len$addr;
- $dec49 = (($40) + -1)|0;
- $len$addr = $dec49;
- $41 = $p;
- $cmp50 = ($41|0)==(255);
- $42 = $p;
- $cond = $cmp50 ? 254 : $42;
- $tmp = $cond;
- $43 = $tmp;
- $44 = $len$addr;
- $sub52 = (($44) - ($43))|0;
- $len$addr = $sub52;
- $45 = $tmp;
- $46 = $pad;
- $add = (($46) + ($45))|0;
- $pad = $add;
- $47 = $p;
- $cmp53 = ($47|0)==(255);
- if (!($cmp53)) {
- break L14;
- }
- }
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- } while(0);
- $48 = $len$addr;
- $cmp56 = ($48|0)<(0);
- if ($cmp56) {
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- $49 = $ch;
- $conv60 = $49&255;
- $and61 = $conv60 & 128;
- $tobool62 = ($and61|0)!=(0);
- $lnot = $tobool62 ^ 1;
- $lnot$ext = $lnot&1;
- $cbr = $lnot$ext;
- $50 = $cbr;
- $tobool63 = ($50|0)!=(0);
- if ($tobool63) {
- $76 = $self_delimited$addr;
- $tobool91 = ($76|0)!=(0);
- if ($tobool91) {
- break L5;
- }
- $77 = $len$addr;
- $78 = $count;
- $div93 = (($77|0) / ($78|0))&-1;
- $last_size = $div93;
- $79 = $last_size;
- $80 = $count;
- $mul94 = Math_imul($79, $80)|0;
- $81 = $len$addr;
- $cmp95 = ($mul94|0)!=($81|0);
- if ($cmp95) {
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- $i = 0;
- while(1) {
- $82 = $i;
- $83 = $count;
- $sub100 = (($83) - 1)|0;
- $cmp101 = ($82|0)<($sub100|0);
- if (!($cmp101)) {
- break L5;
- }
- $84 = $last_size;
- $conv104 = $84&65535;
- $85 = $size$addr;
- $86 = $i;
- $arrayidx105 = (($85) + ($86<<1)|0);
- HEAP16[$arrayidx105>>1] = $conv104;
- $87 = $i;
- $inc107 = (($87) + 1)|0;
- $i = $inc107;
- }
- }
- $51 = $len$addr;
- $last_size = $51;
- $i = 0;
- while(1) {
- $52 = $i;
- $53 = $count;
- $sub65 = (($53) - 1)|0;
- $cmp66 = ($52|0)<($sub65|0);
- if (!($cmp66)) {
- break;
- }
- $54 = $data$addr;
- $55 = $len$addr;
- $56 = $size$addr;
- $57 = $i;
- $add$ptr68 = (($56) + ($57<<1)|0);
- $call69 = (_parse_size($54,$55,$add$ptr68)|0);
- $bytes = $call69;
- $58 = $bytes;
- $59 = $len$addr;
- $sub70 = (($59) - ($58))|0;
- $len$addr = $sub70;
- $60 = $size$addr;
- $61 = $i;
- $arrayidx71 = (($60) + ($61<<1)|0);
- $62 = HEAP16[$arrayidx71>>1]|0;
- $conv72 = $62 << 16 >> 16;
- $cmp73 = ($conv72|0)<(0);
- if ($cmp73) {
- label = 29;
- break;
- }
- $63 = $size$addr;
- $64 = $i;
- $arrayidx76 = (($63) + ($64<<1)|0);
- $65 = HEAP16[$arrayidx76>>1]|0;
- $conv77 = $65 << 16 >> 16;
- $66 = $len$addr;
- $cmp78 = ($conv77|0)>($66|0);
- if ($cmp78) {
- label = 29;
- break;
- }
- $67 = $bytes;
- $68 = $data$addr;
- $add$ptr82 = (($68) + ($67)|0);
- $data$addr = $add$ptr82;
- $69 = $bytes;
- $70 = $size$addr;
- $71 = $i;
- $arrayidx83 = (($70) + ($71<<1)|0);
- $72 = HEAP16[$arrayidx83>>1]|0;
- $conv84 = $72 << 16 >> 16;
- $add85 = (($69) + ($conv84))|0;
- $73 = $last_size;
- $sub86 = (($73) - ($add85))|0;
- $last_size = $sub86;
- $74 = $i;
- $inc = (($74) + 1)|0;
- $i = $inc;
- }
- if ((label|0) == 29) {
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- $75 = $last_size;
- $cmp87 = ($75|0)<(0);
- if (!($cmp87)) {
- break L5;
- }
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- }
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- }
- } while(0);
- $88 = $self_delimited$addr;
- $tobool111 = ($88|0)!=(0);
- L63: do {
- if ($tobool111) {
- $89 = $data$addr;
- $90 = $len$addr;
- $91 = $size$addr;
- $92 = $count;
- $add$ptr113 = (($91) + ($92<<1)|0);
- $add$ptr114 = ((($add$ptr113)) + -2|0);
- $call115 = (_parse_size($89,$90,$add$ptr114)|0);
- $bytes = $call115;
- $93 = $bytes;
- $94 = $len$addr;
- $sub116 = (($94) - ($93))|0;
- $len$addr = $sub116;
- $95 = $size$addr;
- $96 = $count;
- $sub117 = (($96) - 1)|0;
- $arrayidx118 = (($95) + ($sub117<<1)|0);
- $97 = HEAP16[$arrayidx118>>1]|0;
- $conv119 = $97 << 16 >> 16;
- $cmp120 = ($conv119|0)<(0);
- if (!($cmp120)) {
- $98 = $size$addr;
- $99 = $count;
- $sub123 = (($99) - 1)|0;
- $arrayidx124 = (($98) + ($sub123<<1)|0);
- $100 = HEAP16[$arrayidx124>>1]|0;
- $conv125 = $100 << 16 >> 16;
- $101 = $len$addr;
- $cmp126 = ($conv125|0)>($101|0);
- if (!($cmp126)) {
- $102 = $bytes;
- $103 = $data$addr;
- $add$ptr130 = (($103) + ($102)|0);
- $data$addr = $add$ptr130;
- $104 = $cbr;
- $tobool131 = ($104|0)!=(0);
- if (!($tobool131)) {
- $118 = $bytes;
- $119 = $size$addr;
- $120 = $count;
- $sub153 = (($120) - 1)|0;
- $arrayidx154 = (($119) + ($sub153<<1)|0);
- $121 = HEAP16[$arrayidx154>>1]|0;
- $conv155 = $121 << 16 >> 16;
- $add156 = (($118) + ($conv155))|0;
- $122 = $last_size;
- $cmp157 = ($add156|0)>($122|0);
- if (!($cmp157)) {
- break;
- }
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- $105 = $size$addr;
- $106 = $count;
- $sub133 = (($106) - 1)|0;
- $arrayidx134 = (($105) + ($sub133<<1)|0);
- $107 = HEAP16[$arrayidx134>>1]|0;
- $conv135 = $107 << 16 >> 16;
- $108 = $count;
- $mul136 = Math_imul($conv135, $108)|0;
- $109 = $len$addr;
- $cmp137 = ($mul136|0)>($109|0);
- if ($cmp137) {
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- $i = 0;
- while(1) {
- $110 = $i;
- $111 = $count;
- $sub142 = (($111) - 1)|0;
- $cmp143 = ($110|0)<($sub142|0);
- if (!($cmp143)) {
- break L63;
- }
- $112 = $size$addr;
- $113 = $count;
- $sub146 = (($113) - 1)|0;
- $arrayidx147 = (($112) + ($sub146<<1)|0);
- $114 = HEAP16[$arrayidx147>>1]|0;
- $115 = $size$addr;
- $116 = $i;
- $arrayidx148 = (($115) + ($116<<1)|0);
- HEAP16[$arrayidx148>>1] = $114;
- $117 = $i;
- $inc150 = (($117) + 1)|0;
- $i = $inc150;
- }
- }
- }
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- } else {
- $123 = $last_size;
- $cmp163 = ($123|0)>(1275);
- if (!($cmp163)) {
- $124 = $last_size;
- $conv167 = $124&65535;
- $125 = $size$addr;
- $126 = $count;
- $sub168 = (($126) - 1)|0;
- $arrayidx169 = (($125) + ($sub168<<1)|0);
- HEAP16[$arrayidx169>>1] = $conv167;
- break;
- }
- $retval = -4;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
- }
- } while(0);
- $127 = $payload_offset$addr;
- $tobool171 = ($127|0)!=(0|0);
- if ($tobool171) {
- $128 = $data$addr;
- $129 = $data0;
- $sub$ptr$lhs$cast = $128;
- $sub$ptr$rhs$cast = $129;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $130 = $payload_offset$addr;
- HEAP32[$130>>2] = $sub$ptr$sub;
- }
- $i = 0;
- while(1) {
- $131 = $i;
- $132 = $count;
- $cmp175 = ($131|0)<($132|0);
- if (!($cmp175)) {
- break;
- }
- $133 = $frames$addr;
- $tobool178 = ($133|0)!=(0|0);
- if ($tobool178) {
- $134 = $data$addr;
- $135 = $frames$addr;
- $136 = $i;
- $arrayidx180 = (($135) + ($136<<2)|0);
- HEAP32[$arrayidx180>>2] = $134;
- }
- $137 = $size$addr;
- $138 = $i;
- $arrayidx182 = (($137) + ($138<<1)|0);
- $139 = HEAP16[$arrayidx182>>1]|0;
- $conv183 = $139 << 16 >> 16;
- $140 = $data$addr;
- $add$ptr184 = (($140) + ($conv183)|0);
- $data$addr = $add$ptr184;
- $141 = $i;
- $inc186 = (($141) + 1)|0;
- $i = $inc186;
- }
- $142 = $packet_offset$addr;
- $tobool188 = ($142|0)!=(0|0);
- if ($tobool188) {
- $143 = $pad;
- $144 = $data$addr;
- $145 = $data0;
- $sub$ptr$lhs$cast190 = $144;
- $sub$ptr$rhs$cast191 = $145;
- $sub$ptr$sub192 = (($sub$ptr$lhs$cast190) - ($sub$ptr$rhs$cast191))|0;
- $add193 = (($143) + ($sub$ptr$sub192))|0;
- $146 = $packet_offset$addr;
- HEAP32[$146>>2] = $add193;
- }
- $147 = $out_toc$addr;
- $tobool195 = ($147|0)!=(0|0);
- if ($tobool195) {
- $148 = $toc;
- $149 = $out_toc$addr;
- HEAP8[$149>>0] = $148;
- }
- $150 = $count;
- $retval = $150;
- $151 = $retval;
- STACKTOP = sp;return ($151|0);
-}
-function _parse_size($data,$len,$size) {
- $data = $data|0;
- $len = $len|0;
- $size = $size|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $arrayidx11 = 0, $cmp = 0, $cmp1 = 0, $cmp7 = 0;
- var $conv = 0, $conv12 = 0, $conv14 = 0, $conv15 = 0, $conv5 = 0, $data$addr = 0, $len$addr = 0, $mul = 0, $retval = 0, $size$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $data$addr = $data;
- $len$addr = $len;
- $size$addr = $size;
- $0 = $len$addr;
- $cmp = ($0|0)<(1);
- if ($cmp) {
- $1 = $size$addr;
- HEAP16[$1>>1] = -1;
- $retval = -1;
- $14 = $retval;
- STACKTOP = sp;return ($14|0);
- }
- $2 = $data$addr;
- $3 = HEAP8[$2>>0]|0;
- $conv = $3&255;
- $cmp1 = ($conv|0)<(252);
- if ($cmp1) {
- $4 = $data$addr;
- $5 = HEAP8[$4>>0]|0;
- $conv5 = $5&255;
- $6 = $size$addr;
- HEAP16[$6>>1] = $conv5;
- $retval = 1;
- $14 = $retval;
- STACKTOP = sp;return ($14|0);
- }
- $7 = $len$addr;
- $cmp7 = ($7|0)<(2);
- if ($cmp7) {
- $8 = $size$addr;
- HEAP16[$8>>1] = -1;
- $retval = -1;
- $14 = $retval;
- STACKTOP = sp;return ($14|0);
- } else {
- $9 = $data$addr;
- $arrayidx11 = ((($9)) + 1|0);
- $10 = HEAP8[$arrayidx11>>0]|0;
- $conv12 = $10&255;
- $mul = $conv12<<2;
- $11 = $data$addr;
- $12 = HEAP8[$11>>0]|0;
- $conv14 = $12&255;
- $add = (($mul) + ($conv14))|0;
- $conv15 = $add&65535;
- $13 = $size$addr;
- HEAP16[$13>>1] = $conv15;
- $retval = 2;
- $14 = $retval;
- STACKTOP = sp;return ($14|0);
- }
- return (0)|0;
-}
-function _hysteresis_decision($val,$thresholds,$hysteresis,$N,$prev) {
- $val = +$val;
- $thresholds = $thresholds|0;
- $hysteresis = $hysteresis|0;
- $N = $N|0;
- $prev = $prev|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0.0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $27 = 0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0, $9 = 0.0, $N$addr = 0, $add = 0.0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx12 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $cmp = 0, $cmp1 = 0, $cmp14 = 0, $cmp2 = 0, $cmp5 = 0;
- var $cmp8 = 0, $hysteresis$addr = 0, $i = 0, $inc = 0, $prev$addr = 0, $sub = 0, $sub11 = 0, $sub13 = 0.0, $thresholds$addr = 0, $val$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $val$addr = $val;
- $thresholds$addr = $thresholds;
- $hysteresis$addr = $hysteresis;
- $N$addr = $N;
- $prev$addr = $prev;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $val$addr;
- $3 = $thresholds$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $cmp1 = $2 < $5;
- if ($cmp1) {
- break;
- }
- $6 = $i;
- $inc = (($6) + 1)|0;
- $i = $inc;
- }
- $7 = $i;
- $8 = $prev$addr;
- $cmp2 = ($7|0)>($8|0);
- if ($cmp2) {
- $9 = $val$addr;
- $10 = $thresholds$addr;
- $11 = $prev$addr;
- $arrayidx3 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx3>>2];
- $13 = $hysteresis$addr;
- $14 = $prev$addr;
- $arrayidx4 = (($13) + ($14<<2)|0);
- $15 = +HEAPF32[$arrayidx4>>2];
- $add = $12 + $15;
- $cmp5 = $9 < $add;
- if ($cmp5) {
- $16 = $prev$addr;
- $i = $16;
- }
- }
- $17 = $i;
- $18 = $prev$addr;
- $cmp8 = ($17|0)<($18|0);
- if (!($cmp8)) {
- $27 = $i;
- STACKTOP = sp;return ($27|0);
- }
- $19 = $val$addr;
- $20 = $thresholds$addr;
- $21 = $prev$addr;
- $sub = (($21) - 1)|0;
- $arrayidx10 = (($20) + ($sub<<2)|0);
- $22 = +HEAPF32[$arrayidx10>>2];
- $23 = $hysteresis$addr;
- $24 = $prev$addr;
- $sub11 = (($24) - 1)|0;
- $arrayidx12 = (($23) + ($sub11<<2)|0);
- $25 = +HEAPF32[$arrayidx12>>2];
- $sub13 = $22 - $25;
- $cmp14 = $19 > $sub13;
- if (!($cmp14)) {
- $27 = $i;
- STACKTOP = sp;return ($27|0);
- }
- $26 = $prev$addr;
- $i = $26;
- $27 = $i;
- STACKTOP = sp;return ($27|0);
-}
-function _celt_lcg_rand($seed) {
- $seed = $seed|0;
- var $0 = 0, $add = 0, $mul = 0, $seed$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $seed$addr = $seed;
- $0 = $seed$addr;
- $mul = Math_imul(1664525, $0)|0;
- $add = (($mul) + 1013904223)|0;
- STACKTOP = sp;return ($add|0);
-}
-function _compute_band_energies($m,$X,$bandE,$end,$C,$LM) {
- $m = $m|0;
- $X = $X|0;
- $bandE = $bandE|0;
- $end = $end|0;
- $C = $C|0;
- $LM = $LM|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $LM$addr = 0, $N = 0;
- var $X$addr = 0, $add = 0, $add10 = 0, $add16 = 0.0, $add21 = 0, $add8 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx13 = 0, $arrayidx22 = 0, $arrayidx3 = 0, $arrayidx5 = 0, $arrayidx9 = 0, $bandE$addr = 0, $c = 0, $call = 0.0, $call18 = 0.0, $cmp = 0, $cmp24 = 0, $conv = 0;
- var $conv12 = 0, $conv14 = 0, $conv17 = 0.0, $conv19 = 0.0, $conv6 = 0, $eBands = 0, $eBands1 = 0, $end$addr = 0, $i = 0, $inc = 0, $inc23 = 0, $m$addr = 0, $mul = 0, $mul20 = 0, $mul4 = 0, $nbEBands = 0, $shl = 0, $shl15 = 0, $shl2 = 0, $shl7 = 0;
- var $shortMdctSize = 0, $sub = 0, $sum = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $m$addr = $m;
- $X$addr = $X;
- $bandE$addr = $bandE;
- $end$addr = $end;
- $C$addr = $C;
- $LM$addr = $LM;
- $0 = $m$addr;
- $eBands1 = ((($0)) + 32|0);
- $1 = HEAP32[$eBands1>>2]|0;
- $eBands = $1;
- $2 = $m$addr;
- $shortMdctSize = ((($2)) + 44|0);
- $3 = HEAP32[$shortMdctSize>>2]|0;
- $4 = $LM$addr;
- $shl = $3 << $4;
- $N = $shl;
- $c = 0;
- while(1) {
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $end$addr;
- $cmp = ($5|0)<($6|0);
- if (!($cmp)) {
- break;
- }
- $7 = $X$addr;
- $8 = $c;
- $9 = $N;
- $mul = Math_imul($8, $9)|0;
- $10 = $eBands;
- $11 = $i;
- $arrayidx = (($10) + ($11<<1)|0);
- $12 = HEAP16[$arrayidx>>1]|0;
- $conv = $12 << 16 >> 16;
- $13 = $LM$addr;
- $shl2 = $conv << $13;
- $add = (($mul) + ($shl2))|0;
- $arrayidx3 = (($7) + ($add<<2)|0);
- $14 = $X$addr;
- $15 = $c;
- $16 = $N;
- $mul4 = Math_imul($15, $16)|0;
- $17 = $eBands;
- $18 = $i;
- $arrayidx5 = (($17) + ($18<<1)|0);
- $19 = HEAP16[$arrayidx5>>1]|0;
- $conv6 = $19 << 16 >> 16;
- $20 = $LM$addr;
- $shl7 = $conv6 << $20;
- $add8 = (($mul4) + ($shl7))|0;
- $arrayidx9 = (($14) + ($add8<<2)|0);
- $21 = $eBands;
- $22 = $i;
- $add10 = (($22) + 1)|0;
- $arrayidx11 = (($21) + ($add10<<1)|0);
- $23 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $23 << 16 >> 16;
- $24 = $eBands;
- $25 = $i;
- $arrayidx13 = (($24) + ($25<<1)|0);
- $26 = HEAP16[$arrayidx13>>1]|0;
- $conv14 = $26 << 16 >> 16;
- $sub = (($conv12) - ($conv14))|0;
- $27 = $LM$addr;
- $shl15 = $sub << $27;
- $call = (+_celt_inner_prod_c_351($arrayidx3,$arrayidx9,$shl15));
- $add16 = 1.0000000272452012E-27 + $call;
- $sum = $add16;
- $28 = $sum;
- $conv17 = $28;
- $call18 = (+Math_sqrt((+$conv17)));
- $conv19 = $call18;
- $29 = $bandE$addr;
- $30 = $i;
- $31 = $c;
- $32 = $m$addr;
- $nbEBands = ((($32)) + 8|0);
- $33 = HEAP32[$nbEBands>>2]|0;
- $mul20 = Math_imul($31, $33)|0;
- $add21 = (($30) + ($mul20))|0;
- $arrayidx22 = (($29) + ($add21<<2)|0);
- HEAPF32[$arrayidx22>>2] = $conv19;
- $34 = $i;
- $inc = (($34) + 1)|0;
- $i = $inc;
- }
- $35 = $c;
- $inc23 = (($35) + 1)|0;
- $c = $inc23;
- $36 = $C$addr;
- $cmp24 = ($inc23|0)<($36|0);
- if (!($cmp24)) {
- break;
- }
- }
- STACKTOP = sp;return;
-}
-function _celt_inner_prod_c_351($x,$y,$N) {
- $x = $x|0;
- $y = $y|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $2 = 0.0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $N$addr = 0, $add = 0.0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $x$addr = 0, $xy = 0.0;
- var $y$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $y$addr = $y;
- $N$addr = $N;
- $xy = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $xy;
- if (!($cmp)) {
- break;
- }
- $3 = $x$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $6 = $y$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $mul = $5 * $8;
- $add = $2 + $mul;
- $xy = $add;
- $9 = $i;
- $inc = (($9) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return (+$2);
-}
-function _normalise_bands($m,$freq,$X,$bandE,$end,$C,$M) {
- $m = $m|0;
- $freq = $freq|0;
- $X = $X|0;
- $bandE = $bandE|0;
- $end = $end|0;
- $C = $C|0;
- $M = $M|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0.0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $M$addr = 0, $N = 0, $X$addr = 0;
- var $add = 0, $add15 = 0, $add19 = 0, $add3 = 0.0, $add7 = 0, $arrayidx = 0, $arrayidx16 = 0, $arrayidx20 = 0, $arrayidx4 = 0, $arrayidx8 = 0, $bandE$addr = 0, $c = 0, $cmp = 0, $cmp11 = 0, $cmp25 = 0, $conv = 0, $conv9 = 0, $div = 0.0, $eBands = 0, $eBands1 = 0;
- var $end$addr = 0, $freq$addr = 0, $g = 0.0, $i = 0, $inc = 0, $inc22 = 0, $inc24 = 0, $j = 0, $m$addr = 0, $mul = 0, $mul10 = 0, $mul14 = 0, $mul17 = 0.0, $mul18 = 0, $mul2 = 0, $mul5 = 0, $nbEBands = 0, $shortMdctSize = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $m$addr = $m;
- $freq$addr = $freq;
- $X$addr = $X;
- $bandE$addr = $bandE;
- $end$addr = $end;
- $C$addr = $C;
- $M$addr = $M;
- $0 = $m$addr;
- $eBands1 = ((($0)) + 32|0);
- $1 = HEAP32[$eBands1>>2]|0;
- $eBands = $1;
- $2 = $M$addr;
- $3 = $m$addr;
- $shortMdctSize = ((($3)) + 44|0);
- $4 = HEAP32[$shortMdctSize>>2]|0;
- $mul = Math_imul($2, $4)|0;
- $N = $mul;
- $c = 0;
- while(1) {
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $end$addr;
- $cmp = ($5|0)<($6|0);
- if (!($cmp)) {
- break;
- }
- $7 = $bandE$addr;
- $8 = $i;
- $9 = $c;
- $10 = $m$addr;
- $nbEBands = ((($10)) + 8|0);
- $11 = HEAP32[$nbEBands>>2]|0;
- $mul2 = Math_imul($9, $11)|0;
- $add = (($8) + ($mul2))|0;
- $arrayidx = (($7) + ($add<<2)|0);
- $12 = +HEAPF32[$arrayidx>>2];
- $add3 = 1.0000000272452012E-27 + $12;
- $div = 1.0 / $add3;
- $g = $div;
- $13 = $M$addr;
- $14 = $eBands;
- $15 = $i;
- $arrayidx4 = (($14) + ($15<<1)|0);
- $16 = HEAP16[$arrayidx4>>1]|0;
- $conv = $16 << 16 >> 16;
- $mul5 = Math_imul($13, $conv)|0;
- $j = $mul5;
- while(1) {
- $17 = $j;
- $18 = $M$addr;
- $19 = $eBands;
- $20 = $i;
- $add7 = (($20) + 1)|0;
- $arrayidx8 = (($19) + ($add7<<1)|0);
- $21 = HEAP16[$arrayidx8>>1]|0;
- $conv9 = $21 << 16 >> 16;
- $mul10 = Math_imul($18, $conv9)|0;
- $cmp11 = ($17|0)<($mul10|0);
- if (!($cmp11)) {
- break;
- }
- $22 = $freq$addr;
- $23 = $j;
- $24 = $c;
- $25 = $N;
- $mul14 = Math_imul($24, $25)|0;
- $add15 = (($23) + ($mul14))|0;
- $arrayidx16 = (($22) + ($add15<<2)|0);
- $26 = +HEAPF32[$arrayidx16>>2];
- $27 = $g;
- $mul17 = $26 * $27;
- $28 = $X$addr;
- $29 = $j;
- $30 = $c;
- $31 = $N;
- $mul18 = Math_imul($30, $31)|0;
- $add19 = (($29) + ($mul18))|0;
- $arrayidx20 = (($28) + ($add19<<2)|0);
- HEAPF32[$arrayidx20>>2] = $mul17;
- $32 = $j;
- $inc = (($32) + 1)|0;
- $j = $inc;
- }
- $33 = $i;
- $inc22 = (($33) + 1)|0;
- $i = $inc22;
- }
- $34 = $c;
- $inc24 = (($34) + 1)|0;
- $c = $inc24;
- $35 = $C$addr;
- $cmp25 = ($inc24|0)<($35|0);
- if (!($cmp25)) {
- break;
- }
- }
- STACKTOP = sp;return;
-}
-function _denormalise_bands($m,$X,$freq,$bandLogE,$start,$end,$M,$downsample,$silence) {
- $m = $m|0;
- $X = $X|0;
- $freq = $freq|0;
- $bandLogE = $bandLogE|0;
- $start = $start|0;
- $end = $end|0;
- $M = $M|0;
- $downsample = $downsample|0;
- $silence = $silence|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0;
- var $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $M$addr = 0, $N = 0;
- var $X$addr = 0, $add = 0, $add$ptr = 0, $add29 = 0.0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx21 = 0, $arrayidx24 = 0, $arrayidx27 = 0, $arrayidx28 = 0, $arrayidx42 = 0, $arrayidx9 = 0, $bandLogE$addr = 0, $band_end = 0, $bound = 0, $call = 0.0, $cmp = 0, $cmp15 = 0, $cmp18 = 0, $cmp37 = 0;
- var $cmp4 = 0, $cond = 0, $conv = 0, $conv10 = 0, $conv13 = 0, $conv22 = 0, $conv25 = 0, $conv30 = 0.0, $conv32 = 0.0, $div = 0, $div6 = 0, $downsample$addr = 0, $eBands = 0, $eBands1 = 0, $end$addr = 0, $f = 0, $freq$addr = 0, $g = 0.0, $i = 0, $inc = 0;
- var $inc36 = 0, $inc40 = 0, $incdec$ptr = 0, $incdec$ptr33 = 0, $incdec$ptr35 = 0, $j = 0, $lg = 0.0, $m$addr = 0, $mul = 0, $mul11 = 0, $mul14 = 0, $mul2 = 0, $mul23 = 0, $mul26 = 0, $mul31 = 0.0, $mul34 = 0.0, $mul43 = 0, $shortMdctSize = 0, $silence$addr = 0, $start$addr = 0;
- var $sub = 0, $tobool = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $m$addr = $m;
- $X$addr = $X;
- $freq$addr = $freq;
- $bandLogE$addr = $bandLogE;
- $start$addr = $start;
- $end$addr = $end;
- $M$addr = $M;
- $downsample$addr = $downsample;
- $silence$addr = $silence;
- $0 = $m$addr;
- $eBands1 = ((($0)) + 32|0);
- $1 = HEAP32[$eBands1>>2]|0;
- $eBands = $1;
- $2 = $M$addr;
- $3 = $m$addr;
- $shortMdctSize = ((($3)) + 44|0);
- $4 = HEAP32[$shortMdctSize>>2]|0;
- $mul = Math_imul($2, $4)|0;
- $N = $mul;
- $5 = $M$addr;
- $6 = $eBands;
- $7 = $end$addr;
- $arrayidx = (($6) + ($7<<1)|0);
- $8 = HEAP16[$arrayidx>>1]|0;
- $conv = $8 << 16 >> 16;
- $mul2 = Math_imul($5, $conv)|0;
- $bound = $mul2;
- $9 = $downsample$addr;
- $cmp = ($9|0)!=(1);
- if ($cmp) {
- $10 = $bound;
- $11 = $N;
- $12 = $downsample$addr;
- $div = (($11|0) / ($12|0))&-1;
- $cmp4 = ($10|0)<($div|0);
- if ($cmp4) {
- $13 = $bound;
- $cond = $13;
- } else {
- $14 = $N;
- $15 = $downsample$addr;
- $div6 = (($14|0) / ($15|0))&-1;
- $cond = $div6;
- }
- $bound = $cond;
- }
- $16 = $silence$addr;
- $tobool = ($16|0)!=(0);
- if ($tobool) {
- $bound = 0;
- $end$addr = 0;
- $start$addr = 0;
- }
- $17 = $freq$addr;
- $f = $17;
- $18 = $X$addr;
- $19 = $M$addr;
- $20 = $eBands;
- $21 = $start$addr;
- $arrayidx9 = (($20) + ($21<<1)|0);
- $22 = HEAP16[$arrayidx9>>1]|0;
- $conv10 = $22 << 16 >> 16;
- $mul11 = Math_imul($19, $conv10)|0;
- $add$ptr = (($18) + ($mul11<<2)|0);
- $x = $add$ptr;
- $i = 0;
- while(1) {
- $23 = $i;
- $24 = $M$addr;
- $25 = $eBands;
- $26 = $start$addr;
- $arrayidx12 = (($25) + ($26<<1)|0);
- $27 = HEAP16[$arrayidx12>>1]|0;
- $conv13 = $27 << 16 >> 16;
- $mul14 = Math_imul($24, $conv13)|0;
- $cmp15 = ($23|0)<($mul14|0);
- if (!($cmp15)) {
- break;
- }
- $28 = $f;
- $incdec$ptr = ((($28)) + 4|0);
- $f = $incdec$ptr;
- HEAPF32[$28>>2] = 0.0;
- $29 = $i;
- $inc = (($29) + 1)|0;
- $i = $inc;
- }
- $30 = $start$addr;
- $i = $30;
- while(1) {
- $31 = $i;
- $32 = $end$addr;
- $cmp18 = ($31|0)<($32|0);
- if (!($cmp18)) {
- break;
- }
- $33 = $M$addr;
- $34 = $eBands;
- $35 = $i;
- $arrayidx21 = (($34) + ($35<<1)|0);
- $36 = HEAP16[$arrayidx21>>1]|0;
- $conv22 = $36 << 16 >> 16;
- $mul23 = Math_imul($33, $conv22)|0;
- $j = $mul23;
- $37 = $M$addr;
- $38 = $eBands;
- $39 = $i;
- $add = (($39) + 1)|0;
- $arrayidx24 = (($38) + ($add<<1)|0);
- $40 = HEAP16[$arrayidx24>>1]|0;
- $conv25 = $40 << 16 >> 16;
- $mul26 = Math_imul($37, $conv25)|0;
- $band_end = $mul26;
- $41 = $bandLogE$addr;
- $42 = $i;
- $arrayidx27 = (($41) + ($42<<2)|0);
- $43 = +HEAPF32[$arrayidx27>>2];
- $44 = $i;
- $arrayidx28 = (16504 + ($44<<2)|0);
- $45 = +HEAPF32[$arrayidx28>>2];
- $add29 = $43 + $45;
- $lg = $add29;
- $46 = $lg;
- $conv30 = $46;
- $mul31 = 0.69314718055994529 * $conv30;
- $call = (+Math_exp((+$mul31)));
- $conv32 = $call;
- $g = $conv32;
- while(1) {
- $47 = $x;
- $incdec$ptr33 = ((($47)) + 4|0);
- $x = $incdec$ptr33;
- $48 = +HEAPF32[$47>>2];
- $49 = $g;
- $mul34 = $48 * $49;
- $50 = $f;
- $incdec$ptr35 = ((($50)) + 4|0);
- $f = $incdec$ptr35;
- HEAPF32[$50>>2] = $mul34;
- $51 = $j;
- $inc36 = (($51) + 1)|0;
- $j = $inc36;
- $52 = $band_end;
- $cmp37 = ($inc36|0)<($52|0);
- if (!($cmp37)) {
- break;
- }
- }
- $53 = $i;
- $inc40 = (($53) + 1)|0;
- $i = $inc40;
- }
- $54 = $freq$addr;
- $55 = $bound;
- $arrayidx42 = (($54) + ($55<<2)|0);
- $56 = $N;
- $57 = $bound;
- $sub = (($56) - ($57))|0;
- $mul43 = $sub<<2;
- _memset(($arrayidx42|0),0,($mul43|0))|0;
- STACKTOP = sp;return;
-}
-function _anti_collapse($m,$X_,$collapse_masks,$LM,$C,$size,$start,$end,$logE,$prev1logE,$prev2logE,$pulses,$seed,$arch) {
- $m = $m|0;
- $X_ = $X_|0;
- $collapse_masks = $collapse_masks|0;
- $LM = $LM|0;
- $C = $C|0;
- $size = $size|0;
- $start = $start|0;
- $end = $end|0;
- $logE = $logE|0;
- $prev1logE = $prev1logE|0;
- $prev2logE = $prev2logE|0;
- $pulses = $pulses|0;
- $seed = $seed|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
- var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0.0;
- var $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0;
- var $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0;
- var $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $C$addr = 0;
- var $Ediff = 0.0, $LM$addr = 0, $N0 = 0, $X = 0, $X_$addr = 0, $add = 0, $add$ptr = 0, $add$ptr92 = 0, $add117 = 0, $add24 = 0, $add28 = 0, $add33 = 0, $add38 = 0, $add41 = 0, $add48 = 0, $add5 = 0, $add54 = 0, $add7 = 0, $add99 = 0, $and = 0;
- var $and109 = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx11 = 0, $arrayidx118 = 0, $arrayidx2 = 0, $arrayidx25 = 0, $arrayidx29 = 0, $arrayidx34 = 0, $arrayidx39 = 0, $arrayidx4 = 0, $arrayidx42 = 0, $arrayidx49 = 0, $arrayidx55 = 0, $arrayidx8 = 0, $arrayidx89 = 0, $c = 0, $call = 0, $call108 = 0;
- var $call17 = 0.0, $call21 = 0.0, $call72 = 0.0, $cmp = 0, $cmp105 = 0, $cmp128 = 0, $cmp30 = 0, $cmp35 = 0, $cmp43 = 0, $cmp56 = 0, $cmp63 = 0, $cmp75 = 0, $cmp80 = 0, $cmp95 = 0, $collapse_masks$addr = 0, $cond = 0.0, $cond115 = 0.0, $cond51 = 0.0, $cond61 = 0.0, $cond68 = 0.0;
- var $cond85 = 0.0, $conv = 0, $conv101 = 0, $conv12 = 0, $conv14 = 0.0, $conv15 = 0.0, $conv18 = 0.0, $conv20 = 0.0, $conv22 = 0.0, $conv3 = 0, $conv70 = 0.0, $conv73 = 0.0, $conv9 = 0, $conv90 = 0, $depth = 0, $div = 0.0, $eBands = 0, $eBands1 = 0, $eBands10 = 0, $eBands6 = 0;
- var $eBands88 = 0, $end$addr = 0, $i = 0, $inc = 0, $inc121 = 0, $inc127 = 0, $inc131 = 0, $j = 0, $k = 0, $logE$addr = 0, $m$addr = 0, $mul = 0.0, $mul16 = 0.0, $mul19 = 0.0, $mul23 = 0, $mul27 = 0, $mul53 = 0, $mul71 = 0.0, $mul74 = 0.0, $mul78 = 0.0;
- var $mul86 = 0.0, $mul87 = 0, $mul98 = 0, $nbEBands = 0, $nbEBands26 = 0, $nbEBands32 = 0, $nbEBands37 = 0, $nbEBands40 = 0, $nbEBands47 = 0, $nbEBands52 = 0, $prev1 = 0.0, $prev1logE$addr = 0, $prev2 = 0.0, $prev2logE$addr = 0, $pulses$addr = 0, $r = 0.0, $renormalize = 0, $seed$addr = 0, $shl = 0, $shl102 = 0;
- var $shl116 = 0, $shl125 = 0, $shl91 = 0, $shl94 = 0, $shr = 0, $size$addr = 0, $sqrt_1 = 0.0, $start$addr = 0, $sub = 0, $sub113 = 0.0, $sub13 = 0, $sub62 = 0.0, $sub69 = 0.0, $thresh = 0.0, $tobool = 0, $tobool110 = 0, $tobool123 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $m$addr = $m;
- $X_$addr = $X_;
- $collapse_masks$addr = $collapse_masks;
- $LM$addr = $LM;
- $C$addr = $C;
- $size$addr = $size;
- $start$addr = $start;
- $end$addr = $end;
- $logE$addr = $logE;
- $prev1logE$addr = $prev1logE;
- $prev2logE$addr = $prev2logE;
- $pulses$addr = $pulses;
- $seed$addr = $seed;
- $arch$addr = $arch;
- $0 = $start$addr;
- $i = $0;
- while(1) {
- $1 = $i;
- $2 = $end$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $m$addr;
- $eBands = ((($3)) + 32|0);
- $4 = HEAP32[$eBands>>2]|0;
- $5 = $i;
- $add = (($5) + 1)|0;
- $arrayidx = (($4) + ($add<<1)|0);
- $6 = HEAP16[$arrayidx>>1]|0;
- $conv = $6 << 16 >> 16;
- $7 = $m$addr;
- $eBands1 = ((($7)) + 32|0);
- $8 = HEAP32[$eBands1>>2]|0;
- $9 = $i;
- $arrayidx2 = (($8) + ($9<<1)|0);
- $10 = HEAP16[$arrayidx2>>1]|0;
- $conv3 = $10 << 16 >> 16;
- $sub = (($conv) - ($conv3))|0;
- $N0 = $sub;
- $11 = $pulses$addr;
- $12 = $i;
- $arrayidx4 = (($11) + ($12<<2)|0);
- $13 = HEAP32[$arrayidx4>>2]|0;
- $add5 = (1 + ($13))|0;
- $14 = $m$addr;
- $eBands6 = ((($14)) + 32|0);
- $15 = HEAP32[$eBands6>>2]|0;
- $16 = $i;
- $add7 = (($16) + 1)|0;
- $arrayidx8 = (($15) + ($add7<<1)|0);
- $17 = HEAP16[$arrayidx8>>1]|0;
- $conv9 = $17 << 16 >> 16;
- $18 = $m$addr;
- $eBands10 = ((($18)) + 32|0);
- $19 = HEAP32[$eBands10>>2]|0;
- $20 = $i;
- $arrayidx11 = (($19) + ($20<<1)|0);
- $21 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $21 << 16 >> 16;
- $sub13 = (($conv9) - ($conv12))|0;
- $call = (_celt_udiv_358($add5,$sub13)|0);
- $22 = $LM$addr;
- $shr = $call >>> $22;
- $depth = $shr;
- $23 = $depth;
- $conv14 = (+($23|0));
- $mul = -0.125 * $conv14;
- $conv15 = $mul;
- $mul16 = 0.69314718055994529 * $conv15;
- $call17 = (+Math_exp((+$mul16)));
- $conv18 = $call17;
- $mul19 = 0.5 * $conv18;
- $thresh = $mul19;
- $24 = $N0;
- $25 = $LM$addr;
- $shl = $24 << $25;
- $conv20 = (+($shl|0));
- $call21 = (+Math_sqrt((+$conv20)));
- $conv22 = $call21;
- $div = 1.0 / $conv22;
- $sqrt_1 = $div;
- $c = 0;
- while(1) {
- $renormalize = 0;
- $26 = $prev1logE$addr;
- $27 = $c;
- $28 = $m$addr;
- $nbEBands = ((($28)) + 8|0);
- $29 = HEAP32[$nbEBands>>2]|0;
- $mul23 = Math_imul($27, $29)|0;
- $30 = $i;
- $add24 = (($mul23) + ($30))|0;
- $arrayidx25 = (($26) + ($add24<<2)|0);
- $31 = +HEAPF32[$arrayidx25>>2];
- $prev1 = $31;
- $32 = $prev2logE$addr;
- $33 = $c;
- $34 = $m$addr;
- $nbEBands26 = ((($34)) + 8|0);
- $35 = HEAP32[$nbEBands26>>2]|0;
- $mul27 = Math_imul($33, $35)|0;
- $36 = $i;
- $add28 = (($mul27) + ($36))|0;
- $arrayidx29 = (($32) + ($add28<<2)|0);
- $37 = +HEAPF32[$arrayidx29>>2];
- $prev2 = $37;
- $38 = $C$addr;
- $cmp30 = ($38|0)==(1);
- if ($cmp30) {
- $39 = $prev1;
- $40 = $prev1logE$addr;
- $41 = $m$addr;
- $nbEBands32 = ((($41)) + 8|0);
- $42 = HEAP32[$nbEBands32>>2]|0;
- $43 = $i;
- $add33 = (($42) + ($43))|0;
- $arrayidx34 = (($40) + ($add33<<2)|0);
- $44 = +HEAPF32[$arrayidx34>>2];
- $cmp35 = $39 > $44;
- if ($cmp35) {
- $45 = $prev1;
- $cond = $45;
- } else {
- $46 = $prev1logE$addr;
- $47 = $m$addr;
- $nbEBands37 = ((($47)) + 8|0);
- $48 = HEAP32[$nbEBands37>>2]|0;
- $49 = $i;
- $add38 = (($48) + ($49))|0;
- $arrayidx39 = (($46) + ($add38<<2)|0);
- $50 = +HEAPF32[$arrayidx39>>2];
- $cond = $50;
- }
- $prev1 = $cond;
- $51 = $prev2;
- $52 = $prev2logE$addr;
- $53 = $m$addr;
- $nbEBands40 = ((($53)) + 8|0);
- $54 = HEAP32[$nbEBands40>>2]|0;
- $55 = $i;
- $add41 = (($54) + ($55))|0;
- $arrayidx42 = (($52) + ($add41<<2)|0);
- $56 = +HEAPF32[$arrayidx42>>2];
- $cmp43 = $51 > $56;
- if ($cmp43) {
- $57 = $prev2;
- $cond51 = $57;
- } else {
- $58 = $prev2logE$addr;
- $59 = $m$addr;
- $nbEBands47 = ((($59)) + 8|0);
- $60 = HEAP32[$nbEBands47>>2]|0;
- $61 = $i;
- $add48 = (($60) + ($61))|0;
- $arrayidx49 = (($58) + ($add48<<2)|0);
- $62 = +HEAPF32[$arrayidx49>>2];
- $cond51 = $62;
- }
- $prev2 = $cond51;
- }
- $63 = $logE$addr;
- $64 = $c;
- $65 = $m$addr;
- $nbEBands52 = ((($65)) + 8|0);
- $66 = HEAP32[$nbEBands52>>2]|0;
- $mul53 = Math_imul($64, $66)|0;
- $67 = $i;
- $add54 = (($mul53) + ($67))|0;
- $arrayidx55 = (($63) + ($add54<<2)|0);
- $68 = +HEAPF32[$arrayidx55>>2];
- $69 = $prev1;
- $70 = $prev2;
- $cmp56 = $69 < $70;
- $71 = $prev1;
- $72 = $prev2;
- $cond61 = $cmp56 ? $71 : $72;
- $sub62 = $68 - $cond61;
- $Ediff = $sub62;
- $73 = $Ediff;
- $cmp63 = 0.0 > $73;
- $74 = $Ediff;
- $cond68 = $cmp63 ? 0.0 : $74;
- $Ediff = $cond68;
- $75 = $Ediff;
- $sub69 = - $75;
- $conv70 = $sub69;
- $mul71 = 0.69314718055994529 * $conv70;
- $call72 = (+Math_exp((+$mul71)));
- $conv73 = $call72;
- $mul74 = 2.0 * $conv73;
- $r = $mul74;
- $76 = $LM$addr;
- $cmp75 = ($76|0)==(3);
- if ($cmp75) {
- $77 = $r;
- $mul78 = $77 * 1.4142135381698608;
- $r = $mul78;
- }
- $78 = $thresh;
- $79 = $r;
- $cmp80 = $78 < $79;
- $80 = $thresh;
- $81 = $r;
- $cond85 = $cmp80 ? $80 : $81;
- $r = $cond85;
- $82 = $r;
- $83 = $sqrt_1;
- $mul86 = $82 * $83;
- $r = $mul86;
- $84 = $X_$addr;
- $85 = $c;
- $86 = $size$addr;
- $mul87 = Math_imul($85, $86)|0;
- $add$ptr = (($84) + ($mul87<<2)|0);
- $87 = $m$addr;
- $eBands88 = ((($87)) + 32|0);
- $88 = HEAP32[$eBands88>>2]|0;
- $89 = $i;
- $arrayidx89 = (($88) + ($89<<1)|0);
- $90 = HEAP16[$arrayidx89>>1]|0;
- $conv90 = $90 << 16 >> 16;
- $91 = $LM$addr;
- $shl91 = $conv90 << $91;
- $add$ptr92 = (($add$ptr) + ($shl91<<2)|0);
- $X = $add$ptr92;
- $k = 0;
- while(1) {
- $92 = $k;
- $93 = $LM$addr;
- $shl94 = 1 << $93;
- $cmp95 = ($92|0)<($shl94|0);
- if (!($cmp95)) {
- break;
- }
- $94 = $collapse_masks$addr;
- $95 = $i;
- $96 = $C$addr;
- $mul98 = Math_imul($95, $96)|0;
- $97 = $c;
- $add99 = (($mul98) + ($97))|0;
- $arrayidx100 = (($94) + ($add99)|0);
- $98 = HEAP8[$arrayidx100>>0]|0;
- $conv101 = $98&255;
- $99 = $k;
- $shl102 = 1 << $99;
- $and = $conv101 & $shl102;
- $tobool = ($and|0)!=(0);
- if (!($tobool)) {
- $j = 0;
- while(1) {
- $100 = $j;
- $101 = $N0;
- $cmp105 = ($100|0)<($101|0);
- if (!($cmp105)) {
- break;
- }
- $102 = $seed$addr;
- $call108 = (_celt_lcg_rand($102)|0);
- $seed$addr = $call108;
- $103 = $seed$addr;
- $and109 = $103 & 32768;
- $tobool110 = ($and109|0)!=(0);
- $104 = $r;
- $sub113 = - $104;
- $cond115 = $tobool110 ? $104 : $sub113;
- $105 = $X;
- $106 = $j;
- $107 = $LM$addr;
- $shl116 = $106 << $107;
- $108 = $k;
- $add117 = (($shl116) + ($108))|0;
- $arrayidx118 = (($105) + ($add117<<2)|0);
- HEAPF32[$arrayidx118>>2] = $cond115;
- $109 = $j;
- $inc = (($109) + 1)|0;
- $j = $inc;
- }
- $renormalize = 1;
- }
- $110 = $k;
- $inc121 = (($110) + 1)|0;
- $k = $inc121;
- }
- $111 = $renormalize;
- $tobool123 = ($111|0)!=(0);
- if ($tobool123) {
- $112 = $X;
- $113 = $N0;
- $114 = $LM$addr;
- $shl125 = $113 << $114;
- $115 = $arch$addr;
- _renormalise_vector($112,$shl125,1.0,$115);
- }
- $116 = $c;
- $inc127 = (($116) + 1)|0;
- $c = $inc127;
- $117 = $C$addr;
- $cmp128 = ($inc127|0)<($117|0);
- if (!($cmp128)) {
- break;
- }
- }
- $118 = $i;
- $inc131 = (($118) + 1)|0;
- $i = $inc131;
- }
- STACKTOP = sp;return;
-}
-function _celt_udiv_358($n,$d) {
- $n = $n|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $d$addr = 0, $div = 0, $n$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $n$addr = $n;
- $d$addr = $d;
- $0 = $n$addr;
- $1 = $d$addr;
- $div = (($0>>>0) / ($1>>>0))&-1;
- STACKTOP = sp;return ($div|0);
-}
-function _spreading_decision($m,$X,$average,$last_decision,$hf_average,$tapset_decision,$update_hf,$end,$C,$M) {
- $m = $m|0;
- $X = $X|0;
- $average = $average|0;
- $last_decision = $last_decision|0;
- $hf_average = $hf_average|0;
- $tapset_decision = $tapset_decision|0;
- $update_hf = $update_hf|0;
- $end = $end|0;
- $C = $C|0;
- $M = $M|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
- var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0.0;
- var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
- var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
- var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
- var $98 = 0, $99 = 0, $C$addr = 0, $M$addr = 0, $N = 0, $N0 = 0, $X$addr = 0, $add = 0, $add$ptr = 0, $add$ptr13 = 0, $add116 = 0, $add120 = 0, $add121 = 0, $add122 = 0, $add57 = 0, $add59 = 0, $add69 = 0, $add74 = 0, $add76 = 0, $add89 = 0;
- var $add93 = 0, $add97 = 0, $arrayidx = 0, $arrayidx14 = 0, $arrayidx16 = 0, $arrayidx2 = 0, $arrayidx28 = 0, $arrayidx29 = 0, $arrayidx41 = 0, $arrayidx47 = 0, $arrayidx55 = 0, $arrayidx61 = 0, $arrayidx65 = 0, $arrayidx9 = 0, $average$addr = 0, $c = 0, $call = 0, $call115 = 0, $call91 = 0, $cmp = 0;
- var $cmp104 = 0, $cmp108 = 0, $cmp124 = 0, $cmp128 = 0, $cmp132 = 0, $cmp20 = 0, $cmp25 = 0, $cmp33 = 0, $cmp38 = 0, $cmp44 = 0, $cmp52 = 0, $cmp63 = 0, $cmp67 = 0, $cmp7 = 0, $cmp72 = 0, $cmp82 = 0, $cmp94 = 0, $cmp98 = 0, $conv = 0, $conv10 = 0;
- var $conv15 = 0, $conv17 = 0, $conv3 = 0, $conv31 = 0.0, $conv64 = 0, $conv68 = 0, $conv73 = 0, $decision = 0, $eBands = 0, $eBands1 = 0, $end$addr = 0, $hf_average$addr = 0, $hf_sum = 0, $i = 0, $inc = 0, $inc42 = 0, $inc48 = 0, $inc50 = 0, $inc77 = 0, $inc79 = 0;
- var $inc81 = 0, $j = 0, $last_decision$addr = 0, $m$addr = 0, $mul = 0, $mul11 = 0, $mul118 = 0, $mul12 = 0, $mul19 = 0, $mul30 = 0.0, $mul32 = 0.0, $mul5 = 0, $mul58 = 0, $mul62 = 0, $mul66 = 0, $mul71 = 0, $mul75 = 0, $mul90 = 0, $nbBands = 0, $nbEBands = 0;
- var $nbEBands87 = 0, $retval = 0, $shl = 0, $shortMdctSize = 0, $shr = 0, $shr117 = 0, $shr123 = 0, $sub = 0, $sub101 = 0, $sub119 = 0, $sub18 = 0, $sub4 = 0, $sub51 = 0, $sub88 = 0, $sum = 0, $tapset_decision$addr = 0, $tcount = 0, $tmp = 0, $tobool = 0, $tobool85 = 0;
- var $update_hf$addr = 0, $x = 0, $x2N = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $tcount = sp + 8|0;
- $m$addr = $m;
- $X$addr = $X;
- $average$addr = $average;
- $last_decision$addr = $last_decision;
- $hf_average$addr = $hf_average;
- $tapset_decision$addr = $tapset_decision;
- $update_hf$addr = $update_hf;
- $end$addr = $end;
- $C$addr = $C;
- $M$addr = $M;
- $sum = 0;
- $nbBands = 0;
- $0 = $m$addr;
- $eBands1 = ((($0)) + 32|0);
- $1 = HEAP32[$eBands1>>2]|0;
- $eBands = $1;
- $hf_sum = 0;
- $2 = $M$addr;
- $3 = $m$addr;
- $shortMdctSize = ((($3)) + 44|0);
- $4 = HEAP32[$shortMdctSize>>2]|0;
- $mul = Math_imul($2, $4)|0;
- $N0 = $mul;
- $5 = $M$addr;
- $6 = $eBands;
- $7 = $end$addr;
- $arrayidx = (($6) + ($7<<1)|0);
- $8 = HEAP16[$arrayidx>>1]|0;
- $conv = $8 << 16 >> 16;
- $9 = $eBands;
- $10 = $end$addr;
- $sub = (($10) - 1)|0;
- $arrayidx2 = (($9) + ($sub<<1)|0);
- $11 = HEAP16[$arrayidx2>>1]|0;
- $conv3 = $11 << 16 >> 16;
- $sub4 = (($conv) - ($conv3))|0;
- $mul5 = Math_imul($5, $sub4)|0;
- $cmp = ($mul5|0)<=(8);
- if ($cmp) {
- $retval = 0;
- $100 = $retval;
- STACKTOP = sp;return ($100|0);
- }
- $c = 0;
- while(1) {
- $i = 0;
- while(1) {
- $12 = $i;
- $13 = $end$addr;
- $cmp7 = ($12|0)<($13|0);
- if (!($cmp7)) {
- break;
- }
- $tmp = 0;
- ;HEAP32[$tcount>>2]=0|0;HEAP32[$tcount+4>>2]=0|0;HEAP32[$tcount+8>>2]=0|0;
- $14 = $X$addr;
- $15 = $M$addr;
- $16 = $eBands;
- $17 = $i;
- $arrayidx9 = (($16) + ($17<<1)|0);
- $18 = HEAP16[$arrayidx9>>1]|0;
- $conv10 = $18 << 16 >> 16;
- $mul11 = Math_imul($15, $conv10)|0;
- $add$ptr = (($14) + ($mul11<<2)|0);
- $19 = $c;
- $20 = $N0;
- $mul12 = Math_imul($19, $20)|0;
- $add$ptr13 = (($add$ptr) + ($mul12<<2)|0);
- $x = $add$ptr13;
- $21 = $M$addr;
- $22 = $eBands;
- $23 = $i;
- $add = (($23) + 1)|0;
- $arrayidx14 = (($22) + ($add<<1)|0);
- $24 = HEAP16[$arrayidx14>>1]|0;
- $conv15 = $24 << 16 >> 16;
- $25 = $eBands;
- $26 = $i;
- $arrayidx16 = (($25) + ($26<<1)|0);
- $27 = HEAP16[$arrayidx16>>1]|0;
- $conv17 = $27 << 16 >> 16;
- $sub18 = (($conv15) - ($conv17))|0;
- $mul19 = Math_imul($21, $sub18)|0;
- $N = $mul19;
- $28 = $N;
- $cmp20 = ($28|0)<=(8);
- if (!($cmp20)) {
- $j = 0;
- while(1) {
- $29 = $j;
- $30 = $N;
- $cmp25 = ($29|0)<($30|0);
- if (!($cmp25)) {
- break;
- }
- $31 = $x;
- $32 = $j;
- $arrayidx28 = (($31) + ($32<<2)|0);
- $33 = +HEAPF32[$arrayidx28>>2];
- $34 = $x;
- $35 = $j;
- $arrayidx29 = (($34) + ($35<<2)|0);
- $36 = +HEAPF32[$arrayidx29>>2];
- $mul30 = $33 * $36;
- $37 = $N;
- $conv31 = (+($37|0));
- $mul32 = $mul30 * $conv31;
- $x2N = $mul32;
- $38 = $x2N;
- $cmp33 = $38 < 0.25;
- if ($cmp33) {
- $39 = HEAP32[$tcount>>2]|0;
- $inc = (($39) + 1)|0;
- HEAP32[$tcount>>2] = $inc;
- }
- $40 = $x2N;
- $cmp38 = $40 < 0.0625;
- if ($cmp38) {
- $arrayidx41 = ((($tcount)) + 4|0);
- $41 = HEAP32[$arrayidx41>>2]|0;
- $inc42 = (($41) + 1)|0;
- HEAP32[$arrayidx41>>2] = $inc42;
- }
- $42 = $x2N;
- $cmp44 = $42 < 0.015625;
- if ($cmp44) {
- $arrayidx47 = ((($tcount)) + 8|0);
- $43 = HEAP32[$arrayidx47>>2]|0;
- $inc48 = (($43) + 1)|0;
- HEAP32[$arrayidx47>>2] = $inc48;
- }
- $44 = $j;
- $inc50 = (($44) + 1)|0;
- $j = $inc50;
- }
- $45 = $i;
- $46 = $m$addr;
- $nbEBands = ((($46)) + 8|0);
- $47 = HEAP32[$nbEBands>>2]|0;
- $sub51 = (($47) - 4)|0;
- $cmp52 = ($45|0)>($sub51|0);
- if ($cmp52) {
- $arrayidx55 = ((($tcount)) + 4|0);
- $48 = HEAP32[$arrayidx55>>2]|0;
- $49 = HEAP32[$tcount>>2]|0;
- $add57 = (($48) + ($49))|0;
- $mul58 = $add57<<5;
- $50 = $N;
- $call = (_celt_udiv_358($mul58,$50)|0);
- $51 = $hf_sum;
- $add59 = (($51) + ($call))|0;
- $hf_sum = $add59;
- }
- $arrayidx61 = ((($tcount)) + 8|0);
- $52 = HEAP32[$arrayidx61>>2]|0;
- $mul62 = $52<<1;
- $53 = $N;
- $cmp63 = ($mul62|0)>=($53|0);
- $conv64 = $cmp63&1;
- $arrayidx65 = ((($tcount)) + 4|0);
- $54 = HEAP32[$arrayidx65>>2]|0;
- $mul66 = $54<<1;
- $55 = $N;
- $cmp67 = ($mul66|0)>=($55|0);
- $conv68 = $cmp67&1;
- $add69 = (($conv64) + ($conv68))|0;
- $56 = HEAP32[$tcount>>2]|0;
- $mul71 = $56<<1;
- $57 = $N;
- $cmp72 = ($mul71|0)>=($57|0);
- $conv73 = $cmp72&1;
- $add74 = (($add69) + ($conv73))|0;
- $tmp = $add74;
- $58 = $tmp;
- $mul75 = $58<<8;
- $59 = $sum;
- $add76 = (($59) + ($mul75))|0;
- $sum = $add76;
- $60 = $nbBands;
- $inc77 = (($60) + 1)|0;
- $nbBands = $inc77;
- }
- $61 = $i;
- $inc79 = (($61) + 1)|0;
- $i = $inc79;
- }
- $62 = $c;
- $inc81 = (($62) + 1)|0;
- $c = $inc81;
- $63 = $C$addr;
- $cmp82 = ($inc81|0)<($63|0);
- if (!($cmp82)) {
- break;
- }
- }
- $64 = $update_hf$addr;
- $tobool = ($64|0)!=(0);
- do {
- if ($tobool) {
- $65 = $hf_sum;
- $tobool85 = ($65|0)!=(0);
- if ($tobool85) {
- $66 = $hf_sum;
- $67 = $C$addr;
- $68 = $m$addr;
- $nbEBands87 = ((($68)) + 8|0);
- $69 = HEAP32[$nbEBands87>>2]|0;
- $sub88 = (4 - ($69))|0;
- $70 = $end$addr;
- $add89 = (($sub88) + ($70))|0;
- $mul90 = Math_imul($67, $add89)|0;
- $call91 = (_celt_udiv_358($66,$mul90)|0);
- $hf_sum = $call91;
- }
- $71 = $hf_average$addr;
- $72 = HEAP32[$71>>2]|0;
- $73 = $hf_sum;
- $add93 = (($72) + ($73))|0;
- $shr = $add93 >> 1;
- $74 = $hf_average$addr;
- HEAP32[$74>>2] = $shr;
- $75 = $hf_average$addr;
- $76 = HEAP32[$75>>2]|0;
- $hf_sum = $76;
- $77 = $tapset_decision$addr;
- $78 = HEAP32[$77>>2]|0;
- $cmp94 = ($78|0)==(2);
- if ($cmp94) {
- $79 = $hf_sum;
- $add97 = (($79) + 4)|0;
- $hf_sum = $add97;
- } else {
- $80 = $tapset_decision$addr;
- $81 = HEAP32[$80>>2]|0;
- $cmp98 = ($81|0)==(0);
- if ($cmp98) {
- $82 = $hf_sum;
- $sub101 = (($82) - 4)|0;
- $hf_sum = $sub101;
- }
- }
- $83 = $hf_sum;
- $cmp104 = ($83|0)>(22);
- if ($cmp104) {
- $84 = $tapset_decision$addr;
- HEAP32[$84>>2] = 2;
- break;
- } else {
- $85 = $hf_sum;
- $cmp108 = ($85|0)>(18);
- $86 = $tapset_decision$addr;
- $$sink = $cmp108 ? 1 : 0;
- HEAP32[$86>>2] = $$sink;
- break;
- }
- }
- } while(0);
- $87 = $sum;
- $88 = $nbBands;
- $call115 = (_celt_udiv_358($87,$88)|0);
- $sum = $call115;
- $89 = $sum;
- $90 = $average$addr;
- $91 = HEAP32[$90>>2]|0;
- $add116 = (($89) + ($91))|0;
- $shr117 = $add116 >> 1;
- $sum = $shr117;
- $92 = $sum;
- $93 = $average$addr;
- HEAP32[$93>>2] = $92;
- $94 = $sum;
- $mul118 = ($94*3)|0;
- $95 = $last_decision$addr;
- $sub119 = (3 - ($95))|0;
- $shl = $sub119 << 7;
- $add120 = (($shl) + 64)|0;
- $add121 = (($mul118) + ($add120))|0;
- $add122 = (($add121) + 2)|0;
- $shr123 = $add122 >> 2;
- $sum = $shr123;
- $96 = $sum;
- $cmp124 = ($96|0)<(80);
- do {
- if ($cmp124) {
- $decision = 3;
- } else {
- $97 = $sum;
- $cmp128 = ($97|0)<(256);
- if ($cmp128) {
- $decision = 2;
- break;
- }
- $98 = $sum;
- $cmp132 = ($98|0)<(384);
- if ($cmp132) {
- $decision = 1;
- break;
- } else {
- $decision = 0;
- break;
- }
- }
- } while(0);
- $99 = $decision;
- $retval = $99;
- $100 = $retval;
- STACKTOP = sp;return ($100|0);
-}
-function _haar1($X,$N0,$stride) {
- $X = $X|0;
- $N0 = $N0|0;
- $stride = $stride|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0.0, $N0$addr = 0, $X$addr = 0, $add = 0, $add12 = 0.0, $add15 = 0, $add18 = 0, $add20 = 0, $add7 = 0, $add9 = 0, $arrayidx = 0, $arrayidx10 = 0;
- var $arrayidx16 = 0, $arrayidx21 = 0, $cmp = 0, $cmp2 = 0, $i = 0, $inc = 0, $inc23 = 0, $j = 0, $mul = 0, $mul11 = 0.0, $mul13 = 0, $mul14 = 0, $mul17 = 0, $mul19 = 0, $mul4 = 0, $mul5 = 0.0, $mul6 = 0, $mul8 = 0, $shr = 0, $stride$addr = 0;
- var $sub = 0.0, $tmp1 = 0.0, $tmp2 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $X$addr = $X;
- $N0$addr = $N0;
- $stride$addr = $stride;
- $0 = $N0$addr;
- $shr = $0 >> 1;
- $N0$addr = $shr;
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $stride$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $j = 0;
- while(1) {
- $3 = $j;
- $4 = $N0$addr;
- $cmp2 = ($3|0)<($4|0);
- if (!($cmp2)) {
- break;
- }
- $5 = $X$addr;
- $6 = $stride$addr;
- $mul = $6<<1;
- $7 = $j;
- $mul4 = Math_imul($mul, $7)|0;
- $8 = $i;
- $add = (($mul4) + ($8))|0;
- $arrayidx = (($5) + ($add<<2)|0);
- $9 = +HEAPF32[$arrayidx>>2];
- $mul5 = 0.70710676908493042 * $9;
- $tmp1 = $mul5;
- $10 = $X$addr;
- $11 = $stride$addr;
- $12 = $j;
- $mul6 = $12<<1;
- $add7 = (($mul6) + 1)|0;
- $mul8 = Math_imul($11, $add7)|0;
- $13 = $i;
- $add9 = (($mul8) + ($13))|0;
- $arrayidx10 = (($10) + ($add9<<2)|0);
- $14 = +HEAPF32[$arrayidx10>>2];
- $mul11 = 0.70710676908493042 * $14;
- $tmp2 = $mul11;
- $15 = $tmp1;
- $16 = $tmp2;
- $add12 = $15 + $16;
- $17 = $X$addr;
- $18 = $stride$addr;
- $mul13 = $18<<1;
- $19 = $j;
- $mul14 = Math_imul($mul13, $19)|0;
- $20 = $i;
- $add15 = (($mul14) + ($20))|0;
- $arrayidx16 = (($17) + ($add15<<2)|0);
- HEAPF32[$arrayidx16>>2] = $add12;
- $21 = $tmp1;
- $22 = $tmp2;
- $sub = $21 - $22;
- $23 = $X$addr;
- $24 = $stride$addr;
- $25 = $j;
- $mul17 = $25<<1;
- $add18 = (($mul17) + 1)|0;
- $mul19 = Math_imul($24, $add18)|0;
- $26 = $i;
- $add20 = (($mul19) + ($26))|0;
- $arrayidx21 = (($23) + ($add20<<2)|0);
- HEAPF32[$arrayidx21>>2] = $sub;
- $27 = $j;
- $inc = (($27) + 1)|0;
- $j = $inc;
- }
- $28 = $i;
- $inc23 = (($28) + 1)|0;
- $i = $inc23;
- }
- STACKTOP = sp;return;
-}
-function _quant_all_bands($encode,$m,$start,$end,$X_,$Y_,$collapse_masks,$bandE,$pulses,$shortBlocks,$spread,$dual_stereo,$intensity,$tf_res,$total_bits,$balance,$ec,$LM,$codedBands,$seed,$arch) {
- $encode = $encode|0;
- $m = $m|0;
- $start = $start|0;
- $end = $end|0;
- $X_ = $X_|0;
- $Y_ = $Y_|0;
- $collapse_masks = $collapse_masks|0;
- $bandE = $bandE|0;
- $pulses = $pulses|0;
- $shortBlocks = $shortBlocks|0;
- $spread = $spread|0;
- $dual_stereo = $dual_stereo|0;
- $intensity = $intensity|0;
- $tf_res = $tf_res|0;
- $total_bits = $total_bits|0;
- $balance = $balance|0;
- $ec = $ec|0;
- $LM = $LM|0;
- $codedBands = $codedBands|0;
- $seed = $seed|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0.0, $205 = 0;
- var $206 = 0, $207 = 0.0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
- var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
- var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
- var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
- var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
- var $96 = 0, $97 = 0, $98 = 0, $99 = 0, $B = 0, $C = 0, $LM$addr = 0, $M = 0, $N = 0, $X = 0, $X_$addr = 0, $Y = 0, $Y_$addr = 0, $add = 0, $add$ptr = 0, $add$ptr14 = 0, $add$ptr20 = 0, $add$ptr262 = 0, $add$ptr272 = 0, $add$ptr274 = 0;
- var $add$ptr282 = 0, $add$ptr292 = 0, $add$ptr294 = 0, $add$ptr305 = 0, $add$ptr315 = 0, $add$ptr317 = 0, $add$ptr326 = 0, $add$ptr336 = 0, $add$ptr338 = 0, $add$ptr38 = 0, $add$ptr44 = 0, $add107 = 0, $add109 = 0, $add113 = 0, $add116 = 0, $add123 = 0, $add125 = 0, $add129 = 0, $add132 = 0, $add203 = 0;
- var $add211 = 0, $add212 = 0, $add218 = 0, $add222 = 0, $add251 = 0.0, $add347 = 0, $add351 = 0, $add355 = 0, $add356 = 0, $add73 = 0, $add75 = 0, $add79 = 0, $add82 = 0, $add89 = 0, $add91 = 0, $add95 = 0, $add98 = 0, $arch$addr = 0, $arch28 = 0, $arrayidx = 0;
- var $arrayidx108 = 0, $arrayidx11 = 0, $arrayidx115 = 0, $arrayidx124 = 0, $arrayidx131 = 0, $arrayidx142 = 0, $arrayidx146 = 0, $arrayidx157 = 0, $arrayidx17 = 0, $arrayidx184 = 0, $arrayidx193 = 0, $arrayidx200 = 0, $arrayidx208 = 0, $arrayidx219 = 0, $arrayidx224 = 0, $arrayidx242 = 0, $arrayidx249 = 0, $arrayidx250 = 0, $arrayidx253 = 0, $arrayidx269 = 0;
- var $arrayidx289 = 0, $arrayidx312 = 0, $arrayidx333 = 0, $arrayidx348 = 0, $arrayidx35 = 0, $arrayidx353 = 0, $arrayidx354 = 0, $arrayidx4 = 0, $arrayidx41 = 0, $arrayidx45 = 0, $arrayidx48 = 0, $arrayidx74 = 0, $arrayidx81 = 0, $arrayidx90 = 0, $arrayidx97 = 0, $b = 0, $balance$addr = 0, $bandE$addr = 0, $bandE21 = 0, $call = 0;
- var $call277 = 0, $call297 = 0, $call321 = 0, $call342 = 0, $call72 = 0, $cmp = 0, $cmp103 = 0, $cmp110 = 0, $cmp119 = 0, $cmp126 = 0, $cmp149 = 0, $cmp153 = 0, $cmp159 = 0, $cmp162 = 0, $cmp168 = 0, $cmp172 = 0, $cmp175 = 0, $cmp178 = 0, $cmp181 = 0, $cmp189 = 0;
- var $cmp204 = 0, $cmp213 = 0, $cmp228 = 0, $cmp236 = 0, $cmp246 = 0, $cmp259 = 0, $cmp279 = 0, $cmp29 = 0, $cmp299 = 0, $cmp302 = 0, $cmp323 = 0, $cmp33 = 0, $cmp358 = 0, $cmp39 = 0, $cmp52 = 0, $cmp61 = 0, $cmp65 = 0, $cmp76 = 0, $cmp85 = 0, $cmp92 = 0;
- var $codedBands$addr = 0, $collapse_masks$addr = 0, $cond = 0, $cond102 = 0, $cond118 = 0, $cond138 = 0, $cond199 = 0, $cond265 = 0, $cond276 = 0, $cond285 = 0, $cond296 = 0, $cond3 = 0, $cond308 = 0, $cond319 = 0, $cond329 = 0, $cond340 = 0, $cond71 = 0, $cond84 = 0, $conv = 0, $conv12 = 0;
- var $conv143 = 0, $conv147 = 0, $conv18 = 0, $conv185 = 0, $conv194 = 0, $conv201 = 0, $conv209 = 0, $conv220 = 0, $conv225 = 0, $conv243 = 0, $conv270 = 0, $conv290 = 0, $conv313 = 0, $conv334 = 0, $conv34 = 0, $conv345 = 0, $conv349 = 0, $conv359 = 0, $conv36 = 0, $conv42 = 0;
- var $conv46 = 0, $conv49 = 0, $conv5 = 0, $ctx = 0, $curr_balance = 0, $dec = 0, $div = 0, $div278 = 0, $dual_stereo$addr = 0, $eBands = 0, $eBands1 = 0, $ec$addr = 0, $ec22 = 0, $effEBands = 0, $effective_lowband = 0, $encode$addr = 0, $end$addr = 0, $fold_end = 0, $fold_i = 0, $fold_start = 0;
- var $i = 0, $i31 = 0, $idx$neg = 0, $idx$neg273 = 0, $idx$neg293 = 0, $idx$neg316 = 0, $idx$neg337 = 0, $inc = 0, $inc227 = 0, $inc254 = 0, $inc361 = 0, $intensity$addr = 0, $intensity24 = 0, $j = 0, $last = 0, $lnot = 0, $lnot$ext = 0, $lowband_offset = 0, $lowband_scratch = 0, $m$addr = 0;
- var $m25 = 0, $mul = 0, $mul13 = 0, $mul144 = 0, $mul148 = 0, $mul186 = 0, $mul19 = 0, $mul195 = 0, $mul202 = 0, $mul210 = 0, $mul217 = 0, $mul221 = 0, $mul244 = 0, $mul252 = 0.0, $mul271 = 0, $mul291 = 0, $mul314 = 0, $mul335 = 0, $mul346 = 0, $mul350 = 0;
- var $mul37 = 0, $mul43 = 0, $mul47 = 0, $mul50 = 0, $mul6 = 0, $mul8 = 0, $nbEBands = 0, $nbEBands15 = 0, $nbEBands9 = 0, $norm = 0, $norm2 = 0, $norm_offset = 0, $or = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or226 = 0, $or320 = 0, $or341 = 0, $pulses$addr = 0;
- var $remaining_bits = 0, $remaining_bits59 = 0, $resynth = 0, $saved_stack = 0, $seed$addr = 0, $seed26 = 0, $seed363 = 0, $shl = 0, $shl231 = 0, $shl357 = 0, $shortBlocks$addr = 0, $spread$addr = 0, $spread27 = 0, $start$addr = 0, $sub = 0, $sub10 = 0, $sub145 = 0, $sub16 = 0, $sub167 = 0, $sub187 = 0;
- var $sub188 = 0, $sub196 = 0, $sub197 = 0, $sub206 = 0, $sub223 = 0, $sub232 = 0, $sub245 = 0, $sub32 = 0, $sub352 = 0, $sub51 = 0, $sub55 = 0, $sub57 = 0, $sub58 = 0, $sub60 = 0, $sub64 = 0, $sub69 = 0, $sub7 = 0, $tell = 0, $tf_change = 0, $tf_change158 = 0;
- var $tf_res$addr = 0, $tobool = 0, $tobool141 = 0, $tobool152 = 0, $tobool2 = 0, $tobool234 = 0, $tobool239 = 0, $tobool257 = 0, $tobool266 = 0, $tobool286 = 0, $tobool309 = 0, $tobool330 = 0, $total_bits$addr = 0, $update_lowband = 0, $vla = 0, $vla$alloca_mul = 0, $x_cm = 0, $y_cm = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 256|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(256|0);
- $ctx = sp + 64|0;
- $encode$addr = $encode;
- $m$addr = $m;
- $start$addr = $start;
- $end$addr = $end;
- $X_$addr = $X_;
- $Y_$addr = $Y_;
- $collapse_masks$addr = $collapse_masks;
- $bandE$addr = $bandE;
- $pulses$addr = $pulses;
- $shortBlocks$addr = $shortBlocks;
- $spread$addr = $spread;
- $dual_stereo$addr = $dual_stereo;
- $intensity$addr = $intensity;
- $tf_res$addr = $tf_res;
- $total_bits$addr = $total_bits;
- $balance$addr = $balance;
- $ec$addr = $ec;
- $LM$addr = $LM;
- $codedBands$addr = $codedBands;
- $seed$addr = $seed;
- $arch$addr = $arch;
- $0 = $m$addr;
- $eBands1 = ((($0)) + 32|0);
- $1 = HEAP32[$eBands1>>2]|0;
- $eBands = $1;
- $update_lowband = 1;
- $2 = $Y_$addr;
- $cmp = ($2|0)!=(0|0);
- $cond = $cmp ? 2 : 1;
- $C = $cond;
- $3 = $encode$addr;
- $tobool = ($3|0)!=(0);
- $lnot = $tobool ^ 1;
- $lnot$ext = $lnot&1;
- $resynth = $lnot$ext;
- $4 = $LM$addr;
- $shl = 1 << $4;
- $M = $shl;
- $5 = $shortBlocks$addr;
- $tobool2 = ($5|0)!=(0);
- $6 = $M;
- $cond3 = $tobool2 ? $6 : 1;
- $B = $cond3;
- $7 = $M;
- $8 = $eBands;
- $9 = $start$addr;
- $arrayidx = (($8) + ($9<<1)|0);
- $10 = HEAP16[$arrayidx>>1]|0;
- $conv = $10 << 16 >> 16;
- $mul = Math_imul($7, $conv)|0;
- $norm_offset = $mul;
- $11 = $C;
- $12 = $M;
- $13 = $eBands;
- $14 = $m$addr;
- $nbEBands = ((($14)) + 8|0);
- $15 = HEAP32[$nbEBands>>2]|0;
- $sub = (($15) - 1)|0;
- $arrayidx4 = (($13) + ($sub<<1)|0);
- $16 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $16 << 16 >> 16;
- $mul6 = Math_imul($12, $conv5)|0;
- $17 = $norm_offset;
- $sub7 = (($mul6) - ($17))|0;
- $mul8 = Math_imul($11, $sub7)|0;
- $18 = (_llvm_stacksave()|0);
- $saved_stack = $18;
- $vla$alloca_mul = $mul8<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $norm = $vla;
- $19 = $norm;
- $20 = $M;
- $21 = $eBands;
- $22 = $m$addr;
- $nbEBands9 = ((($22)) + 8|0);
- $23 = HEAP32[$nbEBands9>>2]|0;
- $sub10 = (($23) - 1)|0;
- $arrayidx11 = (($21) + ($sub10<<1)|0);
- $24 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $24 << 16 >> 16;
- $mul13 = Math_imul($20, $conv12)|0;
- $add$ptr = (($19) + ($mul13<<2)|0);
- $25 = $norm_offset;
- $idx$neg = (0 - ($25))|0;
- $add$ptr14 = (($add$ptr) + ($idx$neg<<2)|0);
- $norm2 = $add$ptr14;
- $26 = $X_$addr;
- $27 = $M;
- $28 = $eBands;
- $29 = $m$addr;
- $nbEBands15 = ((($29)) + 8|0);
- $30 = HEAP32[$nbEBands15>>2]|0;
- $sub16 = (($30) - 1)|0;
- $arrayidx17 = (($28) + ($sub16<<1)|0);
- $31 = HEAP16[$arrayidx17>>1]|0;
- $conv18 = $31 << 16 >> 16;
- $mul19 = Math_imul($27, $conv18)|0;
- $add$ptr20 = (($26) + ($mul19<<2)|0);
- $lowband_scratch = $add$ptr20;
- $lowband_offset = 0;
- $32 = $bandE$addr;
- $bandE21 = ((($ctx)) + 32|0);
- HEAP32[$bandE21>>2] = $32;
- $33 = $ec$addr;
- $ec22 = ((($ctx)) + 24|0);
- HEAP32[$ec22>>2] = $33;
- $34 = $encode$addr;
- HEAP32[$ctx>>2] = $34;
- $35 = $intensity$addr;
- $intensity24 = ((($ctx)) + 12|0);
- HEAP32[$intensity24>>2] = $35;
- $36 = $m$addr;
- $m25 = ((($ctx)) + 4|0);
- HEAP32[$m25>>2] = $36;
- $37 = $seed$addr;
- $38 = HEAP32[$37>>2]|0;
- $seed26 = ((($ctx)) + 36|0);
- HEAP32[$seed26>>2] = $38;
- $39 = $spread$addr;
- $spread27 = ((($ctx)) + 16|0);
- HEAP32[$spread27>>2] = $39;
- $40 = $arch$addr;
- $arch28 = ((($ctx)) + 40|0);
- HEAP32[$arch28>>2] = $40;
- $41 = $start$addr;
- $i = $41;
- while(1) {
- $42 = $i;
- $43 = $end$addr;
- $cmp29 = ($42|0)<($43|0);
- if (!($cmp29)) {
- break;
- }
- $effective_lowband = -1;
- $tf_change = 0;
- $44 = $i;
- $i31 = ((($ctx)) + 8|0);
- HEAP32[$i31>>2] = $44;
- $45 = $i;
- $46 = $end$addr;
- $sub32 = (($46) - 1)|0;
- $cmp33 = ($45|0)==($sub32|0);
- $conv34 = $cmp33&1;
- $last = $conv34;
- $47 = $X_$addr;
- $48 = $M;
- $49 = $eBands;
- $50 = $i;
- $arrayidx35 = (($49) + ($50<<1)|0);
- $51 = HEAP16[$arrayidx35>>1]|0;
- $conv36 = $51 << 16 >> 16;
- $mul37 = Math_imul($48, $conv36)|0;
- $add$ptr38 = (($47) + ($mul37<<2)|0);
- $X = $add$ptr38;
- $52 = $Y_$addr;
- $cmp39 = ($52|0)!=(0|0);
- if ($cmp39) {
- $53 = $Y_$addr;
- $54 = $M;
- $55 = $eBands;
- $56 = $i;
- $arrayidx41 = (($55) + ($56<<1)|0);
- $57 = HEAP16[$arrayidx41>>1]|0;
- $conv42 = $57 << 16 >> 16;
- $mul43 = Math_imul($54, $conv42)|0;
- $add$ptr44 = (($53) + ($mul43<<2)|0);
- $Y = $add$ptr44;
- } else {
- $Y = 0;
- }
- $58 = $M;
- $59 = $eBands;
- $60 = $i;
- $add = (($60) + 1)|0;
- $arrayidx45 = (($59) + ($add<<1)|0);
- $61 = HEAP16[$arrayidx45>>1]|0;
- $conv46 = $61 << 16 >> 16;
- $mul47 = Math_imul($58, $conv46)|0;
- $62 = $M;
- $63 = $eBands;
- $64 = $i;
- $arrayidx48 = (($63) + ($64<<1)|0);
- $65 = HEAP16[$arrayidx48>>1]|0;
- $conv49 = $65 << 16 >> 16;
- $mul50 = Math_imul($62, $conv49)|0;
- $sub51 = (($mul47) - ($mul50))|0;
- $N = $sub51;
- $66 = $ec$addr;
- $call = (_ec_tell_frac($66)|0);
- $tell = $call;
- $67 = $i;
- $68 = $start$addr;
- $cmp52 = ($67|0)!=($68|0);
- if ($cmp52) {
- $69 = $tell;
- $70 = $balance$addr;
- $sub55 = (($70) - ($69))|0;
- $balance$addr = $sub55;
- }
- $71 = $total_bits$addr;
- $72 = $tell;
- $sub57 = (($71) - ($72))|0;
- $sub58 = (($sub57) - 1)|0;
- $remaining_bits = $sub58;
- $73 = $remaining_bits;
- $remaining_bits59 = ((($ctx)) + 28|0);
- HEAP32[$remaining_bits59>>2] = $73;
- $74 = $i;
- $75 = $codedBands$addr;
- $sub60 = (($75) - 1)|0;
- $cmp61 = ($74|0)<=($sub60|0);
- if ($cmp61) {
- $76 = $balance$addr;
- $77 = $codedBands$addr;
- $78 = $i;
- $sub64 = (($77) - ($78))|0;
- $cmp65 = (3)<($sub64|0);
- if ($cmp65) {
- $cond71 = 3;
- } else {
- $79 = $codedBands$addr;
- $80 = $i;
- $sub69 = (($79) - ($80))|0;
- $cond71 = $sub69;
- }
- $call72 = (_celt_sudiv($76,$cond71)|0);
- $curr_balance = $call72;
- $81 = $remaining_bits;
- $add73 = (($81) + 1)|0;
- $82 = $pulses$addr;
- $83 = $i;
- $arrayidx74 = (($82) + ($83<<2)|0);
- $84 = HEAP32[$arrayidx74>>2]|0;
- $85 = $curr_balance;
- $add75 = (($84) + ($85))|0;
- $cmp76 = ($add73|0)<($add75|0);
- if ($cmp76) {
- $86 = $remaining_bits;
- $add79 = (($86) + 1)|0;
- $cond84 = $add79;
- } else {
- $87 = $pulses$addr;
- $88 = $i;
- $arrayidx81 = (($87) + ($88<<2)|0);
- $89 = HEAP32[$arrayidx81>>2]|0;
- $90 = $curr_balance;
- $add82 = (($89) + ($90))|0;
- $cond84 = $add82;
- }
- $cmp85 = (16383)<($cond84|0);
- do {
- if ($cmp85) {
- $cond102 = 16383;
- } else {
- $91 = $remaining_bits;
- $add89 = (($91) + 1)|0;
- $92 = $pulses$addr;
- $93 = $i;
- $arrayidx90 = (($92) + ($93<<2)|0);
- $94 = HEAP32[$arrayidx90>>2]|0;
- $95 = $curr_balance;
- $add91 = (($94) + ($95))|0;
- $cmp92 = ($add89|0)<($add91|0);
- if ($cmp92) {
- $96 = $remaining_bits;
- $add95 = (($96) + 1)|0;
- $cond102 = $add95;
- break;
- } else {
- $97 = $pulses$addr;
- $98 = $i;
- $arrayidx97 = (($97) + ($98<<2)|0);
- $99 = HEAP32[$arrayidx97>>2]|0;
- $100 = $curr_balance;
- $add98 = (($99) + ($100))|0;
- $cond102 = $add98;
- break;
- }
- }
- } while(0);
- $cmp103 = (0)>($cond102|0);
- do {
- if ($cmp103) {
- $cond138 = 0;
- } else {
- $101 = $remaining_bits;
- $add107 = (($101) + 1)|0;
- $102 = $pulses$addr;
- $103 = $i;
- $arrayidx108 = (($102) + ($103<<2)|0);
- $104 = HEAP32[$arrayidx108>>2]|0;
- $105 = $curr_balance;
- $add109 = (($104) + ($105))|0;
- $cmp110 = ($add107|0)<($add109|0);
- if ($cmp110) {
- $106 = $remaining_bits;
- $add113 = (($106) + 1)|0;
- $cond118 = $add113;
- } else {
- $107 = $pulses$addr;
- $108 = $i;
- $arrayidx115 = (($107) + ($108<<2)|0);
- $109 = HEAP32[$arrayidx115>>2]|0;
- $110 = $curr_balance;
- $add116 = (($109) + ($110))|0;
- $cond118 = $add116;
- }
- $cmp119 = (16383)<($cond118|0);
- if ($cmp119) {
- $cond138 = 16383;
- } else {
- $111 = $remaining_bits;
- $add123 = (($111) + 1)|0;
- $112 = $pulses$addr;
- $113 = $i;
- $arrayidx124 = (($112) + ($113<<2)|0);
- $114 = HEAP32[$arrayidx124>>2]|0;
- $115 = $curr_balance;
- $add125 = (($114) + ($115))|0;
- $cmp126 = ($add123|0)<($add125|0);
- if ($cmp126) {
- $116 = $remaining_bits;
- $add129 = (($116) + 1)|0;
- $cond138 = $add129;
- break;
- } else {
- $117 = $pulses$addr;
- $118 = $i;
- $arrayidx131 = (($117) + ($118<<2)|0);
- $119 = HEAP32[$arrayidx131>>2]|0;
- $120 = $curr_balance;
- $add132 = (($119) + ($120))|0;
- $cond138 = $add132;
- break;
- }
- }
- }
- } while(0);
- $b = $cond138;
- } else {
- $b = 0;
- }
- $121 = $resynth;
- $tobool141 = ($121|0)!=(0);
- if ($tobool141) {
- $122 = $M;
- $123 = $eBands;
- $124 = $i;
- $arrayidx142 = (($123) + ($124<<1)|0);
- $125 = HEAP16[$arrayidx142>>1]|0;
- $conv143 = $125 << 16 >> 16;
- $mul144 = Math_imul($122, $conv143)|0;
- $126 = $N;
- $sub145 = (($mul144) - ($126))|0;
- $127 = $M;
- $128 = $eBands;
- $129 = $start$addr;
- $arrayidx146 = (($128) + ($129<<1)|0);
- $130 = HEAP16[$arrayidx146>>1]|0;
- $conv147 = $130 << 16 >> 16;
- $mul148 = Math_imul($127, $conv147)|0;
- $cmp149 = ($sub145|0)>=($mul148|0);
- if ($cmp149) {
- $131 = $update_lowband;
- $tobool152 = ($131|0)!=(0);
- $132 = $lowband_offset;
- $cmp153 = ($132|0)==(0);
- $or$cond = $tobool152 | $cmp153;
- if ($or$cond) {
- $133 = $i;
- $lowband_offset = $133;
- }
- }
- }
- $134 = $tf_res$addr;
- $135 = $i;
- $arrayidx157 = (($134) + ($135<<2)|0);
- $136 = HEAP32[$arrayidx157>>2]|0;
- $tf_change = $136;
- $137 = $tf_change;
- $tf_change158 = ((($ctx)) + 20|0);
- HEAP32[$tf_change158>>2] = $137;
- $138 = $i;
- $139 = $m$addr;
- $effEBands = ((($139)) + 12|0);
- $140 = HEAP32[$effEBands>>2]|0;
- $cmp159 = ($138|0)>=($140|0);
- if ($cmp159) {
- $141 = $norm;
- $X = $141;
- $142 = $Y_$addr;
- $cmp162 = ($142|0)!=(0|0);
- if ($cmp162) {
- $143 = $norm;
- $Y = $143;
- }
- $lowband_scratch = 0;
- }
- $144 = $i;
- $145 = $end$addr;
- $sub167 = (($145) - 1)|0;
- $cmp168 = ($144|0)==($sub167|0);
- if ($cmp168) {
- $lowband_scratch = 0;
- }
- $146 = $lowband_offset;
- $cmp172 = ($146|0)!=(0);
- if ($cmp172) {
- $147 = $spread$addr;
- $cmp175 = ($147|0)!=(3);
- $148 = $B;
- $cmp178 = ($148|0)>(1);
- $or$cond1 = $cmp175 | $cmp178;
- $149 = $tf_change;
- $cmp181 = ($149|0)<(0);
- $or$cond2 = $or$cond1 | $cmp181;
- if ($or$cond2) {
- $150 = $M;
- $151 = $eBands;
- $152 = $lowband_offset;
- $arrayidx184 = (($151) + ($152<<1)|0);
- $153 = HEAP16[$arrayidx184>>1]|0;
- $conv185 = $153 << 16 >> 16;
- $mul186 = Math_imul($150, $conv185)|0;
- $154 = $norm_offset;
- $sub187 = (($mul186) - ($154))|0;
- $155 = $N;
- $sub188 = (($sub187) - ($155))|0;
- $cmp189 = (0)>($sub188|0);
- if ($cmp189) {
- $cond199 = 0;
- } else {
- $156 = $M;
- $157 = $eBands;
- $158 = $lowband_offset;
- $arrayidx193 = (($157) + ($158<<1)|0);
- $159 = HEAP16[$arrayidx193>>1]|0;
- $conv194 = $159 << 16 >> 16;
- $mul195 = Math_imul($156, $conv194)|0;
- $160 = $norm_offset;
- $sub196 = (($mul195) - ($160))|0;
- $161 = $N;
- $sub197 = (($sub196) - ($161))|0;
- $cond199 = $sub197;
- }
- $effective_lowband = $cond199;
- $162 = $lowband_offset;
- $fold_start = $162;
- while(1) {
- $163 = $M;
- $164 = $eBands;
- $165 = $fold_start;
- $dec = (($165) + -1)|0;
- $fold_start = $dec;
- $arrayidx200 = (($164) + ($dec<<1)|0);
- $166 = HEAP16[$arrayidx200>>1]|0;
- $conv201 = $166 << 16 >> 16;
- $mul202 = Math_imul($163, $conv201)|0;
- $167 = $effective_lowband;
- $168 = $norm_offset;
- $add203 = (($167) + ($168))|0;
- $cmp204 = ($mul202|0)>($add203|0);
- if (!($cmp204)) {
- break;
- }
- }
- $169 = $lowband_offset;
- $sub206 = (($169) - 1)|0;
- $fold_end = $sub206;
- while(1) {
- $170 = $M;
- $171 = $eBands;
- $172 = $fold_end;
- $inc = (($172) + 1)|0;
- $fold_end = $inc;
- $arrayidx208 = (($171) + ($inc<<1)|0);
- $173 = HEAP16[$arrayidx208>>1]|0;
- $conv209 = $173 << 16 >> 16;
- $mul210 = Math_imul($170, $conv209)|0;
- $174 = $effective_lowband;
- $175 = $norm_offset;
- $add211 = (($174) + ($175))|0;
- $176 = $N;
- $add212 = (($add211) + ($176))|0;
- $cmp213 = ($mul210|0)<($add212|0);
- if (!($cmp213)) {
- break;
- }
- }
- $y_cm = 0;
- $x_cm = 0;
- $177 = $fold_start;
- $fold_i = $177;
- while(1) {
- $178 = $collapse_masks$addr;
- $179 = $fold_i;
- $180 = $C;
- $mul217 = Math_imul($179, $180)|0;
- $add218 = (($mul217) + 0)|0;
- $arrayidx219 = (($178) + ($add218)|0);
- $181 = HEAP8[$arrayidx219>>0]|0;
- $conv220 = $181&255;
- $182 = $x_cm;
- $or = $182 | $conv220;
- $x_cm = $or;
- $183 = $collapse_masks$addr;
- $184 = $fold_i;
- $185 = $C;
- $mul221 = Math_imul($184, $185)|0;
- $186 = $C;
- $add222 = (($mul221) + ($186))|0;
- $sub223 = (($add222) - 1)|0;
- $arrayidx224 = (($183) + ($sub223)|0);
- $187 = HEAP8[$arrayidx224>>0]|0;
- $conv225 = $187&255;
- $188 = $y_cm;
- $or226 = $188 | $conv225;
- $y_cm = $or226;
- $189 = $fold_i;
- $inc227 = (($189) + 1)|0;
- $fold_i = $inc227;
- $190 = $fold_end;
- $cmp228 = ($inc227|0)<($190|0);
- if (!($cmp228)) {
- break;
- }
- }
- } else {
- label = 48;
- }
- } else {
- label = 48;
- }
- if ((label|0) == 48) {
- label = 0;
- $191 = $B;
- $shl231 = 1 << $191;
- $sub232 = (($shl231) - 1)|0;
- $y_cm = $sub232;
- $x_cm = $sub232;
- }
- $192 = $dual_stereo$addr;
- $tobool234 = ($192|0)!=(0);
- L70: do {
- if ($tobool234) {
- $193 = $i;
- $194 = $intensity$addr;
- $cmp236 = ($193|0)==($194|0);
- if ($cmp236) {
- $dual_stereo$addr = 0;
- $195 = $resynth;
- $tobool239 = ($195|0)!=(0);
- if ($tobool239) {
- $j = 0;
- while(1) {
- $196 = $j;
- $197 = $M;
- $198 = $eBands;
- $199 = $i;
- $arrayidx242 = (($198) + ($199<<1)|0);
- $200 = HEAP16[$arrayidx242>>1]|0;
- $conv243 = $200 << 16 >> 16;
- $mul244 = Math_imul($197, $conv243)|0;
- $201 = $norm_offset;
- $sub245 = (($mul244) - ($201))|0;
- $cmp246 = ($196|0)<($sub245|0);
- if (!($cmp246)) {
- break L70;
- }
- $202 = $norm;
- $203 = $j;
- $arrayidx249 = (($202) + ($203<<2)|0);
- $204 = +HEAPF32[$arrayidx249>>2];
- $205 = $norm2;
- $206 = $j;
- $arrayidx250 = (($205) + ($206<<2)|0);
- $207 = +HEAPF32[$arrayidx250>>2];
- $add251 = $204 + $207;
- $mul252 = 0.5 * $add251;
- $208 = $norm;
- $209 = $j;
- $arrayidx253 = (($208) + ($209<<2)|0);
- HEAPF32[$arrayidx253>>2] = $mul252;
- $210 = $j;
- $inc254 = (($210) + 1)|0;
- $j = $inc254;
- }
- }
- }
- }
- } while(0);
- $211 = $dual_stereo$addr;
- $tobool257 = ($211|0)!=(0);
- if ($tobool257) {
- $212 = $X;
- $213 = $N;
- $214 = $b;
- $div = (($214|0) / 2)&-1;
- $215 = $B;
- $216 = $effective_lowband;
- $cmp259 = ($216|0)!=(-1);
- if ($cmp259) {
- $217 = $norm;
- $218 = $effective_lowband;
- $add$ptr262 = (($217) + ($218<<2)|0);
- $cond265 = $add$ptr262;
- } else {
- $cond265 = 0;
- }
- $219 = $LM$addr;
- $220 = $last;
- $tobool266 = ($220|0)!=(0);
- if ($tobool266) {
- $cond276 = 0;
- } else {
- $221 = $norm;
- $222 = $M;
- $223 = $eBands;
- $224 = $i;
- $arrayidx269 = (($223) + ($224<<1)|0);
- $225 = HEAP16[$arrayidx269>>1]|0;
- $conv270 = $225 << 16 >> 16;
- $mul271 = Math_imul($222, $conv270)|0;
- $add$ptr272 = (($221) + ($mul271<<2)|0);
- $226 = $norm_offset;
- $idx$neg273 = (0 - ($226))|0;
- $add$ptr274 = (($add$ptr272) + ($idx$neg273<<2)|0);
- $cond276 = $add$ptr274;
- }
- $227 = $lowband_scratch;
- $228 = $x_cm;
- $call277 = (_quant_band($ctx,$212,$213,$div,$215,$cond265,$219,$cond276,1.0,$227,$228)|0);
- $x_cm = $call277;
- $229 = $Y;
- $230 = $N;
- $231 = $b;
- $div278 = (($231|0) / 2)&-1;
- $232 = $B;
- $233 = $effective_lowband;
- $cmp279 = ($233|0)!=(-1);
- if ($cmp279) {
- $234 = $norm2;
- $235 = $effective_lowband;
- $add$ptr282 = (($234) + ($235<<2)|0);
- $cond285 = $add$ptr282;
- } else {
- $cond285 = 0;
- }
- $236 = $LM$addr;
- $237 = $last;
- $tobool286 = ($237|0)!=(0);
- if ($tobool286) {
- $cond296 = 0;
- } else {
- $238 = $norm2;
- $239 = $M;
- $240 = $eBands;
- $241 = $i;
- $arrayidx289 = (($240) + ($241<<1)|0);
- $242 = HEAP16[$arrayidx289>>1]|0;
- $conv290 = $242 << 16 >> 16;
- $mul291 = Math_imul($239, $conv290)|0;
- $add$ptr292 = (($238) + ($mul291<<2)|0);
- $243 = $norm_offset;
- $idx$neg293 = (0 - ($243))|0;
- $add$ptr294 = (($add$ptr292) + ($idx$neg293<<2)|0);
- $cond296 = $add$ptr294;
- }
- $244 = $lowband_scratch;
- $245 = $y_cm;
- $call297 = (_quant_band($ctx,$229,$230,$div278,$232,$cond285,$236,$cond296,1.0,$244,$245)|0);
- $y_cm = $call297;
- } else {
- $246 = $Y;
- $cmp299 = ($246|0)!=(0|0);
- $247 = $X;
- if ($cmp299) {
- $248 = $Y;
- $249 = $N;
- $250 = $b;
- $251 = $B;
- $252 = $effective_lowband;
- $cmp302 = ($252|0)!=(-1);
- if ($cmp302) {
- $253 = $norm;
- $254 = $effective_lowband;
- $add$ptr305 = (($253) + ($254<<2)|0);
- $cond308 = $add$ptr305;
- } else {
- $cond308 = 0;
- }
- $255 = $LM$addr;
- $256 = $last;
- $tobool309 = ($256|0)!=(0);
- if ($tobool309) {
- $cond319 = 0;
- } else {
- $257 = $norm;
- $258 = $M;
- $259 = $eBands;
- $260 = $i;
- $arrayidx312 = (($259) + ($260<<1)|0);
- $261 = HEAP16[$arrayidx312>>1]|0;
- $conv313 = $261 << 16 >> 16;
- $mul314 = Math_imul($258, $conv313)|0;
- $add$ptr315 = (($257) + ($mul314<<2)|0);
- $262 = $norm_offset;
- $idx$neg316 = (0 - ($262))|0;
- $add$ptr317 = (($add$ptr315) + ($idx$neg316<<2)|0);
- $cond319 = $add$ptr317;
- }
- $263 = $lowband_scratch;
- $264 = $x_cm;
- $265 = $y_cm;
- $or320 = $264 | $265;
- $call321 = (_quant_band_stereo($ctx,$247,$248,$249,$250,$251,$cond308,$255,$cond319,$263,$or320)|0);
- $x_cm = $call321;
- } else {
- $266 = $N;
- $267 = $b;
- $268 = $B;
- $269 = $effective_lowband;
- $cmp323 = ($269|0)!=(-1);
- if ($cmp323) {
- $270 = $norm;
- $271 = $effective_lowband;
- $add$ptr326 = (($270) + ($271<<2)|0);
- $cond329 = $add$ptr326;
- } else {
- $cond329 = 0;
- }
- $272 = $LM$addr;
- $273 = $last;
- $tobool330 = ($273|0)!=(0);
- if ($tobool330) {
- $cond340 = 0;
- } else {
- $274 = $norm;
- $275 = $M;
- $276 = $eBands;
- $277 = $i;
- $arrayidx333 = (($276) + ($277<<1)|0);
- $278 = HEAP16[$arrayidx333>>1]|0;
- $conv334 = $278 << 16 >> 16;
- $mul335 = Math_imul($275, $conv334)|0;
- $add$ptr336 = (($274) + ($mul335<<2)|0);
- $279 = $norm_offset;
- $idx$neg337 = (0 - ($279))|0;
- $add$ptr338 = (($add$ptr336) + ($idx$neg337<<2)|0);
- $cond340 = $add$ptr338;
- }
- $280 = $lowband_scratch;
- $281 = $x_cm;
- $282 = $y_cm;
- $or341 = $281 | $282;
- $call342 = (_quant_band($ctx,$247,$266,$267,$268,$cond329,$272,$cond340,1.0,$280,$or341)|0);
- $x_cm = $call342;
- }
- $283 = $x_cm;
- $y_cm = $283;
- }
- $284 = $x_cm;
- $conv345 = $284&255;
- $285 = $collapse_masks$addr;
- $286 = $i;
- $287 = $C;
- $mul346 = Math_imul($286, $287)|0;
- $add347 = (($mul346) + 0)|0;
- $arrayidx348 = (($285) + ($add347)|0);
- HEAP8[$arrayidx348>>0] = $conv345;
- $288 = $y_cm;
- $conv349 = $288&255;
- $289 = $collapse_masks$addr;
- $290 = $i;
- $291 = $C;
- $mul350 = Math_imul($290, $291)|0;
- $292 = $C;
- $add351 = (($mul350) + ($292))|0;
- $sub352 = (($add351) - 1)|0;
- $arrayidx353 = (($289) + ($sub352)|0);
- HEAP8[$arrayidx353>>0] = $conv349;
- $293 = $pulses$addr;
- $294 = $i;
- $arrayidx354 = (($293) + ($294<<2)|0);
- $295 = HEAP32[$arrayidx354>>2]|0;
- $296 = $tell;
- $add355 = (($295) + ($296))|0;
- $297 = $balance$addr;
- $add356 = (($297) + ($add355))|0;
- $balance$addr = $add356;
- $298 = $b;
- $299 = $N;
- $shl357 = $299 << 3;
- $cmp358 = ($298|0)>($shl357|0);
- $conv359 = $cmp358&1;
- $update_lowband = $conv359;
- $300 = $i;
- $inc361 = (($300) + 1)|0;
- $i = $inc361;
- }
- $seed363 = ((($ctx)) + 36|0);
- $301 = HEAP32[$seed363>>2]|0;
- $302 = $seed$addr;
- HEAP32[$302>>2] = $301;
- $303 = $saved_stack;
- _llvm_stackrestore(($303|0));
- STACKTOP = sp;return;
-}
-function _celt_sudiv($n,$d) {
- $n = $n|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $d$addr = 0, $div = 0, $n$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $n$addr = $n;
- $d$addr = $d;
- $0 = $n$addr;
- $1 = $d$addr;
- $div = (($0|0) / ($1|0))&-1;
- STACKTOP = sp;return ($div|0);
-}
-function _quant_band($ctx,$X,$N,$b,$B,$lowband,$LM,$lowband_out,$gain,$lowband_scratch,$fill) {
- $ctx = $ctx|0;
- $X = $X|0;
- $N = $N|0;
- $b = $b|0;
- $B = $B|0;
- $lowband = $lowband|0;
- $LM = $LM|0;
- $lowband_out = $lowband_out|0;
- $gain = +$gain;
- $lowband_scratch = $lowband_scratch|0;
- $fill = $fill|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0.0, $133 = 0;
- var $134 = 0, $135 = 0.0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
- var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
- var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
- var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
- var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0;
- var $97 = 0, $98 = 0, $99 = 0, $B$addr = 0, $B0 = 0, $LM$addr = 0, $N$addr = 0, $N0 = 0, $N_B = 0, $N_B0 = 0, $X$addr = 0, $add = 0, $and = 0, $and124 = 0, $and36 = 0, $and44 = 0, $arrayidx = 0, $arrayidx116 = 0, $arrayidx118 = 0, $arrayidx39 = 0;
- var $arrayidx99 = 0, $b$addr = 0, $call = 0, $call110 = 0.0, $call6 = 0, $call75 = 0, $cm = 0, $cmp = 0, $cmp113 = 0, $cmp15 = 0, $cmp18 = 0, $cmp21 = 0, $cmp26 = 0, $cmp4 = 0, $cmp45 = 0, $cmp47 = 0, $cmp61 = 0, $cmp7 = 0, $cmp78 = 0, $cmp85 = 0;
- var $cmp96 = 0, $conv = 0, $conv100 = 0, $conv109 = 0.0, $conv111 = 0.0, $conv37 = 0, $conv40 = 0, $ctx$addr = 0, $encode1 = 0, $fill$addr = 0, $gain$addr = 0.0, $inc = 0, $inc104 = 0, $inc120 = 0, $inc59 = 0, $inc60 = 0, $inc93 = 0, $j = 0, $k = 0, $lnot = 0;
- var $lnot$ext = 0, $longBlocks = 0, $lowband$addr = 0, $lowband_out$addr = 0, $lowband_scratch$addr = 0, $mul = 0, $mul117 = 0.0, $mul24 = 0, $n = 0.0, $or = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or56 = 0, $or91 = 0, $recombine = 0, $resynth = 0, $retval = 0, $shl = 0, $shl102 = 0;
- var $shl106 = 0, $shl123 = 0, $shl34 = 0, $shl41 = 0, $shl43 = 0, $shl55 = 0, $shl57 = 0, $shl67 = 0, $shl72 = 0, $shl82 = 0, $shl89 = 0, $shr = 0, $shr101 = 0, $shr33 = 0, $shr38 = 0, $shr42 = 0, $shr58 = 0, $shr66 = 0, $shr71 = 0, $shr81 = 0;
- var $shr88 = 0, $shr90 = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $tf_change = 0, $tf_change3 = 0, $time_divide = 0, $tobool = 0, $tobool107 = 0, $tobool11 = 0, $tobool12 = 0, $tobool14 = 0, $tobool28 = 0, $tobool31 = 0, $tobool49 = 0, $tobool52 = 0, $tobool64 = 0;
- var $tobool69 = 0, $tobool76 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $ctx$addr = $ctx;
- $X$addr = $X;
- $N$addr = $N;
- $b$addr = $b;
- $B$addr = $B;
- $lowband$addr = $lowband;
- $LM$addr = $LM;
- $lowband_out$addr = $lowband_out;
- $gain$addr = $gain;
- $lowband_scratch$addr = $lowband_scratch;
- $fill$addr = $fill;
- $0 = $N$addr;
- $N0 = $0;
- $1 = $N$addr;
- $N_B = $1;
- $2 = $B$addr;
- $B0 = $2;
- $time_divide = 0;
- $recombine = 0;
- $cm = 0;
- $3 = $ctx$addr;
- $4 = HEAP32[$3>>2]|0;
- $tobool = ($4|0)!=(0);
- $lnot = $tobool ^ 1;
- $lnot$ext = $lnot&1;
- $resynth = $lnot$ext;
- $5 = $ctx$addr;
- $6 = HEAP32[$5>>2]|0;
- $encode1 = $6;
- $7 = $ctx$addr;
- $tf_change3 = ((($7)) + 20|0);
- $8 = HEAP32[$tf_change3>>2]|0;
- $tf_change = $8;
- $9 = $B0;
- $cmp = ($9|0)==(1);
- $conv = $cmp&1;
- $longBlocks = $conv;
- $10 = $N_B;
- $11 = $B$addr;
- $call = (_celt_udiv_358($10,$11)|0);
- $N_B = $call;
- $12 = $N$addr;
- $cmp4 = ($12|0)==(1);
- if ($cmp4) {
- $13 = $ctx$addr;
- $14 = $X$addr;
- $15 = $b$addr;
- $16 = $lowband_out$addr;
- $call6 = (_quant_band_n1($13,$14,0,$15,$16)|0);
- $retval = $call6;
- $142 = $retval;
- STACKTOP = sp;return ($142|0);
- }
- $17 = $tf_change;
- $cmp7 = ($17|0)>(0);
- if ($cmp7) {
- $18 = $tf_change;
- $recombine = $18;
- }
- $19 = $lowband_scratch$addr;
- $tobool11 = ($19|0)!=(0|0);
- $20 = $lowband$addr;
- $tobool12 = ($20|0)!=(0|0);
- $or$cond = $tobool11 & $tobool12;
- do {
- if ($or$cond) {
- $21 = $recombine;
- $tobool14 = ($21|0)!=(0);
- if (!($tobool14)) {
- $22 = $N_B;
- $and = $22 & 1;
- $cmp15 = ($and|0)==(0);
- $23 = $tf_change;
- $cmp18 = ($23|0)<(0);
- $or$cond1 = $cmp15 & $cmp18;
- $24 = $B0;
- $cmp21 = ($24|0)>(1);
- $or$cond2 = $or$cond1 | $cmp21;
- if (!($or$cond2)) {
- break;
- }
- }
- $25 = $lowband_scratch$addr;
- $26 = $lowband$addr;
- $27 = $N$addr;
- $mul = $27<<2;
- $28 = $lowband_scratch$addr;
- $29 = $lowband$addr;
- $sub$ptr$lhs$cast = $28;
- $sub$ptr$rhs$cast = $29;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul24 = 0;
- $add = (($mul) + ($mul24))|0;
- _memcpy(($25|0),($26|0),($add|0))|0;
- $30 = $lowband_scratch$addr;
- $lowband$addr = $30;
- }
- } while(0);
- $k = 0;
- while(1) {
- $31 = $k;
- $32 = $recombine;
- $cmp26 = ($31|0)<($32|0);
- if (!($cmp26)) {
- break;
- }
- $33 = $encode1;
- $tobool28 = ($33|0)!=(0);
- if ($tobool28) {
- $34 = $X$addr;
- $35 = $N$addr;
- $36 = $k;
- $shr = $35 >> $36;
- $37 = $k;
- $shl = 1 << $37;
- _haar1($34,$shr,$shl);
- }
- $38 = $lowband$addr;
- $tobool31 = ($38|0)!=(0|0);
- if ($tobool31) {
- $39 = $lowband$addr;
- $40 = $N$addr;
- $41 = $k;
- $shr33 = $40 >> $41;
- $42 = $k;
- $shl34 = 1 << $42;
- _haar1($39,$shr33,$shl34);
- }
- $43 = $fill$addr;
- $and36 = $43 & 15;
- $arrayidx = (28901 + ($and36)|0);
- $44 = HEAP8[$arrayidx>>0]|0;
- $conv37 = $44&255;
- $45 = $fill$addr;
- $shr38 = $45 >> 4;
- $arrayidx39 = (28901 + ($shr38)|0);
- $46 = HEAP8[$arrayidx39>>0]|0;
- $conv40 = $46&255;
- $shl41 = $conv40 << 2;
- $or = $conv37 | $shl41;
- $fill$addr = $or;
- $47 = $k;
- $inc = (($47) + 1)|0;
- $k = $inc;
- }
- $48 = $recombine;
- $49 = $B$addr;
- $shr42 = $49 >> $48;
- $B$addr = $shr42;
- $50 = $recombine;
- $51 = $N_B;
- $shl43 = $51 << $50;
- $N_B = $shl43;
- while(1) {
- $52 = $N_B;
- $and44 = $52 & 1;
- $cmp45 = ($and44|0)==(0);
- $53 = $tf_change;
- $cmp47 = ($53|0)<(0);
- $54 = $cmp45 ? $cmp47 : 0;
- if (!($54)) {
- break;
- }
- $55 = $encode1;
- $tobool49 = ($55|0)!=(0);
- if ($tobool49) {
- $56 = $X$addr;
- $57 = $N_B;
- $58 = $B$addr;
- _haar1($56,$57,$58);
- }
- $59 = $lowband$addr;
- $tobool52 = ($59|0)!=(0|0);
- if ($tobool52) {
- $60 = $lowband$addr;
- $61 = $N_B;
- $62 = $B$addr;
- _haar1($60,$61,$62);
- }
- $63 = $fill$addr;
- $64 = $B$addr;
- $shl55 = $63 << $64;
- $65 = $fill$addr;
- $or56 = $65 | $shl55;
- $fill$addr = $or56;
- $66 = $B$addr;
- $shl57 = $66 << 1;
- $B$addr = $shl57;
- $67 = $N_B;
- $shr58 = $67 >> 1;
- $N_B = $shr58;
- $68 = $time_divide;
- $inc59 = (($68) + 1)|0;
- $time_divide = $inc59;
- $69 = $tf_change;
- $inc60 = (($69) + 1)|0;
- $tf_change = $inc60;
- }
- $70 = $B$addr;
- $B0 = $70;
- $71 = $N_B;
- $N_B0 = $71;
- $72 = $B0;
- $cmp61 = ($72|0)>(1);
- if ($cmp61) {
- $73 = $encode1;
- $tobool64 = ($73|0)!=(0);
- if ($tobool64) {
- $74 = $X$addr;
- $75 = $N_B;
- $76 = $recombine;
- $shr66 = $75 >> $76;
- $77 = $B0;
- $78 = $recombine;
- $shl67 = $77 << $78;
- $79 = $longBlocks;
- _deinterleave_hadamard($74,$shr66,$shl67,$79);
- }
- $80 = $lowband$addr;
- $tobool69 = ($80|0)!=(0|0);
- if ($tobool69) {
- $81 = $lowband$addr;
- $82 = $N_B;
- $83 = $recombine;
- $shr71 = $82 >> $83;
- $84 = $B0;
- $85 = $recombine;
- $shl72 = $84 << $85;
- $86 = $longBlocks;
- _deinterleave_hadamard($81,$shr71,$shl72,$86);
- }
- }
- $87 = $ctx$addr;
- $88 = $X$addr;
- $89 = $N$addr;
- $90 = $b$addr;
- $91 = $B$addr;
- $92 = $lowband$addr;
- $93 = $LM$addr;
- $94 = $gain$addr;
- $95 = $fill$addr;
- $call75 = (_quant_partition($87,$88,$89,$90,$91,$92,$93,$94,$95)|0);
- $cm = $call75;
- $96 = $resynth;
- $tobool76 = ($96|0)!=(0);
- if ($tobool76) {
- $97 = $B0;
- $cmp78 = ($97|0)>(1);
- if ($cmp78) {
- $98 = $X$addr;
- $99 = $N_B;
- $100 = $recombine;
- $shr81 = $99 >> $100;
- $101 = $B0;
- $102 = $recombine;
- $shl82 = $101 << $102;
- $103 = $longBlocks;
- _interleave_hadamard($98,$shr81,$shl82,$103);
- }
- $104 = $N_B0;
- $N_B = $104;
- $105 = $B0;
- $B$addr = $105;
- $k = 0;
- while(1) {
- $106 = $k;
- $107 = $time_divide;
- $cmp85 = ($106|0)<($107|0);
- if (!($cmp85)) {
- break;
- }
- $108 = $B$addr;
- $shr88 = $108 >> 1;
- $B$addr = $shr88;
- $109 = $N_B;
- $shl89 = $109 << 1;
- $N_B = $shl89;
- $110 = $cm;
- $111 = $B$addr;
- $shr90 = $110 >>> $111;
- $112 = $cm;
- $or91 = $112 | $shr90;
- $cm = $or91;
- $113 = $X$addr;
- $114 = $N_B;
- $115 = $B$addr;
- _haar1($113,$114,$115);
- $116 = $k;
- $inc93 = (($116) + 1)|0;
- $k = $inc93;
- }
- $k = 0;
- while(1) {
- $117 = $k;
- $118 = $recombine;
- $cmp96 = ($117|0)<($118|0);
- if (!($cmp96)) {
- break;
- }
- $119 = $cm;
- $arrayidx99 = (28917 + ($119)|0);
- $120 = HEAP8[$arrayidx99>>0]|0;
- $conv100 = $120&255;
- $cm = $conv100;
- $121 = $X$addr;
- $122 = $N0;
- $123 = $k;
- $shr101 = $122 >> $123;
- $124 = $k;
- $shl102 = 1 << $124;
- _haar1($121,$shr101,$shl102);
- $125 = $k;
- $inc104 = (($125) + 1)|0;
- $k = $inc104;
- }
- $126 = $recombine;
- $127 = $B$addr;
- $shl106 = $127 << $126;
- $B$addr = $shl106;
- $128 = $lowband_out$addr;
- $tobool107 = ($128|0)!=(0|0);
- L54: do {
- if ($tobool107) {
- $129 = $N0;
- $conv109 = (+($129|0));
- $call110 = (+Math_sqrt((+$conv109)));
- $conv111 = $call110;
- $n = $conv111;
- $j = 0;
- while(1) {
- $130 = $j;
- $131 = $N0;
- $cmp113 = ($130|0)<($131|0);
- if (!($cmp113)) {
- break L54;
- }
- $132 = $n;
- $133 = $X$addr;
- $134 = $j;
- $arrayidx116 = (($133) + ($134<<2)|0);
- $135 = +HEAPF32[$arrayidx116>>2];
- $mul117 = $132 * $135;
- $136 = $lowband_out$addr;
- $137 = $j;
- $arrayidx118 = (($136) + ($137<<2)|0);
- HEAPF32[$arrayidx118>>2] = $mul117;
- $138 = $j;
- $inc120 = (($138) + 1)|0;
- $j = $inc120;
- }
- }
- } while(0);
- $139 = $B$addr;
- $shl123 = 1 << $139;
- $sub = (($shl123) - 1)|0;
- $140 = $cm;
- $and124 = $140 & $sub;
- $cm = $and124;
- }
- $141 = $cm;
- $retval = $141;
- $142 = $retval;
- STACKTOP = sp;return ($142|0);
-}
-function _quant_band_stereo($ctx,$X,$Y,$N,$b,$B,$lowband,$LM,$lowband_out,$lowband_scratch,$fill) {
- $ctx = $ctx|0;
- $X = $X|0;
- $Y = $Y|0;
- $N = $N|0;
- $b = $b|0;
- $B = $B|0;
- $lowband = $lowband|0;
- $LM = $LM|0;
- $lowband_out = $lowband_out|0;
- $lowband_scratch = $lowband_scratch|0;
- $fill = $fill|0;
- var $$ = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0.0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0;
- var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
- var $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0;
- var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0.0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0;
- var $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
- var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0.0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0.0, $202 = 0, $203 = 0, $204 = 0;
- var $205 = 0, $206 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
- var $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0.0, $55 = 0;
- var $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0, $73 = 0;
- var $74 = 0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0.0, $83 = 0, $84 = 0.0, $85 = 0, $86 = 0.0, $87 = 0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0.0, $91 = 0;
- var $92 = 0.0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0.0, $99 = 0, $B$addr = 0, $LM$addr = 0, $N$addr = 0, $X$addr = 0, $Y$addr = 0, $add = 0, $add130 = 0, $add146 = 0, $add76 = 0.0, $add83 = 0.0, $arch = 0, $arrayidx162 = 0;
- var $arrayidx164 = 0, $arrayidx34 = 0, $arrayidx36 = 0, $arrayidx50 = 0, $arrayidx56 = 0, $arrayidx62 = 0, $arrayidx64 = 0, $arrayidx68 = 0, $arrayidx70 = 0, $arrayidx78 = 0, $arrayidx79 = 0, $arrayidx81 = 0, $arrayidx82 = 0, $arrayidx84 = 0, $b$addr = 0, $c = 0, $call = 0, $call119 = 0, $call132 = 0, $call135 = 0;
- var $call148 = 0, $call42 = 0, $call47 = 0, $cm = 0, $cmp = 0, $cmp102 = 0, $cmp116 = 0, $cmp12 = 0, $cmp123 = 0, $cmp126 = 0, $cmp139 = 0, $cmp142 = 0, $cmp15 = 0, $cmp154 = 0, $cmp160 = 0, $cmp17 = 0, $cmp21 = 0, $cmp40 = 0, $cmp88 = 0, $cmp96 = 0;
- var $cond = 0, $cond111 = 0, $cond29 = 0, $cond95 = 0, $conv = 0.0, $conv10 = 0.0, $conv22 = 0, $conv41 = 0, $conv49 = 0.0, $conv53 = 0.0, $ctx$addr = 0, $delta = 0, $delta7 = 0, $div = 0, $div101 = 0, $div107 = 0, $div93 = 0, $ec = 0, $ec3 = 0, $encode1 = 0;
- var $fill$addr = 0, $imid = 0, $imid5 = 0, $inc = 0, $inv = 0, $iside = 0, $iside6 = 0, $itheta = 0, $itheta8 = 0, $j = 0, $lnot = 0, $lnot$ext = 0, $lowband$addr = 0, $lowband_out$addr = 0, $lowband_scratch$addr = 0, $mbits = 0, $mid = 0.0, $mul = 0.0, $mul11 = 0.0, $mul35 = 0.0;
- var $mul38 = 0.0, $mul45 = 0, $mul51 = 0.0, $mul55 = 0.0, $mul60 = 0.0, $mul63 = 0.0, $mul66 = 0.0, $mul69 = 0.0, $or = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or149 = 0, $orig_fill = 0, $qalloc = 0, $qalloc9 = 0, $rebalance = 0, $remaining_bits = 0, $remaining_bits113 = 0, $remaining_bits115 = 0;
- var $remaining_bits120 = 0, $remaining_bits136 = 0, $resynth = 0, $retval = 0, $sbits = 0, $sctx = 0, $shr = 0, $shr134 = 0, $side = 0.0, $sign = 0, $sub = 0, $sub100 = 0, $sub106 = 0, $sub112 = 0, $sub114 = 0, $sub121 = 0, $sub122 = 0, $sub129 = 0, $sub137 = 0, $sub138 = 0;
- var $sub145 = 0, $sub163 = 0.0, $sub23 = 0, $sub39 = 0.0, $sub46 = 0, $sub48 = 0, $sub73 = 0.0, $sub80 = 0.0, $sub87 = 0, $sub92 = 0, $tmp = 0.0, $tobool = 0, $tobool152 = 0, $tobool158 = 0, $tobool24 = 0, $tobool25 = 0, $tobool30 = 0, $tobool32 = 0, $tobool57 = 0, $x2 = 0;
- var $y2 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
- $b$addr = sp + 136|0;
- $fill$addr = sp + 112|0;
- $sctx = sp + 40|0;
- $ctx$addr = $ctx;
- $X$addr = $X;
- $Y$addr = $Y;
- $N$addr = $N;
- HEAP32[$b$addr>>2] = $b;
- $B$addr = $B;
- $lowband$addr = $lowband;
- $LM$addr = $LM;
- $lowband_out$addr = $lowband_out;
- $lowband_scratch$addr = $lowband_scratch;
- HEAP32[$fill$addr>>2] = $fill;
- $imid = 0;
- $iside = 0;
- $inv = 0;
- $mid = 0.0;
- $side = 0.0;
- $cm = 0;
- $0 = $ctx$addr;
- $1 = HEAP32[$0>>2]|0;
- $tobool = ($1|0)!=(0);
- $lnot = $tobool ^ 1;
- $lnot$ext = $lnot&1;
- $resynth = $lnot$ext;
- $2 = $ctx$addr;
- $3 = HEAP32[$2>>2]|0;
- $encode1 = $3;
- $4 = $ctx$addr;
- $ec3 = ((($4)) + 24|0);
- $5 = HEAP32[$ec3>>2]|0;
- $ec = $5;
- $6 = $N$addr;
- $cmp = ($6|0)==(1);
- if ($cmp) {
- $7 = $ctx$addr;
- $8 = $X$addr;
- $9 = $Y$addr;
- $10 = HEAP32[$b$addr>>2]|0;
- $11 = $lowband_out$addr;
- $call = (_quant_band_n1($7,$8,$9,$10,$11)|0);
- $retval = $call;
- $206 = $retval;
- STACKTOP = sp;return ($206|0);
- }
- $12 = HEAP32[$fill$addr>>2]|0;
- $orig_fill = $12;
- $13 = $ctx$addr;
- $14 = $X$addr;
- $15 = $Y$addr;
- $16 = $N$addr;
- $17 = $B$addr;
- $18 = $B$addr;
- $19 = $LM$addr;
- _compute_theta($13,$sctx,$14,$15,$16,$b$addr,$17,$18,$19,1,$fill$addr);
- $20 = HEAP32[$sctx>>2]|0;
- $inv = $20;
- $imid5 = ((($sctx)) + 4|0);
- $21 = HEAP32[$imid5>>2]|0;
- $imid = $21;
- $iside6 = ((($sctx)) + 8|0);
- $22 = HEAP32[$iside6>>2]|0;
- $iside = $22;
- $delta7 = ((($sctx)) + 12|0);
- $23 = HEAP32[$delta7>>2]|0;
- $delta = $23;
- $itheta8 = ((($sctx)) + 16|0);
- $24 = HEAP32[$itheta8>>2]|0;
- $itheta = $24;
- $qalloc9 = ((($sctx)) + 20|0);
- $25 = HEAP32[$qalloc9>>2]|0;
- $qalloc = $25;
- $26 = $imid;
- $conv = (+($26|0));
- $mul = 3.0517578125E-5 * $conv;
- $mid = $mul;
- $27 = $iside;
- $conv10 = (+($27|0));
- $mul11 = 3.0517578125E-5 * $conv10;
- $side = $mul11;
- $28 = $N$addr;
- $cmp12 = ($28|0)==(2);
- do {
- if ($cmp12) {
- $sign = 0;
- $29 = HEAP32[$b$addr>>2]|0;
- $mbits = $29;
- $sbits = 0;
- $30 = $itheta;
- $cmp15 = ($30|0)!=(0);
- $31 = $itheta;
- $cmp17 = ($31|0)!=(16384);
- $or$cond = $cmp15 & $cmp17;
- $$ = $or$cond ? 8 : 0;
- $sbits = $$;
- $32 = $sbits;
- $33 = $mbits;
- $sub = (($33) - ($32))|0;
- $mbits = $sub;
- $34 = $itheta;
- $cmp21 = ($34|0)>(8192);
- $conv22 = $cmp21&1;
- $c = $conv22;
- $35 = $qalloc;
- $36 = $sbits;
- $add = (($35) + ($36))|0;
- $37 = $ctx$addr;
- $remaining_bits = ((($37)) + 28|0);
- $38 = HEAP32[$remaining_bits>>2]|0;
- $sub23 = (($38) - ($add))|0;
- HEAP32[$remaining_bits>>2] = $sub23;
- $39 = $c;
- $tobool24 = ($39|0)!=(0);
- $40 = $Y$addr;
- $41 = $X$addr;
- $cond = $tobool24 ? $40 : $41;
- $x2 = $cond;
- $42 = $c;
- $tobool25 = ($42|0)!=(0);
- $43 = $X$addr;
- $44 = $Y$addr;
- $cond29 = $tobool25 ? $43 : $44;
- $y2 = $cond29;
- $45 = $sbits;
- $tobool30 = ($45|0)!=(0);
- do {
- if ($tobool30) {
- $46 = $encode1;
- $tobool32 = ($46|0)!=(0);
- if ($tobool32) {
- $47 = $x2;
- $48 = +HEAPF32[$47>>2];
- $49 = $y2;
- $arrayidx34 = ((($49)) + 4|0);
- $50 = +HEAPF32[$arrayidx34>>2];
- $mul35 = $48 * $50;
- $51 = $x2;
- $arrayidx36 = ((($51)) + 4|0);
- $52 = +HEAPF32[$arrayidx36>>2];
- $53 = $y2;
- $54 = +HEAPF32[$53>>2];
- $mul38 = $52 * $54;
- $sub39 = $mul35 - $mul38;
- $cmp40 = $sub39 < 0.0;
- $conv41 = $cmp40&1;
- $sign = $conv41;
- $55 = $ec;
- $56 = $sign;
- _ec_enc_bits($55,$56,1);
- break;
- } else {
- $57 = $ec;
- $call42 = (_ec_dec_bits($57,1)|0);
- $sign = $call42;
- break;
- }
- }
- } while(0);
- $58 = $sign;
- $mul45 = $58<<1;
- $sub46 = (1 - ($mul45))|0;
- $sign = $sub46;
- $59 = $ctx$addr;
- $60 = $x2;
- $61 = $N$addr;
- $62 = $mbits;
- $63 = $B$addr;
- $64 = $lowband$addr;
- $65 = $LM$addr;
- $66 = $lowband_out$addr;
- $67 = $lowband_scratch$addr;
- $68 = $orig_fill;
- $call47 = (_quant_band($59,$60,$61,$62,$63,$64,$65,$66,1.0,$67,$68)|0);
- $cm = $call47;
- $69 = $sign;
- $sub48 = (0 - ($69))|0;
- $conv49 = (+($sub48|0));
- $70 = $x2;
- $arrayidx50 = ((($70)) + 4|0);
- $71 = +HEAPF32[$arrayidx50>>2];
- $mul51 = $conv49 * $71;
- $72 = $y2;
- HEAPF32[$72>>2] = $mul51;
- $73 = $sign;
- $conv53 = (+($73|0));
- $74 = $x2;
- $75 = +HEAPF32[$74>>2];
- $mul55 = $conv53 * $75;
- $76 = $y2;
- $arrayidx56 = ((($76)) + 4|0);
- HEAPF32[$arrayidx56>>2] = $mul55;
- $77 = $resynth;
- $tobool57 = ($77|0)!=(0);
- if ($tobool57) {
- $78 = $mid;
- $79 = $X$addr;
- $80 = +HEAPF32[$79>>2];
- $mul60 = $78 * $80;
- $81 = $X$addr;
- HEAPF32[$81>>2] = $mul60;
- $82 = $mid;
- $83 = $X$addr;
- $arrayidx62 = ((($83)) + 4|0);
- $84 = +HEAPF32[$arrayidx62>>2];
- $mul63 = $82 * $84;
- $85 = $X$addr;
- $arrayidx64 = ((($85)) + 4|0);
- HEAPF32[$arrayidx64>>2] = $mul63;
- $86 = $side;
- $87 = $Y$addr;
- $88 = +HEAPF32[$87>>2];
- $mul66 = $86 * $88;
- $89 = $Y$addr;
- HEAPF32[$89>>2] = $mul66;
- $90 = $side;
- $91 = $Y$addr;
- $arrayidx68 = ((($91)) + 4|0);
- $92 = +HEAPF32[$arrayidx68>>2];
- $mul69 = $90 * $92;
- $93 = $Y$addr;
- $arrayidx70 = ((($93)) + 4|0);
- HEAPF32[$arrayidx70>>2] = $mul69;
- $94 = $X$addr;
- $95 = +HEAPF32[$94>>2];
- $tmp = $95;
- $96 = $tmp;
- $97 = $Y$addr;
- $98 = +HEAPF32[$97>>2];
- $sub73 = $96 - $98;
- $99 = $X$addr;
- HEAPF32[$99>>2] = $sub73;
- $100 = $tmp;
- $101 = $Y$addr;
- $102 = +HEAPF32[$101>>2];
- $add76 = $100 + $102;
- $103 = $Y$addr;
- HEAPF32[$103>>2] = $add76;
- $104 = $X$addr;
- $arrayidx78 = ((($104)) + 4|0);
- $105 = +HEAPF32[$arrayidx78>>2];
- $tmp = $105;
- $106 = $tmp;
- $107 = $Y$addr;
- $arrayidx79 = ((($107)) + 4|0);
- $108 = +HEAPF32[$arrayidx79>>2];
- $sub80 = $106 - $108;
- $109 = $X$addr;
- $arrayidx81 = ((($109)) + 4|0);
- HEAPF32[$arrayidx81>>2] = $sub80;
- $110 = $tmp;
- $111 = $Y$addr;
- $arrayidx82 = ((($111)) + 4|0);
- $112 = +HEAPF32[$arrayidx82>>2];
- $add83 = $110 + $112;
- $113 = $Y$addr;
- $arrayidx84 = ((($113)) + 4|0);
- HEAPF32[$arrayidx84>>2] = $add83;
- }
- } else {
- $114 = HEAP32[$b$addr>>2]|0;
- $115 = HEAP32[$b$addr>>2]|0;
- $116 = $delta;
- $sub87 = (($115) - ($116))|0;
- $div = (($sub87|0) / 2)&-1;
- $cmp88 = ($114|0)<($div|0);
- $117 = HEAP32[$b$addr>>2]|0;
- if ($cmp88) {
- $cond95 = $117;
- } else {
- $118 = $delta;
- $sub92 = (($117) - ($118))|0;
- $div93 = (($sub92|0) / 2)&-1;
- $cond95 = $div93;
- }
- $cmp96 = (0)>($cond95|0);
- if ($cmp96) {
- $cond111 = 0;
- } else {
- $119 = HEAP32[$b$addr>>2]|0;
- $120 = HEAP32[$b$addr>>2]|0;
- $121 = $delta;
- $sub100 = (($120) - ($121))|0;
- $div101 = (($sub100|0) / 2)&-1;
- $cmp102 = ($119|0)<($div101|0);
- $122 = HEAP32[$b$addr>>2]|0;
- if ($cmp102) {
- $cond111 = $122;
- } else {
- $123 = $delta;
- $sub106 = (($122) - ($123))|0;
- $div107 = (($sub106|0) / 2)&-1;
- $cond111 = $div107;
- }
- }
- $mbits = $cond111;
- $124 = HEAP32[$b$addr>>2]|0;
- $125 = $mbits;
- $sub112 = (($124) - ($125))|0;
- $sbits = $sub112;
- $126 = $qalloc;
- $127 = $ctx$addr;
- $remaining_bits113 = ((($127)) + 28|0);
- $128 = HEAP32[$remaining_bits113>>2]|0;
- $sub114 = (($128) - ($126))|0;
- HEAP32[$remaining_bits113>>2] = $sub114;
- $129 = $ctx$addr;
- $remaining_bits115 = ((($129)) + 28|0);
- $130 = HEAP32[$remaining_bits115>>2]|0;
- $rebalance = $130;
- $131 = $mbits;
- $132 = $sbits;
- $cmp116 = ($131|0)>=($132|0);
- $133 = $ctx$addr;
- if ($cmp116) {
- $134 = $X$addr;
- $135 = $N$addr;
- $136 = $mbits;
- $137 = $B$addr;
- $138 = $lowband$addr;
- $139 = $LM$addr;
- $140 = $lowband_out$addr;
- $141 = $lowband_scratch$addr;
- $142 = HEAP32[$fill$addr>>2]|0;
- $call119 = (_quant_band($133,$134,$135,$136,$137,$138,$139,$140,1.0,$141,$142)|0);
- $cm = $call119;
- $143 = $mbits;
- $144 = $rebalance;
- $145 = $ctx$addr;
- $remaining_bits120 = ((($145)) + 28|0);
- $146 = HEAP32[$remaining_bits120>>2]|0;
- $sub121 = (($144) - ($146))|0;
- $sub122 = (($143) - ($sub121))|0;
- $rebalance = $sub122;
- $147 = $rebalance;
- $cmp123 = ($147|0)>(24);
- $148 = $itheta;
- $cmp126 = ($148|0)!=(0);
- $or$cond1 = $cmp123 & $cmp126;
- if ($or$cond1) {
- $149 = $rebalance;
- $sub129 = (($149) - 24)|0;
- $150 = $sbits;
- $add130 = (($150) + ($sub129))|0;
- $sbits = $add130;
- }
- $151 = $ctx$addr;
- $152 = $Y$addr;
- $153 = $N$addr;
- $154 = $sbits;
- $155 = $B$addr;
- $156 = $LM$addr;
- $157 = $side;
- $158 = HEAP32[$fill$addr>>2]|0;
- $159 = $B$addr;
- $shr = $158 >> $159;
- $call132 = (_quant_band($151,$152,$153,$154,$155,0,$156,0,$157,0,$shr)|0);
- $160 = $cm;
- $or = $160 | $call132;
- $cm = $or;
- break;
- } else {
- $161 = $Y$addr;
- $162 = $N$addr;
- $163 = $sbits;
- $164 = $B$addr;
- $165 = $LM$addr;
- $166 = $side;
- $167 = HEAP32[$fill$addr>>2]|0;
- $168 = $B$addr;
- $shr134 = $167 >> $168;
- $call135 = (_quant_band($133,$161,$162,$163,$164,0,$165,0,$166,0,$shr134)|0);
- $cm = $call135;
- $169 = $sbits;
- $170 = $rebalance;
- $171 = $ctx$addr;
- $remaining_bits136 = ((($171)) + 28|0);
- $172 = HEAP32[$remaining_bits136>>2]|0;
- $sub137 = (($170) - ($172))|0;
- $sub138 = (($169) - ($sub137))|0;
- $rebalance = $sub138;
- $173 = $rebalance;
- $cmp139 = ($173|0)>(24);
- $174 = $itheta;
- $cmp142 = ($174|0)!=(16384);
- $or$cond2 = $cmp139 & $cmp142;
- if ($or$cond2) {
- $175 = $rebalance;
- $sub145 = (($175) - 24)|0;
- $176 = $mbits;
- $add146 = (($176) + ($sub145))|0;
- $mbits = $add146;
- }
- $177 = $ctx$addr;
- $178 = $X$addr;
- $179 = $N$addr;
- $180 = $mbits;
- $181 = $B$addr;
- $182 = $lowband$addr;
- $183 = $LM$addr;
- $184 = $lowband_out$addr;
- $185 = $lowband_scratch$addr;
- $186 = HEAP32[$fill$addr>>2]|0;
- $call148 = (_quant_band($177,$178,$179,$180,$181,$182,$183,$184,1.0,$185,$186)|0);
- $187 = $cm;
- $or149 = $187 | $call148;
- $cm = $or149;
- break;
- }
- }
- } while(0);
- $188 = $resynth;
- $tobool152 = ($188|0)!=(0);
- L32: do {
- if ($tobool152) {
- $189 = $N$addr;
- $cmp154 = ($189|0)!=(2);
- if ($cmp154) {
- $190 = $X$addr;
- $191 = $Y$addr;
- $192 = $mid;
- $193 = $N$addr;
- $194 = $ctx$addr;
- $arch = ((($194)) + 40|0);
- $195 = HEAP32[$arch>>2]|0;
- _stereo_merge($190,$191,$192,$193,$195);
- }
- $196 = $inv;
- $tobool158 = ($196|0)!=(0);
- if ($tobool158) {
- $j = 0;
- while(1) {
- $197 = $j;
- $198 = $N$addr;
- $cmp160 = ($197|0)<($198|0);
- if (!($cmp160)) {
- break L32;
- }
- $199 = $Y$addr;
- $200 = $j;
- $arrayidx162 = (($199) + ($200<<2)|0);
- $201 = +HEAPF32[$arrayidx162>>2];
- $sub163 = - $201;
- $202 = $Y$addr;
- $203 = $j;
- $arrayidx164 = (($202) + ($203<<2)|0);
- HEAPF32[$arrayidx164>>2] = $sub163;
- $204 = $j;
- $inc = (($204) + 1)|0;
- $j = $inc;
- }
- }
- }
- } while(0);
- $205 = $cm;
- $retval = $205;
- $206 = $retval;
- STACKTOP = sp;return ($206|0);
-}
-function _quant_band_n1($ctx,$X,$Y,$b,$lowband_out) {
- $ctx = $ctx|0;
- $X = $X|0;
- $Y = $Y|0;
- $b = $b|0;
- $lowband_out = $lowband_out|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0.0, $28 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $X$addr = 0, $Y$addr = 0, $add = 0, $b$addr = 0, $c = 0, $call = 0, $cmp = 0, $cmp18 = 0, $cmp4 = 0, $cmp8 = 0, $cond = 0.0;
- var $conv = 0, $conv9 = 0, $ctx$addr = 0, $ec = 0, $ec3 = 0, $encode1 = 0, $inc = 0, $lnot = 0, $lnot$ext = 0, $lowband_out$addr = 0, $remaining_bits = 0, $remaining_bits10 = 0, $resynth = 0, $sign = 0, $stereo = 0, $sub = 0, $sub11 = 0, $tobool = 0, $tobool13 = 0, $tobool15 = 0;
- var $tobool20 = 0, $tobool6 = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $ctx$addr = $ctx;
- $X$addr = $X;
- $Y$addr = $Y;
- $b$addr = $b;
- $lowband_out$addr = $lowband_out;
- $0 = $ctx$addr;
- $1 = HEAP32[$0>>2]|0;
- $tobool = ($1|0)!=(0);
- $lnot = $tobool ^ 1;
- $lnot$ext = $lnot&1;
- $resynth = $lnot$ext;
- $2 = $X$addr;
- $x = $2;
- $3 = $ctx$addr;
- $4 = HEAP32[$3>>2]|0;
- $encode1 = $4;
- $5 = $ctx$addr;
- $ec3 = ((($5)) + 24|0);
- $6 = HEAP32[$ec3>>2]|0;
- $ec = $6;
- $7 = $Y$addr;
- $cmp = ($7|0)!=(0|0);
- $conv = $cmp&1;
- $stereo = $conv;
- $c = 0;
- while(1) {
- $sign = 0;
- $8 = $ctx$addr;
- $remaining_bits = ((($8)) + 28|0);
- $9 = HEAP32[$remaining_bits>>2]|0;
- $cmp4 = ($9|0)>=(8);
- if ($cmp4) {
- $10 = $encode1;
- $tobool6 = ($10|0)!=(0);
- if ($tobool6) {
- $11 = $x;
- $12 = +HEAPF32[$11>>2];
- $cmp8 = $12 < 0.0;
- $conv9 = $cmp8&1;
- $sign = $conv9;
- $13 = $ec;
- $14 = $sign;
- _ec_enc_bits($13,$14,1);
- } else {
- $15 = $ec;
- $call = (_ec_dec_bits($15,1)|0);
- $sign = $call;
- }
- $16 = $ctx$addr;
- $remaining_bits10 = ((($16)) + 28|0);
- $17 = HEAP32[$remaining_bits10>>2]|0;
- $sub = (($17) - 8)|0;
- HEAP32[$remaining_bits10>>2] = $sub;
- $18 = $b$addr;
- $sub11 = (($18) - 8)|0;
- $b$addr = $sub11;
- }
- $19 = $resynth;
- $tobool13 = ($19|0)!=(0);
- if ($tobool13) {
- $20 = $sign;
- $tobool15 = ($20|0)!=(0);
- $cond = $tobool15 ? -1.0 : 1.0;
- $21 = $x;
- HEAPF32[$21>>2] = $cond;
- }
- $22 = $Y$addr;
- $x = $22;
- $23 = $c;
- $inc = (($23) + 1)|0;
- $c = $inc;
- $24 = $stereo;
- $add = (1 + ($24))|0;
- $cmp18 = ($inc|0)<($add|0);
- if (!($cmp18)) {
- break;
- }
- }
- $25 = $lowband_out$addr;
- $tobool20 = ($25|0)!=(0|0);
- if (!($tobool20)) {
- STACKTOP = sp;return 1;
- }
- $26 = $X$addr;
- $27 = +HEAPF32[$26>>2];
- $28 = $lowband_out$addr;
- HEAPF32[$28>>2] = $27;
- STACKTOP = sp;return 1;
-}
-function _compute_theta($ctx,$sctx,$X,$Y,$N,$b,$B,$B0,$LM,$stereo,$fill) {
- $ctx = $ctx|0;
- $sctx = $sctx|0;
- $X = $X|0;
- $Y = $Y|0;
- $N = $N|0;
- $b = $b|0;
- $B = $B|0;
- $B0 = $B0|0;
- $LM = $LM|0;
- $stereo = $stereo|0;
- $fill = $fill|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0.0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
- var $B$addr = 0, $B0$addr = 0, $LM$addr = 0, $N$addr = 0, $X$addr = 0, $Y$addr = 0, $add = 0, $add102 = 0, $add104 = 0, $add111 = 0, $add113 = 0, $add121 = 0, $add123 = 0, $add131 = 0, $add135 = 0, $add137 = 0, $add144 = 0, $add150 = 0, $add157 = 0, $add161 = 0;
- var $add162 = 0, $add166 = 0, $add171 = 0, $add175 = 0, $add177 = 0, $add179 = 0, $add185 = 0, $add22 = 0, $add263 = 0, $add30 = 0, $add32 = 0, $add40 = 0, $add42 = 0, $add47 = 0, $add51 = 0, $add53 = 0, $add57 = 0, $add64 = 0, $add65 = 0, $add68 = 0;
- var $add77 = 0, $add79 = 0, $add85 = 0, $add89 = 0, $add91 = 0, $and = 0, $and246 = 0, $arch = 0, $arrayidx = 0, $arrayidx212 = 0, $arrayidx214 = 0, $b$addr = 0, $bandE = 0, $bandE6 = 0, $call = 0, $call105 = 0, $call13 = 0, $call147 = 0, $call15 = 0, $call158 = 0;
- var $call172 = 0, $call190 = 0, $call226 = 0, $call232 = 0, $call249 = 0, $call253 = 0, $call259 = 0, $call56 = 0, $cmp = 0, $cmp118 = 0, $cmp128 = 0, $cmp153 = 0, $cmp16 = 0, $cmp195 = 0, $cmp206 = 0, $cmp210 = 0, $cmp217 = 0, $cmp220 = 0, $cmp235 = 0, $cmp240 = 0;
- var $cmp27 = 0, $cmp35 = 0, $cmp44 = 0, $cmp59 = 0, $cmp70 = 0, $cmp82 = 0, $cmp9 = 0, $cmp96 = 0, $cond = 0, $cond126 = 0, $cond143 = 0, $cond43 = 0, $cond55 = 0, $cond81 = 0, $cond93 = 0, $conv = 0, $conv207 = 0, $conv248 = 0, $conv250 = 0, $conv252 = 0;
- var $conv254 = 0, $conv257 = 0, $conv258 = 0, $conv260 = 0, $conv261 = 0, $ctx$addr = 0, $delta = 0, $delta270 = 0, $div = 0, $div62 = 0, $ec = 0, $ec5 = 0, $encode = 0, $fill$addr = 0, $fl = 0, $fl146 = 0, $fm = 0, $fs = 0, $fs108 = 0, $ft = 0;
- var $ft109 = 0, $i = 0, $i3 = 0, $imid = 0, $imid268 = 0, $inc = 0, $intensity = 0, $intensity4 = 0, $inv = 0, $iside = 0, $iside269 = 0, $itheta = 0, $itheta271 = 0, $j = 0, $logN = 0, $m = 0, $m2 = 0, $mul = 0, $mul114 = 0, $mul132 = 0;
- var $mul139 = 0, $mul151 = 0, $mul156 = 0, $mul163 = 0, $mul167 = 0, $mul170 = 0, $mul181 = 0, $mul189 = 0, $mul21 = 0, $mul262 = 0, $mul31 = 0, $mul37 = 0, $mul41 = 0, $mul48 = 0, $mul52 = 0, $mul58 = 0, $mul66 = 0, $mul73 = 0, $mul78 = 0, $mul86 = 0;
- var $mul90 = 0, $offset = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $p0 = 0, $pulse_cap = 0, $qalloc = 0, $qalloc272 = 0, $qn = 0, $remaining_bits = 0, $sctx$addr = 0, $shl = 0, $shl243 = 0, $shl245 = 0, $shl256 = 0, $shr = 0, $shr110 = 0, $shr112 = 0, $shr117 = 0;
- var $shr127 = 0, $shr133 = 0, $shr140 = 0, $shr148 = 0, $shr149 = 0, $shr152 = 0, $shr160 = 0, $shr164 = 0, $shr174 = 0, $shr182 = 0, $shr23 = 0, $shr264 = 0, $stereo$addr = 0, $sub = 0, $sub124 = 0, $sub136 = 0, $sub138 = 0, $sub141 = 0, $sub159 = 0, $sub168 = 0;
- var $sub169 = 0, $sub173 = 0, $sub176 = 0, $sub178 = 0, $sub180 = 0, $sub183 = 0, $sub213 = 0.0, $sub233 = 0, $sub234 = 0, $sub238 = 0, $sub244 = 0, $sub251 = 0, $sub255 = 0, $sub38 = 0, $sub39 = 0, $sub50 = 0, $sub67 = 0, $sub75 = 0, $sub76 = 0, $sub88 = 0;
- var $tell = 0, $tobool = 0, $tobool100 = 0, $tobool11 = 0, $tobool115 = 0, $tobool19 = 0, $tobool191 = 0, $tobool193 = 0, $tobool202 = 0, $tobool204 = 0, $tobool208 = 0, $tobool223 = 0, $tobool25 = 0, $tobool33 = 0, $tobool8 = 0, $tobool98 = 0, $x = 0, $x0 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
- $ctx$addr = $ctx;
- $sctx$addr = $sctx;
- $X$addr = $X;
- $Y$addr = $Y;
- $N$addr = $N;
- $b$addr = $b;
- $B$addr = $B;
- $B0$addr = $B0;
- $LM$addr = $LM;
- $stereo$addr = $stereo;
- $fill$addr = $fill;
- $itheta = 0;
- $inv = 0;
- $0 = $ctx$addr;
- $1 = HEAP32[$0>>2]|0;
- $encode = $1;
- $2 = $ctx$addr;
- $m2 = ((($2)) + 4|0);
- $3 = HEAP32[$m2>>2]|0;
- $m = $3;
- $4 = $ctx$addr;
- $i3 = ((($4)) + 8|0);
- $5 = HEAP32[$i3>>2]|0;
- $i = $5;
- $6 = $ctx$addr;
- $intensity4 = ((($6)) + 12|0);
- $7 = HEAP32[$intensity4>>2]|0;
- $intensity = $7;
- $8 = $ctx$addr;
- $ec5 = ((($8)) + 24|0);
- $9 = HEAP32[$ec5>>2]|0;
- $ec = $9;
- $10 = $ctx$addr;
- $bandE6 = ((($10)) + 32|0);
- $11 = HEAP32[$bandE6>>2]|0;
- $bandE = $11;
- $12 = $m;
- $logN = ((($12)) + 56|0);
- $13 = HEAP32[$logN>>2]|0;
- $14 = $i;
- $arrayidx = (($13) + ($14<<1)|0);
- $15 = HEAP16[$arrayidx>>1]|0;
- $conv = $15 << 16 >> 16;
- $16 = $LM$addr;
- $mul = $16<<3;
- $add = (($conv) + ($mul))|0;
- $pulse_cap = $add;
- $17 = $pulse_cap;
- $shr = $17 >> 1;
- $18 = $stereo$addr;
- $tobool = ($18|0)!=(0);
- $19 = $N$addr;
- $cmp = ($19|0)==(2);
- $20 = $tobool ? $cmp : 0;
- $cond = $20 ? 16 : 4;
- $sub = (($shr) - ($cond))|0;
- $offset = $sub;
- $21 = $N$addr;
- $22 = $b$addr;
- $23 = HEAP32[$22>>2]|0;
- $24 = $offset;
- $25 = $pulse_cap;
- $26 = $stereo$addr;
- $call = (_compute_qn($21,$23,$24,$25,$26)|0);
- $qn = $call;
- $27 = $stereo$addr;
- $tobool8 = ($27|0)!=(0);
- if ($tobool8) {
- $28 = $i;
- $29 = $intensity;
- $cmp9 = ($28|0)>=($29|0);
- if ($cmp9) {
- $qn = 1;
- }
- }
- $30 = $encode;
- $tobool11 = ($30|0)!=(0);
- if ($tobool11) {
- $31 = $X$addr;
- $32 = $Y$addr;
- $33 = $stereo$addr;
- $34 = $N$addr;
- $35 = $ctx$addr;
- $arch = ((($35)) + 40|0);
- $36 = HEAP32[$arch>>2]|0;
- $call13 = (_stereo_itheta($31,$32,$33,$34,$36)|0);
- $itheta = $call13;
- }
- $37 = $ec;
- $call15 = (_ec_tell_frac($37)|0);
- $tell = $call15;
- $38 = $qn;
- $cmp16 = ($38|0)!=(1);
- do {
- if ($cmp16) {
- $39 = $encode;
- $tobool19 = ($39|0)!=(0);
- if ($tobool19) {
- $40 = $itheta;
- $41 = $qn;
- $mul21 = Math_imul($40, $41)|0;
- $add22 = (($mul21) + 8192)|0;
- $shr23 = $add22 >> 14;
- $itheta = $shr23;
- }
- $42 = $stereo$addr;
- $tobool25 = ($42|0)!=(0);
- $43 = $N$addr;
- $cmp27 = ($43|0)>(2);
- $or$cond = $tobool25 & $cmp27;
- do {
- if ($or$cond) {
- $p0 = 3;
- $44 = $itheta;
- $x = $44;
- $45 = $qn;
- $div = (($45|0) / 2)&-1;
- $x0 = $div;
- $46 = $p0;
- $47 = $x0;
- $add30 = (($47) + 1)|0;
- $mul31 = Math_imul($46, $add30)|0;
- $48 = $x0;
- $add32 = (($mul31) + ($48))|0;
- $ft = $add32;
- $49 = $encode;
- $tobool33 = ($49|0)!=(0);
- $50 = $ec;
- if ($tobool33) {
- $51 = $x;
- $52 = $x0;
- $cmp35 = ($51|0)<=($52|0);
- if ($cmp35) {
- $53 = $p0;
- $54 = $x;
- $mul37 = Math_imul($53, $54)|0;
- $cond43 = $mul37;
- } else {
- $55 = $x;
- $sub38 = (($55) - 1)|0;
- $56 = $x0;
- $sub39 = (($sub38) - ($56))|0;
- $57 = $x0;
- $add40 = (($57) + 1)|0;
- $58 = $p0;
- $mul41 = Math_imul($add40, $58)|0;
- $add42 = (($sub39) + ($mul41))|0;
- $cond43 = $add42;
- }
- $59 = $x;
- $60 = $x0;
- $cmp44 = ($59|0)<=($60|0);
- if ($cmp44) {
- $61 = $p0;
- $62 = $x;
- $add47 = (($62) + 1)|0;
- $mul48 = Math_imul($61, $add47)|0;
- $cond55 = $mul48;
- } else {
- $63 = $x;
- $64 = $x0;
- $sub50 = (($63) - ($64))|0;
- $65 = $x0;
- $add51 = (($65) + 1)|0;
- $66 = $p0;
- $mul52 = Math_imul($add51, $66)|0;
- $add53 = (($sub50) + ($mul52))|0;
- $cond55 = $add53;
- }
- $67 = $ft;
- _ec_encode($50,$cond43,$cond55,$67);
- break;
- }
- $68 = $ft;
- $call56 = (_ec_decode($50,$68)|0);
- $fs = $call56;
- $69 = $fs;
- $70 = $x0;
- $add57 = (($70) + 1)|0;
- $71 = $p0;
- $mul58 = Math_imul($add57, $71)|0;
- $cmp59 = ($69|0)<($mul58|0);
- if ($cmp59) {
- $72 = $fs;
- $73 = $p0;
- $div62 = (($72|0) / ($73|0))&-1;
- $x = $div62;
- } else {
- $74 = $x0;
- $add64 = (($74) + 1)|0;
- $75 = $fs;
- $76 = $x0;
- $add65 = (($76) + 1)|0;
- $77 = $p0;
- $mul66 = Math_imul($add65, $77)|0;
- $sub67 = (($75) - ($mul66))|0;
- $add68 = (($add64) + ($sub67))|0;
- $x = $add68;
- }
- $78 = $ec;
- $79 = $x;
- $80 = $x0;
- $cmp70 = ($79|0)<=($80|0);
- if ($cmp70) {
- $81 = $p0;
- $82 = $x;
- $mul73 = Math_imul($81, $82)|0;
- $cond81 = $mul73;
- } else {
- $83 = $x;
- $sub75 = (($83) - 1)|0;
- $84 = $x0;
- $sub76 = (($sub75) - ($84))|0;
- $85 = $x0;
- $add77 = (($85) + 1)|0;
- $86 = $p0;
- $mul78 = Math_imul($add77, $86)|0;
- $add79 = (($sub76) + ($mul78))|0;
- $cond81 = $add79;
- }
- $87 = $x;
- $88 = $x0;
- $cmp82 = ($87|0)<=($88|0);
- if ($cmp82) {
- $89 = $p0;
- $90 = $x;
- $add85 = (($90) + 1)|0;
- $mul86 = Math_imul($89, $add85)|0;
- $cond93 = $mul86;
- } else {
- $91 = $x;
- $92 = $x0;
- $sub88 = (($91) - ($92))|0;
- $93 = $x0;
- $add89 = (($93) + 1)|0;
- $94 = $p0;
- $mul90 = Math_imul($add89, $94)|0;
- $add91 = (($sub88) + ($mul90))|0;
- $cond93 = $add91;
- }
- $95 = $ft;
- _ec_dec_update($78,$cond81,$cond93,$95);
- $96 = $x;
- $itheta = $96;
- } else {
- $97 = $B0$addr;
- $cmp96 = ($97|0)>(1);
- $98 = $stereo$addr;
- $tobool98 = ($98|0)!=(0);
- $or$cond1 = $cmp96 | $tobool98;
- if ($or$cond1) {
- $99 = $encode;
- $tobool100 = ($99|0)!=(0);
- $100 = $ec;
- if ($tobool100) {
- $101 = $itheta;
- $102 = $qn;
- $add102 = (($102) + 1)|0;
- _ec_enc_uint($100,$101,$add102);
- break;
- } else {
- $103 = $qn;
- $add104 = (($103) + 1)|0;
- $call105 = (_ec_dec_uint($100,$add104)|0);
- $itheta = $call105;
- break;
- }
- }
- $fs108 = 1;
- $104 = $qn;
- $shr110 = $104 >> 1;
- $add111 = (($shr110) + 1)|0;
- $105 = $qn;
- $shr112 = $105 >> 1;
- $add113 = (($shr112) + 1)|0;
- $mul114 = Math_imul($add111, $add113)|0;
- $ft109 = $mul114;
- $106 = $encode;
- $tobool115 = ($106|0)!=(0);
- if (!($tobool115)) {
- $fl146 = 0;
- $126 = $ec;
- $127 = $ft109;
- $call147 = (_ec_decode($126,$127)|0);
- $fm = $call147;
- $128 = $fm;
- $129 = $qn;
- $shr148 = $129 >> 1;
- $130 = $qn;
- $shr149 = $130 >> 1;
- $add150 = (($shr149) + 1)|0;
- $mul151 = Math_imul($shr148, $add150)|0;
- $shr152 = $mul151 >> 1;
- $cmp153 = ($128|0)<($shr152|0);
- if ($cmp153) {
- $131 = $fm;
- $mul156 = $131<<3;
- $add157 = (($mul156) + 1)|0;
- $call158 = (_isqrt32($add157)|0);
- $sub159 = (($call158) - 1)|0;
- $shr160 = $sub159 >>> 1;
- $itheta = $shr160;
- $132 = $itheta;
- $add161 = (($132) + 1)|0;
- $fs108 = $add161;
- $133 = $itheta;
- $134 = $itheta;
- $add162 = (($134) + 1)|0;
- $mul163 = Math_imul($133, $add162)|0;
- $shr164 = $mul163 >> 1;
- $fl146 = $shr164;
- } else {
- $135 = $qn;
- $add166 = (($135) + 1)|0;
- $mul167 = $add166<<1;
- $136 = $ft109;
- $137 = $fm;
- $sub168 = (($136) - ($137))|0;
- $sub169 = (($sub168) - 1)|0;
- $mul170 = $sub169<<3;
- $add171 = (($mul170) + 1)|0;
- $call172 = (_isqrt32($add171)|0);
- $sub173 = (($mul167) - ($call172))|0;
- $shr174 = $sub173 >>> 1;
- $itheta = $shr174;
- $138 = $qn;
- $add175 = (($138) + 1)|0;
- $139 = $itheta;
- $sub176 = (($add175) - ($139))|0;
- $fs108 = $sub176;
- $140 = $ft109;
- $141 = $qn;
- $add177 = (($141) + 1)|0;
- $142 = $itheta;
- $sub178 = (($add177) - ($142))|0;
- $143 = $qn;
- $add179 = (($143) + 2)|0;
- $144 = $itheta;
- $sub180 = (($add179) - ($144))|0;
- $mul181 = Math_imul($sub178, $sub180)|0;
- $shr182 = $mul181 >> 1;
- $sub183 = (($140) - ($shr182))|0;
- $fl146 = $sub183;
- }
- $145 = $ec;
- $146 = $fl146;
- $147 = $fl146;
- $148 = $fs108;
- $add185 = (($147) + ($148))|0;
- $149 = $ft109;
- _ec_dec_update($145,$146,$add185,$149);
- break;
- }
- $107 = $itheta;
- $108 = $qn;
- $shr117 = $108 >> 1;
- $cmp118 = ($107|0)<=($shr117|0);
- if ($cmp118) {
- $109 = $itheta;
- $add121 = (($109) + 1)|0;
- $cond126 = $add121;
- } else {
- $110 = $qn;
- $add123 = (($110) + 1)|0;
- $111 = $itheta;
- $sub124 = (($add123) - ($111))|0;
- $cond126 = $sub124;
- }
- $fs108 = $cond126;
- $112 = $itheta;
- $113 = $qn;
- $shr127 = $113 >> 1;
- $cmp128 = ($112|0)<=($shr127|0);
- if ($cmp128) {
- $114 = $itheta;
- $115 = $itheta;
- $add131 = (($115) + 1)|0;
- $mul132 = Math_imul($114, $add131)|0;
- $shr133 = $mul132 >> 1;
- $cond143 = $shr133;
- } else {
- $116 = $ft109;
- $117 = $qn;
- $add135 = (($117) + 1)|0;
- $118 = $itheta;
- $sub136 = (($add135) - ($118))|0;
- $119 = $qn;
- $add137 = (($119) + 2)|0;
- $120 = $itheta;
- $sub138 = (($add137) - ($120))|0;
- $mul139 = Math_imul($sub136, $sub138)|0;
- $shr140 = $mul139 >> 1;
- $sub141 = (($116) - ($shr140))|0;
- $cond143 = $sub141;
- }
- $fl = $cond143;
- $121 = $ec;
- $122 = $fl;
- $123 = $fl;
- $124 = $fs108;
- $add144 = (($123) + ($124))|0;
- $125 = $ft109;
- _ec_encode($121,$122,$add144,$125);
- }
- } while(0);
- $150 = $itheta;
- $mul189 = $150<<14;
- $151 = $qn;
- $call190 = (_celt_udiv_358($mul189,$151)|0);
- $itheta = $call190;
- $152 = $encode;
- $tobool191 = ($152|0)!=(0);
- $153 = $stereo$addr;
- $tobool193 = ($153|0)!=(0);
- $or$cond2 = $tobool191 & $tobool193;
- if ($or$cond2) {
- $154 = $itheta;
- $cmp195 = ($154|0)==(0);
- if ($cmp195) {
- $155 = $m;
- $156 = $X$addr;
- $157 = $Y$addr;
- $158 = $bandE;
- $159 = $i;
- $160 = $N$addr;
- _intensity_stereo($155,$156,$157,$158,$159,$160);
- break;
- } else {
- $161 = $X$addr;
- $162 = $Y$addr;
- $163 = $N$addr;
- _stereo_split($161,$162,$163);
- break;
- }
- }
- } else {
- $164 = $stereo$addr;
- $tobool202 = ($164|0)!=(0);
- if ($tobool202) {
- $165 = $encode;
- $tobool204 = ($165|0)!=(0);
- if ($tobool204) {
- $166 = $itheta;
- $cmp206 = ($166|0)>(8192);
- $conv207 = $cmp206&1;
- $inv = $conv207;
- $167 = $inv;
- $tobool208 = ($167|0)!=(0);
- L69: do {
- if ($tobool208) {
- $j = 0;
- while(1) {
- $168 = $j;
- $169 = $N$addr;
- $cmp210 = ($168|0)<($169|0);
- if (!($cmp210)) {
- break L69;
- }
- $170 = $Y$addr;
- $171 = $j;
- $arrayidx212 = (($170) + ($171<<2)|0);
- $172 = +HEAPF32[$arrayidx212>>2];
- $sub213 = - $172;
- $173 = $Y$addr;
- $174 = $j;
- $arrayidx214 = (($173) + ($174<<2)|0);
- HEAPF32[$arrayidx214>>2] = $sub213;
- $175 = $j;
- $inc = (($175) + 1)|0;
- $j = $inc;
- }
- }
- } while(0);
- $176 = $m;
- $177 = $X$addr;
- $178 = $Y$addr;
- $179 = $bandE;
- $180 = $i;
- $181 = $N$addr;
- _intensity_stereo($176,$177,$178,$179,$180,$181);
- }
- $182 = $b$addr;
- $183 = HEAP32[$182>>2]|0;
- $cmp217 = ($183|0)>(16);
- do {
- if ($cmp217) {
- $184 = $ctx$addr;
- $remaining_bits = ((($184)) + 28|0);
- $185 = HEAP32[$remaining_bits>>2]|0;
- $cmp220 = ($185|0)>(16);
- if ($cmp220) {
- $186 = $encode;
- $tobool223 = ($186|0)!=(0);
- $187 = $ec;
- if ($tobool223) {
- $188 = $inv;
- _ec_enc_bit_logp($187,$188,2);
- break;
- } else {
- $call226 = (_ec_dec_bit_logp($187,2)|0);
- $inv = $call226;
- break;
- }
- } else {
- label = 60;
- }
- } else {
- label = 60;
- }
- } while(0);
- if ((label|0) == 60) {
- $inv = 0;
- }
- $itheta = 0;
- }
- }
- } while(0);
- $189 = $ec;
- $call232 = (_ec_tell_frac($189)|0);
- $190 = $tell;
- $sub233 = (($call232) - ($190))|0;
- $qalloc = $sub233;
- $191 = $qalloc;
- $192 = $b$addr;
- $193 = HEAP32[$192>>2]|0;
- $sub234 = (($193) - ($191))|0;
- HEAP32[$192>>2] = $sub234;
- $194 = $itheta;
- $cmp235 = ($194|0)==(0);
- if ($cmp235) {
- $imid = 32767;
- $iside = 0;
- $195 = $B$addr;
- $shl = 1 << $195;
- $sub238 = (($shl) - 1)|0;
- $196 = $fill$addr;
- $197 = HEAP32[$196>>2]|0;
- $and = $197 & $sub238;
- HEAP32[$196>>2] = $and;
- $delta = -16384;
- $208 = $inv;
- $209 = $sctx$addr;
- HEAP32[$209>>2] = $208;
- $210 = $imid;
- $211 = $sctx$addr;
- $imid268 = ((($211)) + 4|0);
- HEAP32[$imid268>>2] = $210;
- $212 = $iside;
- $213 = $sctx$addr;
- $iside269 = ((($213)) + 8|0);
- HEAP32[$iside269>>2] = $212;
- $214 = $delta;
- $215 = $sctx$addr;
- $delta270 = ((($215)) + 12|0);
- HEAP32[$delta270>>2] = $214;
- $216 = $itheta;
- $217 = $sctx$addr;
- $itheta271 = ((($217)) + 16|0);
- HEAP32[$itheta271>>2] = $216;
- $218 = $qalloc;
- $219 = $sctx$addr;
- $qalloc272 = ((($219)) + 20|0);
- HEAP32[$qalloc272>>2] = $218;
- STACKTOP = sp;return;
- }
- $198 = $itheta;
- $cmp240 = ($198|0)==(16384);
- if ($cmp240) {
- $imid = 0;
- $iside = 32767;
- $199 = $B$addr;
- $shl243 = 1 << $199;
- $sub244 = (($shl243) - 1)|0;
- $200 = $B$addr;
- $shl245 = $sub244 << $200;
- $201 = $fill$addr;
- $202 = HEAP32[$201>>2]|0;
- $and246 = $202 & $shl245;
- HEAP32[$201>>2] = $and246;
- $delta = 16384;
- $208 = $inv;
- $209 = $sctx$addr;
- HEAP32[$209>>2] = $208;
- $210 = $imid;
- $211 = $sctx$addr;
- $imid268 = ((($211)) + 4|0);
- HEAP32[$imid268>>2] = $210;
- $212 = $iside;
- $213 = $sctx$addr;
- $iside269 = ((($213)) + 8|0);
- HEAP32[$iside269>>2] = $212;
- $214 = $delta;
- $215 = $sctx$addr;
- $delta270 = ((($215)) + 12|0);
- HEAP32[$delta270>>2] = $214;
- $216 = $itheta;
- $217 = $sctx$addr;
- $itheta271 = ((($217)) + 16|0);
- HEAP32[$itheta271>>2] = $216;
- $218 = $qalloc;
- $219 = $sctx$addr;
- $qalloc272 = ((($219)) + 20|0);
- HEAP32[$qalloc272>>2] = $218;
- STACKTOP = sp;return;
- } else {
- $203 = $itheta;
- $conv248 = $203&65535;
- $call249 = (_bitexact_cos($conv248)|0);
- $conv250 = $call249 << 16 >> 16;
- $imid = $conv250;
- $204 = $itheta;
- $sub251 = (16384 - ($204))|0;
- $conv252 = $sub251&65535;
- $call253 = (_bitexact_cos($conv252)|0);
- $conv254 = $call253 << 16 >> 16;
- $iside = $conv254;
- $205 = $N$addr;
- $sub255 = (($205) - 1)|0;
- $shl256 = $sub255 << 7;
- $conv257 = $shl256&65535;
- $conv258 = $conv257 << 16 >> 16;
- $206 = $iside;
- $207 = $imid;
- $call259 = (_bitexact_log2tan($206,$207)|0);
- $conv260 = $call259&65535;
- $conv261 = $conv260 << 16 >> 16;
- $mul262 = Math_imul($conv258, $conv261)|0;
- $add263 = (16384 + ($mul262))|0;
- $shr264 = $add263 >> 15;
- $delta = $shr264;
- $208 = $inv;
- $209 = $sctx$addr;
- HEAP32[$209>>2] = $208;
- $210 = $imid;
- $211 = $sctx$addr;
- $imid268 = ((($211)) + 4|0);
- HEAP32[$imid268>>2] = $210;
- $212 = $iside;
- $213 = $sctx$addr;
- $iside269 = ((($213)) + 8|0);
- HEAP32[$iside269>>2] = $212;
- $214 = $delta;
- $215 = $sctx$addr;
- $delta270 = ((($215)) + 12|0);
- HEAP32[$delta270>>2] = $214;
- $216 = $itheta;
- $217 = $sctx$addr;
- $itheta271 = ((($217)) + 16|0);
- HEAP32[$itheta271>>2] = $216;
- $218 = $qalloc;
- $219 = $sctx$addr;
- $qalloc272 = ((($219)) + 20|0);
- HEAP32[$qalloc272>>2] = $218;
- STACKTOP = sp;return;
- }
-}
-function _stereo_merge($X,$Y,$mid,$N,$arch) {
- $X = $X|0;
- $Y = $Y|0;
- $mid = +$mid;
- $N = $N|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0;
- var $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0;
- var $45 = 0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $8 = 0.0, $9 = 0.0, $El = 0.0, $Er = 0.0, $N$addr = 0, $X$addr = 0, $Y$addr = 0, $add = 0.0, $add10 = 0, $add23 = 0.0, $add4 = 0.0, $add6 = 0.0, $arch$addr = 0, $arrayidx = 0, $arrayidx19 = 0, $arrayidx22 = 0;
- var $arrayidx25 = 0, $call = 0.0, $call13 = 0.0, $cmp = 0, $cmp16 = 0, $cmp7 = 0, $conv = 0.0, $conv11 = 0.0, $conv12 = 0.0, $conv14 = 0.0, $div = 0.0, $div15 = 0.0, $inc = 0, $j = 0, $l = 0.0, $lgain = 0.0, $mid$addr = 0.0, $mid2 = 0.0, $mul = 0.0, $mul1 = 0.0;
- var $mul18 = 0.0, $mul2 = 0.0, $mul21 = 0.0, $mul24 = 0.0, $mul3 = 0.0, $mul5 = 0.0, $mul8 = 0, $mul9 = 0, $or$cond = 0, $r = 0.0, $rgain = 0.0, $side = 0, $sub = 0.0, $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $sub20 = 0.0, $t = 0.0, $xp = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $xp = sp + 36|0;
- $side = sp + 32|0;
- $X$addr = $X;
- $Y$addr = $Y;
- $mid$addr = $mid;
- $N$addr = $N;
- $arch$addr = $arch;
- HEAPF32[$xp>>2] = 0.0;
- HEAPF32[$side>>2] = 0.0;
- $0 = $Y$addr;
- $1 = $X$addr;
- $2 = $Y$addr;
- $3 = $N$addr;
- _dual_inner_prod_c_365($0,$1,$2,$3,$xp,$side);
- $4 = $mid$addr;
- $5 = +HEAPF32[$xp>>2];
- $mul = $4 * $5;
- HEAPF32[$xp>>2] = $mul;
- $6 = $mid$addr;
- $mid2 = $6;
- $7 = $mid2;
- $8 = $mid2;
- $mul1 = $7 * $8;
- $9 = +HEAPF32[$side>>2];
- $add = $mul1 + $9;
- $10 = +HEAPF32[$xp>>2];
- $mul2 = 2.0 * $10;
- $sub = $add - $mul2;
- $El = $sub;
- $11 = $mid2;
- $12 = $mid2;
- $mul3 = $11 * $12;
- $13 = +HEAPF32[$side>>2];
- $add4 = $mul3 + $13;
- $14 = +HEAPF32[$xp>>2];
- $mul5 = 2.0 * $14;
- $add6 = $add4 + $mul5;
- $Er = $add6;
- $15 = $Er;
- $cmp = $15 < 6.0000002849847078E-4;
- $16 = $El;
- $cmp7 = $16 < 6.0000002849847078E-4;
- $or$cond = $cmp | $cmp7;
- if ($or$cond) {
- $17 = $Y$addr;
- $18 = $X$addr;
- $19 = $N$addr;
- $mul8 = $19<<2;
- $20 = $Y$addr;
- $21 = $X$addr;
- $sub$ptr$lhs$cast = $20;
- $sub$ptr$rhs$cast = $21;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul9 = 0;
- $add10 = (($mul8) + ($mul9))|0;
- _memcpy(($17|0),($18|0),($add10|0))|0;
- STACKTOP = sp;return;
- }
- $22 = $El;
- $t = $22;
- $23 = $t;
- $conv = $23;
- $call = (+Math_sqrt((+$conv)));
- $conv11 = $call;
- $div = 1.0 / $conv11;
- $lgain = $div;
- $24 = $Er;
- $t = $24;
- $25 = $t;
- $conv12 = $25;
- $call13 = (+Math_sqrt((+$conv12)));
- $conv14 = $call13;
- $div15 = 1.0 / $conv14;
- $rgain = $div15;
- $j = 0;
- while(1) {
- $26 = $j;
- $27 = $N$addr;
- $cmp16 = ($26|0)<($27|0);
- if (!($cmp16)) {
- break;
- }
- $28 = $mid$addr;
- $29 = $X$addr;
- $30 = $j;
- $arrayidx = (($29) + ($30<<2)|0);
- $31 = +HEAPF32[$arrayidx>>2];
- $mul18 = $28 * $31;
- $l = $mul18;
- $32 = $Y$addr;
- $33 = $j;
- $arrayidx19 = (($32) + ($33<<2)|0);
- $34 = +HEAPF32[$arrayidx19>>2];
- $r = $34;
- $35 = $lgain;
- $36 = $l;
- $37 = $r;
- $sub20 = $36 - $37;
- $mul21 = $35 * $sub20;
- $38 = $X$addr;
- $39 = $j;
- $arrayidx22 = (($38) + ($39<<2)|0);
- HEAPF32[$arrayidx22>>2] = $mul21;
- $40 = $rgain;
- $41 = $l;
- $42 = $r;
- $add23 = $41 + $42;
- $mul24 = $40 * $add23;
- $43 = $Y$addr;
- $44 = $j;
- $arrayidx25 = (($43) + ($44<<2)|0);
- HEAPF32[$arrayidx25>>2] = $mul24;
- $45 = $j;
- $inc = (($45) + 1)|0;
- $j = $inc;
- }
- STACKTOP = sp;return;
-}
-function _dual_inner_prod_c_365($x,$y01,$y02,$N,$xy1,$xy2) {
- $x = $x|0;
- $y01 = $y01|0;
- $y02 = $y02|0;
- $N = $N|0;
- $xy1 = $xy1|0;
- $xy2 = $xy2|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0.0, $3 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0.0;
- var $N$addr = 0, $add = 0.0, $add5 = 0.0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx3 = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $mul4 = 0.0, $x$addr = 0, $xy01 = 0.0, $xy02 = 0.0, $xy1$addr = 0, $xy2$addr = 0, $y01$addr = 0, $y02$addr = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $x$addr = $x;
- $y01$addr = $y01;
- $y02$addr = $y02;
- $N$addr = $N;
- $xy1$addr = $xy1;
- $xy2$addr = $xy2;
- $xy01 = 0.0;
- $xy02 = 0.0;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $xy01;
- if (!($cmp)) {
- break;
- }
- $3 = $x$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- $5 = +HEAPF32[$arrayidx>>2];
- $6 = $y01$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $mul = $5 * $8;
- $add = $2 + $mul;
- $xy01 = $add;
- $9 = $xy02;
- $10 = $x$addr;
- $11 = $i;
- $arrayidx2 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx2>>2];
- $13 = $y02$addr;
- $14 = $i;
- $arrayidx3 = (($13) + ($14<<2)|0);
- $15 = +HEAPF32[$arrayidx3>>2];
- $mul4 = $12 * $15;
- $add5 = $9 + $mul4;
- $xy02 = $add5;
- $16 = $i;
- $inc = (($16) + 1)|0;
- $i = $inc;
- }
- $17 = $xy1$addr;
- HEAPF32[$17>>2] = $2;
- $18 = $xy02;
- $19 = $xy2$addr;
- HEAPF32[$19>>2] = $18;
- STACKTOP = sp;return;
-}
-function _compute_qn($N,$b,$offset,$pulse_cap,$stereo) {
- $N = $N|0;
- $b = $b|0;
- $offset = $offset|0;
- $pulse_cap = $pulse_cap|0;
- $stereo = $stereo|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
- var $8 = 0, $9 = 0, $N$addr = 0, $N2 = 0, $add = 0, $add16 = 0, $and = 0, $arrayidx = 0, $b$addr = 0, $call = 0, $cmp = 0, $cmp12 = 0, $cmp4 = 0, $cmp7 = 0, $cond = 0, $cond11 = 0, $conv = 0, $dec = 0, $mul = 0, $mul1 = 0;
- var $offset$addr = 0, $or$cond = 0, $pulse_cap$addr = 0, $qb = 0, $qn = 0, $shl = 0, $shr = 0, $shr15 = 0, $shr17 = 0, $stereo$addr = 0, $sub = 0, $sub14 = 0, $sub2 = 0, $sub3 = 0, $sub5 = 0, $sub6 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $N$addr = $N;
- $b$addr = $b;
- $offset$addr = $offset;
- $pulse_cap$addr = $pulse_cap;
- $stereo$addr = $stereo;
- $0 = $N$addr;
- $mul = $0<<1;
- $sub = (($mul) - 1)|0;
- $N2 = $sub;
- $1 = $stereo$addr;
- $tobool = ($1|0)!=(0);
- $2 = $N$addr;
- $cmp = ($2|0)==(2);
- $or$cond = $tobool & $cmp;
- if ($or$cond) {
- $3 = $N2;
- $dec = (($3) + -1)|0;
- $N2 = $dec;
- }
- $4 = $b$addr;
- $5 = $N2;
- $6 = $offset$addr;
- $mul1 = Math_imul($5, $6)|0;
- $add = (($4) + ($mul1))|0;
- $7 = $N2;
- $call = (_celt_sudiv($add,$7)|0);
- $qb = $call;
- $8 = $b$addr;
- $9 = $pulse_cap$addr;
- $sub2 = (($8) - ($9))|0;
- $sub3 = (($sub2) - 32)|0;
- $10 = $qb;
- $cmp4 = ($sub3|0)<($10|0);
- if ($cmp4) {
- $11 = $b$addr;
- $12 = $pulse_cap$addr;
- $sub5 = (($11) - ($12))|0;
- $sub6 = (($sub5) - 32)|0;
- $cond = $sub6;
- } else {
- $13 = $qb;
- $cond = $13;
- }
- $qb = $cond;
- $14 = $qb;
- $cmp7 = (64)<($14|0);
- $15 = $qb;
- $cond11 = $cmp7 ? 64 : $15;
- $qb = $cond11;
- $16 = $qb;
- $cmp12 = ($16|0)<(4);
- if ($cmp12) {
- $qn = 1;
- $21 = $qn;
- STACKTOP = sp;return ($21|0);
- } else {
- $17 = $qb;
- $and = $17 & 7;
- $arrayidx = (25378 + ($and<<1)|0);
- $18 = HEAP16[$arrayidx>>1]|0;
- $conv = $18 << 16 >> 16;
- $19 = $qb;
- $shr = $19 >> 3;
- $sub14 = (14 - ($shr))|0;
- $shr15 = $conv >> $sub14;
- $qn = $shr15;
- $20 = $qn;
- $add16 = (($20) + 1)|0;
- $shr17 = $add16 >> 1;
- $shl = $shr17 << 1;
- $qn = $shl;
- $21 = $qn;
- STACKTOP = sp;return ($21|0);
- }
- return (0)|0;
-}
-function _intensity_stereo($m,$X,$Y,$bandE,$bandID,$N) {
- $m = $m|0;
- $X = $X|0;
- $Y = $Y|0;
- $bandE = $bandE|0;
- $bandID = $bandID|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0, $3 = 0.0, $30 = 0, $31 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0.0, $N$addr = 0, $X$addr = 0, $Y$addr = 0, $a1 = 0.0, $a2 = 0.0, $add = 0, $add13 = 0.0, $add2 = 0.0;
- var $add4 = 0.0, $add6 = 0.0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx14 = 0, $arrayidx9 = 0, $bandE$addr = 0, $bandID$addr = 0, $call = 0.0, $cmp = 0, $conv = 0.0, $conv5 = 0.0, $div = 0.0, $div7 = 0.0, $i = 0, $inc = 0, $j = 0, $l = 0.0, $left = 0.0;
- var $m$addr = 0, $mul = 0.0, $mul11 = 0.0, $mul12 = 0.0, $mul3 = 0.0, $nbEBands = 0, $norm = 0.0, $r = 0.0, $right = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $m$addr = $m;
- $X$addr = $X;
- $Y$addr = $Y;
- $bandE$addr = $bandE;
- $bandID$addr = $bandID;
- $N$addr = $N;
- $0 = $bandID$addr;
- $i = $0;
- $1 = $bandE$addr;
- $2 = $i;
- $arrayidx = (($1) + ($2<<2)|0);
- $3 = +HEAPF32[$arrayidx>>2];
- $left = $3;
- $4 = $bandE$addr;
- $5 = $i;
- $6 = $m$addr;
- $nbEBands = ((($6)) + 8|0);
- $7 = HEAP32[$nbEBands>>2]|0;
- $add = (($5) + ($7))|0;
- $arrayidx1 = (($4) + ($add<<2)|0);
- $8 = +HEAPF32[$arrayidx1>>2];
- $right = $8;
- $9 = $left;
- $10 = $left;
- $mul = $9 * $10;
- $add2 = 1.0000000036274937E-15 + $mul;
- $11 = $right;
- $12 = $right;
- $mul3 = $11 * $12;
- $add4 = $add2 + $mul3;
- $conv = $add4;
- $call = (+Math_sqrt((+$conv)));
- $conv5 = $call;
- $add6 = 1.0000000036274937E-15 + $conv5;
- $norm = $add6;
- $13 = $left;
- $14 = $norm;
- $div = $13 / $14;
- $a1 = $div;
- $15 = $right;
- $16 = $norm;
- $div7 = $15 / $16;
- $a2 = $div7;
- $j = 0;
- while(1) {
- $17 = $j;
- $18 = $N$addr;
- $cmp = ($17|0)<($18|0);
- if (!($cmp)) {
- break;
- }
- $19 = $X$addr;
- $20 = $j;
- $arrayidx9 = (($19) + ($20<<2)|0);
- $21 = +HEAPF32[$arrayidx9>>2];
- $l = $21;
- $22 = $Y$addr;
- $23 = $j;
- $arrayidx10 = (($22) + ($23<<2)|0);
- $24 = +HEAPF32[$arrayidx10>>2];
- $r = $24;
- $25 = $a1;
- $26 = $l;
- $mul11 = $25 * $26;
- $27 = $a2;
- $28 = $r;
- $mul12 = $27 * $28;
- $add13 = $mul11 + $mul12;
- $29 = $X$addr;
- $30 = $j;
- $arrayidx14 = (($29) + ($30<<2)|0);
- HEAPF32[$arrayidx14>>2] = $add13;
- $31 = $j;
- $inc = (($31) + 1)|0;
- $j = $inc;
- }
- STACKTOP = sp;return;
-}
-function _stereo_split($X,$Y,$N) {
- $X = $X|0;
- $Y = $Y|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $2 = 0, $3 = 0, $4 = 0.0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0.0, $9 = 0.0, $N$addr = 0, $X$addr = 0, $Y$addr = 0;
- var $add = 0.0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx3 = 0, $arrayidx4 = 0, $cmp = 0, $inc = 0, $j = 0, $l = 0.0, $mul = 0.0, $mul2 = 0.0, $r = 0.0, $sub = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $X$addr = $X;
- $Y$addr = $Y;
- $N$addr = $N;
- $j = 0;
- while(1) {
- $0 = $j;
- $1 = $N$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $X$addr;
- $3 = $j;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = +HEAPF32[$arrayidx>>2];
- $mul = 0.70710676908493042 * $4;
- $l = $mul;
- $5 = $Y$addr;
- $6 = $j;
- $arrayidx1 = (($5) + ($6<<2)|0);
- $7 = +HEAPF32[$arrayidx1>>2];
- $mul2 = 0.70710676908493042 * $7;
- $r = $mul2;
- $8 = $l;
- $9 = $r;
- $add = $8 + $9;
- $10 = $X$addr;
- $11 = $j;
- $arrayidx3 = (($10) + ($11<<2)|0);
- HEAPF32[$arrayidx3>>2] = $add;
- $12 = $r;
- $13 = $l;
- $sub = $12 - $13;
- $14 = $Y$addr;
- $15 = $j;
- $arrayidx4 = (($14) + ($15<<2)|0);
- HEAPF32[$arrayidx4>>2] = $sub;
- $16 = $j;
- $inc = (($16) + 1)|0;
- $j = $inc;
- }
- STACKTOP = sp;return;
-}
-function _bitexact_cos($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $add = 0, $add10 = 0, $add14 = 0, $add16 = 0, $add20 = 0, $add22 = 0, $add25 = 0, $add8 = 0, $conv = 0, $conv1 = 0, $conv11 = 0, $conv12 = 0;
- var $conv17 = 0, $conv18 = 0, $conv2 = 0, $conv23 = 0, $conv24 = 0, $conv26 = 0, $conv3 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $mul = 0, $mul13 = 0, $mul19 = 0, $mul7 = 0, $shr = 0, $shr15 = 0, $shr21 = 0, $shr9 = 0, $sub = 0, $tmp = 0;
- var $x$addr = 0, $x2 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $x$addr = $x;
- $0 = $x$addr;
- $conv = $0 << 16 >> 16;
- $1 = $x$addr;
- $conv1 = $1 << 16 >> 16;
- $mul = Math_imul($conv, $conv1)|0;
- $add = (4096 + ($mul))|0;
- $shr = $add >> 13;
- $tmp = $shr;
- $2 = $tmp;
- $conv2 = $2&65535;
- $x2 = $conv2;
- $3 = $x2;
- $conv3 = $3 << 16 >> 16;
- $sub = (32767 - ($conv3))|0;
- $4 = $x2;
- $conv4 = $4 << 16 >> 16;
- $5 = $x2;
- $conv5 = $5 << 16 >> 16;
- $6 = $x2;
- $conv6 = $6 << 16 >> 16;
- $mul7 = Math_imul(-626, $conv6)|0;
- $add8 = (16384 + ($mul7))|0;
- $shr9 = $add8 >> 15;
- $add10 = (8277 + ($shr9))|0;
- $conv11 = $add10&65535;
- $conv12 = $conv11 << 16 >> 16;
- $mul13 = Math_imul($conv5, $conv12)|0;
- $add14 = (16384 + ($mul13))|0;
- $shr15 = $add14 >> 15;
- $add16 = (-7651 + ($shr15))|0;
- $conv17 = $add16&65535;
- $conv18 = $conv17 << 16 >> 16;
- $mul19 = Math_imul($conv4, $conv18)|0;
- $add20 = (16384 + ($mul19))|0;
- $shr21 = $add20 >> 15;
- $add22 = (($sub) + ($shr21))|0;
- $conv23 = $add22&65535;
- $x2 = $conv23;
- $7 = $x2;
- $conv24 = $7 << 16 >> 16;
- $add25 = (1 + ($conv24))|0;
- $conv26 = $add25&65535;
- STACKTOP = sp;return ($conv26|0);
-}
-function _bitexact_log2tan($isin,$icos) {
- $isin = $isin|0;
- $icos = $icos|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add10 = 0, $add14 = 0, $add16 = 0, $add22 = 0, $add24 = 0;
- var $add28 = 0, $conv = 0, $conv11 = 0, $conv12 = 0, $conv17 = 0, $conv18 = 0, $conv19 = 0, $conv20 = 0, $conv25 = 0, $conv26 = 0, $conv6 = 0, $conv7 = 0, $conv8 = 0, $icos$addr = 0, $isin$addr = 0, $lc = 0, $ls = 0, $mul = 0, $mul13 = 0, $mul21 = 0;
- var $mul27 = 0, $mul9 = 0, $shl = 0, $shl4 = 0, $shr = 0, $shr15 = 0, $shr23 = 0, $shr29 = 0, $sub = 0, $sub1 = 0, $sub2 = 0, $sub3 = 0, $sub30 = 0, $sub5 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $isin$addr = $isin;
- $icos$addr = $icos;
- $0 = $icos$addr;
- $1 = (Math_clz32(($0|0))|0);
- $sub = (32 - ($1))|0;
- $lc = $sub;
- $2 = $isin$addr;
- $3 = (Math_clz32(($2|0))|0);
- $sub1 = (32 - ($3))|0;
- $ls = $sub1;
- $4 = $lc;
- $sub2 = (15 - ($4))|0;
- $5 = $icos$addr;
- $shl = $5 << $sub2;
- $icos$addr = $shl;
- $6 = $ls;
- $sub3 = (15 - ($6))|0;
- $7 = $isin$addr;
- $shl4 = $7 << $sub3;
- $isin$addr = $shl4;
- $8 = $ls;
- $9 = $lc;
- $sub5 = (($8) - ($9))|0;
- $mul = $sub5<<11;
- $10 = $isin$addr;
- $conv = $10&65535;
- $conv6 = $conv << 16 >> 16;
- $11 = $isin$addr;
- $conv7 = $11&65535;
- $conv8 = $conv7 << 16 >> 16;
- $mul9 = Math_imul($conv8, -2597)|0;
- $add = (16384 + ($mul9))|0;
- $shr = $add >> 15;
- $add10 = (($shr) + 7932)|0;
- $conv11 = $add10&65535;
- $conv12 = $conv11 << 16 >> 16;
- $mul13 = Math_imul($conv6, $conv12)|0;
- $add14 = (16384 + ($mul13))|0;
- $shr15 = $add14 >> 15;
- $add16 = (($mul) + ($shr15))|0;
- $12 = $icos$addr;
- $conv17 = $12&65535;
- $conv18 = $conv17 << 16 >> 16;
- $13 = $icos$addr;
- $conv19 = $13&65535;
- $conv20 = $conv19 << 16 >> 16;
- $mul21 = Math_imul($conv20, -2597)|0;
- $add22 = (16384 + ($mul21))|0;
- $shr23 = $add22 >> 15;
- $add24 = (($shr23) + 7932)|0;
- $conv25 = $add24&65535;
- $conv26 = $conv25 << 16 >> 16;
- $mul27 = Math_imul($conv18, $conv26)|0;
- $add28 = (16384 + ($mul27))|0;
- $shr29 = $add28 >> 15;
- $sub30 = (($add16) - ($shr29))|0;
- STACKTOP = sp;return ($sub30|0);
-}
-function _deinterleave_hadamard($X,$N0,$stride,$hadamard) {
- $X = $X|0;
- $N0 = $N0|0;
- $stride = $stride|0;
- $hadamard = $hadamard|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
- var $N = 0, $N0$addr = 0, $X$addr = 0, $add = 0, $add$ptr = 0, $add$ptr1 = 0, $add20 = 0, $add23 = 0, $add33 = 0, $add8 = 0, $arrayidx = 0, $arrayidx21 = 0, $arrayidx24 = 0, $arrayidx6 = 0, $arrayidx9 = 0, $cmp = 0, $cmp14 = 0, $cmp17 = 0, $cmp3 = 0, $hadamard$addr = 0;
- var $i = 0, $inc = 0, $inc11 = 0, $inc26 = 0, $inc29 = 0, $j = 0, $mul = 0, $mul19 = 0, $mul22 = 0, $mul31 = 0, $mul32 = 0, $mul5 = 0, $mul7 = 0, $ordery = 0, $saved_stack = 0, $stride$addr = 0, $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0;
- var $tobool = 0, $vla = 0, $vla$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $X$addr = $X;
- $N0$addr = $N0;
- $stride$addr = $stride;
- $hadamard$addr = $hadamard;
- $0 = $N0$addr;
- $1 = $stride$addr;
- $mul = Math_imul($0, $1)|0;
- $N = $mul;
- $2 = $N;
- $3 = (_llvm_stacksave()|0);
- $saved_stack = $3;
- $vla$alloca_mul = $2<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $4 = $hadamard$addr;
- $tobool = ($4|0)!=(0);
- if ($tobool) {
- $5 = $stride$addr;
- $add$ptr = (16912 + ($5<<2)|0);
- $add$ptr1 = ((($add$ptr)) + -8|0);
- $ordery = $add$ptr1;
- $i = 0;
- while(1) {
- $6 = $i;
- $7 = $stride$addr;
- $cmp = ($6|0)<($7|0);
- if (!($cmp)) {
- break;
- }
- $j = 0;
- while(1) {
- $8 = $j;
- $9 = $N0$addr;
- $cmp3 = ($8|0)<($9|0);
- if (!($cmp3)) {
- break;
- }
- $10 = $X$addr;
- $11 = $j;
- $12 = $stride$addr;
- $mul5 = Math_imul($11, $12)|0;
- $13 = $i;
- $add = (($mul5) + ($13))|0;
- $arrayidx = (($10) + ($add<<2)|0);
- $14 = +HEAPF32[$arrayidx>>2];
- $15 = $ordery;
- $16 = $i;
- $arrayidx6 = (($15) + ($16<<2)|0);
- $17 = HEAP32[$arrayidx6>>2]|0;
- $18 = $N0$addr;
- $mul7 = Math_imul($17, $18)|0;
- $19 = $j;
- $add8 = (($mul7) + ($19))|0;
- $arrayidx9 = (($vla) + ($add8<<2)|0);
- HEAPF32[$arrayidx9>>2] = $14;
- $20 = $j;
- $inc = (($20) + 1)|0;
- $j = $inc;
- }
- $21 = $i;
- $inc11 = (($21) + 1)|0;
- $i = $inc11;
- }
- $36 = $X$addr;
- $37 = $N;
- $mul31 = $37<<2;
- $38 = $X$addr;
- $sub$ptr$lhs$cast = $38;
- $sub$ptr$rhs$cast = $vla;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul32 = 0;
- $add33 = (($mul31) + ($mul32))|0;
- _memcpy(($36|0),($vla|0),($add33|0))|0;
- $39 = $saved_stack;
- _llvm_stackrestore(($39|0));
- STACKTOP = sp;return;
- } else {
- $i = 0;
- while(1) {
- $22 = $i;
- $23 = $stride$addr;
- $cmp14 = ($22|0)<($23|0);
- if (!($cmp14)) {
- break;
- }
- $j = 0;
- while(1) {
- $24 = $j;
- $25 = $N0$addr;
- $cmp17 = ($24|0)<($25|0);
- if (!($cmp17)) {
- break;
- }
- $26 = $X$addr;
- $27 = $j;
- $28 = $stride$addr;
- $mul19 = Math_imul($27, $28)|0;
- $29 = $i;
- $add20 = (($mul19) + ($29))|0;
- $arrayidx21 = (($26) + ($add20<<2)|0);
- $30 = +HEAPF32[$arrayidx21>>2];
- $31 = $i;
- $32 = $N0$addr;
- $mul22 = Math_imul($31, $32)|0;
- $33 = $j;
- $add23 = (($mul22) + ($33))|0;
- $arrayidx24 = (($vla) + ($add23<<2)|0);
- HEAPF32[$arrayidx24>>2] = $30;
- $34 = $j;
- $inc26 = (($34) + 1)|0;
- $j = $inc26;
- }
- $35 = $i;
- $inc29 = (($35) + 1)|0;
- $i = $inc29;
- }
- $36 = $X$addr;
- $37 = $N;
- $mul31 = $37<<2;
- $38 = $X$addr;
- $sub$ptr$lhs$cast = $38;
- $sub$ptr$rhs$cast = $vla;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul32 = 0;
- $add33 = (($mul31) + ($mul32))|0;
- _memcpy(($36|0),($vla|0),($add33|0))|0;
- $39 = $saved_stack;
- _llvm_stackrestore(($39|0));
- STACKTOP = sp;return;
- }
-}
-function _quant_partition($ctx,$X,$N,$b,$B,$lowband,$LM,$gain,$fill) {
- $ctx = $ctx|0;
- $X = $X|0;
- $N = $N|0;
- $b = $b|0;
- $B = $B|0;
- $lowband = $lowband|0;
- $LM = $LM|0;
- $gain = +$gain;
- $fill = $fill|0;
- var $$sink = 0, $$sink3 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0;
- var $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0.0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0;
- var $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0.0, $142 = 0.0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0;
- var $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0;
- var $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0;
- var $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0;
- var $204 = 0, $205 = 0, $206 = 0.0, $207 = 0, $208 = 0, $209 = 0.0, $21 = 0, $210 = 0.0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0.0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $23 = 0;
- var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
- var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
- var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
- var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
- var $97 = 0, $98 = 0, $99 = 0, $B$addr = 0, $B0 = 0, $K = 0, $LM$addr = 0, $N$addr = 0, $X$addr = 0, $Y = 0, $add = 0, $add$ptr = 0, $add$ptr20 = 0, $add$ptr88 = 0, $add105 = 0, $add129 = 0, $add14 = 0, $add146 = 0, $add198 = 0.0, $add24 = 0;
- var $add50 = 0, $add56 = 0, $add9 = 0, $and = 0, $and165 = 0, $and190 = 0, $and38 = 0, $arch = 0, $arrayidx = 0, $arrayidx12 = 0, $arrayidx180 = 0, $arrayidx197 = 0, $arrayidx199 = 0, $b$addr = 0, $bits = 0, $cache = 0, $cache7 = 0, $cache8 = 0, $call = 0, $call109 = 0;
- var $call116 = 0, $call132 = 0, $call136 = 0, $call137 = 0, $call147 = 0, $call153 = 0, $call156 = 0, $call158 = 0, $call175 = 0, $call187 = 0, $cm = 0, $cm_mask = 0, $cmp = 0, $cmp101 = 0, $cmp122 = 0, $cmp125 = 0, $cmp141 = 0, $cmp143 = 0, $cmp15 = 0, $cmp150 = 0;
- var $cmp170 = 0, $cmp173 = 0, $cmp18 = 0, $cmp183 = 0, $cmp21 = 0, $cmp35 = 0, $cmp41 = 0, $cmp51 = 0, $cmp60 = 0, $cmp68 = 0, $cmp74 = 0, $cmp91 = 0, $cmp98 = 0, $cond = 0, $cond196 = 0.0, $cond67 = 0, $cond83 = 0, $conv = 0, $conv13 = 0, $conv179 = 0.0;
- var $conv31 = 0.0, $conv33 = 0.0, $ctx$addr = 0, $curr_bits = 0, $dec = 0, $delta = 0, $delta28 = 0, $div = 0, $div65 = 0, $div73 = 0, $div79 = 0, $ec = 0, $ec6 = 0, $encode1 = 0, $fill$addr = 0, $gain$addr = 0.0, $i = 0, $i4 = 0, $idxprom = 0, $imid = 0;
- var $imid26 = 0, $inc = 0, $inc201 = 0, $index = 0, $iside = 0, $iside27 = 0, $itheta = 0, $itheta29 = 0, $j = 0, $lnot = 0, $lnot$ext = 0, $lowband$addr = 0, $m = 0, $m3 = 0, $mbits = 0, $mid = 0.0, $mul = 0, $mul107 = 0.0, $mul114 = 0.0, $mul131 = 0.0;
- var $mul168 = 0, $mul32 = 0.0, $mul34 = 0.0, $mul94 = 0.0, $nbEBands = 0, $next_lowband2 = 0, $or = 0, $or$cond = 0, $or$cond1 = 0, $or$cond2 = 0, $or112 = 0, $or133 = 0, $q = 0, $qalloc = 0, $qalloc30 = 0, $rebalance = 0, $remaining_bits = 0, $remaining_bits119 = 0, $remaining_bits140 = 0, $remaining_bits145 = 0;
- var $remaining_bits148 = 0, $remaining_bits90 = 0, $remaining_bits95 = 0, $resynth = 0, $sbits = 0, $sctx = 0, $seed = 0, $seed176 = 0, $seed177 = 0, $seed186 = 0, $seed188 = 0, $seed189 = 0, $shl = 0, $shl111 = 0, $shl118 = 0, $shl163 = 0, $shl47 = 0, $shl53 = 0, $shr = 0, $shr108 = 0;
- var $shr110 = 0, $shr115 = 0, $shr117 = 0, $shr178 = 0, $shr25 = 0, $shr45 = 0, $shr49 = 0, $shr55 = 0, $side = 0.0, $spread = 0, $spread5 = 0, $sub = 0, $sub104 = 0, $sub120 = 0, $sub121 = 0, $sub128 = 0, $sub149 = 0, $sub164 = 0, $sub194 = 0.0, $sub44 = 0;
- var $sub46 = 0, $sub48 = 0, $sub54 = 0, $sub59 = 0, $sub64 = 0, $sub72 = 0, $sub78 = 0, $sub84 = 0, $sub85 = 0, $sub96 = 0, $sub97 = 0, $tmp = 0.0, $tobool = 0, $tobool154 = 0, $tobool161 = 0, $tobool166 = 0, $tobool191 = 0, $tobool39 = 0, $tobool86 = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
- $b$addr = sp + 152|0;
- $fill$addr = sp + 132|0;
- $sctx = sp + 24|0;
- $ctx$addr = $ctx;
- $X$addr = $X;
- $N$addr = $N;
- HEAP32[$b$addr>>2] = $b;
- $B$addr = $B;
- $lowband$addr = $lowband;
- $LM$addr = $LM;
- $gain$addr = $gain;
- HEAP32[$fill$addr>>2] = $fill;
- $imid = 0;
- $iside = 0;
- $0 = $B$addr;
- $B0 = $0;
- $mid = 0.0;
- $side = 0.0;
- $cm = 0;
- $1 = $ctx$addr;
- $2 = HEAP32[$1>>2]|0;
- $tobool = ($2|0)!=(0);
- $lnot = $tobool ^ 1;
- $lnot$ext = $lnot&1;
- $resynth = $lnot$ext;
- $Y = 0;
- $3 = $ctx$addr;
- $4 = HEAP32[$3>>2]|0;
- $encode1 = $4;
- $5 = $ctx$addr;
- $m3 = ((($5)) + 4|0);
- $6 = HEAP32[$m3>>2]|0;
- $m = $6;
- $7 = $ctx$addr;
- $i4 = ((($7)) + 8|0);
- $8 = HEAP32[$i4>>2]|0;
- $i = $8;
- $9 = $ctx$addr;
- $spread5 = ((($9)) + 16|0);
- $10 = HEAP32[$spread5>>2]|0;
- $spread = $10;
- $11 = $ctx$addr;
- $ec6 = ((($11)) + 24|0);
- $12 = HEAP32[$ec6>>2]|0;
- $ec = $12;
- $13 = $m;
- $cache7 = ((($13)) + 92|0);
- $bits = ((($cache7)) + 8|0);
- $14 = HEAP32[$bits>>2]|0;
- $15 = $m;
- $cache8 = ((($15)) + 92|0);
- $index = ((($cache8)) + 4|0);
- $16 = HEAP32[$index>>2]|0;
- $17 = $LM$addr;
- $add = (($17) + 1)|0;
- $18 = $m;
- $nbEBands = ((($18)) + 8|0);
- $19 = HEAP32[$nbEBands>>2]|0;
- $mul = Math_imul($add, $19)|0;
- $20 = $i;
- $add9 = (($mul) + ($20))|0;
- $arrayidx = (($16) + ($add9<<1)|0);
- $21 = HEAP16[$arrayidx>>1]|0;
- $conv = $21 << 16 >> 16;
- $add$ptr = (($14) + ($conv)|0);
- $cache = $add$ptr;
- $22 = $LM$addr;
- $cmp = ($22|0)!=(-1);
- if ($cmp) {
- $23 = HEAP32[$b$addr>>2]|0;
- $24 = $cache;
- $25 = $cache;
- $26 = HEAP8[$25>>0]|0;
- $idxprom = $26&255;
- $arrayidx12 = (($24) + ($idxprom)|0);
- $27 = HEAP8[$arrayidx12>>0]|0;
- $conv13 = $27&255;
- $add14 = (($conv13) + 12)|0;
- $cmp15 = ($23|0)>($add14|0);
- $28 = $N$addr;
- $cmp18 = ($28|0)>(2);
- $or$cond = $cmp15 & $cmp18;
- if ($or$cond) {
- $next_lowband2 = 0;
- $29 = $N$addr;
- $shr = $29 >> 1;
- $N$addr = $shr;
- $30 = $X$addr;
- $31 = $N$addr;
- $add$ptr20 = (($30) + ($31<<2)|0);
- $Y = $add$ptr20;
- $32 = $LM$addr;
- $sub = (($32) - 1)|0;
- $LM$addr = $sub;
- $33 = $B$addr;
- $cmp21 = ($33|0)==(1);
- if ($cmp21) {
- $34 = HEAP32[$fill$addr>>2]|0;
- $and = $34 & 1;
- $35 = HEAP32[$fill$addr>>2]|0;
- $shl = $35 << 1;
- $or = $and | $shl;
- HEAP32[$fill$addr>>2] = $or;
- }
- $36 = $B$addr;
- $add24 = (($36) + 1)|0;
- $shr25 = $add24 >> 1;
- $B$addr = $shr25;
- $37 = $ctx$addr;
- $38 = $X$addr;
- $39 = $Y;
- $40 = $N$addr;
- $41 = $B$addr;
- $42 = $B0;
- $43 = $LM$addr;
- _compute_theta($37,$sctx,$38,$39,$40,$b$addr,$41,$42,$43,0,$fill$addr);
- $imid26 = ((($sctx)) + 4|0);
- $44 = HEAP32[$imid26>>2]|0;
- $imid = $44;
- $iside27 = ((($sctx)) + 8|0);
- $45 = HEAP32[$iside27>>2]|0;
- $iside = $45;
- $delta28 = ((($sctx)) + 12|0);
- $46 = HEAP32[$delta28>>2]|0;
- $delta = $46;
- $itheta29 = ((($sctx)) + 16|0);
- $47 = HEAP32[$itheta29>>2]|0;
- $itheta = $47;
- $qalloc30 = ((($sctx)) + 20|0);
- $48 = HEAP32[$qalloc30>>2]|0;
- $qalloc = $48;
- $49 = $imid;
- $conv31 = (+($49|0));
- $mul32 = 3.0517578125E-5 * $conv31;
- $mid = $mul32;
- $50 = $iside;
- $conv33 = (+($50|0));
- $mul34 = 3.0517578125E-5 * $conv33;
- $side = $mul34;
- $51 = $B0;
- $cmp35 = ($51|0)>(1);
- do {
- if ($cmp35) {
- $52 = $itheta;
- $and38 = $52 & 16383;
- $tobool39 = ($and38|0)!=(0);
- if ($tobool39) {
- $53 = $itheta;
- $cmp41 = ($53|0)>(8192);
- $54 = $delta;
- if ($cmp41) {
- $55 = $LM$addr;
- $sub44 = (4 - ($55))|0;
- $shr45 = $54 >> $sub44;
- $56 = $delta;
- $sub46 = (($56) - ($shr45))|0;
- $delta = $sub46;
- break;
- }
- $57 = $N$addr;
- $shl47 = $57 << 3;
- $58 = $LM$addr;
- $sub48 = (5 - ($58))|0;
- $shr49 = $shl47 >> $sub48;
- $add50 = (($54) + ($shr49))|0;
- $cmp51 = (0)<($add50|0);
- if ($cmp51) {
- $cond = 0;
- } else {
- $59 = $delta;
- $60 = $N$addr;
- $shl53 = $60 << 3;
- $61 = $LM$addr;
- $sub54 = (5 - ($61))|0;
- $shr55 = $shl53 >> $sub54;
- $add56 = (($59) + ($shr55))|0;
- $cond = $add56;
- }
- $delta = $cond;
- }
- }
- } while(0);
- $62 = HEAP32[$b$addr>>2]|0;
- $63 = HEAP32[$b$addr>>2]|0;
- $64 = $delta;
- $sub59 = (($63) - ($64))|0;
- $div = (($sub59|0) / 2)&-1;
- $cmp60 = ($62|0)<($div|0);
- $65 = HEAP32[$b$addr>>2]|0;
- if ($cmp60) {
- $cond67 = $65;
- } else {
- $66 = $delta;
- $sub64 = (($65) - ($66))|0;
- $div65 = (($sub64|0) / 2)&-1;
- $cond67 = $div65;
- }
- $cmp68 = (0)>($cond67|0);
- if ($cmp68) {
- $cond83 = 0;
- } else {
- $67 = HEAP32[$b$addr>>2]|0;
- $68 = HEAP32[$b$addr>>2]|0;
- $69 = $delta;
- $sub72 = (($68) - ($69))|0;
- $div73 = (($sub72|0) / 2)&-1;
- $cmp74 = ($67|0)<($div73|0);
- $70 = HEAP32[$b$addr>>2]|0;
- if ($cmp74) {
- $cond83 = $70;
- } else {
- $71 = $delta;
- $sub78 = (($70) - ($71))|0;
- $div79 = (($sub78|0) / 2)&-1;
- $cond83 = $div79;
- }
- }
- $mbits = $cond83;
- $72 = HEAP32[$b$addr>>2]|0;
- $73 = $mbits;
- $sub84 = (($72) - ($73))|0;
- $sbits = $sub84;
- $74 = $qalloc;
- $75 = $ctx$addr;
- $remaining_bits = ((($75)) + 28|0);
- $76 = HEAP32[$remaining_bits>>2]|0;
- $sub85 = (($76) - ($74))|0;
- HEAP32[$remaining_bits>>2] = $sub85;
- $77 = $lowband$addr;
- $tobool86 = ($77|0)!=(0|0);
- if ($tobool86) {
- $78 = $lowband$addr;
- $79 = $N$addr;
- $add$ptr88 = (($78) + ($79<<2)|0);
- $next_lowband2 = $add$ptr88;
- }
- $80 = $ctx$addr;
- $remaining_bits90 = ((($80)) + 28|0);
- $81 = HEAP32[$remaining_bits90>>2]|0;
- $rebalance = $81;
- $82 = $mbits;
- $83 = $sbits;
- $cmp91 = ($82|0)>=($83|0);
- $84 = $ctx$addr;
- if ($cmp91) {
- $85 = $X$addr;
- $86 = $N$addr;
- $87 = $mbits;
- $88 = $B$addr;
- $89 = $lowband$addr;
- $90 = $LM$addr;
- $91 = $gain$addr;
- $92 = $mid;
- $mul94 = $91 * $92;
- $93 = HEAP32[$fill$addr>>2]|0;
- $call = (_quant_partition($84,$85,$86,$87,$88,$89,$90,$mul94,$93)|0);
- $cm = $call;
- $94 = $mbits;
- $95 = $rebalance;
- $96 = $ctx$addr;
- $remaining_bits95 = ((($96)) + 28|0);
- $97 = HEAP32[$remaining_bits95>>2]|0;
- $sub96 = (($95) - ($97))|0;
- $sub97 = (($94) - ($sub96))|0;
- $rebalance = $sub97;
- $98 = $rebalance;
- $cmp98 = ($98|0)>(24);
- $99 = $itheta;
- $cmp101 = ($99|0)!=(0);
- $or$cond1 = $cmp98 & $cmp101;
- if ($or$cond1) {
- $100 = $rebalance;
- $sub104 = (($100) - 24)|0;
- $101 = $sbits;
- $add105 = (($101) + ($sub104))|0;
- $sbits = $add105;
- }
- $102 = $ctx$addr;
- $103 = $Y;
- $104 = $N$addr;
- $105 = $sbits;
- $106 = $B$addr;
- $107 = $next_lowband2;
- $108 = $LM$addr;
- $109 = $gain$addr;
- $110 = $side;
- $mul107 = $109 * $110;
- $111 = HEAP32[$fill$addr>>2]|0;
- $112 = $B$addr;
- $shr108 = $111 >> $112;
- $call109 = (_quant_partition($102,$103,$104,$105,$106,$107,$108,$mul107,$shr108)|0);
- $113 = $B0;
- $shr110 = $113 >> 1;
- $shl111 = $call109 << $shr110;
- $114 = $cm;
- $or112 = $114 | $shl111;
- $cm = $or112;
- $220 = $cm;
- STACKTOP = sp;return ($220|0);
- } else {
- $115 = $Y;
- $116 = $N$addr;
- $117 = $sbits;
- $118 = $B$addr;
- $119 = $next_lowband2;
- $120 = $LM$addr;
- $121 = $gain$addr;
- $122 = $side;
- $mul114 = $121 * $122;
- $123 = HEAP32[$fill$addr>>2]|0;
- $124 = $B$addr;
- $shr115 = $123 >> $124;
- $call116 = (_quant_partition($84,$115,$116,$117,$118,$119,$120,$mul114,$shr115)|0);
- $125 = $B0;
- $shr117 = $125 >> 1;
- $shl118 = $call116 << $shr117;
- $cm = $shl118;
- $126 = $sbits;
- $127 = $rebalance;
- $128 = $ctx$addr;
- $remaining_bits119 = ((($128)) + 28|0);
- $129 = HEAP32[$remaining_bits119>>2]|0;
- $sub120 = (($127) - ($129))|0;
- $sub121 = (($126) - ($sub120))|0;
- $rebalance = $sub121;
- $130 = $rebalance;
- $cmp122 = ($130|0)>(24);
- $131 = $itheta;
- $cmp125 = ($131|0)!=(16384);
- $or$cond2 = $cmp122 & $cmp125;
- if ($or$cond2) {
- $132 = $rebalance;
- $sub128 = (($132) - 24)|0;
- $133 = $mbits;
- $add129 = (($133) + ($sub128))|0;
- $mbits = $add129;
- }
- $134 = $ctx$addr;
- $135 = $X$addr;
- $136 = $N$addr;
- $137 = $mbits;
- $138 = $B$addr;
- $139 = $lowband$addr;
- $140 = $LM$addr;
- $141 = $gain$addr;
- $142 = $mid;
- $mul131 = $141 * $142;
- $143 = HEAP32[$fill$addr>>2]|0;
- $call132 = (_quant_partition($134,$135,$136,$137,$138,$139,$140,$mul131,$143)|0);
- $144 = $cm;
- $or133 = $144 | $call132;
- $cm = $or133;
- $220 = $cm;
- STACKTOP = sp;return ($220|0);
- }
- }
- }
- $145 = $m;
- $146 = $i;
- $147 = $LM$addr;
- $148 = HEAP32[$b$addr>>2]|0;
- $call136 = (_bits2pulses($145,$146,$147,$148)|0);
- $q = $call136;
- $149 = $m;
- $150 = $i;
- $151 = $LM$addr;
- $152 = $q;
- $call137 = (_pulses2bits($149,$150,$151,$152)|0);
- $curr_bits = $call137;
- $153 = $curr_bits;
- $154 = $ctx$addr;
- $$sink = $154;$$sink3 = $153;
- while(1) {
- $remaining_bits148 = ((($$sink)) + 28|0);
- $155 = HEAP32[$remaining_bits148>>2]|0;
- $sub149 = (($155) - ($$sink3))|0;
- HEAP32[$remaining_bits148>>2] = $sub149;
- $156 = $ctx$addr;
- $remaining_bits140 = ((($156)) + 28|0);
- $157 = HEAP32[$remaining_bits140>>2]|0;
- $cmp141 = ($157|0)<(0);
- $158 = $q;
- $cmp143 = ($158|0)>(0);
- $159 = $cmp141 ? $cmp143 : 0;
- if (!($159)) {
- break;
- }
- $160 = $curr_bits;
- $161 = $ctx$addr;
- $remaining_bits145 = ((($161)) + 28|0);
- $162 = HEAP32[$remaining_bits145>>2]|0;
- $add146 = (($162) + ($160))|0;
- HEAP32[$remaining_bits145>>2] = $add146;
- $163 = $q;
- $dec = (($163) + -1)|0;
- $q = $dec;
- $164 = $m;
- $165 = $i;
- $166 = $LM$addr;
- $167 = $q;
- $call147 = (_pulses2bits($164,$165,$166,$167)|0);
- $curr_bits = $call147;
- $168 = $curr_bits;
- $169 = $ctx$addr;
- $$sink = $169;$$sink3 = $168;
- }
- $170 = $q;
- $cmp150 = ($170|0)!=(0);
- if ($cmp150) {
- $171 = $q;
- $call153 = (_get_pulses($171)|0);
- $K = $call153;
- $172 = $encode1;
- $tobool154 = ($172|0)!=(0);
- $173 = $X$addr;
- $174 = $N$addr;
- $175 = $K;
- $176 = $spread;
- $177 = $B$addr;
- $178 = $ec;
- if ($tobool154) {
- $call156 = (_alg_quant($173,$174,$175,$176,$177,$178)|0);
- $cm = $call156;
- $220 = $cm;
- STACKTOP = sp;return ($220|0);
- } else {
- $179 = $gain$addr;
- $call158 = (_alg_unquant($173,$174,$175,$176,$177,$178,$179)|0);
- $cm = $call158;
- $220 = $cm;
- STACKTOP = sp;return ($220|0);
- }
- }
- $180 = $resynth;
- $tobool161 = ($180|0)!=(0);
- if (!($tobool161)) {
- $220 = $cm;
- STACKTOP = sp;return ($220|0);
- }
- $181 = $B$addr;
- $shl163 = 1 << $181;
- $sub164 = (($shl163) - 1)|0;
- $cm_mask = $sub164;
- $182 = $cm_mask;
- $183 = HEAP32[$fill$addr>>2]|0;
- $and165 = $183 & $182;
- HEAP32[$fill$addr>>2] = $and165;
- $184 = HEAP32[$fill$addr>>2]|0;
- $tobool166 = ($184|0)!=(0);
- if (!($tobool166)) {
- $185 = $X$addr;
- $186 = $N$addr;
- $mul168 = $186<<2;
- _memset(($185|0),0,($mul168|0))|0;
- $220 = $cm;
- STACKTOP = sp;return ($220|0);
- }
- $187 = $lowband$addr;
- $cmp170 = ($187|0)==(0|0);
- $j = 0;
- if ($cmp170) {
- while(1) {
- $188 = $j;
- $189 = $N$addr;
- $cmp173 = ($188|0)<($189|0);
- if (!($cmp173)) {
- break;
- }
- $190 = $ctx$addr;
- $seed = ((($190)) + 36|0);
- $191 = HEAP32[$seed>>2]|0;
- $call175 = (_celt_lcg_rand($191)|0);
- $192 = $ctx$addr;
- $seed176 = ((($192)) + 36|0);
- HEAP32[$seed176>>2] = $call175;
- $193 = $ctx$addr;
- $seed177 = ((($193)) + 36|0);
- $194 = HEAP32[$seed177>>2]|0;
- $shr178 = $194 >> 20;
- $conv179 = (+($shr178|0));
- $195 = $X$addr;
- $196 = $j;
- $arrayidx180 = (($195) + ($196<<2)|0);
- HEAPF32[$arrayidx180>>2] = $conv179;
- $197 = $j;
- $inc = (($197) + 1)|0;
- $j = $inc;
- }
- $198 = $cm_mask;
- $cm = $198;
- } else {
- while(1) {
- $199 = $j;
- $200 = $N$addr;
- $cmp183 = ($199|0)<($200|0);
- if (!($cmp183)) {
- break;
- }
- $201 = $ctx$addr;
- $seed186 = ((($201)) + 36|0);
- $202 = HEAP32[$seed186>>2]|0;
- $call187 = (_celt_lcg_rand($202)|0);
- $203 = $ctx$addr;
- $seed188 = ((($203)) + 36|0);
- HEAP32[$seed188>>2] = $call187;
- $tmp = 0.00390625;
- $204 = $ctx$addr;
- $seed189 = ((($204)) + 36|0);
- $205 = HEAP32[$seed189>>2]|0;
- $and190 = $205 & 32768;
- $tobool191 = ($and190|0)!=(0);
- $206 = $tmp;
- $sub194 = - $206;
- $cond196 = $tobool191 ? $206 : $sub194;
- $tmp = $cond196;
- $207 = $lowband$addr;
- $208 = $j;
- $arrayidx197 = (($207) + ($208<<2)|0);
- $209 = +HEAPF32[$arrayidx197>>2];
- $210 = $tmp;
- $add198 = $209 + $210;
- $211 = $X$addr;
- $212 = $j;
- $arrayidx199 = (($211) + ($212<<2)|0);
- HEAPF32[$arrayidx199>>2] = $add198;
- $213 = $j;
- $inc201 = (($213) + 1)|0;
- $j = $inc201;
- }
- $214 = HEAP32[$fill$addr>>2]|0;
- $cm = $214;
- }
- $215 = $X$addr;
- $216 = $N$addr;
- $217 = $gain$addr;
- $218 = $ctx$addr;
- $arch = ((($218)) + 40|0);
- $219 = HEAP32[$arch>>2]|0;
- _renormalise_vector($215,$216,$217,$219);
- $220 = $cm;
- STACKTOP = sp;return ($220|0);
-}
-function _interleave_hadamard($X,$N0,$stride,$hadamard) {
- $X = $X|0;
- $N0 = $N0|0;
- $stride = $stride|0;
- $hadamard = $hadamard|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
- var $N = 0, $N0$addr = 0, $X$addr = 0, $add = 0, $add$ptr = 0, $add$ptr1 = 0, $add20 = 0, $add23 = 0, $add33 = 0, $add8 = 0, $arrayidx = 0, $arrayidx21 = 0, $arrayidx24 = 0, $arrayidx6 = 0, $arrayidx9 = 0, $cmp = 0, $cmp14 = 0, $cmp17 = 0, $cmp3 = 0, $hadamard$addr = 0;
- var $i = 0, $inc = 0, $inc11 = 0, $inc26 = 0, $inc29 = 0, $j = 0, $mul = 0, $mul19 = 0, $mul22 = 0, $mul31 = 0, $mul32 = 0, $mul5 = 0, $mul7 = 0, $ordery = 0, $saved_stack = 0, $stride$addr = 0, $sub$ptr$div = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0;
- var $tobool = 0, $vla = 0, $vla$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $X$addr = $X;
- $N0$addr = $N0;
- $stride$addr = $stride;
- $hadamard$addr = $hadamard;
- $0 = $N0$addr;
- $1 = $stride$addr;
- $mul = Math_imul($0, $1)|0;
- $N = $mul;
- $2 = $N;
- $3 = (_llvm_stacksave()|0);
- $saved_stack = $3;
- $vla$alloca_mul = $2<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $4 = $hadamard$addr;
- $tobool = ($4|0)!=(0);
- if ($tobool) {
- $5 = $stride$addr;
- $add$ptr = (16912 + ($5<<2)|0);
- $add$ptr1 = ((($add$ptr)) + -8|0);
- $ordery = $add$ptr1;
- $i = 0;
- while(1) {
- $6 = $i;
- $7 = $stride$addr;
- $cmp = ($6|0)<($7|0);
- if (!($cmp)) {
- break;
- }
- $j = 0;
- while(1) {
- $8 = $j;
- $9 = $N0$addr;
- $cmp3 = ($8|0)<($9|0);
- if (!($cmp3)) {
- break;
- }
- $10 = $X$addr;
- $11 = $ordery;
- $12 = $i;
- $arrayidx = (($11) + ($12<<2)|0);
- $13 = HEAP32[$arrayidx>>2]|0;
- $14 = $N0$addr;
- $mul5 = Math_imul($13, $14)|0;
- $15 = $j;
- $add = (($mul5) + ($15))|0;
- $arrayidx6 = (($10) + ($add<<2)|0);
- $16 = +HEAPF32[$arrayidx6>>2];
- $17 = $j;
- $18 = $stride$addr;
- $mul7 = Math_imul($17, $18)|0;
- $19 = $i;
- $add8 = (($mul7) + ($19))|0;
- $arrayidx9 = (($vla) + ($add8<<2)|0);
- HEAPF32[$arrayidx9>>2] = $16;
- $20 = $j;
- $inc = (($20) + 1)|0;
- $j = $inc;
- }
- $21 = $i;
- $inc11 = (($21) + 1)|0;
- $i = $inc11;
- }
- $36 = $X$addr;
- $37 = $N;
- $mul31 = $37<<2;
- $38 = $X$addr;
- $sub$ptr$lhs$cast = $38;
- $sub$ptr$rhs$cast = $vla;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul32 = 0;
- $add33 = (($mul31) + ($mul32))|0;
- _memcpy(($36|0),($vla|0),($add33|0))|0;
- $39 = $saved_stack;
- _llvm_stackrestore(($39|0));
- STACKTOP = sp;return;
- } else {
- $i = 0;
- while(1) {
- $22 = $i;
- $23 = $stride$addr;
- $cmp14 = ($22|0)<($23|0);
- if (!($cmp14)) {
- break;
- }
- $j = 0;
- while(1) {
- $24 = $j;
- $25 = $N0$addr;
- $cmp17 = ($24|0)<($25|0);
- if (!($cmp17)) {
- break;
- }
- $26 = $X$addr;
- $27 = $i;
- $28 = $N0$addr;
- $mul19 = Math_imul($27, $28)|0;
- $29 = $j;
- $add20 = (($mul19) + ($29))|0;
- $arrayidx21 = (($26) + ($add20<<2)|0);
- $30 = +HEAPF32[$arrayidx21>>2];
- $31 = $j;
- $32 = $stride$addr;
- $mul22 = Math_imul($31, $32)|0;
- $33 = $i;
- $add23 = (($mul22) + ($33))|0;
- $arrayidx24 = (($vla) + ($add23<<2)|0);
- HEAPF32[$arrayidx24>>2] = $30;
- $34 = $j;
- $inc26 = (($34) + 1)|0;
- $j = $inc26;
- }
- $35 = $i;
- $inc29 = (($35) + 1)|0;
- $i = $inc29;
- }
- $36 = $X$addr;
- $37 = $N;
- $mul31 = $37<<2;
- $38 = $X$addr;
- $sub$ptr$lhs$cast = $38;
- $sub$ptr$rhs$cast = $vla;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul32 = 0;
- $add33 = (($mul31) + ($mul32))|0;
- _memcpy(($36|0),($vla|0),($add33|0))|0;
- $39 = $saved_stack;
- _llvm_stackrestore(($39|0));
- STACKTOP = sp;return;
- }
-}
-function _bits2pulses($m,$band,$LM,$bits) {
- $m = $m|0;
- $band = $band|0;
- $LM = $LM|0;
- $bits = $bits|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $LM$addr = 0, $add = 0, $add$ptr = 0, $add7 = 0, $add8 = 0, $arrayidx = 0;
- var $arrayidx16 = 0, $arrayidx18 = 0, $arrayidx9 = 0, $band$addr = 0, $bits$addr = 0, $bits2 = 0, $cache = 0, $cache1 = 0, $cache3 = 0, $cmp = 0, $cmp11 = 0, $cmp14 = 0, $cmp21 = 0, $cond = 0, $conv = 0, $conv10 = 0, $conv17 = 0, $conv19 = 0, $conv5 = 0, $dec = 0;
- var $hi = 0, $i = 0, $inc = 0, $inc13 = 0, $index = 0, $lo = 0, $m$addr = 0, $mid = 0, $mul = 0, $nbEBands = 0, $retval = 0, $shr = 0, $sub = 0, $sub20 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $m$addr = $m;
- $band$addr = $band;
- $LM$addr = $LM;
- $bits$addr = $bits;
- $0 = $LM$addr;
- $inc = (($0) + 1)|0;
- $LM$addr = $inc;
- $1 = $m$addr;
- $cache1 = ((($1)) + 92|0);
- $bits2 = ((($cache1)) + 8|0);
- $2 = HEAP32[$bits2>>2]|0;
- $3 = $m$addr;
- $cache3 = ((($3)) + 92|0);
- $index = ((($cache3)) + 4|0);
- $4 = HEAP32[$index>>2]|0;
- $5 = $LM$addr;
- $6 = $m$addr;
- $nbEBands = ((($6)) + 8|0);
- $7 = HEAP32[$nbEBands>>2]|0;
- $mul = Math_imul($5, $7)|0;
- $8 = $band$addr;
- $add = (($mul) + ($8))|0;
- $arrayidx = (($4) + ($add<<1)|0);
- $9 = HEAP16[$arrayidx>>1]|0;
- $conv = $9 << 16 >> 16;
- $add$ptr = (($2) + ($conv)|0);
- $cache = $add$ptr;
- $lo = 0;
- $10 = $cache;
- $11 = HEAP8[$10>>0]|0;
- $conv5 = $11&255;
- $hi = $conv5;
- $12 = $bits$addr;
- $dec = (($12) + -1)|0;
- $bits$addr = $dec;
- $i = 0;
- while(1) {
- $13 = $i;
- $cmp = ($13|0)<(6);
- if (!($cmp)) {
- break;
- }
- $14 = $lo;
- $15 = $hi;
- $add7 = (($14) + ($15))|0;
- $add8 = (($add7) + 1)|0;
- $shr = $add8 >> 1;
- $mid = $shr;
- $16 = $cache;
- $17 = $mid;
- $arrayidx9 = (($16) + ($17)|0);
- $18 = HEAP8[$arrayidx9>>0]|0;
- $conv10 = $18&255;
- $19 = $bits$addr;
- $cmp11 = ($conv10|0)>=($19|0);
- $20 = $mid;
- if ($cmp11) {
- $hi = $20;
- } else {
- $lo = $20;
- }
- $21 = $i;
- $inc13 = (($21) + 1)|0;
- $i = $inc13;
- }
- $22 = $bits$addr;
- $23 = $lo;
- $cmp14 = ($23|0)==(0);
- if ($cmp14) {
- $cond = -1;
- } else {
- $24 = $cache;
- $25 = $lo;
- $arrayidx16 = (($24) + ($25)|0);
- $26 = HEAP8[$arrayidx16>>0]|0;
- $conv17 = $26&255;
- $cond = $conv17;
- }
- $sub = (($22) - ($cond))|0;
- $27 = $cache;
- $28 = $hi;
- $arrayidx18 = (($27) + ($28)|0);
- $29 = HEAP8[$arrayidx18>>0]|0;
- $conv19 = $29&255;
- $30 = $bits$addr;
- $sub20 = (($conv19) - ($30))|0;
- $cmp21 = ($sub|0)<=($sub20|0);
- if ($cmp21) {
- $31 = $lo;
- $retval = $31;
- $33 = $retval;
- STACKTOP = sp;return ($33|0);
- } else {
- $32 = $hi;
- $retval = $32;
- $33 = $retval;
- STACKTOP = sp;return ($33|0);
- }
- return (0)|0;
-}
-function _pulses2bits($m,$band,$LM,$pulses) {
- $m = $m|0;
- $band = $band|0;
- $LM = $LM|0;
- $pulses = $pulses|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $LM$addr = 0, $add = 0, $add$ptr = 0, $add6 = 0, $arrayidx = 0, $arrayidx4 = 0;
- var $band$addr = 0, $bits = 0, $cache = 0, $cache1 = 0, $cache2 = 0, $cmp = 0, $cond = 0, $conv = 0, $conv5 = 0, $inc = 0, $index = 0, $m$addr = 0, $mul = 0, $nbEBands = 0, $pulses$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $m$addr = $m;
- $band$addr = $band;
- $LM$addr = $LM;
- $pulses$addr = $pulses;
- $0 = $LM$addr;
- $inc = (($0) + 1)|0;
- $LM$addr = $inc;
- $1 = $m$addr;
- $cache1 = ((($1)) + 92|0);
- $bits = ((($cache1)) + 8|0);
- $2 = HEAP32[$bits>>2]|0;
- $3 = $m$addr;
- $cache2 = ((($3)) + 92|0);
- $index = ((($cache2)) + 4|0);
- $4 = HEAP32[$index>>2]|0;
- $5 = $LM$addr;
- $6 = $m$addr;
- $nbEBands = ((($6)) + 8|0);
- $7 = HEAP32[$nbEBands>>2]|0;
- $mul = Math_imul($5, $7)|0;
- $8 = $band$addr;
- $add = (($mul) + ($8))|0;
- $arrayidx = (($4) + ($add<<1)|0);
- $9 = HEAP16[$arrayidx>>1]|0;
- $conv = $9 << 16 >> 16;
- $add$ptr = (($2) + ($conv)|0);
- $cache = $add$ptr;
- $10 = $pulses$addr;
- $cmp = ($10|0)==(0);
- if ($cmp) {
- $cond = 0;
- STACKTOP = sp;return ($cond|0);
- }
- $11 = $cache;
- $12 = $pulses$addr;
- $arrayidx4 = (($11) + ($12)|0);
- $13 = HEAP8[$arrayidx4>>0]|0;
- $conv5 = $13&255;
- $add6 = (($conv5) + 1)|0;
- $cond = $add6;
- STACKTOP = sp;return ($cond|0);
-}
-function _get_pulses($i) {
- $i = $i|0;
- var $0 = 0, $1 = 0, $2 = 0, $add = 0, $and = 0, $cmp = 0, $cond = 0, $i$addr = 0, $shl = 0, $shr = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $i$addr = $i;
- $0 = $i$addr;
- $cmp = ($0|0)<(8);
- $1 = $i$addr;
- if ($cmp) {
- $cond = $1;
- STACKTOP = sp;return ($cond|0);
- }
- $and = $1 & 7;
- $add = (8 + ($and))|0;
- $2 = $i$addr;
- $shr = $2 >> 3;
- $sub = (($shr) - 1)|0;
- $shl = $add << $sub;
- $cond = $shl;
- STACKTOP = sp;return ($cond|0);
-}
-function _resampling_factor($rate) {
- $rate = $rate|0;
- var $0 = 0, $1 = 0, $rate$addr = 0, $ret = 0, $switch$split12D = 0, $switch$split2D = 0, $switch$split42D = 0, $switch$split72D = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $rate$addr = $rate;
- $0 = $rate$addr;
- $switch$split2D = ($0|0)<(16000);
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $26 = $17;
+ $27 = (48000 / ($26|0))&-1;
+ $19 = $27;
+ $28 = $13;
+ $29 = $19;
+ $30 = (($28|0) / ($29|0))&-1;
+ $20 = $30;
+ $31 = $15;
+ $32 = ($31|0)==(1);
+ $18 = 0;
L1: do {
- if ($switch$split2D) {
- $switch$split12D = ($0|0)<(12000);
- if ($switch$split12D) {
- switch ($0|0) {
- case 8000: {
- break;
- }
- default: {
- label = 7;
+ if ($32) {
+ while(1) {
+ $33 = $18;
+ $34 = $20;
+ $35 = ($33|0)<($34|0);
+ if (!($35)) {
break L1;
}
- }
- $ret = 6;
- break;
- } else {
- switch ($0|0) {
- case 12000: {
- break;
- }
- default: {
- label = 7;
- break L1;
- }
- }
- $ret = 4;
- break;
+ $36 = $16;
+ $37 = $18;
+ $38 = $19;
+ $39 = Math_imul($37, $38)|0;
+ $40 = (($36) + ($39<<2)|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $16;
+ $43 = $18;
+ $44 = $19;
+ $45 = Math_imul($43, $44)|0;
+ $46 = (($42) + ($45<<2)|0);
+ $47 = +HEAPF32[$46>>2];
+ $48 = $41 * $47;
+ $23 = $48;
+ $49 = $23;
+ $50 = $12;
+ $51 = $49 * $50;
+ $52 = $23;
+ $53 = 1.0 - $52;
+ $54 = $11;
+ $55 = $53 * $54;
+ $56 = $51 + $55;
+ $22 = $56;
+ $57 = $22;
+ $58 = $9;
+ $59 = $18;
+ $60 = (($58) + ($59<<2)|0);
+ $61 = +HEAPF32[$60>>2];
+ $62 = $57 * $61;
+ $63 = $10;
+ $64 = $18;
+ $65 = (($63) + ($64<<2)|0);
+ HEAPF32[$65>>2] = $62;
+ $66 = $18;
+ $67 = (($66) + 1)|0;
+ $18 = $67;
}
} else {
- $switch$split42D = ($0|0)<(24000);
- if ($switch$split42D) {
- switch ($0|0) {
- case 16000: {
- break;
- }
- default: {
- label = 7;
+ while(1) {
+ $68 = $18;
+ $69 = $20;
+ $70 = ($68|0)<($69|0);
+ if (!($70)) {
break L1;
}
- }
- $ret = 3;
- break;
- }
- $switch$split72D = ($0|0)<(48000);
- if ($switch$split72D) {
- switch ($0|0) {
- case 24000: {
- break;
- }
- default: {
- label = 7;
- break L1;
- }
- }
- $ret = 2;
- break;
- } else {
- switch ($0|0) {
- case 48000: {
- break;
- }
- default: {
- label = 7;
- break L1;
- }
- }
- $ret = 1;
- break;
+ $71 = $16;
+ $72 = $18;
+ $73 = $19;
+ $74 = Math_imul($72, $73)|0;
+ $75 = (($71) + ($74<<2)|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $16;
+ $78 = $18;
+ $79 = $19;
+ $80 = Math_imul($78, $79)|0;
+ $81 = (($77) + ($80<<2)|0);
+ $82 = +HEAPF32[$81>>2];
+ $83 = $76 * $82;
+ $25 = $83;
+ $84 = $25;
+ $85 = $12;
+ $86 = $84 * $85;
+ $87 = $25;
+ $88 = 1.0 - $87;
+ $89 = $11;
+ $90 = $88 * $89;
+ $91 = $86 + $90;
+ $24 = $91;
+ $92 = $24;
+ $93 = $9;
+ $94 = $18;
+ $95 = $94<<1;
+ $96 = (($93) + ($95<<2)|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $92 * $97;
+ $99 = $10;
+ $100 = $18;
+ $101 = $100<<1;
+ $102 = (($99) + ($101<<2)|0);
+ HEAPF32[$102>>2] = $98;
+ $103 = $24;
+ $104 = $9;
+ $105 = $18;
+ $106 = $105<<1;
+ $107 = (($106) + 1)|0;
+ $108 = (($104) + ($107<<2)|0);
+ $109 = +HEAPF32[$108>>2];
+ $110 = $103 * $109;
+ $111 = $10;
+ $112 = $18;
+ $113 = $112<<1;
+ $114 = (($113) + 1)|0;
+ $115 = (($111) + ($114<<2)|0);
+ HEAPF32[$115>>2] = $110;
+ $116 = $18;
+ $117 = (($116) + 1)|0;
+ $18 = $117;
}
}
} while(0);
- if ((label|0) == 7) {
- $ret = 0;
- }
- $1 = $ret;
- STACKTOP = sp;return ($1|0);
-}
-function _comb_filter($y,$x,$T0,$T1,$N,$g0,$g1,$tapset0,$tapset1,$window,$overlap,$arch) {
- $y = $y|0;
- $x = $x|0;
- $T0 = $T0|0;
- $T1 = $T1|0;
- $N = $N|0;
- $g0 = +$g0;
- $g1 = +$g1;
- $tapset0 = $tapset0|0;
- $tapset1 = $tapset1|0;
- $window = $window|0;
- $overlap = $overlap|0;
- $arch = $arch|0;
- var $0 = 0.0, $1 = 0.0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0.0, $125 = 0.0, $126 = 0.0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0.0, $19 = 0, $2 = 0;
- var $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0.0;
- var $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0.0;
- var $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0, $73 = 0, $74 = 0;
- var $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0, $83 = 0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0;
- var $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0.0, $N$addr = 0, $T0$addr = 0, $T1$addr = 0, $add = 0, $add$ptr = 0, $add$ptr105 = 0, $add$ptr106 = 0, $add$ptr92 = 0, $add$ptr95 = 0, $add$ptr96 = 0, $add102 = 0, $add23 = 0, $add42 = 0;
- var $add53 = 0.0, $add57 = 0, $add62 = 0.0, $add64 = 0.0, $add68 = 0, $add73 = 0.0, $add75 = 0.0, $add78 = 0.0, $add80 = 0.0, $add82 = 0.0, $add84 = 0.0, $add86 = 0.0, $arch$addr = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx14 = 0, $arrayidx17 = 0, $arrayidx18 = 0, $arrayidx20 = 0;
- var $arrayidx21 = 0, $arrayidx24 = 0, $arrayidx26 = 0, $arrayidx29 = 0, $arrayidx32 = 0, $arrayidx43 = 0, $arrayidx44 = 0, $arrayidx45 = 0, $arrayidx47 = 0, $arrayidx51 = 0, $arrayidx58 = 0, $arrayidx61 = 0, $arrayidx69 = 0, $arrayidx72 = 0, $arrayidx8 = 0, $arrayidx87 = 0, $arrayidx9 = 0, $cmp = 0, $cmp1 = 0, $cmp2 = 0;
- var $cmp33 = 0, $cmp35 = 0, $cmp37 = 0, $cmp40 = 0, $cmp88 = 0, $cmp90 = 0, $f = 0.0, $g0$addr = 0.0, $g00 = 0.0, $g01 = 0.0, $g02 = 0.0, $g1$addr = 0.0, $g10 = 0.0, $g11 = 0.0, $g12 = 0.0, $i = 0, $inc = 0, $mul = 0, $mul10 = 0.0, $mul101 = 0;
- var $mul13 = 0.0, $mul16 = 0.0, $mul19 = 0.0, $mul22 = 0.0, $mul4 = 0, $mul46 = 0.0, $mul49 = 0.0, $mul52 = 0.0, $mul55 = 0.0, $mul63 = 0.0, $mul66 = 0.0, $mul7 = 0.0, $mul74 = 0.0, $mul76 = 0.0, $mul77 = 0.0, $mul79 = 0.0, $mul81 = 0.0, $mul83 = 0.0, $mul85 = 0.0, $mul94 = 0;
- var $or$cond = 0, $overlap$addr = 0, $sub = 0, $sub$ptr$div = 0, $sub$ptr$div100 = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast97 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast98 = 0, $sub$ptr$sub = 0, $sub$ptr$sub99 = 0, $sub107 = 0, $sub25 = 0, $sub27 = 0, $sub28 = 0, $sub30 = 0, $sub31 = 0, $sub41 = 0, $sub48 = 0.0, $sub50 = 0;
- var $sub54 = 0.0, $sub56 = 0, $sub59 = 0, $sub60 = 0, $sub65 = 0.0, $sub67 = 0, $sub70 = 0, $sub71 = 0, $sub93 = 0, $tapset0$addr = 0, $tapset1$addr = 0, $window$addr = 0, $x$addr = 0, $x0 = 0.0, $x1 = 0.0, $x2 = 0.0, $x3 = 0.0, $x4 = 0.0, $y$addr = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $y$addr = $y;
- $x$addr = $x;
- $T0$addr = $T0;
- $T1$addr = $T1;
- $N$addr = $N;
- $g0$addr = $g0;
- $g1$addr = $g1;
- $tapset0$addr = $tapset0;
- $tapset1$addr = $tapset1;
- $window$addr = $window;
- $overlap$addr = $overlap;
- $arch$addr = $arch;
- $0 = $g0$addr;
- $cmp = $0 == 0.0;
- $1 = $g1$addr;
- $cmp1 = $1 == 0.0;
- $or$cond = $cmp & $cmp1;
- if ($or$cond) {
- $2 = $x$addr;
- $3 = $y$addr;
- $cmp2 = ($2|0)!=($3|0);
- if (!($cmp2)) {
- STACKTOP = sp;return;
- }
- $4 = $y$addr;
- $5 = $x$addr;
- $6 = $N$addr;
- $mul = $6<<2;
- $7 = $y$addr;
- $8 = $x$addr;
- $sub$ptr$lhs$cast = $7;
- $sub$ptr$rhs$cast = $8;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$div = (($sub$ptr$sub|0) / 4)&-1;
- $mul4 = 0;
- $add = (($mul) + ($mul4))|0;
- _memmove(($4|0),($5|0),($add|0))|0;
- STACKTOP = sp;return;
- }
- $9 = $g0$addr;
- $10 = $tapset0$addr;
- $arrayidx = (17032 + (($10*12)|0)|0);
- $11 = +HEAPF32[$arrayidx>>2];
- $mul7 = $9 * $11;
- $g00 = $mul7;
- $12 = $g0$addr;
- $13 = $tapset0$addr;
- $arrayidx8 = (17032 + (($13*12)|0)|0);
- $arrayidx9 = ((($arrayidx8)) + 4|0);
- $14 = +HEAPF32[$arrayidx9>>2];
- $mul10 = $12 * $14;
- $g01 = $mul10;
- $15 = $g0$addr;
- $16 = $tapset0$addr;
- $arrayidx11 = (17032 + (($16*12)|0)|0);
- $arrayidx12 = ((($arrayidx11)) + 8|0);
- $17 = +HEAPF32[$arrayidx12>>2];
- $mul13 = $15 * $17;
- $g02 = $mul13;
- $18 = $g1$addr;
- $19 = $tapset1$addr;
- $arrayidx14 = (17032 + (($19*12)|0)|0);
- $20 = +HEAPF32[$arrayidx14>>2];
- $mul16 = $18 * $20;
- $g10 = $mul16;
- $21 = $g1$addr;
- $22 = $tapset1$addr;
- $arrayidx17 = (17032 + (($22*12)|0)|0);
- $arrayidx18 = ((($arrayidx17)) + 4|0);
- $23 = +HEAPF32[$arrayidx18>>2];
- $mul19 = $21 * $23;
- $g11 = $mul19;
- $24 = $g1$addr;
- $25 = $tapset1$addr;
- $arrayidx20 = (17032 + (($25*12)|0)|0);
- $arrayidx21 = ((($arrayidx20)) + 8|0);
- $26 = +HEAPF32[$arrayidx21>>2];
- $mul22 = $24 * $26;
- $g12 = $mul22;
- $27 = $x$addr;
- $28 = $T1$addr;
- $sub = (0 - ($28))|0;
- $add23 = (($sub) + 1)|0;
- $arrayidx24 = (($27) + ($add23<<2)|0);
- $29 = +HEAPF32[$arrayidx24>>2];
- $x1 = $29;
- $30 = $x$addr;
- $31 = $T1$addr;
- $sub25 = (0 - ($31))|0;
- $arrayidx26 = (($30) + ($sub25<<2)|0);
- $32 = +HEAPF32[$arrayidx26>>2];
- $x2 = $32;
- $33 = $x$addr;
- $34 = $T1$addr;
- $sub27 = (0 - ($34))|0;
- $sub28 = (($sub27) - 1)|0;
- $arrayidx29 = (($33) + ($sub28<<2)|0);
- $35 = +HEAPF32[$arrayidx29>>2];
- $x3 = $35;
- $36 = $x$addr;
- $37 = $T1$addr;
- $sub30 = (0 - ($37))|0;
- $sub31 = (($sub30) - 2)|0;
- $arrayidx32 = (($36) + ($sub31<<2)|0);
- $38 = +HEAPF32[$arrayidx32>>2];
- $x4 = $38;
- $39 = $g0$addr;
- $40 = $g1$addr;
- $cmp33 = $39 == $40;
- if ($cmp33) {
- $41 = $T0$addr;
- $42 = $T1$addr;
- $cmp35 = ($41|0)==($42|0);
- if ($cmp35) {
- $43 = $tapset0$addr;
- $44 = $tapset1$addr;
- $cmp37 = ($43|0)==($44|0);
- if ($cmp37) {
- $overlap$addr = 0;
- }
- }
- }
- $i = 0;
+ $21 = 0;
while(1) {
- $45 = $i;
- $46 = $overlap$addr;
- $cmp40 = ($45|0)<($46|0);
- if (!($cmp40)) {
+ $118 = $20;
+ $18 = $118;
+ while(1) {
+ $119 = $18;
+ $120 = $14;
+ $121 = ($119|0)<($120|0);
+ if (!($121)) {
+ break;
+ }
+ $122 = $12;
+ $123 = $9;
+ $124 = $18;
+ $125 = $15;
+ $126 = Math_imul($124, $125)|0;
+ $127 = $21;
+ $128 = (($126) + ($127))|0;
+ $129 = (($123) + ($128<<2)|0);
+ $130 = +HEAPF32[$129>>2];
+ $131 = $122 * $130;
+ $132 = $10;
+ $133 = $18;
+ $134 = $15;
+ $135 = Math_imul($133, $134)|0;
+ $136 = $21;
+ $137 = (($135) + ($136))|0;
+ $138 = (($132) + ($137<<2)|0);
+ HEAPF32[$138>>2] = $131;
+ $139 = $18;
+ $140 = (($139) + 1)|0;
+ $18 = $140;
+ }
+ $141 = $21;
+ $142 = (($141) + 1)|0;
+ $21 = $142;
+ $143 = $15;
+ $144 = ($142|0)<($143|0);
+ if (!($144)) {
break;
}
- $47 = $x$addr;
- $48 = $i;
- $49 = $T1$addr;
- $sub41 = (($48) - ($49))|0;
- $add42 = (($sub41) + 2)|0;
- $arrayidx43 = (($47) + ($add42<<2)|0);
- $50 = +HEAPF32[$arrayidx43>>2];
- $x0 = $50;
- $51 = $window$addr;
- $52 = $i;
- $arrayidx44 = (($51) + ($52<<2)|0);
- $53 = +HEAPF32[$arrayidx44>>2];
- $54 = $window$addr;
- $55 = $i;
- $arrayidx45 = (($54) + ($55<<2)|0);
- $56 = +HEAPF32[$arrayidx45>>2];
- $mul46 = $53 * $56;
- $f = $mul46;
- $57 = $x$addr;
- $58 = $i;
- $arrayidx47 = (($57) + ($58<<2)|0);
- $59 = +HEAPF32[$arrayidx47>>2];
- $60 = $f;
- $sub48 = 1.0 - $60;
- $61 = $g00;
- $mul49 = $sub48 * $61;
- $62 = $x$addr;
- $63 = $i;
- $64 = $T0$addr;
- $sub50 = (($63) - ($64))|0;
- $arrayidx51 = (($62) + ($sub50<<2)|0);
- $65 = +HEAPF32[$arrayidx51>>2];
- $mul52 = $mul49 * $65;
- $add53 = $59 + $mul52;
- $66 = $f;
- $sub54 = 1.0 - $66;
- $67 = $g01;
- $mul55 = $sub54 * $67;
- $68 = $x$addr;
- $69 = $i;
- $70 = $T0$addr;
- $sub56 = (($69) - ($70))|0;
- $add57 = (($sub56) + 1)|0;
- $arrayidx58 = (($68) + ($add57<<2)|0);
- $71 = +HEAPF32[$arrayidx58>>2];
- $72 = $x$addr;
- $73 = $i;
- $74 = $T0$addr;
- $sub59 = (($73) - ($74))|0;
- $sub60 = (($sub59) - 1)|0;
- $arrayidx61 = (($72) + ($sub60<<2)|0);
- $75 = +HEAPF32[$arrayidx61>>2];
- $add62 = $71 + $75;
- $mul63 = $mul55 * $add62;
- $add64 = $add53 + $mul63;
- $76 = $f;
- $sub65 = 1.0 - $76;
- $77 = $g02;
- $mul66 = $sub65 * $77;
- $78 = $x$addr;
- $79 = $i;
- $80 = $T0$addr;
- $sub67 = (($79) - ($80))|0;
- $add68 = (($sub67) + 2)|0;
- $arrayidx69 = (($78) + ($add68<<2)|0);
- $81 = +HEAPF32[$arrayidx69>>2];
- $82 = $x$addr;
- $83 = $i;
- $84 = $T0$addr;
- $sub70 = (($83) - ($84))|0;
- $sub71 = (($sub70) - 2)|0;
- $arrayidx72 = (($82) + ($sub71<<2)|0);
- $85 = +HEAPF32[$arrayidx72>>2];
- $add73 = $81 + $85;
- $mul74 = $mul66 * $add73;
- $add75 = $add64 + $mul74;
- $86 = $f;
- $87 = $g10;
- $mul76 = $86 * $87;
- $88 = $x2;
- $mul77 = $mul76 * $88;
- $add78 = $add75 + $mul77;
- $89 = $f;
- $90 = $g11;
- $mul79 = $89 * $90;
- $91 = $x1;
- $92 = $x3;
- $add80 = $91 + $92;
- $mul81 = $mul79 * $add80;
- $add82 = $add78 + $mul81;
- $93 = $f;
- $94 = $g12;
- $mul83 = $93 * $94;
- $95 = $x0;
- $96 = $x4;
- $add84 = $95 + $96;
- $mul85 = $mul83 * $add84;
- $add86 = $add82 + $mul85;
- $97 = $y$addr;
- $98 = $i;
- $arrayidx87 = (($97) + ($98<<2)|0);
- HEAPF32[$arrayidx87>>2] = $add86;
- $99 = $x3;
- $x4 = $99;
- $100 = $x2;
- $x3 = $100;
- $101 = $x1;
- $x2 = $101;
- $102 = $x0;
- $x1 = $102;
- $103 = $i;
- $inc = (($103) + 1)|0;
- $i = $inc;
}
- $104 = $g1$addr;
- $cmp88 = $104 == 0.0;
- if (!($cmp88)) {
- $117 = $y$addr;
- $118 = $i;
- $add$ptr105 = (($117) + ($118<<2)|0);
- $119 = $x$addr;
- $120 = $i;
- $add$ptr106 = (($119) + ($120<<2)|0);
- $121 = $T1$addr;
- $122 = $N$addr;
- $123 = $i;
- $sub107 = (($122) - ($123))|0;
- $124 = $g10;
- $125 = $g11;
- $126 = $g12;
- _comb_filter_const_c($add$ptr105,$add$ptr106,$121,$sub107,$124,$125,$126);
- STACKTOP = sp;return;
- }
- $105 = $x$addr;
- $106 = $y$addr;
- $cmp90 = ($105|0)!=($106|0);
- if (!($cmp90)) {
- STACKTOP = sp;return;
- }
- $107 = $y$addr;
- $108 = $overlap$addr;
- $add$ptr = (($107) + ($108<<2)|0);
- $109 = $x$addr;
- $110 = $overlap$addr;
- $add$ptr92 = (($109) + ($110<<2)|0);
- $111 = $N$addr;
- $112 = $overlap$addr;
- $sub93 = (($111) - ($112))|0;
- $mul94 = $sub93<<2;
- $113 = $y$addr;
- $114 = $overlap$addr;
- $add$ptr95 = (($113) + ($114<<2)|0);
- $115 = $x$addr;
- $116 = $overlap$addr;
- $add$ptr96 = (($115) + ($116<<2)|0);
- $sub$ptr$lhs$cast97 = $add$ptr95;
- $sub$ptr$rhs$cast98 = $add$ptr96;
- $sub$ptr$sub99 = (($sub$ptr$lhs$cast97) - ($sub$ptr$rhs$cast98))|0;
- $sub$ptr$div100 = (($sub$ptr$sub99|0) / 4)&-1;
- $mul101 = 0;
- $add102 = (($mul94) + ($mul101))|0;
- _memmove(($add$ptr|0),($add$ptr92|0),($add102|0))|0;
STACKTOP = sp;return;
}
-function _comb_filter_const_c($y,$x,$T,$N,$g10,$g11,$g12) {
- $y = $y|0;
- $x = $x|0;
- $T = $T|0;
- $N = $N|0;
- $g10 = +$g10;
- $g11 = +$g11;
- $g12 = +$g12;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0, $4 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0, $N$addr = 0, $T$addr = 0, $add = 0, $add10 = 0;
- var $add13 = 0.0, $add14 = 0.0, $add16 = 0.0, $add17 = 0.0, $add19 = 0.0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx20 = 0, $arrayidx4 = 0, $arrayidx6 = 0, $arrayidx8 = 0, $cmp = 0, $g10$addr = 0.0, $g11$addr = 0.0, $g12$addr = 0.0, $i = 0, $inc = 0, $mul = 0.0, $mul15 = 0.0;
- var $mul18 = 0.0, $sub = 0, $sub1 = 0, $sub2 = 0, $sub3 = 0, $sub5 = 0, $sub7 = 0, $sub9 = 0, $x$addr = 0, $x0 = 0.0, $x1 = 0.0, $x2 = 0.0, $x3 = 0.0, $x4 = 0.0, $y$addr = 0, label = 0, sp = 0;
+function _FLOAT2INT16_13($0) {
+ $0 = +$0;
+ var $1 = 0.0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0, $14 = 0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0, $6 = 0.0, $7 = 0.0, $8 = 0.0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = $2 * 32768.0;
+ $1 = $3;
+ $4 = $1;
+ $5 = $4 > -32768.0;
+ $6 = $1;
+ $7 = $5 ? $6 : -32768.0;
+ $1 = $7;
+ $8 = $1;
+ $9 = $8 < 32767.0;
+ $10 = $1;
+ $11 = $9 ? $10 : 32767.0;
+ $1 = $11;
+ $12 = $1;
+ $13 = (_lrintf($12)|0);
+ $14 = $13&65535;
+ STACKTOP = sp;return ($14|0);
+}
+function _ec_tell_14($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 20|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (Math_clz32(($7|0))|0);
+ $9 = (32 - ($8))|0;
+ $10 = (($4) - ($9))|0;
+ STACKTOP = sp;return ($10|0);
+}
+function _stereo_fade($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = +$3;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0.0, $122 = 0.0, $123 = 0.0, $124 = 0.0, $125 = 0.0, $126 = 0.0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0.0, $133 = 0.0, $134 = 0.0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0.0, $31 = 0.0, $32 = 0.0;
+ var $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0;
+ var $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0;
+ var $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0;
+ var $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $y$addr = $y;
- $x$addr = $x;
- $T$addr = $T;
- $N$addr = $N;
- $g10$addr = $g10;
- $g11$addr = $g11;
- $g12$addr = $g12;
- $0 = $x$addr;
- $1 = $T$addr;
- $sub = (0 - ($1))|0;
- $sub1 = (($sub) - 2)|0;
- $arrayidx = (($0) + ($sub1<<2)|0);
- $2 = +HEAPF32[$arrayidx>>2];
- $x4 = $2;
- $3 = $x$addr;
- $4 = $T$addr;
- $sub2 = (0 - ($4))|0;
- $sub3 = (($sub2) - 1)|0;
- $arrayidx4 = (($3) + ($sub3<<2)|0);
- $5 = +HEAPF32[$arrayidx4>>2];
- $x3 = $5;
- $6 = $x$addr;
- $7 = $T$addr;
- $sub5 = (0 - ($7))|0;
- $arrayidx6 = (($6) + ($sub5<<2)|0);
- $8 = +HEAPF32[$arrayidx6>>2];
- $x2 = $8;
- $9 = $x$addr;
- $10 = $T$addr;
- $sub7 = (0 - ($10))|0;
- $add = (($sub7) + 1)|0;
- $arrayidx8 = (($9) + ($add<<2)|0);
- $11 = +HEAPF32[$arrayidx8>>2];
- $x1 = $11;
- $i = 0;
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $25 = $17;
+ $26 = (48000 / ($25|0))&-1;
+ $20 = $26;
+ $27 = $13;
+ $28 = $20;
+ $29 = (($27|0) / ($28|0))&-1;
+ $19 = $29;
+ $30 = $11;
+ $31 = 1.0 - $30;
+ $11 = $31;
+ $32 = $12;
+ $33 = 1.0 - $32;
+ $12 = $33;
+ $18 = 0;
while(1) {
- $12 = $i;
- $13 = $N$addr;
- $cmp = ($12|0)<($13|0);
- if (!($cmp)) {
+ $34 = $18;
+ $35 = $19;
+ $36 = ($34|0)<($35|0);
+ if (!($36)) {
break;
}
- $14 = $x$addr;
- $15 = $i;
- $16 = $T$addr;
- $sub9 = (($15) - ($16))|0;
- $add10 = (($sub9) + 2)|0;
- $arrayidx11 = (($14) + ($add10<<2)|0);
- $17 = +HEAPF32[$arrayidx11>>2];
- $x0 = $17;
- $18 = $x$addr;
- $19 = $i;
- $arrayidx12 = (($18) + ($19<<2)|0);
- $20 = +HEAPF32[$arrayidx12>>2];
- $21 = $g10$addr;
- $22 = $x2;
- $mul = $21 * $22;
- $add13 = $20 + $mul;
- $23 = $g11$addr;
- $24 = $x1;
- $25 = $x3;
- $add14 = $24 + $25;
- $mul15 = $23 * $add14;
- $add16 = $add13 + $mul15;
- $26 = $g12$addr;
- $27 = $x0;
- $28 = $x4;
- $add17 = $27 + $28;
- $mul18 = $26 * $add17;
- $add19 = $add16 + $mul18;
- $29 = $y$addr;
- $30 = $i;
- $arrayidx20 = (($29) + ($30<<2)|0);
- HEAPF32[$arrayidx20>>2] = $add19;
- $31 = $x3;
- $x4 = $31;
- $32 = $x2;
- $x3 = $32;
- $33 = $x1;
- $x2 = $33;
- $34 = $x0;
- $x1 = $34;
- $35 = $i;
- $inc = (($35) + 1)|0;
- $i = $inc;
+ $37 = $16;
+ $38 = $18;
+ $39 = $20;
+ $40 = Math_imul($38, $39)|0;
+ $41 = (($37) + ($40<<2)|0);
+ $42 = +HEAPF32[$41>>2];
+ $43 = $16;
+ $44 = $18;
+ $45 = $20;
+ $46 = Math_imul($44, $45)|0;
+ $47 = (($43) + ($46<<2)|0);
+ $48 = +HEAPF32[$47>>2];
+ $49 = $42 * $48;
+ $23 = $49;
+ $50 = $23;
+ $51 = $12;
+ $52 = $50 * $51;
+ $53 = $23;
+ $54 = 1.0 - $53;
+ $55 = $11;
+ $56 = $54 * $55;
+ $57 = $52 + $56;
+ $22 = $57;
+ $58 = $9;
+ $59 = $18;
+ $60 = $15;
+ $61 = Math_imul($59, $60)|0;
+ $62 = (($58) + ($61<<2)|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = $9;
+ $65 = $18;
+ $66 = $15;
+ $67 = Math_imul($65, $66)|0;
+ $68 = (($67) + 1)|0;
+ $69 = (($64) + ($68<<2)|0);
+ $70 = +HEAPF32[$69>>2];
+ $71 = $63 - $70;
+ $72 = 0.5 * $71;
+ $21 = $72;
+ $73 = $22;
+ $74 = $21;
+ $75 = $73 * $74;
+ $21 = $75;
+ $76 = $10;
+ $77 = $18;
+ $78 = $15;
+ $79 = Math_imul($77, $78)|0;
+ $80 = (($76) + ($79<<2)|0);
+ $81 = +HEAPF32[$80>>2];
+ $82 = $21;
+ $83 = $81 - $82;
+ $84 = $10;
+ $85 = $18;
+ $86 = $15;
+ $87 = Math_imul($85, $86)|0;
+ $88 = (($84) + ($87<<2)|0);
+ HEAPF32[$88>>2] = $83;
+ $89 = $10;
+ $90 = $18;
+ $91 = $15;
+ $92 = Math_imul($90, $91)|0;
+ $93 = (($92) + 1)|0;
+ $94 = (($89) + ($93<<2)|0);
+ $95 = +HEAPF32[$94>>2];
+ $96 = $21;
+ $97 = $95 + $96;
+ $98 = $10;
+ $99 = $18;
+ $100 = $15;
+ $101 = Math_imul($99, $100)|0;
+ $102 = (($101) + 1)|0;
+ $103 = (($98) + ($102<<2)|0);
+ HEAPF32[$103>>2] = $97;
+ $104 = $18;
+ $105 = (($104) + 1)|0;
+ $18 = $105;
+ }
+ while(1) {
+ $106 = $18;
+ $107 = $14;
+ $108 = ($106|0)<($107|0);
+ if (!($108)) {
+ break;
+ }
+ $109 = $9;
+ $110 = $18;
+ $111 = $15;
+ $112 = Math_imul($110, $111)|0;
+ $113 = (($109) + ($112<<2)|0);
+ $114 = +HEAPF32[$113>>2];
+ $115 = $9;
+ $116 = $18;
+ $117 = $15;
+ $118 = Math_imul($116, $117)|0;
+ $119 = (($118) + 1)|0;
+ $120 = (($115) + ($119<<2)|0);
+ $121 = +HEAPF32[$120>>2];
+ $122 = $114 - $121;
+ $123 = 0.5 * $122;
+ $24 = $123;
+ $124 = $12;
+ $125 = $24;
+ $126 = $124 * $125;
+ $24 = $126;
+ $127 = $10;
+ $128 = $18;
+ $129 = $15;
+ $130 = Math_imul($128, $129)|0;
+ $131 = (($127) + ($130<<2)|0);
+ $132 = +HEAPF32[$131>>2];
+ $133 = $24;
+ $134 = $132 - $133;
+ $135 = $10;
+ $136 = $18;
+ $137 = $15;
+ $138 = Math_imul($136, $137)|0;
+ $139 = (($135) + ($138<<2)|0);
+ HEAPF32[$139>>2] = $134;
+ $140 = $10;
+ $141 = $18;
+ $142 = $15;
+ $143 = Math_imul($141, $142)|0;
+ $144 = (($143) + 1)|0;
+ $145 = (($140) + ($144<<2)|0);
+ $146 = +HEAPF32[$145>>2];
+ $147 = $24;
+ $148 = $146 + $147;
+ $149 = $10;
+ $150 = $18;
+ $151 = $15;
+ $152 = Math_imul($150, $151)|0;
+ $153 = (($152) + 1)|0;
+ $154 = (($149) + ($153<<2)|0);
+ HEAPF32[$154>>2] = $148;
+ $155 = $18;
+ $156 = (($155) + 1)|0;
+ $18 = $156;
}
STACKTOP = sp;return;
}
-function _init_caps($m,$cap,$LM,$C) {
- $m = $m|0;
- $cap = $cap|0;
- $LM = $LM|0;
- $C = $C|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $3 = 0, $4 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $C$addr = 0, $LM$addr = 0, $N = 0, $add = 0, $add11 = 0, $add5 = 0, $add8 = 0, $arrayidx = 0, $arrayidx14 = 0, $arrayidx2 = 0, $arrayidx9 = 0, $cache = 0, $cap$addr = 0, $caps = 0, $cmp = 0;
- var $conv = 0, $conv10 = 0, $conv3 = 0, $eBands = 0, $eBands1 = 0, $i = 0, $inc = 0, $m$addr = 0, $mul = 0, $mul12 = 0, $mul13 = 0, $mul7 = 0, $nbEBands = 0, $nbEBands4 = 0, $shl = 0, $shr = 0, $sub = 0, $sub6 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $m$addr = $m;
- $cap$addr = $cap;
- $LM$addr = $LM;
- $C$addr = $C;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $m$addr;
- $nbEBands = ((($1)) + 8|0);
- $2 = HEAP32[$nbEBands>>2]|0;
- $cmp = ($0|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $m$addr;
- $eBands = ((($3)) + 32|0);
- $4 = HEAP32[$eBands>>2]|0;
- $5 = $i;
- $add = (($5) + 1)|0;
- $arrayidx = (($4) + ($add<<1)|0);
- $6 = HEAP16[$arrayidx>>1]|0;
- $conv = $6 << 16 >> 16;
- $7 = $m$addr;
- $eBands1 = ((($7)) + 32|0);
- $8 = HEAP32[$eBands1>>2]|0;
- $9 = $i;
- $arrayidx2 = (($8) + ($9<<1)|0);
- $10 = HEAP16[$arrayidx2>>1]|0;
- $conv3 = $10 << 16 >> 16;
- $sub = (($conv) - ($conv3))|0;
- $11 = $LM$addr;
- $shl = $sub << $11;
- $N = $shl;
- $12 = $m$addr;
- $cache = ((($12)) + 92|0);
- $caps = ((($cache)) + 12|0);
- $13 = HEAP32[$caps>>2]|0;
- $14 = $m$addr;
- $nbEBands4 = ((($14)) + 8|0);
- $15 = HEAP32[$nbEBands4>>2]|0;
- $16 = $LM$addr;
- $mul = $16<<1;
- $17 = $C$addr;
- $add5 = (($mul) + ($17))|0;
- $sub6 = (($add5) - 1)|0;
- $mul7 = Math_imul($15, $sub6)|0;
- $18 = $i;
- $add8 = (($mul7) + ($18))|0;
- $arrayidx9 = (($13) + ($add8)|0);
- $19 = HEAP8[$arrayidx9>>0]|0;
- $conv10 = $19&255;
- $add11 = (($conv10) + 64)|0;
- $20 = $C$addr;
- $mul12 = Math_imul($add11, $20)|0;
- $21 = $N;
- $mul13 = Math_imul($mul12, $21)|0;
- $shr = $mul13 >> 2;
- $22 = $cap$addr;
- $23 = $i;
- $arrayidx14 = (($22) + ($23<<2)|0);
- HEAP32[$arrayidx14>>2] = $shr;
- $24 = $i;
- $inc = (($24) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _encode_pulses($_y,$_n,$_k,$_enc) {
- $_y = $_y|0;
- $_n = $_n|0;
- $_k = $_k|0;
- $_enc = $_enc|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $_enc$addr = 0, $_k$addr = 0, $_n$addr = 0, $_y$addr = 0, $add = 0, $add10 = 0, $add14 = 0, $add18 = 0, $add22 = 0, $arrayidx = 0, $arrayidx13 = 0, $arrayidx21 = 0, $arrayidx6 = 0, $call = 0, $cmp = 0, $cmp1 = 0, $cmp15 = 0;
- var $cmp7 = 0, $cond = 0, $cond12 = 0, $cond20 = 0, $cond5 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_y$addr = $_y;
- $_n$addr = $_n;
- $_k$addr = $_k;
- $_enc$addr = $_enc;
- $0 = $_enc$addr;
- $1 = $_n$addr;
- $2 = $_y$addr;
- $call = (_icwrs($1,$2)|0);
- $3 = $_n$addr;
- $4 = $_k$addr;
- $cmp = ($3|0)<($4|0);
- $5 = $_n$addr;
- $6 = $_k$addr;
- $cond = $cmp ? $5 : $6;
- $arrayidx = (17068 + ($cond<<2)|0);
- $7 = HEAP32[$arrayidx>>2]|0;
- $8 = $_n$addr;
- $9 = $_k$addr;
- $cmp1 = ($8|0)>($9|0);
- $10 = $_n$addr;
- $11 = $_k$addr;
- $cond5 = $cmp1 ? $10 : $11;
- $arrayidx6 = (($7) + ($cond5<<2)|0);
- $12 = HEAP32[$arrayidx6>>2]|0;
- $13 = $_n$addr;
- $14 = $_k$addr;
- $add = (($14) + 1)|0;
- $cmp7 = ($13|0)<($add|0);
- $15 = $_n$addr;
- $16 = $_k$addr;
- $add10 = (($16) + 1)|0;
- $cond12 = $cmp7 ? $15 : $add10;
- $arrayidx13 = (17068 + ($cond12<<2)|0);
- $17 = HEAP32[$arrayidx13>>2]|0;
- $18 = $_n$addr;
- $19 = $_k$addr;
- $add14 = (($19) + 1)|0;
- $cmp15 = ($18|0)>($add14|0);
- $20 = $_n$addr;
- $21 = $_k$addr;
- $add18 = (($21) + 1)|0;
- $cond20 = $cmp15 ? $20 : $add18;
- $arrayidx21 = (($17) + ($cond20<<2)|0);
- $22 = HEAP32[$arrayidx21>>2]|0;
- $add22 = (($12) + ($22))|0;
- _ec_enc_uint($0,$call,$add22);
- STACKTOP = sp;return;
-}
-function _icwrs($_n,$_y) {
- $_n = $_n|0;
- $_y = $_y|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_n$addr = 0, $_y$addr = 0, $add = 0, $add18 = 0, $add23 = 0, $add29 = 0, $add34 = 0, $add40 = 0, $add44 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx15 = 0, $arrayidx16 = 0;
- var $arrayidx19 = 0, $arrayidx32 = 0, $arrayidx43 = 0, $arrayidx6 = 0, $call = 0, $call17 = 0, $cmp = 0, $cmp20 = 0, $cmp24 = 0, $cmp3 = 0, $cmp35 = 0, $cmp45 = 0, $cmp8 = 0, $cond = 0, $cond14 = 0, $cond31 = 0, $cond42 = 0, $conv = 0, $dec = 0, $i = 0;
- var $j = 0, $k = 0, $sub = 0, $sub11 = 0, $sub2 = 0, $sub22 = 0, $sub27 = 0, $sub33 = 0, $sub38 = 0, $sub5 = 0, $sub7 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_n$addr = $_n;
- $_y$addr = $_y;
- $0 = $_n$addr;
- $sub = (($0) - 1)|0;
- $j = $sub;
- $1 = $_y$addr;
- $2 = $j;
- $arrayidx = (($1) + ($2<<2)|0);
- $3 = HEAP32[$arrayidx>>2]|0;
- $cmp = ($3|0)<(0);
- $conv = $cmp&1;
- $i = $conv;
- $4 = $_y$addr;
- $5 = $j;
- $arrayidx1 = (($4) + ($5<<2)|0);
- $6 = HEAP32[$arrayidx1>>2]|0;
- $call = (Math_abs(($6|0))|0);
- $k = $call;
- while(1) {
- $7 = $j;
- $dec = (($7) + -1)|0;
- $j = $dec;
- $8 = $_n$addr;
- $9 = $j;
- $sub2 = (($8) - ($9))|0;
- $10 = $k;
- $cmp3 = ($sub2|0)<($10|0);
- if ($cmp3) {
- $11 = $_n$addr;
- $12 = $j;
- $sub5 = (($11) - ($12))|0;
- $cond = $sub5;
- } else {
- $13 = $k;
- $cond = $13;
- }
- $arrayidx6 = (17068 + ($cond<<2)|0);
- $14 = HEAP32[$arrayidx6>>2]|0;
- $15 = $_n$addr;
- $16 = $j;
- $sub7 = (($15) - ($16))|0;
- $17 = $k;
- $cmp8 = ($sub7|0)>($17|0);
- if ($cmp8) {
- $18 = $_n$addr;
- $19 = $j;
- $sub11 = (($18) - ($19))|0;
- $cond14 = $sub11;
- } else {
- $20 = $k;
- $cond14 = $20;
- }
- $arrayidx15 = (($14) + ($cond14<<2)|0);
- $21 = HEAP32[$arrayidx15>>2]|0;
- $22 = $i;
- $add = (($22) + ($21))|0;
- $i = $add;
- $23 = $_y$addr;
- $24 = $j;
- $arrayidx16 = (($23) + ($24<<2)|0);
- $25 = HEAP32[$arrayidx16>>2]|0;
- $call17 = (Math_abs(($25|0))|0);
- $26 = $k;
- $add18 = (($26) + ($call17))|0;
- $k = $add18;
- $27 = $_y$addr;
- $28 = $j;
- $arrayidx19 = (($27) + ($28<<2)|0);
- $29 = HEAP32[$arrayidx19>>2]|0;
- $cmp20 = ($29|0)<(0);
- if ($cmp20) {
- $30 = $_n$addr;
- $31 = $j;
- $sub22 = (($30) - ($31))|0;
- $32 = $k;
- $add23 = (($32) + 1)|0;
- $cmp24 = ($sub22|0)<($add23|0);
- if ($cmp24) {
- $33 = $_n$addr;
- $34 = $j;
- $sub27 = (($33) - ($34))|0;
- $cond31 = $sub27;
- } else {
- $35 = $k;
- $add29 = (($35) + 1)|0;
- $cond31 = $add29;
- }
- $arrayidx32 = (17068 + ($cond31<<2)|0);
- $36 = HEAP32[$arrayidx32>>2]|0;
- $37 = $_n$addr;
- $38 = $j;
- $sub33 = (($37) - ($38))|0;
- $39 = $k;
- $add34 = (($39) + 1)|0;
- $cmp35 = ($sub33|0)>($add34|0);
- if ($cmp35) {
- $40 = $_n$addr;
- $41 = $j;
- $sub38 = (($40) - ($41))|0;
- $cond42 = $sub38;
- } else {
- $42 = $k;
- $add40 = (($42) + 1)|0;
- $cond42 = $add40;
- }
- $arrayidx43 = (($36) + ($cond42<<2)|0);
- $43 = HEAP32[$arrayidx43>>2]|0;
- $44 = $i;
- $add44 = (($44) + ($43))|0;
- $i = $add44;
- }
- $45 = $j;
- $cmp45 = ($45|0)>(0);
- if (!($cmp45)) {
- break;
- }
- }
- $46 = $i;
- STACKTOP = sp;return ($46|0);
-}
-function _decode_pulses($_y,$_n,$_k,$_dec) {
- $_y = $_y|0;
- $_n = $_n|0;
- $_k = $_k|0;
- $_dec = $_dec|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0;
- var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_dec$addr = 0, $_k$addr = 0, $_n$addr = 0, $_y$addr = 0, $add = 0, $add10 = 0, $add14 = 0, $add18 = 0, $add22 = 0, $arrayidx = 0, $arrayidx13 = 0, $arrayidx21 = 0, $arrayidx6 = 0, $call = 0, $call23 = 0.0, $cmp = 0;
- var $cmp1 = 0, $cmp15 = 0, $cmp7 = 0, $cond = 0, $cond12 = 0, $cond20 = 0, $cond5 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $_y$addr = $_y;
- $_n$addr = $_n;
- $_k$addr = $_k;
- $_dec$addr = $_dec;
- $0 = $_n$addr;
- $1 = $_k$addr;
- $2 = $_dec$addr;
- $3 = $_n$addr;
- $4 = $_k$addr;
- $cmp = ($3|0)<($4|0);
- $5 = $_n$addr;
- $6 = $_k$addr;
- $cond = $cmp ? $5 : $6;
- $arrayidx = (17068 + ($cond<<2)|0);
- $7 = HEAP32[$arrayidx>>2]|0;
- $8 = $_n$addr;
- $9 = $_k$addr;
- $cmp1 = ($8|0)>($9|0);
- $10 = $_n$addr;
- $11 = $_k$addr;
- $cond5 = $cmp1 ? $10 : $11;
- $arrayidx6 = (($7) + ($cond5<<2)|0);
- $12 = HEAP32[$arrayidx6>>2]|0;
- $13 = $_n$addr;
- $14 = $_k$addr;
- $add = (($14) + 1)|0;
- $cmp7 = ($13|0)<($add|0);
- $15 = $_n$addr;
- $16 = $_k$addr;
- $add10 = (($16) + 1)|0;
- $cond12 = $cmp7 ? $15 : $add10;
- $arrayidx13 = (17068 + ($cond12<<2)|0);
- $17 = HEAP32[$arrayidx13>>2]|0;
- $18 = $_n$addr;
- $19 = $_k$addr;
- $add14 = (($19) + 1)|0;
- $cmp15 = ($18|0)>($add14|0);
- $20 = $_n$addr;
- $21 = $_k$addr;
- $add18 = (($21) + 1)|0;
- $cond20 = $cmp15 ? $20 : $add18;
- $arrayidx21 = (($17) + ($cond20<<2)|0);
- $22 = HEAP32[$arrayidx21>>2]|0;
- $add22 = (($12) + ($22))|0;
- $call = (_ec_dec_uint($2,$add22)|0);
- $23 = $_y$addr;
- $call23 = (+_cwrsi($0,$1,$call,$23));
- STACKTOP = sp;return (+$call23);
-}
-function _cwrsi($_n,$_k,$_i,$_y) {
- $_n = $_n|0;
- $_k = $_k|0;
- $_i = $_i|0;
- $_y = $_y|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $12 = 0, $13 = 0;
- var $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0;
- var $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0;
- var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0;
- var $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0;
- var $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $_i$addr = 0, $_k$addr = 0, $_n$addr = 0, $_y$addr = 0, $add = 0, $add20 = 0;
- var $add25 = 0.0, $add29 = 0, $add55 = 0, $add63 = 0.0, $add68 = 0, $add74 = 0, $add81 = 0, $add89 = 0.0, $add91 = 0, $add98 = 0.0, $and = 0, $and43 = 0, $and72 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx17 = 0, $arrayidx2 = 0, $arrayidx27 = 0, $arrayidx28 = 0;
- var $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx47 = 0, $arrayidx48 = 0, $arrayidx5 = 0, $arrayidx9 = 0, $cmp = 0, $cmp1 = 0, $cmp11 = 0, $cmp14 = 0, $cmp3 = 0, $cmp32 = 0, $cmp34 = 0, $cmp40 = 0, $cmp50 = 0, $cmp6 = 0, $cmp69 = 0, $conv = 0, $conv21 = 0, $conv22 = 0;
- var $conv23 = 0.0, $conv24 = 0.0, $conv41 = 0, $conv57 = 0, $conv58 = 0, $conv60 = 0.0, $conv61 = 0.0, $conv70 = 0, $conv83 = 0, $conv84 = 0, $conv86 = 0.0, $conv87 = 0.0, $conv93 = 0, $conv94 = 0, $conv95 = 0.0, $conv96 = 0.0, $dec = 0, $dec16 = 0, $dec46 = 0, $dec66 = 0;
- var $incdec$ptr = 0, $incdec$ptr38 = 0, $incdec$ptr59 = 0, $incdec$ptr85 = 0, $k0 = 0, $mul = 0.0, $mul62 = 0.0, $mul67 = 0, $mul76 = 0, $mul88 = 0.0, $mul97 = 0.0, $p = 0, $q = 0, $row = 0, $s = 0, $shr = 0, $sub = 0, $sub18 = 0, $sub19 = 0, $sub37 = 0;
- var $sub4 = 0, $sub42 = 0, $sub44 = 0, $sub53 = 0, $sub54 = 0, $sub71 = 0, $sub73 = 0, $sub77 = 0, $sub78 = 0, $sub80 = 0, $sub90 = 0, $tobool = 0, $val = 0, $xor = 0, $xor56 = 0, $xor82 = 0, $xor92 = 0, $yy = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $_n$addr = $_n;
- $_k$addr = $_k;
- $_i$addr = $_i;
- $_y$addr = $_y;
- $yy = 0.0;
- while(1) {
- $0 = $_n$addr;
- $cmp = ($0|0)>(2);
- $1 = $_k$addr;
- if (!($cmp)) {
- break;
- }
- $2 = $_n$addr;
- $cmp1 = ($1|0)>=($2|0);
- do {
- if ($cmp1) {
- $3 = $_n$addr;
- $arrayidx = (17068 + ($3<<2)|0);
- $4 = HEAP32[$arrayidx>>2]|0;
- $row = $4;
- $5 = $row;
- $6 = $_k$addr;
- $add = (($6) + 1)|0;
- $arrayidx2 = (($5) + ($add<<2)|0);
- $7 = HEAP32[$arrayidx2>>2]|0;
- $p = $7;
- $8 = $_i$addr;
- $9 = $p;
- $cmp3 = ($8>>>0)>=($9>>>0);
- $conv = $cmp3&1;
- $sub = (0 - ($conv))|0;
- $s = $sub;
- $10 = $p;
- $11 = $s;
- $and = $10 & $11;
- $12 = $_i$addr;
- $sub4 = (($12) - ($and))|0;
- $_i$addr = $sub4;
- $13 = $_k$addr;
- $k0 = $13;
- $14 = $row;
- $15 = $_n$addr;
- $arrayidx5 = (($14) + ($15<<2)|0);
- $16 = HEAP32[$arrayidx5>>2]|0;
- $q = $16;
- $17 = $q;
- $18 = $_i$addr;
- $cmp6 = ($17>>>0)>($18>>>0);
- L6: do {
- if ($cmp6) {
- $19 = $_n$addr;
- $_k$addr = $19;
- while(1) {
- $20 = $_k$addr;
- $dec = (($20) + -1)|0;
- $_k$addr = $dec;
- $arrayidx9 = (17068 + ($dec<<2)|0);
- $21 = HEAP32[$arrayidx9>>2]|0;
- $22 = $_n$addr;
- $arrayidx10 = (($21) + ($22<<2)|0);
- $23 = HEAP32[$arrayidx10>>2]|0;
- $p = $23;
- $24 = $p;
- $25 = $_i$addr;
- $cmp11 = ($24>>>0)>($25>>>0);
- if (!($cmp11)) {
- break;
- }
- }
- } else {
- $26 = $row;
- $27 = $_k$addr;
- $arrayidx13 = (($26) + ($27<<2)|0);
- $28 = HEAP32[$arrayidx13>>2]|0;
- $p = $28;
- while(1) {
- $29 = $p;
- $30 = $_i$addr;
- $cmp14 = ($29>>>0)>($30>>>0);
- if (!($cmp14)) {
- break L6;
- }
- $31 = $_k$addr;
- $dec16 = (($31) + -1)|0;
- $_k$addr = $dec16;
- $32 = $row;
- $33 = $_k$addr;
- $arrayidx17 = (($32) + ($33<<2)|0);
- $34 = HEAP32[$arrayidx17>>2]|0;
- $p = $34;
- }
- }
- } while(0);
- $35 = $p;
- $36 = $_i$addr;
- $sub18 = (($36) - ($35))|0;
- $_i$addr = $sub18;
- $37 = $k0;
- $38 = $_k$addr;
- $sub19 = (($37) - ($38))|0;
- $39 = $s;
- $add20 = (($sub19) + ($39))|0;
- $40 = $s;
- $xor = $add20 ^ $40;
- $conv21 = $xor&65535;
- $val = $conv21;
- $41 = $val;
- $conv22 = $41 << 16 >> 16;
- $42 = $_y$addr;
- $incdec$ptr = ((($42)) + 4|0);
- $_y$addr = $incdec$ptr;
- HEAP32[$42>>2] = $conv22;
- $43 = $yy;
- $44 = $val;
- $conv23 = (+($44<<16>>16));
- $45 = $val;
- $conv24 = (+($45<<16>>16));
- $mul = $conv23 * $conv24;
- $add25 = $43 + $mul;
- $yy = $add25;
- } else {
- $46 = $_k$addr;
- $arrayidx27 = (17068 + ($46<<2)|0);
- $47 = HEAP32[$arrayidx27>>2]|0;
- $48 = $_n$addr;
- $arrayidx28 = (($47) + ($48<<2)|0);
- $49 = HEAP32[$arrayidx28>>2]|0;
- $p = $49;
- $50 = $_k$addr;
- $add29 = (($50) + 1)|0;
- $arrayidx30 = (17068 + ($add29<<2)|0);
- $51 = HEAP32[$arrayidx30>>2]|0;
- $52 = $_n$addr;
- $arrayidx31 = (($51) + ($52<<2)|0);
- $53 = HEAP32[$arrayidx31>>2]|0;
- $q = $53;
- $54 = $p;
- $55 = $_i$addr;
- $cmp32 = ($54>>>0)<=($55>>>0);
- if ($cmp32) {
- $56 = $_i$addr;
- $57 = $q;
- $cmp34 = ($56>>>0)<($57>>>0);
- if ($cmp34) {
- $58 = $p;
- $59 = $_i$addr;
- $sub37 = (($59) - ($58))|0;
- $_i$addr = $sub37;
- $60 = $_y$addr;
- $incdec$ptr38 = ((($60)) + 4|0);
- $_y$addr = $incdec$ptr38;
- HEAP32[$60>>2] = 0;
- break;
- }
- }
- $61 = $_i$addr;
- $62 = $q;
- $cmp40 = ($61>>>0)>=($62>>>0);
- $conv41 = $cmp40&1;
- $sub42 = (0 - ($conv41))|0;
- $s = $sub42;
- $63 = $q;
- $64 = $s;
- $and43 = $63 & $64;
- $65 = $_i$addr;
- $sub44 = (($65) - ($and43))|0;
- $_i$addr = $sub44;
- $66 = $_k$addr;
- $k0 = $66;
- while(1) {
- $67 = $_k$addr;
- $dec46 = (($67) + -1)|0;
- $_k$addr = $dec46;
- $arrayidx47 = (17068 + ($dec46<<2)|0);
- $68 = HEAP32[$arrayidx47>>2]|0;
- $69 = $_n$addr;
- $arrayidx48 = (($68) + ($69<<2)|0);
- $70 = HEAP32[$arrayidx48>>2]|0;
- $p = $70;
- $71 = $p;
- $72 = $_i$addr;
- $cmp50 = ($71>>>0)>($72>>>0);
- if (!($cmp50)) {
- break;
- }
- }
- $73 = $p;
- $74 = $_i$addr;
- $sub53 = (($74) - ($73))|0;
- $_i$addr = $sub53;
- $75 = $k0;
- $76 = $_k$addr;
- $sub54 = (($75) - ($76))|0;
- $77 = $s;
- $add55 = (($sub54) + ($77))|0;
- $78 = $s;
- $xor56 = $add55 ^ $78;
- $conv57 = $xor56&65535;
- $val = $conv57;
- $79 = $val;
- $conv58 = $79 << 16 >> 16;
- $80 = $_y$addr;
- $incdec$ptr59 = ((($80)) + 4|0);
- $_y$addr = $incdec$ptr59;
- HEAP32[$80>>2] = $conv58;
- $81 = $yy;
- $82 = $val;
- $conv60 = (+($82<<16>>16));
- $83 = $val;
- $conv61 = (+($83<<16>>16));
- $mul62 = $conv60 * $conv61;
- $add63 = $81 + $mul62;
- $yy = $add63;
- }
- } while(0);
- $84 = $_n$addr;
- $dec66 = (($84) + -1)|0;
- $_n$addr = $dec66;
- }
- $mul67 = $1<<1;
- $add68 = (($mul67) + 1)|0;
- $p = $add68;
- $85 = $_i$addr;
- $86 = $p;
- $cmp69 = ($85>>>0)>=($86>>>0);
- $conv70 = $cmp69&1;
- $sub71 = (0 - ($conv70))|0;
- $s = $sub71;
- $87 = $p;
- $88 = $s;
- $and72 = $87 & $88;
- $89 = $_i$addr;
- $sub73 = (($89) - ($and72))|0;
- $_i$addr = $sub73;
- $90 = $_k$addr;
- $k0 = $90;
- $91 = $_i$addr;
- $add74 = (($91) + 1)|0;
- $shr = $add74 >>> 1;
- $_k$addr = $shr;
- $92 = $_k$addr;
- $tobool = ($92|0)!=(0);
- if (!($tobool)) {
- $95 = $k0;
- $96 = $_k$addr;
- $sub80 = (($95) - ($96))|0;
- $97 = $s;
- $add81 = (($sub80) + ($97))|0;
- $98 = $s;
- $xor82 = $add81 ^ $98;
- $conv83 = $xor82&65535;
- $val = $conv83;
- $99 = $val;
- $conv84 = $99 << 16 >> 16;
- $100 = $_y$addr;
- $incdec$ptr85 = ((($100)) + 4|0);
- $_y$addr = $incdec$ptr85;
- HEAP32[$100>>2] = $conv84;
- $101 = $yy;
- $102 = $val;
- $conv86 = (+($102<<16>>16));
- $103 = $val;
- $conv87 = (+($103<<16>>16));
- $mul88 = $conv86 * $conv87;
- $add89 = $101 + $mul88;
- $yy = $add89;
- $104 = $_i$addr;
- $sub90 = (0 - ($104))|0;
- $s = $sub90;
- $105 = $_k$addr;
- $106 = $s;
- $add91 = (($105) + ($106))|0;
- $107 = $s;
- $xor92 = $add91 ^ $107;
- $conv93 = $xor92&65535;
- $val = $conv93;
- $108 = $val;
- $conv94 = $108 << 16 >> 16;
- $109 = $_y$addr;
- HEAP32[$109>>2] = $conv94;
- $110 = $yy;
- $111 = $val;
- $conv95 = (+($111<<16>>16));
- $112 = $val;
- $conv96 = (+($112<<16>>16));
- $mul97 = $conv95 * $conv96;
- $add98 = $110 + $mul97;
- $yy = $add98;
- $113 = $yy;
- STACKTOP = sp;return (+$113);
- }
- $93 = $_k$addr;
- $mul76 = $93<<1;
- $sub77 = (($mul76) - 1)|0;
- $94 = $_i$addr;
- $sub78 = (($94) - ($sub77))|0;
- $_i$addr = $sub78;
- $95 = $k0;
- $96 = $_k$addr;
- $sub80 = (($95) - ($96))|0;
- $97 = $s;
- $add81 = (($sub80) + ($97))|0;
- $98 = $s;
- $xor82 = $add81 ^ $98;
- $conv83 = $xor82&65535;
- $val = $conv83;
- $99 = $val;
- $conv84 = $99 << 16 >> 16;
- $100 = $_y$addr;
- $incdec$ptr85 = ((($100)) + 4|0);
- $_y$addr = $incdec$ptr85;
- HEAP32[$100>>2] = $conv84;
- $101 = $yy;
- $102 = $val;
- $conv86 = (+($102<<16>>16));
- $103 = $val;
- $conv87 = (+($103<<16>>16));
- $mul88 = $conv86 * $conv87;
- $add89 = $101 + $mul88;
- $yy = $add89;
- $104 = $_i$addr;
- $sub90 = (0 - ($104))|0;
- $s = $sub90;
- $105 = $_k$addr;
- $106 = $s;
- $add91 = (($105) + ($106))|0;
- $107 = $s;
- $xor92 = $add91 ^ $107;
- $conv93 = $xor92&65535;
- $val = $conv93;
- $108 = $val;
- $conv94 = $108 << 16 >> 16;
- $109 = $_y$addr;
- HEAP32[$109>>2] = $conv94;
- $110 = $yy;
- $111 = $val;
- $conv95 = (+($111<<16>>16));
- $112 = $val;
- $conv96 = (+($112<<16>>16));
- $mul97 = $conv95 * $conv96;
- $add98 = $110 + $mul97;
- $yy = $add98;
- $113 = $yy;
- STACKTOP = sp;return (+$113);
-}
-function _ec_laplace_encode($enc,$value,$fs,$decay) {
- $enc = $enc|0;
- $value = $value|0;
- $fs = $fs|0;
- $decay = $decay|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add11 = 0, $add23 = 0, $add24 = 0, $add26 = 0, $add35 = 0, $add36 = 0, $add38 = 0, $add39 = 0, $add41 = 0, $add5 = 0, $add6 = 0, $and = 0;
- var $call = 0, $cmp = 0, $cmp1 = 0, $cmp18 = 0, $cmp28 = 0, $cmp3 = 0, $cond = 0, $cond34 = 0, $conv = 0, $decay$addr = 0, $di = 0, $enc$addr = 0, $fl = 0, $fs$addr = 0, $i = 0, $inc = 0, $mul = 0, $mul22 = 0, $mul25 = 0, $mul7 = 0;
- var $ndi_max = 0, $neg = 0, $s = 0, $shr = 0, $shr13 = 0, $shr15 = 0, $sub = 0, $sub10 = 0, $sub12 = 0, $sub14 = 0, $sub16 = 0, $sub17 = 0, $sub20 = 0, $sub21 = 0, $sub27 = 0, $sub32 = 0, $tobool = 0, $tobool8 = 0, $val = 0, $value$addr = 0;
- var $xor = 0, $xor37 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $enc$addr = $enc;
- $value$addr = $value;
- $fs$addr = $fs;
- $decay$addr = $decay;
- $0 = $value$addr;
- $1 = HEAP32[$0>>2]|0;
- $val = $1;
- $fl = 0;
- $2 = $val;
- $tobool = ($2|0)!=(0);
- if (!($tobool)) {
- $42 = $enc$addr;
- $43 = $fl;
- $44 = $fl;
- $45 = $fs$addr;
- $add41 = (($44) + ($45))|0;
- _ec_encode_bin($42,$43,$add41,15);
- STACKTOP = sp;return;
- }
- $3 = $val;
- $cmp = ($3|0)<(0);
- $conv = $cmp&1;
- $sub = (0 - ($conv))|0;
- $s = $sub;
- $4 = $val;
- $5 = $s;
- $add = (($4) + ($5))|0;
- $6 = $s;
- $xor = $add ^ $6;
- $val = $xor;
- $7 = $fs$addr;
- $fl = $7;
- $8 = $fs$addr;
- $9 = $decay$addr;
- $call = (_ec_laplace_get_freq1($8,$9)|0);
- $fs$addr = $call;
- $i = 1;
- while(1) {
- $10 = $fs$addr;
- $cmp1 = ($10>>>0)>(0);
- if ($cmp1) {
- $11 = $i;
- $12 = $val;
- $cmp3 = ($11|0)<($12|0);
- $46 = $cmp3;
- } else {
- $46 = 0;
- }
- $13 = $fs$addr;
- if (!($46)) {
- break;
- }
- $mul = $13<<1;
- $fs$addr = $mul;
- $14 = $fs$addr;
- $add5 = (($14) + 2)|0;
- $15 = $fl;
- $add6 = (($15) + ($add5))|0;
- $fl = $add6;
- $16 = $fs$addr;
- $17 = $decay$addr;
- $mul7 = Math_imul($16, $17)|0;
- $shr = $mul7 >>> 15;
- $fs$addr = $shr;
- $18 = $i;
- $inc = (($18) + 1)|0;
- $i = $inc;
- }
- $tobool8 = ($13|0)!=(0);
- if ($tobool8) {
- $38 = $fs$addr;
- $add38 = (($38) + 1)|0;
- $fs$addr = $add38;
- $39 = $fs$addr;
- $40 = $s;
- $neg = $40 ^ -1;
- $and = $39 & $neg;
- $41 = $fl;
- $add39 = (($41) + ($and))|0;
- $fl = $add39;
- $42 = $enc$addr;
- $43 = $fl;
- $44 = $fl;
- $45 = $fs$addr;
- $add41 = (($44) + ($45))|0;
- _ec_encode_bin($42,$43,$add41,15);
- STACKTOP = sp;return;
- }
- $19 = $fl;
- $sub10 = (32768 - ($19))|0;
- $add11 = (($sub10) + 1)|0;
- $sub12 = (($add11) - 1)|0;
- $shr13 = $sub12 >>> 0;
- $ndi_max = $shr13;
- $20 = $ndi_max;
- $21 = $s;
- $sub14 = (($20) - ($21))|0;
- $shr15 = $sub14 >> 1;
- $ndi_max = $shr15;
- $22 = $val;
- $23 = $i;
- $sub16 = (($22) - ($23))|0;
- $24 = $ndi_max;
- $sub17 = (($24) - 1)|0;
- $cmp18 = ($sub16|0)<($sub17|0);
- if ($cmp18) {
- $25 = $val;
- $26 = $i;
- $sub20 = (($25) - ($26))|0;
- $cond = $sub20;
- } else {
- $27 = $ndi_max;
- $sub21 = (($27) - 1)|0;
- $cond = $sub21;
- }
- $di = $cond;
- $28 = $di;
- $mul22 = $28<<1;
- $add23 = (($mul22) + 1)|0;
- $29 = $s;
- $add24 = (($add23) + ($29))|0;
- $mul25 = $add24;
- $30 = $fl;
- $add26 = (($30) + ($mul25))|0;
- $fl = $add26;
- $31 = $fl;
- $sub27 = (32768 - ($31))|0;
- $cmp28 = (1)<($sub27>>>0);
- $32 = $fl;
- $sub32 = (32768 - ($32))|0;
- $cond34 = $cmp28 ? 1 : $sub32;
- $fs$addr = $cond34;
- $33 = $i;
- $34 = $di;
- $add35 = (($33) + ($34))|0;
- $35 = $s;
- $add36 = (($add35) + ($35))|0;
- $36 = $s;
- $xor37 = $add36 ^ $36;
- $37 = $value$addr;
- HEAP32[$37>>2] = $xor37;
- $42 = $enc$addr;
- $43 = $fl;
- $44 = $fl;
- $45 = $fs$addr;
- $add41 = (($44) + ($45))|0;
- _ec_encode_bin($42,$43,$add41,15);
- STACKTOP = sp;return;
-}
-function _ec_laplace_get_freq1($fs0,$decay) {
- $fs0 = $fs0|0;
- $decay = $decay|0;
- var $0 = 0, $1 = 0, $2 = 0, $decay$addr = 0, $fs0$addr = 0, $ft = 0, $mul = 0, $shr = 0, $sub = 0, $sub1 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $fs0$addr = $fs0;
- $decay$addr = $decay;
- $0 = $fs0$addr;
- $sub = (32736 - ($0))|0;
- $ft = $sub;
- $1 = $ft;
- $2 = $decay$addr;
- $sub1 = (16384 - ($2))|0;
- $mul = Math_imul($1, $sub1)|0;
- $shr = $mul >>> 15;
- STACKTOP = sp;return ($shr|0);
-}
-function _ec_laplace_decode($dec,$fs,$decay) {
- $dec = $dec|0;
- $fs = $fs|0;
- $decay = $decay|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add14 = 0;
- var $add17 = 0, $add18 = 0, $add22 = 0, $add25 = 0, $add27 = 0, $add3 = 0, $add6 = 0, $add8 = 0, $call = 0, $call1 = 0, $cmp = 0, $cmp10 = 0, $cmp19 = 0, $cmp2 = 0, $cmp26 = 0, $cmp4 = 0, $cond = 0, $dec$addr = 0, $decay$addr = 0, $di = 0;
- var $fl = 0, $fm = 0, $fs$addr = 0, $inc = 0, $inc9 = 0, $mul = 0, $mul15 = 0, $mul16 = 0, $mul5 = 0, $mul7 = 0, $shr = 0, $shr13 = 0, $sub = 0, $sub12 = 0, $sub21 = 0, $val = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $dec$addr = $dec;
- $fs$addr = $fs;
- $decay$addr = $decay;
- $val = 0;
- $0 = $dec$addr;
- $call = (_ec_decode_bin($0,15)|0);
- $fm = $call;
- $fl = 0;
- $1 = $fm;
- $2 = $fs$addr;
- $cmp = ($1>>>0)>=($2>>>0);
- do {
- if ($cmp) {
- $3 = $val;
- $inc = (($3) + 1)|0;
- $val = $inc;
- $4 = $fs$addr;
- $fl = $4;
- $5 = $fs$addr;
- $6 = $decay$addr;
- $call1 = (_ec_laplace_get_freq1($5,$6)|0);
- $add = (($call1) + 1)|0;
- $fs$addr = $add;
- while(1) {
- $7 = $fs$addr;
- $cmp2 = ($7>>>0)>(1);
- if ($cmp2) {
- $8 = $fm;
- $9 = $fl;
- $10 = $fs$addr;
- $mul = $10<<1;
- $add3 = (($9) + ($mul))|0;
- $cmp4 = ($8>>>0)>=($add3>>>0);
- $37 = $cmp4;
- } else {
- $37 = 0;
- }
- $11 = $fs$addr;
- if (!($37)) {
- break;
- }
- $mul5 = $11<<1;
- $fs$addr = $mul5;
- $12 = $fs$addr;
- $13 = $fl;
- $add6 = (($13) + ($12))|0;
- $fl = $add6;
- $14 = $fs$addr;
- $sub = (($14) - 2)|0;
- $15 = $decay$addr;
- $mul7 = Math_imul($sub, $15)|0;
- $shr = $mul7 >>> 15;
- $fs$addr = $shr;
- $16 = $fs$addr;
- $add8 = (($16) + 1)|0;
- $fs$addr = $add8;
- $17 = $val;
- $inc9 = (($17) + 1)|0;
- $val = $inc9;
- }
- $cmp10 = ($11>>>0)<=(1);
- if ($cmp10) {
- $18 = $fm;
- $19 = $fl;
- $sub12 = (($18) - ($19))|0;
- $shr13 = $sub12 >>> 1;
- $di = $shr13;
- $20 = $di;
- $21 = $val;
- $add14 = (($21) + ($20))|0;
- $val = $add14;
- $22 = $di;
- $mul15 = $22<<1;
- $mul16 = $mul15;
- $23 = $fl;
- $add17 = (($23) + ($mul16))|0;
- $fl = $add17;
- }
- $24 = $fm;
- $25 = $fl;
- $26 = $fs$addr;
- $add18 = (($25) + ($26))|0;
- $cmp19 = ($24>>>0)<($add18>>>0);
- if ($cmp19) {
- $27 = $val;
- $sub21 = (0 - ($27))|0;
- $val = $sub21;
- break;
- } else {
- $28 = $fs$addr;
- $29 = $fl;
- $add22 = (($29) + ($28))|0;
- $fl = $add22;
- break;
- }
- }
- } while(0);
- $30 = $dec$addr;
- $31 = $fl;
- $32 = $fl;
- $33 = $fs$addr;
- $add25 = (($32) + ($33))|0;
- $cmp26 = ($add25>>>0)<(32768);
- if (!($cmp26)) {
- $cond = 32768;
- _ec_dec_update($30,$31,$cond,32768);
- $36 = $val;
- STACKTOP = sp;return ($36|0);
- }
- $34 = $fl;
- $35 = $fs$addr;
- $add27 = (($34) + ($35))|0;
- $cond = $add27;
- _ec_dec_update($30,$31,$cond,32768);
- $36 = $val;
- STACKTOP = sp;return ($36|0);
-}
-function _isqrt32($_val) {
- $_val = $_val|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $_val$addr = 0, $add = 0, $add4 = 0, $b = 0;
- var $bshift = 0, $cmp = 0, $cmp7 = 0, $dec = 0, $g = 0, $shl = 0, $shl2 = 0, $shl3 = 0, $shr = 0, $shr6 = 0, $sub = 0, $sub1 = 0, $sub5 = 0, $t = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $_val$addr = $_val;
- $g = 0;
- $0 = $_val$addr;
- $1 = (Math_clz32(($0|0))|0);
- $sub = (32 - ($1))|0;
- $sub1 = (($sub) - 1)|0;
- $shr = $sub1 >> 1;
- $bshift = $shr;
- $2 = $bshift;
- $shl = 1 << $2;
- $b = $shl;
- while(1) {
- $3 = $g;
- $shl2 = $3 << 1;
- $4 = $b;
- $add = (($shl2) + ($4))|0;
- $5 = $bshift;
- $shl3 = $add << $5;
- $t = $shl3;
- $6 = $t;
- $7 = $_val$addr;
- $cmp = ($6>>>0)<=($7>>>0);
- if ($cmp) {
- $8 = $b;
- $9 = $g;
- $add4 = (($9) + ($8))|0;
- $g = $add4;
- $10 = $t;
- $11 = $_val$addr;
- $sub5 = (($11) - ($10))|0;
- $_val$addr = $sub5;
- }
- $12 = $b;
- $shr6 = $12 >>> 1;
- $b = $shr6;
- $13 = $bshift;
- $dec = (($13) + -1)|0;
- $bshift = $dec;
- $14 = $bshift;
- $cmp7 = ($14|0)>=(0);
- if (!($cmp7)) {
- break;
- }
- }
- $15 = $g;
- STACKTOP = sp;return ($15|0);
-}
-function _silk_encode_signs($psRangeEnc,$pulses,$length,$signalType,$quantOffsetType,$sum_pulses) {
- $psRangeEnc = $psRangeEnc|0;
- $pulses = $pulses|0;
- $length = $length|0;
- $signalType = $signalType|0;
- $quantOffsetType = $quantOffsetType|0;
- $sum_pulses = $sum_pulses|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $3 = 0;
- var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add$ptr = 0, $add25 = 0, $add3 = 0, $and = 0, $and10 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx17 = 0, $arrayidx2 = 0, $arrayidx22 = 0, $arrayidx5 = 0, $cmp = 0, $cmp14 = 0;
- var $cmp19 = 0, $cmp6 = 0, $cmp8 = 0, $cond = 0, $conv = 0, $conv1 = 0, $conv18 = 0, $conv23 = 0, $i = 0, $icdf = 0, $icdf_ptr = 0, $inc = 0, $inc28 = 0, $j = 0, $length$addr = 0, $mul = 0, $p = 0, $psRangeEnc$addr = 0, $pulses$addr = 0, $q_ptr = 0;
- var $quantOffsetType$addr = 0, $shl = 0, $shr = 0, $shr24 = 0, $signalType$addr = 0, $sum_pulses$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $icdf = sp + 44|0;
- $psRangeEnc$addr = $psRangeEnc;
- $pulses$addr = $pulses;
- $length$addr = $length;
- $signalType$addr = $signalType;
- $quantOffsetType$addr = $quantOffsetType;
- $sum_pulses$addr = $sum_pulses;
- $arrayidx = ((($icdf)) + 1|0);
- HEAP8[$arrayidx>>0] = 0;
- $0 = $pulses$addr;
- $q_ptr = $0;
- $1 = $quantOffsetType$addr;
- $2 = $signalType$addr;
- $shl = $2 << 1;
- $add = (($1) + ($shl))|0;
- $conv = $add&65535;
- $conv1 = $conv << 16 >> 16;
- $mul = ($conv1*7)|0;
- $i = $mul;
- $3 = $i;
- $arrayidx2 = (28829 + ($3)|0);
- $icdf_ptr = $arrayidx2;
- $4 = $length$addr;
- $add3 = (($4) + 8)|0;
- $shr = $add3 >> 4;
- $length$addr = $shr;
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $length$addr;
- $cmp = ($5|0)<($6|0);
- if (!($cmp)) {
- break;
- }
- $7 = $sum_pulses$addr;
- $8 = $i;
- $arrayidx5 = (($7) + ($8<<2)|0);
- $9 = HEAP32[$arrayidx5>>2]|0;
- $p = $9;
- $10 = $p;
- $cmp6 = ($10|0)>(0);
- L4: do {
- if ($cmp6) {
- $11 = $icdf_ptr;
- $12 = $p;
- $and = $12 & 31;
- $cmp8 = ($and|0)<(6);
- $13 = $p;
- $and10 = $13 & 31;
- $cond = $cmp8 ? $and10 : 6;
- $arrayidx11 = (($11) + ($cond)|0);
- $14 = HEAP8[$arrayidx11>>0]|0;
- HEAP8[$icdf>>0] = $14;
- $j = 0;
- while(1) {
- $15 = $j;
- $cmp14 = ($15|0)<(16);
- if (!($cmp14)) {
- break L4;
- }
- $16 = $q_ptr;
- $17 = $j;
- $arrayidx17 = (($16) + ($17)|0);
- $18 = HEAP8[$arrayidx17>>0]|0;
- $conv18 = $18 << 24 >> 24;
- $cmp19 = ($conv18|0)!=(0);
- if ($cmp19) {
- $19 = $psRangeEnc$addr;
- $20 = $q_ptr;
- $21 = $j;
- $arrayidx22 = (($20) + ($21)|0);
- $22 = HEAP8[$arrayidx22>>0]|0;
- $conv23 = $22 << 24 >> 24;
- $shr24 = $conv23 >> 15;
- $add25 = (($shr24) + 1)|0;
- _ec_enc_icdf($19,$add25,$icdf,8);
- }
- $23 = $j;
- $inc = (($23) + 1)|0;
- $j = $inc;
- }
- }
- } while(0);
- $24 = $q_ptr;
- $add$ptr = ((($24)) + 16|0);
- $q_ptr = $add$ptr;
- $25 = $i;
- $inc28 = (($25) + 1)|0;
- $i = $inc28;
- }
- STACKTOP = sp;return;
-}
-function _silk_decode_signs($psRangeDec,$pulses,$length,$signalType,$quantOffsetType,$sum_pulses) {
- $psRangeDec = $psRangeDec|0;
- $pulses = $pulses|0;
- $length = $length|0;
- $signalType = $signalType|0;
- $quantOffsetType = $quantOffsetType|0;
- $sum_pulses = $sum_pulses|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $3 = 0;
- var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add$ptr = 0, $add3 = 0, $and = 0, $and10 = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx17 = 0, $arrayidx2 = 0, $arrayidx23 = 0, $arrayidx5 = 0, $call = 0, $cmp = 0, $cmp14 = 0;
- var $cmp19 = 0, $cmp6 = 0, $cmp8 = 0, $cond = 0, $conv = 0, $conv1 = 0, $conv18 = 0, $conv24 = 0, $conv26 = 0, $i = 0, $icdf = 0, $icdf_ptr = 0, $inc = 0, $inc29 = 0, $j = 0, $length$addr = 0, $mul = 0, $mul25 = 0, $p = 0, $psRangeDec$addr = 0;
- var $pulses$addr = 0, $q_ptr = 0, $quantOffsetType$addr = 0, $shl = 0, $shl22 = 0, $shr = 0, $signalType$addr = 0, $sub = 0, $sum_pulses$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $icdf = sp + 44|0;
- $psRangeDec$addr = $psRangeDec;
- $pulses$addr = $pulses;
- $length$addr = $length;
- $signalType$addr = $signalType;
- $quantOffsetType$addr = $quantOffsetType;
- $sum_pulses$addr = $sum_pulses;
- $arrayidx = ((($icdf)) + 1|0);
- HEAP8[$arrayidx>>0] = 0;
- $0 = $pulses$addr;
- $q_ptr = $0;
- $1 = $quantOffsetType$addr;
- $2 = $signalType$addr;
- $shl = $2 << 1;
- $add = (($1) + ($shl))|0;
- $conv = $add&65535;
- $conv1 = $conv << 16 >> 16;
- $mul = ($conv1*7)|0;
- $i = $mul;
- $3 = $i;
- $arrayidx2 = (28829 + ($3)|0);
- $icdf_ptr = $arrayidx2;
- $4 = $length$addr;
- $add3 = (($4) + 8)|0;
- $shr = $add3 >> 4;
- $length$addr = $shr;
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $length$addr;
- $cmp = ($5|0)<($6|0);
- if (!($cmp)) {
- break;
- }
- $7 = $sum_pulses$addr;
- $8 = $i;
- $arrayidx5 = (($7) + ($8<<2)|0);
- $9 = HEAP32[$arrayidx5>>2]|0;
- $p = $9;
- $10 = $p;
- $cmp6 = ($10|0)>(0);
- L4: do {
- if ($cmp6) {
- $11 = $icdf_ptr;
- $12 = $p;
- $and = $12 & 31;
- $cmp8 = ($and|0)<(6);
- $13 = $p;
- $and10 = $13 & 31;
- $cond = $cmp8 ? $and10 : 6;
- $arrayidx11 = (($11) + ($cond)|0);
- $14 = HEAP8[$arrayidx11>>0]|0;
- HEAP8[$icdf>>0] = $14;
- $j = 0;
- while(1) {
- $15 = $j;
- $cmp14 = ($15|0)<(16);
- if (!($cmp14)) {
- break L4;
- }
- $16 = $q_ptr;
- $17 = $j;
- $arrayidx17 = (($16) + ($17<<1)|0);
- $18 = HEAP16[$arrayidx17>>1]|0;
- $conv18 = $18 << 16 >> 16;
- $cmp19 = ($conv18|0)>(0);
- if ($cmp19) {
- $19 = $psRangeDec$addr;
- $call = (_ec_dec_icdf($19,$icdf,8)|0);
- $shl22 = $call << 1;
- $sub = (($shl22) - 1)|0;
- $20 = $q_ptr;
- $21 = $j;
- $arrayidx23 = (($20) + ($21<<1)|0);
- $22 = HEAP16[$arrayidx23>>1]|0;
- $conv24 = $22 << 16 >> 16;
- $mul25 = Math_imul($conv24, $sub)|0;
- $conv26 = $mul25&65535;
- HEAP16[$arrayidx23>>1] = $conv26;
- }
- $23 = $j;
- $inc = (($23) + 1)|0;
- $j = $inc;
- }
- }
- } while(0);
- $24 = $q_ptr;
- $add$ptr = ((($24)) + 32|0);
- $q_ptr = $add$ptr;
- $25 = $i;
- $inc29 = (($25) + 1)|0;
- $i = $inc29;
- }
- STACKTOP = sp;return;
-}
-function _silk_init_decoder($psDec) {
- $psDec = $psDec|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $first_frame_after_reset = 0, $psDec$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psDec$addr = $psDec;
- $0 = $psDec$addr;
- _memset(($0|0),0,4260)|0;
- $1 = $psDec$addr;
- $first_frame_after_reset = ((($1)) + 2376|0);
- HEAP32[$first_frame_after_reset>>2] = 1;
- $2 = $psDec$addr;
- HEAP32[$2>>2] = 65536;
- $3 = $psDec$addr;
- _silk_CNG_Reset($3);
- $4 = $psDec$addr;
- _silk_PLC_Reset($4);
- STACKTOP = sp;return 0;
-}
-function _silk_decode_frame($psDec,$psRangeDec,$pOut,$pN,$lostFlag,$condCoding,$arch) {
- $psDec = $psDec|0;
- $psRangeDec = $psRangeDec|0;
- $pOut = $pOut|0;
- $pN = $pN|0;
- $lostFlag = $lostFlag|0;
- $condCoding = $condCoding|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $7 = 0, $8 = 0, $9 = 0, $L = 0, $LBRR_flags = 0, $LTP_scale_Q14 = 0, $add = 0, $and = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx19 = 0, $arrayidx21 = 0, $arrayidx27 = 0, $cmp = 0, $cmp1 = 0, $cmp2 = 0;
- var $condCoding$addr = 0, $conv = 0, $conv12 = 0, $conv5 = 0, $first_frame_after_reset = 0, $frame_length = 0, $frame_length14 = 0, $frame_length18 = 0, $frame_length22 = 0, $frame_length6 = 0, $indices = 0, $indices10 = 0, $indices4 = 0, $lagPrev = 0, $lossCnt = 0, $lostFlag$addr = 0, $ltp_mem_length = 0, $mul = 0, $mul23 = 0, $mv_len = 0;
- var $nFramesDecoded = 0, $nFramesDecoded3 = 0, $nb_subfr = 0, $outBuf = 0, $outBuf17 = 0, $outBuf20 = 0, $pN$addr = 0, $pOut$addr = 0, $prevSignalType = 0, $psDec$addr = 0, $psDecCtrl = 0, $psRangeDec$addr = 0, $quantOffsetType = 0, $ret = 0, $saved_stack = 0, $signalType = 0, $signalType11 = 0, $sub = 0, $sub15 = 0, $sub26 = 0;
- var $vla = 0, $vla$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
- $psDecCtrl = sp + 4|0;
- $psDec$addr = $psDec;
- $psRangeDec$addr = $psRangeDec;
- $pOut$addr = $pOut;
- $pN$addr = $pN;
- $lostFlag$addr = $lostFlag;
- $condCoding$addr = $condCoding;
- $arch$addr = $arch;
- $ret = 0;
- $0 = $psDec$addr;
- $frame_length = ((($0)) + 2328|0);
- $1 = HEAP32[$frame_length>>2]|0;
- $L = $1;
- $LTP_scale_Q14 = ((($psDecCtrl)) + 136|0);
- HEAP32[$LTP_scale_Q14>>2] = 0;
- $2 = $lostFlag$addr;
- $cmp = ($2|0)==(0);
- do {
- if ($cmp) {
- label = 4;
- } else {
- $3 = $lostFlag$addr;
- $cmp1 = ($3|0)==(2);
- if ($cmp1) {
- $4 = $psDec$addr;
- $LBRR_flags = ((($4)) + 2420|0);
- $5 = $psDec$addr;
- $nFramesDecoded = ((($5)) + 2388|0);
- $6 = HEAP32[$nFramesDecoded>>2]|0;
- $arrayidx = (($LBRR_flags) + ($6<<2)|0);
- $7 = HEAP32[$arrayidx>>2]|0;
- $cmp2 = ($7|0)==(1);
- if ($cmp2) {
- label = 4;
- break;
- }
- }
- $37 = $psDec$addr;
- $38 = $pOut$addr;
- $39 = $arch$addr;
- _silk_PLC($37,$psDecCtrl,$38,1,$39);
- }
- } while(0);
- if ((label|0) == 4) {
- $8 = $L;
- $add = (($8) + 16)|0;
- $sub = (($add) - 1)|0;
- $and = $sub & -16;
- $9 = (_llvm_stacksave()|0);
- $saved_stack = $9;
- $vla$alloca_mul = $and<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $10 = $psDec$addr;
- $11 = $psRangeDec$addr;
- $12 = $psDec$addr;
- $nFramesDecoded3 = ((($12)) + 2388|0);
- $13 = HEAP32[$nFramesDecoded3>>2]|0;
- $14 = $lostFlag$addr;
- $15 = $condCoding$addr;
- _silk_decode_indices($10,$11,$13,$14,$15);
- $16 = $psRangeDec$addr;
- $17 = $psDec$addr;
- $indices = ((($17)) + 2736|0);
- $signalType = ((($indices)) + 29|0);
- $18 = HEAP8[$signalType>>0]|0;
- $conv = $18 << 24 >> 24;
- $19 = $psDec$addr;
- $indices4 = ((($19)) + 2736|0);
- $quantOffsetType = ((($indices4)) + 30|0);
- $20 = HEAP8[$quantOffsetType>>0]|0;
- $conv5 = $20 << 24 >> 24;
- $21 = $psDec$addr;
- $frame_length6 = ((($21)) + 2328|0);
- $22 = HEAP32[$frame_length6>>2]|0;
- _silk_decode_pulses($16,$vla,$conv,$conv5,$22);
- $23 = $psDec$addr;
- $24 = $condCoding$addr;
- _silk_decode_parameters($23,$psDecCtrl,$24);
- $25 = $psDec$addr;
- $26 = $pOut$addr;
- $27 = $arch$addr;
- _silk_decode_core($25,$psDecCtrl,$26,$vla,$27);
- $28 = $psDec$addr;
- $29 = $pOut$addr;
- $30 = $arch$addr;
- _silk_PLC($28,$psDecCtrl,$29,0,$30);
- $31 = $psDec$addr;
- $lossCnt = ((($31)) + 4160|0);
- HEAP32[$lossCnt>>2] = 0;
- $32 = $psDec$addr;
- $indices10 = ((($32)) + 2736|0);
- $signalType11 = ((($indices10)) + 29|0);
- $33 = HEAP8[$signalType11>>0]|0;
- $conv12 = $33 << 24 >> 24;
- $34 = $psDec$addr;
- $prevSignalType = ((($34)) + 4164|0);
- HEAP32[$prevSignalType>>2] = $conv12;
- $35 = $psDec$addr;
- $first_frame_after_reset = ((($35)) + 2376|0);
- HEAP32[$first_frame_after_reset>>2] = 0;
- $36 = $saved_stack;
- _llvm_stackrestore(($36|0));
- }
- $40 = $psDec$addr;
- $ltp_mem_length = ((($40)) + 2336|0);
- $41 = HEAP32[$ltp_mem_length>>2]|0;
- $42 = $psDec$addr;
- $frame_length14 = ((($42)) + 2328|0);
- $43 = HEAP32[$frame_length14>>2]|0;
- $sub15 = (($41) - ($43))|0;
- $mv_len = $sub15;
- $44 = $psDec$addr;
- $outBuf = ((($44)) + 1348|0);
- $45 = $psDec$addr;
- $outBuf17 = ((($45)) + 1348|0);
- $46 = $psDec$addr;
- $frame_length18 = ((($46)) + 2328|0);
- $47 = HEAP32[$frame_length18>>2]|0;
- $arrayidx19 = (($outBuf17) + ($47<<1)|0);
- $48 = $mv_len;
- $mul = $48<<1;
- _memmove(($outBuf|0),($arrayidx19|0),($mul|0))|0;
- $49 = $psDec$addr;
- $outBuf20 = ((($49)) + 1348|0);
- $50 = $mv_len;
- $arrayidx21 = (($outBuf20) + ($50<<1)|0);
- $51 = $pOut$addr;
- $52 = $psDec$addr;
- $frame_length22 = ((($52)) + 2328|0);
- $53 = HEAP32[$frame_length22>>2]|0;
- $mul23 = $53<<1;
- _memcpy(($arrayidx21|0),($51|0),($mul23|0))|0;
- $54 = $psDec$addr;
- $55 = $pOut$addr;
- $56 = $L;
- _silk_CNG($54,$psDecCtrl,$55,$56);
- $57 = $psDec$addr;
- $58 = $pOut$addr;
- $59 = $L;
- _silk_PLC_glue_frames($57,$58,$59);
- $60 = $psDec$addr;
- $nb_subfr = ((($60)) + 2324|0);
- $61 = HEAP32[$nb_subfr>>2]|0;
- $sub26 = (($61) - 1)|0;
- $arrayidx27 = (($psDecCtrl) + ($sub26<<2)|0);
- $62 = HEAP32[$arrayidx27>>2]|0;
- $63 = $psDec$addr;
- $lagPrev = ((($63)) + 2308|0);
- HEAP32[$lagPrev>>2] = $62;
- $64 = $L;
- $65 = $pN$addr;
- HEAP32[$65>>2] = $64;
- $66 = $ret;
- STACKTOP = sp;return ($66|0);
-}
-function _silk_decode_parameters($psDec,$psDecCtrl,$condCoding) {
- $psDec = $psDec|0;
- $psDecCtrl = $psDecCtrl|0;
- $condCoding = $condCoding|0;
- var $$sink = 0, $$sink1 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
- var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
- var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
- var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
- var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $Gains_Q16 = 0, $Ix = 0, $LPC_order = 0, $LPC_order16 = 0, $LPC_order35 = 0, $LPC_order42 = 0;
- var $LPC_order48 = 0, $LPC_order54 = 0, $LPC_order58 = 0, $LTPCoef_Q14 = 0, $LTPCoef_Q14106 = 0, $LTPIndex = 0, $LTP_scaleIndex = 0, $LTP_scale_Q14113 = 0, $LastGainIndex = 0, $NLSFIndices = 0, $NLSFInterpCoef_Q2 = 0, $NLSFInterpCoef_Q211 = 0, $NLSFInterpCoef_Q222 = 0, $PERIndex = 0, $PERIndex112 = 0, $PredCoef_Q12 = 0, $PredCoef_Q1231 = 0, $PredCoef_Q1236 = 0, $PredCoef_Q1239 = 0, $PredCoef_Q1251 = 0;
- var $PredCoef_Q1255 = 0, $add = 0, $add84 = 0, $add89 = 0, $arrayidx = 0, $arrayidx19 = 0, $arrayidx24 = 0, $arrayidx27 = 0, $arrayidx30 = 0, $arrayidx40 = 0, $arrayidx56 = 0, $arrayidx70 = 0, $arrayidx77 = 0, $arrayidx85 = 0, $arrayidx90 = 0, $arrayidx99 = 0, $cbk_ptr_Q7 = 0, $cmp = 0, $cmp13 = 0, $cmp17 = 0;
- var $cmp62 = 0, $cmp7 = 0, $cmp73 = 0, $cmp80 = 0, $condCoding$addr = 0, $contourIndex = 0, $conv = 0, $conv100 = 0, $conv12 = 0, $conv20 = 0, $conv23 = 0, $conv25 = 0, $conv28 = 0, $conv29 = 0, $conv61 = 0, $conv78 = 0, $conv86 = 0, $conv87 = 0, $conv98 = 0, $first_frame_after_reset = 0;
- var $fs_kHz = 0, $i = 0, $idxprom = 0, $inc = 0, $inc92 = 0, $inc95 = 0, $indices = 0, $indices10 = 0, $indices111 = 0, $indices21 = 0, $indices3 = 0, $indices60 = 0, $indices65 = 0, $indices66 = 0, $indices69 = 0, $indices76 = 0, $indices9 = 0, $k = 0, $lagIndex = 0, $lossCnt = 0;
- var $mul = 0, $mul105 = 0, $mul109 = 0, $mul110 = 0, $mul43 = 0, $mul49 = 0, $mul83 = 0, $mul88 = 0, $nb_subfr = 0, $nb_subfr104 = 0, $nb_subfr108 = 0, $nb_subfr68 = 0, $nb_subfr72 = 0, $pNLSF0_Q15 = 0, $pNLSF_Q15 = 0, $prevNLSF_Q15 = 0, $prevNLSF_Q1526 = 0, $prevNLSF_Q1545 = 0, $psDec$addr = 0, $psDecCtrl$addr = 0;
- var $psNLSF_CB = 0, $shl = 0, $shr = 0, $signalType = 0, $sub = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $pNLSF_Q15 = sp + 64|0;
- $pNLSF0_Q15 = sp + 32|0;
- $psDec$addr = $psDec;
- $psDecCtrl$addr = $psDecCtrl;
- $condCoding$addr = $condCoding;
- $0 = $psDecCtrl$addr;
- $Gains_Q16 = ((($0)) + 16|0);
- $1 = $psDec$addr;
- $indices = ((($1)) + 2736|0);
- $2 = $psDec$addr;
- $LastGainIndex = ((($2)) + 2312|0);
- $3 = $condCoding$addr;
- $cmp = ($3|0)==(2);
- $conv = $cmp&1;
- $4 = $psDec$addr;
- $nb_subfr = ((($4)) + 2324|0);
- $5 = HEAP32[$nb_subfr>>2]|0;
- _silk_gains_dequant($Gains_Q16,$indices,$LastGainIndex,$conv,$5);
- $6 = $psDec$addr;
- $indices3 = ((($6)) + 2736|0);
- $NLSFIndices = ((($indices3)) + 8|0);
- $7 = $psDec$addr;
- $psNLSF_CB = ((($7)) + 2732|0);
- $8 = HEAP32[$psNLSF_CB>>2]|0;
- _silk_NLSF_decode($pNLSF_Q15,$NLSFIndices,$8);
- $9 = $psDecCtrl$addr;
- $PredCoef_Q12 = ((($9)) + 32|0);
- $arrayidx = ((($PredCoef_Q12)) + 32|0);
- $10 = $psDec$addr;
- $LPC_order = ((($10)) + 2340|0);
- $11 = HEAP32[$LPC_order>>2]|0;
- _silk_NLSF2A($arrayidx,$pNLSF_Q15,$11);
- $12 = $psDec$addr;
- $first_frame_after_reset = ((($12)) + 2376|0);
- $13 = HEAP32[$first_frame_after_reset>>2]|0;
- $cmp7 = ($13|0)==(1);
- if ($cmp7) {
- $14 = $psDec$addr;
- $indices9 = ((($14)) + 2736|0);
- $NLSFInterpCoef_Q2 = ((($indices9)) + 31|0);
- HEAP8[$NLSFInterpCoef_Q2>>0] = 4;
- }
- $15 = $psDec$addr;
- $indices10 = ((($15)) + 2736|0);
- $NLSFInterpCoef_Q211 = ((($indices10)) + 31|0);
- $16 = HEAP8[$NLSFInterpCoef_Q211>>0]|0;
- $conv12 = $16 << 24 >> 24;
- $cmp13 = ($conv12|0)<(4);
- if ($cmp13) {
- $i = 0;
- while(1) {
- $17 = $i;
- $18 = $psDec$addr;
- $LPC_order16 = ((($18)) + 2340|0);
- $19 = HEAP32[$LPC_order16>>2]|0;
- $cmp17 = ($17|0)<($19|0);
- if (!($cmp17)) {
- break;
- }
- $20 = $psDec$addr;
- $prevNLSF_Q15 = ((($20)) + 2344|0);
- $21 = $i;
- $arrayidx19 = (($prevNLSF_Q15) + ($21<<1)|0);
- $22 = HEAP16[$arrayidx19>>1]|0;
- $conv20 = $22 << 16 >> 16;
- $23 = $psDec$addr;
- $indices21 = ((($23)) + 2736|0);
- $NLSFInterpCoef_Q222 = ((($indices21)) + 31|0);
- $24 = HEAP8[$NLSFInterpCoef_Q222>>0]|0;
- $conv23 = $24 << 24 >> 24;
- $25 = $i;
- $arrayidx24 = (($pNLSF_Q15) + ($25<<1)|0);
- $26 = HEAP16[$arrayidx24>>1]|0;
- $conv25 = $26 << 16 >> 16;
- $27 = $psDec$addr;
- $prevNLSF_Q1526 = ((($27)) + 2344|0);
- $28 = $i;
- $arrayidx27 = (($prevNLSF_Q1526) + ($28<<1)|0);
- $29 = HEAP16[$arrayidx27>>1]|0;
- $conv28 = $29 << 16 >> 16;
- $sub = (($conv25) - ($conv28))|0;
- $mul = Math_imul($conv23, $sub)|0;
- $shr = $mul >> 2;
- $add = (($conv20) + ($shr))|0;
- $conv29 = $add&65535;
- $30 = $i;
- $arrayidx30 = (($pNLSF0_Q15) + ($30<<1)|0);
- HEAP16[$arrayidx30>>1] = $conv29;
- $31 = $i;
- $inc = (($31) + 1)|0;
- $i = $inc;
- }
- $32 = $psDecCtrl$addr;
- $PredCoef_Q1231 = ((($32)) + 32|0);
- $33 = $psDec$addr;
- $LPC_order35 = ((($33)) + 2340|0);
- $34 = HEAP32[$LPC_order35>>2]|0;
- _silk_NLSF2A($PredCoef_Q1231,$pNLSF0_Q15,$34);
- } else {
- $35 = $psDecCtrl$addr;
- $PredCoef_Q1236 = ((($35)) + 32|0);
- $36 = $psDecCtrl$addr;
- $PredCoef_Q1239 = ((($36)) + 32|0);
- $arrayidx40 = ((($PredCoef_Q1239)) + 32|0);
- $37 = $psDec$addr;
- $LPC_order42 = ((($37)) + 2340|0);
- $38 = HEAP32[$LPC_order42>>2]|0;
- $mul43 = $38<<1;
- _memcpy(($PredCoef_Q1236|0),($arrayidx40|0),($mul43|0))|0;
- }
- $39 = $psDec$addr;
- $prevNLSF_Q1545 = ((($39)) + 2344|0);
- $40 = $psDec$addr;
- $LPC_order48 = ((($40)) + 2340|0);
- $41 = HEAP32[$LPC_order48>>2]|0;
- $mul49 = $41<<1;
- _memcpy(($prevNLSF_Q1545|0),($pNLSF_Q15|0),($mul49|0))|0;
- $42 = $psDec$addr;
- $lossCnt = ((($42)) + 4160|0);
- $43 = HEAP32[$lossCnt>>2]|0;
- $tobool = ($43|0)!=(0);
- if ($tobool) {
- $44 = $psDecCtrl$addr;
- $PredCoef_Q1251 = ((($44)) + 32|0);
- $45 = $psDec$addr;
- $LPC_order54 = ((($45)) + 2340|0);
- $46 = HEAP32[$LPC_order54>>2]|0;
- _silk_bwexpander($PredCoef_Q1251,$46,63570);
- $47 = $psDecCtrl$addr;
- $PredCoef_Q1255 = ((($47)) + 32|0);
- $arrayidx56 = ((($PredCoef_Q1255)) + 32|0);
- $48 = $psDec$addr;
- $LPC_order58 = ((($48)) + 2340|0);
- $49 = HEAP32[$LPC_order58>>2]|0;
- _silk_bwexpander($arrayidx56,$49,63570);
- }
- $50 = $psDec$addr;
- $indices60 = ((($50)) + 2736|0);
- $signalType = ((($indices60)) + 29|0);
- $51 = HEAP8[$signalType>>0]|0;
- $conv61 = $51 << 24 >> 24;
- $cmp62 = ($conv61|0)==(2);
- if (!($cmp62)) {
- $84 = $psDecCtrl$addr;
- $85 = $psDec$addr;
- $nb_subfr104 = ((($85)) + 2324|0);
- $86 = HEAP32[$nb_subfr104>>2]|0;
- $mul105 = $86<<2;
- _memset(($84|0),0,($mul105|0))|0;
- $87 = $psDecCtrl$addr;
- $LTPCoef_Q14106 = ((($87)) + 96|0);
- $88 = $psDec$addr;
- $nb_subfr108 = ((($88)) + 2324|0);
- $89 = HEAP32[$nb_subfr108>>2]|0;
- $mul109 = ($89*5)|0;
- $mul110 = $mul109<<1;
- _memset(($LTPCoef_Q14106|0),0,($mul110|0))|0;
- $90 = $psDec$addr;
- $indices111 = ((($90)) + 2736|0);
- $PERIndex112 = ((($indices111)) + 32|0);
- HEAP8[$PERIndex112>>0] = 0;
- $91 = $psDecCtrl$addr;
- $$sink = 0;$$sink1 = $91;
- $LTP_scale_Q14113 = ((($$sink1)) + 136|0);
- HEAP32[$LTP_scale_Q14113>>2] = $$sink;
- STACKTOP = sp;return;
- }
- $52 = $psDec$addr;
- $indices65 = ((($52)) + 2736|0);
- $lagIndex = ((($indices65)) + 26|0);
- $53 = HEAP16[$lagIndex>>1]|0;
- $54 = $psDec$addr;
- $indices66 = ((($54)) + 2736|0);
- $contourIndex = ((($indices66)) + 28|0);
- $55 = HEAP8[$contourIndex>>0]|0;
- $56 = $psDecCtrl$addr;
- $57 = $psDec$addr;
- $fs_kHz = ((($57)) + 2316|0);
- $58 = HEAP32[$fs_kHz>>2]|0;
- $59 = $psDec$addr;
- $nb_subfr68 = ((($59)) + 2324|0);
- $60 = HEAP32[$nb_subfr68>>2]|0;
- _silk_decode_pitch($53,$55,$56,$58,$60);
- $61 = $psDec$addr;
- $indices69 = ((($61)) + 2736|0);
- $PERIndex = ((($indices69)) + 32|0);
- $62 = HEAP8[$PERIndex>>0]|0;
- $idxprom = $62 << 24 >> 24;
- $arrayidx70 = (16684 + ($idxprom<<2)|0);
- $63 = HEAP32[$arrayidx70>>2]|0;
- $cbk_ptr_Q7 = $63;
- $k = 0;
- while(1) {
- $64 = $k;
- $65 = $psDec$addr;
- $nb_subfr72 = ((($65)) + 2324|0);
- $66 = HEAP32[$nb_subfr72>>2]|0;
- $cmp73 = ($64|0)<($66|0);
- $67 = $psDec$addr;
- $indices76 = ((($67)) + 2736|0);
- if (!($cmp73)) {
- break;
- }
- $LTPIndex = ((($indices76)) + 4|0);
- $68 = $k;
- $arrayidx77 = (($LTPIndex) + ($68)|0);
- $69 = HEAP8[$arrayidx77>>0]|0;
- $conv78 = $69 << 24 >> 24;
- $Ix = $conv78;
- $i = 0;
- while(1) {
- $70 = $i;
- $cmp80 = ($70|0)<(5);
- if (!($cmp80)) {
- break;
- }
- $71 = $cbk_ptr_Q7;
- $72 = $Ix;
- $mul83 = ($72*5)|0;
- $73 = $i;
- $add84 = (($mul83) + ($73))|0;
- $arrayidx85 = (($71) + ($add84)|0);
- $74 = HEAP8[$arrayidx85>>0]|0;
- $conv86 = $74 << 24 >> 24;
- $shl = $conv86 << 7;
- $conv87 = $shl&65535;
- $75 = $psDecCtrl$addr;
- $LTPCoef_Q14 = ((($75)) + 96|0);
- $76 = $k;
- $mul88 = ($76*5)|0;
- $77 = $i;
- $add89 = (($mul88) + ($77))|0;
- $arrayidx90 = (($LTPCoef_Q14) + ($add89<<1)|0);
- HEAP16[$arrayidx90>>1] = $conv87;
- $78 = $i;
- $inc92 = (($78) + 1)|0;
- $i = $inc92;
- }
- $79 = $k;
- $inc95 = (($79) + 1)|0;
- $k = $inc95;
- }
- $LTP_scaleIndex = ((($indices76)) + 33|0);
- $80 = HEAP8[$LTP_scaleIndex>>0]|0;
- $conv98 = $80 << 24 >> 24;
- $Ix = $conv98;
- $81 = $Ix;
- $arrayidx99 = (25006 + ($81<<1)|0);
- $82 = HEAP16[$arrayidx99>>1]|0;
- $conv100 = $82 << 16 >> 16;
- $83 = $psDecCtrl$addr;
- $$sink = $conv100;$$sink1 = $83;
- $LTP_scale_Q14113 = ((($$sink1)) + 136|0);
- HEAP32[$LTP_scale_Q14113>>2] = $$sink;
- STACKTOP = sp;return;
-}
-function _silk_decode_indices($psDec,$psRangeDec,$FrameIndex,$decode_LBRR,$condCoding) {
- $psDec = $psDec|0;
- $psRangeDec = $psRangeDec|0;
- $FrameIndex = $FrameIndex|0;
- $decode_LBRR = $decode_LBRR|0;
- $condCoding = $condCoding|0;
- var $$sink = 0, $$sink1 = 0, $$sink2 = 0, $$sink3 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0;
- var $112 = 0, $113 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
- var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
- var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
- var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
- var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $CB1_iCDF = 0, $FrameIndex$addr = 0;
- var $Ix = 0, $LTPIndex = 0, $LTP_scaleIndex174 = 0, $NLSFIndices = 0, $NLSFIndices52 = 0, $NLSFIndices81 = 0, $NLSFInterpCoef_Q296 = 0, $PERIndex = 0, $PERIndex156 = 0, $Seed = 0, $VAD_flags = 0, $add = 0, $add117 = 0, $add138 = 0, $add27 = 0, $add75 = 0, $add82 = 0, $and = 0, $arrayidx = 0, $arrayidx14 = 0;
- var $arrayidx158 = 0, $arrayidx162 = 0, $arrayidx36 = 0, $arrayidx43 = 0, $arrayidx62 = 0, $arrayidx64 = 0, $arrayidx83 = 0, $call = 0, $call109 = 0, $call124 = 0, $call132 = 0, $call144 = 0, $call147 = 0, $call15 = 0, $call159 = 0, $call169 = 0, $call181 = 0, $call2 = 0, $call20 = 0, $call32 = 0;
- var $call44 = 0, $call65 = 0, $call69 = 0, $call7 = 0, $call74 = 0, $call91 = 0, $cmp = 0, $cmp101 = 0, $cmp104 = 0, $cmp106 = 0, $cmp112 = 0, $cmp152 = 0, $cmp166 = 0, $cmp30 = 0, $cmp58 = 0, $cmp66 = 0, $cmp71 = 0, $cmp88 = 0, $condCoding$addr = 0, $contourIndex = 0;
- var $conv = 0, $conv100 = 0, $conv110 = 0, $conv111 = 0, $conv116 = 0, $conv118 = 0, $conv125 = 0, $conv126 = 0, $conv129 = 0, $conv133 = 0, $conv134 = 0, $conv137 = 0, $conv139 = 0, $conv145 = 0, $conv148 = 0, $conv16 = 0, $conv160 = 0, $conv170 = 0, $conv179 = 0, $conv182 = 0;
- var $conv21 = 0, $conv22 = 0, $conv26 = 0, $conv28 = 0, $conv3 = 0, $conv33 = 0, $conv39 = 0, $conv42 = 0, $conv45 = 0, $conv54 = 0, $conv57 = 0, $conv79 = 0, $conv8 = 0, $conv92 = 0, $decode_LBRR$addr = 0, $decode_absolute_lagIndex = 0, $delta_lagIndex = 0, $ec_iCDF = 0, $ec_ix = 0, $ec_prevLagIndex = 0;
- var $ec_prevLagIndex143 = 0, $ec_prevSignalType = 0, $ec_prevSignalType180 = 0, $fs_kHz = 0, $i = 0, $idxprom = 0, $idxprom157 = 0, $idxprom63 = 0, $inc = 0, $inc164 = 0, $inc85 = 0, $indices = 0, $indices119 = 0, $indices12 = 0, $indices130 = 0, $indices135 = 0, $indices141 = 0, $indices146 = 0, $indices149 = 0, $indices155 = 0;
- var $indices161 = 0, $indices17 = 0, $indices173 = 0, $indices177 = 0, $indices183 = 0, $indices23 = 0, $indices34 = 0, $indices37 = 0, $indices4 = 0, $indices46 = 0, $indices51 = 0, $indices80 = 0, $indices9 = 0, $indices95 = 0, $indices98 = 0, $k = 0, $lagIndex = 0, $lagIndex131 = 0, $lagIndex136 = 0, $lagIndex142 = 0;
- var $mul = 0, $mul128 = 0, $nb_subfr = 0, $nb_subfr151 = 0, $nb_subfr87 = 0, $order = 0, $pitch_contour_iCDF = 0, $pitch_lag_low_bits_iCDF = 0, $pred_Q8 = 0, $psDec$addr = 0, $psNLSF_CB = 0, $psNLSF_CB41 = 0, $psNLSF_CB50 = 0, $psNLSF_CB56 = 0, $psNLSF_CB61 = 0, $psRangeDec$addr = 0, $quantOffsetType = 0, $shl = 0, $shr = 0, $shr127 = 0;
- var $shr40 = 0, $signalType = 0, $signalType13 = 0, $signalType178 = 0, $signalType38 = 0, $signalType99 = 0, $sub = 0, $sub115 = 0, $sub78 = 0, $tobool = 0, $tobool1 = 0, $tobool122 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $ec_ix = sp + 40|0;
- $pred_Q8 = sp + 72|0;
- $psDec$addr = $psDec;
- $psRangeDec$addr = $psRangeDec;
- $FrameIndex$addr = $FrameIndex;
- $decode_LBRR$addr = $decode_LBRR;
- $condCoding$addr = $condCoding;
- $0 = $decode_LBRR$addr;
- $tobool = ($0|0)!=(0);
- if ($tobool) {
- label = 3;
- } else {
- $1 = $psDec$addr;
- $VAD_flags = ((($1)) + 2404|0);
- $2 = $FrameIndex$addr;
- $arrayidx = (($VAD_flags) + ($2<<2)|0);
- $3 = HEAP32[$arrayidx>>2]|0;
- $tobool1 = ($3|0)!=(0);
- if ($tobool1) {
- label = 3;
- } else {
- $5 = $psRangeDec$addr;
- $call2 = (_ec_dec_icdf($5,27669,8)|0);
- $Ix = $call2;
- }
- }
- if ((label|0) == 3) {
- $4 = $psRangeDec$addr;
- $call = (_ec_dec_icdf($4,27665,8)|0);
- $add = (($call) + 2)|0;
- $Ix = $add;
- }
- $6 = $Ix;
- $shr = $6 >> 1;
- $conv = $shr&255;
- $7 = $psDec$addr;
- $indices = ((($7)) + 2736|0);
- $signalType = ((($indices)) + 29|0);
- HEAP8[$signalType>>0] = $conv;
- $8 = $Ix;
- $and = $8 & 1;
- $conv3 = $and&255;
- $9 = $psDec$addr;
- $indices4 = ((($9)) + 2736|0);
- $quantOffsetType = ((($indices4)) + 30|0);
- HEAP8[$quantOffsetType>>0] = $conv3;
- $10 = $condCoding$addr;
- $cmp = ($10|0)==(2);
- $11 = $psRangeDec$addr;
- if ($cmp) {
- $call7 = (_ec_dec_icdf($11,27128,8)|0);
- $conv8 = $call7&255;
- $12 = $psDec$addr;
- $indices9 = ((($12)) + 2736|0);
- HEAP8[$indices9>>0] = $conv8;
- } else {
- $13 = $psDec$addr;
- $indices12 = ((($13)) + 2736|0);
- $signalType13 = ((($indices12)) + 29|0);
- $14 = HEAP8[$signalType13>>0]|0;
- $idxprom = $14 << 24 >> 24;
- $arrayidx14 = (27104 + ($idxprom<<3)|0);
- $call15 = (_ec_dec_icdf($11,$arrayidx14,8)|0);
- $shl = $call15 << 3;
- $conv16 = $shl&255;
- $15 = $psDec$addr;
- $indices17 = ((($15)) + 2736|0);
- HEAP8[$indices17>>0] = $conv16;
- $16 = $psRangeDec$addr;
- $call20 = (_ec_dec_icdf($16,27694,8)|0);
- $conv21 = $call20&255;
- $conv22 = $conv21 << 24 >> 24;
- $17 = $psDec$addr;
- $indices23 = ((($17)) + 2736|0);
- $18 = HEAP8[$indices23>>0]|0;
- $conv26 = $18 << 24 >> 24;
- $add27 = (($conv26) + ($conv22))|0;
- $conv28 = $add27&255;
- HEAP8[$indices23>>0] = $conv28;
- }
- $i = 1;
- while(1) {
- $19 = $i;
- $20 = $psDec$addr;
- $nb_subfr = ((($20)) + 2324|0);
- $21 = HEAP32[$nb_subfr>>2]|0;
- $cmp30 = ($19|0)<($21|0);
- $22 = $psRangeDec$addr;
- if (!($cmp30)) {
- break;
- }
- $call32 = (_ec_dec_icdf($22,27128,8)|0);
- $conv33 = $call32&255;
- $23 = $psDec$addr;
- $indices34 = ((($23)) + 2736|0);
- $24 = $i;
- $arrayidx36 = (($indices34) + ($24)|0);
- HEAP8[$arrayidx36>>0] = $conv33;
- $25 = $i;
- $inc = (($25) + 1)|0;
- $i = $inc;
- }
- $26 = $psDec$addr;
- $psNLSF_CB = ((($26)) + 2732|0);
- $27 = HEAP32[$psNLSF_CB>>2]|0;
- $CB1_iCDF = ((($27)) + 12|0);
- $28 = HEAP32[$CB1_iCDF>>2]|0;
- $29 = $psDec$addr;
- $indices37 = ((($29)) + 2736|0);
- $signalType38 = ((($indices37)) + 29|0);
- $30 = HEAP8[$signalType38>>0]|0;
- $conv39 = $30 << 24 >> 24;
- $shr40 = $conv39 >> 1;
- $31 = $psDec$addr;
- $psNLSF_CB41 = ((($31)) + 2732|0);
- $32 = HEAP32[$psNLSF_CB41>>2]|0;
- $33 = HEAP16[$32>>1]|0;
- $conv42 = $33 << 16 >> 16;
- $mul = Math_imul($shr40, $conv42)|0;
- $arrayidx43 = (($28) + ($mul)|0);
- $call44 = (_ec_dec_icdf($22,$arrayidx43,8)|0);
- $conv45 = $call44&255;
- $34 = $psDec$addr;
- $indices46 = ((($34)) + 2736|0);
- $NLSFIndices = ((($indices46)) + 8|0);
- HEAP8[$NLSFIndices>>0] = $conv45;
- $35 = $psDec$addr;
- $psNLSF_CB50 = ((($35)) + 2732|0);
- $36 = HEAP32[$psNLSF_CB50>>2]|0;
- $37 = $psDec$addr;
- $indices51 = ((($37)) + 2736|0);
- $NLSFIndices52 = ((($indices51)) + 8|0);
- $38 = HEAP8[$NLSFIndices52>>0]|0;
- $conv54 = $38 << 24 >> 24;
- _silk_NLSF_unpack($ec_ix,$pred_Q8,$36,$conv54);
- $i = 0;
- while(1) {
- $39 = $i;
- $40 = $psDec$addr;
- $psNLSF_CB56 = ((($40)) + 2732|0);
- $41 = HEAP32[$psNLSF_CB56>>2]|0;
- $order = ((($41)) + 2|0);
- $42 = HEAP16[$order>>1]|0;
- $conv57 = $42 << 16 >> 16;
- $cmp58 = ($39|0)<($conv57|0);
- if (!($cmp58)) {
- break;
- }
- $43 = $psRangeDec$addr;
- $44 = $psDec$addr;
- $psNLSF_CB61 = ((($44)) + 2732|0);
- $45 = HEAP32[$psNLSF_CB61>>2]|0;
- $ec_iCDF = ((($45)) + 24|0);
- $46 = HEAP32[$ec_iCDF>>2]|0;
- $47 = $i;
- $arrayidx62 = (($ec_ix) + ($47<<1)|0);
- $48 = HEAP16[$arrayidx62>>1]|0;
- $idxprom63 = $48 << 16 >> 16;
- $arrayidx64 = (($46) + ($idxprom63)|0);
- $call65 = (_ec_dec_icdf($43,$arrayidx64,8)|0);
- $Ix = $call65;
- $49 = $Ix;
- $cmp66 = ($49|0)==(0);
- if ($cmp66) {
- $50 = $psRangeDec$addr;
- $call69 = (_ec_dec_icdf($50,27702,8)|0);
- $51 = $Ix;
- $sub = (($51) - ($call69))|0;
- $Ix = $sub;
- } else {
- $52 = $Ix;
- $cmp71 = ($52|0)==(8);
- if ($cmp71) {
- $53 = $psRangeDec$addr;
- $call74 = (_ec_dec_icdf($53,27702,8)|0);
- $54 = $Ix;
- $add75 = (($54) + ($call74))|0;
- $Ix = $add75;
- }
- }
- $55 = $Ix;
- $sub78 = (($55) - 4)|0;
- $conv79 = $sub78&255;
- $56 = $psDec$addr;
- $indices80 = ((($56)) + 2736|0);
- $NLSFIndices81 = ((($indices80)) + 8|0);
- $57 = $i;
- $add82 = (($57) + 1)|0;
- $arrayidx83 = (($NLSFIndices81) + ($add82)|0);
- HEAP8[$arrayidx83>>0] = $conv79;
- $58 = $i;
- $inc85 = (($58) + 1)|0;
- $i = $inc85;
- }
- $59 = $psDec$addr;
- $nb_subfr87 = ((($59)) + 2324|0);
- $60 = HEAP32[$nb_subfr87>>2]|0;
- $cmp88 = ($60|0)==(4);
- if ($cmp88) {
- $61 = $psRangeDec$addr;
- $call91 = (_ec_dec_icdf($61,27671,8)|0);
- $conv92 = $call91&255;
- $62 = $psDec$addr;
- $$sink = $conv92;$$sink1 = $62;
- } else {
- $63 = $psDec$addr;
- $$sink = 4;$$sink1 = $63;
- }
- $indices95 = ((($$sink1)) + 2736|0);
- $NLSFInterpCoef_Q296 = ((($indices95)) + 31|0);
- HEAP8[$NLSFInterpCoef_Q296>>0] = $$sink;
- $64 = $psDec$addr;
- $indices98 = ((($64)) + 2736|0);
- $signalType99 = ((($indices98)) + 29|0);
- $65 = HEAP8[$signalType99>>0]|0;
- $conv100 = $65 << 24 >> 24;
- $cmp101 = ($conv100|0)==(2);
- if (!($cmp101)) {
- $109 = $psDec$addr;
- $indices177 = ((($109)) + 2736|0);
- $signalType178 = ((($indices177)) + 29|0);
- $110 = HEAP8[$signalType178>>0]|0;
- $conv179 = $110 << 24 >> 24;
- $111 = $psDec$addr;
- $ec_prevSignalType180 = ((($111)) + 2396|0);
- HEAP32[$ec_prevSignalType180>>2] = $conv179;
- $112 = $psRangeDec$addr;
- $call181 = (_ec_dec_icdf($112,27679,8)|0);
- $conv182 = $call181&255;
- $113 = $psDec$addr;
- $indices183 = ((($113)) + 2736|0);
- $Seed = ((($indices183)) + 34|0);
- HEAP8[$Seed>>0] = $conv182;
- STACKTOP = sp;return;
- }
- $decode_absolute_lagIndex = 1;
- $66 = $condCoding$addr;
- $cmp104 = ($66|0)==(2);
- if ($cmp104) {
- $67 = $psDec$addr;
- $ec_prevSignalType = ((($67)) + 2396|0);
- $68 = HEAP32[$ec_prevSignalType>>2]|0;
- $cmp106 = ($68|0)==(2);
- if ($cmp106) {
- $69 = $psRangeDec$addr;
- $call109 = (_ec_dec_icdf($69,27741,8)|0);
- $conv110 = $call109&65535;
- $conv111 = $conv110 << 16 >> 16;
- $delta_lagIndex = $conv111;
- $70 = $delta_lagIndex;
- $cmp112 = ($70|0)>(0);
- if ($cmp112) {
- $71 = $delta_lagIndex;
- $sub115 = (($71) - 9)|0;
- $delta_lagIndex = $sub115;
- $72 = $psDec$addr;
- $ec_prevLagIndex = ((($72)) + 2400|0);
- $73 = HEAP16[$ec_prevLagIndex>>1]|0;
- $conv116 = $73 << 16 >> 16;
- $74 = $delta_lagIndex;
- $add117 = (($conv116) + ($74))|0;
- $conv118 = $add117&65535;
- $75 = $psDec$addr;
- $indices119 = ((($75)) + 2736|0);
- $lagIndex = ((($indices119)) + 26|0);
- HEAP16[$lagIndex>>1] = $conv118;
- $decode_absolute_lagIndex = 0;
- }
- }
- }
- $76 = $decode_absolute_lagIndex;
- $tobool122 = ($76|0)!=(0);
- if ($tobool122) {
- $77 = $psRangeDec$addr;
- $call124 = (_ec_dec_icdf($77,27709,8)|0);
- $conv125 = $call124&65535;
- $conv126 = $conv125 << 16 >> 16;
- $78 = $psDec$addr;
- $fs_kHz = ((($78)) + 2316|0);
- $79 = HEAP32[$fs_kHz>>2]|0;
- $shr127 = $79 >> 1;
- $mul128 = Math_imul($conv126, $shr127)|0;
- $conv129 = $mul128&65535;
- $80 = $psDec$addr;
- $indices130 = ((($80)) + 2736|0);
- $lagIndex131 = ((($indices130)) + 26|0);
- HEAP16[$lagIndex131>>1] = $conv129;
- $81 = $psRangeDec$addr;
- $82 = $psDec$addr;
- $pitch_lag_low_bits_iCDF = ((($82)) + 2380|0);
- $83 = HEAP32[$pitch_lag_low_bits_iCDF>>2]|0;
- $call132 = (_ec_dec_icdf($81,$83,8)|0);
- $conv133 = $call132&65535;
- $conv134 = $conv133 << 16 >> 16;
- $84 = $psDec$addr;
- $indices135 = ((($84)) + 2736|0);
- $lagIndex136 = ((($indices135)) + 26|0);
- $85 = HEAP16[$lagIndex136>>1]|0;
- $conv137 = $85 << 16 >> 16;
- $add138 = (($conv137) + ($conv134))|0;
- $conv139 = $add138&65535;
- HEAP16[$lagIndex136>>1] = $conv139;
- }
- $86 = $psDec$addr;
- $indices141 = ((($86)) + 2736|0);
- $lagIndex142 = ((($indices141)) + 26|0);
- $87 = HEAP16[$lagIndex142>>1]|0;
- $88 = $psDec$addr;
- $ec_prevLagIndex143 = ((($88)) + 2400|0);
- HEAP16[$ec_prevLagIndex143>>1] = $87;
- $89 = $psRangeDec$addr;
- $90 = $psDec$addr;
- $pitch_contour_iCDF = ((($90)) + 2384|0);
- $91 = HEAP32[$pitch_contour_iCDF>>2]|0;
- $call144 = (_ec_dec_icdf($89,$91,8)|0);
- $conv145 = $call144&255;
- $92 = $psDec$addr;
- $indices146 = ((($92)) + 2736|0);
- $contourIndex = ((($indices146)) + 28|0);
- HEAP8[$contourIndex>>0] = $conv145;
- $93 = $psRangeDec$addr;
- $call147 = (_ec_dec_icdf($93,27169,8)|0);
- $conv148 = $call147&255;
- $94 = $psDec$addr;
- $indices149 = ((($94)) + 2736|0);
- $PERIndex = ((($indices149)) + 32|0);
- HEAP8[$PERIndex>>0] = $conv148;
- $k = 0;
- while(1) {
- $95 = $k;
- $96 = $psDec$addr;
- $nb_subfr151 = ((($96)) + 2324|0);
- $97 = HEAP32[$nb_subfr151>>2]|0;
- $cmp152 = ($95|0)<($97|0);
- if (!($cmp152)) {
- break;
- }
- $98 = $psRangeDec$addr;
- $99 = $psDec$addr;
- $indices155 = ((($99)) + 2736|0);
- $PERIndex156 = ((($indices155)) + 32|0);
- $100 = HEAP8[$PERIndex156>>0]|0;
- $idxprom157 = $100 << 24 >> 24;
- $arrayidx158 = (16660 + ($idxprom157<<2)|0);
- $101 = HEAP32[$arrayidx158>>2]|0;
- $call159 = (_ec_dec_icdf($98,$101,8)|0);
- $conv160 = $call159&255;
- $102 = $psDec$addr;
- $indices161 = ((($102)) + 2736|0);
- $LTPIndex = ((($indices161)) + 4|0);
- $103 = $k;
- $arrayidx162 = (($LTPIndex) + ($103)|0);
- HEAP8[$arrayidx162>>0] = $conv160;
- $104 = $k;
- $inc164 = (($104) + 1)|0;
- $k = $inc164;
- }
- $105 = $condCoding$addr;
- $cmp166 = ($105|0)==(0);
- if ($cmp166) {
- $106 = $psRangeDec$addr;
- $call169 = (_ec_dec_icdf($106,27662,8)|0);
- $conv170 = $call169&255;
- $107 = $psDec$addr;
- $$sink2 = $conv170;$$sink3 = $107;
- } else {
- $108 = $psDec$addr;
- $$sink2 = 0;$$sink3 = $108;
- }
- $indices173 = ((($$sink3)) + 2736|0);
- $LTP_scaleIndex174 = ((($indices173)) + 33|0);
- HEAP8[$LTP_scaleIndex174>>0] = $$sink2;
- $109 = $psDec$addr;
- $indices177 = ((($109)) + 2736|0);
- $signalType178 = ((($indices177)) + 29|0);
- $110 = HEAP8[$signalType178>>0]|0;
- $conv179 = $110 << 24 >> 24;
- $111 = $psDec$addr;
- $ec_prevSignalType180 = ((($111)) + 2396|0);
- HEAP32[$ec_prevSignalType180>>2] = $conv179;
- $112 = $psRangeDec$addr;
- $call181 = (_ec_dec_icdf($112,27679,8)|0);
- $conv182 = $call181&255;
- $113 = $psDec$addr;
- $indices183 = ((($113)) + 2736|0);
- $Seed = ((($indices183)) + 34|0);
- HEAP8[$Seed>>0] = $conv182;
- STACKTOP = sp;return;
-}
-function _silk_decode_pulses($psRangeDec,$pulses,$signalType,$quantOffsetType,$frame_length) {
- $psRangeDec = $psRangeDec|0;
- $pulses = $pulses|0;
- $signalType = $signalType|0;
- $quantOffsetType = $quantOffsetType|0;
- $frame_length = $frame_length|0;
- var $$sink = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
- var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
- var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $7 = 0;
- var $8 = 0, $9 = 0, $RateLevelIndex = 0, $abs_q = 0, $add = 0, $add$ptr = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx12 = 0, $arrayidx15 = 0, $arrayidx2 = 0, $arrayidx21 = 0, $arrayidx28 = 0, $arrayidx29 = 0, $arrayidx42 = 0, $arrayidx46 = 0, $arrayidx5 = 0, $arrayidx50 = 0, $arrayidx55 = 0, $arrayidx66 = 0;
- var $arrayidx71 = 0, $arrayidx8 = 0, $call = 0, $call14 = 0, $call14$sink = 0, $call6 = 0, $call61 = 0, $cdf_ptr = 0, $cmp = 0, $cmp13 = 0, $cmp18 = 0, $cmp22 = 0, $cmp39 = 0, $cmp4 = 0, $cmp43 = 0, $cmp52 = 0, $cmp58 = 0, $cmp9 = 0, $conv = 0, $conv25 = 0;
- var $conv26 = 0, $conv47 = 0, $conv48 = 0, $conv56 = 0, $conv65 = 0, $frame_length$addr = 0, $i = 0, $inc = 0, $inc11 = 0, $inc16 = 0, $inc36 = 0, $inc63 = 0, $inc68 = 0, $inc74 = 0, $iter = 0, $j = 0, $k = 0, $mul = 0, $mul27 = 0, $mul49 = 0;
- var $nLS = 0, $nLshifts = 0, $or = 0, $psRangeDec$addr = 0, $pulses$addr = 0, $pulses_ptr = 0, $quantOffsetType$addr = 0, $shl = 0, $shl70 = 0, $shr = 0, $shr1 = 0, $signalType$addr = 0, $sum_pulses = 0, dest = 0, label = 0, sp = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 224|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(224|0);
- $sum_pulses = sp + 88|0;
- $nLshifts = sp + 8|0;
- $psRangeDec$addr = $psRangeDec;
- $pulses$addr = $pulses;
- $signalType$addr = $signalType;
- $quantOffsetType$addr = $quantOffsetType;
- $frame_length$addr = $frame_length;
- $0 = $psRangeDec$addr;
- $1 = $signalType$addr;
- $shr = $1 >> 1;
- $arrayidx = (28168 + (($shr*9)|0)|0);
- $call = (_ec_dec_icdf($0,$arrayidx,8)|0);
- $RateLevelIndex = $call;
- $2 = $frame_length$addr;
- $shr1 = $2 >> 4;
- $iter = $shr1;
- $3 = $iter;
- $mul = $3<<4;
- $4 = $frame_length$addr;
- $cmp = ($mul|0)<($4|0);
- if ($cmp) {
- $5 = $iter;
- $inc = (($5) + 1)|0;
- $iter = $inc;
- }
- $6 = $RateLevelIndex;
- $arrayidx2 = (27826 + (($6*18)|0)|0);
- $cdf_ptr = $arrayidx2;
- $i = 0;
- while(1) {
- $7 = $i;
- $8 = $iter;
- $cmp4 = ($7|0)<($8|0);
- if (!($cmp4)) {
- break;
- }
- $9 = $i;
- $arrayidx5 = (($nLshifts) + ($9<<2)|0);
- HEAP32[$arrayidx5>>2] = 0;
- $10 = $psRangeDec$addr;
- $11 = $cdf_ptr;
- $call6 = (_ec_dec_icdf($10,$11,8)|0);
- $12 = $i;
- $$sink = $12;$call14$sink = $call6;
- while(1) {
- $arrayidx15 = (($sum_pulses) + ($$sink<<2)|0);
- HEAP32[$arrayidx15>>2] = $call14$sink;
- $13 = $i;
- $arrayidx8 = (($sum_pulses) + ($13<<2)|0);
- $14 = HEAP32[$arrayidx8>>2]|0;
- $cmp9 = ($14|0)==(17);
- $15 = $i;
- if (!($cmp9)) {
- break;
- }
- $arrayidx10 = (($nLshifts) + ($15<<2)|0);
- $16 = HEAP32[$arrayidx10>>2]|0;
- $inc11 = (($16) + 1)|0;
- HEAP32[$arrayidx10>>2] = $inc11;
- $17 = $psRangeDec$addr;
- $18 = $i;
- $arrayidx12 = (($nLshifts) + ($18<<2)|0);
- $19 = HEAP32[$arrayidx12>>2]|0;
- $cmp13 = ($19|0)==(10);
- $conv = $cmp13&1;
- $add$ptr = ((27988) + ($conv)|0);
- $call14 = (_ec_dec_icdf($17,$add$ptr,8)|0);
- $20 = $i;
- $$sink = $20;$call14$sink = $call14;
- }
- $inc16 = (($15) + 1)|0;
- $i = $inc16;
- }
- $i = 0;
- while(1) {
- $21 = $i;
- $22 = $iter;
- $cmp18 = ($21|0)<($22|0);
- if (!($cmp18)) {
- break;
- }
- $23 = $i;
- $arrayidx21 = (($sum_pulses) + ($23<<2)|0);
- $24 = HEAP32[$arrayidx21>>2]|0;
- $cmp22 = ($24|0)>(0);
- $25 = $pulses$addr;
- $26 = $i;
- $conv25 = $26&65535;
- $conv26 = $conv25 << 16 >> 16;
- $mul27 = $conv26<<4;
- $arrayidx28 = (($25) + ($mul27<<1)|0);
- if ($cmp22) {
- $27 = $psRangeDec$addr;
- $28 = $i;
- $arrayidx29 = (($sum_pulses) + ($28<<2)|0);
- $29 = HEAP32[$arrayidx29>>2]|0;
- _silk_shell_decoder($arrayidx28,$27,$29);
- } else {
- dest=$arrayidx28; stop=dest+32|0; do { HEAP16[dest>>1]=0|0; dest=dest+2|0; } while ((dest|0) < (stop|0));
- }
- $30 = $i;
- $inc36 = (($30) + 1)|0;
- $i = $inc36;
- }
- $i = 0;
- while(1) {
- $31 = $i;
- $32 = $iter;
- $cmp39 = ($31|0)<($32|0);
- if (!($cmp39)) {
- break;
- }
- $33 = $i;
- $arrayidx42 = (($nLshifts) + ($33<<2)|0);
- $34 = HEAP32[$arrayidx42>>2]|0;
- $cmp43 = ($34|0)>(0);
- if ($cmp43) {
- $35 = $i;
- $arrayidx46 = (($nLshifts) + ($35<<2)|0);
- $36 = HEAP32[$arrayidx46>>2]|0;
- $nLS = $36;
- $37 = $pulses$addr;
- $38 = $i;
- $conv47 = $38&65535;
- $conv48 = $conv47 << 16 >> 16;
- $mul49 = $conv48<<4;
- $arrayidx50 = (($37) + ($mul49<<1)|0);
- $pulses_ptr = $arrayidx50;
- $k = 0;
- while(1) {
- $39 = $k;
- $cmp52 = ($39|0)<(16);
- if (!($cmp52)) {
- break;
- }
- $40 = $pulses_ptr;
- $41 = $k;
- $arrayidx55 = (($40) + ($41<<1)|0);
- $42 = HEAP16[$arrayidx55>>1]|0;
- $conv56 = $42 << 16 >> 16;
- $abs_q = $conv56;
- $j = 0;
- while(1) {
- $43 = $j;
- $44 = $nLS;
- $cmp58 = ($43|0)<($44|0);
- $45 = $abs_q;
- if (!($cmp58)) {
- break;
- }
- $shl = $45 << 1;
- $abs_q = $shl;
- $46 = $psRangeDec$addr;
- $call61 = (_ec_dec_icdf($46,27660,8)|0);
- $47 = $abs_q;
- $add = (($47) + ($call61))|0;
- $abs_q = $add;
- $48 = $j;
- $inc63 = (($48) + 1)|0;
- $j = $inc63;
- }
- $conv65 = $45&65535;
- $49 = $pulses_ptr;
- $50 = $k;
- $arrayidx66 = (($49) + ($50<<1)|0);
- HEAP16[$arrayidx66>>1] = $conv65;
- $51 = $k;
- $inc68 = (($51) + 1)|0;
- $k = $inc68;
- }
- $52 = $nLS;
- $shl70 = $52 << 5;
- $53 = $i;
- $arrayidx71 = (($sum_pulses) + ($53<<2)|0);
- $54 = HEAP32[$arrayidx71>>2]|0;
- $or = $54 | $shl70;
- HEAP32[$arrayidx71>>2] = $or;
- }
- $55 = $i;
- $inc74 = (($55) + 1)|0;
- $i = $inc74;
- }
- $56 = $psRangeDec$addr;
- $57 = $pulses$addr;
- $58 = $frame_length$addr;
- $59 = $signalType$addr;
- $60 = $quantOffsetType$addr;
- _silk_decode_signs($56,$57,$58,$59,$60,$sum_pulses);
- STACKTOP = sp;return;
-}
-function _silk_decoder_set_fs($psDec,$fs_kHz,$fs_API_Hz) {
- $psDec = $psDec|0;
- $fs_kHz = $fs_kHz|0;
- $fs_API_Hz = $fs_API_Hz|0;
- var $$sink = 0, $$sink1 = 0, $$sink1$sink = 0, $$sink2 = 0, $$sink3 = 0, $$sink4 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0;
- var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0;
- var $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $LPC_order = 0, $LastGainIndex = 0, $add = 0, $call = 0, $cmp = 0, $cmp10 = 0, $cmp17 = 0, $cmp21 = 0, $cmp24 = 0, $cmp28 = 0, $cmp44 = 0, $cmp50 = 0, $cmp53 = 0, $cmp60 = 0, $cmp64 = 0, $cmp69 = 0, $conv = 0, $conv1 = 0, $conv12 = 0;
- var $conv13 = 0, $conv2 = 0, $conv3 = 0, $conv47 = 0, $conv48 = 0, $conv5 = 0, $conv6 = 0, $first_frame_after_reset = 0, $frame_length = 0, $frame_length20 = 0, $frame_length80 = 0, $fs_API_Hz$addr = 0, $fs_API_hz = 0, $fs_API_hz15 = 0, $fs_kHz$addr = 0, $fs_kHz16 = 0, $fs_kHz43 = 0, $fs_kHz79 = 0, $fs_kHz8 = 0, $lagPrev = 0;
- var $ltp_mem_length = 0, $mul = 0, $mul14 = 0, $mul49 = 0, $mul7 = 0, $nb_subfr = 0, $nb_subfr27 = 0, $or$cond = 0, $outBuf = 0, $pitch_contour_iCDF = 0, $pitch_lag_low_bits_iCDF67 = 0, $prevSignalType = 0, $psDec$addr = 0, $psNLSF_CB58 = 0, $resampler_state = 0, $ret = 0, $sLPC_Q14_buf = 0, $silk_NLSF_CB_WB$sink = 0, $subfr_length = 0, $subfr_length4 = 0;
- var dest = 0, label = 0, sp = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $psDec$addr = $psDec;
- $fs_kHz$addr = $fs_kHz;
- $fs_API_Hz$addr = $fs_API_Hz;
- $ret = 0;
- $0 = $fs_kHz$addr;
- $conv = $0&65535;
- $conv1 = $conv << 16 >> 16;
- $mul = ($conv1*5)|0;
- $1 = $psDec$addr;
- $subfr_length = ((($1)) + 2332|0);
- HEAP32[$subfr_length>>2] = $mul;
- $2 = $psDec$addr;
- $nb_subfr = ((($2)) + 2324|0);
- $3 = HEAP32[$nb_subfr>>2]|0;
- $conv2 = $3&65535;
- $conv3 = $conv2 << 16 >> 16;
- $4 = $psDec$addr;
- $subfr_length4 = ((($4)) + 2332|0);
- $5 = HEAP32[$subfr_length4>>2]|0;
- $conv5 = $5&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = Math_imul($conv3, $conv6)|0;
- $frame_length = $mul7;
- $6 = $psDec$addr;
- $fs_kHz8 = ((($6)) + 2316|0);
- $7 = HEAP32[$fs_kHz8>>2]|0;
- $8 = $fs_kHz$addr;
- $cmp = ($7|0)!=($8|0);
- if ($cmp) {
- label = 3;
- } else {
- $9 = $psDec$addr;
- $fs_API_hz = ((($9)) + 2320|0);
- $10 = HEAP32[$fs_API_hz>>2]|0;
- $11 = $fs_API_Hz$addr;
- $cmp10 = ($10|0)!=($11|0);
- if ($cmp10) {
- label = 3;
- }
- }
- if ((label|0) == 3) {
- $12 = $psDec$addr;
- $resampler_state = ((($12)) + 2432|0);
- $13 = $fs_kHz$addr;
- $conv12 = $13&65535;
- $conv13 = $conv12 << 16 >> 16;
- $mul14 = ($conv13*1000)|0;
- $14 = $fs_API_Hz$addr;
- $call = (_silk_resampler_init($resampler_state,$mul14,$14,0)|0);
- $15 = $ret;
- $add = (($15) + ($call))|0;
- $ret = $add;
- $16 = $fs_API_Hz$addr;
- $17 = $psDec$addr;
- $fs_API_hz15 = ((($17)) + 2320|0);
- HEAP32[$fs_API_hz15>>2] = $16;
- }
- $18 = $psDec$addr;
- $fs_kHz16 = ((($18)) + 2316|0);
- $19 = HEAP32[$fs_kHz16>>2]|0;
- $20 = $fs_kHz$addr;
- $cmp17 = ($19|0)!=($20|0);
- if (!($cmp17)) {
- $21 = $frame_length;
- $22 = $psDec$addr;
- $frame_length20 = ((($22)) + 2328|0);
- $23 = HEAP32[$frame_length20>>2]|0;
- $cmp21 = ($21|0)!=($23|0);
- if (!($cmp21)) {
- $54 = $ret;
- STACKTOP = sp;return ($54|0);
- }
- }
- $24 = $fs_kHz$addr;
- $cmp24 = ($24|0)==(8);
- $25 = $psDec$addr;
- $nb_subfr27 = ((($25)) + 2324|0);
- $26 = HEAP32[$nb_subfr27>>2]|0;
- $cmp28 = ($26|0)==(4);
- $27 = $psDec$addr;
- $pitch_contour_iCDF = ((($27)) + 2384|0);
- $$sink1 = $cmp28 ? 27762 : 27807;
- $$sink = $cmp28 ? 27796 : 27819;
- $$sink1$sink = $cmp24 ? $$sink : $$sink1;
- HEAP32[$pitch_contour_iCDF>>2] = $$sink1$sink;
- $28 = $psDec$addr;
- $fs_kHz43 = ((($28)) + 2316|0);
- $29 = HEAP32[$fs_kHz43>>2]|0;
- $30 = $fs_kHz$addr;
- $cmp44 = ($29|0)!=($30|0);
- if ($cmp44) {
- $31 = $fs_kHz$addr;
- $conv47 = $31&65535;
- $conv48 = $conv47 << 16 >> 16;
- $mul49 = ($conv48*20)|0;
- $32 = $psDec$addr;
- $ltp_mem_length = ((($32)) + 2336|0);
- HEAP32[$ltp_mem_length>>2] = $mul49;
- $33 = $fs_kHz$addr;
- $cmp50 = ($33|0)==(8);
- $34 = $fs_kHz$addr;
- $cmp53 = ($34|0)==(12);
- $or$cond = $cmp50 | $cmp53;
- $35 = $psDec$addr;
- $LPC_order = ((($35)) + 2340|0);
- if ($or$cond) {
- HEAP32[$LPC_order>>2] = 10;
- $36 = $psDec$addr;
- $$sink2 = $36;$silk_NLSF_CB_WB$sink = 22216;
- } else {
- HEAP32[$LPC_order>>2] = 16;
- $37 = $psDec$addr;
- $$sink2 = $37;$silk_NLSF_CB_WB$sink = 22252;
- }
- $psNLSF_CB58 = ((($$sink2)) + 2732|0);
- HEAP32[$psNLSF_CB58>>2] = $silk_NLSF_CB_WB$sink;
- $38 = $fs_kHz$addr;
- $cmp60 = ($38|0)==(16);
- do {
- if ($cmp60) {
- $39 = $psDec$addr;
- $$sink3 = 27694;$$sink4 = $39;
- label = 16;
- } else {
- $40 = $fs_kHz$addr;
- $cmp64 = ($40|0)==(12);
- if ($cmp64) {
- $41 = $psDec$addr;
- $$sink3 = 27688;$$sink4 = $41;
- label = 16;
- break;
- }
- $42 = $fs_kHz$addr;
- $cmp69 = ($42|0)==(8);
- if ($cmp69) {
- $43 = $psDec$addr;
- $$sink3 = 27679;$$sink4 = $43;
- label = 16;
- }
- }
- } while(0);
- if ((label|0) == 16) {
- $pitch_lag_low_bits_iCDF67 = ((($$sink4)) + 2380|0);
- HEAP32[$pitch_lag_low_bits_iCDF67>>2] = $$sink3;
- }
- $44 = $psDec$addr;
- $first_frame_after_reset = ((($44)) + 2376|0);
- HEAP32[$first_frame_after_reset>>2] = 1;
- $45 = $psDec$addr;
- $lagPrev = ((($45)) + 2308|0);
- HEAP32[$lagPrev>>2] = 100;
- $46 = $psDec$addr;
- $LastGainIndex = ((($46)) + 2312|0);
- HEAP8[$LastGainIndex>>0] = 10;
- $47 = $psDec$addr;
- $prevSignalType = ((($47)) + 4164|0);
- HEAP32[$prevSignalType>>2] = 0;
- $48 = $psDec$addr;
- $outBuf = ((($48)) + 1348|0);
- _memset(($outBuf|0),0,960)|0;
- $49 = $psDec$addr;
- $sLPC_Q14_buf = ((($49)) + 1284|0);
- dest=$sLPC_Q14_buf; stop=dest+64|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
- }
- $50 = $fs_kHz$addr;
- $51 = $psDec$addr;
- $fs_kHz79 = ((($51)) + 2316|0);
- HEAP32[$fs_kHz79>>2] = $50;
- $52 = $frame_length;
- $53 = $psDec$addr;
- $frame_length80 = ((($53)) + 2328|0);
- HEAP32[$frame_length80>>2] = $52;
- $54 = $ret;
- STACKTOP = sp;return ($54|0);
-}
-function _silk_gains_quant($ind,$gain_Q16,$prev_ind,$conditional,$nb_subfr) {
- $ind = $ind|0;
- $gain_Q16 = $gain_Q16|0;
- $prev_ind = $prev_ind|0;
- $conditional = $conditional|0;
- $nb_subfr = $nb_subfr|0;
- var $$sink2 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $12 = 0;
- var $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0;
- var $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
- var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
- var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0;
- var $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $add = 0, $add108 = 0, $add110 = 0, $add149 = 0, $add164 = 0;
- var $add165 = 0, $add38 = 0, $add45 = 0, $add50 = 0, $add74 = 0, $add79 = 0, $add99 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx100 = 0, $arrayidx105 = 0, $arrayidx112 = 0, $arrayidx114 = 0, $arrayidx120 = 0, $arrayidx126 = 0, $arrayidx133 = 0, $arrayidx134 = 0, $arrayidx139 = 0, $arrayidx15 = 0, $arrayidx152 = 0;
- var $arrayidx16 = 0, $arrayidx168 = 0, $arrayidx2 = 0, $arrayidx20 = 0, $arrayidx26 = 0, $arrayidx31 = 0, $arrayidx42 = 0, $arrayidx52 = 0, $arrayidx58 = 0, $arrayidx71 = 0, $arrayidx81 = 0, $arrayidx9 = 0, $arrayidx90 = 0, $arrayidx91 = 0, $arrayidx92 = 0, $arrayidx97 = 0, $call = 0, $call166 = 0, $call167 = 0, $call3 = 0;
- var $cmp = 0, $cmp102 = 0, $cmp116 = 0, $cmp122 = 0, $cmp13 = 0, $cmp136 = 0, $cmp18 = 0, $cmp22 = 0, $cmp32 = 0, $cmp34 = 0, $cmp39 = 0, $cmp46 = 0, $cmp54 = 0, $cmp67 = 0, $cmp75 = 0, $cond131 = 0, $cond29 = 0, $cond88 = 0, $conditional$addr = 0, $conv = 0;
- var $conv1 = 0, $conv101 = 0, $conv106 = 0, $conv11 = 0, $conv111 = 0, $conv115 = 0, $conv12 = 0, $conv121 = 0, $conv127 = 0, $conv132 = 0, $conv135 = 0, $conv140 = 0, $conv140$sink = 0, $conv148 = 0, $conv150 = 0, $conv153 = 0, $conv155 = 0, $conv157 = 0, $conv158 = 0, $conv160 = 0;
- var $conv161 = 0, $conv17 = 0, $conv21 = 0, $conv27 = 0, $conv30 = 0, $conv37 = 0, $conv43 = 0, $conv44 = 0, $conv49 = 0, $conv5 = 0, $conv53 = 0, $conv59 = 0, $conv6 = 0, $conv72 = 0, $conv73 = 0, $conv78 = 0, $conv8 = 0, $conv82 = 0, $conv89 = 0, $conv93 = 0;
- var $conv94 = 0, $conv96 = 0, $conv98 = 0, $double_step_size_threshold = 0, $gain_Q16$addr = 0, $inc = 0, $inc169 = 0, $ind$addr = 0, $k = 0, $mul = 0, $mul159 = 0, $mul162 = 0, $mul7 = 0, $nb_subfr$addr = 0, $or$cond = 0, $prev_ind$addr = 0, $shl = 0, $shr = 0, $shr109 = 0, $shr163 = 0;
- var $sub = 0, $sub107 = 0, $sub141 = 0, $sub154 = 0, $sub4 = 0, $sub95 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $ind$addr = $ind;
- $gain_Q16$addr = $gain_Q16;
- $prev_ind$addr = $prev_ind;
- $conditional$addr = $conditional;
- $nb_subfr$addr = $nb_subfr;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $nb_subfr$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $gain_Q16$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3<<2)|0);
- $4 = HEAP32[$arrayidx>>2]|0;
- $call = (_silk_lin2log($4)|0);
- $sub = (($call) - 2090)|0;
- $conv = $sub&65535;
- $conv1 = $conv << 16 >> 16;
- $mul = 0;
- $5 = $gain_Q16$addr;
- $6 = $k;
- $arrayidx2 = (($5) + ($6<<2)|0);
- $7 = HEAP32[$arrayidx2>>2]|0;
- $call3 = (_silk_lin2log($7)|0);
- $sub4 = (($call3) - 2090)|0;
- $conv5 = $sub4&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = ($conv6*2251)|0;
- $shr = $mul7 >> 16;
- $add = (($mul) + ($shr))|0;
- $conv8 = $add&255;
- $8 = $ind$addr;
- $9 = $k;
- $arrayidx9 = (($8) + ($9)|0);
- HEAP8[$arrayidx9>>0] = $conv8;
- $10 = $ind$addr;
- $11 = $k;
- $arrayidx10 = (($10) + ($11)|0);
- $12 = HEAP8[$arrayidx10>>0]|0;
- $conv11 = $12 << 24 >> 24;
- $13 = $prev_ind$addr;
- $14 = HEAP8[$13>>0]|0;
- $conv12 = $14 << 24 >> 24;
- $cmp13 = ($conv11|0)<($conv12|0);
- if ($cmp13) {
- $15 = $ind$addr;
- $16 = $k;
- $arrayidx15 = (($15) + ($16)|0);
- $17 = HEAP8[$arrayidx15>>0]|0;
- $inc = (($17) + 1)<<24>>24;
- HEAP8[$arrayidx15>>0] = $inc;
- }
- $18 = $ind$addr;
- $19 = $k;
- $arrayidx16 = (($18) + ($19)|0);
- $20 = HEAP8[$arrayidx16>>0]|0;
- $conv17 = $20 << 24 >> 24;
- $cmp18 = ($conv17|0)>(63);
- if ($cmp18) {
- $cond29 = 63;
- } else {
- $21 = $ind$addr;
- $22 = $k;
- $arrayidx20 = (($21) + ($22)|0);
- $23 = HEAP8[$arrayidx20>>0]|0;
- $conv21 = $23 << 24 >> 24;
- $cmp22 = ($conv21|0)<(0);
- if ($cmp22) {
- $cond29 = 0;
- } else {
- $24 = $ind$addr;
- $25 = $k;
- $arrayidx26 = (($24) + ($25)|0);
- $26 = HEAP8[$arrayidx26>>0]|0;
- $conv27 = $26 << 24 >> 24;
- $cond29 = $conv27;
- }
- }
- $conv30 = $cond29&255;
- $27 = $ind$addr;
- $28 = $k;
- $arrayidx31 = (($27) + ($28)|0);
- HEAP8[$arrayidx31>>0] = $conv30;
- $29 = $k;
- $cmp32 = ($29|0)==(0);
- $30 = $conditional$addr;
- $cmp34 = ($30|0)==(0);
- $or$cond = $cmp32 & $cmp34;
- if ($or$cond) {
- $31 = $prev_ind$addr;
- $32 = HEAP8[$31>>0]|0;
- $conv37 = $32 << 24 >> 24;
- $add38 = (($conv37) + -4)|0;
- $cmp39 = ($add38|0)>(63);
- $33 = $ind$addr;
- $34 = $k;
- $arrayidx42 = (($33) + ($34)|0);
- $35 = HEAP8[$arrayidx42>>0]|0;
- $conv43 = $35 << 24 >> 24;
- do {
- if ($cmp39) {
- $36 = $prev_ind$addr;
- $37 = HEAP8[$36>>0]|0;
- $conv44 = $37 << 24 >> 24;
- $add45 = (($conv44) + -4)|0;
- $cmp46 = ($conv43|0)>($add45|0);
- if ($cmp46) {
- $38 = $prev_ind$addr;
- $39 = HEAP8[$38>>0]|0;
- $conv49 = $39 << 24 >> 24;
- $add50 = (($conv49) + -4)|0;
- $cond88 = $add50;
- break;
- }
- $40 = $ind$addr;
- $41 = $k;
- $arrayidx52 = (($40) + ($41)|0);
- $42 = HEAP8[$arrayidx52>>0]|0;
- $conv53 = $42 << 24 >> 24;
- $cmp54 = ($conv53|0)<(63);
- if ($cmp54) {
- $cond88 = 63;
- } else {
- $43 = $ind$addr;
- $44 = $k;
- $arrayidx58 = (($43) + ($44)|0);
- $45 = HEAP8[$arrayidx58>>0]|0;
- $conv59 = $45 << 24 >> 24;
- $cond88 = $conv59;
- }
- } else {
- $cmp67 = ($conv43|0)>(63);
- if ($cmp67) {
- $cond88 = 63;
- } else {
- $46 = $ind$addr;
- $47 = $k;
- $arrayidx71 = (($46) + ($47)|0);
- $48 = HEAP8[$arrayidx71>>0]|0;
- $conv72 = $48 << 24 >> 24;
- $49 = $prev_ind$addr;
- $50 = HEAP8[$49>>0]|0;
- $conv73 = $50 << 24 >> 24;
- $add74 = (($conv73) + -4)|0;
- $cmp75 = ($conv72|0)<($add74|0);
- if ($cmp75) {
- $51 = $prev_ind$addr;
- $52 = HEAP8[$51>>0]|0;
- $conv78 = $52 << 24 >> 24;
- $add79 = (($conv78) + -4)|0;
- $cond88 = $add79;
- break;
- } else {
- $53 = $ind$addr;
- $54 = $k;
- $arrayidx81 = (($53) + ($54)|0);
- $55 = HEAP8[$arrayidx81>>0]|0;
- $conv82 = $55 << 24 >> 24;
- $cond88 = $conv82;
- break;
- }
- }
- }
- } while(0);
- $conv89 = $cond88&255;
- $56 = $ind$addr;
- $57 = $k;
- $arrayidx90 = (($56) + ($57)|0);
- HEAP8[$arrayidx90>>0] = $conv89;
- $58 = $ind$addr;
- $59 = $k;
- $arrayidx91 = (($58) + ($59)|0);
- $60 = HEAP8[$arrayidx91>>0]|0;
- $61 = $prev_ind$addr;
- HEAP8[$61>>0] = $60;
- } else {
- $62 = $ind$addr;
- $63 = $k;
- $arrayidx92 = (($62) + ($63)|0);
- $64 = HEAP8[$arrayidx92>>0]|0;
- $conv93 = $64 << 24 >> 24;
- $65 = $prev_ind$addr;
- $66 = HEAP8[$65>>0]|0;
- $conv94 = $66 << 24 >> 24;
- $sub95 = (($conv93) - ($conv94))|0;
- $conv96 = $sub95&255;
- $67 = $ind$addr;
- $68 = $k;
- $arrayidx97 = (($67) + ($68)|0);
- HEAP8[$arrayidx97>>0] = $conv96;
- $69 = $prev_ind$addr;
- $70 = HEAP8[$69>>0]|0;
- $conv98 = $70 << 24 >> 24;
- $add99 = (8 + ($conv98))|0;
- $double_step_size_threshold = $add99;
- $71 = $ind$addr;
- $72 = $k;
- $arrayidx100 = (($71) + ($72)|0);
- $73 = HEAP8[$arrayidx100>>0]|0;
- $conv101 = $73 << 24 >> 24;
- $74 = $double_step_size_threshold;
- $cmp102 = ($conv101|0)>($74|0);
- if ($cmp102) {
- $75 = $double_step_size_threshold;
- $76 = $ind$addr;
- $77 = $k;
- $arrayidx105 = (($76) + ($77)|0);
- $78 = HEAP8[$arrayidx105>>0]|0;
- $conv106 = $78 << 24 >> 24;
- $79 = $double_step_size_threshold;
- $sub107 = (($conv106) - ($79))|0;
- $add108 = (($sub107) + 1)|0;
- $shr109 = $add108 >> 1;
- $add110 = (($75) + ($shr109))|0;
- $conv111 = $add110&255;
- $80 = $ind$addr;
- $81 = $k;
- $arrayidx112 = (($80) + ($81)|0);
- HEAP8[$arrayidx112>>0] = $conv111;
- }
- $82 = $ind$addr;
- $83 = $k;
- $arrayidx114 = (($82) + ($83)|0);
- $84 = HEAP8[$arrayidx114>>0]|0;
- $conv115 = $84 << 24 >> 24;
- $cmp116 = ($conv115|0)>(36);
- if ($cmp116) {
- $cond131 = 36;
- } else {
- $85 = $ind$addr;
- $86 = $k;
- $arrayidx120 = (($85) + ($86)|0);
- $87 = HEAP8[$arrayidx120>>0]|0;
- $conv121 = $87 << 24 >> 24;
- $cmp122 = ($conv121|0)<(-4);
- if ($cmp122) {
- $cond131 = -4;
- } else {
- $88 = $ind$addr;
- $89 = $k;
- $arrayidx126 = (($88) + ($89)|0);
- $90 = HEAP8[$arrayidx126>>0]|0;
- $conv127 = $90 << 24 >> 24;
- $cond131 = $conv127;
- }
- }
- $conv132 = $cond131&255;
- $91 = $ind$addr;
- $92 = $k;
- $arrayidx133 = (($91) + ($92)|0);
- HEAP8[$arrayidx133>>0] = $conv132;
- $93 = $ind$addr;
- $94 = $k;
- $arrayidx134 = (($93) + ($94)|0);
- $95 = HEAP8[$arrayidx134>>0]|0;
- $conv135 = $95 << 24 >> 24;
- $96 = $double_step_size_threshold;
- $cmp136 = ($conv135|0)>($96|0);
- $97 = $ind$addr;
- $98 = $k;
- $arrayidx139 = (($97) + ($98)|0);
- $99 = HEAP8[$arrayidx139>>0]|0;
- $conv140 = $99 << 24 >> 24;
- if ($cmp136) {
- $shl = $conv140 << 1;
- $100 = $double_step_size_threshold;
- $sub141 = (($shl) - ($100))|0;
- $101 = $prev_ind$addr;
- $$sink2 = $101;$conv140$sink = $sub141;
- } else {
- $102 = $prev_ind$addr;
- $$sink2 = $102;$conv140$sink = $conv140;
- }
- $103 = HEAP8[$$sink2>>0]|0;
- $conv148 = $103 << 24 >> 24;
- $add149 = (($conv148) + ($conv140$sink))|0;
- $conv150 = $add149&255;
- HEAP8[$$sink2>>0] = $conv150;
- $104 = $ind$addr;
- $105 = $k;
- $arrayidx152 = (($104) + ($105)|0);
- $106 = HEAP8[$arrayidx152>>0]|0;
- $conv153 = $106 << 24 >> 24;
- $sub154 = (($conv153) - -4)|0;
- $conv155 = $sub154&255;
- HEAP8[$arrayidx152>>0] = $conv155;
- }
- $107 = $prev_ind$addr;
- $108 = HEAP8[$107>>0]|0;
- $conv157 = $108 << 24 >> 24;
- $conv158 = $conv157 << 16 >> 16;
- $mul159 = ($conv158*29)|0;
- $109 = $prev_ind$addr;
- $110 = HEAP8[$109>>0]|0;
- $conv160 = $110 << 24 >> 24;
- $conv161 = $conv160 << 16 >> 16;
- $mul162 = ($conv161*7281)|0;
- $shr163 = $mul162 >> 16;
- $add164 = (($mul159) + ($shr163))|0;
- $add165 = (($add164) + 2090)|0;
- $call166 = (_silk_min_32_403($add165,3967)|0);
- $call167 = (_silk_log2lin($call166)|0);
- $111 = $gain_Q16$addr;
- $112 = $k;
- $arrayidx168 = (($111) + ($112<<2)|0);
- HEAP32[$arrayidx168>>2] = $call167;
- $113 = $k;
- $inc169 = (($113) + 1)|0;
- $k = $inc169;
- }
- STACKTOP = sp;return;
-}
-function _silk_min_32_403($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_gains_dequant($gain_Q16,$ind,$prev_ind,$conditional,$nb_subfr) {
- $gain_Q16 = $gain_Q16|0;
- $ind = $ind|0;
- $prev_ind = $prev_ind|0;
- $conditional = $conditional|0;
- $nb_subfr = $nb_subfr|0;
- var $$sink1 = 0, $$sink3 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
- var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add18 = 0, $add38 = 0, $add39 = 0, $add8 = 0;
- var $arrayidx = 0, $arrayidx42 = 0, $call = 0, $call40 = 0, $call41 = 0, $cmp = 0, $cmp1 = 0, $cmp2 = 0, $cmp22 = 0, $cmp25 = 0, $cmp9 = 0, $cond31 = 0, $conditional$addr = 0, $conv = 0, $conv17 = 0, $conv19 = 0, $conv21 = 0, $conv24 = 0, $conv29 = 0, $conv3 = 0;
- var $conv32 = 0, $conv33 = 0, $conv34 = 0, $conv35 = 0, $conv36 = 0, $conv4 = 0, $conv7 = 0, $double_step_size_threshold = 0, $gain_Q16$addr = 0, $inc = 0, $ind$addr = 0, $ind_tmp = 0, $k = 0, $mul = 0, $mul37 = 0, $nb_subfr$addr = 0, $or$cond = 0, $prev_ind$addr = 0, $shl = 0, $shr = 0;
- var $sub = 0, $sub12 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $gain_Q16$addr = $gain_Q16;
- $ind$addr = $ind;
- $prev_ind$addr = $prev_ind;
- $conditional$addr = $conditional;
- $nb_subfr$addr = $nb_subfr;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $nb_subfr$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $k;
- $cmp1 = ($2|0)==(0);
- $3 = $conditional$addr;
- $cmp2 = ($3|0)==(0);
- $or$cond = $cmp1 & $cmp2;
- $4 = $ind$addr;
- $5 = $k;
- $arrayidx = (($4) + ($5)|0);
- $6 = HEAP8[$arrayidx>>0]|0;
- $conv = $6 << 24 >> 24;
- if ($or$cond) {
- $7 = $prev_ind$addr;
- $8 = HEAP8[$7>>0]|0;
- $conv3 = $8 << 24 >> 24;
- $sub = (($conv3) - 16)|0;
- $call = (_silk_max_int_406($conv,$sub)|0);
- $conv4 = $call&255;
- $9 = $prev_ind$addr;
- HEAP8[$9>>0] = $conv4;
- } else {
- $add = (($conv) + -4)|0;
- $ind_tmp = $add;
- $10 = $prev_ind$addr;
- $11 = HEAP8[$10>>0]|0;
- $conv7 = $11 << 24 >> 24;
- $add8 = (8 + ($conv7))|0;
- $double_step_size_threshold = $add8;
- $12 = $ind_tmp;
- $13 = $double_step_size_threshold;
- $cmp9 = ($12|0)>($13|0);
- $14 = $ind_tmp;
- if ($cmp9) {
- $shl = $14 << 1;
- $15 = $double_step_size_threshold;
- $sub12 = (($shl) - ($15))|0;
- $16 = $prev_ind$addr;
- $$sink1 = $sub12;$$sink3 = $16;
- } else {
- $17 = $prev_ind$addr;
- $$sink1 = $14;$$sink3 = $17;
- }
- $18 = HEAP8[$$sink3>>0]|0;
- $conv17 = $18 << 24 >> 24;
- $add18 = (($conv17) + ($$sink1))|0;
- $conv19 = $add18&255;
- HEAP8[$$sink3>>0] = $conv19;
- }
- $19 = $prev_ind$addr;
- $20 = HEAP8[$19>>0]|0;
- $conv21 = $20 << 24 >> 24;
- $cmp22 = ($conv21|0)>(63);
- if ($cmp22) {
- $cond31 = 63;
- } else {
- $21 = $prev_ind$addr;
- $22 = HEAP8[$21>>0]|0;
- $conv24 = $22 << 24 >> 24;
- $cmp25 = ($conv24|0)<(0);
- if ($cmp25) {
- $cond31 = 0;
- } else {
- $23 = $prev_ind$addr;
- $24 = HEAP8[$23>>0]|0;
- $conv29 = $24 << 24 >> 24;
- $cond31 = $conv29;
- }
- }
- $conv32 = $cond31&255;
- $25 = $prev_ind$addr;
- HEAP8[$25>>0] = $conv32;
- $26 = $prev_ind$addr;
- $27 = HEAP8[$26>>0]|0;
- $conv33 = $27 << 24 >> 24;
- $conv34 = $conv33 << 16 >> 16;
- $mul = ($conv34*29)|0;
- $28 = $prev_ind$addr;
- $29 = HEAP8[$28>>0]|0;
- $conv35 = $29 << 24 >> 24;
- $conv36 = $conv35 << 16 >> 16;
- $mul37 = ($conv36*7281)|0;
- $shr = $mul37 >> 16;
- $add38 = (($mul) + ($shr))|0;
- $add39 = (($add38) + 2090)|0;
- $call40 = (_silk_min_32_403($add39,3967)|0);
- $call41 = (_silk_log2lin($call40)|0);
- $30 = $gain_Q16$addr;
- $31 = $k;
- $arrayidx42 = (($30) + ($31<<2)|0);
- HEAP32[$arrayidx42>>2] = $call41;
- $32 = $k;
- $inc = (($32) + 1)|0;
- $k = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_max_int_406($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_gains_ID($ind,$nb_subfr) {
- $ind = $ind|0;
- $nb_subfr = $nb_subfr|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $add = 0, $arrayidx = 0, $cmp = 0, $conv = 0, $gainsID = 0, $inc = 0, $ind$addr = 0, $k = 0, $nb_subfr$addr = 0, $shl = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $ind$addr = $ind;
- $nb_subfr$addr = $nb_subfr;
- $gainsID = 0;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $nb_subfr$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $ind$addr;
- $3 = $k;
- $arrayidx = (($2) + ($3)|0);
- $4 = HEAP8[$arrayidx>>0]|0;
- $conv = $4 << 24 >> 24;
- $5 = $gainsID;
- $shl = $5 << 8;
- $add = (($conv) + ($shl))|0;
- $gainsID = $add;
- $6 = $k;
- $inc = (($6) + 1)|0;
- $k = $inc;
- }
- $7 = $gainsID;
- STACKTOP = sp;return ($7|0);
-}
-function _silk_LP_variable_cutoff($psLP,$frame,$frame_length) {
- $psLP = $psLP|0;
- $frame = $frame|0;
- $frame_length = $frame_length|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $3 = 0;
- var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $A_Q28 = 0, $B_Q28 = 0, $add = 0, $add15 = 0, $add9 = 0, $cmp = 0, $cmp10 = 0, $cmp6 = 0, $cond17 = 0, $fac_Q16 = 0, $frame$addr = 0, $frame_length$addr = 0, $ind = 0, $mode = 0;
- var $mode14 = 0, $mode5 = 0, $mode8 = 0, $psLP$addr = 0, $shl = 0, $shl1 = 0, $shr = 0, $sub = 0, $sub2 = 0, $transition_frame_no = 0, $transition_frame_no13 = 0, $transition_frame_no18 = 0, $transition_frame_no4 = 0, $transition_frame_no7 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $B_Q28 = sp + 16|0;
- $A_Q28 = sp + 8|0;
- $psLP$addr = $psLP;
- $frame$addr = $frame;
- $frame_length$addr = $frame_length;
- $fac_Q16 = 0;
- $ind = 0;
- $0 = $psLP$addr;
- $mode = ((($0)) + 12|0);
- $1 = HEAP32[$mode>>2]|0;
- $cmp = ($1|0)!=(0);
- if (!($cmp)) {
- STACKTOP = sp;return;
- }
- $2 = $psLP$addr;
- $transition_frame_no = ((($2)) + 8|0);
- $3 = HEAP32[$transition_frame_no>>2]|0;
- $sub = (256 - ($3))|0;
- $shl = $sub << 10;
- $fac_Q16 = $shl;
- $4 = $fac_Q16;
- $shr = $4 >> 16;
- $ind = $shr;
- $5 = $ind;
- $shl1 = $5 << 16;
- $6 = $fac_Q16;
- $sub2 = (($6) - ($shl1))|0;
- $fac_Q16 = $sub2;
- $7 = $ind;
- $8 = $fac_Q16;
- _silk_LP_interpolate_filter_taps($B_Q28,$A_Q28,$7,$8);
- $9 = $psLP$addr;
- $transition_frame_no4 = ((($9)) + 8|0);
- $10 = HEAP32[$transition_frame_no4>>2]|0;
- $11 = $psLP$addr;
- $mode5 = ((($11)) + 12|0);
- $12 = HEAP32[$mode5>>2]|0;
- $add = (($10) + ($12))|0;
- $cmp6 = ($add|0)>(256);
- if ($cmp6) {
- $cond17 = 256;
- } else {
- $13 = $psLP$addr;
- $transition_frame_no7 = ((($13)) + 8|0);
- $14 = HEAP32[$transition_frame_no7>>2]|0;
- $15 = $psLP$addr;
- $mode8 = ((($15)) + 12|0);
- $16 = HEAP32[$mode8>>2]|0;
- $add9 = (($14) + ($16))|0;
- $cmp10 = ($add9|0)<(0);
- if ($cmp10) {
- $cond17 = 0;
- } else {
- $17 = $psLP$addr;
- $transition_frame_no13 = ((($17)) + 8|0);
- $18 = HEAP32[$transition_frame_no13>>2]|0;
- $19 = $psLP$addr;
- $mode14 = ((($19)) + 12|0);
- $20 = HEAP32[$mode14>>2]|0;
- $add15 = (($18) + ($20))|0;
- $cond17 = $add15;
- }
- }
- $21 = $psLP$addr;
- $transition_frame_no18 = ((($21)) + 8|0);
- HEAP32[$transition_frame_no18>>2] = $cond17;
- $22 = $frame$addr;
- $23 = $psLP$addr;
- $24 = $frame$addr;
- $25 = $frame_length$addr;
- _silk_biquad_alt($22,$B_Q28,$A_Q28,$23,$24,$25,1);
- STACKTOP = sp;return;
-}
-function _silk_LP_interpolate_filter_taps($B_Q28,$A_Q28,$ind,$fac_Q16) {
- $B_Q28 = $B_Q28|0;
- $A_Q28 = $A_Q28|0;
- $ind = $ind|0;
- $fac_Q16 = $fac_Q16|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $A_Q28$addr = 0, $B_Q28$addr = 0, $add = 0, $add101 = 0, $add112 = 0, $add12 = 0, $add124 = 0;
- var $add125 = 0, $add22 = 0, $add23 = 0, $add31 = 0, $add41 = 0, $add52 = 0, $add53 = 0, $add62 = 0, $add65 = 0, $add76 = 0, $add88 = 0, $add89 = 0, $add98 = 0, $and = 0, $and118 = 0, $and47 = 0, $and82 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx100 = 0;
- var $arrayidx102 = 0, $arrayidx103 = 0, $arrayidx104 = 0, $arrayidx105 = 0, $arrayidx113 = 0, $arrayidx114 = 0, $arrayidx115 = 0, $arrayidx116 = 0, $arrayidx126 = 0, $arrayidx13 = 0, $arrayidx131 = 0, $arrayidx132 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx16 = 0, $arrayidx24 = 0, $arrayidx29 = 0, $arrayidx30 = 0, $arrayidx32 = 0, $arrayidx33 = 0;
- var $arrayidx34 = 0, $arrayidx35 = 0, $arrayidx42 = 0, $arrayidx43 = 0, $arrayidx44 = 0, $arrayidx45 = 0, $arrayidx54 = 0, $arrayidx6 = 0, $arrayidx63 = 0, $arrayidx64 = 0, $arrayidx66 = 0, $arrayidx67 = 0, $arrayidx68 = 0, $arrayidx69 = 0, $arrayidx7 = 0, $arrayidx77 = 0, $arrayidx78 = 0, $arrayidx79 = 0, $arrayidx8 = 0, $arrayidx80 = 0;
- var $arrayidx9 = 0, $arrayidx90 = 0, $arrayidx99 = 0, $cmp = 0, $cmp1 = 0, $cmp26 = 0, $cmp3 = 0, $cmp5 = 0, $cmp59 = 0, $cmp95 = 0, $conv = 0, $conv109 = 0, $conv11 = 0, $conv110 = 0, $conv120 = 0, $conv121 = 0, $conv18 = 0, $conv19 = 0, $conv38 = 0, $conv39 = 0;
- var $conv48 = 0, $conv49 = 0, $conv73 = 0, $conv74 = 0, $conv84 = 0, $conv85 = 0, $fac_Q16$addr = 0, $inc = 0, $inc128 = 0, $inc56 = 0, $inc92 = 0, $ind$addr = 0, $mul = 0, $mul111 = 0, $mul122 = 0, $mul20 = 0, $mul40 = 0, $mul50 = 0, $mul75 = 0, $mul86 = 0;
- var $na = 0, $nb = 0, $shr = 0, $shr107 = 0, $shr123 = 0, $shr21 = 0, $shr37 = 0, $shr51 = 0, $shr71 = 0, $shr87 = 0, $sub = 0, $sub106 = 0, $sub108 = 0, $sub117 = 0, $sub119 = 0, $sub17 = 0, $sub36 = 0, $sub46 = 0, $sub70 = 0, $sub72 = 0;
- var $sub81 = 0, $sub83 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $B_Q28$addr = $B_Q28;
- $A_Q28$addr = $A_Q28;
- $ind$addr = $ind;
- $fac_Q16$addr = $fac_Q16;
- $0 = $ind$addr;
- $cmp = ($0|0)<(4);
- if (!($cmp)) {
- $91 = $B_Q28$addr;
- ;HEAP32[$91>>2]=HEAP32[(16860)>>2]|0;HEAP32[$91+4>>2]=HEAP32[(16860)+4>>2]|0;HEAP32[$91+8>>2]=HEAP32[(16860)+8>>2]|0;
- $92 = $A_Q28$addr;
- ;HEAP32[$92>>2]=HEAP32[(16904)>>2]|0;HEAP32[$92+4>>2]=HEAP32[(16904)+4>>2]|0;
- STACKTOP = sp;return;
- }
- $1 = $fac_Q16$addr;
- $cmp1 = ($1|0)>(0);
- if (!($cmp1)) {
- $87 = $B_Q28$addr;
- $88 = $ind$addr;
- $arrayidx131 = (16812 + (($88*12)|0)|0);
- ;HEAP32[$87>>2]=HEAP32[$arrayidx131>>2]|0;HEAP32[$87+4>>2]=HEAP32[$arrayidx131+4>>2]|0;HEAP32[$87+8>>2]=HEAP32[$arrayidx131+8>>2]|0;
- $89 = $A_Q28$addr;
- $90 = $ind$addr;
- $arrayidx132 = (16872 + ($90<<3)|0);
- ;HEAP32[$89>>2]=HEAP32[$arrayidx132>>2]|0;HEAP32[$89+4>>2]=HEAP32[$arrayidx132+4>>2]|0;
- STACKTOP = sp;return;
- }
- $2 = $fac_Q16$addr;
- $cmp3 = ($2|0)<(32768);
- $nb = 0;
- if ($cmp3) {
- while(1) {
- $3 = $nb;
- $cmp5 = ($3|0)<(3);
- if (!($cmp5)) {
- break;
- }
- $4 = $ind$addr;
- $arrayidx = (16812 + (($4*12)|0)|0);
- $5 = $nb;
- $arrayidx6 = (($arrayidx) + ($5<<2)|0);
- $6 = HEAP32[$arrayidx6>>2]|0;
- $7 = $ind$addr;
- $add = (($7) + 1)|0;
- $arrayidx7 = (16812 + (($add*12)|0)|0);
- $8 = $nb;
- $arrayidx8 = (($arrayidx7) + ($8<<2)|0);
- $9 = HEAP32[$arrayidx8>>2]|0;
- $10 = $ind$addr;
- $arrayidx9 = (16812 + (($10*12)|0)|0);
- $11 = $nb;
- $arrayidx10 = (($arrayidx9) + ($11<<2)|0);
- $12 = HEAP32[$arrayidx10>>2]|0;
- $sub = (($9) - ($12))|0;
- $shr = $sub >> 16;
- $13 = $fac_Q16$addr;
- $conv = $13&65535;
- $conv11 = $conv << 16 >> 16;
- $mul = Math_imul($shr, $conv11)|0;
- $14 = $ind$addr;
- $add12 = (($14) + 1)|0;
- $arrayidx13 = (16812 + (($add12*12)|0)|0);
- $15 = $nb;
- $arrayidx14 = (($arrayidx13) + ($15<<2)|0);
- $16 = HEAP32[$arrayidx14>>2]|0;
- $17 = $ind$addr;
- $arrayidx15 = (16812 + (($17*12)|0)|0);
- $18 = $nb;
- $arrayidx16 = (($arrayidx15) + ($18<<2)|0);
- $19 = HEAP32[$arrayidx16>>2]|0;
- $sub17 = (($16) - ($19))|0;
- $and = $sub17 & 65535;
- $20 = $fac_Q16$addr;
- $conv18 = $20&65535;
- $conv19 = $conv18 << 16 >> 16;
- $mul20 = Math_imul($and, $conv19)|0;
- $shr21 = $mul20 >> 16;
- $add22 = (($mul) + ($shr21))|0;
- $add23 = (($6) + ($add22))|0;
- $21 = $B_Q28$addr;
- $22 = $nb;
- $arrayidx24 = (($21) + ($22<<2)|0);
- HEAP32[$arrayidx24>>2] = $add23;
- $23 = $nb;
- $inc = (($23) + 1)|0;
- $nb = $inc;
- }
- $na = 0;
- while(1) {
- $24 = $na;
- $cmp26 = ($24|0)<(2);
- if (!($cmp26)) {
- break;
- }
- $25 = $ind$addr;
- $arrayidx29 = (16872 + ($25<<3)|0);
- $26 = $na;
- $arrayidx30 = (($arrayidx29) + ($26<<2)|0);
- $27 = HEAP32[$arrayidx30>>2]|0;
- $28 = $ind$addr;
- $add31 = (($28) + 1)|0;
- $arrayidx32 = (16872 + ($add31<<3)|0);
- $29 = $na;
- $arrayidx33 = (($arrayidx32) + ($29<<2)|0);
- $30 = HEAP32[$arrayidx33>>2]|0;
- $31 = $ind$addr;
- $arrayidx34 = (16872 + ($31<<3)|0);
- $32 = $na;
- $arrayidx35 = (($arrayidx34) + ($32<<2)|0);
- $33 = HEAP32[$arrayidx35>>2]|0;
- $sub36 = (($30) - ($33))|0;
- $shr37 = $sub36 >> 16;
- $34 = $fac_Q16$addr;
- $conv38 = $34&65535;
- $conv39 = $conv38 << 16 >> 16;
- $mul40 = Math_imul($shr37, $conv39)|0;
- $35 = $ind$addr;
- $add41 = (($35) + 1)|0;
- $arrayidx42 = (16872 + ($add41<<3)|0);
- $36 = $na;
- $arrayidx43 = (($arrayidx42) + ($36<<2)|0);
- $37 = HEAP32[$arrayidx43>>2]|0;
- $38 = $ind$addr;
- $arrayidx44 = (16872 + ($38<<3)|0);
- $39 = $na;
- $arrayidx45 = (($arrayidx44) + ($39<<2)|0);
- $40 = HEAP32[$arrayidx45>>2]|0;
- $sub46 = (($37) - ($40))|0;
- $and47 = $sub46 & 65535;
- $41 = $fac_Q16$addr;
- $conv48 = $41&65535;
- $conv49 = $conv48 << 16 >> 16;
- $mul50 = Math_imul($and47, $conv49)|0;
- $shr51 = $mul50 >> 16;
- $add52 = (($mul40) + ($shr51))|0;
- $add53 = (($27) + ($add52))|0;
- $42 = $A_Q28$addr;
- $43 = $na;
- $arrayidx54 = (($42) + ($43<<2)|0);
- HEAP32[$arrayidx54>>2] = $add53;
- $44 = $na;
- $inc56 = (($44) + 1)|0;
- $na = $inc56;
- }
- STACKTOP = sp;return;
- } else {
- while(1) {
- $45 = $nb;
- $cmp59 = ($45|0)<(3);
- if (!($cmp59)) {
- break;
- }
- $46 = $ind$addr;
- $add62 = (($46) + 1)|0;
- $arrayidx63 = (16812 + (($add62*12)|0)|0);
- $47 = $nb;
- $arrayidx64 = (($arrayidx63) + ($47<<2)|0);
- $48 = HEAP32[$arrayidx64>>2]|0;
- $49 = $ind$addr;
- $add65 = (($49) + 1)|0;
- $arrayidx66 = (16812 + (($add65*12)|0)|0);
- $50 = $nb;
- $arrayidx67 = (($arrayidx66) + ($50<<2)|0);
- $51 = HEAP32[$arrayidx67>>2]|0;
- $52 = $ind$addr;
- $arrayidx68 = (16812 + (($52*12)|0)|0);
- $53 = $nb;
- $arrayidx69 = (($arrayidx68) + ($53<<2)|0);
- $54 = HEAP32[$arrayidx69>>2]|0;
- $sub70 = (($51) - ($54))|0;
- $shr71 = $sub70 >> 16;
- $55 = $fac_Q16$addr;
- $sub72 = (($55) - 65536)|0;
- $conv73 = $sub72&65535;
- $conv74 = $conv73 << 16 >> 16;
- $mul75 = Math_imul($shr71, $conv74)|0;
- $56 = $ind$addr;
- $add76 = (($56) + 1)|0;
- $arrayidx77 = (16812 + (($add76*12)|0)|0);
- $57 = $nb;
- $arrayidx78 = (($arrayidx77) + ($57<<2)|0);
- $58 = HEAP32[$arrayidx78>>2]|0;
- $59 = $ind$addr;
- $arrayidx79 = (16812 + (($59*12)|0)|0);
- $60 = $nb;
- $arrayidx80 = (($arrayidx79) + ($60<<2)|0);
- $61 = HEAP32[$arrayidx80>>2]|0;
- $sub81 = (($58) - ($61))|0;
- $and82 = $sub81 & 65535;
- $62 = $fac_Q16$addr;
- $sub83 = (($62) - 65536)|0;
- $conv84 = $sub83&65535;
- $conv85 = $conv84 << 16 >> 16;
- $mul86 = Math_imul($and82, $conv85)|0;
- $shr87 = $mul86 >> 16;
- $add88 = (($mul75) + ($shr87))|0;
- $add89 = (($48) + ($add88))|0;
- $63 = $B_Q28$addr;
- $64 = $nb;
- $arrayidx90 = (($63) + ($64<<2)|0);
- HEAP32[$arrayidx90>>2] = $add89;
- $65 = $nb;
- $inc92 = (($65) + 1)|0;
- $nb = $inc92;
- }
- $na = 0;
- while(1) {
- $66 = $na;
- $cmp95 = ($66|0)<(2);
- if (!($cmp95)) {
- break;
- }
- $67 = $ind$addr;
- $add98 = (($67) + 1)|0;
- $arrayidx99 = (16872 + ($add98<<3)|0);
- $68 = $na;
- $arrayidx100 = (($arrayidx99) + ($68<<2)|0);
- $69 = HEAP32[$arrayidx100>>2]|0;
- $70 = $ind$addr;
- $add101 = (($70) + 1)|0;
- $arrayidx102 = (16872 + ($add101<<3)|0);
- $71 = $na;
- $arrayidx103 = (($arrayidx102) + ($71<<2)|0);
- $72 = HEAP32[$arrayidx103>>2]|0;
- $73 = $ind$addr;
- $arrayidx104 = (16872 + ($73<<3)|0);
- $74 = $na;
- $arrayidx105 = (($arrayidx104) + ($74<<2)|0);
- $75 = HEAP32[$arrayidx105>>2]|0;
- $sub106 = (($72) - ($75))|0;
- $shr107 = $sub106 >> 16;
- $76 = $fac_Q16$addr;
- $sub108 = (($76) - 65536)|0;
- $conv109 = $sub108&65535;
- $conv110 = $conv109 << 16 >> 16;
- $mul111 = Math_imul($shr107, $conv110)|0;
- $77 = $ind$addr;
- $add112 = (($77) + 1)|0;
- $arrayidx113 = (16872 + ($add112<<3)|0);
- $78 = $na;
- $arrayidx114 = (($arrayidx113) + ($78<<2)|0);
- $79 = HEAP32[$arrayidx114>>2]|0;
- $80 = $ind$addr;
- $arrayidx115 = (16872 + ($80<<3)|0);
- $81 = $na;
- $arrayidx116 = (($arrayidx115) + ($81<<2)|0);
- $82 = HEAP32[$arrayidx116>>2]|0;
- $sub117 = (($79) - ($82))|0;
- $and118 = $sub117 & 65535;
- $83 = $fac_Q16$addr;
- $sub119 = (($83) - 65536)|0;
- $conv120 = $sub119&65535;
- $conv121 = $conv120 << 16 >> 16;
- $mul122 = Math_imul($and118, $conv121)|0;
- $shr123 = $mul122 >> 16;
- $add124 = (($mul111) + ($shr123))|0;
- $add125 = (($69) + ($add124))|0;
- $84 = $A_Q28$addr;
- $85 = $na;
- $arrayidx126 = (($84) + ($85<<2)|0);
- HEAP32[$arrayidx126>>2] = $add125;
- $86 = $na;
- $inc128 = (($86) + 1)|0;
- $na = $inc128;
- }
- STACKTOP = sp;return;
- }
-}
-function _silk_NLSF_decode($pNLSF_Q15,$NLSFIndices,$psNLSF_CB) {
- $pNLSF_Q15 = $pNLSF_Q15|0;
- $NLSFIndices = $NLSFIndices|0;
- $psNLSF_CB = $psNLSF_CB|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $CB1_NLSF_Q8 = 0, $NLSFIndices$addr = 0, $NLSF_Q15_tmp = 0, $W_tmp_Q9 = 0, $W_tmp_QW = 0, $add = 0, $arrayidx10 = 0, $arrayidx15 = 0, $arrayidx2 = 0, $arrayidx28 = 0, $arrayidx31 = 0, $arrayidx33 = 0;
- var $arrayidx45 = 0, $arrayidx6 = 0, $call = 0, $cmp = 0, $cmp25 = 0, $cmp36 = 0, $cmp38 = 0, $cond = 0, $cond43 = 0, $conv = 0, $conv1 = 0, $conv13 = 0, $conv17 = 0, $conv21 = 0, $conv24 = 0, $conv29 = 0, $conv32 = 0, $conv34 = 0, $conv4 = 0, $conv44 = 0;
- var $conv50 = 0, $conv7 = 0, $conv8 = 0, $conv9 = 0, $deltaMin_Q15 = 0, $div = 0, $ec_ix = 0, $i = 0, $inc = 0, $inc47 = 0, $mul = 0, $order = 0, $order18 = 0, $order20 = 0, $order23 = 0, $order3 = 0, $order49 = 0, $pCB_element = 0, $pNLSF_Q15$addr = 0, $pred_Q8 = 0;
- var $psNLSF_CB$addr = 0, $quantStepSize_Q16 = 0, $res_Q10 = 0, $shl = 0, $shl30 = 0, $shl35 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
- $pred_Q8 = sp + 128|0;
- $ec_ix = sp + 96|0;
- $res_Q10 = sp + 64|0;
- $W_tmp_QW = sp + 32|0;
- $pNLSF_Q15$addr = $pNLSF_Q15;
- $NLSFIndices$addr = $NLSFIndices;
- $psNLSF_CB$addr = $psNLSF_CB;
- $0 = $psNLSF_CB$addr;
- $CB1_NLSF_Q8 = ((($0)) + 8|0);
- $1 = HEAP32[$CB1_NLSF_Q8>>2]|0;
- $2 = $NLSFIndices$addr;
- $3 = HEAP8[$2>>0]|0;
- $conv = $3 << 24 >> 24;
- $4 = $psNLSF_CB$addr;
- $order = ((($4)) + 2|0);
- $5 = HEAP16[$order>>1]|0;
- $conv1 = $5 << 16 >> 16;
- $mul = Math_imul($conv, $conv1)|0;
- $arrayidx2 = (($1) + ($mul)|0);
- $pCB_element = $arrayidx2;
- $i = 0;
- while(1) {
- $6 = $i;
- $7 = $psNLSF_CB$addr;
- $order3 = ((($7)) + 2|0);
- $8 = HEAP16[$order3>>1]|0;
- $conv4 = $8 << 16 >> 16;
- $cmp = ($6|0)<($conv4|0);
- if (!($cmp)) {
- break;
- }
- $9 = $pCB_element;
- $10 = $i;
- $arrayidx6 = (($9) + ($10)|0);
- $11 = HEAP8[$arrayidx6>>0]|0;
- $conv7 = $11&255;
- $conv8 = $conv7 << 16 >> 16;
- $shl = $conv8 << 7;
- $conv9 = $shl&65535;
- $12 = $pNLSF_Q15$addr;
- $13 = $i;
- $arrayidx10 = (($12) + ($13<<1)|0);
- HEAP16[$arrayidx10>>1] = $conv9;
- $14 = $i;
- $inc = (($14) + 1)|0;
- $i = $inc;
- }
- $15 = $psNLSF_CB$addr;
- $16 = $NLSFIndices$addr;
- $17 = HEAP8[$16>>0]|0;
- $conv13 = $17 << 24 >> 24;
- _silk_NLSF_unpack($ec_ix,$pred_Q8,$15,$conv13);
- $18 = $NLSFIndices$addr;
- $arrayidx15 = ((($18)) + 1|0);
- $19 = $psNLSF_CB$addr;
- $quantStepSize_Q16 = ((($19)) + 4|0);
- $20 = HEAP16[$quantStepSize_Q16>>1]|0;
- $conv17 = $20 << 16 >> 16;
- $21 = $psNLSF_CB$addr;
- $order18 = ((($21)) + 2|0);
- $22 = HEAP16[$order18>>1]|0;
- _silk_NLSF_residual_dequant($res_Q10,$arrayidx15,$pred_Q8,$conv17,$22);
- $23 = $pNLSF_Q15$addr;
- $24 = $psNLSF_CB$addr;
- $order20 = ((($24)) + 2|0);
- $25 = HEAP16[$order20>>1]|0;
- $conv21 = $25 << 16 >> 16;
- _silk_NLSF_VQ_weights_laroia($W_tmp_QW,$23,$conv21);
- $i = 0;
- while(1) {
- $26 = $i;
- $27 = $psNLSF_CB$addr;
- $order23 = ((($27)) + 2|0);
- $28 = HEAP16[$order23>>1]|0;
- $conv24 = $28 << 16 >> 16;
- $cmp25 = ($26|0)<($conv24|0);
- if (!($cmp25)) {
- break;
- }
- $29 = $i;
- $arrayidx28 = (($W_tmp_QW) + ($29<<1)|0);
- $30 = HEAP16[$arrayidx28>>1]|0;
- $conv29 = $30 << 16 >> 16;
- $shl30 = $conv29 << 16;
- $call = (_silk_SQRT_APPROX_413($shl30)|0);
- $W_tmp_Q9 = $call;
- $31 = $pNLSF_Q15$addr;
- $32 = $i;
- $arrayidx31 = (($31) + ($32<<1)|0);
- $33 = HEAP16[$arrayidx31>>1]|0;
- $conv32 = $33 << 16 >> 16;
- $34 = $i;
- $arrayidx33 = (($res_Q10) + ($34<<1)|0);
- $35 = HEAP16[$arrayidx33>>1]|0;
- $conv34 = $35 << 16 >> 16;
- $shl35 = $conv34 << 14;
- $36 = $W_tmp_Q9;
- $div = (($shl35|0) / ($36|0))&-1;
- $add = (($conv32) + ($div))|0;
- $NLSF_Q15_tmp = $add;
- $37 = $NLSF_Q15_tmp;
- $cmp36 = ($37|0)>(32767);
- if ($cmp36) {
- $cond43 = 32767;
- } else {
- $38 = $NLSF_Q15_tmp;
- $cmp38 = ($38|0)<(0);
- $39 = $NLSF_Q15_tmp;
- $cond = $cmp38 ? 0 : $39;
- $cond43 = $cond;
- }
- $conv44 = $cond43&65535;
- $40 = $pNLSF_Q15$addr;
- $41 = $i;
- $arrayidx45 = (($40) + ($41<<1)|0);
- HEAP16[$arrayidx45>>1] = $conv44;
- $42 = $i;
- $inc47 = (($42) + 1)|0;
- $i = $inc47;
- }
- $43 = $pNLSF_Q15$addr;
- $44 = $psNLSF_CB$addr;
- $deltaMin_Q15 = ((($44)) + 32|0);
- $45 = HEAP32[$deltaMin_Q15>>2]|0;
- $46 = $psNLSF_CB$addr;
- $order49 = ((($46)) + 2|0);
- $47 = HEAP16[$order49>>1]|0;
- $conv50 = $47 << 16 >> 16;
- _silk_NLSF_stabilize($43,$45,$conv50);
- STACKTOP = sp;return;
-}
-function _silk_NLSF_residual_dequant($x_Q10,$indices,$pred_coef_Q8,$quant_step_size_Q16,$order) {
- $x_Q10 = $x_Q10|0;
- $indices = $indices|0;
- $pred_coef_Q8 = $pred_coef_Q8|0;
- $quant_step_size_Q16 = $quant_step_size_Q16|0;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $add = 0, $add23 = 0, $add24 = 0, $and = 0, $arrayidx = 0, $arrayidx26 = 0, $arrayidx6 = 0, $cmp = 0, $cmp11 = 0, $cmp8 = 0, $conv = 0, $conv16 = 0, $conv17 = 0, $conv19 = 0, $conv2 = 0, $conv20 = 0, $conv25 = 0, $conv3 = 0, $conv4 = 0;
- var $conv5 = 0, $conv7 = 0, $dec = 0, $i = 0, $indices$addr = 0, $mul = 0, $mul18 = 0, $mul21 = 0, $order$addr = 0, $out_Q10 = 0, $pred_Q10 = 0, $pred_coef_Q8$addr = 0, $quant_step_size_Q16$addr = 0, $shl = 0, $shr = 0, $shr15 = 0, $shr22 = 0, $sub = 0, $sub10 = 0, $x_Q10$addr = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x_Q10$addr = $x_Q10;
- $indices$addr = $indices;
- $pred_coef_Q8$addr = $pred_coef_Q8;
- $quant_step_size_Q16$addr = $quant_step_size_Q16;
- $order$addr = $order;
- $out_Q10 = 0;
- $0 = $order$addr;
- $conv = $0 << 16 >> 16;
- $sub = (($conv) - 1)|0;
- $i = $sub;
- while(1) {
- $1 = $i;
- $cmp = ($1|0)>=(0);
- if (!($cmp)) {
- break;
- }
- $2 = $out_Q10;
- $conv2 = $2&65535;
- $conv3 = $conv2 << 16 >> 16;
- $3 = $pred_coef_Q8$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4)|0);
- $5 = HEAP8[$arrayidx>>0]|0;
- $conv4 = $5&255;
- $conv5 = $conv4 << 16 >> 16;
- $mul = Math_imul($conv3, $conv5)|0;
- $shr = $mul >> 8;
- $pred_Q10 = $shr;
- $6 = $indices$addr;
- $7 = $i;
- $arrayidx6 = (($6) + ($7)|0);
- $8 = HEAP8[$arrayidx6>>0]|0;
- $conv7 = $8 << 24 >> 24;
- $shl = $conv7 << 10;
- $out_Q10 = $shl;
- $9 = $out_Q10;
- $cmp8 = ($9|0)>(0);
- $10 = $out_Q10;
- if ($cmp8) {
- $sub10 = (($10) - 102)|0;
- $out_Q10 = $sub10;
- } else {
- $cmp11 = ($10|0)<(0);
- if ($cmp11) {
- $11 = $out_Q10;
- $add = (($11) + 102)|0;
- $out_Q10 = $add;
- }
- }
- $12 = $pred_Q10;
- $13 = $out_Q10;
- $shr15 = $13 >> 16;
- $14 = $quant_step_size_Q16$addr;
- $conv16 = $14&65535;
- $conv17 = $conv16 << 16 >> 16;
- $mul18 = Math_imul($shr15, $conv17)|0;
- $15 = $out_Q10;
- $and = $15 & 65535;
- $16 = $quant_step_size_Q16$addr;
- $conv19 = $16&65535;
- $conv20 = $conv19 << 16 >> 16;
- $mul21 = Math_imul($and, $conv20)|0;
- $shr22 = $mul21 >> 16;
- $add23 = (($mul18) + ($shr22))|0;
- $add24 = (($12) + ($add23))|0;
- $out_Q10 = $add24;
- $17 = $out_Q10;
- $conv25 = $17&65535;
- $18 = $x_Q10$addr;
- $19 = $i;
- $arrayidx26 = (($18) + ($19<<1)|0);
- HEAP16[$arrayidx26>>1] = $conv25;
- $20 = $i;
- $dec = (($20) + -1)|0;
- $i = $dec;
- }
- STACKTOP = sp;return;
-}
-function _silk_SQRT_APPROX_413($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add17 = 0, $and = 0, $and9 = 0, $cmp = 0, $conv = 0, $conv10 = 0, $conv11 = 0;
- var $conv13 = 0, $conv14 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $frac_Q7 = 0, $lz = 0, $mul = 0, $mul12 = 0, $mul15 = 0, $mul8 = 0, $retval = 0, $shr = 0, $shr16 = 0, $shr3 = 0, $shr4 = 0, $tobool = 0, $x$addr = 0, $y = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $lz = sp + 4|0;
- $frac_Q7 = sp;
- $x$addr = $x;
- $0 = $x$addr;
- $cmp = ($0|0)<=(0);
- if ($cmp) {
- $retval = 0;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
- }
- $1 = $x$addr;
- _silk_CLZ_FRAC_414($1,$lz,$frac_Q7);
- $2 = HEAP32[$lz>>2]|0;
- $and = $2 & 1;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $y = 32768;
- } else {
- $y = 46214;
- }
- $3 = HEAP32[$lz>>2]|0;
- $shr = $3 >> 1;
- $4 = $y;
- $shr3 = $4 >> $shr;
- $y = $shr3;
- $5 = $y;
- $6 = $y;
- $shr4 = $6 >> 16;
- $7 = HEAP32[$frac_Q7>>2]|0;
- $conv = $7&65535;
- $conv5 = $conv << 16 >> 16;
- $mul = ($conv5*213)|0;
- $conv6 = $mul&65535;
- $conv7 = $conv6 << 16 >> 16;
- $mul8 = Math_imul($shr4, $conv7)|0;
- $8 = $y;
- $and9 = $8 & 65535;
- $9 = HEAP32[$frac_Q7>>2]|0;
- $conv10 = $9&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = ($conv11*213)|0;
- $conv13 = $mul12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and9, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul8) + ($shr16))|0;
- $add17 = (($5) + ($add))|0;
- $y = $add17;
- $10 = $y;
- $retval = $10;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
-}
-function _silk_CLZ_FRAC_414($in,$lz,$frac_Q7) {
- $in = $in|0;
- $lz = $lz|0;
- $frac_Q7 = $frac_Q7|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $and = 0, $call = 0, $call1 = 0, $frac_Q7$addr = 0, $in$addr = 0, $lz$addr = 0, $lzeros = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in$addr = $in;
- $lz$addr = $lz;
- $frac_Q7$addr = $frac_Q7;
- $0 = $in$addr;
- $call = (_silk_CLZ32_415($0)|0);
- $lzeros = $call;
- $1 = $lzeros;
- $2 = $lz$addr;
- HEAP32[$2>>2] = $1;
- $3 = $in$addr;
- $4 = $lzeros;
- $sub = (24 - ($4))|0;
- $call1 = (_silk_ROR32_416($3,$sub)|0);
- $and = $call1 & 127;
- $5 = $frac_Q7$addr;
- HEAP32[$5>>2] = $and;
- STACKTOP = sp;return;
-}
-function _silk_CLZ32_415($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_ROR32_416($a32,$rot) {
- $a32 = $a32|0;
- $rot = $rot|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $a32$addr = 0, $cmp = 0, $cmp1 = 0, $m = 0, $or = 0, $or8 = 0;
- var $r = 0, $retval = 0, $rot$addr = 0, $shl = 0, $shl6 = 0, $shr = 0, $shr7 = 0, $sub = 0, $sub3 = 0, $sub5 = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a32$addr = $a32;
- $rot$addr = $rot;
- $0 = $a32$addr;
- $x = $0;
- $1 = $rot$addr;
- $r = $1;
- $2 = $rot$addr;
- $sub = (0 - ($2))|0;
- $m = $sub;
- $3 = $rot$addr;
- $cmp = ($3|0)==(0);
- if ($cmp) {
- $4 = $a32$addr;
- $retval = $4;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- $5 = $rot$addr;
- $cmp1 = ($5|0)<(0);
- $6 = $x;
- if ($cmp1) {
- $7 = $m;
- $shl = $6 << $7;
- $8 = $x;
- $9 = $m;
- $sub3 = (32 - ($9))|0;
- $shr = $8 >>> $sub3;
- $or = $shl | $shr;
- $retval = $or;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- } else {
- $10 = $r;
- $sub5 = (32 - ($10))|0;
- $shl6 = $6 << $sub5;
- $11 = $x;
- $12 = $r;
- $shr7 = $11 >>> $12;
- $or8 = $shl6 | $shr7;
- $retval = $or8;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- return (0)|0;
-}
-function _silk_NSQ_c($psEncC,$NSQ,$psIndices,$x_Q3,$pulses,$PredCoef_Q12,$LTPCoef_Q14,$AR2_Q13,$HarmShapeGain_Q14,$Tilt_Q14,$LF_shp_Q14,$Gains_Q16,$pitchL,$Lambda_Q10,$LTP_scale_Q14) {
- $psEncC = $psEncC|0;
- $NSQ = $NSQ|0;
- $psIndices = $psIndices|0;
- $x_Q3 = $x_Q3|0;
- $pulses = $pulses|0;
- $PredCoef_Q12 = $PredCoef_Q12|0;
- $LTPCoef_Q14 = $LTPCoef_Q14|0;
- $AR2_Q13 = $AR2_Q13|0;
- $HarmShapeGain_Q14 = $HarmShapeGain_Q14|0;
- $Tilt_Q14 = $Tilt_Q14|0;
- $LF_shp_Q14 = $LF_shp_Q14|0;
- $Gains_Q16 = $Gains_Q16|0;
- $pitchL = $pitchL|0;
- $Lambda_Q10 = $Lambda_Q10|0;
- $LTP_scale_Q14 = $LTP_scale_Q14|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0;
- var $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
- var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
- var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
- var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
- var $96 = 0, $97 = 0, $98 = 0, $99 = 0, $AR2_Q13$addr = 0, $AR_shp_Q13 = 0, $A_Q12 = 0, $B_Q14 = 0, $Gains_Q16$addr = 0, $HarmShapeFIRPacked_Q14 = 0, $HarmShapeGain_Q14$addr = 0, $LF_shp_Q14$addr = 0, $LSF_interpolation_flag = 0, $LTPCoef_Q14$addr = 0, $LTP_scale_Q14$addr = 0, $Lambda_Q10$addr = 0, $NLSFInterpCoef_Q2 = 0, $NSQ$addr = 0, $PredCoef_Q12$addr = 0, $Seed = 0;
- var $Tilt_Q14$addr = 0, $add = 0, $add$ptr = 0, $add$ptr68 = 0, $add$ptr70 = 0, $add47 = 0, $add8 = 0, $and = 0, $arch = 0, $arrayidx = 0, $arrayidx14 = 0, $arrayidx18 = 0, $arrayidx2 = 0, $arrayidx20 = 0, $arrayidx22 = 0, $arrayidx23 = 0, $arrayidx25 = 0, $arrayidx33 = 0, $arrayidx43 = 0, $arrayidx48 = 0;
- var $arrayidx61 = 0, $arrayidx62 = 0, $arrayidx63 = 0, $arrayidx73 = 0, $arrayidx78 = 0, $arrayidx84 = 0, $cmp = 0, $cmp15 = 0, $cmp30 = 0, $cmp36 = 0, $conv = 0, $conv1 = 0, $conv29 = 0, $conv3 = 0, $conv4 = 0, $conv58 = 0, $conv60 = 0, $frame_length = 0, $frame_length7 = 0, $frame_length77 = 0;
- var $frame_length83 = 0, $idxprom = 0, $inc = 0, $k = 0, $lag = 0, $lagPrev = 0, $lagPrev74 = 0, $ltp_mem_length = 0, $ltp_mem_length11 = 0, $ltp_mem_length12 = 0, $ltp_mem_length13 = 0, $ltp_mem_length39 = 0, $ltp_mem_length49 = 0, $ltp_mem_length53 = 0, $ltp_mem_length6 = 0, $ltp_mem_length79 = 0, $ltp_mem_length85 = 0, $mul = 0, $mul19 = 0, $mul21 = 0;
- var $mul46 = 0, $mul80 = 0, $mul86 = 0, $nb_subfr = 0, $nb_subfr71 = 0, $offset_Q10 = 0, $or = 0, $or27 = 0, $pitchL$addr = 0, $predictLPCOrder = 0, $predictLPCOrder51 = 0, $predictLPCOrder65 = 0, $psEncC$addr = 0, $psIndices$addr = 0, $pulses$addr = 0, $pxq = 0, $quantOffsetType = 0, $rand_seed = 0, $rewhite_flag = 0, $rewhite_flag52 = 0;
- var $sLTP_buf_idx = 0, $sLTP_buf_idx54 = 0, $sLTP_shp_Q14 = 0, $sLTP_shp_Q1482 = 0, $sLTP_shp_buf_idx = 0, $saved_stack = 0, $shapingLPCOrder = 0, $shl = 0, $shl34 = 0, $shr = 0, $shr17 = 0, $shr24 = 0, $shr26 = 0, $signalType = 0, $signalType28 = 0, $signalType57 = 0, $signalType59 = 0, $start_idx = 0, $sub = 0, $sub35 = 0;
- var $sub40 = 0, $sub41 = 0, $sub42 = 0, $sub50 = 0, $sub72 = 0, $subfr_length = 0, $subfr_length45 = 0, $subfr_length64 = 0, $subfr_length66 = 0, $subfr_length67 = 0, $subfr_length69 = 0, $vla = 0, $vla$alloca_mul = 0, $vla10 = 0, $vla10$alloca_mul = 0, $vla9 = 0, $vla9$alloca_mul = 0, $x_Q3$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $psEncC$addr = $psEncC;
- $NSQ$addr = $NSQ;
- $psIndices$addr = $psIndices;
- $x_Q3$addr = $x_Q3;
- $pulses$addr = $pulses;
- $PredCoef_Q12$addr = $PredCoef_Q12;
- $LTPCoef_Q14$addr = $LTPCoef_Q14;
- $AR2_Q13$addr = $AR2_Q13;
- $HarmShapeGain_Q14$addr = $HarmShapeGain_Q14;
- $Tilt_Q14$addr = $Tilt_Q14;
- $LF_shp_Q14$addr = $LF_shp_Q14;
- $Gains_Q16$addr = $Gains_Q16;
- $pitchL$addr = $pitchL;
- $Lambda_Q10$addr = $Lambda_Q10;
- $LTP_scale_Q14$addr = $LTP_scale_Q14;
- $0 = $psIndices$addr;
- $Seed = ((($0)) + 34|0);
- $1 = HEAP8[$Seed>>0]|0;
- $conv = $1 << 24 >> 24;
- $2 = $NSQ$addr;
- $rand_seed = ((($2)) + 4368|0);
- HEAP32[$rand_seed>>2] = $conv;
- $3 = $NSQ$addr;
- $lagPrev = ((($3)) + 4356|0);
- $4 = HEAP32[$lagPrev>>2]|0;
- $lag = $4;
- $5 = $psIndices$addr;
- $signalType = ((($5)) + 29|0);
- $6 = HEAP8[$signalType>>0]|0;
- $conv1 = $6 << 24 >> 24;
- $shr = $conv1 >> 1;
- $arrayidx = (24998 + ($shr<<2)|0);
- $7 = $psIndices$addr;
- $quantOffsetType = ((($7)) + 30|0);
- $8 = HEAP8[$quantOffsetType>>0]|0;
- $idxprom = $8 << 24 >> 24;
- $arrayidx2 = (($arrayidx) + ($idxprom<<1)|0);
- $9 = HEAP16[$arrayidx2>>1]|0;
- $conv3 = $9 << 16 >> 16;
- $offset_Q10 = $conv3;
- $10 = $psIndices$addr;
- $NLSFInterpCoef_Q2 = ((($10)) + 31|0);
- $11 = HEAP8[$NLSFInterpCoef_Q2>>0]|0;
- $conv4 = $11 << 24 >> 24;
- $cmp = ($conv4|0)==(4);
- if ($cmp) {
- $LSF_interpolation_flag = 0;
- } else {
- $LSF_interpolation_flag = 1;
- }
- $12 = $psEncC$addr;
- $ltp_mem_length = ((($12)) + 4616|0);
- $13 = HEAP32[$ltp_mem_length>>2]|0;
- $14 = $psEncC$addr;
- $frame_length = ((($14)) + 4608|0);
- $15 = HEAP32[$frame_length>>2]|0;
- $add = (($13) + ($15))|0;
- $16 = (_llvm_stacksave()|0);
- $saved_stack = $16;
- $vla$alloca_mul = $add<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $17 = $psEncC$addr;
- $ltp_mem_length6 = ((($17)) + 4616|0);
- $18 = HEAP32[$ltp_mem_length6>>2]|0;
- $19 = $psEncC$addr;
- $frame_length7 = ((($19)) + 4608|0);
- $20 = HEAP32[$frame_length7>>2]|0;
- $add8 = (($18) + ($20))|0;
- $vla9$alloca_mul = $add8<<1;
- $vla9 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla9$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla9$alloca_mul)|0)+15)&-16)|0);;
- $21 = $psEncC$addr;
- $subfr_length = ((($21)) + 4612|0);
- $22 = HEAP32[$subfr_length>>2]|0;
- $vla10$alloca_mul = $22<<2;
- $vla10 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla10$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla10$alloca_mul)|0)+15)&-16)|0);;
- $23 = $psEncC$addr;
- $ltp_mem_length11 = ((($23)) + 4616|0);
- $24 = HEAP32[$ltp_mem_length11>>2]|0;
- $25 = $NSQ$addr;
- $sLTP_shp_buf_idx = ((($25)) + 4364|0);
- HEAP32[$sLTP_shp_buf_idx>>2] = $24;
- $26 = $psEncC$addr;
- $ltp_mem_length12 = ((($26)) + 4616|0);
- $27 = HEAP32[$ltp_mem_length12>>2]|0;
- $28 = $NSQ$addr;
- $sLTP_buf_idx = ((($28)) + 4360|0);
- HEAP32[$sLTP_buf_idx>>2] = $27;
- $29 = $NSQ$addr;
- $30 = $psEncC$addr;
- $ltp_mem_length13 = ((($30)) + 4616|0);
- $31 = HEAP32[$ltp_mem_length13>>2]|0;
- $arrayidx14 = (($29) + ($31<<1)|0);
- $pxq = $arrayidx14;
- $k = 0;
- while(1) {
- $32 = $k;
- $33 = $psEncC$addr;
- $nb_subfr = ((($33)) + 4604|0);
- $34 = HEAP32[$nb_subfr>>2]|0;
- $cmp15 = ($32|0)<($34|0);
- if (!($cmp15)) {
- break;
- }
- $35 = $PredCoef_Q12$addr;
- $36 = $k;
- $shr17 = $36 >> 1;
- $37 = $LSF_interpolation_flag;
- $sub = (1 - ($37))|0;
- $or = $shr17 | $sub;
- $mul = $or<<4;
- $arrayidx18 = (($35) + ($mul<<1)|0);
- $A_Q12 = $arrayidx18;
- $38 = $LTPCoef_Q14$addr;
- $39 = $k;
- $mul19 = ($39*5)|0;
- $arrayidx20 = (($38) + ($mul19<<1)|0);
- $B_Q14 = $arrayidx20;
- $40 = $AR2_Q13$addr;
- $41 = $k;
- $mul21 = $41<<4;
- $arrayidx22 = (($40) + ($mul21<<1)|0);
- $AR_shp_Q13 = $arrayidx22;
- $42 = $HarmShapeGain_Q14$addr;
- $43 = $k;
- $arrayidx23 = (($42) + ($43<<2)|0);
- $44 = HEAP32[$arrayidx23>>2]|0;
- $shr24 = $44 >> 2;
- $HarmShapeFIRPacked_Q14 = $shr24;
- $45 = $HarmShapeGain_Q14$addr;
- $46 = $k;
- $arrayidx25 = (($45) + ($46<<2)|0);
- $47 = HEAP32[$arrayidx25>>2]|0;
- $shr26 = $47 >> 1;
- $shl = $shr26 << 16;
- $48 = $HarmShapeFIRPacked_Q14;
- $or27 = $48 | $shl;
- $HarmShapeFIRPacked_Q14 = $or27;
- $49 = $NSQ$addr;
- $rewhite_flag = ((($49)) + 4376|0);
- HEAP32[$rewhite_flag>>2] = 0;
- $50 = $psIndices$addr;
- $signalType28 = ((($50)) + 29|0);
- $51 = HEAP8[$signalType28>>0]|0;
- $conv29 = $51 << 24 >> 24;
- $cmp30 = ($conv29|0)==(2);
- if ($cmp30) {
- $52 = $pitchL$addr;
- $53 = $k;
- $arrayidx33 = (($52) + ($53<<2)|0);
- $54 = HEAP32[$arrayidx33>>2]|0;
- $lag = $54;
- $55 = $k;
- $56 = $LSF_interpolation_flag;
- $shl34 = $56 << 1;
- $sub35 = (3 - ($shl34))|0;
- $and = $55 & $sub35;
- $cmp36 = ($and|0)==(0);
- if ($cmp36) {
- $57 = $psEncC$addr;
- $ltp_mem_length39 = ((($57)) + 4616|0);
- $58 = HEAP32[$ltp_mem_length39>>2]|0;
- $59 = $lag;
- $sub40 = (($58) - ($59))|0;
- $60 = $psEncC$addr;
- $predictLPCOrder = ((($60)) + 4664|0);
- $61 = HEAP32[$predictLPCOrder>>2]|0;
- $sub41 = (($sub40) - ($61))|0;
- $sub42 = (($sub41) - 2)|0;
- $start_idx = $sub42;
- $62 = $start_idx;
- $arrayidx43 = (($vla9) + ($62<<1)|0);
- $63 = $NSQ$addr;
- $64 = $start_idx;
- $65 = $k;
- $66 = $psEncC$addr;
- $subfr_length45 = ((($66)) + 4612|0);
- $67 = HEAP32[$subfr_length45>>2]|0;
- $mul46 = Math_imul($65, $67)|0;
- $add47 = (($64) + ($mul46))|0;
- $arrayidx48 = (($63) + ($add47<<1)|0);
- $68 = $A_Q12;
- $69 = $psEncC$addr;
- $ltp_mem_length49 = ((($69)) + 4616|0);
- $70 = HEAP32[$ltp_mem_length49>>2]|0;
- $71 = $start_idx;
- $sub50 = (($70) - ($71))|0;
- $72 = $psEncC$addr;
- $predictLPCOrder51 = ((($72)) + 4664|0);
- $73 = HEAP32[$predictLPCOrder51>>2]|0;
- $74 = $psEncC$addr;
- $arch = ((($74)) + 5124|0);
- $75 = HEAP32[$arch>>2]|0;
- _silk_LPC_analysis_filter($arrayidx43,$arrayidx48,$68,$sub50,$73,$75);
- $76 = $NSQ$addr;
- $rewhite_flag52 = ((($76)) + 4376|0);
- HEAP32[$rewhite_flag52>>2] = 1;
- $77 = $psEncC$addr;
- $ltp_mem_length53 = ((($77)) + 4616|0);
- $78 = HEAP32[$ltp_mem_length53>>2]|0;
- $79 = $NSQ$addr;
- $sLTP_buf_idx54 = ((($79)) + 4360|0);
- HEAP32[$sLTP_buf_idx54>>2] = $78;
- }
- }
- $80 = $psEncC$addr;
- $81 = $NSQ$addr;
- $82 = $x_Q3$addr;
- $83 = $k;
- $84 = $LTP_scale_Q14$addr;
- $85 = $Gains_Q16$addr;
- $86 = $pitchL$addr;
- $87 = $psIndices$addr;
- $signalType57 = ((($87)) + 29|0);
- $88 = HEAP8[$signalType57>>0]|0;
- $conv58 = $88 << 24 >> 24;
- _silk_nsq_scale_states($80,$81,$82,$vla10,$vla9,$vla,$83,$84,$85,$86,$conv58);
- $89 = $NSQ$addr;
- $90 = $psIndices$addr;
- $signalType59 = ((($90)) + 29|0);
- $91 = HEAP8[$signalType59>>0]|0;
- $conv60 = $91 << 24 >> 24;
- $92 = $pulses$addr;
- $93 = $pxq;
- $94 = $A_Q12;
- $95 = $B_Q14;
- $96 = $AR_shp_Q13;
- $97 = $lag;
- $98 = $HarmShapeFIRPacked_Q14;
- $99 = $Tilt_Q14$addr;
- $100 = $k;
- $arrayidx61 = (($99) + ($100<<2)|0);
- $101 = HEAP32[$arrayidx61>>2]|0;
- $102 = $LF_shp_Q14$addr;
- $103 = $k;
- $arrayidx62 = (($102) + ($103<<2)|0);
- $104 = HEAP32[$arrayidx62>>2]|0;
- $105 = $Gains_Q16$addr;
- $106 = $k;
- $arrayidx63 = (($105) + ($106<<2)|0);
- $107 = HEAP32[$arrayidx63>>2]|0;
- $108 = $Lambda_Q10$addr;
- $109 = $offset_Q10;
- $110 = $psEncC$addr;
- $subfr_length64 = ((($110)) + 4612|0);
- $111 = HEAP32[$subfr_length64>>2]|0;
- $112 = $psEncC$addr;
- $shapingLPCOrder = ((($112)) + 4660|0);
- $113 = HEAP32[$shapingLPCOrder>>2]|0;
- $114 = $psEncC$addr;
- $predictLPCOrder65 = ((($114)) + 4664|0);
- $115 = HEAP32[$predictLPCOrder65>>2]|0;
- _silk_noise_shape_quantizer($89,$conv60,$vla10,$92,$93,$vla,$94,$95,$96,$97,$98,$101,$104,$107,$108,$109,$111,$113,$115);
- $116 = $psEncC$addr;
- $subfr_length66 = ((($116)) + 4612|0);
- $117 = HEAP32[$subfr_length66>>2]|0;
- $118 = $x_Q3$addr;
- $add$ptr = (($118) + ($117<<2)|0);
- $x_Q3$addr = $add$ptr;
- $119 = $psEncC$addr;
- $subfr_length67 = ((($119)) + 4612|0);
- $120 = HEAP32[$subfr_length67>>2]|0;
- $121 = $pulses$addr;
- $add$ptr68 = (($121) + ($120)|0);
- $pulses$addr = $add$ptr68;
- $122 = $psEncC$addr;
- $subfr_length69 = ((($122)) + 4612|0);
- $123 = HEAP32[$subfr_length69>>2]|0;
- $124 = $pxq;
- $add$ptr70 = (($124) + ($123<<1)|0);
- $pxq = $add$ptr70;
- $125 = $k;
- $inc = (($125) + 1)|0;
- $k = $inc;
- }
- $126 = $pitchL$addr;
- $127 = $psEncC$addr;
- $nb_subfr71 = ((($127)) + 4604|0);
- $128 = HEAP32[$nb_subfr71>>2]|0;
- $sub72 = (($128) - 1)|0;
- $arrayidx73 = (($126) + ($sub72<<2)|0);
- $129 = HEAP32[$arrayidx73>>2]|0;
- $130 = $NSQ$addr;
- $lagPrev74 = ((($130)) + 4356|0);
- HEAP32[$lagPrev74>>2] = $129;
- $131 = $NSQ$addr;
- $132 = $NSQ$addr;
- $133 = $psEncC$addr;
- $frame_length77 = ((($133)) + 4608|0);
- $134 = HEAP32[$frame_length77>>2]|0;
- $arrayidx78 = (($132) + ($134<<1)|0);
- $135 = $psEncC$addr;
- $ltp_mem_length79 = ((($135)) + 4616|0);
- $136 = HEAP32[$ltp_mem_length79>>2]|0;
- $mul80 = $136<<1;
- _memmove(($131|0),($arrayidx78|0),($mul80|0))|0;
- $137 = $NSQ$addr;
- $sLTP_shp_Q14 = ((($137)) + 1280|0);
- $138 = $NSQ$addr;
- $sLTP_shp_Q1482 = ((($138)) + 1280|0);
- $139 = $psEncC$addr;
- $frame_length83 = ((($139)) + 4608|0);
- $140 = HEAP32[$frame_length83>>2]|0;
- $arrayidx84 = (($sLTP_shp_Q1482) + ($140<<2)|0);
- $141 = $psEncC$addr;
- $ltp_mem_length85 = ((($141)) + 4616|0);
- $142 = HEAP32[$ltp_mem_length85>>2]|0;
- $mul86 = $142<<2;
- _memmove(($sLTP_shp_Q14|0),($arrayidx84|0),($mul86|0))|0;
- $143 = $saved_stack;
- _llvm_stackrestore(($143|0));
- STACKTOP = sp;return;
-}
-function _silk_nsq_scale_states($psEncC,$NSQ,$x_Q3,$x_sc_Q10,$sLTP,$sLTP_Q15,$subfr,$LTP_scale_Q14,$Gains_Q16,$pitchL,$signal_type) {
- $psEncC = $psEncC|0;
- $NSQ = $NSQ|0;
- $x_Q3 = $x_Q3|0;
- $x_sc_Q10 = $x_sc_Q10|0;
- $sLTP = $sLTP|0;
- $sLTP_Q15 = $sLTP_Q15|0;
- $subfr = $subfr|0;
- $LTP_scale_Q14 = $LTP_scale_Q14|0;
- $Gains_Q16 = $Gains_Q16|0;
- $pitchL = $pitchL|0;
- $signal_type = $signal_type|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0;
- var $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
- var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
- var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0;
- var $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $Gains_Q16$addr = 0, $LTP_scale_Q14$addr = 0, $NSQ$addr = 0, $add = 0, $add123 = 0;
- var $add126 = 0, $add129 = 0, $add145 = 0, $add148 = 0, $add151 = 0, $add169 = 0, $add173 = 0, $add176 = 0, $add18 = 0, $add198 = 0, $add202 = 0, $add205 = 0, $add21 = 0, $add24 = 0, $add41 = 0, $add58 = 0, $add85 = 0, $add89 = 0, $add92 = 0, $and = 0;
- var $and117 = 0, $and139 = 0, $and162 = 0, $and191 = 0, $and36 = 0, $and53 = 0, $and78 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx113 = 0, $arrayidx118 = 0, $arrayidx124 = 0, $arrayidx13 = 0, $arrayidx130 = 0, $arrayidx158 = 0, $arrayidx164 = 0, $arrayidx171 = 0, $arrayidx178 = 0, $arrayidx187 = 0;
- var $arrayidx19 = 0, $arrayidx193 = 0, $arrayidx2 = 0, $arrayidx200 = 0, $arrayidx207 = 0, $arrayidx25 = 0, $arrayidx26 = 0, $arrayidx3 = 0, $arrayidx50 = 0, $arrayidx54 = 0, $arrayidx59 = 0, $arrayidx6 = 0, $arrayidx74 = 0, $arrayidx80 = 0, $arrayidx87 = 0, $arrayidx94 = 0, $call = 0, $call7 = 0, $cmp = 0, $cmp101 = 0;
- var $cmp109 = 0, $cmp154 = 0, $cmp183 = 0, $cmp29 = 0, $cmp4 = 0, $cmp46 = 0, $cmp64 = 0, $cmp70 = 0, $cmp9 = 0, $cmp98 = 0, $cond = 0, $conv = 0, $conv114 = 0, $conv115 = 0, $conv119 = 0, $conv12 = 0, $conv120 = 0, $conv136 = 0, $conv137 = 0, $conv14 = 0;
- var $conv141 = 0, $conv142 = 0, $conv15 = 0, $conv159 = 0, $conv160 = 0, $conv165 = 0, $conv166 = 0, $conv188 = 0, $conv189 = 0, $conv194 = 0, $conv195 = 0, $conv33 = 0, $conv34 = 0, $conv37 = 0, $conv38 = 0, $conv51 = 0, $conv55 = 0, $conv75 = 0, $conv76 = 0, $conv81 = 0;
- var $conv82 = 0, $gain_adj_Q16 = 0, $i = 0, $inc = 0, $inc132 = 0, $inc180 = 0, $inc209 = 0, $inc61 = 0, $inc96 = 0, $inv_gain_Q23 = 0, $inv_gain_Q31 = 0, $lag = 0, $ltp_mem_length = 0, $mul = 0, $mul116 = 0, $mul121 = 0, $mul128 = 0, $mul138 = 0, $mul143 = 0, $mul150 = 0;
- var $mul16 = 0, $mul161 = 0, $mul167 = 0, $mul175 = 0, $mul190 = 0, $mul196 = 0, $mul204 = 0, $mul23 = 0, $mul35 = 0, $mul39 = 0, $mul52 = 0, $mul56 = 0, $mul77 = 0, $mul83 = 0, $mul91 = 0, $pitchL$addr = 0, $prev_gain_Q16 = 0, $prev_gain_Q1627 = 0, $prev_gain_Q165 = 0, $psEncC$addr = 0;
- var $rewhite_flag = 0, $rewhite_flag100 = 0, $sAR2_Q14 = 0, $sAR2_Q14192 = 0, $sAR2_Q14199 = 0, $sAR2_Q14206 = 0, $sLF_AR_shp_Q14 = 0, $sLF_AR_shp_Q14140 = 0, $sLF_AR_shp_Q14146 = 0, $sLF_AR_shp_Q14152 = 0, $sLPC_Q14 = 0, $sLPC_Q14163 = 0, $sLPC_Q14170 = 0, $sLPC_Q14177 = 0, $sLTP$addr = 0, $sLTP_Q15$addr = 0, $sLTP_buf_idx = 0, $sLTP_buf_idx104 = 0, $sLTP_buf_idx108 = 0, $sLTP_buf_idx45 = 0;
- var $sLTP_shp_Q14 = 0, $sLTP_shp_Q1479 = 0, $sLTP_shp_Q1486 = 0, $sLTP_shp_Q1493 = 0, $sLTP_shp_buf_idx = 0, $sLTP_shp_buf_idx69 = 0, $shl = 0, $shr = 0, $shr11 = 0, $shr112 = 0, $shr122 = 0, $shr125 = 0, $shr127 = 0, $shr135 = 0, $shr144 = 0, $shr147 = 0, $shr149 = 0, $shr157 = 0, $shr168 = 0, $shr17 = 0;
- var $shr172 = 0, $shr174 = 0, $shr186 = 0, $shr197 = 0, $shr20 = 0, $shr201 = 0, $shr203 = 0, $shr22 = 0, $shr32 = 0, $shr40 = 0, $shr49 = 0, $shr57 = 0, $shr73 = 0, $shr8 = 0, $shr84 = 0, $shr88 = 0, $shr90 = 0, $signal_type$addr = 0, $sub = 0, $sub105 = 0;
- var $sub106 = 0, $sub43 = 0, $sub67 = 0, $subfr$addr = 0, $subfr_length = 0, $tobool = 0, $x_Q3$addr = 0, $x_sc_Q10$addr = 0, label = 0, sp = 0;
+function _silk_biquad_float($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0, $68 = 0.0, $69 = 0.0;
+ var $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0, $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0.0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $psEncC$addr = $psEncC;
- $NSQ$addr = $NSQ;
- $x_Q3$addr = $x_Q3;
- $x_sc_Q10$addr = $x_sc_Q10;
- $sLTP$addr = $sLTP;
- $sLTP_Q15$addr = $sLTP_Q15;
- $subfr$addr = $subfr;
- $LTP_scale_Q14$addr = $LTP_scale_Q14;
- $Gains_Q16$addr = $Gains_Q16;
- $pitchL$addr = $pitchL;
- $signal_type$addr = $signal_type;
- $0 = $pitchL$addr;
- $1 = $subfr$addr;
- $arrayidx = (($0) + ($1<<2)|0);
- $2 = HEAP32[$arrayidx>>2]|0;
- $lag = $2;
- $3 = $Gains_Q16$addr;
- $4 = $subfr$addr;
- $arrayidx1 = (($3) + ($4<<2)|0);
- $5 = HEAP32[$arrayidx1>>2]|0;
- $cmp = ($5|0)>(1);
- if ($cmp) {
- $6 = $Gains_Q16$addr;
- $7 = $subfr$addr;
- $arrayidx2 = (($6) + ($7<<2)|0);
- $8 = HEAP32[$arrayidx2>>2]|0;
- $cond = $8;
- } else {
- $cond = 1;
- }
- $call = (_silk_INVERSE32_varQ($cond,47)|0);
- $inv_gain_Q31 = $call;
- $9 = $Gains_Q16$addr;
- $10 = $subfr$addr;
- $arrayidx3 = (($9) + ($10<<2)|0);
- $11 = HEAP32[$arrayidx3>>2]|0;
- $12 = $NSQ$addr;
- $prev_gain_Q16 = ((($12)) + 4372|0);
- $13 = HEAP32[$prev_gain_Q16>>2]|0;
- $cmp4 = ($11|0)!=($13|0);
- if ($cmp4) {
- $14 = $NSQ$addr;
- $prev_gain_Q165 = ((($14)) + 4372|0);
- $15 = HEAP32[$prev_gain_Q165>>2]|0;
- $16 = $Gains_Q16$addr;
- $17 = $subfr$addr;
- $arrayidx6 = (($16) + ($17<<2)|0);
- $18 = HEAP32[$arrayidx6>>2]|0;
- $call7 = (_silk_DIV32_varQ_419($15,$18,16)|0);
- $gain_adj_Q16 = $call7;
- } else {
- $gain_adj_Q16 = 65536;
- }
- $19 = $inv_gain_Q31;
- $shr = $19 >> 7;
- $add = (($shr) + 1)|0;
- $shr8 = $add >> 1;
- $inv_gain_Q23 = $shr8;
- $i = 0;
+ $17 = sp + 16|0;
+ $18 = sp;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $19 = $9;
+ $20 = HEAP32[$19>>2]|0;
+ $21 = (+($20|0));
+ $22 = $21 * 3.7252902984619141E-9;
+ HEAPF32[$17>>2] = $22;
+ $23 = $9;
+ $24 = ((($23)) + 4|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = (+($25|0));
+ $27 = $26 * 3.7252902984619141E-9;
+ $28 = ((($17)) + 4|0);
+ HEAPF32[$28>>2] = $27;
+ $29 = $8;
+ $30 = HEAP32[$29>>2]|0;
+ $31 = (+($30|0));
+ $32 = $31 * 3.7252902984619141E-9;
+ HEAPF32[$18>>2] = $32;
+ $33 = $8;
+ $34 = ((($33)) + 4|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = (+($35|0));
+ $37 = $36 * 3.7252902984619141E-9;
+ $38 = ((($18)) + 4|0);
+ HEAPF32[$38>>2] = $37;
+ $39 = $8;
+ $40 = ((($39)) + 8|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = (+($41|0));
+ $43 = $42 * 3.7252902984619141E-9;
+ $44 = ((($18)) + 8|0);
+ HEAPF32[$44>>2] = $43;
+ $14 = 0;
while(1) {
- $20 = $i;
- $21 = $psEncC$addr;
- $subfr_length = ((($21)) + 4612|0);
- $22 = HEAP32[$subfr_length>>2]|0;
- $cmp9 = ($20|0)<($22|0);
- if (!($cmp9)) {
+ $45 = $14;
+ $46 = $12;
+ $47 = ($45|0)<($46|0);
+ if (!($47)) {
break;
}
- $23 = $x_Q3$addr;
- $24 = $i;
- $arrayidx10 = (($23) + ($24<<2)|0);
- $25 = HEAP32[$arrayidx10>>2]|0;
- $shr11 = $25 >> 16;
- $26 = $inv_gain_Q23;
- $conv = $26&65535;
- $conv12 = $conv << 16 >> 16;
- $mul = Math_imul($shr11, $conv12)|0;
- $27 = $x_Q3$addr;
- $28 = $i;
- $arrayidx13 = (($27) + ($28<<2)|0);
- $29 = HEAP32[$arrayidx13>>2]|0;
- $and = $29 & 65535;
- $30 = $inv_gain_Q23;
- $conv14 = $30&65535;
- $conv15 = $conv14 << 16 >> 16;
- $mul16 = Math_imul($and, $conv15)|0;
- $shr17 = $mul16 >> 16;
- $add18 = (($mul) + ($shr17))|0;
- $31 = $x_Q3$addr;
- $32 = $i;
- $arrayidx19 = (($31) + ($32<<2)|0);
- $33 = HEAP32[$arrayidx19>>2]|0;
- $34 = $inv_gain_Q23;
- $shr20 = $34 >> 15;
- $add21 = (($shr20) + 1)|0;
- $shr22 = $add21 >> 1;
- $mul23 = Math_imul($33, $shr22)|0;
- $add24 = (($add18) + ($mul23))|0;
- $35 = $x_sc_Q10$addr;
- $36 = $i;
- $arrayidx25 = (($35) + ($36<<2)|0);
- HEAP32[$arrayidx25>>2] = $add24;
- $37 = $i;
- $inc = (($37) + 1)|0;
- $i = $inc;
- }
- $38 = $Gains_Q16$addr;
- $39 = $subfr$addr;
- $arrayidx26 = (($38) + ($39<<2)|0);
- $40 = HEAP32[$arrayidx26>>2]|0;
- $41 = $NSQ$addr;
- $prev_gain_Q1627 = ((($41)) + 4372|0);
- HEAP32[$prev_gain_Q1627>>2] = $40;
- $42 = $NSQ$addr;
- $rewhite_flag = ((($42)) + 4376|0);
- $43 = HEAP32[$rewhite_flag>>2]|0;
- $tobool = ($43|0)!=(0);
- L12: do {
- if ($tobool) {
- $44 = $subfr$addr;
- $cmp29 = ($44|0)==(0);
- if ($cmp29) {
- $45 = $inv_gain_Q31;
- $shr32 = $45 >> 16;
- $46 = $LTP_scale_Q14$addr;
- $conv33 = $46&65535;
- $conv34 = $conv33 << 16 >> 16;
- $mul35 = Math_imul($shr32, $conv34)|0;
- $47 = $inv_gain_Q31;
- $and36 = $47 & 65535;
- $48 = $LTP_scale_Q14$addr;
- $conv37 = $48&65535;
- $conv38 = $conv37 << 16 >> 16;
- $mul39 = Math_imul($and36, $conv38)|0;
- $shr40 = $mul39 >> 16;
- $add41 = (($mul35) + ($shr40))|0;
- $shl = $add41 << 2;
- $inv_gain_Q31 = $shl;
- }
- $49 = $NSQ$addr;
- $sLTP_buf_idx = ((($49)) + 4360|0);
- $50 = HEAP32[$sLTP_buf_idx>>2]|0;
- $51 = $lag;
- $sub = (($50) - ($51))|0;
- $sub43 = (($sub) - 2)|0;
- $i = $sub43;
- while(1) {
- $52 = $i;
- $53 = $NSQ$addr;
- $sLTP_buf_idx45 = ((($53)) + 4360|0);
- $54 = HEAP32[$sLTP_buf_idx45>>2]|0;
- $cmp46 = ($52|0)<($54|0);
- if (!($cmp46)) {
- break L12;
- }
- $55 = $inv_gain_Q31;
- $shr49 = $55 >> 16;
- $56 = $sLTP$addr;
- $57 = $i;
- $arrayidx50 = (($56) + ($57<<1)|0);
- $58 = HEAP16[$arrayidx50>>1]|0;
- $conv51 = $58 << 16 >> 16;
- $mul52 = Math_imul($shr49, $conv51)|0;
- $59 = $inv_gain_Q31;
- $and53 = $59 & 65535;
- $60 = $sLTP$addr;
- $61 = $i;
- $arrayidx54 = (($60) + ($61<<1)|0);
- $62 = HEAP16[$arrayidx54>>1]|0;
- $conv55 = $62 << 16 >> 16;
- $mul56 = Math_imul($and53, $conv55)|0;
- $shr57 = $mul56 >> 16;
- $add58 = (($mul52) + ($shr57))|0;
- $63 = $sLTP_Q15$addr;
- $64 = $i;
- $arrayidx59 = (($63) + ($64<<2)|0);
- HEAP32[$arrayidx59>>2] = $add58;
- $65 = $i;
- $inc61 = (($65) + 1)|0;
- $i = $inc61;
- }
- }
- } while(0);
- $66 = $gain_adj_Q16;
- $cmp64 = ($66|0)!=(65536);
- if (!($cmp64)) {
- STACKTOP = sp;return;
- }
- $67 = $NSQ$addr;
- $sLTP_shp_buf_idx = ((($67)) + 4364|0);
- $68 = HEAP32[$sLTP_shp_buf_idx>>2]|0;
- $69 = $psEncC$addr;
- $ltp_mem_length = ((($69)) + 4616|0);
- $70 = HEAP32[$ltp_mem_length>>2]|0;
- $sub67 = (($68) - ($70))|0;
- $i = $sub67;
- while(1) {
- $71 = $i;
- $72 = $NSQ$addr;
- $sLTP_shp_buf_idx69 = ((($72)) + 4364|0);
- $73 = HEAP32[$sLTP_shp_buf_idx69>>2]|0;
- $cmp70 = ($71|0)<($73|0);
- if (!($cmp70)) {
- break;
- }
- $74 = $gain_adj_Q16;
- $shr73 = $74 >> 16;
- $75 = $NSQ$addr;
- $sLTP_shp_Q14 = ((($75)) + 1280|0);
- $76 = $i;
- $arrayidx74 = (($sLTP_shp_Q14) + ($76<<2)|0);
- $77 = HEAP32[$arrayidx74>>2]|0;
- $conv75 = $77&65535;
- $conv76 = $conv75 << 16 >> 16;
- $mul77 = Math_imul($shr73, $conv76)|0;
- $78 = $gain_adj_Q16;
- $and78 = $78 & 65535;
- $79 = $NSQ$addr;
- $sLTP_shp_Q1479 = ((($79)) + 1280|0);
- $80 = $i;
- $arrayidx80 = (($sLTP_shp_Q1479) + ($80<<2)|0);
- $81 = HEAP32[$arrayidx80>>2]|0;
- $conv81 = $81&65535;
- $conv82 = $conv81 << 16 >> 16;
- $mul83 = Math_imul($and78, $conv82)|0;
- $shr84 = $mul83 >> 16;
- $add85 = (($mul77) + ($shr84))|0;
- $82 = $gain_adj_Q16;
- $83 = $NSQ$addr;
- $sLTP_shp_Q1486 = ((($83)) + 1280|0);
- $84 = $i;
- $arrayidx87 = (($sLTP_shp_Q1486) + ($84<<2)|0);
- $85 = HEAP32[$arrayidx87>>2]|0;
- $shr88 = $85 >> 15;
- $add89 = (($shr88) + 1)|0;
- $shr90 = $add89 >> 1;
- $mul91 = Math_imul($82, $shr90)|0;
- $add92 = (($add85) + ($mul91))|0;
- $86 = $NSQ$addr;
- $sLTP_shp_Q1493 = ((($86)) + 1280|0);
- $87 = $i;
- $arrayidx94 = (($sLTP_shp_Q1493) + ($87<<2)|0);
- HEAP32[$arrayidx94>>2] = $add92;
- $88 = $i;
- $inc96 = (($88) + 1)|0;
- $i = $inc96;
- }
- $89 = $signal_type$addr;
- $cmp98 = ($89|0)==(2);
- L28: do {
- if ($cmp98) {
- $90 = $NSQ$addr;
- $rewhite_flag100 = ((($90)) + 4376|0);
- $91 = HEAP32[$rewhite_flag100>>2]|0;
- $cmp101 = ($91|0)==(0);
- if ($cmp101) {
- $92 = $NSQ$addr;
- $sLTP_buf_idx104 = ((($92)) + 4360|0);
- $93 = HEAP32[$sLTP_buf_idx104>>2]|0;
- $94 = $lag;
- $sub105 = (($93) - ($94))|0;
- $sub106 = (($sub105) - 2)|0;
- $i = $sub106;
- while(1) {
- $95 = $i;
- $96 = $NSQ$addr;
- $sLTP_buf_idx108 = ((($96)) + 4360|0);
- $97 = HEAP32[$sLTP_buf_idx108>>2]|0;
- $cmp109 = ($95|0)<($97|0);
- if (!($cmp109)) {
- break L28;
- }
- $98 = $gain_adj_Q16;
- $shr112 = $98 >> 16;
- $99 = $sLTP_Q15$addr;
- $100 = $i;
- $arrayidx113 = (($99) + ($100<<2)|0);
- $101 = HEAP32[$arrayidx113>>2]|0;
- $conv114 = $101&65535;
- $conv115 = $conv114 << 16 >> 16;
- $mul116 = Math_imul($shr112, $conv115)|0;
- $102 = $gain_adj_Q16;
- $and117 = $102 & 65535;
- $103 = $sLTP_Q15$addr;
- $104 = $i;
- $arrayidx118 = (($103) + ($104<<2)|0);
- $105 = HEAP32[$arrayidx118>>2]|0;
- $conv119 = $105&65535;
- $conv120 = $conv119 << 16 >> 16;
- $mul121 = Math_imul($and117, $conv120)|0;
- $shr122 = $mul121 >> 16;
- $add123 = (($mul116) + ($shr122))|0;
- $106 = $gain_adj_Q16;
- $107 = $sLTP_Q15$addr;
- $108 = $i;
- $arrayidx124 = (($107) + ($108<<2)|0);
- $109 = HEAP32[$arrayidx124>>2]|0;
- $shr125 = $109 >> 15;
- $add126 = (($shr125) + 1)|0;
- $shr127 = $add126 >> 1;
- $mul128 = Math_imul($106, $shr127)|0;
- $add129 = (($add123) + ($mul128))|0;
- $110 = $sLTP_Q15$addr;
- $111 = $i;
- $arrayidx130 = (($110) + ($111<<2)|0);
- HEAP32[$arrayidx130>>2] = $add129;
- $112 = $i;
- $inc132 = (($112) + 1)|0;
- $i = $inc132;
- }
- }
- }
- } while(0);
- $113 = $gain_adj_Q16;
- $shr135 = $113 >> 16;
- $114 = $NSQ$addr;
- $sLF_AR_shp_Q14 = ((($114)) + 4352|0);
- $115 = HEAP32[$sLF_AR_shp_Q14>>2]|0;
- $conv136 = $115&65535;
- $conv137 = $conv136 << 16 >> 16;
- $mul138 = Math_imul($shr135, $conv137)|0;
- $116 = $gain_adj_Q16;
- $and139 = $116 & 65535;
- $117 = $NSQ$addr;
- $sLF_AR_shp_Q14140 = ((($117)) + 4352|0);
- $118 = HEAP32[$sLF_AR_shp_Q14140>>2]|0;
- $conv141 = $118&65535;
- $conv142 = $conv141 << 16 >> 16;
- $mul143 = Math_imul($and139, $conv142)|0;
- $shr144 = $mul143 >> 16;
- $add145 = (($mul138) + ($shr144))|0;
- $119 = $gain_adj_Q16;
- $120 = $NSQ$addr;
- $sLF_AR_shp_Q14146 = ((($120)) + 4352|0);
- $121 = HEAP32[$sLF_AR_shp_Q14146>>2]|0;
- $shr147 = $121 >> 15;
- $add148 = (($shr147) + 1)|0;
- $shr149 = $add148 >> 1;
- $mul150 = Math_imul($119, $shr149)|0;
- $add151 = (($add145) + ($mul150))|0;
- $122 = $NSQ$addr;
- $sLF_AR_shp_Q14152 = ((($122)) + 4352|0);
- HEAP32[$sLF_AR_shp_Q14152>>2] = $add151;
- $i = 0;
- while(1) {
- $123 = $i;
- $cmp154 = ($123|0)<(32);
- if (!($cmp154)) {
- break;
- }
- $124 = $gain_adj_Q16;
- $shr157 = $124 >> 16;
- $125 = $NSQ$addr;
- $sLPC_Q14 = ((($125)) + 3840|0);
- $126 = $i;
- $arrayidx158 = (($sLPC_Q14) + ($126<<2)|0);
- $127 = HEAP32[$arrayidx158>>2]|0;
- $conv159 = $127&65535;
- $conv160 = $conv159 << 16 >> 16;
- $mul161 = Math_imul($shr157, $conv160)|0;
- $128 = $gain_adj_Q16;
- $and162 = $128 & 65535;
- $129 = $NSQ$addr;
- $sLPC_Q14163 = ((($129)) + 3840|0);
- $130 = $i;
- $arrayidx164 = (($sLPC_Q14163) + ($130<<2)|0);
- $131 = HEAP32[$arrayidx164>>2]|0;
- $conv165 = $131&65535;
- $conv166 = $conv165 << 16 >> 16;
- $mul167 = Math_imul($and162, $conv166)|0;
- $shr168 = $mul167 >> 16;
- $add169 = (($mul161) + ($shr168))|0;
- $132 = $gain_adj_Q16;
- $133 = $NSQ$addr;
- $sLPC_Q14170 = ((($133)) + 3840|0);
- $134 = $i;
- $arrayidx171 = (($sLPC_Q14170) + ($134<<2)|0);
- $135 = HEAP32[$arrayidx171>>2]|0;
- $shr172 = $135 >> 15;
- $add173 = (($shr172) + 1)|0;
- $shr174 = $add173 >> 1;
- $mul175 = Math_imul($132, $shr174)|0;
- $add176 = (($add169) + ($mul175))|0;
- $136 = $NSQ$addr;
- $sLPC_Q14177 = ((($136)) + 3840|0);
- $137 = $i;
- $arrayidx178 = (($sLPC_Q14177) + ($137<<2)|0);
- HEAP32[$arrayidx178>>2] = $add176;
- $138 = $i;
- $inc180 = (($138) + 1)|0;
- $i = $inc180;
- }
- $i = 0;
- while(1) {
- $139 = $i;
- $cmp183 = ($139|0)<(16);
- if (!($cmp183)) {
- break;
- }
- $140 = $gain_adj_Q16;
- $shr186 = $140 >> 16;
- $141 = $NSQ$addr;
- $sAR2_Q14 = ((($141)) + 4288|0);
- $142 = $i;
- $arrayidx187 = (($sAR2_Q14) + ($142<<2)|0);
- $143 = HEAP32[$arrayidx187>>2]|0;
- $conv188 = $143&65535;
- $conv189 = $conv188 << 16 >> 16;
- $mul190 = Math_imul($shr186, $conv189)|0;
- $144 = $gain_adj_Q16;
- $and191 = $144 & 65535;
- $145 = $NSQ$addr;
- $sAR2_Q14192 = ((($145)) + 4288|0);
- $146 = $i;
- $arrayidx193 = (($sAR2_Q14192) + ($146<<2)|0);
- $147 = HEAP32[$arrayidx193>>2]|0;
- $conv194 = $147&65535;
- $conv195 = $conv194 << 16 >> 16;
- $mul196 = Math_imul($and191, $conv195)|0;
- $shr197 = $mul196 >> 16;
- $add198 = (($mul190) + ($shr197))|0;
- $148 = $gain_adj_Q16;
- $149 = $NSQ$addr;
- $sAR2_Q14199 = ((($149)) + 4288|0);
- $150 = $i;
- $arrayidx200 = (($sAR2_Q14199) + ($150<<2)|0);
- $151 = HEAP32[$arrayidx200>>2]|0;
- $shr201 = $151 >> 15;
- $add202 = (($shr201) + 1)|0;
- $shr203 = $add202 >> 1;
- $mul204 = Math_imul($148, $shr203)|0;
- $add205 = (($add198) + ($mul204))|0;
- $152 = $NSQ$addr;
- $sAR2_Q14206 = ((($152)) + 4288|0);
- $153 = $i;
- $arrayidx207 = (($sAR2_Q14206) + ($153<<2)|0);
- HEAP32[$arrayidx207>>2] = $add205;
- $154 = $i;
- $inc209 = (($154) + 1)|0;
- $i = $inc209;
+ $48 = $7;
+ $49 = $14;
+ $50 = $13;
+ $51 = Math_imul($49, $50)|0;
+ $52 = (($48) + ($51<<2)|0);
+ $53 = +HEAPF32[$52>>2];
+ $16 = $53;
+ $54 = $10;
+ $55 = +HEAPF32[$54>>2];
+ $56 = +HEAPF32[$18>>2];
+ $57 = $16;
+ $58 = $56 * $57;
+ $59 = $55 + $58;
+ $15 = $59;
+ $60 = $10;
+ $61 = ((($60)) + 4|0);
+ $62 = +HEAPF32[$61>>2];
+ $63 = $15;
+ $64 = +HEAPF32[$17>>2];
+ $65 = $63 * $64;
+ $66 = $62 - $65;
+ $67 = ((($18)) + 4|0);
+ $68 = +HEAPF32[$67>>2];
+ $69 = $16;
+ $70 = $68 * $69;
+ $71 = $66 + $70;
+ $72 = $10;
+ HEAPF32[$72>>2] = $71;
+ $73 = $15;
+ $74 = - $73;
+ $75 = ((($17)) + 4|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $74 * $76;
+ $78 = ((($18)) + 8|0);
+ $79 = +HEAPF32[$78>>2];
+ $80 = $16;
+ $81 = $79 * $80;
+ $82 = $77 + $81;
+ $83 = $82 + 1.0000000031710769E-30;
+ $84 = $10;
+ $85 = ((($84)) + 4|0);
+ HEAPF32[$85>>2] = $83;
+ $86 = $15;
+ $87 = $11;
+ $88 = $14;
+ $89 = $13;
+ $90 = Math_imul($88, $89)|0;
+ $91 = (($87) + ($90<<2)|0);
+ HEAPF32[$91>>2] = $86;
+ $92 = $14;
+ $93 = (($92) + 1)|0;
+ $14 = $93;
}
STACKTOP = sp;return;
}
-function _silk_noise_shape_quantizer($NSQ,$signalType,$x_sc_Q10,$pulses,$xq,$sLTP_Q15,$a_Q12,$b_Q14,$AR_shp_Q13,$lag,$HarmShapeFIRPacked_Q14,$Tilt_Q14,$LF_shp_Q14,$Gain_Q16,$Lambda_Q10,$offset_Q10,$length,$shapingLPCOrder,$predictLPCOrder) {
- $NSQ = $NSQ|0;
- $signalType = $signalType|0;
- $x_sc_Q10 = $x_sc_Q10|0;
- $pulses = $pulses|0;
- $xq = $xq|0;
- $sLTP_Q15 = $sLTP_Q15|0;
- $a_Q12 = $a_Q12|0;
- $b_Q14 = $b_Q14|0;
- $AR_shp_Q13 = $AR_shp_Q13|0;
- $lag = $lag|0;
- $HarmShapeFIRPacked_Q14 = $HarmShapeFIRPacked_Q14|0;
- $Tilt_Q14 = $Tilt_Q14|0;
- $LF_shp_Q14 = $LF_shp_Q14|0;
- $Gain_Q16 = $Gain_Q16|0;
- $Lambda_Q10 = $Lambda_Q10|0;
- $offset_Q10 = $offset_Q10|0;
- $length = $length|0;
- $shapingLPCOrder = $shapingLPCOrder|0;
- $predictLPCOrder = $predictLPCOrder|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
- var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
- var $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0;
- var $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0;
- var $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0;
- var $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0;
- var $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0;
- var $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $44 = 0, $45 = 0, $46 = 0;
- var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
- var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
- var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $AR_shp_Q13$addr = 0, $Gain_Q10 = 0;
- var $Gain_Q16$addr = 0, $HarmShapeFIRPacked_Q14$addr = 0, $LF_shp_Q14$addr = 0, $LPC_exc_Q14 = 0, $LPC_pred_Q10 = 0, $LTP_pred_Q13 = 0, $Lambda_Q10$addr = 0, $NSQ$addr = 0, $Tilt_Q14$addr = 0, $a_Q12$addr = 0, $add = 0, $add108 = 0, $add109 = 0, $add121 = 0, $add122 = 0, $add134 = 0, $add135 = 0, $add149 = 0, $add150 = 0, $add162 = 0;
- var $add163 = 0, $add17 = 0, $add175 = 0, $add176 = 0, $add18 = 0, $add188 = 0, $add189 = 0, $add2 = 0, $add201 = 0, $add202 = 0, $add214 = 0, $add215 = 0, $add230 = 0, $add231 = 0, $add243 = 0, $add244 = 0, $add256 = 0, $add257 = 0, $add269 = 0, $add270 = 0;
- var $add282 = 0, $add283 = 0, $add299 = 0, $add30 = 0, $add300 = 0, $add31 = 0, $add322 = 0, $add323 = 0, $add325 = 0, $add328 = 0, $add339 = 0, $add340 = 0, $add341 = 0, $add356 = 0, $add357 = 0, $add369 = 0, $add370 = 0, $add388 = 0, $add393 = 0, $add399 = 0;
- var $add408 = 0, $add415 = 0, $add421 = 0, $add426 = 0, $add43 = 0, $add432 = 0, $add437 = 0, $add439 = 0, $add44 = 0, $add443 = 0, $add469 = 0, $add470 = 0, $add485 = 0, $add5 = 0, $add514 = 0, $add515 = 0, $add516 = 0, $add538 = 0, $add545 = 0, $add551 = 0;
- var $add56 = 0, $add563 = 0, $add565 = 0, $add57 = 0, $add575 = 0, $add577 = 0, $add580 = 0, $add582 = 0, $add597 = 0, $add599 = 0, $add602 = 0, $add604 = 0, $add619 = 0, $add621 = 0, $add624 = 0, $add626 = 0, $add652 = 0, $add69 = 0, $add70 = 0, $add82 = 0;
- var $add83 = 0, $add95 = 0, $add96 = 0, $and = 0, $and103 = 0, $and116 = 0, $and129 = 0, $and144 = 0, $and157 = 0, $and170 = 0, $and183 = 0, $and196 = 0, $and209 = 0, $and225 = 0, $and238 = 0, $and25 = 0, $and251 = 0, $and264 = 0, $and277 = 0, $and294 = 0;
- var $and316 = 0, $and334 = 0, $and350 = 0, $and364 = 0, $and38 = 0, $and383 = 0, $and395 = 0, $and416 = 0, $and428 = 0, $and51 = 0, $and570 = 0, $and592 = 0, $and614 = 0, $and64 = 0, $and77 = 0, $and90 = 0, $arrayidx = 0, $arrayidx102 = 0, $arrayidx104 = 0, $arrayidx110 = 0;
- var $arrayidx112 = 0, $arrayidx115 = 0, $arrayidx117 = 0, $arrayidx123 = 0, $arrayidx125 = 0, $arrayidx128 = 0, $arrayidx130 = 0, $arrayidx138 = 0, $arrayidx140 = 0, $arrayidx143 = 0, $arrayidx145 = 0, $arrayidx151 = 0, $arrayidx153 = 0, $arrayidx156 = 0, $arrayidx158 = 0, $arrayidx164 = 0, $arrayidx166 = 0, $arrayidx169 = 0, $arrayidx171 = 0, $arrayidx177 = 0;
- var $arrayidx179 = 0, $arrayidx182 = 0, $arrayidx184 = 0, $arrayidx19 = 0, $arrayidx190 = 0, $arrayidx192 = 0, $arrayidx195 = 0, $arrayidx197 = 0, $arrayidx203 = 0, $arrayidx205 = 0, $arrayidx208 = 0, $arrayidx21 = 0, $arrayidx210 = 0, $arrayidx232 = 0, $arrayidx234 = 0, $arrayidx237 = 0, $arrayidx239 = 0, $arrayidx24 = 0, $arrayidx245 = 0, $arrayidx247 = 0;
- var $arrayidx250 = 0, $arrayidx252 = 0, $arrayidx258 = 0, $arrayidx26 = 0, $arrayidx260 = 0, $arrayidx263 = 0, $arrayidx265 = 0, $arrayidx271 = 0, $arrayidx273 = 0, $arrayidx276 = 0, $arrayidx278 = 0, $arrayidx3 = 0, $arrayidx307 = 0, $arrayidx310 = 0, $arrayidx313 = 0, $arrayidx318 = 0, $arrayidx32 = 0, $arrayidx326 = 0, $arrayidx329 = 0, $arrayidx331 = 0;
- var $arrayidx335 = 0, $arrayidx34 = 0, $arrayidx344 = 0, $arrayidx347 = 0, $arrayidx352 = 0, $arrayidx37 = 0, $arrayidx374 = 0, $arrayidx382 = 0, $arrayidx39 = 0, $arrayidx4 = 0, $arrayidx407 = 0, $arrayidx414 = 0, $arrayidx422 = 0, $arrayidx427 = 0, $arrayidx446 = 0, $arrayidx45 = 0, $arrayidx47 = 0, $arrayidx50 = 0, $arrayidx52 = 0, $arrayidx554 = 0;
- var $arrayidx58 = 0, $arrayidx60 = 0, $arrayidx63 = 0, $arrayidx633 = 0, $arrayidx642 = 0, $arrayidx645 = 0, $arrayidx65 = 0, $arrayidx650 = 0, $arrayidx659 = 0, $arrayidx71 = 0, $arrayidx73 = 0, $arrayidx76 = 0, $arrayidx78 = 0, $arrayidx84 = 0, $arrayidx86 = 0, $arrayidx89 = 0, $arrayidx91 = 0, $arrayidx97 = 0, $arrayidx99 = 0, $b_Q14$addr = 0;
- var $cmp = 0, $cmp136 = 0, $cmp216 = 0, $cmp302 = 0, $cmp403 = 0, $cmp449 = 0, $cmp454 = 0, $cmp456 = 0, $cmp464 = 0, $cmp482 = 0, $cmp497 = 0, $cmp546 = 0, $cmp557 = 0, $cmp584 = 0, $cmp606 = 0, $cond = 0, $cond461 = 0, $cond631 = 0, $conv = 0, $conv100 = 0;
- var $conv105 = 0, $conv113 = 0, $conv118 = 0, $conv126 = 0, $conv131 = 0, $conv14 = 0, $conv141 = 0, $conv146 = 0, $conv154 = 0, $conv159 = 0, $conv167 = 0, $conv172 = 0, $conv180 = 0, $conv185 = 0, $conv193 = 0, $conv198 = 0, $conv206 = 0, $conv211 = 0, $conv22 = 0, $conv222 = 0;
- var $conv227 = 0, $conv235 = 0, $conv240 = 0, $conv248 = 0, $conv253 = 0, $conv261 = 0, $conv266 = 0, $conv27 = 0, $conv274 = 0, $conv279 = 0, $conv292 = 0, $conv296 = 0, $conv314 = 0, $conv319 = 0, $conv332 = 0, $conv336 = 0, $conv348 = 0, $conv35 = 0, $conv353 = 0, $conv360 = 0;
- var $conv361 = 0, $conv365 = 0, $conv366 = 0, $conv376 = 0, $conv377 = 0, $conv384 = 0, $conv385 = 0, $conv40 = 0, $conv410 = 0, $conv411 = 0, $conv417 = 0, $conv418 = 0, $conv471 = 0, $conv472 = 0, $conv473 = 0, $conv474 = 0, $conv476 = 0, $conv477 = 0, $conv478 = 0, $conv479 = 0;
- var $conv48 = 0, $conv486 = 0, $conv487 = 0, $conv488 = 0, $conv489 = 0, $conv491 = 0, $conv492 = 0, $conv493 = 0, $conv494 = 0, $conv502 = 0, $conv503 = 0, $conv504 = 0, $conv505 = 0, $conv507 = 0, $conv508 = 0, $conv509 = 0, $conv510 = 0, $conv518 = 0, $conv519 = 0, $conv520 = 0;
- var $conv521 = 0, $conv524 = 0, $conv525 = 0, $conv526 = 0, $conv527 = 0, $conv53 = 0, $conv533 = 0, $conv534 = 0, $conv535 = 0, $conv536 = 0, $conv540 = 0, $conv541 = 0, $conv542 = 0, $conv543 = 0, $conv553 = 0, $conv567 = 0, $conv568 = 0, $conv571 = 0, $conv572 = 0, $conv589 = 0;
- var $conv590 = 0, $conv593 = 0, $conv594 = 0, $conv61 = 0, $conv611 = 0, $conv612 = 0, $conv615 = 0, $conv616 = 0, $conv632 = 0, $conv651 = 0, $conv66 = 0, $conv74 = 0, $conv79 = 0, $conv87 = 0, $conv92 = 0, $exc_Q14 = 0, $i = 0, $inc = 0, $inc648 = 0, $inc655 = 0;
- var $incdec$ptr = 0, $incdec$ptr434 = 0, $incdec$ptr634 = 0, $j = 0, $lag$addr = 0, $length$addr = 0, $mul = 0, $mul101 = 0, $mul106 = 0, $mul11 = 0, $mul114 = 0, $mul119 = 0, $mul127 = 0, $mul132 = 0, $mul142 = 0, $mul147 = 0, $mul15 = 0, $mul155 = 0, $mul160 = 0, $mul168 = 0;
- var $mul173 = 0, $mul181 = 0, $mul186 = 0, $mul194 = 0, $mul199 = 0, $mul207 = 0, $mul212 = 0, $mul223 = 0, $mul228 = 0, $mul23 = 0, $mul236 = 0, $mul241 = 0, $mul249 = 0, $mul254 = 0, $mul262 = 0, $mul267 = 0, $mul275 = 0, $mul28 = 0, $mul280 = 0, $mul293 = 0;
- var $mul297 = 0, $mul315 = 0, $mul320 = 0, $mul333 = 0, $mul337 = 0, $mul349 = 0, $mul354 = 0, $mul36 = 0, $mul362 = 0, $mul367 = 0, $mul378 = 0, $mul386 = 0, $mul392 = 0, $mul397 = 0, $mul41 = 0, $mul412 = 0, $mul419 = 0, $mul425 = 0, $mul430 = 0, $mul475 = 0;
- var $mul480 = 0, $mul49 = 0, $mul490 = 0, $mul495 = 0, $mul506 = 0, $mul511 = 0, $mul522 = 0, $mul528 = 0, $mul537 = 0, $mul54 = 0, $mul544 = 0, $mul569 = 0, $mul573 = 0, $mul579 = 0, $mul591 = 0, $mul595 = 0, $mul601 = 0, $mul613 = 0, $mul617 = 0, $mul62 = 0;
- var $mul623 = 0, $mul67 = 0, $mul75 = 0, $mul80 = 0, $mul88 = 0, $mul93 = 0, $n_AR_Q12 = 0, $n_LF_Q12 = 0, $n_LTP_Q13 = 0, $offset_Q10$addr = 0, $pred_lag_ptr = 0, $predictLPCOrder$addr = 0, $psLPC_Q14 = 0, $pulses$addr = 0, $q1_Q0 = 0, $q1_Q10 = 0, $q2_Q10 = 0, $r_Q10 = 0, $rand_seed = 0, $rand_seed448 = 0;
- var $rand_seed556 = 0, $rand_seed6 = 0, $rand_seed649 = 0, $rand_seed653 = 0, $rd1_Q20 = 0, $rd2_Q20 = 0, $rr_Q10 = 0, $sAR2_Q14 = 0, $sAR2_Q14287 = 0, $sAR2_Q14305 = 0, $sAR2_Q14308 = 0, $sAR2_Q14324 = 0, $sAR2_Q14327 = 0, $sAR2_Q14342 = 0, $sLF_AR_shp_Q14 = 0, $sLF_AR_shp_Q14358 = 0, $sLF_AR_shp_Q14363 = 0, $sLF_AR_shp_Q14389 = 0, $sLF_AR_shp_Q14394 = 0, $sLF_AR_shp_Q14637 = 0;
- var $sLPC_Q14 = 0, $sLPC_Q14657 = 0, $sLPC_Q14658 = 0, $sLTP_Q15$addr = 0, $sLTP_buf_idx = 0, $sLTP_buf_idx644 = 0, $sLTP_buf_idx647 = 0, $sLTP_shp_Q14 = 0, $sLTP_shp_Q14371 = 0, $sLTP_shp_Q14379 = 0, $sLTP_shp_Q14640 = 0, $sLTP_shp_buf_idx = 0, $sLTP_shp_buf_idx372 = 0, $sLTP_shp_buf_idx380 = 0, $sLTP_shp_buf_idx641 = 0, $sLTP_shp_buf_idx646 = 0, $shapingLPCOrder$addr = 0, $shl = 0, $shl400 = 0, $shl433 = 0;
- var $shl436 = 0, $shl467 = 0, $shl513 = 0, $shl555 = 0, $shl562 = 0, $shl564 = 0, $shl635 = 0, $shl638 = 0, $shl643 = 0, $shp_lag_ptr = 0, $shr = 0, $shr107 = 0, $shr111 = 0, $shr120 = 0, $shr124 = 0, $shr133 = 0, $shr139 = 0, $shr148 = 0, $shr152 = 0, $shr16 = 0;
- var $shr161 = 0, $shr165 = 0, $shr174 = 0, $shr178 = 0, $shr187 = 0, $shr191 = 0, $shr20 = 0, $shr200 = 0, $shr204 = 0, $shr213 = 0, $shr220 = 0, $shr229 = 0, $shr233 = 0, $shr242 = 0, $shr246 = 0, $shr255 = 0, $shr259 = 0, $shr268 = 0, $shr272 = 0, $shr281 = 0;
- var $shr289 = 0, $shr29 = 0, $shr290 = 0, $shr298 = 0, $shr311 = 0, $shr321 = 0, $shr33 = 0, $shr330 = 0, $shr338 = 0, $shr345 = 0, $shr355 = 0, $shr359 = 0, $shr368 = 0, $shr375 = 0, $shr387 = 0, $shr390 = 0, $shr391 = 0, $shr396 = 0, $shr398 = 0, $shr409 = 0;
- var $shr42 = 0, $shr420 = 0, $shr423 = 0, $shr424 = 0, $shr429 = 0, $shr431 = 0, $shr438 = 0, $shr440 = 0, $shr442 = 0, $shr444 = 0, $shr46 = 0, $shr463 = 0, $shr55 = 0, $shr550 = 0, $shr552 = 0, $shr566 = 0, $shr574 = 0, $shr576 = 0, $shr578 = 0, $shr581 = 0;
- var $shr583 = 0, $shr588 = 0, $shr59 = 0, $shr596 = 0, $shr598 = 0, $shr600 = 0, $shr603 = 0, $shr605 = 0, $shr610 = 0, $shr618 = 0, $shr620 = 0, $shr622 = 0, $shr625 = 0, $shr627 = 0, $shr68 = 0, $shr7 = 0, $shr72 = 0, $shr81 = 0, $shr85 = 0, $shr9 = 0;
- var $shr94 = 0, $shr98 = 0, $signalType$addr = 0, $sub = 0, $sub1 = 0, $sub306 = 0, $sub309 = 0, $sub312 = 0, $sub317 = 0, $sub343 = 0, $sub346 = 0, $sub351 = 0, $sub373 = 0, $sub381 = 0, $sub401 = 0, $sub402 = 0, $sub435 = 0, $sub447 = 0, $sub452 = 0, $sub462 = 0;
- var $sub468 = 0, $sub500 = 0, $sub501 = 0, $sub517 = 0, $sub523 = 0, $sub532 = 0, $sub539 = 0, $sub560 = 0, $sub636 = 0, $sub639 = 0, $tmp1 = 0, $tmp2 = 0, $x_sc_Q10$addr = 0, $xq$addr = 0, $xq_Q14 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+function _opus_encode_float($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $5 = 0;
+ var $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
- $NSQ$addr = $NSQ;
- $signalType$addr = $signalType;
- $x_sc_Q10$addr = $x_sc_Q10;
- $pulses$addr = $pulses;
- $xq$addr = $xq;
- $sLTP_Q15$addr = $sLTP_Q15;
- $a_Q12$addr = $a_Q12;
- $b_Q14$addr = $b_Q14;
- $AR_shp_Q13$addr = $AR_shp_Q13;
- $lag$addr = $lag;
- $HarmShapeFIRPacked_Q14$addr = $HarmShapeFIRPacked_Q14;
- $Tilt_Q14$addr = $Tilt_Q14;
- $LF_shp_Q14$addr = $LF_shp_Q14;
- $Gain_Q16$addr = $Gain_Q16;
- $Lambda_Q10$addr = $Lambda_Q10;
- $offset_Q10$addr = $offset_Q10;
- $length$addr = $length;
- $shapingLPCOrder$addr = $shapingLPCOrder;
- $predictLPCOrder$addr = $predictLPCOrder;
- $0 = $NSQ$addr;
- $sLTP_shp_Q14 = ((($0)) + 1280|0);
- $1 = $NSQ$addr;
- $sLTP_shp_buf_idx = ((($1)) + 4364|0);
- $2 = HEAP32[$sLTP_shp_buf_idx>>2]|0;
- $3 = $lag$addr;
- $sub = (($2) - ($3))|0;
- $add = (($sub) + 1)|0;
- $arrayidx = (($sLTP_shp_Q14) + ($add<<2)|0);
- $shp_lag_ptr = $arrayidx;
- $4 = $sLTP_Q15$addr;
- $5 = $NSQ$addr;
- $sLTP_buf_idx = ((($5)) + 4360|0);
- $6 = HEAP32[$sLTP_buf_idx>>2]|0;
- $7 = $lag$addr;
- $sub1 = (($6) - ($7))|0;
- $add2 = (($sub1) + 2)|0;
- $arrayidx3 = (($4) + ($add2<<2)|0);
- $pred_lag_ptr = $arrayidx3;
- $8 = $Gain_Q16$addr;
- $shr = $8 >> 6;
- $Gain_Q10 = $shr;
- $9 = $NSQ$addr;
- $sLPC_Q14 = ((($9)) + 3840|0);
- $arrayidx4 = ((($sLPC_Q14)) + 124|0);
- $psLPC_Q14 = $arrayidx4;
- $i = 0;
- while(1) {
- $10 = $i;
- $11 = $length$addr;
- $cmp = ($10|0)<($11|0);
- $12 = $NSQ$addr;
- if (!($cmp)) {
- break;
- }
- $rand_seed = ((($12)) + 4368|0);
- $13 = HEAP32[$rand_seed>>2]|0;
- $mul = Math_imul($13, 196314165)|0;
- $add5 = (907633515 + ($mul))|0;
- $14 = $NSQ$addr;
- $rand_seed6 = ((($14)) + 4368|0);
- HEAP32[$rand_seed6>>2] = $add5;
- $15 = $predictLPCOrder$addr;
- $shr7 = $15 >> 1;
- $LPC_pred_Q10 = $shr7;
- $16 = $LPC_pred_Q10;
- $17 = $psLPC_Q14;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $12 = $5;
+ $13 = ((($12)) + 96|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ($14|0)==(2051);
+ if ($15) {
+ $11 = 0;
+ } else {
+ $16 = $5;
+ $17 = ((($16)) + 104|0);
$18 = HEAP32[$17>>2]|0;
- $shr9 = $18 >> 16;
- $19 = $a_Q12$addr;
- $20 = HEAP16[$19>>1]|0;
- $conv = $20 << 16 >> 16;
- $mul11 = Math_imul($shr9, $conv)|0;
- $21 = $psLPC_Q14;
- $22 = HEAP32[$21>>2]|0;
- $and = $22 & 65535;
- $23 = $a_Q12$addr;
- $24 = HEAP16[$23>>1]|0;
- $conv14 = $24 << 16 >> 16;
- $mul15 = Math_imul($and, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add17 = (($mul11) + ($shr16))|0;
- $add18 = (($16) + ($add17))|0;
- $LPC_pred_Q10 = $add18;
- $25 = $LPC_pred_Q10;
- $26 = $psLPC_Q14;
- $arrayidx19 = ((($26)) + -4|0);
- $27 = HEAP32[$arrayidx19>>2]|0;
- $shr20 = $27 >> 16;
- $28 = $a_Q12$addr;
- $arrayidx21 = ((($28)) + 2|0);
- $29 = HEAP16[$arrayidx21>>1]|0;
- $conv22 = $29 << 16 >> 16;
- $mul23 = Math_imul($shr20, $conv22)|0;
- $30 = $psLPC_Q14;
- $arrayidx24 = ((($30)) + -4|0);
- $31 = HEAP32[$arrayidx24>>2]|0;
- $and25 = $31 & 65535;
- $32 = $a_Q12$addr;
- $arrayidx26 = ((($32)) + 2|0);
- $33 = HEAP16[$arrayidx26>>1]|0;
- $conv27 = $33 << 16 >> 16;
- $mul28 = Math_imul($and25, $conv27)|0;
- $shr29 = $mul28 >> 16;
- $add30 = (($mul23) + ($shr29))|0;
- $add31 = (($25) + ($add30))|0;
- $LPC_pred_Q10 = $add31;
- $34 = $LPC_pred_Q10;
- $35 = $psLPC_Q14;
- $arrayidx32 = ((($35)) + -8|0);
- $36 = HEAP32[$arrayidx32>>2]|0;
- $shr33 = $36 >> 16;
- $37 = $a_Q12$addr;
- $arrayidx34 = ((($37)) + 4|0);
- $38 = HEAP16[$arrayidx34>>1]|0;
- $conv35 = $38 << 16 >> 16;
- $mul36 = Math_imul($shr33, $conv35)|0;
- $39 = $psLPC_Q14;
- $arrayidx37 = ((($39)) + -8|0);
- $40 = HEAP32[$arrayidx37>>2]|0;
- $and38 = $40 & 65535;
- $41 = $a_Q12$addr;
- $arrayidx39 = ((($41)) + 4|0);
- $42 = HEAP16[$arrayidx39>>1]|0;
- $conv40 = $42 << 16 >> 16;
- $mul41 = Math_imul($and38, $conv40)|0;
- $shr42 = $mul41 >> 16;
- $add43 = (($mul36) + ($shr42))|0;
- $add44 = (($34) + ($add43))|0;
- $LPC_pred_Q10 = $add44;
- $43 = $LPC_pred_Q10;
- $44 = $psLPC_Q14;
- $arrayidx45 = ((($44)) + -12|0);
- $45 = HEAP32[$arrayidx45>>2]|0;
- $shr46 = $45 >> 16;
- $46 = $a_Q12$addr;
- $arrayidx47 = ((($46)) + 6|0);
- $47 = HEAP16[$arrayidx47>>1]|0;
- $conv48 = $47 << 16 >> 16;
- $mul49 = Math_imul($shr46, $conv48)|0;
- $48 = $psLPC_Q14;
- $arrayidx50 = ((($48)) + -12|0);
- $49 = HEAP32[$arrayidx50>>2]|0;
- $and51 = $49 & 65535;
- $50 = $a_Q12$addr;
- $arrayidx52 = ((($50)) + 6|0);
- $51 = HEAP16[$arrayidx52>>1]|0;
- $conv53 = $51 << 16 >> 16;
- $mul54 = Math_imul($and51, $conv53)|0;
- $shr55 = $mul54 >> 16;
- $add56 = (($mul49) + ($shr55))|0;
- $add57 = (($43) + ($add56))|0;
- $LPC_pred_Q10 = $add57;
- $52 = $LPC_pred_Q10;
- $53 = $psLPC_Q14;
- $arrayidx58 = ((($53)) + -16|0);
- $54 = HEAP32[$arrayidx58>>2]|0;
- $shr59 = $54 >> 16;
- $55 = $a_Q12$addr;
- $arrayidx60 = ((($55)) + 8|0);
- $56 = HEAP16[$arrayidx60>>1]|0;
- $conv61 = $56 << 16 >> 16;
- $mul62 = Math_imul($shr59, $conv61)|0;
- $57 = $psLPC_Q14;
- $arrayidx63 = ((($57)) + -16|0);
- $58 = HEAP32[$arrayidx63>>2]|0;
- $and64 = $58 & 65535;
- $59 = $a_Q12$addr;
- $arrayidx65 = ((($59)) + 8|0);
- $60 = HEAP16[$arrayidx65>>1]|0;
- $conv66 = $60 << 16 >> 16;
- $mul67 = Math_imul($and64, $conv66)|0;
- $shr68 = $mul67 >> 16;
- $add69 = (($mul62) + ($shr68))|0;
- $add70 = (($52) + ($add69))|0;
- $LPC_pred_Q10 = $add70;
- $61 = $LPC_pred_Q10;
- $62 = $psLPC_Q14;
- $arrayidx71 = ((($62)) + -20|0);
- $63 = HEAP32[$arrayidx71>>2]|0;
- $shr72 = $63 >> 16;
- $64 = $a_Q12$addr;
- $arrayidx73 = ((($64)) + 10|0);
- $65 = HEAP16[$arrayidx73>>1]|0;
- $conv74 = $65 << 16 >> 16;
- $mul75 = Math_imul($shr72, $conv74)|0;
- $66 = $psLPC_Q14;
- $arrayidx76 = ((($66)) + -20|0);
- $67 = HEAP32[$arrayidx76>>2]|0;
- $and77 = $67 & 65535;
- $68 = $a_Q12$addr;
- $arrayidx78 = ((($68)) + 10|0);
- $69 = HEAP16[$arrayidx78>>1]|0;
- $conv79 = $69 << 16 >> 16;
- $mul80 = Math_imul($and77, $conv79)|0;
- $shr81 = $mul80 >> 16;
- $add82 = (($mul75) + ($shr81))|0;
- $add83 = (($61) + ($add82))|0;
- $LPC_pred_Q10 = $add83;
- $70 = $LPC_pred_Q10;
- $71 = $psLPC_Q14;
- $arrayidx84 = ((($71)) + -24|0);
- $72 = HEAP32[$arrayidx84>>2]|0;
- $shr85 = $72 >> 16;
- $73 = $a_Q12$addr;
- $arrayidx86 = ((($73)) + 12|0);
- $74 = HEAP16[$arrayidx86>>1]|0;
- $conv87 = $74 << 16 >> 16;
- $mul88 = Math_imul($shr85, $conv87)|0;
- $75 = $psLPC_Q14;
- $arrayidx89 = ((($75)) + -24|0);
- $76 = HEAP32[$arrayidx89>>2]|0;
- $and90 = $76 & 65535;
- $77 = $a_Q12$addr;
- $arrayidx91 = ((($77)) + 12|0);
- $78 = HEAP16[$arrayidx91>>1]|0;
- $conv92 = $78 << 16 >> 16;
- $mul93 = Math_imul($and90, $conv92)|0;
- $shr94 = $mul93 >> 16;
- $add95 = (($mul88) + ($shr94))|0;
- $add96 = (($70) + ($add95))|0;
- $LPC_pred_Q10 = $add96;
- $79 = $LPC_pred_Q10;
- $80 = $psLPC_Q14;
- $arrayidx97 = ((($80)) + -28|0);
- $81 = HEAP32[$arrayidx97>>2]|0;
- $shr98 = $81 >> 16;
- $82 = $a_Q12$addr;
- $arrayidx99 = ((($82)) + 14|0);
- $83 = HEAP16[$arrayidx99>>1]|0;
- $conv100 = $83 << 16 >> 16;
- $mul101 = Math_imul($shr98, $conv100)|0;
- $84 = $psLPC_Q14;
- $arrayidx102 = ((($84)) + -28|0);
- $85 = HEAP32[$arrayidx102>>2]|0;
- $and103 = $85 & 65535;
- $86 = $a_Q12$addr;
- $arrayidx104 = ((($86)) + 14|0);
- $87 = HEAP16[$arrayidx104>>1]|0;
- $conv105 = $87 << 16 >> 16;
- $mul106 = Math_imul($and103, $conv105)|0;
- $shr107 = $mul106 >> 16;
- $add108 = (($mul101) + ($shr107))|0;
- $add109 = (($79) + ($add108))|0;
- $LPC_pred_Q10 = $add109;
- $88 = $LPC_pred_Q10;
- $89 = $psLPC_Q14;
- $arrayidx110 = ((($89)) + -32|0);
- $90 = HEAP32[$arrayidx110>>2]|0;
- $shr111 = $90 >> 16;
- $91 = $a_Q12$addr;
- $arrayidx112 = ((($91)) + 16|0);
- $92 = HEAP16[$arrayidx112>>1]|0;
- $conv113 = $92 << 16 >> 16;
- $mul114 = Math_imul($shr111, $conv113)|0;
- $93 = $psLPC_Q14;
- $arrayidx115 = ((($93)) + -32|0);
- $94 = HEAP32[$arrayidx115>>2]|0;
- $and116 = $94 & 65535;
- $95 = $a_Q12$addr;
- $arrayidx117 = ((($95)) + 16|0);
- $96 = HEAP16[$arrayidx117>>1]|0;
- $conv118 = $96 << 16 >> 16;
- $mul119 = Math_imul($and116, $conv118)|0;
- $shr120 = $mul119 >> 16;
- $add121 = (($mul114) + ($shr120))|0;
- $add122 = (($88) + ($add121))|0;
- $LPC_pred_Q10 = $add122;
- $97 = $LPC_pred_Q10;
- $98 = $psLPC_Q14;
- $arrayidx123 = ((($98)) + -36|0);
- $99 = HEAP32[$arrayidx123>>2]|0;
- $shr124 = $99 >> 16;
- $100 = $a_Q12$addr;
- $arrayidx125 = ((($100)) + 18|0);
- $101 = HEAP16[$arrayidx125>>1]|0;
- $conv126 = $101 << 16 >> 16;
- $mul127 = Math_imul($shr124, $conv126)|0;
- $102 = $psLPC_Q14;
- $arrayidx128 = ((($102)) + -36|0);
- $103 = HEAP32[$arrayidx128>>2]|0;
- $and129 = $103 & 65535;
- $104 = $a_Q12$addr;
- $arrayidx130 = ((($104)) + 18|0);
- $105 = HEAP16[$arrayidx130>>1]|0;
- $conv131 = $105 << 16 >> 16;
- $mul132 = Math_imul($and129, $conv131)|0;
- $shr133 = $mul132 >> 16;
- $add134 = (($mul127) + ($shr133))|0;
- $add135 = (($97) + ($add134))|0;
- $LPC_pred_Q10 = $add135;
- $106 = $predictLPCOrder$addr;
- $cmp136 = ($106|0)==(16);
- if ($cmp136) {
- $107 = $LPC_pred_Q10;
- $108 = $psLPC_Q14;
- $arrayidx138 = ((($108)) + -40|0);
- $109 = HEAP32[$arrayidx138>>2]|0;
- $shr139 = $109 >> 16;
- $110 = $a_Q12$addr;
- $arrayidx140 = ((($110)) + 20|0);
- $111 = HEAP16[$arrayidx140>>1]|0;
- $conv141 = $111 << 16 >> 16;
- $mul142 = Math_imul($shr139, $conv141)|0;
- $112 = $psLPC_Q14;
- $arrayidx143 = ((($112)) + -40|0);
- $113 = HEAP32[$arrayidx143>>2]|0;
- $and144 = $113 & 65535;
- $114 = $a_Q12$addr;
- $arrayidx145 = ((($114)) + 20|0);
- $115 = HEAP16[$arrayidx145>>1]|0;
- $conv146 = $115 << 16 >> 16;
- $mul147 = Math_imul($and144, $conv146)|0;
- $shr148 = $mul147 >> 16;
- $add149 = (($mul142) + ($shr148))|0;
- $add150 = (($107) + ($add149))|0;
- $LPC_pred_Q10 = $add150;
- $116 = $LPC_pred_Q10;
- $117 = $psLPC_Q14;
- $arrayidx151 = ((($117)) + -44|0);
- $118 = HEAP32[$arrayidx151>>2]|0;
- $shr152 = $118 >> 16;
- $119 = $a_Q12$addr;
- $arrayidx153 = ((($119)) + 22|0);
- $120 = HEAP16[$arrayidx153>>1]|0;
- $conv154 = $120 << 16 >> 16;
- $mul155 = Math_imul($shr152, $conv154)|0;
- $121 = $psLPC_Q14;
- $arrayidx156 = ((($121)) + -44|0);
- $122 = HEAP32[$arrayidx156>>2]|0;
- $and157 = $122 & 65535;
- $123 = $a_Q12$addr;
- $arrayidx158 = ((($123)) + 22|0);
- $124 = HEAP16[$arrayidx158>>1]|0;
- $conv159 = $124 << 16 >> 16;
- $mul160 = Math_imul($and157, $conv159)|0;
- $shr161 = $mul160 >> 16;
- $add162 = (($mul155) + ($shr161))|0;
- $add163 = (($116) + ($add162))|0;
- $LPC_pred_Q10 = $add163;
- $125 = $LPC_pred_Q10;
- $126 = $psLPC_Q14;
- $arrayidx164 = ((($126)) + -48|0);
- $127 = HEAP32[$arrayidx164>>2]|0;
- $shr165 = $127 >> 16;
- $128 = $a_Q12$addr;
- $arrayidx166 = ((($128)) + 24|0);
- $129 = HEAP16[$arrayidx166>>1]|0;
- $conv167 = $129 << 16 >> 16;
- $mul168 = Math_imul($shr165, $conv167)|0;
- $130 = $psLPC_Q14;
- $arrayidx169 = ((($130)) + -48|0);
- $131 = HEAP32[$arrayidx169>>2]|0;
- $and170 = $131 & 65535;
- $132 = $a_Q12$addr;
- $arrayidx171 = ((($132)) + 24|0);
- $133 = HEAP16[$arrayidx171>>1]|0;
- $conv172 = $133 << 16 >> 16;
- $mul173 = Math_imul($and170, $conv172)|0;
- $shr174 = $mul173 >> 16;
- $add175 = (($mul168) + ($shr174))|0;
- $add176 = (($125) + ($add175))|0;
- $LPC_pred_Q10 = $add176;
- $134 = $LPC_pred_Q10;
- $135 = $psLPC_Q14;
- $arrayidx177 = ((($135)) + -52|0);
- $136 = HEAP32[$arrayidx177>>2]|0;
- $shr178 = $136 >> 16;
- $137 = $a_Q12$addr;
- $arrayidx179 = ((($137)) + 26|0);
- $138 = HEAP16[$arrayidx179>>1]|0;
- $conv180 = $138 << 16 >> 16;
- $mul181 = Math_imul($shr178, $conv180)|0;
- $139 = $psLPC_Q14;
- $arrayidx182 = ((($139)) + -52|0);
- $140 = HEAP32[$arrayidx182>>2]|0;
- $and183 = $140 & 65535;
- $141 = $a_Q12$addr;
- $arrayidx184 = ((($141)) + 26|0);
- $142 = HEAP16[$arrayidx184>>1]|0;
- $conv185 = $142 << 16 >> 16;
- $mul186 = Math_imul($and183, $conv185)|0;
- $shr187 = $mul186 >> 16;
- $add188 = (($mul181) + ($shr187))|0;
- $add189 = (($134) + ($add188))|0;
- $LPC_pred_Q10 = $add189;
- $143 = $LPC_pred_Q10;
- $144 = $psLPC_Q14;
- $arrayidx190 = ((($144)) + -56|0);
- $145 = HEAP32[$arrayidx190>>2]|0;
- $shr191 = $145 >> 16;
- $146 = $a_Q12$addr;
- $arrayidx192 = ((($146)) + 28|0);
- $147 = HEAP16[$arrayidx192>>1]|0;
- $conv193 = $147 << 16 >> 16;
- $mul194 = Math_imul($shr191, $conv193)|0;
- $148 = $psLPC_Q14;
- $arrayidx195 = ((($148)) + -56|0);
- $149 = HEAP32[$arrayidx195>>2]|0;
- $and196 = $149 & 65535;
- $150 = $a_Q12$addr;
- $arrayidx197 = ((($150)) + 28|0);
- $151 = HEAP16[$arrayidx197>>1]|0;
- $conv198 = $151 << 16 >> 16;
- $mul199 = Math_imul($and196, $conv198)|0;
- $shr200 = $mul199 >> 16;
- $add201 = (($mul194) + ($shr200))|0;
- $add202 = (($143) + ($add201))|0;
- $LPC_pred_Q10 = $add202;
- $152 = $LPC_pred_Q10;
- $153 = $psLPC_Q14;
- $arrayidx203 = ((($153)) + -60|0);
- $154 = HEAP32[$arrayidx203>>2]|0;
- $shr204 = $154 >> 16;
- $155 = $a_Q12$addr;
- $arrayidx205 = ((($155)) + 30|0);
- $156 = HEAP16[$arrayidx205>>1]|0;
- $conv206 = $156 << 16 >> 16;
- $mul207 = Math_imul($shr204, $conv206)|0;
- $157 = $psLPC_Q14;
- $arrayidx208 = ((($157)) + -60|0);
- $158 = HEAP32[$arrayidx208>>2]|0;
- $and209 = $158 & 65535;
- $159 = $a_Q12$addr;
- $arrayidx210 = ((($159)) + 30|0);
- $160 = HEAP16[$arrayidx210>>1]|0;
- $conv211 = $160 << 16 >> 16;
- $mul212 = Math_imul($and209, $conv211)|0;
- $shr213 = $mul212 >> 16;
- $add214 = (($mul207) + ($shr213))|0;
- $add215 = (($152) + ($add214))|0;
- $LPC_pred_Q10 = $add215;
- }
- $161 = $signalType$addr;
- $cmp216 = ($161|0)==(2);
- if ($cmp216) {
- $LTP_pred_Q13 = 2;
- $162 = $LTP_pred_Q13;
- $163 = $pred_lag_ptr;
- $164 = HEAP32[$163>>2]|0;
- $shr220 = $164 >> 16;
- $165 = $b_Q14$addr;
- $166 = HEAP16[$165>>1]|0;
- $conv222 = $166 << 16 >> 16;
- $mul223 = Math_imul($shr220, $conv222)|0;
- $167 = $pred_lag_ptr;
- $168 = HEAP32[$167>>2]|0;
- $and225 = $168 & 65535;
- $169 = $b_Q14$addr;
- $170 = HEAP16[$169>>1]|0;
- $conv227 = $170 << 16 >> 16;
- $mul228 = Math_imul($and225, $conv227)|0;
- $shr229 = $mul228 >> 16;
- $add230 = (($mul223) + ($shr229))|0;
- $add231 = (($162) + ($add230))|0;
- $LTP_pred_Q13 = $add231;
- $171 = $LTP_pred_Q13;
- $172 = $pred_lag_ptr;
- $arrayidx232 = ((($172)) + -4|0);
- $173 = HEAP32[$arrayidx232>>2]|0;
- $shr233 = $173 >> 16;
- $174 = $b_Q14$addr;
- $arrayidx234 = ((($174)) + 2|0);
- $175 = HEAP16[$arrayidx234>>1]|0;
- $conv235 = $175 << 16 >> 16;
- $mul236 = Math_imul($shr233, $conv235)|0;
- $176 = $pred_lag_ptr;
- $arrayidx237 = ((($176)) + -4|0);
- $177 = HEAP32[$arrayidx237>>2]|0;
- $and238 = $177 & 65535;
- $178 = $b_Q14$addr;
- $arrayidx239 = ((($178)) + 2|0);
- $179 = HEAP16[$arrayidx239>>1]|0;
- $conv240 = $179 << 16 >> 16;
- $mul241 = Math_imul($and238, $conv240)|0;
- $shr242 = $mul241 >> 16;
- $add243 = (($mul236) + ($shr242))|0;
- $add244 = (($171) + ($add243))|0;
- $LTP_pred_Q13 = $add244;
- $180 = $LTP_pred_Q13;
- $181 = $pred_lag_ptr;
- $arrayidx245 = ((($181)) + -8|0);
- $182 = HEAP32[$arrayidx245>>2]|0;
- $shr246 = $182 >> 16;
- $183 = $b_Q14$addr;
- $arrayidx247 = ((($183)) + 4|0);
- $184 = HEAP16[$arrayidx247>>1]|0;
- $conv248 = $184 << 16 >> 16;
- $mul249 = Math_imul($shr246, $conv248)|0;
- $185 = $pred_lag_ptr;
- $arrayidx250 = ((($185)) + -8|0);
- $186 = HEAP32[$arrayidx250>>2]|0;
- $and251 = $186 & 65535;
- $187 = $b_Q14$addr;
- $arrayidx252 = ((($187)) + 4|0);
- $188 = HEAP16[$arrayidx252>>1]|0;
- $conv253 = $188 << 16 >> 16;
- $mul254 = Math_imul($and251, $conv253)|0;
- $shr255 = $mul254 >> 16;
- $add256 = (($mul249) + ($shr255))|0;
- $add257 = (($180) + ($add256))|0;
- $LTP_pred_Q13 = $add257;
- $189 = $LTP_pred_Q13;
- $190 = $pred_lag_ptr;
- $arrayidx258 = ((($190)) + -12|0);
- $191 = HEAP32[$arrayidx258>>2]|0;
- $shr259 = $191 >> 16;
- $192 = $b_Q14$addr;
- $arrayidx260 = ((($192)) + 6|0);
- $193 = HEAP16[$arrayidx260>>1]|0;
- $conv261 = $193 << 16 >> 16;
- $mul262 = Math_imul($shr259, $conv261)|0;
- $194 = $pred_lag_ptr;
- $arrayidx263 = ((($194)) + -12|0);
- $195 = HEAP32[$arrayidx263>>2]|0;
- $and264 = $195 & 65535;
- $196 = $b_Q14$addr;
- $arrayidx265 = ((($196)) + 6|0);
- $197 = HEAP16[$arrayidx265>>1]|0;
- $conv266 = $197 << 16 >> 16;
- $mul267 = Math_imul($and264, $conv266)|0;
- $shr268 = $mul267 >> 16;
- $add269 = (($mul262) + ($shr268))|0;
- $add270 = (($189) + ($add269))|0;
- $LTP_pred_Q13 = $add270;
- $198 = $LTP_pred_Q13;
- $199 = $pred_lag_ptr;
- $arrayidx271 = ((($199)) + -16|0);
- $200 = HEAP32[$arrayidx271>>2]|0;
- $shr272 = $200 >> 16;
- $201 = $b_Q14$addr;
- $arrayidx273 = ((($201)) + 8|0);
- $202 = HEAP16[$arrayidx273>>1]|0;
- $conv274 = $202 << 16 >> 16;
- $mul275 = Math_imul($shr272, $conv274)|0;
- $203 = $pred_lag_ptr;
- $arrayidx276 = ((($203)) + -16|0);
- $204 = HEAP32[$arrayidx276>>2]|0;
- $and277 = $204 & 65535;
- $205 = $b_Q14$addr;
- $arrayidx278 = ((($205)) + 8|0);
- $206 = HEAP16[$arrayidx278>>1]|0;
- $conv279 = $206 << 16 >> 16;
- $mul280 = Math_imul($and277, $conv279)|0;
- $shr281 = $mul280 >> 16;
- $add282 = (($mul275) + ($shr281))|0;
- $add283 = (($198) + ($add282))|0;
- $LTP_pred_Q13 = $add283;
- $207 = $pred_lag_ptr;
- $incdec$ptr = ((($207)) + 4|0);
- $pred_lag_ptr = $incdec$ptr;
- } else {
- $LTP_pred_Q13 = 0;
- }
- $208 = $psLPC_Q14;
- $209 = HEAP32[$208>>2]|0;
- $tmp2 = $209;
- $210 = $NSQ$addr;
- $sAR2_Q14 = ((($210)) + 4288|0);
- $211 = HEAP32[$sAR2_Q14>>2]|0;
- $tmp1 = $211;
- $212 = $tmp2;
- $213 = $NSQ$addr;
- $sAR2_Q14287 = ((($213)) + 4288|0);
- HEAP32[$sAR2_Q14287>>2] = $212;
- $214 = $shapingLPCOrder$addr;
- $shr289 = $214 >> 1;
- $n_AR_Q12 = $shr289;
- $215 = $n_AR_Q12;
- $216 = $tmp2;
- $shr290 = $216 >> 16;
- $217 = $AR_shp_Q13$addr;
- $218 = HEAP16[$217>>1]|0;
- $conv292 = $218 << 16 >> 16;
- $mul293 = Math_imul($shr290, $conv292)|0;
- $219 = $tmp2;
- $and294 = $219 & 65535;
- $220 = $AR_shp_Q13$addr;
- $221 = HEAP16[$220>>1]|0;
- $conv296 = $221 << 16 >> 16;
- $mul297 = Math_imul($and294, $conv296)|0;
- $shr298 = $mul297 >> 16;
- $add299 = (($mul293) + ($shr298))|0;
- $add300 = (($215) + ($add299))|0;
- $n_AR_Q12 = $add300;
- $j = 2;
- while(1) {
- $222 = $j;
- $223 = $shapingLPCOrder$addr;
- $cmp302 = ($222|0)<($223|0);
- if (!($cmp302)) {
- break;
- }
- $224 = $NSQ$addr;
- $sAR2_Q14305 = ((($224)) + 4288|0);
- $225 = $j;
- $sub306 = (($225) - 1)|0;
- $arrayidx307 = (($sAR2_Q14305) + ($sub306<<2)|0);
- $226 = HEAP32[$arrayidx307>>2]|0;
- $tmp2 = $226;
- $227 = $tmp1;
- $228 = $NSQ$addr;
- $sAR2_Q14308 = ((($228)) + 4288|0);
- $229 = $j;
- $sub309 = (($229) - 1)|0;
- $arrayidx310 = (($sAR2_Q14308) + ($sub309<<2)|0);
- HEAP32[$arrayidx310>>2] = $227;
- $230 = $n_AR_Q12;
- $231 = $tmp1;
- $shr311 = $231 >> 16;
- $232 = $AR_shp_Q13$addr;
- $233 = $j;
- $sub312 = (($233) - 1)|0;
- $arrayidx313 = (($232) + ($sub312<<1)|0);
- $234 = HEAP16[$arrayidx313>>1]|0;
- $conv314 = $234 << 16 >> 16;
- $mul315 = Math_imul($shr311, $conv314)|0;
- $235 = $tmp1;
- $and316 = $235 & 65535;
- $236 = $AR_shp_Q13$addr;
- $237 = $j;
- $sub317 = (($237) - 1)|0;
- $arrayidx318 = (($236) + ($sub317<<1)|0);
- $238 = HEAP16[$arrayidx318>>1]|0;
- $conv319 = $238 << 16 >> 16;
- $mul320 = Math_imul($and316, $conv319)|0;
- $shr321 = $mul320 >> 16;
- $add322 = (($mul315) + ($shr321))|0;
- $add323 = (($230) + ($add322))|0;
- $n_AR_Q12 = $add323;
- $239 = $NSQ$addr;
- $sAR2_Q14324 = ((($239)) + 4288|0);
- $240 = $j;
- $add325 = (($240) + 0)|0;
- $arrayidx326 = (($sAR2_Q14324) + ($add325<<2)|0);
- $241 = HEAP32[$arrayidx326>>2]|0;
- $tmp1 = $241;
- $242 = $tmp2;
- $243 = $NSQ$addr;
- $sAR2_Q14327 = ((($243)) + 4288|0);
- $244 = $j;
- $add328 = (($244) + 0)|0;
- $arrayidx329 = (($sAR2_Q14327) + ($add328<<2)|0);
- HEAP32[$arrayidx329>>2] = $242;
- $245 = $n_AR_Q12;
- $246 = $tmp2;
- $shr330 = $246 >> 16;
- $247 = $AR_shp_Q13$addr;
- $248 = $j;
- $arrayidx331 = (($247) + ($248<<1)|0);
- $249 = HEAP16[$arrayidx331>>1]|0;
- $conv332 = $249 << 16 >> 16;
- $mul333 = Math_imul($shr330, $conv332)|0;
- $250 = $tmp2;
- $and334 = $250 & 65535;
- $251 = $AR_shp_Q13$addr;
- $252 = $j;
- $arrayidx335 = (($251) + ($252<<1)|0);
- $253 = HEAP16[$arrayidx335>>1]|0;
- $conv336 = $253 << 16 >> 16;
- $mul337 = Math_imul($and334, $conv336)|0;
- $shr338 = $mul337 >> 16;
- $add339 = (($mul333) + ($shr338))|0;
- $add340 = (($245) + ($add339))|0;
- $n_AR_Q12 = $add340;
- $254 = $j;
- $add341 = (($254) + 2)|0;
- $j = $add341;
- }
- $255 = $tmp1;
- $256 = $NSQ$addr;
- $sAR2_Q14342 = ((($256)) + 4288|0);
- $257 = $shapingLPCOrder$addr;
- $sub343 = (($257) - 1)|0;
- $arrayidx344 = (($sAR2_Q14342) + ($sub343<<2)|0);
- HEAP32[$arrayidx344>>2] = $255;
- $258 = $n_AR_Q12;
- $259 = $tmp1;
- $shr345 = $259 >> 16;
- $260 = $AR_shp_Q13$addr;
- $261 = $shapingLPCOrder$addr;
- $sub346 = (($261) - 1)|0;
- $arrayidx347 = (($260) + ($sub346<<1)|0);
- $262 = HEAP16[$arrayidx347>>1]|0;
- $conv348 = $262 << 16 >> 16;
- $mul349 = Math_imul($shr345, $conv348)|0;
- $263 = $tmp1;
- $and350 = $263 & 65535;
- $264 = $AR_shp_Q13$addr;
- $265 = $shapingLPCOrder$addr;
- $sub351 = (($265) - 1)|0;
- $arrayidx352 = (($264) + ($sub351<<1)|0);
- $266 = HEAP16[$arrayidx352>>1]|0;
- $conv353 = $266 << 16 >> 16;
- $mul354 = Math_imul($and350, $conv353)|0;
- $shr355 = $mul354 >> 16;
- $add356 = (($mul349) + ($shr355))|0;
- $add357 = (($258) + ($add356))|0;
- $n_AR_Q12 = $add357;
- $267 = $n_AR_Q12;
- $shl = $267 << 1;
- $n_AR_Q12 = $shl;
- $268 = $n_AR_Q12;
- $269 = $NSQ$addr;
- $sLF_AR_shp_Q14358 = ((($269)) + 4352|0);
- $270 = HEAP32[$sLF_AR_shp_Q14358>>2]|0;
- $shr359 = $270 >> 16;
- $271 = $Tilt_Q14$addr;
- $conv360 = $271&65535;
- $conv361 = $conv360 << 16 >> 16;
- $mul362 = Math_imul($shr359, $conv361)|0;
- $272 = $NSQ$addr;
- $sLF_AR_shp_Q14363 = ((($272)) + 4352|0);
- $273 = HEAP32[$sLF_AR_shp_Q14363>>2]|0;
- $and364 = $273 & 65535;
- $274 = $Tilt_Q14$addr;
- $conv365 = $274&65535;
- $conv366 = $conv365 << 16 >> 16;
- $mul367 = Math_imul($and364, $conv366)|0;
- $shr368 = $mul367 >> 16;
- $add369 = (($mul362) + ($shr368))|0;
- $add370 = (($268) + ($add369))|0;
- $n_AR_Q12 = $add370;
- $275 = $NSQ$addr;
- $sLTP_shp_Q14371 = ((($275)) + 1280|0);
- $276 = $NSQ$addr;
- $sLTP_shp_buf_idx372 = ((($276)) + 4364|0);
- $277 = HEAP32[$sLTP_shp_buf_idx372>>2]|0;
- $sub373 = (($277) - 1)|0;
- $arrayidx374 = (($sLTP_shp_Q14371) + ($sub373<<2)|0);
- $278 = HEAP32[$arrayidx374>>2]|0;
- $shr375 = $278 >> 16;
- $279 = $LF_shp_Q14$addr;
- $conv376 = $279&65535;
- $conv377 = $conv376 << 16 >> 16;
- $mul378 = Math_imul($shr375, $conv377)|0;
- $280 = $NSQ$addr;
- $sLTP_shp_Q14379 = ((($280)) + 1280|0);
- $281 = $NSQ$addr;
- $sLTP_shp_buf_idx380 = ((($281)) + 4364|0);
- $282 = HEAP32[$sLTP_shp_buf_idx380>>2]|0;
- $sub381 = (($282) - 1)|0;
- $arrayidx382 = (($sLTP_shp_Q14379) + ($sub381<<2)|0);
- $283 = HEAP32[$arrayidx382>>2]|0;
- $and383 = $283 & 65535;
- $284 = $LF_shp_Q14$addr;
- $conv384 = $284&65535;
- $conv385 = $conv384 << 16 >> 16;
- $mul386 = Math_imul($and383, $conv385)|0;
- $shr387 = $mul386 >> 16;
- $add388 = (($mul378) + ($shr387))|0;
- $n_LF_Q12 = $add388;
- $285 = $n_LF_Q12;
- $286 = $NSQ$addr;
- $sLF_AR_shp_Q14389 = ((($286)) + 4352|0);
- $287 = HEAP32[$sLF_AR_shp_Q14389>>2]|0;
- $shr390 = $287 >> 16;
- $288 = $LF_shp_Q14$addr;
- $shr391 = $288 >> 16;
- $mul392 = Math_imul($shr390, $shr391)|0;
- $add393 = (($285) + ($mul392))|0;
- $289 = $NSQ$addr;
- $sLF_AR_shp_Q14394 = ((($289)) + 4352|0);
- $290 = HEAP32[$sLF_AR_shp_Q14394>>2]|0;
- $and395 = $290 & 65535;
- $291 = $LF_shp_Q14$addr;
- $shr396 = $291 >> 16;
- $mul397 = Math_imul($and395, $shr396)|0;
- $shr398 = $mul397 >> 16;
- $add399 = (($add393) + ($shr398))|0;
- $n_LF_Q12 = $add399;
- $292 = $LPC_pred_Q10;
- $shl400 = $292 << 2;
- $293 = $n_AR_Q12;
- $sub401 = (($shl400) - ($293))|0;
- $tmp1 = $sub401;
- $294 = $tmp1;
- $295 = $n_LF_Q12;
- $sub402 = (($294) - ($295))|0;
- $tmp1 = $sub402;
- $296 = $lag$addr;
- $cmp403 = ($296|0)>(0);
- if ($cmp403) {
- $297 = $shp_lag_ptr;
- $298 = HEAP32[$297>>2]|0;
- $299 = $shp_lag_ptr;
- $arrayidx407 = ((($299)) + -8|0);
- $300 = HEAP32[$arrayidx407>>2]|0;
- $add408 = (($298) + ($300))|0;
- $shr409 = $add408 >> 16;
- $301 = $HarmShapeFIRPacked_Q14$addr;
- $conv410 = $301&65535;
- $conv411 = $conv410 << 16 >> 16;
- $mul412 = Math_imul($shr409, $conv411)|0;
- $302 = $shp_lag_ptr;
- $303 = HEAP32[$302>>2]|0;
- $304 = $shp_lag_ptr;
- $arrayidx414 = ((($304)) + -8|0);
- $305 = HEAP32[$arrayidx414>>2]|0;
- $add415 = (($303) + ($305))|0;
- $and416 = $add415 & 65535;
- $306 = $HarmShapeFIRPacked_Q14$addr;
- $conv417 = $306&65535;
- $conv418 = $conv417 << 16 >> 16;
- $mul419 = Math_imul($and416, $conv418)|0;
- $shr420 = $mul419 >> 16;
- $add421 = (($mul412) + ($shr420))|0;
- $n_LTP_Q13 = $add421;
- $307 = $n_LTP_Q13;
- $308 = $shp_lag_ptr;
- $arrayidx422 = ((($308)) + -4|0);
- $309 = HEAP32[$arrayidx422>>2]|0;
- $shr423 = $309 >> 16;
- $310 = $HarmShapeFIRPacked_Q14$addr;
- $shr424 = $310 >> 16;
- $mul425 = Math_imul($shr423, $shr424)|0;
- $add426 = (($307) + ($mul425))|0;
- $311 = $shp_lag_ptr;
- $arrayidx427 = ((($311)) + -4|0);
- $312 = HEAP32[$arrayidx427>>2]|0;
- $and428 = $312 & 65535;
- $313 = $HarmShapeFIRPacked_Q14$addr;
- $shr429 = $313 >> 16;
- $mul430 = Math_imul($and428, $shr429)|0;
- $shr431 = $mul430 >> 16;
- $add432 = (($add426) + ($shr431))|0;
- $n_LTP_Q13 = $add432;
- $314 = $n_LTP_Q13;
- $shl433 = $314 << 1;
- $n_LTP_Q13 = $shl433;
- $315 = $shp_lag_ptr;
- $incdec$ptr434 = ((($315)) + 4|0);
- $shp_lag_ptr = $incdec$ptr434;
- $316 = $LTP_pred_Q13;
- $317 = $n_LTP_Q13;
- $sub435 = (($316) - ($317))|0;
- $tmp2 = $sub435;
- $318 = $tmp2;
- $319 = $tmp1;
- $shl436 = $319 << 1;
- $add437 = (($318) + ($shl436))|0;
- $tmp1 = $add437;
- $320 = $tmp1;
- $shr438 = $320 >> 2;
- $add439 = (($shr438) + 1)|0;
- $shr440 = $add439 >> 1;
- $tmp1 = $shr440;
- } else {
- $321 = $tmp1;
- $shr442 = $321 >> 1;
- $add443 = (($shr442) + 1)|0;
- $shr444 = $add443 >> 1;
- $tmp1 = $shr444;
- }
- $322 = $x_sc_Q10$addr;
- $323 = $i;
- $arrayidx446 = (($322) + ($323<<2)|0);
- $324 = HEAP32[$arrayidx446>>2]|0;
- $325 = $tmp1;
- $sub447 = (($324) - ($325))|0;
- $r_Q10 = $sub447;
- $326 = $NSQ$addr;
- $rand_seed448 = ((($326)) + 4368|0);
- $327 = HEAP32[$rand_seed448>>2]|0;
- $cmp449 = ($327|0)<(0);
- if ($cmp449) {
- $328 = $r_Q10;
- $sub452 = (0 - ($328))|0;
- $r_Q10 = $sub452;
- }
- $329 = $r_Q10;
- $cmp454 = ($329|0)>(30720);
- if ($cmp454) {
- $cond461 = 30720;
- } else {
- $330 = $r_Q10;
- $cmp456 = ($330|0)<(-31744);
- $331 = $r_Q10;
- $cond = $cmp456 ? -31744 : $331;
- $cond461 = $cond;
- }
- $r_Q10 = $cond461;
- $332 = $r_Q10;
- $333 = $offset_Q10$addr;
- $sub462 = (($332) - ($333))|0;
- $q1_Q10 = $sub462;
- $334 = $q1_Q10;
- $shr463 = $334 >> 10;
- $q1_Q0 = $shr463;
- $335 = $q1_Q0;
- $cmp464 = ($335|0)>(0);
- $336 = $q1_Q0;
- do {
- if ($cmp464) {
- $shl467 = $336 << 10;
- $sub468 = (($shl467) - 80)|0;
- $q1_Q10 = $sub468;
- $337 = $q1_Q10;
- $338 = $offset_Q10$addr;
- $add469 = (($337) + ($338))|0;
- $q1_Q10 = $add469;
- $339 = $q1_Q10;
- $add470 = (($339) + 1024)|0;
- $q2_Q10 = $add470;
- $340 = $q1_Q10;
- $conv471 = $340&65535;
- $conv472 = $conv471 << 16 >> 16;
- $341 = $Lambda_Q10$addr;
- $conv473 = $341&65535;
- $conv474 = $conv473 << 16 >> 16;
- $mul475 = Math_imul($conv472, $conv474)|0;
- $rd1_Q20 = $mul475;
- $342 = $q2_Q10;
- $conv476 = $342&65535;
- $conv477 = $conv476 << 16 >> 16;
- $343 = $Lambda_Q10$addr;
- $conv478 = $343&65535;
- $conv479 = $conv478 << 16 >> 16;
- $mul480 = Math_imul($conv477, $conv479)|0;
- $rd2_Q20 = $mul480;
- } else {
- $cmp482 = ($336|0)==(0);
- if ($cmp482) {
- $344 = $offset_Q10$addr;
- $q1_Q10 = $344;
- $345 = $q1_Q10;
- $add485 = (($345) + 944)|0;
- $q2_Q10 = $add485;
- $346 = $q1_Q10;
- $conv486 = $346&65535;
- $conv487 = $conv486 << 16 >> 16;
- $347 = $Lambda_Q10$addr;
- $conv488 = $347&65535;
- $conv489 = $conv488 << 16 >> 16;
- $mul490 = Math_imul($conv487, $conv489)|0;
- $rd1_Q20 = $mul490;
- $348 = $q2_Q10;
- $conv491 = $348&65535;
- $conv492 = $conv491 << 16 >> 16;
- $349 = $Lambda_Q10$addr;
- $conv493 = $349&65535;
- $conv494 = $conv493 << 16 >> 16;
- $mul495 = Math_imul($conv492, $conv494)|0;
- $rd2_Q20 = $mul495;
- break;
- }
- $350 = $q1_Q0;
- $cmp497 = ($350|0)==(-1);
- if ($cmp497) {
- $351 = $offset_Q10$addr;
- $q2_Q10 = $351;
- $352 = $q2_Q10;
- $sub500 = (($352) - 944)|0;
- $q1_Q10 = $sub500;
- $353 = $q1_Q10;
- $sub501 = (0 - ($353))|0;
- $conv502 = $sub501&65535;
- $conv503 = $conv502 << 16 >> 16;
- $354 = $Lambda_Q10$addr;
- $conv504 = $354&65535;
- $conv505 = $conv504 << 16 >> 16;
- $mul506 = Math_imul($conv503, $conv505)|0;
- $rd1_Q20 = $mul506;
- $355 = $q2_Q10;
- $conv507 = $355&65535;
- $conv508 = $conv507 << 16 >> 16;
- $356 = $Lambda_Q10$addr;
- $conv509 = $356&65535;
- $conv510 = $conv509 << 16 >> 16;
- $mul511 = Math_imul($conv508, $conv510)|0;
- $rd2_Q20 = $mul511;
- break;
- } else {
- $357 = $q1_Q0;
- $shl513 = $357 << 10;
- $add514 = (($shl513) + 80)|0;
- $q1_Q10 = $add514;
- $358 = $q1_Q10;
- $359 = $offset_Q10$addr;
- $add515 = (($358) + ($359))|0;
- $q1_Q10 = $add515;
- $360 = $q1_Q10;
- $add516 = (($360) + 1024)|0;
- $q2_Q10 = $add516;
- $361 = $q1_Q10;
- $sub517 = (0 - ($361))|0;
- $conv518 = $sub517&65535;
- $conv519 = $conv518 << 16 >> 16;
- $362 = $Lambda_Q10$addr;
- $conv520 = $362&65535;
- $conv521 = $conv520 << 16 >> 16;
- $mul522 = Math_imul($conv519, $conv521)|0;
- $rd1_Q20 = $mul522;
- $363 = $q2_Q10;
- $sub523 = (0 - ($363))|0;
- $conv524 = $sub523&65535;
- $conv525 = $conv524 << 16 >> 16;
- $364 = $Lambda_Q10$addr;
- $conv526 = $364&65535;
- $conv527 = $conv526 << 16 >> 16;
- $mul528 = Math_imul($conv525, $conv527)|0;
- $rd2_Q20 = $mul528;
- break;
- }
- }
- } while(0);
- $365 = $r_Q10;
- $366 = $q1_Q10;
- $sub532 = (($365) - ($366))|0;
- $rr_Q10 = $sub532;
- $367 = $rd1_Q20;
- $368 = $rr_Q10;
- $conv533 = $368&65535;
- $conv534 = $conv533 << 16 >> 16;
- $369 = $rr_Q10;
- $conv535 = $369&65535;
- $conv536 = $conv535 << 16 >> 16;
- $mul537 = Math_imul($conv534, $conv536)|0;
- $add538 = (($367) + ($mul537))|0;
- $rd1_Q20 = $add538;
- $370 = $r_Q10;
- $371 = $q2_Q10;
- $sub539 = (($370) - ($371))|0;
- $rr_Q10 = $sub539;
- $372 = $rd2_Q20;
- $373 = $rr_Q10;
- $conv540 = $373&65535;
- $conv541 = $conv540 << 16 >> 16;
- $374 = $rr_Q10;
- $conv542 = $374&65535;
- $conv543 = $conv542 << 16 >> 16;
- $mul544 = Math_imul($conv541, $conv543)|0;
- $add545 = (($372) + ($mul544))|0;
- $rd2_Q20 = $add545;
- $375 = $rd2_Q20;
- $376 = $rd1_Q20;
- $cmp546 = ($375|0)<($376|0);
- if ($cmp546) {
- $377 = $q2_Q10;
- $q1_Q10 = $377;
- }
- $378 = $q1_Q10;
- $shr550 = $378 >> 9;
- $add551 = (($shr550) + 1)|0;
- $shr552 = $add551 >> 1;
- $conv553 = $shr552&255;
- $379 = $pulses$addr;
- $380 = $i;
- $arrayidx554 = (($379) + ($380)|0);
- HEAP8[$arrayidx554>>0] = $conv553;
- $381 = $q1_Q10;
- $shl555 = $381 << 4;
- $exc_Q14 = $shl555;
- $382 = $NSQ$addr;
- $rand_seed556 = ((($382)) + 4368|0);
- $383 = HEAP32[$rand_seed556>>2]|0;
- $cmp557 = ($383|0)<(0);
- if ($cmp557) {
- $384 = $exc_Q14;
- $sub560 = (0 - ($384))|0;
- $exc_Q14 = $sub560;
- }
- $385 = $exc_Q14;
- $386 = $LTP_pred_Q13;
- $shl562 = $386 << 1;
- $add563 = (($385) + ($shl562))|0;
- $LPC_exc_Q14 = $add563;
- $387 = $LPC_exc_Q14;
- $388 = $LPC_pred_Q10;
- $shl564 = $388 << 4;
- $add565 = (($387) + ($shl564))|0;
- $xq_Q14 = $add565;
- $389 = $xq_Q14;
- $shr566 = $389 >> 16;
- $390 = $Gain_Q10;
- $conv567 = $390&65535;
- $conv568 = $conv567 << 16 >> 16;
- $mul569 = Math_imul($shr566, $conv568)|0;
- $391 = $xq_Q14;
- $and570 = $391 & 65535;
- $392 = $Gain_Q10;
- $conv571 = $392&65535;
- $conv572 = $conv571 << 16 >> 16;
- $mul573 = Math_imul($and570, $conv572)|0;
- $shr574 = $mul573 >> 16;
- $add575 = (($mul569) + ($shr574))|0;
- $393 = $xq_Q14;
- $394 = $Gain_Q10;
- $shr576 = $394 >> 15;
- $add577 = (($shr576) + 1)|0;
- $shr578 = $add577 >> 1;
- $mul579 = Math_imul($393, $shr578)|0;
- $add580 = (($add575) + ($mul579))|0;
- $shr581 = $add580 >> 7;
- $add582 = (($shr581) + 1)|0;
- $shr583 = $add582 >> 1;
- $cmp584 = ($shr583|0)>(32767);
- if ($cmp584) {
- $cond631 = 32767;
- } else {
- $395 = $xq_Q14;
- $shr588 = $395 >> 16;
- $396 = $Gain_Q10;
- $conv589 = $396&65535;
- $conv590 = $conv589 << 16 >> 16;
- $mul591 = Math_imul($shr588, $conv590)|0;
- $397 = $xq_Q14;
- $and592 = $397 & 65535;
- $398 = $Gain_Q10;
- $conv593 = $398&65535;
- $conv594 = $conv593 << 16 >> 16;
- $mul595 = Math_imul($and592, $conv594)|0;
- $shr596 = $mul595 >> 16;
- $add597 = (($mul591) + ($shr596))|0;
- $399 = $xq_Q14;
- $400 = $Gain_Q10;
- $shr598 = $400 >> 15;
- $add599 = (($shr598) + 1)|0;
- $shr600 = $add599 >> 1;
- $mul601 = Math_imul($399, $shr600)|0;
- $add602 = (($add597) + ($mul601))|0;
- $shr603 = $add602 >> 7;
- $add604 = (($shr603) + 1)|0;
- $shr605 = $add604 >> 1;
- $cmp606 = ($shr605|0)<(-32768);
- if ($cmp606) {
- $cond631 = -32768;
- } else {
- $401 = $xq_Q14;
- $shr610 = $401 >> 16;
- $402 = $Gain_Q10;
- $conv611 = $402&65535;
- $conv612 = $conv611 << 16 >> 16;
- $mul613 = Math_imul($shr610, $conv612)|0;
- $403 = $xq_Q14;
- $and614 = $403 & 65535;
- $404 = $Gain_Q10;
- $conv615 = $404&65535;
- $conv616 = $conv615 << 16 >> 16;
- $mul617 = Math_imul($and614, $conv616)|0;
- $shr618 = $mul617 >> 16;
- $add619 = (($mul613) + ($shr618))|0;
- $405 = $xq_Q14;
- $406 = $Gain_Q10;
- $shr620 = $406 >> 15;
- $add621 = (($shr620) + 1)|0;
- $shr622 = $add621 >> 1;
- $mul623 = Math_imul($405, $shr622)|0;
- $add624 = (($add619) + ($mul623))|0;
- $shr625 = $add624 >> 7;
- $add626 = (($shr625) + 1)|0;
- $shr627 = $add626 >> 1;
- $cond631 = $shr627;
- }
- }
- $conv632 = $cond631&65535;
- $407 = $xq$addr;
- $408 = $i;
- $arrayidx633 = (($407) + ($408<<1)|0);
- HEAP16[$arrayidx633>>1] = $conv632;
- $409 = $psLPC_Q14;
- $incdec$ptr634 = ((($409)) + 4|0);
- $psLPC_Q14 = $incdec$ptr634;
- $410 = $xq_Q14;
- $411 = $psLPC_Q14;
- HEAP32[$411>>2] = $410;
- $412 = $xq_Q14;
- $413 = $n_AR_Q12;
- $shl635 = $413 << 2;
- $sub636 = (($412) - ($shl635))|0;
- $sLF_AR_shp_Q14 = $sub636;
- $414 = $sLF_AR_shp_Q14;
- $415 = $NSQ$addr;
- $sLF_AR_shp_Q14637 = ((($415)) + 4352|0);
- HEAP32[$sLF_AR_shp_Q14637>>2] = $414;
- $416 = $sLF_AR_shp_Q14;
- $417 = $n_LF_Q12;
- $shl638 = $417 << 2;
- $sub639 = (($416) - ($shl638))|0;
- $418 = $NSQ$addr;
- $sLTP_shp_Q14640 = ((($418)) + 1280|0);
- $419 = $NSQ$addr;
- $sLTP_shp_buf_idx641 = ((($419)) + 4364|0);
- $420 = HEAP32[$sLTP_shp_buf_idx641>>2]|0;
- $arrayidx642 = (($sLTP_shp_Q14640) + ($420<<2)|0);
- HEAP32[$arrayidx642>>2] = $sub639;
- $421 = $LPC_exc_Q14;
- $shl643 = $421 << 1;
- $422 = $sLTP_Q15$addr;
- $423 = $NSQ$addr;
- $sLTP_buf_idx644 = ((($423)) + 4360|0);
- $424 = HEAP32[$sLTP_buf_idx644>>2]|0;
- $arrayidx645 = (($422) + ($424<<2)|0);
- HEAP32[$arrayidx645>>2] = $shl643;
- $425 = $NSQ$addr;
- $sLTP_shp_buf_idx646 = ((($425)) + 4364|0);
- $426 = HEAP32[$sLTP_shp_buf_idx646>>2]|0;
- $inc = (($426) + 1)|0;
- HEAP32[$sLTP_shp_buf_idx646>>2] = $inc;
- $427 = $NSQ$addr;
- $sLTP_buf_idx647 = ((($427)) + 4360|0);
- $428 = HEAP32[$sLTP_buf_idx647>>2]|0;
- $inc648 = (($428) + 1)|0;
- HEAP32[$sLTP_buf_idx647>>2] = $inc648;
- $429 = $NSQ$addr;
- $rand_seed649 = ((($429)) + 4368|0);
- $430 = HEAP32[$rand_seed649>>2]|0;
- $431 = $pulses$addr;
- $432 = $i;
- $arrayidx650 = (($431) + ($432)|0);
- $433 = HEAP8[$arrayidx650>>0]|0;
- $conv651 = $433 << 24 >> 24;
- $add652 = (($430) + ($conv651))|0;
- $434 = $NSQ$addr;
- $rand_seed653 = ((($434)) + 4368|0);
- HEAP32[$rand_seed653>>2] = $add652;
- $435 = $i;
- $inc655 = (($435) + 1)|0;
- $i = $inc655;
+ $11 = $18;
}
- $sLPC_Q14657 = ((($12)) + 3840|0);
- $436 = $NSQ$addr;
- $sLPC_Q14658 = ((($436)) + 3840|0);
- $437 = $length$addr;
- $arrayidx659 = (($sLPC_Q14658) + ($437<<2)|0);
- dest=$sLPC_Q14657; src=$arrayidx659; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- STACKTOP = sp;return;
+ $19 = $6;
+ $20 = $7;
+ $21 = $5;
+ $22 = ((($21)) + 144|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = $5;
+ $25 = ((($24)) + 100|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = $5;
+ $28 = ((($27)) + 132|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = $5;
+ $31 = ((($30)) + 148|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = $11;
+ $34 = $5;
+ $35 = ((($34)) + 172|0);
+ $36 = ((($35)) + 6872|0);
+ $37 = (_compute_frame_size($19,$20,$23,$26,$29,$32,$33,19,$36)|0);
+ $10 = $37;
+ $38 = $5;
+ $39 = $6;
+ $40 = $10;
+ $41 = $8;
+ $42 = $9;
+ $43 = $6;
+ $44 = $7;
+ $45 = $5;
+ $46 = ((($45)) + 100|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = (_opus_encode_native($38,$39,$40,$41,$42,24,$43,$44,0,-2,$47,19,1)|0);
+ STACKTOP = sp;return ($48|0);
}
-function _silk_INVERSE32_varQ($b32,$Qres) {
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $add = 0;
- var $add20 = 0, $add21 = 0, $add23 = 0, $add26 = 0, $and = 0, $and15 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $cmp = 0, $cmp29 = 0, $cmp35 = 0, $cmp40 = 0, $cmp48 = 0, $cmp61 = 0, $cmp69 = 0, $cmp83 = 0, $cond = 0;
- var $cond80 = 0, $conv = 0, $conv12 = 0, $conv13 = 0, $conv16 = 0, $conv17 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $div = 0, $err_Q32 = 0, $lshift = 0, $mul = 0, $mul14 = 0, $mul18 = 0, $mul25 = 0, $mul7 = 0, $result = 0, $retval = 0, $shl = 0;
- var $shl10 = 0, $shl2 = 0, $shl82 = 0, $shr = 0, $shr11 = 0, $shr19 = 0, $shr22 = 0, $shr24 = 0, $shr3 = 0, $shr32 = 0, $shr34 = 0, $shr39 = 0, $shr44 = 0, $shr47 = 0, $shr52 = 0, $shr60 = 0, $shr65 = 0, $shr68 = 0, $shr73 = 0, $shr8 = 0;
- var $shr86 = 0, $sub = 0, $sub1 = 0, $sub27 = 0, $sub28 = 0, $sub31 = 0, $sub33 = 0, $sub38 = 0, $sub43 = 0, $sub46 = 0, $sub51 = 0, $sub64 = 0, $sub67 = 0, $sub72 = 0, $sub81 = 0, $sub9 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $b32$addr;
- $cmp = ($0|0)>(0);
- $1 = $b32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_420($cond)|0);
- $sub1 = (($call) - 1)|0;
- $b_headrm = $sub1;
- $2 = $b32$addr;
- $3 = $b_headrm;
- $shl = $2 << $3;
- $b32_nrm = $shl;
- $4 = $b32_nrm;
- $shr = $4 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $5 = $b32_inv;
- $shl2 = $5 << 16;
- $result = $shl2;
- $6 = $b32_nrm;
- $shr3 = $6 >> 16;
- $7 = $b32_inv;
- $conv = $7&65535;
- $conv4 = $conv << 16 >> 16;
- $mul = Math_imul($shr3, $conv4)|0;
- $8 = $b32_nrm;
- $and = $8 & 65535;
- $9 = $b32_inv;
- $conv5 = $9&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = Math_imul($and, $conv6)|0;
- $shr8 = $mul7 >> 16;
- $add = (($mul) + ($shr8))|0;
- $sub9 = (536870912 - ($add))|0;
- $shl10 = $sub9 << 3;
- $err_Q32 = $shl10;
- $10 = $result;
- $11 = $err_Q32;
- $shr11 = $11 >> 16;
- $12 = $b32_inv;
- $conv12 = $12&65535;
- $conv13 = $conv12 << 16 >> 16;
- $mul14 = Math_imul($shr11, $conv13)|0;
- $13 = $err_Q32;
- $and15 = $13 & 65535;
- $14 = $b32_inv;
- $conv16 = $14&65535;
- $conv17 = $conv16 << 16 >> 16;
- $mul18 = Math_imul($and15, $conv17)|0;
- $shr19 = $mul18 >> 16;
- $add20 = (($mul14) + ($shr19))|0;
- $add21 = (($10) + ($add20))|0;
- $15 = $err_Q32;
- $16 = $b32_inv;
- $shr22 = $16 >> 15;
- $add23 = (($shr22) + 1)|0;
- $shr24 = $add23 >> 1;
- $mul25 = Math_imul($15, $shr24)|0;
- $add26 = (($add21) + ($mul25))|0;
- $result = $add26;
- $17 = $b_headrm;
- $sub27 = (61 - ($17))|0;
- $18 = $Qres$addr;
- $sub28 = (($sub27) - ($18))|0;
- $lshift = $sub28;
- $19 = $lshift;
- $cmp29 = ($19|0)<=(0);
- $20 = $lshift;
- if (!($cmp29)) {
- $cmp83 = ($20|0)<(32);
- if ($cmp83) {
- $35 = $result;
- $36 = $lshift;
- $shr86 = $35 >> $36;
- $retval = $shr86;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
- } else {
- $retval = 0;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
- }
- }
- $sub31 = (0 - ($20))|0;
- $shr32 = -2147483648 >> $sub31;
- $21 = $lshift;
- $sub33 = (0 - ($21))|0;
- $shr34 = 2147483647 >> $sub33;
- $cmp35 = ($shr32|0)>($shr34|0);
- $22 = $result;
- $23 = $lshift;
- $sub38 = (0 - ($23))|0;
- do {
- if ($cmp35) {
- $shr39 = -2147483648 >> $sub38;
- $cmp40 = ($22|0)>($shr39|0);
- if ($cmp40) {
- $24 = $lshift;
- $sub43 = (0 - ($24))|0;
- $shr44 = -2147483648 >> $sub43;
- $cond80 = $shr44;
- break;
- }
- $25 = $result;
- $26 = $lshift;
- $sub46 = (0 - ($26))|0;
- $shr47 = 2147483647 >> $sub46;
- $cmp48 = ($25|0)<($shr47|0);
- if ($cmp48) {
- $27 = $lshift;
- $sub51 = (0 - ($27))|0;
- $shr52 = 2147483647 >> $sub51;
- $cond80 = $shr52;
- break;
- } else {
- $28 = $result;
- $cond80 = $28;
- break;
- }
- } else {
- $shr60 = 2147483647 >> $sub38;
- $cmp61 = ($22|0)>($shr60|0);
- if ($cmp61) {
- $29 = $lshift;
- $sub64 = (0 - ($29))|0;
- $shr65 = 2147483647 >> $sub64;
- $cond80 = $shr65;
- break;
- }
- $30 = $result;
- $31 = $lshift;
- $sub67 = (0 - ($31))|0;
- $shr68 = -2147483648 >> $sub67;
- $cmp69 = ($30|0)<($shr68|0);
- if ($cmp69) {
- $32 = $lshift;
- $sub72 = (0 - ($32))|0;
- $shr73 = -2147483648 >> $sub72;
- $cond80 = $shr73;
- break;
- } else {
- $33 = $result;
- $cond80 = $33;
- break;
- }
- }
- } while(0);
- $34 = $lshift;
- $sub81 = (0 - ($34))|0;
- $shl82 = $cond80 << $sub81;
- $retval = $shl82;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
-}
-function _silk_DIV32_varQ_419($a32,$b32,$Qres) {
- $a32 = $a32|0;
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $a32$addr = 0, $a32_nrm = 0, $a_headrm = 0, $add = 0, $add33 = 0, $add34 = 0, $add35 = 0, $and = 0;
- var $and28 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $call8 = 0, $cmp = 0, $cmp2 = 0, $cmp38 = 0, $cmp44 = 0, $cmp49 = 0, $cmp57 = 0, $cmp70 = 0, $cmp78 = 0, $cmp92 = 0, $cond = 0, $cond7 = 0, $cond89 = 0, $conv = 0;
- var $conv12 = 0, $conv13 = 0, $conv14 = 0, $conv25 = 0, $conv26 = 0, $conv29 = 0, $conv30 = 0, $div = 0, $lshift = 0, $mul = 0, $mul15 = 0, $mul27 = 0, $mul31 = 0, $result = 0, $retval = 0, $shl = 0, $shl10 = 0, $shl22 = 0, $shl91 = 0, $shr = 0;
- var $shr11 = 0, $shr16 = 0, $shr24 = 0, $shr32 = 0, $shr41 = 0, $shr43 = 0, $shr48 = 0, $shr53 = 0, $shr56 = 0, $shr61 = 0, $shr69 = 0, $shr74 = 0, $shr77 = 0, $shr82 = 0, $shr95 = 0, $sub = 0, $sub1 = 0, $sub23 = 0, $sub36 = 0, $sub37 = 0;
- var $sub40 = 0, $sub42 = 0, $sub47 = 0, $sub5 = 0, $sub52 = 0, $sub55 = 0, $sub60 = 0, $sub73 = 0, $sub76 = 0, $sub81 = 0, $sub9 = 0, $sub90 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $a32$addr = $a32;
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $a32$addr;
- $cmp = ($0|0)>(0);
- $1 = $a32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_420($cond)|0);
- $sub1 = (($call) - 1)|0;
- $a_headrm = $sub1;
- $2 = $a32$addr;
- $3 = $a_headrm;
- $shl = $2 << $3;
- $a32_nrm = $shl;
- $4 = $b32$addr;
- $cmp2 = ($4|0)>(0);
- $5 = $b32$addr;
- $sub5 = (0 - ($5))|0;
- $cond7 = $cmp2 ? $5 : $sub5;
- $call8 = (_silk_CLZ32_420($cond7)|0);
- $sub9 = (($call8) - 1)|0;
- $b_headrm = $sub9;
- $6 = $b32$addr;
- $7 = $b_headrm;
- $shl10 = $6 << $7;
- $b32_nrm = $shl10;
- $8 = $b32_nrm;
- $shr = $8 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $9 = $a32_nrm;
- $shr11 = $9 >> 16;
- $10 = $b32_inv;
- $conv = $10&65535;
- $conv12 = $conv << 16 >> 16;
- $mul = Math_imul($shr11, $conv12)|0;
- $11 = $a32_nrm;
- $and = $11 & 65535;
- $12 = $b32_inv;
- $conv13 = $12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul) + ($shr16))|0;
- $result = $add;
- $13 = $a32_nrm;
- $14 = $b32_nrm;
- $15 = ($14|0)<(0);
- $16 = $15 << 31 >> 31;
- $17 = $result;
- $18 = ($17|0)<(0);
- $19 = $18 << 31 >> 31;
- $20 = (___muldi3(($14|0),($16|0),($17|0),($19|0))|0);
- $21 = tempRet0;
- $22 = (_bitshift64Ashr(($20|0),($21|0),32)|0);
- $23 = tempRet0;
- $shl22 = $22 << 3;
- $sub23 = (($13) - ($shl22))|0;
- $a32_nrm = $sub23;
- $24 = $result;
- $25 = $a32_nrm;
- $shr24 = $25 >> 16;
- $26 = $b32_inv;
- $conv25 = $26&65535;
- $conv26 = $conv25 << 16 >> 16;
- $mul27 = Math_imul($shr24, $conv26)|0;
- $27 = $a32_nrm;
- $and28 = $27 & 65535;
- $28 = $b32_inv;
- $conv29 = $28&65535;
- $conv30 = $conv29 << 16 >> 16;
- $mul31 = Math_imul($and28, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul27) + ($shr32))|0;
- $add34 = (($24) + ($add33))|0;
- $result = $add34;
- $29 = $a_headrm;
- $add35 = (29 + ($29))|0;
- $30 = $b_headrm;
- $sub36 = (($add35) - ($30))|0;
- $31 = $Qres$addr;
- $sub37 = (($sub36) - ($31))|0;
- $lshift = $sub37;
- $32 = $lshift;
- $cmp38 = ($32|0)<(0);
- $33 = $lshift;
- if (!($cmp38)) {
- $cmp92 = ($33|0)<(32);
- if ($cmp92) {
- $48 = $result;
- $49 = $lshift;
- $shr95 = $48 >> $49;
- $retval = $shr95;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- } else {
- $retval = 0;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- }
- }
- $sub40 = (0 - ($33))|0;
- $shr41 = -2147483648 >> $sub40;
- $34 = $lshift;
- $sub42 = (0 - ($34))|0;
- $shr43 = 2147483647 >> $sub42;
- $cmp44 = ($shr41|0)>($shr43|0);
- $35 = $result;
- $36 = $lshift;
- $sub47 = (0 - ($36))|0;
- do {
- if ($cmp44) {
- $shr48 = -2147483648 >> $sub47;
- $cmp49 = ($35|0)>($shr48|0);
- if ($cmp49) {
- $37 = $lshift;
- $sub52 = (0 - ($37))|0;
- $shr53 = -2147483648 >> $sub52;
- $cond89 = $shr53;
- break;
- }
- $38 = $result;
- $39 = $lshift;
- $sub55 = (0 - ($39))|0;
- $shr56 = 2147483647 >> $sub55;
- $cmp57 = ($38|0)<($shr56|0);
- if ($cmp57) {
- $40 = $lshift;
- $sub60 = (0 - ($40))|0;
- $shr61 = 2147483647 >> $sub60;
- $cond89 = $shr61;
- break;
- } else {
- $41 = $result;
- $cond89 = $41;
- break;
- }
- } else {
- $shr69 = 2147483647 >> $sub47;
- $cmp70 = ($35|0)>($shr69|0);
- if ($cmp70) {
- $42 = $lshift;
- $sub73 = (0 - ($42))|0;
- $shr74 = 2147483647 >> $sub73;
- $cond89 = $shr74;
- break;
- }
- $43 = $result;
- $44 = $lshift;
- $sub76 = (0 - ($44))|0;
- $shr77 = -2147483648 >> $sub76;
- $cmp78 = ($43|0)<($shr77|0);
- if ($cmp78) {
- $45 = $lshift;
- $sub81 = (0 - ($45))|0;
- $shr82 = -2147483648 >> $sub81;
- $cond89 = $shr82;
- break;
- } else {
- $46 = $result;
- $cond89 = $46;
- break;
- }
- }
- } while(0);
- $47 = $lshift;
- $sub90 = (0 - ($47))|0;
- $shl91 = $cond89 << $sub90;
- $retval = $shl91;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
-}
-function _silk_CLZ32_420($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_NSQ_del_dec_c($psEncC,$NSQ,$psIndices,$x_Q3,$pulses,$PredCoef_Q12,$LTPCoef_Q14,$AR2_Q13,$HarmShapeGain_Q14,$Tilt_Q14,$LF_shp_Q14,$Gains_Q16,$pitchL,$Lambda_Q10,$LTP_scale_Q14) {
- $psEncC = $psEncC|0;
- $NSQ = $NSQ|0;
- $psIndices = $psIndices|0;
- $x_Q3 = $x_Q3|0;
- $pulses = $pulses|0;
- $PredCoef_Q12 = $PredCoef_Q12|0;
- $LTPCoef_Q14 = $LTPCoef_Q14|0;
- $AR2_Q13 = $AR2_Q13|0;
- $HarmShapeGain_Q14 = $HarmShapeGain_Q14|0;
- $Tilt_Q14 = $Tilt_Q14|0;
- $LF_shp_Q14 = $LF_shp_Q14|0;
- $Gains_Q16 = $Gains_Q16|0;
- $pitchL = $pitchL|0;
- $Lambda_Q10 = $Lambda_Q10|0;
- $LTP_scale_Q14 = $LTP_scale_Q14|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
- var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
- var $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0;
- var $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0;
- var $369 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0;
- var $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
- var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
- var $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $AR2_Q13$addr = 0, $AR_shp_Q13 = 0, $A_Q12 = 0, $B_Q14 = 0, $Gain_Q10 = 0, $Gains_Q16$addr = 0, $HarmShapeFIRPacked_Q14 = 0, $HarmShapeGain_Q14$addr = 0, $LF_AR_Q14 = 0, $LF_AR_Q14426 = 0;
- var $LF_shp_Q14$addr = 0, $LSF_interpolation_flag = 0, $LTPCoef_Q14$addr = 0, $LTP_scale_Q14$addr = 0, $Lambda_Q10$addr = 0, $NLSFInterpCoef_Q2 = 0, $NSQ$addr = 0, $PredCoef_Q12$addr = 0, $Q_Q10 = 0, $Q_Q10312 = 0, $RD_Q10 = 0, $RD_Q10103 = 0, $RD_Q10117 = 0, $RD_Q10280 = 0, $RD_Q10287 = 0, $RD_Q10292 = 0, $RD_Q1091 = 0, $RD_Q1098 = 0, $RDmin_Q10 = 0, $Seed = 0;
- var $Seed3 = 0, $Seed300 = 0, $Seed4 = 0, $SeedInit = 0, $SeedInit298 = 0, $Shape_Q14 = 0, $Shape_Q14229 = 0, $Shape_Q14407 = 0, $Tilt_Q14$addr = 0, $Winner_ind = 0, $Xq_Q14 = 0, $Xq_Q14144 = 0, $Xq_Q14153 = 0, $Xq_Q14166 = 0, $Xq_Q14173 = 0, $Xq_Q14182 = 0, $Xq_Q14197 = 0, $Xq_Q14204 = 0, $Xq_Q14213 = 0, $Xq_Q14320 = 0;
- var $Xq_Q14326 = 0, $Xq_Q14334 = 0, $Xq_Q14348 = 0, $Xq_Q14354 = 0, $Xq_Q14362 = 0, $Xq_Q14376 = 0, $Xq_Q14382 = 0, $Xq_Q14390 = 0, $add = 0, $add$ptr = 0, $add$ptr273 = 0, $add$ptr275 = 0, $add118 = 0, $add124 = 0, $add133 = 0, $add152 = 0, $add157 = 0, $add160 = 0, $add162 = 0, $add181 = 0;
- var $add186 = 0, $add189 = 0, $add191 = 0, $add212 = 0, $add217 = 0, $add220 = 0, $add222 = 0, $add234 = 0, $add248 = 0, $add301 = 0, $add315 = 0, $add333 = 0, $add337 = 0, $add340 = 0, $add342 = 0, $add361 = 0, $add365 = 0, $add368 = 0, $add370 = 0, $add389 = 0;
- var $add393 = 0, $add396 = 0, $add398 = 0, $add412 = 0, $add45 = 0, $add49 = 0, $and = 0, $and130 = 0, $and146 = 0, $and175 = 0, $and206 = 0, $and311 = 0, $and328 = 0, $and356 = 0, $and384 = 0, $and83 = 0, $arch = 0, $arrayidx = 0, $arrayidx102 = 0, $arrayidx116 = 0;
- var $arrayidx123 = 0, $arrayidx13 = 0, $arrayidx131 = 0, $arrayidx137 = 0, $arrayidx138 = 0, $arrayidx14 = 0, $arrayidx140 = 0, $arrayidx145 = 0, $arrayidx147 = 0, $arrayidx154 = 0, $arrayidx155 = 0, $arrayidx167 = 0, $arrayidx169 = 0, $arrayidx174 = 0, $arrayidx176 = 0, $arrayidx183 = 0, $arrayidx184 = 0, $arrayidx198 = 0, $arrayidx200 = 0, $arrayidx205 = 0;
- var $arrayidx207 = 0, $arrayidx214 = 0, $arrayidx215 = 0, $arrayidx228 = 0, $arrayidx230 = 0, $arrayidx235 = 0, $arrayidx24 = 0, $arrayidx244 = 0, $arrayidx249 = 0, $arrayidx264 = 0, $arrayidx265 = 0, $arrayidx266 = 0, $arrayidx286 = 0, $arrayidx291 = 0, $arrayidx297 = 0, $arrayidx304 = 0, $arrayidx313 = 0, $arrayidx319 = 0, $arrayidx321 = 0, $arrayidx327 = 0;
- var $arrayidx335 = 0, $arrayidx349 = 0, $arrayidx355 = 0, $arrayidx363 = 0, $arrayidx377 = 0, $arrayidx383 = 0, $arrayidx391 = 0, $arrayidx406 = 0, $arrayidx408 = 0, $arrayidx413 = 0, $arrayidx421 = 0, $arrayidx430 = 0, $arrayidx436 = 0, $arrayidx443 = 0, $arrayidx5 = 0, $arrayidx54 = 0, $arrayidx65 = 0, $arrayidx67 = 0, $arrayidx69 = 0, $arrayidx70 = 0;
- var $arrayidx72 = 0, $arrayidx80 = 0, $arrayidx97 = 0, $call = 0, $call27 = 0, $call36 = 0, $cmp = 0, $cmp110 = 0, $cmp113 = 0, $cmp126 = 0, $cmp164 = 0, $cmp18 = 0, $cmp193 = 0, $cmp21 = 0, $cmp283 = 0, $cmp288 = 0, $cmp307 = 0, $cmp31 = 0, $cmp344 = 0, $cmp372 = 0;
- var $cmp39 = 0, $cmp59 = 0, $cmp77 = 0, $cmp84 = 0, $cmp87 = 0, $cmp94 = 0, $cmp99 = 0, $cond225 = 0, $cond403 = 0, $conv = 0, $conv12 = 0, $conv135 = 0, $conv141 = 0, $conv142 = 0, $conv148 = 0, $conv149 = 0, $conv15 = 0, $conv17 = 0, $conv170 = 0, $conv171 = 0;
- var $conv177 = 0, $conv178 = 0, $conv201 = 0, $conv202 = 0, $conv208 = 0, $conv209 = 0, $conv226 = 0, $conv260 = 0, $conv262 = 0, $conv299 = 0, $conv317 = 0, $conv323 = 0, $conv324 = 0, $conv329 = 0, $conv330 = 0, $conv351 = 0, $conv352 = 0, $conv357 = 0, $conv358 = 0, $conv379 = 0;
- var $conv38 = 0, $conv380 = 0, $conv385 = 0, $conv386 = 0, $conv404 = 0, $conv76 = 0, $decisionDelay = 0, $delayedGain_Q10 = 0, $frame_length = 0, $frame_length435 = 0, $frame_length442 = 0, $frame_length48 = 0, $i = 0, $idxprom = 0, $inc = 0, $inc106 = 0, $inc121 = 0, $inc237 = 0, $inc268 = 0, $inc277 = 0;
- var $inc29 = 0, $inc295 = 0, $inc415 = 0, $k = 0, $lag = 0, $lagPrev = 0, $lagPrev431 = 0, $last_smple_idx = 0, $ltp_mem_length = 0, $ltp_mem_length240 = 0, $ltp_mem_length250 = 0, $ltp_mem_length253 = 0, $ltp_mem_length437 = 0, $ltp_mem_length44 = 0, $ltp_mem_length444 = 0, $ltp_mem_length47 = 0, $ltp_mem_length53 = 0, $ltp_mem_length55 = 0, $ltp_mem_length56 = 0, $mul = 0;
- var $mul143 = 0, $mul150 = 0, $mul159 = 0, $mul172 = 0, $mul179 = 0, $mul188 = 0, $mul203 = 0, $mul210 = 0, $mul219 = 0, $mul247 = 0, $mul325 = 0, $mul331 = 0, $mul339 = 0, $mul353 = 0, $mul359 = 0, $mul367 = 0, $mul381 = 0, $mul387 = 0, $mul395 = 0, $mul438 = 0;
- var $mul445 = 0, $mul64 = 0, $mul66 = 0, $mul68 = 0, $nStatesDelayedDecision = 0, $nStatesDelayedDecision1 = 0, $nStatesDelayedDecision109 = 0, $nStatesDelayedDecision2 = 0, $nStatesDelayedDecision258 = 0, $nStatesDelayedDecision270 = 0, $nStatesDelayedDecision282 = 0, $nStatesDelayedDecision93 = 0, $nb_subfr = 0, $nb_subfr302 = 0, $nb_subfr428 = 0, $nb_subfr58 = 0, $offset_Q10 = 0, $or = 0, $or74 = 0, $pitchL$addr = 0;
- var $predictLPCOrder = 0, $predictLPCOrder252 = 0, $predictLPCOrder269 = 0, $psDD = 0, $psEncC$addr = 0, $psIndices$addr = 0, $pulses$addr = 0, $pxq = 0, $quantOffsetType = 0, $rewhite_flag = 0, $rewhite_flag255 = 0, $sAR2_Q14 = 0, $sAR2_Q1410 = 0, $sAR2_Q14422 = 0, $sAR2_Q14424 = 0, $sLF_AR_shp_Q14 = 0, $sLF_AR_shp_Q14427 = 0, $sLPC_Q14417 = 0, $sLPC_Q147 = 0, $sLTP_buf_idx = 0;
- var $sLTP_buf_idx254 = 0, $sLTP_shp_Q14 = 0, $sLTP_shp_Q14231 = 0, $sLTP_shp_Q14409 = 0, $sLTP_shp_Q14439 = 0, $sLTP_shp_Q14441 = 0, $sLTP_shp_buf_idx = 0, $sLTP_shp_buf_idx232 = 0, $sLTP_shp_buf_idx410 = 0, $saved_stack = 0, $shapingLPCOrder = 0, $shl = 0, $shl81 = 0, $shr = 0, $shr132 = 0, $shr134 = 0, $shr139 = 0, $shr151 = 0, $shr156 = 0, $shr158 = 0;
- var $shr161 = 0, $shr163 = 0, $shr168 = 0, $shr180 = 0, $shr185 = 0, $shr187 = 0, $shr190 = 0, $shr192 = 0, $shr199 = 0, $shr211 = 0, $shr216 = 0, $shr218 = 0, $shr221 = 0, $shr223 = 0, $shr305 = 0, $shr314 = 0, $shr316 = 0, $shr322 = 0, $shr332 = 0, $shr336 = 0;
- var $shr338 = 0, $shr341 = 0, $shr343 = 0, $shr350 = 0, $shr360 = 0, $shr364 = 0, $shr366 = 0, $shr369 = 0, $shr371 = 0, $shr378 = 0, $shr388 = 0, $shr392 = 0, $shr394 = 0, $shr397 = 0, $shr399 = 0, $shr62 = 0, $shr71 = 0, $shr73 = 0, $signalType = 0, $signalType16 = 0;
- var $signalType259 = 0, $signalType261 = 0, $signalType75 = 0, $smpl_buf_idx = 0, $start_idx = 0, $sub = 0, $sub129 = 0, $sub136 = 0, $sub227 = 0, $sub233 = 0, $sub241 = 0, $sub242 = 0, $sub243 = 0, $sub25 = 0, $sub251 = 0, $sub26 = 0, $sub303 = 0, $sub310 = 0, $sub318 = 0, $sub34 = 0;
- var $sub35 = 0, $sub405 = 0, $sub411 = 0, $sub429 = 0, $sub63 = 0, $sub82 = 0, $subfr = 0, $subfr_length = 0, $subfr_length246 = 0, $subfr_length267 = 0, $subfr_length271 = 0, $subfr_length272 = 0, $subfr_length274 = 0, $subfr_length420 = 0, $subfr_length51 = 0, $vla = 0, $vla$alloca_mul = 0, $vla46 = 0, $vla46$alloca_mul = 0, $vla50 = 0;
- var $vla50$alloca_mul = 0, $vla52 = 0, $vla52$alloca_mul = 0, $warping_Q16 = 0, $x_Q3$addr = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 272|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(272|0);
- $smpl_buf_idx = sp + 172|0;
- $delayedGain_Q10 = sp;
- $psEncC$addr = $psEncC;
- $NSQ$addr = $NSQ;
- $psIndices$addr = $psIndices;
- $x_Q3$addr = $x_Q3;
- $pulses$addr = $pulses;
- $PredCoef_Q12$addr = $PredCoef_Q12;
- $LTPCoef_Q14$addr = $LTPCoef_Q14;
- $AR2_Q13$addr = $AR2_Q13;
- $HarmShapeGain_Q14$addr = $HarmShapeGain_Q14;
- $Tilt_Q14$addr = $Tilt_Q14;
- $LF_shp_Q14$addr = $LF_shp_Q14;
- $Gains_Q16$addr = $Gains_Q16;
- $pitchL$addr = $pitchL;
- $Lambda_Q10$addr = $Lambda_Q10;
- $LTP_scale_Q14$addr = $LTP_scale_Q14;
- $0 = $NSQ$addr;
- $lagPrev = ((($0)) + 4356|0);
- $1 = HEAP32[$lagPrev>>2]|0;
- $lag = $1;
- $2 = $psEncC$addr;
- $nStatesDelayedDecision = ((($2)) + 4652|0);
- $3 = HEAP32[$nStatesDelayedDecision>>2]|0;
- $4 = (_llvm_stacksave()|0);
- $saved_stack = $4;
- $vla$alloca_mul = ($3*1168)|0;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $5 = $psEncC$addr;
- $nStatesDelayedDecision1 = ((($5)) + 4652|0);
- $6 = HEAP32[$nStatesDelayedDecision1>>2]|0;
- $mul = ($6*1168)|0;
- _memset(($vla|0),0,($mul|0))|0;
- $k = 0;
- while(1) {
- $7 = $k;
- $8 = $psEncC$addr;
- $nStatesDelayedDecision2 = ((($8)) + 4652|0);
- $9 = HEAP32[$nStatesDelayedDecision2>>2]|0;
- $cmp = ($7|0)<($9|0);
- if (!($cmp)) {
- break;
- }
- $10 = $k;
- $arrayidx = (($vla) + (($10*1168)|0)|0);
- $psDD = $arrayidx;
- $11 = $k;
- $12 = $psIndices$addr;
- $Seed = ((($12)) + 34|0);
- $13 = HEAP8[$Seed>>0]|0;
- $conv = $13 << 24 >> 24;
- $add = (($11) + ($conv))|0;
- $and = $add & 3;
- $14 = $psDD;
- $Seed3 = ((($14)) + 1156|0);
- HEAP32[$Seed3>>2] = $and;
- $15 = $psDD;
- $Seed4 = ((($15)) + 1156|0);
- $16 = HEAP32[$Seed4>>2]|0;
- $17 = $psDD;
- $SeedInit = ((($17)) + 1160|0);
- HEAP32[$SeedInit>>2] = $16;
- $18 = $psDD;
- $RD_Q10 = ((($18)) + 1164|0);
- HEAP32[$RD_Q10>>2] = 0;
- $19 = $NSQ$addr;
- $sLF_AR_shp_Q14 = ((($19)) + 4352|0);
- $20 = HEAP32[$sLF_AR_shp_Q14>>2]|0;
- $21 = $psDD;
- $LF_AR_Q14 = ((($21)) + 1152|0);
- HEAP32[$LF_AR_Q14>>2] = $20;
- $22 = $NSQ$addr;
- $sLTP_shp_Q14 = ((($22)) + 1280|0);
- $23 = $psEncC$addr;
- $ltp_mem_length = ((($23)) + 4616|0);
- $24 = HEAP32[$ltp_mem_length>>2]|0;
- $sub = (($24) - 1)|0;
- $arrayidx5 = (($sLTP_shp_Q14) + ($sub<<2)|0);
- $25 = HEAP32[$arrayidx5>>2]|0;
- $26 = $psDD;
- $Shape_Q14 = ((($26)) + 960|0);
- HEAP32[$Shape_Q14>>2] = $25;
- $27 = $psDD;
- $28 = $NSQ$addr;
- $sLPC_Q147 = ((($28)) + 3840|0);
- dest=$27; src=$sLPC_Q147; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $29 = $psDD;
- $sAR2_Q14 = ((($29)) + 1088|0);
- $30 = $NSQ$addr;
- $sAR2_Q1410 = ((($30)) + 4288|0);
- dest=$sAR2_Q14; src=$sAR2_Q1410; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $31 = $k;
- $inc = (($31) + 1)|0;
- $k = $inc;
- }
- $32 = $psIndices$addr;
- $signalType = ((($32)) + 29|0);
- $33 = HEAP8[$signalType>>0]|0;
- $conv12 = $33 << 24 >> 24;
- $shr = $conv12 >> 1;
- $arrayidx13 = (24998 + ($shr<<2)|0);
- $34 = $psIndices$addr;
- $quantOffsetType = ((($34)) + 30|0);
- $35 = HEAP8[$quantOffsetType>>0]|0;
- $idxprom = $35 << 24 >> 24;
- $arrayidx14 = (($arrayidx13) + ($idxprom<<1)|0);
- $36 = HEAP16[$arrayidx14>>1]|0;
- $conv15 = $36 << 16 >> 16;
- $offset_Q10 = $conv15;
- HEAP32[$smpl_buf_idx>>2] = 0;
- $37 = $psEncC$addr;
- $subfr_length = ((($37)) + 4612|0);
- $38 = HEAP32[$subfr_length>>2]|0;
- $call = (_silk_min_int_423(32,$38)|0);
- $decisionDelay = $call;
- $39 = $psIndices$addr;
- $signalType16 = ((($39)) + 29|0);
- $40 = HEAP8[$signalType16>>0]|0;
- $conv17 = $40 << 24 >> 24;
- $cmp18 = ($conv17|0)==(2);
- L5: do {
- if ($cmp18) {
- $k = 0;
- while(1) {
- $41 = $k;
- $42 = $psEncC$addr;
- $nb_subfr = ((($42)) + 4604|0);
- $43 = HEAP32[$nb_subfr>>2]|0;
- $cmp21 = ($41|0)<($43|0);
- if (!($cmp21)) {
- break L5;
- }
- $44 = $decisionDelay;
- $45 = $pitchL$addr;
- $46 = $k;
- $arrayidx24 = (($45) + ($46<<2)|0);
- $47 = HEAP32[$arrayidx24>>2]|0;
- $sub25 = (($47) - 2)|0;
- $sub26 = (($sub25) - 1)|0;
- $call27 = (_silk_min_int_423($44,$sub26)|0);
- $decisionDelay = $call27;
- $48 = $k;
- $inc29 = (($48) + 1)|0;
- $k = $inc29;
- }
- } else {
- $49 = $lag;
- $cmp31 = ($49|0)>(0);
- if ($cmp31) {
- $50 = $decisionDelay;
- $51 = $lag;
- $sub34 = (($51) - 2)|0;
- $sub35 = (($sub34) - 1)|0;
- $call36 = (_silk_min_int_423($50,$sub35)|0);
- $decisionDelay = $call36;
- }
- }
- } while(0);
- $52 = $psIndices$addr;
- $NLSFInterpCoef_Q2 = ((($52)) + 31|0);
- $53 = HEAP8[$NLSFInterpCoef_Q2>>0]|0;
- $conv38 = $53 << 24 >> 24;
- $cmp39 = ($conv38|0)==(4);
- if ($cmp39) {
- $LSF_interpolation_flag = 0;
- } else {
- $LSF_interpolation_flag = 1;
- }
- $54 = $psEncC$addr;
- $ltp_mem_length44 = ((($54)) + 4616|0);
- $55 = HEAP32[$ltp_mem_length44>>2]|0;
- $56 = $psEncC$addr;
- $frame_length = ((($56)) + 4608|0);
- $57 = HEAP32[$frame_length>>2]|0;
- $add45 = (($55) + ($57))|0;
- $vla46$alloca_mul = $add45<<2;
- $vla46 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla46$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla46$alloca_mul)|0)+15)&-16)|0);;
- $58 = $psEncC$addr;
- $ltp_mem_length47 = ((($58)) + 4616|0);
- $59 = HEAP32[$ltp_mem_length47>>2]|0;
- $60 = $psEncC$addr;
- $frame_length48 = ((($60)) + 4608|0);
- $61 = HEAP32[$frame_length48>>2]|0;
- $add49 = (($59) + ($61))|0;
- $vla50$alloca_mul = $add49<<1;
- $vla50 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla50$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla50$alloca_mul)|0)+15)&-16)|0);;
- $62 = $psEncC$addr;
- $subfr_length51 = ((($62)) + 4612|0);
- $63 = HEAP32[$subfr_length51>>2]|0;
- $vla52$alloca_mul = $63<<2;
- $vla52 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla52$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla52$alloca_mul)|0)+15)&-16)|0);;
- $64 = $NSQ$addr;
- $65 = $psEncC$addr;
- $ltp_mem_length53 = ((($65)) + 4616|0);
- $66 = HEAP32[$ltp_mem_length53>>2]|0;
- $arrayidx54 = (($64) + ($66<<1)|0);
- $pxq = $arrayidx54;
- $67 = $psEncC$addr;
- $ltp_mem_length55 = ((($67)) + 4616|0);
- $68 = HEAP32[$ltp_mem_length55>>2]|0;
- $69 = $NSQ$addr;
- $sLTP_shp_buf_idx = ((($69)) + 4364|0);
- HEAP32[$sLTP_shp_buf_idx>>2] = $68;
- $70 = $psEncC$addr;
- $ltp_mem_length56 = ((($70)) + 4616|0);
- $71 = HEAP32[$ltp_mem_length56>>2]|0;
- $72 = $NSQ$addr;
- $sLTP_buf_idx = ((($72)) + 4360|0);
- HEAP32[$sLTP_buf_idx>>2] = $71;
- $subfr = 0;
- $k = 0;
- while(1) {
- $73 = $k;
- $74 = $psEncC$addr;
- $nb_subfr58 = ((($74)) + 4604|0);
- $75 = HEAP32[$nb_subfr58>>2]|0;
- $cmp59 = ($73|0)<($75|0);
- if (!($cmp59)) {
- break;
- }
- $76 = $PredCoef_Q12$addr;
- $77 = $k;
- $shr62 = $77 >> 1;
- $78 = $LSF_interpolation_flag;
- $sub63 = (1 - ($78))|0;
- $or = $shr62 | $sub63;
- $mul64 = $or<<4;
- $arrayidx65 = (($76) + ($mul64<<1)|0);
- $A_Q12 = $arrayidx65;
- $79 = $LTPCoef_Q14$addr;
- $80 = $k;
- $mul66 = ($80*5)|0;
- $arrayidx67 = (($79) + ($mul66<<1)|0);
- $B_Q14 = $arrayidx67;
- $81 = $AR2_Q13$addr;
- $82 = $k;
- $mul68 = $82<<4;
- $arrayidx69 = (($81) + ($mul68<<1)|0);
- $AR_shp_Q13 = $arrayidx69;
- $83 = $HarmShapeGain_Q14$addr;
- $84 = $k;
- $arrayidx70 = (($83) + ($84<<2)|0);
- $85 = HEAP32[$arrayidx70>>2]|0;
- $shr71 = $85 >> 2;
- $HarmShapeFIRPacked_Q14 = $shr71;
- $86 = $HarmShapeGain_Q14$addr;
- $87 = $k;
- $arrayidx72 = (($86) + ($87<<2)|0);
- $88 = HEAP32[$arrayidx72>>2]|0;
- $shr73 = $88 >> 1;
- $shl = $shr73 << 16;
- $89 = $HarmShapeFIRPacked_Q14;
- $or74 = $89 | $shl;
- $HarmShapeFIRPacked_Q14 = $or74;
- $90 = $NSQ$addr;
- $rewhite_flag = ((($90)) + 4376|0);
- HEAP32[$rewhite_flag>>2] = 0;
- $91 = $psIndices$addr;
- $signalType75 = ((($91)) + 29|0);
- $92 = HEAP8[$signalType75>>0]|0;
- $conv76 = $92 << 24 >> 24;
- $cmp77 = ($conv76|0)==(2);
- if ($cmp77) {
- $93 = $pitchL$addr;
- $94 = $k;
- $arrayidx80 = (($93) + ($94<<2)|0);
- $95 = HEAP32[$arrayidx80>>2]|0;
- $lag = $95;
- $96 = $k;
- $97 = $LSF_interpolation_flag;
- $shl81 = $97 << 1;
- $sub82 = (3 - ($shl81))|0;
- $and83 = $96 & $sub82;
- $cmp84 = ($and83|0)==(0);
- if ($cmp84) {
- $98 = $k;
- $cmp87 = ($98|0)==(2);
- if ($cmp87) {
- $RD_Q1091 = ((($vla)) + 1164|0);
- $99 = HEAP32[$RD_Q1091>>2]|0;
- $RDmin_Q10 = $99;
- $Winner_ind = 0;
- $i = 1;
- while(1) {
- $100 = $i;
- $101 = $psEncC$addr;
- $nStatesDelayedDecision93 = ((($101)) + 4652|0);
- $102 = HEAP32[$nStatesDelayedDecision93>>2]|0;
- $cmp94 = ($100|0)<($102|0);
- if (!($cmp94)) {
- break;
- }
- $103 = $i;
- $arrayidx97 = (($vla) + (($103*1168)|0)|0);
- $RD_Q1098 = ((($arrayidx97)) + 1164|0);
- $104 = HEAP32[$RD_Q1098>>2]|0;
- $105 = $RDmin_Q10;
- $cmp99 = ($104|0)<($105|0);
- if ($cmp99) {
- $106 = $i;
- $arrayidx102 = (($vla) + (($106*1168)|0)|0);
- $RD_Q10103 = ((($arrayidx102)) + 1164|0);
- $107 = HEAP32[$RD_Q10103>>2]|0;
- $RDmin_Q10 = $107;
- $108 = $i;
- $Winner_ind = $108;
- }
- $109 = $i;
- $inc106 = (($109) + 1)|0;
- $i = $inc106;
- }
- $i = 0;
- while(1) {
- $110 = $i;
- $111 = $psEncC$addr;
- $nStatesDelayedDecision109 = ((($111)) + 4652|0);
- $112 = HEAP32[$nStatesDelayedDecision109>>2]|0;
- $cmp110 = ($110|0)<($112|0);
- if (!($cmp110)) {
- break;
- }
- $113 = $i;
- $114 = $Winner_ind;
- $cmp113 = ($113|0)!=($114|0);
- if ($cmp113) {
- $115 = $i;
- $arrayidx116 = (($vla) + (($115*1168)|0)|0);
- $RD_Q10117 = ((($arrayidx116)) + 1164|0);
- $116 = HEAP32[$RD_Q10117>>2]|0;
- $add118 = (($116) + 134217727)|0;
- HEAP32[$RD_Q10117>>2] = $add118;
- }
- $117 = $i;
- $inc121 = (($117) + 1)|0;
- $i = $inc121;
- }
- $118 = $Winner_ind;
- $arrayidx123 = (($vla) + (($118*1168)|0)|0);
- $psDD = $arrayidx123;
- $119 = HEAP32[$smpl_buf_idx>>2]|0;
- $120 = $decisionDelay;
- $add124 = (($119) + ($120))|0;
- $last_smple_idx = $add124;
- $i = 0;
- while(1) {
- $121 = $i;
- $122 = $decisionDelay;
- $cmp126 = ($121|0)<($122|0);
- if (!($cmp126)) {
- break;
- }
- $123 = $last_smple_idx;
- $sub129 = (($123) - 1)|0;
- $and130 = $sub129 & 31;
- $last_smple_idx = $and130;
- $124 = $psDD;
- $Q_Q10 = ((($124)) + 576|0);
- $125 = $last_smple_idx;
- $arrayidx131 = (($Q_Q10) + ($125<<2)|0);
- $126 = HEAP32[$arrayidx131>>2]|0;
- $shr132 = $126 >> 9;
- $add133 = (($shr132) + 1)|0;
- $shr134 = $add133 >> 1;
- $conv135 = $shr134&255;
- $127 = $pulses$addr;
- $128 = $i;
- $129 = $decisionDelay;
- $sub136 = (($128) - ($129))|0;
- $arrayidx137 = (($127) + ($sub136)|0);
- HEAP8[$arrayidx137>>0] = $conv135;
- $130 = $psDD;
- $Xq_Q14 = ((($130)) + 704|0);
- $131 = $last_smple_idx;
- $arrayidx138 = (($Xq_Q14) + ($131<<2)|0);
- $132 = HEAP32[$arrayidx138>>2]|0;
- $shr139 = $132 >> 16;
- $133 = $Gains_Q16$addr;
- $arrayidx140 = ((($133)) + 4|0);
- $134 = HEAP32[$arrayidx140>>2]|0;
- $conv141 = $134&65535;
- $conv142 = $conv141 << 16 >> 16;
- $mul143 = Math_imul($shr139, $conv142)|0;
- $135 = $psDD;
- $Xq_Q14144 = ((($135)) + 704|0);
- $136 = $last_smple_idx;
- $arrayidx145 = (($Xq_Q14144) + ($136<<2)|0);
- $137 = HEAP32[$arrayidx145>>2]|0;
- $and146 = $137 & 65535;
- $138 = $Gains_Q16$addr;
- $arrayidx147 = ((($138)) + 4|0);
- $139 = HEAP32[$arrayidx147>>2]|0;
- $conv148 = $139&65535;
- $conv149 = $conv148 << 16 >> 16;
- $mul150 = Math_imul($and146, $conv149)|0;
- $shr151 = $mul150 >> 16;
- $add152 = (($mul143) + ($shr151))|0;
- $140 = $psDD;
- $Xq_Q14153 = ((($140)) + 704|0);
- $141 = $last_smple_idx;
- $arrayidx154 = (($Xq_Q14153) + ($141<<2)|0);
- $142 = HEAP32[$arrayidx154>>2]|0;
- $143 = $Gains_Q16$addr;
- $arrayidx155 = ((($143)) + 4|0);
- $144 = HEAP32[$arrayidx155>>2]|0;
- $shr156 = $144 >> 15;
- $add157 = (($shr156) + 1)|0;
- $shr158 = $add157 >> 1;
- $mul159 = Math_imul($142, $shr158)|0;
- $add160 = (($add152) + ($mul159))|0;
- $shr161 = $add160 >> 13;
- $add162 = (($shr161) + 1)|0;
- $shr163 = $add162 >> 1;
- $cmp164 = ($shr163|0)>(32767);
- if ($cmp164) {
- $cond225 = 32767;
- } else {
- $145 = $psDD;
- $Xq_Q14166 = ((($145)) + 704|0);
- $146 = $last_smple_idx;
- $arrayidx167 = (($Xq_Q14166) + ($146<<2)|0);
- $147 = HEAP32[$arrayidx167>>2]|0;
- $shr168 = $147 >> 16;
- $148 = $Gains_Q16$addr;
- $arrayidx169 = ((($148)) + 4|0);
- $149 = HEAP32[$arrayidx169>>2]|0;
- $conv170 = $149&65535;
- $conv171 = $conv170 << 16 >> 16;
- $mul172 = Math_imul($shr168, $conv171)|0;
- $150 = $psDD;
- $Xq_Q14173 = ((($150)) + 704|0);
- $151 = $last_smple_idx;
- $arrayidx174 = (($Xq_Q14173) + ($151<<2)|0);
- $152 = HEAP32[$arrayidx174>>2]|0;
- $and175 = $152 & 65535;
- $153 = $Gains_Q16$addr;
- $arrayidx176 = ((($153)) + 4|0);
- $154 = HEAP32[$arrayidx176>>2]|0;
- $conv177 = $154&65535;
- $conv178 = $conv177 << 16 >> 16;
- $mul179 = Math_imul($and175, $conv178)|0;
- $shr180 = $mul179 >> 16;
- $add181 = (($mul172) + ($shr180))|0;
- $155 = $psDD;
- $Xq_Q14182 = ((($155)) + 704|0);
- $156 = $last_smple_idx;
- $arrayidx183 = (($Xq_Q14182) + ($156<<2)|0);
- $157 = HEAP32[$arrayidx183>>2]|0;
- $158 = $Gains_Q16$addr;
- $arrayidx184 = ((($158)) + 4|0);
- $159 = HEAP32[$arrayidx184>>2]|0;
- $shr185 = $159 >> 15;
- $add186 = (($shr185) + 1)|0;
- $shr187 = $add186 >> 1;
- $mul188 = Math_imul($157, $shr187)|0;
- $add189 = (($add181) + ($mul188))|0;
- $shr190 = $add189 >> 13;
- $add191 = (($shr190) + 1)|0;
- $shr192 = $add191 >> 1;
- $cmp193 = ($shr192|0)<(-32768);
- if ($cmp193) {
- $cond225 = -32768;
- } else {
- $160 = $psDD;
- $Xq_Q14197 = ((($160)) + 704|0);
- $161 = $last_smple_idx;
- $arrayidx198 = (($Xq_Q14197) + ($161<<2)|0);
- $162 = HEAP32[$arrayidx198>>2]|0;
- $shr199 = $162 >> 16;
- $163 = $Gains_Q16$addr;
- $arrayidx200 = ((($163)) + 4|0);
- $164 = HEAP32[$arrayidx200>>2]|0;
- $conv201 = $164&65535;
- $conv202 = $conv201 << 16 >> 16;
- $mul203 = Math_imul($shr199, $conv202)|0;
- $165 = $psDD;
- $Xq_Q14204 = ((($165)) + 704|0);
- $166 = $last_smple_idx;
- $arrayidx205 = (($Xq_Q14204) + ($166<<2)|0);
- $167 = HEAP32[$arrayidx205>>2]|0;
- $and206 = $167 & 65535;
- $168 = $Gains_Q16$addr;
- $arrayidx207 = ((($168)) + 4|0);
- $169 = HEAP32[$arrayidx207>>2]|0;
- $conv208 = $169&65535;
- $conv209 = $conv208 << 16 >> 16;
- $mul210 = Math_imul($and206, $conv209)|0;
- $shr211 = $mul210 >> 16;
- $add212 = (($mul203) + ($shr211))|0;
- $170 = $psDD;
- $Xq_Q14213 = ((($170)) + 704|0);
- $171 = $last_smple_idx;
- $arrayidx214 = (($Xq_Q14213) + ($171<<2)|0);
- $172 = HEAP32[$arrayidx214>>2]|0;
- $173 = $Gains_Q16$addr;
- $arrayidx215 = ((($173)) + 4|0);
- $174 = HEAP32[$arrayidx215>>2]|0;
- $shr216 = $174 >> 15;
- $add217 = (($shr216) + 1)|0;
- $shr218 = $add217 >> 1;
- $mul219 = Math_imul($172, $shr218)|0;
- $add220 = (($add212) + ($mul219))|0;
- $shr221 = $add220 >> 13;
- $add222 = (($shr221) + 1)|0;
- $shr223 = $add222 >> 1;
- $cond225 = $shr223;
- }
- }
- $conv226 = $cond225&65535;
- $175 = $pxq;
- $176 = $i;
- $177 = $decisionDelay;
- $sub227 = (($176) - ($177))|0;
- $arrayidx228 = (($175) + ($sub227<<1)|0);
- HEAP16[$arrayidx228>>1] = $conv226;
- $178 = $psDD;
- $Shape_Q14229 = ((($178)) + 960|0);
- $179 = $last_smple_idx;
- $arrayidx230 = (($Shape_Q14229) + ($179<<2)|0);
- $180 = HEAP32[$arrayidx230>>2]|0;
- $181 = $NSQ$addr;
- $sLTP_shp_Q14231 = ((($181)) + 1280|0);
- $182 = $NSQ$addr;
- $sLTP_shp_buf_idx232 = ((($182)) + 4364|0);
- $183 = HEAP32[$sLTP_shp_buf_idx232>>2]|0;
- $184 = $decisionDelay;
- $sub233 = (($183) - ($184))|0;
- $185 = $i;
- $add234 = (($sub233) + ($185))|0;
- $arrayidx235 = (($sLTP_shp_Q14231) + ($add234<<2)|0);
- HEAP32[$arrayidx235>>2] = $180;
- $186 = $i;
- $inc237 = (($186) + 1)|0;
- $i = $inc237;
- }
- $subfr = 0;
- }
- $187 = $psEncC$addr;
- $ltp_mem_length240 = ((($187)) + 4616|0);
- $188 = HEAP32[$ltp_mem_length240>>2]|0;
- $189 = $lag;
- $sub241 = (($188) - ($189))|0;
- $190 = $psEncC$addr;
- $predictLPCOrder = ((($190)) + 4664|0);
- $191 = HEAP32[$predictLPCOrder>>2]|0;
- $sub242 = (($sub241) - ($191))|0;
- $sub243 = (($sub242) - 2)|0;
- $start_idx = $sub243;
- $192 = $start_idx;
- $arrayidx244 = (($vla50) + ($192<<1)|0);
- $193 = $NSQ$addr;
- $194 = $start_idx;
- $195 = $k;
- $196 = $psEncC$addr;
- $subfr_length246 = ((($196)) + 4612|0);
- $197 = HEAP32[$subfr_length246>>2]|0;
- $mul247 = Math_imul($195, $197)|0;
- $add248 = (($194) + ($mul247))|0;
- $arrayidx249 = (($193) + ($add248<<1)|0);
- $198 = $A_Q12;
- $199 = $psEncC$addr;
- $ltp_mem_length250 = ((($199)) + 4616|0);
- $200 = HEAP32[$ltp_mem_length250>>2]|0;
- $201 = $start_idx;
- $sub251 = (($200) - ($201))|0;
- $202 = $psEncC$addr;
- $predictLPCOrder252 = ((($202)) + 4664|0);
- $203 = HEAP32[$predictLPCOrder252>>2]|0;
- $204 = $psEncC$addr;
- $arch = ((($204)) + 5124|0);
- $205 = HEAP32[$arch>>2]|0;
- _silk_LPC_analysis_filter($arrayidx244,$arrayidx249,$198,$sub251,$203,$205);
- $206 = $psEncC$addr;
- $ltp_mem_length253 = ((($206)) + 4616|0);
- $207 = HEAP32[$ltp_mem_length253>>2]|0;
- $208 = $NSQ$addr;
- $sLTP_buf_idx254 = ((($208)) + 4360|0);
- HEAP32[$sLTP_buf_idx254>>2] = $207;
- $209 = $NSQ$addr;
- $rewhite_flag255 = ((($209)) + 4376|0);
- HEAP32[$rewhite_flag255>>2] = 1;
- }
- }
- $210 = $psEncC$addr;
- $211 = $NSQ$addr;
- $212 = $x_Q3$addr;
- $213 = $k;
- $214 = $psEncC$addr;
- $nStatesDelayedDecision258 = ((($214)) + 4652|0);
- $215 = HEAP32[$nStatesDelayedDecision258>>2]|0;
- $216 = $LTP_scale_Q14$addr;
- $217 = $Gains_Q16$addr;
- $218 = $pitchL$addr;
- $219 = $psIndices$addr;
- $signalType259 = ((($219)) + 29|0);
- $220 = HEAP8[$signalType259>>0]|0;
- $conv260 = $220 << 24 >> 24;
- $221 = $decisionDelay;
- _silk_nsq_del_dec_scale_states($210,$211,$vla,$212,$vla52,$vla50,$vla46,$213,$215,$216,$217,$218,$conv260,$221);
- $222 = $NSQ$addr;
- $223 = $psIndices$addr;
- $signalType261 = ((($223)) + 29|0);
- $224 = HEAP8[$signalType261>>0]|0;
- $conv262 = $224 << 24 >> 24;
- $225 = $pulses$addr;
- $226 = $pxq;
- $227 = $A_Q12;
- $228 = $B_Q14;
- $229 = $AR_shp_Q13;
- $230 = $lag;
- $231 = $HarmShapeFIRPacked_Q14;
- $232 = $Tilt_Q14$addr;
- $233 = $k;
- $arrayidx264 = (($232) + ($233<<2)|0);
- $234 = HEAP32[$arrayidx264>>2]|0;
- $235 = $LF_shp_Q14$addr;
- $236 = $k;
- $arrayidx265 = (($235) + ($236<<2)|0);
- $237 = HEAP32[$arrayidx265>>2]|0;
- $238 = $Gains_Q16$addr;
- $239 = $k;
- $arrayidx266 = (($238) + ($239<<2)|0);
- $240 = HEAP32[$arrayidx266>>2]|0;
- $241 = $Lambda_Q10$addr;
- $242 = $offset_Q10;
- $243 = $psEncC$addr;
- $subfr_length267 = ((($243)) + 4612|0);
- $244 = HEAP32[$subfr_length267>>2]|0;
- $245 = $subfr;
- $inc268 = (($245) + 1)|0;
- $subfr = $inc268;
- $246 = $psEncC$addr;
- $shapingLPCOrder = ((($246)) + 4660|0);
- $247 = HEAP32[$shapingLPCOrder>>2]|0;
- $248 = $psEncC$addr;
- $predictLPCOrder269 = ((($248)) + 4664|0);
- $249 = HEAP32[$predictLPCOrder269>>2]|0;
- $250 = $psEncC$addr;
- $warping_Q16 = ((($250)) + 4704|0);
- $251 = HEAP32[$warping_Q16>>2]|0;
- $252 = $psEncC$addr;
- $nStatesDelayedDecision270 = ((($252)) + 4652|0);
- $253 = HEAP32[$nStatesDelayedDecision270>>2]|0;
- $254 = $decisionDelay;
- _silk_noise_shape_quantizer_del_dec($222,$vla,$conv262,$vla52,$225,$226,$vla46,$delayedGain_Q10,$227,$228,$229,$230,$231,$234,$237,$240,$241,$242,$244,$245,$247,$249,$251,$253,$smpl_buf_idx,$254);
- $255 = $psEncC$addr;
- $subfr_length271 = ((($255)) + 4612|0);
- $256 = HEAP32[$subfr_length271>>2]|0;
- $257 = $x_Q3$addr;
- $add$ptr = (($257) + ($256<<2)|0);
- $x_Q3$addr = $add$ptr;
- $258 = $psEncC$addr;
- $subfr_length272 = ((($258)) + 4612|0);
- $259 = HEAP32[$subfr_length272>>2]|0;
- $260 = $pulses$addr;
- $add$ptr273 = (($260) + ($259)|0);
- $pulses$addr = $add$ptr273;
- $261 = $psEncC$addr;
- $subfr_length274 = ((($261)) + 4612|0);
- $262 = HEAP32[$subfr_length274>>2]|0;
- $263 = $pxq;
- $add$ptr275 = (($263) + ($262<<1)|0);
- $pxq = $add$ptr275;
- $264 = $k;
- $inc277 = (($264) + 1)|0;
- $k = $inc277;
- }
- $RD_Q10280 = ((($vla)) + 1164|0);
- $265 = HEAP32[$RD_Q10280>>2]|0;
- $RDmin_Q10 = $265;
- $Winner_ind = 0;
- $k = 1;
- while(1) {
- $266 = $k;
- $267 = $psEncC$addr;
- $nStatesDelayedDecision282 = ((($267)) + 4652|0);
- $268 = HEAP32[$nStatesDelayedDecision282>>2]|0;
- $cmp283 = ($266|0)<($268|0);
- if (!($cmp283)) {
- break;
- }
- $269 = $k;
- $arrayidx286 = (($vla) + (($269*1168)|0)|0);
- $RD_Q10287 = ((($arrayidx286)) + 1164|0);
- $270 = HEAP32[$RD_Q10287>>2]|0;
- $271 = $RDmin_Q10;
- $cmp288 = ($270|0)<($271|0);
- if ($cmp288) {
- $272 = $k;
- $arrayidx291 = (($vla) + (($272*1168)|0)|0);
- $RD_Q10292 = ((($arrayidx291)) + 1164|0);
- $273 = HEAP32[$RD_Q10292>>2]|0;
- $RDmin_Q10 = $273;
- $274 = $k;
- $Winner_ind = $274;
- }
- $275 = $k;
- $inc295 = (($275) + 1)|0;
- $k = $inc295;
- }
- $276 = $Winner_ind;
- $arrayidx297 = (($vla) + (($276*1168)|0)|0);
- $psDD = $arrayidx297;
- $277 = $psDD;
- $SeedInit298 = ((($277)) + 1160|0);
- $278 = HEAP32[$SeedInit298>>2]|0;
- $conv299 = $278&255;
- $279 = $psIndices$addr;
- $Seed300 = ((($279)) + 34|0);
- HEAP8[$Seed300>>0] = $conv299;
- $280 = HEAP32[$smpl_buf_idx>>2]|0;
- $281 = $decisionDelay;
- $add301 = (($280) + ($281))|0;
- $last_smple_idx = $add301;
- $282 = $Gains_Q16$addr;
- $283 = $psEncC$addr;
- $nb_subfr302 = ((($283)) + 4604|0);
- $284 = HEAP32[$nb_subfr302>>2]|0;
- $sub303 = (($284) - 1)|0;
- $arrayidx304 = (($282) + ($sub303<<2)|0);
- $285 = HEAP32[$arrayidx304>>2]|0;
- $shr305 = $285 >> 6;
- $Gain_Q10 = $shr305;
- $i = 0;
- while(1) {
- $286 = $i;
- $287 = $decisionDelay;
- $cmp307 = ($286|0)<($287|0);
- if (!($cmp307)) {
- break;
- }
- $288 = $last_smple_idx;
- $sub310 = (($288) - 1)|0;
- $and311 = $sub310 & 31;
- $last_smple_idx = $and311;
- $289 = $psDD;
- $Q_Q10312 = ((($289)) + 576|0);
- $290 = $last_smple_idx;
- $arrayidx313 = (($Q_Q10312) + ($290<<2)|0);
- $291 = HEAP32[$arrayidx313>>2]|0;
- $shr314 = $291 >> 9;
- $add315 = (($shr314) + 1)|0;
- $shr316 = $add315 >> 1;
- $conv317 = $shr316&255;
- $292 = $pulses$addr;
- $293 = $i;
- $294 = $decisionDelay;
- $sub318 = (($293) - ($294))|0;
- $arrayidx319 = (($292) + ($sub318)|0);
- HEAP8[$arrayidx319>>0] = $conv317;
- $295 = $psDD;
- $Xq_Q14320 = ((($295)) + 704|0);
- $296 = $last_smple_idx;
- $arrayidx321 = (($Xq_Q14320) + ($296<<2)|0);
- $297 = HEAP32[$arrayidx321>>2]|0;
- $shr322 = $297 >> 16;
- $298 = $Gain_Q10;
- $conv323 = $298&65535;
- $conv324 = $conv323 << 16 >> 16;
- $mul325 = Math_imul($shr322, $conv324)|0;
- $299 = $psDD;
- $Xq_Q14326 = ((($299)) + 704|0);
- $300 = $last_smple_idx;
- $arrayidx327 = (($Xq_Q14326) + ($300<<2)|0);
- $301 = HEAP32[$arrayidx327>>2]|0;
- $and328 = $301 & 65535;
- $302 = $Gain_Q10;
- $conv329 = $302&65535;
- $conv330 = $conv329 << 16 >> 16;
- $mul331 = Math_imul($and328, $conv330)|0;
- $shr332 = $mul331 >> 16;
- $add333 = (($mul325) + ($shr332))|0;
- $303 = $psDD;
- $Xq_Q14334 = ((($303)) + 704|0);
- $304 = $last_smple_idx;
- $arrayidx335 = (($Xq_Q14334) + ($304<<2)|0);
- $305 = HEAP32[$arrayidx335>>2]|0;
- $306 = $Gain_Q10;
- $shr336 = $306 >> 15;
- $add337 = (($shr336) + 1)|0;
- $shr338 = $add337 >> 1;
- $mul339 = Math_imul($305, $shr338)|0;
- $add340 = (($add333) + ($mul339))|0;
- $shr341 = $add340 >> 7;
- $add342 = (($shr341) + 1)|0;
- $shr343 = $add342 >> 1;
- $cmp344 = ($shr343|0)>(32767);
- if ($cmp344) {
- $cond403 = 32767;
- } else {
- $307 = $psDD;
- $Xq_Q14348 = ((($307)) + 704|0);
- $308 = $last_smple_idx;
- $arrayidx349 = (($Xq_Q14348) + ($308<<2)|0);
- $309 = HEAP32[$arrayidx349>>2]|0;
- $shr350 = $309 >> 16;
- $310 = $Gain_Q10;
- $conv351 = $310&65535;
- $conv352 = $conv351 << 16 >> 16;
- $mul353 = Math_imul($shr350, $conv352)|0;
- $311 = $psDD;
- $Xq_Q14354 = ((($311)) + 704|0);
- $312 = $last_smple_idx;
- $arrayidx355 = (($Xq_Q14354) + ($312<<2)|0);
- $313 = HEAP32[$arrayidx355>>2]|0;
- $and356 = $313 & 65535;
- $314 = $Gain_Q10;
- $conv357 = $314&65535;
- $conv358 = $conv357 << 16 >> 16;
- $mul359 = Math_imul($and356, $conv358)|0;
- $shr360 = $mul359 >> 16;
- $add361 = (($mul353) + ($shr360))|0;
- $315 = $psDD;
- $Xq_Q14362 = ((($315)) + 704|0);
- $316 = $last_smple_idx;
- $arrayidx363 = (($Xq_Q14362) + ($316<<2)|0);
- $317 = HEAP32[$arrayidx363>>2]|0;
- $318 = $Gain_Q10;
- $shr364 = $318 >> 15;
- $add365 = (($shr364) + 1)|0;
- $shr366 = $add365 >> 1;
- $mul367 = Math_imul($317, $shr366)|0;
- $add368 = (($add361) + ($mul367))|0;
- $shr369 = $add368 >> 7;
- $add370 = (($shr369) + 1)|0;
- $shr371 = $add370 >> 1;
- $cmp372 = ($shr371|0)<(-32768);
- if ($cmp372) {
- $cond403 = -32768;
- } else {
- $319 = $psDD;
- $Xq_Q14376 = ((($319)) + 704|0);
- $320 = $last_smple_idx;
- $arrayidx377 = (($Xq_Q14376) + ($320<<2)|0);
- $321 = HEAP32[$arrayidx377>>2]|0;
- $shr378 = $321 >> 16;
- $322 = $Gain_Q10;
- $conv379 = $322&65535;
- $conv380 = $conv379 << 16 >> 16;
- $mul381 = Math_imul($shr378, $conv380)|0;
- $323 = $psDD;
- $Xq_Q14382 = ((($323)) + 704|0);
- $324 = $last_smple_idx;
- $arrayidx383 = (($Xq_Q14382) + ($324<<2)|0);
- $325 = HEAP32[$arrayidx383>>2]|0;
- $and384 = $325 & 65535;
- $326 = $Gain_Q10;
- $conv385 = $326&65535;
- $conv386 = $conv385 << 16 >> 16;
- $mul387 = Math_imul($and384, $conv386)|0;
- $shr388 = $mul387 >> 16;
- $add389 = (($mul381) + ($shr388))|0;
- $327 = $psDD;
- $Xq_Q14390 = ((($327)) + 704|0);
- $328 = $last_smple_idx;
- $arrayidx391 = (($Xq_Q14390) + ($328<<2)|0);
- $329 = HEAP32[$arrayidx391>>2]|0;
- $330 = $Gain_Q10;
- $shr392 = $330 >> 15;
- $add393 = (($shr392) + 1)|0;
- $shr394 = $add393 >> 1;
- $mul395 = Math_imul($329, $shr394)|0;
- $add396 = (($add389) + ($mul395))|0;
- $shr397 = $add396 >> 7;
- $add398 = (($shr397) + 1)|0;
- $shr399 = $add398 >> 1;
- $cond403 = $shr399;
- }
- }
- $conv404 = $cond403&65535;
- $331 = $pxq;
- $332 = $i;
- $333 = $decisionDelay;
- $sub405 = (($332) - ($333))|0;
- $arrayidx406 = (($331) + ($sub405<<1)|0);
- HEAP16[$arrayidx406>>1] = $conv404;
- $334 = $psDD;
- $Shape_Q14407 = ((($334)) + 960|0);
- $335 = $last_smple_idx;
- $arrayidx408 = (($Shape_Q14407) + ($335<<2)|0);
- $336 = HEAP32[$arrayidx408>>2]|0;
- $337 = $NSQ$addr;
- $sLTP_shp_Q14409 = ((($337)) + 1280|0);
- $338 = $NSQ$addr;
- $sLTP_shp_buf_idx410 = ((($338)) + 4364|0);
- $339 = HEAP32[$sLTP_shp_buf_idx410>>2]|0;
- $340 = $decisionDelay;
- $sub411 = (($339) - ($340))|0;
- $341 = $i;
- $add412 = (($sub411) + ($341))|0;
- $arrayidx413 = (($sLTP_shp_Q14409) + ($add412<<2)|0);
- HEAP32[$arrayidx413>>2] = $336;
- $342 = $i;
- $inc415 = (($342) + 1)|0;
- $i = $inc415;
- }
- $343 = $NSQ$addr;
- $sLPC_Q14417 = ((($343)) + 3840|0);
- $344 = $psDD;
- $345 = $psEncC$addr;
- $subfr_length420 = ((($345)) + 4612|0);
- $346 = HEAP32[$subfr_length420>>2]|0;
- $arrayidx421 = (($344) + ($346<<2)|0);
- dest=$sLPC_Q14417; src=$arrayidx421; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $347 = $NSQ$addr;
- $sAR2_Q14422 = ((($347)) + 4288|0);
- $348 = $psDD;
- $sAR2_Q14424 = ((($348)) + 1088|0);
- dest=$sAR2_Q14422; src=$sAR2_Q14424; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $349 = $psDD;
- $LF_AR_Q14426 = ((($349)) + 1152|0);
- $350 = HEAP32[$LF_AR_Q14426>>2]|0;
- $351 = $NSQ$addr;
- $sLF_AR_shp_Q14427 = ((($351)) + 4352|0);
- HEAP32[$sLF_AR_shp_Q14427>>2] = $350;
- $352 = $pitchL$addr;
- $353 = $psEncC$addr;
- $nb_subfr428 = ((($353)) + 4604|0);
- $354 = HEAP32[$nb_subfr428>>2]|0;
- $sub429 = (($354) - 1)|0;
- $arrayidx430 = (($352) + ($sub429<<2)|0);
- $355 = HEAP32[$arrayidx430>>2]|0;
- $356 = $NSQ$addr;
- $lagPrev431 = ((($356)) + 4356|0);
- HEAP32[$lagPrev431>>2] = $355;
- $357 = $NSQ$addr;
- $358 = $NSQ$addr;
- $359 = $psEncC$addr;
- $frame_length435 = ((($359)) + 4608|0);
- $360 = HEAP32[$frame_length435>>2]|0;
- $arrayidx436 = (($358) + ($360<<1)|0);
- $361 = $psEncC$addr;
- $ltp_mem_length437 = ((($361)) + 4616|0);
- $362 = HEAP32[$ltp_mem_length437>>2]|0;
- $mul438 = $362<<1;
- _memmove(($357|0),($arrayidx436|0),($mul438|0))|0;
- $363 = $NSQ$addr;
- $sLTP_shp_Q14439 = ((($363)) + 1280|0);
- $364 = $NSQ$addr;
- $sLTP_shp_Q14441 = ((($364)) + 1280|0);
- $365 = $psEncC$addr;
- $frame_length442 = ((($365)) + 4608|0);
- $366 = HEAP32[$frame_length442>>2]|0;
- $arrayidx443 = (($sLTP_shp_Q14441) + ($366<<2)|0);
- $367 = $psEncC$addr;
- $ltp_mem_length444 = ((($367)) + 4616|0);
- $368 = HEAP32[$ltp_mem_length444>>2]|0;
- $mul445 = $368<<2;
- _memmove(($sLTP_shp_Q14439|0),($arrayidx443|0),($mul445|0))|0;
- $369 = $saved_stack;
- _llvm_stackrestore(($369|0));
- STACKTOP = sp;return;
-}
-function _silk_min_int_423($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_nsq_del_dec_scale_states($psEncC,$NSQ,$psDelDec,$x_Q3,$x_sc_Q10,$sLTP,$sLTP_Q15,$subfr,$nStatesDelayedDecision,$LTP_scale_Q14,$Gains_Q16,$pitchL,$signal_type,$decisionDelay) {
- $psEncC = $psEncC|0;
- $NSQ = $NSQ|0;
- $psDelDec = $psDelDec|0;
- $x_Q3 = $x_Q3|0;
- $x_sc_Q10 = $x_sc_Q10|0;
- $sLTP = $sLTP|0;
- $sLTP_Q15 = $sLTP_Q15|0;
- $subfr = $subfr|0;
- $nStatesDelayedDecision = $nStatesDelayedDecision|0;
- $LTP_scale_Q14 = $LTP_scale_Q14|0;
- $Gains_Q16 = $Gains_Q16|0;
- $pitchL = $pitchL|0;
- $signal_type = $signal_type|0;
- $decisionDelay = $decisionDelay|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0;
- var $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0;
- var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0;
- var $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0;
- var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $Gains_Q16$addr = 0, $LF_AR_Q14 = 0, $LF_AR_Q14146 = 0, $LF_AR_Q14152 = 0, $LF_AR_Q14158 = 0, $LTP_scale_Q14$addr = 0, $NSQ$addr = 0, $Pred_Q15 = 0, $Pred_Q15227 = 0;
- var $Pred_Q15234 = 0, $Pred_Q15241 = 0, $Shape_Q14 = 0, $Shape_Q14249 = 0, $Shape_Q14256 = 0, $Shape_Q14263 = 0, $add = 0, $add124 = 0, $add127 = 0, $add130 = 0, $add151 = 0, $add154 = 0, $add157 = 0, $add175 = 0, $add179 = 0, $add18 = 0, $add182 = 0, $add204 = 0, $add208 = 0, $add21 = 0;
- var $add211 = 0, $add233 = 0, $add237 = 0, $add24 = 0, $add240 = 0, $add255 = 0, $add259 = 0, $add262 = 0, $add41 = 0, $add58 = 0, $add85 = 0, $add89 = 0, $add92 = 0, $and = 0, $and118 = 0, $and145 = 0, $and168 = 0, $and197 = 0, $and226 = 0, $and248 = 0;
- var $and36 = 0, $and53 = 0, $and78 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx114 = 0, $arrayidx119 = 0, $arrayidx125 = 0, $arrayidx13 = 0, $arrayidx131 = 0, $arrayidx140 = 0, $arrayidx164 = 0, $arrayidx170 = 0, $arrayidx177 = 0, $arrayidx184 = 0, $arrayidx19 = 0, $arrayidx193 = 0, $arrayidx199 = 0, $arrayidx2 = 0;
- var $arrayidx206 = 0, $arrayidx213 = 0, $arrayidx222 = 0, $arrayidx228 = 0, $arrayidx235 = 0, $arrayidx242 = 0, $arrayidx244 = 0, $arrayidx25 = 0, $arrayidx250 = 0, $arrayidx257 = 0, $arrayidx26 = 0, $arrayidx264 = 0, $arrayidx3 = 0, $arrayidx50 = 0, $arrayidx54 = 0, $arrayidx59 = 0, $arrayidx6 = 0, $arrayidx74 = 0, $arrayidx80 = 0, $arrayidx87 = 0;
- var $arrayidx94 = 0, $call = 0, $call7 = 0, $cmp = 0, $cmp101 = 0, $cmp110 = 0, $cmp137 = 0, $cmp160 = 0, $cmp189 = 0, $cmp218 = 0, $cmp29 = 0, $cmp4 = 0, $cmp46 = 0, $cmp64 = 0, $cmp70 = 0, $cmp9 = 0, $cmp98 = 0, $cond = 0, $conv = 0, $conv115 = 0;
- var $conv116 = 0, $conv12 = 0, $conv120 = 0, $conv121 = 0, $conv14 = 0, $conv142 = 0, $conv143 = 0, $conv147 = 0, $conv148 = 0, $conv15 = 0, $conv165 = 0, $conv166 = 0, $conv171 = 0, $conv172 = 0, $conv194 = 0, $conv195 = 0, $conv200 = 0, $conv201 = 0, $conv223 = 0, $conv224 = 0;
- var $conv229 = 0, $conv230 = 0, $conv245 = 0, $conv246 = 0, $conv251 = 0, $conv252 = 0, $conv33 = 0, $conv34 = 0, $conv37 = 0, $conv38 = 0, $conv51 = 0, $conv55 = 0, $conv75 = 0, $conv76 = 0, $conv81 = 0, $conv82 = 0, $decisionDelay$addr = 0, $gain_adj_Q16 = 0, $i = 0, $inc = 0;
- var $inc133 = 0, $inc186 = 0, $inc215 = 0, $inc266 = 0, $inc269 = 0, $inc61 = 0, $inc96 = 0, $inv_gain_Q23 = 0, $inv_gain_Q31 = 0, $k = 0, $lag = 0, $ltp_mem_length = 0, $mul = 0, $mul117 = 0, $mul122 = 0, $mul129 = 0, $mul144 = 0, $mul149 = 0, $mul156 = 0, $mul16 = 0;
- var $mul167 = 0, $mul173 = 0, $mul181 = 0, $mul196 = 0, $mul202 = 0, $mul210 = 0, $mul225 = 0, $mul23 = 0, $mul231 = 0, $mul239 = 0, $mul247 = 0, $mul253 = 0, $mul261 = 0, $mul35 = 0, $mul39 = 0, $mul52 = 0, $mul56 = 0, $mul77 = 0, $mul83 = 0, $mul91 = 0;
- var $nStatesDelayedDecision$addr = 0, $pitchL$addr = 0, $prev_gain_Q16 = 0, $prev_gain_Q1627 = 0, $prev_gain_Q165 = 0, $psDD = 0, $psDelDec$addr = 0, $psEncC$addr = 0, $rewhite_flag = 0, $rewhite_flag100 = 0, $sAR2_Q14 = 0, $sAR2_Q14198 = 0, $sAR2_Q14205 = 0, $sAR2_Q14212 = 0, $sLTP$addr = 0, $sLTP_Q15$addr = 0, $sLTP_buf_idx = 0, $sLTP_buf_idx104 = 0, $sLTP_buf_idx108 = 0, $sLTP_buf_idx45 = 0;
- var $sLTP_shp_Q14 = 0, $sLTP_shp_Q1479 = 0, $sLTP_shp_Q1486 = 0, $sLTP_shp_Q1493 = 0, $sLTP_shp_buf_idx = 0, $sLTP_shp_buf_idx69 = 0, $shl = 0, $shr = 0, $shr11 = 0, $shr113 = 0, $shr123 = 0, $shr126 = 0, $shr128 = 0, $shr141 = 0, $shr150 = 0, $shr153 = 0, $shr155 = 0, $shr163 = 0, $shr17 = 0, $shr174 = 0;
- var $shr178 = 0, $shr180 = 0, $shr192 = 0, $shr20 = 0, $shr203 = 0, $shr207 = 0, $shr209 = 0, $shr22 = 0, $shr221 = 0, $shr232 = 0, $shr236 = 0, $shr238 = 0, $shr243 = 0, $shr254 = 0, $shr258 = 0, $shr260 = 0, $shr32 = 0, $shr40 = 0, $shr49 = 0, $shr57 = 0;
- var $shr73 = 0, $shr8 = 0, $shr84 = 0, $shr88 = 0, $shr90 = 0, $signal_type$addr = 0, $sub = 0, $sub105 = 0, $sub106 = 0, $sub109 = 0, $sub43 = 0, $sub67 = 0, $subfr$addr = 0, $subfr_length = 0, $tobool = 0, $x_Q3$addr = 0, $x_sc_Q10$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
- $psEncC$addr = $psEncC;
- $NSQ$addr = $NSQ;
- $psDelDec$addr = $psDelDec;
- $x_Q3$addr = $x_Q3;
- $x_sc_Q10$addr = $x_sc_Q10;
- $sLTP$addr = $sLTP;
- $sLTP_Q15$addr = $sLTP_Q15;
- $subfr$addr = $subfr;
- $nStatesDelayedDecision$addr = $nStatesDelayedDecision;
- $LTP_scale_Q14$addr = $LTP_scale_Q14;
- $Gains_Q16$addr = $Gains_Q16;
- $pitchL$addr = $pitchL;
- $signal_type$addr = $signal_type;
- $decisionDelay$addr = $decisionDelay;
- $0 = $pitchL$addr;
- $1 = $subfr$addr;
- $arrayidx = (($0) + ($1<<2)|0);
- $2 = HEAP32[$arrayidx>>2]|0;
- $lag = $2;
- $3 = $Gains_Q16$addr;
- $4 = $subfr$addr;
- $arrayidx1 = (($3) + ($4<<2)|0);
- $5 = HEAP32[$arrayidx1>>2]|0;
- $cmp = ($5|0)>(1);
- if ($cmp) {
- $6 = $Gains_Q16$addr;
- $7 = $subfr$addr;
- $arrayidx2 = (($6) + ($7<<2)|0);
- $8 = HEAP32[$arrayidx2>>2]|0;
- $cond = $8;
- } else {
- $cond = 1;
- }
- $call = (_silk_INVERSE32_varQ_424($cond,47)|0);
- $inv_gain_Q31 = $call;
- $9 = $Gains_Q16$addr;
- $10 = $subfr$addr;
- $arrayidx3 = (($9) + ($10<<2)|0);
- $11 = HEAP32[$arrayidx3>>2]|0;
- $12 = $NSQ$addr;
- $prev_gain_Q16 = ((($12)) + 4372|0);
- $13 = HEAP32[$prev_gain_Q16>>2]|0;
- $cmp4 = ($11|0)!=($13|0);
- if ($cmp4) {
- $14 = $NSQ$addr;
- $prev_gain_Q165 = ((($14)) + 4372|0);
- $15 = HEAP32[$prev_gain_Q165>>2]|0;
- $16 = $Gains_Q16$addr;
- $17 = $subfr$addr;
- $arrayidx6 = (($16) + ($17<<2)|0);
- $18 = HEAP32[$arrayidx6>>2]|0;
- $call7 = (_silk_DIV32_varQ_425($15,$18,16)|0);
- $gain_adj_Q16 = $call7;
- } else {
- $gain_adj_Q16 = 65536;
- }
- $19 = $inv_gain_Q31;
- $shr = $19 >> 7;
- $add = (($shr) + 1)|0;
- $shr8 = $add >> 1;
- $inv_gain_Q23 = $shr8;
- $i = 0;
- while(1) {
- $20 = $i;
- $21 = $psEncC$addr;
- $subfr_length = ((($21)) + 4612|0);
- $22 = HEAP32[$subfr_length>>2]|0;
- $cmp9 = ($20|0)<($22|0);
- if (!($cmp9)) {
- break;
- }
- $23 = $x_Q3$addr;
- $24 = $i;
- $arrayidx10 = (($23) + ($24<<2)|0);
- $25 = HEAP32[$arrayidx10>>2]|0;
- $shr11 = $25 >> 16;
- $26 = $inv_gain_Q23;
- $conv = $26&65535;
- $conv12 = $conv << 16 >> 16;
- $mul = Math_imul($shr11, $conv12)|0;
- $27 = $x_Q3$addr;
- $28 = $i;
- $arrayidx13 = (($27) + ($28<<2)|0);
- $29 = HEAP32[$arrayidx13>>2]|0;
- $and = $29 & 65535;
- $30 = $inv_gain_Q23;
- $conv14 = $30&65535;
- $conv15 = $conv14 << 16 >> 16;
- $mul16 = Math_imul($and, $conv15)|0;
- $shr17 = $mul16 >> 16;
- $add18 = (($mul) + ($shr17))|0;
- $31 = $x_Q3$addr;
- $32 = $i;
- $arrayidx19 = (($31) + ($32<<2)|0);
- $33 = HEAP32[$arrayidx19>>2]|0;
- $34 = $inv_gain_Q23;
- $shr20 = $34 >> 15;
- $add21 = (($shr20) + 1)|0;
- $shr22 = $add21 >> 1;
- $mul23 = Math_imul($33, $shr22)|0;
- $add24 = (($add18) + ($mul23))|0;
- $35 = $x_sc_Q10$addr;
- $36 = $i;
- $arrayidx25 = (($35) + ($36<<2)|0);
- HEAP32[$arrayidx25>>2] = $add24;
- $37 = $i;
- $inc = (($37) + 1)|0;
- $i = $inc;
- }
- $38 = $Gains_Q16$addr;
- $39 = $subfr$addr;
- $arrayidx26 = (($38) + ($39<<2)|0);
- $40 = HEAP32[$arrayidx26>>2]|0;
- $41 = $NSQ$addr;
- $prev_gain_Q1627 = ((($41)) + 4372|0);
- HEAP32[$prev_gain_Q1627>>2] = $40;
- $42 = $NSQ$addr;
- $rewhite_flag = ((($42)) + 4376|0);
- $43 = HEAP32[$rewhite_flag>>2]|0;
- $tobool = ($43|0)!=(0);
- L12: do {
- if ($tobool) {
- $44 = $subfr$addr;
- $cmp29 = ($44|0)==(0);
- if ($cmp29) {
- $45 = $inv_gain_Q31;
- $shr32 = $45 >> 16;
- $46 = $LTP_scale_Q14$addr;
- $conv33 = $46&65535;
- $conv34 = $conv33 << 16 >> 16;
- $mul35 = Math_imul($shr32, $conv34)|0;
- $47 = $inv_gain_Q31;
- $and36 = $47 & 65535;
- $48 = $LTP_scale_Q14$addr;
- $conv37 = $48&65535;
- $conv38 = $conv37 << 16 >> 16;
- $mul39 = Math_imul($and36, $conv38)|0;
- $shr40 = $mul39 >> 16;
- $add41 = (($mul35) + ($shr40))|0;
- $shl = $add41 << 2;
- $inv_gain_Q31 = $shl;
- }
- $49 = $NSQ$addr;
- $sLTP_buf_idx = ((($49)) + 4360|0);
- $50 = HEAP32[$sLTP_buf_idx>>2]|0;
- $51 = $lag;
- $sub = (($50) - ($51))|0;
- $sub43 = (($sub) - 2)|0;
- $i = $sub43;
- while(1) {
- $52 = $i;
- $53 = $NSQ$addr;
- $sLTP_buf_idx45 = ((($53)) + 4360|0);
- $54 = HEAP32[$sLTP_buf_idx45>>2]|0;
- $cmp46 = ($52|0)<($54|0);
- if (!($cmp46)) {
- break L12;
- }
- $55 = $inv_gain_Q31;
- $shr49 = $55 >> 16;
- $56 = $sLTP$addr;
- $57 = $i;
- $arrayidx50 = (($56) + ($57<<1)|0);
- $58 = HEAP16[$arrayidx50>>1]|0;
- $conv51 = $58 << 16 >> 16;
- $mul52 = Math_imul($shr49, $conv51)|0;
- $59 = $inv_gain_Q31;
- $and53 = $59 & 65535;
- $60 = $sLTP$addr;
- $61 = $i;
- $arrayidx54 = (($60) + ($61<<1)|0);
- $62 = HEAP16[$arrayidx54>>1]|0;
- $conv55 = $62 << 16 >> 16;
- $mul56 = Math_imul($and53, $conv55)|0;
- $shr57 = $mul56 >> 16;
- $add58 = (($mul52) + ($shr57))|0;
- $63 = $sLTP_Q15$addr;
- $64 = $i;
- $arrayidx59 = (($63) + ($64<<2)|0);
- HEAP32[$arrayidx59>>2] = $add58;
- $65 = $i;
- $inc61 = (($65) + 1)|0;
- $i = $inc61;
- }
- }
- } while(0);
- $66 = $gain_adj_Q16;
- $cmp64 = ($66|0)!=(65536);
- if (!($cmp64)) {
- STACKTOP = sp;return;
- }
- $67 = $NSQ$addr;
- $sLTP_shp_buf_idx = ((($67)) + 4364|0);
- $68 = HEAP32[$sLTP_shp_buf_idx>>2]|0;
- $69 = $psEncC$addr;
- $ltp_mem_length = ((($69)) + 4616|0);
- $70 = HEAP32[$ltp_mem_length>>2]|0;
- $sub67 = (($68) - ($70))|0;
- $i = $sub67;
- while(1) {
- $71 = $i;
- $72 = $NSQ$addr;
- $sLTP_shp_buf_idx69 = ((($72)) + 4364|0);
- $73 = HEAP32[$sLTP_shp_buf_idx69>>2]|0;
- $cmp70 = ($71|0)<($73|0);
- if (!($cmp70)) {
- break;
- }
- $74 = $gain_adj_Q16;
- $shr73 = $74 >> 16;
- $75 = $NSQ$addr;
- $sLTP_shp_Q14 = ((($75)) + 1280|0);
- $76 = $i;
- $arrayidx74 = (($sLTP_shp_Q14) + ($76<<2)|0);
- $77 = HEAP32[$arrayidx74>>2]|0;
- $conv75 = $77&65535;
- $conv76 = $conv75 << 16 >> 16;
- $mul77 = Math_imul($shr73, $conv76)|0;
- $78 = $gain_adj_Q16;
- $and78 = $78 & 65535;
- $79 = $NSQ$addr;
- $sLTP_shp_Q1479 = ((($79)) + 1280|0);
- $80 = $i;
- $arrayidx80 = (($sLTP_shp_Q1479) + ($80<<2)|0);
- $81 = HEAP32[$arrayidx80>>2]|0;
- $conv81 = $81&65535;
- $conv82 = $conv81 << 16 >> 16;
- $mul83 = Math_imul($and78, $conv82)|0;
- $shr84 = $mul83 >> 16;
- $add85 = (($mul77) + ($shr84))|0;
- $82 = $gain_adj_Q16;
- $83 = $NSQ$addr;
- $sLTP_shp_Q1486 = ((($83)) + 1280|0);
- $84 = $i;
- $arrayidx87 = (($sLTP_shp_Q1486) + ($84<<2)|0);
- $85 = HEAP32[$arrayidx87>>2]|0;
- $shr88 = $85 >> 15;
- $add89 = (($shr88) + 1)|0;
- $shr90 = $add89 >> 1;
- $mul91 = Math_imul($82, $shr90)|0;
- $add92 = (($add85) + ($mul91))|0;
- $86 = $NSQ$addr;
- $sLTP_shp_Q1493 = ((($86)) + 1280|0);
- $87 = $i;
- $arrayidx94 = (($sLTP_shp_Q1493) + ($87<<2)|0);
- HEAP32[$arrayidx94>>2] = $add92;
- $88 = $i;
- $inc96 = (($88) + 1)|0;
- $i = $inc96;
- }
- $89 = $signal_type$addr;
- $cmp98 = ($89|0)==(2);
- L28: do {
- if ($cmp98) {
- $90 = $NSQ$addr;
- $rewhite_flag100 = ((($90)) + 4376|0);
- $91 = HEAP32[$rewhite_flag100>>2]|0;
- $cmp101 = ($91|0)==(0);
- if ($cmp101) {
- $92 = $NSQ$addr;
- $sLTP_buf_idx104 = ((($92)) + 4360|0);
- $93 = HEAP32[$sLTP_buf_idx104>>2]|0;
- $94 = $lag;
- $sub105 = (($93) - ($94))|0;
- $sub106 = (($sub105) - 2)|0;
- $i = $sub106;
- while(1) {
- $95 = $i;
- $96 = $NSQ$addr;
- $sLTP_buf_idx108 = ((($96)) + 4360|0);
- $97 = HEAP32[$sLTP_buf_idx108>>2]|0;
- $98 = $decisionDelay$addr;
- $sub109 = (($97) - ($98))|0;
- $cmp110 = ($95|0)<($sub109|0);
- if (!($cmp110)) {
- break L28;
- }
- $99 = $gain_adj_Q16;
- $shr113 = $99 >> 16;
- $100 = $sLTP_Q15$addr;
- $101 = $i;
- $arrayidx114 = (($100) + ($101<<2)|0);
- $102 = HEAP32[$arrayidx114>>2]|0;
- $conv115 = $102&65535;
- $conv116 = $conv115 << 16 >> 16;
- $mul117 = Math_imul($shr113, $conv116)|0;
- $103 = $gain_adj_Q16;
- $and118 = $103 & 65535;
- $104 = $sLTP_Q15$addr;
- $105 = $i;
- $arrayidx119 = (($104) + ($105<<2)|0);
- $106 = HEAP32[$arrayidx119>>2]|0;
- $conv120 = $106&65535;
- $conv121 = $conv120 << 16 >> 16;
- $mul122 = Math_imul($and118, $conv121)|0;
- $shr123 = $mul122 >> 16;
- $add124 = (($mul117) + ($shr123))|0;
- $107 = $gain_adj_Q16;
- $108 = $sLTP_Q15$addr;
- $109 = $i;
- $arrayidx125 = (($108) + ($109<<2)|0);
- $110 = HEAP32[$arrayidx125>>2]|0;
- $shr126 = $110 >> 15;
- $add127 = (($shr126) + 1)|0;
- $shr128 = $add127 >> 1;
- $mul129 = Math_imul($107, $shr128)|0;
- $add130 = (($add124) + ($mul129))|0;
- $111 = $sLTP_Q15$addr;
- $112 = $i;
- $arrayidx131 = (($111) + ($112<<2)|0);
- HEAP32[$arrayidx131>>2] = $add130;
- $113 = $i;
- $inc133 = (($113) + 1)|0;
- $i = $inc133;
- }
- }
- }
- } while(0);
- $k = 0;
- while(1) {
- $114 = $k;
- $115 = $nStatesDelayedDecision$addr;
- $cmp137 = ($114|0)<($115|0);
- if (!($cmp137)) {
- break;
- }
- $116 = $psDelDec$addr;
- $117 = $k;
- $arrayidx140 = (($116) + (($117*1168)|0)|0);
- $psDD = $arrayidx140;
- $118 = $gain_adj_Q16;
- $shr141 = $118 >> 16;
- $119 = $psDD;
- $LF_AR_Q14 = ((($119)) + 1152|0);
- $120 = HEAP32[$LF_AR_Q14>>2]|0;
- $conv142 = $120&65535;
- $conv143 = $conv142 << 16 >> 16;
- $mul144 = Math_imul($shr141, $conv143)|0;
- $121 = $gain_adj_Q16;
- $and145 = $121 & 65535;
- $122 = $psDD;
- $LF_AR_Q14146 = ((($122)) + 1152|0);
- $123 = HEAP32[$LF_AR_Q14146>>2]|0;
- $conv147 = $123&65535;
- $conv148 = $conv147 << 16 >> 16;
- $mul149 = Math_imul($and145, $conv148)|0;
- $shr150 = $mul149 >> 16;
- $add151 = (($mul144) + ($shr150))|0;
- $124 = $gain_adj_Q16;
- $125 = $psDD;
- $LF_AR_Q14152 = ((($125)) + 1152|0);
- $126 = HEAP32[$LF_AR_Q14152>>2]|0;
- $shr153 = $126 >> 15;
- $add154 = (($shr153) + 1)|0;
- $shr155 = $add154 >> 1;
- $mul156 = Math_imul($124, $shr155)|0;
- $add157 = (($add151) + ($mul156))|0;
- $127 = $psDD;
- $LF_AR_Q14158 = ((($127)) + 1152|0);
- HEAP32[$LF_AR_Q14158>>2] = $add157;
- $i = 0;
- while(1) {
- $128 = $i;
- $cmp160 = ($128|0)<(32);
- if (!($cmp160)) {
- break;
- }
- $129 = $gain_adj_Q16;
- $shr163 = $129 >> 16;
- $130 = $psDD;
- $131 = $i;
- $arrayidx164 = (($130) + ($131<<2)|0);
- $132 = HEAP32[$arrayidx164>>2]|0;
- $conv165 = $132&65535;
- $conv166 = $conv165 << 16 >> 16;
- $mul167 = Math_imul($shr163, $conv166)|0;
- $133 = $gain_adj_Q16;
- $and168 = $133 & 65535;
- $134 = $psDD;
- $135 = $i;
- $arrayidx170 = (($134) + ($135<<2)|0);
- $136 = HEAP32[$arrayidx170>>2]|0;
- $conv171 = $136&65535;
- $conv172 = $conv171 << 16 >> 16;
- $mul173 = Math_imul($and168, $conv172)|0;
- $shr174 = $mul173 >> 16;
- $add175 = (($mul167) + ($shr174))|0;
- $137 = $gain_adj_Q16;
- $138 = $psDD;
- $139 = $i;
- $arrayidx177 = (($138) + ($139<<2)|0);
- $140 = HEAP32[$arrayidx177>>2]|0;
- $shr178 = $140 >> 15;
- $add179 = (($shr178) + 1)|0;
- $shr180 = $add179 >> 1;
- $mul181 = Math_imul($137, $shr180)|0;
- $add182 = (($add175) + ($mul181))|0;
- $141 = $psDD;
- $142 = $i;
- $arrayidx184 = (($141) + ($142<<2)|0);
- HEAP32[$arrayidx184>>2] = $add182;
- $143 = $i;
- $inc186 = (($143) + 1)|0;
- $i = $inc186;
- }
- $i = 0;
- while(1) {
- $144 = $i;
- $cmp189 = ($144|0)<(16);
- if (!($cmp189)) {
- break;
- }
- $145 = $gain_adj_Q16;
- $shr192 = $145 >> 16;
- $146 = $psDD;
- $sAR2_Q14 = ((($146)) + 1088|0);
- $147 = $i;
- $arrayidx193 = (($sAR2_Q14) + ($147<<2)|0);
- $148 = HEAP32[$arrayidx193>>2]|0;
- $conv194 = $148&65535;
- $conv195 = $conv194 << 16 >> 16;
- $mul196 = Math_imul($shr192, $conv195)|0;
- $149 = $gain_adj_Q16;
- $and197 = $149 & 65535;
- $150 = $psDD;
- $sAR2_Q14198 = ((($150)) + 1088|0);
- $151 = $i;
- $arrayidx199 = (($sAR2_Q14198) + ($151<<2)|0);
- $152 = HEAP32[$arrayidx199>>2]|0;
- $conv200 = $152&65535;
- $conv201 = $conv200 << 16 >> 16;
- $mul202 = Math_imul($and197, $conv201)|0;
- $shr203 = $mul202 >> 16;
- $add204 = (($mul196) + ($shr203))|0;
- $153 = $gain_adj_Q16;
- $154 = $psDD;
- $sAR2_Q14205 = ((($154)) + 1088|0);
- $155 = $i;
- $arrayidx206 = (($sAR2_Q14205) + ($155<<2)|0);
- $156 = HEAP32[$arrayidx206>>2]|0;
- $shr207 = $156 >> 15;
- $add208 = (($shr207) + 1)|0;
- $shr209 = $add208 >> 1;
- $mul210 = Math_imul($153, $shr209)|0;
- $add211 = (($add204) + ($mul210))|0;
- $157 = $psDD;
- $sAR2_Q14212 = ((($157)) + 1088|0);
- $158 = $i;
- $arrayidx213 = (($sAR2_Q14212) + ($158<<2)|0);
- HEAP32[$arrayidx213>>2] = $add211;
- $159 = $i;
- $inc215 = (($159) + 1)|0;
- $i = $inc215;
- }
- $i = 0;
- while(1) {
- $160 = $i;
- $cmp218 = ($160|0)<(32);
- if (!($cmp218)) {
- break;
- }
- $161 = $gain_adj_Q16;
- $shr221 = $161 >> 16;
- $162 = $psDD;
- $Pred_Q15 = ((($162)) + 832|0);
- $163 = $i;
- $arrayidx222 = (($Pred_Q15) + ($163<<2)|0);
- $164 = HEAP32[$arrayidx222>>2]|0;
- $conv223 = $164&65535;
- $conv224 = $conv223 << 16 >> 16;
- $mul225 = Math_imul($shr221, $conv224)|0;
- $165 = $gain_adj_Q16;
- $and226 = $165 & 65535;
- $166 = $psDD;
- $Pred_Q15227 = ((($166)) + 832|0);
- $167 = $i;
- $arrayidx228 = (($Pred_Q15227) + ($167<<2)|0);
- $168 = HEAP32[$arrayidx228>>2]|0;
- $conv229 = $168&65535;
- $conv230 = $conv229 << 16 >> 16;
- $mul231 = Math_imul($and226, $conv230)|0;
- $shr232 = $mul231 >> 16;
- $add233 = (($mul225) + ($shr232))|0;
- $169 = $gain_adj_Q16;
- $170 = $psDD;
- $Pred_Q15234 = ((($170)) + 832|0);
- $171 = $i;
- $arrayidx235 = (($Pred_Q15234) + ($171<<2)|0);
- $172 = HEAP32[$arrayidx235>>2]|0;
- $shr236 = $172 >> 15;
- $add237 = (($shr236) + 1)|0;
- $shr238 = $add237 >> 1;
- $mul239 = Math_imul($169, $shr238)|0;
- $add240 = (($add233) + ($mul239))|0;
- $173 = $psDD;
- $Pred_Q15241 = ((($173)) + 832|0);
- $174 = $i;
- $arrayidx242 = (($Pred_Q15241) + ($174<<2)|0);
- HEAP32[$arrayidx242>>2] = $add240;
- $175 = $gain_adj_Q16;
- $shr243 = $175 >> 16;
- $176 = $psDD;
- $Shape_Q14 = ((($176)) + 960|0);
- $177 = $i;
- $arrayidx244 = (($Shape_Q14) + ($177<<2)|0);
- $178 = HEAP32[$arrayidx244>>2]|0;
- $conv245 = $178&65535;
- $conv246 = $conv245 << 16 >> 16;
- $mul247 = Math_imul($shr243, $conv246)|0;
- $179 = $gain_adj_Q16;
- $and248 = $179 & 65535;
- $180 = $psDD;
- $Shape_Q14249 = ((($180)) + 960|0);
- $181 = $i;
- $arrayidx250 = (($Shape_Q14249) + ($181<<2)|0);
- $182 = HEAP32[$arrayidx250>>2]|0;
- $conv251 = $182&65535;
- $conv252 = $conv251 << 16 >> 16;
- $mul253 = Math_imul($and248, $conv252)|0;
- $shr254 = $mul253 >> 16;
- $add255 = (($mul247) + ($shr254))|0;
- $183 = $gain_adj_Q16;
- $184 = $psDD;
- $Shape_Q14256 = ((($184)) + 960|0);
- $185 = $i;
- $arrayidx257 = (($Shape_Q14256) + ($185<<2)|0);
- $186 = HEAP32[$arrayidx257>>2]|0;
- $shr258 = $186 >> 15;
- $add259 = (($shr258) + 1)|0;
- $shr260 = $add259 >> 1;
- $mul261 = Math_imul($183, $shr260)|0;
- $add262 = (($add255) + ($mul261))|0;
- $187 = $psDD;
- $Shape_Q14263 = ((($187)) + 960|0);
- $188 = $i;
- $arrayidx264 = (($Shape_Q14263) + ($188<<2)|0);
- HEAP32[$arrayidx264>>2] = $add262;
- $189 = $i;
- $inc266 = (($189) + 1)|0;
- $i = $inc266;
- }
- $190 = $k;
- $inc269 = (($190) + 1)|0;
- $k = $inc269;
- }
- STACKTOP = sp;return;
-}
-function _silk_noise_shape_quantizer_del_dec($NSQ,$psDelDec,$signalType,$x_Q10,$pulses,$xq,$sLTP_Q15,$delayedGain_Q10,$a_Q12,$b_Q14,$AR_shp_Q13,$lag,$HarmShapeFIRPacked_Q14,$Tilt_Q14,$LF_shp_Q14,$Gain_Q16,$Lambda_Q10,$offset_Q10,$length,$subfr,$shapingLPCOrder,$predictLPCOrder,$warping_Q16,$nStatesDelayedDecision,$smpl_buf_idx,$decisionDelay) {
- $NSQ = $NSQ|0;
- $psDelDec = $psDelDec|0;
- $signalType = $signalType|0;
- $x_Q10 = $x_Q10|0;
- $pulses = $pulses|0;
- $xq = $xq|0;
- $sLTP_Q15 = $sLTP_Q15|0;
- $delayedGain_Q10 = $delayedGain_Q10|0;
- $a_Q12 = $a_Q12|0;
- $b_Q14 = $b_Q14|0;
- $AR_shp_Q13 = $AR_shp_Q13|0;
- $lag = $lag|0;
- $HarmShapeFIRPacked_Q14 = $HarmShapeFIRPacked_Q14|0;
- $Tilt_Q14 = $Tilt_Q14|0;
- $LF_shp_Q14 = $LF_shp_Q14|0;
- $Gain_Q16 = $Gain_Q16|0;
- $Lambda_Q10 = $Lambda_Q10|0;
- $offset_Q10 = $offset_Q10|0;
- $length = $length|0;
- $subfr = $subfr|0;
- $shapingLPCOrder = $shapingLPCOrder|0;
- $predictLPCOrder = $predictLPCOrder|0;
- $warping_Q16 = $warping_Q16|0;
- $nStatesDelayedDecision = $nStatesDelayedDecision|0;
- $smpl_buf_idx = $smpl_buf_idx|0;
- $decisionDelay = $decisionDelay|0;
- var $$sink = 0, $$sink1 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0;
+function _opus_encoder_ctl($0,$1,$varargs) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $varargs = $varargs|0;
+ var $$old = 0, $$old6 = 0, $$sink = 0, $$sink17 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0;
var $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0;
var $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0;
var $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0;
@@ -78176,7488 +11778,73887 @@ function _silk_noise_shape_quantizer_del_dec($NSQ,$psDelDec,$signalType,$x_Q10,$
var $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0;
var $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0;
var $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0;
- var $691 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0;
- var $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $AR_shp_Q13$addr = 0, $Gain_Q10 = 0, $Gain_Q16$addr = 0, $HarmShapeFIRPacked_Q14$addr = 0, $LF_AR_Q14 = 0, $LF_AR_Q14475 = 0;
- var $LF_AR_Q14497 = 0, $LF_AR_Q14502 = 0, $LF_AR_Q14660 = 0, $LF_AR_Q14681 = 0, $LF_AR_Q14919 = 0, $LF_AR_Q14920 = 0, $LF_shp_Q14$addr = 0, $LPC_exc_Q14 = 0, $LPC_exc_Q14662 = 0, $LPC_exc_Q14683 = 0, $LPC_exc_Q14931 = 0, $LPC_pred_Q14 = 0, $LTP_pred_Q14 = 0, $Lambda_Q10$addr = 0, $NSQ$addr = 0, $Pred_Q15 = 0, $Pred_Q15933 = 0, $Q_Q10794 = 0, $Q_Q10929 = 0, $RD_Q10 = 0;
- var $RD_Q10622 = 0, $RD_Q10623 = 0, $RD_Q10626 = 0, $RD_Q10634 = 0, $RD_Q10635 = 0, $RD_Q10638 = 0, $RD_Q10694 = 0, $RD_Q10701 = 0, $RD_Q10707 = 0, $RD_Q10726 = 0, $RD_Q10730 = 0, $RD_Q10733 = 0, $RD_Q10737 = 0, $RD_Q10744 = 0, $RD_Q10747 = 0, $RD_Q10754 = 0, $RD_Q10760 = 0, $RD_Q10764 = 0, $RD_Q10770 = 0, $RD_Q10948 = 0;
- var $RD_Q10949 = 0, $RDmax_Q10 = 0, $RDmax_ind = 0, $RDmin_Q10 = 0, $RDmin_ind = 0, $RandState = 0, $RandState719 = 0, $RandState946 = 0, $Seed = 0, $Seed110 = 0, $Seed517 = 0, $Seed647 = 0, $Seed668 = 0, $Seed938 = 0, $Seed944 = 0, $Seed945 = 0, $Shape_Q14 = 0, $Shape_Q14489 = 0, $Shape_Q14897 = 0, $Shape_Q14936 = 0;
- var $Tilt_Q14$addr = 0, $Winner_ind = 0, $Winner_rand_state = 0, $Xq_Q14 = 0, $Xq_Q14808 = 0, $Xq_Q14817 = 0, $Xq_Q14832 = 0, $Xq_Q14839 = 0, $Xq_Q14848 = 0, $Xq_Q14863 = 0, $Xq_Q14870 = 0, $Xq_Q14879 = 0, $Xq_Q14926 = 0, $a_Q12$addr = 0, $add = 0, $add$ptr = 0, $add$ptr780 = 0, $add109 = 0, $add111 = 0, $add125 = 0;
- var $add126 = 0, $add13 = 0, $add138 = 0, $add139 = 0, $add14 = 0, $add151 = 0, $add152 = 0, $add164 = 0, $add165 = 0, $add177 = 0, $add178 = 0, $add190 = 0, $add191 = 0, $add2 = 0, $add203 = 0, $add204 = 0, $add216 = 0, $add217 = 0, $add229 = 0, $add230 = 0;
- var $add242 = 0, $add243 = 0, $add258 = 0, $add259 = 0, $add26 = 0, $add27 = 0, $add271 = 0, $add272 = 0, $add284 = 0, $add285 = 0, $add297 = 0, $add298 = 0, $add310 = 0, $add311 = 0, $add323 = 0, $add324 = 0, $add340 = 0, $add341 = 0, $add359 = 0, $add360 = 0;
- var $add373 = 0, $add374 = 0, $add383 = 0, $add39 = 0, $add391 = 0, $add399 = 0, $add40 = 0, $add400 = 0, $add415 = 0, $add416 = 0, $add418 = 0, $add421 = 0, $add429 = 0, $add437 = 0, $add438 = 0, $add440 = 0, $add451 = 0, $add452 = 0, $add453 = 0, $add468 = 0;
- var $add469 = 0, $add481 = 0, $add482 = 0, $add496 = 0, $add501 = 0, $add507 = 0, $add509 = 0, $add510 = 0, $add513 = 0, $add52 = 0, $add53 = 0, $add538 = 0, $add539 = 0, $add554 = 0, $add583 = 0, $add584 = 0, $add585 = 0, $add607 = 0, $add615 = 0, $add620 = 0;
- var $add624 = 0, $add632 = 0, $add636 = 0, $add65 = 0, $add653 = 0, $add654 = 0, $add66 = 0, $add674 = 0, $add675 = 0, $add690 = 0, $add72 = 0, $add727 = 0, $add734 = 0, $add79 = 0, $add797 = 0, $add816 = 0, $add821 = 0, $add824 = 0, $add826 = 0, $add847 = 0;
- var $add85 = 0, $add852 = 0, $add855 = 0, $add857 = 0, $add878 = 0, $add883 = 0, $add886 = 0, $add888 = 0, $add90 = 0, $add923 = 0, $add941 = 0, $add943 = 0, $add96 = 0, $and = 0, $and120 = 0, $and133 = 0, $and146 = 0, $and159 = 0, $and172 = 0, $and185 = 0;
- var $and198 = 0, $and21 = 0, $and211 = 0, $and224 = 0, $and237 = 0, $and253 = 0, $and266 = 0, $and279 = 0, $and292 = 0, $and305 = 0, $and318 = 0, $and335 = 0, $and34 = 0, $and354 = 0, $and368 = 0, $and394 = 0, $and409 = 0, $and432 = 0, $and446 = 0, $and462 = 0;
- var $and47 = 0, $and476 = 0, $and491 = 0, $and503 = 0, $and60 = 0, $and689 = 0, $and691 = 0, $and80 = 0, $and810 = 0, $and841 = 0, $and872 = 0, $and92 = 0, $arrayidx = 0, $arrayidx106 = 0, $arrayidx107 = 0, $arrayidx112 = 0, $arrayidx127 = 0, $arrayidx129 = 0, $arrayidx132 = 0, $arrayidx134 = 0;
- var $arrayidx140 = 0, $arrayidx142 = 0, $arrayidx145 = 0, $arrayidx147 = 0, $arrayidx15 = 0, $arrayidx153 = 0, $arrayidx155 = 0, $arrayidx158 = 0, $arrayidx160 = 0, $arrayidx166 = 0, $arrayidx168 = 0, $arrayidx17 = 0, $arrayidx171 = 0, $arrayidx173 = 0, $arrayidx179 = 0, $arrayidx181 = 0, $arrayidx184 = 0, $arrayidx186 = 0, $arrayidx192 = 0, $arrayidx194 = 0;
- var $arrayidx197 = 0, $arrayidx199 = 0, $arrayidx20 = 0, $arrayidx205 = 0, $arrayidx207 = 0, $arrayidx210 = 0, $arrayidx212 = 0, $arrayidx218 = 0, $arrayidx22 = 0, $arrayidx220 = 0, $arrayidx223 = 0, $arrayidx225 = 0, $arrayidx231 = 0, $arrayidx233 = 0, $arrayidx236 = 0, $arrayidx238 = 0, $arrayidx247 = 0, $arrayidx249 = 0, $arrayidx252 = 0, $arrayidx254 = 0;
- var $arrayidx260 = 0, $arrayidx262 = 0, $arrayidx265 = 0, $arrayidx267 = 0, $arrayidx273 = 0, $arrayidx275 = 0, $arrayidx278 = 0, $arrayidx28 = 0, $arrayidx280 = 0, $arrayidx286 = 0, $arrayidx288 = 0, $arrayidx291 = 0, $arrayidx293 = 0, $arrayidx299 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx301 = 0, $arrayidx304 = 0, $arrayidx306 = 0, $arrayidx312 = 0;
- var $arrayidx314 = 0, $arrayidx317 = 0, $arrayidx319 = 0, $arrayidx33 = 0, $arrayidx345 = 0, $arrayidx35 = 0, $arrayidx352 = 0, $arrayidx381 = 0, $arrayidx384 = 0, $arrayidx392 = 0, $arrayidx403 = 0, $arrayidx406 = 0, $arrayidx41 = 0, $arrayidx411 = 0, $arrayidx419 = 0, $arrayidx422 = 0, $arrayidx43 = 0, $arrayidx430 = 0, $arrayidx441 = 0, $arrayidx443 = 0;
- var $arrayidx447 = 0, $arrayidx456 = 0, $arrayidx459 = 0, $arrayidx46 = 0, $arrayidx464 = 0, $arrayidx48 = 0, $arrayidx484 = 0, $arrayidx490 = 0, $arrayidx515 = 0, $arrayidx54 = 0, $arrayidx56 = 0, $arrayidx59 = 0, $arrayidx61 = 0, $arrayidx625 = 0, $arrayidx637 = 0, $arrayidx641 = 0, $arrayidx665 = 0, $arrayidx678 = 0, $arrayidx680 = 0, $arrayidx682 = 0;
- var $arrayidx684 = 0, $arrayidx699 = 0, $arrayidx705 = 0, $arrayidx71 = 0, $arrayidx712 = 0, $arrayidx713 = 0, $arrayidx718 = 0, $arrayidx720 = 0, $arrayidx724 = 0, $arrayidx728 = 0, $arrayidx731 = 0, $arrayidx732 = 0, $arrayidx735 = 0, $arrayidx736 = 0, $arrayidx746 = 0, $arrayidx752 = 0, $arrayidx758 = 0, $arrayidx762 = 0, $arrayidx763 = 0, $arrayidx768 = 0;
- var $arrayidx769 = 0, $arrayidx778 = 0, $arrayidx779 = 0, $arrayidx78 = 0, $arrayidx783 = 0, $arrayidx785 = 0, $arrayidx786 = 0, $arrayidx788 = 0, $arrayidx795 = 0, $arrayidx801 = 0, $arrayidx802 = 0, $arrayidx804 = 0, $arrayidx809 = 0, $arrayidx811 = 0, $arrayidx818 = 0, $arrayidx819 = 0, $arrayidx833 = 0, $arrayidx835 = 0, $arrayidx840 = 0, $arrayidx842 = 0;
- var $arrayidx849 = 0, $arrayidx850 = 0, $arrayidx86 = 0, $arrayidx864 = 0, $arrayidx866 = 0, $arrayidx871 = 0, $arrayidx873 = 0, $arrayidx880 = 0, $arrayidx881 = 0, $arrayidx896 = 0, $arrayidx898 = 0, $arrayidx902 = 0, $arrayidx903 = 0, $arrayidx906 = 0, $arrayidx91 = 0, $arrayidx916 = 0, $arrayidx917 = 0, $arrayidx924 = 0, $arrayidx927 = 0, $arrayidx930 = 0;
- var $arrayidx934 = 0, $arrayidx937 = 0, $arrayidx947 = 0, $arrayidx953 = 0, $arrayidx961 = 0, $arrayidx965 = 0, $b_Q14$addr = 0, $cmp = 0, $cmp103 = 0, $cmp244 = 0, $cmp376 = 0, $cmp4 = 0, $cmp518 = 0, $cmp523 = 0, $cmp525 = 0, $cmp533 = 0, $cmp551 = 0, $cmp566 = 0, $cmp617 = 0, $cmp648 = 0;
- var $cmp669 = 0, $cmp67 = 0, $cmp696 = 0, $cmp702 = 0, $cmp715 = 0, $cmp721 = 0, $cmp749 = 0, $cmp755 = 0, $cmp765 = 0, $cmp775 = 0, $cmp789 = 0, $cmp791 = 0, $cmp828 = 0, $cmp859 = 0, $cmp913 = 0, $cmp958 = 0, $cond = 0, $cond530 = 0, $cond893 = 0, $conv = 0;
- var $conv10 = 0, $conv117 = 0, $conv122 = 0, $conv130 = 0, $conv135 = 0, $conv143 = 0, $conv148 = 0, $conv156 = 0, $conv161 = 0, $conv169 = 0, $conv174 = 0, $conv18 = 0, $conv182 = 0, $conv187 = 0, $conv195 = 0, $conv200 = 0, $conv208 = 0, $conv213 = 0, $conv221 = 0, $conv226 = 0;
- var $conv23 = 0, $conv234 = 0, $conv239 = 0, $conv250 = 0, $conv255 = 0, $conv263 = 0, $conv268 = 0, $conv276 = 0, $conv281 = 0, $conv289 = 0, $conv294 = 0, $conv302 = 0, $conv307 = 0, $conv31 = 0, $conv315 = 0, $conv320 = 0, $conv330 = 0, $conv331 = 0, $conv336 = 0, $conv337 = 0;
- var $conv348 = 0, $conv349 = 0, $conv355 = 0, $conv356 = 0, $conv36 = 0, $conv366 = 0, $conv370 = 0, $conv387 = 0, $conv388 = 0, $conv395 = 0, $conv396 = 0, $conv407 = 0, $conv412 = 0, $conv425 = 0, $conv426 = 0, $conv433 = 0, $conv434 = 0, $conv44 = 0, $conv444 = 0, $conv448 = 0;
- var $conv460 = 0, $conv465 = 0, $conv472 = 0, $conv473 = 0, $conv477 = 0, $conv478 = 0, $conv486 = 0, $conv487 = 0, $conv49 = 0, $conv492 = 0, $conv493 = 0, $conv540 = 0, $conv541 = 0, $conv542 = 0, $conv543 = 0, $conv545 = 0, $conv546 = 0, $conv547 = 0, $conv548 = 0, $conv555 = 0;
- var $conv556 = 0, $conv557 = 0, $conv558 = 0, $conv560 = 0, $conv561 = 0, $conv562 = 0, $conv563 = 0, $conv57 = 0, $conv571 = 0, $conv572 = 0, $conv573 = 0, $conv574 = 0, $conv576 = 0, $conv577 = 0, $conv578 = 0, $conv579 = 0, $conv587 = 0, $conv588 = 0, $conv589 = 0, $conv590 = 0;
- var $conv593 = 0, $conv594 = 0, $conv595 = 0, $conv596 = 0, $conv602 = 0, $conv603 = 0, $conv604 = 0, $conv605 = 0, $conv610 = 0, $conv611 = 0, $conv612 = 0, $conv613 = 0, $conv62 = 0, $conv74 = 0, $conv75 = 0, $conv799 = 0, $conv805 = 0, $conv806 = 0, $conv81 = 0, $conv812 = 0;
- var $conv813 = 0, $conv82 = 0, $conv836 = 0, $conv837 = 0, $conv843 = 0, $conv844 = 0, $conv867 = 0, $conv868 = 0, $conv874 = 0, $conv875 = 0, $conv894 = 0, $decisionDelay$addr = 0, $delayedGain_Q10$addr = 0, $exc_Q14 = 0, $i = 0, $inc = 0, $inc710 = 0, $inc740 = 0, $inc773 = 0, $inc909 = 0;
- var $inc911 = 0, $inc951 = 0, $inc955 = 0, $inc967 = 0, $incdec$ptr = 0, $incdec$ptr99 = 0, $j = 0, $k = 0, $lag$addr = 0, $last_smple_idx = 0, $length$addr = 0, $mul = 0, $mul108 = 0, $mul11 = 0, $mul118 = 0, $mul123 = 0, $mul131 = 0, $mul136 = 0, $mul144 = 0, $mul149 = 0;
- var $mul157 = 0, $mul162 = 0, $mul170 = 0, $mul175 = 0, $mul183 = 0, $mul188 = 0, $mul19 = 0, $mul196 = 0, $mul201 = 0, $mul209 = 0, $mul214 = 0, $mul222 = 0, $mul227 = 0, $mul235 = 0, $mul24 = 0, $mul240 = 0, $mul251 = 0, $mul256 = 0, $mul264 = 0, $mul269 = 0;
- var $mul277 = 0, $mul282 = 0, $mul290 = 0, $mul295 = 0, $mul303 = 0, $mul308 = 0, $mul316 = 0, $mul32 = 0, $mul321 = 0, $mul332 = 0, $mul338 = 0, $mul350 = 0, $mul357 = 0, $mul367 = 0, $mul37 = 0, $mul371 = 0, $mul389 = 0, $mul397 = 0, $mul408 = 0, $mul413 = 0;
- var $mul427 = 0, $mul435 = 0, $mul445 = 0, $mul449 = 0, $mul45 = 0, $mul461 = 0, $mul466 = 0, $mul474 = 0, $mul479 = 0, $mul488 = 0, $mul494 = 0, $mul50 = 0, $mul500 = 0, $mul505 = 0, $mul544 = 0, $mul549 = 0, $mul559 = 0, $mul564 = 0, $mul575 = 0, $mul58 = 0;
- var $mul580 = 0, $mul591 = 0, $mul597 = 0, $mul606 = 0, $mul614 = 0, $mul63 = 0, $mul76 = 0, $mul781 = 0, $mul807 = 0, $mul814 = 0, $mul823 = 0, $mul83 = 0, $mul838 = 0, $mul845 = 0, $mul854 = 0, $mul869 = 0, $mul876 = 0, $mul885 = 0, $mul89 = 0, $mul94 = 0;
- var $nStatesDelayedDecision$addr = 0, $n_AR_Q14 = 0, $n_LF_Q14 = 0, $n_LTP_Q14 = 0, $offset_Q10$addr = 0, $pred_lag_ptr = 0, $predictLPCOrder$addr = 0, $psDD = 0, $psDelDec$addr = 0, $psLPC_Q14 = 0, $psSS = 0, $pulses$addr = 0, $q1_Q0 = 0, $q1_Q10 = 0, $q2_Q10 = 0, $r_Q10 = 0, $rd1_Q10 = 0, $rd2_Q10 = 0, $rr_Q10 = 0, $sAR2_Q14 = 0;
- var $sAR2_Q14333 = 0, $sAR2_Q14342 = 0, $sAR2_Q14344 = 0, $sAR2_Q14351 = 0, $sAR2_Q14361 = 0, $sAR2_Q14379 = 0, $sAR2_Q14382 = 0, $sAR2_Q14390 = 0, $sAR2_Q14401 = 0, $sAR2_Q14417 = 0, $sAR2_Q14420 = 0, $sAR2_Q14428 = 0, $sAR2_Q14439 = 0, $sAR2_Q14454 = 0, $sLF_AR_shp_Q14 = 0, $sLTP_Q15$addr = 0, $sLTP_buf_idx = 0, $sLTP_buf_idx904 = 0, $sLTP_buf_idx910 = 0, $sLTP_shp_Q14 = 0;
- var $sLTP_shp_Q14658 = 0, $sLTP_shp_Q14679 = 0, $sLTP_shp_Q14899 = 0, $sLTP_shp_Q14935 = 0, $sLTP_shp_buf_idx = 0, $sLTP_shp_buf_idx900 = 0, $sLTP_shp_buf_idx908 = 0, $saved_stack = 0, $shapingLPCOrder$addr = 0, $shl = 0, $shl326 = 0, $shl470 = 0, $shl483 = 0, $shl508 = 0, $shl536 = 0, $shl582 = 0, $shl646 = 0, $shl667 = 0, $shl932 = 0, $shl97 = 0;
- var $shp_lag_ptr = 0, $shr = 0, $shr113 = 0, $shr115 = 0, $shr12 = 0, $shr124 = 0, $shr128 = 0, $shr137 = 0, $shr141 = 0, $shr150 = 0, $shr154 = 0, $shr16 = 0, $shr163 = 0, $shr167 = 0, $shr176 = 0, $shr180 = 0, $shr189 = 0, $shr193 = 0, $shr202 = 0, $shr206 = 0;
- var $shr215 = 0, $shr219 = 0, $shr228 = 0, $shr232 = 0, $shr241 = 0, $shr248 = 0, $shr25 = 0, $shr257 = 0, $shr261 = 0, $shr270 = 0, $shr274 = 0, $shr283 = 0, $shr287 = 0, $shr29 = 0, $shr296 = 0, $shr300 = 0, $shr309 = 0, $shr313 = 0, $shr322 = 0, $shr329 = 0;
- var $shr339 = 0, $shr347 = 0, $shr358 = 0, $shr363 = 0, $shr364 = 0, $shr372 = 0, $shr38 = 0, $shr386 = 0, $shr398 = 0, $shr404 = 0, $shr414 = 0, $shr42 = 0, $shr424 = 0, $shr436 = 0, $shr442 = 0, $shr450 = 0, $shr457 = 0, $shr467 = 0, $shr471 = 0, $shr480 = 0;
- var $shr485 = 0, $shr495 = 0, $shr498 = 0, $shr499 = 0, $shr504 = 0, $shr506 = 0, $shr51 = 0, $shr512 = 0, $shr514 = 0, $shr532 = 0, $shr55 = 0, $shr6 = 0, $shr608 = 0, $shr616 = 0, $shr64 = 0, $shr73 = 0, $shr796 = 0, $shr798 = 0, $shr803 = 0, $shr815 = 0;
- var $shr820 = 0, $shr822 = 0, $shr825 = 0, $shr827 = 0, $shr834 = 0, $shr84 = 0, $shr846 = 0, $shr851 = 0, $shr853 = 0, $shr856 = 0, $shr858 = 0, $shr865 = 0, $shr87 = 0, $shr877 = 0, $shr88 = 0, $shr882 = 0, $shr884 = 0, $shr887 = 0, $shr889 = 0, $shr93 = 0;
- var $shr940 = 0, $shr942 = 0, $shr95 = 0, $signalType$addr = 0, $smpl_buf_idx$addr = 0, $sub = 0, $sub1 = 0, $sub346 = 0, $sub353 = 0, $sub380 = 0, $sub385 = 0, $sub393 = 0, $sub402 = 0, $sub405 = 0, $sub410 = 0, $sub423 = 0, $sub431 = 0, $sub455 = 0, $sub458 = 0, $sub463 = 0;
- var $sub511 = 0, $sub516 = 0, $sub521 = 0, $sub531 = 0, $sub537 = 0, $sub569 = 0, $sub570 = 0, $sub586 = 0, $sub592 = 0, $sub601 = 0, $sub609 = 0, $sub651 = 0, $sub655 = 0, $sub656 = 0, $sub672 = 0, $sub676 = 0, $sub677 = 0, $sub688 = 0, $sub782 = 0, $sub800 = 0;
- var $sub895 = 0, $sub901 = 0, $sub905 = 0, $sub98 = 0, $subfr$addr = 0, $tmp1 = 0, $tmp2 = 0, $vla = 0, $vla$alloca_mul = 0, $warping_Q16$addr = 0, $x_Q10$addr = 0, $xq$addr = 0, $xq_Q14 = 0, $xq_Q14664 = 0, $xq_Q14685 = 0, $xq_Q14921 = 0, $xq_Q14925 = 0, dest = 0, label = 0, sp = 0;
- var src = 0, stop = 0;
+ var $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0;
+ var $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0;
+ var $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0;
+ var $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0;
+ var $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0;
+ var $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0;
+ var $8 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0;
+ var $817 = 0, $818 = 0, $819 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, $arglist_current = 0, $arglist_current100 = 0, $arglist_current103 = 0, $arglist_current106 = 0, $arglist_current109 = 0, $arglist_current112 = 0, $arglist_current115 = 0, $arglist_current118 = 0, $arglist_current121 = 0, $arglist_current124 = 0, $arglist_current130 = 0, $arglist_current133 = 0, $arglist_current136 = 0, $arglist_current139 = 0, $arglist_current142 = 0, $arglist_current145 = 0, $arglist_current148 = 0, $arglist_current151 = 0;
+ var $arglist_current154 = 0, $arglist_current157 = 0, $arglist_current160 = 0, $arglist_current163 = 0, $arglist_current166 = 0, $arglist_current169 = 0, $arglist_current172 = 0, $arglist_current178 = 0, $arglist_current181 = 0, $arglist_current184 = 0, $arglist_current189 = 0, $arglist_current192 = 0, $arglist_current198 = 0, $arglist_current204 = 0, $arglist_current79 = 0, $arglist_current82 = 0, $arglist_current85 = 0, $arglist_current88 = 0, $arglist_current91 = 0, $arglist_current94 = 0;
+ var $arglist_current97 = 0, $arglist_next = 0, $arglist_next101 = 0, $arglist_next104 = 0, $arglist_next107 = 0, $arglist_next110 = 0, $arglist_next113 = 0, $arglist_next116 = 0, $arglist_next119 = 0, $arglist_next122 = 0, $arglist_next125 = 0, $arglist_next131 = 0, $arglist_next134 = 0, $arglist_next137 = 0, $arglist_next140 = 0, $arglist_next143 = 0, $arglist_next146 = 0, $arglist_next149 = 0, $arglist_next152 = 0, $arglist_next155 = 0;
+ var $arglist_next158 = 0, $arglist_next161 = 0, $arglist_next164 = 0, $arglist_next167 = 0, $arglist_next170 = 0, $arglist_next173 = 0, $arglist_next179 = 0, $arglist_next182 = 0, $arglist_next185 = 0, $arglist_next190 = 0, $arglist_next193 = 0, $arglist_next199 = 0, $arglist_next205 = 0, $arglist_next80 = 0, $arglist_next83 = 0, $arglist_next86 = 0, $arglist_next89 = 0, $arglist_next92 = 0, $arglist_next95 = 0, $arglist_next98 = 0;
+ var $expanded = 0, $expanded100 = 0, $expanded102 = 0, $expanded103 = 0, $expanded104 = 0, $expanded106 = 0, $expanded107 = 0, $expanded109 = 0, $expanded11 = 0, $expanded110 = 0, $expanded111 = 0, $expanded113 = 0, $expanded114 = 0, $expanded116 = 0, $expanded117 = 0, $expanded118 = 0, $expanded12 = 0, $expanded120 = 0, $expanded121 = 0, $expanded123 = 0;
+ var $expanded124 = 0, $expanded125 = 0, $expanded127 = 0, $expanded128 = 0, $expanded13 = 0, $expanded130 = 0, $expanded131 = 0, $expanded132 = 0, $expanded134 = 0, $expanded135 = 0, $expanded137 = 0, $expanded138 = 0, $expanded139 = 0, $expanded141 = 0, $expanded142 = 0, $expanded144 = 0, $expanded145 = 0, $expanded146 = 0, $expanded148 = 0, $expanded149 = 0;
+ var $expanded15 = 0, $expanded151 = 0, $expanded152 = 0, $expanded153 = 0, $expanded155 = 0, $expanded156 = 0, $expanded158 = 0, $expanded159 = 0, $expanded16 = 0, $expanded160 = 0, $expanded162 = 0, $expanded163 = 0, $expanded165 = 0, $expanded166 = 0, $expanded167 = 0, $expanded169 = 0, $expanded170 = 0, $expanded172 = 0, $expanded173 = 0, $expanded174 = 0;
+ var $expanded176 = 0, $expanded177 = 0, $expanded179 = 0, $expanded18 = 0, $expanded180 = 0, $expanded181 = 0, $expanded183 = 0, $expanded184 = 0, $expanded186 = 0, $expanded187 = 0, $expanded188 = 0, $expanded19 = 0, $expanded190 = 0, $expanded191 = 0, $expanded193 = 0, $expanded194 = 0, $expanded195 = 0, $expanded197 = 0, $expanded198 = 0, $expanded2 = 0;
+ var $expanded20 = 0, $expanded200 = 0, $expanded201 = 0, $expanded202 = 0, $expanded204 = 0, $expanded205 = 0, $expanded207 = 0, $expanded208 = 0, $expanded209 = 0, $expanded211 = 0, $expanded212 = 0, $expanded214 = 0, $expanded215 = 0, $expanded216 = 0, $expanded218 = 0, $expanded219 = 0, $expanded22 = 0, $expanded221 = 0, $expanded222 = 0, $expanded223 = 0;
+ var $expanded225 = 0, $expanded226 = 0, $expanded228 = 0, $expanded229 = 0, $expanded23 = 0, $expanded230 = 0, $expanded232 = 0, $expanded233 = 0, $expanded235 = 0, $expanded236 = 0, $expanded237 = 0, $expanded239 = 0, $expanded240 = 0, $expanded242 = 0, $expanded243 = 0, $expanded244 = 0, $expanded246 = 0, $expanded247 = 0, $expanded249 = 0, $expanded25 = 0;
+ var $expanded250 = 0, $expanded251 = 0, $expanded253 = 0, $expanded254 = 0, $expanded256 = 0, $expanded257 = 0, $expanded258 = 0, $expanded26 = 0, $expanded260 = 0, $expanded261 = 0, $expanded263 = 0, $expanded264 = 0, $expanded265 = 0, $expanded267 = 0, $expanded268 = 0, $expanded27 = 0, $expanded270 = 0, $expanded271 = 0, $expanded272 = 0, $expanded29 = 0;
+ var $expanded30 = 0, $expanded32 = 0, $expanded33 = 0, $expanded34 = 0, $expanded36 = 0, $expanded37 = 0, $expanded39 = 0, $expanded4 = 0, $expanded40 = 0, $expanded41 = 0, $expanded43 = 0, $expanded44 = 0, $expanded46 = 0, $expanded47 = 0, $expanded48 = 0, $expanded5 = 0, $expanded50 = 0, $expanded51 = 0, $expanded53 = 0, $expanded54 = 0;
+ var $expanded55 = 0, $expanded57 = 0, $expanded58 = 0, $expanded6 = 0, $expanded60 = 0, $expanded61 = 0, $expanded62 = 0, $expanded64 = 0, $expanded65 = 0, $expanded67 = 0, $expanded68 = 0, $expanded69 = 0, $expanded71 = 0, $expanded72 = 0, $expanded74 = 0, $expanded75 = 0, $expanded76 = 0, $expanded78 = 0, $expanded79 = 0, $expanded8 = 0;
+ var $expanded81 = 0, $expanded82 = 0, $expanded83 = 0, $expanded85 = 0, $expanded86 = 0, $expanded88 = 0, $expanded89 = 0, $expanded9 = 0, $expanded90 = 0, $expanded92 = 0, $expanded93 = 0, $expanded95 = 0, $expanded96 = 0, $expanded97 = 0, $expanded99 = 0, $or$cond = 0, $or$cond10 = 0, $or$cond13 = 0, $or$cond16 = 0, $or$cond20 = 0;
+ var $or$cond23 = 0, $or$cond26 = 0, $or$cond29 = 0, $or$cond3 = 0, $or$cond32 = 0, $or$cond35 = 0, $or$cond38 = 0, $or$cond41 = 0, $or$cond44 = 0, $or$cond47 = 0, $or$cond5 = 0, $or$cond50 = 0, $or$cond53 = 0, $or$cond56 = 0, $or$cond59 = 0, $or$cond62 = 0, $or$cond65 = 0, $or$cond68 = 0, $or$cond7 = 0, $or$cond71 = 0;
+ var $or$cond74 = 0, $or$cond77 = 0, $vararg_buffer = 0, $vararg_buffer126 = 0, $vararg_buffer174 = 0, $vararg_buffer186 = 0, $vararg_buffer194 = 0, $vararg_buffer200 = 0, $vararg_buffer206 = 0, label = 0, sp = 0;
sp = STACKTOP;
- STACKTOP = STACKTOP + 256|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(256|0);
- $NSQ$addr = $NSQ;
- $psDelDec$addr = $psDelDec;
- $signalType$addr = $signalType;
- $x_Q10$addr = $x_Q10;
- $pulses$addr = $pulses;
- $xq$addr = $xq;
- $sLTP_Q15$addr = $sLTP_Q15;
- $delayedGain_Q10$addr = $delayedGain_Q10;
- $a_Q12$addr = $a_Q12;
- $b_Q14$addr = $b_Q14;
- $AR_shp_Q13$addr = $AR_shp_Q13;
- $lag$addr = $lag;
- $HarmShapeFIRPacked_Q14$addr = $HarmShapeFIRPacked_Q14;
- $Tilt_Q14$addr = $Tilt_Q14;
- $LF_shp_Q14$addr = $LF_shp_Q14;
- $Gain_Q16$addr = $Gain_Q16;
- $Lambda_Q10$addr = $Lambda_Q10;
- $offset_Q10$addr = $offset_Q10;
- $length$addr = $length;
- $subfr$addr = $subfr;
- $shapingLPCOrder$addr = $shapingLPCOrder;
- $predictLPCOrder$addr = $predictLPCOrder;
- $warping_Q16$addr = $warping_Q16;
- $nStatesDelayedDecision$addr = $nStatesDelayedDecision;
- $smpl_buf_idx$addr = $smpl_buf_idx;
- $decisionDelay$addr = $decisionDelay;
- $0 = $nStatesDelayedDecision$addr;
- $1 = (_llvm_stacksave()|0);
- $saved_stack = $1;
- $vla$alloca_mul = ($0*48)|0;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $2 = $NSQ$addr;
- $sLTP_shp_Q14 = ((($2)) + 1280|0);
- $3 = $NSQ$addr;
- $sLTP_shp_buf_idx = ((($3)) + 4364|0);
- $4 = HEAP32[$sLTP_shp_buf_idx>>2]|0;
- $5 = $lag$addr;
- $sub = (($4) - ($5))|0;
- $add = (($sub) + 1)|0;
- $arrayidx = (($sLTP_shp_Q14) + ($add<<2)|0);
- $shp_lag_ptr = $arrayidx;
- $6 = $sLTP_Q15$addr;
- $7 = $NSQ$addr;
- $sLTP_buf_idx = ((($7)) + 4360|0);
- $8 = HEAP32[$sLTP_buf_idx>>2]|0;
- $9 = $lag$addr;
- $sub1 = (($8) - ($9))|0;
- $add2 = (($sub1) + 2)|0;
- $arrayidx3 = (($6) + ($add2<<2)|0);
- $pred_lag_ptr = $arrayidx3;
- $10 = $Gain_Q16$addr;
- $shr = $10 >> 6;
- $Gain_Q10 = $shr;
- $i = 0;
- while(1) {
- $11 = $i;
- $12 = $length$addr;
- $cmp = ($11|0)<($12|0);
- if (!($cmp)) {
+ STACKTOP = STACKTOP + 512|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(512|0);
+ $vararg_buffer206 = sp + 48|0;
+ $vararg_buffer200 = sp + 40|0;
+ $vararg_buffer194 = sp + 32|0;
+ $vararg_buffer186 = sp + 24|0;
+ $vararg_buffer174 = sp + 16|0;
+ $vararg_buffer126 = sp + 8|0;
+ $vararg_buffer = sp;
+ $7 = sp + 464|0;
+ $79 = sp + 88|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = 0;
+ HEAP32[$7>>2] = $varargs;
+ $89 = $3;
+ $90 = $3;
+ $91 = HEAP32[$90>>2]|0;
+ $92 = (($89) + ($91)|0);
+ $6 = $92;
+ $93 = $4;
+ L1: do {
+ switch ($93|0) {
+ case 4000: {
+ $arglist_current = HEAP32[$7>>2]|0;
+ $94 = $arglist_current;
+ $95 = ((0) + 4|0);
+ $expanded2 = $95;
+ $expanded = (($expanded2) - 1)|0;
+ $96 = (($94) + ($expanded))|0;
+ $97 = ((0) + 4|0);
+ $expanded6 = $97;
+ $expanded5 = (($expanded6) - 1)|0;
+ $expanded4 = $expanded5 ^ -1;
+ $98 = $96 & $expanded4;
+ $99 = $98;
+ $100 = HEAP32[$99>>2]|0;
+ $arglist_next = ((($99)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next;
+ $9 = $100;
+ $101 = $9;
+ $8 = $101;
+ $102 = $8;
+ $103 = ($102|0)!=(2048);
+ $104 = $8;
+ $105 = ($104|0)!=(2049);
+ $or$cond = $103 & $105;
+ $106 = $8;
+ $107 = ($106|0)!=(2051);
+ $or$cond3 = $or$cond & $107;
+ do {
+ if (!($or$cond3)) {
+ $108 = $3;
+ $109 = ((($108)) + 14344|0);
+ $110 = HEAP32[$109>>2]|0;
+ $111 = ($110|0)!=(0);
+ if (!($111)) {
+ $112 = $3;
+ $113 = ((($112)) + 96|0);
+ $114 = HEAP32[$113>>2]|0;
+ $115 = $8;
+ $116 = ($114|0)!=($115|0);
+ if ($116) {
+ break;
+ }
+ }
+ $117 = $8;
+ $118 = $3;
+ $119 = ((($118)) + 96|0);
+ HEAP32[$119>>2] = $117;
+ label = 95;
+ break L1;
+ }
+ } while(0);
+ $5 = -1;
+ label = 95;
break;
}
- $13 = $signalType$addr;
- $cmp4 = ($13|0)==(2);
- if ($cmp4) {
- $LTP_pred_Q14 = 2;
- $14 = $LTP_pred_Q14;
- $15 = $pred_lag_ptr;
- $16 = HEAP32[$15>>2]|0;
- $shr6 = $16 >> 16;
- $17 = $b_Q14$addr;
- $18 = HEAP16[$17>>1]|0;
- $conv = $18 << 16 >> 16;
- $mul = Math_imul($shr6, $conv)|0;
- $19 = $pred_lag_ptr;
- $20 = HEAP32[$19>>2]|0;
- $and = $20 & 65535;
- $21 = $b_Q14$addr;
- $22 = HEAP16[$21>>1]|0;
- $conv10 = $22 << 16 >> 16;
- $mul11 = Math_imul($and, $conv10)|0;
- $shr12 = $mul11 >> 16;
- $add13 = (($mul) + ($shr12))|0;
- $add14 = (($14) + ($add13))|0;
- $LTP_pred_Q14 = $add14;
- $23 = $LTP_pred_Q14;
- $24 = $pred_lag_ptr;
- $arrayidx15 = ((($24)) + -4|0);
- $25 = HEAP32[$arrayidx15>>2]|0;
- $shr16 = $25 >> 16;
- $26 = $b_Q14$addr;
- $arrayidx17 = ((($26)) + 2|0);
- $27 = HEAP16[$arrayidx17>>1]|0;
- $conv18 = $27 << 16 >> 16;
- $mul19 = Math_imul($shr16, $conv18)|0;
- $28 = $pred_lag_ptr;
- $arrayidx20 = ((($28)) + -4|0);
- $29 = HEAP32[$arrayidx20>>2]|0;
- $and21 = $29 & 65535;
- $30 = $b_Q14$addr;
- $arrayidx22 = ((($30)) + 2|0);
- $31 = HEAP16[$arrayidx22>>1]|0;
- $conv23 = $31 << 16 >> 16;
- $mul24 = Math_imul($and21, $conv23)|0;
- $shr25 = $mul24 >> 16;
- $add26 = (($mul19) + ($shr25))|0;
- $add27 = (($23) + ($add26))|0;
- $LTP_pred_Q14 = $add27;
- $32 = $LTP_pred_Q14;
- $33 = $pred_lag_ptr;
- $arrayidx28 = ((($33)) + -8|0);
- $34 = HEAP32[$arrayidx28>>2]|0;
- $shr29 = $34 >> 16;
- $35 = $b_Q14$addr;
- $arrayidx30 = ((($35)) + 4|0);
- $36 = HEAP16[$arrayidx30>>1]|0;
- $conv31 = $36 << 16 >> 16;
- $mul32 = Math_imul($shr29, $conv31)|0;
- $37 = $pred_lag_ptr;
- $arrayidx33 = ((($37)) + -8|0);
- $38 = HEAP32[$arrayidx33>>2]|0;
- $and34 = $38 & 65535;
- $39 = $b_Q14$addr;
- $arrayidx35 = ((($39)) + 4|0);
- $40 = HEAP16[$arrayidx35>>1]|0;
- $conv36 = $40 << 16 >> 16;
- $mul37 = Math_imul($and34, $conv36)|0;
- $shr38 = $mul37 >> 16;
- $add39 = (($mul32) + ($shr38))|0;
- $add40 = (($32) + ($add39))|0;
- $LTP_pred_Q14 = $add40;
- $41 = $LTP_pred_Q14;
- $42 = $pred_lag_ptr;
- $arrayidx41 = ((($42)) + -12|0);
- $43 = HEAP32[$arrayidx41>>2]|0;
- $shr42 = $43 >> 16;
- $44 = $b_Q14$addr;
- $arrayidx43 = ((($44)) + 6|0);
- $45 = HEAP16[$arrayidx43>>1]|0;
- $conv44 = $45 << 16 >> 16;
- $mul45 = Math_imul($shr42, $conv44)|0;
- $46 = $pred_lag_ptr;
- $arrayidx46 = ((($46)) + -12|0);
- $47 = HEAP32[$arrayidx46>>2]|0;
- $and47 = $47 & 65535;
- $48 = $b_Q14$addr;
- $arrayidx48 = ((($48)) + 6|0);
- $49 = HEAP16[$arrayidx48>>1]|0;
- $conv49 = $49 << 16 >> 16;
- $mul50 = Math_imul($and47, $conv49)|0;
- $shr51 = $mul50 >> 16;
- $add52 = (($mul45) + ($shr51))|0;
- $add53 = (($41) + ($add52))|0;
- $LTP_pred_Q14 = $add53;
- $50 = $LTP_pred_Q14;
- $51 = $pred_lag_ptr;
- $arrayidx54 = ((($51)) + -16|0);
- $52 = HEAP32[$arrayidx54>>2]|0;
- $shr55 = $52 >> 16;
- $53 = $b_Q14$addr;
- $arrayidx56 = ((($53)) + 8|0);
- $54 = HEAP16[$arrayidx56>>1]|0;
- $conv57 = $54 << 16 >> 16;
- $mul58 = Math_imul($shr55, $conv57)|0;
- $55 = $pred_lag_ptr;
- $arrayidx59 = ((($55)) + -16|0);
- $56 = HEAP32[$arrayidx59>>2]|0;
- $and60 = $56 & 65535;
- $57 = $b_Q14$addr;
- $arrayidx61 = ((($57)) + 8|0);
- $58 = HEAP16[$arrayidx61>>1]|0;
- $conv62 = $58 << 16 >> 16;
- $mul63 = Math_imul($and60, $conv62)|0;
- $shr64 = $mul63 >> 16;
- $add65 = (($mul58) + ($shr64))|0;
- $add66 = (($50) + ($add65))|0;
- $LTP_pred_Q14 = $add66;
- $59 = $LTP_pred_Q14;
- $shl = $59 << 1;
- $LTP_pred_Q14 = $shl;
- $60 = $pred_lag_ptr;
- $incdec$ptr = ((($60)) + 4|0);
- $pred_lag_ptr = $incdec$ptr;
- } else {
- $LTP_pred_Q14 = 0;
- }
- $61 = $lag$addr;
- $cmp67 = ($61|0)>(0);
- if ($cmp67) {
- $62 = $shp_lag_ptr;
- $63 = HEAP32[$62>>2]|0;
- $64 = $shp_lag_ptr;
- $arrayidx71 = ((($64)) + -8|0);
- $65 = HEAP32[$arrayidx71>>2]|0;
- $add72 = (($63) + ($65))|0;
- $shr73 = $add72 >> 16;
- $66 = $HarmShapeFIRPacked_Q14$addr;
- $conv74 = $66&65535;
- $conv75 = $conv74 << 16 >> 16;
- $mul76 = Math_imul($shr73, $conv75)|0;
- $67 = $shp_lag_ptr;
- $68 = HEAP32[$67>>2]|0;
- $69 = $shp_lag_ptr;
- $arrayidx78 = ((($69)) + -8|0);
- $70 = HEAP32[$arrayidx78>>2]|0;
- $add79 = (($68) + ($70))|0;
- $and80 = $add79 & 65535;
- $71 = $HarmShapeFIRPacked_Q14$addr;
- $conv81 = $71&65535;
- $conv82 = $conv81 << 16 >> 16;
- $mul83 = Math_imul($and80, $conv82)|0;
- $shr84 = $mul83 >> 16;
- $add85 = (($mul76) + ($shr84))|0;
- $n_LTP_Q14 = $add85;
- $72 = $n_LTP_Q14;
- $73 = $shp_lag_ptr;
- $arrayidx86 = ((($73)) + -4|0);
- $74 = HEAP32[$arrayidx86>>2]|0;
- $shr87 = $74 >> 16;
- $75 = $HarmShapeFIRPacked_Q14$addr;
- $shr88 = $75 >> 16;
- $mul89 = Math_imul($shr87, $shr88)|0;
- $add90 = (($72) + ($mul89))|0;
- $76 = $shp_lag_ptr;
- $arrayidx91 = ((($76)) + -4|0);
- $77 = HEAP32[$arrayidx91>>2]|0;
- $and92 = $77 & 65535;
- $78 = $HarmShapeFIRPacked_Q14$addr;
- $shr93 = $78 >> 16;
- $mul94 = Math_imul($and92, $shr93)|0;
- $shr95 = $mul94 >> 16;
- $add96 = (($add90) + ($shr95))|0;
- $n_LTP_Q14 = $add96;
- $79 = $LTP_pred_Q14;
- $80 = $n_LTP_Q14;
- $shl97 = $80 << 2;
- $sub98 = (($79) - ($shl97))|0;
- $n_LTP_Q14 = $sub98;
- $81 = $shp_lag_ptr;
- $incdec$ptr99 = ((($81)) + 4|0);
- $shp_lag_ptr = $incdec$ptr99;
- } else {
- $n_LTP_Q14 = 0;
- }
- $k = 0;
- while(1) {
- $82 = $k;
- $83 = $nStatesDelayedDecision$addr;
- $cmp103 = ($82|0)<($83|0);
- if (!($cmp103)) {
- break;
- }
- $84 = $psDelDec$addr;
- $85 = $k;
- $arrayidx106 = (($84) + (($85*1168)|0)|0);
- $psDD = $arrayidx106;
- $86 = $k;
- $arrayidx107 = (($vla) + (($86*48)|0)|0);
- $psSS = $arrayidx107;
- $87 = $psDD;
- $Seed = ((($87)) + 1156|0);
- $88 = HEAP32[$Seed>>2]|0;
- $mul108 = Math_imul($88, 196314165)|0;
- $add109 = (907633515 + ($mul108))|0;
- $89 = $psDD;
- $Seed110 = ((($89)) + 1156|0);
- HEAP32[$Seed110>>2] = $add109;
- $90 = $psDD;
- $91 = $i;
- $add111 = (31 + ($91))|0;
- $arrayidx112 = (($90) + ($add111<<2)|0);
- $psLPC_Q14 = $arrayidx112;
- $92 = $predictLPCOrder$addr;
- $shr113 = $92 >> 1;
- $LPC_pred_Q14 = $shr113;
- $93 = $LPC_pred_Q14;
- $94 = $psLPC_Q14;
- $95 = HEAP32[$94>>2]|0;
- $shr115 = $95 >> 16;
- $96 = $a_Q12$addr;
- $97 = HEAP16[$96>>1]|0;
- $conv117 = $97 << 16 >> 16;
- $mul118 = Math_imul($shr115, $conv117)|0;
- $98 = $psLPC_Q14;
- $99 = HEAP32[$98>>2]|0;
- $and120 = $99 & 65535;
- $100 = $a_Q12$addr;
- $101 = HEAP16[$100>>1]|0;
- $conv122 = $101 << 16 >> 16;
- $mul123 = Math_imul($and120, $conv122)|0;
- $shr124 = $mul123 >> 16;
- $add125 = (($mul118) + ($shr124))|0;
- $add126 = (($93) + ($add125))|0;
- $LPC_pred_Q14 = $add126;
- $102 = $LPC_pred_Q14;
- $103 = $psLPC_Q14;
- $arrayidx127 = ((($103)) + -4|0);
- $104 = HEAP32[$arrayidx127>>2]|0;
- $shr128 = $104 >> 16;
- $105 = $a_Q12$addr;
- $arrayidx129 = ((($105)) + 2|0);
- $106 = HEAP16[$arrayidx129>>1]|0;
- $conv130 = $106 << 16 >> 16;
- $mul131 = Math_imul($shr128, $conv130)|0;
- $107 = $psLPC_Q14;
- $arrayidx132 = ((($107)) + -4|0);
- $108 = HEAP32[$arrayidx132>>2]|0;
- $and133 = $108 & 65535;
- $109 = $a_Q12$addr;
- $arrayidx134 = ((($109)) + 2|0);
- $110 = HEAP16[$arrayidx134>>1]|0;
- $conv135 = $110 << 16 >> 16;
- $mul136 = Math_imul($and133, $conv135)|0;
- $shr137 = $mul136 >> 16;
- $add138 = (($mul131) + ($shr137))|0;
- $add139 = (($102) + ($add138))|0;
- $LPC_pred_Q14 = $add139;
- $111 = $LPC_pred_Q14;
- $112 = $psLPC_Q14;
- $arrayidx140 = ((($112)) + -8|0);
- $113 = HEAP32[$arrayidx140>>2]|0;
- $shr141 = $113 >> 16;
- $114 = $a_Q12$addr;
- $arrayidx142 = ((($114)) + 4|0);
- $115 = HEAP16[$arrayidx142>>1]|0;
- $conv143 = $115 << 16 >> 16;
- $mul144 = Math_imul($shr141, $conv143)|0;
- $116 = $psLPC_Q14;
- $arrayidx145 = ((($116)) + -8|0);
- $117 = HEAP32[$arrayidx145>>2]|0;
- $and146 = $117 & 65535;
- $118 = $a_Q12$addr;
- $arrayidx147 = ((($118)) + 4|0);
- $119 = HEAP16[$arrayidx147>>1]|0;
- $conv148 = $119 << 16 >> 16;
- $mul149 = Math_imul($and146, $conv148)|0;
- $shr150 = $mul149 >> 16;
- $add151 = (($mul144) + ($shr150))|0;
- $add152 = (($111) + ($add151))|0;
- $LPC_pred_Q14 = $add152;
- $120 = $LPC_pred_Q14;
- $121 = $psLPC_Q14;
- $arrayidx153 = ((($121)) + -12|0);
- $122 = HEAP32[$arrayidx153>>2]|0;
- $shr154 = $122 >> 16;
- $123 = $a_Q12$addr;
- $arrayidx155 = ((($123)) + 6|0);
- $124 = HEAP16[$arrayidx155>>1]|0;
- $conv156 = $124 << 16 >> 16;
- $mul157 = Math_imul($shr154, $conv156)|0;
- $125 = $psLPC_Q14;
- $arrayidx158 = ((($125)) + -12|0);
- $126 = HEAP32[$arrayidx158>>2]|0;
- $and159 = $126 & 65535;
- $127 = $a_Q12$addr;
- $arrayidx160 = ((($127)) + 6|0);
- $128 = HEAP16[$arrayidx160>>1]|0;
- $conv161 = $128 << 16 >> 16;
- $mul162 = Math_imul($and159, $conv161)|0;
- $shr163 = $mul162 >> 16;
- $add164 = (($mul157) + ($shr163))|0;
- $add165 = (($120) + ($add164))|0;
- $LPC_pred_Q14 = $add165;
- $129 = $LPC_pred_Q14;
- $130 = $psLPC_Q14;
- $arrayidx166 = ((($130)) + -16|0);
- $131 = HEAP32[$arrayidx166>>2]|0;
- $shr167 = $131 >> 16;
- $132 = $a_Q12$addr;
- $arrayidx168 = ((($132)) + 8|0);
- $133 = HEAP16[$arrayidx168>>1]|0;
- $conv169 = $133 << 16 >> 16;
- $mul170 = Math_imul($shr167, $conv169)|0;
- $134 = $psLPC_Q14;
- $arrayidx171 = ((($134)) + -16|0);
- $135 = HEAP32[$arrayidx171>>2]|0;
- $and172 = $135 & 65535;
- $136 = $a_Q12$addr;
- $arrayidx173 = ((($136)) + 8|0);
- $137 = HEAP16[$arrayidx173>>1]|0;
- $conv174 = $137 << 16 >> 16;
- $mul175 = Math_imul($and172, $conv174)|0;
- $shr176 = $mul175 >> 16;
- $add177 = (($mul170) + ($shr176))|0;
- $add178 = (($129) + ($add177))|0;
- $LPC_pred_Q14 = $add178;
- $138 = $LPC_pred_Q14;
- $139 = $psLPC_Q14;
- $arrayidx179 = ((($139)) + -20|0);
- $140 = HEAP32[$arrayidx179>>2]|0;
- $shr180 = $140 >> 16;
- $141 = $a_Q12$addr;
- $arrayidx181 = ((($141)) + 10|0);
- $142 = HEAP16[$arrayidx181>>1]|0;
- $conv182 = $142 << 16 >> 16;
- $mul183 = Math_imul($shr180, $conv182)|0;
- $143 = $psLPC_Q14;
- $arrayidx184 = ((($143)) + -20|0);
- $144 = HEAP32[$arrayidx184>>2]|0;
- $and185 = $144 & 65535;
- $145 = $a_Q12$addr;
- $arrayidx186 = ((($145)) + 10|0);
- $146 = HEAP16[$arrayidx186>>1]|0;
- $conv187 = $146 << 16 >> 16;
- $mul188 = Math_imul($and185, $conv187)|0;
- $shr189 = $mul188 >> 16;
- $add190 = (($mul183) + ($shr189))|0;
- $add191 = (($138) + ($add190))|0;
- $LPC_pred_Q14 = $add191;
- $147 = $LPC_pred_Q14;
- $148 = $psLPC_Q14;
- $arrayidx192 = ((($148)) + -24|0);
- $149 = HEAP32[$arrayidx192>>2]|0;
- $shr193 = $149 >> 16;
- $150 = $a_Q12$addr;
- $arrayidx194 = ((($150)) + 12|0);
- $151 = HEAP16[$arrayidx194>>1]|0;
- $conv195 = $151 << 16 >> 16;
- $mul196 = Math_imul($shr193, $conv195)|0;
- $152 = $psLPC_Q14;
- $arrayidx197 = ((($152)) + -24|0);
- $153 = HEAP32[$arrayidx197>>2]|0;
- $and198 = $153 & 65535;
- $154 = $a_Q12$addr;
- $arrayidx199 = ((($154)) + 12|0);
- $155 = HEAP16[$arrayidx199>>1]|0;
- $conv200 = $155 << 16 >> 16;
- $mul201 = Math_imul($and198, $conv200)|0;
- $shr202 = $mul201 >> 16;
- $add203 = (($mul196) + ($shr202))|0;
- $add204 = (($147) + ($add203))|0;
- $LPC_pred_Q14 = $add204;
- $156 = $LPC_pred_Q14;
- $157 = $psLPC_Q14;
- $arrayidx205 = ((($157)) + -28|0);
- $158 = HEAP32[$arrayidx205>>2]|0;
- $shr206 = $158 >> 16;
- $159 = $a_Q12$addr;
- $arrayidx207 = ((($159)) + 14|0);
- $160 = HEAP16[$arrayidx207>>1]|0;
- $conv208 = $160 << 16 >> 16;
- $mul209 = Math_imul($shr206, $conv208)|0;
- $161 = $psLPC_Q14;
- $arrayidx210 = ((($161)) + -28|0);
- $162 = HEAP32[$arrayidx210>>2]|0;
- $and211 = $162 & 65535;
- $163 = $a_Q12$addr;
- $arrayidx212 = ((($163)) + 14|0);
- $164 = HEAP16[$arrayidx212>>1]|0;
- $conv213 = $164 << 16 >> 16;
- $mul214 = Math_imul($and211, $conv213)|0;
- $shr215 = $mul214 >> 16;
- $add216 = (($mul209) + ($shr215))|0;
- $add217 = (($156) + ($add216))|0;
- $LPC_pred_Q14 = $add217;
- $165 = $LPC_pred_Q14;
- $166 = $psLPC_Q14;
- $arrayidx218 = ((($166)) + -32|0);
- $167 = HEAP32[$arrayidx218>>2]|0;
- $shr219 = $167 >> 16;
- $168 = $a_Q12$addr;
- $arrayidx220 = ((($168)) + 16|0);
- $169 = HEAP16[$arrayidx220>>1]|0;
- $conv221 = $169 << 16 >> 16;
- $mul222 = Math_imul($shr219, $conv221)|0;
- $170 = $psLPC_Q14;
- $arrayidx223 = ((($170)) + -32|0);
- $171 = HEAP32[$arrayidx223>>2]|0;
- $and224 = $171 & 65535;
- $172 = $a_Q12$addr;
- $arrayidx225 = ((($172)) + 16|0);
- $173 = HEAP16[$arrayidx225>>1]|0;
- $conv226 = $173 << 16 >> 16;
- $mul227 = Math_imul($and224, $conv226)|0;
- $shr228 = $mul227 >> 16;
- $add229 = (($mul222) + ($shr228))|0;
- $add230 = (($165) + ($add229))|0;
- $LPC_pred_Q14 = $add230;
- $174 = $LPC_pred_Q14;
- $175 = $psLPC_Q14;
- $arrayidx231 = ((($175)) + -36|0);
- $176 = HEAP32[$arrayidx231>>2]|0;
- $shr232 = $176 >> 16;
- $177 = $a_Q12$addr;
- $arrayidx233 = ((($177)) + 18|0);
- $178 = HEAP16[$arrayidx233>>1]|0;
- $conv234 = $178 << 16 >> 16;
- $mul235 = Math_imul($shr232, $conv234)|0;
- $179 = $psLPC_Q14;
- $arrayidx236 = ((($179)) + -36|0);
- $180 = HEAP32[$arrayidx236>>2]|0;
- $and237 = $180 & 65535;
- $181 = $a_Q12$addr;
- $arrayidx238 = ((($181)) + 18|0);
- $182 = HEAP16[$arrayidx238>>1]|0;
- $conv239 = $182 << 16 >> 16;
- $mul240 = Math_imul($and237, $conv239)|0;
- $shr241 = $mul240 >> 16;
- $add242 = (($mul235) + ($shr241))|0;
- $add243 = (($174) + ($add242))|0;
- $LPC_pred_Q14 = $add243;
- $183 = $predictLPCOrder$addr;
- $cmp244 = ($183|0)==(16);
- if ($cmp244) {
- $184 = $LPC_pred_Q14;
- $185 = $psLPC_Q14;
- $arrayidx247 = ((($185)) + -40|0);
- $186 = HEAP32[$arrayidx247>>2]|0;
- $shr248 = $186 >> 16;
- $187 = $a_Q12$addr;
- $arrayidx249 = ((($187)) + 20|0);
- $188 = HEAP16[$arrayidx249>>1]|0;
- $conv250 = $188 << 16 >> 16;
- $mul251 = Math_imul($shr248, $conv250)|0;
- $189 = $psLPC_Q14;
- $arrayidx252 = ((($189)) + -40|0);
- $190 = HEAP32[$arrayidx252>>2]|0;
- $and253 = $190 & 65535;
- $191 = $a_Q12$addr;
- $arrayidx254 = ((($191)) + 20|0);
- $192 = HEAP16[$arrayidx254>>1]|0;
- $conv255 = $192 << 16 >> 16;
- $mul256 = Math_imul($and253, $conv255)|0;
- $shr257 = $mul256 >> 16;
- $add258 = (($mul251) + ($shr257))|0;
- $add259 = (($184) + ($add258))|0;
- $LPC_pred_Q14 = $add259;
- $193 = $LPC_pred_Q14;
- $194 = $psLPC_Q14;
- $arrayidx260 = ((($194)) + -44|0);
- $195 = HEAP32[$arrayidx260>>2]|0;
- $shr261 = $195 >> 16;
- $196 = $a_Q12$addr;
- $arrayidx262 = ((($196)) + 22|0);
- $197 = HEAP16[$arrayidx262>>1]|0;
- $conv263 = $197 << 16 >> 16;
- $mul264 = Math_imul($shr261, $conv263)|0;
- $198 = $psLPC_Q14;
- $arrayidx265 = ((($198)) + -44|0);
- $199 = HEAP32[$arrayidx265>>2]|0;
- $and266 = $199 & 65535;
- $200 = $a_Q12$addr;
- $arrayidx267 = ((($200)) + 22|0);
- $201 = HEAP16[$arrayidx267>>1]|0;
- $conv268 = $201 << 16 >> 16;
- $mul269 = Math_imul($and266, $conv268)|0;
- $shr270 = $mul269 >> 16;
- $add271 = (($mul264) + ($shr270))|0;
- $add272 = (($193) + ($add271))|0;
- $LPC_pred_Q14 = $add272;
- $202 = $LPC_pred_Q14;
- $203 = $psLPC_Q14;
- $arrayidx273 = ((($203)) + -48|0);
- $204 = HEAP32[$arrayidx273>>2]|0;
- $shr274 = $204 >> 16;
- $205 = $a_Q12$addr;
- $arrayidx275 = ((($205)) + 24|0);
- $206 = HEAP16[$arrayidx275>>1]|0;
- $conv276 = $206 << 16 >> 16;
- $mul277 = Math_imul($shr274, $conv276)|0;
- $207 = $psLPC_Q14;
- $arrayidx278 = ((($207)) + -48|0);
- $208 = HEAP32[$arrayidx278>>2]|0;
- $and279 = $208 & 65535;
- $209 = $a_Q12$addr;
- $arrayidx280 = ((($209)) + 24|0);
- $210 = HEAP16[$arrayidx280>>1]|0;
- $conv281 = $210 << 16 >> 16;
- $mul282 = Math_imul($and279, $conv281)|0;
- $shr283 = $mul282 >> 16;
- $add284 = (($mul277) + ($shr283))|0;
- $add285 = (($202) + ($add284))|0;
- $LPC_pred_Q14 = $add285;
- $211 = $LPC_pred_Q14;
- $212 = $psLPC_Q14;
- $arrayidx286 = ((($212)) + -52|0);
- $213 = HEAP32[$arrayidx286>>2]|0;
- $shr287 = $213 >> 16;
- $214 = $a_Q12$addr;
- $arrayidx288 = ((($214)) + 26|0);
- $215 = HEAP16[$arrayidx288>>1]|0;
- $conv289 = $215 << 16 >> 16;
- $mul290 = Math_imul($shr287, $conv289)|0;
- $216 = $psLPC_Q14;
- $arrayidx291 = ((($216)) + -52|0);
- $217 = HEAP32[$arrayidx291>>2]|0;
- $and292 = $217 & 65535;
- $218 = $a_Q12$addr;
- $arrayidx293 = ((($218)) + 26|0);
- $219 = HEAP16[$arrayidx293>>1]|0;
- $conv294 = $219 << 16 >> 16;
- $mul295 = Math_imul($and292, $conv294)|0;
- $shr296 = $mul295 >> 16;
- $add297 = (($mul290) + ($shr296))|0;
- $add298 = (($211) + ($add297))|0;
- $LPC_pred_Q14 = $add298;
- $220 = $LPC_pred_Q14;
- $221 = $psLPC_Q14;
- $arrayidx299 = ((($221)) + -56|0);
- $222 = HEAP32[$arrayidx299>>2]|0;
- $shr300 = $222 >> 16;
- $223 = $a_Q12$addr;
- $arrayidx301 = ((($223)) + 28|0);
- $224 = HEAP16[$arrayidx301>>1]|0;
- $conv302 = $224 << 16 >> 16;
- $mul303 = Math_imul($shr300, $conv302)|0;
- $225 = $psLPC_Q14;
- $arrayidx304 = ((($225)) + -56|0);
- $226 = HEAP32[$arrayidx304>>2]|0;
- $and305 = $226 & 65535;
- $227 = $a_Q12$addr;
- $arrayidx306 = ((($227)) + 28|0);
- $228 = HEAP16[$arrayidx306>>1]|0;
- $conv307 = $228 << 16 >> 16;
- $mul308 = Math_imul($and305, $conv307)|0;
- $shr309 = $mul308 >> 16;
- $add310 = (($mul303) + ($shr309))|0;
- $add311 = (($220) + ($add310))|0;
- $LPC_pred_Q14 = $add311;
- $229 = $LPC_pred_Q14;
- $230 = $psLPC_Q14;
- $arrayidx312 = ((($230)) + -60|0);
- $231 = HEAP32[$arrayidx312>>2]|0;
- $shr313 = $231 >> 16;
- $232 = $a_Q12$addr;
- $arrayidx314 = ((($232)) + 30|0);
- $233 = HEAP16[$arrayidx314>>1]|0;
- $conv315 = $233 << 16 >> 16;
- $mul316 = Math_imul($shr313, $conv315)|0;
- $234 = $psLPC_Q14;
- $arrayidx317 = ((($234)) + -60|0);
- $235 = HEAP32[$arrayidx317>>2]|0;
- $and318 = $235 & 65535;
- $236 = $a_Q12$addr;
- $arrayidx319 = ((($236)) + 30|0);
- $237 = HEAP16[$arrayidx319>>1]|0;
- $conv320 = $237 << 16 >> 16;
- $mul321 = Math_imul($and318, $conv320)|0;
- $shr322 = $mul321 >> 16;
- $add323 = (($mul316) + ($shr322))|0;
- $add324 = (($229) + ($add323))|0;
- $LPC_pred_Q14 = $add324;
- }
- $238 = $LPC_pred_Q14;
- $shl326 = $238 << 4;
- $LPC_pred_Q14 = $shl326;
- $239 = $psLPC_Q14;
- $240 = HEAP32[$239>>2]|0;
- $241 = $psDD;
- $sAR2_Q14 = ((($241)) + 1088|0);
- $242 = HEAP32[$sAR2_Q14>>2]|0;
- $shr329 = $242 >> 16;
- $243 = $warping_Q16$addr;
- $conv330 = $243&65535;
- $conv331 = $conv330 << 16 >> 16;
- $mul332 = Math_imul($shr329, $conv331)|0;
- $244 = $psDD;
- $sAR2_Q14333 = ((($244)) + 1088|0);
- $245 = HEAP32[$sAR2_Q14333>>2]|0;
- $and335 = $245 & 65535;
- $246 = $warping_Q16$addr;
- $conv336 = $246&65535;
- $conv337 = $conv336 << 16 >> 16;
- $mul338 = Math_imul($and335, $conv337)|0;
- $shr339 = $mul338 >> 16;
- $add340 = (($mul332) + ($shr339))|0;
- $add341 = (($240) + ($add340))|0;
- $tmp2 = $add341;
- $247 = $psDD;
- $sAR2_Q14342 = ((($247)) + 1088|0);
- $248 = HEAP32[$sAR2_Q14342>>2]|0;
- $249 = $psDD;
- $sAR2_Q14344 = ((($249)) + 1088|0);
- $arrayidx345 = ((($sAR2_Q14344)) + 4|0);
- $250 = HEAP32[$arrayidx345>>2]|0;
- $251 = $tmp2;
- $sub346 = (($250) - ($251))|0;
- $shr347 = $sub346 >> 16;
- $252 = $warping_Q16$addr;
- $conv348 = $252&65535;
- $conv349 = $conv348 << 16 >> 16;
- $mul350 = Math_imul($shr347, $conv349)|0;
- $253 = $psDD;
- $sAR2_Q14351 = ((($253)) + 1088|0);
- $arrayidx352 = ((($sAR2_Q14351)) + 4|0);
- $254 = HEAP32[$arrayidx352>>2]|0;
- $255 = $tmp2;
- $sub353 = (($254) - ($255))|0;
- $and354 = $sub353 & 65535;
- $256 = $warping_Q16$addr;
- $conv355 = $256&65535;
- $conv356 = $conv355 << 16 >> 16;
- $mul357 = Math_imul($and354, $conv356)|0;
- $shr358 = $mul357 >> 16;
- $add359 = (($mul350) + ($shr358))|0;
- $add360 = (($248) + ($add359))|0;
- $tmp1 = $add360;
- $257 = $tmp2;
- $258 = $psDD;
- $sAR2_Q14361 = ((($258)) + 1088|0);
- HEAP32[$sAR2_Q14361>>2] = $257;
- $259 = $shapingLPCOrder$addr;
- $shr363 = $259 >> 1;
- $n_AR_Q14 = $shr363;
- $260 = $n_AR_Q14;
- $261 = $tmp2;
- $shr364 = $261 >> 16;
- $262 = $AR_shp_Q13$addr;
- $263 = HEAP16[$262>>1]|0;
- $conv366 = $263 << 16 >> 16;
- $mul367 = Math_imul($shr364, $conv366)|0;
- $264 = $tmp2;
- $and368 = $264 & 65535;
- $265 = $AR_shp_Q13$addr;
- $266 = HEAP16[$265>>1]|0;
- $conv370 = $266 << 16 >> 16;
- $mul371 = Math_imul($and368, $conv370)|0;
- $shr372 = $mul371 >> 16;
- $add373 = (($mul367) + ($shr372))|0;
- $add374 = (($260) + ($add373))|0;
- $n_AR_Q14 = $add374;
- $j = 2;
- while(1) {
- $267 = $j;
- $268 = $shapingLPCOrder$addr;
- $cmp376 = ($267|0)<($268|0);
- if (!($cmp376)) {
- break;
- }
- $269 = $psDD;
- $sAR2_Q14379 = ((($269)) + 1088|0);
- $270 = $j;
- $sub380 = (($270) - 1)|0;
- $arrayidx381 = (($sAR2_Q14379) + ($sub380<<2)|0);
- $271 = HEAP32[$arrayidx381>>2]|0;
- $272 = $psDD;
- $sAR2_Q14382 = ((($272)) + 1088|0);
- $273 = $j;
- $add383 = (($273) + 0)|0;
- $arrayidx384 = (($sAR2_Q14382) + ($add383<<2)|0);
- $274 = HEAP32[$arrayidx384>>2]|0;
- $275 = $tmp1;
- $sub385 = (($274) - ($275))|0;
- $shr386 = $sub385 >> 16;
- $276 = $warping_Q16$addr;
- $conv387 = $276&65535;
- $conv388 = $conv387 << 16 >> 16;
- $mul389 = Math_imul($shr386, $conv388)|0;
- $277 = $psDD;
- $sAR2_Q14390 = ((($277)) + 1088|0);
- $278 = $j;
- $add391 = (($278) + 0)|0;
- $arrayidx392 = (($sAR2_Q14390) + ($add391<<2)|0);
- $279 = HEAP32[$arrayidx392>>2]|0;
- $280 = $tmp1;
- $sub393 = (($279) - ($280))|0;
- $and394 = $sub393 & 65535;
- $281 = $warping_Q16$addr;
- $conv395 = $281&65535;
- $conv396 = $conv395 << 16 >> 16;
- $mul397 = Math_imul($and394, $conv396)|0;
- $shr398 = $mul397 >> 16;
- $add399 = (($mul389) + ($shr398))|0;
- $add400 = (($271) + ($add399))|0;
- $tmp2 = $add400;
- $282 = $tmp1;
- $283 = $psDD;
- $sAR2_Q14401 = ((($283)) + 1088|0);
- $284 = $j;
- $sub402 = (($284) - 1)|0;
- $arrayidx403 = (($sAR2_Q14401) + ($sub402<<2)|0);
- HEAP32[$arrayidx403>>2] = $282;
- $285 = $n_AR_Q14;
- $286 = $tmp1;
- $shr404 = $286 >> 16;
- $287 = $AR_shp_Q13$addr;
- $288 = $j;
- $sub405 = (($288) - 1)|0;
- $arrayidx406 = (($287) + ($sub405<<1)|0);
- $289 = HEAP16[$arrayidx406>>1]|0;
- $conv407 = $289 << 16 >> 16;
- $mul408 = Math_imul($shr404, $conv407)|0;
- $290 = $tmp1;
- $and409 = $290 & 65535;
- $291 = $AR_shp_Q13$addr;
- $292 = $j;
- $sub410 = (($292) - 1)|0;
- $arrayidx411 = (($291) + ($sub410<<1)|0);
- $293 = HEAP16[$arrayidx411>>1]|0;
- $conv412 = $293 << 16 >> 16;
- $mul413 = Math_imul($and409, $conv412)|0;
- $shr414 = $mul413 >> 16;
- $add415 = (($mul408) + ($shr414))|0;
- $add416 = (($285) + ($add415))|0;
- $n_AR_Q14 = $add416;
- $294 = $psDD;
- $sAR2_Q14417 = ((($294)) + 1088|0);
- $295 = $j;
- $add418 = (($295) + 0)|0;
- $arrayidx419 = (($sAR2_Q14417) + ($add418<<2)|0);
- $296 = HEAP32[$arrayidx419>>2]|0;
- $297 = $psDD;
- $sAR2_Q14420 = ((($297)) + 1088|0);
- $298 = $j;
- $add421 = (($298) + 1)|0;
- $arrayidx422 = (($sAR2_Q14420) + ($add421<<2)|0);
- $299 = HEAP32[$arrayidx422>>2]|0;
- $300 = $tmp2;
- $sub423 = (($299) - ($300))|0;
- $shr424 = $sub423 >> 16;
- $301 = $warping_Q16$addr;
- $conv425 = $301&65535;
- $conv426 = $conv425 << 16 >> 16;
- $mul427 = Math_imul($shr424, $conv426)|0;
- $302 = $psDD;
- $sAR2_Q14428 = ((($302)) + 1088|0);
- $303 = $j;
- $add429 = (($303) + 1)|0;
- $arrayidx430 = (($sAR2_Q14428) + ($add429<<2)|0);
- $304 = HEAP32[$arrayidx430>>2]|0;
- $305 = $tmp2;
- $sub431 = (($304) - ($305))|0;
- $and432 = $sub431 & 65535;
- $306 = $warping_Q16$addr;
- $conv433 = $306&65535;
- $conv434 = $conv433 << 16 >> 16;
- $mul435 = Math_imul($and432, $conv434)|0;
- $shr436 = $mul435 >> 16;
- $add437 = (($mul427) + ($shr436))|0;
- $add438 = (($296) + ($add437))|0;
- $tmp1 = $add438;
- $307 = $tmp2;
- $308 = $psDD;
- $sAR2_Q14439 = ((($308)) + 1088|0);
- $309 = $j;
- $add440 = (($309) + 0)|0;
- $arrayidx441 = (($sAR2_Q14439) + ($add440<<2)|0);
- HEAP32[$arrayidx441>>2] = $307;
- $310 = $n_AR_Q14;
- $311 = $tmp2;
- $shr442 = $311 >> 16;
- $312 = $AR_shp_Q13$addr;
- $313 = $j;
- $arrayidx443 = (($312) + ($313<<1)|0);
- $314 = HEAP16[$arrayidx443>>1]|0;
- $conv444 = $314 << 16 >> 16;
- $mul445 = Math_imul($shr442, $conv444)|0;
- $315 = $tmp2;
- $and446 = $315 & 65535;
- $316 = $AR_shp_Q13$addr;
- $317 = $j;
- $arrayidx447 = (($316) + ($317<<1)|0);
- $318 = HEAP16[$arrayidx447>>1]|0;
- $conv448 = $318 << 16 >> 16;
- $mul449 = Math_imul($and446, $conv448)|0;
- $shr450 = $mul449 >> 16;
- $add451 = (($mul445) + ($shr450))|0;
- $add452 = (($310) + ($add451))|0;
- $n_AR_Q14 = $add452;
- $319 = $j;
- $add453 = (($319) + 2)|0;
- $j = $add453;
- }
- $320 = $tmp1;
- $321 = $psDD;
- $sAR2_Q14454 = ((($321)) + 1088|0);
- $322 = $shapingLPCOrder$addr;
- $sub455 = (($322) - 1)|0;
- $arrayidx456 = (($sAR2_Q14454) + ($sub455<<2)|0);
- HEAP32[$arrayidx456>>2] = $320;
- $323 = $n_AR_Q14;
- $324 = $tmp1;
- $shr457 = $324 >> 16;
- $325 = $AR_shp_Q13$addr;
- $326 = $shapingLPCOrder$addr;
- $sub458 = (($326) - 1)|0;
- $arrayidx459 = (($325) + ($sub458<<1)|0);
- $327 = HEAP16[$arrayidx459>>1]|0;
- $conv460 = $327 << 16 >> 16;
- $mul461 = Math_imul($shr457, $conv460)|0;
- $328 = $tmp1;
- $and462 = $328 & 65535;
- $329 = $AR_shp_Q13$addr;
- $330 = $shapingLPCOrder$addr;
- $sub463 = (($330) - 1)|0;
- $arrayidx464 = (($329) + ($sub463<<1)|0);
- $331 = HEAP16[$arrayidx464>>1]|0;
- $conv465 = $331 << 16 >> 16;
- $mul466 = Math_imul($and462, $conv465)|0;
- $shr467 = $mul466 >> 16;
- $add468 = (($mul461) + ($shr467))|0;
- $add469 = (($323) + ($add468))|0;
- $n_AR_Q14 = $add469;
- $332 = $n_AR_Q14;
- $shl470 = $332 << 1;
- $n_AR_Q14 = $shl470;
- $333 = $n_AR_Q14;
- $334 = $psDD;
- $LF_AR_Q14 = ((($334)) + 1152|0);
- $335 = HEAP32[$LF_AR_Q14>>2]|0;
- $shr471 = $335 >> 16;
- $336 = $Tilt_Q14$addr;
- $conv472 = $336&65535;
- $conv473 = $conv472 << 16 >> 16;
- $mul474 = Math_imul($shr471, $conv473)|0;
- $337 = $psDD;
- $LF_AR_Q14475 = ((($337)) + 1152|0);
- $338 = HEAP32[$LF_AR_Q14475>>2]|0;
- $and476 = $338 & 65535;
- $339 = $Tilt_Q14$addr;
- $conv477 = $339&65535;
- $conv478 = $conv477 << 16 >> 16;
- $mul479 = Math_imul($and476, $conv478)|0;
- $shr480 = $mul479 >> 16;
- $add481 = (($mul474) + ($shr480))|0;
- $add482 = (($333) + ($add481))|0;
- $n_AR_Q14 = $add482;
- $340 = $n_AR_Q14;
- $shl483 = $340 << 2;
- $n_AR_Q14 = $shl483;
- $341 = $psDD;
- $Shape_Q14 = ((($341)) + 960|0);
- $342 = $smpl_buf_idx$addr;
- $343 = HEAP32[$342>>2]|0;
- $arrayidx484 = (($Shape_Q14) + ($343<<2)|0);
- $344 = HEAP32[$arrayidx484>>2]|0;
- $shr485 = $344 >> 16;
- $345 = $LF_shp_Q14$addr;
- $conv486 = $345&65535;
- $conv487 = $conv486 << 16 >> 16;
- $mul488 = Math_imul($shr485, $conv487)|0;
- $346 = $psDD;
- $Shape_Q14489 = ((($346)) + 960|0);
- $347 = $smpl_buf_idx$addr;
- $348 = HEAP32[$347>>2]|0;
- $arrayidx490 = (($Shape_Q14489) + ($348<<2)|0);
- $349 = HEAP32[$arrayidx490>>2]|0;
- $and491 = $349 & 65535;
- $350 = $LF_shp_Q14$addr;
- $conv492 = $350&65535;
- $conv493 = $conv492 << 16 >> 16;
- $mul494 = Math_imul($and491, $conv493)|0;
- $shr495 = $mul494 >> 16;
- $add496 = (($mul488) + ($shr495))|0;
- $n_LF_Q14 = $add496;
- $351 = $n_LF_Q14;
- $352 = $psDD;
- $LF_AR_Q14497 = ((($352)) + 1152|0);
- $353 = HEAP32[$LF_AR_Q14497>>2]|0;
- $shr498 = $353 >> 16;
- $354 = $LF_shp_Q14$addr;
- $shr499 = $354 >> 16;
- $mul500 = Math_imul($shr498, $shr499)|0;
- $add501 = (($351) + ($mul500))|0;
- $355 = $psDD;
- $LF_AR_Q14502 = ((($355)) + 1152|0);
- $356 = HEAP32[$LF_AR_Q14502>>2]|0;
- $and503 = $356 & 65535;
- $357 = $LF_shp_Q14$addr;
- $shr504 = $357 >> 16;
- $mul505 = Math_imul($and503, $shr504)|0;
- $shr506 = $mul505 >> 16;
- $add507 = (($add501) + ($shr506))|0;
- $n_LF_Q14 = $add507;
- $358 = $n_LF_Q14;
- $shl508 = $358 << 2;
- $n_LF_Q14 = $shl508;
- $359 = $n_AR_Q14;
- $360 = $n_LF_Q14;
- $add509 = (($359) + ($360))|0;
- $tmp1 = $add509;
- $361 = $n_LTP_Q14;
- $362 = $LPC_pred_Q14;
- $add510 = (($361) + ($362))|0;
- $tmp2 = $add510;
- $363 = $tmp2;
- $364 = $tmp1;
- $sub511 = (($363) - ($364))|0;
- $tmp1 = $sub511;
- $365 = $tmp1;
- $shr512 = $365 >> 3;
- $add513 = (($shr512) + 1)|0;
- $shr514 = $add513 >> 1;
- $tmp1 = $shr514;
- $366 = $x_Q10$addr;
- $367 = $i;
- $arrayidx515 = (($366) + ($367<<2)|0);
- $368 = HEAP32[$arrayidx515>>2]|0;
- $369 = $tmp1;
- $sub516 = (($368) - ($369))|0;
- $r_Q10 = $sub516;
- $370 = $psDD;
- $Seed517 = ((($370)) + 1156|0);
- $371 = HEAP32[$Seed517>>2]|0;
- $cmp518 = ($371|0)<(0);
- if ($cmp518) {
- $372 = $r_Q10;
- $sub521 = (0 - ($372))|0;
- $r_Q10 = $sub521;
- }
- $373 = $r_Q10;
- $cmp523 = ($373|0)>(30720);
- if ($cmp523) {
- $cond530 = 30720;
+ case 4001: {
+ $arglist_current79 = HEAP32[$7>>2]|0;
+ $120 = $arglist_current79;
+ $121 = ((0) + 4|0);
+ $expanded9 = $121;
+ $expanded8 = (($expanded9) - 1)|0;
+ $122 = (($120) + ($expanded8))|0;
+ $123 = ((0) + 4|0);
+ $expanded13 = $123;
+ $expanded12 = (($expanded13) - 1)|0;
+ $expanded11 = $expanded12 ^ -1;
+ $124 = $122 & $expanded11;
+ $125 = $124;
+ $126 = HEAP32[$125>>2]|0;
+ $arglist_next80 = ((($125)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next80;
+ $11 = $126;
+ $127 = $11;
+ $10 = $127;
+ $128 = $10;
+ $129 = ($128|0)!=(0|0);
+ if ($129) {
+ $130 = $3;
+ $131 = ((($130)) + 96|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = $10;
+ HEAP32[$133>>2] = $132;
+ label = 95;
} else {
- $374 = $r_Q10;
- $cmp525 = ($374|0)<(-31744);
- $375 = $r_Q10;
- $cond = $cmp525 ? -31744 : $375;
- $cond530 = $cond;
+ label = 96;
}
- $r_Q10 = $cond530;
- $376 = $r_Q10;
- $377 = $offset_Q10$addr;
- $sub531 = (($376) - ($377))|0;
- $q1_Q10 = $sub531;
- $378 = $q1_Q10;
- $shr532 = $378 >> 10;
- $q1_Q0 = $shr532;
- $379 = $q1_Q0;
- $cmp533 = ($379|0)>(0);
- $380 = $q1_Q0;
+ break;
+ }
+ case 4002: {
+ $arglist_current82 = HEAP32[$7>>2]|0;
+ $134 = $arglist_current82;
+ $135 = ((0) + 4|0);
+ $expanded16 = $135;
+ $expanded15 = (($expanded16) - 1)|0;
+ $136 = (($134) + ($expanded15))|0;
+ $137 = ((0) + 4|0);
+ $expanded20 = $137;
+ $expanded19 = (($expanded20) - 1)|0;
+ $expanded18 = $expanded19 ^ -1;
+ $138 = $136 & $expanded18;
+ $139 = $138;
+ $140 = HEAP32[$139>>2]|0;
+ $arglist_next83 = ((($139)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next83;
+ $13 = $140;
+ $141 = $13;
+ $12 = $141;
+ $142 = $12;
+ $143 = ($142|0)!=(-1000);
+ $144 = $12;
+ $145 = ($144|0)!=(-1);
+ $or$cond5 = $143 & $145;
do {
- if ($cmp533) {
- $shl536 = $380 << 10;
- $sub537 = (($shl536) - 80)|0;
- $q1_Q10 = $sub537;
- $381 = $q1_Q10;
- $382 = $offset_Q10$addr;
- $add538 = (($381) + ($382))|0;
- $q1_Q10 = $add538;
- $383 = $q1_Q10;
- $add539 = (($383) + 1024)|0;
- $q2_Q10 = $add539;
- $384 = $q1_Q10;
- $conv540 = $384&65535;
- $conv541 = $conv540 << 16 >> 16;
- $385 = $Lambda_Q10$addr;
- $conv542 = $385&65535;
- $conv543 = $conv542 << 16 >> 16;
- $mul544 = Math_imul($conv541, $conv543)|0;
- $rd1_Q10 = $mul544;
- $386 = $q2_Q10;
- $conv545 = $386&65535;
- $conv546 = $conv545 << 16 >> 16;
- $387 = $Lambda_Q10$addr;
- $conv547 = $387&65535;
- $conv548 = $conv547 << 16 >> 16;
- $mul549 = Math_imul($conv546, $conv548)|0;
- $rd2_Q10 = $mul549;
- } else {
- $cmp551 = ($380|0)==(0);
- if ($cmp551) {
- $388 = $offset_Q10$addr;
- $q1_Q10 = $388;
- $389 = $q1_Q10;
- $add554 = (($389) + 944)|0;
- $q2_Q10 = $add554;
- $390 = $q1_Q10;
- $conv555 = $390&65535;
- $conv556 = $conv555 << 16 >> 16;
- $391 = $Lambda_Q10$addr;
- $conv557 = $391&65535;
- $conv558 = $conv557 << 16 >> 16;
- $mul559 = Math_imul($conv556, $conv558)|0;
- $rd1_Q10 = $mul559;
- $392 = $q2_Q10;
- $conv560 = $392&65535;
- $conv561 = $conv560 << 16 >> 16;
- $393 = $Lambda_Q10$addr;
- $conv562 = $393&65535;
- $conv563 = $conv562 << 16 >> 16;
- $mul564 = Math_imul($conv561, $conv563)|0;
- $rd2_Q10 = $mul564;
+ if ($or$cond5) {
+ $146 = $12;
+ $147 = ($146|0)<=(0);
+ if ($147) {
+ label = 96;
+ break L1;
+ }
+ $148 = $12;
+ $149 = ($148|0)<=(500);
+ if ($149) {
+ $12 = 500;
break;
}
- $394 = $q1_Q0;
- $cmp566 = ($394|0)==(-1);
- if ($cmp566) {
- $395 = $offset_Q10$addr;
- $q2_Q10 = $395;
- $396 = $q2_Q10;
- $sub569 = (($396) - 944)|0;
- $q1_Q10 = $sub569;
- $397 = $q1_Q10;
- $sub570 = (0 - ($397))|0;
- $conv571 = $sub570&65535;
- $conv572 = $conv571 << 16 >> 16;
- $398 = $Lambda_Q10$addr;
- $conv573 = $398&65535;
- $conv574 = $conv573 << 16 >> 16;
- $mul575 = Math_imul($conv572, $conv574)|0;
- $rd1_Q10 = $mul575;
- $399 = $q2_Q10;
- $conv576 = $399&65535;
- $conv577 = $conv576 << 16 >> 16;
- $400 = $Lambda_Q10$addr;
- $conv578 = $400&65535;
- $conv579 = $conv578 << 16 >> 16;
- $mul580 = Math_imul($conv577, $conv579)|0;
- $rd2_Q10 = $mul580;
+ $150 = $12;
+ $151 = $3;
+ $152 = ((($151)) + 100|0);
+ $153 = HEAP32[$152>>2]|0;
+ $154 = ($153*300000)|0;
+ $155 = ($150|0)>($154|0);
+ if ($155) {
+ $156 = $3;
+ $157 = ((($156)) + 100|0);
+ $158 = HEAP32[$157>>2]|0;
+ $159 = ($158*300000)|0;
+ $12 = $159;
+ }
+ }
+ } while(0);
+ $160 = $12;
+ $161 = $3;
+ $162 = ((($161)) + 152|0);
+ HEAP32[$162>>2] = $160;
+ label = 95;
+ break;
+ }
+ case 4003: {
+ $arglist_current85 = HEAP32[$7>>2]|0;
+ $163 = $arglist_current85;
+ $164 = ((0) + 4|0);
+ $expanded23 = $164;
+ $expanded22 = (($expanded23) - 1)|0;
+ $165 = (($163) + ($expanded22))|0;
+ $166 = ((0) + 4|0);
+ $expanded27 = $166;
+ $expanded26 = (($expanded27) - 1)|0;
+ $expanded25 = $expanded26 ^ -1;
+ $167 = $165 & $expanded25;
+ $168 = $167;
+ $169 = HEAP32[$168>>2]|0;
+ $arglist_next86 = ((($168)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next86;
+ $15 = $169;
+ $170 = $15;
+ $14 = $170;
+ $171 = $14;
+ $172 = ($171|0)!=(0|0);
+ if ($172) {
+ $173 = $3;
+ $174 = $3;
+ $175 = ((($174)) + 14332|0);
+ $176 = HEAP32[$175>>2]|0;
+ $177 = (_user_bitrate_to_bitrate($173,$176,1276)|0);
+ $178 = $14;
+ HEAP32[$178>>2] = $177;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4022: {
+ $arglist_current88 = HEAP32[$7>>2]|0;
+ $179 = $arglist_current88;
+ $180 = ((0) + 4|0);
+ $expanded30 = $180;
+ $expanded29 = (($expanded30) - 1)|0;
+ $181 = (($179) + ($expanded29))|0;
+ $182 = ((0) + 4|0);
+ $expanded34 = $182;
+ $expanded33 = (($expanded34) - 1)|0;
+ $expanded32 = $expanded33 ^ -1;
+ $183 = $181 & $expanded32;
+ $184 = $183;
+ $185 = HEAP32[$184>>2]|0;
+ $arglist_next89 = ((($184)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next89;
+ $17 = $185;
+ $186 = $17;
+ $16 = $186;
+ $187 = $16;
+ $188 = ($187|0)<(1);
+ $$old = $16;
+ if ($188) {
+ $$old6 = ($$old|0)!=(-1000);
+ if ($$old6) {
+ label = 96;
+ break L1;
+ }
+ } else {
+ $189 = $3;
+ $190 = ((($189)) + 100|0);
+ $191 = HEAP32[$190>>2]|0;
+ $192 = ($$old|0)>($191|0);
+ $193 = $16;
+ $194 = ($193|0)!=(-1000);
+ $or$cond7 = $192 & $194;
+ if ($or$cond7) {
+ label = 96;
+ break L1;
+ }
+ }
+ $195 = $16;
+ $196 = $3;
+ $197 = ((($196)) + 108|0);
+ HEAP32[$197>>2] = $195;
+ label = 95;
+ break;
+ }
+ case 4023: {
+ $arglist_current91 = HEAP32[$7>>2]|0;
+ $198 = $arglist_current91;
+ $199 = ((0) + 4|0);
+ $expanded37 = $199;
+ $expanded36 = (($expanded37) - 1)|0;
+ $200 = (($198) + ($expanded36))|0;
+ $201 = ((0) + 4|0);
+ $expanded41 = $201;
+ $expanded40 = (($expanded41) - 1)|0;
+ $expanded39 = $expanded40 ^ -1;
+ $202 = $200 & $expanded39;
+ $203 = $202;
+ $204 = HEAP32[$203>>2]|0;
+ $arglist_next92 = ((($203)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next92;
+ $19 = $204;
+ $205 = $19;
+ $18 = $205;
+ $206 = $18;
+ $207 = ($206|0)!=(0|0);
+ if ($207) {
+ $208 = $3;
+ $209 = ((($208)) + 108|0);
+ $210 = HEAP32[$209>>2]|0;
+ $211 = $18;
+ HEAP32[$211>>2] = $210;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4004: {
+ $arglist_current94 = HEAP32[$7>>2]|0;
+ $212 = $arglist_current94;
+ $213 = ((0) + 4|0);
+ $expanded44 = $213;
+ $expanded43 = (($expanded44) - 1)|0;
+ $214 = (($212) + ($expanded43))|0;
+ $215 = ((0) + 4|0);
+ $expanded48 = $215;
+ $expanded47 = (($expanded48) - 1)|0;
+ $expanded46 = $expanded47 ^ -1;
+ $216 = $214 & $expanded46;
+ $217 = $216;
+ $218 = HEAP32[$217>>2]|0;
+ $arglist_next95 = ((($217)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next95;
+ $21 = $218;
+ $219 = $21;
+ $20 = $219;
+ $220 = $20;
+ $221 = ($220|0)<(1101);
+ $222 = $20;
+ $223 = ($222|0)>(1105);
+ $or$cond10 = $221 | $223;
+ if ($or$cond10) {
+ label = 96;
+ } else {
+ $224 = $20;
+ $225 = $3;
+ $226 = ((($225)) + 120|0);
+ HEAP32[$226>>2] = $224;
+ $227 = $3;
+ $228 = ((($227)) + 120|0);
+ $229 = HEAP32[$228>>2]|0;
+ $230 = ($229|0)==(1101);
+ $231 = $3;
+ if ($230) {
+ $232 = ((($231)) + 8|0);
+ $233 = ((($232)) + 12|0);
+ HEAP32[$233>>2] = 8000;
+ label = 95;
+ break L1;
+ } else {
+ $234 = ((($231)) + 120|0);
+ $235 = HEAP32[$234>>2]|0;
+ $236 = ($235|0)==(1102);
+ $237 = $3;
+ $238 = ((($237)) + 8|0);
+ $239 = ((($238)) + 12|0);
+ $$sink = $236 ? 12000 : 16000;
+ HEAP32[$239>>2] = $$sink;
+ label = 95;
+ break L1;
+ }
+ }
+ break;
+ }
+ case 4005: {
+ $arglist_current97 = HEAP32[$7>>2]|0;
+ $240 = $arglist_current97;
+ $241 = ((0) + 4|0);
+ $expanded51 = $241;
+ $expanded50 = (($expanded51) - 1)|0;
+ $242 = (($240) + ($expanded50))|0;
+ $243 = ((0) + 4|0);
+ $expanded55 = $243;
+ $expanded54 = (($expanded55) - 1)|0;
+ $expanded53 = $expanded54 ^ -1;
+ $244 = $242 & $expanded53;
+ $245 = $244;
+ $246 = HEAP32[$245>>2]|0;
+ $arglist_next98 = ((($245)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next98;
+ $23 = $246;
+ $247 = $23;
+ $22 = $247;
+ $248 = $22;
+ $249 = ($248|0)!=(0|0);
+ if ($249) {
+ $250 = $3;
+ $251 = ((($250)) + 120|0);
+ $252 = HEAP32[$251>>2]|0;
+ $253 = $22;
+ HEAP32[$253>>2] = $252;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4008: {
+ $arglist_current100 = HEAP32[$7>>2]|0;
+ $254 = $arglist_current100;
+ $255 = ((0) + 4|0);
+ $expanded58 = $255;
+ $expanded57 = (($expanded58) - 1)|0;
+ $256 = (($254) + ($expanded57))|0;
+ $257 = ((0) + 4|0);
+ $expanded62 = $257;
+ $expanded61 = (($expanded62) - 1)|0;
+ $expanded60 = $expanded61 ^ -1;
+ $258 = $256 & $expanded60;
+ $259 = $258;
+ $260 = HEAP32[$259>>2]|0;
+ $arglist_next101 = ((($259)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next101;
+ $25 = $260;
+ $261 = $25;
+ $24 = $261;
+ $262 = $24;
+ $263 = ($262|0)<(1101);
+ $264 = $24;
+ $265 = ($264|0)>(1105);
+ $or$cond13 = $263 | $265;
+ $266 = $24;
+ $267 = ($266|0)!=(-1000);
+ $or$cond16 = $or$cond13 & $267;
+ if ($or$cond16) {
+ label = 96;
+ } else {
+ $268 = $24;
+ $269 = $3;
+ $270 = ((($269)) + 116|0);
+ HEAP32[$270>>2] = $268;
+ $271 = $3;
+ $272 = ((($271)) + 116|0);
+ $273 = HEAP32[$272>>2]|0;
+ $274 = ($273|0)==(1101);
+ $275 = $3;
+ if ($274) {
+ $276 = ((($275)) + 8|0);
+ $277 = ((($276)) + 12|0);
+ HEAP32[$277>>2] = 8000;
+ label = 95;
+ break L1;
+ } else {
+ $278 = ((($275)) + 116|0);
+ $279 = HEAP32[$278>>2]|0;
+ $280 = ($279|0)==(1102);
+ $281 = $3;
+ $282 = ((($281)) + 8|0);
+ $283 = ((($282)) + 12|0);
+ $$sink17 = $280 ? 12000 : 16000;
+ HEAP32[$283>>2] = $$sink17;
+ label = 95;
+ break L1;
+ }
+ }
+ break;
+ }
+ case 4009: {
+ $arglist_current103 = HEAP32[$7>>2]|0;
+ $284 = $arglist_current103;
+ $285 = ((0) + 4|0);
+ $expanded65 = $285;
+ $expanded64 = (($expanded65) - 1)|0;
+ $286 = (($284) + ($expanded64))|0;
+ $287 = ((0) + 4|0);
+ $expanded69 = $287;
+ $expanded68 = (($expanded69) - 1)|0;
+ $expanded67 = $expanded68 ^ -1;
+ $288 = $286 & $expanded67;
+ $289 = $288;
+ $290 = HEAP32[$289>>2]|0;
+ $arglist_next104 = ((($289)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next104;
+ $27 = $290;
+ $291 = $27;
+ $26 = $291;
+ $292 = $26;
+ $293 = ($292|0)!=(0|0);
+ if ($293) {
+ $294 = $3;
+ $295 = ((($294)) + 14336|0);
+ $296 = HEAP32[$295>>2]|0;
+ $297 = $26;
+ HEAP32[$297>>2] = $296;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4016: {
+ $arglist_current106 = HEAP32[$7>>2]|0;
+ $298 = $arglist_current106;
+ $299 = ((0) + 4|0);
+ $expanded72 = $299;
+ $expanded71 = (($expanded72) - 1)|0;
+ $300 = (($298) + ($expanded71))|0;
+ $301 = ((0) + 4|0);
+ $expanded76 = $301;
+ $expanded75 = (($expanded76) - 1)|0;
+ $expanded74 = $expanded75 ^ -1;
+ $302 = $300 & $expanded74;
+ $303 = $302;
+ $304 = HEAP32[$303>>2]|0;
+ $arglist_next107 = ((($303)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next107;
+ $29 = $304;
+ $305 = $29;
+ $28 = $305;
+ $306 = $28;
+ $307 = ($306|0)<(0);
+ $308 = $28;
+ $309 = ($308|0)>(1);
+ $or$cond20 = $307 | $309;
+ if ($or$cond20) {
+ label = 96;
+ } else {
+ $310 = $28;
+ $311 = $3;
+ $312 = ((($311)) + 8|0);
+ $313 = ((($312)) + 44|0);
+ HEAP32[$313>>2] = $310;
+ label = 95;
+ }
+ break;
+ }
+ case 4017: {
+ $arglist_current109 = HEAP32[$7>>2]|0;
+ $314 = $arglist_current109;
+ $315 = ((0) + 4|0);
+ $expanded79 = $315;
+ $expanded78 = (($expanded79) - 1)|0;
+ $316 = (($314) + ($expanded78))|0;
+ $317 = ((0) + 4|0);
+ $expanded83 = $317;
+ $expanded82 = (($expanded83) - 1)|0;
+ $expanded81 = $expanded82 ^ -1;
+ $318 = $316 & $expanded81;
+ $319 = $318;
+ $320 = HEAP32[$319>>2]|0;
+ $arglist_next110 = ((($319)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next110;
+ $31 = $320;
+ $321 = $31;
+ $30 = $321;
+ $322 = $30;
+ $323 = ($322|0)!=(0|0);
+ if ($323) {
+ $324 = $3;
+ $325 = ((($324)) + 8|0);
+ $326 = ((($325)) + 44|0);
+ $327 = HEAP32[$326>>2]|0;
+ $328 = $30;
+ HEAP32[$328>>2] = $327;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4010: {
+ $arglist_current112 = HEAP32[$7>>2]|0;
+ $329 = $arglist_current112;
+ $330 = ((0) + 4|0);
+ $expanded86 = $330;
+ $expanded85 = (($expanded86) - 1)|0;
+ $331 = (($329) + ($expanded85))|0;
+ $332 = ((0) + 4|0);
+ $expanded90 = $332;
+ $expanded89 = (($expanded90) - 1)|0;
+ $expanded88 = $expanded89 ^ -1;
+ $333 = $331 & $expanded88;
+ $334 = $333;
+ $335 = HEAP32[$334>>2]|0;
+ $arglist_next113 = ((($334)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next113;
+ $33 = $335;
+ $336 = $33;
+ $32 = $336;
+ $337 = $32;
+ $338 = ($337|0)<(0);
+ $339 = $32;
+ $340 = ($339|0)>(10);
+ $or$cond23 = $338 | $340;
+ if ($or$cond23) {
+ label = 96;
+ } else {
+ $341 = $32;
+ $342 = $3;
+ $343 = ((($342)) + 8|0);
+ $344 = ((($343)) + 36|0);
+ HEAP32[$344>>2] = $341;
+ $345 = $6;
+ $346 = $32;
+ HEAP32[$vararg_buffer>>2] = $346;
+ (_opus_custom_encoder_ctl($345,4010,$vararg_buffer)|0);
+ label = 95;
+ }
+ break;
+ }
+ case 4011: {
+ $arglist_current115 = HEAP32[$7>>2]|0;
+ $347 = $arglist_current115;
+ $348 = ((0) + 4|0);
+ $expanded93 = $348;
+ $expanded92 = (($expanded93) - 1)|0;
+ $349 = (($347) + ($expanded92))|0;
+ $350 = ((0) + 4|0);
+ $expanded97 = $350;
+ $expanded96 = (($expanded97) - 1)|0;
+ $expanded95 = $expanded96 ^ -1;
+ $351 = $349 & $expanded95;
+ $352 = $351;
+ $353 = HEAP32[$352>>2]|0;
+ $arglist_next116 = ((($352)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next116;
+ $35 = $353;
+ $354 = $35;
+ $34 = $354;
+ $355 = $34;
+ $356 = ($355|0)!=(0|0);
+ if ($356) {
+ $357 = $3;
+ $358 = ((($357)) + 8|0);
+ $359 = ((($358)) + 36|0);
+ $360 = HEAP32[$359>>2]|0;
+ $361 = $34;
+ HEAP32[$361>>2] = $360;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4012: {
+ $arglist_current118 = HEAP32[$7>>2]|0;
+ $362 = $arglist_current118;
+ $363 = ((0) + 4|0);
+ $expanded100 = $363;
+ $expanded99 = (($expanded100) - 1)|0;
+ $364 = (($362) + ($expanded99))|0;
+ $365 = ((0) + 4|0);
+ $expanded104 = $365;
+ $expanded103 = (($expanded104) - 1)|0;
+ $expanded102 = $expanded103 ^ -1;
+ $366 = $364 & $expanded102;
+ $367 = $366;
+ $368 = HEAP32[$367>>2]|0;
+ $arglist_next119 = ((($367)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next119;
+ $37 = $368;
+ $369 = $37;
+ $36 = $369;
+ $370 = $36;
+ $371 = ($370|0)<(0);
+ $372 = $36;
+ $373 = ($372|0)>(1);
+ $or$cond26 = $371 | $373;
+ if ($or$cond26) {
+ label = 96;
+ } else {
+ $374 = $36;
+ $375 = $3;
+ $376 = ((($375)) + 8|0);
+ $377 = ((($376)) + 40|0);
+ HEAP32[$377>>2] = $374;
+ label = 95;
+ }
+ break;
+ }
+ case 4013: {
+ $arglist_current121 = HEAP32[$7>>2]|0;
+ $378 = $arglist_current121;
+ $379 = ((0) + 4|0);
+ $expanded107 = $379;
+ $expanded106 = (($expanded107) - 1)|0;
+ $380 = (($378) + ($expanded106))|0;
+ $381 = ((0) + 4|0);
+ $expanded111 = $381;
+ $expanded110 = (($expanded111) - 1)|0;
+ $expanded109 = $expanded110 ^ -1;
+ $382 = $380 & $expanded109;
+ $383 = $382;
+ $384 = HEAP32[$383>>2]|0;
+ $arglist_next122 = ((($383)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next122;
+ $39 = $384;
+ $385 = $39;
+ $38 = $385;
+ $386 = $38;
+ $387 = ($386|0)!=(0|0);
+ if ($387) {
+ $388 = $3;
+ $389 = ((($388)) + 8|0);
+ $390 = ((($389)) + 40|0);
+ $391 = HEAP32[$390>>2]|0;
+ $392 = $38;
+ HEAP32[$392>>2] = $391;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4014: {
+ $arglist_current124 = HEAP32[$7>>2]|0;
+ $393 = $arglist_current124;
+ $394 = ((0) + 4|0);
+ $expanded114 = $394;
+ $expanded113 = (($expanded114) - 1)|0;
+ $395 = (($393) + ($expanded113))|0;
+ $396 = ((0) + 4|0);
+ $expanded118 = $396;
+ $expanded117 = (($expanded118) - 1)|0;
+ $expanded116 = $expanded117 ^ -1;
+ $397 = $395 & $expanded116;
+ $398 = $397;
+ $399 = HEAP32[$398>>2]|0;
+ $arglist_next125 = ((($398)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next125;
+ $41 = $399;
+ $400 = $41;
+ $40 = $400;
+ $401 = $40;
+ $402 = ($401|0)<(0);
+ $403 = $40;
+ $404 = ($403|0)>(100);
+ $or$cond29 = $402 | $404;
+ if ($or$cond29) {
+ label = 96;
+ } else {
+ $405 = $40;
+ $406 = $3;
+ $407 = ((($406)) + 8|0);
+ $408 = ((($407)) + 32|0);
+ HEAP32[$408>>2] = $405;
+ $409 = $6;
+ $410 = $40;
+ HEAP32[$vararg_buffer126>>2] = $410;
+ (_opus_custom_encoder_ctl($409,4014,$vararg_buffer126)|0);
+ label = 95;
+ }
+ break;
+ }
+ case 4015: {
+ $arglist_current130 = HEAP32[$7>>2]|0;
+ $411 = $arglist_current130;
+ $412 = ((0) + 4|0);
+ $expanded121 = $412;
+ $expanded120 = (($expanded121) - 1)|0;
+ $413 = (($411) + ($expanded120))|0;
+ $414 = ((0) + 4|0);
+ $expanded125 = $414;
+ $expanded124 = (($expanded125) - 1)|0;
+ $expanded123 = $expanded124 ^ -1;
+ $415 = $413 & $expanded123;
+ $416 = $415;
+ $417 = HEAP32[$416>>2]|0;
+ $arglist_next131 = ((($416)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next131;
+ $43 = $417;
+ $418 = $43;
+ $42 = $418;
+ $419 = $42;
+ $420 = ($419|0)!=(0|0);
+ if ($420) {
+ $421 = $3;
+ $422 = ((($421)) + 8|0);
+ $423 = ((($422)) + 32|0);
+ $424 = HEAP32[$423>>2]|0;
+ $425 = $42;
+ HEAP32[$425>>2] = $424;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4006: {
+ $arglist_current133 = HEAP32[$7>>2]|0;
+ $426 = $arglist_current133;
+ $427 = ((0) + 4|0);
+ $expanded128 = $427;
+ $expanded127 = (($expanded128) - 1)|0;
+ $428 = (($426) + ($expanded127))|0;
+ $429 = ((0) + 4|0);
+ $expanded132 = $429;
+ $expanded131 = (($expanded132) - 1)|0;
+ $expanded130 = $expanded131 ^ -1;
+ $430 = $428 & $expanded130;
+ $431 = $430;
+ $432 = HEAP32[$431>>2]|0;
+ $arglist_next134 = ((($431)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next134;
+ $45 = $432;
+ $433 = $45;
+ $44 = $433;
+ $434 = $44;
+ $435 = ($434|0)<(0);
+ $436 = $44;
+ $437 = ($436|0)>(1);
+ $or$cond32 = $435 | $437;
+ if ($or$cond32) {
+ label = 96;
+ } else {
+ $438 = $44;
+ $439 = $3;
+ $440 = ((($439)) + 136|0);
+ HEAP32[$440>>2] = $438;
+ $441 = $44;
+ $442 = (1 - ($441))|0;
+ $443 = $3;
+ $444 = ((($443)) + 8|0);
+ $445 = ((($444)) + 48|0);
+ HEAP32[$445>>2] = $442;
+ label = 95;
+ }
+ break;
+ }
+ case 4007: {
+ $arglist_current136 = HEAP32[$7>>2]|0;
+ $446 = $arglist_current136;
+ $447 = ((0) + 4|0);
+ $expanded135 = $447;
+ $expanded134 = (($expanded135) - 1)|0;
+ $448 = (($446) + ($expanded134))|0;
+ $449 = ((0) + 4|0);
+ $expanded139 = $449;
+ $expanded138 = (($expanded139) - 1)|0;
+ $expanded137 = $expanded138 ^ -1;
+ $450 = $448 & $expanded137;
+ $451 = $450;
+ $452 = HEAP32[$451>>2]|0;
+ $arglist_next137 = ((($451)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next137;
+ $47 = $452;
+ $453 = $47;
+ $46 = $453;
+ $454 = $46;
+ $455 = ($454|0)!=(0|0);
+ if ($455) {
+ $456 = $3;
+ $457 = ((($456)) + 136|0);
+ $458 = HEAP32[$457>>2]|0;
+ $459 = $46;
+ HEAP32[$459>>2] = $458;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 11018: {
+ $arglist_current139 = HEAP32[$7>>2]|0;
+ $460 = $arglist_current139;
+ $461 = ((0) + 4|0);
+ $expanded142 = $461;
+ $expanded141 = (($expanded142) - 1)|0;
+ $462 = (($460) + ($expanded141))|0;
+ $463 = ((0) + 4|0);
+ $expanded146 = $463;
+ $expanded145 = (($expanded146) - 1)|0;
+ $expanded144 = $expanded145 ^ -1;
+ $464 = $462 & $expanded144;
+ $465 = $464;
+ $466 = HEAP32[$465>>2]|0;
+ $arglist_next140 = ((($465)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next140;
+ $49 = $466;
+ $467 = $49;
+ $48 = $467;
+ $468 = $48;
+ $469 = ($468|0)<(-1);
+ $470 = $48;
+ $471 = ($470|0)>(100);
+ $or$cond35 = $469 | $471;
+ if ($or$cond35) {
+ label = 96;
+ } else {
+ $472 = $48;
+ $473 = $3;
+ $474 = ((($473)) + 128|0);
+ HEAP32[$474>>2] = $472;
+ label = 95;
+ }
+ break;
+ }
+ case 11019: {
+ $arglist_current142 = HEAP32[$7>>2]|0;
+ $475 = $arglist_current142;
+ $476 = ((0) + 4|0);
+ $expanded149 = $476;
+ $expanded148 = (($expanded149) - 1)|0;
+ $477 = (($475) + ($expanded148))|0;
+ $478 = ((0) + 4|0);
+ $expanded153 = $478;
+ $expanded152 = (($expanded153) - 1)|0;
+ $expanded151 = $expanded152 ^ -1;
+ $479 = $477 & $expanded151;
+ $480 = $479;
+ $481 = HEAP32[$480>>2]|0;
+ $arglist_next143 = ((($480)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next143;
+ $51 = $481;
+ $482 = $51;
+ $50 = $482;
+ $483 = $50;
+ $484 = ($483|0)!=(0|0);
+ if ($484) {
+ $485 = $3;
+ $486 = ((($485)) + 128|0);
+ $487 = HEAP32[$486>>2]|0;
+ $488 = $50;
+ HEAP32[$488>>2] = $487;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4020: {
+ $arglist_current145 = HEAP32[$7>>2]|0;
+ $489 = $arglist_current145;
+ $490 = ((0) + 4|0);
+ $expanded156 = $490;
+ $expanded155 = (($expanded156) - 1)|0;
+ $491 = (($489) + ($expanded155))|0;
+ $492 = ((0) + 4|0);
+ $expanded160 = $492;
+ $expanded159 = (($expanded160) - 1)|0;
+ $expanded158 = $expanded159 ^ -1;
+ $493 = $491 & $expanded158;
+ $494 = $493;
+ $495 = HEAP32[$494>>2]|0;
+ $arglist_next146 = ((($494)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next146;
+ $53 = $495;
+ $496 = $53;
+ $52 = $496;
+ $497 = $52;
+ $498 = ($497|0)<(0);
+ $499 = $52;
+ $500 = ($499|0)>(1);
+ $or$cond38 = $498 | $500;
+ if ($or$cond38) {
+ label = 96;
+ } else {
+ $501 = $52;
+ $502 = $3;
+ $503 = ((($502)) + 140|0);
+ HEAP32[$503>>2] = $501;
+ label = 95;
+ }
+ break;
+ }
+ case 4021: {
+ $arglist_current148 = HEAP32[$7>>2]|0;
+ $504 = $arglist_current148;
+ $505 = ((0) + 4|0);
+ $expanded163 = $505;
+ $expanded162 = (($expanded163) - 1)|0;
+ $506 = (($504) + ($expanded162))|0;
+ $507 = ((0) + 4|0);
+ $expanded167 = $507;
+ $expanded166 = (($expanded167) - 1)|0;
+ $expanded165 = $expanded166 ^ -1;
+ $508 = $506 & $expanded165;
+ $509 = $508;
+ $510 = HEAP32[$509>>2]|0;
+ $arglist_next149 = ((($509)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next149;
+ $55 = $510;
+ $511 = $55;
+ $54 = $511;
+ $512 = $54;
+ $513 = ($512|0)!=(0|0);
+ if ($513) {
+ $514 = $3;
+ $515 = ((($514)) + 140|0);
+ $516 = HEAP32[$515>>2]|0;
+ $517 = $54;
+ HEAP32[$517>>2] = $516;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4024: {
+ $arglist_current151 = HEAP32[$7>>2]|0;
+ $518 = $arglist_current151;
+ $519 = ((0) + 4|0);
+ $expanded170 = $519;
+ $expanded169 = (($expanded170) - 1)|0;
+ $520 = (($518) + ($expanded169))|0;
+ $521 = ((0) + 4|0);
+ $expanded174 = $521;
+ $expanded173 = (($expanded174) - 1)|0;
+ $expanded172 = $expanded173 ^ -1;
+ $522 = $520 & $expanded172;
+ $523 = $522;
+ $524 = HEAP32[$523>>2]|0;
+ $arglist_next152 = ((($523)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next152;
+ $57 = $524;
+ $525 = $57;
+ $56 = $525;
+ $526 = $56;
+ $527 = ($526|0)!=(-1000);
+ $528 = $56;
+ $529 = ($528|0)!=(3001);
+ $or$cond41 = $527 & $529;
+ $530 = $56;
+ $531 = ($530|0)!=(3002);
+ $or$cond44 = $or$cond41 & $531;
+ if ($or$cond44) {
+ label = 96;
+ } else {
+ $532 = $56;
+ $533 = $3;
+ $534 = ((($533)) + 112|0);
+ HEAP32[$534>>2] = $532;
+ label = 95;
+ }
+ break;
+ }
+ case 4025: {
+ $arglist_current154 = HEAP32[$7>>2]|0;
+ $535 = $arglist_current154;
+ $536 = ((0) + 4|0);
+ $expanded177 = $536;
+ $expanded176 = (($expanded177) - 1)|0;
+ $537 = (($535) + ($expanded176))|0;
+ $538 = ((0) + 4|0);
+ $expanded181 = $538;
+ $expanded180 = (($expanded181) - 1)|0;
+ $expanded179 = $expanded180 ^ -1;
+ $539 = $537 & $expanded179;
+ $540 = $539;
+ $541 = HEAP32[$540>>2]|0;
+ $arglist_next155 = ((($540)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next155;
+ $59 = $541;
+ $542 = $59;
+ $58 = $542;
+ $543 = $58;
+ $544 = ($543|0)!=(0|0);
+ if ($544) {
+ $545 = $3;
+ $546 = ((($545)) + 112|0);
+ $547 = HEAP32[$546>>2]|0;
+ $548 = $58;
+ HEAP32[$548>>2] = $547;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4027: {
+ $arglist_current157 = HEAP32[$7>>2]|0;
+ $549 = $arglist_current157;
+ $550 = ((0) + 4|0);
+ $expanded184 = $550;
+ $expanded183 = (($expanded184) - 1)|0;
+ $551 = (($549) + ($expanded183))|0;
+ $552 = ((0) + 4|0);
+ $expanded188 = $552;
+ $expanded187 = (($expanded188) - 1)|0;
+ $expanded186 = $expanded187 ^ -1;
+ $553 = $551 & $expanded186;
+ $554 = $553;
+ $555 = HEAP32[$554>>2]|0;
+ $arglist_next158 = ((($554)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next158;
+ $61 = $555;
+ $556 = $61;
+ $60 = $556;
+ $557 = $60;
+ $558 = ($557|0)!=(0|0);
+ if ($558) {
+ $559 = $3;
+ $560 = ((($559)) + 132|0);
+ $561 = HEAP32[$560>>2]|0;
+ $562 = (($561|0) / 400)&-1;
+ $563 = $60;
+ HEAP32[$563>>2] = $562;
+ $564 = $3;
+ $565 = ((($564)) + 96|0);
+ $566 = HEAP32[$565>>2]|0;
+ $567 = ($566|0)!=(2051);
+ if ($567) {
+ $568 = $3;
+ $569 = ((($568)) + 104|0);
+ $570 = HEAP32[$569>>2]|0;
+ $571 = $60;
+ $572 = HEAP32[$571>>2]|0;
+ $573 = (($572) + ($570))|0;
+ HEAP32[$571>>2] = $573;
+ label = 95;
+ } else {
+ label = 95;
+ }
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4029: {
+ $arglist_current160 = HEAP32[$7>>2]|0;
+ $574 = $arglist_current160;
+ $575 = ((0) + 4|0);
+ $expanded191 = $575;
+ $expanded190 = (($expanded191) - 1)|0;
+ $576 = (($574) + ($expanded190))|0;
+ $577 = ((0) + 4|0);
+ $expanded195 = $577;
+ $expanded194 = (($expanded195) - 1)|0;
+ $expanded193 = $expanded194 ^ -1;
+ $578 = $576 & $expanded193;
+ $579 = $578;
+ $580 = HEAP32[$579>>2]|0;
+ $arglist_next161 = ((($579)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next161;
+ $63 = $580;
+ $581 = $63;
+ $62 = $581;
+ $582 = $62;
+ $583 = ($582|0)!=(0|0);
+ if ($583) {
+ $584 = $3;
+ $585 = ((($584)) + 132|0);
+ $586 = HEAP32[$585>>2]|0;
+ $587 = $62;
+ HEAP32[$587>>2] = $586;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4031: {
+ $arglist_current163 = HEAP32[$7>>2]|0;
+ $588 = $arglist_current163;
+ $589 = ((0) + 4|0);
+ $expanded198 = $589;
+ $expanded197 = (($expanded198) - 1)|0;
+ $590 = (($588) + ($expanded197))|0;
+ $591 = ((0) + 4|0);
+ $expanded202 = $591;
+ $expanded201 = (($expanded202) - 1)|0;
+ $expanded200 = $expanded201 ^ -1;
+ $592 = $590 & $expanded200;
+ $593 = $592;
+ $594 = HEAP32[$593>>2]|0;
+ $arglist_next164 = ((($593)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next164;
+ $65 = $594;
+ $595 = $65;
+ $64 = $595;
+ $596 = $64;
+ $597 = ($596|0)!=(0|0);
+ if ($597) {
+ $598 = $3;
+ $599 = ((($598)) + 18216|0);
+ $600 = HEAP32[$599>>2]|0;
+ $601 = $64;
+ HEAP32[$601>>2] = $600;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4036: {
+ $arglist_current166 = HEAP32[$7>>2]|0;
+ $602 = $arglist_current166;
+ $603 = ((0) + 4|0);
+ $expanded205 = $603;
+ $expanded204 = (($expanded205) - 1)|0;
+ $604 = (($602) + ($expanded204))|0;
+ $605 = ((0) + 4|0);
+ $expanded209 = $605;
+ $expanded208 = (($expanded209) - 1)|0;
+ $expanded207 = $expanded208 ^ -1;
+ $606 = $604 & $expanded207;
+ $607 = $606;
+ $608 = HEAP32[$607>>2]|0;
+ $arglist_next167 = ((($607)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next167;
+ $67 = $608;
+ $609 = $67;
+ $66 = $609;
+ $610 = $66;
+ $611 = ($610|0)<(8);
+ $612 = $66;
+ $613 = ($612|0)>(24);
+ $or$cond47 = $611 | $613;
+ if ($or$cond47) {
+ label = 96;
+ } else {
+ $614 = $66;
+ $615 = $3;
+ $616 = ((($615)) + 156|0);
+ HEAP32[$616>>2] = $614;
+ label = 95;
+ }
+ break;
+ }
+ case 4037: {
+ $arglist_current169 = HEAP32[$7>>2]|0;
+ $617 = $arglist_current169;
+ $618 = ((0) + 4|0);
+ $expanded212 = $618;
+ $expanded211 = (($expanded212) - 1)|0;
+ $619 = (($617) + ($expanded211))|0;
+ $620 = ((0) + 4|0);
+ $expanded216 = $620;
+ $expanded215 = (($expanded216) - 1)|0;
+ $expanded214 = $expanded215 ^ -1;
+ $621 = $619 & $expanded214;
+ $622 = $621;
+ $623 = HEAP32[$622>>2]|0;
+ $arglist_next170 = ((($622)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next170;
+ $69 = $623;
+ $624 = $69;
+ $68 = $624;
+ $625 = $68;
+ $626 = ($625|0)!=(0|0);
+ if ($626) {
+ $627 = $3;
+ $628 = ((($627)) + 156|0);
+ $629 = HEAP32[$628>>2]|0;
+ $630 = $68;
+ HEAP32[$630>>2] = $629;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4040: {
+ $arglist_current172 = HEAP32[$7>>2]|0;
+ $631 = $arglist_current172;
+ $632 = ((0) + 4|0);
+ $expanded219 = $632;
+ $expanded218 = (($expanded219) - 1)|0;
+ $633 = (($631) + ($expanded218))|0;
+ $634 = ((0) + 4|0);
+ $expanded223 = $634;
+ $expanded222 = (($expanded223) - 1)|0;
+ $expanded221 = $expanded222 ^ -1;
+ $635 = $633 & $expanded221;
+ $636 = $635;
+ $637 = HEAP32[$636>>2]|0;
+ $arglist_next173 = ((($636)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next173;
+ $71 = $637;
+ $638 = $71;
+ $70 = $638;
+ $639 = $70;
+ $640 = ($639|0)!=(5000);
+ $641 = $70;
+ $642 = ($641|0)!=(5001);
+ $or$cond50 = $640 & $642;
+ $643 = $70;
+ $644 = ($643|0)!=(5002);
+ $or$cond53 = $or$cond50 & $644;
+ $645 = $70;
+ $646 = ($645|0)!=(5003);
+ $or$cond56 = $or$cond53 & $646;
+ $647 = $70;
+ $648 = ($647|0)!=(5004);
+ $or$cond59 = $or$cond56 & $648;
+ $649 = $70;
+ $650 = ($649|0)!=(5005);
+ $or$cond62 = $or$cond59 & $650;
+ $651 = $70;
+ $652 = ($651|0)!=(5006);
+ $or$cond65 = $or$cond62 & $652;
+ $653 = $70;
+ $654 = ($653|0)!=(5010);
+ $or$cond68 = $or$cond65 & $654;
+ if ($or$cond68) {
+ label = 96;
+ } else {
+ $655 = $70;
+ $656 = $3;
+ $657 = ((($656)) + 144|0);
+ HEAP32[$657>>2] = $655;
+ $658 = $6;
+ $659 = $70;
+ HEAP32[$vararg_buffer174>>2] = $659;
+ (_opus_custom_encoder_ctl($658,4040,$vararg_buffer174)|0);
+ label = 95;
+ }
+ break;
+ }
+ case 4041: {
+ $arglist_current178 = HEAP32[$7>>2]|0;
+ $660 = $arglist_current178;
+ $661 = ((0) + 4|0);
+ $expanded226 = $661;
+ $expanded225 = (($expanded226) - 1)|0;
+ $662 = (($660) + ($expanded225))|0;
+ $663 = ((0) + 4|0);
+ $expanded230 = $663;
+ $expanded229 = (($expanded230) - 1)|0;
+ $expanded228 = $expanded229 ^ -1;
+ $664 = $662 & $expanded228;
+ $665 = $664;
+ $666 = HEAP32[$665>>2]|0;
+ $arglist_next179 = ((($665)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next179;
+ $73 = $666;
+ $667 = $73;
+ $72 = $667;
+ $668 = $72;
+ $669 = ($668|0)!=(0|0);
+ if ($669) {
+ $670 = $3;
+ $671 = ((($670)) + 144|0);
+ $672 = HEAP32[$671>>2]|0;
+ $673 = $72;
+ HEAP32[$673>>2] = $672;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4042: {
+ $arglist_current181 = HEAP32[$7>>2]|0;
+ $674 = $arglist_current181;
+ $675 = ((0) + 4|0);
+ $expanded233 = $675;
+ $expanded232 = (($expanded233) - 1)|0;
+ $676 = (($674) + ($expanded232))|0;
+ $677 = ((0) + 4|0);
+ $expanded237 = $677;
+ $expanded236 = (($expanded237) - 1)|0;
+ $expanded235 = $expanded236 ^ -1;
+ $678 = $676 & $expanded235;
+ $679 = $678;
+ $680 = HEAP32[$679>>2]|0;
+ $arglist_next182 = ((($679)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next182;
+ $75 = $680;
+ $681 = $75;
+ $74 = $681;
+ $682 = $74;
+ $683 = ($682|0)>(1);
+ $684 = $74;
+ $685 = ($684|0)<(0);
+ $or$cond71 = $683 | $685;
+ if ($or$cond71) {
+ label = 96;
+ } else {
+ $686 = $74;
+ $687 = $3;
+ $688 = ((($687)) + 8|0);
+ $689 = ((($688)) + 64|0);
+ HEAP32[$689>>2] = $686;
+ label = 95;
+ }
+ break;
+ }
+ case 4043: {
+ $arglist_current184 = HEAP32[$7>>2]|0;
+ $690 = $arglist_current184;
+ $691 = ((0) + 4|0);
+ $expanded240 = $691;
+ $expanded239 = (($expanded240) - 1)|0;
+ $692 = (($690) + ($expanded239))|0;
+ $693 = ((0) + 4|0);
+ $expanded244 = $693;
+ $expanded243 = (($expanded244) - 1)|0;
+ $expanded242 = $expanded243 ^ -1;
+ $694 = $692 & $expanded242;
+ $695 = $694;
+ $696 = HEAP32[$695>>2]|0;
+ $arglist_next185 = ((($695)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next185;
+ $77 = $696;
+ $697 = $77;
+ $76 = $697;
+ $698 = $76;
+ $699 = ($698|0)!=(0|0);
+ if ($699) {
+ $700 = $3;
+ $701 = ((($700)) + 8|0);
+ $702 = ((($701)) + 64|0);
+ $703 = HEAP32[$702>>2]|0;
+ $704 = $76;
+ HEAP32[$704>>2] = $703;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ case 4028: {
+ $705 = $3;
+ $706 = $3;
+ $707 = ((($706)) + 4|0);
+ $708 = HEAP32[$707>>2]|0;
+ $709 = (($705) + ($708)|0);
+ $78 = $709;
+ $710 = $3;
+ $711 = ((($710)) + 172|0);
+ _tonality_analysis_reset($711);
+ $712 = $3;
+ $713 = ((($712)) + 14288|0);
+ $80 = $713;
+ $714 = $80;
+ $715 = $80;
+ $716 = $3;
+ $717 = $715;
+ $718 = $716;
+ $719 = (($717) - ($718))|0;
+ $720 = (18220 - ($719))|0;
+ $721 = $720;
+ _memset(($714|0),0,($721|0))|0;
+ $722 = $6;
+ (_opus_custom_encoder_ctl($722,4028,$vararg_buffer186)|0);
+ $723 = $78;
+ $724 = $3;
+ $725 = ((($724)) + 168|0);
+ $726 = HEAP32[$725>>2]|0;
+ (_silk_InitEncoder($723,$726,$79)|0);
+ $727 = $3;
+ $728 = ((($727)) + 100|0);
+ $729 = HEAP32[$728>>2]|0;
+ $730 = $3;
+ $731 = ((($730)) + 14288|0);
+ HEAP32[$731>>2] = $729;
+ $732 = $3;
+ $733 = ((($732)) + 14292|0);
+ HEAP16[$733>>1] = 16384;
+ $734 = $3;
+ $735 = ((($734)) + 14300|0);
+ HEAPF32[$735>>2] = 1.0;
+ $736 = $3;
+ $737 = ((($736)) + 14344|0);
+ HEAP32[$737>>2] = 1;
+ $738 = $3;
+ $739 = ((($738)) + 14320|0);
+ HEAP32[$739>>2] = 1001;
+ $740 = $3;
+ $741 = ((($740)) + 14336|0);
+ HEAP32[$741>>2] = 1105;
+ $742 = (_silk_lin2log(60)|0);
+ $743 = $742 << 8;
+ $744 = $3;
+ $745 = ((($744)) + 14296|0);
+ HEAP32[$745>>2] = $743;
+ label = 95;
+ break;
+ }
+ case 11002: {
+ $arglist_current189 = HEAP32[$7>>2]|0;
+ $746 = $arglist_current189;
+ $747 = ((0) + 4|0);
+ $expanded247 = $747;
+ $expanded246 = (($expanded247) - 1)|0;
+ $748 = (($746) + ($expanded246))|0;
+ $749 = ((0) + 4|0);
+ $expanded251 = $749;
+ $expanded250 = (($expanded251) - 1)|0;
+ $expanded249 = $expanded250 ^ -1;
+ $750 = $748 & $expanded249;
+ $751 = $750;
+ $752 = HEAP32[$751>>2]|0;
+ $arglist_next190 = ((($751)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next190;
+ $82 = $752;
+ $753 = $82;
+ $81 = $753;
+ $754 = $81;
+ $755 = ($754|0)<(1000);
+ $756 = $81;
+ $757 = ($756|0)>(1002);
+ $or$cond74 = $755 | $757;
+ $758 = $81;
+ $759 = ($758|0)!=(-1000);
+ $or$cond77 = $or$cond74 & $759;
+ if ($or$cond77) {
+ label = 96;
+ } else {
+ $760 = $81;
+ $761 = $3;
+ $762 = ((($761)) + 124|0);
+ HEAP32[$762>>2] = $760;
+ label = 95;
+ }
+ break;
+ }
+ case 10024: {
+ $arglist_current192 = HEAP32[$7>>2]|0;
+ $763 = $arglist_current192;
+ $764 = ((0) + 4|0);
+ $expanded254 = $764;
+ $expanded253 = (($expanded254) - 1)|0;
+ $765 = (($763) + ($expanded253))|0;
+ $766 = ((0) + 4|0);
+ $expanded258 = $766;
+ $expanded257 = (($expanded258) - 1)|0;
+ $expanded256 = $expanded257 ^ -1;
+ $767 = $765 & $expanded256;
+ $768 = $767;
+ $769 = HEAP32[$768>>2]|0;
+ $arglist_next193 = ((($768)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next193;
+ $84 = $769;
+ $770 = $84;
+ $83 = $770;
+ $771 = $83;
+ $772 = $3;
+ $773 = ((($772)) + 164|0);
+ HEAP32[$773>>2] = $771;
+ $774 = $6;
+ $775 = $83;
+ HEAP32[$vararg_buffer194>>2] = $775;
+ $776 = (_opus_custom_encoder_ctl($774,10024,$vararg_buffer194)|0);
+ $5 = $776;
+ label = 95;
+ break;
+ }
+ case 10026: {
+ $arglist_current198 = HEAP32[$7>>2]|0;
+ $777 = $arglist_current198;
+ $778 = ((0) + 4|0);
+ $expanded261 = $778;
+ $expanded260 = (($expanded261) - 1)|0;
+ $779 = (($777) + ($expanded260))|0;
+ $780 = ((0) + 4|0);
+ $expanded265 = $780;
+ $expanded264 = (($expanded265) - 1)|0;
+ $expanded263 = $expanded264 ^ -1;
+ $781 = $779 & $expanded263;
+ $782 = $781;
+ $783 = HEAP32[$782>>2]|0;
+ $arglist_next199 = ((($782)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next199;
+ $86 = $783;
+ $784 = $86;
+ $85 = $784;
+ $785 = $85;
+ $786 = $3;
+ $787 = ((($786)) + 14348|0);
+ HEAP32[$787>>2] = $785;
+ $788 = $6;
+ $789 = $85;
+ $790 = $85;
+ $791 = $85;
+ $792 = $790;
+ $793 = $791;
+ $794 = (($792) - ($793))|0;
+ $795 = (($794|0) / 4)&-1;
+ $796 = (($789) + ($795<<2)|0);
+ HEAP32[$vararg_buffer200>>2] = $796;
+ $797 = (_opus_custom_encoder_ctl($788,10026,$vararg_buffer200)|0);
+ $5 = $797;
+ label = 95;
+ break;
+ }
+ case 10015: {
+ $arglist_current204 = HEAP32[$7>>2]|0;
+ $798 = $arglist_current204;
+ $799 = ((0) + 4|0);
+ $expanded268 = $799;
+ $expanded267 = (($expanded268) - 1)|0;
+ $800 = (($798) + ($expanded267))|0;
+ $801 = ((0) + 4|0);
+ $expanded272 = $801;
+ $expanded271 = (($expanded272) - 1)|0;
+ $expanded270 = $expanded271 ^ -1;
+ $802 = $800 & $expanded270;
+ $803 = $802;
+ $804 = HEAP32[$803>>2]|0;
+ $arglist_next205 = ((($803)) + 4|0);
+ HEAP32[$7>>2] = $arglist_next205;
+ $88 = $804;
+ $805 = $88;
+ $87 = $805;
+ $806 = $87;
+ $807 = ($806|0)!=(0|0);
+ if ($807) {
+ $808 = $6;
+ $809 = $87;
+ $810 = $87;
+ $811 = $87;
+ $812 = $810;
+ $813 = $811;
+ $814 = (($812) - ($813))|0;
+ $815 = (($814|0) / 4)&-1;
+ $816 = (($809) + ($815<<2)|0);
+ HEAP32[$vararg_buffer206>>2] = $816;
+ $817 = (_opus_custom_encoder_ctl($808,10015,$vararg_buffer206)|0);
+ $5 = $817;
+ label = 95;
+ } else {
+ label = 96;
+ }
+ break;
+ }
+ default: {
+ $5 = -5;
+ label = 95;
+ }
+ }
+ } while(0);
+ if ((label|0) == 95) {
+ $818 = $5;
+ $2 = $818;
+ $819 = $2;
+ STACKTOP = sp;return ($819|0);
+ }
+ else if ((label|0) == 96) {
+ $2 = -1;
+ $819 = $2;
+ STACKTOP = sp;return ($819|0);
+ }
+ return (0)|0;
+}
+function _opus_encoder_destroy($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ _opus_free_12($2);
+ STACKTOP = sp;return;
+}
+function _opus_repacketizer_init($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 4|0);
+ HEAP32[$3>>2] = 0;
+ $4 = $1;
+ STACKTOP = sp;return ($4|0);
+}
+function _opus_repacketizer_cat($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = $3;
+ $7 = $4;
+ $8 = $5;
+ $9 = (_opus_repacketizer_cat_impl($6,$7,$8,0)|0);
+ STACKTOP = sp;return ($9|0);
+}
+function _opus_repacketizer_cat_impl($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $9 = sp + 28|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $12 = $7;
+ $13 = ($12|0)<(1);
+ if ($13) {
+ $4 = -4;
+ $73 = $4;
+ STACKTOP = sp;return ($73|0);
+ }
+ $14 = $5;
+ $15 = ((($14)) + 4|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = ($16|0)==(0);
+ if ($17) {
+ $18 = $6;
+ $19 = HEAP8[$18>>0]|0;
+ $20 = $5;
+ HEAP8[$20>>0] = $19;
+ $21 = $6;
+ $22 = (_opus_packet_get_samples_per_frame($21,8000)|0);
+ $23 = $5;
+ $24 = ((($23)) + 296|0);
+ HEAP32[$24>>2] = $22;
+ } else {
+ $25 = $5;
+ $26 = HEAP8[$25>>0]|0;
+ $27 = $26&255;
+ $28 = $27 & 252;
+ $29 = $6;
+ $30 = HEAP8[$29>>0]|0;
+ $31 = $30&255;
+ $32 = $31 & 252;
+ $33 = ($28|0)!=($32|0);
+ if ($33) {
+ $4 = -4;
+ $73 = $4;
+ STACKTOP = sp;return ($73|0);
+ }
+ }
+ $34 = $6;
+ $35 = $7;
+ $36 = (_opus_packet_get_nb_frames($34,$35)|0);
+ $10 = $36;
+ $37 = $10;
+ $38 = ($37|0)<(1);
+ if ($38) {
+ $4 = -4;
+ $73 = $4;
+ STACKTOP = sp;return ($73|0);
+ }
+ $39 = $10;
+ $40 = $5;
+ $41 = ((($40)) + 4|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = (($39) + ($42))|0;
+ $44 = $5;
+ $45 = ((($44)) + 296|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = Math_imul($43, $46)|0;
+ $48 = ($47|0)>(960);
+ if ($48) {
+ $4 = -4;
+ $73 = $4;
+ STACKTOP = sp;return ($73|0);
+ }
+ $49 = $6;
+ $50 = $7;
+ $51 = $8;
+ $52 = $5;
+ $53 = ((($52)) + 8|0);
+ $54 = $5;
+ $55 = ((($54)) + 4|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = (($53) + ($56<<2)|0);
+ $58 = $5;
+ $59 = ((($58)) + 200|0);
+ $60 = $5;
+ $61 = ((($60)) + 4|0);
+ $62 = HEAP32[$61>>2]|0;
+ $63 = (($59) + ($62<<1)|0);
+ $64 = (_opus_packet_parse_impl($49,$50,$51,$9,$57,$63,0,0)|0);
+ $11 = $64;
+ $65 = $11;
+ $66 = ($65|0)<(1);
+ if ($66) {
+ $67 = $11;
+ $4 = $67;
+ $73 = $4;
+ STACKTOP = sp;return ($73|0);
+ } else {
+ $68 = $10;
+ $69 = $5;
+ $70 = ((($69)) + 4|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = (($71) + ($68))|0;
+ HEAP32[$70>>2] = $72;
+ $4 = 0;
+ $73 = $4;
+ STACKTOP = sp;return ($73|0);
+ }
+ return (0)|0;
+}
+function _opus_repacketizer_out_range_impl($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0;
+ var $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0;
+ var $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0;
+ var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
+ var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $25 = $9;
+ $26 = ($25|0)<(0);
+ if (!($26)) {
+ $27 = $9;
+ $28 = $10;
+ $29 = ($27|0)>=($28|0);
+ if (!($29)) {
+ $30 = $10;
+ $31 = $8;
+ $32 = ((($31)) + 4|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = ($30|0)>($33|0);
+ if (!($34)) {
+ $35 = $10;
+ $36 = $9;
+ $37 = (($35) - ($36))|0;
+ $16 = $37;
+ $38 = $8;
+ $39 = ((($38)) + 200|0);
+ $40 = $9;
+ $41 = (($39) + ($40<<1)|0);
+ $18 = $41;
+ $42 = $8;
+ $43 = ((($42)) + 8|0);
+ $44 = $9;
+ $45 = (($43) + ($44<<2)|0);
+ $19 = $45;
+ $46 = $13;
+ $47 = ($46|0)!=(0);
+ if ($47) {
+ $48 = $18;
+ $49 = $16;
+ $50 = (($49) - 1)|0;
+ $51 = (($48) + ($50<<1)|0);
+ $52 = HEAP16[$51>>1]|0;
+ $53 = $52 << 16 >> 16;
+ $54 = ($53|0)>=(252);
+ $55 = $54&1;
+ $56 = (1 + ($55))|0;
+ $17 = $56;
+ } else {
+ $17 = 0;
+ }
+ $57 = $11;
+ $20 = $57;
+ $58 = $16;
+ $59 = ($58|0)==(1);
+ do {
+ if ($59) {
+ $60 = $18;
+ $61 = HEAP16[$60>>1]|0;
+ $62 = $61 << 16 >> 16;
+ $63 = (($62) + 1)|0;
+ $64 = $17;
+ $65 = (($64) + ($63))|0;
+ $17 = $65;
+ $66 = $17;
+ $67 = $12;
+ $68 = ($66|0)>($67|0);
+ if (!($68)) {
+ $69 = $8;
+ $70 = HEAP8[$69>>0]|0;
+ $71 = $70&255;
+ $72 = $71 & 252;
+ $73 = $72&255;
+ $74 = $20;
+ $75 = ((($74)) + 1|0);
+ $20 = $75;
+ HEAP8[$74>>0] = $73;
+ break;
+ }
+ $7 = -2;
+ $349 = $7;
+ STACKTOP = sp;return ($349|0);
+ } else {
+ $76 = $16;
+ $77 = ($76|0)==(2);
+ if ($77) {
+ $78 = $18;
+ $79 = ((($78)) + 2|0);
+ $80 = HEAP16[$79>>1]|0;
+ $81 = $80 << 16 >> 16;
+ $82 = $18;
+ $83 = HEAP16[$82>>1]|0;
+ $84 = $83 << 16 >> 16;
+ $85 = ($81|0)==($84|0);
+ $86 = $18;
+ $87 = HEAP16[$86>>1]|0;
+ $88 = $87 << 16 >> 16;
+ if ($85) {
+ $89 = $88<<1;
+ $90 = (($89) + 1)|0;
+ $91 = $17;
+ $92 = (($91) + ($90))|0;
+ $17 = $92;
+ $93 = $17;
+ $94 = $12;
+ $95 = ($93|0)>($94|0);
+ if (!($95)) {
+ $96 = $8;
+ $97 = HEAP8[$96>>0]|0;
+ $98 = $97&255;
+ $99 = $98 & 252;
+ $100 = $99 | 1;
+ $101 = $100&255;
+ $102 = $20;
+ $103 = ((($102)) + 1|0);
+ $20 = $103;
+ HEAP8[$102>>0] = $101;
+ break;
+ }
+ $7 = -2;
+ $349 = $7;
+ STACKTOP = sp;return ($349|0);
+ } else {
+ $104 = $18;
+ $105 = ((($104)) + 2|0);
+ $106 = HEAP16[$105>>1]|0;
+ $107 = $106 << 16 >> 16;
+ $108 = (($88) + ($107))|0;
+ $109 = (($108) + 2)|0;
+ $110 = $18;
+ $111 = HEAP16[$110>>1]|0;
+ $112 = $111 << 16 >> 16;
+ $113 = ($112|0)>=(252);
+ $114 = $113&1;
+ $115 = (($109) + ($114))|0;
+ $116 = $17;
+ $117 = (($116) + ($115))|0;
+ $17 = $117;
+ $118 = $17;
+ $119 = $12;
+ $120 = ($118|0)>($119|0);
+ if (!($120)) {
+ $121 = $8;
+ $122 = HEAP8[$121>>0]|0;
+ $123 = $122&255;
+ $124 = $123 & 252;
+ $125 = $124 | 2;
+ $126 = $125&255;
+ $127 = $20;
+ $128 = ((($127)) + 1|0);
+ $20 = $128;
+ HEAP8[$127>>0] = $126;
+ $129 = $18;
+ $130 = HEAP16[$129>>1]|0;
+ $131 = $130 << 16 >> 16;
+ $132 = $20;
+ $133 = (_encode_size($131,$132)|0);
+ $134 = $20;
+ $135 = (($134) + ($133)|0);
+ $20 = $135;
+ break;
+ }
+ $7 = -2;
+ $349 = $7;
+ STACKTOP = sp;return ($349|0);
+ }
+ }
+ }
+ } while(0);
+ $136 = $16;
+ $137 = ($136|0)>(2);
+ if ($137) {
+ label = 23;
+ } else {
+ $138 = $14;
+ $139 = ($138|0)!=(0);
+ if ($139) {
+ $140 = $17;
+ $141 = $12;
+ $142 = ($140|0)<($141|0);
+ if ($142) {
+ label = 23;
+ }
+ }
+ }
+ L32: do {
+ if ((label|0) == 23) {
+ $22 = 0;
+ $143 = $11;
+ $20 = $143;
+ $144 = $13;
+ $145 = ($144|0)!=(0);
+ if ($145) {
+ $146 = $18;
+ $147 = $16;
+ $148 = (($147) - 1)|0;
+ $149 = (($146) + ($148<<1)|0);
+ $150 = HEAP16[$149>>1]|0;
+ $151 = $150 << 16 >> 16;
+ $152 = ($151|0)>=(252);
+ $153 = $152&1;
+ $154 = (1 + ($153))|0;
+ $17 = $154;
+ } else {
+ $17 = 0;
+ }
+ $21 = 0;
+ $15 = 1;
+ while(1) {
+ $155 = $15;
+ $156 = $16;
+ $157 = ($155|0)<($156|0);
+ if (!($157)) {
+ break;
+ }
+ $158 = $18;
+ $159 = $15;
+ $160 = (($158) + ($159<<1)|0);
+ $161 = HEAP16[$160>>1]|0;
+ $162 = $161 << 16 >> 16;
+ $163 = $18;
+ $164 = HEAP16[$163>>1]|0;
+ $165 = $164 << 16 >> 16;
+ $166 = ($162|0)!=($165|0);
+ if ($166) {
+ label = 29;
+ break;
+ }
+ $167 = $15;
+ $168 = (($167) + 1)|0;
+ $15 = $168;
+ }
+ if ((label|0) == 29) {
+ $21 = 1;
+ }
+ $169 = $21;
+ $170 = ($169|0)!=(0);
+ do {
+ if ($170) {
+ $171 = $17;
+ $172 = (($171) + 2)|0;
+ $17 = $172;
+ $15 = 0;
+ while(1) {
+ $173 = $15;
+ $174 = $16;
+ $175 = (($174) - 1)|0;
+ $176 = ($173|0)<($175|0);
+ $177 = $18;
+ if (!($176)) {
+ break;
+ }
+ $178 = $15;
+ $179 = (($177) + ($178<<1)|0);
+ $180 = HEAP16[$179>>1]|0;
+ $181 = $180 << 16 >> 16;
+ $182 = ($181|0)>=(252);
+ $183 = $182&1;
+ $184 = (1 + ($183))|0;
+ $185 = $18;
+ $186 = $15;
+ $187 = (($185) + ($186<<1)|0);
+ $188 = HEAP16[$187>>1]|0;
+ $189 = $188 << 16 >> 16;
+ $190 = (($184) + ($189))|0;
+ $191 = $17;
+ $192 = (($191) + ($190))|0;
+ $17 = $192;
+ $193 = $15;
+ $194 = (($193) + 1)|0;
+ $15 = $194;
+ }
+ $195 = $16;
+ $196 = (($195) - 1)|0;
+ $197 = (($177) + ($196<<1)|0);
+ $198 = HEAP16[$197>>1]|0;
+ $199 = $198 << 16 >> 16;
+ $200 = $17;
+ $201 = (($200) + ($199))|0;
+ $17 = $201;
+ $202 = $17;
+ $203 = $12;
+ $204 = ($202|0)>($203|0);
+ if (!($204)) {
+ $205 = $8;
+ $206 = HEAP8[$205>>0]|0;
+ $207 = $206&255;
+ $208 = $207 & 252;
+ $209 = $208 | 3;
+ $210 = $209&255;
+ $211 = $20;
+ $212 = ((($211)) + 1|0);
+ $20 = $212;
+ HEAP8[$211>>0] = $210;
+ $213 = $16;
+ $214 = $213 | 128;
+ $215 = $214&255;
+ $216 = $20;
+ $217 = ((($216)) + 1|0);
+ $20 = $217;
+ HEAP8[$216>>0] = $215;
+ break;
+ }
+ $7 = -2;
+ $349 = $7;
+ STACKTOP = sp;return ($349|0);
+ } else {
+ $218 = $16;
+ $219 = $18;
+ $220 = HEAP16[$219>>1]|0;
+ $221 = $220 << 16 >> 16;
+ $222 = Math_imul($218, $221)|0;
+ $223 = (($222) + 2)|0;
+ $224 = $17;
+ $225 = (($224) + ($223))|0;
+ $17 = $225;
+ $226 = $17;
+ $227 = $12;
+ $228 = ($226|0)>($227|0);
+ if (!($228)) {
+ $229 = $8;
+ $230 = HEAP8[$229>>0]|0;
+ $231 = $230&255;
+ $232 = $231 & 252;
+ $233 = $232 | 3;
+ $234 = $233&255;
+ $235 = $20;
+ $236 = ((($235)) + 1|0);
+ $20 = $236;
+ HEAP8[$235>>0] = $234;
+ $237 = $16;
+ $238 = $237&255;
+ $239 = $20;
+ $240 = ((($239)) + 1|0);
+ $20 = $240;
+ HEAP8[$239>>0] = $238;
+ break;
+ }
+ $7 = -2;
+ $349 = $7;
+ STACKTOP = sp;return ($349|0);
+ }
+ } while(0);
+ $241 = $14;
+ $242 = ($241|0)!=(0);
+ if ($242) {
+ $243 = $12;
+ $244 = $17;
+ $245 = (($243) - ($244))|0;
+ $246 = $245;
+ } else {
+ $246 = 0;
+ }
+ $22 = $246;
+ $247 = $22;
+ $248 = ($247|0)!=(0);
+ if ($248) {
+ $249 = $11;
+ $250 = ((($249)) + 1|0);
+ $251 = HEAP8[$250>>0]|0;
+ $252 = $251&255;
+ $253 = $252 | 64;
+ $254 = $253&255;
+ HEAP8[$250>>0] = $254;
+ $255 = $22;
+ $256 = (($255) - 1)|0;
+ $257 = (($256|0) / 255)&-1;
+ $23 = $257;
+ $15 = 0;
+ while(1) {
+ $258 = $15;
+ $259 = $23;
+ $260 = ($258|0)<($259|0);
+ if (!($260)) {
+ break;
+ }
+ $261 = $20;
+ $262 = ((($261)) + 1|0);
+ $20 = $262;
+ HEAP8[$261>>0] = -1;
+ $263 = $15;
+ $264 = (($263) + 1)|0;
+ $15 = $264;
+ }
+ $265 = $22;
+ $266 = $23;
+ $267 = ($266*255)|0;
+ $268 = (($265) - ($267))|0;
+ $269 = (($268) - 1)|0;
+ $270 = $269&255;
+ $271 = $20;
+ $272 = ((($271)) + 1|0);
+ $20 = $272;
+ HEAP8[$271>>0] = $270;
+ $273 = $22;
+ $274 = $17;
+ $275 = (($274) + ($273))|0;
+ $17 = $275;
+ }
+ $276 = $21;
+ $277 = ($276|0)!=(0);
+ if ($277) {
+ $15 = 0;
+ while(1) {
+ $278 = $15;
+ $279 = $16;
+ $280 = (($279) - 1)|0;
+ $281 = ($278|0)<($280|0);
+ if (!($281)) {
+ break L32;
+ }
+ $282 = $18;
+ $283 = $15;
+ $284 = (($282) + ($283<<1)|0);
+ $285 = HEAP16[$284>>1]|0;
+ $286 = $285 << 16 >> 16;
+ $287 = $20;
+ $288 = (_encode_size($286,$287)|0);
+ $289 = $20;
+ $290 = (($289) + ($288)|0);
+ $20 = $290;
+ $291 = $15;
+ $292 = (($291) + 1)|0;
+ $15 = $292;
+ }
+ }
+ }
+ } while(0);
+ $293 = $13;
+ $294 = ($293|0)!=(0);
+ if ($294) {
+ $295 = $18;
+ $296 = $16;
+ $297 = (($296) - 1)|0;
+ $298 = (($295) + ($297<<1)|0);
+ $299 = HEAP16[$298>>1]|0;
+ $300 = $299 << 16 >> 16;
+ $301 = $20;
+ $302 = (_encode_size($300,$301)|0);
+ $24 = $302;
+ $303 = $24;
+ $304 = $20;
+ $305 = (($304) + ($303)|0);
+ $20 = $305;
+ }
+ $15 = 0;
+ while(1) {
+ $306 = $15;
+ $307 = $16;
+ $308 = ($306|0)<($307|0);
+ if (!($308)) {
+ break;
+ }
+ $309 = $20;
+ $310 = $19;
+ $311 = $15;
+ $312 = (($310) + ($311<<2)|0);
+ $313 = HEAP32[$312>>2]|0;
+ $314 = $18;
+ $315 = $15;
+ $316 = (($314) + ($315<<1)|0);
+ $317 = HEAP16[$316>>1]|0;
+ $318 = $317 << 16 >> 16;
+ $319 = $318;
+ $320 = $20;
+ $321 = $19;
+ $322 = $15;
+ $323 = (($321) + ($322<<2)|0);
+ $324 = HEAP32[$323>>2]|0;
+ $325 = $320;
+ $326 = $324;
+ $327 = (($325) - ($326))|0;
+ $328 = 0;
+ $329 = (($319) + ($328))|0;
+ _memmove(($309|0),($313|0),($329|0))|0;
+ $330 = $18;
+ $331 = $15;
+ $332 = (($330) + ($331<<1)|0);
+ $333 = HEAP16[$332>>1]|0;
+ $334 = $333 << 16 >> 16;
+ $335 = $20;
+ $336 = (($335) + ($334)|0);
+ $20 = $336;
+ $337 = $15;
+ $338 = (($337) + 1)|0;
+ $15 = $338;
+ }
+ $339 = $14;
+ $340 = ($339|0)!=(0);
+ L83: do {
+ if ($340) {
+ while(1) {
+ $341 = $20;
+ $342 = $11;
+ $343 = $12;
+ $344 = (($342) + ($343)|0);
+ $345 = ($341>>>0)<($344>>>0);
+ if (!($345)) {
+ break L83;
+ }
+ $346 = $20;
+ $347 = ((($346)) + 1|0);
+ $20 = $347;
+ HEAP8[$346>>0] = 0;
+ }
+ }
+ } while(0);
+ $348 = $17;
+ $7 = $348;
+ $349 = $7;
+ STACKTOP = sp;return ($349|0);
+ }
+ }
+ }
+ $7 = -1;
+ $349 = $7;
+ STACKTOP = sp;return ($349|0);
+}
+function _opus_packet_pad($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 320|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(320|0);
+ $7 = sp + 4|0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $9 = $5;
+ $10 = ($9|0)<(1);
+ if ($10) {
+ $3 = -1;
+ $53 = $3;
+ STACKTOP = sp;return ($53|0);
+ }
+ $11 = $5;
+ $12 = $6;
+ $13 = ($11|0)==($12|0);
+ if ($13) {
+ $3 = 0;
+ $53 = $3;
+ STACKTOP = sp;return ($53|0);
+ }
+ $14 = $5;
+ $15 = $6;
+ $16 = ($14|0)>($15|0);
+ if ($16) {
+ $3 = -1;
+ $53 = $3;
+ STACKTOP = sp;return ($53|0);
+ }
+ (_opus_repacketizer_init($7)|0);
+ $17 = $4;
+ $18 = $6;
+ $19 = (($17) + ($18)|0);
+ $20 = $5;
+ $21 = (0 - ($20))|0;
+ $22 = (($19) + ($21)|0);
+ $23 = $4;
+ $24 = $5;
+ $25 = $24;
+ $26 = $4;
+ $27 = $6;
+ $28 = (($26) + ($27)|0);
+ $29 = $5;
+ $30 = (0 - ($29))|0;
+ $31 = (($28) + ($30)|0);
+ $32 = $4;
+ $33 = $31;
+ $34 = $32;
+ $35 = (($33) - ($34))|0;
+ $36 = 0;
+ $37 = (($25) + ($36))|0;
+ _memmove(($22|0),($23|0),($37|0))|0;
+ $38 = $4;
+ $39 = $6;
+ $40 = (($38) + ($39)|0);
+ $41 = $5;
+ $42 = (0 - ($41))|0;
+ $43 = (($40) + ($42)|0);
+ $44 = $5;
+ (_opus_repacketizer_cat($7,$43,$44)|0);
+ $45 = ((($7)) + 4|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = $4;
+ $48 = $6;
+ $49 = (_opus_repacketizer_out_range_impl($7,0,$46,$47,$48,0,1)|0);
+ $8 = $49;
+ $50 = $8;
+ $51 = ($50|0)>(0);
+ if ($51) {
+ $3 = 0;
+ $53 = $3;
+ STACKTOP = sp;return ($53|0);
+ } else {
+ $52 = $8;
+ $3 = $52;
+ $53 = $3;
+ STACKTOP = sp;return ($53|0);
+ }
+ return (0)|0;
+}
+function _tonality_analysis_init($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = (_opus_select_arch_33()|0);
+ $3 = $1;
+ HEAP32[$3>>2] = $2;
+ $4 = $1;
+ _tonality_analysis_reset($4);
+ STACKTOP = sp;return;
+}
+function _opus_select_arch_33() {
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ return 0;
+}
+function _tonality_analysis_reset($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $3 = $1;
+ $4 = ((($3)) + 4|0);
+ $2 = $4;
+ $5 = $2;
+ $6 = $2;
+ $7 = $1;
+ $8 = $6;
+ $9 = $7;
+ $10 = (($8) - ($9))|0;
+ $11 = (14116 - ($10))|0;
+ $12 = $11;
+ _memset(($5|0),0,($12|0))|0;
+ STACKTOP = sp;return;
+}
+function _tonality_get_info($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$ = 0, $$sink = 0, $$sink3 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0;
+ var $115 = 0, $116 = 0.0, $117 = 0.0, $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0.0, $124 = 0.0, $125 = 0.0, $126 = 0, $127 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0;
+ var $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
+ var $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0;
+ var $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0;
+ var $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0.0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0;
+ var $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0.0, $99 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $10 = $3;
+ $11 = ((($10)) + 8508|0);
+ $12 = HEAP32[$11>>2]|0;
+ $6 = $12;
+ $13 = $3;
+ $14 = ((($13)) + 8504|0);
+ $15 = HEAP32[$14>>2]|0;
+ $16 = $3;
+ $17 = ((($16)) + 8508|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = (($15) - ($18))|0;
+ $7 = $19;
+ $20 = $7;
+ $21 = ($20|0)<(0);
+ if ($21) {
+ $22 = $7;
+ $23 = (($22) + 200)|0;
+ $7 = $23;
+ }
+ $24 = $5;
+ $25 = ($24|0)>(480);
+ if ($25) {
+ $26 = $6;
+ $27 = $3;
+ $28 = ((($27)) + 8504|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = ($26|0)!=($29|0);
+ if ($30) {
+ $31 = $6;
+ $32 = (($31) + 1)|0;
+ $6 = $32;
+ $33 = $6;
+ $34 = ($33|0)==(200);
+ $$ = $34 ? 0 : $32;
+ $6 = $$;
+ }
+ }
+ $35 = $6;
+ $36 = $3;
+ $37 = ((($36)) + 8504|0);
+ $38 = HEAP32[$37>>2]|0;
+ $39 = ($35|0)==($38|0);
+ if ($39) {
+ $40 = $6;
+ $41 = (($40) + -1)|0;
+ $6 = $41;
+ }
+ $42 = $6;
+ $43 = ($42|0)<(0);
+ if ($43) {
+ $6 = 199;
+ }
+ $44 = $4;
+ $45 = $3;
+ $46 = ((($45)) + 8516|0);
+ $47 = $6;
+ $48 = (($46) + (($47*28)|0)|0);
+ $49 = $4;
+ $50 = $3;
+ $51 = ((($50)) + 8516|0);
+ $52 = $6;
+ $53 = (($51) + (($52*28)|0)|0);
+ $54 = $49;
+ $55 = $53;
+ $56 = (($54) - ($55))|0;
+ $57 = (($56|0) / 28)&-1;
+ $58 = 0;
+ $59 = (28 + ($58))|0;
+ _memcpy(($44|0),($48|0),($59|0))|0;
+ $60 = $5;
+ $61 = (($60|0) / 120)&-1;
+ $62 = $3;
+ $63 = ((($62)) + 8512|0);
+ $$sink = $63;$$sink3 = $61;
+ while(1) {
+ $64 = HEAP32[$$sink>>2]|0;
+ $65 = (($64) + ($$sink3))|0;
+ HEAP32[$$sink>>2] = $65;
+ $66 = $3;
+ $67 = ((($66)) + 8512|0);
+ $68 = HEAP32[$67>>2]|0;
+ $69 = ($68|0)>=(4);
+ $70 = $3;
+ if (!($69)) {
+ break;
+ }
+ $71 = ((($70)) + 8512|0);
+ $72 = HEAP32[$71>>2]|0;
+ $73 = (($72) - 4)|0;
+ HEAP32[$71>>2] = $73;
+ $74 = $3;
+ $75 = ((($74)) + 8508|0);
+ $$sink = $75;$$sink3 = 1;
+ }
+ $76 = ((($70)) + 8508|0);
+ $77 = HEAP32[$76>>2]|0;
+ $78 = ($77|0)>=(200);
+ if ($78) {
+ $79 = $3;
+ $80 = ((($79)) + 8508|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = (($81) - 200)|0;
+ HEAP32[$80>>2] = $82;
+ }
+ $83 = $7;
+ $84 = (($83) - 10)|0;
+ $85 = ($84|0)>(0);
+ $86 = $7;
+ $87 = (($86) - 10)|0;
+ $88 = $85 ? $87 : 0;
+ $7 = $88;
+ $8 = 0.0;
+ $9 = 0;
+ while(1) {
+ $89 = $9;
+ $90 = $7;
+ $91 = (200 - ($90))|0;
+ $92 = ($89|0)<($91|0);
+ if (!($92)) {
+ break;
+ }
+ $93 = $3;
+ $94 = ((($93)) + 7688|0);
+ $95 = $9;
+ $96 = (($94) + ($95<<2)|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $8;
+ $99 = $98 + $97;
+ $8 = $99;
+ $100 = $9;
+ $101 = (($100) + 1)|0;
+ $9 = $101;
+ }
+ while(1) {
+ $102 = $9;
+ $103 = ($102|0)<(200);
+ if (!($103)) {
+ break;
+ }
+ $104 = $3;
+ $105 = ((($104)) + 6888|0);
+ $106 = $9;
+ $107 = (($105) + ($106<<2)|0);
+ $108 = +HEAPF32[$107>>2];
+ $109 = $8;
+ $110 = $109 + $108;
+ $8 = $110;
+ $111 = $9;
+ $112 = (($111) + 1)|0;
+ $9 = $112;
+ }
+ $113 = $8;
+ $114 = $3;
+ $115 = ((($114)) + 8492|0);
+ $116 = +HEAPF32[$115>>2];
+ $117 = $113 * $116;
+ $118 = $8;
+ $119 = 1.0 - $118;
+ $120 = $3;
+ $121 = ((($120)) + 8488|0);
+ $122 = +HEAPF32[$121>>2];
+ $123 = $119 * $122;
+ $124 = $117 + $123;
+ $8 = $124;
+ $125 = $8;
+ $126 = $4;
+ $127 = ((($126)) + 20|0);
+ HEAPF32[$127>>2] = $125;
+ STACKTOP = sp;return;
+}
+function _run_analysis($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ var $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0;
+ var $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0;
+ var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $12 = $0;
+ $13 = $1;
+ $14 = $2;
+ $15 = $3;
+ $16 = $4;
+ $17 = $5;
+ $18 = $6;
+ $19 = $7;
+ $20 = $8;
+ $21 = $9;
+ $22 = $10;
+ $23 = $11;
+ $26 = $14;
+ $27 = ($26|0)!=(0|0);
+ if (!($27)) {
+ $73 = $23;
+ HEAP32[$73>>2] = 0;
+ $74 = $12;
+ $75 = $23;
+ $76 = $16;
+ _tonality_get_info($74,$75,$76);
+ STACKTOP = sp;return;
+ }
+ $28 = $20;
+ $29 = ($28*195)|0;
+ $30 = (($29|0) / 100)&-1;
+ $31 = $15;
+ $32 = ($30|0)<($31|0);
+ if ($32) {
+ $33 = $20;
+ $34 = ($33*195)|0;
+ $35 = (($34|0) / 100)&-1;
+ $37 = $35;
+ } else {
+ $36 = $15;
+ $37 = $36;
+ }
+ $15 = $37;
+ $38 = $15;
+ $39 = $12;
+ $40 = ((($39)) + 6884|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = (($38) - ($41))|0;
+ $25 = $42;
+ $43 = $12;
+ $44 = ((($43)) + 6884|0);
+ $45 = HEAP32[$44>>2]|0;
+ $24 = $45;
+ while(1) {
+ $46 = $12;
+ $47 = $13;
+ $48 = $14;
+ $49 = $25;
+ $50 = (480)<($49|0);
+ $51 = $25;
+ $52 = $50 ? 480 : $51;
+ $53 = $24;
+ $54 = $17;
+ $55 = $18;
+ $56 = $19;
+ $57 = $21;
+ $58 = $22;
+ _tonality_analysis($46,$47,$48,$52,$53,$54,$55,$56,$57,$58);
+ $59 = $24;
+ $60 = (($59) + 480)|0;
+ $24 = $60;
+ $61 = $25;
+ $62 = (($61) - 480)|0;
+ $25 = $62;
+ $63 = $25;
+ $64 = ($63|0)>(0);
+ if (!($64)) {
+ break;
+ }
+ }
+ $65 = $15;
+ $66 = $12;
+ $67 = ((($66)) + 6884|0);
+ HEAP32[$67>>2] = $65;
+ $68 = $16;
+ $69 = $12;
+ $70 = ((($69)) + 6884|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = (($71) - ($68))|0;
+ HEAP32[$70>>2] = $72;
+ $73 = $23;
+ HEAP32[$73>>2] = 0;
+ $74 = $12;
+ $75 = $23;
+ $76 = $16;
+ _tonality_get_info($74,$75,$76);
+ STACKTOP = sp;return;
+}
+function _tonality_analysis($0,$1,$2,$3,$4,$5,$6,$7,$8,$9) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ var $$ = 0.0, $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0.0, $1003 = 0, $1004 = 0, $1005 = 0.0, $1006 = 0.0, $1007 = 0.0, $1008 = 0.0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0.0, $1012 = 0, $1013 = 0, $1014 = 0, $1015 = 0;
+ var $1016 = 0.0, $1017 = 0.0, $1018 = 0.0, $1019 = 0.0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0.0, $1025 = 0.0, $1026 = 0.0, $1027 = 0.0, $1028 = 0.0, $1029 = 0.0, $103 = 0, $1030 = 0.0, $1031 = 0.0, $1032 = 0, $1033 = 0;
+ var $1034 = 0.0, $1035 = 0.0, $1036 = 0.0, $1037 = 0, $1038 = 0, $1039 = 0.0, $104 = 0, $1040 = 0.0, $1041 = 0, $1042 = 0.0, $1043 = 0, $1044 = 0, $1045 = 0.0, $1046 = 0.0, $1047 = 0.0, $1048 = 0.0, $1049 = 0, $105 = 0, $1050 = 0, $1051 = 0.0;
+ var $1052 = 0.0, $1053 = 0.0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1065 = 0, $1066 = 0, $1067 = 0.0, $1068 = 0, $1069 = 0, $107 = 0;
+ var $1070 = 0, $1071 = 0, $1072 = 0, $1073 = 0, $1074 = 0.0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0.0, $1081 = 0.0, $1082 = 0.0, $1083 = 0, $1084 = 0, $1085 = 0, $1086 = 0, $1087 = 0.0, $1088 = 0;
+ var $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0.0, $1094 = 0.0, $1095 = 0.0, $1096 = 0.0, $1097 = 0, $1098 = 0, $1099 = 0, $11 = 0, $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0.0, $1103 = 0.0, $1104 = 0.0, $1105 = 0;
+ var $1106 = 0, $1107 = 0, $1108 = 0, $1109 = 0.0, $111 = 0, $1110 = 0.0, $1111 = 0.0, $1112 = 0, $1113 = 0, $1114 = 0, $1115 = 0, $1116 = 0, $1117 = 0, $1118 = 0.0, $1119 = 0.0, $112 = 0.0, $1120 = 0, $1121 = 0, $1122 = 0, $1123 = 0;
+ var $1124 = 0.0, $1125 = 0.0, $1126 = 0.0, $1127 = 0, $1128 = 0, $1129 = 0.0, $113 = 0, $1130 = 0.0, $1131 = 0.0, $1132 = 0, $1133 = 0, $1134 = 0, $1135 = 0, $1136 = 0, $1137 = 0, $1138 = 0, $1139 = 0, $114 = 0.0, $1140 = 0, $1141 = 0;
+ var $1142 = 0.0, $1143 = 0, $1144 = 0, $1145 = 0, $1146 = 0, $1147 = 0, $1148 = 0.0, $1149 = 0.0, $115 = 0, $1150 = 0.0, $1151 = 0, $1152 = 0, $1153 = 0, $1154 = 0, $1155 = 0.0, $1156 = 0, $1157 = 0, $1158 = 0, $1159 = 0, $116 = 0;
+ var $1160 = 0, $1161 = 0.0, $1162 = 0.0, $1163 = 0.0, $1164 = 0.0, $1165 = 0, $1166 = 0, $1167 = 0, $1168 = 0, $1169 = 0, $117 = 0, $1170 = 0, $1171 = 0, $1172 = 0, $1173 = 0, $1174 = 0.0, $1175 = 0, $1176 = 0, $1177 = 0, $1178 = 0;
+ var $1179 = 0, $118 = 0, $1180 = 0.0, $1181 = 0.0, $1182 = 0.0, $1183 = 0, $1184 = 0, $1185 = 0, $1186 = 0, $1187 = 0.0, $1188 = 0, $1189 = 0, $119 = 0, $1190 = 0, $1191 = 0, $1192 = 0, $1193 = 0.0, $1194 = 0.0, $1195 = 0.0, $1196 = 0.0;
+ var $1197 = 0, $1198 = 0, $1199 = 0, $12 = 0, $120 = 0, $1200 = 0, $1201 = 0, $1202 = 0.0, $1203 = 0.0, $1204 = 0.0, $1205 = 0, $1206 = 0, $1207 = 0, $1208 = 0, $1209 = 0, $121 = 0, $1210 = 0, $1211 = 0, $1212 = 0, $1213 = 0;
+ var $1214 = 0, $1215 = 0, $1216 = 0.0, $1217 = 0.0, $1218 = 0, $1219 = 0, $122 = 0, $1220 = 0, $1221 = 0, $1222 = 0.0, $1223 = 0.0, $1224 = 0.0, $1225 = 0, $1226 = 0, $1227 = 0.0, $1228 = 0.0, $1229 = 0, $123 = 0, $1230 = 0, $1231 = 0.0;
+ var $1232 = 0.0, $1233 = 0.0, $1234 = 0, $1235 = 0, $1236 = 0, $1237 = 0, $1238 = 0, $1239 = 0, $124 = 0.0, $1240 = 0, $1241 = 0, $1242 = 0, $1243 = 0, $1244 = 0, $1245 = 0, $1246 = 0, $1247 = 0.0, $1248 = 0, $1249 = 0, $125 = 0;
+ var $1250 = 0, $1251 = 0, $1252 = 0, $1253 = 0, $1254 = 0, $1255 = 0, $1256 = 0, $1257 = 0, $1258 = 0.0, $1259 = 0, $126 = 0.0, $1260 = 0, $1261 = 0, $1262 = 0, $1263 = 0, $1264 = 0, $1265 = 0, $1266 = 0, $1267 = 0, $1268 = 0.0;
+ var $1269 = 0, $127 = 0, $1270 = 0, $1271 = 0, $1272 = 0, $1273 = 0, $1274 = 0, $1275 = 0, $1276 = 0.0, $1277 = 0, $1278 = 0, $1279 = 0, $128 = 0, $1280 = 0, $1281 = 0, $1282 = 0, $1283 = 0, $1284 = 0, $1285 = 0, $1286 = 0;
+ var $1287 = 0, $1288 = 0, $1289 = 0.0, $129 = 0, $1290 = 0.0, $1291 = 0.0, $1292 = 0.0, $1293 = 0, $1294 = 0, $1295 = 0, $1296 = 0, $1297 = 0, $1298 = 0, $1299 = 0, $13 = 0, $130 = 0, $1300 = 0.0, $1301 = 0, $1302 = 0, $1303 = 0;
+ var $1304 = 0.0, $1305 = 0, $1306 = 0.0, $1307 = 0, $1308 = 0, $1309 = 0, $131 = 0, $1310 = 0.0, $1311 = 0, $1312 = 0, $1313 = 0, $1314 = 0.0, $1315 = 0, $1316 = 0.0, $1317 = 0.0, $1318 = 0.0, $1319 = 0.0, $132 = 0, $1320 = 0.0, $1321 = 0.0;
+ var $1322 = 0.0, $1323 = 0.0, $1324 = 0.0, $1325 = 0.0, $1326 = 0.0, $1327 = 0.0, $1328 = 0.0, $1329 = 0.0, $133 = 0, $1330 = 0, $1331 = 0.0, $1332 = 0.0, $1333 = 0.0, $1334 = 0, $1335 = 0, $1336 = 0.0, $1337 = 0.0, $1338 = 0.0, $1339 = 0, $134 = 0;
+ var $1340 = 0.0, $1341 = 0.0, $1342 = 0.0, $1343 = 0.0, $1344 = 0, $1345 = 0.0, $1346 = 0.0, $1347 = 0.0, $1348 = 0, $1349 = 0.0, $135 = 0, $1350 = 0.0, $1351 = 0, $1352 = 0.0, $1353 = 0, $1354 = 0.0, $1355 = 0.0, $1356 = 0.0, $1357 = 0, $1358 = 0;
+ var $1359 = 0.0, $136 = 0.0, $1360 = 0, $1361 = 0, $1362 = 0, $1363 = 0.0, $1364 = 0, $1365 = 0.0, $1366 = 0, $1367 = 0, $1368 = 0.0, $1369 = 0, $137 = 0, $1370 = 0, $1371 = 0, $1372 = 0.0, $1373 = 0.0, $1374 = 0.0, $1375 = 0.0, $1376 = 0.0;
+ var $1377 = 0.0, $1378 = 0.0, $1379 = 0.0, $138 = 0.0, $1380 = 0.0, $1381 = 0.0, $1382 = 0.0, $1383 = 0.0, $1384 = 0.0, $1385 = 0.0, $1386 = 0.0, $1387 = 0.0, $1388 = 0.0, $1389 = 0.0, $139 = 0, $1390 = 0.0, $1391 = 0.0, $1392 = 0, $1393 = 0, $1394 = 0.0;
+ var $1395 = 0.0, $1396 = 0.0, $1397 = 0.0, $1398 = 0.0, $1399 = 0, $14 = 0, $140 = 0, $1400 = 0, $1401 = 0.0, $1402 = 0.0, $1403 = 0.0, $1404 = 0.0, $1405 = 0, $1406 = 0, $1407 = 0.0, $1408 = 0.0, $1409 = 0.0, $141 = 0, $1410 = 0.0, $1411 = 0;
+ var $1412 = 0, $1413 = 0.0, $1414 = 0.0, $1415 = 0.0, $1416 = 0.0, $1417 = 0.0, $1418 = 0.0, $1419 = 0.0, $142 = 0, $1420 = 0.0, $1421 = 0.0, $1422 = 0.0, $1423 = 0.0, $1424 = 0.0, $1425 = 0.0, $1426 = 0.0, $1427 = 0.0, $1428 = 0.0, $1429 = 0.0, $143 = 0;
+ var $1430 = 0.0, $1431 = 0.0, $1432 = 0.0, $1433 = 0.0, $1434 = 0.0, $1435 = 0.0, $1436 = 0.0, $1437 = 0.0, $1438 = 0.0, $1439 = 0.0, $144 = 0, $1440 = 0, $1441 = 0, $1442 = 0, $1443 = 0, $1444 = 0.0, $1445 = 0, $1446 = 0, $1447 = 0.0, $1448 = 0.0;
+ var $1449 = 0.0, $145 = 0, $1450 = 0.0, $1451 = 0.0, $1452 = 0.0, $1453 = 0.0, $1454 = 0.0, $1455 = 0.0, $1456 = 0.0, $1457 = 0.0, $1458 = 0.0, $1459 = 0.0, $146 = 0, $1460 = 0, $1461 = 0, $1462 = 0, $1463 = 0, $1464 = 0, $1465 = 0, $1466 = 0;
+ var $1467 = 0, $1468 = 0, $1469 = 0, $147 = 0, $1470 = 0.0, $1471 = 0, $1472 = 0, $1473 = 0, $1474 = 0.0, $1475 = 0.0, $1476 = 0, $1477 = 0, $1478 = 0.0, $1479 = 0, $148 = 0, $1480 = 0, $1481 = 0, $1482 = 0.0, $1483 = 0.0, $1484 = 0.0;
+ var $1485 = 0.0, $1486 = 0.0, $1487 = 0.0, $1488 = 0.0, $1489 = 0.0, $149 = 0, $1490 = 0, $1491 = 0, $1492 = 0.0, $1493 = 0.0, $1494 = 0.0, $1495 = 0.0, $1496 = 0.0, $1497 = 0.0, $1498 = 0, $1499 = 0, $15 = 0, $150 = 0, $1500 = 0, $1501 = 0;
+ var $1502 = 0, $1503 = 0, $1504 = 0, $1505 = 0, $1506 = 0, $1507 = 0.0, $1508 = 0.0, $1509 = 0.0, $151 = 0, $1510 = 0, $1511 = 0, $1512 = 0, $1513 = 0, $1514 = 0, $1515 = 0, $1516 = 0, $1517 = 0, $1518 = 0, $1519 = 0.0, $152 = 0;
+ var $1520 = 0.0, $1521 = 0.0, $1522 = 0, $1523 = 0, $1524 = 0, $1525 = 0, $1526 = 0, $1527 = 0, $1528 = 0.0, $1529 = 0.0, $153 = 0, $1530 = 0.0, $1531 = 0.0, $1532 = 0.0, $1533 = 0, $1534 = 0, $1535 = 0, $1536 = 0.0, $1537 = 0.0, $1538 = 0.0;
+ var $1539 = 0.0, $154 = 0, $1540 = 0.0, $1541 = 0, $1542 = 0, $1543 = 0, $1544 = 0, $1545 = 0, $1546 = 0, $1547 = 0, $1548 = 0, $1549 = 0, $155 = 0, $1550 = 0.0, $1551 = 0, $1552 = 0, $1553 = 0, $1554 = 0, $1555 = 0.0, $1556 = 0.0;
+ var $1557 = 0.0, $1558 = 0.0, $1559 = 0, $156 = 0, $1560 = 0, $1561 = 0.0, $1562 = 0.0, $1563 = 0, $1564 = 0, $1565 = 0.0, $1566 = 0, $1567 = 0, $1568 = 0, $1569 = 0, $157 = 0, $1570 = 0.0, $1571 = 0.0, $1572 = 0.0, $1573 = 0, $1574 = 0;
+ var $1575 = 0, $1576 = 0, $1577 = 0.0, $1578 = 0.0, $1579 = 0, $158 = 0, $1580 = 0, $1581 = 0, $1582 = 0, $1583 = 0.0, $1584 = 0, $1585 = 0, $1586 = 0, $1587 = 0, $1588 = 0, $1589 = 0, $159 = 0, $1590 = 0.0, $1591 = 0.0, $1592 = 0.0;
+ var $1593 = 0, $1594 = 0, $1595 = 0, $1596 = 0.0, $1597 = 0.0, $1598 = 0, $1599 = 0, $16 = 0, $160 = 0, $1600 = 0, $1601 = 0.0, $1602 = 0.0, $1603 = 0, $1604 = 0, $1605 = 0, $1606 = 0, $1607 = 0, $1608 = 0.0, $1609 = 0.0, $161 = 0;
+ var $1610 = 0, $1611 = 0, $1612 = 0, $1613 = 0, $1614 = 0, $1615 = 0, $1616 = 0, $1617 = 0, $1618 = 0, $1619 = 0, $162 = 0, $1620 = 0.0, $1621 = 0.0, $1622 = 0, $1623 = 0, $1624 = 0.0, $1625 = 0.0, $1626 = 0, $1627 = 0.0, $1628 = 0;
+ var $1629 = 0, $163 = 0, $1630 = 0.0, $1631 = 0.0, $1632 = 0.0, $1633 = 0.0, $1634 = 0, $1635 = 0, $1636 = 0.0, $1637 = 0.0, $1638 = 0, $1639 = 0, $164 = 0, $1640 = 0.0, $1641 = 0.0, $1642 = 0, $1643 = 0, $1644 = 0, $1645 = 0, $1646 = 0;
+ var $1647 = 0.0, $1648 = 0.0, $1649 = 0, $165 = 0, $1650 = 0, $1651 = 0, $1652 = 0, $1653 = 0, $1654 = 0, $1655 = 0, $1656 = 0, $1657 = 0, $1658 = 0, $1659 = 0.0, $166 = 0, $1660 = 0.0, $1661 = 0, $1662 = 0, $1663 = 0.0, $1664 = 0.0;
+ var $1665 = 0, $1666 = 0.0, $1667 = 0, $1668 = 0, $1669 = 0.0, $167 = 0, $1670 = 0.0, $1671 = 0.0, $1672 = 0.0, $1673 = 0, $1674 = 0, $1675 = 0.0, $1676 = 0.0, $1677 = 0, $1678 = 0, $1679 = 0, $168 = 0, $1680 = 0, $1681 = 0, $1682 = 0;
+ var $1683 = 0, $1684 = 0, $1685 = 0, $1686 = 0, $1687 = 0, $1688 = 0, $1689 = 0, $169 = 0, $1690 = 0, $1691 = 0, $1692 = 0, $1693 = 0.0, $1694 = 0, $1695 = 0, $1696 = 0, $1697 = 0, $1698 = 0, $1699 = 0, $17 = 0, $170 = 0;
+ var $1700 = 0, $1701 = 0.0, $1702 = 0, $1703 = 0, $1704 = 0, $1705 = 0, $1706 = 0, $1707 = 0, $1708 = 0, $1709 = 0.0, $171 = 0, $1710 = 0, $1711 = 0, $1712 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0;
+ var $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0;
+ var $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0.0, $211 = 0.0, $212 = 0, $213 = 0;
+ var $214 = 0, $215 = 0, $216 = 0.0, $217 = 0.0, $218 = 0, $219 = 0, $22 = 0, $220 = 0.0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0.0, $228 = 0.0, $229 = 0, $23 = 0, $230 = 0, $231 = 0;
+ var $232 = 0.0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0.0, $241 = 0.0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0.0, $248 = 0, $249 = 0, $25 = 0;
+ var $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0.0, $258 = 0.0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0;
+ var $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0;
+ var $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0;
+ var $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0.0, $312 = 0.0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0.0, $320 = 0.0, $321 = 0, $322 = 0;
+ var $323 = 0, $324 = 0, $325 = 0.0, $326 = 0.0, $327 = 0, $328 = 0, $329 = 0, $33 = 0.0, $330 = 0.0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0.0, $337 = 0.0, $338 = 0, $339 = 0, $34 = 0.0, $340 = 0;
+ var $341 = 0.0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0.0, $348 = 0.0, $349 = 0, $35 = 0.0, $350 = 0, $351 = 0, $352 = 0, $353 = 0.0, $354 = 0, $355 = 0, $356 = 0.0, $357 = 0.0, $358 = 0.0, $359 = 0.0;
+ var $36 = 0.0, $360 = 0.0, $361 = 0.0, $362 = 0.0, $363 = 0, $364 = 0, $365 = 0, $366 = 0.0, $367 = 0.0, $368 = 0.0, $369 = 0, $37 = 0.0, $370 = 0, $371 = 0, $372 = 0.0, $373 = 0.0, $374 = 0.0, $375 = 0.0, $376 = 0.0, $377 = 0.0;
+ var $378 = 0.0, $379 = 0.0, $38 = 0.0, $380 = 0.0, $381 = 0.0, $382 = 0.0, $383 = 0.0, $384 = 0.0, $385 = 0.0, $386 = 0.0, $387 = 0.0, $388 = 0.0, $389 = 0.0, $39 = 0, $390 = 0.0, $391 = 0.0, $392 = 0.0, $393 = 0.0, $394 = 0.0, $395 = 0;
+ var $396 = 0, $397 = 0.0, $398 = 0.0, $399 = 0.0, $40 = 0.0, $400 = 0.0, $401 = 0.0, $402 = 0.0, $403 = 0.0, $404 = 0.0, $405 = 0.0, $406 = 0.0, $407 = 0.0, $408 = 0.0, $409 = 0.0, $41 = 0.0, $410 = 0.0, $411 = 0.0, $412 = 0.0, $413 = 0.0;
+ var $414 = 0, $415 = 0, $416 = 0.0, $417 = 0.0, $418 = 0.0, $419 = 0.0, $42 = 0.0, $420 = 0.0, $421 = 0.0, $422 = 0.0, $423 = 0.0, $424 = 0, $425 = 0, $426 = 0, $427 = 0.0, $428 = 0.0, $429 = 0.0, $43 = 0.0, $430 = 0.0, $431 = 0.0;
+ var $432 = 0.0, $433 = 0.0, $434 = 0.0, $435 = 0.0, $436 = 0.0, $437 = 0.0, $438 = 0.0, $439 = 0, $44 = 0.0, $440 = 0, $441 = 0.0, $442 = 0, $443 = 0, $444 = 0, $445 = 0.0, $446 = 0, $447 = 0, $448 = 0, $449 = 0.0, $45 = 0;
+ var $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0.0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0;
+ var $469 = 0, $47 = 0.0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0.0;
+ var $487 = 0, $488 = 0, $489 = 0.0, $49 = 0, $490 = 0.0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0.0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0.0, $501 = 0.0, $502 = 0.0, $503 = 0, $504 = 0;
+ var $505 = 0, $506 = 0.0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0.0, $511 = 0.0, $512 = 0.0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0.0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0;
+ var $523 = 0, $524 = 0.0, $525 = 0.0, $526 = 0.0, $527 = 0.0, $528 = 0.0, $529 = 0.0, $53 = 0, $530 = 0.0, $531 = 0, $532 = 0, $533 = 0.0, $534 = 0.0, $535 = 0.0, $536 = 0.0, $537 = 0.0, $538 = 0.0, $539 = 0, $54 = 0.0, $540 = 0;
+ var $541 = 0.0, $542 = 0.0, $543 = 0.0, $544 = 0.0, $545 = 0.0, $546 = 0, $547 = 0, $548 = 0.0, $549 = 0, $55 = 0.0, $550 = 0.0, $551 = 0.0, $552 = 0, $553 = 0, $554 = 0.0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0;
+ var $56 = 0.0, $560 = 0, $561 = 0, $562 = 0, $563 = 0.0, $564 = 0.0, $565 = 0.0, $566 = 0.0, $567 = 0.0, $568 = 0.0, $569 = 0.0, $57 = 0.0, $570 = 0.0, $571 = 0.0, $572 = 0.0, $573 = 0.0, $574 = 0.0, $575 = 0.0, $576 = 0.0, $577 = 0.0;
+ var $578 = 0.0, $579 = 0.0, $58 = 0.0, $580 = 0.0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0.0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0.0, $590 = 0.0, $591 = 0.0, $592 = 0, $593 = 0, $594 = 0, $595 = 0.0;
+ var $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0.0, $600 = 0.0, $601 = 0.0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0.0, $607 = 0, $608 = 0, $609 = 0.0, $61 = 0.0, $610 = 0, $611 = 0, $612 = 0, $613 = 0;
+ var $614 = 0.0, $615 = 0.0, $616 = 0, $617 = 0, $618 = 0, $619 = 0.0, $62 = 0.0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0.0, $625 = 0.0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0.0, $630 = 0.0, $631 = 0;
+ var $632 = 0, $633 = 0, $634 = 0, $635 = 0.0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0.0, $640 = 0.0, $641 = 0.0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0.0, $648 = 0.0, $649 = 0, $65 = 0.0;
+ var $650 = 0, $651 = 0, $652 = 0, $653 = 0.0, $654 = 0.0, $655 = 0, $656 = 0, $657 = 0.0, $658 = 0, $659 = 0, $66 = 0.0, $660 = 0, $661 = 0, $662 = 0.0, $663 = 0.0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0.0;
+ var $669 = 0.0, $67 = 0.0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0.0, $675 = 0.0, $676 = 0.0, $677 = 0.0, $678 = 0.0, $679 = 0, $68 = 0.0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0;
+ var $687 = 0.0, $688 = 0.0, $689 = 0.0, $69 = 0.0, $690 = 0.0, $691 = 0.0, $692 = 0.0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0.0, $70 = 0.0, $700 = 0.0, $701 = 0.0, $702 = 0, $703 = 0, $704 = 0.0;
+ var $705 = 0.0, $706 = 0.0, $707 = 0.0, $708 = 0.0, $709 = 0.0, $71 = 0.0, $710 = 0.0, $711 = 0.0, $712 = 0, $713 = 0.0, $714 = 0.0, $715 = 0.0, $716 = 0.0, $717 = 0.0, $718 = 0.0, $719 = 0.0, $72 = 0.0, $720 = 0.0, $721 = 0.0, $722 = 0.0;
+ var $723 = 0.0, $724 = 0.0, $725 = 0.0, $726 = 0.0, $727 = 0.0, $728 = 0.0, $729 = 0.0, $73 = 0.0, $730 = 0.0, $731 = 0.0, $732 = 0.0, $733 = 0.0, $734 = 0.0, $735 = 0.0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0.0, $740 = 0.0;
+ var $741 = 0.0, $742 = 0, $743 = 0.0, $744 = 0.0, $745 = 0.0, $746 = 0.0, $747 = 0.0, $748 = 0, $749 = 0, $75 = 0.0, $750 = 0, $751 = 0, $752 = 0.0, $753 = 0.0, $754 = 0, $755 = 0, $756 = 0.0, $757 = 0, $758 = 0, $759 = 0.0;
+ var $76 = 0, $760 = 0.0, $761 = 0.0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0.0, $769 = 0.0, $77 = 0, $770 = 0.0, $771 = 0.0, $772 = 0, $773 = 0, $774 = 0.0, $775 = 0.0, $776 = 0.0, $777 = 0.0;
+ var $778 = 0.0, $779 = 0, $78 = 0.0, $780 = 0.0, $781 = 0, $782 = 0, $783 = 0.0, $784 = 0.0, $785 = 0.0, $786 = 0.0, $787 = 0.0, $788 = 0.0, $789 = 0, $79 = 0.0, $790 = 0, $791 = 0.0, $792 = 0, $793 = 0, $794 = 0.0, $795 = 0.0;
+ var $796 = 0.0, $797 = 0.0, $798 = 0, $799 = 0, $80 = 0.0, $800 = 0.0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0.0, $810 = 0, $811 = 0, $812 = 0, $813 = 0;
+ var $814 = 0.0, $815 = 0.0, $816 = 0.0, $817 = 0.0, $818 = 0.0, $819 = 0, $82 = 0.0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0.0, $830 = 0, $831 = 0;
+ var $832 = 0, $833 = 0, $834 = 0.0, $835 = 0, $836 = 0, $837 = 0.0, $838 = 0.0, $839 = 0, $84 = 0.0, $840 = 0, $841 = 0, $842 = 0, $843 = 0.0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0.0, $849 = 0.0, $85 = 0.0;
+ var $850 = 0.0, $851 = 0, $852 = 0, $853 = 0, $854 = 0.0, $855 = 0, $856 = 0, $857 = 0, $858 = 0.0, $859 = 0.0, $86 = 0.0, $860 = 0.0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0.0, $867 = 0, $868 = 0;
+ var $869 = 0, $87 = 0.0, $870 = 0, $871 = 0, $872 = 0.0, $873 = 0.0, $874 = 0.0, $875 = 0.0, $876 = 0.0, $877 = 0.0, $878 = 0, $879 = 0, $88 = 0.0, $880 = 0.0, $881 = 0.0, $882 = 0, $883 = 0.0, $884 = 0.0, $885 = 0.0, $886 = 0.0;
+ var $887 = 0.0, $888 = 0, $889 = 0, $89 = 0.0, $890 = 0, $891 = 0, $892 = 0.0, $893 = 0.0, $894 = 0.0, $895 = 0, $896 = 0.0, $897 = 0.0, $898 = 0, $899 = 0, $90 = 0.0, $900 = 0, $901 = 0, $902 = 0.0, $903 = 0.0, $904 = 0.0;
+ var $905 = 0, $906 = 0, $907 = 0, $908 = 0, $909 = 0.0, $91 = 0.0, $910 = 0.0, $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0.0, $916 = 0, $917 = 0.0, $918 = 0, $919 = 0, $92 = 0.0, $920 = 0, $921 = 0, $922 = 0.0;
+ var $923 = 0.0, $924 = 0.0, $925 = 0.0, $926 = 0.0, $927 = 0, $928 = 0.0, $929 = 0.0, $93 = 0, $930 = 0.0, $931 = 0.0, $932 = 0.0, $933 = 0.0, $934 = 0.0, $935 = 0.0, $936 = 0.0, $937 = 0, $938 = 0.0, $939 = 0.0, $94 = 0, $940 = 0.0;
+ var $941 = 0, $942 = 0.0, $943 = 0.0, $944 = 0, $945 = 0, $946 = 0, $947 = 0.0, $948 = 0.0, $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0.0, $958 = 0.0, $959 = 0.0;
+ var $96 = 0, $960 = 0.0, $961 = 0.0, $962 = 0, $963 = 0, $964 = 0.0, $965 = 0.0, $966 = 0.0, $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0.0, $971 = 0.0, $972 = 0.0, $973 = 0, $974 = 0, $975 = 0.0, $976 = 0.0, $977 = 0.0;
+ var $978 = 0, $979 = 0, $98 = 0, $980 = 0.0, $981 = 0.0, $982 = 0.0, $983 = 0, $984 = 0, $985 = 0.0, $986 = 0.0, $987 = 0, $988 = 0.0, $989 = 0, $99 = 0, $990 = 0, $991 = 0.0, $992 = 0.0, $993 = 0, $994 = 0, $995 = 0;
+ var $996 = 0, $997 = 0, $998 = 0, $999 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 10192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(10192|0);
+ $28 = sp + 10040|0;
+ $29 = sp + 9968|0;
+ $30 = sp + 9936|0;
+ $31 = sp + 9836|0;
+ $39 = sp + 9800|0;
+ $50 = sp + 5920|0;
+ $51 = sp + 2080|0;
+ $52 = sp + 1120|0;
+ $53 = sp + 160|0;
+ $10 = $0;
+ $11 = $1;
+ $12 = $2;
+ $13 = $3;
+ $14 = $4;
+ $15 = $5;
+ $16 = $6;
+ $17 = $7;
+ $18 = $8;
+ $19 = $9;
+ $23 = 480;
+ $24 = 240;
+ $93 = $10;
+ $94 = ((($93)) + 4|0);
+ $25 = $94;
+ $95 = $10;
+ $96 = ((($95)) + 964|0);
+ $26 = $96;
+ $97 = $10;
+ $98 = ((($97)) + 1924|0);
+ $27 = $98;
+ $35 = 97.409088134765625;
+ $36 = 0.0;
+ $45 = 0;
+ $46 = 0.0;
+ $99 = $10;
+ $100 = ((($99)) + 6864|0);
+ $101 = HEAP32[$100>>2]|0;
+ $102 = (($101) + 1)|0;
+ HEAP32[$100>>2] = $102;
+ $103 = $10;
+ $104 = ((($103)) + 6868|0);
+ $105 = HEAP32[$104>>2]|0;
+ $106 = (1 + ($105))|0;
+ $107 = (20)<($106|0);
+ if ($107) {
+ $113 = 20;
+ } else {
+ $108 = $10;
+ $109 = ((($108)) + 6868|0);
+ $110 = HEAP32[$109>>2]|0;
+ $111 = (1 + ($110))|0;
+ $113 = $111;
+ }
+ $112 = (+($113|0));
+ $114 = 1.0 / $112;
+ $40 = $114;
+ $115 = $10;
+ $116 = ((($115)) + 6868|0);
+ $117 = HEAP32[$116>>2]|0;
+ $118 = (1 + ($117))|0;
+ $119 = (50)<($118|0);
+ if ($119) {
+ $125 = 50;
+ } else {
+ $120 = $10;
+ $121 = ((($120)) + 6868|0);
+ $122 = HEAP32[$121>>2]|0;
+ $123 = (1 + ($122))|0;
+ $125 = $123;
+ }
+ $124 = (+($125|0));
+ $126 = 1.0 / $124;
+ $41 = $126;
+ $127 = $10;
+ $128 = ((($127)) + 6868|0);
+ $129 = HEAP32[$128>>2]|0;
+ $130 = (1 + ($129))|0;
+ $131 = (1000)<($130|0);
+ if ($131) {
+ $137 = 1000;
+ } else {
+ $132 = $10;
+ $133 = ((($132)) + 6868|0);
+ $134 = HEAP32[$133>>2]|0;
+ $135 = (1 + ($134))|0;
+ $137 = $135;
+ }
+ $136 = (+($137|0));
+ $138 = 1.0 / $136;
+ $42 = $138;
+ $139 = $10;
+ $140 = ((($139)) + 6868|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = ($141|0)<(4);
+ if ($142) {
+ $143 = $10;
+ $144 = ((($143)) + 6844|0);
+ HEAPF32[$144>>2] = 0.5;
+ }
+ $145 = $11;
+ $146 = ((($145)) + 64|0);
+ $147 = ((($146)) + 8|0);
+ $148 = HEAP32[$147>>2]|0;
+ $22 = $148;
+ $149 = $10;
+ $150 = ((($149)) + 6868|0);
+ $151 = HEAP32[$150>>2]|0;
+ $152 = ($151|0)==(0);
+ if ($152) {
+ $153 = $10;
+ $154 = ((($153)) + 5764|0);
+ HEAP32[$154>>2] = 240;
+ }
+ $155 = $19;
+ $156 = $12;
+ $157 = $10;
+ $158 = ((($157)) + 2884|0);
+ $159 = $10;
+ $160 = ((($159)) + 5764|0);
+ $161 = HEAP32[$160>>2]|0;
+ $162 = (($158) + ($161<<2)|0);
+ $163 = $13;
+ $164 = $10;
+ $165 = ((($164)) + 5764|0);
+ $166 = HEAP32[$165>>2]|0;
+ $167 = (720 - ($166))|0;
+ $168 = ($163|0)<($167|0);
+ if ($168) {
+ $169 = $13;
+ $178 = $169;
+ } else {
+ $170 = $10;
+ $171 = ((($170)) + 5764|0);
+ $172 = HEAP32[$171>>2]|0;
+ $173 = (720 - ($172))|0;
+ $178 = $173;
+ }
+ $174 = $14;
+ $175 = $15;
+ $176 = $16;
+ $177 = $17;
+ FUNCTION_TABLE_viiiiiii[$155 & 31]($156,$162,$178,$174,$175,$176,$177);
+ $179 = $10;
+ $180 = ((($179)) + 5764|0);
+ $181 = HEAP32[$180>>2]|0;
+ $182 = $13;
+ $183 = (($181) + ($182))|0;
+ $184 = ($183|0)<(720);
+ if ($184) {
+ $185 = $13;
+ $186 = $10;
+ $187 = ((($186)) + 5764|0);
+ $188 = HEAP32[$187>>2]|0;
+ $189 = (($188) + ($185))|0;
+ HEAP32[$187>>2] = $189;
+ STACKTOP = sp;return;
+ }
+ $190 = $10;
+ $191 = ((($190)) + 8516|0);
+ $192 = $10;
+ $193 = ((($192)) + 8504|0);
+ $194 = HEAP32[$193>>2]|0;
+ $195 = (($194) + 1)|0;
+ HEAP32[$193>>2] = $195;
+ $196 = (($191) + (($194*28)|0)|0);
+ $49 = $196;
+ $197 = $10;
+ $198 = ((($197)) + 8504|0);
+ $199 = HEAP32[$198>>2]|0;
+ $200 = ($199|0)>=(200);
+ if ($200) {
+ $201 = $10;
+ $202 = ((($201)) + 8504|0);
+ $203 = HEAP32[$202>>2]|0;
+ $204 = (($203) - 200)|0;
+ HEAP32[$202>>2] = $204;
+ }
+ $20 = 0;
+ while(1) {
+ $205 = $20;
+ $206 = $24;
+ $207 = ($205|0)<($206|0);
+ if (!($207)) {
+ break;
+ }
+ $208 = $20;
+ $209 = (232 + ($208<<2)|0);
+ $210 = +HEAPF32[$209>>2];
+ $54 = $210;
+ $211 = $54;
+ $212 = $10;
+ $213 = ((($212)) + 2884|0);
+ $214 = $20;
+ $215 = (($213) + ($214<<2)|0);
+ $216 = +HEAPF32[$215>>2];
+ $217 = $211 * $216;
+ $218 = $20;
+ $219 = (($50) + ($218<<3)|0);
+ HEAPF32[$219>>2] = $217;
+ $220 = $54;
+ $221 = $10;
+ $222 = ((($221)) + 2884|0);
+ $223 = $24;
+ $224 = $20;
+ $225 = (($223) + ($224))|0;
+ $226 = (($222) + ($225<<2)|0);
+ $227 = +HEAPF32[$226>>2];
+ $228 = $220 * $227;
+ $229 = $20;
+ $230 = (($50) + ($229<<3)|0);
+ $231 = ((($230)) + 4|0);
+ HEAPF32[$231>>2] = $228;
+ $232 = $54;
+ $233 = $10;
+ $234 = ((($233)) + 2884|0);
+ $235 = $23;
+ $236 = $20;
+ $237 = (($235) - ($236))|0;
+ $238 = (($237) - 1)|0;
+ $239 = (($234) + ($238<<2)|0);
+ $240 = +HEAPF32[$239>>2];
+ $241 = $232 * $240;
+ $242 = $23;
+ $243 = $20;
+ $244 = (($242) - ($243))|0;
+ $245 = (($244) - 1)|0;
+ $246 = (($50) + ($245<<3)|0);
+ HEAPF32[$246>>2] = $241;
+ $247 = $54;
+ $248 = $10;
+ $249 = ((($248)) + 2884|0);
+ $250 = $23;
+ $251 = $24;
+ $252 = (($250) + ($251))|0;
+ $253 = $20;
+ $254 = (($252) - ($253))|0;
+ $255 = (($254) - 1)|0;
+ $256 = (($249) + ($255<<2)|0);
+ $257 = +HEAPF32[$256>>2];
+ $258 = $247 * $257;
+ $259 = $23;
+ $260 = $20;
+ $261 = (($259) - ($260))|0;
+ $262 = (($261) - 1)|0;
+ $263 = (($50) + ($262<<3)|0);
+ $264 = ((($263)) + 4|0);
+ HEAPF32[$264>>2] = $258;
+ $265 = $20;
+ $266 = (($265) + 1)|0;
+ $20 = $266;
+ }
+ $267 = $10;
+ $268 = ((($267)) + 2884|0);
+ $269 = $10;
+ $270 = ((($269)) + 2884|0);
+ $271 = ((($270)) + 2880|0);
+ $272 = ((($271)) + -960|0);
+ $273 = $10;
+ $274 = ((($273)) + 2884|0);
+ $275 = $10;
+ $276 = ((($275)) + 2884|0);
+ $277 = ((($276)) + 2880|0);
+ $278 = ((($277)) + -960|0);
+ $279 = $274;
+ $280 = $278;
+ $281 = (($279) - ($280))|0;
+ $282 = (($281|0) / 4)&-1;
+ $283 = 0;
+ $284 = (960 + ($283))|0;
+ _memmove(($268|0),($272|0),($284|0))|0;
+ $285 = $13;
+ $286 = $10;
+ $287 = ((($286)) + 5764|0);
+ $288 = HEAP32[$287>>2]|0;
+ $289 = (720 - ($288))|0;
+ $290 = (($285) - ($289))|0;
+ $48 = $290;
+ $291 = $19;
+ $292 = $12;
+ $293 = $10;
+ $294 = ((($293)) + 2884|0);
+ $295 = ((($294)) + 960|0);
+ $296 = $48;
+ $297 = $14;
+ $298 = (($297) + 720)|0;
+ $299 = $10;
+ $300 = ((($299)) + 5764|0);
+ $301 = HEAP32[$300>>2]|0;
+ $302 = (($298) - ($301))|0;
+ $303 = $15;
+ $304 = $16;
+ $305 = $17;
+ FUNCTION_TABLE_viiiiiii[$291 & 31]($292,$295,$296,$302,$303,$304,$305);
+ $306 = $48;
+ $307 = (240 + ($306))|0;
+ $308 = $10;
+ $309 = ((($308)) + 5764|0);
+ HEAP32[$309>>2] = $307;
+ $310 = $22;
+ _opus_fft_c($310,$50,$51);
+ $311 = +HEAPF32[$51>>2];
+ $312 = +HEAPF32[$51>>2];
+ $313 = $311 != $312;
+ if ($313) {
+ $314 = $49;
+ HEAP32[$314>>2] = 0;
+ STACKTOP = sp;return;
+ }
+ $20 = 1;
+ while(1) {
+ $315 = $20;
+ $316 = $24;
+ $317 = ($315|0)<($316|0);
+ if (!($317)) {
+ break;
+ }
+ $318 = $20;
+ $319 = (($51) + ($318<<3)|0);
+ $320 = +HEAPF32[$319>>2];
+ $321 = $23;
+ $322 = $20;
+ $323 = (($321) - ($322))|0;
+ $324 = (($51) + ($323<<3)|0);
+ $325 = +HEAPF32[$324>>2];
+ $326 = $320 + $325;
+ $55 = $326;
+ $327 = $20;
+ $328 = (($51) + ($327<<3)|0);
+ $329 = ((($328)) + 4|0);
+ $330 = +HEAPF32[$329>>2];
+ $331 = $23;
+ $332 = $20;
+ $333 = (($331) - ($332))|0;
+ $334 = (($51) + ($333<<3)|0);
+ $335 = ((($334)) + 4|0);
+ $336 = +HEAPF32[$335>>2];
+ $337 = $330 - $336;
+ $57 = $337;
+ $338 = $20;
+ $339 = (($51) + ($338<<3)|0);
+ $340 = ((($339)) + 4|0);
+ $341 = +HEAPF32[$340>>2];
+ $342 = $23;
+ $343 = $20;
+ $344 = (($342) - ($343))|0;
+ $345 = (($51) + ($344<<3)|0);
+ $346 = ((($345)) + 4|0);
+ $347 = +HEAPF32[$346>>2];
+ $348 = $341 + $347;
+ $56 = $348;
+ $349 = $23;
+ $350 = $20;
+ $351 = (($349) - ($350))|0;
+ $352 = (($51) + ($351<<3)|0);
+ $353 = +HEAPF32[$352>>2];
+ $354 = $20;
+ $355 = (($51) + ($354<<3)|0);
+ $356 = +HEAPF32[$355>>2];
+ $357 = $353 - $356;
+ $58 = $357;
+ $358 = $57;
+ $359 = $55;
+ $360 = (+_fast_atan2f($358,$359));
+ $361 = 0.15915493667125702 * $360;
+ $59 = $361;
+ $362 = $59;
+ $363 = $25;
+ $364 = $20;
+ $365 = (($363) + ($364<<2)|0);
+ $366 = +HEAPF32[$365>>2];
+ $367 = $362 - $366;
+ $60 = $367;
+ $368 = $60;
+ $369 = $26;
+ $370 = $20;
+ $371 = (($369) + ($370<<2)|0);
+ $372 = +HEAPF32[$371>>2];
+ $373 = $368 - $372;
+ $61 = $373;
+ $374 = $58;
+ $375 = $56;
+ $376 = (+_fast_atan2f($374,$375));
+ $377 = 0.15915493667125702 * $376;
+ $62 = $377;
+ $378 = $62;
+ $379 = $59;
+ $380 = $378 - $379;
+ $63 = $380;
+ $381 = $63;
+ $382 = $60;
+ $383 = $381 - $382;
+ $64 = $383;
+ $384 = $61;
+ $385 = $61;
+ $386 = $385;
+ $387 = 0.5 + $386;
+ $388 = (+Math_floor((+$387)));
+ $389 = $388;
+ $390 = $384 - $389;
+ $65 = $390;
+ $391 = $65;
+ $392 = $391;
+ $393 = (+Math_abs((+$392)));
+ $394 = $393;
+ $395 = $20;
+ $396 = (($53) + ($395<<2)|0);
+ HEAPF32[$396>>2] = $394;
+ $397 = $65;
+ $398 = $65;
+ $399 = $398 * $397;
+ $65 = $399;
+ $400 = $65;
+ $401 = $65;
+ $402 = $401 * $400;
+ $65 = $402;
+ $403 = $64;
+ $404 = $64;
+ $405 = $404;
+ $406 = 0.5 + $405;
+ $407 = (+Math_floor((+$406)));
+ $408 = $407;
+ $409 = $403 - $408;
+ $66 = $409;
+ $410 = $66;
+ $411 = $410;
+ $412 = (+Math_abs((+$411)));
+ $413 = $412;
+ $414 = $20;
+ $415 = (($53) + ($414<<2)|0);
+ $416 = +HEAPF32[$415>>2];
+ $417 = $416 + $413;
+ HEAPF32[$415>>2] = $417;
+ $418 = $66;
+ $419 = $66;
+ $420 = $419 * $418;
+ $66 = $420;
+ $421 = $66;
+ $422 = $66;
+ $423 = $422 * $421;
+ $66 = $423;
+ $424 = $27;
+ $425 = $20;
+ $426 = (($424) + ($425<<2)|0);
+ $427 = +HEAPF32[$426>>2];
+ $428 = $65;
+ $429 = 2.0 * $428;
+ $430 = $427 + $429;
+ $431 = $66;
+ $432 = $430 + $431;
+ $433 = 0.25 * $432;
+ $67 = $433;
+ $434 = $67;
+ $435 = 62341.81640625 * $434;
+ $436 = 1.0 + $435;
+ $437 = 1.0 / $436;
+ $438 = $437 - 0.014999999664723873;
+ $439 = $20;
+ $440 = (($52) + ($439<<2)|0);
+ HEAPF32[$440>>2] = $438;
+ $441 = $62;
+ $442 = $25;
+ $443 = $20;
+ $444 = (($442) + ($443<<2)|0);
+ HEAPF32[$444>>2] = $441;
+ $445 = $63;
+ $446 = $26;
+ $447 = $20;
+ $448 = (($446) + ($447<<2)|0);
+ HEAPF32[$448>>2] = $445;
+ $449 = $66;
+ $450 = $27;
+ $451 = $20;
+ $452 = (($450) + ($451<<2)|0);
+ HEAPF32[$452>>2] = $449;
+ $453 = $20;
+ $454 = (($453) + 1)|0;
+ $20 = $454;
+ }
+ $32 = 0.0;
+ $33 = 0.0;
+ $455 = $49;
+ $456 = ((($455)) + 16|0);
+ HEAPF32[$456>>2] = 0.0;
+ $34 = 0.0;
+ $37 = 0.0;
+ $457 = $10;
+ $458 = ((($457)) + 6868|0);
+ $459 = HEAP32[$458>>2]|0;
+ $460 = ($459|0)!=(0);
+ L39: do {
+ if (!($460)) {
+ $21 = 0;
+ while(1) {
+ $461 = $21;
+ $462 = ($461|0)<(18);
+ if (!($462)) {
+ break L39;
+ }
+ $463 = $10;
+ $464 = ((($463)) + 6420|0);
+ $465 = $21;
+ $466 = (($464) + ($465<<2)|0);
+ HEAPF32[$466>>2] = 1.0E+10;
+ $467 = $10;
+ $468 = ((($467)) + 6492|0);
+ $469 = $21;
+ $470 = (($468) + ($469<<2)|0);
+ HEAPF32[$470>>2] = -1.0E+10;
+ $471 = $21;
+ $472 = (($471) + 1)|0;
+ $21 = $472;
+ }
+ }
+ } while(0);
+ $38 = 0.0;
+ $43 = 0.0;
+ $21 = 0;
+ while(1) {
+ $473 = $21;
+ $474 = ($473|0)<(18);
+ if (!($474)) {
+ break;
+ }
+ $68 = 0.0;
+ $69 = 0.0;
+ $70 = 0.0;
+ $475 = $21;
+ $476 = (1192 + ($475<<2)|0);
+ $477 = HEAP32[$476>>2]|0;
+ $20 = $477;
+ while(1) {
+ $478 = $20;
+ $479 = $21;
+ $480 = (($479) + 1)|0;
+ $481 = (1192 + ($480<<2)|0);
+ $482 = HEAP32[$481>>2]|0;
+ $483 = ($478|0)<($482|0);
+ if (!($483)) {
+ break;
+ }
+ $484 = $20;
+ $485 = (($51) + ($484<<3)|0);
+ $486 = +HEAPF32[$485>>2];
+ $487 = $20;
+ $488 = (($51) + ($487<<3)|0);
+ $489 = +HEAPF32[$488>>2];
+ $490 = $486 * $489;
+ $491 = $23;
+ $492 = $20;
+ $493 = (($491) - ($492))|0;
+ $494 = (($51) + ($493<<3)|0);
+ $495 = +HEAPF32[$494>>2];
+ $496 = $23;
+ $497 = $20;
+ $498 = (($496) - ($497))|0;
+ $499 = (($51) + ($498<<3)|0);
+ $500 = +HEAPF32[$499>>2];
+ $501 = $495 * $500;
+ $502 = $490 + $501;
+ $503 = $20;
+ $504 = (($51) + ($503<<3)|0);
+ $505 = ((($504)) + 4|0);
+ $506 = +HEAPF32[$505>>2];
+ $507 = $20;
+ $508 = (($51) + ($507<<3)|0);
+ $509 = ((($508)) + 4|0);
+ $510 = +HEAPF32[$509>>2];
+ $511 = $506 * $510;
+ $512 = $502 + $511;
+ $513 = $23;
+ $514 = $20;
+ $515 = (($513) - ($514))|0;
+ $516 = (($51) + ($515<<3)|0);
+ $517 = ((($516)) + 4|0);
+ $518 = +HEAPF32[$517>>2];
+ $519 = $23;
+ $520 = $20;
+ $521 = (($519) - ($520))|0;
+ $522 = (($51) + ($521<<3)|0);
+ $523 = ((($522)) + 4|0);
+ $524 = +HEAPF32[$523>>2];
+ $525 = $518 * $524;
+ $526 = $512 + $525;
+ $74 = $526;
+ $527 = $74;
+ $528 = $68;
+ $529 = $528 + $527;
+ $68 = $529;
+ $530 = $74;
+ $531 = $20;
+ $532 = (($52) + ($531<<2)|0);
+ $533 = +HEAPF32[$532>>2];
+ $534 = $530 * $533;
+ $535 = $69;
+ $536 = $535 + $534;
+ $69 = $536;
+ $537 = $74;
+ $538 = $537 * 2.0;
+ $539 = $20;
+ $540 = (($53) + ($539<<2)|0);
+ $541 = +HEAPF32[$540>>2];
+ $542 = 0.5 - $541;
+ $543 = $538 * $542;
+ $544 = $70;
+ $545 = $544 + $543;
+ $70 = $545;
+ $546 = $20;
+ $547 = (($546) + 1)|0;
+ $20 = $547;
+ }
+ $548 = $68;
+ $549 = $548 < 1.0E+9;
+ if (!($549)) {
+ label = 37;
+ break;
+ }
+ $550 = $68;
+ $551 = $68;
+ $552 = $550 != $551;
+ if ($552) {
+ label = 37;
+ break;
+ }
+ $554 = $68;
+ $555 = $10;
+ $556 = ((($555)) + 5844|0);
+ $557 = $10;
+ $558 = ((($557)) + 6856|0);
+ $559 = HEAP32[$558>>2]|0;
+ $560 = (($556) + (($559*72)|0)|0);
+ $561 = $21;
+ $562 = (($560) + ($561<<2)|0);
+ HEAPF32[$562>>2] = $554;
+ $563 = $70;
+ $564 = $68;
+ $565 = 1.0000000036274937E-15 + $564;
+ $566 = $563 / $565;
+ $567 = $34;
+ $568 = $567 + $566;
+ $34 = $568;
+ $569 = $68;
+ $570 = $569 + 1.000000013351432E-10;
+ $571 = $570;
+ $572 = (+Math_sqrt((+$571)));
+ $573 = $572;
+ $574 = $43;
+ $575 = $574 + $573;
+ $43 = $575;
+ $576 = $68;
+ $577 = $576 + 1.000000013351432E-10;
+ $578 = $577;
+ $579 = (+Math_log((+$578)));
+ $580 = $579;
+ $581 = $21;
+ $582 = (($29) + ($581<<2)|0);
+ HEAPF32[$582>>2] = $580;
+ $583 = $21;
+ $584 = (($29) + ($583<<2)|0);
+ $585 = +HEAPF32[$584>>2];
+ $586 = $10;
+ $587 = ((($586)) + 6420|0);
+ $588 = $21;
+ $589 = (($587) + ($588<<2)|0);
+ $590 = +HEAPF32[$589>>2];
+ $591 = $590 + 0.0099999997764825821;
+ $592 = $585 < $591;
+ if ($592) {
+ $593 = $21;
+ $594 = (($29) + ($593<<2)|0);
+ $595 = +HEAPF32[$594>>2];
+ $606 = $595;
+ } else {
+ $596 = $10;
+ $597 = ((($596)) + 6420|0);
+ $598 = $21;
+ $599 = (($597) + ($598<<2)|0);
+ $600 = +HEAPF32[$599>>2];
+ $601 = $600 + 0.0099999997764825821;
+ $606 = $601;
+ }
+ $602 = $10;
+ $603 = ((($602)) + 6420|0);
+ $604 = $21;
+ $605 = (($603) + ($604<<2)|0);
+ HEAPF32[$605>>2] = $606;
+ $607 = $21;
+ $608 = (($29) + ($607<<2)|0);
+ $609 = +HEAPF32[$608>>2];
+ $610 = $10;
+ $611 = ((($610)) + 6492|0);
+ $612 = $21;
+ $613 = (($611) + ($612<<2)|0);
+ $614 = +HEAPF32[$613>>2];
+ $615 = $614 - 0.10000000149011612;
+ $616 = $609 > $615;
+ if ($616) {
+ $617 = $21;
+ $618 = (($29) + ($617<<2)|0);
+ $619 = +HEAPF32[$618>>2];
+ $630 = $619;
+ } else {
+ $620 = $10;
+ $621 = ((($620)) + 6492|0);
+ $622 = $21;
+ $623 = (($621) + ($622<<2)|0);
+ $624 = +HEAPF32[$623>>2];
+ $625 = $624 - 0.10000000149011612;
+ $630 = $625;
+ }
+ $626 = $10;
+ $627 = ((($626)) + 6492|0);
+ $628 = $21;
+ $629 = (($627) + ($628<<2)|0);
+ HEAPF32[$629>>2] = $630;
+ $631 = $10;
+ $632 = ((($631)) + 6492|0);
+ $633 = $21;
+ $634 = (($632) + ($633<<2)|0);
+ $635 = +HEAPF32[$634>>2];
+ $636 = $10;
+ $637 = ((($636)) + 6420|0);
+ $638 = $21;
+ $639 = (($637) + ($638<<2)|0);
+ $640 = +HEAPF32[$639>>2];
+ $641 = $640 + 1.0;
+ $642 = $635 < $641;
+ if ($642) {
+ $643 = $10;
+ $644 = ((($643)) + 6492|0);
+ $645 = $21;
+ $646 = (($644) + ($645<<2)|0);
+ $647 = +HEAPF32[$646>>2];
+ $648 = $647 + 0.5;
+ HEAPF32[$646>>2] = $648;
+ $649 = $10;
+ $650 = ((($649)) + 6420|0);
+ $651 = $21;
+ $652 = (($650) + ($651<<2)|0);
+ $653 = +HEAPF32[$652>>2];
+ $654 = $653 - 0.5;
+ HEAPF32[$652>>2] = $654;
+ }
+ $655 = $21;
+ $656 = (($29) + ($655<<2)|0);
+ $657 = +HEAPF32[$656>>2];
+ $658 = $10;
+ $659 = ((($658)) + 6420|0);
+ $660 = $21;
+ $661 = (($659) + ($660<<2)|0);
+ $662 = +HEAPF32[$661>>2];
+ $663 = $657 - $662;
+ $664 = $10;
+ $665 = ((($664)) + 6492|0);
+ $666 = $21;
+ $667 = (($665) + ($666<<2)|0);
+ $668 = +HEAPF32[$667>>2];
+ $669 = 1.0000000036274937E-15 + $668;
+ $670 = $10;
+ $671 = ((($670)) + 6420|0);
+ $672 = $21;
+ $673 = (($671) + ($672<<2)|0);
+ $674 = +HEAPF32[$673>>2];
+ $675 = $669 - $674;
+ $676 = $663 / $675;
+ $677 = $38;
+ $678 = $677 + $676;
+ $38 = $678;
+ $72 = 0.0;
+ $71 = 0.0;
+ $20 = 0;
+ while(1) {
+ $679 = $20;
+ $680 = ($679|0)<(8);
+ if (!($680)) {
+ break;
+ }
+ $681 = $10;
+ $682 = ((($681)) + 5844|0);
+ $683 = $20;
+ $684 = (($682) + (($683*72)|0)|0);
+ $685 = $21;
+ $686 = (($684) + ($685<<2)|0);
+ $687 = +HEAPF32[$686>>2];
+ $688 = $687;
+ $689 = (+Math_sqrt((+$688)));
+ $690 = $689;
+ $691 = $71;
+ $692 = $691 + $690;
+ $71 = $692;
+ $693 = $10;
+ $694 = ((($693)) + 5844|0);
+ $695 = $20;
+ $696 = (($694) + (($695*72)|0)|0);
+ $697 = $21;
+ $698 = (($696) + ($697<<2)|0);
+ $699 = +HEAPF32[$698>>2];
+ $700 = $72;
+ $701 = $700 + $699;
+ $72 = $701;
+ $702 = $20;
+ $703 = (($702) + 1)|0;
+ $20 = $703;
+ }
+ $704 = $71;
+ $705 = $72;
+ $706 = 8.0 * $705;
+ $707 = $706;
+ $708 = 1.0000000000000001E-15 + $707;
+ $709 = (+Math_sqrt((+$708)));
+ $710 = $709;
+ $711 = $704 / $710;
+ $712 = 0.99000000953674316 < $711;
+ if ($712) {
+ $721 = 0.99000000953674316;
+ } else {
+ $713 = $71;
+ $714 = $72;
+ $715 = 8.0 * $714;
+ $716 = $715;
+ $717 = 1.0000000000000001E-15 + $716;
+ $718 = (+Math_sqrt((+$717)));
+ $719 = $718;
+ $720 = $713 / $719;
+ $721 = $720;
+ }
+ $73 = $721;
+ $722 = $73;
+ $723 = $73;
+ $724 = $723 * $722;
+ $73 = $724;
+ $725 = $73;
+ $726 = $73;
+ $727 = $726 * $725;
+ $73 = $727;
+ $728 = $73;
+ $729 = $37;
+ $730 = $729 + $728;
+ $37 = $730;
+ $731 = $69;
+ $732 = $68;
+ $733 = 1.0000000036274937E-15 + $732;
+ $734 = $731 / $733;
+ $735 = $73;
+ $736 = $10;
+ $737 = ((($736)) + 5768|0);
+ $738 = $21;
+ $739 = (($737) + ($738<<2)|0);
+ $740 = +HEAPF32[$739>>2];
+ $741 = $735 * $740;
+ $742 = $734 > $741;
+ if ($742) {
+ $743 = $69;
+ $744 = $68;
+ $745 = 1.0000000036274937E-15 + $744;
+ $746 = $743 / $745;
+ $756 = $746;
+ } else {
+ $747 = $73;
+ $748 = $10;
+ $749 = ((($748)) + 5768|0);
+ $750 = $21;
+ $751 = (($749) + ($750<<2)|0);
+ $752 = +HEAPF32[$751>>2];
+ $753 = $747 * $752;
+ $756 = $753;
+ }
+ $754 = $21;
+ $755 = (($28) + ($754<<2)|0);
+ HEAPF32[$755>>2] = $756;
+ $757 = $21;
+ $758 = (($28) + ($757<<2)|0);
+ $759 = +HEAPF32[$758>>2];
+ $760 = $32;
+ $761 = $760 + $759;
+ $32 = $761;
+ $762 = $21;
+ $763 = ($762|0)>=(9);
+ if ($763) {
+ $764 = $21;
+ $765 = (($764) - 18)|0;
+ $766 = (($765) + 9)|0;
+ $767 = (($28) + ($766<<2)|0);
+ $768 = +HEAPF32[$767>>2];
+ $769 = $32;
+ $770 = $769 - $768;
+ $32 = $770;
+ }
+ $771 = $33;
+ $772 = $21;
+ $773 = (($772) - 18)|0;
+ $774 = (+($773|0));
+ $775 = 0.029999999329447746 * $774;
+ $776 = 1.0 + $775;
+ $777 = $32;
+ $778 = $776 * $777;
+ $779 = $771 > $778;
+ if ($779) {
+ $780 = $33;
+ $788 = $780;
+ } else {
+ $781 = $21;
+ $782 = (($781) - 18)|0;
+ $783 = (+($782|0));
+ $784 = 0.029999999329447746 * $783;
+ $785 = 1.0 + $784;
+ $786 = $32;
+ $787 = $785 * $786;
+ $788 = $787;
+ }
+ $33 = $788;
+ $789 = $21;
+ $790 = (($28) + ($789<<2)|0);
+ $791 = +HEAPF32[$790>>2];
+ $792 = $21;
+ $793 = (($792) - 8)|0;
+ $794 = (+($793|0));
+ $795 = $791 * $794;
+ $796 = $36;
+ $797 = $796 + $795;
+ $36 = $797;
+ $798 = $21;
+ $799 = (($28) + ($798<<2)|0);
+ $800 = +HEAPF32[$799>>2];
+ $801 = $10;
+ $802 = ((($801)) + 5768|0);
+ $803 = $21;
+ $804 = (($802) + ($803<<2)|0);
+ HEAPF32[$804>>2] = $800;
+ $805 = $21;
+ $806 = (($805) + 1)|0;
+ $21 = $806;
+ }
+ if ((label|0) == 37) {
+ $553 = $49;
+ HEAP32[$553>>2] = 0;
+ STACKTOP = sp;return;
+ }
+ $44 = 0.0;
+ $45 = 0;
+ $46 = 0.0;
+ $807 = $18;
+ $808 = (($807) - 8)|0;
+ $809 = (0)>($808|0);
+ $810 = $18;
+ $811 = (($810) - 8)|0;
+ $812 = $809 ? 0 : $811;
+ $813 = 1 << $812;
+ $814 = (+($813|0));
+ $815 = 5.6999997468665242E-4 / $814;
+ $47 = $815;
+ $816 = $47;
+ $817 = $47;
+ $818 = $817 * $816;
+ $47 = $818;
+ $21 = 0;
+ while(1) {
+ $819 = $21;
+ $820 = ($819|0)<(21);
+ if (!($820)) {
+ break;
+ }
+ $75 = 0.0;
+ $821 = $21;
+ $822 = (1268 + ($821<<2)|0);
+ $823 = HEAP32[$822>>2]|0;
+ $76 = $823;
+ $824 = $21;
+ $825 = (($824) + 1)|0;
+ $826 = (1268 + ($825<<2)|0);
+ $827 = HEAP32[$826>>2]|0;
+ $77 = $827;
+ $828 = $76;
+ $20 = $828;
+ while(1) {
+ $829 = $20;
+ $830 = $77;
+ $831 = ($829|0)<($830|0);
+ if (!($831)) {
+ break;
+ }
+ $832 = $20;
+ $833 = (($51) + ($832<<3)|0);
+ $834 = +HEAPF32[$833>>2];
+ $835 = $20;
+ $836 = (($51) + ($835<<3)|0);
+ $837 = +HEAPF32[$836>>2];
+ $838 = $834 * $837;
+ $839 = $23;
+ $840 = $20;
+ $841 = (($839) - ($840))|0;
+ $842 = (($51) + ($841<<3)|0);
+ $843 = +HEAPF32[$842>>2];
+ $844 = $23;
+ $845 = $20;
+ $846 = (($844) - ($845))|0;
+ $847 = (($51) + ($846<<3)|0);
+ $848 = +HEAPF32[$847>>2];
+ $849 = $843 * $848;
+ $850 = $838 + $849;
+ $851 = $20;
+ $852 = (($51) + ($851<<3)|0);
+ $853 = ((($852)) + 4|0);
+ $854 = +HEAPF32[$853>>2];
+ $855 = $20;
+ $856 = (($51) + ($855<<3)|0);
+ $857 = ((($856)) + 4|0);
+ $858 = +HEAPF32[$857>>2];
+ $859 = $854 * $858;
+ $860 = $850 + $859;
+ $861 = $23;
+ $862 = $20;
+ $863 = (($861) - ($862))|0;
+ $864 = (($51) + ($863<<3)|0);
+ $865 = ((($864)) + 4|0);
+ $866 = +HEAPF32[$865>>2];
+ $867 = $23;
+ $868 = $20;
+ $869 = (($867) - ($868))|0;
+ $870 = (($51) + ($869<<3)|0);
+ $871 = ((($870)) + 4|0);
+ $872 = +HEAPF32[$871>>2];
+ $873 = $866 * $872;
+ $874 = $860 + $873;
+ $78 = $874;
+ $875 = $78;
+ $876 = $75;
+ $877 = $876 + $875;
+ $75 = $877;
+ $878 = $20;
+ $879 = (($878) + 1)|0;
+ $20 = $879;
+ }
+ $880 = $46;
+ $881 = $75;
+ $882 = $880 > $881;
+ $883 = $46;
+ $884 = $75;
+ $885 = $882 ? $883 : $884;
+ $46 = $885;
+ $886 = $42;
+ $887 = 1.0 - $886;
+ $888 = $10;
+ $889 = ((($888)) + 6564|0);
+ $890 = $21;
+ $891 = (($889) + ($890<<2)|0);
+ $892 = +HEAPF32[$891>>2];
+ $893 = $887 * $892;
+ $894 = $75;
+ $895 = $893 > $894;
+ if ($895) {
+ $896 = $42;
+ $897 = 1.0 - $896;
+ $898 = $10;
+ $899 = ((($898)) + 6564|0);
+ $900 = $21;
+ $901 = (($899) + ($900<<2)|0);
+ $902 = +HEAPF32[$901>>2];
+ $903 = $897 * $902;
+ $909 = $903;
+ } else {
+ $904 = $75;
+ $909 = $904;
+ }
+ $905 = $10;
+ $906 = ((($905)) + 6564|0);
+ $907 = $21;
+ $908 = (($906) + ($907<<2)|0);
+ HEAPF32[$908>>2] = $909;
+ $910 = $75;
+ $911 = $10;
+ $912 = ((($911)) + 6564|0);
+ $913 = $21;
+ $914 = (($912) + ($913<<2)|0);
+ $915 = +HEAPF32[$914>>2];
+ $916 = $910 > $915;
+ if ($916) {
+ $917 = $75;
+ $923 = $917;
+ } else {
+ $918 = $10;
+ $919 = ((($918)) + 6564|0);
+ $920 = $21;
+ $921 = (($919) + ($920<<2)|0);
+ $922 = +HEAPF32[$921>>2];
+ $923 = $922;
+ }
+ $75 = $923;
+ $924 = $44;
+ $925 = 0.05000000074505806 * $924;
+ $926 = $75;
+ $927 = $925 > $926;
+ $928 = $44;
+ $929 = 0.05000000074505806 * $928;
+ $930 = $75;
+ $931 = $927 ? $929 : $930;
+ $44 = $931;
+ $932 = $75;
+ $933 = $932;
+ $934 = $44;
+ $935 = $934;
+ $936 = 0.10000000000000001 * $935;
+ $937 = $933 > $936;
+ if ($937) {
+ $938 = $75;
+ $939 = $938 * 1.0E+9;
+ $940 = $46;
+ $941 = $939 > $940;
+ if ($941) {
+ $942 = $75;
+ $943 = $47;
+ $944 = $77;
+ $945 = $76;
+ $946 = (($944) - ($945))|0;
+ $947 = (+($946|0));
+ $948 = $943 * $947;
+ $949 = $942 > $948;
+ if ($949) {
+ $950 = $21;
+ $45 = $950;
+ }
+ }
+ }
+ $951 = $21;
+ $952 = (($951) + 1)|0;
+ $21 = $952;
+ }
+ $953 = $10;
+ $954 = ((($953)) + 6868|0);
+ $955 = HEAP32[$954>>2]|0;
+ $956 = ($955|0)<=(2);
+ if ($956) {
+ $45 = 20;
+ }
+ $957 = $43;
+ $958 = $957;
+ $959 = (+_log10($958));
+ $960 = $959;
+ $961 = 20.0 * $960;
+ $43 = $961;
+ $962 = $10;
+ $963 = ((($962)) + 6848|0);
+ $964 = +HEAPF32[$963>>2];
+ $965 = $964 - 0.029999999329447746;
+ $966 = $43;
+ $967 = $965 > $966;
+ if ($967) {
+ $968 = $10;
+ $969 = ((($968)) + 6848|0);
+ $970 = +HEAPF32[$969>>2];
+ $971 = $970 - 0.029999999329447746;
+ $975 = $971;
+ } else {
+ $972 = $43;
+ $975 = $972;
+ }
+ $973 = $10;
+ $974 = ((($973)) + 6848|0);
+ HEAPF32[$974>>2] = $975;
+ $976 = $41;
+ $977 = 1.0 - $976;
+ $978 = $10;
+ $979 = ((($978)) + 6852|0);
+ $980 = +HEAPF32[$979>>2];
+ $981 = $980 * $977;
+ HEAPF32[$979>>2] = $981;
+ $982 = $43;
+ $983 = $10;
+ $984 = ((($983)) + 6848|0);
+ $985 = +HEAPF32[$984>>2];
+ $986 = $985 - 30.0;
+ $987 = $982 < $986;
+ if ($987) {
+ $988 = $41;
+ $989 = $10;
+ $990 = ((($989)) + 6852|0);
+ $991 = +HEAPF32[$990>>2];
+ $992 = $991 + $988;
+ HEAPF32[$990>>2] = $992;
+ }
+ $20 = 0;
+ while(1) {
+ $993 = $20;
+ $994 = ($993|0)<(8);
+ if (!($994)) {
+ break;
+ }
+ $79 = 0.0;
+ $21 = 0;
+ while(1) {
+ $995 = $21;
+ $996 = ($995|0)<(16);
+ if (!($996)) {
+ break;
+ }
+ $997 = $20;
+ $998 = $997<<4;
+ $999 = $21;
+ $1000 = (($998) + ($999))|0;
+ $1001 = (1356 + ($1000<<2)|0);
+ $1002 = +HEAPF32[$1001>>2];
+ $1003 = $21;
+ $1004 = (($29) + ($1003<<2)|0);
+ $1005 = +HEAPF32[$1004>>2];
+ $1006 = $1002 * $1005;
+ $1007 = $79;
+ $1008 = $1007 + $1006;
+ $79 = $1008;
+ $1009 = $21;
+ $1010 = (($1009) + 1)|0;
+ $21 = $1010;
+ }
+ $1011 = $79;
+ $1012 = $20;
+ $1013 = (($30) + ($1012<<2)|0);
+ HEAPF32[$1013>>2] = $1011;
+ $1014 = $20;
+ $1015 = (($1014) + 1)|0;
+ $20 = $1015;
+ }
+ $1016 = $37;
+ $1017 = $1016 / 18.0;
+ $37 = $1017;
+ $1018 = $38;
+ $1019 = $1018 / 18.0;
+ $38 = $1019;
+ $1020 = $10;
+ $1021 = ((($1020)) + 6868|0);
+ $1022 = HEAP32[$1021>>2]|0;
+ $1023 = ($1022|0)<(10);
+ $$ = $1023 ? 0.5 : $1019;
+ $38 = $$;
+ $1024 = $34;
+ $1025 = $1024 / 18.0;
+ $34 = $1025;
+ $1026 = $34;
+ $1027 = $34;
+ $1028 = 1.0 - $1027;
+ $1029 = $38;
+ $1030 = $1028 * $1029;
+ $1031 = $1026 + $1030;
+ $1032 = $49;
+ $1033 = ((($1032)) + 16|0);
+ HEAPF32[$1033>>2] = $1031;
+ $1034 = $33;
+ $1035 = $1034 / 9.0;
+ $32 = $1035;
+ $1036 = $32;
+ $1037 = $10;
+ $1038 = ((($1037)) + 5840|0);
+ $1039 = +HEAPF32[$1038>>2];
+ $1040 = $1039 * 0.80000001192092896;
+ $1041 = $1036 > $1040;
+ if ($1041) {
+ $1042 = $32;
+ $1047 = $1042;
+ } else {
+ $1043 = $10;
+ $1044 = ((($1043)) + 5840|0);
+ $1045 = +HEAPF32[$1044>>2];
+ $1046 = $1045 * 0.80000001192092896;
+ $1047 = $1046;
+ }
+ $32 = $1047;
+ $1048 = $32;
+ $1049 = $10;
+ $1050 = ((($1049)) + 5840|0);
+ HEAPF32[$1050>>2] = $1048;
+ $1051 = $36;
+ $1052 = $1051 / 64.0;
+ $36 = $1052;
+ $1053 = $36;
+ $1054 = $49;
+ $1055 = ((($1054)) + 8|0);
+ HEAPF32[$1055>>2] = $1053;
+ $1056 = $10;
+ $1057 = ((($1056)) + 6856|0);
+ $1058 = HEAP32[$1057>>2]|0;
+ $1059 = (($1058) + 1)|0;
+ $1060 = (($1059|0) % 8)&-1;
+ $1061 = $10;
+ $1062 = ((($1061)) + 6856|0);
+ HEAP32[$1062>>2] = $1060;
+ $1063 = $10;
+ $1064 = ((($1063)) + 6868|0);
+ $1065 = HEAP32[$1064>>2]|0;
+ $1066 = (($1065) + 1)|0;
+ HEAP32[$1064>>2] = $1066;
+ $1067 = $32;
+ $1068 = $49;
+ $1069 = ((($1068)) + 4|0);
+ HEAPF32[$1069>>2] = $1067;
+ $20 = 0;
+ while(1) {
+ $1070 = $20;
+ $1071 = ($1070|0)<(4);
+ if (!($1071)) {
+ break;
+ }
+ $1072 = $20;
+ $1073 = (($30) + ($1072<<2)|0);
+ $1074 = +HEAPF32[$1073>>2];
+ $1075 = $10;
+ $1076 = ((($1075)) + 6648|0);
+ $1077 = $20;
+ $1078 = (($1077) + 24)|0;
+ $1079 = (($1076) + ($1078<<2)|0);
+ $1080 = +HEAPF32[$1079>>2];
+ $1081 = $1074 + $1080;
+ $1082 = -0.12298999726772308 * $1081;
+ $1083 = $10;
+ $1084 = ((($1083)) + 6648|0);
+ $1085 = $20;
+ $1086 = (($1084) + ($1085<<2)|0);
+ $1087 = +HEAPF32[$1086>>2];
+ $1088 = $10;
+ $1089 = ((($1088)) + 6648|0);
+ $1090 = $20;
+ $1091 = (($1090) + 16)|0;
+ $1092 = (($1089) + ($1091<<2)|0);
+ $1093 = +HEAPF32[$1092>>2];
+ $1094 = $1087 + $1093;
+ $1095 = 0.49195000529289246 * $1094;
+ $1096 = $1082 + $1095;
+ $1097 = $10;
+ $1098 = ((($1097)) + 6648|0);
+ $1099 = $20;
+ $1100 = (($1099) + 8)|0;
+ $1101 = (($1098) + ($1100<<2)|0);
+ $1102 = +HEAPF32[$1101>>2];
+ $1103 = 0.69692999124526978 * $1102;
+ $1104 = $1096 + $1103;
+ $1105 = $10;
+ $1106 = ((($1105)) + 6776|0);
+ $1107 = $20;
+ $1108 = (($1106) + ($1107<<2)|0);
+ $1109 = +HEAPF32[$1108>>2];
+ $1110 = 1.4349000453948975 * $1109;
+ $1111 = $1104 - $1110;
+ $1112 = $20;
+ $1113 = (($31) + ($1112<<2)|0);
+ HEAPF32[$1113>>2] = $1111;
+ $1114 = $20;
+ $1115 = (($1114) + 1)|0;
+ $20 = $1115;
+ }
+ $20 = 0;
+ while(1) {
+ $1116 = $20;
+ $1117 = ($1116|0)<(4);
+ if (!($1117)) {
+ break;
+ }
+ $1118 = $40;
+ $1119 = 1.0 - $1118;
+ $1120 = $10;
+ $1121 = ((($1120)) + 6776|0);
+ $1122 = $20;
+ $1123 = (($1121) + ($1122<<2)|0);
+ $1124 = +HEAPF32[$1123>>2];
+ $1125 = $1119 * $1124;
+ $1126 = $40;
+ $1127 = $20;
+ $1128 = (($30) + ($1127<<2)|0);
+ $1129 = +HEAPF32[$1128>>2];
+ $1130 = $1126 * $1129;
+ $1131 = $1125 + $1130;
+ $1132 = $10;
+ $1133 = ((($1132)) + 6776|0);
+ $1134 = $20;
+ $1135 = (($1133) + ($1134<<2)|0);
+ HEAPF32[$1135>>2] = $1131;
+ $1136 = $20;
+ $1137 = (($1136) + 1)|0;
+ $20 = $1137;
+ }
+ $20 = 0;
+ while(1) {
+ $1138 = $20;
+ $1139 = ($1138|0)<(4);
+ if (!($1139)) {
+ break;
+ }
+ $1140 = $20;
+ $1141 = (($30) + ($1140<<2)|0);
+ $1142 = +HEAPF32[$1141>>2];
+ $1143 = $10;
+ $1144 = ((($1143)) + 6648|0);
+ $1145 = $20;
+ $1146 = (($1145) + 24)|0;
+ $1147 = (($1144) + ($1146<<2)|0);
+ $1148 = +HEAPF32[$1147>>2];
+ $1149 = $1142 - $1148;
+ $1150 = 0.63245999813079834 * $1149;
+ $1151 = $10;
+ $1152 = ((($1151)) + 6648|0);
+ $1153 = $20;
+ $1154 = (($1152) + ($1153<<2)|0);
+ $1155 = +HEAPF32[$1154>>2];
+ $1156 = $10;
+ $1157 = ((($1156)) + 6648|0);
+ $1158 = $20;
+ $1159 = (($1158) + 16)|0;
+ $1160 = (($1157) + ($1159<<2)|0);
+ $1161 = +HEAPF32[$1160>>2];
+ $1162 = $1155 - $1161;
+ $1163 = 0.31622999906539917 * $1162;
+ $1164 = $1150 + $1163;
+ $1165 = $20;
+ $1166 = (4 + ($1165))|0;
+ $1167 = (($31) + ($1166<<2)|0);
+ HEAPF32[$1167>>2] = $1164;
+ $1168 = $20;
+ $1169 = (($1168) + 1)|0;
+ $20 = $1169;
+ }
+ $20 = 0;
+ while(1) {
+ $1170 = $20;
+ $1171 = ($1170|0)<(3);
+ if (!($1171)) {
+ break;
+ }
+ $1172 = $20;
+ $1173 = (($30) + ($1172<<2)|0);
+ $1174 = +HEAPF32[$1173>>2];
+ $1175 = $10;
+ $1176 = ((($1175)) + 6648|0);
+ $1177 = $20;
+ $1178 = (($1177) + 24)|0;
+ $1179 = (($1176) + ($1178<<2)|0);
+ $1180 = +HEAPF32[$1179>>2];
+ $1181 = $1174 + $1180;
+ $1182 = 0.53451997041702271 * $1181;
+ $1183 = $10;
+ $1184 = ((($1183)) + 6648|0);
+ $1185 = $20;
+ $1186 = (($1184) + ($1185<<2)|0);
+ $1187 = +HEAPF32[$1186>>2];
+ $1188 = $10;
+ $1189 = ((($1188)) + 6648|0);
+ $1190 = $20;
+ $1191 = (($1190) + 16)|0;
+ $1192 = (($1189) + ($1191<<2)|0);
+ $1193 = +HEAPF32[$1192>>2];
+ $1194 = $1187 + $1193;
+ $1195 = 0.26725998520851135 * $1194;
+ $1196 = $1182 - $1195;
+ $1197 = $10;
+ $1198 = ((($1197)) + 6648|0);
+ $1199 = $20;
+ $1200 = (($1199) + 8)|0;
+ $1201 = (($1198) + ($1200<<2)|0);
+ $1202 = +HEAPF32[$1201>>2];
+ $1203 = 0.53451997041702271 * $1202;
+ $1204 = $1196 - $1203;
+ $1205 = $20;
+ $1206 = (8 + ($1205))|0;
+ $1207 = (($31) + ($1206<<2)|0);
+ HEAPF32[$1207>>2] = $1204;
+ $1208 = $20;
+ $1209 = (($1208) + 1)|0;
+ $20 = $1209;
+ }
+ $1210 = $10;
+ $1211 = ((($1210)) + 6868|0);
+ $1212 = HEAP32[$1211>>2]|0;
+ $1213 = ($1212|0)>(5);
+ L146: do {
+ if ($1213) {
+ $20 = 0;
+ while(1) {
+ $1214 = $20;
+ $1215 = ($1214|0)<(9);
+ if (!($1215)) {
+ break L146;
+ }
+ $1216 = $40;
+ $1217 = 1.0 - $1216;
+ $1218 = $10;
+ $1219 = ((($1218)) + 6808|0);
+ $1220 = $20;
+ $1221 = (($1219) + ($1220<<2)|0);
+ $1222 = +HEAPF32[$1221>>2];
+ $1223 = $1217 * $1222;
+ $1224 = $40;
+ $1225 = $20;
+ $1226 = (($31) + ($1225<<2)|0);
+ $1227 = +HEAPF32[$1226>>2];
+ $1228 = $1224 * $1227;
+ $1229 = $20;
+ $1230 = (($31) + ($1229<<2)|0);
+ $1231 = +HEAPF32[$1230>>2];
+ $1232 = $1228 * $1231;
+ $1233 = $1223 + $1232;
+ $1234 = $10;
+ $1235 = ((($1234)) + 6808|0);
+ $1236 = $20;
+ $1237 = (($1235) + ($1236<<2)|0);
+ HEAPF32[$1237>>2] = $1233;
+ $1238 = $20;
+ $1239 = (($1238) + 1)|0;
+ $20 = $1239;
+ }
+ }
+ } while(0);
+ $20 = 0;
+ while(1) {
+ $1240 = $20;
+ $1241 = ($1240|0)<(8);
+ if (!($1241)) {
+ break;
+ }
+ $1242 = $10;
+ $1243 = ((($1242)) + 6648|0);
+ $1244 = $20;
+ $1245 = (($1244) + 16)|0;
+ $1246 = (($1243) + ($1245<<2)|0);
+ $1247 = +HEAPF32[$1246>>2];
+ $1248 = $10;
+ $1249 = ((($1248)) + 6648|0);
+ $1250 = $20;
+ $1251 = (($1250) + 24)|0;
+ $1252 = (($1249) + ($1251<<2)|0);
+ HEAPF32[$1252>>2] = $1247;
+ $1253 = $10;
+ $1254 = ((($1253)) + 6648|0);
+ $1255 = $20;
+ $1256 = (($1255) + 8)|0;
+ $1257 = (($1254) + ($1256<<2)|0);
+ $1258 = +HEAPF32[$1257>>2];
+ $1259 = $10;
+ $1260 = ((($1259)) + 6648|0);
+ $1261 = $20;
+ $1262 = (($1261) + 16)|0;
+ $1263 = (($1260) + ($1262<<2)|0);
+ HEAPF32[$1263>>2] = $1258;
+ $1264 = $10;
+ $1265 = ((($1264)) + 6648|0);
+ $1266 = $20;
+ $1267 = (($1265) + ($1266<<2)|0);
+ $1268 = +HEAPF32[$1267>>2];
+ $1269 = $10;
+ $1270 = ((($1269)) + 6648|0);
+ $1271 = $20;
+ $1272 = (($1271) + 8)|0;
+ $1273 = (($1270) + ($1272<<2)|0);
+ HEAPF32[$1273>>2] = $1268;
+ $1274 = $20;
+ $1275 = (($30) + ($1274<<2)|0);
+ $1276 = +HEAPF32[$1275>>2];
+ $1277 = $10;
+ $1278 = ((($1277)) + 6648|0);
+ $1279 = $20;
+ $1280 = (($1278) + ($1279<<2)|0);
+ HEAPF32[$1280>>2] = $1276;
+ $1281 = $20;
+ $1282 = (($1281) + 1)|0;
+ $20 = $1282;
+ }
+ $20 = 0;
+ while(1) {
+ $1283 = $20;
+ $1284 = ($1283|0)<(9);
+ if (!($1284)) {
+ break;
+ }
+ $1285 = $10;
+ $1286 = ((($1285)) + 6808|0);
+ $1287 = $20;
+ $1288 = (($1286) + ($1287<<2)|0);
+ $1289 = +HEAPF32[$1288>>2];
+ $1290 = $1289;
+ $1291 = (+Math_sqrt((+$1290)));
+ $1292 = $1291;
+ $1293 = $20;
+ $1294 = (11 + ($1293))|0;
+ $1295 = (($31) + ($1294<<2)|0);
+ HEAPF32[$1295>>2] = $1292;
+ $1296 = $20;
+ $1297 = (($1296) + 1)|0;
+ $20 = $1297;
+ }
+ $1298 = $49;
+ $1299 = ((($1298)) + 4|0);
+ $1300 = +HEAPF32[$1299>>2];
+ $1301 = ((($31)) + 80|0);
+ HEAPF32[$1301>>2] = $1300;
+ $1302 = $49;
+ $1303 = ((($1302)) + 16|0);
+ $1304 = +HEAPF32[$1303>>2];
+ $1305 = ((($31)) + 84|0);
+ HEAPF32[$1305>>2] = $1304;
+ $1306 = $37;
+ $1307 = ((($31)) + 88|0);
+ HEAPF32[$1307>>2] = $1306;
+ $1308 = $49;
+ $1309 = ((($1308)) + 8|0);
+ $1310 = +HEAPF32[$1309>>2];
+ $1311 = ((($31)) + 92|0);
+ HEAPF32[$1311>>2] = $1310;
+ $1312 = $10;
+ $1313 = ((($1312)) + 6852|0);
+ $1314 = +HEAPF32[$1313>>2];
+ $1315 = ((($31)) + 96|0);
+ HEAPF32[$1315>>2] = $1314;
+ _mlp_process(2672,$31,$39);
+ $1316 = +HEAPF32[$39>>2];
+ $1317 = $1316 + 1.0;
+ $1318 = 0.5 * $1317;
+ HEAPF32[$39>>2] = $1318;
+ $1319 = +HEAPF32[$39>>2];
+ $1320 = 1.2100000381469727 * $1319;
+ $1321 = +HEAPF32[$39>>2];
+ $1322 = $1320 * $1321;
+ $1323 = 0.0099999997764825821 + $1322;
+ $1324 = +HEAPF32[$39>>2];
+ $1325 = $1324;
+ $1326 = (+Math_pow((+$1325),10.0));
+ $1327 = $1326;
+ $1328 = 0.23000000417232513 * $1327;
+ $1329 = $1323 - $1328;
+ HEAPF32[$39>>2] = $1329;
+ $1330 = ((($39)) + 4|0);
+ $1331 = +HEAPF32[$1330>>2];
+ $1332 = 0.5 * $1331;
+ $1333 = $1332 + 0.5;
+ $1334 = ((($39)) + 4|0);
+ HEAPF32[$1334>>2] = $1333;
+ $1335 = ((($39)) + 4|0);
+ $1336 = +HEAPF32[$1335>>2];
+ $1337 = +HEAPF32[$39>>2];
+ $1338 = $1336 * $1337;
+ $1339 = ((($39)) + 4|0);
+ $1340 = +HEAPF32[$1339>>2];
+ $1341 = 1.0 - $1340;
+ $1342 = $1341 * 0.5;
+ $1343 = $1338 + $1342;
+ HEAPF32[$39>>2] = $1343;
+ $1344 = ((($39)) + 4|0);
+ $1345 = +HEAPF32[$1344>>2];
+ $1346 = 4.9999998736893758E-5 * $1345;
+ $80 = $1346;
+ $81 = 0.05000000074505806;
+ $1347 = +HEAPF32[$39>>2];
+ $1348 = 0.94999998807907104 < $1347;
+ $1349 = +HEAPF32[$39>>2];
+ $1350 = $1348 ? 0.94999998807907104 : $1349;
+ $1351 = 0.05000000074505806 > $1350;
+ if ($1351) {
+ $1356 = 0.05000000074505806;
+ } else {
+ $1352 = +HEAPF32[$39>>2];
+ $1353 = 0.94999998807907104 < $1352;
+ $1354 = +HEAPF32[$39>>2];
+ $1355 = $1353 ? 0.94999998807907104 : $1354;
+ $1356 = $1355;
+ }
+ $89 = $1356;
+ $1357 = $10;
+ $1358 = ((($1357)) + 6844|0);
+ $1359 = +HEAPF32[$1358>>2];
+ $1360 = 0.94999998807907104 < $1359;
+ if ($1360) {
+ $1365 = 0.94999998807907104;
+ } else {
+ $1361 = $10;
+ $1362 = ((($1361)) + 6844|0);
+ $1363 = +HEAPF32[$1362>>2];
+ $1365 = $1363;
+ }
+ $1364 = 0.05000000074505806 > $1365;
+ if ($1364) {
+ $1373 = 0.05000000074505806;
+ } else {
+ $1366 = $10;
+ $1367 = ((($1366)) + 6844|0);
+ $1368 = +HEAPF32[$1367>>2];
+ $1369 = 0.94999998807907104 < $1368;
+ if ($1369) {
+ $1373 = 0.94999998807907104;
+ } else {
+ $1370 = $10;
+ $1371 = ((($1370)) + 6844|0);
+ $1372 = +HEAPF32[$1371>>2];
+ $1373 = $1372;
+ }
+ }
+ $90 = $1373;
+ $1374 = $89;
+ $1375 = $90;
+ $1376 = $1374 - $1375;
+ $1377 = $1376;
+ $1378 = (+Math_abs((+$1377)));
+ $1379 = $1378;
+ $1380 = 0.05000000074505806 * $1379;
+ $1381 = $89;
+ $1382 = $90;
+ $1383 = 1.0 - $1382;
+ $1384 = $1381 * $1383;
+ $1385 = $90;
+ $1386 = $89;
+ $1387 = 1.0 - $1386;
+ $1388 = $1385 * $1387;
+ $1389 = $1384 + $1388;
+ $1390 = $1380 / $1389;
+ $1391 = 0.0099999997764825821 + $1390;
+ $81 = $1391;
+ $1392 = $10;
+ $1393 = ((($1392)) + 6844|0);
+ $1394 = +HEAPF32[$1393>>2];
+ $1395 = 1.0 - $1394;
+ $1396 = $80;
+ $1397 = 1.0 - $1396;
+ $1398 = $1395 * $1397;
+ $1399 = $10;
+ $1400 = ((($1399)) + 6844|0);
+ $1401 = +HEAPF32[$1400>>2];
+ $1402 = $80;
+ $1403 = $1401 * $1402;
+ $1404 = $1398 + $1403;
+ $82 = $1404;
+ $1405 = $10;
+ $1406 = ((($1405)) + 6844|0);
+ $1407 = +HEAPF32[$1406>>2];
+ $1408 = $80;
+ $1409 = 1.0 - $1408;
+ $1410 = $1407 * $1409;
+ $1411 = $10;
+ $1412 = ((($1411)) + 6844|0);
+ $1413 = +HEAPF32[$1412>>2];
+ $1414 = 1.0 - $1413;
+ $1415 = $80;
+ $1416 = $1414 * $1415;
+ $1417 = $1410 + $1416;
+ $83 = $1417;
+ $1418 = +HEAPF32[$39>>2];
+ $1419 = 1.0 - $1418;
+ $1420 = $1419;
+ $1421 = $81;
+ $1422 = $1421;
+ $1423 = (+Math_pow((+$1420),(+$1422)));
+ $1424 = $1423;
+ $1425 = $82;
+ $1426 = $1425 * $1424;
+ $82 = $1426;
+ $1427 = +HEAPF32[$39>>2];
+ $1428 = $1427;
+ $1429 = $81;
+ $1430 = $1429;
+ $1431 = (+Math_pow((+$1428),(+$1430)));
+ $1432 = $1431;
+ $1433 = $83;
+ $1434 = $1433 * $1432;
+ $83 = $1434;
+ $1435 = $83;
+ $1436 = $82;
+ $1437 = $83;
+ $1438 = $1436 + $1437;
+ $1439 = $1435 / $1438;
+ $1440 = $10;
+ $1441 = ((($1440)) + 6844|0);
+ HEAPF32[$1441>>2] = $1439;
+ $1442 = $10;
+ $1443 = ((($1442)) + 6844|0);
+ $1444 = +HEAPF32[$1443>>2];
+ $1445 = $49;
+ $1446 = ((($1445)) + 20|0);
+ HEAPF32[$1446>>2] = $1444;
+ $86 = 9.9999996826552254E-21;
+ $1447 = +HEAPF32[$39>>2];
+ $1448 = 1.0 - $1447;
+ $1449 = $1448;
+ $1450 = $81;
+ $1451 = $1450;
+ $1452 = (+Math_pow((+$1449),(+$1451)));
+ $1453 = $1452;
+ $87 = $1453;
+ $1454 = +HEAPF32[$39>>2];
+ $1455 = $1454;
+ $1456 = $81;
+ $1457 = $1456;
+ $1458 = (+Math_pow((+$1455),(+$1457)));
+ $1459 = $1458;
+ $88 = $1459;
+ $1460 = $10;
+ $1461 = ((($1460)) + 6868|0);
+ $1462 = HEAP32[$1461>>2]|0;
+ $1463 = ($1462|0)==(1);
+ if ($1463) {
+ $1464 = $10;
+ $1465 = ((($1464)) + 6888|0);
+ HEAPF32[$1465>>2] = 0.5;
+ $1466 = $10;
+ $1467 = ((($1466)) + 7688|0);
+ HEAPF32[$1467>>2] = 0.5;
+ }
+ $1468 = $10;
+ $1469 = ((($1468)) + 6888|0);
+ $1470 = +HEAPF32[$1469>>2];
+ $1471 = $10;
+ $1472 = ((($1471)) + 6888|0);
+ $1473 = ((($1472)) + 4|0);
+ $1474 = +HEAPF32[$1473>>2];
+ $1475 = $1470 + $1474;
+ $84 = $1475;
+ $1476 = $10;
+ $1477 = ((($1476)) + 7688|0);
+ $1478 = +HEAPF32[$1477>>2];
+ $1479 = $10;
+ $1480 = ((($1479)) + 7688|0);
+ $1481 = ((($1480)) + 4|0);
+ $1482 = +HEAPF32[$1481>>2];
+ $1483 = $1478 + $1482;
+ $85 = $1483;
+ $1484 = $84;
+ $1485 = $80;
+ $1486 = 1.0 - $1485;
+ $1487 = $1484 * $1486;
+ $1488 = $87;
+ $1489 = $1487 * $1488;
+ $1490 = $10;
+ $1491 = ((($1490)) + 6888|0);
+ HEAPF32[$1491>>2] = $1489;
+ $1492 = $85;
+ $1493 = $80;
+ $1494 = 1.0 - $1493;
+ $1495 = $1492 * $1494;
+ $1496 = $88;
+ $1497 = $1495 * $1496;
+ $1498 = $10;
+ $1499 = ((($1498)) + 7688|0);
+ HEAPF32[$1499>>2] = $1497;
+ $20 = 1;
+ while(1) {
+ $1500 = $20;
+ $1501 = ($1500|0)<(199);
+ if (!($1501)) {
+ break;
+ }
+ $1502 = $10;
+ $1503 = ((($1502)) + 6888|0);
+ $1504 = $20;
+ $1505 = (($1504) + 1)|0;
+ $1506 = (($1503) + ($1505<<2)|0);
+ $1507 = +HEAPF32[$1506>>2];
+ $1508 = $87;
+ $1509 = $1507 * $1508;
+ $1510 = $10;
+ $1511 = ((($1510)) + 6888|0);
+ $1512 = $20;
+ $1513 = (($1511) + ($1512<<2)|0);
+ HEAPF32[$1513>>2] = $1509;
+ $1514 = $10;
+ $1515 = ((($1514)) + 7688|0);
+ $1516 = $20;
+ $1517 = (($1516) + 1)|0;
+ $1518 = (($1515) + ($1517<<2)|0);
+ $1519 = +HEAPF32[$1518>>2];
+ $1520 = $88;
+ $1521 = $1519 * $1520;
+ $1522 = $10;
+ $1523 = ((($1522)) + 7688|0);
+ $1524 = $20;
+ $1525 = (($1523) + ($1524<<2)|0);
+ HEAPF32[$1525>>2] = $1521;
+ $1526 = $20;
+ $1527 = (($1526) + 1)|0;
+ $20 = $1527;
+ }
+ $1528 = $85;
+ $1529 = $80;
+ $1530 = $1528 * $1529;
+ $1531 = $87;
+ $1532 = $1530 * $1531;
+ $1533 = $10;
+ $1534 = ((($1533)) + 6888|0);
+ $1535 = ((($1534)) + 796|0);
+ HEAPF32[$1535>>2] = $1532;
+ $1536 = $84;
+ $1537 = $80;
+ $1538 = $1536 * $1537;
+ $1539 = $88;
+ $1540 = $1538 * $1539;
+ $1541 = $10;
+ $1542 = ((($1541)) + 7688|0);
+ $1543 = ((($1542)) + 796|0);
+ HEAPF32[$1543>>2] = $1540;
+ $20 = 0;
+ while(1) {
+ $1544 = $20;
+ $1545 = ($1544|0)<(200);
+ if (!($1545)) {
+ break;
+ }
+ $1546 = $10;
+ $1547 = ((($1546)) + 6888|0);
+ $1548 = $20;
+ $1549 = (($1547) + ($1548<<2)|0);
+ $1550 = +HEAPF32[$1549>>2];
+ $1551 = $10;
+ $1552 = ((($1551)) + 7688|0);
+ $1553 = $20;
+ $1554 = (($1552) + ($1553<<2)|0);
+ $1555 = +HEAPF32[$1554>>2];
+ $1556 = $1550 + $1555;
+ $1557 = $86;
+ $1558 = $1557 + $1556;
+ $86 = $1558;
+ $1559 = $20;
+ $1560 = (($1559) + 1)|0;
+ $20 = $1560;
+ }
+ $1561 = $86;
+ $1562 = 1.0 / $1561;
+ $86 = $1562;
+ $20 = 0;
+ while(1) {
+ $1563 = $20;
+ $1564 = ($1563|0)<(200);
+ if (!($1564)) {
+ break;
+ }
+ $1565 = $86;
+ $1566 = $10;
+ $1567 = ((($1566)) + 6888|0);
+ $1568 = $20;
+ $1569 = (($1567) + ($1568<<2)|0);
+ $1570 = +HEAPF32[$1569>>2];
+ $1571 = $1570 * $1565;
+ HEAPF32[$1569>>2] = $1571;
+ $1572 = $86;
+ $1573 = $10;
+ $1574 = ((($1573)) + 7688|0);
+ $1575 = $20;
+ $1576 = (($1574) + ($1575<<2)|0);
+ $1577 = +HEAPF32[$1576>>2];
+ $1578 = $1577 * $1572;
+ HEAPF32[$1576>>2] = $1578;
+ $1579 = $20;
+ $1580 = (($1579) + 1)|0;
+ $20 = $1580;
+ }
+ $1581 = $10;
+ $1582 = ((($1581)) + 7688|0);
+ $1583 = +HEAPF32[$1582>>2];
+ $86 = $1583;
+ $20 = 1;
+ while(1) {
+ $1584 = $20;
+ $1585 = ($1584|0)<(200);
+ if (!($1585)) {
+ break;
+ }
+ $1586 = $10;
+ $1587 = ((($1586)) + 6888|0);
+ $1588 = $20;
+ $1589 = (($1587) + ($1588<<2)|0);
+ $1590 = +HEAPF32[$1589>>2];
+ $1591 = $86;
+ $1592 = $1591 + $1590;
+ $86 = $1592;
+ $1593 = $20;
+ $1594 = (($1593) + 1)|0;
+ $20 = $1594;
+ }
+ $1595 = ((($39)) + 4|0);
+ $1596 = +HEAPF32[$1595>>2];
+ $1597 = $1596;
+ $1598 = $1597 > 0.75;
+ $1599 = $10;
+ do {
+ if ($1598) {
+ $1600 = ((($1599)) + 6844|0);
+ $1601 = +HEAPF32[$1600>>2];
+ $1602 = $1601;
+ $1603 = $1602 > 0.90000000000000002;
+ if ($1603) {
+ $1604 = $10;
+ $1605 = ((($1604)) + 8500|0);
+ $1606 = HEAP32[$1605>>2]|0;
+ $1607 = (($1606) + 1)|0;
+ HEAP32[$1605>>2] = $1607;
+ $1608 = (+($1607|0));
+ $1609 = 1.0 / $1608;
+ $91 = $1609;
+ $1610 = $10;
+ $1611 = ((($1610)) + 8500|0);
+ $1612 = HEAP32[$1611>>2]|0;
+ $1613 = ($1612|0)<(500);
+ if ($1613) {
+ $1614 = $10;
+ $1615 = ((($1614)) + 8500|0);
+ $1616 = HEAP32[$1615>>2]|0;
+ $1619 = $1616;
+ } else {
+ $1619 = 500;
+ }
+ $1617 = $10;
+ $1618 = ((($1617)) + 8500|0);
+ HEAP32[$1618>>2] = $1619;
+ $1620 = $91;
+ $1621 = +HEAPF32[$39>>2];
+ $1622 = $10;
+ $1623 = ((($1622)) + 8492|0);
+ $1624 = +HEAPF32[$1623>>2];
+ $1625 = $1621 - $1624;
+ $1626 = -0.20000000298023224 > $1625;
+ if ($1626) {
+ $1633 = -0.20000000298023224;
+ } else {
+ $1627 = +HEAPF32[$39>>2];
+ $1628 = $10;
+ $1629 = ((($1628)) + 8492|0);
+ $1630 = +HEAPF32[$1629>>2];
+ $1631 = $1627 - $1630;
+ $1633 = $1631;
+ }
+ $1632 = $1620 * $1633;
+ $1634 = $10;
+ $1635 = ((($1634)) + 8492|0);
+ $1636 = +HEAPF32[$1635>>2];
+ $1637 = $1636 + $1632;
+ HEAPF32[$1635>>2] = $1637;
+ }
+ $1638 = $10;
+ $1639 = ((($1638)) + 6844|0);
+ $1640 = +HEAPF32[$1639>>2];
+ $1641 = $1640;
+ $1642 = $1641 < 0.10000000000000001;
+ if (!($1642)) {
+ break;
+ }
+ $1643 = $10;
+ $1644 = ((($1643)) + 8496|0);
+ $1645 = HEAP32[$1644>>2]|0;
+ $1646 = (($1645) + 1)|0;
+ HEAP32[$1644>>2] = $1646;
+ $1647 = (+($1646|0));
+ $1648 = 1.0 / $1647;
+ $92 = $1648;
+ $1649 = $10;
+ $1650 = ((($1649)) + 8496|0);
+ $1651 = HEAP32[$1650>>2]|0;
+ $1652 = ($1651|0)<(500);
+ if ($1652) {
+ $1653 = $10;
+ $1654 = ((($1653)) + 8496|0);
+ $1655 = HEAP32[$1654>>2]|0;
+ $1658 = $1655;
+ } else {
+ $1658 = 500;
+ }
+ $1656 = $10;
+ $1657 = ((($1656)) + 8496|0);
+ HEAP32[$1657>>2] = $1658;
+ $1659 = $92;
+ $1660 = +HEAPF32[$39>>2];
+ $1661 = $10;
+ $1662 = ((($1661)) + 8488|0);
+ $1663 = +HEAPF32[$1662>>2];
+ $1664 = $1660 - $1663;
+ $1665 = 0.20000000298023224 < $1664;
+ if ($1665) {
+ $1672 = 0.20000000298023224;
+ } else {
+ $1666 = +HEAPF32[$39>>2];
+ $1667 = $10;
+ $1668 = ((($1667)) + 8488|0);
+ $1669 = +HEAPF32[$1668>>2];
+ $1670 = $1666 - $1669;
+ $1672 = $1670;
+ }
+ $1671 = $1659 * $1672;
+ $1673 = $10;
+ $1674 = ((($1673)) + 8488|0);
+ $1675 = +HEAPF32[$1674>>2];
+ $1676 = $1675 + $1671;
+ HEAPF32[$1674>>2] = $1676;
+ } else {
+ $1677 = ((($1599)) + 8500|0);
+ $1678 = HEAP32[$1677>>2]|0;
+ $1679 = ($1678|0)==(0);
+ if ($1679) {
+ $1680 = $10;
+ $1681 = ((($1680)) + 8492|0);
+ HEAPF32[$1681>>2] = 0.89999997615814208;
+ }
+ $1682 = $10;
+ $1683 = ((($1682)) + 8496|0);
+ $1684 = HEAP32[$1683>>2]|0;
+ $1685 = ($1684|0)==(0);
+ if (!($1685)) {
+ break;
+ }
+ $1686 = $10;
+ $1687 = ((($1686)) + 8488|0);
+ HEAPF32[$1687>>2] = 0.10000000149011612;
+ }
+ } while(0);
+ $1688 = $10;
+ $1689 = ((($1688)) + 6860|0);
+ $1690 = HEAP32[$1689>>2]|0;
+ $1691 = $10;
+ $1692 = ((($1691)) + 6844|0);
+ $1693 = +HEAPF32[$1692>>2];
+ $1694 = $1693 > 0.5;
+ $1695 = $1694&1;
+ $1696 = ($1690|0)!=($1695|0);
+ if ($1696) {
+ $1697 = $10;
+ $1698 = ((($1697)) + 6864|0);
+ HEAP32[$1698>>2] = 0;
+ }
+ $1699 = $10;
+ $1700 = ((($1699)) + 6844|0);
+ $1701 = +HEAPF32[$1700>>2];
+ $1702 = $1701 > 0.5;
+ $1703 = $1702&1;
+ $1704 = $10;
+ $1705 = ((($1704)) + 6860|0);
+ HEAP32[$1705>>2] = $1703;
+ $1706 = $45;
+ $1707 = $49;
+ $1708 = ((($1707)) + 24|0);
+ HEAP32[$1708>>2] = $1706;
+ $1709 = $34;
+ $1710 = $49;
+ $1711 = ((($1710)) + 12|0);
+ HEAPF32[$1711>>2] = $1709;
+ $1712 = $49;
+ HEAP32[$1712>>2] = 1;
+ STACKTOP = sp;return;
+}
+function _fast_atan2f($0,$1) {
+ $0 = +$0;
+ $1 = +$1;
+ var $10 = 0.0, $100 = 0.0, $101 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0, $19 = 0.0, $2 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
+ var $27 = 0.0, $28 = 0.0, $29 = 0.0, $3 = 0.0, $30 = 0.0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0.0, $44 = 0.0;
+ var $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0.0, $60 = 0.0, $61 = 0.0, $62 = 0.0;
+ var $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0.0, $70 = 0.0, $71 = 0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0.0, $80 = 0.0;
+ var $81 = 0.0, $82 = 0.0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0, $99 = 0.0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $9 = $4;
+ $10 = $9;
+ $11 = (+Math_abs((+$10)));
+ $12 = $11;
+ $13 = $3;
+ $14 = $13;
+ $15 = (+Math_abs((+$14)));
+ $16 = $15;
+ $17 = $12 + $16;
+ $18 = $17 < 9.9999997171806853E-10;
+ if ($18) {
+ $19 = $4;
+ $20 = $19 * 999999995904.0;
+ $4 = $20;
+ $21 = $3;
+ $22 = $21 * 999999995904.0;
+ $3 = $22;
+ }
+ $23 = $4;
+ $24 = $4;
+ $25 = $23 * $24;
+ $5 = $25;
+ $26 = $3;
+ $27 = $3;
+ $28 = $26 * $27;
+ $6 = $28;
+ $29 = $5;
+ $30 = $6;
+ $31 = $29 < $30;
+ if ($31) {
+ $32 = $6;
+ $33 = $5;
+ $34 = 0.67848402261734009 * $33;
+ $35 = $32 + $34;
+ $36 = $6;
+ $37 = $5;
+ $38 = 0.085955418646335601 * $37;
+ $39 = $36 + $38;
+ $40 = $35 * $39;
+ $7 = $40;
+ $41 = $7;
+ $42 = $41 != 0.0;
+ if ($42) {
+ $43 = $4;
+ $44 = - $43;
+ $45 = $3;
+ $46 = $44 * $45;
+ $47 = $6;
+ $48 = $5;
+ $49 = 0.43157973885536194 * $48;
+ $50 = $47 + $49;
+ $51 = $46 * $50;
+ $52 = $7;
+ $53 = $51 / $52;
+ $54 = $3;
+ $55 = $54 < 0.0;
+ $56 = $55 ? -1.5707963705062866 : 1.5707963705062866;
+ $57 = $53 + $56;
+ $2 = $57;
+ $101 = $2;
+ STACKTOP = sp;return (+$101);
+ } else {
+ $58 = $3;
+ $59 = $58 < 0.0;
+ $60 = $59 ? -1.5707963705062866 : 1.5707963705062866;
+ $2 = $60;
+ $101 = $2;
+ STACKTOP = sp;return (+$101);
+ }
+ } else {
+ $61 = $5;
+ $62 = $6;
+ $63 = 0.67848402261734009 * $62;
+ $64 = $61 + $63;
+ $65 = $5;
+ $66 = $6;
+ $67 = 0.085955418646335601 * $66;
+ $68 = $65 + $67;
+ $69 = $64 * $68;
+ $8 = $69;
+ $70 = $8;
+ $71 = $70 != 0.0;
+ if ($71) {
+ $72 = $4;
+ $73 = $3;
+ $74 = $72 * $73;
+ $75 = $5;
+ $76 = $6;
+ $77 = 0.43157973885536194 * $76;
+ $78 = $75 + $77;
+ $79 = $74 * $78;
+ $80 = $8;
+ $81 = $79 / $80;
+ $82 = $3;
+ $83 = $82 < 0.0;
+ $84 = $83 ? -1.5707963705062866 : 1.5707963705062866;
+ $85 = $81 + $84;
+ $86 = $4;
+ $87 = $3;
+ $88 = $86 * $87;
+ $89 = $88 < 0.0;
+ $90 = $89 ? -1.5707963705062866 : 1.5707963705062866;
+ $91 = $85 - $90;
+ $2 = $91;
+ $101 = $2;
+ STACKTOP = sp;return (+$101);
+ } else {
+ $92 = $3;
+ $93 = $92 < 0.0;
+ $94 = $93 ? -1.5707963705062866 : 1.5707963705062866;
+ $95 = $4;
+ $96 = $3;
+ $97 = $95 * $96;
+ $98 = $97 < 0.0;
+ $99 = $98 ? -1.5707963705062866 : 1.5707963705062866;
+ $100 = $94 - $99;
+ $2 = $100;
+ $101 = $2;
+ STACKTOP = sp;return (+$101);
+ }
+ }
+ return +(0.0);
+}
+function _mlp_process($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0.0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0.0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 448|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(448|0);
+ $7 = sp + 24|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $13 = $3;
+ $14 = ((($13)) + 8|0);
+ $15 = HEAP32[$14>>2]|0;
+ $8 = $15;
+ $6 = 0;
+ while(1) {
+ $16 = $6;
+ $17 = $3;
+ $18 = ((($17)) + 4|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = ((($19)) + 4|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = ($16|0)<($21|0);
+ if (!($22)) {
+ break;
+ }
+ $23 = $8;
+ $24 = ((($23)) + 4|0);
+ $8 = $24;
+ $25 = +HEAPF32[$23>>2];
+ $10 = $25;
+ $9 = 0;
+ while(1) {
+ $26 = $9;
+ $27 = $3;
+ $28 = ((($27)) + 4|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = HEAP32[$29>>2]|0;
+ $31 = ($26|0)<($30|0);
+ $32 = $10;
+ if (!($31)) {
+ break;
+ }
+ $33 = $4;
+ $34 = $9;
+ $35 = (($33) + ($34<<2)|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $8;
+ $38 = ((($37)) + 4|0);
+ $8 = $38;
+ $39 = +HEAPF32[$37>>2];
+ $40 = $36 * $39;
+ $41 = $32 + $40;
+ $10 = $41;
+ $42 = $9;
+ $43 = (($42) + 1)|0;
+ $9 = $43;
+ }
+ $44 = (+_tansig_approx($32));
+ $45 = $6;
+ $46 = (($7) + ($45<<2)|0);
+ HEAPF32[$46>>2] = $44;
+ $47 = $6;
+ $48 = (($47) + 1)|0;
+ $6 = $48;
+ }
+ $6 = 0;
+ while(1) {
+ $49 = $6;
+ $50 = $3;
+ $51 = ((($50)) + 4|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = ((($52)) + 8|0);
+ $54 = HEAP32[$53>>2]|0;
+ $55 = ($49|0)<($54|0);
+ if (!($55)) {
+ break;
+ }
+ $56 = $8;
+ $57 = ((($56)) + 4|0);
+ $8 = $57;
+ $58 = +HEAPF32[$56>>2];
+ $12 = $58;
+ $11 = 0;
+ while(1) {
+ $59 = $11;
+ $60 = $3;
+ $61 = ((($60)) + 4|0);
+ $62 = HEAP32[$61>>2]|0;
+ $63 = ((($62)) + 4|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = ($59|0)<($64|0);
+ $66 = $12;
+ if (!($65)) {
+ break;
+ }
+ $67 = $11;
+ $68 = (($7) + ($67<<2)|0);
+ $69 = +HEAPF32[$68>>2];
+ $70 = $8;
+ $71 = ((($70)) + 4|0);
+ $8 = $71;
+ $72 = +HEAPF32[$70>>2];
+ $73 = $69 * $72;
+ $74 = $66 + $73;
+ $12 = $74;
+ $75 = $11;
+ $76 = (($75) + 1)|0;
+ $11 = $76;
+ }
+ $77 = (+_tansig_approx($66));
+ $78 = $5;
+ $79 = $6;
+ $80 = (($78) + ($79<<2)|0);
+ HEAPF32[$80>>2] = $77;
+ $81 = $6;
+ $82 = (($81) + 1)|0;
+ $6 = $82;
+ }
+ STACKTOP = sp;return;
+}
+function _tansig_approx($0) {
+ $0 = +$0;
+ var $1 = 0.0, $10 = 0, $11 = 0.0, $12 = 0.0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0.0, $27 = 0.0;
+ var $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0;
+ var $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $8 = 0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $6 = 1.0;
+ $7 = $2;
+ $8 = $7 < 8.0;
+ if (!($8)) {
+ $1 = 1.0;
+ $49 = $1;
+ STACKTOP = sp;return (+$49);
+ }
+ $9 = $2;
+ $10 = $9 > -8.0;
+ if (!($10)) {
+ $1 = -1.0;
+ $49 = $1;
+ STACKTOP = sp;return (+$49);
+ }
+ $11 = $2;
+ $12 = $2;
+ $13 = $11 != $12;
+ if ($13) {
+ $1 = 0.0;
+ $49 = $1;
+ STACKTOP = sp;return (+$49);
+ }
+ $14 = $2;
+ $15 = $14 < 0.0;
+ if ($15) {
+ $16 = $2;
+ $17 = - $16;
+ $2 = $17;
+ $6 = -1.0;
+ }
+ $18 = $2;
+ $19 = 25.0 * $18;
+ $20 = 0.5 + $19;
+ $21 = $20;
+ $22 = (+Math_floor((+$21)));
+ $23 = (~~(($22)));
+ $3 = $23;
+ $24 = $3;
+ $25 = (+($24|0));
+ $26 = 0.039999999105930328 * $25;
+ $27 = $2;
+ $28 = $27 - $26;
+ $2 = $28;
+ $29 = $3;
+ $30 = (1868 + ($29<<2)|0);
+ $31 = +HEAPF32[$30>>2];
+ $4 = $31;
+ $32 = $4;
+ $33 = $4;
+ $34 = $32 * $33;
+ $35 = 1.0 - $34;
+ $5 = $35;
+ $36 = $4;
+ $37 = $2;
+ $38 = $5;
+ $39 = $37 * $38;
+ $40 = $4;
+ $41 = $2;
+ $42 = $40 * $41;
+ $43 = 1.0 - $42;
+ $44 = $39 * $43;
+ $45 = $36 + $44;
+ $4 = $45;
+ $46 = $6;
+ $47 = $4;
+ $48 = $46 * $47;
+ $1 = $48;
+ $49 = $1;
+ STACKTOP = sp;return (+$49);
+}
+function _celt_encoder_get_size($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $3 = (_opus_custom_mode_create(48000,960,0)|0);
+ $2 = $3;
+ $4 = $2;
+ $5 = $1;
+ $6 = (_opus_custom_encoder_get_size($4,$5)|0);
+ STACKTOP = sp;return ($6|0);
+}
+function _opus_custom_encoder_get_size($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $3 = 0, $4 = 0, $5 = 0;
+ var $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = $3;
+ $6 = $2;
+ $7 = ((($6)) + 4|0);
+ $8 = HEAP32[$7>>2]|0;
+ $9 = Math_imul($5, $8)|0;
+ $10 = (($9) - 1)|0;
+ $11 = $10<<2;
+ $12 = (204 + ($11))|0;
+ $13 = $3;
+ $14 = $13<<10;
+ $15 = $14<<2;
+ $16 = (($12) + ($15))|0;
+ $17 = $3;
+ $18 = ($17*3)|0;
+ $19 = $2;
+ $20 = ((($19)) + 8|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = Math_imul($18, $21)|0;
+ $23 = $22<<2;
+ $24 = (($16) + ($23))|0;
+ $4 = $24;
+ $25 = $4;
+ STACKTOP = sp;return ($25|0);
+}
+function _celt_encoder_init($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $10 = $5;
+ $11 = (_opus_custom_mode_create(48000,960,0)|0);
+ $12 = $7;
+ $13 = $8;
+ $14 = (_opus_custom_encoder_init_arch($10,$11,$12,$13)|0);
+ $9 = $14;
+ $15 = $9;
+ $16 = ($15|0)!=(0);
+ if ($16) {
+ $17 = $9;
+ $4 = $17;
+ $22 = $4;
+ STACKTOP = sp;return ($22|0);
+ } else {
+ $18 = $6;
+ $19 = (_resampling_factor($18)|0);
+ $20 = $5;
+ $21 = ((($20)) + 28|0);
+ HEAP32[$21>>2] = $19;
+ $4 = 0;
+ $22 = $4;
+ STACKTOP = sp;return ($22|0);
+ }
+ return (0)|0;
+}
+function _opus_custom_encoder_init_arch($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond3 = 0, $vararg_buffer = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $vararg_buffer = sp;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $7;
+ $10 = ($9|0)<(0);
+ $11 = $7;
+ $12 = ($11|0)>(2);
+ $or$cond = $10 | $12;
+ if ($or$cond) {
+ $4 = -1;
+ $59 = $4;
+ STACKTOP = sp;return ($59|0);
+ }
+ $13 = $5;
+ $14 = ($13|0)==(0|0);
+ $15 = $6;
+ $16 = ($15|0)==(0|0);
+ $or$cond3 = $14 | $16;
+ if ($or$cond3) {
+ $4 = -7;
+ $59 = $4;
+ STACKTOP = sp;return ($59|0);
+ } else {
+ $17 = $5;
+ $18 = $6;
+ $19 = $7;
+ $20 = (_opus_custom_encoder_get_size($18,$19)|0);
+ $21 = $20;
+ _memset(($17|0),0,($21|0))|0;
+ $22 = $6;
+ $23 = $5;
+ HEAP32[$23>>2] = $22;
+ $24 = $7;
+ $25 = $5;
+ $26 = ((($25)) + 4|0);
+ HEAP32[$26>>2] = $24;
+ $27 = $5;
+ $28 = ((($27)) + 8|0);
+ HEAP32[$28>>2] = $24;
+ $29 = $5;
+ $30 = ((($29)) + 28|0);
+ HEAP32[$30>>2] = 1;
+ $31 = $5;
+ $32 = ((($31)) + 32|0);
+ HEAP32[$32>>2] = 0;
+ $33 = $5;
+ $34 = HEAP32[$33>>2]|0;
+ $35 = ((($34)) + 12|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = $5;
+ $38 = ((($37)) + 36|0);
+ HEAP32[$38>>2] = $36;
+ $39 = $5;
+ $40 = ((($39)) + 48|0);
+ HEAP32[$40>>2] = 1;
+ $41 = $8;
+ $42 = $5;
+ $43 = ((($42)) + 72|0);
+ HEAP32[$43>>2] = $41;
+ $44 = $5;
+ $45 = ((($44)) + 52|0);
+ HEAP32[$45>>2] = 1;
+ $46 = $5;
+ $47 = ((($46)) + 16|0);
+ HEAP32[$47>>2] = 1;
+ $48 = $5;
+ $49 = ((($48)) + 40|0);
+ HEAP32[$49>>2] = -1;
+ $50 = $5;
+ $51 = ((($50)) + 44|0);
+ HEAP32[$51>>2] = 0;
+ $52 = $5;
+ $53 = ((($52)) + 12|0);
+ HEAP32[$53>>2] = 0;
+ $54 = $5;
+ $55 = ((($54)) + 24|0);
+ HEAP32[$55>>2] = 5;
+ $56 = $5;
+ $57 = ((($56)) + 60|0);
+ HEAP32[$57>>2] = 24;
+ $58 = $5;
+ (_opus_custom_encoder_ctl($58,4028,$vararg_buffer)|0);
+ $4 = 0;
+ $59 = $4;
+ STACKTOP = sp;return ($59|0);
+ }
+ return (0)|0;
+}
+function _opus_custom_encoder_ctl($0,$1,$varargs) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $varargs = $varargs|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0;
+ var $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0;
+ var $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0;
+ var $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0;
+ var $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0;
+ var $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0;
+ var $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0;
+ var $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0;
+ var $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0;
+ var $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0;
+ var $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $arglist_current = 0, $arglist_current13 = 0;
+ var $arglist_current16 = 0, $arglist_current19 = 0, $arglist_current22 = 0, $arglist_current25 = 0, $arglist_current28 = 0, $arglist_current31 = 0, $arglist_current34 = 0, $arglist_current37 = 0, $arglist_current40 = 0, $arglist_current43 = 0, $arglist_current46 = 0, $arglist_current49 = 0, $arglist_current52 = 0, $arglist_current55 = 0, $arglist_current58 = 0, $arglist_current61 = 0, $arglist_next = 0, $arglist_next14 = 0, $arglist_next17 = 0, $arglist_next20 = 0;
+ var $arglist_next23 = 0, $arglist_next26 = 0, $arglist_next29 = 0, $arglist_next32 = 0, $arglist_next35 = 0, $arglist_next38 = 0, $arglist_next41 = 0, $arglist_next44 = 0, $arglist_next47 = 0, $arglist_next50 = 0, $arglist_next53 = 0, $arglist_next56 = 0, $arglist_next59 = 0, $arglist_next62 = 0, $expanded = 0, $expanded100 = 0, $expanded102 = 0, $expanded103 = 0, $expanded104 = 0, $expanded106 = 0;
+ var $expanded107 = 0, $expanded109 = 0, $expanded11 = 0, $expanded110 = 0, $expanded111 = 0, $expanded113 = 0, $expanded114 = 0, $expanded116 = 0, $expanded117 = 0, $expanded118 = 0, $expanded12 = 0, $expanded120 = 0, $expanded121 = 0, $expanded123 = 0, $expanded124 = 0, $expanded125 = 0, $expanded13 = 0, $expanded15 = 0, $expanded16 = 0, $expanded18 = 0;
+ var $expanded19 = 0, $expanded2 = 0, $expanded20 = 0, $expanded22 = 0, $expanded23 = 0, $expanded25 = 0, $expanded26 = 0, $expanded27 = 0, $expanded29 = 0, $expanded30 = 0, $expanded32 = 0, $expanded33 = 0, $expanded34 = 0, $expanded36 = 0, $expanded37 = 0, $expanded39 = 0, $expanded4 = 0, $expanded40 = 0, $expanded41 = 0, $expanded43 = 0;
+ var $expanded44 = 0, $expanded46 = 0, $expanded47 = 0, $expanded48 = 0, $expanded5 = 0, $expanded50 = 0, $expanded51 = 0, $expanded53 = 0, $expanded54 = 0, $expanded55 = 0, $expanded57 = 0, $expanded58 = 0, $expanded6 = 0, $expanded60 = 0, $expanded61 = 0, $expanded62 = 0, $expanded64 = 0, $expanded65 = 0, $expanded67 = 0, $expanded68 = 0;
+ var $expanded69 = 0, $expanded71 = 0, $expanded72 = 0, $expanded74 = 0, $expanded75 = 0, $expanded76 = 0, $expanded78 = 0, $expanded79 = 0, $expanded8 = 0, $expanded81 = 0, $expanded82 = 0, $expanded83 = 0, $expanded85 = 0, $expanded86 = 0, $expanded88 = 0, $expanded89 = 0, $expanded9 = 0, $expanded90 = 0, $expanded92 = 0, $expanded93 = 0;
+ var $expanded95 = 0, $expanded96 = 0, $expanded97 = 0, $expanded99 = 0, $or$cond = 0, $or$cond11 = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond7 = 0, $or$cond9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
+ $5 = sp + 160|0;
+ $3 = $0;
+ $4 = $1;
+ HEAP32[$5>>2] = $varargs;
+ $46 = $4;
+ do {
+ switch ($46|0) {
+ case 4010: {
+ $arglist_current = HEAP32[$5>>2]|0;
+ $47 = $arglist_current;
+ $48 = ((0) + 4|0);
+ $expanded2 = $48;
+ $expanded = (($expanded2) - 1)|0;
+ $49 = (($47) + ($expanded))|0;
+ $50 = ((0) + 4|0);
+ $expanded6 = $50;
+ $expanded5 = (($expanded6) - 1)|0;
+ $expanded4 = $expanded5 ^ -1;
+ $51 = $49 & $expanded4;
+ $52 = $51;
+ $53 = HEAP32[$52>>2]|0;
+ $arglist_next = ((($52)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next;
+ $7 = $53;
+ $54 = $7;
+ $6 = $54;
+ $55 = $6;
+ $56 = ($55|0)<(0);
+ $57 = $6;
+ $58 = ($57|0)>(10);
+ $or$cond = $56 | $58;
+ if ($or$cond) {
+ label = 41;
+ } else {
+ $59 = $6;
+ $60 = $3;
+ $61 = ((($60)) + 24|0);
+ HEAP32[$61>>2] = $59;
+ label = 40;
+ }
+ break;
+ }
+ case 10010: {
+ $arglist_current13 = HEAP32[$5>>2]|0;
+ $62 = $arglist_current13;
+ $63 = ((0) + 4|0);
+ $expanded9 = $63;
+ $expanded8 = (($expanded9) - 1)|0;
+ $64 = (($62) + ($expanded8))|0;
+ $65 = ((0) + 4|0);
+ $expanded13 = $65;
+ $expanded12 = (($expanded13) - 1)|0;
+ $expanded11 = $expanded12 ^ -1;
+ $66 = $64 & $expanded11;
+ $67 = $66;
+ $68 = HEAP32[$67>>2]|0;
+ $arglist_next14 = ((($67)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next14;
+ $9 = $68;
+ $69 = $9;
+ $8 = $69;
+ $70 = $8;
+ $71 = ($70|0)<(0);
+ if ($71) {
+ label = 41;
+ } else {
+ $72 = $8;
+ $73 = $3;
+ $74 = HEAP32[$73>>2]|0;
+ $75 = ((($74)) + 8|0);
+ $76 = HEAP32[$75>>2]|0;
+ $77 = ($72|0)>=($76|0);
+ if ($77) {
+ label = 41;
+ } else {
+ $78 = $8;
+ $79 = $3;
+ $80 = ((($79)) + 32|0);
+ HEAP32[$80>>2] = $78;
+ label = 40;
+ }
+ }
+ break;
+ }
+ case 10012: {
+ $arglist_current16 = HEAP32[$5>>2]|0;
+ $81 = $arglist_current16;
+ $82 = ((0) + 4|0);
+ $expanded16 = $82;
+ $expanded15 = (($expanded16) - 1)|0;
+ $83 = (($81) + ($expanded15))|0;
+ $84 = ((0) + 4|0);
+ $expanded20 = $84;
+ $expanded19 = (($expanded20) - 1)|0;
+ $expanded18 = $expanded19 ^ -1;
+ $85 = $83 & $expanded18;
+ $86 = $85;
+ $87 = HEAP32[$86>>2]|0;
+ $arglist_next17 = ((($86)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next17;
+ $11 = $87;
+ $88 = $11;
+ $10 = $88;
+ $89 = $10;
+ $90 = ($89|0)<(1);
+ if ($90) {
+ label = 41;
+ } else {
+ $91 = $10;
+ $92 = $3;
+ $93 = HEAP32[$92>>2]|0;
+ $94 = ((($93)) + 8|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = ($91|0)>($95|0);
+ if ($96) {
+ label = 41;
+ } else {
+ $97 = $10;
+ $98 = $3;
+ $99 = ((($98)) + 36|0);
+ HEAP32[$99>>2] = $97;
+ label = 40;
+ }
+ }
+ break;
+ }
+ case 10002: {
+ $arglist_current19 = HEAP32[$5>>2]|0;
+ $100 = $arglist_current19;
+ $101 = ((0) + 4|0);
+ $expanded23 = $101;
+ $expanded22 = (($expanded23) - 1)|0;
+ $102 = (($100) + ($expanded22))|0;
+ $103 = ((0) + 4|0);
+ $expanded27 = $103;
+ $expanded26 = (($expanded27) - 1)|0;
+ $expanded25 = $expanded26 ^ -1;
+ $104 = $102 & $expanded25;
+ $105 = $104;
+ $106 = HEAP32[$105>>2]|0;
+ $arglist_next20 = ((($105)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next20;
+ $13 = $106;
+ $107 = $13;
+ $12 = $107;
+ $108 = $12;
+ $109 = ($108|0)<(0);
+ $110 = $12;
+ $111 = ($110|0)>(2);
+ $or$cond3 = $109 | $111;
+ if ($or$cond3) {
+ label = 41;
+ } else {
+ $112 = $12;
+ $113 = ($112|0)<=(1);
+ $114 = $113&1;
+ $115 = $3;
+ $116 = ((($115)) + 20|0);
+ HEAP32[$116>>2] = $114;
+ $117 = $12;
+ $118 = ($117|0)==(0);
+ $119 = $118&1;
+ $120 = $3;
+ $121 = ((($120)) + 12|0);
+ HEAP32[$121>>2] = $119;
+ label = 40;
+ }
+ break;
+ }
+ case 4014: {
+ $arglist_current22 = HEAP32[$5>>2]|0;
+ $122 = $arglist_current22;
+ $123 = ((0) + 4|0);
+ $expanded30 = $123;
+ $expanded29 = (($expanded30) - 1)|0;
+ $124 = (($122) + ($expanded29))|0;
+ $125 = ((0) + 4|0);
+ $expanded34 = $125;
+ $expanded33 = (($expanded34) - 1)|0;
+ $expanded32 = $expanded33 ^ -1;
+ $126 = $124 & $expanded32;
+ $127 = $126;
+ $128 = HEAP32[$127>>2]|0;
+ $arglist_next23 = ((($127)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next23;
+ $15 = $128;
+ $129 = $15;
+ $14 = $129;
+ $130 = $14;
+ $131 = ($130|0)<(0);
+ $132 = $14;
+ $133 = ($132|0)>(100);
+ $or$cond5 = $131 | $133;
+ if ($or$cond5) {
+ label = 41;
+ } else {
+ $134 = $14;
+ $135 = $3;
+ $136 = ((($135)) + 56|0);
+ HEAP32[$136>>2] = $134;
+ label = 40;
+ }
+ break;
+ }
+ case 4020: {
+ $arglist_current25 = HEAP32[$5>>2]|0;
+ $137 = $arglist_current25;
+ $138 = ((0) + 4|0);
+ $expanded37 = $138;
+ $expanded36 = (($expanded37) - 1)|0;
+ $139 = (($137) + ($expanded36))|0;
+ $140 = ((0) + 4|0);
+ $expanded41 = $140;
+ $expanded40 = (($expanded41) - 1)|0;
+ $expanded39 = $expanded40 ^ -1;
+ $141 = $139 & $expanded39;
+ $142 = $141;
+ $143 = HEAP32[$142>>2]|0;
+ $arglist_next26 = ((($142)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next26;
+ $17 = $143;
+ $144 = $17;
+ $16 = $144;
+ $145 = $16;
+ $146 = $3;
+ $147 = ((($146)) + 52|0);
+ HEAP32[$147>>2] = $145;
+ label = 40;
+ break;
+ }
+ case 4006: {
+ $arglist_current28 = HEAP32[$5>>2]|0;
+ $148 = $arglist_current28;
+ $149 = ((0) + 4|0);
+ $expanded44 = $149;
+ $expanded43 = (($expanded44) - 1)|0;
+ $150 = (($148) + ($expanded43))|0;
+ $151 = ((0) + 4|0);
+ $expanded48 = $151;
+ $expanded47 = (($expanded48) - 1)|0;
+ $expanded46 = $expanded47 ^ -1;
+ $152 = $150 & $expanded46;
+ $153 = $152;
+ $154 = HEAP32[$153>>2]|0;
+ $arglist_next29 = ((($153)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next29;
+ $19 = $154;
+ $155 = $19;
+ $18 = $155;
+ $156 = $18;
+ $157 = $3;
+ $158 = ((($157)) + 44|0);
+ HEAP32[$158>>2] = $156;
+ label = 40;
+ break;
+ }
+ case 4002: {
+ $arglist_current31 = HEAP32[$5>>2]|0;
+ $159 = $arglist_current31;
+ $160 = ((0) + 4|0);
+ $expanded51 = $160;
+ $expanded50 = (($expanded51) - 1)|0;
+ $161 = (($159) + ($expanded50))|0;
+ $162 = ((0) + 4|0);
+ $expanded55 = $162;
+ $expanded54 = (($expanded55) - 1)|0;
+ $expanded53 = $expanded54 ^ -1;
+ $163 = $161 & $expanded53;
+ $164 = $163;
+ $165 = HEAP32[$164>>2]|0;
+ $arglist_next32 = ((($164)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next32;
+ $21 = $165;
+ $166 = $21;
+ $20 = $166;
+ $167 = $20;
+ $168 = ($167|0)<=(500);
+ $169 = $20;
+ $170 = ($169|0)!=(-1);
+ $or$cond7 = $168 & $170;
+ if ($or$cond7) {
+ label = 41;
+ } else {
+ $171 = $20;
+ $172 = $3;
+ $173 = ((($172)) + 4|0);
+ $174 = HEAP32[$173>>2]|0;
+ $175 = ($174*260000)|0;
+ $176 = ($171|0)<($175|0);
+ if ($176) {
+ $177 = $20;
+ $182 = $177;
+ } else {
+ $178 = $3;
+ $179 = ((($178)) + 4|0);
+ $180 = HEAP32[$179>>2]|0;
+ $181 = ($180*260000)|0;
+ $182 = $181;
+ }
+ $20 = $182;
+ $183 = $20;
+ $184 = $3;
+ $185 = ((($184)) + 40|0);
+ HEAP32[$185>>2] = $183;
+ label = 40;
+ }
+ break;
+ }
+ case 10008: {
+ $arglist_current34 = HEAP32[$5>>2]|0;
+ $186 = $arglist_current34;
+ $187 = ((0) + 4|0);
+ $expanded58 = $187;
+ $expanded57 = (($expanded58) - 1)|0;
+ $188 = (($186) + ($expanded57))|0;
+ $189 = ((0) + 4|0);
+ $expanded62 = $189;
+ $expanded61 = (($expanded62) - 1)|0;
+ $expanded60 = $expanded61 ^ -1;
+ $190 = $188 & $expanded60;
+ $191 = $190;
+ $192 = HEAP32[$191>>2]|0;
+ $arglist_next35 = ((($191)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next35;
+ $23 = $192;
+ $193 = $23;
+ $22 = $193;
+ $194 = $22;
+ $195 = ($194|0)<(1);
+ $196 = $22;
+ $197 = ($196|0)>(2);
+ $or$cond9 = $195 | $197;
+ if ($or$cond9) {
+ label = 41;
+ } else {
+ $198 = $22;
+ $199 = $3;
+ $200 = ((($199)) + 8|0);
+ HEAP32[$200>>2] = $198;
+ label = 40;
+ }
+ break;
+ }
+ case 4036: {
+ $arglist_current37 = HEAP32[$5>>2]|0;
+ $201 = $arglist_current37;
+ $202 = ((0) + 4|0);
+ $expanded65 = $202;
+ $expanded64 = (($expanded65) - 1)|0;
+ $203 = (($201) + ($expanded64))|0;
+ $204 = ((0) + 4|0);
+ $expanded69 = $204;
+ $expanded68 = (($expanded69) - 1)|0;
+ $expanded67 = $expanded68 ^ -1;
+ $205 = $203 & $expanded67;
+ $206 = $205;
+ $207 = HEAP32[$206>>2]|0;
+ $arglist_next38 = ((($206)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next38;
+ $25 = $207;
+ $208 = $25;
+ $24 = $208;
+ $209 = $24;
+ $210 = ($209|0)<(8);
+ $211 = $24;
+ $212 = ($211|0)>(24);
+ $or$cond11 = $210 | $212;
+ if ($or$cond11) {
+ label = 41;
+ } else {
+ $213 = $24;
+ $214 = $3;
+ $215 = ((($214)) + 60|0);
+ HEAP32[$215>>2] = $213;
+ label = 40;
+ }
+ break;
+ }
+ case 4037: {
+ $arglist_current40 = HEAP32[$5>>2]|0;
+ $216 = $arglist_current40;
+ $217 = ((0) + 4|0);
+ $expanded72 = $217;
+ $expanded71 = (($expanded72) - 1)|0;
+ $218 = (($216) + ($expanded71))|0;
+ $219 = ((0) + 4|0);
+ $expanded76 = $219;
+ $expanded75 = (($expanded76) - 1)|0;
+ $expanded74 = $expanded75 ^ -1;
+ $220 = $218 & $expanded74;
+ $221 = $220;
+ $222 = HEAP32[$221>>2]|0;
+ $arglist_next41 = ((($221)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next41;
+ $27 = $222;
+ $223 = $27;
+ $26 = $223;
+ $224 = $3;
+ $225 = ((($224)) + 60|0);
+ $226 = HEAP32[$225>>2]|0;
+ $227 = $26;
+ HEAP32[$227>>2] = $226;
+ label = 40;
+ break;
+ }
+ case 4040: {
+ $arglist_current43 = HEAP32[$5>>2]|0;
+ $228 = $arglist_current43;
+ $229 = ((0) + 4|0);
+ $expanded79 = $229;
+ $expanded78 = (($expanded79) - 1)|0;
+ $230 = (($228) + ($expanded78))|0;
+ $231 = ((0) + 4|0);
+ $expanded83 = $231;
+ $expanded82 = (($expanded83) - 1)|0;
+ $expanded81 = $expanded82 ^ -1;
+ $232 = $230 & $expanded81;
+ $233 = $232;
+ $234 = HEAP32[$233>>2]|0;
+ $arglist_next44 = ((($233)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next44;
+ $29 = $234;
+ $235 = $29;
+ $28 = $235;
+ $236 = $28;
+ $237 = $3;
+ $238 = ((($237)) + 64|0);
+ HEAP32[$238>>2] = $236;
+ label = 40;
+ break;
+ }
+ case 4028: {
+ $239 = $3;
+ $240 = ((($239)) + 200|0);
+ $241 = $3;
+ $242 = ((($241)) + 4|0);
+ $243 = HEAP32[$242>>2]|0;
+ $244 = $3;
+ $245 = HEAP32[$244>>2]|0;
+ $246 = ((($245)) + 4|0);
+ $247 = HEAP32[$246>>2]|0;
+ $248 = (($247) + 1024)|0;
+ $249 = Math_imul($243, $248)|0;
+ $250 = (($240) + ($249<<2)|0);
+ $31 = $250;
+ $251 = $31;
+ $252 = $3;
+ $253 = ((($252)) + 4|0);
+ $254 = HEAP32[$253>>2]|0;
+ $255 = $3;
+ $256 = HEAP32[$255>>2]|0;
+ $257 = ((($256)) + 8|0);
+ $258 = HEAP32[$257>>2]|0;
+ $259 = Math_imul($254, $258)|0;
+ $260 = (($251) + ($259<<2)|0);
+ $32 = $260;
+ $261 = $32;
+ $262 = $3;
+ $263 = ((($262)) + 4|0);
+ $264 = HEAP32[$263>>2]|0;
+ $265 = $3;
+ $266 = HEAP32[$265>>2]|0;
+ $267 = ((($266)) + 8|0);
+ $268 = HEAP32[$267>>2]|0;
+ $269 = Math_imul($264, $268)|0;
+ $270 = (($261) + ($269<<2)|0);
+ $33 = $270;
+ $271 = $3;
+ $272 = ((($271)) + 76|0);
+ $273 = $3;
+ $274 = HEAP32[$273>>2]|0;
+ $275 = $3;
+ $276 = ((($275)) + 4|0);
+ $277 = HEAP32[$276>>2]|0;
+ $278 = (_opus_custom_encoder_get_size($274,$277)|0);
+ $279 = $3;
+ $280 = ((($279)) + 76|0);
+ $281 = $3;
+ $282 = $280;
+ $283 = $281;
+ $284 = (($282) - ($283))|0;
+ $285 = (($278) - ($284))|0;
+ $286 = $285;
+ _memset(($272|0),0,($286|0))|0;
+ $30 = 0;
+ while(1) {
+ $287 = $30;
+ $288 = $3;
+ $289 = ((($288)) + 4|0);
+ $290 = HEAP32[$289>>2]|0;
+ $291 = $3;
+ $292 = HEAP32[$291>>2]|0;
+ $293 = ((($292)) + 8|0);
+ $294 = HEAP32[$293>>2]|0;
+ $295 = Math_imul($290, $294)|0;
+ $296 = ($287|0)<($295|0);
+ if (!($296)) {
+ break;
+ }
+ $297 = $33;
+ $298 = $30;
+ $299 = (($297) + ($298<<2)|0);
+ HEAPF32[$299>>2] = -28.0;
+ $300 = $32;
+ $301 = $30;
+ $302 = (($300) + ($301<<2)|0);
+ HEAPF32[$302>>2] = -28.0;
+ $303 = $30;
+ $304 = (($303) + 1)|0;
+ $30 = $304;
+ }
+ $305 = $3;
+ $306 = ((($305)) + 172|0);
+ HEAP32[$306>>2] = 0;
+ $307 = $3;
+ $308 = ((($307)) + 84|0);
+ HEAPF32[$308>>2] = 1.0;
+ $309 = $3;
+ $310 = ((($309)) + 80|0);
+ HEAP32[$310>>2] = 2;
+ $311 = $3;
+ $312 = ((($311)) + 88|0);
+ HEAP32[$312>>2] = 256;
+ $313 = $3;
+ $314 = ((($313)) + 96|0);
+ HEAP32[$314>>2] = 0;
+ $315 = $3;
+ $316 = ((($315)) + 100|0);
+ HEAP32[$316>>2] = 0;
+ label = 40;
+ break;
+ }
+ case 10016: {
+ $arglist_current46 = HEAP32[$5>>2]|0;
+ $317 = $arglist_current46;
+ $318 = ((0) + 4|0);
+ $expanded86 = $318;
+ $expanded85 = (($expanded86) - 1)|0;
+ $319 = (($317) + ($expanded85))|0;
+ $320 = ((0) + 4|0);
+ $expanded90 = $320;
+ $expanded89 = (($expanded90) - 1)|0;
+ $expanded88 = $expanded89 ^ -1;
+ $321 = $319 & $expanded88;
+ $322 = $321;
+ $323 = HEAP32[$322>>2]|0;
+ $arglist_next47 = ((($322)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next47;
+ $35 = $323;
+ $324 = $35;
+ $34 = $324;
+ $325 = $34;
+ $326 = $3;
+ $327 = ((($326)) + 48|0);
+ HEAP32[$327>>2] = $325;
+ label = 40;
+ break;
+ }
+ case 10022: {
+ $arglist_current49 = HEAP32[$5>>2]|0;
+ $328 = $arglist_current49;
+ $329 = ((0) + 4|0);
+ $expanded93 = $329;
+ $expanded92 = (($expanded93) - 1)|0;
+ $330 = (($328) + ($expanded92))|0;
+ $331 = ((0) + 4|0);
+ $expanded97 = $331;
+ $expanded96 = (($expanded97) - 1)|0;
+ $expanded95 = $expanded96 ^ -1;
+ $332 = $330 & $expanded95;
+ $333 = $332;
+ $334 = HEAP32[$333>>2]|0;
+ $arglist_next50 = ((($333)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next50;
+ $37 = $334;
+ $335 = $37;
+ $36 = $335;
+ $336 = $36;
+ $337 = ($336|0)!=(0|0);
+ if ($337) {
+ $338 = $3;
+ $339 = ((($338)) + 120|0);
+ $340 = $36;
+ $341 = $3;
+ $342 = ((($341)) + 120|0);
+ $343 = $36;
+ $344 = $342;
+ $345 = $343;
+ $346 = (($344) - ($345))|0;
+ $347 = (($346|0) / 28)&-1;
+ $348 = 0;
+ $349 = (28 + ($348))|0;
+ _memcpy(($339|0),($340|0),($349|0))|0;
+ label = 40;
+ } else {
+ label = 40;
+ }
+ break;
+ }
+ case 10015: {
+ $arglist_current52 = HEAP32[$5>>2]|0;
+ $350 = $arglist_current52;
+ $351 = ((0) + 4|0);
+ $expanded100 = $351;
+ $expanded99 = (($expanded100) - 1)|0;
+ $352 = (($350) + ($expanded99))|0;
+ $353 = ((0) + 4|0);
+ $expanded104 = $353;
+ $expanded103 = (($expanded104) - 1)|0;
+ $expanded102 = $expanded103 ^ -1;
+ $354 = $352 & $expanded102;
+ $355 = $354;
+ $356 = HEAP32[$355>>2]|0;
+ $arglist_next53 = ((($355)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next53;
+ $39 = $356;
+ $357 = $39;
+ $38 = $357;
+ $358 = $38;
+ $359 = ($358|0)==(0|0);
+ if ($359) {
+ label = 41;
+ } else {
+ $360 = $3;
+ $361 = HEAP32[$360>>2]|0;
+ $362 = $38;
+ HEAP32[$362>>2] = $361;
+ label = 40;
+ }
+ break;
+ }
+ case 4031: {
+ $arglist_current55 = HEAP32[$5>>2]|0;
+ $363 = $arglist_current55;
+ $364 = ((0) + 4|0);
+ $expanded107 = $364;
+ $expanded106 = (($expanded107) - 1)|0;
+ $365 = (($363) + ($expanded106))|0;
+ $366 = ((0) + 4|0);
+ $expanded111 = $366;
+ $expanded110 = (($expanded111) - 1)|0;
+ $expanded109 = $expanded110 ^ -1;
+ $367 = $365 & $expanded109;
+ $368 = $367;
+ $369 = HEAP32[$368>>2]|0;
+ $arglist_next56 = ((($368)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next56;
+ $41 = $369;
+ $370 = $41;
+ $40 = $370;
+ $371 = $40;
+ $372 = ($371|0)==(0|0);
+ if ($372) {
+ label = 41;
+ } else {
+ $373 = $3;
+ $374 = ((($373)) + 76|0);
+ $375 = HEAP32[$374>>2]|0;
+ $376 = $40;
+ HEAP32[$376>>2] = $375;
+ label = 40;
+ }
+ break;
+ }
+ case 10024: {
+ $arglist_current58 = HEAP32[$5>>2]|0;
+ $377 = $arglist_current58;
+ $378 = ((0) + 4|0);
+ $expanded114 = $378;
+ $expanded113 = (($expanded114) - 1)|0;
+ $379 = (($377) + ($expanded113))|0;
+ $380 = ((0) + 4|0);
+ $expanded118 = $380;
+ $expanded117 = (($expanded118) - 1)|0;
+ $expanded116 = $expanded117 ^ -1;
+ $381 = $379 & $expanded116;
+ $382 = $381;
+ $383 = HEAP32[$382>>2]|0;
+ $arglist_next59 = ((($382)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next59;
+ $43 = $383;
+ $384 = $43;
+ $42 = $384;
+ $385 = $42;
+ $386 = $3;
+ $387 = ((($386)) + 68|0);
+ HEAP32[$387>>2] = $385;
+ label = 40;
+ break;
+ }
+ case 10026: {
+ $arglist_current61 = HEAP32[$5>>2]|0;
+ $388 = $arglist_current61;
+ $389 = ((0) + 4|0);
+ $expanded121 = $389;
+ $expanded120 = (($expanded121) - 1)|0;
+ $390 = (($388) + ($expanded120))|0;
+ $391 = ((0) + 4|0);
+ $expanded125 = $391;
+ $expanded124 = (($expanded125) - 1)|0;
+ $expanded123 = $expanded124 ^ -1;
+ $392 = $390 & $expanded123;
+ $393 = $392;
+ $394 = HEAP32[$393>>2]|0;
+ $arglist_next62 = ((($393)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next62;
+ $45 = $394;
+ $395 = $45;
+ $44 = $395;
+ $396 = $44;
+ $397 = $3;
+ $398 = ((($397)) + 192|0);
+ HEAP32[$398>>2] = $396;
+ label = 40;
+ break;
+ }
+ default: {
+ $2 = -5;
+ $399 = $2;
+ STACKTOP = sp;return ($399|0);
+ }
+ }
+ } while(0);
+ if ((label|0) == 40) {
+ $2 = 0;
+ $399 = $2;
+ STACKTOP = sp;return ($399|0);
+ }
+ else if ((label|0) == 41) {
+ $2 = -1;
+ $399 = $2;
+ STACKTOP = sp;return ($399|0);
+ }
+ return (0)|0;
+}
+function _celt_preemphasis($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $10 = 0, $100 = 0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0.0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0.0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0, $14 = 0, $140 = 0, $141 = 0.0, $142 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0.0, $19 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0.0, $26 = 0;
+ var $27 = 0, $28 = 0.0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0;
+ var $47 = 0, $48 = 0, $49 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0;
+ var $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0.0, $or$cond = 0, $or$cond$not = 0, $or$cond3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $22 = $13;
+ $23 = +HEAPF32[$22>>2];
+ $17 = $23;
+ $24 = $14;
+ $25 = +HEAPF32[$24>>2];
+ $18 = $25;
+ $26 = $13;
+ $27 = ((($26)) + 4|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = $28 == 0.0;
+ $30 = $12;
+ $31 = ($30|0)==(1);
+ $or$cond = $29 & $31;
+ $or$cond$not = $or$cond ^ 1;
+ $32 = $15;
+ $33 = ($32|0)!=(0);
+ $or$cond3 = $or$cond$not | $33;
+ if (!($or$cond3)) {
+ $16 = 0;
+ while(1) {
+ $34 = $16;
+ $35 = $10;
+ $36 = ($34|0)<($35|0);
+ if (!($36)) {
+ break;
+ }
+ $37 = $8;
+ $38 = $11;
+ $39 = $16;
+ $40 = Math_imul($38, $39)|0;
+ $41 = (($37) + ($40<<2)|0);
+ $42 = +HEAPF32[$41>>2];
+ $43 = $42 * 32768.0;
+ $20 = $43;
+ $44 = $20;
+ $45 = $18;
+ $46 = $44 - $45;
+ $47 = $9;
+ $48 = $16;
+ $49 = (($47) + ($48<<2)|0);
+ HEAPF32[$49>>2] = $46;
+ $50 = $17;
+ $51 = $20;
+ $52 = $50 * $51;
+ $18 = $52;
+ $53 = $16;
+ $54 = (($53) + 1)|0;
+ $16 = $54;
+ }
+ $55 = $18;
+ $56 = $14;
+ HEAPF32[$56>>2] = $55;
+ STACKTOP = sp;return;
+ }
+ $57 = $10;
+ $58 = $12;
+ $59 = (($57|0) / ($58|0))&-1;
+ $19 = $59;
+ $60 = $12;
+ $61 = ($60|0)!=(1);
+ if ($61) {
+ $62 = $9;
+ $63 = $10;
+ $64 = $63<<2;
+ _memset(($62|0),0,($64|0))|0;
+ }
+ $16 = 0;
+ while(1) {
+ $65 = $16;
+ $66 = $19;
+ $67 = ($65|0)<($66|0);
+ if (!($67)) {
+ break;
+ }
+ $68 = $8;
+ $69 = $11;
+ $70 = $16;
+ $71 = Math_imul($69, $70)|0;
+ $72 = (($68) + ($71<<2)|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $73 * 32768.0;
+ $75 = $9;
+ $76 = $16;
+ $77 = $12;
+ $78 = Math_imul($76, $77)|0;
+ $79 = (($75) + ($78<<2)|0);
+ HEAPF32[$79>>2] = $74;
+ $80 = $16;
+ $81 = (($80) + 1)|0;
+ $16 = $81;
+ }
+ $82 = $15;
+ $83 = ($82|0)!=(0);
+ L16: do {
+ if ($83) {
+ $16 = 0;
+ while(1) {
+ $84 = $16;
+ $85 = $19;
+ $86 = ($84|0)<($85|0);
+ if (!($86)) {
+ break L16;
+ }
+ $87 = $9;
+ $88 = $16;
+ $89 = $12;
+ $90 = Math_imul($88, $89)|0;
+ $91 = (($87) + ($90<<2)|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = 65536.0 < $92;
+ if ($93) {
+ $101 = 65536.0;
+ } else {
+ $94 = $9;
+ $95 = $16;
+ $96 = $12;
+ $97 = Math_imul($95, $96)|0;
+ $98 = (($94) + ($97<<2)|0);
+ $99 = +HEAPF32[$98>>2];
+ $101 = $99;
+ }
+ $100 = -65536.0 > $101;
+ if ($100) {
+ $120 = -65536.0;
+ } else {
+ $102 = $9;
+ $103 = $16;
+ $104 = $12;
+ $105 = Math_imul($103, $104)|0;
+ $106 = (($102) + ($105<<2)|0);
+ $107 = +HEAPF32[$106>>2];
+ $108 = 65536.0 < $107;
+ if ($108) {
+ $120 = 65536.0;
+ } else {
+ $109 = $9;
+ $110 = $16;
+ $111 = $12;
+ $112 = Math_imul($110, $111)|0;
+ $113 = (($109) + ($112<<2)|0);
+ $114 = +HEAPF32[$113>>2];
+ $120 = $114;
+ }
+ }
+ $115 = $9;
+ $116 = $16;
+ $117 = $12;
+ $118 = Math_imul($116, $117)|0;
+ $119 = (($115) + ($118<<2)|0);
+ HEAPF32[$119>>2] = $120;
+ $121 = $16;
+ $122 = (($121) + 1)|0;
+ $16 = $122;
+ }
+ }
+ } while(0);
+ $16 = 0;
+ while(1) {
+ $123 = $16;
+ $124 = $10;
+ $125 = ($123|0)<($124|0);
+ if (!($125)) {
+ break;
+ }
+ $126 = $9;
+ $127 = $16;
+ $128 = (($126) + ($127<<2)|0);
+ $129 = +HEAPF32[$128>>2];
+ $21 = $129;
+ $130 = $21;
+ $131 = $18;
+ $132 = $130 - $131;
+ $133 = $9;
+ $134 = $16;
+ $135 = (($133) + ($134<<2)|0);
+ HEAPF32[$135>>2] = $132;
+ $136 = $17;
+ $137 = $21;
+ $138 = $136 * $137;
+ $18 = $138;
+ $139 = $16;
+ $140 = (($139) + 1)|0;
+ $16 = $140;
+ }
+ $141 = $18;
+ $142 = $14;
+ HEAPF32[$142>>2] = $141;
+ STACKTOP = sp;return;
+}
+function _celt_encode_with_ec($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $$alloca_mul = 0, $$alloca_mul141 = 0, $$alloca_mul143 = 0, $$alloca_mul145 = 0, $$alloca_mul147 = 0, $$alloca_mul149 = 0, $$alloca_mul151 = 0, $$alloca_mul153 = 0, $$alloca_mul155 = 0, $$alloca_mul157 = 0, $$alloca_mul159 = 0, $$alloca_mul161 = 0, $$alloca_mul163 = 0, $$alloca_mul165 = 0, $$alloca_mul167 = 0, $$old = 0, $$old4 = 0, $$old6 = 0, $$old7 = 0, $$sink = 0;
+ var $$sink17 = 0, $$sink30 = 0, $$sink32 = 0, $$sink36 = 0, $$sink40 = 0, $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0.0, $1009 = 0.0, $101 = 0, $1010 = 0, $1011 = 0.0;
+ var $1012 = 0.0, $1013 = 0.0, $1014 = 0.0, $1015 = 0.0, $1016 = 0.0, $1017 = 0, $1018 = 0.0, $1019 = 0.0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0.0, $1029 = 0.0, $103 = 0;
+ var $1030 = 0.0, $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0, $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0.0, $104 = 0, $1040 = 0.0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0.0, $1045 = 0.0, $1046 = 0, $1047 = 0, $1048 = 0.0;
+ var $1049 = 0, $105 = 0, $1050 = 0, $1051 = 0.0, $1052 = 0.0, $1053 = 0.0, $1054 = 0.0, $1055 = 0.0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0.0, $1064 = 0.0, $1065 = 0.0, $1066 = 0;
+ var $1067 = 0, $1068 = 0, $1069 = 0, $107 = 0, $1070 = 0.0, $1071 = 0.0, $1072 = 0, $1073 = 0, $1074 = 0.0, $1075 = 0.0, $1076 = 0.0, $1077 = 0, $1078 = 0.0, $1079 = 0.0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0.0, $1083 = 0.0, $1084 = 0.0;
+ var $1085 = 0.0, $1086 = 0, $1087 = 0, $1088 = 0.0, $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0.0, $1094 = 0.0, $1095 = 0.0, $1096 = 0, $1097 = 0.0, $1098 = 0, $1099 = 0, $11 = 0, $110 = 0, $1100 = 0, $1101 = 0;
+ var $1102 = 0.0, $1103 = 0.0, $1104 = 0.0, $1105 = 0.0, $1106 = 0.0, $1107 = 0.0, $1108 = 0.0, $1109 = 0, $111 = 0, $1110 = 0, $1111 = 0, $1112 = 0, $1113 = 0, $1114 = 0.0, $1115 = 0.0, $1116 = 0.0, $1117 = 0.0, $1118 = 0, $1119 = 0, $112 = 0;
+ var $1120 = 0.0, $1121 = 0.0, $1122 = 0.0, $1123 = 0, $1124 = 0.0, $1125 = 0.0, $1126 = 0, $1127 = 0.0, $1128 = 0, $1129 = 0.0, $113 = 0, $1130 = 0.0, $1131 = 0.0, $1132 = 0.0, $1133 = 0.0, $1134 = 0, $1135 = 0, $1136 = 0.0, $1137 = 0.0, $1138 = 0;
+ var $1139 = 0, $114 = 0, $1140 = 0, $1141 = 0, $1142 = 0, $1143 = 0, $1144 = 0, $1145 = 0, $1146 = 0, $1147 = 0, $1148 = 0, $1149 = 0, $115 = 0, $1150 = 0, $1151 = 0, $1152 = 0, $1153 = 0, $1154 = 0, $1155 = 0, $1156 = 0;
+ var $1157 = 0, $1158 = 0, $1159 = 0, $116 = 0, $1160 = 0, $1161 = 0, $1162 = 0, $1163 = 0, $1164 = 0, $1165 = 0, $1166 = 0, $1167 = 0, $1168 = 0, $1169 = 0, $117 = 0, $1170 = 0, $1171 = 0, $1172 = 0, $1173 = 0, $1174 = 0;
+ var $1175 = 0, $1176 = 0, $1177 = 0, $1178 = 0, $1179 = 0, $118 = 0, $1180 = 0, $1181 = 0, $1182 = 0, $1183 = 0, $1184 = 0, $1185 = 0, $1186 = 0, $1187 = 0, $1188 = 0, $1189 = 0, $119 = 0, $1190 = 0, $1191 = 0, $1192 = 0;
+ var $1193 = 0, $1194 = 0, $1195 = 0, $1196 = 0, $1197 = 0, $1198 = 0, $1199 = 0, $12 = 0, $120 = 0, $1200 = 0.0, $1201 = 0.0, $1202 = 0, $1203 = 0, $1204 = 0.0, $1205 = 0.0, $1206 = 0, $1207 = 0, $1208 = 0, $1209 = 0, $121 = 0;
+ var $1210 = 0, $1211 = 0, $1212 = 0, $1213 = 0, $1214 = 0, $1215 = 0, $1216 = 0, $1217 = 0, $1218 = 0, $1219 = 0, $122 = 0, $1220 = 0, $1221 = 0, $1222 = 0, $1223 = 0, $1224 = 0, $1225 = 0, $1226 = 0, $1227 = 0, $1228 = 0;
+ var $1229 = 0, $123 = 0, $1230 = 0, $1231 = 0, $1232 = 0, $1233 = 0, $1234 = 0, $1235 = 0, $1236 = 0, $1237 = 0, $1238 = 0, $1239 = 0, $124 = 0, $1240 = 0, $1241 = 0, $1242 = 0, $1243 = 0, $1244 = 0, $1245 = 0, $1246 = 0;
+ var $1247 = 0, $1248 = 0, $1249 = 0, $125 = 0, $1250 = 0, $1251 = 0, $1252 = 0, $1253 = 0, $1254 = 0, $1255 = 0.0, $1256 = 0, $1257 = 0, $1258 = 0, $1259 = 0, $126 = 0, $1260 = 0, $1261 = 0, $1262 = 0, $1263 = 0, $1264 = 0;
+ var $1265 = 0, $1266 = 0, $1267 = 0, $1268 = 0, $1269 = 0, $127 = 0, $1270 = 0, $1271 = 0, $1272 = 0, $1273 = 0, $1274 = 0, $1275 = 0, $1276 = 0, $1277 = 0, $1278 = 0, $1279 = 0, $128 = 0, $1280 = 0, $1281 = 0, $1282 = 0;
+ var $1283 = 0, $1284 = 0, $1285 = 0, $1286 = 0, $1287 = 0, $1288 = 0, $1289 = 0, $129 = 0, $1290 = 0, $1291 = 0, $1292 = 0, $1293 = 0, $1294 = 0, $1295 = 0, $1296 = 0, $1297 = 0, $1298 = 0, $1299 = 0, $13 = 0, $130 = 0;
+ var $1300 = 0, $1301 = 0, $1302 = 0, $1303 = 0, $1304 = 0, $1305 = 0, $1306 = 0, $1307 = 0, $1308 = 0, $1309 = 0, $131 = 0, $1310 = 0, $1311 = 0, $1312 = 0, $1313 = 0, $1314 = 0, $1315 = 0, $1316 = 0, $1317 = 0, $1318 = 0;
+ var $1319 = 0, $132 = 0, $1320 = 0, $1321 = 0, $1322 = 0, $1323 = 0, $1324 = 0, $1325 = 0, $1326 = 0, $1327 = 0, $1328 = 0, $1329 = 0, $133 = 0, $1330 = 0, $1331 = 0, $1332 = 0, $1333 = 0, $1334 = 0, $1335 = 0, $1336 = 0;
+ var $1337 = 0, $1338 = 0, $1339 = 0, $134 = 0, $1340 = 0, $1341 = 0, $1342 = 0, $1343 = 0, $1344 = 0, $1345 = 0, $1346 = 0, $1347 = 0, $1348 = 0, $1349 = 0, $135 = 0, $1350 = 0, $1351 = 0, $1352 = 0, $1353 = 0, $1354 = 0;
+ var $1355 = 0, $1356 = 0, $1357 = 0, $1358 = 0, $1359 = 0, $136 = 0, $1360 = 0, $1361 = 0, $1362 = 0, $1363 = 0, $1364 = 0, $1365 = 0, $1366 = 0, $1367 = 0, $1368 = 0, $1369 = 0, $137 = 0, $1370 = 0, $1371 = 0, $1372 = 0;
+ var $1373 = 0, $1374 = 0, $1375 = 0, $1376 = 0, $1377 = 0, $1378 = 0, $1379 = 0, $138 = 0, $1380 = 0, $1381 = 0, $1382 = 0, $1383 = 0, $1384 = 0, $1385 = 0, $1386 = 0, $1387 = 0, $1388 = 0, $1389 = 0, $139 = 0, $1390 = 0;
+ var $1391 = 0, $1392 = 0, $1393 = 0, $1394 = 0, $1395 = 0, $1396 = 0, $1397 = 0.0, $1398 = 0, $1399 = 0, $14 = 0, $140 = 0, $1400 = 0, $1401 = 0, $1402 = 0, $1403 = 0, $1404 = 0, $1405 = 0, $1406 = 0, $1407 = 0, $1408 = 0;
+ var $1409 = 0, $141 = 0, $1410 = 0, $1411 = 0, $1412 = 0, $1413 = 0, $1414 = 0, $1415 = 0, $1416 = 0, $1417 = 0, $1418 = 0, $1419 = 0, $142 = 0, $1420 = 0, $1421 = 0, $1422 = 0, $1423 = 0, $1424 = 0, $1425 = 0, $1426 = 0;
+ var $1427 = 0, $1428 = 0, $1429 = 0, $143 = 0, $1430 = 0, $1431 = 0, $1432 = 0, $1433 = 0, $1434 = 0, $1435 = 0, $1436 = 0, $1437 = 0, $1438 = 0, $1439 = 0, $144 = 0, $1440 = 0, $1441 = 0, $1442 = 0, $1443 = 0, $1444 = 0;
+ var $1445 = 0, $1446 = 0, $1447 = 0, $1448 = 0, $1449 = 0, $145 = 0, $1450 = 0, $1451 = 0, $1452 = 0, $1453 = 0, $1454 = 0, $1455 = 0, $1456 = 0, $1457 = 0, $1458 = 0, $1459 = 0, $146 = 0, $1460 = 0, $1461 = 0, $1462 = 0;
+ var $1463 = 0, $1464 = 0, $1465 = 0, $1466 = 0, $1467 = 0, $1468 = 0, $1469 = 0, $147 = 0, $1470 = 0, $1471 = 0, $1472 = 0, $1473 = 0, $1474 = 0, $1475 = 0, $1476 = 0, $1477 = 0, $1478 = 0, $1479 = 0, $148 = 0, $1480 = 0;
+ var $1481 = 0, $1482 = 0, $1483 = 0, $1484 = 0, $1485 = 0, $1486 = 0, $1487 = 0, $1488 = 0, $1489 = 0, $149 = 0, $1490 = 0, $1491 = 0, $1492 = 0, $1493 = 0, $1494 = 0, $1495 = 0, $1496 = 0, $1497 = 0, $1498 = 0, $1499 = 0;
+ var $15 = 0, $150 = 0, $1500 = 0, $1501 = 0, $1502 = 0, $1503 = 0, $1504 = 0, $1505 = 0, $1506 = 0, $1507 = 0.0, $1508 = 0, $1509 = 0, $151 = 0, $1510 = 0, $1511 = 0, $1512 = 0, $1513 = 0, $1514 = 0, $1515 = 0, $1516 = 0;
+ var $1517 = 0, $1518 = 0, $1519 = 0, $152 = 0, $1520 = 0, $1521 = 0, $1522 = 0, $1523 = 0, $1524 = 0, $1525 = 0, $1526 = 0, $1527 = 0, $1528 = 0, $1529 = 0, $153 = 0, $1530 = 0, $1531 = 0, $1532 = 0, $1533 = 0, $1534 = 0;
+ var $1535 = 0, $1536 = 0, $1537 = 0, $1538 = 0, $1539 = 0, $154 = 0, $1540 = 0, $1541 = 0, $1542 = 0, $1543 = 0, $1544 = 0, $1545 = 0, $1546 = 0, $1547 = 0, $1548 = 0, $1549 = 0, $155 = 0, $1550 = 0, $1551 = 0, $1552 = 0;
+ var $1553 = 0, $1554 = 0, $1555 = 0, $1556 = 0, $1557 = 0, $1558 = 0.0, $1559 = 0, $156 = 0, $1560 = 0, $1561 = 0, $1562 = 0.0, $1563 = 0, $1564 = 0, $1565 = 0, $1566 = 0, $1567 = 0, $1568 = 0, $1569 = 0, $157 = 0, $1570 = 0;
+ var $1571 = 0, $1572 = 0, $1573 = 0, $1574 = 0, $1575 = 0, $1576 = 0, $1577 = 0, $1578 = 0, $1579 = 0, $158 = 0, $1580 = 0, $1581 = 0, $1582 = 0, $1583 = 0, $1584 = 0, $1585 = 0, $1586 = 0, $1587 = 0, $1588 = 0, $1589 = 0;
+ var $159 = 0, $1590 = 0, $1591 = 0, $1592 = 0, $1593 = 0, $1594 = 0, $1595 = 0, $1596 = 0, $1597 = 0, $1598 = 0, $1599 = 0, $16 = 0, $160 = 0, $1600 = 0, $1601 = 0, $1602 = 0, $1603 = 0, $1604 = 0, $1605 = 0, $1606 = 0;
+ var $1607 = 0, $1608 = 0, $1609 = 0, $161 = 0, $1610 = 0, $1611 = 0, $1612 = 0, $1613 = 0, $1614 = 0, $1615 = 0, $1616 = 0, $1617 = 0, $1618 = 0, $1619 = 0, $162 = 0, $1620 = 0, $1621 = 0, $1622 = 0, $1623 = 0.0, $1624 = 0;
+ var $1625 = 0.0, $1626 = 0, $1627 = 0.0, $1628 = 0, $1629 = 0, $163 = 0, $1630 = 0, $1631 = 0, $1632 = 0, $1633 = 0, $1634 = 0, $1635 = 0, $1636 = 0, $1637 = 0, $1638 = 0, $1639 = 0.0, $164 = 0, $1640 = 0.0, $1641 = 0, $1642 = 0;
+ var $1643 = 0, $1644 = 0, $1645 = 0, $1646 = 0, $1647 = 0, $1648 = 0, $1649 = 0, $165 = 0, $1650 = 0, $1651 = 0, $1652 = 0, $1653 = 0, $1654 = 0, $1655 = 0, $1656 = 0, $1657 = 0, $1658 = 0, $1659 = 0, $166 = 0, $1660 = 0;
+ var $1661 = 0, $1662 = 0, $1663 = 0, $1664 = 0, $1665 = 0, $1666 = 0, $1667 = 0, $1668 = 0, $1669 = 0, $167 = 0, $1670 = 0, $1671 = 0, $1672 = 0, $1673 = 0, $1674 = 0, $1675 = 0, $1676 = 0, $1677 = 0, $1678 = 0, $1679 = 0;
+ var $168 = 0, $1680 = 0, $1681 = 0, $1682 = 0, $1683 = 0, $1684 = 0, $1685 = 0, $1686 = 0, $1687 = 0, $1688 = 0, $1689 = 0, $169 = 0, $1690 = 0, $1691 = 0, $1692 = 0, $1693 = 0, $1694 = 0.0, $1695 = 0.0, $1696 = 0, $1697 = 0;
+ var $1698 = 0, $1699 = 0, $17 = 0, $170 = 0, $1700 = 0, $1701 = 0, $1702 = 0, $1703 = 0, $1704 = 0, $1705 = 0, $1706 = 0, $1707 = 0, $1708 = 0, $1709 = 0, $171 = 0, $1710 = 0, $1711 = 0.0, $1712 = 0, $1713 = 0, $1714 = 0;
+ var $1715 = 0, $1716 = 0, $1717 = 0, $1718 = 0, $1719 = 0, $172 = 0, $1720 = 0, $1721 = 0, $1722 = 0, $1723 = 0, $1724 = 0.0, $1725 = 0.0, $1726 = 0, $1727 = 0, $1728 = 0, $1729 = 0, $173 = 0, $1730 = 0, $1731 = 0, $1732 = 0;
+ var $1733 = 0, $1734 = 0, $1735 = 0, $1736 = 0, $1737 = 0, $1738 = 0, $1739 = 0, $174 = 0, $1740 = 0, $1741 = 0, $1742 = 0, $1743 = 0, $1744 = 0, $1745 = 0, $1746 = 0, $1747 = 0, $1748 = 0, $1749 = 0, $175 = 0, $1750 = 0;
+ var $1751 = 0, $1752 = 0, $1753 = 0, $1754 = 0, $1755 = 0, $1756 = 0, $1757 = 0, $1758 = 0, $1759 = 0, $176 = 0, $1760 = 0, $1761 = 0, $1762 = 0, $1763 = 0, $1764 = 0, $1765 = 0, $1766 = 0, $1767 = 0, $1768 = 0, $1769 = 0;
+ var $177 = 0, $1770 = 0, $1771 = 0, $1772 = 0, $1773 = 0, $1774 = 0, $1775 = 0, $1776 = 0, $1777 = 0, $1778 = 0, $1779 = 0, $178 = 0, $1780 = 0, $1781 = 0, $1782 = 0, $1783 = 0, $1784 = 0, $1785 = 0, $1786 = 0, $1787 = 0;
+ var $1788 = 0, $1789 = 0, $179 = 0, $1790 = 0, $1791 = 0, $1792 = 0, $1793 = 0, $1794 = 0, $1795 = 0, $1796 = 0, $1797 = 0, $1798 = 0, $1799 = 0, $18 = 0, $180 = 0, $1800 = 0, $1801 = 0, $1802 = 0, $1803 = 0, $1804 = 0;
+ var $1805 = 0, $1806 = 0, $1807 = 0, $1808 = 0, $1809 = 0, $181 = 0, $1810 = 0, $1811 = 0, $1812 = 0, $1813 = 0, $1814 = 0, $1815 = 0, $1816 = 0, $1817 = 0, $1818 = 0, $1819 = 0, $182 = 0, $1820 = 0, $1821 = 0, $1822 = 0;
+ var $1823 = 0, $1824 = 0, $1825 = 0, $1826 = 0, $1827 = 0, $1828 = 0, $1829 = 0, $183 = 0, $1830 = 0, $1831 = 0, $1832 = 0, $1833 = 0, $1834 = 0, $1835 = 0, $1836 = 0, $1837 = 0, $1838 = 0, $1839 = 0, $184 = 0, $1840 = 0;
+ var $1841 = 0, $1842 = 0, $1843 = 0, $1844 = 0, $1845 = 0, $1846 = 0, $1847 = 0, $1848 = 0, $1849 = 0, $185 = 0, $1850 = 0, $1851 = 0, $1852 = 0, $1853 = 0, $1854 = 0, $1855 = 0, $1856 = 0, $1857 = 0, $1858 = 0, $1859 = 0;
+ var $186 = 0, $1860 = 0, $1861 = 0, $1862 = 0, $1863 = 0, $1864 = 0, $1865 = 0, $1866 = 0, $1867 = 0, $1868 = 0, $1869 = 0, $187 = 0, $1870 = 0, $1871 = 0, $1872 = 0, $1873 = 0, $1874 = 0, $1875 = 0, $1876 = 0, $1877 = 0;
+ var $1878 = 0, $1879 = 0, $188 = 0, $1880 = 0, $1881 = 0, $1882 = 0, $1883 = 0, $1884 = 0, $1885 = 0, $1886 = 0, $1887 = 0, $1888 = 0, $1889 = 0, $189 = 0, $1890 = 0, $1891 = 0, $1892 = 0, $1893 = 0, $1894 = 0, $1895 = 0;
+ var $1896 = 0, $1897 = 0, $1898 = 0, $1899 = 0, $19 = 0, $190 = 0, $1900 = 0, $1901 = 0, $1902 = 0, $1903 = 0, $1904 = 0, $1905 = 0, $1906 = 0, $1907 = 0, $1908 = 0, $1909 = 0, $191 = 0, $1910 = 0, $1911 = 0, $1912 = 0;
+ var $1913 = 0, $1914 = 0, $1915 = 0, $1916 = 0, $1917 = 0, $1918 = 0, $1919 = 0, $192 = 0, $1920 = 0, $1921 = 0, $1922 = 0, $1923 = 0, $1924 = 0, $1925 = 0, $1926 = 0, $1927 = 0, $1928 = 0, $1929 = 0, $193 = 0, $1930 = 0;
+ var $1931 = 0, $1932 = 0, $1933 = 0, $1934 = 0, $1935 = 0, $1936 = 0, $1937 = 0, $1938 = 0, $1939 = 0, $194 = 0, $1940 = 0, $1941 = 0, $1942 = 0, $1943 = 0, $1944 = 0, $1945 = 0, $1946 = 0, $1947 = 0, $1948 = 0, $1949 = 0;
+ var $195 = 0, $1950 = 0, $1951 = 0, $1952 = 0, $1953 = 0, $1954 = 0, $1955 = 0, $1956 = 0, $1957 = 0, $1958 = 0, $1959 = 0, $196 = 0, $1960 = 0, $1961 = 0.0, $1962 = 0, $1963 = 0, $1964 = 0, $1965 = 0, $1966 = 0, $1967 = 0;
+ var $1968 = 0, $1969 = 0, $197 = 0, $1970 = 0, $1971 = 0, $1972 = 0, $1973 = 0, $1974 = 0, $1975 = 0, $1976 = 0, $1977 = 0, $1978 = 0, $1979 = 0, $198 = 0, $1980 = 0, $1981 = 0, $1982 = 0, $1983 = 0, $1984 = 0, $1985 = 0;
+ var $1986 = 0, $1987 = 0, $1988 = 0, $1989 = 0, $199 = 0, $1990 = 0, $1991 = 0, $1992 = 0, $1993 = 0, $1994 = 0, $1995 = 0, $1996 = 0, $1997 = 0, $1998 = 0, $1999 = 0, $20 = 0, $200 = 0, $2000 = 0, $2001 = 0, $2002 = 0;
+ var $2003 = 0, $2004 = 0, $2005 = 0, $2006 = 0, $2007 = 0, $2008 = 0, $2009 = 0, $201 = 0, $2010 = 0, $2011 = 0, $2012 = 0, $2013 = 0, $2014 = 0, $2015 = 0, $2016 = 0, $2017 = 0, $2018 = 0, $2019 = 0, $202 = 0, $2020 = 0;
+ var $2021 = 0, $2022 = 0, $2023 = 0, $2024 = 0, $2025 = 0.0, $2026 = 0, $2027 = 0, $2028 = 0, $2029 = 0.0, $203 = 0, $2030 = 0, $2031 = 0, $2032 = 0, $2033 = 0, $2034 = 0, $2035 = 0, $2036 = 0, $2037 = 0.0, $2038 = 0, $2039 = 0;
+ var $204 = 0, $2040 = 0, $2041 = 0, $2042 = 0, $2043 = 0, $2044 = 0, $2045 = 0, $2046 = 0, $2047 = 0, $2048 = 0, $2049 = 0, $205 = 0, $2050 = 0, $2051 = 0, $2052 = 0, $2053 = 0, $2054 = 0, $2055 = 0, $2056 = 0, $2057 = 0;
+ var $2058 = 0, $2059 = 0, $206 = 0, $2060 = 0, $2061 = 0, $2062 = 0, $2063 = 0, $2064 = 0, $2065 = 0, $2066 = 0, $2067 = 0, $2068 = 0, $2069 = 0, $207 = 0, $2070 = 0, $2071 = 0, $2072 = 0, $2073 = 0, $2074 = 0, $2075 = 0;
+ var $2076 = 0, $2077 = 0, $2078 = 0, $2079 = 0, $208 = 0, $2080 = 0, $2081 = 0, $2082 = 0, $2083 = 0, $2084 = 0, $2085 = 0, $2086 = 0, $2087 = 0, $2088 = 0, $2089 = 0, $209 = 0, $2090 = 0, $2091 = 0, $2092 = 0, $2093 = 0;
+ var $2094 = 0, $2095 = 0, $2096 = 0, $2097 = 0, $2098 = 0, $2099 = 0, $21 = 0, $210 = 0, $2100 = 0, $2101 = 0, $2102 = 0, $2103 = 0, $2104 = 0, $2105 = 0, $2106 = 0, $2107 = 0, $2108 = 0, $2109 = 0, $211 = 0, $2110 = 0;
+ var $2111 = 0, $2112 = 0, $2113 = 0, $2114 = 0, $2115 = 0, $2116 = 0, $2117 = 0, $2118 = 0, $2119 = 0, $212 = 0, $2120 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0;
+ var $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0;
+ var $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0;
+ var $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0;
+ var $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0;
+ var $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0;
+ var $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0;
+ var $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0;
+ var $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0;
+ var $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0;
+ var $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0;
+ var $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0;
+ var $421 = 0, $422 = 0.0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0.0, $434 = 0, $435 = 0, $436 = 0, $437 = 0.0, $438 = 0, $439 = 0;
+ var $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0.0, $449 = 0.0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0;
+ var $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0.0, $469 = 0, $47 = 0, $470 = 0, $471 = 0.0, $472 = 0, $473 = 0, $474 = 0.0, $475 = 0;
+ var $476 = 0.0, $477 = 0, $478 = 0, $479 = 0.0, $48 = 0, $480 = 0.0, $481 = 0.0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0.0, $487 = 0.0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0;
+ var $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0;
+ var $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0.0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0;
+ var $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0;
+ var $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0.0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0;
+ var $567 = 0, $568 = 0, $569 = 0, $57 = 0.0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0;
+ var $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $6 = 0, $60 = 0, $600 = 0, $601 = 0;
+ var $602 = 0.0, $603 = 0, $604 = 0, $605 = 0, $606 = 0.0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0.0, $616 = 0.0, $617 = 0, $618 = 0, $619 = 0.0, $62 = 0;
+ var $620 = 0, $621 = 0, $622 = 0, $623 = 0.0, $624 = 0.0, $625 = 0, $626 = 0, $627 = 0.0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0.0, $632 = 0.0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0;
+ var $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0.0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0;
+ var $657 = 0, $658 = 0, $659 = 0, $66 = 0.0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0.0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0;
+ var $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0;
+ var $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0;
+ var $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0;
+ var $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0.0, $739 = 0.0, $74 = 0, $740 = 0, $741 = 0, $742 = 0.0, $743 = 0.0, $744 = 0, $745 = 0, $746 = 0;
+ var $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0;
+ var $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0.0, $775 = 0.0, $776 = 0.0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0.0, $781 = 0.0, $782 = 0.0;
+ var $783 = 0, $784 = 0, $785 = 0.0, $786 = 0, $787 = 0, $788 = 0.0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0.0, $793 = 0, $794 = 0, $795 = 0.0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $8 = 0, $80 = 0;
+ var $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0.0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0;
+ var $819 = 0, $82 = 0.0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0;
+ var $837 = 0, $838 = 0, $839 = 0, $84 = 0.0, $840 = 0, $841 = 0.0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0.0, $850 = 0, $851 = 0, $852 = 0.0, $853 = 0, $854 = 0.0;
+ var $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0.0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0.0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0.0, $870 = 0, $871 = 0, $872 = 0;
+ var $873 = 0, $874 = 0, $875 = 0.0, $876 = 0.0, $877 = 0.0, $878 = 0, $879 = 0.0, $88 = 0.0, $880 = 0.0, $881 = 0.0, $882 = 0, $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0.0, $890 = 0;
+ var $891 = 0, $892 = 0, $893 = 0, $894 = 0.0, $895 = 0.0, $896 = 0.0, $897 = 0.0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0;
+ var $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0.0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0.0, $919 = 0.0, $92 = 0, $920 = 0.0, $921 = 0.0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0.0;
+ var $927 = 0, $928 = 0.0, $929 = 0.0, $93 = 0, $930 = 0.0, $931 = 0.0, $932 = 0.0, $933 = 0.0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0.0, $944 = 0.0;
+ var $945 = 0.0, $946 = 0.0, $947 = 0.0, $948 = 0, $949 = 0.0, $95 = 0, $950 = 0.0, $951 = 0, $952 = 0.0, $953 = 0, $954 = 0.0, $955 = 0.0, $956 = 0.0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0;
+ var $963 = 0, $964 = 0, $965 = 0, $966 = 0, $967 = 0, $968 = 0, $969 = 0, $97 = 0.0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0.0, $976 = 0.0, $977 = 0, $978 = 0, $979 = 0, $98 = 0, $980 = 0.0;
+ var $981 = 0.0, $982 = 0.0, $983 = 0, $984 = 0, $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0.0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0.0, $999 = 0;
+ var $or$cond = 0, $or$cond10 = 0, $or$cond13 = 0, $or$cond16 = 0, $or$cond20 = 0, $or$cond23 = 0, $or$cond26 = 0, $or$cond29 = 0, $or$cond3 = 0, $or$cond35 = 0, $or$cond39 = 0, $or$cond5 = 0, $or$cond5$not = 0, $or$cond8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 448|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(448|0);
+ $17 = sp + 352|0;
+ $35 = sp + 280|0;
+ $37 = sp + 272|0;
+ $38 = sp + 268|0;
+ $39 = sp + 264|0;
+ $45 = sp + 240|0;
+ $52 = sp + 212|0;
+ $53 = sp + 208|0;
+ $55 = sp + 200|0;
+ $76 = sp + 116|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $22 = 0;
+ $23 = 0;
+ $106 = $7;
+ $107 = ((($106)) + 4|0);
+ $108 = HEAP32[$107>>2]|0;
+ $24 = $108;
+ $109 = $7;
+ $110 = ((($109)) + 8|0);
+ $111 = HEAP32[$110>>2]|0;
+ $25 = $111;
+ HEAP32[$37>>2] = 15;
+ HEAPF32[$38>>2] = 0.0;
+ HEAP32[$39>>2] = 0;
+ $47 = 0;
+ $50 = 0;
+ $51 = 0;
+ HEAP32[$52>>2] = 0;
+ $54 = 0;
+ $64 = 0;
+ $65 = 0.0;
+ $66 = 0.0;
+ $67 = 0.0;
+ $68 = 510000;
+ $112 = $7;
+ $113 = HEAP32[$112>>2]|0;
+ $58 = $113;
+ $114 = $58;
+ $115 = ((($114)) + 8|0);
+ $116 = HEAP32[$115>>2]|0;
+ $59 = $116;
+ $117 = $58;
+ $118 = ((($117)) + 4|0);
+ $119 = HEAP32[$118>>2]|0;
+ $60 = $119;
+ $120 = $58;
+ $121 = ((($120)) + 32|0);
+ $122 = HEAP32[$121>>2]|0;
+ $61 = $122;
+ $123 = $7;
+ $124 = ((($123)) + 32|0);
+ $125 = HEAP32[$124>>2]|0;
+ $31 = $125;
+ $126 = $7;
+ $127 = ((($126)) + 36|0);
+ $128 = HEAP32[$127>>2]|0;
+ $32 = $128;
+ HEAPF32[$53>>2] = 0.0;
+ $129 = $11;
+ $130 = ($129|0)<(2);
+ $131 = $8;
+ $132 = ($131|0)==(0|0);
+ $or$cond = $130 | $132;
+ if ($or$cond) {
+ $6 = -1;
+ $2119 = $6;
+ STACKTOP = sp;return ($2119|0);
+ }
+ $133 = $7;
+ $134 = ((($133)) + 28|0);
+ $135 = HEAP32[$134>>2]|0;
+ $136 = $9;
+ $137 = Math_imul($136, $135)|0;
+ $9 = $137;
+ $26 = 0;
+ while(1) {
+ $138 = $26;
+ $139 = $58;
+ $140 = ((($139)) + 36|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = ($138|0)<=($141|0);
+ if (!($142)) {
+ break;
+ }
+ $143 = $58;
+ $144 = ((($143)) + 44|0);
+ $145 = HEAP32[$144>>2]|0;
+ $146 = $26;
+ $147 = $145 << $146;
+ $148 = $9;
+ $149 = ($147|0)==($148|0);
+ if ($149) {
+ break;
+ }
+ $150 = $26;
+ $151 = (($150) + 1)|0;
+ $26 = $151;
+ }
+ $152 = $26;
+ $153 = $58;
+ $154 = ((($153)) + 36|0);
+ $155 = HEAP32[$154>>2]|0;
+ $156 = ($152|0)>($155|0);
+ if ($156) {
+ $6 = -1;
+ $2119 = $6;
+ STACKTOP = sp;return ($2119|0);
+ }
+ $157 = $26;
+ $158 = 1 << $157;
+ $27 = $158;
+ $159 = $27;
+ $160 = $58;
+ $161 = ((($160)) + 44|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = Math_imul($159, $162)|0;
+ $15 = $163;
+ $164 = $7;
+ $165 = ((($164)) + 200|0);
+ $166 = $24;
+ $167 = $60;
+ $168 = Math_imul($166, $167)|0;
+ $169 = (($165) + ($168<<2)|0);
+ $18 = $169;
+ $170 = $7;
+ $171 = ((($170)) + 200|0);
+ $172 = $24;
+ $173 = $60;
+ $174 = (($173) + 1024)|0;
+ $175 = Math_imul($172, $174)|0;
+ $176 = (($171) + ($175<<2)|0);
+ $19 = $176;
+ $177 = $19;
+ $178 = $24;
+ $179 = $59;
+ $180 = Math_imul($178, $179)|0;
+ $181 = (($177) + ($180<<2)|0);
+ $20 = $181;
+ $182 = $20;
+ $183 = $24;
+ $184 = $59;
+ $185 = Math_imul($183, $184)|0;
+ $186 = (($182) + ($185<<2)|0);
+ $21 = $186;
+ $187 = $12;
+ $188 = ($187|0)==(0|0);
+ if ($188) {
+ $46 = 1;
+ $29 = 0;
+ } else {
+ $189 = $12;
+ $190 = (_ec_tell_50($189)|0);
+ $46 = $190;
+ $191 = $46;
+ $192 = (($191) + 4)|0;
+ $193 = $192 >> 3;
+ $29 = $193;
+ }
+ $194 = $11;
+ $195 = ($194|0)<(1275);
+ $196 = $11;
+ $197 = $195 ? $196 : 1275;
+ $11 = $197;
+ $198 = $11;
+ $199 = $29;
+ $200 = (($198) - ($199))|0;
+ $30 = $200;
+ $201 = $7;
+ $202 = ((($201)) + 44|0);
+ $203 = HEAP32[$202>>2]|0;
+ $204 = ($203|0)!=(0);
+ if ($204) {
+ $205 = $7;
+ $206 = ((($205)) + 40|0);
+ $207 = HEAP32[$206>>2]|0;
+ $208 = ($207|0)!=(-1);
+ if ($208) {
+ $209 = $58;
+ $210 = HEAP32[$209>>2]|0;
+ $211 = $210 >> 3;
+ $69 = $211;
+ $212 = $7;
+ $213 = ((($212)) + 40|0);
+ $214 = HEAP32[$213>>2]|0;
+ $215 = $9;
+ $216 = Math_imul($214, $215)|0;
+ $217 = $69;
+ $218 = $217 >> 1;
+ $219 = (($216) + ($218))|0;
+ $220 = $69;
+ $221 = (($219|0) / ($220|0))&-1;
+ $42 = $221;
+ $222 = $42;
+ $223 = $222 >> 6;
+ $40 = $223;
+ } else {
+ label = 15;
+ }
+ } else {
+ label = 15;
+ }
+ if ((label|0) == 15) {
+ $42 = 0;
+ $224 = $7;
+ $225 = ((($224)) + 40|0);
+ $226 = HEAP32[$225>>2]|0;
+ $227 = $9;
+ $228 = Math_imul($226, $227)|0;
+ $70 = $228;
+ $229 = $46;
+ $230 = ($229|0)>(1);
+ if ($230) {
+ $231 = $46;
+ $232 = $70;
+ $233 = (($232) + ($231))|0;
+ $70 = $233;
+ }
+ $234 = $7;
+ $235 = ((($234)) + 40|0);
+ $236 = HEAP32[$235>>2]|0;
+ $237 = ($236|0)!=(-1);
+ if ($237) {
+ $238 = $11;
+ $239 = $70;
+ $240 = $58;
+ $241 = HEAP32[$240>>2]|0;
+ $242 = $241<<2;
+ $243 = (($239) + ($242))|0;
+ $244 = $58;
+ $245 = HEAP32[$244>>2]|0;
+ $246 = $245<<3;
+ $247 = (($243|0) / ($246|0))&-1;
+ $248 = $7;
+ $249 = ((($248)) + 48|0);
+ $250 = HEAP32[$249>>2]|0;
+ $251 = ($250|0)!=(0);
+ $252 = $251 ^ 1;
+ $253 = $252 ^ 1;
+ $254 = $253&1;
+ $255 = (($247) - ($254))|0;
+ $256 = ($238|0)<($255|0);
+ if ($256) {
+ $257 = $11;
+ $276 = $257;
+ } else {
+ $258 = $70;
+ $259 = $58;
+ $260 = HEAP32[$259>>2]|0;
+ $261 = $260<<2;
+ $262 = (($258) + ($261))|0;
+ $263 = $58;
+ $264 = HEAP32[$263>>2]|0;
+ $265 = $264<<3;
+ $266 = (($262|0) / ($265|0))&-1;
+ $267 = $7;
+ $268 = ((($267)) + 48|0);
+ $269 = HEAP32[$268>>2]|0;
+ $270 = ($269|0)!=(0);
+ $271 = $270 ^ 1;
+ $272 = $271 ^ 1;
+ $273 = $272&1;
+ $274 = (($266) - ($273))|0;
+ $276 = $274;
+ }
+ $275 = (2)>($276|0);
+ do {
+ if ($275) {
+ $314 = 2;
+ } else {
+ $277 = $11;
+ $278 = $70;
+ $279 = $58;
+ $280 = HEAP32[$279>>2]|0;
+ $281 = $280<<2;
+ $282 = (($278) + ($281))|0;
+ $283 = $58;
+ $284 = HEAP32[$283>>2]|0;
+ $285 = $284<<3;
+ $286 = (($282|0) / ($285|0))&-1;
+ $287 = $7;
+ $288 = ((($287)) + 48|0);
+ $289 = HEAP32[$288>>2]|0;
+ $290 = ($289|0)!=(0);
+ $291 = $290 ^ 1;
+ $292 = $291 ^ 1;
+ $293 = $292&1;
+ $294 = (($286) - ($293))|0;
+ $295 = ($277|0)<($294|0);
+ if ($295) {
+ $296 = $11;
+ $314 = $296;
break;
} else {
- $401 = $q1_Q0;
- $shl582 = $401 << 10;
- $add583 = (($shl582) + 80)|0;
- $q1_Q10 = $add583;
- $402 = $q1_Q10;
- $403 = $offset_Q10$addr;
- $add584 = (($402) + ($403))|0;
- $q1_Q10 = $add584;
- $404 = $q1_Q10;
- $add585 = (($404) + 1024)|0;
- $q2_Q10 = $add585;
- $405 = $q1_Q10;
- $sub586 = (0 - ($405))|0;
- $conv587 = $sub586&65535;
- $conv588 = $conv587 << 16 >> 16;
- $406 = $Lambda_Q10$addr;
- $conv589 = $406&65535;
- $conv590 = $conv589 << 16 >> 16;
- $mul591 = Math_imul($conv588, $conv590)|0;
- $rd1_Q10 = $mul591;
- $407 = $q2_Q10;
- $sub592 = (0 - ($407))|0;
- $conv593 = $sub592&65535;
- $conv594 = $conv593 << 16 >> 16;
- $408 = $Lambda_Q10$addr;
- $conv595 = $408&65535;
- $conv596 = $conv595 << 16 >> 16;
- $mul597 = Math_imul($conv594, $conv596)|0;
- $rd2_Q10 = $mul597;
+ $297 = $70;
+ $298 = $58;
+ $299 = HEAP32[$298>>2]|0;
+ $300 = $299<<2;
+ $301 = (($297) + ($300))|0;
+ $302 = $58;
+ $303 = HEAP32[$302>>2]|0;
+ $304 = $303<<3;
+ $305 = (($301|0) / ($304|0))&-1;
+ $306 = $7;
+ $307 = ((($306)) + 48|0);
+ $308 = HEAP32[$307>>2]|0;
+ $309 = ($308|0)!=(0);
+ $310 = $309 ^ 1;
+ $311 = $310 ^ 1;
+ $312 = $311&1;
+ $313 = (($305) - ($312))|0;
+ $314 = $313;
break;
}
}
} while(0);
- $409 = $r_Q10;
- $410 = $q1_Q10;
- $sub601 = (($409) - ($410))|0;
- $rr_Q10 = $sub601;
- $411 = $rd1_Q10;
- $412 = $rr_Q10;
- $conv602 = $412&65535;
- $conv603 = $conv602 << 16 >> 16;
- $413 = $rr_Q10;
- $conv604 = $413&65535;
- $conv605 = $conv604 << 16 >> 16;
- $mul606 = Math_imul($conv603, $conv605)|0;
- $add607 = (($411) + ($mul606))|0;
- $shr608 = $add607 >> 10;
- $rd1_Q10 = $shr608;
- $414 = $r_Q10;
- $415 = $q2_Q10;
- $sub609 = (($414) - ($415))|0;
- $rr_Q10 = $sub609;
- $416 = $rd2_Q10;
- $417 = $rr_Q10;
- $conv610 = $417&65535;
- $conv611 = $conv610 << 16 >> 16;
- $418 = $rr_Q10;
- $conv612 = $418&65535;
- $conv613 = $conv612 << 16 >> 16;
- $mul614 = Math_imul($conv611, $conv613)|0;
- $add615 = (($416) + ($mul614))|0;
- $shr616 = $add615 >> 10;
- $rd2_Q10 = $shr616;
- $419 = $rd1_Q10;
- $420 = $rd2_Q10;
- $cmp617 = ($419|0)<($420|0);
- $421 = $psDD;
- $RD_Q10 = ((($421)) + 1164|0);
- $422 = HEAP32[$RD_Q10>>2]|0;
- if ($cmp617) {
- $423 = $rd1_Q10;
- $add620 = (($422) + ($423))|0;
- $424 = $psSS;
- $RD_Q10622 = ((($424)) + 4|0);
- HEAP32[$RD_Q10622>>2] = $add620;
- $425 = $psDD;
- $RD_Q10623 = ((($425)) + 1164|0);
- $426 = HEAP32[$RD_Q10623>>2]|0;
- $427 = $rd2_Q10;
- $add624 = (($426) + ($427))|0;
- $428 = $psSS;
- $arrayidx625 = ((($428)) + 24|0);
- $RD_Q10626 = ((($arrayidx625)) + 4|0);
- HEAP32[$RD_Q10626>>2] = $add624;
- $429 = $q1_Q10;
- $430 = $psSS;
- HEAP32[$430>>2] = $429;
- $431 = $q2_Q10;
- $432 = $psSS;
- $$sink = $431;$$sink1 = $432;
- } else {
- $433 = $rd2_Q10;
- $add632 = (($422) + ($433))|0;
- $434 = $psSS;
- $RD_Q10634 = ((($434)) + 4|0);
- HEAP32[$RD_Q10634>>2] = $add632;
- $435 = $psDD;
- $RD_Q10635 = ((($435)) + 1164|0);
- $436 = HEAP32[$RD_Q10635>>2]|0;
- $437 = $rd1_Q10;
- $add636 = (($436) + ($437))|0;
- $438 = $psSS;
- $arrayidx637 = ((($438)) + 24|0);
- $RD_Q10638 = ((($arrayidx637)) + 4|0);
- HEAP32[$RD_Q10638>>2] = $add636;
- $439 = $q2_Q10;
- $440 = $psSS;
- HEAP32[$440>>2] = $439;
- $441 = $q1_Q10;
- $442 = $psSS;
- $$sink = $441;$$sink1 = $442;
- }
- $arrayidx641 = ((($$sink1)) + 24|0);
- HEAP32[$arrayidx641>>2] = $$sink;
- $443 = $psSS;
- $444 = HEAP32[$443>>2]|0;
- $shl646 = $444 << 4;
- $exc_Q14 = $shl646;
- $445 = $psDD;
- $Seed647 = ((($445)) + 1156|0);
- $446 = HEAP32[$Seed647>>2]|0;
- $cmp648 = ($446|0)<(0);
- if ($cmp648) {
- $447 = $exc_Q14;
- $sub651 = (0 - ($447))|0;
- $exc_Q14 = $sub651;
- }
- $448 = $exc_Q14;
- $449 = $LTP_pred_Q14;
- $add653 = (($448) + ($449))|0;
- $LPC_exc_Q14 = $add653;
- $450 = $LPC_exc_Q14;
- $451 = $LPC_pred_Q14;
- $add654 = (($450) + ($451))|0;
- $xq_Q14 = $add654;
- $452 = $xq_Q14;
- $453 = $n_AR_Q14;
- $sub655 = (($452) - ($453))|0;
- $sLF_AR_shp_Q14 = $sub655;
- $454 = $sLF_AR_shp_Q14;
- $455 = $n_LF_Q14;
- $sub656 = (($454) - ($455))|0;
- $456 = $psSS;
- $sLTP_shp_Q14658 = ((($456)) + 16|0);
- HEAP32[$sLTP_shp_Q14658>>2] = $sub656;
- $457 = $sLF_AR_shp_Q14;
- $458 = $psSS;
- $LF_AR_Q14660 = ((($458)) + 12|0);
- HEAP32[$LF_AR_Q14660>>2] = $457;
- $459 = $LPC_exc_Q14;
- $460 = $psSS;
- $LPC_exc_Q14662 = ((($460)) + 20|0);
- HEAP32[$LPC_exc_Q14662>>2] = $459;
- $461 = $xq_Q14;
- $462 = $psSS;
- $xq_Q14664 = ((($462)) + 8|0);
- HEAP32[$xq_Q14664>>2] = $461;
- $463 = $psSS;
- $arrayidx665 = ((($463)) + 24|0);
- $464 = HEAP32[$arrayidx665>>2]|0;
- $shl667 = $464 << 4;
- $exc_Q14 = $shl667;
- $465 = $psDD;
- $Seed668 = ((($465)) + 1156|0);
- $466 = HEAP32[$Seed668>>2]|0;
- $cmp669 = ($466|0)<(0);
- if ($cmp669) {
- $467 = $exc_Q14;
- $sub672 = (0 - ($467))|0;
- $exc_Q14 = $sub672;
- }
- $468 = $exc_Q14;
- $469 = $LTP_pred_Q14;
- $add674 = (($468) + ($469))|0;
- $LPC_exc_Q14 = $add674;
- $470 = $LPC_exc_Q14;
- $471 = $LPC_pred_Q14;
- $add675 = (($470) + ($471))|0;
- $xq_Q14 = $add675;
- $472 = $xq_Q14;
- $473 = $n_AR_Q14;
- $sub676 = (($472) - ($473))|0;
- $sLF_AR_shp_Q14 = $sub676;
- $474 = $sLF_AR_shp_Q14;
- $475 = $n_LF_Q14;
- $sub677 = (($474) - ($475))|0;
- $476 = $psSS;
- $arrayidx678 = ((($476)) + 24|0);
- $sLTP_shp_Q14679 = ((($arrayidx678)) + 16|0);
- HEAP32[$sLTP_shp_Q14679>>2] = $sub677;
- $477 = $sLF_AR_shp_Q14;
- $478 = $psSS;
- $arrayidx680 = ((($478)) + 24|0);
- $LF_AR_Q14681 = ((($arrayidx680)) + 12|0);
- HEAP32[$LF_AR_Q14681>>2] = $477;
- $479 = $LPC_exc_Q14;
- $480 = $psSS;
- $arrayidx682 = ((($480)) + 24|0);
- $LPC_exc_Q14683 = ((($arrayidx682)) + 20|0);
- HEAP32[$LPC_exc_Q14683>>2] = $479;
- $481 = $xq_Q14;
- $482 = $psSS;
- $arrayidx684 = ((($482)) + 24|0);
- $xq_Q14685 = ((($arrayidx684)) + 8|0);
- HEAP32[$xq_Q14685>>2] = $481;
- $483 = $k;
- $inc = (($483) + 1)|0;
- $k = $inc;
+ $11 = $314;
}
- $484 = $smpl_buf_idx$addr;
- $485 = HEAP32[$484>>2]|0;
- $sub688 = (($485) - 1)|0;
- $and689 = $sub688 & 31;
- $486 = $smpl_buf_idx$addr;
- HEAP32[$486>>2] = $and689;
- $487 = $smpl_buf_idx$addr;
- $488 = HEAP32[$487>>2]|0;
- $489 = $decisionDelay$addr;
- $add690 = (($488) + ($489))|0;
- $and691 = $add690 & 31;
- $last_smple_idx = $and691;
- $RD_Q10694 = ((($vla)) + 4|0);
- $490 = HEAP32[$RD_Q10694>>2]|0;
- $RDmin_Q10 = $490;
- $Winner_ind = 0;
- $k = 1;
- while(1) {
- $491 = $k;
- $492 = $nStatesDelayedDecision$addr;
- $cmp696 = ($491|0)<($492|0);
- if (!($cmp696)) {
- break;
- }
- $493 = $k;
- $arrayidx699 = (($vla) + (($493*48)|0)|0);
- $RD_Q10701 = ((($arrayidx699)) + 4|0);
- $494 = HEAP32[$RD_Q10701>>2]|0;
- $495 = $RDmin_Q10;
- $cmp702 = ($494|0)<($495|0);
- if ($cmp702) {
- $496 = $k;
- $arrayidx705 = (($vla) + (($496*48)|0)|0);
- $RD_Q10707 = ((($arrayidx705)) + 4|0);
- $497 = HEAP32[$RD_Q10707>>2]|0;
- $RDmin_Q10 = $497;
- $498 = $k;
- $Winner_ind = $498;
- }
- $499 = $k;
- $inc710 = (($499) + 1)|0;
- $k = $inc710;
- }
- $500 = $psDelDec$addr;
- $501 = $Winner_ind;
- $arrayidx712 = (($500) + (($501*1168)|0)|0);
- $RandState = ((($arrayidx712)) + 448|0);
- $502 = $last_smple_idx;
- $arrayidx713 = (($RandState) + ($502<<2)|0);
- $503 = HEAP32[$arrayidx713>>2]|0;
- $Winner_rand_state = $503;
- $k = 0;
- while(1) {
- $504 = $k;
- $505 = $nStatesDelayedDecision$addr;
- $cmp715 = ($504|0)<($505|0);
- if (!($cmp715)) {
- break;
- }
- $506 = $psDelDec$addr;
- $507 = $k;
- $arrayidx718 = (($506) + (($507*1168)|0)|0);
- $RandState719 = ((($arrayidx718)) + 448|0);
- $508 = $last_smple_idx;
- $arrayidx720 = (($RandState719) + ($508<<2)|0);
- $509 = HEAP32[$arrayidx720>>2]|0;
- $510 = $Winner_rand_state;
- $cmp721 = ($509|0)!=($510|0);
- if ($cmp721) {
- $511 = $k;
- $arrayidx724 = (($vla) + (($511*48)|0)|0);
- $RD_Q10726 = ((($arrayidx724)) + 4|0);
- $512 = HEAP32[$RD_Q10726>>2]|0;
- $add727 = (($512) + 134217727)|0;
- $513 = $k;
- $arrayidx728 = (($vla) + (($513*48)|0)|0);
- $RD_Q10730 = ((($arrayidx728)) + 4|0);
- HEAP32[$RD_Q10730>>2] = $add727;
- $514 = $k;
- $arrayidx731 = (($vla) + (($514*48)|0)|0);
- $arrayidx732 = ((($arrayidx731)) + 24|0);
- $RD_Q10733 = ((($arrayidx732)) + 4|0);
- $515 = HEAP32[$RD_Q10733>>2]|0;
- $add734 = (($515) + 134217727)|0;
- $516 = $k;
- $arrayidx735 = (($vla) + (($516*48)|0)|0);
- $arrayidx736 = ((($arrayidx735)) + 24|0);
- $RD_Q10737 = ((($arrayidx736)) + 4|0);
- HEAP32[$RD_Q10737>>2] = $add734;
- }
- $517 = $k;
- $inc740 = (($517) + 1)|0;
- $k = $inc740;
- }
- $RD_Q10744 = ((($vla)) + 4|0);
- $518 = HEAP32[$RD_Q10744>>2]|0;
- $RDmax_Q10 = $518;
- $arrayidx746 = ((($vla)) + 24|0);
- $RD_Q10747 = ((($arrayidx746)) + 4|0);
- $519 = HEAP32[$RD_Q10747>>2]|0;
- $RDmin_Q10 = $519;
- $RDmax_ind = 0;
- $RDmin_ind = 0;
- $k = 1;
- while(1) {
- $520 = $k;
- $521 = $nStatesDelayedDecision$addr;
- $cmp749 = ($520|0)<($521|0);
- if (!($cmp749)) {
- break;
- }
- $522 = $k;
- $arrayidx752 = (($vla) + (($522*48)|0)|0);
- $RD_Q10754 = ((($arrayidx752)) + 4|0);
- $523 = HEAP32[$RD_Q10754>>2]|0;
- $524 = $RDmax_Q10;
- $cmp755 = ($523|0)>($524|0);
- if ($cmp755) {
- $525 = $k;
- $arrayidx758 = (($vla) + (($525*48)|0)|0);
- $RD_Q10760 = ((($arrayidx758)) + 4|0);
- $526 = HEAP32[$RD_Q10760>>2]|0;
- $RDmax_Q10 = $526;
- $527 = $k;
- $RDmax_ind = $527;
- }
- $528 = $k;
- $arrayidx762 = (($vla) + (($528*48)|0)|0);
- $arrayidx763 = ((($arrayidx762)) + 24|0);
- $RD_Q10764 = ((($arrayidx763)) + 4|0);
- $529 = HEAP32[$RD_Q10764>>2]|0;
- $530 = $RDmin_Q10;
- $cmp765 = ($529|0)<($530|0);
- if ($cmp765) {
- $531 = $k;
- $arrayidx768 = (($vla) + (($531*48)|0)|0);
- $arrayidx769 = ((($arrayidx768)) + 24|0);
- $RD_Q10770 = ((($arrayidx769)) + 4|0);
- $532 = HEAP32[$RD_Q10770>>2]|0;
- $RDmin_Q10 = $532;
- $533 = $k;
- $RDmin_ind = $533;
- }
- $534 = $k;
- $inc773 = (($534) + 1)|0;
- $k = $inc773;
- }
- $535 = $RDmin_Q10;
- $536 = $RDmax_Q10;
- $cmp775 = ($535|0)<($536|0);
- if ($cmp775) {
- $537 = $psDelDec$addr;
- $538 = $RDmax_ind;
- $arrayidx778 = (($537) + (($538*1168)|0)|0);
- $539 = $i;
- $add$ptr = (($arrayidx778) + ($539<<2)|0);
- $540 = $psDelDec$addr;
- $541 = $RDmin_ind;
- $arrayidx779 = (($540) + (($541*1168)|0)|0);
- $542 = $i;
- $add$ptr780 = (($arrayidx779) + ($542<<2)|0);
- $543 = $i;
- $mul781 = $543<<2;
- $sub782 = (1168 - ($mul781))|0;
- _memcpy(($add$ptr|0),($add$ptr780|0),($sub782|0))|0;
- $544 = $RDmax_ind;
- $arrayidx783 = (($vla) + (($544*48)|0)|0);
- $545 = $RDmin_ind;
- $arrayidx785 = (($vla) + (($545*48)|0)|0);
- $arrayidx786 = ((($arrayidx785)) + 24|0);
- ;HEAP32[$arrayidx783>>2]=HEAP32[$arrayidx786>>2]|0;HEAP32[$arrayidx783+4>>2]=HEAP32[$arrayidx786+4>>2]|0;HEAP32[$arrayidx783+8>>2]=HEAP32[$arrayidx786+8>>2]|0;HEAP32[$arrayidx783+12>>2]=HEAP32[$arrayidx786+12>>2]|0;HEAP32[$arrayidx783+16>>2]=HEAP32[$arrayidx786+16>>2]|0;HEAP32[$arrayidx783+20>>2]=HEAP32[$arrayidx786+20>>2]|0;
- }
- $546 = $psDelDec$addr;
- $547 = $Winner_ind;
- $arrayidx788 = (($546) + (($547*1168)|0)|0);
- $psDD = $arrayidx788;
- $548 = $subfr$addr;
- $cmp789 = ($548|0)>(0);
- if ($cmp789) {
- label = 56;
- } else {
- $549 = $i;
- $550 = $decisionDelay$addr;
- $cmp791 = ($549|0)>=($550|0);
- if ($cmp791) {
- label = 56;
- }
- }
- if ((label|0) == 56) {
- label = 0;
- $551 = $psDD;
- $Q_Q10794 = ((($551)) + 576|0);
- $552 = $last_smple_idx;
- $arrayidx795 = (($Q_Q10794) + ($552<<2)|0);
- $553 = HEAP32[$arrayidx795>>2]|0;
- $shr796 = $553 >> 9;
- $add797 = (($shr796) + 1)|0;
- $shr798 = $add797 >> 1;
- $conv799 = $shr798&255;
- $554 = $pulses$addr;
- $555 = $i;
- $556 = $decisionDelay$addr;
- $sub800 = (($555) - ($556))|0;
- $arrayidx801 = (($554) + ($sub800)|0);
- HEAP8[$arrayidx801>>0] = $conv799;
- $557 = $psDD;
- $Xq_Q14 = ((($557)) + 704|0);
- $558 = $last_smple_idx;
- $arrayidx802 = (($Xq_Q14) + ($558<<2)|0);
- $559 = HEAP32[$arrayidx802>>2]|0;
- $shr803 = $559 >> 16;
- $560 = $delayedGain_Q10$addr;
- $561 = $last_smple_idx;
- $arrayidx804 = (($560) + ($561<<2)|0);
- $562 = HEAP32[$arrayidx804>>2]|0;
- $conv805 = $562&65535;
- $conv806 = $conv805 << 16 >> 16;
- $mul807 = Math_imul($shr803, $conv806)|0;
- $563 = $psDD;
- $Xq_Q14808 = ((($563)) + 704|0);
- $564 = $last_smple_idx;
- $arrayidx809 = (($Xq_Q14808) + ($564<<2)|0);
- $565 = HEAP32[$arrayidx809>>2]|0;
- $and810 = $565 & 65535;
- $566 = $delayedGain_Q10$addr;
- $567 = $last_smple_idx;
- $arrayidx811 = (($566) + ($567<<2)|0);
- $568 = HEAP32[$arrayidx811>>2]|0;
- $conv812 = $568&65535;
- $conv813 = $conv812 << 16 >> 16;
- $mul814 = Math_imul($and810, $conv813)|0;
- $shr815 = $mul814 >> 16;
- $add816 = (($mul807) + ($shr815))|0;
- $569 = $psDD;
- $Xq_Q14817 = ((($569)) + 704|0);
- $570 = $last_smple_idx;
- $arrayidx818 = (($Xq_Q14817) + ($570<<2)|0);
- $571 = HEAP32[$arrayidx818>>2]|0;
- $572 = $delayedGain_Q10$addr;
- $573 = $last_smple_idx;
- $arrayidx819 = (($572) + ($573<<2)|0);
- $574 = HEAP32[$arrayidx819>>2]|0;
- $shr820 = $574 >> 15;
- $add821 = (($shr820) + 1)|0;
- $shr822 = $add821 >> 1;
- $mul823 = Math_imul($571, $shr822)|0;
- $add824 = (($add816) + ($mul823))|0;
- $shr825 = $add824 >> 7;
- $add826 = (($shr825) + 1)|0;
- $shr827 = $add826 >> 1;
- $cmp828 = ($shr827|0)>(32767);
- if ($cmp828) {
- $cond893 = 32767;
- } else {
- $575 = $psDD;
- $Xq_Q14832 = ((($575)) + 704|0);
- $576 = $last_smple_idx;
- $arrayidx833 = (($Xq_Q14832) + ($576<<2)|0);
- $577 = HEAP32[$arrayidx833>>2]|0;
- $shr834 = $577 >> 16;
- $578 = $delayedGain_Q10$addr;
- $579 = $last_smple_idx;
- $arrayidx835 = (($578) + ($579<<2)|0);
- $580 = HEAP32[$arrayidx835>>2]|0;
- $conv836 = $580&65535;
- $conv837 = $conv836 << 16 >> 16;
- $mul838 = Math_imul($shr834, $conv837)|0;
- $581 = $psDD;
- $Xq_Q14839 = ((($581)) + 704|0);
- $582 = $last_smple_idx;
- $arrayidx840 = (($Xq_Q14839) + ($582<<2)|0);
- $583 = HEAP32[$arrayidx840>>2]|0;
- $and841 = $583 & 65535;
- $584 = $delayedGain_Q10$addr;
- $585 = $last_smple_idx;
- $arrayidx842 = (($584) + ($585<<2)|0);
- $586 = HEAP32[$arrayidx842>>2]|0;
- $conv843 = $586&65535;
- $conv844 = $conv843 << 16 >> 16;
- $mul845 = Math_imul($and841, $conv844)|0;
- $shr846 = $mul845 >> 16;
- $add847 = (($mul838) + ($shr846))|0;
- $587 = $psDD;
- $Xq_Q14848 = ((($587)) + 704|0);
- $588 = $last_smple_idx;
- $arrayidx849 = (($Xq_Q14848) + ($588<<2)|0);
- $589 = HEAP32[$arrayidx849>>2]|0;
- $590 = $delayedGain_Q10$addr;
- $591 = $last_smple_idx;
- $arrayidx850 = (($590) + ($591<<2)|0);
- $592 = HEAP32[$arrayidx850>>2]|0;
- $shr851 = $592 >> 15;
- $add852 = (($shr851) + 1)|0;
- $shr853 = $add852 >> 1;
- $mul854 = Math_imul($589, $shr853)|0;
- $add855 = (($add847) + ($mul854))|0;
- $shr856 = $add855 >> 7;
- $add857 = (($shr856) + 1)|0;
- $shr858 = $add857 >> 1;
- $cmp859 = ($shr858|0)<(-32768);
- if ($cmp859) {
- $cond893 = -32768;
- } else {
- $593 = $psDD;
- $Xq_Q14863 = ((($593)) + 704|0);
- $594 = $last_smple_idx;
- $arrayidx864 = (($Xq_Q14863) + ($594<<2)|0);
- $595 = HEAP32[$arrayidx864>>2]|0;
- $shr865 = $595 >> 16;
- $596 = $delayedGain_Q10$addr;
- $597 = $last_smple_idx;
- $arrayidx866 = (($596) + ($597<<2)|0);
- $598 = HEAP32[$arrayidx866>>2]|0;
- $conv867 = $598&65535;
- $conv868 = $conv867 << 16 >> 16;
- $mul869 = Math_imul($shr865, $conv868)|0;
- $599 = $psDD;
- $Xq_Q14870 = ((($599)) + 704|0);
- $600 = $last_smple_idx;
- $arrayidx871 = (($Xq_Q14870) + ($600<<2)|0);
- $601 = HEAP32[$arrayidx871>>2]|0;
- $and872 = $601 & 65535;
- $602 = $delayedGain_Q10$addr;
- $603 = $last_smple_idx;
- $arrayidx873 = (($602) + ($603<<2)|0);
- $604 = HEAP32[$arrayidx873>>2]|0;
- $conv874 = $604&65535;
- $conv875 = $conv874 << 16 >> 16;
- $mul876 = Math_imul($and872, $conv875)|0;
- $shr877 = $mul876 >> 16;
- $add878 = (($mul869) + ($shr877))|0;
- $605 = $psDD;
- $Xq_Q14879 = ((($605)) + 704|0);
- $606 = $last_smple_idx;
- $arrayidx880 = (($Xq_Q14879) + ($606<<2)|0);
- $607 = HEAP32[$arrayidx880>>2]|0;
- $608 = $delayedGain_Q10$addr;
- $609 = $last_smple_idx;
- $arrayidx881 = (($608) + ($609<<2)|0);
- $610 = HEAP32[$arrayidx881>>2]|0;
- $shr882 = $610 >> 15;
- $add883 = (($shr882) + 1)|0;
- $shr884 = $add883 >> 1;
- $mul885 = Math_imul($607, $shr884)|0;
- $add886 = (($add878) + ($mul885))|0;
- $shr887 = $add886 >> 7;
- $add888 = (($shr887) + 1)|0;
- $shr889 = $add888 >> 1;
- $cond893 = $shr889;
- }
- }
- $conv894 = $cond893&65535;
- $611 = $xq$addr;
- $612 = $i;
- $613 = $decisionDelay$addr;
- $sub895 = (($612) - ($613))|0;
- $arrayidx896 = (($611) + ($sub895<<1)|0);
- HEAP16[$arrayidx896>>1] = $conv894;
- $614 = $psDD;
- $Shape_Q14897 = ((($614)) + 960|0);
- $615 = $last_smple_idx;
- $arrayidx898 = (($Shape_Q14897) + ($615<<2)|0);
- $616 = HEAP32[$arrayidx898>>2]|0;
- $617 = $NSQ$addr;
- $sLTP_shp_Q14899 = ((($617)) + 1280|0);
- $618 = $NSQ$addr;
- $sLTP_shp_buf_idx900 = ((($618)) + 4364|0);
- $619 = HEAP32[$sLTP_shp_buf_idx900>>2]|0;
- $620 = $decisionDelay$addr;
- $sub901 = (($619) - ($620))|0;
- $arrayidx902 = (($sLTP_shp_Q14899) + ($sub901<<2)|0);
- HEAP32[$arrayidx902>>2] = $616;
- $621 = $psDD;
- $Pred_Q15 = ((($621)) + 832|0);
- $622 = $last_smple_idx;
- $arrayidx903 = (($Pred_Q15) + ($622<<2)|0);
- $623 = HEAP32[$arrayidx903>>2]|0;
- $624 = $sLTP_Q15$addr;
- $625 = $NSQ$addr;
- $sLTP_buf_idx904 = ((($625)) + 4360|0);
- $626 = HEAP32[$sLTP_buf_idx904>>2]|0;
- $627 = $decisionDelay$addr;
- $sub905 = (($626) - ($627))|0;
- $arrayidx906 = (($624) + ($sub905<<2)|0);
- HEAP32[$arrayidx906>>2] = $623;
- }
- $628 = $NSQ$addr;
- $sLTP_shp_buf_idx908 = ((($628)) + 4364|0);
- $629 = HEAP32[$sLTP_shp_buf_idx908>>2]|0;
- $inc909 = (($629) + 1)|0;
- HEAP32[$sLTP_shp_buf_idx908>>2] = $inc909;
- $630 = $NSQ$addr;
- $sLTP_buf_idx910 = ((($630)) + 4360|0);
- $631 = HEAP32[$sLTP_buf_idx910>>2]|0;
- $inc911 = (($631) + 1)|0;
- HEAP32[$sLTP_buf_idx910>>2] = $inc911;
- $k = 0;
- while(1) {
- $632 = $k;
- $633 = $nStatesDelayedDecision$addr;
- $cmp913 = ($632|0)<($633|0);
- if (!($cmp913)) {
- break;
- }
- $634 = $psDelDec$addr;
- $635 = $k;
- $arrayidx916 = (($634) + (($635*1168)|0)|0);
- $psDD = $arrayidx916;
- $636 = $k;
- $arrayidx917 = (($vla) + (($636*48)|0)|0);
- $psSS = $arrayidx917;
- $637 = $psSS;
- $LF_AR_Q14919 = ((($637)) + 12|0);
- $638 = HEAP32[$LF_AR_Q14919>>2]|0;
- $639 = $psDD;
- $LF_AR_Q14920 = ((($639)) + 1152|0);
- HEAP32[$LF_AR_Q14920>>2] = $638;
- $640 = $psSS;
- $xq_Q14921 = ((($640)) + 8|0);
- $641 = HEAP32[$xq_Q14921>>2]|0;
- $642 = $psDD;
- $643 = $i;
- $add923 = (32 + ($643))|0;
- $arrayidx924 = (($642) + ($add923<<2)|0);
- HEAP32[$arrayidx924>>2] = $641;
- $644 = $psSS;
- $xq_Q14925 = ((($644)) + 8|0);
- $645 = HEAP32[$xq_Q14925>>2]|0;
- $646 = $psDD;
- $Xq_Q14926 = ((($646)) + 704|0);
- $647 = $smpl_buf_idx$addr;
- $648 = HEAP32[$647>>2]|0;
- $arrayidx927 = (($Xq_Q14926) + ($648<<2)|0);
- HEAP32[$arrayidx927>>2] = $645;
- $649 = $psSS;
- $650 = HEAP32[$649>>2]|0;
- $651 = $psDD;
- $Q_Q10929 = ((($651)) + 576|0);
- $652 = $smpl_buf_idx$addr;
- $653 = HEAP32[$652>>2]|0;
- $arrayidx930 = (($Q_Q10929) + ($653<<2)|0);
- HEAP32[$arrayidx930>>2] = $650;
- $654 = $psSS;
- $LPC_exc_Q14931 = ((($654)) + 20|0);
- $655 = HEAP32[$LPC_exc_Q14931>>2]|0;
- $shl932 = $655 << 1;
- $656 = $psDD;
- $Pred_Q15933 = ((($656)) + 832|0);
- $657 = $smpl_buf_idx$addr;
- $658 = HEAP32[$657>>2]|0;
- $arrayidx934 = (($Pred_Q15933) + ($658<<2)|0);
- HEAP32[$arrayidx934>>2] = $shl932;
- $659 = $psSS;
- $sLTP_shp_Q14935 = ((($659)) + 16|0);
- $660 = HEAP32[$sLTP_shp_Q14935>>2]|0;
- $661 = $psDD;
- $Shape_Q14936 = ((($661)) + 960|0);
- $662 = $smpl_buf_idx$addr;
- $663 = HEAP32[$662>>2]|0;
- $arrayidx937 = (($Shape_Q14936) + ($663<<2)|0);
- HEAP32[$arrayidx937>>2] = $660;
- $664 = $psDD;
- $Seed938 = ((($664)) + 1156|0);
- $665 = HEAP32[$Seed938>>2]|0;
- $666 = $psSS;
- $667 = HEAP32[$666>>2]|0;
- $shr940 = $667 >> 9;
- $add941 = (($shr940) + 1)|0;
- $shr942 = $add941 >> 1;
- $add943 = (($665) + ($shr942))|0;
- $668 = $psDD;
- $Seed944 = ((($668)) + 1156|0);
- HEAP32[$Seed944>>2] = $add943;
- $669 = $psDD;
- $Seed945 = ((($669)) + 1156|0);
- $670 = HEAP32[$Seed945>>2]|0;
- $671 = $psDD;
- $RandState946 = ((($671)) + 448|0);
- $672 = $smpl_buf_idx$addr;
- $673 = HEAP32[$672>>2]|0;
- $arrayidx947 = (($RandState946) + ($673<<2)|0);
- HEAP32[$arrayidx947>>2] = $670;
- $674 = $psSS;
- $RD_Q10948 = ((($674)) + 4|0);
- $675 = HEAP32[$RD_Q10948>>2]|0;
- $676 = $psDD;
- $RD_Q10949 = ((($676)) + 1164|0);
- HEAP32[$RD_Q10949>>2] = $675;
- $677 = $k;
- $inc951 = (($677) + 1)|0;
- $k = $inc951;
- }
- $678 = $Gain_Q10;
- $679 = $delayedGain_Q10$addr;
- $680 = $smpl_buf_idx$addr;
- $681 = HEAP32[$680>>2]|0;
- $arrayidx953 = (($679) + ($681<<2)|0);
- HEAP32[$arrayidx953>>2] = $678;
- $682 = $i;
- $inc955 = (($682) + 1)|0;
- $i = $inc955;
+ $315 = $11;
+ $40 = $315;
}
- $k = 0;
+ $316 = $7;
+ $317 = ((($316)) + 40|0);
+ $318 = HEAP32[$317>>2]|0;
+ $319 = ($318|0)!=(-1);
+ if ($319) {
+ $320 = $7;
+ $321 = ((($320)) + 40|0);
+ $322 = HEAP32[$321>>2]|0;
+ $323 = $25;
+ $324 = ($323*40)|0;
+ $325 = (($324) + 20)|0;
+ $326 = $26;
+ $327 = 400 >> $326;
+ $328 = (($327) - 50)|0;
+ $329 = Math_imul($325, $328)|0;
+ $330 = (($322) - ($329))|0;
+ $68 = $330;
+ }
+ $331 = $12;
+ $332 = ($331|0)==(0|0);
+ if ($332) {
+ $333 = $10;
+ $334 = $11;
+ _ec_enc_init($17,$333,$334);
+ $12 = $17;
+ }
+ $335 = $42;
+ $336 = ($335|0)>(0);
+ if ($336) {
+ $337 = $7;
+ $338 = ((($337)) + 52|0);
+ $339 = HEAP32[$338>>2]|0;
+ $340 = ($339|0)!=(0);
+ if ($340) {
+ $341 = $42;
+ $71 = $341;
+ $342 = $46;
+ $343 = ($342|0)==(1);
+ $344 = $343 ? 2 : 0;
+ $345 = $42;
+ $346 = $71;
+ $347 = (($345) + ($346))|0;
+ $348 = $7;
+ $349 = ((($348)) + 164|0);
+ $350 = HEAP32[$349>>2]|0;
+ $351 = (($347) - ($350))|0;
+ $352 = $351 >> 6;
+ $353 = ($344|0)>($352|0);
+ if ($353) {
+ $354 = $46;
+ $355 = ($354|0)==(1);
+ $356 = $355 ? 2 : 0;
+ $366 = $356;
+ } else {
+ $357 = $42;
+ $358 = $71;
+ $359 = (($357) + ($358))|0;
+ $360 = $7;
+ $361 = ((($360)) + 164|0);
+ $362 = HEAP32[$361>>2]|0;
+ $363 = (($359) - ($362))|0;
+ $364 = $363 >> 6;
+ $366 = $364;
+ }
+ $365 = $30;
+ $367 = ($366|0)<($365|0);
+ do {
+ if ($367) {
+ $368 = $46;
+ $369 = ($368|0)==(1);
+ $370 = $369 ? 2 : 0;
+ $371 = $42;
+ $372 = $71;
+ $373 = (($371) + ($372))|0;
+ $374 = $7;
+ $375 = ((($374)) + 164|0);
+ $376 = HEAP32[$375>>2]|0;
+ $377 = (($373) - ($376))|0;
+ $378 = $377 >> 6;
+ $379 = ($370|0)>($378|0);
+ if ($379) {
+ $380 = $46;
+ $381 = ($380|0)==(1);
+ $382 = $381 ? 2 : 0;
+ $392 = $382;
+ break;
+ } else {
+ $383 = $42;
+ $384 = $71;
+ $385 = (($383) + ($384))|0;
+ $386 = $7;
+ $387 = ((($386)) + 164|0);
+ $388 = HEAP32[$387>>2]|0;
+ $389 = (($385) - ($388))|0;
+ $390 = $389 >> 6;
+ $392 = $390;
+ break;
+ }
+ } else {
+ $391 = $30;
+ $392 = $391;
+ }
+ } while(0);
+ $72 = $392;
+ $393 = $72;
+ $394 = $30;
+ $395 = ($393|0)<($394|0);
+ if ($395) {
+ $396 = $29;
+ $397 = $72;
+ $398 = (($396) + ($397))|0;
+ $11 = $398;
+ $399 = $72;
+ $30 = $399;
+ $400 = $12;
+ $401 = $11;
+ _ec_enc_shrink($400,$401);
+ }
+ }
+ }
+ $402 = $11;
+ $403 = $402<<3;
+ $43 = $403;
+ $404 = $32;
+ $33 = $404;
+ $405 = $33;
+ $406 = $58;
+ $407 = ((($406)) + 12|0);
+ $408 = HEAP32[$407>>2]|0;
+ $409 = ($405|0)>($408|0);
+ if ($409) {
+ $410 = $58;
+ $411 = ((($410)) + 12|0);
+ $412 = HEAP32[$411>>2]|0;
+ $33 = $412;
+ }
+ $413 = $24;
+ $414 = $15;
+ $415 = $60;
+ $416 = (($414) + ($415))|0;
+ $417 = Math_imul($413, $416)|0;
+ $418 = (_llvm_stacksave()|0);
+ $73 = $418;
+ $$alloca_mul = $417<<2;
+ $419 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $420 = $7;
+ $421 = ((($420)) + 180|0);
+ $422 = +HEAPF32[$421>>2];
+ $423 = $8;
+ $424 = $25;
+ $425 = $15;
+ $426 = $60;
+ $427 = (($425) - ($426))|0;
+ $428 = Math_imul($424, $427)|0;
+ $429 = $7;
+ $430 = ((($429)) + 28|0);
+ $431 = HEAP32[$430>>2]|0;
+ $432 = (($428|0) / ($431|0))&-1;
+ $433 = (+_celt_maxabs16($423,$432));
+ $434 = $422 > $433;
+ if ($434) {
+ $435 = $7;
+ $436 = ((($435)) + 180|0);
+ $437 = +HEAPF32[$436>>2];
+ $449 = $437;
+ } else {
+ $438 = $8;
+ $439 = $25;
+ $440 = $15;
+ $441 = $60;
+ $442 = (($440) - ($441))|0;
+ $443 = Math_imul($439, $442)|0;
+ $444 = $7;
+ $445 = ((($444)) + 28|0);
+ $446 = HEAP32[$445>>2]|0;
+ $447 = (($443|0) / ($446|0))&-1;
+ $448 = (+_celt_maxabs16($438,$447));
+ $449 = $448;
+ }
+ $56 = $449;
+ $450 = $8;
+ $451 = $25;
+ $452 = $15;
+ $453 = $60;
+ $454 = (($452) - ($453))|0;
+ $455 = Math_imul($451, $454)|0;
+ $456 = $7;
+ $457 = ((($456)) + 28|0);
+ $458 = HEAP32[$457>>2]|0;
+ $459 = (($455|0) / ($458|0))&-1;
+ $460 = (($450) + ($459<<2)|0);
+ $461 = $25;
+ $462 = $60;
+ $463 = Math_imul($461, $462)|0;
+ $464 = $7;
+ $465 = ((($464)) + 28|0);
+ $466 = HEAP32[$465>>2]|0;
+ $467 = (($463|0) / ($466|0))&-1;
+ $468 = (+_celt_maxabs16($460,$467));
+ $469 = $7;
+ $470 = ((($469)) + 180|0);
+ HEAPF32[$470>>2] = $468;
+ $471 = $56;
+ $472 = $7;
+ $473 = ((($472)) + 180|0);
+ $474 = +HEAPF32[$473>>2];
+ $475 = $471 > $474;
+ if ($475) {
+ $476 = $56;
+ $480 = $476;
+ } else {
+ $477 = $7;
+ $478 = ((($477)) + 180|0);
+ $479 = +HEAPF32[$478>>2];
+ $480 = $479;
+ }
+ $56 = $480;
+ $481 = $56;
+ $482 = $7;
+ $483 = ((($482)) + 60|0);
+ $484 = HEAP32[$483>>2]|0;
+ $485 = 1 << $484;
+ $486 = (+($485|0));
+ $487 = 1.0 / $486;
+ $488 = $481 <= $487;
+ $489 = $488&1;
+ $51 = $489;
+ $490 = $46;
+ $491 = ($490|0)==(1);
+ if ($491) {
+ $492 = $12;
+ $493 = $51;
+ _ec_enc_bit_logp($492,$493,15);
+ } else {
+ $51 = 0;
+ }
+ $494 = $51;
+ $495 = ($494|0)!=(0);
+ if ($495) {
+ $496 = $42;
+ $497 = ($496|0)>(0);
+ if ($497) {
+ $498 = $11;
+ $499 = $29;
+ $500 = (($499) + 2)|0;
+ $501 = ($498|0)<($500|0);
+ $502 = $11;
+ $503 = $29;
+ $504 = (($503) + 2)|0;
+ $505 = $501 ? $502 : $504;
+ $11 = $505;
+ $40 = $505;
+ $506 = $11;
+ $507 = $506<<3;
+ $43 = $507;
+ $30 = 2;
+ $508 = $12;
+ $509 = $11;
+ _ec_enc_shrink($508,$509);
+ }
+ $510 = $11;
+ $511 = $510<<3;
+ $46 = $511;
+ $512 = $46;
+ $513 = $12;
+ $514 = (_ec_tell_50($513)|0);
+ $515 = (($512) - ($514))|0;
+ $516 = $12;
+ $517 = ((($516)) + 20|0);
+ $518 = HEAP32[$517>>2]|0;
+ $519 = (($518) + ($515))|0;
+ HEAP32[$517>>2] = $519;
+ }
+ $14 = 0;
while(1) {
- $683 = $k;
- $684 = $nStatesDelayedDecision$addr;
- $cmp958 = ($683|0)<($684|0);
- if (!($cmp958)) {
+ $74 = 0;
+ $520 = $7;
+ $521 = ((($520)) + 16|0);
+ $522 = HEAP32[$521>>2]|0;
+ $523 = ($522|0)!=(0);
+ $524 = $56;
+ $525 = $524 > 65536.0;
+ $526 = $523 ? $525 : 0;
+ $527 = $526&1;
+ $74 = $527;
+ $528 = $8;
+ $529 = $14;
+ $530 = (($528) + ($529<<2)|0);
+ $531 = $14;
+ $532 = $15;
+ $533 = $60;
+ $534 = (($532) + ($533))|0;
+ $535 = Math_imul($531, $534)|0;
+ $536 = (($419) + ($535<<2)|0);
+ $537 = $60;
+ $538 = (($536) + ($537<<2)|0);
+ $539 = $15;
+ $540 = $24;
+ $541 = $7;
+ $542 = ((($541)) + 28|0);
+ $543 = HEAP32[$542>>2]|0;
+ $544 = $58;
+ $545 = ((($544)) + 16|0);
+ $546 = $7;
+ $547 = ((($546)) + 148|0);
+ $548 = $14;
+ $549 = (($547) + ($548<<2)|0);
+ $550 = $74;
+ _celt_preemphasis($530,$538,$539,$540,$543,$545,$549,$550);
+ $551 = $14;
+ $552 = (($551) + 1)|0;
+ $14 = $552;
+ $553 = $24;
+ $554 = ($552|0)<($553|0);
+ if (!($554)) {
break;
}
- $685 = $psDelDec$addr;
- $686 = $k;
- $arrayidx961 = (($685) + (($686*1168)|0)|0);
- $psDD = $arrayidx961;
- $687 = $psDD;
- $688 = $psDD;
- $689 = $length$addr;
- $arrayidx965 = (($688) + ($689<<2)|0);
- dest=$687; src=$arrayidx965; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $690 = $k;
- $inc967 = (($690) + 1)|0;
- $k = $inc967;
}
- $691 = $saved_stack;
- _llvm_stackrestore(($691|0));
- STACKTOP = sp;return;
-}
-function _silk_INVERSE32_varQ_424($b32,$Qres) {
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $add = 0;
- var $add20 = 0, $add21 = 0, $add23 = 0, $add26 = 0, $and = 0, $and15 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $cmp = 0, $cmp29 = 0, $cmp35 = 0, $cmp40 = 0, $cmp48 = 0, $cmp61 = 0, $cmp69 = 0, $cmp83 = 0, $cond = 0;
- var $cond80 = 0, $conv = 0, $conv12 = 0, $conv13 = 0, $conv16 = 0, $conv17 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $div = 0, $err_Q32 = 0, $lshift = 0, $mul = 0, $mul14 = 0, $mul18 = 0, $mul25 = 0, $mul7 = 0, $result = 0, $retval = 0, $shl = 0;
- var $shl10 = 0, $shl2 = 0, $shl82 = 0, $shr = 0, $shr11 = 0, $shr19 = 0, $shr22 = 0, $shr24 = 0, $shr3 = 0, $shr32 = 0, $shr34 = 0, $shr39 = 0, $shr44 = 0, $shr47 = 0, $shr52 = 0, $shr60 = 0, $shr65 = 0, $shr68 = 0, $shr73 = 0, $shr8 = 0;
- var $shr86 = 0, $sub = 0, $sub1 = 0, $sub27 = 0, $sub28 = 0, $sub31 = 0, $sub33 = 0, $sub38 = 0, $sub43 = 0, $sub46 = 0, $sub51 = 0, $sub64 = 0, $sub67 = 0, $sub72 = 0, $sub81 = 0, $sub9 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $b32$addr;
- $cmp = ($0|0)>(0);
- $1 = $b32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_426($cond)|0);
- $sub1 = (($call) - 1)|0;
- $b_headrm = $sub1;
- $2 = $b32$addr;
- $3 = $b_headrm;
- $shl = $2 << $3;
- $b32_nrm = $shl;
- $4 = $b32_nrm;
- $shr = $4 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $5 = $b32_inv;
- $shl2 = $5 << 16;
- $result = $shl2;
- $6 = $b32_nrm;
- $shr3 = $6 >> 16;
- $7 = $b32_inv;
- $conv = $7&65535;
- $conv4 = $conv << 16 >> 16;
- $mul = Math_imul($shr3, $conv4)|0;
- $8 = $b32_nrm;
- $and = $8 & 65535;
- $9 = $b32_inv;
- $conv5 = $9&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = Math_imul($and, $conv6)|0;
- $shr8 = $mul7 >> 16;
- $add = (($mul) + ($shr8))|0;
- $sub9 = (536870912 - ($add))|0;
- $shl10 = $sub9 << 3;
- $err_Q32 = $shl10;
- $10 = $result;
- $11 = $err_Q32;
- $shr11 = $11 >> 16;
- $12 = $b32_inv;
- $conv12 = $12&65535;
- $conv13 = $conv12 << 16 >> 16;
- $mul14 = Math_imul($shr11, $conv13)|0;
- $13 = $err_Q32;
- $and15 = $13 & 65535;
- $14 = $b32_inv;
- $conv16 = $14&65535;
- $conv17 = $conv16 << 16 >> 16;
- $mul18 = Math_imul($and15, $conv17)|0;
- $shr19 = $mul18 >> 16;
- $add20 = (($mul14) + ($shr19))|0;
- $add21 = (($10) + ($add20))|0;
- $15 = $err_Q32;
- $16 = $b32_inv;
- $shr22 = $16 >> 15;
- $add23 = (($shr22) + 1)|0;
- $shr24 = $add23 >> 1;
- $mul25 = Math_imul($15, $shr24)|0;
- $add26 = (($add21) + ($mul25))|0;
- $result = $add26;
- $17 = $b_headrm;
- $sub27 = (61 - ($17))|0;
- $18 = $Qres$addr;
- $sub28 = (($sub27) - ($18))|0;
- $lshift = $sub28;
- $19 = $lshift;
- $cmp29 = ($19|0)<=(0);
- $20 = $lshift;
- if (!($cmp29)) {
- $cmp83 = ($20|0)<(32);
- if ($cmp83) {
- $35 = $result;
- $36 = $lshift;
- $shr86 = $35 >> $36;
- $retval = $shr86;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
+ $555 = $7;
+ $556 = ((($555)) + 68|0);
+ $557 = HEAP32[$556>>2]|0;
+ $558 = ($557|0)!=(0);
+ $559 = $30;
+ $560 = ($559|0)>(3);
+ $or$cond3 = $558 & $560;
+ if ($or$cond3) {
+ $$old = $31;
+ $$old4 = ($$old|0)!=(0);
+ $$old6 = $51;
+ $$old7 = ($$old6|0)!=(0);
+ $or$cond10 = $$old4 | $$old7;
+ if ($or$cond10) {
+ $590 = 0;
} else {
- $retval = 0;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
+ label = 63;
+ }
+ } else {
+ $561 = $30;
+ $562 = $25;
+ $563 = ($562*12)|0;
+ $564 = ($561|0)>($563|0);
+ $565 = $31;
+ $566 = ($565|0)==(0);
+ $or$cond5 = $564 & $566;
+ $or$cond5$not = $or$cond5 ^ 1;
+ $567 = $51;
+ $568 = ($567|0)!=(0);
+ $or$cond8 = $or$cond5$not | $568;
+ if ($or$cond8) {
+ $590 = 0;
+ } else {
+ label = 63;
}
}
- $sub31 = (0 - ($20))|0;
- $shr32 = -2147483648 >> $sub31;
- $21 = $lshift;
- $sub33 = (0 - ($21))|0;
- $shr34 = 2147483647 >> $sub33;
- $cmp35 = ($shr32|0)>($shr34|0);
- $22 = $result;
- $23 = $lshift;
- $sub38 = (0 - ($23))|0;
- do {
- if ($cmp35) {
- $shr39 = -2147483648 >> $sub38;
- $cmp40 = ($22|0)>($shr39|0);
- if ($cmp40) {
- $24 = $lshift;
- $sub43 = (0 - ($24))|0;
- $shr44 = -2147483648 >> $sub43;
- $cond80 = $shr44;
- break;
- }
- $25 = $result;
- $26 = $lshift;
- $sub46 = (0 - ($26))|0;
- $shr47 = 2147483647 >> $sub46;
- $cmp48 = ($25|0)<($shr47|0);
- if ($cmp48) {
- $27 = $lshift;
- $sub51 = (0 - ($27))|0;
- $shr52 = 2147483647 >> $sub51;
- $cond80 = $shr52;
- break;
+ if ((label|0) == 63) {
+ $569 = $7;
+ $570 = ((($569)) + 20|0);
+ $571 = HEAP32[$570>>2]|0;
+ $572 = ($571|0)!=(0);
+ if ($572) {
+ $590 = 0;
+ } else {
+ $573 = $7;
+ $574 = ((($573)) + 24|0);
+ $575 = HEAP32[$574>>2]|0;
+ $576 = ($575|0)>=(5);
+ if ($576) {
+ $577 = $7;
+ $578 = ((($577)) + 116|0);
+ $579 = HEAP32[$578>>2]|0;
+ $580 = ($579|0)!=(0);
+ $581 = $26;
+ $582 = ($581|0)!=(3);
+ $or$cond13 = $580 & $582;
+ if ($or$cond13) {
+ $583 = $7;
+ $584 = ((($583)) + 64|0);
+ $585 = HEAP32[$584>>2]|0;
+ $586 = ($585|0)==(5010);
+ $588 = $586;
+ } else {
+ $588 = 0;
+ }
+ $587 = $588 ^ 1;
+ $590 = $587;
} else {
- $28 = $result;
- $cond80 = $28;
- break;
+ $590 = 0;
+ }
+ }
+ }
+ $589 = $590&1;
+ $75 = $589;
+ $591 = $7;
+ $592 = ((($591)) + 100|0);
+ $593 = HEAP32[$592>>2]|0;
+ $47 = $593;
+ $594 = $7;
+ $595 = $18;
+ $596 = $24;
+ $597 = $15;
+ $598 = $47;
+ $599 = $75;
+ $600 = $30;
+ $601 = (_run_prefilter($594,$419,$595,$596,$597,$598,$37,$38,$76,$599,$600)|0);
+ $48 = $601;
+ $602 = +HEAPF32[$38>>2];
+ $603 = $602 > 0.40000000596046448;
+ if ($603) {
+ label = 70;
+ } else {
+ $604 = $7;
+ $605 = ((($604)) + 108|0);
+ $606 = +HEAPF32[$605>>2];
+ $607 = $606 > 0.40000000596046448;
+ if ($607) {
+ label = 70;
+ }
+ }
+ do {
+ if ((label|0) == 70) {
+ $608 = $7;
+ $609 = ((($608)) + 120|0);
+ $610 = HEAP32[$609>>2]|0;
+ $611 = ($610|0)!=(0);
+ if ($611) {
+ $612 = $7;
+ $613 = ((($612)) + 120|0);
+ $614 = ((($613)) + 4|0);
+ $615 = +HEAPF32[$614>>2];
+ $616 = $615;
+ $617 = $616 > 0.29999999999999999;
+ if (!($617)) {
+ break;
+ }
+ }
+ $618 = HEAP32[$37>>2]|0;
+ $619 = (+($618|0));
+ $620 = $7;
+ $621 = ((($620)) + 104|0);
+ $622 = HEAP32[$621>>2]|0;
+ $623 = (+($622|0));
+ $624 = 1.26 * $623;
+ $625 = $619 > $624;
+ if (!($625)) {
+ $626 = HEAP32[$37>>2]|0;
+ $627 = (+($626|0));
+ $628 = $7;
+ $629 = ((($628)) + 104|0);
+ $630 = HEAP32[$629>>2]|0;
+ $631 = (+($630|0));
+ $632 = 0.79000000000000004 * $631;
+ $633 = $627 < $632;
+ if (!($633)) {
+ break;
+ }
+ }
+ $54 = 1;
+ }
+ } while(0);
+ $634 = $48;
+ $635 = ($634|0)==(0);
+ if ($635) {
+ $636 = $31;
+ $637 = ($636|0)==(0);
+ if ($637) {
+ $638 = $46;
+ $639 = (($638) + 16)|0;
+ $640 = $43;
+ $641 = ($639|0)<=($640|0);
+ if ($641) {
+ $642 = $12;
+ _ec_enc_bit_logp($642,0,1);
+ }
+ }
+ } else {
+ $643 = $12;
+ _ec_enc_bit_logp($643,1,1);
+ $644 = HEAP32[$37>>2]|0;
+ $645 = (($644) + 1)|0;
+ HEAP32[$37>>2] = $645;
+ $646 = HEAP32[$37>>2]|0;
+ $647 = (Math_clz32(($646|0))|0);
+ $648 = (32 - ($647))|0;
+ $649 = (($648) - 5)|0;
+ $77 = $649;
+ $650 = $12;
+ $651 = $77;
+ _ec_enc_uint($650,$651,6);
+ $652 = $12;
+ $653 = HEAP32[$37>>2]|0;
+ $654 = $77;
+ $655 = 16 << $654;
+ $656 = (($653) - ($655))|0;
+ $657 = $77;
+ $658 = (4 + ($657))|0;
+ _ec_enc_bits($652,$656,$658);
+ $659 = HEAP32[$37>>2]|0;
+ $660 = (($659) - 1)|0;
+ HEAP32[$37>>2] = $660;
+ $661 = $12;
+ $662 = HEAP32[$76>>2]|0;
+ _ec_enc_bits($661,$662,3);
+ $663 = $12;
+ $664 = $47;
+ _ec_enc_icdf($663,$664,25820,2);
+ }
+ $23 = 0;
+ $22 = 0;
+ $665 = $7;
+ $666 = ((($665)) + 24|0);
+ $667 = HEAP32[$666>>2]|0;
+ $668 = ($667|0)>=(1);
+ if ($668) {
+ $669 = $7;
+ $670 = ((($669)) + 68|0);
+ $671 = HEAP32[$670>>2]|0;
+ $672 = ($671|0)!=(0);
+ if (!($672)) {
+ $673 = $15;
+ $674 = $60;
+ $675 = (($673) + ($674))|0;
+ $676 = $24;
+ $677 = (_transient_analysis($419,$675,$676,$53,$52)|0);
+ $23 = $677;
+ }
+ }
+ $678 = $26;
+ $679 = ($678|0)>(0);
+ if ($679) {
+ $680 = $12;
+ $681 = (_ec_tell_50($680)|0);
+ $682 = (($681) + 3)|0;
+ $683 = $43;
+ $684 = ($682|0)<=($683|0);
+ if ($684) {
+ $685 = $23;
+ $686 = ($685|0)!=(0);
+ if ($686) {
+ $687 = $27;
+ $22 = $687;
}
} else {
- $shr60 = 2147483647 >> $sub38;
- $cmp61 = ($22|0)>($shr60|0);
- if ($cmp61) {
- $29 = $lshift;
- $sub64 = (0 - ($29))|0;
- $shr65 = 2147483647 >> $sub64;
- $cond80 = $shr65;
- break;
- }
- $30 = $result;
- $31 = $lshift;
- $sub67 = (0 - ($31))|0;
- $shr68 = -2147483648 >> $sub67;
- $cmp69 = ($30|0)<($shr68|0);
- if ($cmp69) {
- $32 = $lshift;
- $sub72 = (0 - ($32))|0;
- $shr73 = -2147483648 >> $sub72;
- $cond80 = $shr73;
- break;
- } else {
- $33 = $result;
- $cond80 = $33;
- break;
+ label = 87;
+ }
+ } else {
+ label = 87;
+ }
+ if ((label|0) == 87) {
+ $23 = 0;
+ $64 = 1;
+ }
+ $688 = $24;
+ $689 = $15;
+ $690 = Math_imul($688, $689)|0;
+ $$alloca_mul141 = $690<<2;
+ $691 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul141)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul141)|0)+15)&-16)|0);;
+ $692 = $59;
+ $693 = $24;
+ $694 = Math_imul($692, $693)|0;
+ $$alloca_mul143 = $694<<2;
+ $695 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul143)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul143)|0)+15)&-16)|0);;
+ $696 = $59;
+ $697 = $24;
+ $698 = Math_imul($696, $697)|0;
+ $$alloca_mul145 = $698<<2;
+ $699 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul145)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul145)|0)+15)&-16)|0);;
+ $700 = $22;
+ $701 = ($700|0)!=(0);
+ if ($701) {
+ $702 = $7;
+ $703 = ((($702)) + 24|0);
+ $704 = HEAP32[$703>>2]|0;
+ $705 = ($704|0)>=(8);
+ $707 = $705;
+ } else {
+ $707 = 0;
+ }
+ $706 = $707&1;
+ $62 = $706;
+ $708 = $25;
+ $709 = $59;
+ $710 = Math_imul($708, $709)|0;
+ $$alloca_mul147 = $710<<2;
+ $711 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul147)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul147)|0)+15)&-16)|0);;
+ $712 = $62;
+ $713 = ($712|0)!=(0);
+ L128: do {
+ if ($713) {
+ $714 = $58;
+ $715 = $25;
+ $716 = $24;
+ $717 = $26;
+ $718 = $7;
+ $719 = ((($718)) + 28|0);
+ $720 = HEAP32[$719>>2]|0;
+ $721 = $7;
+ $722 = ((($721)) + 72|0);
+ $723 = HEAP32[$722>>2]|0;
+ _compute_mdcts($714,0,$419,$691,$715,$716,$717,$720,$723);
+ $724 = $58;
+ $725 = $33;
+ $726 = $25;
+ $727 = $26;
+ _compute_band_energies($724,$691,$695,$725,$726,$727);
+ $728 = $58;
+ $729 = $33;
+ $730 = $32;
+ $731 = $25;
+ _amp2Log2($728,$729,$730,$695,$711,$731);
+ $13 = 0;
+ while(1) {
+ $732 = $13;
+ $733 = $25;
+ $734 = $59;
+ $735 = Math_imul($733, $734)|0;
+ $736 = ($732|0)<($735|0);
+ if (!($736)) {
+ break L128;
+ }
+ $737 = $26;
+ $738 = (+($737|0));
+ $739 = 0.5 * $738;
+ $740 = $13;
+ $741 = (($711) + ($740<<2)|0);
+ $742 = +HEAPF32[$741>>2];
+ $743 = $742 + $739;
+ HEAPF32[$741>>2] = $743;
+ $744 = $13;
+ $745 = (($744) + 1)|0;
+ $13 = $745;
}
}
} while(0);
- $34 = $lshift;
- $sub81 = (0 - ($34))|0;
- $shl82 = $cond80 << $sub81;
- $retval = $shl82;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
-}
-function _silk_DIV32_varQ_425($a32,$b32,$Qres) {
- $a32 = $a32|0;
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $a32$addr = 0, $a32_nrm = 0, $a_headrm = 0, $add = 0, $add33 = 0, $add34 = 0, $add35 = 0, $and = 0;
- var $and28 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $call8 = 0, $cmp = 0, $cmp2 = 0, $cmp38 = 0, $cmp44 = 0, $cmp49 = 0, $cmp57 = 0, $cmp70 = 0, $cmp78 = 0, $cmp92 = 0, $cond = 0, $cond7 = 0, $cond89 = 0, $conv = 0;
- var $conv12 = 0, $conv13 = 0, $conv14 = 0, $conv25 = 0, $conv26 = 0, $conv29 = 0, $conv30 = 0, $div = 0, $lshift = 0, $mul = 0, $mul15 = 0, $mul27 = 0, $mul31 = 0, $result = 0, $retval = 0, $shl = 0, $shl10 = 0, $shl22 = 0, $shl91 = 0, $shr = 0;
- var $shr11 = 0, $shr16 = 0, $shr24 = 0, $shr32 = 0, $shr41 = 0, $shr43 = 0, $shr48 = 0, $shr53 = 0, $shr56 = 0, $shr61 = 0, $shr69 = 0, $shr74 = 0, $shr77 = 0, $shr82 = 0, $shr95 = 0, $sub = 0, $sub1 = 0, $sub23 = 0, $sub36 = 0, $sub37 = 0;
- var $sub40 = 0, $sub42 = 0, $sub47 = 0, $sub5 = 0, $sub52 = 0, $sub55 = 0, $sub60 = 0, $sub73 = 0, $sub76 = 0, $sub81 = 0, $sub9 = 0, $sub90 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $a32$addr = $a32;
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $a32$addr;
- $cmp = ($0|0)>(0);
- $1 = $a32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_426($cond)|0);
- $sub1 = (($call) - 1)|0;
- $a_headrm = $sub1;
- $2 = $a32$addr;
- $3 = $a_headrm;
- $shl = $2 << $3;
- $a32_nrm = $shl;
- $4 = $b32$addr;
- $cmp2 = ($4|0)>(0);
- $5 = $b32$addr;
- $sub5 = (0 - ($5))|0;
- $cond7 = $cmp2 ? $5 : $sub5;
- $call8 = (_silk_CLZ32_426($cond7)|0);
- $sub9 = (($call8) - 1)|0;
- $b_headrm = $sub9;
- $6 = $b32$addr;
- $7 = $b_headrm;
- $shl10 = $6 << $7;
- $b32_nrm = $shl10;
- $8 = $b32_nrm;
- $shr = $8 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $9 = $a32_nrm;
- $shr11 = $9 >> 16;
- $10 = $b32_inv;
- $conv = $10&65535;
- $conv12 = $conv << 16 >> 16;
- $mul = Math_imul($shr11, $conv12)|0;
- $11 = $a32_nrm;
- $and = $11 & 65535;
- $12 = $b32_inv;
- $conv13 = $12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul) + ($shr16))|0;
- $result = $add;
- $13 = $a32_nrm;
- $14 = $b32_nrm;
- $15 = ($14|0)<(0);
- $16 = $15 << 31 >> 31;
- $17 = $result;
- $18 = ($17|0)<(0);
- $19 = $18 << 31 >> 31;
- $20 = (___muldi3(($14|0),($16|0),($17|0),($19|0))|0);
- $21 = tempRet0;
- $22 = (_bitshift64Ashr(($20|0),($21|0),32)|0);
- $23 = tempRet0;
- $shl22 = $22 << 3;
- $sub23 = (($13) - ($shl22))|0;
- $a32_nrm = $sub23;
- $24 = $result;
- $25 = $a32_nrm;
- $shr24 = $25 >> 16;
- $26 = $b32_inv;
- $conv25 = $26&65535;
- $conv26 = $conv25 << 16 >> 16;
- $mul27 = Math_imul($shr24, $conv26)|0;
- $27 = $a32_nrm;
- $and28 = $27 & 65535;
- $28 = $b32_inv;
- $conv29 = $28&65535;
- $conv30 = $conv29 << 16 >> 16;
- $mul31 = Math_imul($and28, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul27) + ($shr32))|0;
- $add34 = (($24) + ($add33))|0;
- $result = $add34;
- $29 = $a_headrm;
- $add35 = (29 + ($29))|0;
- $30 = $b_headrm;
- $sub36 = (($add35) - ($30))|0;
- $31 = $Qres$addr;
- $sub37 = (($sub36) - ($31))|0;
- $lshift = $sub37;
- $32 = $lshift;
- $cmp38 = ($32|0)<(0);
- $33 = $lshift;
- if (!($cmp38)) {
- $cmp92 = ($33|0)<(32);
- if ($cmp92) {
- $48 = $result;
- $49 = $lshift;
- $shr95 = $48 >> $49;
- $retval = $shr95;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- } else {
- $retval = 0;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- }
+ $746 = $58;
+ $747 = $22;
+ $748 = $25;
+ $749 = $24;
+ $750 = $26;
+ $751 = $7;
+ $752 = ((($751)) + 28|0);
+ $753 = HEAP32[$752>>2]|0;
+ $754 = $7;
+ $755 = ((($754)) + 72|0);
+ $756 = HEAP32[$755>>2]|0;
+ _compute_mdcts($746,$747,$419,$691,$748,$749,$750,$753,$756);
+ $757 = $24;
+ $758 = ($757|0)==(2);
+ $759 = $25;
+ $760 = ($759|0)==(1);
+ $or$cond16 = $758 & $760;
+ if ($or$cond16) {
+ HEAP32[$52>>2] = 0;
}
- $sub40 = (0 - ($33))|0;
- $shr41 = -2147483648 >> $sub40;
- $34 = $lshift;
- $sub42 = (0 - ($34))|0;
- $shr43 = 2147483647 >> $sub42;
- $cmp44 = ($shr41|0)>($shr43|0);
- $35 = $result;
- $36 = $lshift;
- $sub47 = (0 - ($36))|0;
- do {
- if ($cmp44) {
- $shr48 = -2147483648 >> $sub47;
- $cmp49 = ($35|0)>($shr48|0);
- if ($cmp49) {
- $37 = $lshift;
- $sub52 = (0 - ($37))|0;
- $shr53 = -2147483648 >> $sub52;
- $cond89 = $shr53;
- break;
- }
- $38 = $result;
- $39 = $lshift;
- $sub55 = (0 - ($39))|0;
- $shr56 = 2147483647 >> $sub55;
- $cmp57 = ($38|0)<($shr56|0);
- if ($cmp57) {
- $40 = $lshift;
- $sub60 = (0 - ($40))|0;
- $shr61 = 2147483647 >> $sub60;
- $cond89 = $shr61;
- break;
- } else {
- $41 = $result;
- $cond89 = $41;
- break;
- }
- } else {
- $shr69 = 2147483647 >> $sub47;
- $cmp70 = ($35|0)>($shr69|0);
- if ($cmp70) {
- $42 = $lshift;
- $sub73 = (0 - ($42))|0;
- $shr74 = 2147483647 >> $sub73;
- $cond89 = $shr74;
- break;
- }
- $43 = $result;
- $44 = $lshift;
- $sub76 = (0 - ($44))|0;
- $shr77 = -2147483648 >> $sub76;
- $cmp78 = ($43|0)<($shr77|0);
- if ($cmp78) {
- $45 = $lshift;
- $sub81 = (0 - ($45))|0;
- $shr82 = -2147483648 >> $sub81;
- $cond89 = $shr82;
- break;
- } else {
- $46 = $result;
- $cond89 = $46;
- break;
+ $761 = $58;
+ $762 = $33;
+ $763 = $25;
+ $764 = $26;
+ _compute_band_energies($761,$691,$695,$762,$763,$764);
+ $765 = $7;
+ $766 = ((($765)) + 68|0);
+ $767 = HEAP32[$766>>2]|0;
+ $768 = ($767|0)!=(0);
+ L137: do {
+ if ($768) {
+ $13 = 2;
+ while(1) {
+ $769 = $13;
+ $770 = $32;
+ $771 = ($769|0)<($770|0);
+ if (!($771)) {
+ break L137;
+ }
+ $772 = $13;
+ $773 = (($695) + ($772<<2)|0);
+ $774 = +HEAPF32[$773>>2];
+ $775 = +HEAPF32[$695>>2];
+ $776 = 9.9999997473787516E-5 * $775;
+ $777 = $774 < $776;
+ if ($777) {
+ $778 = $13;
+ $779 = (($695) + ($778<<2)|0);
+ $780 = +HEAPF32[$779>>2];
+ $785 = $780;
+ } else {
+ $781 = +HEAPF32[$695>>2];
+ $782 = 9.9999997473787516E-5 * $781;
+ $785 = $782;
+ }
+ $783 = $13;
+ $784 = (($695) + ($783<<2)|0);
+ HEAPF32[$784>>2] = $785;
+ $786 = $13;
+ $787 = (($695) + ($786<<2)|0);
+ $788 = +HEAPF32[$787>>2];
+ $789 = $788 > 1.0000000036274937E-15;
+ if ($789) {
+ $790 = $13;
+ $791 = (($695) + ($790<<2)|0);
+ $792 = +HEAPF32[$791>>2];
+ $795 = $792;
+ } else {
+ $795 = 1.0000000036274937E-15;
+ }
+ $793 = $13;
+ $794 = (($695) + ($793<<2)|0);
+ HEAPF32[$794>>2] = $795;
+ $796 = $13;
+ $797 = (($796) + 1)|0;
+ $13 = $797;
}
}
} while(0);
- $47 = $lshift;
- $sub90 = (0 - ($47))|0;
- $shl91 = $cond89 << $sub90;
- $retval = $shl91;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
-}
-function _silk_CLZ32_426($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
+ $798 = $58;
+ $799 = $33;
+ $800 = $32;
+ $801 = $25;
+ _amp2Log2($798,$799,$800,$695,$699,$801);
+ $802 = $25;
+ $803 = $59;
+ $804 = Math_imul($802, $803)|0;
+ $$alloca_mul149 = $804<<2;
+ $805 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul149)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul149)|0)+15)&-16)|0);;
+ $806 = $32;
+ $807 = $806<<2;
+ _memset(($805|0),0,($807|0))|0;
+ $808 = $31;
+ $809 = ($808|0)==(0);
+ do {
+ if ($809) {
+ $810 = $7;
+ $811 = ((($810)) + 192|0);
+ $812 = HEAP32[$811>>2]|0;
+ $813 = ($812|0)!=(0|0);
+ if (!($813)) {
+ break;
+ }
+ $814 = $7;
+ $815 = ((($814)) + 68|0);
+ $816 = HEAP32[$815>>2]|0;
+ $817 = ($816|0)!=(0);
+ if ($817) {
+ break;
+ }
+ $81 = 0.0;
+ $82 = 0.0;
+ $83 = 0;
+ $818 = $7;
+ $819 = ((($818)) + 92|0);
+ $820 = HEAP32[$819>>2]|0;
+ $821 = (2)>($820|0);
+ if ($821) {
+ $825 = 2;
+ } else {
+ $822 = $7;
+ $823 = ((($822)) + 92|0);
+ $824 = HEAP32[$823>>2]|0;
+ $825 = $824;
+ }
+ $78 = $825;
+ $14 = 0;
+ while(1) {
+ $826 = $14;
+ $827 = $25;
+ $828 = ($826|0)<($827|0);
+ if (!($828)) {
+ break;
+ }
+ $13 = 0;
+ while(1) {
+ $829 = $13;
+ $830 = $78;
+ $831 = ($829|0)<($830|0);
+ if (!($831)) {
+ break;
+ }
+ $832 = $7;
+ $833 = ((($832)) + 192|0);
+ $834 = HEAP32[$833>>2]|0;
+ $835 = $59;
+ $836 = $14;
+ $837 = Math_imul($835, $836)|0;
+ $838 = $13;
+ $839 = (($837) + ($838))|0;
+ $840 = (($834) + ($839<<2)|0);
+ $841 = +HEAPF32[$840>>2];
+ $842 = $841 < 0.25;
+ if ($842) {
+ $843 = $7;
+ $844 = ((($843)) + 192|0);
+ $845 = HEAP32[$844>>2]|0;
+ $846 = $59;
+ $847 = $14;
+ $848 = Math_imul($846, $847)|0;
+ $849 = $13;
+ $850 = (($848) + ($849))|0;
+ $851 = (($845) + ($850<<2)|0);
+ $852 = +HEAPF32[$851>>2];
+ $854 = $852;
+ } else {
+ $854 = 0.25;
+ }
+ $853 = $854 > -2.0;
+ do {
+ if ($853) {
+ $855 = $7;
+ $856 = ((($855)) + 192|0);
+ $857 = HEAP32[$856>>2]|0;
+ $858 = $59;
+ $859 = $14;
+ $860 = Math_imul($858, $859)|0;
+ $861 = $13;
+ $862 = (($860) + ($861))|0;
+ $863 = (($857) + ($862<<2)|0);
+ $864 = +HEAPF32[$863>>2];
+ $865 = $864 < 0.25;
+ if (!($865)) {
+ $876 = 0.25;
+ break;
+ }
+ $866 = $7;
+ $867 = ((($866)) + 192|0);
+ $868 = HEAP32[$867>>2]|0;
+ $869 = $59;
+ $870 = $14;
+ $871 = Math_imul($869, $870)|0;
+ $872 = $13;
+ $873 = (($871) + ($872))|0;
+ $874 = (($868) + ($873<<2)|0);
+ $875 = +HEAPF32[$874>>2];
+ $876 = $875;
+ } else {
+ $876 = -2.0;
+ }
+ } while(0);
+ $84 = $876;
+ $877 = $84;
+ $878 = $877 > 0.0;
+ if ($878) {
+ $879 = $84;
+ $880 = 0.5 * $879;
+ $84 = $880;
+ }
+ $881 = $84;
+ $882 = $61;
+ $883 = $13;
+ $884 = (($883) + 1)|0;
+ $885 = (($882) + ($884<<1)|0);
+ $886 = HEAP16[$885>>1]|0;
+ $887 = $886 << 16 >> 16;
+ $888 = $61;
+ $889 = $13;
+ $890 = (($888) + ($889<<1)|0);
+ $891 = HEAP16[$890>>1]|0;
+ $892 = $891 << 16 >> 16;
+ $893 = (($887) - ($892))|0;
+ $894 = (+($893|0));
+ $895 = $881 * $894;
+ $896 = $81;
+ $897 = $896 + $895;
+ $81 = $897;
+ $898 = $61;
+ $899 = $13;
+ $900 = (($899) + 1)|0;
+ $901 = (($898) + ($900<<1)|0);
+ $902 = HEAP16[$901>>1]|0;
+ $903 = $902 << 16 >> 16;
+ $904 = $61;
+ $905 = $13;
+ $906 = (($904) + ($905<<1)|0);
+ $907 = HEAP16[$906>>1]|0;
+ $908 = $907 << 16 >> 16;
+ $909 = (($903) - ($908))|0;
+ $910 = $83;
+ $911 = (($910) + ($909))|0;
+ $83 = $911;
+ $912 = $84;
+ $913 = $13;
+ $914 = $913<<1;
+ $915 = (1 + ($914))|0;
+ $916 = $78;
+ $917 = (($915) - ($916))|0;
+ $918 = (+($917|0));
+ $919 = $912 * $918;
+ $920 = $82;
+ $921 = $920 + $919;
+ $82 = $921;
+ $922 = $13;
+ $923 = (($922) + 1)|0;
+ $13 = $923;
+ }
+ $924 = $14;
+ $925 = (($924) + 1)|0;
+ $14 = $925;
+ }
+ $926 = $81;
+ $927 = $83;
+ $928 = (+($927|0));
+ $929 = $926 / $928;
+ $81 = $929;
+ $930 = $81;
+ $931 = $930 + 0.20000000298023224;
+ $81 = $931;
+ $932 = $82;
+ $933 = $932 * 6.0;
+ $934 = $25;
+ $935 = $78;
+ $936 = (($935) - 1)|0;
+ $937 = Math_imul($934, $936)|0;
+ $938 = $78;
+ $939 = (($938) + 1)|0;
+ $940 = Math_imul($937, $939)|0;
+ $941 = $78;
+ $942 = Math_imul($940, $941)|0;
+ $943 = (+($942|0));
+ $944 = $933 / $943;
+ $82 = $944;
+ $945 = $82;
+ $946 = 0.5 * $945;
+ $82 = $946;
+ $947 = $82;
+ $948 = $947 < 0.030999999493360519;
+ $949 = $82;
+ $950 = $948 ? $949 : 0.030999999493360519;
+ $951 = $950 > -0.030999999493360519;
+ if ($951) {
+ $952 = $82;
+ $953 = $952 < 0.030999999493360519;
+ $954 = $82;
+ $955 = $953 ? $954 : 0.030999999493360519;
+ $956 = $955;
+ } else {
+ $956 = -0.030999999493360519;
+ }
+ $82 = $956;
+ $79 = 0;
+ while(1) {
+ $957 = $61;
+ $958 = $79;
+ $959 = (($958) + 1)|0;
+ $960 = (($957) + ($959<<1)|0);
+ $961 = HEAP16[$960>>1]|0;
+ $962 = $961 << 16 >> 16;
+ $963 = $61;
+ $964 = $78;
+ $965 = (($963) + ($964<<1)|0);
+ $966 = HEAP16[$965>>1]|0;
+ $967 = $966 << 16 >> 16;
+ $968 = (($967|0) / 2)&-1;
+ $969 = ($962|0)<($968|0);
+ if (!($969)) {
+ break;
+ }
+ $970 = $79;
+ $971 = (($970) + 1)|0;
+ $79 = $971;
+ }
+ $80 = 0;
+ $13 = 0;
+ while(1) {
+ $972 = $13;
+ $973 = $78;
+ $974 = ($972|0)<($973|0);
+ if (!($974)) {
+ break;
+ }
+ $975 = $81;
+ $976 = $82;
+ $977 = $13;
+ $978 = $79;
+ $979 = (($977) - ($978))|0;
+ $980 = (+($979|0));
+ $981 = $976 * $980;
+ $982 = $975 + $981;
+ $85 = $982;
+ $983 = $25;
+ $984 = ($983|0)==(2);
+ $985 = $7;
+ $986 = ((($985)) + 192|0);
+ $987 = HEAP32[$986>>2]|0;
+ $988 = $13;
+ $989 = (($987) + ($988<<2)|0);
+ $990 = +HEAPF32[$989>>2];
+ if ($984) {
+ $991 = $7;
+ $992 = ((($991)) + 192|0);
+ $993 = HEAP32[$992>>2]|0;
+ $994 = $59;
+ $995 = $13;
+ $996 = (($994) + ($995))|0;
+ $997 = (($993) + ($996<<2)|0);
+ $998 = +HEAPF32[$997>>2];
+ $999 = $990 > $998;
+ $1000 = $7;
+ $1001 = ((($1000)) + 192|0);
+ $1002 = HEAP32[$1001>>2]|0;
+ if ($999) {
+ $1003 = $13;
+ $$sink17 = $1003;
+ } else {
+ $1004 = $59;
+ $1005 = $13;
+ $1006 = (($1004) + ($1005))|0;
+ $$sink17 = $1006;
+ }
+ $1007 = (($1002) + ($$sink17<<2)|0);
+ $1008 = +HEAPF32[$1007>>2];
+ $86 = $1008;
+ } else {
+ $86 = $990;
+ }
+ $1009 = $86;
+ $1010 = $1009 < 0.0;
+ $1011 = $86;
+ $1012 = $1010 ? $1011 : 0.0;
+ $86 = $1012;
+ $1013 = $85;
+ $1014 = $86;
+ $1015 = $1014 - $1013;
+ $86 = $1015;
+ $1016 = $86;
+ $1017 = $1016 > 0.25;
+ if ($1017) {
+ $1018 = $86;
+ $1019 = $1018 - 0.25;
+ $1020 = $13;
+ $1021 = (($805) + ($1020<<2)|0);
+ HEAPF32[$1021>>2] = $1019;
+ $1022 = $80;
+ $1023 = (($1022) + 1)|0;
+ $80 = $1023;
+ }
+ $1024 = $13;
+ $1025 = (($1024) + 1)|0;
+ $13 = $1025;
+ }
+ $1026 = $80;
+ $1027 = ($1026|0)>=(3);
+ L197: do {
+ if ($1027) {
+ $1028 = $81;
+ $1029 = $1028 + 0.25;
+ $81 = $1029;
+ $1030 = $81;
+ $1031 = $1030 > 0.0;
+ if ($1031) {
+ $81 = 0.0;
+ $82 = 0.0;
+ $1032 = $78;
+ $1033 = $1032<<2;
+ _memset(($805|0),0,($1033|0))|0;
+ break;
+ }
+ $13 = 0;
+ while(1) {
+ $1034 = $13;
+ $1035 = $78;
+ $1036 = ($1034|0)<($1035|0);
+ if (!($1036)) {
+ break L197;
+ }
+ $1037 = $13;
+ $1038 = (($805) + ($1037<<2)|0);
+ $1039 = +HEAPF32[$1038>>2];
+ $1040 = $1039 - 0.25;
+ $1041 = 0.0 > $1040;
+ if ($1041) {
+ $1048 = 0.0;
+ } else {
+ $1042 = $13;
+ $1043 = (($805) + ($1042<<2)|0);
+ $1044 = +HEAPF32[$1043>>2];
+ $1045 = $1044 - 0.25;
+ $1048 = $1045;
+ }
+ $1046 = $13;
+ $1047 = (($805) + ($1046<<2)|0);
+ HEAPF32[$1047>>2] = $1048;
+ $1049 = $13;
+ $1050 = (($1049) + 1)|0;
+ $13 = $1050;
+ }
+ }
+ } while(0);
+ $1051 = $81;
+ $1052 = $1051 + 0.20000000298023224;
+ $81 = $1052;
+ $1053 = $82;
+ $1054 = 64.0 * $1053;
+ $67 = $1054;
+ $1055 = $81;
+ $65 = $1055;
+ }
+ } while(0);
+ $1056 = $7;
+ $1057 = ((($1056)) + 68|0);
+ $1058 = HEAP32[$1057>>2]|0;
+ $1059 = ($1058|0)!=(0);
+ if (!($1059)) {
+ $87 = -10.0;
+ $88 = 0.0;
+ $1060 = $22;
+ $1061 = ($1060|0)!=(0);
+ if ($1061) {
+ $1062 = $26;
+ $1063 = (+($1062|0));
+ $1064 = 0.5 * $1063;
+ $1065 = $1064;
+ } else {
+ $1065 = 0.0;
+ }
+ $89 = $1065;
+ $1066 = $31;
+ $13 = $1066;
+ while(1) {
+ $1067 = $13;
+ $1068 = $32;
+ $1069 = ($1067|0)<($1068|0);
+ if (!($1069)) {
+ break;
+ }
+ $1070 = $87;
+ $1071 = $1070 - 1.0;
+ $1072 = $13;
+ $1073 = (($699) + ($1072<<2)|0);
+ $1074 = +HEAPF32[$1073>>2];
+ $1075 = $89;
+ $1076 = $1074 - $1075;
+ $1077 = $1071 > $1076;
+ if ($1077) {
+ $1078 = $87;
+ $1079 = $1078 - 1.0;
+ $1085 = $1079;
+ } else {
+ $1080 = $13;
+ $1081 = (($699) + ($1080<<2)|0);
+ $1082 = +HEAPF32[$1081>>2];
+ $1083 = $89;
+ $1084 = $1082 - $1083;
+ $1085 = $1084;
+ }
+ $87 = $1085;
+ $1086 = $25;
+ $1087 = ($1086|0)==(2);
+ if ($1087) {
+ $1088 = $87;
+ $1089 = $13;
+ $1090 = $59;
+ $1091 = (($1089) + ($1090))|0;
+ $1092 = (($699) + ($1091<<2)|0);
+ $1093 = +HEAPF32[$1092>>2];
+ $1094 = $89;
+ $1095 = $1093 - $1094;
+ $1096 = $1088 > $1095;
+ if ($1096) {
+ $1097 = $87;
+ $1105 = $1097;
+ } else {
+ $1098 = $13;
+ $1099 = $59;
+ $1100 = (($1098) + ($1099))|0;
+ $1101 = (($699) + ($1100<<2)|0);
+ $1102 = +HEAPF32[$1101>>2];
+ $1103 = $89;
+ $1104 = $1102 - $1103;
+ $1105 = $1104;
+ }
+ $87 = $1105;
+ }
+ $1106 = $87;
+ $1107 = $88;
+ $1108 = $1107 + $1106;
+ $88 = $1108;
+ $1109 = $13;
+ $1110 = (($1109) + 1)|0;
+ $13 = $1110;
+ }
+ $1111 = $32;
+ $1112 = $31;
+ $1113 = (($1111) - ($1112))|0;
+ $1114 = (+($1113|0));
+ $1115 = $88;
+ $1116 = $1115 / $1114;
+ $88 = $1116;
+ $1117 = $88;
+ $1118 = $7;
+ $1119 = ((($1118)) + 196|0);
+ $1120 = +HEAPF32[$1119>>2];
+ $1121 = $1117 - $1120;
+ $66 = $1121;
+ $1122 = $66;
+ $1123 = -1.5 > $1122;
+ $1124 = $66;
+ $1125 = $1123 ? -1.5 : $1124;
+ $1126 = 3.0 < $1125;
+ if ($1126) {
+ $1131 = 3.0;
+ } else {
+ $1127 = $66;
+ $1128 = -1.5 > $1127;
+ $1129 = $66;
+ $1130 = $1128 ? -1.5 : $1129;
+ $1131 = $1130;
+ }
+ $66 = $1131;
+ $1132 = $66;
+ $1133 = 0.019999999552965164 * $1132;
+ $1134 = $7;
+ $1135 = ((($1134)) + 196|0);
+ $1136 = +HEAPF32[$1135>>2];
+ $1137 = $1136 + $1133;
+ HEAPF32[$1135>>2] = $1137;
}
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
+ $1138 = $62;
+ $1139 = ($1138|0)!=(0);
+ if (!($1139)) {
+ $1140 = $25;
+ $1141 = $59;
+ $1142 = Math_imul($1140, $1141)|0;
+ $1143 = $1142<<2;
+ $1144 = $711;
+ $1145 = $699;
+ $1146 = (($1144) - ($1145))|0;
+ $1147 = (($1146|0) / 4)&-1;
+ $1148 = 0;
+ $1149 = (($1143) + ($1148))|0;
+ _memcpy(($711|0),($699|0),($1149|0))|0;
+ }
+ $1150 = $26;
+ $1151 = ($1150|0)>(0);
+ do {
+ if ($1151) {
+ $1152 = $12;
+ $1153 = (_ec_tell_50($1152)|0);
+ $1154 = (($1153) + 3)|0;
+ $1155 = $43;
+ $1156 = ($1154|0)>($1155|0);
+ $1157 = $23;
+ $1158 = ($1157|0)!=(0);
+ $or$cond20 = $1156 | $1158;
+ if ($or$cond20) {
+ break;
+ }
+ $1159 = $7;
+ $1160 = ((($1159)) + 24|0);
+ $1161 = HEAP32[$1160>>2]|0;
+ $1162 = ($1161|0)>=(5);
+ if (!($1162)) {
+ break;
+ }
+ $1163 = $7;
+ $1164 = ((($1163)) + 68|0);
+ $1165 = HEAP32[$1164>>2]|0;
+ $1166 = ($1165|0)!=(0);
+ if ($1166) {
+ break;
+ }
+ $1167 = $19;
+ $1168 = $59;
+ $1169 = $31;
+ $1170 = $32;
+ $1171 = $25;
+ $1172 = (_patch_transient_decision($699,$1167,$1168,$1169,$1170,$1171)|0);
+ $1173 = ($1172|0)!=(0);
+ if (!($1173)) {
+ break;
+ }
+ $23 = 1;
+ $1174 = $27;
+ $22 = $1174;
+ $1175 = $58;
+ $1176 = $22;
+ $1177 = $25;
+ $1178 = $24;
+ $1179 = $26;
+ $1180 = $7;
+ $1181 = ((($1180)) + 28|0);
+ $1182 = HEAP32[$1181>>2]|0;
+ $1183 = $7;
+ $1184 = ((($1183)) + 72|0);
+ $1185 = HEAP32[$1184>>2]|0;
+ _compute_mdcts($1175,$1176,$419,$691,$1177,$1178,$1179,$1182,$1185);
+ $1186 = $58;
+ $1187 = $33;
+ $1188 = $25;
+ $1189 = $26;
+ _compute_band_energies($1186,$691,$695,$1187,$1188,$1189);
+ $1190 = $58;
+ $1191 = $33;
+ $1192 = $32;
+ $1193 = $25;
+ _amp2Log2($1190,$1191,$1192,$695,$699,$1193);
+ $13 = 0;
+ while(1) {
+ $1194 = $13;
+ $1195 = $25;
+ $1196 = $59;
+ $1197 = Math_imul($1195, $1196)|0;
+ $1198 = ($1194|0)<($1197|0);
+ if (!($1198)) {
+ break;
+ }
+ $1199 = $26;
+ $1200 = (+($1199|0));
+ $1201 = 0.5 * $1200;
+ $1202 = $13;
+ $1203 = (($711) + ($1202<<2)|0);
+ $1204 = +HEAPF32[$1203>>2];
+ $1205 = $1204 + $1201;
+ HEAPF32[$1203>>2] = $1205;
+ $1206 = $13;
+ $1207 = (($1206) + 1)|0;
+ $13 = $1207;
+ }
+ HEAPF32[$53>>2] = 0.20000000298023224;
+ }
+ } while(0);
+ $1208 = $26;
+ $1209 = ($1208|0)>(0);
+ do {
+ if ($1209) {
+ $1210 = $12;
+ $1211 = (_ec_tell_50($1210)|0);
+ $1212 = (($1211) + 3)|0;
+ $1213 = $43;
+ $1214 = ($1212|0)<=($1213|0);
+ if (!($1214)) {
+ break;
+ }
+ $1215 = $12;
+ $1216 = $23;
+ _ec_enc_bit_logp($1215,$1216,3);
+ }
+ } while(0);
+ $1217 = $25;
+ $1218 = $15;
+ $1219 = Math_imul($1217, $1218)|0;
+ $$alloca_mul151 = $1219<<2;
+ $1220 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul151)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul151)|0)+15)&-16)|0);;
+ $1221 = $58;
+ $1222 = $33;
+ $1223 = $25;
+ $1224 = $27;
+ _normalise_bands($1221,$691,$1220,$695,$1222,$1223,$1224);
+ $1225 = $59;
+ $$alloca_mul153 = $1225<<2;
+ $1226 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul153)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul153)|0)+15)&-16)|0);;
+ $1227 = $40;
+ $1228 = $25;
+ $1229 = ($1228*15)|0;
+ $1230 = ($1227|0)>=($1229|0);
+ $1231 = $31;
+ $1232 = ($1231|0)==(0);
+ $or$cond23 = $1230 & $1232;
+ L252: do {
+ if ($or$cond23) {
+ $1233 = $7;
+ $1234 = ((($1233)) + 24|0);
+ $1235 = HEAP32[$1234>>2]|0;
+ $1236 = ($1235|0)>=(2);
+ if (!($1236)) {
+ label = 192;
+ break;
+ }
+ $1237 = $7;
+ $1238 = ((($1237)) + 68|0);
+ $1239 = HEAP32[$1238>>2]|0;
+ $1240 = ($1239|0)!=(0);
+ if ($1240) {
+ label = 192;
+ break;
+ }
+ $1241 = $40;
+ $1242 = ($1241|0)<(40);
+ do {
+ if ($1242) {
+ $90 = 12;
+ } else {
+ $1243 = $40;
+ $1244 = ($1243|0)<(60);
+ if ($1244) {
+ $90 = 6;
+ break;
+ }
+ $1245 = $40;
+ $1246 = ($1245|0)<(100);
+ if ($1246) {
+ $90 = 4;
+ break;
+ } else {
+ $90 = 3;
+ break;
+ }
+ }
+ } while(0);
+ $1247 = $90;
+ $1248 = $1247<<1;
+ $90 = $1248;
+ $1249 = $58;
+ $1250 = $33;
+ $1251 = $23;
+ $1252 = $90;
+ $1253 = $15;
+ $1254 = $26;
+ $1255 = +HEAPF32[$53>>2];
+ $1256 = HEAP32[$52>>2]|0;
+ $1257 = (_tf_analysis($1249,$1250,$1251,$1226,$1252,$1220,$1253,$1254,$35,$1255,$1256)|0);
+ $28 = $1257;
+ $1258 = $33;
+ $13 = $1258;
+ while(1) {
+ $1259 = $13;
+ $1260 = $32;
+ $1261 = ($1259|0)<($1260|0);
+ if (!($1261)) {
+ break L252;
+ }
+ $1262 = $33;
+ $1263 = (($1262) - 1)|0;
+ $1264 = (($1226) + ($1263<<2)|0);
+ $1265 = HEAP32[$1264>>2]|0;
+ $1266 = $13;
+ $1267 = (($1226) + ($1266<<2)|0);
+ HEAP32[$1267>>2] = $1265;
+ $1268 = $13;
+ $1269 = (($1268) + 1)|0;
+ $13 = $1269;
+ }
+ } else {
+ label = 192;
+ }
+ } while(0);
+ if ((label|0) == 192) {
+ HEAP32[$35>>2] = 0;
+ $13 = 0;
+ while(1) {
+ $1270 = $13;
+ $1271 = $32;
+ $1272 = ($1270|0)<($1271|0);
+ if (!($1272)) {
+ break;
+ }
+ $1273 = $23;
+ $1274 = $13;
+ $1275 = (($1226) + ($1274<<2)|0);
+ HEAP32[$1275>>2] = $1273;
+ $1276 = $13;
+ $1277 = (($1276) + 1)|0;
+ $13 = $1277;
+ }
+ $28 = 0;
+ }
+ $1278 = $25;
+ $1279 = $59;
+ $1280 = Math_imul($1278, $1279)|0;
+ $$alloca_mul155 = $1280<<2;
+ $1281 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul155)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul155)|0)+15)&-16)|0);;
+ $1282 = $58;
+ $1283 = $31;
+ $1284 = $32;
+ $1285 = $33;
+ $1286 = $19;
+ $1287 = $43;
+ $1288 = $12;
+ $1289 = $25;
+ $1290 = $26;
+ $1291 = $30;
+ $1292 = $7;
+ $1293 = ((($1292)) + 12|0);
+ $1294 = HEAP32[$1293>>2]|0;
+ $1295 = $7;
+ $1296 = ((($1295)) + 84|0);
+ $1297 = $7;
+ $1298 = ((($1297)) + 24|0);
+ $1299 = HEAP32[$1298>>2]|0;
+ $1300 = ($1299|0)>=(4);
+ $1301 = $1300&1;
+ $1302 = $7;
+ $1303 = ((($1302)) + 56|0);
+ $1304 = HEAP32[$1303>>2]|0;
+ $1305 = $7;
+ $1306 = ((($1305)) + 68|0);
+ $1307 = HEAP32[$1306>>2]|0;
+ _quant_coarse_energy($1282,$1283,$1284,$1285,$699,$1286,$1287,$1281,$1288,$1289,$1290,$1291,$1294,$1296,$1301,$1304,$1307);
+ $1308 = $31;
+ $1309 = $32;
+ $1310 = $23;
+ $1311 = $26;
+ $1312 = $28;
+ $1313 = $12;
+ _tf_encode($1308,$1309,$1310,$1226,$1311,$1312,$1313);
+ $1314 = $12;
+ $1315 = (_ec_tell_50($1314)|0);
+ $1316 = (($1315) + 4)|0;
+ $1317 = $43;
+ $1318 = ($1316|0)<=($1317|0);
+ if ($1318) {
+ $1319 = $7;
+ $1320 = ((($1319)) + 68|0);
+ $1321 = HEAP32[$1320>>2]|0;
+ $1322 = ($1321|0)!=(0);
+ L278: do {
+ if ($1322) {
+ $1323 = $7;
+ $1324 = ((($1323)) + 100|0);
+ HEAP32[$1324>>2] = 0;
+ $1325 = $7;
+ $1326 = ((($1325)) + 80|0);
+ HEAP32[$1326>>2] = 2;
+ } else {
+ $1327 = $22;
+ $1328 = ($1327|0)!=(0);
+ do {
+ if (!($1328)) {
+ $1329 = $7;
+ $1330 = ((($1329)) + 24|0);
+ $1331 = HEAP32[$1330>>2]|0;
+ $1332 = ($1331|0)<(3);
+ if ($1332) {
+ break;
+ }
+ $1333 = $30;
+ $1334 = $25;
+ $1335 = ($1334*10)|0;
+ $1336 = ($1333|0)<($1335|0);
+ $1337 = $31;
+ $1338 = ($1337|0)!=(0);
+ $or$cond26 = $1336 | $1338;
+ if ($or$cond26) {
+ break;
+ }
+ $1345 = $58;
+ $1346 = $7;
+ $1347 = ((($1346)) + 88|0);
+ $1348 = $7;
+ $1349 = ((($1348)) + 80|0);
+ $1350 = HEAP32[$1349>>2]|0;
+ $1351 = $7;
+ $1352 = ((($1351)) + 96|0);
+ $1353 = $7;
+ $1354 = ((($1353)) + 100|0);
+ $1355 = $48;
+ $1356 = ($1355|0)!=(0);
+ if ($1356) {
+ $1357 = $22;
+ $1358 = ($1357|0)!=(0);
+ $1359 = $1358 ^ 1;
+ $1361 = $1359;
+ } else {
+ $1361 = 0;
+ }
+ $1360 = $1361&1;
+ $1362 = $33;
+ $1363 = $25;
+ $1364 = $27;
+ $1365 = (_spreading_decision($1345,$1220,$1347,$1350,$1352,$1354,$1360,$1362,$1363,$1364)|0);
+ $1366 = $7;
+ $1367 = ((($1366)) + 80|0);
+ HEAP32[$1367>>2] = $1365;
+ break L278;
+ }
+ } while(0);
+ $1339 = $7;
+ $1340 = ((($1339)) + 24|0);
+ $1341 = HEAP32[$1340>>2]|0;
+ $1342 = ($1341|0)==(0);
+ $1343 = $7;
+ $1344 = ((($1343)) + 80|0);
+ $$sink = $1342 ? 0 : 2;
+ HEAP32[$1344>>2] = $$sink;
+ }
+ } while(0);
+ $1368 = $12;
+ $1369 = $7;
+ $1370 = ((($1369)) + 80|0);
+ $1371 = HEAP32[$1370>>2]|0;
+ _ec_enc_icdf($1368,$1371,25823,5);
+ }
+ $1372 = $59;
+ $$alloca_mul157 = $1372<<2;
+ $1373 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul157)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul157)|0)+15)&-16)|0);;
+ $1374 = $59;
+ $1375 = $31;
+ $1376 = $32;
+ $1377 = $25;
+ $1378 = $7;
+ $1379 = ((($1378)) + 60|0);
+ $1380 = HEAP32[$1379>>2]|0;
+ $1381 = $58;
+ $1382 = ((($1381)) + 56|0);
+ $1383 = HEAP32[$1382>>2]|0;
+ $1384 = $23;
+ $1385 = $7;
+ $1386 = ((($1385)) + 44|0);
+ $1387 = HEAP32[$1386>>2]|0;
+ $1388 = $7;
+ $1389 = ((($1388)) + 52|0);
+ $1390 = HEAP32[$1389>>2]|0;
+ $1391 = $61;
+ $1392 = $26;
+ $1393 = $40;
+ $1394 = $7;
+ $1395 = ((($1394)) + 68|0);
+ $1396 = HEAP32[$1395>>2]|0;
+ $1397 = (+_dynalloc_analysis($699,$711,$1374,$1375,$1376,$1377,$1373,$1380,$1383,$1384,$1387,$1390,$1391,$1392,$1393,$55,$1396,$805));
+ $57 = $1397;
+ $1398 = $7;
+ $1399 = ((($1398)) + 68|0);
+ $1400 = HEAP32[$1399>>2]|0;
+ $1401 = ($1400|0)!=(0);
+ if ($1401) {
+ $1402 = $40;
+ $1403 = (($1402|0) / 3)&-1;
+ $1404 = (8)<($1403|0);
+ if ($1404) {
+ $1407 = 8;
+ } else {
+ $1405 = $40;
+ $1406 = (($1405|0) / 3)&-1;
+ $1407 = $1406;
+ }
+ HEAP32[$1373>>2] = $1407;
+ }
+ $1408 = $59;
+ $$alloca_mul159 = $1408<<2;
+ $1409 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul159)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul159)|0)+15)&-16)|0);;
+ $1410 = $58;
+ $1411 = $26;
+ $1412 = $25;
+ _init_caps($1410,$1409,$1411,$1412);
+ $41 = 6;
+ $1413 = $43;
+ $1414 = $1413 << 3;
+ $43 = $1414;
+ $44 = 0;
+ $1415 = $12;
+ $1416 = (_ec_tell_frac($1415)|0);
+ $46 = $1416;
+ $1417 = $31;
+ $13 = $1417;
+ while(1) {
+ $1418 = $13;
+ $1419 = $32;
+ $1420 = ($1418|0)<($1419|0);
+ $1421 = $25;
+ if (!($1420)) {
+ break;
+ }
+ $1422 = $61;
+ $1423 = $13;
+ $1424 = (($1423) + 1)|0;
+ $1425 = (($1422) + ($1424<<1)|0);
+ $1426 = HEAP16[$1425>>1]|0;
+ $1427 = $1426 << 16 >> 16;
+ $1428 = $61;
+ $1429 = $13;
+ $1430 = (($1428) + ($1429<<1)|0);
+ $1431 = HEAP16[$1430>>1]|0;
+ $1432 = $1431 << 16 >> 16;
+ $1433 = (($1427) - ($1432))|0;
+ $1434 = Math_imul($1421, $1433)|0;
+ $1435 = $26;
+ $1436 = $1434 << $1435;
+ $91 = $1436;
+ $1437 = $91;
+ $1438 = $1437 << 3;
+ $1439 = $91;
+ $1440 = (48)>($1439|0);
+ $1441 = $91;
+ $1442 = $1440 ? 48 : $1441;
+ $1443 = ($1438|0)<($1442|0);
+ $1444 = $91;
+ if ($1443) {
+ $1445 = $1444 << 3;
+ $1449 = $1445;
+ } else {
+ $1446 = (48)>($1444|0);
+ $1447 = $91;
+ $1448 = $1446 ? 48 : $1447;
+ $1449 = $1448;
+ }
+ $92 = $1449;
+ $1450 = $41;
+ $93 = $1450;
+ $94 = 0;
+ $95 = 0;
+ while(1) {
+ $1451 = $46;
+ $1452 = $93;
+ $1453 = $1452 << 3;
+ $1454 = (($1451) + ($1453))|0;
+ $1455 = $43;
+ $1456 = $44;
+ $1457 = (($1455) - ($1456))|0;
+ $1458 = ($1454|0)<($1457|0);
+ if (!($1458)) {
+ break;
+ }
+ $1459 = $94;
+ $1460 = $13;
+ $1461 = (($1409) + ($1460<<2)|0);
+ $1462 = HEAP32[$1461>>2]|0;
+ $1463 = ($1459|0)<($1462|0);
+ if (!($1463)) {
+ break;
+ }
+ $1464 = $95;
+ $1465 = $13;
+ $1466 = (($1373) + ($1465<<2)|0);
+ $1467 = HEAP32[$1466>>2]|0;
+ $1468 = ($1464|0)<($1467|0);
+ $1469 = $1468&1;
+ $96 = $1469;
+ $1470 = $12;
+ $1471 = $96;
+ $1472 = $93;
+ _ec_enc_bit_logp($1470,$1471,$1472);
+ $1473 = $12;
+ $1474 = (_ec_tell_frac($1473)|0);
+ $46 = $1474;
+ $1475 = $96;
+ $1476 = ($1475|0)!=(0);
+ if (!($1476)) {
+ break;
+ }
+ $1477 = $92;
+ $1478 = $94;
+ $1479 = (($1478) + ($1477))|0;
+ $94 = $1479;
+ $1480 = $92;
+ $1481 = $44;
+ $1482 = (($1481) + ($1480))|0;
+ $44 = $1482;
+ $93 = 1;
+ $1483 = $95;
+ $1484 = (($1483) + 1)|0;
+ $95 = $1484;
+ }
+ $1485 = $95;
+ $1486 = ($1485|0)!=(0);
+ if ($1486) {
+ $1487 = $41;
+ $1488 = (($1487) - 1)|0;
+ $1489 = (2)>($1488|0);
+ $1490 = $41;
+ $1491 = (($1490) - 1)|0;
+ $1492 = $1489 ? 2 : $1491;
+ $41 = $1492;
+ }
+ $1493 = $94;
+ $1494 = $13;
+ $1495 = (($1373) + ($1494<<2)|0);
+ HEAP32[$1495>>2] = $1493;
+ $1496 = $13;
+ $1497 = (($1496) + 1)|0;
+ $13 = $1497;
+ }
+ $1498 = ($1421|0)==(2);
+ if ($1498) {
+ $1499 = $26;
+ $1500 = ($1499|0)!=(0);
+ if ($1500) {
+ $1501 = $58;
+ $1502 = $26;
+ $1503 = $15;
+ $1504 = (_stereo_analysis($1501,$1220,$1502,$1503)|0);
+ HEAP32[$39>>2] = $1504;
+ }
+ $1505 = $68;
+ $1506 = (($1505|0) / 1000)&-1;
+ $1507 = (+($1506|0));
+ $1508 = $7;
+ $1509 = ((($1508)) + 188|0);
+ $1510 = HEAP32[$1509>>2]|0;
+ $1511 = (_hysteresis_decision($1507,4384,4468,21,$1510)|0);
+ $1512 = $7;
+ $1513 = ((($1512)) + 188|0);
+ HEAP32[$1513>>2] = $1511;
+ $1514 = $32;
+ $1515 = $31;
+ $1516 = $7;
+ $1517 = ((($1516)) + 188|0);
+ $1518 = HEAP32[$1517>>2]|0;
+ $1519 = ($1515|0)>($1518|0);
+ if ($1519) {
+ $1520 = $31;
+ $1525 = $1520;
+ } else {
+ $1521 = $7;
+ $1522 = ((($1521)) + 188|0);
+ $1523 = HEAP32[$1522>>2]|0;
+ $1525 = $1523;
+ }
+ $1524 = ($1514|0)<($1525|0);
+ do {
+ if ($1524) {
+ $1526 = $32;
+ $1538 = $1526;
+ } else {
+ $1527 = $31;
+ $1528 = $7;
+ $1529 = ((($1528)) + 188|0);
+ $1530 = HEAP32[$1529>>2]|0;
+ $1531 = ($1527|0)>($1530|0);
+ if ($1531) {
+ $1532 = $31;
+ $1538 = $1532;
+ break;
+ } else {
+ $1533 = $7;
+ $1534 = ((($1533)) + 188|0);
+ $1535 = HEAP32[$1534>>2]|0;
+ $1538 = $1535;
+ break;
+ }
+ }
+ } while(0);
+ $1536 = $7;
+ $1537 = ((($1536)) + 188|0);
+ HEAP32[$1537>>2] = $1538;
+ }
+ $36 = 5;
+ $1539 = $46;
+ $1540 = (($1539) + 48)|0;
+ $1541 = $43;
+ $1542 = $44;
+ $1543 = (($1541) - ($1542))|0;
+ $1544 = ($1540|0)<=($1543|0);
+ if ($1544) {
+ $1545 = $7;
+ $1546 = ((($1545)) + 68|0);
+ $1547 = HEAP32[$1546>>2]|0;
+ $1548 = ($1547|0)!=(0);
+ if ($1548) {
+ $36 = 5;
+ } else {
+ $1549 = $58;
+ $1550 = $32;
+ $1551 = $26;
+ $1552 = $25;
+ $1553 = $15;
+ $1554 = $7;
+ $1555 = ((($1554)) + 120|0);
+ $1556 = $7;
+ $1557 = ((($1556)) + 184|0);
+ $1558 = +HEAPF32[$53>>2];
+ $1559 = $7;
+ $1560 = ((($1559)) + 188|0);
+ $1561 = HEAP32[$1560>>2]|0;
+ $1562 = $67;
+ $1563 = $7;
+ $1564 = ((($1563)) + 72|0);
+ $1565 = HEAP32[$1564>>2]|0;
+ $1566 = (_alloc_trim_analysis($1549,$1220,$699,$1550,$1551,$1552,$1553,$1555,$1557,$1558,$1561,$1562,$1565)|0);
+ $36 = $1566;
+ }
+ $1567 = $12;
+ $1568 = $36;
+ _ec_enc_icdf($1567,$1568,25827,7);
+ $1569 = $12;
+ $1570 = (_ec_tell_frac($1569)|0);
+ $46 = $1570;
+ }
+ $1571 = $42;
+ $1572 = ($1571|0)>(0);
+ if ($1572) {
+ $1573 = $58;
+ $1574 = ((($1573)) + 36|0);
+ $1575 = HEAP32[$1574>>2]|0;
+ $1576 = $26;
+ $1577 = (($1575) - ($1576))|0;
+ $102 = $1577;
+ $1578 = $11;
+ $1579 = $26;
+ $1580 = (3 - ($1579))|0;
+ $1581 = 1275 >> $1580;
+ $1582 = ($1578|0)<($1581|0);
+ if ($1582) {
+ $1583 = $11;
+ $1587 = $1583;
+ } else {
+ $1584 = $26;
+ $1585 = (3 - ($1584))|0;
+ $1586 = 1275 >> $1585;
+ $1587 = $1586;
+ }
+ $11 = $1587;
+ $1588 = $42;
+ $1589 = $25;
+ $1590 = ($1589*40)|0;
+ $1591 = (($1590) + 20)|0;
+ $1592 = $1591 << 3;
+ $1593 = (($1588) - ($1592))|0;
+ $100 = $1593;
+ $1594 = $7;
+ $1595 = ((($1594)) + 52|0);
+ $1596 = HEAP32[$1595>>2]|0;
+ $1597 = ($1596|0)!=(0);
+ if ($1597) {
+ $1598 = $7;
+ $1599 = ((($1598)) + 172|0);
+ $1600 = HEAP32[$1599>>2]|0;
+ $1601 = $102;
+ $1602 = $1600 >> $1601;
+ $1603 = $100;
+ $1604 = (($1603) + ($1602))|0;
+ $100 = $1604;
+ }
+ $1605 = $58;
+ $1606 = $7;
+ $1607 = ((($1606)) + 120|0);
+ $1608 = $100;
+ $1609 = $26;
+ $1610 = $68;
+ $1611 = $7;
+ $1612 = ((($1611)) + 92|0);
+ $1613 = HEAP32[$1612>>2]|0;
+ $1614 = $25;
+ $1615 = $7;
+ $1616 = ((($1615)) + 188|0);
+ $1617 = HEAP32[$1616>>2]|0;
+ $1618 = $7;
+ $1619 = ((($1618)) + 52|0);
+ $1620 = HEAP32[$1619>>2]|0;
+ $1621 = $7;
+ $1622 = ((($1621)) + 184|0);
+ $1623 = +HEAPF32[$1622>>2];
+ $1624 = HEAP32[$55>>2]|0;
+ $1625 = +HEAPF32[$53>>2];
+ $1626 = $54;
+ $1627 = $57;
+ $1628 = $7;
+ $1629 = ((($1628)) + 64|0);
+ $1630 = HEAP32[$1629>>2]|0;
+ $1631 = $7;
+ $1632 = ((($1631)) + 68|0);
+ $1633 = HEAP32[$1632>>2]|0;
+ $1634 = $7;
+ $1635 = ((($1634)) + 192|0);
+ $1636 = HEAP32[$1635>>2]|0;
+ $1637 = ($1636|0)!=(0|0);
+ $1638 = $1637&1;
+ $1639 = $65;
+ $1640 = $66;
+ $1641 = (_compute_vbr($1605,$1607,$1608,$1609,$1610,$1613,$1614,$1617,$1620,$1623,$1624,$1625,$1626,$1627,$1630,$1633,$1638,$1639,$1640)|0);
+ $99 = $1641;
+ $1642 = $99;
+ $1643 = $46;
+ $1644 = (($1642) + ($1643))|0;
+ $99 = $1644;
+ $1645 = $46;
+ $1646 = $44;
+ $1647 = (($1645) + ($1646))|0;
+ $1648 = (($1647) + 64)|0;
+ $1649 = (($1648) - 1)|0;
+ $1650 = $1649 >> 6;
+ $1651 = (($1650) + 2)|0;
+ $1652 = $29;
+ $1653 = (($1651) - ($1652))|0;
+ $101 = $1653;
+ $1654 = $99;
+ $1655 = (($1654) + 32)|0;
+ $1656 = $1655 >> 6;
+ $30 = $1656;
+ $1657 = $101;
+ $1658 = $30;
+ $1659 = ($1657|0)>($1658|0);
+ $1660 = $101;
+ $1661 = $30;
+ $1662 = $1659 ? $1660 : $1661;
+ $30 = $1662;
+ $1663 = $11;
+ $1664 = $30;
+ $1665 = $29;
+ $1666 = (($1664) + ($1665))|0;
+ $1667 = ($1663|0)<($1666|0);
+ if ($1667) {
+ $1668 = $11;
+ $1674 = $1668;
+ } else {
+ $1669 = $30;
+ $1670 = $29;
+ $1671 = (($1669) + ($1670))|0;
+ $1674 = $1671;
+ }
+ $1672 = $29;
+ $1673 = (($1674) - ($1672))|0;
+ $30 = $1673;
+ $1675 = $99;
+ $1676 = $42;
+ $1677 = (($1675) - ($1676))|0;
+ $98 = $1677;
+ $1678 = $30;
+ $1679 = $1678 << 6;
+ $99 = $1679;
+ $1680 = $51;
+ $1681 = ($1680|0)!=(0);
+ if ($1681) {
+ $30 = 2;
+ $99 = 128;
+ $98 = 0;
+ }
+ $1682 = $7;
+ $1683 = ((($1682)) + 176|0);
+ $1684 = HEAP32[$1683>>2]|0;
+ $1685 = ($1684|0)<(970);
+ if ($1685) {
+ $1686 = $7;
+ $1687 = ((($1686)) + 176|0);
+ $1688 = HEAP32[$1687>>2]|0;
+ $1689 = (($1688) + 1)|0;
+ HEAP32[$1687>>2] = $1689;
+ $1690 = $7;
+ $1691 = ((($1690)) + 176|0);
+ $1692 = HEAP32[$1691>>2]|0;
+ $1693 = (($1692) + 20)|0;
+ $1694 = (+($1693|0));
+ $1695 = 1.0 / $1694;
+ $97 = $1695;
+ } else {
+ $97 = 0.0010000000474974513;
+ }
+ $1696 = $7;
+ $1697 = ((($1696)) + 52|0);
+ $1698 = HEAP32[$1697>>2]|0;
+ $1699 = ($1698|0)!=(0);
+ if ($1699) {
+ $1700 = $99;
+ $1701 = $42;
+ $1702 = (($1700) - ($1701))|0;
+ $1703 = $7;
+ $1704 = ((($1703)) + 164|0);
+ $1705 = HEAP32[$1704>>2]|0;
+ $1706 = (($1705) + ($1702))|0;
+ HEAP32[$1704>>2] = $1706;
+ }
+ $1707 = $7;
+ $1708 = ((($1707)) + 52|0);
+ $1709 = HEAP32[$1708>>2]|0;
+ $1710 = ($1709|0)!=(0);
+ if ($1710) {
+ $1711 = $97;
+ $1712 = $98;
+ $1713 = $102;
+ $1714 = 1 << $1713;
+ $1715 = Math_imul($1712, $1714)|0;
+ $1716 = $7;
+ $1717 = ((($1716)) + 172|0);
+ $1718 = HEAP32[$1717>>2]|0;
+ $1719 = (($1715) - ($1718))|0;
+ $1720 = $7;
+ $1721 = ((($1720)) + 168|0);
+ $1722 = HEAP32[$1721>>2]|0;
+ $1723 = (($1719) - ($1722))|0;
+ $1724 = (+($1723|0));
+ $1725 = $1711 * $1724;
+ $1726 = (~~(($1725)));
+ $1727 = $7;
+ $1728 = ((($1727)) + 168|0);
+ $1729 = HEAP32[$1728>>2]|0;
+ $1730 = (($1729) + ($1726))|0;
+ HEAP32[$1728>>2] = $1730;
+ $1731 = $7;
+ $1732 = ((($1731)) + 168|0);
+ $1733 = HEAP32[$1732>>2]|0;
+ $1734 = (0 - ($1733))|0;
+ $1735 = $7;
+ $1736 = ((($1735)) + 172|0);
+ HEAP32[$1736>>2] = $1734;
+ }
+ $1737 = $7;
+ $1738 = ((($1737)) + 52|0);
+ $1739 = HEAP32[$1738>>2]|0;
+ $1740 = ($1739|0)!=(0);
+ do {
+ if ($1740) {
+ $1741 = $7;
+ $1742 = ((($1741)) + 164|0);
+ $1743 = HEAP32[$1742>>2]|0;
+ $1744 = ($1743|0)<(0);
+ if (!($1744)) {
+ break;
+ }
+ $1745 = $7;
+ $1746 = ((($1745)) + 164|0);
+ $1747 = HEAP32[$1746>>2]|0;
+ $1748 = (0 - ($1747))|0;
+ $1749 = (($1748|0) / 64)&-1;
+ $103 = $1749;
+ $1750 = $51;
+ $1751 = ($1750|0)!=(0);
+ $1752 = $103;
+ $1753 = $1751 ? 0 : $1752;
+ $1754 = $30;
+ $1755 = (($1754) + ($1753))|0;
+ $30 = $1755;
+ $1756 = $7;
+ $1757 = ((($1756)) + 164|0);
+ HEAP32[$1757>>2] = 0;
+ }
+ } while(0);
+ $1758 = $11;
+ $1759 = $30;
+ $1760 = $29;
+ $1761 = (($1759) + ($1760))|0;
+ $1762 = ($1758|0)<($1761|0);
+ if ($1762) {
+ $1763 = $11;
+ $1767 = $1763;
+ } else {
+ $1764 = $30;
+ $1765 = $29;
+ $1766 = (($1764) + ($1765))|0;
+ $1767 = $1766;
+ }
+ $11 = $1767;
+ $1768 = $12;
+ $1769 = $11;
+ _ec_enc_shrink($1768,$1769);
+ }
+ $1770 = $59;
+ $$alloca_mul161 = $1770<<2;
+ $1771 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul161)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul161)|0)+15)&-16)|0);;
+ $1772 = $59;
+ $$alloca_mul163 = $1772<<2;
+ $1773 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul163)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul163)|0)+15)&-16)|0);;
+ $1774 = $59;
+ $$alloca_mul165 = $1774<<2;
+ $1775 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul165)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul165)|0)+15)&-16)|0);;
+ $1776 = $11;
+ $1777 = $1776<<3;
+ $1778 = $1777 << 3;
+ $1779 = $12;
+ $1780 = (_ec_tell_frac($1779)|0);
+ $1781 = (($1778) - ($1780))|0;
+ $1782 = (($1781) - 1)|0;
+ $16 = $1782;
+ $1783 = $23;
+ $1784 = ($1783|0)!=(0);
+ $1785 = $26;
+ $1786 = ($1785|0)>=(2);
+ $or$cond29 = $1784 & $1786;
+ if ($or$cond29) {
+ $1787 = $16;
+ $1788 = $26;
+ $1789 = (($1788) + 2)|0;
+ $1790 = $1789 << 3;
+ $1791 = ($1787|0)>=($1790|0);
+ $1792 = $1791;
+ } else {
+ $1792 = 0;
+ }
+ $1793 = $1792 ? 8 : 0;
+ $49 = $1793;
+ $1794 = $49;
+ $1795 = $16;
+ $1796 = (($1795) - ($1794))|0;
+ $16 = $1796;
+ $1797 = $32;
+ $1798 = (($1797) - 1)|0;
+ $63 = $1798;
+ $1799 = $7;
+ $1800 = ((($1799)) + 120|0);
+ $1801 = HEAP32[$1800>>2]|0;
+ $1802 = ($1801|0)!=(0);
+ if ($1802) {
+ $1803 = $68;
+ $1804 = $25;
+ $1805 = ($1804*32000)|0;
+ $1806 = ($1803|0)<($1805|0);
+ do {
+ if ($1806) {
+ $104 = 13;
+ } else {
+ $1807 = $68;
+ $1808 = $25;
+ $1809 = ($1808*48000)|0;
+ $1810 = ($1807|0)<($1809|0);
+ if ($1810) {
+ $104 = 16;
+ break;
+ }
+ $1811 = $68;
+ $1812 = $25;
+ $1813 = ($1812*60000)|0;
+ $1814 = ($1811|0)<($1813|0);
+ if ($1814) {
+ $104 = 18;
+ break;
+ }
+ $1815 = $68;
+ $1816 = $25;
+ $1817 = ($1816*80000)|0;
+ $1818 = ($1815|0)<($1817|0);
+ if ($1818) {
+ $104 = 19;
+ break;
+ } else {
+ $104 = 20;
+ break;
+ }
+ }
+ } while(0);
+ $1819 = $7;
+ $1820 = ((($1819)) + 120|0);
+ $1821 = ((($1820)) + 24|0);
+ $1822 = HEAP32[$1821>>2]|0;
+ $1823 = $104;
+ $1824 = ($1822|0)>($1823|0);
+ if ($1824) {
+ $1825 = $7;
+ $1826 = ((($1825)) + 120|0);
+ $1827 = ((($1826)) + 24|0);
+ $1828 = HEAP32[$1827>>2]|0;
+ $1830 = $1828;
+ } else {
+ $1829 = $104;
+ $1830 = $1829;
+ }
+ $63 = $1830;
+ }
+ $1831 = $7;
+ $1832 = ((($1831)) + 68|0);
+ $1833 = HEAP32[$1832>>2]|0;
+ $1834 = ($1833|0)!=(0);
+ if ($1834) {
+ $63 = 1;
+ }
+ $1835 = $58;
+ $1836 = $31;
+ $1837 = $32;
+ $1838 = $36;
+ $1839 = $7;
+ $1840 = ((($1839)) + 188|0);
+ $1841 = $16;
+ $1842 = $25;
+ $1843 = $26;
+ $1844 = $12;
+ $1845 = $7;
+ $1846 = ((($1845)) + 92|0);
+ $1847 = HEAP32[$1846>>2]|0;
+ $1848 = $63;
+ $1849 = (_compute_allocation($1835,$1836,$1837,$1373,$1409,$1838,$1840,$39,$1841,$45,$1773,$1771,$1775,$1842,$1843,$1844,1,$1847,$1848)|0);
+ $34 = $1849;
+ $1850 = $7;
+ $1851 = ((($1850)) + 92|0);
+ $1852 = HEAP32[$1851>>2]|0;
+ $1853 = ($1852|0)!=(0);
+ if ($1853) {
+ $1854 = $7;
+ $1855 = ((($1854)) + 92|0);
+ $1856 = HEAP32[$1855>>2]|0;
+ $1857 = (($1856) + 1)|0;
+ $1858 = $7;
+ $1859 = ((($1858)) + 92|0);
+ $1860 = HEAP32[$1859>>2]|0;
+ $1861 = (($1860) - 1)|0;
+ $1862 = $34;
+ $1863 = ($1861|0)>($1862|0);
+ if ($1863) {
+ $1864 = $7;
+ $1865 = ((($1864)) + 92|0);
+ $1866 = HEAP32[$1865>>2]|0;
+ $1867 = (($1866) - 1)|0;
+ $1870 = $1867;
+ } else {
+ $1868 = $34;
+ $1870 = $1868;
+ }
+ $1869 = ($1857|0)<($1870|0);
+ $1871 = $7;
+ $1872 = ((($1871)) + 92|0);
+ $1873 = HEAP32[$1872>>2]|0;
+ do {
+ if ($1869) {
+ $1874 = (($1873) + 1)|0;
+ $2120 = $1874;
+ } else {
+ $1875 = (($1873) - 1)|0;
+ $1876 = $34;
+ $1877 = ($1875|0)>($1876|0);
+ if ($1877) {
+ $1878 = $7;
+ $1879 = ((($1878)) + 92|0);
+ $1880 = HEAP32[$1879>>2]|0;
+ $1881 = (($1880) - 1)|0;
+ $2120 = $1881;
+ break;
+ } else {
+ $1882 = $34;
+ $2120 = $1882;
+ break;
+ }
+ }
+ } while(0);
+ $1883 = $7;
+ $$sink30 = $2120;$$sink32 = $1883;
+ } else {
+ $1884 = $34;
+ $1885 = $7;
+ $$sink30 = $1884;$$sink32 = $1885;
+ }
+ $1886 = ((($$sink32)) + 92|0);
+ HEAP32[$1886>>2] = $$sink30;
+ $1887 = $58;
+ $1888 = $31;
+ $1889 = $32;
+ $1890 = $19;
+ $1891 = $12;
+ $1892 = $25;
+ _quant_fine_energy($1887,$1888,$1889,$1890,$1281,$1771,$1891,$1892);
+ $1893 = $25;
+ $1894 = $59;
+ $1895 = Math_imul($1893, $1894)|0;
+ $$alloca_mul167 = $1895;
+ $1896 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul167)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul167)|0)+15)&-16)|0);;
+ $1897 = $58;
+ $1898 = $31;
+ $1899 = $32;
+ $1900 = $25;
+ $1901 = ($1900|0)==(2);
+ $1902 = $15;
+ $1903 = (($1220) + ($1902<<2)|0);
+ $1904 = $1901 ? $1903 : 0;
+ $1905 = $22;
+ $1906 = $7;
+ $1907 = ((($1906)) + 80|0);
+ $1908 = HEAP32[$1907>>2]|0;
+ $1909 = HEAP32[$39>>2]|0;
+ $1910 = $7;
+ $1911 = ((($1910)) + 188|0);
+ $1912 = HEAP32[$1911>>2]|0;
+ $1913 = $11;
+ $1914 = $1913<<6;
+ $1915 = $49;
+ $1916 = (($1914) - ($1915))|0;
+ $1917 = HEAP32[$45>>2]|0;
+ $1918 = $12;
+ $1919 = $26;
+ $1920 = $34;
+ $1921 = $7;
+ $1922 = ((($1921)) + 76|0);
+ $1923 = $7;
+ $1924 = ((($1923)) + 72|0);
+ $1925 = HEAP32[$1924>>2]|0;
+ _quant_all_bands(1,$1897,$1898,$1899,$1220,$1904,$1896,$695,$1773,$1905,$1908,$1909,$1912,$1226,$1916,$1917,$1918,$1919,$1920,$1922,$1925);
+ $1926 = $49;
+ $1927 = ($1926|0)>(0);
+ if ($1927) {
+ $1928 = $7;
+ $1929 = ((($1928)) + 116|0);
+ $1930 = HEAP32[$1929>>2]|0;
+ $1931 = ($1930|0)<(2);
+ $1932 = $1931&1;
+ $50 = $1932;
+ $1933 = $12;
+ $1934 = $50;
+ _ec_enc_bits($1933,$1934,1);
+ }
+ $1935 = $58;
+ $1936 = $31;
+ $1937 = $32;
+ $1938 = $19;
+ $1939 = $11;
+ $1940 = $1939<<3;
+ $1941 = $12;
+ $1942 = (_ec_tell_50($1941)|0);
+ $1943 = (($1940) - ($1942))|0;
+ $1944 = $12;
+ $1945 = $25;
+ _quant_energy_finalise($1935,$1936,$1937,$1938,$1281,$1771,$1775,$1943,$1944,$1945);
+ $1946 = $51;
+ $1947 = ($1946|0)!=(0);
+ L417: do {
+ if ($1947) {
+ $13 = 0;
+ while(1) {
+ $1948 = $13;
+ $1949 = $25;
+ $1950 = $59;
+ $1951 = Math_imul($1949, $1950)|0;
+ $1952 = ($1948|0)<($1951|0);
+ if (!($1952)) {
+ break L417;
+ }
+ $1953 = $19;
+ $1954 = $13;
+ $1955 = (($1953) + ($1954<<2)|0);
+ HEAPF32[$1955>>2] = -28.0;
+ $1956 = $13;
+ $1957 = (($1956) + 1)|0;
+ $13 = $1957;
+ }
+ }
+ } while(0);
+ $1958 = HEAP32[$37>>2]|0;
+ $1959 = $7;
+ $1960 = ((($1959)) + 104|0);
+ HEAP32[$1960>>2] = $1958;
+ $1961 = +HEAPF32[$38>>2];
+ $1962 = $7;
+ $1963 = ((($1962)) + 108|0);
+ HEAPF32[$1963>>2] = $1961;
+ $1964 = $47;
+ $1965 = $7;
+ $1966 = ((($1965)) + 112|0);
+ HEAP32[$1966>>2] = $1964;
+ $1967 = $24;
+ $1968 = ($1967|0)==(2);
+ $1969 = $25;
+ $1970 = ($1969|0)==(1);
+ $or$cond35 = $1968 & $1970;
+ if ($or$cond35) {
+ $1971 = $19;
+ $1972 = $59;
+ $1973 = (($1971) + ($1972<<2)|0);
+ $1974 = $19;
+ $1975 = $59;
+ $1976 = $1975<<2;
+ $1977 = $19;
+ $1978 = $59;
+ $1979 = (($1977) + ($1978<<2)|0);
+ $1980 = $19;
+ $1981 = $1979;
+ $1982 = $1980;
+ $1983 = (($1981) - ($1982))|0;
+ $1984 = (($1983|0) / 4)&-1;
+ $1985 = 0;
+ $1986 = (($1976) + ($1985))|0;
+ _memcpy(($1973|0),($1974|0),($1986|0))|0;
+ }
+ $1987 = $23;
+ $1988 = ($1987|0)!=(0);
+ L426: do {
+ if ($1988) {
+ $13 = 0;
+ while(1) {
+ $2017 = $13;
+ $2018 = $24;
+ $2019 = $59;
+ $2020 = Math_imul($2018, $2019)|0;
+ $2021 = ($2017|0)<($2020|0);
+ if (!($2021)) {
+ break L426;
+ }
+ $2022 = $20;
+ $2023 = $13;
+ $2024 = (($2022) + ($2023<<2)|0);
+ $2025 = +HEAPF32[$2024>>2];
+ $2026 = $19;
+ $2027 = $13;
+ $2028 = (($2026) + ($2027<<2)|0);
+ $2029 = +HEAPF32[$2028>>2];
+ $2030 = $2025 < $2029;
+ if ($2030) {
+ $2031 = $20;
+ $2032 = $13;
+ $2033 = (($2031) + ($2032<<2)|0);
+ $$sink36 = $2033;
+ } else {
+ $2034 = $19;
+ $2035 = $13;
+ $2036 = (($2034) + ($2035<<2)|0);
+ $$sink36 = $2036;
+ }
+ $2037 = +HEAPF32[$$sink36>>2];
+ $2038 = $20;
+ $2039 = $13;
+ $2040 = (($2038) + ($2039<<2)|0);
+ HEAPF32[$2040>>2] = $2037;
+ $2041 = $13;
+ $2042 = (($2041) + 1)|0;
+ $13 = $2042;
+ }
+ } else {
+ $1989 = $21;
+ $1990 = $20;
+ $1991 = $24;
+ $1992 = $59;
+ $1993 = Math_imul($1991, $1992)|0;
+ $1994 = $1993<<2;
+ $1995 = $21;
+ $1996 = $20;
+ $1997 = $1995;
+ $1998 = $1996;
+ $1999 = (($1997) - ($1998))|0;
+ $2000 = (($1999|0) / 4)&-1;
+ $2001 = 0;
+ $2002 = (($1994) + ($2001))|0;
+ _memcpy(($1989|0),($1990|0),($2002|0))|0;
+ $2003 = $20;
+ $2004 = $19;
+ $2005 = $24;
+ $2006 = $59;
+ $2007 = Math_imul($2005, $2006)|0;
+ $2008 = $2007<<2;
+ $2009 = $20;
+ $2010 = $19;
+ $2011 = $2009;
+ $2012 = $2010;
+ $2013 = (($2011) - ($2012))|0;
+ $2014 = (($2013|0) / 4)&-1;
+ $2015 = 0;
+ $2016 = (($2008) + ($2015))|0;
+ _memcpy(($2003|0),($2004|0),($2016|0))|0;
+ }
+ } while(0);
+ $14 = 0;
+ while(1) {
+ $13 = 0;
+ while(1) {
+ $2043 = $13;
+ $2044 = $31;
+ $2045 = ($2043|0)<($2044|0);
+ if (!($2045)) {
+ break;
+ }
+ $2046 = $19;
+ $2047 = $14;
+ $2048 = $59;
+ $2049 = Math_imul($2047, $2048)|0;
+ $2050 = $13;
+ $2051 = (($2049) + ($2050))|0;
+ $2052 = (($2046) + ($2051<<2)|0);
+ HEAPF32[$2052>>2] = 0.0;
+ $2053 = $21;
+ $2054 = $14;
+ $2055 = $59;
+ $2056 = Math_imul($2054, $2055)|0;
+ $2057 = $13;
+ $2058 = (($2056) + ($2057))|0;
+ $2059 = (($2053) + ($2058<<2)|0);
+ HEAPF32[$2059>>2] = -28.0;
+ $2060 = $20;
+ $2061 = $14;
+ $2062 = $59;
+ $2063 = Math_imul($2061, $2062)|0;
+ $2064 = $13;
+ $2065 = (($2063) + ($2064))|0;
+ $2066 = (($2060) + ($2065<<2)|0);
+ HEAPF32[$2066>>2] = -28.0;
+ $2067 = $13;
+ $2068 = (($2067) + 1)|0;
+ $13 = $2068;
+ }
+ $2069 = $32;
+ $13 = $2069;
+ while(1) {
+ $2070 = $13;
+ $2071 = $59;
+ $2072 = ($2070|0)<($2071|0);
+ if (!($2072)) {
+ break;
+ }
+ $2073 = $19;
+ $2074 = $14;
+ $2075 = $59;
+ $2076 = Math_imul($2074, $2075)|0;
+ $2077 = $13;
+ $2078 = (($2076) + ($2077))|0;
+ $2079 = (($2073) + ($2078<<2)|0);
+ HEAPF32[$2079>>2] = 0.0;
+ $2080 = $21;
+ $2081 = $14;
+ $2082 = $59;
+ $2083 = Math_imul($2081, $2082)|0;
+ $2084 = $13;
+ $2085 = (($2083) + ($2084))|0;
+ $2086 = (($2080) + ($2085<<2)|0);
+ HEAPF32[$2086>>2] = -28.0;
+ $2087 = $20;
+ $2088 = $14;
+ $2089 = $59;
+ $2090 = Math_imul($2088, $2089)|0;
+ $2091 = $13;
+ $2092 = (($2090) + ($2091))|0;
+ $2093 = (($2087) + ($2092<<2)|0);
+ HEAPF32[$2093>>2] = -28.0;
+ $2094 = $13;
+ $2095 = (($2094) + 1)|0;
+ $13 = $2095;
+ }
+ $2096 = $14;
+ $2097 = (($2096) + 1)|0;
+ $14 = $2097;
+ $2098 = $24;
+ $2099 = ($2097|0)<($2098|0);
+ if (!($2099)) {
+ break;
+ }
+ }
+ $2100 = $23;
+ $2101 = ($2100|0)!=(0);
+ $2102 = $64;
+ $2103 = ($2102|0)!=(0);
+ $or$cond39 = $2101 | $2103;
+ $2104 = $7;
+ $2105 = ((($2104)) + 116|0);
+ if ($or$cond39) {
+ $2106 = HEAP32[$2105>>2]|0;
+ $2107 = (($2106) + 1)|0;
+ $$sink40 = $2107;
+ } else {
+ $$sink40 = 0;
+ }
+ HEAP32[$2105>>2] = $$sink40;
+ $2108 = $12;
+ $2109 = ((($2108)) + 28|0);
+ $2110 = HEAP32[$2109>>2]|0;
+ $2111 = $7;
+ $2112 = ((($2111)) + 76|0);
+ HEAP32[$2112>>2] = $2110;
+ $2113 = $12;
+ _ec_enc_done($2113);
+ $2114 = $12;
+ $2115 = (_ec_get_error($2114)|0);
+ $2116 = ($2115|0)!=(0);
+ if ($2116) {
+ $6 = -3;
+ $105 = 1;
+ } else {
+ $2117 = $11;
+ $6 = $2117;
+ $105 = 1;
+ }
+ $2118 = $73;
+ _llvm_stackrestore(($2118|0));
+ $2119 = $6;
+ STACKTOP = sp;return ($2119|0);
}
-function _silk_PLC_Reset($psDec) {
- $psDec = $psDec|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $arrayidx4 = 0, $frame_length = 0, $nb_subfr = 0, $prevGain_Q16 = 0, $prevGain_Q163 = 0, $psDec$addr = 0, $sPLC = 0, $sPLC1 = 0, $sPLC2 = 0, $sPLC5 = 0, $sPLC6 = 0, $shl = 0, $subfr_length = 0;
- var label = 0, sp = 0;
+function _ec_tell_50($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psDec$addr = $psDec;
- $0 = $psDec$addr;
- $frame_length = ((($0)) + 2328|0);
- $1 = HEAP32[$frame_length>>2]|0;
- $shl = $1 << 7;
- $2 = $psDec$addr;
- $sPLC = ((($2)) + 4168|0);
- HEAP32[$sPLC>>2] = $shl;
- $3 = $psDec$addr;
- $sPLC1 = ((($3)) + 4168|0);
- $prevGain_Q16 = ((($sPLC1)) + 72|0);
- HEAP32[$prevGain_Q16>>2] = 65536;
- $4 = $psDec$addr;
- $sPLC2 = ((($4)) + 4168|0);
- $prevGain_Q163 = ((($sPLC2)) + 72|0);
- $arrayidx4 = ((($prevGain_Q163)) + 4|0);
- HEAP32[$arrayidx4>>2] = 65536;
- $5 = $psDec$addr;
- $sPLC5 = ((($5)) + 4168|0);
- $subfr_length = ((($sPLC5)) + 88|0);
- HEAP32[$subfr_length>>2] = 20;
- $6 = $psDec$addr;
- $sPLC6 = ((($6)) + 4168|0);
- $nb_subfr = ((($sPLC6)) + 84|0);
- HEAP32[$nb_subfr>>2] = 2;
- STACKTOP = sp;return;
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 20|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (Math_clz32(($7|0))|0);
+ $9 = (32 - ($8))|0;
+ $10 = (($4) - ($9))|0;
+ STACKTOP = sp;return ($10|0);
}
-function _silk_PLC($psDec,$psDecCtrl,$frame,$lost,$arch) {
- $psDec = $psDec|0;
- $psDecCtrl = $psDecCtrl|0;
- $frame = $frame|0;
- $lost = $lost|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arch$addr = 0, $cmp = 0, $frame$addr = 0, $fs_kHz = 0, $fs_kHz1 = 0;
- var $fs_kHz2 = 0, $fs_kHz4 = 0, $inc = 0, $lossCnt = 0, $lost$addr = 0, $psDec$addr = 0, $psDecCtrl$addr = 0, $sPLC = 0, $sPLC3 = 0, $tobool = 0, label = 0, sp = 0;
+function _celt_maxabs16($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0.0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $psDec$addr = $psDec;
- $psDecCtrl$addr = $psDecCtrl;
- $frame$addr = $frame;
- $lost$addr = $lost;
- $arch$addr = $arch;
- $0 = $psDec$addr;
- $fs_kHz = ((($0)) + 2316|0);
- $1 = HEAP32[$fs_kHz>>2]|0;
- $2 = $psDec$addr;
- $sPLC = ((($2)) + 4168|0);
- $fs_kHz1 = ((($sPLC)) + 80|0);
- $3 = HEAP32[$fs_kHz1>>2]|0;
- $cmp = ($1|0)!=($3|0);
- if ($cmp) {
- $4 = $psDec$addr;
- _silk_PLC_Reset($4);
- $5 = $psDec$addr;
- $fs_kHz2 = ((($5)) + 2316|0);
- $6 = HEAP32[$fs_kHz2>>2]|0;
- $7 = $psDec$addr;
- $sPLC3 = ((($7)) + 4168|0);
- $fs_kHz4 = ((($sPLC3)) + 80|0);
- HEAP32[$fs_kHz4>>2] = $6;
+ $2 = $0;
+ $3 = $1;
+ $5 = 0.0;
+ $6 = 0.0;
+ $4 = 0;
+ while(1) {
+ $7 = $4;
+ $8 = $3;
+ $9 = ($7|0)<($8|0);
+ $10 = $5;
+ if (!($9)) {
+ break;
+ }
+ $11 = $2;
+ $12 = $4;
+ $13 = (($11) + ($12<<2)|0);
+ $14 = +HEAPF32[$13>>2];
+ $15 = $10 > $14;
+ if ($15) {
+ $16 = $5;
+ $21 = $16;
+ } else {
+ $17 = $2;
+ $18 = $4;
+ $19 = (($17) + ($18<<2)|0);
+ $20 = +HEAPF32[$19>>2];
+ $21 = $20;
+ }
+ $5 = $21;
+ $22 = $6;
+ $23 = $2;
+ $24 = $4;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = $22 < $26;
+ if ($27) {
+ $28 = $6;
+ $33 = $28;
+ } else {
+ $29 = $2;
+ $30 = $4;
+ $31 = (($29) + ($30<<2)|0);
+ $32 = +HEAPF32[$31>>2];
+ $33 = $32;
+ }
+ $6 = $33;
+ $34 = $4;
+ $35 = (($34) + 1)|0;
+ $4 = $35;
}
- $8 = $lost$addr;
- $tobool = ($8|0)!=(0);
- $9 = $psDec$addr;
- $10 = $psDecCtrl$addr;
- if ($tobool) {
- $11 = $frame$addr;
- $12 = $arch$addr;
- _silk_PLC_conceal($9,$10,$11,$12);
- $13 = $psDec$addr;
- $lossCnt = ((($13)) + 4160|0);
- $14 = HEAP32[$lossCnt>>2]|0;
- $inc = (($14) + 1)|0;
- HEAP32[$lossCnt>>2] = $inc;
+ $36 = $6;
+ $37 = - $36;
+ $38 = $10 > $37;
+ $39 = $5;
+ $40 = $6;
+ $41 = - $40;
+ $42 = $38 ? $39 : $41;
+ STACKTOP = sp;return (+$42);
+}
+function _run_prefilter($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ var $$alloca_mul = 0, $$alloca_mul24 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0.0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0.0, $138 = 0, $139 = 0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0.0, $147 = 0.0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0.0;
+ var $153 = 0.0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0.0, $169 = 0.0, $17 = 0, $170 = 0;
+ var $171 = 0, $172 = 0.0, $173 = 0.0, $174 = 0, $175 = 0, $176 = 0.0, $177 = 0.0, $178 = 0, $179 = 0, $18 = 0, $180 = 0.0, $181 = 0, $182 = 0.0, $183 = 0.0, $184 = 0, $185 = 0, $186 = 0.0, $187 = 0, $188 = 0.0, $189 = 0.0;
+ var $19 = 0, $190 = 0.0, $191 = 0, $192 = 0.0, $193 = 0.0, $194 = 0.0, $195 = 0.0, $196 = 0, $197 = 0.0, $198 = 0, $199 = 0, $20 = 0, $200 = 0.0, $201 = 0.0, $202 = 0.0, $203 = 0.0, $204 = 0.0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0.0, $209 = 0.0, $21 = 0, $210 = 0.0, $211 = 0.0, $212 = 0.0, $213 = 0.0, $214 = 0.0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0;
+ var $226 = 0, $227 = 0, $228 = 0, $229 = 0.0, $23 = 0, $230 = 0.0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0;
+ var $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0.0, $260 = 0, $261 = 0;
+ var $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0.0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0;
+ var $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0;
+ var $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0.0, $305 = 0.0, $306 = 0, $307 = 0, $308 = 0.0, $309 = 0.0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0;
+ var $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0;
+ var $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0.0, $346 = 0.0, $347 = 0.0, $348 = 0.0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0;
+ var $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0;
+ var $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0;
+ var $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0;
+ var $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0;
+ var $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0;
+ var $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0;
+ var $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0;
+ var $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0.0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0;
+ var $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
+ var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
+ var $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $23 = sp + 40|0;
+ $25 = sp + 32|0;
+ $11 = $0;
+ $12 = $1;
+ $13 = $2;
+ $14 = $3;
+ $15 = $4;
+ $16 = $5;
+ $17 = $6;
+ $18 = $7;
+ $19 = $8;
+ $20 = $9;
+ $21 = $10;
+ $34 = $11;
+ $35 = HEAP32[$34>>2]|0;
+ $24 = $35;
+ $36 = $24;
+ $37 = ((($36)) + 4|0);
+ $38 = HEAP32[$37>>2]|0;
+ $30 = $38;
+ $39 = $14;
+ $40 = $15;
+ $41 = (($40) + 1024)|0;
+ $42 = Math_imul($39, $41)|0;
+ $43 = (_llvm_stacksave()|0);
+ $31 = $43;
+ $$alloca_mul = $42<<2;
+ $44 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ HEAP32[$23>>2] = $44;
+ $45 = $15;
+ $46 = (($45) + 1024)|0;
+ $47 = (($44) + ($46<<2)|0);
+ $48 = ((($23)) + 4|0);
+ HEAP32[$48>>2] = $47;
+ $22 = 0;
+ while(1) {
+ $49 = $22;
+ $50 = (($23) + ($49<<2)|0);
+ $51 = HEAP32[$50>>2]|0;
+ $52 = $13;
+ $53 = $22;
+ $54 = $53<<10;
+ $55 = (($52) + ($54<<2)|0);
+ $56 = $22;
+ $57 = (($23) + ($56<<2)|0);
+ $58 = HEAP32[$57>>2]|0;
+ $59 = $13;
+ $60 = $22;
+ $61 = $60<<10;
+ $62 = (($59) + ($61<<2)|0);
+ $63 = $58;
+ $64 = $62;
+ $65 = (($63) - ($64))|0;
+ $66 = (($65|0) / 4)&-1;
+ $67 = 0;
+ $68 = (4096 + ($67))|0;
+ _memcpy(($51|0),($55|0),($68|0))|0;
+ $69 = $22;
+ $70 = (($23) + ($69<<2)|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = ((($71)) + 4096|0);
+ $73 = $12;
+ $74 = $22;
+ $75 = $15;
+ $76 = $30;
+ $77 = (($75) + ($76))|0;
+ $78 = Math_imul($74, $77)|0;
+ $79 = (($73) + ($78<<2)|0);
+ $80 = $30;
+ $81 = (($79) + ($80<<2)|0);
+ $82 = $15;
+ $83 = $82<<2;
+ $84 = $22;
+ $85 = (($23) + ($84<<2)|0);
+ $86 = HEAP32[$85>>2]|0;
+ $87 = ((($86)) + 4096|0);
+ $88 = $12;
+ $89 = $22;
+ $90 = $15;
+ $91 = $30;
+ $92 = (($90) + ($91))|0;
+ $93 = Math_imul($89, $92)|0;
+ $94 = (($88) + ($93<<2)|0);
+ $95 = $30;
+ $96 = (($94) + ($95<<2)|0);
+ $97 = $87;
+ $98 = $96;
+ $99 = (($97) - ($98))|0;
+ $100 = (($99|0) / 4)&-1;
+ $101 = 0;
+ $102 = (($83) + ($101))|0;
+ _memcpy(($72|0),($81|0),($102|0))|0;
+ $103 = $22;
+ $104 = (($103) + 1)|0;
+ $22 = $104;
+ $105 = $14;
+ $106 = ($104|0)<($105|0);
+ if (!($106)) {
+ break;
+ }
+ }
+ $107 = $20;
+ $108 = ($107|0)!=(0);
+ if ($108) {
+ $109 = $15;
+ $110 = (1024 + ($109))|0;
+ $111 = $110 >> 1;
+ $112 = (_llvm_stacksave()|0);
+ $32 = $112;
+ $$alloca_mul24 = $111<<2;
+ $113 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul24)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul24)|0)+15)&-16)|0);;
+ $114 = $15;
+ $115 = (1024 + ($114))|0;
+ $116 = $14;
+ $117 = $11;
+ $118 = ((($117)) + 72|0);
+ $119 = HEAP32[$118>>2]|0;
+ _pitch_downsample($23,$113,$115,$116,$119);
+ $120 = ((($113)) + 2048|0);
+ $121 = $15;
+ $122 = $11;
+ $123 = ((($122)) + 72|0);
+ $124 = HEAP32[$123>>2]|0;
+ _pitch_search($120,$113,$121,979,$25,$124);
+ $125 = HEAP32[$25>>2]|0;
+ $126 = (1024 - ($125))|0;
+ HEAP32[$25>>2] = $126;
+ $127 = $15;
+ $128 = $11;
+ $129 = ((($128)) + 104|0);
+ $130 = HEAP32[$129>>2]|0;
+ $131 = $11;
+ $132 = ((($131)) + 108|0);
+ $133 = +HEAPF32[$132>>2];
+ $134 = $11;
+ $135 = ((($134)) + 72|0);
+ $136 = HEAP32[$135>>2]|0;
+ $137 = (+_remove_doubling($113,1024,15,$127,$25,$130,$133,$136));
+ $26 = $137;
+ $138 = HEAP32[$25>>2]|0;
+ $139 = ($138|0)>(1022);
+ if ($139) {
+ HEAP32[$25>>2] = 1022;
+ }
+ $140 = $26;
+ $141 = 0.69999998807907104 * $140;
+ $26 = $141;
+ $142 = $11;
+ $143 = ((($142)) + 56|0);
+ $144 = HEAP32[$143>>2]|0;
+ $145 = ($144|0)>(2);
+ if ($145) {
+ $146 = $26;
+ $147 = 0.5 * $146;
+ $26 = $147;
+ }
+ $148 = $11;
+ $149 = ((($148)) + 56|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = ($150|0)>(4);
+ if ($151) {
+ $152 = $26;
+ $153 = 0.5 * $152;
+ $26 = $153;
+ }
+ $154 = $11;
+ $155 = ((($154)) + 56|0);
+ $156 = HEAP32[$155>>2]|0;
+ $157 = ($156|0)>(8);
+ if ($157) {
+ $26 = 0.0;
+ }
+ $158 = $32;
+ _llvm_stackrestore(($158|0));
+ } else {
+ $26 = 0.0;
+ HEAP32[$25>>2] = 15;
+ }
+ $27 = 0.20000000298023224;
+ $159 = HEAP32[$25>>2]|0;
+ $160 = $11;
+ $161 = ((($160)) + 104|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = (($159) - ($162))|0;
+ $164 = (Math_abs(($163|0))|0);
+ $165 = ($164*10)|0;
+ $166 = HEAP32[$25>>2]|0;
+ $167 = ($165|0)>($166|0);
+ if ($167) {
+ $168 = $27;
+ $169 = $168 + 0.20000000298023224;
+ $27 = $169;
+ }
+ $170 = $21;
+ $171 = ($170|0)<(25);
+ if ($171) {
+ $172 = $27;
+ $173 = $172 + 0.10000000149011612;
+ $27 = $173;
+ }
+ $174 = $21;
+ $175 = ($174|0)<(35);
+ if ($175) {
+ $176 = $27;
+ $177 = $176 + 0.10000000149011612;
+ $27 = $177;
+ }
+ $178 = $11;
+ $179 = ((($178)) + 108|0);
+ $180 = +HEAPF32[$179>>2];
+ $181 = $180 > 0.40000000596046448;
+ if ($181) {
+ $182 = $27;
+ $183 = $182 - 0.10000000149011612;
+ $27 = $183;
+ }
+ $184 = $11;
+ $185 = ((($184)) + 108|0);
+ $186 = +HEAPF32[$185>>2];
+ $187 = $186 > 0.55000001192092896;
+ if ($187) {
+ $188 = $27;
+ $189 = $188 - 0.10000000149011612;
+ $27 = $189;
+ }
+ $190 = $27;
+ $191 = $190 > 0.20000000298023224;
+ $192 = $27;
+ $193 = $191 ? $192 : 0.20000000298023224;
+ $27 = $193;
+ $194 = $26;
+ $195 = $27;
+ $196 = $194 < $195;
+ if ($196) {
+ $26 = 0.0;
+ $28 = 0;
+ $29 = 0;
+ } else {
+ $197 = $26;
+ $198 = $11;
+ $199 = ((($198)) + 108|0);
+ $200 = +HEAPF32[$199>>2];
+ $201 = $197 - $200;
+ $202 = $201;
+ $203 = (+Math_abs((+$202)));
+ $204 = $203;
+ $205 = $204 < 0.10000000149011612;
+ if ($205) {
+ $206 = $11;
+ $207 = ((($206)) + 108|0);
+ $208 = +HEAPF32[$207>>2];
+ $26 = $208;
+ }
+ $209 = $26;
+ $210 = $209 * 32.0;
+ $211 = $210 / 3.0;
+ $212 = 0.5 + $211;
+ $213 = $212;
+ $214 = (+Math_floor((+$213)));
+ $215 = (~~(($214)));
+ $216 = (($215) - 1)|0;
+ $29 = $216;
+ $217 = $29;
+ $218 = (7)<($217|0);
+ $219 = $29;
+ $220 = $218 ? 7 : $219;
+ $221 = (0)>($220|0);
+ if ($221) {
+ $226 = 0;
+ } else {
+ $222 = $29;
+ $223 = (7)<($222|0);
+ $224 = $29;
+ $225 = $223 ? 7 : $224;
+ $226 = $225;
+ }
+ $29 = $226;
+ $227 = $29;
+ $228 = (($227) + 1)|0;
+ $229 = (+($228|0));
+ $230 = 0.09375 * $229;
+ $26 = $230;
+ $28 = 1;
+ }
+ $22 = 0;
+ while(1) {
+ $231 = $24;
+ $232 = ((($231)) + 44|0);
+ $233 = HEAP32[$232>>2]|0;
+ $234 = $30;
+ $235 = (($233) - ($234))|0;
+ $33 = $235;
+ $236 = $11;
+ $237 = ((($236)) + 104|0);
+ $238 = HEAP32[$237>>2]|0;
+ $239 = ($238|0)>(15);
+ if ($239) {
+ $240 = $11;
+ $241 = ((($240)) + 104|0);
+ $242 = HEAP32[$241>>2]|0;
+ $245 = $242;
+ } else {
+ $245 = 15;
+ }
+ $243 = $11;
+ $244 = ((($243)) + 104|0);
+ HEAP32[$244>>2] = $245;
+ $246 = $12;
+ $247 = $22;
+ $248 = $15;
+ $249 = $30;
+ $250 = (($248) + ($249))|0;
+ $251 = Math_imul($247, $250)|0;
+ $252 = (($246) + ($251<<2)|0);
+ $253 = $11;
+ $254 = ((($253)) + 200|0);
+ $255 = $22;
+ $256 = $30;
+ $257 = Math_imul($255, $256)|0;
+ $258 = (($254) + ($257<<2)|0);
+ $259 = $30;
+ $260 = $259<<2;
+ $261 = $12;
+ $262 = $22;
+ $263 = $15;
+ $264 = $30;
+ $265 = (($263) + ($264))|0;
+ $266 = Math_imul($262, $265)|0;
+ $267 = (($261) + ($266<<2)|0);
+ $268 = $11;
+ $269 = ((($268)) + 200|0);
+ $270 = $22;
+ $271 = $30;
+ $272 = Math_imul($270, $271)|0;
+ $273 = (($269) + ($272<<2)|0);
+ $274 = $267;
+ $275 = $273;
+ $276 = (($274) - ($275))|0;
+ $277 = (($276|0) / 4)&-1;
+ $278 = 0;
+ $279 = (($260) + ($278))|0;
+ _memcpy(($252|0),($258|0),($279|0))|0;
+ $280 = $33;
+ $281 = ($280|0)!=(0);
+ if ($281) {
+ $282 = $12;
+ $283 = $22;
+ $284 = $15;
+ $285 = $30;
+ $286 = (($284) + ($285))|0;
+ $287 = Math_imul($283, $286)|0;
+ $288 = (($282) + ($287<<2)|0);
+ $289 = $30;
+ $290 = (($288) + ($289<<2)|0);
+ $291 = $22;
+ $292 = (($23) + ($291<<2)|0);
+ $293 = HEAP32[$292>>2]|0;
+ $294 = ((($293)) + 4096|0);
+ $295 = $11;
+ $296 = ((($295)) + 104|0);
+ $297 = HEAP32[$296>>2]|0;
+ $298 = $11;
+ $299 = ((($298)) + 104|0);
+ $300 = HEAP32[$299>>2]|0;
+ $301 = $33;
+ $302 = $11;
+ $303 = ((($302)) + 108|0);
+ $304 = +HEAPF32[$303>>2];
+ $305 = - $304;
+ $306 = $11;
+ $307 = ((($306)) + 108|0);
+ $308 = +HEAPF32[$307>>2];
+ $309 = - $308;
+ $310 = $11;
+ $311 = ((($310)) + 112|0);
+ $312 = HEAP32[$311>>2]|0;
+ $313 = $11;
+ $314 = ((($313)) + 112|0);
+ $315 = HEAP32[$314>>2]|0;
+ $316 = $11;
+ $317 = ((($316)) + 72|0);
+ $318 = HEAP32[$317>>2]|0;
+ _comb_filter($290,$294,$297,$300,$301,$305,$309,$312,$315,0,0,$318);
+ }
+ $319 = $12;
+ $320 = $22;
+ $321 = $15;
+ $322 = $30;
+ $323 = (($321) + ($322))|0;
+ $324 = Math_imul($320, $323)|0;
+ $325 = (($319) + ($324<<2)|0);
+ $326 = $30;
+ $327 = (($325) + ($326<<2)|0);
+ $328 = $33;
+ $329 = (($327) + ($328<<2)|0);
+ $330 = $22;
+ $331 = (($23) + ($330<<2)|0);
+ $332 = HEAP32[$331>>2]|0;
+ $333 = ((($332)) + 4096|0);
+ $334 = $33;
+ $335 = (($333) + ($334<<2)|0);
+ $336 = $11;
+ $337 = ((($336)) + 104|0);
+ $338 = HEAP32[$337>>2]|0;
+ $339 = HEAP32[$25>>2]|0;
+ $340 = $15;
+ $341 = $33;
+ $342 = (($340) - ($341))|0;
+ $343 = $11;
+ $344 = ((($343)) + 108|0);
+ $345 = +HEAPF32[$344>>2];
+ $346 = - $345;
+ $347 = $26;
+ $348 = - $347;
+ $349 = $11;
+ $350 = ((($349)) + 112|0);
+ $351 = HEAP32[$350>>2]|0;
+ $352 = $16;
+ $353 = $24;
+ $354 = ((($353)) + 60|0);
+ $355 = HEAP32[$354>>2]|0;
+ $356 = $30;
+ $357 = $11;
+ $358 = ((($357)) + 72|0);
+ $359 = HEAP32[$358>>2]|0;
+ _comb_filter($329,$335,$338,$339,$342,$346,$348,$351,$352,$355,$356,$359);
+ $360 = $11;
+ $361 = ((($360)) + 200|0);
+ $362 = $22;
+ $363 = $30;
+ $364 = Math_imul($362, $363)|0;
+ $365 = (($361) + ($364<<2)|0);
+ $366 = $12;
+ $367 = $22;
+ $368 = $15;
+ $369 = $30;
+ $370 = (($368) + ($369))|0;
+ $371 = Math_imul($367, $370)|0;
+ $372 = (($366) + ($371<<2)|0);
+ $373 = $15;
+ $374 = (($372) + ($373<<2)|0);
+ $375 = $30;
+ $376 = $375<<2;
+ $377 = $11;
+ $378 = ((($377)) + 200|0);
+ $379 = $22;
+ $380 = $30;
+ $381 = Math_imul($379, $380)|0;
+ $382 = (($378) + ($381<<2)|0);
+ $383 = $12;
+ $384 = $22;
+ $385 = $15;
+ $386 = $30;
+ $387 = (($385) + ($386))|0;
+ $388 = Math_imul($384, $387)|0;
+ $389 = (($383) + ($388<<2)|0);
+ $390 = $15;
+ $391 = (($389) + ($390<<2)|0);
+ $392 = $382;
+ $393 = $391;
+ $394 = (($392) - ($393))|0;
+ $395 = (($394|0) / 4)&-1;
+ $396 = 0;
+ $397 = (($376) + ($396))|0;
+ _memcpy(($365|0),($374|0),($397|0))|0;
+ $398 = $15;
+ $399 = ($398|0)>(1024);
+ $400 = $13;
+ $401 = $22;
+ $402 = $401<<10;
+ $403 = (($400) + ($402<<2)|0);
+ if ($399) {
+ $404 = $22;
+ $405 = (($23) + ($404<<2)|0);
+ $406 = HEAP32[$405>>2]|0;
+ $407 = $15;
+ $408 = (($406) + ($407<<2)|0);
+ $409 = $13;
+ $410 = $22;
+ $411 = $410<<10;
+ $412 = (($409) + ($411<<2)|0);
+ $413 = $22;
+ $414 = (($23) + ($413<<2)|0);
+ $415 = HEAP32[$414>>2]|0;
+ $416 = $15;
+ $417 = (($415) + ($416<<2)|0);
+ $418 = $412;
+ $419 = $417;
+ $420 = (($418) - ($419))|0;
+ $421 = (($420|0) / 4)&-1;
+ $422 = 0;
+ $423 = (4096 + ($422))|0;
+ _memmove(($403|0),($408|0),($423|0))|0;
+ } else {
+ $424 = $13;
+ $425 = $22;
+ $426 = $425<<10;
+ $427 = (($424) + ($426<<2)|0);
+ $428 = $15;
+ $429 = (($427) + ($428<<2)|0);
+ $430 = $15;
+ $431 = (1024 - ($430))|0;
+ $432 = $431<<2;
+ $433 = $13;
+ $434 = $22;
+ $435 = $434<<10;
+ $436 = (($433) + ($435<<2)|0);
+ $437 = $13;
+ $438 = $22;
+ $439 = $438<<10;
+ $440 = (($437) + ($439<<2)|0);
+ $441 = $15;
+ $442 = (($440) + ($441<<2)|0);
+ $443 = $436;
+ $444 = $442;
+ $445 = (($443) - ($444))|0;
+ $446 = (($445|0) / 4)&-1;
+ $447 = 0;
+ $448 = (($432) + ($447))|0;
+ _memmove(($403|0),($429|0),($448|0))|0;
+ $449 = $13;
+ $450 = $22;
+ $451 = $450<<10;
+ $452 = (($449) + ($451<<2)|0);
+ $453 = ((($452)) + 4096|0);
+ $454 = $15;
+ $455 = (0 - ($454))|0;
+ $456 = (($453) + ($455<<2)|0);
+ $457 = $22;
+ $458 = (($23) + ($457<<2)|0);
+ $459 = HEAP32[$458>>2]|0;
+ $460 = ((($459)) + 4096|0);
+ $461 = $15;
+ $462 = $461<<2;
+ $463 = $13;
+ $464 = $22;
+ $465 = $464<<10;
+ $466 = (($463) + ($465<<2)|0);
+ $467 = ((($466)) + 4096|0);
+ $468 = $15;
+ $469 = (0 - ($468))|0;
+ $470 = (($467) + ($469<<2)|0);
+ $471 = $22;
+ $472 = (($23) + ($471<<2)|0);
+ $473 = HEAP32[$472>>2]|0;
+ $474 = ((($473)) + 4096|0);
+ $475 = $470;
+ $476 = $474;
+ $477 = (($475) - ($476))|0;
+ $478 = (($477|0) / 4)&-1;
+ $479 = 0;
+ $480 = (($462) + ($479))|0;
+ _memmove(($456|0),($460|0),($480|0))|0;
+ }
+ $481 = $22;
+ $482 = (($481) + 1)|0;
+ $22 = $482;
+ $483 = $14;
+ $484 = ($482|0)<($483|0);
+ if (!($484)) {
+ break;
+ }
+ }
+ $485 = $26;
+ $486 = $18;
+ HEAPF32[$486>>2] = $485;
+ $487 = HEAP32[$25>>2]|0;
+ $488 = $17;
+ HEAP32[$488>>2] = $487;
+ $489 = $29;
+ $490 = $19;
+ HEAP32[$490>>2] = $489;
+ $491 = $28;
+ $492 = $31;
+ _llvm_stackrestore(($492|0));
+ STACKTOP = sp;return ($491|0);
+}
+function _transient_analysis($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$alloca_mul = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0.0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0.0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0.0, $123 = 0, $124 = 0.0, $125 = 0.0, $126 = 0.0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0.0, $133 = 0.0, $134 = 0;
+ var $135 = 0.0, $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0.0, $143 = 0.0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0.0, $149 = 0.0, $15 = 0, $150 = 0, $151 = 0, $152 = 0.0;
+ var $153 = 0.0, $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0, $158 = 0.0, $159 = 0.0, $16 = 0.0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0.0, $164 = 0.0, $165 = 0.0, $166 = 0.0, $167 = 0, $168 = 0.0, $169 = 0.0, $17 = 0, $170 = 0.0;
+ var $171 = 0, $172 = 0, $173 = 0.0, $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0, $189 = 0.0;
+ var $19 = 0.0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0, $209 = 0, $21 = 0.0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0.0, $219 = 0.0, $22 = 0.0, $220 = 0.0, $221 = 0.0, $222 = 0, $223 = 0, $224 = 0, $225 = 0.0;
+ var $226 = 0.0, $227 = 0.0, $228 = 0.0, $229 = 0.0, $23 = 0.0, $230 = 0.0, $231 = 0, $232 = 0.0, $233 = 0.0, $234 = 0.0, $235 = 0.0, $236 = 0.0, $237 = 0, $238 = 0.0, $239 = 0, $24 = 0.0, $240 = 0.0, $241 = 0.0, $242 = 0.0, $243 = 0.0;
+ var $244 = 0.0, $245 = 0.0, $246 = 0.0, $247 = 0.0, $248 = 0, $249 = 0, $25 = 0.0, $250 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
+ var $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0;
+ var $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0;
+ var $75 = 0.0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0.0;
+ var $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0, dest = 0, label = 0, sp = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $13 = 0;
+ $14 = 0;
+ $27 = $6;
+ $28 = (_llvm_stacksave()|0);
+ $18 = $28;
+ $$alloca_mul = $27<<2;
+ $29 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $30 = $6;
+ $31 = (($30|0) / 2)&-1;
+ $17 = $31;
+ $15 = 0;
+ while(1) {
+ $32 = $15;
+ $33 = $7;
+ $34 = ($32|0)<($33|0);
+ if (!($34)) {
+ break;
+ }
+ $20 = 0;
+ $11 = 0.0;
+ $12 = 0.0;
+ $10 = 0;
+ while(1) {
+ $35 = $10;
+ $36 = $6;
+ $37 = ($35|0)<($36|0);
+ if (!($37)) {
+ break;
+ }
+ $38 = $5;
+ $39 = $10;
+ $40 = $15;
+ $41 = $6;
+ $42 = Math_imul($40, $41)|0;
+ $43 = (($39) + ($42))|0;
+ $44 = (($38) + ($43<<2)|0);
+ $45 = +HEAPF32[$44>>2];
+ $23 = $45;
+ $46 = $11;
+ $47 = $23;
+ $48 = $46 + $47;
+ $24 = $48;
+ $49 = $12;
+ $50 = $24;
+ $51 = $49 + $50;
+ $52 = $23;
+ $53 = 2.0 * $52;
+ $54 = $51 - $53;
+ $11 = $54;
+ $55 = $23;
+ $56 = $24;
+ $57 = 0.5 * $56;
+ $58 = $55 - $57;
+ $12 = $58;
+ $59 = $24;
+ $60 = $10;
+ $61 = (($29) + ($60<<2)|0);
+ HEAPF32[$61>>2] = $59;
+ $62 = $10;
+ $63 = (($62) + 1)|0;
+ $10 = $63;
+ }
+ dest=$29; stop=dest+48|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
+ $19 = 0.0;
+ $11 = 0.0;
+ $10 = 0;
+ while(1) {
+ $64 = $10;
+ $65 = $17;
+ $66 = ($64|0)<($65|0);
+ if (!($66)) {
+ break;
+ }
+ $67 = $10;
+ $68 = $67<<1;
+ $69 = (($29) + ($68<<2)|0);
+ $70 = +HEAPF32[$69>>2];
+ $71 = $10;
+ $72 = $71<<1;
+ $73 = (($29) + ($72<<2)|0);
+ $74 = +HEAPF32[$73>>2];
+ $75 = $70 * $74;
+ $76 = $10;
+ $77 = $76<<1;
+ $78 = (($77) + 1)|0;
+ $79 = (($29) + ($78<<2)|0);
+ $80 = +HEAPF32[$79>>2];
+ $81 = $10;
+ $82 = $81<<1;
+ $83 = (($82) + 1)|0;
+ $84 = (($29) + ($83<<2)|0);
+ $85 = +HEAPF32[$84>>2];
+ $86 = $80 * $85;
+ $87 = $75 + $86;
+ $25 = $87;
+ $88 = $25;
+ $89 = $19;
+ $90 = $89 + $88;
+ $19 = $90;
+ $91 = $11;
+ $92 = $25;
+ $93 = $11;
+ $94 = $92 - $93;
+ $95 = 0.0625 * $94;
+ $96 = $91 + $95;
+ $97 = $10;
+ $98 = (($29) + ($97<<2)|0);
+ HEAPF32[$98>>2] = $96;
+ $99 = $10;
+ $100 = (($29) + ($99<<2)|0);
+ $101 = +HEAPF32[$100>>2];
+ $11 = $101;
+ $102 = $10;
+ $103 = (($102) + 1)|0;
+ $10 = $103;
+ }
+ $11 = 0.0;
+ $22 = 0.0;
+ $104 = $17;
+ $105 = (($104) - 1)|0;
+ $10 = $105;
+ while(1) {
+ $106 = $10;
+ $107 = ($106|0)>=(0);
+ if (!($107)) {
+ break;
+ }
+ $108 = $11;
+ $109 = $10;
+ $110 = (($29) + ($109<<2)|0);
+ $111 = +HEAPF32[$110>>2];
+ $112 = $11;
+ $113 = $111 - $112;
+ $114 = 0.125 * $113;
+ $115 = $108 + $114;
+ $116 = $10;
+ $117 = (($29) + ($116<<2)|0);
+ HEAPF32[$117>>2] = $115;
+ $118 = $10;
+ $119 = (($29) + ($118<<2)|0);
+ $120 = +HEAPF32[$119>>2];
+ $11 = $120;
+ $121 = $22;
+ $122 = $11;
+ $123 = $121 > $122;
+ $124 = $22;
+ $125 = $11;
+ $126 = $123 ? $124 : $125;
+ $22 = $126;
+ $127 = $10;
+ $128 = (($127) + -1)|0;
+ $10 = $128;
+ }
+ $129 = $19;
+ $130 = $22;
+ $131 = $129 * $130;
+ $132 = $131;
+ $133 = $132 * 0.5;
+ $134 = $17;
+ $135 = (+($134|0));
+ $136 = $133 * $135;
+ $137 = (+Math_sqrt((+$136)));
+ $138 = $137;
+ $19 = $138;
+ $139 = $17;
+ $140 = (+($139|0));
+ $141 = $19;
+ $142 = 1.0000000036274937E-15 + $141;
+ $143 = $140 / $142;
+ $21 = $143;
+ $20 = 0;
+ $10 = 12;
+ while(1) {
+ $144 = $10;
+ $145 = $17;
+ $146 = (($145) - 5)|0;
+ $147 = ($144|0)<($146|0);
+ if (!($147)) {
+ break;
+ }
+ $148 = $21;
+ $149 = 64.0 * $148;
+ $150 = $10;
+ $151 = (($29) + ($150<<2)|0);
+ $152 = +HEAPF32[$151>>2];
+ $153 = $152 + 1.0000000036274937E-15;
+ $154 = $149 * $153;
+ $155 = $154;
+ $156 = (+Math_floor((+$155)));
+ $157 = 127.0 < $156;
+ if ($157) {
+ $168 = 127.0;
+ } else {
+ $158 = $21;
+ $159 = 64.0 * $158;
+ $160 = $10;
+ $161 = (($29) + ($160<<2)|0);
+ $162 = +HEAPF32[$161>>2];
+ $163 = $162 + 1.0000000036274937E-15;
+ $164 = $159 * $163;
+ $165 = $164;
+ $166 = (+Math_floor((+$165)));
+ $168 = $166;
+ }
+ $167 = 0.0 > $168;
+ if ($167) {
+ $189 = 0.0;
+ } else {
+ $169 = $21;
+ $170 = 64.0 * $169;
+ $171 = $10;
+ $172 = (($29) + ($171<<2)|0);
+ $173 = +HEAPF32[$172>>2];
+ $174 = $173 + 1.0000000036274937E-15;
+ $175 = $170 * $174;
+ $176 = $175;
+ $177 = (+Math_floor((+$176)));
+ $178 = 127.0 < $177;
+ if ($178) {
+ $189 = 127.0;
+ } else {
+ $179 = $21;
+ $180 = 64.0 * $179;
+ $181 = $10;
+ $182 = (($29) + ($181<<2)|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $183 + 1.0000000036274937E-15;
+ $185 = $180 * $184;
+ $186 = $185;
+ $187 = (+Math_floor((+$186)));
+ $189 = $187;
+ }
+ }
+ $188 = (~~(($189)));
+ $26 = $188;
+ $190 = $26;
+ $191 = (25838 + ($190)|0);
+ $192 = HEAP8[$191>>0]|0;
+ $193 = $192&255;
+ $194 = $20;
+ $195 = (($194) + ($193))|0;
+ $20 = $195;
+ $196 = $10;
+ $197 = (($196) + 4)|0;
+ $10 = $197;
+ }
+ $198 = $20;
+ $199 = $198<<6;
+ $200 = $199<<2;
+ $201 = $17;
+ $202 = (($201) - 17)|0;
+ $203 = ($202*6)|0;
+ $204 = (($200|0) / ($203|0))&-1;
+ $20 = $204;
+ $205 = $20;
+ $206 = $14;
+ $207 = ($205|0)>($206|0);
+ if ($207) {
+ $208 = $15;
+ $209 = $9;
+ HEAP32[$209>>2] = $208;
+ $210 = $20;
+ $14 = $210;
+ }
+ $211 = $15;
+ $212 = (($211) + 1)|0;
+ $15 = $212;
+ }
+ $213 = $14;
+ $214 = ($213|0)>(200);
+ $215 = $214&1;
+ $13 = $215;
+ $216 = $14;
+ $217 = ($216*27)|0;
+ $218 = (+($217|0));
+ $219 = (+Math_sqrt((+$218)));
+ $220 = $219;
+ $221 = $220 - 42.0;
+ $222 = 0.0 > $221;
+ if ($222) {
+ $229 = 0.0;
+ } else {
+ $223 = $14;
+ $224 = ($223*27)|0;
+ $225 = (+($224|0));
+ $226 = (+Math_sqrt((+$225)));
+ $227 = $226;
+ $228 = $227 - 42.0;
+ $229 = $228;
+ }
+ $16 = $229;
+ $230 = $16;
+ $231 = 163.0 < $230;
+ $232 = $16;
+ $233 = $231 ? 163.0 : $232;
+ $234 = 0.0068999999202787876 * $233;
+ $235 = $234;
+ $236 = $235 - 0.13900000000000001;
+ $237 = 0.0 > $236;
+ if ($237) {
+ $245 = 0.0;
+ $246 = (+Math_sqrt((+$245)));
+ $247 = $246;
+ $248 = $8;
+ HEAPF32[$248>>2] = $247;
+ $249 = $13;
+ $250 = $18;
+ _llvm_stackrestore(($250|0));
+ STACKTOP = sp;return ($249|0);
+ }
+ $238 = $16;
+ $239 = 163.0 < $238;
+ $240 = $16;
+ $241 = $239 ? 163.0 : $240;
+ $242 = 0.0068999999202787876 * $241;
+ $243 = $242;
+ $244 = $243 - 0.13900000000000001;
+ $245 = $244;
+ $246 = (+Math_sqrt((+$245)));
+ $247 = $246;
+ $248 = $8;
+ HEAPF32[$248>>2] = $247;
+ $249 = $13;
+ $250 = $18;
+ _llvm_stackrestore(($250|0));
+ STACKTOP = sp;return ($249|0);
+}
+function _compute_mdcts($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0.0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0;
+ var $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $26 = $9;
+ $27 = ((($26)) + 4|0);
+ $28 = HEAP32[$27>>2]|0;
+ $18 = $28;
+ $29 = $10;
+ $30 = ($29|0)!=(0);
+ if ($30) {
+ $31 = $10;
+ $20 = $31;
+ $32 = $9;
+ $33 = ((($32)) + 44|0);
+ $34 = HEAP32[$33>>2]|0;
+ $19 = $34;
+ $35 = $9;
+ $36 = ((($35)) + 36|0);
+ $37 = HEAP32[$36>>2]|0;
+ $21 = $37;
+ } else {
+ $20 = 1;
+ $38 = $9;
+ $39 = ((($38)) + 44|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = $15;
+ $42 = $40 << $41;
+ $19 = $42;
+ $43 = $9;
+ $44 = ((($43)) + 36|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = $15;
+ $47 = (($45) - ($46))|0;
+ $21 = $47;
+ }
+ $24 = 0;
+ while(1) {
+ $23 = 0;
+ while(1) {
+ $48 = $23;
+ $49 = $20;
+ $50 = ($48|0)<($49|0);
+ if (!($50)) {
+ break;
+ }
+ $51 = $9;
+ $52 = ((($51)) + 64|0);
+ $53 = $11;
+ $54 = $24;
+ $55 = $20;
+ $56 = $19;
+ $57 = Math_imul($55, $56)|0;
+ $58 = $18;
+ $59 = (($57) + ($58))|0;
+ $60 = Math_imul($54, $59)|0;
+ $61 = (($53) + ($60<<2)|0);
+ $62 = $23;
+ $63 = $19;
+ $64 = Math_imul($62, $63)|0;
+ $65 = (($61) + ($64<<2)|0);
+ $66 = $12;
+ $67 = $23;
+ $68 = $24;
+ $69 = $19;
+ $70 = Math_imul($68, $69)|0;
+ $71 = $20;
+ $72 = Math_imul($70, $71)|0;
+ $73 = (($67) + ($72))|0;
+ $74 = (($66) + ($73<<2)|0);
+ $75 = $9;
+ $76 = ((($75)) + 60|0);
+ $77 = HEAP32[$76>>2]|0;
+ $78 = $18;
+ $79 = $21;
+ $80 = $20;
+ $81 = $17;
+ _clt_mdct_forward_c($52,$65,$74,$77,$78,$79,$80,$81);
+ $82 = $23;
+ $83 = (($82) + 1)|0;
+ $23 = $83;
+ }
+ $84 = $24;
+ $85 = (($84) + 1)|0;
+ $24 = $85;
+ $86 = $14;
+ $87 = ($85|0)<($86|0);
+ if (!($87)) {
+ break;
+ }
+ }
+ $88 = $14;
+ $89 = ($88|0)==(2);
+ $90 = $13;
+ $91 = ($90|0)==(1);
+ $or$cond = $89 & $91;
+ L12: do {
+ if ($or$cond) {
+ $22 = 0;
+ while(1) {
+ $92 = $22;
+ $93 = $20;
+ $94 = $19;
+ $95 = Math_imul($93, $94)|0;
+ $96 = ($92|0)<($95|0);
+ if (!($96)) {
+ break L12;
+ }
+ $97 = $12;
+ $98 = $22;
+ $99 = (($97) + ($98<<2)|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = 0.5 * $100;
+ $102 = $12;
+ $103 = $20;
+ $104 = $19;
+ $105 = Math_imul($103, $104)|0;
+ $106 = $22;
+ $107 = (($105) + ($106))|0;
+ $108 = (($102) + ($107<<2)|0);
+ $109 = +HEAPF32[$108>>2];
+ $110 = 0.5 * $109;
+ $111 = $101 + $110;
+ $112 = $12;
+ $113 = $22;
+ $114 = (($112) + ($113<<2)|0);
+ HEAPF32[$114>>2] = $111;
+ $115 = $22;
+ $116 = (($115) + 1)|0;
+ $22 = $116;
+ }
+ }
+ } while(0);
+ $117 = $16;
+ $118 = ($117|0)!=(1);
+ if (!($118)) {
+ STACKTOP = sp;return;
+ }
+ $24 = 0;
+ while(1) {
+ $119 = $20;
+ $120 = $19;
+ $121 = Math_imul($119, $120)|0;
+ $122 = $16;
+ $123 = (($121|0) / ($122|0))&-1;
+ $25 = $123;
+ $22 = 0;
+ while(1) {
+ $124 = $22;
+ $125 = $25;
+ $126 = ($124|0)<($125|0);
+ if (!($126)) {
+ break;
+ }
+ $127 = $16;
+ $128 = (+($127|0));
+ $129 = $12;
+ $130 = $24;
+ $131 = $20;
+ $132 = Math_imul($130, $131)|0;
+ $133 = $19;
+ $134 = Math_imul($132, $133)|0;
+ $135 = $22;
+ $136 = (($134) + ($135))|0;
+ $137 = (($129) + ($136<<2)|0);
+ $138 = +HEAPF32[$137>>2];
+ $139 = $138 * $128;
+ HEAPF32[$137>>2] = $139;
+ $140 = $22;
+ $141 = (($140) + 1)|0;
+ $22 = $141;
+ }
+ $142 = $12;
+ $143 = $24;
+ $144 = $20;
+ $145 = Math_imul($143, $144)|0;
+ $146 = $19;
+ $147 = Math_imul($145, $146)|0;
+ $148 = $25;
+ $149 = (($147) + ($148))|0;
+ $150 = (($142) + ($149<<2)|0);
+ $151 = $20;
+ $152 = $19;
+ $153 = Math_imul($151, $152)|0;
+ $154 = $25;
+ $155 = (($153) - ($154))|0;
+ $156 = $155<<2;
+ _memset(($150|0),0,($156|0))|0;
+ $157 = $24;
+ $158 = (($157) + 1)|0;
+ $24 = $158;
+ $159 = $13;
+ $160 = ($158|0)<($159|0);
+ if (!($160)) {
+ break;
+ }
+ }
+ STACKTOP = sp;return;
+}
+function _patch_transient_decision($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $$sink1 = 0, $$sink2 = 0, $$sink3 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0;
+ var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0.0;
+ var $133 = 0, $134 = 0, $135 = 0, $136 = 0.0, $137 = 0.0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0.0, $145 = 0.0, $146 = 0, $147 = 0, $148 = 0.0, $149 = 0, $15 = 0, $150 = 0;
+ var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0.0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0;
+ var $17 = 0.0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0.0, $176 = 0.0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0;
+ var $188 = 0.0, $189 = 0, $19 = 0, $190 = 0.0, $191 = 0.0, $192 = 0.0, $193 = 0.0, $194 = 0.0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0.0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
+ var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0.0, $212 = 0.0, $213 = 0.0, $214 = 0, $215 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0;
+ var $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $50 = 0;
+ var $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
+ $15 = sp + 8|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $14 = 0.0;
+ $18 = $11;
+ $19 = ($18|0)==(1);
+ $20 = $7;
+ $21 = $9;
+ $22 = (($20) + ($21<<2)|0);
+ $23 = +HEAPF32[$22>>2];
+ L1: do {
+ if ($19) {
+ $24 = $9;
+ $25 = (($15) + ($24<<2)|0);
+ HEAPF32[$25>>2] = $23;
+ $26 = $9;
+ $27 = (($26) + 1)|0;
+ $12 = $27;
+ while(1) {
+ $28 = $12;
+ $29 = $10;
+ $30 = ($28|0)<($29|0);
+ if (!($30)) {
+ break L1;
+ }
+ $31 = $12;
+ $32 = (($31) - 1)|0;
+ $33 = (($15) + ($32<<2)|0);
+ $34 = +HEAPF32[$33>>2];
+ $35 = $34 - 1.0;
+ $36 = $7;
+ $37 = $12;
+ $38 = (($36) + ($37<<2)|0);
+ $39 = +HEAPF32[$38>>2];
+ $40 = $35 > $39;
+ if ($40) {
+ $41 = $12;
+ $42 = (($41) - 1)|0;
+ $43 = (($15) + ($42<<2)|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $44 - 1.0;
+ $52 = $45;
+ } else {
+ $46 = $7;
+ $47 = $12;
+ $48 = (($46) + ($47<<2)|0);
+ $49 = +HEAPF32[$48>>2];
+ $52 = $49;
+ }
+ $50 = $12;
+ $51 = (($15) + ($50<<2)|0);
+ HEAPF32[$51>>2] = $52;
+ $53 = $12;
+ $54 = (($53) + 1)|0;
+ $12 = $54;
+ }
+ } else {
+ $55 = $7;
+ $56 = $9;
+ $57 = $8;
+ $58 = (($56) + ($57))|0;
+ $59 = (($55) + ($58<<2)|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $23 > $60;
+ $62 = $7;
+ $63 = $9;
+ $64 = $8;
+ $65 = (($63) + ($64))|0;
+ $$sink1 = $61 ? $63 : $65;
+ $66 = (($62) + ($$sink1<<2)|0);
+ $67 = +HEAPF32[$66>>2];
+ $68 = $9;
+ $69 = (($15) + ($68<<2)|0);
+ HEAPF32[$69>>2] = $67;
+ $70 = $9;
+ $71 = (($70) + 1)|0;
+ $12 = $71;
+ while(1) {
+ $72 = $12;
+ $73 = $10;
+ $74 = ($72|0)<($73|0);
+ if (!($74)) {
+ break L1;
+ }
+ $75 = $12;
+ $76 = (($75) - 1)|0;
+ $77 = (($15) + ($76<<2)|0);
+ $78 = +HEAPF32[$77>>2];
+ $79 = $78 - 1.0;
+ $80 = $7;
+ $81 = $12;
+ $82 = (($80) + ($81<<2)|0);
+ $83 = +HEAPF32[$82>>2];
+ $84 = $7;
+ $85 = $12;
+ $86 = $8;
+ $87 = (($85) + ($86))|0;
+ $88 = (($84) + ($87<<2)|0);
+ $89 = +HEAPF32[$88>>2];
+ $90 = $83 > $89;
+ $91 = $7;
+ $92 = $12;
+ $93 = $8;
+ $94 = (($92) + ($93))|0;
+ $$sink2 = $90 ? $92 : $94;
+ $95 = (($91) + ($$sink2<<2)|0);
+ $96 = +HEAPF32[$95>>2];
+ $97 = $79 > $96;
+ if ($97) {
+ $98 = $12;
+ $99 = (($98) - 1)|0;
+ $100 = (($15) + ($99<<2)|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = $101 - 1.0;
+ $122 = $102;
+ } else {
+ $103 = $7;
+ $104 = $12;
+ $105 = (($103) + ($104<<2)|0);
+ $106 = +HEAPF32[$105>>2];
+ $107 = $7;
+ $108 = $12;
+ $109 = $8;
+ $110 = (($108) + ($109))|0;
+ $111 = (($107) + ($110<<2)|0);
+ $112 = +HEAPF32[$111>>2];
+ $113 = $106 > $112;
+ $114 = $7;
+ $115 = $12;
+ $116 = $8;
+ $117 = (($115) + ($116))|0;
+ $$sink3 = $113 ? $115 : $117;
+ $118 = (($114) + ($$sink3<<2)|0);
+ $119 = +HEAPF32[$118>>2];
+ $122 = $119;
+ }
+ $120 = $12;
+ $121 = (($15) + ($120<<2)|0);
+ HEAPF32[$121>>2] = $122;
+ $123 = $12;
+ $124 = (($123) + 1)|0;
+ $12 = $124;
+ }
+ }
+ } while(0);
+ $125 = $10;
+ $126 = (($125) - 2)|0;
+ $12 = $126;
+ while(1) {
+ $127 = $12;
+ $128 = $9;
+ $129 = ($127|0)>=($128|0);
+ if (!($129)) {
+ break;
+ }
+ $130 = $12;
+ $131 = (($15) + ($130<<2)|0);
+ $132 = +HEAPF32[$131>>2];
+ $133 = $12;
+ $134 = (($133) + 1)|0;
+ $135 = (($15) + ($134<<2)|0);
+ $136 = +HEAPF32[$135>>2];
+ $137 = $136 - 1.0;
+ $138 = $132 > $137;
+ $139 = $12;
+ if ($138) {
+ $140 = (($15) + ($139<<2)|0);
+ $141 = +HEAPF32[$140>>2];
+ $148 = $141;
+ } else {
+ $142 = (($139) + 1)|0;
+ $143 = (($15) + ($142<<2)|0);
+ $144 = +HEAPF32[$143>>2];
+ $145 = $144 - 1.0;
+ $148 = $145;
+ }
+ $146 = $12;
+ $147 = (($15) + ($146<<2)|0);
+ HEAPF32[$147>>2] = $148;
+ $149 = $12;
+ $150 = (($149) + -1)|0;
+ $12 = $150;
+ }
+ $13 = 0;
+ while(1) {
+ $151 = $9;
+ $152 = (2)>($151|0);
+ $153 = $9;
+ $154 = $152 ? 2 : $153;
+ $12 = $154;
+ while(1) {
+ $155 = $12;
+ $156 = $10;
+ $157 = (($156) - 1)|0;
+ $158 = ($155|0)<($157|0);
+ if (!($158)) {
+ break;
+ }
+ $159 = $6;
+ $160 = $12;
+ $161 = $13;
+ $162 = $8;
+ $163 = Math_imul($161, $162)|0;
+ $164 = (($160) + ($163))|0;
+ $165 = (($159) + ($164<<2)|0);
+ $166 = +HEAPF32[$165>>2];
+ $167 = 0.0 > $166;
+ if ($167) {
+ $176 = 0.0;
+ } else {
+ $168 = $6;
+ $169 = $12;
+ $170 = $13;
+ $171 = $8;
+ $172 = Math_imul($170, $171)|0;
+ $173 = (($169) + ($172))|0;
+ $174 = (($168) + ($173<<2)|0);
+ $175 = +HEAPF32[$174>>2];
+ $176 = $175;
+ }
+ $16 = $176;
+ $177 = $12;
+ $178 = (($15) + ($177<<2)|0);
+ $179 = +HEAPF32[$178>>2];
+ $180 = 0.0 > $179;
+ if ($180) {
+ $184 = 0.0;
+ } else {
+ $181 = $12;
+ $182 = (($15) + ($181<<2)|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $183;
+ }
+ $17 = $184;
+ $185 = $14;
+ $186 = $16;
+ $187 = $17;
+ $188 = $186 - $187;
+ $189 = 0.0 > $188;
+ if ($189) {
+ $194 = 0.0;
+ } else {
+ $190 = $16;
+ $191 = $17;
+ $192 = $190 - $191;
+ $194 = $192;
+ }
+ $193 = $185 + $194;
+ $14 = $193;
+ $195 = $12;
+ $196 = (($195) + 1)|0;
+ $12 = $196;
+ }
+ $197 = $13;
+ $198 = (($197) + 1)|0;
+ $13 = $198;
+ $199 = $11;
+ $200 = ($198|0)<($199|0);
+ if (!($200)) {
+ break;
+ }
+ }
+ $201 = $14;
+ $202 = $11;
+ $203 = $10;
+ $204 = (($203) - 1)|0;
+ $205 = $9;
+ $206 = (2)>($205|0);
+ $207 = $9;
+ $208 = $206 ? 2 : $207;
+ $209 = (($204) - ($208))|0;
+ $210 = Math_imul($202, $209)|0;
+ $211 = (+($210|0));
+ $212 = $201 / $211;
+ $14 = $212;
+ $213 = $14;
+ $214 = $213 > 1.0;
+ $215 = $214&1;
+ STACKTOP = sp;return ($215|0);
+}
+function _tf_analysis($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = +$9;
+ $10 = $10|0;
+ var $$alloca_mul = 0, $$alloca_mul46 = 0, $$alloca_mul48 = 0, $$alloca_mul50 = 0, $$alloca_mul52 = 0, $$sink = 0, $$sink11 = 0, $$sink12 = 0, $$sink13 = 0, $$sink3 = 0, $$sink6 = 0, $$sink8 = 0, $$sink9 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0;
+ var $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0;
+ var $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0;
+ var $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0;
+ var $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0.0, $179 = 0.0;
+ var $18 = 0, $180 = 0.0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0;
+ var $198 = 0, $199 = 0, $20 = 0.0, $200 = 0, $201 = 0.0, $202 = 0.0, $203 = 0.0, $204 = 0.0, $205 = 0, $206 = 0.0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0;
+ var $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0.0;
+ var $234 = 0.0, $235 = 0.0, $236 = 0.0, $237 = 0, $238 = 0.0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0;
+ var $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0;
+ var $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0.0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0;
+ var $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0;
+ var $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0;
+ var $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0.0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0.0, $340 = 0, $341 = 0, $342 = 0;
+ var $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0;
+ var $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0;
+ var $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0;
+ var $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0;
+ var $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0.0, $430 = 0, $431 = 0, $432 = 0, $433 = 0;
+ var $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0.0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0;
+ var $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0.0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0;
+ var $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0;
+ var $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond5 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
+ $26 = sp + 64|0;
+ $11 = $0;
+ $12 = $1;
+ $13 = $2;
+ $14 = $3;
+ $15 = $4;
+ $16 = $5;
+ $17 = $6;
+ $18 = $7;
+ $19 = $8;
+ $20 = $9;
+ $21 = $10;
+ $27 = 0;
+ $43 = $20;
+ $44 = 0.5 - $43;
+ $45 = -0.25 > $44;
+ $46 = $20;
+ $47 = 0.5 - $46;
+ $48 = $45 ? -0.25 : $47;
+ $49 = 0.039999999105930328 * $48;
+ $28 = $49;
+ $50 = $12;
+ $51 = (_llvm_stacksave()|0);
+ $29 = $51;
+ $$alloca_mul = $50<<2;
+ $52 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $53 = $11;
+ $54 = ((($53)) + 32|0);
+ $55 = HEAP32[$54>>2]|0;
+ $56 = $12;
+ $57 = (($55) + ($56<<1)|0);
+ $58 = HEAP16[$57>>1]|0;
+ $59 = $58 << 16 >> 16;
+ $60 = $11;
+ $61 = ((($60)) + 32|0);
+ $62 = HEAP32[$61>>2]|0;
+ $63 = $12;
+ $64 = (($63) - 1)|0;
+ $65 = (($62) + ($64<<1)|0);
+ $66 = HEAP16[$65>>1]|0;
+ $67 = $66 << 16 >> 16;
+ $68 = (($59) - ($67))|0;
+ $69 = $18;
+ $70 = $68 << $69;
+ $$alloca_mul46 = $70<<2;
+ $71 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul46)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul46)|0)+15)&-16)|0);;
+ $72 = $11;
+ $73 = ((($72)) + 32|0);
+ $74 = HEAP32[$73>>2]|0;
+ $75 = $12;
+ $76 = (($74) + ($75<<1)|0);
+ $77 = HEAP16[$76>>1]|0;
+ $78 = $77 << 16 >> 16;
+ $79 = $11;
+ $80 = ((($79)) + 32|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = $12;
+ $83 = (($82) - 1)|0;
+ $84 = (($81) + ($83<<1)|0);
+ $85 = HEAP16[$84>>1]|0;
+ $86 = $85 << 16 >> 16;
+ $87 = (($78) - ($86))|0;
+ $88 = $18;
+ $89 = $87 << $88;
+ $$alloca_mul48 = $89<<2;
+ $90 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul48)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul48)|0)+15)&-16)|0);;
+ $91 = $12;
+ $$alloca_mul50 = $91<<2;
+ $92 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul50)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul50)|0)+15)&-16)|0);;
+ $93 = $12;
+ $$alloca_mul52 = $93<<2;
+ $94 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul52)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul52)|0)+15)&-16)|0);;
+ $95 = $19;
+ HEAP32[$95>>2] = 0;
+ $22 = 0;
+ while(1) {
+ $96 = $22;
+ $97 = $12;
+ $98 = ($96|0)<($97|0);
+ if (!($98)) {
+ break;
+ }
+ $35 = 0;
+ $99 = $11;
+ $100 = ((($99)) + 32|0);
+ $101 = HEAP32[$100>>2]|0;
+ $102 = $22;
+ $103 = (($102) + 1)|0;
+ $104 = (($101) + ($103<<1)|0);
+ $105 = HEAP16[$104>>1]|0;
+ $106 = $105 << 16 >> 16;
+ $107 = $11;
+ $108 = ((($107)) + 32|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = $22;
+ $111 = (($109) + ($110<<1)|0);
+ $112 = HEAP16[$111>>1]|0;
+ $113 = $112 << 16 >> 16;
+ $114 = (($106) - ($113))|0;
+ $115 = $18;
+ $116 = $114 << $115;
+ $31 = $116;
+ $117 = $11;
+ $118 = ((($117)) + 32|0);
+ $119 = HEAP32[$118>>2]|0;
+ $120 = $22;
+ $121 = (($120) + 1)|0;
+ $122 = (($119) + ($121<<1)|0);
+ $123 = HEAP16[$122>>1]|0;
+ $124 = $123 << 16 >> 16;
+ $125 = $11;
+ $126 = ((($125)) + 32|0);
+ $127 = HEAP32[$126>>2]|0;
+ $128 = $22;
+ $129 = (($127) + ($128<<1)|0);
+ $130 = HEAP16[$129>>1]|0;
+ $131 = $130 << 16 >> 16;
+ $132 = (($124) - ($131))|0;
+ $133 = ($132|0)==(1);
+ $134 = $133&1;
+ $32 = $134;
+ $135 = $16;
+ $136 = $21;
+ $137 = $17;
+ $138 = Math_imul($136, $137)|0;
+ $139 = $11;
+ $140 = ((($139)) + 32|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = $22;
+ $143 = (($141) + ($142<<1)|0);
+ $144 = HEAP16[$143>>1]|0;
+ $145 = $144 << 16 >> 16;
+ $146 = $18;
+ $147 = $145 << $146;
+ $148 = (($138) + ($147))|0;
+ $149 = (($135) + ($148<<2)|0);
+ $150 = $31;
+ $151 = $150<<2;
+ $152 = $16;
+ $153 = $21;
+ $154 = $17;
+ $155 = Math_imul($153, $154)|0;
+ $156 = $11;
+ $157 = ((($156)) + 32|0);
+ $158 = HEAP32[$157>>2]|0;
+ $159 = $22;
+ $160 = (($158) + ($159<<1)|0);
+ $161 = HEAP16[$160>>1]|0;
+ $162 = $161 << 16 >> 16;
+ $163 = $18;
+ $164 = $162 << $163;
+ $165 = (($155) + ($164))|0;
+ $166 = (($152) + ($165<<2)|0);
+ $167 = $71;
+ $168 = $166;
+ $169 = (($167) - ($168))|0;
+ $170 = (($169|0) / 4)&-1;
+ $171 = 0;
+ $172 = (($151) + ($171))|0;
+ _memcpy(($71|0),($149|0),($172|0))|0;
+ $173 = $31;
+ $174 = $13;
+ $175 = ($174|0)!=(0);
+ $176 = $18;
+ $177 = $175 ? $176 : 0;
+ $178 = $28;
+ $179 = (+_l1_metric($71,$173,$177,$178));
+ $33 = $179;
+ $180 = $33;
+ $34 = $180;
+ $181 = $13;
+ $182 = ($181|0)==(0);
+ $183 = $32;
+ $184 = ($183|0)!=(0);
+ $or$cond = $182 | $184;
+ if (!($or$cond)) {
+ $185 = $31;
+ $186 = $185<<2;
+ $187 = $90;
+ $188 = $71;
+ $189 = (($187) - ($188))|0;
+ $190 = (($189|0) / 4)&-1;
+ $191 = 0;
+ $192 = (($186) + ($191))|0;
+ _memcpy(($90|0),($71|0),($192|0))|0;
+ $193 = $31;
+ $194 = $18;
+ $195 = $193 >> $194;
+ $196 = $18;
+ $197 = 1 << $196;
+ _haar1($90,$195,$197);
+ $198 = $31;
+ $199 = $18;
+ $200 = (($199) + 1)|0;
+ $201 = $28;
+ $202 = (+_l1_metric($90,$198,$200,$201));
+ $33 = $202;
+ $203 = $33;
+ $204 = $34;
+ $205 = $203 < $204;
+ if ($205) {
+ $206 = $33;
+ $34 = $206;
+ $35 = -1;
+ }
+ }
+ $30 = 0;
+ while(1) {
+ $207 = $30;
+ $208 = $18;
+ $209 = $13;
+ $210 = ($209|0)!=(0);
+ $211 = $32;
+ $212 = ($211|0)!=(0);
+ $213 = $210 ? 1 : $212;
+ $214 = $213 ^ 1;
+ $215 = $214&1;
+ $216 = (($208) + ($215))|0;
+ $217 = ($207|0)<($216|0);
+ $218 = $13;
+ $219 = ($218|0)!=(0);
+ if (!($217)) {
+ break;
+ }
+ if ($219) {
+ $220 = $18;
+ $221 = $30;
+ $222 = (($220) - ($221))|0;
+ $223 = (($222) - 1)|0;
+ $36 = $223;
+ } else {
+ $224 = $30;
+ $225 = (($224) + 1)|0;
+ $36 = $225;
+ }
+ $226 = $31;
+ $227 = $30;
+ $228 = $226 >> $227;
+ $229 = $30;
+ $230 = 1 << $229;
+ _haar1($71,$228,$230);
+ $231 = $31;
+ $232 = $36;
+ $233 = $28;
+ $234 = (+_l1_metric($71,$231,$232,$233));
+ $33 = $234;
+ $235 = $33;
+ $236 = $34;
+ $237 = $235 < $236;
+ if ($237) {
+ $238 = $33;
+ $34 = $238;
+ $239 = $30;
+ $240 = (($239) + 1)|0;
+ $35 = $240;
+ }
+ $241 = $30;
+ $242 = (($241) + 1)|0;
+ $30 = $242;
+ }
+ $243 = $35;
+ $244 = Math_imul(-2, $243)|0;
+ $245 = $22;
+ $246 = $243<<1;
+ $247 = $22;
+ $$sink3 = $219 ? $247 : $245;
+ $$sink = $219 ? $246 : $244;
+ $248 = (($52) + ($$sink3<<2)|0);
+ HEAP32[$248>>2] = $$sink;
+ $249 = $13;
+ $250 = ($249|0)!=(0);
+ $251 = $18;
+ $252 = $250 ? $251 : 0;
+ $253 = $22;
+ $254 = (($52) + ($253<<2)|0);
+ $255 = HEAP32[$254>>2]|0;
+ $256 = (($255|0) / 2)&-1;
+ $257 = (($252) - ($256))|0;
+ $258 = $19;
+ $259 = HEAP32[$258>>2]|0;
+ $260 = (($259) + ($257))|0;
+ HEAP32[$258>>2] = $260;
+ $261 = $32;
+ $262 = ($261|0)!=(0);
+ do {
+ if ($262) {
+ $263 = $22;
+ $264 = (($52) + ($263<<2)|0);
+ $265 = HEAP32[$264>>2]|0;
+ $266 = ($265|0)==(0);
+ if (!($266)) {
+ $267 = $22;
+ $268 = (($52) + ($267<<2)|0);
+ $269 = HEAP32[$268>>2]|0;
+ $270 = $18;
+ $271 = Math_imul(-2, $270)|0;
+ $272 = ($269|0)==($271|0);
+ if (!($272)) {
+ break;
+ }
+ }
+ $273 = $22;
+ $274 = (($52) + ($273<<2)|0);
+ $275 = HEAP32[$274>>2]|0;
+ $276 = (($275) - 1)|0;
+ HEAP32[$274>>2] = $276;
+ }
+ } while(0);
+ $277 = $22;
+ $278 = (($277) + 1)|0;
+ $22 = $278;
+ }
+ $27 = 0;
+ $25 = 0;
+ while(1) {
+ $279 = $25;
+ $280 = ($279|0)<(2);
+ if (!($280)) {
+ break;
+ }
+ $23 = 0;
+ $281 = $13;
+ $282 = ($281|0)!=(0);
+ $283 = $15;
+ $284 = $282 ? 0 : $283;
+ $24 = $284;
+ $22 = 1;
+ while(1) {
+ $285 = $22;
+ $286 = $12;
+ $287 = ($285|0)<($286|0);
+ $288 = $23;
+ $289 = $24;
+ if (!($287)) {
+ break;
+ }
+ $290 = $15;
+ $291 = (($289) + ($290))|0;
+ $292 = ($288|0)<($291|0);
+ if ($292) {
+ $293 = $23;
+ $297 = $293;
+ } else {
+ $294 = $24;
+ $295 = $15;
+ $296 = (($294) + ($295))|0;
+ $297 = $296;
+ }
+ $37 = $297;
+ $298 = $23;
+ $299 = $15;
+ $300 = (($298) + ($299))|0;
+ $301 = $24;
+ $302 = ($300|0)<($301|0);
+ if ($302) {
+ $303 = $23;
+ $304 = $15;
+ $305 = (($303) + ($304))|0;
+ $307 = $305;
+ } else {
+ $306 = $24;
+ $307 = $306;
+ }
+ $38 = $307;
+ $308 = $37;
+ $309 = $22;
+ $310 = (($52) + ($309<<2)|0);
+ $311 = HEAP32[$310>>2]|0;
+ $312 = $18;
+ $313 = (28967 + ($312<<3)|0);
+ $314 = $13;
+ $315 = $314<<2;
+ $316 = $25;
+ $317 = $316<<1;
+ $318 = (($315) + ($317))|0;
+ $319 = (($318) + 0)|0;
+ $320 = (($313) + ($319)|0);
+ $321 = HEAP8[$320>>0]|0;
+ $322 = $321 << 24 >> 24;
+ $323 = $322<<1;
+ $324 = (($311) - ($323))|0;
+ $325 = (Math_abs(($324|0))|0);
+ $326 = (($308) + ($325))|0;
+ $23 = $326;
+ $327 = $38;
+ $328 = $22;
+ $329 = (($52) + ($328<<2)|0);
+ $330 = HEAP32[$329>>2]|0;
+ $331 = $18;
+ $332 = (28967 + ($331<<3)|0);
+ $333 = $13;
+ $334 = $333<<2;
+ $335 = $25;
+ $336 = $335<<1;
+ $337 = (($334) + ($336))|0;
+ $338 = (($337) + 1)|0;
+ $339 = (($332) + ($338)|0);
+ $340 = HEAP8[$339>>0]|0;
+ $341 = $340 << 24 >> 24;
+ $342 = $341<<1;
+ $343 = (($330) - ($342))|0;
+ $344 = (Math_abs(($343|0))|0);
+ $345 = (($327) + ($344))|0;
+ $24 = $345;
+ $346 = $22;
+ $347 = (($346) + 1)|0;
+ $22 = $347;
+ }
+ $348 = ($288|0)<($289|0);
+ $349 = $23;
+ $350 = $24;
+ $351 = $348 ? $349 : $350;
+ $23 = $351;
+ $352 = $23;
+ $353 = $25;
+ $354 = (($26) + ($353<<2)|0);
+ HEAP32[$354>>2] = $352;
+ $355 = $25;
+ $356 = (($355) + 1)|0;
+ $25 = $356;
+ }
+ $357 = ((($26)) + 4|0);
+ $358 = HEAP32[$357>>2]|0;
+ $359 = HEAP32[$26>>2]|0;
+ $360 = ($358|0)<($359|0);
+ $361 = $13;
+ $362 = ($361|0)!=(0);
+ $or$cond5 = $360 & $362;
+ if ($or$cond5) {
+ $27 = 1;
+ }
+ $23 = 0;
+ $363 = $13;
+ $364 = ($363|0)!=(0);
+ $365 = $15;
+ $366 = $364 ? 0 : $365;
+ $24 = $366;
+ $22 = 1;
+ while(1) {
+ $367 = $22;
+ $368 = $12;
+ $369 = ($367|0)<($368|0);
+ $370 = $23;
+ if (!($369)) {
+ break;
+ }
+ $41 = $370;
+ $371 = $24;
+ $372 = $15;
+ $373 = (($371) + ($372))|0;
+ $42 = $373;
+ $374 = $41;
+ $375 = $42;
+ $376 = ($374|0)<($375|0);
+ if ($376) {
+ $377 = $41;
+ $39 = $377;
+ $378 = $22;
+ $$sink6 = 0;$$sink8 = $378;
+ } else {
+ $379 = $42;
+ $39 = $379;
+ $380 = $22;
+ $$sink6 = 1;$$sink8 = $380;
+ }
+ $381 = (($92) + ($$sink8<<2)|0);
+ HEAP32[$381>>2] = $$sink6;
+ $382 = $23;
+ $383 = $15;
+ $384 = (($382) + ($383))|0;
+ $41 = $384;
+ $385 = $24;
+ $42 = $385;
+ $386 = $41;
+ $387 = $42;
+ $388 = ($386|0)<($387|0);
+ if ($388) {
+ $389 = $41;
+ $40 = $389;
+ $390 = $22;
+ $$sink11 = $390;$$sink9 = 0;
+ } else {
+ $391 = $42;
+ $40 = $391;
+ $392 = $22;
+ $$sink11 = $392;$$sink9 = 1;
+ }
+ $393 = (($94) + ($$sink11<<2)|0);
+ HEAP32[$393>>2] = $$sink9;
+ $394 = $39;
+ $395 = $22;
+ $396 = (($52) + ($395<<2)|0);
+ $397 = HEAP32[$396>>2]|0;
+ $398 = $18;
+ $399 = (28967 + ($398<<3)|0);
+ $400 = $13;
+ $401 = $400<<2;
+ $402 = $27;
+ $403 = $402<<1;
+ $404 = (($401) + ($403))|0;
+ $405 = (($404) + 0)|0;
+ $406 = (($399) + ($405)|0);
+ $407 = HEAP8[$406>>0]|0;
+ $408 = $407 << 24 >> 24;
+ $409 = $408<<1;
+ $410 = (($397) - ($409))|0;
+ $411 = (Math_abs(($410|0))|0);
+ $412 = (($394) + ($411))|0;
+ $23 = $412;
+ $413 = $40;
+ $414 = $22;
+ $415 = (($52) + ($414<<2)|0);
+ $416 = HEAP32[$415>>2]|0;
+ $417 = $18;
+ $418 = (28967 + ($417<<3)|0);
+ $419 = $13;
+ $420 = $419<<2;
+ $421 = $27;
+ $422 = $421<<1;
+ $423 = (($420) + ($422))|0;
+ $424 = (($423) + 1)|0;
+ $425 = (($418) + ($424)|0);
+ $426 = HEAP8[$425>>0]|0;
+ $427 = $426 << 24 >> 24;
+ $428 = $427<<1;
+ $429 = (($416) - ($428))|0;
+ $430 = (Math_abs(($429|0))|0);
+ $431 = (($413) + ($430))|0;
+ $24 = $431;
+ $432 = $22;
+ $433 = (($432) + 1)|0;
+ $22 = $433;
+ }
+ $434 = $24;
+ $435 = ($370|0)<($434|0);
+ $436 = $435 ? 0 : 1;
+ $437 = $14;
+ $438 = $12;
+ $439 = (($438) - 1)|0;
+ $440 = (($437) + ($439<<2)|0);
+ HEAP32[$440>>2] = $436;
+ $441 = $12;
+ $442 = (($441) - 2)|0;
+ $22 = $442;
+ while(1) {
+ $443 = $22;
+ $444 = ($443|0)>=(0);
+ if (!($444)) {
+ break;
+ }
+ $445 = $14;
+ $446 = $22;
+ $447 = (($446) + 1)|0;
+ $448 = (($445) + ($447<<2)|0);
+ $449 = HEAP32[$448>>2]|0;
+ $450 = ($449|0)==(1);
+ $451 = $22;
+ $452 = (($451) + 1)|0;
+ if ($450) {
+ $453 = (($94) + ($452<<2)|0);
+ $454 = HEAP32[$453>>2]|0;
+ $455 = $14;
+ $456 = $22;
+ $457 = (($455) + ($456<<2)|0);
+ $$sink12 = $454;$$sink13 = $457;
+ } else {
+ $458 = (($92) + ($452<<2)|0);
+ $459 = HEAP32[$458>>2]|0;
+ $460 = $14;
+ $461 = $22;
+ $462 = (($460) + ($461<<2)|0);
+ $$sink12 = $459;$$sink13 = $462;
+ }
+ HEAP32[$$sink13>>2] = $$sink12;
+ $463 = $22;
+ $464 = (($463) + -1)|0;
+ $22 = $464;
+ }
+ $465 = $27;
+ $466 = $29;
+ _llvm_stackrestore(($466|0));
+ STACKTOP = sp;return ($465|0);
+}
+function _tf_encode($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0;
+ var $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0;
+ var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0;
+ var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
+ var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $21 = $13;
+ $22 = ((($21)) + 4|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = $23<<3;
+ $19 = $24;
+ $25 = $13;
+ $26 = (_ec_tell_50($25)|0);
+ $20 = $26;
+ $27 = $9;
+ $28 = ($27|0)!=(0);
+ $29 = $28 ? 2 : 4;
+ $18 = $29;
+ $30 = $11;
+ $31 = ($30|0)>(0);
+ if ($31) {
+ $32 = $20;
+ $33 = $18;
+ $34 = (($32) + ($33))|0;
+ $35 = (($34) + 1)|0;
+ $36 = $19;
+ $37 = ($35>>>0)<=($36>>>0);
+ $39 = $37;
+ } else {
+ $39 = 0;
+ }
+ $38 = $39&1;
+ $16 = $38;
+ $40 = $16;
+ $41 = $19;
+ $42 = (($41) - ($40))|0;
+ $19 = $42;
+ $17 = 0;
+ $14 = 0;
+ $43 = $7;
+ $15 = $43;
+ while(1) {
+ $44 = $15;
+ $45 = $8;
+ $46 = ($44|0)<($45|0);
+ if (!($46)) {
+ break;
+ }
+ $47 = $20;
+ $48 = $18;
+ $49 = (($47) + ($48))|0;
+ $50 = $19;
+ $51 = ($49>>>0)<=($50>>>0);
+ if ($51) {
+ $52 = $13;
+ $53 = $10;
+ $54 = $15;
+ $55 = (($53) + ($54<<2)|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = $14;
+ $58 = $56 ^ $57;
+ $59 = $18;
+ _ec_enc_bit_logp($52,$58,$59);
+ $60 = $13;
+ $61 = (_ec_tell_50($60)|0);
+ $20 = $61;
+ $62 = $10;
+ $63 = $15;
+ $64 = (($62) + ($63<<2)|0);
+ $65 = HEAP32[$64>>2]|0;
+ $14 = $65;
+ $66 = $14;
+ $67 = $17;
+ $68 = $67 | $66;
+ $17 = $68;
+ } else {
+ $69 = $14;
+ $70 = $10;
+ $71 = $15;
+ $72 = (($70) + ($71<<2)|0);
+ HEAP32[$72>>2] = $69;
+ }
+ $73 = $9;
+ $74 = ($73|0)!=(0);
+ $75 = $74 ? 4 : 5;
+ $18 = $75;
+ $76 = $15;
+ $77 = (($76) + 1)|0;
+ $15 = $77;
+ }
+ $78 = $16;
+ $79 = ($78|0)!=(0);
+ if ($79) {
+ $80 = $11;
+ $81 = (28967 + ($80<<3)|0);
+ $82 = $9;
+ $83 = $82<<2;
+ $84 = (($83) + 0)|0;
+ $85 = $17;
+ $86 = (($84) + ($85))|0;
+ $87 = (($81) + ($86)|0);
+ $88 = HEAP8[$87>>0]|0;
+ $89 = $88 << 24 >> 24;
+ $90 = $11;
+ $91 = (28967 + ($90<<3)|0);
+ $92 = $9;
+ $93 = $92<<2;
+ $94 = (($93) + 2)|0;
+ $95 = $17;
+ $96 = (($94) + ($95))|0;
+ $97 = (($91) + ($96)|0);
+ $98 = HEAP8[$97>>0]|0;
+ $99 = $98 << 24 >> 24;
+ $100 = ($89|0)!=($99|0);
+ if ($100) {
+ $101 = $13;
+ $102 = $12;
+ _ec_enc_bit_logp($101,$102,1);
+ } else {
+ label = 12;
+ }
+ } else {
+ label = 12;
+ }
+ if ((label|0) == 12) {
+ $12 = 0;
+ }
+ $103 = $7;
+ $15 = $103;
+ while(1) {
+ $104 = $15;
+ $105 = $8;
+ $106 = ($104|0)<($105|0);
+ if (!($106)) {
+ break;
+ }
+ $107 = $11;
+ $108 = (28967 + ($107<<3)|0);
+ $109 = $9;
+ $110 = $109<<2;
+ $111 = $12;
+ $112 = $111<<1;
+ $113 = (($110) + ($112))|0;
+ $114 = $10;
+ $115 = $15;
+ $116 = (($114) + ($115<<2)|0);
+ $117 = HEAP32[$116>>2]|0;
+ $118 = (($113) + ($117))|0;
+ $119 = (($108) + ($118)|0);
+ $120 = HEAP8[$119>>0]|0;
+ $121 = $120 << 24 >> 24;
+ $122 = $10;
+ $123 = $15;
+ $124 = (($122) + ($123<<2)|0);
+ HEAP32[$124>>2] = $121;
+ $125 = $15;
+ $126 = (($125) + 1)|0;
+ $15 = $126;
+ }
+ STACKTOP = sp;return;
+}
+function _dynalloc_analysis($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ $15 = $15|0;
+ $16 = $16|0;
+ $17 = $17|0;
+ var $$alloca_mul = 0, $$alloca_mul42 = 0, $$sink = 0, $$sink4 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0, $108 = 0.0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0.0, $117 = 0, $118 = 0, $119 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0.0;
+ var $156 = 0, $157 = 0, $158 = 0, $159 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0.0, $165 = 0.0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $171 = 0, $172 = 0.0, $173 = 0.0, $174 = 0, $175 = 0;
+ var $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0.0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0.0, $188 = 0.0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0;
+ var $194 = 0, $195 = 0, $196 = 0.0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0.0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0.0, $211 = 0;
+ var $212 = 0, $213 = 0, $214 = 0, $215 = 0.0, $216 = 0.0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0.0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0;
+ var $230 = 0.0, $231 = 0.0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0.0, $24 = 0, $240 = 0, $241 = 0.0, $242 = 0, $243 = 0, $244 = 0, $245 = 0.0, $246 = 0, $247 = 0, $248 = 0.0;
+ var $249 = 0.0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0.0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0.0, $264 = 0.0, $265 = 0, $266 = 0;
+ var $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0.0, $273 = 0, $274 = 0, $275 = 0, $276 = 0.0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0;
+ var $285 = 0, $286 = 0.0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0.0, $296 = 0.0, $297 = 0.0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0.0;
+ var $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0.0, $312 = 0.0, $313 = 0.0, $314 = 0, $315 = 0, $316 = 0, $317 = 0.0, $318 = 0, $319 = 0, $32 = 0, $320 = 0;
+ var $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0.0, $326 = 0.0, $327 = 0.0, $328 = 0, $329 = 0.0, $33 = 0, $330 = 0.0, $331 = 0, $332 = 0, $333 = 0.0, $334 = 0.0, $335 = 0, $336 = 0.0, $337 = 0, $338 = 0, $339 = 0.0;
+ var $34 = 0, $340 = 0.0, $341 = 0, $342 = 0, $343 = 0, $344 = 0.0, $345 = 0.0, $346 = 0, $347 = 0, $348 = 0.0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0.0;
+ var $358 = 0.0, $359 = 0.0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0.0, $365 = 0.0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0.0, $372 = 0.0, $373 = 0, $374 = 0, $375 = 0;
+ var $376 = 0, $377 = 0.0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0.0, $383 = 0.0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0.0, $39 = 0.0, $390 = 0.0, $391 = 0, $392 = 0, $393 = 0;
+ var $394 = 0, $395 = 0.0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0.0, $403 = 0, $404 = 0, $405 = 0.0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0;
+ var $412 = 0.0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0.0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0.0;
+ var $430 = 0, $431 = 0, $432 = 0.0, $433 = 0, $434 = 0, $435 = 0.0, $436 = 0.0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0.0, $443 = 0, $444 = 0, $445 = 0.0, $446 = 0.0, $447 = 0, $448 = 0;
+ var $449 = 0, $45 = 0, $450 = 0, $451 = 0.0, $452 = 0, $453 = 0, $454 = 0.0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0.0, $46 = 0, $460 = 0.0, $461 = 0, $462 = 0, $463 = 0, $464 = 0.0, $465 = 0, $466 = 0;
+ var $467 = 0, $468 = 0, $469 = 0.0, $47 = 0, $470 = 0.0, $471 = 0, $472 = 0, $473 = 0.0, $474 = 0, $475 = 0, $476 = 0, $477 = 0.0, $478 = 0, $479 = 0, $48 = 0, $480 = 0.0, $481 = 0.0, $482 = 0, $483 = 0, $484 = 0;
+ var $485 = 0, $486 = 0.0, $487 = 0, $488 = 0, $489 = 0.0, $49 = 0, $490 = 0.0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0.0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0.0, $502 = 0.0;
+ var $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0.0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0.0, $515 = 0.0, $516 = 0.0, $517 = 0.0, $518 = 0.0, $519 = 0.0, $52 = 0, $520 = 0;
+ var $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0.0, $531 = 0, $532 = 0, $533 = 0.0, $534 = 0.0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0.0;
+ var $54 = 0, $540 = 0, $541 = 0, $542 = 0.0, $543 = 0.0, $544 = 0, $545 = 0, $546 = 0.0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0.0, $556 = 0, $557 = 0;
+ var $558 = 0, $559 = 0.0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0.0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0;
+ var $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0.0, $584 = 0.0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0;
+ var $594 = 0, $595 = 0, $596 = 0, $597 = 0.0, $598 = 0.0, $599 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0.0, $604 = 0.0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0.0, $61 = 0, $610 = 0, $611 = 0;
+ var $612 = 0, $613 = 0.0, $614 = 0, $615 = 0, $616 = 0.0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0;
+ var $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0.0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0.0, $648 = 0.0;
+ var $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0.0, $657 = 0.0, $658 = 0.0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0;
+ var $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0.0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0;
+ var $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0.0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0.0, $70 = 0.0, $700 = 0, $71 = 0, $72 = 0;
+ var $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0.0, $78 = 0.0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0;
+ var $93 = 0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond$not = 0, $or$cond10 = 0, $or$cond3 = 0, $or$cond6 = 0, $or$cond6$not = 0, $or$cond8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
+ $18 = $0;
+ $19 = $1;
+ $20 = $2;
+ $21 = $3;
+ $22 = $4;
+ $23 = $5;
+ $24 = $6;
+ $25 = $7;
+ $26 = $8;
+ $27 = $9;
+ $28 = $10;
+ $29 = $11;
+ $30 = $12;
+ $31 = $13;
+ $32 = $14;
+ $33 = $15;
+ $34 = $16;
+ $35 = $17;
+ $38 = 0;
+ $49 = $23;
+ $50 = $20;
+ $51 = Math_imul($49, $50)|0;
+ $52 = (_llvm_stacksave()|0);
+ $40 = $52;
+ $$alloca_mul = $51<<2;
+ $53 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $54 = $23;
+ $55 = $20;
+ $56 = Math_imul($54, $55)|0;
+ $$alloca_mul42 = $56<<2;
+ $57 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul42)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul42)|0)+15)&-16)|0);;
+ $58 = $24;
+ $59 = $20;
+ $60 = $59<<2;
+ _memset(($58|0),0,($60|0))|0;
+ $39 = -31.899999618530273;
+ $36 = 0;
+ while(1) {
+ $61 = $36;
+ $62 = $22;
+ $63 = ($61|0)<($62|0);
+ if (!($63)) {
+ break;
+ }
+ $64 = $26;
+ $65 = $36;
+ $66 = (($64) + ($65<<1)|0);
+ $67 = HEAP16[$66>>1]|0;
+ $68 = (+($67<<16>>16));
+ $69 = 0.0625 * $68;
+ $70 = $69 + 0.5;
+ $71 = $25;
+ $72 = (9 - ($71))|0;
+ $73 = (+($72|0));
+ $74 = $70 + $73;
+ $75 = $36;
+ $76 = (16504 + ($75<<2)|0);
+ $77 = +HEAPF32[$76>>2];
+ $78 = $74 - $77;
+ $79 = $36;
+ $80 = (($79) + 5)|0;
+ $81 = $36;
+ $82 = (($81) + 5)|0;
+ $83 = Math_imul($80, $82)|0;
+ $84 = (+($83|0));
+ $85 = 0.0062000001780688763 * $84;
+ $86 = $78 + $85;
+ $87 = $36;
+ $88 = (($57) + ($87<<2)|0);
+ HEAPF32[$88>>2] = $86;
+ $89 = $36;
+ $90 = (($89) + 1)|0;
+ $36 = $90;
+ }
+ $37 = 0;
+ while(1) {
+ $36 = 0;
+ while(1) {
+ $91 = $36;
+ $92 = $22;
+ $93 = ($91|0)<($92|0);
+ if (!($93)) {
+ break;
+ }
+ $94 = $39;
+ $95 = $18;
+ $96 = $37;
+ $97 = $20;
+ $98 = Math_imul($96, $97)|0;
+ $99 = $36;
+ $100 = (($98) + ($99))|0;
+ $101 = (($95) + ($100<<2)|0);
+ $102 = +HEAPF32[$101>>2];
+ $103 = $36;
+ $104 = (($57) + ($103<<2)|0);
+ $105 = +HEAPF32[$104>>2];
+ $106 = $102 - $105;
+ $107 = $94 > $106;
+ if ($107) {
+ $108 = $39;
+ $121 = $108;
+ } else {
+ $109 = $18;
+ $110 = $37;
+ $111 = $20;
+ $112 = Math_imul($110, $111)|0;
+ $113 = $36;
+ $114 = (($112) + ($113))|0;
+ $115 = (($109) + ($114<<2)|0);
+ $116 = +HEAPF32[$115>>2];
+ $117 = $36;
+ $118 = (($57) + ($117<<2)|0);
+ $119 = +HEAPF32[$118>>2];
+ $120 = $116 - $119;
+ $121 = $120;
+ }
+ $39 = $121;
+ $122 = $36;
+ $123 = (($122) + 1)|0;
+ $36 = $123;
+ }
+ $124 = $37;
+ $125 = (($124) + 1)|0;
+ $37 = $125;
+ $126 = $23;
+ $127 = ($125|0)<($126|0);
+ if (!($127)) {
+ break;
+ }
+ }
+ $128 = $32;
+ $129 = ($128|0)>(50);
+ $130 = $31;
+ $131 = ($130|0)>=(1);
+ $or$cond = $129 & $131;
+ $or$cond$not = $or$cond ^ 1;
+ $132 = $34;
+ $133 = ($132|0)!=(0);
+ $or$cond3 = $or$cond$not | $133;
+ if ($or$cond3) {
+ $697 = $38;
+ $698 = $33;
+ HEAP32[$698>>2] = $697;
+ $699 = $39;
+ $700 = $40;
+ _llvm_stackrestore(($700|0));
+ STACKTOP = sp;return (+$699);
+ }
+ $41 = 0;
+ $37 = 0;
+ while(1) {
+ $134 = $37;
+ $135 = $20;
+ $136 = Math_imul($134, $135)|0;
+ $137 = (($53) + ($136<<2)|0);
+ $44 = $137;
+ $138 = $19;
+ $139 = $37;
+ $140 = $20;
+ $141 = Math_imul($139, $140)|0;
+ $142 = (($138) + ($141<<2)|0);
+ $143 = +HEAPF32[$142>>2];
+ $144 = $44;
+ HEAPF32[$144>>2] = $143;
+ $36 = 1;
+ while(1) {
+ $145 = $36;
+ $146 = $22;
+ $147 = ($145|0)<($146|0);
+ if (!($147)) {
+ break;
+ }
+ $148 = $19;
+ $149 = $37;
+ $150 = $20;
+ $151 = Math_imul($149, $150)|0;
+ $152 = $36;
+ $153 = (($151) + ($152))|0;
+ $154 = (($148) + ($153<<2)|0);
+ $155 = +HEAPF32[$154>>2];
+ $156 = $19;
+ $157 = $37;
+ $158 = $20;
+ $159 = Math_imul($157, $158)|0;
+ $160 = $36;
+ $161 = (($159) + ($160))|0;
+ $162 = (($161) - 1)|0;
+ $163 = (($156) + ($162<<2)|0);
+ $164 = +HEAPF32[$163>>2];
+ $165 = $164 + 0.5;
+ $166 = $155 > $165;
+ if ($166) {
+ $167 = $36;
+ $41 = $167;
+ }
+ $168 = $44;
+ $169 = $36;
+ $170 = (($169) - 1)|0;
+ $171 = (($168) + ($170<<2)|0);
+ $172 = +HEAPF32[$171>>2];
+ $173 = $172 + 1.5;
+ $174 = $19;
+ $175 = $37;
+ $176 = $20;
+ $177 = Math_imul($175, $176)|0;
+ $178 = $36;
+ $179 = (($177) + ($178))|0;
+ $180 = (($174) + ($179<<2)|0);
+ $181 = +HEAPF32[$180>>2];
+ $182 = $173 < $181;
+ if ($182) {
+ $183 = $44;
+ $184 = $36;
+ $185 = (($184) - 1)|0;
+ $186 = (($183) + ($185<<2)|0);
+ $187 = +HEAPF32[$186>>2];
+ $188 = $187 + 1.5;
+ $200 = $188;
+ } else {
+ $189 = $19;
+ $190 = $37;
+ $191 = $20;
+ $192 = Math_imul($190, $191)|0;
+ $193 = $36;
+ $194 = (($192) + ($193))|0;
+ $195 = (($189) + ($194<<2)|0);
+ $196 = +HEAPF32[$195>>2];
+ $200 = $196;
+ }
+ $197 = $44;
+ $198 = $36;
+ $199 = (($197) + ($198<<2)|0);
+ HEAPF32[$199>>2] = $200;
+ $201 = $36;
+ $202 = (($201) + 1)|0;
+ $36 = $202;
+ }
+ $203 = $41;
+ $204 = (($203) - 1)|0;
+ $36 = $204;
+ while(1) {
+ $205 = $36;
+ $206 = ($205|0)>=(0);
+ if (!($206)) {
+ break;
+ }
+ $207 = $44;
+ $208 = $36;
+ $209 = (($207) + ($208<<2)|0);
+ $210 = +HEAPF32[$209>>2];
+ $211 = $44;
+ $212 = $36;
+ $213 = (($212) + 1)|0;
+ $214 = (($211) + ($213<<2)|0);
+ $215 = +HEAPF32[$214>>2];
+ $216 = $215 + 2.0;
+ $217 = $19;
+ $218 = $37;
+ $219 = $20;
+ $220 = Math_imul($218, $219)|0;
+ $221 = $36;
+ $222 = (($220) + ($221))|0;
+ $223 = (($217) + ($222<<2)|0);
+ $224 = +HEAPF32[$223>>2];
+ $225 = $216 < $224;
+ if ($225) {
+ $226 = $44;
+ $227 = $36;
+ $228 = (($227) + 1)|0;
+ $229 = (($226) + ($228<<2)|0);
+ $230 = +HEAPF32[$229>>2];
+ $231 = $230 + 2.0;
+ $241 = $231;
+ } else {
+ $232 = $19;
+ $233 = $37;
+ $234 = $20;
+ $235 = Math_imul($233, $234)|0;
+ $236 = $36;
+ $237 = (($235) + ($236))|0;
+ $238 = (($232) + ($237<<2)|0);
+ $239 = +HEAPF32[$238>>2];
+ $241 = $239;
+ }
+ $240 = $210 < $241;
+ $242 = $44;
+ $243 = $36;
+ do {
+ if ($240) {
+ $244 = (($242) + ($243<<2)|0);
+ $245 = +HEAPF32[$244>>2];
+ $276 = $245;
+ } else {
+ $246 = (($243) + 1)|0;
+ $247 = (($242) + ($246<<2)|0);
+ $248 = +HEAPF32[$247>>2];
+ $249 = $248 + 2.0;
+ $250 = $19;
+ $251 = $37;
+ $252 = $20;
+ $253 = Math_imul($251, $252)|0;
+ $254 = $36;
+ $255 = (($253) + ($254))|0;
+ $256 = (($250) + ($255<<2)|0);
+ $257 = +HEAPF32[$256>>2];
+ $258 = $249 < $257;
+ if ($258) {
+ $259 = $44;
+ $260 = $36;
+ $261 = (($260) + 1)|0;
+ $262 = (($259) + ($261<<2)|0);
+ $263 = +HEAPF32[$262>>2];
+ $264 = $263 + 2.0;
+ $276 = $264;
+ break;
+ } else {
+ $265 = $19;
+ $266 = $37;
+ $267 = $20;
+ $268 = Math_imul($266, $267)|0;
+ $269 = $36;
+ $270 = (($268) + ($269))|0;
+ $271 = (($265) + ($270<<2)|0);
+ $272 = +HEAPF32[$271>>2];
+ $276 = $272;
+ break;
+ }
+ }
+ } while(0);
+ $273 = $44;
+ $274 = $36;
+ $275 = (($273) + ($274<<2)|0);
+ HEAPF32[$275>>2] = $276;
+ $277 = $36;
+ $278 = (($277) + -1)|0;
+ $36 = $278;
+ }
+ $42 = 1.0;
+ $36 = 2;
+ while(1) {
+ $279 = $36;
+ $280 = $22;
+ $281 = (($280) - 2)|0;
+ $282 = ($279|0)<($281|0);
+ if (!($282)) {
+ break;
+ }
+ $283 = $44;
+ $284 = $36;
+ $285 = (($283) + ($284<<2)|0);
+ $286 = +HEAPF32[$285>>2];
+ $287 = $19;
+ $288 = $37;
+ $289 = $20;
+ $290 = Math_imul($288, $289)|0;
+ $291 = $36;
+ $292 = (($290) + ($291))|0;
+ $293 = (($292) - 2)|0;
+ $294 = (($287) + ($293<<2)|0);
+ $295 = (+_median_of_5($294));
+ $296 = $42;
+ $297 = $295 - $296;
+ $298 = $286 > $297;
+ if ($298) {
+ $299 = $44;
+ $300 = $36;
+ $301 = (($299) + ($300<<2)|0);
+ $302 = +HEAPF32[$301>>2];
+ $317 = $302;
+ } else {
+ $303 = $19;
+ $304 = $37;
+ $305 = $20;
+ $306 = Math_imul($304, $305)|0;
+ $307 = $36;
+ $308 = (($306) + ($307))|0;
+ $309 = (($308) - 2)|0;
+ $310 = (($303) + ($309<<2)|0);
+ $311 = (+_median_of_5($310));
+ $312 = $42;
+ $313 = $311 - $312;
+ $317 = $313;
+ }
+ $314 = $44;
+ $315 = $36;
+ $316 = (($314) + ($315<<2)|0);
+ HEAPF32[$316>>2] = $317;
+ $318 = $36;
+ $319 = (($318) + 1)|0;
+ $36 = $319;
+ }
+ $320 = $19;
+ $321 = $37;
+ $322 = $20;
+ $323 = Math_imul($321, $322)|0;
+ $324 = (($320) + ($323<<2)|0);
+ $325 = (+_median_of_3($324));
+ $326 = $42;
+ $327 = $325 - $326;
+ $43 = $327;
+ $328 = $44;
+ $329 = +HEAPF32[$328>>2];
+ $330 = $43;
+ $331 = $329 > $330;
+ if ($331) {
+ $332 = $44;
+ $333 = +HEAPF32[$332>>2];
+ $336 = $333;
+ } else {
+ $334 = $43;
+ $336 = $334;
+ }
+ $335 = $44;
+ HEAPF32[$335>>2] = $336;
+ $337 = $44;
+ $338 = ((($337)) + 4|0);
+ $339 = +HEAPF32[$338>>2];
+ $340 = $43;
+ $341 = $339 > $340;
+ if ($341) {
+ $342 = $44;
+ $343 = ((($342)) + 4|0);
+ $344 = +HEAPF32[$343>>2];
+ $348 = $344;
+ } else {
+ $345 = $43;
+ $348 = $345;
+ }
+ $346 = $44;
+ $347 = ((($346)) + 4|0);
+ HEAPF32[$347>>2] = $348;
+ $349 = $19;
+ $350 = $37;
+ $351 = $20;
+ $352 = Math_imul($350, $351)|0;
+ $353 = $22;
+ $354 = (($352) + ($353))|0;
+ $355 = (($354) - 3)|0;
+ $356 = (($349) + ($355<<2)|0);
+ $357 = (+_median_of_3($356));
+ $358 = $42;
+ $359 = $357 - $358;
+ $43 = $359;
+ $360 = $44;
+ $361 = $22;
+ $362 = (($361) - 2)|0;
+ $363 = (($360) + ($362<<2)|0);
+ $364 = +HEAPF32[$363>>2];
+ $365 = $43;
+ $366 = $364 > $365;
+ if ($366) {
+ $367 = $44;
+ $368 = $22;
+ $369 = (($368) - 2)|0;
+ $370 = (($367) + ($369<<2)|0);
+ $371 = +HEAPF32[$370>>2];
+ $377 = $371;
+ } else {
+ $372 = $43;
+ $377 = $372;
+ }
+ $373 = $44;
+ $374 = $22;
+ $375 = (($374) - 2)|0;
+ $376 = (($373) + ($375<<2)|0);
+ HEAPF32[$376>>2] = $377;
+ $378 = $44;
+ $379 = $22;
+ $380 = (($379) - 1)|0;
+ $381 = (($378) + ($380<<2)|0);
+ $382 = +HEAPF32[$381>>2];
+ $383 = $43;
+ $384 = $382 > $383;
+ if ($384) {
+ $385 = $44;
+ $386 = $22;
+ $387 = (($386) - 1)|0;
+ $388 = (($385) + ($387<<2)|0);
+ $389 = +HEAPF32[$388>>2];
+ $395 = $389;
+ } else {
+ $390 = $43;
+ $395 = $390;
+ }
+ $391 = $44;
+ $392 = $22;
+ $393 = (($392) - 1)|0;
+ $394 = (($391) + ($393<<2)|0);
+ HEAPF32[$394>>2] = $395;
+ $36 = 0;
+ while(1) {
+ $396 = $36;
+ $397 = $22;
+ $398 = ($396|0)<($397|0);
+ if (!($398)) {
+ break;
+ }
+ $399 = $44;
+ $400 = $36;
+ $401 = (($399) + ($400<<2)|0);
+ $402 = +HEAPF32[$401>>2];
+ $403 = $36;
+ $404 = (($57) + ($403<<2)|0);
+ $405 = +HEAPF32[$404>>2];
+ $406 = $402 > $405;
+ if ($406) {
+ $407 = $44;
+ $408 = $36;
+ $409 = (($407) + ($408<<2)|0);
+ $$sink = $409;
+ } else {
+ $410 = $36;
+ $411 = (($57) + ($410<<2)|0);
+ $$sink = $411;
+ }
+ $412 = +HEAPF32[$$sink>>2];
+ $413 = $44;
+ $414 = $36;
+ $415 = (($413) + ($414<<2)|0);
+ HEAPF32[$415>>2] = $412;
+ $416 = $36;
+ $417 = (($416) + 1)|0;
+ $36 = $417;
+ }
+ $418 = $37;
+ $419 = (($418) + 1)|0;
+ $37 = $419;
+ $420 = $23;
+ $421 = ($419|0)<($420|0);
+ if (!($421)) {
+ break;
+ }
+ }
+ $422 = $23;
+ $423 = ($422|0)==(2);
+ $424 = $21;
+ $36 = $424;
+ L80: do {
+ if ($423) {
+ while(1) {
+ $425 = $36;
+ $426 = $22;
+ $427 = ($425|0)<($426|0);
+ if (!($427)) {
+ break L80;
+ }
+ $428 = $20;
+ $429 = $36;
+ $430 = (($428) + ($429))|0;
+ $431 = (($53) + ($430<<2)|0);
+ $432 = +HEAPF32[$431>>2];
+ $433 = $36;
+ $434 = (($53) + ($433<<2)|0);
+ $435 = +HEAPF32[$434>>2];
+ $436 = $435 - 4.0;
+ $437 = $432 > $436;
+ if ($437) {
+ $438 = $20;
+ $439 = $36;
+ $440 = (($438) + ($439))|0;
+ $441 = (($53) + ($440<<2)|0);
+ $442 = +HEAPF32[$441>>2];
+ $451 = $442;
+ } else {
+ $443 = $36;
+ $444 = (($53) + ($443<<2)|0);
+ $445 = +HEAPF32[$444>>2];
+ $446 = $445 - 4.0;
+ $451 = $446;
+ }
+ $447 = $20;
+ $448 = $36;
+ $449 = (($447) + ($448))|0;
+ $450 = (($53) + ($449<<2)|0);
+ HEAPF32[$450>>2] = $451;
+ $452 = $36;
+ $453 = (($53) + ($452<<2)|0);
+ $454 = +HEAPF32[$453>>2];
+ $455 = $20;
+ $456 = $36;
+ $457 = (($455) + ($456))|0;
+ $458 = (($53) + ($457<<2)|0);
+ $459 = +HEAPF32[$458>>2];
+ $460 = $459 - 4.0;
+ $461 = $454 > $460;
+ if ($461) {
+ $462 = $36;
+ $463 = (($53) + ($462<<2)|0);
+ $464 = +HEAPF32[$463>>2];
+ $473 = $464;
+ } else {
+ $465 = $20;
+ $466 = $36;
+ $467 = (($465) + ($466))|0;
+ $468 = (($53) + ($467<<2)|0);
+ $469 = +HEAPF32[$468>>2];
+ $470 = $469 - 4.0;
+ $473 = $470;
+ }
+ $471 = $36;
+ $472 = (($53) + ($471<<2)|0);
+ HEAPF32[$472>>2] = $473;
+ $474 = $18;
+ $475 = $36;
+ $476 = (($474) + ($475<<2)|0);
+ $477 = +HEAPF32[$476>>2];
+ $478 = $36;
+ $479 = (($53) + ($478<<2)|0);
+ $480 = +HEAPF32[$479>>2];
+ $481 = $477 - $480;
+ $482 = 0.0 > $481;
+ if ($482) {
+ $518 = 0.0;
+ } else {
+ $483 = $18;
+ $484 = $36;
+ $485 = (($483) + ($484<<2)|0);
+ $486 = +HEAPF32[$485>>2];
+ $487 = $36;
+ $488 = (($53) + ($487<<2)|0);
+ $489 = +HEAPF32[$488>>2];
+ $490 = $486 - $489;
+ $518 = $490;
+ }
+ $491 = $18;
+ $492 = $20;
+ $493 = $36;
+ $494 = (($492) + ($493))|0;
+ $495 = (($491) + ($494<<2)|0);
+ $496 = +HEAPF32[$495>>2];
+ $497 = $20;
+ $498 = $36;
+ $499 = (($497) + ($498))|0;
+ $500 = (($53) + ($499<<2)|0);
+ $501 = +HEAPF32[$500>>2];
+ $502 = $496 - $501;
+ $503 = 0.0 > $502;
+ if ($503) {
+ $517 = 0.0;
+ } else {
+ $504 = $18;
+ $505 = $20;
+ $506 = $36;
+ $507 = (($505) + ($506))|0;
+ $508 = (($504) + ($507<<2)|0);
+ $509 = +HEAPF32[$508>>2];
+ $510 = $20;
+ $511 = $36;
+ $512 = (($510) + ($511))|0;
+ $513 = (($53) + ($512<<2)|0);
+ $514 = +HEAPF32[$513>>2];
+ $515 = $509 - $514;
+ $517 = $515;
+ }
+ $516 = $518 + $517;
+ $519 = 0.5 * $516;
+ $520 = $36;
+ $521 = (($53) + ($520<<2)|0);
+ HEAPF32[$521>>2] = $519;
+ $522 = $36;
+ $523 = (($522) + 1)|0;
+ $36 = $523;
+ }
+ } else {
+ while(1) {
+ $524 = $36;
+ $525 = $22;
+ $526 = ($524|0)<($525|0);
+ if (!($526)) {
+ break L80;
+ }
+ $527 = $18;
+ $528 = $36;
+ $529 = (($527) + ($528<<2)|0);
+ $530 = +HEAPF32[$529>>2];
+ $531 = $36;
+ $532 = (($53) + ($531<<2)|0);
+ $533 = +HEAPF32[$532>>2];
+ $534 = $530 - $533;
+ $535 = 0.0 > $534;
+ if ($535) {
+ $546 = 0.0;
+ } else {
+ $536 = $18;
+ $537 = $36;
+ $538 = (($536) + ($537<<2)|0);
+ $539 = +HEAPF32[$538>>2];
+ $540 = $36;
+ $541 = (($53) + ($540<<2)|0);
+ $542 = +HEAPF32[$541>>2];
+ $543 = $539 - $542;
+ $546 = $543;
+ }
+ $544 = $36;
+ $545 = (($53) + ($544<<2)|0);
+ HEAPF32[$545>>2] = $546;
+ $547 = $36;
+ $548 = (($547) + 1)|0;
+ $36 = $548;
+ }
+ }
+ } while(0);
+ $549 = $21;
+ $36 = $549;
+ while(1) {
+ $550 = $36;
+ $551 = $22;
+ $552 = ($550|0)<($551|0);
+ if (!($552)) {
+ break;
+ }
+ $553 = $36;
+ $554 = (($53) + ($553<<2)|0);
+ $555 = +HEAPF32[$554>>2];
+ $556 = $35;
+ $557 = $36;
+ $558 = (($556) + ($557<<2)|0);
+ $559 = +HEAPF32[$558>>2];
+ $560 = $555 > $559;
+ if ($560) {
+ $561 = $36;
+ $562 = (($53) + ($561<<2)|0);
+ $$sink4 = $562;
+ } else {
+ $563 = $35;
+ $564 = $36;
+ $565 = (($563) + ($564<<2)|0);
+ $$sink4 = $565;
+ }
+ $566 = +HEAPF32[$$sink4>>2];
+ $567 = $36;
+ $568 = (($53) + ($567<<2)|0);
+ HEAPF32[$568>>2] = $566;
+ $569 = $36;
+ $570 = (($569) + 1)|0;
+ $36 = $570;
+ }
+ $571 = $28;
+ $572 = ($571|0)==(0);
+ $573 = $29;
+ $574 = ($573|0)!=(0);
+ $or$cond6 = $572 | $574;
+ $or$cond6$not = $or$cond6 ^ 1;
+ $575 = $27;
+ $576 = ($575|0)!=(0);
+ $or$cond8 = $or$cond6$not | $576;
+ L113: do {
+ if (!($or$cond8)) {
+ $577 = $21;
+ $36 = $577;
+ while(1) {
+ $578 = $36;
+ $579 = $22;
+ $580 = ($578|0)<($579|0);
+ if (!($580)) {
+ break L113;
+ }
+ $581 = $36;
+ $582 = (($53) + ($581<<2)|0);
+ $583 = +HEAPF32[$582>>2];
+ $584 = 0.5 * $583;
+ $585 = $36;
+ $586 = (($53) + ($585<<2)|0);
+ HEAPF32[$586>>2] = $584;
+ $587 = $36;
+ $588 = (($587) + 1)|0;
+ $36 = $588;
+ }
+ }
+ } while(0);
+ $589 = $21;
+ $36 = $589;
+ while(1) {
+ $590 = $36;
+ $591 = $22;
+ $592 = ($590|0)<($591|0);
+ if (!($592)) {
+ label = 103;
+ break;
+ }
+ $593 = $36;
+ $594 = ($593|0)<(8);
+ if ($594) {
+ $595 = $36;
+ $596 = (($53) + ($595<<2)|0);
+ $597 = +HEAPF32[$596>>2];
+ $598 = $597 * 2.0;
+ HEAPF32[$596>>2] = $598;
+ }
+ $599 = $36;
+ $600 = ($599|0)>=(12);
+ if ($600) {
+ $601 = $36;
+ $602 = (($53) + ($601<<2)|0);
+ $603 = +HEAPF32[$602>>2];
+ $604 = 0.5 * $603;
+ $605 = $36;
+ $606 = (($53) + ($605<<2)|0);
+ HEAPF32[$606>>2] = $604;
+ }
+ $607 = $36;
+ $608 = (($53) + ($607<<2)|0);
+ $609 = +HEAPF32[$608>>2];
+ $610 = $609 < 4.0;
+ if ($610) {
+ $611 = $36;
+ $612 = (($53) + ($611<<2)|0);
+ $613 = +HEAPF32[$612>>2];
+ $616 = $613;
+ } else {
+ $616 = 4.0;
+ }
+ $614 = $36;
+ $615 = (($53) + ($614<<2)|0);
+ HEAPF32[$615>>2] = $616;
+ $617 = $23;
+ $618 = $30;
+ $619 = $36;
+ $620 = (($619) + 1)|0;
+ $621 = (($618) + ($620<<1)|0);
+ $622 = HEAP16[$621>>1]|0;
+ $623 = $622 << 16 >> 16;
+ $624 = $30;
+ $625 = $36;
+ $626 = (($624) + ($625<<1)|0);
+ $627 = HEAP16[$626>>1]|0;
+ $628 = $627 << 16 >> 16;
+ $629 = (($623) - ($628))|0;
+ $630 = Math_imul($617, $629)|0;
+ $631 = $31;
+ $632 = $630 << $631;
+ $45 = $632;
+ $633 = $45;
+ $634 = ($633|0)<(6);
+ do {
+ if ($634) {
+ $635 = $36;
+ $636 = (($53) + ($635<<2)|0);
+ $637 = +HEAPF32[$636>>2];
+ $638 = (~~(($637)));
+ $46 = $638;
+ $639 = $46;
+ $640 = $45;
+ $641 = Math_imul($639, $640)|0;
+ $642 = $641 << 3;
+ $47 = $642;
+ } else {
+ $643 = $45;
+ $644 = ($643|0)>(48);
+ $645 = $36;
+ $646 = (($53) + ($645<<2)|0);
+ $647 = +HEAPF32[$646>>2];
+ if ($644) {
+ $648 = $647 * 8.0;
+ $649 = (~~(($648)));
+ $46 = $649;
+ $650 = $46;
+ $651 = $45;
+ $652 = Math_imul($650, $651)|0;
+ $653 = $652 << 3;
+ $654 = (($653|0) / 8)&-1;
+ $47 = $654;
+ break;
+ } else {
+ $655 = $45;
+ $656 = (+($655|0));
+ $657 = $647 * $656;
+ $658 = $657 / 6.0;
+ $659 = (~~(($658)));
+ $46 = $659;
+ $660 = $46;
+ $661 = ($660*6)|0;
+ $662 = $661 << 3;
+ $47 = $662;
+ break;
+ }
+ }
+ } while(0);
+ $663 = $28;
+ $664 = ($663|0)!=(0);
+ if ($664) {
+ $665 = $29;
+ $666 = ($665|0)==(0);
+ $667 = $27;
+ $668 = ($667|0)!=(0);
+ $or$cond10 = $666 | $668;
+ if (!($or$cond10)) {
+ label = 100;
+ }
+ } else {
+ label = 100;
+ }
+ if ((label|0) == 100) {
+ label = 0;
+ $669 = $38;
+ $670 = $47;
+ $671 = (($669) + ($670))|0;
+ $672 = $671 >> 3;
+ $673 = $672 >> 3;
+ $674 = $32;
+ $675 = (($674|0) / 4)&-1;
+ $676 = ($673|0)>($675|0);
+ if ($676) {
+ break;
+ }
+ }
+ $688 = $46;
+ $689 = $24;
+ $690 = $36;
+ $691 = (($689) + ($690<<2)|0);
+ HEAP32[$691>>2] = $688;
+ $692 = $47;
+ $693 = $38;
+ $694 = (($693) + ($692))|0;
+ $38 = $694;
+ $695 = $36;
+ $696 = (($695) + 1)|0;
+ $36 = $696;
+ }
+ if ((label|0) == 103) {
+ $697 = $38;
+ $698 = $33;
+ HEAP32[$698>>2] = $697;
+ $699 = $39;
+ $700 = $40;
+ _llvm_stackrestore(($700|0));
+ STACKTOP = sp;return (+$699);
+ }
+ $677 = $32;
+ $678 = (($677|0) / 4)&-1;
+ $679 = $678 << 3;
+ $680 = $679 << 3;
+ $48 = $680;
+ $681 = $48;
+ $682 = $38;
+ $683 = (($681) - ($682))|0;
+ $684 = $24;
+ $685 = $36;
+ $686 = (($684) + ($685<<2)|0);
+ HEAP32[$686>>2] = $683;
+ $687 = $48;
+ $38 = $687;
+ $697 = $38;
+ $698 = $33;
+ HEAP32[$698>>2] = $697;
+ $699 = $39;
+ $700 = $40;
+ _llvm_stackrestore(($700|0));
+ STACKTOP = sp;return (+$699);
+}
+function _stereo_analysis($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0.0, $100 = 0.0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0, $115 = 0, $12 = 0, $13 = 0.0;
+ var $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0;
+ var $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0;
+ var $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $10 = 1.0000000036274937E-15;
+ $11 = 1.0000000036274937E-15;
+ $8 = 0;
+ while(1) {
+ $17 = $8;
+ $18 = ($17|0)<(13);
+ if (!($18)) {
+ break;
+ }
+ $19 = $4;
+ $20 = ((($19)) + 32|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = $8;
+ $23 = (($21) + ($22<<1)|0);
+ $24 = HEAP16[$23>>1]|0;
+ $25 = $24 << 16 >> 16;
+ $26 = $6;
+ $27 = $25 << $26;
+ $12 = $27;
+ while(1) {
+ $28 = $12;
+ $29 = $4;
+ $30 = ((($29)) + 32|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = $8;
+ $33 = (($32) + 1)|0;
+ $34 = (($31) + ($33<<1)|0);
+ $35 = HEAP16[$34>>1]|0;
+ $36 = $35 << 16 >> 16;
+ $37 = $6;
+ $38 = $36 << $37;
+ $39 = ($28|0)<($38|0);
+ if (!($39)) {
+ break;
+ }
+ $40 = $5;
+ $41 = $12;
+ $42 = (($40) + ($41<<2)|0);
+ $43 = +HEAPF32[$42>>2];
+ $13 = $43;
+ $44 = $5;
+ $45 = $7;
+ $46 = $12;
+ $47 = (($45) + ($46))|0;
+ $48 = (($44) + ($47<<2)|0);
+ $49 = +HEAPF32[$48>>2];
+ $14 = $49;
+ $50 = $13;
+ $51 = $14;
+ $52 = $50 + $51;
+ $15 = $52;
+ $53 = $13;
+ $54 = $14;
+ $55 = $53 - $54;
+ $16 = $55;
+ $56 = $10;
+ $57 = $13;
+ $58 = $57;
+ $59 = (+Math_abs((+$58)));
+ $60 = $59;
+ $61 = $14;
+ $62 = $61;
+ $63 = (+Math_abs((+$62)));
+ $64 = $63;
+ $65 = $60 + $64;
+ $66 = $56 + $65;
+ $10 = $66;
+ $67 = $11;
+ $68 = $15;
+ $69 = $68;
+ $70 = (+Math_abs((+$69)));
+ $71 = $70;
+ $72 = $16;
+ $73 = $72;
+ $74 = (+Math_abs((+$73)));
+ $75 = $74;
+ $76 = $71 + $75;
+ $77 = $67 + $76;
+ $11 = $77;
+ $78 = $12;
+ $79 = (($78) + 1)|0;
+ $12 = $79;
+ }
+ $80 = $8;
+ $81 = (($80) + 1)|0;
+ $8 = $81;
+ }
+ $82 = $11;
+ $83 = 0.70710700750350952 * $82;
+ $11 = $83;
+ $9 = 13;
+ $84 = $6;
+ $85 = ($84|0)<=(1);
+ if ($85) {
+ $86 = $9;
+ $87 = (($86) - 8)|0;
+ $9 = $87;
+ }
+ $88 = $4;
+ $89 = ((($88)) + 32|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = ((($90)) + 26|0);
+ $92 = HEAP16[$91>>1]|0;
+ $93 = $92 << 16 >> 16;
+ $94 = $6;
+ $95 = (($94) + 1)|0;
+ $96 = $93 << $95;
+ $97 = $9;
+ $98 = (($96) + ($97))|0;
+ $99 = (+($98|0));
+ $100 = $11;
+ $101 = $99 * $100;
+ $102 = $4;
+ $103 = ((($102)) + 32|0);
+ $104 = HEAP32[$103>>2]|0;
+ $105 = ((($104)) + 26|0);
+ $106 = HEAP16[$105>>1]|0;
+ $107 = $106 << 16 >> 16;
+ $108 = $6;
+ $109 = (($108) + 1)|0;
+ $110 = $107 << $109;
+ $111 = (+($110|0));
+ $112 = $10;
+ $113 = $111 * $112;
+ $114 = $101 > $113;
+ $115 = $114&1;
+ STACKTOP = sp;return ($115|0);
+}
+function _alloc_trim_analysis($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = +$9;
+ $10 = $10|0;
+ $11 = +$11;
+ $12 = $12|0;
+ var $100 = 0.0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0;
+ var $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0;
+ var $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0.0, $148 = 0.0, $149 = 0.0, $15 = 0, $150 = 0.0, $151 = 0.0, $152 = 0.0, $153 = 0, $154 = 0.0, $155 = 0.0, $156 = 0.0;
+ var $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0.0, $164 = 0.0, $165 = 0.0, $166 = 0, $167 = 0.0, $168 = 0.0, $169 = 0.0, $17 = 0, $170 = 0.0, $171 = 0.0, $172 = 0.0, $173 = 0.0, $174 = 0.0;
+ var $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0.0, $182 = 0.0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0.0, $189 = 0.0, $19 = 0, $190 = 0, $191 = 0.0, $192 = 0.0;
+ var $193 = 0.0, $194 = 0.0, $195 = 0.0, $196 = 0.0, $197 = 0.0, $198 = 0.0, $199 = 0.0, $20 = 0, $200 = 0.0, $201 = 0.0, $202 = 0.0, $203 = 0.0, $204 = 0, $205 = 0.0, $206 = 0.0, $207 = 0.0, $208 = 0.0, $209 = 0.0, $21 = 0, $210 = 0;
+ var $211 = 0.0, $212 = 0.0, $213 = 0.0, $214 = 0.0, $215 = 0.0, $216 = 0, $217 = 0, $218 = 0.0, $219 = 0.0, $22 = 0.0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0, $224 = 0.0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0;
+ var $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0.0, $239 = 0, $24 = 0.0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0.0, $245 = 0.0, $246 = 0.0, $247 = 0.0;
+ var $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0.0, $259 = 0.0, $26 = 0, $260 = 0.0, $261 = 0.0, $262 = 0.0, $263 = 0.0, $264 = 0, $265 = 0.0;
+ var $266 = 0.0, $267 = 0.0, $268 = 0, $269 = 0.0, $27 = 0.0, $270 = 0.0, $271 = 0.0, $272 = 0.0, $273 = 0, $274 = 0.0, $275 = 0.0, $276 = 0.0, $277 = 0.0, $278 = 0.0, $279 = 0.0, $28 = 0, $280 = 0.0, $281 = 0.0, $282 = 0.0, $283 = 0.0;
+ var $284 = 0.0, $285 = 0.0, $286 = 0.0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0.0, $293 = 0.0, $294 = 0.0, $295 = 0, $296 = 0, $297 = 0, $298 = 0.0, $299 = 0.0, $30 = 0.0, $300 = 0.0, $301 = 0;
+ var $302 = 0.0, $303 = 0, $304 = 0, $305 = 0.0, $306 = 0.0, $307 = 0.0, $308 = 0, $309 = 0, $31 = 0.0, $310 = 0, $311 = 0.0, $312 = 0.0, $313 = 0.0, $314 = 0.0, $315 = 0.0, $316 = 0.0, $317 = 0.0, $318 = 0.0, $319 = 0.0, $32 = 0.0;
+ var $320 = 0.0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0.0, $330 = 0, $331 = 0, $332 = 0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0;
+ var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
+ var $80 = 0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0, $96 = 0.0, $97 = 0.0, $98 = 0.0, $99 = 0.0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $13 = $0;
+ $14 = $1;
+ $15 = $2;
+ $16 = $3;
+ $17 = $4;
+ $18 = $5;
+ $19 = $6;
+ $20 = $7;
+ $21 = $8;
+ $22 = $9;
+ $23 = $10;
+ $24 = $11;
+ $25 = $12;
+ $27 = 0.0;
+ $30 = 5.0;
+ $37 = $18;
+ $38 = ($37|0)==(2);
+ if ($38) {
+ $33 = 0.0;
+ $26 = 0;
+ while(1) {
+ $39 = $26;
+ $40 = ($39|0)<(8);
+ if (!($40)) {
+ break;
+ }
+ $41 = $14;
+ $42 = $13;
+ $43 = ((($42)) + 32|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = $26;
+ $46 = (($44) + ($45<<1)|0);
+ $47 = HEAP16[$46>>1]|0;
+ $48 = $47 << 16 >> 16;
+ $49 = $17;
+ $50 = $48 << $49;
+ $51 = (($41) + ($50<<2)|0);
+ $52 = $14;
+ $53 = $19;
+ $54 = $13;
+ $55 = ((($54)) + 32|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = $26;
+ $58 = (($56) + ($57<<1)|0);
+ $59 = HEAP16[$58>>1]|0;
+ $60 = $59 << 16 >> 16;
+ $61 = $17;
+ $62 = $60 << $61;
+ $63 = (($53) + ($62))|0;
+ $64 = (($52) + ($63<<2)|0);
+ $65 = $13;
+ $66 = ((($65)) + 32|0);
+ $67 = HEAP32[$66>>2]|0;
+ $68 = $26;
+ $69 = (($68) + 1)|0;
+ $70 = (($67) + ($69<<1)|0);
+ $71 = HEAP16[$70>>1]|0;
+ $72 = $71 << 16 >> 16;
+ $73 = $13;
+ $74 = ((($73)) + 32|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $26;
+ $77 = (($75) + ($76<<1)|0);
+ $78 = HEAP16[$77>>1]|0;
+ $79 = $78 << 16 >> 16;
+ $80 = (($72) - ($79))|0;
+ $81 = $17;
+ $82 = $80 << $81;
+ $83 = (+_celt_inner_prod_c_51($51,$64,$82));
+ $35 = $83;
+ $84 = $33;
+ $85 = $35;
+ $86 = $84 + $85;
+ $33 = $86;
+ $87 = $26;
+ $88 = (($87) + 1)|0;
+ $26 = $88;
+ }
+ $89 = $33;
+ $90 = 0.125 * $89;
+ $33 = $90;
+ $91 = $33;
+ $92 = $91;
+ $93 = (+Math_abs((+$92)));
+ $94 = $93;
+ $95 = 1.0 < $94;
+ if ($95) {
+ $100 = 1.0;
+ } else {
+ $96 = $33;
+ $97 = $96;
+ $98 = (+Math_abs((+$97)));
+ $99 = $98;
+ $100 = $99;
+ }
+ $33 = $100;
+ $101 = $33;
+ $34 = $101;
+ $26 = 8;
+ while(1) {
+ $102 = $26;
+ $103 = $23;
+ $104 = ($102|0)<($103|0);
+ if (!($104)) {
+ break;
+ }
+ $105 = $14;
+ $106 = $13;
+ $107 = ((($106)) + 32|0);
+ $108 = HEAP32[$107>>2]|0;
+ $109 = $26;
+ $110 = (($108) + ($109<<1)|0);
+ $111 = HEAP16[$110>>1]|0;
+ $112 = $111 << 16 >> 16;
+ $113 = $17;
+ $114 = $112 << $113;
+ $115 = (($105) + ($114<<2)|0);
+ $116 = $14;
+ $117 = $19;
+ $118 = $13;
+ $119 = ((($118)) + 32|0);
+ $120 = HEAP32[$119>>2]|0;
+ $121 = $26;
+ $122 = (($120) + ($121<<1)|0);
+ $123 = HEAP16[$122>>1]|0;
+ $124 = $123 << 16 >> 16;
+ $125 = $17;
+ $126 = $124 << $125;
+ $127 = (($117) + ($126))|0;
+ $128 = (($116) + ($127<<2)|0);
+ $129 = $13;
+ $130 = ((($129)) + 32|0);
+ $131 = HEAP32[$130>>2]|0;
+ $132 = $26;
+ $133 = (($132) + 1)|0;
+ $134 = (($131) + ($133<<1)|0);
+ $135 = HEAP16[$134>>1]|0;
+ $136 = $135 << 16 >> 16;
+ $137 = $13;
+ $138 = ((($137)) + 32|0);
+ $139 = HEAP32[$138>>2]|0;
+ $140 = $26;
+ $141 = (($139) + ($140<<1)|0);
+ $142 = HEAP16[$141>>1]|0;
+ $143 = $142 << 16 >> 16;
+ $144 = (($136) - ($143))|0;
+ $145 = $17;
+ $146 = $144 << $145;
+ $147 = (+_celt_inner_prod_c_51($115,$128,$146));
+ $36 = $147;
+ $148 = $34;
+ $149 = $36;
+ $150 = $149;
+ $151 = (+Math_abs((+$150)));
+ $152 = $151;
+ $153 = $148 < $152;
+ if ($153) {
+ $154 = $34;
+ $159 = $154;
+ } else {
+ $155 = $36;
+ $156 = $155;
+ $157 = (+Math_abs((+$156)));
+ $158 = $157;
+ $159 = $158;
+ }
+ $34 = $159;
+ $160 = $26;
+ $161 = (($160) + 1)|0;
+ $26 = $161;
+ }
+ $162 = $34;
+ $163 = $162;
+ $164 = (+Math_abs((+$163)));
+ $165 = $164;
+ $166 = 1.0 < $165;
+ if ($166) {
+ $171 = 1.0;
+ } else {
+ $167 = $34;
+ $168 = $167;
+ $169 = (+Math_abs((+$168)));
+ $170 = $169;
+ $171 = $170;
+ }
+ $34 = $171;
+ $172 = $33;
+ $173 = $33;
+ $174 = $172 * $173;
+ $175 = 1.0010000467300415 - $174;
+ $176 = $175;
+ $177 = (+Math_log((+$176)));
+ $178 = 1.4426950408889634 * $177;
+ $179 = $178;
+ $31 = $179;
+ $180 = $31;
+ $181 = 0.5 * $180;
+ $182 = $34;
+ $183 = $34;
+ $184 = $182 * $183;
+ $185 = 1.0010000467300415 - $184;
+ $186 = $185;
+ $187 = (+Math_log((+$186)));
+ $188 = 1.4426950408889634 * $187;
+ $189 = $188;
+ $190 = $181 > $189;
+ if ($190) {
+ $191 = $31;
+ $192 = 0.5 * $191;
+ $201 = $192;
+ } else {
+ $193 = $34;
+ $194 = $34;
+ $195 = $193 * $194;
+ $196 = 1.0010000467300415 - $195;
+ $197 = $196;
+ $198 = (+Math_log((+$197)));
+ $199 = 1.4426950408889634 * $198;
+ $200 = $199;
+ $201 = $200;
+ }
+ $32 = $201;
+ $202 = $31;
+ $203 = 0.75 * $202;
+ $204 = -4.0 > $203;
+ $205 = $31;
+ $206 = 0.75 * $205;
+ $207 = $204 ? -4.0 : $206;
+ $208 = $30;
+ $209 = $208 + $207;
+ $30 = $209;
+ $210 = $21;
+ $211 = +HEAPF32[$210>>2];
+ $212 = $211 + 0.25;
+ $213 = $32;
+ $214 = 0.5 * $213;
+ $215 = - $214;
+ $216 = $212 < $215;
+ if ($216) {
+ $217 = $21;
+ $218 = +HEAPF32[$217>>2];
+ $219 = $218 + 0.25;
+ $224 = $219;
+ } else {
+ $220 = $32;
+ $221 = 0.5 * $220;
+ $222 = - $221;
+ $224 = $222;
+ }
+ $223 = $21;
+ HEAPF32[$223>>2] = $224;
+ }
+ $28 = 0;
+ while(1) {
+ $26 = 0;
+ while(1) {
+ $225 = $26;
+ $226 = $16;
+ $227 = (($226) - 1)|0;
+ $228 = ($225|0)<($227|0);
+ if (!($228)) {
+ break;
+ }
+ $229 = $15;
+ $230 = $26;
+ $231 = $28;
+ $232 = $13;
+ $233 = ((($232)) + 8|0);
+ $234 = HEAP32[$233>>2]|0;
+ $235 = Math_imul($231, $234)|0;
+ $236 = (($230) + ($235))|0;
+ $237 = (($229) + ($236<<2)|0);
+ $238 = +HEAPF32[$237>>2];
+ $239 = $26;
+ $240 = $239<<1;
+ $241 = (2 + ($240))|0;
+ $242 = $16;
+ $243 = (($241) - ($242))|0;
+ $244 = (+($243|0));
+ $245 = $238 * $244;
+ $246 = $27;
+ $247 = $246 + $245;
+ $27 = $247;
+ $248 = $26;
+ $249 = (($248) + 1)|0;
+ $26 = $249;
+ }
+ $250 = $28;
+ $251 = (($250) + 1)|0;
+ $28 = $251;
+ $252 = $18;
+ $253 = ($251|0)<($252|0);
+ if (!($253)) {
+ break;
+ }
+ }
+ $254 = $18;
+ $255 = $16;
+ $256 = (($255) - 1)|0;
+ $257 = Math_imul($254, $256)|0;
+ $258 = (+($257|0));
+ $259 = $27;
+ $260 = $259 / $258;
+ $27 = $260;
+ $261 = $27;
+ $262 = $261 + 1.0;
+ $263 = $262 / 6.0;
+ $264 = 2.0 < $263;
+ if ($264) {
+ $269 = 2.0;
+ } else {
+ $265 = $27;
+ $266 = $265 + 1.0;
+ $267 = $266 / 6.0;
+ $269 = $267;
+ }
+ $268 = -2.0 > $269;
+ if ($268) {
+ $279 = -2.0;
+ } else {
+ $270 = $27;
+ $271 = $270 + 1.0;
+ $272 = $271 / 6.0;
+ $273 = 2.0 < $272;
+ if ($273) {
+ $279 = 2.0;
+ } else {
+ $274 = $27;
+ $275 = $274 + 1.0;
+ $276 = $275 / 6.0;
+ $279 = $276;
+ }
+ }
+ $277 = $30;
+ $278 = $277 - $279;
+ $30 = $278;
+ $280 = $24;
+ $281 = $30;
+ $282 = $281 - $280;
+ $30 = $282;
+ $283 = $22;
+ $284 = 2.0 * $283;
+ $285 = $30;
+ $286 = $285 - $284;
+ $30 = $286;
+ $287 = $20;
+ $288 = HEAP32[$287>>2]|0;
+ $289 = ($288|0)!=(0);
+ if ($289) {
+ $290 = $20;
+ $291 = ((($290)) + 8|0);
+ $292 = +HEAPF32[$291>>2];
+ $293 = $292 + 0.05000000074505806;
+ $294 = 2.0 * $293;
+ $295 = 2.0 < $294;
+ if ($295) {
+ $302 = 2.0;
+ } else {
+ $296 = $20;
+ $297 = ((($296)) + 8|0);
+ $298 = +HEAPF32[$297>>2];
+ $299 = $298 + 0.05000000074505806;
+ $300 = 2.0 * $299;
+ $302 = $300;
+ }
+ $301 = -2.0 > $302;
+ if ($301) {
+ $316 = -2.0;
+ } else {
+ $303 = $20;
+ $304 = ((($303)) + 8|0);
+ $305 = +HEAPF32[$304>>2];
+ $306 = $305 + 0.05000000074505806;
+ $307 = 2.0 * $306;
+ $308 = 2.0 < $307;
+ if ($308) {
+ $316 = 2.0;
+ } else {
+ $309 = $20;
+ $310 = ((($309)) + 8|0);
+ $311 = +HEAPF32[$310>>2];
+ $312 = $311 + 0.05000000074505806;
+ $313 = 2.0 * $312;
+ $316 = $313;
+ }
+ }
+ $314 = $30;
+ $315 = $314 - $316;
+ $30 = $315;
+ }
+ $317 = $30;
+ $318 = 0.5 + $317;
+ $319 = $318;
+ $320 = (+Math_floor((+$319)));
+ $321 = (~~(($320)));
+ $29 = $321;
+ $322 = $29;
+ $323 = (10)<($322|0);
+ $324 = $29;
+ $325 = $323 ? 10 : $324;
+ $326 = (0)>($325|0);
+ if ($326) {
+ $331 = 0;
+ $29 = $331;
+ $332 = $29;
+ STACKTOP = sp;return ($332|0);
+ }
+ $327 = $29;
+ $328 = (10)<($327|0);
+ $329 = $29;
+ $330 = $328 ? 10 : $329;
+ $331 = $330;
+ $29 = $331;
+ $332 = $29;
+ STACKTOP = sp;return ($332|0);
+}
+function _compute_vbr($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = +$9;
+ $10 = $10|0;
+ $11 = +$11;
+ $12 = $12|0;
+ $13 = +$13;
+ $14 = $14|0;
+ $15 = $15|0;
+ $16 = $16|0;
+ $17 = +$17;
+ $18 = +$18;
+ var $$sink = 0.0, $$sink2 = 0, $100 = 0.0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0.0, $129 = 0, $130 = 0.0, $131 = 0.0, $132 = 0.0, $133 = 0, $134 = 0.0, $135 = 0.0, $136 = 0.0, $137 = 0;
+ var $138 = 0.0, $139 = 0.0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0.0, $145 = 0.0, $146 = 0, $147 = 0.0, $148 = 0, $149 = 0.0, $150 = 0.0, $151 = 0, $152 = 0, $153 = 0.0, $154 = 0.0, $155 = 0, $156 = 0, $157 = 0;
+ var $158 = 0, $159 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0.0, $168 = 0.0, $169 = 0.0, $170 = 0, $171 = 0.0, $172 = 0.0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0;
+ var $178 = 0, $179 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0, $186 = 0, $187 = 0, $188 = 0.0, $189 = 0.0, $19 = 0, $190 = 0.0, $191 = 0.0, $192 = 0, $193 = 0, $194 = 0, $195 = 0.0, $196 = 0.0;
+ var $197 = 0.0, $198 = 0.0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0.0, $206 = 0.0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0;
+ var $215 = 0, $216 = 0.0, $217 = 0, $218 = 0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0;
+ var $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0.0, $244 = 0.0, $245 = 0.0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0;
+ var $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0;
+ var $27 = 0, $270 = 0, $271 = 0.0, $272 = 0.0, $273 = 0, $274 = 0, $275 = 0, $276 = 0.0, $277 = 0.0, $278 = 0.0, $279 = 0, $28 = 0.0, $280 = 0, $281 = 0.0, $282 = 0, $283 = 0.0, $284 = 0.0, $285 = 0, $286 = 0.0, $287 = 0;
+ var $288 = 0, $289 = 0, $29 = 0, $290 = 0.0, $291 = 0.0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0.0, $297 = 0, $298 = 0, $299 = 0, $30 = 0.0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0;
+ var $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0.0, $312 = 0, $313 = 0.0, $314 = 0.0, $315 = 0.0, $316 = 0.0, $317 = 0.0, $318 = 0, $319 = 0.0, $32 = 0.0, $320 = 0.0, $321 = 0, $322 = 0, $323 = 0;
+ var $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0;
+ var $44 = 0, $45 = 0, $46 = 0.0, $47 = 0, $48 = 0.0, $49 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0;
+ var $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond11 = 0, $or$cond5 = 0, $or$cond7 = 0;
+ var $or$cond9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
+ $19 = $0;
+ $20 = $1;
+ $21 = $2;
+ $22 = $3;
+ $23 = $4;
+ $24 = $5;
+ $25 = $6;
+ $26 = $7;
+ $27 = $8;
+ $28 = $9;
+ $29 = $10;
+ $30 = $11;
+ $31 = $12;
+ $32 = $13;
+ $33 = $14;
+ $34 = $15;
+ $35 = $16;
+ $36 = $17;
+ $37 = $18;
+ $55 = $19;
+ $56 = ((($55)) + 8|0);
+ $57 = HEAP32[$56>>2]|0;
+ $42 = $57;
+ $58 = $19;
+ $59 = ((($58)) + 32|0);
+ $60 = HEAP32[$59>>2]|0;
+ $43 = $60;
+ $61 = $24;
+ $62 = ($61|0)!=(0);
+ $63 = $24;
+ $64 = $42;
+ $65 = $62 ? $63 : $64;
+ $40 = $65;
+ $66 = $43;
+ $67 = $40;
+ $68 = (($66) + ($67<<1)|0);
+ $69 = HEAP16[$68>>1]|0;
+ $70 = $69 << 16 >> 16;
+ $71 = $22;
+ $72 = $70 << $71;
+ $39 = $72;
+ $73 = $25;
+ $74 = ($73|0)==(2);
+ if ($74) {
+ $75 = $43;
+ $76 = $26;
+ $77 = $40;
+ $78 = ($76|0)<($77|0);
+ $79 = $26;
+ $80 = $40;
+ $81 = $78 ? $79 : $80;
+ $82 = (($75) + ($81<<1)|0);
+ $83 = HEAP16[$82>>1]|0;
+ $84 = $83 << 16 >> 16;
+ $85 = $22;
+ $86 = $84 << $85;
+ $87 = $39;
+ $88 = (($87) + ($86))|0;
+ $39 = $88;
+ }
+ $89 = $21;
+ $38 = $89;
+ $90 = $20;
+ $91 = HEAP32[$90>>2]|0;
+ $92 = ($91|0)!=(0);
+ if ($92) {
+ $93 = $20;
+ $94 = ((($93)) + 16|0);
+ $95 = +HEAPF32[$94>>2];
+ $96 = $95;
+ $97 = $96 < 0.40000000000000002;
+ if ($97) {
+ $98 = $39;
+ $99 = $98 << 3;
+ $100 = (+($99|0));
+ $101 = $20;
+ $102 = ((($101)) + 16|0);
+ $103 = +HEAPF32[$102>>2];
+ $104 = 0.40000000596046448 - $103;
+ $105 = $100 * $104;
+ $106 = (~~(($105)));
+ $107 = $38;
+ $108 = (($107) - ($106))|0;
+ $38 = $108;
+ }
+ }
+ $109 = $25;
+ $110 = ($109|0)==(2);
+ if ($110) {
+ $111 = $26;
+ $112 = $40;
+ $113 = ($111|0)<($112|0);
+ $114 = $26;
+ $115 = $40;
+ $116 = $113 ? $114 : $115;
+ $44 = $116;
+ $117 = $43;
+ $118 = $44;
+ $119 = (($117) + ($118<<1)|0);
+ $120 = HEAP16[$119>>1]|0;
+ $121 = $120 << 16 >> 16;
+ $122 = $22;
+ $123 = $121 << $122;
+ $124 = $44;
+ $125 = (($123) - ($124))|0;
+ $45 = $125;
+ $126 = $45;
+ $127 = (+($126|0));
+ $128 = 0.80000001192092896 * $127;
+ $129 = $39;
+ $130 = (+($129|0));
+ $131 = $128 / $130;
+ $46 = $131;
+ $132 = $28;
+ $133 = $132 < 1.0;
+ $134 = $28;
+ $135 = $133 ? $134 : 1.0;
+ $28 = $135;
+ $136 = $46;
+ $137 = $38;
+ $138 = (+($137|0));
+ $139 = $136 * $138;
+ $140 = $28;
+ $141 = $140 - 0.10000000149011612;
+ $142 = $45;
+ $143 = $142 << 3;
+ $144 = (+($143|0));
+ $145 = $141 * $144;
+ $146 = $139 < $145;
+ if ($146) {
+ $147 = $46;
+ $148 = $38;
+ $$sink = $147;$$sink2 = $148;
+ } else {
+ $149 = $28;
+ $150 = $149 - 0.10000000149011612;
+ $151 = $45;
+ $152 = $151 << 3;
+ $$sink = $150;$$sink2 = $152;
+ }
+ $153 = (+($$sink2|0));
+ $154 = $$sink * $153;
+ $155 = (~~(($154)));
+ $156 = $38;
+ $157 = (($156) - ($155))|0;
+ $38 = $157;
+ }
+ $158 = $29;
+ $159 = $22;
+ $160 = 16 << $159;
+ $161 = (($158) - ($160))|0;
+ $162 = $38;
+ $163 = (($162) + ($161))|0;
+ $38 = $163;
+ $164 = $33;
+ $165 = ($164|0)==(5010);
+ $166 = $165 ? 0.019999999552965164 : 0.039999999105930328;
+ $41 = $166;
+ $167 = $30;
+ $168 = $41;
+ $169 = $167 - $168;
+ $170 = $38;
+ $171 = (+($170|0));
+ $172 = $169 * $171;
+ $173 = (~~(($172)));
+ $174 = $38;
+ $175 = (($174) + ($173))|0;
+ $38 = $175;
+ $176 = $20;
+ $177 = HEAP32[$176>>2]|0;
+ $178 = ($177|0)==(0);
+ $179 = $34;
+ $180 = ($179|0)!=(0);
+ $or$cond = $178 | $180;
+ if (!($or$cond)) {
+ $181 = $20;
+ $182 = ((($181)) + 4|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $183 - 0.15000000596046448;
+ $185 = 0.0 > $184;
+ if ($185) {
+ $191 = 0.0;
+ } else {
+ $186 = $20;
+ $187 = ((($186)) + 4|0);
+ $188 = +HEAPF32[$187>>2];
+ $189 = $188 - 0.15000000596046448;
+ $191 = $189;
+ }
+ $190 = $191 - 0.090000003576278687;
+ $48 = $190;
+ $192 = $38;
+ $193 = $39;
+ $194 = $193 << 3;
+ $195 = (+($194|0));
+ $196 = $195 * 1.2000000476837158;
+ $197 = $48;
+ $198 = $196 * $197;
+ $199 = (~~(($198)));
+ $200 = (($192) + ($199))|0;
+ $47 = $200;
+ $201 = $31;
+ $202 = ($201|0)!=(0);
+ if ($202) {
+ $203 = $39;
+ $204 = $203 << 3;
+ $205 = (+($204|0));
+ $206 = $205 * 0.80000001192092896;
+ $207 = (~~(($206)));
+ $208 = $47;
+ $209 = (($208) + ($207))|0;
+ $47 = $209;
+ }
+ $210 = $47;
+ $38 = $210;
+ }
+ $211 = $35;
+ $212 = ($211|0)==(0);
+ $213 = $34;
+ $214 = ($213|0)!=(0);
+ $or$cond5 = $212 | $214;
+ if (!($or$cond5)) {
+ $215 = $38;
+ $216 = $36;
+ $217 = $39;
+ $218 = $217 << 3;
+ $219 = (+($218|0));
+ $220 = $216 * $219;
+ $221 = (~~(($220)));
+ $222 = (($215) + ($221))|0;
+ $49 = $222;
+ $223 = $38;
+ $224 = (($223|0) / 4)&-1;
+ $225 = $49;
+ $226 = ($224|0)>($225|0);
+ if ($226) {
+ $227 = $38;
+ $228 = (($227|0) / 4)&-1;
+ $230 = $228;
+ } else {
+ $229 = $49;
+ $230 = $229;
+ }
+ $38 = $230;
+ }
+ $231 = $43;
+ $232 = $42;
+ $233 = (($232) - 2)|0;
+ $234 = (($231) + ($233<<1)|0);
+ $235 = HEAP16[$234>>1]|0;
+ $236 = $235 << 16 >> 16;
+ $237 = $22;
+ $238 = $236 << $237;
+ $51 = $238;
+ $239 = $25;
+ $240 = $51;
+ $241 = Math_imul($239, $240)|0;
+ $242 = $241 << 3;
+ $243 = (+($242|0));
+ $244 = $32;
+ $245 = $243 * $244;
+ $246 = (~~(($245)));
+ $50 = $246;
+ $247 = $50;
+ $248 = $38;
+ $249 = $248 >> 2;
+ $250 = ($247|0)>($249|0);
+ $251 = $50;
+ $252 = $38;
+ $253 = $252 >> 2;
+ $254 = $250 ? $251 : $253;
+ $50 = $254;
+ $255 = $38;
+ $256 = $50;
+ $257 = ($255|0)<($256|0);
+ $258 = $38;
+ $259 = $50;
+ $260 = $257 ? $258 : $259;
+ $38 = $260;
+ $261 = $35;
+ $262 = ($261|0)==(0);
+ $263 = $34;
+ $264 = ($263|0)!=(0);
+ $or$cond7 = $262 | $264;
+ if ($or$cond7) {
+ $265 = $27;
+ $266 = ($265|0)!=(0);
+ $267 = $23;
+ $268 = ($267|0)<(64000);
+ $or$cond9 = $266 | $268;
+ if ($or$cond9) {
+ $269 = $23;
+ $270 = (($269) - 32000)|0;
+ $271 = (+($270|0));
+ $272 = 3.0517578125E-5 * $271;
+ $273 = 0.0 > $272;
+ if ($273) {
+ $278 = 0.0;
+ } else {
+ $274 = $23;
+ $275 = (($274) - 32000)|0;
+ $276 = (+($275|0));
+ $277 = 3.0517578125E-5 * $276;
+ $278 = $277;
+ }
+ $52 = $278;
+ $279 = $27;
+ $280 = ($279|0)!=(0);
+ if ($280) {
+ $281 = $52;
+ $282 = $281 < 0.67000001668930054;
+ $283 = $52;
+ $284 = $282 ? $283 : 0.67000001668930054;
+ $52 = $284;
+ }
+ $285 = $21;
+ $286 = $52;
+ $287 = $38;
+ $288 = $21;
+ $289 = (($287) - ($288))|0;
+ $290 = (+($289|0));
+ $291 = $286 * $290;
+ $292 = (~~(($291)));
+ $293 = (($285) + ($292))|0;
+ $38 = $293;
+ }
+ }
+ $294 = $35;
+ $295 = ($294|0)==(0);
+ $296 = $30;
+ $297 = $296 < 0.20000000298023224;
+ $or$cond11 = $295 & $297;
+ if (!($or$cond11)) {
+ $324 = $21;
+ $325 = $324<<1;
+ $326 = $38;
+ $327 = ($325|0)<($326|0);
+ $328 = $21;
+ $329 = $328<<1;
+ $330 = $38;
+ $331 = $327 ? $329 : $330;
+ $38 = $331;
+ $332 = $38;
+ STACKTOP = sp;return ($332|0);
+ }
+ $298 = $23;
+ $299 = (96000 - ($298))|0;
+ $300 = (32000)<($299|0);
+ $301 = $23;
+ $302 = (96000 - ($301))|0;
+ $303 = $300 ? 32000 : $302;
+ $304 = (0)>($303|0);
+ if ($304) {
+ $312 = 0;
+ } else {
+ $305 = $23;
+ $306 = (96000 - ($305))|0;
+ $307 = (32000)<($306|0);
+ $308 = $23;
+ $309 = (96000 - ($308))|0;
+ $310 = $307 ? 32000 : $309;
+ $312 = $310;
+ }
+ $311 = (+($312|0));
+ $313 = 3.0999999580672011E-6 * $311;
+ $53 = $313;
+ $314 = $37;
+ $315 = $53;
+ $316 = $314 * $315;
+ $54 = $316;
+ $317 = $54;
+ $318 = $38;
+ $319 = (+($318|0));
+ $320 = $317 * $319;
+ $321 = (~~(($320)));
+ $322 = $38;
+ $323 = (($322) + ($321))|0;
+ $38 = $323;
+ $324 = $21;
+ $325 = $324<<1;
+ $326 = $38;
+ $327 = ($325|0)<($326|0);
+ $328 = $21;
+ $329 = $328<<1;
+ $330 = $38;
+ $331 = $327 ? $329 : $330;
+ $38 = $331;
+ $332 = $38;
+ STACKTOP = sp;return ($332|0);
+}
+function _ec_get_error($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 44|0);
+ $4 = HEAP32[$3>>2]|0;
+ STACKTOP = sp;return ($4|0);
+}
+function _celt_inner_prod_c_51($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = 0.0;
+ $6 = 0;
+ while(1) {
+ $8 = $6;
+ $9 = $5;
+ $10 = ($8|0)<($9|0);
+ $11 = $7;
+ if (!($10)) {
+ break;
+ }
+ $12 = $3;
+ $13 = $6;
+ $14 = (($12) + ($13<<2)|0);
+ $15 = +HEAPF32[$14>>2];
+ $16 = $4;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ $19 = +HEAPF32[$18>>2];
+ $20 = $15 * $19;
+ $21 = $11 + $20;
+ $7 = $21;
+ $22 = $6;
+ $23 = (($22) + 1)|0;
+ $6 = $23;
+ }
+ STACKTOP = sp;return (+$11);
+}
+function _median_of_5($0) {
+ $0 = $0|0;
+ var $1 = 0.0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0.0;
+ var $28 = 0, $29 = 0, $3 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0.0, $40 = 0.0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0.0;
+ var $46 = 0.0, $47 = 0.0, $48 = 0, $49 = 0.0, $5 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0, $58 = 0.0, $59 = 0.0, $6 = 0.0, $60 = 0, $61 = 0.0, $62 = 0.0, $63 = 0;
+ var $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0.0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0.0, $8 = 0.0, $80 = 0.0, $81 = 0.0;
+ var $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $2 = $0;
+ $10 = $2;
+ $11 = ((($10)) + 8|0);
+ $12 = +HEAPF32[$11>>2];
+ $5 = $12;
+ $13 = $2;
+ $14 = +HEAPF32[$13>>2];
+ $15 = $2;
+ $16 = ((($15)) + 4|0);
+ $17 = +HEAPF32[$16>>2];
+ $18 = $14 > $17;
+ $19 = $2;
+ if ($18) {
+ $20 = ((($19)) + 4|0);
+ $21 = +HEAPF32[$20>>2];
+ $3 = $21;
+ $22 = $2;
+ $23 = +HEAPF32[$22>>2];
+ $4 = $23;
+ } else {
+ $24 = +HEAPF32[$19>>2];
+ $3 = $24;
+ $25 = $2;
+ $26 = ((($25)) + 4|0);
+ $27 = +HEAPF32[$26>>2];
+ $4 = $27;
+ }
+ $28 = $2;
+ $29 = ((($28)) + 12|0);
+ $30 = +HEAPF32[$29>>2];
+ $31 = $2;
+ $32 = ((($31)) + 16|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $30 > $33;
+ $35 = $2;
+ if ($34) {
+ $36 = ((($35)) + 16|0);
+ $37 = +HEAPF32[$36>>2];
+ $6 = $37;
+ $38 = $2;
+ $39 = ((($38)) + 12|0);
+ $40 = +HEAPF32[$39>>2];
+ $7 = $40;
+ } else {
+ $41 = ((($35)) + 12|0);
+ $42 = +HEAPF32[$41>>2];
+ $6 = $42;
+ $43 = $2;
+ $44 = ((($43)) + 16|0);
+ $45 = +HEAPF32[$44>>2];
+ $7 = $45;
+ }
+ $46 = $3;
+ $47 = $6;
+ $48 = $46 > $47;
+ if ($48) {
+ $49 = $3;
+ $8 = $49;
+ $50 = $6;
+ $3 = $50;
+ $51 = $8;
+ $6 = $51;
+ $52 = $4;
+ $9 = $52;
+ $53 = $7;
+ $4 = $53;
+ $54 = $9;
+ $7 = $54;
+ }
+ $55 = $5;
+ $56 = $4;
+ $57 = $55 > $56;
+ if ($57) {
+ $58 = $4;
+ $59 = $6;
+ $60 = $58 < $59;
+ if ($60) {
+ $61 = $5;
+ $62 = $6;
+ $63 = $61 < $62;
+ $64 = $5;
+ $65 = $6;
+ $66 = $63 ? $64 : $65;
+ $1 = $66;
+ $88 = $1;
+ STACKTOP = sp;return (+$88);
+ } else {
+ $67 = $7;
+ $68 = $4;
+ $69 = $67 < $68;
+ $70 = $7;
+ $71 = $4;
+ $72 = $69 ? $70 : $71;
+ $1 = $72;
+ $88 = $1;
+ STACKTOP = sp;return (+$88);
+ }
+ } else {
+ $73 = $5;
+ $74 = $6;
+ $75 = $73 < $74;
+ if ($75) {
+ $76 = $4;
+ $77 = $6;
+ $78 = $76 < $77;
+ $79 = $4;
+ $80 = $6;
+ $81 = $78 ? $79 : $80;
+ $1 = $81;
+ $88 = $1;
+ STACKTOP = sp;return (+$88);
+ } else {
+ $82 = $5;
+ $83 = $7;
+ $84 = $82 < $83;
+ $85 = $5;
+ $86 = $7;
+ $87 = $84 ? $85 : $86;
+ $1 = $87;
+ $88 = $1;
+ STACKTOP = sp;return (+$88);
+ }
+ }
+ return +(0.0);
+}
+function _median_of_3($0) {
+ $0 = $0|0;
+ var $1 = 0.0, $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0.0;
+ var $28 = 0.0, $29 = 0.0, $3 = 0.0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $6 = $2;
+ $7 = +HEAPF32[$6>>2];
+ $8 = $2;
+ $9 = ((($8)) + 4|0);
+ $10 = +HEAPF32[$9>>2];
+ $11 = $7 > $10;
+ $12 = $2;
+ if ($11) {
+ $13 = ((($12)) + 4|0);
+ $14 = +HEAPF32[$13>>2];
+ $3 = $14;
+ $15 = $2;
+ $16 = +HEAPF32[$15>>2];
+ $4 = $16;
+ } else {
+ $17 = +HEAPF32[$12>>2];
+ $3 = $17;
+ $18 = $2;
+ $19 = ((($18)) + 4|0);
+ $20 = +HEAPF32[$19>>2];
+ $4 = $20;
+ }
+ $21 = $2;
+ $22 = ((($21)) + 8|0);
+ $23 = +HEAPF32[$22>>2];
+ $5 = $23;
+ $24 = $4;
+ $25 = $5;
+ $26 = $24 < $25;
+ if ($26) {
+ $27 = $4;
+ $1 = $27;
+ $33 = $1;
+ STACKTOP = sp;return (+$33);
+ }
+ $28 = $3;
+ $29 = $5;
+ $30 = $28 < $29;
+ if ($30) {
+ $31 = $5;
+ $1 = $31;
+ $33 = $1;
+ STACKTOP = sp;return (+$33);
+ } else {
+ $32 = $3;
+ $1 = $32;
+ $33 = $1;
+ STACKTOP = sp;return (+$33);
+ }
+ return +(0.0);
+}
+function _l1_metric($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = +$3;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0.0, $29 = 0.0;
+ var $30 = 0.0, $31 = 0.0, $32 = 0.0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = 0.0;
+ $8 = 0;
+ while(1) {
+ $10 = $8;
+ $11 = $5;
+ $12 = ($10|0)<($11|0);
+ if (!($12)) {
+ break;
+ }
+ $13 = $4;
+ $14 = $8;
+ $15 = (($13) + ($14<<2)|0);
+ $16 = +HEAPF32[$15>>2];
+ $17 = $16;
+ $18 = (+Math_abs((+$17)));
+ $19 = $18;
+ $20 = $9;
+ $21 = $20 + $19;
+ $9 = $21;
+ $22 = $8;
+ $23 = (($22) + 1)|0;
+ $8 = $23;
+ }
+ $24 = $9;
+ $25 = $6;
+ $26 = (+($25|0));
+ $27 = $7;
+ $28 = $26 * $27;
+ $29 = $9;
+ $30 = $28 * $29;
+ $31 = $24 + $30;
+ $9 = $31;
+ $32 = $9;
+ STACKTOP = sp;return (+$32);
+}
+function _celt_decoder_get_size($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $3 = (_opus_custom_mode_create(48000,960,0)|0);
+ $2 = $3;
+ $4 = $2;
+ $5 = $1;
+ $6 = (_opus_custom_decoder_get_size($4,$5)|0);
+ STACKTOP = sp;return ($6|0);
+}
+function _opus_custom_decoder_get_size($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
+ var $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = $3;
+ $6 = $2;
+ $7 = ((($6)) + 4|0);
+ $8 = HEAP32[$7>>2]|0;
+ $9 = (2048 + ($8))|0;
+ $10 = Math_imul($5, $9)|0;
+ $11 = (($10) - 1)|0;
+ $12 = $11<<2;
+ $13 = (88 + ($12))|0;
+ $14 = $3;
+ $15 = ($14*24)|0;
+ $16 = $15<<2;
+ $17 = (($13) + ($16))|0;
+ $18 = $2;
+ $19 = ((($18)) + 8|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = $20<<3;
+ $22 = $21<<2;
+ $23 = (($17) + ($22))|0;
+ $4 = $23;
+ $24 = $4;
+ STACKTOP = sp;return ($24|0);
+}
+function _celt_decoder_init($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $8 = $4;
+ $9 = (_opus_custom_mode_create(48000,960,0)|0);
+ $10 = $6;
+ $11 = (_opus_custom_decoder_init($8,$9,$10)|0);
+ $7 = $11;
+ $12 = $7;
+ $13 = ($12|0)!=(0);
+ if ($13) {
+ $14 = $7;
+ $3 = $14;
+ $23 = $3;
+ STACKTOP = sp;return ($23|0);
+ }
+ $15 = $5;
+ $16 = (_resampling_factor($15)|0);
+ $17 = $4;
+ $18 = ((($17)) + 16|0);
+ HEAP32[$18>>2] = $16;
+ $19 = $4;
+ $20 = ((($19)) + 16|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = ($21|0)==(0);
+ if ($22) {
+ $3 = -1;
+ $23 = $3;
+ STACKTOP = sp;return ($23|0);
+ } else {
+ $3 = 0;
+ $23 = $3;
+ STACKTOP = sp;return ($23|0);
+ }
+ return (0)|0;
+}
+function _opus_custom_decoder_init($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $vararg_buffer = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $vararg_buffer = sp;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $6;
+ $8 = ($7|0)<(0);
+ $9 = $6;
+ $10 = ($9|0)>(2);
+ $or$cond = $8 | $10;
+ if ($or$cond) {
+ $3 = -1;
+ $48 = $3;
+ STACKTOP = sp;return ($48|0);
+ }
+ $11 = $4;
+ $12 = ($11|0)==(0|0);
+ if ($12) {
+ $3 = -7;
+ $48 = $3;
+ STACKTOP = sp;return ($48|0);
+ } else {
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = (_opus_custom_decoder_get_size($14,$15)|0);
+ $17 = $16;
+ _memset(($13|0),0,($17|0))|0;
+ $18 = $5;
+ $19 = $4;
+ HEAP32[$19>>2] = $18;
+ $20 = $5;
+ $21 = ((($20)) + 4|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = $4;
+ $24 = ((($23)) + 4|0);
+ HEAP32[$24>>2] = $22;
+ $25 = $6;
+ $26 = $4;
+ $27 = ((($26)) + 8|0);
+ HEAP32[$27>>2] = $25;
+ $28 = $4;
+ $29 = ((($28)) + 12|0);
+ HEAP32[$29>>2] = $25;
+ $30 = $4;
+ $31 = ((($30)) + 16|0);
+ HEAP32[$31>>2] = 1;
+ $32 = $4;
+ $33 = ((($32)) + 20|0);
+ HEAP32[$33>>2] = 0;
+ $34 = $4;
+ $35 = HEAP32[$34>>2]|0;
+ $36 = ((($35)) + 12|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = $4;
+ $39 = ((($38)) + 24|0);
+ HEAP32[$39>>2] = $37;
+ $40 = $4;
+ $41 = ((($40)) + 28|0);
+ HEAP32[$41>>2] = 1;
+ $42 = (_opus_select_arch_56()|0);
+ $43 = $4;
+ $44 = ((($43)) + 32|0);
+ HEAP32[$44>>2] = $42;
+ $45 = $4;
+ $46 = ((($45)) + 48|0);
+ HEAP32[$46>>2] = 0;
+ $47 = $4;
+ (_opus_custom_decoder_ctl($47,4028,$vararg_buffer)|0);
+ $3 = 0;
+ $48 = $3;
+ STACKTOP = sp;return ($48|0);
+ }
+ return (0)|0;
+}
+function _opus_select_arch_56() {
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ return 0;
+}
+function _opus_custom_decoder_ctl($0,$1,$varargs) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $varargs = $varargs|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0;
+ var $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0;
+ var $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0;
+ var $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
+ var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
+ var $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $arglist_current = 0, $arglist_current12 = 0, $arglist_current15 = 0, $arglist_current18 = 0, $arglist_current21 = 0, $arglist_current24 = 0, $arglist_current3 = 0, $arglist_current6 = 0, $arglist_current9 = 0, $arglist_next = 0;
+ var $arglist_next10 = 0, $arglist_next13 = 0, $arglist_next16 = 0, $arglist_next19 = 0, $arglist_next22 = 0, $arglist_next25 = 0, $arglist_next4 = 0, $arglist_next7 = 0, $expanded = 0, $expanded11 = 0, $expanded12 = 0, $expanded13 = 0, $expanded15 = 0, $expanded16 = 0, $expanded18 = 0, $expanded19 = 0, $expanded2 = 0, $expanded20 = 0, $expanded22 = 0, $expanded23 = 0;
+ var $expanded25 = 0, $expanded26 = 0, $expanded27 = 0, $expanded29 = 0, $expanded30 = 0, $expanded32 = 0, $expanded33 = 0, $expanded34 = 0, $expanded36 = 0, $expanded37 = 0, $expanded39 = 0, $expanded4 = 0, $expanded40 = 0, $expanded41 = 0, $expanded43 = 0, $expanded44 = 0, $expanded46 = 0, $expanded47 = 0, $expanded48 = 0, $expanded5 = 0;
+ var $expanded50 = 0, $expanded51 = 0, $expanded53 = 0, $expanded54 = 0, $expanded55 = 0, $expanded57 = 0, $expanded58 = 0, $expanded6 = 0, $expanded60 = 0, $expanded61 = 0, $expanded62 = 0, $expanded8 = 0, $expanded9 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
+ $5 = sp + 96|0;
+ $3 = $0;
+ $4 = $1;
+ HEAP32[$5>>2] = $varargs;
+ $29 = $4;
+ L1: do {
+ switch ($29|0) {
+ case 10010: {
+ $arglist_current = HEAP32[$5>>2]|0;
+ $30 = $arglist_current;
+ $31 = ((0) + 4|0);
+ $expanded2 = $31;
+ $expanded = (($expanded2) - 1)|0;
+ $32 = (($30) + ($expanded))|0;
+ $33 = ((0) + 4|0);
+ $expanded6 = $33;
+ $expanded5 = (($expanded6) - 1)|0;
+ $expanded4 = $expanded5 ^ -1;
+ $34 = $32 & $expanded4;
+ $35 = $34;
+ $36 = HEAP32[$35>>2]|0;
+ $arglist_next = ((($35)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next;
+ $7 = $36;
+ $37 = $7;
+ $6 = $37;
+ $38 = $6;
+ $39 = ($38|0)<(0);
+ if ($39) {
+ label = 25;
+ } else {
+ $40 = $6;
+ $41 = $3;
+ $42 = HEAP32[$41>>2]|0;
+ $43 = ((($42)) + 8|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = ($40|0)>=($44|0);
+ if ($45) {
+ label = 25;
+ } else {
+ $46 = $6;
+ $47 = $3;
+ $48 = ((($47)) + 20|0);
+ HEAP32[$48>>2] = $46;
+ label = 24;
+ }
+ }
+ break;
+ }
+ case 10012: {
+ $arglist_current3 = HEAP32[$5>>2]|0;
+ $49 = $arglist_current3;
+ $50 = ((0) + 4|0);
+ $expanded9 = $50;
+ $expanded8 = (($expanded9) - 1)|0;
+ $51 = (($49) + ($expanded8))|0;
+ $52 = ((0) + 4|0);
+ $expanded13 = $52;
+ $expanded12 = (($expanded13) - 1)|0;
+ $expanded11 = $expanded12 ^ -1;
+ $53 = $51 & $expanded11;
+ $54 = $53;
+ $55 = HEAP32[$54>>2]|0;
+ $arglist_next4 = ((($54)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next4;
+ $9 = $55;
+ $56 = $9;
+ $8 = $56;
+ $57 = $8;
+ $58 = ($57|0)<(1);
+ if ($58) {
+ label = 25;
+ } else {
+ $59 = $8;
+ $60 = $3;
+ $61 = HEAP32[$60>>2]|0;
+ $62 = ((($61)) + 8|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = ($59|0)>($63|0);
+ if ($64) {
+ label = 25;
+ } else {
+ $65 = $8;
+ $66 = $3;
+ $67 = ((($66)) + 24|0);
+ HEAP32[$67>>2] = $65;
+ label = 24;
+ }
+ }
+ break;
+ }
+ case 10008: {
+ $arglist_current6 = HEAP32[$5>>2]|0;
+ $68 = $arglist_current6;
+ $69 = ((0) + 4|0);
+ $expanded16 = $69;
+ $expanded15 = (($expanded16) - 1)|0;
+ $70 = (($68) + ($expanded15))|0;
+ $71 = ((0) + 4|0);
+ $expanded20 = $71;
+ $expanded19 = (($expanded20) - 1)|0;
+ $expanded18 = $expanded19 ^ -1;
+ $72 = $70 & $expanded18;
+ $73 = $72;
+ $74 = HEAP32[$73>>2]|0;
+ $arglist_next7 = ((($73)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next7;
+ $11 = $74;
+ $75 = $11;
+ $10 = $75;
+ $76 = $10;
+ $77 = ($76|0)<(1);
+ $78 = $10;
+ $79 = ($78|0)>(2);
+ $or$cond = $77 | $79;
+ if ($or$cond) {
+ label = 25;
+ } else {
+ $80 = $10;
+ $81 = $3;
+ $82 = ((($81)) + 12|0);
+ HEAP32[$82>>2] = $80;
+ label = 24;
+ }
+ break;
+ }
+ case 10007: {
+ $arglist_current9 = HEAP32[$5>>2]|0;
+ $83 = $arglist_current9;
+ $84 = ((0) + 4|0);
+ $expanded23 = $84;
+ $expanded22 = (($expanded23) - 1)|0;
+ $85 = (($83) + ($expanded22))|0;
+ $86 = ((0) + 4|0);
+ $expanded27 = $86;
+ $expanded26 = (($expanded27) - 1)|0;
+ $expanded25 = $expanded26 ^ -1;
+ $87 = $85 & $expanded25;
+ $88 = $87;
+ $89 = HEAP32[$88>>2]|0;
+ $arglist_next10 = ((($88)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next10;
+ $13 = $89;
+ $90 = $13;
+ $12 = $90;
+ $91 = $12;
+ $92 = ($91|0)==(0|0);
+ if ($92) {
+ label = 25;
+ } else {
+ $93 = $3;
+ $94 = ((($93)) + 40|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = $12;
+ HEAP32[$96>>2] = $95;
+ $97 = $3;
+ $98 = ((($97)) + 40|0);
+ HEAP32[$98>>2] = 0;
+ label = 24;
+ }
+ break;
+ }
+ case 4027: {
+ $arglist_current12 = HEAP32[$5>>2]|0;
+ $99 = $arglist_current12;
+ $100 = ((0) + 4|0);
+ $expanded30 = $100;
+ $expanded29 = (($expanded30) - 1)|0;
+ $101 = (($99) + ($expanded29))|0;
+ $102 = ((0) + 4|0);
+ $expanded34 = $102;
+ $expanded33 = (($expanded34) - 1)|0;
+ $expanded32 = $expanded33 ^ -1;
+ $103 = $101 & $expanded32;
+ $104 = $103;
+ $105 = HEAP32[$104>>2]|0;
+ $arglist_next13 = ((($104)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next13;
+ $15 = $105;
+ $106 = $15;
+ $14 = $106;
+ $107 = $14;
+ $108 = ($107|0)==(0|0);
+ if ($108) {
+ label = 25;
+ } else {
+ $109 = $3;
+ $110 = ((($109)) + 4|0);
+ $111 = HEAP32[$110>>2]|0;
+ $112 = $3;
+ $113 = ((($112)) + 16|0);
+ $114 = HEAP32[$113>>2]|0;
+ $115 = (($111|0) / ($114|0))&-1;
+ $116 = $14;
+ HEAP32[$116>>2] = $115;
+ label = 24;
+ }
+ break;
+ }
+ case 4028: {
+ $117 = $3;
+ $118 = ((($117)) + 84|0);
+ $119 = $3;
+ $120 = ((($119)) + 4|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = (2048 + ($121))|0;
+ $123 = $3;
+ $124 = ((($123)) + 8|0);
+ $125 = HEAP32[$124>>2]|0;
+ $126 = Math_imul($122, $125)|0;
+ $127 = (($118) + ($126<<2)|0);
+ $17 = $127;
+ $128 = $17;
+ $129 = $3;
+ $130 = ((($129)) + 8|0);
+ $131 = HEAP32[$130>>2]|0;
+ $132 = ($131*24)|0;
+ $133 = (($128) + ($132<<2)|0);
+ $18 = $133;
+ $134 = $18;
+ $135 = $3;
+ $136 = HEAP32[$135>>2]|0;
+ $137 = ((($136)) + 8|0);
+ $138 = HEAP32[$137>>2]|0;
+ $139 = $138<<1;
+ $140 = (($134) + ($139<<2)|0);
+ $19 = $140;
+ $141 = $19;
+ $142 = $3;
+ $143 = HEAP32[$142>>2]|0;
+ $144 = ((($143)) + 8|0);
+ $145 = HEAP32[$144>>2]|0;
+ $146 = $145<<1;
+ $147 = (($141) + ($146<<2)|0);
+ $20 = $147;
+ $148 = $3;
+ $149 = ((($148)) + 36|0);
+ $150 = $3;
+ $151 = HEAP32[$150>>2]|0;
+ $152 = $3;
+ $153 = ((($152)) + 8|0);
+ $154 = HEAP32[$153>>2]|0;
+ $155 = (_opus_custom_decoder_get_size($151,$154)|0);
+ $156 = $3;
+ $157 = ((($156)) + 36|0);
+ $158 = $3;
+ $159 = $157;
+ $160 = $158;
+ $161 = (($159) - ($160))|0;
+ $162 = (($155) - ($161))|0;
+ $163 = $162;
+ _memset(($149|0),0,($163|0))|0;
+ $16 = 0;
+ while(1) {
+ $164 = $16;
+ $165 = $3;
+ $166 = HEAP32[$165>>2]|0;
+ $167 = ((($166)) + 8|0);
+ $168 = HEAP32[$167>>2]|0;
+ $169 = $168<<1;
+ $170 = ($164|0)<($169|0);
+ if (!($170)) {
+ label = 24;
+ break L1;
+ }
+ $171 = $20;
+ $172 = $16;
+ $173 = (($171) + ($172<<2)|0);
+ HEAPF32[$173>>2] = -28.0;
+ $174 = $19;
+ $175 = $16;
+ $176 = (($174) + ($175<<2)|0);
+ HEAPF32[$176>>2] = -28.0;
+ $177 = $16;
+ $178 = (($177) + 1)|0;
+ $16 = $178;
+ }
+ break;
+ }
+ case 4033: {
+ $arglist_current15 = HEAP32[$5>>2]|0;
+ $179 = $arglist_current15;
+ $180 = ((0) + 4|0);
+ $expanded37 = $180;
+ $expanded36 = (($expanded37) - 1)|0;
+ $181 = (($179) + ($expanded36))|0;
+ $182 = ((0) + 4|0);
+ $expanded41 = $182;
+ $expanded40 = (($expanded41) - 1)|0;
+ $expanded39 = $expanded40 ^ -1;
+ $183 = $181 & $expanded39;
+ $184 = $183;
+ $185 = HEAP32[$184>>2]|0;
+ $arglist_next16 = ((($184)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next16;
+ $22 = $185;
+ $186 = $22;
+ $21 = $186;
+ $187 = $21;
+ $188 = ($187|0)==(0|0);
+ if ($188) {
+ label = 25;
+ } else {
+ $189 = $3;
+ $190 = ((($189)) + 52|0);
+ $191 = HEAP32[$190>>2]|0;
+ $192 = $21;
+ HEAP32[$192>>2] = $191;
+ label = 24;
+ }
+ break;
+ }
+ case 10015: {
+ $arglist_current18 = HEAP32[$5>>2]|0;
+ $193 = $arglist_current18;
+ $194 = ((0) + 4|0);
+ $expanded44 = $194;
+ $expanded43 = (($expanded44) - 1)|0;
+ $195 = (($193) + ($expanded43))|0;
+ $196 = ((0) + 4|0);
+ $expanded48 = $196;
+ $expanded47 = (($expanded48) - 1)|0;
+ $expanded46 = $expanded47 ^ -1;
+ $197 = $195 & $expanded46;
+ $198 = $197;
+ $199 = HEAP32[$198>>2]|0;
+ $arglist_next19 = ((($198)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next19;
+ $24 = $199;
+ $200 = $24;
+ $23 = $200;
+ $201 = $23;
+ $202 = ($201|0)==(0|0);
+ if ($202) {
+ label = 25;
+ } else {
+ $203 = $3;
+ $204 = HEAP32[$203>>2]|0;
+ $205 = $23;
+ HEAP32[$205>>2] = $204;
+ label = 24;
+ }
+ break;
+ }
+ case 10016: {
+ $arglist_current21 = HEAP32[$5>>2]|0;
+ $206 = $arglist_current21;
+ $207 = ((0) + 4|0);
+ $expanded51 = $207;
+ $expanded50 = (($expanded51) - 1)|0;
+ $208 = (($206) + ($expanded50))|0;
+ $209 = ((0) + 4|0);
+ $expanded55 = $209;
+ $expanded54 = (($expanded55) - 1)|0;
+ $expanded53 = $expanded54 ^ -1;
+ $210 = $208 & $expanded53;
+ $211 = $210;
+ $212 = HEAP32[$211>>2]|0;
+ $arglist_next22 = ((($211)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next22;
+ $26 = $212;
+ $213 = $26;
+ $25 = $213;
+ $214 = $25;
+ $215 = $3;
+ $216 = ((($215)) + 28|0);
+ HEAP32[$216>>2] = $214;
+ label = 24;
+ break;
+ }
+ case 4031: {
+ $arglist_current24 = HEAP32[$5>>2]|0;
+ $217 = $arglist_current24;
+ $218 = ((0) + 4|0);
+ $expanded58 = $218;
+ $expanded57 = (($expanded58) - 1)|0;
+ $219 = (($217) + ($expanded57))|0;
+ $220 = ((0) + 4|0);
+ $expanded62 = $220;
+ $expanded61 = (($expanded62) - 1)|0;
+ $expanded60 = $expanded61 ^ -1;
+ $221 = $219 & $expanded60;
+ $222 = $221;
+ $223 = HEAP32[$222>>2]|0;
+ $arglist_next25 = ((($222)) + 4|0);
+ HEAP32[$5>>2] = $arglist_next25;
+ $28 = $223;
+ $224 = $28;
+ $27 = $224;
+ $225 = $27;
+ $226 = ($225|0)==(0|0);
+ if ($226) {
+ label = 25;
+ } else {
+ $227 = $3;
+ $228 = ((($227)) + 36|0);
+ $229 = HEAP32[$228>>2]|0;
+ $230 = $27;
+ HEAP32[$230>>2] = $229;
+ label = 24;
+ }
+ break;
+ }
+ default: {
+ $2 = -5;
+ $231 = $2;
+ STACKTOP = sp;return ($231|0);
+ }
+ }
+ } while(0);
+ if ((label|0) == 24) {
+ $2 = 0;
+ $231 = $2;
+ STACKTOP = sp;return ($231|0);
+ }
+ else if ((label|0) == 25) {
+ $2 = -1;
+ $231 = $2;
+ STACKTOP = sp;return ($231|0);
+ }
+ return (0)|0;
+}
+function _celt_decode_with_ec($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $$alloca_mul = 0, $$alloca_mul68 = 0, $$alloca_mul70 = 0, $$alloca_mul72 = 0, $$alloca_mul74 = 0, $$alloca_mul76 = 0, $$alloca_mul78 = 0, $$alloca_mul80 = 0, $$sink = 0, $$sink6 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0;
+ var $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0;
+ var $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0;
+ var $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0;
+ var $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0;
+ var $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0;
+ var $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0.0, $216 = 0, $217 = 0;
+ var $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0.0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0.0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0;
+ var $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0;
+ var $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0;
+ var $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0.0, $289 = 0.0, $29 = 0;
+ var $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0;
+ var $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0;
+ var $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0;
+ var $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0;
+ var $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0;
+ var $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0;
+ var $40 = 0.0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0;
+ var $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0;
+ var $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0;
+ var $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0;
+ var $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0;
+ var $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0;
+ var $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0;
+ var $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0;
+ var $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0;
+ var $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0;
+ var $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0;
+ var $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0;
+ var $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0.0, $629 = 0, $63 = 0, $630 = 0, $631 = 0.0, $632 = 0, $633 = 0, $634 = 0, $635 = 0;
+ var $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0.0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0;
+ var $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0;
+ var $672 = 0.0, $673 = 0.0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0;
+ var $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0.0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0.0;
+ var $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0.0, $723 = 0, $724 = 0, $725 = 0;
+ var $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0;
+ var $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0;
+ var $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0;
+ var $780 = 0, $781 = 0.0, $782 = 0.0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0.0, $791 = 0.0, $792 = 0.0, $793 = 0, $794 = 0, $795 = 0, $796 = 0.0, $797 = 0, $798 = 0;
+ var $799 = 0, $8 = 0, $80 = 0, $800 = 0, $801 = 0.0, $802 = 0.0, $803 = 0.0, $804 = 0, $805 = 0, $806 = 0, $807 = 0.0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0.0, $812 = 0, $813 = 0, $814 = 0, $815 = 0;
+ var $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0.0, $822 = 0, $823 = 0, $824 = 0, $825 = 0.0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0.0;
+ var $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0;
+ var $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0;
+ var $870 = 0, $871 = 0, $872 = 0, $873 = 0, $874 = 0, $875 = 0, $876 = 0, $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0;
+ var $889 = 0, $89 = 0, $890 = 0, $891 = 0, $892 = 0, $893 = 0, $894 = 0, $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0;
+ var $906 = 0, $907 = 0, $908 = 0, $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0;
+ var $924 = 0, $925 = 0, $926 = 0, $927 = 0, $928 = 0, $929 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 304|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(304|0);
+ $20 = sp + 192|0;
+ $21 = sp + 184|0;
+ $22 = sp + 176|0;
+ $41 = sp + 96|0;
+ $42 = sp + 92|0;
+ $44 = sp + 84|0;
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $66 = $8;
+ $67 = ((($66)) + 8|0);
+ $68 = HEAP32[$67>>2]|0;
+ $31 = $68;
+ HEAP32[$41>>2] = 0;
+ HEAP32[$42>>2] = 0;
+ $49 = 0;
+ $69 = $8;
+ $70 = ((($69)) + 12|0);
+ $71 = HEAP32[$70>>2]|0;
+ $51 = $71;
+ $72 = $8;
+ $73 = HEAP32[$72>>2]|0;
+ $52 = $73;
+ $74 = $52;
+ $75 = ((($74)) + 8|0);
+ $76 = HEAP32[$75>>2]|0;
+ $53 = $76;
+ $77 = $52;
+ $78 = ((($77)) + 4|0);
+ $79 = HEAP32[$78>>2]|0;
+ $54 = $79;
+ $80 = $52;
+ $81 = ((($80)) + 32|0);
+ $82 = HEAP32[$81>>2]|0;
+ $55 = $82;
+ $83 = $8;
+ $84 = ((($83)) + 20|0);
+ $85 = HEAP32[$84>>2]|0;
+ $34 = $85;
+ $86 = $8;
+ $87 = ((($86)) + 24|0);
+ $88 = HEAP32[$87>>2]|0;
+ $35 = $88;
+ $89 = $8;
+ $90 = ((($89)) + 16|0);
+ $91 = HEAP32[$90>>2]|0;
+ $92 = $12;
+ $93 = Math_imul($92, $91)|0;
+ $12 = $93;
+ $94 = $8;
+ $95 = ((($94)) + 84|0);
+ $96 = $54;
+ $97 = (2048 + ($96))|0;
+ $98 = $31;
+ $99 = Math_imul($97, $98)|0;
+ $100 = (($95) + ($99<<2)|0);
+ $23 = $100;
+ $101 = $23;
+ $102 = $31;
+ $103 = ($102*24)|0;
+ $104 = (($101) + ($103<<2)|0);
+ $24 = $104;
+ $105 = $24;
+ $106 = $53;
+ $107 = $106<<1;
+ $108 = (($105) + ($107<<2)|0);
+ $25 = $108;
+ $109 = $25;
+ $110 = $53;
+ $111 = $110<<1;
+ $112 = (($109) + ($111<<2)|0);
+ $26 = $112;
+ $113 = $26;
+ $114 = $53;
+ $115 = $114<<1;
+ $116 = (($113) + ($115<<2)|0);
+ $27 = $116;
+ $32 = 0;
+ while(1) {
+ $117 = $32;
+ $118 = $52;
+ $119 = ((($118)) + 36|0);
+ $120 = HEAP32[$119>>2]|0;
+ $121 = ($117|0)<=($120|0);
+ if (!($121)) {
+ break;
+ }
+ $122 = $52;
+ $123 = ((($122)) + 44|0);
+ $124 = HEAP32[$123>>2]|0;
+ $125 = $32;
+ $126 = $124 << $125;
+ $127 = $12;
+ $128 = ($126|0)==($127|0);
+ if ($128) {
+ break;
+ }
+ $129 = $32;
+ $130 = (($129) + 1)|0;
+ $32 = $130;
+ }
+ $131 = $32;
+ $132 = $52;
+ $133 = ((($132)) + 36|0);
+ $134 = HEAP32[$133>>2]|0;
+ $135 = ($131|0)>($134|0);
+ if ($135) {
+ $7 = -1;
+ $929 = $7;
+ STACKTOP = sp;return ($929|0);
+ }
+ $136 = $32;
+ $137 = 1 << $136;
+ $33 = $137;
+ $138 = $10;
+ $139 = ($138|0)<(0);
+ $140 = $10;
+ $141 = ($140|0)>(1275);
+ $or$cond = $139 | $141;
+ $142 = $11;
+ $143 = ($142|0)==(0|0);
+ $or$cond3 = $or$cond | $143;
+ if ($or$cond3) {
+ $7 = -1;
+ $929 = $7;
+ STACKTOP = sp;return ($929|0);
+ }
+ $144 = $33;
+ $145 = $52;
+ $146 = ((($145)) + 44|0);
+ $147 = HEAP32[$146>>2]|0;
+ $148 = Math_imul($144, $147)|0;
+ $17 = $148;
+ $15 = 0;
+ while(1) {
+ $149 = $8;
+ $150 = ((($149)) + 84|0);
+ $151 = $15;
+ $152 = $54;
+ $153 = (2048 + ($152))|0;
+ $154 = Math_imul($151, $153)|0;
+ $155 = (($150) + ($154<<2)|0);
+ $156 = $15;
+ $157 = (($21) + ($156<<2)|0);
+ HEAP32[$157>>2] = $155;
+ $158 = $15;
+ $159 = (($21) + ($158<<2)|0);
+ $160 = HEAP32[$159>>2]|0;
+ $161 = ((($160)) + 8192|0);
+ $162 = $17;
+ $163 = (0 - ($162))|0;
+ $164 = (($161) + ($163<<2)|0);
+ $165 = $15;
+ $166 = (($22) + ($165<<2)|0);
+ HEAP32[$166>>2] = $164;
+ $167 = $15;
+ $168 = (($167) + 1)|0;
+ $15 = $168;
+ $169 = $31;
+ $170 = ($168|0)<($169|0);
+ if (!($170)) {
+ break;
+ }
+ }
+ $171 = $35;
+ $36 = $171;
+ $172 = $36;
+ $173 = $52;
+ $174 = ((($173)) + 12|0);
+ $175 = HEAP32[$174>>2]|0;
+ $176 = ($172|0)>($175|0);
+ if ($176) {
+ $177 = $52;
+ $178 = ((($177)) + 12|0);
+ $179 = HEAP32[$178>>2]|0;
+ $36 = $179;
+ }
+ $180 = $9;
+ $181 = ($180|0)==(0|0);
+ $182 = $10;
+ $183 = ($182|0)<=(1);
+ $or$cond5 = $181 | $183;
+ if ($or$cond5) {
+ $184 = $8;
+ $185 = $17;
+ $186 = $32;
+ _celt_decode_lost($184,$185,$186);
+ $187 = $11;
+ $188 = $17;
+ $189 = $31;
+ $190 = $8;
+ $191 = ((($190)) + 16|0);
+ $192 = HEAP32[$191>>2]|0;
+ $193 = $52;
+ $194 = ((($193)) + 16|0);
+ $195 = $8;
+ $196 = ((($195)) + 76|0);
+ $197 = $14;
+ _deemphasis($22,$187,$188,$189,$192,$194,$196,$197);
+ $198 = $12;
+ $199 = $8;
+ $200 = ((($199)) + 16|0);
+ $201 = HEAP32[$200>>2]|0;
+ $202 = (($198|0) / ($201|0))&-1;
+ $7 = $202;
+ $929 = $7;
+ STACKTOP = sp;return ($929|0);
+ }
+ $203 = $13;
+ $204 = ($203|0)==(0|0);
+ if ($204) {
+ $205 = $9;
+ $206 = $10;
+ _ec_dec_init($20,$205,$206);
+ $13 = $20;
+ }
+ $207 = $51;
+ $208 = ($207|0)==(1);
+ L27: do {
+ if ($208) {
+ $16 = 0;
+ while(1) {
+ $209 = $16;
+ $210 = $53;
+ $211 = ($209|0)<($210|0);
+ if (!($211)) {
+ break L27;
+ }
+ $212 = $24;
+ $213 = $16;
+ $214 = (($212) + ($213<<2)|0);
+ $215 = +HEAPF32[$214>>2];
+ $216 = $24;
+ $217 = $53;
+ $218 = $16;
+ $219 = (($217) + ($218))|0;
+ $220 = (($216) + ($219<<2)|0);
+ $221 = +HEAPF32[$220>>2];
+ $222 = $215 > $221;
+ $223 = $24;
+ if ($222) {
+ $224 = $16;
+ $$sink6 = $224;
+ } else {
+ $225 = $53;
+ $226 = $16;
+ $227 = (($225) + ($226))|0;
+ $$sink6 = $227;
+ }
+ $228 = (($223) + ($$sink6<<2)|0);
+ $229 = +HEAPF32[$228>>2];
+ $230 = $24;
+ $231 = $16;
+ $232 = (($230) + ($231<<2)|0);
+ HEAPF32[$232>>2] = $229;
+ $233 = $16;
+ $234 = (($233) + 1)|0;
+ $16 = $234;
+ }
+ }
+ } while(0);
+ $235 = $10;
+ $236 = $235<<3;
+ $43 = $236;
+ $237 = $13;
+ $238 = (_ec_tell_61($237)|0);
+ $45 = $238;
+ $239 = $45;
+ $240 = $43;
+ $241 = ($239|0)>=($240|0);
+ do {
+ if ($241) {
+ $50 = 1;
+ } else {
+ $242 = $45;
+ $243 = ($242|0)==(1);
+ if ($243) {
+ $244 = $13;
+ $245 = (_ec_dec_bit_logp($244,15)|0);
+ $50 = $245;
+ break;
+ } else {
+ $50 = 0;
+ break;
+ }
+ }
+ } while(0);
+ $246 = $50;
+ $247 = ($246|0)!=(0);
+ if ($247) {
+ $248 = $10;
+ $249 = $248<<3;
+ $45 = $249;
+ $250 = $45;
+ $251 = $13;
+ $252 = (_ec_tell_61($251)|0);
+ $253 = (($250) - ($252))|0;
+ $254 = $13;
+ $255 = ((($254)) + 20|0);
+ $256 = HEAP32[$255>>2]|0;
+ $257 = (($256) + ($253))|0;
+ HEAP32[$255>>2] = $257;
+ }
+ $40 = 0.0;
+ $39 = 0;
+ $47 = 0;
+ $258 = $34;
+ $259 = ($258|0)==(0);
+ if ($259) {
+ $260 = $45;
+ $261 = (($260) + 16)|0;
+ $262 = $43;
+ $263 = ($261|0)<=($262|0);
+ if ($263) {
+ $264 = $13;
+ $265 = (_ec_dec_bit_logp($264,1)|0);
+ $266 = ($265|0)!=(0);
+ if ($266) {
+ $267 = $13;
+ $268 = (_ec_dec_uint($267,6)|0);
+ $57 = $268;
+ $269 = $57;
+ $270 = 16 << $269;
+ $271 = $13;
+ $272 = $57;
+ $273 = (4 + ($272))|0;
+ $274 = (_ec_dec_bits($271,$273)|0);
+ $275 = (($270) + ($274))|0;
+ $276 = (($275) - 1)|0;
+ $39 = $276;
+ $277 = $13;
+ $278 = (_ec_dec_bits($277,3)|0);
+ $56 = $278;
+ $279 = $13;
+ $280 = (_ec_tell_61($279)|0);
+ $281 = (($280) + 2)|0;
+ $282 = $43;
+ $283 = ($281|0)<=($282|0);
+ if ($283) {
+ $284 = $13;
+ $285 = (_ec_dec_icdf($284,25966,2)|0);
+ $47 = $285;
+ }
+ $286 = $56;
+ $287 = (($286) + 1)|0;
+ $288 = (+($287|0));
+ $289 = 0.09375 * $288;
+ $40 = $289;
+ }
+ $290 = $13;
+ $291 = (_ec_tell_61($290)|0);
+ $45 = $291;
+ }
+ }
+ $292 = $32;
+ $293 = ($292|0)>(0);
+ if ($293) {
+ $294 = $45;
+ $295 = (($294) + 3)|0;
+ $296 = $43;
+ $297 = ($295|0)<=($296|0);
+ if ($297) {
+ $298 = $13;
+ $299 = (_ec_dec_bit_logp($298,3)|0);
+ $29 = $299;
+ $300 = $13;
+ $301 = (_ec_tell_61($300)|0);
+ $45 = $301;
+ } else {
+ label = 41;
+ }
+ } else {
+ label = 41;
+ }
+ if ((label|0) == 41) {
+ $29 = 0;
+ }
+ $302 = $29;
+ $303 = ($302|0)!=(0);
+ if ($303) {
+ $304 = $33;
+ $28 = $304;
+ } else {
+ $28 = 0;
+ }
+ $305 = $45;
+ $306 = (($305) + 3)|0;
+ $307 = $43;
+ $308 = ($306|0)<=($307|0);
+ if ($308) {
+ $309 = $13;
+ $310 = (_ec_dec_bit_logp($309,3)|0);
+ $311 = $310;
+ } else {
+ $311 = 0;
+ }
+ $30 = $311;
+ $312 = $52;
+ $313 = $34;
+ $314 = $35;
+ $315 = $24;
+ $316 = $30;
+ $317 = $13;
+ $318 = $51;
+ $319 = $32;
+ _unquant_coarse_energy($312,$313,$314,$315,$316,$317,$318,$319);
+ $320 = $53;
+ $321 = (_llvm_stacksave()|0);
+ $58 = $321;
+ $$alloca_mul = $320<<2;
+ $322 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $323 = $34;
+ $324 = $35;
+ $325 = $29;
+ $326 = $32;
+ $327 = $13;
+ _tf_decode($323,$324,$325,$322,$326,$327);
+ $328 = $13;
+ $329 = (_ec_tell_61($328)|0);
+ $45 = $329;
+ $18 = 2;
+ $330 = $45;
+ $331 = (($330) + 4)|0;
+ $332 = $43;
+ $333 = ($331|0)<=($332|0);
+ if ($333) {
+ $334 = $13;
+ $335 = (_ec_dec_icdf($334,25969,5)|0);
+ $18 = $335;
+ }
+ $336 = $53;
+ $$alloca_mul68 = $336<<2;
+ $337 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul68)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul68)|0)+15)&-16)|0);;
+ $338 = $52;
+ $339 = $32;
+ $340 = $51;
+ _init_caps($338,$337,$339,$340);
+ $341 = $53;
+ $$alloca_mul70 = $341<<2;
+ $342 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul70)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul70)|0)+15)&-16)|0);;
+ $46 = 6;
+ $343 = $43;
+ $344 = $343 << 3;
+ $43 = $344;
+ $345 = $13;
+ $346 = (_ec_tell_frac($345)|0);
+ $45 = $346;
+ $347 = $34;
+ $16 = $347;
+ while(1) {
+ $348 = $16;
+ $349 = $35;
+ $350 = ($348|0)<($349|0);
+ if (!($350)) {
+ break;
+ }
+ $351 = $51;
+ $352 = $55;
+ $353 = $16;
+ $354 = (($353) + 1)|0;
+ $355 = (($352) + ($354<<1)|0);
+ $356 = HEAP16[$355>>1]|0;
+ $357 = $356 << 16 >> 16;
+ $358 = $55;
+ $359 = $16;
+ $360 = (($358) + ($359<<1)|0);
+ $361 = HEAP16[$360>>1]|0;
+ $362 = $361 << 16 >> 16;
+ $363 = (($357) - ($362))|0;
+ $364 = Math_imul($351, $363)|0;
+ $365 = $32;
+ $366 = $364 << $365;
+ $59 = $366;
+ $367 = $59;
+ $368 = $367 << 3;
+ $369 = $59;
+ $370 = (48)>($369|0);
+ $371 = $59;
+ $372 = $370 ? 48 : $371;
+ $373 = ($368|0)<($372|0);
+ $374 = $59;
+ if ($373) {
+ $375 = $374 << 3;
+ $379 = $375;
+ } else {
+ $376 = (48)>($374|0);
+ $377 = $59;
+ $378 = $376 ? 48 : $377;
+ $379 = $378;
+ }
+ $60 = $379;
+ $380 = $46;
+ $61 = $380;
+ $62 = 0;
+ while(1) {
+ $381 = $45;
+ $382 = $61;
+ $383 = $382 << 3;
+ $384 = (($381) + ($383))|0;
+ $385 = $43;
+ $386 = ($384|0)<($385|0);
+ if (!($386)) {
+ break;
+ }
+ $387 = $62;
+ $388 = $16;
+ $389 = (($337) + ($388<<2)|0);
+ $390 = HEAP32[$389>>2]|0;
+ $391 = ($387|0)<($390|0);
+ if (!($391)) {
+ break;
+ }
+ $392 = $13;
+ $393 = $61;
+ $394 = (_ec_dec_bit_logp($392,$393)|0);
+ $63 = $394;
+ $395 = $13;
+ $396 = (_ec_tell_frac($395)|0);
+ $45 = $396;
+ $397 = $63;
+ $398 = ($397|0)!=(0);
+ if (!($398)) {
+ break;
+ }
+ $399 = $60;
+ $400 = $62;
+ $401 = (($400) + ($399))|0;
+ $62 = $401;
+ $402 = $60;
+ $403 = $43;
+ $404 = (($403) - ($402))|0;
+ $43 = $404;
+ $61 = 1;
+ }
+ $405 = $62;
+ $406 = $16;
+ $407 = (($342) + ($406<<2)|0);
+ HEAP32[$407>>2] = $405;
+ $408 = $62;
+ $409 = ($408|0)>(0);
+ if ($409) {
+ $410 = $46;
+ $411 = (($410) - 1)|0;
+ $412 = (2)>($411|0);
+ $413 = $46;
+ $414 = (($413) - 1)|0;
+ $415 = $412 ? 2 : $414;
+ $46 = $415;
+ }
+ $416 = $16;
+ $417 = (($416) + 1)|0;
+ $16 = $417;
+ }
+ $418 = $53;
+ $$alloca_mul72 = $418<<2;
+ $419 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul72)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul72)|0)+15)&-16)|0);;
+ $420 = $45;
+ $421 = (($420) + 48)|0;
+ $422 = $43;
+ $423 = ($421|0)<=($422|0);
+ if ($423) {
+ $424 = $13;
+ $425 = (_ec_dec_icdf($424,25973,7)|0);
+ $426 = $425;
+ } else {
+ $426 = 5;
+ }
+ $38 = $426;
+ $427 = $10;
+ $428 = $427<<3;
+ $429 = $428 << 3;
+ $430 = $13;
+ $431 = (_ec_tell_frac($430)|0);
+ $432 = (($429) - ($431))|0;
+ $433 = (($432) - 1)|0;
+ $19 = $433;
+ $434 = $29;
+ $435 = ($434|0)!=(0);
+ $436 = $32;
+ $437 = ($436|0)>=(2);
+ $or$cond8 = $435 & $437;
+ if ($or$cond8) {
+ $438 = $19;
+ $439 = $32;
+ $440 = (($439) + 2)|0;
+ $441 = $440 << 3;
+ $442 = ($438|0)>=($441|0);
+ $443 = $442;
+ } else {
+ $443 = 0;
+ }
+ $444 = $443 ? 8 : 0;
+ $48 = $444;
+ $445 = $48;
+ $446 = $19;
+ $447 = (($446) - ($445))|0;
+ $19 = $447;
+ $448 = $53;
+ $$alloca_mul74 = $448<<2;
+ $449 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul74)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul74)|0)+15)&-16)|0);;
+ $450 = $53;
+ $$alloca_mul76 = $450<<2;
+ $451 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul76)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul76)|0)+15)&-16)|0);;
+ $452 = $52;
+ $453 = $34;
+ $454 = $35;
+ $455 = $38;
+ $456 = $19;
+ $457 = $51;
+ $458 = $32;
+ $459 = $13;
+ $460 = (_compute_allocation($452,$453,$454,$342,$337,$455,$41,$42,$456,$44,$449,$419,$451,$457,$458,$459,0,0,0)|0);
+ $37 = $460;
+ $461 = $52;
+ $462 = $34;
+ $463 = $35;
+ $464 = $24;
+ $465 = $13;
+ $466 = $51;
+ _unquant_fine_energy($461,$462,$463,$464,$419,$465,$466);
+ $15 = 0;
+ while(1) {
+ $467 = $15;
+ $468 = (($21) + ($467<<2)|0);
+ $469 = HEAP32[$468>>2]|0;
+ $470 = $15;
+ $471 = (($21) + ($470<<2)|0);
+ $472 = HEAP32[$471>>2]|0;
+ $473 = $17;
+ $474 = (($472) + ($473<<2)|0);
+ $475 = $17;
+ $476 = (2048 - ($475))|0;
+ $477 = $54;
+ $478 = (($477|0) / 2)&-1;
+ $479 = (($476) + ($478))|0;
+ $480 = $479<<2;
+ $481 = $15;
+ $482 = (($21) + ($481<<2)|0);
+ $483 = HEAP32[$482>>2]|0;
+ $484 = $15;
+ $485 = (($21) + ($484<<2)|0);
+ $486 = HEAP32[$485>>2]|0;
+ $487 = $17;
+ $488 = (($486) + ($487<<2)|0);
+ $489 = $483;
+ $490 = $488;
+ $491 = (($489) - ($490))|0;
+ $492 = (($491|0) / 4)&-1;
+ $493 = 0;
+ $494 = (($480) + ($493))|0;
+ _memmove(($469|0),($474|0),($494|0))|0;
+ $495 = $15;
+ $496 = (($495) + 1)|0;
+ $15 = $496;
+ $497 = $31;
+ $498 = ($496|0)<($497|0);
+ if (!($498)) {
+ break;
+ }
+ }
+ $499 = $51;
+ $500 = $53;
+ $501 = Math_imul($499, $500)|0;
+ $$alloca_mul78 = $501;
+ $502 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul78)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul78)|0)+15)&-16)|0);;
+ $503 = $51;
+ $504 = $17;
+ $505 = Math_imul($503, $504)|0;
+ $$alloca_mul80 = $505<<2;
+ $506 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul80)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul80)|0)+15)&-16)|0);;
+ $507 = $52;
+ $508 = $34;
+ $509 = $35;
+ $510 = $51;
+ $511 = ($510|0)==(2);
+ $512 = $17;
+ $513 = (($506) + ($512<<2)|0);
+ $514 = $511 ? $513 : 0;
+ $515 = $28;
+ $516 = $18;
+ $517 = HEAP32[$42>>2]|0;
+ $518 = HEAP32[$41>>2]|0;
+ $519 = $10;
+ $520 = $519<<6;
+ $521 = $48;
+ $522 = (($520) - ($521))|0;
+ $523 = HEAP32[$44>>2]|0;
+ $524 = $13;
+ $525 = $32;
+ $526 = $37;
+ $527 = $8;
+ $528 = ((($527)) + 36|0);
+ $529 = $8;
+ $530 = ((($529)) + 32|0);
+ $531 = HEAP32[$530>>2]|0;
+ _quant_all_bands(0,$507,$508,$509,$506,$514,$502,0,$449,$515,$516,$517,$518,$322,$522,$523,$524,$525,$526,$528,$531);
+ $532 = $48;
+ $533 = ($532|0)>(0);
+ if ($533) {
+ $534 = $13;
+ $535 = (_ec_dec_bits($534,1)|0);
+ $49 = $535;
+ }
+ $536 = $52;
+ $537 = $34;
+ $538 = $35;
+ $539 = $24;
+ $540 = $10;
+ $541 = $540<<3;
+ $542 = $13;
+ $543 = (_ec_tell_61($542)|0);
+ $544 = (($541) - ($543))|0;
+ $545 = $13;
+ $546 = $51;
+ _unquant_energy_finalise($536,$537,$538,$539,$419,$451,$544,$545,$546);
+ $547 = $49;
+ $548 = ($547|0)!=(0);
+ if ($548) {
+ $549 = $52;
+ $550 = $32;
+ $551 = $51;
+ $552 = $17;
+ $553 = $34;
+ $554 = $35;
+ $555 = $24;
+ $556 = $25;
+ $557 = $26;
+ $558 = $8;
+ $559 = ((($558)) + 36|0);
+ $560 = HEAP32[$559>>2]|0;
+ $561 = $8;
+ $562 = ((($561)) + 32|0);
+ $563 = HEAP32[$562>>2]|0;
+ _anti_collapse($549,$506,$502,$550,$551,$552,$553,$554,$555,$556,$557,$449,$560,$563);
+ }
+ $564 = $50;
+ $565 = ($564|0)!=(0);
+ L105: do {
+ if ($565) {
+ $16 = 0;
+ while(1) {
+ $566 = $16;
+ $567 = $51;
+ $568 = $53;
+ $569 = Math_imul($567, $568)|0;
+ $570 = ($566|0)<($569|0);
+ if (!($570)) {
+ break L105;
+ }
+ $571 = $24;
+ $572 = $16;
+ $573 = (($571) + ($572<<2)|0);
+ HEAPF32[$573>>2] = -28.0;
+ $574 = $16;
+ $575 = (($574) + 1)|0;
+ $16 = $575;
+ }
+ }
+ } while(0);
+ $576 = $52;
+ $577 = $24;
+ $578 = $34;
+ $579 = $36;
+ $580 = $51;
+ $581 = $31;
+ $582 = $29;
+ $583 = $32;
+ $584 = $8;
+ $585 = ((($584)) + 16|0);
+ $586 = HEAP32[$585>>2]|0;
+ $587 = $50;
+ $588 = $8;
+ $589 = ((($588)) + 32|0);
+ $590 = HEAP32[$589>>2]|0;
+ _celt_synthesis($576,$506,$22,$577,$578,$579,$580,$581,$582,$583,$586,$587,$590);
+ $15 = 0;
+ while(1) {
+ $591 = $8;
+ $592 = ((($591)) + 52|0);
+ $593 = HEAP32[$592>>2]|0;
+ $594 = ($593|0)>(15);
+ if ($594) {
+ $595 = $8;
+ $596 = ((($595)) + 52|0);
+ $597 = HEAP32[$596>>2]|0;
+ $600 = $597;
+ } else {
+ $600 = 15;
+ }
+ $598 = $8;
+ $599 = ((($598)) + 52|0);
+ HEAP32[$599>>2] = $600;
+ $601 = $8;
+ $602 = ((($601)) + 56|0);
+ $603 = HEAP32[$602>>2]|0;
+ $604 = ($603|0)>(15);
+ if ($604) {
+ $605 = $8;
+ $606 = ((($605)) + 56|0);
+ $607 = HEAP32[$606>>2]|0;
+ $610 = $607;
+ } else {
+ $610 = 15;
+ }
+ $608 = $8;
+ $609 = ((($608)) + 56|0);
+ HEAP32[$609>>2] = $610;
+ $611 = $15;
+ $612 = (($22) + ($611<<2)|0);
+ $613 = HEAP32[$612>>2]|0;
+ $614 = $15;
+ $615 = (($22) + ($614<<2)|0);
+ $616 = HEAP32[$615>>2]|0;
+ $617 = $8;
+ $618 = ((($617)) + 56|0);
+ $619 = HEAP32[$618>>2]|0;
+ $620 = $8;
+ $621 = ((($620)) + 52|0);
+ $622 = HEAP32[$621>>2]|0;
+ $623 = $52;
+ $624 = ((($623)) + 44|0);
+ $625 = HEAP32[$624>>2]|0;
+ $626 = $8;
+ $627 = ((($626)) + 64|0);
+ $628 = +HEAPF32[$627>>2];
+ $629 = $8;
+ $630 = ((($629)) + 60|0);
+ $631 = +HEAPF32[$630>>2];
+ $632 = $8;
+ $633 = ((($632)) + 72|0);
+ $634 = HEAP32[$633>>2]|0;
+ $635 = $8;
+ $636 = ((($635)) + 68|0);
+ $637 = HEAP32[$636>>2]|0;
+ $638 = $52;
+ $639 = ((($638)) + 60|0);
+ $640 = HEAP32[$639>>2]|0;
+ $641 = $54;
+ $642 = $8;
+ $643 = ((($642)) + 32|0);
+ $644 = HEAP32[$643>>2]|0;
+ _comb_filter($613,$616,$619,$622,$625,$628,$631,$634,$637,$640,$641,$644);
+ $645 = $32;
+ $646 = ($645|0)!=(0);
+ if ($646) {
+ $647 = $15;
+ $648 = (($22) + ($647<<2)|0);
+ $649 = HEAP32[$648>>2]|0;
+ $650 = $52;
+ $651 = ((($650)) + 44|0);
+ $652 = HEAP32[$651>>2]|0;
+ $653 = (($649) + ($652<<2)|0);
+ $654 = $15;
+ $655 = (($22) + ($654<<2)|0);
+ $656 = HEAP32[$655>>2]|0;
+ $657 = $52;
+ $658 = ((($657)) + 44|0);
+ $659 = HEAP32[$658>>2]|0;
+ $660 = (($656) + ($659<<2)|0);
+ $661 = $8;
+ $662 = ((($661)) + 52|0);
+ $663 = HEAP32[$662>>2]|0;
+ $664 = $39;
+ $665 = $17;
+ $666 = $52;
+ $667 = ((($666)) + 44|0);
+ $668 = HEAP32[$667>>2]|0;
+ $669 = (($665) - ($668))|0;
+ $670 = $8;
+ $671 = ((($670)) + 60|0);
+ $672 = +HEAPF32[$671>>2];
+ $673 = $40;
+ $674 = $8;
+ $675 = ((($674)) + 68|0);
+ $676 = HEAP32[$675>>2]|0;
+ $677 = $47;
+ $678 = $52;
+ $679 = ((($678)) + 60|0);
+ $680 = HEAP32[$679>>2]|0;
+ $681 = $54;
+ $682 = $8;
+ $683 = ((($682)) + 32|0);
+ $684 = HEAP32[$683>>2]|0;
+ _comb_filter($653,$660,$663,$664,$669,$672,$673,$676,$677,$680,$681,$684);
+ }
+ $685 = $15;
+ $686 = (($685) + 1)|0;
+ $15 = $686;
+ $687 = $31;
+ $688 = ($686|0)<($687|0);
+ if (!($688)) {
+ break;
+ }
+ }
+ $689 = $8;
+ $690 = ((($689)) + 52|0);
+ $691 = HEAP32[$690>>2]|0;
+ $692 = $8;
+ $693 = ((($692)) + 56|0);
+ HEAP32[$693>>2] = $691;
+ $694 = $8;
+ $695 = ((($694)) + 60|0);
+ $696 = +HEAPF32[$695>>2];
+ $697 = $8;
+ $698 = ((($697)) + 64|0);
+ HEAPF32[$698>>2] = $696;
+ $699 = $8;
+ $700 = ((($699)) + 68|0);
+ $701 = HEAP32[$700>>2]|0;
+ $702 = $8;
+ $703 = ((($702)) + 72|0);
+ HEAP32[$703>>2] = $701;
+ $704 = $39;
+ $705 = $8;
+ $706 = ((($705)) + 52|0);
+ HEAP32[$706>>2] = $704;
+ $707 = $40;
+ $708 = $8;
+ $709 = ((($708)) + 60|0);
+ HEAPF32[$709>>2] = $707;
+ $710 = $47;
+ $711 = $8;
+ $712 = ((($711)) + 68|0);
+ HEAP32[$712>>2] = $710;
+ $713 = $32;
+ $714 = ($713|0)!=(0);
+ if ($714) {
+ $715 = $8;
+ $716 = ((($715)) + 52|0);
+ $717 = HEAP32[$716>>2]|0;
+ $718 = $8;
+ $719 = ((($718)) + 56|0);
+ HEAP32[$719>>2] = $717;
+ $720 = $8;
+ $721 = ((($720)) + 60|0);
+ $722 = +HEAPF32[$721>>2];
+ $723 = $8;
+ $724 = ((($723)) + 64|0);
+ HEAPF32[$724>>2] = $722;
+ $725 = $8;
+ $726 = ((($725)) + 68|0);
+ $727 = HEAP32[$726>>2]|0;
+ $728 = $8;
+ $729 = ((($728)) + 72|0);
+ HEAP32[$729>>2] = $727;
+ }
+ $730 = $51;
+ $731 = ($730|0)==(1);
+ if ($731) {
+ $732 = $24;
+ $733 = $53;
+ $734 = (($732) + ($733<<2)|0);
+ $735 = $24;
+ $736 = $53;
+ $737 = $736<<2;
+ $738 = $24;
+ $739 = $53;
+ $740 = (($738) + ($739<<2)|0);
+ $741 = $24;
+ $742 = $740;
+ $743 = $741;
+ $744 = (($742) - ($743))|0;
+ $745 = (($744|0) / 4)&-1;
+ $746 = 0;
+ $747 = (($737) + ($746))|0;
+ _memcpy(($734|0),($735|0),($747|0))|0;
+ }
+ $748 = $29;
+ $749 = ($748|0)!=(0);
+ L129: do {
+ if ($749) {
+ $16 = 0;
+ while(1) {
+ $814 = $16;
+ $815 = $53;
+ $816 = $815<<1;
+ $817 = ($814|0)<($816|0);
+ if (!($817)) {
+ break L129;
+ }
+ $818 = $25;
+ $819 = $16;
+ $820 = (($818) + ($819<<2)|0);
+ $821 = +HEAPF32[$820>>2];
+ $822 = $24;
+ $823 = $16;
+ $824 = (($822) + ($823<<2)|0);
+ $825 = +HEAPF32[$824>>2];
+ $826 = $821 < $825;
+ if ($826) {
+ $827 = $25;
+ $828 = $16;
+ $829 = (($827) + ($828<<2)|0);
+ $$sink = $829;
+ } else {
+ $830 = $24;
+ $831 = $16;
+ $832 = (($830) + ($831<<2)|0);
+ $$sink = $832;
+ }
+ $833 = +HEAPF32[$$sink>>2];
+ $834 = $25;
+ $835 = $16;
+ $836 = (($834) + ($835<<2)|0);
+ HEAPF32[$836>>2] = $833;
+ $837 = $16;
+ $838 = (($837) + 1)|0;
+ $16 = $838;
+ }
+ } else {
+ $750 = $26;
+ $751 = $25;
+ $752 = $53;
+ $753 = $752<<1;
+ $754 = $753<<2;
+ $755 = $26;
+ $756 = $25;
+ $757 = $755;
+ $758 = $756;
+ $759 = (($757) - ($758))|0;
+ $760 = (($759|0) / 4)&-1;
+ $761 = 0;
+ $762 = (($754) + ($761))|0;
+ _memcpy(($750|0),($751|0),($762|0))|0;
+ $763 = $25;
+ $764 = $24;
+ $765 = $53;
+ $766 = $765<<1;
+ $767 = $766<<2;
+ $768 = $25;
+ $769 = $24;
+ $770 = $768;
+ $771 = $769;
+ $772 = (($770) - ($771))|0;
+ $773 = (($772|0) / 4)&-1;
+ $774 = 0;
+ $775 = (($767) + ($774))|0;
+ _memcpy(($763|0),($764|0),($775|0))|0;
+ $776 = $8;
+ $777 = ((($776)) + 48|0);
+ $778 = HEAP32[$777>>2]|0;
+ $779 = ($778|0)<(10);
+ if ($779) {
+ $780 = $33;
+ $781 = (+($780|0));
+ $782 = $781 * 0.0010000000474974513;
+ $64 = $782;
+ } else {
+ $64 = 1.0;
+ }
+ $16 = 0;
+ while(1) {
+ $783 = $16;
+ $784 = $53;
+ $785 = $784<<1;
+ $786 = ($783|0)<($785|0);
+ if (!($786)) {
+ break L129;
+ }
+ $787 = $27;
+ $788 = $16;
+ $789 = (($787) + ($788<<2)|0);
+ $790 = +HEAPF32[$789>>2];
+ $791 = $64;
+ $792 = $790 + $791;
+ $793 = $24;
+ $794 = $16;
+ $795 = (($793) + ($794<<2)|0);
+ $796 = +HEAPF32[$795>>2];
+ $797 = $792 < $796;
+ if ($797) {
+ $798 = $27;
+ $799 = $16;
+ $800 = (($798) + ($799<<2)|0);
+ $801 = +HEAPF32[$800>>2];
+ $802 = $64;
+ $803 = $801 + $802;
+ $811 = $803;
+ } else {
+ $804 = $24;
+ $805 = $16;
+ $806 = (($804) + ($805<<2)|0);
+ $807 = +HEAPF32[$806>>2];
+ $811 = $807;
+ }
+ $808 = $27;
+ $809 = $16;
+ $810 = (($808) + ($809<<2)|0);
+ HEAPF32[$810>>2] = $811;
+ $812 = $16;
+ $813 = (($812) + 1)|0;
+ $16 = $813;
+ }
+ }
+ } while(0);
+ $15 = 0;
+ while(1) {
+ $16 = 0;
+ while(1) {
+ $839 = $16;
+ $840 = $34;
+ $841 = ($839|0)<($840|0);
+ if (!($841)) {
+ break;
+ }
+ $842 = $24;
+ $843 = $15;
+ $844 = $53;
+ $845 = Math_imul($843, $844)|0;
+ $846 = $16;
+ $847 = (($845) + ($846))|0;
+ $848 = (($842) + ($847<<2)|0);
+ HEAPF32[$848>>2] = 0.0;
+ $849 = $26;
+ $850 = $15;
+ $851 = $53;
+ $852 = Math_imul($850, $851)|0;
+ $853 = $16;
+ $854 = (($852) + ($853))|0;
+ $855 = (($849) + ($854<<2)|0);
+ HEAPF32[$855>>2] = -28.0;
+ $856 = $25;
+ $857 = $15;
+ $858 = $53;
+ $859 = Math_imul($857, $858)|0;
+ $860 = $16;
+ $861 = (($859) + ($860))|0;
+ $862 = (($856) + ($861<<2)|0);
+ HEAPF32[$862>>2] = -28.0;
+ $863 = $16;
+ $864 = (($863) + 1)|0;
+ $16 = $864;
+ }
+ $865 = $35;
+ $16 = $865;
+ while(1) {
+ $866 = $16;
+ $867 = $53;
+ $868 = ($866|0)<($867|0);
+ if (!($868)) {
+ break;
+ }
+ $869 = $24;
+ $870 = $15;
+ $871 = $53;
+ $872 = Math_imul($870, $871)|0;
+ $873 = $16;
+ $874 = (($872) + ($873))|0;
+ $875 = (($869) + ($874<<2)|0);
+ HEAPF32[$875>>2] = 0.0;
+ $876 = $26;
+ $877 = $15;
+ $878 = $53;
+ $879 = Math_imul($877, $878)|0;
+ $880 = $16;
+ $881 = (($879) + ($880))|0;
+ $882 = (($876) + ($881<<2)|0);
+ HEAPF32[$882>>2] = -28.0;
+ $883 = $25;
+ $884 = $15;
+ $885 = $53;
+ $886 = Math_imul($884, $885)|0;
+ $887 = $16;
+ $888 = (($886) + ($887))|0;
+ $889 = (($883) + ($888<<2)|0);
+ HEAPF32[$889>>2] = -28.0;
+ $890 = $16;
+ $891 = (($890) + 1)|0;
+ $16 = $891;
+ }
+ $892 = $15;
+ $893 = (($892) + 1)|0;
+ $15 = $893;
+ $894 = ($893|0)<(2);
+ if (!($894)) {
+ break;
+ }
+ }
+ $895 = $13;
+ $896 = ((($895)) + 28|0);
+ $897 = HEAP32[$896>>2]|0;
+ $898 = $8;
+ $899 = ((($898)) + 36|0);
+ HEAP32[$899>>2] = $897;
+ $900 = $11;
+ $901 = $17;
+ $902 = $31;
+ $903 = $8;
+ $904 = ((($903)) + 16|0);
+ $905 = HEAP32[$904>>2]|0;
+ $906 = $52;
+ $907 = ((($906)) + 16|0);
+ $908 = $8;
+ $909 = ((($908)) + 76|0);
+ $910 = $14;
+ _deemphasis($22,$900,$901,$902,$905,$907,$909,$910);
+ $911 = $8;
+ $912 = ((($911)) + 48|0);
+ HEAP32[$912>>2] = 0;
+ $913 = $13;
+ $914 = (_ec_tell_61($913)|0);
+ $915 = $10;
+ $916 = $915<<3;
+ $917 = ($914|0)>($916|0);
+ if ($917) {
+ $7 = -3;
+ $65 = 1;
+ } else {
+ $918 = $13;
+ $919 = (_ec_get_error_65($918)|0);
+ $920 = ($919|0)!=(0);
+ if ($920) {
+ $921 = $8;
+ $922 = ((($921)) + 40|0);
+ HEAP32[$922>>2] = 1;
+ }
+ $923 = $12;
+ $924 = $8;
+ $925 = ((($924)) + 16|0);
+ $926 = HEAP32[$925>>2]|0;
+ $927 = (($923|0) / ($926|0))&-1;
+ $7 = $927;
+ $65 = 1;
+ }
+ $928 = $58;
+ _llvm_stackrestore(($928|0));
+ $929 = $7;
+ STACKTOP = sp;return ($929|0);
+}
+function _celt_decode_lost($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$alloca_mul = 0, $$alloca_mul54 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
+ var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
+ var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0.0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0.0, $183 = 0.0, $184 = 0.0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
+ var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0.0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0.0, $202 = 0.0, $203 = 0.0, $204 = 0, $205 = 0, $206 = 0;
+ var $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0;
+ var $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0;
+ var $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0.0, $260 = 0.0;
+ var $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0;
+ var $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0;
+ var $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0;
+ var $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0.0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0;
+ var $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0;
+ var $351 = 0, $352 = 0, $353 = 0.0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0.0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0.0, $366 = 0.0, $367 = 0, $368 = 0, $369 = 0;
+ var $37 = 0.0, $370 = 0, $371 = 0.0, $372 = 0.0, $373 = 0, $374 = 0.0, $375 = 0.0, $376 = 0, $377 = 0.0, $378 = 0.0, $379 = 0, $38 = 0.0, $380 = 0, $381 = 0.0, $382 = 0.0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0;
+ var $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0.0;
+ var $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0;
+ var $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0.0, $436 = 0.0, $437 = 0.0, $438 = 0.0, $439 = 0.0, $44 = 0, $440 = 0.0;
+ var $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0.0, $448 = 0.0, $449 = 0.0, $45 = 0, $450 = 0.0, $451 = 0.0, $452 = 0.0, $453 = 0, $454 = 0, $455 = 0.0, $456 = 0.0, $457 = 0, $458 = 0.0, $459 = 0.0;
+ var $46 = 0.0, $460 = 0.0, $461 = 0.0, $462 = 0.0, $463 = 0.0, $464 = 0.0, $465 = 0.0, $466 = 0.0, $467 = 0, $468 = 0, $469 = 0, $47 = 0.0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0;
+ var $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0.0, $49 = 0.0, $490 = 0.0, $491 = 0.0, $492 = 0, $493 = 0, $494 = 0, $495 = 0;
+ var $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0.0, $500 = 0, $501 = 0.0, $502 = 0.0, $503 = 0.0, $504 = 0.0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0.0, $51 = 0, $510 = 0.0, $511 = 0, $512 = 0;
+ var $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0.0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0.0, $526 = 0.0, $527 = 0.0, $528 = 0.0, $529 = 0.0, $53 = 0.0, $530 = 0.0;
+ var $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0.0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0.0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0;
+ var $55 = 0.0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0;
+ var $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0.0, $576 = 0.0, $577 = 0.0, $578 = 0.0, $579 = 0.0, $58 = 0, $580 = 0.0, $581 = 0, $582 = 0, $583 = 0.0, $584 = 0.0, $585 = 0.0;
+ var $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0.0, $599 = 0.0, $6 = 0, $60 = 0, $600 = 0, $601 = 0.0, $602 = 0.0;
+ var $603 = 0.0, $604 = 0.0, $605 = 0.0, $606 = 0.0, $607 = 0.0, $608 = 0.0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0.0, $616 = 0.0, $617 = 0.0, $618 = 0.0, $619 = 0.0, $62 = 0, $620 = 0.0;
+ var $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0.0, $628 = 0.0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0;
+ var $64 = 0, $640 = 0, $641 = 0.0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0.0, $649 = 0.0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0;
+ var $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0.0, $67 = 0, $670 = 0.0, $671 = 0, $672 = 0, $673 = 0.0, $674 = 0.0, $675 = 0;
+ var $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0.0, $692 = 0, $693 = 0;
+ var $694 = 0, $695 = 0, $696 = 0, $697 = 0.0, $698 = 0.0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0.0, $706 = 0, $707 = 0, $708 = 0.0, $709 = 0.0, $71 = 0, $710 = 0.0;
+ var $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
+ var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0;
+ var $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 4608|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(4608|0);
+ $9 = sp + 4568|0;
+ $10 = sp + 4560|0;
+ $35 = sp + 368|0;
+ $44 = sp + 232|0;
+ $45 = sp + 136|0;
+ $51 = sp + 16|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $56 = $3;
+ $57 = ((($56)) + 8|0);
+ $58 = HEAP32[$57>>2]|0;
+ $8 = $58;
+ $59 = $3;
+ $60 = HEAP32[$59>>2]|0;
+ $16 = $60;
+ $61 = $16;
+ $62 = ((($61)) + 8|0);
+ $63 = HEAP32[$62>>2]|0;
+ $17 = $63;
+ $64 = $16;
+ $65 = ((($64)) + 4|0);
+ $66 = HEAP32[$65>>2]|0;
+ $18 = $66;
+ $67 = $16;
+ $68 = ((($67)) + 32|0);
+ $69 = HEAP32[$68>>2]|0;
+ $22 = $69;
+ $6 = 0;
+ while(1) {
+ $70 = $3;
+ $71 = ((($70)) + 84|0);
+ $72 = $6;
+ $73 = $18;
+ $74 = (2048 + ($73))|0;
+ $75 = Math_imul($72, $74)|0;
+ $76 = (($71) + ($75<<2)|0);
+ $77 = $6;
+ $78 = (($9) + ($77<<2)|0);
+ HEAP32[$78>>2] = $76;
+ $79 = $6;
+ $80 = (($9) + ($79<<2)|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = ((($81)) + 8192|0);
+ $83 = $4;
+ $84 = (0 - ($83))|0;
+ $85 = (($82) + ($84<<2)|0);
+ $86 = $6;
+ $87 = (($10) + ($86<<2)|0);
+ HEAP32[$87>>2] = $85;
+ $88 = $6;
+ $89 = (($88) + 1)|0;
+ $6 = $89;
+ $90 = $8;
+ $91 = ($89|0)<($90|0);
+ if (!($91)) {
+ break;
+ }
+ }
+ $92 = $3;
+ $93 = ((($92)) + 84|0);
+ $94 = $18;
+ $95 = (2048 + ($94))|0;
+ $96 = $8;
+ $97 = Math_imul($95, $96)|0;
+ $98 = (($93) + ($97<<2)|0);
+ $11 = $98;
+ $99 = $11;
+ $100 = $8;
+ $101 = ($100*24)|0;
+ $102 = (($99) + ($101<<2)|0);
+ $12 = $102;
+ $103 = $12;
+ $104 = $17;
+ $105 = $104<<1;
+ $106 = (($103) + ($105<<2)|0);
+ $13 = $106;
+ $107 = $13;
+ $108 = $17;
+ $109 = $108<<1;
+ $110 = (($107) + ($109<<2)|0);
+ $14 = $110;
+ $111 = $14;
+ $112 = $17;
+ $113 = $112<<1;
+ $114 = (($111) + ($113<<2)|0);
+ $15 = $114;
+ $115 = $3;
+ $116 = ((($115)) + 48|0);
+ $117 = HEAP32[$116>>2]|0;
+ $20 = $117;
+ $118 = $3;
+ $119 = ((($118)) + 20|0);
+ $120 = HEAP32[$119>>2]|0;
+ $19 = $120;
+ $121 = $20;
+ $122 = ($121|0)>=(5);
+ $123 = $19;
+ $124 = ($123|0)!=(0);
+ $125 = $122 ? 1 : $124;
+ $126 = $125&1;
+ $21 = $126;
+ $127 = $21;
+ $128 = ($127|0)!=(0);
+ if ($128) {
+ $129 = $3;
+ $130 = ((($129)) + 24|0);
+ $131 = HEAP32[$130>>2]|0;
+ $24 = $131;
+ $132 = $19;
+ $133 = $24;
+ $134 = $16;
+ $135 = ((($134)) + 12|0);
+ $136 = HEAP32[$135>>2]|0;
+ $137 = ($133|0)<($136|0);
+ if ($137) {
+ $138 = $24;
+ $143 = $138;
+ } else {
+ $139 = $16;
+ $140 = ((($139)) + 12|0);
+ $141 = HEAP32[$140>>2]|0;
+ $143 = $141;
+ }
+ $142 = ($132|0)>($143|0);
+ do {
+ if ($142) {
+ $144 = $19;
+ $154 = $144;
+ } else {
+ $145 = $24;
+ $146 = $16;
+ $147 = ((($146)) + 12|0);
+ $148 = HEAP32[$147>>2]|0;
+ $149 = ($145|0)<($148|0);
+ if ($149) {
+ $150 = $24;
+ $154 = $150;
+ break;
+ } else {
+ $151 = $16;
+ $152 = ((($151)) + 12|0);
+ $153 = HEAP32[$152>>2]|0;
+ $154 = $153;
+ break;
+ }
+ }
+ } while(0);
+ $25 = $154;
+ $155 = $8;
+ $156 = $4;
+ $157 = Math_imul($155, $156)|0;
+ $158 = (_llvm_stacksave()|0);
+ $27 = $158;
+ $$alloca_mul = $157<<2;
+ $159 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $160 = $20;
+ $161 = ($160|0)==(0);
+ $162 = $161 ? 1.5 : 0.5;
+ $26 = $162;
+ $6 = 0;
+ while(1) {
+ $163 = $19;
+ $7 = $163;
+ while(1) {
+ $164 = $7;
+ $165 = $24;
+ $166 = ($164|0)<($165|0);
+ if (!($166)) {
+ break;
+ }
+ $167 = $15;
+ $168 = $6;
+ $169 = $17;
+ $170 = Math_imul($168, $169)|0;
+ $171 = $7;
+ $172 = (($170) + ($171))|0;
+ $173 = (($167) + ($172<<2)|0);
+ $174 = +HEAPF32[$173>>2];
+ $175 = $12;
+ $176 = $6;
+ $177 = $17;
+ $178 = Math_imul($176, $177)|0;
+ $179 = $7;
+ $180 = (($178) + ($179))|0;
+ $181 = (($175) + ($180<<2)|0);
+ $182 = +HEAPF32[$181>>2];
+ $183 = $26;
+ $184 = $182 - $183;
+ $185 = $174 > $184;
+ if ($185) {
+ $186 = $15;
+ $187 = $6;
+ $188 = $17;
+ $189 = Math_imul($187, $188)|0;
+ $190 = $7;
+ $191 = (($189) + ($190))|0;
+ $192 = (($186) + ($191<<2)|0);
+ $193 = +HEAPF32[$192>>2];
+ $211 = $193;
+ } else {
+ $194 = $12;
+ $195 = $6;
+ $196 = $17;
+ $197 = Math_imul($195, $196)|0;
+ $198 = $7;
+ $199 = (($197) + ($198))|0;
+ $200 = (($194) + ($199<<2)|0);
+ $201 = +HEAPF32[$200>>2];
+ $202 = $26;
+ $203 = $201 - $202;
+ $211 = $203;
+ }
+ $204 = $12;
+ $205 = $6;
+ $206 = $17;
+ $207 = Math_imul($205, $206)|0;
+ $208 = $7;
+ $209 = (($207) + ($208))|0;
+ $210 = (($204) + ($209<<2)|0);
+ HEAPF32[$210>>2] = $211;
+ $212 = $7;
+ $213 = (($212) + 1)|0;
+ $7 = $213;
+ }
+ $214 = $6;
+ $215 = (($214) + 1)|0;
+ $6 = $215;
+ $216 = $8;
+ $217 = ($215|0)<($216|0);
+ if (!($217)) {
+ break;
+ }
+ }
+ $218 = $3;
+ $219 = ((($218)) + 36|0);
+ $220 = HEAP32[$219>>2]|0;
+ $23 = $220;
+ $6 = 0;
+ while(1) {
+ $221 = $6;
+ $222 = $8;
+ $223 = ($221|0)<($222|0);
+ if (!($223)) {
+ break;
+ }
+ $224 = $19;
+ $7 = $224;
+ while(1) {
+ $225 = $7;
+ $226 = $25;
+ $227 = ($225|0)<($226|0);
+ if (!($227)) {
+ break;
+ }
+ $228 = $4;
+ $229 = $6;
+ $230 = Math_imul($228, $229)|0;
+ $231 = $22;
+ $232 = $7;
+ $233 = (($231) + ($232<<1)|0);
+ $234 = HEAP16[$233>>1]|0;
+ $235 = $234 << 16 >> 16;
+ $236 = $5;
+ $237 = $235 << $236;
+ $238 = (($230) + ($237))|0;
+ $29 = $238;
+ $239 = $22;
+ $240 = $7;
+ $241 = (($240) + 1)|0;
+ $242 = (($239) + ($241<<1)|0);
+ $243 = HEAP16[$242>>1]|0;
+ $244 = $243 << 16 >> 16;
+ $245 = $22;
+ $246 = $7;
+ $247 = (($245) + ($246<<1)|0);
+ $248 = HEAP16[$247>>1]|0;
+ $249 = $248 << 16 >> 16;
+ $250 = (($244) - ($249))|0;
+ $251 = $5;
+ $252 = $250 << $251;
+ $30 = $252;
+ $28 = 0;
+ while(1) {
+ $253 = $28;
+ $254 = $30;
+ $255 = ($253|0)<($254|0);
+ if (!($255)) {
+ break;
+ }
+ $256 = $23;
+ $257 = (_celt_lcg_rand($256)|0);
+ $23 = $257;
+ $258 = $23;
+ $259 = $258 >> 20;
+ $260 = (+($259|0));
+ $261 = $29;
+ $262 = $28;
+ $263 = (($261) + ($262))|0;
+ $264 = (($159) + ($263<<2)|0);
+ HEAPF32[$264>>2] = $260;
+ $265 = $28;
+ $266 = (($265) + 1)|0;
+ $28 = $266;
+ }
+ $267 = $29;
+ $268 = (($159) + ($267<<2)|0);
+ $269 = $30;
+ $270 = $3;
+ $271 = ((($270)) + 32|0);
+ $272 = HEAP32[$271>>2]|0;
+ _renormalise_vector($268,$269,1.0,$272);
+ $273 = $7;
+ $274 = (($273) + 1)|0;
+ $7 = $274;
+ }
+ $275 = $6;
+ $276 = (($275) + 1)|0;
+ $6 = $276;
+ }
+ $277 = $23;
+ $278 = $3;
+ $279 = ((($278)) + 36|0);
+ HEAP32[$279>>2] = $277;
+ $6 = 0;
+ while(1) {
+ $280 = $6;
+ $281 = (($9) + ($280<<2)|0);
+ $282 = HEAP32[$281>>2]|0;
+ $283 = $6;
+ $284 = (($9) + ($283<<2)|0);
+ $285 = HEAP32[$284>>2]|0;
+ $286 = $4;
+ $287 = (($285) + ($286<<2)|0);
+ $288 = $4;
+ $289 = (2048 - ($288))|0;
+ $290 = $18;
+ $291 = $290 >> 1;
+ $292 = (($289) + ($291))|0;
+ $293 = $292<<2;
+ $294 = $6;
+ $295 = (($9) + ($294<<2)|0);
+ $296 = HEAP32[$295>>2]|0;
+ $297 = $6;
+ $298 = (($9) + ($297<<2)|0);
+ $299 = HEAP32[$298>>2]|0;
+ $300 = $4;
+ $301 = (($299) + ($300<<2)|0);
+ $302 = $296;
+ $303 = $301;
+ $304 = (($302) - ($303))|0;
+ $305 = (($304|0) / 4)&-1;
+ $306 = 0;
+ $307 = (($293) + ($306))|0;
+ _memmove(($282|0),($287|0),($307|0))|0;
+ $308 = $6;
+ $309 = (($308) + 1)|0;
+ $6 = $309;
+ $310 = $8;
+ $311 = ($309|0)<($310|0);
+ if (!($311)) {
+ break;
+ }
+ }
+ $312 = $16;
+ $313 = $12;
+ $314 = $19;
+ $315 = $25;
+ $316 = $8;
+ $317 = $8;
+ $318 = $5;
+ $319 = $3;
+ $320 = ((($319)) + 16|0);
+ $321 = HEAP32[$320>>2]|0;
+ $322 = $3;
+ $323 = ((($322)) + 32|0);
+ $324 = HEAP32[$323>>2]|0;
+ _celt_synthesis($312,$159,$10,$313,$314,$315,$316,$317,0,$318,$321,0,$324);
+ $325 = $27;
+ _llvm_stackrestore(($325|0));
+ $722 = $20;
+ $723 = (($722) + 1)|0;
+ $724 = $3;
+ $725 = ((($724)) + 48|0);
+ HEAP32[$725>>2] = $723;
+ STACKTOP = sp;return;
+ }
+ $32 = 1.0;
+ $326 = $20;
+ $327 = ($326|0)==(0);
+ if ($327) {
+ $328 = $8;
+ $329 = $3;
+ $330 = ((($329)) + 32|0);
+ $331 = HEAP32[$330>>2]|0;
+ $332 = (_celt_plc_pitch_search($9,$328,$331)|0);
+ $33 = $332;
+ $333 = $3;
+ $334 = ((($333)) + 44|0);
+ HEAP32[$334>>2] = $332;
+ } else {
+ $335 = $3;
+ $336 = ((($335)) + 44|0);
+ $337 = HEAP32[$336>>2]|0;
+ $33 = $337;
+ $32 = 0.80000001192092896;
+ }
+ $338 = $18;
+ $339 = (_llvm_stacksave()|0);
+ $34 = $339;
+ $$alloca_mul54 = $338<<2;
+ $340 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul54)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul54)|0)+15)&-16)|0);;
+ $341 = $16;
+ $342 = ((($341)) + 60|0);
+ $343 = HEAP32[$342>>2]|0;
+ $31 = $343;
+ $6 = 0;
+ while(1) {
+ $38 = 0.0;
+ $344 = $6;
+ $345 = (($9) + ($344<<2)|0);
+ $346 = HEAP32[$345>>2]|0;
+ $39 = $346;
+ $7 = 0;
+ while(1) {
+ $347 = $7;
+ $348 = ($347|0)<(1024);
+ if (!($348)) {
+ break;
+ }
+ $349 = $39;
+ $350 = $7;
+ $351 = (1024 + ($350))|0;
+ $352 = (($349) + ($351<<2)|0);
+ $353 = +HEAPF32[$352>>2];
+ $354 = $7;
+ $355 = (($35) + ($354<<2)|0);
+ HEAPF32[$355>>2] = $353;
+ $356 = $7;
+ $357 = (($356) + 1)|0;
+ $7 = $357;
+ }
+ $358 = $20;
+ $359 = ($358|0)==(0);
+ if ($359) {
+ $360 = $31;
+ $361 = $18;
+ $362 = $3;
+ $363 = ((($362)) + 32|0);
+ $364 = HEAP32[$363>>2]|0;
+ (__celt_autocorr($35,$44,$360,$361,24,1024,$364)|0);
+ $365 = +HEAPF32[$44>>2];
+ $366 = $365 * 1.0001000165939331;
+ HEAPF32[$44>>2] = $366;
+ $7 = 1;
+ while(1) {
+ $367 = $7;
+ $368 = ($367|0)<=(24);
+ if (!($368)) {
+ break;
+ }
+ $369 = $7;
+ $370 = (($44) + ($369<<2)|0);
+ $371 = +HEAPF32[$370>>2];
+ $372 = $371 * 6.4000007114373147E-5;
+ $373 = $7;
+ $374 = (+($373|0));
+ $375 = $372 * $374;
+ $376 = $7;
+ $377 = (+($376|0));
+ $378 = $375 * $377;
+ $379 = $7;
+ $380 = (($44) + ($379<<2)|0);
+ $381 = +HEAPF32[$380>>2];
+ $382 = $381 - $378;
+ HEAPF32[$380>>2] = $382;
+ $383 = $7;
+ $384 = (($383) + 1)|0;
+ $7 = $384;
+ }
+ $385 = $11;
+ $386 = $6;
+ $387 = ($386*24)|0;
+ $388 = (($385) + ($387<<2)|0);
+ __celt_lpc($388,$44,24);
+ }
+ $389 = $33;
+ $390 = $389<<1;
+ $391 = ($390|0)<(1024);
+ $392 = $33;
+ $393 = $392<<1;
+ $394 = $391 ? $393 : 1024;
+ $42 = $394;
+ $7 = 0;
+ while(1) {
+ $395 = $7;
+ $396 = ($395|0)<(24);
+ if (!($396)) {
+ break;
+ }
+ $397 = $39;
+ $398 = $42;
+ $399 = (2048 - ($398))|0;
+ $400 = (($399) - 1)|0;
+ $401 = $7;
+ $402 = (($400) - ($401))|0;
+ $403 = (($397) + ($402<<2)|0);
+ $404 = +HEAPF32[$403>>2];
+ $405 = $7;
+ $406 = (($45) + ($405<<2)|0);
+ HEAPF32[$406>>2] = $404;
+ $407 = $7;
+ $408 = (($407) + 1)|0;
+ $7 = $408;
+ }
+ $409 = ((($35)) + 4096|0);
+ $410 = $42;
+ $411 = (0 - ($410))|0;
+ $412 = (($409) + ($411<<2)|0);
+ $413 = $11;
+ $414 = $6;
+ $415 = ($414*24)|0;
+ $416 = (($413) + ($415<<2)|0);
+ $417 = ((($35)) + 4096|0);
+ $418 = $42;
+ $419 = (0 - ($418))|0;
+ $420 = (($417) + ($419<<2)|0);
+ $421 = $42;
+ $422 = $3;
+ $423 = ((($422)) + 32|0);
+ $424 = HEAP32[$423>>2]|0;
+ _celt_fir_c($412,$416,$420,$421,24,$45,$424);
+ $46 = 1.0;
+ $47 = 1.0;
+ $425 = $42;
+ $426 = $425 >> 1;
+ $48 = $426;
+ $7 = 0;
+ while(1) {
+ $427 = $7;
+ $428 = $48;
+ $429 = ($427|0)<($428|0);
+ if (!($429)) {
+ break;
+ }
+ $430 = $48;
+ $431 = (1024 - ($430))|0;
+ $432 = $7;
+ $433 = (($431) + ($432))|0;
+ $434 = (($35) + ($433<<2)|0);
+ $435 = +HEAPF32[$434>>2];
+ $49 = $435;
+ $436 = $49;
+ $437 = $49;
+ $438 = $436 * $437;
+ $439 = $46;
+ $440 = $439 + $438;
+ $46 = $440;
+ $441 = $48;
+ $442 = $441<<1;
+ $443 = (1024 - ($442))|0;
+ $444 = $7;
+ $445 = (($443) + ($444))|0;
+ $446 = (($35) + ($445<<2)|0);
+ $447 = +HEAPF32[$446>>2];
+ $49 = $447;
+ $448 = $49;
+ $449 = $49;
+ $450 = $448 * $449;
+ $451 = $47;
+ $452 = $451 + $450;
+ $47 = $452;
+ $453 = $7;
+ $454 = (($453) + 1)|0;
+ $7 = $454;
+ }
+ $455 = $46;
+ $456 = $47;
+ $457 = $455 < $456;
+ $458 = $46;
+ $459 = $47;
+ $460 = $457 ? $458 : $459;
+ $46 = $460;
+ $461 = $46;
+ $462 = $47;
+ $463 = $461 / $462;
+ $464 = $463;
+ $465 = (+Math_sqrt((+$464)));
+ $466 = $465;
+ $36 = $466;
+ $467 = $39;
+ $468 = $39;
+ $469 = $4;
+ $470 = (($468) + ($469<<2)|0);
+ $471 = $4;
+ $472 = (2048 - ($471))|0;
+ $473 = $472<<2;
+ $474 = $39;
+ $475 = $39;
+ $476 = $4;
+ $477 = (($475) + ($476<<2)|0);
+ $478 = $474;
+ $479 = $477;
+ $480 = (($478) - ($479))|0;
+ $481 = (($480|0) / 4)&-1;
+ $482 = 0;
+ $483 = (($473) + ($482))|0;
+ _memmove(($467|0),($470|0),($483|0))|0;
+ $484 = $33;
+ $485 = (1024 - ($484))|0;
+ $40 = $485;
+ $486 = $4;
+ $487 = $18;
+ $488 = (($486) + ($487))|0;
+ $41 = $488;
+ $489 = $32;
+ $490 = $36;
+ $491 = $489 * $490;
+ $37 = $491;
+ $43 = 0;
+ $7 = 0;
+ while(1) {
+ $492 = $7;
+ $493 = $41;
+ $494 = ($492|0)<($493|0);
+ if (!($494)) {
+ break;
+ }
+ $495 = $43;
+ $496 = $33;
+ $497 = ($495|0)>=($496|0);
+ if ($497) {
+ $498 = $33;
+ $499 = $43;
+ $500 = (($499) - ($498))|0;
+ $43 = $500;
+ $501 = $37;
+ $502 = $36;
+ $503 = $501 * $502;
+ $37 = $503;
+ }
+ $504 = $37;
+ $505 = $40;
+ $506 = $43;
+ $507 = (($505) + ($506))|0;
+ $508 = (($35) + ($507<<2)|0);
+ $509 = +HEAPF32[$508>>2];
+ $510 = $504 * $509;
+ $511 = $39;
+ $512 = $4;
+ $513 = (2048 - ($512))|0;
+ $514 = $7;
+ $515 = (($513) + ($514))|0;
+ $516 = (($511) + ($515<<2)|0);
+ HEAPF32[$516>>2] = $510;
+ $517 = $39;
+ $518 = $4;
+ $519 = (1024 - ($518))|0;
+ $520 = $40;
+ $521 = (($519) + ($520))|0;
+ $522 = $43;
+ $523 = (($521) + ($522))|0;
+ $524 = (($517) + ($523<<2)|0);
+ $525 = +HEAPF32[$524>>2];
+ $50 = $525;
+ $526 = $50;
+ $527 = $50;
+ $528 = $526 * $527;
+ $529 = $38;
+ $530 = $529 + $528;
+ $38 = $530;
+ $531 = $7;
+ $532 = (($531) + 1)|0;
+ $7 = $532;
+ $533 = $43;
+ $534 = (($533) + 1)|0;
+ $43 = $534;
+ }
+ $7 = 0;
+ while(1) {
+ $535 = $7;
+ $536 = ($535|0)<(24);
+ $537 = $39;
+ if (!($536)) {
+ break;
+ }
+ $538 = $4;
+ $539 = (2048 - ($538))|0;
+ $540 = (($539) - 1)|0;
+ $541 = $7;
+ $542 = (($540) - ($541))|0;
+ $543 = (($537) + ($542<<2)|0);
+ $544 = +HEAPF32[$543>>2];
+ $545 = $7;
+ $546 = (($51) + ($545<<2)|0);
+ HEAPF32[$546>>2] = $544;
+ $547 = $7;
+ $548 = (($547) + 1)|0;
+ $7 = $548;
+ }
+ $549 = ((($537)) + 8192|0);
+ $550 = $4;
+ $551 = (0 - ($550))|0;
+ $552 = (($549) + ($551<<2)|0);
+ $553 = $11;
+ $554 = $6;
+ $555 = ($554*24)|0;
+ $556 = (($553) + ($555<<2)|0);
+ $557 = $39;
+ $558 = ((($557)) + 8192|0);
+ $559 = $4;
+ $560 = (0 - ($559))|0;
+ $561 = (($558) + ($560<<2)|0);
+ $562 = $41;
+ $563 = $3;
+ $564 = ((($563)) + 32|0);
+ $565 = HEAP32[$564>>2]|0;
+ _celt_iir($552,$556,$561,$562,24,$51,$565);
+ $52 = 0.0;
+ $7 = 0;
+ while(1) {
+ $566 = $7;
+ $567 = $41;
+ $568 = ($566|0)<($567|0);
+ if (!($568)) {
+ break;
+ }
+ $569 = $39;
+ $570 = $4;
+ $571 = (2048 - ($570))|0;
+ $572 = $7;
+ $573 = (($571) + ($572))|0;
+ $574 = (($569) + ($573<<2)|0);
+ $575 = +HEAPF32[$574>>2];
+ $53 = $575;
+ $576 = $53;
+ $577 = $53;
+ $578 = $576 * $577;
+ $579 = $52;
+ $580 = $579 + $578;
+ $52 = $580;
+ $581 = $7;
+ $582 = (($581) + 1)|0;
+ $7 = $582;
+ }
+ $583 = $38;
+ $584 = $52;
+ $585 = 0.20000000298023224 * $584;
+ $586 = $583 > $585;
+ L85: do {
+ if ($586) {
+ $598 = $38;
+ $599 = $52;
+ $600 = $598 < $599;
+ if ($600) {
+ $601 = $38;
+ $602 = $601 + 1.0;
+ $603 = $52;
+ $604 = $603 + 1.0;
+ $605 = $602 / $604;
+ $606 = $605;
+ $607 = (+Math_sqrt((+$606)));
+ $608 = $607;
+ $54 = $608;
+ $7 = 0;
+ while(1) {
+ $609 = $7;
+ $610 = $18;
+ $611 = ($609|0)<($610|0);
+ if (!($611)) {
+ break;
+ }
+ $612 = $31;
+ $613 = $7;
+ $614 = (($612) + ($613<<2)|0);
+ $615 = +HEAPF32[$614>>2];
+ $616 = $54;
+ $617 = 1.0 - $616;
+ $618 = $615 * $617;
+ $619 = 1.0 - $618;
+ $55 = $619;
+ $620 = $55;
+ $621 = $39;
+ $622 = $4;
+ $623 = (2048 - ($622))|0;
+ $624 = $7;
+ $625 = (($623) + ($624))|0;
+ $626 = (($621) + ($625<<2)|0);
+ $627 = +HEAPF32[$626>>2];
+ $628 = $620 * $627;
+ $629 = $39;
+ $630 = $4;
+ $631 = (2048 - ($630))|0;
+ $632 = $7;
+ $633 = (($631) + ($632))|0;
+ $634 = (($629) + ($633<<2)|0);
+ HEAPF32[$634>>2] = $628;
+ $635 = $7;
+ $636 = (($635) + 1)|0;
+ $7 = $636;
+ }
+ $637 = $18;
+ $7 = $637;
+ while(1) {
+ $638 = $7;
+ $639 = $41;
+ $640 = ($638|0)<($639|0);
+ if (!($640)) {
+ break L85;
+ }
+ $641 = $54;
+ $642 = $39;
+ $643 = $4;
+ $644 = (2048 - ($643))|0;
+ $645 = $7;
+ $646 = (($644) + ($645))|0;
+ $647 = (($642) + ($646<<2)|0);
+ $648 = +HEAPF32[$647>>2];
+ $649 = $641 * $648;
+ $650 = $39;
+ $651 = $4;
+ $652 = (2048 - ($651))|0;
+ $653 = $7;
+ $654 = (($652) + ($653))|0;
+ $655 = (($650) + ($654<<2)|0);
+ HEAPF32[$655>>2] = $649;
+ $656 = $7;
+ $657 = (($656) + 1)|0;
+ $7 = $657;
+ }
+ }
+ } else {
+ $7 = 0;
+ while(1) {
+ $587 = $7;
+ $588 = $41;
+ $589 = ($587|0)<($588|0);
+ if (!($589)) {
+ break L85;
+ }
+ $590 = $39;
+ $591 = $4;
+ $592 = (2048 - ($591))|0;
+ $593 = $7;
+ $594 = (($592) + ($593))|0;
+ $595 = (($590) + ($594<<2)|0);
+ HEAPF32[$595>>2] = 0.0;
+ $596 = $7;
+ $597 = (($596) + 1)|0;
+ $7 = $597;
+ }
+ }
+ } while(0);
+ $658 = $39;
+ $659 = ((($658)) + 8192|0);
+ $660 = $3;
+ $661 = ((($660)) + 52|0);
+ $662 = HEAP32[$661>>2]|0;
+ $663 = $3;
+ $664 = ((($663)) + 52|0);
+ $665 = HEAP32[$664>>2]|0;
+ $666 = $18;
+ $667 = $3;
+ $668 = ((($667)) + 60|0);
+ $669 = +HEAPF32[$668>>2];
+ $670 = - $669;
+ $671 = $3;
+ $672 = ((($671)) + 60|0);
+ $673 = +HEAPF32[$672>>2];
+ $674 = - $673;
+ $675 = $3;
+ $676 = ((($675)) + 68|0);
+ $677 = HEAP32[$676>>2]|0;
+ $678 = $3;
+ $679 = ((($678)) + 68|0);
+ $680 = HEAP32[$679>>2]|0;
+ $681 = $3;
+ $682 = ((($681)) + 32|0);
+ $683 = HEAP32[$682>>2]|0;
+ _comb_filter($340,$659,$662,$665,$666,$670,$674,$677,$680,0,0,$683);
+ $7 = 0;
+ while(1) {
+ $684 = $7;
+ $685 = $18;
+ $686 = (($685|0) / 2)&-1;
+ $687 = ($684|0)<($686|0);
+ if (!($687)) {
+ break;
+ }
+ $688 = $31;
+ $689 = $7;
+ $690 = (($688) + ($689<<2)|0);
+ $691 = +HEAPF32[$690>>2];
+ $692 = $18;
+ $693 = (($692) - 1)|0;
+ $694 = $7;
+ $695 = (($693) - ($694))|0;
+ $696 = (($340) + ($695<<2)|0);
+ $697 = +HEAPF32[$696>>2];
+ $698 = $691 * $697;
+ $699 = $31;
+ $700 = $18;
+ $701 = $7;
+ $702 = (($700) - ($701))|0;
+ $703 = (($702) - 1)|0;
+ $704 = (($699) + ($703<<2)|0);
+ $705 = +HEAPF32[$704>>2];
+ $706 = $7;
+ $707 = (($340) + ($706<<2)|0);
+ $708 = +HEAPF32[$707>>2];
+ $709 = $705 * $708;
+ $710 = $698 + $709;
+ $711 = $39;
+ $712 = $7;
+ $713 = (2048 + ($712))|0;
+ $714 = (($711) + ($713<<2)|0);
+ HEAPF32[$714>>2] = $710;
+ $715 = $7;
+ $716 = (($715) + 1)|0;
+ $7 = $716;
+ }
+ $717 = $6;
+ $718 = (($717) + 1)|0;
+ $6 = $718;
+ $719 = $8;
+ $720 = ($718|0)<($719|0);
+ if (!($720)) {
+ break;
+ }
+ }
+ $721 = $34;
+ _llvm_stackrestore(($721|0));
+ $722 = $20;
+ $723 = (($722) + 1)|0;
+ $724 = $3;
+ $725 = ((($724)) + 48|0);
+ HEAP32[$725>>2] = $723;
+ STACKTOP = sp;return;
+}
+function _deemphasis($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $$alloca_mul = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $12 = 0, $13 = 0;
+ var $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0;
+ var $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $60 = 0.0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0.0, $73 = 0.0;
+ var $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0;
+ var $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $18 = 0;
+ $27 = $10;
+ $28 = (_llvm_stacksave()|0);
+ $20 = $28;
+ $$alloca_mul = $27<<2;
+ $29 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $30 = $13;
+ $31 = +HEAPF32[$30>>2];
+ $19 = $31;
+ $32 = $10;
+ $33 = $12;
+ $34 = (($32|0) / ($33|0))&-1;
+ $17 = $34;
+ $16 = 0;
+ while(1) {
+ $35 = $14;
+ $36 = $16;
+ $37 = (($35) + ($36<<2)|0);
+ $38 = +HEAPF32[$37>>2];
+ $24 = $38;
+ $39 = $8;
+ $40 = $16;
+ $41 = (($39) + ($40<<2)|0);
+ $42 = HEAP32[$41>>2]|0;
+ $22 = $42;
+ $43 = $9;
+ $44 = $16;
+ $45 = (($43) + ($44<<2)|0);
+ $23 = $45;
+ $46 = $12;
+ $47 = ($46|0)>(1);
+ $21 = 0;
+ L3: do {
+ if ($47) {
+ while(1) {
+ $48 = $21;
+ $49 = $10;
+ $50 = ($48|0)<($49|0);
+ if (!($50)) {
+ break;
+ }
+ $51 = $22;
+ $52 = $21;
+ $53 = (($51) + ($52<<2)|0);
+ $54 = +HEAPF32[$53>>2];
+ $55 = $24;
+ $56 = $54 + $55;
+ $57 = $56 + 1.0000000031710769E-30;
+ $25 = $57;
+ $58 = $19;
+ $59 = $25;
+ $60 = $58 * $59;
+ $24 = $60;
+ $61 = $25;
+ $62 = $21;
+ $63 = (($29) + ($62<<2)|0);
+ HEAPF32[$63>>2] = $61;
+ $64 = $21;
+ $65 = (($64) + 1)|0;
+ $21 = $65;
+ }
+ $18 = 1;
+ } else {
+ while(1) {
+ $66 = $21;
+ $67 = $10;
+ $68 = ($66|0)<($67|0);
+ if (!($68)) {
+ break L3;
+ }
+ $69 = $22;
+ $70 = $21;
+ $71 = (($69) + ($70<<2)|0);
+ $72 = +HEAPF32[$71>>2];
+ $73 = $24;
+ $74 = $72 + $73;
+ $75 = $74 + 1.0000000031710769E-30;
+ $26 = $75;
+ $76 = $19;
+ $77 = $26;
+ $78 = $76 * $77;
+ $24 = $78;
+ $79 = $26;
+ $80 = $79 * 3.0517578125E-5;
+ $81 = $23;
+ $82 = $21;
+ $83 = $11;
+ $84 = Math_imul($82, $83)|0;
+ $85 = (($81) + ($84<<2)|0);
+ HEAPF32[$85>>2] = $80;
+ $86 = $21;
+ $87 = (($86) + 1)|0;
+ $21 = $87;
+ }
+ }
+ } while(0);
+ $88 = $24;
+ $89 = $14;
+ $90 = $16;
+ $91 = (($89) + ($90<<2)|0);
+ HEAPF32[$91>>2] = $88;
+ $92 = $18;
+ $93 = ($92|0)!=(0);
+ L12: do {
+ if ($93) {
+ $21 = 0;
+ while(1) {
+ $94 = $21;
+ $95 = $17;
+ $96 = ($94|0)<($95|0);
+ if (!($96)) {
+ break L12;
+ }
+ $97 = $21;
+ $98 = $12;
+ $99 = Math_imul($97, $98)|0;
+ $100 = (($29) + ($99<<2)|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = $101 * 3.0517578125E-5;
+ $103 = $23;
+ $104 = $21;
+ $105 = $11;
+ $106 = Math_imul($104, $105)|0;
+ $107 = (($103) + ($106<<2)|0);
+ HEAPF32[$107>>2] = $102;
+ $108 = $21;
+ $109 = (($108) + 1)|0;
+ $21 = $109;
+ }
+ }
+ } while(0);
+ $110 = $16;
+ $111 = (($110) + 1)|0;
+ $16 = $111;
+ $112 = $11;
+ $113 = ($111|0)<($112|0);
+ if (!($113)) {
+ break;
+ }
+ }
+ $114 = $20;
+ _llvm_stackrestore(($114|0));
+ STACKTOP = sp;return;
+}
+function _ec_tell_61($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 20|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (Math_clz32(($7|0))|0);
+ $9 = (32 - ($8))|0;
+ $10 = (($4) - ($9))|0;
+ STACKTOP = sp;return ($10|0);
+}
+function _tf_decode($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0;
+ var $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $20 = $11;
+ $21 = ((($20)) + 4|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = $22<<3;
+ $18 = $23;
+ $24 = $11;
+ $25 = (_ec_tell_61($24)|0);
+ $19 = $25;
+ $26 = $8;
+ $27 = ($26|0)!=(0);
+ $28 = $27 ? 2 : 4;
+ $17 = $28;
+ $29 = $10;
+ $30 = ($29|0)>(0);
+ if ($30) {
+ $31 = $19;
+ $32 = $17;
+ $33 = (($31) + ($32))|0;
+ $34 = (($33) + 1)|0;
+ $35 = $18;
+ $36 = ($34>>>0)<=($35>>>0);
+ $38 = $36;
+ } else {
+ $38 = 0;
+ }
+ $37 = $38&1;
+ $15 = $37;
+ $39 = $15;
+ $40 = $18;
+ $41 = (($40) - ($39))|0;
+ $18 = $41;
+ $13 = 0;
+ $16 = 0;
+ $42 = $6;
+ $12 = $42;
+ while(1) {
+ $43 = $12;
+ $44 = $7;
+ $45 = ($43|0)<($44|0);
+ if (!($45)) {
+ break;
+ }
+ $46 = $19;
+ $47 = $17;
+ $48 = (($46) + ($47))|0;
+ $49 = $18;
+ $50 = ($48>>>0)<=($49>>>0);
+ if ($50) {
+ $51 = $11;
+ $52 = $17;
+ $53 = (_ec_dec_bit_logp($51,$52)|0);
+ $54 = $13;
+ $55 = $54 ^ $53;
+ $13 = $55;
+ $56 = $11;
+ $57 = (_ec_tell_61($56)|0);
+ $19 = $57;
+ $58 = $13;
+ $59 = $16;
+ $60 = $59 | $58;
+ $16 = $60;
+ }
+ $61 = $13;
+ $62 = $9;
+ $63 = $12;
+ $64 = (($62) + ($63<<2)|0);
+ HEAP32[$64>>2] = $61;
+ $65 = $8;
+ $66 = ($65|0)!=(0);
+ $67 = $66 ? 4 : 5;
+ $17 = $67;
+ $68 = $12;
+ $69 = (($68) + 1)|0;
+ $12 = $69;
+ }
+ $14 = 0;
+ $70 = $15;
+ $71 = ($70|0)!=(0);
+ if ($71) {
+ $72 = $10;
+ $73 = (28967 + ($72<<3)|0);
+ $74 = $8;
+ $75 = $74<<2;
+ $76 = (($75) + 0)|0;
+ $77 = $16;
+ $78 = (($76) + ($77))|0;
+ $79 = (($73) + ($78)|0);
+ $80 = HEAP8[$79>>0]|0;
+ $81 = $80 << 24 >> 24;
+ $82 = $10;
+ $83 = (28967 + ($82<<3)|0);
+ $84 = $8;
+ $85 = $84<<2;
+ $86 = (($85) + 2)|0;
+ $87 = $16;
+ $88 = (($86) + ($87))|0;
+ $89 = (($83) + ($88)|0);
+ $90 = HEAP8[$89>>0]|0;
+ $91 = $90 << 24 >> 24;
+ $92 = ($81|0)!=($91|0);
+ if ($92) {
+ $93 = $11;
+ $94 = (_ec_dec_bit_logp($93,1)|0);
+ $14 = $94;
+ }
+ }
+ $95 = $6;
+ $12 = $95;
+ while(1) {
+ $96 = $12;
+ $97 = $7;
+ $98 = ($96|0)<($97|0);
+ if (!($98)) {
+ break;
+ }
+ $99 = $10;
+ $100 = (28967 + ($99<<3)|0);
+ $101 = $8;
+ $102 = $101<<2;
+ $103 = $14;
+ $104 = $103<<1;
+ $105 = (($102) + ($104))|0;
+ $106 = $9;
+ $107 = $12;
+ $108 = (($106) + ($107<<2)|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = (($105) + ($109))|0;
+ $111 = (($100) + ($110)|0);
+ $112 = HEAP8[$111>>0]|0;
+ $113 = $112 << 24 >> 24;
+ $114 = $9;
+ $115 = $12;
+ $116 = (($114) + ($115<<2)|0);
+ HEAP32[$116>>2] = $113;
+ $117 = $12;
+ $118 = (($117) + 1)|0;
+ $12 = $118;
+ }
+ STACKTOP = sp;return;
+}
+function _celt_synthesis($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ var $$alloca_mul = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0;
+ var $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0;
+ var $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0;
+ var $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0;
+ var $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0, $185 = 0, $186 = 0, $187 = 0.0, $188 = 0.0, $189 = 0.0, $19 = 0, $190 = 0, $191 = 0;
+ var $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0;
+ var $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0;
+ var $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0;
+ var $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0;
+ var $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0;
+ var $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0;
+ var $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $13 = $0;
+ $14 = $1;
+ $15 = $2;
+ $16 = $3;
+ $17 = $4;
+ $18 = $5;
+ $19 = $6;
+ $20 = $7;
+ $21 = $8;
+ $22 = $9;
+ $23 = $10;
+ $24 = $11;
+ $25 = $12;
+ $39 = $13;
+ $40 = ((($39)) + 4|0);
+ $41 = HEAP32[$40>>2]|0;
+ $35 = $41;
+ $42 = $13;
+ $43 = ((($42)) + 8|0);
+ $44 = HEAP32[$43>>2]|0;
+ $34 = $44;
+ $45 = $13;
+ $46 = ((($45)) + 44|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = $22;
+ $49 = $47 << $48;
+ $31 = $49;
+ $50 = $31;
+ $51 = (_llvm_stacksave()|0);
+ $36 = $51;
+ $$alloca_mul = $50<<2;
+ $52 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $53 = $22;
+ $54 = 1 << $53;
+ $28 = $54;
+ $55 = $21;
+ $56 = ($55|0)!=(0);
+ if ($56) {
+ $57 = $28;
+ $30 = $57;
+ $58 = $13;
+ $59 = ((($58)) + 44|0);
+ $60 = HEAP32[$59>>2]|0;
+ $32 = $60;
+ $61 = $13;
+ $62 = ((($61)) + 36|0);
+ $63 = HEAP32[$62>>2]|0;
+ $33 = $63;
+ } else {
+ $30 = 1;
+ $64 = $13;
+ $65 = ((($64)) + 44|0);
+ $66 = HEAP32[$65>>2]|0;
+ $67 = $22;
+ $68 = $66 << $67;
+ $32 = $68;
+ $69 = $13;
+ $70 = ((($69)) + 36|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = $22;
+ $73 = (($71) - ($72))|0;
+ $33 = $73;
+ }
+ $74 = $20;
+ $75 = ($74|0)==(2);
+ $76 = $19;
+ $77 = ($76|0)==(1);
+ $or$cond = $75 & $77;
+ if ($or$cond) {
+ $78 = $13;
+ $79 = $14;
+ $80 = $16;
+ $81 = $17;
+ $82 = $18;
+ $83 = $28;
+ $84 = $23;
+ $85 = $24;
+ _denormalise_bands($78,$79,$52,$80,$81,$82,$83,$84,$85);
+ $86 = $15;
+ $87 = ((($86)) + 4|0);
+ $88 = HEAP32[$87>>2]|0;
+ $89 = $35;
+ $90 = (($89|0) / 2)&-1;
+ $91 = (($88) + ($90<<2)|0);
+ $37 = $91;
+ $92 = $37;
+ $93 = $31;
+ $94 = $93<<2;
+ $95 = $37;
+ $96 = $95;
+ $97 = $52;
+ $98 = (($96) - ($97))|0;
+ $99 = (($98|0) / 4)&-1;
+ $100 = 0;
+ $101 = (($94) + ($100))|0;
+ _memcpy(($92|0),($52|0),($101|0))|0;
+ $29 = 0;
+ while(1) {
+ $102 = $29;
+ $103 = $30;
+ $104 = ($102|0)<($103|0);
+ if (!($104)) {
+ break;
+ }
+ $105 = $13;
+ $106 = ((($105)) + 64|0);
+ $107 = $37;
+ $108 = $29;
+ $109 = (($107) + ($108<<2)|0);
+ $110 = $15;
+ $111 = HEAP32[$110>>2]|0;
+ $112 = $32;
+ $113 = $29;
+ $114 = Math_imul($112, $113)|0;
+ $115 = (($111) + ($114<<2)|0);
+ $116 = $13;
+ $117 = ((($116)) + 60|0);
+ $118 = HEAP32[$117>>2]|0;
+ $119 = $35;
+ $120 = $33;
+ $121 = $30;
+ $122 = $25;
+ _clt_mdct_backward_c($106,$109,$115,$118,$119,$120,$121,$122);
+ $123 = $29;
+ $124 = (($123) + 1)|0;
+ $29 = $124;
+ }
+ $29 = 0;
+ while(1) {
+ $125 = $29;
+ $126 = $30;
+ $127 = ($125|0)<($126|0);
+ if (!($127)) {
+ break;
+ }
+ $128 = $13;
+ $129 = ((($128)) + 64|0);
+ $130 = $29;
+ $131 = (($52) + ($130<<2)|0);
+ $132 = $15;
+ $133 = ((($132)) + 4|0);
+ $134 = HEAP32[$133>>2]|0;
+ $135 = $32;
+ $136 = $29;
+ $137 = Math_imul($135, $136)|0;
+ $138 = (($134) + ($137<<2)|0);
+ $139 = $13;
+ $140 = ((($139)) + 60|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = $35;
+ $143 = $33;
+ $144 = $30;
+ $145 = $25;
+ _clt_mdct_backward_c($129,$131,$138,$141,$142,$143,$144,$145);
+ $146 = $29;
+ $147 = (($146) + 1)|0;
+ $29 = $147;
+ }
+ $260 = $36;
+ _llvm_stackrestore(($260|0));
+ STACKTOP = sp;return;
+ }
+ $148 = $20;
+ $149 = ($148|0)==(1);
+ $150 = $19;
+ $151 = ($150|0)==(2);
+ $or$cond3 = $149 & $151;
+ if (!($or$cond3)) {
+ $26 = 0;
+ while(1) {
+ $216 = $13;
+ $217 = $14;
+ $218 = $26;
+ $219 = $31;
+ $220 = Math_imul($218, $219)|0;
+ $221 = (($217) + ($220<<2)|0);
+ $222 = $16;
+ $223 = $26;
+ $224 = $34;
+ $225 = Math_imul($223, $224)|0;
+ $226 = (($222) + ($225<<2)|0);
+ $227 = $17;
+ $228 = $18;
+ $229 = $28;
+ $230 = $23;
+ $231 = $24;
+ _denormalise_bands($216,$221,$52,$226,$227,$228,$229,$230,$231);
+ $29 = 0;
+ while(1) {
+ $232 = $29;
+ $233 = $30;
+ $234 = ($232|0)<($233|0);
+ if (!($234)) {
+ break;
+ }
+ $235 = $13;
+ $236 = ((($235)) + 64|0);
+ $237 = $29;
+ $238 = (($52) + ($237<<2)|0);
+ $239 = $15;
+ $240 = $26;
+ $241 = (($239) + ($240<<2)|0);
+ $242 = HEAP32[$241>>2]|0;
+ $243 = $32;
+ $244 = $29;
+ $245 = Math_imul($243, $244)|0;
+ $246 = (($242) + ($245<<2)|0);
+ $247 = $13;
+ $248 = ((($247)) + 60|0);
+ $249 = HEAP32[$248>>2]|0;
+ $250 = $35;
+ $251 = $33;
+ $252 = $30;
+ $253 = $25;
+ _clt_mdct_backward_c($236,$238,$246,$249,$250,$251,$252,$253);
+ $254 = $29;
+ $255 = (($254) + 1)|0;
+ $29 = $255;
+ }
+ $256 = $26;
+ $257 = (($256) + 1)|0;
+ $26 = $257;
+ $258 = $20;
+ $259 = ($257|0)<($258|0);
+ if (!($259)) {
+ break;
+ }
+ }
+ $260 = $36;
+ _llvm_stackrestore(($260|0));
+ STACKTOP = sp;return;
+ }
+ $152 = $15;
+ $153 = HEAP32[$152>>2]|0;
+ $154 = $35;
+ $155 = (($154|0) / 2)&-1;
+ $156 = (($153) + ($155<<2)|0);
+ $38 = $156;
+ $157 = $13;
+ $158 = $14;
+ $159 = $16;
+ $160 = $17;
+ $161 = $18;
+ $162 = $28;
+ $163 = $23;
+ $164 = $24;
+ _denormalise_bands($157,$158,$52,$159,$160,$161,$162,$163,$164);
+ $165 = $13;
+ $166 = $14;
+ $167 = $31;
+ $168 = (($166) + ($167<<2)|0);
+ $169 = $38;
+ $170 = $16;
+ $171 = $34;
+ $172 = (($170) + ($171<<2)|0);
+ $173 = $17;
+ $174 = $18;
+ $175 = $28;
+ $176 = $23;
+ $177 = $24;
+ _denormalise_bands($165,$168,$169,$172,$173,$174,$175,$176,$177);
+ $27 = 0;
+ while(1) {
+ $178 = $27;
+ $179 = $31;
+ $180 = ($178|0)<($179|0);
+ if (!($180)) {
+ break;
+ }
+ $181 = $27;
+ $182 = (($52) + ($181<<2)|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $38;
+ $185 = $27;
+ $186 = (($184) + ($185<<2)|0);
+ $187 = +HEAPF32[$186>>2];
+ $188 = $183 + $187;
+ $189 = 0.5 * $188;
+ $190 = $27;
+ $191 = (($52) + ($190<<2)|0);
+ HEAPF32[$191>>2] = $189;
+ $192 = $27;
+ $193 = (($192) + 1)|0;
+ $27 = $193;
+ }
+ $29 = 0;
+ while(1) {
+ $194 = $29;
+ $195 = $30;
+ $196 = ($194|0)<($195|0);
+ if (!($196)) {
+ break;
+ }
+ $197 = $13;
+ $198 = ((($197)) + 64|0);
+ $199 = $29;
+ $200 = (($52) + ($199<<2)|0);
+ $201 = $15;
+ $202 = HEAP32[$201>>2]|0;
+ $203 = $32;
+ $204 = $29;
+ $205 = Math_imul($203, $204)|0;
+ $206 = (($202) + ($205<<2)|0);
+ $207 = $13;
+ $208 = ((($207)) + 60|0);
+ $209 = HEAP32[$208>>2]|0;
+ $210 = $35;
+ $211 = $33;
+ $212 = $30;
+ $213 = $25;
+ _clt_mdct_backward_c($198,$200,$206,$209,$210,$211,$212,$213);
+ $214 = $29;
+ $215 = (($214) + 1)|0;
+ $29 = $215;
+ }
+ $260 = $36;
+ _llvm_stackrestore(($260|0));
+ STACKTOP = sp;return;
+}
+function _ec_get_error_65($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 44|0);
+ $4 = HEAP32[$3>>2]|0;
+ STACKTOP = sp;return ($4|0);
+}
+function _celt_plc_pitch_search($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 4112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(4112|0);
+ $6 = sp + 4096|0;
+ $7 = sp;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = $5;
+ _pitch_downsample($8,$7,2048,$9,$10);
+ $11 = ((($7)) + 1440|0);
+ $12 = $5;
+ _pitch_search($11,$7,1328,620,$6,$12);
+ $13 = HEAP32[$6>>2]|0;
+ $14 = (720 - ($13))|0;
+ HEAP32[$6>>2] = $14;
+ $15 = HEAP32[$6>>2]|0;
+ STACKTOP = sp;return ($15|0);
+}
+function _ec_tell_frac($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $1 = $0;
+ $6 = $1;
+ $7 = ((($6)) + 20|0);
+ $8 = HEAP32[$7>>2]|0;
+ $9 = $8 << 3;
+ $2 = $9;
+ $10 = $1;
+ $11 = ((($10)) + 28|0);
+ $12 = HEAP32[$11>>2]|0;
+ $13 = (Math_clz32(($12|0))|0);
+ $14 = (32 - ($13))|0;
+ $4 = $14;
+ $15 = $1;
+ $16 = ((($15)) + 28|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $4;
+ $19 = (($18) - 16)|0;
+ $20 = $17 >>> $19;
+ $3 = $20;
+ $21 = $3;
+ $22 = $21 >>> 12;
+ $23 = (($22) - 8)|0;
+ $5 = $23;
+ $24 = $3;
+ $25 = $5;
+ $26 = (4552 + ($25<<2)|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = ($24>>>0)>($27>>>0);
+ $29 = $28&1;
+ $30 = $5;
+ $31 = (($30) + ($29))|0;
+ $5 = $31;
+ $32 = $4;
+ $33 = $32 << 3;
+ $34 = $5;
+ $35 = (($33) + ($34))|0;
+ $4 = $35;
+ $36 = $2;
+ $37 = $4;
+ $38 = (($36) - ($37))|0;
+ STACKTOP = sp;return ($38|0);
+}
+function _ec_dec_init($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = $4;
+ $7 = $3;
+ HEAP32[$7>>2] = $6;
+ $8 = $5;
+ $9 = $3;
+ $10 = ((($9)) + 4|0);
+ HEAP32[$10>>2] = $8;
+ $11 = $3;
+ $12 = ((($11)) + 8|0);
+ HEAP32[$12>>2] = 0;
+ $13 = $3;
+ $14 = ((($13)) + 12|0);
+ HEAP32[$14>>2] = 0;
+ $15 = $3;
+ $16 = ((($15)) + 16|0);
+ HEAP32[$16>>2] = 0;
+ $17 = $3;
+ $18 = ((($17)) + 20|0);
+ HEAP32[$18>>2] = 9;
+ $19 = $3;
+ $20 = ((($19)) + 24|0);
+ HEAP32[$20>>2] = 0;
+ $21 = $3;
+ $22 = ((($21)) + 28|0);
+ HEAP32[$22>>2] = 128;
+ $23 = $3;
+ $24 = (_ec_read_byte($23)|0);
+ $25 = $3;
+ $26 = ((($25)) + 40|0);
+ HEAP32[$26>>2] = $24;
+ $27 = $3;
+ $28 = ((($27)) + 28|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = (($29) - 1)|0;
+ $31 = $3;
+ $32 = ((($31)) + 40|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = $33 >> 1;
+ $35 = (($30) - ($34))|0;
+ $36 = $3;
+ $37 = ((($36)) + 32|0);
+ HEAP32[$37>>2] = $35;
+ $38 = $3;
+ $39 = ((($38)) + 44|0);
+ HEAP32[$39>>2] = 0;
+ $40 = $3;
+ _ec_dec_normalize($40);
+ STACKTOP = sp;return;
+}
+function _ec_read_byte($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 24|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 4|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = ($4>>>0)<($7>>>0);
+ if (!($8)) {
+ $18 = 0;
+ STACKTOP = sp;return ($18|0);
+ }
+ $9 = $1;
+ $10 = HEAP32[$9>>2]|0;
+ $11 = $1;
+ $12 = ((($11)) + 24|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = (($13) + 1)|0;
+ HEAP32[$12>>2] = $14;
+ $15 = (($10) + ($13)|0);
+ $16 = HEAP8[$15>>0]|0;
+ $17 = $16&255;
+ $18 = $17;
+ STACKTOP = sp;return ($18|0);
+}
+function _ec_dec_normalize($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ while(1) {
+ $3 = $1;
+ $4 = ((($3)) + 28|0);
+ $5 = HEAP32[$4>>2]|0;
+ $6 = ($5>>>0)<=(8388608);
+ if (!($6)) {
+ break;
+ }
+ $7 = $1;
+ $8 = ((($7)) + 20|0);
+ $9 = HEAP32[$8>>2]|0;
+ $10 = (($9) + 8)|0;
+ HEAP32[$8>>2] = $10;
+ $11 = $1;
+ $12 = ((($11)) + 28|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = $13 << 8;
+ HEAP32[$12>>2] = $14;
+ $15 = $1;
+ $16 = ((($15)) + 40|0);
+ $17 = HEAP32[$16>>2]|0;
+ $2 = $17;
+ $18 = $1;
+ $19 = (_ec_read_byte($18)|0);
+ $20 = $1;
+ $21 = ((($20)) + 40|0);
+ HEAP32[$21>>2] = $19;
+ $22 = $2;
+ $23 = $22 << 8;
+ $24 = $1;
+ $25 = ((($24)) + 40|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = $23 | $26;
+ $28 = $27 >> 1;
+ $2 = $28;
+ $29 = $1;
+ $30 = ((($29)) + 32|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = $31 << 8;
+ $33 = $2;
+ $34 = $33 ^ -1;
+ $35 = 255 & $34;
+ $36 = (($32) + ($35))|0;
+ $37 = $36 & 2147483647;
+ $38 = $1;
+ $39 = ((($38)) + 32|0);
+ HEAP32[$39>>2] = $37;
+ }
+ STACKTOP = sp;return;
+}
+function _ec_decode($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = $2;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = $3;
+ $9 = (_celt_udiv($7,$8)|0);
+ $10 = $2;
+ $11 = ((($10)) + 36|0);
+ HEAP32[$11>>2] = $9;
+ $12 = $2;
+ $13 = ((($12)) + 32|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = $2;
+ $16 = ((($15)) + 36|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = (($14>>>0) / ($17>>>0))&-1;
+ $4 = $18;
+ $19 = $3;
+ $20 = $4;
+ $21 = (($20) + 1)|0;
+ $22 = $3;
+ $23 = $4;
+ $24 = (($23) + 1)|0;
+ $25 = (($22) - ($24))|0;
+ $26 = $3;
+ $27 = $4;
+ $28 = (($27) + 1)|0;
+ $29 = ($26>>>0)<($28>>>0);
+ $30 = $29&1;
+ $31 = (0 - ($30))|0;
+ $32 = $25 & $31;
+ $33 = (($21) + ($32))|0;
+ $34 = (($19) - ($33))|0;
+ STACKTOP = sp;return ($34|0);
+}
+function _celt_udiv($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = (($4>>>0) / ($5>>>0))&-1;
+ STACKTOP = sp;return ($6|0);
+}
+function _ec_decode_bin($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = $2;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = $3;
+ $9 = $7 >>> $8;
+ $10 = $2;
+ $11 = ((($10)) + 36|0);
+ HEAP32[$11>>2] = $9;
+ $12 = $2;
+ $13 = ((($12)) + 32|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = $2;
+ $16 = ((($15)) + 36|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = (($14>>>0) / ($17>>>0))&-1;
+ $4 = $18;
+ $19 = $3;
+ $20 = 1 << $19;
+ $21 = $4;
+ $22 = (($21) + 1)|0;
+ $23 = $3;
+ $24 = 1 << $23;
+ $25 = $4;
+ $26 = (($25) + 1)|0;
+ $27 = (($24) - ($26))|0;
+ $28 = $3;
+ $29 = 1 << $28;
+ $30 = $4;
+ $31 = (($30) + 1)|0;
+ $32 = ($29>>>0)<($31>>>0);
+ $33 = $32&1;
+ $34 = (0 - ($33))|0;
+ $35 = $27 & $34;
+ $36 = (($22) + ($35))|0;
+ $37 = (($20) - ($36))|0;
+ STACKTOP = sp;return ($37|0);
+}
+function _ec_dec_update($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $4;
+ $10 = ((($9)) + 36|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = $7;
+ $13 = $6;
+ $14 = (($12) - ($13))|0;
+ $15 = Math_imul($11, $14)|0;
+ $8 = $15;
+ $16 = $8;
+ $17 = $4;
+ $18 = ((($17)) + 32|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = (($19) - ($16))|0;
+ HEAP32[$18>>2] = $20;
+ $21 = $5;
+ $22 = ($21>>>0)>(0);
+ $23 = $4;
+ if ($22) {
+ $24 = ((($23)) + 36|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = $6;
+ $27 = $5;
+ $28 = (($26) - ($27))|0;
+ $29 = Math_imul($25, $28)|0;
+ $36 = $29;
+ $34 = $4;
+ $35 = ((($34)) + 28|0);
+ HEAP32[$35>>2] = $36;
+ $37 = $4;
+ _ec_dec_normalize($37);
STACKTOP = sp;return;
} else {
- _silk_PLC_update($9,$10);
+ $30 = ((($23)) + 28|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = $8;
+ $33 = (($31) - ($32))|0;
+ $36 = $33;
+ $34 = $4;
+ $35 = ((($34)) + 28|0);
+ HEAP32[$35>>2] = $36;
+ $37 = $4;
+ _ec_dec_normalize($37);
STACKTOP = sp;return;
}
}
-function _silk_PLC_conceal($psDec,$psDecCtrl,$frame,$arch) {
- $psDec = $psDec|0;
- $psDecCtrl = $psDecCtrl|0;
- $frame = $frame|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+function _ec_dec_bit_logp($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $8 = $2;
+ $9 = ((($8)) + 28|0);
+ $10 = HEAP32[$9>>2]|0;
+ $4 = $10;
+ $11 = $2;
+ $12 = ((($11)) + 32|0);
+ $13 = HEAP32[$12>>2]|0;
+ $5 = $13;
+ $14 = $4;
+ $15 = $3;
+ $16 = $14 >>> $15;
+ $6 = $16;
+ $17 = $5;
+ $18 = $6;
+ $19 = ($17>>>0)<($18>>>0);
+ $20 = $19&1;
+ $7 = $20;
+ $21 = $7;
+ $22 = ($21|0)!=(0);
+ if (!($22)) {
+ $23 = $5;
+ $24 = $6;
+ $25 = (($23) - ($24))|0;
+ $26 = $2;
+ $27 = ((($26)) + 32|0);
+ HEAP32[$27>>2] = $25;
+ }
+ $28 = $7;
+ $29 = ($28|0)!=(0);
+ if ($29) {
+ $30 = $6;
+ $36 = $30;
+ } else {
+ $31 = $4;
+ $32 = $6;
+ $33 = (($31) - ($32))|0;
+ $36 = $33;
+ }
+ $34 = $2;
+ $35 = ((($34)) + 28|0);
+ HEAP32[$35>>2] = $36;
+ $37 = $2;
+ _ec_dec_normalize($37);
+ $38 = $7;
+ STACKTOP = sp;return ($38|0);
+}
+function _ec_dec_icdf($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $11 = $3;
+ $12 = ((($11)) + 28|0);
+ $13 = HEAP32[$12>>2]|0;
+ $8 = $13;
+ $14 = $3;
+ $15 = ((($14)) + 32|0);
+ $16 = HEAP32[$15>>2]|0;
+ $7 = $16;
+ $17 = $8;
+ $18 = $5;
+ $19 = $17 >>> $18;
+ $6 = $19;
+ $10 = -1;
+ while(1) {
+ $20 = $8;
+ $9 = $20;
+ $21 = $6;
+ $22 = $4;
+ $23 = $10;
+ $24 = (($23) + 1)|0;
+ $10 = $24;
+ $25 = (($22) + ($24)|0);
+ $26 = HEAP8[$25>>0]|0;
+ $27 = $26&255;
+ $28 = Math_imul($21, $27)|0;
+ $8 = $28;
+ $29 = $7;
+ $30 = $8;
+ $31 = ($29>>>0)<($30>>>0);
+ if (!($31)) {
+ break;
+ }
+ }
+ $32 = $7;
+ $33 = $8;
+ $34 = (($32) - ($33))|0;
+ $35 = $3;
+ $36 = ((($35)) + 32|0);
+ HEAP32[$36>>2] = $34;
+ $37 = $9;
+ $38 = $8;
+ $39 = (($37) - ($38))|0;
+ $40 = $3;
+ $41 = ((($40)) + 28|0);
+ HEAP32[$41>>2] = $39;
+ $42 = $3;
+ _ec_dec_normalize($42);
+ $43 = $10;
+ STACKTOP = sp;return ($43|0);
+}
+function _ec_dec_uint($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $9 = $4;
+ $10 = (($9) + -1)|0;
+ $4 = $10;
+ $11 = $4;
+ $12 = (Math_clz32(($11|0))|0);
+ $13 = (32 - ($12))|0;
+ $7 = $13;
+ $14 = $7;
+ $15 = ($14|0)>(8);
+ if (!($15)) {
+ $44 = $4;
+ $45 = (($44) + 1)|0;
+ $4 = $45;
+ $46 = $3;
+ $47 = $4;
+ $48 = (_ec_decode($46,$47)|0);
+ $6 = $48;
+ $49 = $3;
+ $50 = $6;
+ $51 = $6;
+ $52 = (($51) + 1)|0;
+ $53 = $4;
+ _ec_dec_update($49,$50,$52,$53);
+ $54 = $6;
+ $2 = $54;
+ $55 = $2;
+ STACKTOP = sp;return ($55|0);
+ }
+ $16 = $7;
+ $17 = (($16) - 8)|0;
+ $7 = $17;
+ $18 = $4;
+ $19 = $7;
+ $20 = $18 >>> $19;
+ $21 = (($20) + 1)|0;
+ $5 = $21;
+ $22 = $3;
+ $23 = $5;
+ $24 = (_ec_decode($22,$23)|0);
+ $6 = $24;
+ $25 = $3;
+ $26 = $6;
+ $27 = $6;
+ $28 = (($27) + 1)|0;
+ $29 = $5;
+ _ec_dec_update($25,$26,$28,$29);
+ $30 = $6;
+ $31 = $7;
+ $32 = $30 << $31;
+ $33 = $3;
+ $34 = $7;
+ $35 = (_ec_dec_bits($33,$34)|0);
+ $36 = $32 | $35;
+ $8 = $36;
+ $37 = $8;
+ $38 = $4;
+ $39 = ($37>>>0)<=($38>>>0);
+ if ($39) {
+ $40 = $8;
+ $2 = $40;
+ $55 = $2;
+ STACKTOP = sp;return ($55|0);
+ } else {
+ $41 = $3;
+ $42 = ((($41)) + 44|0);
+ HEAP32[$42>>2] = 1;
+ $43 = $4;
+ $2 = $43;
+ $55 = $2;
+ STACKTOP = sp;return ($55|0);
+ }
+ return (0)|0;
+}
+function _ec_dec_bits($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $7 = $2;
+ $8 = ((($7)) + 12|0);
+ $9 = HEAP32[$8>>2]|0;
+ $4 = $9;
+ $10 = $2;
+ $11 = ((($10)) + 16|0);
+ $12 = HEAP32[$11>>2]|0;
+ $5 = $12;
+ $13 = $5;
+ $14 = $3;
+ $15 = ($13>>>0)<($14>>>0);
+ if ($15) {
+ while(1) {
+ $16 = $2;
+ $17 = (_ec_read_byte_from_end($16)|0);
+ $18 = $5;
+ $19 = $17 << $18;
+ $20 = $4;
+ $21 = $20 | $19;
+ $4 = $21;
+ $22 = $5;
+ $23 = (($22) + 8)|0;
+ $5 = $23;
+ $24 = $5;
+ $25 = ($24|0)<=(24);
+ if (!($25)) {
+ break;
+ }
+ }
+ }
+ $26 = $4;
+ $27 = $3;
+ $28 = 1 << $27;
+ $29 = (($28) - 1)|0;
+ $30 = $26 & $29;
+ $6 = $30;
+ $31 = $3;
+ $32 = $4;
+ $33 = $32 >>> $31;
+ $4 = $33;
+ $34 = $3;
+ $35 = $5;
+ $36 = (($35) - ($34))|0;
+ $5 = $36;
+ $37 = $4;
+ $38 = $2;
+ $39 = ((($38)) + 12|0);
+ HEAP32[$39>>2] = $37;
+ $40 = $5;
+ $41 = $2;
+ $42 = ((($41)) + 16|0);
+ HEAP32[$42>>2] = $40;
+ $43 = $3;
+ $44 = $2;
+ $45 = ((($44)) + 20|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = (($46) + ($43))|0;
+ HEAP32[$45>>2] = $47;
+ $48 = $6;
+ STACKTOP = sp;return ($48|0);
+}
+function _ec_read_byte_from_end($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 8|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 4|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = ($4>>>0)<($7>>>0);
+ if (!($8)) {
+ $22 = 0;
+ STACKTOP = sp;return ($22|0);
+ }
+ $9 = $1;
+ $10 = HEAP32[$9>>2]|0;
+ $11 = $1;
+ $12 = ((($11)) + 4|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = $1;
+ $15 = ((($14)) + 8|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = (($16) + 1)|0;
+ HEAP32[$15>>2] = $17;
+ $18 = (($13) - ($17))|0;
+ $19 = (($10) + ($18)|0);
+ $20 = HEAP8[$19>>0]|0;
+ $21 = $20&255;
+ $22 = $21;
+ STACKTOP = sp;return ($22|0);
+}
+function _ec_enc_init($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = $4;
+ $7 = $3;
+ HEAP32[$7>>2] = $6;
+ $8 = $3;
+ $9 = ((($8)) + 8|0);
+ HEAP32[$9>>2] = 0;
+ $10 = $3;
+ $11 = ((($10)) + 12|0);
+ HEAP32[$11>>2] = 0;
+ $12 = $3;
+ $13 = ((($12)) + 16|0);
+ HEAP32[$13>>2] = 0;
+ $14 = $3;
+ $15 = ((($14)) + 20|0);
+ HEAP32[$15>>2] = 33;
+ $16 = $3;
+ $17 = ((($16)) + 24|0);
+ HEAP32[$17>>2] = 0;
+ $18 = $3;
+ $19 = ((($18)) + 28|0);
+ HEAP32[$19>>2] = -2147483648;
+ $20 = $3;
+ $21 = ((($20)) + 40|0);
+ HEAP32[$21>>2] = -1;
+ $22 = $3;
+ $23 = ((($22)) + 32|0);
+ HEAP32[$23>>2] = 0;
+ $24 = $3;
+ $25 = ((($24)) + 36|0);
+ HEAP32[$25>>2] = 0;
+ $26 = $5;
+ $27 = $3;
+ $28 = ((($27)) + 4|0);
+ HEAP32[$28>>2] = $26;
+ $29 = $3;
+ $30 = ((($29)) + 44|0);
+ HEAP32[$30>>2] = 0;
+ STACKTOP = sp;return;
+}
+function _ec_encode($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $4;
+ $10 = ((($9)) + 28|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = $7;
+ $13 = (_celt_udiv_80($11,$12)|0);
+ $8 = $13;
+ $14 = $5;
+ $15 = ($14>>>0)>(0);
+ if ($15) {
+ $16 = $4;
+ $17 = ((($16)) + 28|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = $8;
+ $20 = $7;
+ $21 = $5;
+ $22 = (($20) - ($21))|0;
+ $23 = Math_imul($19, $22)|0;
+ $24 = (($18) - ($23))|0;
+ $25 = $4;
+ $26 = ((($25)) + 32|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = (($27) + ($24))|0;
+ HEAP32[$26>>2] = $28;
+ $29 = $8;
+ $30 = $6;
+ $31 = $5;
+ $32 = (($30) - ($31))|0;
+ $33 = Math_imul($29, $32)|0;
+ $34 = $4;
+ $35 = ((($34)) + 28|0);
+ HEAP32[$35>>2] = $33;
+ $45 = $4;
+ _ec_enc_normalize($45);
+ STACKTOP = sp;return;
+ } else {
+ $36 = $8;
+ $37 = $7;
+ $38 = $6;
+ $39 = (($37) - ($38))|0;
+ $40 = Math_imul($36, $39)|0;
+ $41 = $4;
+ $42 = ((($41)) + 28|0);
+ $43 = HEAP32[$42>>2]|0;
+ $44 = (($43) - ($40))|0;
+ HEAP32[$42>>2] = $44;
+ $45 = $4;
+ _ec_enc_normalize($45);
+ STACKTOP = sp;return;
+ }
+}
+function _celt_udiv_80($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = (($4>>>0) / ($5>>>0))&-1;
+ STACKTOP = sp;return ($6|0);
+}
+function _ec_enc_normalize($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $3 = 0, $4 = 0;
+ var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ while(1) {
+ $2 = $1;
+ $3 = ((($2)) + 28|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = ($4>>>0)<=(8388608);
+ if (!($5)) {
+ break;
+ }
+ $6 = $1;
+ $7 = $1;
+ $8 = ((($7)) + 32|0);
+ $9 = HEAP32[$8>>2]|0;
+ $10 = $9 >>> 23;
+ _ec_enc_carry_out($6,$10);
+ $11 = $1;
+ $12 = ((($11)) + 32|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = $13 << 8;
+ $15 = $14 & 2147483647;
+ $16 = $1;
+ $17 = ((($16)) + 32|0);
+ HEAP32[$17>>2] = $15;
+ $18 = $1;
+ $19 = ((($18)) + 28|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = $20 << 8;
+ HEAP32[$19>>2] = $21;
+ $22 = $1;
+ $23 = ((($22)) + 20|0);
+ $24 = HEAP32[$23>>2]|0;
+ $25 = (($24) + 8)|0;
+ HEAP32[$23>>2] = $25;
+ }
+ STACKTOP = sp;return;
+}
+function _ec_enc_carry_out($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $6 = $3;
+ $7 = ($6|0)!=(255);
+ if (!($7)) {
+ $48 = $2;
+ $49 = ((($48)) + 36|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = (($50) + 1)|0;
+ HEAP32[$49>>2] = $51;
+ STACKTOP = sp;return;
+ }
+ $8 = $3;
+ $9 = $8 >> 8;
+ $4 = $9;
+ $10 = $2;
+ $11 = ((($10)) + 40|0);
+ $12 = HEAP32[$11>>2]|0;
+ $13 = ($12|0)>=(0);
+ if ($13) {
+ $14 = $2;
+ $15 = $2;
+ $16 = ((($15)) + 40|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $4;
+ $19 = (($17) + ($18))|0;
+ $20 = (_ec_write_byte($14,$19)|0);
+ $21 = $2;
+ $22 = ((($21)) + 44|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = $23 | $20;
+ HEAP32[$22>>2] = $24;
+ }
+ $25 = $2;
+ $26 = ((($25)) + 36|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = ($27>>>0)>(0);
+ if ($28) {
+ $29 = $4;
+ $30 = (255 + ($29))|0;
+ $31 = $30 & 255;
+ $5 = $31;
+ while(1) {
+ $32 = $2;
+ $33 = $5;
+ $34 = (_ec_write_byte($32,$33)|0);
+ $35 = $2;
+ $36 = ((($35)) + 44|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = $37 | $34;
+ HEAP32[$36>>2] = $38;
+ $39 = $2;
+ $40 = ((($39)) + 36|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = (($41) + -1)|0;
+ HEAP32[$40>>2] = $42;
+ $43 = ($42>>>0)>(0);
+ if (!($43)) {
+ break;
+ }
+ }
+ }
+ $44 = $3;
+ $45 = $44 & 255;
+ $46 = $2;
+ $47 = ((($46)) + 40|0);
+ HEAP32[$47>>2] = $45;
+ STACKTOP = sp;return;
+}
+function _ec_write_byte($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $3 = 0, $4 = 0, $5 = 0;
+ var $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $3;
+ $6 = ((($5)) + 24|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = $3;
+ $9 = ((($8)) + 8|0);
+ $10 = HEAP32[$9>>2]|0;
+ $11 = (($7) + ($10))|0;
+ $12 = $3;
+ $13 = ((($12)) + 4|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ($11>>>0)>=($14>>>0);
+ if ($15) {
+ $2 = -1;
+ $25 = $2;
+ STACKTOP = sp;return ($25|0);
+ } else {
+ $16 = $4;
+ $17 = $16&255;
+ $18 = $3;
+ $19 = HEAP32[$18>>2]|0;
+ $20 = $3;
+ $21 = ((($20)) + 24|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = (($22) + 1)|0;
+ HEAP32[$21>>2] = $23;
+ $24 = (($19) + ($22)|0);
+ HEAP8[$24>>0] = $17;
+ $2 = 0;
+ $25 = $2;
+ STACKTOP = sp;return ($25|0);
+ }
+ return (0)|0;
+}
+function _ec_encode_bin($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $5 = 0;
+ var $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $4;
+ $10 = ((($9)) + 28|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = $7;
+ $13 = $11 >>> $12;
+ $8 = $13;
+ $14 = $5;
+ $15 = ($14>>>0)>(0);
+ if ($15) {
+ $16 = $4;
+ $17 = ((($16)) + 28|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = $8;
+ $20 = $7;
+ $21 = 1 << $20;
+ $22 = $5;
+ $23 = (($21) - ($22))|0;
+ $24 = Math_imul($19, $23)|0;
+ $25 = (($18) - ($24))|0;
+ $26 = $4;
+ $27 = ((($26)) + 32|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = (($28) + ($25))|0;
+ HEAP32[$27>>2] = $29;
+ $30 = $8;
+ $31 = $6;
+ $32 = $5;
+ $33 = (($31) - ($32))|0;
+ $34 = Math_imul($30, $33)|0;
+ $35 = $4;
+ $36 = ((($35)) + 28|0);
+ HEAP32[$36>>2] = $34;
+ $47 = $4;
+ _ec_enc_normalize($47);
+ STACKTOP = sp;return;
+ } else {
+ $37 = $8;
+ $38 = $7;
+ $39 = 1 << $38;
+ $40 = $6;
+ $41 = (($39) - ($40))|0;
+ $42 = Math_imul($37, $41)|0;
+ $43 = $4;
+ $44 = ((($43)) + 28|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = (($45) - ($42))|0;
+ HEAP32[$44>>2] = $46;
+ $47 = $4;
+ _ec_enc_normalize($47);
+ STACKTOP = sp;return;
+ }
+}
+function _ec_enc_bit_logp($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $9 = $3;
+ $10 = ((($9)) + 28|0);
+ $11 = HEAP32[$10>>2]|0;
+ $6 = $11;
+ $12 = $3;
+ $13 = ((($12)) + 32|0);
+ $14 = HEAP32[$13>>2]|0;
+ $8 = $14;
+ $15 = $6;
+ $16 = $5;
+ $17 = $15 >>> $16;
+ $7 = $17;
+ $18 = $7;
+ $19 = $6;
+ $20 = (($19) - ($18))|0;
+ $6 = $20;
+ $21 = $4;
+ $22 = ($21|0)!=(0);
+ if ($22) {
+ $23 = $8;
+ $24 = $6;
+ $25 = (($23) + ($24))|0;
+ $26 = $3;
+ $27 = ((($26)) + 32|0);
+ HEAP32[$27>>2] = $25;
+ }
+ $28 = $4;
+ $29 = ($28|0)!=(0);
+ $30 = $7;
+ $31 = $6;
+ $32 = $29 ? $30 : $31;
+ $33 = $3;
+ $34 = ((($33)) + 28|0);
+ HEAP32[$34>>2] = $32;
+ $35 = $3;
+ _ec_enc_normalize($35);
+ STACKTOP = sp;return;
+}
+function _ec_enc_icdf($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $4;
+ $10 = ((($9)) + 28|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = $7;
+ $13 = $11 >>> $12;
+ $8 = $13;
+ $14 = $5;
+ $15 = ($14|0)>(0);
+ if ($15) {
+ $16 = $4;
+ $17 = ((($16)) + 28|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = $8;
+ $20 = $6;
+ $21 = $5;
+ $22 = (($21) - 1)|0;
+ $23 = (($20) + ($22)|0);
+ $24 = HEAP8[$23>>0]|0;
+ $25 = $24&255;
+ $26 = Math_imul($19, $25)|0;
+ $27 = (($18) - ($26))|0;
+ $28 = $4;
+ $29 = ((($28)) + 32|0);
+ $30 = HEAP32[$29>>2]|0;
+ $31 = (($30) + ($27))|0;
+ HEAP32[$29>>2] = $31;
+ $32 = $8;
+ $33 = $6;
+ $34 = $5;
+ $35 = (($34) - 1)|0;
+ $36 = (($33) + ($35)|0);
+ $37 = HEAP8[$36>>0]|0;
+ $38 = $37&255;
+ $39 = $6;
+ $40 = $5;
+ $41 = (($39) + ($40)|0);
+ $42 = HEAP8[$41>>0]|0;
+ $43 = $42&255;
+ $44 = (($38) - ($43))|0;
+ $45 = Math_imul($32, $44)|0;
+ $46 = $4;
+ $47 = ((($46)) + 28|0);
+ HEAP32[$47>>2] = $45;
+ $59 = $4;
+ _ec_enc_normalize($59);
+ STACKTOP = sp;return;
+ } else {
+ $48 = $8;
+ $49 = $6;
+ $50 = $5;
+ $51 = (($49) + ($50)|0);
+ $52 = HEAP8[$51>>0]|0;
+ $53 = $52&255;
+ $54 = Math_imul($48, $53)|0;
+ $55 = $4;
+ $56 = ((($55)) + 28|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = (($57) - ($54))|0;
+ HEAP32[$56>>2] = $58;
+ $59 = $4;
+ _ec_enc_normalize($59);
+ STACKTOP = sp;return;
+ }
+}
+function _ec_enc_uint($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $9 = $5;
+ $10 = (($9) + -1)|0;
+ $5 = $10;
+ $11 = $5;
+ $12 = (Math_clz32(($11|0))|0);
+ $13 = (32 - ($12))|0;
+ $8 = $13;
+ $14 = $8;
+ $15 = ($14|0)>(8);
+ if ($15) {
+ $16 = $8;
+ $17 = (($16) - 8)|0;
+ $8 = $17;
+ $18 = $5;
+ $19 = $8;
+ $20 = $18 >>> $19;
+ $21 = (($20) + 1)|0;
+ $6 = $21;
+ $22 = $4;
+ $23 = $8;
+ $24 = $22 >>> $23;
+ $7 = $24;
+ $25 = $3;
+ $26 = $7;
+ $27 = $7;
+ $28 = (($27) + 1)|0;
+ $29 = $6;
+ _ec_encode($25,$26,$28,$29);
+ $30 = $3;
+ $31 = $4;
+ $32 = $8;
+ $33 = 1 << $32;
+ $34 = (($33) - 1)|0;
+ $35 = $31 & $34;
+ $36 = $8;
+ _ec_enc_bits($30,$35,$36);
+ STACKTOP = sp;return;
+ } else {
+ $37 = $3;
+ $38 = $4;
+ $39 = $4;
+ $40 = (($39) + 1)|0;
+ $41 = $5;
+ $42 = (($41) + 1)|0;
+ _ec_encode($37,$38,$40,$42);
+ STACKTOP = sp;return;
+ }
+}
+function _ec_enc_bits($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $3;
+ $9 = ((($8)) + 12|0);
+ $10 = HEAP32[$9>>2]|0;
+ $6 = $10;
+ $11 = $3;
+ $12 = ((($11)) + 16|0);
+ $13 = HEAP32[$12>>2]|0;
+ $7 = $13;
+ $14 = $7;
+ $15 = $5;
+ $16 = (($14) + ($15))|0;
+ $17 = ($16>>>0)>(32);
+ if ($17) {
+ while(1) {
+ $18 = $3;
+ $19 = $6;
+ $20 = $19 & 255;
+ $21 = (_ec_write_byte_at_end($18,$20)|0);
+ $22 = $3;
+ $23 = ((($22)) + 44|0);
+ $24 = HEAP32[$23>>2]|0;
+ $25 = $24 | $21;
+ HEAP32[$23>>2] = $25;
+ $26 = $6;
+ $27 = $26 >>> 8;
+ $6 = $27;
+ $28 = $7;
+ $29 = (($28) - 8)|0;
+ $7 = $29;
+ $30 = $7;
+ $31 = ($30|0)>=(8);
+ if (!($31)) {
+ break;
+ }
+ }
+ }
+ $32 = $4;
+ $33 = $7;
+ $34 = $32 << $33;
+ $35 = $6;
+ $36 = $35 | $34;
+ $6 = $36;
+ $37 = $5;
+ $38 = $7;
+ $39 = (($38) + ($37))|0;
+ $7 = $39;
+ $40 = $6;
+ $41 = $3;
+ $42 = ((($41)) + 12|0);
+ HEAP32[$42>>2] = $40;
+ $43 = $7;
+ $44 = $3;
+ $45 = ((($44)) + 16|0);
+ HEAP32[$45>>2] = $43;
+ $46 = $5;
+ $47 = $3;
+ $48 = ((($47)) + 20|0);
+ $49 = HEAP32[$48>>2]|0;
+ $50 = (($49) + ($46))|0;
+ HEAP32[$48>>2] = $50;
+ STACKTOP = sp;return;
+}
+function _ec_write_byte_at_end($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $3;
+ $6 = ((($5)) + 24|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = $3;
+ $9 = ((($8)) + 8|0);
+ $10 = HEAP32[$9>>2]|0;
+ $11 = (($7) + ($10))|0;
+ $12 = $3;
+ $13 = ((($12)) + 4|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ($11>>>0)>=($14>>>0);
+ if ($15) {
+ $2 = -1;
+ $29 = $2;
+ STACKTOP = sp;return ($29|0);
+ } else {
+ $16 = $4;
+ $17 = $16&255;
+ $18 = $3;
+ $19 = HEAP32[$18>>2]|0;
+ $20 = $3;
+ $21 = ((($20)) + 4|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = $3;
+ $24 = ((($23)) + 8|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = (($25) + 1)|0;
+ HEAP32[$24>>2] = $26;
+ $27 = (($22) - ($26))|0;
+ $28 = (($19) + ($27)|0);
+ HEAP8[$28>>0] = $17;
+ $2 = 0;
+ $29 = $2;
+ STACKTOP = sp;return ($29|0);
+ }
+ return (0)|0;
+}
+function _ec_enc_patch_initial_bits($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $5;
+ $9 = (8 - ($8))|0;
+ $6 = $9;
+ $10 = $5;
+ $11 = 1 << $10;
+ $12 = (($11) - 1)|0;
+ $13 = $6;
+ $14 = $12 << $13;
+ $7 = $14;
+ $15 = $3;
+ $16 = ((($15)) + 24|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = ($17>>>0)>(0);
+ $19 = $3;
+ if ($18) {
+ $20 = HEAP32[$19>>2]|0;
+ $21 = HEAP8[$20>>0]|0;
+ $22 = $21&255;
+ $23 = $7;
+ $24 = $23 ^ -1;
+ $25 = $22 & $24;
+ $26 = $4;
+ $27 = $6;
+ $28 = $26 << $27;
+ $29 = $25 | $28;
+ $30 = $29&255;
+ $31 = $3;
+ $32 = HEAP32[$31>>2]|0;
+ HEAP8[$32>>0] = $30;
+ STACKTOP = sp;return;
+ }
+ $33 = ((($19)) + 40|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = ($34|0)>=(0);
+ $36 = $3;
+ if ($35) {
+ $37 = ((($36)) + 40|0);
+ $38 = HEAP32[$37>>2]|0;
+ $39 = $7;
+ $40 = $39 ^ -1;
+ $41 = $38 & $40;
+ $42 = $4;
+ $43 = $6;
+ $44 = $42 << $43;
+ $45 = $41 | $44;
+ $46 = $3;
+ $47 = ((($46)) + 40|0);
+ HEAP32[$47>>2] = $45;
+ STACKTOP = sp;return;
+ }
+ $48 = ((($36)) + 28|0);
+ $49 = HEAP32[$48>>2]|0;
+ $50 = $5;
+ $51 = -2147483648 >>> $50;
+ $52 = ($49>>>0)<=($51>>>0);
+ $53 = $3;
+ if ($52) {
+ $54 = ((($53)) + 32|0);
+ $55 = HEAP32[$54>>2]|0;
+ $56 = $7;
+ $57 = $56 << 23;
+ $58 = $57 ^ -1;
+ $59 = $55 & $58;
+ $60 = $4;
+ $61 = $6;
+ $62 = (23 + ($61))|0;
+ $63 = $60 << $62;
+ $64 = $59 | $63;
+ $65 = $3;
+ $66 = ((($65)) + 32|0);
+ HEAP32[$66>>2] = $64;
+ STACKTOP = sp;return;
+ } else {
+ $67 = ((($53)) + 44|0);
+ HEAP32[$67>>2] = -1;
+ STACKTOP = sp;return;
+ }
+}
+function _ec_enc_shrink($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = HEAP32[$4>>2]|0;
+ $6 = $3;
+ $7 = (($5) + ($6)|0);
+ $8 = $2;
+ $9 = ((($8)) + 8|0);
+ $10 = HEAP32[$9>>2]|0;
+ $11 = (0 - ($10))|0;
+ $12 = (($7) + ($11)|0);
+ $13 = $2;
+ $14 = HEAP32[$13>>2]|0;
+ $15 = $2;
+ $16 = ((($15)) + 4|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = (($14) + ($17)|0);
+ $19 = $2;
+ $20 = ((($19)) + 8|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = (0 - ($21))|0;
+ $23 = (($18) + ($22)|0);
+ $24 = $2;
+ $25 = ((($24)) + 8|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = $26;
+ $28 = $2;
+ $29 = HEAP32[$28>>2]|0;
+ $30 = $3;
+ $31 = (($29) + ($30)|0);
+ $32 = $2;
+ $33 = ((($32)) + 8|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = (0 - ($34))|0;
+ $36 = (($31) + ($35)|0);
+ $37 = $2;
+ $38 = HEAP32[$37>>2]|0;
+ $39 = $2;
+ $40 = ((($39)) + 4|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = (($38) + ($41)|0);
+ $43 = $2;
+ $44 = ((($43)) + 8|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = (0 - ($45))|0;
+ $47 = (($42) + ($46)|0);
+ $48 = $36;
+ $49 = $47;
+ $50 = (($48) - ($49))|0;
+ $51 = 0;
+ $52 = (($27) + ($51))|0;
+ _memmove(($12|0),($23|0),($52|0))|0;
+ $53 = $3;
+ $54 = $2;
+ $55 = ((($54)) + 4|0);
+ HEAP32[$55>>2] = $53;
+ STACKTOP = sp;return;
+}
+function _ec_enc_done($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $1 = $0;
+ $7 = $1;
+ $8 = ((($7)) + 28|0);
+ $9 = HEAP32[$8>>2]|0;
+ $10 = (Math_clz32(($9|0))|0);
+ $11 = (32 - ($10))|0;
+ $12 = (32 - ($11))|0;
+ $6 = $12;
+ $13 = $6;
+ $14 = 2147483647 >>> $13;
+ $4 = $14;
+ $15 = $1;
+ $16 = ((($15)) + 32|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $4;
+ $19 = (($17) + ($18))|0;
+ $20 = $4;
+ $21 = $20 ^ -1;
+ $22 = $19 & $21;
+ $5 = $22;
+ $23 = $5;
+ $24 = $4;
+ $25 = $23 | $24;
+ $26 = $1;
+ $27 = ((($26)) + 32|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = $1;
+ $30 = ((($29)) + 28|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = (($28) + ($31))|0;
+ $33 = ($25>>>0)>=($32>>>0);
+ if ($33) {
+ $34 = $6;
+ $35 = (($34) + 1)|0;
+ $6 = $35;
+ $36 = $4;
+ $37 = $36 >>> 1;
+ $4 = $37;
+ $38 = $1;
+ $39 = ((($38)) + 32|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = $4;
+ $42 = (($40) + ($41))|0;
+ $43 = $4;
+ $44 = $43 ^ -1;
+ $45 = $42 & $44;
+ $5 = $45;
+ }
+ while(1) {
+ $46 = $6;
+ $47 = ($46|0)>(0);
+ $48 = $1;
+ if (!($47)) {
+ break;
+ }
+ $49 = $5;
+ $50 = $49 >>> 23;
+ _ec_enc_carry_out($48,$50);
+ $51 = $5;
+ $52 = $51 << 8;
+ $53 = $52 & 2147483647;
+ $5 = $53;
+ $54 = $6;
+ $55 = (($54) - 8)|0;
+ $6 = $55;
+ }
+ $56 = ((($48)) + 40|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = ($57|0)>=(0);
+ if ($58) {
+ label = 7;
+ } else {
+ $59 = $1;
+ $60 = ((($59)) + 36|0);
+ $61 = HEAP32[$60>>2]|0;
+ $62 = ($61>>>0)>(0);
+ if ($62) {
+ label = 7;
+ }
+ }
+ if ((label|0) == 7) {
+ $63 = $1;
+ _ec_enc_carry_out($63,0);
+ }
+ $64 = $1;
+ $65 = ((($64)) + 12|0);
+ $66 = HEAP32[$65>>2]|0;
+ $2 = $66;
+ $67 = $1;
+ $68 = ((($67)) + 16|0);
+ $69 = HEAP32[$68>>2]|0;
+ $3 = $69;
+ while(1) {
+ $70 = $3;
+ $71 = ($70|0)>=(8);
+ $72 = $1;
+ if (!($71)) {
+ break;
+ }
+ $73 = $2;
+ $74 = $73 & 255;
+ $75 = (_ec_write_byte_at_end($72,$74)|0);
+ $76 = $1;
+ $77 = ((($76)) + 44|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = $78 | $75;
+ HEAP32[$77>>2] = $79;
+ $80 = $2;
+ $81 = $80 >>> 8;
+ $2 = $81;
+ $82 = $3;
+ $83 = (($82) - 8)|0;
+ $3 = $83;
+ }
+ $84 = ((($72)) + 44|0);
+ $85 = HEAP32[$84>>2]|0;
+ $86 = ($85|0)!=(0);
+ if ($86) {
+ STACKTOP = sp;return;
+ }
+ $87 = $1;
+ $88 = HEAP32[$87>>2]|0;
+ $89 = $1;
+ $90 = ((($89)) + 24|0);
+ $91 = HEAP32[$90>>2]|0;
+ $92 = (($88) + ($91)|0);
+ $93 = $1;
+ $94 = ((($93)) + 4|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = $1;
+ $97 = ((($96)) + 24|0);
+ $98 = HEAP32[$97>>2]|0;
+ $99 = (($95) - ($98))|0;
+ $100 = $1;
+ $101 = ((($100)) + 8|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = (($99) - ($102))|0;
+ $104 = $103;
+ _memset(($92|0),0,($104|0))|0;
+ $105 = $3;
+ $106 = ($105|0)>(0);
+ if (!($106)) {
+ STACKTOP = sp;return;
+ }
+ $107 = $1;
+ $108 = ((($107)) + 8|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = $1;
+ $111 = ((($110)) + 4|0);
+ $112 = HEAP32[$111>>2]|0;
+ $113 = ($109>>>0)>=($112>>>0);
+ if ($113) {
+ $114 = $1;
+ $115 = ((($114)) + 44|0);
+ HEAP32[$115>>2] = -1;
+ STACKTOP = sp;return;
+ }
+ $116 = $6;
+ $117 = (0 - ($116))|0;
+ $6 = $117;
+ $118 = $1;
+ $119 = ((($118)) + 24|0);
+ $120 = HEAP32[$119>>2]|0;
+ $121 = $1;
+ $122 = ((($121)) + 8|0);
+ $123 = HEAP32[$122>>2]|0;
+ $124 = (($120) + ($123))|0;
+ $125 = $1;
+ $126 = ((($125)) + 4|0);
+ $127 = HEAP32[$126>>2]|0;
+ $128 = ($124>>>0)>=($127>>>0);
+ if ($128) {
+ $129 = $6;
+ $130 = $3;
+ $131 = ($129|0)<($130|0);
+ if ($131) {
+ $132 = $6;
+ $133 = 1 << $132;
+ $134 = (($133) - 1)|0;
+ $135 = $2;
+ $136 = $135 & $134;
+ $2 = $136;
+ $137 = $1;
+ $138 = ((($137)) + 44|0);
+ HEAP32[$138>>2] = -1;
+ }
+ }
+ $139 = $2;
+ $140 = $139&255;
+ $141 = $140&255;
+ $142 = $1;
+ $143 = HEAP32[$142>>2]|0;
+ $144 = $1;
+ $145 = ((($144)) + 4|0);
+ $146 = HEAP32[$145>>2]|0;
+ $147 = $1;
+ $148 = ((($147)) + 8|0);
+ $149 = HEAP32[$148>>2]|0;
+ $150 = (($146) - ($149))|0;
+ $151 = (($150) - 1)|0;
+ $152 = (($143) + ($151)|0);
+ $153 = HEAP8[$152>>0]|0;
+ $154 = $153&255;
+ $155 = $154 | $141;
+ $156 = $155&255;
+ HEAP8[$152>>0] = $156;
+ STACKTOP = sp;return;
+}
+function _opus_fft_impl($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $8 = sp + 8|0;
+ $2 = $0;
+ $3 = $1;
+ $11 = $2;
+ $12 = ((($11)) + 8|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = ($13|0)>(0);
+ if ($14) {
+ $15 = $2;
+ $16 = ((($15)) + 8|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $17;
+ } else {
+ $18 = 0;
+ }
+ $10 = $18;
+ HEAP32[$8>>2] = 1;
+ $7 = 0;
+ while(1) {
+ $19 = $2;
+ $20 = ((($19)) + 12|0);
+ $21 = $7;
+ $22 = $21<<1;
+ $23 = (($20) + ($22<<1)|0);
+ $24 = HEAP16[$23>>1]|0;
+ $25 = $24 << 16 >> 16;
+ $6 = $25;
+ $26 = $2;
+ $27 = ((($26)) + 12|0);
+ $28 = $7;
+ $29 = $28<<1;
+ $30 = (($29) + 1)|0;
+ $31 = (($27) + ($30<<1)|0);
+ $32 = HEAP16[$31>>1]|0;
+ $33 = $32 << 16 >> 16;
+ $5 = $33;
+ $34 = $7;
+ $35 = (($8) + ($34<<2)|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = $6;
+ $38 = Math_imul($36, $37)|0;
+ $39 = $7;
+ $40 = (($39) + 1)|0;
+ $41 = (($8) + ($40<<2)|0);
+ HEAP32[$41>>2] = $38;
+ $42 = $7;
+ $43 = (($42) + 1)|0;
+ $7 = $43;
+ $44 = $5;
+ $45 = ($44|0)!=(1);
+ if (!($45)) {
+ break;
+ }
+ }
+ $46 = $2;
+ $47 = ((($46)) + 12|0);
+ $48 = $7;
+ $49 = $48<<1;
+ $50 = (($49) - 1)|0;
+ $51 = (($47) + ($50<<1)|0);
+ $52 = HEAP16[$51>>1]|0;
+ $53 = $52 << 16 >> 16;
+ $5 = $53;
+ $54 = $7;
+ $55 = (($54) - 1)|0;
+ $9 = $55;
+ while(1) {
+ $56 = $9;
+ $57 = ($56|0)>=(0);
+ if (!($57)) {
+ break;
+ }
+ $58 = $9;
+ $59 = ($58|0)!=(0);
+ if ($59) {
+ $60 = $2;
+ $61 = ((($60)) + 12|0);
+ $62 = $9;
+ $63 = $62<<1;
+ $64 = (($63) - 1)|0;
+ $65 = (($61) + ($64<<1)|0);
+ $66 = HEAP16[$65>>1]|0;
+ $67 = $66 << 16 >> 16;
+ $4 = $67;
+ } else {
+ $4 = 1;
+ }
+ $68 = $2;
+ $69 = ((($68)) + 12|0);
+ $70 = $9;
+ $71 = $70<<1;
+ $72 = (($69) + ($71<<1)|0);
+ $73 = HEAP16[$72>>1]|0;
+ $74 = $73 << 16 >> 16;
+ switch ($74|0) {
+ case 2: {
+ $75 = $3;
+ $76 = $5;
+ $77 = $9;
+ $78 = (($8) + ($77<<2)|0);
+ $79 = HEAP32[$78>>2]|0;
+ _kf_bfly2($75,$76,$79);
+ break;
+ }
+ case 4: {
+ $80 = $3;
+ $81 = $9;
+ $82 = (($8) + ($81<<2)|0);
+ $83 = HEAP32[$82>>2]|0;
+ $84 = $10;
+ $85 = $83 << $84;
+ $86 = $2;
+ $87 = $5;
+ $88 = $9;
+ $89 = (($8) + ($88<<2)|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = $4;
+ _kf_bfly4($80,$85,$86,$87,$90,$91);
+ break;
+ }
+ case 3: {
+ $92 = $3;
+ $93 = $9;
+ $94 = (($8) + ($93<<2)|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = $10;
+ $97 = $95 << $96;
+ $98 = $2;
+ $99 = $5;
+ $100 = $9;
+ $101 = (($8) + ($100<<2)|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = $4;
+ _kf_bfly3($92,$97,$98,$99,$102,$103);
+ break;
+ }
+ case 5: {
+ $104 = $3;
+ $105 = $9;
+ $106 = (($8) + ($105<<2)|0);
+ $107 = HEAP32[$106>>2]|0;
+ $108 = $10;
+ $109 = $107 << $108;
+ $110 = $2;
+ $111 = $5;
+ $112 = $9;
+ $113 = (($8) + ($112<<2)|0);
+ $114 = HEAP32[$113>>2]|0;
+ $115 = $4;
+ _kf_bfly5($104,$109,$110,$111,$114,$115);
+ break;
+ }
+ default: {
+ }
+ }
+ $116 = $4;
+ $5 = $116;
+ $117 = $9;
+ $118 = (($117) + -1)|0;
+ $9 = $118;
+ }
+ STACKTOP = sp;return;
+}
+function _kf_bfly2($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0, $115 = 0.0, $116 = 0, $117 = 0;
+ var $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0.0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0.0, $131 = 0, $132 = 0, $133 = 0.0, $134 = 0.0, $135 = 0.0;
+ var $136 = 0.0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0.0, $152 = 0.0, $153 = 0.0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0.0, $16 = 0, $160 = 0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0.0, $17 = 0.0, $170 = 0.0, $171 = 0;
+ var $172 = 0.0, $173 = 0, $174 = 0, $175 = 0, $176 = 0.0, $177 = 0.0, $178 = 0, $179 = 0, $18 = 0.0, $180 = 0, $181 = 0, $19 = 0.0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0.0, $26 = 0.0, $27 = 0;
+ var $28 = 0, $29 = 0.0, $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0;
+ var $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0.0;
+ var $64 = 0.0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0.0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0.0, $80 = 0.0, $81 = 0.0;
+ var $82 = 0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $9 = sp;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = 0.70710676908493042;
+ $7 = 0;
+ while(1) {
+ $10 = $7;
+ $11 = $5;
+ $12 = ($10|0)<($11|0);
+ if (!($12)) {
+ break;
+ }
+ $13 = $3;
+ $14 = ((($13)) + 32|0);
+ $6 = $14;
+ $15 = $6;
+ ;HEAP32[$9>>2]=HEAP32[$15>>2]|0;HEAP32[$9+4>>2]=HEAP32[$15+4>>2]|0;
+ $16 = $3;
+ $17 = +HEAPF32[$16>>2];
+ $18 = +HEAPF32[$9>>2];
+ $19 = $17 - $18;
+ $20 = $6;
+ HEAPF32[$20>>2] = $19;
+ $21 = $3;
+ $22 = ((($21)) + 4|0);
+ $23 = +HEAPF32[$22>>2];
+ $24 = ((($9)) + 4|0);
+ $25 = +HEAPF32[$24>>2];
+ $26 = $23 - $25;
+ $27 = $6;
+ $28 = ((($27)) + 4|0);
+ HEAPF32[$28>>2] = $26;
+ $29 = +HEAPF32[$9>>2];
+ $30 = $3;
+ $31 = +HEAPF32[$30>>2];
+ $32 = $31 + $29;
+ HEAPF32[$30>>2] = $32;
+ $33 = ((($9)) + 4|0);
+ $34 = +HEAPF32[$33>>2];
+ $35 = $3;
+ $36 = ((($35)) + 4|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $37 + $34;
+ HEAPF32[$36>>2] = $38;
+ $39 = $6;
+ $40 = ((($39)) + 8|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $6;
+ $43 = ((($42)) + 8|0);
+ $44 = ((($43)) + 4|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $41 + $45;
+ $47 = $8;
+ $48 = $46 * $47;
+ HEAPF32[$9>>2] = $48;
+ $49 = $6;
+ $50 = ((($49)) + 8|0);
+ $51 = ((($50)) + 4|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $6;
+ $54 = ((($53)) + 8|0);
+ $55 = +HEAPF32[$54>>2];
+ $56 = $52 - $55;
+ $57 = $8;
+ $58 = $56 * $57;
+ $59 = ((($9)) + 4|0);
+ HEAPF32[$59>>2] = $58;
+ $60 = $3;
+ $61 = ((($60)) + 8|0);
+ $62 = +HEAPF32[$61>>2];
+ $63 = +HEAPF32[$9>>2];
+ $64 = $62 - $63;
+ $65 = $6;
+ $66 = ((($65)) + 8|0);
+ HEAPF32[$66>>2] = $64;
+ $67 = $3;
+ $68 = ((($67)) + 8|0);
+ $69 = ((($68)) + 4|0);
+ $70 = +HEAPF32[$69>>2];
+ $71 = ((($9)) + 4|0);
+ $72 = +HEAPF32[$71>>2];
+ $73 = $70 - $72;
+ $74 = $6;
+ $75 = ((($74)) + 8|0);
+ $76 = ((($75)) + 4|0);
+ HEAPF32[$76>>2] = $73;
+ $77 = +HEAPF32[$9>>2];
+ $78 = $3;
+ $79 = ((($78)) + 8|0);
+ $80 = +HEAPF32[$79>>2];
+ $81 = $80 + $77;
+ HEAPF32[$79>>2] = $81;
+ $82 = ((($9)) + 4|0);
+ $83 = +HEAPF32[$82>>2];
+ $84 = $3;
+ $85 = ((($84)) + 8|0);
+ $86 = ((($85)) + 4|0);
+ $87 = +HEAPF32[$86>>2];
+ $88 = $87 + $83;
+ HEAPF32[$86>>2] = $88;
+ $89 = $6;
+ $90 = ((($89)) + 16|0);
+ $91 = ((($90)) + 4|0);
+ $92 = +HEAPF32[$91>>2];
+ HEAPF32[$9>>2] = $92;
+ $93 = $6;
+ $94 = ((($93)) + 16|0);
+ $95 = +HEAPF32[$94>>2];
+ $96 = - $95;
+ $97 = ((($9)) + 4|0);
+ HEAPF32[$97>>2] = $96;
+ $98 = $3;
+ $99 = ((($98)) + 16|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = +HEAPF32[$9>>2];
+ $102 = $100 - $101;
+ $103 = $6;
+ $104 = ((($103)) + 16|0);
+ HEAPF32[$104>>2] = $102;
+ $105 = $3;
+ $106 = ((($105)) + 16|0);
+ $107 = ((($106)) + 4|0);
+ $108 = +HEAPF32[$107>>2];
+ $109 = ((($9)) + 4|0);
+ $110 = +HEAPF32[$109>>2];
+ $111 = $108 - $110;
+ $112 = $6;
+ $113 = ((($112)) + 16|0);
+ $114 = ((($113)) + 4|0);
+ HEAPF32[$114>>2] = $111;
+ $115 = +HEAPF32[$9>>2];
+ $116 = $3;
+ $117 = ((($116)) + 16|0);
+ $118 = +HEAPF32[$117>>2];
+ $119 = $118 + $115;
+ HEAPF32[$117>>2] = $119;
+ $120 = ((($9)) + 4|0);
+ $121 = +HEAPF32[$120>>2];
+ $122 = $3;
+ $123 = ((($122)) + 16|0);
+ $124 = ((($123)) + 4|0);
+ $125 = +HEAPF32[$124>>2];
+ $126 = $125 + $121;
+ HEAPF32[$124>>2] = $126;
+ $127 = $6;
+ $128 = ((($127)) + 24|0);
+ $129 = ((($128)) + 4|0);
+ $130 = +HEAPF32[$129>>2];
+ $131 = $6;
+ $132 = ((($131)) + 24|0);
+ $133 = +HEAPF32[$132>>2];
+ $134 = $130 - $133;
+ $135 = $8;
+ $136 = $134 * $135;
+ HEAPF32[$9>>2] = $136;
+ $137 = $6;
+ $138 = ((($137)) + 24|0);
+ $139 = ((($138)) + 4|0);
+ $140 = +HEAPF32[$139>>2];
+ $141 = - $140;
+ $142 = $6;
+ $143 = ((($142)) + 24|0);
+ $144 = +HEAPF32[$143>>2];
+ $145 = $141 - $144;
+ $146 = $8;
+ $147 = $145 * $146;
+ $148 = ((($9)) + 4|0);
+ HEAPF32[$148>>2] = $147;
+ $149 = $3;
+ $150 = ((($149)) + 24|0);
+ $151 = +HEAPF32[$150>>2];
+ $152 = +HEAPF32[$9>>2];
+ $153 = $151 - $152;
+ $154 = $6;
+ $155 = ((($154)) + 24|0);
+ HEAPF32[$155>>2] = $153;
+ $156 = $3;
+ $157 = ((($156)) + 24|0);
+ $158 = ((($157)) + 4|0);
+ $159 = +HEAPF32[$158>>2];
+ $160 = ((($9)) + 4|0);
+ $161 = +HEAPF32[$160>>2];
+ $162 = $159 - $161;
+ $163 = $6;
+ $164 = ((($163)) + 24|0);
+ $165 = ((($164)) + 4|0);
+ HEAPF32[$165>>2] = $162;
+ $166 = +HEAPF32[$9>>2];
+ $167 = $3;
+ $168 = ((($167)) + 24|0);
+ $169 = +HEAPF32[$168>>2];
+ $170 = $169 + $166;
+ HEAPF32[$168>>2] = $170;
+ $171 = ((($9)) + 4|0);
+ $172 = +HEAPF32[$171>>2];
+ $173 = $3;
+ $174 = ((($173)) + 24|0);
+ $175 = ((($174)) + 4|0);
+ $176 = +HEAPF32[$175>>2];
+ $177 = $176 + $172;
+ HEAPF32[$175>>2] = $177;
+ $178 = $3;
+ $179 = ((($178)) + 64|0);
+ $3 = $179;
+ $180 = $7;
+ $181 = (($180) + 1)|0;
+ $7 = $181;
+ }
+ STACKTOP = sp;return;
+}
+function _kf_bfly4($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0.0, $115 = 0, $116 = 0.0, $117 = 0;
+ var $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0.0, $124 = 0.0, $125 = 0.0, $126 = 0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0, $131 = 0.0, $132 = 0.0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0.0, $169 = 0, $17 = 0, $170 = 0.0, $171 = 0.0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0.0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0.0, $182 = 0, $183 = 0, $184 = 0, $185 = 0.0, $186 = 0, $187 = 0, $188 = 0.0, $189 = 0.0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0.0, $195 = 0, $196 = 0.0, $197 = 0.0, $198 = 0.0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0.0, $204 = 0, $205 = 0.0, $206 = 0.0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0.0, $215 = 0.0, $216 = 0.0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0.0, $222 = 0, $223 = 0, $224 = 0.0, $225 = 0.0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0.0, $231 = 0, $232 = 0.0, $233 = 0.0, $234 = 0.0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0.0, $241 = 0, $242 = 0.0, $243 = 0.0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0.0, $249 = 0, $25 = 0, $250 = 0, $251 = 0.0, $252 = 0.0, $253 = 0.0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0.0, $259 = 0, $26 = 0, $260 = 0, $261 = 0.0, $262 = 0.0;
+ var $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0.0, $268 = 0, $269 = 0.0, $27 = 0, $270 = 0.0, $271 = 0.0, $272 = 0, $273 = 0, $274 = 0, $275 = 0.0, $276 = 0, $277 = 0.0, $278 = 0.0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0.0, $283 = 0, $284 = 0, $285 = 0.0, $286 = 0.0, $287 = 0, $288 = 0, $289 = 0, $29 = 0.0, $290 = 0.0, $291 = 0, $292 = 0.0, $293 = 0.0, $294 = 0, $295 = 0, $296 = 0.0, $297 = 0, $298 = 0, $299 = 0.0;
+ var $30 = 0, $300 = 0.0, $301 = 0.0, $302 = 0, $303 = 0.0, $304 = 0.0, $305 = 0, $306 = 0, $307 = 0.0, $308 = 0, $309 = 0, $31 = 0, $310 = 0.0, $311 = 0.0, $312 = 0, $313 = 0, $314 = 0.0, $315 = 0, $316 = 0.0, $317 = 0.0;
+ var $318 = 0, $319 = 0, $32 = 0.0, $320 = 0.0, $321 = 0, $322 = 0, $323 = 0.0, $324 = 0.0, $325 = 0, $326 = 0, $327 = 0, $328 = 0.0, $329 = 0, $33 = 0.0, $330 = 0.0, $331 = 0.0, $332 = 0, $333 = 0, $334 = 0, $335 = 0;
+ var $336 = 0, $337 = 0.0, $338 = 0, $339 = 0, $34 = 0, $340 = 0.0, $341 = 0.0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0;
+ var $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0.0, $359 = 0, $36 = 0.0, $360 = 0.0, $361 = 0.0, $362 = 0, $363 = 0, $364 = 0.0, $365 = 0, $366 = 0, $367 = 0.0, $368 = 0.0, $369 = 0, $37 = 0, $370 = 0.0, $371 = 0;
+ var $372 = 0, $373 = 0.0, $374 = 0.0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0.0, $381 = 0, $382 = 0.0, $383 = 0.0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0.0, $39 = 0;
+ var $390 = 0, $391 = 0, $392 = 0.0, $393 = 0.0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0.0, $40 = 0.0, $400 = 0, $401 = 0.0, $402 = 0.0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0;
+ var $409 = 0, $41 = 0.0, $410 = 0, $411 = 0, $412 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0;
+ var $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0.0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0;
+ var $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0.0, $92 = 0.0;
+ var $93 = 0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0.0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
+ $13 = sp + 88|0;
+ $14 = sp + 80|0;
+ $16 = sp + 24|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $23 = $9;
+ $24 = ($23|0)==(1);
+ if ($24) {
+ $12 = 0;
+ while(1) {
+ $25 = $12;
+ $26 = $10;
+ $27 = ($25|0)<($26|0);
+ if (!($27)) {
+ break;
+ }
+ $28 = $6;
+ $29 = +HEAPF32[$28>>2];
+ $30 = $6;
+ $31 = ((($30)) + 16|0);
+ $32 = +HEAPF32[$31>>2];
+ $33 = $29 - $32;
+ HEAPF32[$13>>2] = $33;
+ $34 = $6;
+ $35 = ((($34)) + 4|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $6;
+ $38 = ((($37)) + 16|0);
+ $39 = ((($38)) + 4|0);
+ $40 = +HEAPF32[$39>>2];
+ $41 = $36 - $40;
+ $42 = ((($13)) + 4|0);
+ HEAPF32[$42>>2] = $41;
+ $43 = $6;
+ $44 = ((($43)) + 16|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $6;
+ $47 = +HEAPF32[$46>>2];
+ $48 = $47 + $45;
+ HEAPF32[$46>>2] = $48;
+ $49 = $6;
+ $50 = ((($49)) + 16|0);
+ $51 = ((($50)) + 4|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $6;
+ $54 = ((($53)) + 4|0);
+ $55 = +HEAPF32[$54>>2];
+ $56 = $55 + $52;
+ HEAPF32[$54>>2] = $56;
+ $57 = $6;
+ $58 = ((($57)) + 8|0);
+ $59 = +HEAPF32[$58>>2];
+ $60 = $6;
+ $61 = ((($60)) + 24|0);
+ $62 = +HEAPF32[$61>>2];
+ $63 = $59 + $62;
+ HEAPF32[$14>>2] = $63;
+ $64 = $6;
+ $65 = ((($64)) + 8|0);
+ $66 = ((($65)) + 4|0);
+ $67 = +HEAPF32[$66>>2];
+ $68 = $6;
+ $69 = ((($68)) + 24|0);
+ $70 = ((($69)) + 4|0);
+ $71 = +HEAPF32[$70>>2];
+ $72 = $67 + $71;
+ $73 = ((($14)) + 4|0);
+ HEAPF32[$73>>2] = $72;
+ $74 = $6;
+ $75 = +HEAPF32[$74>>2];
+ $76 = +HEAPF32[$14>>2];
+ $77 = $75 - $76;
+ $78 = $6;
+ $79 = ((($78)) + 16|0);
+ HEAPF32[$79>>2] = $77;
+ $80 = $6;
+ $81 = ((($80)) + 4|0);
+ $82 = +HEAPF32[$81>>2];
+ $83 = ((($14)) + 4|0);
+ $84 = +HEAPF32[$83>>2];
+ $85 = $82 - $84;
+ $86 = $6;
+ $87 = ((($86)) + 16|0);
+ $88 = ((($87)) + 4|0);
+ HEAPF32[$88>>2] = $85;
+ $89 = +HEAPF32[$14>>2];
+ $90 = $6;
+ $91 = +HEAPF32[$90>>2];
+ $92 = $91 + $89;
+ HEAPF32[$90>>2] = $92;
+ $93 = ((($14)) + 4|0);
+ $94 = +HEAPF32[$93>>2];
+ $95 = $6;
+ $96 = ((($95)) + 4|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $97 + $94;
+ HEAPF32[$96>>2] = $98;
+ $99 = $6;
+ $100 = ((($99)) + 8|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = $6;
+ $103 = ((($102)) + 24|0);
+ $104 = +HEAPF32[$103>>2];
+ $105 = $101 - $104;
+ HEAPF32[$14>>2] = $105;
+ $106 = $6;
+ $107 = ((($106)) + 8|0);
+ $108 = ((($107)) + 4|0);
+ $109 = +HEAPF32[$108>>2];
+ $110 = $6;
+ $111 = ((($110)) + 24|0);
+ $112 = ((($111)) + 4|0);
+ $113 = +HEAPF32[$112>>2];
+ $114 = $109 - $113;
+ $115 = ((($14)) + 4|0);
+ HEAPF32[$115>>2] = $114;
+ $116 = +HEAPF32[$13>>2];
+ $117 = ((($14)) + 4|0);
+ $118 = +HEAPF32[$117>>2];
+ $119 = $116 + $118;
+ $120 = $6;
+ $121 = ((($120)) + 8|0);
+ HEAPF32[$121>>2] = $119;
+ $122 = ((($13)) + 4|0);
+ $123 = +HEAPF32[$122>>2];
+ $124 = +HEAPF32[$14>>2];
+ $125 = $123 - $124;
+ $126 = $6;
+ $127 = ((($126)) + 8|0);
+ $128 = ((($127)) + 4|0);
+ HEAPF32[$128>>2] = $125;
+ $129 = +HEAPF32[$13>>2];
+ $130 = ((($14)) + 4|0);
+ $131 = +HEAPF32[$130>>2];
+ $132 = $129 - $131;
+ $133 = $6;
+ $134 = ((($133)) + 24|0);
+ HEAPF32[$134>>2] = $132;
+ $135 = ((($13)) + 4|0);
+ $136 = +HEAPF32[$135>>2];
+ $137 = +HEAPF32[$14>>2];
+ $138 = $136 + $137;
+ $139 = $6;
+ $140 = ((($139)) + 24|0);
+ $141 = ((($140)) + 4|0);
+ HEAPF32[$141>>2] = $138;
+ $142 = $6;
+ $143 = ((($142)) + 32|0);
+ $6 = $143;
+ $144 = $12;
+ $145 = (($144) + 1)|0;
+ $12 = $145;
+ }
+ STACKTOP = sp;return;
+ }
+ $146 = $9;
+ $147 = $146<<1;
+ $20 = $147;
+ $148 = $9;
+ $149 = ($148*3)|0;
+ $21 = $149;
+ $150 = $6;
+ $22 = $150;
+ $12 = 0;
+ while(1) {
+ $151 = $12;
+ $152 = $10;
+ $153 = ($151|0)<($152|0);
+ if (!($153)) {
+ break;
+ }
+ $154 = $22;
+ $155 = $12;
+ $156 = $11;
+ $157 = Math_imul($155, $156)|0;
+ $158 = (($154) + ($157<<3)|0);
+ $6 = $158;
+ $159 = $8;
+ $160 = ((($159)) + 48|0);
+ $161 = HEAP32[$160>>2]|0;
+ $17 = $161;
+ $18 = $161;
+ $19 = $161;
+ $15 = 0;
+ while(1) {
+ $162 = $15;
+ $163 = $9;
+ $164 = ($162|0)<($163|0);
+ if (!($164)) {
+ break;
+ }
+ $165 = $6;
+ $166 = $9;
+ $167 = (($165) + ($166<<3)|0);
+ $168 = +HEAPF32[$167>>2];
+ $169 = $17;
+ $170 = +HEAPF32[$169>>2];
+ $171 = $168 * $170;
+ $172 = $6;
+ $173 = $9;
+ $174 = (($172) + ($173<<3)|0);
+ $175 = ((($174)) + 4|0);
+ $176 = +HEAPF32[$175>>2];
+ $177 = $17;
+ $178 = ((($177)) + 4|0);
+ $179 = +HEAPF32[$178>>2];
+ $180 = $176 * $179;
+ $181 = $171 - $180;
+ HEAPF32[$16>>2] = $181;
+ $182 = $6;
+ $183 = $9;
+ $184 = (($182) + ($183<<3)|0);
+ $185 = +HEAPF32[$184>>2];
+ $186 = $17;
+ $187 = ((($186)) + 4|0);
+ $188 = +HEAPF32[$187>>2];
+ $189 = $185 * $188;
+ $190 = $6;
+ $191 = $9;
+ $192 = (($190) + ($191<<3)|0);
+ $193 = ((($192)) + 4|0);
+ $194 = +HEAPF32[$193>>2];
+ $195 = $17;
+ $196 = +HEAPF32[$195>>2];
+ $197 = $194 * $196;
+ $198 = $189 + $197;
+ $199 = ((($16)) + 4|0);
+ HEAPF32[$199>>2] = $198;
+ $200 = $6;
+ $201 = $20;
+ $202 = (($200) + ($201<<3)|0);
+ $203 = +HEAPF32[$202>>2];
+ $204 = $18;
+ $205 = +HEAPF32[$204>>2];
+ $206 = $203 * $205;
+ $207 = $6;
+ $208 = $20;
+ $209 = (($207) + ($208<<3)|0);
+ $210 = ((($209)) + 4|0);
+ $211 = +HEAPF32[$210>>2];
+ $212 = $18;
+ $213 = ((($212)) + 4|0);
+ $214 = +HEAPF32[$213>>2];
+ $215 = $211 * $214;
+ $216 = $206 - $215;
+ $217 = ((($16)) + 8|0);
+ HEAPF32[$217>>2] = $216;
+ $218 = $6;
+ $219 = $20;
+ $220 = (($218) + ($219<<3)|0);
+ $221 = +HEAPF32[$220>>2];
+ $222 = $18;
+ $223 = ((($222)) + 4|0);
+ $224 = +HEAPF32[$223>>2];
+ $225 = $221 * $224;
+ $226 = $6;
+ $227 = $20;
+ $228 = (($226) + ($227<<3)|0);
+ $229 = ((($228)) + 4|0);
+ $230 = +HEAPF32[$229>>2];
+ $231 = $18;
+ $232 = +HEAPF32[$231>>2];
+ $233 = $230 * $232;
+ $234 = $225 + $233;
+ $235 = ((($16)) + 8|0);
+ $236 = ((($235)) + 4|0);
+ HEAPF32[$236>>2] = $234;
+ $237 = $6;
+ $238 = $21;
+ $239 = (($237) + ($238<<3)|0);
+ $240 = +HEAPF32[$239>>2];
+ $241 = $19;
+ $242 = +HEAPF32[$241>>2];
+ $243 = $240 * $242;
+ $244 = $6;
+ $245 = $21;
+ $246 = (($244) + ($245<<3)|0);
+ $247 = ((($246)) + 4|0);
+ $248 = +HEAPF32[$247>>2];
+ $249 = $19;
+ $250 = ((($249)) + 4|0);
+ $251 = +HEAPF32[$250>>2];
+ $252 = $248 * $251;
+ $253 = $243 - $252;
+ $254 = ((($16)) + 16|0);
+ HEAPF32[$254>>2] = $253;
+ $255 = $6;
+ $256 = $21;
+ $257 = (($255) + ($256<<3)|0);
+ $258 = +HEAPF32[$257>>2];
+ $259 = $19;
+ $260 = ((($259)) + 4|0);
+ $261 = +HEAPF32[$260>>2];
+ $262 = $258 * $261;
+ $263 = $6;
+ $264 = $21;
+ $265 = (($263) + ($264<<3)|0);
+ $266 = ((($265)) + 4|0);
+ $267 = +HEAPF32[$266>>2];
+ $268 = $19;
+ $269 = +HEAPF32[$268>>2];
+ $270 = $267 * $269;
+ $271 = $262 + $270;
+ $272 = ((($16)) + 16|0);
+ $273 = ((($272)) + 4|0);
+ HEAPF32[$273>>2] = $271;
+ $274 = $6;
+ $275 = +HEAPF32[$274>>2];
+ $276 = ((($16)) + 8|0);
+ $277 = +HEAPF32[$276>>2];
+ $278 = $275 - $277;
+ $279 = ((($16)) + 40|0);
+ HEAPF32[$279>>2] = $278;
+ $280 = $6;
+ $281 = ((($280)) + 4|0);
+ $282 = +HEAPF32[$281>>2];
+ $283 = ((($16)) + 8|0);
+ $284 = ((($283)) + 4|0);
+ $285 = +HEAPF32[$284>>2];
+ $286 = $282 - $285;
+ $287 = ((($16)) + 40|0);
+ $288 = ((($287)) + 4|0);
+ HEAPF32[$288>>2] = $286;
+ $289 = ((($16)) + 8|0);
+ $290 = +HEAPF32[$289>>2];
+ $291 = $6;
+ $292 = +HEAPF32[$291>>2];
+ $293 = $292 + $290;
+ HEAPF32[$291>>2] = $293;
+ $294 = ((($16)) + 8|0);
+ $295 = ((($294)) + 4|0);
+ $296 = +HEAPF32[$295>>2];
+ $297 = $6;
+ $298 = ((($297)) + 4|0);
+ $299 = +HEAPF32[$298>>2];
+ $300 = $299 + $296;
+ HEAPF32[$298>>2] = $300;
+ $301 = +HEAPF32[$16>>2];
+ $302 = ((($16)) + 16|0);
+ $303 = +HEAPF32[$302>>2];
+ $304 = $301 + $303;
+ $305 = ((($16)) + 24|0);
+ HEAPF32[$305>>2] = $304;
+ $306 = ((($16)) + 4|0);
+ $307 = +HEAPF32[$306>>2];
+ $308 = ((($16)) + 16|0);
+ $309 = ((($308)) + 4|0);
+ $310 = +HEAPF32[$309>>2];
+ $311 = $307 + $310;
+ $312 = ((($16)) + 24|0);
+ $313 = ((($312)) + 4|0);
+ HEAPF32[$313>>2] = $311;
+ $314 = +HEAPF32[$16>>2];
+ $315 = ((($16)) + 16|0);
+ $316 = +HEAPF32[$315>>2];
+ $317 = $314 - $316;
+ $318 = ((($16)) + 32|0);
+ HEAPF32[$318>>2] = $317;
+ $319 = ((($16)) + 4|0);
+ $320 = +HEAPF32[$319>>2];
+ $321 = ((($16)) + 16|0);
+ $322 = ((($321)) + 4|0);
+ $323 = +HEAPF32[$322>>2];
+ $324 = $320 - $323;
+ $325 = ((($16)) + 32|0);
+ $326 = ((($325)) + 4|0);
+ HEAPF32[$326>>2] = $324;
+ $327 = $6;
+ $328 = +HEAPF32[$327>>2];
+ $329 = ((($16)) + 24|0);
+ $330 = +HEAPF32[$329>>2];
+ $331 = $328 - $330;
+ $332 = $6;
+ $333 = $20;
+ $334 = (($332) + ($333<<3)|0);
+ HEAPF32[$334>>2] = $331;
+ $335 = $6;
+ $336 = ((($335)) + 4|0);
+ $337 = +HEAPF32[$336>>2];
+ $338 = ((($16)) + 24|0);
+ $339 = ((($338)) + 4|0);
+ $340 = +HEAPF32[$339>>2];
+ $341 = $337 - $340;
+ $342 = $6;
+ $343 = $20;
+ $344 = (($342) + ($343<<3)|0);
+ $345 = ((($344)) + 4|0);
+ HEAPF32[$345>>2] = $341;
+ $346 = $7;
+ $347 = $17;
+ $348 = (($347) + ($346<<3)|0);
+ $17 = $348;
+ $349 = $7;
+ $350 = $349<<1;
+ $351 = $18;
+ $352 = (($351) + ($350<<3)|0);
+ $18 = $352;
+ $353 = $7;
+ $354 = ($353*3)|0;
+ $355 = $19;
+ $356 = (($355) + ($354<<3)|0);
+ $19 = $356;
+ $357 = ((($16)) + 24|0);
+ $358 = +HEAPF32[$357>>2];
+ $359 = $6;
+ $360 = +HEAPF32[$359>>2];
+ $361 = $360 + $358;
+ HEAPF32[$359>>2] = $361;
+ $362 = ((($16)) + 24|0);
+ $363 = ((($362)) + 4|0);
+ $364 = +HEAPF32[$363>>2];
+ $365 = $6;
+ $366 = ((($365)) + 4|0);
+ $367 = +HEAPF32[$366>>2];
+ $368 = $367 + $364;
+ HEAPF32[$366>>2] = $368;
+ $369 = ((($16)) + 40|0);
+ $370 = +HEAPF32[$369>>2];
+ $371 = ((($16)) + 32|0);
+ $372 = ((($371)) + 4|0);
+ $373 = +HEAPF32[$372>>2];
+ $374 = $370 + $373;
+ $375 = $6;
+ $376 = $9;
+ $377 = (($375) + ($376<<3)|0);
+ HEAPF32[$377>>2] = $374;
+ $378 = ((($16)) + 40|0);
+ $379 = ((($378)) + 4|0);
+ $380 = +HEAPF32[$379>>2];
+ $381 = ((($16)) + 32|0);
+ $382 = +HEAPF32[$381>>2];
+ $383 = $380 - $382;
+ $384 = $6;
+ $385 = $9;
+ $386 = (($384) + ($385<<3)|0);
+ $387 = ((($386)) + 4|0);
+ HEAPF32[$387>>2] = $383;
+ $388 = ((($16)) + 40|0);
+ $389 = +HEAPF32[$388>>2];
+ $390 = ((($16)) + 32|0);
+ $391 = ((($390)) + 4|0);
+ $392 = +HEAPF32[$391>>2];
+ $393 = $389 - $392;
+ $394 = $6;
+ $395 = $21;
+ $396 = (($394) + ($395<<3)|0);
+ HEAPF32[$396>>2] = $393;
+ $397 = ((($16)) + 40|0);
+ $398 = ((($397)) + 4|0);
+ $399 = +HEAPF32[$398>>2];
+ $400 = ((($16)) + 32|0);
+ $401 = +HEAPF32[$400>>2];
+ $402 = $399 + $401;
+ $403 = $6;
+ $404 = $21;
+ $405 = (($403) + ($404<<3)|0);
+ $406 = ((($405)) + 4|0);
+ HEAPF32[$406>>2] = $402;
+ $407 = $6;
+ $408 = ((($407)) + 8|0);
+ $6 = $408;
+ $409 = $15;
+ $410 = (($409) + 1)|0;
+ $15 = $410;
+ }
+ $411 = $12;
+ $412 = (($411) + 1)|0;
+ $12 = $412;
+ }
+ STACKTOP = sp;return;
+}
+function _kf_bfly3($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0.0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0, $115 = 0, $116 = 0, $117 = 0.0;
+ var $118 = 0, $119 = 0.0, $12 = 0, $120 = 0.0, $121 = 0, $122 = 0, $123 = 0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0.0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0.0, $133 = 0, $134 = 0.0, $135 = 0.0;
+ var $136 = 0, $137 = 0, $138 = 0.0, $139 = 0, $14 = 0, $140 = 0, $141 = 0.0, $142 = 0.0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0.0, $153 = 0;
+ var $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0.0, $166 = 0.0, $167 = 0.0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0.0, $174 = 0.0, $175 = 0.0, $176 = 0, $177 = 0.0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0, $182 = 0.0, $183 = 0, $184 = 0.0, $185 = 0.0, $186 = 0, $187 = 0, $188 = 0.0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0.0, $192 = 0.0, $193 = 0, $194 = 0, $195 = 0, $196 = 0.0, $197 = 0, $198 = 0.0, $199 = 0.0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0.0, $208 = 0.0;
+ var $209 = 0.0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0.0, $216 = 0, $217 = 0, $218 = 0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0.0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0.0;
+ var $227 = 0.0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0;
+ var $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0.0, $48 = 0.0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0;
+ var $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0.0;
+ var $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0.0;
+ var $91 = 0, $92 = 0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $17 = sp + 16|0;
+ $18 = sp + 8|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $20 = $9;
+ $21 = $20<<1;
+ $14 = $21;
+ $22 = $6;
+ $19 = $22;
+ $23 = $8;
+ $24 = ((($23)) + 48|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = $7;
+ $27 = $9;
+ $28 = Math_imul($26, $27)|0;
+ $29 = (($25) + ($28<<3)|0);
+ ;HEAP32[$18>>2]=HEAP32[$29>>2]|0;HEAP32[$18+4>>2]=HEAP32[$29+4>>2]|0;
+ $12 = 0;
+ while(1) {
+ $30 = $12;
+ $31 = $10;
+ $32 = ($30|0)<($31|0);
+ if (!($32)) {
+ break;
+ }
+ $33 = $19;
+ $34 = $12;
+ $35 = $11;
+ $36 = Math_imul($34, $35)|0;
+ $37 = (($33) + ($36<<3)|0);
+ $6 = $37;
+ $38 = $8;
+ $39 = ((($38)) + 48|0);
+ $40 = HEAP32[$39>>2]|0;
+ $16 = $40;
+ $15 = $40;
+ $41 = $9;
+ $13 = $41;
+ while(1) {
+ $42 = $6;
+ $43 = $9;
+ $44 = (($42) + ($43<<3)|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $15;
+ $47 = +HEAPF32[$46>>2];
+ $48 = $45 * $47;
+ $49 = $6;
+ $50 = $9;
+ $51 = (($49) + ($50<<3)|0);
+ $52 = ((($51)) + 4|0);
+ $53 = +HEAPF32[$52>>2];
+ $54 = $15;
+ $55 = ((($54)) + 4|0);
+ $56 = +HEAPF32[$55>>2];
+ $57 = $53 * $56;
+ $58 = $48 - $57;
+ $59 = ((($17)) + 8|0);
+ HEAPF32[$59>>2] = $58;
+ $60 = $6;
+ $61 = $9;
+ $62 = (($60) + ($61<<3)|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = $15;
+ $65 = ((($64)) + 4|0);
+ $66 = +HEAPF32[$65>>2];
+ $67 = $63 * $66;
+ $68 = $6;
+ $69 = $9;
+ $70 = (($68) + ($69<<3)|0);
+ $71 = ((($70)) + 4|0);
+ $72 = +HEAPF32[$71>>2];
+ $73 = $15;
+ $74 = +HEAPF32[$73>>2];
+ $75 = $72 * $74;
+ $76 = $67 + $75;
+ $77 = ((($17)) + 8|0);
+ $78 = ((($77)) + 4|0);
+ HEAPF32[$78>>2] = $76;
+ $79 = $6;
+ $80 = $14;
+ $81 = (($79) + ($80<<3)|0);
+ $82 = +HEAPF32[$81>>2];
+ $83 = $16;
+ $84 = +HEAPF32[$83>>2];
+ $85 = $82 * $84;
+ $86 = $6;
+ $87 = $14;
+ $88 = (($86) + ($87<<3)|0);
+ $89 = ((($88)) + 4|0);
+ $90 = +HEAPF32[$89>>2];
+ $91 = $16;
+ $92 = ((($91)) + 4|0);
+ $93 = +HEAPF32[$92>>2];
+ $94 = $90 * $93;
+ $95 = $85 - $94;
+ $96 = ((($17)) + 16|0);
+ HEAPF32[$96>>2] = $95;
+ $97 = $6;
+ $98 = $14;
+ $99 = (($97) + ($98<<3)|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = $16;
+ $102 = ((($101)) + 4|0);
+ $103 = +HEAPF32[$102>>2];
+ $104 = $100 * $103;
+ $105 = $6;
+ $106 = $14;
+ $107 = (($105) + ($106<<3)|0);
+ $108 = ((($107)) + 4|0);
+ $109 = +HEAPF32[$108>>2];
+ $110 = $16;
+ $111 = +HEAPF32[$110>>2];
+ $112 = $109 * $111;
+ $113 = $104 + $112;
+ $114 = ((($17)) + 16|0);
+ $115 = ((($114)) + 4|0);
+ HEAPF32[$115>>2] = $113;
+ $116 = ((($17)) + 8|0);
+ $117 = +HEAPF32[$116>>2];
+ $118 = ((($17)) + 16|0);
+ $119 = +HEAPF32[$118>>2];
+ $120 = $117 + $119;
+ $121 = ((($17)) + 24|0);
+ HEAPF32[$121>>2] = $120;
+ $122 = ((($17)) + 8|0);
+ $123 = ((($122)) + 4|0);
+ $124 = +HEAPF32[$123>>2];
+ $125 = ((($17)) + 16|0);
+ $126 = ((($125)) + 4|0);
+ $127 = +HEAPF32[$126>>2];
+ $128 = $124 + $127;
+ $129 = ((($17)) + 24|0);
+ $130 = ((($129)) + 4|0);
+ HEAPF32[$130>>2] = $128;
+ $131 = ((($17)) + 8|0);
+ $132 = +HEAPF32[$131>>2];
+ $133 = ((($17)) + 16|0);
+ $134 = +HEAPF32[$133>>2];
+ $135 = $132 - $134;
+ HEAPF32[$17>>2] = $135;
+ $136 = ((($17)) + 8|0);
+ $137 = ((($136)) + 4|0);
+ $138 = +HEAPF32[$137>>2];
+ $139 = ((($17)) + 16|0);
+ $140 = ((($139)) + 4|0);
+ $141 = +HEAPF32[$140>>2];
+ $142 = $138 - $141;
+ $143 = ((($17)) + 4|0);
+ HEAPF32[$143>>2] = $142;
+ $144 = $7;
+ $145 = $15;
+ $146 = (($145) + ($144<<3)|0);
+ $15 = $146;
+ $147 = $7;
+ $148 = $147<<1;
+ $149 = $16;
+ $150 = (($149) + ($148<<3)|0);
+ $16 = $150;
+ $151 = $6;
+ $152 = +HEAPF32[$151>>2];
+ $153 = ((($17)) + 24|0);
+ $154 = +HEAPF32[$153>>2];
+ $155 = $154 * 0.5;
+ $156 = $152 - $155;
+ $157 = $6;
+ $158 = $9;
+ $159 = (($157) + ($158<<3)|0);
+ HEAPF32[$159>>2] = $156;
+ $160 = $6;
+ $161 = ((($160)) + 4|0);
+ $162 = +HEAPF32[$161>>2];
+ $163 = ((($17)) + 24|0);
+ $164 = ((($163)) + 4|0);
+ $165 = +HEAPF32[$164>>2];
+ $166 = $165 * 0.5;
+ $167 = $162 - $166;
+ $168 = $6;
+ $169 = $9;
+ $170 = (($168) + ($169<<3)|0);
+ $171 = ((($170)) + 4|0);
+ HEAPF32[$171>>2] = $167;
+ $172 = ((($18)) + 4|0);
+ $173 = +HEAPF32[$172>>2];
+ $174 = +HEAPF32[$17>>2];
+ $175 = $174 * $173;
+ HEAPF32[$17>>2] = $175;
+ $176 = ((($18)) + 4|0);
+ $177 = +HEAPF32[$176>>2];
+ $178 = ((($17)) + 4|0);
+ $179 = +HEAPF32[$178>>2];
+ $180 = $179 * $177;
+ HEAPF32[$178>>2] = $180;
+ $181 = ((($17)) + 24|0);
+ $182 = +HEAPF32[$181>>2];
+ $183 = $6;
+ $184 = +HEAPF32[$183>>2];
+ $185 = $184 + $182;
+ HEAPF32[$183>>2] = $185;
+ $186 = ((($17)) + 24|0);
+ $187 = ((($186)) + 4|0);
+ $188 = +HEAPF32[$187>>2];
+ $189 = $6;
+ $190 = ((($189)) + 4|0);
+ $191 = +HEAPF32[$190>>2];
+ $192 = $191 + $188;
+ HEAPF32[$190>>2] = $192;
+ $193 = $6;
+ $194 = $9;
+ $195 = (($193) + ($194<<3)|0);
+ $196 = +HEAPF32[$195>>2];
+ $197 = ((($17)) + 4|0);
+ $198 = +HEAPF32[$197>>2];
+ $199 = $196 + $198;
+ $200 = $6;
+ $201 = $14;
+ $202 = (($200) + ($201<<3)|0);
+ HEAPF32[$202>>2] = $199;
+ $203 = $6;
+ $204 = $9;
+ $205 = (($203) + ($204<<3)|0);
+ $206 = ((($205)) + 4|0);
+ $207 = +HEAPF32[$206>>2];
+ $208 = +HEAPF32[$17>>2];
+ $209 = $207 - $208;
+ $210 = $6;
+ $211 = $14;
+ $212 = (($210) + ($211<<3)|0);
+ $213 = ((($212)) + 4|0);
+ HEAPF32[$213>>2] = $209;
+ $214 = ((($17)) + 4|0);
+ $215 = +HEAPF32[$214>>2];
+ $216 = $6;
+ $217 = $9;
+ $218 = (($216) + ($217<<3)|0);
+ $219 = +HEAPF32[$218>>2];
+ $220 = $219 - $215;
+ HEAPF32[$218>>2] = $220;
+ $221 = +HEAPF32[$17>>2];
+ $222 = $6;
+ $223 = $9;
+ $224 = (($222) + ($223<<3)|0);
+ $225 = ((($224)) + 4|0);
+ $226 = +HEAPF32[$225>>2];
+ $227 = $226 + $221;
+ HEAPF32[$225>>2] = $227;
+ $228 = $6;
+ $229 = ((($228)) + 8|0);
+ $6 = $229;
+ $230 = $13;
+ $231 = (($230) + -1)|0;
+ $13 = $231;
+ $232 = ($231|0)!=(0);
+ if (!($232)) {
+ break;
+ }
+ }
+ $233 = $12;
+ $234 = (($233) + 1)|0;
+ $12 = $234;
+ }
+ STACKTOP = sp;return;
+}
+function _kf_bfly5($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0, $115 = 0, $116 = 0, $117 = 0.0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0.0, $125 = 0.0, $126 = 0, $127 = 0, $128 = 0.0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0, $14 = 0, $140 = 0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0.0, $15 = 0, $150 = 0.0, $151 = 0, $152 = 0, $153 = 0.0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0.0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0.0, $174 = 0.0, $175 = 0, $176 = 0, $177 = 0.0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0.0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0.0, $199 = 0.0, $20 = 0, $200 = 0, $201 = 0, $202 = 0.0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0.0, $21 = 0, $210 = 0.0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0, $215 = 0.0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0.0, $223 = 0.0, $224 = 0, $225 = 0, $226 = 0.0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0.0, $235 = 0.0, $236 = 0.0, $237 = 0, $238 = 0, $239 = 0.0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0.0, $248 = 0.0, $249 = 0, $25 = 0, $250 = 0, $251 = 0.0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0.0, $259 = 0.0, $26 = 0, $260 = 0.0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0.0, $265 = 0, $266 = 0.0, $267 = 0.0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0.0, $272 = 0, $273 = 0, $274 = 0.0, $275 = 0.0, $276 = 0, $277 = 0, $278 = 0, $279 = 0.0, $28 = 0, $280 = 0;
+ var $281 = 0.0, $282 = 0.0, $283 = 0, $284 = 0, $285 = 0, $286 = 0.0, $287 = 0, $288 = 0, $289 = 0.0, $29 = 0, $290 = 0.0, $291 = 0, $292 = 0, $293 = 0, $294 = 0.0, $295 = 0, $296 = 0.0, $297 = 0.0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0, $301 = 0.0, $302 = 0, $303 = 0, $304 = 0.0, $305 = 0.0, $306 = 0, $307 = 0, $308 = 0, $309 = 0.0, $31 = 0, $310 = 0, $311 = 0.0, $312 = 0.0, $313 = 0, $314 = 0, $315 = 0, $316 = 0.0, $317 = 0;
+ var $318 = 0, $319 = 0.0, $32 = 0, $320 = 0.0, $321 = 0, $322 = 0, $323 = 0, $324 = 0.0, $325 = 0, $326 = 0.0, $327 = 0.0, $328 = 0, $329 = 0.0, $33 = 0, $330 = 0.0, $331 = 0, $332 = 0, $333 = 0.0, $334 = 0, $335 = 0;
+ var $336 = 0.0, $337 = 0.0, $338 = 0, $339 = 0, $34 = 0, $340 = 0.0, $341 = 0.0, $342 = 0.0, $343 = 0, $344 = 0.0, $345 = 0.0, $346 = 0.0, $347 = 0.0, $348 = 0, $349 = 0.0, $35 = 0, $350 = 0.0, $351 = 0.0, $352 = 0.0, $353 = 0;
+ var $354 = 0, $355 = 0.0, $356 = 0, $357 = 0, $358 = 0.0, $359 = 0.0, $36 = 0, $360 = 0.0, $361 = 0.0, $362 = 0, $363 = 0, $364 = 0.0, $365 = 0.0, $366 = 0.0, $367 = 0.0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0;
+ var $372 = 0.0, $373 = 0, $374 = 0.0, $375 = 0.0, $376 = 0, $377 = 0, $378 = 0.0, $379 = 0, $38 = 0, $380 = 0.0, $381 = 0.0, $382 = 0.0, $383 = 0, $384 = 0, $385 = 0.0, $386 = 0, $387 = 0.0, $388 = 0.0, $389 = 0.0, $39 = 0;
+ var $390 = 0, $391 = 0.0, $392 = 0, $393 = 0.0, $394 = 0.0, $395 = 0.0, $396 = 0, $397 = 0, $398 = 0, $399 = 0.0, $40 = 0, $400 = 0, $401 = 0.0, $402 = 0.0, $403 = 0, $404 = 0, $405 = 0, $406 = 0.0, $407 = 0, $408 = 0;
+ var $409 = 0.0, $41 = 0, $410 = 0.0, $411 = 0, $412 = 0, $413 = 0, $414 = 0.0, $415 = 0, $416 = 0.0, $417 = 0.0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0.0, $422 = 0, $423 = 0, $424 = 0.0, $425 = 0.0, $426 = 0;
+ var $427 = 0, $428 = 0.0, $429 = 0, $43 = 0, $430 = 0.0, $431 = 0.0, $432 = 0.0, $433 = 0.0, $434 = 0, $435 = 0.0, $436 = 0.0, $437 = 0.0, $438 = 0.0, $439 = 0, $44 = 0, $440 = 0, $441 = 0.0, $442 = 0, $443 = 0, $444 = 0.0;
+ var $445 = 0.0, $446 = 0.0, $447 = 0.0, $448 = 0, $449 = 0, $45 = 0, $450 = 0.0, $451 = 0.0, $452 = 0.0, $453 = 0.0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0.0, $459 = 0, $46 = 0, $460 = 0.0, $461 = 0.0, $462 = 0.0;
+ var $463 = 0, $464 = 0, $465 = 0.0, $466 = 0, $467 = 0.0, $468 = 0.0, $469 = 0.0, $47 = 0, $470 = 0, $471 = 0, $472 = 0.0, $473 = 0, $474 = 0.0, $475 = 0.0, $476 = 0, $477 = 0.0, $478 = 0, $479 = 0.0, $48 = 0, $480 = 0.0;
+ var $481 = 0.0, $482 = 0, $483 = 0, $484 = 0, $485 = 0.0, $486 = 0, $487 = 0.0, $488 = 0.0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0.0, $493 = 0, $494 = 0, $495 = 0.0, $496 = 0.0, $497 = 0, $498 = 0, $499 = 0;
+ var $50 = 0, $500 = 0.0, $501 = 0, $502 = 0.0, $503 = 0.0, $504 = 0, $505 = 0, $506 = 0, $507 = 0.0, $508 = 0, $509 = 0, $51 = 0, $510 = 0.0, $511 = 0.0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0;
+ var $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
+ var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0.0;
+ var $8 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
+ $19 = sp + 32|0;
+ $21 = sp + 16|0;
+ $22 = sp + 8|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $24 = $6;
+ $23 = $24;
+ $25 = $8;
+ $26 = ((($25)) + 48|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = $7;
+ $29 = $9;
+ $30 = Math_imul($28, $29)|0;
+ $31 = (($27) + ($30<<3)|0);
+ ;HEAP32[$21>>2]=HEAP32[$31>>2]|0;HEAP32[$21+4>>2]=HEAP32[$31+4>>2]|0;
+ $32 = $8;
+ $33 = ((($32)) + 48|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = $7;
+ $36 = $35<<1;
+ $37 = $9;
+ $38 = Math_imul($36, $37)|0;
+ $39 = (($34) + ($38<<3)|0);
+ ;HEAP32[$22>>2]=HEAP32[$39>>2]|0;HEAP32[$22+4>>2]=HEAP32[$39+4>>2]|0;
+ $40 = $8;
+ $41 = ((($40)) + 48|0);
+ $42 = HEAP32[$41>>2]|0;
+ $20 = $42;
+ $17 = 0;
+ while(1) {
+ $43 = $17;
+ $44 = $10;
+ $45 = ($43|0)<($44|0);
+ if (!($45)) {
+ break;
+ }
+ $46 = $23;
+ $47 = $17;
+ $48 = $11;
+ $49 = Math_imul($47, $48)|0;
+ $50 = (($46) + ($49<<3)|0);
+ $6 = $50;
+ $51 = $6;
+ $12 = $51;
+ $52 = $12;
+ $53 = $9;
+ $54 = (($52) + ($53<<3)|0);
+ $13 = $54;
+ $55 = $12;
+ $56 = $9;
+ $57 = $56<<1;
+ $58 = (($55) + ($57<<3)|0);
+ $14 = $58;
+ $59 = $12;
+ $60 = $9;
+ $61 = ($60*3)|0;
+ $62 = (($59) + ($61<<3)|0);
+ $15 = $62;
+ $63 = $12;
+ $64 = $9;
+ $65 = $64<<2;
+ $66 = (($63) + ($65<<3)|0);
+ $16 = $66;
+ $18 = 0;
+ while(1) {
+ $67 = $18;
+ $68 = $9;
+ $69 = ($67|0)<($68|0);
+ if (!($69)) {
+ break;
+ }
+ $70 = $12;
+ ;HEAP32[$19>>2]=HEAP32[$70>>2]|0;HEAP32[$19+4>>2]=HEAP32[$70+4>>2]|0;
+ $71 = $13;
+ $72 = +HEAPF32[$71>>2];
+ $73 = $20;
+ $74 = $18;
+ $75 = $7;
+ $76 = Math_imul($74, $75)|0;
+ $77 = (($73) + ($76<<3)|0);
+ $78 = +HEAPF32[$77>>2];
+ $79 = $72 * $78;
+ $80 = $13;
+ $81 = ((($80)) + 4|0);
+ $82 = +HEAPF32[$81>>2];
+ $83 = $20;
+ $84 = $18;
+ $85 = $7;
+ $86 = Math_imul($84, $85)|0;
+ $87 = (($83) + ($86<<3)|0);
+ $88 = ((($87)) + 4|0);
+ $89 = +HEAPF32[$88>>2];
+ $90 = $82 * $89;
+ $91 = $79 - $90;
+ $92 = ((($19)) + 8|0);
+ HEAPF32[$92>>2] = $91;
+ $93 = $13;
+ $94 = +HEAPF32[$93>>2];
+ $95 = $20;
+ $96 = $18;
+ $97 = $7;
+ $98 = Math_imul($96, $97)|0;
+ $99 = (($95) + ($98<<3)|0);
+ $100 = ((($99)) + 4|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = $94 * $101;
+ $103 = $13;
+ $104 = ((($103)) + 4|0);
+ $105 = +HEAPF32[$104>>2];
+ $106 = $20;
+ $107 = $18;
+ $108 = $7;
+ $109 = Math_imul($107, $108)|0;
+ $110 = (($106) + ($109<<3)|0);
+ $111 = +HEAPF32[$110>>2];
+ $112 = $105 * $111;
+ $113 = $102 + $112;
+ $114 = ((($19)) + 8|0);
+ $115 = ((($114)) + 4|0);
+ HEAPF32[$115>>2] = $113;
+ $116 = $14;
+ $117 = +HEAPF32[$116>>2];
+ $118 = $20;
+ $119 = $18;
+ $120 = $119<<1;
+ $121 = $7;
+ $122 = Math_imul($120, $121)|0;
+ $123 = (($118) + ($122<<3)|0);
+ $124 = +HEAPF32[$123>>2];
+ $125 = $117 * $124;
+ $126 = $14;
+ $127 = ((($126)) + 4|0);
+ $128 = +HEAPF32[$127>>2];
+ $129 = $20;
+ $130 = $18;
+ $131 = $130<<1;
+ $132 = $7;
+ $133 = Math_imul($131, $132)|0;
+ $134 = (($129) + ($133<<3)|0);
+ $135 = ((($134)) + 4|0);
+ $136 = +HEAPF32[$135>>2];
+ $137 = $128 * $136;
+ $138 = $125 - $137;
+ $139 = ((($19)) + 16|0);
+ HEAPF32[$139>>2] = $138;
+ $140 = $14;
+ $141 = +HEAPF32[$140>>2];
+ $142 = $20;
+ $143 = $18;
+ $144 = $143<<1;
+ $145 = $7;
+ $146 = Math_imul($144, $145)|0;
+ $147 = (($142) + ($146<<3)|0);
+ $148 = ((($147)) + 4|0);
+ $149 = +HEAPF32[$148>>2];
+ $150 = $141 * $149;
+ $151 = $14;
+ $152 = ((($151)) + 4|0);
+ $153 = +HEAPF32[$152>>2];
+ $154 = $20;
+ $155 = $18;
+ $156 = $155<<1;
+ $157 = $7;
+ $158 = Math_imul($156, $157)|0;
+ $159 = (($154) + ($158<<3)|0);
+ $160 = +HEAPF32[$159>>2];
+ $161 = $153 * $160;
+ $162 = $150 + $161;
+ $163 = ((($19)) + 16|0);
+ $164 = ((($163)) + 4|0);
+ HEAPF32[$164>>2] = $162;
+ $165 = $15;
+ $166 = +HEAPF32[$165>>2];
+ $167 = $20;
+ $168 = $18;
+ $169 = ($168*3)|0;
+ $170 = $7;
+ $171 = Math_imul($169, $170)|0;
+ $172 = (($167) + ($171<<3)|0);
+ $173 = +HEAPF32[$172>>2];
+ $174 = $166 * $173;
+ $175 = $15;
+ $176 = ((($175)) + 4|0);
+ $177 = +HEAPF32[$176>>2];
+ $178 = $20;
+ $179 = $18;
+ $180 = ($179*3)|0;
+ $181 = $7;
+ $182 = Math_imul($180, $181)|0;
+ $183 = (($178) + ($182<<3)|0);
+ $184 = ((($183)) + 4|0);
+ $185 = +HEAPF32[$184>>2];
+ $186 = $177 * $185;
+ $187 = $174 - $186;
+ $188 = ((($19)) + 24|0);
+ HEAPF32[$188>>2] = $187;
+ $189 = $15;
+ $190 = +HEAPF32[$189>>2];
+ $191 = $20;
+ $192 = $18;
+ $193 = ($192*3)|0;
+ $194 = $7;
+ $195 = Math_imul($193, $194)|0;
+ $196 = (($191) + ($195<<3)|0);
+ $197 = ((($196)) + 4|0);
+ $198 = +HEAPF32[$197>>2];
+ $199 = $190 * $198;
+ $200 = $15;
+ $201 = ((($200)) + 4|0);
+ $202 = +HEAPF32[$201>>2];
+ $203 = $20;
+ $204 = $18;
+ $205 = ($204*3)|0;
+ $206 = $7;
+ $207 = Math_imul($205, $206)|0;
+ $208 = (($203) + ($207<<3)|0);
+ $209 = +HEAPF32[$208>>2];
+ $210 = $202 * $209;
+ $211 = $199 + $210;
+ $212 = ((($19)) + 24|0);
+ $213 = ((($212)) + 4|0);
+ HEAPF32[$213>>2] = $211;
+ $214 = $16;
+ $215 = +HEAPF32[$214>>2];
+ $216 = $20;
+ $217 = $18;
+ $218 = $217<<2;
+ $219 = $7;
+ $220 = Math_imul($218, $219)|0;
+ $221 = (($216) + ($220<<3)|0);
+ $222 = +HEAPF32[$221>>2];
+ $223 = $215 * $222;
+ $224 = $16;
+ $225 = ((($224)) + 4|0);
+ $226 = +HEAPF32[$225>>2];
+ $227 = $20;
+ $228 = $18;
+ $229 = $228<<2;
+ $230 = $7;
+ $231 = Math_imul($229, $230)|0;
+ $232 = (($227) + ($231<<3)|0);
+ $233 = ((($232)) + 4|0);
+ $234 = +HEAPF32[$233>>2];
+ $235 = $226 * $234;
+ $236 = $223 - $235;
+ $237 = ((($19)) + 32|0);
+ HEAPF32[$237>>2] = $236;
+ $238 = $16;
+ $239 = +HEAPF32[$238>>2];
+ $240 = $20;
+ $241 = $18;
+ $242 = $241<<2;
+ $243 = $7;
+ $244 = Math_imul($242, $243)|0;
+ $245 = (($240) + ($244<<3)|0);
+ $246 = ((($245)) + 4|0);
+ $247 = +HEAPF32[$246>>2];
+ $248 = $239 * $247;
+ $249 = $16;
+ $250 = ((($249)) + 4|0);
+ $251 = +HEAPF32[$250>>2];
+ $252 = $20;
+ $253 = $18;
+ $254 = $253<<2;
+ $255 = $7;
+ $256 = Math_imul($254, $255)|0;
+ $257 = (($252) + ($256<<3)|0);
+ $258 = +HEAPF32[$257>>2];
+ $259 = $251 * $258;
+ $260 = $248 + $259;
+ $261 = ((($19)) + 32|0);
+ $262 = ((($261)) + 4|0);
+ HEAPF32[$262>>2] = $260;
+ $263 = ((($19)) + 8|0);
+ $264 = +HEAPF32[$263>>2];
+ $265 = ((($19)) + 32|0);
+ $266 = +HEAPF32[$265>>2];
+ $267 = $264 + $266;
+ $268 = ((($19)) + 56|0);
+ HEAPF32[$268>>2] = $267;
+ $269 = ((($19)) + 8|0);
+ $270 = ((($269)) + 4|0);
+ $271 = +HEAPF32[$270>>2];
+ $272 = ((($19)) + 32|0);
+ $273 = ((($272)) + 4|0);
+ $274 = +HEAPF32[$273>>2];
+ $275 = $271 + $274;
+ $276 = ((($19)) + 56|0);
+ $277 = ((($276)) + 4|0);
+ HEAPF32[$277>>2] = $275;
+ $278 = ((($19)) + 8|0);
+ $279 = +HEAPF32[$278>>2];
+ $280 = ((($19)) + 32|0);
+ $281 = +HEAPF32[$280>>2];
+ $282 = $279 - $281;
+ $283 = ((($19)) + 80|0);
+ HEAPF32[$283>>2] = $282;
+ $284 = ((($19)) + 8|0);
+ $285 = ((($284)) + 4|0);
+ $286 = +HEAPF32[$285>>2];
+ $287 = ((($19)) + 32|0);
+ $288 = ((($287)) + 4|0);
+ $289 = +HEAPF32[$288>>2];
+ $290 = $286 - $289;
+ $291 = ((($19)) + 80|0);
+ $292 = ((($291)) + 4|0);
+ HEAPF32[$292>>2] = $290;
+ $293 = ((($19)) + 16|0);
+ $294 = +HEAPF32[$293>>2];
+ $295 = ((($19)) + 24|0);
+ $296 = +HEAPF32[$295>>2];
+ $297 = $294 + $296;
+ $298 = ((($19)) + 64|0);
+ HEAPF32[$298>>2] = $297;
+ $299 = ((($19)) + 16|0);
+ $300 = ((($299)) + 4|0);
+ $301 = +HEAPF32[$300>>2];
+ $302 = ((($19)) + 24|0);
+ $303 = ((($302)) + 4|0);
+ $304 = +HEAPF32[$303>>2];
+ $305 = $301 + $304;
+ $306 = ((($19)) + 64|0);
+ $307 = ((($306)) + 4|0);
+ HEAPF32[$307>>2] = $305;
+ $308 = ((($19)) + 16|0);
+ $309 = +HEAPF32[$308>>2];
+ $310 = ((($19)) + 24|0);
+ $311 = +HEAPF32[$310>>2];
+ $312 = $309 - $311;
+ $313 = ((($19)) + 72|0);
+ HEAPF32[$313>>2] = $312;
+ $314 = ((($19)) + 16|0);
+ $315 = ((($314)) + 4|0);
+ $316 = +HEAPF32[$315>>2];
+ $317 = ((($19)) + 24|0);
+ $318 = ((($317)) + 4|0);
+ $319 = +HEAPF32[$318>>2];
+ $320 = $316 - $319;
+ $321 = ((($19)) + 72|0);
+ $322 = ((($321)) + 4|0);
+ HEAPF32[$322>>2] = $320;
+ $323 = ((($19)) + 56|0);
+ $324 = +HEAPF32[$323>>2];
+ $325 = ((($19)) + 64|0);
+ $326 = +HEAPF32[$325>>2];
+ $327 = $324 + $326;
+ $328 = $12;
+ $329 = +HEAPF32[$328>>2];
+ $330 = $329 + $327;
+ HEAPF32[$328>>2] = $330;
+ $331 = ((($19)) + 56|0);
+ $332 = ((($331)) + 4|0);
+ $333 = +HEAPF32[$332>>2];
+ $334 = ((($19)) + 64|0);
+ $335 = ((($334)) + 4|0);
+ $336 = +HEAPF32[$335>>2];
+ $337 = $333 + $336;
+ $338 = $12;
+ $339 = ((($338)) + 4|0);
+ $340 = +HEAPF32[$339>>2];
+ $341 = $340 + $337;
+ HEAPF32[$339>>2] = $341;
+ $342 = +HEAPF32[$19>>2];
+ $343 = ((($19)) + 56|0);
+ $344 = +HEAPF32[$343>>2];
+ $345 = +HEAPF32[$21>>2];
+ $346 = $344 * $345;
+ $347 = $342 + $346;
+ $348 = ((($19)) + 64|0);
+ $349 = +HEAPF32[$348>>2];
+ $350 = +HEAPF32[$22>>2];
+ $351 = $349 * $350;
+ $352 = $347 + $351;
+ $353 = ((($19)) + 40|0);
+ HEAPF32[$353>>2] = $352;
+ $354 = ((($19)) + 4|0);
+ $355 = +HEAPF32[$354>>2];
+ $356 = ((($19)) + 56|0);
+ $357 = ((($356)) + 4|0);
+ $358 = +HEAPF32[$357>>2];
+ $359 = +HEAPF32[$21>>2];
+ $360 = $358 * $359;
+ $361 = $355 + $360;
+ $362 = ((($19)) + 64|0);
+ $363 = ((($362)) + 4|0);
+ $364 = +HEAPF32[$363>>2];
+ $365 = +HEAPF32[$22>>2];
+ $366 = $364 * $365;
+ $367 = $361 + $366;
+ $368 = ((($19)) + 40|0);
+ $369 = ((($368)) + 4|0);
+ HEAPF32[$369>>2] = $367;
+ $370 = ((($19)) + 80|0);
+ $371 = ((($370)) + 4|0);
+ $372 = +HEAPF32[$371>>2];
+ $373 = ((($21)) + 4|0);
+ $374 = +HEAPF32[$373>>2];
+ $375 = $372 * $374;
+ $376 = ((($19)) + 72|0);
+ $377 = ((($376)) + 4|0);
+ $378 = +HEAPF32[$377>>2];
+ $379 = ((($22)) + 4|0);
+ $380 = +HEAPF32[$379>>2];
+ $381 = $378 * $380;
+ $382 = $375 + $381;
+ $383 = ((($19)) + 48|0);
+ HEAPF32[$383>>2] = $382;
+ $384 = ((($19)) + 80|0);
+ $385 = +HEAPF32[$384>>2];
+ $386 = ((($21)) + 4|0);
+ $387 = +HEAPF32[$386>>2];
+ $388 = $385 * $387;
+ $389 = - $388;
+ $390 = ((($19)) + 72|0);
+ $391 = +HEAPF32[$390>>2];
+ $392 = ((($22)) + 4|0);
+ $393 = +HEAPF32[$392>>2];
+ $394 = $391 * $393;
+ $395 = $389 - $394;
+ $396 = ((($19)) + 48|0);
+ $397 = ((($396)) + 4|0);
+ HEAPF32[$397>>2] = $395;
+ $398 = ((($19)) + 40|0);
+ $399 = +HEAPF32[$398>>2];
+ $400 = ((($19)) + 48|0);
+ $401 = +HEAPF32[$400>>2];
+ $402 = $399 - $401;
+ $403 = $13;
+ HEAPF32[$403>>2] = $402;
+ $404 = ((($19)) + 40|0);
+ $405 = ((($404)) + 4|0);
+ $406 = +HEAPF32[$405>>2];
+ $407 = ((($19)) + 48|0);
+ $408 = ((($407)) + 4|0);
+ $409 = +HEAPF32[$408>>2];
+ $410 = $406 - $409;
+ $411 = $13;
+ $412 = ((($411)) + 4|0);
+ HEAPF32[$412>>2] = $410;
+ $413 = ((($19)) + 40|0);
+ $414 = +HEAPF32[$413>>2];
+ $415 = ((($19)) + 48|0);
+ $416 = +HEAPF32[$415>>2];
+ $417 = $414 + $416;
+ $418 = $16;
+ HEAPF32[$418>>2] = $417;
+ $419 = ((($19)) + 40|0);
+ $420 = ((($419)) + 4|0);
+ $421 = +HEAPF32[$420>>2];
+ $422 = ((($19)) + 48|0);
+ $423 = ((($422)) + 4|0);
+ $424 = +HEAPF32[$423>>2];
+ $425 = $421 + $424;
+ $426 = $16;
+ $427 = ((($426)) + 4|0);
+ HEAPF32[$427>>2] = $425;
+ $428 = +HEAPF32[$19>>2];
+ $429 = ((($19)) + 56|0);
+ $430 = +HEAPF32[$429>>2];
+ $431 = +HEAPF32[$22>>2];
+ $432 = $430 * $431;
+ $433 = $428 + $432;
+ $434 = ((($19)) + 64|0);
+ $435 = +HEAPF32[$434>>2];
+ $436 = +HEAPF32[$21>>2];
+ $437 = $435 * $436;
+ $438 = $433 + $437;
+ $439 = ((($19)) + 88|0);
+ HEAPF32[$439>>2] = $438;
+ $440 = ((($19)) + 4|0);
+ $441 = +HEAPF32[$440>>2];
+ $442 = ((($19)) + 56|0);
+ $443 = ((($442)) + 4|0);
+ $444 = +HEAPF32[$443>>2];
+ $445 = +HEAPF32[$22>>2];
+ $446 = $444 * $445;
+ $447 = $441 + $446;
+ $448 = ((($19)) + 64|0);
+ $449 = ((($448)) + 4|0);
+ $450 = +HEAPF32[$449>>2];
+ $451 = +HEAPF32[$21>>2];
+ $452 = $450 * $451;
+ $453 = $447 + $452;
+ $454 = ((($19)) + 88|0);
+ $455 = ((($454)) + 4|0);
+ HEAPF32[$455>>2] = $453;
+ $456 = ((($19)) + 80|0);
+ $457 = ((($456)) + 4|0);
+ $458 = +HEAPF32[$457>>2];
+ $459 = ((($22)) + 4|0);
+ $460 = +HEAPF32[$459>>2];
+ $461 = $458 * $460;
+ $462 = - $461;
+ $463 = ((($19)) + 72|0);
+ $464 = ((($463)) + 4|0);
+ $465 = +HEAPF32[$464>>2];
+ $466 = ((($21)) + 4|0);
+ $467 = +HEAPF32[$466>>2];
+ $468 = $465 * $467;
+ $469 = $462 + $468;
+ $470 = ((($19)) + 96|0);
+ HEAPF32[$470>>2] = $469;
+ $471 = ((($19)) + 80|0);
+ $472 = +HEAPF32[$471>>2];
+ $473 = ((($22)) + 4|0);
+ $474 = +HEAPF32[$473>>2];
+ $475 = $472 * $474;
+ $476 = ((($19)) + 72|0);
+ $477 = +HEAPF32[$476>>2];
+ $478 = ((($21)) + 4|0);
+ $479 = +HEAPF32[$478>>2];
+ $480 = $477 * $479;
+ $481 = $475 - $480;
+ $482 = ((($19)) + 96|0);
+ $483 = ((($482)) + 4|0);
+ HEAPF32[$483>>2] = $481;
+ $484 = ((($19)) + 88|0);
+ $485 = +HEAPF32[$484>>2];
+ $486 = ((($19)) + 96|0);
+ $487 = +HEAPF32[$486>>2];
+ $488 = $485 + $487;
+ $489 = $14;
+ HEAPF32[$489>>2] = $488;
+ $490 = ((($19)) + 88|0);
+ $491 = ((($490)) + 4|0);
+ $492 = +HEAPF32[$491>>2];
+ $493 = ((($19)) + 96|0);
+ $494 = ((($493)) + 4|0);
+ $495 = +HEAPF32[$494>>2];
+ $496 = $492 + $495;
+ $497 = $14;
+ $498 = ((($497)) + 4|0);
+ HEAPF32[$498>>2] = $496;
+ $499 = ((($19)) + 88|0);
+ $500 = +HEAPF32[$499>>2];
+ $501 = ((($19)) + 96|0);
+ $502 = +HEAPF32[$501>>2];
+ $503 = $500 - $502;
+ $504 = $15;
+ HEAPF32[$504>>2] = $503;
+ $505 = ((($19)) + 88|0);
+ $506 = ((($505)) + 4|0);
+ $507 = +HEAPF32[$506>>2];
+ $508 = ((($19)) + 96|0);
+ $509 = ((($508)) + 4|0);
+ $510 = +HEAPF32[$509>>2];
+ $511 = $507 - $510;
+ $512 = $15;
+ $513 = ((($512)) + 4|0);
+ HEAPF32[$513>>2] = $511;
+ $514 = $12;
+ $515 = ((($514)) + 8|0);
+ $12 = $515;
+ $516 = $13;
+ $517 = ((($516)) + 8|0);
+ $13 = $517;
+ $518 = $14;
+ $519 = ((($518)) + 8|0);
+ $14 = $519;
+ $520 = $15;
+ $521 = ((($520)) + 8|0);
+ $15 = $521;
+ $522 = $16;
+ $523 = ((($522)) + 8|0);
+ $16 = $523;
+ $524 = $18;
+ $525 = (($524) + 1)|0;
+ $18 = $525;
+ }
+ $526 = $17;
+ $527 = (($526) + 1)|0;
+ $17 = $527;
+ }
+ STACKTOP = sp;return;
+}
+function _opus_fft_c($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $8 = sp;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $9 = $3;
+ $10 = ((($9)) + 4|0);
+ $11 = +HEAPF32[$10>>2];
+ $7 = $11;
+ $6 = 0;
+ while(1) {
+ $12 = $6;
+ $13 = $3;
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ($12|0)<($14|0);
+ if (!($15)) {
+ break;
+ }
+ $16 = $4;
+ $17 = $6;
+ $18 = (($16) + ($17<<3)|0);
+ ;HEAP32[$8>>2]=HEAP32[$18>>2]|0;HEAP32[$8+4>>2]=HEAP32[$18+4>>2]|0;
+ $19 = $7;
+ $20 = +HEAPF32[$8>>2];
+ $21 = $19 * $20;
+ $22 = $5;
+ $23 = $3;
+ $24 = ((($23)) + 44|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = $6;
+ $27 = (($25) + ($26<<1)|0);
+ $28 = HEAP16[$27>>1]|0;
+ $29 = $28 << 16 >> 16;
+ $30 = (($22) + ($29<<3)|0);
+ HEAPF32[$30>>2] = $21;
+ $31 = $7;
+ $32 = ((($8)) + 4|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $31 * $33;
+ $35 = $5;
+ $36 = $3;
+ $37 = ((($36)) + 44|0);
+ $38 = HEAP32[$37>>2]|0;
+ $39 = $6;
+ $40 = (($38) + ($39<<1)|0);
+ $41 = HEAP16[$40>>1]|0;
+ $42 = $41 << 16 >> 16;
+ $43 = (($35) + ($42<<3)|0);
+ $44 = ((($43)) + 4|0);
+ HEAPF32[$44>>2] = $34;
+ $45 = $6;
+ $46 = (($45) + 1)|0;
+ $6 = $46;
+ }
+ $47 = $3;
+ $48 = $5;
+ _opus_fft_impl($47,$48);
+ STACKTOP = sp;return;
+}
+function _clt_mdct_forward_c($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $$alloca_mul = 0, $$alloca_mul37 = 0, $10 = 0, $100 = 0.0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0.0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0, $115 = 0.0;
+ var $116 = 0, $117 = 0.0, $118 = 0.0, $119 = 0, $12 = 0, $120 = 0.0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
+ var $152 = 0, $153 = 0.0, $154 = 0, $155 = 0, $156 = 0, $157 = 0.0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
+ var $170 = 0.0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0, $181 = 0.0, $182 = 0.0, $183 = 0.0, $184 = 0, $185 = 0, $186 = 0, $187 = 0.0, $188 = 0;
+ var $189 = 0.0, $19 = 0, $190 = 0.0, $191 = 0, $192 = 0.0, $193 = 0, $194 = 0, $195 = 0, $196 = 0.0, $197 = 0.0, $198 = 0.0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0;
+ var $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0.0, $219 = 0, $22 = 0.0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0.0;
+ var $225 = 0, $226 = 0, $227 = 0.0, $228 = 0, $229 = 0, $23 = 0, $230 = 0.0, $231 = 0.0, $232 = 0.0, $233 = 0.0, $234 = 0.0, $235 = 0.0, $236 = 0.0, $237 = 0.0, $238 = 0.0, $239 = 0.0, $24 = 0, $240 = 0.0, $241 = 0.0, $242 = 0.0;
+ var $243 = 0.0, $244 = 0.0, $245 = 0.0, $246 = 0.0, $247 = 0, $248 = 0.0, $249 = 0.0, $25 = 0, $250 = 0.0, $251 = 0.0, $252 = 0, $253 = 0.0, $254 = 0.0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0;
+ var $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0;
+ var $28 = 0, $280 = 0.0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0.0, $287 = 0.0, $288 = 0, $289 = 0.0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0.0, $294 = 0.0, $295 = 0.0, $296 = 0, $297 = 0.0;
+ var $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0.0, $304 = 0.0, $305 = 0, $306 = 0, $307 = 0.0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0.0, $312 = 0.0, $313 = 0.0, $314 = 0.0, $315 = 0;
+ var $316 = 0.0, $317 = 0, $318 = 0, $319 = 0, $32 = 0.0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0.0, $330 = 0, $331 = 0, $34 = 0.0, $35 = 0.0;
+ var $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $55 = 0;
+ var $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
+ var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0;
+ var $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
+ $31 = sp + 48|0;
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $44 = $8;
+ $45 = ((($44)) + 8|0);
+ $46 = $13;
+ $47 = (($45) + ($46<<2)|0);
+ $48 = HEAP32[$47>>2]|0;
+ $20 = $48;
+ $49 = $20;
+ $50 = ((($49)) + 4|0);
+ $51 = +HEAPF32[$50>>2];
+ $22 = $51;
+ $52 = $8;
+ $53 = HEAP32[$52>>2]|0;
+ $17 = $53;
+ $54 = $8;
+ $55 = ((($54)) + 24|0);
+ $56 = HEAP32[$55>>2]|0;
+ $21 = $56;
+ $16 = 0;
+ while(1) {
+ $57 = $16;
+ $58 = $13;
+ $59 = ($57|0)<($58|0);
+ $60 = $17;
+ $61 = $60 >> 1;
+ if (!($59)) {
+ break;
+ }
+ $17 = $61;
+ $62 = $17;
+ $63 = $21;
+ $64 = (($63) + ($62<<2)|0);
+ $21 = $64;
+ $65 = $16;
+ $66 = (($65) + 1)|0;
+ $16 = $66;
+ }
+ $18 = $61;
+ $67 = $17;
+ $68 = $67 >> 2;
+ $19 = $68;
+ $69 = $18;
+ $70 = (_llvm_stacksave()|0);
+ $23 = $70;
+ $$alloca_mul = $69<<2;
+ $71 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $72 = $19;
+ $$alloca_mul37 = $72<<3;
+ $73 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul37)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul37)|0)+15)&-16)|0);;
+ $74 = $9;
+ $75 = $12;
+ $76 = $75 >> 1;
+ $77 = (($74) + ($76<<2)|0);
+ $24 = $77;
+ $78 = $9;
+ $79 = $18;
+ $80 = (($78) + ($79<<2)|0);
+ $81 = ((($80)) + -4|0);
+ $82 = $12;
+ $83 = $82 >> 1;
+ $84 = (($81) + ($83<<2)|0);
+ $25 = $84;
+ $26 = $71;
+ $85 = $11;
+ $86 = $12;
+ $87 = $86 >> 1;
+ $88 = (($85) + ($87<<2)|0);
+ $27 = $88;
+ $89 = $11;
+ $90 = $12;
+ $91 = $90 >> 1;
+ $92 = (($89) + ($91<<2)|0);
+ $93 = ((($92)) + -4|0);
+ $28 = $93;
+ $16 = 0;
+ while(1) {
+ $94 = $16;
+ $95 = $12;
+ $96 = (($95) + 3)|0;
+ $97 = $96 >> 2;
+ $98 = ($94|0)<($97|0);
+ if (!($98)) {
+ break;
+ }
+ $99 = $28;
+ $100 = +HEAPF32[$99>>2];
+ $101 = $24;
+ $102 = $18;
+ $103 = (($101) + ($102<<2)|0);
+ $104 = +HEAPF32[$103>>2];
+ $105 = $100 * $104;
+ $106 = $27;
+ $107 = +HEAPF32[$106>>2];
+ $108 = $25;
+ $109 = +HEAPF32[$108>>2];
+ $110 = $107 * $109;
+ $111 = $105 + $110;
+ $112 = $26;
+ $113 = ((($112)) + 4|0);
+ $26 = $113;
+ HEAPF32[$112>>2] = $111;
+ $114 = $27;
+ $115 = +HEAPF32[$114>>2];
+ $116 = $24;
+ $117 = +HEAPF32[$116>>2];
+ $118 = $115 * $117;
+ $119 = $28;
+ $120 = +HEAPF32[$119>>2];
+ $121 = $25;
+ $122 = $18;
+ $123 = (0 - ($122))|0;
+ $124 = (($121) + ($123<<2)|0);
+ $125 = +HEAPF32[$124>>2];
+ $126 = $120 * $125;
+ $127 = $118 - $126;
+ $128 = $26;
+ $129 = ((($128)) + 4|0);
+ $26 = $129;
+ HEAPF32[$128>>2] = $127;
+ $130 = $24;
+ $131 = ((($130)) + 8|0);
+ $24 = $131;
+ $132 = $25;
+ $133 = ((($132)) + -8|0);
+ $25 = $133;
+ $134 = $27;
+ $135 = ((($134)) + 8|0);
+ $27 = $135;
+ $136 = $28;
+ $137 = ((($136)) + -8|0);
+ $28 = $137;
+ $138 = $16;
+ $139 = (($138) + 1)|0;
+ $16 = $139;
+ }
+ $140 = $11;
+ $27 = $140;
+ $141 = $11;
+ $142 = $12;
+ $143 = (($141) + ($142<<2)|0);
+ $144 = ((($143)) + -4|0);
+ $28 = $144;
+ while(1) {
+ $145 = $16;
+ $146 = $19;
+ $147 = $12;
+ $148 = (($147) + 3)|0;
+ $149 = $148 >> 2;
+ $150 = (($146) - ($149))|0;
+ $151 = ($145|0)<($150|0);
+ if (!($151)) {
+ break;
+ }
+ $152 = $25;
+ $153 = +HEAPF32[$152>>2];
+ $154 = $26;
+ $155 = ((($154)) + 4|0);
+ $26 = $155;
+ HEAPF32[$154>>2] = $153;
+ $156 = $24;
+ $157 = +HEAPF32[$156>>2];
+ $158 = $26;
+ $159 = ((($158)) + 4|0);
+ $26 = $159;
+ HEAPF32[$158>>2] = $157;
+ $160 = $24;
+ $161 = ((($160)) + 8|0);
+ $24 = $161;
+ $162 = $25;
+ $163 = ((($162)) + -8|0);
+ $25 = $163;
+ $164 = $16;
+ $165 = (($164) + 1)|0;
+ $16 = $165;
+ }
+ while(1) {
+ $166 = $16;
+ $167 = $19;
+ $168 = ($166|0)<($167|0);
+ if (!($168)) {
+ break;
+ }
+ $169 = $27;
+ $170 = +HEAPF32[$169>>2];
+ $171 = $24;
+ $172 = $18;
+ $173 = (0 - ($172))|0;
+ $174 = (($171) + ($173<<2)|0);
+ $175 = +HEAPF32[$174>>2];
+ $176 = $170 * $175;
+ $177 = - $176;
+ $178 = $28;
+ $179 = +HEAPF32[$178>>2];
+ $180 = $25;
+ $181 = +HEAPF32[$180>>2];
+ $182 = $179 * $181;
+ $183 = $177 + $182;
+ $184 = $26;
+ $185 = ((($184)) + 4|0);
+ $26 = $185;
+ HEAPF32[$184>>2] = $183;
+ $186 = $28;
+ $187 = +HEAPF32[$186>>2];
+ $188 = $24;
+ $189 = +HEAPF32[$188>>2];
+ $190 = $187 * $189;
+ $191 = $27;
+ $192 = +HEAPF32[$191>>2];
+ $193 = $25;
+ $194 = $18;
+ $195 = (($193) + ($194<<2)|0);
+ $196 = +HEAPF32[$195>>2];
+ $197 = $192 * $196;
+ $198 = $190 + $197;
+ $199 = $26;
+ $200 = ((($199)) + 4|0);
+ $26 = $200;
+ HEAPF32[$199>>2] = $198;
+ $201 = $24;
+ $202 = ((($201)) + 8|0);
+ $24 = $202;
+ $203 = $25;
+ $204 = ((($203)) + -8|0);
+ $25 = $204;
+ $205 = $27;
+ $206 = ((($205)) + 8|0);
+ $27 = $206;
+ $207 = $28;
+ $208 = ((($207)) + -8|0);
+ $28 = $208;
+ $209 = $16;
+ $210 = (($209) + 1)|0;
+ $16 = $210;
+ }
+ $29 = $71;
+ $211 = $21;
+ $30 = $211;
+ $16 = 0;
+ while(1) {
+ $212 = $16;
+ $213 = $19;
+ $214 = ($212|0)<($213|0);
+ if (!($214)) {
+ break;
+ }
+ $215 = $30;
+ $216 = $16;
+ $217 = (($215) + ($216<<2)|0);
+ $218 = +HEAPF32[$217>>2];
+ $32 = $218;
+ $219 = $30;
+ $220 = $19;
+ $221 = $16;
+ $222 = (($220) + ($221))|0;
+ $223 = (($219) + ($222<<2)|0);
+ $224 = +HEAPF32[$223>>2];
+ $33 = $224;
+ $225 = $29;
+ $226 = ((($225)) + 4|0);
+ $29 = $226;
+ $227 = +HEAPF32[$225>>2];
+ $34 = $227;
+ $228 = $29;
+ $229 = ((($228)) + 4|0);
+ $29 = $229;
+ $230 = +HEAPF32[$228>>2];
+ $35 = $230;
+ $231 = $34;
+ $232 = $32;
+ $233 = $231 * $232;
+ $234 = $35;
+ $235 = $33;
+ $236 = $234 * $235;
+ $237 = $233 - $236;
+ $36 = $237;
+ $238 = $35;
+ $239 = $32;
+ $240 = $238 * $239;
+ $241 = $34;
+ $242 = $33;
+ $243 = $241 * $242;
+ $244 = $240 + $243;
+ $37 = $244;
+ $245 = $36;
+ HEAPF32[$31>>2] = $245;
+ $246 = $37;
+ $247 = ((($31)) + 4|0);
+ HEAPF32[$247>>2] = $246;
+ $248 = $22;
+ $249 = +HEAPF32[$31>>2];
+ $250 = $248 * $249;
+ HEAPF32[$31>>2] = $250;
+ $251 = $22;
+ $252 = ((($31)) + 4|0);
+ $253 = +HEAPF32[$252>>2];
+ $254 = $251 * $253;
+ $255 = ((($31)) + 4|0);
+ HEAPF32[$255>>2] = $254;
+ $256 = $20;
+ $257 = ((($256)) + 44|0);
+ $258 = HEAP32[$257>>2]|0;
+ $259 = $16;
+ $260 = (($258) + ($259<<1)|0);
+ $261 = HEAP16[$260>>1]|0;
+ $262 = $261 << 16 >> 16;
+ $263 = (($73) + ($262<<3)|0);
+ ;HEAP32[$263>>2]=HEAP32[$31>>2]|0;HEAP32[$263+4>>2]=HEAP32[$31+4>>2]|0;
+ $264 = $16;
+ $265 = (($264) + 1)|0;
+ $16 = $265;
+ }
+ $266 = $20;
+ _opus_fft_impl($266,$73);
+ $38 = $73;
+ $267 = $10;
+ $39 = $267;
+ $268 = $10;
+ $269 = $14;
+ $270 = $18;
+ $271 = (($270) - 1)|0;
+ $272 = Math_imul($269, $271)|0;
+ $273 = (($268) + ($272<<2)|0);
+ $40 = $273;
+ $274 = $21;
+ $41 = $274;
+ $16 = 0;
+ while(1) {
+ $275 = $16;
+ $276 = $19;
+ $277 = ($275|0)<($276|0);
+ if (!($277)) {
+ break;
+ }
+ $278 = $38;
+ $279 = ((($278)) + 4|0);
+ $280 = +HEAPF32[$279>>2];
+ $281 = $41;
+ $282 = $19;
+ $283 = $16;
+ $284 = (($282) + ($283))|0;
+ $285 = (($281) + ($284<<2)|0);
+ $286 = +HEAPF32[$285>>2];
+ $287 = $280 * $286;
+ $288 = $38;
+ $289 = +HEAPF32[$288>>2];
+ $290 = $41;
+ $291 = $16;
+ $292 = (($290) + ($291<<2)|0);
+ $293 = +HEAPF32[$292>>2];
+ $294 = $289 * $293;
+ $295 = $287 - $294;
+ $42 = $295;
+ $296 = $38;
+ $297 = +HEAPF32[$296>>2];
+ $298 = $41;
+ $299 = $19;
+ $300 = $16;
+ $301 = (($299) + ($300))|0;
+ $302 = (($298) + ($301<<2)|0);
+ $303 = +HEAPF32[$302>>2];
+ $304 = $297 * $303;
+ $305 = $38;
+ $306 = ((($305)) + 4|0);
+ $307 = +HEAPF32[$306>>2];
+ $308 = $41;
+ $309 = $16;
+ $310 = (($308) + ($309<<2)|0);
+ $311 = +HEAPF32[$310>>2];
+ $312 = $307 * $311;
+ $313 = $304 + $312;
+ $43 = $313;
+ $314 = $42;
+ $315 = $39;
+ HEAPF32[$315>>2] = $314;
+ $316 = $43;
+ $317 = $40;
+ HEAPF32[$317>>2] = $316;
+ $318 = $38;
+ $319 = ((($318)) + 8|0);
+ $38 = $319;
+ $320 = $14;
+ $321 = $320<<1;
+ $322 = $39;
+ $323 = (($322) + ($321<<2)|0);
+ $39 = $323;
+ $324 = $14;
+ $325 = $324<<1;
+ $326 = $40;
+ $327 = (0 - ($325))|0;
+ $328 = (($326) + ($327<<2)|0);
+ $40 = $328;
+ $329 = $16;
+ $330 = (($329) + 1)|0;
+ $16 = $330;
+ }
+ $331 = $23;
+ _llvm_stackrestore(($331|0));
+ STACKTOP = sp;return;
+}
+function _clt_mdct_backward_c($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0.0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0.0;
+ var $172 = 0, $173 = 0.0, $174 = 0, $175 = 0, $176 = 0, $177 = 0.0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0.0, $189 = 0.0, $19 = 0;
+ var $190 = 0.0, $191 = 0.0, $192 = 0.0, $193 = 0.0, $194 = 0.0, $195 = 0.0, $196 = 0.0, $197 = 0.0, $198 = 0, $199 = 0, $20 = 0, $200 = 0.0, $201 = 0, $202 = 0.0, $203 = 0.0, $204 = 0, $205 = 0.0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0.0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0.0, $222 = 0.0, $223 = 0.0, $224 = 0.0, $225 = 0.0, $226 = 0.0;
+ var $227 = 0.0, $228 = 0.0, $229 = 0.0, $23 = 0, $230 = 0.0, $231 = 0.0, $232 = 0.0, $233 = 0.0, $234 = 0.0, $235 = 0.0, $236 = 0.0, $237 = 0, $238 = 0.0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0.0;
+ var $263 = 0, $264 = 0.0, $265 = 0, $266 = 0.0, $267 = 0.0, $268 = 0.0, $269 = 0, $27 = 0.0, $270 = 0.0, $271 = 0.0, $272 = 0.0, $273 = 0.0, $274 = 0, $275 = 0, $276 = 0, $277 = 0.0, $278 = 0.0, $279 = 0.0, $28 = 0.0, $280 = 0;
+ var $281 = 0.0, $282 = 0.0, $283 = 0.0, $284 = 0.0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0;
+ var $37 = 0.0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
+ var $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
+ var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0;
+ var $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $44 = $8;
+ $45 = HEAP32[$44>>2]|0;
+ $17 = $45;
+ $46 = $8;
+ $47 = ((($46)) + 24|0);
+ $48 = HEAP32[$47>>2]|0;
+ $20 = $48;
+ $16 = 0;
+ while(1) {
+ $49 = $16;
+ $50 = $13;
+ $51 = ($49|0)<($50|0);
+ $52 = $17;
+ $53 = $52 >> 1;
+ if (!($51)) {
+ break;
+ }
+ $17 = $53;
+ $54 = $17;
+ $55 = $20;
+ $56 = (($55) + ($54<<2)|0);
+ $20 = $56;
+ $57 = $16;
+ $58 = (($57) + 1)|0;
+ $16 = $58;
+ }
+ $18 = $53;
+ $59 = $17;
+ $60 = $59 >> 2;
+ $19 = $60;
+ $61 = $9;
+ $21 = $61;
+ $62 = $9;
+ $63 = $14;
+ $64 = $18;
+ $65 = (($64) - 1)|0;
+ $66 = Math_imul($63, $65)|0;
+ $67 = (($62) + ($66<<2)|0);
+ $22 = $67;
+ $68 = $10;
+ $69 = $12;
+ $70 = $69 >> 1;
+ $71 = (($68) + ($70<<2)|0);
+ $23 = $71;
+ $72 = $20;
+ $24 = $72;
+ $73 = $8;
+ $74 = ((($73)) + 8|0);
+ $75 = $13;
+ $76 = (($74) + ($75<<2)|0);
+ $77 = HEAP32[$76>>2]|0;
+ $78 = ((($77)) + 44|0);
+ $79 = HEAP32[$78>>2]|0;
+ $25 = $79;
+ $16 = 0;
+ while(1) {
+ $80 = $16;
+ $81 = $19;
+ $82 = ($80|0)<($81|0);
+ if (!($82)) {
+ break;
+ }
+ $83 = $25;
+ $84 = ((($83)) + 2|0);
+ $25 = $84;
+ $85 = HEAP16[$83>>1]|0;
+ $86 = $85 << 16 >> 16;
+ $26 = $86;
+ $87 = $22;
+ $88 = +HEAPF32[$87>>2];
+ $89 = $24;
+ $90 = $16;
+ $91 = (($89) + ($90<<2)|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = $88 * $92;
+ $94 = $21;
+ $95 = +HEAPF32[$94>>2];
+ $96 = $24;
+ $97 = $19;
+ $98 = $16;
+ $99 = (($97) + ($98))|0;
+ $100 = (($96) + ($99<<2)|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = $95 * $101;
+ $103 = $93 + $102;
+ $27 = $103;
+ $104 = $21;
+ $105 = +HEAPF32[$104>>2];
+ $106 = $24;
+ $107 = $16;
+ $108 = (($106) + ($107<<2)|0);
+ $109 = +HEAPF32[$108>>2];
+ $110 = $105 * $109;
+ $111 = $22;
+ $112 = +HEAPF32[$111>>2];
+ $113 = $24;
+ $114 = $19;
+ $115 = $16;
+ $116 = (($114) + ($115))|0;
+ $117 = (($113) + ($116<<2)|0);
+ $118 = +HEAPF32[$117>>2];
+ $119 = $112 * $118;
+ $120 = $110 - $119;
+ $28 = $120;
+ $121 = $27;
+ $122 = $23;
+ $123 = $26;
+ $124 = $123<<1;
+ $125 = (($124) + 1)|0;
+ $126 = (($122) + ($125<<2)|0);
+ HEAPF32[$126>>2] = $121;
+ $127 = $28;
+ $128 = $23;
+ $129 = $26;
+ $130 = $129<<1;
+ $131 = (($128) + ($130<<2)|0);
+ HEAPF32[$131>>2] = $127;
+ $132 = $14;
+ $133 = $132<<1;
+ $134 = $21;
+ $135 = (($134) + ($133<<2)|0);
+ $21 = $135;
+ $136 = $14;
+ $137 = $136<<1;
+ $138 = $22;
+ $139 = (0 - ($137))|0;
+ $140 = (($138) + ($139<<2)|0);
+ $22 = $140;
+ $141 = $16;
+ $142 = (($141) + 1)|0;
+ $16 = $142;
+ }
+ $143 = $8;
+ $144 = ((($143)) + 8|0);
+ $145 = $13;
+ $146 = (($144) + ($145<<2)|0);
+ $147 = HEAP32[$146>>2]|0;
+ $148 = $10;
+ $149 = $12;
+ $150 = $149 >> 1;
+ $151 = (($148) + ($150<<2)|0);
+ _opus_fft_impl($147,$151);
+ $152 = $10;
+ $153 = $12;
+ $154 = $153 >> 1;
+ $155 = (($152) + ($154<<2)|0);
+ $29 = $155;
+ $156 = $10;
+ $157 = $12;
+ $158 = $157 >> 1;
+ $159 = (($156) + ($158<<2)|0);
+ $160 = $18;
+ $161 = (($159) + ($160<<2)|0);
+ $162 = ((($161)) + -8|0);
+ $30 = $162;
+ $163 = $20;
+ $31 = $163;
+ $16 = 0;
+ while(1) {
+ $164 = $16;
+ $165 = $19;
+ $166 = (($165) + 1)|0;
+ $167 = $166 >> 1;
+ $168 = ($164|0)<($167|0);
+ if (!($168)) {
+ break;
+ }
+ $169 = $29;
+ $170 = ((($169)) + 4|0);
+ $171 = +HEAPF32[$170>>2];
+ $32 = $171;
+ $172 = $29;
+ $173 = +HEAPF32[$172>>2];
+ $33 = $173;
+ $174 = $31;
+ $175 = $16;
+ $176 = (($174) + ($175<<2)|0);
+ $177 = +HEAPF32[$176>>2];
+ $36 = $177;
+ $178 = $31;
+ $179 = $19;
+ $180 = $16;
+ $181 = (($179) + ($180))|0;
+ $182 = (($178) + ($181<<2)|0);
+ $183 = +HEAPF32[$182>>2];
+ $37 = $183;
+ $184 = $32;
+ $185 = $36;
+ $186 = $184 * $185;
+ $187 = $33;
+ $188 = $37;
+ $189 = $187 * $188;
+ $190 = $186 + $189;
+ $34 = $190;
+ $191 = $32;
+ $192 = $37;
+ $193 = $191 * $192;
+ $194 = $33;
+ $195 = $36;
+ $196 = $194 * $195;
+ $197 = $193 - $196;
+ $35 = $197;
+ $198 = $30;
+ $199 = ((($198)) + 4|0);
+ $200 = +HEAPF32[$199>>2];
+ $32 = $200;
+ $201 = $30;
+ $202 = +HEAPF32[$201>>2];
+ $33 = $202;
+ $203 = $34;
+ $204 = $29;
+ HEAPF32[$204>>2] = $203;
+ $205 = $35;
+ $206 = $30;
+ $207 = ((($206)) + 4|0);
+ HEAPF32[$207>>2] = $205;
+ $208 = $31;
+ $209 = $19;
+ $210 = $16;
+ $211 = (($209) - ($210))|0;
+ $212 = (($211) - 1)|0;
+ $213 = (($208) + ($212<<2)|0);
+ $214 = +HEAPF32[$213>>2];
+ $36 = $214;
+ $215 = $31;
+ $216 = $18;
+ $217 = $16;
+ $218 = (($216) - ($217))|0;
+ $219 = (($218) - 1)|0;
+ $220 = (($215) + ($219<<2)|0);
+ $221 = +HEAPF32[$220>>2];
+ $37 = $221;
+ $222 = $32;
+ $223 = $36;
+ $224 = $222 * $223;
+ $225 = $33;
+ $226 = $37;
+ $227 = $225 * $226;
+ $228 = $224 + $227;
+ $34 = $228;
+ $229 = $32;
+ $230 = $37;
+ $231 = $229 * $230;
+ $232 = $33;
+ $233 = $36;
+ $234 = $232 * $233;
+ $235 = $231 - $234;
+ $35 = $235;
+ $236 = $34;
+ $237 = $30;
+ HEAPF32[$237>>2] = $236;
+ $238 = $35;
+ $239 = $29;
+ $240 = ((($239)) + 4|0);
+ HEAPF32[$240>>2] = $238;
+ $241 = $29;
+ $242 = ((($241)) + 8|0);
+ $29 = $242;
+ $243 = $30;
+ $244 = ((($243)) + -8|0);
+ $30 = $244;
+ $245 = $16;
+ $246 = (($245) + 1)|0;
+ $16 = $246;
+ }
+ $247 = $10;
+ $248 = $12;
+ $249 = (($247) + ($248<<2)|0);
+ $250 = ((($249)) + -4|0);
+ $38 = $250;
+ $251 = $10;
+ $39 = $251;
+ $252 = $11;
+ $40 = $252;
+ $253 = $11;
+ $254 = $12;
+ $255 = (($253) + ($254<<2)|0);
+ $256 = ((($255)) + -4|0);
+ $41 = $256;
+ $16 = 0;
+ while(1) {
+ $257 = $16;
+ $258 = $12;
+ $259 = (($258|0) / 2)&-1;
+ $260 = ($257|0)<($259|0);
+ if (!($260)) {
+ break;
+ }
+ $261 = $38;
+ $262 = +HEAPF32[$261>>2];
+ $42 = $262;
+ $263 = $39;
+ $264 = +HEAPF32[$263>>2];
+ $43 = $264;
+ $265 = $41;
+ $266 = +HEAPF32[$265>>2];
+ $267 = $43;
+ $268 = $266 * $267;
+ $269 = $40;
+ $270 = +HEAPF32[$269>>2];
+ $271 = $42;
+ $272 = $270 * $271;
+ $273 = $268 - $272;
+ $274 = $39;
+ $275 = ((($274)) + 4|0);
+ $39 = $275;
+ HEAPF32[$274>>2] = $273;
+ $276 = $40;
+ $277 = +HEAPF32[$276>>2];
+ $278 = $43;
+ $279 = $277 * $278;
+ $280 = $41;
+ $281 = +HEAPF32[$280>>2];
+ $282 = $42;
+ $283 = $281 * $282;
+ $284 = $279 + $283;
+ $285 = $38;
+ $286 = ((($285)) + -4|0);
+ $38 = $286;
+ HEAPF32[$285>>2] = $284;
+ $287 = $40;
+ $288 = ((($287)) + 4|0);
+ $40 = $288;
+ $289 = $41;
+ $290 = ((($289)) + -4|0);
+ $41 = $290;
+ $291 = $16;
+ $292 = (($291) + 1)|0;
+ $16 = $292;
+ }
+ STACKTOP = sp;return;
+}
+function _opus_custom_mode_create($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = 0;
+ L1: while(1) {
+ $9 = $7;
+ $10 = ($9|0)<(1);
+ if (!($10)) {
+ label = 12;
+ break;
+ }
+ $8 = 0;
+ while(1) {
+ $11 = $8;
+ $12 = ($11|0)<(4);
+ if (!($12)) {
+ break;
+ }
+ $13 = $4;
+ $14 = $7;
+ $15 = (4584 + ($14<<2)|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = HEAP32[$16>>2]|0;
+ $18 = ($13|0)==($17|0);
+ if ($18) {
+ $19 = $5;
+ $20 = $8;
+ $21 = $19 << $20;
+ $22 = $7;
+ $23 = (4584 + ($22<<2)|0);
+ $24 = HEAP32[$23>>2]|0;
+ $25 = ((($24)) + 44|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = $7;
+ $28 = (4584 + ($27<<2)|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = ((($29)) + 40|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = Math_imul($26, $31)|0;
+ $33 = ($21|0)==($32|0);
+ if ($33) {
+ label = 7;
+ break L1;
+ }
+ }
+ $40 = $8;
+ $41 = (($40) + 1)|0;
+ $8 = $41;
+ }
+ $42 = $7;
+ $43 = (($42) + 1)|0;
+ $7 = $43;
+ }
+ if ((label|0) == 7) {
+ $34 = $6;
+ $35 = ($34|0)!=(0|0);
+ if ($35) {
+ $36 = $6;
+ HEAP32[$36>>2] = 0;
+ }
+ $37 = $7;
+ $38 = (4584 + ($37<<2)|0);
+ $39 = HEAP32[$38>>2]|0;
+ $3 = $39;
+ $47 = $3;
+ STACKTOP = sp;return ($47|0);
+ }
+ else if ((label|0) == 12) {
+ $44 = $6;
+ $45 = ($44|0)!=(0|0);
+ if ($45) {
+ $46 = $6;
+ HEAP32[$46>>2] = -1;
+ }
+ $3 = 0;
+ $47 = $3;
+ STACKTOP = sp;return ($47|0);
+ }
+ return (0)|0;
+}
+function _pitch_downsample($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0.0, $116 = 0.0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0.0, $122 = 0, $123 = 0.0, $124 = 0.0, $125 = 0.0, $126 = 0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0, $130 = 0, $131 = 0, $132 = 0.0, $133 = 0.0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0, $141 = 0, $142 = 0.0, $143 = 0.0, $144 = 0.0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0.0, $15 = 0, $150 = 0.0, $151 = 0, $152 = 0.0, $153 = 0.0;
+ var $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0, $158 = 0, $159 = 0.0, $16 = 0.0, $160 = 0.0, $161 = 0, $162 = 0.0, $163 = 0.0, $164 = 0.0, $165 = 0, $166 = 0, $167 = 0.0, $168 = 0.0, $169 = 0, $17 = 0, $170 = 0.0, $171 = 0.0;
+ var $172 = 0.0, $173 = 0, $174 = 0.0, $175 = 0, $176 = 0.0, $177 = 0.0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
+ var $27 = 0.0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0.0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $11 = sp + 68|0;
+ $13 = sp + 48|0;
+ $14 = sp + 24|0;
+ $15 = sp + 4|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $12 = 1.0;
+ ;HEAP32[$14>>2]=0|0;HEAP32[$14+4>>2]=0|0;HEAP32[$14+8>>2]=0|0;HEAP32[$14+12>>2]=0|0;HEAP32[$14+16>>2]=0|0;
+ $16 = 0.80000001192092896;
+ $10 = 1;
+ while(1) {
+ $17 = $10;
+ $18 = $7;
+ $19 = $18 >> 1;
+ $20 = ($17|0)<($19|0);
+ $21 = $5;
+ $22 = HEAP32[$21>>2]|0;
+ if (!($20)) {
+ break;
+ }
+ $23 = $10;
+ $24 = $23<<1;
+ $25 = (($24) - 1)|0;
+ $26 = (($22) + ($25<<2)|0);
+ $27 = +HEAPF32[$26>>2];
+ $28 = $5;
+ $29 = HEAP32[$28>>2]|0;
+ $30 = $10;
+ $31 = $30<<1;
+ $32 = (($31) + 1)|0;
+ $33 = (($29) + ($32<<2)|0);
+ $34 = +HEAPF32[$33>>2];
+ $35 = $27 + $34;
+ $36 = 0.5 * $35;
+ $37 = $5;
+ $38 = HEAP32[$37>>2]|0;
+ $39 = $10;
+ $40 = $39<<1;
+ $41 = (($38) + ($40<<2)|0);
+ $42 = +HEAPF32[$41>>2];
+ $43 = $36 + $42;
+ $44 = 0.5 * $43;
+ $45 = $6;
+ $46 = $10;
+ $47 = (($45) + ($46<<2)|0);
+ HEAPF32[$47>>2] = $44;
+ $48 = $10;
+ $49 = (($48) + 1)|0;
+ $10 = $49;
+ }
+ $50 = ((($22)) + 4|0);
+ $51 = +HEAPF32[$50>>2];
+ $52 = 0.5 * $51;
+ $53 = $5;
+ $54 = HEAP32[$53>>2]|0;
+ $55 = +HEAPF32[$54>>2];
+ $56 = $52 + $55;
+ $57 = 0.5 * $56;
+ $58 = $6;
+ HEAPF32[$58>>2] = $57;
+ $59 = $8;
+ $60 = ($59|0)==(2);
+ if ($60) {
+ $10 = 1;
+ while(1) {
+ $61 = $10;
+ $62 = $7;
+ $63 = $62 >> 1;
+ $64 = ($61|0)<($63|0);
+ $65 = $5;
+ $66 = ((($65)) + 4|0);
+ $67 = HEAP32[$66>>2]|0;
+ if (!($64)) {
+ break;
+ }
+ $68 = $10;
+ $69 = $68<<1;
+ $70 = (($69) - 1)|0;
+ $71 = (($67) + ($70<<2)|0);
+ $72 = +HEAPF32[$71>>2];
+ $73 = $5;
+ $74 = ((($73)) + 4|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $10;
+ $77 = $76<<1;
+ $78 = (($77) + 1)|0;
+ $79 = (($75) + ($78<<2)|0);
+ $80 = +HEAPF32[$79>>2];
+ $81 = $72 + $80;
+ $82 = 0.5 * $81;
+ $83 = $5;
+ $84 = ((($83)) + 4|0);
+ $85 = HEAP32[$84>>2]|0;
+ $86 = $10;
+ $87 = $86<<1;
+ $88 = (($85) + ($87<<2)|0);
+ $89 = +HEAPF32[$88>>2];
+ $90 = $82 + $89;
+ $91 = 0.5 * $90;
+ $92 = $6;
+ $93 = $10;
+ $94 = (($92) + ($93<<2)|0);
+ $95 = +HEAPF32[$94>>2];
+ $96 = $95 + $91;
+ HEAPF32[$94>>2] = $96;
+ $97 = $10;
+ $98 = (($97) + 1)|0;
+ $10 = $98;
+ }
+ $99 = ((($67)) + 4|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = 0.5 * $100;
+ $102 = $5;
+ $103 = ((($102)) + 4|0);
+ $104 = HEAP32[$103>>2]|0;
+ $105 = +HEAPF32[$104>>2];
+ $106 = $101 + $105;
+ $107 = 0.5 * $106;
+ $108 = $6;
+ $109 = +HEAPF32[$108>>2];
+ $110 = $109 + $107;
+ HEAPF32[$108>>2] = $110;
+ }
+ $111 = $6;
+ $112 = $7;
+ $113 = $112 >> 1;
+ $114 = $9;
+ (__celt_autocorr($111,$11,0,0,4,$113,$114)|0);
+ $115 = +HEAPF32[$11>>2];
+ $116 = $115 * 1.0001000165939331;
+ HEAPF32[$11>>2] = $116;
+ $10 = 1;
+ while(1) {
+ $117 = $10;
+ $118 = ($117|0)<=(4);
+ if (!($118)) {
+ break;
+ }
+ $119 = $10;
+ $120 = (($11) + ($119<<2)|0);
+ $121 = +HEAPF32[$120>>2];
+ $122 = $10;
+ $123 = (+($122|0));
+ $124 = 0.0080000003799796104 * $123;
+ $125 = $121 * $124;
+ $126 = $10;
+ $127 = (+($126|0));
+ $128 = 0.0080000003799796104 * $127;
+ $129 = $125 * $128;
+ $130 = $10;
+ $131 = (($11) + ($130<<2)|0);
+ $132 = +HEAPF32[$131>>2];
+ $133 = $132 - $129;
+ HEAPF32[$131>>2] = $133;
+ $134 = $10;
+ $135 = (($134) + 1)|0;
+ $10 = $135;
+ }
+ __celt_lpc($13,$11,4);
+ $10 = 0;
+ while(1) {
+ $136 = $10;
+ $137 = ($136|0)<(4);
+ if (!($137)) {
+ break;
+ }
+ $138 = $12;
+ $139 = 0.89999997615814208 * $138;
+ $12 = $139;
+ $140 = $10;
+ $141 = (($13) + ($140<<2)|0);
+ $142 = +HEAPF32[$141>>2];
+ $143 = $12;
+ $144 = $142 * $143;
+ $145 = $10;
+ $146 = (($13) + ($145<<2)|0);
+ HEAPF32[$146>>2] = $144;
+ $147 = $10;
+ $148 = (($147) + 1)|0;
+ $10 = $148;
+ }
+ $149 = +HEAPF32[$13>>2];
+ $150 = $149 + 0.80000001192092896;
+ HEAPF32[$15>>2] = $150;
+ $151 = ((($13)) + 4|0);
+ $152 = +HEAPF32[$151>>2];
+ $153 = $16;
+ $154 = +HEAPF32[$13>>2];
+ $155 = $153 * $154;
+ $156 = $152 + $155;
+ $157 = ((($15)) + 4|0);
+ HEAPF32[$157>>2] = $156;
+ $158 = ((($13)) + 8|0);
+ $159 = +HEAPF32[$158>>2];
+ $160 = $16;
+ $161 = ((($13)) + 4|0);
+ $162 = +HEAPF32[$161>>2];
+ $163 = $160 * $162;
+ $164 = $159 + $163;
+ $165 = ((($15)) + 8|0);
+ HEAPF32[$165>>2] = $164;
+ $166 = ((($13)) + 12|0);
+ $167 = +HEAPF32[$166>>2];
+ $168 = $16;
+ $169 = ((($13)) + 8|0);
+ $170 = +HEAPF32[$169>>2];
+ $171 = $168 * $170;
+ $172 = $167 + $171;
+ $173 = ((($15)) + 12|0);
+ HEAPF32[$173>>2] = $172;
+ $174 = $16;
+ $175 = ((($13)) + 12|0);
+ $176 = +HEAPF32[$175>>2];
+ $177 = $174 * $176;
+ $178 = ((($15)) + 16|0);
+ HEAPF32[$178>>2] = $177;
+ $179 = $6;
+ $180 = $6;
+ $181 = $7;
+ $182 = $181 >> 1;
+ _celt_fir5($179,$15,$180,$182,$14);
+ STACKTOP = sp;return;
+}
+function _celt_fir5($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0;
+ var $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0.0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0;
+ var $40 = 0.0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0.0;
+ var $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0;
+ var $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0.0, $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0;
+ var $95 = 0, $96 = 0.0, $97 = 0, $98 = 0.0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $22 = $6;
+ $23 = +HEAPF32[$22>>2];
+ $11 = $23;
+ $24 = $6;
+ $25 = ((($24)) + 4|0);
+ $26 = +HEAPF32[$25>>2];
+ $12 = $26;
+ $27 = $6;
+ $28 = ((($27)) + 8|0);
+ $29 = +HEAPF32[$28>>2];
+ $13 = $29;
+ $30 = $6;
+ $31 = ((($30)) + 12|0);
+ $32 = +HEAPF32[$31>>2];
+ $14 = $32;
+ $33 = $6;
+ $34 = ((($33)) + 16|0);
+ $35 = +HEAPF32[$34>>2];
+ $15 = $35;
+ $36 = $9;
+ $37 = +HEAPF32[$36>>2];
+ $16 = $37;
+ $38 = $9;
+ $39 = ((($38)) + 4|0);
+ $40 = +HEAPF32[$39>>2];
+ $17 = $40;
+ $41 = $9;
+ $42 = ((($41)) + 8|0);
+ $43 = +HEAPF32[$42>>2];
+ $18 = $43;
+ $44 = $9;
+ $45 = ((($44)) + 12|0);
+ $46 = +HEAPF32[$45>>2];
+ $19 = $46;
+ $47 = $9;
+ $48 = ((($47)) + 16|0);
+ $49 = +HEAPF32[$48>>2];
+ $20 = $49;
+ $10 = 0;
+ while(1) {
+ $50 = $10;
+ $51 = $8;
+ $52 = ($50|0)<($51|0);
+ if (!($52)) {
+ break;
+ }
+ $53 = $5;
+ $54 = $10;
+ $55 = (($53) + ($54<<2)|0);
+ $56 = +HEAPF32[$55>>2];
+ $21 = $56;
+ $57 = $21;
+ $58 = $11;
+ $59 = $16;
+ $60 = $58 * $59;
+ $61 = $57 + $60;
+ $21 = $61;
+ $62 = $21;
+ $63 = $12;
+ $64 = $17;
+ $65 = $63 * $64;
+ $66 = $62 + $65;
+ $21 = $66;
+ $67 = $21;
+ $68 = $13;
+ $69 = $18;
+ $70 = $68 * $69;
+ $71 = $67 + $70;
+ $21 = $71;
+ $72 = $21;
+ $73 = $14;
+ $74 = $19;
+ $75 = $73 * $74;
+ $76 = $72 + $75;
+ $21 = $76;
+ $77 = $21;
+ $78 = $15;
+ $79 = $20;
+ $80 = $78 * $79;
+ $81 = $77 + $80;
+ $21 = $81;
+ $82 = $19;
+ $20 = $82;
+ $83 = $18;
+ $19 = $83;
+ $84 = $17;
+ $18 = $84;
+ $85 = $16;
+ $17 = $85;
+ $86 = $5;
+ $87 = $10;
+ $88 = (($86) + ($87<<2)|0);
+ $89 = +HEAPF32[$88>>2];
+ $16 = $89;
+ $90 = $21;
+ $91 = $7;
+ $92 = $10;
+ $93 = (($91) + ($92<<2)|0);
+ HEAPF32[$93>>2] = $90;
+ $94 = $10;
+ $95 = (($94) + 1)|0;
+ $10 = $95;
+ }
+ $96 = $16;
+ $97 = $9;
+ HEAPF32[$97>>2] = $96;
+ $98 = $17;
+ $99 = $9;
+ $100 = ((($99)) + 4|0);
+ HEAPF32[$100>>2] = $98;
+ $101 = $18;
+ $102 = $9;
+ $103 = ((($102)) + 8|0);
+ HEAPF32[$103>>2] = $101;
+ $104 = $19;
+ $105 = $9;
+ $106 = ((($105)) + 12|0);
+ HEAPF32[$106>>2] = $104;
+ $107 = $20;
+ $108 = $9;
+ $109 = ((($108)) + 16|0);
+ HEAPF32[$109>>2] = $107;
+ STACKTOP = sp;return;
+}
+function _celt_pitch_xcorr($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0.0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $13 = sp + 8|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $12 = 0;
+ while(1) {
+ $15 = $12;
+ $16 = $10;
+ $17 = (($16) - 3)|0;
+ $18 = ($15|0)<($17|0);
+ if (!($18)) {
+ break;
+ }
+ ;HEAP32[$13>>2]=0|0;HEAP32[$13+4>>2]=0|0;HEAP32[$13+8>>2]=0|0;HEAP32[$13+12>>2]=0|0;
+ $19 = $6;
+ $20 = $7;
+ $21 = $12;
+ $22 = (($20) + ($21<<2)|0);
+ $23 = $9;
+ _xcorr_kernel_c($19,$22,$13,$23);
+ $24 = +HEAPF32[$13>>2];
+ $25 = $8;
+ $26 = $12;
+ $27 = (($25) + ($26<<2)|0);
+ HEAPF32[$27>>2] = $24;
+ $28 = ((($13)) + 4|0);
+ $29 = +HEAPF32[$28>>2];
+ $30 = $8;
+ $31 = $12;
+ $32 = (($31) + 1)|0;
+ $33 = (($30) + ($32<<2)|0);
+ HEAPF32[$33>>2] = $29;
+ $34 = ((($13)) + 8|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $8;
+ $37 = $12;
+ $38 = (($37) + 2)|0;
+ $39 = (($36) + ($38<<2)|0);
+ HEAPF32[$39>>2] = $35;
+ $40 = ((($13)) + 12|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $8;
+ $43 = $12;
+ $44 = (($43) + 3)|0;
+ $45 = (($42) + ($44<<2)|0);
+ HEAPF32[$45>>2] = $41;
+ $46 = $12;
+ $47 = (($46) + 4)|0;
+ $12 = $47;
+ }
+ while(1) {
+ $48 = $12;
+ $49 = $10;
+ $50 = ($48|0)<($49|0);
+ if (!($50)) {
+ break;
+ }
+ $51 = $6;
+ $52 = $7;
+ $53 = $12;
+ $54 = (($52) + ($53<<2)|0);
+ $55 = $9;
+ $56 = (+_celt_inner_prod_c_103($51,$54,$55));
+ $14 = $56;
+ $57 = $14;
+ $58 = $8;
+ $59 = $12;
+ $60 = (($58) + ($59<<2)|0);
+ HEAPF32[$60>>2] = $57;
+ $61 = $12;
+ $62 = (($61) + 1)|0;
+ $12 = $62;
+ }
+ STACKTOP = sp;return;
+}
+function _xcorr_kernel_c($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0.0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0.0, $116 = 0, $117 = 0.0;
+ var $118 = 0.0, $119 = 0.0, $12 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0.0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0.0, $135 = 0.0;
+ var $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0, $149 = 0, $15 = 0.0, $150 = 0, $151 = 0, $152 = 0.0, $153 = 0;
+ var $154 = 0, $155 = 0.0, $156 = 0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0.0, $160 = 0.0, $161 = 0.0, $162 = 0, $163 = 0, $164 = 0, $165 = 0.0, $166 = 0.0, $167 = 0.0, $168 = 0.0, $169 = 0.0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0, $189 = 0, $19 = 0.0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0.0, $199 = 0, $20 = 0, $200 = 0, $201 = 0.0, $202 = 0, $203 = 0.0, $204 = 0.0, $205 = 0.0, $206 = 0.0, $207 = 0.0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0.0, $212 = 0.0, $213 = 0.0, $214 = 0.0, $215 = 0.0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0.0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0.0, $224 = 0.0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0.0, $23 = 0, $230 = 0.0, $231 = 0.0, $232 = 0.0, $233 = 0.0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0.0, $243 = 0, $244 = 0;
+ var $245 = 0.0, $246 = 0, $247 = 0.0, $248 = 0.0, $249 = 0.0, $25 = 0.0, $250 = 0.0, $251 = 0.0, $252 = 0, $253 = 0, $254 = 0, $255 = 0.0, $256 = 0.0, $257 = 0.0, $258 = 0.0, $259 = 0.0, $26 = 0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0.0, $265 = 0.0, $266 = 0.0, $267 = 0.0, $268 = 0.0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0.0, $274 = 0.0, $275 = 0.0, $276 = 0.0, $277 = 0.0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0.0, $286 = 0, $287 = 0, $288 = 0.0, $289 = 0, $29 = 0, $290 = 0.0, $291 = 0.0, $292 = 0.0, $293 = 0.0, $294 = 0.0, $295 = 0, $296 = 0, $297 = 0, $298 = 0.0, $299 = 0.0;
+ var $30 = 0, $300 = 0.0, $301 = 0.0, $302 = 0.0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0.0, $308 = 0.0, $309 = 0.0, $31 = 0, $310 = 0.0, $311 = 0.0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0.0, $317 = 0.0;
+ var $318 = 0.0, $319 = 0.0, $32 = 0.0, $320 = 0.0, $321 = 0, $322 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0;
+ var $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0;
+ var $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0.0, $76 = 0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0;
+ var $82 = 0, $83 = 0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0.0, $99 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $12 = 0.0;
+ $17 = $5;
+ $18 = ((($17)) + 4|0);
+ $5 = $18;
+ $19 = +HEAPF32[$17>>2];
+ $9 = $19;
+ $20 = $5;
+ $21 = ((($20)) + 4|0);
+ $5 = $21;
+ $22 = +HEAPF32[$20>>2];
+ $10 = $22;
+ $23 = $5;
+ $24 = ((($23)) + 4|0);
+ $5 = $24;
+ $25 = +HEAPF32[$23>>2];
+ $11 = $25;
+ $8 = 0;
+ while(1) {
+ $26 = $8;
+ $27 = $7;
+ $28 = (($27) - 3)|0;
+ $29 = ($26|0)<($28|0);
+ if (!($29)) {
+ break;
+ }
+ $30 = $4;
+ $31 = ((($30)) + 4|0);
+ $4 = $31;
+ $32 = +HEAPF32[$30>>2];
+ $13 = $32;
+ $33 = $5;
+ $34 = ((($33)) + 4|0);
+ $5 = $34;
+ $35 = +HEAPF32[$33>>2];
+ $12 = $35;
+ $36 = $6;
+ $37 = +HEAPF32[$36>>2];
+ $38 = $13;
+ $39 = $9;
+ $40 = $38 * $39;
+ $41 = $37 + $40;
+ $42 = $6;
+ HEAPF32[$42>>2] = $41;
+ $43 = $6;
+ $44 = ((($43)) + 4|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $13;
+ $47 = $10;
+ $48 = $46 * $47;
+ $49 = $45 + $48;
+ $50 = $6;
+ $51 = ((($50)) + 4|0);
+ HEAPF32[$51>>2] = $49;
+ $52 = $6;
+ $53 = ((($52)) + 8|0);
+ $54 = +HEAPF32[$53>>2];
+ $55 = $13;
+ $56 = $11;
+ $57 = $55 * $56;
+ $58 = $54 + $57;
+ $59 = $6;
+ $60 = ((($59)) + 8|0);
+ HEAPF32[$60>>2] = $58;
+ $61 = $6;
+ $62 = ((($61)) + 12|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = $13;
+ $65 = $12;
+ $66 = $64 * $65;
+ $67 = $63 + $66;
+ $68 = $6;
+ $69 = ((($68)) + 12|0);
+ HEAPF32[$69>>2] = $67;
+ $70 = $4;
+ $71 = ((($70)) + 4|0);
+ $4 = $71;
+ $72 = +HEAPF32[$70>>2];
+ $13 = $72;
+ $73 = $5;
+ $74 = ((($73)) + 4|0);
+ $5 = $74;
+ $75 = +HEAPF32[$73>>2];
+ $9 = $75;
+ $76 = $6;
+ $77 = +HEAPF32[$76>>2];
+ $78 = $13;
+ $79 = $10;
+ $80 = $78 * $79;
+ $81 = $77 + $80;
+ $82 = $6;
+ HEAPF32[$82>>2] = $81;
+ $83 = $6;
+ $84 = ((($83)) + 4|0);
+ $85 = +HEAPF32[$84>>2];
+ $86 = $13;
+ $87 = $11;
+ $88 = $86 * $87;
+ $89 = $85 + $88;
+ $90 = $6;
+ $91 = ((($90)) + 4|0);
+ HEAPF32[$91>>2] = $89;
+ $92 = $6;
+ $93 = ((($92)) + 8|0);
+ $94 = +HEAPF32[$93>>2];
+ $95 = $13;
+ $96 = $12;
+ $97 = $95 * $96;
+ $98 = $94 + $97;
+ $99 = $6;
+ $100 = ((($99)) + 8|0);
+ HEAPF32[$100>>2] = $98;
+ $101 = $6;
+ $102 = ((($101)) + 12|0);
+ $103 = +HEAPF32[$102>>2];
+ $104 = $13;
+ $105 = $9;
+ $106 = $104 * $105;
+ $107 = $103 + $106;
+ $108 = $6;
+ $109 = ((($108)) + 12|0);
+ HEAPF32[$109>>2] = $107;
+ $110 = $4;
+ $111 = ((($110)) + 4|0);
+ $4 = $111;
+ $112 = +HEAPF32[$110>>2];
+ $13 = $112;
+ $113 = $5;
+ $114 = ((($113)) + 4|0);
+ $5 = $114;
+ $115 = +HEAPF32[$113>>2];
+ $10 = $115;
+ $116 = $6;
+ $117 = +HEAPF32[$116>>2];
+ $118 = $13;
+ $119 = $11;
+ $120 = $118 * $119;
+ $121 = $117 + $120;
+ $122 = $6;
+ HEAPF32[$122>>2] = $121;
+ $123 = $6;
+ $124 = ((($123)) + 4|0);
+ $125 = +HEAPF32[$124>>2];
+ $126 = $13;
+ $127 = $12;
+ $128 = $126 * $127;
+ $129 = $125 + $128;
+ $130 = $6;
+ $131 = ((($130)) + 4|0);
+ HEAPF32[$131>>2] = $129;
+ $132 = $6;
+ $133 = ((($132)) + 8|0);
+ $134 = +HEAPF32[$133>>2];
+ $135 = $13;
+ $136 = $9;
+ $137 = $135 * $136;
+ $138 = $134 + $137;
+ $139 = $6;
+ $140 = ((($139)) + 8|0);
+ HEAPF32[$140>>2] = $138;
+ $141 = $6;
+ $142 = ((($141)) + 12|0);
+ $143 = +HEAPF32[$142>>2];
+ $144 = $13;
+ $145 = $10;
+ $146 = $144 * $145;
+ $147 = $143 + $146;
+ $148 = $6;
+ $149 = ((($148)) + 12|0);
+ HEAPF32[$149>>2] = $147;
+ $150 = $4;
+ $151 = ((($150)) + 4|0);
+ $4 = $151;
+ $152 = +HEAPF32[$150>>2];
+ $13 = $152;
+ $153 = $5;
+ $154 = ((($153)) + 4|0);
+ $5 = $154;
+ $155 = +HEAPF32[$153>>2];
+ $11 = $155;
+ $156 = $6;
+ $157 = +HEAPF32[$156>>2];
+ $158 = $13;
+ $159 = $12;
+ $160 = $158 * $159;
+ $161 = $157 + $160;
+ $162 = $6;
+ HEAPF32[$162>>2] = $161;
+ $163 = $6;
+ $164 = ((($163)) + 4|0);
+ $165 = +HEAPF32[$164>>2];
+ $166 = $13;
+ $167 = $9;
+ $168 = $166 * $167;
+ $169 = $165 + $168;
+ $170 = $6;
+ $171 = ((($170)) + 4|0);
+ HEAPF32[$171>>2] = $169;
+ $172 = $6;
+ $173 = ((($172)) + 8|0);
+ $174 = +HEAPF32[$173>>2];
+ $175 = $13;
+ $176 = $10;
+ $177 = $175 * $176;
+ $178 = $174 + $177;
+ $179 = $6;
+ $180 = ((($179)) + 8|0);
+ HEAPF32[$180>>2] = $178;
+ $181 = $6;
+ $182 = ((($181)) + 12|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $13;
+ $185 = $11;
+ $186 = $184 * $185;
+ $187 = $183 + $186;
+ $188 = $6;
+ $189 = ((($188)) + 12|0);
+ HEAPF32[$189>>2] = $187;
+ $190 = $8;
+ $191 = (($190) + 4)|0;
+ $8 = $191;
+ }
+ $192 = $8;
+ $193 = (($192) + 1)|0;
+ $8 = $193;
+ $194 = $7;
+ $195 = ($192|0)<($194|0);
+ if ($195) {
+ $196 = $4;
+ $197 = ((($196)) + 4|0);
+ $4 = $197;
+ $198 = +HEAPF32[$196>>2];
+ $14 = $198;
+ $199 = $5;
+ $200 = ((($199)) + 4|0);
+ $5 = $200;
+ $201 = +HEAPF32[$199>>2];
+ $12 = $201;
+ $202 = $6;
+ $203 = +HEAPF32[$202>>2];
+ $204 = $14;
+ $205 = $9;
+ $206 = $204 * $205;
+ $207 = $203 + $206;
+ $208 = $6;
+ HEAPF32[$208>>2] = $207;
+ $209 = $6;
+ $210 = ((($209)) + 4|0);
+ $211 = +HEAPF32[$210>>2];
+ $212 = $14;
+ $213 = $10;
+ $214 = $212 * $213;
+ $215 = $211 + $214;
+ $216 = $6;
+ $217 = ((($216)) + 4|0);
+ HEAPF32[$217>>2] = $215;
+ $218 = $6;
+ $219 = ((($218)) + 8|0);
+ $220 = +HEAPF32[$219>>2];
+ $221 = $14;
+ $222 = $11;
+ $223 = $221 * $222;
+ $224 = $220 + $223;
+ $225 = $6;
+ $226 = ((($225)) + 8|0);
+ HEAPF32[$226>>2] = $224;
+ $227 = $6;
+ $228 = ((($227)) + 12|0);
+ $229 = +HEAPF32[$228>>2];
+ $230 = $14;
+ $231 = $12;
+ $232 = $230 * $231;
+ $233 = $229 + $232;
+ $234 = $6;
+ $235 = ((($234)) + 12|0);
+ HEAPF32[$235>>2] = $233;
+ }
+ $236 = $8;
+ $237 = (($236) + 1)|0;
+ $8 = $237;
+ $238 = $7;
+ $239 = ($236|0)<($238|0);
+ if ($239) {
+ $240 = $4;
+ $241 = ((($240)) + 4|0);
+ $4 = $241;
+ $242 = +HEAPF32[$240>>2];
+ $15 = $242;
+ $243 = $5;
+ $244 = ((($243)) + 4|0);
+ $5 = $244;
+ $245 = +HEAPF32[$243>>2];
+ $9 = $245;
+ $246 = $6;
+ $247 = +HEAPF32[$246>>2];
+ $248 = $15;
+ $249 = $10;
+ $250 = $248 * $249;
+ $251 = $247 + $250;
+ $252 = $6;
+ HEAPF32[$252>>2] = $251;
+ $253 = $6;
+ $254 = ((($253)) + 4|0);
+ $255 = +HEAPF32[$254>>2];
+ $256 = $15;
+ $257 = $11;
+ $258 = $256 * $257;
+ $259 = $255 + $258;
+ $260 = $6;
+ $261 = ((($260)) + 4|0);
+ HEAPF32[$261>>2] = $259;
+ $262 = $6;
+ $263 = ((($262)) + 8|0);
+ $264 = +HEAPF32[$263>>2];
+ $265 = $15;
+ $266 = $12;
+ $267 = $265 * $266;
+ $268 = $264 + $267;
+ $269 = $6;
+ $270 = ((($269)) + 8|0);
+ HEAPF32[$270>>2] = $268;
+ $271 = $6;
+ $272 = ((($271)) + 12|0);
+ $273 = +HEAPF32[$272>>2];
+ $274 = $15;
+ $275 = $9;
+ $276 = $274 * $275;
+ $277 = $273 + $276;
+ $278 = $6;
+ $279 = ((($278)) + 12|0);
+ HEAPF32[$279>>2] = $277;
+ }
+ $280 = $8;
+ $281 = $7;
+ $282 = ($280|0)<($281|0);
+ if (!($282)) {
+ STACKTOP = sp;return;
+ }
+ $283 = $4;
+ $284 = ((($283)) + 4|0);
+ $4 = $284;
+ $285 = +HEAPF32[$283>>2];
+ $16 = $285;
+ $286 = $5;
+ $287 = ((($286)) + 4|0);
+ $5 = $287;
+ $288 = +HEAPF32[$286>>2];
+ $10 = $288;
+ $289 = $6;
+ $290 = +HEAPF32[$289>>2];
+ $291 = $16;
+ $292 = $11;
+ $293 = $291 * $292;
+ $294 = $290 + $293;
+ $295 = $6;
+ HEAPF32[$295>>2] = $294;
+ $296 = $6;
+ $297 = ((($296)) + 4|0);
+ $298 = +HEAPF32[$297>>2];
+ $299 = $16;
+ $300 = $12;
+ $301 = $299 * $300;
+ $302 = $298 + $301;
+ $303 = $6;
+ $304 = ((($303)) + 4|0);
+ HEAPF32[$304>>2] = $302;
+ $305 = $6;
+ $306 = ((($305)) + 8|0);
+ $307 = +HEAPF32[$306>>2];
+ $308 = $16;
+ $309 = $9;
+ $310 = $308 * $309;
+ $311 = $307 + $310;
+ $312 = $6;
+ $313 = ((($312)) + 8|0);
+ HEAPF32[$313>>2] = $311;
+ $314 = $6;
+ $315 = ((($314)) + 12|0);
+ $316 = +HEAPF32[$315>>2];
+ $317 = $16;
+ $318 = $10;
+ $319 = $317 * $318;
+ $320 = $316 + $319;
+ $321 = $6;
+ $322 = ((($321)) + 12|0);
+ HEAPF32[$322>>2] = $320;
+ STACKTOP = sp;return;
+}
+function _celt_inner_prod_c_103($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = 0.0;
+ $6 = 0;
+ while(1) {
+ $8 = $6;
+ $9 = $5;
+ $10 = ($8|0)<($9|0);
+ $11 = $7;
+ if (!($10)) {
+ break;
+ }
+ $12 = $3;
+ $13 = $6;
+ $14 = (($12) + ($13<<2)|0);
+ $15 = +HEAPF32[$14>>2];
+ $16 = $4;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ $19 = +HEAPF32[$18>>2];
+ $20 = $15 * $19;
+ $21 = $11 + $20;
+ $7 = $21;
+ $22 = $6;
+ $23 = (($22) + 1)|0;
+ $6 = $23;
+ }
+ STACKTOP = sp;return (+$11);
+}
+function _pitch_search($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $$alloca_mul = 0, $$alloca_mul17 = 0, $$alloca_mul19 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0;
+ var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0.0;
+ var $133 = 0.0, $134 = 0, $135 = 0.0, $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $15 = 0, $16 = 0, $17 = 0;
+ var $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
+ var $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0;
+ var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
+ var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0;
+ var $94 = 0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0.0, $99 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $15 = sp + 24|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ ;HEAP32[$15>>2]=0|0;HEAP32[$15+4>>2]=0|0;
+ $22 = $8;
+ $23 = $9;
+ $24 = (($22) + ($23))|0;
+ $14 = $24;
+ $25 = $8;
+ $26 = $25 >> 2;
+ $27 = (_llvm_stacksave()|0);
+ $17 = $27;
+ $$alloca_mul = $26<<2;
+ $28 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $29 = $14;
+ $30 = $29 >> 2;
+ $$alloca_mul17 = $30<<2;
+ $31 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul17)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul17)|0)+15)&-16)|0);;
+ $32 = $9;
+ $33 = $32 >> 1;
+ $$alloca_mul19 = $33<<2;
+ $34 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul19)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul19)|0)+15)&-16)|0);;
+ $13 = 0;
+ while(1) {
+ $35 = $13;
+ $36 = $8;
+ $37 = $36 >> 2;
+ $38 = ($35|0)<($37|0);
+ if (!($38)) {
+ break;
+ }
+ $39 = $6;
+ $40 = $13;
+ $41 = $40<<1;
+ $42 = (($39) + ($41<<2)|0);
+ $43 = +HEAPF32[$42>>2];
+ $44 = $13;
+ $45 = (($28) + ($44<<2)|0);
+ HEAPF32[$45>>2] = $43;
+ $46 = $13;
+ $47 = (($46) + 1)|0;
+ $13 = $47;
+ }
+ $13 = 0;
+ while(1) {
+ $48 = $13;
+ $49 = $14;
+ $50 = $49 >> 2;
+ $51 = ($48|0)<($50|0);
+ if (!($51)) {
+ break;
+ }
+ $52 = $7;
+ $53 = $13;
+ $54 = $53<<1;
+ $55 = (($52) + ($54<<2)|0);
+ $56 = +HEAPF32[$55>>2];
+ $57 = $13;
+ $58 = (($31) + ($57<<2)|0);
+ HEAPF32[$58>>2] = $56;
+ $59 = $13;
+ $60 = (($59) + 1)|0;
+ $13 = $60;
+ }
+ $61 = $8;
+ $62 = $61 >> 2;
+ $63 = $9;
+ $64 = $63 >> 2;
+ $65 = $11;
+ _celt_pitch_xcorr($28,$31,$34,$62,$64,$65);
+ $66 = $8;
+ $67 = $66 >> 2;
+ $68 = $9;
+ $69 = $68 >> 2;
+ _find_best_pitch($34,$31,$67,$69,$15);
+ $12 = 0;
+ while(1) {
+ $70 = $12;
+ $71 = $9;
+ $72 = $71 >> 1;
+ $73 = ($70|0)<($72|0);
+ if (!($73)) {
+ break;
+ }
+ $74 = $12;
+ $75 = (($34) + ($74<<2)|0);
+ HEAPF32[$75>>2] = 0.0;
+ $76 = $12;
+ $77 = HEAP32[$15>>2]|0;
+ $78 = $77<<1;
+ $79 = (($76) - ($78))|0;
+ $80 = (Math_abs(($79|0))|0);
+ $81 = ($80|0)>(2);
+ if ($81) {
+ $82 = $12;
+ $83 = ((($15)) + 4|0);
+ $84 = HEAP32[$83>>2]|0;
+ $85 = $84<<1;
+ $86 = (($82) - ($85))|0;
+ $87 = (Math_abs(($86|0))|0);
+ $88 = ($87|0)>(2);
+ if (!($88)) {
+ label = 11;
+ }
+ } else {
+ label = 11;
+ }
+ if ((label|0) == 11) {
+ label = 0;
+ $89 = $6;
+ $90 = $7;
+ $91 = $12;
+ $92 = (($90) + ($91<<2)|0);
+ $93 = $8;
+ $94 = $93 >> 1;
+ $95 = (+_celt_inner_prod_c_103($89,$92,$94));
+ $18 = $95;
+ $96 = $18;
+ $97 = -1.0 > $96;
+ $98 = $18;
+ $99 = $97 ? -1.0 : $98;
+ $100 = $12;
+ $101 = (($34) + ($100<<2)|0);
+ HEAPF32[$101>>2] = $99;
+ }
+ $102 = $12;
+ $103 = (($102) + 1)|0;
+ $12 = $103;
+ }
+ $104 = $7;
+ $105 = $8;
+ $106 = $105 >> 1;
+ $107 = $9;
+ $108 = $107 >> 1;
+ _find_best_pitch($34,$104,$106,$108,$15);
+ $109 = HEAP32[$15>>2]|0;
+ $110 = ($109|0)>(0);
+ if ($110) {
+ $111 = HEAP32[$15>>2]|0;
+ $112 = $9;
+ $113 = $112 >> 1;
+ $114 = (($113) - 1)|0;
+ $115 = ($111|0)<($114|0);
+ if ($115) {
+ $116 = HEAP32[$15>>2]|0;
+ $117 = (($116) - 1)|0;
+ $118 = (($34) + ($117<<2)|0);
+ $119 = +HEAPF32[$118>>2];
+ $19 = $119;
+ $120 = HEAP32[$15>>2]|0;
+ $121 = (($34) + ($120<<2)|0);
+ $122 = +HEAPF32[$121>>2];
+ $20 = $122;
+ $123 = HEAP32[$15>>2]|0;
+ $124 = (($123) + 1)|0;
+ $125 = (($34) + ($124<<2)|0);
+ $126 = +HEAPF32[$125>>2];
+ $21 = $126;
+ $127 = $21;
+ $128 = $19;
+ $129 = $127 - $128;
+ $130 = $20;
+ $131 = $19;
+ $132 = $130 - $131;
+ $133 = 0.69999998807907104 * $132;
+ $134 = $129 > $133;
+ if ($134) {
+ $16 = 1;
+ $143 = HEAP32[$15>>2]|0;
+ $144 = $143<<1;
+ $145 = $16;
+ $146 = (($144) - ($145))|0;
+ $147 = $10;
+ HEAP32[$147>>2] = $146;
+ $148 = $17;
+ _llvm_stackrestore(($148|0));
+ STACKTOP = sp;return;
+ }
+ $135 = $19;
+ $136 = $21;
+ $137 = $135 - $136;
+ $138 = $20;
+ $139 = $21;
+ $140 = $138 - $139;
+ $141 = 0.69999998807907104 * $140;
+ $142 = $137 > $141;
+ if ($142) {
+ $16 = -1;
+ $143 = HEAP32[$15>>2]|0;
+ $144 = $143<<1;
+ $145 = $16;
+ $146 = (($144) - ($145))|0;
+ $147 = $10;
+ HEAP32[$147>>2] = $146;
+ $148 = $17;
+ _llvm_stackrestore(($148|0));
+ STACKTOP = sp;return;
+ } else {
+ $16 = 0;
+ $143 = HEAP32[$15>>2]|0;
+ $144 = $143<<1;
+ $145 = $16;
+ $146 = (($144) - ($145))|0;
+ $147 = $10;
+ HEAP32[$147>>2] = $146;
+ $148 = $17;
+ _llvm_stackrestore(($148|0));
+ STACKTOP = sp;return;
+ }
+ }
+ }
+ $16 = 0;
+ $143 = HEAP32[$15>>2]|0;
+ $144 = $143<<1;
+ $145 = $16;
+ $146 = (($144) - ($145))|0;
+ $147 = $10;
+ HEAP32[$147>>2] = $146;
+ $148 = $17;
+ _llvm_stackrestore(($148|0));
+ STACKTOP = sp;return;
+}
+function _find_best_pitch($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$sink = 0, $$sink1 = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0.0;
+ var $116 = 0, $117 = 0.0, $118 = 0.0, $119 = 0, $12 = 0.0, $120 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0.0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0, $64 = 0.0;
+ var $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0;
+ var $83 = 0.0, $84 = 0, $85 = 0.0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $13 = sp + 16|0;
+ $14 = sp + 8|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $12 = 1.0;
+ HEAPF32[$13>>2] = -1.0;
+ $17 = ((($13)) + 4|0);
+ HEAPF32[$17>>2] = -1.0;
+ HEAPF32[$14>>2] = 0.0;
+ $18 = ((($14)) + 4|0);
+ HEAPF32[$18>>2] = 0.0;
+ $19 = $9;
+ HEAP32[$19>>2] = 0;
+ $20 = $9;
+ $21 = ((($20)) + 4|0);
+ HEAP32[$21>>2] = 1;
+ $11 = 0;
+ while(1) {
+ $22 = $11;
+ $23 = $7;
+ $24 = ($22|0)<($23|0);
+ if (!($24)) {
+ break;
+ }
+ $25 = $12;
+ $26 = $6;
+ $27 = $11;
+ $28 = (($26) + ($27<<2)|0);
+ $29 = +HEAPF32[$28>>2];
+ $30 = $6;
+ $31 = $11;
+ $32 = (($30) + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $29 * $33;
+ $35 = $25 + $34;
+ $12 = $35;
+ $36 = $11;
+ $37 = (($36) + 1)|0;
+ $11 = $37;
+ }
+ $10 = 0;
+ while(1) {
+ $38 = $10;
+ $39 = $8;
+ $40 = ($38|0)<($39|0);
+ if (!($40)) {
+ break;
+ }
+ $41 = $5;
+ $42 = $10;
+ $43 = (($41) + ($42<<2)|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $44 > 0.0;
+ if ($45) {
+ $46 = $5;
+ $47 = $10;
+ $48 = (($46) + ($47<<2)|0);
+ $49 = +HEAPF32[$48>>2];
+ $16 = $49;
+ $50 = $16;
+ $51 = $50 * 9.999999960041972E-13;
+ $16 = $51;
+ $52 = $16;
+ $53 = $16;
+ $54 = $52 * $53;
+ $15 = $54;
+ $55 = $15;
+ $56 = ((($14)) + 4|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = $55 * $57;
+ $59 = ((($13)) + 4|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $12;
+ $62 = $60 * $61;
+ $63 = $58 > $62;
+ if ($63) {
+ $64 = $15;
+ $65 = +HEAPF32[$14>>2];
+ $66 = $64 * $65;
+ $67 = +HEAPF32[$13>>2];
+ $68 = $12;
+ $69 = $67 * $68;
+ $70 = $66 > $69;
+ if ($70) {
+ $71 = +HEAPF32[$13>>2];
+ $72 = ((($13)) + 4|0);
+ HEAPF32[$72>>2] = $71;
+ $73 = +HEAPF32[$14>>2];
+ $74 = ((($14)) + 4|0);
+ HEAPF32[$74>>2] = $73;
+ $75 = $9;
+ $76 = HEAP32[$75>>2]|0;
+ $77 = $9;
+ $78 = ((($77)) + 4|0);
+ HEAP32[$78>>2] = $76;
+ $79 = $15;
+ HEAPF32[$13>>2] = $79;
+ $80 = $12;
+ HEAPF32[$14>>2] = $80;
+ $81 = $10;
+ $82 = $9;
+ $$sink = $81;$$sink1 = $82;
+ } else {
+ $83 = $15;
+ $84 = ((($13)) + 4|0);
+ HEAPF32[$84>>2] = $83;
+ $85 = $12;
+ $86 = ((($14)) + 4|0);
+ HEAPF32[$86>>2] = $85;
+ $87 = $10;
+ $88 = $9;
+ $89 = ((($88)) + 4|0);
+ $$sink = $87;$$sink1 = $89;
+ }
+ HEAP32[$$sink1>>2] = $$sink;
+ }
+ }
+ $90 = $6;
+ $91 = $10;
+ $92 = $7;
+ $93 = (($91) + ($92))|0;
+ $94 = (($90) + ($93<<2)|0);
+ $95 = +HEAPF32[$94>>2];
+ $96 = $6;
+ $97 = $10;
+ $98 = $7;
+ $99 = (($97) + ($98))|0;
+ $100 = (($96) + ($99<<2)|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = $95 * $101;
+ $103 = $6;
+ $104 = $10;
+ $105 = (($103) + ($104<<2)|0);
+ $106 = +HEAPF32[$105>>2];
+ $107 = $6;
+ $108 = $10;
+ $109 = (($107) + ($108<<2)|0);
+ $110 = +HEAPF32[$109>>2];
+ $111 = $106 * $110;
+ $112 = $102 - $111;
+ $113 = $12;
+ $114 = $113 + $112;
+ $12 = $114;
+ $115 = $12;
+ $116 = 1.0 > $115;
+ $117 = $12;
+ $118 = $116 ? 1.0 : $117;
+ $12 = $118;
+ $119 = $10;
+ $120 = (($119) + 1)|0;
+ $10 = $120;
+ }
+ STACKTOP = sp;return;
+}
+function _remove_doubling($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = +$6;
+ $7 = $7|0;
+ var $$alloca_mul = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0.0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0.0, $116 = 0.0;
+ var $117 = 0.0, $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0.0, $121 = 0.0, $122 = 0.0, $123 = 0.0, $124 = 0.0, $125 = 0.0, $126 = 0.0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0.0;
+ var $171 = 0.0, $172 = 0.0, $173 = 0, $174 = 0, $175 = 0.0, $176 = 0, $177 = 0, $178 = 0.0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0.0, $182 = 0.0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0.0, $189 = 0.0;
+ var $19 = 0, $190 = 0.0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0.0, $197 = 0, $198 = 0, $199 = 0, $20 = 0.0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0.0, $209 = 0.0, $21 = 0.0, $210 = 0.0, $211 = 0.0, $212 = 0.0, $213 = 0.0, $214 = 0, $215 = 0.0, $216 = 0.0, $217 = 0.0, $218 = 0.0, $219 = 0.0, $22 = 0.0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0.0, $225 = 0.0;
+ var $226 = 0.0, $227 = 0.0, $228 = 0, $229 = 0.0, $23 = 0, $230 = 0.0, $231 = 0.0, $232 = 0.0, $233 = 0.0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0.0, $239 = 0.0, $24 = 0, $240 = 0.0, $241 = 0.0, $242 = 0, $243 = 0.0;
+ var $244 = 0.0, $245 = 0.0, $246 = 0.0, $247 = 0.0, $248 = 0.0, $249 = 0.0, $25 = 0.0, $250 = 0, $251 = 0.0, $252 = 0.0, $253 = 0, $254 = 0.0, $255 = 0, $256 = 0, $257 = 0.0, $258 = 0, $259 = 0.0, $26 = 0, $260 = 0.0, $261 = 0.0;
+ var $262 = 0.0, $263 = 0, $264 = 0.0, $265 = 0.0, $266 = 0.0, $267 = 0.0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0.0, $28 = 0.0;
+ var $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0.0, $286 = 0.0, $287 = 0.0, $288 = 0, $289 = 0.0, $29 = 0.0, $290 = 0.0, $291 = 0.0, $292 = 0.0, $293 = 0, $294 = 0.0, $295 = 0, $296 = 0.0, $297 = 0.0, $298 = 0;
+ var $299 = 0.0, $30 = 0, $300 = 0, $301 = 0.0, $302 = 0.0, $303 = 0.0, $304 = 0, $305 = 0.0, $306 = 0.0, $307 = 0, $308 = 0.0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0;
+ var $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0.0, $321 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0;
+ var $86 = 0, $87 = 0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
+ $23 = sp + 64|0;
+ $24 = sp + 60|0;
+ $26 = sp + 52|0;
+ $27 = sp + 40|0;
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $38 = $10;
+ $31 = $38;
+ $39 = $9;
+ $40 = (($39|0) / 2)&-1;
+ $9 = $40;
+ $41 = $10;
+ $42 = (($41|0) / 2)&-1;
+ $10 = $42;
+ $43 = $12;
+ $44 = HEAP32[$43>>2]|0;
+ $45 = (($44|0) / 2)&-1;
+ HEAP32[$43>>2] = $45;
+ $46 = $13;
+ $47 = (($46|0) / 2)&-1;
+ $13 = $47;
+ $48 = $11;
+ $49 = (($48|0) / 2)&-1;
+ $11 = $49;
+ $50 = $9;
+ $51 = $8;
+ $52 = (($51) + ($50<<2)|0);
+ $8 = $52;
+ $53 = $12;
+ $54 = HEAP32[$53>>2]|0;
+ $55 = $9;
+ $56 = ($54|0)>=($55|0);
+ if ($56) {
+ $57 = $9;
+ $58 = (($57) - 1)|0;
+ $59 = $12;
+ HEAP32[$59>>2] = $58;
+ }
+ $60 = $12;
+ $61 = HEAP32[$60>>2]|0;
+ $19 = $61;
+ $18 = $61;
+ $62 = $9;
+ $63 = (($62) + 1)|0;
+ $64 = (_llvm_stacksave()|0);
+ $32 = $64;
+ $$alloca_mul = $63<<2;
+ $65 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $66 = $8;
+ $67 = $8;
+ $68 = $8;
+ $69 = $19;
+ $70 = (0 - ($69))|0;
+ $71 = (($68) + ($70<<2)|0);
+ $72 = $11;
+ _dual_inner_prod_c($66,$67,$71,$72,$24,$23);
+ $73 = +HEAPF32[$24>>2];
+ HEAPF32[$65>>2] = $73;
+ $74 = +HEAPF32[$24>>2];
+ $25 = $74;
+ $17 = 1;
+ while(1) {
+ $75 = $17;
+ $76 = $9;
+ $77 = ($75|0)<=($76|0);
+ if (!($77)) {
+ break;
+ }
+ $78 = $25;
+ $79 = $8;
+ $80 = $17;
+ $81 = (0 - ($80))|0;
+ $82 = (($79) + ($81<<2)|0);
+ $83 = +HEAPF32[$82>>2];
+ $84 = $8;
+ $85 = $17;
+ $86 = (0 - ($85))|0;
+ $87 = (($84) + ($86<<2)|0);
+ $88 = +HEAPF32[$87>>2];
+ $89 = $83 * $88;
+ $90 = $78 + $89;
+ $91 = $8;
+ $92 = $11;
+ $93 = $17;
+ $94 = (($92) - ($93))|0;
+ $95 = (($91) + ($94<<2)|0);
+ $96 = +HEAPF32[$95>>2];
+ $97 = $8;
+ $98 = $11;
+ $99 = $17;
+ $100 = (($98) - ($99))|0;
+ $101 = (($97) + ($100<<2)|0);
+ $102 = +HEAPF32[$101>>2];
+ $103 = $96 * $102;
+ $104 = $90 - $103;
+ $25 = $104;
+ $105 = $25;
+ $106 = 0.0 > $105;
+ $107 = $25;
+ $108 = $106 ? 0.0 : $107;
+ $109 = $17;
+ $110 = (($65) + ($109<<2)|0);
+ HEAPF32[$110>>2] = $108;
+ $111 = $17;
+ $112 = (($111) + 1)|0;
+ $17 = $112;
+ }
+ $113 = $19;
+ $114 = (($65) + ($113<<2)|0);
+ $115 = +HEAPF32[$114>>2];
+ $25 = $115;
+ $116 = +HEAPF32[$23>>2];
+ $28 = $116;
+ $117 = $25;
+ $29 = $117;
+ $118 = +HEAPF32[$23>>2];
+ $119 = +HEAPF32[$24>>2];
+ $120 = $25;
+ $121 = $119 * $120;
+ $122 = 1.0 + $121;
+ $123 = $122;
+ $124 = (+Math_sqrt((+$123)));
+ $125 = $124;
+ $126 = $118 / $125;
+ $21 = $126;
+ $20 = $126;
+ $16 = 2;
+ while(1) {
+ $127 = $16;
+ $128 = ($127|0)<=(15);
+ if (!($128)) {
+ break;
+ }
+ $36 = 0.0;
+ $129 = $19;
+ $130 = $129<<1;
+ $131 = $16;
+ $132 = (($130) + ($131))|0;
+ $133 = $16;
+ $134 = $133<<1;
+ $135 = (_celt_udiv_108($132,$134)|0);
+ $33 = $135;
+ $136 = $33;
+ $137 = $10;
+ $138 = ($136|0)<($137|0);
+ if ($138) {
+ break;
+ }
+ $139 = $16;
+ $140 = ($139|0)==(2);
+ do {
+ if ($140) {
+ $141 = $33;
+ $142 = $19;
+ $143 = (($141) + ($142))|0;
+ $144 = $9;
+ $145 = ($143|0)>($144|0);
+ $146 = $19;
+ if ($145) {
+ $34 = $146;
+ break;
+ } else {
+ $147 = $33;
+ $148 = (($146) + ($147))|0;
+ $34 = $148;
+ break;
+ }
+ } else {
+ $149 = $16;
+ $150 = (16440 + ($149<<2)|0);
+ $151 = HEAP32[$150>>2]|0;
+ $152 = $151<<1;
+ $153 = $19;
+ $154 = Math_imul($152, $153)|0;
+ $155 = $16;
+ $156 = (($154) + ($155))|0;
+ $157 = $16;
+ $158 = $157<<1;
+ $159 = (_celt_udiv_108($156,$158)|0);
+ $34 = $159;
+ }
+ } while(0);
+ $160 = $8;
+ $161 = $8;
+ $162 = $33;
+ $163 = (0 - ($162))|0;
+ $164 = (($161) + ($163<<2)|0);
+ $165 = $8;
+ $166 = $34;
+ $167 = (0 - ($166))|0;
+ $168 = (($165) + ($167<<2)|0);
+ $169 = $11;
+ _dual_inner_prod_c($160,$164,$168,$169,$23,$26);
+ $170 = +HEAPF32[$26>>2];
+ $171 = +HEAPF32[$23>>2];
+ $172 = $171 + $170;
+ HEAPF32[$23>>2] = $172;
+ $173 = $33;
+ $174 = (($65) + ($173<<2)|0);
+ $175 = +HEAPF32[$174>>2];
+ $176 = $34;
+ $177 = (($65) + ($176<<2)|0);
+ $178 = +HEAPF32[$177>>2];
+ $179 = $175 + $178;
+ $25 = $179;
+ $180 = +HEAPF32[$23>>2];
+ $181 = +HEAPF32[$24>>2];
+ $182 = 2.0 * $181;
+ $183 = $182 * 1.0;
+ $184 = $25;
+ $185 = $183 * $184;
+ $186 = 1.0 + $185;
+ $187 = $186;
+ $188 = (+Math_sqrt((+$187)));
+ $189 = $188;
+ $190 = $180 / $189;
+ $35 = $190;
+ $191 = $33;
+ $192 = $13;
+ $193 = (($191) - ($192))|0;
+ $194 = (Math_abs(($193|0))|0);
+ $195 = ($194|0)<=(1);
+ do {
+ if ($195) {
+ $196 = $14;
+ $36 = $196;
+ } else {
+ $197 = $33;
+ $198 = $13;
+ $199 = (($197) - ($198))|0;
+ $200 = (Math_abs(($199|0))|0);
+ $201 = ($200|0)<=(2);
+ if ($201) {
+ $202 = $16;
+ $203 = ($202*5)|0;
+ $204 = $16;
+ $205 = Math_imul($203, $204)|0;
+ $206 = $19;
+ $207 = ($205|0)<($206|0);
+ if ($207) {
+ $208 = $14;
+ $209 = 0.5 * $208;
+ $36 = $209;
+ break;
+ }
+ }
+ $36 = 0.0;
+ }
+ } while(0);
+ $210 = $21;
+ $211 = 0.69999998807907104 * $210;
+ $212 = $36;
+ $213 = $211 - $212;
+ $214 = 0.30000001192092896 > $213;
+ if ($214) {
+ $219 = 0.30000001192092896;
+ } else {
+ $215 = $21;
+ $216 = 0.69999998807907104 * $215;
+ $217 = $36;
+ $218 = $216 - $217;
+ $219 = $218;
+ }
+ $37 = $219;
+ $220 = $33;
+ $221 = $10;
+ $222 = ($221*3)|0;
+ $223 = ($220|0)<($222|0);
+ if ($223) {
+ $224 = $21;
+ $225 = 0.85000002384185791 * $224;
+ $226 = $36;
+ $227 = $225 - $226;
+ $228 = 0.40000000596046448 > $227;
+ if ($228) {
+ $233 = 0.40000000596046448;
+ } else {
+ $229 = $21;
+ $230 = 0.85000002384185791 * $229;
+ $231 = $36;
+ $232 = $230 - $231;
+ $233 = $232;
+ }
+ $37 = $233;
+ } else {
+ $234 = $33;
+ $235 = $10;
+ $236 = $235<<1;
+ $237 = ($234|0)<($236|0);
+ if ($237) {
+ $238 = $21;
+ $239 = 0.89999997615814208 * $238;
+ $240 = $36;
+ $241 = $239 - $240;
+ $242 = 0.5 > $241;
+ if ($242) {
+ $247 = 0.5;
+ } else {
+ $243 = $21;
+ $244 = 0.89999997615814208 * $243;
+ $245 = $36;
+ $246 = $244 - $245;
+ $247 = $246;
+ }
+ $37 = $247;
+ }
+ }
+ $248 = $35;
+ $249 = $37;
+ $250 = $248 > $249;
+ if ($250) {
+ $251 = +HEAPF32[$23>>2];
+ $28 = $251;
+ $252 = $25;
+ $29 = $252;
+ $253 = $33;
+ $18 = $253;
+ $254 = $35;
+ $20 = $254;
+ }
+ $255 = $16;
+ $256 = (($255) + 1)|0;
+ $16 = $256;
+ }
+ $257 = $28;
+ $258 = 0.0 > $257;
+ $259 = $28;
+ $260 = $258 ? 0.0 : $259;
+ $28 = $260;
+ $261 = $29;
+ $262 = $28;
+ $263 = $261 <= $262;
+ if ($263) {
+ $22 = 1.0;
+ } else {
+ $264 = $28;
+ $265 = $29;
+ $266 = $265 + 1.0;
+ $267 = $264 / $266;
+ $22 = $267;
+ }
+ $16 = 0;
+ while(1) {
+ $268 = $16;
+ $269 = ($268|0)<(3);
+ if (!($269)) {
+ break;
+ }
+ $270 = $8;
+ $271 = $8;
+ $272 = $18;
+ $273 = $16;
+ $274 = (($272) + ($273))|0;
+ $275 = (($274) - 1)|0;
+ $276 = (0 - ($275))|0;
+ $277 = (($271) + ($276<<2)|0);
+ $278 = $11;
+ $279 = (+_celt_inner_prod_c_103($270,$277,$278));
+ $280 = $16;
+ $281 = (($27) + ($280<<2)|0);
+ HEAPF32[$281>>2] = $279;
+ $282 = $16;
+ $283 = (($282) + 1)|0;
+ $16 = $283;
+ }
+ $284 = ((($27)) + 8|0);
+ $285 = +HEAPF32[$284>>2];
+ $286 = +HEAPF32[$27>>2];
+ $287 = $285 - $286;
+ $288 = ((($27)) + 4|0);
+ $289 = +HEAPF32[$288>>2];
+ $290 = +HEAPF32[$27>>2];
+ $291 = $289 - $290;
+ $292 = 0.69999998807907104 * $291;
+ $293 = $287 > $292;
+ do {
+ if ($293) {
+ $30 = 1;
+ } else {
+ $294 = +HEAPF32[$27>>2];
+ $295 = ((($27)) + 8|0);
+ $296 = +HEAPF32[$295>>2];
+ $297 = $294 - $296;
+ $298 = ((($27)) + 4|0);
+ $299 = +HEAPF32[$298>>2];
+ $300 = ((($27)) + 8|0);
+ $301 = +HEAPF32[$300>>2];
+ $302 = $299 - $301;
+ $303 = 0.69999998807907104 * $302;
+ $304 = $297 > $303;
+ if ($304) {
+ $30 = -1;
+ break;
+ } else {
+ $30 = 0;
+ break;
+ }
+ }
+ } while(0);
+ $305 = $22;
+ $306 = $20;
+ $307 = $305 > $306;
+ if ($307) {
+ $308 = $20;
+ $22 = $308;
+ }
+ $309 = $18;
+ $310 = $309<<1;
+ $311 = $30;
+ $312 = (($310) + ($311))|0;
+ $313 = $12;
+ HEAP32[$313>>2] = $312;
+ $314 = $12;
+ $315 = HEAP32[$314>>2]|0;
+ $316 = $31;
+ $317 = ($315|0)<($316|0);
+ if (!($317)) {
+ $320 = $22;
+ $321 = $32;
+ _llvm_stackrestore(($321|0));
+ STACKTOP = sp;return (+$320);
+ }
+ $318 = $31;
+ $319 = $12;
+ HEAP32[$319>>2] = $318;
+ $320 = $22;
+ $321 = $32;
+ _llvm_stackrestore(($321|0));
+ STACKTOP = sp;return (+$320);
+}
+function _dual_inner_prod_c($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0.0, $29 = 0.0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $13 = 0.0;
+ $14 = 0.0;
+ $12 = 0;
+ while(1) {
+ $15 = $12;
+ $16 = $9;
+ $17 = ($15|0)<($16|0);
+ $18 = $13;
+ if (!($17)) {
+ break;
+ }
+ $19 = $6;
+ $20 = $12;
+ $21 = (($19) + ($20<<2)|0);
+ $22 = +HEAPF32[$21>>2];
+ $23 = $7;
+ $24 = $12;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = $22 * $26;
+ $28 = $18 + $27;
+ $13 = $28;
+ $29 = $14;
+ $30 = $6;
+ $31 = $12;
+ $32 = (($30) + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $8;
+ $35 = $12;
+ $36 = (($34) + ($35<<2)|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $33 * $37;
+ $39 = $29 + $38;
+ $14 = $39;
+ $40 = $12;
+ $41 = (($40) + 1)|0;
+ $12 = $41;
+ }
+ $42 = $10;
+ HEAPF32[$42>>2] = $18;
+ $43 = $14;
+ $44 = $11;
+ HEAPF32[$44>>2] = $43;
+ STACKTOP = sp;return;
+}
+function _celt_udiv_108($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = (($4>>>0) / ($5>>>0))&-1;
+ STACKTOP = sp;return ($6|0);
+}
+function __celt_lpc($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0, $11 = 0.0, $110 = 0.0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0, $12 = 0.0, $13 = 0.0, $14 = 0;
+ var $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+ var $70 = 0, $71 = 0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0.0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0;
+ var $89 = 0.0, $9 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $14 = $4;
+ $15 = +HEAPF32[$14>>2];
+ $9 = $15;
+ $16 = $3;
+ $10 = $16;
+ $6 = 0;
+ while(1) {
+ $17 = $6;
+ $18 = $5;
+ $19 = ($17|0)<($18|0);
+ if (!($19)) {
+ break;
+ }
+ $20 = $10;
+ $21 = $6;
+ $22 = (($20) + ($21<<2)|0);
+ HEAPF32[$22>>2] = 0.0;
+ $23 = $6;
+ $24 = (($23) + 1)|0;
+ $6 = $24;
+ }
+ $25 = $4;
+ $26 = +HEAPF32[$25>>2];
+ $27 = $26 != 0.0;
+ if (!($27)) {
+ STACKTOP = sp;return;
+ }
+ $6 = 0;
+ while(1) {
+ $28 = $6;
+ $29 = $5;
+ $30 = ($28|0)<($29|0);
+ if (!($30)) {
+ label = 15;
+ break;
+ }
+ $11 = 0.0;
+ $7 = 0;
+ while(1) {
+ $31 = $7;
+ $32 = $6;
+ $33 = ($31|0)<($32|0);
+ if (!($33)) {
+ break;
+ }
+ $34 = $10;
+ $35 = $7;
+ $36 = (($34) + ($35<<2)|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $4;
+ $39 = $6;
+ $40 = $7;
+ $41 = (($39) - ($40))|0;
+ $42 = (($38) + ($41<<2)|0);
+ $43 = +HEAPF32[$42>>2];
+ $44 = $37 * $43;
+ $45 = $11;
+ $46 = $45 + $44;
+ $11 = $46;
+ $47 = $7;
+ $48 = (($47) + 1)|0;
+ $7 = $48;
+ }
+ $49 = $4;
+ $50 = $6;
+ $51 = (($50) + 1)|0;
+ $52 = (($49) + ($51<<2)|0);
+ $53 = +HEAPF32[$52>>2];
+ $54 = $11;
+ $55 = $54 + $53;
+ $11 = $55;
+ $56 = $11;
+ $57 = $9;
+ $58 = $56 / $57;
+ $59 = - $58;
+ $8 = $59;
+ $60 = $8;
+ $61 = $10;
+ $62 = $6;
+ $63 = (($61) + ($62<<2)|0);
+ HEAPF32[$63>>2] = $60;
+ $7 = 0;
+ while(1) {
+ $64 = $7;
+ $65 = $6;
+ $66 = (($65) + 1)|0;
+ $67 = $66 >> 1;
+ $68 = ($64|0)<($67|0);
+ if (!($68)) {
+ break;
+ }
+ $69 = $10;
+ $70 = $7;
+ $71 = (($69) + ($70<<2)|0);
+ $72 = +HEAPF32[$71>>2];
+ $12 = $72;
+ $73 = $10;
+ $74 = $6;
+ $75 = (($74) - 1)|0;
+ $76 = $7;
+ $77 = (($75) - ($76))|0;
+ $78 = (($73) + ($77<<2)|0);
+ $79 = +HEAPF32[$78>>2];
+ $13 = $79;
+ $80 = $12;
+ $81 = $8;
+ $82 = $13;
+ $83 = $81 * $82;
+ $84 = $80 + $83;
+ $85 = $10;
+ $86 = $7;
+ $87 = (($85) + ($86<<2)|0);
+ HEAPF32[$87>>2] = $84;
+ $88 = $13;
+ $89 = $8;
+ $90 = $12;
+ $91 = $89 * $90;
+ $92 = $88 + $91;
+ $93 = $10;
+ $94 = $6;
+ $95 = (($94) - 1)|0;
+ $96 = $7;
+ $97 = (($95) - ($96))|0;
+ $98 = (($93) + ($97<<2)|0);
+ HEAPF32[$98>>2] = $92;
+ $99 = $7;
+ $100 = (($99) + 1)|0;
+ $7 = $100;
+ }
+ $101 = $9;
+ $102 = $8;
+ $103 = $8;
+ $104 = $102 * $103;
+ $105 = $9;
+ $106 = $104 * $105;
+ $107 = $101 - $106;
+ $9 = $107;
+ $108 = $9;
+ $109 = $4;
+ $110 = +HEAPF32[$109>>2];
+ $111 = 0.0010000000474974513 * $110;
+ $112 = $108 < $111;
+ if ($112) {
+ label = 15;
+ break;
+ }
+ $113 = $6;
+ $114 = (($113) + 1)|0;
+ $6 = $114;
+ }
+ if ((label|0) == 15) {
+ STACKTOP = sp;return;
+ }
+}
+function _celt_fir_c($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $$alloca_mul = 0, $$alloca_mul13 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0;
+ var $116 = 0.0, $117 = 0.0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0.0, $127 = 0, $128 = 0.0, $129 = 0.0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0.0, $143 = 0, $144 = 0, $145 = 0.0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0.0, $151 = 0.0;
+ var $152 = 0.0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0.0, $159 = 0.0, $16 = 0, $160 = 0.0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $17 = 0, $18 = 0.0, $19 = 0, $20 = 0;
+ var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0.0;
+ var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0;
+ var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $17 = sp + 8|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $19 = $11;
+ $20 = (_llvm_stacksave()|0);
+ $16 = $20;
+ $$alloca_mul = $19<<2;
+ $21 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $22 = $10;
+ $23 = $11;
+ $24 = (($22) + ($23))|0;
+ $$alloca_mul13 = $24<<2;
+ $25 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul13)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul13)|0)+15)&-16)|0);;
+ $14 = 0;
+ while(1) {
+ $26 = $14;
+ $27 = $11;
+ $28 = ($26|0)<($27|0);
+ if (!($28)) {
+ break;
+ }
+ $29 = $8;
+ $30 = $11;
+ $31 = $14;
+ $32 = (($30) - ($31))|0;
+ $33 = (($32) - 1)|0;
+ $34 = (($29) + ($33<<2)|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $14;
+ $37 = (($21) + ($36<<2)|0);
+ HEAPF32[$37>>2] = $35;
+ $38 = $14;
+ $39 = (($38) + 1)|0;
+ $14 = $39;
+ }
+ $14 = 0;
+ while(1) {
+ $40 = $14;
+ $41 = $11;
+ $42 = ($40|0)<($41|0);
+ if (!($42)) {
+ break;
+ }
+ $43 = $12;
+ $44 = $11;
+ $45 = $14;
+ $46 = (($44) - ($45))|0;
+ $47 = (($46) - 1)|0;
+ $48 = (($43) + ($47<<2)|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = $14;
+ $51 = (($25) + ($50<<2)|0);
+ HEAPF32[$51>>2] = $49;
+ $52 = $14;
+ $53 = (($52) + 1)|0;
+ $14 = $53;
+ }
+ $14 = 0;
+ while(1) {
+ $54 = $14;
+ $55 = $10;
+ $56 = ($54|0)<($55|0);
+ if (!($56)) {
+ break;
+ }
+ $57 = $7;
+ $58 = $14;
+ $59 = (($57) + ($58<<2)|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $14;
+ $62 = $11;
+ $63 = (($61) + ($62))|0;
+ $64 = (($25) + ($63<<2)|0);
+ HEAPF32[$64>>2] = $60;
+ $65 = $14;
+ $66 = (($65) + 1)|0;
+ $14 = $66;
+ }
+ $14 = 0;
+ while(1) {
+ $67 = $14;
+ $68 = $11;
+ $69 = ($67|0)<($68|0);
+ if (!($69)) {
+ break;
+ }
+ $70 = $7;
+ $71 = $10;
+ $72 = $14;
+ $73 = (($71) - ($72))|0;
+ $74 = (($73) - 1)|0;
+ $75 = (($70) + ($74<<2)|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $12;
+ $78 = $14;
+ $79 = (($77) + ($78<<2)|0);
+ HEAPF32[$79>>2] = $76;
+ $80 = $14;
+ $81 = (($80) + 1)|0;
+ $14 = $81;
+ }
+ $14 = 0;
+ while(1) {
+ $82 = $14;
+ $83 = $10;
+ $84 = (($83) - 3)|0;
+ $85 = ($82|0)<($84|0);
+ if (!($85)) {
+ break;
+ }
+ ;HEAP32[$17>>2]=0|0;HEAP32[$17+4>>2]=0|0;HEAP32[$17+8>>2]=0|0;HEAP32[$17+12>>2]=0|0;
+ $86 = $14;
+ $87 = (($25) + ($86<<2)|0);
+ $88 = $11;
+ _xcorr_kernel_c_113($21,$87,$17,$88);
+ $89 = $7;
+ $90 = $14;
+ $91 = (($89) + ($90<<2)|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = +HEAPF32[$17>>2];
+ $94 = $92 + $93;
+ $95 = $9;
+ $96 = $14;
+ $97 = (($95) + ($96<<2)|0);
+ HEAPF32[$97>>2] = $94;
+ $98 = $7;
+ $99 = $14;
+ $100 = (($99) + 1)|0;
+ $101 = (($98) + ($100<<2)|0);
+ $102 = +HEAPF32[$101>>2];
+ $103 = ((($17)) + 4|0);
+ $104 = +HEAPF32[$103>>2];
+ $105 = $102 + $104;
+ $106 = $9;
+ $107 = $14;
+ $108 = (($107) + 1)|0;
+ $109 = (($106) + ($108<<2)|0);
+ HEAPF32[$109>>2] = $105;
+ $110 = $7;
+ $111 = $14;
+ $112 = (($111) + 2)|0;
+ $113 = (($110) + ($112<<2)|0);
+ $114 = +HEAPF32[$113>>2];
+ $115 = ((($17)) + 8|0);
+ $116 = +HEAPF32[$115>>2];
+ $117 = $114 + $116;
+ $118 = $9;
+ $119 = $14;
+ $120 = (($119) + 2)|0;
+ $121 = (($118) + ($120<<2)|0);
+ HEAPF32[$121>>2] = $117;
+ $122 = $7;
+ $123 = $14;
+ $124 = (($123) + 3)|0;
+ $125 = (($122) + ($124<<2)|0);
+ $126 = +HEAPF32[$125>>2];
+ $127 = ((($17)) + 12|0);
+ $128 = +HEAPF32[$127>>2];
+ $129 = $126 + $128;
+ $130 = $9;
+ $131 = $14;
+ $132 = (($131) + 3)|0;
+ $133 = (($130) + ($132<<2)|0);
+ HEAPF32[$133>>2] = $129;
+ $134 = $14;
+ $135 = (($134) + 4)|0;
+ $14 = $135;
+ }
+ while(1) {
+ $136 = $14;
+ $137 = $10;
+ $138 = ($136|0)<($137|0);
+ if (!($138)) {
+ break;
+ }
+ $18 = 0.0;
+ $15 = 0;
+ while(1) {
+ $139 = $15;
+ $140 = $11;
+ $141 = ($139|0)<($140|0);
+ if (!($141)) {
+ break;
+ }
+ $142 = $18;
+ $143 = $15;
+ $144 = (($21) + ($143<<2)|0);
+ $145 = +HEAPF32[$144>>2];
+ $146 = $14;
+ $147 = $15;
+ $148 = (($146) + ($147))|0;
+ $149 = (($25) + ($148<<2)|0);
+ $150 = +HEAPF32[$149>>2];
+ $151 = $145 * $150;
+ $152 = $142 + $151;
+ $18 = $152;
+ $153 = $15;
+ $154 = (($153) + 1)|0;
+ $15 = $154;
+ }
+ $155 = $7;
+ $156 = $14;
+ $157 = (($155) + ($156<<2)|0);
+ $158 = +HEAPF32[$157>>2];
+ $159 = $18;
+ $160 = $158 + $159;
+ $161 = $9;
+ $162 = $14;
+ $163 = (($161) + ($162<<2)|0);
+ HEAPF32[$163>>2] = $160;
+ $164 = $14;
+ $165 = (($164) + 1)|0;
+ $14 = $165;
+ }
+ $166 = $16;
+ _llvm_stackrestore(($166|0));
+ STACKTOP = sp;return;
+}
+function _xcorr_kernel_c_113($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0.0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0.0, $116 = 0, $117 = 0.0;
+ var $118 = 0.0, $119 = 0.0, $12 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0.0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0.0, $135 = 0.0;
+ var $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0, $149 = 0, $15 = 0.0, $150 = 0, $151 = 0, $152 = 0.0, $153 = 0;
+ var $154 = 0, $155 = 0.0, $156 = 0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0.0, $160 = 0.0, $161 = 0.0, $162 = 0, $163 = 0, $164 = 0, $165 = 0.0, $166 = 0.0, $167 = 0.0, $168 = 0.0, $169 = 0.0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0, $189 = 0, $19 = 0.0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0.0, $199 = 0, $20 = 0, $200 = 0, $201 = 0.0, $202 = 0, $203 = 0.0, $204 = 0.0, $205 = 0.0, $206 = 0.0, $207 = 0.0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0.0, $212 = 0.0, $213 = 0.0, $214 = 0.0, $215 = 0.0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0.0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0.0, $224 = 0.0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0.0, $23 = 0, $230 = 0.0, $231 = 0.0, $232 = 0.0, $233 = 0.0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0.0, $243 = 0, $244 = 0;
+ var $245 = 0.0, $246 = 0, $247 = 0.0, $248 = 0.0, $249 = 0.0, $25 = 0.0, $250 = 0.0, $251 = 0.0, $252 = 0, $253 = 0, $254 = 0, $255 = 0.0, $256 = 0.0, $257 = 0.0, $258 = 0.0, $259 = 0.0, $26 = 0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0.0, $265 = 0.0, $266 = 0.0, $267 = 0.0, $268 = 0.0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0.0, $274 = 0.0, $275 = 0.0, $276 = 0.0, $277 = 0.0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0.0, $286 = 0, $287 = 0, $288 = 0.0, $289 = 0, $29 = 0, $290 = 0.0, $291 = 0.0, $292 = 0.0, $293 = 0.0, $294 = 0.0, $295 = 0, $296 = 0, $297 = 0, $298 = 0.0, $299 = 0.0;
+ var $30 = 0, $300 = 0.0, $301 = 0.0, $302 = 0.0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0.0, $308 = 0.0, $309 = 0.0, $31 = 0, $310 = 0.0, $311 = 0.0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0.0, $317 = 0.0;
+ var $318 = 0.0, $319 = 0.0, $32 = 0.0, $320 = 0.0, $321 = 0, $322 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0;
+ var $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0;
+ var $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0.0, $76 = 0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0;
+ var $82 = 0, $83 = 0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0.0, $99 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $12 = 0.0;
+ $17 = $5;
+ $18 = ((($17)) + 4|0);
+ $5 = $18;
+ $19 = +HEAPF32[$17>>2];
+ $9 = $19;
+ $20 = $5;
+ $21 = ((($20)) + 4|0);
+ $5 = $21;
+ $22 = +HEAPF32[$20>>2];
+ $10 = $22;
+ $23 = $5;
+ $24 = ((($23)) + 4|0);
+ $5 = $24;
+ $25 = +HEAPF32[$23>>2];
+ $11 = $25;
+ $8 = 0;
+ while(1) {
+ $26 = $8;
+ $27 = $7;
+ $28 = (($27) - 3)|0;
+ $29 = ($26|0)<($28|0);
+ if (!($29)) {
+ break;
+ }
+ $30 = $4;
+ $31 = ((($30)) + 4|0);
+ $4 = $31;
+ $32 = +HEAPF32[$30>>2];
+ $13 = $32;
+ $33 = $5;
+ $34 = ((($33)) + 4|0);
+ $5 = $34;
+ $35 = +HEAPF32[$33>>2];
+ $12 = $35;
+ $36 = $6;
+ $37 = +HEAPF32[$36>>2];
+ $38 = $13;
+ $39 = $9;
+ $40 = $38 * $39;
+ $41 = $37 + $40;
+ $42 = $6;
+ HEAPF32[$42>>2] = $41;
+ $43 = $6;
+ $44 = ((($43)) + 4|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $13;
+ $47 = $10;
+ $48 = $46 * $47;
+ $49 = $45 + $48;
+ $50 = $6;
+ $51 = ((($50)) + 4|0);
+ HEAPF32[$51>>2] = $49;
+ $52 = $6;
+ $53 = ((($52)) + 8|0);
+ $54 = +HEAPF32[$53>>2];
+ $55 = $13;
+ $56 = $11;
+ $57 = $55 * $56;
+ $58 = $54 + $57;
+ $59 = $6;
+ $60 = ((($59)) + 8|0);
+ HEAPF32[$60>>2] = $58;
+ $61 = $6;
+ $62 = ((($61)) + 12|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = $13;
+ $65 = $12;
+ $66 = $64 * $65;
+ $67 = $63 + $66;
+ $68 = $6;
+ $69 = ((($68)) + 12|0);
+ HEAPF32[$69>>2] = $67;
+ $70 = $4;
+ $71 = ((($70)) + 4|0);
+ $4 = $71;
+ $72 = +HEAPF32[$70>>2];
+ $13 = $72;
+ $73 = $5;
+ $74 = ((($73)) + 4|0);
+ $5 = $74;
+ $75 = +HEAPF32[$73>>2];
+ $9 = $75;
+ $76 = $6;
+ $77 = +HEAPF32[$76>>2];
+ $78 = $13;
+ $79 = $10;
+ $80 = $78 * $79;
+ $81 = $77 + $80;
+ $82 = $6;
+ HEAPF32[$82>>2] = $81;
+ $83 = $6;
+ $84 = ((($83)) + 4|0);
+ $85 = +HEAPF32[$84>>2];
+ $86 = $13;
+ $87 = $11;
+ $88 = $86 * $87;
+ $89 = $85 + $88;
+ $90 = $6;
+ $91 = ((($90)) + 4|0);
+ HEAPF32[$91>>2] = $89;
+ $92 = $6;
+ $93 = ((($92)) + 8|0);
+ $94 = +HEAPF32[$93>>2];
+ $95 = $13;
+ $96 = $12;
+ $97 = $95 * $96;
+ $98 = $94 + $97;
+ $99 = $6;
+ $100 = ((($99)) + 8|0);
+ HEAPF32[$100>>2] = $98;
+ $101 = $6;
+ $102 = ((($101)) + 12|0);
+ $103 = +HEAPF32[$102>>2];
+ $104 = $13;
+ $105 = $9;
+ $106 = $104 * $105;
+ $107 = $103 + $106;
+ $108 = $6;
+ $109 = ((($108)) + 12|0);
+ HEAPF32[$109>>2] = $107;
+ $110 = $4;
+ $111 = ((($110)) + 4|0);
+ $4 = $111;
+ $112 = +HEAPF32[$110>>2];
+ $13 = $112;
+ $113 = $5;
+ $114 = ((($113)) + 4|0);
+ $5 = $114;
+ $115 = +HEAPF32[$113>>2];
+ $10 = $115;
+ $116 = $6;
+ $117 = +HEAPF32[$116>>2];
+ $118 = $13;
+ $119 = $11;
+ $120 = $118 * $119;
+ $121 = $117 + $120;
+ $122 = $6;
+ HEAPF32[$122>>2] = $121;
+ $123 = $6;
+ $124 = ((($123)) + 4|0);
+ $125 = +HEAPF32[$124>>2];
+ $126 = $13;
+ $127 = $12;
+ $128 = $126 * $127;
+ $129 = $125 + $128;
+ $130 = $6;
+ $131 = ((($130)) + 4|0);
+ HEAPF32[$131>>2] = $129;
+ $132 = $6;
+ $133 = ((($132)) + 8|0);
+ $134 = +HEAPF32[$133>>2];
+ $135 = $13;
+ $136 = $9;
+ $137 = $135 * $136;
+ $138 = $134 + $137;
+ $139 = $6;
+ $140 = ((($139)) + 8|0);
+ HEAPF32[$140>>2] = $138;
+ $141 = $6;
+ $142 = ((($141)) + 12|0);
+ $143 = +HEAPF32[$142>>2];
+ $144 = $13;
+ $145 = $10;
+ $146 = $144 * $145;
+ $147 = $143 + $146;
+ $148 = $6;
+ $149 = ((($148)) + 12|0);
+ HEAPF32[$149>>2] = $147;
+ $150 = $4;
+ $151 = ((($150)) + 4|0);
+ $4 = $151;
+ $152 = +HEAPF32[$150>>2];
+ $13 = $152;
+ $153 = $5;
+ $154 = ((($153)) + 4|0);
+ $5 = $154;
+ $155 = +HEAPF32[$153>>2];
+ $11 = $155;
+ $156 = $6;
+ $157 = +HEAPF32[$156>>2];
+ $158 = $13;
+ $159 = $12;
+ $160 = $158 * $159;
+ $161 = $157 + $160;
+ $162 = $6;
+ HEAPF32[$162>>2] = $161;
+ $163 = $6;
+ $164 = ((($163)) + 4|0);
+ $165 = +HEAPF32[$164>>2];
+ $166 = $13;
+ $167 = $9;
+ $168 = $166 * $167;
+ $169 = $165 + $168;
+ $170 = $6;
+ $171 = ((($170)) + 4|0);
+ HEAPF32[$171>>2] = $169;
+ $172 = $6;
+ $173 = ((($172)) + 8|0);
+ $174 = +HEAPF32[$173>>2];
+ $175 = $13;
+ $176 = $10;
+ $177 = $175 * $176;
+ $178 = $174 + $177;
+ $179 = $6;
+ $180 = ((($179)) + 8|0);
+ HEAPF32[$180>>2] = $178;
+ $181 = $6;
+ $182 = ((($181)) + 12|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $13;
+ $185 = $11;
+ $186 = $184 * $185;
+ $187 = $183 + $186;
+ $188 = $6;
+ $189 = ((($188)) + 12|0);
+ HEAPF32[$189>>2] = $187;
+ $190 = $8;
+ $191 = (($190) + 4)|0;
+ $8 = $191;
+ }
+ $192 = $8;
+ $193 = (($192) + 1)|0;
+ $8 = $193;
+ $194 = $7;
+ $195 = ($192|0)<($194|0);
+ if ($195) {
+ $196 = $4;
+ $197 = ((($196)) + 4|0);
+ $4 = $197;
+ $198 = +HEAPF32[$196>>2];
+ $14 = $198;
+ $199 = $5;
+ $200 = ((($199)) + 4|0);
+ $5 = $200;
+ $201 = +HEAPF32[$199>>2];
+ $12 = $201;
+ $202 = $6;
+ $203 = +HEAPF32[$202>>2];
+ $204 = $14;
+ $205 = $9;
+ $206 = $204 * $205;
+ $207 = $203 + $206;
+ $208 = $6;
+ HEAPF32[$208>>2] = $207;
+ $209 = $6;
+ $210 = ((($209)) + 4|0);
+ $211 = +HEAPF32[$210>>2];
+ $212 = $14;
+ $213 = $10;
+ $214 = $212 * $213;
+ $215 = $211 + $214;
+ $216 = $6;
+ $217 = ((($216)) + 4|0);
+ HEAPF32[$217>>2] = $215;
+ $218 = $6;
+ $219 = ((($218)) + 8|0);
+ $220 = +HEAPF32[$219>>2];
+ $221 = $14;
+ $222 = $11;
+ $223 = $221 * $222;
+ $224 = $220 + $223;
+ $225 = $6;
+ $226 = ((($225)) + 8|0);
+ HEAPF32[$226>>2] = $224;
+ $227 = $6;
+ $228 = ((($227)) + 12|0);
+ $229 = +HEAPF32[$228>>2];
+ $230 = $14;
+ $231 = $12;
+ $232 = $230 * $231;
+ $233 = $229 + $232;
+ $234 = $6;
+ $235 = ((($234)) + 12|0);
+ HEAPF32[$235>>2] = $233;
+ }
+ $236 = $8;
+ $237 = (($236) + 1)|0;
+ $8 = $237;
+ $238 = $7;
+ $239 = ($236|0)<($238|0);
+ if ($239) {
+ $240 = $4;
+ $241 = ((($240)) + 4|0);
+ $4 = $241;
+ $242 = +HEAPF32[$240>>2];
+ $15 = $242;
+ $243 = $5;
+ $244 = ((($243)) + 4|0);
+ $5 = $244;
+ $245 = +HEAPF32[$243>>2];
+ $9 = $245;
+ $246 = $6;
+ $247 = +HEAPF32[$246>>2];
+ $248 = $15;
+ $249 = $10;
+ $250 = $248 * $249;
+ $251 = $247 + $250;
+ $252 = $6;
+ HEAPF32[$252>>2] = $251;
+ $253 = $6;
+ $254 = ((($253)) + 4|0);
+ $255 = +HEAPF32[$254>>2];
+ $256 = $15;
+ $257 = $11;
+ $258 = $256 * $257;
+ $259 = $255 + $258;
+ $260 = $6;
+ $261 = ((($260)) + 4|0);
+ HEAPF32[$261>>2] = $259;
+ $262 = $6;
+ $263 = ((($262)) + 8|0);
+ $264 = +HEAPF32[$263>>2];
+ $265 = $15;
+ $266 = $12;
+ $267 = $265 * $266;
+ $268 = $264 + $267;
+ $269 = $6;
+ $270 = ((($269)) + 8|0);
+ HEAPF32[$270>>2] = $268;
+ $271 = $6;
+ $272 = ((($271)) + 12|0);
+ $273 = +HEAPF32[$272>>2];
+ $274 = $15;
+ $275 = $9;
+ $276 = $274 * $275;
+ $277 = $273 + $276;
+ $278 = $6;
+ $279 = ((($278)) + 12|0);
+ HEAPF32[$279>>2] = $277;
+ }
+ $280 = $8;
+ $281 = $7;
+ $282 = ($280|0)<($281|0);
+ if (!($282)) {
+ STACKTOP = sp;return;
+ }
+ $283 = $4;
+ $284 = ((($283)) + 4|0);
+ $4 = $284;
+ $285 = +HEAPF32[$283>>2];
+ $16 = $285;
+ $286 = $5;
+ $287 = ((($286)) + 4|0);
+ $5 = $287;
+ $288 = +HEAPF32[$286>>2];
+ $10 = $288;
+ $289 = $6;
+ $290 = +HEAPF32[$289>>2];
+ $291 = $16;
+ $292 = $11;
+ $293 = $291 * $292;
+ $294 = $290 + $293;
+ $295 = $6;
+ HEAPF32[$295>>2] = $294;
+ $296 = $6;
+ $297 = ((($296)) + 4|0);
+ $298 = +HEAPF32[$297>>2];
+ $299 = $16;
+ $300 = $12;
+ $301 = $299 * $300;
+ $302 = $298 + $301;
+ $303 = $6;
+ $304 = ((($303)) + 4|0);
+ HEAPF32[$304>>2] = $302;
+ $305 = $6;
+ $306 = ((($305)) + 8|0);
+ $307 = +HEAPF32[$306>>2];
+ $308 = $16;
+ $309 = $9;
+ $310 = $308 * $309;
+ $311 = $307 + $310;
+ $312 = $6;
+ $313 = ((($312)) + 8|0);
+ HEAPF32[$313>>2] = $311;
+ $314 = $6;
+ $315 = ((($314)) + 12|0);
+ $316 = +HEAPF32[$315>>2];
+ $317 = $16;
+ $318 = $10;
+ $319 = $317 * $318;
+ $320 = $316 + $319;
+ $321 = $6;
+ $322 = ((($321)) + 12|0);
+ HEAPF32[$322>>2] = $320;
+ STACKTOP = sp;return;
+}
+function _celt_iir($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $$alloca_mul = 0, $$alloca_mul13 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0, $115 = 0;
+ var $116 = 0.0, $117 = 0.0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0.0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $136 = 0.0, $137 = 0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0.0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0.0, $149 = 0, $15 = 0, $150 = 0, $151 = 0.0;
+ var $152 = 0.0, $153 = 0.0, $154 = 0, $155 = 0, $156 = 0.0, $157 = 0.0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0.0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
+ var $170 = 0.0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0.0, $177 = 0, $178 = 0.0, $179 = 0.0, $18 = 0.0, $180 = 0.0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
+ var $189 = 0.0, $19 = 0, $190 = 0, $191 = 0, $192 = 0.0, $193 = 0.0, $194 = 0.0, $195 = 0, $196 = 0, $197 = 0.0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0.0, $203 = 0, $204 = 0, $205 = 0.0, $206 = 0.0;
+ var $207 = 0.0, $208 = 0, $209 = 0, $21 = 0, $210 = 0.0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0.0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0;
+ var $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0.0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0.0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0.0;
+ var $243 = 0.0, $244 = 0.0, $245 = 0.0, $246 = 0, $247 = 0, $248 = 0.0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0.0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0;
+ var $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0.0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $50 = 0.0, $51 = 0, $52 = 0;
+ var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0;
+ var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0, $9 = 0;
+ var $90 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $17 = sp + 8|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $19 = $11;
+ $20 = (_llvm_stacksave()|0);
+ $16 = $20;
+ $$alloca_mul = $19<<2;
+ $21 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $22 = $10;
+ $23 = $11;
+ $24 = (($22) + ($23))|0;
+ $$alloca_mul13 = $24<<2;
+ $25 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul13)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul13)|0)+15)&-16)|0);;
+ $14 = 0;
+ while(1) {
+ $26 = $14;
+ $27 = $11;
+ $28 = ($26|0)<($27|0);
+ if (!($28)) {
+ break;
+ }
+ $29 = $8;
+ $30 = $11;
+ $31 = $14;
+ $32 = (($30) - ($31))|0;
+ $33 = (($32) - 1)|0;
+ $34 = (($29) + ($33<<2)|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $14;
+ $37 = (($21) + ($36<<2)|0);
+ HEAPF32[$37>>2] = $35;
+ $38 = $14;
+ $39 = (($38) + 1)|0;
+ $14 = $39;
+ }
+ $14 = 0;
+ while(1) {
+ $40 = $14;
+ $41 = $11;
+ $42 = ($40|0)<($41|0);
+ if (!($42)) {
+ break;
+ }
+ $43 = $12;
+ $44 = $11;
+ $45 = $14;
+ $46 = (($44) - ($45))|0;
+ $47 = (($46) - 1)|0;
+ $48 = (($43) + ($47<<2)|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = - $49;
+ $51 = $14;
+ $52 = (($25) + ($51<<2)|0);
+ HEAPF32[$52>>2] = $50;
+ $53 = $14;
+ $54 = (($53) + 1)|0;
+ $14 = $54;
+ }
+ while(1) {
+ $55 = $14;
+ $56 = $10;
+ $57 = $11;
+ $58 = (($56) + ($57))|0;
+ $59 = ($55|0)<($58|0);
+ if (!($59)) {
+ break;
+ }
+ $60 = $14;
+ $61 = (($25) + ($60<<2)|0);
+ HEAPF32[$61>>2] = 0.0;
+ $62 = $14;
+ $63 = (($62) + 1)|0;
+ $14 = $63;
+ }
+ $14 = 0;
+ while(1) {
+ $64 = $14;
+ $65 = $10;
+ $66 = (($65) - 3)|0;
+ $67 = ($64|0)<($66|0);
+ if (!($67)) {
+ break;
+ }
+ $68 = $7;
+ $69 = $14;
+ $70 = (($68) + ($69<<2)|0);
+ $71 = +HEAPF32[$70>>2];
+ HEAPF32[$17>>2] = $71;
+ $72 = $7;
+ $73 = $14;
+ $74 = (($73) + 1)|0;
+ $75 = (($72) + ($74<<2)|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = ((($17)) + 4|0);
+ HEAPF32[$77>>2] = $76;
+ $78 = $7;
+ $79 = $14;
+ $80 = (($79) + 2)|0;
+ $81 = (($78) + ($80<<2)|0);
+ $82 = +HEAPF32[$81>>2];
+ $83 = ((($17)) + 8|0);
+ HEAPF32[$83>>2] = $82;
+ $84 = $7;
+ $85 = $14;
+ $86 = (($85) + 3)|0;
+ $87 = (($84) + ($86<<2)|0);
+ $88 = +HEAPF32[$87>>2];
+ $89 = ((($17)) + 12|0);
+ HEAPF32[$89>>2] = $88;
+ $90 = $14;
+ $91 = (($25) + ($90<<2)|0);
+ $92 = $11;
+ _xcorr_kernel_c_113($21,$91,$17,$92);
+ $93 = +HEAPF32[$17>>2];
+ $94 = - $93;
+ $95 = $14;
+ $96 = $11;
+ $97 = (($95) + ($96))|0;
+ $98 = (($25) + ($97<<2)|0);
+ HEAPF32[$98>>2] = $94;
+ $99 = +HEAPF32[$17>>2];
+ $100 = $9;
+ $101 = $14;
+ $102 = (($100) + ($101<<2)|0);
+ HEAPF32[$102>>2] = $99;
+ $103 = ((($17)) + 4|0);
+ $104 = +HEAPF32[$103>>2];
+ $105 = $14;
+ $106 = $11;
+ $107 = (($105) + ($106))|0;
+ $108 = (($25) + ($107<<2)|0);
+ $109 = +HEAPF32[$108>>2];
+ $110 = $8;
+ $111 = +HEAPF32[$110>>2];
+ $112 = $109 * $111;
+ $113 = $104 + $112;
+ $114 = ((($17)) + 4|0);
+ HEAPF32[$114>>2] = $113;
+ $115 = ((($17)) + 4|0);
+ $116 = +HEAPF32[$115>>2];
+ $117 = - $116;
+ $118 = $14;
+ $119 = $11;
+ $120 = (($118) + ($119))|0;
+ $121 = (($120) + 1)|0;
+ $122 = (($25) + ($121<<2)|0);
+ HEAPF32[$122>>2] = $117;
+ $123 = ((($17)) + 4|0);
+ $124 = +HEAPF32[$123>>2];
+ $125 = $9;
+ $126 = $14;
+ $127 = (($126) + 1)|0;
+ $128 = (($125) + ($127<<2)|0);
+ HEAPF32[$128>>2] = $124;
+ $129 = ((($17)) + 8|0);
+ $130 = +HEAPF32[$129>>2];
+ $131 = $14;
+ $132 = $11;
+ $133 = (($131) + ($132))|0;
+ $134 = (($133) + 1)|0;
+ $135 = (($25) + ($134<<2)|0);
+ $136 = +HEAPF32[$135>>2];
+ $137 = $8;
+ $138 = +HEAPF32[$137>>2];
+ $139 = $136 * $138;
+ $140 = $130 + $139;
+ $141 = ((($17)) + 8|0);
+ HEAPF32[$141>>2] = $140;
+ $142 = ((($17)) + 8|0);
+ $143 = +HEAPF32[$142>>2];
+ $144 = $14;
+ $145 = $11;
+ $146 = (($144) + ($145))|0;
+ $147 = (($25) + ($146<<2)|0);
+ $148 = +HEAPF32[$147>>2];
+ $149 = $8;
+ $150 = ((($149)) + 4|0);
+ $151 = +HEAPF32[$150>>2];
+ $152 = $148 * $151;
+ $153 = $143 + $152;
+ $154 = ((($17)) + 8|0);
+ HEAPF32[$154>>2] = $153;
+ $155 = ((($17)) + 8|0);
+ $156 = +HEAPF32[$155>>2];
+ $157 = - $156;
+ $158 = $14;
+ $159 = $11;
+ $160 = (($158) + ($159))|0;
+ $161 = (($160) + 2)|0;
+ $162 = (($25) + ($161<<2)|0);
+ HEAPF32[$162>>2] = $157;
+ $163 = ((($17)) + 8|0);
+ $164 = +HEAPF32[$163>>2];
+ $165 = $9;
+ $166 = $14;
+ $167 = (($166) + 2)|0;
+ $168 = (($165) + ($167<<2)|0);
+ HEAPF32[$168>>2] = $164;
+ $169 = ((($17)) + 12|0);
+ $170 = +HEAPF32[$169>>2];
+ $171 = $14;
+ $172 = $11;
+ $173 = (($171) + ($172))|0;
+ $174 = (($173) + 2)|0;
+ $175 = (($25) + ($174<<2)|0);
+ $176 = +HEAPF32[$175>>2];
+ $177 = $8;
+ $178 = +HEAPF32[$177>>2];
+ $179 = $176 * $178;
+ $180 = $170 + $179;
+ $181 = ((($17)) + 12|0);
+ HEAPF32[$181>>2] = $180;
+ $182 = ((($17)) + 12|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $14;
+ $185 = $11;
+ $186 = (($184) + ($185))|0;
+ $187 = (($186) + 1)|0;
+ $188 = (($25) + ($187<<2)|0);
+ $189 = +HEAPF32[$188>>2];
+ $190 = $8;
+ $191 = ((($190)) + 4|0);
+ $192 = +HEAPF32[$191>>2];
+ $193 = $189 * $192;
+ $194 = $183 + $193;
+ $195 = ((($17)) + 12|0);
+ HEAPF32[$195>>2] = $194;
+ $196 = ((($17)) + 12|0);
+ $197 = +HEAPF32[$196>>2];
+ $198 = $14;
+ $199 = $11;
+ $200 = (($198) + ($199))|0;
+ $201 = (($25) + ($200<<2)|0);
+ $202 = +HEAPF32[$201>>2];
+ $203 = $8;
+ $204 = ((($203)) + 8|0);
+ $205 = +HEAPF32[$204>>2];
+ $206 = $202 * $205;
+ $207 = $197 + $206;
+ $208 = ((($17)) + 12|0);
+ HEAPF32[$208>>2] = $207;
+ $209 = ((($17)) + 12|0);
+ $210 = +HEAPF32[$209>>2];
+ $211 = - $210;
+ $212 = $14;
+ $213 = $11;
+ $214 = (($212) + ($213))|0;
+ $215 = (($214) + 3)|0;
+ $216 = (($25) + ($215<<2)|0);
+ HEAPF32[$216>>2] = $211;
+ $217 = ((($17)) + 12|0);
+ $218 = +HEAPF32[$217>>2];
+ $219 = $9;
+ $220 = $14;
+ $221 = (($220) + 3)|0;
+ $222 = (($219) + ($221<<2)|0);
+ HEAPF32[$222>>2] = $218;
+ $223 = $14;
+ $224 = (($223) + 4)|0;
+ $14 = $224;
+ }
+ while(1) {
+ $225 = $14;
+ $226 = $10;
+ $227 = ($225|0)<($226|0);
+ if (!($227)) {
+ break;
+ }
+ $228 = $7;
+ $229 = $14;
+ $230 = (($228) + ($229<<2)|0);
+ $231 = +HEAPF32[$230>>2];
+ $18 = $231;
+ $15 = 0;
+ while(1) {
+ $232 = $15;
+ $233 = $11;
+ $234 = ($232|0)<($233|0);
+ if (!($234)) {
+ break;
+ }
+ $235 = $15;
+ $236 = (($21) + ($235<<2)|0);
+ $237 = +HEAPF32[$236>>2];
+ $238 = $14;
+ $239 = $15;
+ $240 = (($238) + ($239))|0;
+ $241 = (($25) + ($240<<2)|0);
+ $242 = +HEAPF32[$241>>2];
+ $243 = $237 * $242;
+ $244 = $18;
+ $245 = $244 - $243;
+ $18 = $245;
+ $246 = $15;
+ $247 = (($246) + 1)|0;
+ $15 = $247;
+ }
+ $248 = $18;
+ $249 = $14;
+ $250 = $11;
+ $251 = (($249) + ($250))|0;
+ $252 = (($25) + ($251<<2)|0);
+ HEAPF32[$252>>2] = $248;
+ $253 = $18;
+ $254 = $9;
+ $255 = $14;
+ $256 = (($254) + ($255<<2)|0);
+ HEAPF32[$256>>2] = $253;
+ $257 = $14;
+ $258 = (($257) + 1)|0;
+ $14 = $258;
+ }
+ $14 = 0;
+ while(1) {
+ $259 = $14;
+ $260 = $11;
+ $261 = ($259|0)<($260|0);
+ if (!($261)) {
+ break;
+ }
+ $262 = $9;
+ $263 = $10;
+ $264 = $14;
+ $265 = (($263) - ($264))|0;
+ $266 = (($265) - 1)|0;
+ $267 = (($262) + ($266<<2)|0);
+ $268 = +HEAPF32[$267>>2];
+ $269 = $12;
+ $270 = $14;
+ $271 = (($269) + ($270<<2)|0);
+ HEAPF32[$271>>2] = $268;
+ $272 = $14;
+ $273 = (($272) + 1)|0;
+ $14 = $273;
+ }
+ $274 = $16;
+ _llvm_stackrestore(($274|0));
+ STACKTOP = sp;return;
+}
+function __celt_autocorr($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $$alloca_mul = 0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $12 = 0, $13 = 0, $14 = 0.0;
+ var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0;
+ var $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0;
+ var $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0;
+ var $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0.0, $91 = 0;
+ var $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $21 = $12;
+ $22 = $11;
+ $23 = (($21) - ($22))|0;
+ $17 = $23;
+ $24 = $12;
+ $25 = (_llvm_stacksave()|0);
+ $20 = $25;
+ $$alloca_mul = $24<<2;
+ $26 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $27 = $10;
+ $28 = ($27|0)==(0);
+ if ($28) {
+ $29 = $7;
+ $19 = $29;
+ } else {
+ $15 = 0;
+ while(1) {
+ $30 = $15;
+ $31 = $12;
+ $32 = ($30|0)<($31|0);
+ if (!($32)) {
+ break;
+ }
+ $33 = $7;
+ $34 = $15;
+ $35 = (($33) + ($34<<2)|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $15;
+ $38 = (($26) + ($37<<2)|0);
+ HEAPF32[$38>>2] = $36;
+ $39 = $15;
+ $40 = (($39) + 1)|0;
+ $15 = $40;
+ }
+ $15 = 0;
+ while(1) {
+ $41 = $15;
+ $42 = $10;
+ $43 = ($41|0)<($42|0);
+ if (!($43)) {
+ break;
+ }
+ $44 = $7;
+ $45 = $15;
+ $46 = (($44) + ($45<<2)|0);
+ $47 = +HEAPF32[$46>>2];
+ $48 = $9;
+ $49 = $15;
+ $50 = (($48) + ($49<<2)|0);
+ $51 = +HEAPF32[$50>>2];
+ $52 = $47 * $51;
+ $53 = $15;
+ $54 = (($26) + ($53<<2)|0);
+ HEAPF32[$54>>2] = $52;
+ $55 = $7;
+ $56 = $12;
+ $57 = $15;
+ $58 = (($56) - ($57))|0;
+ $59 = (($58) - 1)|0;
+ $60 = (($55) + ($59<<2)|0);
+ $61 = +HEAPF32[$60>>2];
+ $62 = $9;
+ $63 = $15;
+ $64 = (($62) + ($63<<2)|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $61 * $65;
+ $67 = $12;
+ $68 = $15;
+ $69 = (($67) - ($68))|0;
+ $70 = (($69) - 1)|0;
+ $71 = (($26) + ($70<<2)|0);
+ HEAPF32[$71>>2] = $66;
+ $72 = $15;
+ $73 = (($72) + 1)|0;
+ $15 = $73;
+ }
+ $19 = $26;
+ }
+ $18 = 0;
+ $74 = $19;
+ $75 = $19;
+ $76 = $8;
+ $77 = $17;
+ $78 = $11;
+ $79 = (($78) + 1)|0;
+ $80 = $13;
+ _celt_pitch_xcorr($74,$75,$76,$77,$79,$80);
+ $16 = 0;
+ while(1) {
+ $81 = $16;
+ $82 = $11;
+ $83 = ($81|0)<=($82|0);
+ if (!($83)) {
+ break;
+ }
+ $84 = $16;
+ $85 = $17;
+ $86 = (($84) + ($85))|0;
+ $15 = $86;
+ $14 = 0.0;
+ while(1) {
+ $87 = $15;
+ $88 = $12;
+ $89 = ($87|0)<($88|0);
+ $90 = $14;
+ if (!($89)) {
+ break;
+ }
+ $91 = $19;
+ $92 = $15;
+ $93 = (($91) + ($92<<2)|0);
+ $94 = +HEAPF32[$93>>2];
+ $95 = $19;
+ $96 = $15;
+ $97 = $16;
+ $98 = (($96) - ($97))|0;
+ $99 = (($95) + ($98<<2)|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = $94 * $100;
+ $102 = $90 + $101;
+ $14 = $102;
+ $103 = $15;
+ $104 = (($103) + 1)|0;
+ $15 = $104;
+ }
+ $105 = $8;
+ $106 = $16;
+ $107 = (($105) + ($106<<2)|0);
+ $108 = +HEAPF32[$107>>2];
+ $109 = $108 + $90;
+ HEAPF32[$107>>2] = $109;
+ $110 = $16;
+ $111 = (($110) + 1)|0;
+ $16 = $111;
+ }
+ $112 = $18;
+ $113 = $20;
+ _llvm_stackrestore(($113|0));
+ STACKTOP = sp;return ($112|0);
+}
+function _quant_coarse_energy($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ $15 = $15|0;
+ $16 = $16|0;
+ var $$ = 0, $$alloca_mul = 0, $$alloca_mul35 = 0, $$alloca_mul37 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0.0, $108 = 0.0, $109 = 0, $110 = 0.0, $111 = 0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0;
+ var $156 = 0, $157 = 0, $158 = 0, $159 = 0, $160 = 0, $161 = 0.0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0;
+ var $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0;
+ var $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0.0, $21 = 0, $210 = 0;
+ var $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0;
+ var $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0;
+ var $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0;
+ var $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0;
+ var $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0.0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0.0;
+ var $302 = 0, $303 = 0, $304 = 0.0, $305 = 0.0, $306 = 0, $307 = 0.0, $308 = 0.0, $309 = 0.0, $31 = 0, $310 = 0.0, $311 = 0, $312 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0;
+ var $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $60 = 0, $61 = 0, $62 = 0.0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0, $79 = 0.0;
+ var $80 = 0.0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0.0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
+ var $or$cond = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 224|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(224|0);
+ $36 = sp + 96|0;
+ $43 = sp + 24|0;
+ $17 = $0;
+ $18 = $1;
+ $19 = $2;
+ $20 = $3;
+ $21 = $4;
+ $22 = $5;
+ $23 = $6;
+ $24 = $7;
+ $25 = $8;
+ $26 = $9;
+ $27 = $10;
+ $28 = $11;
+ $29 = $12;
+ $30 = $13;
+ $31 = $14;
+ $32 = $15;
+ $33 = $16;
+ $38 = 0;
+ $50 = $29;
+ $51 = ($50|0)!=(0);
+ if ($51) {
+ $72 = 1;
+ } else {
+ $52 = $31;
+ $53 = ($52|0)!=(0);
+ if ($53) {
+ $72 = 0;
+ } else {
+ $54 = $30;
+ $55 = +HEAPF32[$54>>2];
+ $56 = $26;
+ $57 = $56<<1;
+ $58 = $19;
+ $59 = $18;
+ $60 = (($58) - ($59))|0;
+ $61 = Math_imul($57, $60)|0;
+ $62 = (+($61|0));
+ $63 = $55 > $62;
+ if ($63) {
+ $64 = $28;
+ $65 = $19;
+ $66 = $18;
+ $67 = (($65) - ($66))|0;
+ $68 = $26;
+ $69 = Math_imul($67, $68)|0;
+ $70 = ($64|0)>($69|0);
+ $72 = $70;
+ } else {
+ $72 = 0;
+ }
+ }
+ }
+ $71 = $72&1;
+ $34 = $71;
+ $73 = $23;
+ $74 = (+($73>>>0));
+ $75 = $30;
+ $76 = +HEAPF32[$75>>2];
+ $77 = $74 * $76;
+ $78 = $32;
+ $79 = (+($78|0));
+ $80 = $77 * $79;
+ $81 = $26;
+ $82 = $81<<9;
+ $83 = (+($82|0));
+ $84 = $80 / $83;
+ $85 = (~~(($84)));
+ $39 = $85;
+ $86 = $21;
+ $87 = $22;
+ $88 = $18;
+ $89 = $20;
+ $90 = $17;
+ $91 = ((($90)) + 8|0);
+ $92 = HEAP32[$91>>2]|0;
+ $93 = $26;
+ $94 = (+_loss_distortion($86,$87,$88,$89,$92,$93));
+ $40 = $94;
+ $95 = $25;
+ $96 = (_ec_tell_122($95)|0);
+ $37 = $96;
+ $97 = $37;
+ $98 = (($97) + 3)|0;
+ $99 = $23;
+ $100 = ($98>>>0)>($99>>>0);
+ if ($100) {
+ $34 = 0;
+ $31 = 0;
+ }
+ $35 = 16.0;
+ $101 = $19;
+ $102 = $18;
+ $103 = (($101) - ($102))|0;
+ $104 = ($103|0)>(10);
+ if ($104) {
+ $105 = $35;
+ $106 = $28;
+ $107 = (+($106|0));
+ $108 = 0.125 * $107;
+ $109 = $105 < $108;
+ if ($109) {
+ $110 = $35;
+ $114 = $110;
+ } else {
+ $111 = $28;
+ $112 = (+($111|0));
+ $113 = 0.125 * $112;
+ $114 = $113;
+ }
+ $35 = $114;
+ }
+ $115 = $33;
+ $116 = ($115|0)!=(0);
+ if ($116) {
+ $35 = 3.0;
+ }
+ $117 = $25;
+ dest=$36; src=$117; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $118 = $26;
+ $119 = $17;
+ $120 = ((($119)) + 8|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = Math_imul($118, $121)|0;
+ $123 = (_llvm_stacksave()|0);
+ $41 = $123;
+ $$alloca_mul = $122<<2;
+ $124 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $125 = $26;
+ $126 = $17;
+ $127 = ((($126)) + 8|0);
+ $128 = HEAP32[$127>>2]|0;
+ $129 = Math_imul($125, $128)|0;
+ $$alloca_mul35 = $129<<2;
+ $130 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul35)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul35)|0)+15)&-16)|0);;
+ $131 = $22;
+ $132 = $26;
+ $133 = $17;
+ $134 = ((($133)) + 8|0);
+ $135 = HEAP32[$134>>2]|0;
+ $136 = Math_imul($132, $135)|0;
+ $137 = $136<<2;
+ $138 = $22;
+ $139 = $124;
+ $140 = $138;
+ $141 = (($139) - ($140))|0;
+ $142 = (($141|0) / 4)&-1;
+ $143 = 0;
+ $144 = (($137) + ($143))|0;
+ _memcpy(($124|0),($131|0),($144|0))|0;
+ $145 = $31;
+ $146 = ($145|0)!=(0);
+ $147 = $34;
+ $148 = ($147|0)!=(0);
+ $or$cond = $146 | $148;
+ if ($or$cond) {
+ $149 = $17;
+ $150 = $18;
+ $151 = $19;
+ $152 = $21;
+ $153 = $23;
+ $154 = $37;
+ $155 = $27;
+ $156 = (26775 + (($155*84)|0)|0);
+ $157 = ((($156)) + 42|0);
+ $158 = $25;
+ $159 = $26;
+ $160 = $27;
+ $161 = $35;
+ $162 = $33;
+ $163 = (_quant_coarse_energy_impl($149,$150,$151,$152,$124,$153,$154,$157,$130,$158,$159,$160,1,$161,$162)|0);
+ $38 = $163;
+ }
+ $164 = $34;
+ $165 = ($164|0)!=(0);
+ if ($165) {
+ $267 = $22;
+ $268 = $26;
+ $269 = $17;
+ $270 = ((($269)) + 8|0);
+ $271 = HEAP32[$270>>2]|0;
+ $272 = Math_imul($268, $271)|0;
+ $273 = $272<<2;
+ $274 = $22;
+ $275 = $274;
+ $276 = $124;
+ $277 = (($275) - ($276))|0;
+ $278 = (($277|0) / 4)&-1;
+ $279 = 0;
+ $280 = (($273) + ($279))|0;
+ _memcpy(($267|0),($124|0),($280|0))|0;
+ $281 = $24;
+ $282 = $26;
+ $283 = $17;
+ $284 = ((($283)) + 8|0);
+ $285 = HEAP32[$284>>2]|0;
+ $286 = Math_imul($282, $285)|0;
+ $287 = $286<<2;
+ $288 = $24;
+ $289 = $288;
+ $290 = $130;
+ $291 = (($289) - ($290))|0;
+ $292 = (($291|0) / 4)&-1;
+ $293 = 0;
+ $294 = (($287) + ($293))|0;
+ _memcpy(($281|0),($130|0),($294|0))|0;
+ } else {
+ $166 = $25;
+ $167 = (_ec_tell_frac($166)|0);
+ $44 = $167;
+ $168 = $25;
+ dest=$43; src=$168; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $169 = (_ec_range_bytes($36)|0);
+ $45 = $169;
+ $170 = (_ec_range_bytes($43)|0);
+ $46 = $170;
+ $171 = (_ec_get_buffer($43)|0);
+ $172 = $45;
+ $173 = (($171) + ($172)|0);
+ $42 = $173;
+ $174 = $46;
+ $175 = $45;
+ $176 = (($174) - ($175))|0;
+ $47 = $176;
+ $177 = $47;
+ $178 = ($177|0)==(0);
+ $$ = $178 ? 1 : $176;
+ $47 = $$;
+ $179 = $47;
+ $180 = (_llvm_stacksave()|0);
+ $49 = $180;
+ $$alloca_mul37 = $179;
+ $181 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul37)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul37)|0)+15)&-16)|0);;
+ $182 = $42;
+ $183 = $46;
+ $184 = $45;
+ $185 = (($183) - ($184))|0;
+ $186 = $185;
+ $187 = $42;
+ $188 = $181;
+ $189 = $187;
+ $190 = (($188) - ($189))|0;
+ $191 = 0;
+ $192 = (($186) + ($191))|0;
+ _memcpy(($181|0),($182|0),($192|0))|0;
+ $193 = $25;
+ dest=$193; src=$36; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $194 = $17;
+ $195 = $18;
+ $196 = $19;
+ $197 = $21;
+ $198 = $22;
+ $199 = $23;
+ $200 = $37;
+ $201 = $27;
+ $202 = (26775 + (($201*84)|0)|0);
+ $203 = $34;
+ $204 = (($202) + (($203*42)|0)|0);
+ $205 = $24;
+ $206 = $25;
+ $207 = $26;
+ $208 = $27;
+ $209 = $35;
+ $210 = $33;
+ $211 = (_quant_coarse_energy_impl($194,$195,$196,$197,$198,$199,$200,$204,$205,$206,$207,$208,0,$209,$210)|0);
+ $48 = $211;
+ $212 = $31;
+ $213 = ($212|0)!=(0);
+ do {
+ if ($213) {
+ $214 = $38;
+ $215 = $48;
+ $216 = ($214|0)<($215|0);
+ if (!($216)) {
+ $217 = $38;
+ $218 = $48;
+ $219 = ($217|0)==($218|0);
+ if (!($219)) {
+ break;
+ }
+ $220 = $25;
+ $221 = (_ec_tell_frac($220)|0);
+ $222 = $39;
+ $223 = (($221) + ($222))|0;
+ $224 = $44;
+ $225 = ($223|0)>($224|0);
+ if (!($225)) {
+ break;
+ }
+ }
+ $226 = $25;
+ dest=$226; src=$43; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $227 = $42;
+ $228 = $46;
+ $229 = $45;
+ $230 = (($228) - ($229))|0;
+ $231 = $230;
+ $232 = $42;
+ $233 = $232;
+ $234 = $181;
+ $235 = (($233) - ($234))|0;
+ $236 = 0;
+ $237 = (($231) + ($236))|0;
+ _memcpy(($227|0),($181|0),($237|0))|0;
+ $238 = $22;
+ $239 = $26;
+ $240 = $17;
+ $241 = ((($240)) + 8|0);
+ $242 = HEAP32[$241>>2]|0;
+ $243 = Math_imul($239, $242)|0;
+ $244 = $243<<2;
+ $245 = $22;
+ $246 = $245;
+ $247 = $124;
+ $248 = (($246) - ($247))|0;
+ $249 = (($248|0) / 4)&-1;
+ $250 = 0;
+ $251 = (($244) + ($250))|0;
+ _memcpy(($238|0),($124|0),($251|0))|0;
+ $252 = $24;
+ $253 = $26;
+ $254 = $17;
+ $255 = ((($254)) + 8|0);
+ $256 = HEAP32[$255>>2]|0;
+ $257 = Math_imul($253, $256)|0;
+ $258 = $257<<2;
+ $259 = $24;
+ $260 = $259;
+ $261 = $130;
+ $262 = (($260) - ($261))|0;
+ $263 = (($262|0) / 4)&-1;
+ $264 = 0;
+ $265 = (($258) + ($264))|0;
+ _memcpy(($252|0),($130|0),($265|0))|0;
+ $34 = 1;
+ }
+ } while(0);
+ $266 = $49;
+ _llvm_stackrestore(($266|0));
+ }
+ $295 = $34;
+ $296 = ($295|0)!=(0);
+ if ($296) {
+ $297 = $40;
+ $298 = $30;
+ HEAPF32[$298>>2] = $297;
+ $312 = $41;
+ _llvm_stackrestore(($312|0));
+ STACKTOP = sp;return;
+ } else {
+ $299 = $27;
+ $300 = (16604 + ($299<<2)|0);
+ $301 = +HEAPF32[$300>>2];
+ $302 = $27;
+ $303 = (16604 + ($302<<2)|0);
+ $304 = +HEAPF32[$303>>2];
+ $305 = $301 * $304;
+ $306 = $30;
+ $307 = +HEAPF32[$306>>2];
+ $308 = $305 * $307;
+ $309 = $40;
+ $310 = $308 + $309;
+ $311 = $30;
+ HEAPF32[$311>>2] = $310;
+ $312 = $41;
+ _llvm_stackrestore(($312|0));
+ STACKTOP = sp;return;
+ }
+}
+function _loss_distortion($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0, $49 = 0;
+ var $50 = 0.0, $51 = 0.0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $14 = 0.0;
+ $12 = 0;
+ while(1) {
+ $16 = $8;
+ $13 = $16;
+ while(1) {
+ $17 = $13;
+ $18 = $9;
+ $19 = ($17|0)<($18|0);
+ if (!($19)) {
+ break;
+ }
+ $20 = $6;
+ $21 = $13;
+ $22 = $12;
+ $23 = $10;
+ $24 = Math_imul($22, $23)|0;
+ $25 = (($21) + ($24))|0;
+ $26 = (($20) + ($25<<2)|0);
+ $27 = +HEAPF32[$26>>2];
+ $28 = $7;
+ $29 = $13;
+ $30 = $12;
+ $31 = $10;
+ $32 = Math_imul($30, $31)|0;
+ $33 = (($29) + ($32))|0;
+ $34 = (($28) + ($33<<2)|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $27 - $35;
+ $15 = $36;
+ $37 = $14;
+ $38 = $15;
+ $39 = $15;
+ $40 = $38 * $39;
+ $41 = $37 + $40;
+ $14 = $41;
+ $42 = $13;
+ $43 = (($42) + 1)|0;
+ $13 = $43;
+ }
+ $44 = $12;
+ $45 = (($44) + 1)|0;
+ $12 = $45;
+ $46 = $11;
+ $47 = ($45|0)<($46|0);
+ if (!($47)) {
+ break;
+ }
+ }
+ $48 = $14;
+ $49 = 200.0 < $48;
+ $50 = $14;
+ $51 = $49 ? 200.0 : $50;
+ STACKTOP = sp;return (+$51);
+}
+function _ec_tell_122($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 20|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (Math_clz32(($7|0))|0);
+ $9 = (32 - ($8))|0;
+ $10 = (($4) - ($9))|0;
+ STACKTOP = sp;return ($10|0);
+}
+function _quant_coarse_energy_impl($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = +$13;
+ $14 = $14|0;
+ var $$ = 0, $100 = 0.0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0;
+ var $119 = 0.0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0.0, $131 = 0.0, $132 = 0.0, $133 = 0.0, $134 = 0, $135 = 0, $136 = 0.0, $137 = 0.0, $138 = 0;
+ var $139 = 0.0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0;
+ var $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0;
+ var $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0;
+ var $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0;
+ var $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0;
+ var $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0.0, $242 = 0, $243 = 0.0, $244 = 0.0, $245 = 0, $246 = 0, $247 = 0, $248 = 0;
+ var $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0.0, $262 = 0.0, $263 = 0.0, $264 = 0.0, $265 = 0, $266 = 0;
+ var $267 = 0.0, $268 = 0.0, $269 = 0.0, $27 = 0, $270 = 0.0, $271 = 0.0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0.0, $280 = 0, $281 = 0, $282 = 0, $283 = 0.0, $284 = 0.0;
+ var $285 = 0.0, $286 = 0.0, $287 = 0.0, $288 = 0.0, $289 = 0.0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $31 = 0;
+ var $32 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0.0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0;
+ var $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0;
+ var $92 = 0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0.0, $99 = 0.0, $or$cond = 0, $or$cond3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
+ $33 = sp + 48|0;
+ $37 = sp + 32|0;
+ $15 = $0;
+ $16 = $1;
+ $17 = $2;
+ $18 = $3;
+ $19 = $4;
+ $20 = $5;
+ $21 = $6;
+ $22 = $7;
+ $23 = $8;
+ $24 = $9;
+ $25 = $10;
+ $26 = $11;
+ $27 = $12;
+ $28 = $13;
+ $29 = $14;
+ $32 = 0;
+ ;HEAP32[$33>>2]=0|0;HEAP32[$33+4>>2]=0|0;
+ $46 = $21;
+ $47 = (($46) + 3)|0;
+ $48 = $20;
+ $49 = ($47|0)<=($48|0);
+ if ($49) {
+ $50 = $24;
+ $51 = $27;
+ _ec_enc_bit_logp($50,$51,3);
+ }
+ $52 = $27;
+ $53 = ($52|0)!=(0);
+ if ($53) {
+ $34 = 0.0;
+ $35 = 0.149993896484375;
+ } else {
+ $54 = $26;
+ $55 = (16620 + ($54<<2)|0);
+ $56 = +HEAPF32[$55>>2];
+ $35 = $56;
+ $57 = $26;
+ $58 = (16604 + ($57<<2)|0);
+ $59 = +HEAPF32[$58>>2];
+ $34 = $59;
+ }
+ $60 = $16;
+ $30 = $60;
+ while(1) {
+ $61 = $30;
+ $62 = $17;
+ $63 = ($61|0)<($62|0);
+ if (!($63)) {
+ break;
+ }
+ $31 = 0;
+ while(1) {
+ $64 = $18;
+ $65 = $30;
+ $66 = $31;
+ $67 = $15;
+ $68 = ((($67)) + 8|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = Math_imul($66, $69)|0;
+ $71 = (($65) + ($70))|0;
+ $72 = (($64) + ($71<<2)|0);
+ $73 = +HEAPF32[$72>>2];
+ $40 = $73;
+ $74 = $19;
+ $75 = $30;
+ $76 = $31;
+ $77 = $15;
+ $78 = ((($77)) + 8|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = Math_imul($76, $79)|0;
+ $81 = (($75) + ($80))|0;
+ $82 = (($74) + ($81<<2)|0);
+ $83 = +HEAPF32[$82>>2];
+ $84 = -9.0 > $83;
+ if ($84) {
+ $95 = -9.0;
+ } else {
+ $85 = $19;
+ $86 = $30;
+ $87 = $31;
+ $88 = $15;
+ $89 = ((($88)) + 8|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = Math_imul($87, $90)|0;
+ $92 = (($86) + ($91))|0;
+ $93 = (($85) + ($92<<2)|0);
+ $94 = +HEAPF32[$93>>2];
+ $95 = $94;
+ }
+ $43 = $95;
+ $96 = $40;
+ $97 = $34;
+ $98 = $43;
+ $99 = $97 * $98;
+ $100 = $96 - $99;
+ $101 = $31;
+ $102 = (($33) + ($101<<2)|0);
+ $103 = +HEAPF32[$102>>2];
+ $104 = $100 - $103;
+ $41 = $104;
+ $105 = $41;
+ $106 = 0.5 + $105;
+ $107 = $106;
+ $108 = (+Math_floor((+$107)));
+ $109 = (~~(($108)));
+ HEAP32[$37>>2] = $109;
+ $110 = $19;
+ $111 = $30;
+ $112 = $31;
+ $113 = $15;
+ $114 = ((($113)) + 8|0);
+ $115 = HEAP32[$114>>2]|0;
+ $116 = Math_imul($112, $115)|0;
+ $117 = (($111) + ($116))|0;
+ $118 = (($110) + ($117<<2)|0);
+ $119 = +HEAPF32[$118>>2];
+ $120 = -28.0 > $119;
+ if ($120) {
+ $133 = -28.0;
+ } else {
+ $121 = $19;
+ $122 = $30;
+ $123 = $31;
+ $124 = $15;
+ $125 = ((($124)) + 8|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = Math_imul($123, $126)|0;
+ $128 = (($122) + ($127))|0;
+ $129 = (($121) + ($128<<2)|0);
+ $130 = +HEAPF32[$129>>2];
+ $133 = $130;
+ }
+ $131 = $28;
+ $132 = $133 - $131;
+ $44 = $132;
+ $134 = HEAP32[$37>>2]|0;
+ $135 = ($134|0)<(0);
+ if ($135) {
+ $136 = $40;
+ $137 = $44;
+ $138 = $136 < $137;
+ if ($138) {
+ $139 = $44;
+ $140 = $40;
+ $141 = $139 - $140;
+ $142 = (~~(($141)));
+ $143 = HEAP32[$37>>2]|0;
+ $144 = (($143) + ($142))|0;
+ HEAP32[$37>>2] = $144;
+ $145 = HEAP32[$37>>2]|0;
+ $146 = ($145|0)>(0);
+ $$ = $146 ? 0 : $144;
+ HEAP32[$37>>2] = $$;
+ }
+ }
+ $147 = HEAP32[$37>>2]|0;
+ $38 = $147;
+ $148 = $24;
+ $149 = (_ec_tell_122($148)|0);
+ $21 = $149;
+ $150 = $20;
+ $151 = $21;
+ $152 = (($150) - ($151))|0;
+ $153 = $25;
+ $154 = ($153*3)|0;
+ $155 = $17;
+ $156 = $30;
+ $157 = (($155) - ($156))|0;
+ $158 = Math_imul($154, $157)|0;
+ $159 = (($152) - ($158))|0;
+ $36 = $159;
+ $160 = $30;
+ $161 = $16;
+ $162 = ($160|0)!=($161|0);
+ $163 = $36;
+ $164 = ($163|0)<(30);
+ $or$cond = $162 & $164;
+ if ($or$cond) {
+ $165 = $36;
+ $166 = ($165|0)<(24);
+ if ($166) {
+ $167 = HEAP32[$37>>2]|0;
+ $168 = (1)<($167|0);
+ $169 = HEAP32[$37>>2]|0;
+ $170 = $168 ? 1 : $169;
+ HEAP32[$37>>2] = $170;
+ }
+ $171 = $36;
+ $172 = ($171|0)<(16);
+ if ($172) {
+ $173 = HEAP32[$37>>2]|0;
+ $174 = (-1)>($173|0);
+ $175 = HEAP32[$37>>2]|0;
+ $176 = $174 ? -1 : $175;
+ HEAP32[$37>>2] = $176;
+ }
+ }
+ $177 = $29;
+ $178 = ($177|0)!=(0);
+ $179 = $30;
+ $180 = ($179|0)>=(2);
+ $or$cond3 = $178 & $180;
+ if ($or$cond3) {
+ $181 = HEAP32[$37>>2]|0;
+ $182 = ($181|0)<(0);
+ $183 = HEAP32[$37>>2]|0;
+ $184 = $182 ? $183 : 0;
+ HEAP32[$37>>2] = $184;
+ }
+ $185 = $20;
+ $186 = $21;
+ $187 = (($185) - ($186))|0;
+ $188 = ($187|0)>=(15);
+ do {
+ if ($188) {
+ $189 = $30;
+ $190 = ($189|0)<(20);
+ $191 = $30;
+ $192 = $190 ? $191 : 20;
+ $193 = $192<<1;
+ $45 = $193;
+ $194 = $24;
+ $195 = $22;
+ $196 = $45;
+ $197 = (($195) + ($196)|0);
+ $198 = HEAP8[$197>>0]|0;
+ $199 = $198&255;
+ $200 = $199 << 7;
+ $201 = $22;
+ $202 = $45;
+ $203 = (($202) + 1)|0;
+ $204 = (($201) + ($203)|0);
+ $205 = HEAP8[$204>>0]|0;
+ $206 = $205&255;
+ $207 = $206 << 6;
+ _ec_laplace_encode($194,$37,$200,$207);
+ } else {
+ $208 = $20;
+ $209 = $21;
+ $210 = (($208) - ($209))|0;
+ $211 = ($210|0)>=(2);
+ if ($211) {
+ $212 = HEAP32[$37>>2]|0;
+ $213 = ($212|0)<(1);
+ $214 = HEAP32[$37>>2]|0;
+ $215 = $213 ? $214 : 1;
+ $216 = (-1)>($215|0);
+ if ($216) {
+ $221 = -1;
+ } else {
+ $217 = HEAP32[$37>>2]|0;
+ $218 = ($217|0)<(1);
+ $219 = HEAP32[$37>>2]|0;
+ $220 = $218 ? $219 : 1;
+ $221 = $220;
+ }
+ HEAP32[$37>>2] = $221;
+ $222 = $24;
+ $223 = HEAP32[$37>>2]|0;
+ $224 = $223<<1;
+ $225 = HEAP32[$37>>2]|0;
+ $226 = ($225|0)<(0);
+ $227 = $226&1;
+ $228 = (0 - ($227))|0;
+ $229 = $224 ^ $228;
+ _ec_enc_icdf($222,$229,27111,2);
+ break;
+ } else {
+ $230 = $20;
+ $231 = $21;
+ $232 = (($230) - ($231))|0;
+ $233 = ($232|0)>=(1);
+ if ($233) {
+ $234 = HEAP32[$37>>2]|0;
+ $235 = (0)<($234|0);
+ $236 = HEAP32[$37>>2]|0;
+ $237 = $235 ? 0 : $236;
+ HEAP32[$37>>2] = $237;
+ $238 = $24;
+ $239 = HEAP32[$37>>2]|0;
+ $240 = (0 - ($239))|0;
+ _ec_enc_bit_logp($238,$240,1);
+ break;
+ } else {
+ HEAP32[$37>>2] = -1;
+ break;
+ }
+ }
+ }
+ } while(0);
+ $241 = $41;
+ $242 = HEAP32[$37>>2]|0;
+ $243 = (+($242|0));
+ $244 = $241 - $243;
+ $245 = $23;
+ $246 = $30;
+ $247 = $31;
+ $248 = $15;
+ $249 = ((($248)) + 8|0);
+ $250 = HEAP32[$249>>2]|0;
+ $251 = Math_imul($247, $250)|0;
+ $252 = (($246) + ($251))|0;
+ $253 = (($245) + ($252<<2)|0);
+ HEAPF32[$253>>2] = $244;
+ $254 = $38;
+ $255 = HEAP32[$37>>2]|0;
+ $256 = (($254) - ($255))|0;
+ $257 = (Math_abs(($256|0))|0);
+ $258 = $32;
+ $259 = (($258) + ($257))|0;
+ $32 = $259;
+ $260 = HEAP32[$37>>2]|0;
+ $261 = (+($260|0));
+ $39 = $261;
+ $262 = $34;
+ $263 = $43;
+ $264 = $262 * $263;
+ $265 = $31;
+ $266 = (($33) + ($265<<2)|0);
+ $267 = +HEAPF32[$266>>2];
+ $268 = $264 + $267;
+ $269 = $39;
+ $270 = $268 + $269;
+ $42 = $270;
+ $271 = $42;
+ $272 = $19;
+ $273 = $30;
+ $274 = $31;
+ $275 = $15;
+ $276 = ((($275)) + 8|0);
+ $277 = HEAP32[$276>>2]|0;
+ $278 = Math_imul($274, $277)|0;
+ $279 = (($273) + ($278))|0;
+ $280 = (($272) + ($279<<2)|0);
+ HEAPF32[$280>>2] = $271;
+ $281 = $31;
+ $282 = (($33) + ($281<<2)|0);
+ $283 = +HEAPF32[$282>>2];
+ $284 = $39;
+ $285 = $283 + $284;
+ $286 = $35;
+ $287 = $39;
+ $288 = $286 * $287;
+ $289 = $285 - $288;
+ $290 = $31;
+ $291 = (($33) + ($290<<2)|0);
+ HEAPF32[$291>>2] = $289;
+ $292 = $31;
+ $293 = (($292) + 1)|0;
+ $31 = $293;
+ $294 = $25;
+ $295 = ($293|0)<($294|0);
+ if (!($295)) {
+ break;
+ }
+ }
+ $296 = $30;
+ $297 = (($296) + 1)|0;
+ $30 = $297;
+ }
+ $298 = $29;
+ $299 = ($298|0)!=(0);
+ $300 = $32;
+ $301 = $299 ? 0 : $300;
+ STACKTOP = sp;return ($301|0);
+}
+function _ec_range_bytes($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 24|0);
+ $4 = HEAP32[$3>>2]|0;
+ STACKTOP = sp;return ($4|0);
+}
+function _ec_get_buffer($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = HEAP32[$2>>2]|0;
+ STACKTOP = sp;return ($3|0);
+}
+function _quant_fine_energy($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0;
+ var $17 = 0, $18 = 0, $19 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0;
+ var $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
+ var $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
+ var $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0.0;
+ var $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $21 = $9;
+ $16 = $21;
+ while(1) {
+ $22 = $16;
+ $23 = $10;
+ $24 = ($22|0)<($23|0);
+ if (!($24)) {
+ break;
+ }
+ $25 = $13;
+ $26 = $16;
+ $27 = (($25) + ($26<<2)|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = 1 << $28;
+ $30 = $29&65535;
+ $18 = $30;
+ $31 = $13;
+ $32 = $16;
+ $33 = (($31) + ($32<<2)|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = ($34|0)<=(0);
+ if (!($35)) {
+ $17 = 0;
+ while(1) {
+ $36 = $12;
+ $37 = $16;
+ $38 = $17;
+ $39 = $8;
+ $40 = ((($39)) + 8|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = Math_imul($38, $41)|0;
+ $43 = (($37) + ($42))|0;
+ $44 = (($36) + ($43<<2)|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $45 + 0.5;
+ $47 = $18;
+ $48 = $47 << 16 >> 16;
+ $49 = (+($48|0));
+ $50 = $46 * $49;
+ $51 = $50;
+ $52 = (+Math_floor((+$51)));
+ $53 = (~~(($52)));
+ $19 = $53;
+ $54 = $19;
+ $55 = $18;
+ $56 = $55 << 16 >> 16;
+ $57 = (($56) - 1)|0;
+ $58 = ($54|0)>($57|0);
+ if ($58) {
+ $59 = $18;
+ $60 = $59 << 16 >> 16;
+ $61 = (($60) - 1)|0;
+ $19 = $61;
+ }
+ $62 = $19;
+ $63 = ($62|0)<(0);
+ if ($63) {
+ $19 = 0;
+ }
+ $64 = $14;
+ $65 = $19;
+ $66 = $13;
+ $67 = $16;
+ $68 = (($66) + ($67<<2)|0);
+ $69 = HEAP32[$68>>2]|0;
+ _ec_enc_bits($64,$65,$69);
+ $70 = $19;
+ $71 = (+($70|0));
+ $72 = $71 + 0.5;
+ $73 = $13;
+ $74 = $16;
+ $75 = (($73) + ($74<<2)|0);
+ $76 = HEAP32[$75>>2]|0;
+ $77 = (14 - ($76))|0;
+ $78 = 1 << $77;
+ $79 = (+($78|0));
+ $80 = $72 * $79;
+ $81 = $80 * 6.103515625E-5;
+ $82 = $81 - 0.5;
+ $20 = $82;
+ $83 = $20;
+ $84 = $11;
+ $85 = $16;
+ $86 = $17;
+ $87 = $8;
+ $88 = ((($87)) + 8|0);
+ $89 = HEAP32[$88>>2]|0;
+ $90 = Math_imul($86, $89)|0;
+ $91 = (($85) + ($90))|0;
+ $92 = (($84) + ($91<<2)|0);
+ $93 = +HEAPF32[$92>>2];
+ $94 = $93 + $83;
+ HEAPF32[$92>>2] = $94;
+ $95 = $20;
+ $96 = $12;
+ $97 = $16;
+ $98 = $17;
+ $99 = $8;
+ $100 = ((($99)) + 8|0);
+ $101 = HEAP32[$100>>2]|0;
+ $102 = Math_imul($98, $101)|0;
+ $103 = (($97) + ($102))|0;
+ $104 = (($96) + ($103<<2)|0);
+ $105 = +HEAPF32[$104>>2];
+ $106 = $105 - $95;
+ HEAPF32[$104>>2] = $106;
+ $107 = $17;
+ $108 = (($107) + 1)|0;
+ $17 = $108;
+ $109 = $15;
+ $110 = ($108|0)<($109|0);
+ if (!($110)) {
+ break;
+ }
+ }
+ }
+ $111 = $16;
+ $112 = (($111) + 1)|0;
+ $16 = $112;
+ }
+ STACKTOP = sp;return;
+}
+function _quant_energy_finalise($0,$1,$2,$3,$4,$5,$6,$7,$8,$9) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0.0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0.0;
+ var $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0;
+ var $90 = 0, $91 = 0, $92 = 0, $93 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $10 = $0;
+ $11 = $1;
+ $12 = $2;
+ $13 = $3;
+ $14 = $4;
+ $15 = $5;
+ $16 = $6;
+ $17 = $7;
+ $18 = $8;
+ $19 = $9;
+ $21 = 0;
+ while(1) {
+ $25 = $21;
+ $26 = ($25|0)<(2);
+ if (!($26)) {
+ break;
+ }
+ $27 = $11;
+ $20 = $27;
+ while(1) {
+ $28 = $20;
+ $29 = $12;
+ $30 = ($28|0)<($29|0);
+ if (!($30)) {
+ break;
+ }
+ $31 = $17;
+ $32 = $19;
+ $33 = ($31|0)>=($32|0);
+ if (!($33)) {
+ break;
+ }
+ $34 = $15;
+ $35 = $20;
+ $36 = (($34) + ($35<<2)|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = ($37|0)>=(8);
+ if (!($38)) {
+ $39 = $16;
+ $40 = $20;
+ $41 = (($39) + ($40<<2)|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = $21;
+ $44 = ($42|0)!=($43|0);
+ if (!($44)) {
+ $22 = 0;
+ while(1) {
+ $45 = $14;
+ $46 = $20;
+ $47 = $22;
+ $48 = $10;
+ $49 = ((($48)) + 8|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = Math_imul($47, $50)|0;
+ $52 = (($46) + ($51))|0;
+ $53 = (($45) + ($52<<2)|0);
+ $54 = +HEAPF32[$53>>2];
+ $55 = $54 < 0.0;
+ $56 = $55 ? 0 : 1;
+ $23 = $56;
+ $57 = $18;
+ $58 = $23;
+ _ec_enc_bits($57,$58,1);
+ $59 = $23;
+ $60 = (+($59|0));
+ $61 = $60 - 0.5;
+ $62 = $15;
+ $63 = $20;
+ $64 = (($62) + ($63<<2)|0);
+ $65 = HEAP32[$64>>2]|0;
+ $66 = (14 - ($65))|0;
+ $67 = (($66) - 1)|0;
+ $68 = 1 << $67;
+ $69 = (+($68|0));
+ $70 = $61 * $69;
+ $71 = $70 * 6.103515625E-5;
+ $24 = $71;
+ $72 = $24;
+ $73 = $13;
+ $74 = $20;
+ $75 = $22;
+ $76 = $10;
+ $77 = ((($76)) + 8|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = Math_imul($75, $78)|0;
+ $80 = (($74) + ($79))|0;
+ $81 = (($73) + ($80<<2)|0);
+ $82 = +HEAPF32[$81>>2];
+ $83 = $82 + $72;
+ HEAPF32[$81>>2] = $83;
+ $84 = $17;
+ $85 = (($84) + -1)|0;
+ $17 = $85;
+ $86 = $22;
+ $87 = (($86) + 1)|0;
+ $22 = $87;
+ $88 = $19;
+ $89 = ($87|0)<($88|0);
+ if (!($89)) {
+ break;
+ }
+ }
+ }
+ }
+ $90 = $20;
+ $91 = (($90) + 1)|0;
+ $20 = $91;
+ }
+ $92 = $21;
+ $93 = (($92) + 1)|0;
+ $21 = $93;
+ }
+ STACKTOP = sp;return;
+}
+function _unquant_coarse_energy($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0.0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0.0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0.0, $137 = 0.0, $138 = 0, $139 = 0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0.0, $143 = 0.0, $144 = 0.0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0.0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0, $160 = 0.0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $18 = 0;
+ var $19 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0;
+ var $39 = 0.0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0;
+ var $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
+ var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $19 = sp + 32|0;
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $28 = $15;
+ $29 = (26775 + (($28*84)|0)|0);
+ $30 = $12;
+ $31 = (($29) + (($30*42)|0)|0);
+ $16 = $31;
+ ;HEAP32[$19>>2]=0|0;HEAP32[$19+4>>2]=0|0;
+ $32 = $12;
+ $33 = ($32|0)!=(0);
+ if ($33) {
+ $20 = 0.0;
+ $21 = 0.149993896484375;
+ } else {
+ $34 = $15;
+ $35 = (16620 + ($34<<2)|0);
+ $36 = +HEAPF32[$35>>2];
+ $21 = $36;
+ $37 = $15;
+ $38 = (16604 + ($37<<2)|0);
+ $39 = +HEAPF32[$38>>2];
+ $20 = $39;
+ }
+ $40 = $13;
+ $41 = ((($40)) + 4|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = $42<<3;
+ $22 = $43;
+ $44 = $9;
+ $17 = $44;
+ while(1) {
+ $45 = $17;
+ $46 = $10;
+ $47 = ($45|0)<($46|0);
+ if (!($47)) {
+ break;
+ }
+ $18 = 0;
+ while(1) {
+ $48 = $13;
+ $49 = (_ec_tell_122($48)|0);
+ $23 = $49;
+ $50 = $22;
+ $51 = $23;
+ $52 = (($50) - ($51))|0;
+ $53 = ($52|0)>=(15);
+ do {
+ if ($53) {
+ $54 = $17;
+ $55 = ($54|0)<(20);
+ $56 = $17;
+ $57 = $55 ? $56 : 20;
+ $58 = $57<<1;
+ $27 = $58;
+ $59 = $13;
+ $60 = $16;
+ $61 = $27;
+ $62 = (($60) + ($61)|0);
+ $63 = HEAP8[$62>>0]|0;
+ $64 = $63&255;
+ $65 = $64 << 7;
+ $66 = $16;
+ $67 = $27;
+ $68 = (($67) + 1)|0;
+ $69 = (($66) + ($68)|0);
+ $70 = HEAP8[$69>>0]|0;
+ $71 = $70&255;
+ $72 = $71 << 6;
+ $73 = (_ec_laplace_decode($59,$65,$72)|0);
+ $24 = $73;
+ } else {
+ $74 = $22;
+ $75 = $23;
+ $76 = (($74) - ($75))|0;
+ $77 = ($76|0)>=(2);
+ if ($77) {
+ $78 = $13;
+ $79 = (_ec_dec_icdf($78,27111,2)|0);
+ $24 = $79;
+ $80 = $24;
+ $81 = $80 >> 1;
+ $82 = $24;
+ $83 = $82 & 1;
+ $84 = (0 - ($83))|0;
+ $85 = $81 ^ $84;
+ $24 = $85;
+ break;
+ }
+ $86 = $22;
+ $87 = $23;
+ $88 = (($86) - ($87))|0;
+ $89 = ($88|0)>=(1);
+ if ($89) {
+ $90 = $13;
+ $91 = (_ec_dec_bit_logp($90,1)|0);
+ $92 = (0 - ($91))|0;
+ $24 = $92;
+ break;
+ } else {
+ $24 = -1;
+ break;
+ }
+ }
+ } while(0);
+ $93 = $24;
+ $94 = (+($93|0));
+ $25 = $94;
+ $95 = $11;
+ $96 = $17;
+ $97 = $18;
+ $98 = $8;
+ $99 = ((($98)) + 8|0);
+ $100 = HEAP32[$99>>2]|0;
+ $101 = Math_imul($97, $100)|0;
+ $102 = (($96) + ($101))|0;
+ $103 = (($95) + ($102<<2)|0);
+ $104 = +HEAPF32[$103>>2];
+ $105 = -9.0 > $104;
+ if ($105) {
+ $125 = -9.0;
+ } else {
+ $106 = $11;
+ $107 = $17;
+ $108 = $18;
+ $109 = $8;
+ $110 = ((($109)) + 8|0);
+ $111 = HEAP32[$110>>2]|0;
+ $112 = Math_imul($108, $111)|0;
+ $113 = (($107) + ($112))|0;
+ $114 = (($106) + ($113<<2)|0);
+ $115 = +HEAPF32[$114>>2];
+ $125 = $115;
+ }
+ $116 = $11;
+ $117 = $17;
+ $118 = $18;
+ $119 = $8;
+ $120 = ((($119)) + 8|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = Math_imul($118, $121)|0;
+ $123 = (($117) + ($122))|0;
+ $124 = (($116) + ($123<<2)|0);
+ HEAPF32[$124>>2] = $125;
+ $126 = $20;
+ $127 = $11;
+ $128 = $17;
+ $129 = $18;
+ $130 = $8;
+ $131 = ((($130)) + 8|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = Math_imul($129, $132)|0;
+ $134 = (($128) + ($133))|0;
+ $135 = (($127) + ($134<<2)|0);
+ $136 = +HEAPF32[$135>>2];
+ $137 = $126 * $136;
+ $138 = $18;
+ $139 = (($19) + ($138<<2)|0);
+ $140 = +HEAPF32[$139>>2];
+ $141 = $137 + $140;
+ $142 = $25;
+ $143 = $141 + $142;
+ $26 = $143;
+ $144 = $26;
+ $145 = $11;
+ $146 = $17;
+ $147 = $18;
+ $148 = $8;
+ $149 = ((($148)) + 8|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = Math_imul($147, $150)|0;
+ $152 = (($146) + ($151))|0;
+ $153 = (($145) + ($152<<2)|0);
+ HEAPF32[$153>>2] = $144;
+ $154 = $18;
+ $155 = (($19) + ($154<<2)|0);
+ $156 = +HEAPF32[$155>>2];
+ $157 = $25;
+ $158 = $156 + $157;
+ $159 = $21;
+ $160 = $25;
+ $161 = $159 * $160;
+ $162 = $158 - $161;
+ $163 = $18;
+ $164 = (($19) + ($163<<2)|0);
+ HEAPF32[$164>>2] = $162;
+ $165 = $18;
+ $166 = (($165) + 1)|0;
+ $18 = $166;
+ $167 = $14;
+ $168 = ($166|0)<($167|0);
+ if (!($168)) {
+ break;
+ }
+ }
+ $169 = $17;
+ $170 = (($169) + 1)|0;
+ $17 = $170;
+ }
+ STACKTOP = sp;return;
+}
+function _unquant_fine_energy($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $18 = $8;
+ $14 = $18;
+ while(1) {
+ $19 = $14;
+ $20 = $9;
+ $21 = ($19|0)<($20|0);
+ if (!($21)) {
+ break;
+ }
+ $22 = $11;
+ $23 = $14;
+ $24 = (($22) + ($23<<2)|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = ($25|0)<=(0);
+ if (!($26)) {
+ $15 = 0;
+ while(1) {
+ $27 = $12;
+ $28 = $11;
+ $29 = $14;
+ $30 = (($28) + ($29<<2)|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = (_ec_dec_bits($27,$31)|0);
+ $16 = $32;
+ $33 = $16;
+ $34 = (+($33|0));
+ $35 = $34 + 0.5;
+ $36 = $11;
+ $37 = $14;
+ $38 = (($36) + ($37<<2)|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = (14 - ($39))|0;
+ $41 = 1 << $40;
+ $42 = (+($41|0));
+ $43 = $35 * $42;
+ $44 = $43 * 6.103515625E-5;
+ $45 = $44 - 0.5;
+ $17 = $45;
+ $46 = $17;
+ $47 = $10;
+ $48 = $14;
+ $49 = $15;
+ $50 = $7;
+ $51 = ((($50)) + 8|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = Math_imul($49, $52)|0;
+ $54 = (($48) + ($53))|0;
+ $55 = (($47) + ($54<<2)|0);
+ $56 = +HEAPF32[$55>>2];
+ $57 = $56 + $46;
+ HEAPF32[$55>>2] = $57;
+ $58 = $15;
+ $59 = (($58) + 1)|0;
+ $15 = $59;
+ $60 = $13;
+ $61 = ($59|0)<($60|0);
+ if (!($61)) {
+ break;
+ }
+ }
+ }
+ $62 = $14;
+ $63 = (($62) + 1)|0;
+ $14 = $63;
+ }
+ STACKTOP = sp;return;
+}
+function _unquant_energy_finalise($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0.0, $47 = 0.0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0.0, $69 = 0.0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $19 = 0;
+ while(1) {
+ $23 = $19;
+ $24 = ($23|0)<(2);
+ if (!($24)) {
+ break;
+ }
+ $25 = $10;
+ $18 = $25;
+ while(1) {
+ $26 = $18;
+ $27 = $11;
+ $28 = ($26|0)<($27|0);
+ if (!($28)) {
+ break;
+ }
+ $29 = $15;
+ $30 = $17;
+ $31 = ($29|0)>=($30|0);
+ if (!($31)) {
+ break;
+ }
+ $32 = $13;
+ $33 = $18;
+ $34 = (($32) + ($33<<2)|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = ($35|0)>=(8);
+ if (!($36)) {
+ $37 = $14;
+ $38 = $18;
+ $39 = (($37) + ($38<<2)|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = $19;
+ $42 = ($40|0)!=($41|0);
+ if (!($42)) {
+ $20 = 0;
+ while(1) {
+ $43 = $16;
+ $44 = (_ec_dec_bits($43,1)|0);
+ $21 = $44;
+ $45 = $21;
+ $46 = (+($45|0));
+ $47 = $46 - 0.5;
+ $48 = $13;
+ $49 = $18;
+ $50 = (($48) + ($49<<2)|0);
+ $51 = HEAP32[$50>>2]|0;
+ $52 = (14 - ($51))|0;
+ $53 = (($52) - 1)|0;
+ $54 = 1 << $53;
+ $55 = (+($54|0));
+ $56 = $47 * $55;
+ $57 = $56 * 6.103515625E-5;
+ $22 = $57;
+ $58 = $22;
+ $59 = $12;
+ $60 = $18;
+ $61 = $20;
+ $62 = $9;
+ $63 = ((($62)) + 8|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = Math_imul($61, $64)|0;
+ $66 = (($60) + ($65))|0;
+ $67 = (($59) + ($66<<2)|0);
+ $68 = +HEAPF32[$67>>2];
+ $69 = $68 + $58;
+ HEAPF32[$67>>2] = $69;
+ $70 = $15;
+ $71 = (($70) + -1)|0;
+ $15 = $71;
+ $72 = $20;
+ $73 = (($72) + 1)|0;
+ $20 = $73;
+ $74 = $17;
+ $75 = ($73|0)<($74|0);
+ if (!($75)) {
+ break;
+ }
+ }
+ }
+ }
+ $76 = $18;
+ $77 = (($76) + 1)|0;
+ $18 = $77;
+ }
+ $78 = $19;
+ $79 = (($78) + 1)|0;
+ $19 = $79;
+ }
+ STACKTOP = sp;return;
+}
+function _amp2Log2($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0.0, $29 = 0.0;
+ var $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $12 = 0;
+ while(1) {
+ $13 = 0;
+ while(1) {
+ $14 = $13;
+ $15 = $7;
+ $16 = ($14|0)<($15|0);
+ if (!($16)) {
+ break;
+ }
+ $17 = $9;
+ $18 = $13;
+ $19 = $12;
+ $20 = $6;
+ $21 = ((($20)) + 8|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = Math_imul($19, $22)|0;
+ $24 = (($18) + ($23))|0;
+ $25 = (($17) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = $26;
+ $28 = (+Math_log((+$27)));
+ $29 = 1.4426950408889634 * $28;
+ $30 = $29;
+ $31 = $13;
+ $32 = (16504 + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $30 - $33;
+ $35 = $10;
+ $36 = $13;
+ $37 = $12;
+ $38 = $6;
+ $39 = ((($38)) + 8|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = Math_imul($37, $40)|0;
+ $42 = (($36) + ($41))|0;
+ $43 = (($35) + ($42<<2)|0);
+ HEAPF32[$43>>2] = $34;
+ $44 = $13;
+ $45 = (($44) + 1)|0;
+ $13 = $45;
+ }
+ $46 = $7;
+ $13 = $46;
+ while(1) {
+ $47 = $13;
+ $48 = $8;
+ $49 = ($47|0)<($48|0);
+ if (!($49)) {
+ break;
+ }
+ $50 = $10;
+ $51 = $12;
+ $52 = $6;
+ $53 = ((($52)) + 8|0);
+ $54 = HEAP32[$53>>2]|0;
+ $55 = Math_imul($51, $54)|0;
+ $56 = $13;
+ $57 = (($55) + ($56))|0;
+ $58 = (($50) + ($57<<2)|0);
+ HEAPF32[$58>>2] = -14.0;
+ $59 = $13;
+ $60 = (($59) + 1)|0;
+ $13 = $60;
+ }
+ $61 = $12;
+ $62 = (($61) + 1)|0;
+ $12 = $62;
+ $63 = $11;
+ $64 = ($62|0)<($63|0);
+ if (!($64)) {
+ break;
+ }
+ }
+ STACKTOP = sp;return;
+}
+function _compute_allocation($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ $15 = $15|0;
+ $16 = $16|0;
+ $17 = $17|0;
+ $18 = $18|0;
+ var $$alloca_mul = 0, $$alloca_mul39 = 0, $$alloca_mul41 = 0, $$alloca_mul43 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0;
+ var $156 = 0, $157 = 0, $158 = 0, $159 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0;
+ var $176 = 0, $177 = 0, $178 = 0, $179 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0;
+ var $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0;
+ var $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0;
+ var $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0;
+ var $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0;
+ var $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0;
+ var $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0;
+ var $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0;
+ var $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0;
+ var $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0;
+ var $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0;
+ var $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0;
+ var $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0;
+ var $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0;
+ var $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0;
+ var $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0;
+ var $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
+ var $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
+ var $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
+ $19 = $0;
+ $20 = $1;
+ $21 = $2;
+ $22 = $3;
+ $23 = $4;
+ $24 = $5;
+ $25 = $6;
+ $26 = $7;
+ $27 = $8;
+ $28 = $9;
+ $29 = $10;
+ $30 = $11;
+ $31 = $12;
+ $32 = $13;
+ $33 = $14;
+ $34 = $15;
+ $35 = $16;
+ $36 = $17;
+ $37 = $18;
+ $56 = $27;
+ $57 = ($56|0)>(0);
+ $58 = $27;
+ $59 = $57 ? $58 : 0;
+ $27 = $59;
+ $60 = $19;
+ $61 = ((($60)) + 8|0);
+ $62 = HEAP32[$61>>2]|0;
+ $40 = $62;
+ $63 = $20;
+ $43 = $63;
+ $64 = $27;
+ $65 = ($64|0)>=(8);
+ $66 = $65 ? 8 : 0;
+ $44 = $66;
+ $67 = $44;
+ $68 = $27;
+ $69 = (($68) - ($67))|0;
+ $27 = $69;
+ $46 = 0;
+ $45 = 0;
+ $70 = $32;
+ $71 = ($70|0)==(2);
+ do {
+ if ($71) {
+ $72 = $21;
+ $73 = $20;
+ $74 = (($72) - ($73))|0;
+ $75 = (27114 + ($74)|0);
+ $76 = HEAP8[$75>>0]|0;
+ $77 = $76&255;
+ $45 = $77;
+ $78 = $45;
+ $79 = $27;
+ $80 = ($78|0)>($79|0);
+ if ($80) {
+ $45 = 0;
+ break;
+ } else {
+ $81 = $45;
+ $82 = $27;
+ $83 = (($82) - ($81))|0;
+ $27 = $83;
+ $84 = $27;
+ $85 = ($84|0)>=(8);
+ $86 = $85 ? 8 : 0;
+ $46 = $86;
+ $87 = $46;
+ $88 = $27;
+ $89 = (($88) - ($87))|0;
+ $27 = $89;
+ break;
+ }
+ }
+ } while(0);
+ $90 = $40;
+ $91 = (_llvm_stacksave()|0);
+ $47 = $91;
+ $$alloca_mul = $90<<2;
+ $92 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $93 = $40;
+ $$alloca_mul39 = $93<<2;
+ $94 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul39)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul39)|0)+15)&-16)|0);;
+ $95 = $40;
+ $$alloca_mul41 = $95<<2;
+ $96 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul41)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul41)|0)+15)&-16)|0);;
+ $97 = $40;
+ $$alloca_mul43 = $97<<2;
+ $98 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul43)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul43)|0)+15)&-16)|0);;
+ $99 = $20;
+ $41 = $99;
+ while(1) {
+ $100 = $41;
+ $101 = $21;
+ $102 = ($100|0)<($101|0);
+ if (!($102)) {
+ break;
+ }
+ $103 = $32;
+ $104 = $103 << 3;
+ $105 = $19;
+ $106 = ((($105)) + 32|0);
+ $107 = HEAP32[$106>>2]|0;
+ $108 = $41;
+ $109 = (($108) + 1)|0;
+ $110 = (($107) + ($109<<1)|0);
+ $111 = HEAP16[$110>>1]|0;
+ $112 = $111 << 16 >> 16;
+ $113 = $19;
+ $114 = ((($113)) + 32|0);
+ $115 = HEAP32[$114>>2]|0;
+ $116 = $41;
+ $117 = (($115) + ($116<<1)|0);
+ $118 = HEAP16[$117>>1]|0;
+ $119 = $118 << 16 >> 16;
+ $120 = (($112) - ($119))|0;
+ $121 = ($120*3)|0;
+ $122 = $33;
+ $123 = $121 << $122;
+ $124 = $123 << 3;
+ $125 = $124 >> 4;
+ $126 = ($104|0)>($125|0);
+ if ($126) {
+ $127 = $32;
+ $128 = $127 << 3;
+ $152 = $128;
+ } else {
+ $129 = $19;
+ $130 = ((($129)) + 32|0);
+ $131 = HEAP32[$130>>2]|0;
+ $132 = $41;
+ $133 = (($132) + 1)|0;
+ $134 = (($131) + ($133<<1)|0);
+ $135 = HEAP16[$134>>1]|0;
+ $136 = $135 << 16 >> 16;
+ $137 = $19;
+ $138 = ((($137)) + 32|0);
+ $139 = HEAP32[$138>>2]|0;
+ $140 = $41;
+ $141 = (($139) + ($140<<1)|0);
+ $142 = HEAP16[$141>>1]|0;
+ $143 = $142 << 16 >> 16;
+ $144 = (($136) - ($143))|0;
+ $145 = ($144*3)|0;
+ $146 = $33;
+ $147 = $145 << $146;
+ $148 = $147 << 3;
+ $149 = $148 >> 4;
+ $152 = $149;
+ }
+ $150 = $41;
+ $151 = (($96) + ($150<<2)|0);
+ HEAP32[$151>>2] = $152;
+ $153 = $32;
+ $154 = $19;
+ $155 = ((($154)) + 32|0);
+ $156 = HEAP32[$155>>2]|0;
+ $157 = $41;
+ $158 = (($157) + 1)|0;
+ $159 = (($156) + ($158<<1)|0);
+ $160 = HEAP16[$159>>1]|0;
+ $161 = $160 << 16 >> 16;
+ $162 = $19;
+ $163 = ((($162)) + 32|0);
+ $164 = HEAP32[$163>>2]|0;
+ $165 = $41;
+ $166 = (($164) + ($165<<1)|0);
+ $167 = HEAP16[$166>>1]|0;
+ $168 = $167 << 16 >> 16;
+ $169 = (($161) - ($168))|0;
+ $170 = Math_imul($153, $169)|0;
+ $171 = $24;
+ $172 = (($171) - 5)|0;
+ $173 = $33;
+ $174 = (($172) - ($173))|0;
+ $175 = Math_imul($170, $174)|0;
+ $176 = $21;
+ $177 = $41;
+ $178 = (($176) - ($177))|0;
+ $179 = (($178) - 1)|0;
+ $180 = Math_imul($175, $179)|0;
+ $181 = $33;
+ $182 = (($181) + 3)|0;
+ $183 = 1 << $182;
+ $184 = Math_imul($180, $183)|0;
+ $185 = $184 >> 6;
+ $186 = $41;
+ $187 = (($98) + ($186<<2)|0);
+ HEAP32[$187>>2] = $185;
+ $188 = $19;
+ $189 = ((($188)) + 32|0);
+ $190 = HEAP32[$189>>2]|0;
+ $191 = $41;
+ $192 = (($191) + 1)|0;
+ $193 = (($190) + ($192<<1)|0);
+ $194 = HEAP16[$193>>1]|0;
+ $195 = $194 << 16 >> 16;
+ $196 = $19;
+ $197 = ((($196)) + 32|0);
+ $198 = HEAP32[$197>>2]|0;
+ $199 = $41;
+ $200 = (($198) + ($199<<1)|0);
+ $201 = HEAP16[$200>>1]|0;
+ $202 = $201 << 16 >> 16;
+ $203 = (($195) - ($202))|0;
+ $204 = $33;
+ $205 = $203 << $204;
+ $206 = ($205|0)==(1);
+ if ($206) {
+ $207 = $32;
+ $208 = $207 << 3;
+ $209 = $41;
+ $210 = (($98) + ($209<<2)|0);
+ $211 = HEAP32[$210>>2]|0;
+ $212 = (($211) - ($208))|0;
+ HEAP32[$210>>2] = $212;
+ }
+ $213 = $41;
+ $214 = (($213) + 1)|0;
+ $41 = $214;
+ }
+ $38 = 1;
+ $215 = $19;
+ $216 = ((($215)) + 48|0);
+ $217 = HEAP32[$216>>2]|0;
+ $218 = (($217) - 1)|0;
+ $39 = $218;
+ while(1) {
+ $48 = 0;
+ $49 = 0;
+ $219 = $38;
+ $220 = $39;
+ $221 = (($219) + ($220))|0;
+ $222 = $221 >> 1;
+ $50 = $222;
+ $223 = $21;
+ $41 = $223;
+ while(1) {
+ $224 = $41;
+ $225 = (($224) + -1)|0;
+ $41 = $225;
+ $226 = $20;
+ $227 = ($224|0)>($226|0);
+ if (!($227)) {
+ break;
+ }
+ $228 = $19;
+ $229 = ((($228)) + 32|0);
+ $230 = HEAP32[$229>>2]|0;
+ $231 = $41;
+ $232 = (($231) + 1)|0;
+ $233 = (($230) + ($232<<1)|0);
+ $234 = HEAP16[$233>>1]|0;
+ $235 = $234 << 16 >> 16;
+ $236 = $19;
+ $237 = ((($236)) + 32|0);
+ $238 = HEAP32[$237>>2]|0;
+ $239 = $41;
+ $240 = (($238) + ($239<<1)|0);
+ $241 = HEAP16[$240>>1]|0;
+ $242 = $241 << 16 >> 16;
+ $243 = (($235) - ($242))|0;
+ $52 = $243;
+ $244 = $32;
+ $245 = $52;
+ $246 = Math_imul($244, $245)|0;
+ $247 = $19;
+ $248 = ((($247)) + 52|0);
+ $249 = HEAP32[$248>>2]|0;
+ $250 = $50;
+ $251 = $40;
+ $252 = Math_imul($250, $251)|0;
+ $253 = $41;
+ $254 = (($252) + ($253))|0;
+ $255 = (($249) + ($254)|0);
+ $256 = HEAP8[$255>>0]|0;
+ $257 = $256&255;
+ $258 = Math_imul($246, $257)|0;
+ $259 = $33;
+ $260 = $258 << $259;
+ $261 = $260 >> 2;
+ $51 = $261;
+ $262 = $51;
+ $263 = ($262|0)>(0);
+ if ($263) {
+ $264 = $51;
+ $265 = $41;
+ $266 = (($98) + ($265<<2)|0);
+ $267 = HEAP32[$266>>2]|0;
+ $268 = (($264) + ($267))|0;
+ $269 = (0)>($268|0);
+ if ($269) {
+ $275 = 0;
+ } else {
+ $270 = $51;
+ $271 = $41;
+ $272 = (($98) + ($271<<2)|0);
+ $273 = HEAP32[$272>>2]|0;
+ $274 = (($270) + ($273))|0;
+ $275 = $274;
+ }
+ $51 = $275;
+ }
+ $276 = $22;
+ $277 = $41;
+ $278 = (($276) + ($277<<2)|0);
+ $279 = HEAP32[$278>>2]|0;
+ $280 = $51;
+ $281 = (($280) + ($279))|0;
+ $51 = $281;
+ $282 = $51;
+ $283 = $41;
+ $284 = (($96) + ($283<<2)|0);
+ $285 = HEAP32[$284>>2]|0;
+ $286 = ($282|0)>=($285|0);
+ $287 = $48;
+ $288 = ($287|0)!=(0);
+ $or$cond = $286 | $288;
+ if (!($or$cond)) {
+ $303 = $51;
+ $304 = $32;
+ $305 = $304 << 3;
+ $306 = ($303|0)>=($305|0);
+ if (!($306)) {
+ continue;
+ }
+ $307 = $32;
+ $308 = $307 << 3;
+ $309 = $49;
+ $310 = (($309) + ($308))|0;
+ $49 = $310;
+ continue;
+ }
+ $48 = 1;
+ $289 = $51;
+ $290 = $23;
+ $291 = $41;
+ $292 = (($290) + ($291<<2)|0);
+ $293 = HEAP32[$292>>2]|0;
+ $294 = ($289|0)<($293|0);
+ if ($294) {
+ $295 = $51;
+ $302 = $295;
+ } else {
+ $296 = $23;
+ $297 = $41;
+ $298 = (($296) + ($297<<2)|0);
+ $299 = HEAP32[$298>>2]|0;
+ $302 = $299;
+ }
+ $300 = $49;
+ $301 = (($300) + ($302))|0;
+ $49 = $301;
+ }
+ $311 = $49;
+ $312 = $27;
+ $313 = ($311|0)>($312|0);
+ $314 = $50;
+ if ($313) {
+ $315 = (($314) - 1)|0;
+ $39 = $315;
+ } else {
+ $316 = (($314) + 1)|0;
+ $38 = $316;
+ }
+ $317 = $38;
+ $318 = $39;
+ $319 = ($317|0)<=($318|0);
+ if (!($319)) {
+ break;
+ }
+ }
+ $320 = $38;
+ $321 = (($320) + -1)|0;
+ $38 = $321;
+ $39 = $320;
+ $322 = $20;
+ $41 = $322;
+ while(1) {
+ $323 = $41;
+ $324 = $21;
+ $325 = ($323|0)<($324|0);
+ $326 = $19;
+ if (!($325)) {
+ break;
+ }
+ $327 = ((($326)) + 32|0);
+ $328 = HEAP32[$327>>2]|0;
+ $329 = $41;
+ $330 = (($329) + 1)|0;
+ $331 = (($328) + ($330<<1)|0);
+ $332 = HEAP16[$331>>1]|0;
+ $333 = $332 << 16 >> 16;
+ $334 = $19;
+ $335 = ((($334)) + 32|0);
+ $336 = HEAP32[$335>>2]|0;
+ $337 = $41;
+ $338 = (($336) + ($337<<1)|0);
+ $339 = HEAP16[$338>>1]|0;
+ $340 = $339 << 16 >> 16;
+ $341 = (($333) - ($340))|0;
+ $55 = $341;
+ $342 = $32;
+ $343 = $55;
+ $344 = Math_imul($342, $343)|0;
+ $345 = $19;
+ $346 = ((($345)) + 52|0);
+ $347 = HEAP32[$346>>2]|0;
+ $348 = $38;
+ $349 = $40;
+ $350 = Math_imul($348, $349)|0;
+ $351 = $41;
+ $352 = (($350) + ($351))|0;
+ $353 = (($347) + ($352)|0);
+ $354 = HEAP8[$353>>0]|0;
+ $355 = $354&255;
+ $356 = Math_imul($344, $355)|0;
+ $357 = $33;
+ $358 = $356 << $357;
+ $359 = $358 >> 2;
+ $53 = $359;
+ $360 = $39;
+ $361 = $19;
+ $362 = ((($361)) + 48|0);
+ $363 = HEAP32[$362>>2]|0;
+ $364 = ($360|0)>=($363|0);
+ if ($364) {
+ $365 = $23;
+ $366 = $41;
+ $367 = (($365) + ($366<<2)|0);
+ $368 = HEAP32[$367>>2]|0;
+ $387 = $368;
+ } else {
+ $369 = $32;
+ $370 = $55;
+ $371 = Math_imul($369, $370)|0;
+ $372 = $19;
+ $373 = ((($372)) + 52|0);
+ $374 = HEAP32[$373>>2]|0;
+ $375 = $39;
+ $376 = $40;
+ $377 = Math_imul($375, $376)|0;
+ $378 = $41;
+ $379 = (($377) + ($378))|0;
+ $380 = (($374) + ($379)|0);
+ $381 = HEAP8[$380>>0]|0;
+ $382 = $381&255;
+ $383 = Math_imul($371, $382)|0;
+ $384 = $33;
+ $385 = $383 << $384;
+ $386 = $385 >> 2;
+ $387 = $386;
+ }
+ $54 = $387;
+ $388 = $53;
+ $389 = ($388|0)>(0);
+ if ($389) {
+ $390 = $53;
+ $391 = $41;
+ $392 = (($98) + ($391<<2)|0);
+ $393 = HEAP32[$392>>2]|0;
+ $394 = (($390) + ($393))|0;
+ $395 = (0)>($394|0);
+ if ($395) {
+ $401 = 0;
+ } else {
+ $396 = $53;
+ $397 = $41;
+ $398 = (($98) + ($397<<2)|0);
+ $399 = HEAP32[$398>>2]|0;
+ $400 = (($396) + ($399))|0;
+ $401 = $400;
+ }
+ $53 = $401;
+ }
+ $402 = $54;
+ $403 = ($402|0)>(0);
+ if ($403) {
+ $404 = $54;
+ $405 = $41;
+ $406 = (($98) + ($405<<2)|0);
+ $407 = HEAP32[$406>>2]|0;
+ $408 = (($404) + ($407))|0;
+ $409 = (0)>($408|0);
+ if ($409) {
+ $415 = 0;
+ } else {
+ $410 = $54;
+ $411 = $41;
+ $412 = (($98) + ($411<<2)|0);
+ $413 = HEAP32[$412>>2]|0;
+ $414 = (($410) + ($413))|0;
+ $415 = $414;
+ }
+ $54 = $415;
+ }
+ $416 = $38;
+ $417 = ($416|0)>(0);
+ if ($417) {
+ $418 = $22;
+ $419 = $41;
+ $420 = (($418) + ($419<<2)|0);
+ $421 = HEAP32[$420>>2]|0;
+ $422 = $53;
+ $423 = (($422) + ($421))|0;
+ $53 = $423;
+ }
+ $424 = $22;
+ $425 = $41;
+ $426 = (($424) + ($425<<2)|0);
+ $427 = HEAP32[$426>>2]|0;
+ $428 = $54;
+ $429 = (($428) + ($427))|0;
+ $54 = $429;
+ $430 = $22;
+ $431 = $41;
+ $432 = (($430) + ($431<<2)|0);
+ $433 = HEAP32[$432>>2]|0;
+ $434 = ($433|0)>(0);
+ if ($434) {
+ $435 = $41;
+ $43 = $435;
+ }
+ $436 = $54;
+ $437 = $53;
+ $438 = (($436) - ($437))|0;
+ $439 = (0)>($438|0);
+ if ($439) {
+ $443 = 0;
+ } else {
+ $440 = $54;
+ $441 = $53;
+ $442 = (($440) - ($441))|0;
+ $443 = $442;
+ }
+ $54 = $443;
+ $444 = $53;
+ $445 = $41;
+ $446 = (($92) + ($445<<2)|0);
+ HEAP32[$446>>2] = $444;
+ $447 = $54;
+ $448 = $41;
+ $449 = (($94) + ($448<<2)|0);
+ HEAP32[$449>>2] = $447;
+ $450 = $41;
+ $451 = (($450) + 1)|0;
+ $41 = $451;
+ }
+ $452 = $20;
+ $453 = $21;
+ $454 = $43;
+ $455 = $23;
+ $456 = $27;
+ $457 = $28;
+ $458 = $44;
+ $459 = $25;
+ $460 = $45;
+ $461 = $26;
+ $462 = $46;
+ $463 = $29;
+ $464 = $30;
+ $465 = $31;
+ $466 = $32;
+ $467 = $33;
+ $468 = $34;
+ $469 = $35;
+ $470 = $36;
+ $471 = $37;
+ $472 = (_interp_bits2pulses($326,$452,$453,$454,$92,$94,$96,$455,$456,$457,$458,$459,$460,$461,$462,$463,$464,$465,$466,$467,$468,$469,$470,$471)|0);
+ $42 = $472;
+ $473 = $42;
+ $474 = $47;
+ _llvm_stackrestore(($474|0));
+ STACKTOP = sp;return ($473|0);
+}
+function _interp_bits2pulses($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ $15 = $15|0;
+ $16 = $16|0;
+ $17 = $17|0;
+ $18 = $18|0;
+ $19 = $19|0;
+ $20 = $20|0;
+ $21 = $21|0;
+ $22 = $22|0;
+ $23 = $23|0;
+ var $$sink = 0, $$sink4 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0;
+ var $138 = 0, $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0;
+ var $158 = 0, $159 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0;
+ var $178 = 0, $179 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0;
+ var $198 = 0, $199 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0;
+ var $218 = 0, $219 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0;
+ var $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0;
+ var $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0;
+ var $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0;
+ var $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0;
+ var $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0;
+ var $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0;
+ var $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0;
+ var $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0;
+ var $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0;
+ var $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0;
+ var $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0;
+ var $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0;
+ var $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0;
+ var $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0;
+ var $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0;
+ var $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0;
+ var $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0;
+ var $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0;
+ var $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0;
+ var $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0;
+ var $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0;
+ var $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0;
+ var $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0;
+ var $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0;
+ var $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0;
+ var $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0;
+ var $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0;
+ var $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0;
+ var $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0;
+ var $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0;
+ var $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $80 = 0, $800 = 0;
+ var $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0;
+ var $82 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0;
+ var $838 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0;
+ var $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0;
+ var $or$cond3 = 0, $or$cond6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 224|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(224|0);
+ $24 = $0;
+ $25 = $1;
+ $26 = $2;
+ $27 = $3;
+ $28 = $4;
+ $29 = $5;
+ $30 = $6;
+ $31 = $7;
+ $32 = $8;
+ $33 = $9;
+ $34 = $10;
+ $35 = $11;
+ $36 = $12;
+ $37 = $13;
+ $38 = $14;
+ $39 = $15;
+ $40 = $16;
+ $41 = $17;
+ $42 = $18;
+ $43 = $19;
+ $44 = $20;
+ $45 = $21;
+ $46 = $22;
+ $47 = $23;
+ $55 = -1;
+ $77 = $42;
+ $78 = $77 << 3;
+ $56 = $78;
+ $79 = $42;
+ $80 = ($79|0)>(1);
+ $81 = $80&1;
+ $54 = $81;
+ $82 = $43;
+ $83 = $82 << 3;
+ $53 = $83;
+ $49 = 0;
+ $50 = 64;
+ $51 = 0;
+ while(1) {
+ $84 = $51;
+ $85 = ($84|0)<(6);
+ if (!($85)) {
+ break;
+ }
+ $86 = $49;
+ $87 = $50;
+ $88 = (($86) + ($87))|0;
+ $89 = $88 >> 1;
+ $61 = $89;
+ $48 = 0;
+ $59 = 0;
+ $90 = $26;
+ $52 = $90;
+ while(1) {
+ $91 = $52;
+ $92 = (($91) + -1)|0;
+ $52 = $92;
+ $93 = $25;
+ $94 = ($91|0)>($93|0);
+ if (!($94)) {
+ break;
+ }
+ $95 = $28;
+ $96 = $52;
+ $97 = (($95) + ($96<<2)|0);
+ $98 = HEAP32[$97>>2]|0;
+ $99 = $61;
+ $100 = $29;
+ $101 = $52;
+ $102 = (($100) + ($101<<2)|0);
+ $103 = HEAP32[$102>>2]|0;
+ $104 = Math_imul($99, $103)|0;
+ $105 = $104 >> 6;
+ $106 = (($98) + ($105))|0;
+ $62 = $106;
+ $107 = $62;
+ $108 = $30;
+ $109 = $52;
+ $110 = (($108) + ($109<<2)|0);
+ $111 = HEAP32[$110>>2]|0;
+ $112 = ($107|0)>=($111|0);
+ $113 = $59;
+ $114 = ($113|0)!=(0);
+ $or$cond = $112 | $114;
+ if (!($or$cond)) {
+ $129 = $62;
+ $130 = $56;
+ $131 = ($129|0)>=($130|0);
+ if (!($131)) {
+ continue;
+ }
+ $132 = $56;
+ $133 = $48;
+ $134 = (($133) + ($132))|0;
+ $48 = $134;
+ continue;
+ }
+ $59 = 1;
+ $115 = $62;
+ $116 = $31;
+ $117 = $52;
+ $118 = (($116) + ($117<<2)|0);
+ $119 = HEAP32[$118>>2]|0;
+ $120 = ($115|0)<($119|0);
+ if ($120) {
+ $121 = $62;
+ $128 = $121;
+ } else {
+ $122 = $31;
+ $123 = $52;
+ $124 = (($122) + ($123<<2)|0);
+ $125 = HEAP32[$124>>2]|0;
+ $128 = $125;
+ }
+ $126 = $48;
+ $127 = (($126) + ($128))|0;
+ $48 = $127;
+ }
+ $135 = $48;
+ $136 = $32;
+ $137 = ($135|0)>($136|0);
+ $138 = $61;
+ if ($137) {
+ $50 = $138;
+ } else {
+ $49 = $138;
+ }
+ $139 = $51;
+ $140 = (($139) + 1)|0;
+ $51 = $140;
+ }
+ $48 = 0;
+ $59 = 0;
+ $141 = $26;
+ $52 = $141;
+ while(1) {
+ $142 = $52;
+ $143 = (($142) + -1)|0;
+ $52 = $143;
+ $144 = $25;
+ $145 = ($142|0)>($144|0);
+ if (!($145)) {
+ break;
+ }
+ $146 = $28;
+ $147 = $52;
+ $148 = (($146) + ($147<<2)|0);
+ $149 = HEAP32[$148>>2]|0;
+ $150 = $49;
+ $151 = $29;
+ $152 = $52;
+ $153 = (($151) + ($152<<2)|0);
+ $154 = HEAP32[$153>>2]|0;
+ $155 = Math_imul($150, $154)|0;
+ $156 = $155 >> 6;
+ $157 = (($149) + ($156))|0;
+ $63 = $157;
+ $158 = $63;
+ $159 = $30;
+ $160 = $52;
+ $161 = (($159) + ($160<<2)|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = ($158|0)>=($162|0);
+ $164 = $59;
+ $165 = ($164|0)!=(0);
+ $or$cond3 = $163 | $165;
+ do {
+ if ($or$cond3) {
+ $59 = 1;
+ } else {
+ $166 = $63;
+ $167 = $56;
+ $168 = ($166|0)>=($167|0);
+ if ($168) {
+ $169 = $56;
+ $63 = $169;
+ break;
+ } else {
+ $63 = 0;
+ break;
+ }
+ }
+ } while(0);
+ $170 = $63;
+ $171 = $31;
+ $172 = $52;
+ $173 = (($171) + ($172<<2)|0);
+ $174 = HEAP32[$173>>2]|0;
+ $175 = ($170|0)<($174|0);
+ if ($175) {
+ $176 = $63;
+ $181 = $176;
+ } else {
+ $177 = $31;
+ $178 = $52;
+ $179 = (($177) + ($178<<2)|0);
+ $180 = HEAP32[$179>>2]|0;
+ $181 = $180;
+ }
+ $63 = $181;
+ $182 = $63;
+ $183 = $39;
+ $184 = $52;
+ $185 = (($183) + ($184<<2)|0);
+ HEAP32[$185>>2] = $182;
+ $186 = $63;
+ $187 = $48;
+ $188 = (($187) + ($186))|0;
+ $48 = $188;
+ }
+ $189 = $26;
+ $55 = $189;
+ while(1) {
+ $190 = $55;
+ $191 = (($190) - 1)|0;
+ $52 = $191;
+ $192 = $52;
+ $193 = $27;
+ $194 = ($192|0)<=($193|0);
+ if ($194) {
+ label = 29;
+ break;
+ }
+ $198 = $32;
+ $199 = $48;
+ $200 = (($198) - ($199))|0;
+ $57 = $200;
+ $201 = $57;
+ $202 = $24;
+ $203 = ((($202)) + 32|0);
+ $204 = HEAP32[$203>>2]|0;
+ $205 = $55;
+ $206 = (($204) + ($205<<1)|0);
+ $207 = HEAP16[$206>>1]|0;
+ $208 = $207 << 16 >> 16;
+ $209 = $24;
+ $210 = ((($209)) + 32|0);
+ $211 = HEAP32[$210>>2]|0;
+ $212 = $25;
+ $213 = (($211) + ($212<<1)|0);
+ $214 = HEAP16[$213>>1]|0;
+ $215 = $214 << 16 >> 16;
+ $216 = (($208) - ($215))|0;
+ $217 = (_celt_udiv_137($201,$216)|0);
+ $58 = $217;
+ $218 = $24;
+ $219 = ((($218)) + 32|0);
+ $220 = HEAP32[$219>>2]|0;
+ $221 = $55;
+ $222 = (($220) + ($221<<1)|0);
+ $223 = HEAP16[$222>>1]|0;
+ $224 = $223 << 16 >> 16;
+ $225 = $24;
+ $226 = ((($225)) + 32|0);
+ $227 = HEAP32[$226>>2]|0;
+ $228 = $25;
+ $229 = (($227) + ($228<<1)|0);
+ $230 = HEAP16[$229>>1]|0;
+ $231 = $230 << 16 >> 16;
+ $232 = (($224) - ($231))|0;
+ $233 = $58;
+ $234 = Math_imul($232, $233)|0;
+ $235 = $57;
+ $236 = (($235) - ($234))|0;
+ $57 = $236;
+ $237 = $57;
+ $238 = $24;
+ $239 = ((($238)) + 32|0);
+ $240 = HEAP32[$239>>2]|0;
+ $241 = $52;
+ $242 = (($240) + ($241<<1)|0);
+ $243 = HEAP16[$242>>1]|0;
+ $244 = $243 << 16 >> 16;
+ $245 = $24;
+ $246 = ((($245)) + 32|0);
+ $247 = HEAP32[$246>>2]|0;
+ $248 = $25;
+ $249 = (($247) + ($248<<1)|0);
+ $250 = HEAP16[$249>>1]|0;
+ $251 = $250 << 16 >> 16;
+ $252 = (($244) - ($251))|0;
+ $253 = (($237) - ($252))|0;
+ $254 = ($253|0)>(0);
+ if ($254) {
+ $255 = $57;
+ $256 = $24;
+ $257 = ((($256)) + 32|0);
+ $258 = HEAP32[$257>>2]|0;
+ $259 = $52;
+ $260 = (($258) + ($259<<1)|0);
+ $261 = HEAP16[$260>>1]|0;
+ $262 = $261 << 16 >> 16;
+ $263 = $24;
+ $264 = ((($263)) + 32|0);
+ $265 = HEAP32[$264>>2]|0;
+ $266 = $25;
+ $267 = (($265) + ($266<<1)|0);
+ $268 = HEAP16[$267>>1]|0;
+ $269 = $268 << 16 >> 16;
+ $270 = (($262) - ($269))|0;
+ $271 = (($255) - ($270))|0;
+ $272 = $271;
+ } else {
+ $272 = 0;
+ }
+ $66 = $272;
+ $273 = $24;
+ $274 = ((($273)) + 32|0);
+ $275 = HEAP32[$274>>2]|0;
+ $276 = $55;
+ $277 = (($275) + ($276<<1)|0);
+ $278 = HEAP16[$277>>1]|0;
+ $279 = $278 << 16 >> 16;
+ $280 = $24;
+ $281 = ((($280)) + 32|0);
+ $282 = HEAP32[$281>>2]|0;
+ $283 = $52;
+ $284 = (($282) + ($283<<1)|0);
+ $285 = HEAP16[$284>>1]|0;
+ $286 = $285 << 16 >> 16;
+ $287 = (($279) - ($286))|0;
+ $64 = $287;
+ $288 = $39;
+ $289 = $52;
+ $290 = (($288) + ($289<<2)|0);
+ $291 = HEAP32[$290>>2]|0;
+ $292 = $58;
+ $293 = $64;
+ $294 = Math_imul($292, $293)|0;
+ $295 = (($291) + ($294))|0;
+ $296 = $66;
+ $297 = (($295) + ($296))|0;
+ $65 = $297;
+ $298 = $65;
+ $299 = $30;
+ $300 = $52;
+ $301 = (($299) + ($300<<2)|0);
+ $302 = HEAP32[$301>>2]|0;
+ $303 = $56;
+ $304 = (($303) + 8)|0;
+ $305 = ($302|0)>($304|0);
+ if ($305) {
+ $306 = $30;
+ $307 = $52;
+ $308 = (($306) + ($307<<2)|0);
+ $309 = HEAP32[$308>>2]|0;
+ $313 = $309;
+ } else {
+ $310 = $56;
+ $311 = (($310) + 8)|0;
+ $313 = $311;
+ }
+ $312 = ($298|0)>=($313|0);
+ if ($312) {
+ $314 = $45;
+ $315 = ($314|0)!=(0);
+ if ($315) {
+ $316 = $55;
+ $317 = $25;
+ $318 = (($317) + 2)|0;
+ $319 = ($316|0)<=($318|0);
+ if ($319) {
+ label = 40;
+ break;
+ }
+ $320 = $65;
+ $321 = $52;
+ $322 = $46;
+ $323 = ($321|0)<($322|0);
+ $324 = $323 ? 7 : 9;
+ $325 = $64;
+ $326 = Math_imul($324, $325)|0;
+ $327 = $43;
+ $328 = $326 << $327;
+ $329 = $328 << 3;
+ $330 = $329 >> 4;
+ $331 = ($320|0)>($330|0);
+ if ($331) {
+ $332 = $52;
+ $333 = $47;
+ $334 = ($332|0)<=($333|0);
+ if ($334) {
+ label = 40;
+ break;
+ }
+ }
+ $336 = $44;
+ _ec_enc_bit_logp($336,0,1);
+ } else {
+ $337 = $44;
+ $338 = (_ec_dec_bit_logp($337,1)|0);
+ $339 = ($338|0)!=(0);
+ if ($339) {
+ break;
+ }
+ }
+ $340 = $48;
+ $341 = (($340) + 8)|0;
+ $48 = $341;
+ $342 = $65;
+ $343 = (($342) - 8)|0;
+ $65 = $343;
+ }
+ $344 = $39;
+ $345 = $52;
+ $346 = (($344) + ($345<<2)|0);
+ $347 = HEAP32[$346>>2]|0;
+ $348 = $36;
+ $349 = (($347) + ($348))|0;
+ $350 = $48;
+ $351 = (($350) - ($349))|0;
+ $48 = $351;
+ $352 = $36;
+ $353 = ($352|0)>(0);
+ if ($353) {
+ $354 = $52;
+ $355 = $25;
+ $356 = (($354) - ($355))|0;
+ $357 = (27114 + ($356)|0);
+ $358 = HEAP8[$357>>0]|0;
+ $359 = $358&255;
+ $36 = $359;
+ }
+ $360 = $36;
+ $361 = $48;
+ $362 = (($361) + ($360))|0;
+ $48 = $362;
+ $363 = $65;
+ $364 = $56;
+ $365 = ($363|0)>=($364|0);
+ if ($365) {
+ $366 = $56;
+ $367 = $48;
+ $368 = (($367) + ($366))|0;
+ $48 = $368;
+ $369 = $56;
+ $370 = $39;
+ $371 = $52;
+ $372 = (($370) + ($371<<2)|0);
+ $$sink = $369;$$sink4 = $372;
+ } else {
+ $373 = $39;
+ $374 = $52;
+ $375 = (($373) + ($374<<2)|0);
+ $$sink = 0;$$sink4 = $375;
+ }
+ HEAP32[$$sink4>>2] = $$sink;
+ $376 = $55;
+ $377 = (($376) + -1)|0;
+ $55 = $377;
+ }
+ if ((label|0) == 29) {
+ $195 = $34;
+ $196 = $32;
+ $197 = (($196) + ($195))|0;
+ $32 = $197;
+ }
+ else if ((label|0) == 40) {
+ $335 = $44;
+ _ec_enc_bit_logp($335,1,1);
+ }
+ $378 = $36;
+ $379 = ($378|0)>(0);
+ do {
+ if ($379) {
+ $380 = $45;
+ $381 = ($380|0)!=(0);
+ if (!($381)) {
+ $400 = $25;
+ $401 = $44;
+ $402 = $55;
+ $403 = (($402) + 1)|0;
+ $404 = $25;
+ $405 = (($403) - ($404))|0;
+ $406 = (_ec_dec_uint($401,$405)|0);
+ $407 = (($400) + ($406))|0;
+ $408 = $35;
+ HEAP32[$408>>2] = $407;
+ break;
+ }
+ $382 = $35;
+ $383 = HEAP32[$382>>2]|0;
+ $384 = $55;
+ $385 = ($383|0)<($384|0);
+ if ($385) {
+ $386 = $35;
+ $387 = HEAP32[$386>>2]|0;
+ $390 = $387;
+ } else {
+ $388 = $55;
+ $390 = $388;
+ }
+ $389 = $35;
+ HEAP32[$389>>2] = $390;
+ $391 = $44;
+ $392 = $35;
+ $393 = HEAP32[$392>>2]|0;
+ $394 = $25;
+ $395 = (($393) - ($394))|0;
+ $396 = $55;
+ $397 = (($396) + 1)|0;
+ $398 = $25;
+ $399 = (($397) - ($398))|0;
+ _ec_enc_uint($391,$395,$399);
+ } else {
+ $409 = $35;
+ HEAP32[$409>>2] = 0;
+ }
+ } while(0);
+ $410 = $35;
+ $411 = HEAP32[$410>>2]|0;
+ $412 = $25;
+ $413 = ($411|0)<=($412|0);
+ if ($413) {
+ $414 = $38;
+ $415 = $32;
+ $416 = (($415) + ($414))|0;
+ $32 = $416;
+ $38 = 0;
+ }
+ $417 = $38;
+ $418 = ($417|0)>(0);
+ do {
+ if ($418) {
+ $419 = $45;
+ $420 = ($419|0)!=(0);
+ $421 = $44;
+ if ($420) {
+ $422 = $37;
+ $423 = HEAP32[$422>>2]|0;
+ _ec_enc_bit_logp($421,$423,1);
+ break;
+ } else {
+ $424 = (_ec_dec_bit_logp($421,1)|0);
+ $425 = $37;
+ HEAP32[$425>>2] = $424;
+ break;
+ }
+ } else {
+ $426 = $37;
+ HEAP32[$426>>2] = 0;
+ }
+ } while(0);
+ $427 = $32;
+ $428 = $48;
+ $429 = (($427) - ($428))|0;
+ $57 = $429;
+ $430 = $57;
+ $431 = $24;
+ $432 = ((($431)) + 32|0);
+ $433 = HEAP32[$432>>2]|0;
+ $434 = $55;
+ $435 = (($433) + ($434<<1)|0);
+ $436 = HEAP16[$435>>1]|0;
+ $437 = $436 << 16 >> 16;
+ $438 = $24;
+ $439 = ((($438)) + 32|0);
+ $440 = HEAP32[$439>>2]|0;
+ $441 = $25;
+ $442 = (($440) + ($441<<1)|0);
+ $443 = HEAP16[$442>>1]|0;
+ $444 = $443 << 16 >> 16;
+ $445 = (($437) - ($444))|0;
+ $446 = (_celt_udiv_137($430,$445)|0);
+ $58 = $446;
+ $447 = $24;
+ $448 = ((($447)) + 32|0);
+ $449 = HEAP32[$448>>2]|0;
+ $450 = $55;
+ $451 = (($449) + ($450<<1)|0);
+ $452 = HEAP16[$451>>1]|0;
+ $453 = $452 << 16 >> 16;
+ $454 = $24;
+ $455 = ((($454)) + 32|0);
+ $456 = HEAP32[$455>>2]|0;
+ $457 = $25;
+ $458 = (($456) + ($457<<1)|0);
+ $459 = HEAP16[$458>>1]|0;
+ $460 = $459 << 16 >> 16;
+ $461 = (($453) - ($460))|0;
+ $462 = $58;
+ $463 = Math_imul($461, $462)|0;
+ $464 = $57;
+ $465 = (($464) - ($463))|0;
+ $57 = $465;
+ $466 = $25;
+ $52 = $466;
+ while(1) {
+ $467 = $52;
+ $468 = $55;
+ $469 = ($467|0)<($468|0);
+ if (!($469)) {
+ break;
+ }
+ $470 = $58;
+ $471 = $24;
+ $472 = ((($471)) + 32|0);
+ $473 = HEAP32[$472>>2]|0;
+ $474 = $52;
+ $475 = (($474) + 1)|0;
+ $476 = (($473) + ($475<<1)|0);
+ $477 = HEAP16[$476>>1]|0;
+ $478 = $477 << 16 >> 16;
+ $479 = $24;
+ $480 = ((($479)) + 32|0);
+ $481 = HEAP32[$480>>2]|0;
+ $482 = $52;
+ $483 = (($481) + ($482<<1)|0);
+ $484 = HEAP16[$483>>1]|0;
+ $485 = $484 << 16 >> 16;
+ $486 = (($478) - ($485))|0;
+ $487 = Math_imul($470, $486)|0;
+ $488 = $39;
+ $489 = $52;
+ $490 = (($488) + ($489<<2)|0);
+ $491 = HEAP32[$490>>2]|0;
+ $492 = (($491) + ($487))|0;
+ HEAP32[$490>>2] = $492;
+ $493 = $52;
+ $494 = (($493) + 1)|0;
+ $52 = $494;
+ }
+ $495 = $25;
+ $52 = $495;
+ while(1) {
+ $496 = $52;
+ $497 = $55;
+ $498 = ($496|0)<($497|0);
+ if (!($498)) {
+ break;
+ }
+ $499 = $57;
+ $500 = $24;
+ $501 = ((($500)) + 32|0);
+ $502 = HEAP32[$501>>2]|0;
+ $503 = $52;
+ $504 = (($503) + 1)|0;
+ $505 = (($502) + ($504<<1)|0);
+ $506 = HEAP16[$505>>1]|0;
+ $507 = $506 << 16 >> 16;
+ $508 = $24;
+ $509 = ((($508)) + 32|0);
+ $510 = HEAP32[$509>>2]|0;
+ $511 = $52;
+ $512 = (($510) + ($511<<1)|0);
+ $513 = HEAP16[$512>>1]|0;
+ $514 = $513 << 16 >> 16;
+ $515 = (($507) - ($514))|0;
+ $516 = ($499|0)<($515|0);
+ if ($516) {
+ $517 = $57;
+ $534 = $517;
+ } else {
+ $518 = $24;
+ $519 = ((($518)) + 32|0);
+ $520 = HEAP32[$519>>2]|0;
+ $521 = $52;
+ $522 = (($521) + 1)|0;
+ $523 = (($520) + ($522<<1)|0);
+ $524 = HEAP16[$523>>1]|0;
+ $525 = $524 << 16 >> 16;
+ $526 = $24;
+ $527 = ((($526)) + 32|0);
+ $528 = HEAP32[$527>>2]|0;
+ $529 = $52;
+ $530 = (($528) + ($529<<1)|0);
+ $531 = HEAP16[$530>>1]|0;
+ $532 = $531 << 16 >> 16;
+ $533 = (($525) - ($532))|0;
+ $534 = $533;
+ }
+ $67 = $534;
+ $535 = $67;
+ $536 = $39;
+ $537 = $52;
+ $538 = (($536) + ($537<<2)|0);
+ $539 = HEAP32[$538>>2]|0;
+ $540 = (($539) + ($535))|0;
+ HEAP32[$538>>2] = $540;
+ $541 = $67;
+ $542 = $57;
+ $543 = (($542) - ($541))|0;
+ $57 = $543;
+ $544 = $52;
+ $545 = (($544) + 1)|0;
+ $52 = $545;
+ }
+ $60 = 0;
+ $546 = $25;
+ $52 = $546;
+ while(1) {
+ $547 = $52;
+ $548 = $55;
+ $549 = ($547|0)<($548|0);
+ if (!($549)) {
+ break;
+ }
+ $550 = $24;
+ $551 = ((($550)) + 32|0);
+ $552 = HEAP32[$551>>2]|0;
+ $553 = $52;
+ $554 = (($553) + 1)|0;
+ $555 = (($552) + ($554<<1)|0);
+ $556 = HEAP16[$555>>1]|0;
+ $557 = $556 << 16 >> 16;
+ $558 = $24;
+ $559 = ((($558)) + 32|0);
+ $560 = HEAP32[$559>>2]|0;
+ $561 = $52;
+ $562 = (($560) + ($561<<1)|0);
+ $563 = HEAP16[$562>>1]|0;
+ $564 = $563 << 16 >> 16;
+ $565 = (($557) - ($564))|0;
+ $68 = $565;
+ $566 = $68;
+ $567 = $43;
+ $568 = $566 << $567;
+ $69 = $568;
+ $569 = $39;
+ $570 = $52;
+ $571 = (($569) + ($570<<2)|0);
+ $572 = HEAP32[$571>>2]|0;
+ $573 = $60;
+ $574 = (($572) + ($573))|0;
+ $74 = $574;
+ $575 = $69;
+ $576 = ($575|0)>(1);
+ $577 = $74;
+ if ($576) {
+ $578 = $31;
+ $579 = $52;
+ $580 = (($578) + ($579<<2)|0);
+ $581 = HEAP32[$580>>2]|0;
+ $582 = (($577) - ($581))|0;
+ $583 = ($582|0)>(0);
+ if ($583) {
+ $584 = $74;
+ $585 = $31;
+ $586 = $52;
+ $587 = (($585) + ($586<<2)|0);
+ $588 = HEAP32[$587>>2]|0;
+ $589 = (($584) - ($588))|0;
+ $590 = $589;
+ } else {
+ $590 = 0;
+ }
+ $73 = $590;
+ $591 = $74;
+ $592 = $73;
+ $593 = (($591) - ($592))|0;
+ $594 = $39;
+ $595 = $52;
+ $596 = (($594) + ($595<<2)|0);
+ HEAP32[$596>>2] = $593;
+ $597 = $42;
+ $598 = $69;
+ $599 = Math_imul($597, $598)|0;
+ $600 = $42;
+ $601 = ($600|0)==(2);
+ $602 = $69;
+ $603 = ($602|0)>(2);
+ $or$cond6 = $601 & $603;
+ if ($or$cond6) {
+ $604 = $37;
+ $605 = HEAP32[$604>>2]|0;
+ $606 = ($605|0)!=(0);
+ if ($606) {
+ $611 = 0;
+ } else {
+ $607 = $52;
+ $608 = $35;
+ $609 = HEAP32[$608>>2]|0;
+ $610 = ($607|0)<($609|0);
+ $611 = $610;
+ }
+ } else {
+ $611 = 0;
+ }
+ $612 = $611 ? 1 : 0;
+ $613 = (($599) + ($612))|0;
+ $70 = $613;
+ $614 = $70;
+ $615 = $24;
+ $616 = ((($615)) + 56|0);
+ $617 = HEAP32[$616>>2]|0;
+ $618 = $52;
+ $619 = (($617) + ($618<<1)|0);
+ $620 = HEAP16[$619>>1]|0;
+ $621 = $620 << 16 >> 16;
+ $622 = $53;
+ $623 = (($621) + ($622))|0;
+ $624 = Math_imul($614, $623)|0;
+ $72 = $624;
+ $625 = $72;
+ $626 = $625 >> 1;
+ $627 = $70;
+ $628 = ($627*21)|0;
+ $629 = (($626) - ($628))|0;
+ $71 = $629;
+ $630 = $69;
+ $631 = ($630|0)==(2);
+ if ($631) {
+ $632 = $70;
+ $633 = $632 << 3;
+ $634 = $633 >> 2;
+ $635 = $71;
+ $636 = (($635) + ($634))|0;
+ $71 = $636;
+ }
+ $637 = $39;
+ $638 = $52;
+ $639 = (($637) + ($638<<2)|0);
+ $640 = HEAP32[$639>>2]|0;
+ $641 = $71;
+ $642 = (($640) + ($641))|0;
+ $643 = $70;
+ $644 = $643<<1;
+ $645 = $644 << 3;
+ $646 = ($642|0)<($645|0);
+ if ($646) {
+ $647 = $72;
+ $648 = $647 >> 2;
+ $649 = $71;
+ $650 = (($649) + ($648))|0;
+ $71 = $650;
+ } else {
+ $651 = $39;
+ $652 = $52;
+ $653 = (($651) + ($652<<2)|0);
+ $654 = HEAP32[$653>>2]|0;
+ $655 = $71;
+ $656 = (($654) + ($655))|0;
+ $657 = $70;
+ $658 = ($657*3)|0;
+ $659 = $658 << 3;
+ $660 = ($656|0)<($659|0);
+ if ($660) {
+ $661 = $72;
+ $662 = $661 >> 3;
+ $663 = $71;
+ $664 = (($663) + ($662))|0;
+ $71 = $664;
+ }
+ }
+ $665 = $39;
+ $666 = $52;
+ $667 = (($665) + ($666<<2)|0);
+ $668 = HEAP32[$667>>2]|0;
+ $669 = $71;
+ $670 = (($668) + ($669))|0;
+ $671 = $70;
+ $672 = $671 << 2;
+ $673 = (($670) + ($672))|0;
+ $674 = (0)>($673|0);
+ if ($674) {
+ $687 = 0;
+ } else {
+ $675 = $39;
+ $676 = $52;
+ $677 = (($675) + ($676<<2)|0);
+ $678 = HEAP32[$677>>2]|0;
+ $679 = $71;
+ $680 = (($678) + ($679))|0;
+ $681 = $70;
+ $682 = $681 << 2;
+ $683 = (($680) + ($682))|0;
+ $687 = $683;
+ }
+ $684 = $40;
+ $685 = $52;
+ $686 = (($684) + ($685<<2)|0);
+ HEAP32[$686>>2] = $687;
+ $688 = $40;
+ $689 = $52;
+ $690 = (($688) + ($689<<2)|0);
+ $691 = HEAP32[$690>>2]|0;
+ $692 = $70;
+ $693 = (_celt_udiv_137($691,$692)|0);
+ $694 = $693 >>> 3;
+ $695 = $40;
+ $696 = $52;
+ $697 = (($695) + ($696<<2)|0);
+ HEAP32[$697>>2] = $694;
+ $698 = $42;
+ $699 = $40;
+ $700 = $52;
+ $701 = (($699) + ($700<<2)|0);
+ $702 = HEAP32[$701>>2]|0;
+ $703 = Math_imul($698, $702)|0;
+ $704 = $39;
+ $705 = $52;
+ $706 = (($704) + ($705<<2)|0);
+ $707 = HEAP32[$706>>2]|0;
+ $708 = $707 >> 3;
+ $709 = ($703|0)>($708|0);
+ if ($709) {
+ $710 = $39;
+ $711 = $52;
+ $712 = (($710) + ($711<<2)|0);
+ $713 = HEAP32[$712>>2]|0;
+ $714 = $54;
+ $715 = $713 >> $714;
+ $716 = $715 >> 3;
+ $717 = $40;
+ $718 = $52;
+ $719 = (($717) + ($718<<2)|0);
+ HEAP32[$719>>2] = $716;
+ }
+ $720 = $40;
+ $721 = $52;
+ $722 = (($720) + ($721<<2)|0);
+ $723 = HEAP32[$722>>2]|0;
+ $724 = ($723|0)<(8);
+ if ($724) {
+ $725 = $40;
+ $726 = $52;
+ $727 = (($725) + ($726<<2)|0);
+ $728 = HEAP32[$727>>2]|0;
+ $732 = $728;
+ } else {
+ $732 = 8;
+ }
+ $729 = $40;
+ $730 = $52;
+ $731 = (($729) + ($730<<2)|0);
+ HEAP32[$731>>2] = $732;
+ $733 = $40;
+ $734 = $52;
+ $735 = (($733) + ($734<<2)|0);
+ $736 = HEAP32[$735>>2]|0;
+ $737 = $70;
+ $738 = $737 << 3;
+ $739 = Math_imul($736, $738)|0;
+ $740 = $39;
+ $741 = $52;
+ $742 = (($740) + ($741<<2)|0);
+ $743 = HEAP32[$742>>2]|0;
+ $744 = $71;
+ $745 = (($743) + ($744))|0;
+ $746 = ($739|0)>=($745|0);
+ $747 = $746&1;
+ $748 = $41;
+ $749 = $52;
+ $750 = (($748) + ($749<<2)|0);
+ HEAP32[$750>>2] = $747;
+ $751 = $42;
+ $752 = $40;
+ $753 = $52;
+ $754 = (($752) + ($753<<2)|0);
+ $755 = HEAP32[$754>>2]|0;
+ $756 = Math_imul($751, $755)|0;
+ $757 = $756 << 3;
+ $758 = $39;
+ $759 = $52;
+ $760 = (($758) + ($759<<2)|0);
+ $761 = HEAP32[$760>>2]|0;
+ $762 = (($761) - ($757))|0;
+ HEAP32[$760>>2] = $762;
+ } else {
+ $763 = $42;
+ $764 = $763 << 3;
+ $765 = (($577) - ($764))|0;
+ $766 = (0)>($765|0);
+ if ($766) {
+ $771 = 0;
+ } else {
+ $767 = $74;
+ $768 = $42;
+ $769 = $768 << 3;
+ $770 = (($767) - ($769))|0;
+ $771 = $770;
+ }
+ $73 = $771;
+ $772 = $74;
+ $773 = $73;
+ $774 = (($772) - ($773))|0;
+ $775 = $39;
+ $776 = $52;
+ $777 = (($775) + ($776<<2)|0);
+ HEAP32[$777>>2] = $774;
+ $778 = $40;
+ $779 = $52;
+ $780 = (($778) + ($779<<2)|0);
+ HEAP32[$780>>2] = 0;
+ $781 = $41;
+ $782 = $52;
+ $783 = (($781) + ($782<<2)|0);
+ HEAP32[$783>>2] = 1;
+ }
+ $784 = $73;
+ $785 = ($784|0)>(0);
+ if ($785) {
+ $786 = $73;
+ $787 = $54;
+ $788 = (($787) + 3)|0;
+ $789 = $786 >> $788;
+ $790 = $40;
+ $791 = $52;
+ $792 = (($790) + ($791<<2)|0);
+ $793 = HEAP32[$792>>2]|0;
+ $794 = (8 - ($793))|0;
+ $795 = ($789|0)<($794|0);
+ if ($795) {
+ $796 = $73;
+ $797 = $54;
+ $798 = (($797) + 3)|0;
+ $799 = $796 >> $798;
+ $805 = $799;
+ } else {
+ $800 = $40;
+ $801 = $52;
+ $802 = (($800) + ($801<<2)|0);
+ $803 = HEAP32[$802>>2]|0;
+ $804 = (8 - ($803))|0;
+ $805 = $804;
+ }
+ $75 = $805;
+ $806 = $75;
+ $807 = $40;
+ $808 = $52;
+ $809 = (($807) + ($808<<2)|0);
+ $810 = HEAP32[$809>>2]|0;
+ $811 = (($810) + ($806))|0;
+ HEAP32[$809>>2] = $811;
+ $812 = $75;
+ $813 = $42;
+ $814 = Math_imul($812, $813)|0;
+ $815 = $814 << 3;
+ $76 = $815;
+ $816 = $76;
+ $817 = $73;
+ $818 = $60;
+ $819 = (($817) - ($818))|0;
+ $820 = ($816|0)>=($819|0);
+ $821 = $820&1;
+ $822 = $41;
+ $823 = $52;
+ $824 = (($822) + ($823<<2)|0);
+ HEAP32[$824>>2] = $821;
+ $825 = $76;
+ $826 = $73;
+ $827 = (($826) - ($825))|0;
+ $73 = $827;
+ }
+ $828 = $73;
+ $60 = $828;
+ $829 = $52;
+ $830 = (($829) + 1)|0;
+ $52 = $830;
+ }
+ $831 = $60;
+ $832 = $33;
+ HEAP32[$832>>2] = $831;
+ while(1) {
+ $833 = $52;
+ $834 = $26;
+ $835 = ($833|0)<($834|0);
+ if (!($835)) {
+ break;
+ }
+ $836 = $39;
+ $837 = $52;
+ $838 = (($836) + ($837<<2)|0);
+ $839 = HEAP32[$838>>2]|0;
+ $840 = $54;
+ $841 = $839 >> $840;
+ $842 = $841 >> 3;
+ $843 = $40;
+ $844 = $52;
+ $845 = (($843) + ($844<<2)|0);
+ HEAP32[$845>>2] = $842;
+ $846 = $39;
+ $847 = $52;
+ $848 = (($846) + ($847<<2)|0);
+ HEAP32[$848>>2] = 0;
+ $849 = $40;
+ $850 = $52;
+ $851 = (($849) + ($850<<2)|0);
+ $852 = HEAP32[$851>>2]|0;
+ $853 = ($852|0)<(1);
+ $854 = $853&1;
+ $855 = $41;
+ $856 = $52;
+ $857 = (($855) + ($856<<2)|0);
+ HEAP32[$857>>2] = $854;
+ $858 = $52;
+ $859 = (($858) + 1)|0;
+ $52 = $859;
+ }
+ $860 = $55;
+ STACKTOP = sp;return ($860|0);
+}
+function _celt_udiv_137($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = (($4>>>0) / ($5>>>0))&-1;
+ STACKTOP = sp;return ($6|0);
+}
+function _alg_quant($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $$alloca_mul = 0, $$alloca_mul24 = 0, $$alloca_mul26 = 0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0;
+ var $115 = 0, $116 = 0.0, $117 = 0, $118 = 0, $119 = 0.0, $12 = 0, $120 = 0.0, $121 = 0.0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0, $126 = 0.0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0;
+ var $133 = 0, $134 = 0.0, $135 = 0.0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0.0;
+ var $151 = 0.0, $152 = 0.0, $153 = 0.0, $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0.0, $160 = 0.0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0.0, $168 = 0.0, $169 = 0.0;
+ var $17 = 0.0, $170 = 0, $171 = 0, $172 = 0, $173 = 0.0, $174 = 0.0, $175 = 0.0, $176 = 0, $177 = 0, $178 = 0.0, $179 = 0.0, $18 = 0.0, $180 = 0.0, $181 = 0.0, $182 = 0.0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0;
+ var $188 = 0.0, $189 = 0, $19 = 0, $190 = 0.0, $191 = 0.0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0.0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0.0, $202 = 0.0, $203 = 0.0, $204 = 0, $205 = 0;
+ var $206 = 0.0, $207 = 0.0, $208 = 0.0, $209 = 0.0, $21 = 0.0, $210 = 0, $211 = 0, $212 = 0.0, $213 = 0.0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0.0, $220 = 0, $221 = 0, $222 = 0.0, $223 = 0;
+ var $224 = 0, $225 = 0, $226 = 0.0, $227 = 0.0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0.0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0.0, $240 = 0, $241 = 0;
+ var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0.0, $250 = 0, $251 = 0, $252 = 0, $26 = 0.0, $27 = 0.0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0.0, $51 = 0.0, $52 = 0, $53 = 0;
+ var $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0;
+ var $72 = 0.0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
+ var $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $28 = $7;
+ $29 = (_llvm_stacksave()|0);
+ $20 = $29;
+ $$alloca_mul = $28<<2;
+ $30 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $31 = $7;
+ $$alloca_mul24 = $31<<2;
+ $32 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul24)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul24)|0)+15)&-16)|0);;
+ $33 = $7;
+ $$alloca_mul26 = $33<<2;
+ $34 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul26)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul26)|0)+15)&-16)|0);;
+ $35 = $6;
+ $36 = $7;
+ $37 = $10;
+ $38 = $8;
+ $39 = $9;
+ _exp_rotation($35,$36,1,$37,$38,$39);
+ $16 = 0.0;
+ $13 = 0;
+ while(1) {
+ $40 = $6;
+ $41 = $13;
+ $42 = (($40) + ($41<<2)|0);
+ $43 = +HEAPF32[$42>>2];
+ $44 = $43 > 0.0;
+ $45 = $13;
+ $46 = (($34) + ($45<<2)|0);
+ if ($44) {
+ HEAPF32[$46>>2] = 1.0;
+ } else {
+ HEAPF32[$46>>2] = -1.0;
+ $47 = $6;
+ $48 = $13;
+ $49 = (($47) + ($48<<2)|0);
+ $50 = +HEAPF32[$49>>2];
+ $51 = - $50;
+ $52 = $6;
+ $53 = $13;
+ $54 = (($52) + ($53<<2)|0);
+ HEAPF32[$54>>2] = $51;
+ }
+ $55 = $13;
+ $56 = (($32) + ($55<<2)|0);
+ HEAP32[$56>>2] = 0;
+ $57 = $13;
+ $58 = (($30) + ($57<<2)|0);
+ HEAPF32[$58>>2] = 0.0;
+ $59 = $13;
+ $60 = (($59) + 1)|0;
+ $13 = $60;
+ $61 = $7;
+ $62 = ($60|0)<($61|0);
+ if (!($62)) {
+ break;
+ }
+ }
+ $18 = 0.0;
+ $17 = 0.0;
+ $63 = $8;
+ $15 = $63;
+ $64 = $8;
+ $65 = $7;
+ $66 = $65 >> 1;
+ $67 = ($64|0)>($66|0);
+ if ($67) {
+ $13 = 0;
+ while(1) {
+ $68 = $6;
+ $69 = $13;
+ $70 = (($68) + ($69<<2)|0);
+ $71 = +HEAPF32[$70>>2];
+ $72 = $16;
+ $73 = $72 + $71;
+ $16 = $73;
+ $74 = $13;
+ $75 = (($74) + 1)|0;
+ $13 = $75;
+ $76 = $7;
+ $77 = ($75|0)<($76|0);
+ if (!($77)) {
+ break;
+ }
+ }
+ $78 = $16;
+ $79 = $78 > 1.0000000036274937E-15;
+ $80 = $16;
+ $81 = $80 < 64.0;
+ $or$cond = $79 & $81;
+ if (!($or$cond)) {
+ $82 = $6;
+ HEAPF32[$82>>2] = 1.0;
+ $13 = 1;
+ while(1) {
+ $83 = $6;
+ $84 = $13;
+ $85 = (($83) + ($84<<2)|0);
+ HEAPF32[$85>>2] = 0.0;
+ $86 = $13;
+ $87 = (($86) + 1)|0;
+ $13 = $87;
+ $88 = $7;
+ $89 = ($87|0)<($88|0);
+ if (!($89)) {
+ break;
+ }
+ }
+ $16 = 1.0;
+ }
+ $90 = $8;
+ $91 = (($90) - 1)|0;
+ $92 = (+($91|0));
+ $93 = $16;
+ $94 = 1.0 / $93;
+ $95 = $92 * $94;
+ $21 = $95;
+ $13 = 0;
+ while(1) {
+ $96 = $21;
+ $97 = $6;
+ $98 = $13;
+ $99 = (($97) + ($98<<2)|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = $96 * $100;
+ $102 = $101;
+ $103 = (+Math_floor((+$102)));
+ $104 = (~~(($103)));
+ $105 = $13;
+ $106 = (($32) + ($105<<2)|0);
+ HEAP32[$106>>2] = $104;
+ $107 = $13;
+ $108 = (($32) + ($107<<2)|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = (+($109|0));
+ $111 = $13;
+ $112 = (($30) + ($111<<2)|0);
+ HEAPF32[$112>>2] = $110;
+ $113 = $18;
+ $114 = $13;
+ $115 = (($30) + ($114<<2)|0);
+ $116 = +HEAPF32[$115>>2];
+ $117 = $13;
+ $118 = (($30) + ($117<<2)|0);
+ $119 = +HEAPF32[$118>>2];
+ $120 = $116 * $119;
+ $121 = $113 + $120;
+ $18 = $121;
+ $122 = $17;
+ $123 = $6;
+ $124 = $13;
+ $125 = (($123) + ($124<<2)|0);
+ $126 = +HEAPF32[$125>>2];
+ $127 = $13;
+ $128 = (($30) + ($127<<2)|0);
+ $129 = +HEAPF32[$128>>2];
+ $130 = $126 * $129;
+ $131 = $122 + $130;
+ $17 = $131;
+ $132 = $13;
+ $133 = (($30) + ($132<<2)|0);
+ $134 = +HEAPF32[$133>>2];
+ $135 = $134 * 2.0;
+ HEAPF32[$133>>2] = $135;
+ $136 = $13;
+ $137 = (($32) + ($136<<2)|0);
+ $138 = HEAP32[$137>>2]|0;
+ $139 = $15;
+ $140 = (($139) - ($138))|0;
+ $15 = $140;
+ $141 = $13;
+ $142 = (($141) + 1)|0;
+ $13 = $142;
+ $143 = $7;
+ $144 = ($142|0)<($143|0);
+ if (!($144)) {
+ break;
+ }
+ }
+ }
+ $145 = $15;
+ $146 = $7;
+ $147 = (($146) + 3)|0;
+ $148 = ($145|0)>($147|0);
+ if ($148) {
+ $149 = $15;
+ $150 = (+($149|0));
+ $22 = $150;
+ $151 = $18;
+ $152 = $22;
+ $153 = $22;
+ $154 = $152 * $153;
+ $155 = $151 + $154;
+ $18 = $155;
+ $156 = $18;
+ $157 = $22;
+ $158 = +HEAPF32[$30>>2];
+ $159 = $157 * $158;
+ $160 = $156 + $159;
+ $18 = $160;
+ $161 = $15;
+ $162 = HEAP32[$32>>2]|0;
+ $163 = (($162) + ($161))|0;
+ HEAP32[$32>>2] = $163;
+ $15 = 0;
+ }
+ $14 = 1.0;
+ $12 = 0;
+ while(1) {
+ $164 = $12;
+ $165 = $15;
+ $166 = ($164|0)<($165|0);
+ if (!($166)) {
+ break;
+ }
+ $24 = -999999986991104.0;
+ $25 = 0.0;
+ $23 = 0;
+ $167 = $18;
+ $168 = $167 + 1.0;
+ $18 = $168;
+ $13 = 0;
+ while(1) {
+ $169 = $17;
+ $170 = $6;
+ $171 = $13;
+ $172 = (($170) + ($171<<2)|0);
+ $173 = +HEAPF32[$172>>2];
+ $174 = $169 + $173;
+ $26 = $174;
+ $175 = $18;
+ $176 = $13;
+ $177 = (($30) + ($176<<2)|0);
+ $178 = +HEAPF32[$177>>2];
+ $179 = $175 + $178;
+ $27 = $179;
+ $180 = $26;
+ $181 = $26;
+ $182 = $180 * $181;
+ $26 = $182;
+ $183 = $25;
+ $184 = $26;
+ $185 = $183 * $184;
+ $186 = $27;
+ $187 = $24;
+ $188 = $186 * $187;
+ $189 = $185 > $188;
+ if ($189) {
+ $190 = $27;
+ $25 = $190;
+ $191 = $26;
+ $24 = $191;
+ $192 = $13;
+ $23 = $192;
+ }
+ $193 = $13;
+ $194 = (($193) + 1)|0;
+ $13 = $194;
+ $195 = $7;
+ $196 = ($194|0)<($195|0);
+ if (!($196)) {
+ break;
+ }
+ }
+ $197 = $17;
+ $198 = $6;
+ $199 = $23;
+ $200 = (($198) + ($199<<2)|0);
+ $201 = +HEAPF32[$200>>2];
+ $202 = $197 + $201;
+ $17 = $202;
+ $203 = $18;
+ $204 = $23;
+ $205 = (($30) + ($204<<2)|0);
+ $206 = +HEAPF32[$205>>2];
+ $207 = $203 + $206;
+ $18 = $207;
+ $208 = $14;
+ $209 = 2.0 * $208;
+ $210 = $23;
+ $211 = (($30) + ($210<<2)|0);
+ $212 = +HEAPF32[$211>>2];
+ $213 = $212 + $209;
+ HEAPF32[$211>>2] = $213;
+ $214 = $23;
+ $215 = (($32) + ($214<<2)|0);
+ $216 = HEAP32[$215>>2]|0;
+ $217 = (($216) + 1)|0;
+ HEAP32[$215>>2] = $217;
+ $218 = $12;
+ $219 = (($218) + 1)|0;
+ $12 = $219;
+ }
+ $13 = 0;
+ while(1) {
+ $220 = $13;
+ $221 = (($34) + ($220<<2)|0);
+ $222 = +HEAPF32[$221>>2];
+ $223 = $6;
+ $224 = $13;
+ $225 = (($223) + ($224<<2)|0);
+ $226 = +HEAPF32[$225>>2];
+ $227 = $222 * $226;
+ $228 = $6;
+ $229 = $13;
+ $230 = (($228) + ($229<<2)|0);
+ HEAPF32[$230>>2] = $227;
+ $231 = $13;
+ $232 = (($34) + ($231<<2)|0);
+ $233 = +HEAPF32[$232>>2];
+ $234 = $233 < 0.0;
+ if ($234) {
+ $235 = $13;
+ $236 = (($32) + ($235<<2)|0);
+ $237 = HEAP32[$236>>2]|0;
+ $238 = (0 - ($237))|0;
+ $239 = $13;
+ $240 = (($32) + ($239<<2)|0);
+ HEAP32[$240>>2] = $238;
+ }
+ $241 = $13;
+ $242 = (($241) + 1)|0;
+ $13 = $242;
+ $243 = $7;
+ $244 = ($242|0)<($243|0);
+ if (!($244)) {
+ break;
+ }
+ }
+ $245 = $7;
+ $246 = $8;
+ $247 = $11;
+ _encode_pulses($32,$245,$246,$247);
+ $248 = $7;
+ $249 = $10;
+ $250 = (_extract_collapse_mask($32,$248,$249)|0);
+ $19 = $250;
+ $251 = $19;
+ $252 = $20;
+ _llvm_stackrestore(($252|0));
+ STACKTOP = sp;return ($251|0);
+}
+function _exp_rotation($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0.0;
+ var $118 = 0.0, $119 = 0.0, $12 = 0, $120 = 0, $121 = 0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $30 = 0.0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0.0;
+ var $48 = 0.0, $49 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0.0, $99 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $17 = 0;
+ $19 = $10;
+ $20 = $19<<1;
+ $21 = $7;
+ $22 = ($20|0)>=($21|0);
+ $23 = $11;
+ $24 = ($23|0)==(0);
+ $or$cond = $22 | $24;
+ if ($or$cond) {
+ STACKTOP = sp;return;
+ }
+ $25 = $11;
+ $26 = (($25) - 1)|0;
+ $27 = (16636 + ($26<<2)|0);
+ $28 = HEAP32[$27>>2]|0;
+ $18 = $28;
+ $29 = $7;
+ $30 = (+($29|0));
+ $31 = 1.0 * $30;
+ $32 = $7;
+ $33 = $18;
+ $34 = $10;
+ $35 = Math_imul($33, $34)|0;
+ $36 = (($32) + ($35))|0;
+ $37 = (+($36|0));
+ $38 = $31 / $37;
+ $15 = $38;
+ $39 = $15;
+ $40 = $15;
+ $41 = $39 * $40;
+ $42 = 0.5 * $41;
+ $16 = $42;
+ $43 = $16;
+ $44 = 1.5707963705062866 * $43;
+ $45 = $44;
+ $46 = (+Math_cos((+$45)));
+ $47 = $46;
+ $13 = $47;
+ $48 = $16;
+ $49 = 1.0 - $48;
+ $50 = 1.5707963705062866 * $49;
+ $51 = $50;
+ $52 = (+Math_cos((+$51)));
+ $53 = $52;
+ $14 = $53;
+ $54 = $7;
+ $55 = $9;
+ $56 = $55<<3;
+ $57 = ($54|0)>=($56|0);
+ L4: do {
+ if ($57) {
+ $17 = 1;
+ while(1) {
+ $58 = $17;
+ $59 = $17;
+ $60 = Math_imul($58, $59)|0;
+ $61 = $17;
+ $62 = (($60) + ($61))|0;
+ $63 = $9;
+ $64 = Math_imul($62, $63)|0;
+ $65 = $9;
+ $66 = $65 >> 2;
+ $67 = (($64) + ($66))|0;
+ $68 = $7;
+ $69 = ($67|0)<($68|0);
+ if (!($69)) {
+ break L4;
+ }
+ $70 = $17;
+ $71 = (($70) + 1)|0;
+ $17 = $71;
+ }
+ }
+ } while(0);
+ $72 = $7;
+ $73 = $9;
+ $74 = (_celt_udiv_138($72,$73)|0);
+ $7 = $74;
+ $12 = 0;
+ while(1) {
+ $75 = $12;
+ $76 = $9;
+ $77 = ($75|0)<($76|0);
+ if (!($77)) {
+ break;
+ }
+ $78 = $8;
+ $79 = ($78|0)<(0);
+ if ($79) {
+ $80 = $17;
+ $81 = ($80|0)!=(0);
+ if ($81) {
+ $82 = $6;
+ $83 = $12;
+ $84 = $7;
+ $85 = Math_imul($83, $84)|0;
+ $86 = (($82) + ($85<<2)|0);
+ $87 = $7;
+ $88 = $17;
+ $89 = $14;
+ $90 = $13;
+ _exp_rotation1($86,$87,$88,$89,$90);
+ }
+ $91 = $6;
+ $92 = $12;
+ $93 = $7;
+ $94 = Math_imul($92, $93)|0;
+ $95 = (($91) + ($94<<2)|0);
+ $96 = $7;
+ $97 = $13;
+ $98 = $14;
+ _exp_rotation1($95,$96,1,$97,$98);
+ } else {
+ $99 = $6;
+ $100 = $12;
+ $101 = $7;
+ $102 = Math_imul($100, $101)|0;
+ $103 = (($99) + ($102<<2)|0);
+ $104 = $7;
+ $105 = $13;
+ $106 = $14;
+ $107 = - $106;
+ _exp_rotation1($103,$104,1,$105,$107);
+ $108 = $17;
+ $109 = ($108|0)!=(0);
+ if ($109) {
+ $110 = $6;
+ $111 = $12;
+ $112 = $7;
+ $113 = Math_imul($111, $112)|0;
+ $114 = (($110) + ($113<<2)|0);
+ $115 = $7;
+ $116 = $17;
+ $117 = $14;
+ $118 = $13;
+ $119 = - $118;
+ _exp_rotation1($114,$115,$116,$117,$119);
+ }
+ }
+ $120 = $12;
+ $121 = (($120) + 1)|0;
+ $12 = $121;
+ }
+ STACKTOP = sp;return;
+}
+function _extract_collapse_mask($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $12 = $6;
+ $13 = ($12|0)<=(1);
+ if ($13) {
+ $3 = 1;
+ $43 = $3;
+ STACKTOP = sp;return ($43|0);
+ }
+ $14 = $5;
+ $15 = $6;
+ $16 = (_celt_udiv_138($14,$15)|0);
+ $8 = $16;
+ $7 = 0;
+ $9 = 0;
+ while(1) {
+ $11 = 0;
+ $10 = 0;
+ while(1) {
+ $17 = $4;
+ $18 = $9;
+ $19 = $8;
+ $20 = Math_imul($18, $19)|0;
+ $21 = $10;
+ $22 = (($20) + ($21))|0;
+ $23 = (($17) + ($22<<2)|0);
+ $24 = HEAP32[$23>>2]|0;
+ $25 = $11;
+ $26 = $25 | $24;
+ $11 = $26;
+ $27 = $10;
+ $28 = (($27) + 1)|0;
+ $10 = $28;
+ $29 = $8;
+ $30 = ($28|0)<($29|0);
+ if (!($30)) {
+ break;
+ }
+ }
+ $31 = $11;
+ $32 = ($31|0)!=(0);
+ $33 = $32&1;
+ $34 = $9;
+ $35 = $33 << $34;
+ $36 = $7;
+ $37 = $36 | $35;
+ $7 = $37;
+ $38 = $9;
+ $39 = (($38) + 1)|0;
+ $9 = $39;
+ $40 = $6;
+ $41 = ($39|0)<($40|0);
+ if (!($41)) {
+ break;
+ }
+ }
+ $42 = $7;
+ $3 = $42;
+ $43 = $3;
+ STACKTOP = sp;return ($43|0);
+}
+function _celt_udiv_138($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = (($4>>>0) / ($5>>>0))&-1;
+ STACKTOP = sp;return ($6|0);
+}
+function _exp_rotation1($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = +$3;
+ $4 = +$4;
+ var $10 = 0, $11 = 0.0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0.0, $19 = 0.0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $40 = 0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0;
+ var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0, $8 = 0.0, $80 = 0, $81 = 0, $82 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0.0;
+ var $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $17 = $5;
+ $12 = $17;
+ $18 = $9;
+ $19 = - $18;
+ $11 = $19;
+ $10 = 0;
+ while(1) {
+ $20 = $10;
+ $21 = $6;
+ $22 = $7;
+ $23 = (($21) - ($22))|0;
+ $24 = ($20|0)<($23|0);
+ if (!($24)) {
+ break;
+ }
+ $25 = $12;
+ $26 = +HEAPF32[$25>>2];
+ $13 = $26;
+ $27 = $12;
+ $28 = $7;
+ $29 = (($27) + ($28<<2)|0);
+ $30 = +HEAPF32[$29>>2];
+ $14 = $30;
+ $31 = $8;
+ $32 = $14;
+ $33 = $31 * $32;
+ $34 = $9;
+ $35 = $13;
+ $36 = $34 * $35;
+ $37 = $33 + $36;
+ $38 = $12;
+ $39 = $7;
+ $40 = (($38) + ($39<<2)|0);
+ HEAPF32[$40>>2] = $37;
+ $41 = $8;
+ $42 = $13;
+ $43 = $41 * $42;
+ $44 = $11;
+ $45 = $14;
+ $46 = $44 * $45;
+ $47 = $43 + $46;
+ $48 = $12;
+ $49 = ((($48)) + 4|0);
+ $12 = $49;
+ HEAPF32[$48>>2] = $47;
+ $50 = $10;
+ $51 = (($50) + 1)|0;
+ $10 = $51;
+ }
+ $52 = $5;
+ $53 = $6;
+ $54 = $7;
+ $55 = $54<<1;
+ $56 = (($53) - ($55))|0;
+ $57 = (($56) - 1)|0;
+ $58 = (($52) + ($57<<2)|0);
+ $12 = $58;
+ $59 = $6;
+ $60 = $7;
+ $61 = $60<<1;
+ $62 = (($59) - ($61))|0;
+ $63 = (($62) - 1)|0;
+ $10 = $63;
+ while(1) {
+ $64 = $10;
+ $65 = ($64|0)>=(0);
+ if (!($65)) {
+ break;
+ }
+ $66 = $12;
+ $67 = +HEAPF32[$66>>2];
+ $15 = $67;
+ $68 = $12;
+ $69 = $7;
+ $70 = (($68) + ($69<<2)|0);
+ $71 = +HEAPF32[$70>>2];
+ $16 = $71;
+ $72 = $8;
+ $73 = $16;
+ $74 = $72 * $73;
+ $75 = $9;
+ $76 = $15;
+ $77 = $75 * $76;
+ $78 = $74 + $77;
+ $79 = $12;
+ $80 = $7;
+ $81 = (($79) + ($80<<2)|0);
+ HEAPF32[$81>>2] = $78;
+ $82 = $8;
+ $83 = $15;
+ $84 = $82 * $83;
+ $85 = $11;
+ $86 = $16;
+ $87 = $85 * $86;
+ $88 = $84 + $87;
+ $89 = $12;
+ $90 = ((($89)) + -4|0);
+ $12 = $90;
+ HEAPF32[$89>>2] = $88;
+ $91 = $10;
+ $92 = (($91) + -1)|0;
+ $10 = $92;
+ }
+ STACKTOP = sp;return;
+}
+function _alg_unquant($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = +$6;
+ var $$alloca_mul = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $17 = $8;
+ $18 = (_llvm_stacksave()|0);
+ $16 = $18;
+ $$alloca_mul = $17<<2;
+ $19 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $20 = $8;
+ $21 = $9;
+ $22 = $12;
+ $23 = (+_decode_pulses($19,$20,$21,$22));
+ $14 = $23;
+ $24 = $7;
+ $25 = $8;
+ $26 = $14;
+ $27 = $13;
+ _normalise_residual($19,$24,$25,$26,$27);
+ $28 = $7;
+ $29 = $8;
+ $30 = $11;
+ $31 = $9;
+ $32 = $10;
+ _exp_rotation($28,$29,-1,$30,$31,$32);
+ $33 = $8;
+ $34 = $11;
+ $35 = (_extract_collapse_mask($19,$33,$34)|0);
+ $15 = $35;
+ $36 = $15;
+ $37 = $16;
+ _llvm_stackrestore(($37|0));
+ STACKTOP = sp;return ($36|0);
+}
+function _normalise_residual($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = +$3;
+ $4 = +$4;
+ var $10 = 0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $13 = $8;
+ $11 = $13;
+ $14 = $11;
+ $15 = $14;
+ $16 = (+Math_sqrt((+$15)));
+ $17 = $16;
+ $18 = 1.0 / $17;
+ $19 = $9;
+ $20 = $18 * $19;
+ $12 = $20;
+ $10 = 0;
+ while(1) {
+ $21 = $12;
+ $22 = $5;
+ $23 = $10;
+ $24 = (($22) + ($23<<2)|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = (+($25|0));
+ $27 = $21 * $26;
+ $28 = $6;
+ $29 = $10;
+ $30 = (($28) + ($29<<2)|0);
+ HEAPF32[$30>>2] = $27;
+ $31 = $10;
+ $32 = (($31) + 1)|0;
+ $10 = $32;
+ $33 = $7;
+ $34 = ($32|0)<($33|0);
+ if (!($34)) {
+ break;
+ }
+ }
+ STACKTOP = sp;return;
+}
+function _renormalise_vector($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = $3|0;
+ var $10 = 0.0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0.0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $5 = 0, $6 = 0.0, $7 = 0, $8 = 0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $13 = $4;
+ $14 = $4;
+ $15 = $5;
+ $16 = (+_celt_inner_prod_c_141($13,$14,$15));
+ $17 = 1.0000000036274937E-15 + $16;
+ $9 = $17;
+ $18 = $9;
+ $11 = $18;
+ $19 = $11;
+ $20 = $19;
+ $21 = (+Math_sqrt((+$20)));
+ $22 = $21;
+ $23 = 1.0 / $22;
+ $24 = $6;
+ $25 = $23 * $24;
+ $10 = $25;
+ $26 = $4;
+ $12 = $26;
+ $8 = 0;
+ while(1) {
+ $27 = $8;
+ $28 = $5;
+ $29 = ($27|0)<($28|0);
+ if (!($29)) {
+ break;
+ }
+ $30 = $10;
+ $31 = $12;
+ $32 = +HEAPF32[$31>>2];
+ $33 = $30 * $32;
+ $34 = $12;
+ HEAPF32[$34>>2] = $33;
+ $35 = $12;
+ $36 = ((($35)) + 4|0);
+ $12 = $36;
+ $37 = $8;
+ $38 = (($37) + 1)|0;
+ $8 = $38;
+ }
+ STACKTOP = sp;return;
+}
+function _celt_inner_prod_c_141($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = 0.0;
+ $6 = 0;
+ while(1) {
+ $8 = $6;
+ $9 = $5;
+ $10 = ($8|0)<($9|0);
+ $11 = $7;
+ if (!($10)) {
+ break;
+ }
+ $12 = $3;
+ $13 = $6;
+ $14 = (($12) + ($13<<2)|0);
+ $15 = +HEAPF32[$14>>2];
+ $16 = $4;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ $19 = +HEAPF32[$18>>2];
+ $20 = $15 * $19;
+ $21 = $11 + $20;
+ $7 = $21;
+ $22 = $6;
+ $23 = (($22) + 1)|0;
+ $6 = $23;
+ }
+ STACKTOP = sp;return (+$11);
+}
+function _stereo_itheta($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0.0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0;
+ var $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0;
+ var $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $15 = 1.0000000036274937E-15;
+ $14 = 1.0000000036274937E-15;
+ $18 = $7;
+ $19 = ($18|0)!=(0);
+ L1: do {
+ if ($19) {
+ $10 = 0;
+ while(1) {
+ $20 = $10;
+ $21 = $8;
+ $22 = ($20|0)<($21|0);
+ if (!($22)) {
+ break L1;
+ }
+ $23 = $5;
+ $24 = $10;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = $6;
+ $28 = $10;
+ $29 = (($27) + ($28<<2)|0);
+ $30 = +HEAPF32[$29>>2];
+ $31 = $26 + $30;
+ $16 = $31;
+ $32 = $5;
+ $33 = $10;
+ $34 = (($32) + ($33<<2)|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $6;
+ $37 = $10;
+ $38 = (($36) + ($37<<2)|0);
+ $39 = +HEAPF32[$38>>2];
+ $40 = $35 - $39;
+ $17 = $40;
+ $41 = $14;
+ $42 = $16;
+ $43 = $16;
+ $44 = $42 * $43;
+ $45 = $41 + $44;
+ $14 = $45;
+ $46 = $15;
+ $47 = $17;
+ $48 = $17;
+ $49 = $47 * $48;
+ $50 = $46 + $49;
+ $15 = $50;
+ $51 = $10;
+ $52 = (($51) + 1)|0;
+ $10 = $52;
+ }
+ } else {
+ $53 = $5;
+ $54 = $5;
+ $55 = $8;
+ $56 = (+_celt_inner_prod_c_141($53,$54,$55));
+ $57 = $14;
+ $58 = $57 + $56;
+ $14 = $58;
+ $59 = $6;
+ $60 = $6;
+ $61 = $8;
+ $62 = (+_celt_inner_prod_c_141($59,$60,$61));
+ $63 = $15;
+ $64 = $63 + $62;
+ $15 = $64;
+ }
+ } while(0);
+ $65 = $14;
+ $66 = $65;
+ $67 = (+Math_sqrt((+$66)));
+ $68 = $67;
+ $12 = $68;
+ $69 = $15;
+ $70 = $69;
+ $71 = (+Math_sqrt((+$70)));
+ $72 = $71;
+ $13 = $72;
+ $73 = $13;
+ $74 = $73;
+ $75 = $12;
+ $76 = $75;
+ $77 = (+Math_atan2((+$74),(+$76)));
+ $78 = 10430.3818359375 * $77;
+ $79 = 0.5 + $78;
+ $80 = (+Math_floor((+$79)));
+ $81 = (~~(($80)));
+ $11 = $81;
+ $82 = $11;
+ STACKTOP = sp;return ($82|0);
+}
+function _silk_Get_Decoder_Size($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = 0;
+ $3 = $1;
+ HEAP32[$3>>2] = 8544;
+ $4 = $2;
+ STACKTOP = sp;return ($4|0);
+}
+function _silk_InitDecoder($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $3 = 0;
+ $5 = $1;
+ $4 = $5;
+ $2 = 0;
+ while(1) {
+ $6 = $2;
+ $7 = ($6|0)<(2);
+ if (!($7)) {
+ break;
+ }
+ $8 = $4;
+ $9 = $2;
+ $10 = (($8) + (($9*4260)|0)|0);
+ $11 = (_silk_init_decoder($10)|0);
+ $3 = $11;
+ $12 = $2;
+ $13 = (($12) + 1)|0;
+ $2 = $13;
+ }
+ $14 = $1;
+ $15 = ((($14)) + 8520|0);
+ ;HEAP32[$15>>2]=0|0;HEAP32[$15+4>>2]=0|0;HEAP32[$15+8>>2]=0|0;
+ $16 = $1;
+ $17 = ((($16)) + 8540|0);
+ HEAP32[$17>>2] = 0;
+ $18 = $3;
+ STACKTOP = sp;return ($18|0);
+}
+function _silk_Decode($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $$alloca_mul = 0, $$alloca_mul55 = 0, $$alloca_mul57 = 0, $$sink = 0, $$sink13 = 0, $$sink18 = 0, $$sink19 = 0, $$sink21 = 0, $$sink22 = 0, $$sink24 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0;
+ var $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0;
+ var $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0;
+ var $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0;
+ var $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0;
+ var $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0;
+ var $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0;
+ var $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0;
+ var $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0;
+ var $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0;
+ var $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0;
+ var $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0;
+ var $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0;
+ var $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0;
+ var $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0;
+ var $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0;
+ var $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0;
+ var $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0;
+ var $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0;
+ var $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0;
+ var $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0;
+ var $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0;
+ var $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0;
+ var $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0;
+ var $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0;
+ var $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0;
+ var $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0;
+ var $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0;
+ var $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0;
+ var $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0;
+ var $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0;
+ var $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0;
+ var $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0;
+ var $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0;
+ var $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0;
+ var $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0;
+ var $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0;
+ var $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0;
+ var $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0;
+ var $8 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0;
+ var $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond15 = 0, $or$cond17 = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond7 = 0, dest = 0, label = 0, sp = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 784|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(784|0);
+ $19 = sp + 84|0;
+ $21 = sp + 76|0;
+ $23 = sp + 64|0;
+ $24 = sp + 56|0;
+ $32 = sp + 136|0;
+ $37 = sp;
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ HEAP32[$19>>2] = 0;
+ $20 = 0;
+ ;HEAP32[$24>>2]=0|0;HEAP32[$24+4>>2]=0|0;
+ $38 = $9;
+ $26 = $38;
+ $39 = $26;
+ $27 = $39;
+ $40 = $12;
+ $41 = ($40|0)!=(0);
+ L1: do {
+ if ($41) {
+ $18 = 0;
+ while(1) {
+ $42 = $18;
+ $43 = $10;
+ $44 = ((($43)) + 4|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = ($42|0)<($45|0);
+ if (!($46)) {
+ break L1;
+ }
+ $47 = $27;
+ $48 = $18;
+ $49 = (($47) + (($48*4260)|0)|0);
+ $50 = ((($49)) + 2388|0);
+ HEAP32[$50>>2] = 0;
+ $51 = $18;
+ $52 = (($51) + 1)|0;
+ $18 = $52;
+ }
+ }
+ } while(0);
+ $53 = $10;
+ $54 = ((($53)) + 4|0);
+ $55 = HEAP32[$54>>2]|0;
+ $56 = $26;
+ $57 = ((($56)) + 8536|0);
+ $58 = HEAP32[$57>>2]|0;
+ $59 = ($55|0)>($58|0);
+ if ($59) {
+ $60 = $27;
+ $61 = ((($60)) + 4260|0);
+ $62 = (_silk_init_decoder($61)|0);
+ $63 = $20;
+ $64 = (($63) + ($62))|0;
+ $20 = $64;
+ }
+ $65 = $10;
+ $66 = ((($65)) + 4|0);
+ $67 = HEAP32[$66>>2]|0;
+ $68 = ($67|0)==(1);
+ if ($68) {
+ $69 = $26;
+ $70 = ((($69)) + 8536|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = ($71|0)==(2);
+ if ($72) {
+ $73 = $10;
+ $74 = ((($73)) + 12|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $27;
+ $77 = ((($76)) + 2316|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = ($78*1000)|0;
+ $80 = ($75|0)==($79|0);
+ $82 = $80;
+ } else {
+ $82 = 0;
+ }
+ } else {
+ $82 = 0;
+ }
+ $81 = $82&1;
+ $29 = $81;
+ $83 = $27;
+ $84 = ((($83)) + 2388|0);
+ $85 = HEAP32[$84>>2]|0;
+ $86 = ($85|0)==(0);
+ L14: do {
+ if ($86) {
+ $18 = 0;
+ L16: while(1) {
+ $87 = $18;
+ $88 = $10;
+ $89 = ((($88)) + 4|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = ($87|0)<($90|0);
+ if (!($91)) {
+ break L14;
+ }
+ $92 = $10;
+ $93 = ((($92)) + 16|0);
+ $94 = HEAP32[$93>>2]|0;
+ $95 = ($94|0)==(0);
+ do {
+ if ($95) {
+ $96 = $27;
+ $97 = $18;
+ $98 = (($96) + (($97*4260)|0)|0);
+ $99 = ((($98)) + 2392|0);
+ HEAP32[$99>>2] = 1;
+ $100 = $27;
+ $101 = $18;
+ $102 = (($100) + (($101*4260)|0)|0);
+ $$sink22 = 2;$$sink24 = $102;
+ } else {
+ $103 = $10;
+ $104 = ((($103)) + 16|0);
+ $105 = HEAP32[$104>>2]|0;
+ $106 = ($105|0)==(10);
+ if ($106) {
+ $107 = $27;
+ $108 = $18;
+ $109 = (($107) + (($108*4260)|0)|0);
+ $110 = ((($109)) + 2392|0);
+ HEAP32[$110>>2] = 1;
+ $111 = $27;
+ $112 = $18;
+ $113 = (($111) + (($112*4260)|0)|0);
+ $$sink22 = 2;$$sink24 = $113;
+ break;
+ }
+ $114 = $10;
+ $115 = ((($114)) + 16|0);
+ $116 = HEAP32[$115>>2]|0;
+ $117 = ($116|0)==(20);
+ if ($117) {
+ $118 = $27;
+ $119 = $18;
+ $120 = (($118) + (($119*4260)|0)|0);
+ $121 = ((($120)) + 2392|0);
+ HEAP32[$121>>2] = 1;
+ $122 = $27;
+ $123 = $18;
+ $124 = (($122) + (($123*4260)|0)|0);
+ $$sink22 = 4;$$sink24 = $124;
+ break;
+ }
+ $125 = $10;
+ $126 = ((($125)) + 16|0);
+ $127 = HEAP32[$126>>2]|0;
+ $128 = ($127|0)==(40);
+ if ($128) {
+ $129 = $27;
+ $130 = $18;
+ $131 = (($129) + (($130*4260)|0)|0);
+ $132 = ((($131)) + 2392|0);
+ HEAP32[$132>>2] = 2;
+ $133 = $27;
+ $134 = $18;
+ $135 = (($133) + (($134*4260)|0)|0);
+ $$sink22 = 4;$$sink24 = $135;
+ break;
+ }
+ $136 = $10;
+ $137 = ((($136)) + 16|0);
+ $138 = HEAP32[$137>>2]|0;
+ $139 = ($138|0)==(60);
+ if (!($139)) {
+ label = 23;
+ break L16;
+ }
+ $140 = $27;
+ $141 = $18;
+ $142 = (($140) + (($141*4260)|0)|0);
+ $143 = ((($142)) + 2392|0);
+ HEAP32[$143>>2] = 3;
+ $144 = $27;
+ $145 = $18;
+ $146 = (($144) + (($145*4260)|0)|0);
+ $$sink22 = 4;$$sink24 = $146;
+ }
+ } while(0);
+ $147 = ((($$sink24)) + 2324|0);
+ HEAP32[$147>>2] = $$sink22;
+ $148 = $10;
+ $149 = ((($148)) + 12|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = $150 >> 10;
+ $152 = (($151) + 1)|0;
+ $31 = $152;
+ $153 = $31;
+ $154 = ($153|0)!=(8);
+ $155 = $31;
+ $156 = ($155|0)!=(12);
+ $or$cond = $154 & $156;
+ $157 = $31;
+ $158 = ($157|0)!=(16);
+ $or$cond3 = $or$cond & $158;
+ if ($or$cond3) {
+ label = 25;
+ break;
+ }
+ $159 = $27;
+ $160 = $18;
+ $161 = (($159) + (($160*4260)|0)|0);
+ $162 = $31;
+ $163 = $10;
+ $164 = ((($163)) + 8|0);
+ $165 = HEAP32[$164>>2]|0;
+ $166 = (_silk_decoder_set_fs($161,$162,$165)|0);
+ $167 = $20;
+ $168 = (($167) + ($166))|0;
+ $20 = $168;
+ $169 = $18;
+ $170 = (($169) + 1)|0;
+ $18 = $170;
+ }
+ if ((label|0) == 23) {
+ $8 = -203;
+ $806 = $8;
+ STACKTOP = sp;return ($806|0);
+ }
+ else if ((label|0) == 25) {
+ $8 = -200;
+ $806 = $8;
+ STACKTOP = sp;return ($806|0);
+ }
+ }
+ } while(0);
+ $171 = $10;
+ $172 = HEAP32[$171>>2]|0;
+ $173 = ($172|0)==(2);
+ do {
+ if ($173) {
+ $174 = $10;
+ $175 = ((($174)) + 4|0);
+ $176 = HEAP32[$175>>2]|0;
+ $177 = ($176|0)==(2);
+ if ($177) {
+ $178 = $26;
+ $179 = ((($178)) + 8532|0);
+ $180 = HEAP32[$179>>2]|0;
+ $181 = ($180|0)==(1);
+ if (!($181)) {
+ $182 = $26;
+ $183 = ((($182)) + 8536|0);
+ $184 = HEAP32[$183>>2]|0;
+ $185 = ($184|0)==(1);
+ if (!($185)) {
+ break;
+ }
+ }
+ $186 = $26;
+ $187 = ((($186)) + 8520|0);
+ ;HEAP32[$187>>2]=0|0;
+ $188 = $26;
+ $189 = ((($188)) + 8520|0);
+ $190 = ((($189)) + 8|0);
+ ;HEAP32[$190>>2]=0|0;
+ $191 = $27;
+ $192 = ((($191)) + 4260|0);
+ $193 = ((($192)) + 2432|0);
+ $194 = $27;
+ $195 = ((($194)) + 2432|0);
+ _memcpy(($193|0),($195|0),300)|0;
+ }
+ }
+ } while(0);
+ $196 = $10;
+ $197 = HEAP32[$196>>2]|0;
+ $198 = $26;
+ $199 = ((($198)) + 8532|0);
+ HEAP32[$199>>2] = $197;
+ $200 = $10;
+ $201 = ((($200)) + 4|0);
+ $202 = HEAP32[$201>>2]|0;
+ $203 = $26;
+ $204 = ((($203)) + 8536|0);
+ HEAP32[$204>>2] = $202;
+ $205 = $10;
+ $206 = ((($205)) + 8|0);
+ $207 = HEAP32[$206>>2]|0;
+ $208 = ($207|0)>(48000);
+ if (!($208)) {
+ $209 = $10;
+ $210 = ((($209)) + 8|0);
+ $211 = HEAP32[$210>>2]|0;
+ $212 = ($211|0)<(8000);
+ if (!($212)) {
+ $214 = $11;
+ $215 = ($214|0)!=(1);
+ L50: do {
+ if ($215) {
+ $216 = $27;
+ $217 = ((($216)) + 2388|0);
+ $218 = HEAP32[$217>>2]|0;
+ $219 = ($218|0)==(0);
+ if ($219) {
+ $18 = 0;
+ while(1) {
+ $220 = $18;
+ $221 = $10;
+ $222 = ((($221)) + 4|0);
+ $223 = HEAP32[$222>>2]|0;
+ $224 = ($220|0)<($223|0);
+ if (!($224)) {
+ break;
+ }
+ $17 = 0;
+ while(1) {
+ $225 = $17;
+ $226 = $27;
+ $227 = $18;
+ $228 = (($226) + (($227*4260)|0)|0);
+ $229 = ((($228)) + 2392|0);
+ $230 = HEAP32[$229>>2]|0;
+ $231 = ($225|0)<($230|0);
+ $232 = $13;
+ $233 = (_ec_dec_bit_logp($232,1)|0);
+ $234 = $27;
+ $235 = $18;
+ $236 = (($234) + (($235*4260)|0)|0);
+ if (!($231)) {
+ break;
+ }
+ $237 = ((($236)) + 2404|0);
+ $238 = $17;
+ $239 = (($237) + ($238<<2)|0);
+ HEAP32[$239>>2] = $233;
+ $240 = $17;
+ $241 = (($240) + 1)|0;
+ $17 = $241;
+ }
+ $242 = ((($236)) + 2416|0);
+ HEAP32[$242>>2] = $233;
+ $243 = $18;
+ $244 = (($243) + 1)|0;
+ $18 = $244;
+ }
+ $18 = 0;
+ while(1) {
+ $245 = $18;
+ $246 = $10;
+ $247 = ((($246)) + 4|0);
+ $248 = HEAP32[$247>>2]|0;
+ $249 = ($245|0)<($248|0);
+ if (!($249)) {
+ break;
+ }
+ $250 = $27;
+ $251 = $18;
+ $252 = (($250) + (($251*4260)|0)|0);
+ $253 = ((($252)) + 2420|0);
+ ;HEAP32[$253>>2]=0|0;HEAP32[$253+4>>2]=0|0;HEAP32[$253+8>>2]=0|0;
+ $254 = $27;
+ $255 = $18;
+ $256 = (($254) + (($255*4260)|0)|0);
+ $257 = ((($256)) + 2416|0);
+ $258 = HEAP32[$257>>2]|0;
+ $259 = ($258|0)!=(0);
+ L64: do {
+ if ($259) {
+ $260 = $27;
+ $261 = $18;
+ $262 = (($260) + (($261*4260)|0)|0);
+ $263 = ((($262)) + 2392|0);
+ $264 = HEAP32[$263>>2]|0;
+ $265 = ($264|0)==(1);
+ if ($265) {
+ $266 = $27;
+ $267 = $18;
+ $268 = (($266) + (($267*4260)|0)|0);
+ $269 = ((($268)) + 2420|0);
+ HEAP32[$269>>2] = 1;
+ break;
+ }
+ $270 = $13;
+ $271 = $27;
+ $272 = $18;
+ $273 = (($271) + (($272*4260)|0)|0);
+ $274 = ((($273)) + 2392|0);
+ $275 = HEAP32[$274>>2]|0;
+ $276 = (($275) - 2)|0;
+ $277 = (16804 + ($276<<2)|0);
+ $278 = HEAP32[$277>>2]|0;
+ $279 = (_ec_dec_icdf($270,$278,8)|0);
+ $280 = (($279) + 1)|0;
+ $22 = $280;
+ $17 = 0;
+ while(1) {
+ $281 = $17;
+ $282 = $27;
+ $283 = $18;
+ $284 = (($282) + (($283*4260)|0)|0);
+ $285 = ((($284)) + 2392|0);
+ $286 = HEAP32[$285>>2]|0;
+ $287 = ($281|0)<($286|0);
+ if (!($287)) {
+ break L64;
+ }
+ $288 = $22;
+ $289 = $17;
+ $290 = $288 >> $289;
+ $291 = $290 & 1;
+ $292 = $27;
+ $293 = $18;
+ $294 = (($292) + (($293*4260)|0)|0);
+ $295 = ((($294)) + 2420|0);
+ $296 = $17;
+ $297 = (($295) + ($296<<2)|0);
+ HEAP32[$297>>2] = $291;
+ $298 = $17;
+ $299 = (($298) + 1)|0;
+ $17 = $299;
+ }
+ }
+ } while(0);
+ $300 = $18;
+ $301 = (($300) + 1)|0;
+ $18 = $301;
+ }
+ $302 = $11;
+ $303 = ($302|0)==(0);
+ if ($303) {
+ $17 = 0;
+ while(1) {
+ $304 = $17;
+ $305 = $27;
+ $306 = ((($305)) + 2392|0);
+ $307 = HEAP32[$306>>2]|0;
+ $308 = ($304|0)<($307|0);
+ if (!($308)) {
+ break L50;
+ }
+ $18 = 0;
+ while(1) {
+ $309 = $18;
+ $310 = $10;
+ $311 = ((($310)) + 4|0);
+ $312 = HEAP32[$311>>2]|0;
+ $313 = ($309|0)<($312|0);
+ if (!($313)) {
+ break;
+ }
+ $314 = $27;
+ $315 = $18;
+ $316 = (($314) + (($315*4260)|0)|0);
+ $317 = ((($316)) + 2420|0);
+ $318 = $17;
+ $319 = (($317) + ($318<<2)|0);
+ $320 = HEAP32[$319>>2]|0;
+ $321 = ($320|0)!=(0);
+ if ($321) {
+ $322 = $10;
+ $323 = ((($322)) + 4|0);
+ $324 = HEAP32[$323>>2]|0;
+ $325 = ($324|0)==(2);
+ $326 = $18;
+ $327 = ($326|0)==(0);
+ $or$cond5 = $325 & $327;
+ do {
+ if ($or$cond5) {
+ $328 = $13;
+ _silk_stereo_decode_pred($328,$24);
+ $329 = $27;
+ $330 = ((($329)) + 4260|0);
+ $331 = ((($330)) + 2420|0);
+ $332 = $17;
+ $333 = (($331) + ($332<<2)|0);
+ $334 = HEAP32[$333>>2]|0;
+ $335 = ($334|0)==(0);
+ if (!($335)) {
+ break;
+ }
+ $336 = $13;
+ _silk_stereo_decode_mid_only($336,$19);
+ }
+ } while(0);
+ $337 = $17;
+ $338 = ($337|0)>(0);
+ do {
+ if ($338) {
+ $339 = $27;
+ $340 = $18;
+ $341 = (($339) + (($340*4260)|0)|0);
+ $342 = ((($341)) + 2420|0);
+ $343 = $17;
+ $344 = (($343) - 1)|0;
+ $345 = (($342) + ($344<<2)|0);
+ $346 = HEAP32[$345>>2]|0;
+ $347 = ($346|0)!=(0);
+ if (!($347)) {
+ label = 64;
+ break;
+ }
+ $33 = 2;
+ } else {
+ label = 64;
+ }
+ } while(0);
+ if ((label|0) == 64) {
+ label = 0;
+ $33 = 0;
+ }
+ $348 = $27;
+ $349 = $18;
+ $350 = (($348) + (($349*4260)|0)|0);
+ $351 = $13;
+ $352 = $17;
+ $353 = $33;
+ _silk_decode_indices($350,$351,$352,1,$353);
+ $354 = $13;
+ $355 = $27;
+ $356 = $18;
+ $357 = (($355) + (($356*4260)|0)|0);
+ $358 = ((($357)) + 2736|0);
+ $359 = ((($358)) + 29|0);
+ $360 = HEAP8[$359>>0]|0;
+ $361 = $360 << 24 >> 24;
+ $362 = $27;
+ $363 = $18;
+ $364 = (($362) + (($363*4260)|0)|0);
+ $365 = ((($364)) + 2736|0);
+ $366 = ((($365)) + 30|0);
+ $367 = HEAP8[$366>>0]|0;
+ $368 = $367 << 24 >> 24;
+ $369 = $27;
+ $370 = $18;
+ $371 = (($369) + (($370*4260)|0)|0);
+ $372 = ((($371)) + 2328|0);
+ $373 = HEAP32[$372>>2]|0;
+ _silk_decode_pulses($354,$32,$361,$368,$373);
+ }
+ $374 = $18;
+ $375 = (($374) + 1)|0;
+ $18 = $375;
+ }
+ $376 = $17;
+ $377 = (($376) + 1)|0;
+ $17 = $377;
+ }
+ }
+ }
+ }
+ } while(0);
+ $378 = $10;
+ $379 = ((($378)) + 4|0);
+ $380 = HEAP32[$379>>2]|0;
+ $381 = ($380|0)==(2);
+ L96: do {
+ if ($381) {
+ $382 = $11;
+ $383 = ($382|0)==(0);
+ do {
+ if (!($383)) {
+ $384 = $11;
+ $385 = ($384|0)==(2);
+ if ($385) {
+ $386 = $27;
+ $387 = ((($386)) + 2420|0);
+ $388 = $27;
+ $389 = ((($388)) + 2388|0);
+ $390 = HEAP32[$389>>2]|0;
+ $391 = (($387) + ($390<<2)|0);
+ $392 = HEAP32[$391>>2]|0;
+ $393 = ($392|0)==(1);
+ if ($393) {
+ break;
+ }
+ }
+ $18 = 0;
+ while(1) {
+ $418 = $18;
+ $419 = ($418|0)<(2);
+ if (!($419)) {
+ break L96;
+ }
+ $420 = $26;
+ $421 = ((($420)) + 8520|0);
+ $422 = $18;
+ $423 = (($421) + ($422<<1)|0);
+ $424 = HEAP16[$423>>1]|0;
+ $425 = $424 << 16 >> 16;
+ $426 = $18;
+ $427 = (($24) + ($426<<2)|0);
+ HEAP32[$427>>2] = $425;
+ $428 = $18;
+ $429 = (($428) + 1)|0;
+ $18 = $429;
+ }
+ }
+ } while(0);
+ $394 = $13;
+ _silk_stereo_decode_pred($394,$24);
+ $395 = $11;
+ $396 = ($395|0)==(0);
+ if ($396) {
+ $397 = $27;
+ $398 = ((($397)) + 4260|0);
+ $399 = ((($398)) + 2404|0);
+ $400 = $27;
+ $401 = ((($400)) + 2388|0);
+ $402 = HEAP32[$401>>2]|0;
+ $403 = (($399) + ($402<<2)|0);
+ $404 = HEAP32[$403>>2]|0;
+ $405 = ($404|0)==(0);
+ if (!($405)) {
+ label = 74;
+ }
+ } else {
+ label = 74;
+ }
+ do {
+ if ((label|0) == 74) {
+ $406 = $11;
+ $407 = ($406|0)==(2);
+ if ($407) {
+ $408 = $27;
+ $409 = ((($408)) + 4260|0);
+ $410 = ((($409)) + 2420|0);
+ $411 = $27;
+ $412 = ((($411)) + 2388|0);
+ $413 = HEAP32[$412>>2]|0;
+ $414 = (($410) + ($413<<2)|0);
+ $415 = HEAP32[$414>>2]|0;
+ $416 = ($415|0)==(0);
+ if ($416) {
+ break;
+ }
+ }
+ HEAP32[$19>>2] = 0;
+ break L96;
+ }
+ } while(0);
+ $417 = $13;
+ _silk_stereo_decode_mid_only($417,$19);
+ }
+ } while(0);
+ $430 = $10;
+ $431 = ((($430)) + 4|0);
+ $432 = HEAP32[$431>>2]|0;
+ $433 = ($432|0)==(2);
+ $434 = HEAP32[$19>>2]|0;
+ $435 = ($434|0)==(0);
+ $or$cond7 = $433 & $435;
+ if ($or$cond7) {
+ $436 = $26;
+ $437 = ((($436)) + 8540|0);
+ $438 = HEAP32[$437>>2]|0;
+ $439 = ($438|0)==(1);
+ if ($439) {
+ $440 = $26;
+ $441 = ((($440)) + 4260|0);
+ $442 = ((($441)) + 1348|0);
+ _memset(($442|0),0,960)|0;
+ $443 = $26;
+ $444 = ((($443)) + 4260|0);
+ $445 = ((($444)) + 1284|0);
+ dest=$445; stop=dest+64|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
+ $446 = $26;
+ $447 = ((($446)) + 4260|0);
+ $448 = ((($447)) + 2308|0);
+ HEAP32[$448>>2] = 100;
+ $449 = $26;
+ $450 = ((($449)) + 4260|0);
+ $451 = ((($450)) + 2312|0);
+ HEAP8[$451>>0] = 10;
+ $452 = $26;
+ $453 = ((($452)) + 4260|0);
+ $454 = ((($453)) + 4164|0);
+ HEAP32[$454>>2] = 0;
+ $455 = $26;
+ $456 = ((($455)) + 4260|0);
+ $457 = ((($456)) + 2376|0);
+ HEAP32[$457>>2] = 1;
+ }
+ }
+ $458 = $10;
+ $459 = ((($458)) + 12|0);
+ $460 = HEAP32[$459>>2]|0;
+ $461 = $10;
+ $462 = ((($461)) + 4|0);
+ $463 = HEAP32[$462>>2]|0;
+ $464 = Math_imul($460, $463)|0;
+ $465 = $10;
+ $466 = ((($465)) + 8|0);
+ $467 = HEAP32[$466>>2]|0;
+ $468 = $10;
+ $469 = HEAP32[$468>>2]|0;
+ $470 = Math_imul($467, $469)|0;
+ $471 = ($464|0)<($470|0);
+ $472 = $471&1;
+ $30 = $472;
+ $473 = $30;
+ $474 = ($473|0)!=(0);
+ if ($474) {
+ $484 = 1;
+ } else {
+ $475 = $10;
+ $476 = ((($475)) + 4|0);
+ $477 = HEAP32[$476>>2]|0;
+ $478 = $27;
+ $479 = ((($478)) + 2328|0);
+ $480 = HEAP32[$479>>2]|0;
+ $481 = (($480) + 2)|0;
+ $482 = Math_imul($477, $481)|0;
+ $484 = $482;
+ }
+ $483 = (_llvm_stacksave()|0);
+ $34 = $483;
+ $$alloca_mul = $484<<1;
+ $485 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $486 = $30;
+ $487 = ($486|0)!=(0);
+ if ($487) {
+ $488 = $14;
+ HEAP32[$23>>2] = $488;
+ $489 = $14;
+ $490 = $27;
+ $$sink = $489;$$sink13 = $490;
+ } else {
+ HEAP32[$23>>2] = $485;
+ $491 = $27;
+ $$sink = $485;$$sink13 = $491;
+ }
+ $492 = ((($$sink13)) + 2328|0);
+ $493 = HEAP32[$492>>2]|0;
+ $494 = (($$sink) + ($493<<1)|0);
+ $495 = ((($494)) + 4|0);
+ $496 = ((($23)) + 4|0);
+ HEAP32[$496>>2] = $495;
+ $497 = $11;
+ $498 = ($497|0)==(0);
+ if ($498) {
+ $499 = HEAP32[$19>>2]|0;
+ $500 = ($499|0)!=(0);
+ $501 = $500 ^ 1;
+ $502 = $501&1;
+ $28 = $502;
+ } else {
+ $503 = $26;
+ $504 = ((($503)) + 8540|0);
+ $505 = HEAP32[$504>>2]|0;
+ $506 = ($505|0)!=(0);
+ if ($506) {
+ $507 = $10;
+ $508 = ((($507)) + 4|0);
+ $509 = HEAP32[$508>>2]|0;
+ $510 = ($509|0)==(2);
+ $511 = $11;
+ $512 = ($511|0)==(2);
+ $or$cond15 = $510 & $512;
+ if ($or$cond15) {
+ $513 = $27;
+ $514 = ((($513)) + 4260|0);
+ $515 = ((($514)) + 2420|0);
+ $516 = $27;
+ $517 = ((($516)) + 4260|0);
+ $518 = ((($517)) + 2388|0);
+ $519 = HEAP32[$518>>2]|0;
+ $520 = (($515) + ($519<<2)|0);
+ $521 = HEAP32[$520>>2]|0;
+ $522 = ($521|0)==(1);
+ $524 = $522;
+ } else {
+ $524 = 0;
+ }
+ } else {
+ $524 = 1;
+ }
+ $523 = $524&1;
+ $28 = $523;
+ }
+ $18 = 0;
+ while(1) {
+ $525 = $18;
+ $526 = $10;
+ $527 = ((($526)) + 4|0);
+ $528 = HEAP32[$527>>2]|0;
+ $529 = ($525|0)<($528|0);
+ if (!($529)) {
+ break;
+ }
+ $530 = $18;
+ $531 = ($530|0)==(0);
+ $532 = $28;
+ $533 = ($532|0)!=(0);
+ $or$cond17 = $531 | $533;
+ if ($or$cond17) {
+ $534 = $27;
+ $535 = ((($534)) + 2388|0);
+ $536 = HEAP32[$535>>2]|0;
+ $537 = $18;
+ $538 = (($536) - ($537))|0;
+ $35 = $538;
+ $539 = $35;
+ $540 = ($539|0)<=(0);
+ L140: do {
+ if ($540) {
+ $36 = 0;
+ } else {
+ $541 = $11;
+ $542 = ($541|0)==(2);
+ if ($542) {
+ $543 = $27;
+ $544 = $18;
+ $545 = (($543) + (($544*4260)|0)|0);
+ $546 = ((($545)) + 2420|0);
+ $547 = $35;
+ $548 = (($547) - 1)|0;
+ $549 = (($546) + ($548<<2)|0);
+ $550 = HEAP32[$549>>2]|0;
+ $551 = ($550|0)!=(0);
+ $552 = $551 ? 2 : 0;
+ $36 = $552;
+ break;
+ }
+ $553 = $18;
+ $554 = ($553|0)>(0);
+ do {
+ if ($554) {
+ $555 = $26;
+ $556 = ((($555)) + 8540|0);
+ $557 = HEAP32[$556>>2]|0;
+ $558 = ($557|0)!=(0);
+ if (!($558)) {
+ break;
+ }
+ $36 = 1;
+ break L140;
+ }
+ } while(0);
+ $36 = 2;
+ }
+ } while(0);
+ $559 = $27;
+ $560 = $18;
+ $561 = (($559) + (($560*4260)|0)|0);
+ $562 = $13;
+ $563 = $18;
+ $564 = (($23) + ($563<<2)|0);
+ $565 = HEAP32[$564>>2]|0;
+ $566 = ((($565)) + 4|0);
+ $567 = $11;
+ $568 = $36;
+ $569 = $16;
+ $570 = (_silk_decode_frame($561,$562,$566,$21,$567,$568,$569)|0);
+ $571 = $20;
+ $572 = (($571) + ($570))|0;
+ $20 = $572;
+ } else {
+ $573 = $18;
+ $574 = (($23) + ($573<<2)|0);
+ $575 = HEAP32[$574>>2]|0;
+ $576 = ((($575)) + 4|0);
+ $577 = HEAP32[$21>>2]|0;
+ $578 = $577<<1;
+ _memset(($576|0),0,($578|0))|0;
+ }
+ $579 = $27;
+ $580 = $18;
+ $581 = (($579) + (($580*4260)|0)|0);
+ $582 = ((($581)) + 2388|0);
+ $583 = HEAP32[$582>>2]|0;
+ $584 = (($583) + 1)|0;
+ HEAP32[$582>>2] = $584;
+ $585 = $18;
+ $586 = (($585) + 1)|0;
+ $18 = $586;
+ }
+ $587 = $10;
+ $588 = HEAP32[$587>>2]|0;
+ $589 = ($588|0)==(2);
+ if ($589) {
+ $590 = $10;
+ $591 = ((($590)) + 4|0);
+ $592 = HEAP32[$591>>2]|0;
+ $593 = ($592|0)==(2);
+ if ($593) {
+ $594 = $26;
+ $595 = ((($594)) + 8520|0);
+ $596 = HEAP32[$23>>2]|0;
+ $597 = ((($23)) + 4|0);
+ $598 = HEAP32[$597>>2]|0;
+ $599 = $27;
+ $600 = ((($599)) + 2316|0);
+ $601 = HEAP32[$600>>2]|0;
+ $602 = HEAP32[$21>>2]|0;
+ _silk_stereo_MS_to_LR($595,$596,$598,$24,$601,$602);
+ } else {
+ label = 112;
+ }
+ } else {
+ label = 112;
+ }
+ if ((label|0) == 112) {
+ $603 = HEAP32[$23>>2]|0;
+ $604 = $26;
+ $605 = ((($604)) + 8520|0);
+ $606 = ((($605)) + 4|0);
+ ;HEAP16[$603>>1]=HEAP16[$606>>1]|0;HEAP16[$603+2>>1]=HEAP16[$606+2>>1]|0;
+ $607 = $26;
+ $608 = ((($607)) + 8520|0);
+ $609 = ((($608)) + 4|0);
+ $610 = HEAP32[$23>>2]|0;
+ $611 = HEAP32[$21>>2]|0;
+ $612 = (($610) + ($611<<1)|0);
+ ;HEAP16[$609>>1]=HEAP16[$612>>1]|0;HEAP16[$609+2>>1]=HEAP16[$612+2>>1]|0;
+ }
+ $613 = HEAP32[$21>>2]|0;
+ $614 = $10;
+ $615 = ((($614)) + 8|0);
+ $616 = HEAP32[$615>>2]|0;
+ $617 = Math_imul($613, $616)|0;
+ $618 = $27;
+ $619 = ((($618)) + 2316|0);
+ $620 = HEAP32[$619>>2]|0;
+ $621 = $620&65535;
+ $622 = $621 << 16 >> 16;
+ $623 = ($622*1000)|0;
+ $624 = (($617|0) / ($623|0))&-1;
+ $625 = $15;
+ HEAP32[$625>>2] = $624;
+ $626 = $10;
+ $627 = HEAP32[$626>>2]|0;
+ $628 = ($627|0)==(2);
+ if ($628) {
+ $629 = $15;
+ $630 = HEAP32[$629>>2]|0;
+ $631 = $630;
+ } else {
+ $631 = 1;
+ }
+ $$alloca_mul55 = $631<<1;
+ $632 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul55)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul55)|0)+15)&-16)|0);;
+ $633 = $10;
+ $634 = HEAP32[$633>>2]|0;
+ $635 = ($634|0)==(2);
+ if ($635) {
+ $25 = $632;
+ } else {
+ $636 = $14;
+ $25 = $636;
+ }
+ $637 = $30;
+ $638 = ($637|0)!=(0);
+ if ($638) {
+ $639 = $10;
+ $640 = ((($639)) + 4|0);
+ $641 = HEAP32[$640>>2]|0;
+ $642 = $27;
+ $643 = ((($642)) + 2328|0);
+ $644 = HEAP32[$643>>2]|0;
+ $645 = (($644) + 2)|0;
+ $646 = Math_imul($641, $645)|0;
+ $647 = $646;
+ } else {
+ $647 = 1;
+ }
+ $$alloca_mul57 = $647<<1;
+ $648 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul57)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul57)|0)+15)&-16)|0);;
+ $649 = $30;
+ $650 = ($649|0)!=(0);
+ if ($650) {
+ $651 = $14;
+ $652 = $10;
+ $653 = ((($652)) + 4|0);
+ $654 = HEAP32[$653>>2]|0;
+ $655 = $27;
+ $656 = ((($655)) + 2328|0);
+ $657 = HEAP32[$656>>2]|0;
+ $658 = (($657) + 2)|0;
+ $659 = Math_imul($654, $658)|0;
+ $660 = $659<<1;
+ $661 = $14;
+ $662 = $648;
+ $663 = $661;
+ $664 = (($662) - ($663))|0;
+ $665 = (($664|0) / 2)&-1;
+ $666 = 0;
+ $667 = (($660) + ($666))|0;
+ _memcpy(($648|0),($651|0),($667|0))|0;
+ HEAP32[$23>>2] = $648;
+ $668 = $27;
+ $669 = ((($668)) + 2328|0);
+ $670 = HEAP32[$669>>2]|0;
+ $671 = (($648) + ($670<<1)|0);
+ $672 = ((($671)) + 4|0);
+ $673 = ((($23)) + 4|0);
+ HEAP32[$673>>2] = $672;
+ }
+ $18 = 0;
+ while(1) {
+ $674 = $18;
+ $675 = $10;
+ $676 = HEAP32[$675>>2]|0;
+ $677 = $10;
+ $678 = ((($677)) + 4|0);
+ $679 = HEAP32[$678>>2]|0;
+ $680 = ($676|0)<($679|0);
+ $681 = $10;
+ $682 = ((($681)) + 4|0);
+ $$sink18 = $680 ? $681 : $682;
+ $683 = HEAP32[$$sink18>>2]|0;
+ $684 = ($674|0)<($683|0);
+ if (!($684)) {
+ break;
+ }
+ $685 = $27;
+ $686 = $18;
+ $687 = (($685) + (($686*4260)|0)|0);
+ $688 = ((($687)) + 2432|0);
+ $689 = $25;
+ $690 = $18;
+ $691 = (($23) + ($690<<2)|0);
+ $692 = HEAP32[$691>>2]|0;
+ $693 = ((($692)) + 2|0);
+ $694 = HEAP32[$21>>2]|0;
+ $695 = (_silk_resampler($688,$689,$693,$694)|0);
+ $696 = $20;
+ $697 = (($696) + ($695))|0;
+ $20 = $697;
+ $698 = $10;
+ $699 = HEAP32[$698>>2]|0;
+ $700 = ($699|0)==(2);
+ L176: do {
+ if ($700) {
+ $17 = 0;
+ while(1) {
+ $701 = $17;
+ $702 = $15;
+ $703 = HEAP32[$702>>2]|0;
+ $704 = ($701|0)<($703|0);
+ if (!($704)) {
+ break L176;
+ }
+ $705 = $25;
+ $706 = $17;
+ $707 = (($705) + ($706<<1)|0);
+ $708 = HEAP16[$707>>1]|0;
+ $709 = $14;
+ $710 = $18;
+ $711 = $17;
+ $712 = $711<<1;
+ $713 = (($710) + ($712))|0;
+ $714 = (($709) + ($713<<1)|0);
+ HEAP16[$714>>1] = $708;
+ $715 = $17;
+ $716 = (($715) + 1)|0;
+ $17 = $716;
+ }
+ }
+ } while(0);
+ $717 = $18;
+ $718 = (($717) + 1)|0;
+ $18 = $718;
+ }
+ $719 = $10;
+ $720 = HEAP32[$719>>2]|0;
+ $721 = ($720|0)==(2);
+ L183: do {
+ if ($721) {
+ $722 = $10;
+ $723 = ((($722)) + 4|0);
+ $724 = HEAP32[$723>>2]|0;
+ $725 = ($724|0)==(1);
+ if (!($725)) {
+ break;
+ }
+ $726 = $29;
+ $727 = ($726|0)!=(0);
+ if ($727) {
+ $728 = $27;
+ $729 = ((($728)) + 4260|0);
+ $730 = ((($729)) + 2432|0);
+ $731 = $25;
+ $732 = HEAP32[$23>>2]|0;
+ $733 = ((($732)) + 2|0);
+ $734 = HEAP32[$21>>2]|0;
+ $735 = (_silk_resampler($730,$731,$733,$734)|0);
+ $736 = $20;
+ $737 = (($736) + ($735))|0;
+ $20 = $737;
+ $17 = 0;
+ while(1) {
+ $738 = $17;
+ $739 = $15;
+ $740 = HEAP32[$739>>2]|0;
+ $741 = ($738|0)<($740|0);
+ if (!($741)) {
+ break L183;
+ }
+ $742 = $25;
+ $743 = $17;
+ $744 = (($742) + ($743<<1)|0);
+ $745 = HEAP16[$744>>1]|0;
+ $746 = $14;
+ $747 = $17;
+ $748 = $747<<1;
+ $749 = (1 + ($748))|0;
+ $750 = (($746) + ($749<<1)|0);
+ HEAP16[$750>>1] = $745;
+ $751 = $17;
+ $752 = (($751) + 1)|0;
+ $17 = $752;
+ }
+ } else {
+ $17 = 0;
+ while(1) {
+ $753 = $17;
+ $754 = $15;
+ $755 = HEAP32[$754>>2]|0;
+ $756 = ($753|0)<($755|0);
+ if (!($756)) {
+ break L183;
+ }
+ $757 = $14;
+ $758 = $17;
+ $759 = $758<<1;
+ $760 = (0 + ($759))|0;
+ $761 = (($757) + ($760<<1)|0);
+ $762 = HEAP16[$761>>1]|0;
+ $763 = $14;
+ $764 = $17;
+ $765 = $764<<1;
+ $766 = (1 + ($765))|0;
+ $767 = (($763) + ($766<<1)|0);
+ HEAP16[$767>>1] = $762;
+ $768 = $17;
+ $769 = (($768) + 1)|0;
+ $17 = $769;
+ }
+ }
+ }
+ } while(0);
+ $770 = $27;
+ $771 = ((($770)) + 4164|0);
+ $772 = HEAP32[$771>>2]|0;
+ $773 = ($772|0)==(2);
+ if ($773) {
+ ;HEAP32[$37>>2]=HEAP32[16648>>2]|0;HEAP32[$37+4>>2]=HEAP32[16648+4>>2]|0;HEAP32[$37+8>>2]=HEAP32[16648+8>>2]|0;
+ $774 = $27;
+ $775 = ((($774)) + 2308|0);
+ $776 = HEAP32[$775>>2]|0;
+ $777 = $27;
+ $778 = ((($777)) + 2316|0);
+ $779 = HEAP32[$778>>2]|0;
+ $780 = (($779) - 8)|0;
+ $781 = $780 >> 2;
+ $782 = (($37) + ($781<<2)|0);
+ $783 = HEAP32[$782>>2]|0;
+ $784 = Math_imul($776, $783)|0;
+ $785 = $10;
+ $$sink19 = $784;$$sink21 = $785;
+ } else {
+ $786 = $10;
+ $$sink19 = 0;$$sink21 = $786;
+ }
+ $787 = ((($$sink21)) + 20|0);
+ HEAP32[$787>>2] = $$sink19;
+ $788 = $11;
+ $789 = ($788|0)==(1);
+ L200: do {
+ if ($789) {
+ $17 = 0;
+ while(1) {
+ $790 = $17;
+ $791 = $26;
+ $792 = ((($791)) + 8536|0);
+ $793 = HEAP32[$792>>2]|0;
+ $794 = ($790|0)<($793|0);
+ if (!($794)) {
+ break L200;
+ }
+ $795 = $26;
+ $796 = $17;
+ $797 = (($795) + (($796*4260)|0)|0);
+ $798 = ((($797)) + 2312|0);
+ HEAP8[$798>>0] = 10;
+ $799 = $17;
+ $800 = (($799) + 1)|0;
+ $17 = $800;
+ }
+ } else {
+ $801 = HEAP32[$19>>2]|0;
+ $802 = $26;
+ $803 = ((($802)) + 8540|0);
+ HEAP32[$803>>2] = $801;
+ }
+ } while(0);
+ $804 = $20;
+ $8 = $804;
+ $805 = $34;
+ _llvm_stackrestore(($805|0));
+ $806 = $8;
+ STACKTOP = sp;return ($806|0);
+ }
+ }
+ $20 = -200;
+ $213 = $20;
+ $8 = $213;
+ $806 = $8;
+ STACKTOP = sp;return ($806|0);
+}
+function _silk_Get_Encoder_Size($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = 0;
+ $3 = $1;
+ HEAP32[$3>>2] = 24568;
+ $4 = $2;
+ STACKTOP = sp;return ($4|0);
+}
+function _silk_InitEncoder($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = 0;
+ $9 = $3;
+ $6 = $9;
+ $10 = $6;
+ _memset(($10|0),0,24568)|0;
+ $7 = 0;
+ while(1) {
+ $11 = $7;
+ $12 = ($11|0)<(2);
+ $13 = $6;
+ if (!($12)) {
+ break;
+ }
+ $14 = $7;
+ $15 = (($13) + (($14*12240)|0)|0);
+ $16 = $4;
+ $17 = (_silk_init_encoder($15,$16)|0);
+ $18 = $8;
+ $19 = (($18) + ($17))|0;
+ $8 = $19;
+ $20 = $7;
+ $21 = (($20) + 1)|0;
+ $7 = $21;
+ }
+ $22 = ((($13)) + 24544|0);
+ HEAP32[$22>>2] = 1;
+ $23 = $6;
+ $24 = ((($23)) + 24548|0);
+ HEAP32[$24>>2] = 1;
+ $25 = $3;
+ $26 = $5;
+ $27 = (_silk_QueryEncoder($25,$26)|0);
+ $28 = $8;
+ $29 = (($28) + ($27))|0;
+ $8 = $29;
+ $30 = $8;
+ STACKTOP = sp;return ($30|0);
+}
+function _silk_QueryEncoder($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = 0;
+ $7 = $2;
+ $6 = $7;
+ $8 = $6;
+ $5 = $8;
+ $9 = $6;
+ $10 = ((($9)) + 24544|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = $3;
+ HEAP32[$12>>2] = $11;
+ $13 = $6;
+ $14 = ((($13)) + 24548|0);
+ $15 = HEAP32[$14>>2]|0;
+ $16 = $3;
+ $17 = ((($16)) + 4|0);
+ HEAP32[$17>>2] = $15;
+ $18 = $5;
+ $19 = ((($18)) + 4580|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = $3;
+ $22 = ((($21)) + 8|0);
+ HEAP32[$22>>2] = $20;
+ $23 = $5;
+ $24 = ((($23)) + 4588|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = $3;
+ $27 = ((($26)) + 12|0);
+ HEAP32[$27>>2] = $25;
+ $28 = $5;
+ $29 = ((($28)) + 4592|0);
+ $30 = HEAP32[$29>>2]|0;
+ $31 = $3;
+ $32 = ((($31)) + 16|0);
+ HEAP32[$32>>2] = $30;
+ $33 = $5;
+ $34 = ((($33)) + 4596|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = $3;
+ $37 = ((($36)) + 20|0);
+ HEAP32[$37>>2] = $35;
+ $38 = $5;
+ $39 = ((($38)) + 4636|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = $3;
+ $42 = ((($41)) + 24|0);
+ HEAP32[$42>>2] = $40;
+ $43 = $5;
+ $44 = ((($43)) + 4632|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = $3;
+ $47 = ((($46)) + 28|0);
+ HEAP32[$47>>2] = $45;
+ $48 = $5;
+ $49 = ((($48)) + 4640|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = $3;
+ $52 = ((($51)) + 32|0);
+ HEAP32[$52>>2] = $50;
+ $53 = $5;
+ $54 = ((($53)) + 4648|0);
+ $55 = HEAP32[$54>>2]|0;
+ $56 = $3;
+ $57 = ((($56)) + 36|0);
+ HEAP32[$57>>2] = $55;
+ $58 = $5;
+ $59 = ((($58)) + 6120|0);
+ $60 = HEAP32[$59>>2]|0;
+ $61 = $3;
+ $62 = ((($61)) + 40|0);
+ HEAP32[$62>>2] = $60;
+ $63 = $5;
+ $64 = ((($63)) + 6108|0);
+ $65 = HEAP32[$64>>2]|0;
+ $66 = $3;
+ $67 = ((($66)) + 44|0);
+ HEAP32[$67>>2] = $65;
+ $68 = $5;
+ $69 = ((($68)) + 4708|0);
+ $70 = HEAP32[$69>>2]|0;
+ $71 = $3;
+ $72 = ((($71)) + 48|0);
+ HEAP32[$72>>2] = $70;
+ $73 = $5;
+ $74 = ((($73)) + 4600|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $75&65535;
+ $77 = $76 << 16 >> 16;
+ $78 = ($77*1000)|0;
+ $79 = $3;
+ $80 = ((($79)) + 68|0);
+ HEAP32[$80>>2] = $78;
+ $81 = $5;
+ $82 = ((($81)) + 4560|0);
+ $83 = HEAP32[$82>>2]|0;
+ $84 = $3;
+ $85 = ((($84)) + 72|0);
+ HEAP32[$85>>2] = $83;
+ $86 = $5;
+ $87 = ((($86)) + 4600|0);
+ $88 = HEAP32[$87>>2]|0;
+ $89 = ($88|0)==(16);
+ if (!($89)) {
+ $96 = 0;
+ $95 = $96&1;
+ $97 = $3;
+ $98 = ((($97)) + 76|0);
+ HEAP32[$98>>2] = $95;
+ $99 = $4;
+ STACKTOP = sp;return ($99|0);
+ }
+ $90 = $5;
+ $91 = ((($90)) + 16|0);
+ $92 = ((($91)) + 12|0);
+ $93 = HEAP32[$92>>2]|0;
+ $94 = ($93|0)==(0);
+ $96 = $94;
+ $95 = $96&1;
+ $97 = $3;
+ $98 = ((($97)) + 76|0);
+ HEAP32[$98>>2] = $95;
+ $99 = $4;
+ STACKTOP = sp;return ($99|0);
+}
+function _silk_Encode($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $$alloca_mul = 0, $$sink$sink = 0, $$sink23 = 0, $$sink8$sink = 0, $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0;
+ var $1013 = 0, $1014 = 0, $1015 = 0, $1016 = 0, $1017 = 0, $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0, $1029 = 0, $103 = 0, $1030 = 0;
+ var $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0, $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0;
+ var $105 = 0, $1050 = 0, $1051 = 0, $1052 = 0, $1053 = 0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1065 = 0, $1066 = 0, $1067 = 0;
+ var $1068 = 0, $1069 = 0, $107 = 0, $1070 = 0, $1071 = 0, $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0;
+ var $1086 = 0, $1087 = 0, $1088 = 0, $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0, $11 = 0, $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0;
+ var $1103 = 0, $1104 = 0, $1105 = 0, $1106 = 0, $1107 = 0, $1108 = 0, $1109 = 0, $111 = 0, $1110 = 0, $1111 = 0, $1112 = 0, $1113 = 0, $1114 = 0, $1115 = 0, $1116 = 0, $1117 = 0, $1118 = 0, $1119 = 0, $112 = 0, $1120 = 0;
+ var $1121 = 0, $1122 = 0, $1123 = 0, $1124 = 0, $1125 = 0, $1126 = 0, $1127 = 0, $1128 = 0, $1129 = 0, $113 = 0, $1130 = 0, $1131 = 0, $1132 = 0, $1133 = 0, $1134 = 0, $1135 = 0, $1136 = 0, $1137 = 0, $1138 = 0, $1139 = 0;
+ var $114 = 0, $1140 = 0, $1141 = 0, $1142 = 0, $1143 = 0, $1144 = 0, $1145 = 0, $1146 = 0, $1147 = 0, $1148 = 0, $1149 = 0, $115 = 0, $1150 = 0, $1151 = 0, $1152 = 0, $1153 = 0, $1154 = 0, $1155 = 0, $1156 = 0, $1157 = 0;
+ var $1158 = 0, $1159 = 0, $116 = 0, $1160 = 0, $1161 = 0, $1162 = 0, $1163 = 0, $1164 = 0, $1165 = 0, $1166 = 0, $1167 = 0, $1168 = 0, $1169 = 0, $117 = 0, $1170 = 0, $1171 = 0, $1172 = 0, $1173 = 0, $1174 = 0, $1175 = 0;
+ var $1176 = 0, $1177 = 0, $1178 = 0, $1179 = 0, $118 = 0, $1180 = 0, $1181 = 0, $1182 = 0, $1183 = 0, $1184 = 0, $1185 = 0, $1186 = 0, $1187 = 0, $1188 = 0, $1189 = 0, $119 = 0, $1190 = 0, $1191 = 0, $1192 = 0, $1193 = 0;
+ var $1194 = 0, $1195 = 0, $1196 = 0, $1197 = 0, $1198 = 0, $1199 = 0, $12 = 0, $120 = 0, $1200 = 0, $1201 = 0, $1202 = 0, $1203 = 0, $1204 = 0, $1205 = 0, $1206 = 0, $1207 = 0, $1208 = 0, $1209 = 0, $121 = 0, $1210 = 0;
+ var $1211 = 0, $1212 = 0, $1213 = 0, $1214 = 0, $1215 = 0, $1216 = 0, $1217 = 0, $1218 = 0, $1219 = 0, $122 = 0, $1220 = 0, $1221 = 0, $1222 = 0, $1223 = 0, $1224 = 0, $1225 = 0, $1226 = 0, $1227 = 0, $1228 = 0, $1229 = 0;
+ var $123 = 0, $1230 = 0, $1231 = 0, $1232 = 0, $1233 = 0, $1234 = 0, $1235 = 0, $1236 = 0, $1237 = 0, $1238 = 0, $1239 = 0, $124 = 0, $1240 = 0, $1241 = 0, $1242 = 0, $1243 = 0, $1244 = 0, $1245 = 0, $1246 = 0, $1247 = 0;
+ var $1248 = 0, $1249 = 0, $125 = 0, $1250 = 0, $1251 = 0, $1252 = 0, $1253 = 0, $1254 = 0, $1255 = 0, $1256 = 0, $1257 = 0, $1258 = 0, $1259 = 0, $126 = 0, $1260 = 0, $1261 = 0, $1262 = 0, $1263 = 0, $1264 = 0, $1265 = 0;
+ var $1266 = 0, $1267 = 0, $1268 = 0, $1269 = 0, $127 = 0, $1270 = 0, $1271 = 0, $1272 = 0, $1273 = 0, $1274 = 0, $1275 = 0, $1276 = 0, $1277 = 0, $1278 = 0, $1279 = 0, $128 = 0, $1280 = 0, $1281 = 0, $1282 = 0, $1283 = 0;
+ var $1284 = 0, $1285 = 0, $1286 = 0, $1287 = 0, $1288 = 0, $1289 = 0, $129 = 0, $1290 = 0, $1291 = 0, $1292 = 0, $1293 = 0, $1294 = 0, $1295 = 0, $1296 = 0, $1297 = 0, $1298 = 0, $1299 = 0, $13 = 0, $130 = 0, $1300 = 0;
+ var $1301 = 0, $1302 = 0, $1303 = 0, $1304 = 0, $1305 = 0, $1306 = 0, $1307 = 0, $1308 = 0, $1309 = 0, $131 = 0, $1310 = 0, $1311 = 0, $1312 = 0, $1313 = 0, $1314 = 0, $1315 = 0, $1316 = 0, $1317 = 0, $1318 = 0, $132 = 0;
+ var $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0;
+ var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0;
+ var $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
+ var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
- var $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0;
- var $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0;
- var $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0;
- var $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0;
- var $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0;
- var $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0;
- var $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0;
- var $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
- var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
- var $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $A_Q12 = 0, $B_Q14 = 0, $LPC_order = 0, $LPC_order104 = 0, $LPC_order110 = 0, $LPC_order285 = 0, $LPC_order458 = 0, $LPC_order47 = 0, $LPC_order73 = 0, $LPC_order96 = 0;
- var $LPC_pred_Q10 = 0, $LTPCoef_Q14 = 0, $LTP_pred_Q12 = 0, $add = 0, $add111 = 0, $add126 = 0, $add137 = 0, $add155 = 0, $add156 = 0, $add168 = 0, $add169 = 0, $add181 = 0, $add182 = 0, $add194 = 0, $add195 = 0, $add207 = 0, $add208 = 0, $add210 = 0, $add222 = 0, $add223 = 0;
- var $add259 = 0, $add260 = 0, $add271 = 0, $add287 = 0, $add294 = 0, $add302 = 0, $add303 = 0, $add304 = 0, $add311 = 0, $add319 = 0, $add320 = 0, $add321 = 0, $add328 = 0, $add336 = 0, $add337 = 0, $add338 = 0, $add345 = 0, $add353 = 0, $add354 = 0, $add355 = 0;
- var $add362 = 0, $add370 = 0, $add371 = 0, $add372 = 0, $add379 = 0, $add387 = 0, $add388 = 0, $add389 = 0, $add396 = 0, $add404 = 0, $add405 = 0, $add406 = 0, $add413 = 0, $add421 = 0, $add422 = 0, $add423 = 0, $add430 = 0, $add438 = 0, $add439 = 0, $add440 = 0;
- var $add447 = 0, $add455 = 0, $add456 = 0, $add462 = 0, $add470 = 0, $add479 = 0, $add480 = 0, $add484 = 0, $add487 = 0, $add488 = 0, $add490 = 0, $add497 = 0, $add505 = 0, $add506 = 0, $add510 = 0, $add513 = 0, $add515 = 0, $add521 = 0, $add528 = 0, $add536 = 0;
- var $add537 = 0, $add541 = 0, $add544 = 0, $add546 = 0, $add552 = 0, $add559 = 0, $add567 = 0, $add568 = 0, $add572 = 0, $add575 = 0, $add577 = 0, $add587 = 0, $add594 = 0, $add602 = 0, $add603 = 0, $add607 = 0, $add610 = 0, $add612 = 0, $add618 = 0, $add625 = 0;
- var $add633 = 0, $add634 = 0, $add638 = 0, $add641 = 0, $add643 = 0, $add649 = 0, $add656 = 0, $add664 = 0, $add665 = 0, $add669 = 0, $add672 = 0, $add674 = 0, $add684 = 0, $add691 = 0, $add699 = 0, $add700 = 0, $add704 = 0, $add707 = 0, $add709 = 0, $add715 = 0;
- var $add722 = 0, $add730 = 0, $add731 = 0, $add735 = 0, $add738 = 0, $add740 = 0, $add746 = 0, $add753 = 0, $add761 = 0, $add762 = 0, $add766 = 0, $add769 = 0, $add771 = 0, $add85 = 0, $add91 = 0, $and = 0, $and121 = 0, $and150 = 0, $and163 = 0, $and176 = 0;
- var $and189 = 0, $and202 = 0, $and212 = 0, $and218 = 0, $and256 = 0, $and297 = 0, $and314 = 0, $and331 = 0, $and348 = 0, $and365 = 0, $and382 = 0, $and399 = 0, $and416 = 0, $and433 = 0, $and450 = 0, $and474 = 0, $and499 = 0, $and530 = 0, $and561 = 0, $and596 = 0;
- var $and627 = 0, $and658 = 0, $and693 = 0, $and724 = 0, $and755 = 0, $arch$addr = 0, $arrayidx100 = 0, $arrayidx106 = 0, $arrayidx118 = 0, $arrayidx122 = 0, $arrayidx127 = 0, $arrayidx138 = 0, $arrayidx157 = 0, $arrayidx159 = 0, $arrayidx162 = 0, $arrayidx164 = 0, $arrayidx17 = 0, $arrayidx170 = 0, $arrayidx172 = 0, $arrayidx175 = 0;
- var $arrayidx177 = 0, $arrayidx183 = 0, $arrayidx185 = 0, $arrayidx188 = 0, $arrayidx190 = 0, $arrayidx196 = 0, $arrayidx198 = 0, $arrayidx201 = 0, $arrayidx203 = 0, $arrayidx213 = 0, $arrayidx217 = 0, $arrayidx225 = 0, $arrayidx236 = 0, $arrayidx24 = 0, $arrayidx241 = 0, $arrayidx278 = 0, $arrayidx28 = 0, $arrayidx289 = 0, $arrayidx296 = 0, $arrayidx306 = 0;
- var $arrayidx308 = 0, $arrayidx313 = 0, $arrayidx315 = 0, $arrayidx323 = 0, $arrayidx325 = 0, $arrayidx330 = 0, $arrayidx332 = 0, $arrayidx34 = 0, $arrayidx340 = 0, $arrayidx342 = 0, $arrayidx347 = 0, $arrayidx349 = 0, $arrayidx357 = 0, $arrayidx359 = 0, $arrayidx364 = 0, $arrayidx366 = 0, $arrayidx374 = 0, $arrayidx376 = 0, $arrayidx381 = 0, $arrayidx383 = 0;
- var $arrayidx39 = 0, $arrayidx391 = 0, $arrayidx393 = 0, $arrayidx398 = 0, $arrayidx400 = 0, $arrayidx408 = 0, $arrayidx410 = 0, $arrayidx415 = 0, $arrayidx417 = 0, $arrayidx425 = 0, $arrayidx427 = 0, $arrayidx432 = 0, $arrayidx434 = 0, $arrayidx442 = 0, $arrayidx444 = 0, $arrayidx449 = 0, $arrayidx451 = 0, $arrayidx465 = 0, $arrayidx467 = 0, $arrayidx473 = 0;
- var $arrayidx475 = 0, $arrayidx485 = 0, $arrayidx489 = 0, $arrayidx491 = 0, $arrayidx493 = 0, $arrayidx498 = 0, $arrayidx5 = 0, $arrayidx500 = 0, $arrayidx507 = 0, $arrayidx508 = 0, $arrayidx522 = 0, $arrayidx524 = 0, $arrayidx529 = 0, $arrayidx531 = 0, $arrayidx538 = 0, $arrayidx539 = 0, $arrayidx553 = 0, $arrayidx555 = 0, $arrayidx560 = 0, $arrayidx562 = 0;
- var $arrayidx569 = 0, $arrayidx570 = 0, $arrayidx588 = 0, $arrayidx59 = 0, $arrayidx590 = 0, $arrayidx595 = 0, $arrayidx597 = 0, $arrayidx604 = 0, $arrayidx605 = 0, $arrayidx619 = 0, $arrayidx621 = 0, $arrayidx626 = 0, $arrayidx628 = 0, $arrayidx635 = 0, $arrayidx636 = 0, $arrayidx650 = 0, $arrayidx652 = 0, $arrayidx657 = 0, $arrayidx659 = 0, $arrayidx666 = 0;
- var $arrayidx667 = 0, $arrayidx685 = 0, $arrayidx687 = 0, $arrayidx692 = 0, $arrayidx694 = 0, $arrayidx7 = 0, $arrayidx701 = 0, $arrayidx702 = 0, $arrayidx716 = 0, $arrayidx718 = 0, $arrayidx723 = 0, $arrayidx725 = 0, $arrayidx732 = 0, $arrayidx733 = 0, $arrayidx747 = 0, $arrayidx749 = 0, $arrayidx754 = 0, $arrayidx756 = 0, $arrayidx763 = 0, $arrayidx764 = 0;
- var $arrayidx782 = 0, $arrayidx789 = 0, $arrayidx796 = 0, $arrayidx99 = 0, $call = 0, $call107 = 0, $call23 = 0, $call267 = 0, $call27 = 0, $call33 = 0, $call64 = 0, $call74 = 0, $call75 = 0, $call76 = 0, $cmp = 0, $cmp108 = 0, $cmp114 = 0, $cmp133 = 0, $cmp141 = 0, $cmp231 = 0;
- var $cmp282 = 0, $cmp29 = 0, $cmp459 = 0, $cmp50 = 0, $cmp517 = 0, $cmp54 = 0, $cmp548 = 0, $cmp57 = 0, $cmp583 = 0, $cmp614 = 0, $cmp645 = 0, $cmp680 = 0, $cmp711 = 0, $cmp742 = 0, $cmp793 = 0, $cond = 0, $cond582 = 0, $cond679 = 0, $cond780 = 0, $conv = 0;
- var $conv119 = 0, $conv123 = 0, $conv147 = 0, $conv152 = 0, $conv160 = 0, $conv165 = 0, $conv173 = 0, $conv178 = 0, $conv186 = 0, $conv191 = 0, $conv199 = 0, $conv204 = 0, $conv215 = 0, $conv219 = 0, $conv234 = 0, $conv235 = 0, $conv237 = 0, $conv240 = 0, $conv245 = 0, $conv246 = 0;
- var $conv247 = 0, $conv250 = 0, $conv263 = 0, $conv264 = 0, $conv292 = 0, $conv299 = 0, $conv309 = 0, $conv316 = 0, $conv326 = 0, $conv333 = 0, $conv343 = 0, $conv35 = 0, $conv350 = 0, $conv360 = 0, $conv367 = 0, $conv377 = 0, $conv384 = 0, $conv394 = 0, $conv40 = 0, $conv401 = 0;
- var $conv411 = 0, $conv418 = 0, $conv428 = 0, $conv435 = 0, $conv445 = 0, $conv452 = 0, $conv468 = 0, $conv476 = 0, $conv494 = 0, $conv495 = 0, $conv501 = 0, $conv502 = 0, $conv525 = 0, $conv526 = 0, $conv532 = 0, $conv533 = 0, $conv556 = 0, $conv557 = 0, $conv563 = 0, $conv564 = 0;
- var $conv591 = 0, $conv592 = 0, $conv598 = 0, $conv599 = 0, $conv60 = 0, $conv61 = 0, $conv622 = 0, $conv623 = 0, $conv629 = 0, $conv63 = 0, $conv630 = 0, $conv65 = 0, $conv653 = 0, $conv654 = 0, $conv66 = 0, $conv660 = 0, $conv661 = 0, $conv688 = 0, $conv689 = 0, $conv69 = 0;
- var $conv695 = 0, $conv696 = 0, $conv719 = 0, $conv720 = 0, $conv726 = 0, $conv727 = 0, $conv750 = 0, $conv751 = 0, $conv757 = 0, $conv758 = 0, $conv78 = 0, $conv781 = 0, $conv79 = 0, $conv81 = 0, $conv82 = 0, $down_scale_Q30 = 0, $energy1 = 0, $energy2 = 0, $exc_Q14 = 0, $exc_Q1413 = 0;
- var $first_frame_after_reset = 0, $frame$addr = 0, $frame_length = 0, $frame_length281 = 0, $frame_length788 = 0, $fs_kHz = 0, $harm_Gain_Q15 = 0, $i = 0, $idx = 0, $inc = 0, $inc129 = 0, $inc226 = 0, $inc228 = 0, $inc243 = 0, $inc274 = 0, $inc482 = 0, $inc784 = 0, $inc798 = 0, $incdec$ptr = 0, $invGain_Q30 = 0;
- var $inv_gain_Q30 = 0, $j = 0, $k = 0, $lag = 0, $lossCnt = 0, $lossCnt32 = 0, $lossCnt49 = 0, $ltp_mem_length = 0, $ltp_mem_length1 = 0, $ltp_mem_length102 = 0, $ltp_mem_length113 = 0, $ltp_mem_length276 = 0, $ltp_mem_length93 = 0, $ltp_mem_length94 = 0, $mul = 0, $mul120 = 0, $mul124 = 0, $mul148 = 0, $mul153 = 0, $mul161 = 0;
- var $mul166 = 0, $mul174 = 0, $mul179 = 0, $mul187 = 0, $mul192 = 0, $mul200 = 0, $mul205 = 0, $mul209 = 0, $mul21 = 0, $mul216 = 0, $mul220 = 0, $mul238 = 0, $mul248 = 0, $mul254 = 0, $mul257 = 0, $mul265 = 0, $mul293 = 0, $mul300 = 0, $mul310 = 0, $mul317 = 0;
- var $mul327 = 0, $mul334 = 0, $mul344 = 0, $mul351 = 0, $mul361 = 0, $mul368 = 0, $mul378 = 0, $mul385 = 0, $mul395 = 0, $mul402 = 0, $mul412 = 0, $mul419 = 0, $mul429 = 0, $mul436 = 0, $mul446 = 0, $mul453 = 0, $mul469 = 0, $mul477 = 0, $mul48 = 0, $mul496 = 0;
- var $mul503 = 0, $mul512 = 0, $mul527 = 0, $mul534 = 0, $mul543 = 0, $mul558 = 0, $mul565 = 0, $mul574 = 0, $mul593 = 0, $mul600 = 0, $mul609 = 0, $mul624 = 0, $mul631 = 0, $mul640 = 0, $mul655 = 0, $mul662 = 0, $mul67 = 0, $mul671 = 0, $mul690 = 0, $mul697 = 0;
- var $mul706 = 0, $mul721 = 0, $mul728 = 0, $mul737 = 0, $mul752 = 0, $mul759 = 0, $mul768 = 0, $mul80 = 0, $mul83 = 0, $nb_subfr = 0, $nb_subfr132 = 0, $nb_subfr14 = 0, $outBuf = 0, $pred_lag_ptr = 0, $prevGain_Q10 = 0, $prevGain_Q16 = 0, $prevGain_Q16105 = 0, $prevGain_Q164 = 0, $prevLPC_Q12 = 0, $prevLPC_Q1242 = 0;
- var $prevLPC_Q1245 = 0, $prevLPC_Q1271 = 0, $prevLTP_scale_Q14 = 0, $prevSignalType = 0, $prevSignalType53 = 0, $psDec$addr = 0, $psDecCtrl$addr = 0, $psPLC = 0, $randScale_Q14 = 0, $randScale_Q14791 = 0, $rand_Gain_Q15 = 0, $rand_ptr = 0, $rand_scale_Q14 = 0, $rand_seed = 0, $rand_seed790 = 0, $rand_seed89 = 0, $sLPC_Q14_buf = 0, $sLPC_Q14_buf786 = 0, $sLPC_Q14_ptr = 0, $sLTP_buf_idx = 0;
- var $sPLC = 0, $saved_stack = 0, $shift1 = 0, $shift2 = 0, $shl = 0, $shl224 = 0, $shl266 = 0, $shl486 = 0, $shr = 0, $shr10 = 0, $shr11 = 0, $shr117 = 0, $shr125 = 0, $shr145 = 0, $shr154 = 0, $shr158 = 0, $shr167 = 0, $shr171 = 0, $shr180 = 0, $shr184 = 0;
- var $shr193 = 0, $shr197 = 0, $shr206 = 0, $shr211 = 0, $shr214 = 0, $shr221 = 0, $shr239 = 0, $shr249 = 0, $shr253 = 0, $shr258 = 0, $shr270 = 0, $shr272 = 0, $shr286 = 0, $shr290 = 0, $shr301 = 0, $shr307 = 0, $shr318 = 0, $shr324 = 0, $shr335 = 0, $shr341 = 0;
- var $shr352 = 0, $shr358 = 0, $shr369 = 0, $shr375 = 0, $shr386 = 0, $shr392 = 0, $shr403 = 0, $shr409 = 0, $shr420 = 0, $shr426 = 0, $shr437 = 0, $shr443 = 0, $shr454 = 0, $shr466 = 0, $shr478 = 0, $shr492 = 0, $shr504 = 0, $shr509 = 0, $shr511 = 0, $shr514 = 0;
- var $shr516 = 0, $shr523 = 0, $shr535 = 0, $shr540 = 0, $shr542 = 0, $shr545 = 0, $shr547 = 0, $shr554 = 0, $shr566 = 0, $shr571 = 0, $shr573 = 0, $shr576 = 0, $shr578 = 0, $shr589 = 0, $shr6 = 0, $shr601 = 0, $shr606 = 0, $shr608 = 0, $shr611 = 0, $shr613 = 0;
- var $shr620 = 0, $shr632 = 0, $shr637 = 0, $shr639 = 0, $shr642 = 0, $shr644 = 0, $shr651 = 0, $shr663 = 0, $shr668 = 0, $shr670 = 0, $shr673 = 0, $shr675 = 0, $shr68 = 0, $shr686 = 0, $shr698 = 0, $shr703 = 0, $shr705 = 0, $shr708 = 0, $shr710 = 0, $shr717 = 0;
- var $shr729 = 0, $shr734 = 0, $shr736 = 0, $shr739 = 0, $shr741 = 0, $shr748 = 0, $shr760 = 0, $shr765 = 0, $shr767 = 0, $shr77 = 0, $shr770 = 0, $shr772 = 0, $shr84 = 0, $shr86 = 0, $shr90 = 0, $shr92 = 0, $sub = 0, $sub103 = 0, $sub136 = 0, $sub16 = 0;
- var $sub22 = 0, $sub277 = 0, $sub288 = 0, $sub295 = 0, $sub305 = 0, $sub312 = 0, $sub322 = 0, $sub329 = 0, $sub339 = 0, $sub346 = 0, $sub356 = 0, $sub363 = 0, $sub373 = 0, $sub380 = 0, $sub390 = 0, $sub397 = 0, $sub407 = 0, $sub414 = 0, $sub424 = 0, $sub431 = 0;
- var $sub441 = 0, $sub448 = 0, $sub463 = 0, $sub464 = 0, $sub471 = 0, $sub472 = 0, $sub62 = 0, $sub95 = 0, $sub97 = 0, $sub98 = 0, $subfr_length = 0, $subfr_length140 = 0, $subfr_length15 = 0, $subfr_length20 = 0, $tobool = 0, $vla = 0, $vla$alloca_mul = 0, $vla2 = 0, $vla2$alloca_mul = 0, dest = 0;
- var label = 0, sp = 0, src = 0, stop = 0;
+ var $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0;
+ var $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0;
+ var $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0;
+ var $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0;
+ var $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0;
+ var $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0;
+ var $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0;
+ var $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0;
+ var $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0;
+ var $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0;
+ var $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0;
+ var $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0;
+ var $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0;
+ var $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0;
+ var $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0;
+ var $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0;
+ var $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0;
+ var $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0;
+ var $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0;
+ var $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0;
+ var $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0;
+ var $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0;
+ var $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0;
+ var $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0;
+ var $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0;
+ var $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0;
+ var $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0;
+ var $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $8 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0;
+ var $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0;
+ var $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0;
+ var $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0;
+ var $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0, $872 = 0, $873 = 0, $874 = 0, $875 = 0, $876 = 0;
+ var $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0, $890 = 0, $891 = 0, $892 = 0, $893 = 0, $894 = 0;
+ var $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0, $909 = 0, $91 = 0, $910 = 0, $911 = 0;
+ var $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0, $927 = 0, $928 = 0, $929 = 0, $93 = 0;
+ var $930 = 0, $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0, $944 = 0, $945 = 0, $946 = 0, $947 = 0, $948 = 0;
+ var $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0, $963 = 0, $964 = 0, $965 = 0, $966 = 0;
+ var $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0, $980 = 0, $981 = 0, $982 = 0, $983 = 0, $984 = 0;
+ var $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0, $999 = 0, $or$cond = 0, $or$cond13 = 0, $or$cond15 = 0, $or$cond17 = 0;
+ var $or$cond3 = 0, $or$cond5 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
- $shift1 = sp + 80|0;
- $shift2 = sp + 76|0;
- $energy1 = sp + 56|0;
- $energy2 = sp + 52|0;
- $A_Q12 = sp + 128|0;
- $prevGain_Q10 = sp + 16|0;
- $psDec$addr = $psDec;
- $psDecCtrl$addr = $psDecCtrl;
- $frame$addr = $frame;
- $arch$addr = $arch;
- $0 = $psDec$addr;
- $sPLC = ((($0)) + 4168|0);
- $psPLC = $sPLC;
- $1 = $psDec$addr;
- $ltp_mem_length = ((($1)) + 2336|0);
- $2 = HEAP32[$ltp_mem_length>>2]|0;
- $3 = $psDec$addr;
- $frame_length = ((($3)) + 2328|0);
- $4 = HEAP32[$frame_length>>2]|0;
- $add = (($2) + ($4))|0;
- $5 = (_llvm_stacksave()|0);
- $saved_stack = $5;
- $vla$alloca_mul = $add<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $6 = $psDec$addr;
- $ltp_mem_length1 = ((($6)) + 2336|0);
- $7 = HEAP32[$ltp_mem_length1>>2]|0;
- $vla2$alloca_mul = $7<<1;
- $vla2 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla2$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla2$alloca_mul)|0)+15)&-16)|0);;
- $8 = $psPLC;
- $prevGain_Q16 = ((($8)) + 72|0);
- $9 = HEAP32[$prevGain_Q16>>2]|0;
- $shr = $9 >> 6;
- HEAP32[$prevGain_Q10>>2] = $shr;
- $10 = $psPLC;
- $prevGain_Q164 = ((($10)) + 72|0);
- $arrayidx5 = ((($prevGain_Q164)) + 4|0);
- $11 = HEAP32[$arrayidx5>>2]|0;
- $shr6 = $11 >> 6;
- $arrayidx7 = ((($prevGain_Q10)) + 4|0);
- HEAP32[$arrayidx7>>2] = $shr6;
- $12 = $psDec$addr;
- $first_frame_after_reset = ((($12)) + 2376|0);
- $13 = HEAP32[$first_frame_after_reset>>2]|0;
- $tobool = ($13|0)!=(0);
- if ($tobool) {
- $14 = $psPLC;
- $prevLPC_Q12 = ((($14)) + 14|0);
- dest=$prevLPC_Q12; stop=dest+32|0; do { HEAP16[dest>>1]=0|0; dest=dest+2|0; } while ((dest|0) < (stop|0));
+ $29 = sp + 64|0;
+ $40 = sp + 160|0;
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $19 = 0;
+ $20 = 0;
+ $21 = 0;
+ $25 = 0;
+ $46 = $8;
+ $33 = $46;
+ $47 = $9;
+ $48 = ((($47)) + 64|0);
+ $49 = HEAP32[$48>>2]|0;
+ $50 = ($49|0)!=(0);
+ if ($50) {
+ $51 = $33;
+ $52 = ((($51)) + 4696|0);
+ HEAP32[$52>>2] = 1;
+ $53 = $33;
+ $54 = ((($53)) + 12240|0);
+ $55 = ((($54)) + 4696|0);
+ HEAP32[$55>>2] = 1;
}
- $15 = $psDec$addr;
- $exc_Q14 = ((($15)) + 4|0);
- $16 = $psDec$addr;
- $subfr_length = ((($16)) + 2332|0);
- $17 = HEAP32[$subfr_length>>2]|0;
- $18 = $psDec$addr;
- $nb_subfr = ((($18)) + 2324|0);
- $19 = HEAP32[$nb_subfr>>2]|0;
- _silk_PLC_energy($energy1,$shift1,$energy2,$shift2,$exc_Q14,$prevGain_Q10,$17,$19);
- $20 = HEAP32[$energy1>>2]|0;
- $21 = HEAP32[$shift2>>2]|0;
- $shr10 = $20 >> $21;
- $22 = HEAP32[$energy2>>2]|0;
- $23 = HEAP32[$shift1>>2]|0;
- $shr11 = $22 >> $23;
- $cmp = ($shr10|0)<($shr11|0);
- $24 = $psDec$addr;
- $exc_Q1413 = ((($24)) + 4|0);
- $25 = $psPLC;
- $nb_subfr14 = ((($25)) + 84|0);
- $26 = HEAP32[$nb_subfr14>>2]|0;
- if ($cmp) {
- $sub = (($26) - 1)|0;
- $27 = $psPLC;
- $subfr_length15 = ((($27)) + 88|0);
- $28 = HEAP32[$subfr_length15>>2]|0;
- $mul = Math_imul($sub, $28)|0;
- $sub16 = (($mul) - 128)|0;
- $call = (_silk_max_int_431(0,$sub16)|0);
- $arrayidx17 = (($exc_Q1413) + ($call<<2)|0);
- $rand_ptr = $arrayidx17;
+ $56 = $33;
+ $57 = ((($56)) + 12240|0);
+ $58 = ((($57)) + 5780|0);
+ HEAP32[$58>>2] = 0;
+ $59 = $33;
+ $60 = ((($59)) + 5780|0);
+ HEAP32[$60>>2] = 0;
+ $61 = $9;
+ $62 = (_check_control_input($61)|0);
+ $21 = $62;
+ $63 = ($62|0)!=(0);
+ if ($63) {
+ $64 = $21;
+ $7 = $64;
+ $1318 = $7;
+ STACKTOP = sp;return ($1318|0);
+ }
+ $65 = $9;
+ $66 = ((($65)) + 84|0);
+ HEAP32[$66>>2] = 0;
+ $67 = $9;
+ $68 = ((($67)) + 4|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = $33;
+ $71 = ((($70)) + 24548|0);
+ $72 = HEAP32[$71>>2]|0;
+ $73 = ($69|0)>($72|0);
+ if ($73) {
+ $74 = $33;
+ $75 = ((($74)) + 12240|0);
+ $76 = $33;
+ $77 = ((($76)) + 5124|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = (_silk_init_encoder($75,$78)|0);
+ $80 = $21;
+ $81 = (($80) + ($79))|0;
+ $21 = $81;
+ $82 = $33;
+ $83 = ((($82)) + 24480|0);
+ ;HEAP32[$83>>2]=0|0;
+ $84 = $33;
+ $85 = ((($84)) + 24480|0);
+ $86 = ((($85)) + 8|0);
+ ;HEAP32[$86>>2]=0|0;
+ $87 = $33;
+ $88 = ((($87)) + 24480|0);
+ $89 = ((($88)) + 12|0);
+ HEAP32[$89>>2] = 0;
+ $90 = $33;
+ $91 = ((($90)) + 24480|0);
+ $92 = ((($91)) + 12|0);
+ $93 = ((($92)) + 4|0);
+ HEAP32[$93>>2] = 1;
+ $94 = $33;
+ $95 = ((($94)) + 24480|0);
+ $96 = ((($95)) + 12|0);
+ $97 = ((($96)) + 8|0);
+ HEAP32[$97>>2] = 0;
+ $98 = $33;
+ $99 = ((($98)) + 24480|0);
+ $100 = ((($99)) + 12|0);
+ $101 = ((($100)) + 12|0);
+ HEAP32[$101>>2] = 1;
+ $102 = $33;
+ $103 = ((($102)) + 24480|0);
+ $104 = ((($103)) + 30|0);
+ HEAP16[$104>>1] = 0;
+ $105 = $33;
+ $106 = ((($105)) + 24480|0);
+ $107 = ((($106)) + 28|0);
+ HEAP16[$107>>1] = 16384;
+ $108 = $33;
+ $109 = ((($108)) + 24544|0);
+ $110 = HEAP32[$109>>2]|0;
+ $111 = ($110|0)==(2);
+ if ($111) {
+ $112 = $33;
+ $113 = ((($112)) + 12240|0);
+ $114 = ((($113)) + 5808|0);
+ $115 = $33;
+ $116 = ((($115)) + 5808|0);
+ _memcpy(($114|0),($116|0),300)|0;
+ $117 = $33;
+ $118 = ((($117)) + 12240|0);
+ $119 = $33;
+ ;HEAP32[$118>>2]=HEAP32[$119>>2]|0;HEAP32[$118+4>>2]=HEAP32[$119+4>>2]|0;
+ }
+ }
+ $120 = $9;
+ $121 = ((($120)) + 24|0);
+ $122 = HEAP32[$121>>2]|0;
+ $123 = $33;
+ $124 = ((($123)) + 4636|0);
+ $125 = HEAP32[$124>>2]|0;
+ $126 = ($122|0)!=($125|0);
+ if ($126) {
+ $135 = 1;
} else {
- $29 = $psPLC;
- $subfr_length20 = ((($29)) + 88|0);
- $30 = HEAP32[$subfr_length20>>2]|0;
- $mul21 = Math_imul($26, $30)|0;
- $sub22 = (($mul21) - 128)|0;
- $call23 = (_silk_max_int_431(0,$sub22)|0);
- $arrayidx24 = (($exc_Q1413) + ($call23<<2)|0);
- $rand_ptr = $arrayidx24;
+ $127 = $33;
+ $128 = ((($127)) + 24548|0);
+ $129 = HEAP32[$128>>2]|0;
+ $130 = $9;
+ $131 = ((($130)) + 4|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = ($129|0)!=($132|0);
+ $135 = $133;
}
- $31 = $psPLC;
- $LTPCoef_Q14 = ((($31)) + 4|0);
- $B_Q14 = $LTPCoef_Q14;
- $32 = $psPLC;
- $randScale_Q14 = ((($32)) + 56|0);
- $33 = HEAP16[$randScale_Q14>>1]|0;
- $rand_scale_Q14 = $33;
- $34 = $psDec$addr;
- $lossCnt = ((($34)) + 4160|0);
- $35 = HEAP32[$lossCnt>>2]|0;
- $call27 = (_silk_min_int_432(1,$35)|0);
- $arrayidx28 = (25394 + ($call27<<1)|0);
- $36 = HEAP16[$arrayidx28>>1]|0;
- $conv = $36 << 16 >> 16;
- $harm_Gain_Q15 = $conv;
- $37 = $psDec$addr;
- $prevSignalType = ((($37)) + 4164|0);
- $38 = HEAP32[$prevSignalType>>2]|0;
- $cmp29 = ($38|0)==(2);
- $39 = $psDec$addr;
- $lossCnt32 = ((($39)) + 4160|0);
- $40 = HEAP32[$lossCnt32>>2]|0;
- $call33 = (_silk_min_int_432(1,$40)|0);
- if ($cmp29) {
- $arrayidx34 = (25398 + ($call33<<1)|0);
- $41 = HEAP16[$arrayidx34>>1]|0;
- $conv35 = $41 << 16 >> 16;
- $rand_Gain_Q15 = $conv35;
- } else {
- $arrayidx39 = (25402 + ($call33<<1)|0);
- $42 = HEAP16[$arrayidx39>>1]|0;
- $conv40 = $42 << 16 >> 16;
- $rand_Gain_Q15 = $conv40;
- }
- $43 = $psPLC;
- $prevLPC_Q1242 = ((($43)) + 14|0);
- $44 = $psDec$addr;
- $LPC_order = ((($44)) + 2340|0);
- $45 = HEAP32[$LPC_order>>2]|0;
- _silk_bwexpander($prevLPC_Q1242,$45,64881);
- $46 = $psPLC;
- $prevLPC_Q1245 = ((($46)) + 14|0);
- $47 = $psDec$addr;
- $LPC_order47 = ((($47)) + 2340|0);
- $48 = HEAP32[$LPC_order47>>2]|0;
- $mul48 = $48<<1;
- _memcpy(($A_Q12|0),($prevLPC_Q1245|0),($mul48|0))|0;
- $49 = $psDec$addr;
- $lossCnt49 = ((($49)) + 4160|0);
- $50 = HEAP32[$lossCnt49>>2]|0;
- $cmp50 = ($50|0)==(0);
- do {
- if ($cmp50) {
- $rand_scale_Q14 = 16384;
- $51 = $psDec$addr;
- $prevSignalType53 = ((($51)) + 4164|0);
- $52 = HEAP32[$prevSignalType53>>2]|0;
- $cmp54 = ($52|0)==(2);
- if (!($cmp54)) {
- $63 = $psPLC;
- $prevLPC_Q1271 = ((($63)) + 14|0);
- $64 = $psDec$addr;
- $LPC_order73 = ((($64)) + 2340|0);
- $65 = HEAP32[$LPC_order73>>2]|0;
- $call74 = (_silk_LPC_inverse_pred_gain($prevLPC_Q1271,$65)|0);
- $invGain_Q30 = $call74;
- $66 = $invGain_Q30;
- $call75 = (_silk_min_32_433(134217728,$66)|0);
- $down_scale_Q30 = $call75;
- $67 = $down_scale_Q30;
- $call76 = (_silk_max_32_434(4194304,$67)|0);
- $down_scale_Q30 = $call76;
- $68 = $down_scale_Q30;
- $shl = $68 << 3;
- $down_scale_Q30 = $shl;
- $69 = $down_scale_Q30;
- $shr77 = $69 >> 16;
- $70 = $rand_Gain_Q15;
- $conv78 = $70&65535;
- $conv79 = $conv78 << 16 >> 16;
- $mul80 = Math_imul($shr77, $conv79)|0;
- $71 = $down_scale_Q30;
- $and = $71 & 65535;
- $72 = $rand_Gain_Q15;
- $conv81 = $72&65535;
- $conv82 = $conv81 << 16 >> 16;
- $mul83 = Math_imul($and, $conv82)|0;
- $shr84 = $mul83 >> 16;
- $add85 = (($mul80) + ($shr84))|0;
- $shr86 = $add85 >> 14;
- $rand_Gain_Q15 = $shr86;
- break;
+ $134 = $135&1;
+ $34 = $134;
+ $136 = $9;
+ $137 = HEAP32[$136>>2]|0;
+ $138 = $33;
+ $139 = ((($138)) + 24544|0);
+ HEAP32[$139>>2] = $137;
+ $140 = $9;
+ $141 = ((($140)) + 4|0);
+ $142 = HEAP32[$141>>2]|0;
+ $143 = $33;
+ $144 = ((($143)) + 24548|0);
+ HEAP32[$144>>2] = $142;
+ $145 = $11;
+ $146 = ($145*100)|0;
+ $147 = $9;
+ $148 = ((($147)) + 8|0);
+ $149 = HEAP32[$148>>2]|0;
+ $150 = (($146|0) / ($149|0))&-1;
+ $24 = $150;
+ $151 = $24;
+ $152 = ($151|0)>(1);
+ $153 = $24;
+ $154 = $153 >> 1;
+ $155 = $152 ? $154 : 1;
+ $36 = $155;
+ $35 = 0;
+ $156 = $14;
+ $157 = ($156|0)!=(0);
+ $158 = $24;
+ L15: do {
+ if ($157) {
+ $159 = ($158|0)!=(1);
+ if ($159) {
+ $7 = -101;
+ $1318 = $7;
+ STACKTOP = sp;return ($1318|0);
}
- $i = 0;
+ $15 = 0;
while(1) {
- $53 = $i;
- $cmp57 = ($53|0)<(5);
- if (!($cmp57)) {
+ $160 = $15;
+ $161 = $9;
+ $162 = ((($161)) + 4|0);
+ $163 = HEAP32[$162>>2]|0;
+ $164 = ($160|0)<($163|0);
+ if (!($164)) {
break;
}
- $54 = $B_Q14;
- $55 = $i;
- $arrayidx59 = (($54) + ($55<<1)|0);
- $56 = HEAP16[$arrayidx59>>1]|0;
- $conv60 = $56 << 16 >> 16;
- $57 = $rand_scale_Q14;
- $conv61 = $57 << 16 >> 16;
- $sub62 = (($conv61) - ($conv60))|0;
- $conv63 = $sub62&65535;
- $rand_scale_Q14 = $conv63;
- $58 = $i;
- $inc = (($58) + 1)|0;
- $i = $inc;
+ $165 = $33;
+ $166 = $15;
+ $167 = (($165) + (($166*12240)|0)|0);
+ $168 = $33;
+ $169 = $15;
+ $170 = (($168) + (($169*12240)|0)|0);
+ $171 = ((($170)) + 5124|0);
+ $172 = HEAP32[$171>>2]|0;
+ $173 = (_silk_init_encoder($167,$172)|0);
+ $21 = $173;
+ $174 = $15;
+ $175 = (($174) + 1)|0;
+ $15 = $175;
+ }
+ $176 = $9;
+ $177 = ((($176)) + 24|0);
+ $178 = HEAP32[$177>>2]|0;
+ $19 = $178;
+ $179 = $9;
+ $180 = ((($179)) + 24|0);
+ HEAP32[$180>>2] = 10;
+ $181 = $9;
+ $182 = ((($181)) + 36|0);
+ $183 = HEAP32[$182>>2]|0;
+ $20 = $183;
+ $184 = $9;
+ $185 = ((($184)) + 36|0);
+ HEAP32[$185>>2] = 0;
+ $15 = 0;
+ while(1) {
+ $186 = $15;
+ $187 = $9;
+ $188 = ((($187)) + 4|0);
+ $189 = HEAP32[$188>>2]|0;
+ $190 = ($186|0)<($189|0);
+ if (!($190)) {
+ break L15;
+ }
+ $191 = $33;
+ $192 = $15;
+ $193 = (($191) + (($192*12240)|0)|0);
+ $194 = ((($193)) + 4700|0);
+ HEAP32[$194>>2] = 0;
+ $195 = $33;
+ $196 = $15;
+ $197 = (($195) + (($196*12240)|0)|0);
+ $198 = ((($197)) + 4712|0);
+ HEAP32[$198>>2] = 1;
+ $199 = $15;
+ $200 = (($199) + 1)|0;
+ $15 = $200;
+ }
+ } else {
+ $201 = $9;
+ $202 = ((($201)) + 8|0);
+ $203 = HEAP32[$202>>2]|0;
+ $204 = Math_imul($158, $203)|0;
+ $205 = $11;
+ $206 = ($205*100)|0;
+ $207 = ($204|0)!=($206|0);
+ $208 = $11;
+ $209 = ($208|0)<(0);
+ $or$cond = $207 | $209;
+ if ($or$cond) {
+ $7 = -101;
+ $1318 = $7;
+ STACKTOP = sp;return ($1318|0);
+ }
+ $210 = $11;
+ $211 = ($210*1000)|0;
+ $212 = $9;
+ $213 = ((($212)) + 24|0);
+ $214 = HEAP32[$213>>2]|0;
+ $215 = $9;
+ $216 = ((($215)) + 8|0);
+ $217 = HEAP32[$216>>2]|0;
+ $218 = Math_imul($214, $217)|0;
+ $219 = ($211|0)>($218|0);
+ if ($219) {
+ $7 = -101;
+ $1318 = $7;
+ STACKTOP = sp;return ($1318|0);
}
- $59 = $rand_scale_Q14;
- $call64 = (_silk_max_16(3277,$59)|0);
- $rand_scale_Q14 = $call64;
- $60 = $rand_scale_Q14;
- $conv65 = $60 << 16 >> 16;
- $61 = $psPLC;
- $prevLTP_scale_Q14 = ((($61)) + 68|0);
- $62 = HEAP16[$prevLTP_scale_Q14>>1]|0;
- $conv66 = $62 << 16 >> 16;
- $mul67 = Math_imul($conv65, $conv66)|0;
- $shr68 = $mul67 >> 14;
- $conv69 = $shr68&65535;
- $rand_scale_Q14 = $conv69;
}
} while(0);
- $73 = $psPLC;
- $rand_seed89 = ((($73)) + 52|0);
- $74 = HEAP32[$rand_seed89>>2]|0;
- $rand_seed = $74;
- $75 = $psPLC;
- $76 = HEAP32[$75>>2]|0;
- $shr90 = $76 >> 7;
- $add91 = (($shr90) + 1)|0;
- $shr92 = $add91 >> 1;
- $lag = $shr92;
- $77 = $psDec$addr;
- $ltp_mem_length93 = ((($77)) + 2336|0);
- $78 = HEAP32[$ltp_mem_length93>>2]|0;
- $sLTP_buf_idx = $78;
- $79 = $psDec$addr;
- $ltp_mem_length94 = ((($79)) + 2336|0);
- $80 = HEAP32[$ltp_mem_length94>>2]|0;
- $81 = $lag;
- $sub95 = (($80) - ($81))|0;
- $82 = $psDec$addr;
- $LPC_order96 = ((($82)) + 2340|0);
- $83 = HEAP32[$LPC_order96>>2]|0;
- $sub97 = (($sub95) - ($83))|0;
- $sub98 = (($sub97) - 2)|0;
- $idx = $sub98;
- $84 = $idx;
- $arrayidx99 = (($vla2) + ($84<<1)|0);
- $85 = $psDec$addr;
- $outBuf = ((($85)) + 1348|0);
- $86 = $idx;
- $arrayidx100 = (($outBuf) + ($86<<1)|0);
- $87 = $psDec$addr;
- $ltp_mem_length102 = ((($87)) + 2336|0);
- $88 = HEAP32[$ltp_mem_length102>>2]|0;
- $89 = $idx;
- $sub103 = (($88) - ($89))|0;
- $90 = $psDec$addr;
- $LPC_order104 = ((($90)) + 2340|0);
- $91 = HEAP32[$LPC_order104>>2]|0;
- $92 = $arch$addr;
- _silk_LPC_analysis_filter($arrayidx99,$arrayidx100,$A_Q12,$sub103,$91,$92);
- $93 = $psPLC;
- $prevGain_Q16105 = ((($93)) + 72|0);
- $arrayidx106 = ((($prevGain_Q16105)) + 4|0);
- $94 = HEAP32[$arrayidx106>>2]|0;
- $call107 = (_silk_INVERSE32_varQ_435($94,46)|0);
- $inv_gain_Q30 = $call107;
- $95 = $inv_gain_Q30;
- $cmp108 = ($95|0)<(1073741823);
- $96 = $inv_gain_Q30;
- $cond = $cmp108 ? $96 : 1073741823;
- $inv_gain_Q30 = $cond;
- $97 = $idx;
- $98 = $psDec$addr;
- $LPC_order110 = ((($98)) + 2340|0);
- $99 = HEAP32[$LPC_order110>>2]|0;
- $add111 = (($97) + ($99))|0;
- $i = $add111;
+ $220 = $9;
+ $221 = ((($220)) + 28|0);
+ $222 = HEAP32[$221>>2]|0;
+ $223 = $9;
+ $224 = ((($223)) + 4|0);
+ $225 = HEAP32[$224>>2]|0;
+ $226 = (($225) - 1)|0;
+ $227 = $222 >> $226;
+ $28 = $227;
+ $15 = 0;
while(1) {
- $100 = $i;
- $101 = $psDec$addr;
- $ltp_mem_length113 = ((($101)) + 2336|0);
- $102 = HEAP32[$ltp_mem_length113>>2]|0;
- $cmp114 = ($100|0)<($102|0);
- if (!($cmp114)) {
+ $228 = $15;
+ $229 = $9;
+ $230 = ((($229)) + 4|0);
+ $231 = HEAP32[$230>>2]|0;
+ $232 = ($228|0)<($231|0);
+ if (!($232)) {
break;
}
- $103 = $inv_gain_Q30;
- $shr117 = $103 >> 16;
- $104 = $i;
- $arrayidx118 = (($vla2) + ($104<<1)|0);
- $105 = HEAP16[$arrayidx118>>1]|0;
- $conv119 = $105 << 16 >> 16;
- $mul120 = Math_imul($shr117, $conv119)|0;
- $106 = $inv_gain_Q30;
- $and121 = $106 & 65535;
- $107 = $i;
- $arrayidx122 = (($vla2) + ($107<<1)|0);
- $108 = HEAP16[$arrayidx122>>1]|0;
- $conv123 = $108 << 16 >> 16;
- $mul124 = Math_imul($and121, $conv123)|0;
- $shr125 = $mul124 >> 16;
- $add126 = (($mul120) + ($shr125))|0;
- $109 = $i;
- $arrayidx127 = (($vla) + ($109<<2)|0);
- HEAP32[$arrayidx127>>2] = $add126;
- $110 = $i;
- $inc129 = (($110) + 1)|0;
- $i = $inc129;
- }
- $k = 0;
- while(1) {
- $111 = $k;
- $112 = $psDec$addr;
- $nb_subfr132 = ((($112)) + 2324|0);
- $113 = HEAP32[$nb_subfr132>>2]|0;
- $cmp133 = ($111|0)<($113|0);
- if (!($cmp133)) {
- break;
- }
- $114 = $sLTP_buf_idx;
- $115 = $lag;
- $sub136 = (($114) - ($115))|0;
- $add137 = (($sub136) + 2)|0;
- $arrayidx138 = (($vla) + ($add137<<2)|0);
- $pred_lag_ptr = $arrayidx138;
- $i = 0;
- while(1) {
- $116 = $i;
- $117 = $psDec$addr;
- $subfr_length140 = ((($117)) + 2332|0);
- $118 = HEAP32[$subfr_length140>>2]|0;
- $cmp141 = ($116|0)<($118|0);
- if (!($cmp141)) {
- break;
- }
- $LTP_pred_Q12 = 2;
- $119 = $LTP_pred_Q12;
- $120 = $pred_lag_ptr;
- $121 = HEAP32[$120>>2]|0;
- $shr145 = $121 >> 16;
- $122 = $B_Q14;
- $123 = HEAP16[$122>>1]|0;
- $conv147 = $123 << 16 >> 16;
- $mul148 = Math_imul($shr145, $conv147)|0;
- $124 = $pred_lag_ptr;
- $125 = HEAP32[$124>>2]|0;
- $and150 = $125 & 65535;
- $126 = $B_Q14;
- $127 = HEAP16[$126>>1]|0;
- $conv152 = $127 << 16 >> 16;
- $mul153 = Math_imul($and150, $conv152)|0;
- $shr154 = $mul153 >> 16;
- $add155 = (($mul148) + ($shr154))|0;
- $add156 = (($119) + ($add155))|0;
- $LTP_pred_Q12 = $add156;
- $128 = $LTP_pred_Q12;
- $129 = $pred_lag_ptr;
- $arrayidx157 = ((($129)) + -4|0);
- $130 = HEAP32[$arrayidx157>>2]|0;
- $shr158 = $130 >> 16;
- $131 = $B_Q14;
- $arrayidx159 = ((($131)) + 2|0);
- $132 = HEAP16[$arrayidx159>>1]|0;
- $conv160 = $132 << 16 >> 16;
- $mul161 = Math_imul($shr158, $conv160)|0;
- $133 = $pred_lag_ptr;
- $arrayidx162 = ((($133)) + -4|0);
- $134 = HEAP32[$arrayidx162>>2]|0;
- $and163 = $134 & 65535;
- $135 = $B_Q14;
- $arrayidx164 = ((($135)) + 2|0);
- $136 = HEAP16[$arrayidx164>>1]|0;
- $conv165 = $136 << 16 >> 16;
- $mul166 = Math_imul($and163, $conv165)|0;
- $shr167 = $mul166 >> 16;
- $add168 = (($mul161) + ($shr167))|0;
- $add169 = (($128) + ($add168))|0;
- $LTP_pred_Q12 = $add169;
- $137 = $LTP_pred_Q12;
- $138 = $pred_lag_ptr;
- $arrayidx170 = ((($138)) + -8|0);
- $139 = HEAP32[$arrayidx170>>2]|0;
- $shr171 = $139 >> 16;
- $140 = $B_Q14;
- $arrayidx172 = ((($140)) + 4|0);
- $141 = HEAP16[$arrayidx172>>1]|0;
- $conv173 = $141 << 16 >> 16;
- $mul174 = Math_imul($shr171, $conv173)|0;
- $142 = $pred_lag_ptr;
- $arrayidx175 = ((($142)) + -8|0);
- $143 = HEAP32[$arrayidx175>>2]|0;
- $and176 = $143 & 65535;
- $144 = $B_Q14;
- $arrayidx177 = ((($144)) + 4|0);
- $145 = HEAP16[$arrayidx177>>1]|0;
- $conv178 = $145 << 16 >> 16;
- $mul179 = Math_imul($and176, $conv178)|0;
- $shr180 = $mul179 >> 16;
- $add181 = (($mul174) + ($shr180))|0;
- $add182 = (($137) + ($add181))|0;
- $LTP_pred_Q12 = $add182;
- $146 = $LTP_pred_Q12;
- $147 = $pred_lag_ptr;
- $arrayidx183 = ((($147)) + -12|0);
- $148 = HEAP32[$arrayidx183>>2]|0;
- $shr184 = $148 >> 16;
- $149 = $B_Q14;
- $arrayidx185 = ((($149)) + 6|0);
- $150 = HEAP16[$arrayidx185>>1]|0;
- $conv186 = $150 << 16 >> 16;
- $mul187 = Math_imul($shr184, $conv186)|0;
- $151 = $pred_lag_ptr;
- $arrayidx188 = ((($151)) + -12|0);
- $152 = HEAP32[$arrayidx188>>2]|0;
- $and189 = $152 & 65535;
- $153 = $B_Q14;
- $arrayidx190 = ((($153)) + 6|0);
- $154 = HEAP16[$arrayidx190>>1]|0;
- $conv191 = $154 << 16 >> 16;
- $mul192 = Math_imul($and189, $conv191)|0;
- $shr193 = $mul192 >> 16;
- $add194 = (($mul187) + ($shr193))|0;
- $add195 = (($146) + ($add194))|0;
- $LTP_pred_Q12 = $add195;
- $155 = $LTP_pred_Q12;
- $156 = $pred_lag_ptr;
- $arrayidx196 = ((($156)) + -16|0);
- $157 = HEAP32[$arrayidx196>>2]|0;
- $shr197 = $157 >> 16;
- $158 = $B_Q14;
- $arrayidx198 = ((($158)) + 8|0);
- $159 = HEAP16[$arrayidx198>>1]|0;
- $conv199 = $159 << 16 >> 16;
- $mul200 = Math_imul($shr197, $conv199)|0;
- $160 = $pred_lag_ptr;
- $arrayidx201 = ((($160)) + -16|0);
- $161 = HEAP32[$arrayidx201>>2]|0;
- $and202 = $161 & 65535;
- $162 = $B_Q14;
- $arrayidx203 = ((($162)) + 8|0);
- $163 = HEAP16[$arrayidx203>>1]|0;
- $conv204 = $163 << 16 >> 16;
- $mul205 = Math_imul($and202, $conv204)|0;
- $shr206 = $mul205 >> 16;
- $add207 = (($mul200) + ($shr206))|0;
- $add208 = (($155) + ($add207))|0;
- $LTP_pred_Q12 = $add208;
- $164 = $pred_lag_ptr;
- $incdec$ptr = ((($164)) + 4|0);
- $pred_lag_ptr = $incdec$ptr;
- $165 = $rand_seed;
- $mul209 = Math_imul($165, 196314165)|0;
- $add210 = (907633515 + ($mul209))|0;
- $rand_seed = $add210;
- $166 = $rand_seed;
- $shr211 = $166 >> 25;
- $and212 = $shr211 & 127;
- $idx = $and212;
- $167 = $LTP_pred_Q12;
- $168 = $rand_ptr;
- $169 = $idx;
- $arrayidx213 = (($168) + ($169<<2)|0);
- $170 = HEAP32[$arrayidx213>>2]|0;
- $shr214 = $170 >> 16;
- $171 = $rand_scale_Q14;
- $conv215 = $171 << 16 >> 16;
- $mul216 = Math_imul($shr214, $conv215)|0;
- $172 = $rand_ptr;
- $173 = $idx;
- $arrayidx217 = (($172) + ($173<<2)|0);
- $174 = HEAP32[$arrayidx217>>2]|0;
- $and218 = $174 & 65535;
- $175 = $rand_scale_Q14;
- $conv219 = $175 << 16 >> 16;
- $mul220 = Math_imul($and218, $conv219)|0;
- $shr221 = $mul220 >> 16;
- $add222 = (($mul216) + ($shr221))|0;
- $add223 = (($167) + ($add222))|0;
- $shl224 = $add223 << 2;
- $176 = $sLTP_buf_idx;
- $arrayidx225 = (($vla) + ($176<<2)|0);
- HEAP32[$arrayidx225>>2] = $shl224;
- $177 = $sLTP_buf_idx;
- $inc226 = (($177) + 1)|0;
- $sLTP_buf_idx = $inc226;
- $178 = $i;
- $inc228 = (($178) + 1)|0;
- $i = $inc228;
- }
- $j = 0;
- while(1) {
- $179 = $j;
- $cmp231 = ($179|0)<(5);
- if (!($cmp231)) {
- break;
- }
- $180 = $harm_Gain_Q15;
- $conv234 = $180&65535;
- $conv235 = $conv234 << 16 >> 16;
- $181 = $B_Q14;
- $182 = $j;
- $arrayidx236 = (($181) + ($182<<1)|0);
- $183 = HEAP16[$arrayidx236>>1]|0;
- $conv237 = $183 << 16 >> 16;
- $mul238 = Math_imul($conv235, $conv237)|0;
- $shr239 = $mul238 >> 15;
- $conv240 = $shr239&65535;
- $184 = $B_Q14;
- $185 = $j;
- $arrayidx241 = (($184) + ($185<<1)|0);
- HEAP16[$arrayidx241>>1] = $conv240;
- $186 = $j;
- $inc243 = (($186) + 1)|0;
- $j = $inc243;
- }
- $187 = $rand_scale_Q14;
- $conv245 = $187 << 16 >> 16;
- $188 = $rand_Gain_Q15;
- $conv246 = $188&65535;
- $conv247 = $conv246 << 16 >> 16;
- $mul248 = Math_imul($conv245, $conv247)|0;
- $shr249 = $mul248 >> 15;
- $conv250 = $shr249&65535;
- $rand_scale_Q14 = $conv250;
- $189 = $psPLC;
- $190 = HEAP32[$189>>2]|0;
- $191 = $psPLC;
- $192 = HEAP32[$191>>2]|0;
- $shr253 = $192 >> 16;
- $mul254 = ($shr253*655)|0;
- $193 = $psPLC;
- $194 = HEAP32[$193>>2]|0;
- $and256 = $194 & 65535;
- $mul257 = ($and256*655)|0;
- $shr258 = $mul257 >> 16;
- $add259 = (($mul254) + ($shr258))|0;
- $add260 = (($190) + ($add259))|0;
- $195 = $psPLC;
- HEAP32[$195>>2] = $add260;
- $196 = $psPLC;
- $197 = HEAP32[$196>>2]|0;
- $198 = $psDec$addr;
- $fs_kHz = ((($198)) + 2316|0);
- $199 = HEAP32[$fs_kHz>>2]|0;
- $conv263 = $199&65535;
- $conv264 = $conv263 << 16 >> 16;
- $mul265 = ($conv264*18)|0;
- $shl266 = $mul265 << 8;
- $call267 = (_silk_min_32_433($197,$shl266)|0);
- $200 = $psPLC;
- HEAP32[$200>>2] = $call267;
- $201 = $psPLC;
- $202 = HEAP32[$201>>2]|0;
- $shr270 = $202 >> 7;
- $add271 = (($shr270) + 1)|0;
- $shr272 = $add271 >> 1;
- $lag = $shr272;
- $203 = $k;
- $inc274 = (($203) + 1)|0;
- $k = $inc274;
- }
- $204 = $psDec$addr;
- $ltp_mem_length276 = ((($204)) + 2336|0);
- $205 = HEAP32[$ltp_mem_length276>>2]|0;
- $sub277 = (($205) - 16)|0;
- $arrayidx278 = (($vla) + ($sub277<<2)|0);
- $sLPC_Q14_ptr = $arrayidx278;
- $206 = $sLPC_Q14_ptr;
- $207 = $psDec$addr;
- $sLPC_Q14_buf = ((($207)) + 1284|0);
- dest=$206; src=$sLPC_Q14_buf; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $i = 0;
- while(1) {
- $208 = $i;
- $209 = $psDec$addr;
- $frame_length281 = ((($209)) + 2328|0);
- $210 = HEAP32[$frame_length281>>2]|0;
- $cmp282 = ($208|0)<($210|0);
- $211 = $psDec$addr;
- if (!($cmp282)) {
- break;
- }
- $LPC_order285 = ((($211)) + 2340|0);
- $212 = HEAP32[$LPC_order285>>2]|0;
- $shr286 = $212 >> 1;
- $LPC_pred_Q10 = $shr286;
- $213 = $LPC_pred_Q10;
- $214 = $sLPC_Q14_ptr;
- $215 = $i;
- $add287 = (16 + ($215))|0;
- $sub288 = (($add287) - 1)|0;
- $arrayidx289 = (($214) + ($sub288<<2)|0);
- $216 = HEAP32[$arrayidx289>>2]|0;
- $shr290 = $216 >> 16;
- $217 = HEAP16[$A_Q12>>1]|0;
- $conv292 = $217 << 16 >> 16;
- $mul293 = Math_imul($shr290, $conv292)|0;
- $218 = $sLPC_Q14_ptr;
- $219 = $i;
- $add294 = (16 + ($219))|0;
- $sub295 = (($add294) - 1)|0;
- $arrayidx296 = (($218) + ($sub295<<2)|0);
- $220 = HEAP32[$arrayidx296>>2]|0;
- $and297 = $220 & 65535;
- $221 = HEAP16[$A_Q12>>1]|0;
- $conv299 = $221 << 16 >> 16;
- $mul300 = Math_imul($and297, $conv299)|0;
- $shr301 = $mul300 >> 16;
- $add302 = (($mul293) + ($shr301))|0;
- $add303 = (($213) + ($add302))|0;
- $LPC_pred_Q10 = $add303;
- $222 = $LPC_pred_Q10;
- $223 = $sLPC_Q14_ptr;
- $224 = $i;
- $add304 = (16 + ($224))|0;
- $sub305 = (($add304) - 2)|0;
- $arrayidx306 = (($223) + ($sub305<<2)|0);
- $225 = HEAP32[$arrayidx306>>2]|0;
- $shr307 = $225 >> 16;
- $arrayidx308 = ((($A_Q12)) + 2|0);
- $226 = HEAP16[$arrayidx308>>1]|0;
- $conv309 = $226 << 16 >> 16;
- $mul310 = Math_imul($shr307, $conv309)|0;
- $227 = $sLPC_Q14_ptr;
- $228 = $i;
- $add311 = (16 + ($228))|0;
- $sub312 = (($add311) - 2)|0;
- $arrayidx313 = (($227) + ($sub312<<2)|0);
- $229 = HEAP32[$arrayidx313>>2]|0;
- $and314 = $229 & 65535;
- $arrayidx315 = ((($A_Q12)) + 2|0);
- $230 = HEAP16[$arrayidx315>>1]|0;
- $conv316 = $230 << 16 >> 16;
- $mul317 = Math_imul($and314, $conv316)|0;
- $shr318 = $mul317 >> 16;
- $add319 = (($mul310) + ($shr318))|0;
- $add320 = (($222) + ($add319))|0;
- $LPC_pred_Q10 = $add320;
- $231 = $LPC_pred_Q10;
- $232 = $sLPC_Q14_ptr;
- $233 = $i;
- $add321 = (16 + ($233))|0;
- $sub322 = (($add321) - 3)|0;
- $arrayidx323 = (($232) + ($sub322<<2)|0);
- $234 = HEAP32[$arrayidx323>>2]|0;
- $shr324 = $234 >> 16;
- $arrayidx325 = ((($A_Q12)) + 4|0);
- $235 = HEAP16[$arrayidx325>>1]|0;
- $conv326 = $235 << 16 >> 16;
- $mul327 = Math_imul($shr324, $conv326)|0;
- $236 = $sLPC_Q14_ptr;
- $237 = $i;
- $add328 = (16 + ($237))|0;
- $sub329 = (($add328) - 3)|0;
- $arrayidx330 = (($236) + ($sub329<<2)|0);
- $238 = HEAP32[$arrayidx330>>2]|0;
- $and331 = $238 & 65535;
- $arrayidx332 = ((($A_Q12)) + 4|0);
- $239 = HEAP16[$arrayidx332>>1]|0;
- $conv333 = $239 << 16 >> 16;
- $mul334 = Math_imul($and331, $conv333)|0;
- $shr335 = $mul334 >> 16;
- $add336 = (($mul327) + ($shr335))|0;
- $add337 = (($231) + ($add336))|0;
- $LPC_pred_Q10 = $add337;
- $240 = $LPC_pred_Q10;
- $241 = $sLPC_Q14_ptr;
- $242 = $i;
- $add338 = (16 + ($242))|0;
- $sub339 = (($add338) - 4)|0;
- $arrayidx340 = (($241) + ($sub339<<2)|0);
- $243 = HEAP32[$arrayidx340>>2]|0;
- $shr341 = $243 >> 16;
- $arrayidx342 = ((($A_Q12)) + 6|0);
- $244 = HEAP16[$arrayidx342>>1]|0;
- $conv343 = $244 << 16 >> 16;
- $mul344 = Math_imul($shr341, $conv343)|0;
- $245 = $sLPC_Q14_ptr;
- $246 = $i;
- $add345 = (16 + ($246))|0;
- $sub346 = (($add345) - 4)|0;
- $arrayidx347 = (($245) + ($sub346<<2)|0);
- $247 = HEAP32[$arrayidx347>>2]|0;
- $and348 = $247 & 65535;
- $arrayidx349 = ((($A_Q12)) + 6|0);
- $248 = HEAP16[$arrayidx349>>1]|0;
- $conv350 = $248 << 16 >> 16;
- $mul351 = Math_imul($and348, $conv350)|0;
- $shr352 = $mul351 >> 16;
- $add353 = (($mul344) + ($shr352))|0;
- $add354 = (($240) + ($add353))|0;
- $LPC_pred_Q10 = $add354;
- $249 = $LPC_pred_Q10;
- $250 = $sLPC_Q14_ptr;
- $251 = $i;
- $add355 = (16 + ($251))|0;
- $sub356 = (($add355) - 5)|0;
- $arrayidx357 = (($250) + ($sub356<<2)|0);
- $252 = HEAP32[$arrayidx357>>2]|0;
- $shr358 = $252 >> 16;
- $arrayidx359 = ((($A_Q12)) + 8|0);
- $253 = HEAP16[$arrayidx359>>1]|0;
- $conv360 = $253 << 16 >> 16;
- $mul361 = Math_imul($shr358, $conv360)|0;
- $254 = $sLPC_Q14_ptr;
- $255 = $i;
- $add362 = (16 + ($255))|0;
- $sub363 = (($add362) - 5)|0;
- $arrayidx364 = (($254) + ($sub363<<2)|0);
- $256 = HEAP32[$arrayidx364>>2]|0;
- $and365 = $256 & 65535;
- $arrayidx366 = ((($A_Q12)) + 8|0);
- $257 = HEAP16[$arrayidx366>>1]|0;
- $conv367 = $257 << 16 >> 16;
- $mul368 = Math_imul($and365, $conv367)|0;
- $shr369 = $mul368 >> 16;
- $add370 = (($mul361) + ($shr369))|0;
- $add371 = (($249) + ($add370))|0;
- $LPC_pred_Q10 = $add371;
- $258 = $LPC_pred_Q10;
- $259 = $sLPC_Q14_ptr;
- $260 = $i;
- $add372 = (16 + ($260))|0;
- $sub373 = (($add372) - 6)|0;
- $arrayidx374 = (($259) + ($sub373<<2)|0);
- $261 = HEAP32[$arrayidx374>>2]|0;
- $shr375 = $261 >> 16;
- $arrayidx376 = ((($A_Q12)) + 10|0);
- $262 = HEAP16[$arrayidx376>>1]|0;
- $conv377 = $262 << 16 >> 16;
- $mul378 = Math_imul($shr375, $conv377)|0;
- $263 = $sLPC_Q14_ptr;
- $264 = $i;
- $add379 = (16 + ($264))|0;
- $sub380 = (($add379) - 6)|0;
- $arrayidx381 = (($263) + ($sub380<<2)|0);
- $265 = HEAP32[$arrayidx381>>2]|0;
- $and382 = $265 & 65535;
- $arrayidx383 = ((($A_Q12)) + 10|0);
- $266 = HEAP16[$arrayidx383>>1]|0;
- $conv384 = $266 << 16 >> 16;
- $mul385 = Math_imul($and382, $conv384)|0;
- $shr386 = $mul385 >> 16;
- $add387 = (($mul378) + ($shr386))|0;
- $add388 = (($258) + ($add387))|0;
- $LPC_pred_Q10 = $add388;
- $267 = $LPC_pred_Q10;
- $268 = $sLPC_Q14_ptr;
- $269 = $i;
- $add389 = (16 + ($269))|0;
- $sub390 = (($add389) - 7)|0;
- $arrayidx391 = (($268) + ($sub390<<2)|0);
- $270 = HEAP32[$arrayidx391>>2]|0;
- $shr392 = $270 >> 16;
- $arrayidx393 = ((($A_Q12)) + 12|0);
- $271 = HEAP16[$arrayidx393>>1]|0;
- $conv394 = $271 << 16 >> 16;
- $mul395 = Math_imul($shr392, $conv394)|0;
- $272 = $sLPC_Q14_ptr;
- $273 = $i;
- $add396 = (16 + ($273))|0;
- $sub397 = (($add396) - 7)|0;
- $arrayidx398 = (($272) + ($sub397<<2)|0);
- $274 = HEAP32[$arrayidx398>>2]|0;
- $and399 = $274 & 65535;
- $arrayidx400 = ((($A_Q12)) + 12|0);
- $275 = HEAP16[$arrayidx400>>1]|0;
- $conv401 = $275 << 16 >> 16;
- $mul402 = Math_imul($and399, $conv401)|0;
- $shr403 = $mul402 >> 16;
- $add404 = (($mul395) + ($shr403))|0;
- $add405 = (($267) + ($add404))|0;
- $LPC_pred_Q10 = $add405;
- $276 = $LPC_pred_Q10;
- $277 = $sLPC_Q14_ptr;
- $278 = $i;
- $add406 = (16 + ($278))|0;
- $sub407 = (($add406) - 8)|0;
- $arrayidx408 = (($277) + ($sub407<<2)|0);
- $279 = HEAP32[$arrayidx408>>2]|0;
- $shr409 = $279 >> 16;
- $arrayidx410 = ((($A_Q12)) + 14|0);
- $280 = HEAP16[$arrayidx410>>1]|0;
- $conv411 = $280 << 16 >> 16;
- $mul412 = Math_imul($shr409, $conv411)|0;
- $281 = $sLPC_Q14_ptr;
- $282 = $i;
- $add413 = (16 + ($282))|0;
- $sub414 = (($add413) - 8)|0;
- $arrayidx415 = (($281) + ($sub414<<2)|0);
- $283 = HEAP32[$arrayidx415>>2]|0;
- $and416 = $283 & 65535;
- $arrayidx417 = ((($A_Q12)) + 14|0);
- $284 = HEAP16[$arrayidx417>>1]|0;
- $conv418 = $284 << 16 >> 16;
- $mul419 = Math_imul($and416, $conv418)|0;
- $shr420 = $mul419 >> 16;
- $add421 = (($mul412) + ($shr420))|0;
- $add422 = (($276) + ($add421))|0;
- $LPC_pred_Q10 = $add422;
- $285 = $LPC_pred_Q10;
- $286 = $sLPC_Q14_ptr;
- $287 = $i;
- $add423 = (16 + ($287))|0;
- $sub424 = (($add423) - 9)|0;
- $arrayidx425 = (($286) + ($sub424<<2)|0);
- $288 = HEAP32[$arrayidx425>>2]|0;
- $shr426 = $288 >> 16;
- $arrayidx427 = ((($A_Q12)) + 16|0);
- $289 = HEAP16[$arrayidx427>>1]|0;
- $conv428 = $289 << 16 >> 16;
- $mul429 = Math_imul($shr426, $conv428)|0;
- $290 = $sLPC_Q14_ptr;
- $291 = $i;
- $add430 = (16 + ($291))|0;
- $sub431 = (($add430) - 9)|0;
- $arrayidx432 = (($290) + ($sub431<<2)|0);
- $292 = HEAP32[$arrayidx432>>2]|0;
- $and433 = $292 & 65535;
- $arrayidx434 = ((($A_Q12)) + 16|0);
- $293 = HEAP16[$arrayidx434>>1]|0;
- $conv435 = $293 << 16 >> 16;
- $mul436 = Math_imul($and433, $conv435)|0;
- $shr437 = $mul436 >> 16;
- $add438 = (($mul429) + ($shr437))|0;
- $add439 = (($285) + ($add438))|0;
- $LPC_pred_Q10 = $add439;
- $294 = $LPC_pred_Q10;
- $295 = $sLPC_Q14_ptr;
- $296 = $i;
- $add440 = (16 + ($296))|0;
- $sub441 = (($add440) - 10)|0;
- $arrayidx442 = (($295) + ($sub441<<2)|0);
- $297 = HEAP32[$arrayidx442>>2]|0;
- $shr443 = $297 >> 16;
- $arrayidx444 = ((($A_Q12)) + 18|0);
- $298 = HEAP16[$arrayidx444>>1]|0;
- $conv445 = $298 << 16 >> 16;
- $mul446 = Math_imul($shr443, $conv445)|0;
- $299 = $sLPC_Q14_ptr;
- $300 = $i;
- $add447 = (16 + ($300))|0;
- $sub448 = (($add447) - 10)|0;
- $arrayidx449 = (($299) + ($sub448<<2)|0);
- $301 = HEAP32[$arrayidx449>>2]|0;
- $and450 = $301 & 65535;
- $arrayidx451 = ((($A_Q12)) + 18|0);
- $302 = HEAP16[$arrayidx451>>1]|0;
- $conv452 = $302 << 16 >> 16;
- $mul453 = Math_imul($and450, $conv452)|0;
- $shr454 = $mul453 >> 16;
- $add455 = (($mul446) + ($shr454))|0;
- $add456 = (($294) + ($add455))|0;
- $LPC_pred_Q10 = $add456;
- $j = 10;
- while(1) {
- $303 = $j;
- $304 = $psDec$addr;
- $LPC_order458 = ((($304)) + 2340|0);
- $305 = HEAP32[$LPC_order458>>2]|0;
- $cmp459 = ($303|0)<($305|0);
- if (!($cmp459)) {
- break;
- }
- $306 = $LPC_pred_Q10;
- $307 = $sLPC_Q14_ptr;
- $308 = $i;
- $add462 = (16 + ($308))|0;
- $309 = $j;
- $sub463 = (($add462) - ($309))|0;
- $sub464 = (($sub463) - 1)|0;
- $arrayidx465 = (($307) + ($sub464<<2)|0);
- $310 = HEAP32[$arrayidx465>>2]|0;
- $shr466 = $310 >> 16;
- $311 = $j;
- $arrayidx467 = (($A_Q12) + ($311<<1)|0);
- $312 = HEAP16[$arrayidx467>>1]|0;
- $conv468 = $312 << 16 >> 16;
- $mul469 = Math_imul($shr466, $conv468)|0;
- $313 = $sLPC_Q14_ptr;
- $314 = $i;
- $add470 = (16 + ($314))|0;
- $315 = $j;
- $sub471 = (($add470) - ($315))|0;
- $sub472 = (($sub471) - 1)|0;
- $arrayidx473 = (($313) + ($sub472<<2)|0);
- $316 = HEAP32[$arrayidx473>>2]|0;
- $and474 = $316 & 65535;
- $317 = $j;
- $arrayidx475 = (($A_Q12) + ($317<<1)|0);
- $318 = HEAP16[$arrayidx475>>1]|0;
- $conv476 = $318 << 16 >> 16;
- $mul477 = Math_imul($and474, $conv476)|0;
- $shr478 = $mul477 >> 16;
- $add479 = (($mul469) + ($shr478))|0;
- $add480 = (($306) + ($add479))|0;
- $LPC_pred_Q10 = $add480;
- $319 = $j;
- $inc482 = (($319) + 1)|0;
- $j = $inc482;
- }
- $320 = $sLPC_Q14_ptr;
- $321 = $i;
- $add484 = (16 + ($321))|0;
- $arrayidx485 = (($320) + ($add484<<2)|0);
- $322 = HEAP32[$arrayidx485>>2]|0;
- $323 = $LPC_pred_Q10;
- $shl486 = $323 << 4;
- $add487 = (($322) + ($shl486))|0;
- $324 = $sLPC_Q14_ptr;
- $325 = $i;
- $add488 = (16 + ($325))|0;
- $arrayidx489 = (($324) + ($add488<<2)|0);
- HEAP32[$arrayidx489>>2] = $add487;
- $326 = $sLPC_Q14_ptr;
- $327 = $i;
- $add490 = (16 + ($327))|0;
- $arrayidx491 = (($326) + ($add490<<2)|0);
- $328 = HEAP32[$arrayidx491>>2]|0;
- $shr492 = $328 >> 16;
- $arrayidx493 = ((($prevGain_Q10)) + 4|0);
- $329 = HEAP32[$arrayidx493>>2]|0;
- $conv494 = $329&65535;
- $conv495 = $conv494 << 16 >> 16;
- $mul496 = Math_imul($shr492, $conv495)|0;
- $330 = $sLPC_Q14_ptr;
- $331 = $i;
- $add497 = (16 + ($331))|0;
- $arrayidx498 = (($330) + ($add497<<2)|0);
- $332 = HEAP32[$arrayidx498>>2]|0;
- $and499 = $332 & 65535;
- $arrayidx500 = ((($prevGain_Q10)) + 4|0);
- $333 = HEAP32[$arrayidx500>>2]|0;
- $conv501 = $333&65535;
- $conv502 = $conv501 << 16 >> 16;
- $mul503 = Math_imul($and499, $conv502)|0;
- $shr504 = $mul503 >> 16;
- $add505 = (($mul496) + ($shr504))|0;
- $334 = $sLPC_Q14_ptr;
- $335 = $i;
- $add506 = (16 + ($335))|0;
- $arrayidx507 = (($334) + ($add506<<2)|0);
- $336 = HEAP32[$arrayidx507>>2]|0;
- $arrayidx508 = ((($prevGain_Q10)) + 4|0);
- $337 = HEAP32[$arrayidx508>>2]|0;
- $shr509 = $337 >> 15;
- $add510 = (($shr509) + 1)|0;
- $shr511 = $add510 >> 1;
- $mul512 = Math_imul($336, $shr511)|0;
- $add513 = (($add505) + ($mul512))|0;
- $shr514 = $add513 >> 7;
- $add515 = (($shr514) + 1)|0;
- $shr516 = $add515 >> 1;
- $cmp517 = ($shr516|0)>(32767);
- if ($cmp517) {
- $cond582 = 32767;
+ $233 = $15;
+ $234 = ($233|0)==(1);
+ if ($234) {
+ $235 = $33;
+ $236 = ((($235)) + 4600|0);
+ $237 = HEAP32[$236>>2]|0;
+ $238 = $237;
} else {
- $338 = $sLPC_Q14_ptr;
- $339 = $i;
- $add521 = (16 + ($339))|0;
- $arrayidx522 = (($338) + ($add521<<2)|0);
- $340 = HEAP32[$arrayidx522>>2]|0;
- $shr523 = $340 >> 16;
- $arrayidx524 = ((($prevGain_Q10)) + 4|0);
- $341 = HEAP32[$arrayidx524>>2]|0;
- $conv525 = $341&65535;
- $conv526 = $conv525 << 16 >> 16;
- $mul527 = Math_imul($shr523, $conv526)|0;
- $342 = $sLPC_Q14_ptr;
- $343 = $i;
- $add528 = (16 + ($343))|0;
- $arrayidx529 = (($342) + ($add528<<2)|0);
- $344 = HEAP32[$arrayidx529>>2]|0;
- $and530 = $344 & 65535;
- $arrayidx531 = ((($prevGain_Q10)) + 4|0);
- $345 = HEAP32[$arrayidx531>>2]|0;
- $conv532 = $345&65535;
- $conv533 = $conv532 << 16 >> 16;
- $mul534 = Math_imul($and530, $conv533)|0;
- $shr535 = $mul534 >> 16;
- $add536 = (($mul527) + ($shr535))|0;
- $346 = $sLPC_Q14_ptr;
- $347 = $i;
- $add537 = (16 + ($347))|0;
- $arrayidx538 = (($346) + ($add537<<2)|0);
- $348 = HEAP32[$arrayidx538>>2]|0;
- $arrayidx539 = ((($prevGain_Q10)) + 4|0);
- $349 = HEAP32[$arrayidx539>>2]|0;
- $shr540 = $349 >> 15;
- $add541 = (($shr540) + 1)|0;
- $shr542 = $add541 >> 1;
- $mul543 = Math_imul($348, $shr542)|0;
- $add544 = (($add536) + ($mul543))|0;
- $shr545 = $add544 >> 7;
- $add546 = (($shr545) + 1)|0;
- $shr547 = $add546 >> 1;
- $cmp548 = ($shr547|0)<(-32768);
- if ($cmp548) {
- $cond582 = -32768;
- } else {
- $350 = $sLPC_Q14_ptr;
- $351 = $i;
- $add552 = (16 + ($351))|0;
- $arrayidx553 = (($350) + ($add552<<2)|0);
- $352 = HEAP32[$arrayidx553>>2]|0;
- $shr554 = $352 >> 16;
- $arrayidx555 = ((($prevGain_Q10)) + 4|0);
- $353 = HEAP32[$arrayidx555>>2]|0;
- $conv556 = $353&65535;
- $conv557 = $conv556 << 16 >> 16;
- $mul558 = Math_imul($shr554, $conv557)|0;
- $354 = $sLPC_Q14_ptr;
- $355 = $i;
- $add559 = (16 + ($355))|0;
- $arrayidx560 = (($354) + ($add559<<2)|0);
- $356 = HEAP32[$arrayidx560>>2]|0;
- $and561 = $356 & 65535;
- $arrayidx562 = ((($prevGain_Q10)) + 4|0);
- $357 = HEAP32[$arrayidx562>>2]|0;
- $conv563 = $357&65535;
- $conv564 = $conv563 << 16 >> 16;
- $mul565 = Math_imul($and561, $conv564)|0;
- $shr566 = $mul565 >> 16;
- $add567 = (($mul558) + ($shr566))|0;
- $358 = $sLPC_Q14_ptr;
- $359 = $i;
- $add568 = (16 + ($359))|0;
- $arrayidx569 = (($358) + ($add568<<2)|0);
- $360 = HEAP32[$arrayidx569>>2]|0;
- $arrayidx570 = ((($prevGain_Q10)) + 4|0);
- $361 = HEAP32[$arrayidx570>>2]|0;
- $shr571 = $361 >> 15;
- $add572 = (($shr571) + 1)|0;
- $shr573 = $add572 >> 1;
- $mul574 = Math_imul($360, $shr573)|0;
- $add575 = (($add567) + ($mul574))|0;
- $shr576 = $add575 >> 7;
- $add577 = (($shr576) + 1)|0;
- $shr578 = $add577 >> 1;
- $cond582 = $shr578;
- }
+ $238 = 0;
}
- $cmp583 = ($cond582|0)>(32767);
- if ($cmp583) {
- $cond780 = 32767;
- } else {
- $362 = $sLPC_Q14_ptr;
- $363 = $i;
- $add587 = (16 + ($363))|0;
- $arrayidx588 = (($362) + ($add587<<2)|0);
- $364 = HEAP32[$arrayidx588>>2]|0;
- $shr589 = $364 >> 16;
- $arrayidx590 = ((($prevGain_Q10)) + 4|0);
- $365 = HEAP32[$arrayidx590>>2]|0;
- $conv591 = $365&65535;
- $conv592 = $conv591 << 16 >> 16;
- $mul593 = Math_imul($shr589, $conv592)|0;
- $366 = $sLPC_Q14_ptr;
- $367 = $i;
- $add594 = (16 + ($367))|0;
- $arrayidx595 = (($366) + ($add594<<2)|0);
- $368 = HEAP32[$arrayidx595>>2]|0;
- $and596 = $368 & 65535;
- $arrayidx597 = ((($prevGain_Q10)) + 4|0);
- $369 = HEAP32[$arrayidx597>>2]|0;
- $conv598 = $369&65535;
- $conv599 = $conv598 << 16 >> 16;
- $mul600 = Math_imul($and596, $conv599)|0;
- $shr601 = $mul600 >> 16;
- $add602 = (($mul593) + ($shr601))|0;
- $370 = $sLPC_Q14_ptr;
- $371 = $i;
- $add603 = (16 + ($371))|0;
- $arrayidx604 = (($370) + ($add603<<2)|0);
- $372 = HEAP32[$arrayidx604>>2]|0;
- $arrayidx605 = ((($prevGain_Q10)) + 4|0);
- $373 = HEAP32[$arrayidx605>>2]|0;
- $shr606 = $373 >> 15;
- $add607 = (($shr606) + 1)|0;
- $shr608 = $add607 >> 1;
- $mul609 = Math_imul($372, $shr608)|0;
- $add610 = (($add602) + ($mul609))|0;
- $shr611 = $add610 >> 7;
- $add612 = (($shr611) + 1)|0;
- $shr613 = $add612 >> 1;
- $cmp614 = ($shr613|0)>(32767);
- if ($cmp614) {
- $cond679 = 32767;
- } else {
- $374 = $sLPC_Q14_ptr;
- $375 = $i;
- $add618 = (16 + ($375))|0;
- $arrayidx619 = (($374) + ($add618<<2)|0);
- $376 = HEAP32[$arrayidx619>>2]|0;
- $shr620 = $376 >> 16;
- $arrayidx621 = ((($prevGain_Q10)) + 4|0);
- $377 = HEAP32[$arrayidx621>>2]|0;
- $conv622 = $377&65535;
- $conv623 = $conv622 << 16 >> 16;
- $mul624 = Math_imul($shr620, $conv623)|0;
- $378 = $sLPC_Q14_ptr;
- $379 = $i;
- $add625 = (16 + ($379))|0;
- $arrayidx626 = (($378) + ($add625<<2)|0);
- $380 = HEAP32[$arrayidx626>>2]|0;
- $and627 = $380 & 65535;
- $arrayidx628 = ((($prevGain_Q10)) + 4|0);
- $381 = HEAP32[$arrayidx628>>2]|0;
- $conv629 = $381&65535;
- $conv630 = $conv629 << 16 >> 16;
- $mul631 = Math_imul($and627, $conv630)|0;
- $shr632 = $mul631 >> 16;
- $add633 = (($mul624) + ($shr632))|0;
- $382 = $sLPC_Q14_ptr;
- $383 = $i;
- $add634 = (16 + ($383))|0;
- $arrayidx635 = (($382) + ($add634<<2)|0);
- $384 = HEAP32[$arrayidx635>>2]|0;
- $arrayidx636 = ((($prevGain_Q10)) + 4|0);
- $385 = HEAP32[$arrayidx636>>2]|0;
- $shr637 = $385 >> 15;
- $add638 = (($shr637) + 1)|0;
- $shr639 = $add638 >> 1;
- $mul640 = Math_imul($384, $shr639)|0;
- $add641 = (($add633) + ($mul640))|0;
- $shr642 = $add641 >> 7;
- $add643 = (($shr642) + 1)|0;
- $shr644 = $add643 >> 1;
- $cmp645 = ($shr644|0)<(-32768);
- if ($cmp645) {
- $cond679 = -32768;
- } else {
- $386 = $sLPC_Q14_ptr;
- $387 = $i;
- $add649 = (16 + ($387))|0;
- $arrayidx650 = (($386) + ($add649<<2)|0);
- $388 = HEAP32[$arrayidx650>>2]|0;
- $shr651 = $388 >> 16;
- $arrayidx652 = ((($prevGain_Q10)) + 4|0);
- $389 = HEAP32[$arrayidx652>>2]|0;
- $conv653 = $389&65535;
- $conv654 = $conv653 << 16 >> 16;
- $mul655 = Math_imul($shr651, $conv654)|0;
- $390 = $sLPC_Q14_ptr;
- $391 = $i;
- $add656 = (16 + ($391))|0;
- $arrayidx657 = (($390) + ($add656<<2)|0);
- $392 = HEAP32[$arrayidx657>>2]|0;
- $and658 = $392 & 65535;
- $arrayidx659 = ((($prevGain_Q10)) + 4|0);
- $393 = HEAP32[$arrayidx659>>2]|0;
- $conv660 = $393&65535;
- $conv661 = $conv660 << 16 >> 16;
- $mul662 = Math_imul($and658, $conv661)|0;
- $shr663 = $mul662 >> 16;
- $add664 = (($mul655) + ($shr663))|0;
- $394 = $sLPC_Q14_ptr;
- $395 = $i;
- $add665 = (16 + ($395))|0;
- $arrayidx666 = (($394) + ($add665<<2)|0);
- $396 = HEAP32[$arrayidx666>>2]|0;
- $arrayidx667 = ((($prevGain_Q10)) + 4|0);
- $397 = HEAP32[$arrayidx667>>2]|0;
- $shr668 = $397 >> 15;
- $add669 = (($shr668) + 1)|0;
- $shr670 = $add669 >> 1;
- $mul671 = Math_imul($396, $shr670)|0;
- $add672 = (($add664) + ($mul671))|0;
- $shr673 = $add672 >> 7;
- $add674 = (($shr673) + 1)|0;
- $shr675 = $add674 >> 1;
- $cond679 = $shr675;
- }
- }
- $cmp680 = ($cond679|0)<(-32768);
- if ($cmp680) {
- $cond780 = -32768;
- } else {
- $398 = $sLPC_Q14_ptr;
- $399 = $i;
- $add684 = (16 + ($399))|0;
- $arrayidx685 = (($398) + ($add684<<2)|0);
- $400 = HEAP32[$arrayidx685>>2]|0;
- $shr686 = $400 >> 16;
- $arrayidx687 = ((($prevGain_Q10)) + 4|0);
- $401 = HEAP32[$arrayidx687>>2]|0;
- $conv688 = $401&65535;
- $conv689 = $conv688 << 16 >> 16;
- $mul690 = Math_imul($shr686, $conv689)|0;
- $402 = $sLPC_Q14_ptr;
- $403 = $i;
- $add691 = (16 + ($403))|0;
- $arrayidx692 = (($402) + ($add691<<2)|0);
- $404 = HEAP32[$arrayidx692>>2]|0;
- $and693 = $404 & 65535;
- $arrayidx694 = ((($prevGain_Q10)) + 4|0);
- $405 = HEAP32[$arrayidx694>>2]|0;
- $conv695 = $405&65535;
- $conv696 = $conv695 << 16 >> 16;
- $mul697 = Math_imul($and693, $conv696)|0;
- $shr698 = $mul697 >> 16;
- $add699 = (($mul690) + ($shr698))|0;
- $406 = $sLPC_Q14_ptr;
- $407 = $i;
- $add700 = (16 + ($407))|0;
- $arrayidx701 = (($406) + ($add700<<2)|0);
- $408 = HEAP32[$arrayidx701>>2]|0;
- $arrayidx702 = ((($prevGain_Q10)) + 4|0);
- $409 = HEAP32[$arrayidx702>>2]|0;
- $shr703 = $409 >> 15;
- $add704 = (($shr703) + 1)|0;
- $shr705 = $add704 >> 1;
- $mul706 = Math_imul($408, $shr705)|0;
- $add707 = (($add699) + ($mul706))|0;
- $shr708 = $add707 >> 7;
- $add709 = (($shr708) + 1)|0;
- $shr710 = $add709 >> 1;
- $cmp711 = ($shr710|0)>(32767);
- if ($cmp711) {
- $cond780 = 32767;
- } else {
- $410 = $sLPC_Q14_ptr;
- $411 = $i;
- $add715 = (16 + ($411))|0;
- $arrayidx716 = (($410) + ($add715<<2)|0);
- $412 = HEAP32[$arrayidx716>>2]|0;
- $shr717 = $412 >> 16;
- $arrayidx718 = ((($prevGain_Q10)) + 4|0);
- $413 = HEAP32[$arrayidx718>>2]|0;
- $conv719 = $413&65535;
- $conv720 = $conv719 << 16 >> 16;
- $mul721 = Math_imul($shr717, $conv720)|0;
- $414 = $sLPC_Q14_ptr;
- $415 = $i;
- $add722 = (16 + ($415))|0;
- $arrayidx723 = (($414) + ($add722<<2)|0);
- $416 = HEAP32[$arrayidx723>>2]|0;
- $and724 = $416 & 65535;
- $arrayidx725 = ((($prevGain_Q10)) + 4|0);
- $417 = HEAP32[$arrayidx725>>2]|0;
- $conv726 = $417&65535;
- $conv727 = $conv726 << 16 >> 16;
- $mul728 = Math_imul($and724, $conv727)|0;
- $shr729 = $mul728 >> 16;
- $add730 = (($mul721) + ($shr729))|0;
- $418 = $sLPC_Q14_ptr;
- $419 = $i;
- $add731 = (16 + ($419))|0;
- $arrayidx732 = (($418) + ($add731<<2)|0);
- $420 = HEAP32[$arrayidx732>>2]|0;
- $arrayidx733 = ((($prevGain_Q10)) + 4|0);
- $421 = HEAP32[$arrayidx733>>2]|0;
- $shr734 = $421 >> 15;
- $add735 = (($shr734) + 1)|0;
- $shr736 = $add735 >> 1;
- $mul737 = Math_imul($420, $shr736)|0;
- $add738 = (($add730) + ($mul737))|0;
- $shr739 = $add738 >> 7;
- $add740 = (($shr739) + 1)|0;
- $shr741 = $add740 >> 1;
- $cmp742 = ($shr741|0)<(-32768);
- if ($cmp742) {
- $cond780 = -32768;
- } else {
- $422 = $sLPC_Q14_ptr;
- $423 = $i;
- $add746 = (16 + ($423))|0;
- $arrayidx747 = (($422) + ($add746<<2)|0);
- $424 = HEAP32[$arrayidx747>>2]|0;
- $shr748 = $424 >> 16;
- $arrayidx749 = ((($prevGain_Q10)) + 4|0);
- $425 = HEAP32[$arrayidx749>>2]|0;
- $conv750 = $425&65535;
- $conv751 = $conv750 << 16 >> 16;
- $mul752 = Math_imul($shr748, $conv751)|0;
- $426 = $sLPC_Q14_ptr;
- $427 = $i;
- $add753 = (16 + ($427))|0;
- $arrayidx754 = (($426) + ($add753<<2)|0);
- $428 = HEAP32[$arrayidx754>>2]|0;
- $and755 = $428 & 65535;
- $arrayidx756 = ((($prevGain_Q10)) + 4|0);
- $429 = HEAP32[$arrayidx756>>2]|0;
- $conv757 = $429&65535;
- $conv758 = $conv757 << 16 >> 16;
- $mul759 = Math_imul($and755, $conv758)|0;
- $shr760 = $mul759 >> 16;
- $add761 = (($mul752) + ($shr760))|0;
- $430 = $sLPC_Q14_ptr;
- $431 = $i;
- $add762 = (16 + ($431))|0;
- $arrayidx763 = (($430) + ($add762<<2)|0);
- $432 = HEAP32[$arrayidx763>>2]|0;
- $arrayidx764 = ((($prevGain_Q10)) + 4|0);
- $433 = HEAP32[$arrayidx764>>2]|0;
- $shr765 = $433 >> 15;
- $add766 = (($shr765) + 1)|0;
- $shr767 = $add766 >> 1;
- $mul768 = Math_imul($432, $shr767)|0;
- $add769 = (($add761) + ($mul768))|0;
- $shr770 = $add769 >> 7;
- $add771 = (($shr770) + 1)|0;
- $shr772 = $add771 >> 1;
- $cond780 = $shr772;
- }
- }
- }
- }
- $conv781 = $cond780&65535;
- $434 = $frame$addr;
- $435 = $i;
- $arrayidx782 = (($434) + ($435<<1)|0);
- HEAP16[$arrayidx782>>1] = $conv781;
- $436 = $i;
- $inc784 = (($436) + 1)|0;
- $i = $inc784;
- }
- $sLPC_Q14_buf786 = ((($211)) + 1284|0);
- $437 = $sLPC_Q14_ptr;
- $438 = $psDec$addr;
- $frame_length788 = ((($438)) + 2328|0);
- $439 = HEAP32[$frame_length788>>2]|0;
- $arrayidx789 = (($437) + ($439<<2)|0);
- dest=$sLPC_Q14_buf786; src=$arrayidx789; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $440 = $rand_seed;
- $441 = $psPLC;
- $rand_seed790 = ((($441)) + 52|0);
- HEAP32[$rand_seed790>>2] = $440;
- $442 = $rand_scale_Q14;
- $443 = $psPLC;
- $randScale_Q14791 = ((($443)) + 56|0);
- HEAP16[$randScale_Q14791>>1] = $442;
- $i = 0;
- while(1) {
- $444 = $i;
- $cmp793 = ($444|0)<(4);
- if (!($cmp793)) {
+ $37 = $238;
+ $239 = $33;
+ $240 = $15;
+ $241 = (($239) + (($240*12240)|0)|0);
+ $242 = $9;
+ $243 = $28;
+ $244 = $33;
+ $245 = ((($244)) + 24560|0);
+ $246 = HEAP32[$245>>2]|0;
+ $247 = $15;
+ $248 = $37;
+ $249 = (_silk_control_encoder($241,$242,$243,$246,$247,$248)|0);
+ $21 = $249;
+ $250 = ($249|0)!=(0);
+ if ($250) {
+ label = 28;
break;
}
- $445 = $lag;
- $446 = $psDecCtrl$addr;
- $447 = $i;
- $arrayidx796 = (($446) + ($447<<2)|0);
- HEAP32[$arrayidx796>>2] = $445;
- $448 = $i;
- $inc798 = (($448) + 1)|0;
- $i = $inc798;
- }
- $449 = $saved_stack;
- _llvm_stackrestore(($449|0));
- STACKTOP = sp;return;
-}
-function _silk_PLC_update($psDec,$psDecCtrl) {
- $psDec = $psDec|0;
- $psDecCtrl = $psDecCtrl|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $9 = 0, $Gains_Q16 = 0, $LPC_order = 0, $LTPCoef_Q14 = 0, $LTPCoef_Q14105 = 0, $LTPCoef_Q1425 = 0, $LTPCoef_Q1426 = 0, $LTPCoef_Q1443 = 0, $LTPCoef_Q1446 = 0, $LTPCoef_Q1457 = 0, $LTPCoef_Q1464 = 0, $LTPCoef_Q1484 = 0, $LTPCoef_Q1492 = 0;
- var $LTP_Gain_Q14 = 0, $LTP_scale_Q14 = 0, $PredCoef_Q12 = 0, $add = 0, $add21 = 0, $arrayidx = 0, $arrayidx109 = 0, $arrayidx116 = 0, $arrayidx19 = 0, $arrayidx33 = 0, $arrayidx38 = 0, $arrayidx47 = 0, $arrayidx58 = 0, $arrayidx65 = 0, $arrayidx85 = 0, $arrayidx93 = 0, $cmp = 0, $cmp12 = 0, $cmp22 = 0, $cmp48 = 0;
- var $cmp5 = 0, $cmp51 = 0, $cmp54 = 0, $cmp69 = 0, $cmp73 = 0, $cmp8 = 0, $cmp81 = 0, $cond = 0, $cond78 = 0, $conv = 0, $conv100 = 0, $conv101 = 0, $conv112 = 0, $conv20 = 0, $conv3 = 0, $conv30 = 0, $conv31 = 0, $conv45 = 0, $conv59 = 0, $conv60 = 0;
- var $conv61 = 0, $conv63 = 0, $conv86 = 0, $conv87 = 0, $conv88 = 0, $conv91 = 0, $div = 0, $div79 = 0, $fs_kHz = 0, $i = 0, $inc = 0, $inc41 = 0, $inc67 = 0, $inc95 = 0, $indices = 0, $indices1 = 0, $j = 0, $mul = 0, $mul102 = 0, $mul111 = 0;
- var $mul18 = 0, $mul32 = 0, $mul62 = 0, $mul89 = 0, $nb_subfr = 0, $nb_subfr114 = 0, $nb_subfr119 = 0, $nb_subfr120 = 0, $nb_subfr15 = 0, $nb_subfr27 = 0, $nb_subfr35 = 0, $nb_subfr7 = 0, $prevGain_Q16 = 0, $prevLPC_Q12 = 0, $prevLTP_scale_Q14 = 0, $prevSignalType = 0, $psDec$addr = 0, $psDecCtrl$addr = 0, $psPLC = 0, $sPLC = 0;
- var $scale_Q10 = 0, $scale_Q14 = 0, $shl = 0, $shl103 = 0, $shr = 0, $shr90 = 0, $signalType = 0, $signalType2 = 0, $sub = 0, $sub115 = 0, $sub16 = 0, $sub17 = 0, $sub28 = 0, $sub29 = 0, $sub36 = 0, $sub37 = 0, $subfr_length = 0, $subfr_length117 = 0, $subfr_length118 = 0, $temp_LTP_Gain_Q14 = 0;
- var $tmp = 0, $tmp72 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $psDec$addr = $psDec;
- $psDecCtrl$addr = $psDecCtrl;
- $0 = $psDec$addr;
- $sPLC = ((($0)) + 4168|0);
- $psPLC = $sPLC;
- $1 = $psDec$addr;
- $indices = ((($1)) + 2736|0);
- $signalType = ((($indices)) + 29|0);
- $2 = HEAP8[$signalType>>0]|0;
- $conv = $2 << 24 >> 24;
- $3 = $psDec$addr;
- $prevSignalType = ((($3)) + 4164|0);
- HEAP32[$prevSignalType>>2] = $conv;
- $LTP_Gain_Q14 = 0;
- $4 = $psDec$addr;
- $indices1 = ((($4)) + 2736|0);
- $signalType2 = ((($indices1)) + 29|0);
- $5 = HEAP8[$signalType2>>0]|0;
- $conv3 = $5 << 24 >> 24;
- $cmp = ($conv3|0)==(2);
- L1: do {
- if ($cmp) {
- $j = 0;
- while(1) {
- $6 = $j;
- $7 = $psDec$addr;
- $subfr_length = ((($7)) + 2332|0);
- $8 = HEAP32[$subfr_length>>2]|0;
- $mul = Math_imul($6, $8)|0;
- $9 = $psDecCtrl$addr;
- $10 = $psDec$addr;
- $nb_subfr = ((($10)) + 2324|0);
- $11 = HEAP32[$nb_subfr>>2]|0;
- $sub = (($11) - 1)|0;
- $arrayidx = (($9) + ($sub<<2)|0);
- $12 = HEAP32[$arrayidx>>2]|0;
- $cmp5 = ($mul|0)<($12|0);
- if (!($cmp5)) {
- break;
- }
- $13 = $j;
- $14 = $psDec$addr;
- $nb_subfr7 = ((($14)) + 2324|0);
- $15 = HEAP32[$nb_subfr7>>2]|0;
- $cmp8 = ($13|0)==($15|0);
- if ($cmp8) {
- break;
- }
- $temp_LTP_Gain_Q14 = 0;
- $i = 0;
+ $252 = $33;
+ $253 = $15;
+ $254 = (($252) + (($253*12240)|0)|0);
+ $255 = ((($254)) + 4696|0);
+ $256 = HEAP32[$255>>2]|0;
+ $257 = ($256|0)!=(0);
+ $258 = $34;
+ $259 = ($258|0)!=(0);
+ $or$cond3 = $257 | $259;
+ L43: do {
+ if ($or$cond3) {
+ $16 = 0;
while(1) {
- $16 = $i;
- $cmp12 = ($16|0)<(5);
- if (!($cmp12)) {
+ $260 = $16;
+ $261 = $33;
+ $262 = ((($261)) + 5776|0);
+ $263 = HEAP32[$262>>2]|0;
+ $264 = ($260|0)<($263|0);
+ if (!($264)) {
+ break L43;
+ }
+ $265 = $33;
+ $266 = $15;
+ $267 = (($265) + (($266*12240)|0)|0);
+ $268 = ((($267)) + 4756|0);
+ $269 = $16;
+ $270 = (($268) + ($269<<2)|0);
+ HEAP32[$270>>2] = 0;
+ $271 = $16;
+ $272 = (($271) + 1)|0;
+ $16 = $272;
+ }
+ }
+ } while(0);
+ $273 = $33;
+ $274 = $15;
+ $275 = (($273) + (($274*12240)|0)|0);
+ $276 = ((($275)) + 6108|0);
+ $277 = HEAP32[$276>>2]|0;
+ $278 = $33;
+ $279 = $15;
+ $280 = (($278) + (($279*12240)|0)|0);
+ $281 = ((($280)) + 6112|0);
+ HEAP32[$281>>2] = $277;
+ $282 = $15;
+ $283 = (($282) + 1)|0;
+ $15 = $283;
+ }
+ if ((label|0) == 28) {
+ $251 = $21;
+ $7 = $251;
+ $1318 = $7;
+ STACKTOP = sp;return ($1318|0);
+ }
+ $284 = $24;
+ $285 = ($284*10)|0;
+ $286 = $33;
+ $287 = ((($286)) + 4600|0);
+ $288 = HEAP32[$287>>2]|0;
+ $289 = Math_imul($285, $288)|0;
+ $23 = $289;
+ $290 = $23;
+ $291 = $33;
+ $292 = ((($291)) + 4580|0);
+ $293 = HEAP32[$292>>2]|0;
+ $294 = Math_imul($290, $293)|0;
+ $295 = $33;
+ $296 = ((($295)) + 4600|0);
+ $297 = HEAP32[$296>>2]|0;
+ $298 = ($297*1000)|0;
+ $299 = (($294|0) / ($298|0))&-1;
+ $26 = $299;
+ $300 = $26;
+ $301 = (_llvm_stacksave()|0);
+ $38 = $301;
+ $$alloca_mul = $300<<1;
+ $302 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ while(1) {
+ $303 = $33;
+ $304 = ((($303)) + 4608|0);
+ $305 = HEAP32[$304>>2]|0;
+ $306 = $33;
+ $307 = ((($306)) + 5772|0);
+ $308 = HEAP32[$307>>2]|0;
+ $309 = (($305) - ($308))|0;
+ $22 = $309;
+ $310 = $22;
+ $311 = $23;
+ $312 = ($310|0)<($311|0);
+ $313 = $22;
+ $314 = $23;
+ $315 = $312 ? $313 : $314;
+ $22 = $315;
+ $316 = $22;
+ $317 = $33;
+ $318 = ((($317)) + 4580|0);
+ $319 = HEAP32[$318>>2]|0;
+ $320 = Math_imul($316, $319)|0;
+ $321 = $33;
+ $322 = ((($321)) + 4600|0);
+ $323 = HEAP32[$322>>2]|0;
+ $324 = ($323*1000)|0;
+ $325 = (($320|0) / ($324|0))&-1;
+ $25 = $325;
+ $326 = $9;
+ $327 = HEAP32[$326>>2]|0;
+ $328 = ($327|0)==(2);
+ if ($328) {
+ $329 = $9;
+ $330 = ((($329)) + 4|0);
+ $331 = HEAP32[$330>>2]|0;
+ $332 = ($331|0)==(2);
+ if ($332) {
+ $333 = $33;
+ $334 = ((($333)) + 5780|0);
+ $335 = HEAP32[$334>>2]|0;
+ $39 = $335;
+ $15 = 0;
+ while(1) {
+ $336 = $15;
+ $337 = $25;
+ $338 = ($336|0)<($337|0);
+ if (!($338)) {
break;
}
- $17 = $psDecCtrl$addr;
- $LTPCoef_Q14 = ((($17)) + 96|0);
- $18 = $psDec$addr;
- $nb_subfr15 = ((($18)) + 2324|0);
- $19 = HEAP32[$nb_subfr15>>2]|0;
- $sub16 = (($19) - 1)|0;
- $20 = $j;
- $sub17 = (($sub16) - ($20))|0;
- $mul18 = ($sub17*5)|0;
- $21 = $i;
- $add = (($mul18) + ($21))|0;
- $arrayidx19 = (($LTPCoef_Q14) + ($add<<1)|0);
- $22 = HEAP16[$arrayidx19>>1]|0;
- $conv20 = $22 << 16 >> 16;
- $23 = $temp_LTP_Gain_Q14;
- $add21 = (($23) + ($conv20))|0;
- $temp_LTP_Gain_Q14 = $add21;
- $24 = $i;
- $inc = (($24) + 1)|0;
- $i = $inc;
+ $339 = $10;
+ $340 = $15;
+ $341 = $340<<1;
+ $342 = (($339) + ($341<<1)|0);
+ $343 = HEAP16[$342>>1]|0;
+ $344 = $15;
+ $345 = (($302) + ($344<<1)|0);
+ HEAP16[$345>>1] = $343;
+ $346 = $15;
+ $347 = (($346) + 1)|0;
+ $15 = $347;
}
- $25 = $temp_LTP_Gain_Q14;
- $26 = $LTP_Gain_Q14;
- $cmp22 = ($25|0)>($26|0);
- if ($cmp22) {
- $27 = $temp_LTP_Gain_Q14;
- $LTP_Gain_Q14 = $27;
- $28 = $psPLC;
- $LTPCoef_Q1425 = ((($28)) + 4|0);
- $29 = $psDecCtrl$addr;
- $LTPCoef_Q1426 = ((($29)) + 96|0);
- $30 = $psDec$addr;
- $nb_subfr27 = ((($30)) + 2324|0);
- $31 = HEAP32[$nb_subfr27>>2]|0;
- $sub28 = (($31) - 1)|0;
- $32 = $j;
- $sub29 = (($sub28) - ($32))|0;
- $conv30 = $sub29&65535;
- $conv31 = $conv30 << 16 >> 16;
- $mul32 = ($conv31*5)|0;
- $arrayidx33 = (($LTPCoef_Q1426) + ($mul32<<1)|0);
- ;HEAP16[$LTPCoef_Q1425>>1]=HEAP16[$arrayidx33>>1]|0;HEAP16[$LTPCoef_Q1425+2>>1]=HEAP16[$arrayidx33+2>>1]|0;HEAP16[$LTPCoef_Q1425+4>>1]=HEAP16[$arrayidx33+4>>1]|0;HEAP16[$LTPCoef_Q1425+6>>1]=HEAP16[$arrayidx33+6>>1]|0;HEAP16[$LTPCoef_Q1425+8>>1]=HEAP16[$arrayidx33+8>>1]|0;
- $33 = $psDecCtrl$addr;
- $34 = $psDec$addr;
- $nb_subfr35 = ((($34)) + 2324|0);
- $35 = HEAP32[$nb_subfr35>>2]|0;
- $sub36 = (($35) - 1)|0;
- $36 = $j;
- $sub37 = (($sub36) - ($36))|0;
- $arrayidx38 = (($33) + ($sub37<<2)|0);
- $37 = HEAP32[$arrayidx38>>2]|0;
- $shl = $37 << 8;
- $38 = $psPLC;
- HEAP32[$38>>2] = $shl;
+ $348 = $33;
+ $349 = ((($348)) + 24552|0);
+ $350 = HEAP32[$349>>2]|0;
+ $351 = ($350|0)==(1);
+ $352 = $39;
+ $353 = ($352|0)==(0);
+ $or$cond5 = $351 & $353;
+ if ($or$cond5) {
+ $354 = $33;
+ $355 = ((($354)) + 12240|0);
+ $356 = ((($355)) + 5808|0);
+ $357 = $33;
+ $358 = ((($357)) + 5808|0);
+ _memcpy(($356|0),($358|0),300)|0;
}
- $39 = $j;
- $inc41 = (($39) + 1)|0;
- $j = $inc41;
- }
- $40 = $psPLC;
- $LTPCoef_Q1443 = ((($40)) + 4|0);
- ;HEAP32[$LTPCoef_Q1443>>2]=0|0;HEAP32[$LTPCoef_Q1443+4>>2]=0|0;HEAP16[$LTPCoef_Q1443+8>>1]=0|0;
- $41 = $LTP_Gain_Q14;
- $conv45 = $41&65535;
- $42 = $psPLC;
- $LTPCoef_Q1446 = ((($42)) + 4|0);
- $arrayidx47 = ((($LTPCoef_Q1446)) + 4|0);
- HEAP16[$arrayidx47>>1] = $conv45;
- $43 = $LTP_Gain_Q14;
- $cmp48 = ($43|0)<(11469);
- if ($cmp48) {
- $tmp = 11744256;
- $44 = $tmp;
- $45 = $LTP_Gain_Q14;
- $cmp51 = ($45|0)>(1);
- $46 = $LTP_Gain_Q14;
- $cond = $cmp51 ? $46 : 1;
- $div = (($44|0) / ($cond|0))&-1;
- $scale_Q10 = $div;
- $i = 0;
+ $359 = $33;
+ $360 = ((($359)) + 5808|0);
+ $361 = $33;
+ $362 = ((($361)) + 5128|0);
+ $363 = $33;
+ $364 = ((($363)) + 5772|0);
+ $365 = HEAP32[$364>>2]|0;
+ $366 = (($365) + 2)|0;
+ $367 = (($362) + ($366<<1)|0);
+ $368 = $25;
+ $369 = (_silk_resampler($360,$367,$302,$368)|0);
+ $370 = $21;
+ $371 = (($370) + ($369))|0;
+ $21 = $371;
+ $372 = $22;
+ $373 = $33;
+ $374 = ((($373)) + 5772|0);
+ $375 = HEAP32[$374>>2]|0;
+ $376 = (($375) + ($372))|0;
+ HEAP32[$374>>2] = $376;
+ $377 = $33;
+ $378 = ((($377)) + 12240|0);
+ $379 = ((($378)) + 4608|0);
+ $380 = HEAP32[$379>>2]|0;
+ $381 = $33;
+ $382 = ((($381)) + 12240|0);
+ $383 = ((($382)) + 5772|0);
+ $384 = HEAP32[$383>>2]|0;
+ $385 = (($380) - ($384))|0;
+ $22 = $385;
+ $386 = $22;
+ $387 = $24;
+ $388 = ($387*10)|0;
+ $389 = $33;
+ $390 = ((($389)) + 12240|0);
+ $391 = ((($390)) + 4600|0);
+ $392 = HEAP32[$391>>2]|0;
+ $393 = Math_imul($388, $392)|0;
+ $394 = ($386|0)<($393|0);
+ if ($394) {
+ $395 = $22;
+ $403 = $395;
+ } else {
+ $396 = $24;
+ $397 = ($396*10)|0;
+ $398 = $33;
+ $399 = ((($398)) + 12240|0);
+ $400 = ((($399)) + 4600|0);
+ $401 = HEAP32[$400>>2]|0;
+ $402 = Math_imul($397, $401)|0;
+ $403 = $402;
+ }
+ $22 = $403;
+ $15 = 0;
while(1) {
- $47 = $i;
- $cmp54 = ($47|0)<(5);
- if (!($cmp54)) {
- break L1;
+ $404 = $15;
+ $405 = $25;
+ $406 = ($404|0)<($405|0);
+ if (!($406)) {
+ break;
}
- $48 = $psPLC;
- $LTPCoef_Q1457 = ((($48)) + 4|0);
- $49 = $i;
- $arrayidx58 = (($LTPCoef_Q1457) + ($49<<1)|0);
- $50 = HEAP16[$arrayidx58>>1]|0;
- $conv59 = $50 << 16 >> 16;
- $51 = $scale_Q10;
- $conv60 = $51&65535;
- $conv61 = $conv60 << 16 >> 16;
- $mul62 = Math_imul($conv59, $conv61)|0;
- $shr = $mul62 >> 10;
- $conv63 = $shr&65535;
- $52 = $psPLC;
- $LTPCoef_Q1464 = ((($52)) + 4|0);
- $53 = $i;
- $arrayidx65 = (($LTPCoef_Q1464) + ($53<<1)|0);
- HEAP16[$arrayidx65>>1] = $conv63;
- $54 = $i;
- $inc67 = (($54) + 1)|0;
- $i = $inc67;
- }
- }
- $55 = $LTP_Gain_Q14;
- $cmp69 = ($55|0)>(15565);
- if ($cmp69) {
- $tmp72 = 255016960;
- $56 = $tmp72;
- $57 = $LTP_Gain_Q14;
- $cmp73 = ($57|0)>(1);
- $58 = $LTP_Gain_Q14;
- $cond78 = $cmp73 ? $58 : 1;
- $div79 = (($56|0) / ($cond78|0))&-1;
- $scale_Q14 = $div79;
- $i = 0;
- while(1) {
- $59 = $i;
- $cmp81 = ($59|0)<(5);
- if (!($cmp81)) {
- break L1;
- }
- $60 = $psPLC;
- $LTPCoef_Q1484 = ((($60)) + 4|0);
- $61 = $i;
- $arrayidx85 = (($LTPCoef_Q1484) + ($61<<1)|0);
- $62 = HEAP16[$arrayidx85>>1]|0;
- $conv86 = $62 << 16 >> 16;
- $63 = $scale_Q14;
- $conv87 = $63&65535;
- $conv88 = $conv87 << 16 >> 16;
- $mul89 = Math_imul($conv86, $conv88)|0;
- $shr90 = $mul89 >> 14;
- $conv91 = $shr90&65535;
- $64 = $psPLC;
- $LTPCoef_Q1492 = ((($64)) + 4|0);
- $65 = $i;
- $arrayidx93 = (($LTPCoef_Q1492) + ($65<<1)|0);
- HEAP16[$arrayidx93>>1] = $conv91;
- $66 = $i;
- $inc95 = (($66) + 1)|0;
- $i = $inc95;
+ $407 = $10;
+ $408 = $15;
+ $409 = $408<<1;
+ $410 = (($409) + 1)|0;
+ $411 = (($407) + ($410<<1)|0);
+ $412 = HEAP16[$411>>1]|0;
+ $413 = $15;
+ $414 = (($302) + ($413<<1)|0);
+ HEAP16[$414>>1] = $412;
+ $415 = $15;
+ $416 = (($415) + 1)|0;
+ $15 = $416;
}
+ $417 = $33;
+ $418 = ((($417)) + 12240|0);
+ $419 = ((($418)) + 5808|0);
+ $420 = $33;
+ $421 = ((($420)) + 12240|0);
+ $422 = ((($421)) + 5128|0);
+ $423 = $33;
+ $424 = ((($423)) + 12240|0);
+ $425 = ((($424)) + 5772|0);
+ $426 = HEAP32[$425>>2]|0;
+ $427 = (($426) + 2)|0;
+ $428 = (($422) + ($427<<1)|0);
+ $429 = $25;
+ $430 = (_silk_resampler($419,$428,$302,$429)|0);
+ $431 = $21;
+ $432 = (($431) + ($430))|0;
+ $21 = $432;
+ $433 = $22;
+ $434 = $33;
+ $$sink$sink = $434;$$sink23 = 1;$$sink8$sink = $433;
+ } else {
+ label = 49;
}
} else {
- $67 = $psDec$addr;
- $fs_kHz = ((($67)) + 2316|0);
- $68 = HEAP32[$fs_kHz>>2]|0;
- $conv100 = $68&65535;
- $conv101 = $conv100 << 16 >> 16;
- $mul102 = ($conv101*18)|0;
- $shl103 = $mul102 << 8;
- $69 = $psPLC;
- HEAP32[$69>>2] = $shl103;
- $70 = $psPLC;
- $LTPCoef_Q14105 = ((($70)) + 4|0);
- ;HEAP32[$LTPCoef_Q14105>>2]=0|0;HEAP32[$LTPCoef_Q14105+4>>2]=0|0;HEAP16[$LTPCoef_Q14105+8>>1]=0|0;
+ label = 49;
}
- } while(0);
- $71 = $psPLC;
- $prevLPC_Q12 = ((($71)) + 14|0);
- $72 = $psDecCtrl$addr;
- $PredCoef_Q12 = ((($72)) + 32|0);
- $arrayidx109 = ((($PredCoef_Q12)) + 32|0);
- $73 = $psDec$addr;
- $LPC_order = ((($73)) + 2340|0);
- $74 = HEAP32[$LPC_order>>2]|0;
- $mul111 = $74<<1;
- _memcpy(($prevLPC_Q12|0),($arrayidx109|0),($mul111|0))|0;
- $75 = $psDecCtrl$addr;
- $LTP_scale_Q14 = ((($75)) + 136|0);
- $76 = HEAP32[$LTP_scale_Q14>>2]|0;
- $conv112 = $76&65535;
- $77 = $psPLC;
- $prevLTP_scale_Q14 = ((($77)) + 68|0);
- HEAP16[$prevLTP_scale_Q14>>1] = $conv112;
- $78 = $psPLC;
- $prevGain_Q16 = ((($78)) + 72|0);
- $79 = $psDecCtrl$addr;
- $Gains_Q16 = ((($79)) + 16|0);
- $80 = $psDec$addr;
- $nb_subfr114 = ((($80)) + 2324|0);
- $81 = HEAP32[$nb_subfr114>>2]|0;
- $sub115 = (($81) - 2)|0;
- $arrayidx116 = (($Gains_Q16) + ($sub115<<2)|0);
- ;HEAP32[$prevGain_Q16>>2]=HEAP32[$arrayidx116>>2]|0;HEAP32[$prevGain_Q16+4>>2]=HEAP32[$arrayidx116+4>>2]|0;
- $82 = $psDec$addr;
- $subfr_length117 = ((($82)) + 2332|0);
- $83 = HEAP32[$subfr_length117>>2]|0;
- $84 = $psPLC;
- $subfr_length118 = ((($84)) + 88|0);
- HEAP32[$subfr_length118>>2] = $83;
- $85 = $psDec$addr;
- $nb_subfr119 = ((($85)) + 2324|0);
- $86 = HEAP32[$nb_subfr119>>2]|0;
- $87 = $psPLC;
- $nb_subfr120 = ((($87)) + 84|0);
- HEAP32[$nb_subfr120>>2] = $86;
- STACKTOP = sp;return;
-}
-function _silk_PLC_energy($energy1,$shift1,$energy2,$shift2,$exc_Q14,$prevGain_Q10,$subfr_length,$nb_subfr) {
- $energy1 = $energy1|0;
- $shift1 = $shift1|0;
- $energy2 = $energy2|0;
- $shift2 = $shift2|0;
- $exc_Q14 = $exc_Q14|0;
- $prevGain_Q10 = $prevGain_Q10|0;
- $subfr_length = $subfr_length|0;
- $nb_subfr = $nb_subfr|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
- var $add = 0, $add$ptr = 0, $add101 = 0, $add104 = 0, $add12 = 0, $add19 = 0, $add20 = 0, $add23 = 0, $add27 = 0, $add30 = 0, $add34 = 0, $add37 = 0, $add44 = 0, $add47 = 0, $add5 = 0, $add55 = 0, $add56 = 0, $add59 = 0, $add63 = 0, $add66 = 0;
- var $add72 = 0, $add75 = 0, $add82 = 0, $add85 = 0, $add9 = 0, $add93 = 0, $add94 = 0, $add97 = 0, $and = 0, $and49 = 0, $and87 = 0, $arrayidx = 0, $arrayidx109 = 0, $arrayidx113 = 0, $arrayidx13 = 0, $arrayidx14 = 0, $arrayidx24 = 0, $arrayidx25 = 0, $arrayidx38 = 0, $arrayidx40 = 0;
- var $arrayidx48 = 0, $arrayidx50 = 0, $arrayidx6 = 0, $arrayidx60 = 0, $arrayidx61 = 0, $arrayidx76 = 0, $arrayidx78 = 0, $arrayidx86 = 0, $arrayidx88 = 0, $arrayidx98 = 0, $arrayidx99 = 0, $cmp = 0, $cmp2 = 0, $cmp32 = 0, $cmp68 = 0, $cond107 = 0, $conv = 0, $conv108 = 0, $conv15 = 0, $conv16 = 0;
- var $conv41 = 0, $conv42 = 0, $conv51 = 0, $conv52 = 0, $conv7 = 0, $conv79 = 0, $conv80 = 0, $conv89 = 0, $conv90 = 0, $energy1$addr = 0, $energy2$addr = 0, $exc_Q14$addr = 0, $exc_buf_ptr = 0, $i = 0, $inc = 0, $inc111 = 0, $k = 0, $mul = 0, $mul103 = 0, $mul11 = 0;
- var $mul17 = 0, $mul22 = 0, $mul29 = 0, $mul36 = 0, $mul4 = 0, $mul43 = 0, $mul46 = 0, $mul53 = 0, $mul58 = 0, $mul65 = 0, $mul74 = 0, $mul8 = 0, $mul81 = 0, $mul84 = 0, $mul91 = 0, $mul96 = 0, $nb_subfr$addr = 0, $prevGain_Q10$addr = 0, $saved_stack = 0, $shift1$addr = 0;
- var $shift2$addr = 0, $shr = 0, $shr100 = 0, $shr102 = 0, $shr105 = 0, $shr18 = 0, $shr26 = 0, $shr28 = 0, $shr31 = 0, $shr39 = 0, $shr54 = 0, $shr62 = 0, $shr64 = 0, $shr67 = 0, $shr77 = 0, $shr92 = 0, $sub = 0, $sub10 = 0, $sub21 = 0, $sub35 = 0;
- var $sub45 = 0, $sub57 = 0, $sub73 = 0, $sub83 = 0, $sub95 = 0, $subfr_length$addr = 0, $vla = 0, $vla$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $energy1$addr = $energy1;
- $shift1$addr = $shift1;
- $energy2$addr = $energy2;
- $shift2$addr = $shift2;
- $exc_Q14$addr = $exc_Q14;
- $prevGain_Q10$addr = $prevGain_Q10;
- $subfr_length$addr = $subfr_length;
- $nb_subfr$addr = $nb_subfr;
- $0 = $subfr_length$addr;
- $mul = $0<<1;
- $1 = (_llvm_stacksave()|0);
- $saved_stack = $1;
- $vla$alloca_mul = $mul<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $exc_buf_ptr = $vla;
- $k = 0;
- while(1) {
- $2 = $k;
- $cmp = ($2|0)<(2);
- if (!($cmp)) {
- break;
- }
- $i = 0;
- while(1) {
- $3 = $i;
- $4 = $subfr_length$addr;
- $cmp2 = ($3|0)<($4|0);
- if (!($cmp2)) {
- break;
- }
- $5 = $exc_Q14$addr;
- $6 = $i;
- $7 = $k;
- $8 = $nb_subfr$addr;
- $add = (($7) + ($8))|0;
- $sub = (($add) - 2)|0;
- $9 = $subfr_length$addr;
- $mul4 = Math_imul($sub, $9)|0;
- $add5 = (($6) + ($mul4))|0;
- $arrayidx = (($5) + ($add5<<2)|0);
- $10 = HEAP32[$arrayidx>>2]|0;
- $shr = $10 >> 16;
- $11 = $prevGain_Q10$addr;
- $12 = $k;
- $arrayidx6 = (($11) + ($12<<2)|0);
- $13 = HEAP32[$arrayidx6>>2]|0;
- $conv = $13&65535;
- $conv7 = $conv << 16 >> 16;
- $mul8 = Math_imul($shr, $conv7)|0;
- $14 = $exc_Q14$addr;
- $15 = $i;
- $16 = $k;
- $17 = $nb_subfr$addr;
- $add9 = (($16) + ($17))|0;
- $sub10 = (($add9) - 2)|0;
- $18 = $subfr_length$addr;
- $mul11 = Math_imul($sub10, $18)|0;
- $add12 = (($15) + ($mul11))|0;
- $arrayidx13 = (($14) + ($add12<<2)|0);
- $19 = HEAP32[$arrayidx13>>2]|0;
- $and = $19 & 65535;
- $20 = $prevGain_Q10$addr;
- $21 = $k;
- $arrayidx14 = (($20) + ($21<<2)|0);
- $22 = HEAP32[$arrayidx14>>2]|0;
- $conv15 = $22&65535;
- $conv16 = $conv15 << 16 >> 16;
- $mul17 = Math_imul($and, $conv16)|0;
- $shr18 = $mul17 >> 16;
- $add19 = (($mul8) + ($shr18))|0;
- $23 = $exc_Q14$addr;
- $24 = $i;
- $25 = $k;
- $26 = $nb_subfr$addr;
- $add20 = (($25) + ($26))|0;
- $sub21 = (($add20) - 2)|0;
- $27 = $subfr_length$addr;
- $mul22 = Math_imul($sub21, $27)|0;
- $add23 = (($24) + ($mul22))|0;
- $arrayidx24 = (($23) + ($add23<<2)|0);
- $28 = HEAP32[$arrayidx24>>2]|0;
- $29 = $prevGain_Q10$addr;
- $30 = $k;
- $arrayidx25 = (($29) + ($30<<2)|0);
- $31 = HEAP32[$arrayidx25>>2]|0;
- $shr26 = $31 >> 15;
- $add27 = (($shr26) + 1)|0;
- $shr28 = $add27 >> 1;
- $mul29 = Math_imul($28, $shr28)|0;
- $add30 = (($add19) + ($mul29))|0;
- $shr31 = $add30 >> 8;
- $cmp32 = ($shr31|0)>(32767);
- if ($cmp32) {
- $cond107 = 32767;
- } else {
- $32 = $exc_Q14$addr;
- $33 = $i;
- $34 = $k;
- $35 = $nb_subfr$addr;
- $add34 = (($34) + ($35))|0;
- $sub35 = (($add34) - 2)|0;
- $36 = $subfr_length$addr;
- $mul36 = Math_imul($sub35, $36)|0;
- $add37 = (($33) + ($mul36))|0;
- $arrayidx38 = (($32) + ($add37<<2)|0);
- $37 = HEAP32[$arrayidx38>>2]|0;
- $shr39 = $37 >> 16;
- $38 = $prevGain_Q10$addr;
- $39 = $k;
- $arrayidx40 = (($38) + ($39<<2)|0);
- $40 = HEAP32[$arrayidx40>>2]|0;
- $conv41 = $40&65535;
- $conv42 = $conv41 << 16 >> 16;
- $mul43 = Math_imul($shr39, $conv42)|0;
- $41 = $exc_Q14$addr;
- $42 = $i;
- $43 = $k;
- $44 = $nb_subfr$addr;
- $add44 = (($43) + ($44))|0;
- $sub45 = (($add44) - 2)|0;
- $45 = $subfr_length$addr;
- $mul46 = Math_imul($sub45, $45)|0;
- $add47 = (($42) + ($mul46))|0;
- $arrayidx48 = (($41) + ($add47<<2)|0);
- $46 = HEAP32[$arrayidx48>>2]|0;
- $and49 = $46 & 65535;
- $47 = $prevGain_Q10$addr;
- $48 = $k;
- $arrayidx50 = (($47) + ($48<<2)|0);
- $49 = HEAP32[$arrayidx50>>2]|0;
- $conv51 = $49&65535;
- $conv52 = $conv51 << 16 >> 16;
- $mul53 = Math_imul($and49, $conv52)|0;
- $shr54 = $mul53 >> 16;
- $add55 = (($mul43) + ($shr54))|0;
- $50 = $exc_Q14$addr;
- $51 = $i;
- $52 = $k;
- $53 = $nb_subfr$addr;
- $add56 = (($52) + ($53))|0;
- $sub57 = (($add56) - 2)|0;
- $54 = $subfr_length$addr;
- $mul58 = Math_imul($sub57, $54)|0;
- $add59 = (($51) + ($mul58))|0;
- $arrayidx60 = (($50) + ($add59<<2)|0);
- $55 = HEAP32[$arrayidx60>>2]|0;
- $56 = $prevGain_Q10$addr;
- $57 = $k;
- $arrayidx61 = (($56) + ($57<<2)|0);
- $58 = HEAP32[$arrayidx61>>2]|0;
- $shr62 = $58 >> 15;
- $add63 = (($shr62) + 1)|0;
- $shr64 = $add63 >> 1;
- $mul65 = Math_imul($55, $shr64)|0;
- $add66 = (($add55) + ($mul65))|0;
- $shr67 = $add66 >> 8;
- $cmp68 = ($shr67|0)<(-32768);
- if ($cmp68) {
- $cond107 = -32768;
- } else {
- $59 = $exc_Q14$addr;
- $60 = $i;
- $61 = $k;
- $62 = $nb_subfr$addr;
- $add72 = (($61) + ($62))|0;
- $sub73 = (($add72) - 2)|0;
- $63 = $subfr_length$addr;
- $mul74 = Math_imul($sub73, $63)|0;
- $add75 = (($60) + ($mul74))|0;
- $arrayidx76 = (($59) + ($add75<<2)|0);
- $64 = HEAP32[$arrayidx76>>2]|0;
- $shr77 = $64 >> 16;
- $65 = $prevGain_Q10$addr;
- $66 = $k;
- $arrayidx78 = (($65) + ($66<<2)|0);
- $67 = HEAP32[$arrayidx78>>2]|0;
- $conv79 = $67&65535;
- $conv80 = $conv79 << 16 >> 16;
- $mul81 = Math_imul($shr77, $conv80)|0;
- $68 = $exc_Q14$addr;
- $69 = $i;
- $70 = $k;
- $71 = $nb_subfr$addr;
- $add82 = (($70) + ($71))|0;
- $sub83 = (($add82) - 2)|0;
- $72 = $subfr_length$addr;
- $mul84 = Math_imul($sub83, $72)|0;
- $add85 = (($69) + ($mul84))|0;
- $arrayidx86 = (($68) + ($add85<<2)|0);
- $73 = HEAP32[$arrayidx86>>2]|0;
- $and87 = $73 & 65535;
- $74 = $prevGain_Q10$addr;
- $75 = $k;
- $arrayidx88 = (($74) + ($75<<2)|0);
- $76 = HEAP32[$arrayidx88>>2]|0;
- $conv89 = $76&65535;
- $conv90 = $conv89 << 16 >> 16;
- $mul91 = Math_imul($and87, $conv90)|0;
- $shr92 = $mul91 >> 16;
- $add93 = (($mul81) + ($shr92))|0;
- $77 = $exc_Q14$addr;
- $78 = $i;
- $79 = $k;
- $80 = $nb_subfr$addr;
- $add94 = (($79) + ($80))|0;
- $sub95 = (($add94) - 2)|0;
- $81 = $subfr_length$addr;
- $mul96 = Math_imul($sub95, $81)|0;
- $add97 = (($78) + ($mul96))|0;
- $arrayidx98 = (($77) + ($add97<<2)|0);
- $82 = HEAP32[$arrayidx98>>2]|0;
- $83 = $prevGain_Q10$addr;
- $84 = $k;
- $arrayidx99 = (($83) + ($84<<2)|0);
- $85 = HEAP32[$arrayidx99>>2]|0;
- $shr100 = $85 >> 15;
- $add101 = (($shr100) + 1)|0;
- $shr102 = $add101 >> 1;
- $mul103 = Math_imul($82, $shr102)|0;
- $add104 = (($add93) + ($mul103))|0;
- $shr105 = $add104 >> 8;
- $cond107 = $shr105;
- }
- }
- $conv108 = $cond107&65535;
- $86 = $exc_buf_ptr;
- $87 = $i;
- $arrayidx109 = (($86) + ($87<<1)|0);
- HEAP16[$arrayidx109>>1] = $conv108;
- $88 = $i;
- $inc = (($88) + 1)|0;
- $i = $inc;
- }
- $89 = $subfr_length$addr;
- $90 = $exc_buf_ptr;
- $add$ptr = (($90) + ($89<<1)|0);
- $exc_buf_ptr = $add$ptr;
- $91 = $k;
- $inc111 = (($91) + 1)|0;
- $k = $inc111;
- }
- $92 = $energy1$addr;
- $93 = $shift1$addr;
- $94 = $subfr_length$addr;
- _silk_sum_sqr_shift($92,$93,$vla,$94);
- $95 = $energy2$addr;
- $96 = $shift2$addr;
- $97 = $subfr_length$addr;
- $arrayidx113 = (($vla) + ($97<<1)|0);
- $98 = $subfr_length$addr;
- _silk_sum_sqr_shift($95,$96,$arrayidx113,$98);
- $99 = $saved_stack;
- _llvm_stackrestore(($99|0));
- STACKTOP = sp;return;
-}
-function _silk_max_int_431($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_min_int_432($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_max_16($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $$sink = 0, $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $conv = 0, $conv1 = 0, $conv4 = 0, $conv5 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $conv = $0 << 16 >> 16;
- $1 = $b$addr;
- $conv1 = $1 << 16 >> 16;
- $cmp = ($conv|0)>($conv1|0);
- $2 = $b$addr;
- $3 = $a$addr;
- $$sink = $cmp ? $3 : $2;
- $conv4 = $$sink << 16 >> 16;
- $conv5 = $conv4&65535;
- STACKTOP = sp;return ($conv5|0);
-}
-function _silk_min_32_433($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_max_32_434($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_INVERSE32_varQ_435($b32,$Qres) {
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $add = 0;
- var $add20 = 0, $add21 = 0, $add23 = 0, $add26 = 0, $and = 0, $and15 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $cmp = 0, $cmp29 = 0, $cmp35 = 0, $cmp40 = 0, $cmp48 = 0, $cmp61 = 0, $cmp69 = 0, $cmp83 = 0, $cond = 0;
- var $cond80 = 0, $conv = 0, $conv12 = 0, $conv13 = 0, $conv16 = 0, $conv17 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $div = 0, $err_Q32 = 0, $lshift = 0, $mul = 0, $mul14 = 0, $mul18 = 0, $mul25 = 0, $mul7 = 0, $result = 0, $retval = 0, $shl = 0;
- var $shl10 = 0, $shl2 = 0, $shl82 = 0, $shr = 0, $shr11 = 0, $shr19 = 0, $shr22 = 0, $shr24 = 0, $shr3 = 0, $shr32 = 0, $shr34 = 0, $shr39 = 0, $shr44 = 0, $shr47 = 0, $shr52 = 0, $shr60 = 0, $shr65 = 0, $shr68 = 0, $shr73 = 0, $shr8 = 0;
- var $shr86 = 0, $sub = 0, $sub1 = 0, $sub27 = 0, $sub28 = 0, $sub31 = 0, $sub33 = 0, $sub38 = 0, $sub43 = 0, $sub46 = 0, $sub51 = 0, $sub64 = 0, $sub67 = 0, $sub72 = 0, $sub81 = 0, $sub9 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $b32$addr;
- $cmp = ($0|0)>(0);
- $1 = $b32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_436($cond)|0);
- $sub1 = (($call) - 1)|0;
- $b_headrm = $sub1;
- $2 = $b32$addr;
- $3 = $b_headrm;
- $shl = $2 << $3;
- $b32_nrm = $shl;
- $4 = $b32_nrm;
- $shr = $4 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $5 = $b32_inv;
- $shl2 = $5 << 16;
- $result = $shl2;
- $6 = $b32_nrm;
- $shr3 = $6 >> 16;
- $7 = $b32_inv;
- $conv = $7&65535;
- $conv4 = $conv << 16 >> 16;
- $mul = Math_imul($shr3, $conv4)|0;
- $8 = $b32_nrm;
- $and = $8 & 65535;
- $9 = $b32_inv;
- $conv5 = $9&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = Math_imul($and, $conv6)|0;
- $shr8 = $mul7 >> 16;
- $add = (($mul) + ($shr8))|0;
- $sub9 = (536870912 - ($add))|0;
- $shl10 = $sub9 << 3;
- $err_Q32 = $shl10;
- $10 = $result;
- $11 = $err_Q32;
- $shr11 = $11 >> 16;
- $12 = $b32_inv;
- $conv12 = $12&65535;
- $conv13 = $conv12 << 16 >> 16;
- $mul14 = Math_imul($shr11, $conv13)|0;
- $13 = $err_Q32;
- $and15 = $13 & 65535;
- $14 = $b32_inv;
- $conv16 = $14&65535;
- $conv17 = $conv16 << 16 >> 16;
- $mul18 = Math_imul($and15, $conv17)|0;
- $shr19 = $mul18 >> 16;
- $add20 = (($mul14) + ($shr19))|0;
- $add21 = (($10) + ($add20))|0;
- $15 = $err_Q32;
- $16 = $b32_inv;
- $shr22 = $16 >> 15;
- $add23 = (($shr22) + 1)|0;
- $shr24 = $add23 >> 1;
- $mul25 = Math_imul($15, $shr24)|0;
- $add26 = (($add21) + ($mul25))|0;
- $result = $add26;
- $17 = $b_headrm;
- $sub27 = (61 - ($17))|0;
- $18 = $Qres$addr;
- $sub28 = (($sub27) - ($18))|0;
- $lshift = $sub28;
- $19 = $lshift;
- $cmp29 = ($19|0)<=(0);
- $20 = $lshift;
- if (!($cmp29)) {
- $cmp83 = ($20|0)<(32);
- if ($cmp83) {
- $35 = $result;
- $36 = $lshift;
- $shr86 = $35 >> $36;
- $retval = $shr86;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
- } else {
- $retval = 0;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
- }
- }
- $sub31 = (0 - ($20))|0;
- $shr32 = -2147483648 >> $sub31;
- $21 = $lshift;
- $sub33 = (0 - ($21))|0;
- $shr34 = 2147483647 >> $sub33;
- $cmp35 = ($shr32|0)>($shr34|0);
- $22 = $result;
- $23 = $lshift;
- $sub38 = (0 - ($23))|0;
- do {
- if ($cmp35) {
- $shr39 = -2147483648 >> $sub38;
- $cmp40 = ($22|0)>($shr39|0);
- if ($cmp40) {
- $24 = $lshift;
- $sub43 = (0 - ($24))|0;
- $shr44 = -2147483648 >> $sub43;
- $cond80 = $shr44;
- break;
- }
- $25 = $result;
- $26 = $lshift;
- $sub46 = (0 - ($26))|0;
- $shr47 = 2147483647 >> $sub46;
- $cmp48 = ($25|0)<($shr47|0);
- if ($cmp48) {
- $27 = $lshift;
- $sub51 = (0 - ($27))|0;
- $shr52 = 2147483647 >> $sub51;
- $cond80 = $shr52;
- break;
- } else {
- $28 = $result;
- $cond80 = $28;
- break;
- }
- } else {
- $shr60 = 2147483647 >> $sub38;
- $cmp61 = ($22|0)>($shr60|0);
- if ($cmp61) {
- $29 = $lshift;
- $sub64 = (0 - ($29))|0;
- $shr65 = 2147483647 >> $sub64;
- $cond80 = $shr65;
- break;
- }
- $30 = $result;
- $31 = $lshift;
- $sub67 = (0 - ($31))|0;
- $shr68 = -2147483648 >> $sub67;
- $cmp69 = ($30|0)<($shr68|0);
- if ($cmp69) {
- $32 = $lshift;
- $sub72 = (0 - ($32))|0;
- $shr73 = -2147483648 >> $sub72;
- $cond80 = $shr73;
- break;
- } else {
- $33 = $result;
- $cond80 = $33;
- break;
- }
- }
- } while(0);
- $34 = $lshift;
- $sub81 = (0 - ($34))|0;
- $shl82 = $cond80 << $sub81;
- $retval = $shl82;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
-}
-function _silk_CLZ32_436($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_PLC_glue_frames($psDec,$frame,$length) {
- $psDec = $psDec|0;
- $frame = $frame|0;
- $length = $length|0;
- var $$sink = 0, $$sink1 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
- var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
- var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
- var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $7 = 0, $8 = 0, $9 = 0, $LZ = 0, $add = 0, $add43 = 0, $and = 0, $arrayidx = 0, $arrayidx37 = 0, $arrayidx42 = 0, $call = 0, $call26 = 0, $call30 = 0, $cmp = 0, $cmp12 = 0, $cmp19 = 0;
- var $cmp29 = 0, $cmp35 = 0, $cmp44 = 0, $conc_energy = 0, $conc_energy18 = 0, $conc_energy21 = 0, $conc_energy23 = 0, $conc_energy24 = 0, $conc_energy28 = 0, $conc_energy7 = 0, $conc_energy9 = 0, $conc_energy_shift = 0, $conc_energy_shift11 = 0, $conc_energy_shift14 = 0, $conc_energy_shift5 = 0, $conc_energy_shift8 = 0, $cond = 0, $conv = 0, $conv38 = 0, $conv41 = 0;
- var $div = 0, $div33 = 0, $energy = 0, $energy_shift = 0, $frac_Q24 = 0, $frame$addr = 0, $gain_Q16 = 0, $i = 0, $inc = 0, $last_frame_lost2 = 0, $last_frame_lost50 = 0, $length$addr = 0, $lossCnt = 0, $mul = 0, $mul39 = 0, $psDec$addr = 0, $psPLC = 0, $sPLC = 0, $sPLC1 = 0, $shl = 0;
- var $shl31 = 0, $shl34 = 0, $shr = 0, $shr16 = 0, $shr27 = 0, $shr36 = 0, $shr40 = 0, $slope_Q16 = 0, $sub = 0, $sub15 = 0, $sub22 = 0, $sub25 = 0, $sub32 = 0, $tobool = 0, $tobool3 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $energy_shift = sp + 24|0;
- $energy = sp + 20|0;
- $psDec$addr = $psDec;
- $frame$addr = $frame;
- $length$addr = $length;
- $0 = $psDec$addr;
- $sPLC = ((($0)) + 4168|0);
- $psPLC = $sPLC;
- $1 = $psDec$addr;
- $lossCnt = ((($1)) + 4160|0);
- $2 = HEAP32[$lossCnt>>2]|0;
- $tobool = ($2|0)!=(0);
- if ($tobool) {
- $3 = $psPLC;
- $conc_energy = ((($3)) + 60|0);
- $4 = $psPLC;
- $conc_energy_shift = ((($4)) + 64|0);
- $5 = $frame$addr;
- $6 = $length$addr;
- _silk_sum_sqr_shift($conc_energy,$conc_energy_shift,$5,$6);
- $7 = $psPLC;
- $$sink = 1;$$sink1 = $7;
- $last_frame_lost50 = ((($$sink1)) + 48|0);
- HEAP32[$last_frame_lost50>>2] = $$sink;
- STACKTOP = sp;return;
- }
- $8 = $psDec$addr;
- $sPLC1 = ((($8)) + 4168|0);
- $last_frame_lost2 = ((($sPLC1)) + 48|0);
- $9 = HEAP32[$last_frame_lost2>>2]|0;
- $tobool3 = ($9|0)!=(0);
- L5: do {
- if ($tobool3) {
- $10 = $frame$addr;
- $11 = $length$addr;
- _silk_sum_sqr_shift($energy,$energy_shift,$10,$11);
- $12 = HEAP32[$energy_shift>>2]|0;
- $13 = $psPLC;
- $conc_energy_shift5 = ((($13)) + 64|0);
- $14 = HEAP32[$conc_energy_shift5>>2]|0;
- $cmp = ($12|0)>($14|0);
- if ($cmp) {
- $15 = $psPLC;
- $conc_energy7 = ((($15)) + 60|0);
- $16 = HEAP32[$conc_energy7>>2]|0;
- $17 = HEAP32[$energy_shift>>2]|0;
- $18 = $psPLC;
- $conc_energy_shift8 = ((($18)) + 64|0);
- $19 = HEAP32[$conc_energy_shift8>>2]|0;
- $sub = (($17) - ($19))|0;
- $shr = $16 >> $sub;
- $20 = $psPLC;
- $conc_energy9 = ((($20)) + 60|0);
- HEAP32[$conc_energy9>>2] = $shr;
- } else {
- $21 = HEAP32[$energy_shift>>2]|0;
- $22 = $psPLC;
- $conc_energy_shift11 = ((($22)) + 64|0);
- $23 = HEAP32[$conc_energy_shift11>>2]|0;
- $cmp12 = ($21|0)<($23|0);
- if ($cmp12) {
- $24 = HEAP32[$energy>>2]|0;
- $25 = $psPLC;
- $conc_energy_shift14 = ((($25)) + 64|0);
- $26 = HEAP32[$conc_energy_shift14>>2]|0;
- $27 = HEAP32[$energy_shift>>2]|0;
- $sub15 = (($26) - ($27))|0;
- $shr16 = $24 >> $sub15;
- HEAP32[$energy>>2] = $shr16;
- }
- }
- $28 = HEAP32[$energy>>2]|0;
- $29 = $psPLC;
- $conc_energy18 = ((($29)) + 60|0);
- $30 = HEAP32[$conc_energy18>>2]|0;
- $cmp19 = ($28|0)>($30|0);
- if ($cmp19) {
- $31 = $psPLC;
- $conc_energy21 = ((($31)) + 60|0);
- $32 = HEAP32[$conc_energy21>>2]|0;
- $call = (_silk_CLZ32_436($32)|0);
- $LZ = $call;
- $33 = $LZ;
- $sub22 = (($33) - 1)|0;
- $LZ = $sub22;
- $34 = $psPLC;
- $conc_energy23 = ((($34)) + 60|0);
- $35 = HEAP32[$conc_energy23>>2]|0;
- $36 = $LZ;
- $shl = $35 << $36;
- $37 = $psPLC;
- $conc_energy24 = ((($37)) + 60|0);
- HEAP32[$conc_energy24>>2] = $shl;
- $38 = HEAP32[$energy>>2]|0;
- $39 = $LZ;
- $sub25 = (24 - ($39))|0;
- $call26 = (_silk_max_32_434($sub25,0)|0);
- $shr27 = $38 >> $call26;
- HEAP32[$energy>>2] = $shr27;
- $40 = $psPLC;
- $conc_energy28 = ((($40)) + 60|0);
- $41 = HEAP32[$conc_energy28>>2]|0;
- $42 = HEAP32[$energy>>2]|0;
- $cmp29 = ($42|0)>(1);
- $43 = HEAP32[$energy>>2]|0;
- $cond = $cmp29 ? $43 : 1;
- $div = (($41|0) / ($cond|0))&-1;
- $frac_Q24 = $div;
- $44 = $frac_Q24;
- $call30 = (_silk_SQRT_APPROX_439($44)|0);
- $shl31 = $call30 << 4;
- $gain_Q16 = $shl31;
- $45 = $gain_Q16;
- $sub32 = (65536 - ($45))|0;
- $46 = $length$addr;
- $div33 = (($sub32|0) / ($46|0))&-1;
- $slope_Q16 = $div33;
- $47 = $slope_Q16;
- $shl34 = $47 << 2;
- $slope_Q16 = $shl34;
- $i = 0;
- while(1) {
- $48 = $i;
- $49 = $length$addr;
- $cmp35 = ($48|0)<($49|0);
- if (!($cmp35)) {
- break L5;
- }
- $50 = $gain_Q16;
- $shr36 = $50 >> 16;
- $51 = $frame$addr;
- $52 = $i;
- $arrayidx = (($51) + ($52<<1)|0);
- $53 = HEAP16[$arrayidx>>1]|0;
- $conv = $53 << 16 >> 16;
- $mul = Math_imul($shr36, $conv)|0;
- $54 = $gain_Q16;
- $and = $54 & 65535;
- $55 = $frame$addr;
- $56 = $i;
- $arrayidx37 = (($55) + ($56<<1)|0);
- $57 = HEAP16[$arrayidx37>>1]|0;
- $conv38 = $57 << 16 >> 16;
- $mul39 = Math_imul($and, $conv38)|0;
- $shr40 = $mul39 >> 16;
- $add = (($mul) + ($shr40))|0;
- $conv41 = $add&65535;
- $58 = $frame$addr;
- $59 = $i;
- $arrayidx42 = (($58) + ($59<<1)|0);
- HEAP16[$arrayidx42>>1] = $conv41;
- $60 = $slope_Q16;
- $61 = $gain_Q16;
- $add43 = (($61) + ($60))|0;
- $gain_Q16 = $add43;
- $62 = $gain_Q16;
- $cmp44 = ($62|0)>(65536);
- if ($cmp44) {
- break L5;
- }
- $63 = $i;
- $inc = (($63) + 1)|0;
- $i = $inc;
- }
- }
- }
- } while(0);
- $64 = $psPLC;
- $$sink = 0;$$sink1 = $64;
- $last_frame_lost50 = ((($$sink1)) + 48|0);
- HEAP32[$last_frame_lost50>>2] = $$sink;
- STACKTOP = sp;return;
-}
-function _silk_SQRT_APPROX_439($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add17 = 0, $and = 0, $and9 = 0, $cmp = 0, $conv = 0, $conv10 = 0, $conv11 = 0;
- var $conv13 = 0, $conv14 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $frac_Q7 = 0, $lz = 0, $mul = 0, $mul12 = 0, $mul15 = 0, $mul8 = 0, $retval = 0, $shr = 0, $shr16 = 0, $shr3 = 0, $shr4 = 0, $tobool = 0, $x$addr = 0, $y = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $lz = sp + 4|0;
- $frac_Q7 = sp;
- $x$addr = $x;
- $0 = $x$addr;
- $cmp = ($0|0)<=(0);
- if ($cmp) {
- $retval = 0;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
- }
- $1 = $x$addr;
- _silk_CLZ_FRAC_440($1,$lz,$frac_Q7);
- $2 = HEAP32[$lz>>2]|0;
- $and = $2 & 1;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $y = 32768;
- } else {
- $y = 46214;
- }
- $3 = HEAP32[$lz>>2]|0;
- $shr = $3 >> 1;
- $4 = $y;
- $shr3 = $4 >> $shr;
- $y = $shr3;
- $5 = $y;
- $6 = $y;
- $shr4 = $6 >> 16;
- $7 = HEAP32[$frac_Q7>>2]|0;
- $conv = $7&65535;
- $conv5 = $conv << 16 >> 16;
- $mul = ($conv5*213)|0;
- $conv6 = $mul&65535;
- $conv7 = $conv6 << 16 >> 16;
- $mul8 = Math_imul($shr4, $conv7)|0;
- $8 = $y;
- $and9 = $8 & 65535;
- $9 = HEAP32[$frac_Q7>>2]|0;
- $conv10 = $9&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = ($conv11*213)|0;
- $conv13 = $mul12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and9, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul8) + ($shr16))|0;
- $add17 = (($5) + ($add))|0;
- $y = $add17;
- $10 = $y;
- $retval = $10;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
-}
-function _silk_CLZ_FRAC_440($in,$lz,$frac_Q7) {
- $in = $in|0;
- $lz = $lz|0;
- $frac_Q7 = $frac_Q7|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $and = 0, $call = 0, $call1 = 0, $frac_Q7$addr = 0, $in$addr = 0, $lz$addr = 0, $lzeros = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in$addr = $in;
- $lz$addr = $lz;
- $frac_Q7$addr = $frac_Q7;
- $0 = $in$addr;
- $call = (_silk_CLZ32_436($0)|0);
- $lzeros = $call;
- $1 = $lzeros;
- $2 = $lz$addr;
- HEAP32[$2>>2] = $1;
- $3 = $in$addr;
- $4 = $lzeros;
- $sub = (24 - ($4))|0;
- $call1 = (_silk_ROR32_441($3,$sub)|0);
- $and = $call1 & 127;
- $5 = $frac_Q7$addr;
- HEAP32[$5>>2] = $and;
- STACKTOP = sp;return;
-}
-function _silk_ROR32_441($a32,$rot) {
- $a32 = $a32|0;
- $rot = $rot|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $a32$addr = 0, $cmp = 0, $cmp1 = 0, $m = 0, $or = 0, $or8 = 0;
- var $r = 0, $retval = 0, $rot$addr = 0, $shl = 0, $shl6 = 0, $shr = 0, $shr7 = 0, $sub = 0, $sub3 = 0, $sub5 = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a32$addr = $a32;
- $rot$addr = $rot;
- $0 = $a32$addr;
- $x = $0;
- $1 = $rot$addr;
- $r = $1;
- $2 = $rot$addr;
- $sub = (0 - ($2))|0;
- $m = $sub;
- $3 = $rot$addr;
- $cmp = ($3|0)==(0);
- if ($cmp) {
- $4 = $a32$addr;
- $retval = $4;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- $5 = $rot$addr;
- $cmp1 = ($5|0)<(0);
- $6 = $x;
- if ($cmp1) {
- $7 = $m;
- $shl = $6 << $7;
- $8 = $x;
- $9 = $m;
- $sub3 = (32 - ($9))|0;
- $shr = $8 >>> $sub3;
- $or = $shl | $shr;
- $retval = $or;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- } else {
- $10 = $r;
- $sub5 = (32 - ($10))|0;
- $shl6 = $6 << $sub5;
- $11 = $x;
- $12 = $r;
- $shr7 = $11 >>> $12;
- $or8 = $shl6 | $shr7;
- $retval = $or8;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- return (0)|0;
-}
-function _silk_VAD_Init($psSilk_VAD) {
- $psSilk_VAD = $psSilk_VAD|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $NL = 0, $NL7 = 0, $NoiseLevelBias = 0, $NoiseLevelBias4 = 0, $NrgRatioSmth_Q8 = 0, $add = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx17 = 0, $arrayidx5 = 0, $arrayidx6 = 0, $arrayidx8 = 0, $b = 0, $call = 0, $cmp = 0, $cmp15 = 0, $cmp2 = 0;
- var $counter = 0, $div = 0, $div9 = 0, $inc = 0, $inc12 = 0, $inc19 = 0, $inv_NL = 0, $mul = 0, $psSilk_VAD$addr = 0, $ret = 0, dest = 0, label = 0, sp = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psSilk_VAD$addr = $psSilk_VAD;
- $ret = 0;
- $0 = $psSilk_VAD$addr;
- dest=$0; stop=dest+112|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
- $b = 0;
- while(1) {
- $1 = $b;
- $cmp = ($1|0)<(4);
- if (!($cmp)) {
- break;
- }
- $2 = $b;
- $add = (($2) + 1)|0;
- $div = (50 / ($add|0))&-1;
- $call = (_silk_max_32_448($div,1)|0);
- $3 = $psSilk_VAD$addr;
- $NoiseLevelBias = ((($3)) + 92|0);
- $4 = $b;
- $arrayidx = (($NoiseLevelBias) + ($4<<2)|0);
- HEAP32[$arrayidx>>2] = $call;
- $5 = $b;
- $inc = (($5) + 1)|0;
- $b = $inc;
- }
- $b = 0;
- while(1) {
- $6 = $b;
- $cmp2 = ($6|0)<(4);
- $7 = $psSilk_VAD$addr;
- if (!($cmp2)) {
- break;
- }
- $NoiseLevelBias4 = ((($7)) + 92|0);
- $8 = $b;
- $arrayidx5 = (($NoiseLevelBias4) + ($8<<2)|0);
- $9 = HEAP32[$arrayidx5>>2]|0;
- $mul = ($9*100)|0;
- $10 = $psSilk_VAD$addr;
- $NL = ((($10)) + 60|0);
- $11 = $b;
- $arrayidx6 = (($NL) + ($11<<2)|0);
- HEAP32[$arrayidx6>>2] = $mul;
- $12 = $psSilk_VAD$addr;
- $NL7 = ((($12)) + 60|0);
- $13 = $b;
- $arrayidx8 = (($NL7) + ($13<<2)|0);
- $14 = HEAP32[$arrayidx8>>2]|0;
- $div9 = (2147483647 / ($14|0))&-1;
- $15 = $psSilk_VAD$addr;
- $inv_NL = ((($15)) + 76|0);
- $16 = $b;
- $arrayidx10 = (($inv_NL) + ($16<<2)|0);
- HEAP32[$arrayidx10>>2] = $div9;
- $17 = $b;
- $inc12 = (($17) + 1)|0;
- $b = $inc12;
- }
- $counter = ((($7)) + 108|0);
- HEAP32[$counter>>2] = 15;
- $b = 0;
- while(1) {
- $18 = $b;
- $cmp15 = ($18|0)<(4);
- if (!($cmp15)) {
- break;
- }
- $19 = $psSilk_VAD$addr;
- $NrgRatioSmth_Q8 = ((($19)) + 40|0);
- $20 = $b;
- $arrayidx17 = (($NrgRatioSmth_Q8) + ($20<<2)|0);
- HEAP32[$arrayidx17>>2] = 25600;
- $21 = $b;
- $inc19 = (($21) + 1)|0;
- $b = $inc19;
- }
- $22 = $ret;
- STACKTOP = sp;return ($22|0);
-}
-function _silk_max_32_448($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_VAD_GetSA_Q8_c($psEncC,$pIn) {
- $psEncC = $psEncC|0;
- $pIn = $pIn|0;
- var $$sink = 0, $$sink1 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0;
- var $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0;
- var $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0;
- var $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0;
- var $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0;
- var $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
- var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
- var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
- var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0;
- var $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0;
- var $99 = 0, $AnaState1 = 0, $AnaState2 = 0, $HPstate = 0, $HPstate52 = 0, $HPstateTmp = 0, $NL = 0, $NL130 = 0, $NL136 = 0, $NL213 = 0, $NrgRatioSmth_Q8 = 0, $NrgRatioSmth_Q8322 = 0, $NrgRatioSmth_Q8330 = 0, $NrgRatioSmth_Q8340 = 0, $NrgRatioSmth_Q8342 = 0, $NrgToNoiseRatio_Q8 = 0, $SA_Q15 = 0, $SNR_Q7 = 0, $X_offset = 0, $Xnrg = 0;
- var $XnrgSubfr = 0, $XnrgSubfr108 = 0, $add = 0, $add10 = 0, $add100 = 0, $add104 = 0, $add13 = 0, $add132 = 0, $add139 = 0, $add151 = 0, $add168 = 0, $add181 = 0, $add182 = 0, $add201 = 0, $add211 = 0, $add218 = 0, $add264 = 0, $add269 = 0, $add275 = 0, $add289 = 0;
- var $add302 = 0, $add307 = 0, $add338 = 0, $add339 = 0, $add7 = 0, $add72 = 0, $add73 = 0, $add81 = 0, $add87 = 0, $add89 = 0, $add93 = 0, $and = 0, $and125 = 0, $and163 = 0, $and176 = 0, $and270 = 0, $and284 = 0, $and297 = 0, $and333 = 0, $and94 = 0;
- var $arrayidx103 = 0, $arrayidx109 = 0, $arrayidx11 = 0, $arrayidx118 = 0, $arrayidx119 = 0, $arrayidx12 = 0, $arrayidx124 = 0, $arrayidx129 = 0, $arrayidx131 = 0, $arrayidx137 = 0, $arrayidx141 = 0, $arrayidx143 = 0, $arrayidx15 = 0, $arrayidx16 = 0, $arrayidx170 = 0, $arrayidx175 = 0, $arrayidx184 = 0, $arrayidx19 = 0, $arrayidx20 = 0, $arrayidx212 = 0;
- var $arrayidx214 = 0, $arrayidx22 = 0, $arrayidx23 = 0, $arrayidx24 = 0, $arrayidx28 = 0, $arrayidx30 = 0, $arrayidx320 = 0, $arrayidx321 = 0, $arrayidx323 = 0, $arrayidx329 = 0, $arrayidx331 = 0, $arrayidx34 = 0, $arrayidx341 = 0, $arrayidx343 = 0, $arrayidx350 = 0, $arrayidx39 = 0, $arrayidx41 = 0, $arrayidx43 = 0, $arrayidx5 = 0, $arrayidx6 = 0;
- var $arrayidx61 = 0, $arrayidx62 = 0, $arrayidx71 = 0, $arrayidx74 = 0, $arrayidx8 = 0, $arrayidx86 = 0, $arrayidx88 = 0, $arrayidx9 = 0, $arrayidx98 = 0, $b = 0, $call = 0, $call144 = 0, $call155 = 0, $call161 = 0, $call190 = 0, $call203 = 0, $call204 = 0, $call263 = 0, $call279 = 0, $call344 = 0;
- var $call349 = 0, $cmp = 0, $cmp115 = 0, $cmp121 = 0, $cmp126 = 0, $cmp152 = 0, $cmp208 = 0, $cmp222 = 0, $cmp227 = 0, $cmp232 = 0, $cmp235 = 0, $cmp239 = 0, $cmp249 = 0, $cmp253 = 0, $cmp311 = 0, $cmp317 = 0, $cmp54 = 0, $cmp64 = 0, $cmp68 = 0, $cmp84 = 0;
- var $cond = 0, $cond102 = 0, $cond102$sink = 0, $cond244 = 0, $cond246 = 0, $cond258 = 0, $cond260 = 0, $conv = 0, $conv146 = 0, $conv147 = 0, $conv148 = 0, $conv149 = 0, $conv158 = 0, $conv159 = 0, $conv164 = 0, $conv165 = 0, $conv172 = 0, $conv173 = 0, $conv177 = 0, $conv178 = 0;
- var $conv192 = 0, $conv193 = 0, $conv194 = 0, $conv195 = 0, $conv197 = 0, $conv198 = 0, $conv26 = 0, $conv266 = 0, $conv267 = 0, $conv271 = 0, $conv272 = 0, $conv281 = 0, $conv282 = 0, $conv285 = 0, $conv286 = 0, $conv290 = 0, $conv291 = 0, $conv294 = 0, $conv295 = 0, $conv298 = 0;
- var $conv299 = 0, $conv303 = 0, $conv304 = 0, $conv326 = 0, $conv327 = 0, $conv334 = 0, $conv335 = 0, $conv35 = 0, $conv37 = 0, $conv42 = 0, $conv44 = 0, $conv46 = 0, $conv47 = 0, $conv49 = 0, $conv51 = 0, $conv75 = 0, $conv77 = 0, $conv78 = 0, $conv79 = 0, $conv80 = 0;
- var $dec = 0, $dec_subframe_length = 0, $dec_subframe_offset = 0, $decimated_framelength = 0, $decimated_framelength1 = 0, $decimated_framelength2 = 0, $div = 0, $div140 = 0, $div140$sink = 0, $div189 = 0, $frame_length = 0, $frame_length1 = 0, $frame_length17 = 0, $frame_length230 = 0, $frame_length3 = 0, $frame_length308 = 0, $frame_length57 = 0, $fs_kHz = 0, $fs_kHz309 = 0, $i = 0;
- var $inc = 0, $inc106 = 0, $inc111 = 0, $inc187 = 0, $inc220 = 0, $inc352 = 0, $input_quality_bands_Q15 = 0, $input_tilt = 0, $input_tilt_Q15 = 0, $mul = 0, $mul150 = 0, $mul160 = 0, $mul166 = 0, $mul174 = 0, $mul179 = 0, $mul191 = 0, $mul196 = 0, $mul199 = 0, $mul217 = 0, $mul231 = 0;
- var $mul268 = 0, $mul273 = 0, $mul283 = 0, $mul287 = 0, $mul292 = 0, $mul296 = 0, $mul300 = 0, $mul305 = 0, $mul310 = 0, $mul328 = 0, $mul336 = 0, $mul346 = 0, $pIn$addr = 0, $pSNR_dB_Q7 = 0, $psEncC$addr = 0, $psSilk_VAD = 0, $ret = 0, $s = 0, $sVAD = 0, $saved_stack = 0;
- var $shl = 0, $shl156 = 0, $shl162 = 0, $shl206 = 0, $shl247 = 0, $shl261 = 0, $shr = 0, $shr138 = 0, $shr157 = 0, $shr167 = 0, $shr171 = 0, $shr180 = 0, $shr2 = 0, $shr200 = 0, $shr216 = 0, $shr225 = 0, $shr25 = 0, $shr265 = 0, $shr274 = 0, $shr278 = 0;
- var $shr280 = 0, $shr288 = 0, $shr293 = 0, $shr301 = 0, $shr306 = 0, $shr314 = 0, $shr325 = 0, $shr337 = 0, $shr348 = 0, $shr36 = 0, $shr4 = 0, $shr59 = 0, $shr60 = 0, $shr76 = 0, $shr92 = 0, $shr99 = 0, $smooth_coef_Q16 = 0, $speech_activity_Q8 = 0, $speech_nrg = 0, $sub = 0;
- var $sub120 = 0, $sub145 = 0, $sub202 = 0, $sub205 = 0, $sub215 = 0, $sub27 = 0, $sub29 = 0, $sub31 = 0, $sub324 = 0, $sub33 = 0, $sub332 = 0, $sub345 = 0, $sub347 = 0, $sub38 = 0, $sub40 = 0, $sub45 = 0, $sub50 = 0, $sub58 = 0, $sumSquared = 0, $tobool = 0;
- var $tobool95 = 0, $vla = 0, $vla$alloca_mul = 0, $x_tmp = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
- $Xnrg = sp + 56|0;
- $NrgToNoiseRatio_Q8 = sp + 40|0;
- $X_offset = sp + 16|0;
- $psEncC$addr = $psEncC;
- $pIn$addr = $pIn;
- $ret = 0;
- $0 = $psEncC$addr;
- $sVAD = ((($0)) + 32|0);
- $psSilk_VAD = $sVAD;
- $1 = $psEncC$addr;
- $frame_length = ((($1)) + 4608|0);
- $2 = HEAP32[$frame_length>>2]|0;
- $shr = $2 >> 1;
- $decimated_framelength1 = $shr;
- $3 = $psEncC$addr;
- $frame_length1 = ((($3)) + 4608|0);
- $4 = HEAP32[$frame_length1>>2]|0;
- $shr2 = $4 >> 2;
- $decimated_framelength2 = $shr2;
- $5 = $psEncC$addr;
- $frame_length3 = ((($5)) + 4608|0);
- $6 = HEAP32[$frame_length3>>2]|0;
- $shr4 = $6 >> 3;
- $decimated_framelength = $shr4;
- HEAP32[$X_offset>>2] = 0;
- $7 = $decimated_framelength;
- $8 = $decimated_framelength2;
- $add = (($7) + ($8))|0;
- $arrayidx5 = ((($X_offset)) + 4|0);
- HEAP32[$arrayidx5>>2] = $add;
- $arrayidx6 = ((($X_offset)) + 4|0);
- $9 = HEAP32[$arrayidx6>>2]|0;
- $10 = $decimated_framelength;
- $add7 = (($9) + ($10))|0;
- $arrayidx8 = ((($X_offset)) + 8|0);
- HEAP32[$arrayidx8>>2] = $add7;
- $arrayidx9 = ((($X_offset)) + 8|0);
- $11 = HEAP32[$arrayidx9>>2]|0;
- $12 = $decimated_framelength2;
- $add10 = (($11) + ($12))|0;
- $arrayidx11 = ((($X_offset)) + 12|0);
- HEAP32[$arrayidx11>>2] = $add10;
- $arrayidx12 = ((($X_offset)) + 12|0);
- $13 = HEAP32[$arrayidx12>>2]|0;
- $14 = $decimated_framelength1;
- $add13 = (($13) + ($14))|0;
- $15 = (_llvm_stacksave()|0);
- $saved_stack = $15;
- $vla$alloca_mul = $add13<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $16 = $pIn$addr;
- $17 = $psSilk_VAD;
- $arrayidx15 = ((($X_offset)) + 12|0);
- $18 = HEAP32[$arrayidx15>>2]|0;
- $arrayidx16 = (($vla) + ($18<<1)|0);
- $19 = $psEncC$addr;
- $frame_length17 = ((($19)) + 4608|0);
- $20 = HEAP32[$frame_length17>>2]|0;
- _silk_ana_filt_bank_1($16,$17,$vla,$arrayidx16,$20);
- $21 = $psSilk_VAD;
- $AnaState1 = ((($21)) + 8|0);
- $arrayidx19 = ((($X_offset)) + 8|0);
- $22 = HEAP32[$arrayidx19>>2]|0;
- $arrayidx20 = (($vla) + ($22<<1)|0);
- $23 = $decimated_framelength1;
- _silk_ana_filt_bank_1($vla,$AnaState1,$vla,$arrayidx20,$23);
- $24 = $psSilk_VAD;
- $AnaState2 = ((($24)) + 16|0);
- $arrayidx22 = ((($X_offset)) + 4|0);
- $25 = HEAP32[$arrayidx22>>2]|0;
- $arrayidx23 = (($vla) + ($25<<1)|0);
- $26 = $decimated_framelength2;
- _silk_ana_filt_bank_1($vla,$AnaState2,$vla,$arrayidx23,$26);
- $27 = $decimated_framelength;
- $sub = (($27) - 1)|0;
- $arrayidx24 = (($vla) + ($sub<<1)|0);
- $28 = HEAP16[$arrayidx24>>1]|0;
- $conv = $28 << 16 >> 16;
- $shr25 = $conv >> 1;
- $conv26 = $shr25&65535;
- $29 = $decimated_framelength;
- $sub27 = (($29) - 1)|0;
- $arrayidx28 = (($vla) + ($sub27<<1)|0);
- HEAP16[$arrayidx28>>1] = $conv26;
- $30 = $decimated_framelength;
- $sub29 = (($30) - 1)|0;
- $arrayidx30 = (($vla) + ($sub29<<1)|0);
- $31 = HEAP16[$arrayidx30>>1]|0;
- $HPstateTmp = $31;
- $32 = $decimated_framelength;
- $sub31 = (($32) - 1)|0;
- $i = $sub31;
- while(1) {
- $33 = $i;
- $cmp = ($33|0)>(0);
- if (!($cmp)) {
- break;
- }
- $34 = $i;
- $sub33 = (($34) - 1)|0;
- $arrayidx34 = (($vla) + ($sub33<<1)|0);
- $35 = HEAP16[$arrayidx34>>1]|0;
- $conv35 = $35 << 16 >> 16;
- $shr36 = $conv35 >> 1;
- $conv37 = $shr36&65535;
- $36 = $i;
- $sub38 = (($36) - 1)|0;
- $arrayidx39 = (($vla) + ($sub38<<1)|0);
- HEAP16[$arrayidx39>>1] = $conv37;
- $37 = $i;
- $sub40 = (($37) - 1)|0;
- $arrayidx41 = (($vla) + ($sub40<<1)|0);
- $38 = HEAP16[$arrayidx41>>1]|0;
- $conv42 = $38 << 16 >> 16;
- $39 = $i;
- $arrayidx43 = (($vla) + ($39<<1)|0);
- $40 = HEAP16[$arrayidx43>>1]|0;
- $conv44 = $40 << 16 >> 16;
- $sub45 = (($conv44) - ($conv42))|0;
- $conv46 = $sub45&65535;
- HEAP16[$arrayidx43>>1] = $conv46;
- $41 = $i;
- $dec = (($41) + -1)|0;
- $i = $dec;
- }
- $42 = $psSilk_VAD;
- $HPstate = ((($42)) + 56|0);
- $43 = HEAP16[$HPstate>>1]|0;
- $conv47 = $43 << 16 >> 16;
- $44 = HEAP16[$vla>>1]|0;
- $conv49 = $44 << 16 >> 16;
- $sub50 = (($conv49) - ($conv47))|0;
- $conv51 = $sub50&65535;
- HEAP16[$vla>>1] = $conv51;
- $45 = $HPstateTmp;
- $46 = $psSilk_VAD;
- $HPstate52 = ((($46)) + 56|0);
- HEAP16[$HPstate52>>1] = $45;
- $b = 0;
- while(1) {
- $47 = $b;
- $cmp54 = ($47|0)<(4);
- if (!($cmp54)) {
- break;
- }
- $48 = $psEncC$addr;
- $frame_length57 = ((($48)) + 4608|0);
- $49 = HEAP32[$frame_length57>>2]|0;
- $50 = $b;
- $sub58 = (4 - ($50))|0;
- $call = (_silk_min_int_451($sub58,3)|0);
- $shr59 = $49 >> $call;
- $decimated_framelength = $shr59;
- $51 = $decimated_framelength;
- $shr60 = $51 >> 2;
- $dec_subframe_length = $shr60;
- $dec_subframe_offset = 0;
- $52 = $psSilk_VAD;
- $XnrgSubfr = ((($52)) + 24|0);
- $53 = $b;
- $arrayidx61 = (($XnrgSubfr) + ($53<<2)|0);
- $54 = HEAP32[$arrayidx61>>2]|0;
- $55 = $b;
- $arrayidx62 = (($Xnrg) + ($55<<2)|0);
- HEAP32[$arrayidx62>>2] = $54;
- $s = 0;
- while(1) {
- $56 = $s;
- $cmp64 = ($56|0)<(4);
- if (!($cmp64)) {
- break;
- }
- $sumSquared = 0;
- $i = 0;
- while(1) {
- $57 = $i;
- $58 = $dec_subframe_length;
- $cmp68 = ($57|0)<($58|0);
- if (!($cmp68)) {
- break;
- }
- $59 = $b;
- $arrayidx71 = (($X_offset) + ($59<<2)|0);
- $60 = HEAP32[$arrayidx71>>2]|0;
- $61 = $i;
- $add72 = (($60) + ($61))|0;
- $62 = $dec_subframe_offset;
- $add73 = (($add72) + ($62))|0;
- $arrayidx74 = (($vla) + ($add73<<1)|0);
- $63 = HEAP16[$arrayidx74>>1]|0;
- $conv75 = $63 << 16 >> 16;
- $shr76 = $conv75 >> 3;
- $x_tmp = $shr76;
- $64 = $sumSquared;
- $65 = $x_tmp;
- $conv77 = $65&65535;
- $conv78 = $conv77 << 16 >> 16;
- $66 = $x_tmp;
- $conv79 = $66&65535;
- $conv80 = $conv79 << 16 >> 16;
- $mul = Math_imul($conv78, $conv80)|0;
- $add81 = (($64) + ($mul))|0;
- $sumSquared = $add81;
- $67 = $i;
- $inc = (($67) + 1)|0;
- $i = $inc;
- }
- $68 = $s;
- $cmp84 = ($68|0)<(3);
- $69 = $b;
- $arrayidx86 = (($Xnrg) + ($69<<2)|0);
- $70 = HEAP32[$arrayidx86>>2]|0;
- $71 = $sumSquared;
- if ($cmp84) {
- $add87 = (($70) + ($71))|0;
- $and = $add87 & -2147483648;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $cond = 2147483647;
- } else {
- $72 = $b;
- $arrayidx88 = (($Xnrg) + ($72<<2)|0);
- $73 = HEAP32[$arrayidx88>>2]|0;
- $74 = $sumSquared;
- $add89 = (($73) + ($74))|0;
- $cond = $add89;
- }
- $75 = $b;
- $$sink = $75;$cond102$sink = $cond;
- } else {
- $shr92 = $71 >> 1;
- $add93 = (($70) + ($shr92))|0;
- $and94 = $add93 & -2147483648;
- $tobool95 = ($and94|0)!=(0);
- if ($tobool95) {
- $cond102 = 2147483647;
- } else {
- $76 = $b;
- $arrayidx98 = (($Xnrg) + ($76<<2)|0);
- $77 = HEAP32[$arrayidx98>>2]|0;
- $78 = $sumSquared;
- $shr99 = $78 >> 1;
- $add100 = (($77) + ($shr99))|0;
- $cond102 = $add100;
- }
- $79 = $b;
- $$sink = $79;$cond102$sink = $cond102;
- }
- $arrayidx103 = (($Xnrg) + ($$sink<<2)|0);
- HEAP32[$arrayidx103>>2] = $cond102$sink;
- $80 = $dec_subframe_length;
- $81 = $dec_subframe_offset;
- $add104 = (($81) + ($80))|0;
- $dec_subframe_offset = $add104;
- $82 = $s;
- $inc106 = (($82) + 1)|0;
- $s = $inc106;
- }
- $83 = $sumSquared;
- $84 = $psSilk_VAD;
- $XnrgSubfr108 = ((($84)) + 24|0);
- $85 = $b;
- $arrayidx109 = (($XnrgSubfr108) + ($85<<2)|0);
- HEAP32[$arrayidx109>>2] = $83;
- $86 = $b;
- $inc111 = (($86) + 1)|0;
- $b = $inc111;
- }
- $87 = $psSilk_VAD;
- _silk_VAD_GetNoiseLevels($Xnrg,$87);
- $sumSquared = 0;
- $input_tilt = 0;
- $b = 0;
- while(1) {
- $88 = $b;
- $cmp115 = ($88|0)<(4);
- if (!($cmp115)) {
- break;
- }
- $89 = $b;
- $arrayidx118 = (($Xnrg) + ($89<<2)|0);
- $90 = HEAP32[$arrayidx118>>2]|0;
- $91 = $psSilk_VAD;
- $NL = ((($91)) + 60|0);
- $92 = $b;
- $arrayidx119 = (($NL) + ($92<<2)|0);
- $93 = HEAP32[$arrayidx119>>2]|0;
- $sub120 = (($90) - ($93))|0;
- $speech_nrg = $sub120;
- $94 = $speech_nrg;
- $cmp121 = ($94|0)>(0);
- $95 = $b;
- if ($cmp121) {
- $arrayidx124 = (($Xnrg) + ($95<<2)|0);
- $96 = HEAP32[$arrayidx124>>2]|0;
- $and125 = $96 & -8388608;
- $cmp126 = ($and125|0)==(0);
- $97 = $b;
- $arrayidx129 = (($Xnrg) + ($97<<2)|0);
- $98 = HEAP32[$arrayidx129>>2]|0;
- if ($cmp126) {
- $shl = $98 << 8;
- $99 = $psSilk_VAD;
- $NL130 = ((($99)) + 60|0);
- $100 = $b;
- $arrayidx131 = (($NL130) + ($100<<2)|0);
- $101 = HEAP32[$arrayidx131>>2]|0;
- $add132 = (($101) + 1)|0;
- $div = (($shl|0) / ($add132|0))&-1;
- $102 = $b;
- $$sink1 = $102;$div140$sink = $div;
- } else {
- $103 = $psSilk_VAD;
- $NL136 = ((($103)) + 60|0);
- $104 = $b;
- $arrayidx137 = (($NL136) + ($104<<2)|0);
- $105 = HEAP32[$arrayidx137>>2]|0;
- $shr138 = $105 >> 8;
- $add139 = (($shr138) + 1)|0;
- $div140 = (($98|0) / ($add139|0))&-1;
- $106 = $b;
- $$sink1 = $106;$div140$sink = $div140;
- }
- $arrayidx141 = (($NrgToNoiseRatio_Q8) + ($$sink1<<2)|0);
- HEAP32[$arrayidx141>>2] = $div140$sink;
- $107 = $b;
- $arrayidx143 = (($NrgToNoiseRatio_Q8) + ($107<<2)|0);
- $108 = HEAP32[$arrayidx143>>2]|0;
- $call144 = (_silk_lin2log($108)|0);
- $sub145 = (($call144) - 1024)|0;
- $SNR_Q7 = $sub145;
- $109 = $sumSquared;
- $110 = $SNR_Q7;
- $conv146 = $110&65535;
- $conv147 = $conv146 << 16 >> 16;
- $111 = $SNR_Q7;
- $conv148 = $111&65535;
- $conv149 = $conv148 << 16 >> 16;
- $mul150 = Math_imul($conv147, $conv149)|0;
- $add151 = (($109) + ($mul150))|0;
- $sumSquared = $add151;
- $112 = $speech_nrg;
- $cmp152 = ($112|0)<(1048576);
- if ($cmp152) {
- $113 = $speech_nrg;
- $call155 = (_silk_SQRT_APPROX_452($113)|0);
- $shl156 = $call155 << 6;
- $shr157 = $shl156 >> 16;
- $114 = $SNR_Q7;
- $conv158 = $114&65535;
- $conv159 = $conv158 << 16 >> 16;
- $mul160 = Math_imul($shr157, $conv159)|0;
- $115 = $speech_nrg;
- $call161 = (_silk_SQRT_APPROX_452($115)|0);
- $shl162 = $call161 << 6;
- $and163 = $shl162 & 65535;
- $116 = $SNR_Q7;
- $conv164 = $116&65535;
- $conv165 = $conv164 << 16 >> 16;
- $mul166 = Math_imul($and163, $conv165)|0;
- $shr167 = $mul166 >> 16;
- $add168 = (($mul160) + ($shr167))|0;
- $SNR_Q7 = $add168;
- }
- $117 = $input_tilt;
- $118 = $b;
- $arrayidx170 = (22288 + ($118<<2)|0);
- $119 = HEAP32[$arrayidx170>>2]|0;
- $shr171 = $119 >> 16;
- $120 = $SNR_Q7;
- $conv172 = $120&65535;
- $conv173 = $conv172 << 16 >> 16;
- $mul174 = Math_imul($shr171, $conv173)|0;
- $121 = $b;
- $arrayidx175 = (22288 + ($121<<2)|0);
- $122 = HEAP32[$arrayidx175>>2]|0;
- $and176 = $122 & 65535;
- $123 = $SNR_Q7;
- $conv177 = $123&65535;
- $conv178 = $conv177 << 16 >> 16;
- $mul179 = Math_imul($and176, $conv178)|0;
- $shr180 = $mul179 >> 16;
- $add181 = (($mul174) + ($shr180))|0;
- $add182 = (($117) + ($add181))|0;
- $input_tilt = $add182;
- } else {
- $arrayidx184 = (($NrgToNoiseRatio_Q8) + ($95<<2)|0);
- HEAP32[$arrayidx184>>2] = 256;
- }
- $124 = $b;
- $inc187 = (($124) + 1)|0;
- $b = $inc187;
- }
- $125 = $sumSquared;
- $div189 = (($125|0) / 4)&-1;
- $sumSquared = $div189;
- $126 = $sumSquared;
- $call190 = (_silk_SQRT_APPROX_452($126)|0);
- $mul191 = ($call190*3)|0;
- $conv192 = $mul191&65535;
- $conv193 = $conv192 << 16 >> 16;
- $pSNR_dB_Q7 = $conv193;
- $127 = $pSNR_dB_Q7;
- $conv194 = $127&65535;
- $conv195 = $conv194 << 16 >> 16;
- $mul196 = 0;
- $128 = $pSNR_dB_Q7;
- $conv197 = $128&65535;
- $conv198 = $conv197 << 16 >> 16;
- $mul199 = ($conv198*45000)|0;
- $shr200 = $mul199 >> 16;
- $add201 = (($mul196) + ($shr200))|0;
- $sub202 = (($add201) - 128)|0;
- $call203 = (_silk_sigm_Q15($sub202)|0);
- $SA_Q15 = $call203;
- $129 = $input_tilt;
- $call204 = (_silk_sigm_Q15($129)|0);
- $sub205 = (($call204) - 16384)|0;
- $shl206 = $sub205 << 1;
- $130 = $psEncC$addr;
- $input_tilt_Q15 = ((($130)) + 4744|0);
- HEAP32[$input_tilt_Q15>>2] = $shl206;
- $speech_nrg = 0;
- $b = 0;
- while(1) {
- $131 = $b;
- $cmp208 = ($131|0)<(4);
- if (!($cmp208)) {
- break;
- }
- $132 = $b;
- $add211 = (($132) + 1)|0;
- $133 = $b;
- $arrayidx212 = (($Xnrg) + ($133<<2)|0);
- $134 = HEAP32[$arrayidx212>>2]|0;
- $135 = $psSilk_VAD;
- $NL213 = ((($135)) + 60|0);
- $136 = $b;
- $arrayidx214 = (($NL213) + ($136<<2)|0);
- $137 = HEAP32[$arrayidx214>>2]|0;
- $sub215 = (($134) - ($137))|0;
- $shr216 = $sub215 >> 4;
- $mul217 = Math_imul($add211, $shr216)|0;
- $138 = $speech_nrg;
- $add218 = (($138) + ($mul217))|0;
- $speech_nrg = $add218;
- $139 = $b;
- $inc220 = (($139) + 1)|0;
- $b = $inc220;
- }
- $140 = $speech_nrg;
- $cmp222 = ($140|0)<=(0);
- if ($cmp222) {
- $141 = $SA_Q15;
- $shr225 = $141 >> 1;
- $SA_Q15 = $shr225;
- } else {
- $142 = $speech_nrg;
- $cmp227 = ($142|0)<(32768);
- if ($cmp227) {
- $143 = $psEncC$addr;
- $frame_length230 = ((($143)) + 4608|0);
- $144 = HEAP32[$frame_length230>>2]|0;
- $145 = $psEncC$addr;
- $fs_kHz = ((($145)) + 4600|0);
- $146 = HEAP32[$fs_kHz>>2]|0;
- $mul231 = ($146*10)|0;
- $cmp232 = ($144|0)==($mul231|0);
- $147 = $speech_nrg;
- if ($cmp232) {
- $cmp235 = ($147|0)>(32767);
- if ($cmp235) {
- $cond246 = 32767;
- } else {
- $148 = $speech_nrg;
- $cmp239 = ($148|0)<(-32768);
- $149 = $speech_nrg;
- $cond244 = $cmp239 ? -32768 : $149;
- $cond246 = $cond244;
- }
- $shl247 = $cond246 << 16;
- $speech_nrg = $shl247;
- } else {
- $cmp249 = ($147|0)>(65535);
- if ($cmp249) {
- $cond260 = 65535;
- } else {
- $150 = $speech_nrg;
- $cmp253 = ($150|0)<(-65536);
- $151 = $speech_nrg;
- $cond258 = $cmp253 ? -65536 : $151;
- $cond260 = $cond258;
- }
- $shl261 = $cond260 << 15;
- $speech_nrg = $shl261;
- }
- $152 = $speech_nrg;
- $call263 = (_silk_SQRT_APPROX_452($152)|0);
- $speech_nrg = $call263;
- $153 = $speech_nrg;
- $add264 = (32768 + ($153))|0;
- $shr265 = $add264 >> 16;
- $154 = $SA_Q15;
- $conv266 = $154&65535;
- $conv267 = $conv266 << 16 >> 16;
- $mul268 = Math_imul($shr265, $conv267)|0;
- $155 = $speech_nrg;
- $add269 = (32768 + ($155))|0;
- $and270 = $add269 & 65535;
- $156 = $SA_Q15;
- $conv271 = $156&65535;
- $conv272 = $conv271 << 16 >> 16;
- $mul273 = Math_imul($and270, $conv272)|0;
- $shr274 = $mul273 >> 16;
- $add275 = (($mul268) + ($shr274))|0;
- $SA_Q15 = $add275;
- }
- }
- $157 = $SA_Q15;
- $shr278 = $157 >> 7;
- $call279 = (_silk_min_int_451($shr278,255)|0);
- $158 = $psEncC$addr;
- $speech_activity_Q8 = ((($158)) + 4556|0);
- HEAP32[$speech_activity_Q8>>2] = $call279;
- $159 = $SA_Q15;
- $shr280 = $159 >> 16;
- $160 = $SA_Q15;
- $conv281 = $160&65535;
- $conv282 = $conv281 << 16 >> 16;
- $mul283 = Math_imul($shr280, $conv282)|0;
- $161 = $SA_Q15;
- $and284 = $161 & 65535;
- $162 = $SA_Q15;
- $conv285 = $162&65535;
- $conv286 = $conv285 << 16 >> 16;
- $mul287 = Math_imul($and284, $conv286)|0;
- $shr288 = $mul287 >> 16;
- $add289 = (($mul283) + ($shr288))|0;
- $conv290 = $add289&65535;
- $conv291 = $conv290 << 16 >> 16;
- $mul292 = 0;
- $163 = $SA_Q15;
- $shr293 = $163 >> 16;
- $164 = $SA_Q15;
- $conv294 = $164&65535;
- $conv295 = $conv294 << 16 >> 16;
- $mul296 = Math_imul($shr293, $conv295)|0;
- $165 = $SA_Q15;
- $and297 = $165 & 65535;
- $166 = $SA_Q15;
- $conv298 = $166&65535;
- $conv299 = $conv298 << 16 >> 16;
- $mul300 = Math_imul($and297, $conv299)|0;
- $shr301 = $mul300 >> 16;
- $add302 = (($mul296) + ($shr301))|0;
- $conv303 = $add302&65535;
- $conv304 = $conv303 << 16 >> 16;
- $mul305 = $conv304<<12;
- $shr306 = $mul305 >> 16;
- $add307 = (($mul292) + ($shr306))|0;
- $smooth_coef_Q16 = $add307;
- $167 = $psEncC$addr;
- $frame_length308 = ((($167)) + 4608|0);
- $168 = HEAP32[$frame_length308>>2]|0;
- $169 = $psEncC$addr;
- $fs_kHz309 = ((($169)) + 4600|0);
- $170 = HEAP32[$fs_kHz309>>2]|0;
- $mul310 = ($170*10)|0;
- $cmp311 = ($168|0)==($mul310|0);
- if ($cmp311) {
- $171 = $smooth_coef_Q16;
- $shr314 = $171 >> 1;
- $smooth_coef_Q16 = $shr314;
- }
- $b = 0;
- while(1) {
- $172 = $b;
- $cmp317 = ($172|0)<(4);
- if (!($cmp317)) {
- break;
- }
- $173 = $psSilk_VAD;
- $NrgRatioSmth_Q8 = ((($173)) + 40|0);
- $174 = $b;
- $arrayidx320 = (($NrgRatioSmth_Q8) + ($174<<2)|0);
- $175 = HEAP32[$arrayidx320>>2]|0;
- $176 = $b;
- $arrayidx321 = (($NrgToNoiseRatio_Q8) + ($176<<2)|0);
- $177 = HEAP32[$arrayidx321>>2]|0;
- $178 = $psSilk_VAD;
- $NrgRatioSmth_Q8322 = ((($178)) + 40|0);
- $179 = $b;
- $arrayidx323 = (($NrgRatioSmth_Q8322) + ($179<<2)|0);
- $180 = HEAP32[$arrayidx323>>2]|0;
- $sub324 = (($177) - ($180))|0;
- $shr325 = $sub324 >> 16;
- $181 = $smooth_coef_Q16;
- $conv326 = $181&65535;
- $conv327 = $conv326 << 16 >> 16;
- $mul328 = Math_imul($shr325, $conv327)|0;
- $182 = $b;
- $arrayidx329 = (($NrgToNoiseRatio_Q8) + ($182<<2)|0);
- $183 = HEAP32[$arrayidx329>>2]|0;
- $184 = $psSilk_VAD;
- $NrgRatioSmth_Q8330 = ((($184)) + 40|0);
- $185 = $b;
- $arrayidx331 = (($NrgRatioSmth_Q8330) + ($185<<2)|0);
- $186 = HEAP32[$arrayidx331>>2]|0;
- $sub332 = (($183) - ($186))|0;
- $and333 = $sub332 & 65535;
- $187 = $smooth_coef_Q16;
- $conv334 = $187&65535;
- $conv335 = $conv334 << 16 >> 16;
- $mul336 = Math_imul($and333, $conv335)|0;
- $shr337 = $mul336 >> 16;
- $add338 = (($mul328) + ($shr337))|0;
- $add339 = (($175) + ($add338))|0;
- $188 = $psSilk_VAD;
- $NrgRatioSmth_Q8340 = ((($188)) + 40|0);
- $189 = $b;
- $arrayidx341 = (($NrgRatioSmth_Q8340) + ($189<<2)|0);
- HEAP32[$arrayidx341>>2] = $add339;
- $190 = $psSilk_VAD;
- $NrgRatioSmth_Q8342 = ((($190)) + 40|0);
- $191 = $b;
- $arrayidx343 = (($NrgRatioSmth_Q8342) + ($191<<2)|0);
- $192 = HEAP32[$arrayidx343>>2]|0;
- $call344 = (_silk_lin2log($192)|0);
- $sub345 = (($call344) - 1024)|0;
- $mul346 = ($sub345*3)|0;
- $SNR_Q7 = $mul346;
- $193 = $SNR_Q7;
- $sub347 = (($193) - 2048)|0;
- $shr348 = $sub347 >> 4;
- $call349 = (_silk_sigm_Q15($shr348)|0);
- $194 = $psEncC$addr;
- $input_quality_bands_Q15 = ((($194)) + 4728|0);
- $195 = $b;
- $arrayidx350 = (($input_quality_bands_Q15) + ($195<<2)|0);
- HEAP32[$arrayidx350>>2] = $call349;
- $196 = $b;
- $inc352 = (($196) + 1)|0;
- $b = $inc352;
- }
- $197 = $ret;
- $198 = $saved_stack;
- _llvm_stackrestore(($198|0));
- STACKTOP = sp;return ($197|0);
-}
-function _silk_min_int_451($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_VAD_GetNoiseLevels($pX,$psSilk_VAD) {
- $pX = $pX|0;
- $psSilk_VAD = $psSilk_VAD|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $7 = 0, $8 = 0, $9 = 0, $NL = 0, $NL81 = 0, $NoiseLevelBias = 0, $NoiseLevelBias7 = 0, $add = 0, $add24 = 0, $add26 = 0, $add29 = 0, $add41 = 0, $add43 = 0, $add46 = 0, $add5 = 0, $add50 = 0, $add68 = 0, $add69 = 0, $add9 = 0;
- var $and = 0, $and19 = 0, $and36 = 0, $and47 = 0, $and63 = 0, $arrayidx = 0, $arrayidx3 = 0, $arrayidx4 = 0, $arrayidx53 = 0, $arrayidx55 = 0, $arrayidx6 = 0, $arrayidx61 = 0, $arrayidx71 = 0, $arrayidx73 = 0, $arrayidx8 = 0, $arrayidx82 = 0, $call = 0, $cmp = 0, $cmp11 = 0, $cmp14 = 0;
- var $cmp2 = 0, $cmp75 = 0, $coef = 0, $cond = 0, $cond80 = 0, $conv = 0, $conv18 = 0, $conv20 = 0, $conv21 = 0, $conv33 = 0, $conv34 = 0, $conv37 = 0, $conv38 = 0, $conv57 = 0, $conv58 = 0, $conv64 = 0, $conv65 = 0, $counter = 0, $counter1 = 0, $counter83 = 0;
- var $div = 0, $div10 = 0, $div74 = 0, $inc = 0, $inc84 = 0, $inv_NL = 0, $inv_NL54 = 0, $inv_NL60 = 0, $inv_NL70 = 0, $inv_NL72 = 0, $inv_nrg = 0, $k = 0, $min_coef = 0, $mul = 0, $mul22 = 0, $mul28 = 0, $mul31 = 0, $mul35 = 0, $mul39 = 0, $mul45 = 0;
- var $mul48 = 0, $mul59 = 0, $mul66 = 0, $nl = 0, $nrg = 0, $pX$addr = 0, $psSilk_VAD$addr = 0, $shl = 0, $shr = 0, $shr17 = 0, $shr23 = 0, $shr25 = 0, $shr27 = 0, $shr30 = 0, $shr32 = 0, $shr40 = 0, $shr42 = 0, $shr44 = 0, $shr49 = 0, $shr56 = 0;
- var $shr67 = 0, $sub = 0, $sub62 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $pX$addr = $pX;
- $psSilk_VAD$addr = $psSilk_VAD;
- $0 = $psSilk_VAD$addr;
- $counter = ((($0)) + 108|0);
- $1 = HEAP32[$counter>>2]|0;
- $cmp = ($1|0)<(1000);
- if ($cmp) {
- $2 = $psSilk_VAD$addr;
- $counter1 = ((($2)) + 108|0);
- $3 = HEAP32[$counter1>>2]|0;
- $shr = $3 >> 4;
- $add = (($shr) + 1)|0;
- $div = (32767 / ($add|0))&-1;
- $min_coef = $div;
- } else {
- $min_coef = 0;
- }
- $k = 0;
- while(1) {
- $4 = $k;
- $cmp2 = ($4|0)<(4);
- $5 = $psSilk_VAD$addr;
- if (!($cmp2)) {
- break;
- }
- $NL = ((($5)) + 60|0);
- $6 = $k;
- $arrayidx = (($NL) + ($6<<2)|0);
- $7 = HEAP32[$arrayidx>>2]|0;
- $nl = $7;
- $8 = $pX$addr;
- $9 = $k;
- $arrayidx3 = (($8) + ($9<<2)|0);
- $10 = HEAP32[$arrayidx3>>2]|0;
- $11 = $psSilk_VAD$addr;
- $NoiseLevelBias = ((($11)) + 92|0);
- $12 = $k;
- $arrayidx4 = (($NoiseLevelBias) + ($12<<2)|0);
- $13 = HEAP32[$arrayidx4>>2]|0;
- $add5 = (($10) + ($13))|0;
- $and = $add5 & -2147483648;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $cond = 2147483647;
- } else {
- $14 = $pX$addr;
- $15 = $k;
- $arrayidx6 = (($14) + ($15<<2)|0);
- $16 = HEAP32[$arrayidx6>>2]|0;
- $17 = $psSilk_VAD$addr;
- $NoiseLevelBias7 = ((($17)) + 92|0);
- $18 = $k;
- $arrayidx8 = (($NoiseLevelBias7) + ($18<<2)|0);
- $19 = HEAP32[$arrayidx8>>2]|0;
- $add9 = (($16) + ($19))|0;
- $cond = $add9;
- }
- $nrg = $cond;
- $20 = $nrg;
- $div10 = (2147483647 / ($20|0))&-1;
- $inv_nrg = $div10;
- $21 = $nrg;
- $22 = $nl;
- $shl = $22 << 3;
- $cmp11 = ($21|0)>($shl|0);
do {
- if ($cmp11) {
- $coef = 128;
- } else {
- $23 = $nrg;
- $24 = $nl;
- $cmp14 = ($23|0)<($24|0);
- if ($cmp14) {
- $coef = 1024;
+ if ((label|0) == 49) {
+ label = 0;
+ $435 = $9;
+ $436 = HEAP32[$435>>2]|0;
+ $437 = ($436|0)==(2);
+ if ($437) {
+ $438 = $9;
+ $439 = ((($438)) + 4|0);
+ $440 = HEAP32[$439>>2]|0;
+ $441 = ($440|0)==(1);
+ if ($441) {
+ $15 = 0;
+ while(1) {
+ $442 = $15;
+ $443 = $25;
+ $444 = ($442|0)<($443|0);
+ if (!($444)) {
+ break;
+ }
+ $445 = $10;
+ $446 = $15;
+ $447 = $446<<1;
+ $448 = (($445) + ($447<<1)|0);
+ $449 = HEAP16[$448>>1]|0;
+ $450 = $449 << 16 >> 16;
+ $451 = $10;
+ $452 = $15;
+ $453 = $452<<1;
+ $454 = (($453) + 1)|0;
+ $455 = (($451) + ($454<<1)|0);
+ $456 = HEAP16[$455>>1]|0;
+ $457 = $456 << 16 >> 16;
+ $458 = (($450) + ($457))|0;
+ $32 = $458;
+ $459 = $32;
+ $460 = $459 >> 1;
+ $461 = $32;
+ $462 = $461 & 1;
+ $463 = (($460) + ($462))|0;
+ $464 = $463&65535;
+ $465 = $15;
+ $466 = (($302) + ($465<<1)|0);
+ HEAP16[$466>>1] = $464;
+ $467 = $15;
+ $468 = (($467) + 1)|0;
+ $15 = $468;
+ }
+ $469 = $33;
+ $470 = ((($469)) + 5808|0);
+ $471 = $33;
+ $472 = ((($471)) + 5128|0);
+ $473 = $33;
+ $474 = ((($473)) + 5772|0);
+ $475 = HEAP32[$474>>2]|0;
+ $476 = (($475) + 2)|0;
+ $477 = (($472) + ($476<<1)|0);
+ $478 = $25;
+ $479 = (_silk_resampler($470,$477,$302,$478)|0);
+ $480 = $21;
+ $481 = (($480) + ($479))|0;
+ $21 = $481;
+ $482 = $33;
+ $483 = ((($482)) + 24552|0);
+ $484 = HEAP32[$483>>2]|0;
+ $485 = ($484|0)==(2);
+ L82: do {
+ if ($485) {
+ $486 = $33;
+ $487 = ((($486)) + 5780|0);
+ $488 = HEAP32[$487>>2]|0;
+ $489 = ($488|0)==(0);
+ if ($489) {
+ $490 = $33;
+ $491 = ((($490)) + 12240|0);
+ $492 = ((($491)) + 5808|0);
+ $493 = $33;
+ $494 = ((($493)) + 12240|0);
+ $495 = ((($494)) + 5128|0);
+ $496 = $33;
+ $497 = ((($496)) + 12240|0);
+ $498 = ((($497)) + 5772|0);
+ $499 = HEAP32[$498>>2]|0;
+ $500 = (($499) + 2)|0;
+ $501 = (($495) + ($500<<1)|0);
+ $502 = $25;
+ $503 = (_silk_resampler($492,$501,$302,$502)|0);
+ $504 = $21;
+ $505 = (($504) + ($503))|0;
+ $21 = $505;
+ $15 = 0;
+ while(1) {
+ $506 = $15;
+ $507 = $33;
+ $508 = ((($507)) + 4608|0);
+ $509 = HEAP32[$508>>2]|0;
+ $510 = ($506|0)<($509|0);
+ if (!($510)) {
+ break L82;
+ }
+ $511 = $33;
+ $512 = ((($511)) + 5128|0);
+ $513 = $33;
+ $514 = ((($513)) + 5772|0);
+ $515 = HEAP32[$514>>2]|0;
+ $516 = $15;
+ $517 = (($515) + ($516))|0;
+ $518 = (($517) + 2)|0;
+ $519 = (($512) + ($518<<1)|0);
+ $520 = HEAP16[$519>>1]|0;
+ $521 = $520 << 16 >> 16;
+ $522 = $33;
+ $523 = ((($522)) + 12240|0);
+ $524 = ((($523)) + 5128|0);
+ $525 = $33;
+ $526 = ((($525)) + 12240|0);
+ $527 = ((($526)) + 5772|0);
+ $528 = HEAP32[$527>>2]|0;
+ $529 = $15;
+ $530 = (($528) + ($529))|0;
+ $531 = (($530) + 2)|0;
+ $532 = (($524) + ($531<<1)|0);
+ $533 = HEAP16[$532>>1]|0;
+ $534 = $533 << 16 >> 16;
+ $535 = (($521) + ($534))|0;
+ $536 = $535 >> 1;
+ $537 = $536&65535;
+ $538 = $33;
+ $539 = ((($538)) + 5128|0);
+ $540 = $33;
+ $541 = ((($540)) + 5772|0);
+ $542 = HEAP32[$541>>2]|0;
+ $543 = $15;
+ $544 = (($542) + ($543))|0;
+ $545 = (($544) + 2)|0;
+ $546 = (($539) + ($545<<1)|0);
+ HEAP16[$546>>1] = $537;
+ $547 = $15;
+ $548 = (($547) + 1)|0;
+ $15 = $548;
+ }
+ }
+ }
+ } while(0);
+ $549 = $22;
+ $550 = $33;
+ $$sink$sink = $550;$$sink23 = 0;$$sink8$sink = $549;
+ break;
+ }
+ }
+ $551 = $10;
+ $552 = $25;
+ $553 = $552<<1;
+ _memcpy(($302|0),($551|0),($553|0))|0;
+ $554 = $33;
+ $555 = ((($554)) + 5808|0);
+ $556 = $33;
+ $557 = ((($556)) + 5128|0);
+ $558 = $33;
+ $559 = ((($558)) + 5772|0);
+ $560 = HEAP32[$559>>2]|0;
+ $561 = (($560) + 2)|0;
+ $562 = (($557) + ($561<<1)|0);
+ $563 = $25;
+ $564 = (_silk_resampler($555,$562,$302,$563)|0);
+ $565 = $21;
+ $566 = (($565) + ($564))|0;
+ $21 = $566;
+ $567 = $22;
+ $568 = $33;
+ $$sink$sink = $568;$$sink23 = 0;$$sink8$sink = $567;
+ }
+ } while(0);
+ $569 = (($$sink$sink) + (($$sink23*12240)|0)|0);
+ $570 = ((($569)) + 5772|0);
+ $571 = HEAP32[$570>>2]|0;
+ $572 = (($571) + ($$sink8$sink))|0;
+ HEAP32[$570>>2] = $572;
+ $573 = $25;
+ $574 = $9;
+ $575 = HEAP32[$574>>2]|0;
+ $576 = Math_imul($573, $575)|0;
+ $577 = $10;
+ $578 = (($577) + ($576<<1)|0);
+ $10 = $578;
+ $579 = $25;
+ $580 = $11;
+ $581 = (($580) - ($579))|0;
+ $11 = $581;
+ $582 = $33;
+ $583 = ((($582)) + 24560|0);
+ HEAP32[$583>>2] = 0;
+ $584 = $33;
+ $585 = ((($584)) + 5772|0);
+ $586 = HEAP32[$585>>2]|0;
+ $587 = $33;
+ $588 = ((($587)) + 4608|0);
+ $589 = HEAP32[$588>>2]|0;
+ $590 = ($586|0)>=($589|0);
+ if (!($590)) {
+ break;
+ }
+ $591 = $33;
+ $592 = ((($591)) + 5780|0);
+ $593 = HEAP32[$592>>2]|0;
+ $594 = ($593|0)!=(0);
+ $595 = $14;
+ $596 = ($595|0)!=(0);
+ $or$cond13 = $594 | $596;
+ if (!($or$cond13)) {
+ ;HEAP8[$40>>0]=0|0;HEAP8[$40+1>>0]=0|0;
+ $597 = $33;
+ $598 = ((($597)) + 5776|0);
+ $599 = HEAP32[$598>>2]|0;
+ $600 = (($599) + 1)|0;
+ $601 = $9;
+ $602 = ((($601)) + 4|0);
+ $603 = HEAP32[$602>>2]|0;
+ $604 = Math_imul($600, $603)|0;
+ $605 = 256 >> $604;
+ $606 = (256 - ($605))|0;
+ $607 = $606&255;
+ HEAP8[$40>>0] = $607;
+ $608 = $12;
+ _ec_enc_icdf($608,0,$40,8);
+ $15 = 0;
+ while(1) {
+ $609 = $15;
+ $610 = $9;
+ $611 = ((($610)) + 4|0);
+ $612 = HEAP32[$611>>2]|0;
+ $613 = ($609|0)<($612|0);
+ if (!($613)) {
+ break;
+ }
+ $31 = 0;
+ $16 = 0;
+ while(1) {
+ $614 = $16;
+ $615 = $33;
+ $616 = $15;
+ $617 = (($615) + (($616*12240)|0)|0);
+ $618 = ((($617)) + 5776|0);
+ $619 = HEAP32[$618>>2]|0;
+ $620 = ($614|0)<($619|0);
+ if (!($620)) {
+ break;
+ }
+ $621 = $33;
+ $622 = $15;
+ $623 = (($621) + (($622*12240)|0)|0);
+ $624 = ((($623)) + 4756|0);
+ $625 = $16;
+ $626 = (($624) + ($625<<2)|0);
+ $627 = HEAP32[$626>>2]|0;
+ $628 = $16;
+ $629 = $627 << $628;
+ $630 = $31;
+ $631 = $630 | $629;
+ $31 = $631;
+ $632 = $16;
+ $633 = (($632) + 1)|0;
+ $16 = $633;
+ }
+ $634 = $31;
+ $635 = ($634|0)>(0);
+ $636 = $635 ? 1 : 0;
+ $637 = $636&255;
+ $638 = $33;
+ $639 = $15;
+ $640 = (($638) + (($639*12240)|0)|0);
+ $641 = ((($640)) + 4755|0);
+ HEAP8[$641>>0] = $637;
+ $642 = $31;
+ $643 = ($642|0)!=(0);
+ if ($643) {
+ $644 = $33;
+ $645 = $15;
+ $646 = (($644) + (($645*12240)|0)|0);
+ $647 = ((($646)) + 5776|0);
+ $648 = HEAP32[$647>>2]|0;
+ $649 = ($648|0)>(1);
+ if ($649) {
+ $650 = $12;
+ $651 = $31;
+ $652 = (($651) - 1)|0;
+ $653 = $33;
+ $654 = $15;
+ $655 = (($653) + (($654*12240)|0)|0);
+ $656 = ((($655)) + 5776|0);
+ $657 = HEAP32[$656>>2]|0;
+ $658 = (($657) - 2)|0;
+ $659 = (16804 + ($658<<2)|0);
+ $660 = HEAP32[$659>>2]|0;
+ _ec_enc_icdf($650,$652,$660,8);
+ }
+ }
+ $661 = $15;
+ $662 = (($661) + 1)|0;
+ $15 = $662;
+ }
+ $16 = 0;
+ while(1) {
+ $663 = $16;
+ $664 = $33;
+ $665 = ((($664)) + 5776|0);
+ $666 = HEAP32[$665>>2]|0;
+ $667 = ($663|0)<($666|0);
+ $15 = 0;
+ if (!($667)) {
+ break;
+ }
+ while(1) {
+ $668 = $15;
+ $669 = $9;
+ $670 = ((($669)) + 4|0);
+ $671 = HEAP32[$670>>2]|0;
+ $672 = ($668|0)<($671|0);
+ if (!($672)) {
+ break;
+ }
+ $673 = $33;
+ $674 = $15;
+ $675 = (($673) + (($674*12240)|0)|0);
+ $676 = ((($675)) + 4756|0);
+ $677 = $16;
+ $678 = (($676) + ($677<<2)|0);
+ $679 = HEAP32[$678>>2]|0;
+ $680 = ($679|0)!=(0);
+ if ($680) {
+ $681 = $9;
+ $682 = ((($681)) + 4|0);
+ $683 = HEAP32[$682>>2]|0;
+ $684 = ($683|0)==(2);
+ $685 = $15;
+ $686 = ($685|0)==(0);
+ $or$cond15 = $684 & $686;
+ if ($or$cond15) {
+ $687 = $12;
+ $688 = $33;
+ $689 = ((($688)) + 24480|0);
+ $690 = ((($689)) + 34|0);
+ $691 = $16;
+ $692 = (($690) + (($691*6)|0)|0);
+ _silk_stereo_encode_pred($687,$692);
+ $693 = $33;
+ $694 = ((($693)) + 12240|0);
+ $695 = ((($694)) + 4756|0);
+ $696 = $16;
+ $697 = (($695) + ($696<<2)|0);
+ $698 = HEAP32[$697>>2]|0;
+ $699 = ($698|0)==(0);
+ if ($699) {
+ $700 = $12;
+ $701 = $33;
+ $702 = ((($701)) + 24480|0);
+ $703 = ((($702)) + 52|0);
+ $704 = $16;
+ $705 = (($703) + ($704)|0);
+ $706 = HEAP8[$705>>0]|0;
+ _silk_stereo_encode_mid_only($700,$706);
+ }
+ }
+ $707 = $16;
+ $708 = ($707|0)>(0);
+ if ($708) {
+ $709 = $33;
+ $710 = $15;
+ $711 = (($709) + (($710*12240)|0)|0);
+ $712 = ((($711)) + 4756|0);
+ $713 = $16;
+ $714 = (($713) - 1)|0;
+ $715 = (($712) + ($714<<2)|0);
+ $716 = HEAP32[$715>>2]|0;
+ $717 = ($716|0)!=(0);
+ if ($717) {
+ $41 = 2;
+ } else {
+ label = 82;
+ }
+ } else {
+ label = 82;
+ }
+ if ((label|0) == 82) {
+ label = 0;
+ $41 = 0;
+ }
+ $718 = $33;
+ $719 = $15;
+ $720 = (($718) + (($719*12240)|0)|0);
+ $721 = $12;
+ $722 = $16;
+ $723 = $41;
+ _silk_encode_indices($720,$721,$722,1,$723);
+ $724 = $12;
+ $725 = $33;
+ $726 = $15;
+ $727 = (($725) + (($726*12240)|0)|0);
+ $728 = ((($727)) + 6132|0);
+ $729 = $16;
+ $730 = (($728) + (($729*36)|0)|0);
+ $731 = ((($730)) + 29|0);
+ $732 = HEAP8[$731>>0]|0;
+ $733 = $732 << 24 >> 24;
+ $734 = $33;
+ $735 = $15;
+ $736 = (($734) + (($735*12240)|0)|0);
+ $737 = ((($736)) + 6132|0);
+ $738 = $16;
+ $739 = (($737) + (($738*36)|0)|0);
+ $740 = ((($739)) + 30|0);
+ $741 = HEAP8[$740>>0]|0;
+ $742 = $741 << 24 >> 24;
+ $743 = $33;
+ $744 = $15;
+ $745 = (($743) + (($744*12240)|0)|0);
+ $746 = ((($745)) + 6240|0);
+ $747 = $16;
+ $748 = (($746) + (($747*320)|0)|0);
+ $749 = $33;
+ $750 = $15;
+ $751 = (($749) + (($750*12240)|0)|0);
+ $752 = ((($751)) + 4608|0);
+ $753 = HEAP32[$752>>2]|0;
+ _silk_encode_pulses($724,$733,$742,$748,$753);
+ }
+ $754 = $15;
+ $755 = (($754) + 1)|0;
+ $15 = $755;
+ }
+ $756 = $16;
+ $757 = (($756) + 1)|0;
+ $16 = $757;
+ }
+ while(1) {
+ $758 = $15;
+ $759 = $9;
+ $760 = ((($759)) + 4|0);
+ $761 = HEAP32[$760>>2]|0;
+ $762 = ($758|0)<($761|0);
+ if (!($762)) {
+ break;
+ }
+ $763 = $33;
+ $764 = $15;
+ $765 = (($763) + (($764*12240)|0)|0);
+ $766 = ((($765)) + 4756|0);
+ ;HEAP32[$766>>2]=0|0;HEAP32[$766+4>>2]=0|0;HEAP32[$766+8>>2]=0|0;
+ $767 = $15;
+ $768 = (($767) + 1)|0;
+ $15 = $768;
+ }
+ $769 = $12;
+ $770 = (_ec_tell_154($769)|0);
+ $771 = $33;
+ $772 = ((($771)) + 24536|0);
+ HEAP32[$772>>2] = $770;
+ }
+ $773 = $33;
+ _silk_HP_variable_cutoff($773);
+ $774 = $9;
+ $775 = ((($774)) + 28|0);
+ $776 = HEAP32[$775>>2]|0;
+ $777 = $9;
+ $778 = ((($777)) + 24|0);
+ $779 = HEAP32[$778>>2]|0;
+ $780 = Math_imul($776, $779)|0;
+ $781 = (($780|0) / 1000)&-1;
+ $17 = $781;
+ $782 = $14;
+ $783 = ($782|0)!=(0);
+ if (!($783)) {
+ $784 = $33;
+ $785 = ((($784)) + 24536|0);
+ $786 = HEAP32[$785>>2]|0;
+ $787 = $17;
+ $788 = (($787) - ($786))|0;
+ $17 = $788;
+ }
+ $789 = $17;
+ $790 = $33;
+ $791 = ((($790)) + 5776|0);
+ $792 = HEAP32[$791>>2]|0;
+ $793 = (($789|0) / ($792|0))&-1;
+ $17 = $793;
+ $794 = $9;
+ $795 = ((($794)) + 24|0);
+ $796 = HEAP32[$795>>2]|0;
+ $797 = ($796|0)==(10);
+ $798 = $17;
+ $799 = $798&65535;
+ $800 = $799 << 16 >> 16;
+ if ($797) {
+ $801 = ($800*100)|0;
+ $28 = $801;
+ } else {
+ $802 = ($800*50)|0;
+ $28 = $802;
+ }
+ $803 = $33;
+ $804 = ((($803)) + 24540|0);
+ $805 = HEAP32[$804>>2]|0;
+ $806 = ($805*1000)|0;
+ $807 = (($806|0) / 500)&-1;
+ $808 = $28;
+ $809 = (($808) - ($807))|0;
+ $28 = $809;
+ $810 = $14;
+ $811 = ($810|0)!=(0);
+ if (!($811)) {
+ $812 = $33;
+ $813 = ((($812)) + 5780|0);
+ $814 = HEAP32[$813>>2]|0;
+ $815 = ($814|0)>(0);
+ if ($815) {
+ $816 = $12;
+ $817 = (_ec_tell_154($816)|0);
+ $818 = $33;
+ $819 = ((($818)) + 24536|0);
+ $820 = HEAP32[$819>>2]|0;
+ $821 = (($817) - ($820))|0;
+ $822 = $17;
+ $823 = $33;
+ $824 = ((($823)) + 5780|0);
+ $825 = HEAP32[$824>>2]|0;
+ $826 = Math_imul($822, $825)|0;
+ $827 = (($821) - ($826))|0;
+ $42 = $827;
+ $828 = $42;
+ $829 = ($828*1000)|0;
+ $830 = (($829|0) / 500)&-1;
+ $831 = $28;
+ $832 = (($831) - ($830))|0;
+ $28 = $832;
+ }
+ }
+ $833 = $9;
+ $834 = ((($833)) + 28|0);
+ $835 = HEAP32[$834>>2]|0;
+ $836 = ($835|0)>(5000);
+ $837 = $28;
+ do {
+ if ($836) {
+ $838 = $9;
+ $839 = ((($838)) + 28|0);
+ $840 = HEAP32[$839>>2]|0;
+ $841 = ($837|0)>($840|0);
+ if ($841) {
+ $842 = $9;
+ $843 = ((($842)) + 28|0);
+ $844 = HEAP32[$843>>2]|0;
+ $859 = $844;
break;
} else {
- $25 = $inv_nrg;
- $shr17 = $25 >> 16;
- $26 = $nl;
- $conv = $26&65535;
- $conv18 = $conv << 16 >> 16;
- $mul = Math_imul($shr17, $conv18)|0;
- $27 = $inv_nrg;
- $and19 = $27 & 65535;
- $28 = $nl;
- $conv20 = $28&65535;
- $conv21 = $conv20 << 16 >> 16;
- $mul22 = Math_imul($and19, $conv21)|0;
- $shr23 = $mul22 >> 16;
- $add24 = (($mul) + ($shr23))|0;
- $29 = $inv_nrg;
- $30 = $nl;
- $shr25 = $30 >> 15;
- $add26 = (($shr25) + 1)|0;
- $shr27 = $add26 >> 1;
- $mul28 = Math_imul($29, $shr27)|0;
- $add29 = (($add24) + ($mul28))|0;
- $shr30 = $add29 >> 16;
- $mul31 = $shr30<<11;
- $31 = $inv_nrg;
- $shr32 = $31 >> 16;
- $32 = $nl;
- $conv33 = $32&65535;
- $conv34 = $conv33 << 16 >> 16;
- $mul35 = Math_imul($shr32, $conv34)|0;
- $33 = $inv_nrg;
- $and36 = $33 & 65535;
- $34 = $nl;
- $conv37 = $34&65535;
- $conv38 = $conv37 << 16 >> 16;
- $mul39 = Math_imul($and36, $conv38)|0;
- $shr40 = $mul39 >> 16;
- $add41 = (($mul35) + ($shr40))|0;
- $35 = $inv_nrg;
- $36 = $nl;
- $shr42 = $36 >> 15;
- $add43 = (($shr42) + 1)|0;
- $shr44 = $add43 >> 1;
- $mul45 = Math_imul($35, $shr44)|0;
- $add46 = (($add41) + ($mul45))|0;
- $and47 = $add46 & 65535;
- $mul48 = $and47<<11;
- $shr49 = $mul48 >> 16;
- $add50 = (($mul31) + ($shr49))|0;
- $coef = $add50;
+ $845 = $28;
+ $846 = ($845|0)<(5000);
+ $847 = $28;
+ $848 = $846 ? 5000 : $847;
+ $859 = $848;
+ break;
+ }
+ } else {
+ $849 = ($837|0)>(5000);
+ if ($849) {
+ $859 = 5000;
+ } else {
+ $850 = $28;
+ $851 = $9;
+ $852 = ((($851)) + 28|0);
+ $853 = HEAP32[$852>>2]|0;
+ $854 = ($850|0)<($853|0);
+ if ($854) {
+ $855 = $9;
+ $856 = ((($855)) + 28|0);
+ $857 = HEAP32[$856>>2]|0;
+ $859 = $857;
+ break;
+ } else {
+ $858 = $28;
+ $859 = $858;
+ break;
+ }
+ }
+ }
+ } while(0);
+ $28 = $859;
+ $860 = $9;
+ $861 = ((($860)) + 4|0);
+ $862 = HEAP32[$861>>2]|0;
+ $863 = ($862|0)==(2);
+ $864 = $33;
+ if ($863) {
+ $865 = ((($864)) + 24480|0);
+ $866 = $33;
+ $867 = ((($866)) + 5128|0);
+ $868 = ((($867)) + 4|0);
+ $869 = $33;
+ $870 = ((($869)) + 12240|0);
+ $871 = ((($870)) + 5128|0);
+ $872 = ((($871)) + 4|0);
+ $873 = $33;
+ $874 = ((($873)) + 24480|0);
+ $875 = ((($874)) + 34|0);
+ $876 = $33;
+ $877 = ((($876)) + 5780|0);
+ $878 = HEAP32[$877>>2]|0;
+ $879 = (($875) + (($878*6)|0)|0);
+ $880 = $33;
+ $881 = ((($880)) + 24480|0);
+ $882 = ((($881)) + 52|0);
+ $883 = $33;
+ $884 = ((($883)) + 5780|0);
+ $885 = HEAP32[$884>>2]|0;
+ $886 = (($882) + ($885)|0);
+ $887 = $28;
+ $888 = $33;
+ $889 = ((($888)) + 4556|0);
+ $890 = HEAP32[$889>>2]|0;
+ $891 = $9;
+ $892 = ((($891)) + 56|0);
+ $893 = HEAP32[$892>>2]|0;
+ $894 = $33;
+ $895 = ((($894)) + 4600|0);
+ $896 = HEAP32[$895>>2]|0;
+ $897 = $33;
+ $898 = ((($897)) + 4608|0);
+ $899 = HEAP32[$898>>2]|0;
+ _silk_stereo_LR_to_MS($865,$868,$872,$879,$886,$29,$887,$890,$893,$896,$899);
+ $900 = $33;
+ $901 = ((($900)) + 24480|0);
+ $902 = ((($901)) + 52|0);
+ $903 = $33;
+ $904 = ((($903)) + 5780|0);
+ $905 = HEAP32[$904>>2]|0;
+ $906 = (($902) + ($905)|0);
+ $907 = HEAP8[$906>>0]|0;
+ $908 = $907 << 24 >> 24;
+ $909 = ($908|0)==(0);
+ $910 = $33;
+ if ($909) {
+ $911 = ((($910)) + 24564|0);
+ $912 = HEAP32[$911>>2]|0;
+ $913 = ($912|0)==(1);
+ if ($913) {
+ $914 = $33;
+ $915 = ((($914)) + 12240|0);
+ $916 = ((($915)) + 7200|0);
+ ;HEAP32[$916>>2]=0|0;HEAP32[$916+4>>2]=0|0;HEAP32[$916+8>>2]=0|0;HEAP32[$916+12>>2]=0|0;
+ $917 = $33;
+ $918 = ((($917)) + 12240|0);
+ $919 = ((($918)) + 7216|0);
+ _memset(($919|0),0,2140)|0;
+ $920 = $33;
+ $921 = ((($920)) + 12240|0);
+ $922 = ((($921)) + 144|0);
+ _memset(($922|0),0,4380)|0;
+ $923 = $33;
+ $924 = ((($923)) + 12240|0);
+ $925 = ((($924)) + 4524|0);
+ ;HEAP32[$925>>2]=0|0;HEAP32[$925+4>>2]=0|0;HEAP32[$925+8>>2]=0|0;HEAP32[$925+12>>2]=0|0;HEAP32[$925+16>>2]=0|0;HEAP32[$925+20>>2]=0|0;HEAP32[$925+24>>2]=0|0;HEAP32[$925+28>>2]=0|0;
+ $926 = $33;
+ $927 = ((($926)) + 12240|0);
+ $928 = ((($927)) + 16|0);
+ ;HEAP32[$928>>2]=0|0;HEAP32[$928+4>>2]=0|0;
+ $929 = $33;
+ $930 = ((($929)) + 12240|0);
+ $931 = ((($930)) + 4568|0);
+ HEAP32[$931>>2] = 100;
+ $932 = $33;
+ $933 = ((($932)) + 12240|0);
+ $934 = ((($933)) + 144|0);
+ $935 = ((($934)) + 4356|0);
+ HEAP32[$935>>2] = 100;
+ $936 = $33;
+ $937 = ((($936)) + 12240|0);
+ $938 = ((($937)) + 7200|0);
+ HEAP8[$938>>0] = 10;
+ $939 = $33;
+ $940 = ((($939)) + 12240|0);
+ $941 = ((($940)) + 4565|0);
+ HEAP8[$941>>0] = 0;
+ $942 = $33;
+ $943 = ((($942)) + 12240|0);
+ $944 = ((($943)) + 144|0);
+ $945 = ((($944)) + 4372|0);
+ HEAP32[$945>>2] = 65536;
+ $946 = $33;
+ $947 = ((($946)) + 12240|0);
+ $948 = ((($947)) + 4696|0);
+ HEAP32[$948>>2] = 1;
+ }
+ $949 = $33;
+ $950 = ((($949)) + 12240|0);
+ _silk_encode_do_VAD_FLP($950);
+ } else {
+ $951 = ((($910)) + 12240|0);
+ $952 = ((($951)) + 4752|0);
+ $953 = $33;
+ $954 = ((($953)) + 5780|0);
+ $955 = HEAP32[$954>>2]|0;
+ $956 = (($952) + ($955)|0);
+ HEAP8[$956>>0] = 0;
+ }
+ $957 = $14;
+ $958 = ($957|0)!=(0);
+ if (!($958)) {
+ $959 = $12;
+ $960 = $33;
+ $961 = ((($960)) + 24480|0);
+ $962 = ((($961)) + 34|0);
+ $963 = $33;
+ $964 = ((($963)) + 5780|0);
+ $965 = HEAP32[$964>>2]|0;
+ $966 = (($962) + (($965*6)|0)|0);
+ _silk_stereo_encode_pred($959,$966);
+ $967 = $33;
+ $968 = ((($967)) + 12240|0);
+ $969 = ((($968)) + 4752|0);
+ $970 = $33;
+ $971 = ((($970)) + 5780|0);
+ $972 = HEAP32[$971>>2]|0;
+ $973 = (($969) + ($972)|0);
+ $974 = HEAP8[$973>>0]|0;
+ $975 = $974 << 24 >> 24;
+ $976 = ($975|0)==(0);
+ if ($976) {
+ $977 = $12;
+ $978 = $33;
+ $979 = ((($978)) + 24480|0);
+ $980 = ((($979)) + 52|0);
+ $981 = $33;
+ $982 = ((($981)) + 5780|0);
+ $983 = HEAP32[$982>>2]|0;
+ $984 = (($980) + ($983)|0);
+ $985 = HEAP8[$984>>0]|0;
+ _silk_stereo_encode_mid_only($977,$985);
+ }
+ }
+ } else {
+ $986 = ((($864)) + 5128|0);
+ $987 = $33;
+ $988 = ((($987)) + 24480|0);
+ $989 = ((($988)) + 4|0);
+ ;HEAP32[$986>>2]=HEAP32[$989>>2]|0;
+ $990 = $33;
+ $991 = ((($990)) + 24480|0);
+ $992 = ((($991)) + 4|0);
+ $993 = $33;
+ $994 = ((($993)) + 5128|0);
+ $995 = $33;
+ $996 = ((($995)) + 4608|0);
+ $997 = HEAP32[$996>>2]|0;
+ $998 = (($994) + ($997<<1)|0);
+ ;HEAP16[$992>>1]=HEAP16[$998>>1]|0;HEAP16[$992+2>>1]=HEAP16[$998+2>>1]|0;
+ }
+ $999 = $33;
+ _silk_encode_do_VAD_FLP($999);
+ $15 = 0;
+ while(1) {
+ $1000 = $15;
+ $1001 = $9;
+ $1002 = ((($1001)) + 4|0);
+ $1003 = HEAP32[$1002>>2]|0;
+ $1004 = ($1000|0)<($1003|0);
+ if (!($1004)) {
+ break;
+ }
+ $1005 = $9;
+ $1006 = ((($1005)) + 52|0);
+ $1007 = HEAP32[$1006>>2]|0;
+ $43 = $1007;
+ $1008 = $36;
+ $1009 = ($1008|0)==(2);
+ $1010 = $35;
+ $1011 = ($1010|0)==(0);
+ $or$cond17 = $1009 & $1011;
+ do {
+ if ($or$cond17) {
+ $1012 = $43;
+ $1013 = ($1012*3)|0;
+ $1014 = (($1013|0) / 5)&-1;
+ $43 = $1014;
+ } else {
+ $1015 = $36;
+ $1016 = ($1015|0)==(3);
+ if ($1016) {
+ $1017 = $35;
+ $1018 = ($1017|0)==(0);
+ if ($1018) {
+ $1019 = $43;
+ $1020 = $1019<<1;
+ $1021 = (($1020|0) / 5)&-1;
+ $43 = $1021;
+ break;
+ }
+ $1022 = $35;
+ $1023 = ($1022|0)==(1);
+ if (!($1023)) {
+ break;
+ }
+ $1024 = $43;
+ $1025 = ($1024*3)|0;
+ $1026 = (($1025|0) / 4)&-1;
+ $43 = $1026;
+ }
+ }
+ } while(0);
+ $1027 = $9;
+ $1028 = ((($1027)) + 48|0);
+ $1029 = HEAP32[$1028>>2]|0;
+ $1030 = ($1029|0)!=(0);
+ if ($1030) {
+ $1031 = $35;
+ $1032 = $36;
+ $1033 = (($1032) - 1)|0;
+ $1034 = ($1031|0)==($1033|0);
+ $1036 = $1034;
+ } else {
+ $1036 = 0;
+ }
+ $1035 = $1036&1;
+ $44 = $1035;
+ $1037 = $9;
+ $1038 = ((($1037)) + 4|0);
+ $1039 = HEAP32[$1038>>2]|0;
+ $1040 = ($1039|0)==(1);
+ do {
+ if ($1040) {
+ $1041 = $28;
+ $30 = $1041;
+ } else {
+ $1042 = $15;
+ $1043 = (($29) + ($1042<<2)|0);
+ $1044 = HEAP32[$1043>>2]|0;
+ $30 = $1044;
+ $1045 = $15;
+ $1046 = ($1045|0)==(0);
+ if (!($1046)) {
+ break;
+ }
+ $1047 = ((($29)) + 4|0);
+ $1048 = HEAP32[$1047>>2]|0;
+ $1049 = ($1048|0)>(0);
+ if (!($1049)) {
+ break;
+ }
+ $44 = 0;
+ $1050 = $9;
+ $1051 = ((($1050)) + 52|0);
+ $1052 = HEAP32[$1051>>2]|0;
+ $1053 = $36;
+ $1054 = $1053<<1;
+ $1055 = (($1052|0) / ($1054|0))&-1;
+ $1056 = $43;
+ $1057 = (($1056) - ($1055))|0;
+ $43 = $1057;
+ }
+ } while(0);
+ $1058 = $30;
+ $1059 = ($1058|0)>(0);
+ if ($1059) {
+ $1060 = $33;
+ $1061 = $15;
+ $1062 = (($1060) + (($1061*12240)|0)|0);
+ $1063 = $30;
+ (_silk_control_SNR($1062,$1063)|0);
+ $1064 = $33;
+ $1065 = ((($1064)) + 5780|0);
+ $1066 = HEAP32[$1065>>2]|0;
+ $1067 = $15;
+ $1068 = (($1066) - ($1067))|0;
+ $1069 = ($1068|0)<=(0);
+ L188: do {
+ if ($1069) {
+ $45 = 0;
+ } else {
+ $1070 = $15;
+ $1071 = ($1070|0)>(0);
+ do {
+ if ($1071) {
+ $1072 = $33;
+ $1073 = ((($1072)) + 24564|0);
+ $1074 = HEAP32[$1073>>2]|0;
+ $1075 = ($1074|0)!=(0);
+ if (!($1075)) {
+ break;
+ }
+ $45 = 1;
+ break L188;
+ }
+ } while(0);
+ $45 = 2;
+ }
+ } while(0);
+ $1076 = $33;
+ $1077 = $15;
+ $1078 = (($1076) + (($1077*12240)|0)|0);
+ $1079 = $13;
+ $1080 = $12;
+ $1081 = $45;
+ $1082 = $43;
+ $1083 = $44;
+ $1084 = (_silk_encode_frame_FLP($1078,$1079,$1080,$1081,$1082,$1083)|0);
+ $21 = $1084;
+ }
+ $1085 = $33;
+ $1086 = $15;
+ $1087 = (($1085) + (($1086*12240)|0)|0);
+ $1088 = ((($1087)) + 4700|0);
+ HEAP32[$1088>>2] = 0;
+ $1089 = $33;
+ $1090 = $15;
+ $1091 = (($1089) + (($1090*12240)|0)|0);
+ $1092 = ((($1091)) + 5772|0);
+ HEAP32[$1092>>2] = 0;
+ $1093 = $33;
+ $1094 = $15;
+ $1095 = (($1093) + (($1094*12240)|0)|0);
+ $1096 = ((($1095)) + 5780|0);
+ $1097 = HEAP32[$1096>>2]|0;
+ $1098 = (($1097) + 1)|0;
+ HEAP32[$1096>>2] = $1098;
+ $1099 = $15;
+ $1100 = (($1099) + 1)|0;
+ $15 = $1100;
+ }
+ $1101 = $33;
+ $1102 = ((($1101)) + 24480|0);
+ $1103 = ((($1102)) + 52|0);
+ $1104 = $33;
+ $1105 = ((($1104)) + 5780|0);
+ $1106 = HEAP32[$1105>>2]|0;
+ $1107 = (($1106) - 1)|0;
+ $1108 = (($1103) + ($1107)|0);
+ $1109 = HEAP8[$1108>>0]|0;
+ $1110 = $1109 << 24 >> 24;
+ $1111 = $33;
+ $1112 = ((($1111)) + 24564|0);
+ HEAP32[$1112>>2] = $1110;
+ $1113 = $13;
+ $1114 = HEAP32[$1113>>2]|0;
+ $1115 = ($1114|0)>(0);
+ do {
+ if ($1115) {
+ $1116 = $33;
+ $1117 = ((($1116)) + 5780|0);
+ $1118 = HEAP32[$1117>>2]|0;
+ $1119 = $33;
+ $1120 = ((($1119)) + 5776|0);
+ $1121 = HEAP32[$1120>>2]|0;
+ $1122 = ($1118|0)==($1121|0);
+ if ($1122) {
+ $18 = 0;
+ $15 = 0;
+ while(1) {
+ $1123 = $15;
+ $1124 = $9;
+ $1125 = ((($1124)) + 4|0);
+ $1126 = HEAP32[$1125>>2]|0;
+ $1127 = ($1123|0)<($1126|0);
+ if (!($1127)) {
+ break;
+ }
+ $16 = 0;
+ while(1) {
+ $1128 = $16;
+ $1129 = $33;
+ $1130 = $15;
+ $1131 = (($1129) + (($1130*12240)|0)|0);
+ $1132 = ((($1131)) + 5776|0);
+ $1133 = HEAP32[$1132>>2]|0;
+ $1134 = ($1128|0)<($1133|0);
+ $1135 = $18;
+ $1136 = $1135 << 1;
+ $18 = $1136;
+ $1137 = $33;
+ $1138 = $15;
+ $1139 = (($1137) + (($1138*12240)|0)|0);
+ if (!($1134)) {
+ break;
+ }
+ $1140 = ((($1139)) + 4752|0);
+ $1141 = $16;
+ $1142 = (($1140) + ($1141)|0);
+ $1143 = HEAP8[$1142>>0]|0;
+ $1144 = $1143 << 24 >> 24;
+ $1145 = $18;
+ $1146 = $1145 | $1144;
+ $18 = $1146;
+ $1147 = $16;
+ $1148 = (($1147) + 1)|0;
+ $16 = $1148;
+ }
+ $1149 = ((($1139)) + 4755|0);
+ $1150 = HEAP8[$1149>>0]|0;
+ $1151 = $1150 << 24 >> 24;
+ $1152 = $18;
+ $1153 = $1152 | $1151;
+ $18 = $1153;
+ $1154 = $15;
+ $1155 = (($1154) + 1)|0;
+ $15 = $1155;
+ }
+ $1156 = $14;
+ $1157 = ($1156|0)!=(0);
+ if (!($1157)) {
+ $1158 = $12;
+ $1159 = $18;
+ $1160 = $33;
+ $1161 = ((($1160)) + 5776|0);
+ $1162 = HEAP32[$1161>>2]|0;
+ $1163 = (($1162) + 1)|0;
+ $1164 = $9;
+ $1165 = ((($1164)) + 4|0);
+ $1166 = HEAP32[$1165>>2]|0;
+ $1167 = Math_imul($1163, $1166)|0;
+ _ec_enc_patch_initial_bits($1158,$1159,$1167);
+ }
+ $1168 = $33;
+ $1169 = ((($1168)) + 6112|0);
+ $1170 = HEAP32[$1169>>2]|0;
+ $1171 = ($1170|0)!=(0);
+ do {
+ if ($1171) {
+ $1172 = $9;
+ $1173 = ((($1172)) + 4|0);
+ $1174 = HEAP32[$1173>>2]|0;
+ $1175 = ($1174|0)==(1);
+ if (!($1175)) {
+ $1176 = $33;
+ $1177 = ((($1176)) + 12240|0);
+ $1178 = ((($1177)) + 6112|0);
+ $1179 = HEAP32[$1178>>2]|0;
+ $1180 = ($1179|0)!=(0);
+ if (!($1180)) {
+ break;
+ }
+ }
+ $1181 = $13;
+ HEAP32[$1181>>2] = 0;
+ }
+ } while(0);
+ $1182 = $13;
+ $1183 = HEAP32[$1182>>2]|0;
+ $1184 = $1183<<3;
+ $1185 = $33;
+ $1186 = ((($1185)) + 24540|0);
+ $1187 = HEAP32[$1186>>2]|0;
+ $1188 = (($1187) + ($1184))|0;
+ HEAP32[$1186>>2] = $1188;
+ $1189 = $9;
+ $1190 = ((($1189)) + 28|0);
+ $1191 = HEAP32[$1190>>2]|0;
+ $1192 = $9;
+ $1193 = ((($1192)) + 24|0);
+ $1194 = HEAP32[$1193>>2]|0;
+ $1195 = Math_imul($1191, $1194)|0;
+ $1196 = (($1195|0) / 1000)&-1;
+ $1197 = $33;
+ $1198 = ((($1197)) + 24540|0);
+ $1199 = HEAP32[$1198>>2]|0;
+ $1200 = (($1199) - ($1196))|0;
+ HEAP32[$1198>>2] = $1200;
+ $1201 = $33;
+ $1202 = ((($1201)) + 24540|0);
+ $1203 = HEAP32[$1202>>2]|0;
+ $1204 = ($1203|0)>(10000);
+ do {
+ if ($1204) {
+ $1214 = 10000;
+ } else {
+ $1205 = $33;
+ $1206 = ((($1205)) + 24540|0);
+ $1207 = HEAP32[$1206>>2]|0;
+ $1208 = ($1207|0)<(0);
+ if ($1208) {
+ $1214 = 0;
+ break;
+ }
+ $1209 = $33;
+ $1210 = ((($1209)) + 24540|0);
+ $1211 = HEAP32[$1210>>2]|0;
+ $1214 = $1211;
+ }
+ } while(0);
+ $1212 = $33;
+ $1213 = ((($1212)) + 24540|0);
+ HEAP32[$1213>>2] = $1214;
+ $1215 = $33;
+ $1216 = ((($1215)) + 24556|0);
+ $1217 = HEAP32[$1216>>2]|0;
+ $1218 = $1217&65535;
+ $1219 = $1218 << 16 >> 16;
+ $1220 = 0;
+ $1221 = $33;
+ $1222 = ((($1221)) + 24556|0);
+ $1223 = HEAP32[$1222>>2]|0;
+ $1224 = $1223&65535;
+ $1225 = $1224 << 16 >> 16;
+ $1226 = ($1225*3188)|0;
+ $1227 = $1226 >> 16;
+ $1228 = (($1220) + ($1227))|0;
+ $1229 = (13 + ($1228))|0;
+ $27 = $1229;
+ $1230 = $33;
+ $1231 = ((($1230)) + 4556|0);
+ $1232 = HEAP32[$1231>>2]|0;
+ $1233 = $27;
+ $1234 = ($1232|0)<($1233|0);
+ $1235 = $33;
+ $1236 = ((($1235)) + 24560|0);
+ if ($1234) {
+ HEAP32[$1236>>2] = 1;
+ $1237 = $33;
+ $1238 = ((($1237)) + 24556|0);
+ HEAP32[$1238>>2] = 0;
+ break;
+ } else {
+ HEAP32[$1236>>2] = 0;
+ $1239 = $9;
+ $1240 = ((($1239)) + 24|0);
+ $1241 = HEAP32[$1240>>2]|0;
+ $1242 = $33;
+ $1243 = ((($1242)) + 24556|0);
+ $1244 = HEAP32[$1243>>2]|0;
+ $1245 = (($1244) + ($1241))|0;
+ HEAP32[$1243>>2] = $1245;
+ break;
+ }
+ }
+ }
+ } while(0);
+ $1246 = $11;
+ $1247 = ($1246|0)==(0);
+ if ($1247) {
+ break;
+ }
+ $1248 = $35;
+ $1249 = (($1248) + 1)|0;
+ $35 = $1249;
+ }
+ $1250 = $9;
+ $1251 = ((($1250)) + 4|0);
+ $1252 = HEAP32[$1251>>2]|0;
+ $1253 = $33;
+ $1254 = ((($1253)) + 24552|0);
+ HEAP32[$1254>>2] = $1252;
+ $1255 = $33;
+ $1256 = ((($1255)) + 24560|0);
+ $1257 = HEAP32[$1256>>2]|0;
+ $1258 = $9;
+ $1259 = ((($1258)) + 72|0);
+ HEAP32[$1259>>2] = $1257;
+ $1260 = $33;
+ $1261 = ((($1260)) + 4600|0);
+ $1262 = HEAP32[$1261>>2]|0;
+ $1263 = ($1262|0)==(16);
+ if ($1263) {
+ $1264 = $33;
+ $1265 = ((($1264)) + 16|0);
+ $1266 = ((($1265)) + 12|0);
+ $1267 = HEAP32[$1266>>2]|0;
+ $1268 = ($1267|0)==(0);
+ $1270 = $1268;
+ } else {
+ $1270 = 0;
+ }
+ $1269 = $1270&1;
+ $1271 = $9;
+ $1272 = ((($1271)) + 76|0);
+ HEAP32[$1272>>2] = $1269;
+ $1273 = $33;
+ $1274 = ((($1273)) + 4600|0);
+ $1275 = HEAP32[$1274>>2]|0;
+ $1276 = $1275&65535;
+ $1277 = $1276 << 16 >> 16;
+ $1278 = ($1277*1000)|0;
+ $1279 = $9;
+ $1280 = ((($1279)) + 68|0);
+ HEAP32[$1280>>2] = $1278;
+ $1281 = $9;
+ $1282 = ((($1281)) + 56|0);
+ $1283 = HEAP32[$1282>>2]|0;
+ $1284 = ($1283|0)!=(0);
+ if ($1284) {
+ $1292 = 0;
+ } else {
+ $1285 = $33;
+ $1286 = ((($1285)) + 24480|0);
+ $1287 = ((($1286)) + 28|0);
+ $1288 = HEAP16[$1287>>1]|0;
+ $1289 = $1288 << 16 >> 16;
+ $1292 = $1289;
+ }
+ $1290 = $9;
+ $1291 = ((($1290)) + 80|0);
+ HEAP32[$1291>>2] = $1292;
+ $1293 = $14;
+ $1294 = ($1293|0)!=(0);
+ L234: do {
+ if ($1294) {
+ $1295 = $19;
+ $1296 = $9;
+ $1297 = ((($1296)) + 24|0);
+ HEAP32[$1297>>2] = $1295;
+ $1298 = $20;
+ $1299 = $9;
+ $1300 = ((($1299)) + 36|0);
+ HEAP32[$1300>>2] = $1298;
+ $15 = 0;
+ while(1) {
+ $1301 = $15;
+ $1302 = $9;
+ $1303 = ((($1302)) + 4|0);
+ $1304 = HEAP32[$1303>>2]|0;
+ $1305 = ($1301|0)<($1304|0);
+ if (!($1305)) {
+ break L234;
+ }
+ $1306 = $33;
+ $1307 = $15;
+ $1308 = (($1306) + (($1307*12240)|0)|0);
+ $1309 = ((($1308)) + 4700|0);
+ HEAP32[$1309>>2] = 0;
+ $1310 = $33;
+ $1311 = $15;
+ $1312 = (($1310) + (($1311*12240)|0)|0);
+ $1313 = ((($1312)) + 4712|0);
+ HEAP32[$1313>>2] = 0;
+ $1314 = $15;
+ $1315 = (($1314) + 1)|0;
+ $15 = $1315;
+ }
+ }
+ } while(0);
+ $1316 = $21;
+ $7 = $1316;
+ $1317 = $38;
+ _llvm_stackrestore(($1317|0));
+ $1318 = $7;
+ STACKTOP = sp;return ($1318|0);
+}
+function _ec_tell_154($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 20|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (Math_clz32(($7|0))|0);
+ $9 = (32 - ($8))|0;
+ $10 = (($4) - ($9))|0;
+ STACKTOP = sp;return ($10|0);
+}
+function _silk_encode_indices($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
+ var $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
+ var $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0;
+ var $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0;
+ var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $15 = sp + 56|0;
+ $16 = sp + 88|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $20 = $8;
+ $21 = ($20|0)!=(0);
+ $22 = $5;
+ if ($21) {
+ $23 = ((($22)) + 6132|0);
+ $24 = $7;
+ $25 = (($23) + (($24*36)|0)|0);
+ $17 = $25;
+ } else {
+ $26 = ((($22)) + 4768|0);
+ $17 = $26;
+ }
+ $27 = $17;
+ $28 = ((($27)) + 29|0);
+ $29 = HEAP8[$28>>0]|0;
+ $30 = $29 << 24 >> 24;
+ $31 = $30<<1;
+ $32 = $17;
+ $33 = ((($32)) + 30|0);
+ $34 = HEAP8[$33>>0]|0;
+ $35 = $34 << 24 >> 24;
+ $36 = (($31) + ($35))|0;
+ $12 = $36;
+ $37 = $8;
+ $38 = ($37|0)!=(0);
+ $39 = $12;
+ $40 = ($39|0)>=(2);
+ $or$cond = $38 | $40;
+ $41 = $6;
+ $42 = $12;
+ if ($or$cond) {
+ $43 = (($42) - 2)|0;
+ _ec_enc_icdf($41,$43,27699,8);
+ } else {
+ _ec_enc_icdf($41,$42,27703,8);
+ }
+ $44 = $9;
+ $45 = ($44|0)==(2);
+ $46 = $6;
+ $47 = $17;
+ $48 = HEAP8[$47>>0]|0;
+ $49 = $48 << 24 >> 24;
+ if ($45) {
+ _ec_enc_icdf($46,$49,27162,8);
+ } else {
+ $50 = $49 >> 3;
+ $51 = $17;
+ $52 = ((($51)) + 29|0);
+ $53 = HEAP8[$52>>0]|0;
+ $54 = $53 << 24 >> 24;
+ $55 = (27138 + ($54<<3)|0);
+ _ec_enc_icdf($46,$50,$55,8);
+ $56 = $6;
+ $57 = $17;
+ $58 = HEAP8[$57>>0]|0;
+ $59 = $58 << 24 >> 24;
+ $60 = $59 & 7;
+ _ec_enc_icdf($56,$60,27728,8);
+ }
+ $10 = 1;
+ while(1) {
+ $61 = $10;
+ $62 = $5;
+ $63 = ((($62)) + 4604|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = ($61|0)<($64|0);
+ $66 = $6;
+ $67 = $17;
+ if (!($65)) {
+ break;
+ }
+ $68 = $10;
+ $69 = (($67) + ($68)|0);
+ $70 = HEAP8[$69>>0]|0;
+ $71 = $70 << 24 >> 24;
+ _ec_enc_icdf($66,$71,27162,8);
+ $72 = $10;
+ $73 = (($72) + 1)|0;
+ $10 = $73;
+ }
+ $74 = ((($67)) + 8|0);
+ $75 = HEAP8[$74>>0]|0;
+ $76 = $75 << 24 >> 24;
+ $77 = $5;
+ $78 = ((($77)) + 4724|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = ((($79)) + 12|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = $17;
+ $83 = ((($82)) + 29|0);
+ $84 = HEAP8[$83>>0]|0;
+ $85 = $84 << 24 >> 24;
+ $86 = $85 >> 1;
+ $87 = $5;
+ $88 = ((($87)) + 4724|0);
+ $89 = HEAP32[$88>>2]|0;
+ $90 = HEAP16[$89>>1]|0;
+ $91 = $90 << 16 >> 16;
+ $92 = Math_imul($86, $91)|0;
+ $93 = (($81) + ($92)|0);
+ _ec_enc_icdf($66,$76,$93,8);
+ $94 = $5;
+ $95 = ((($94)) + 4724|0);
+ $96 = HEAP32[$95>>2]|0;
+ $97 = $17;
+ $98 = ((($97)) + 8|0);
+ $99 = HEAP8[$98>>0]|0;
+ $100 = $99 << 24 >> 24;
+ _silk_NLSF_unpack($15,$16,$96,$100);
+ $10 = 0;
+ while(1) {
+ $101 = $10;
+ $102 = $5;
+ $103 = ((($102)) + 4724|0);
+ $104 = HEAP32[$103>>2]|0;
+ $105 = ((($104)) + 2|0);
+ $106 = HEAP16[$105>>1]|0;
+ $107 = $106 << 16 >> 16;
+ $108 = ($101|0)<($107|0);
+ if (!($108)) {
+ break;
+ }
+ $109 = $17;
+ $110 = ((($109)) + 8|0);
+ $111 = $10;
+ $112 = (($111) + 1)|0;
+ $113 = (($110) + ($112)|0);
+ $114 = HEAP8[$113>>0]|0;
+ $115 = $114 << 24 >> 24;
+ $116 = ($115|0)>=(4);
+ do {
+ if ($116) {
+ $117 = $6;
+ $118 = $5;
+ $119 = ((($118)) + 4724|0);
+ $120 = HEAP32[$119>>2]|0;
+ $121 = ((($120)) + 24|0);
+ $122 = HEAP32[$121>>2]|0;
+ $123 = $10;
+ $124 = (($15) + ($123<<1)|0);
+ $125 = HEAP16[$124>>1]|0;
+ $126 = $125 << 16 >> 16;
+ $127 = (($122) + ($126)|0);
+ _ec_enc_icdf($117,8,$127,8);
+ $128 = $6;
+ $129 = $17;
+ $130 = ((($129)) + 8|0);
+ $131 = $10;
+ $132 = (($131) + 1)|0;
+ $133 = (($130) + ($132)|0);
+ $134 = HEAP8[$133>>0]|0;
+ $135 = $134 << 24 >> 24;
+ $136 = (($135) - 4)|0;
+ _ec_enc_icdf($128,$136,27736,8);
+ } else {
+ $137 = $17;
+ $138 = ((($137)) + 8|0);
+ $139 = $10;
+ $140 = (($139) + 1)|0;
+ $141 = (($138) + ($140)|0);
+ $142 = HEAP8[$141>>0]|0;
+ $143 = $142 << 24 >> 24;
+ $144 = ($143|0)<=(-4);
+ $145 = $6;
+ if ($144) {
+ $146 = $5;
+ $147 = ((($146)) + 4724|0);
+ $148 = HEAP32[$147>>2]|0;
+ $149 = ((($148)) + 24|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = $10;
+ $152 = (($15) + ($151<<1)|0);
+ $153 = HEAP16[$152>>1]|0;
+ $154 = $153 << 16 >> 16;
+ $155 = (($150) + ($154)|0);
+ _ec_enc_icdf($145,0,$155,8);
+ $156 = $6;
+ $157 = $17;
+ $158 = ((($157)) + 8|0);
+ $159 = $10;
+ $160 = (($159) + 1)|0;
+ $161 = (($158) + ($160)|0);
+ $162 = HEAP8[$161>>0]|0;
+ $163 = $162 << 24 >> 24;
+ $164 = (0 - ($163))|0;
+ $165 = (($164) - 4)|0;
+ _ec_enc_icdf($156,$165,27736,8);
+ break;
+ } else {
+ $166 = $17;
+ $167 = ((($166)) + 8|0);
+ $168 = $10;
+ $169 = (($168) + 1)|0;
+ $170 = (($167) + ($169)|0);
+ $171 = HEAP8[$170>>0]|0;
+ $172 = $171 << 24 >> 24;
+ $173 = (($172) + 4)|0;
+ $174 = $5;
+ $175 = ((($174)) + 4724|0);
+ $176 = HEAP32[$175>>2]|0;
+ $177 = ((($176)) + 24|0);
+ $178 = HEAP32[$177>>2]|0;
+ $179 = $10;
+ $180 = (($15) + ($179<<1)|0);
+ $181 = HEAP16[$180>>1]|0;
+ $182 = $181 << 16 >> 16;
+ $183 = (($178) + ($182)|0);
+ _ec_enc_icdf($145,$173,$183,8);
break;
}
}
} while(0);
- $37 = $coef;
- $38 = $min_coef;
- $call = (_silk_max_int_456($37,$38)|0);
- $coef = $call;
- $39 = $psSilk_VAD$addr;
- $inv_NL = ((($39)) + 76|0);
- $40 = $k;
- $arrayidx53 = (($inv_NL) + ($40<<2)|0);
- $41 = HEAP32[$arrayidx53>>2]|0;
- $42 = $inv_nrg;
- $43 = $psSilk_VAD$addr;
- $inv_NL54 = ((($43)) + 76|0);
- $44 = $k;
- $arrayidx55 = (($inv_NL54) + ($44<<2)|0);
- $45 = HEAP32[$arrayidx55>>2]|0;
- $sub = (($42) - ($45))|0;
- $shr56 = $sub >> 16;
- $46 = $coef;
- $conv57 = $46&65535;
- $conv58 = $conv57 << 16 >> 16;
- $mul59 = Math_imul($shr56, $conv58)|0;
- $47 = $inv_nrg;
- $48 = $psSilk_VAD$addr;
- $inv_NL60 = ((($48)) + 76|0);
- $49 = $k;
- $arrayidx61 = (($inv_NL60) + ($49<<2)|0);
- $50 = HEAP32[$arrayidx61>>2]|0;
- $sub62 = (($47) - ($50))|0;
- $and63 = $sub62 & 65535;
- $51 = $coef;
- $conv64 = $51&65535;
- $conv65 = $conv64 << 16 >> 16;
- $mul66 = Math_imul($and63, $conv65)|0;
- $shr67 = $mul66 >> 16;
- $add68 = (($mul59) + ($shr67))|0;
- $add69 = (($41) + ($add68))|0;
- $52 = $psSilk_VAD$addr;
- $inv_NL70 = ((($52)) + 76|0);
- $53 = $k;
- $arrayidx71 = (($inv_NL70) + ($53<<2)|0);
- HEAP32[$arrayidx71>>2] = $add69;
- $54 = $psSilk_VAD$addr;
- $inv_NL72 = ((($54)) + 76|0);
- $55 = $k;
- $arrayidx73 = (($inv_NL72) + ($55<<2)|0);
- $56 = HEAP32[$arrayidx73>>2]|0;
- $div74 = (2147483647 / ($56|0))&-1;
- $nl = $div74;
- $57 = $nl;
- $cmp75 = ($57|0)<(16777215);
- $58 = $nl;
- $cond80 = $cmp75 ? $58 : 16777215;
- $nl = $cond80;
- $59 = $nl;
- $60 = $psSilk_VAD$addr;
- $NL81 = ((($60)) + 60|0);
- $61 = $k;
- $arrayidx82 = (($NL81) + ($61<<2)|0);
- HEAP32[$arrayidx82>>2] = $59;
- $62 = $k;
- $inc = (($62) + 1)|0;
- $k = $inc;
+ $184 = $10;
+ $185 = (($184) + 1)|0;
+ $10 = $185;
}
- $counter83 = ((($5)) + 108|0);
- $63 = HEAP32[$counter83>>2]|0;
- $inc84 = (($63) + 1)|0;
- HEAP32[$counter83>>2] = $inc84;
+ $186 = $5;
+ $187 = ((($186)) + 4604|0);
+ $188 = HEAP32[$187>>2]|0;
+ $189 = ($188|0)==(4);
+ if ($189) {
+ $190 = $6;
+ $191 = $17;
+ $192 = ((($191)) + 31|0);
+ $193 = HEAP8[$192>>0]|0;
+ $194 = $193 << 24 >> 24;
+ _ec_enc_icdf($190,$194,27705,8);
+ }
+ $195 = $17;
+ $196 = ((($195)) + 29|0);
+ $197 = HEAP8[$196>>0]|0;
+ $198 = $197 << 24 >> 24;
+ $199 = ($198|0)==(2);
+ if (!($199)) {
+ $301 = $17;
+ $302 = ((($301)) + 29|0);
+ $303 = HEAP8[$302>>0]|0;
+ $304 = $303 << 24 >> 24;
+ $305 = $5;
+ $306 = ((($305)) + 5800|0);
+ HEAP32[$306>>2] = $304;
+ $307 = $6;
+ $308 = $17;
+ $309 = ((($308)) + 34|0);
+ $310 = HEAP8[$309>>0]|0;
+ $311 = $310 << 24 >> 24;
+ _ec_enc_icdf($307,$311,27713,8);
+ STACKTOP = sp;return;
+ }
+ $13 = 1;
+ $200 = $9;
+ $201 = ($200|0)==(2);
+ if ($201) {
+ $202 = $5;
+ $203 = ((($202)) + 5800|0);
+ $204 = HEAP32[$203>>2]|0;
+ $205 = ($204|0)==(2);
+ if ($205) {
+ $206 = $17;
+ $207 = ((($206)) + 26|0);
+ $208 = HEAP16[$207>>1]|0;
+ $209 = $208 << 16 >> 16;
+ $210 = $5;
+ $211 = ((($210)) + 5804|0);
+ $212 = HEAP16[$211>>1]|0;
+ $213 = $212 << 16 >> 16;
+ $214 = (($209) - ($213))|0;
+ $14 = $214;
+ $215 = $14;
+ $216 = ($215|0)<(-8);
+ $217 = $14;
+ $218 = ($217|0)>(11);
+ $or$cond3 = $216 | $218;
+ if ($or$cond3) {
+ $14 = 0;
+ } else {
+ $219 = $14;
+ $220 = (($219) + 9)|0;
+ $14 = $220;
+ $13 = 0;
+ }
+ $221 = $6;
+ $222 = $14;
+ _ec_enc_icdf($221,$222,27775,8);
+ }
+ }
+ $223 = $13;
+ $224 = ($223|0)!=(0);
+ if ($224) {
+ $225 = $17;
+ $226 = ((($225)) + 26|0);
+ $227 = HEAP16[$226>>1]|0;
+ $228 = $227 << 16 >> 16;
+ $229 = $5;
+ $230 = ((($229)) + 4600|0);
+ $231 = HEAP32[$230>>2]|0;
+ $232 = $231 >> 1;
+ $233 = (($228|0) / ($232|0))&-1;
+ $18 = $233;
+ $234 = $17;
+ $235 = ((($234)) + 26|0);
+ $236 = HEAP16[$235>>1]|0;
+ $237 = $236 << 16 >> 16;
+ $238 = $18;
+ $239 = $238&65535;
+ $240 = $239 << 16 >> 16;
+ $241 = $5;
+ $242 = ((($241)) + 4600|0);
+ $243 = HEAP32[$242>>2]|0;
+ $244 = $243 >> 1;
+ $245 = $244&65535;
+ $246 = $245 << 16 >> 16;
+ $247 = Math_imul($240, $246)|0;
+ $248 = (($237) - ($247))|0;
+ $19 = $248;
+ $249 = $6;
+ $250 = $18;
+ _ec_enc_icdf($249,$250,27743,8);
+ $251 = $6;
+ $252 = $19;
+ $253 = $5;
+ $254 = ((($253)) + 4716|0);
+ $255 = HEAP32[$254>>2]|0;
+ _ec_enc_icdf($251,$252,$255,8);
+ }
+ $256 = $17;
+ $257 = ((($256)) + 26|0);
+ $258 = HEAP16[$257>>1]|0;
+ $259 = $5;
+ $260 = ((($259)) + 5804|0);
+ HEAP16[$260>>1] = $258;
+ $261 = $6;
+ $262 = $17;
+ $263 = ((($262)) + 28|0);
+ $264 = HEAP8[$263>>0]|0;
+ $265 = $264 << 24 >> 24;
+ $266 = $5;
+ $267 = ((($266)) + 4720|0);
+ $268 = HEAP32[$267>>2]|0;
+ _ec_enc_icdf($261,$265,$268,8);
+ $269 = $6;
+ $270 = $17;
+ $271 = ((($270)) + 32|0);
+ $272 = HEAP8[$271>>0]|0;
+ $273 = $272 << 24 >> 24;
+ _ec_enc_icdf($269,$273,27203,8);
+ $11 = 0;
+ while(1) {
+ $274 = $11;
+ $275 = $5;
+ $276 = ((($275)) + 4604|0);
+ $277 = HEAP32[$276>>2]|0;
+ $278 = ($274|0)<($277|0);
+ if (!($278)) {
+ break;
+ }
+ $279 = $6;
+ $280 = $17;
+ $281 = ((($280)) + 4|0);
+ $282 = $11;
+ $283 = (($281) + ($282)|0);
+ $284 = HEAP8[$283>>0]|0;
+ $285 = $284 << 24 >> 24;
+ $286 = $17;
+ $287 = ((($286)) + 32|0);
+ $288 = HEAP8[$287>>0]|0;
+ $289 = $288 << 24 >> 24;
+ $290 = (16660 + ($289<<2)|0);
+ $291 = HEAP32[$290>>2]|0;
+ _ec_enc_icdf($279,$285,$291,8);
+ $292 = $11;
+ $293 = (($292) + 1)|0;
+ $11 = $293;
+ }
+ $294 = $9;
+ $295 = ($294|0)==(0);
+ if (!($295)) {
+ $301 = $17;
+ $302 = ((($301)) + 29|0);
+ $303 = HEAP8[$302>>0]|0;
+ $304 = $303 << 24 >> 24;
+ $305 = $5;
+ $306 = ((($305)) + 5800|0);
+ HEAP32[$306>>2] = $304;
+ $307 = $6;
+ $308 = $17;
+ $309 = ((($308)) + 34|0);
+ $310 = HEAP8[$309>>0]|0;
+ $311 = $310 << 24 >> 24;
+ _ec_enc_icdf($307,$311,27713,8);
+ STACKTOP = sp;return;
+ }
+ $296 = $6;
+ $297 = $17;
+ $298 = ((($297)) + 33|0);
+ $299 = HEAP8[$298>>0]|0;
+ $300 = $299 << 24 >> 24;
+ _ec_enc_icdf($296,$300,27696,8);
+ $301 = $17;
+ $302 = ((($301)) + 29|0);
+ $303 = HEAP8[$302>>0]|0;
+ $304 = $303 << 24 >> 24;
+ $305 = $5;
+ $306 = ((($305)) + 5800|0);
+ HEAP32[$306>>2] = $304;
+ $307 = $6;
+ $308 = $17;
+ $309 = ((($308)) + 34|0);
+ $310 = HEAP8[$309>>0]|0;
+ $311 = $310 << 24 >> 24;
+ _ec_enc_icdf($307,$311,27713,8);
STACKTOP = sp;return;
}
-function _silk_SQRT_APPROX_452($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add17 = 0, $and = 0, $and9 = 0, $cmp = 0, $conv = 0, $conv10 = 0, $conv11 = 0;
- var $conv13 = 0, $conv14 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $frac_Q7 = 0, $lz = 0, $mul = 0, $mul12 = 0, $mul15 = 0, $mul8 = 0, $retval = 0, $shr = 0, $shr16 = 0, $shr3 = 0, $shr4 = 0, $tobool = 0, $x$addr = 0, $y = 0, label = 0;
- var sp = 0;
+function _silk_encode_pulses($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$alloca_mul = 0, $$alloca_mul23 = 0, $$alloca_mul25 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0;
+ var $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
+ var $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0;
+ var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0;
+ var $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
+ var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
+ var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
+ var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
+ var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
+ var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
+ var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
+ var $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0;
+ var $315 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0;
+ var $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0;
+ var $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, dest = 0, label = 0, sp = 0, stop = 0;
sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $lz = sp + 4|0;
- $frac_Q7 = sp;
- $x$addr = $x;
- $0 = $x$addr;
- $cmp = ($0|0)<=(0);
- if ($cmp) {
- $retval = 0;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
+ STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
+ $21 = sp + 24|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $17 = 0;
+ ;HEAP32[$21>>2]=0|0;HEAP32[$21+4>>2]=0|0;HEAP32[$21+8>>2]=0|0;HEAP32[$21+12>>2]=0|0;HEAP32[$21+16>>2]=0|0;HEAP32[$21+20>>2]=0|0;HEAP32[$21+24>>2]=0|0;HEAP32[$21+28>>2]=0|0;
+ $27 = $9;
+ $28 = $27 >> 4;
+ $13 = $28;
+ $29 = $13;
+ $30 = $29<<4;
+ $31 = $9;
+ $32 = ($30|0)<($31|0);
+ if ($32) {
+ $33 = $13;
+ $34 = (($33) + 1)|0;
+ $13 = $34;
+ $35 = $8;
+ $36 = $9;
+ $37 = (($35) + ($36)|0);
+ dest=$37; stop=dest+16|0; do { HEAP8[dest>>0]=0|0; dest=dest+1|0; } while ((dest|0) < (stop|0));
}
- $1 = $x$addr;
- _silk_CLZ_FRAC_453($1,$lz,$frac_Q7);
- $2 = HEAP32[$lz>>2]|0;
- $and = $2 & 1;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $y = 32768;
- } else {
- $y = 46214;
+ $38 = $13;
+ $39 = $38<<4;
+ $40 = (_llvm_stacksave()|0);
+ $26 = $40;
+ $$alloca_mul = $39<<2;
+ $41 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $10 = 0;
+ while(1) {
+ $42 = $10;
+ $43 = $13;
+ $44 = $43<<4;
+ $45 = ($42|0)<($44|0);
+ if (!($45)) {
+ break;
+ }
+ $46 = $8;
+ $47 = $10;
+ $48 = (($47) + 0)|0;
+ $49 = (($46) + ($48)|0);
+ $50 = HEAP8[$49>>0]|0;
+ $51 = $50 << 24 >> 24;
+ $52 = ($51|0)>(0);
+ $53 = $8;
+ $54 = $10;
+ $55 = (($54) + 0)|0;
+ $56 = (($53) + ($55)|0);
+ $57 = HEAP8[$56>>0]|0;
+ $58 = $57 << 24 >> 24;
+ $59 = (0 - ($58))|0;
+ $60 = $52 ? $58 : $59;
+ $61 = $10;
+ $62 = (($61) + 0)|0;
+ $63 = (($41) + ($62<<2)|0);
+ HEAP32[$63>>2] = $60;
+ $64 = $8;
+ $65 = $10;
+ $66 = (($65) + 1)|0;
+ $67 = (($64) + ($66)|0);
+ $68 = HEAP8[$67>>0]|0;
+ $69 = $68 << 24 >> 24;
+ $70 = ($69|0)>(0);
+ $71 = $8;
+ $72 = $10;
+ $73 = (($72) + 1)|0;
+ $74 = (($71) + ($73)|0);
+ $75 = HEAP8[$74>>0]|0;
+ $76 = $75 << 24 >> 24;
+ $77 = (0 - ($76))|0;
+ $78 = $70 ? $76 : $77;
+ $79 = $10;
+ $80 = (($79) + 1)|0;
+ $81 = (($41) + ($80<<2)|0);
+ HEAP32[$81>>2] = $78;
+ $82 = $8;
+ $83 = $10;
+ $84 = (($83) + 2)|0;
+ $85 = (($82) + ($84)|0);
+ $86 = HEAP8[$85>>0]|0;
+ $87 = $86 << 24 >> 24;
+ $88 = ($87|0)>(0);
+ $89 = $8;
+ $90 = $10;
+ $91 = (($90) + 2)|0;
+ $92 = (($89) + ($91)|0);
+ $93 = HEAP8[$92>>0]|0;
+ $94 = $93 << 24 >> 24;
+ $95 = (0 - ($94))|0;
+ $96 = $88 ? $94 : $95;
+ $97 = $10;
+ $98 = (($97) + 2)|0;
+ $99 = (($41) + ($98<<2)|0);
+ HEAP32[$99>>2] = $96;
+ $100 = $8;
+ $101 = $10;
+ $102 = (($101) + 3)|0;
+ $103 = (($100) + ($102)|0);
+ $104 = HEAP8[$103>>0]|0;
+ $105 = $104 << 24 >> 24;
+ $106 = ($105|0)>(0);
+ $107 = $8;
+ $108 = $10;
+ $109 = (($108) + 3)|0;
+ $110 = (($107) + ($109)|0);
+ $111 = HEAP8[$110>>0]|0;
+ $112 = $111 << 24 >> 24;
+ $113 = (0 - ($112))|0;
+ $114 = $106 ? $112 : $113;
+ $115 = $10;
+ $116 = (($115) + 3)|0;
+ $117 = (($41) + ($116<<2)|0);
+ HEAP32[$117>>2] = $114;
+ $118 = $10;
+ $119 = (($118) + 4)|0;
+ $10 = $119;
}
- $3 = HEAP32[$lz>>2]|0;
- $shr = $3 >> 1;
- $4 = $y;
- $shr3 = $4 >> $shr;
- $y = $shr3;
- $5 = $y;
- $6 = $y;
- $shr4 = $6 >> 16;
- $7 = HEAP32[$frac_Q7>>2]|0;
- $conv = $7&65535;
- $conv5 = $conv << 16 >> 16;
- $mul = ($conv5*213)|0;
- $conv6 = $mul&65535;
- $conv7 = $conv6 << 16 >> 16;
- $mul8 = Math_imul($shr4, $conv7)|0;
- $8 = $y;
- $and9 = $8 & 65535;
- $9 = HEAP32[$frac_Q7>>2]|0;
- $conv10 = $9&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = ($conv11*213)|0;
- $conv13 = $mul12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and9, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul8) + ($shr16))|0;
- $add17 = (($5) + ($add))|0;
- $y = $add17;
- $10 = $y;
- $retval = $10;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
-}
-function _silk_CLZ_FRAC_453($in,$lz,$frac_Q7) {
- $in = $in|0;
- $lz = $lz|0;
- $frac_Q7 = $frac_Q7|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $and = 0, $call = 0, $call1 = 0, $frac_Q7$addr = 0, $in$addr = 0, $lz$addr = 0, $lzeros = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in$addr = $in;
- $lz$addr = $lz;
- $frac_Q7$addr = $frac_Q7;
- $0 = $in$addr;
- $call = (_silk_CLZ32_454($0)|0);
- $lzeros = $call;
- $1 = $lzeros;
- $2 = $lz$addr;
- HEAP32[$2>>2] = $1;
- $3 = $in$addr;
- $4 = $lzeros;
- $sub = (24 - ($4))|0;
- $call1 = (_silk_ROR32_455($3,$sub)|0);
- $and = $call1 & 127;
- $5 = $frac_Q7$addr;
- HEAP32[$5>>2] = $and;
+ $120 = $13;
+ $$alloca_mul23 = $120<<2;
+ $121 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul23)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul23)|0)+15)&-16)|0);;
+ $122 = $13;
+ $$alloca_mul25 = $122<<2;
+ $123 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul25)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul25)|0)+15)&-16)|0);;
+ $22 = $41;
+ $10 = 0;
+ while(1) {
+ $124 = $10;
+ $125 = $13;
+ $126 = ($124|0)<($125|0);
+ if (!($126)) {
+ break;
+ }
+ $127 = $10;
+ $128 = (($123) + ($127<<2)|0);
+ HEAP32[$128>>2] = 0;
+ L11: while(1) {
+ $129 = $22;
+ $130 = HEAP8[27856]|0;
+ $131 = $130&255;
+ $132 = (_combine_and_check($21,$129,$131,8)|0);
+ $16 = $132;
+ $133 = HEAP8[(27857)>>0]|0;
+ $134 = $133&255;
+ $135 = (_combine_and_check($21,$21,$134,4)|0);
+ $136 = $16;
+ $137 = (($136) + ($135))|0;
+ $16 = $137;
+ $138 = HEAP8[(27858)>>0]|0;
+ $139 = $138&255;
+ $140 = (_combine_and_check($21,$21,$139,2)|0);
+ $141 = $16;
+ $142 = (($141) + ($140))|0;
+ $16 = $142;
+ $143 = $10;
+ $144 = (($121) + ($143<<2)|0);
+ $145 = HEAP8[(27859)>>0]|0;
+ $146 = $145&255;
+ $147 = (_combine_and_check($144,$21,$146,1)|0);
+ $148 = $16;
+ $149 = (($148) + ($147))|0;
+ $16 = $149;
+ $150 = $16;
+ $151 = ($150|0)!=(0);
+ if (!($151)) {
+ break;
+ }
+ $152 = $10;
+ $153 = (($123) + ($152<<2)|0);
+ $154 = HEAP32[$153>>2]|0;
+ $155 = (($154) + 1)|0;
+ HEAP32[$153>>2] = $155;
+ $11 = 0;
+ while(1) {
+ $156 = $11;
+ $157 = ($156|0)<(16);
+ if (!($157)) {
+ continue L11;
+ }
+ $158 = $22;
+ $159 = $11;
+ $160 = (($158) + ($159<<2)|0);
+ $161 = HEAP32[$160>>2]|0;
+ $162 = $161 >> 1;
+ $163 = $22;
+ $164 = $11;
+ $165 = (($163) + ($164<<2)|0);
+ HEAP32[$165>>2] = $162;
+ $166 = $11;
+ $167 = (($166) + 1)|0;
+ $11 = $167;
+ }
+ }
+ $168 = $22;
+ $169 = ((($168)) + 64|0);
+ $22 = $169;
+ $170 = $10;
+ $171 = (($170) + 1)|0;
+ $10 = $171;
+ }
+ $19 = 2147483647;
+ $11 = 0;
+ while(1) {
+ $172 = $11;
+ $173 = ($172|0)<(9);
+ if (!($173)) {
+ break;
+ }
+ $174 = $11;
+ $175 = (28040 + (($174*18)|0)|0);
+ $25 = $175;
+ $176 = $6;
+ $177 = $176 >> 1;
+ $178 = (28220 + (($177*9)|0)|0);
+ $179 = $11;
+ $180 = (($178) + ($179)|0);
+ $181 = HEAP8[$180>>0]|0;
+ $182 = $181&255;
+ $20 = $182;
+ $10 = 0;
+ while(1) {
+ $183 = $10;
+ $184 = $13;
+ $185 = ($183|0)<($184|0);
+ if (!($185)) {
+ break;
+ }
+ $186 = $10;
+ $187 = (($123) + ($186<<2)|0);
+ $188 = HEAP32[$187>>2]|0;
+ $189 = ($188|0)>(0);
+ $190 = $25;
+ if ($189) {
+ $191 = ((($190)) + 17|0);
+ $192 = HEAP8[$191>>0]|0;
+ $193 = $192&255;
+ $194 = $20;
+ $195 = (($194) + ($193))|0;
+ $20 = $195;
+ } else {
+ $196 = $10;
+ $197 = (($121) + ($196<<2)|0);
+ $198 = HEAP32[$197>>2]|0;
+ $199 = (($190) + ($198)|0);
+ $200 = HEAP8[$199>>0]|0;
+ $201 = $200&255;
+ $202 = $20;
+ $203 = (($202) + ($201))|0;
+ $20 = $203;
+ }
+ $204 = $10;
+ $205 = (($204) + 1)|0;
+ $10 = $205;
+ }
+ $206 = $20;
+ $207 = $19;
+ $208 = ($206|0)<($207|0);
+ if ($208) {
+ $209 = $20;
+ $19 = $209;
+ $210 = $11;
+ $17 = $210;
+ }
+ $211 = $11;
+ $212 = (($211) + 1)|0;
+ $11 = $212;
+ }
+ $213 = $5;
+ $214 = $17;
+ $215 = $6;
+ $216 = $215 >> 1;
+ $217 = (28202 + (($216*9)|0)|0);
+ _ec_enc_icdf($213,$214,$217,8);
+ $218 = $17;
+ $219 = (27860 + (($218*18)|0)|0);
+ $24 = $219;
+ $10 = 0;
+ while(1) {
+ $220 = $10;
+ $221 = $13;
+ $222 = ($220|0)<($221|0);
+ if (!($222)) {
+ break;
+ }
+ $223 = $10;
+ $224 = (($123) + ($223<<2)|0);
+ $225 = HEAP32[$224>>2]|0;
+ $226 = ($225|0)==(0);
+ $227 = $5;
+ if ($226) {
+ $228 = $10;
+ $229 = (($121) + ($228<<2)|0);
+ $230 = HEAP32[$229>>2]|0;
+ $231 = $24;
+ _ec_enc_icdf($227,$230,$231,8);
+ } else {
+ $232 = $24;
+ _ec_enc_icdf($227,17,$232,8);
+ $11 = 0;
+ while(1) {
+ $233 = $11;
+ $234 = $10;
+ $235 = (($123) + ($234<<2)|0);
+ $236 = HEAP32[$235>>2]|0;
+ $237 = (($236) - 1)|0;
+ $238 = ($233|0)<($237|0);
+ $239 = $5;
+ if (!($238)) {
+ break;
+ }
+ _ec_enc_icdf($239,17,(28022),8);
+ $240 = $11;
+ $241 = (($240) + 1)|0;
+ $11 = $241;
+ }
+ $242 = $10;
+ $243 = (($121) + ($242<<2)|0);
+ $244 = HEAP32[$243>>2]|0;
+ _ec_enc_icdf($239,$244,(28022),8);
+ }
+ $245 = $10;
+ $246 = (($245) + 1)|0;
+ $10 = $246;
+ }
+ $10 = 0;
+ while(1) {
+ $247 = $10;
+ $248 = $13;
+ $249 = ($247|0)<($248|0);
+ if (!($249)) {
+ break;
+ }
+ $250 = $10;
+ $251 = (($121) + ($250<<2)|0);
+ $252 = HEAP32[$251>>2]|0;
+ $253 = ($252|0)>(0);
+ if ($253) {
+ $254 = $5;
+ $255 = $10;
+ $256 = $255<<4;
+ $257 = (($41) + ($256<<2)|0);
+ _silk_shell_encoder($254,$257);
+ }
+ $258 = $10;
+ $259 = (($258) + 1)|0;
+ $10 = $259;
+ }
+ $10 = 0;
+ while(1) {
+ $260 = $10;
+ $261 = $13;
+ $262 = ($260|0)<($261|0);
+ if (!($262)) {
+ break;
+ }
+ $263 = $10;
+ $264 = (($123) + ($263<<2)|0);
+ $265 = HEAP32[$264>>2]|0;
+ $266 = ($265|0)>(0);
+ L56: do {
+ if ($266) {
+ $267 = $8;
+ $268 = $10;
+ $269 = $268<<4;
+ $270 = (($267) + ($269)|0);
+ $23 = $270;
+ $271 = $10;
+ $272 = (($123) + ($271<<2)|0);
+ $273 = HEAP32[$272>>2]|0;
+ $274 = (($273) - 1)|0;
+ $15 = $274;
+ $11 = 0;
+ while(1) {
+ $275 = $11;
+ $276 = ($275|0)<(16);
+ if (!($276)) {
+ break L56;
+ }
+ $277 = $23;
+ $278 = $11;
+ $279 = (($277) + ($278)|0);
+ $280 = HEAP8[$279>>0]|0;
+ $281 = $280 << 24 >> 24;
+ $282 = ($281|0)>(0);
+ $283 = $23;
+ $284 = $11;
+ $285 = (($283) + ($284)|0);
+ $286 = HEAP8[$285>>0]|0;
+ $287 = $286 << 24 >> 24;
+ $288 = (0 - ($287))|0;
+ $289 = $282 ? $287 : $288;
+ $290 = $289&255;
+ $291 = $290 << 24 >> 24;
+ $18 = $291;
+ $292 = $15;
+ $12 = $292;
+ while(1) {
+ $293 = $12;
+ $294 = ($293|0)>(0);
+ $295 = $18;
+ if (!($294)) {
+ break;
+ }
+ $296 = $12;
+ $297 = $295 >> $296;
+ $298 = $297 & 1;
+ $14 = $298;
+ $299 = $5;
+ $300 = $14;
+ _ec_enc_icdf($299,$300,27694,8);
+ $301 = $12;
+ $302 = (($301) + -1)|0;
+ $12 = $302;
+ }
+ $303 = $295 & 1;
+ $14 = $303;
+ $304 = $5;
+ $305 = $14;
+ _ec_enc_icdf($304,$305,27694,8);
+ $306 = $11;
+ $307 = (($306) + 1)|0;
+ $11 = $307;
+ }
+ }
+ } while(0);
+ $308 = $10;
+ $309 = (($308) + 1)|0;
+ $10 = $309;
+ }
+ $310 = $5;
+ $311 = $8;
+ $312 = $9;
+ $313 = $6;
+ $314 = $7;
+ _silk_encode_signs($310,$311,$312,$313,$314,$121);
+ $315 = $26;
+ _llvm_stackrestore(($315|0));
STACKTOP = sp;return;
}
-function _silk_CLZ32_454($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_ROR32_455($a32,$rot) {
- $a32 = $a32|0;
- $rot = $rot|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $a32$addr = 0, $cmp = 0, $cmp1 = 0, $m = 0, $or = 0, $or8 = 0;
- var $r = 0, $retval = 0, $rot$addr = 0, $shl = 0, $shl6 = 0, $shr = 0, $shr7 = 0, $sub = 0, $sub3 = 0, $sub5 = 0, $x = 0, label = 0, sp = 0;
+function _combine_and_check($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a32$addr = $a32;
- $rot$addr = $rot;
- $0 = $a32$addr;
- $x = $0;
- $1 = $rot$addr;
- $r = $1;
- $2 = $rot$addr;
- $sub = (0 - ($2))|0;
- $m = $sub;
- $3 = $rot$addr;
- $cmp = ($3|0)==(0);
- if ($cmp) {
- $4 = $a32$addr;
- $retval = $4;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = 0;
+ while(1) {
+ $11 = $9;
+ $12 = $8;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ label = 6;
+ break;
+ }
+ $14 = $6;
+ $15 = $9;
+ $16 = $15<<1;
+ $17 = (($14) + ($16<<2)|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = $6;
+ $20 = $9;
+ $21 = $20<<1;
+ $22 = (($21) + 1)|0;
+ $23 = (($19) + ($22<<2)|0);
+ $24 = HEAP32[$23>>2]|0;
+ $25 = (($18) + ($24))|0;
+ $10 = $25;
+ $26 = $10;
+ $27 = $7;
+ $28 = ($26|0)>($27|0);
+ if ($28) {
+ label = 4;
+ break;
+ }
+ $29 = $10;
+ $30 = $5;
+ $31 = $9;
+ $32 = (($30) + ($31<<2)|0);
+ HEAP32[$32>>2] = $29;
+ $33 = $9;
+ $34 = (($33) + 1)|0;
+ $9 = $34;
}
- $5 = $rot$addr;
- $cmp1 = ($5|0)<(0);
- $6 = $x;
- if ($cmp1) {
- $7 = $m;
- $shl = $6 << $7;
- $8 = $x;
- $9 = $m;
- $sub3 = (32 - ($9))|0;
- $shr = $8 >>> $sub3;
- $or = $shl | $shr;
- $retval = $or;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- } else {
- $10 = $r;
- $sub5 = (32 - ($10))|0;
- $shl6 = $6 << $sub5;
- $11 = $x;
- $12 = $r;
- $shr7 = $11 >>> $12;
- $or8 = $shl6 | $shr7;
- $retval = $or8;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
+ if ((label|0) == 4) {
+ $4 = 1;
+ $35 = $4;
+ STACKTOP = sp;return ($35|0);
+ }
+ else if ((label|0) == 6) {
+ $4 = 0;
+ $35 = $4;
+ STACKTOP = sp;return ($35|0);
}
return (0)|0;
}
-function _silk_max_int_456($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_control_audio_bandwidth($psEncC,$encControl) {
- $psEncC = $psEncC|0;
- $encControl = $encControl|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $9 = 0, $API_fs_Hz = 0, $API_fs_Hz17 = 0, $API_fs_Hz7 = 0, $API_fs_Hz7$sink = 0, $API_fs_Hz8 = 0, $add = 0, $add116 = 0, $allow_bandwidth_switch = 0, $cmp = 0, $cmp109 = 0, $cmp11 = 0, $cmp128 = 0, $cmp14 = 0;
- var $cmp19 = 0, $cmp27 = 0, $cmp36 = 0, $cmp4 = 0, $cmp48 = 0, $cmp53 = 0, $cmp66 = 0, $cmp72 = 0, $cmp89 = 0, $cmp9 = 0, $cmp96 = 0, $cond25 = 0, $cond33 = 0, $cond68 = 0, $cond98 = 0, $conv = 0, $conv2 = 0, $conv44 = 0, $conv45 = 0, $conv85 = 0;
- var $conv86 = 0, $desiredInternal_fs_Hz = 0, $desiredInternal_fs_Hz47 = 0, $desiredInternal_fs_Hz6 = 0, $desiredInternal_fs_Hz88 = 0, $div = 0, $div117 = 0, $div34 = 0, $div76 = 0, $encControl$addr = 0, $fs_Hz = 0, $fs_kHz = 0, $fs_kHz1 = 0, $fs_kHz43 = 0, $fs_kHz65 = 0, $fs_kHz84 = 0, $fs_kHz95 = 0, $maxBits = 0, $maxBits113 = 0, $maxBits118 = 0;
- var $maxBits77 = 0, $maxInternal_fs_Hz = 0, $maxInternal_fs_Hz18 = 0, $maxInternal_fs_Hz23 = 0, $minInternal_fs_Hz = 0, $minInternal_fs_Hz26 = 0, $minInternal_fs_Hz31 = 0, $mode = 0, $mode105 = 0, $mode108 = 0, $mode122 = 0, $mode127 = 0, $mode132 = 0, $mode52 = 0, $mode64 = 0, $mode80 = 0, $mul = 0, $mul114 = 0, $mul46 = 0, $mul75 = 0;
- var $mul87 = 0, $opusCanSwitch = 0, $opusCanSwitch60 = 0, $opusCanSwitch92 = 0, $payloadSize_ms = 0, $payloadSize_ms115 = 0, $psEncC$addr = 0, $sLP = 0, $sLP101 = 0, $sLP104 = 0, $sLP107 = 0, $sLP121 = 0, $sLP126 = 0, $sLP131 = 0, $sLP39 = 0, $sLP51 = 0, $sLP56 = 0, $sLP58 = 0, $sLP63 = 0, $sLP79 = 0;
- var $sLP99 = 0, $sub = 0, $sub119 = 0, $switchReady = 0, $switchReady112 = 0, $tobool = 0, $tobool41 = 0, $tobool61 = 0, $tobool93 = 0, $transition_frame_no = 0, $transition_frame_no100 = 0, $transition_frame_no57 = 0, $transition_frame_no71 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psEncC$addr = $psEncC;
- $encControl$addr = $encControl;
- $0 = $psEncC$addr;
- $fs_kHz1 = ((($0)) + 4600|0);
- $1 = HEAP32[$fs_kHz1>>2]|0;
- $fs_kHz = $1;
- $2 = $fs_kHz;
- $conv = $2&65535;
- $conv2 = $conv << 16 >> 16;
- $mul = ($conv2*1000)|0;
- $fs_Hz = $mul;
- $3 = $fs_Hz;
- $cmp = ($3|0)==(0);
- if ($cmp) {
- $4 = $psEncC$addr;
- $desiredInternal_fs_Hz = ((($4)) + 4596|0);
- $5 = HEAP32[$desiredInternal_fs_Hz>>2]|0;
- $6 = $psEncC$addr;
- $API_fs_Hz = ((($6)) + 4580|0);
- $7 = HEAP32[$API_fs_Hz>>2]|0;
- $cmp4 = ($5|0)<($7|0);
- $8 = $psEncC$addr;
- $API_fs_Hz7 = ((($8)) + 4580|0);
- $desiredInternal_fs_Hz6 = ((($8)) + 4596|0);
- $API_fs_Hz7$sink = $cmp4 ? $desiredInternal_fs_Hz6 : $API_fs_Hz7;
- $9 = HEAP32[$API_fs_Hz7$sink>>2]|0;
- $fs_Hz = $9;
- $10 = $fs_Hz;
- $div = (($10|0) / 1000)&-1;
- $fs_kHz = $div;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- }
- $11 = $fs_Hz;
- $12 = $psEncC$addr;
- $API_fs_Hz8 = ((($12)) + 4580|0);
- $13 = HEAP32[$API_fs_Hz8>>2]|0;
- $cmp9 = ($11|0)>($13|0);
- if (!($cmp9)) {
- $14 = $fs_Hz;
- $15 = $psEncC$addr;
- $maxInternal_fs_Hz = ((($15)) + 4588|0);
- $16 = HEAP32[$maxInternal_fs_Hz>>2]|0;
- $cmp11 = ($14|0)>($16|0);
- if (!($cmp11)) {
- $17 = $fs_Hz;
- $18 = $psEncC$addr;
- $minInternal_fs_Hz = ((($18)) + 4592|0);
- $19 = HEAP32[$minInternal_fs_Hz>>2]|0;
- $cmp14 = ($17|0)<($19|0);
- if (!($cmp14)) {
- $35 = $psEncC$addr;
- $sLP = ((($35)) + 16|0);
- $transition_frame_no = ((($sLP)) + 8|0);
- $36 = HEAP32[$transition_frame_no>>2]|0;
- $cmp36 = ($36|0)>=(256);
- if ($cmp36) {
- $37 = $psEncC$addr;
- $sLP39 = ((($37)) + 16|0);
- $mode = ((($sLP39)) + 12|0);
- HEAP32[$mode>>2] = 0;
- }
- $38 = $psEncC$addr;
- $allow_bandwidth_switch = ((($38)) + 4560|0);
- $39 = HEAP32[$allow_bandwidth_switch>>2]|0;
- $tobool = ($39|0)!=(0);
- if (!($tobool)) {
- $40 = $encControl$addr;
- $opusCanSwitch = ((($40)) + 60|0);
- $41 = HEAP32[$opusCanSwitch>>2]|0;
- $tobool41 = ($41|0)!=(0);
- if (!($tobool41)) {
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- }
- }
- $42 = $psEncC$addr;
- $fs_kHz43 = ((($42)) + 4600|0);
- $43 = HEAP32[$fs_kHz43>>2]|0;
- $conv44 = $43&65535;
- $conv45 = $conv44 << 16 >> 16;
- $mul46 = ($conv45*1000)|0;
- $44 = $psEncC$addr;
- $desiredInternal_fs_Hz47 = ((($44)) + 4596|0);
- $45 = HEAP32[$desiredInternal_fs_Hz47>>2]|0;
- $cmp48 = ($mul46|0)>($45|0);
- $46 = $psEncC$addr;
- if ($cmp48) {
- $sLP51 = ((($46)) + 16|0);
- $mode52 = ((($sLP51)) + 12|0);
- $47 = HEAP32[$mode52>>2]|0;
- $cmp53 = ($47|0)==(0);
- if ($cmp53) {
- $48 = $psEncC$addr;
- $sLP56 = ((($48)) + 16|0);
- $transition_frame_no57 = ((($sLP56)) + 8|0);
- HEAP32[$transition_frame_no57>>2] = 256;
- $49 = $psEncC$addr;
- $sLP58 = ((($49)) + 16|0);
- ;HEAP32[$sLP58>>2]=0|0;HEAP32[$sLP58+4>>2]=0|0;
- }
- $50 = $encControl$addr;
- $opusCanSwitch60 = ((($50)) + 60|0);
- $51 = HEAP32[$opusCanSwitch60>>2]|0;
- $tobool61 = ($51|0)!=(0);
- $52 = $psEncC$addr;
- $sLP63 = ((($52)) + 16|0);
- if ($tobool61) {
- $mode64 = ((($sLP63)) + 12|0);
- HEAP32[$mode64>>2] = 0;
- $53 = $psEncC$addr;
- $fs_kHz65 = ((($53)) + 4600|0);
- $54 = HEAP32[$fs_kHz65>>2]|0;
- $cmp66 = ($54|0)==(16);
- $cond68 = $cmp66 ? 12 : 8;
- $fs_kHz = $cond68;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- }
- $transition_frame_no71 = ((($sLP63)) + 8|0);
- $55 = HEAP32[$transition_frame_no71>>2]|0;
- $cmp72 = ($55|0)<=(0);
- if ($cmp72) {
- $56 = $encControl$addr;
- $switchReady = ((($56)) + 84|0);
- HEAP32[$switchReady>>2] = 1;
- $57 = $encControl$addr;
- $maxBits = ((($57)) + 52|0);
- $58 = HEAP32[$maxBits>>2]|0;
- $mul75 = ($58*5)|0;
- $59 = $encControl$addr;
- $payloadSize_ms = ((($59)) + 24|0);
- $60 = HEAP32[$payloadSize_ms>>2]|0;
- $add = (($60) + 5)|0;
- $div76 = (($mul75|0) / ($add|0))&-1;
- $61 = $encControl$addr;
- $maxBits77 = ((($61)) + 52|0);
- $62 = HEAP32[$maxBits77>>2]|0;
- $sub = (($62) - ($div76))|0;
- HEAP32[$maxBits77>>2] = $sub;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- } else {
- $63 = $psEncC$addr;
- $sLP79 = ((($63)) + 16|0);
- $mode80 = ((($sLP79)) + 12|0);
- HEAP32[$mode80>>2] = -2;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- }
- }
- $fs_kHz84 = ((($46)) + 4600|0);
- $64 = HEAP32[$fs_kHz84>>2]|0;
- $conv85 = $64&65535;
- $conv86 = $conv85 << 16 >> 16;
- $mul87 = ($conv86*1000)|0;
- $65 = $psEncC$addr;
- $desiredInternal_fs_Hz88 = ((($65)) + 4596|0);
- $66 = HEAP32[$desiredInternal_fs_Hz88>>2]|0;
- $cmp89 = ($mul87|0)<($66|0);
- if (!($cmp89)) {
- $83 = $psEncC$addr;
- $sLP126 = ((($83)) + 16|0);
- $mode127 = ((($sLP126)) + 12|0);
- $84 = HEAP32[$mode127>>2]|0;
- $cmp128 = ($84|0)<(0);
- if (!($cmp128)) {
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- }
- $85 = $psEncC$addr;
- $sLP131 = ((($85)) + 16|0);
- $mode132 = ((($sLP131)) + 12|0);
- HEAP32[$mode132>>2] = 1;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- }
- $67 = $encControl$addr;
- $opusCanSwitch92 = ((($67)) + 60|0);
- $68 = HEAP32[$opusCanSwitch92>>2]|0;
- $tobool93 = ($68|0)!=(0);
- $69 = $psEncC$addr;
- if ($tobool93) {
- $fs_kHz95 = ((($69)) + 4600|0);
- $70 = HEAP32[$fs_kHz95>>2]|0;
- $cmp96 = ($70|0)==(8);
- $cond98 = $cmp96 ? 12 : 16;
- $fs_kHz = $cond98;
- $71 = $psEncC$addr;
- $sLP99 = ((($71)) + 16|0);
- $transition_frame_no100 = ((($sLP99)) + 8|0);
- HEAP32[$transition_frame_no100>>2] = 0;
- $72 = $psEncC$addr;
- $sLP101 = ((($72)) + 16|0);
- ;HEAP32[$sLP101>>2]=0|0;HEAP32[$sLP101+4>>2]=0|0;
- $73 = $psEncC$addr;
- $sLP104 = ((($73)) + 16|0);
- $mode105 = ((($sLP104)) + 12|0);
- HEAP32[$mode105>>2] = 1;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- }
- $sLP107 = ((($69)) + 16|0);
- $mode108 = ((($sLP107)) + 12|0);
- $74 = HEAP32[$mode108>>2]|0;
- $cmp109 = ($74|0)==(0);
- if ($cmp109) {
- $75 = $encControl$addr;
- $switchReady112 = ((($75)) + 84|0);
- HEAP32[$switchReady112>>2] = 1;
- $76 = $encControl$addr;
- $maxBits113 = ((($76)) + 52|0);
- $77 = HEAP32[$maxBits113>>2]|0;
- $mul114 = ($77*5)|0;
- $78 = $encControl$addr;
- $payloadSize_ms115 = ((($78)) + 24|0);
- $79 = HEAP32[$payloadSize_ms115>>2]|0;
- $add116 = (($79) + 5)|0;
- $div117 = (($mul114|0) / ($add116|0))&-1;
- $80 = $encControl$addr;
- $maxBits118 = ((($80)) + 52|0);
- $81 = HEAP32[$maxBits118>>2]|0;
- $sub119 = (($81) - ($div117))|0;
- HEAP32[$maxBits118>>2] = $sub119;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- } else {
- $82 = $psEncC$addr;
- $sLP121 = ((($82)) + 16|0);
- $mode122 = ((($sLP121)) + 12|0);
- HEAP32[$mode122>>2] = 1;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
- }
- }
- }
- }
- $20 = $psEncC$addr;
- $API_fs_Hz17 = ((($20)) + 4580|0);
- $21 = HEAP32[$API_fs_Hz17>>2]|0;
- $fs_Hz = $21;
- $22 = $fs_Hz;
- $23 = $psEncC$addr;
- $maxInternal_fs_Hz18 = ((($23)) + 4588|0);
- $24 = HEAP32[$maxInternal_fs_Hz18>>2]|0;
- $cmp19 = ($22|0)<($24|0);
- if ($cmp19) {
- $25 = $fs_Hz;
- $cond25 = $25;
- } else {
- $26 = $psEncC$addr;
- $maxInternal_fs_Hz23 = ((($26)) + 4588|0);
- $27 = HEAP32[$maxInternal_fs_Hz23>>2]|0;
- $cond25 = $27;
- }
- $fs_Hz = $cond25;
- $28 = $fs_Hz;
- $29 = $psEncC$addr;
- $minInternal_fs_Hz26 = ((($29)) + 4592|0);
- $30 = HEAP32[$minInternal_fs_Hz26>>2]|0;
- $cmp27 = ($28|0)>($30|0);
- if ($cmp27) {
- $31 = $fs_Hz;
- $cond33 = $31;
- } else {
- $32 = $psEncC$addr;
- $minInternal_fs_Hz31 = ((($32)) + 4592|0);
- $33 = HEAP32[$minInternal_fs_Hz31>>2]|0;
- $cond33 = $33;
- }
- $fs_Hz = $cond33;
- $34 = $fs_Hz;
- $div34 = (($34|0) / 1000)&-1;
- $fs_kHz = $div34;
- $86 = $fs_kHz;
- STACKTOP = sp;return ($86|0);
-}
-function _silk_quant_LTP_gains($B_Q14,$cbk_index,$periodicity_index,$sum_log_gain_Q7,$W_Q18,$mu_Q9,$lowComplexity,$nb_subfr,$arch) {
- $B_Q14 = $B_Q14|0;
- $cbk_index = $cbk_index|0;
- $periodicity_index = $periodicity_index|0;
- $sum_log_gain_Q7 = $sum_log_gain_Q7|0;
- $W_Q18 = $W_Q18|0;
- $mu_Q9 = $mu_Q9|0;
- $lowComplexity = $lowComplexity|0;
- $nb_subfr = $nb_subfr|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $8 = 0, $9 = 0, $B_Q14$addr = 0, $W_Q18$addr = 0, $W_Q18_ptr = 0, $add = 0, $add$ptr = 0, $add$ptr26 = 0, $add10 = 0, $add11 = 0;
- var $add12 = 0, $add14 = 0, $add20 = 0, $add22 = 0, $add57 = 0, $add62 = 0, $and = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx3 = 0, $arrayidx45 = 0, $arrayidx54 = 0, $arrayidx58 = 0, $arrayidx63 = 0, $arrayidx9 = 0, $b_Q14_ptr = 0, $best_sum_log_gain_Q7 = 0, $call = 0;
- var $call13 = 0, $call21 = 0, $cbk_gain_ptr_Q7 = 0, $cbk_index$addr = 0, $cbk_ptr_Q7 = 0, $cbk_size = 0, $cl_ptr_Q5 = 0, $cmp = 0, $cmp16 = 0, $cmp27 = 0, $cmp33 = 0, $cmp38 = 0, $cmp47 = 0, $cmp5 = 0, $cmp51 = 0, $cond = 0, $cond25 = 0, $cond32 = 0, $conv = 0, $conv35 = 0;
- var $conv37 = 0, $conv55 = 0, $conv59 = 0, $conv60 = 0, $gain_Q7 = 0, $gain_safety = 0, $idxprom = 0, $inc = 0, $inc43 = 0, $inc65 = 0, $inc68 = 0, $j = 0, $k = 0, $lowComplexity$addr = 0, $max_gain_Q7 = 0, $min_rate_dist_Q14 = 0, $mu_Q9$addr = 0, $mul = 0, $mul56 = 0, $mul61 = 0;
- var $nb_subfr$addr = 0, $periodicity_index$addr = 0, $rate_dist_Q14 = 0, $rate_dist_Q14_subfr = 0, $shl = 0, $sub = 0, $sub15 = 0, $sub23 = 0, $sub8 = 0, $sum_log_gain_Q7$addr = 0, $sum_log_gain_tmp_Q7 = 0, $temp_idx = 0, $tobool = 0, $tobool36 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
- $temp_idx = sp + 100|0;
- $rate_dist_Q14_subfr = sp + 28|0;
- $gain_Q7 = sp + 4|0;
- $B_Q14$addr = $B_Q14;
- $cbk_index$addr = $cbk_index;
- $periodicity_index$addr = $periodicity_index;
- $sum_log_gain_Q7$addr = $sum_log_gain_Q7;
- $W_Q18$addr = $W_Q18;
- $mu_Q9$addr = $mu_Q9;
- $lowComplexity$addr = $lowComplexity;
- $nb_subfr$addr = $nb_subfr;
- $arch$addr = $arch;
- $min_rate_dist_Q14 = 2147483647;
- $best_sum_log_gain_Q7 = 0;
- $k = 0;
- while(1) {
- $0 = $k;
- $cmp = ($0|0)<(3);
- if (!($cmp)) {
- break;
- }
- $gain_safety = 51;
- $1 = $k;
- $arrayidx = (16672 + ($1<<2)|0);
- $2 = HEAP32[$arrayidx>>2]|0;
- $cl_ptr_Q5 = $2;
- $3 = $k;
- $arrayidx1 = (16684 + ($3<<2)|0);
- $4 = HEAP32[$arrayidx1>>2]|0;
- $cbk_ptr_Q7 = $4;
- $5 = $k;
- $arrayidx2 = (16696 + ($5<<2)|0);
- $6 = HEAP32[$arrayidx2>>2]|0;
- $cbk_gain_ptr_Q7 = $6;
- $7 = $k;
- $arrayidx3 = (27620 + ($7)|0);
- $8 = HEAP8[$arrayidx3>>0]|0;
- $conv = $8 << 24 >> 24;
- $cbk_size = $conv;
- $9 = $W_Q18$addr;
- $W_Q18_ptr = $9;
- $10 = $B_Q14$addr;
- $b_Q14_ptr = $10;
- $rate_dist_Q14 = 0;
- $11 = $sum_log_gain_Q7$addr;
- $12 = HEAP32[$11>>2]|0;
- $sum_log_gain_tmp_Q7 = $12;
- $j = 0;
- while(1) {
- $13 = $j;
- $14 = $nb_subfr$addr;
- $cmp5 = ($13|0)<($14|0);
- if (!($cmp5)) {
- break;
- }
- $15 = $sum_log_gain_tmp_Q7;
- $sub = (5333 - ($15))|0;
- $add = (($sub) + 896)|0;
- $call = (_silk_log2lin($add)|0);
- $16 = $gain_safety;
- $sub8 = (($call) - ($16))|0;
- $max_gain_Q7 = $sub8;
- $17 = $j;
- $arrayidx9 = (($temp_idx) + ($17)|0);
- $18 = $b_Q14_ptr;
- $19 = $W_Q18_ptr;
- $20 = $cbk_ptr_Q7;
- $21 = $cbk_gain_ptr_Q7;
- $22 = $cl_ptr_Q5;
- $23 = $mu_Q9$addr;
- $24 = $max_gain_Q7;
- $25 = $cbk_size;
- _silk_VQ_WMat_EC_c($arrayidx9,$rate_dist_Q14_subfr,$gain_Q7,$18,$19,$20,$21,$22,$23,$24,$25);
- $26 = $rate_dist_Q14;
- $27 = HEAP32[$rate_dist_Q14_subfr>>2]|0;
- $add10 = (($26) + ($27))|0;
- $and = $add10 & -2147483648;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $cond = 2147483647;
- } else {
- $28 = $rate_dist_Q14;
- $29 = HEAP32[$rate_dist_Q14_subfr>>2]|0;
- $add11 = (($28) + ($29))|0;
- $cond = $add11;
- }
- $rate_dist_Q14 = $cond;
- $30 = $sum_log_gain_tmp_Q7;
- $31 = $gain_safety;
- $32 = HEAP32[$gain_Q7>>2]|0;
- $add12 = (($31) + ($32))|0;
- $call13 = (_silk_lin2log($add12)|0);
- $add14 = (($30) + ($call13))|0;
- $sub15 = (($add14) - 896)|0;
- $cmp16 = (0)>($sub15|0);
- if ($cmp16) {
- $cond25 = 0;
- } else {
- $33 = $sum_log_gain_tmp_Q7;
- $34 = $gain_safety;
- $35 = HEAP32[$gain_Q7>>2]|0;
- $add20 = (($34) + ($35))|0;
- $call21 = (_silk_lin2log($add20)|0);
- $add22 = (($33) + ($call21))|0;
- $sub23 = (($add22) - 896)|0;
- $cond25 = $sub23;
- }
- $sum_log_gain_tmp_Q7 = $cond25;
- $36 = $b_Q14_ptr;
- $add$ptr = ((($36)) + 10|0);
- $b_Q14_ptr = $add$ptr;
- $37 = $W_Q18_ptr;
- $add$ptr26 = ((($37)) + 100|0);
- $W_Q18_ptr = $add$ptr26;
- $38 = $j;
- $inc = (($38) + 1)|0;
- $j = $inc;
- }
- $39 = $rate_dist_Q14;
- $cmp27 = (2147483646)<($39|0);
- $40 = $rate_dist_Q14;
- $cond32 = $cmp27 ? 2147483646 : $40;
- $rate_dist_Q14 = $cond32;
- $41 = $rate_dist_Q14;
- $42 = $min_rate_dist_Q14;
- $cmp33 = ($41|0)<($42|0);
- if ($cmp33) {
- $43 = $rate_dist_Q14;
- $min_rate_dist_Q14 = $43;
- $44 = $k;
- $conv35 = $44&255;
- $45 = $periodicity_index$addr;
- HEAP8[$45>>0] = $conv35;
- $46 = $cbk_index$addr;
- $47 = $nb_subfr$addr;
- $mul = $47;
- _memcpy(($46|0),($temp_idx|0),($mul|0))|0;
- $48 = $sum_log_gain_tmp_Q7;
- $best_sum_log_gain_Q7 = $48;
- }
- $49 = $lowComplexity$addr;
- $tobool36 = ($49|0)!=(0);
- if ($tobool36) {
- $50 = $rate_dist_Q14;
- $51 = HEAP16[12474]|0;
- $conv37 = $51 << 16 >> 16;
- $cmp38 = ($50|0)<($conv37|0);
- if ($cmp38) {
- break;
- }
- }
- $52 = $k;
- $inc43 = (($52) + 1)|0;
- $k = $inc43;
- }
- $53 = $periodicity_index$addr;
- $54 = HEAP8[$53>>0]|0;
- $idxprom = $54 << 24 >> 24;
- $arrayidx45 = (16684 + ($idxprom<<2)|0);
- $55 = HEAP32[$arrayidx45>>2]|0;
- $cbk_ptr_Q7 = $55;
- $j = 0;
- while(1) {
- $56 = $j;
- $57 = $nb_subfr$addr;
- $cmp47 = ($56|0)<($57|0);
- if (!($cmp47)) {
- break;
- }
- $k = 0;
- while(1) {
- $58 = $k;
- $cmp51 = ($58|0)<(5);
- if (!($cmp51)) {
- break;
- }
- $59 = $cbk_ptr_Q7;
- $60 = $cbk_index$addr;
- $61 = $j;
- $arrayidx54 = (($60) + ($61)|0);
- $62 = HEAP8[$arrayidx54>>0]|0;
- $conv55 = $62 << 24 >> 24;
- $mul56 = ($conv55*5)|0;
- $63 = $k;
- $add57 = (($mul56) + ($63))|0;
- $arrayidx58 = (($59) + ($add57)|0);
- $64 = HEAP8[$arrayidx58>>0]|0;
- $conv59 = $64 << 24 >> 24;
- $shl = $conv59 << 7;
- $conv60 = $shl&65535;
- $65 = $B_Q14$addr;
- $66 = $j;
- $mul61 = ($66*5)|0;
- $67 = $k;
- $add62 = (($mul61) + ($67))|0;
- $arrayidx63 = (($65) + ($add62<<1)|0);
- HEAP16[$arrayidx63>>1] = $conv60;
- $68 = $k;
- $inc65 = (($68) + 1)|0;
- $k = $inc65;
- }
- $69 = $j;
- $inc68 = (($69) + 1)|0;
- $j = $inc68;
- }
- $70 = $best_sum_log_gain_Q7;
- $71 = $sum_log_gain_Q7$addr;
- HEAP32[$71>>2] = $70;
- STACKTOP = sp;return;
-}
-function _silk_VQ_WMat_EC_c($ind,$rate_dist_Q14,$gain_Q7,$in_Q14,$W_Q18,$cb_Q7,$cb_gain_Q7,$cl_Q5,$mu_Q9,$max_gain_Q7,$L) {
- $ind = $ind|0;
- $rate_dist_Q14 = $rate_dist_Q14|0;
- $gain_Q7 = $gain_Q7|0;
- $in_Q14 = $in_Q14|0;
- $W_Q18 = $W_Q18|0;
- $cb_Q7 = $cb_Q7|0;
- $cb_gain_Q7 = $cb_gain_Q7|0;
- $cl_Q5 = $cl_Q5|0;
- $mu_Q9 = $mu_Q9|0;
- $max_gain_Q7 = $max_gain_Q7|0;
- $L = $L|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
- var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
- var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
- var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
- var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $L$addr = 0, $W_Q18$addr = 0, $add = 0, $add$ptr = 0;
- var $add110 = 0, $add111 = 0, $add121 = 0, $add122 = 0, $add134 = 0, $add146 = 0, $add147 = 0, $add159 = 0, $add160 = 0, $add173 = 0, $add174 = 0, $add184 = 0, $add185 = 0, $add197 = 0, $add209 = 0, $add210 = 0, $add223 = 0, $add224 = 0, $add234 = 0, $add235 = 0;
- var $add247 = 0, $add260 = 0, $add261 = 0, $add271 = 0, $add272 = 0, $add284 = 0, $add294 = 0, $add295 = 0, $add58 = 0, $add70 = 0, $add71 = 0, $add83 = 0, $add84 = 0, $add96 = 0, $add97 = 0, $and = 0, $and105 = 0, $and116 = 0, $and129 = 0, $and141 = 0;
- var $and154 = 0, $and168 = 0, $and179 = 0, $and192 = 0, $and204 = 0, $and218 = 0, $and229 = 0, $and242 = 0, $and255 = 0, $and266 = 0, $and279 = 0, $and289 = 0, $and65 = 0, $and78 = 0, $and91 = 0, $arrayidx = 0, $arrayidx123 = 0, $arrayidx125 = 0, $arrayidx128 = 0, $arrayidx130 = 0;
- var $arrayidx135 = 0, $arrayidx137 = 0, $arrayidx14 = 0, $arrayidx140 = 0, $arrayidx142 = 0, $arrayidx148 = 0, $arrayidx15 = 0, $arrayidx150 = 0, $arrayidx153 = 0, $arrayidx155 = 0, $arrayidx162 = 0, $arrayidx164 = 0, $arrayidx167 = 0, $arrayidx169 = 0, $arrayidx17 = 0, $arrayidx176 = 0, $arrayidx180 = 0, $arrayidx186 = 0, $arrayidx188 = 0, $arrayidx191 = 0;
- var $arrayidx193 = 0, $arrayidx198 = 0, $arrayidx200 = 0, $arrayidx203 = 0, $arrayidx205 = 0, $arrayidx212 = 0, $arrayidx214 = 0, $arrayidx217 = 0, $arrayidx219 = 0, $arrayidx22 = 0, $arrayidx226 = 0, $arrayidx23 = 0, $arrayidx230 = 0, $arrayidx236 = 0, $arrayidx238 = 0, $arrayidx241 = 0, $arrayidx243 = 0, $arrayidx249 = 0, $arrayidx25 = 0, $arrayidx251 = 0;
- var $arrayidx254 = 0, $arrayidx256 = 0, $arrayidx263 = 0, $arrayidx267 = 0, $arrayidx273 = 0, $arrayidx275 = 0, $arrayidx278 = 0, $arrayidx280 = 0, $arrayidx286 = 0, $arrayidx290 = 0, $arrayidx30 = 0, $arrayidx31 = 0, $arrayidx33 = 0, $arrayidx38 = 0, $arrayidx41 = 0, $arrayidx49 = 0, $arrayidx50 = 0, $arrayidx53 = 0, $arrayidx54 = 0, $arrayidx59 = 0;
- var $arrayidx61 = 0, $arrayidx64 = 0, $arrayidx66 = 0, $arrayidx7 = 0, $arrayidx72 = 0, $arrayidx74 = 0, $arrayidx77 = 0, $arrayidx79 = 0, $arrayidx85 = 0, $arrayidx87 = 0, $arrayidx9 = 0, $arrayidx90 = 0, $arrayidx92 = 0, $cb_Q7$addr = 0, $cb_gain_Q7$addr = 0, $cb_row_Q7 = 0, $cl_Q5$addr = 0, $cmp = 0, $cmp296 = 0, $cmp45 = 0;
- var $cond = 0, $conv = 0, $conv10 = 0, $conv102 = 0, $conv107 = 0, $conv114 = 0, $conv118 = 0, $conv126 = 0, $conv13 = 0, $conv131 = 0, $conv138 = 0, $conv143 = 0, $conv151 = 0, $conv156 = 0, $conv16 = 0, $conv165 = 0, $conv170 = 0, $conv177 = 0, $conv18 = 0, $conv181 = 0;
- var $conv189 = 0, $conv194 = 0, $conv2 = 0, $conv201 = 0, $conv206 = 0, $conv21 = 0, $conv215 = 0, $conv220 = 0, $conv227 = 0, $conv231 = 0, $conv239 = 0, $conv24 = 0, $conv244 = 0, $conv252 = 0, $conv257 = 0, $conv26 = 0, $conv264 = 0, $conv268 = 0, $conv276 = 0, $conv281 = 0;
- var $conv287 = 0, $conv29 = 0, $conv291 = 0, $conv298 = 0, $conv32 = 0, $conv34 = 0, $conv37 = 0, $conv39 = 0, $conv4 = 0, $conv40 = 0, $conv42 = 0, $conv43 = 0, $conv5 = 0, $conv51 = 0, $conv55 = 0, $conv62 = 0, $conv67 = 0, $conv75 = 0, $conv8 = 0, $conv80 = 0;
- var $conv88 = 0, $conv93 = 0, $diff_Q14 = 0, $gain_Q7$addr = 0, $gain_tmp_Q7 = 0, $in_Q14$addr = 0, $inc = 0, $ind$addr = 0, $k = 0, $max_gain_Q7$addr = 0, $mu_Q9$addr = 0, $mul = 0, $mul103 = 0, $mul108 = 0, $mul115 = 0, $mul119 = 0, $mul127 = 0, $mul132 = 0, $mul139 = 0, $mul144 = 0;
- var $mul152 = 0, $mul157 = 0, $mul166 = 0, $mul171 = 0, $mul178 = 0, $mul182 = 0, $mul190 = 0, $mul195 = 0, $mul202 = 0, $mul207 = 0, $mul216 = 0, $mul221 = 0, $mul228 = 0, $mul232 = 0, $mul240 = 0, $mul245 = 0, $mul253 = 0, $mul258 = 0, $mul265 = 0, $mul269 = 0;
- var $mul277 = 0, $mul282 = 0, $mul288 = 0, $mul292 = 0, $mul52 = 0, $mul56 = 0, $mul63 = 0, $mul68 = 0, $mul76 = 0, $mul81 = 0, $mul89 = 0, $mul94 = 0, $rate_dist_Q14$addr = 0, $shl = 0, $shl11 = 0, $shl161 = 0, $shl19 = 0, $shl211 = 0, $shl248 = 0, $shl27 = 0;
- var $shl35 = 0, $shl48 = 0, $shl98 = 0, $shr = 0, $shr100 = 0, $shr109 = 0, $shr112 = 0, $shr120 = 0, $shr124 = 0, $shr133 = 0, $shr136 = 0, $shr145 = 0, $shr149 = 0, $shr158 = 0, $shr163 = 0, $shr172 = 0, $shr175 = 0, $shr183 = 0, $shr187 = 0, $shr196 = 0;
- var $shr199 = 0, $shr208 = 0, $shr213 = 0, $shr222 = 0, $shr225 = 0, $shr233 = 0, $shr237 = 0, $shr246 = 0, $shr250 = 0, $shr259 = 0, $shr262 = 0, $shr270 = 0, $shr274 = 0, $shr283 = 0, $shr285 = 0, $shr293 = 0, $shr57 = 0, $shr60 = 0, $shr69 = 0, $shr73 = 0;
- var $shr82 = 0, $shr86 = 0, $shr95 = 0, $sub = 0, $sub12 = 0, $sub20 = 0, $sub28 = 0, $sub36 = 0, $sub44 = 0, $sub47 = 0, $sum1_Q14 = 0, $sum2_Q16 = 0, label = 0, sp = 0;
+function _silk_shell_encoder($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $diff_Q14 = sp + 64|0;
- $ind$addr = $ind;
- $rate_dist_Q14$addr = $rate_dist_Q14;
- $gain_Q7$addr = $gain_Q7;
- $in_Q14$addr = $in_Q14;
- $W_Q18$addr = $W_Q18;
- $cb_Q7$addr = $cb_Q7;
- $cb_gain_Q7$addr = $cb_gain_Q7;
- $cl_Q5$addr = $cl_Q5;
- $mu_Q9$addr = $mu_Q9;
- $max_gain_Q7$addr = $max_gain_Q7;
- $L$addr = $L;
- $0 = $rate_dist_Q14$addr;
- HEAP32[$0>>2] = 2147483647;
- $1 = $cb_Q7$addr;
- $cb_row_Q7 = $1;
- $k = 0;
+ $4 = sp + 32|0;
+ $5 = sp + 16|0;
+ $6 = sp + 8|0;
+ $7 = sp;
+ $2 = $0;
+ $3 = $1;
+ $8 = $3;
+ _combine_pulses($4,$8,8);
+ _combine_pulses($5,$4,4);
+ _combine_pulses($6,$5,2);
+ _combine_pulses($7,$6,1);
+ $9 = $2;
+ $10 = HEAP32[$6>>2]|0;
+ $11 = HEAP32[$7>>2]|0;
+ _encode_split($9,$10,$11,28694);
+ $12 = $2;
+ $13 = HEAP32[$5>>2]|0;
+ $14 = HEAP32[$6>>2]|0;
+ _encode_split($12,$13,$14,28542);
+ $15 = $2;
+ $16 = HEAP32[$4>>2]|0;
+ $17 = HEAP32[$5>>2]|0;
+ _encode_split($15,$16,$17,28390);
+ $18 = $2;
+ $19 = $3;
+ $20 = HEAP32[$19>>2]|0;
+ $21 = HEAP32[$4>>2]|0;
+ _encode_split($18,$20,$21,28238);
+ $22 = $2;
+ $23 = $3;
+ $24 = ((($23)) + 8|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = ((($4)) + 4|0);
+ $27 = HEAP32[$26>>2]|0;
+ _encode_split($22,$25,$27,28238);
+ $28 = $2;
+ $29 = ((($4)) + 8|0);
+ $30 = HEAP32[$29>>2]|0;
+ $31 = ((($5)) + 4|0);
+ $32 = HEAP32[$31>>2]|0;
+ _encode_split($28,$30,$32,28390);
+ $33 = $2;
+ $34 = $3;
+ $35 = ((($34)) + 16|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = ((($4)) + 8|0);
+ $38 = HEAP32[$37>>2]|0;
+ _encode_split($33,$36,$38,28238);
+ $39 = $2;
+ $40 = $3;
+ $41 = ((($40)) + 24|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = ((($4)) + 12|0);
+ $44 = HEAP32[$43>>2]|0;
+ _encode_split($39,$42,$44,28238);
+ $45 = $2;
+ $46 = ((($5)) + 8|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = ((($6)) + 4|0);
+ $49 = HEAP32[$48>>2]|0;
+ _encode_split($45,$47,$49,28542);
+ $50 = $2;
+ $51 = ((($4)) + 16|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = ((($5)) + 8|0);
+ $54 = HEAP32[$53>>2]|0;
+ _encode_split($50,$52,$54,28390);
+ $55 = $2;
+ $56 = $3;
+ $57 = ((($56)) + 32|0);
+ $58 = HEAP32[$57>>2]|0;
+ $59 = ((($4)) + 16|0);
+ $60 = HEAP32[$59>>2]|0;
+ _encode_split($55,$58,$60,28238);
+ $61 = $2;
+ $62 = $3;
+ $63 = ((($62)) + 40|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = ((($4)) + 20|0);
+ $66 = HEAP32[$65>>2]|0;
+ _encode_split($61,$64,$66,28238);
+ $67 = $2;
+ $68 = ((($4)) + 24|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = ((($5)) + 12|0);
+ $71 = HEAP32[$70>>2]|0;
+ _encode_split($67,$69,$71,28390);
+ $72 = $2;
+ $73 = $3;
+ $74 = ((($73)) + 48|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = ((($4)) + 24|0);
+ $77 = HEAP32[$76>>2]|0;
+ _encode_split($72,$75,$77,28238);
+ $78 = $2;
+ $79 = $3;
+ $80 = ((($79)) + 56|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = ((($4)) + 28|0);
+ $83 = HEAP32[$82>>2]|0;
+ _encode_split($78,$81,$83,28238);
+ STACKTOP = sp;return;
+}
+function _combine_pulses($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $3 = 0, $4 = 0, $5 = 0;
+ var $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = 0;
while(1) {
- $2 = $k;
- $3 = $L$addr;
- $cmp = ($2|0)<($3|0);
- if (!($cmp)) {
+ $7 = $6;
+ $8 = $5;
+ $9 = ($7|0)<($8|0);
+ if (!($9)) {
break;
}
- $4 = $cb_gain_Q7$addr;
- $5 = $k;
- $arrayidx = (($4) + ($5)|0);
- $6 = HEAP8[$arrayidx>>0]|0;
- $conv = $6&255;
- $gain_tmp_Q7 = $conv;
- $7 = $in_Q14$addr;
- $8 = HEAP16[$7>>1]|0;
- $conv2 = $8 << 16 >> 16;
- $9 = $cb_row_Q7;
- $10 = HEAP8[$9>>0]|0;
- $conv4 = $10 << 24 >> 24;
- $shl = $conv4 << 7;
- $sub = (($conv2) - ($shl))|0;
- $conv5 = $sub&65535;
- HEAP16[$diff_Q14>>1] = $conv5;
- $11 = $in_Q14$addr;
- $arrayidx7 = ((($11)) + 2|0);
- $12 = HEAP16[$arrayidx7>>1]|0;
- $conv8 = $12 << 16 >> 16;
- $13 = $cb_row_Q7;
- $arrayidx9 = ((($13)) + 1|0);
- $14 = HEAP8[$arrayidx9>>0]|0;
- $conv10 = $14 << 24 >> 24;
- $shl11 = $conv10 << 7;
- $sub12 = (($conv8) - ($shl11))|0;
- $conv13 = $sub12&65535;
- $arrayidx14 = ((($diff_Q14)) + 2|0);
- HEAP16[$arrayidx14>>1] = $conv13;
- $15 = $in_Q14$addr;
- $arrayidx15 = ((($15)) + 4|0);
- $16 = HEAP16[$arrayidx15>>1]|0;
- $conv16 = $16 << 16 >> 16;
- $17 = $cb_row_Q7;
- $arrayidx17 = ((($17)) + 2|0);
- $18 = HEAP8[$arrayidx17>>0]|0;
- $conv18 = $18 << 24 >> 24;
- $shl19 = $conv18 << 7;
- $sub20 = (($conv16) - ($shl19))|0;
- $conv21 = $sub20&65535;
- $arrayidx22 = ((($diff_Q14)) + 4|0);
- HEAP16[$arrayidx22>>1] = $conv21;
- $19 = $in_Q14$addr;
- $arrayidx23 = ((($19)) + 6|0);
- $20 = HEAP16[$arrayidx23>>1]|0;
- $conv24 = $20 << 16 >> 16;
- $21 = $cb_row_Q7;
- $arrayidx25 = ((($21)) + 3|0);
- $22 = HEAP8[$arrayidx25>>0]|0;
- $conv26 = $22 << 24 >> 24;
- $shl27 = $conv26 << 7;
- $sub28 = (($conv24) - ($shl27))|0;
- $conv29 = $sub28&65535;
- $arrayidx30 = ((($diff_Q14)) + 6|0);
- HEAP16[$arrayidx30>>1] = $conv29;
- $23 = $in_Q14$addr;
- $arrayidx31 = ((($23)) + 8|0);
- $24 = HEAP16[$arrayidx31>>1]|0;
- $conv32 = $24 << 16 >> 16;
- $25 = $cb_row_Q7;
- $arrayidx33 = ((($25)) + 4|0);
- $26 = HEAP8[$arrayidx33>>0]|0;
- $conv34 = $26 << 24 >> 24;
- $shl35 = $conv34 << 7;
- $sub36 = (($conv32) - ($shl35))|0;
- $conv37 = $sub36&65535;
- $arrayidx38 = ((($diff_Q14)) + 8|0);
- HEAP16[$arrayidx38>>1] = $conv37;
- $27 = $mu_Q9$addr;
- $conv39 = $27&65535;
- $conv40 = $conv39 << 16 >> 16;
- $28 = $cl_Q5$addr;
- $29 = $k;
- $arrayidx41 = (($28) + ($29)|0);
- $30 = HEAP8[$arrayidx41>>0]|0;
- $conv42 = $30&255;
- $conv43 = $conv42 << 16 >> 16;
- $mul = Math_imul($conv40, $conv43)|0;
- $sum1_Q14 = $mul;
- $31 = $sum1_Q14;
- $32 = $gain_tmp_Q7;
- $33 = $max_gain_Q7$addr;
- $sub44 = (($32) - ($33))|0;
- $cmp45 = ($sub44|0)>(0);
- if ($cmp45) {
- $34 = $gain_tmp_Q7;
- $35 = $max_gain_Q7$addr;
- $sub47 = (($34) - ($35))|0;
- $cond = $sub47;
- } else {
- $cond = 0;
- }
- $shl48 = $cond << 10;
- $add = (($31) + ($shl48))|0;
- $sum1_Q14 = $add;
- $36 = $W_Q18$addr;
- $arrayidx49 = ((($36)) + 4|0);
- $37 = HEAP32[$arrayidx49>>2]|0;
- $shr = $37 >> 16;
- $arrayidx50 = ((($diff_Q14)) + 2|0);
- $38 = HEAP16[$arrayidx50>>1]|0;
- $conv51 = $38 << 16 >> 16;
- $mul52 = Math_imul($shr, $conv51)|0;
- $39 = $W_Q18$addr;
- $arrayidx53 = ((($39)) + 4|0);
- $40 = HEAP32[$arrayidx53>>2]|0;
- $and = $40 & 65535;
- $arrayidx54 = ((($diff_Q14)) + 2|0);
- $41 = HEAP16[$arrayidx54>>1]|0;
- $conv55 = $41 << 16 >> 16;
- $mul56 = Math_imul($and, $conv55)|0;
- $shr57 = $mul56 >> 16;
- $add58 = (($mul52) + ($shr57))|0;
- $sum2_Q16 = $add58;
- $42 = $sum2_Q16;
- $43 = $W_Q18$addr;
- $arrayidx59 = ((($43)) + 8|0);
- $44 = HEAP32[$arrayidx59>>2]|0;
- $shr60 = $44 >> 16;
- $arrayidx61 = ((($diff_Q14)) + 4|0);
- $45 = HEAP16[$arrayidx61>>1]|0;
- $conv62 = $45 << 16 >> 16;
- $mul63 = Math_imul($shr60, $conv62)|0;
- $46 = $W_Q18$addr;
- $arrayidx64 = ((($46)) + 8|0);
- $47 = HEAP32[$arrayidx64>>2]|0;
- $and65 = $47 & 65535;
- $arrayidx66 = ((($diff_Q14)) + 4|0);
- $48 = HEAP16[$arrayidx66>>1]|0;
- $conv67 = $48 << 16 >> 16;
- $mul68 = Math_imul($and65, $conv67)|0;
- $shr69 = $mul68 >> 16;
- $add70 = (($mul63) + ($shr69))|0;
- $add71 = (($42) + ($add70))|0;
- $sum2_Q16 = $add71;
- $49 = $sum2_Q16;
- $50 = $W_Q18$addr;
- $arrayidx72 = ((($50)) + 12|0);
- $51 = HEAP32[$arrayidx72>>2]|0;
- $shr73 = $51 >> 16;
- $arrayidx74 = ((($diff_Q14)) + 6|0);
- $52 = HEAP16[$arrayidx74>>1]|0;
- $conv75 = $52 << 16 >> 16;
- $mul76 = Math_imul($shr73, $conv75)|0;
- $53 = $W_Q18$addr;
- $arrayidx77 = ((($53)) + 12|0);
- $54 = HEAP32[$arrayidx77>>2]|0;
- $and78 = $54 & 65535;
- $arrayidx79 = ((($diff_Q14)) + 6|0);
- $55 = HEAP16[$arrayidx79>>1]|0;
- $conv80 = $55 << 16 >> 16;
- $mul81 = Math_imul($and78, $conv80)|0;
- $shr82 = $mul81 >> 16;
- $add83 = (($mul76) + ($shr82))|0;
- $add84 = (($49) + ($add83))|0;
- $sum2_Q16 = $add84;
- $56 = $sum2_Q16;
- $57 = $W_Q18$addr;
- $arrayidx85 = ((($57)) + 16|0);
- $58 = HEAP32[$arrayidx85>>2]|0;
- $shr86 = $58 >> 16;
- $arrayidx87 = ((($diff_Q14)) + 8|0);
- $59 = HEAP16[$arrayidx87>>1]|0;
- $conv88 = $59 << 16 >> 16;
- $mul89 = Math_imul($shr86, $conv88)|0;
- $60 = $W_Q18$addr;
- $arrayidx90 = ((($60)) + 16|0);
- $61 = HEAP32[$arrayidx90>>2]|0;
- $and91 = $61 & 65535;
- $arrayidx92 = ((($diff_Q14)) + 8|0);
- $62 = HEAP16[$arrayidx92>>1]|0;
- $conv93 = $62 << 16 >> 16;
- $mul94 = Math_imul($and91, $conv93)|0;
- $shr95 = $mul94 >> 16;
- $add96 = (($mul89) + ($shr95))|0;
- $add97 = (($56) + ($add96))|0;
- $sum2_Q16 = $add97;
- $63 = $sum2_Q16;
- $shl98 = $63 << 1;
- $sum2_Q16 = $shl98;
- $64 = $sum2_Q16;
- $65 = $W_Q18$addr;
- $66 = HEAP32[$65>>2]|0;
- $shr100 = $66 >> 16;
- $67 = HEAP16[$diff_Q14>>1]|0;
- $conv102 = $67 << 16 >> 16;
- $mul103 = Math_imul($shr100, $conv102)|0;
- $68 = $W_Q18$addr;
- $69 = HEAP32[$68>>2]|0;
- $and105 = $69 & 65535;
- $70 = HEAP16[$diff_Q14>>1]|0;
- $conv107 = $70 << 16 >> 16;
- $mul108 = Math_imul($and105, $conv107)|0;
- $shr109 = $mul108 >> 16;
- $add110 = (($mul103) + ($shr109))|0;
- $add111 = (($64) + ($add110))|0;
- $sum2_Q16 = $add111;
- $71 = $sum1_Q14;
- $72 = $sum2_Q16;
- $shr112 = $72 >> 16;
- $73 = HEAP16[$diff_Q14>>1]|0;
- $conv114 = $73 << 16 >> 16;
- $mul115 = Math_imul($shr112, $conv114)|0;
- $74 = $sum2_Q16;
- $and116 = $74 & 65535;
- $75 = HEAP16[$diff_Q14>>1]|0;
- $conv118 = $75 << 16 >> 16;
- $mul119 = Math_imul($and116, $conv118)|0;
- $shr120 = $mul119 >> 16;
- $add121 = (($mul115) + ($shr120))|0;
- $add122 = (($71) + ($add121))|0;
- $sum1_Q14 = $add122;
- $76 = $W_Q18$addr;
- $arrayidx123 = ((($76)) + 28|0);
- $77 = HEAP32[$arrayidx123>>2]|0;
- $shr124 = $77 >> 16;
- $arrayidx125 = ((($diff_Q14)) + 4|0);
- $78 = HEAP16[$arrayidx125>>1]|0;
- $conv126 = $78 << 16 >> 16;
- $mul127 = Math_imul($shr124, $conv126)|0;
- $79 = $W_Q18$addr;
- $arrayidx128 = ((($79)) + 28|0);
- $80 = HEAP32[$arrayidx128>>2]|0;
- $and129 = $80 & 65535;
- $arrayidx130 = ((($diff_Q14)) + 4|0);
- $81 = HEAP16[$arrayidx130>>1]|0;
- $conv131 = $81 << 16 >> 16;
- $mul132 = Math_imul($and129, $conv131)|0;
- $shr133 = $mul132 >> 16;
- $add134 = (($mul127) + ($shr133))|0;
- $sum2_Q16 = $add134;
- $82 = $sum2_Q16;
- $83 = $W_Q18$addr;
- $arrayidx135 = ((($83)) + 32|0);
- $84 = HEAP32[$arrayidx135>>2]|0;
- $shr136 = $84 >> 16;
- $arrayidx137 = ((($diff_Q14)) + 6|0);
- $85 = HEAP16[$arrayidx137>>1]|0;
- $conv138 = $85 << 16 >> 16;
- $mul139 = Math_imul($shr136, $conv138)|0;
- $86 = $W_Q18$addr;
- $arrayidx140 = ((($86)) + 32|0);
- $87 = HEAP32[$arrayidx140>>2]|0;
- $and141 = $87 & 65535;
- $arrayidx142 = ((($diff_Q14)) + 6|0);
- $88 = HEAP16[$arrayidx142>>1]|0;
- $conv143 = $88 << 16 >> 16;
- $mul144 = Math_imul($and141, $conv143)|0;
- $shr145 = $mul144 >> 16;
- $add146 = (($mul139) + ($shr145))|0;
- $add147 = (($82) + ($add146))|0;
- $sum2_Q16 = $add147;
- $89 = $sum2_Q16;
- $90 = $W_Q18$addr;
- $arrayidx148 = ((($90)) + 36|0);
- $91 = HEAP32[$arrayidx148>>2]|0;
- $shr149 = $91 >> 16;
- $arrayidx150 = ((($diff_Q14)) + 8|0);
- $92 = HEAP16[$arrayidx150>>1]|0;
- $conv151 = $92 << 16 >> 16;
- $mul152 = Math_imul($shr149, $conv151)|0;
- $93 = $W_Q18$addr;
- $arrayidx153 = ((($93)) + 36|0);
- $94 = HEAP32[$arrayidx153>>2]|0;
- $and154 = $94 & 65535;
- $arrayidx155 = ((($diff_Q14)) + 8|0);
- $95 = HEAP16[$arrayidx155>>1]|0;
- $conv156 = $95 << 16 >> 16;
- $mul157 = Math_imul($and154, $conv156)|0;
- $shr158 = $mul157 >> 16;
- $add159 = (($mul152) + ($shr158))|0;
- $add160 = (($89) + ($add159))|0;
- $sum2_Q16 = $add160;
- $96 = $sum2_Q16;
- $shl161 = $96 << 1;
- $sum2_Q16 = $shl161;
- $97 = $sum2_Q16;
- $98 = $W_Q18$addr;
- $arrayidx162 = ((($98)) + 24|0);
- $99 = HEAP32[$arrayidx162>>2]|0;
- $shr163 = $99 >> 16;
- $arrayidx164 = ((($diff_Q14)) + 2|0);
- $100 = HEAP16[$arrayidx164>>1]|0;
- $conv165 = $100 << 16 >> 16;
- $mul166 = Math_imul($shr163, $conv165)|0;
- $101 = $W_Q18$addr;
- $arrayidx167 = ((($101)) + 24|0);
- $102 = HEAP32[$arrayidx167>>2]|0;
- $and168 = $102 & 65535;
- $arrayidx169 = ((($diff_Q14)) + 2|0);
- $103 = HEAP16[$arrayidx169>>1]|0;
- $conv170 = $103 << 16 >> 16;
- $mul171 = Math_imul($and168, $conv170)|0;
- $shr172 = $mul171 >> 16;
- $add173 = (($mul166) + ($shr172))|0;
- $add174 = (($97) + ($add173))|0;
- $sum2_Q16 = $add174;
- $104 = $sum1_Q14;
- $105 = $sum2_Q16;
- $shr175 = $105 >> 16;
- $arrayidx176 = ((($diff_Q14)) + 2|0);
- $106 = HEAP16[$arrayidx176>>1]|0;
- $conv177 = $106 << 16 >> 16;
- $mul178 = Math_imul($shr175, $conv177)|0;
- $107 = $sum2_Q16;
- $and179 = $107 & 65535;
- $arrayidx180 = ((($diff_Q14)) + 2|0);
- $108 = HEAP16[$arrayidx180>>1]|0;
- $conv181 = $108 << 16 >> 16;
- $mul182 = Math_imul($and179, $conv181)|0;
- $shr183 = $mul182 >> 16;
- $add184 = (($mul178) + ($shr183))|0;
- $add185 = (($104) + ($add184))|0;
- $sum1_Q14 = $add185;
- $109 = $W_Q18$addr;
- $arrayidx186 = ((($109)) + 52|0);
- $110 = HEAP32[$arrayidx186>>2]|0;
- $shr187 = $110 >> 16;
- $arrayidx188 = ((($diff_Q14)) + 6|0);
- $111 = HEAP16[$arrayidx188>>1]|0;
- $conv189 = $111 << 16 >> 16;
- $mul190 = Math_imul($shr187, $conv189)|0;
- $112 = $W_Q18$addr;
- $arrayidx191 = ((($112)) + 52|0);
- $113 = HEAP32[$arrayidx191>>2]|0;
- $and192 = $113 & 65535;
- $arrayidx193 = ((($diff_Q14)) + 6|0);
- $114 = HEAP16[$arrayidx193>>1]|0;
- $conv194 = $114 << 16 >> 16;
- $mul195 = Math_imul($and192, $conv194)|0;
- $shr196 = $mul195 >> 16;
- $add197 = (($mul190) + ($shr196))|0;
- $sum2_Q16 = $add197;
- $115 = $sum2_Q16;
- $116 = $W_Q18$addr;
- $arrayidx198 = ((($116)) + 56|0);
- $117 = HEAP32[$arrayidx198>>2]|0;
- $shr199 = $117 >> 16;
- $arrayidx200 = ((($diff_Q14)) + 8|0);
- $118 = HEAP16[$arrayidx200>>1]|0;
- $conv201 = $118 << 16 >> 16;
- $mul202 = Math_imul($shr199, $conv201)|0;
- $119 = $W_Q18$addr;
- $arrayidx203 = ((($119)) + 56|0);
- $120 = HEAP32[$arrayidx203>>2]|0;
- $and204 = $120 & 65535;
- $arrayidx205 = ((($diff_Q14)) + 8|0);
- $121 = HEAP16[$arrayidx205>>1]|0;
- $conv206 = $121 << 16 >> 16;
- $mul207 = Math_imul($and204, $conv206)|0;
- $shr208 = $mul207 >> 16;
- $add209 = (($mul202) + ($shr208))|0;
- $add210 = (($115) + ($add209))|0;
- $sum2_Q16 = $add210;
- $122 = $sum2_Q16;
- $shl211 = $122 << 1;
- $sum2_Q16 = $shl211;
- $123 = $sum2_Q16;
- $124 = $W_Q18$addr;
- $arrayidx212 = ((($124)) + 48|0);
- $125 = HEAP32[$arrayidx212>>2]|0;
- $shr213 = $125 >> 16;
- $arrayidx214 = ((($diff_Q14)) + 4|0);
- $126 = HEAP16[$arrayidx214>>1]|0;
- $conv215 = $126 << 16 >> 16;
- $mul216 = Math_imul($shr213, $conv215)|0;
- $127 = $W_Q18$addr;
- $arrayidx217 = ((($127)) + 48|0);
- $128 = HEAP32[$arrayidx217>>2]|0;
- $and218 = $128 & 65535;
- $arrayidx219 = ((($diff_Q14)) + 4|0);
- $129 = HEAP16[$arrayidx219>>1]|0;
- $conv220 = $129 << 16 >> 16;
- $mul221 = Math_imul($and218, $conv220)|0;
- $shr222 = $mul221 >> 16;
- $add223 = (($mul216) + ($shr222))|0;
- $add224 = (($123) + ($add223))|0;
- $sum2_Q16 = $add224;
- $130 = $sum1_Q14;
- $131 = $sum2_Q16;
- $shr225 = $131 >> 16;
- $arrayidx226 = ((($diff_Q14)) + 4|0);
- $132 = HEAP16[$arrayidx226>>1]|0;
- $conv227 = $132 << 16 >> 16;
- $mul228 = Math_imul($shr225, $conv227)|0;
- $133 = $sum2_Q16;
- $and229 = $133 & 65535;
- $arrayidx230 = ((($diff_Q14)) + 4|0);
- $134 = HEAP16[$arrayidx230>>1]|0;
- $conv231 = $134 << 16 >> 16;
- $mul232 = Math_imul($and229, $conv231)|0;
- $shr233 = $mul232 >> 16;
- $add234 = (($mul228) + ($shr233))|0;
- $add235 = (($130) + ($add234))|0;
- $sum1_Q14 = $add235;
- $135 = $W_Q18$addr;
- $arrayidx236 = ((($135)) + 76|0);
- $136 = HEAP32[$arrayidx236>>2]|0;
- $shr237 = $136 >> 16;
- $arrayidx238 = ((($diff_Q14)) + 8|0);
- $137 = HEAP16[$arrayidx238>>1]|0;
- $conv239 = $137 << 16 >> 16;
- $mul240 = Math_imul($shr237, $conv239)|0;
- $138 = $W_Q18$addr;
- $arrayidx241 = ((($138)) + 76|0);
- $139 = HEAP32[$arrayidx241>>2]|0;
- $and242 = $139 & 65535;
- $arrayidx243 = ((($diff_Q14)) + 8|0);
- $140 = HEAP16[$arrayidx243>>1]|0;
- $conv244 = $140 << 16 >> 16;
- $mul245 = Math_imul($and242, $conv244)|0;
- $shr246 = $mul245 >> 16;
- $add247 = (($mul240) + ($shr246))|0;
- $sum2_Q16 = $add247;
- $141 = $sum2_Q16;
- $shl248 = $141 << 1;
- $sum2_Q16 = $shl248;
- $142 = $sum2_Q16;
- $143 = $W_Q18$addr;
- $arrayidx249 = ((($143)) + 72|0);
- $144 = HEAP32[$arrayidx249>>2]|0;
- $shr250 = $144 >> 16;
- $arrayidx251 = ((($diff_Q14)) + 6|0);
- $145 = HEAP16[$arrayidx251>>1]|0;
- $conv252 = $145 << 16 >> 16;
- $mul253 = Math_imul($shr250, $conv252)|0;
- $146 = $W_Q18$addr;
- $arrayidx254 = ((($146)) + 72|0);
- $147 = HEAP32[$arrayidx254>>2]|0;
- $and255 = $147 & 65535;
- $arrayidx256 = ((($diff_Q14)) + 6|0);
- $148 = HEAP16[$arrayidx256>>1]|0;
- $conv257 = $148 << 16 >> 16;
- $mul258 = Math_imul($and255, $conv257)|0;
- $shr259 = $mul258 >> 16;
- $add260 = (($mul253) + ($shr259))|0;
- $add261 = (($142) + ($add260))|0;
- $sum2_Q16 = $add261;
- $149 = $sum1_Q14;
- $150 = $sum2_Q16;
- $shr262 = $150 >> 16;
- $arrayidx263 = ((($diff_Q14)) + 6|0);
- $151 = HEAP16[$arrayidx263>>1]|0;
- $conv264 = $151 << 16 >> 16;
- $mul265 = Math_imul($shr262, $conv264)|0;
- $152 = $sum2_Q16;
- $and266 = $152 & 65535;
- $arrayidx267 = ((($diff_Q14)) + 6|0);
- $153 = HEAP16[$arrayidx267>>1]|0;
- $conv268 = $153 << 16 >> 16;
- $mul269 = Math_imul($and266, $conv268)|0;
- $shr270 = $mul269 >> 16;
- $add271 = (($mul265) + ($shr270))|0;
- $add272 = (($149) + ($add271))|0;
- $sum1_Q14 = $add272;
- $154 = $W_Q18$addr;
- $arrayidx273 = ((($154)) + 96|0);
- $155 = HEAP32[$arrayidx273>>2]|0;
- $shr274 = $155 >> 16;
- $arrayidx275 = ((($diff_Q14)) + 8|0);
- $156 = HEAP16[$arrayidx275>>1]|0;
- $conv276 = $156 << 16 >> 16;
- $mul277 = Math_imul($shr274, $conv276)|0;
- $157 = $W_Q18$addr;
- $arrayidx278 = ((($157)) + 96|0);
- $158 = HEAP32[$arrayidx278>>2]|0;
- $and279 = $158 & 65535;
- $arrayidx280 = ((($diff_Q14)) + 8|0);
- $159 = HEAP16[$arrayidx280>>1]|0;
- $conv281 = $159 << 16 >> 16;
- $mul282 = Math_imul($and279, $conv281)|0;
- $shr283 = $mul282 >> 16;
- $add284 = (($mul277) + ($shr283))|0;
- $sum2_Q16 = $add284;
- $160 = $sum1_Q14;
- $161 = $sum2_Q16;
- $shr285 = $161 >> 16;
- $arrayidx286 = ((($diff_Q14)) + 8|0);
- $162 = HEAP16[$arrayidx286>>1]|0;
- $conv287 = $162 << 16 >> 16;
- $mul288 = Math_imul($shr285, $conv287)|0;
- $163 = $sum2_Q16;
- $and289 = $163 & 65535;
- $arrayidx290 = ((($diff_Q14)) + 8|0);
- $164 = HEAP16[$arrayidx290>>1]|0;
- $conv291 = $164 << 16 >> 16;
- $mul292 = Math_imul($and289, $conv291)|0;
- $shr293 = $mul292 >> 16;
- $add294 = (($mul288) + ($shr293))|0;
- $add295 = (($160) + ($add294))|0;
- $sum1_Q14 = $add295;
- $165 = $sum1_Q14;
- $166 = $rate_dist_Q14$addr;
- $167 = HEAP32[$166>>2]|0;
- $cmp296 = ($165|0)<($167|0);
- if ($cmp296) {
- $168 = $sum1_Q14;
- $169 = $rate_dist_Q14$addr;
- HEAP32[$169>>2] = $168;
- $170 = $k;
- $conv298 = $170&255;
- $171 = $ind$addr;
- HEAP8[$171>>0] = $conv298;
- $172 = $gain_tmp_Q7;
- $173 = $gain_Q7$addr;
- HEAP32[$173>>2] = $172;
- }
- $174 = $cb_row_Q7;
- $add$ptr = ((($174)) + 5|0);
- $cb_row_Q7 = $add$ptr;
- $175 = $k;
- $inc = (($175) + 1)|0;
- $k = $inc;
+ $10 = $4;
+ $11 = $6;
+ $12 = $11<<1;
+ $13 = (($10) + ($12<<2)|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = $4;
+ $16 = $6;
+ $17 = $16<<1;
+ $18 = (($17) + 1)|0;
+ $19 = (($15) + ($18<<2)|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = (($14) + ($20))|0;
+ $22 = $3;
+ $23 = $6;
+ $24 = (($22) + ($23<<2)|0);
+ HEAP32[$24>>2] = $21;
+ $25 = $6;
+ $26 = (($25) + 1)|0;
+ $6 = $26;
}
STACKTOP = sp;return;
}
-function _silk_process_NLSFs($psEncC,$PredCoef_Q12,$pNLSF_Q15,$prev_NLSFq_Q15) {
- $psEncC = $psEncC|0;
- $PredCoef_Q12 = $PredCoef_Q12|0;
- $pNLSF_Q15 = $pNLSF_Q15|0;
- $prev_NLSFq_Q15 = $prev_NLSFq_Q15|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $7 = 0, $8 = 0, $9 = 0, $NLSFIndices = 0, $NLSFInterpCoef_Q2 = 0, $NLSFInterpCoef_Q218 = 0, $NLSFInterpCoef_Q225 = 0, $NLSFInterpCoef_Q229 = 0, $NLSFInterpCoef_Q267 = 0, $NLSF_MSVQ_Survivors = 0, $NLSF_mu_Q20 = 0, $PredCoef_Q12$addr = 0, $add = 0, $add50 = 0;
- var $add51 = 0, $add6 = 0, $add9 = 0, $and = 0, $arrayidx = 0, $arrayidx38 = 0, $arrayidx44 = 0, $arrayidx53 = 0, $arrayidx60 = 0, $arrayidx76 = 0, $cmp = 0, $cmp10 = 0, $cmp13 = 0, $cmp34 = 0, $conv = 0, $conv1 = 0, $conv12 = 0, $conv19 = 0, $conv26 = 0, $conv27 = 0;
- var $conv3 = 0, $conv30 = 0, $conv31 = 0, $conv36 = 0, $conv39 = 0, $conv4 = 0, $conv41 = 0, $conv42 = 0, $conv45 = 0, $conv46 = 0, $conv47 = 0, $conv52 = 0, $conv59 = 0, $conv68 = 0, $doInterpolate = 0, $i = 0, $i_sqr_Q15 = 0, $inc = 0, $indices = 0, $indices17 = 0;
- var $indices24 = 0, $indices28 = 0, $indices55 = 0, $indices58 = 0, $indices66 = 0, $land$ext = 0, $mul = 0, $mul32 = 0, $mul43 = 0, $mul48 = 0, $mul5 = 0, $mul79 = 0, $nb_subfr = 0, $pNLSF0_temp_Q15 = 0, $pNLSFW0_temp_QW = 0, $pNLSFW_QW = 0, $pNLSF_Q15$addr = 0, $predictLPCOrder = 0, $predictLPCOrder20 = 0, $predictLPCOrder23 = 0;
- var $predictLPCOrder33 = 0, $predictLPCOrder62 = 0, $predictLPCOrder69 = 0, $predictLPCOrder73 = 0, $predictLPCOrder78 = 0, $prev_NLSFq_Q15$addr = 0, $psEncC$addr = 0, $psNLSF_CB = 0, $shl = 0, $shr = 0, $shr37 = 0, $shr40 = 0, $shr49 = 0, $shr8 = 0, $signalType = 0, $speech_activity_Q8 = 0, $speech_activity_Q82 = 0, $tobool = 0, $tobool63 = 0, $useInterpolatedNLSFs = 0;
- var label = 0, sp = 0;
+function _encode_split($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
- $pNLSF0_temp_Q15 = sp + 96|0;
- $pNLSFW_QW = sp + 64|0;
- $pNLSFW0_temp_QW = sp + 32|0;
- $psEncC$addr = $psEncC;
- $PredCoef_Q12$addr = $PredCoef_Q12;
- $pNLSF_Q15$addr = $pNLSF_Q15;
- $prev_NLSFq_Q15$addr = $prev_NLSFq_Q15;
- $0 = $psEncC$addr;
- $speech_activity_Q8 = ((($0)) + 4556|0);
- $1 = HEAP32[$speech_activity_Q8>>2]|0;
- $conv = $1&65535;
- $conv1 = $conv << 16 >> 16;
- $mul = Math_imul(-5, $conv1)|0;
- $2 = $psEncC$addr;
- $speech_activity_Q82 = ((($2)) + 4556|0);
- $3 = HEAP32[$speech_activity_Q82>>2]|0;
- $conv3 = $3&65535;
- $conv4 = $conv3 << 16 >> 16;
- $mul5 = ($conv4*59246)|0;
- $shr = $mul5 >> 16;
- $add = (($mul) + ($shr))|0;
- $add6 = (3146 + ($add))|0;
- $NLSF_mu_Q20 = $add6;
- $4 = $psEncC$addr;
- $nb_subfr = ((($4)) + 4604|0);
- $5 = HEAP32[$nb_subfr>>2]|0;
- $cmp = ($5|0)==(2);
- if ($cmp) {
- $6 = $NLSF_mu_Q20;
- $7 = $NLSF_mu_Q20;
- $shr8 = $7 >> 1;
- $add9 = (($6) + ($shr8))|0;
- $NLSF_mu_Q20 = $add9;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = $6;
+ $9 = ($8|0)>(0);
+ if (!($9)) {
+ STACKTOP = sp;return;
}
- $8 = $pNLSF_Q15$addr;
- $9 = $psEncC$addr;
- $predictLPCOrder = ((($9)) + 4664|0);
- $10 = HEAP32[$predictLPCOrder>>2]|0;
- _silk_NLSF_VQ_weights_laroia($pNLSFW_QW,$8,$10);
- $11 = $psEncC$addr;
- $useInterpolatedNLSFs = ((($11)) + 4656|0);
- $12 = HEAP32[$useInterpolatedNLSFs>>2]|0;
- $cmp10 = ($12|0)==(1);
- if ($cmp10) {
- $13 = $psEncC$addr;
- $indices = ((($13)) + 4768|0);
- $NLSFInterpCoef_Q2 = ((($indices)) + 31|0);
- $14 = HEAP8[$NLSFInterpCoef_Q2>>0]|0;
- $conv12 = $14 << 24 >> 24;
- $cmp13 = ($conv12|0)<(4);
- $15 = $cmp13;
+ $10 = $4;
+ $11 = $5;
+ $12 = $7;
+ $13 = $6;
+ $14 = (28846 + ($13)|0);
+ $15 = HEAP8[$14>>0]|0;
+ $16 = $15&255;
+ $17 = (($12) + ($16)|0);
+ _ec_enc_icdf($10,$11,$17,8);
+ STACKTOP = sp;return;
+}
+function _silk_shell_decoder($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
+ var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
+ var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
+ var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $6 = sp + 40|0;
+ $7 = sp + 32|0;
+ $8 = sp + 16|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $9 = ((($6)) + 2|0);
+ $10 = $4;
+ $11 = $5;
+ _decode_split($6,$9,$10,$11,28694);
+ $12 = ((($7)) + 2|0);
+ $13 = $4;
+ $14 = HEAP16[$6>>1]|0;
+ $15 = $14 << 16 >> 16;
+ _decode_split($7,$12,$13,$15,28542);
+ $16 = ((($8)) + 2|0);
+ $17 = $4;
+ $18 = HEAP16[$7>>1]|0;
+ $19 = $18 << 16 >> 16;
+ _decode_split($8,$16,$17,$19,28390);
+ $20 = $3;
+ $21 = $3;
+ $22 = ((($21)) + 2|0);
+ $23 = $4;
+ $24 = HEAP16[$8>>1]|0;
+ $25 = $24 << 16 >> 16;
+ _decode_split($20,$22,$23,$25,28238);
+ $26 = $3;
+ $27 = ((($26)) + 4|0);
+ $28 = $3;
+ $29 = ((($28)) + 6|0);
+ $30 = $4;
+ $31 = ((($8)) + 2|0);
+ $32 = HEAP16[$31>>1]|0;
+ $33 = $32 << 16 >> 16;
+ _decode_split($27,$29,$30,$33,28238);
+ $34 = ((($8)) + 4|0);
+ $35 = ((($8)) + 6|0);
+ $36 = $4;
+ $37 = ((($7)) + 2|0);
+ $38 = HEAP16[$37>>1]|0;
+ $39 = $38 << 16 >> 16;
+ _decode_split($34,$35,$36,$39,28390);
+ $40 = $3;
+ $41 = ((($40)) + 8|0);
+ $42 = $3;
+ $43 = ((($42)) + 10|0);
+ $44 = $4;
+ $45 = ((($8)) + 4|0);
+ $46 = HEAP16[$45>>1]|0;
+ $47 = $46 << 16 >> 16;
+ _decode_split($41,$43,$44,$47,28238);
+ $48 = $3;
+ $49 = ((($48)) + 12|0);
+ $50 = $3;
+ $51 = ((($50)) + 14|0);
+ $52 = $4;
+ $53 = ((($8)) + 6|0);
+ $54 = HEAP16[$53>>1]|0;
+ $55 = $54 << 16 >> 16;
+ _decode_split($49,$51,$52,$55,28238);
+ $56 = ((($7)) + 4|0);
+ $57 = ((($7)) + 6|0);
+ $58 = $4;
+ $59 = ((($6)) + 2|0);
+ $60 = HEAP16[$59>>1]|0;
+ $61 = $60 << 16 >> 16;
+ _decode_split($56,$57,$58,$61,28542);
+ $62 = ((($8)) + 8|0);
+ $63 = ((($8)) + 10|0);
+ $64 = $4;
+ $65 = ((($7)) + 4|0);
+ $66 = HEAP16[$65>>1]|0;
+ $67 = $66 << 16 >> 16;
+ _decode_split($62,$63,$64,$67,28390);
+ $68 = $3;
+ $69 = ((($68)) + 16|0);
+ $70 = $3;
+ $71 = ((($70)) + 18|0);
+ $72 = $4;
+ $73 = ((($8)) + 8|0);
+ $74 = HEAP16[$73>>1]|0;
+ $75 = $74 << 16 >> 16;
+ _decode_split($69,$71,$72,$75,28238);
+ $76 = $3;
+ $77 = ((($76)) + 20|0);
+ $78 = $3;
+ $79 = ((($78)) + 22|0);
+ $80 = $4;
+ $81 = ((($8)) + 10|0);
+ $82 = HEAP16[$81>>1]|0;
+ $83 = $82 << 16 >> 16;
+ _decode_split($77,$79,$80,$83,28238);
+ $84 = ((($8)) + 12|0);
+ $85 = ((($8)) + 14|0);
+ $86 = $4;
+ $87 = ((($7)) + 6|0);
+ $88 = HEAP16[$87>>1]|0;
+ $89 = $88 << 16 >> 16;
+ _decode_split($84,$85,$86,$89,28390);
+ $90 = $3;
+ $91 = ((($90)) + 24|0);
+ $92 = $3;
+ $93 = ((($92)) + 26|0);
+ $94 = $4;
+ $95 = ((($8)) + 12|0);
+ $96 = HEAP16[$95>>1]|0;
+ $97 = $96 << 16 >> 16;
+ _decode_split($91,$93,$94,$97,28238);
+ $98 = $3;
+ $99 = ((($98)) + 28|0);
+ $100 = $3;
+ $101 = ((($100)) + 30|0);
+ $102 = $4;
+ $103 = ((($8)) + 14|0);
+ $104 = HEAP16[$103>>1]|0;
+ $105 = $104 << 16 >> 16;
+ _decode_split($99,$101,$102,$105,28238);
+ STACKTOP = sp;return;
+}
+function _decode_split($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$sink = 0, $$sink2 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $30 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = $8;
+ $11 = ($10|0)>(0);
+ if ($11) {
+ $12 = $7;
+ $13 = $9;
+ $14 = $8;
+ $15 = (28846 + ($14)|0);
+ $16 = HEAP8[$15>>0]|0;
+ $17 = $16&255;
+ $18 = (($13) + ($17)|0);
+ $19 = (_ec_dec_icdf($12,$18,8)|0);
+ $20 = $19&65535;
+ $21 = $5;
+ HEAP16[$21>>1] = $20;
+ $22 = $8;
+ $23 = $5;
+ $24 = HEAP16[$23>>1]|0;
+ $25 = $24 << 16 >> 16;
+ $26 = (($22) - ($25))|0;
+ $27 = $26&65535;
+ $28 = $6;
+ $$sink = $27;$$sink2 = $28;
+ HEAP16[$$sink2>>1] = $$sink;
+ STACKTOP = sp;return;
} else {
- $15 = 0;
+ $29 = $5;
+ HEAP16[$29>>1] = 0;
+ $30 = $6;
+ $$sink = 0;$$sink2 = $30;
+ HEAP16[$$sink2>>1] = $$sink;
+ STACKTOP = sp;return;
}
- $land$ext = $15&1;
- $doInterpolate = $land$ext;
- $16 = $doInterpolate;
- $tobool = ($16|0)!=(0);
- L7: do {
- if ($tobool) {
- $17 = $prev_NLSFq_Q15$addr;
- $18 = $pNLSF_Q15$addr;
- $19 = $psEncC$addr;
- $indices17 = ((($19)) + 4768|0);
- $NLSFInterpCoef_Q218 = ((($indices17)) + 31|0);
- $20 = HEAP8[$NLSFInterpCoef_Q218>>0]|0;
- $conv19 = $20 << 24 >> 24;
- $21 = $psEncC$addr;
- $predictLPCOrder20 = ((($21)) + 4664|0);
- $22 = HEAP32[$predictLPCOrder20>>2]|0;
- _silk_interpolate($pNLSF0_temp_Q15,$17,$18,$conv19,$22);
- $23 = $psEncC$addr;
- $predictLPCOrder23 = ((($23)) + 4664|0);
- $24 = HEAP32[$predictLPCOrder23>>2]|0;
- _silk_NLSF_VQ_weights_laroia($pNLSFW0_temp_QW,$pNLSF0_temp_Q15,$24);
- $25 = $psEncC$addr;
- $indices24 = ((($25)) + 4768|0);
- $NLSFInterpCoef_Q225 = ((($indices24)) + 31|0);
- $26 = HEAP8[$NLSFInterpCoef_Q225>>0]|0;
- $conv26 = $26 << 24 >> 24;
- $conv27 = $conv26 << 16 >> 16;
- $27 = $psEncC$addr;
- $indices28 = ((($27)) + 4768|0);
- $NLSFInterpCoef_Q229 = ((($indices28)) + 31|0);
- $28 = HEAP8[$NLSFInterpCoef_Q229>>0]|0;
- $conv30 = $28 << 24 >> 24;
- $conv31 = $conv30 << 16 >> 16;
- $mul32 = Math_imul($conv27, $conv31)|0;
- $shl = $mul32 << 11;
- $i_sqr_Q15 = $shl;
- $i = 0;
- while(1) {
- $29 = $i;
- $30 = $psEncC$addr;
- $predictLPCOrder33 = ((($30)) + 4664|0);
- $31 = HEAP32[$predictLPCOrder33>>2]|0;
- $cmp34 = ($29|0)<($31|0);
- if (!($cmp34)) {
- break L7;
- }
- $32 = $i;
- $arrayidx = (($pNLSFW_QW) + ($32<<1)|0);
- $33 = HEAP16[$arrayidx>>1]|0;
- $conv36 = $33 << 16 >> 16;
- $shr37 = $conv36 >> 1;
- $34 = $i;
- $arrayidx38 = (($pNLSFW0_temp_QW) + ($34<<1)|0);
- $35 = HEAP16[$arrayidx38>>1]|0;
- $conv39 = $35 << 16 >> 16;
- $shr40 = $conv39 >> 16;
- $36 = $i_sqr_Q15;
- $conv41 = $36&65535;
- $conv42 = $conv41 << 16 >> 16;
- $mul43 = Math_imul($shr40, $conv42)|0;
- $37 = $i;
- $arrayidx44 = (($pNLSFW0_temp_QW) + ($37<<1)|0);
- $38 = HEAP16[$arrayidx44>>1]|0;
- $conv45 = $38 << 16 >> 16;
- $and = $conv45 & 65535;
- $39 = $i_sqr_Q15;
- $conv46 = $39&65535;
- $conv47 = $conv46 << 16 >> 16;
- $mul48 = Math_imul($and, $conv47)|0;
- $shr49 = $mul48 >> 16;
- $add50 = (($mul43) + ($shr49))|0;
- $add51 = (($shr37) + ($add50))|0;
- $conv52 = $add51&65535;
- $40 = $i;
- $arrayidx53 = (($pNLSFW_QW) + ($40<<1)|0);
- HEAP16[$arrayidx53>>1] = $conv52;
- $41 = $i;
- $inc = (($41) + 1)|0;
- $i = $inc;
+}
+function _silk_HP_variable_cutoff($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0;
+ var $171 = 0, $172 = 0, $173 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $1 = $0;
+ $7 = $1;
+ $6 = $7;
+ $8 = $6;
+ $9 = ((($8)) + 4565|0);
+ $10 = HEAP8[$9>>0]|0;
+ $11 = $10 << 24 >> 24;
+ $12 = ($11|0)==(2);
+ if (!($12)) {
+ STACKTOP = sp;return;
+ }
+ $13 = $6;
+ $14 = ((($13)) + 4600|0);
+ $15 = HEAP32[$14>>2]|0;
+ $16 = ($15*1000)|0;
+ $17 = $16 << 16;
+ $18 = $6;
+ $19 = ((($18)) + 4568|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = (($17|0) / ($20|0))&-1;
+ $3 = $21;
+ $22 = $3;
+ $23 = (_silk_lin2log($22)|0);
+ $24 = (($23) - 2048)|0;
+ $4 = $24;
+ $25 = $6;
+ $26 = ((($25)) + 4728|0);
+ $27 = HEAP32[$26>>2]|0;
+ $2 = $27;
+ $28 = $4;
+ $29 = $2;
+ $30 = (0 - ($29))|0;
+ $31 = $30 << 2;
+ $32 = $31 >> 16;
+ $33 = $2;
+ $34 = $33&65535;
+ $35 = $34 << 16 >> 16;
+ $36 = Math_imul($32, $35)|0;
+ $37 = $2;
+ $38 = (0 - ($37))|0;
+ $39 = $38 << 2;
+ $40 = $39 & 65535;
+ $41 = $2;
+ $42 = $41&65535;
+ $43 = $42 << 16 >> 16;
+ $44 = Math_imul($40, $43)|0;
+ $45 = $44 >> 16;
+ $46 = (($36) + ($45))|0;
+ $47 = $46 >> 16;
+ $48 = $4;
+ $49 = (_silk_lin2log(3932160)|0);
+ $50 = (($49) - 2048)|0;
+ $51 = (($48) - ($50))|0;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($47, $53)|0;
+ $55 = $2;
+ $56 = (0 - ($55))|0;
+ $57 = $56 << 2;
+ $58 = $57 >> 16;
+ $59 = $2;
+ $60 = $59&65535;
+ $61 = $60 << 16 >> 16;
+ $62 = Math_imul($58, $61)|0;
+ $63 = $2;
+ $64 = (0 - ($63))|0;
+ $65 = $64 << 2;
+ $66 = $65 & 65535;
+ $67 = $2;
+ $68 = $67&65535;
+ $69 = $68 << 16 >> 16;
+ $70 = Math_imul($66, $69)|0;
+ $71 = $70 >> 16;
+ $72 = (($62) + ($71))|0;
+ $73 = $72 & 65535;
+ $74 = $4;
+ $75 = (_silk_lin2log(3932160)|0);
+ $76 = (($75) - 2048)|0;
+ $77 = (($74) - ($76))|0;
+ $78 = $77&65535;
+ $79 = $78 << 16 >> 16;
+ $80 = Math_imul($73, $79)|0;
+ $81 = $80 >> 16;
+ $82 = (($54) + ($81))|0;
+ $83 = (($28) + ($82))|0;
+ $4 = $83;
+ $84 = $4;
+ $85 = $6;
+ $86 = ((($85)) + 8|0);
+ $87 = HEAP32[$86>>2]|0;
+ $88 = $87 >> 8;
+ $89 = (($84) - ($88))|0;
+ $5 = $89;
+ $90 = $5;
+ $91 = ($90|0)<(0);
+ if ($91) {
+ $92 = $5;
+ $93 = ($92*3)|0;
+ $5 = $93;
+ }
+ $94 = $5;
+ $95 = ($94|0)>(51);
+ if ($95) {
+ $100 = 51;
+ } else {
+ $96 = $5;
+ $97 = ($96|0)<(-51);
+ $98 = $5;
+ $99 = $97 ? -51 : $98;
+ $100 = $99;
+ }
+ $5 = $100;
+ $101 = $6;
+ $102 = ((($101)) + 8|0);
+ $103 = HEAP32[$102>>2]|0;
+ $104 = $6;
+ $105 = ((($104)) + 4556|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = $106&65535;
+ $108 = $107 << 16 >> 16;
+ $109 = $5;
+ $110 = $109&65535;
+ $111 = $110 << 16 >> 16;
+ $112 = Math_imul($108, $111)|0;
+ $113 = $112 >> 16;
+ $114 = ($113*6554)|0;
+ $115 = $6;
+ $116 = ((($115)) + 4556|0);
+ $117 = HEAP32[$116>>2]|0;
+ $118 = $117&65535;
+ $119 = $118 << 16 >> 16;
+ $120 = $5;
+ $121 = $120&65535;
+ $122 = $121 << 16 >> 16;
+ $123 = Math_imul($119, $122)|0;
+ $124 = $123 & 65535;
+ $125 = ($124*6554)|0;
+ $126 = $125 >> 16;
+ $127 = (($114) + ($126))|0;
+ $128 = (($103) + ($127))|0;
+ $129 = $6;
+ $130 = ((($129)) + 8|0);
+ HEAP32[$130>>2] = $128;
+ $131 = (_silk_lin2log(60)|0);
+ $132 = $131 << 8;
+ $133 = (_silk_lin2log(100)|0);
+ $134 = $133 << 8;
+ $135 = ($132|0)>($134|0);
+ $136 = $6;
+ $137 = ((($136)) + 8|0);
+ $138 = HEAP32[$137>>2]|0;
+ do {
+ if ($135) {
+ $139 = (_silk_lin2log(60)|0);
+ $140 = $139 << 8;
+ $141 = ($138|0)>($140|0);
+ if ($141) {
+ $142 = (_silk_lin2log(60)|0);
+ $143 = $142 << 8;
+ $173 = $143;
+ break;
+ }
+ $144 = $6;
+ $145 = ((($144)) + 8|0);
+ $146 = HEAP32[$145>>2]|0;
+ $147 = (_silk_lin2log(100)|0);
+ $148 = $147 << 8;
+ $149 = ($146|0)<($148|0);
+ if ($149) {
+ $150 = (_silk_lin2log(100)|0);
+ $151 = $150 << 8;
+ $173 = $151;
+ break;
+ } else {
+ $152 = $6;
+ $153 = ((($152)) + 8|0);
+ $154 = HEAP32[$153>>2]|0;
+ $173 = $154;
+ break;
+ }
+ } else {
+ $155 = (_silk_lin2log(100)|0);
+ $156 = $155 << 8;
+ $157 = ($138|0)>($156|0);
+ if ($157) {
+ $158 = (_silk_lin2log(100)|0);
+ $159 = $158 << 8;
+ $173 = $159;
+ break;
+ }
+ $160 = $6;
+ $161 = ((($160)) + 8|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = (_silk_lin2log(60)|0);
+ $164 = $163 << 8;
+ $165 = ($162|0)<($164|0);
+ if ($165) {
+ $166 = (_silk_lin2log(60)|0);
+ $167 = $166 << 8;
+ $173 = $167;
+ break;
+ } else {
+ $168 = $6;
+ $169 = ((($168)) + 8|0);
+ $170 = HEAP32[$169>>2]|0;
+ $173 = $170;
+ break;
}
}
} while(0);
- $42 = $psEncC$addr;
- $indices55 = ((($42)) + 4768|0);
- $NLSFIndices = ((($indices55)) + 8|0);
- $43 = $pNLSF_Q15$addr;
- $44 = $psEncC$addr;
- $psNLSF_CB = ((($44)) + 4724|0);
- $45 = HEAP32[$psNLSF_CB>>2]|0;
- $46 = $NLSF_mu_Q20;
- $47 = $psEncC$addr;
- $NLSF_MSVQ_Survivors = ((($47)) + 4692|0);
- $48 = HEAP32[$NLSF_MSVQ_Survivors>>2]|0;
- $49 = $psEncC$addr;
- $indices58 = ((($49)) + 4768|0);
- $signalType = ((($indices58)) + 29|0);
- $50 = HEAP8[$signalType>>0]|0;
- $conv59 = $50 << 24 >> 24;
- (_silk_NLSF_encode($NLSFIndices,$43,$45,$pNLSFW_QW,$46,$48,$conv59)|0);
- $51 = $PredCoef_Q12$addr;
- $arrayidx60 = ((($51)) + 32|0);
- $52 = $pNLSF_Q15$addr;
- $53 = $psEncC$addr;
- $predictLPCOrder62 = ((($53)) + 4664|0);
- $54 = HEAP32[$predictLPCOrder62>>2]|0;
- _silk_NLSF2A($arrayidx60,$52,$54);
- $55 = $doInterpolate;
- $tobool63 = ($55|0)!=(0);
- if ($tobool63) {
- $56 = $prev_NLSFq_Q15$addr;
- $57 = $pNLSF_Q15$addr;
- $58 = $psEncC$addr;
- $indices66 = ((($58)) + 4768|0);
- $NLSFInterpCoef_Q267 = ((($indices66)) + 31|0);
- $59 = HEAP8[$NLSFInterpCoef_Q267>>0]|0;
- $conv68 = $59 << 24 >> 24;
- $60 = $psEncC$addr;
- $predictLPCOrder69 = ((($60)) + 4664|0);
- $61 = HEAP32[$predictLPCOrder69>>2]|0;
- _silk_interpolate($pNLSF0_temp_Q15,$56,$57,$conv68,$61);
- $62 = $PredCoef_Q12$addr;
- $63 = $psEncC$addr;
- $predictLPCOrder73 = ((($63)) + 4664|0);
- $64 = HEAP32[$predictLPCOrder73>>2]|0;
- _silk_NLSF2A($62,$pNLSF0_temp_Q15,$64);
+ $171 = $6;
+ $172 = ((($171)) + 8|0);
+ HEAP32[$172>>2] = $173;
+ STACKTOP = sp;return;
+}
+function _silk_NLSF_unpack($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $11 = $6;
+ $12 = ((($11)) + 20|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = $7;
+ $15 = $6;
+ $16 = ((($15)) + 2|0);
+ $17 = HEAP16[$16>>1]|0;
+ $18 = $17 << 16 >> 16;
+ $19 = Math_imul($14, $18)|0;
+ $20 = (($19|0) / 2)&-1;
+ $21 = (($13) + ($20)|0);
+ $10 = $21;
+ $8 = 0;
+ while(1) {
+ $22 = $8;
+ $23 = $6;
+ $24 = ((($23)) + 2|0);
+ $25 = HEAP16[$24>>1]|0;
+ $26 = $25 << 16 >> 16;
+ $27 = ($22|0)<($26|0);
+ if (!($27)) {
+ break;
+ }
+ $28 = $10;
+ $29 = ((($28)) + 1|0);
+ $10 = $29;
+ $30 = HEAP8[$28>>0]|0;
+ $9 = $30;
+ $31 = $9;
+ $32 = $31&255;
+ $33 = $32 >> 1;
+ $34 = $33 & 7;
+ $35 = $34&65535;
+ $36 = $35 << 16 >> 16;
+ $37 = ($36*9)|0;
+ $38 = $37&65535;
+ $39 = $4;
+ $40 = $8;
+ $41 = (($39) + ($40<<1)|0);
+ HEAP16[$41>>1] = $38;
+ $42 = $6;
+ $43 = ((($42)) + 16|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = $8;
+ $46 = $9;
+ $47 = $46&255;
+ $48 = $47 & 1;
+ $49 = $6;
+ $50 = ((($49)) + 2|0);
+ $51 = HEAP16[$50>>1]|0;
+ $52 = $51 << 16 >> 16;
+ $53 = (($52) - 1)|0;
+ $54 = Math_imul($48, $53)|0;
+ $55 = (($45) + ($54))|0;
+ $56 = (($44) + ($55)|0);
+ $57 = HEAP8[$56>>0]|0;
+ $58 = $5;
+ $59 = $8;
+ $60 = (($58) + ($59)|0);
+ HEAP8[$60>>0] = $57;
+ $61 = $9;
+ $62 = $61&255;
+ $63 = $62 >> 5;
+ $64 = $63 & 7;
+ $65 = $64&65535;
+ $66 = $65 << 16 >> 16;
+ $67 = ($66*9)|0;
+ $68 = $67&65535;
+ $69 = $4;
+ $70 = $8;
+ $71 = (($70) + 1)|0;
+ $72 = (($69) + ($71<<1)|0);
+ HEAP16[$72>>1] = $68;
+ $73 = $6;
+ $74 = ((($73)) + 16|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $8;
+ $77 = $9;
+ $78 = $77&255;
+ $79 = $78 >> 4;
+ $80 = $79 & 1;
+ $81 = $6;
+ $82 = ((($81)) + 2|0);
+ $83 = HEAP16[$82>>1]|0;
+ $84 = $83 << 16 >> 16;
+ $85 = (($84) - 1)|0;
+ $86 = Math_imul($80, $85)|0;
+ $87 = (($76) + ($86))|0;
+ $88 = (($87) + 1)|0;
+ $89 = (($75) + ($88)|0);
+ $90 = HEAP8[$89>>0]|0;
+ $91 = $5;
+ $92 = $8;
+ $93 = (($92) + 1)|0;
+ $94 = (($91) + ($93)|0);
+ HEAP8[$94>>0] = $90;
+ $95 = $8;
+ $96 = (($95) + 2)|0;
+ $8 = $96;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_stereo_LR_to_MS($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ var $$ = 0, $$alloca_mul = 0, $$alloca_mul33 = 0, $$alloca_mul35 = 0, $$alloca_mul37 = 0, $$alloca_mul39 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0;
+ var $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0;
+ var $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0;
+ var $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0;
+ var $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0;
+ var $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0;
+ var $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0;
+ var $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0;
+ var $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0;
+ var $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0;
+ var $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0;
+ var $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0;
+ var $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0;
+ var $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0;
+ var $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0;
+ var $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0;
+ var $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0;
+ var $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0;
+ var $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0;
+ var $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0;
+ var $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0;
+ var $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0;
+ var $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0;
+ var $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0;
+ var $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0;
+ var $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0;
+ var $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0;
+ var $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0;
+ var $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0;
+ var $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0;
+ var $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0;
+ var $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0;
+ var $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0;
+ var $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0;
+ var $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0;
+ var $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0;
+ var $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0;
+ var $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0;
+ var $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0;
+ var $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0;
+ var $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0;
+ var $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0;
+ var $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0;
+ var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
+ $30 = sp + 48|0;
+ $33 = sp + 36|0;
+ $34 = sp + 32|0;
+ $11 = $0;
+ $12 = $1;
+ $13 = $2;
+ $14 = $3;
+ $15 = $4;
+ $16 = $5;
+ $17 = $6;
+ $18 = $7;
+ $19 = $8;
+ $20 = $9;
+ $21 = $10;
+ $43 = $12;
+ $44 = ((($43)) + -4|0);
+ $41 = $44;
+ $45 = $21;
+ $46 = (($45) + 2)|0;
+ $47 = (_llvm_stacksave()|0);
+ $42 = $47;
+ $$alloca_mul = $46<<1;
+ $48 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $22 = 0;
+ while(1) {
+ $49 = $22;
+ $50 = $21;
+ $51 = (($50) + 2)|0;
+ $52 = ($49|0)<($51|0);
+ if (!($52)) {
+ break;
+ }
+ $53 = $12;
+ $54 = $22;
+ $55 = (($54) - 2)|0;
+ $56 = (($53) + ($55<<1)|0);
+ $57 = HEAP16[$56>>1]|0;
+ $58 = $57 << 16 >> 16;
+ $59 = $13;
+ $60 = $22;
+ $61 = (($60) - 2)|0;
+ $62 = (($59) + ($61<<1)|0);
+ $63 = HEAP16[$62>>1]|0;
+ $64 = $63 << 16 >> 16;
+ $65 = (($58) + ($64))|0;
+ $27 = $65;
+ $66 = $12;
+ $67 = $22;
+ $68 = (($67) - 2)|0;
+ $69 = (($66) + ($68<<1)|0);
+ $70 = HEAP16[$69>>1]|0;
+ $71 = $70 << 16 >> 16;
+ $72 = $13;
+ $73 = $22;
+ $74 = (($73) - 2)|0;
+ $75 = (($72) + ($74<<1)|0);
+ $76 = HEAP16[$75>>1]|0;
+ $77 = $76 << 16 >> 16;
+ $78 = (($71) - ($77))|0;
+ $28 = $78;
+ $79 = $27;
+ $80 = $79 >> 1;
+ $81 = $27;
+ $82 = $81 & 1;
+ $83 = (($80) + ($82))|0;
+ $84 = $83&65535;
+ $85 = $41;
+ $86 = $22;
+ $87 = (($85) + ($86<<1)|0);
+ HEAP16[$87>>1] = $84;
+ $88 = $28;
+ $89 = $88 >> 1;
+ $90 = $28;
+ $91 = $90 & 1;
+ $92 = (($89) + ($91))|0;
+ $93 = ($92|0)>(32767);
+ if ($93) {
+ $106 = 32767;
+ } else {
+ $94 = $28;
+ $95 = $94 >> 1;
+ $96 = $28;
+ $97 = $96 & 1;
+ $98 = (($95) + ($97))|0;
+ $99 = ($98|0)<(-32768);
+ if ($99) {
+ $106 = -32768;
+ } else {
+ $100 = $28;
+ $101 = $100 >> 1;
+ $102 = $28;
+ $103 = $102 & 1;
+ $104 = (($101) + ($103))|0;
+ $106 = $104;
+ }
+ }
+ $105 = $106&65535;
+ $107 = $22;
+ $108 = (($48) + ($107<<1)|0);
+ HEAP16[$108>>1] = $105;
+ $109 = $22;
+ $110 = (($109) + 1)|0;
+ $22 = $110;
+ }
+ $111 = $41;
+ $112 = $11;
+ $113 = ((($112)) + 4|0);
+ ;HEAP16[$111>>1]=HEAP16[$113>>1]|0;HEAP16[$111+2>>1]=HEAP16[$113+2>>1]|0;
+ $114 = $11;
+ $115 = ((($114)) + 8|0);
+ ;HEAP16[$48>>1]=HEAP16[$115>>1]|0;HEAP16[$48+2>>1]=HEAP16[$115+2>>1]|0;
+ $116 = $11;
+ $117 = ((($116)) + 4|0);
+ $118 = $41;
+ $119 = $21;
+ $120 = (($118) + ($119<<1)|0);
+ ;HEAP16[$117>>1]=HEAP16[$120>>1]|0;HEAP16[$117+2>>1]=HEAP16[$120+2>>1]|0;
+ $121 = $11;
+ $122 = ((($121)) + 8|0);
+ $123 = $21;
+ $124 = (($48) + ($123<<1)|0);
+ ;HEAP16[$122>>1]=HEAP16[$124>>1]|0;HEAP16[$122+2>>1]=HEAP16[$124+2>>1]|0;
+ $125 = $21;
+ $$alloca_mul33 = $125<<1;
+ $126 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul33)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul33)|0)+15)&-16)|0);;
+ $127 = $21;
+ $$alloca_mul35 = $127<<1;
+ $128 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul35)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul35)|0)+15)&-16)|0);;
+ $22 = 0;
+ while(1) {
+ $129 = $22;
+ $130 = $21;
+ $131 = ($129|0)<($130|0);
+ if (!($131)) {
+ break;
+ }
+ $132 = $41;
+ $133 = $22;
+ $134 = (($132) + ($133<<1)|0);
+ $135 = HEAP16[$134>>1]|0;
+ $136 = $135 << 16 >> 16;
+ $137 = $41;
+ $138 = $22;
+ $139 = (($138) + 2)|0;
+ $140 = (($137) + ($139<<1)|0);
+ $141 = HEAP16[$140>>1]|0;
+ $142 = $141 << 16 >> 16;
+ $143 = (($136) + ($142))|0;
+ $144 = $41;
+ $145 = $22;
+ $146 = (($145) + 1)|0;
+ $147 = (($144) + ($146<<1)|0);
+ $148 = HEAP16[$147>>1]|0;
+ $149 = $148 << 16 >> 16;
+ $150 = $149 << 1;
+ $151 = (($143) + ($150))|0;
+ $152 = $151 >> 1;
+ $153 = (($152) + 1)|0;
+ $154 = $153 >> 1;
+ $27 = $154;
+ $155 = $27;
+ $156 = $155&65535;
+ $157 = $22;
+ $158 = (($126) + ($157<<1)|0);
+ HEAP16[$158>>1] = $156;
+ $159 = $41;
+ $160 = $22;
+ $161 = (($160) + 1)|0;
+ $162 = (($159) + ($161<<1)|0);
+ $163 = HEAP16[$162>>1]|0;
+ $164 = $163 << 16 >> 16;
+ $165 = $27;
+ $166 = (($164) - ($165))|0;
+ $167 = $166&65535;
+ $168 = $22;
+ $169 = (($128) + ($168<<1)|0);
+ HEAP16[$169>>1] = $167;
+ $170 = $22;
+ $171 = (($170) + 1)|0;
+ $22 = $171;
+ }
+ $172 = $21;
+ $$alloca_mul37 = $172<<1;
+ $173 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul37)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul37)|0)+15)&-16)|0);;
+ $174 = $21;
+ $$alloca_mul39 = $174<<1;
+ $175 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul39)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul39)|0)+15)&-16)|0);;
+ $22 = 0;
+ while(1) {
+ $176 = $22;
+ $177 = $21;
+ $178 = ($176|0)<($177|0);
+ if (!($178)) {
+ break;
+ }
+ $179 = $22;
+ $180 = (($48) + ($179<<1)|0);
+ $181 = HEAP16[$180>>1]|0;
+ $182 = $181 << 16 >> 16;
+ $183 = $22;
+ $184 = (($183) + 2)|0;
+ $185 = (($48) + ($184<<1)|0);
+ $186 = HEAP16[$185>>1]|0;
+ $187 = $186 << 16 >> 16;
+ $188 = (($182) + ($187))|0;
+ $189 = $22;
+ $190 = (($189) + 1)|0;
+ $191 = (($48) + ($190<<1)|0);
+ $192 = HEAP16[$191>>1]|0;
+ $193 = $192 << 16 >> 16;
+ $194 = $193 << 1;
+ $195 = (($188) + ($194))|0;
+ $196 = $195 >> 1;
+ $197 = (($196) + 1)|0;
+ $198 = $197 >> 1;
+ $27 = $198;
+ $199 = $27;
+ $200 = $199&65535;
+ $201 = $22;
+ $202 = (($173) + ($201<<1)|0);
+ HEAP16[$202>>1] = $200;
+ $203 = $22;
+ $204 = (($203) + 1)|0;
+ $205 = (($48) + ($204<<1)|0);
+ $206 = HEAP16[$205>>1]|0;
+ $207 = $206 << 16 >> 16;
+ $208 = $27;
+ $209 = (($207) - ($208))|0;
+ $210 = $209&65535;
+ $211 = $22;
+ $212 = (($175) + ($211<<1)|0);
+ HEAP16[$212>>1] = $210;
+ $213 = $22;
+ $214 = (($213) + 1)|0;
+ $22 = $214;
+ }
+ $215 = $21;
+ $216 = $20;
+ $217 = ($216*10)|0;
+ $218 = ($215|0)==($217|0);
+ $219 = $218&1;
+ $23 = $219;
+ $220 = $23;
+ $221 = ($220|0)!=(0);
+ $222 = $221 ? 328 : 655;
+ $29 = $222;
+ $223 = $18;
+ $224 = $223&65535;
+ $225 = $224 << 16 >> 16;
+ $226 = $18;
+ $227 = $226&65535;
+ $228 = $227 << 16 >> 16;
+ $229 = Math_imul($225, $228)|0;
+ $230 = $229 >> 16;
+ $231 = $29;
+ $232 = $231&65535;
+ $233 = $232 << 16 >> 16;
+ $234 = Math_imul($230, $233)|0;
+ $235 = $18;
+ $236 = $235&65535;
+ $237 = $236 << 16 >> 16;
+ $238 = $18;
+ $239 = $238&65535;
+ $240 = $239 << 16 >> 16;
+ $241 = Math_imul($237, $240)|0;
+ $242 = $241 & 65535;
+ $243 = $29;
+ $244 = $243&65535;
+ $245 = $244 << 16 >> 16;
+ $246 = Math_imul($242, $245)|0;
+ $247 = $246 >> 16;
+ $248 = (($234) + ($247))|0;
+ $29 = $248;
+ $249 = $11;
+ $250 = ((($249)) + 12|0);
+ $251 = $21;
+ $252 = $29;
+ $253 = (_silk_stereo_find_predictor($33,$126,$173,$250,$251,$252)|0);
+ HEAP32[$30>>2] = $253;
+ $254 = $11;
+ $255 = ((($254)) + 12|0);
+ $256 = ((($255)) + 8|0);
+ $257 = $21;
+ $258 = $29;
+ $259 = (_silk_stereo_find_predictor($34,$128,$175,$256,$257,$258)|0);
+ $260 = ((($30)) + 4|0);
+ HEAP32[$260>>2] = $259;
+ $261 = HEAP32[$34>>2]|0;
+ $262 = HEAP32[$33>>2]|0;
+ $263 = $262&65535;
+ $264 = $263 << 16 >> 16;
+ $265 = ($264*3)|0;
+ $266 = (($261) + ($265))|0;
+ $35 = $266;
+ $267 = $35;
+ $268 = ($267|0)<(65536);
+ $269 = $35;
+ $270 = $268 ? $269 : 65536;
+ $35 = $270;
+ $271 = $23;
+ $272 = ($271|0)!=(0);
+ $273 = $272 ? 1200 : 600;
+ $274 = $17;
+ $275 = (($274) - ($273))|0;
+ $17 = $275;
+ $276 = $17;
+ $277 = ($276|0)<(1);
+ $$ = $277 ? 1 : $275;
+ $17 = $$;
+ $278 = $20;
+ $279 = $278&65535;
+ $280 = $279 << 16 >> 16;
+ $281 = ($280*900)|0;
+ $282 = (2000 + ($281))|0;
+ $37 = $282;
+ $283 = $35;
+ $284 = ($283*3)|0;
+ $36 = $284;
+ $285 = $17;
+ $286 = $36;
+ $287 = (851968 + ($286))|0;
+ $288 = (_silk_DIV32_varQ($285,$287,19)|0);
+ $289 = $16;
+ HEAP32[$289>>2] = $288;
+ $290 = $16;
+ $291 = HEAP32[$290>>2]|0;
+ $292 = $37;
+ $293 = ($291|0)<($292|0);
+ if ($293) {
+ $294 = $37;
+ $295 = $16;
+ HEAP32[$295>>2] = $294;
+ $296 = $17;
+ $297 = $16;
+ $298 = HEAP32[$297>>2]|0;
+ $299 = (($296) - ($298))|0;
+ $300 = $16;
+ $301 = ((($300)) + 4|0);
+ HEAP32[$301>>2] = $299;
+ $302 = $16;
+ $303 = ((($302)) + 4|0);
+ $304 = HEAP32[$303>>2]|0;
+ $305 = $304 << 1;
+ $306 = $37;
+ $307 = (($305) - ($306))|0;
+ $308 = $36;
+ $309 = (65536 + ($308))|0;
+ $310 = $309 >> 16;
+ $311 = $37;
+ $312 = $311&65535;
+ $313 = $312 << 16 >> 16;
+ $314 = Math_imul($310, $313)|0;
+ $315 = $36;
+ $316 = (65536 + ($315))|0;
+ $317 = $316 & 65535;
+ $318 = $37;
+ $319 = $318&65535;
+ $320 = $319 << 16 >> 16;
+ $321 = Math_imul($317, $320)|0;
+ $322 = $321 >> 16;
+ $323 = (($314) + ($322))|0;
+ $324 = (_silk_DIV32_varQ($307,$323,16)|0);
+ $38 = $324;
+ $325 = $38;
+ $326 = ($325|0)>(16384);
+ if ($326) {
+ $331 = 16384;
+ } else {
+ $327 = $38;
+ $328 = ($327|0)<(0);
+ $329 = $38;
+ $330 = $328 ? 0 : $329;
+ $331 = $330;
+ }
+ $38 = $331;
+ } else {
+ $332 = $17;
+ $333 = $16;
+ $334 = HEAP32[$333>>2]|0;
+ $335 = (($332) - ($334))|0;
+ $336 = $16;
+ $337 = ((($336)) + 4|0);
+ HEAP32[$337>>2] = $335;
+ $38 = 16384;
+ }
+ $338 = $11;
+ $339 = ((($338)) + 28|0);
+ $340 = HEAP16[$339>>1]|0;
+ $341 = $340 << 16 >> 16;
+ $342 = $38;
+ $343 = $11;
+ $344 = ((($343)) + 28|0);
+ $345 = HEAP16[$344>>1]|0;
+ $346 = $345 << 16 >> 16;
+ $347 = (($342) - ($346))|0;
+ $348 = $347 >> 16;
+ $349 = $29;
+ $350 = $349&65535;
+ $351 = $350 << 16 >> 16;
+ $352 = Math_imul($348, $351)|0;
+ $353 = $38;
+ $354 = $11;
+ $355 = ((($354)) + 28|0);
+ $356 = HEAP16[$355>>1]|0;
+ $357 = $356 << 16 >> 16;
+ $358 = (($353) - ($357))|0;
+ $359 = $358 & 65535;
+ $360 = $29;
+ $361 = $360&65535;
+ $362 = $361 << 16 >> 16;
+ $363 = Math_imul($359, $362)|0;
+ $364 = $363 >> 16;
+ $365 = (($352) + ($364))|0;
+ $366 = (($341) + ($365))|0;
+ $367 = $366&65535;
+ $368 = $11;
+ $369 = ((($368)) + 28|0);
+ HEAP16[$369>>1] = $367;
+ $370 = $15;
+ HEAP8[$370>>0] = 0;
+ $371 = $19;
+ $372 = ($371|0)!=(0);
+ L24: do {
+ if ($372) {
+ $38 = 0;
+ HEAP32[$30>>2] = 0;
+ $373 = ((($30)) + 4|0);
+ HEAP32[$373>>2] = 0;
+ $374 = $14;
+ _silk_stereo_quant_pred($30,$374);
+ } else {
+ $375 = $11;
+ $376 = ((($375)) + 30|0);
+ $377 = HEAP16[$376>>1]|0;
+ $378 = $377 << 16 >> 16;
+ $379 = ($378|0)==(0);
+ do {
+ if ($379) {
+ $380 = $17;
+ $381 = $380<<3;
+ $382 = $37;
+ $383 = ($382*13)|0;
+ $384 = ($381|0)<($383|0);
+ if (!($384)) {
+ $385 = $35;
+ $386 = $385 >> 16;
+ $387 = $11;
+ $388 = ((($387)) + 28|0);
+ $389 = HEAP16[$388>>1]|0;
+ $390 = $389 << 16 >> 16;
+ $391 = Math_imul($386, $390)|0;
+ $392 = $35;
+ $393 = $392 & 65535;
+ $394 = $11;
+ $395 = ((($394)) + 28|0);
+ $396 = HEAP16[$395>>1]|0;
+ $397 = $396 << 16 >> 16;
+ $398 = Math_imul($393, $397)|0;
+ $399 = $398 >> 16;
+ $400 = (($391) + ($399))|0;
+ $401 = ($400|0)<(819);
+ if (!($401)) {
+ break;
+ }
+ }
+ $402 = $11;
+ $403 = ((($402)) + 28|0);
+ $404 = HEAP16[$403>>1]|0;
+ $405 = $404 << 16 >> 16;
+ $406 = HEAP32[$30>>2]|0;
+ $407 = $406&65535;
+ $408 = $407 << 16 >> 16;
+ $409 = Math_imul($405, $408)|0;
+ $410 = $409 >> 14;
+ HEAP32[$30>>2] = $410;
+ $411 = $11;
+ $412 = ((($411)) + 28|0);
+ $413 = HEAP16[$412>>1]|0;
+ $414 = $413 << 16 >> 16;
+ $415 = ((($30)) + 4|0);
+ $416 = HEAP32[$415>>2]|0;
+ $417 = $416&65535;
+ $418 = $417 << 16 >> 16;
+ $419 = Math_imul($414, $418)|0;
+ $420 = $419 >> 14;
+ $421 = ((($30)) + 4|0);
+ HEAP32[$421>>2] = $420;
+ $422 = $14;
+ _silk_stereo_quant_pred($30,$422);
+ $38 = 0;
+ HEAP32[$30>>2] = 0;
+ $423 = ((($30)) + 4|0);
+ HEAP32[$423>>2] = 0;
+ $424 = $17;
+ $425 = $16;
+ HEAP32[$425>>2] = $424;
+ $426 = $16;
+ $427 = ((($426)) + 4|0);
+ HEAP32[$427>>2] = 0;
+ $428 = $15;
+ HEAP8[$428>>0] = 1;
+ break L24;
+ }
+ } while(0);
+ $429 = $11;
+ $430 = ((($429)) + 30|0);
+ $431 = HEAP16[$430>>1]|0;
+ $432 = $431 << 16 >> 16;
+ $433 = ($432|0)!=(0);
+ do {
+ if ($433) {
+ $434 = $17;
+ $435 = $434<<3;
+ $436 = $37;
+ $437 = ($436*11)|0;
+ $438 = ($435|0)<($437|0);
+ if (!($438)) {
+ $439 = $35;
+ $440 = $439 >> 16;
+ $441 = $11;
+ $442 = ((($441)) + 28|0);
+ $443 = HEAP16[$442>>1]|0;
+ $444 = $443 << 16 >> 16;
+ $445 = Math_imul($440, $444)|0;
+ $446 = $35;
+ $447 = $446 & 65535;
+ $448 = $11;
+ $449 = ((($448)) + 28|0);
+ $450 = HEAP16[$449>>1]|0;
+ $451 = $450 << 16 >> 16;
+ $452 = Math_imul($447, $451)|0;
+ $453 = $452 >> 16;
+ $454 = (($445) + ($453))|0;
+ $455 = ($454|0)<(328);
+ if (!($455)) {
+ break;
+ }
+ }
+ $456 = $11;
+ $457 = ((($456)) + 28|0);
+ $458 = HEAP16[$457>>1]|0;
+ $459 = $458 << 16 >> 16;
+ $460 = HEAP32[$30>>2]|0;
+ $461 = $460&65535;
+ $462 = $461 << 16 >> 16;
+ $463 = Math_imul($459, $462)|0;
+ $464 = $463 >> 14;
+ HEAP32[$30>>2] = $464;
+ $465 = $11;
+ $466 = ((($465)) + 28|0);
+ $467 = HEAP16[$466>>1]|0;
+ $468 = $467 << 16 >> 16;
+ $469 = ((($30)) + 4|0);
+ $470 = HEAP32[$469>>2]|0;
+ $471 = $470&65535;
+ $472 = $471 << 16 >> 16;
+ $473 = Math_imul($468, $472)|0;
+ $474 = $473 >> 14;
+ $475 = ((($30)) + 4|0);
+ HEAP32[$475>>2] = $474;
+ $476 = $14;
+ _silk_stereo_quant_pred($30,$476);
+ $38 = 0;
+ HEAP32[$30>>2] = 0;
+ $477 = ((($30)) + 4|0);
+ HEAP32[$477>>2] = 0;
+ break L24;
+ }
+ } while(0);
+ $478 = $11;
+ $479 = ((($478)) + 28|0);
+ $480 = HEAP16[$479>>1]|0;
+ $481 = $480 << 16 >> 16;
+ $482 = ($481|0)>(15565);
+ if ($482) {
+ $483 = $14;
+ _silk_stereo_quant_pred($30,$483);
+ $38 = 16384;
+ break;
+ } else {
+ $484 = $11;
+ $485 = ((($484)) + 28|0);
+ $486 = HEAP16[$485>>1]|0;
+ $487 = $486 << 16 >> 16;
+ $488 = HEAP32[$30>>2]|0;
+ $489 = $488&65535;
+ $490 = $489 << 16 >> 16;
+ $491 = Math_imul($487, $490)|0;
+ $492 = $491 >> 14;
+ HEAP32[$30>>2] = $492;
+ $493 = $11;
+ $494 = ((($493)) + 28|0);
+ $495 = HEAP16[$494>>1]|0;
+ $496 = $495 << 16 >> 16;
+ $497 = ((($30)) + 4|0);
+ $498 = HEAP32[$497>>2]|0;
+ $499 = $498&65535;
+ $500 = $499 << 16 >> 16;
+ $501 = Math_imul($496, $500)|0;
+ $502 = $501 >> 14;
+ $503 = ((($30)) + 4|0);
+ HEAP32[$503>>2] = $502;
+ $504 = $14;
+ _silk_stereo_quant_pred($30,$504);
+ $505 = $11;
+ $506 = ((($505)) + 28|0);
+ $507 = HEAP16[$506>>1]|0;
+ $508 = $507 << 16 >> 16;
+ $38 = $508;
+ break;
+ }
+ }
+ } while(0);
+ $509 = $15;
+ $510 = HEAP8[$509>>0]|0;
+ $511 = $510 << 24 >> 24;
+ $512 = ($511|0)==(1);
+ do {
+ if ($512) {
+ $513 = $21;
+ $514 = $20;
+ $515 = $514<<3;
+ $516 = (($513) - ($515))|0;
+ $517 = $11;
+ $518 = ((($517)) + 32|0);
+ $519 = HEAP16[$518>>1]|0;
+ $520 = $519 << 16 >> 16;
+ $521 = (($520) + ($516))|0;
+ $522 = $521&65535;
+ HEAP16[$518>>1] = $522;
+ $523 = $11;
+ $524 = ((($523)) + 32|0);
+ $525 = HEAP16[$524>>1]|0;
+ $526 = $525 << 16 >> 16;
+ $527 = $20;
+ $528 = ($527*5)|0;
+ $529 = ($526|0)<($528|0);
+ if ($529) {
+ $530 = $15;
+ HEAP8[$530>>0] = 0;
+ break;
+ } else {
+ $531 = $11;
+ $532 = ((($531)) + 32|0);
+ HEAP16[$532>>1] = 10000;
+ break;
+ }
+ } else {
+ $533 = $11;
+ $534 = ((($533)) + 32|0);
+ HEAP16[$534>>1] = 0;
+ }
+ } while(0);
+ $535 = $15;
+ $536 = HEAP8[$535>>0]|0;
+ $537 = $536 << 24 >> 24;
+ $538 = ($537|0)==(0);
+ if ($538) {
+ $539 = $16;
+ $540 = ((($539)) + 4|0);
+ $541 = HEAP32[$540>>2]|0;
+ $542 = ($541|0)<(1);
+ if ($542) {
+ $543 = $16;
+ $544 = ((($543)) + 4|0);
+ HEAP32[$544>>2] = 1;
+ $545 = $17;
+ $546 = $16;
+ $547 = ((($546)) + 4|0);
+ $548 = HEAP32[$547>>2]|0;
+ $549 = (($545) - ($548))|0;
+ $550 = (_silk_max_int(1,$549)|0);
+ $551 = $16;
+ HEAP32[$551>>2] = $550;
+ }
+ }
+ $552 = $11;
+ $553 = HEAP16[$552>>1]|0;
+ $554 = $553 << 16 >> 16;
+ $555 = (0 - ($554))|0;
+ $31 = $555;
+ $556 = $11;
+ $557 = ((($556)) + 2|0);
+ $558 = HEAP16[$557>>1]|0;
+ $559 = $558 << 16 >> 16;
+ $560 = (0 - ($559))|0;
+ $32 = $560;
+ $561 = $11;
+ $562 = ((($561)) + 30|0);
+ $563 = HEAP16[$562>>1]|0;
+ $564 = $563 << 16 >> 16;
+ $565 = $564 << 10;
+ $39 = $565;
+ $566 = $20;
+ $567 = $566<<3;
+ $568 = (65536 / ($567|0))&-1;
+ $24 = $568;
+ $569 = HEAP32[$30>>2]|0;
+ $570 = $11;
+ $571 = HEAP16[$570>>1]|0;
+ $572 = $571 << 16 >> 16;
+ $573 = (($569) - ($572))|0;
+ $574 = $573&65535;
+ $575 = $574 << 16 >> 16;
+ $576 = $24;
+ $577 = $576&65535;
+ $578 = $577 << 16 >> 16;
+ $579 = Math_imul($575, $578)|0;
+ $580 = $579 >> 15;
+ $581 = (($580) + 1)|0;
+ $582 = $581 >> 1;
+ $583 = (0 - ($582))|0;
+ $25 = $583;
+ $584 = ((($30)) + 4|0);
+ $585 = HEAP32[$584>>2]|0;
+ $586 = $11;
+ $587 = ((($586)) + 2|0);
+ $588 = HEAP16[$587>>1]|0;
+ $589 = $588 << 16 >> 16;
+ $590 = (($585) - ($589))|0;
+ $591 = $590&65535;
+ $592 = $591 << 16 >> 16;
+ $593 = $24;
+ $594 = $593&65535;
+ $595 = $594 << 16 >> 16;
+ $596 = Math_imul($592, $595)|0;
+ $597 = $596 >> 15;
+ $598 = (($597) + 1)|0;
+ $599 = $598 >> 1;
+ $600 = (0 - ($599))|0;
+ $26 = $600;
+ $601 = $38;
+ $602 = $11;
+ $603 = ((($602)) + 30|0);
+ $604 = HEAP16[$603>>1]|0;
+ $605 = $604 << 16 >> 16;
+ $606 = (($601) - ($605))|0;
+ $607 = $606 >> 16;
+ $608 = $24;
+ $609 = $608&65535;
+ $610 = $609 << 16 >> 16;
+ $611 = Math_imul($607, $610)|0;
+ $612 = $38;
+ $613 = $11;
+ $614 = ((($613)) + 30|0);
+ $615 = HEAP16[$614>>1]|0;
+ $616 = $615 << 16 >> 16;
+ $617 = (($612) - ($616))|0;
+ $618 = $617 & 65535;
+ $619 = $24;
+ $620 = $619&65535;
+ $621 = $620 << 16 >> 16;
+ $622 = Math_imul($618, $621)|0;
+ $623 = $622 >> 16;
+ $624 = (($611) + ($623))|0;
+ $625 = $624 << 10;
+ $40 = $625;
+ $22 = 0;
+ while(1) {
+ $626 = $22;
+ $627 = $20;
+ $628 = $627<<3;
+ $629 = ($626|0)<($628|0);
+ if (!($629)) {
+ break;
+ }
+ $630 = $25;
+ $631 = $31;
+ $632 = (($631) + ($630))|0;
+ $31 = $632;
+ $633 = $26;
+ $634 = $32;
+ $635 = (($634) + ($633))|0;
+ $32 = $635;
+ $636 = $40;
+ $637 = $39;
+ $638 = (($637) + ($636))|0;
+ $39 = $638;
+ $639 = $41;
+ $640 = $22;
+ $641 = (($639) + ($640<<1)|0);
+ $642 = HEAP16[$641>>1]|0;
+ $643 = $642 << 16 >> 16;
+ $644 = $41;
+ $645 = $22;
+ $646 = (($645) + 2)|0;
+ $647 = (($644) + ($646<<1)|0);
+ $648 = HEAP16[$647>>1]|0;
+ $649 = $648 << 16 >> 16;
+ $650 = (($643) + ($649))|0;
+ $651 = $41;
+ $652 = $22;
+ $653 = (($652) + 1)|0;
+ $654 = (($651) + ($653<<1)|0);
+ $655 = HEAP16[$654>>1]|0;
+ $656 = $655 << 16 >> 16;
+ $657 = $656 << 1;
+ $658 = (($650) + ($657))|0;
+ $659 = $658 << 9;
+ $27 = $659;
+ $660 = $39;
+ $661 = $660 >> 16;
+ $662 = $22;
+ $663 = (($662) + 1)|0;
+ $664 = (($48) + ($663<<1)|0);
+ $665 = HEAP16[$664>>1]|0;
+ $666 = $665 << 16 >> 16;
+ $667 = Math_imul($661, $666)|0;
+ $668 = $39;
+ $669 = $668 & 65535;
+ $670 = $22;
+ $671 = (($670) + 1)|0;
+ $672 = (($48) + ($671<<1)|0);
+ $673 = HEAP16[$672>>1]|0;
+ $674 = $673 << 16 >> 16;
+ $675 = Math_imul($669, $674)|0;
+ $676 = $675 >> 16;
+ $677 = (($667) + ($676))|0;
+ $678 = $27;
+ $679 = $678 >> 16;
+ $680 = $31;
+ $681 = $680&65535;
+ $682 = $681 << 16 >> 16;
+ $683 = Math_imul($679, $682)|0;
+ $684 = $27;
+ $685 = $684 & 65535;
+ $686 = $31;
+ $687 = $686&65535;
+ $688 = $687 << 16 >> 16;
+ $689 = Math_imul($685, $688)|0;
+ $690 = $689 >> 16;
+ $691 = (($683) + ($690))|0;
+ $692 = (($677) + ($691))|0;
+ $27 = $692;
+ $693 = $27;
+ $694 = $41;
+ $695 = $22;
+ $696 = (($695) + 1)|0;
+ $697 = (($694) + ($696<<1)|0);
+ $698 = HEAP16[$697>>1]|0;
+ $699 = $698 << 16 >> 16;
+ $700 = $699 << 11;
+ $701 = $700 >> 16;
+ $702 = $32;
+ $703 = $702&65535;
+ $704 = $703 << 16 >> 16;
+ $705 = Math_imul($701, $704)|0;
+ $706 = $41;
+ $707 = $22;
+ $708 = (($707) + 1)|0;
+ $709 = (($706) + ($708<<1)|0);
+ $710 = HEAP16[$709>>1]|0;
+ $711 = $710 << 16 >> 16;
+ $712 = $711 << 11;
+ $713 = $712 & 65535;
+ $714 = $32;
+ $715 = $714&65535;
+ $716 = $715 << 16 >> 16;
+ $717 = Math_imul($713, $716)|0;
+ $718 = $717 >> 16;
+ $719 = (($705) + ($718))|0;
+ $720 = (($693) + ($719))|0;
+ $27 = $720;
+ $721 = $27;
+ $722 = $721 >> 7;
+ $723 = (($722) + 1)|0;
+ $724 = $723 >> 1;
+ $725 = ($724|0)>(32767);
+ if ($725) {
+ $736 = 32767;
+ } else {
+ $726 = $27;
+ $727 = $726 >> 7;
+ $728 = (($727) + 1)|0;
+ $729 = $728 >> 1;
+ $730 = ($729|0)<(-32768);
+ if ($730) {
+ $736 = -32768;
+ } else {
+ $731 = $27;
+ $732 = $731 >> 7;
+ $733 = (($732) + 1)|0;
+ $734 = $733 >> 1;
+ $736 = $734;
+ }
+ }
+ $735 = $736&65535;
+ $737 = $13;
+ $738 = $22;
+ $739 = (($738) - 1)|0;
+ $740 = (($737) + ($739<<1)|0);
+ HEAP16[$740>>1] = $735;
+ $741 = $22;
+ $742 = (($741) + 1)|0;
+ $22 = $742;
+ }
+ $743 = HEAP32[$30>>2]|0;
+ $744 = (0 - ($743))|0;
+ $31 = $744;
+ $745 = ((($30)) + 4|0);
+ $746 = HEAP32[$745>>2]|0;
+ $747 = (0 - ($746))|0;
+ $32 = $747;
+ $748 = $38;
+ $749 = $748 << 10;
+ $39 = $749;
+ $750 = $20;
+ $751 = $750<<3;
+ $22 = $751;
+ while(1) {
+ $752 = $22;
+ $753 = $21;
+ $754 = ($752|0)<($753|0);
+ if (!($754)) {
+ break;
+ }
+ $755 = $41;
+ $756 = $22;
+ $757 = (($755) + ($756<<1)|0);
+ $758 = HEAP16[$757>>1]|0;
+ $759 = $758 << 16 >> 16;
+ $760 = $41;
+ $761 = $22;
+ $762 = (($761) + 2)|0;
+ $763 = (($760) + ($762<<1)|0);
+ $764 = HEAP16[$763>>1]|0;
+ $765 = $764 << 16 >> 16;
+ $766 = (($759) + ($765))|0;
+ $767 = $41;
+ $768 = $22;
+ $769 = (($768) + 1)|0;
+ $770 = (($767) + ($769<<1)|0);
+ $771 = HEAP16[$770>>1]|0;
+ $772 = $771 << 16 >> 16;
+ $773 = $772 << 1;
+ $774 = (($766) + ($773))|0;
+ $775 = $774 << 9;
+ $27 = $775;
+ $776 = $39;
+ $777 = $776 >> 16;
+ $778 = $22;
+ $779 = (($778) + 1)|0;
+ $780 = (($48) + ($779<<1)|0);
+ $781 = HEAP16[$780>>1]|0;
+ $782 = $781 << 16 >> 16;
+ $783 = Math_imul($777, $782)|0;
+ $784 = $39;
+ $785 = $784 & 65535;
+ $786 = $22;
+ $787 = (($786) + 1)|0;
+ $788 = (($48) + ($787<<1)|0);
+ $789 = HEAP16[$788>>1]|0;
+ $790 = $789 << 16 >> 16;
+ $791 = Math_imul($785, $790)|0;
+ $792 = $791 >> 16;
+ $793 = (($783) + ($792))|0;
+ $794 = $27;
+ $795 = $794 >> 16;
+ $796 = $31;
+ $797 = $796&65535;
+ $798 = $797 << 16 >> 16;
+ $799 = Math_imul($795, $798)|0;
+ $800 = $27;
+ $801 = $800 & 65535;
+ $802 = $31;
+ $803 = $802&65535;
+ $804 = $803 << 16 >> 16;
+ $805 = Math_imul($801, $804)|0;
+ $806 = $805 >> 16;
+ $807 = (($799) + ($806))|0;
+ $808 = (($793) + ($807))|0;
+ $27 = $808;
+ $809 = $27;
+ $810 = $41;
+ $811 = $22;
+ $812 = (($811) + 1)|0;
+ $813 = (($810) + ($812<<1)|0);
+ $814 = HEAP16[$813>>1]|0;
+ $815 = $814 << 16 >> 16;
+ $816 = $815 << 11;
+ $817 = $816 >> 16;
+ $818 = $32;
+ $819 = $818&65535;
+ $820 = $819 << 16 >> 16;
+ $821 = Math_imul($817, $820)|0;
+ $822 = $41;
+ $823 = $22;
+ $824 = (($823) + 1)|0;
+ $825 = (($822) + ($824<<1)|0);
+ $826 = HEAP16[$825>>1]|0;
+ $827 = $826 << 16 >> 16;
+ $828 = $827 << 11;
+ $829 = $828 & 65535;
+ $830 = $32;
+ $831 = $830&65535;
+ $832 = $831 << 16 >> 16;
+ $833 = Math_imul($829, $832)|0;
+ $834 = $833 >> 16;
+ $835 = (($821) + ($834))|0;
+ $836 = (($809) + ($835))|0;
+ $27 = $836;
+ $837 = $27;
+ $838 = $837 >> 7;
+ $839 = (($838) + 1)|0;
+ $840 = $839 >> 1;
+ $841 = ($840|0)>(32767);
+ if ($841) {
+ $852 = 32767;
+ } else {
+ $842 = $27;
+ $843 = $842 >> 7;
+ $844 = (($843) + 1)|0;
+ $845 = $844 >> 1;
+ $846 = ($845|0)<(-32768);
+ if ($846) {
+ $852 = -32768;
+ } else {
+ $847 = $27;
+ $848 = $847 >> 7;
+ $849 = (($848) + 1)|0;
+ $850 = $849 >> 1;
+ $852 = $850;
+ }
+ }
+ $851 = $852&65535;
+ $853 = $13;
+ $854 = $22;
+ $855 = (($854) - 1)|0;
+ $856 = (($853) + ($855<<1)|0);
+ HEAP16[$856>>1] = $851;
+ $857 = $22;
+ $858 = (($857) + 1)|0;
+ $22 = $858;
+ }
+ $859 = HEAP32[$30>>2]|0;
+ $860 = $859&65535;
+ $861 = $11;
+ HEAP16[$861>>1] = $860;
+ $862 = ((($30)) + 4|0);
+ $863 = HEAP32[$862>>2]|0;
+ $864 = $863&65535;
+ $865 = $11;
+ $866 = ((($865)) + 2|0);
+ HEAP16[$866>>1] = $864;
+ $867 = $38;
+ $868 = $867&65535;
+ $869 = $11;
+ $870 = ((($869)) + 30|0);
+ HEAP16[$870>>1] = $868;
+ $871 = $42;
+ _llvm_stackrestore(($871|0));
+ STACKTOP = sp;return;
+}
+function _silk_DIV32_varQ($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $14 = 0;
+ var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $14 = $4;
+ $15 = ($14|0)>(0);
+ $16 = $4;
+ $17 = (0 - ($16))|0;
+ $18 = $15 ? $16 : $17;
+ $19 = (_silk_CLZ32($18)|0);
+ $20 = (($19) - 1)|0;
+ $7 = $20;
+ $21 = $4;
+ $22 = $7;
+ $23 = $21 << $22;
+ $11 = $23;
+ $24 = $5;
+ $25 = ($24|0)>(0);
+ $26 = $5;
+ $27 = (0 - ($26))|0;
+ $28 = $25 ? $26 : $27;
+ $29 = (_silk_CLZ32($28)|0);
+ $30 = (($29) - 1)|0;
+ $8 = $30;
+ $31 = $5;
+ $32 = $8;
+ $33 = $31 << $32;
+ $12 = $33;
+ $34 = $12;
+ $35 = $34 >> 16;
+ $36 = (536870911 / ($35|0))&-1;
+ $10 = $36;
+ $37 = $11;
+ $38 = $37 >> 16;
+ $39 = $10;
+ $40 = $39&65535;
+ $41 = $40 << 16 >> 16;
+ $42 = Math_imul($38, $41)|0;
+ $43 = $11;
+ $44 = $43 & 65535;
+ $45 = $10;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $48 >> 16;
+ $50 = (($42) + ($49))|0;
+ $13 = $50;
+ $51 = $11;
+ $52 = $12;
+ $53 = ($52|0)<(0);
+ $54 = $53 << 31 >> 31;
+ $55 = $13;
+ $56 = ($55|0)<(0);
+ $57 = $56 << 31 >> 31;
+ $58 = (___muldi3(($52|0),($54|0),($55|0),($57|0))|0);
+ $59 = tempRet0;
+ $60 = (_bitshift64Ashr(($58|0),($59|0),32)|0);
+ $61 = tempRet0;
+ $62 = $60 << 3;
+ $63 = (($51) - ($62))|0;
+ $11 = $63;
+ $64 = $13;
+ $65 = $11;
+ $66 = $65 >> 16;
+ $67 = $10;
+ $68 = $67&65535;
+ $69 = $68 << 16 >> 16;
+ $70 = Math_imul($66, $69)|0;
+ $71 = $11;
+ $72 = $71 & 65535;
+ $73 = $10;
+ $74 = $73&65535;
+ $75 = $74 << 16 >> 16;
+ $76 = Math_imul($72, $75)|0;
+ $77 = $76 >> 16;
+ $78 = (($70) + ($77))|0;
+ $79 = (($64) + ($78))|0;
+ $13 = $79;
+ $80 = $7;
+ $81 = (29 + ($80))|0;
+ $82 = $8;
+ $83 = (($81) - ($82))|0;
+ $84 = $6;
+ $85 = (($83) - ($84))|0;
+ $9 = $85;
+ $86 = $9;
+ $87 = ($86|0)<(0);
+ $88 = $9;
+ if (!($87)) {
+ $130 = ($88|0)<(32);
+ if ($130) {
+ $131 = $13;
+ $132 = $9;
+ $133 = $131 >> $132;
+ $3 = $133;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ } else {
+ $3 = 0;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ }
+ }
+ $89 = (0 - ($88))|0;
+ $90 = -2147483648 >> $89;
+ $91 = $9;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $94 = ($90|0)>($93|0);
+ $95 = $13;
+ $96 = $9;
+ $97 = (0 - ($96))|0;
+ do {
+ if ($94) {
+ $98 = -2147483648 >> $97;
+ $99 = ($95|0)>($98|0);
+ if ($99) {
+ $100 = $9;
+ $101 = (0 - ($100))|0;
+ $102 = -2147483648 >> $101;
+ $129 = $102;
+ break;
+ }
+ $103 = $13;
+ $104 = $9;
+ $105 = (0 - ($104))|0;
+ $106 = 2147483647 >> $105;
+ $107 = ($103|0)<($106|0);
+ if ($107) {
+ $108 = $9;
+ $109 = (0 - ($108))|0;
+ $110 = 2147483647 >> $109;
+ $129 = $110;
+ break;
+ } else {
+ $111 = $13;
+ $129 = $111;
+ break;
+ }
+ } else {
+ $112 = 2147483647 >> $97;
+ $113 = ($95|0)>($112|0);
+ if ($113) {
+ $114 = $9;
+ $115 = (0 - ($114))|0;
+ $116 = 2147483647 >> $115;
+ $129 = $116;
+ break;
+ }
+ $117 = $13;
+ $118 = $9;
+ $119 = (0 - ($118))|0;
+ $120 = -2147483648 >> $119;
+ $121 = ($117|0)<($120|0);
+ if ($121) {
+ $122 = $9;
+ $123 = (0 - ($122))|0;
+ $124 = -2147483648 >> $123;
+ $129 = $124;
+ break;
+ } else {
+ $125 = $13;
+ $129 = $125;
+ break;
+ }
+ }
+ } while(0);
+ $126 = $9;
+ $127 = (0 - ($126))|0;
+ $128 = $129 << $127;
+ $3 = $128;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+}
+function _silk_max_int($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_CLZ32($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_stereo_MS_to_LR($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0;
+ var $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0;
+ var $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
+ var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $20 = $7;
+ $21 = $6;
+ $22 = ((($21)) + 4|0);
+ ;HEAP16[$20>>1]=HEAP16[$22>>1]|0;HEAP16[$20+2>>1]=HEAP16[$22+2>>1]|0;
+ $23 = $8;
+ $24 = $6;
+ $25 = ((($24)) + 8|0);
+ ;HEAP16[$23>>1]=HEAP16[$25>>1]|0;HEAP16[$23+2>>1]=HEAP16[$25+2>>1]|0;
+ $26 = $6;
+ $27 = ((($26)) + 4|0);
+ $28 = $7;
+ $29 = $11;
+ $30 = (($28) + ($29<<1)|0);
+ ;HEAP16[$27>>1]=HEAP16[$30>>1]|0;HEAP16[$27+2>>1]=HEAP16[$30+2>>1]|0;
+ $31 = $6;
+ $32 = ((($31)) + 8|0);
+ $33 = $8;
+ $34 = $11;
+ $35 = (($33) + ($34<<1)|0);
+ ;HEAP16[$32>>1]=HEAP16[$35>>1]|0;HEAP16[$32+2>>1]=HEAP16[$35+2>>1]|0;
+ $36 = $6;
+ $37 = HEAP16[$36>>1]|0;
+ $38 = $37 << 16 >> 16;
+ $18 = $38;
+ $39 = $6;
+ $40 = ((($39)) + 2|0);
+ $41 = HEAP16[$40>>1]|0;
+ $42 = $41 << 16 >> 16;
+ $19 = $42;
+ $43 = $10;
+ $44 = $43<<3;
+ $45 = (65536 / ($44|0))&-1;
+ $13 = $45;
+ $46 = $9;
+ $47 = HEAP32[$46>>2]|0;
+ $48 = $6;
+ $49 = HEAP16[$48>>1]|0;
+ $50 = $49 << 16 >> 16;
+ $51 = (($47) - ($50))|0;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = $13;
+ $55 = $54&65535;
+ $56 = $55 << 16 >> 16;
+ $57 = Math_imul($53, $56)|0;
+ $58 = $57 >> 15;
+ $59 = (($58) + 1)|0;
+ $60 = $59 >> 1;
+ $14 = $60;
+ $61 = $9;
+ $62 = ((($61)) + 4|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = $6;
+ $65 = ((($64)) + 2|0);
+ $66 = HEAP16[$65>>1]|0;
+ $67 = $66 << 16 >> 16;
+ $68 = (($63) - ($67))|0;
+ $69 = $68&65535;
+ $70 = $69 << 16 >> 16;
+ $71 = $13;
+ $72 = $71&65535;
+ $73 = $72 << 16 >> 16;
+ $74 = Math_imul($70, $73)|0;
+ $75 = $74 >> 15;
+ $76 = (($75) + 1)|0;
+ $77 = $76 >> 1;
+ $15 = $77;
+ $12 = 0;
+ while(1) {
+ $78 = $12;
+ $79 = $10;
+ $80 = $79<<3;
+ $81 = ($78|0)<($80|0);
+ if (!($81)) {
+ break;
+ }
+ $82 = $14;
+ $83 = $18;
+ $84 = (($83) + ($82))|0;
+ $18 = $84;
+ $85 = $15;
+ $86 = $19;
+ $87 = (($86) + ($85))|0;
+ $19 = $87;
+ $88 = $7;
+ $89 = $12;
+ $90 = (($88) + ($89<<1)|0);
+ $91 = HEAP16[$90>>1]|0;
+ $92 = $91 << 16 >> 16;
+ $93 = $7;
+ $94 = $12;
+ $95 = (($94) + 2)|0;
+ $96 = (($93) + ($95<<1)|0);
+ $97 = HEAP16[$96>>1]|0;
+ $98 = $97 << 16 >> 16;
+ $99 = (($92) + ($98))|0;
+ $100 = $7;
+ $101 = $12;
+ $102 = (($101) + 1)|0;
+ $103 = (($100) + ($102<<1)|0);
+ $104 = HEAP16[$103>>1]|0;
+ $105 = $104 << 16 >> 16;
+ $106 = $105 << 1;
+ $107 = (($99) + ($106))|0;
+ $108 = $107 << 9;
+ $16 = $108;
+ $109 = $8;
+ $110 = $12;
+ $111 = (($110) + 1)|0;
+ $112 = (($109) + ($111<<1)|0);
+ $113 = HEAP16[$112>>1]|0;
+ $114 = $113 << 16 >> 16;
+ $115 = $114 << 8;
+ $116 = $16;
+ $117 = $116 >> 16;
+ $118 = $18;
+ $119 = $118&65535;
+ $120 = $119 << 16 >> 16;
+ $121 = Math_imul($117, $120)|0;
+ $122 = $16;
+ $123 = $122 & 65535;
+ $124 = $18;
+ $125 = $124&65535;
+ $126 = $125 << 16 >> 16;
+ $127 = Math_imul($123, $126)|0;
+ $128 = $127 >> 16;
+ $129 = (($121) + ($128))|0;
+ $130 = (($115) + ($129))|0;
+ $16 = $130;
+ $131 = $16;
+ $132 = $7;
+ $133 = $12;
+ $134 = (($133) + 1)|0;
+ $135 = (($132) + ($134<<1)|0);
+ $136 = HEAP16[$135>>1]|0;
+ $137 = $136 << 16 >> 16;
+ $138 = $137 << 11;
+ $139 = $138 >> 16;
+ $140 = $19;
+ $141 = $140&65535;
+ $142 = $141 << 16 >> 16;
+ $143 = Math_imul($139, $142)|0;
+ $144 = $7;
+ $145 = $12;
+ $146 = (($145) + 1)|0;
+ $147 = (($144) + ($146<<1)|0);
+ $148 = HEAP16[$147>>1]|0;
+ $149 = $148 << 16 >> 16;
+ $150 = $149 << 11;
+ $151 = $150 & 65535;
+ $152 = $19;
+ $153 = $152&65535;
+ $154 = $153 << 16 >> 16;
+ $155 = Math_imul($151, $154)|0;
+ $156 = $155 >> 16;
+ $157 = (($143) + ($156))|0;
+ $158 = (($131) + ($157))|0;
+ $16 = $158;
+ $159 = $16;
+ $160 = $159 >> 7;
+ $161 = (($160) + 1)|0;
+ $162 = $161 >> 1;
+ $163 = ($162|0)>(32767);
+ if ($163) {
+ $174 = 32767;
+ } else {
+ $164 = $16;
+ $165 = $164 >> 7;
+ $166 = (($165) + 1)|0;
+ $167 = $166 >> 1;
+ $168 = ($167|0)<(-32768);
+ if ($168) {
+ $174 = -32768;
+ } else {
+ $169 = $16;
+ $170 = $169 >> 7;
+ $171 = (($170) + 1)|0;
+ $172 = $171 >> 1;
+ $174 = $172;
+ }
+ }
+ $173 = $174&65535;
+ $175 = $8;
+ $176 = $12;
+ $177 = (($176) + 1)|0;
+ $178 = (($175) + ($177<<1)|0);
+ HEAP16[$178>>1] = $173;
+ $179 = $12;
+ $180 = (($179) + 1)|0;
+ $12 = $180;
+ }
+ $181 = $9;
+ $182 = HEAP32[$181>>2]|0;
+ $18 = $182;
+ $183 = $9;
+ $184 = ((($183)) + 4|0);
+ $185 = HEAP32[$184>>2]|0;
+ $19 = $185;
+ $186 = $10;
+ $187 = $186<<3;
+ $12 = $187;
+ while(1) {
+ $188 = $12;
+ $189 = $11;
+ $190 = ($188|0)<($189|0);
+ if (!($190)) {
+ break;
+ }
+ $191 = $7;
+ $192 = $12;
+ $193 = (($191) + ($192<<1)|0);
+ $194 = HEAP16[$193>>1]|0;
+ $195 = $194 << 16 >> 16;
+ $196 = $7;
+ $197 = $12;
+ $198 = (($197) + 2)|0;
+ $199 = (($196) + ($198<<1)|0);
+ $200 = HEAP16[$199>>1]|0;
+ $201 = $200 << 16 >> 16;
+ $202 = (($195) + ($201))|0;
+ $203 = $7;
+ $204 = $12;
+ $205 = (($204) + 1)|0;
+ $206 = (($203) + ($205<<1)|0);
+ $207 = HEAP16[$206>>1]|0;
+ $208 = $207 << 16 >> 16;
+ $209 = $208 << 1;
+ $210 = (($202) + ($209))|0;
+ $211 = $210 << 9;
+ $16 = $211;
+ $212 = $8;
+ $213 = $12;
+ $214 = (($213) + 1)|0;
+ $215 = (($212) + ($214<<1)|0);
+ $216 = HEAP16[$215>>1]|0;
+ $217 = $216 << 16 >> 16;
+ $218 = $217 << 8;
+ $219 = $16;
+ $220 = $219 >> 16;
+ $221 = $18;
+ $222 = $221&65535;
+ $223 = $222 << 16 >> 16;
+ $224 = Math_imul($220, $223)|0;
+ $225 = $16;
+ $226 = $225 & 65535;
+ $227 = $18;
+ $228 = $227&65535;
+ $229 = $228 << 16 >> 16;
+ $230 = Math_imul($226, $229)|0;
+ $231 = $230 >> 16;
+ $232 = (($224) + ($231))|0;
+ $233 = (($218) + ($232))|0;
+ $16 = $233;
+ $234 = $16;
+ $235 = $7;
+ $236 = $12;
+ $237 = (($236) + 1)|0;
+ $238 = (($235) + ($237<<1)|0);
+ $239 = HEAP16[$238>>1]|0;
+ $240 = $239 << 16 >> 16;
+ $241 = $240 << 11;
+ $242 = $241 >> 16;
+ $243 = $19;
+ $244 = $243&65535;
+ $245 = $244 << 16 >> 16;
+ $246 = Math_imul($242, $245)|0;
+ $247 = $7;
+ $248 = $12;
+ $249 = (($248) + 1)|0;
+ $250 = (($247) + ($249<<1)|0);
+ $251 = HEAP16[$250>>1]|0;
+ $252 = $251 << 16 >> 16;
+ $253 = $252 << 11;
+ $254 = $253 & 65535;
+ $255 = $19;
+ $256 = $255&65535;
+ $257 = $256 << 16 >> 16;
+ $258 = Math_imul($254, $257)|0;
+ $259 = $258 >> 16;
+ $260 = (($246) + ($259))|0;
+ $261 = (($234) + ($260))|0;
+ $16 = $261;
+ $262 = $16;
+ $263 = $262 >> 7;
+ $264 = (($263) + 1)|0;
+ $265 = $264 >> 1;
+ $266 = ($265|0)>(32767);
+ if ($266) {
+ $277 = 32767;
+ } else {
+ $267 = $16;
+ $268 = $267 >> 7;
+ $269 = (($268) + 1)|0;
+ $270 = $269 >> 1;
+ $271 = ($270|0)<(-32768);
+ if ($271) {
+ $277 = -32768;
+ } else {
+ $272 = $16;
+ $273 = $272 >> 7;
+ $274 = (($273) + 1)|0;
+ $275 = $274 >> 1;
+ $277 = $275;
+ }
+ }
+ $276 = $277&65535;
+ $278 = $8;
+ $279 = $12;
+ $280 = (($279) + 1)|0;
+ $281 = (($278) + ($280<<1)|0);
+ HEAP16[$281>>1] = $276;
+ $282 = $12;
+ $283 = (($282) + 1)|0;
+ $12 = $283;
+ }
+ $284 = $9;
+ $285 = HEAP32[$284>>2]|0;
+ $286 = $285&65535;
+ $287 = $6;
+ HEAP16[$287>>1] = $286;
+ $288 = $9;
+ $289 = ((($288)) + 4|0);
+ $290 = HEAP32[$289>>2]|0;
+ $291 = $290&65535;
+ $292 = $6;
+ $293 = ((($292)) + 2|0);
+ HEAP16[$293>>1] = $291;
+ $12 = 0;
+ while(1) {
+ $294 = $12;
+ $295 = $11;
+ $296 = ($294|0)<($295|0);
+ if (!($296)) {
+ break;
+ }
+ $297 = $7;
+ $298 = $12;
+ $299 = (($298) + 1)|0;
+ $300 = (($297) + ($299<<1)|0);
+ $301 = HEAP16[$300>>1]|0;
+ $302 = $301 << 16 >> 16;
+ $303 = $8;
+ $304 = $12;
+ $305 = (($304) + 1)|0;
+ $306 = (($303) + ($305<<1)|0);
+ $307 = HEAP16[$306>>1]|0;
+ $308 = $307 << 16 >> 16;
+ $309 = (($302) + ($308))|0;
+ $16 = $309;
+ $310 = $7;
+ $311 = $12;
+ $312 = (($311) + 1)|0;
+ $313 = (($310) + ($312<<1)|0);
+ $314 = HEAP16[$313>>1]|0;
+ $315 = $314 << 16 >> 16;
+ $316 = $8;
+ $317 = $12;
+ $318 = (($317) + 1)|0;
+ $319 = (($316) + ($318<<1)|0);
+ $320 = HEAP16[$319>>1]|0;
+ $321 = $320 << 16 >> 16;
+ $322 = (($315) - ($321))|0;
+ $17 = $322;
+ $323 = $16;
+ $324 = ($323|0)>(32767);
+ if ($324) {
+ $330 = 32767;
+ } else {
+ $325 = $16;
+ $326 = ($325|0)<(-32768);
+ $327 = $16;
+ $328 = $326 ? -32768 : $327;
+ $330 = $328;
+ }
+ $329 = $330&65535;
+ $331 = $7;
+ $332 = $12;
+ $333 = (($332) + 1)|0;
+ $334 = (($331) + ($333<<1)|0);
+ HEAP16[$334>>1] = $329;
+ $335 = $17;
+ $336 = ($335|0)>(32767);
+ if ($336) {
+ $342 = 32767;
+ } else {
+ $337 = $17;
+ $338 = ($337|0)<(-32768);
+ $339 = $17;
+ $340 = $338 ? -32768 : $339;
+ $342 = $340;
+ }
+ $341 = $342&65535;
+ $343 = $8;
+ $344 = $12;
+ $345 = (($344) + 1)|0;
+ $346 = (($343) + ($345<<1)|0);
+ HEAP16[$346>>1] = $341;
+ $347 = $12;
+ $348 = (($347) + 1)|0;
+ $12 = $348;
+ }
+ STACKTOP = sp;return;
+}
+function _check_control_input($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0;
+ var $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
+ var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
+ var $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $2;
+ $4 = ((($3)) + 8|0);
+ $5 = HEAP32[$4>>2]|0;
+ $6 = ($5|0)!=(8000);
+ if ($6) {
+ $7 = $2;
+ $8 = ((($7)) + 8|0);
+ $9 = HEAP32[$8>>2]|0;
+ $10 = ($9|0)!=(12000);
+ if ($10) {
+ $11 = $2;
+ $12 = ((($11)) + 8|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = ($13|0)!=(16000);
+ if ($14) {
+ $15 = $2;
+ $16 = ((($15)) + 8|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = ($17|0)!=(24000);
+ if ($18) {
+ $19 = $2;
+ $20 = ((($19)) + 8|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = ($21|0)!=(32000);
+ if ($22) {
+ $23 = $2;
+ $24 = ((($23)) + 8|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = ($25|0)!=(44100);
+ if ($26) {
+ $27 = $2;
+ $28 = ((($27)) + 8|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = ($29|0)!=(48000);
+ if (!($30)) {
+ label = 8;
+ }
+ } else {
+ label = 8;
+ }
+ } else {
+ label = 8;
+ }
+ } else {
+ label = 8;
+ }
+ } else {
+ label = 8;
+ }
+ } else {
+ label = 8;
+ }
+ } else {
+ label = 8;
+ }
+ do {
+ if ((label|0) == 8) {
+ $31 = $2;
+ $32 = ((($31)) + 20|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = ($33|0)!=(8000);
+ if ($34) {
+ $35 = $2;
+ $36 = ((($35)) + 20|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = ($37|0)!=(12000);
+ if ($38) {
+ $39 = $2;
+ $40 = ((($39)) + 20|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = ($41|0)!=(16000);
+ if ($42) {
+ break;
+ }
+ }
+ }
+ $43 = $2;
+ $44 = ((($43)) + 12|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = ($45|0)!=(8000);
+ if ($46) {
+ $47 = $2;
+ $48 = ((($47)) + 12|0);
+ $49 = HEAP32[$48>>2]|0;
+ $50 = ($49|0)!=(12000);
+ if ($50) {
+ $51 = $2;
+ $52 = ((($51)) + 12|0);
+ $53 = HEAP32[$52>>2]|0;
+ $54 = ($53|0)!=(16000);
+ if ($54) {
+ break;
+ }
+ }
+ }
+ $55 = $2;
+ $56 = ((($55)) + 16|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = ($57|0)!=(8000);
+ if ($58) {
+ $59 = $2;
+ $60 = ((($59)) + 16|0);
+ $61 = HEAP32[$60>>2]|0;
+ $62 = ($61|0)!=(12000);
+ if ($62) {
+ $63 = $2;
+ $64 = ((($63)) + 16|0);
+ $65 = HEAP32[$64>>2]|0;
+ $66 = ($65|0)!=(16000);
+ if ($66) {
+ break;
+ }
+ }
+ }
+ $67 = $2;
+ $68 = ((($67)) + 16|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = $2;
+ $71 = ((($70)) + 20|0);
+ $72 = HEAP32[$71>>2]|0;
+ $73 = ($69|0)>($72|0);
+ if (!($73)) {
+ $74 = $2;
+ $75 = ((($74)) + 12|0);
+ $76 = HEAP32[$75>>2]|0;
+ $77 = $2;
+ $78 = ((($77)) + 20|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = ($76|0)<($79|0);
+ if (!($80)) {
+ $81 = $2;
+ $82 = ((($81)) + 16|0);
+ $83 = HEAP32[$82>>2]|0;
+ $84 = $2;
+ $85 = ((($84)) + 12|0);
+ $86 = HEAP32[$85>>2]|0;
+ $87 = ($83|0)>($86|0);
+ if (!($87)) {
+ $88 = $2;
+ $89 = ((($88)) + 24|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = ($90|0)!=(10);
+ if ($91) {
+ $92 = $2;
+ $93 = ((($92)) + 24|0);
+ $94 = HEAP32[$93>>2]|0;
+ $95 = ($94|0)!=(20);
+ if ($95) {
+ $96 = $2;
+ $97 = ((($96)) + 24|0);
+ $98 = HEAP32[$97>>2]|0;
+ $99 = ($98|0)!=(40);
+ if ($99) {
+ $100 = $2;
+ $101 = ((($100)) + 24|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = ($102|0)!=(60);
+ if ($103) {
+ $1 = -103;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ }
+ }
+ }
+ $104 = $2;
+ $105 = ((($104)) + 32|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = ($106|0)<(0);
+ if (!($107)) {
+ $108 = $2;
+ $109 = ((($108)) + 32|0);
+ $110 = HEAP32[$109>>2]|0;
+ $111 = ($110|0)>(100);
+ if (!($111)) {
+ $112 = $2;
+ $113 = ((($112)) + 44|0);
+ $114 = HEAP32[$113>>2]|0;
+ $115 = ($114|0)<(0);
+ if (!($115)) {
+ $116 = $2;
+ $117 = ((($116)) + 44|0);
+ $118 = HEAP32[$117>>2]|0;
+ $119 = ($118|0)>(1);
+ if (!($119)) {
+ $120 = $2;
+ $121 = ((($120)) + 48|0);
+ $122 = HEAP32[$121>>2]|0;
+ $123 = ($122|0)<(0);
+ if (!($123)) {
+ $124 = $2;
+ $125 = ((($124)) + 48|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = ($126|0)>(1);
+ if (!($127)) {
+ $128 = $2;
+ $129 = ((($128)) + 40|0);
+ $130 = HEAP32[$129>>2]|0;
+ $131 = ($130|0)<(0);
+ do {
+ if (!($131)) {
+ $132 = $2;
+ $133 = ((($132)) + 40|0);
+ $134 = HEAP32[$133>>2]|0;
+ $135 = ($134|0)>(1);
+ if ($135) {
+ break;
+ }
+ $136 = $2;
+ $137 = HEAP32[$136>>2]|0;
+ $138 = ($137|0)<(1);
+ do {
+ if (!($138)) {
+ $139 = $2;
+ $140 = HEAP32[$139>>2]|0;
+ $141 = ($140|0)>(2);
+ if ($141) {
+ break;
+ }
+ $142 = $2;
+ $143 = ((($142)) + 4|0);
+ $144 = HEAP32[$143>>2]|0;
+ $145 = ($144|0)<(1);
+ do {
+ if (!($145)) {
+ $146 = $2;
+ $147 = ((($146)) + 4|0);
+ $148 = HEAP32[$147>>2]|0;
+ $149 = ($148|0)>(2);
+ if ($149) {
+ break;
+ }
+ $150 = $2;
+ $151 = ((($150)) + 4|0);
+ $152 = HEAP32[$151>>2]|0;
+ $153 = $2;
+ $154 = HEAP32[$153>>2]|0;
+ $155 = ($152|0)>($154|0);
+ if ($155) {
+ $1 = -111;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ $156 = $2;
+ $157 = ((($156)) + 36|0);
+ $158 = HEAP32[$157>>2]|0;
+ $159 = ($158|0)<(0);
+ do {
+ if (!($159)) {
+ $160 = $2;
+ $161 = ((($160)) + 36|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = ($162|0)>(10);
+ if ($163) {
+ break;
+ }
+ $1 = 0;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ } while(0);
+ $1 = -106;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ } while(0);
+ $1 = -111;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ } while(0);
+ $1 = -111;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ } while(0);
+ $1 = -107;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ }
+ $1 = -109;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ }
+ $1 = -108;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ }
+ $1 = -105;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+ }
+ }
+ }
+ }
+ } while(0);
+ $1 = -102;
+ $164 = $1;
+ STACKTOP = sp;return ($164|0);
+}
+function _silk_control_SNR($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = 0;
+ $8 = $3;
+ $9 = ($8|0)>(80000);
+ if ($9) {
+ $14 = 80000;
+ } else {
+ $10 = $3;
+ $11 = ($10|0)<(5000);
+ $12 = $3;
+ $13 = $11 ? 5000 : $12;
+ $14 = $13;
+ }
+ $3 = $14;
+ $15 = $3;
+ $16 = $2;
+ $17 = ((($16)) + 4632|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = ($15|0)!=($18|0);
+ if (!($19)) {
+ $87 = $5;
+ STACKTOP = sp;return ($87|0);
+ }
+ $20 = $3;
+ $21 = $2;
+ $22 = ((($21)) + 4632|0);
+ HEAP32[$22>>2] = $20;
+ $23 = $2;
+ $24 = ((($23)) + 4600|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = ($25|0)==(8);
+ do {
+ if ($26) {
+ $7 = 16708;
+ } else {
+ $27 = $2;
+ $28 = ((($27)) + 4600|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = ($29|0)==(12);
+ if ($30) {
+ $7 = 16740;
+ break;
+ } else {
+ $7 = 16772;
+ break;
+ }
+ }
+ } while(0);
+ $31 = $2;
+ $32 = ((($31)) + 4604|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = ($33|0)==(2);
+ if ($34) {
+ $35 = $3;
+ $36 = (($35) - 2200)|0;
+ $3 = $36;
+ }
+ $4 = 1;
+ while(1) {
+ $37 = $4;
+ $38 = ($37|0)<(8);
+ if (!($38)) {
+ label = 16;
+ break;
+ }
+ $39 = $3;
+ $40 = $7;
+ $41 = $4;
+ $42 = (($40) + ($41<<2)|0);
+ $43 = HEAP32[$42>>2]|0;
+ $44 = ($39|0)<=($43|0);
+ if ($44) {
+ break;
+ }
+ $85 = $4;
+ $86 = (($85) + 1)|0;
+ $4 = $86;
+ }
+ if ((label|0) == 16) {
+ $87 = $5;
+ STACKTOP = sp;return ($87|0);
+ }
+ $45 = $3;
+ $46 = $7;
+ $47 = $4;
+ $48 = (($47) - 1)|0;
+ $49 = (($46) + ($48<<2)|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = (($45) - ($50))|0;
+ $52 = $51 << 6;
+ $53 = $7;
+ $54 = $4;
+ $55 = (($53) + ($54<<2)|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = $7;
+ $58 = $4;
+ $59 = (($58) - 1)|0;
+ $60 = (($57) + ($59<<2)|0);
+ $61 = HEAP32[$60>>2]|0;
+ $62 = (($56) - ($61))|0;
+ $63 = (($52|0) / ($62|0))&-1;
+ $6 = $63;
+ $64 = $4;
+ $65 = (($64) - 1)|0;
+ $66 = (24950 + ($65<<1)|0);
+ $67 = HEAP16[$66>>1]|0;
+ $68 = $67 << 16 >> 16;
+ $69 = $68 << 6;
+ $70 = $6;
+ $71 = $4;
+ $72 = (24950 + ($71<<1)|0);
+ $73 = HEAP16[$72>>1]|0;
+ $74 = $73 << 16 >> 16;
+ $75 = $4;
+ $76 = (($75) - 1)|0;
+ $77 = (24950 + ($76<<1)|0);
+ $78 = HEAP16[$77>>1]|0;
+ $79 = $78 << 16 >> 16;
+ $80 = (($74) - ($79))|0;
+ $81 = Math_imul($70, $80)|0;
+ $82 = (($69) + ($81))|0;
+ $83 = $2;
+ $84 = ((($83)) + 4748|0);
+ HEAP32[$84>>2] = $82;
+ $87 = $5;
+ STACKTOP = sp;return ($87|0);
+}
+function _silk_init_encoder($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $3 = 0, $4 = 0;
+ var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = 0;
+ $5 = $2;
+ _memset(($5|0),0,12240)|0;
+ $6 = $3;
+ $7 = $2;
+ $8 = ((($7)) + 5124|0);
+ HEAP32[$8>>2] = $6;
+ $9 = (_silk_lin2log(3932160)|0);
+ $10 = (($9) - 2048)|0;
+ $11 = $10 << 8;
+ $12 = $2;
+ $13 = ((($12)) + 8|0);
+ HEAP32[$13>>2] = $11;
+ $14 = $2;
+ $15 = ((($14)) + 8|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = $2;
+ $18 = ((($17)) + 12|0);
+ HEAP32[$18>>2] = $16;
+ $19 = $2;
+ $20 = ((($19)) + 4696|0);
+ HEAP32[$20>>2] = 1;
+ $21 = $2;
+ $22 = ((($21)) + 32|0);
+ $23 = (_silk_VAD_Init($22)|0);
+ $24 = $4;
+ $25 = (($24) + ($23))|0;
+ $4 = $25;
+ $26 = $4;
+ STACKTOP = sp;return ($26|0);
+}
+function _silk_control_encoder($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0;
+ var $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
+ var $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0;
+ var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
+ var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0;
+ var $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $14 = 0;
+ $15 = $8;
+ $16 = ((($15)) + 44|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $7;
+ $19 = ((($18)) + 6108|0);
+ HEAP32[$19>>2] = $17;
+ $20 = $8;
+ $21 = ((($20)) + 48|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = $7;
+ $24 = ((($23)) + 4708|0);
+ HEAP32[$24>>2] = $22;
+ $25 = $8;
+ $26 = ((($25)) + 8|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = $7;
+ $29 = ((($28)) + 4580|0);
+ HEAP32[$29>>2] = $27;
+ $30 = $8;
+ $31 = ((($30)) + 12|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = $7;
+ $34 = ((($33)) + 4588|0);
+ HEAP32[$34>>2] = $32;
+ $35 = $8;
+ $36 = ((($35)) + 16|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = $7;
+ $39 = ((($38)) + 4592|0);
+ HEAP32[$39>>2] = $37;
+ $40 = $8;
+ $41 = ((($40)) + 20|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = $7;
+ $44 = ((($43)) + 4596|0);
+ HEAP32[$44>>2] = $42;
+ $45 = $8;
+ $46 = ((($45)) + 40|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = $7;
+ $49 = ((($48)) + 6120|0);
+ HEAP32[$49>>2] = $47;
+ $50 = $8;
+ $51 = HEAP32[$50>>2]|0;
+ $52 = $7;
+ $53 = ((($52)) + 5784|0);
+ HEAP32[$53>>2] = $51;
+ $54 = $8;
+ $55 = ((($54)) + 4|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = $7;
+ $58 = ((($57)) + 5788|0);
+ HEAP32[$58>>2] = $56;
+ $59 = $10;
+ $60 = $7;
+ $61 = ((($60)) + 4560|0);
+ HEAP32[$61>>2] = $59;
+ $62 = $11;
+ $63 = $7;
+ $64 = ((($63)) + 5792|0);
+ HEAP32[$64>>2] = $62;
+ $65 = $7;
+ $66 = ((($65)) + 4700|0);
+ $67 = HEAP32[$66>>2]|0;
+ $68 = ($67|0)!=(0);
+ if ($68) {
+ $69 = $7;
+ $70 = ((($69)) + 4712|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = ($71|0)==(0);
+ if ($72) {
+ $73 = $7;
+ $74 = ((($73)) + 4580|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $7;
+ $77 = ((($76)) + 4584|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = ($75|0)!=($78|0);
+ if ($79) {
+ $80 = $7;
+ $81 = ((($80)) + 4600|0);
+ $82 = HEAP32[$81>>2]|0;
+ $83 = ($82|0)>(0);
+ if ($83) {
+ $84 = $7;
+ $85 = $7;
+ $86 = ((($85)) + 4600|0);
+ $87 = HEAP32[$86>>2]|0;
+ $88 = (_silk_setup_resamplers($84,$87)|0);
+ $89 = $14;
+ $90 = (($89) + ($88))|0;
+ $14 = $90;
+ }
+ }
+ $91 = $14;
+ $6 = $91;
+ $131 = $6;
+ STACKTOP = sp;return ($131|0);
+ }
+ }
+ $92 = $7;
+ $93 = $8;
+ $94 = (_silk_control_audio_bandwidth($92,$93)|0);
+ $13 = $94;
+ $95 = $12;
+ $96 = ($95|0)!=(0);
+ if ($96) {
+ $97 = $12;
+ $13 = $97;
+ }
+ $98 = $7;
+ $99 = $13;
+ $100 = (_silk_setup_resamplers($98,$99)|0);
+ $101 = $14;
+ $102 = (($101) + ($100))|0;
+ $14 = $102;
+ $103 = $7;
+ $104 = $13;
+ $105 = $8;
+ $106 = ((($105)) + 24|0);
+ $107 = HEAP32[$106>>2]|0;
+ $108 = (_silk_setup_fs($103,$104,$107)|0);
+ $109 = $14;
+ $110 = (($109) + ($108))|0;
+ $14 = $110;
+ $111 = $7;
+ $112 = $8;
+ $113 = ((($112)) + 36|0);
+ $114 = HEAP32[$113>>2]|0;
+ $115 = (_silk_setup_complexity($111,$114)|0);
+ $116 = $14;
+ $117 = (($116) + ($115))|0;
+ $14 = $117;
+ $118 = $8;
+ $119 = ((($118)) + 32|0);
+ $120 = HEAP32[$119>>2]|0;
+ $121 = $7;
+ $122 = ((($121)) + 4640|0);
+ HEAP32[$122>>2] = $120;
+ $123 = $7;
+ $124 = $9;
+ $125 = (_silk_setup_LBRR($123,$124)|0);
+ $126 = $14;
+ $127 = (($126) + ($125))|0;
+ $14 = $127;
+ $128 = $7;
+ $129 = ((($128)) + 4700|0);
+ HEAP32[$129>>2] = 1;
+ $130 = $14;
+ $6 = $130;
+ $131 = $6;
+ STACKTOP = sp;return ($131|0);
+}
+function _silk_setup_resamplers($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$alloca_mul = 0, $$alloca_mul10 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $12 = 0, $13 = 0, $14 = 0;
+ var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 336|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(336|0);
+ $10 = sp;
+ $2 = $0;
+ $3 = $1;
+ $4 = 0;
+ $11 = $2;
+ $12 = ((($11)) + 4600|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = $3;
+ $15 = ($13|0)!=($14|0);
+ if (!($15)) {
+ $16 = $2;
+ $17 = ((($16)) + 4584|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = $2;
+ $20 = ((($19)) + 4580|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = ($18|0)!=($21|0);
+ if (!($22)) {
+ $107 = $2;
+ $108 = ((($107)) + 4580|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = $2;
+ $111 = ((($110)) + 4584|0);
+ HEAP32[$111>>2] = $109;
+ $112 = $4;
+ STACKTOP = sp;return ($112|0);
+ }
+ }
+ $23 = $2;
+ $24 = ((($23)) + 4600|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = ($25|0)==(0);
+ $27 = $2;
+ if ($26) {
+ $28 = ((($27)) + 5808|0);
+ $29 = $2;
+ $30 = ((($29)) + 4580|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = $3;
+ $33 = ($32*1000)|0;
+ $34 = (_silk_resampler_init($28,$31,$33,1)|0);
+ $35 = $4;
+ $36 = (($35) + ($34))|0;
+ $4 = $36;
+ $107 = $2;
+ $108 = ((($107)) + 4580|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = $2;
+ $111 = ((($110)) + 4584|0);
+ HEAP32[$111>>2] = $109;
+ $112 = $4;
+ STACKTOP = sp;return ($112|0);
+ } else {
+ $37 = ((($27)) + 4604|0);
+ $38 = HEAP32[$37>>2]|0;
+ $39 = ($38*5)|0;
+ $40 = $39 << 1;
+ $41 = (($40) + 5)|0;
+ $8 = $41;
+ $42 = $8;
+ $43 = $2;
+ $44 = ((($43)) + 4600|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = Math_imul($42, $45)|0;
+ $7 = $46;
+ $47 = $8;
+ $48 = $3;
+ $49 = Math_imul($47, $48)|0;
+ $5 = $49;
+ $50 = $7;
+ $51 = $5;
+ $52 = ($50|0)>($51|0);
+ $53 = $7;
+ $54 = $5;
+ $55 = $52 ? $53 : $54;
+ $56 = (_llvm_stacksave()|0);
+ $9 = $56;
+ $$alloca_mul = $55<<1;
+ $57 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $58 = $2;
+ $59 = ((($58)) + 9356|0);
+ $60 = $7;
+ _silk_float2short_array($57,$59,$60);
+ $61 = $2;
+ $62 = ((($61)) + 4600|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = $63&65535;
+ $65 = $64 << 16 >> 16;
+ $66 = ($65*1000)|0;
+ $67 = $2;
+ $68 = ((($67)) + 4580|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = (_silk_resampler_init($10,$66,$69,0)|0);
+ $71 = $4;
+ $72 = (($71) + ($70))|0;
+ $4 = $72;
+ $73 = $8;
+ $74 = $2;
+ $75 = ((($74)) + 4580|0);
+ $76 = HEAP32[$75>>2]|0;
+ $77 = (($76|0) / 1000)&-1;
+ $78 = Math_imul($73, $77)|0;
+ $6 = $78;
+ $79 = $6;
+ $$alloca_mul10 = $79<<1;
+ $80 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul10)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul10)|0)+15)&-16)|0);;
+ $81 = $7;
+ $82 = (_silk_resampler($10,$80,$57,$81)|0);
+ $83 = $4;
+ $84 = (($83) + ($82))|0;
+ $4 = $84;
+ $85 = $2;
+ $86 = ((($85)) + 5808|0);
+ $87 = $2;
+ $88 = ((($87)) + 4580|0);
+ $89 = HEAP32[$88>>2]|0;
+ $90 = $3;
+ $91 = $90&65535;
+ $92 = $91 << 16 >> 16;
+ $93 = ($92*1000)|0;
+ $94 = (_silk_resampler_init($86,$89,$93,1)|0);
+ $95 = $4;
+ $96 = (($95) + ($94))|0;
+ $4 = $96;
+ $97 = $2;
+ $98 = ((($97)) + 5808|0);
+ $99 = $6;
+ $100 = (_silk_resampler($98,$57,$80,$99)|0);
+ $101 = $4;
+ $102 = (($101) + ($100))|0;
+ $4 = $102;
+ $103 = $2;
+ $104 = ((($103)) + 9356|0);
+ $105 = $5;
+ _silk_short2float_array($104,$57,$105);
+ $106 = $9;
+ _llvm_stackrestore(($106|0));
+ $107 = $2;
+ $108 = ((($107)) + 4580|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = $2;
+ $111 = ((($110)) + 4584|0);
+ HEAP32[$111>>2] = $109;
+ $112 = $4;
+ STACKTOP = sp;return ($112|0);
+ }
+ return (0)|0;
+}
+function _silk_setup_fs($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$sink = 0, $$sink11 = 0, $$sink12 = 0, $$sink15 = 0, $$sink16$sink = 0, $$sink19$sink = 0, $$sink22 = 0, $$sink6 = 0, $$sink6$sink = 0, $$sink7 = 0, $$sink8 = 0, $$sink8$sink = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0;
+ var $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0;
+ var $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0;
+ var $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0;
+ var $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0;
+ var $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0;
+ var $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, $or$cond5 = 0;
+ var $silk_NLSF_CB_WB$sink = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = 0;
+ $7 = $5;
+ $8 = $3;
+ $9 = ((($8)) + 4636|0);
+ $10 = HEAP32[$9>>2]|0;
+ $11 = ($7|0)!=($10|0);
+ if ($11) {
+ $12 = $5;
+ $13 = ($12|0)!=(10);
+ $14 = $5;
+ $15 = ($14|0)!=(20);
+ $or$cond = $13 & $15;
+ $16 = $5;
+ $17 = ($16|0)!=(40);
+ $or$cond3 = $or$cond & $17;
+ $18 = $5;
+ $19 = ($18|0)!=(60);
+ $or$cond5 = $or$cond3 & $19;
+ if ($or$cond5) {
+ $6 = -103;
+ }
+ $20 = $5;
+ $21 = ($20|0)<=(10);
+ if ($21) {
+ $22 = $3;
+ $23 = ((($22)) + 5776|0);
+ HEAP32[$23>>2] = 1;
+ $24 = $5;
+ $25 = ($24|0)==(10);
+ $26 = $25 ? 2 : 1;
+ $27 = $3;
+ $28 = ((($27)) + 4604|0);
+ HEAP32[$28>>2] = $26;
+ $29 = $5;
+ $30 = $29&65535;
+ $31 = $30 << 16 >> 16;
+ $32 = $4;
+ $33 = $32&65535;
+ $34 = $33 << 16 >> 16;
+ $35 = Math_imul($31, $34)|0;
+ $36 = $3;
+ $37 = ((($36)) + 4608|0);
+ HEAP32[$37>>2] = $35;
+ $38 = $4;
+ $39 = $38&65535;
+ $40 = $39 << 16 >> 16;
+ $41 = ($40*14)|0;
+ $42 = $3;
+ $43 = ((($42)) + 4572|0);
+ HEAP32[$43>>2] = $41;
+ $44 = $3;
+ $45 = ((($44)) + 4600|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = ($46|0)==(8);
+ $48 = $3;
+ $49 = ((($48)) + 4720|0);
+ $$sink = $47 ? 27853 : 27841;
+ $$sink22 = $49;$$sink6$sink = $$sink;
+ } else {
+ $50 = $5;
+ $51 = (($50|0) / 20)&-1;
+ $52 = $3;
+ $53 = ((($52)) + 5776|0);
+ HEAP32[$53>>2] = $51;
+ $54 = $3;
+ $55 = ((($54)) + 4604|0);
+ HEAP32[$55>>2] = 4;
+ $56 = $4;
+ $57 = $56&65535;
+ $58 = $57 << 16 >> 16;
+ $59 = ($58*20)|0;
+ $60 = $3;
+ $61 = ((($60)) + 4608|0);
+ HEAP32[$61>>2] = $59;
+ $62 = $4;
+ $63 = $62&65535;
+ $64 = $63 << 16 >> 16;
+ $65 = ($64*24)|0;
+ $66 = $3;
+ $67 = ((($66)) + 4572|0);
+ HEAP32[$67>>2] = $65;
+ $68 = $3;
+ $69 = ((($68)) + 4600|0);
+ $70 = HEAP32[$69>>2]|0;
+ $71 = ($70|0)==(8);
+ $72 = $3;
+ $73 = ((($72)) + 4720|0);
+ $$sink6 = $71 ? 27830 : 27796;
+ $$sink22 = $73;$$sink6$sink = $$sink6;
+ }
+ HEAP32[$$sink22>>2] = $$sink6$sink;
+ $74 = $5;
+ $75 = $3;
+ $76 = ((($75)) + 4636|0);
+ HEAP32[$76>>2] = $74;
+ $77 = $3;
+ $78 = ((($77)) + 4632|0);
+ HEAP32[$78>>2] = 0;
+ }
+ $79 = $3;
+ $80 = ((($79)) + 4600|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = $4;
+ $83 = ($81|0)!=($82|0);
+ if (!($83)) {
+ $207 = $6;
+ STACKTOP = sp;return ($207|0);
+ }
+ $84 = $3;
+ $85 = ((($84)) + 7200|0);
+ ;HEAP32[$85>>2]=0|0;HEAP32[$85+4>>2]=0|0;HEAP32[$85+8>>2]=0|0;HEAP32[$85+12>>2]=0|0;
+ $86 = $3;
+ $87 = ((($86)) + 7216|0);
+ _memset(($87|0),0,2140)|0;
+ $88 = $3;
+ $89 = ((($88)) + 144|0);
+ _memset(($89|0),0,4380)|0;
+ $90 = $3;
+ $91 = ((($90)) + 4524|0);
+ ;HEAP32[$91>>2]=0|0;HEAP32[$91+4>>2]=0|0;HEAP32[$91+8>>2]=0|0;HEAP32[$91+12>>2]=0|0;HEAP32[$91+16>>2]=0|0;HEAP32[$91+20>>2]=0|0;HEAP32[$91+24>>2]=0|0;HEAP32[$91+28>>2]=0|0;
+ $92 = $3;
+ $93 = ((($92)) + 16|0);
+ ;HEAP32[$93>>2]=0|0;HEAP32[$93+4>>2]=0|0;
+ $94 = $3;
+ $95 = ((($94)) + 5772|0);
+ HEAP32[$95>>2] = 0;
+ $96 = $3;
+ $97 = ((($96)) + 5780|0);
+ HEAP32[$97>>2] = 0;
+ $98 = $3;
+ $99 = ((($98)) + 4632|0);
+ HEAP32[$99>>2] = 0;
+ $100 = $3;
+ $101 = ((($100)) + 4568|0);
+ HEAP32[$101>>2] = 100;
+ $102 = $3;
+ $103 = ((($102)) + 4696|0);
+ HEAP32[$103>>2] = 1;
+ $104 = $3;
+ $105 = ((($104)) + 7216|0);
+ $106 = ((($105)) + 2136|0);
+ HEAP32[$106>>2] = 100;
+ $107 = $3;
+ $108 = ((($107)) + 7200|0);
+ HEAP8[$108>>0] = 10;
+ $109 = $3;
+ $110 = ((($109)) + 144|0);
+ $111 = ((($110)) + 4356|0);
+ HEAP32[$111>>2] = 100;
+ $112 = $3;
+ $113 = ((($112)) + 144|0);
+ $114 = ((($113)) + 4372|0);
+ HEAP32[$114>>2] = 65536;
+ $115 = $3;
+ $116 = ((($115)) + 4565|0);
+ HEAP8[$116>>0] = 0;
+ $117 = $4;
+ $118 = $3;
+ $119 = ((($118)) + 4600|0);
+ HEAP32[$119>>2] = $117;
+ $120 = $3;
+ $121 = ((($120)) + 4600|0);
+ $122 = HEAP32[$121>>2]|0;
+ $123 = ($122|0)==(8);
+ $124 = $3;
+ $125 = ((($124)) + 4604|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = ($126|0)==(4);
+ $128 = $3;
+ $129 = ((($128)) + 4720|0);
+ $$sink8 = $127 ? 27796 : 27841;
+ $$sink7 = $127 ? 27830 : 27853;
+ $$sink8$sink = $123 ? $$sink7 : $$sink8;
+ HEAP32[$129>>2] = $$sink8$sink;
+ $130 = $3;
+ $131 = ((($130)) + 4600|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = ($132|0)==(8);
+ if ($133) {
+ label = 11;
+ } else {
+ $134 = $3;
+ $135 = ((($134)) + 4600|0);
+ $136 = HEAP32[$135>>2]|0;
+ $137 = ($136|0)==(12);
+ if ($137) {
+ label = 11;
+ } else {
+ $141 = $3;
+ $142 = ((($141)) + 4664|0);
+ HEAP32[$142>>2] = 16;
+ $143 = $3;
+ $$sink11 = $143;$silk_NLSF_CB_WB$sink = 22252;
+ }
+ }
+ if ((label|0) == 11) {
+ $138 = $3;
+ $139 = ((($138)) + 4664|0);
+ HEAP32[$139>>2] = 10;
+ $140 = $3;
+ $$sink11 = $140;$silk_NLSF_CB_WB$sink = 22216;
+ }
+ $144 = ((($$sink11)) + 4724|0);
+ HEAP32[$144>>2] = $silk_NLSF_CB_WB$sink;
+ $145 = $4;
+ $146 = ($145*5)|0;
+ $147 = $3;
+ $148 = ((($147)) + 4612|0);
+ HEAP32[$148>>2] = $146;
+ $149 = $3;
+ $150 = ((($149)) + 4612|0);
+ $151 = HEAP32[$150>>2]|0;
+ $152 = $151&65535;
+ $153 = $152 << 16 >> 16;
+ $154 = $3;
+ $155 = ((($154)) + 4604|0);
+ $156 = HEAP32[$155>>2]|0;
+ $157 = $156&65535;
+ $158 = $157 << 16 >> 16;
+ $159 = Math_imul($153, $158)|0;
+ $160 = $3;
+ $161 = ((($160)) + 4608|0);
+ HEAP32[$161>>2] = $159;
+ $162 = $4;
+ $163 = $162&65535;
+ $164 = $163 << 16 >> 16;
+ $165 = ($164*20)|0;
+ $166 = $3;
+ $167 = ((($166)) + 4616|0);
+ HEAP32[$167>>2] = $165;
+ $168 = $4;
+ $169 = $168&65535;
+ $170 = $169 << 16 >> 16;
+ $171 = $170<<1;
+ $172 = $3;
+ $173 = ((($172)) + 4620|0);
+ HEAP32[$173>>2] = $171;
+ $174 = $4;
+ $175 = $174&65535;
+ $176 = $175 << 16 >> 16;
+ $177 = ($176*18)|0;
+ $178 = $3;
+ $179 = ((($178)) + 4576|0);
+ HEAP32[$179>>2] = $177;
+ $180 = $3;
+ $181 = ((($180)) + 4604|0);
+ $182 = HEAP32[$181>>2]|0;
+ $183 = ($182|0)==(4);
+ $184 = $4;
+ $185 = $184&65535;
+ $186 = $185 << 16 >> 16;
+ $187 = ($186*14)|0;
+ $188 = $3;
+ $189 = ($186*24)|0;
+ $190 = $3;
+ $$sink15 = $183 ? $190 : $188;
+ $$sink12 = $183 ? $189 : $187;
+ $191 = ((($$sink15)) + 4572|0);
+ HEAP32[$191>>2] = $$sink12;
+ $192 = $3;
+ $193 = ((($192)) + 4600|0);
+ $194 = HEAP32[$193>>2]|0;
+ $195 = ($194|0)==(16);
+ $196 = $3;
+ do {
+ if ($195) {
+ $197 = ((($196)) + 4684|0);
+ HEAP32[$197>>2] = 10;
+ $198 = $3;
+ $$sink16$sink = 27728;$$sink19$sink = $198;
+ } else {
+ $199 = ((($196)) + 4600|0);
+ $200 = HEAP32[$199>>2]|0;
+ $201 = ($200|0)==(12);
+ $202 = $3;
+ $203 = ((($202)) + 4684|0);
+ if ($201) {
+ HEAP32[$203>>2] = 13;
+ $204 = $3;
+ $$sink16$sink = 27722;$$sink19$sink = $204;
+ break;
+ } else {
+ HEAP32[$203>>2] = 15;
+ $205 = $3;
+ $$sink16$sink = 27713;$$sink19$sink = $205;
+ break;
+ }
+ }
+ } while(0);
+ $206 = ((($$sink19$sink)) + 4716|0);
+ HEAP32[$206>>2] = $$sink16$sink;
+ $207 = $6;
+ STACKTOP = sp;return ($207|0);
+}
+function _silk_setup_complexity($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$sink$sink$sink$sink = 0, $$sink2$sink$sink$sink = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
+ var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
+ var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
+ var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
+ var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = 0;
+ $5 = $3;
+ $6 = ($5|0)<(2);
+ do {
+ if ($6) {
+ $7 = $2;
+ $8 = ((($7)) + 4668|0);
+ HEAP32[$8>>2] = 0;
+ $9 = $2;
+ $10 = ((($9)) + 4676|0);
+ HEAP32[$10>>2] = 52429;
+ $11 = $2;
+ $12 = ((($11)) + 4672|0);
+ HEAP32[$12>>2] = 6;
+ $13 = $2;
+ $14 = ((($13)) + 4660|0);
+ HEAP32[$14>>2] = 8;
+ $15 = $2;
+ $16 = ((($15)) + 4600|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = ($17*3)|0;
+ $19 = $2;
+ $20 = ((($19)) + 4624|0);
+ HEAP32[$20>>2] = $18;
+ $21 = $2;
+ $22 = ((($21)) + 4652|0);
+ HEAP32[$22>>2] = 1;
+ $23 = $2;
+ $24 = ((($23)) + 4656|0);
+ HEAP32[$24>>2] = 0;
+ $25 = $2;
+ $26 = ((($25)) + 4680|0);
+ HEAP32[$26>>2] = 1;
+ $27 = $2;
+ $28 = ((($27)) + 4692|0);
+ HEAP32[$28>>2] = 2;
+ $29 = $2;
+ $$sink$sink$sink$sink = 0;$$sink2$sink$sink$sink = $29;
+ } else {
+ $30 = $3;
+ $31 = ($30|0)<(4);
+ if ($31) {
+ $32 = $2;
+ $33 = ((($32)) + 4668|0);
+ HEAP32[$33>>2] = 1;
+ $34 = $2;
+ $35 = ((($34)) + 4676|0);
+ HEAP32[$35>>2] = 49807;
+ $36 = $2;
+ $37 = ((($36)) + 4672|0);
+ HEAP32[$37>>2] = 8;
+ $38 = $2;
+ $39 = ((($38)) + 4660|0);
+ HEAP32[$39>>2] = 10;
+ $40 = $2;
+ $41 = ((($40)) + 4600|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = ($42*5)|0;
+ $44 = $2;
+ $45 = ((($44)) + 4624|0);
+ HEAP32[$45>>2] = $43;
+ $46 = $2;
+ $47 = ((($46)) + 4652|0);
+ HEAP32[$47>>2] = 1;
+ $48 = $2;
+ $49 = ((($48)) + 4656|0);
+ HEAP32[$49>>2] = 0;
+ $50 = $2;
+ $51 = ((($50)) + 4680|0);
+ HEAP32[$51>>2] = 0;
+ $52 = $2;
+ $53 = ((($52)) + 4692|0);
+ HEAP32[$53>>2] = 4;
+ $54 = $2;
+ $$sink$sink$sink$sink = 0;$$sink2$sink$sink$sink = $54;
+ break;
+ }
+ $55 = $3;
+ $56 = ($55|0)<(6);
+ if ($56) {
+ $57 = $2;
+ $58 = ((($57)) + 4668|0);
+ HEAP32[$58>>2] = 1;
+ $59 = $2;
+ $60 = ((($59)) + 4676|0);
+ HEAP32[$60>>2] = 48497;
+ $61 = $2;
+ $62 = ((($61)) + 4672|0);
+ HEAP32[$62>>2] = 10;
+ $63 = $2;
+ $64 = ((($63)) + 4660|0);
+ HEAP32[$64>>2] = 12;
+ $65 = $2;
+ $66 = ((($65)) + 4600|0);
+ $67 = HEAP32[$66>>2]|0;
+ $68 = ($67*5)|0;
+ $69 = $2;
+ $70 = ((($69)) + 4624|0);
+ HEAP32[$70>>2] = $68;
+ $71 = $2;
+ $72 = ((($71)) + 4652|0);
+ HEAP32[$72>>2] = 2;
+ $73 = $2;
+ $74 = ((($73)) + 4656|0);
+ HEAP32[$74>>2] = 1;
+ $75 = $2;
+ $76 = ((($75)) + 4680|0);
+ HEAP32[$76>>2] = 0;
+ $77 = $2;
+ $78 = ((($77)) + 4692|0);
+ HEAP32[$78>>2] = 8;
+ $79 = $2;
+ $80 = ((($79)) + 4600|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = ($81*983)|0;
+ $83 = $2;
+ $$sink$sink$sink$sink = $82;$$sink2$sink$sink$sink = $83;
+ break;
+ }
+ $84 = $3;
+ $85 = ($84|0)<(8);
+ $86 = $2;
+ $87 = ((($86)) + 4668|0);
+ if ($85) {
+ HEAP32[$87>>2] = 1;
+ $88 = $2;
+ $89 = ((($88)) + 4676|0);
+ HEAP32[$89>>2] = 47186;
+ $90 = $2;
+ $91 = ((($90)) + 4672|0);
+ HEAP32[$91>>2] = 12;
+ $92 = $2;
+ $93 = ((($92)) + 4660|0);
+ HEAP32[$93>>2] = 14;
+ $94 = $2;
+ $95 = ((($94)) + 4600|0);
+ $96 = HEAP32[$95>>2]|0;
+ $97 = ($96*5)|0;
+ $98 = $2;
+ $99 = ((($98)) + 4624|0);
+ HEAP32[$99>>2] = $97;
+ $100 = $2;
+ $101 = ((($100)) + 4652|0);
+ HEAP32[$101>>2] = 3;
+ $102 = $2;
+ $103 = ((($102)) + 4656|0);
+ HEAP32[$103>>2] = 1;
+ $104 = $2;
+ $105 = ((($104)) + 4680|0);
+ HEAP32[$105>>2] = 0;
+ $106 = $2;
+ $107 = ((($106)) + 4692|0);
+ HEAP32[$107>>2] = 16;
+ $108 = $2;
+ $109 = ((($108)) + 4600|0);
+ $110 = HEAP32[$109>>2]|0;
+ $111 = ($110*983)|0;
+ $112 = $2;
+ $$sink$sink$sink$sink = $111;$$sink2$sink$sink$sink = $112;
+ break;
+ } else {
+ HEAP32[$87>>2] = 2;
+ $113 = $2;
+ $114 = ((($113)) + 4676|0);
+ HEAP32[$114>>2] = 45875;
+ $115 = $2;
+ $116 = ((($115)) + 4672|0);
+ HEAP32[$116>>2] = 16;
+ $117 = $2;
+ $118 = ((($117)) + 4660|0);
+ HEAP32[$118>>2] = 16;
+ $119 = $2;
+ $120 = ((($119)) + 4600|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = ($121*5)|0;
+ $123 = $2;
+ $124 = ((($123)) + 4624|0);
+ HEAP32[$124>>2] = $122;
+ $125 = $2;
+ $126 = ((($125)) + 4652|0);
+ HEAP32[$126>>2] = 4;
+ $127 = $2;
+ $128 = ((($127)) + 4656|0);
+ HEAP32[$128>>2] = 1;
+ $129 = $2;
+ $130 = ((($129)) + 4680|0);
+ HEAP32[$130>>2] = 0;
+ $131 = $2;
+ $132 = ((($131)) + 4692|0);
+ HEAP32[$132>>2] = 32;
+ $133 = $2;
+ $134 = ((($133)) + 4600|0);
+ $135 = HEAP32[$134>>2]|0;
+ $136 = ($135*983)|0;
+ $137 = $2;
+ $$sink$sink$sink$sink = $136;$$sink2$sink$sink$sink = $137;
+ break;
+ }
+ }
+ } while(0);
+ $138 = ((($$sink2$sink$sink$sink)) + 4704|0);
+ HEAP32[$138>>2] = $$sink$sink$sink$sink;
+ $139 = $2;
+ $140 = ((($139)) + 4672|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = $2;
+ $143 = ((($142)) + 4664|0);
+ $144 = HEAP32[$143>>2]|0;
+ $145 = (_silk_min_int($141,$144)|0);
+ $146 = $2;
+ $147 = ((($146)) + 4672|0);
+ HEAP32[$147>>2] = $145;
+ $148 = $2;
+ $149 = ((($148)) + 4600|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = ($150*5)|0;
+ $152 = $2;
+ $153 = ((($152)) + 4624|0);
+ $154 = HEAP32[$153>>2]|0;
+ $155 = $154<<1;
+ $156 = (($151) + ($155))|0;
+ $157 = $2;
+ $158 = ((($157)) + 4628|0);
+ HEAP32[$158>>2] = $156;
+ $159 = $3;
+ $160 = $2;
+ $161 = ((($160)) + 4648|0);
+ HEAP32[$161>>2] = $159;
+ $162 = $4;
+ STACKTOP = sp;return ($162|0);
+}
+function _silk_setup_LBRR($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$sink = 0, $$sink2 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
+ var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
+ var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = 0;
+ $7 = $2;
+ $8 = ((($7)) + 6124|0);
+ $9 = HEAP32[$8>>2]|0;
+ $4 = $9;
+ $10 = $2;
+ $11 = ((($10)) + 6124|0);
+ HEAP32[$11>>2] = 0;
+ $12 = $2;
+ $13 = ((($12)) + 6120|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ($14|0)!=(0);
+ if (!($15)) {
+ $79 = $5;
+ STACKTOP = sp;return ($79|0);
+ }
+ $16 = $2;
+ $17 = ((($16)) + 4640|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = ($18|0)>(0);
+ if (!($19)) {
+ $79 = $5;
+ STACKTOP = sp;return ($79|0);
+ }
+ $20 = $2;
+ $21 = ((($20)) + 4600|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = ($22|0)==(8);
+ do {
+ if ($23) {
+ $6 = 12000;
+ } else {
+ $24 = $2;
+ $25 = ((($24)) + 4600|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = ($26|0)==(12);
+ if ($27) {
+ $6 = 14000;
+ break;
+ } else {
+ $6 = 16000;
+ break;
+ }
+ }
+ } while(0);
+ $28 = $6;
+ $29 = $2;
+ $30 = ((($29)) + 4640|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = ($31|0)<(25);
+ if ($32) {
+ $33 = $2;
+ $34 = ((($33)) + 4640|0);
+ $35 = HEAP32[$34>>2]|0;
+ $37 = $35;
+ } else {
+ $37 = 25;
+ }
+ $36 = (125 - ($37))|0;
+ $38 = Math_imul($28, $36)|0;
+ $39 = $38 >> 16;
+ $40 = ($39*655)|0;
+ $41 = $6;
+ $42 = $2;
+ $43 = ((($42)) + 4640|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = ($44|0)<(25);
+ if ($45) {
+ $46 = $2;
+ $47 = ((($46)) + 4640|0);
+ $48 = HEAP32[$47>>2]|0;
+ $50 = $48;
+ } else {
+ $50 = 25;
+ }
+ $49 = (125 - ($50))|0;
+ $51 = Math_imul($41, $49)|0;
+ $52 = $51 & 65535;
+ $53 = ($52*655)|0;
+ $54 = $53 >> 16;
+ $55 = (($40) + ($54))|0;
+ $6 = $55;
+ $56 = $3;
+ $57 = $6;
+ $58 = ($56|0)>($57|0);
+ if (!($58)) {
+ $79 = $5;
+ STACKTOP = sp;return ($79|0);
+ }
+ $59 = $4;
+ $60 = ($59|0)==(0);
+ $61 = $2;
+ if ($60) {
+ $$sink = 7;$$sink2 = $61;
+ } else {
+ $62 = ((($61)) + 4640|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = $63 >> 16;
+ $65 = ($64*26214)|0;
+ $66 = $2;
+ $67 = ((($66)) + 4640|0);
+ $68 = HEAP32[$67>>2]|0;
+ $69 = $68 & 65535;
+ $70 = ($69*26214)|0;
+ $71 = $70 >> 16;
+ $72 = (($65) + ($71))|0;
+ $73 = (7 - ($72))|0;
+ $74 = (_silk_max_int_227($73,2)|0);
+ $75 = $2;
+ $$sink = $74;$$sink2 = $75;
+ }
+ $76 = ((($$sink2)) + 6128|0);
+ HEAP32[$76>>2] = $$sink;
+ $77 = $2;
+ $78 = ((($77)) + 6124|0);
+ HEAP32[$78>>2] = 1;
+ $79 = $5;
+ STACKTOP = sp;return ($79|0);
+}
+function _silk_max_int_227($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_min_int($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_float2short_array($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $5;
+ $8 = (($7) - 1)|0;
+ $6 = $8;
+ while(1) {
+ $9 = $6;
+ $10 = ($9|0)>=(0);
+ if (!($10)) {
+ break;
+ }
+ $11 = $4;
+ $12 = $6;
+ $13 = (($11) + ($12<<2)|0);
+ $14 = +HEAPF32[$13>>2];
+ $15 = (_lrintf($14)|0);
+ $16 = ($15|0)>(32767);
+ if ($16) {
+ $29 = 32767;
+ } else {
+ $17 = $4;
+ $18 = $6;
+ $19 = (($17) + ($18<<2)|0);
+ $20 = +HEAPF32[$19>>2];
+ $21 = (_lrintf($20)|0);
+ $22 = ($21|0)<(-32768);
+ if ($22) {
+ $29 = -32768;
+ } else {
+ $23 = $4;
+ $24 = $6;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = (_lrintf($26)|0);
+ $29 = $27;
+ }
+ }
+ $28 = $29&65535;
+ $30 = $3;
+ $31 = $6;
+ $32 = (($30) + ($31<<1)|0);
+ HEAP16[$32>>1] = $28;
+ $33 = $6;
+ $34 = (($33) + -1)|0;
+ $6 = $34;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_short2float_array($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $5;
+ $8 = (($7) - 1)|0;
+ $6 = $8;
+ while(1) {
+ $9 = $6;
+ $10 = ($9|0)>=(0);
+ if (!($10)) {
+ break;
+ }
+ $11 = $4;
+ $12 = $6;
+ $13 = (($11) + ($12<<1)|0);
+ $14 = HEAP16[$13>>1]|0;
+ $15 = (+($14<<16>>16));
+ $16 = $3;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ HEAPF32[$18>>2] = $15;
+ $19 = $6;
+ $20 = (($19) + -1)|0;
+ $6 = $20;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_lin2log($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $3 = 0, $4 = 0, $5 = 0;
+ var $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = sp + 4|0;
+ $3 = sp;
+ $1 = $0;
+ $4 = $1;
+ _silk_CLZ_FRAC($4,$2,$3);
+ $5 = HEAP32[$2>>2]|0;
+ $6 = (31 - ($5))|0;
+ $7 = $6 << 7;
+ $8 = HEAP32[$3>>2]|0;
+ $9 = HEAP32[$3>>2]|0;
+ $10 = HEAP32[$3>>2]|0;
+ $11 = (128 - ($10))|0;
+ $12 = Math_imul($9, $11)|0;
+ $13 = $12 >> 16;
+ $14 = ($13*179)|0;
+ $15 = HEAP32[$3>>2]|0;
+ $16 = HEAP32[$3>>2]|0;
+ $17 = (128 - ($16))|0;
+ $18 = Math_imul($15, $17)|0;
+ $19 = $18 & 65535;
+ $20 = ($19*179)|0;
+ $21 = $20 >> 16;
+ $22 = (($14) + ($21))|0;
+ $23 = (($8) + ($22))|0;
+ $24 = (($7) + ($23))|0;
+ STACKTOP = sp;return ($24|0);
+}
+function _silk_CLZ_FRAC($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $3;
+ $8 = (_silk_CLZ32_230($7)|0);
+ $6 = $8;
+ $9 = $6;
+ $10 = $4;
+ HEAP32[$10>>2] = $9;
+ $11 = $3;
+ $12 = $6;
+ $13 = (24 - ($12))|0;
+ $14 = (_silk_ROR32($11,$13)|0);
+ $15 = $14 & 127;
+ $16 = $5;
+ HEAP32[$16>>2] = $15;
+ STACKTOP = sp;return;
+}
+function _silk_CLZ32_230($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_ROR32($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $8 = $3;
+ $5 = $8;
+ $9 = $4;
+ $6 = $9;
+ $10 = $4;
+ $11 = (0 - ($10))|0;
+ $7 = $11;
+ $12 = $4;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $14 = $3;
+ $2 = $14;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ $15 = $4;
+ $16 = ($15|0)<(0);
+ $17 = $5;
+ if ($16) {
+ $18 = $7;
+ $19 = $17 << $18;
+ $20 = $5;
+ $21 = $7;
+ $22 = (32 - ($21))|0;
+ $23 = $20 >>> $22;
+ $24 = $19 | $23;
+ $2 = $24;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ } else {
+ $25 = $6;
+ $26 = (32 - ($25))|0;
+ $27 = $17 << $26;
+ $28 = $5;
+ $29 = $6;
+ $30 = $28 >>> $29;
+ $31 = $27 | $30;
+ $2 = $31;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ return (0)|0;
+}
+function _silk_log2lin($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0;
+ var $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0;
+ var $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $5 = $2;
+ $6 = ($5|0)<(0);
+ if ($6) {
+ $1 = 0;
+ $73 = $1;
+ STACKTOP = sp;return ($73|0);
+ }
+ $7 = $2;
+ $8 = ($7|0)>=(3967);
+ if ($8) {
+ $1 = 2147483647;
+ $73 = $1;
+ STACKTOP = sp;return ($73|0);
+ }
+ $9 = $2;
+ $10 = $9 >> 7;
+ $11 = 1 << $10;
+ $3 = $11;
+ $12 = $2;
+ $13 = $12 & 127;
+ $4 = $13;
+ $14 = $2;
+ $15 = ($14|0)<(2048);
+ $16 = $3;
+ $17 = $3;
+ if ($15) {
+ $18 = $4;
+ $19 = $4;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = $4;
+ $23 = (128 - ($22))|0;
+ $24 = $23&65535;
+ $25 = $24 << 16 >> 16;
+ $26 = Math_imul($21, $25)|0;
+ $27 = $26 >> 16;
+ $28 = Math_imul($27, -174)|0;
+ $29 = $4;
+ $30 = $29&65535;
+ $31 = $30 << 16 >> 16;
+ $32 = $4;
+ $33 = (128 - ($32))|0;
+ $34 = $33&65535;
+ $35 = $34 << 16 >> 16;
+ $36 = Math_imul($31, $35)|0;
+ $37 = $36 & 65535;
+ $38 = Math_imul($37, -174)|0;
+ $39 = $38 >> 16;
+ $40 = (($28) + ($39))|0;
+ $41 = (($18) + ($40))|0;
+ $42 = Math_imul($17, $41)|0;
+ $43 = $42 >> 7;
+ $44 = (($16) + ($43))|0;
+ $3 = $44;
+ } else {
+ $45 = $17 >> 7;
+ $46 = $4;
+ $47 = $4;
+ $48 = $47&65535;
+ $49 = $48 << 16 >> 16;
+ $50 = $4;
+ $51 = (128 - ($50))|0;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($49, $53)|0;
+ $55 = $54 >> 16;
+ $56 = Math_imul($55, -174)|0;
+ $57 = $4;
+ $58 = $57&65535;
+ $59 = $58 << 16 >> 16;
+ $60 = $4;
+ $61 = (128 - ($60))|0;
+ $62 = $61&65535;
+ $63 = $62 << 16 >> 16;
+ $64 = Math_imul($59, $63)|0;
+ $65 = $64 & 65535;
+ $66 = Math_imul($65, -174)|0;
+ $67 = $66 >> 16;
+ $68 = (($56) + ($67))|0;
+ $69 = (($46) + ($68))|0;
+ $70 = Math_imul($45, $69)|0;
+ $71 = (($16) + ($70))|0;
+ $3 = $71;
+ }
+ $72 = $3;
+ $1 = $72;
+ $73 = $1;
+ STACKTOP = sp;return ($73|0);
+}
+function _silk_resampler_init($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$sink = 0, $$sink13 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
+ var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
+ var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
+ var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0;
+ var $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0;
+ var $225 = 0, $226 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0;
+ var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0;
+ var $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
+ var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0;
+ var $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond11 = 0, $or$cond19 = 0, $or$cond21 = 0, $or$cond23 = 0, $or$cond25 = 0, $or$cond3 = 0, $or$cond5 = 0, $or$cond7 = 0, $or$cond9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $10 = $5;
+ _memset(($10|0),0,300)|0;
+ $11 = $8;
+ $12 = ($11|0)!=(0);
+ $13 = $6;
+ $14 = ($13|0)!=(8000);
+ $15 = $6;
+ $16 = ($15|0)!=(12000);
+ $or$cond = $14 & $16;
+ $17 = $6;
+ $18 = ($17|0)!=(16000);
+ $or$cond3 = $or$cond & $18;
+ do {
+ if ($12) {
+ $19 = $6;
+ $20 = ($19|0)!=(24000);
+ $or$cond5 = $or$cond3 & $20;
+ $21 = $6;
+ $22 = ($21|0)!=(48000);
+ $or$cond7 = $or$cond5 & $22;
+ if (!($or$cond7)) {
+ $23 = $7;
+ $24 = ($23|0)!=(8000);
+ $25 = $7;
+ $26 = ($25|0)!=(12000);
+ $or$cond9 = $24 & $26;
+ $27 = $7;
+ $28 = ($27|0)!=(16000);
+ $or$cond11 = $or$cond9 & $28;
+ if (!($or$cond11)) {
+ $29 = $6;
+ $30 = $29 >> 12;
+ $31 = $6;
+ $32 = ($31|0)>(16000);
+ $33 = $32&1;
+ $34 = (($30) - ($33))|0;
+ $35 = $6;
+ $36 = ($35|0)>(24000);
+ $37 = $36&1;
+ $38 = $34 >> $37;
+ $39 = (($38) - 1)|0;
+ $40 = (28905 + (($39*3)|0)|0);
+ $41 = $7;
+ $42 = $41 >> 12;
+ $43 = $7;
+ $44 = ($43|0)>(16000);
+ $45 = $44&1;
+ $46 = (($42) - ($45))|0;
+ $47 = $7;
+ $48 = ($47|0)>(24000);
+ $49 = $48&1;
+ $50 = $46 >> $49;
+ $51 = (($50) - 1)|0;
+ $52 = (($40) + ($51)|0);
+ $53 = HEAP8[$52>>0]|0;
+ $54 = $53 << 24 >> 24;
+ $55 = $5;
+ $$sink = $54;$$sink13 = $55;
+ break;
+ }
+ }
+ $4 = -1;
+ $226 = $4;
+ STACKTOP = sp;return ($226|0);
+ } else {
+ if (!($or$cond3)) {
+ $56 = $7;
+ $57 = ($56|0)!=(8000);
+ $58 = $7;
+ $59 = ($58|0)!=(12000);
+ $or$cond19 = $57 & $59;
+ $60 = $7;
+ $61 = ($60|0)!=(16000);
+ $or$cond21 = $or$cond19 & $61;
+ $62 = $7;
+ $63 = ($62|0)!=(24000);
+ $or$cond23 = $or$cond21 & $63;
+ $64 = $7;
+ $65 = ($64|0)!=(48000);
+ $or$cond25 = $or$cond23 & $65;
+ if (!($or$cond25)) {
+ $66 = $6;
+ $67 = $66 >> 12;
+ $68 = $6;
+ $69 = ($68|0)>(16000);
+ $70 = $69&1;
+ $71 = (($67) - ($70))|0;
+ $72 = $6;
+ $73 = ($72|0)>(24000);
+ $74 = $73&1;
+ $75 = $71 >> $74;
+ $76 = (($75) - 1)|0;
+ $77 = (28920 + (($76*5)|0)|0);
+ $78 = $7;
+ $79 = $78 >> 12;
+ $80 = $7;
+ $81 = ($80|0)>(16000);
+ $82 = $81&1;
+ $83 = (($79) - ($82))|0;
+ $84 = $7;
+ $85 = ($84|0)>(24000);
+ $86 = $85&1;
+ $87 = $83 >> $86;
+ $88 = (($87) - 1)|0;
+ $89 = (($77) + ($88)|0);
+ $90 = HEAP8[$89>>0]|0;
+ $91 = $90 << 24 >> 24;
+ $92 = $5;
+ $$sink = $91;$$sink13 = $92;
+ break;
+ }
+ }
+ $4 = -1;
+ $226 = $4;
+ STACKTOP = sp;return ($226|0);
+ }
+ } while(0);
+ $93 = ((($$sink13)) + 292|0);
+ HEAP32[$93>>2] = $$sink;
+ $94 = $6;
+ $95 = (($94|0) / 1000)&-1;
+ $96 = $5;
+ $97 = ((($96)) + 284|0);
+ HEAP32[$97>>2] = $95;
+ $98 = $7;
+ $99 = (($98|0) / 1000)&-1;
+ $100 = $5;
+ $101 = ((($100)) + 288|0);
+ HEAP32[$101>>2] = $99;
+ $102 = $5;
+ $103 = ((($102)) + 284|0);
+ $104 = HEAP32[$103>>2]|0;
+ $105 = ($104*10)|0;
+ $106 = $5;
+ $107 = ((($106)) + 268|0);
+ HEAP32[$107>>2] = $105;
+ $9 = 0;
+ $108 = $7;
+ $109 = $6;
+ $110 = ($108|0)>($109|0);
+ $111 = $7;
+ $112 = $6;
+ do {
+ if ($110) {
+ $113 = $112<<1;
+ $114 = ($111|0)==($113|0);
+ $115 = $5;
+ $116 = ((($115)) + 264|0);
+ if ($114) {
+ HEAP32[$116>>2] = 1;
+ break;
+ } else {
+ HEAP32[$116>>2] = 2;
+ $9 = 1;
+ break;
+ }
+ } else {
+ $117 = ($111|0)<($112|0);
+ $118 = $5;
+ $119 = ((($118)) + 264|0);
+ if (!($117)) {
+ HEAP32[$119>>2] = 0;
+ break;
+ }
+ HEAP32[$119>>2] = 3;
+ $120 = $7;
+ $121 = $120<<2;
+ $122 = $6;
+ $123 = ($122*3)|0;
+ $124 = ($121|0)==($123|0);
+ if ($124) {
+ $125 = $5;
+ $126 = ((($125)) + 280|0);
+ HEAP32[$126>>2] = 3;
+ $127 = $5;
+ $128 = ((($127)) + 276|0);
+ HEAP32[$128>>2] = 18;
+ $129 = $5;
+ $130 = ((($129)) + 296|0);
+ HEAP32[$130>>2] = 25024;
+ break;
+ }
+ $131 = $7;
+ $132 = ($131*3)|0;
+ $133 = $6;
+ $134 = $133<<1;
+ $135 = ($132|0)==($134|0);
+ if ($135) {
+ $136 = $5;
+ $137 = ((($136)) + 280|0);
+ HEAP32[$137>>2] = 2;
+ $138 = $5;
+ $139 = ((($138)) + 276|0);
+ HEAP32[$139>>2] = 18;
+ $140 = $5;
+ $141 = ((($140)) + 296|0);
+ HEAP32[$141>>2] = 25082;
+ break;
+ }
+ $142 = $7;
+ $143 = $142<<1;
+ $144 = $6;
+ $145 = ($143|0)==($144|0);
+ if ($145) {
+ $146 = $5;
+ $147 = ((($146)) + 280|0);
+ HEAP32[$147>>2] = 1;
+ $148 = $5;
+ $149 = ((($148)) + 276|0);
+ HEAP32[$149>>2] = 24;
+ $150 = $5;
+ $151 = ((($150)) + 296|0);
+ HEAP32[$151>>2] = 25122;
+ break;
+ }
+ $152 = $7;
+ $153 = ($152*3)|0;
+ $154 = $6;
+ $155 = ($153|0)==($154|0);
+ if ($155) {
+ $156 = $5;
+ $157 = ((($156)) + 280|0);
+ HEAP32[$157>>2] = 1;
+ $158 = $5;
+ $159 = ((($158)) + 276|0);
+ HEAP32[$159>>2] = 36;
+ $160 = $5;
+ $161 = ((($160)) + 296|0);
+ HEAP32[$161>>2] = 25150;
+ break;
+ }
+ $162 = $7;
+ $163 = $162<<2;
+ $164 = $6;
+ $165 = ($163|0)==($164|0);
+ if ($165) {
+ $166 = $5;
+ $167 = ((($166)) + 280|0);
+ HEAP32[$167>>2] = 1;
+ $168 = $5;
+ $169 = ((($168)) + 276|0);
+ HEAP32[$169>>2] = 36;
+ $170 = $5;
+ $171 = ((($170)) + 296|0);
+ HEAP32[$171>>2] = 25190;
+ break;
+ }
+ $172 = $7;
+ $173 = ($172*6)|0;
+ $174 = $6;
+ $175 = ($173|0)==($174|0);
+ if ($175) {
+ $176 = $5;
+ $177 = ((($176)) + 280|0);
+ HEAP32[$177>>2] = 1;
+ $178 = $5;
+ $179 = ((($178)) + 276|0);
+ HEAP32[$179>>2] = 36;
+ $180 = $5;
+ $181 = ((($180)) + 296|0);
+ HEAP32[$181>>2] = 25230;
+ break;
+ }
+ $4 = -1;
+ $226 = $4;
+ STACKTOP = sp;return ($226|0);
+ }
+ } while(0);
+ $182 = $6;
+ $183 = $9;
+ $184 = (14 + ($183))|0;
+ $185 = $182 << $184;
+ $186 = $7;
+ $187 = (($185|0) / ($186|0))&-1;
+ $188 = $187 << 2;
+ $189 = $5;
+ $190 = ((($189)) + 272|0);
+ HEAP32[$190>>2] = $188;
+ while(1) {
+ $191 = $5;
+ $192 = ((($191)) + 272|0);
+ $193 = HEAP32[$192>>2]|0;
+ $194 = $193 >> 16;
+ $195 = $7;
+ $196 = $195&65535;
+ $197 = $196 << 16 >> 16;
+ $198 = Math_imul($194, $197)|0;
+ $199 = $5;
+ $200 = ((($199)) + 272|0);
+ $201 = HEAP32[$200>>2]|0;
+ $202 = $201 & 65535;
+ $203 = $7;
+ $204 = $203&65535;
+ $205 = $204 << 16 >> 16;
+ $206 = Math_imul($202, $205)|0;
+ $207 = $206 >> 16;
+ $208 = (($198) + ($207))|0;
+ $209 = $5;
+ $210 = ((($209)) + 272|0);
+ $211 = HEAP32[$210>>2]|0;
+ $212 = $7;
+ $213 = $212 >> 15;
+ $214 = (($213) + 1)|0;
+ $215 = $214 >> 1;
+ $216 = Math_imul($211, $215)|0;
+ $217 = (($208) + ($216))|0;
+ $218 = $6;
+ $219 = $9;
+ $220 = $218 << $219;
+ $221 = ($217|0)<($220|0);
+ if (!($221)) {
+ break;
+ }
+ $222 = $5;
+ $223 = ((($222)) + 272|0);
+ $224 = HEAP32[$223>>2]|0;
+ $225 = (($224) + 1)|0;
+ HEAP32[$223>>2] = $225;
+ }
+ $4 = 0;
+ $226 = $4;
+ STACKTOP = sp;return ($226|0);
+}
+function _silk_resampler($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
+ var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
+ var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
+ var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0;
+ var $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0;
+ var $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $4;
+ $10 = ((($9)) + 284|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = $4;
+ $13 = ((($12)) + 292|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = (($11) - ($14))|0;
+ $8 = $15;
+ $16 = $4;
+ $17 = ((($16)) + 168|0);
+ $18 = $4;
+ $19 = ((($18)) + 292|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = (($17) + ($20<<1)|0);
+ $22 = $6;
+ $23 = $8;
+ $24 = $23<<1;
+ _memcpy(($21|0),($22|0),($24|0))|0;
+ $25 = $4;
+ $26 = ((($25)) + 264|0);
+ $27 = HEAP32[$26>>2]|0;
+ switch ($27|0) {
+ case 1: {
+ $28 = $4;
+ $29 = $5;
+ $30 = $4;
+ $31 = ((($30)) + 168|0);
+ $32 = $4;
+ $33 = ((($32)) + 284|0);
+ $34 = HEAP32[$33>>2]|0;
+ _silk_resampler_private_up2_HQ_wrapper($28,$29,$31,$34);
+ $35 = $4;
+ $36 = $5;
+ $37 = $4;
+ $38 = ((($37)) + 288|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = (($36) + ($39<<1)|0);
+ $41 = $6;
+ $42 = $8;
+ $43 = (($41) + ($42<<1)|0);
+ $44 = $7;
+ $45 = $4;
+ $46 = ((($45)) + 284|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = (($44) - ($47))|0;
+ _silk_resampler_private_up2_HQ_wrapper($35,$40,$43,$48);
+ break;
+ }
+ case 2: {
+ $49 = $4;
+ $50 = $5;
+ $51 = $4;
+ $52 = ((($51)) + 168|0);
+ $53 = $4;
+ $54 = ((($53)) + 284|0);
+ $55 = HEAP32[$54>>2]|0;
+ _silk_resampler_private_IIR_FIR($49,$50,$52,$55);
+ $56 = $4;
+ $57 = $5;
+ $58 = $4;
+ $59 = ((($58)) + 288|0);
+ $60 = HEAP32[$59>>2]|0;
+ $61 = (($57) + ($60<<1)|0);
+ $62 = $6;
+ $63 = $8;
+ $64 = (($62) + ($63<<1)|0);
+ $65 = $7;
+ $66 = $4;
+ $67 = ((($66)) + 284|0);
+ $68 = HEAP32[$67>>2]|0;
+ $69 = (($65) - ($68))|0;
+ _silk_resampler_private_IIR_FIR($56,$61,$64,$69);
+ break;
+ }
+ case 3: {
+ $70 = $4;
+ $71 = $5;
+ $72 = $4;
+ $73 = ((($72)) + 168|0);
+ $74 = $4;
+ $75 = ((($74)) + 284|0);
+ $76 = HEAP32[$75>>2]|0;
+ _silk_resampler_private_down_FIR($70,$71,$73,$76);
+ $77 = $4;
+ $78 = $5;
+ $79 = $4;
+ $80 = ((($79)) + 288|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = (($78) + ($81<<1)|0);
+ $83 = $6;
+ $84 = $8;
+ $85 = (($83) + ($84<<1)|0);
+ $86 = $7;
+ $87 = $4;
+ $88 = ((($87)) + 284|0);
+ $89 = HEAP32[$88>>2]|0;
+ $90 = (($86) - ($89))|0;
+ _silk_resampler_private_down_FIR($77,$82,$85,$90);
+ break;
+ }
+ default: {
+ $91 = $5;
+ $92 = $4;
+ $93 = ((($92)) + 168|0);
+ $94 = $4;
+ $95 = ((($94)) + 284|0);
+ $96 = HEAP32[$95>>2]|0;
+ $97 = $96<<1;
+ _memcpy(($91|0),($93|0),($97|0))|0;
+ $98 = $5;
+ $99 = $4;
+ $100 = ((($99)) + 288|0);
+ $101 = HEAP32[$100>>2]|0;
+ $102 = (($98) + ($101<<1)|0);
+ $103 = $6;
+ $104 = $8;
+ $105 = (($103) + ($104<<1)|0);
+ $106 = $7;
+ $107 = $4;
+ $108 = ((($107)) + 284|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = (($106) - ($109))|0;
+ $111 = $110<<1;
+ _memcpy(($102|0),($105|0),($111|0))|0;
+ }
+ }
+ $112 = $4;
+ $113 = ((($112)) + 168|0);
+ $114 = $6;
+ $115 = $7;
+ $116 = $4;
+ $117 = ((($116)) + 292|0);
+ $118 = HEAP32[$117>>2]|0;
+ $119 = (($115) - ($118))|0;
+ $120 = (($114) + ($119<<1)|0);
+ $121 = $4;
+ $122 = ((($121)) + 292|0);
+ $123 = HEAP32[$122>>2]|0;
+ $124 = $123<<1;
+ _memcpy(($113|0),($120|0),($124|0))|0;
+ STACKTOP = sp;return 0;
+}
+function _silk_resampler_private_down_FIR($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$alloca_mul = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $14 = $4;
+ $8 = $14;
+ $15 = $8;
+ $16 = ((($15)) + 268|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $8;
+ $19 = ((($18)) + 276|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = (($17) + ($20))|0;
+ $22 = (_llvm_stacksave()|0);
+ $13 = $22;
+ $$alloca_mul = $21<<2;
+ $23 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $24 = $8;
+ $25 = ((($24)) + 24|0);
+ $26 = $8;
+ $27 = ((($26)) + 276|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = $28<<2;
+ _memcpy(($23|0),($25|0),($29|0))|0;
+ $30 = $8;
+ $31 = ((($30)) + 296|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = ((($32)) + 4|0);
+ $12 = $33;
+ $34 = $8;
+ $35 = ((($34)) + 272|0);
+ $36 = HEAP32[$35>>2]|0;
+ $11 = $36;
+ while(1) {
+ $37 = $7;
+ $38 = $8;
+ $39 = ((($38)) + 268|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = ($37|0)<($40|0);
+ if ($41) {
+ $42 = $7;
+ $46 = $42;
+ } else {
+ $43 = $8;
+ $44 = ((($43)) + 268|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = $45;
+ }
+ $9 = $46;
+ $47 = $8;
+ $48 = $8;
+ $49 = ((($48)) + 276|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = (($23) + ($50<<2)|0);
+ $52 = $6;
+ $53 = $8;
+ $54 = ((($53)) + 296|0);
+ $55 = HEAP32[$54>>2]|0;
+ $56 = $9;
+ _silk_resampler_private_AR2($47,$51,$52,$55,$56);
+ $57 = $9;
+ $58 = $57 << 16;
+ $10 = $58;
+ $59 = $5;
+ $60 = $12;
+ $61 = $8;
+ $62 = ((($61)) + 276|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = $8;
+ $65 = ((($64)) + 280|0);
+ $66 = HEAP32[$65>>2]|0;
+ $67 = $10;
+ $68 = $11;
+ $69 = (_silk_resampler_private_down_FIR_INTERPOL($59,$23,$60,$63,$66,$67,$68)|0);
+ $5 = $69;
+ $70 = $9;
+ $71 = $6;
+ $72 = (($71) + ($70<<1)|0);
+ $6 = $72;
+ $73 = $9;
+ $74 = $7;
+ $75 = (($74) - ($73))|0;
+ $7 = $75;
+ $76 = $7;
+ $77 = ($76|0)>(1);
+ if (!($77)) {
+ break;
+ }
+ $78 = $9;
+ $79 = (($23) + ($78<<2)|0);
+ $80 = $8;
+ $81 = ((($80)) + 276|0);
+ $82 = HEAP32[$81>>2]|0;
+ $83 = $82<<2;
+ _memcpy(($23|0),($79|0),($83|0))|0;
+ }
+ $84 = $8;
+ $85 = ((($84)) + 24|0);
+ $86 = $9;
+ $87 = (($23) + ($86<<2)|0);
+ $88 = $8;
+ $89 = ((($88)) + 276|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = $90<<2;
+ _memcpy(($85|0),($87|0),($91|0))|0;
+ $92 = $13;
+ _llvm_stackrestore(($92|0));
+ STACKTOP = sp;return;
+}
+function _silk_resampler_private_down_FIR_INTERPOL($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0, $1013 = 0, $1014 = 0, $1015 = 0, $1016 = 0;
+ var $1017 = 0, $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0, $1029 = 0, $103 = 0, $1030 = 0, $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0;
+ var $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0, $105 = 0, $1050 = 0, $1051 = 0, $1052 = 0;
+ var $1053 = 0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1065 = 0, $1066 = 0, $1067 = 0, $1068 = 0, $1069 = 0, $107 = 0, $1070 = 0;
+ var $1071 = 0, $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0, $1086 = 0, $1087 = 0, $1088 = 0, $1089 = 0;
+ var $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0, $11 = 0, $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0, $1103 = 0, $1104 = 0, $1105 = 0, $1106 = 0;
+ var $1107 = 0, $1108 = 0, $1109 = 0, $111 = 0, $1110 = 0, $1111 = 0, $1112 = 0, $1113 = 0, $1114 = 0, $1115 = 0, $1116 = 0, $1117 = 0, $1118 = 0, $1119 = 0, $112 = 0, $1120 = 0, $1121 = 0, $1122 = 0, $1123 = 0, $1124 = 0;
+ var $1125 = 0, $1126 = 0, $1127 = 0, $1128 = 0, $1129 = 0, $113 = 0, $1130 = 0, $1131 = 0, $1132 = 0, $1133 = 0, $1134 = 0, $1135 = 0, $1136 = 0, $1137 = 0, $1138 = 0, $1139 = 0, $114 = 0, $1140 = 0, $1141 = 0, $1142 = 0;
+ var $1143 = 0, $1144 = 0, $1145 = 0, $1146 = 0, $1147 = 0, $1148 = 0, $1149 = 0, $115 = 0, $1150 = 0, $1151 = 0, $1152 = 0, $1153 = 0, $1154 = 0, $1155 = 0, $1156 = 0, $1157 = 0, $1158 = 0, $1159 = 0, $116 = 0, $1160 = 0;
+ var $1161 = 0, $1162 = 0, $1163 = 0, $1164 = 0, $1165 = 0, $1166 = 0, $1167 = 0, $1168 = 0, $1169 = 0, $117 = 0, $1170 = 0, $1171 = 0, $1172 = 0, $1173 = 0, $1174 = 0, $1175 = 0, $1176 = 0, $1177 = 0, $1178 = 0, $1179 = 0;
+ var $118 = 0, $1180 = 0, $1181 = 0, $1182 = 0, $1183 = 0, $1184 = 0, $1185 = 0, $1186 = 0, $1187 = 0, $1188 = 0, $1189 = 0, $119 = 0, $1190 = 0, $1191 = 0, $1192 = 0, $1193 = 0, $1194 = 0, $1195 = 0, $1196 = 0, $1197 = 0;
+ var $1198 = 0, $1199 = 0, $12 = 0, $120 = 0, $1200 = 0, $1201 = 0, $1202 = 0, $1203 = 0, $1204 = 0, $1205 = 0, $1206 = 0, $1207 = 0, $1208 = 0, $1209 = 0, $121 = 0, $1210 = 0, $1211 = 0, $1212 = 0, $1213 = 0, $1214 = 0;
+ var $1215 = 0, $1216 = 0, $1217 = 0, $1218 = 0, $1219 = 0, $122 = 0, $1220 = 0, $1221 = 0, $1222 = 0, $1223 = 0, $1224 = 0, $1225 = 0, $1226 = 0, $1227 = 0, $1228 = 0, $1229 = 0, $123 = 0, $1230 = 0, $1231 = 0, $1232 = 0;
+ var $1233 = 0, $1234 = 0, $1235 = 0, $1236 = 0, $1237 = 0, $1238 = 0, $1239 = 0, $124 = 0, $1240 = 0, $1241 = 0, $1242 = 0, $1243 = 0, $1244 = 0, $1245 = 0, $1246 = 0, $1247 = 0, $1248 = 0, $1249 = 0, $125 = 0, $1250 = 0;
+ var $1251 = 0, $1252 = 0, $1253 = 0, $1254 = 0, $1255 = 0, $1256 = 0, $1257 = 0, $1258 = 0, $1259 = 0, $126 = 0, $1260 = 0, $1261 = 0, $1262 = 0, $1263 = 0, $1264 = 0, $1265 = 0, $1266 = 0, $1267 = 0, $1268 = 0, $1269 = 0;
+ var $127 = 0, $1270 = 0, $1271 = 0, $1272 = 0, $1273 = 0, $1274 = 0, $1275 = 0, $1276 = 0, $1277 = 0, $1278 = 0, $1279 = 0, $128 = 0, $1280 = 0, $1281 = 0, $1282 = 0, $1283 = 0, $1284 = 0, $1285 = 0, $1286 = 0, $1287 = 0;
+ var $1288 = 0, $1289 = 0, $129 = 0, $1290 = 0, $1291 = 0, $1292 = 0, $1293 = 0, $1294 = 0, $1295 = 0, $1296 = 0, $1297 = 0, $1298 = 0, $1299 = 0, $13 = 0, $130 = 0, $1300 = 0, $1301 = 0, $1302 = 0, $1303 = 0, $1304 = 0;
+ var $1305 = 0, $1306 = 0, $1307 = 0, $1308 = 0, $1309 = 0, $131 = 0, $1310 = 0, $1311 = 0, $1312 = 0, $1313 = 0, $1314 = 0, $1315 = 0, $1316 = 0, $1317 = 0, $1318 = 0, $1319 = 0, $132 = 0, $1320 = 0, $1321 = 0, $1322 = 0;
+ var $1323 = 0, $1324 = 0, $1325 = 0, $1326 = 0, $1327 = 0, $1328 = 0, $1329 = 0, $133 = 0, $1330 = 0, $1331 = 0, $1332 = 0, $1333 = 0, $1334 = 0, $1335 = 0, $1336 = 0, $1337 = 0, $1338 = 0, $1339 = 0, $134 = 0, $1340 = 0;
+ var $1341 = 0, $1342 = 0, $1343 = 0, $1344 = 0, $1345 = 0, $1346 = 0, $1347 = 0, $1348 = 0, $1349 = 0, $135 = 0, $1350 = 0, $1351 = 0, $1352 = 0, $1353 = 0, $1354 = 0, $1355 = 0, $1356 = 0, $1357 = 0, $1358 = 0, $1359 = 0;
+ var $136 = 0, $1360 = 0, $1361 = 0, $1362 = 0, $1363 = 0, $1364 = 0, $1365 = 0, $1366 = 0, $1367 = 0, $1368 = 0, $1369 = 0, $137 = 0, $1370 = 0, $1371 = 0, $1372 = 0, $1373 = 0, $1374 = 0, $1375 = 0, $1376 = 0, $1377 = 0;
+ var $1378 = 0, $1379 = 0, $138 = 0, $1380 = 0, $1381 = 0, $1382 = 0, $1383 = 0, $1384 = 0, $1385 = 0, $1386 = 0, $1387 = 0, $1388 = 0, $1389 = 0, $139 = 0, $1390 = 0, $1391 = 0, $1392 = 0, $1393 = 0, $1394 = 0, $1395 = 0;
+ var $1396 = 0, $1397 = 0, $1398 = 0, $1399 = 0, $14 = 0, $140 = 0, $1400 = 0, $1401 = 0, $1402 = 0, $1403 = 0, $1404 = 0, $1405 = 0, $1406 = 0, $1407 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0;
+ var $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0;
+ var $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0;
+ var $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0;
+ var $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0;
+ var $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0;
+ var $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0;
+ var $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0;
+ var $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0;
+ var $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0;
+ var $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0;
+ var $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0;
+ var $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0;
+ var $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0;
+ var $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0;
+ var $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0;
+ var $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0;
+ var $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0;
+ var $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0;
+ var $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0;
+ var $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0;
+ var $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0;
+ var $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0;
+ var $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0;
+ var $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0;
+ var $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0;
+ var $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0;
+ var $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0;
+ var $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0;
+ var $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0;
+ var $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0;
+ var $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0;
+ var $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0;
+ var $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0;
+ var $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0;
+ var $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0;
+ var $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $8 = 0;
+ var $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0;
+ var $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0;
+ var $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0;
+ var $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0;
+ var $872 = 0, $873 = 0, $874 = 0, $875 = 0, $876 = 0, $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0;
+ var $890 = 0, $891 = 0, $892 = 0, $893 = 0, $894 = 0, $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0;
+ var $908 = 0, $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0;
+ var $926 = 0, $927 = 0, $928 = 0, $929 = 0, $93 = 0, $930 = 0, $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0;
+ var $944 = 0, $945 = 0, $946 = 0, $947 = 0, $948 = 0, $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0;
+ var $962 = 0, $963 = 0, $964 = 0, $965 = 0, $966 = 0, $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0;
+ var $980 = 0, $981 = 0, $982 = 0, $983 = 0, $984 = 0, $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0;
+ var $999 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $19 = $10;
+ switch ($19|0) {
+ case 18: {
+ $14 = 0;
+ while(1) {
+ $20 = $14;
+ $21 = $12;
+ $22 = ($20|0)<($21|0);
+ if (!($22)) {
+ break;
+ }
+ $23 = $8;
+ $24 = $14;
+ $25 = $24 >> 16;
+ $26 = (($23) + ($25<<2)|0);
+ $16 = $26;
+ $27 = $14;
+ $28 = $27 & 65535;
+ $29 = $28 >> 16;
+ $30 = $11;
+ $31 = $30&65535;
+ $32 = $31 << 16 >> 16;
+ $33 = Math_imul($29, $32)|0;
+ $34 = $14;
+ $35 = $34 & 65535;
+ $36 = $35 & 65535;
+ $37 = $11;
+ $38 = $37&65535;
+ $39 = $38 << 16 >> 16;
+ $40 = Math_imul($36, $39)|0;
+ $41 = $40 >> 16;
+ $42 = (($33) + ($41))|0;
+ $17 = $42;
+ $43 = $9;
+ $44 = $17;
+ $45 = ($44*9)|0;
+ $46 = (($43) + ($45<<1)|0);
+ $18 = $46;
+ $47 = $16;
+ $48 = HEAP32[$47>>2]|0;
+ $49 = $48 >> 16;
+ $50 = $18;
+ $51 = HEAP16[$50>>1]|0;
+ $52 = $51 << 16 >> 16;
+ $53 = Math_imul($49, $52)|0;
+ $54 = $16;
+ $55 = HEAP32[$54>>2]|0;
+ $56 = $55 & 65535;
+ $57 = $18;
+ $58 = HEAP16[$57>>1]|0;
+ $59 = $58 << 16 >> 16;
+ $60 = Math_imul($56, $59)|0;
+ $61 = $60 >> 16;
+ $62 = (($53) + ($61))|0;
+ $15 = $62;
+ $63 = $15;
+ $64 = $16;
+ $65 = ((($64)) + 4|0);
+ $66 = HEAP32[$65>>2]|0;
+ $67 = $66 >> 16;
+ $68 = $18;
+ $69 = ((($68)) + 2|0);
+ $70 = HEAP16[$69>>1]|0;
+ $71 = $70 << 16 >> 16;
+ $72 = Math_imul($67, $71)|0;
+ $73 = $16;
+ $74 = ((($73)) + 4|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $75 & 65535;
+ $77 = $18;
+ $78 = ((($77)) + 2|0);
+ $79 = HEAP16[$78>>1]|0;
+ $80 = $79 << 16 >> 16;
+ $81 = Math_imul($76, $80)|0;
+ $82 = $81 >> 16;
+ $83 = (($72) + ($82))|0;
+ $84 = (($63) + ($83))|0;
+ $15 = $84;
+ $85 = $15;
+ $86 = $16;
+ $87 = ((($86)) + 8|0);
+ $88 = HEAP32[$87>>2]|0;
+ $89 = $88 >> 16;
+ $90 = $18;
+ $91 = ((($90)) + 4|0);
+ $92 = HEAP16[$91>>1]|0;
+ $93 = $92 << 16 >> 16;
+ $94 = Math_imul($89, $93)|0;
+ $95 = $16;
+ $96 = ((($95)) + 8|0);
+ $97 = HEAP32[$96>>2]|0;
+ $98 = $97 & 65535;
+ $99 = $18;
+ $100 = ((($99)) + 4|0);
+ $101 = HEAP16[$100>>1]|0;
+ $102 = $101 << 16 >> 16;
+ $103 = Math_imul($98, $102)|0;
+ $104 = $103 >> 16;
+ $105 = (($94) + ($104))|0;
+ $106 = (($85) + ($105))|0;
+ $15 = $106;
+ $107 = $15;
+ $108 = $16;
+ $109 = ((($108)) + 12|0);
+ $110 = HEAP32[$109>>2]|0;
+ $111 = $110 >> 16;
+ $112 = $18;
+ $113 = ((($112)) + 6|0);
+ $114 = HEAP16[$113>>1]|0;
+ $115 = $114 << 16 >> 16;
+ $116 = Math_imul($111, $115)|0;
+ $117 = $16;
+ $118 = ((($117)) + 12|0);
+ $119 = HEAP32[$118>>2]|0;
+ $120 = $119 & 65535;
+ $121 = $18;
+ $122 = ((($121)) + 6|0);
+ $123 = HEAP16[$122>>1]|0;
+ $124 = $123 << 16 >> 16;
+ $125 = Math_imul($120, $124)|0;
+ $126 = $125 >> 16;
+ $127 = (($116) + ($126))|0;
+ $128 = (($107) + ($127))|0;
+ $15 = $128;
+ $129 = $15;
+ $130 = $16;
+ $131 = ((($130)) + 16|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = $132 >> 16;
+ $134 = $18;
+ $135 = ((($134)) + 8|0);
+ $136 = HEAP16[$135>>1]|0;
+ $137 = $136 << 16 >> 16;
+ $138 = Math_imul($133, $137)|0;
+ $139 = $16;
+ $140 = ((($139)) + 16|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = $141 & 65535;
+ $143 = $18;
+ $144 = ((($143)) + 8|0);
+ $145 = HEAP16[$144>>1]|0;
+ $146 = $145 << 16 >> 16;
+ $147 = Math_imul($142, $146)|0;
+ $148 = $147 >> 16;
+ $149 = (($138) + ($148))|0;
+ $150 = (($129) + ($149))|0;
+ $15 = $150;
+ $151 = $15;
+ $152 = $16;
+ $153 = ((($152)) + 20|0);
+ $154 = HEAP32[$153>>2]|0;
+ $155 = $154 >> 16;
+ $156 = $18;
+ $157 = ((($156)) + 10|0);
+ $158 = HEAP16[$157>>1]|0;
+ $159 = $158 << 16 >> 16;
+ $160 = Math_imul($155, $159)|0;
+ $161 = $16;
+ $162 = ((($161)) + 20|0);
+ $163 = HEAP32[$162>>2]|0;
+ $164 = $163 & 65535;
+ $165 = $18;
+ $166 = ((($165)) + 10|0);
+ $167 = HEAP16[$166>>1]|0;
+ $168 = $167 << 16 >> 16;
+ $169 = Math_imul($164, $168)|0;
+ $170 = $169 >> 16;
+ $171 = (($160) + ($170))|0;
+ $172 = (($151) + ($171))|0;
+ $15 = $172;
+ $173 = $15;
+ $174 = $16;
+ $175 = ((($174)) + 24|0);
+ $176 = HEAP32[$175>>2]|0;
+ $177 = $176 >> 16;
+ $178 = $18;
+ $179 = ((($178)) + 12|0);
+ $180 = HEAP16[$179>>1]|0;
+ $181 = $180 << 16 >> 16;
+ $182 = Math_imul($177, $181)|0;
+ $183 = $16;
+ $184 = ((($183)) + 24|0);
+ $185 = HEAP32[$184>>2]|0;
+ $186 = $185 & 65535;
+ $187 = $18;
+ $188 = ((($187)) + 12|0);
+ $189 = HEAP16[$188>>1]|0;
+ $190 = $189 << 16 >> 16;
+ $191 = Math_imul($186, $190)|0;
+ $192 = $191 >> 16;
+ $193 = (($182) + ($192))|0;
+ $194 = (($173) + ($193))|0;
+ $15 = $194;
+ $195 = $15;
+ $196 = $16;
+ $197 = ((($196)) + 28|0);
+ $198 = HEAP32[$197>>2]|0;
+ $199 = $198 >> 16;
+ $200 = $18;
+ $201 = ((($200)) + 14|0);
+ $202 = HEAP16[$201>>1]|0;
+ $203 = $202 << 16 >> 16;
+ $204 = Math_imul($199, $203)|0;
+ $205 = $16;
+ $206 = ((($205)) + 28|0);
+ $207 = HEAP32[$206>>2]|0;
+ $208 = $207 & 65535;
+ $209 = $18;
+ $210 = ((($209)) + 14|0);
+ $211 = HEAP16[$210>>1]|0;
+ $212 = $211 << 16 >> 16;
+ $213 = Math_imul($208, $212)|0;
+ $214 = $213 >> 16;
+ $215 = (($204) + ($214))|0;
+ $216 = (($195) + ($215))|0;
+ $15 = $216;
+ $217 = $15;
+ $218 = $16;
+ $219 = ((($218)) + 32|0);
+ $220 = HEAP32[$219>>2]|0;
+ $221 = $220 >> 16;
+ $222 = $18;
+ $223 = ((($222)) + 16|0);
+ $224 = HEAP16[$223>>1]|0;
+ $225 = $224 << 16 >> 16;
+ $226 = Math_imul($221, $225)|0;
+ $227 = $16;
+ $228 = ((($227)) + 32|0);
+ $229 = HEAP32[$228>>2]|0;
+ $230 = $229 & 65535;
+ $231 = $18;
+ $232 = ((($231)) + 16|0);
+ $233 = HEAP16[$232>>1]|0;
+ $234 = $233 << 16 >> 16;
+ $235 = Math_imul($230, $234)|0;
+ $236 = $235 >> 16;
+ $237 = (($226) + ($236))|0;
+ $238 = (($217) + ($237))|0;
+ $15 = $238;
+ $239 = $9;
+ $240 = $11;
+ $241 = (($240) - 1)|0;
+ $242 = $17;
+ $243 = (($241) - ($242))|0;
+ $244 = ($243*9)|0;
+ $245 = (($239) + ($244<<1)|0);
+ $18 = $245;
+ $246 = $15;
+ $247 = $16;
+ $248 = ((($247)) + 68|0);
+ $249 = HEAP32[$248>>2]|0;
+ $250 = $249 >> 16;
+ $251 = $18;
+ $252 = HEAP16[$251>>1]|0;
+ $253 = $252 << 16 >> 16;
+ $254 = Math_imul($250, $253)|0;
+ $255 = $16;
+ $256 = ((($255)) + 68|0);
+ $257 = HEAP32[$256>>2]|0;
+ $258 = $257 & 65535;
+ $259 = $18;
+ $260 = HEAP16[$259>>1]|0;
+ $261 = $260 << 16 >> 16;
+ $262 = Math_imul($258, $261)|0;
+ $263 = $262 >> 16;
+ $264 = (($254) + ($263))|0;
+ $265 = (($246) + ($264))|0;
+ $15 = $265;
+ $266 = $15;
+ $267 = $16;
+ $268 = ((($267)) + 64|0);
+ $269 = HEAP32[$268>>2]|0;
+ $270 = $269 >> 16;
+ $271 = $18;
+ $272 = ((($271)) + 2|0);
+ $273 = HEAP16[$272>>1]|0;
+ $274 = $273 << 16 >> 16;
+ $275 = Math_imul($270, $274)|0;
+ $276 = $16;
+ $277 = ((($276)) + 64|0);
+ $278 = HEAP32[$277>>2]|0;
+ $279 = $278 & 65535;
+ $280 = $18;
+ $281 = ((($280)) + 2|0);
+ $282 = HEAP16[$281>>1]|0;
+ $283 = $282 << 16 >> 16;
+ $284 = Math_imul($279, $283)|0;
+ $285 = $284 >> 16;
+ $286 = (($275) + ($285))|0;
+ $287 = (($266) + ($286))|0;
+ $15 = $287;
+ $288 = $15;
+ $289 = $16;
+ $290 = ((($289)) + 60|0);
+ $291 = HEAP32[$290>>2]|0;
+ $292 = $291 >> 16;
+ $293 = $18;
+ $294 = ((($293)) + 4|0);
+ $295 = HEAP16[$294>>1]|0;
+ $296 = $295 << 16 >> 16;
+ $297 = Math_imul($292, $296)|0;
+ $298 = $16;
+ $299 = ((($298)) + 60|0);
+ $300 = HEAP32[$299>>2]|0;
+ $301 = $300 & 65535;
+ $302 = $18;
+ $303 = ((($302)) + 4|0);
+ $304 = HEAP16[$303>>1]|0;
+ $305 = $304 << 16 >> 16;
+ $306 = Math_imul($301, $305)|0;
+ $307 = $306 >> 16;
+ $308 = (($297) + ($307))|0;
+ $309 = (($288) + ($308))|0;
+ $15 = $309;
+ $310 = $15;
+ $311 = $16;
+ $312 = ((($311)) + 56|0);
+ $313 = HEAP32[$312>>2]|0;
+ $314 = $313 >> 16;
+ $315 = $18;
+ $316 = ((($315)) + 6|0);
+ $317 = HEAP16[$316>>1]|0;
+ $318 = $317 << 16 >> 16;
+ $319 = Math_imul($314, $318)|0;
+ $320 = $16;
+ $321 = ((($320)) + 56|0);
+ $322 = HEAP32[$321>>2]|0;
+ $323 = $322 & 65535;
+ $324 = $18;
+ $325 = ((($324)) + 6|0);
+ $326 = HEAP16[$325>>1]|0;
+ $327 = $326 << 16 >> 16;
+ $328 = Math_imul($323, $327)|0;
+ $329 = $328 >> 16;
+ $330 = (($319) + ($329))|0;
+ $331 = (($310) + ($330))|0;
+ $15 = $331;
+ $332 = $15;
+ $333 = $16;
+ $334 = ((($333)) + 52|0);
+ $335 = HEAP32[$334>>2]|0;
+ $336 = $335 >> 16;
+ $337 = $18;
+ $338 = ((($337)) + 8|0);
+ $339 = HEAP16[$338>>1]|0;
+ $340 = $339 << 16 >> 16;
+ $341 = Math_imul($336, $340)|0;
+ $342 = $16;
+ $343 = ((($342)) + 52|0);
+ $344 = HEAP32[$343>>2]|0;
+ $345 = $344 & 65535;
+ $346 = $18;
+ $347 = ((($346)) + 8|0);
+ $348 = HEAP16[$347>>1]|0;
+ $349 = $348 << 16 >> 16;
+ $350 = Math_imul($345, $349)|0;
+ $351 = $350 >> 16;
+ $352 = (($341) + ($351))|0;
+ $353 = (($332) + ($352))|0;
+ $15 = $353;
+ $354 = $15;
+ $355 = $16;
+ $356 = ((($355)) + 48|0);
+ $357 = HEAP32[$356>>2]|0;
+ $358 = $357 >> 16;
+ $359 = $18;
+ $360 = ((($359)) + 10|0);
+ $361 = HEAP16[$360>>1]|0;
+ $362 = $361 << 16 >> 16;
+ $363 = Math_imul($358, $362)|0;
+ $364 = $16;
+ $365 = ((($364)) + 48|0);
+ $366 = HEAP32[$365>>2]|0;
+ $367 = $366 & 65535;
+ $368 = $18;
+ $369 = ((($368)) + 10|0);
+ $370 = HEAP16[$369>>1]|0;
+ $371 = $370 << 16 >> 16;
+ $372 = Math_imul($367, $371)|0;
+ $373 = $372 >> 16;
+ $374 = (($363) + ($373))|0;
+ $375 = (($354) + ($374))|0;
+ $15 = $375;
+ $376 = $15;
+ $377 = $16;
+ $378 = ((($377)) + 44|0);
+ $379 = HEAP32[$378>>2]|0;
+ $380 = $379 >> 16;
+ $381 = $18;
+ $382 = ((($381)) + 12|0);
+ $383 = HEAP16[$382>>1]|0;
+ $384 = $383 << 16 >> 16;
+ $385 = Math_imul($380, $384)|0;
+ $386 = $16;
+ $387 = ((($386)) + 44|0);
+ $388 = HEAP32[$387>>2]|0;
+ $389 = $388 & 65535;
+ $390 = $18;
+ $391 = ((($390)) + 12|0);
+ $392 = HEAP16[$391>>1]|0;
+ $393 = $392 << 16 >> 16;
+ $394 = Math_imul($389, $393)|0;
+ $395 = $394 >> 16;
+ $396 = (($385) + ($395))|0;
+ $397 = (($376) + ($396))|0;
+ $15 = $397;
+ $398 = $15;
+ $399 = $16;
+ $400 = ((($399)) + 40|0);
+ $401 = HEAP32[$400>>2]|0;
+ $402 = $401 >> 16;
+ $403 = $18;
+ $404 = ((($403)) + 14|0);
+ $405 = HEAP16[$404>>1]|0;
+ $406 = $405 << 16 >> 16;
+ $407 = Math_imul($402, $406)|0;
+ $408 = $16;
+ $409 = ((($408)) + 40|0);
+ $410 = HEAP32[$409>>2]|0;
+ $411 = $410 & 65535;
+ $412 = $18;
+ $413 = ((($412)) + 14|0);
+ $414 = HEAP16[$413>>1]|0;
+ $415 = $414 << 16 >> 16;
+ $416 = Math_imul($411, $415)|0;
+ $417 = $416 >> 16;
+ $418 = (($407) + ($417))|0;
+ $419 = (($398) + ($418))|0;
+ $15 = $419;
+ $420 = $15;
+ $421 = $16;
+ $422 = ((($421)) + 36|0);
+ $423 = HEAP32[$422>>2]|0;
+ $424 = $423 >> 16;
+ $425 = $18;
+ $426 = ((($425)) + 16|0);
+ $427 = HEAP16[$426>>1]|0;
+ $428 = $427 << 16 >> 16;
+ $429 = Math_imul($424, $428)|0;
+ $430 = $16;
+ $431 = ((($430)) + 36|0);
+ $432 = HEAP32[$431>>2]|0;
+ $433 = $432 & 65535;
+ $434 = $18;
+ $435 = ((($434)) + 16|0);
+ $436 = HEAP16[$435>>1]|0;
+ $437 = $436 << 16 >> 16;
+ $438 = Math_imul($433, $437)|0;
+ $439 = $438 >> 16;
+ $440 = (($429) + ($439))|0;
+ $441 = (($420) + ($440))|0;
+ $15 = $441;
+ $442 = $15;
+ $443 = $442 >> 5;
+ $444 = (($443) + 1)|0;
+ $445 = $444 >> 1;
+ $446 = ($445|0)>(32767);
+ if ($446) {
+ $457 = 32767;
+ } else {
+ $447 = $15;
+ $448 = $447 >> 5;
+ $449 = (($448) + 1)|0;
+ $450 = $449 >> 1;
+ $451 = ($450|0)<(-32768);
+ if ($451) {
+ $457 = -32768;
+ } else {
+ $452 = $15;
+ $453 = $452 >> 5;
+ $454 = (($453) + 1)|0;
+ $455 = $454 >> 1;
+ $457 = $455;
+ }
+ }
+ $456 = $457&65535;
+ $458 = $7;
+ $459 = ((($458)) + 2|0);
+ $7 = $459;
+ HEAP16[$458>>1] = $456;
+ $460 = $13;
+ $461 = $14;
+ $462 = (($461) + ($460))|0;
+ $14 = $462;
+ }
+ $1407 = $7;
+ STACKTOP = sp;return ($1407|0);
+ break;
+ }
+ case 24: {
+ $14 = 0;
+ while(1) {
+ $463 = $14;
+ $464 = $12;
+ $465 = ($463|0)<($464|0);
+ if (!($465)) {
+ break;
+ }
+ $466 = $8;
+ $467 = $14;
+ $468 = $467 >> 16;
+ $469 = (($466) + ($468<<2)|0);
+ $16 = $469;
+ $470 = $16;
+ $471 = HEAP32[$470>>2]|0;
+ $472 = $16;
+ $473 = ((($472)) + 92|0);
+ $474 = HEAP32[$473>>2]|0;
+ $475 = (($471) + ($474))|0;
+ $476 = $475 >> 16;
+ $477 = $9;
+ $478 = HEAP16[$477>>1]|0;
+ $479 = $478 << 16 >> 16;
+ $480 = Math_imul($476, $479)|0;
+ $481 = $16;
+ $482 = HEAP32[$481>>2]|0;
+ $483 = $16;
+ $484 = ((($483)) + 92|0);
+ $485 = HEAP32[$484>>2]|0;
+ $486 = (($482) + ($485))|0;
+ $487 = $486 & 65535;
+ $488 = $9;
+ $489 = HEAP16[$488>>1]|0;
+ $490 = $489 << 16 >> 16;
+ $491 = Math_imul($487, $490)|0;
+ $492 = $491 >> 16;
+ $493 = (($480) + ($492))|0;
+ $15 = $493;
+ $494 = $15;
+ $495 = $16;
+ $496 = ((($495)) + 4|0);
+ $497 = HEAP32[$496>>2]|0;
+ $498 = $16;
+ $499 = ((($498)) + 88|0);
+ $500 = HEAP32[$499>>2]|0;
+ $501 = (($497) + ($500))|0;
+ $502 = $501 >> 16;
+ $503 = $9;
+ $504 = ((($503)) + 2|0);
+ $505 = HEAP16[$504>>1]|0;
+ $506 = $505 << 16 >> 16;
+ $507 = Math_imul($502, $506)|0;
+ $508 = $16;
+ $509 = ((($508)) + 4|0);
+ $510 = HEAP32[$509>>2]|0;
+ $511 = $16;
+ $512 = ((($511)) + 88|0);
+ $513 = HEAP32[$512>>2]|0;
+ $514 = (($510) + ($513))|0;
+ $515 = $514 & 65535;
+ $516 = $9;
+ $517 = ((($516)) + 2|0);
+ $518 = HEAP16[$517>>1]|0;
+ $519 = $518 << 16 >> 16;
+ $520 = Math_imul($515, $519)|0;
+ $521 = $520 >> 16;
+ $522 = (($507) + ($521))|0;
+ $523 = (($494) + ($522))|0;
+ $15 = $523;
+ $524 = $15;
+ $525 = $16;
+ $526 = ((($525)) + 8|0);
+ $527 = HEAP32[$526>>2]|0;
+ $528 = $16;
+ $529 = ((($528)) + 84|0);
+ $530 = HEAP32[$529>>2]|0;
+ $531 = (($527) + ($530))|0;
+ $532 = $531 >> 16;
+ $533 = $9;
+ $534 = ((($533)) + 4|0);
+ $535 = HEAP16[$534>>1]|0;
+ $536 = $535 << 16 >> 16;
+ $537 = Math_imul($532, $536)|0;
+ $538 = $16;
+ $539 = ((($538)) + 8|0);
+ $540 = HEAP32[$539>>2]|0;
+ $541 = $16;
+ $542 = ((($541)) + 84|0);
+ $543 = HEAP32[$542>>2]|0;
+ $544 = (($540) + ($543))|0;
+ $545 = $544 & 65535;
+ $546 = $9;
+ $547 = ((($546)) + 4|0);
+ $548 = HEAP16[$547>>1]|0;
+ $549 = $548 << 16 >> 16;
+ $550 = Math_imul($545, $549)|0;
+ $551 = $550 >> 16;
+ $552 = (($537) + ($551))|0;
+ $553 = (($524) + ($552))|0;
+ $15 = $553;
+ $554 = $15;
+ $555 = $16;
+ $556 = ((($555)) + 12|0);
+ $557 = HEAP32[$556>>2]|0;
+ $558 = $16;
+ $559 = ((($558)) + 80|0);
+ $560 = HEAP32[$559>>2]|0;
+ $561 = (($557) + ($560))|0;
+ $562 = $561 >> 16;
+ $563 = $9;
+ $564 = ((($563)) + 6|0);
+ $565 = HEAP16[$564>>1]|0;
+ $566 = $565 << 16 >> 16;
+ $567 = Math_imul($562, $566)|0;
+ $568 = $16;
+ $569 = ((($568)) + 12|0);
+ $570 = HEAP32[$569>>2]|0;
+ $571 = $16;
+ $572 = ((($571)) + 80|0);
+ $573 = HEAP32[$572>>2]|0;
+ $574 = (($570) + ($573))|0;
+ $575 = $574 & 65535;
+ $576 = $9;
+ $577 = ((($576)) + 6|0);
+ $578 = HEAP16[$577>>1]|0;
+ $579 = $578 << 16 >> 16;
+ $580 = Math_imul($575, $579)|0;
+ $581 = $580 >> 16;
+ $582 = (($567) + ($581))|0;
+ $583 = (($554) + ($582))|0;
+ $15 = $583;
+ $584 = $15;
+ $585 = $16;
+ $586 = ((($585)) + 16|0);
+ $587 = HEAP32[$586>>2]|0;
+ $588 = $16;
+ $589 = ((($588)) + 76|0);
+ $590 = HEAP32[$589>>2]|0;
+ $591 = (($587) + ($590))|0;
+ $592 = $591 >> 16;
+ $593 = $9;
+ $594 = ((($593)) + 8|0);
+ $595 = HEAP16[$594>>1]|0;
+ $596 = $595 << 16 >> 16;
+ $597 = Math_imul($592, $596)|0;
+ $598 = $16;
+ $599 = ((($598)) + 16|0);
+ $600 = HEAP32[$599>>2]|0;
+ $601 = $16;
+ $602 = ((($601)) + 76|0);
+ $603 = HEAP32[$602>>2]|0;
+ $604 = (($600) + ($603))|0;
+ $605 = $604 & 65535;
+ $606 = $9;
+ $607 = ((($606)) + 8|0);
+ $608 = HEAP16[$607>>1]|0;
+ $609 = $608 << 16 >> 16;
+ $610 = Math_imul($605, $609)|0;
+ $611 = $610 >> 16;
+ $612 = (($597) + ($611))|0;
+ $613 = (($584) + ($612))|0;
+ $15 = $613;
+ $614 = $15;
+ $615 = $16;
+ $616 = ((($615)) + 20|0);
+ $617 = HEAP32[$616>>2]|0;
+ $618 = $16;
+ $619 = ((($618)) + 72|0);
+ $620 = HEAP32[$619>>2]|0;
+ $621 = (($617) + ($620))|0;
+ $622 = $621 >> 16;
+ $623 = $9;
+ $624 = ((($623)) + 10|0);
+ $625 = HEAP16[$624>>1]|0;
+ $626 = $625 << 16 >> 16;
+ $627 = Math_imul($622, $626)|0;
+ $628 = $16;
+ $629 = ((($628)) + 20|0);
+ $630 = HEAP32[$629>>2]|0;
+ $631 = $16;
+ $632 = ((($631)) + 72|0);
+ $633 = HEAP32[$632>>2]|0;
+ $634 = (($630) + ($633))|0;
+ $635 = $634 & 65535;
+ $636 = $9;
+ $637 = ((($636)) + 10|0);
+ $638 = HEAP16[$637>>1]|0;
+ $639 = $638 << 16 >> 16;
+ $640 = Math_imul($635, $639)|0;
+ $641 = $640 >> 16;
+ $642 = (($627) + ($641))|0;
+ $643 = (($614) + ($642))|0;
+ $15 = $643;
+ $644 = $15;
+ $645 = $16;
+ $646 = ((($645)) + 24|0);
+ $647 = HEAP32[$646>>2]|0;
+ $648 = $16;
+ $649 = ((($648)) + 68|0);
+ $650 = HEAP32[$649>>2]|0;
+ $651 = (($647) + ($650))|0;
+ $652 = $651 >> 16;
+ $653 = $9;
+ $654 = ((($653)) + 12|0);
+ $655 = HEAP16[$654>>1]|0;
+ $656 = $655 << 16 >> 16;
+ $657 = Math_imul($652, $656)|0;
+ $658 = $16;
+ $659 = ((($658)) + 24|0);
+ $660 = HEAP32[$659>>2]|0;
+ $661 = $16;
+ $662 = ((($661)) + 68|0);
+ $663 = HEAP32[$662>>2]|0;
+ $664 = (($660) + ($663))|0;
+ $665 = $664 & 65535;
+ $666 = $9;
+ $667 = ((($666)) + 12|0);
+ $668 = HEAP16[$667>>1]|0;
+ $669 = $668 << 16 >> 16;
+ $670 = Math_imul($665, $669)|0;
+ $671 = $670 >> 16;
+ $672 = (($657) + ($671))|0;
+ $673 = (($644) + ($672))|0;
+ $15 = $673;
+ $674 = $15;
+ $675 = $16;
+ $676 = ((($675)) + 28|0);
+ $677 = HEAP32[$676>>2]|0;
+ $678 = $16;
+ $679 = ((($678)) + 64|0);
+ $680 = HEAP32[$679>>2]|0;
+ $681 = (($677) + ($680))|0;
+ $682 = $681 >> 16;
+ $683 = $9;
+ $684 = ((($683)) + 14|0);
+ $685 = HEAP16[$684>>1]|0;
+ $686 = $685 << 16 >> 16;
+ $687 = Math_imul($682, $686)|0;
+ $688 = $16;
+ $689 = ((($688)) + 28|0);
+ $690 = HEAP32[$689>>2]|0;
+ $691 = $16;
+ $692 = ((($691)) + 64|0);
+ $693 = HEAP32[$692>>2]|0;
+ $694 = (($690) + ($693))|0;
+ $695 = $694 & 65535;
+ $696 = $9;
+ $697 = ((($696)) + 14|0);
+ $698 = HEAP16[$697>>1]|0;
+ $699 = $698 << 16 >> 16;
+ $700 = Math_imul($695, $699)|0;
+ $701 = $700 >> 16;
+ $702 = (($687) + ($701))|0;
+ $703 = (($674) + ($702))|0;
+ $15 = $703;
+ $704 = $15;
+ $705 = $16;
+ $706 = ((($705)) + 32|0);
+ $707 = HEAP32[$706>>2]|0;
+ $708 = $16;
+ $709 = ((($708)) + 60|0);
+ $710 = HEAP32[$709>>2]|0;
+ $711 = (($707) + ($710))|0;
+ $712 = $711 >> 16;
+ $713 = $9;
+ $714 = ((($713)) + 16|0);
+ $715 = HEAP16[$714>>1]|0;
+ $716 = $715 << 16 >> 16;
+ $717 = Math_imul($712, $716)|0;
+ $718 = $16;
+ $719 = ((($718)) + 32|0);
+ $720 = HEAP32[$719>>2]|0;
+ $721 = $16;
+ $722 = ((($721)) + 60|0);
+ $723 = HEAP32[$722>>2]|0;
+ $724 = (($720) + ($723))|0;
+ $725 = $724 & 65535;
+ $726 = $9;
+ $727 = ((($726)) + 16|0);
+ $728 = HEAP16[$727>>1]|0;
+ $729 = $728 << 16 >> 16;
+ $730 = Math_imul($725, $729)|0;
+ $731 = $730 >> 16;
+ $732 = (($717) + ($731))|0;
+ $733 = (($704) + ($732))|0;
+ $15 = $733;
+ $734 = $15;
+ $735 = $16;
+ $736 = ((($735)) + 36|0);
+ $737 = HEAP32[$736>>2]|0;
+ $738 = $16;
+ $739 = ((($738)) + 56|0);
+ $740 = HEAP32[$739>>2]|0;
+ $741 = (($737) + ($740))|0;
+ $742 = $741 >> 16;
+ $743 = $9;
+ $744 = ((($743)) + 18|0);
+ $745 = HEAP16[$744>>1]|0;
+ $746 = $745 << 16 >> 16;
+ $747 = Math_imul($742, $746)|0;
+ $748 = $16;
+ $749 = ((($748)) + 36|0);
+ $750 = HEAP32[$749>>2]|0;
+ $751 = $16;
+ $752 = ((($751)) + 56|0);
+ $753 = HEAP32[$752>>2]|0;
+ $754 = (($750) + ($753))|0;
+ $755 = $754 & 65535;
+ $756 = $9;
+ $757 = ((($756)) + 18|0);
+ $758 = HEAP16[$757>>1]|0;
+ $759 = $758 << 16 >> 16;
+ $760 = Math_imul($755, $759)|0;
+ $761 = $760 >> 16;
+ $762 = (($747) + ($761))|0;
+ $763 = (($734) + ($762))|0;
+ $15 = $763;
+ $764 = $15;
+ $765 = $16;
+ $766 = ((($765)) + 40|0);
+ $767 = HEAP32[$766>>2]|0;
+ $768 = $16;
+ $769 = ((($768)) + 52|0);
+ $770 = HEAP32[$769>>2]|0;
+ $771 = (($767) + ($770))|0;
+ $772 = $771 >> 16;
+ $773 = $9;
+ $774 = ((($773)) + 20|0);
+ $775 = HEAP16[$774>>1]|0;
+ $776 = $775 << 16 >> 16;
+ $777 = Math_imul($772, $776)|0;
+ $778 = $16;
+ $779 = ((($778)) + 40|0);
+ $780 = HEAP32[$779>>2]|0;
+ $781 = $16;
+ $782 = ((($781)) + 52|0);
+ $783 = HEAP32[$782>>2]|0;
+ $784 = (($780) + ($783))|0;
+ $785 = $784 & 65535;
+ $786 = $9;
+ $787 = ((($786)) + 20|0);
+ $788 = HEAP16[$787>>1]|0;
+ $789 = $788 << 16 >> 16;
+ $790 = Math_imul($785, $789)|0;
+ $791 = $790 >> 16;
+ $792 = (($777) + ($791))|0;
+ $793 = (($764) + ($792))|0;
+ $15 = $793;
+ $794 = $15;
+ $795 = $16;
+ $796 = ((($795)) + 44|0);
+ $797 = HEAP32[$796>>2]|0;
+ $798 = $16;
+ $799 = ((($798)) + 48|0);
+ $800 = HEAP32[$799>>2]|0;
+ $801 = (($797) + ($800))|0;
+ $802 = $801 >> 16;
+ $803 = $9;
+ $804 = ((($803)) + 22|0);
+ $805 = HEAP16[$804>>1]|0;
+ $806 = $805 << 16 >> 16;
+ $807 = Math_imul($802, $806)|0;
+ $808 = $16;
+ $809 = ((($808)) + 44|0);
+ $810 = HEAP32[$809>>2]|0;
+ $811 = $16;
+ $812 = ((($811)) + 48|0);
+ $813 = HEAP32[$812>>2]|0;
+ $814 = (($810) + ($813))|0;
+ $815 = $814 & 65535;
+ $816 = $9;
+ $817 = ((($816)) + 22|0);
+ $818 = HEAP16[$817>>1]|0;
+ $819 = $818 << 16 >> 16;
+ $820 = Math_imul($815, $819)|0;
+ $821 = $820 >> 16;
+ $822 = (($807) + ($821))|0;
+ $823 = (($794) + ($822))|0;
+ $15 = $823;
+ $824 = $15;
+ $825 = $824 >> 5;
+ $826 = (($825) + 1)|0;
+ $827 = $826 >> 1;
+ $828 = ($827|0)>(32767);
+ if ($828) {
+ $839 = 32767;
+ } else {
+ $829 = $15;
+ $830 = $829 >> 5;
+ $831 = (($830) + 1)|0;
+ $832 = $831 >> 1;
+ $833 = ($832|0)<(-32768);
+ if ($833) {
+ $839 = -32768;
+ } else {
+ $834 = $15;
+ $835 = $834 >> 5;
+ $836 = (($835) + 1)|0;
+ $837 = $836 >> 1;
+ $839 = $837;
+ }
+ }
+ $838 = $839&65535;
+ $840 = $7;
+ $841 = ((($840)) + 2|0);
+ $7 = $841;
+ HEAP16[$840>>1] = $838;
+ $842 = $13;
+ $843 = $14;
+ $844 = (($843) + ($842))|0;
+ $14 = $844;
+ }
+ $1407 = $7;
+ STACKTOP = sp;return ($1407|0);
+ break;
+ }
+ case 36: {
+ $14 = 0;
+ while(1) {
+ $845 = $14;
+ $846 = $12;
+ $847 = ($845|0)<($846|0);
+ if (!($847)) {
+ break;
+ }
+ $848 = $8;
+ $849 = $14;
+ $850 = $849 >> 16;
+ $851 = (($848) + ($850<<2)|0);
+ $16 = $851;
+ $852 = $16;
+ $853 = HEAP32[$852>>2]|0;
+ $854 = $16;
+ $855 = ((($854)) + 140|0);
+ $856 = HEAP32[$855>>2]|0;
+ $857 = (($853) + ($856))|0;
+ $858 = $857 >> 16;
+ $859 = $9;
+ $860 = HEAP16[$859>>1]|0;
+ $861 = $860 << 16 >> 16;
+ $862 = Math_imul($858, $861)|0;
+ $863 = $16;
+ $864 = HEAP32[$863>>2]|0;
+ $865 = $16;
+ $866 = ((($865)) + 140|0);
+ $867 = HEAP32[$866>>2]|0;
+ $868 = (($864) + ($867))|0;
+ $869 = $868 & 65535;
+ $870 = $9;
+ $871 = HEAP16[$870>>1]|0;
+ $872 = $871 << 16 >> 16;
+ $873 = Math_imul($869, $872)|0;
+ $874 = $873 >> 16;
+ $875 = (($862) + ($874))|0;
+ $15 = $875;
+ $876 = $15;
+ $877 = $16;
+ $878 = ((($877)) + 4|0);
+ $879 = HEAP32[$878>>2]|0;
+ $880 = $16;
+ $881 = ((($880)) + 136|0);
+ $882 = HEAP32[$881>>2]|0;
+ $883 = (($879) + ($882))|0;
+ $884 = $883 >> 16;
+ $885 = $9;
+ $886 = ((($885)) + 2|0);
+ $887 = HEAP16[$886>>1]|0;
+ $888 = $887 << 16 >> 16;
+ $889 = Math_imul($884, $888)|0;
+ $890 = $16;
+ $891 = ((($890)) + 4|0);
+ $892 = HEAP32[$891>>2]|0;
+ $893 = $16;
+ $894 = ((($893)) + 136|0);
+ $895 = HEAP32[$894>>2]|0;
+ $896 = (($892) + ($895))|0;
+ $897 = $896 & 65535;
+ $898 = $9;
+ $899 = ((($898)) + 2|0);
+ $900 = HEAP16[$899>>1]|0;
+ $901 = $900 << 16 >> 16;
+ $902 = Math_imul($897, $901)|0;
+ $903 = $902 >> 16;
+ $904 = (($889) + ($903))|0;
+ $905 = (($876) + ($904))|0;
+ $15 = $905;
+ $906 = $15;
+ $907 = $16;
+ $908 = ((($907)) + 8|0);
+ $909 = HEAP32[$908>>2]|0;
+ $910 = $16;
+ $911 = ((($910)) + 132|0);
+ $912 = HEAP32[$911>>2]|0;
+ $913 = (($909) + ($912))|0;
+ $914 = $913 >> 16;
+ $915 = $9;
+ $916 = ((($915)) + 4|0);
+ $917 = HEAP16[$916>>1]|0;
+ $918 = $917 << 16 >> 16;
+ $919 = Math_imul($914, $918)|0;
+ $920 = $16;
+ $921 = ((($920)) + 8|0);
+ $922 = HEAP32[$921>>2]|0;
+ $923 = $16;
+ $924 = ((($923)) + 132|0);
+ $925 = HEAP32[$924>>2]|0;
+ $926 = (($922) + ($925))|0;
+ $927 = $926 & 65535;
+ $928 = $9;
+ $929 = ((($928)) + 4|0);
+ $930 = HEAP16[$929>>1]|0;
+ $931 = $930 << 16 >> 16;
+ $932 = Math_imul($927, $931)|0;
+ $933 = $932 >> 16;
+ $934 = (($919) + ($933))|0;
+ $935 = (($906) + ($934))|0;
+ $15 = $935;
+ $936 = $15;
+ $937 = $16;
+ $938 = ((($937)) + 12|0);
+ $939 = HEAP32[$938>>2]|0;
+ $940 = $16;
+ $941 = ((($940)) + 128|0);
+ $942 = HEAP32[$941>>2]|0;
+ $943 = (($939) + ($942))|0;
+ $944 = $943 >> 16;
+ $945 = $9;
+ $946 = ((($945)) + 6|0);
+ $947 = HEAP16[$946>>1]|0;
+ $948 = $947 << 16 >> 16;
+ $949 = Math_imul($944, $948)|0;
+ $950 = $16;
+ $951 = ((($950)) + 12|0);
+ $952 = HEAP32[$951>>2]|0;
+ $953 = $16;
+ $954 = ((($953)) + 128|0);
+ $955 = HEAP32[$954>>2]|0;
+ $956 = (($952) + ($955))|0;
+ $957 = $956 & 65535;
+ $958 = $9;
+ $959 = ((($958)) + 6|0);
+ $960 = HEAP16[$959>>1]|0;
+ $961 = $960 << 16 >> 16;
+ $962 = Math_imul($957, $961)|0;
+ $963 = $962 >> 16;
+ $964 = (($949) + ($963))|0;
+ $965 = (($936) + ($964))|0;
+ $15 = $965;
+ $966 = $15;
+ $967 = $16;
+ $968 = ((($967)) + 16|0);
+ $969 = HEAP32[$968>>2]|0;
+ $970 = $16;
+ $971 = ((($970)) + 124|0);
+ $972 = HEAP32[$971>>2]|0;
+ $973 = (($969) + ($972))|0;
+ $974 = $973 >> 16;
+ $975 = $9;
+ $976 = ((($975)) + 8|0);
+ $977 = HEAP16[$976>>1]|0;
+ $978 = $977 << 16 >> 16;
+ $979 = Math_imul($974, $978)|0;
+ $980 = $16;
+ $981 = ((($980)) + 16|0);
+ $982 = HEAP32[$981>>2]|0;
+ $983 = $16;
+ $984 = ((($983)) + 124|0);
+ $985 = HEAP32[$984>>2]|0;
+ $986 = (($982) + ($985))|0;
+ $987 = $986 & 65535;
+ $988 = $9;
+ $989 = ((($988)) + 8|0);
+ $990 = HEAP16[$989>>1]|0;
+ $991 = $990 << 16 >> 16;
+ $992 = Math_imul($987, $991)|0;
+ $993 = $992 >> 16;
+ $994 = (($979) + ($993))|0;
+ $995 = (($966) + ($994))|0;
+ $15 = $995;
+ $996 = $15;
+ $997 = $16;
+ $998 = ((($997)) + 20|0);
+ $999 = HEAP32[$998>>2]|0;
+ $1000 = $16;
+ $1001 = ((($1000)) + 120|0);
+ $1002 = HEAP32[$1001>>2]|0;
+ $1003 = (($999) + ($1002))|0;
+ $1004 = $1003 >> 16;
+ $1005 = $9;
+ $1006 = ((($1005)) + 10|0);
+ $1007 = HEAP16[$1006>>1]|0;
+ $1008 = $1007 << 16 >> 16;
+ $1009 = Math_imul($1004, $1008)|0;
+ $1010 = $16;
+ $1011 = ((($1010)) + 20|0);
+ $1012 = HEAP32[$1011>>2]|0;
+ $1013 = $16;
+ $1014 = ((($1013)) + 120|0);
+ $1015 = HEAP32[$1014>>2]|0;
+ $1016 = (($1012) + ($1015))|0;
+ $1017 = $1016 & 65535;
+ $1018 = $9;
+ $1019 = ((($1018)) + 10|0);
+ $1020 = HEAP16[$1019>>1]|0;
+ $1021 = $1020 << 16 >> 16;
+ $1022 = Math_imul($1017, $1021)|0;
+ $1023 = $1022 >> 16;
+ $1024 = (($1009) + ($1023))|0;
+ $1025 = (($996) + ($1024))|0;
+ $15 = $1025;
+ $1026 = $15;
+ $1027 = $16;
+ $1028 = ((($1027)) + 24|0);
+ $1029 = HEAP32[$1028>>2]|0;
+ $1030 = $16;
+ $1031 = ((($1030)) + 116|0);
+ $1032 = HEAP32[$1031>>2]|0;
+ $1033 = (($1029) + ($1032))|0;
+ $1034 = $1033 >> 16;
+ $1035 = $9;
+ $1036 = ((($1035)) + 12|0);
+ $1037 = HEAP16[$1036>>1]|0;
+ $1038 = $1037 << 16 >> 16;
+ $1039 = Math_imul($1034, $1038)|0;
+ $1040 = $16;
+ $1041 = ((($1040)) + 24|0);
+ $1042 = HEAP32[$1041>>2]|0;
+ $1043 = $16;
+ $1044 = ((($1043)) + 116|0);
+ $1045 = HEAP32[$1044>>2]|0;
+ $1046 = (($1042) + ($1045))|0;
+ $1047 = $1046 & 65535;
+ $1048 = $9;
+ $1049 = ((($1048)) + 12|0);
+ $1050 = HEAP16[$1049>>1]|0;
+ $1051 = $1050 << 16 >> 16;
+ $1052 = Math_imul($1047, $1051)|0;
+ $1053 = $1052 >> 16;
+ $1054 = (($1039) + ($1053))|0;
+ $1055 = (($1026) + ($1054))|0;
+ $15 = $1055;
+ $1056 = $15;
+ $1057 = $16;
+ $1058 = ((($1057)) + 28|0);
+ $1059 = HEAP32[$1058>>2]|0;
+ $1060 = $16;
+ $1061 = ((($1060)) + 112|0);
+ $1062 = HEAP32[$1061>>2]|0;
+ $1063 = (($1059) + ($1062))|0;
+ $1064 = $1063 >> 16;
+ $1065 = $9;
+ $1066 = ((($1065)) + 14|0);
+ $1067 = HEAP16[$1066>>1]|0;
+ $1068 = $1067 << 16 >> 16;
+ $1069 = Math_imul($1064, $1068)|0;
+ $1070 = $16;
+ $1071 = ((($1070)) + 28|0);
+ $1072 = HEAP32[$1071>>2]|0;
+ $1073 = $16;
+ $1074 = ((($1073)) + 112|0);
+ $1075 = HEAP32[$1074>>2]|0;
+ $1076 = (($1072) + ($1075))|0;
+ $1077 = $1076 & 65535;
+ $1078 = $9;
+ $1079 = ((($1078)) + 14|0);
+ $1080 = HEAP16[$1079>>1]|0;
+ $1081 = $1080 << 16 >> 16;
+ $1082 = Math_imul($1077, $1081)|0;
+ $1083 = $1082 >> 16;
+ $1084 = (($1069) + ($1083))|0;
+ $1085 = (($1056) + ($1084))|0;
+ $15 = $1085;
+ $1086 = $15;
+ $1087 = $16;
+ $1088 = ((($1087)) + 32|0);
+ $1089 = HEAP32[$1088>>2]|0;
+ $1090 = $16;
+ $1091 = ((($1090)) + 108|0);
+ $1092 = HEAP32[$1091>>2]|0;
+ $1093 = (($1089) + ($1092))|0;
+ $1094 = $1093 >> 16;
+ $1095 = $9;
+ $1096 = ((($1095)) + 16|0);
+ $1097 = HEAP16[$1096>>1]|0;
+ $1098 = $1097 << 16 >> 16;
+ $1099 = Math_imul($1094, $1098)|0;
+ $1100 = $16;
+ $1101 = ((($1100)) + 32|0);
+ $1102 = HEAP32[$1101>>2]|0;
+ $1103 = $16;
+ $1104 = ((($1103)) + 108|0);
+ $1105 = HEAP32[$1104>>2]|0;
+ $1106 = (($1102) + ($1105))|0;
+ $1107 = $1106 & 65535;
+ $1108 = $9;
+ $1109 = ((($1108)) + 16|0);
+ $1110 = HEAP16[$1109>>1]|0;
+ $1111 = $1110 << 16 >> 16;
+ $1112 = Math_imul($1107, $1111)|0;
+ $1113 = $1112 >> 16;
+ $1114 = (($1099) + ($1113))|0;
+ $1115 = (($1086) + ($1114))|0;
+ $15 = $1115;
+ $1116 = $15;
+ $1117 = $16;
+ $1118 = ((($1117)) + 36|0);
+ $1119 = HEAP32[$1118>>2]|0;
+ $1120 = $16;
+ $1121 = ((($1120)) + 104|0);
+ $1122 = HEAP32[$1121>>2]|0;
+ $1123 = (($1119) + ($1122))|0;
+ $1124 = $1123 >> 16;
+ $1125 = $9;
+ $1126 = ((($1125)) + 18|0);
+ $1127 = HEAP16[$1126>>1]|0;
+ $1128 = $1127 << 16 >> 16;
+ $1129 = Math_imul($1124, $1128)|0;
+ $1130 = $16;
+ $1131 = ((($1130)) + 36|0);
+ $1132 = HEAP32[$1131>>2]|0;
+ $1133 = $16;
+ $1134 = ((($1133)) + 104|0);
+ $1135 = HEAP32[$1134>>2]|0;
+ $1136 = (($1132) + ($1135))|0;
+ $1137 = $1136 & 65535;
+ $1138 = $9;
+ $1139 = ((($1138)) + 18|0);
+ $1140 = HEAP16[$1139>>1]|0;
+ $1141 = $1140 << 16 >> 16;
+ $1142 = Math_imul($1137, $1141)|0;
+ $1143 = $1142 >> 16;
+ $1144 = (($1129) + ($1143))|0;
+ $1145 = (($1116) + ($1144))|0;
+ $15 = $1145;
+ $1146 = $15;
+ $1147 = $16;
+ $1148 = ((($1147)) + 40|0);
+ $1149 = HEAP32[$1148>>2]|0;
+ $1150 = $16;
+ $1151 = ((($1150)) + 100|0);
+ $1152 = HEAP32[$1151>>2]|0;
+ $1153 = (($1149) + ($1152))|0;
+ $1154 = $1153 >> 16;
+ $1155 = $9;
+ $1156 = ((($1155)) + 20|0);
+ $1157 = HEAP16[$1156>>1]|0;
+ $1158 = $1157 << 16 >> 16;
+ $1159 = Math_imul($1154, $1158)|0;
+ $1160 = $16;
+ $1161 = ((($1160)) + 40|0);
+ $1162 = HEAP32[$1161>>2]|0;
+ $1163 = $16;
+ $1164 = ((($1163)) + 100|0);
+ $1165 = HEAP32[$1164>>2]|0;
+ $1166 = (($1162) + ($1165))|0;
+ $1167 = $1166 & 65535;
+ $1168 = $9;
+ $1169 = ((($1168)) + 20|0);
+ $1170 = HEAP16[$1169>>1]|0;
+ $1171 = $1170 << 16 >> 16;
+ $1172 = Math_imul($1167, $1171)|0;
+ $1173 = $1172 >> 16;
+ $1174 = (($1159) + ($1173))|0;
+ $1175 = (($1146) + ($1174))|0;
+ $15 = $1175;
+ $1176 = $15;
+ $1177 = $16;
+ $1178 = ((($1177)) + 44|0);
+ $1179 = HEAP32[$1178>>2]|0;
+ $1180 = $16;
+ $1181 = ((($1180)) + 96|0);
+ $1182 = HEAP32[$1181>>2]|0;
+ $1183 = (($1179) + ($1182))|0;
+ $1184 = $1183 >> 16;
+ $1185 = $9;
+ $1186 = ((($1185)) + 22|0);
+ $1187 = HEAP16[$1186>>1]|0;
+ $1188 = $1187 << 16 >> 16;
+ $1189 = Math_imul($1184, $1188)|0;
+ $1190 = $16;
+ $1191 = ((($1190)) + 44|0);
+ $1192 = HEAP32[$1191>>2]|0;
+ $1193 = $16;
+ $1194 = ((($1193)) + 96|0);
+ $1195 = HEAP32[$1194>>2]|0;
+ $1196 = (($1192) + ($1195))|0;
+ $1197 = $1196 & 65535;
+ $1198 = $9;
+ $1199 = ((($1198)) + 22|0);
+ $1200 = HEAP16[$1199>>1]|0;
+ $1201 = $1200 << 16 >> 16;
+ $1202 = Math_imul($1197, $1201)|0;
+ $1203 = $1202 >> 16;
+ $1204 = (($1189) + ($1203))|0;
+ $1205 = (($1176) + ($1204))|0;
+ $15 = $1205;
+ $1206 = $15;
+ $1207 = $16;
+ $1208 = ((($1207)) + 48|0);
+ $1209 = HEAP32[$1208>>2]|0;
+ $1210 = $16;
+ $1211 = ((($1210)) + 92|0);
+ $1212 = HEAP32[$1211>>2]|0;
+ $1213 = (($1209) + ($1212))|0;
+ $1214 = $1213 >> 16;
+ $1215 = $9;
+ $1216 = ((($1215)) + 24|0);
+ $1217 = HEAP16[$1216>>1]|0;
+ $1218 = $1217 << 16 >> 16;
+ $1219 = Math_imul($1214, $1218)|0;
+ $1220 = $16;
+ $1221 = ((($1220)) + 48|0);
+ $1222 = HEAP32[$1221>>2]|0;
+ $1223 = $16;
+ $1224 = ((($1223)) + 92|0);
+ $1225 = HEAP32[$1224>>2]|0;
+ $1226 = (($1222) + ($1225))|0;
+ $1227 = $1226 & 65535;
+ $1228 = $9;
+ $1229 = ((($1228)) + 24|0);
+ $1230 = HEAP16[$1229>>1]|0;
+ $1231 = $1230 << 16 >> 16;
+ $1232 = Math_imul($1227, $1231)|0;
+ $1233 = $1232 >> 16;
+ $1234 = (($1219) + ($1233))|0;
+ $1235 = (($1206) + ($1234))|0;
+ $15 = $1235;
+ $1236 = $15;
+ $1237 = $16;
+ $1238 = ((($1237)) + 52|0);
+ $1239 = HEAP32[$1238>>2]|0;
+ $1240 = $16;
+ $1241 = ((($1240)) + 88|0);
+ $1242 = HEAP32[$1241>>2]|0;
+ $1243 = (($1239) + ($1242))|0;
+ $1244 = $1243 >> 16;
+ $1245 = $9;
+ $1246 = ((($1245)) + 26|0);
+ $1247 = HEAP16[$1246>>1]|0;
+ $1248 = $1247 << 16 >> 16;
+ $1249 = Math_imul($1244, $1248)|0;
+ $1250 = $16;
+ $1251 = ((($1250)) + 52|0);
+ $1252 = HEAP32[$1251>>2]|0;
+ $1253 = $16;
+ $1254 = ((($1253)) + 88|0);
+ $1255 = HEAP32[$1254>>2]|0;
+ $1256 = (($1252) + ($1255))|0;
+ $1257 = $1256 & 65535;
+ $1258 = $9;
+ $1259 = ((($1258)) + 26|0);
+ $1260 = HEAP16[$1259>>1]|0;
+ $1261 = $1260 << 16 >> 16;
+ $1262 = Math_imul($1257, $1261)|0;
+ $1263 = $1262 >> 16;
+ $1264 = (($1249) + ($1263))|0;
+ $1265 = (($1236) + ($1264))|0;
+ $15 = $1265;
+ $1266 = $15;
+ $1267 = $16;
+ $1268 = ((($1267)) + 56|0);
+ $1269 = HEAP32[$1268>>2]|0;
+ $1270 = $16;
+ $1271 = ((($1270)) + 84|0);
+ $1272 = HEAP32[$1271>>2]|0;
+ $1273 = (($1269) + ($1272))|0;
+ $1274 = $1273 >> 16;
+ $1275 = $9;
+ $1276 = ((($1275)) + 28|0);
+ $1277 = HEAP16[$1276>>1]|0;
+ $1278 = $1277 << 16 >> 16;
+ $1279 = Math_imul($1274, $1278)|0;
+ $1280 = $16;
+ $1281 = ((($1280)) + 56|0);
+ $1282 = HEAP32[$1281>>2]|0;
+ $1283 = $16;
+ $1284 = ((($1283)) + 84|0);
+ $1285 = HEAP32[$1284>>2]|0;
+ $1286 = (($1282) + ($1285))|0;
+ $1287 = $1286 & 65535;
+ $1288 = $9;
+ $1289 = ((($1288)) + 28|0);
+ $1290 = HEAP16[$1289>>1]|0;
+ $1291 = $1290 << 16 >> 16;
+ $1292 = Math_imul($1287, $1291)|0;
+ $1293 = $1292 >> 16;
+ $1294 = (($1279) + ($1293))|0;
+ $1295 = (($1266) + ($1294))|0;
+ $15 = $1295;
+ $1296 = $15;
+ $1297 = $16;
+ $1298 = ((($1297)) + 60|0);
+ $1299 = HEAP32[$1298>>2]|0;
+ $1300 = $16;
+ $1301 = ((($1300)) + 80|0);
+ $1302 = HEAP32[$1301>>2]|0;
+ $1303 = (($1299) + ($1302))|0;
+ $1304 = $1303 >> 16;
+ $1305 = $9;
+ $1306 = ((($1305)) + 30|0);
+ $1307 = HEAP16[$1306>>1]|0;
+ $1308 = $1307 << 16 >> 16;
+ $1309 = Math_imul($1304, $1308)|0;
+ $1310 = $16;
+ $1311 = ((($1310)) + 60|0);
+ $1312 = HEAP32[$1311>>2]|0;
+ $1313 = $16;
+ $1314 = ((($1313)) + 80|0);
+ $1315 = HEAP32[$1314>>2]|0;
+ $1316 = (($1312) + ($1315))|0;
+ $1317 = $1316 & 65535;
+ $1318 = $9;
+ $1319 = ((($1318)) + 30|0);
+ $1320 = HEAP16[$1319>>1]|0;
+ $1321 = $1320 << 16 >> 16;
+ $1322 = Math_imul($1317, $1321)|0;
+ $1323 = $1322 >> 16;
+ $1324 = (($1309) + ($1323))|0;
+ $1325 = (($1296) + ($1324))|0;
+ $15 = $1325;
+ $1326 = $15;
+ $1327 = $16;
+ $1328 = ((($1327)) + 64|0);
+ $1329 = HEAP32[$1328>>2]|0;
+ $1330 = $16;
+ $1331 = ((($1330)) + 76|0);
+ $1332 = HEAP32[$1331>>2]|0;
+ $1333 = (($1329) + ($1332))|0;
+ $1334 = $1333 >> 16;
+ $1335 = $9;
+ $1336 = ((($1335)) + 32|0);
+ $1337 = HEAP16[$1336>>1]|0;
+ $1338 = $1337 << 16 >> 16;
+ $1339 = Math_imul($1334, $1338)|0;
+ $1340 = $16;
+ $1341 = ((($1340)) + 64|0);
+ $1342 = HEAP32[$1341>>2]|0;
+ $1343 = $16;
+ $1344 = ((($1343)) + 76|0);
+ $1345 = HEAP32[$1344>>2]|0;
+ $1346 = (($1342) + ($1345))|0;
+ $1347 = $1346 & 65535;
+ $1348 = $9;
+ $1349 = ((($1348)) + 32|0);
+ $1350 = HEAP16[$1349>>1]|0;
+ $1351 = $1350 << 16 >> 16;
+ $1352 = Math_imul($1347, $1351)|0;
+ $1353 = $1352 >> 16;
+ $1354 = (($1339) + ($1353))|0;
+ $1355 = (($1326) + ($1354))|0;
+ $15 = $1355;
+ $1356 = $15;
+ $1357 = $16;
+ $1358 = ((($1357)) + 68|0);
+ $1359 = HEAP32[$1358>>2]|0;
+ $1360 = $16;
+ $1361 = ((($1360)) + 72|0);
+ $1362 = HEAP32[$1361>>2]|0;
+ $1363 = (($1359) + ($1362))|0;
+ $1364 = $1363 >> 16;
+ $1365 = $9;
+ $1366 = ((($1365)) + 34|0);
+ $1367 = HEAP16[$1366>>1]|0;
+ $1368 = $1367 << 16 >> 16;
+ $1369 = Math_imul($1364, $1368)|0;
+ $1370 = $16;
+ $1371 = ((($1370)) + 68|0);
+ $1372 = HEAP32[$1371>>2]|0;
+ $1373 = $16;
+ $1374 = ((($1373)) + 72|0);
+ $1375 = HEAP32[$1374>>2]|0;
+ $1376 = (($1372) + ($1375))|0;
+ $1377 = $1376 & 65535;
+ $1378 = $9;
+ $1379 = ((($1378)) + 34|0);
+ $1380 = HEAP16[$1379>>1]|0;
+ $1381 = $1380 << 16 >> 16;
+ $1382 = Math_imul($1377, $1381)|0;
+ $1383 = $1382 >> 16;
+ $1384 = (($1369) + ($1383))|0;
+ $1385 = (($1356) + ($1384))|0;
+ $15 = $1385;
+ $1386 = $15;
+ $1387 = $1386 >> 5;
+ $1388 = (($1387) + 1)|0;
+ $1389 = $1388 >> 1;
+ $1390 = ($1389|0)>(32767);
+ if ($1390) {
+ $1401 = 32767;
+ } else {
+ $1391 = $15;
+ $1392 = $1391 >> 5;
+ $1393 = (($1392) + 1)|0;
+ $1394 = $1393 >> 1;
+ $1395 = ($1394|0)<(-32768);
+ if ($1395) {
+ $1401 = -32768;
+ } else {
+ $1396 = $15;
+ $1397 = $1396 >> 5;
+ $1398 = (($1397) + 1)|0;
+ $1399 = $1398 >> 1;
+ $1401 = $1399;
+ }
+ }
+ $1400 = $1401&65535;
+ $1402 = $7;
+ $1403 = ((($1402)) + 2|0);
+ $7 = $1403;
+ HEAP16[$1402>>1] = $1400;
+ $1404 = $13;
+ $1405 = $14;
+ $1406 = (($1405) + ($1404))|0;
+ $14 = $1406;
+ }
+ $1407 = $7;
+ STACKTOP = sp;return ($1407|0);
+ break;
+ }
+ default: {
+ $1407 = $7;
+ STACKTOP = sp;return ($1407|0);
+ }
+ }
+ return (0)|0;
+}
+function _silk_resampler_private_IIR_FIR($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$alloca_mul = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $7 = 0, $8 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $13 = $4;
+ $8 = $13;
+ $14 = $8;
+ $15 = ((($14)) + 268|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = $16<<1;
+ $18 = (($17) + 8)|0;
+ $19 = (_llvm_stacksave()|0);
+ $12 = $19;
+ $$alloca_mul = $18<<1;
+ $20 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $21 = $8;
+ $22 = ((($21)) + 24|0);
+ ;HEAP16[$20>>1]=HEAP16[$22>>1]|0;HEAP16[$20+2>>1]=HEAP16[$22+2>>1]|0;HEAP16[$20+4>>1]=HEAP16[$22+4>>1]|0;HEAP16[$20+6>>1]=HEAP16[$22+6>>1]|0;HEAP16[$20+8>>1]=HEAP16[$22+8>>1]|0;HEAP16[$20+10>>1]=HEAP16[$22+10>>1]|0;HEAP16[$20+12>>1]=HEAP16[$22+12>>1]|0;HEAP16[$20+14>>1]=HEAP16[$22+14>>1]|0;
+ $23 = $8;
+ $24 = ((($23)) + 272|0);
+ $25 = HEAP32[$24>>2]|0;
+ $11 = $25;
+ while(1) {
+ $26 = $7;
+ $27 = $8;
+ $28 = ((($27)) + 268|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = ($26|0)<($29|0);
+ if ($30) {
+ $31 = $7;
+ $35 = $31;
+ } else {
+ $32 = $8;
+ $33 = ((($32)) + 268|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = $34;
+ }
+ $9 = $35;
+ $36 = $8;
+ $37 = ((($20)) + 16|0);
+ $38 = $6;
+ $39 = $9;
+ _silk_resampler_private_up2_HQ($36,$37,$38,$39);
+ $40 = $9;
+ $41 = $40 << 17;
+ $10 = $41;
+ $42 = $5;
+ $43 = $10;
+ $44 = $11;
+ $45 = (_silk_resampler_private_IIR_FIR_INTERPOL($42,$20,$43,$44)|0);
+ $5 = $45;
+ $46 = $9;
+ $47 = $6;
+ $48 = (($47) + ($46<<1)|0);
+ $6 = $48;
+ $49 = $9;
+ $50 = $7;
+ $51 = (($50) - ($49))|0;
+ $7 = $51;
+ $52 = $7;
+ $53 = ($52|0)>(0);
+ if (!($53)) {
+ break;
+ }
+ $54 = $9;
+ $55 = $54 << 1;
+ $56 = (($20) + ($55<<1)|0);
+ ;HEAP16[$20>>1]=HEAP16[$56>>1]|0;HEAP16[$20+2>>1]=HEAP16[$56+2>>1]|0;HEAP16[$20+4>>1]=HEAP16[$56+4>>1]|0;HEAP16[$20+6>>1]=HEAP16[$56+6>>1]|0;HEAP16[$20+8>>1]=HEAP16[$56+8>>1]|0;HEAP16[$20+10>>1]=HEAP16[$56+10>>1]|0;HEAP16[$20+12>>1]=HEAP16[$56+12>>1]|0;HEAP16[$20+14>>1]=HEAP16[$56+14>>1]|0;
+ }
+ $57 = $8;
+ $58 = ((($57)) + 24|0);
+ $59 = $9;
+ $60 = $59 << 1;
+ $61 = (($20) + ($60<<1)|0);
+ ;HEAP16[$58>>1]=HEAP16[$61>>1]|0;HEAP16[$58+2>>1]=HEAP16[$61+2>>1]|0;HEAP16[$58+4>>1]=HEAP16[$61+4>>1]|0;HEAP16[$58+6>>1]=HEAP16[$61+6>>1]|0;HEAP16[$58+8>>1]=HEAP16[$61+8>>1]|0;HEAP16[$58+10>>1]=HEAP16[$61+10>>1]|0;HEAP16[$58+12>>1]=HEAP16[$61+12>>1]|0;HEAP16[$58+14>>1]=HEAP16[$61+14>>1]|0;
+ $62 = $12;
+ _llvm_stackrestore(($62|0));
+ STACKTOP = sp;return;
+}
+function _silk_resampler_private_IIR_FIR_INTERPOL($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
+ var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
+ var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
+ var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
+ var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 0;
+ while(1) {
+ $12 = $8;
+ $13 = $6;
+ $14 = ($12|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $15 = $8;
+ $16 = $15 & 65535;
+ $17 = $16 >> 16;
+ $18 = ($17*12)|0;
+ $19 = $8;
+ $20 = $19 & 65535;
+ $21 = $20 & 65535;
+ $22 = ($21*12)|0;
+ $23 = $22 >> 16;
+ $24 = (($18) + ($23))|0;
+ $11 = $24;
+ $25 = $5;
+ $26 = $8;
+ $27 = $26 >> 16;
+ $28 = (($25) + ($27<<1)|0);
+ $10 = $28;
+ $29 = $10;
+ $30 = HEAP16[$29>>1]|0;
+ $31 = $30 << 16 >> 16;
+ $32 = $11;
+ $33 = (25282 + ($32<<3)|0);
+ $34 = HEAP16[$33>>1]|0;
+ $35 = $34 << 16 >> 16;
+ $36 = Math_imul($31, $35)|0;
+ $9 = $36;
+ $37 = $9;
+ $38 = $10;
+ $39 = ((($38)) + 2|0);
+ $40 = HEAP16[$39>>1]|0;
+ $41 = $40 << 16 >> 16;
+ $42 = $11;
+ $43 = (25282 + ($42<<3)|0);
+ $44 = ((($43)) + 2|0);
+ $45 = HEAP16[$44>>1]|0;
+ $46 = $45 << 16 >> 16;
+ $47 = Math_imul($41, $46)|0;
+ $48 = (($37) + ($47))|0;
+ $9 = $48;
+ $49 = $9;
+ $50 = $10;
+ $51 = ((($50)) + 4|0);
+ $52 = HEAP16[$51>>1]|0;
+ $53 = $52 << 16 >> 16;
+ $54 = $11;
+ $55 = (25282 + ($54<<3)|0);
+ $56 = ((($55)) + 4|0);
+ $57 = HEAP16[$56>>1]|0;
+ $58 = $57 << 16 >> 16;
+ $59 = Math_imul($53, $58)|0;
+ $60 = (($49) + ($59))|0;
+ $9 = $60;
+ $61 = $9;
+ $62 = $10;
+ $63 = ((($62)) + 6|0);
+ $64 = HEAP16[$63>>1]|0;
+ $65 = $64 << 16 >> 16;
+ $66 = $11;
+ $67 = (25282 + ($66<<3)|0);
+ $68 = ((($67)) + 6|0);
+ $69 = HEAP16[$68>>1]|0;
+ $70 = $69 << 16 >> 16;
+ $71 = Math_imul($65, $70)|0;
+ $72 = (($61) + ($71))|0;
+ $9 = $72;
+ $73 = $9;
+ $74 = $10;
+ $75 = ((($74)) + 8|0);
+ $76 = HEAP16[$75>>1]|0;
+ $77 = $76 << 16 >> 16;
+ $78 = $11;
+ $79 = (11 - ($78))|0;
+ $80 = (25282 + ($79<<3)|0);
+ $81 = ((($80)) + 6|0);
+ $82 = HEAP16[$81>>1]|0;
+ $83 = $82 << 16 >> 16;
+ $84 = Math_imul($77, $83)|0;
+ $85 = (($73) + ($84))|0;
+ $9 = $85;
+ $86 = $9;
+ $87 = $10;
+ $88 = ((($87)) + 10|0);
+ $89 = HEAP16[$88>>1]|0;
+ $90 = $89 << 16 >> 16;
+ $91 = $11;
+ $92 = (11 - ($91))|0;
+ $93 = (25282 + ($92<<3)|0);
+ $94 = ((($93)) + 4|0);
+ $95 = HEAP16[$94>>1]|0;
+ $96 = $95 << 16 >> 16;
+ $97 = Math_imul($90, $96)|0;
+ $98 = (($86) + ($97))|0;
+ $9 = $98;
+ $99 = $9;
+ $100 = $10;
+ $101 = ((($100)) + 12|0);
+ $102 = HEAP16[$101>>1]|0;
+ $103 = $102 << 16 >> 16;
+ $104 = $11;
+ $105 = (11 - ($104))|0;
+ $106 = (25282 + ($105<<3)|0);
+ $107 = ((($106)) + 2|0);
+ $108 = HEAP16[$107>>1]|0;
+ $109 = $108 << 16 >> 16;
+ $110 = Math_imul($103, $109)|0;
+ $111 = (($99) + ($110))|0;
+ $9 = $111;
+ $112 = $9;
+ $113 = $10;
+ $114 = ((($113)) + 14|0);
+ $115 = HEAP16[$114>>1]|0;
+ $116 = $115 << 16 >> 16;
+ $117 = $11;
+ $118 = (11 - ($117))|0;
+ $119 = (25282 + ($118<<3)|0);
+ $120 = HEAP16[$119>>1]|0;
+ $121 = $120 << 16 >> 16;
+ $122 = Math_imul($116, $121)|0;
+ $123 = (($112) + ($122))|0;
+ $9 = $123;
+ $124 = $9;
+ $125 = $124 >> 14;
+ $126 = (($125) + 1)|0;
+ $127 = $126 >> 1;
+ $128 = ($127|0)>(32767);
+ if ($128) {
+ $139 = 32767;
+ } else {
+ $129 = $9;
+ $130 = $129 >> 14;
+ $131 = (($130) + 1)|0;
+ $132 = $131 >> 1;
+ $133 = ($132|0)<(-32768);
+ if ($133) {
+ $139 = -32768;
+ } else {
+ $134 = $9;
+ $135 = $134 >> 14;
+ $136 = (($135) + 1)|0;
+ $137 = $136 >> 1;
+ $139 = $137;
+ }
+ }
+ $138 = $139&65535;
+ $140 = $4;
+ $141 = ((($140)) + 2|0);
+ $4 = $141;
+ HEAP16[$140>>1] = $138;
+ $142 = $7;
+ $143 = $8;
+ $144 = (($143) + ($142))|0;
+ $8 = $144;
+ }
+ $145 = $4;
+ STACKTOP = sp;return ($145|0);
+}
+function _silk_resampler_private_up2_HQ($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0;
+ var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0;
+ var $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
+ var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0;
+ var $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 0;
+ while(1) {
+ $14 = $8;
+ $15 = $7;
+ $16 = ($14|0)<($15|0);
+ if (!($16)) {
+ break;
+ }
+ $17 = $6;
+ $18 = $8;
+ $19 = (($17) + ($18<<1)|0);
+ $20 = HEAP16[$19>>1]|0;
+ $21 = $20 << 16 >> 16;
+ $22 = $21 << 10;
+ $9 = $22;
+ $23 = $9;
+ $24 = $4;
+ $25 = HEAP32[$24>>2]|0;
+ $26 = (($23) - ($25))|0;
+ $12 = $26;
+ $27 = $12;
+ $28 = $27 >> 16;
+ $29 = HEAP16[12506]|0;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($28, $30)|0;
+ $32 = $12;
+ $33 = $32 & 65535;
+ $34 = HEAP16[12506]|0;
+ $35 = $34 << 16 >> 16;
+ $36 = Math_imul($33, $35)|0;
+ $37 = $36 >> 16;
+ $38 = (($31) + ($37))|0;
+ $13 = $38;
+ $39 = $4;
+ $40 = HEAP32[$39>>2]|0;
+ $41 = $13;
+ $42 = (($40) + ($41))|0;
+ $10 = $42;
+ $43 = $9;
+ $44 = $13;
+ $45 = (($43) + ($44))|0;
+ $46 = $4;
+ HEAP32[$46>>2] = $45;
+ $47 = $10;
+ $48 = $4;
+ $49 = ((($48)) + 4|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = (($47) - ($50))|0;
+ $12 = $51;
+ $52 = $12;
+ $53 = $52 >> 16;
+ $54 = HEAP16[(25014)>>1]|0;
+ $55 = $54 << 16 >> 16;
+ $56 = Math_imul($53, $55)|0;
+ $57 = $12;
+ $58 = $57 & 65535;
+ $59 = HEAP16[(25014)>>1]|0;
+ $60 = $59 << 16 >> 16;
+ $61 = Math_imul($58, $60)|0;
+ $62 = $61 >> 16;
+ $63 = (($56) + ($62))|0;
+ $13 = $63;
+ $64 = $4;
+ $65 = ((($64)) + 4|0);
+ $66 = HEAP32[$65>>2]|0;
+ $67 = $13;
+ $68 = (($66) + ($67))|0;
+ $11 = $68;
+ $69 = $10;
+ $70 = $13;
+ $71 = (($69) + ($70))|0;
+ $72 = $4;
+ $73 = ((($72)) + 4|0);
+ HEAP32[$73>>2] = $71;
+ $74 = $11;
+ $75 = $4;
+ $76 = ((($75)) + 8|0);
+ $77 = HEAP32[$76>>2]|0;
+ $78 = (($74) - ($77))|0;
+ $12 = $78;
+ $79 = $12;
+ $80 = $12;
+ $81 = $80 >> 16;
+ $82 = HEAP16[(25016)>>1]|0;
+ $83 = $82 << 16 >> 16;
+ $84 = Math_imul($81, $83)|0;
+ $85 = $12;
+ $86 = $85 & 65535;
+ $87 = HEAP16[(25016)>>1]|0;
+ $88 = $87 << 16 >> 16;
+ $89 = Math_imul($86, $88)|0;
+ $90 = $89 >> 16;
+ $91 = (($84) + ($90))|0;
+ $92 = (($79) + ($91))|0;
+ $13 = $92;
+ $93 = $4;
+ $94 = ((($93)) + 8|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = $13;
+ $97 = (($95) + ($96))|0;
+ $10 = $97;
+ $98 = $11;
+ $99 = $13;
+ $100 = (($98) + ($99))|0;
+ $101 = $4;
+ $102 = ((($101)) + 8|0);
+ HEAP32[$102>>2] = $100;
+ $103 = $10;
+ $104 = $103 >> 9;
+ $105 = (($104) + 1)|0;
+ $106 = $105 >> 1;
+ $107 = ($106|0)>(32767);
+ if ($107) {
+ $118 = 32767;
+ } else {
+ $108 = $10;
+ $109 = $108 >> 9;
+ $110 = (($109) + 1)|0;
+ $111 = $110 >> 1;
+ $112 = ($111|0)<(-32768);
+ if ($112) {
+ $118 = -32768;
+ } else {
+ $113 = $10;
+ $114 = $113 >> 9;
+ $115 = (($114) + 1)|0;
+ $116 = $115 >> 1;
+ $118 = $116;
+ }
+ }
+ $117 = $118&65535;
+ $119 = $5;
+ $120 = $8;
+ $121 = $120<<1;
+ $122 = (($119) + ($121<<1)|0);
+ HEAP16[$122>>1] = $117;
+ $123 = $9;
+ $124 = $4;
+ $125 = ((($124)) + 12|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = (($123) - ($126))|0;
+ $12 = $127;
+ $128 = $12;
+ $129 = $128 >> 16;
+ $130 = HEAP16[12509]|0;
+ $131 = $130 << 16 >> 16;
+ $132 = Math_imul($129, $131)|0;
+ $133 = $12;
+ $134 = $133 & 65535;
+ $135 = HEAP16[12509]|0;
+ $136 = $135 << 16 >> 16;
+ $137 = Math_imul($134, $136)|0;
+ $138 = $137 >> 16;
+ $139 = (($132) + ($138))|0;
+ $13 = $139;
+ $140 = $4;
+ $141 = ((($140)) + 12|0);
+ $142 = HEAP32[$141>>2]|0;
+ $143 = $13;
+ $144 = (($142) + ($143))|0;
+ $10 = $144;
+ $145 = $9;
+ $146 = $13;
+ $147 = (($145) + ($146))|0;
+ $148 = $4;
+ $149 = ((($148)) + 12|0);
+ HEAP32[$149>>2] = $147;
+ $150 = $10;
+ $151 = $4;
+ $152 = ((($151)) + 16|0);
+ $153 = HEAP32[$152>>2]|0;
+ $154 = (($150) - ($153))|0;
+ $12 = $154;
+ $155 = $12;
+ $156 = $155 >> 16;
+ $157 = HEAP16[(25020)>>1]|0;
+ $158 = $157 << 16 >> 16;
+ $159 = Math_imul($156, $158)|0;
+ $160 = $12;
+ $161 = $160 & 65535;
+ $162 = HEAP16[(25020)>>1]|0;
+ $163 = $162 << 16 >> 16;
+ $164 = Math_imul($161, $163)|0;
+ $165 = $164 >> 16;
+ $166 = (($159) + ($165))|0;
+ $13 = $166;
+ $167 = $4;
+ $168 = ((($167)) + 16|0);
+ $169 = HEAP32[$168>>2]|0;
+ $170 = $13;
+ $171 = (($169) + ($170))|0;
+ $11 = $171;
+ $172 = $10;
+ $173 = $13;
+ $174 = (($172) + ($173))|0;
+ $175 = $4;
+ $176 = ((($175)) + 16|0);
+ HEAP32[$176>>2] = $174;
+ $177 = $11;
+ $178 = $4;
+ $179 = ((($178)) + 20|0);
+ $180 = HEAP32[$179>>2]|0;
+ $181 = (($177) - ($180))|0;
+ $12 = $181;
+ $182 = $12;
+ $183 = $12;
+ $184 = $183 >> 16;
+ $185 = HEAP16[(25022)>>1]|0;
+ $186 = $185 << 16 >> 16;
+ $187 = Math_imul($184, $186)|0;
+ $188 = $12;
+ $189 = $188 & 65535;
+ $190 = HEAP16[(25022)>>1]|0;
+ $191 = $190 << 16 >> 16;
+ $192 = Math_imul($189, $191)|0;
+ $193 = $192 >> 16;
+ $194 = (($187) + ($193))|0;
+ $195 = (($182) + ($194))|0;
+ $13 = $195;
+ $196 = $4;
+ $197 = ((($196)) + 20|0);
+ $198 = HEAP32[$197>>2]|0;
+ $199 = $13;
+ $200 = (($198) + ($199))|0;
+ $10 = $200;
+ $201 = $11;
+ $202 = $13;
+ $203 = (($201) + ($202))|0;
+ $204 = $4;
+ $205 = ((($204)) + 20|0);
+ HEAP32[$205>>2] = $203;
+ $206 = $10;
+ $207 = $206 >> 9;
+ $208 = (($207) + 1)|0;
+ $209 = $208 >> 1;
+ $210 = ($209|0)>(32767);
+ if ($210) {
+ $221 = 32767;
+ } else {
+ $211 = $10;
+ $212 = $211 >> 9;
+ $213 = (($212) + 1)|0;
+ $214 = $213 >> 1;
+ $215 = ($214|0)<(-32768);
+ if ($215) {
+ $221 = -32768;
+ } else {
+ $216 = $10;
+ $217 = $216 >> 9;
+ $218 = (($217) + 1)|0;
+ $219 = $218 >> 1;
+ $221 = $219;
+ }
+ }
+ $220 = $221&65535;
+ $222 = $5;
+ $223 = $8;
+ $224 = $223<<1;
+ $225 = (($224) + 1)|0;
+ $226 = (($222) + ($225<<1)|0);
+ HEAP16[$226>>1] = $220;
+ $227 = $8;
+ $228 = (($227) + 1)|0;
+ $8 = $228;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_resampler_private_up2_HQ_wrapper($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $4;
+ $8 = $9;
+ $10 = $8;
+ $11 = $5;
+ $12 = $6;
+ $13 = $7;
+ _silk_resampler_private_up2_HQ($10,$11,$12,$13);
+ STACKTOP = sp;return;
+}
+function _silk_stereo_decode_pred($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $5 = sp + 8|0;
+ $2 = $0;
+ $3 = $1;
+ $8 = $2;
+ $9 = (_ec_dec_icdf($8,27657,8)|0);
+ $4 = $9;
+ $10 = $4;
+ $11 = (($10|0) / 5)&-1;
+ $12 = ((($5)) + 8|0);
+ HEAP32[$12>>2] = $11;
+ $13 = $4;
+ $14 = ((($5)) + 8|0);
+ $15 = HEAP32[$14>>2]|0;
+ $16 = ($15*5)|0;
+ $17 = (($13) - ($16))|0;
+ $18 = ((($5)) + 12|0);
+ $19 = ((($18)) + 8|0);
+ HEAP32[$19>>2] = $17;
+ $4 = 0;
+ while(1) {
+ $20 = $4;
+ $21 = ($20|0)<(2);
+ if (!($21)) {
+ break;
+ }
+ $22 = $2;
+ $23 = (_ec_dec_icdf($22,27710,8)|0);
+ $24 = $4;
+ $25 = (($5) + (($24*12)|0)|0);
+ HEAP32[$25>>2] = $23;
+ $26 = $2;
+ $27 = (_ec_dec_icdf($26,27717,8)|0);
+ $28 = $4;
+ $29 = (($5) + (($28*12)|0)|0);
+ $30 = ((($29)) + 4|0);
+ HEAP32[$30>>2] = $27;
+ $31 = $4;
+ $32 = (($31) + 1)|0;
+ $4 = $32;
+ }
+ $4 = 0;
+ while(1) {
+ $33 = $4;
+ $34 = ($33|0)<(2);
+ if (!($34)) {
+ break;
+ }
+ $35 = $4;
+ $36 = (($5) + (($35*12)|0)|0);
+ $37 = ((($36)) + 8|0);
+ $38 = HEAP32[$37>>2]|0;
+ $39 = ($38*3)|0;
+ $40 = $4;
+ $41 = (($5) + (($40*12)|0)|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = (($42) + ($39))|0;
+ HEAP32[$41>>2] = $43;
+ $44 = $4;
+ $45 = (($5) + (($44*12)|0)|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = (24966 + ($46<<1)|0);
+ $48 = HEAP16[$47>>1]|0;
+ $49 = $48 << 16 >> 16;
+ $6 = $49;
+ $50 = $4;
+ $51 = (($5) + (($50*12)|0)|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = (($52) + 1)|0;
+ $54 = (24966 + ($53<<1)|0);
+ $55 = HEAP16[$54>>1]|0;
+ $56 = $55 << 16 >> 16;
+ $57 = $6;
+ $58 = (($56) - ($57))|0;
+ $59 = $58 >> 16;
+ $60 = ($59*6554)|0;
+ $61 = $4;
+ $62 = (($5) + (($61*12)|0)|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = (($63) + 1)|0;
+ $65 = (24966 + ($64<<1)|0);
+ $66 = HEAP16[$65>>1]|0;
+ $67 = $66 << 16 >> 16;
+ $68 = $6;
+ $69 = (($67) - ($68))|0;
+ $70 = $69 & 65535;
+ $71 = ($70*6554)|0;
+ $72 = $71 >> 16;
+ $73 = (($60) + ($72))|0;
+ $7 = $73;
+ $74 = $6;
+ $75 = $7;
+ $76 = $75&65535;
+ $77 = $76 << 16 >> 16;
+ $78 = $4;
+ $79 = (($5) + (($78*12)|0)|0);
+ $80 = ((($79)) + 4|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = $81<<1;
+ $83 = (($82) + 1)|0;
+ $84 = $83&65535;
+ $85 = $84 << 16 >> 16;
+ $86 = Math_imul($77, $85)|0;
+ $87 = (($74) + ($86))|0;
+ $88 = $3;
+ $89 = $4;
+ $90 = (($88) + ($89<<2)|0);
+ HEAP32[$90>>2] = $87;
+ $91 = $4;
+ $92 = (($91) + 1)|0;
+ $4 = $92;
+ }
+ $93 = $3;
+ $94 = ((($93)) + 4|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = $3;
+ $97 = HEAP32[$96>>2]|0;
+ $98 = (($97) - ($95))|0;
+ HEAP32[$96>>2] = $98;
+ STACKTOP = sp;return;
+}
+function _silk_stereo_decode_mid_only($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = (_ec_dec_icdf($4,27682,8)|0);
+ $6 = $3;
+ HEAP32[$6>>2] = $5;
+ STACKTOP = sp;return;
+}
+function _silk_stereo_encode_pred($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = $3;
+ $6 = ((($5)) + 2|0);
+ $7 = HEAP8[$6>>0]|0;
+ $8 = $7 << 24 >> 24;
+ $9 = ($8*5)|0;
+ $10 = $3;
+ $11 = ((($10)) + 3|0);
+ $12 = ((($11)) + 2|0);
+ $13 = HEAP8[$12>>0]|0;
+ $14 = $13 << 24 >> 24;
+ $15 = (($9) + ($14))|0;
+ $4 = $15;
+ $16 = $2;
+ $17 = $4;
+ _ec_enc_icdf($16,$17,27657,8);
+ $4 = 0;
+ while(1) {
+ $18 = $4;
+ $19 = ($18|0)<(2);
+ if (!($19)) {
+ break;
+ }
+ $20 = $2;
+ $21 = $3;
+ $22 = $4;
+ $23 = (($21) + (($22*3)|0)|0);
+ $24 = HEAP8[$23>>0]|0;
+ $25 = $24 << 24 >> 24;
+ _ec_enc_icdf($20,$25,27710,8);
+ $26 = $2;
+ $27 = $3;
+ $28 = $4;
+ $29 = (($27) + (($28*3)|0)|0);
+ $30 = ((($29)) + 1|0);
+ $31 = HEAP8[$30>>0]|0;
+ $32 = $31 << 24 >> 24;
+ _ec_enc_icdf($26,$32,27717,8);
+ $33 = $4;
+ $34 = (($33) + 1)|0;
+ $4 = $34;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_stereo_encode_mid_only($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = $5 << 24 >> 24;
+ _ec_enc_icdf($4,$6,27682,8);
+ STACKTOP = sp;return;
+}
+function _silk_stereo_find_predictor($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0;
+ var $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $13 = sp + 24|0;
+ $14 = sp + 20|0;
+ $15 = sp + 16|0;
+ $16 = sp + 12|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $20 = $7;
+ $21 = $10;
+ _silk_sum_sqr_shift($15,$13,$20,$21);
+ $22 = $8;
+ $23 = $10;
+ _silk_sum_sqr_shift($16,$14,$22,$23);
+ $24 = HEAP32[$13>>2]|0;
+ $25 = HEAP32[$14>>2]|0;
+ $26 = (_silk_max_int_269($24,$25)|0);
+ $12 = $26;
+ $27 = $12;
+ $28 = $12;
+ $29 = $28 & 1;
+ $30 = (($27) + ($29))|0;
+ $12 = $30;
+ $31 = HEAP32[$16>>2]|0;
+ $32 = $12;
+ $33 = HEAP32[$14>>2]|0;
+ $34 = (($32) - ($33))|0;
+ $35 = $31 >> $34;
+ HEAP32[$16>>2] = $35;
+ $36 = HEAP32[$15>>2]|0;
+ $37 = $12;
+ $38 = HEAP32[$13>>2]|0;
+ $39 = (($37) - ($38))|0;
+ $40 = $36 >> $39;
+ HEAP32[$15>>2] = $40;
+ $41 = HEAP32[$15>>2]|0;
+ $42 = (_silk_max_int_269($41,1)|0);
+ HEAP32[$15>>2] = $42;
+ $43 = $7;
+ $44 = $8;
+ $45 = $12;
+ $46 = $10;
+ $47 = (_silk_inner_prod_aligned_scale($43,$44,$45,$46)|0);
+ $17 = $47;
+ $48 = $17;
+ $49 = HEAP32[$15>>2]|0;
+ $50 = (_silk_DIV32_varQ_270($48,$49,13)|0);
+ $18 = $50;
+ $51 = $18;
+ $52 = ($51|0)>(16384);
+ if ($52) {
+ $57 = 16384;
+ } else {
+ $53 = $18;
+ $54 = ($53|0)<(-16384);
+ $55 = $18;
+ $56 = $54 ? -16384 : $55;
+ $57 = $56;
+ }
+ $18 = $57;
+ $58 = $18;
+ $59 = $58 >> 16;
+ $60 = $18;
+ $61 = $60&65535;
+ $62 = $61 << 16 >> 16;
+ $63 = Math_imul($59, $62)|0;
+ $64 = $18;
+ $65 = $64 & 65535;
+ $66 = $18;
+ $67 = $66&65535;
+ $68 = $67 << 16 >> 16;
+ $69 = Math_imul($65, $68)|0;
+ $70 = $69 >> 16;
+ $71 = (($63) + ($70))|0;
+ $19 = $71;
+ $72 = $11;
+ $73 = $19;
+ $74 = ($73|0)>(0);
+ $75 = $19;
+ $76 = (0 - ($75))|0;
+ $77 = $74 ? $75 : $76;
+ $78 = (_silk_max_int_269($72,$77)|0);
+ $11 = $78;
+ $79 = $12;
+ $80 = $79 >> 1;
+ $12 = $80;
+ $81 = $9;
+ $82 = HEAP32[$81>>2]|0;
+ $83 = HEAP32[$15>>2]|0;
+ $84 = (_silk_SQRT_APPROX($83)|0);
+ $85 = $12;
+ $86 = $84 << $85;
+ $87 = $9;
+ $88 = HEAP32[$87>>2]|0;
+ $89 = (($86) - ($88))|0;
+ $90 = $89 >> 16;
+ $91 = $11;
+ $92 = $91&65535;
+ $93 = $92 << 16 >> 16;
+ $94 = Math_imul($90, $93)|0;
+ $95 = HEAP32[$15>>2]|0;
+ $96 = (_silk_SQRT_APPROX($95)|0);
+ $97 = $12;
+ $98 = $96 << $97;
+ $99 = $9;
+ $100 = HEAP32[$99>>2]|0;
+ $101 = (($98) - ($100))|0;
+ $102 = $101 & 65535;
+ $103 = $11;
+ $104 = $103&65535;
+ $105 = $104 << 16 >> 16;
+ $106 = Math_imul($102, $105)|0;
+ $107 = $106 >> 16;
+ $108 = (($94) + ($107))|0;
+ $109 = (($82) + ($108))|0;
+ $110 = $9;
+ HEAP32[$110>>2] = $109;
+ $111 = HEAP32[$16>>2]|0;
+ $112 = $17;
+ $113 = $112 >> 16;
+ $114 = $18;
+ $115 = $114&65535;
+ $116 = $115 << 16 >> 16;
+ $117 = Math_imul($113, $116)|0;
+ $118 = $17;
+ $119 = $118 & 65535;
+ $120 = $18;
+ $121 = $120&65535;
+ $122 = $121 << 16 >> 16;
+ $123 = Math_imul($119, $122)|0;
+ $124 = $123 >> 16;
+ $125 = (($117) + ($124))|0;
+ $126 = $125 << 4;
+ $127 = (($111) - ($126))|0;
+ HEAP32[$16>>2] = $127;
+ $128 = HEAP32[$16>>2]|0;
+ $129 = HEAP32[$15>>2]|0;
+ $130 = $129 >> 16;
+ $131 = $19;
+ $132 = $131&65535;
+ $133 = $132 << 16 >> 16;
+ $134 = Math_imul($130, $133)|0;
+ $135 = HEAP32[$15>>2]|0;
+ $136 = $135 & 65535;
+ $137 = $19;
+ $138 = $137&65535;
+ $139 = $138 << 16 >> 16;
+ $140 = Math_imul($136, $139)|0;
+ $141 = $140 >> 16;
+ $142 = (($134) + ($141))|0;
+ $143 = $142 << 6;
+ $144 = (($128) + ($143))|0;
+ HEAP32[$16>>2] = $144;
+ $145 = $9;
+ $146 = ((($145)) + 4|0);
+ $147 = HEAP32[$146>>2]|0;
+ $148 = HEAP32[$16>>2]|0;
+ $149 = (_silk_SQRT_APPROX($148)|0);
+ $150 = $12;
+ $151 = $149 << $150;
+ $152 = $9;
+ $153 = ((($152)) + 4|0);
+ $154 = HEAP32[$153>>2]|0;
+ $155 = (($151) - ($154))|0;
+ $156 = $155 >> 16;
+ $157 = $11;
+ $158 = $157&65535;
+ $159 = $158 << 16 >> 16;
+ $160 = Math_imul($156, $159)|0;
+ $161 = HEAP32[$16>>2]|0;
+ $162 = (_silk_SQRT_APPROX($161)|0);
+ $163 = $12;
+ $164 = $162 << $163;
+ $165 = $9;
+ $166 = ((($165)) + 4|0);
+ $167 = HEAP32[$166>>2]|0;
+ $168 = (($164) - ($167))|0;
+ $169 = $168 & 65535;
+ $170 = $11;
+ $171 = $170&65535;
+ $172 = $171 << 16 >> 16;
+ $173 = Math_imul($169, $172)|0;
+ $174 = $173 >> 16;
+ $175 = (($160) + ($174))|0;
+ $176 = (($147) + ($175))|0;
+ $177 = $9;
+ $178 = ((($177)) + 4|0);
+ HEAP32[$178>>2] = $176;
+ $179 = $9;
+ $180 = ((($179)) + 4|0);
+ $181 = HEAP32[$180>>2]|0;
+ $182 = $9;
+ $183 = HEAP32[$182>>2]|0;
+ $184 = ($183|0)>(1);
+ if ($184) {
+ $185 = $9;
+ $186 = HEAP32[$185>>2]|0;
+ $187 = $186;
+ } else {
+ $187 = 1;
+ }
+ $188 = (_silk_DIV32_varQ_270($181,$187,14)|0);
+ $189 = $6;
+ HEAP32[$189>>2] = $188;
+ $190 = $6;
+ $191 = HEAP32[$190>>2]|0;
+ $192 = ($191|0)>(32767);
+ if ($192) {
+ $199 = 32767;
+ $198 = $6;
+ HEAP32[$198>>2] = $199;
+ $200 = $18;
+ STACKTOP = sp;return ($200|0);
+ }
+ $193 = $6;
+ $194 = HEAP32[$193>>2]|0;
+ $195 = ($194|0)<(0);
+ if ($195) {
+ $199 = 0;
+ $198 = $6;
+ HEAP32[$198>>2] = $199;
+ $200 = $18;
+ STACKTOP = sp;return ($200|0);
+ }
+ $196 = $6;
+ $197 = HEAP32[$196>>2]|0;
+ $199 = $197;
+ $198 = $6;
+ HEAP32[$198>>2] = $199;
+ $200 = $18;
+ STACKTOP = sp;return ($200|0);
+}
+function _silk_max_int_269($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_DIV32_varQ_270($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $14 = 0;
+ var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $14 = $4;
+ $15 = ($14|0)>(0);
+ $16 = $4;
+ $17 = (0 - ($16))|0;
+ $18 = $15 ? $16 : $17;
+ $19 = (_silk_CLZ32_272($18)|0);
+ $20 = (($19) - 1)|0;
+ $7 = $20;
+ $21 = $4;
+ $22 = $7;
+ $23 = $21 << $22;
+ $11 = $23;
+ $24 = $5;
+ $25 = ($24|0)>(0);
+ $26 = $5;
+ $27 = (0 - ($26))|0;
+ $28 = $25 ? $26 : $27;
+ $29 = (_silk_CLZ32_272($28)|0);
+ $30 = (($29) - 1)|0;
+ $8 = $30;
+ $31 = $5;
+ $32 = $8;
+ $33 = $31 << $32;
+ $12 = $33;
+ $34 = $12;
+ $35 = $34 >> 16;
+ $36 = (536870911 / ($35|0))&-1;
+ $10 = $36;
+ $37 = $11;
+ $38 = $37 >> 16;
+ $39 = $10;
+ $40 = $39&65535;
+ $41 = $40 << 16 >> 16;
+ $42 = Math_imul($38, $41)|0;
+ $43 = $11;
+ $44 = $43 & 65535;
+ $45 = $10;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $48 >> 16;
+ $50 = (($42) + ($49))|0;
+ $13 = $50;
+ $51 = $11;
+ $52 = $12;
+ $53 = ($52|0)<(0);
+ $54 = $53 << 31 >> 31;
+ $55 = $13;
+ $56 = ($55|0)<(0);
+ $57 = $56 << 31 >> 31;
+ $58 = (___muldi3(($52|0),($54|0),($55|0),($57|0))|0);
+ $59 = tempRet0;
+ $60 = (_bitshift64Ashr(($58|0),($59|0),32)|0);
+ $61 = tempRet0;
+ $62 = $60 << 3;
+ $63 = (($51) - ($62))|0;
+ $11 = $63;
+ $64 = $13;
+ $65 = $11;
+ $66 = $65 >> 16;
+ $67 = $10;
+ $68 = $67&65535;
+ $69 = $68 << 16 >> 16;
+ $70 = Math_imul($66, $69)|0;
+ $71 = $11;
+ $72 = $71 & 65535;
+ $73 = $10;
+ $74 = $73&65535;
+ $75 = $74 << 16 >> 16;
+ $76 = Math_imul($72, $75)|0;
+ $77 = $76 >> 16;
+ $78 = (($70) + ($77))|0;
+ $79 = (($64) + ($78))|0;
+ $13 = $79;
+ $80 = $7;
+ $81 = (29 + ($80))|0;
+ $82 = $8;
+ $83 = (($81) - ($82))|0;
+ $84 = $6;
+ $85 = (($83) - ($84))|0;
+ $9 = $85;
+ $86 = $9;
+ $87 = ($86|0)<(0);
+ $88 = $9;
+ if (!($87)) {
+ $130 = ($88|0)<(32);
+ if ($130) {
+ $131 = $13;
+ $132 = $9;
+ $133 = $131 >> $132;
+ $3 = $133;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ } else {
+ $3 = 0;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ }
+ }
+ $89 = (0 - ($88))|0;
+ $90 = -2147483648 >> $89;
+ $91 = $9;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $94 = ($90|0)>($93|0);
+ $95 = $13;
+ $96 = $9;
+ $97 = (0 - ($96))|0;
+ do {
+ if ($94) {
+ $98 = -2147483648 >> $97;
+ $99 = ($95|0)>($98|0);
+ if ($99) {
+ $100 = $9;
+ $101 = (0 - ($100))|0;
+ $102 = -2147483648 >> $101;
+ $129 = $102;
+ break;
+ }
+ $103 = $13;
+ $104 = $9;
+ $105 = (0 - ($104))|0;
+ $106 = 2147483647 >> $105;
+ $107 = ($103|0)<($106|0);
+ if ($107) {
+ $108 = $9;
+ $109 = (0 - ($108))|0;
+ $110 = 2147483647 >> $109;
+ $129 = $110;
+ break;
+ } else {
+ $111 = $13;
+ $129 = $111;
+ break;
+ }
+ } else {
+ $112 = 2147483647 >> $97;
+ $113 = ($95|0)>($112|0);
+ if ($113) {
+ $114 = $9;
+ $115 = (0 - ($114))|0;
+ $116 = 2147483647 >> $115;
+ $129 = $116;
+ break;
+ }
+ $117 = $13;
+ $118 = $9;
+ $119 = (0 - ($118))|0;
+ $120 = -2147483648 >> $119;
+ $121 = ($117|0)<($120|0);
+ if ($121) {
+ $122 = $9;
+ $123 = (0 - ($122))|0;
+ $124 = -2147483648 >> $123;
+ $129 = $124;
+ break;
+ } else {
+ $125 = $13;
+ $129 = $125;
+ break;
+ }
+ }
+ } while(0);
+ $126 = $9;
+ $127 = (0 - ($126))|0;
+ $128 = $129 << $127;
+ $3 = $128;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+}
+function _silk_SQRT_APPROX($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = sp + 4|0;
+ $5 = sp;
+ $2 = $0;
+ $6 = $2;
+ $7 = ($6|0)<=(0);
+ if ($7) {
+ $1 = 0;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+ }
+ $8 = $2;
+ _silk_CLZ_FRAC_271($8,$4,$5);
+ $9 = HEAP32[$4>>2]|0;
+ $10 = $9 & 1;
+ $11 = ($10|0)!=(0);
+ if ($11) {
+ $3 = 32768;
+ } else {
+ $3 = 46214;
+ }
+ $12 = HEAP32[$4>>2]|0;
+ $13 = $12 >> 1;
+ $14 = $3;
+ $15 = $14 >> $13;
+ $3 = $15;
+ $16 = $3;
+ $17 = $3;
+ $18 = $17 >> 16;
+ $19 = HEAP32[$5>>2]|0;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = ($21*213)|0;
+ $23 = $22&65535;
+ $24 = $23 << 16 >> 16;
+ $25 = Math_imul($18, $24)|0;
+ $26 = $3;
+ $27 = $26 & 65535;
+ $28 = HEAP32[$5>>2]|0;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = ($30*213)|0;
+ $32 = $31&65535;
+ $33 = $32 << 16 >> 16;
+ $34 = Math_imul($27, $33)|0;
+ $35 = $34 >> 16;
+ $36 = (($25) + ($35))|0;
+ $37 = (($16) + ($36))|0;
+ $3 = $37;
+ $38 = $3;
+ $1 = $38;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+}
+function _silk_CLZ_FRAC_271($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $3;
+ $8 = (_silk_CLZ32_272($7)|0);
+ $6 = $8;
+ $9 = $6;
+ $10 = $4;
+ HEAP32[$10>>2] = $9;
+ $11 = $3;
+ $12 = $6;
+ $13 = (24 - ($12))|0;
+ $14 = (_silk_ROR32_273($11,$13)|0);
+ $15 = $14 & 127;
+ $16 = $5;
+ HEAP32[$16>>2] = $15;
+ STACKTOP = sp;return;
+}
+function _silk_CLZ32_272($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_ROR32_273($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $8 = $3;
+ $5 = $8;
+ $9 = $4;
+ $6 = $9;
+ $10 = $4;
+ $11 = (0 - ($10))|0;
+ $7 = $11;
+ $12 = $4;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $14 = $3;
+ $2 = $14;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ $15 = $4;
+ $16 = ($15|0)<(0);
+ $17 = $5;
+ if ($16) {
+ $18 = $7;
+ $19 = $17 << $18;
+ $20 = $5;
+ $21 = $7;
+ $22 = (32 - ($21))|0;
+ $23 = $20 >>> $22;
+ $24 = $19 | $23;
+ $2 = $24;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ } else {
+ $25 = $6;
+ $26 = (32 - ($25))|0;
+ $27 = $17 << $26;
+ $28 = $5;
+ $29 = $6;
+ $30 = $28 >>> $29;
+ $31 = $27 | $30;
+ $2 = $31;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ return (0)|0;
+}
+function _silk_stereo_quant_pred($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0;
+ var $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
+ var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
+ var $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $2 = $0;
+ $3 = $1;
+ $12 = 0;
+ $6 = 0;
+ while(1) {
+ $13 = $6;
+ $14 = ($13|0)<(2);
+ if (!($14)) {
+ break;
+ }
+ $10 = 2147483647;
+ $4 = 0;
+ L4: while(1) {
+ $15 = $4;
+ $16 = ($15|0)<(15);
+ if (!($16)) {
+ break;
+ }
+ $17 = $4;
+ $18 = (24966 + ($17<<1)|0);
+ $19 = HEAP16[$18>>1]|0;
+ $20 = $19 << 16 >> 16;
+ $7 = $20;
+ $21 = $4;
+ $22 = (($21) + 1)|0;
+ $23 = (24966 + ($22<<1)|0);
+ $24 = HEAP16[$23>>1]|0;
+ $25 = $24 << 16 >> 16;
+ $26 = $7;
+ $27 = (($25) - ($26))|0;
+ $28 = $27 >> 16;
+ $29 = ($28*6554)|0;
+ $30 = $4;
+ $31 = (($30) + 1)|0;
+ $32 = (24966 + ($31<<1)|0);
+ $33 = HEAP16[$32>>1]|0;
+ $34 = $33 << 16 >> 16;
+ $35 = $7;
+ $36 = (($34) - ($35))|0;
+ $37 = $36 & 65535;
+ $38 = ($37*6554)|0;
+ $39 = $38 >> 16;
+ $40 = (($29) + ($39))|0;
+ $8 = $40;
+ $5 = 0;
+ while(1) {
+ $41 = $5;
+ $42 = ($41|0)<(5);
+ if (!($42)) {
+ break;
+ }
+ $43 = $7;
+ $44 = $8;
+ $45 = $44&65535;
+ $46 = $45 << 16 >> 16;
+ $47 = $5;
+ $48 = $47<<1;
+ $49 = (($48) + 1)|0;
+ $50 = $49&65535;
+ $51 = $50 << 16 >> 16;
+ $52 = Math_imul($46, $51)|0;
+ $53 = (($43) + ($52))|0;
+ $9 = $53;
+ $54 = $2;
+ $55 = $6;
+ $56 = (($54) + ($55<<2)|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = $9;
+ $59 = (($57) - ($58))|0;
+ $60 = ($59|0)>(0);
+ $61 = $2;
+ $62 = $6;
+ $63 = (($61) + ($62<<2)|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = $9;
+ $66 = (($64) - ($65))|0;
+ $67 = (0 - ($66))|0;
+ $68 = $60 ? $66 : $67;
+ $11 = $68;
+ $69 = $11;
+ $70 = $10;
+ $71 = ($69|0)<($70|0);
+ if (!($71)) {
+ break L4;
+ }
+ $72 = $11;
+ $10 = $72;
+ $73 = $9;
+ $12 = $73;
+ $74 = $4;
+ $75 = $74&255;
+ $76 = $3;
+ $77 = $6;
+ $78 = (($76) + (($77*3)|0)|0);
+ HEAP8[$78>>0] = $75;
+ $79 = $5;
+ $80 = $79&255;
+ $81 = $3;
+ $82 = $6;
+ $83 = (($81) + (($82*3)|0)|0);
+ $84 = ((($83)) + 1|0);
+ HEAP8[$84>>0] = $80;
+ $85 = $5;
+ $86 = (($85) + 1)|0;
+ $5 = $86;
+ }
+ $87 = $4;
+ $88 = (($87) + 1)|0;
+ $4 = $88;
+ }
+ $89 = $3;
+ $90 = $6;
+ $91 = (($89) + (($90*3)|0)|0);
+ $92 = HEAP8[$91>>0]|0;
+ $93 = $92 << 24 >> 24;
+ $94 = (($93|0) / 3)&-1;
+ $95 = $94&255;
+ $96 = $3;
+ $97 = $6;
+ $98 = (($96) + (($97*3)|0)|0);
+ $99 = ((($98)) + 2|0);
+ HEAP8[$99>>0] = $95;
+ $100 = $3;
+ $101 = $6;
+ $102 = (($100) + (($101*3)|0)|0);
+ $103 = ((($102)) + 2|0);
+ $104 = HEAP8[$103>>0]|0;
+ $105 = $104 << 24 >> 24;
+ $106 = ($105*3)|0;
+ $107 = $3;
+ $108 = $6;
+ $109 = (($107) + (($108*3)|0)|0);
+ $110 = HEAP8[$109>>0]|0;
+ $111 = $110 << 24 >> 24;
+ $112 = (($111) - ($106))|0;
+ $113 = $112&255;
+ HEAP8[$109>>0] = $113;
+ $114 = $12;
+ $115 = $2;
+ $116 = $6;
+ $117 = (($115) + ($116<<2)|0);
+ HEAP32[$117>>2] = $114;
+ $118 = $6;
+ $119 = (($118) + 1)|0;
+ $6 = $119;
+ }
+ $120 = $2;
+ $121 = ((($120)) + 4|0);
+ $122 = HEAP32[$121>>2]|0;
+ $123 = $2;
+ $124 = HEAP32[$123>>2]|0;
+ $125 = (($124) - ($122))|0;
+ HEAP32[$123>>2] = $125;
+ STACKTOP = sp;return;
+}
+function _silk_encode_do_VAD_FLP($0) {
+ $0 = $0|0;
+ var $$sink = 0, $$sink2 = 0, $$sink6 = 0, $$sink8 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
+ var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
+ var $42 = 0, $43 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = $1;
+ $4 = ((($3)) + 5128|0);
+ $5 = ((($4)) + 2|0);
+ (_silk_VAD_GetSA_Q8_c($2,$5)|0);
+ $6 = $1;
+ $7 = ((($6)) + 4556|0);
+ $8 = HEAP32[$7>>2]|0;
+ $9 = ($8|0)<(13);
+ $10 = $1;
+ if (!($9)) {
+ $32 = ((($10)) + 6116|0);
+ HEAP32[$32>>2] = 0;
+ $33 = $1;
+ $34 = ((($33)) + 6112|0);
+ HEAP32[$34>>2] = 0;
+ $35 = $1;
+ $36 = ((($35)) + 4768|0);
+ $37 = ((($36)) + 29|0);
+ HEAP8[$37>>0] = 1;
+ $38 = $1;
+ $39 = ((($38)) + 4752|0);
+ $40 = $1;
+ $$sink = 1;$$sink2 = $39;$$sink6 = $40;
+ $41 = ((($$sink6)) + 5780|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = (($$sink2) + ($42)|0);
+ HEAP8[$43>>0] = $$sink;
+ STACKTOP = sp;return;
+ }
+ $11 = ((($10)) + 4768|0);
+ $12 = ((($11)) + 29|0);
+ HEAP8[$12>>0] = 0;
+ $13 = $1;
+ $14 = ((($13)) + 6116|0);
+ $15 = HEAP32[$14>>2]|0;
+ $16 = (($15) + 1)|0;
+ HEAP32[$14>>2] = $16;
+ $17 = $1;
+ $18 = ((($17)) + 6116|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = ($19|0)<(10);
+ $21 = $1;
+ if ($20) {
+ $$sink8 = $21;
+ label = 5;
+ } else {
+ $22 = ((($21)) + 6116|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = ($23|0)>(30);
+ if ($24) {
+ $25 = $1;
+ $26 = ((($25)) + 6116|0);
+ HEAP32[$26>>2] = 10;
+ $27 = $1;
+ $$sink8 = $27;
+ label = 5;
+ }
+ }
+ if ((label|0) == 5) {
+ $28 = ((($$sink8)) + 6112|0);
+ HEAP32[$28>>2] = 0;
+ }
+ $29 = $1;
+ $30 = ((($29)) + 4752|0);
+ $31 = $1;
+ $$sink = 0;$$sink2 = $30;$$sink6 = $31;
+ $41 = ((($$sink6)) + 5780|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = (($$sink2) + ($42)|0);
+ HEAP8[$43>>0] = $$sink;
+ STACKTOP = sp;return;
+}
+function _silk_encode_frame_FLP($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0.0, $24 = 0, $240 = 0.0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0;
+ var $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0;
+ var $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0;
+ var $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0;
+ var $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0;
+ var $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0;
+ var $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0;
+ var $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0.0, $443 = 0.0, $444 = 0;
+ var $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0;
+ var $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0;
+ var $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $50 = 0, $51 = 0, $52 = 0;
+ var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0;
+ var $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0.0;
+ var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 15152|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(15152|0);
+ $13 = sp + 12920|0;
+ $22 = sp + 11608|0;
+ $23 = sp + 8920|0;
+ $24 = sp + 8872|0;
+ $25 = sp + 8824|0;
+ $26 = sp + 4444|0;
+ $27 = sp + 64|0;
+ $41 = sp + 8|0;
+ $42 = sp + 13864|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $19 = 0;
+ $33 = 0;
+ $32 = 0;
+ $31 = 0;
+ $30 = 0;
+ $40 = 0;
+ $44 = $7;
+ $45 = ((($44)) + 4644|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = (($46) + 1)|0;
+ HEAP32[$45>>2] = $47;
+ $48 = $46 & 3;
+ $49 = $48&255;
+ $50 = $7;
+ $51 = ((($50)) + 4768|0);
+ $52 = ((($51)) + 34|0);
+ HEAP8[$52>>0] = $49;
+ $53 = $7;
+ $54 = ((($53)) + 9356|0);
+ $55 = $7;
+ $56 = ((($55)) + 4616|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = (($54) + ($57<<2)|0);
+ $20 = $58;
+ $59 = $7;
+ $60 = ((($59)) + 4616|0);
+ $61 = HEAP32[$60>>2]|0;
+ $62 = (($23) + ($61<<2)|0);
+ $21 = $62;
+ $63 = $7;
+ $64 = ((($63)) + 16|0);
+ $65 = $7;
+ $66 = ((($65)) + 5128|0);
+ $67 = ((($66)) + 2|0);
+ $68 = $7;
+ $69 = ((($68)) + 4608|0);
+ $70 = HEAP32[$69>>2]|0;
+ _silk_LP_variable_cutoff($64,$67,$70);
+ $71 = $20;
+ $72 = $7;
+ $73 = ((($72)) + 4600|0);
+ $74 = HEAP32[$73>>2]|0;
+ $75 = ($74*5)|0;
+ $76 = (($71) + ($75<<2)|0);
+ $77 = $7;
+ $78 = ((($77)) + 5128|0);
+ $79 = ((($78)) + 2|0);
+ $80 = $7;
+ $81 = ((($80)) + 4608|0);
+ $82 = HEAP32[$81>>2]|0;
+ _silk_short2float_array_280($76,$79,$82);
+ $14 = 0;
+ while(1) {
+ $83 = $14;
+ $84 = ($83|0)<(8);
+ if (!($84)) {
+ break;
+ }
+ $85 = $14;
+ $86 = $85 & 2;
+ $87 = (1 - ($86))|0;
+ $88 = (+($87|0));
+ $89 = $88 * 9.9999999747524271E-7;
+ $90 = $20;
+ $91 = $7;
+ $92 = ((($91)) + 4600|0);
+ $93 = HEAP32[$92>>2]|0;
+ $94 = ($93*5)|0;
+ $95 = $14;
+ $96 = $7;
+ $97 = ((($96)) + 4608|0);
+ $98 = HEAP32[$97>>2]|0;
+ $99 = $98 >> 3;
+ $100 = Math_imul($95, $99)|0;
+ $101 = (($94) + ($100))|0;
+ $102 = (($90) + ($101<<2)|0);
+ $103 = +HEAPF32[$102>>2];
+ $104 = $103 + $89;
+ HEAPF32[$102>>2] = $104;
+ $105 = $14;
+ $106 = (($105) + 1)|0;
+ $14 = $106;
+ }
+ $107 = $7;
+ $108 = ((($107)) + 4712|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = ($109|0)!=(0);
+ L5: do {
+ if (!($110)) {
+ $111 = $7;
+ $112 = $20;
+ $113 = $7;
+ $114 = ((($113)) + 5124|0);
+ $115 = HEAP32[$114>>2]|0;
+ _silk_find_pitch_lags_FLP($111,$13,$23,$112,$115);
+ $116 = $7;
+ $117 = $21;
+ $118 = $20;
+ _silk_noise_shape_analysis_FLP($116,$13,$117,$118);
+ $119 = $7;
+ $120 = $20;
+ $121 = $10;
+ _silk_find_pred_coefs_FLP($119,$13,$23,$120,$121);
+ $122 = $7;
+ $123 = $10;
+ _silk_process_gains_FLP($122,$13,$123);
+ $124 = $7;
+ $125 = $20;
+ _silk_prefilter_FLP($124,$13,$22,$125);
+ $126 = $7;
+ $127 = $10;
+ _silk_LBRR_encode_FLP($126,$13,$22,$127);
+ $16 = 6;
+ $37 = 256;
+ $18 = 0;
+ $17 = 0;
+ $128 = $7;
+ $129 = ((($128)) + 4768|0);
+ $130 = $7;
+ $131 = ((($130)) + 4604|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = (_silk_gains_ID($129,$132)|0);
+ $34 = $133;
+ $35 = -1;
+ $36 = -1;
+ $134 = $9;
+ dest=$24; src=$134; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $135 = $7;
+ $136 = ((($135)) + 144|0);
+ _memcpy(($26|0),($136|0),4380)|0;
+ $137 = $7;
+ $138 = ((($137)) + 4768|0);
+ $139 = ((($138)) + 34|0);
+ $140 = HEAP8[$139>>0]|0;
+ $141 = $140 << 24 >> 24;
+ $28 = $141;
+ $142 = $7;
+ $143 = ((($142)) + 5804|0);
+ $144 = HEAP16[$143>>1]|0;
+ $38 = $144;
+ $145 = $7;
+ $146 = ((($145)) + 5800|0);
+ $147 = HEAP32[$146>>2]|0;
+ $39 = $147;
+ $15 = 0;
+ while(1) {
+ $148 = $34;
+ $149 = $35;
+ $150 = ($148|0)==($149|0);
+ do {
+ if ($150) {
+ $151 = $30;
+ $29 = $151;
+ } else {
+ $152 = $34;
+ $153 = $36;
+ $154 = ($152|0)==($153|0);
+ if ($154) {
+ $155 = $31;
+ $29 = $155;
+ break;
+ }
+ $156 = $15;
+ $157 = ($156|0)>(0);
+ if ($157) {
+ $158 = $9;
+ dest=$158; src=$24; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $159 = $7;
+ $160 = ((($159)) + 144|0);
+ _memcpy(($160|0),($26|0),4380)|0;
+ $161 = $28;
+ $162 = $161&255;
+ $163 = $7;
+ $164 = ((($163)) + 4768|0);
+ $165 = ((($164)) + 34|0);
+ HEAP8[$165>>0] = $162;
+ $166 = $38;
+ $167 = $7;
+ $168 = ((($167)) + 5804|0);
+ HEAP16[$168>>1] = $166;
+ $169 = $39;
+ $170 = $7;
+ $171 = ((($170)) + 5800|0);
+ HEAP32[$171>>2] = $169;
+ }
+ $172 = $7;
+ $173 = $7;
+ $174 = ((($173)) + 4768|0);
+ $175 = $7;
+ $176 = ((($175)) + 144|0);
+ $177 = $7;
+ $178 = ((($177)) + 4804|0);
+ _silk_NSQ_wrapper_FLP($172,$13,$174,$176,$178,$22);
+ $179 = $7;
+ $180 = $9;
+ $181 = $7;
+ $182 = ((($181)) + 5780|0);
+ $183 = HEAP32[$182>>2]|0;
+ $184 = $10;
+ _silk_encode_indices($179,$180,$183,0,$184);
+ $185 = $9;
+ $186 = $7;
+ $187 = ((($186)) + 4768|0);
+ $188 = ((($187)) + 29|0);
+ $189 = HEAP8[$188>>0]|0;
+ $190 = $189 << 24 >> 24;
+ $191 = $7;
+ $192 = ((($191)) + 4768|0);
+ $193 = ((($192)) + 30|0);
+ $194 = HEAP8[$193>>0]|0;
+ $195 = $194 << 24 >> 24;
+ $196 = $7;
+ $197 = ((($196)) + 4804|0);
+ $198 = $7;
+ $199 = ((($198)) + 4608|0);
+ $200 = HEAP32[$199>>2]|0;
+ _silk_encode_pulses($185,$190,$195,$197,$200);
+ $201 = $9;
+ $202 = (_ec_tell_281($201)|0);
+ $29 = $202;
+ $203 = $12;
+ $204 = ($203|0)==(0);
+ $205 = $15;
+ $206 = ($205|0)==(0);
+ $or$cond = $204 & $206;
+ if ($or$cond) {
+ $207 = $29;
+ $208 = $11;
+ $209 = ($207|0)<=($208|0);
+ if ($209) {
+ break L5;
+ }
+ }
+ }
+ } while(0);
+ $210 = $15;
+ $211 = $16;
+ $212 = ($210|0)==($211|0);
+ if ($212) {
+ break;
+ }
+ $231 = $29;
+ $232 = $11;
+ $233 = ($231|0)>($232|0);
+ do {
+ if ($233) {
+ $234 = $18;
+ $235 = ($234|0)==(0);
+ $236 = $15;
+ $237 = ($236|0)>=(2);
+ $or$cond3 = $235 & $237;
+ if ($or$cond3) {
+ $238 = ((($13)) + 852|0);
+ $239 = +HEAPF32[$238>>2];
+ $240 = $239 * 1.5;
+ HEAPF32[$238>>2] = $240;
+ $17 = 0;
+ $36 = -1;
+ break;
+ } else {
+ $17 = 1;
+ $241 = $29;
+ $31 = $241;
+ $242 = $37;
+ $243 = $242 << 16 >> 16;
+ $33 = $243;
+ $244 = $34;
+ $36 = $244;
+ break;
+ }
+ } else {
+ $245 = $29;
+ $246 = $11;
+ $247 = (($246) - 5)|0;
+ $248 = ($245|0)<($247|0);
+ if (!($248)) {
+ break L5;
+ }
+ $18 = 1;
+ $249 = $29;
+ $30 = $249;
+ $250 = $37;
+ $251 = $250 << 16 >> 16;
+ $32 = $251;
+ $252 = $34;
+ $253 = $35;
+ $254 = ($252|0)!=($253|0);
+ if ($254) {
+ $255 = $34;
+ $35 = $255;
+ $256 = $9;
+ dest=$25; src=$256; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $257 = $9;
+ $258 = HEAP32[$257>>2]|0;
+ $259 = $9;
+ $260 = ((($259)) + 24|0);
+ $261 = HEAP32[$260>>2]|0;
+ _memcpy(($42|0),($258|0),($261|0))|0;
+ $262 = $7;
+ $263 = ((($262)) + 144|0);
+ _memcpy(($27|0),($263|0),4380)|0;
+ $264 = $7;
+ $265 = ((($264)) + 7200|0);
+ $266 = HEAP8[$265>>0]|0;
+ $40 = $266;
+ }
+ }
+ } while(0);
+ $267 = $18;
+ $268 = $17;
+ $269 = $267 & $268;
+ $270 = ($269|0)==(0);
+ do {
+ if ($270) {
+ $271 = $29;
+ $272 = $11;
+ $273 = (($271) - ($272))|0;
+ $274 = $273 << 7;
+ $275 = $7;
+ $276 = ((($275)) + 4608|0);
+ $277 = HEAP32[$276>>2]|0;
+ $278 = (($274|0) / ($277|0))&-1;
+ $279 = (($278) + 2048)|0;
+ $280 = (_silk_log2lin($279)|0);
+ $43 = $280;
+ $281 = $43;
+ $282 = (_silk_min_32($281,131072)|0);
+ $43 = $282;
+ $283 = $29;
+ $284 = $11;
+ $285 = ($283|0)>($284|0);
+ if ($285) {
+ $286 = $43;
+ $287 = (_silk_max_32($286,85197)|0);
+ $43 = $287;
+ }
+ $288 = $43;
+ $289 = $288 >> 16;
+ $290 = $37;
+ $291 = $290 << 16 >> 16;
+ $292 = Math_imul($289, $291)|0;
+ $293 = $43;
+ $294 = $293 & 65535;
+ $295 = $37;
+ $296 = $295 << 16 >> 16;
+ $297 = Math_imul($294, $296)|0;
+ $298 = $297 >> 16;
+ $299 = (($292) + ($298))|0;
+ $300 = $299&65535;
+ $37 = $300;
+ } else {
+ $301 = $32;
+ $302 = $33;
+ $303 = $32;
+ $304 = (($302) - ($303))|0;
+ $305 = $11;
+ $306 = $30;
+ $307 = (($305) - ($306))|0;
+ $308 = Math_imul($304, $307)|0;
+ $309 = $31;
+ $310 = $30;
+ $311 = (($309) - ($310))|0;
+ $312 = (($308|0) / ($311|0))&-1;
+ $313 = (($301) + ($312))|0;
+ $314 = $313&65535;
+ $37 = $314;
+ $315 = $37;
+ $316 = $315 << 16 >> 16;
+ $317 = $32;
+ $318 = $33;
+ $319 = $32;
+ $320 = (($318) - ($319))|0;
+ $321 = $320 >> 2;
+ $322 = (($317) + ($321))|0;
+ $323 = ($316|0)>($322|0);
+ if ($323) {
+ $324 = $32;
+ $325 = $33;
+ $326 = $32;
+ $327 = (($325) - ($326))|0;
+ $328 = $327 >> 2;
+ $329 = (($324) + ($328))|0;
+ $330 = $329&65535;
+ $37 = $330;
+ break;
+ }
+ $331 = $37;
+ $332 = $331 << 16 >> 16;
+ $333 = $33;
+ $334 = $33;
+ $335 = $32;
+ $336 = (($334) - ($335))|0;
+ $337 = $336 >> 2;
+ $338 = (($333) - ($337))|0;
+ $339 = ($332|0)<($338|0);
+ if ($339) {
+ $340 = $33;
+ $341 = $33;
+ $342 = $32;
+ $343 = (($341) - ($342))|0;
+ $344 = $343 >> 2;
+ $345 = (($340) - ($344))|0;
+ $346 = $345&65535;
+ $37 = $346;
+ }
+ }
+ } while(0);
+ $14 = 0;
+ while(1) {
+ $347 = $14;
+ $348 = $7;
+ $349 = ((($348)) + 4604|0);
+ $350 = HEAP32[$349>>2]|0;
+ $351 = ($347|0)<($350|0);
+ if (!($351)) {
+ break;
+ }
+ $352 = ((($13)) + 892|0);
+ $353 = $14;
+ $354 = (($352) + ($353<<2)|0);
+ $355 = HEAP32[$354>>2]|0;
+ $356 = $355 >> 16;
+ $357 = $37;
+ $358 = $357 << 16 >> 16;
+ $359 = Math_imul($356, $358)|0;
+ $360 = ((($13)) + 892|0);
+ $361 = $14;
+ $362 = (($360) + ($361<<2)|0);
+ $363 = HEAP32[$362>>2]|0;
+ $364 = $363 & 65535;
+ $365 = $37;
+ $366 = $365 << 16 >> 16;
+ $367 = Math_imul($364, $366)|0;
+ $368 = $367 >> 16;
+ $369 = (($359) + ($368))|0;
+ $370 = ($369|0)>(8388607);
+ if ($370) {
+ $409 = 8388607;
+ } else {
+ $371 = ((($13)) + 892|0);
+ $372 = $14;
+ $373 = (($371) + ($372<<2)|0);
+ $374 = HEAP32[$373>>2]|0;
+ $375 = $374 >> 16;
+ $376 = $37;
+ $377 = $376 << 16 >> 16;
+ $378 = Math_imul($375, $377)|0;
+ $379 = ((($13)) + 892|0);
+ $380 = $14;
+ $381 = (($379) + ($380<<2)|0);
+ $382 = HEAP32[$381>>2]|0;
+ $383 = $382 & 65535;
+ $384 = $37;
+ $385 = $384 << 16 >> 16;
+ $386 = Math_imul($383, $385)|0;
+ $387 = $386 >> 16;
+ $388 = (($378) + ($387))|0;
+ $389 = ($388|0)<(-8388608);
+ if ($389) {
+ $409 = -8388608;
+ } else {
+ $390 = ((($13)) + 892|0);
+ $391 = $14;
+ $392 = (($390) + ($391<<2)|0);
+ $393 = HEAP32[$392>>2]|0;
+ $394 = $393 >> 16;
+ $395 = $37;
+ $396 = $395 << 16 >> 16;
+ $397 = Math_imul($394, $396)|0;
+ $398 = ((($13)) + 892|0);
+ $399 = $14;
+ $400 = (($398) + ($399<<2)|0);
+ $401 = HEAP32[$400>>2]|0;
+ $402 = $401 & 65535;
+ $403 = $37;
+ $404 = $403 << 16 >> 16;
+ $405 = Math_imul($402, $404)|0;
+ $406 = $405 >> 16;
+ $407 = (($397) + ($406))|0;
+ $409 = $407;
+ }
+ }
+ $408 = $409 << 8;
+ $410 = $14;
+ $411 = (($41) + ($410<<2)|0);
+ HEAP32[$411>>2] = $408;
+ $412 = $14;
+ $413 = (($412) + 1)|0;
+ $14 = $413;
+ }
+ $414 = ((($13)) + 908|0);
+ $415 = HEAP8[$414>>0]|0;
+ $416 = $7;
+ $417 = ((($416)) + 7200|0);
+ HEAP8[$417>>0] = $415;
+ $418 = $7;
+ $419 = ((($418)) + 4768|0);
+ $420 = $7;
+ $421 = ((($420)) + 7200|0);
+ $422 = $10;
+ $423 = ($422|0)==(2);
+ $424 = $423&1;
+ $425 = $7;
+ $426 = ((($425)) + 4604|0);
+ $427 = HEAP32[$426>>2]|0;
+ _silk_gains_quant($419,$41,$421,$424,$427);
+ $428 = $7;
+ $429 = ((($428)) + 4768|0);
+ $430 = $7;
+ $431 = ((($430)) + 4604|0);
+ $432 = HEAP32[$431>>2]|0;
+ $433 = (_silk_gains_ID($429,$432)|0);
+ $34 = $433;
+ $14 = 0;
+ while(1) {
+ $434 = $14;
+ $435 = $7;
+ $436 = ((($435)) + 4604|0);
+ $437 = HEAP32[$436>>2]|0;
+ $438 = ($434|0)<($437|0);
+ if (!($438)) {
+ break;
+ }
+ $439 = $14;
+ $440 = (($41) + ($439<<2)|0);
+ $441 = HEAP32[$440>>2]|0;
+ $442 = (+($441|0));
+ $443 = $442 / 65536.0;
+ $444 = $14;
+ $445 = (($13) + ($444<<2)|0);
+ HEAPF32[$445>>2] = $443;
+ $446 = $14;
+ $447 = (($446) + 1)|0;
+ $14 = $447;
+ }
+ $448 = $15;
+ $449 = (($448) + 1)|0;
+ $15 = $449;
+ }
+ $213 = $18;
+ $214 = ($213|0)!=(0);
+ if ($214) {
+ $215 = $34;
+ $216 = $35;
+ $217 = ($215|0)==($216|0);
+ if (!($217)) {
+ $218 = $29;
+ $219 = $11;
+ $220 = ($218|0)>($219|0);
+ if (!($220)) {
+ break;
+ }
+ }
+ $221 = $9;
+ dest=$221; src=$25; stop=dest+48|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $222 = $9;
+ $223 = HEAP32[$222>>2]|0;
+ $224 = ((($25)) + 24|0);
+ $225 = HEAP32[$224>>2]|0;
+ _memcpy(($223|0),($42|0),($225|0))|0;
+ $226 = $7;
+ $227 = ((($226)) + 144|0);
+ _memcpy(($227|0),($27|0),4380)|0;
+ $228 = $40;
+ $229 = $7;
+ $230 = ((($229)) + 7200|0);
+ HEAP8[$230>>0] = $228;
+ }
+ }
+ } while(0);
+ $450 = $7;
+ $451 = ((($450)) + 9356|0);
+ $452 = $7;
+ $453 = ((($452)) + 9356|0);
+ $454 = $7;
+ $455 = ((($454)) + 4608|0);
+ $456 = HEAP32[$455>>2]|0;
+ $457 = (($453) + ($456<<2)|0);
+ $458 = $7;
+ $459 = ((($458)) + 4616|0);
+ $460 = HEAP32[$459>>2]|0;
+ $461 = $7;
+ $462 = ((($461)) + 4600|0);
+ $463 = HEAP32[$462>>2]|0;
+ $464 = ($463*5)|0;
+ $465 = (($460) + ($464))|0;
+ $466 = $465<<2;
+ _memmove(($451|0),($457|0),($466|0))|0;
+ $467 = $7;
+ $468 = ((($467)) + 4712|0);
+ $469 = HEAP32[$468>>2]|0;
+ $470 = ($469|0)!=(0);
+ if ($470) {
+ $471 = $8;
+ HEAP32[$471>>2] = 0;
+ $472 = $19;
+ $6 = $472;
+ $496 = $6;
+ STACKTOP = sp;return ($496|0);
+ } else {
+ $473 = ((($13)) + 228|0);
+ $474 = $7;
+ $475 = ((($474)) + 4604|0);
+ $476 = HEAP32[$475>>2]|0;
+ $477 = (($476) - 1)|0;
+ $478 = (($473) + ($477<<2)|0);
+ $479 = HEAP32[$478>>2]|0;
+ $480 = $7;
+ $481 = ((($480)) + 4568|0);
+ HEAP32[$481>>2] = $479;
+ $482 = $7;
+ $483 = ((($482)) + 4768|0);
+ $484 = ((($483)) + 29|0);
+ $485 = HEAP8[$484>>0]|0;
+ $486 = $7;
+ $487 = ((($486)) + 4565|0);
+ HEAP8[$487>>0] = $485;
+ $488 = $7;
+ $489 = ((($488)) + 4696|0);
+ HEAP32[$489>>2] = 0;
+ $490 = $9;
+ $491 = (_ec_tell_281($490)|0);
+ $492 = (($491) + 7)|0;
+ $493 = $492 >> 3;
+ $494 = $8;
+ HEAP32[$494>>2] = $493;
+ $495 = $19;
+ $6 = $495;
+ $496 = $6;
+ STACKTOP = sp;return ($496|0);
+ }
+ return (0)|0;
+}
+function _silk_short2float_array_280($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $5;
+ $8 = (($7) - 1)|0;
+ $6 = $8;
+ while(1) {
+ $9 = $6;
+ $10 = ($9|0)>=(0);
+ if (!($10)) {
+ break;
+ }
+ $11 = $4;
+ $12 = $6;
+ $13 = (($11) + ($12<<1)|0);
+ $14 = HEAP16[$13>>1]|0;
+ $15 = (+($14<<16>>16));
+ $16 = $3;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ HEAPF32[$18>>2] = $15;
+ $19 = $6;
+ $20 = (($19) + -1)|0;
+ $6 = $20;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_LBRR_encode_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0;
+ var $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0;
+ var $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0;
+ var $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
+ var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
+ var $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 4448|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(4448|0);
+ $9 = sp + 4400|0;
+ $10 = sp + 4384|0;
+ $12 = sp;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $13 = $4;
+ $14 = ((($13)) + 6132|0);
+ $15 = $4;
+ $16 = ((($15)) + 5780|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = (($14) + (($17*36)|0)|0);
+ $11 = $18;
+ $19 = $4;
+ $20 = ((($19)) + 6124|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = ($21|0)!=(0);
+ if (!($22)) {
+ STACKTOP = sp;return;
+ }
+ $23 = $4;
+ $24 = ((($23)) + 4556|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = ($25|0)>(77);
+ if (!($26)) {
+ STACKTOP = sp;return;
+ }
+ $27 = $4;
+ $28 = ((($27)) + 4756|0);
+ $29 = $4;
+ $30 = ((($29)) + 5780|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = (($28) + ($31<<2)|0);
+ HEAP32[$32>>2] = 1;
+ $33 = $4;
+ $34 = ((($33)) + 144|0);
+ _memcpy(($12|0),($34|0),4380)|0;
+ $35 = $11;
+ $36 = $4;
+ $37 = ((($36)) + 4768|0);
+ dest=$35; src=$37; stop=dest+36|0; do { HEAP16[dest>>1]=HEAP16[src>>1]|0; dest=dest+2|0; src=src+2|0; } while ((dest|0) < (stop|0));
+ $38 = $5;
+ $39 = $4;
+ $40 = ((($39)) + 4604|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = $41<<2;
+ _memcpy(($10|0),($38|0),($42|0))|0;
+ $43 = $4;
+ $44 = ((($43)) + 5780|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = ($45|0)==(0);
+ if ($46) {
+ label = 5;
+ } else {
+ $47 = $4;
+ $48 = ((($47)) + 4756|0);
+ $49 = $4;
+ $50 = ((($49)) + 5780|0);
+ $51 = HEAP32[$50>>2]|0;
+ $52 = (($51) - 1)|0;
+ $53 = (($48) + ($52<<2)|0);
+ $54 = HEAP32[$53>>2]|0;
+ $55 = ($54|0)==(0);
+ if ($55) {
+ label = 5;
+ }
+ }
+ if ((label|0) == 5) {
+ $56 = $4;
+ $57 = ((($56)) + 7200|0);
+ $58 = HEAP8[$57>>0]|0;
+ $59 = $4;
+ $60 = ((($59)) + 4564|0);
+ HEAP8[$60>>0] = $58;
+ $61 = $4;
+ $62 = ((($61)) + 6128|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = $11;
+ $65 = HEAP8[$64>>0]|0;
+ $66 = $65 << 24 >> 24;
+ $67 = (($66) + ($63))|0;
+ $68 = $67&255;
+ HEAP8[$64>>0] = $68;
+ $69 = $11;
+ $70 = HEAP8[$69>>0]|0;
+ $71 = $70 << 24 >> 24;
+ $72 = (_silk_min_int_282($71,63)|0);
+ $73 = $72&255;
+ $74 = $11;
+ HEAP8[$74>>0] = $73;
+ }
+ $75 = $11;
+ $76 = $4;
+ $77 = ((($76)) + 4564|0);
+ $78 = $7;
+ $79 = ($78|0)==(2);
+ $80 = $79&1;
+ $81 = $4;
+ $82 = ((($81)) + 4604|0);
+ $83 = HEAP32[$82>>2]|0;
+ _silk_gains_dequant($9,$75,$77,$80,$83);
+ $8 = 0;
+ while(1) {
+ $84 = $8;
+ $85 = $4;
+ $86 = ((($85)) + 4604|0);
+ $87 = HEAP32[$86>>2]|0;
+ $88 = ($84|0)<($87|0);
+ if (!($88)) {
+ break;
+ }
+ $89 = $8;
+ $90 = (($9) + ($89<<2)|0);
+ $91 = HEAP32[$90>>2]|0;
+ $92 = (+($91|0));
+ $93 = $92 * 1.52587890625E-5;
+ $94 = $5;
+ $95 = $8;
+ $96 = (($94) + ($95<<2)|0);
+ HEAPF32[$96>>2] = $93;
+ $97 = $8;
+ $98 = (($97) + 1)|0;
+ $8 = $98;
+ }
+ $99 = $4;
+ $100 = $5;
+ $101 = $11;
+ $102 = $4;
+ $103 = ((($102)) + 6240|0);
+ $104 = $4;
+ $105 = ((($104)) + 5780|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = (($103) + (($106*320)|0)|0);
+ $108 = $6;
+ _silk_NSQ_wrapper_FLP($99,$100,$101,$12,$107,$108);
+ $109 = $5;
+ $110 = $4;
+ $111 = ((($110)) + 4604|0);
+ $112 = HEAP32[$111>>2]|0;
+ $113 = $112<<2;
+ _memcpy(($109|0),($10|0),($113|0))|0;
+ STACKTOP = sp;return;
+}
+function _ec_tell_281($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 20|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $1;
+ $6 = ((($5)) + 28|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (Math_clz32(($7|0))|0);
+ $9 = (32 - ($8))|0;
+ $10 = (($4) - ($9))|0;
+ STACKTOP = sp;return ($10|0);
+}
+function _silk_min_32($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_max_32($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_min_int_282($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_find_pitch_lags_FLP($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$sink = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0, $115 = 0.0, $116 = 0.0;
+ var $117 = 0.0, $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0.0;
+ var $153 = 0.0, $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0.0, $164 = 0.0, $165 = 0.0, $166 = 0, $167 = 0, $168 = 0, $169 = 0.0, $17 = 0, $170 = 0.0;
+ var $171 = 0.0, $172 = 0.0, $173 = 0.0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0;
+ var $19 = 0, $190 = 0, $191 = 0.0, $192 = 0.0, $193 = 0.0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0;
+ var $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 1792|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1792|0);
+ $15 = sp + 1672|0;
+ $16 = sp + 1608|0;
+ $17 = sp + 1544|0;
+ $18 = sp + 8|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $20 = $5;
+ $21 = ((($20)) + 4620|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = $5;
+ $24 = ((($23)) + 4608|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = (($22) + ($25))|0;
+ $27 = $5;
+ $28 = ((($27)) + 4616|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = (($26) + ($29))|0;
+ $10 = $30;
+ $31 = $8;
+ $32 = $5;
+ $33 = ((($32)) + 4616|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = (0 - ($34))|0;
+ $36 = (($31) + ($35<<2)|0);
+ $14 = $36;
+ $37 = $14;
+ $38 = $10;
+ $39 = (($37) + ($38<<2)|0);
+ $40 = $5;
+ $41 = ((($40)) + 4572|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = (0 - ($42))|0;
+ $44 = (($39) + ($43<<2)|0);
+ $13 = $44;
+ $19 = $18;
+ $45 = $19;
+ $46 = $13;
+ $47 = $5;
+ $48 = ((($47)) + 4620|0);
+ $49 = HEAP32[$48>>2]|0;
+ _silk_apply_sine_window_FLP($45,$46,1,$49);
+ $50 = $5;
+ $51 = ((($50)) + 4620|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = $19;
+ $54 = (($53) + ($52<<2)|0);
+ $19 = $54;
+ $55 = $5;
+ $56 = ((($55)) + 4620|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = $13;
+ $59 = (($58) + ($57<<2)|0);
+ $13 = $59;
+ $60 = $19;
+ $61 = $13;
+ $62 = $5;
+ $63 = ((($62)) + 4572|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = $5;
+ $66 = ((($65)) + 4620|0);
+ $67 = HEAP32[$66>>2]|0;
+ $68 = $67 << 1;
+ $69 = (($64) - ($68))|0;
+ $70 = $69<<2;
+ _memcpy(($60|0),($61|0),($70|0))|0;
+ $71 = $5;
+ $72 = ((($71)) + 4572|0);
+ $73 = HEAP32[$72>>2]|0;
+ $74 = $5;
+ $75 = ((($74)) + 4620|0);
+ $76 = HEAP32[$75>>2]|0;
+ $77 = $76 << 1;
+ $78 = (($73) - ($77))|0;
+ $79 = $19;
+ $80 = (($79) + ($78<<2)|0);
+ $19 = $80;
+ $81 = $5;
+ $82 = ((($81)) + 4572|0);
+ $83 = HEAP32[$82>>2]|0;
+ $84 = $5;
+ $85 = ((($84)) + 4620|0);
+ $86 = HEAP32[$85>>2]|0;
+ $87 = $86 << 1;
+ $88 = (($83) - ($87))|0;
+ $89 = $13;
+ $90 = (($89) + ($88<<2)|0);
+ $13 = $90;
+ $91 = $19;
+ $92 = $13;
+ $93 = $5;
+ $94 = ((($93)) + 4620|0);
+ $95 = HEAP32[$94>>2]|0;
+ _silk_apply_sine_window_FLP($91,$92,2,$95);
+ $96 = $5;
+ $97 = ((($96)) + 4572|0);
+ $98 = HEAP32[$97>>2]|0;
+ $99 = $5;
+ $100 = ((($99)) + 4672|0);
+ $101 = HEAP32[$100>>2]|0;
+ $102 = (($101) + 1)|0;
+ _silk_autocorrelation_FLP($15,$18,$98,$102);
+ $103 = +HEAPF32[$15>>2];
+ $104 = $103 * 0.0010000000474974513;
+ $105 = $104 + 1.0;
+ $106 = +HEAPF32[$15>>2];
+ $107 = $106 + $105;
+ HEAPF32[$15>>2] = $107;
+ $108 = $5;
+ $109 = ((($108)) + 4672|0);
+ $110 = HEAP32[$109>>2]|0;
+ $111 = (+_silk_schur_FLP($17,$15,$110));
+ $12 = $111;
+ $112 = +HEAPF32[$15>>2];
+ $113 = $12;
+ $114 = $113 > 1.0;
+ $115 = $12;
+ $116 = $114 ? $115 : 1.0;
+ $117 = $112 / $116;
+ $118 = $6;
+ $119 = ((($118)) + 868|0);
+ HEAPF32[$119>>2] = $117;
+ $120 = $5;
+ $121 = ((($120)) + 4672|0);
+ $122 = HEAP32[$121>>2]|0;
+ _silk_k2a_FLP($16,$17,$122);
+ $123 = $5;
+ $124 = ((($123)) + 4672|0);
+ $125 = HEAP32[$124>>2]|0;
+ _silk_bwexpander_FLP($16,$125,0.99000000953674316);
+ $126 = $7;
+ $127 = $14;
+ $128 = $10;
+ $129 = $5;
+ $130 = ((($129)) + 4672|0);
+ $131 = HEAP32[$130>>2]|0;
+ _silk_LPC_analysis_filter_FLP($126,$16,$127,$128,$131);
+ $132 = $5;
+ $133 = ((($132)) + 4768|0);
+ $134 = ((($133)) + 29|0);
+ $135 = HEAP8[$134>>0]|0;
+ $136 = $135 << 24 >> 24;
+ $137 = ($136|0)!=(0);
+ if ($137) {
+ $138 = $5;
+ $139 = ((($138)) + 4696|0);
+ $140 = HEAP32[$139>>2]|0;
+ $141 = ($140|0)==(0);
+ if ($141) {
+ $11 = 0.60000002384185791;
+ $142 = $5;
+ $143 = ((($142)) + 4672|0);
+ $144 = HEAP32[$143>>2]|0;
+ $145 = (+($144|0));
+ $146 = 0.0040000001899898052 * $145;
+ $147 = $11;
+ $148 = $147 - $146;
+ $11 = $148;
+ $149 = $5;
+ $150 = ((($149)) + 4556|0);
+ $151 = HEAP32[$150>>2]|0;
+ $152 = (+($151|0));
+ $153 = 0.10000000149011612 * $152;
+ $154 = $153 * 0.00390625;
+ $155 = $11;
+ $156 = $155 - $154;
+ $11 = $156;
+ $157 = $5;
+ $158 = ((($157)) + 4565|0);
+ $159 = HEAP8[$158>>0]|0;
+ $160 = $159 << 24 >> 24;
+ $161 = $160 >> 1;
+ $162 = (+($161|0));
+ $163 = 0.15000000596046448 * $162;
+ $164 = $11;
+ $165 = $164 - $163;
+ $11 = $165;
+ $166 = $5;
+ $167 = ((($166)) + 4744|0);
+ $168 = HEAP32[$167>>2]|0;
+ $169 = (+($168|0));
+ $170 = 0.10000000149011612 * $169;
+ $171 = $170 * 3.0517578125E-5;
+ $172 = $11;
+ $173 = $172 - $171;
+ $11 = $173;
+ $174 = $7;
+ $175 = $6;
+ $176 = ((($175)) + 228|0);
+ $177 = $5;
+ $178 = ((($177)) + 4768|0);
+ $179 = ((($178)) + 26|0);
+ $180 = $5;
+ $181 = ((($180)) + 4768|0);
+ $182 = ((($181)) + 28|0);
+ $183 = $5;
+ $184 = ((($183)) + 12236|0);
+ $185 = $5;
+ $186 = ((($185)) + 4568|0);
+ $187 = HEAP32[$186>>2]|0;
+ $188 = $5;
+ $189 = ((($188)) + 4676|0);
+ $190 = HEAP32[$189>>2]|0;
+ $191 = (+($190|0));
+ $192 = $191 / 65536.0;
+ $193 = $11;
+ $194 = $5;
+ $195 = ((($194)) + 4600|0);
+ $196 = HEAP32[$195>>2]|0;
+ $197 = $5;
+ $198 = ((($197)) + 4668|0);
+ $199 = HEAP32[$198>>2]|0;
+ $200 = $5;
+ $201 = ((($200)) + 4604|0);
+ $202 = HEAP32[$201>>2]|0;
+ $203 = $9;
+ $204 = (_silk_pitch_analysis_core_FLP($174,$176,$179,$182,$184,$187,$192,$193,$196,$199,$202,$203)|0);
+ $205 = ($204|0)==(0);
+ $206 = $5;
+ $207 = ((($206)) + 4768|0);
+ $208 = ((($207)) + 29|0);
+ $$sink = $205 ? 2 : 1;
+ HEAP8[$208>>0] = $$sink;
+ STACKTOP = sp;return;
+ }
+ }
+ $209 = $6;
+ $210 = ((($209)) + 228|0);
+ ;HEAP32[$210>>2]=0|0;HEAP32[$210+4>>2]=0|0;HEAP32[$210+8>>2]=0|0;HEAP32[$210+12>>2]=0|0;
+ $211 = $5;
+ $212 = ((($211)) + 4768|0);
+ $213 = ((($212)) + 26|0);
+ HEAP16[$213>>1] = 0;
+ $214 = $5;
+ $215 = ((($214)) + 4768|0);
+ $216 = ((($215)) + 28|0);
+ HEAP8[$216>>0] = 0;
+ $217 = $5;
+ $218 = ((($217)) + 12236|0);
+ HEAPF32[$218>>2] = 0.0;
+ STACKTOP = sp;return;
+}
+function _silk_find_pred_coefs_FLP($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0.0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0.0, $165 = 0.0, $166 = 0.0, $167 = 0.0, $168 = 0.0, $169 = 0.0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0.0, $173 = 0.0, $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0, $178 = 0.0, $179 = 0, $18 = 0.0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0.0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0;
+ var $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 2048|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(2048|0);
+ $11 = sp + 1584|0;
+ $12 = sp + 1568|0;
+ $13 = sp + 1552|0;
+ $14 = sp + 2008|0;
+ $17 = sp + 8|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = 0;
+ while(1) {
+ $19 = $10;
+ $20 = $5;
+ $21 = ((($20)) + 4604|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = ($19|0)<($22|0);
+ if (!($23)) {
+ break;
+ }
+ $24 = $6;
+ $25 = $10;
+ $26 = (($24) + ($25<<2)|0);
+ $27 = +HEAPF32[$26>>2];
+ $28 = 1.0 / $27;
+ $29 = $10;
+ $30 = (($12) + ($29<<2)|0);
+ HEAPF32[$30>>2] = $28;
+ $31 = $10;
+ $32 = (($12) + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $10;
+ $35 = (($12) + ($34<<2)|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $33 * $36;
+ $38 = $10;
+ $39 = (($13) + ($38<<2)|0);
+ HEAPF32[$39>>2] = $37;
+ $40 = $10;
+ $41 = (($40) + 1)|0;
+ $10 = $41;
+ }
+ $42 = $5;
+ $43 = ((($42)) + 4768|0);
+ $44 = ((($43)) + 29|0);
+ $45 = HEAP8[$44>>0]|0;
+ $46 = $45 << 24 >> 24;
+ $47 = ($46|0)==(2);
+ if ($47) {
+ $48 = $6;
+ $49 = ((($48)) + 144|0);
+ $50 = $6;
+ $51 = ((($50)) + 872|0);
+ $52 = $7;
+ $53 = $6;
+ $54 = ((($53)) + 228|0);
+ $55 = $5;
+ $56 = ((($55)) + 4612|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = $5;
+ $59 = ((($58)) + 4604|0);
+ $60 = HEAP32[$59>>2]|0;
+ $61 = $5;
+ $62 = ((($61)) + 4616|0);
+ $63 = HEAP32[$62>>2]|0;
+ _silk_find_LTP_FLP($49,$11,$51,$52,$54,$13,$57,$60,$63);
+ $64 = $6;
+ $65 = ((($64)) + 144|0);
+ $66 = $5;
+ $67 = ((($66)) + 4768|0);
+ $68 = ((($67)) + 4|0);
+ $69 = $5;
+ $70 = ((($69)) + 4768|0);
+ $71 = ((($70)) + 32|0);
+ $72 = $5;
+ $73 = ((($72)) + 4688|0);
+ $74 = $5;
+ $75 = ((($74)) + 4684|0);
+ $76 = HEAP32[$75>>2]|0;
+ $77 = $5;
+ $78 = ((($77)) + 4680|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = $5;
+ $81 = ((($80)) + 4604|0);
+ $82 = HEAP32[$81>>2]|0;
+ $83 = $5;
+ $84 = ((($83)) + 5124|0);
+ $85 = HEAP32[$84>>2]|0;
+ _silk_quant_LTP_gains_FLP($65,$68,$71,$73,$11,$76,$79,$82,$85);
+ $86 = $5;
+ $87 = $6;
+ $88 = $9;
+ _silk_LTP_scale_ctrl_FLP($86,$87,$88);
+ $89 = $8;
+ $90 = $5;
+ $91 = ((($90)) + 4664|0);
+ $92 = HEAP32[$91>>2]|0;
+ $93 = (0 - ($92))|0;
+ $94 = (($89) + ($93<<2)|0);
+ $95 = $6;
+ $96 = ((($95)) + 144|0);
+ $97 = $6;
+ $98 = ((($97)) + 228|0);
+ $99 = $5;
+ $100 = ((($99)) + 4612|0);
+ $101 = HEAP32[$100>>2]|0;
+ $102 = $5;
+ $103 = ((($102)) + 4604|0);
+ $104 = HEAP32[$103>>2]|0;
+ $105 = $5;
+ $106 = ((($105)) + 4664|0);
+ $107 = HEAP32[$106>>2]|0;
+ _silk_LTP_analysis_filter_FLP($17,$94,$96,$98,$12,$101,$104,$107);
+ } else {
+ $108 = $8;
+ $109 = $5;
+ $110 = ((($109)) + 4664|0);
+ $111 = HEAP32[$110>>2]|0;
+ $112 = (0 - ($111))|0;
+ $113 = (($108) + ($112<<2)|0);
+ $15 = $113;
+ $16 = $17;
+ $10 = 0;
+ while(1) {
+ $114 = $10;
+ $115 = $5;
+ $116 = ((($115)) + 4604|0);
+ $117 = HEAP32[$116>>2]|0;
+ $118 = ($114|0)<($117|0);
+ if (!($118)) {
+ break;
+ }
+ $119 = $16;
+ $120 = $15;
+ $121 = $10;
+ $122 = (($12) + ($121<<2)|0);
+ $123 = +HEAPF32[$122>>2];
+ $124 = $5;
+ $125 = ((($124)) + 4612|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = $5;
+ $128 = ((($127)) + 4664|0);
+ $129 = HEAP32[$128>>2]|0;
+ $130 = (($126) + ($129))|0;
+ _silk_scale_copy_vector_FLP($119,$120,$123,$130);
+ $131 = $5;
+ $132 = ((($131)) + 4612|0);
+ $133 = HEAP32[$132>>2]|0;
+ $134 = $5;
+ $135 = ((($134)) + 4664|0);
+ $136 = HEAP32[$135>>2]|0;
+ $137 = (($133) + ($136))|0;
+ $138 = $16;
+ $139 = (($138) + ($137<<2)|0);
+ $16 = $139;
+ $140 = $5;
+ $141 = ((($140)) + 4612|0);
+ $142 = HEAP32[$141>>2]|0;
+ $143 = $15;
+ $144 = (($143) + ($142<<2)|0);
+ $15 = $144;
+ $145 = $10;
+ $146 = (($145) + 1)|0;
+ $10 = $146;
+ }
+ $147 = $6;
+ $148 = ((($147)) + 144|0);
+ $149 = $5;
+ $150 = ((($149)) + 4604|0);
+ $151 = HEAP32[$150>>2]|0;
+ $152 = ($151*5)|0;
+ $153 = $152<<2;
+ _memset(($148|0),0,($153|0))|0;
+ $154 = $6;
+ $155 = ((($154)) + 872|0);
+ HEAPF32[$155>>2] = 0.0;
+ $156 = $5;
+ $157 = ((($156)) + 4688|0);
+ HEAP32[$157>>2] = 0;
+ }
+ $158 = $5;
+ $159 = ((($158)) + 4696|0);
+ $160 = HEAP32[$159>>2]|0;
+ $161 = ($160|0)!=(0);
+ if ($161) {
+ $18 = 0.0099999997764825821;
+ $177 = $5;
+ $178 = $18;
+ _silk_find_LPC_FLP($177,$14,$17,$178);
+ $179 = $5;
+ $180 = $6;
+ $181 = ((($180)) + 16|0);
+ $182 = $5;
+ $183 = ((($182)) + 4524|0);
+ _silk_process_NLSFs_FLP($179,$181,$14,$183);
+ $184 = $6;
+ $185 = ((($184)) + 876|0);
+ $186 = $6;
+ $187 = ((($186)) + 16|0);
+ $188 = $6;
+ $189 = $5;
+ $190 = ((($189)) + 4612|0);
+ $191 = HEAP32[$190>>2]|0;
+ $192 = $5;
+ $193 = ((($192)) + 4604|0);
+ $194 = HEAP32[$193>>2]|0;
+ $195 = $5;
+ $196 = ((($195)) + 4664|0);
+ $197 = HEAP32[$196>>2]|0;
+ _silk_residual_energy_FLP($185,$17,$187,$188,$191,$194,$197);
+ $198 = $5;
+ $199 = ((($198)) + 4524|0);
+ dest=$199; src=$14; stop=dest+32|0; do { HEAP16[dest>>1]=HEAP16[src>>1]|0; dest=dest+2|0; src=src+2|0; } while ((dest|0) < (stop|0));
STACKTOP = sp;return;
} else {
- $65 = $PredCoef_Q12$addr;
- $66 = $PredCoef_Q12$addr;
- $arrayidx76 = ((($66)) + 32|0);
- $67 = $psEncC$addr;
- $predictLPCOrder78 = ((($67)) + 4664|0);
- $68 = HEAP32[$predictLPCOrder78>>2]|0;
- $mul79 = $68<<1;
- _memcpy(($65|0),($arrayidx76|0),($mul79|0))|0;
+ $162 = $6;
+ $163 = ((($162)) + 872|0);
+ $164 = +HEAPF32[$163>>2];
+ $165 = $164 / 3.0;
+ $166 = $165;
+ $167 = (+Math_pow(2.0,(+$166)));
+ $168 = $167;
+ $169 = $168 / 1.0E+4;
+ $18 = $169;
+ $170 = $6;
+ $171 = ((($170)) + 860|0);
+ $172 = +HEAPF32[$171>>2];
+ $173 = 0.75 * $172;
+ $174 = 0.25 + $173;
+ $175 = $18;
+ $176 = $175 / $174;
+ $18 = $176;
+ $177 = $5;
+ $178 = $18;
+ _silk_find_LPC_FLP($177,$14,$17,$178);
+ $179 = $5;
+ $180 = $6;
+ $181 = ((($180)) + 16|0);
+ $182 = $5;
+ $183 = ((($182)) + 4524|0);
+ _silk_process_NLSFs_FLP($179,$181,$14,$183);
+ $184 = $6;
+ $185 = ((($184)) + 876|0);
+ $186 = $6;
+ $187 = ((($186)) + 16|0);
+ $188 = $6;
+ $189 = $5;
+ $190 = ((($189)) + 4612|0);
+ $191 = HEAP32[$190>>2]|0;
+ $192 = $5;
+ $193 = ((($192)) + 4604|0);
+ $194 = HEAP32[$193>>2]|0;
+ $195 = $5;
+ $196 = ((($195)) + 4664|0);
+ $197 = HEAP32[$196>>2]|0;
+ _silk_residual_energy_FLP($185,$17,$187,$188,$191,$194,$197);
+ $198 = $5;
+ $199 = ((($198)) + 4524|0);
+ dest=$199; src=$14; stop=dest+32|0; do { HEAP16[dest>>1]=HEAP16[src>>1]|0; dest=dest+2|0; src=src+2|0; } while ((dest|0) < (stop|0));
STACKTOP = sp;return;
}
}
-function _silk_A2NLSF($NLSF,$a_Q16,$d) {
- $NLSF = $NLSF|0;
- $a_Q16 = $a_Q16|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $NLSF$addr = 0;
- var $P = 0, $PQ = 0, $Q = 0, $a_Q16$addr = 0, $add = 0, $add105 = 0, $add116 = 0, $add31 = 0, $add32 = 0, $add48 = 0, $add58 = 0, $add62 = 0, $add68 = 0, $add71 = 0, $add97 = 0, $and = 0, $and80 = 0, $and85 = 0, $arrayidx10 = 0, $arrayidx111 = 0;
- var $arrayidx2 = 0, $arrayidx74 = 0, $arrayidx81 = 0, $arrayidx83 = 0, $call = 0, $call12 = 0, $call127 = 0, $call133 = 0, $call33 = 0, $call72 = 0, $call9 = 0, $cmp = 0, $cmp102 = 0, $cmp128 = 0, $cmp13 = 0, $cmp15 = 0, $cmp17 = 0, $cmp20 = 0, $cmp23 = 0, $cmp28 = 0;
- var $cmp34 = 0, $cmp37 = 0, $cmp40 = 0, $cmp43 = 0, $cmp50 = 0, $cmp53 = 0, $cmp59 = 0, $cmp76 = 0, $cmp90 = 0, $cmp94 = 0, $cond = 0, $conv = 0, $conv106 = 0, $conv107 = 0, $conv109 = 0, $conv11 = 0, $conv110 = 0, $conv117 = 0, $conv118 = 0, $conv119 = 0;
- var $conv120 = 0, $conv126 = 0, $conv73 = 0, $conv84 = 0, $conv99 = 0, $d$addr = 0, $dd = 0, $den = 0, $div = 0, $div67 = 0, $div98 = 0, $ffrac = 0, $i = 0, $inc = 0, $inc113 = 0, $inc75 = 0, $inc89 = 0, $inc93 = 0, $k = 0, $m = 0;
- var $mul = 0, $mul121 = 0, $nom = 0, $or$cond = 0, $or$cond1 = 0, $p = 0, $root_ix = 0, $shl = 0, $shl70 = 0, $shl87 = 0, $shr = 0, $shr30 = 0, $shr47 = 0, $shr57 = 0, $shr66 = 0, $sub = 0, $sub122 = 0, $sub52 = 0, $sub56 = 0, $sub65 = 0;
- var $sub82 = 0, $sub86 = 0, $thr = 0, $xhi = 0, $xlo = 0, $xmid = 0, $yhi = 0, $ylo = 0, $ymid = 0, label = 0, sp = 0;
+function _silk_LPC_analysis_filter_FLP($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = $9;
+ switch ($10|0) {
+ case 6: {
+ $11 = $5;
+ $12 = $6;
+ $13 = $7;
+ $14 = $8;
+ _silk_LPC_analysis_filter6_FLP($11,$12,$13,$14);
+ break;
+ }
+ case 8: {
+ $15 = $5;
+ $16 = $6;
+ $17 = $7;
+ $18 = $8;
+ _silk_LPC_analysis_filter8_FLP($15,$16,$17,$18);
+ break;
+ }
+ case 10: {
+ $19 = $5;
+ $20 = $6;
+ $21 = $7;
+ $22 = $8;
+ _silk_LPC_analysis_filter10_FLP($19,$20,$21,$22);
+ break;
+ }
+ case 12: {
+ $23 = $5;
+ $24 = $6;
+ $25 = $7;
+ $26 = $8;
+ _silk_LPC_analysis_filter12_FLP($23,$24,$25,$26);
+ break;
+ }
+ case 16: {
+ $27 = $5;
+ $28 = $6;
+ $29 = $7;
+ $30 = $8;
+ _silk_LPC_analysis_filter16_FLP($27,$28,$29,$30);
+ break;
+ }
+ default: {
+ }
+ }
+ $31 = $5;
+ $32 = $9;
+ $33 = $32<<2;
+ _memset(($31|0),0,($33|0))|0;
+ STACKTOP = sp;return;
+}
+function _silk_LPC_analysis_filter6_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0;
+ var $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0;
+ var $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0.0;
+ var $67 = 0.0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $8 = 0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 6;
+ while(1) {
+ $11 = $8;
+ $12 = $7;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $6;
+ $15 = $8;
+ $16 = (($15) - 1)|0;
+ $17 = (($14) + ($16<<2)|0);
+ $10 = $17;
+ $18 = $10;
+ $19 = +HEAPF32[$18>>2];
+ $20 = $5;
+ $21 = +HEAPF32[$20>>2];
+ $22 = $19 * $21;
+ $23 = $10;
+ $24 = ((($23)) + -4|0);
+ $25 = +HEAPF32[$24>>2];
+ $26 = $5;
+ $27 = ((($26)) + 4|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = $25 * $28;
+ $30 = $22 + $29;
+ $31 = $10;
+ $32 = ((($31)) + -8|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $5;
+ $35 = ((($34)) + 8|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $33 * $36;
+ $38 = $30 + $37;
+ $39 = $10;
+ $40 = ((($39)) + -12|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $5;
+ $43 = ((($42)) + 12|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $41 * $44;
+ $46 = $38 + $45;
+ $47 = $10;
+ $48 = ((($47)) + -16|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = $5;
+ $51 = ((($50)) + 16|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $49 * $52;
+ $54 = $46 + $53;
+ $55 = $10;
+ $56 = ((($55)) + -20|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = $5;
+ $59 = ((($58)) + 20|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $57 * $60;
+ $62 = $54 + $61;
+ $9 = $62;
+ $63 = $10;
+ $64 = ((($63)) + 4|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $9;
+ $67 = $65 - $66;
+ $68 = $4;
+ $69 = $8;
+ $70 = (($68) + ($69<<2)|0);
+ HEAPF32[$70>>2] = $67;
+ $71 = $8;
+ $72 = (($71) + 1)|0;
+ $8 = $72;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_LPC_analysis_filter8_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0;
+ var $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0;
+ var $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0;
+ var $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 8;
+ while(1) {
+ $11 = $8;
+ $12 = $7;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $6;
+ $15 = $8;
+ $16 = (($15) - 1)|0;
+ $17 = (($14) + ($16<<2)|0);
+ $10 = $17;
+ $18 = $10;
+ $19 = +HEAPF32[$18>>2];
+ $20 = $5;
+ $21 = +HEAPF32[$20>>2];
+ $22 = $19 * $21;
+ $23 = $10;
+ $24 = ((($23)) + -4|0);
+ $25 = +HEAPF32[$24>>2];
+ $26 = $5;
+ $27 = ((($26)) + 4|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = $25 * $28;
+ $30 = $22 + $29;
+ $31 = $10;
+ $32 = ((($31)) + -8|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $5;
+ $35 = ((($34)) + 8|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $33 * $36;
+ $38 = $30 + $37;
+ $39 = $10;
+ $40 = ((($39)) + -12|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $5;
+ $43 = ((($42)) + 12|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $41 * $44;
+ $46 = $38 + $45;
+ $47 = $10;
+ $48 = ((($47)) + -16|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = $5;
+ $51 = ((($50)) + 16|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $49 * $52;
+ $54 = $46 + $53;
+ $55 = $10;
+ $56 = ((($55)) + -20|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = $5;
+ $59 = ((($58)) + 20|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $57 * $60;
+ $62 = $54 + $61;
+ $63 = $10;
+ $64 = ((($63)) + -24|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $5;
+ $67 = ((($66)) + 24|0);
+ $68 = +HEAPF32[$67>>2];
+ $69 = $65 * $68;
+ $70 = $62 + $69;
+ $71 = $10;
+ $72 = ((($71)) + -28|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $5;
+ $75 = ((($74)) + 28|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $73 * $76;
+ $78 = $70 + $77;
+ $9 = $78;
+ $79 = $10;
+ $80 = ((($79)) + 4|0);
+ $81 = +HEAPF32[$80>>2];
+ $82 = $9;
+ $83 = $81 - $82;
+ $84 = $4;
+ $85 = $8;
+ $86 = (($84) + ($85<<2)|0);
+ HEAPF32[$86>>2] = $83;
+ $87 = $8;
+ $88 = (($87) + 1)|0;
+ $8 = $88;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_LPC_analysis_filter10_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0;
+ var $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0;
+ var $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0;
+ var $62 = 0.0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0, $8 = 0;
+ var $80 = 0, $81 = 0.0, $82 = 0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0.0;
+ var $99 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 10;
+ while(1) {
+ $11 = $8;
+ $12 = $7;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $6;
+ $15 = $8;
+ $16 = (($15) - 1)|0;
+ $17 = (($14) + ($16<<2)|0);
+ $10 = $17;
+ $18 = $10;
+ $19 = +HEAPF32[$18>>2];
+ $20 = $5;
+ $21 = +HEAPF32[$20>>2];
+ $22 = $19 * $21;
+ $23 = $10;
+ $24 = ((($23)) + -4|0);
+ $25 = +HEAPF32[$24>>2];
+ $26 = $5;
+ $27 = ((($26)) + 4|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = $25 * $28;
+ $30 = $22 + $29;
+ $31 = $10;
+ $32 = ((($31)) + -8|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $5;
+ $35 = ((($34)) + 8|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $33 * $36;
+ $38 = $30 + $37;
+ $39 = $10;
+ $40 = ((($39)) + -12|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $5;
+ $43 = ((($42)) + 12|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $41 * $44;
+ $46 = $38 + $45;
+ $47 = $10;
+ $48 = ((($47)) + -16|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = $5;
+ $51 = ((($50)) + 16|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $49 * $52;
+ $54 = $46 + $53;
+ $55 = $10;
+ $56 = ((($55)) + -20|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = $5;
+ $59 = ((($58)) + 20|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $57 * $60;
+ $62 = $54 + $61;
+ $63 = $10;
+ $64 = ((($63)) + -24|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $5;
+ $67 = ((($66)) + 24|0);
+ $68 = +HEAPF32[$67>>2];
+ $69 = $65 * $68;
+ $70 = $62 + $69;
+ $71 = $10;
+ $72 = ((($71)) + -28|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $5;
+ $75 = ((($74)) + 28|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $73 * $76;
+ $78 = $70 + $77;
+ $79 = $10;
+ $80 = ((($79)) + -32|0);
+ $81 = +HEAPF32[$80>>2];
+ $82 = $5;
+ $83 = ((($82)) + 32|0);
+ $84 = +HEAPF32[$83>>2];
+ $85 = $81 * $84;
+ $86 = $78 + $85;
+ $87 = $10;
+ $88 = ((($87)) + -36|0);
+ $89 = +HEAPF32[$88>>2];
+ $90 = $5;
+ $91 = ((($90)) + 36|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = $89 * $92;
+ $94 = $86 + $93;
+ $9 = $94;
+ $95 = $10;
+ $96 = ((($95)) + 4|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $9;
+ $99 = $97 - $98;
+ $100 = $4;
+ $101 = $8;
+ $102 = (($100) + ($101<<2)|0);
+ HEAPF32[$102>>2] = $99;
+ $103 = $8;
+ $104 = (($103) + 1)|0;
+ $8 = $104;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_LPC_analysis_filter12_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0.0, $115 = 0.0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0;
+ var $29 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0;
+ var $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0, $64 = 0, $65 = 0.0;
+ var $66 = 0, $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0, $83 = 0;
+ var $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 12;
+ while(1) {
+ $11 = $8;
+ $12 = $7;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $6;
+ $15 = $8;
+ $16 = (($15) - 1)|0;
+ $17 = (($14) + ($16<<2)|0);
+ $10 = $17;
+ $18 = $10;
+ $19 = +HEAPF32[$18>>2];
+ $20 = $5;
+ $21 = +HEAPF32[$20>>2];
+ $22 = $19 * $21;
+ $23 = $10;
+ $24 = ((($23)) + -4|0);
+ $25 = +HEAPF32[$24>>2];
+ $26 = $5;
+ $27 = ((($26)) + 4|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = $25 * $28;
+ $30 = $22 + $29;
+ $31 = $10;
+ $32 = ((($31)) + -8|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $5;
+ $35 = ((($34)) + 8|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $33 * $36;
+ $38 = $30 + $37;
+ $39 = $10;
+ $40 = ((($39)) + -12|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $5;
+ $43 = ((($42)) + 12|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $41 * $44;
+ $46 = $38 + $45;
+ $47 = $10;
+ $48 = ((($47)) + -16|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = $5;
+ $51 = ((($50)) + 16|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $49 * $52;
+ $54 = $46 + $53;
+ $55 = $10;
+ $56 = ((($55)) + -20|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = $5;
+ $59 = ((($58)) + 20|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $57 * $60;
+ $62 = $54 + $61;
+ $63 = $10;
+ $64 = ((($63)) + -24|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $5;
+ $67 = ((($66)) + 24|0);
+ $68 = +HEAPF32[$67>>2];
+ $69 = $65 * $68;
+ $70 = $62 + $69;
+ $71 = $10;
+ $72 = ((($71)) + -28|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $5;
+ $75 = ((($74)) + 28|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $73 * $76;
+ $78 = $70 + $77;
+ $79 = $10;
+ $80 = ((($79)) + -32|0);
+ $81 = +HEAPF32[$80>>2];
+ $82 = $5;
+ $83 = ((($82)) + 32|0);
+ $84 = +HEAPF32[$83>>2];
+ $85 = $81 * $84;
+ $86 = $78 + $85;
+ $87 = $10;
+ $88 = ((($87)) + -36|0);
+ $89 = +HEAPF32[$88>>2];
+ $90 = $5;
+ $91 = ((($90)) + 36|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = $89 * $92;
+ $94 = $86 + $93;
+ $95 = $10;
+ $96 = ((($95)) + -40|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $5;
+ $99 = ((($98)) + 40|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = $97 * $100;
+ $102 = $94 + $101;
+ $103 = $10;
+ $104 = ((($103)) + -44|0);
+ $105 = +HEAPF32[$104>>2];
+ $106 = $5;
+ $107 = ((($106)) + 44|0);
+ $108 = +HEAPF32[$107>>2];
+ $109 = $105 * $108;
+ $110 = $102 + $109;
+ $9 = $110;
+ $111 = $10;
+ $112 = ((($111)) + 4|0);
+ $113 = +HEAPF32[$112>>2];
+ $114 = $9;
+ $115 = $113 - $114;
+ $116 = $4;
+ $117 = $8;
+ $118 = (($116) + ($117<<2)|0);
+ HEAPF32[$118>>2] = $115;
+ $119 = $8;
+ $120 = (($119) + 1)|0;
+ $8 = $120;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_LPC_analysis_filter16_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0, $115 = 0, $116 = 0.0, $117 = 0.0;
+ var $118 = 0.0, $119 = 0, $12 = 0, $120 = 0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0.0, $125 = 0.0, $126 = 0.0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0, $131 = 0, $132 = 0.0, $133 = 0.0, $134 = 0.0, $135 = 0;
+ var $136 = 0, $137 = 0.0, $138 = 0, $139 = 0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0.0, $143 = 0, $144 = 0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $16 = 0;
+ var $17 = 0, $18 = 0, $19 = 0.0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0;
+ var $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0;
+ var $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0;
+ var $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0.0, $90 = 0;
+ var $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 16;
+ while(1) {
+ $11 = $8;
+ $12 = $7;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $6;
+ $15 = $8;
+ $16 = (($15) - 1)|0;
+ $17 = (($14) + ($16<<2)|0);
+ $10 = $17;
+ $18 = $10;
+ $19 = +HEAPF32[$18>>2];
+ $20 = $5;
+ $21 = +HEAPF32[$20>>2];
+ $22 = $19 * $21;
+ $23 = $10;
+ $24 = ((($23)) + -4|0);
+ $25 = +HEAPF32[$24>>2];
+ $26 = $5;
+ $27 = ((($26)) + 4|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = $25 * $28;
+ $30 = $22 + $29;
+ $31 = $10;
+ $32 = ((($31)) + -8|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $5;
+ $35 = ((($34)) + 8|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $33 * $36;
+ $38 = $30 + $37;
+ $39 = $10;
+ $40 = ((($39)) + -12|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $5;
+ $43 = ((($42)) + 12|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $41 * $44;
+ $46 = $38 + $45;
+ $47 = $10;
+ $48 = ((($47)) + -16|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = $5;
+ $51 = ((($50)) + 16|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $49 * $52;
+ $54 = $46 + $53;
+ $55 = $10;
+ $56 = ((($55)) + -20|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = $5;
+ $59 = ((($58)) + 20|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $57 * $60;
+ $62 = $54 + $61;
+ $63 = $10;
+ $64 = ((($63)) + -24|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $5;
+ $67 = ((($66)) + 24|0);
+ $68 = +HEAPF32[$67>>2];
+ $69 = $65 * $68;
+ $70 = $62 + $69;
+ $71 = $10;
+ $72 = ((($71)) + -28|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $5;
+ $75 = ((($74)) + 28|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $73 * $76;
+ $78 = $70 + $77;
+ $79 = $10;
+ $80 = ((($79)) + -32|0);
+ $81 = +HEAPF32[$80>>2];
+ $82 = $5;
+ $83 = ((($82)) + 32|0);
+ $84 = +HEAPF32[$83>>2];
+ $85 = $81 * $84;
+ $86 = $78 + $85;
+ $87 = $10;
+ $88 = ((($87)) + -36|0);
+ $89 = +HEAPF32[$88>>2];
+ $90 = $5;
+ $91 = ((($90)) + 36|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = $89 * $92;
+ $94 = $86 + $93;
+ $95 = $10;
+ $96 = ((($95)) + -40|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $5;
+ $99 = ((($98)) + 40|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = $97 * $100;
+ $102 = $94 + $101;
+ $103 = $10;
+ $104 = ((($103)) + -44|0);
+ $105 = +HEAPF32[$104>>2];
+ $106 = $5;
+ $107 = ((($106)) + 44|0);
+ $108 = +HEAPF32[$107>>2];
+ $109 = $105 * $108;
+ $110 = $102 + $109;
+ $111 = $10;
+ $112 = ((($111)) + -48|0);
+ $113 = +HEAPF32[$112>>2];
+ $114 = $5;
+ $115 = ((($114)) + 48|0);
+ $116 = +HEAPF32[$115>>2];
+ $117 = $113 * $116;
+ $118 = $110 + $117;
+ $119 = $10;
+ $120 = ((($119)) + -52|0);
+ $121 = +HEAPF32[$120>>2];
+ $122 = $5;
+ $123 = ((($122)) + 52|0);
+ $124 = +HEAPF32[$123>>2];
+ $125 = $121 * $124;
+ $126 = $118 + $125;
+ $127 = $10;
+ $128 = ((($127)) + -56|0);
+ $129 = +HEAPF32[$128>>2];
+ $130 = $5;
+ $131 = ((($130)) + 56|0);
+ $132 = +HEAPF32[$131>>2];
+ $133 = $129 * $132;
+ $134 = $126 + $133;
+ $135 = $10;
+ $136 = ((($135)) + -60|0);
+ $137 = +HEAPF32[$136>>2];
+ $138 = $5;
+ $139 = ((($138)) + 60|0);
+ $140 = +HEAPF32[$139>>2];
+ $141 = $137 * $140;
+ $142 = $134 + $141;
+ $9 = $142;
+ $143 = $10;
+ $144 = ((($143)) + 4|0);
+ $145 = +HEAPF32[$144>>2];
+ $146 = $9;
+ $147 = $145 - $146;
+ $148 = $4;
+ $149 = $8;
+ $150 = (($148) + ($149<<2)|0);
+ HEAPF32[$150>>2] = $147;
+ $151 = $8;
+ $152 = (($151) + 1)|0;
+ $8 = $152;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_LTP_analysis_filter_FLP($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0.0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0.0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0;
+ var $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $18 = sp + 20|0;
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $24 = $9;
+ $16 = $24;
+ $25 = $8;
+ $19 = $25;
+ $21 = 0;
+ while(1) {
+ $26 = $21;
+ $27 = $14;
+ $28 = ($26|0)<($27|0);
+ if (!($28)) {
+ break;
+ }
+ $29 = $16;
+ $30 = $11;
+ $31 = $21;
+ $32 = (($30) + ($31<<2)|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = (0 - ($33))|0;
+ $35 = (($29) + ($34<<2)|0);
+ $17 = $35;
+ $36 = $12;
+ $37 = $21;
+ $38 = (($36) + ($37<<2)|0);
+ $39 = +HEAPF32[$38>>2];
+ $20 = $39;
+ $22 = 0;
+ while(1) {
+ $40 = $22;
+ $41 = ($40|0)<(5);
+ if (!($41)) {
+ break;
+ }
+ $42 = $10;
+ $43 = $21;
+ $44 = ($43*5)|0;
+ $45 = $22;
+ $46 = (($44) + ($45))|0;
+ $47 = (($42) + ($46<<2)|0);
+ $48 = +HEAPF32[$47>>2];
+ $49 = $22;
+ $50 = (($18) + ($49<<2)|0);
+ HEAPF32[$50>>2] = $48;
+ $51 = $22;
+ $52 = (($51) + 1)|0;
+ $22 = $52;
+ }
+ $22 = 0;
+ while(1) {
+ $53 = $22;
+ $54 = $13;
+ $55 = $15;
+ $56 = (($54) + ($55))|0;
+ $57 = ($53|0)<($56|0);
+ if (!($57)) {
+ break;
+ }
+ $58 = $16;
+ $59 = $22;
+ $60 = (($58) + ($59<<2)|0);
+ $61 = +HEAPF32[$60>>2];
+ $62 = $19;
+ $63 = $22;
+ $64 = (($62) + ($63<<2)|0);
+ HEAPF32[$64>>2] = $61;
+ $23 = 0;
+ while(1) {
+ $65 = $23;
+ $66 = ($65|0)<(5);
+ if (!($66)) {
+ break;
+ }
+ $67 = $23;
+ $68 = (($18) + ($67<<2)|0);
+ $69 = +HEAPF32[$68>>2];
+ $70 = $17;
+ $71 = $23;
+ $72 = (2 - ($71))|0;
+ $73 = (($70) + ($72<<2)|0);
+ $74 = +HEAPF32[$73>>2];
+ $75 = $69 * $74;
+ $76 = $19;
+ $77 = $22;
+ $78 = (($76) + ($77<<2)|0);
+ $79 = +HEAPF32[$78>>2];
+ $80 = $79 - $75;
+ HEAPF32[$78>>2] = $80;
+ $81 = $23;
+ $82 = (($81) + 1)|0;
+ $23 = $82;
+ }
+ $83 = $20;
+ $84 = $19;
+ $85 = $22;
+ $86 = (($84) + ($85<<2)|0);
+ $87 = +HEAPF32[$86>>2];
+ $88 = $87 * $83;
+ HEAPF32[$86>>2] = $88;
+ $89 = $17;
+ $90 = ((($89)) + 4|0);
+ $17 = $90;
+ $91 = $22;
+ $92 = (($91) + 1)|0;
+ $22 = $92;
+ }
+ $93 = $13;
+ $94 = $15;
+ $95 = (($93) + ($94))|0;
+ $96 = $19;
+ $97 = (($96) + ($95<<2)|0);
+ $19 = $97;
+ $98 = $13;
+ $99 = $16;
+ $100 = (($99) + ($98<<2)|0);
+ $16 = $100;
+ $101 = $21;
+ $102 = (($101) + 1)|0;
+ $21 = $102;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_LTP_scale_ctrl_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$sink = 0, $$sink3 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0;
+ var $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0;
+ var $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $5;
+ $8 = ($7|0)==(0);
+ $9 = $3;
+ if ($8) {
+ $10 = ((($9)) + 4640|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = $3;
+ $13 = ((($12)) + 5776|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = (($11) + ($14))|0;
+ $6 = $15;
+ $16 = $6;
+ $17 = (+($16|0));
+ $18 = $4;
+ $19 = ((($18)) + 872|0);
+ $20 = +HEAPF32[$19>>2];
+ $21 = $17 * $20;
+ $22 = $21 * 0.10000000149011612;
+ $23 = $22 > 2.0;
+ if ($23) {
+ $40 = 2.0;
+ } else {
+ $24 = $6;
+ $25 = (+($24|0));
+ $26 = $4;
+ $27 = ((($26)) + 872|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = $25 * $28;
+ $30 = $29 * 0.10000000149011612;
+ $31 = $30 < 0.0;
+ if ($31) {
+ $40 = 0.0;
+ } else {
+ $32 = $6;
+ $33 = (+($32|0));
+ $34 = $4;
+ $35 = ((($34)) + 872|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $33 * $36;
+ $38 = $37 * 0.10000000149011612;
+ $40 = $38;
+ }
+ }
+ $39 = (~~(($40)));
+ $41 = $3;
+ $$sink = $39;$$sink3 = $41;
+ } else {
+ $$sink = 0;$$sink3 = $9;
+ }
+ $42 = ((($$sink3)) + 4768|0);
+ $43 = ((($42)) + 33|0);
+ HEAP8[$43>>0] = $$sink;
+ $44 = $3;
+ $45 = ((($44)) + 4768|0);
+ $46 = ((($45)) + 33|0);
+ $47 = HEAP8[$46>>0]|0;
+ $48 = $47 << 24 >> 24;
+ $49 = (25006 + ($48<<1)|0);
+ $50 = HEAP16[$49>>1]|0;
+ $51 = (+($50<<16>>16));
+ $52 = $51 / 16384.0;
+ $53 = $4;
+ $54 = ((($53)) + 224|0);
+ HEAPF32[$54>>2] = $52;
+ STACKTOP = sp;return;
+}
+function _silk_noise_shape_analysis_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$sink = 0, $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0.0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0.0, $115 = 0.0, $116 = 0.0;
+ var $117 = 0.0, $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0.0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0, $145 = 0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0.0, $15 = 0.0, $150 = 0.0, $151 = 0.0, $152 = 0;
+ var $153 = 0, $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0.0, $160 = 0.0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0.0, $169 = 0.0, $17 = 0.0, $170 = 0.0;
+ var $171 = 0.0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0.0, $177 = 0, $178 = 0, $179 = 0, $18 = 0.0, $180 = 0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0, $189 = 0;
+ var $19 = 0.0, $190 = 0.0, $191 = 0.0, $192 = 0.0, $193 = 0.0, $194 = 0.0, $195 = 0.0, $196 = 0.0, $197 = 0, $198 = 0, $199 = 0.0, $20 = 0.0, $200 = 0.0, $201 = 0.0, $202 = 0.0, $203 = 0.0, $204 = 0.0, $205 = 0.0, $206 = 0.0, $207 = 0.0;
+ var $208 = 0.0, $209 = 0.0, $21 = 0.0, $210 = 0.0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0.0, $22 = 0.0, $220 = 0.0, $221 = 0, $222 = 0, $223 = 0.0, $224 = 0.0, $225 = 0.0;
+ var $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0.0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0.0, $240 = 0, $241 = 0, $242 = 0, $243 = 0;
+ var $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0.0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0.0, $260 = 0, $261 = 0;
+ var $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0.0, $27 = 0.0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0;
+ var $280 = 0, $281 = 0, $282 = 0, $283 = 0.0, $284 = 0.0, $285 = 0.0, $286 = 0.0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0.0, $296 = 0.0, $297 = 0.0, $298 = 0.0;
+ var $299 = 0.0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0.0, $313 = 0, $314 = 0, $315 = 0, $316 = 0.0;
+ var $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0.0, $321 = 0.0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0.0, $331 = 0, $332 = 0, $333 = 0, $334 = 0;
+ var $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0;
+ var $353 = 0.0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0.0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0;
+ var $371 = 0.0, $372 = 0.0, $373 = 0.0, $374 = 0.0, $375 = 0.0, $376 = 0.0, $377 = 0.0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0;
+ var $39 = 0, $390 = 0, $391 = 0, $392 = 0.0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0.0, $399 = 0.0, $4 = 0, $40 = 0, $400 = 0.0, $401 = 0.0, $402 = 0.0, $403 = 0.0, $404 = 0.0, $405 = 0, $406 = 0;
+ var $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0.0, $411 = 0, $412 = 0, $413 = 0, $414 = 0.0, $415 = 0.0, $416 = 0.0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0.0, $421 = 0.0, $422 = 0, $423 = 0, $424 = 0;
+ var $425 = 0, $426 = 0.0, $427 = 0.0, $428 = 0.0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0.0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0.0, $44 = 0, $440 = 0.0, $441 = 0, $442 = 0;
+ var $443 = 0, $444 = 0, $445 = 0, $446 = 0.0, $447 = 0.0, $448 = 0.0, $449 = 0.0, $45 = 0, $450 = 0.0, $451 = 0.0, $452 = 0, $453 = 0, $454 = 0, $455 = 0.0, $456 = 0.0, $457 = 0.0, $458 = 0.0, $459 = 0, $46 = 0.0, $460 = 0;
+ var $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0.0, $470 = 0, $471 = 0, $472 = 0, $473 = 0.0, $474 = 0.0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0;
+ var $48 = 0, $480 = 0.0, $481 = 0.0, $482 = 0.0, $483 = 0.0, $484 = 0.0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0.0, $49 = 0, $490 = 0.0, $491 = 0.0, $492 = 0.0, $493 = 0.0, $494 = 0.0, $495 = 0, $496 = 0, $497 = 0;
+ var $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0.0, $504 = 0.0, $505 = 0.0, $506 = 0.0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0.0, $511 = 0.0, $512 = 0.0, $513 = 0.0, $514 = 0;
+ var $515 = 0, $516 = 0.0, $517 = 0.0, $518 = 0.0, $519 = 0.0, $52 = 0, $520 = 0.0, $521 = 0.0, $522 = 0.0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0.0;
+ var $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0.0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0.0, $549 = 0.0, $55 = 0, $550 = 0.0;
+ var $551 = 0, $552 = 0, $553 = 0.0, $554 = 0.0, $555 = 0, $556 = 0, $557 = 0.0, $558 = 0.0, $559 = 0.0, $56 = 0.0, $560 = 0.0, $561 = 0.0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0;
+ var $57 = 0.0, $570 = 0.0, $571 = 0.0, $572 = 0, $573 = 0, $574 = 0.0, $575 = 0.0, $576 = 0.0, $577 = 0.0, $578 = 0.0, $579 = 0.0, $58 = 0.0, $580 = 0, $581 = 0, $582 = 0.0, $583 = 0.0, $584 = 0.0, $585 = 0.0, $586 = 0.0, $587 = 0.0;
+ var $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0.0, $594 = 0, $595 = 0, $596 = 0.0, $597 = 0.0, $598 = 0.0, $599 = 0, $6 = 0, $60 = 0, $600 = 0, $601 = 0.0, $602 = 0.0, $603 = 0, $604 = 0;
+ var $605 = 0.0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0.0, $610 = 0.0, $611 = 0, $612 = 0, $613 = 0.0, $614 = 0.0, $615 = 0.0, $616 = 0, $617 = 0, $618 = 0.0, $619 = 0.0, $62 = 0.0, $620 = 0, $621 = 0, $622 = 0.0;
+ var $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0.0, $628 = 0, $629 = 0, $63 = 0.0, $630 = 0.0, $631 = 0.0, $632 = 0.0, $633 = 0, $634 = 0, $635 = 0.0, $636 = 0.0, $637 = 0, $638 = 0, $639 = 0.0, $64 = 0.0, $640 = 0;
+ var $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0, $78 = 0;
+ var $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 1152|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1152|0);
+ $28 = sp + 88|0;
+ $29 = sp + 20|0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $35 = $4;
+ $36 = ((($35)) + 7200|0);
+ $8 = $36;
+ $37 = $7;
+ $38 = $4;
+ $39 = ((($38)) + 4624|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = (0 - ($40))|0;
+ $42 = (($37) + ($41<<2)|0);
+ $30 = $42;
+ $43 = $4;
+ $44 = ((($43)) + 4748|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = (+($45|0));
+ $47 = $46 * 0.0078125;
+ $11 = $47;
+ $48 = $4;
+ $49 = ((($48)) + 4728|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = $4;
+ $52 = ((($51)) + 4728|0);
+ $53 = ((($52)) + 4|0);
+ $54 = HEAP32[$53>>2]|0;
+ $55 = (($50) + ($54))|0;
+ $56 = (+($55|0));
+ $57 = 0.5 * $56;
+ $58 = $57 * 3.0517578125E-5;
+ $59 = $5;
+ $60 = ((($59)) + 856|0);
+ HEAPF32[$60>>2] = $58;
+ $61 = $11;
+ $62 = $61 - 20.0;
+ $63 = 0.25 * $62;
+ $64 = (+_silk_sigmoid($63));
+ $65 = $5;
+ $66 = ((($65)) + 860|0);
+ HEAPF32[$66>>2] = $64;
+ $67 = $4;
+ $68 = ((($67)) + 4708|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = ($69|0)==(0);
+ if ($70) {
+ $71 = $4;
+ $72 = ((($71)) + 4556|0);
+ $73 = HEAP32[$72>>2]|0;
+ $74 = (+($73|0));
+ $75 = $74 * 0.00390625;
+ $76 = 1.0 - $75;
+ $26 = $76;
+ $77 = $5;
+ $78 = ((($77)) + 860|0);
+ $79 = +HEAPF32[$78>>2];
+ $80 = 2.0 * $79;
+ $81 = $5;
+ $82 = ((($81)) + 856|0);
+ $83 = +HEAPF32[$82>>2];
+ $84 = 0.5 * $83;
+ $85 = 0.5 + $84;
+ $86 = $80 * $85;
+ $87 = $26;
+ $88 = $86 * $87;
+ $89 = $26;
+ $90 = $88 * $89;
+ $91 = $11;
+ $92 = $91 - $90;
+ $11 = $92;
+ }
+ $93 = $4;
+ $94 = ((($93)) + 4768|0);
+ $95 = ((($94)) + 29|0);
+ $96 = HEAP8[$95>>0]|0;
+ $97 = $96 << 24 >> 24;
+ $98 = ($97|0)==(2);
+ $99 = $4;
+ if ($98) {
+ $100 = ((($99)) + 12236|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = 2.0 * $101;
+ $103 = $11;
+ $104 = $103 + $102;
+ $11 = $104;
+ } else {
+ $105 = ((($99)) + 4748|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = (+($106|0));
+ $108 = -0.40000000596046448 * $107;
+ $109 = $108 * 0.0078125;
+ $110 = $109 + 6.0;
+ $111 = $5;
+ $112 = ((($111)) + 856|0);
+ $113 = +HEAPF32[$112>>2];
+ $114 = 1.0 - $113;
+ $115 = $110 * $114;
+ $116 = $11;
+ $117 = $116 + $115;
+ $11 = $117;
+ }
+ $118 = $4;
+ $119 = ((($118)) + 4768|0);
+ $120 = ((($119)) + 29|0);
+ $121 = HEAP8[$120>>0]|0;
+ $122 = $121 << 24 >> 24;
+ $123 = ($122|0)==(2);
+ $124 = $4;
+ if ($123) {
+ $125 = ((($124)) + 4768|0);
+ $126 = ((($125)) + 30|0);
+ HEAP8[$126>>0] = 0;
+ $127 = $5;
+ $128 = ((($127)) + 864|0);
+ HEAPF32[$128>>2] = 0.0;
+ } else {
+ $129 = ((($124)) + 4600|0);
+ $130 = HEAP32[$129>>2]|0;
+ $131 = $130<<1;
+ $10 = $131;
+ $19 = 0.0;
+ $18 = 0.0;
+ $132 = $6;
+ $31 = $132;
+ $9 = 0;
+ while(1) {
+ $133 = $9;
+ $134 = $4;
+ $135 = ((($134)) + 4604|0);
+ $136 = HEAP32[$135>>2]|0;
+ $137 = $136&65535;
+ $138 = $137 << 16 >> 16;
+ $139 = ($138*5)|0;
+ $140 = (($139|0) / 2)&-1;
+ $141 = ($133|0)<($140|0);
+ if (!($141)) {
+ break;
+ }
+ $142 = $10;
+ $143 = (+($142|0));
+ $144 = $31;
+ $145 = $10;
+ $146 = (+_silk_energy_FLP($144,$145));
+ $147 = $146;
+ $148 = $143 + $147;
+ $15 = $148;
+ $149 = $15;
+ $150 = $149;
+ $151 = (+_silk_log2($150));
+ $17 = $151;
+ $152 = $9;
+ $153 = ($152|0)>(0);
+ if ($153) {
+ $154 = $17;
+ $155 = $18;
+ $156 = $154 - $155;
+ $157 = $156;
+ $158 = (+Math_abs((+$157)));
+ $159 = $158;
+ $160 = $19;
+ $161 = $160 + $159;
+ $19 = $161;
+ }
+ $162 = $17;
+ $18 = $162;
+ $163 = $10;
+ $164 = $31;
+ $165 = (($164) + ($163<<2)|0);
+ $31 = $165;
+ $166 = $9;
+ $167 = (($166) + 1)|0;
+ $9 = $167;
+ }
+ $168 = $19;
+ $169 = $168 - 5.0;
+ $170 = 0.40000000596046448 * $169;
+ $171 = (+_silk_sigmoid($170));
+ $172 = $5;
+ $173 = ((($172)) + 864|0);
+ HEAPF32[$173>>2] = $171;
+ $174 = $5;
+ $175 = ((($174)) + 864|0);
+ $176 = +HEAPF32[$175>>2];
+ $177 = $176 > 0.75;
+ $178 = $4;
+ $179 = ((($178)) + 4768|0);
+ $180 = ((($179)) + 30|0);
+ $$sink = $177 ? 0 : 1;
+ HEAP8[$180>>0] = $$sink;
+ $181 = $5;
+ $182 = ((($181)) + 864|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $183 - 0.5;
+ $185 = 2.0 * $184;
+ $186 = $11;
+ $187 = $186 + $185;
+ $11 = $187;
+ }
+ $188 = $5;
+ $189 = ((($188)) + 868|0);
+ $190 = +HEAPF32[$189>>2];
+ $191 = 0.0010000000474974513 * $190;
+ $25 = $191;
+ $192 = $25;
+ $193 = $25;
+ $194 = $192 * $193;
+ $195 = 1.0 + $194;
+ $196 = 0.94999998807907104 / $195;
+ $22 = $196;
+ $21 = $196;
+ $197 = $5;
+ $198 = ((($197)) + 860|0);
+ $199 = +HEAPF32[$198>>2];
+ $200 = 0.75 * $199;
+ $201 = 1.0 - $200;
+ $202 = 0.0099999997764825821 * $201;
+ $20 = $202;
+ $203 = $20;
+ $204 = $21;
+ $205 = $204 - $203;
+ $21 = $205;
+ $206 = $20;
+ $207 = $22;
+ $208 = $207 + $206;
+ $22 = $208;
+ $209 = $22;
+ $210 = $21;
+ $211 = $210 / $209;
+ $21 = $211;
+ $212 = $4;
+ $213 = ((($212)) + 4704|0);
+ $214 = HEAP32[$213>>2]|0;
+ $215 = ($214|0)>(0);
+ if ($215) {
+ $216 = $4;
+ $217 = ((($216)) + 4704|0);
+ $218 = HEAP32[$217>>2]|0;
+ $219 = (+($218|0));
+ $220 = $219 / 65536.0;
+ $221 = $5;
+ $222 = ((($221)) + 860|0);
+ $223 = +HEAPF32[$222>>2];
+ $224 = 0.0099999997764825821 * $223;
+ $225 = $220 + $224;
+ $27 = $225;
+ } else {
+ $27 = 0.0;
+ }
+ $9 = 0;
+ while(1) {
+ $226 = $9;
+ $227 = $4;
+ $228 = ((($227)) + 4604|0);
+ $229 = HEAP32[$228>>2]|0;
+ $230 = ($226|0)<($229|0);
+ if (!($230)) {
+ break;
+ }
+ $231 = $4;
+ $232 = ((($231)) + 4600|0);
+ $233 = HEAP32[$232>>2]|0;
+ $234 = ($233*3)|0;
+ $34 = $234;
+ $235 = $4;
+ $236 = ((($235)) + 4628|0);
+ $237 = HEAP32[$236>>2]|0;
+ $238 = $34;
+ $239 = (($237) - ($238))|0;
+ $240 = (($239|0) / 2)&-1;
+ $33 = $240;
+ $241 = $30;
+ $242 = $33;
+ _silk_apply_sine_window_FLP($28,$241,1,$242);
+ $243 = $33;
+ $32 = $243;
+ $244 = $32;
+ $245 = (($28) + ($244<<2)|0);
+ $246 = $30;
+ $247 = $32;
+ $248 = (($246) + ($247<<2)|0);
+ $249 = $34;
+ $250 = $249<<2;
+ _memcpy(($245|0),($248|0),($250|0))|0;
+ $251 = $34;
+ $252 = $32;
+ $253 = (($252) + ($251))|0;
+ $32 = $253;
+ $254 = $32;
+ $255 = (($28) + ($254<<2)|0);
+ $256 = $30;
+ $257 = $32;
+ $258 = (($256) + ($257<<2)|0);
+ $259 = $33;
+ _silk_apply_sine_window_FLP($255,$258,2,$259);
+ $260 = $4;
+ $261 = ((($260)) + 4612|0);
+ $262 = HEAP32[$261>>2]|0;
+ $263 = $30;
+ $264 = (($263) + ($262<<2)|0);
+ $30 = $264;
+ $265 = $4;
+ $266 = ((($265)) + 4704|0);
+ $267 = HEAP32[$266>>2]|0;
+ $268 = ($267|0)>(0);
+ if ($268) {
+ $269 = $27;
+ $270 = $4;
+ $271 = ((($270)) + 4628|0);
+ $272 = HEAP32[$271>>2]|0;
+ $273 = $4;
+ $274 = ((($273)) + 4660|0);
+ $275 = HEAP32[$274>>2]|0;
+ _silk_warped_autocorrelation_FLP($29,$28,$269,$272,$275);
+ } else {
+ $276 = $4;
+ $277 = ((($276)) + 4628|0);
+ $278 = HEAP32[$277>>2]|0;
+ $279 = $4;
+ $280 = ((($279)) + 4660|0);
+ $281 = HEAP32[$280>>2]|0;
+ $282 = (($281) + 1)|0;
+ _silk_autocorrelation_FLP($29,$28,$278,$282);
+ }
+ $283 = +HEAPF32[$29>>2];
+ $284 = $283 * 4.9999998736893758E-5;
+ $285 = +HEAPF32[$29>>2];
+ $286 = $285 + $284;
+ HEAPF32[$29>>2] = $286;
+ $287 = $5;
+ $288 = ((($287)) + 500|0);
+ $289 = $9;
+ $290 = $289<<4;
+ $291 = (($288) + ($290<<2)|0);
+ $292 = $4;
+ $293 = ((($292)) + 4660|0);
+ $294 = HEAP32[$293>>2]|0;
+ $295 = (+_silk_levinsondurbin_FLP($291,$29,$294));
+ $15 = $295;
+ $296 = $15;
+ $297 = $296;
+ $298 = (+Math_sqrt((+$297)));
+ $299 = $298;
+ $300 = $5;
+ $301 = $9;
+ $302 = (($300) + ($301<<2)|0);
+ HEAPF32[$302>>2] = $299;
+ $303 = $4;
+ $304 = ((($303)) + 4704|0);
+ $305 = HEAP32[$304>>2]|0;
+ $306 = ($305|0)>(0);
+ if ($306) {
+ $307 = $5;
+ $308 = ((($307)) + 500|0);
+ $309 = $9;
+ $310 = $309<<4;
+ $311 = (($308) + ($310<<2)|0);
+ $312 = $27;
+ $313 = $4;
+ $314 = ((($313)) + 4660|0);
+ $315 = HEAP32[$314>>2]|0;
+ $316 = (+_warped_gain($311,$312,$315));
+ $317 = $5;
+ $318 = $9;
+ $319 = (($317) + ($318<<2)|0);
+ $320 = +HEAPF32[$319>>2];
+ $321 = $320 * $316;
+ HEAPF32[$319>>2] = $321;
+ }
+ $322 = $5;
+ $323 = ((($322)) + 500|0);
+ $324 = $9;
+ $325 = $324<<4;
+ $326 = (($323) + ($325<<2)|0);
+ $327 = $4;
+ $328 = ((($327)) + 4660|0);
+ $329 = HEAP32[$328>>2]|0;
+ $330 = $22;
+ _silk_bwexpander_FLP($326,$329,$330);
+ $331 = $5;
+ $332 = ((($331)) + 244|0);
+ $333 = $9;
+ $334 = $333<<4;
+ $335 = (($332) + ($334<<2)|0);
+ $336 = $5;
+ $337 = ((($336)) + 500|0);
+ $338 = $9;
+ $339 = $338<<4;
+ $340 = (($337) + ($339<<2)|0);
+ $341 = $4;
+ $342 = ((($341)) + 4660|0);
+ $343 = HEAP32[$342>>2]|0;
+ $344 = $343<<2;
+ _memcpy(($335|0),($340|0),($344|0))|0;
+ $345 = $5;
+ $346 = ((($345)) + 244|0);
+ $347 = $9;
+ $348 = $347<<4;
+ $349 = (($346) + ($348<<2)|0);
+ $350 = $4;
+ $351 = ((($350)) + 4660|0);
+ $352 = HEAP32[$351>>2]|0;
+ $353 = $21;
+ _silk_bwexpander_FLP($349,$352,$353);
+ $354 = $5;
+ $355 = ((($354)) + 500|0);
+ $356 = $9;
+ $357 = $356<<4;
+ $358 = (($355) + ($357<<2)|0);
+ $359 = $4;
+ $360 = ((($359)) + 4660|0);
+ $361 = HEAP32[$360>>2]|0;
+ $362 = (+_silk_LPC_inverse_pred_gain_FLP($358,$361));
+ $16 = $362;
+ $363 = $5;
+ $364 = ((($363)) + 244|0);
+ $365 = $9;
+ $366 = $365<<4;
+ $367 = (($364) + ($366<<2)|0);
+ $368 = $4;
+ $369 = ((($368)) + 4660|0);
+ $370 = HEAP32[$369>>2]|0;
+ $371 = (+_silk_LPC_inverse_pred_gain_FLP($367,$370));
+ $15 = $371;
+ $372 = $16;
+ $373 = $15;
+ $374 = $372 / $373;
+ $375 = 1.0 - $374;
+ $376 = 0.69999998807907104 * $375;
+ $377 = 1.0 - $376;
+ $378 = $5;
+ $379 = ((($378)) + 788|0);
+ $380 = $9;
+ $381 = (($379) + ($380<<2)|0);
+ HEAPF32[$381>>2] = $377;
+ $382 = $5;
+ $383 = ((($382)) + 500|0);
+ $384 = $9;
+ $385 = $384<<4;
+ $386 = (($383) + ($385<<2)|0);
+ $387 = $5;
+ $388 = ((($387)) + 244|0);
+ $389 = $9;
+ $390 = $389<<4;
+ $391 = (($388) + ($390<<2)|0);
+ $392 = $27;
+ $393 = $4;
+ $394 = ((($393)) + 4660|0);
+ $395 = HEAP32[$394>>2]|0;
+ _warped_true2monic_coefs($386,$391,$392,3.999000072479248,$395);
+ $396 = $9;
+ $397 = (($396) + 1)|0;
+ $9 = $397;
+ }
+ $398 = $11;
+ $399 = -0.15999999642372131 * $398;
+ $400 = $399;
+ $401 = (+Math_pow(2.0,(+$400)));
+ $402 = $401;
+ $23 = $402;
+ $403 = (+Math_pow(2.0,0.31999999284744263));
+ $404 = $403;
+ $24 = $404;
+ $9 = 0;
+ while(1) {
+ $405 = $9;
+ $406 = $4;
+ $407 = ((($406)) + 4604|0);
+ $408 = HEAP32[$407>>2]|0;
+ $409 = ($405|0)<($408|0);
+ if (!($409)) {
+ break;
+ }
+ $410 = $23;
+ $411 = $5;
+ $412 = $9;
+ $413 = (($411) + ($412<<2)|0);
+ $414 = +HEAPF32[$413>>2];
+ $415 = $414 * $410;
+ HEAPF32[$413>>2] = $415;
+ $416 = $24;
+ $417 = $5;
+ $418 = $9;
+ $419 = (($417) + ($418<<2)|0);
+ $420 = +HEAPF32[$419>>2];
+ $421 = $420 + $416;
+ HEAPF32[$419>>2] = $421;
+ $422 = $9;
+ $423 = (($422) + 1)|0;
+ $9 = $423;
+ }
+ $424 = $5;
+ $425 = ((($424)) + 860|0);
+ $426 = +HEAPF32[$425>>2];
+ $427 = $426 * 0.10000000149011612;
+ $428 = 1.0499999523162842 + $427;
+ $23 = $428;
+ $9 = 0;
+ while(1) {
+ $429 = $9;
+ $430 = $4;
+ $431 = ((($430)) + 4604|0);
+ $432 = HEAP32[$431>>2]|0;
+ $433 = ($429|0)<($432|0);
+ if (!($433)) {
+ break;
+ }
+ $434 = $23;
+ $435 = $5;
+ $436 = ((($435)) + 788|0);
+ $437 = $9;
+ $438 = (($436) + ($437<<2)|0);
+ $439 = +HEAPF32[$438>>2];
+ $440 = $439 * $434;
+ HEAPF32[$438>>2] = $440;
+ $441 = $9;
+ $442 = (($441) + 1)|0;
+ $9 = $442;
+ }
+ $443 = $4;
+ $444 = ((($443)) + 4728|0);
+ $445 = HEAP32[$444>>2]|0;
+ $446 = (+($445|0));
+ $447 = $446 * 3.0517578125E-5;
+ $448 = $447 - 1.0;
+ $449 = 0.5 * $448;
+ $450 = 1.0 + $449;
+ $451 = 4.0 * $450;
+ $25 = $451;
+ $452 = $4;
+ $453 = ((($452)) + 4556|0);
+ $454 = HEAP32[$453>>2]|0;
+ $455 = (+($454|0));
+ $456 = $455 * 0.00390625;
+ $457 = $25;
+ $458 = $457 * $456;
+ $25 = $458;
+ $459 = $4;
+ $460 = ((($459)) + 4768|0);
+ $461 = ((($460)) + 29|0);
+ $462 = HEAP8[$461>>0]|0;
+ $463 = $462 << 24 >> 24;
+ $464 = ($463|0)==(2);
+ if ($464) {
+ $9 = 0;
+ while(1) {
+ $465 = $9;
+ $466 = $4;
+ $467 = ((($466)) + 4604|0);
+ $468 = HEAP32[$467>>2]|0;
+ $469 = ($465|0)<($468|0);
+ $470 = $4;
+ if (!($469)) {
+ break;
+ }
+ $471 = ((($470)) + 4600|0);
+ $472 = HEAP32[$471>>2]|0;
+ $473 = (+($472|0));
+ $474 = 0.20000000298023224 / $473;
+ $475 = $5;
+ $476 = ((($475)) + 228|0);
+ $477 = $9;
+ $478 = (($476) + ($477<<2)|0);
+ $479 = HEAP32[$478>>2]|0;
+ $480 = (+($479|0));
+ $481 = 3.0 / $480;
+ $482 = $474 + $481;
+ $26 = $482;
+ $483 = $26;
+ $484 = -1.0 + $483;
+ $485 = $5;
+ $486 = ((($485)) + 756|0);
+ $487 = $9;
+ $488 = (($486) + ($487<<2)|0);
+ HEAPF32[$488>>2] = $484;
+ $489 = $26;
+ $490 = 1.0 - $489;
+ $491 = $26;
+ $492 = $25;
+ $493 = $491 * $492;
+ $494 = $490 - $493;
+ $495 = $5;
+ $496 = ((($495)) + 772|0);
+ $497 = $9;
+ $498 = (($496) + ($497<<2)|0);
+ HEAPF32[$498>>2] = $494;
+ $499 = $9;
+ $500 = (($499) + 1)|0;
+ $9 = $500;
+ }
+ $501 = ((($470)) + 4556|0);
+ $502 = HEAP32[$501>>2]|0;
+ $503 = (+($502|0));
+ $504 = 0.26249998807907104 * $503;
+ $505 = $504 * 0.00390625;
+ $506 = -0.25 - $505;
+ $14 = $506;
+ } else {
+ $507 = $4;
+ $508 = ((($507)) + 4600|0);
+ $509 = HEAP32[$508>>2]|0;
+ $510 = (+($509|0));
+ $511 = 1.2999999523162842 / $510;
+ $26 = $511;
+ $512 = $26;
+ $513 = -1.0 + $512;
+ $514 = $5;
+ $515 = ((($514)) + 756|0);
+ HEAPF32[$515>>2] = $513;
+ $516 = $26;
+ $517 = 1.0 - $516;
+ $518 = $26;
+ $519 = $25;
+ $520 = $518 * $519;
+ $521 = $520 * 0.60000002384185791;
+ $522 = $517 - $521;
+ $523 = $5;
+ $524 = ((($523)) + 772|0);
+ HEAPF32[$524>>2] = $522;
+ $9 = 1;
+ while(1) {
+ $525 = $9;
+ $526 = $4;
+ $527 = ((($526)) + 4604|0);
+ $528 = HEAP32[$527>>2]|0;
+ $529 = ($525|0)<($528|0);
+ if (!($529)) {
+ break;
+ }
+ $530 = $5;
+ $531 = ((($530)) + 756|0);
+ $532 = +HEAPF32[$531>>2];
+ $533 = $5;
+ $534 = ((($533)) + 756|0);
+ $535 = $9;
+ $536 = (($534) + ($535<<2)|0);
+ HEAPF32[$536>>2] = $532;
+ $537 = $5;
+ $538 = ((($537)) + 772|0);
+ $539 = +HEAPF32[$538>>2];
+ $540 = $5;
+ $541 = ((($540)) + 772|0);
+ $542 = $9;
+ $543 = (($541) + ($542<<2)|0);
+ HEAPF32[$543>>2] = $539;
+ $544 = $9;
+ $545 = (($544) + 1)|0;
+ $9 = $545;
+ }
+ $14 = -0.25;
+ }
+ $546 = $5;
+ $547 = ((($546)) + 860|0);
+ $548 = +HEAPF32[$547>>2];
+ $549 = 1.0 - $548;
+ $550 = 0.10000000149011612 * $549;
+ $551 = $4;
+ $552 = ((($551)) + 12236|0);
+ $553 = +HEAPF32[$552>>2];
+ $554 = $550 * $553;
+ $12 = $554;
+ $555 = $5;
+ $556 = ((($555)) + 856|0);
+ $557 = +HEAPF32[$556>>2];
+ $558 = 1.0 - $557;
+ $559 = 0.10000000149011612 * $558;
+ $560 = $12;
+ $561 = $560 + $559;
+ $12 = $561;
+ $562 = $4;
+ $563 = ((($562)) + 4768|0);
+ $564 = ((($563)) + 29|0);
+ $565 = HEAP8[$564>>0]|0;
+ $566 = $565 << 24 >> 24;
+ $567 = ($566|0)==(2);
+ if ($567) {
+ $13 = 0.30000001192092896;
+ $568 = $5;
+ $569 = ((($568)) + 860|0);
+ $570 = +HEAPF32[$569>>2];
+ $571 = 1.0 - $570;
+ $572 = $5;
+ $573 = ((($572)) + 856|0);
+ $574 = +HEAPF32[$573>>2];
+ $575 = $571 * $574;
+ $576 = 1.0 - $575;
+ $577 = 0.20000000298023224 * $576;
+ $578 = $13;
+ $579 = $578 + $577;
+ $13 = $579;
+ $580 = $4;
+ $581 = ((($580)) + 12236|0);
+ $582 = +HEAPF32[$581>>2];
+ $583 = $582;
+ $584 = (+Math_sqrt((+$583)));
+ $585 = $584;
+ $586 = $13;
+ $587 = $586 * $585;
+ $13 = $587;
+ } else {
+ $13 = 0.0;
+ }
+ $9 = 0;
+ while(1) {
+ $588 = $9;
+ $589 = $4;
+ $590 = ((($589)) + 4604|0);
+ $591 = HEAP32[$590>>2]|0;
+ $592 = ($588|0)<($591|0);
+ if (!($592)) {
+ break;
+ }
+ $593 = $12;
+ $594 = $8;
+ $595 = ((($594)) + 4|0);
+ $596 = +HEAPF32[$595>>2];
+ $597 = $593 - $596;
+ $598 = 0.40000000596046448 * $597;
+ $599 = $8;
+ $600 = ((($599)) + 4|0);
+ $601 = +HEAPF32[$600>>2];
+ $602 = $601 + $598;
+ HEAPF32[$600>>2] = $602;
+ $603 = $8;
+ $604 = ((($603)) + 4|0);
+ $605 = +HEAPF32[$604>>2];
+ $606 = $5;
+ $607 = ((($606)) + 804|0);
+ $608 = $9;
+ $609 = (($607) + ($608<<2)|0);
+ HEAPF32[$609>>2] = $605;
+ $610 = $13;
+ $611 = $8;
+ $612 = ((($611)) + 8|0);
+ $613 = +HEAPF32[$612>>2];
+ $614 = $610 - $613;
+ $615 = 0.40000000596046448 * $614;
+ $616 = $8;
+ $617 = ((($616)) + 8|0);
+ $618 = +HEAPF32[$617>>2];
+ $619 = $618 + $615;
+ HEAPF32[$617>>2] = $619;
+ $620 = $8;
+ $621 = ((($620)) + 8|0);
+ $622 = +HEAPF32[$621>>2];
+ $623 = $5;
+ $624 = ((($623)) + 836|0);
+ $625 = $9;
+ $626 = (($624) + ($625<<2)|0);
+ HEAPF32[$626>>2] = $622;
+ $627 = $14;
+ $628 = $8;
+ $629 = ((($628)) + 12|0);
+ $630 = +HEAPF32[$629>>2];
+ $631 = $627 - $630;
+ $632 = 0.40000000596046448 * $631;
+ $633 = $8;
+ $634 = ((($633)) + 12|0);
+ $635 = +HEAPF32[$634>>2];
+ $636 = $635 + $632;
+ HEAPF32[$634>>2] = $636;
+ $637 = $8;
+ $638 = ((($637)) + 12|0);
+ $639 = +HEAPF32[$638>>2];
+ $640 = $5;
+ $641 = ((($640)) + 820|0);
+ $642 = $9;
+ $643 = (($641) + ($642<<2)|0);
+ HEAPF32[$643>>2] = $639;
+ $644 = $9;
+ $645 = (($644) + 1)|0;
+ $9 = $645;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_sigmoid($0) {
+ $0 = +$0;
+ var $1 = 0.0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $8 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = - $2;
+ $4 = $3;
+ $5 = (+Math_exp((+$4)));
+ $6 = 1.0 + $5;
+ $7 = 1.0 / $6;
+ $8 = $7;
+ STACKTOP = sp;return (+$8);
+}
+function _silk_log2($0) {
+ $0 = +$0;
+ var $1 = 0.0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = (+_log10($2));
+ $4 = 3.32192809488736 * $3;
+ $5 = $4;
+ STACKTOP = sp;return (+$5);
+}
+function _warped_gain($0,$1,$2) {
+ $0 = $0|0;
+ $1 = +$1;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0.0;
+ var $3 = 0, $30 = 0.0, $4 = 0.0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0.0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $4;
+ $9 = - $8;
+ $4 = $9;
+ $10 = $3;
+ $11 = $5;
+ $12 = (($11) - 1)|0;
+ $13 = (($10) + ($12<<2)|0);
+ $14 = +HEAPF32[$13>>2];
+ $7 = $14;
+ $15 = $5;
+ $16 = (($15) - 2)|0;
+ $6 = $16;
+ while(1) {
+ $17 = $6;
+ $18 = ($17|0)>=(0);
+ $19 = $4;
+ $20 = $7;
+ $21 = $19 * $20;
+ if (!($18)) {
+ break;
+ }
+ $22 = $3;
+ $23 = $6;
+ $24 = (($22) + ($23<<2)|0);
+ $25 = +HEAPF32[$24>>2];
+ $26 = $21 + $25;
+ $7 = $26;
+ $27 = $6;
+ $28 = (($27) + -1)|0;
+ $6 = $28;
+ }
+ $29 = 1.0 - $21;
+ $30 = 1.0 / $29;
+ STACKTOP = sp;return (+$30);
+}
+function _warped_true2monic_coefs($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = +$3;
+ $4 = $4|0;
+ var $$sink2 = 0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0.0, $116 = 0;
+ var $117 = 0.0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0.0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0, $129 = 0, $13 = 0.0, $130 = 0, $131 = 0.0, $132 = 0.0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0.0, $138 = 0.0, $139 = 0.0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0.0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0.0, $15 = 0.0, $150 = 0.0, $151 = 0, $152 = 0;
+ var $153 = 0.0, $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0, $158 = 0, $159 = 0, $16 = 0.0, $160 = 0.0, $161 = 0, $162 = 0, $163 = 0, $164 = 0.0, $165 = 0.0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0, $17 = 0.0, $170 = 0.0;
+ var $171 = 0.0, $172 = 0, $173 = 0, $174 = 0, $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0.0, $182 = 0.0, $183 = 0, $184 = 0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0.0, $189 = 0;
+ var $19 = 0, $190 = 0, $191 = 0.0, $192 = 0, $193 = 0, $194 = 0.0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0.0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0.0, $204 = 0.0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0, $209 = 0.0, $21 = 0, $210 = 0.0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0, $215 = 0.0, $216 = 0.0, $217 = 0, $218 = 0, $219 = 0, $22 = 0.0, $220 = 0, $221 = 0.0, $222 = 0.0, $223 = 0, $224 = 0, $225 = 0.0;
+ var $226 = 0.0, $227 = 0.0, $228 = 0.0, $229 = 0, $23 = 0, $230 = 0.0, $231 = 0.0, $232 = 0.0, $233 = 0.0, $234 = 0.0, $235 = 0.0, $236 = 0.0, $237 = 0.0, $238 = 0.0, $239 = 0, $24 = 0, $240 = 0.0, $241 = 0.0, $242 = 0.0, $243 = 0.0;
+ var $244 = 0, $245 = 0, $246 = 0, $247 = 0.0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0.0, $252 = 0.0, $253 = 0.0, $254 = 0, $255 = 0, $256 = 0, $257 = 0.0, $258 = 0.0, $259 = 0, $26 = 0.0, $260 = 0, $261 = 0;
+ var $262 = 0, $27 = 0.0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0.0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0.0;
+ var $46 = 0, $47 = 0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0, $63 = 0.0;
+ var $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0, $7 = 0.0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0, $8 = 0.0, $80 = 0.0, $81 = 0.0;
+ var $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0.0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $12 = 0;
+ $18 = $9;
+ $19 = (($18) - 1)|0;
+ $10 = $19;
+ while(1) {
+ $20 = $10;
+ $21 = ($20|0)>(0);
+ $22 = $7;
+ if (!($21)) {
+ break;
+ }
+ $23 = $5;
+ $24 = $10;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = $22 * $26;
+ $28 = $5;
+ $29 = $10;
+ $30 = (($29) - 1)|0;
+ $31 = (($28) + ($30<<2)|0);
+ $32 = +HEAPF32[$31>>2];
+ $33 = $32 - $27;
+ HEAPF32[$31>>2] = $33;
+ $34 = $7;
+ $35 = $6;
+ $36 = $10;
+ $37 = (($35) + ($36<<2)|0);
+ $38 = +HEAPF32[$37>>2];
+ $39 = $34 * $38;
+ $40 = $6;
+ $41 = $10;
+ $42 = (($41) - 1)|0;
+ $43 = (($40) + ($42<<2)|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $44 - $39;
+ HEAPF32[$43>>2] = $45;
+ $46 = $10;
+ $47 = (($46) + -1)|0;
+ $10 = $47;
+ }
+ $48 = $7;
+ $49 = $22 * $48;
+ $50 = 1.0 - $49;
+ $51 = $7;
+ $52 = $5;
+ $53 = +HEAPF32[$52>>2];
+ $54 = $51 * $53;
+ $55 = 1.0 + $54;
+ $56 = $50 / $55;
+ $16 = $56;
+ $57 = $7;
+ $58 = $7;
+ $59 = $57 * $58;
+ $60 = 1.0 - $59;
+ $61 = $7;
+ $62 = $6;
+ $63 = +HEAPF32[$62>>2];
+ $64 = $61 * $63;
+ $65 = 1.0 + $64;
+ $66 = $60 / $65;
+ $17 = $66;
+ $10 = 0;
+ while(1) {
+ $67 = $10;
+ $68 = $9;
+ $69 = ($67|0)<($68|0);
+ if (!($69)) {
+ break;
+ }
+ $70 = $16;
+ $71 = $5;
+ $72 = $10;
+ $73 = (($71) + ($72<<2)|0);
+ $74 = +HEAPF32[$73>>2];
+ $75 = $74 * $70;
+ HEAPF32[$73>>2] = $75;
+ $76 = $17;
+ $77 = $6;
+ $78 = $10;
+ $79 = (($77) + ($78<<2)|0);
+ $80 = +HEAPF32[$79>>2];
+ $81 = $80 * $76;
+ HEAPF32[$79>>2] = $81;
+ $82 = $10;
+ $83 = (($82) + 1)|0;
+ $10 = $83;
+ }
+ $11 = 0;
+ while(1) {
+ $84 = $11;
+ $85 = ($84|0)<(10);
+ if (!($85)) {
+ label = 31;
+ break;
+ }
+ $14 = -1.0;
+ $10 = 0;
+ while(1) {
+ $86 = $10;
+ $87 = $9;
+ $88 = ($86|0)<($87|0);
+ if (!($88)) {
+ break;
+ }
+ $89 = $5;
+ $90 = $10;
+ $91 = (($89) + ($90<<2)|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = $92;
+ $94 = (+Math_abs((+$93)));
+ $95 = $94;
+ $96 = $6;
+ $97 = $10;
+ $98 = (($96) + ($97<<2)|0);
+ $99 = +HEAPF32[$98>>2];
+ $100 = $99;
+ $101 = (+Math_abs((+$100)));
+ $102 = $101;
+ $103 = $95 > $102;
+ if ($103) {
+ $104 = $5;
+ $105 = $10;
+ $106 = (($104) + ($105<<2)|0);
+ $$sink2 = $106;
+ } else {
+ $107 = $6;
+ $108 = $10;
+ $109 = (($107) + ($108<<2)|0);
+ $$sink2 = $109;
+ }
+ $110 = +HEAPF32[$$sink2>>2];
+ $111 = $110;
+ $112 = (+Math_abs((+$111)));
+ $113 = $112;
+ $13 = $113;
+ $114 = $13;
+ $115 = $14;
+ $116 = $114 > $115;
+ if ($116) {
+ $117 = $13;
+ $14 = $117;
+ $118 = $10;
+ $12 = $118;
+ }
+ $119 = $10;
+ $120 = (($119) + 1)|0;
+ $10 = $120;
+ }
+ $121 = $14;
+ $122 = $8;
+ $123 = $121 <= $122;
+ if ($123) {
+ label = 31;
+ break;
+ }
+ $10 = 1;
+ while(1) {
+ $124 = $10;
+ $125 = $9;
+ $126 = ($124|0)<($125|0);
+ if (!($126)) {
+ break;
+ }
+ $127 = $7;
+ $128 = $5;
+ $129 = $10;
+ $130 = (($128) + ($129<<2)|0);
+ $131 = +HEAPF32[$130>>2];
+ $132 = $127 * $131;
+ $133 = $5;
+ $134 = $10;
+ $135 = (($134) - 1)|0;
+ $136 = (($133) + ($135<<2)|0);
+ $137 = +HEAPF32[$136>>2];
+ $138 = $137 + $132;
+ HEAPF32[$136>>2] = $138;
+ $139 = $7;
+ $140 = $6;
+ $141 = $10;
+ $142 = (($140) + ($141<<2)|0);
+ $143 = +HEAPF32[$142>>2];
+ $144 = $139 * $143;
+ $145 = $6;
+ $146 = $10;
+ $147 = (($146) - 1)|0;
+ $148 = (($145) + ($147<<2)|0);
+ $149 = +HEAPF32[$148>>2];
+ $150 = $149 + $144;
+ HEAPF32[$148>>2] = $150;
+ $151 = $10;
+ $152 = (($151) + 1)|0;
+ $10 = $152;
+ }
+ $153 = $16;
+ $154 = 1.0 / $153;
+ $16 = $154;
+ $155 = $17;
+ $156 = 1.0 / $155;
+ $17 = $156;
+ $10 = 0;
+ while(1) {
+ $157 = $10;
+ $158 = $9;
+ $159 = ($157|0)<($158|0);
+ if (!($159)) {
+ break;
+ }
+ $160 = $16;
+ $161 = $5;
+ $162 = $10;
+ $163 = (($161) + ($162<<2)|0);
+ $164 = +HEAPF32[$163>>2];
+ $165 = $164 * $160;
+ HEAPF32[$163>>2] = $165;
+ $166 = $17;
+ $167 = $6;
+ $168 = $10;
+ $169 = (($167) + ($168<<2)|0);
+ $170 = +HEAPF32[$169>>2];
+ $171 = $170 * $166;
+ HEAPF32[$169>>2] = $171;
+ $172 = $10;
+ $173 = (($172) + 1)|0;
+ $10 = $173;
+ }
+ $174 = $11;
+ $175 = (+($174|0));
+ $176 = 0.10000000149011612 * $175;
+ $177 = 0.80000001192092896 + $176;
+ $178 = $14;
+ $179 = $8;
+ $180 = $178 - $179;
+ $181 = $177 * $180;
+ $182 = $14;
+ $183 = $12;
+ $184 = (($183) + 1)|0;
+ $185 = (+($184|0));
+ $186 = $182 * $185;
+ $187 = $181 / $186;
+ $188 = 0.99000000953674316 - $187;
+ $15 = $188;
+ $189 = $5;
+ $190 = $9;
+ $191 = $15;
+ _silk_bwexpander_FLP($189,$190,$191);
+ $192 = $6;
+ $193 = $9;
+ $194 = $15;
+ _silk_bwexpander_FLP($192,$193,$194);
+ $195 = $9;
+ $196 = (($195) - 1)|0;
+ $10 = $196;
+ while(1) {
+ $197 = $10;
+ $198 = ($197|0)>(0);
+ $199 = $7;
+ if (!($198)) {
+ break;
+ }
+ $200 = $5;
+ $201 = $10;
+ $202 = (($200) + ($201<<2)|0);
+ $203 = +HEAPF32[$202>>2];
+ $204 = $199 * $203;
+ $205 = $5;
+ $206 = $10;
+ $207 = (($206) - 1)|0;
+ $208 = (($205) + ($207<<2)|0);
+ $209 = +HEAPF32[$208>>2];
+ $210 = $209 - $204;
+ HEAPF32[$208>>2] = $210;
+ $211 = $7;
+ $212 = $6;
+ $213 = $10;
+ $214 = (($212) + ($213<<2)|0);
+ $215 = +HEAPF32[$214>>2];
+ $216 = $211 * $215;
+ $217 = $6;
+ $218 = $10;
+ $219 = (($218) - 1)|0;
+ $220 = (($217) + ($219<<2)|0);
+ $221 = +HEAPF32[$220>>2];
+ $222 = $221 - $216;
+ HEAPF32[$220>>2] = $222;
+ $223 = $10;
+ $224 = (($223) + -1)|0;
+ $10 = $224;
+ }
+ $225 = $7;
+ $226 = $199 * $225;
+ $227 = 1.0 - $226;
+ $228 = $7;
+ $229 = $5;
+ $230 = +HEAPF32[$229>>2];
+ $231 = $228 * $230;
+ $232 = 1.0 + $231;
+ $233 = $227 / $232;
+ $16 = $233;
+ $234 = $7;
+ $235 = $7;
+ $236 = $234 * $235;
+ $237 = 1.0 - $236;
+ $238 = $7;
+ $239 = $6;
+ $240 = +HEAPF32[$239>>2];
+ $241 = $238 * $240;
+ $242 = 1.0 + $241;
+ $243 = $237 / $242;
+ $17 = $243;
+ $10 = 0;
+ while(1) {
+ $244 = $10;
+ $245 = $9;
+ $246 = ($244|0)<($245|0);
+ if (!($246)) {
+ break;
+ }
+ $247 = $16;
+ $248 = $5;
+ $249 = $10;
+ $250 = (($248) + ($249<<2)|0);
+ $251 = +HEAPF32[$250>>2];
+ $252 = $251 * $247;
+ HEAPF32[$250>>2] = $252;
+ $253 = $17;
+ $254 = $6;
+ $255 = $10;
+ $256 = (($254) + ($255<<2)|0);
+ $257 = +HEAPF32[$256>>2];
+ $258 = $257 * $253;
+ HEAPF32[$256>>2] = $258;
+ $259 = $10;
+ $260 = (($259) + 1)|0;
+ $10 = $260;
+ }
+ $261 = $11;
+ $262 = (($261) + 1)|0;
+ $11 = $262;
+ }
+ if ((label|0) == 31) {
+ STACKTOP = sp;return;
+ }
+}
+function _silk_prefilter_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0.0, $116 = 0.0, $117 = 0.0;
+ var $118 = 0.0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0.0, $122 = 0.0, $123 = 0.0, $124 = 0.0, $125 = 0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0, $13 = 0.0, $130 = 0.0, $131 = 0, $132 = 0, $133 = 0.0, $134 = 0.0, $135 = 0.0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0.0, $143 = 0, $144 = 0, $145 = 0.0, $146 = 0.0, $147 = 0, $148 = 0.0, $149 = 0, $15 = 0.0, $150 = 0, $151 = 0, $152 = 0.0, $153 = 0.0;
+ var $154 = 0.0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0.0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0.0;
+ var $172 = 0.0, $173 = 0.0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0.0, $63 = 0.0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 464|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(464|0);
+ $16 = sp + 408|0;
+ $20 = sp + 384|0;
+ $21 = sp;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $22 = $4;
+ $23 = ((($22)) + 7216|0);
+ $8 = $23;
+ $24 = $7;
+ $18 = $24;
+ $25 = $6;
+ $19 = $25;
+ $26 = $8;
+ $27 = ((($26)) + 2136|0);
+ $28 = HEAP32[$27>>2]|0;
+ $11 = $28;
+ $10 = 0;
+ while(1) {
+ $29 = $10;
+ $30 = $4;
+ $31 = ((($30)) + 4604|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = ($29|0)<($32|0);
+ if (!($33)) {
+ break;
+ }
+ $34 = $4;
+ $35 = ((($34)) + 4768|0);
+ $36 = ((($35)) + 29|0);
+ $37 = HEAP8[$36>>0]|0;
+ $38 = $37 << 24 >> 24;
+ $39 = ($38|0)==(2);
+ if ($39) {
+ $40 = $5;
+ $41 = ((($40)) + 228|0);
+ $42 = $10;
+ $43 = (($41) + ($42<<2)|0);
+ $44 = HEAP32[$43>>2]|0;
+ $11 = $44;
+ }
+ $45 = $5;
+ $46 = ((($45)) + 836|0);
+ $47 = $10;
+ $48 = (($46) + ($47<<2)|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = $5;
+ $51 = ((($50)) + 804|0);
+ $52 = $10;
+ $53 = (($51) + ($52<<2)|0);
+ $54 = +HEAPF32[$53>>2];
+ $55 = 1.0 - $54;
+ $56 = $49 * $55;
+ $12 = $56;
+ $57 = $12;
+ $58 = 0.25 * $57;
+ HEAPF32[$20>>2] = $58;
+ $59 = $12;
+ $60 = 0.4999847412109375 * $59;
+ $61 = ((($20)) + 4|0);
+ HEAPF32[$61>>2] = $60;
+ $62 = $12;
+ $63 = 0.25 * $62;
+ $64 = ((($20)) + 8|0);
+ HEAPF32[$64>>2] = $63;
+ $65 = $5;
+ $66 = ((($65)) + 820|0);
+ $67 = $10;
+ $68 = (($66) + ($67<<2)|0);
+ $69 = +HEAPF32[$68>>2];
+ $13 = $69;
+ $70 = $5;
+ $71 = ((($70)) + 756|0);
+ $72 = $10;
+ $73 = (($71) + ($72<<2)|0);
+ $74 = +HEAPF32[$73>>2];
+ $14 = $74;
+ $75 = $5;
+ $76 = ((($75)) + 772|0);
+ $77 = $10;
+ $78 = (($76) + ($77<<2)|0);
+ $79 = +HEAPF32[$78>>2];
+ $15 = $79;
+ $80 = $5;
+ $81 = ((($80)) + 244|0);
+ $82 = $10;
+ $83 = $82<<4;
+ $84 = (($81) + ($83<<2)|0);
+ $17 = $84;
+ $85 = $8;
+ $86 = ((($85)) + 2048|0);
+ $87 = $17;
+ $88 = $18;
+ $89 = $4;
+ $90 = ((($89)) + 4704|0);
+ $91 = HEAP32[$90>>2]|0;
+ $92 = (+($91|0));
+ $93 = $92 / 65536.0;
+ $94 = $4;
+ $95 = ((($94)) + 4612|0);
+ $96 = HEAP32[$95>>2]|0;
+ $97 = $4;
+ $98 = ((($97)) + 4660|0);
+ $99 = HEAP32[$98>>2]|0;
+ _silk_warped_LPC_analysis_filter_FLP($86,$21,$87,$88,$93,$96,$99);
+ $100 = $5;
+ $101 = ((($100)) + 788|0);
+ $102 = $10;
+ $103 = (($101) + ($102<<2)|0);
+ $104 = +HEAPF32[$103>>2];
+ HEAPF32[$16>>2] = $104;
+ $105 = $5;
+ $106 = ((($105)) + 788|0);
+ $107 = $10;
+ $108 = (($106) + ($107<<2)|0);
+ $109 = +HEAPF32[$108>>2];
+ $110 = - $109;
+ $111 = $5;
+ $112 = ((($111)) + 804|0);
+ $113 = $10;
+ $114 = (($112) + ($113<<2)|0);
+ $115 = +HEAPF32[$114>>2];
+ $116 = $12;
+ $117 = $115 * $116;
+ $118 = $117 + 0.05000000074505806;
+ $119 = $5;
+ $120 = ((($119)) + 860|0);
+ $121 = +HEAPF32[$120>>2];
+ $122 = $121 * 0.10000000149011612;
+ $123 = $118 + $122;
+ $124 = $110 * $123;
+ $125 = ((($16)) + 4|0);
+ HEAPF32[$125>>2] = $124;
+ $126 = +HEAPF32[$16>>2];
+ $127 = +HEAPF32[$21>>2];
+ $128 = $126 * $127;
+ $129 = ((($16)) + 4|0);
+ $130 = +HEAPF32[$129>>2];
+ $131 = $8;
+ $132 = ((($131)) + 2128|0);
+ $133 = +HEAPF32[$132>>2];
+ $134 = $130 * $133;
+ $135 = $128 + $134;
+ $136 = $19;
+ HEAPF32[$136>>2] = $135;
+ $9 = 1;
+ while(1) {
+ $137 = $9;
+ $138 = $4;
+ $139 = ((($138)) + 4612|0);
+ $140 = HEAP32[$139>>2]|0;
+ $141 = ($137|0)<($140|0);
+ if (!($141)) {
+ break;
+ }
+ $142 = +HEAPF32[$16>>2];
+ $143 = $9;
+ $144 = (($21) + ($143<<2)|0);
+ $145 = +HEAPF32[$144>>2];
+ $146 = $142 * $145;
+ $147 = ((($16)) + 4|0);
+ $148 = +HEAPF32[$147>>2];
+ $149 = $9;
+ $150 = (($149) - 1)|0;
+ $151 = (($21) + ($150<<2)|0);
+ $152 = +HEAPF32[$151>>2];
+ $153 = $148 * $152;
+ $154 = $146 + $153;
+ $155 = $19;
+ $156 = $9;
+ $157 = (($155) + ($156<<2)|0);
+ HEAPF32[$157>>2] = $154;
+ $158 = $9;
+ $159 = (($158) + 1)|0;
+ $9 = $159;
+ }
+ $160 = $4;
+ $161 = ((($160)) + 4612|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = (($162) - 1)|0;
+ $164 = (($21) + ($163<<2)|0);
+ $165 = +HEAPF32[$164>>2];
+ $166 = $8;
+ $167 = ((($166)) + 2128|0);
+ HEAPF32[$167>>2] = $165;
+ $168 = $8;
+ $169 = $19;
+ $170 = $19;
+ $171 = $13;
+ $172 = $14;
+ $173 = $15;
+ $174 = $11;
+ $175 = $4;
+ $176 = ((($175)) + 4612|0);
+ $177 = HEAP32[$176>>2]|0;
+ _silk_prefilt_FLP($168,$169,$170,$20,$171,$172,$173,$174,$177);
+ $178 = $4;
+ $179 = ((($178)) + 4612|0);
+ $180 = HEAP32[$179>>2]|0;
+ $181 = $18;
+ $182 = (($181) + ($180<<2)|0);
+ $18 = $182;
+ $183 = $4;
+ $184 = ((($183)) + 4612|0);
+ $185 = HEAP32[$184>>2]|0;
+ $186 = $19;
+ $187 = (($186) + ($185<<2)|0);
+ $19 = $187;
+ $188 = $10;
+ $189 = (($188) + 1)|0;
+ $10 = $189;
+ }
+ $190 = $5;
+ $191 = ((($190)) + 228|0);
+ $192 = $4;
+ $193 = ((($192)) + 4604|0);
+ $194 = HEAP32[$193>>2]|0;
+ $195 = (($194) - 1)|0;
+ $196 = (($191) + ($195<<2)|0);
+ $197 = HEAP32[$196>>2]|0;
+ $198 = $8;
+ $199 = ((($198)) + 2136|0);
+ HEAP32[$199>>2] = $197;
+ STACKTOP = sp;return;
+}
+function _silk_warped_LPC_analysis_filter_FLP($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = +$4;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0.0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0.0, $122 = 0.0, $123 = 0.0, $124 = 0.0, $125 = 0.0, $126 = 0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0.0, $29 = 0.0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0, $40 = 0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0;
+ var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0.0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0;
+ var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0;
+ var $90 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0.0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $14 = 0;
+ while(1) {
+ $19 = $14;
+ $20 = $12;
+ $21 = ($19|0)<($20|0);
+ if (!($21)) {
+ break;
+ }
+ $22 = $7;
+ $23 = +HEAPF32[$22>>2];
+ $24 = $11;
+ $25 = $7;
+ $26 = ((($25)) + 4|0);
+ $27 = +HEAPF32[$26>>2];
+ $28 = $24 * $27;
+ $29 = $23 + $28;
+ $18 = $29;
+ $30 = $10;
+ $31 = $14;
+ $32 = (($30) + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $7;
+ HEAPF32[$34>>2] = $33;
+ $35 = $7;
+ $36 = ((($35)) + 4|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $11;
+ $39 = $7;
+ $40 = ((($39)) + 8|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $18;
+ $43 = $41 - $42;
+ $44 = $38 * $43;
+ $45 = $37 + $44;
+ $17 = $45;
+ $46 = $18;
+ $47 = $7;
+ $48 = ((($47)) + 4|0);
+ HEAPF32[$48>>2] = $46;
+ $49 = $9;
+ $50 = +HEAPF32[$49>>2];
+ $51 = $18;
+ $52 = $50 * $51;
+ $16 = $52;
+ $15 = 2;
+ while(1) {
+ $53 = $15;
+ $54 = $13;
+ $55 = ($53|0)<($54|0);
+ if (!($55)) {
+ break;
+ }
+ $56 = $7;
+ $57 = $15;
+ $58 = (($56) + ($57<<2)|0);
+ $59 = +HEAPF32[$58>>2];
+ $60 = $11;
+ $61 = $7;
+ $62 = $15;
+ $63 = (($62) + 1)|0;
+ $64 = (($61) + ($63<<2)|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $17;
+ $67 = $65 - $66;
+ $68 = $60 * $67;
+ $69 = $59 + $68;
+ $18 = $69;
+ $70 = $17;
+ $71 = $7;
+ $72 = $15;
+ $73 = (($71) + ($72<<2)|0);
+ HEAPF32[$73>>2] = $70;
+ $74 = $9;
+ $75 = $15;
+ $76 = (($75) - 1)|0;
+ $77 = (($74) + ($76<<2)|0);
+ $78 = +HEAPF32[$77>>2];
+ $79 = $17;
+ $80 = $78 * $79;
+ $81 = $16;
+ $82 = $81 + $80;
+ $16 = $82;
+ $83 = $7;
+ $84 = $15;
+ $85 = (($84) + 1)|0;
+ $86 = (($83) + ($85<<2)|0);
+ $87 = +HEAPF32[$86>>2];
+ $88 = $11;
+ $89 = $7;
+ $90 = $15;
+ $91 = (($90) + 2)|0;
+ $92 = (($89) + ($91<<2)|0);
+ $93 = +HEAPF32[$92>>2];
+ $94 = $18;
+ $95 = $93 - $94;
+ $96 = $88 * $95;
+ $97 = $87 + $96;
+ $17 = $97;
+ $98 = $18;
+ $99 = $7;
+ $100 = $15;
+ $101 = (($100) + 1)|0;
+ $102 = (($99) + ($101<<2)|0);
+ HEAPF32[$102>>2] = $98;
+ $103 = $9;
+ $104 = $15;
+ $105 = (($103) + ($104<<2)|0);
+ $106 = +HEAPF32[$105>>2];
+ $107 = $18;
+ $108 = $106 * $107;
+ $109 = $16;
+ $110 = $109 + $108;
+ $16 = $110;
+ $111 = $15;
+ $112 = (($111) + 2)|0;
+ $15 = $112;
+ }
+ $113 = $17;
+ $114 = $7;
+ $115 = $13;
+ $116 = (($114) + ($115<<2)|0);
+ HEAPF32[$116>>2] = $113;
+ $117 = $9;
+ $118 = $13;
+ $119 = (($118) - 1)|0;
+ $120 = (($117) + ($119<<2)|0);
+ $121 = +HEAPF32[$120>>2];
+ $122 = $17;
+ $123 = $121 * $122;
+ $124 = $16;
+ $125 = $124 + $123;
+ $16 = $125;
+ $126 = $10;
+ $127 = $14;
+ $128 = (($126) + ($127<<2)|0);
+ $129 = +HEAPF32[$128>>2];
+ $130 = $16;
+ $131 = $129 - $130;
+ $132 = $8;
+ $133 = $14;
+ $134 = (($132) + ($133<<2)|0);
+ HEAPF32[$134>>2] = $131;
+ $135 = $14;
+ $136 = (($135) + 1)|0;
+ $14 = $136;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_prefilt_FLP($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = +$4;
+ $5 = +$5;
+ $6 = +$6;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0, $116 = 0, $117 = 0.0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0;
+ var $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0.0, $86 = 0.0;
+ var $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0.0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $27 = $9;
+ $26 = $27;
+ $28 = $9;
+ $29 = ((($28)) + 2116|0);
+ $30 = HEAP32[$29>>2]|0;
+ $20 = $30;
+ $31 = $9;
+ $32 = ((($31)) + 2120|0);
+ $33 = +HEAPF32[$32>>2];
+ $24 = $33;
+ $34 = $9;
+ $35 = ((($34)) + 2124|0);
+ $36 = +HEAPF32[$35>>2];
+ $25 = $36;
+ $18 = 0;
+ while(1) {
+ $37 = $18;
+ $38 = $17;
+ $39 = ($37|0)<($38|0);
+ if (!($39)) {
+ break;
+ }
+ $40 = $16;
+ $41 = ($40|0)>(0);
+ if ($41) {
+ $42 = $16;
+ $43 = $20;
+ $44 = (($42) + ($43))|0;
+ $19 = $44;
+ $45 = $26;
+ $46 = $19;
+ $47 = (($46) - 1)|0;
+ $48 = (($47) - 1)|0;
+ $49 = $48 & 511;
+ $50 = (($45) + ($49<<2)|0);
+ $51 = +HEAPF32[$50>>2];
+ $52 = $12;
+ $53 = +HEAPF32[$52>>2];
+ $54 = $51 * $53;
+ $23 = $54;
+ $55 = $26;
+ $56 = $19;
+ $57 = (($56) - 1)|0;
+ $58 = $57 & 511;
+ $59 = (($55) + ($58<<2)|0);
+ $60 = +HEAPF32[$59>>2];
+ $61 = $12;
+ $62 = ((($61)) + 4|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = $60 * $63;
+ $65 = $23;
+ $66 = $65 + $64;
+ $23 = $66;
+ $67 = $26;
+ $68 = $19;
+ $69 = (($68) - 1)|0;
+ $70 = (($69) + 1)|0;
+ $71 = $70 & 511;
+ $72 = (($67) + ($71<<2)|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $12;
+ $75 = ((($74)) + 8|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $73 * $76;
+ $78 = $23;
+ $79 = $78 + $77;
+ $23 = $79;
+ } else {
+ $23 = 0.0;
+ }
+ $80 = $24;
+ $81 = $13;
+ $82 = $80 * $81;
+ $21 = $82;
+ $83 = $24;
+ $84 = $15;
+ $85 = $83 * $84;
+ $86 = $25;
+ $87 = $14;
+ $88 = $86 * $87;
+ $89 = $85 + $88;
+ $22 = $89;
+ $90 = $10;
+ $91 = $18;
+ $92 = (($90) + ($91<<2)|0);
+ $93 = +HEAPF32[$92>>2];
+ $94 = $21;
+ $95 = $93 - $94;
+ $24 = $95;
+ $96 = $24;
+ $97 = $22;
+ $98 = $96 - $97;
+ $25 = $98;
+ $99 = $20;
+ $100 = (($99) - 1)|0;
+ $101 = $100 & 511;
+ $20 = $101;
+ $102 = $25;
+ $103 = $26;
+ $104 = $20;
+ $105 = (($103) + ($104<<2)|0);
+ HEAPF32[$105>>2] = $102;
+ $106 = $25;
+ $107 = $23;
+ $108 = $106 - $107;
+ $109 = $11;
+ $110 = $18;
+ $111 = (($109) + ($110<<2)|0);
+ HEAPF32[$111>>2] = $108;
+ $112 = $18;
+ $113 = (($112) + 1)|0;
+ $18 = $113;
+ }
+ $114 = $24;
+ $115 = $9;
+ $116 = ((($115)) + 2120|0);
+ HEAPF32[$116>>2] = $114;
+ $117 = $25;
+ $118 = $9;
+ $119 = ((($118)) + 2124|0);
+ HEAPF32[$119>>2] = $117;
+ $120 = $20;
+ $121 = $9;
+ $122 = ((($121)) + 2116|0);
+ HEAP32[$122>>2] = $120;
+ STACKTOP = sp;return;
+}
+function _silk_process_gains_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$sink = 0, $10 = 0.0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0.0, $146 = 0, $147 = 0, $148 = 0, $149 = 0.0, $15 = 0, $150 = 0.0, $151 = 0.0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0;
+ var $171 = 0.0, $172 = 0.0, $173 = 0, $174 = 0, $175 = 0, $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0.0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0, $187 = 0, $188 = 0.0, $189 = 0.0;
+ var $19 = 0, $190 = 0.0, $191 = 0, $192 = 0, $193 = 0.0, $194 = 0.0, $195 = 0.0, $196 = 0.0, $197 = 0.0, $198 = 0.0, $199 = 0, $20 = 0, $200 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0.0, $27 = 0.0;
+ var $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0;
+ var $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0;
+ var $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0;
+ var $82 = 0.0, $83 = 0.0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0.0, $99 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $8 = sp + 16|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $13 = $3;
+ $14 = ((($13)) + 7200|0);
+ $6 = $14;
+ $15 = $3;
+ $16 = ((($15)) + 4768|0);
+ $17 = ((($16)) + 29|0);
+ $18 = HEAP8[$17>>0]|0;
+ $19 = $18 << 24 >> 24;
+ $20 = ($19|0)==(2);
+ L1: do {
+ if ($20) {
+ $21 = $4;
+ $22 = ((($21)) + 872|0);
+ $23 = +HEAPF32[$22>>2];
+ $24 = $23 - 12.0;
+ $25 = 0.25 * $24;
+ $26 = (+_silk_sigmoid_299($25));
+ $27 = 0.5 * $26;
+ $28 = 1.0 - $27;
+ $9 = $28;
+ $7 = 0;
+ while(1) {
+ $29 = $7;
+ $30 = $3;
+ $31 = ((($30)) + 4604|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = ($29|0)<($32|0);
+ if (!($33)) {
+ break L1;
+ }
+ $34 = $9;
+ $35 = $4;
+ $36 = $7;
+ $37 = (($35) + ($36<<2)|0);
+ $38 = +HEAPF32[$37>>2];
+ $39 = $38 * $34;
+ HEAPF32[$37>>2] = $39;
+ $40 = $7;
+ $41 = (($40) + 1)|0;
+ $7 = $41;
+ }
+ }
+ } while(0);
+ $42 = $3;
+ $43 = ((($42)) + 4748|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = (+($44|0));
+ $46 = $45 * 0.0078125;
+ $47 = 21.0 - $46;
+ $48 = 0.33000001311302185 * $47;
+ $49 = $48;
+ $50 = (+Math_pow(2.0,(+$49)));
+ $51 = $3;
+ $52 = ((($51)) + 4612|0);
+ $53 = HEAP32[$52>>2]|0;
+ $54 = (+($53|0));
+ $55 = $50 / $54;
+ $56 = $55;
+ $10 = $56;
+ $7 = 0;
+ while(1) {
+ $57 = $7;
+ $58 = $3;
+ $59 = ((($58)) + 4604|0);
+ $60 = HEAP32[$59>>2]|0;
+ $61 = ($57|0)<($60|0);
+ if (!($61)) {
+ break;
+ }
+ $62 = $4;
+ $63 = $7;
+ $64 = (($62) + ($63<<2)|0);
+ $65 = +HEAPF32[$64>>2];
+ $11 = $65;
+ $66 = $11;
+ $67 = $11;
+ $68 = $66 * $67;
+ $69 = $4;
+ $70 = ((($69)) + 876|0);
+ $71 = $7;
+ $72 = (($70) + ($71<<2)|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $10;
+ $75 = $73 * $74;
+ $76 = $68 + $75;
+ $77 = $76;
+ $78 = (+Math_sqrt((+$77)));
+ $79 = $78;
+ $11 = $79;
+ $80 = $11;
+ $81 = $80 < 32767.0;
+ $82 = $11;
+ $83 = $81 ? $82 : 32767.0;
+ $84 = $4;
+ $85 = $7;
+ $86 = (($84) + ($85<<2)|0);
+ HEAPF32[$86>>2] = $83;
+ $87 = $7;
+ $88 = (($87) + 1)|0;
+ $7 = $88;
+ }
+ $7 = 0;
+ while(1) {
+ $89 = $7;
+ $90 = $3;
+ $91 = ((($90)) + 4604|0);
+ $92 = HEAP32[$91>>2]|0;
+ $93 = ($89|0)<($92|0);
+ $94 = $4;
+ if (!($93)) {
+ break;
+ }
+ $95 = $7;
+ $96 = (($94) + ($95<<2)|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $97 * 65536.0;
+ $99 = (~~(($98)));
+ $100 = $7;
+ $101 = (($8) + ($100<<2)|0);
+ HEAP32[$101>>2] = $99;
+ $102 = $7;
+ $103 = (($102) + 1)|0;
+ $7 = $103;
+ }
+ $104 = ((($94)) + 892|0);
+ $105 = $3;
+ $106 = ((($105)) + 4604|0);
+ $107 = HEAP32[$106>>2]|0;
+ $108 = $107<<2;
+ _memcpy(($104|0),($8|0),($108|0))|0;
+ $109 = $6;
+ $110 = HEAP8[$109>>0]|0;
+ $111 = $4;
+ $112 = ((($111)) + 908|0);
+ HEAP8[$112>>0] = $110;
+ $113 = $3;
+ $114 = ((($113)) + 4768|0);
+ $115 = $6;
+ $116 = $5;
+ $117 = ($116|0)==(2);
+ $118 = $117&1;
+ $119 = $3;
+ $120 = ((($119)) + 4604|0);
+ $121 = HEAP32[$120>>2]|0;
+ _silk_gains_quant($114,$8,$115,$118,$121);
+ $7 = 0;
+ while(1) {
+ $122 = $7;
+ $123 = $3;
+ $124 = ((($123)) + 4604|0);
+ $125 = HEAP32[$124>>2]|0;
+ $126 = ($122|0)<($125|0);
+ if (!($126)) {
+ break;
+ }
+ $127 = $7;
+ $128 = (($8) + ($127<<2)|0);
+ $129 = HEAP32[$128>>2]|0;
+ $130 = (+($129|0));
+ $131 = $130 / 65536.0;
+ $132 = $4;
+ $133 = $7;
+ $134 = (($132) + ($133<<2)|0);
+ HEAPF32[$134>>2] = $131;
+ $135 = $7;
+ $136 = (($135) + 1)|0;
+ $7 = $136;
+ }
+ $137 = $3;
+ $138 = ((($137)) + 4768|0);
+ $139 = ((($138)) + 29|0);
+ $140 = HEAP8[$139>>0]|0;
+ $141 = $140 << 24 >> 24;
+ $142 = ($141|0)==(2);
+ if ($142) {
+ $143 = $4;
+ $144 = ((($143)) + 872|0);
+ $145 = +HEAPF32[$144>>2];
+ $146 = $3;
+ $147 = ((($146)) + 4744|0);
+ $148 = HEAP32[$147>>2]|0;
+ $149 = (+($148|0));
+ $150 = $149 * 3.0517578125E-5;
+ $151 = $145 + $150;
+ $152 = $151 > 1.0;
+ $153 = $3;
+ $154 = ((($153)) + 4768|0);
+ $155 = ((($154)) + 30|0);
+ $$sink = $152 ? 0 : 1;
+ HEAP8[$155>>0] = $$sink;
+ }
+ $156 = $3;
+ $157 = ((($156)) + 4768|0);
+ $158 = ((($157)) + 29|0);
+ $159 = HEAP8[$158>>0]|0;
+ $160 = $159 << 24 >> 24;
+ $161 = $160 >> 1;
+ $162 = (24998 + ($161<<2)|0);
+ $163 = $3;
+ $164 = ((($163)) + 4768|0);
+ $165 = ((($164)) + 30|0);
+ $166 = HEAP8[$165>>0]|0;
+ $167 = $166 << 24 >> 24;
+ $168 = (($162) + ($167<<1)|0);
+ $169 = HEAP16[$168>>1]|0;
+ $170 = $169 << 16 >> 16;
+ $171 = (+($170|0));
+ $172 = $171 / 1024.0;
+ $12 = $172;
+ $173 = $3;
+ $174 = ((($173)) + 4652|0);
+ $175 = HEAP32[$174>>2]|0;
+ $176 = (+($175|0));
+ $177 = -0.05000000074505806 * $176;
+ $178 = 1.2000000476837158 + $177;
+ $179 = $3;
+ $180 = ((($179)) + 4556|0);
+ $181 = HEAP32[$180>>2]|0;
+ $182 = (+($181|0));
+ $183 = -0.20000000298023224 * $182;
+ $184 = $183 * 0.00390625;
+ $185 = $178 + $184;
+ $186 = $4;
+ $187 = ((($186)) + 856|0);
+ $188 = +HEAPF32[$187>>2];
+ $189 = -0.10000000149011612 * $188;
+ $190 = $185 + $189;
+ $191 = $4;
+ $192 = ((($191)) + 860|0);
+ $193 = +HEAPF32[$192>>2];
+ $194 = -0.20000000298023224 * $193;
+ $195 = $190 + $194;
+ $196 = $12;
+ $197 = 0.80000001192092896 * $196;
+ $198 = $195 + $197;
+ $199 = $4;
+ $200 = ((($199)) + 852|0);
+ HEAPF32[$200>>2] = $198;
+ STACKTOP = sp;return;
+}
+function _silk_sigmoid_299($0) {
+ $0 = +$0;
+ var $1 = 0.0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, $6 = 0.0, $7 = 0.0, $8 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = - $2;
+ $4 = $3;
+ $5 = (+Math_exp((+$4)));
+ $6 = 1.0 + $5;
+ $7 = 1.0 / $6;
+ $8 = $7;
+ STACKTOP = sp;return (+$8);
+}
+function _silk_residual_energy_covar_FLP($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = +$3;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0.0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0.0, $115 = 0, $116 = 0, $117 = 0.0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0.0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0.0;
+ var $27 = 0, $28 = 0, $29 = 0.0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0.0;
+ var $47 = 0.0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0.0, $66 = 0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0.0, $8 = 0.0, $80 = 0.0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $14 = 0.0;
+ $16 = $6;
+ $17 = +HEAPF32[$16>>2];
+ $18 = $6;
+ $19 = $9;
+ $20 = $9;
+ $21 = Math_imul($19, $20)|0;
+ $22 = (($21) - 1)|0;
+ $23 = (($18) + ($22<<2)|0);
+ $24 = +HEAPF32[$23>>2];
+ $25 = $17 + $24;
+ $26 = 9.9999999392252903E-9 * $25;
+ $15 = $26;
+ $12 = 0;
+ while(1) {
+ $27 = $12;
+ $28 = ($27|0)<(10);
+ if (!($28)) {
+ break;
+ }
+ $29 = $8;
+ $14 = $29;
+ $13 = 0.0;
+ $10 = 0;
+ while(1) {
+ $30 = $10;
+ $31 = $9;
+ $32 = ($30|0)<($31|0);
+ if (!($32)) {
+ break;
+ }
+ $33 = $7;
+ $34 = $10;
+ $35 = (($33) + ($34<<2)|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $5;
+ $38 = $10;
+ $39 = (($37) + ($38<<2)|0);
+ $40 = +HEAPF32[$39>>2];
+ $41 = $36 * $40;
+ $42 = $13;
+ $43 = $42 + $41;
+ $13 = $43;
+ $44 = $10;
+ $45 = (($44) + 1)|0;
+ $10 = $45;
+ }
+ $46 = $13;
+ $47 = 2.0 * $46;
+ $48 = $14;
+ $49 = $48 - $47;
+ $14 = $49;
+ $10 = 0;
+ while(1) {
+ $50 = $10;
+ $51 = $9;
+ $52 = ($50|0)<($51|0);
+ if (!($52)) {
+ break;
+ }
+ $13 = 0.0;
+ $53 = $10;
+ $54 = (($53) + 1)|0;
+ $11 = $54;
+ while(1) {
+ $55 = $11;
+ $56 = $9;
+ $57 = ($55|0)<($56|0);
+ if (!($57)) {
+ break;
+ }
+ $58 = $6;
+ $59 = $10;
+ $60 = $9;
+ $61 = $11;
+ $62 = Math_imul($60, $61)|0;
+ $63 = (($59) + ($62))|0;
+ $64 = (($58) + ($63<<2)|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $5;
+ $67 = $11;
+ $68 = (($66) + ($67<<2)|0);
+ $69 = +HEAPF32[$68>>2];
+ $70 = $65 * $69;
+ $71 = $13;
+ $72 = $71 + $70;
+ $13 = $72;
+ $73 = $11;
+ $74 = (($73) + 1)|0;
+ $11 = $74;
+ }
+ $75 = $5;
+ $76 = $10;
+ $77 = (($75) + ($76<<2)|0);
+ $78 = +HEAPF32[$77>>2];
+ $79 = $13;
+ $80 = 2.0 * $79;
+ $81 = $6;
+ $82 = $10;
+ $83 = $9;
+ $84 = $10;
+ $85 = Math_imul($83, $84)|0;
+ $86 = (($82) + ($85))|0;
+ $87 = (($81) + ($86<<2)|0);
+ $88 = +HEAPF32[$87>>2];
+ $89 = $5;
+ $90 = $10;
+ $91 = (($89) + ($90<<2)|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = $88 * $92;
+ $94 = $80 + $93;
+ $95 = $78 * $94;
+ $96 = $14;
+ $97 = $96 + $95;
+ $14 = $97;
+ $98 = $10;
+ $99 = (($98) + 1)|0;
+ $10 = $99;
+ }
+ $100 = $14;
+ $101 = $100 > 0.0;
+ if ($101) {
+ break;
+ }
+ $10 = 0;
+ while(1) {
+ $102 = $10;
+ $103 = $9;
+ $104 = ($102|0)<($103|0);
+ $105 = $15;
+ if (!($104)) {
+ break;
+ }
+ $106 = $6;
+ $107 = $10;
+ $108 = $9;
+ $109 = $10;
+ $110 = Math_imul($108, $109)|0;
+ $111 = (($107) + ($110))|0;
+ $112 = (($106) + ($111<<2)|0);
+ $113 = +HEAPF32[$112>>2];
+ $114 = $113 + $105;
+ HEAPF32[$112>>2] = $114;
+ $115 = $10;
+ $116 = (($115) + 1)|0;
+ $10 = $116;
+ }
+ $117 = $105 * 2.0;
+ $15 = $117;
+ $118 = $12;
+ $119 = (($118) + 1)|0;
+ $12 = $119;
+ }
+ $120 = $12;
+ $121 = ($120|0)==(10);
+ if (!($121)) {
+ $122 = $14;
+ STACKTOP = sp;return (+$122);
+ }
+ $14 = 1.0;
+ $122 = $14;
+ STACKTOP = sp;return (+$122);
+}
+function _silk_residual_energy_FLP($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0, $109 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0;
+ var $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0;
+ var $40 = 0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0.0, $59 = 0.0;
+ var $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0;
+ var $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0;
+ var $97 = 0.0, $98 = 0.0, $99 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 816|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(816|0);
+ $16 = sp;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $17 = $13;
+ $18 = (($16) + ($17<<2)|0);
+ $15 = $18;
+ $19 = $13;
+ $20 = $11;
+ $21 = (($19) + ($20))|0;
+ $14 = $21;
+ $22 = $9;
+ $23 = $8;
+ $24 = $14;
+ $25 = 0;
+ $26 = (($23) + ($25<<2)|0);
+ $27 = $14;
+ $28 = $27<<1;
+ $29 = $13;
+ _silk_LPC_analysis_filter_FLP($16,$22,$26,$28,$29);
+ $30 = $10;
+ $31 = +HEAPF32[$30>>2];
+ $32 = $10;
+ $33 = +HEAPF32[$32>>2];
+ $34 = $31 * $33;
+ $35 = $34;
+ $36 = $15;
+ $37 = $14;
+ $38 = 0;
+ $39 = (($36) + ($38<<2)|0);
+ $40 = $11;
+ $41 = (+_silk_energy_FLP($39,$40));
+ $42 = $35 * $41;
+ $43 = $42;
+ $44 = $7;
+ HEAPF32[$44>>2] = $43;
+ $45 = $10;
+ $46 = ((($45)) + 4|0);
+ $47 = +HEAPF32[$46>>2];
+ $48 = $10;
+ $49 = ((($48)) + 4|0);
+ $50 = +HEAPF32[$49>>2];
+ $51 = $47 * $50;
+ $52 = $51;
+ $53 = $15;
+ $54 = $14;
+ $55 = $54;
+ $56 = (($53) + ($55<<2)|0);
+ $57 = $11;
+ $58 = (+_silk_energy_FLP($56,$57));
+ $59 = $52 * $58;
+ $60 = $59;
+ $61 = $7;
+ $62 = ((($61)) + 4|0);
+ HEAPF32[$62>>2] = $60;
+ $63 = $12;
+ $64 = ($63|0)==(4);
+ if (!($64)) {
+ STACKTOP = sp;return;
+ }
+ $65 = $9;
+ $66 = ((($65)) + 64|0);
+ $67 = $8;
+ $68 = $14;
+ $69 = $68<<1;
+ $70 = (($67) + ($69<<2)|0);
+ $71 = $14;
+ $72 = $71<<1;
+ $73 = $13;
+ _silk_LPC_analysis_filter_FLP($16,$66,$70,$72,$73);
+ $74 = $10;
+ $75 = ((($74)) + 8|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $10;
+ $78 = ((($77)) + 8|0);
+ $79 = +HEAPF32[$78>>2];
+ $80 = $76 * $79;
+ $81 = $80;
+ $82 = $15;
+ $83 = $14;
+ $84 = 0;
+ $85 = (($82) + ($84<<2)|0);
+ $86 = $11;
+ $87 = (+_silk_energy_FLP($85,$86));
+ $88 = $81 * $87;
+ $89 = $88;
+ $90 = $7;
+ $91 = ((($90)) + 8|0);
+ HEAPF32[$91>>2] = $89;
+ $92 = $10;
+ $93 = ((($92)) + 12|0);
+ $94 = +HEAPF32[$93>>2];
+ $95 = $10;
+ $96 = ((($95)) + 12|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $94 * $97;
+ $99 = $98;
+ $100 = $15;
+ $101 = $14;
+ $102 = $101;
+ $103 = (($100) + ($102<<2)|0);
+ $104 = $11;
+ $105 = (+_silk_energy_FLP($103,$104));
+ $106 = $99 * $105;
+ $107 = $106;
+ $108 = $7;
+ $109 = ((($108)) + 12|0);
+ HEAPF32[$109>>2] = $107;
+ STACKTOP = sp;return;
+}
+function _silk_warped_autocorrelation_FLP($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0;
+ var $47 = 0, $48 = 0.0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0.0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0.0;
+ var $83 = 0.0, $84 = 0, $85 = 0, $86 = 0.0, $87 = 0.0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0.0, $97 = 0.0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 320|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(320|0);
+ $14 = sp + 136|0;
+ $15 = sp;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ _memset(($14|0),0,136)|0;
+ _memset(($15|0),0,136)|0;
+ $10 = 0;
+ while(1) {
+ $16 = $10;
+ $17 = $8;
+ $18 = ($16|0)<($17|0);
+ if (!($18)) {
+ break;
+ }
+ $19 = $6;
+ $20 = $10;
+ $21 = (($19) + ($20<<2)|0);
+ $22 = +HEAPF32[$21>>2];
+ $23 = $22;
+ $12 = $23;
+ $11 = 0;
+ while(1) {
+ $24 = $11;
+ $25 = $9;
+ $26 = ($24|0)<($25|0);
+ if (!($26)) {
+ break;
+ }
+ $27 = $11;
+ $28 = (($14) + ($27<<3)|0);
+ $29 = +HEAPF64[$28>>3];
+ $30 = $7;
+ $31 = $30;
+ $32 = $11;
+ $33 = (($32) + 1)|0;
+ $34 = (($14) + ($33<<3)|0);
+ $35 = +HEAPF64[$34>>3];
+ $36 = $12;
+ $37 = $35 - $36;
+ $38 = $31 * $37;
+ $39 = $29 + $38;
+ $13 = $39;
+ $40 = $12;
+ $41 = $11;
+ $42 = (($14) + ($41<<3)|0);
+ HEAPF64[$42>>3] = $40;
+ $43 = +HEAPF64[$14>>3];
+ $44 = $12;
+ $45 = $43 * $44;
+ $46 = $11;
+ $47 = (($15) + ($46<<3)|0);
+ $48 = +HEAPF64[$47>>3];
+ $49 = $48 + $45;
+ HEAPF64[$47>>3] = $49;
+ $50 = $11;
+ $51 = (($50) + 1)|0;
+ $52 = (($14) + ($51<<3)|0);
+ $53 = +HEAPF64[$52>>3];
+ $54 = $7;
+ $55 = $54;
+ $56 = $11;
+ $57 = (($56) + 2)|0;
+ $58 = (($14) + ($57<<3)|0);
+ $59 = +HEAPF64[$58>>3];
+ $60 = $13;
+ $61 = $59 - $60;
+ $62 = $55 * $61;
+ $63 = $53 + $62;
+ $12 = $63;
+ $64 = $13;
+ $65 = $11;
+ $66 = (($65) + 1)|0;
+ $67 = (($14) + ($66<<3)|0);
+ HEAPF64[$67>>3] = $64;
+ $68 = +HEAPF64[$14>>3];
+ $69 = $13;
+ $70 = $68 * $69;
+ $71 = $11;
+ $72 = (($71) + 1)|0;
+ $73 = (($15) + ($72<<3)|0);
+ $74 = +HEAPF64[$73>>3];
+ $75 = $74 + $70;
+ HEAPF64[$73>>3] = $75;
+ $76 = $11;
+ $77 = (($76) + 2)|0;
+ $11 = $77;
+ }
+ $78 = $12;
+ $79 = $9;
+ $80 = (($14) + ($79<<3)|0);
+ HEAPF64[$80>>3] = $78;
+ $81 = +HEAPF64[$14>>3];
+ $82 = $12;
+ $83 = $81 * $82;
+ $84 = $9;
+ $85 = (($15) + ($84<<3)|0);
+ $86 = +HEAPF64[$85>>3];
+ $87 = $86 + $83;
+ HEAPF64[$85>>3] = $87;
+ $88 = $10;
+ $89 = (($88) + 1)|0;
+ $10 = $89;
+ }
+ $11 = 0;
+ while(1) {
+ $90 = $11;
+ $91 = $9;
+ $92 = (($91) + 1)|0;
+ $93 = ($90|0)<($92|0);
+ if (!($93)) {
+ break;
+ }
+ $94 = $11;
+ $95 = (($15) + ($94<<3)|0);
+ $96 = +HEAPF64[$95>>3];
+ $97 = $96;
+ $98 = $5;
+ $99 = $11;
+ $100 = (($98) + ($99<<2)|0);
+ HEAPF32[$100>>2] = $97;
+ $101 = $11;
+ $102 = (($101) + 1)|0;
+ $11 = $102;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_A2NLSF_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $7 = sp;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = 0;
+ while(1) {
+ $8 = $6;
+ $9 = $5;
+ $10 = ($8|0)<($9|0);
+ if (!($10)) {
+ break;
+ }
+ $11 = $4;
+ $12 = $6;
+ $13 = (($11) + ($12<<2)|0);
+ $14 = +HEAPF32[$13>>2];
+ $15 = $14 * 65536.0;
+ $16 = (_silk_float2int($15)|0);
+ $17 = $6;
+ $18 = (($7) + ($17<<2)|0);
+ HEAP32[$18>>2] = $16;
+ $19 = $6;
+ $20 = (($19) + 1)|0;
+ $6 = $20;
+ }
+ $21 = $3;
+ $22 = $5;
+ _silk_A2NLSF($21,$7,$22);
+ STACKTOP = sp;return;
+}
+function _silk_float2int($0) {
+ $0 = +$0;
+ var $1 = 0.0, $2 = 0.0, $3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = (_lrintf($2)|0);
+ STACKTOP = sp;return ($3|0);
+}
+function _silk_NLSF2A_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $7 = sp + 16|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $4;
+ $9 = $5;
+ _silk_NLSF2A($7,$8,$9);
+ $6 = 0;
+ while(1) {
+ $10 = $6;
+ $11 = $5;
+ $12 = ($10|0)<($11|0);
+ if (!($12)) {
+ break;
+ }
+ $13 = $6;
+ $14 = (($7) + ($13<<1)|0);
+ $15 = HEAP16[$14>>1]|0;
+ $16 = (+($15<<16>>16));
+ $17 = $16 * 2.44140625E-4;
+ $18 = $3;
+ $19 = $6;
+ $20 = (($18) + ($19<<2)|0);
+ HEAPF32[$20>>2] = $17;
+ $21 = $6;
+ $22 = (($21) + 1)|0;
+ $6 = $22;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_process_NLSFs_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $10 = sp + 24|0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $11 = $4;
+ $12 = $6;
+ $13 = $7;
+ _silk_process_NLSFs($11,$10,$12,$13);
+ $9 = 0;
+ while(1) {
+ $14 = $9;
+ $15 = ($14|0)<(2);
+ if (!($15)) {
+ break;
+ }
+ $8 = 0;
+ while(1) {
+ $16 = $8;
+ $17 = $4;
+ $18 = ((($17)) + 4664|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = ($16|0)<($19|0);
+ $21 = $9;
+ if (!($20)) {
+ break;
+ }
+ $22 = (($10) + ($21<<5)|0);
+ $23 = $8;
+ $24 = (($22) + ($23<<1)|0);
+ $25 = HEAP16[$24>>1]|0;
+ $26 = (+($25<<16>>16));
+ $27 = $26 * 2.44140625E-4;
+ $28 = $5;
+ $29 = $9;
+ $30 = (($28) + ($29<<6)|0);
+ $31 = $8;
+ $32 = (($30) + ($31<<2)|0);
+ HEAPF32[$32>>2] = $27;
+ $33 = $8;
+ $34 = (($33) + 1)|0;
+ $8 = $34;
+ }
+ $35 = (($21) + 1)|0;
+ $9 = $35;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_NSQ_wrapper_FLP($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0.0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0.0, $135 = 0.0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0.0, $155 = 0.0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0.0, $182 = 0.0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
+ var $38 = 0, $39 = 0, $40 = 0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0;
+ var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0.0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0;
+ var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0.0, $84 = 0.0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0;
+ var $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 1632|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1632|0);
+ $14 = sp + 80|0;
+ $15 = sp + 64|0;
+ $16 = sp + 1560|0;
+ $17 = sp + 1520|0;
+ $19 = sp + 1392|0;
+ $20 = sp + 40|0;
+ $22 = sp + 16|0;
+ $23 = sp;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $12 = 0;
+ while(1) {
+ $24 = $12;
+ $25 = $6;
+ $26 = ((($25)) + 4604|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = ($24|0)<($27|0);
+ if (!($28)) {
+ break;
+ }
+ $13 = 0;
+ while(1) {
+ $29 = $13;
+ $30 = $6;
+ $31 = ((($30)) + 4660|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = ($29|0)<($32|0);
+ if (!($33)) {
+ break;
+ }
+ $34 = $7;
+ $35 = ((($34)) + 500|0);
+ $36 = $12;
+ $37 = $36<<4;
+ $38 = $13;
+ $39 = (($37) + ($38))|0;
+ $40 = (($35) + ($39<<2)|0);
+ $41 = +HEAPF32[$40>>2];
+ $42 = $41 * 8192.0;
+ $43 = (_silk_float2int($42)|0);
+ $44 = $43&65535;
+ $45 = $12;
+ $46 = $45<<4;
+ $47 = $13;
+ $48 = (($46) + ($47))|0;
+ $49 = (($19) + ($48<<1)|0);
+ HEAP16[$49>>1] = $44;
+ $50 = $13;
+ $51 = (($50) + 1)|0;
+ $13 = $51;
+ }
+ $52 = $12;
+ $53 = (($52) + 1)|0;
+ $12 = $53;
+ }
+ $12 = 0;
+ while(1) {
+ $54 = $12;
+ $55 = $6;
+ $56 = ((($55)) + 4604|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = ($54|0)<($57|0);
+ $59 = $7;
+ if (!($58)) {
+ break;
+ }
+ $60 = ((($59)) + 772|0);
+ $61 = $12;
+ $62 = (($60) + ($61<<2)|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = $63 * 16384.0;
+ $65 = (_silk_float2int($64)|0);
+ $66 = $65 << 16;
+ $67 = $7;
+ $68 = ((($67)) + 756|0);
+ $69 = $12;
+ $70 = (($68) + ($69<<2)|0);
+ $71 = +HEAPF32[$70>>2];
+ $72 = $71 * 16384.0;
+ $73 = (_silk_float2int($72)|0);
+ $74 = $73&65535;
+ $75 = $74&65535;
+ $76 = $66 | $75;
+ $77 = $12;
+ $78 = (($20) + ($77<<2)|0);
+ HEAP32[$78>>2] = $76;
+ $79 = $7;
+ $80 = ((($79)) + 820|0);
+ $81 = $12;
+ $82 = (($80) + ($81<<2)|0);
+ $83 = +HEAPF32[$82>>2];
+ $84 = $83 * 16384.0;
+ $85 = (_silk_float2int($84)|0);
+ $86 = $12;
+ $87 = (($22) + ($86<<2)|0);
+ HEAP32[$87>>2] = $85;
+ $88 = $7;
+ $89 = ((($88)) + 836|0);
+ $90 = $12;
+ $91 = (($89) + ($90<<2)|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = $92 * 16384.0;
+ $94 = (_silk_float2int($93)|0);
+ $95 = $12;
+ $96 = (($23) + ($95<<2)|0);
+ HEAP32[$96>>2] = $94;
+ $97 = $12;
+ $98 = (($97) + 1)|0;
+ $12 = $98;
+ }
+ $99 = ((($59)) + 852|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = $100 * 1024.0;
+ $102 = (_silk_float2int($101)|0);
+ $21 = $102;
+ $12 = 0;
+ while(1) {
+ $103 = $12;
+ $104 = $6;
+ $105 = ((($104)) + 4604|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = ($106*5)|0;
+ $108 = ($103|0)<($107|0);
+ if (!($108)) {
+ break;
+ }
+ $109 = $7;
+ $110 = ((($109)) + 144|0);
+ $111 = $12;
+ $112 = (($110) + ($111<<2)|0);
+ $113 = +HEAPF32[$112>>2];
+ $114 = $113 * 16384.0;
+ $115 = (_silk_float2int($114)|0);
+ $116 = $115&65535;
+ $117 = $12;
+ $118 = (($17) + ($117<<1)|0);
+ HEAP16[$118>>1] = $116;
+ $119 = $12;
+ $120 = (($119) + 1)|0;
+ $12 = $120;
+ }
+ $13 = 0;
+ while(1) {
+ $121 = $13;
+ $122 = ($121|0)<(2);
+ $12 = 0;
+ if (!($122)) {
+ break;
+ }
+ while(1) {
+ $123 = $12;
+ $124 = $6;
+ $125 = ((($124)) + 4664|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = ($123|0)<($126|0);
+ if (!($127)) {
+ break;
+ }
+ $128 = $7;
+ $129 = ((($128)) + 16|0);
+ $130 = $13;
+ $131 = (($129) + ($130<<6)|0);
+ $132 = $12;
+ $133 = (($131) + ($132<<2)|0);
+ $134 = +HEAPF32[$133>>2];
+ $135 = $134 * 4096.0;
+ $136 = (_silk_float2int($135)|0);
+ $137 = $136&65535;
+ $138 = $13;
+ $139 = (($16) + ($138<<5)|0);
+ $140 = $12;
+ $141 = (($139) + ($140<<1)|0);
+ HEAP16[$141>>1] = $137;
+ $142 = $12;
+ $143 = (($142) + 1)|0;
+ $12 = $143;
+ }
+ $144 = $13;
+ $145 = (($144) + 1)|0;
+ $13 = $145;
+ }
+ while(1) {
+ $146 = $12;
+ $147 = $6;
+ $148 = ((($147)) + 4604|0);
+ $149 = HEAP32[$148>>2]|0;
+ $150 = ($146|0)<($149|0);
+ if (!($150)) {
+ break;
+ }
+ $151 = $7;
+ $152 = $12;
+ $153 = (($151) + ($152<<2)|0);
+ $154 = +HEAPF32[$153>>2];
+ $155 = $154 * 65536.0;
+ $156 = (_silk_float2int($155)|0);
+ $157 = $12;
+ $158 = (($15) + ($157<<2)|0);
+ HEAP32[$158>>2] = $156;
+ $159 = $12;
+ $160 = (($159) + 1)|0;
+ $12 = $160;
+ }
+ $161 = $8;
+ $162 = ((($161)) + 29|0);
+ $163 = HEAP8[$162>>0]|0;
+ $164 = $163 << 24 >> 24;
+ $165 = ($164|0)==(2);
+ if ($165) {
+ $166 = $8;
+ $167 = ((($166)) + 33|0);
+ $168 = HEAP8[$167>>0]|0;
+ $169 = $168 << 24 >> 24;
+ $170 = (25006 + ($169<<1)|0);
+ $171 = HEAP16[$170>>1]|0;
+ $172 = $171 << 16 >> 16;
+ $18 = $172;
+ } else {
+ $18 = 0;
+ }
+ $12 = 0;
+ while(1) {
+ $173 = $12;
+ $174 = $6;
+ $175 = ((($174)) + 4608|0);
+ $176 = HEAP32[$175>>2]|0;
+ $177 = ($173|0)<($176|0);
+ if (!($177)) {
+ break;
+ }
+ $178 = $11;
+ $179 = $12;
+ $180 = (($178) + ($179<<2)|0);
+ $181 = +HEAPF32[$180>>2];
+ $182 = 8.0 * $181;
+ $183 = (_silk_float2int($182)|0);
+ $184 = $12;
+ $185 = (($14) + ($184<<2)|0);
+ HEAP32[$185>>2] = $183;
+ $186 = $12;
+ $187 = (($186) + 1)|0;
+ $12 = $187;
+ }
+ $188 = $6;
+ $189 = ((($188)) + 4652|0);
+ $190 = HEAP32[$189>>2]|0;
+ $191 = ($190|0)>(1);
+ if (!($191)) {
+ $192 = $6;
+ $193 = ((($192)) + 4704|0);
+ $194 = HEAP32[$193>>2]|0;
+ $195 = ($194|0)>(0);
+ if (!($195)) {
+ $204 = $6;
+ $205 = $9;
+ $206 = $8;
+ $207 = $10;
+ $208 = $7;
+ $209 = ((($208)) + 228|0);
+ $210 = $21;
+ $211 = $18;
+ _silk_NSQ_c($204,$205,$206,$14,$207,$16,$17,$19,$23,$22,$20,$15,$209,$210,$211);
+ STACKTOP = sp;return;
+ }
+ }
+ $196 = $6;
+ $197 = $9;
+ $198 = $8;
+ $199 = $10;
+ $200 = $7;
+ $201 = ((($200)) + 228|0);
+ $202 = $21;
+ $203 = $18;
+ _silk_NSQ_del_dec_c($196,$197,$198,$14,$199,$16,$17,$19,$23,$22,$20,$15,$201,$202,$203);
+ STACKTOP = sp;return;
+}
+function _silk_quant_LTP_gains_FLP($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0.0, $45 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0, $68 = 0, $69 = 0;
+ var $70 = 0, $71 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 480|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(480|0);
+ $19 = sp + 440|0;
+ $20 = sp;
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $18 = 0;
+ while(1) {
+ $21 = $18;
+ $22 = $16;
+ $23 = ($22*5)|0;
+ $24 = ($21|0)<($23|0);
+ if (!($24)) {
+ break;
+ }
+ $25 = $9;
+ $26 = $18;
+ $27 = (($25) + ($26<<2)|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = $28 * 16384.0;
+ $30 = (_silk_float2int($29)|0);
+ $31 = $30&65535;
+ $32 = $18;
+ $33 = (($19) + ($32<<1)|0);
+ HEAP16[$33>>1] = $31;
+ $34 = $18;
+ $35 = (($34) + 1)|0;
+ $18 = $35;
+ }
+ $18 = 0;
+ while(1) {
+ $36 = $18;
+ $37 = $16;
+ $38 = ($37*5)|0;
+ $39 = ($38*5)|0;
+ $40 = ($36|0)<($39|0);
+ if (!($40)) {
+ break;
+ }
+ $41 = $13;
+ $42 = $18;
+ $43 = (($41) + ($42<<2)|0);
+ $44 = +HEAPF32[$43>>2];
+ $45 = $44 * 262144.0;
+ $46 = (_silk_float2int($45)|0);
+ $47 = $18;
+ $48 = (($20) + ($47<<2)|0);
+ HEAP32[$48>>2] = $46;
+ $49 = $18;
+ $50 = (($49) + 1)|0;
+ $18 = $50;
+ }
+ $51 = $10;
+ $52 = $11;
+ $53 = $12;
+ $54 = $14;
+ $55 = $15;
+ $56 = $16;
+ $57 = $17;
+ _silk_quant_LTP_gains($19,$51,$52,$53,$20,$54,$55,$56,$57);
+ $18 = 0;
+ while(1) {
+ $58 = $18;
+ $59 = $16;
+ $60 = ($59*5)|0;
+ $61 = ($58|0)<($60|0);
+ if (!($61)) {
+ break;
+ }
+ $62 = $18;
+ $63 = (($19) + ($62<<1)|0);
+ $64 = HEAP16[$63>>1]|0;
+ $65 = (+($64<<16>>16));
+ $66 = $65 * 6.103515625E-5;
+ $67 = $9;
+ $68 = $18;
+ $69 = (($67) + ($68<<2)|0);
+ HEAPF32[$69>>2] = $66;
+ $70 = $18;
+ $71 = (($70) + 1)|0;
+ $18 = $71;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_autocorrelation_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $7;
+ $10 = $6;
+ $11 = ($9|0)>($10|0);
+ if ($11) {
+ $12 = $6;
+ $7 = $12;
+ }
+ $8 = 0;
+ while(1) {
+ $13 = $8;
+ $14 = $7;
+ $15 = ($13|0)<($14|0);
+ if (!($15)) {
+ break;
+ }
+ $16 = $5;
+ $17 = $5;
+ $18 = $8;
+ $19 = (($17) + ($18<<2)|0);
+ $20 = $6;
+ $21 = $8;
+ $22 = (($20) - ($21))|0;
+ $23 = (+_silk_inner_product_FLP($16,$19,$22));
+ $24 = $23;
+ $25 = $4;
+ $26 = $8;
+ $27 = (($25) + ($26<<2)|0);
+ HEAPF32[$27>>2] = $24;
+ $28 = $8;
+ $29 = (($28) + 1)|0;
+ $8 = $29;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_bwexpander_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0.0, $3 = 0;
+ var $4 = 0, $5 = 0.0, $6 = 0, $7 = 0.0, $8 = 0.0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $5;
+ $7 = $8;
+ $6 = 0;
+ while(1) {
+ $9 = $6;
+ $10 = $4;
+ $11 = (($10) - 1)|0;
+ $12 = ($9|0)<($11|0);
+ $13 = $7;
+ $14 = $3;
+ if (!($12)) {
+ break;
+ }
+ $15 = $6;
+ $16 = (($14) + ($15<<2)|0);
+ $17 = +HEAPF32[$16>>2];
+ $18 = $17 * $13;
+ HEAPF32[$16>>2] = $18;
+ $19 = $5;
+ $20 = $7;
+ $21 = $20 * $19;
+ $7 = $21;
+ $22 = $6;
+ $23 = (($22) + 1)|0;
+ $6 = $23;
+ }
+ $24 = $4;
+ $25 = (($24) - 1)|0;
+ $26 = (($14) + ($25<<2)|0);
+ $27 = +HEAPF32[$26>>2];
+ $28 = $27 * $13;
+ HEAPF32[$26>>2] = $28;
+ STACKTOP = sp;return;
+}
+function _silk_energy_FLP($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0.0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0.0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0.0;
+ var $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0.0, $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0.0;
+ var $83 = 0.0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $6 = 0.0;
+ $7 = $3;
+ $8 = $7 & 65532;
+ $5 = $8;
+ $4 = 0;
+ while(1) {
+ $9 = $4;
+ $10 = $5;
+ $11 = ($9|0)<($10|0);
+ if (!($11)) {
+ break;
+ }
+ $12 = $2;
+ $13 = $4;
+ $14 = (($13) + 0)|0;
+ $15 = (($12) + ($14<<2)|0);
+ $16 = +HEAPF32[$15>>2];
+ $17 = $16;
+ $18 = $2;
+ $19 = $4;
+ $20 = (($19) + 0)|0;
+ $21 = (($18) + ($20<<2)|0);
+ $22 = +HEAPF32[$21>>2];
+ $23 = $22;
+ $24 = $17 * $23;
+ $25 = $2;
+ $26 = $4;
+ $27 = (($26) + 1)|0;
+ $28 = (($25) + ($27<<2)|0);
+ $29 = +HEAPF32[$28>>2];
+ $30 = $29;
+ $31 = $2;
+ $32 = $4;
+ $33 = (($32) + 1)|0;
+ $34 = (($31) + ($33<<2)|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $35;
+ $37 = $30 * $36;
+ $38 = $24 + $37;
+ $39 = $2;
+ $40 = $4;
+ $41 = (($40) + 2)|0;
+ $42 = (($39) + ($41<<2)|0);
+ $43 = +HEAPF32[$42>>2];
+ $44 = $43;
+ $45 = $2;
+ $46 = $4;
+ $47 = (($46) + 2)|0;
+ $48 = (($45) + ($47<<2)|0);
+ $49 = +HEAPF32[$48>>2];
+ $50 = $49;
+ $51 = $44 * $50;
+ $52 = $38 + $51;
+ $53 = $2;
+ $54 = $4;
+ $55 = (($54) + 3)|0;
+ $56 = (($53) + ($55<<2)|0);
+ $57 = +HEAPF32[$56>>2];
+ $58 = $57;
+ $59 = $2;
+ $60 = $4;
+ $61 = (($60) + 3)|0;
+ $62 = (($59) + ($61<<2)|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = $63;
+ $65 = $58 * $64;
+ $66 = $52 + $65;
+ $67 = $6;
+ $68 = $67 + $66;
+ $6 = $68;
+ $69 = $4;
+ $70 = (($69) + 4)|0;
+ $4 = $70;
+ }
+ while(1) {
+ $71 = $4;
+ $72 = $3;
+ $73 = ($71|0)<($72|0);
+ if (!($73)) {
+ break;
+ }
+ $74 = $2;
+ $75 = $4;
+ $76 = (($74) + ($75<<2)|0);
+ $77 = +HEAPF32[$76>>2];
+ $78 = $77;
+ $79 = $2;
+ $80 = $4;
+ $81 = (($79) + ($80<<2)|0);
+ $82 = +HEAPF32[$81>>2];
+ $83 = $82;
+ $84 = $78 * $83;
+ $85 = $6;
+ $86 = $85 + $84;
+ $6 = $86;
+ $87 = $4;
+ $88 = (($87) + 1)|0;
+ $4 = $88;
+ }
+ $89 = $6;
+ STACKTOP = sp;return (+$89);
+}
+function _silk_inner_product_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0.0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0.0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0;
+ var $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0.0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = 0.0;
+ $9 = $5;
+ $10 = $9 & 65532;
+ $7 = $10;
+ $6 = 0;
+ while(1) {
+ $11 = $6;
+ $12 = $7;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $3;
+ $15 = $6;
+ $16 = (($15) + 0)|0;
+ $17 = (($14) + ($16<<2)|0);
+ $18 = +HEAPF32[$17>>2];
+ $19 = $18;
+ $20 = $4;
+ $21 = $6;
+ $22 = (($21) + 0)|0;
+ $23 = (($20) + ($22<<2)|0);
+ $24 = +HEAPF32[$23>>2];
+ $25 = $24;
+ $26 = $19 * $25;
+ $27 = $3;
+ $28 = $6;
+ $29 = (($28) + 1)|0;
+ $30 = (($27) + ($29<<2)|0);
+ $31 = +HEAPF32[$30>>2];
+ $32 = $31;
+ $33 = $4;
+ $34 = $6;
+ $35 = (($34) + 1)|0;
+ $36 = (($33) + ($35<<2)|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $37;
+ $39 = $32 * $38;
+ $40 = $26 + $39;
+ $41 = $3;
+ $42 = $6;
+ $43 = (($42) + 2)|0;
+ $44 = (($41) + ($43<<2)|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $45;
+ $47 = $4;
+ $48 = $6;
+ $49 = (($48) + 2)|0;
+ $50 = (($47) + ($49<<2)|0);
+ $51 = +HEAPF32[$50>>2];
+ $52 = $51;
+ $53 = $46 * $52;
+ $54 = $40 + $53;
+ $55 = $3;
+ $56 = $6;
+ $57 = (($56) + 3)|0;
+ $58 = (($55) + ($57<<2)|0);
+ $59 = +HEAPF32[$58>>2];
+ $60 = $59;
+ $61 = $4;
+ $62 = $6;
+ $63 = (($62) + 3)|0;
+ $64 = (($61) + ($63<<2)|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $65;
+ $67 = $60 * $66;
+ $68 = $54 + $67;
+ $69 = $8;
+ $70 = $69 + $68;
+ $8 = $70;
+ $71 = $6;
+ $72 = (($71) + 4)|0;
+ $6 = $72;
+ }
+ while(1) {
+ $73 = $6;
+ $74 = $5;
+ $75 = ($73|0)<($74|0);
+ if (!($75)) {
+ break;
+ }
+ $76 = $3;
+ $77 = $6;
+ $78 = (($76) + ($77<<2)|0);
+ $79 = +HEAPF32[$78>>2];
+ $80 = $79;
+ $81 = $4;
+ $82 = $6;
+ $83 = (($81) + ($82<<2)|0);
+ $84 = +HEAPF32[$83>>2];
+ $85 = $84;
+ $86 = $80 * $85;
+ $87 = $8;
+ $88 = $87 + $86;
+ $8 = $88;
+ $89 = $6;
+ $90 = (($89) + 1)|0;
+ $6 = $90;
+ }
+ $91 = $8;
+ STACKTOP = sp;return (+$91);
+}
+function _silk_k2a_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0;
+ var $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $8 = sp;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = 0;
+ while(1) {
+ $9 = $6;
+ $10 = $5;
+ $11 = ($9|0)<($10|0);
+ if (!($11)) {
+ break;
+ }
+ $7 = 0;
+ while(1) {
+ $12 = $7;
+ $13 = $6;
+ $14 = ($12|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $15 = $3;
+ $16 = $7;
+ $17 = (($15) + ($16<<2)|0);
+ $18 = +HEAPF32[$17>>2];
+ $19 = $7;
+ $20 = (($8) + ($19<<2)|0);
+ HEAPF32[$20>>2] = $18;
+ $21 = $7;
+ $22 = (($21) + 1)|0;
+ $7 = $22;
+ }
+ $7 = 0;
+ while(1) {
+ $23 = $7;
+ $24 = $6;
+ $25 = ($23|0)<($24|0);
+ if (!($25)) {
+ break;
+ }
+ $26 = $6;
+ $27 = $7;
+ $28 = (($26) - ($27))|0;
+ $29 = (($28) - 1)|0;
+ $30 = (($8) + ($29<<2)|0);
+ $31 = +HEAPF32[$30>>2];
+ $32 = $4;
+ $33 = $6;
+ $34 = (($32) + ($33<<2)|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $31 * $35;
+ $37 = $3;
+ $38 = $7;
+ $39 = (($37) + ($38<<2)|0);
+ $40 = +HEAPF32[$39>>2];
+ $41 = $40 + $36;
+ HEAPF32[$39>>2] = $41;
+ $42 = $7;
+ $43 = (($42) + 1)|0;
+ $7 = $43;
+ }
+ $44 = $4;
+ $45 = $6;
+ $46 = (($44) + ($45<<2)|0);
+ $47 = +HEAPF32[$46>>2];
+ $48 = - $47;
+ $49 = $3;
+ $50 = $6;
+ $51 = (($49) + ($50<<2)|0);
+ HEAPF32[$51>>2] = $48;
+ $52 = $6;
+ $53 = (($52) + 1)|0;
+ $6 = $53;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_levinsondurbin_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0.0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0.0, $116 = 0.0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0.0, $120 = 0.0, $121 = 0.0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0, $129 = 0, $13 = 0.0, $130 = 0, $131 = 0.0, $132 = 0.0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0.0, $15 = 0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0, $24 = 0.0;
+ var $25 = 0.0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0;
+ var $43 = 0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
+ var $61 = 0.0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0;
+ var $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0.0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0, $9 = 0.0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $15 = $4;
+ $16 = +HEAPF32[$15>>2];
+ $17 = 9.999999960041972E-13 * $16;
+ $18 = $17 + 9.9999997171806853E-10;
+ $9 = $18;
+ $19 = $4;
+ $20 = +HEAPF32[$19>>2];
+ $10 = $20;
+ $21 = $9;
+ $22 = $10;
+ $23 = $21 > $22;
+ $24 = $9;
+ $25 = $10;
+ $26 = $23 ? $24 : $25;
+ $10 = $26;
+ $27 = $4;
+ $28 = ((($27)) + 4|0);
+ $29 = +HEAPF32[$28>>2];
+ $30 = $10;
+ $31 = $29 / $30;
+ $32 = $3;
+ HEAPF32[$32>>2] = $31;
+ $33 = $3;
+ $34 = +HEAPF32[$33>>2];
+ $35 = $4;
+ $36 = ((($35)) + 4|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $34 * $37;
+ $39 = $10;
+ $40 = $39 - $38;
+ $10 = $40;
+ $41 = $9;
+ $42 = $10;
+ $43 = $41 > $42;
+ $44 = $9;
+ $45 = $10;
+ $46 = $43 ? $44 : $45;
+ $10 = $46;
+ $8 = 1;
+ while(1) {
+ $47 = $8;
+ $48 = $5;
+ $49 = ($47|0)<($48|0);
+ if (!($49)) {
+ break;
+ }
+ $50 = $4;
+ $51 = $8;
+ $52 = (($51) + 1)|0;
+ $53 = (($50) + ($52<<2)|0);
+ $54 = +HEAPF32[$53>>2];
+ $11 = $54;
+ $6 = 0;
+ while(1) {
+ $55 = $6;
+ $56 = $8;
+ $57 = ($55|0)<($56|0);
+ if (!($57)) {
+ break;
+ }
+ $58 = $3;
+ $59 = $6;
+ $60 = (($58) + ($59<<2)|0);
+ $61 = +HEAPF32[$60>>2];
+ $62 = $4;
+ $63 = $8;
+ $64 = $6;
+ $65 = (($63) - ($64))|0;
+ $66 = (($62) + ($65<<2)|0);
+ $67 = +HEAPF32[$66>>2];
+ $68 = $61 * $67;
+ $69 = $11;
+ $70 = $69 - $68;
+ $11 = $70;
+ $71 = $6;
+ $72 = (($71) + 1)|0;
+ $6 = $72;
+ }
+ $73 = $11;
+ $74 = $10;
+ $75 = $73 / $74;
+ $12 = $75;
+ $76 = $12;
+ $77 = $11;
+ $78 = $76 * $77;
+ $79 = $10;
+ $80 = $79 - $78;
+ $10 = $80;
+ $81 = $9;
+ $82 = $10;
+ $83 = $81 > $82;
+ $84 = $9;
+ $85 = $10;
+ $86 = $83 ? $84 : $85;
+ $10 = $86;
+ $87 = $8;
+ $88 = $87 >> 1;
+ $7 = $88;
+ $6 = 0;
+ while(1) {
+ $89 = $6;
+ $90 = $7;
+ $91 = ($89|0)<($90|0);
+ if (!($91)) {
+ break;
+ }
+ $92 = $3;
+ $93 = $6;
+ $94 = (($92) + ($93<<2)|0);
+ $95 = +HEAPF32[$94>>2];
+ $13 = $95;
+ $96 = $3;
+ $97 = $8;
+ $98 = $6;
+ $99 = (($97) - ($98))|0;
+ $100 = (($99) - 1)|0;
+ $101 = (($96) + ($100<<2)|0);
+ $102 = +HEAPF32[$101>>2];
+ $14 = $102;
+ $103 = $12;
+ $104 = $13;
+ $105 = $103 * $104;
+ $106 = $3;
+ $107 = $8;
+ $108 = $6;
+ $109 = (($107) - ($108))|0;
+ $110 = (($109) - 1)|0;
+ $111 = (($106) + ($110<<2)|0);
+ $112 = +HEAPF32[$111>>2];
+ $113 = $112 - $105;
+ HEAPF32[$111>>2] = $113;
+ $114 = $12;
+ $115 = $14;
+ $116 = $114 * $115;
+ $117 = $3;
+ $118 = $6;
+ $119 = (($117) + ($118<<2)|0);
+ $120 = +HEAPF32[$119>>2];
+ $121 = $120 - $116;
+ HEAPF32[$119>>2] = $121;
+ $122 = $6;
+ $123 = (($122) + 1)|0;
+ $6 = $123;
+ }
+ $124 = $8;
+ $125 = $124 & 1;
+ $126 = ($125|0)!=(0);
+ if ($126) {
+ $127 = $12;
+ $128 = $3;
+ $129 = $7;
+ $130 = (($128) + ($129<<2)|0);
+ $131 = +HEAPF32[$130>>2];
+ $132 = $127 * $131;
+ $133 = $3;
+ $134 = $7;
+ $135 = (($133) + ($134<<2)|0);
+ $136 = +HEAPF32[$135>>2];
+ $137 = $136 - $132;
+ HEAPF32[$135>>2] = $137;
+ }
+ $138 = $12;
+ $139 = $3;
+ $140 = $8;
+ $141 = (($139) + ($140<<2)|0);
+ HEAPF32[$141>>2] = $138;
+ $142 = $8;
+ $143 = (($142) + 1)|0;
+ $8 = $143;
+ }
+ $144 = $10;
+ STACKTOP = sp;return (+$144);
+}
+function _silk_LPC_inverse_pred_gain_FLP($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0.0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0.0;
+ var $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0.0, $64 = 0.0;
+ var $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0.0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0.0, $80 = 0.0, $81 = 0, $82 = 0.0;
+ var $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0.0, $or$cond = 0, $or$cond3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
+ $11 = sp + 40|0;
+ $3 = $0;
+ $4 = $1;
+ $14 = $4;
+ $15 = $14 & 1;
+ $16 = (($11) + ($15<<6)|0);
+ $13 = $16;
+ $17 = $13;
+ $18 = $3;
+ $19 = $4;
+ $20 = $19<<2;
+ _memcpy(($17|0),($18|0),($20|0))|0;
+ $7 = 1.0;
+ $21 = $4;
+ $22 = (($21) - 1)|0;
+ $5 = $22;
+ while(1) {
+ $23 = $5;
+ $24 = ($23|0)>(0);
+ $25 = $13;
+ if (!($24)) {
+ break;
+ }
+ $26 = $5;
+ $27 = (($25) + ($26<<2)|0);
+ $28 = +HEAPF32[$27>>2];
+ $29 = - $28;
+ $30 = $29;
+ $8 = $30;
+ $31 = $8;
+ $32 = $31 > 0.99989998340606689;
+ $33 = $8;
+ $34 = $33 < -0.99989998340606689;
+ $or$cond = $32 | $34;
+ if ($or$cond) {
+ label = 4;
+ break;
+ }
+ $35 = $8;
+ $36 = $8;
+ $37 = $35 * $36;
+ $38 = 1.0 - $37;
+ $9 = $38;
+ $39 = $9;
+ $40 = 1.0 / $39;
+ $10 = $40;
+ $41 = $9;
+ $42 = $7;
+ $43 = $42 * $41;
+ $7 = $43;
+ $44 = $13;
+ $12 = $44;
+ $45 = $5;
+ $46 = $45 & 1;
+ $47 = (($11) + ($46<<6)|0);
+ $13 = $47;
+ $6 = 0;
+ while(1) {
+ $48 = $6;
+ $49 = $5;
+ $50 = ($48|0)<($49|0);
+ if (!($50)) {
+ break;
+ }
+ $51 = $12;
+ $52 = $6;
+ $53 = (($51) + ($52<<2)|0);
+ $54 = +HEAPF32[$53>>2];
+ $55 = $54;
+ $56 = $12;
+ $57 = $5;
+ $58 = $6;
+ $59 = (($57) - ($58))|0;
+ $60 = (($59) - 1)|0;
+ $61 = (($56) + ($60<<2)|0);
+ $62 = +HEAPF32[$61>>2];
+ $63 = $62;
+ $64 = $8;
+ $65 = $63 * $64;
+ $66 = $55 - $65;
+ $67 = $10;
+ $68 = $66 * $67;
+ $69 = $68;
+ $70 = $13;
+ $71 = $6;
+ $72 = (($70) + ($71<<2)|0);
+ HEAPF32[$72>>2] = $69;
+ $73 = $6;
+ $74 = (($73) + 1)|0;
+ $6 = $74;
+ }
+ $75 = $5;
+ $76 = (($75) + -1)|0;
+ $5 = $76;
+ }
+ if ((label|0) == 4) {
+ $2 = 0.0;
+ $93 = $2;
+ STACKTOP = sp;return (+$93);
+ }
+ $77 = +HEAPF32[$25>>2];
+ $78 = - $77;
+ $79 = $78;
+ $8 = $79;
+ $80 = $8;
+ $81 = $80 > 0.99989998340606689;
+ $82 = $8;
+ $83 = $82 < -0.99989998340606689;
+ $or$cond3 = $81 | $83;
+ if ($or$cond3) {
+ $2 = 0.0;
+ $93 = $2;
+ STACKTOP = sp;return (+$93);
+ } else {
+ $84 = $8;
+ $85 = $8;
+ $86 = $84 * $85;
+ $87 = 1.0 - $86;
+ $9 = $87;
+ $88 = $9;
+ $89 = $7;
+ $90 = $89 * $88;
+ $7 = $90;
+ $91 = $7;
+ $92 = $91;
+ $2 = $92;
+ $93 = $2;
+ STACKTOP = sp;return (+$93);
+ }
+ return +(0.0);
+}
+function _silk_pitch_analysis_core_FLP($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = +$6;
+ $7 = +$7;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ var $$sink = 0.0, $$sink1 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0.0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0.0, $163 = 0.0, $164 = 0, $165 = 0, $166 = 0.0, $167 = 0, $168 = 0, $169 = 0.0, $17 = 0, $170 = 0.0, $171 = 0;
+ var $172 = 0.0, $173 = 0.0, $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0.0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0.0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0.0, $197 = 0.0, $198 = 0, $199 = 0.0, $20 = 0.0, $200 = 0.0, $201 = 0, $202 = 0.0, $203 = 0.0, $204 = 0.0, $205 = 0, $206 = 0, $207 = 0, $208 = 0.0;
+ var $209 = 0.0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0.0, $214 = 0.0, $215 = 0.0, $216 = 0.0, $217 = 0.0, $218 = 0.0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0.0, $224 = 0, $225 = 0, $226 = 0.0;
+ var $227 = 0.0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0.0, $242 = 0, $243 = 0.0, $244 = 0.0;
+ var $245 = 0.0, $246 = 0, $247 = 0, $248 = 0.0, $249 = 0.0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0.0, $265 = 0.0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0.0, $274 = 0.0, $275 = 0.0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0.0, $284 = 0.0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0;
+ var $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0;
+ var $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0.0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0.0, $350 = 0, $351 = 0, $352 = 0, $353 = 0;
+ var $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0;
+ var $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0;
+ var $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0;
+ var $409 = 0, $41 = 0.0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0.0, $417 = 0.0, $418 = 0, $419 = 0, $42 = 0.0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0;
+ var $427 = 0, $428 = 0, $429 = 0, $43 = 0.0, $430 = 0, $431 = 0, $432 = 0.0, $433 = 0.0, $434 = 0, $435 = 0, $436 = 0, $437 = 0.0, $438 = 0.0, $439 = 0.0, $44 = 0.0, $440 = 0.0, $441 = 0.0, $442 = 0.0, $443 = 0.0, $444 = 0.0;
+ var $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0;
+ var $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0.0, $473 = 0.0, $474 = 0.0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0;
+ var $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0.0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0;
+ var $50 = 0.0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0.0, $51 = 0.0, $510 = 0, $511 = 0, $512 = 0.0, $513 = 0.0, $514 = 0, $515 = 0, $516 = 0, $517 = 0;
+ var $518 = 0, $519 = 0, $52 = 0.0, $520 = 0, $521 = 0, $522 = 0, $523 = 0.0, $524 = 0.0, $525 = 0, $526 = 0, $527 = 0, $528 = 0.0, $529 = 0, $53 = 0.0, $530 = 0, $531 = 0, $532 = 0, $533 = 0.0, $534 = 0.0, $535 = 0.0;
+ var $536 = 0.0, $537 = 0, $538 = 0.0, $539 = 0.0, $54 = 0, $540 = 0.0, $541 = 0.0, $542 = 0.0, $543 = 0, $544 = 0, $545 = 0.0, $546 = 0.0, $547 = 0.0, $548 = 0.0, $549 = 0.0, $55 = 0, $550 = 0.0, $551 = 0, $552 = 0.0, $553 = 0.0;
+ var $554 = 0, $555 = 0.0, $556 = 0.0, $557 = 0.0, $558 = 0.0, $559 = 0.0, $56 = 0, $560 = 0.0, $561 = 0.0, $562 = 0.0, $563 = 0.0, $564 = 0.0, $565 = 0.0, $566 = 0, $567 = 0.0, $568 = 0, $569 = 0.0, $57 = 0, $570 = 0.0, $571 = 0.0;
+ var $572 = 0, $573 = 0.0, $574 = 0.0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0.0, $586 = 0, $587 = 0.0, $588 = 0.0, $589 = 0, $59 = 0;
+ var $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0;
+ var $609 = 0, $61 = 0.0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0.0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0;
+ var $627 = 0, $628 = 0, $629 = 0, $63 = 0.0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0;
+ var $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0.0, $651 = 0.0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0;
+ var $663 = 0, $664 = 0, $665 = 0, $666 = 0.0, $667 = 0.0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0.0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0;
+ var $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0.0, $686 = 0.0, $687 = 0.0, $688 = 0.0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0.0, $696 = 0.0, $697 = 0.0, $698 = 0.0, $699 = 0;
+ var $70 = 0, $700 = 0, $701 = 0.0, $702 = 0, $703 = 0.0, $704 = 0.0, $705 = 0.0, $706 = 0.0, $707 = 0.0, $708 = 0.0, $709 = 0, $71 = 0, $710 = 0.0, $711 = 0.0, $712 = 0.0, $713 = 0.0, $714 = 0.0, $715 = 0.0, $716 = 0.0, $717 = 0;
+ var $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0.0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0;
+ var $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0;
+ var $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0;
+ var $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0;
+ var $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0;
+ var $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0;
+ var $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0;
+ var $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0;
+ var $863 = 0, $864 = 0, $865 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 13936|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(13936|0);
+ $29 = sp + 9072|0;
+ $30 = sp + 8432|0;
+ $31 = sp + 13288|0;
+ $32 = sp + 12968|0;
+ $33 = sp + 8408|0;
+ $36 = sp + 6016|0;
+ $37 = sp + 5756|0;
+ $38 = sp + 5712|0;
+ $45 = sp + 5608|0;
+ $46 = sp + 12664|0;
+ $64 = sp + 2816|0;
+ $65 = sp + 96|0;
+ $81 = sp + 11384|0;
+ $82 = sp + 10424|0;
+ $13 = $0;
+ $14 = $1;
+ $15 = $2;
+ $16 = $3;
+ $17 = $4;
+ $18 = $5;
+ $19 = $6;
+ $20 = $7;
+ $21 = $8;
+ $22 = $9;
+ $23 = $10;
+ $24 = $11;
+ $83 = $23;
+ $84 = ($83*5)|0;
+ $85 = (20 + ($84))|0;
+ $86 = $21;
+ $87 = Math_imul($85, $86)|0;
+ $67 = $87;
+ $88 = $23;
+ $89 = ($88*5)|0;
+ $90 = (20 + ($89))|0;
+ $91 = $90<<2;
+ $69 = $91;
+ $92 = $23;
+ $93 = ($92*5)|0;
+ $94 = (20 + ($93))|0;
+ $95 = $94<<3;
+ $68 = $95;
+ $96 = $21;
+ $97 = ($96*5)|0;
+ $70 = $97;
+ $72 = 20;
+ $71 = 40;
+ $98 = $21;
+ $99 = $98<<1;
+ $73 = $99;
+ $75 = 8;
+ $74 = 16;
+ $100 = $21;
+ $101 = ($100*18)|0;
+ $102 = (($101) - 1)|0;
+ $76 = $102;
+ $78 = 72;
+ $77 = 143;
+ $103 = $21;
+ $104 = ($103|0)==(16);
+ do {
+ if ($104) {
+ $105 = $13;
+ $106 = $67;
+ _silk_float2short_array_326($81,$105,$106);
+ ;HEAP32[$33>>2]=0|0;HEAP32[$33+4>>2]=0|0;
+ $107 = $67;
+ _silk_resampler_down2($33,$31,$81,$107);
+ $108 = $68;
+ _silk_short2float_array_327($29,$31,$108);
+ } else {
+ $109 = $21;
+ $110 = ($109|0)==(12);
+ if ($110) {
+ $111 = $13;
+ $112 = $67;
+ _silk_float2short_array_326($82,$111,$112);
+ ;HEAP32[$33>>2]=0|0;HEAP32[$33+4>>2]=0|0;HEAP32[$33+8>>2]=0|0;HEAP32[$33+12>>2]=0|0;HEAP32[$33+16>>2]=0|0;HEAP32[$33+20>>2]=0|0;
+ $113 = $67;
+ _silk_resampler_down2_3($33,$31,$82,$113);
+ $114 = $68;
+ _silk_short2float_array_327($29,$31,$114);
+ break;
+ } else {
+ $115 = $13;
+ $116 = $68;
+ _silk_float2short_array_326($31,$115,$116);
+ break;
+ }
+ }
+ } while(0);
+ ;HEAP32[$33>>2]=0|0;HEAP32[$33+4>>2]=0|0;
+ $117 = $68;
+ _silk_resampler_down2($33,$32,$31,$117);
+ $118 = $69;
+ _silk_short2float_array_327($30,$32,$118);
+ $119 = $69;
+ $120 = (($119) - 1)|0;
+ $25 = $120;
+ while(1) {
+ $121 = $25;
+ $122 = ($121|0)>(0);
+ if (!($122)) {
+ break;
+ }
+ $123 = $25;
+ $124 = (($123) - 1)|0;
+ $125 = (($30) + ($124<<2)|0);
+ $126 = +HEAPF32[$125>>2];
+ $127 = $25;
+ $128 = (($30) + ($127<<2)|0);
+ $129 = +HEAPF32[$128>>2];
+ $130 = $129 + $126;
+ HEAPF32[$128>>2] = $130;
+ $131 = $25;
+ $132 = (($131) + -1)|0;
+ $25 = $132;
+ }
+ $133 = $23;
+ $134 = $133<<2;
+ $135 = ($134*149)|0;
+ _memset(($36|0),0,($135|0))|0;
+ $136 = $72;
+ $137 = $136 << 2;
+ $138 = (($30) + ($137<<2)|0);
+ $39 = $138;
+ $26 = 0;
+ while(1) {
+ $139 = $26;
+ $140 = $23;
+ $141 = $140 >> 1;
+ $142 = ($139|0)<($141|0);
+ if (!($142)) {
+ break;
+ }
+ $143 = $39;
+ $144 = $75;
+ $145 = (0 - ($144))|0;
+ $146 = (($143) + ($145<<2)|0);
+ $40 = $146;
+ $147 = $39;
+ $148 = $39;
+ $149 = $78;
+ $150 = (0 - ($149))|0;
+ $151 = (($148) + ($150<<2)|0);
+ $152 = $71;
+ $153 = $78;
+ $154 = $75;
+ $155 = (($153) - ($154))|0;
+ $156 = (($155) + 1)|0;
+ $157 = $24;
+ _celt_pitch_xcorr($147,$151,$37,$152,$156,$157);
+ $158 = $78;
+ $159 = $75;
+ $160 = (($158) - ($159))|0;
+ $161 = (($37) + ($160<<2)|0);
+ $162 = +HEAPF32[$161>>2];
+ $163 = $162;
+ $41 = $163;
+ $164 = $39;
+ $165 = $71;
+ $166 = (+_silk_energy_FLP($164,$165));
+ $167 = $40;
+ $168 = $71;
+ $169 = (+_silk_energy_FLP($167,$168));
+ $170 = $166 + $169;
+ $171 = $71;
+ $172 = (+($171|0));
+ $173 = $172 * 4000.0;
+ $174 = $173;
+ $175 = $170 + $174;
+ $42 = $175;
+ $176 = $41;
+ $177 = 2.0 * $176;
+ $178 = $42;
+ $179 = $177 / $178;
+ $180 = $179;
+ $181 = $75;
+ $182 = (($36) + ($181<<2)|0);
+ $183 = +HEAPF32[$182>>2];
+ $184 = $183 + $180;
+ HEAPF32[$182>>2] = $184;
+ $185 = $75;
+ $186 = (($185) + 1)|0;
+ $27 = $186;
+ while(1) {
+ $187 = $27;
+ $188 = $78;
+ $189 = ($187|0)<=($188|0);
+ if (!($189)) {
+ break;
+ }
+ $190 = $40;
+ $191 = ((($190)) + -4|0);
+ $40 = $191;
+ $192 = $78;
+ $193 = $27;
+ $194 = (($192) - ($193))|0;
+ $195 = (($37) + ($194<<2)|0);
+ $196 = +HEAPF32[$195>>2];
+ $197 = $196;
+ $41 = $197;
+ $198 = $40;
+ $199 = +HEAPF32[$198>>2];
+ $200 = $199;
+ $201 = $40;
+ $202 = +HEAPF32[$201>>2];
+ $203 = $202;
+ $204 = $200 * $203;
+ $205 = $40;
+ $206 = $71;
+ $207 = (($205) + ($206<<2)|0);
+ $208 = +HEAPF32[$207>>2];
+ $209 = $208;
+ $210 = $40;
+ $211 = $71;
+ $212 = (($210) + ($211<<2)|0);
+ $213 = +HEAPF32[$212>>2];
+ $214 = $213;
+ $215 = $209 * $214;
+ $216 = $204 - $215;
+ $217 = $42;
+ $218 = $217 + $216;
+ $42 = $218;
+ $219 = $41;
+ $220 = 2.0 * $219;
+ $221 = $42;
+ $222 = $220 / $221;
+ $223 = $222;
+ $224 = $27;
+ $225 = (($36) + ($224<<2)|0);
+ $226 = +HEAPF32[$225>>2];
+ $227 = $226 + $223;
+ HEAPF32[$225>>2] = $227;
+ $228 = $27;
+ $229 = (($228) + 1)|0;
+ $27 = $229;
+ }
+ $230 = $71;
+ $231 = $39;
+ $232 = (($231) + ($230<<2)|0);
+ $39 = $232;
+ $233 = $26;
+ $234 = (($233) + 1)|0;
+ $26 = $234;
+ }
+ $235 = $78;
+ $25 = $235;
+ while(1) {
+ $236 = $25;
+ $237 = $75;
+ $238 = ($236|0)>=($237|0);
+ if (!($238)) {
+ break;
+ }
+ $239 = $25;
+ $240 = (($36) + ($239<<2)|0);
+ $241 = +HEAPF32[$240>>2];
+ $242 = $25;
+ $243 = (+($242|0));
+ $244 = $241 * $243;
+ $245 = $244 / 4096.0;
+ $246 = $25;
+ $247 = (($36) + ($246<<2)|0);
+ $248 = +HEAPF32[$247>>2];
+ $249 = $248 - $245;
+ HEAPF32[$247>>2] = $249;
+ $250 = $25;
+ $251 = (($250) + -1)|0;
+ $25 = $251;
+ }
+ $252 = $22;
+ $253 = $252<<1;
+ $254 = (4 + ($253))|0;
+ $47 = $254;
+ $255 = $75;
+ $256 = (($36) + ($255<<2)|0);
+ $257 = $78;
+ $258 = $75;
+ $259 = (($257) - ($258))|0;
+ $260 = (($259) + 1)|0;
+ $261 = $47;
+ _silk_insertion_sort_decreasing_FLP($256,$45,$260,$261);
+ $262 = $75;
+ $263 = (($36) + ($262<<2)|0);
+ $264 = +HEAPF32[$263>>2];
+ $49 = $264;
+ $265 = $49;
+ $266 = $265 < 0.20000000298023224;
+ if ($266) {
+ $267 = $14;
+ $268 = $23;
+ $269 = $268<<2;
+ _memset(($267|0),0,($269|0))|0;
+ $270 = $17;
+ HEAPF32[$270>>2] = 0.0;
+ $271 = $15;
+ HEAP16[$271>>1] = 0;
+ $272 = $16;
+ HEAP8[$272>>0] = 0;
+ $12 = 1;
+ $865 = $12;
+ STACKTOP = sp;return ($865|0);
+ }
+ $273 = $19;
+ $274 = $49;
+ $275 = $273 * $274;
+ $34 = $275;
+ $25 = 0;
+ while(1) {
+ $276 = $25;
+ $277 = $47;
+ $278 = ($276|0)<($277|0);
+ if (!($278)) {
+ break;
+ }
+ $279 = $75;
+ $280 = $25;
+ $281 = (($279) + ($280))|0;
+ $282 = (($36) + ($281<<2)|0);
+ $283 = +HEAPF32[$282>>2];
+ $284 = $34;
+ $285 = $283 > $284;
+ $286 = $25;
+ if (!($285)) {
+ label = 24;
+ break;
+ }
+ $287 = (($45) + ($286<<2)|0);
+ $288 = HEAP32[$287>>2]|0;
+ $289 = $75;
+ $290 = (($288) + ($289))|0;
+ $291 = $290 << 1;
+ $292 = $25;
+ $293 = (($45) + ($292<<2)|0);
+ HEAP32[$293>>2] = $291;
+ $294 = $25;
+ $295 = (($294) + 1)|0;
+ $25 = $295;
+ }
+ if ((label|0) == 24) {
+ $47 = $286;
+ }
+ $296 = $74;
+ $297 = (($296) - 5)|0;
+ $25 = $297;
+ while(1) {
+ $298 = $25;
+ $299 = $77;
+ $300 = (($299) + 5)|0;
+ $301 = ($298|0)<($300|0);
+ if (!($301)) {
+ break;
+ }
+ $302 = $25;
+ $303 = (($46) + ($302<<1)|0);
+ HEAP16[$303>>1] = 0;
+ $304 = $25;
+ $305 = (($304) + 1)|0;
+ $25 = $305;
+ }
+ $25 = 0;
+ while(1) {
+ $306 = $25;
+ $307 = $47;
+ $308 = ($306|0)<($307|0);
+ if (!($308)) {
+ break;
+ }
+ $309 = $25;
+ $310 = (($45) + ($309<<2)|0);
+ $311 = HEAP32[$310>>2]|0;
+ $312 = (($46) + ($311<<1)|0);
+ HEAP16[$312>>1] = 1;
+ $313 = $25;
+ $314 = (($313) + 1)|0;
+ $25 = $314;
+ }
+ $315 = $77;
+ $316 = (($315) + 3)|0;
+ $25 = $316;
+ while(1) {
+ $317 = $25;
+ $318 = $74;
+ $319 = ($317|0)>=($318|0);
+ if (!($319)) {
+ break;
+ }
+ $320 = $25;
+ $321 = (($320) - 1)|0;
+ $322 = (($46) + ($321<<1)|0);
+ $323 = HEAP16[$322>>1]|0;
+ $324 = $323 << 16 >> 16;
+ $325 = $25;
+ $326 = (($325) - 2)|0;
+ $327 = (($46) + ($326<<1)|0);
+ $328 = HEAP16[$327>>1]|0;
+ $329 = $328 << 16 >> 16;
+ $330 = (($324) + ($329))|0;
+ $331 = $25;
+ $332 = (($46) + ($331<<1)|0);
+ $333 = HEAP16[$332>>1]|0;
+ $334 = $333 << 16 >> 16;
+ $335 = (($334) + ($330))|0;
+ $336 = $335&65535;
+ HEAP16[$332>>1] = $336;
+ $337 = $25;
+ $338 = (($337) + -1)|0;
+ $25 = $338;
+ }
+ $47 = 0;
+ $339 = $74;
+ $25 = $339;
+ while(1) {
+ $340 = $25;
+ $341 = $77;
+ $342 = (($341) + 1)|0;
+ $343 = ($340|0)<($342|0);
+ if (!($343)) {
+ break;
+ }
+ $344 = $25;
+ $345 = (($344) + 1)|0;
+ $346 = (($46) + ($345<<1)|0);
+ $347 = HEAP16[$346>>1]|0;
+ $348 = $347 << 16 >> 16;
+ $349 = ($348|0)>(0);
+ if ($349) {
+ $350 = $25;
+ $351 = $47;
+ $352 = (($45) + ($351<<2)|0);
+ HEAP32[$352>>2] = $350;
+ $353 = $47;
+ $354 = (($353) + 1)|0;
+ $47 = $354;
+ }
+ $355 = $25;
+ $356 = (($355) + 1)|0;
+ $25 = $356;
+ }
+ $357 = $77;
+ $358 = (($357) + 3)|0;
+ $25 = $358;
+ while(1) {
+ $359 = $25;
+ $360 = $74;
+ $361 = ($359|0)>=($360|0);
+ if (!($361)) {
+ break;
+ }
+ $362 = $25;
+ $363 = (($362) - 1)|0;
+ $364 = (($46) + ($363<<1)|0);
+ $365 = HEAP16[$364>>1]|0;
+ $366 = $365 << 16 >> 16;
+ $367 = $25;
+ $368 = (($367) - 2)|0;
+ $369 = (($46) + ($368<<1)|0);
+ $370 = HEAP16[$369>>1]|0;
+ $371 = $370 << 16 >> 16;
+ $372 = (($366) + ($371))|0;
+ $373 = $25;
+ $374 = (($373) - 3)|0;
+ $375 = (($46) + ($374<<1)|0);
+ $376 = HEAP16[$375>>1]|0;
+ $377 = $376 << 16 >> 16;
+ $378 = (($372) + ($377))|0;
+ $379 = $25;
+ $380 = (($46) + ($379<<1)|0);
+ $381 = HEAP16[$380>>1]|0;
+ $382 = $381 << 16 >> 16;
+ $383 = (($382) + ($378))|0;
+ $384 = $383&65535;
+ HEAP16[$380>>1] = $384;
+ $385 = $25;
+ $386 = (($385) + -1)|0;
+ $25 = $386;
+ }
+ $48 = 0;
+ $387 = $74;
+ $25 = $387;
+ while(1) {
+ $388 = $25;
+ $389 = $77;
+ $390 = (($389) + 4)|0;
+ $391 = ($388|0)<($390|0);
+ if (!($391)) {
+ break;
+ }
+ $392 = $25;
+ $393 = (($46) + ($392<<1)|0);
+ $394 = HEAP16[$393>>1]|0;
+ $395 = $394 << 16 >> 16;
+ $396 = ($395|0)>(0);
+ if ($396) {
+ $397 = $25;
+ $398 = (($397) - 2)|0;
+ $399 = $398&65535;
+ $400 = $48;
+ $401 = (($46) + ($400<<1)|0);
+ HEAP16[$401>>1] = $399;
+ $402 = $48;
+ $403 = (($402) + 1)|0;
+ $48 = $403;
+ }
+ $404 = $25;
+ $405 = (($404) + 1)|0;
+ $25 = $405;
+ }
+ _memset(($36|0),0,2384)|0;
+ $406 = $21;
+ $407 = ($406|0)==(8);
+ if ($407) {
+ $408 = $13;
+ $409 = ((($408)) + 640|0);
+ $39 = $409;
+ } else {
+ $410 = ((($29)) + 640|0);
+ $39 = $410;
+ }
+ $26 = 0;
+ while(1) {
+ $411 = $26;
+ $412 = $23;
+ $413 = ($411|0)<($412|0);
+ if (!($413)) {
+ break;
+ }
+ $414 = $39;
+ $415 = $71;
+ $416 = (+_silk_energy_FLP($414,$415));
+ $417 = $416 + 1.0;
+ $44 = $417;
+ $28 = 0;
+ while(1) {
+ $418 = $28;
+ $419 = $48;
+ $420 = ($418|0)<($419|0);
+ if (!($420)) {
+ break;
+ }
+ $421 = $28;
+ $422 = (($46) + ($421<<1)|0);
+ $423 = HEAP16[$422>>1]|0;
+ $424 = $423 << 16 >> 16;
+ $27 = $424;
+ $425 = $39;
+ $426 = $27;
+ $427 = (0 - ($426))|0;
+ $428 = (($425) + ($427<<2)|0);
+ $40 = $428;
+ $429 = $40;
+ $430 = $39;
+ $431 = $71;
+ $432 = (+_silk_inner_product_FLP($429,$430,$431));
+ $41 = $432;
+ $433 = $41;
+ $434 = $433 > 0.0;
+ if ($434) {
+ $435 = $40;
+ $436 = $71;
+ $437 = (+_silk_energy_FLP($435,$436));
+ $43 = $437;
+ $438 = $41;
+ $439 = 2.0 * $438;
+ $440 = $43;
+ $441 = $44;
+ $442 = $440 + $441;
+ $443 = $439 / $442;
+ $444 = $443;
+ $445 = $26;
+ $446 = (($36) + (($445*596)|0)|0);
+ $447 = $27;
+ $448 = (($446) + ($447<<2)|0);
+ $$sink = $444;$$sink1 = $448;
+ } else {
+ $449 = $26;
+ $450 = (($36) + (($449*596)|0)|0);
+ $451 = $27;
+ $452 = (($450) + ($451<<2)|0);
+ $$sink = 0.0;$$sink1 = $452;
+ }
+ HEAPF32[$$sink1>>2] = $$sink;
+ $453 = $28;
+ $454 = (($453) + 1)|0;
+ $28 = $454;
+ }
+ $455 = $71;
+ $456 = $39;
+ $457 = (($456) + ($455<<2)|0);
+ $39 = $457;
+ $458 = $26;
+ $459 = (($458) + 1)|0;
+ $26 = $459;
+ }
+ $50 = 0.0;
+ $51 = -1000.0;
+ $54 = 0;
+ $56 = -1;
+ $460 = $18;
+ $461 = ($460|0)>(0);
+ if ($461) {
+ $462 = $21;
+ $463 = ($462|0)==(12);
+ if ($463) {
+ $464 = $18;
+ $465 = $464 << 1;
+ $466 = (($465|0) / 3)&-1;
+ $18 = $466;
+ } else {
+ $467 = $21;
+ $468 = ($467|0)==(16);
+ if ($468) {
+ $469 = $18;
+ $470 = $469 >> 1;
+ $18 = $470;
+ }
+ }
+ $471 = $18;
+ $472 = (+($471|0));
+ $473 = $472;
+ $474 = (+_silk_log2_328($473));
+ $62 = $474;
+ } else {
+ $62 = 0.0;
+ }
+ $475 = $23;
+ $476 = ($475|0)==(4);
+ do {
+ if ($476) {
+ $60 = 11;
+ $80 = 30771;
+ $477 = $21;
+ $478 = ($477|0)==(8);
+ $479 = $22;
+ $480 = ($479|0)>(0);
+ $or$cond = $478 & $480;
+ if ($or$cond) {
+ $79 = 11;
+ break;
+ } else {
+ $79 = 3;
+ break;
+ }
+ } else {
+ $60 = 3;
+ $80 = 30737;
+ $79 = 3;
+ }
+ } while(0);
+ $26 = 0;
+ while(1) {
+ $481 = $26;
+ $482 = $47;
+ $483 = ($481|0)<($482|0);
+ if (!($483)) {
+ break;
+ }
+ $484 = $26;
+ $485 = (($45) + ($484<<2)|0);
+ $486 = HEAP32[$485>>2]|0;
+ $27 = $486;
+ $28 = 0;
+ while(1) {
+ $487 = $28;
+ $488 = $79;
+ $489 = ($487|0)<($488|0);
+ if (!($489)) {
+ break;
+ }
+ $490 = $28;
+ $491 = (($38) + ($490<<2)|0);
+ HEAPF32[$491>>2] = 0.0;
+ $25 = 0;
+ while(1) {
+ $492 = $25;
+ $493 = $23;
+ $494 = ($492|0)<($493|0);
+ if (!($494)) {
+ break;
+ }
+ $495 = $25;
+ $496 = (($36) + (($495*596)|0)|0);
+ $497 = $27;
+ $498 = $80;
+ $499 = $25;
+ $500 = $60;
+ $501 = Math_imul($499, $500)|0;
+ $502 = $28;
+ $503 = (($501) + ($502))|0;
+ $504 = (($498) + ($503)|0);
+ $505 = HEAP8[$504>>0]|0;
+ $506 = $505 << 24 >> 24;
+ $507 = (($497) + ($506))|0;
+ $508 = (($496) + ($507<<2)|0);
+ $509 = +HEAPF32[$508>>2];
+ $510 = $28;
+ $511 = (($38) + ($510<<2)|0);
+ $512 = +HEAPF32[$511>>2];
+ $513 = $512 + $509;
+ HEAPF32[$511>>2] = $513;
+ $514 = $25;
+ $515 = (($514) + 1)|0;
+ $25 = $515;
+ }
+ $516 = $28;
+ $517 = (($516) + 1)|0;
+ $28 = $517;
+ }
+ $53 = -1000.0;
+ $55 = 0;
+ $25 = 0;
+ while(1) {
+ $518 = $25;
+ $519 = $79;
+ $520 = ($518|0)<($519|0);
+ if (!($520)) {
+ break;
+ }
+ $521 = $25;
+ $522 = (($38) + ($521<<2)|0);
+ $523 = +HEAPF32[$522>>2];
+ $524 = $53;
+ $525 = $523 > $524;
+ if ($525) {
+ $526 = $25;
+ $527 = (($38) + ($526<<2)|0);
+ $528 = +HEAPF32[$527>>2];
+ $53 = $528;
+ $529 = $25;
+ $55 = $529;
+ }
+ $530 = $25;
+ $531 = (($530) + 1)|0;
+ $25 = $531;
+ }
+ $532 = $27;
+ $533 = (+($532|0));
+ $534 = $533;
+ $535 = (+_silk_log2_328($534));
+ $61 = $535;
+ $536 = $53;
+ $537 = $23;
+ $538 = (+($537|0));
+ $539 = 0.20000000298023224 * $538;
+ $540 = $61;
+ $541 = $539 * $540;
+ $542 = $536 - $541;
+ $52 = $542;
+ $543 = $18;
+ $544 = ($543|0)>(0);
+ if ($544) {
+ $545 = $61;
+ $546 = $62;
+ $547 = $545 - $546;
+ $63 = $547;
+ $548 = $63;
+ $549 = $63;
+ $550 = $549 * $548;
+ $63 = $550;
+ $551 = $23;
+ $552 = (+($551|0));
+ $553 = 0.20000000298023224 * $552;
+ $554 = $17;
+ $555 = +HEAPF32[$554>>2];
+ $556 = $553 * $555;
+ $557 = $63;
+ $558 = $556 * $557;
+ $559 = $63;
+ $560 = $559 + 0.5;
+ $561 = $558 / $560;
+ $562 = $52;
+ $563 = $562 - $561;
+ $52 = $563;
+ }
+ $564 = $52;
+ $565 = $51;
+ $566 = $564 > $565;
+ if ($566) {
+ $567 = $53;
+ $568 = $23;
+ $569 = (+($568|0));
+ $570 = $20;
+ $571 = $569 * $570;
+ $572 = $567 > $571;
+ if ($572) {
+ $573 = $52;
+ $51 = $573;
+ $574 = $53;
+ $50 = $574;
+ $575 = $27;
+ $56 = $575;
+ $576 = $55;
+ $54 = $576;
+ }
+ }
+ $577 = $26;
+ $578 = (($577) + 1)|0;
+ $26 = $578;
+ }
+ $579 = $56;
+ $580 = ($579|0)==(-1);
+ if ($580) {
+ $581 = $14;
+ ;HEAP32[$581>>2]=0|0;HEAP32[$581+4>>2]=0|0;HEAP32[$581+8>>2]=0|0;HEAP32[$581+12>>2]=0|0;
+ $582 = $17;
+ HEAPF32[$582>>2] = 0.0;
+ $583 = $15;
+ HEAP16[$583>>1] = 0;
+ $584 = $16;
+ HEAP8[$584>>0] = 0;
+ $12 = 1;
+ $865 = $12;
+ STACKTOP = sp;return ($865|0);
+ }
+ $585 = $50;
+ $586 = $23;
+ $587 = (+($586|0));
+ $588 = $585 / $587;
+ $589 = $17;
+ HEAPF32[$589>>2] = $588;
+ $590 = $21;
+ $591 = ($590|0)>(8);
+ if ($591) {
+ $592 = $21;
+ $593 = ($592|0)==(12);
+ $594 = $56;
+ if ($593) {
+ $595 = $594&65535;
+ $596 = $595 << 16 >> 16;
+ $597 = ($596*3)|0;
+ $598 = $597 >> 1;
+ $599 = $56;
+ $600 = $599&65535;
+ $601 = $600 << 16 >> 16;
+ $602 = ($601*3)|0;
+ $603 = $602 & 1;
+ $604 = (($598) + ($603))|0;
+ $56 = $604;
+ } else {
+ $605 = $594 << 1;
+ $56 = $605;
+ }
+ $606 = $73;
+ $607 = $76;
+ $608 = ($606|0)>($607|0);
+ $609 = $56;
+ do {
+ if ($608) {
+ $610 = $73;
+ $611 = ($609|0)>($610|0);
+ if ($611) {
+ $612 = $73;
+ $628 = $612;
+ break;
+ } else {
+ $613 = $56;
+ $614 = $76;
+ $615 = ($613|0)<($614|0);
+ $616 = $76;
+ $617 = $56;
+ $618 = $615 ? $616 : $617;
+ $628 = $618;
+ break;
+ }
+ } else {
+ $619 = $76;
+ $620 = ($609|0)>($619|0);
+ if ($620) {
+ $621 = $76;
+ $628 = $621;
+ break;
+ } else {
+ $622 = $56;
+ $623 = $73;
+ $624 = ($622|0)<($623|0);
+ $625 = $73;
+ $626 = $56;
+ $627 = $624 ? $625 : $626;
+ $628 = $627;
+ break;
+ }
+ }
+ } while(0);
+ $56 = $628;
+ $629 = $56;
+ $630 = (($629) - 2)|0;
+ $631 = $73;
+ $632 = (_silk_max_int_329($630,$631)|0);
+ $57 = $632;
+ $633 = $56;
+ $634 = (($633) + 2)|0;
+ $635 = $76;
+ $636 = (_silk_min_int_330($634,$635)|0);
+ $58 = $636;
+ $637 = $56;
+ $59 = $637;
+ $54 = 0;
+ $50 = -1000.0;
+ $638 = $13;
+ $639 = $57;
+ $640 = $70;
+ $641 = $23;
+ $642 = $22;
+ $643 = $24;
+ _silk_P_Ana_calc_corr_st3($65,$638,$639,$640,$641,$642,$643);
+ $644 = $13;
+ $645 = $57;
+ $646 = $70;
+ $647 = $23;
+ $648 = $22;
+ _silk_P_Ana_calc_energy_st3($64,$644,$645,$646,$647,$648);
+ $66 = 0;
+ $649 = $56;
+ $650 = (+($649|0));
+ $651 = 0.05000000074505806 / $650;
+ $35 = $651;
+ $652 = $23;
+ $653 = ($652|0)==(4);
+ if ($653) {
+ $654 = $22;
+ $655 = (30975 + ($654)|0);
+ $656 = HEAP8[$655>>0]|0;
+ $657 = $656 << 24 >> 24;
+ $79 = $657;
+ $60 = 34;
+ $80 = 30815;
+ } else {
+ $79 = 12;
+ $60 = 12;
+ $80 = 30743;
+ }
+ $658 = $13;
+ $659 = $21;
+ $660 = ($659*20)|0;
+ $661 = (($658) + ($660<<2)|0);
+ $39 = $661;
+ $662 = $39;
+ $663 = $23;
+ $664 = $70;
+ $665 = Math_imul($663, $664)|0;
+ $666 = (+_silk_energy_FLP($662,$665));
+ $667 = $666 + 1.0;
+ $44 = $667;
+ $668 = $57;
+ $27 = $668;
+ while(1) {
+ $669 = $27;
+ $670 = $58;
+ $671 = ($669|0)<=($670|0);
+ if (!($671)) {
+ break;
+ }
+ $28 = 0;
+ while(1) {
+ $672 = $28;
+ $673 = $79;
+ $674 = ($672|0)<($673|0);
+ if (!($674)) {
+ break;
+ }
+ $41 = 0.0;
+ $675 = $44;
+ $43 = $675;
+ $26 = 0;
+ while(1) {
+ $676 = $26;
+ $677 = $23;
+ $678 = ($676|0)<($677|0);
+ if (!($678)) {
+ break;
+ }
+ $679 = $26;
+ $680 = (($65) + (($679*680)|0)|0);
+ $681 = $28;
+ $682 = (($680) + (($681*20)|0)|0);
+ $683 = $66;
+ $684 = (($682) + ($683<<2)|0);
+ $685 = +HEAPF32[$684>>2];
+ $686 = $685;
+ $687 = $41;
+ $688 = $687 + $686;
+ $41 = $688;
+ $689 = $26;
+ $690 = (($64) + (($689*680)|0)|0);
+ $691 = $28;
+ $692 = (($690) + (($691*20)|0)|0);
+ $693 = $66;
+ $694 = (($692) + ($693<<2)|0);
+ $695 = +HEAPF32[$694>>2];
+ $696 = $695;
+ $697 = $43;
+ $698 = $697 + $696;
+ $43 = $698;
+ $699 = $26;
+ $700 = (($699) + 1)|0;
+ $26 = $700;
+ }
+ $701 = $41;
+ $702 = $701 > 0.0;
+ if ($702) {
+ $703 = $41;
+ $704 = 2.0 * $703;
+ $705 = $43;
+ $706 = $704 / $705;
+ $707 = $706;
+ $53 = $707;
+ $708 = $35;
+ $709 = $28;
+ $710 = (+($709|0));
+ $711 = $708 * $710;
+ $712 = 1.0 - $711;
+ $713 = $53;
+ $714 = $713 * $712;
+ $53 = $714;
+ } else {
+ $53 = 0.0;
+ }
+ $715 = $53;
+ $716 = $50;
+ $717 = $715 > $716;
+ if ($717) {
+ $718 = $27;
+ $719 = $28;
+ $720 = (30815 + ($719)|0);
+ $721 = HEAP8[$720>>0]|0;
+ $722 = $721 << 24 >> 24;
+ $723 = (($718) + ($722))|0;
+ $724 = $76;
+ $725 = ($723|0)<=($724|0);
+ if ($725) {
+ $726 = $53;
+ $50 = $726;
+ $727 = $27;
+ $59 = $727;
+ $728 = $28;
+ $54 = $728;
+ }
+ }
+ $729 = $28;
+ $730 = (($729) + 1)|0;
+ $28 = $730;
+ }
+ $731 = $66;
+ $732 = (($731) + 1)|0;
+ $66 = $732;
+ $733 = $27;
+ $734 = (($733) + 1)|0;
+ $27 = $734;
+ }
+ $26 = 0;
+ while(1) {
+ $735 = $26;
+ $736 = $23;
+ $737 = ($735|0)<($736|0);
+ $738 = $59;
+ if (!($737)) {
+ break;
+ }
+ $739 = $80;
+ $740 = $26;
+ $741 = $60;
+ $742 = Math_imul($740, $741)|0;
+ $743 = $54;
+ $744 = (($742) + ($743))|0;
+ $745 = (($739) + ($744)|0);
+ $746 = HEAP8[$745>>0]|0;
+ $747 = $746 << 24 >> 24;
+ $748 = (($738) + ($747))|0;
+ $749 = $14;
+ $750 = $26;
+ $751 = (($749) + ($750<<2)|0);
+ HEAP32[$751>>2] = $748;
+ $752 = $73;
+ $753 = $21;
+ $754 = ($753*18)|0;
+ $755 = ($752|0)>($754|0);
+ $756 = $14;
+ $757 = $26;
+ $758 = (($756) + ($757<<2)|0);
+ $759 = HEAP32[$758>>2]|0;
+ do {
+ if ($755) {
+ $760 = $73;
+ $761 = ($759|0)>($760|0);
+ if ($761) {
+ $762 = $73;
+ $795 = $762;
+ break;
+ }
+ $763 = $14;
+ $764 = $26;
+ $765 = (($763) + ($764<<2)|0);
+ $766 = HEAP32[$765>>2]|0;
+ $767 = $21;
+ $768 = ($767*18)|0;
+ $769 = ($766|0)<($768|0);
+ if ($769) {
+ $770 = $21;
+ $771 = ($770*18)|0;
+ $795 = $771;
+ break;
+ } else {
+ $772 = $14;
+ $773 = $26;
+ $774 = (($772) + ($773<<2)|0);
+ $775 = HEAP32[$774>>2]|0;
+ $795 = $775;
+ break;
+ }
+ } else {
+ $776 = $21;
+ $777 = ($776*18)|0;
+ $778 = ($759|0)>($777|0);
+ if ($778) {
+ $779 = $21;
+ $780 = ($779*18)|0;
+ $795 = $780;
+ break;
+ }
+ $781 = $14;
+ $782 = $26;
+ $783 = (($781) + ($782<<2)|0);
+ $784 = HEAP32[$783>>2]|0;
+ $785 = $73;
+ $786 = ($784|0)<($785|0);
+ if ($786) {
+ $787 = $73;
+ $795 = $787;
+ break;
+ } else {
+ $788 = $14;
+ $789 = $26;
+ $790 = (($788) + ($789<<2)|0);
+ $791 = HEAP32[$790>>2]|0;
+ $795 = $791;
+ break;
+ }
+ }
+ } while(0);
+ $792 = $14;
+ $793 = $26;
+ $794 = (($792) + ($793<<2)|0);
+ HEAP32[$794>>2] = $795;
+ $796 = $26;
+ $797 = (($796) + 1)|0;
+ $26 = $797;
+ }
+ $798 = $73;
+ $799 = (($738) - ($798))|0;
+ $800 = $799&65535;
+ $801 = $15;
+ HEAP16[$801>>1] = $800;
+ $802 = $54;
+ $803 = $802&255;
+ $804 = $16;
+ HEAP8[$804>>0] = $803;
+ } else {
+ $26 = 0;
+ while(1) {
+ $805 = $26;
+ $806 = $23;
+ $807 = ($805|0)<($806|0);
+ $808 = $56;
+ if (!($807)) {
+ break;
+ }
+ $809 = $80;
+ $810 = $26;
+ $811 = $60;
+ $812 = Math_imul($810, $811)|0;
+ $813 = $54;
+ $814 = (($812) + ($813))|0;
+ $815 = (($809) + ($814)|0);
+ $816 = HEAP8[$815>>0]|0;
+ $817 = $816 << 24 >> 24;
+ $818 = (($808) + ($817))|0;
+ $819 = $14;
+ $820 = $26;
+ $821 = (($819) + ($820<<2)|0);
+ HEAP32[$821>>2] = $818;
+ $822 = $74;
+ $823 = ($822|0)>(144);
+ $824 = $14;
+ $825 = $26;
+ $826 = (($824) + ($825<<2)|0);
+ $827 = HEAP32[$826>>2]|0;
+ do {
+ if ($823) {
+ $828 = $74;
+ $829 = ($827|0)>($828|0);
+ if ($829) {
+ $830 = $74;
+ $855 = $830;
+ break;
+ }
+ $831 = $14;
+ $832 = $26;
+ $833 = (($831) + ($832<<2)|0);
+ $834 = HEAP32[$833>>2]|0;
+ $835 = ($834|0)<(144);
+ if ($835) {
+ $855 = 144;
+ } else {
+ $836 = $14;
+ $837 = $26;
+ $838 = (($836) + ($837<<2)|0);
+ $839 = HEAP32[$838>>2]|0;
+ $855 = $839;
+ }
+ } else {
+ $840 = ($827|0)>(144);
+ if ($840) {
+ $855 = 144;
+ } else {
+ $841 = $14;
+ $842 = $26;
+ $843 = (($841) + ($842<<2)|0);
+ $844 = HEAP32[$843>>2]|0;
+ $845 = $74;
+ $846 = ($844|0)<($845|0);
+ if ($846) {
+ $847 = $74;
+ $855 = $847;
+ break;
+ } else {
+ $848 = $14;
+ $849 = $26;
+ $850 = (($848) + ($849<<2)|0);
+ $851 = HEAP32[$850>>2]|0;
+ $855 = $851;
+ break;
+ }
+ }
+ }
+ } while(0);
+ $852 = $14;
+ $853 = $26;
+ $854 = (($852) + ($853<<2)|0);
+ HEAP32[$854>>2] = $855;
+ $856 = $26;
+ $857 = (($856) + 1)|0;
+ $26 = $857;
+ }
+ $858 = $74;
+ $859 = (($808) - ($858))|0;
+ $860 = $859&65535;
+ $861 = $15;
+ HEAP16[$861>>1] = $860;
+ $862 = $54;
+ $863 = $862&255;
+ $864 = $16;
+ HEAP8[$864>>0] = $863;
+ }
+ $12 = 0;
+ $865 = $12;
+ STACKTOP = sp;return ($865|0);
+}
+function _silk_float2short_array_326($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $5;
+ $8 = (($7) - 1)|0;
+ $6 = $8;
+ while(1) {
+ $9 = $6;
+ $10 = ($9|0)>=(0);
+ if (!($10)) {
+ break;
+ }
+ $11 = $4;
+ $12 = $6;
+ $13 = (($11) + ($12<<2)|0);
+ $14 = +HEAPF32[$13>>2];
+ $15 = (_lrintf($14)|0);
+ $16 = ($15|0)>(32767);
+ if ($16) {
+ $29 = 32767;
+ } else {
+ $17 = $4;
+ $18 = $6;
+ $19 = (($17) + ($18<<2)|0);
+ $20 = +HEAPF32[$19>>2];
+ $21 = (_lrintf($20)|0);
+ $22 = ($21|0)<(-32768);
+ if ($22) {
+ $29 = -32768;
+ } else {
+ $23 = $4;
+ $24 = $6;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = (_lrintf($26)|0);
+ $29 = $27;
+ }
+ }
+ $28 = $29&65535;
+ $30 = $3;
+ $31 = $6;
+ $32 = (($30) + ($31<<1)|0);
+ HEAP16[$32>>1] = $28;
+ $33 = $6;
+ $34 = (($33) + -1)|0;
+ $6 = $34;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_short2float_array_327($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $5;
+ $8 = (($7) - 1)|0;
+ $6 = $8;
+ while(1) {
+ $9 = $6;
+ $10 = ($9|0)>=(0);
+ if (!($10)) {
+ break;
+ }
+ $11 = $4;
+ $12 = $6;
+ $13 = (($11) + ($12<<1)|0);
+ $14 = HEAP16[$13>>1]|0;
+ $15 = (+($14<<16>>16));
+ $16 = $3;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ HEAPF32[$18>>2] = $15;
+ $19 = $6;
+ $20 = (($19) + -1)|0;
+ $6 = $20;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_log2_328($0) {
+ $0 = +$0;
+ var $1 = 0.0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = (+_log10($2));
+ $4 = 3.32192809488736 * $3;
+ $5 = $4;
+ STACKTOP = sp;return (+$5);
+}
+function _silk_max_int_329($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_min_int_330($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_P_Ana_calc_corr_st3($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0;
+ var $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0;
+ var $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0;
+ var $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
+ var $78 = 0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
+ var $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 256|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(256|0);
+ $25 = sp + 96|0;
+ $26 = sp + 8|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $29 = $11;
+ $30 = ($29|0)==(4);
+ if ($30) {
+ $31 = $12;
+ $32 = (30951 + ($31<<3)|0);
+ $27 = $32;
+ $28 = 30815;
+ $33 = $12;
+ $34 = (30975 + ($33)|0);
+ $35 = HEAP8[$34>>0]|0;
+ $36 = $35 << 24 >> 24;
+ $21 = $36;
+ $24 = 34;
+ } else {
+ $27 = 30767;
+ $28 = 30743;
+ $21 = 12;
+ $24 = 12;
+ }
+ $37 = $8;
+ $38 = $10;
+ $39 = $38 << 2;
+ $40 = (($37) + ($39<<2)|0);
+ $14 = $40;
+ $17 = 0;
+ while(1) {
+ $41 = $17;
+ $42 = $11;
+ $43 = ($41|0)<($42|0);
+ if (!($43)) {
+ break;
+ }
+ $18 = 0;
+ $44 = $27;
+ $45 = $17;
+ $46 = $45<<1;
+ $47 = (($46) + 0)|0;
+ $48 = (($44) + ($47)|0);
+ $49 = HEAP8[$48>>0]|0;
+ $50 = $49 << 24 >> 24;
+ $19 = $50;
+ $51 = $27;
+ $52 = $17;
+ $53 = $52<<1;
+ $54 = (($53) + 1)|0;
+ $55 = (($51) + ($54)|0);
+ $56 = HEAP8[$55>>0]|0;
+ $57 = $56 << 24 >> 24;
+ $20 = $57;
+ $58 = $14;
+ $59 = $14;
+ $60 = $9;
+ $61 = (0 - ($60))|0;
+ $62 = (($59) + ($61<<2)|0);
+ $63 = $20;
+ $64 = (0 - ($63))|0;
+ $65 = (($62) + ($64<<2)|0);
+ $66 = $10;
+ $67 = $20;
+ $68 = $19;
+ $69 = (($67) - ($68))|0;
+ $70 = (($69) + 1)|0;
+ $71 = $13;
+ _celt_pitch_xcorr($58,$65,$26,$66,$70,$71);
+ $72 = $19;
+ $16 = $72;
+ while(1) {
+ $73 = $16;
+ $74 = $20;
+ $75 = ($73|0)<=($74|0);
+ if (!($75)) {
+ break;
+ }
+ $76 = $20;
+ $77 = $16;
+ $78 = (($76) - ($77))|0;
+ $79 = (($26) + ($78<<2)|0);
+ $80 = +HEAPF32[$79>>2];
+ $81 = $18;
+ $82 = (($25) + ($81<<2)|0);
+ HEAPF32[$82>>2] = $80;
+ $83 = $18;
+ $84 = (($83) + 1)|0;
+ $18 = $84;
+ $85 = $16;
+ $86 = (($85) + 1)|0;
+ $16 = $86;
+ }
+ $87 = $27;
+ $88 = $17;
+ $89 = $88<<1;
+ $90 = (($89) + 0)|0;
+ $91 = (($87) + ($90)|0);
+ $92 = HEAP8[$91>>0]|0;
+ $93 = $92 << 24 >> 24;
+ $22 = $93;
+ $15 = 0;
+ while(1) {
+ $94 = $15;
+ $95 = $21;
+ $96 = ($94|0)<($95|0);
+ if (!($96)) {
+ break;
+ }
+ $97 = $28;
+ $98 = $17;
+ $99 = $24;
+ $100 = Math_imul($98, $99)|0;
+ $101 = $15;
+ $102 = (($100) + ($101))|0;
+ $103 = (($97) + ($102)|0);
+ $104 = HEAP8[$103>>0]|0;
+ $105 = $104 << 24 >> 24;
+ $106 = $22;
+ $107 = (($105) - ($106))|0;
+ $23 = $107;
+ $16 = 0;
+ while(1) {
+ $108 = $16;
+ $109 = ($108|0)<(5);
+ if (!($109)) {
+ break;
+ }
+ $110 = $23;
+ $111 = $16;
+ $112 = (($110) + ($111))|0;
+ $113 = (($25) + ($112<<2)|0);
+ $114 = +HEAPF32[$113>>2];
+ $115 = $7;
+ $116 = $17;
+ $117 = (($115) + (($116*680)|0)|0);
+ $118 = $15;
+ $119 = (($117) + (($118*20)|0)|0);
+ $120 = $16;
+ $121 = (($119) + ($120<<2)|0);
+ HEAPF32[$121>>2] = $114;
+ $122 = $16;
+ $123 = (($122) + 1)|0;
+ $16 = $123;
+ }
+ $124 = $15;
+ $125 = (($124) + 1)|0;
+ $15 = $125;
+ }
+ $126 = $10;
+ $127 = $14;
+ $128 = (($127) + ($126<<2)|0);
+ $14 = $128;
+ $129 = $17;
+ $130 = (($129) + 1)|0;
+ $17 = $130;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_P_Ana_calc_energy_st3($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0.0, $116 = 0.0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0.0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0;
+ var $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0;
+ var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0;
+ var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0;
+ var $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0.0;
+ var $99 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
+ $24 = sp + 16|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $27 = $10;
+ $28 = ($27|0)==(4);
+ if ($28) {
+ $29 = $11;
+ $30 = (30951 + ($29<<3)|0);
+ $25 = $30;
+ $26 = 30815;
+ $31 = $11;
+ $32 = (30975 + ($31)|0);
+ $33 = HEAP8[$32>>0]|0;
+ $34 = $33 << 24 >> 24;
+ $19 = $34;
+ $22 = 34;
+ } else {
+ $25 = 30767;
+ $26 = 30743;
+ $19 = 12;
+ $22 = 12;
+ }
+ $35 = $7;
+ $36 = $9;
+ $37 = $36 << 2;
+ $38 = (($35) + ($37<<2)|0);
+ $12 = $38;
+ $15 = 0;
+ while(1) {
+ $39 = $15;
+ $40 = $10;
+ $41 = ($39|0)<($40|0);
+ if (!($41)) {
+ break;
+ }
+ $18 = 0;
+ $42 = $12;
+ $43 = $8;
+ $44 = $25;
+ $45 = $15;
+ $46 = $45<<1;
+ $47 = (($46) + 0)|0;
+ $48 = (($44) + ($47)|0);
+ $49 = HEAP8[$48>>0]|0;
+ $50 = $49 << 24 >> 24;
+ $51 = (($43) + ($50))|0;
+ $52 = (0 - ($51))|0;
+ $53 = (($42) + ($52<<2)|0);
+ $13 = $53;
+ $54 = $13;
+ $55 = $9;
+ $56 = (+_silk_energy_FLP($54,$55));
+ $57 = $56 + 0.001;
+ $14 = $57;
+ $58 = $14;
+ $59 = $58;
+ $60 = $18;
+ $61 = (($24) + ($60<<2)|0);
+ HEAPF32[$61>>2] = $59;
+ $62 = $18;
+ $63 = (($62) + 1)|0;
+ $18 = $63;
+ $64 = $25;
+ $65 = $15;
+ $66 = $65<<1;
+ $67 = (($66) + 1)|0;
+ $68 = (($64) + ($67)|0);
+ $69 = HEAP8[$68>>0]|0;
+ $70 = $69 << 24 >> 24;
+ $71 = $25;
+ $72 = $15;
+ $73 = $72<<1;
+ $74 = (($73) + 0)|0;
+ $75 = (($71) + ($74)|0);
+ $76 = HEAP8[$75>>0]|0;
+ $77 = $76 << 24 >> 24;
+ $78 = (($70) - ($77))|0;
+ $79 = (($78) + 1)|0;
+ $23 = $79;
+ $16 = 1;
+ while(1) {
+ $80 = $16;
+ $81 = $23;
+ $82 = ($80|0)<($81|0);
+ if (!($82)) {
+ break;
+ }
+ $83 = $13;
+ $84 = $9;
+ $85 = $16;
+ $86 = (($84) - ($85))|0;
+ $87 = (($83) + ($86<<2)|0);
+ $88 = +HEAPF32[$87>>2];
+ $89 = $88;
+ $90 = $13;
+ $91 = $9;
+ $92 = $16;
+ $93 = (($91) - ($92))|0;
+ $94 = (($90) + ($93<<2)|0);
+ $95 = +HEAPF32[$94>>2];
+ $96 = $95;
+ $97 = $89 * $96;
+ $98 = $14;
+ $99 = $98 - $97;
+ $14 = $99;
+ $100 = $13;
+ $101 = $16;
+ $102 = (0 - ($101))|0;
+ $103 = (($100) + ($102<<2)|0);
+ $104 = +HEAPF32[$103>>2];
+ $105 = $104;
+ $106 = $13;
+ $107 = $16;
+ $108 = (0 - ($107))|0;
+ $109 = (($106) + ($108<<2)|0);
+ $110 = +HEAPF32[$109>>2];
+ $111 = $110;
+ $112 = $105 * $111;
+ $113 = $14;
+ $114 = $113 + $112;
+ $14 = $114;
+ $115 = $14;
+ $116 = $115;
+ $117 = $18;
+ $118 = (($24) + ($117<<2)|0);
+ HEAPF32[$118>>2] = $116;
+ $119 = $18;
+ $120 = (($119) + 1)|0;
+ $18 = $120;
+ $121 = $16;
+ $122 = (($121) + 1)|0;
+ $16 = $122;
+ }
+ $123 = $25;
+ $124 = $15;
+ $125 = $124<<1;
+ $126 = (($125) + 0)|0;
+ $127 = (($123) + ($126)|0);
+ $128 = HEAP8[$127>>0]|0;
+ $129 = $128 << 24 >> 24;
+ $20 = $129;
+ $16 = 0;
+ while(1) {
+ $130 = $16;
+ $131 = $19;
+ $132 = ($130|0)<($131|0);
+ if (!($132)) {
+ break;
+ }
+ $133 = $26;
+ $134 = $15;
+ $135 = $22;
+ $136 = Math_imul($134, $135)|0;
+ $137 = $16;
+ $138 = (($136) + ($137))|0;
+ $139 = (($133) + ($138)|0);
+ $140 = HEAP8[$139>>0]|0;
+ $141 = $140 << 24 >> 24;
+ $142 = $20;
+ $143 = (($141) - ($142))|0;
+ $21 = $143;
+ $17 = 0;
+ while(1) {
+ $144 = $17;
+ $145 = ($144|0)<(5);
+ if (!($145)) {
+ break;
+ }
+ $146 = $21;
+ $147 = $17;
+ $148 = (($146) + ($147))|0;
+ $149 = (($24) + ($148<<2)|0);
+ $150 = +HEAPF32[$149>>2];
+ $151 = $6;
+ $152 = $15;
+ $153 = (($151) + (($152*680)|0)|0);
+ $154 = $16;
+ $155 = (($153) + (($154*20)|0)|0);
+ $156 = $17;
+ $157 = (($155) + ($156<<2)|0);
+ HEAPF32[$157>>2] = $150;
+ $158 = $17;
+ $159 = (($158) + 1)|0;
+ $17 = $159;
+ }
+ $160 = $16;
+ $161 = (($160) + 1)|0;
+ $16 = $161;
+ }
+ $162 = $9;
+ $163 = $12;
+ $164 = (($163) + ($162<<2)|0);
+ $12 = $164;
+ $165 = $15;
+ $166 = (($165) + 1)|0;
+ $15 = $166;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_scale_copy_vector_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0.0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0.0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0.0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $10 = $7;
+ $11 = $10 & 65532;
+ $9 = $11;
+ $8 = 0;
+ while(1) {
+ $12 = $8;
+ $13 = $9;
+ $14 = ($12|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $15 = $6;
+ $16 = $5;
+ $17 = $8;
+ $18 = (($17) + 0)|0;
+ $19 = (($16) + ($18<<2)|0);
+ $20 = +HEAPF32[$19>>2];
+ $21 = $15 * $20;
+ $22 = $4;
+ $23 = $8;
+ $24 = (($23) + 0)|0;
+ $25 = (($22) + ($24<<2)|0);
+ HEAPF32[$25>>2] = $21;
+ $26 = $6;
+ $27 = $5;
+ $28 = $8;
+ $29 = (($28) + 1)|0;
+ $30 = (($27) + ($29<<2)|0);
+ $31 = +HEAPF32[$30>>2];
+ $32 = $26 * $31;
+ $33 = $4;
+ $34 = $8;
+ $35 = (($34) + 1)|0;
+ $36 = (($33) + ($35<<2)|0);
+ HEAPF32[$36>>2] = $32;
+ $37 = $6;
+ $38 = $5;
+ $39 = $8;
+ $40 = (($39) + 2)|0;
+ $41 = (($38) + ($40<<2)|0);
+ $42 = +HEAPF32[$41>>2];
+ $43 = $37 * $42;
+ $44 = $4;
+ $45 = $8;
+ $46 = (($45) + 2)|0;
+ $47 = (($44) + ($46<<2)|0);
+ HEAPF32[$47>>2] = $43;
+ $48 = $6;
+ $49 = $5;
+ $50 = $8;
+ $51 = (($50) + 3)|0;
+ $52 = (($49) + ($51<<2)|0);
+ $53 = +HEAPF32[$52>>2];
+ $54 = $48 * $53;
+ $55 = $4;
+ $56 = $8;
+ $57 = (($56) + 3)|0;
+ $58 = (($55) + ($57<<2)|0);
+ HEAPF32[$58>>2] = $54;
+ $59 = $8;
+ $60 = (($59) + 4)|0;
+ $8 = $60;
+ }
+ while(1) {
+ $61 = $8;
+ $62 = $7;
+ $63 = ($61|0)<($62|0);
+ if (!($63)) {
+ break;
+ }
+ $64 = $6;
+ $65 = $5;
+ $66 = $8;
+ $67 = (($65) + ($66<<2)|0);
+ $68 = +HEAPF32[$67>>2];
+ $69 = $64 * $68;
+ $70 = $4;
+ $71 = $8;
+ $72 = (($70) + ($71<<2)|0);
+ HEAPF32[$72>>2] = $69;
+ $73 = $8;
+ $74 = (($73) + 1)|0;
+ $8 = $74;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_schur_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0.0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0.0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
+ $8 = sp + 16|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = 0;
+ while(1) {
+ $12 = $6;
+ $13 = $5;
+ $14 = (($13) + 1)|0;
+ $15 = ($12|0)<($14|0);
+ if (!($15)) {
+ break;
+ }
+ $16 = $4;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ $19 = +HEAPF32[$18>>2];
+ $20 = $6;
+ $21 = (($8) + ($20<<3)|0);
+ $22 = ((($21)) + 4|0);
+ HEAPF32[$22>>2] = $19;
+ $23 = $6;
+ $24 = (($8) + ($23<<3)|0);
+ HEAPF32[$24>>2] = $19;
+ $25 = $6;
+ $26 = (($25) + 1)|0;
+ $6 = $26;
+ }
+ $6 = 0;
+ while(1) {
+ $27 = $6;
+ $28 = $5;
+ $29 = ($27|0)<($28|0);
+ if (!($29)) {
+ break;
+ }
+ $30 = $6;
+ $31 = (($30) + 1)|0;
+ $32 = (($8) + ($31<<3)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = - $33;
+ $35 = ((($8)) + 4|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $36 > 9.9999997171806853E-10;
+ $38 = ((($8)) + 4|0);
+ $39 = +HEAPF32[$38>>2];
+ $40 = $37 ? $39 : 9.9999997171806853E-10;
+ $41 = $34 / $40;
+ $11 = $41;
+ $42 = $11;
+ $43 = $3;
+ $44 = $6;
+ $45 = (($43) + ($44<<2)|0);
+ HEAPF32[$45>>2] = $42;
+ $7 = 0;
+ while(1) {
+ $46 = $7;
+ $47 = $5;
+ $48 = $6;
+ $49 = (($47) - ($48))|0;
+ $50 = ($46|0)<($49|0);
+ if (!($50)) {
+ break;
+ }
+ $51 = $7;
+ $52 = $6;
+ $53 = (($51) + ($52))|0;
+ $54 = (($53) + 1)|0;
+ $55 = (($8) + ($54<<3)|0);
+ $56 = +HEAPF32[$55>>2];
+ $9 = $56;
+ $57 = $7;
+ $58 = (($8) + ($57<<3)|0);
+ $59 = ((($58)) + 4|0);
+ $60 = +HEAPF32[$59>>2];
+ $10 = $60;
+ $61 = $9;
+ $62 = $10;
+ $63 = $11;
+ $64 = $62 * $63;
+ $65 = $61 + $64;
+ $66 = $7;
+ $67 = $6;
+ $68 = (($66) + ($67))|0;
+ $69 = (($68) + 1)|0;
+ $70 = (($8) + ($69<<3)|0);
+ HEAPF32[$70>>2] = $65;
+ $71 = $10;
+ $72 = $9;
+ $73 = $11;
+ $74 = $72 * $73;
+ $75 = $71 + $74;
+ $76 = $7;
+ $77 = (($8) + ($76<<3)|0);
+ $78 = ((($77)) + 4|0);
+ HEAPF32[$78>>2] = $75;
+ $79 = $7;
+ $80 = (($79) + 1)|0;
+ $7 = $80;
+ }
+ $81 = $6;
+ $82 = (($81) + 1)|0;
+ $6 = $82;
+ }
+ $83 = ((($8)) + 4|0);
+ $84 = +HEAPF32[$83>>2];
+ STACKTOP = sp;return (+$84);
+}
+function _silk_insertion_sort_decreasing_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0;
+ var $28 = 0, $29 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0.0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0.0, $80 = 0.0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0.0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = 0;
+ while(1) {
+ $11 = $9;
+ $12 = $7;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $9;
+ $15 = $5;
+ $16 = $9;
+ $17 = (($15) + ($16<<2)|0);
+ HEAP32[$17>>2] = $14;
+ $18 = $9;
+ $19 = (($18) + 1)|0;
+ $9 = $19;
+ }
+ $9 = 1;
+ while(1) {
+ $20 = $9;
+ $21 = $7;
+ $22 = ($20|0)<($21|0);
+ if (!($22)) {
+ break;
+ }
+ $23 = $4;
+ $24 = $9;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $8 = $26;
+ $27 = $9;
+ $28 = (($27) - 1)|0;
+ $10 = $28;
+ while(1) {
+ $29 = $10;
+ $30 = ($29|0)>=(0);
+ if (!($30)) {
+ break;
+ }
+ $31 = $8;
+ $32 = $4;
+ $33 = $10;
+ $34 = (($32) + ($33<<2)|0);
+ $35 = +HEAPF32[$34>>2];
+ $36 = $31 > $35;
+ if (!($36)) {
+ break;
+ }
+ $37 = $4;
+ $38 = $10;
+ $39 = (($37) + ($38<<2)|0);
+ $40 = +HEAPF32[$39>>2];
+ $41 = $4;
+ $42 = $10;
+ $43 = (($42) + 1)|0;
+ $44 = (($41) + ($43<<2)|0);
+ HEAPF32[$44>>2] = $40;
+ $45 = $5;
+ $46 = $10;
+ $47 = (($45) + ($46<<2)|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = $5;
+ $50 = $10;
+ $51 = (($50) + 1)|0;
+ $52 = (($49) + ($51<<2)|0);
+ HEAP32[$52>>2] = $48;
+ $53 = $10;
+ $54 = (($53) + -1)|0;
+ $10 = $54;
+ }
+ $55 = $8;
+ $56 = $4;
+ $57 = $10;
+ $58 = (($57) + 1)|0;
+ $59 = (($56) + ($58<<2)|0);
+ HEAPF32[$59>>2] = $55;
+ $60 = $9;
+ $61 = $5;
+ $62 = $10;
+ $63 = (($62) + 1)|0;
+ $64 = (($61) + ($63<<2)|0);
+ HEAP32[$64>>2] = $60;
+ $65 = $9;
+ $66 = (($65) + 1)|0;
+ $9 = $66;
+ }
+ $67 = $7;
+ $9 = $67;
+ while(1) {
+ $68 = $9;
+ $69 = $6;
+ $70 = ($68|0)<($69|0);
+ if (!($70)) {
+ break;
+ }
+ $71 = $4;
+ $72 = $9;
+ $73 = (($71) + ($72<<2)|0);
+ $74 = +HEAPF32[$73>>2];
+ $8 = $74;
+ $75 = $8;
+ $76 = $4;
+ $77 = $7;
+ $78 = (($77) - 1)|0;
+ $79 = (($76) + ($78<<2)|0);
+ $80 = +HEAPF32[$79>>2];
+ $81 = $75 > $80;
+ if ($81) {
+ $82 = $7;
+ $83 = (($82) - 2)|0;
+ $10 = $83;
+ while(1) {
+ $84 = $10;
+ $85 = ($84|0)>=(0);
+ if (!($85)) {
+ break;
+ }
+ $86 = $8;
+ $87 = $4;
+ $88 = $10;
+ $89 = (($87) + ($88<<2)|0);
+ $90 = +HEAPF32[$89>>2];
+ $91 = $86 > $90;
+ if (!($91)) {
+ break;
+ }
+ $92 = $4;
+ $93 = $10;
+ $94 = (($92) + ($93<<2)|0);
+ $95 = +HEAPF32[$94>>2];
+ $96 = $4;
+ $97 = $10;
+ $98 = (($97) + 1)|0;
+ $99 = (($96) + ($98<<2)|0);
+ HEAPF32[$99>>2] = $95;
+ $100 = $5;
+ $101 = $10;
+ $102 = (($100) + ($101<<2)|0);
+ $103 = HEAP32[$102>>2]|0;
+ $104 = $5;
+ $105 = $10;
+ $106 = (($105) + 1)|0;
+ $107 = (($104) + ($106<<2)|0);
+ HEAP32[$107>>2] = $103;
+ $108 = $10;
+ $109 = (($108) + -1)|0;
+ $10 = $109;
+ }
+ $110 = $8;
+ $111 = $4;
+ $112 = $10;
+ $113 = (($112) + 1)|0;
+ $114 = (($111) + ($113<<2)|0);
+ HEAPF32[$114>>2] = $110;
+ $115 = $9;
+ $116 = $5;
+ $117 = $10;
+ $118 = (($117) + 1)|0;
+ $119 = (($116) + ($118<<2)|0);
+ HEAP32[$119>>2] = $115;
+ }
+ $120 = $9;
+ $121 = (($120) + 1)|0;
+ $9 = $121;
+ }
+ STACKTOP = sp;return;
+}
+function _opus_pcm_soft_clip($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0.0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0.0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0.0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0.0, $160 = 0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0.0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0.0, $181 = 0.0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0.0, $189 = 0.0, $19 = 0.0;
+ var $190 = 0.0, $191 = 0.0, $192 = 0.0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0.0, $20 = 0.0, $200 = 0.0, $201 = 0.0, $202 = 0.0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0.0, $214 = 0, $215 = 0.0, $216 = 0.0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0.0, $224 = 0.0, $225 = 0.0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0.0, $232 = 0, $233 = 0.0, $234 = 0.0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0.0;
+ var $245 = 0.0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0.0, $252 = 0.0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0.0, $259 = 0.0, $26 = 0, $260 = 0.0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0.0, $273 = 0, $274 = 0.0, $275 = 0.0, $276 = 0.0, $277 = 0, $278 = 0.0, $279 = 0.0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0.0, $285 = 0.0, $286 = 0.0, $287 = 0.0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0.0, $294 = 0.0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0.0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0.0, $308 = 0, $309 = 0.0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0.0, $316 = 0, $317 = 0;
+ var $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0.0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0.0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0.0;
+ var $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0.0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond$not = 0, $or$cond3 = 0;
+ var $or$cond5 = 0, $or$cond8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $21 = $6;
+ $22 = ($21|0)<(1);
+ $23 = $5;
+ $24 = ($23|0)<(1);
+ $or$cond = $22 | $24;
+ $or$cond$not = $or$cond ^ 1;
+ $25 = $4;
+ $26 = ($25|0)!=(0|0);
+ $or$cond3 = $or$cond$not & $26;
+ $27 = $7;
+ $28 = ($27|0)!=(0|0);
+ $or$cond5 = $or$cond3 & $28;
+ if (!($or$cond5)) {
+ STACKTOP = sp;return;
+ }
+ $9 = 0;
+ while(1) {
+ $29 = $9;
+ $30 = $5;
+ $31 = $6;
+ $32 = Math_imul($30, $31)|0;
+ $33 = ($29|0)<($32|0);
+ if (!($33)) {
+ break;
+ }
+ $34 = $4;
+ $35 = $9;
+ $36 = (($34) + ($35<<2)|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = 2.0 < $37;
+ if ($38) {
+ $44 = 2.0;
+ } else {
+ $39 = $4;
+ $40 = $9;
+ $41 = (($39) + ($40<<2)|0);
+ $42 = +HEAPF32[$41>>2];
+ $44 = $42;
+ }
+ $43 = -2.0 > $44;
+ if ($43) {
+ $57 = -2.0;
+ } else {
+ $45 = $4;
+ $46 = $9;
+ $47 = (($45) + ($46<<2)|0);
+ $48 = +HEAPF32[$47>>2];
+ $49 = 2.0 < $48;
+ if ($49) {
+ $57 = 2.0;
+ } else {
+ $50 = $4;
+ $51 = $9;
+ $52 = (($50) + ($51<<2)|0);
+ $53 = +HEAPF32[$52>>2];
+ $57 = $53;
+ }
+ }
+ $54 = $4;
+ $55 = $9;
+ $56 = (($54) + ($55<<2)|0);
+ HEAPF32[$56>>2] = $57;
+ $58 = $9;
+ $59 = (($58) + 1)|0;
+ $9 = $59;
+ }
+ $8 = 0;
+ while(1) {
+ $60 = $8;
+ $61 = $6;
+ $62 = ($60|0)<($61|0);
+ if (!($62)) {
+ break;
+ }
+ $63 = $4;
+ $64 = $8;
+ $65 = (($63) + ($64<<2)|0);
+ $10 = $65;
+ $66 = $7;
+ $67 = $8;
+ $68 = (($66) + ($67<<2)|0);
+ $69 = +HEAPF32[$68>>2];
+ $11 = $69;
+ $9 = 0;
+ while(1) {
+ $70 = $9;
+ $71 = $5;
+ $72 = ($70|0)<($71|0);
+ if (!($72)) {
+ break;
+ }
+ $73 = $10;
+ $74 = $9;
+ $75 = $6;
+ $76 = Math_imul($74, $75)|0;
+ $77 = (($73) + ($76<<2)|0);
+ $78 = +HEAPF32[$77>>2];
+ $79 = $11;
+ $80 = $78 * $79;
+ $81 = $80 >= 0.0;
+ if ($81) {
+ break;
+ }
+ $82 = $10;
+ $83 = $9;
+ $84 = $6;
+ $85 = Math_imul($83, $84)|0;
+ $86 = (($82) + ($85<<2)|0);
+ $87 = +HEAPF32[$86>>2];
+ $88 = $11;
+ $89 = $10;
+ $90 = $9;
+ $91 = $6;
+ $92 = Math_imul($90, $91)|0;
+ $93 = (($89) + ($92<<2)|0);
+ $94 = +HEAPF32[$93>>2];
+ $95 = $88 * $94;
+ $96 = $10;
+ $97 = $9;
+ $98 = $6;
+ $99 = Math_imul($97, $98)|0;
+ $100 = (($96) + ($99<<2)|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = $95 * $101;
+ $103 = $87 + $102;
+ $104 = $10;
+ $105 = $9;
+ $106 = $6;
+ $107 = Math_imul($105, $106)|0;
+ $108 = (($104) + ($107<<2)|0);
+ HEAPF32[$108>>2] = $103;
+ $109 = $9;
+ $110 = (($109) + 1)|0;
+ $9 = $110;
+ }
+ $13 = 0;
+ $111 = $10;
+ $112 = +HEAPF32[$111>>2];
+ $12 = $112;
+ while(1) {
+ $17 = 0;
+ $113 = $13;
+ $9 = $113;
+ while(1) {
+ $114 = $9;
+ $115 = $5;
+ $116 = ($114|0)<($115|0);
+ if (!($116)) {
+ break;
+ }
+ $117 = $10;
+ $118 = $9;
+ $119 = $6;
+ $120 = Math_imul($118, $119)|0;
+ $121 = (($117) + ($120<<2)|0);
+ $122 = +HEAPF32[$121>>2];
+ $123 = $122 > 1.0;
+ if ($123) {
+ break;
+ }
+ $124 = $10;
+ $125 = $9;
+ $126 = $6;
+ $127 = Math_imul($125, $126)|0;
+ $128 = (($124) + ($127<<2)|0);
+ $129 = +HEAPF32[$128>>2];
+ $130 = $129 < -1.0;
+ if ($130) {
+ break;
+ }
+ $131 = $9;
+ $132 = (($131) + 1)|0;
+ $9 = $132;
+ }
+ $133 = $9;
+ $134 = $5;
+ $135 = ($133|0)==($134|0);
+ if ($135) {
+ label = 23;
+ break;
+ }
+ $136 = $9;
+ $18 = $136;
+ $137 = $9;
+ $15 = $137;
+ $14 = $137;
+ $138 = $10;
+ $139 = $9;
+ $140 = $6;
+ $141 = Math_imul($139, $140)|0;
+ $142 = (($138) + ($141<<2)|0);
+ $143 = +HEAPF32[$142>>2];
+ $144 = $143;
+ $145 = (+Math_abs((+$144)));
+ $146 = $145;
+ $16 = $146;
+ while(1) {
+ $147 = $14;
+ $148 = ($147|0)>(0);
+ if (!($148)) {
+ break;
+ }
+ $149 = $10;
+ $150 = $9;
+ $151 = $6;
+ $152 = Math_imul($150, $151)|0;
+ $153 = (($149) + ($152<<2)|0);
+ $154 = +HEAPF32[$153>>2];
+ $155 = $10;
+ $156 = $14;
+ $157 = (($156) - 1)|0;
+ $158 = $6;
+ $159 = Math_imul($157, $158)|0;
+ $160 = (($155) + ($159<<2)|0);
+ $161 = +HEAPF32[$160>>2];
+ $162 = $154 * $161;
+ $163 = $162 >= 0.0;
+ if (!($163)) {
+ break;
+ }
+ $164 = $14;
+ $165 = (($164) + -1)|0;
+ $14 = $165;
+ }
+ while(1) {
+ $166 = $15;
+ $167 = $5;
+ $168 = ($166|0)<($167|0);
+ if (!($168)) {
+ break;
+ }
+ $169 = $10;
+ $170 = $9;
+ $171 = $6;
+ $172 = Math_imul($170, $171)|0;
+ $173 = (($169) + ($172<<2)|0);
+ $174 = +HEAPF32[$173>>2];
+ $175 = $10;
+ $176 = $15;
+ $177 = $6;
+ $178 = Math_imul($176, $177)|0;
+ $179 = (($175) + ($178<<2)|0);
+ $180 = +HEAPF32[$179>>2];
+ $181 = $174 * $180;
+ $182 = $181 >= 0.0;
+ if (!($182)) {
+ break;
+ }
+ $183 = $10;
+ $184 = $15;
+ $185 = $6;
+ $186 = Math_imul($184, $185)|0;
+ $187 = (($183) + ($186<<2)|0);
+ $188 = +HEAPF32[$187>>2];
+ $189 = $188;
+ $190 = (+Math_abs((+$189)));
+ $191 = $190;
+ $192 = $16;
+ $193 = $191 > $192;
+ if ($193) {
+ $194 = $10;
+ $195 = $15;
+ $196 = $6;
+ $197 = Math_imul($195, $196)|0;
+ $198 = (($194) + ($197<<2)|0);
+ $199 = +HEAPF32[$198>>2];
+ $200 = $199;
+ $201 = (+Math_abs((+$200)));
+ $202 = $201;
+ $16 = $202;
+ $203 = $15;
+ $18 = $203;
+ }
+ $204 = $15;
+ $205 = (($204) + 1)|0;
+ $15 = $205;
+ }
+ $206 = $14;
+ $207 = ($206|0)==(0);
+ if ($207) {
+ $208 = $10;
+ $209 = $9;
+ $210 = $6;
+ $211 = Math_imul($209, $210)|0;
+ $212 = (($208) + ($211<<2)|0);
+ $213 = +HEAPF32[$212>>2];
+ $214 = $10;
+ $215 = +HEAPF32[$214>>2];
+ $216 = $213 * $215;
+ $217 = $216 >= 0.0;
+ $219 = $217;
+ } else {
+ $219 = 0;
+ }
+ $218 = $219&1;
+ $17 = $218;
+ $220 = $16;
+ $221 = $220 - 1.0;
+ $222 = $16;
+ $223 = $16;
+ $224 = $222 * $223;
+ $225 = $221 / $224;
+ $11 = $225;
+ $226 = $10;
+ $227 = $9;
+ $228 = $6;
+ $229 = Math_imul($227, $228)|0;
+ $230 = (($226) + ($229<<2)|0);
+ $231 = +HEAPF32[$230>>2];
+ $232 = $231 > 0.0;
+ if ($232) {
+ $233 = $11;
+ $234 = - $233;
+ $11 = $234;
+ }
+ $235 = $14;
+ $9 = $235;
+ while(1) {
+ $236 = $9;
+ $237 = $15;
+ $238 = ($236|0)<($237|0);
+ if (!($238)) {
+ break;
+ }
+ $239 = $10;
+ $240 = $9;
+ $241 = $6;
+ $242 = Math_imul($240, $241)|0;
+ $243 = (($239) + ($242<<2)|0);
+ $244 = +HEAPF32[$243>>2];
+ $245 = $11;
+ $246 = $10;
+ $247 = $9;
+ $248 = $6;
+ $249 = Math_imul($247, $248)|0;
+ $250 = (($246) + ($249<<2)|0);
+ $251 = +HEAPF32[$250>>2];
+ $252 = $245 * $251;
+ $253 = $10;
+ $254 = $9;
+ $255 = $6;
+ $256 = Math_imul($254, $255)|0;
+ $257 = (($253) + ($256<<2)|0);
+ $258 = +HEAPF32[$257>>2];
+ $259 = $252 * $258;
+ $260 = $244 + $259;
+ $261 = $10;
+ $262 = $9;
+ $263 = $6;
+ $264 = Math_imul($262, $263)|0;
+ $265 = (($261) + ($264<<2)|0);
+ HEAPF32[$265>>2] = $260;
+ $266 = $9;
+ $267 = (($266) + 1)|0;
+ $9 = $267;
+ }
+ $268 = $17;
+ $269 = ($268|0)!=(0);
+ $270 = $18;
+ $271 = ($270|0)>=(2);
+ $or$cond8 = $269 & $271;
+ L54: do {
+ if ($or$cond8) {
+ $272 = $12;
+ $273 = $10;
+ $274 = +HEAPF32[$273>>2];
+ $275 = $272 - $274;
+ $20 = $275;
+ $276 = $20;
+ $277 = $18;
+ $278 = (+($277|0));
+ $279 = $276 / $278;
+ $19 = $279;
+ $280 = $13;
+ $9 = $280;
+ while(1) {
+ $281 = $9;
+ $282 = $18;
+ $283 = ($281|0)<($282|0);
+ if (!($283)) {
+ break L54;
+ }
+ $284 = $19;
+ $285 = $20;
+ $286 = $285 - $284;
+ $20 = $286;
+ $287 = $20;
+ $288 = $10;
+ $289 = $9;
+ $290 = $6;
+ $291 = Math_imul($289, $290)|0;
+ $292 = (($288) + ($291<<2)|0);
+ $293 = +HEAPF32[$292>>2];
+ $294 = $293 + $287;
+ HEAPF32[$292>>2] = $294;
+ $295 = $10;
+ $296 = $9;
+ $297 = $6;
+ $298 = Math_imul($296, $297)|0;
+ $299 = (($295) + ($298<<2)|0);
+ $300 = +HEAPF32[$299>>2];
+ $301 = 1.0 < $300;
+ if ($301) {
+ $309 = 1.0;
+ } else {
+ $302 = $10;
+ $303 = $9;
+ $304 = $6;
+ $305 = Math_imul($303, $304)|0;
+ $306 = (($302) + ($305<<2)|0);
+ $307 = +HEAPF32[$306>>2];
+ $309 = $307;
+ }
+ $308 = -1.0 > $309;
+ if ($308) {
+ $328 = -1.0;
+ } else {
+ $310 = $10;
+ $311 = $9;
+ $312 = $6;
+ $313 = Math_imul($311, $312)|0;
+ $314 = (($310) + ($313<<2)|0);
+ $315 = +HEAPF32[$314>>2];
+ $316 = 1.0 < $315;
+ if ($316) {
+ $328 = 1.0;
+ } else {
+ $317 = $10;
+ $318 = $9;
+ $319 = $6;
+ $320 = Math_imul($318, $319)|0;
+ $321 = (($317) + ($320<<2)|0);
+ $322 = +HEAPF32[$321>>2];
+ $328 = $322;
+ }
+ }
+ $323 = $10;
+ $324 = $9;
+ $325 = $6;
+ $326 = Math_imul($324, $325)|0;
+ $327 = (($323) + ($326<<2)|0);
+ HEAPF32[$327>>2] = $328;
+ $329 = $9;
+ $330 = (($329) + 1)|0;
+ $9 = $330;
+ }
+ }
+ } while(0);
+ $331 = $15;
+ $13 = $331;
+ $332 = $13;
+ $333 = $5;
+ $334 = ($332|0)==($333|0);
+ if ($334) {
+ break;
+ }
+ }
+ if ((label|0) == 23) {
+ label = 0;
+ $11 = 0.0;
+ }
+ $335 = $11;
+ $336 = $7;
+ $337 = $8;
+ $338 = (($336) + ($337<<2)|0);
+ HEAPF32[$338>>2] = $335;
+ $339 = $8;
+ $340 = (($339) + 1)|0;
+ $8 = $340;
+ }
+ STACKTOP = sp;return;
+}
+function _encode_size($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $3;
+ $6 = ($5|0)<(252);
+ $7 = $3;
+ if ($6) {
+ $8 = $7&255;
+ $9 = $4;
+ HEAP8[$9>>0] = $8;
+ $2 = 1;
+ $23 = $2;
+ STACKTOP = sp;return ($23|0);
+ } else {
+ $10 = $7 & 3;
+ $11 = (252 + ($10))|0;
+ $12 = $11&255;
+ $13 = $4;
+ HEAP8[$13>>0] = $12;
+ $14 = $3;
+ $15 = $4;
+ $16 = HEAP8[$15>>0]|0;
+ $17 = $16&255;
+ $18 = (($14) - ($17))|0;
+ $19 = $18 >> 2;
+ $20 = $19&255;
+ $21 = $4;
+ $22 = ((($21)) + 1|0);
+ HEAP8[$22>>0] = $20;
+ $2 = 2;
+ $23 = $2;
+ STACKTOP = sp;return ($23|0);
+ }
+ return (0)|0;
+}
+function _opus_packet_get_samples_per_frame($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$sink = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = $2;
+ $6 = HEAP8[$5>>0]|0;
+ $7 = $6&255;
+ $8 = $7 & 128;
+ $9 = ($8|0)!=(0);
+ $10 = $2;
+ $11 = HEAP8[$10>>0]|0;
+ $12 = $11&255;
+ if ($9) {
+ $13 = $12 >> 3;
+ $14 = $13 & 3;
+ $4 = $14;
+ $15 = $3;
+ $16 = $4;
+ $17 = $15 << $16;
+ $18 = (($17|0) / 400)&-1;
+ $4 = $18;
+ $38 = $4;
+ STACKTOP = sp;return ($38|0);
+ }
+ $19 = $12 & 96;
+ $20 = ($19|0)==(96);
+ $21 = $2;
+ $22 = HEAP8[$21>>0]|0;
+ $23 = $22&255;
+ if ($20) {
+ $24 = $23 & 8;
+ $25 = ($24|0)!=(0);
+ $26 = $3;
+ $$sink = $25 ? 50 : 100;
+ $27 = (($26|0) / ($$sink|0))&-1;
+ $4 = $27;
+ $38 = $4;
+ STACKTOP = sp;return ($38|0);
+ }
+ $28 = $23 >> 3;
+ $29 = $28 & 3;
+ $4 = $29;
+ $30 = $4;
+ $31 = ($30|0)==(3);
+ $32 = $3;
+ if ($31) {
+ $33 = ($32*60)|0;
+ $34 = (($33|0) / 1000)&-1;
+ $4 = $34;
+ $38 = $4;
+ STACKTOP = sp;return ($38|0);
+ } else {
+ $35 = $4;
+ $36 = $32 << $35;
+ $37 = (($36|0) / 100)&-1;
+ $4 = $37;
+ $38 = $4;
+ STACKTOP = sp;return ($38|0);
+ }
+ return (0)|0;
+}
+function _opus_packet_parse_impl($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0;
+ var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0;
+ var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0;
+ var $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $25 = 0;
+ $29 = $9;
+ $26 = $29;
+ $30 = $14;
+ $31 = ($30|0)==(0|0);
+ if ($31) {
+ $8 = -1;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ $32 = $9;
+ $33 = (_opus_packet_get_samples_per_frame($32,48000)|0);
+ $23 = $33;
+ $20 = 0;
+ $34 = $9;
+ $35 = ((($34)) + 1|0);
+ $9 = $35;
+ $36 = HEAP8[$34>>0]|0;
+ $22 = $36;
+ $37 = $10;
+ $38 = (($37) + -1)|0;
+ $10 = $38;
+ $39 = $10;
+ $24 = $39;
+ $40 = $22;
+ $41 = $40&255;
+ $42 = $41 & 3;
+ L5: do {
+ switch ($42|0) {
+ case 0: {
+ $19 = 1;
+ break;
+ }
+ case 1: {
+ $19 = 2;
+ $20 = 1;
+ $43 = $11;
+ $44 = ($43|0)!=(0);
+ if (!($44)) {
+ $45 = $10;
+ $46 = $45 & 1;
+ $47 = ($46|0)!=(0);
+ if (!($47)) {
+ $48 = $10;
+ $49 = (($48|0) / 2)&-1;
+ $24 = $49;
+ $50 = $24;
+ $51 = $50&65535;
+ $52 = $14;
+ HEAP16[$52>>1] = $51;
+ break L5;
+ }
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ break;
+ }
+ case 2: {
+ $19 = 2;
+ $53 = $9;
+ $54 = $10;
+ $55 = $14;
+ $56 = (_parse_size($53,$54,$55)|0);
+ $18 = $56;
+ $57 = $18;
+ $58 = $10;
+ $59 = (($58) - ($57))|0;
+ $10 = $59;
+ $60 = $14;
+ $61 = HEAP16[$60>>1]|0;
+ $62 = $61 << 16 >> 16;
+ $63 = ($62|0)<(0);
+ if (!($63)) {
+ $64 = $14;
+ $65 = HEAP16[$64>>1]|0;
+ $66 = $65 << 16 >> 16;
+ $67 = $10;
+ $68 = ($66|0)>($67|0);
+ if (!($68)) {
+ $69 = $18;
+ $70 = $9;
+ $71 = (($70) + ($69)|0);
+ $9 = $71;
+ $72 = $10;
+ $73 = $14;
+ $74 = HEAP16[$73>>1]|0;
+ $75 = $74 << 16 >> 16;
+ $76 = (($72) - ($75))|0;
+ $24 = $76;
+ break L5;
+ }
+ }
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ break;
+ }
+ default: {
+ $77 = $10;
+ $78 = ($77|0)<(1);
+ if ($78) {
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ $79 = $9;
+ $80 = ((($79)) + 1|0);
+ $9 = $80;
+ $81 = HEAP8[$79>>0]|0;
+ $21 = $81;
+ $82 = $21;
+ $83 = $82&255;
+ $84 = $83 & 63;
+ $19 = $84;
+ $85 = $19;
+ $86 = ($85|0)<=(0);
+ if (!($86)) {
+ $87 = $23;
+ $88 = $19;
+ $89 = Math_imul($87, $88)|0;
+ $90 = ($89|0)>(5760);
+ if (!($90)) {
+ $91 = $10;
+ $92 = (($91) + -1)|0;
+ $10 = $92;
+ $93 = $21;
+ $94 = $93&255;
+ $95 = $94 & 64;
+ $96 = ($95|0)!=(0);
+ L14: do {
+ if ($96) {
+ while(1) {
+ $97 = $10;
+ $98 = ($97|0)<=(0);
+ if ($98) {
+ break;
+ }
+ $99 = $9;
+ $100 = ((($99)) + 1|0);
+ $9 = $100;
+ $101 = HEAP8[$99>>0]|0;
+ $102 = $101&255;
+ $27 = $102;
+ $103 = $10;
+ $104 = (($103) + -1)|0;
+ $10 = $104;
+ $105 = $27;
+ $106 = ($105|0)==(255);
+ $107 = $27;
+ $108 = $106 ? 254 : $107;
+ $28 = $108;
+ $109 = $28;
+ $110 = $10;
+ $111 = (($110) - ($109))|0;
+ $10 = $111;
+ $112 = $28;
+ $113 = $25;
+ $114 = (($113) + ($112))|0;
+ $25 = $114;
+ $115 = $27;
+ $116 = ($115|0)==(255);
+ if (!($116)) {
+ break L14;
+ }
+ }
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ } while(0);
+ $117 = $10;
+ $118 = ($117|0)<(0);
+ if ($118) {
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ $119 = $21;
+ $120 = $119&255;
+ $121 = $120 & 128;
+ $122 = ($121|0)!=(0);
+ $123 = $122 ^ 1;
+ $124 = $123&1;
+ $20 = $124;
+ $125 = $20;
+ $126 = ($125|0)!=(0);
+ if ($126) {
+ $170 = $11;
+ $171 = ($170|0)!=(0);
+ if ($171) {
+ break L5;
+ }
+ $172 = $10;
+ $173 = $19;
+ $174 = (($172|0) / ($173|0))&-1;
+ $24 = $174;
+ $175 = $24;
+ $176 = $19;
+ $177 = Math_imul($175, $176)|0;
+ $178 = $10;
+ $179 = ($177|0)!=($178|0);
+ if ($179) {
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ $17 = 0;
+ while(1) {
+ $180 = $17;
+ $181 = $19;
+ $182 = (($181) - 1)|0;
+ $183 = ($180|0)<($182|0);
+ if (!($183)) {
+ break L5;
+ }
+ $184 = $24;
+ $185 = $184&65535;
+ $186 = $14;
+ $187 = $17;
+ $188 = (($186) + ($187<<1)|0);
+ HEAP16[$188>>1] = $185;
+ $189 = $17;
+ $190 = (($189) + 1)|0;
+ $17 = $190;
+ }
+ }
+ $127 = $10;
+ $24 = $127;
+ $17 = 0;
+ while(1) {
+ $128 = $17;
+ $129 = $19;
+ $130 = (($129) - 1)|0;
+ $131 = ($128|0)<($130|0);
+ if (!($131)) {
+ break;
+ }
+ $132 = $9;
+ $133 = $10;
+ $134 = $14;
+ $135 = $17;
+ $136 = (($134) + ($135<<1)|0);
+ $137 = (_parse_size($132,$133,$136)|0);
+ $18 = $137;
+ $138 = $18;
+ $139 = $10;
+ $140 = (($139) - ($138))|0;
+ $10 = $140;
+ $141 = $14;
+ $142 = $17;
+ $143 = (($141) + ($142<<1)|0);
+ $144 = HEAP16[$143>>1]|0;
+ $145 = $144 << 16 >> 16;
+ $146 = ($145|0)<(0);
+ if ($146) {
+ label = 29;
+ break;
+ }
+ $147 = $14;
+ $148 = $17;
+ $149 = (($147) + ($148<<1)|0);
+ $150 = HEAP16[$149>>1]|0;
+ $151 = $150 << 16 >> 16;
+ $152 = $10;
+ $153 = ($151|0)>($152|0);
+ if ($153) {
+ label = 29;
+ break;
+ }
+ $154 = $18;
+ $155 = $9;
+ $156 = (($155) + ($154)|0);
+ $9 = $156;
+ $157 = $18;
+ $158 = $14;
+ $159 = $17;
+ $160 = (($158) + ($159<<1)|0);
+ $161 = HEAP16[$160>>1]|0;
+ $162 = $161 << 16 >> 16;
+ $163 = (($157) + ($162))|0;
+ $164 = $24;
+ $165 = (($164) - ($163))|0;
+ $24 = $165;
+ $166 = $17;
+ $167 = (($166) + 1)|0;
+ $17 = $167;
+ }
+ if ((label|0) == 29) {
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ $168 = $24;
+ $169 = ($168|0)<(0);
+ if (!($169)) {
+ break L5;
+ }
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ }
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ }
+ } while(0);
+ $191 = $11;
+ $192 = ($191|0)!=(0);
+ L63: do {
+ if ($192) {
+ $193 = $9;
+ $194 = $10;
+ $195 = $14;
+ $196 = $19;
+ $197 = (($195) + ($196<<1)|0);
+ $198 = ((($197)) + -2|0);
+ $199 = (_parse_size($193,$194,$198)|0);
+ $18 = $199;
+ $200 = $18;
+ $201 = $10;
+ $202 = (($201) - ($200))|0;
+ $10 = $202;
+ $203 = $14;
+ $204 = $19;
+ $205 = (($204) - 1)|0;
+ $206 = (($203) + ($205<<1)|0);
+ $207 = HEAP16[$206>>1]|0;
+ $208 = $207 << 16 >> 16;
+ $209 = ($208|0)<(0);
+ if (!($209)) {
+ $210 = $14;
+ $211 = $19;
+ $212 = (($211) - 1)|0;
+ $213 = (($210) + ($212<<1)|0);
+ $214 = HEAP16[$213>>1]|0;
+ $215 = $214 << 16 >> 16;
+ $216 = $10;
+ $217 = ($215|0)>($216|0);
+ if (!($217)) {
+ $218 = $18;
+ $219 = $9;
+ $220 = (($219) + ($218)|0);
+ $9 = $220;
+ $221 = $20;
+ $222 = ($221|0)!=(0);
+ if (!($222)) {
+ $247 = $18;
+ $248 = $14;
+ $249 = $19;
+ $250 = (($249) - 1)|0;
+ $251 = (($248) + ($250<<1)|0);
+ $252 = HEAP16[$251>>1]|0;
+ $253 = $252 << 16 >> 16;
+ $254 = (($247) + ($253))|0;
+ $255 = $24;
+ $256 = ($254|0)>($255|0);
+ if (!($256)) {
+ break;
+ }
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ $223 = $14;
+ $224 = $19;
+ $225 = (($224) - 1)|0;
+ $226 = (($223) + ($225<<1)|0);
+ $227 = HEAP16[$226>>1]|0;
+ $228 = $227 << 16 >> 16;
+ $229 = $19;
+ $230 = Math_imul($228, $229)|0;
+ $231 = $10;
+ $232 = ($230|0)>($231|0);
+ if ($232) {
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ $17 = 0;
+ while(1) {
+ $233 = $17;
+ $234 = $19;
+ $235 = (($234) - 1)|0;
+ $236 = ($233|0)<($235|0);
+ if (!($236)) {
+ break L63;
+ }
+ $237 = $14;
+ $238 = $19;
+ $239 = (($238) - 1)|0;
+ $240 = (($237) + ($239<<1)|0);
+ $241 = HEAP16[$240>>1]|0;
+ $242 = $14;
+ $243 = $17;
+ $244 = (($242) + ($243<<1)|0);
+ HEAP16[$244>>1] = $241;
+ $245 = $17;
+ $246 = (($245) + 1)|0;
+ $17 = $246;
+ }
+ }
+ }
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ } else {
+ $257 = $24;
+ $258 = ($257|0)>(1275);
+ if (!($258)) {
+ $259 = $24;
+ $260 = $259&65535;
+ $261 = $14;
+ $262 = $19;
+ $263 = (($262) - 1)|0;
+ $264 = (($261) + ($263<<1)|0);
+ HEAP16[$264>>1] = $260;
+ break;
+ }
+ $8 = -4;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+ }
+ } while(0);
+ $265 = $15;
+ $266 = ($265|0)!=(0|0);
+ if ($266) {
+ $267 = $9;
+ $268 = $26;
+ $269 = $267;
+ $270 = $268;
+ $271 = (($269) - ($270))|0;
+ $272 = $15;
+ HEAP32[$272>>2] = $271;
+ }
+ $17 = 0;
+ while(1) {
+ $273 = $17;
+ $274 = $19;
+ $275 = ($273|0)<($274|0);
+ if (!($275)) {
+ break;
+ }
+ $276 = $13;
+ $277 = ($276|0)!=(0|0);
+ if ($277) {
+ $278 = $9;
+ $279 = $13;
+ $280 = $17;
+ $281 = (($279) + ($280<<2)|0);
+ HEAP32[$281>>2] = $278;
+ }
+ $282 = $14;
+ $283 = $17;
+ $284 = (($282) + ($283<<1)|0);
+ $285 = HEAP16[$284>>1]|0;
+ $286 = $285 << 16 >> 16;
+ $287 = $9;
+ $288 = (($287) + ($286)|0);
+ $9 = $288;
+ $289 = $17;
+ $290 = (($289) + 1)|0;
+ $17 = $290;
+ }
+ $291 = $16;
+ $292 = ($291|0)!=(0|0);
+ if ($292) {
+ $293 = $25;
+ $294 = $9;
+ $295 = $26;
+ $296 = $294;
+ $297 = $295;
+ $298 = (($296) - ($297))|0;
+ $299 = (($293) + ($298))|0;
+ $300 = $16;
+ HEAP32[$300>>2] = $299;
+ }
+ $301 = $12;
+ $302 = ($301|0)!=(0|0);
+ if ($302) {
+ $303 = $22;
+ $304 = $12;
+ HEAP8[$304>>0] = $303;
+ }
+ $305 = $19;
+ $8 = $305;
+ $306 = $8;
+ STACKTOP = sp;return ($306|0);
+}
+function _parse_size($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $5;
+ $8 = ($7|0)<(1);
+ do {
+ if ($8) {
+ $9 = $6;
+ HEAP16[$9>>1] = -1;
+ $3 = -1;
+ } else {
+ $10 = $4;
+ $11 = HEAP8[$10>>0]|0;
+ $12 = $11&255;
+ $13 = ($12|0)<(252);
+ if ($13) {
+ $14 = $4;
+ $15 = HEAP8[$14>>0]|0;
+ $16 = $15&255;
+ $17 = $6;
+ HEAP16[$17>>1] = $16;
+ $3 = 1;
+ break;
+ }
+ $18 = $5;
+ $19 = ($18|0)<(2);
+ if ($19) {
+ $20 = $6;
+ HEAP16[$20>>1] = -1;
+ $3 = -1;
+ break;
+ } else {
+ $21 = $4;
+ $22 = ((($21)) + 1|0);
+ $23 = HEAP8[$22>>0]|0;
+ $24 = $23&255;
+ $25 = $24<<2;
+ $26 = $4;
+ $27 = HEAP8[$26>>0]|0;
+ $28 = $27&255;
+ $29 = (($25) + ($28))|0;
+ $30 = $29&65535;
+ $31 = $6;
+ HEAP16[$31>>1] = $30;
+ $3 = 2;
+ break;
+ }
+ }
+ } while(0);
+ $32 = $3;
+ STACKTOP = sp;return ($32|0);
+}
+function _hysteresis_decision($0,$1,$2,$3,$4) {
+ $0 = +$0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0.0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0.0, $50 = 0.0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = 0;
+ while(1) {
+ $11 = $10;
+ $12 = $8;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $5;
+ $15 = $6;
+ $16 = $10;
+ $17 = (($15) + ($16<<2)|0);
+ $18 = +HEAPF32[$17>>2];
+ $19 = $14 < $18;
+ if ($19) {
+ break;
+ }
+ $20 = $10;
+ $21 = (($20) + 1)|0;
+ $10 = $21;
+ }
+ $22 = $10;
+ $23 = $9;
+ $24 = ($22|0)>($23|0);
+ if ($24) {
+ $25 = $5;
+ $26 = $6;
+ $27 = $9;
+ $28 = (($26) + ($27<<2)|0);
+ $29 = +HEAPF32[$28>>2];
+ $30 = $7;
+ $31 = $9;
+ $32 = (($30) + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $29 + $33;
+ $35 = $25 < $34;
+ if ($35) {
+ $36 = $9;
+ $10 = $36;
+ }
+ }
+ $37 = $10;
+ $38 = $9;
+ $39 = ($37|0)<($38|0);
+ if (!($39)) {
+ $54 = $10;
+ STACKTOP = sp;return ($54|0);
+ }
+ $40 = $5;
+ $41 = $6;
+ $42 = $9;
+ $43 = (($42) - 1)|0;
+ $44 = (($41) + ($43<<2)|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $7;
+ $47 = $9;
+ $48 = (($47) - 1)|0;
+ $49 = (($46) + ($48<<2)|0);
+ $50 = +HEAPF32[$49>>2];
+ $51 = $45 - $50;
+ $52 = $40 > $51;
+ if (!($52)) {
+ $54 = $10;
+ STACKTOP = sp;return ($54|0);
+ }
+ $53 = $9;
+ $10 = $53;
+ $54 = $10;
+ STACKTOP = sp;return ($54|0);
+}
+function _celt_lcg_rand($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = Math_imul(1664525, $2)|0;
+ $4 = (($3) + 1013904223)|0;
+ STACKTOP = sp;return ($4|0);
+}
+function _compute_band_energies($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0.0;
+ var $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0;
+ var $87 = 0, $88 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $17 = $6;
+ $18 = ((($17)) + 32|0);
+ $19 = HEAP32[$18>>2]|0;
+ $15 = $19;
+ $20 = $6;
+ $21 = ((($20)) + 44|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = $11;
+ $24 = $22 << $23;
+ $14 = $24;
+ $13 = 0;
+ while(1) {
+ $12 = 0;
+ while(1) {
+ $25 = $12;
+ $26 = $9;
+ $27 = ($25|0)<($26|0);
+ if (!($27)) {
+ break;
+ }
+ $28 = $7;
+ $29 = $13;
+ $30 = $14;
+ $31 = Math_imul($29, $30)|0;
+ $32 = $15;
+ $33 = $12;
+ $34 = (($32) + ($33<<1)|0);
+ $35 = HEAP16[$34>>1]|0;
+ $36 = $35 << 16 >> 16;
+ $37 = $11;
+ $38 = $36 << $37;
+ $39 = (($31) + ($38))|0;
+ $40 = (($28) + ($39<<2)|0);
+ $41 = $7;
+ $42 = $13;
+ $43 = $14;
+ $44 = Math_imul($42, $43)|0;
+ $45 = $15;
+ $46 = $12;
+ $47 = (($45) + ($46<<1)|0);
+ $48 = HEAP16[$47>>1]|0;
+ $49 = $48 << 16 >> 16;
+ $50 = $11;
+ $51 = $49 << $50;
+ $52 = (($44) + ($51))|0;
+ $53 = (($41) + ($52<<2)|0);
+ $54 = $15;
+ $55 = $12;
+ $56 = (($55) + 1)|0;
+ $57 = (($54) + ($56<<1)|0);
+ $58 = HEAP16[$57>>1]|0;
+ $59 = $58 << 16 >> 16;
+ $60 = $15;
+ $61 = $12;
+ $62 = (($60) + ($61<<1)|0);
+ $63 = HEAP16[$62>>1]|0;
+ $64 = $63 << 16 >> 16;
+ $65 = (($59) - ($64))|0;
+ $66 = $11;
+ $67 = $65 << $66;
+ $68 = (+_celt_inner_prod_c_351($40,$53,$67));
+ $69 = 1.0000000272452012E-27 + $68;
+ $16 = $69;
+ $70 = $16;
+ $71 = $70;
+ $72 = (+Math_sqrt((+$71)));
+ $73 = $72;
+ $74 = $8;
+ $75 = $12;
+ $76 = $13;
+ $77 = $6;
+ $78 = ((($77)) + 8|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = Math_imul($76, $79)|0;
+ $81 = (($75) + ($80))|0;
+ $82 = (($74) + ($81<<2)|0);
+ HEAPF32[$82>>2] = $73;
+ $83 = $12;
+ $84 = (($83) + 1)|0;
+ $12 = $84;
+ }
+ $85 = $13;
+ $86 = (($85) + 1)|0;
+ $13 = $86;
+ $87 = $10;
+ $88 = ($86|0)<($87|0);
+ if (!($88)) {
+ break;
+ }
+ }
+ STACKTOP = sp;return;
+}
+function _celt_inner_prod_c_351($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = 0.0;
+ $6 = 0;
+ while(1) {
+ $8 = $6;
+ $9 = $5;
+ $10 = ($8|0)<($9|0);
+ $11 = $7;
+ if (!($10)) {
+ break;
+ }
+ $12 = $3;
+ $13 = $6;
+ $14 = (($12) + ($13<<2)|0);
+ $15 = +HEAPF32[$14>>2];
+ $16 = $4;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ $19 = +HEAPF32[$18>>2];
+ $20 = $15 * $19;
+ $21 = $11 + $20;
+ $7 = $21;
+ $22 = $6;
+ $23 = (($22) + 1)|0;
+ $6 = $23;
+ }
+ STACKTOP = sp;return (+$11);
+}
+function _normalise_bands($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0.0, $68 = 0.0, $69 = 0.0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $20 = $7;
+ $21 = ((($20)) + 32|0);
+ $22 = HEAP32[$21>>2]|0;
+ $17 = $22;
+ $23 = $13;
+ $24 = $7;
+ $25 = ((($24)) + 44|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = Math_imul($23, $26)|0;
+ $16 = $27;
+ $15 = 0;
+ while(1) {
+ $14 = 0;
+ while(1) {
+ $28 = $14;
+ $29 = $11;
+ $30 = ($28|0)<($29|0);
+ if (!($30)) {
+ break;
+ }
+ $31 = $10;
+ $32 = $14;
+ $33 = $15;
+ $34 = $7;
+ $35 = ((($34)) + 8|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = Math_imul($33, $36)|0;
+ $38 = (($32) + ($37))|0;
+ $39 = (($31) + ($38<<2)|0);
+ $40 = +HEAPF32[$39>>2];
+ $41 = 1.0000000272452012E-27 + $40;
+ $42 = 1.0 / $41;
+ $19 = $42;
+ $43 = $13;
+ $44 = $17;
+ $45 = $14;
+ $46 = (($44) + ($45<<1)|0);
+ $47 = HEAP16[$46>>1]|0;
+ $48 = $47 << 16 >> 16;
+ $49 = Math_imul($43, $48)|0;
+ $18 = $49;
+ while(1) {
+ $50 = $18;
+ $51 = $13;
+ $52 = $17;
+ $53 = $14;
+ $54 = (($53) + 1)|0;
+ $55 = (($52) + ($54<<1)|0);
+ $56 = HEAP16[$55>>1]|0;
+ $57 = $56 << 16 >> 16;
+ $58 = Math_imul($51, $57)|0;
+ $59 = ($50|0)<($58|0);
+ if (!($59)) {
+ break;
+ }
+ $60 = $8;
+ $61 = $18;
+ $62 = $15;
+ $63 = $16;
+ $64 = Math_imul($62, $63)|0;
+ $65 = (($61) + ($64))|0;
+ $66 = (($60) + ($65<<2)|0);
+ $67 = +HEAPF32[$66>>2];
+ $68 = $19;
+ $69 = $67 * $68;
+ $70 = $9;
+ $71 = $18;
+ $72 = $15;
+ $73 = $16;
+ $74 = Math_imul($72, $73)|0;
+ $75 = (($71) + ($74))|0;
+ $76 = (($70) + ($75<<2)|0);
+ HEAPF32[$76>>2] = $69;
+ $77 = $18;
+ $78 = (($77) + 1)|0;
+ $18 = $78;
+ }
+ $79 = $14;
+ $80 = (($79) + 1)|0;
+ $14 = $80;
+ }
+ $81 = $15;
+ $82 = (($81) + 1)|0;
+ $15 = $82;
+ $83 = $12;
+ $84 = ($82|0)<($83|0);
+ if (!($84)) {
+ break;
+ }
+ }
+ STACKTOP = sp;return;
+}
+function _denormalise_bands($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0.0, $116 = 0.0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0;
+ var $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
+ var $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0;
+ var $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
+ var $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $28 = $9;
+ $29 = ((($28)) + 32|0);
+ $30 = HEAP32[$29>>2]|0;
+ $23 = $30;
+ $31 = $15;
+ $32 = $9;
+ $33 = ((($32)) + 44|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = Math_imul($31, $34)|0;
+ $19 = $35;
+ $36 = $15;
+ $37 = $23;
+ $38 = $14;
+ $39 = (($37) + ($38<<1)|0);
+ $40 = HEAP16[$39>>1]|0;
+ $41 = $40 << 16 >> 16;
+ $42 = Math_imul($36, $41)|0;
+ $20 = $42;
+ $43 = $16;
+ $44 = ($43|0)!=(1);
+ if ($44) {
+ $45 = $20;
+ $46 = $19;
+ $47 = $16;
+ $48 = (($46|0) / ($47|0))&-1;
+ $49 = ($45|0)<($48|0);
+ if ($49) {
+ $50 = $20;
+ $54 = $50;
+ } else {
+ $51 = $19;
+ $52 = $16;
+ $53 = (($51|0) / ($52|0))&-1;
+ $54 = $53;
+ }
+ $20 = $54;
+ }
+ $55 = $17;
+ $56 = ($55|0)!=(0);
+ if ($56) {
+ $20 = 0;
+ $14 = 0;
+ $13 = 0;
+ }
+ $57 = $11;
+ $21 = $57;
+ $58 = $10;
+ $59 = $15;
+ $60 = $23;
+ $61 = $13;
+ $62 = (($60) + ($61<<1)|0);
+ $63 = HEAP16[$62>>1]|0;
+ $64 = $63 << 16 >> 16;
+ $65 = Math_imul($59, $64)|0;
+ $66 = (($58) + ($65<<2)|0);
+ $22 = $66;
+ $18 = 0;
+ while(1) {
+ $67 = $18;
+ $68 = $15;
+ $69 = $23;
+ $70 = $13;
+ $71 = (($69) + ($70<<1)|0);
+ $72 = HEAP16[$71>>1]|0;
+ $73 = $72 << 16 >> 16;
+ $74 = Math_imul($68, $73)|0;
+ $75 = ($67|0)<($74|0);
+ if (!($75)) {
+ break;
+ }
+ $76 = $21;
+ $77 = ((($76)) + 4|0);
+ $21 = $77;
+ HEAPF32[$76>>2] = 0.0;
+ $78 = $18;
+ $79 = (($78) + 1)|0;
+ $18 = $79;
+ }
+ $80 = $13;
+ $18 = $80;
+ while(1) {
+ $81 = $18;
+ $82 = $14;
+ $83 = ($81|0)<($82|0);
+ if (!($83)) {
+ break;
+ }
+ $84 = $15;
+ $85 = $23;
+ $86 = $18;
+ $87 = (($85) + ($86<<1)|0);
+ $88 = HEAP16[$87>>1]|0;
+ $89 = $88 << 16 >> 16;
+ $90 = Math_imul($84, $89)|0;
+ $24 = $90;
+ $91 = $15;
+ $92 = $23;
+ $93 = $18;
+ $94 = (($93) + 1)|0;
+ $95 = (($92) + ($94<<1)|0);
+ $96 = HEAP16[$95>>1]|0;
+ $97 = $96 << 16 >> 16;
+ $98 = Math_imul($91, $97)|0;
+ $25 = $98;
+ $99 = $12;
+ $100 = $18;
+ $101 = (($99) + ($100<<2)|0);
+ $102 = +HEAPF32[$101>>2];
+ $103 = $18;
+ $104 = (16504 + ($103<<2)|0);
+ $105 = +HEAPF32[$104>>2];
+ $106 = $102 + $105;
+ $27 = $106;
+ $107 = $27;
+ $108 = $107;
+ $109 = 0.69314718055994529 * $108;
+ $110 = (+Math_exp((+$109)));
+ $111 = $110;
+ $26 = $111;
+ while(1) {
+ $112 = $22;
+ $113 = ((($112)) + 4|0);
+ $22 = $113;
+ $114 = +HEAPF32[$112>>2];
+ $115 = $26;
+ $116 = $114 * $115;
+ $117 = $21;
+ $118 = ((($117)) + 4|0);
+ $21 = $118;
+ HEAPF32[$117>>2] = $116;
+ $119 = $24;
+ $120 = (($119) + 1)|0;
+ $24 = $120;
+ $121 = $25;
+ $122 = ($120|0)<($121|0);
+ if (!($122)) {
+ break;
+ }
+ }
+ $123 = $18;
+ $124 = (($123) + 1)|0;
+ $18 = $124;
+ }
+ $125 = $11;
+ $126 = $20;
+ $127 = (($125) + ($126<<2)|0);
+ $128 = $19;
+ $129 = $20;
+ $130 = (($128) - ($129))|0;
+ $131 = $130<<2;
+ _memset(($127|0),0,($131|0))|0;
+ STACKTOP = sp;return;
+}
+function _anti_collapse($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ var $100 = 0.0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0;
+ var $120 = 0.0, $121 = 0, $122 = 0, $123 = 0.0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0.0, $132 = 0, $133 = 0.0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0;
+ var $14 = 0, $140 = 0, $141 = 0.0, $142 = 0.0, $143 = 0.0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0.0, $152 = 0, $153 = 0.0, $154 = 0, $155 = 0, $156 = 0, $157 = 0;
+ var $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0.0, $173 = 0.0, $174 = 0.0, $175 = 0;
+ var $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0, $182 = 0.0, $183 = 0.0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0.0, $189 = 0.0, $19 = 0, $190 = 0.0, $191 = 0, $192 = 0, $193 = 0.0;
+ var $194 = 0.0, $195 = 0.0, $196 = 0.0, $197 = 0, $198 = 0.0, $199 = 0.0, $20 = 0, $200 = 0.0, $201 = 0.0, $202 = 0.0, $203 = 0.0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0;
+ var $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0;
+ var $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0.0, $245 = 0.0, $246 = 0.0, $247 = 0, $248 = 0;
+ var $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0;
+ var $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0.0, $41 = 0, $42 = 0;
+ var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0;
+ var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $90 = 0.0, $91 = 0.0, $92 = 0.0, $93 = 0.0, $94 = 0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0.0, $99 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $14 = $0;
+ $15 = $1;
+ $16 = $2;
+ $17 = $3;
+ $18 = $4;
+ $19 = $5;
+ $20 = $6;
+ $21 = $7;
+ $22 = $8;
+ $23 = $9;
+ $24 = $10;
+ $25 = $11;
+ $26 = $12;
+ $27 = $13;
+ $42 = $20;
+ $29 = $42;
+ while(1) {
+ $43 = $29;
+ $44 = $21;
+ $45 = ($43|0)<($44|0);
+ if (!($45)) {
+ break;
+ }
+ $46 = $14;
+ $47 = ((($46)) + 32|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = $29;
+ $50 = (($49) + 1)|0;
+ $51 = (($48) + ($50<<1)|0);
+ $52 = HEAP16[$51>>1]|0;
+ $53 = $52 << 16 >> 16;
+ $54 = $14;
+ $55 = ((($54)) + 32|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = $29;
+ $58 = (($56) + ($57<<1)|0);
+ $59 = HEAP16[$58>>1]|0;
+ $60 = $59 << 16 >> 16;
+ $61 = (($53) - ($60))|0;
+ $32 = $61;
+ $62 = $25;
+ $63 = $29;
+ $64 = (($62) + ($63<<2)|0);
+ $65 = HEAP32[$64>>2]|0;
+ $66 = (1 + ($65))|0;
+ $67 = $14;
+ $68 = ((($67)) + 32|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = $29;
+ $71 = (($70) + 1)|0;
+ $72 = (($69) + ($71<<1)|0);
+ $73 = HEAP16[$72>>1]|0;
+ $74 = $73 << 16 >> 16;
+ $75 = $14;
+ $76 = ((($75)) + 32|0);
+ $77 = HEAP32[$76>>2]|0;
+ $78 = $29;
+ $79 = (($77) + ($78<<1)|0);
+ $80 = HEAP16[$79>>1]|0;
+ $81 = $80 << 16 >> 16;
+ $82 = (($74) - ($81))|0;
+ $83 = (_celt_udiv_358($66,$82)|0);
+ $84 = $17;
+ $85 = $83 >>> $84;
+ $35 = $85;
+ $86 = $35;
+ $87 = (+($86|0));
+ $88 = -0.125 * $87;
+ $89 = $88;
+ $90 = 0.69314718055994529 * $89;
+ $91 = (+Math_exp((+$90)));
+ $92 = $91;
+ $93 = 0.5 * $92;
+ $33 = $93;
+ $94 = $32;
+ $95 = $17;
+ $96 = $94 << $95;
+ $97 = (+($96|0));
+ $98 = (+Math_sqrt((+$97)));
+ $99 = $98;
+ $100 = 1.0 / $99;
+ $34 = $100;
+ $28 = 0;
+ while(1) {
+ $41 = 0;
+ $101 = $23;
+ $102 = $28;
+ $103 = $14;
+ $104 = ((($103)) + 8|0);
+ $105 = HEAP32[$104>>2]|0;
+ $106 = Math_imul($102, $105)|0;
+ $107 = $29;
+ $108 = (($106) + ($107))|0;
+ $109 = (($101) + ($108<<2)|0);
+ $110 = +HEAPF32[$109>>2];
+ $37 = $110;
+ $111 = $24;
+ $112 = $28;
+ $113 = $14;
+ $114 = ((($113)) + 8|0);
+ $115 = HEAP32[$114>>2]|0;
+ $116 = Math_imul($112, $115)|0;
+ $117 = $29;
+ $118 = (($116) + ($117))|0;
+ $119 = (($111) + ($118<<2)|0);
+ $120 = +HEAPF32[$119>>2];
+ $38 = $120;
+ $121 = $18;
+ $122 = ($121|0)==(1);
+ if ($122) {
+ $123 = $37;
+ $124 = $23;
+ $125 = $14;
+ $126 = ((($125)) + 8|0);
+ $127 = HEAP32[$126>>2]|0;
+ $128 = $29;
+ $129 = (($127) + ($128))|0;
+ $130 = (($124) + ($129<<2)|0);
+ $131 = +HEAPF32[$130>>2];
+ $132 = $123 > $131;
+ if ($132) {
+ $133 = $37;
+ $142 = $133;
+ } else {
+ $134 = $23;
+ $135 = $14;
+ $136 = ((($135)) + 8|0);
+ $137 = HEAP32[$136>>2]|0;
+ $138 = $29;
+ $139 = (($137) + ($138))|0;
+ $140 = (($134) + ($139<<2)|0);
+ $141 = +HEAPF32[$140>>2];
+ $142 = $141;
+ }
+ $37 = $142;
+ $143 = $38;
+ $144 = $24;
+ $145 = $14;
+ $146 = ((($145)) + 8|0);
+ $147 = HEAP32[$146>>2]|0;
+ $148 = $29;
+ $149 = (($147) + ($148))|0;
+ $150 = (($144) + ($149<<2)|0);
+ $151 = +HEAPF32[$150>>2];
+ $152 = $143 > $151;
+ if ($152) {
+ $153 = $38;
+ $162 = $153;
+ } else {
+ $154 = $24;
+ $155 = $14;
+ $156 = ((($155)) + 8|0);
+ $157 = HEAP32[$156>>2]|0;
+ $158 = $29;
+ $159 = (($157) + ($158))|0;
+ $160 = (($154) + ($159<<2)|0);
+ $161 = +HEAPF32[$160>>2];
+ $162 = $161;
+ }
+ $38 = $162;
+ }
+ $163 = $22;
+ $164 = $28;
+ $165 = $14;
+ $166 = ((($165)) + 8|0);
+ $167 = HEAP32[$166>>2]|0;
+ $168 = Math_imul($164, $167)|0;
+ $169 = $29;
+ $170 = (($168) + ($169))|0;
+ $171 = (($163) + ($170<<2)|0);
+ $172 = +HEAPF32[$171>>2];
+ $173 = $37;
+ $174 = $38;
+ $175 = $173 < $174;
+ $176 = $37;
+ $177 = $38;
+ $178 = $175 ? $176 : $177;
+ $179 = $172 - $178;
+ $39 = $179;
+ $180 = $39;
+ $181 = 0.0 > $180;
+ $182 = $39;
+ $183 = $181 ? 0.0 : $182;
+ $39 = $183;
+ $184 = $39;
+ $185 = - $184;
+ $186 = $185;
+ $187 = 0.69314718055994529 * $186;
+ $188 = (+Math_exp((+$187)));
+ $189 = $188;
+ $190 = 2.0 * $189;
+ $40 = $190;
+ $191 = $17;
+ $192 = ($191|0)==(3);
+ if ($192) {
+ $193 = $40;
+ $194 = $193 * 1.4142135381698608;
+ $40 = $194;
+ }
+ $195 = $33;
+ $196 = $40;
+ $197 = $195 < $196;
+ $198 = $33;
+ $199 = $40;
+ $200 = $197 ? $198 : $199;
+ $40 = $200;
+ $201 = $40;
+ $202 = $34;
+ $203 = $201 * $202;
+ $40 = $203;
+ $204 = $15;
+ $205 = $28;
+ $206 = $19;
+ $207 = Math_imul($205, $206)|0;
+ $208 = (($204) + ($207<<2)|0);
+ $209 = $14;
+ $210 = ((($209)) + 32|0);
+ $211 = HEAP32[$210>>2]|0;
+ $212 = $29;
+ $213 = (($211) + ($212<<1)|0);
+ $214 = HEAP16[$213>>1]|0;
+ $215 = $214 << 16 >> 16;
+ $216 = $17;
+ $217 = $215 << $216;
+ $218 = (($208) + ($217<<2)|0);
+ $36 = $218;
+ $31 = 0;
+ while(1) {
+ $219 = $31;
+ $220 = $17;
+ $221 = 1 << $220;
+ $222 = ($219|0)<($221|0);
+ if (!($222)) {
+ break;
+ }
+ $223 = $16;
+ $224 = $29;
+ $225 = $18;
+ $226 = Math_imul($224, $225)|0;
+ $227 = $28;
+ $228 = (($226) + ($227))|0;
+ $229 = (($223) + ($228)|0);
+ $230 = HEAP8[$229>>0]|0;
+ $231 = $230&255;
+ $232 = $31;
+ $233 = 1 << $232;
+ $234 = $231 & $233;
+ $235 = ($234|0)!=(0);
+ if (!($235)) {
+ $30 = 0;
+ while(1) {
+ $236 = $30;
+ $237 = $32;
+ $238 = ($236|0)<($237|0);
+ if (!($238)) {
+ break;
+ }
+ $239 = $26;
+ $240 = (_celt_lcg_rand($239)|0);
+ $26 = $240;
+ $241 = $26;
+ $242 = $241 & 32768;
+ $243 = ($242|0)!=(0);
+ $244 = $40;
+ $245 = - $244;
+ $246 = $243 ? $244 : $245;
+ $247 = $36;
+ $248 = $30;
+ $249 = $17;
+ $250 = $248 << $249;
+ $251 = $31;
+ $252 = (($250) + ($251))|0;
+ $253 = (($247) + ($252<<2)|0);
+ HEAPF32[$253>>2] = $246;
+ $254 = $30;
+ $255 = (($254) + 1)|0;
+ $30 = $255;
+ }
+ $41 = 1;
+ }
+ $256 = $31;
+ $257 = (($256) + 1)|0;
+ $31 = $257;
+ }
+ $258 = $41;
+ $259 = ($258|0)!=(0);
+ if ($259) {
+ $260 = $36;
+ $261 = $32;
+ $262 = $17;
+ $263 = $261 << $262;
+ $264 = $27;
+ _renormalise_vector($260,$263,1.0,$264);
+ }
+ $265 = $28;
+ $266 = (($265) + 1)|0;
+ $28 = $266;
+ $267 = $18;
+ $268 = ($266|0)<($267|0);
+ if (!($268)) {
+ break;
+ }
+ }
+ $269 = $29;
+ $270 = (($269) + 1)|0;
+ $29 = $270;
+ }
+ STACKTOP = sp;return;
+}
+function _celt_udiv_358($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = (($4>>>0) / ($5>>>0))&-1;
+ STACKTOP = sp;return ($6|0);
+}
+function _spreading_decision($0,$1,$2,$3,$4,$5,$6,$7,$8,$9) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ var $$sink = 0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0.0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0;
+ var $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0;
+ var $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0;
+ var $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0, $36 = 0;
+ var $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
+ var $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
+ var $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0.0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $32 = sp + 8|0;
+ $11 = $0;
+ $12 = $1;
+ $13 = $2;
+ $14 = $3;
+ $15 = $4;
+ $16 = $5;
+ $17 = $6;
+ $18 = $7;
+ $19 = $8;
+ $20 = $9;
+ $24 = 0;
+ $25 = 0;
+ $35 = $11;
+ $36 = ((($35)) + 32|0);
+ $37 = HEAP32[$36>>2]|0;
+ $26 = $37;
+ $28 = 0;
+ $38 = $20;
+ $39 = $11;
+ $40 = ((($39)) + 44|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = Math_imul($38, $41)|0;
+ $23 = $42;
+ $43 = $20;
+ $44 = $26;
+ $45 = $18;
+ $46 = (($44) + ($45<<1)|0);
+ $47 = HEAP16[$46>>1]|0;
+ $48 = $47 << 16 >> 16;
+ $49 = $26;
+ $50 = $18;
+ $51 = (($50) - 1)|0;
+ $52 = (($49) + ($51<<1)|0);
+ $53 = HEAP16[$52>>1]|0;
+ $54 = $53 << 16 >> 16;
+ $55 = (($48) - ($54))|0;
+ $56 = Math_imul($43, $55)|0;
+ $57 = ($56|0)<=(8);
+ if ($57) {
+ $10 = 0;
+ $231 = $10;
+ STACKTOP = sp;return ($231|0);
+ }
+ $22 = 0;
+ while(1) {
+ $21 = 0;
+ while(1) {
+ $58 = $21;
+ $59 = $18;
+ $60 = ($58|0)<($59|0);
+ if (!($60)) {
+ break;
+ }
+ $31 = 0;
+ ;HEAP32[$32>>2]=0|0;HEAP32[$32+4>>2]=0|0;HEAP32[$32+8>>2]=0|0;
+ $61 = $12;
+ $62 = $20;
+ $63 = $26;
+ $64 = $21;
+ $65 = (($63) + ($64<<1)|0);
+ $66 = HEAP16[$65>>1]|0;
+ $67 = $66 << 16 >> 16;
+ $68 = Math_imul($62, $67)|0;
+ $69 = (($61) + ($68<<2)|0);
+ $70 = $22;
+ $71 = $23;
+ $72 = Math_imul($70, $71)|0;
+ $73 = (($69) + ($72<<2)|0);
+ $33 = $73;
+ $74 = $20;
+ $75 = $26;
+ $76 = $21;
+ $77 = (($76) + 1)|0;
+ $78 = (($75) + ($77<<1)|0);
+ $79 = HEAP16[$78>>1]|0;
+ $80 = $79 << 16 >> 16;
+ $81 = $26;
+ $82 = $21;
+ $83 = (($81) + ($82<<1)|0);
+ $84 = HEAP16[$83>>1]|0;
+ $85 = $84 << 16 >> 16;
+ $86 = (($80) - ($85))|0;
+ $87 = Math_imul($74, $86)|0;
+ $30 = $87;
+ $88 = $30;
+ $89 = ($88|0)<=(8);
+ if (!($89)) {
+ $29 = 0;
+ while(1) {
+ $90 = $29;
+ $91 = $30;
+ $92 = ($90|0)<($91|0);
+ if (!($92)) {
+ break;
+ }
+ $93 = $33;
+ $94 = $29;
+ $95 = (($93) + ($94<<2)|0);
+ $96 = +HEAPF32[$95>>2];
+ $97 = $33;
+ $98 = $29;
+ $99 = (($97) + ($98<<2)|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = $96 * $100;
+ $102 = $30;
+ $103 = (+($102|0));
+ $104 = $101 * $103;
+ $34 = $104;
+ $105 = $34;
+ $106 = $105 < 0.25;
+ if ($106) {
+ $107 = HEAP32[$32>>2]|0;
+ $108 = (($107) + 1)|0;
+ HEAP32[$32>>2] = $108;
+ }
+ $109 = $34;
+ $110 = $109 < 0.0625;
+ if ($110) {
+ $111 = ((($32)) + 4|0);
+ $112 = HEAP32[$111>>2]|0;
+ $113 = (($112) + 1)|0;
+ HEAP32[$111>>2] = $113;
+ }
+ $114 = $34;
+ $115 = $114 < 0.015625;
+ if ($115) {
+ $116 = ((($32)) + 8|0);
+ $117 = HEAP32[$116>>2]|0;
+ $118 = (($117) + 1)|0;
+ HEAP32[$116>>2] = $118;
+ }
+ $119 = $29;
+ $120 = (($119) + 1)|0;
+ $29 = $120;
+ }
+ $121 = $21;
+ $122 = $11;
+ $123 = ((($122)) + 8|0);
+ $124 = HEAP32[$123>>2]|0;
+ $125 = (($124) - 4)|0;
+ $126 = ($121|0)>($125|0);
+ if ($126) {
+ $127 = ((($32)) + 4|0);
+ $128 = HEAP32[$127>>2]|0;
+ $129 = HEAP32[$32>>2]|0;
+ $130 = (($128) + ($129))|0;
+ $131 = $130<<5;
+ $132 = $30;
+ $133 = (_celt_udiv_358($131,$132)|0);
+ $134 = $28;
+ $135 = (($134) + ($133))|0;
+ $28 = $135;
+ }
+ $136 = ((($32)) + 8|0);
+ $137 = HEAP32[$136>>2]|0;
+ $138 = $137<<1;
+ $139 = $30;
+ $140 = ($138|0)>=($139|0);
+ $141 = $140&1;
+ $142 = ((($32)) + 4|0);
+ $143 = HEAP32[$142>>2]|0;
+ $144 = $143<<1;
+ $145 = $30;
+ $146 = ($144|0)>=($145|0);
+ $147 = $146&1;
+ $148 = (($141) + ($147))|0;
+ $149 = HEAP32[$32>>2]|0;
+ $150 = $149<<1;
+ $151 = $30;
+ $152 = ($150|0)>=($151|0);
+ $153 = $152&1;
+ $154 = (($148) + ($153))|0;
+ $31 = $154;
+ $155 = $31;
+ $156 = $155<<8;
+ $157 = $24;
+ $158 = (($157) + ($156))|0;
+ $24 = $158;
+ $159 = $25;
+ $160 = (($159) + 1)|0;
+ $25 = $160;
+ }
+ $161 = $21;
+ $162 = (($161) + 1)|0;
+ $21 = $162;
+ }
+ $163 = $22;
+ $164 = (($163) + 1)|0;
+ $22 = $164;
+ $165 = $19;
+ $166 = ($164|0)<($165|0);
+ if (!($166)) {
+ break;
+ }
+ }
+ $167 = $17;
+ $168 = ($167|0)!=(0);
+ do {
+ if ($168) {
+ $169 = $28;
+ $170 = ($169|0)!=(0);
+ if ($170) {
+ $171 = $28;
+ $172 = $19;
+ $173 = $11;
+ $174 = ((($173)) + 8|0);
+ $175 = HEAP32[$174>>2]|0;
+ $176 = (4 - ($175))|0;
+ $177 = $18;
+ $178 = (($176) + ($177))|0;
+ $179 = Math_imul($172, $178)|0;
+ $180 = (_celt_udiv_358($171,$179)|0);
+ $28 = $180;
+ }
+ $181 = $15;
+ $182 = HEAP32[$181>>2]|0;
+ $183 = $28;
+ $184 = (($182) + ($183))|0;
+ $185 = $184 >> 1;
+ $186 = $15;
+ HEAP32[$186>>2] = $185;
+ $187 = $15;
+ $188 = HEAP32[$187>>2]|0;
+ $28 = $188;
+ $189 = $16;
+ $190 = HEAP32[$189>>2]|0;
+ $191 = ($190|0)==(2);
+ if ($191) {
+ $192 = $28;
+ $193 = (($192) + 4)|0;
+ $28 = $193;
+ } else {
+ $194 = $16;
+ $195 = HEAP32[$194>>2]|0;
+ $196 = ($195|0)==(0);
+ if ($196) {
+ $197 = $28;
+ $198 = (($197) - 4)|0;
+ $28 = $198;
+ }
+ }
+ $199 = $28;
+ $200 = ($199|0)>(22);
+ if ($200) {
+ $201 = $16;
+ HEAP32[$201>>2] = 2;
+ break;
+ } else {
+ $202 = $28;
+ $203 = ($202|0)>(18);
+ $204 = $16;
+ $$sink = $203 ? 1 : 0;
+ HEAP32[$204>>2] = $$sink;
+ break;
+ }
+ }
+ } while(0);
+ $205 = $24;
+ $206 = $25;
+ $207 = (_celt_udiv_358($205,$206)|0);
+ $24 = $207;
+ $208 = $24;
+ $209 = $13;
+ $210 = HEAP32[$209>>2]|0;
+ $211 = (($208) + ($210))|0;
+ $212 = $211 >> 1;
+ $24 = $212;
+ $213 = $24;
+ $214 = $13;
+ HEAP32[$214>>2] = $213;
+ $215 = $24;
+ $216 = ($215*3)|0;
+ $217 = $14;
+ $218 = (3 - ($217))|0;
+ $219 = $218 << 7;
+ $220 = (($219) + 64)|0;
+ $221 = (($216) + ($220))|0;
+ $222 = (($221) + 2)|0;
+ $223 = $222 >> 2;
+ $24 = $223;
+ $224 = $24;
+ $225 = ($224|0)<(80);
+ do {
+ if ($225) {
+ $27 = 3;
+ } else {
+ $226 = $24;
+ $227 = ($226|0)<(256);
+ if ($227) {
+ $27 = 2;
+ break;
+ }
+ $228 = $24;
+ $229 = ($228|0)<(384);
+ if ($229) {
+ $27 = 1;
+ break;
+ } else {
+ $27 = 0;
+ break;
+ }
+ }
+ } while(0);
+ $230 = $27;
+ $10 = $230;
+ $231 = $10;
+ STACKTOP = sp;return ($231|0);
+}
+function _haar1($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $7 = 0, $8 = 0.0, $9 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $10 = $4;
+ $11 = $10 >> 1;
+ $4 = $11;
+ $6 = 0;
+ while(1) {
+ $12 = $6;
+ $13 = $5;
+ $14 = ($12|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $7 = 0;
+ while(1) {
+ $15 = $7;
+ $16 = $4;
+ $17 = ($15|0)<($16|0);
+ if (!($17)) {
+ break;
+ }
+ $18 = $3;
+ $19 = $5;
+ $20 = $19<<1;
+ $21 = $7;
+ $22 = Math_imul($20, $21)|0;
+ $23 = $6;
+ $24 = (($22) + ($23))|0;
+ $25 = (($18) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = 0.70710676908493042 * $26;
+ $8 = $27;
+ $28 = $3;
+ $29 = $5;
+ $30 = $7;
+ $31 = $30<<1;
+ $32 = (($31) + 1)|0;
+ $33 = Math_imul($29, $32)|0;
+ $34 = $6;
+ $35 = (($33) + ($34))|0;
+ $36 = (($28) + ($35<<2)|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = 0.70710676908493042 * $37;
+ $9 = $38;
+ $39 = $8;
+ $40 = $9;
+ $41 = $39 + $40;
+ $42 = $3;
+ $43 = $5;
+ $44 = $43<<1;
+ $45 = $7;
+ $46 = Math_imul($44, $45)|0;
+ $47 = $6;
+ $48 = (($46) + ($47))|0;
+ $49 = (($42) + ($48<<2)|0);
+ HEAPF32[$49>>2] = $41;
+ $50 = $8;
+ $51 = $9;
+ $52 = $50 - $51;
+ $53 = $3;
+ $54 = $5;
+ $55 = $7;
+ $56 = $55<<1;
+ $57 = (($56) + 1)|0;
+ $58 = Math_imul($54, $57)|0;
+ $59 = $6;
+ $60 = (($58) + ($59))|0;
+ $61 = (($53) + ($60<<2)|0);
+ HEAPF32[$61>>2] = $52;
+ $62 = $7;
+ $63 = (($62) + 1)|0;
+ $7 = $63;
+ }
+ $64 = $6;
+ $65 = (($64) + 1)|0;
+ $6 = $65;
+ }
+ STACKTOP = sp;return;
+}
+function _quant_all_bands($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ $15 = $15|0;
+ $16 = $16|0;
+ $17 = $17|0;
+ $18 = $18|0;
+ $19 = $19|0;
+ $20 = $20|0;
+ var $$alloca_mul = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0;
+ var $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0;
+ var $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0;
+ var $159 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0;
+ var $179 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0;
+ var $199 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0;
+ var $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0;
+ var $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0;
+ var $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0;
+ var $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0;
+ var $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0;
+ var $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0;
+ var $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0;
+ var $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0;
+ var $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0;
+ var $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0;
+ var $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0;
+ var $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0;
+ var $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0;
+ var $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0.0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0.0, $464 = 0.0, $465 = 0.0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0;
+ var $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0;
+ var $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0;
+ var $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0;
+ var $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0;
+ var $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0;
+ var $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0;
+ var $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0;
+ var $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0;
+ var $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, $or$cond5 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 256|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(256|0);
+ $55 = sp + 64|0;
+ $21 = $0;
+ $22 = $1;
+ $23 = $2;
+ $24 = $3;
+ $25 = $4;
+ $26 = $5;
+ $27 = $6;
+ $28 = $7;
+ $29 = $8;
+ $30 = $9;
+ $31 = $10;
+ $32 = $11;
+ $33 = $12;
+ $34 = $13;
+ $35 = $14;
+ $36 = $15;
+ $37 = $16;
+ $38 = $17;
+ $39 = $18;
+ $40 = $19;
+ $41 = $20;
+ $72 = $22;
+ $73 = ((($72)) + 32|0);
+ $74 = HEAP32[$73>>2]|0;
+ $44 = $74;
+ $51 = 1;
+ $75 = $26;
+ $76 = ($75|0)!=(0|0);
+ $77 = $76 ? 2 : 1;
+ $52 = $77;
+ $78 = $21;
+ $79 = ($78|0)!=(0);
+ $80 = $79 ^ 1;
+ $81 = $80&1;
+ $54 = $81;
+ $82 = $38;
+ $83 = 1 << $82;
+ $49 = $83;
+ $84 = $30;
+ $85 = ($84|0)!=(0);
+ $86 = $49;
+ $87 = $85 ? $86 : 1;
+ $48 = $87;
+ $88 = $49;
+ $89 = $44;
+ $90 = $23;
+ $91 = (($89) + ($90<<1)|0);
+ $92 = HEAP16[$91>>1]|0;
+ $93 = $92 << 16 >> 16;
+ $94 = Math_imul($88, $93)|0;
+ $53 = $94;
+ $95 = $52;
+ $96 = $49;
+ $97 = $44;
+ $98 = $22;
+ $99 = ((($98)) + 8|0);
+ $100 = HEAP32[$99>>2]|0;
+ $101 = (($100) - 1)|0;
+ $102 = (($97) + ($101<<1)|0);
+ $103 = HEAP16[$102>>1]|0;
+ $104 = $103 << 16 >> 16;
+ $105 = Math_imul($96, $104)|0;
+ $106 = $53;
+ $107 = (($105) - ($106))|0;
+ $108 = Math_imul($95, $107)|0;
+ $109 = (_llvm_stacksave()|0);
+ $56 = $109;
+ $$alloca_mul = $108<<2;
+ $110 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $45 = $110;
+ $111 = $45;
+ $112 = $49;
+ $113 = $44;
+ $114 = $22;
+ $115 = ((($114)) + 8|0);
+ $116 = HEAP32[$115>>2]|0;
+ $117 = (($116) - 1)|0;
+ $118 = (($113) + ($117<<1)|0);
+ $119 = HEAP16[$118>>1]|0;
+ $120 = $119 << 16 >> 16;
+ $121 = Math_imul($112, $120)|0;
+ $122 = (($111) + ($121<<2)|0);
+ $123 = $53;
+ $124 = (0 - ($123))|0;
+ $125 = (($122) + ($124<<2)|0);
+ $46 = $125;
+ $126 = $25;
+ $127 = $49;
+ $128 = $44;
+ $129 = $22;
+ $130 = ((($129)) + 8|0);
+ $131 = HEAP32[$130>>2]|0;
+ $132 = (($131) - 1)|0;
+ $133 = (($128) + ($132<<1)|0);
+ $134 = HEAP16[$133>>1]|0;
+ $135 = $134 << 16 >> 16;
+ $136 = Math_imul($127, $135)|0;
+ $137 = (($126) + ($136<<2)|0);
+ $47 = $137;
+ $50 = 0;
+ $138 = $28;
+ $139 = ((($55)) + 32|0);
+ HEAP32[$139>>2] = $138;
+ $140 = $37;
+ $141 = ((($55)) + 24|0);
+ HEAP32[$141>>2] = $140;
+ $142 = $21;
+ HEAP32[$55>>2] = $142;
+ $143 = $33;
+ $144 = ((($55)) + 12|0);
+ HEAP32[$144>>2] = $143;
+ $145 = $22;
+ $146 = ((($55)) + 4|0);
+ HEAP32[$146>>2] = $145;
+ $147 = $40;
+ $148 = HEAP32[$147>>2]|0;
+ $149 = ((($55)) + 36|0);
+ HEAP32[$149>>2] = $148;
+ $150 = $31;
+ $151 = ((($55)) + 16|0);
+ HEAP32[$151>>2] = $150;
+ $152 = $41;
+ $153 = ((($55)) + 40|0);
+ HEAP32[$153>>2] = $152;
+ $154 = $23;
+ $42 = $154;
+ while(1) {
+ $155 = $42;
+ $156 = $24;
+ $157 = ($155|0)<($156|0);
+ if (!($157)) {
+ break;
+ }
+ $61 = -1;
+ $64 = 0;
+ $158 = $42;
+ $159 = ((($55)) + 8|0);
+ HEAP32[$159>>2] = $158;
+ $160 = $42;
+ $161 = $24;
+ $162 = (($161) - 1)|0;
+ $163 = ($160|0)==($162|0);
+ $164 = $163&1;
+ $67 = $164;
+ $165 = $25;
+ $166 = $49;
+ $167 = $44;
+ $168 = $42;
+ $169 = (($167) + ($168<<1)|0);
+ $170 = HEAP16[$169>>1]|0;
+ $171 = $170 << 16 >> 16;
+ $172 = Math_imul($166, $171)|0;
+ $173 = (($165) + ($172<<2)|0);
+ $62 = $173;
+ $174 = $26;
+ $175 = ($174|0)!=(0|0);
+ if ($175) {
+ $176 = $26;
+ $177 = $49;
+ $178 = $44;
+ $179 = $42;
+ $180 = (($178) + ($179<<1)|0);
+ $181 = HEAP16[$180>>1]|0;
+ $182 = $181 << 16 >> 16;
+ $183 = Math_imul($177, $182)|0;
+ $184 = (($176) + ($183<<2)|0);
+ $63 = $184;
+ } else {
+ $63 = 0;
+ }
+ $185 = $49;
+ $186 = $44;
+ $187 = $42;
+ $188 = (($187) + 1)|0;
+ $189 = (($186) + ($188<<1)|0);
+ $190 = HEAP16[$189>>1]|0;
+ $191 = $190 << 16 >> 16;
+ $192 = Math_imul($185, $191)|0;
+ $193 = $49;
+ $194 = $44;
+ $195 = $42;
+ $196 = (($194) + ($195<<1)|0);
+ $197 = HEAP16[$196>>1]|0;
+ $198 = $197 << 16 >> 16;
+ $199 = Math_imul($193, $198)|0;
+ $200 = (($192) - ($199))|0;
+ $59 = $200;
+ $201 = $37;
+ $202 = (_ec_tell_frac($201)|0);
+ $57 = $202;
+ $203 = $42;
+ $204 = $23;
+ $205 = ($203|0)!=($204|0);
+ if ($205) {
+ $206 = $57;
+ $207 = $36;
+ $208 = (($207) - ($206))|0;
+ $36 = $208;
+ }
+ $209 = $35;
+ $210 = $57;
+ $211 = (($209) - ($210))|0;
+ $212 = (($211) - 1)|0;
+ $43 = $212;
+ $213 = $43;
+ $214 = ((($55)) + 28|0);
+ HEAP32[$214>>2] = $213;
+ $215 = $42;
+ $216 = $39;
+ $217 = (($216) - 1)|0;
+ $218 = ($215|0)<=($217|0);
+ if ($218) {
+ $219 = $36;
+ $220 = $39;
+ $221 = $42;
+ $222 = (($220) - ($221))|0;
+ $223 = (3)<($222|0);
+ if ($223) {
+ $227 = 3;
+ } else {
+ $224 = $39;
+ $225 = $42;
+ $226 = (($224) - ($225))|0;
+ $227 = $226;
+ }
+ $228 = (_celt_sudiv($219,$227)|0);
+ $60 = $228;
+ $229 = $43;
+ $230 = (($229) + 1)|0;
+ $231 = $29;
+ $232 = $42;
+ $233 = (($231) + ($232<<2)|0);
+ $234 = HEAP32[$233>>2]|0;
+ $235 = $60;
+ $236 = (($234) + ($235))|0;
+ $237 = ($230|0)<($236|0);
+ if ($237) {
+ $238 = $43;
+ $239 = (($238) + 1)|0;
+ $247 = $239;
+ } else {
+ $240 = $29;
+ $241 = $42;
+ $242 = (($240) + ($241<<2)|0);
+ $243 = HEAP32[$242>>2]|0;
+ $244 = $60;
+ $245 = (($243) + ($244))|0;
+ $247 = $245;
+ }
+ $246 = (16383)<($247|0);
+ do {
+ if ($246) {
+ $266 = 16383;
+ } else {
+ $248 = $43;
+ $249 = (($248) + 1)|0;
+ $250 = $29;
+ $251 = $42;
+ $252 = (($250) + ($251<<2)|0);
+ $253 = HEAP32[$252>>2]|0;
+ $254 = $60;
+ $255 = (($253) + ($254))|0;
+ $256 = ($249|0)<($255|0);
+ if ($256) {
+ $257 = $43;
+ $258 = (($257) + 1)|0;
+ $266 = $258;
+ break;
+ } else {
+ $259 = $29;
+ $260 = $42;
+ $261 = (($259) + ($260<<2)|0);
+ $262 = HEAP32[$261>>2]|0;
+ $263 = $60;
+ $264 = (($262) + ($263))|0;
+ $266 = $264;
+ break;
+ }
+ }
+ } while(0);
+ $265 = (0)>($266|0);
+ do {
+ if ($265) {
+ $303 = 0;
+ } else {
+ $267 = $43;
+ $268 = (($267) + 1)|0;
+ $269 = $29;
+ $270 = $42;
+ $271 = (($269) + ($270<<2)|0);
+ $272 = HEAP32[$271>>2]|0;
+ $273 = $60;
+ $274 = (($272) + ($273))|0;
+ $275 = ($268|0)<($274|0);
+ if ($275) {
+ $276 = $43;
+ $277 = (($276) + 1)|0;
+ $285 = $277;
+ } else {
+ $278 = $29;
+ $279 = $42;
+ $280 = (($278) + ($279<<2)|0);
+ $281 = HEAP32[$280>>2]|0;
+ $282 = $60;
+ $283 = (($281) + ($282))|0;
+ $285 = $283;
+ }
+ $284 = (16383)<($285|0);
+ if ($284) {
+ $303 = 16383;
+ } else {
+ $286 = $43;
+ $287 = (($286) + 1)|0;
+ $288 = $29;
+ $289 = $42;
+ $290 = (($288) + ($289<<2)|0);
+ $291 = HEAP32[$290>>2]|0;
+ $292 = $60;
+ $293 = (($291) + ($292))|0;
+ $294 = ($287|0)<($293|0);
+ if ($294) {
+ $295 = $43;
+ $296 = (($295) + 1)|0;
+ $303 = $296;
+ break;
+ } else {
+ $297 = $29;
+ $298 = $42;
+ $299 = (($297) + ($298<<2)|0);
+ $300 = HEAP32[$299>>2]|0;
+ $301 = $60;
+ $302 = (($300) + ($301))|0;
+ $303 = $302;
+ break;
+ }
+ }
+ }
+ } while(0);
+ $58 = $303;
+ } else {
+ $58 = 0;
+ }
+ $304 = $54;
+ $305 = ($304|0)!=(0);
+ if ($305) {
+ $306 = $49;
+ $307 = $44;
+ $308 = $42;
+ $309 = (($307) + ($308<<1)|0);
+ $310 = HEAP16[$309>>1]|0;
+ $311 = $310 << 16 >> 16;
+ $312 = Math_imul($306, $311)|0;
+ $313 = $59;
+ $314 = (($312) - ($313))|0;
+ $315 = $49;
+ $316 = $44;
+ $317 = $23;
+ $318 = (($316) + ($317<<1)|0);
+ $319 = HEAP16[$318>>1]|0;
+ $320 = $319 << 16 >> 16;
+ $321 = Math_imul($315, $320)|0;
+ $322 = ($314|0)>=($321|0);
+ if ($322) {
+ $323 = $51;
+ $324 = ($323|0)!=(0);
+ $325 = $50;
+ $326 = ($325|0)==(0);
+ $or$cond = $324 | $326;
+ if ($or$cond) {
+ $327 = $42;
+ $50 = $327;
+ }
+ }
+ }
+ $328 = $34;
+ $329 = $42;
+ $330 = (($328) + ($329<<2)|0);
+ $331 = HEAP32[$330>>2]|0;
+ $64 = $331;
+ $332 = $64;
+ $333 = ((($55)) + 20|0);
+ HEAP32[$333>>2] = $332;
+ $334 = $42;
+ $335 = $22;
+ $336 = ((($335)) + 12|0);
+ $337 = HEAP32[$336>>2]|0;
+ $338 = ($334|0)>=($337|0);
+ if ($338) {
+ $339 = $45;
+ $62 = $339;
+ $340 = $26;
+ $341 = ($340|0)!=(0|0);
+ if ($341) {
+ $342 = $45;
+ $63 = $342;
+ }
+ $47 = 0;
+ }
+ $343 = $42;
+ $344 = $24;
+ $345 = (($344) - 1)|0;
+ $346 = ($343|0)==($345|0);
+ if ($346) {
+ $47 = 0;
+ }
+ $347 = $50;
+ $348 = ($347|0)!=(0);
+ if ($348) {
+ $349 = $31;
+ $350 = ($349|0)!=(3);
+ $351 = $48;
+ $352 = ($351|0)>(1);
+ $or$cond3 = $350 | $352;
+ $353 = $64;
+ $354 = ($353|0)<(0);
+ $or$cond5 = $or$cond3 | $354;
+ if ($or$cond5) {
+ $355 = $49;
+ $356 = $44;
+ $357 = $50;
+ $358 = (($356) + ($357<<1)|0);
+ $359 = HEAP16[$358>>1]|0;
+ $360 = $359 << 16 >> 16;
+ $361 = Math_imul($355, $360)|0;
+ $362 = $53;
+ $363 = (($361) - ($362))|0;
+ $364 = $59;
+ $365 = (($363) - ($364))|0;
+ $366 = (0)>($365|0);
+ if ($366) {
+ $378 = 0;
+ } else {
+ $367 = $49;
+ $368 = $44;
+ $369 = $50;
+ $370 = (($368) + ($369<<1)|0);
+ $371 = HEAP16[$370>>1]|0;
+ $372 = $371 << 16 >> 16;
+ $373 = Math_imul($367, $372)|0;
+ $374 = $53;
+ $375 = (($373) - ($374))|0;
+ $376 = $59;
+ $377 = (($375) - ($376))|0;
+ $378 = $377;
+ }
+ $61 = $378;
+ $379 = $50;
+ $68 = $379;
+ while(1) {
+ $380 = $49;
+ $381 = $44;
+ $382 = $68;
+ $383 = (($382) + -1)|0;
+ $68 = $383;
+ $384 = (($381) + ($383<<1)|0);
+ $385 = HEAP16[$384>>1]|0;
+ $386 = $385 << 16 >> 16;
+ $387 = Math_imul($380, $386)|0;
+ $388 = $61;
+ $389 = $53;
+ $390 = (($388) + ($389))|0;
+ $391 = ($387|0)>($390|0);
+ if (!($391)) {
+ break;
+ }
+ }
+ $392 = $50;
+ $393 = (($392) - 1)|0;
+ $69 = $393;
+ while(1) {
+ $394 = $49;
+ $395 = $44;
+ $396 = $69;
+ $397 = (($396) + 1)|0;
+ $69 = $397;
+ $398 = (($395) + ($397<<1)|0);
+ $399 = HEAP16[$398>>1]|0;
+ $400 = $399 << 16 >> 16;
+ $401 = Math_imul($394, $400)|0;
+ $402 = $61;
+ $403 = $53;
+ $404 = (($402) + ($403))|0;
+ $405 = $59;
+ $406 = (($404) + ($405))|0;
+ $407 = ($401|0)<($406|0);
+ if (!($407)) {
+ break;
+ }
+ }
+ $66 = 0;
+ $65 = 0;
+ $408 = $68;
+ $70 = $408;
+ while(1) {
+ $409 = $27;
+ $410 = $70;
+ $411 = $52;
+ $412 = Math_imul($410, $411)|0;
+ $413 = (($412) + 0)|0;
+ $414 = (($409) + ($413)|0);
+ $415 = HEAP8[$414>>0]|0;
+ $416 = $415&255;
+ $417 = $65;
+ $418 = $417 | $416;
+ $65 = $418;
+ $419 = $27;
+ $420 = $70;
+ $421 = $52;
+ $422 = Math_imul($420, $421)|0;
+ $423 = $52;
+ $424 = (($422) + ($423))|0;
+ $425 = (($424) - 1)|0;
+ $426 = (($419) + ($425)|0);
+ $427 = HEAP8[$426>>0]|0;
+ $428 = $427&255;
+ $429 = $66;
+ $430 = $429 | $428;
+ $66 = $430;
+ $431 = $70;
+ $432 = (($431) + 1)|0;
+ $70 = $432;
+ $433 = $69;
+ $434 = ($432|0)<($433|0);
+ if (!($434)) {
+ break;
+ }
+ }
+ } else {
+ label = 48;
+ }
+ } else {
+ label = 48;
+ }
+ if ((label|0) == 48) {
+ label = 0;
+ $435 = $48;
+ $436 = 1 << $435;
+ $437 = (($436) - 1)|0;
+ $66 = $437;
+ $65 = $437;
+ }
+ $438 = $32;
+ $439 = ($438|0)!=(0);
+ L70: do {
+ if ($439) {
+ $440 = $42;
+ $441 = $33;
+ $442 = ($440|0)==($441|0);
+ if ($442) {
+ $32 = 0;
+ $443 = $54;
+ $444 = ($443|0)!=(0);
+ if ($444) {
+ $71 = 0;
+ while(1) {
+ $445 = $71;
+ $446 = $49;
+ $447 = $44;
+ $448 = $42;
+ $449 = (($447) + ($448<<1)|0);
+ $450 = HEAP16[$449>>1]|0;
+ $451 = $450 << 16 >> 16;
+ $452 = Math_imul($446, $451)|0;
+ $453 = $53;
+ $454 = (($452) - ($453))|0;
+ $455 = ($445|0)<($454|0);
+ if (!($455)) {
+ break L70;
+ }
+ $456 = $45;
+ $457 = $71;
+ $458 = (($456) + ($457<<2)|0);
+ $459 = +HEAPF32[$458>>2];
+ $460 = $46;
+ $461 = $71;
+ $462 = (($460) + ($461<<2)|0);
+ $463 = +HEAPF32[$462>>2];
+ $464 = $459 + $463;
+ $465 = 0.5 * $464;
+ $466 = $45;
+ $467 = $71;
+ $468 = (($466) + ($467<<2)|0);
+ HEAPF32[$468>>2] = $465;
+ $469 = $71;
+ $470 = (($469) + 1)|0;
+ $71 = $470;
+ }
+ }
+ }
+ }
+ } while(0);
+ $471 = $32;
+ $472 = ($471|0)!=(0);
+ if ($472) {
+ $473 = $62;
+ $474 = $59;
+ $475 = $58;
+ $476 = (($475|0) / 2)&-1;
+ $477 = $48;
+ $478 = $61;
+ $479 = ($478|0)!=(-1);
+ if ($479) {
+ $480 = $45;
+ $481 = $61;
+ $482 = (($480) + ($481<<2)|0);
+ $500 = $482;
+ } else {
+ $500 = 0;
+ }
+ $483 = $38;
+ $484 = $67;
+ $485 = ($484|0)!=(0);
+ if ($485) {
+ $501 = 0;
+ } else {
+ $486 = $45;
+ $487 = $49;
+ $488 = $44;
+ $489 = $42;
+ $490 = (($488) + ($489<<1)|0);
+ $491 = HEAP16[$490>>1]|0;
+ $492 = $491 << 16 >> 16;
+ $493 = Math_imul($487, $492)|0;
+ $494 = (($486) + ($493<<2)|0);
+ $495 = $53;
+ $496 = (0 - ($495))|0;
+ $497 = (($494) + ($496<<2)|0);
+ $501 = $497;
+ }
+ $498 = $47;
+ $499 = $65;
+ $502 = (_quant_band($55,$473,$474,$476,$477,$500,$483,$501,1.0,$498,$499)|0);
+ $65 = $502;
+ $503 = $63;
+ $504 = $59;
+ $505 = $58;
+ $506 = (($505|0) / 2)&-1;
+ $507 = $48;
+ $508 = $61;
+ $509 = ($508|0)!=(-1);
+ if ($509) {
+ $510 = $46;
+ $511 = $61;
+ $512 = (($510) + ($511<<2)|0);
+ $530 = $512;
+ } else {
+ $530 = 0;
+ }
+ $513 = $38;
+ $514 = $67;
+ $515 = ($514|0)!=(0);
+ if ($515) {
+ $531 = 0;
+ } else {
+ $516 = $46;
+ $517 = $49;
+ $518 = $44;
+ $519 = $42;
+ $520 = (($518) + ($519<<1)|0);
+ $521 = HEAP16[$520>>1]|0;
+ $522 = $521 << 16 >> 16;
+ $523 = Math_imul($517, $522)|0;
+ $524 = (($516) + ($523<<2)|0);
+ $525 = $53;
+ $526 = (0 - ($525))|0;
+ $527 = (($524) + ($526<<2)|0);
+ $531 = $527;
+ }
+ $528 = $47;
+ $529 = $66;
+ $532 = (_quant_band($55,$503,$504,$506,$507,$530,$513,$531,1.0,$528,$529)|0);
+ $66 = $532;
+ } else {
+ $533 = $63;
+ $534 = ($533|0)!=(0|0);
+ $535 = $62;
+ if ($534) {
+ $536 = $63;
+ $537 = $59;
+ $538 = $58;
+ $539 = $48;
+ $540 = $61;
+ $541 = ($540|0)!=(-1);
+ if ($541) {
+ $542 = $45;
+ $543 = $61;
+ $544 = (($542) + ($543<<2)|0);
+ $564 = $544;
+ } else {
+ $564 = 0;
+ }
+ $545 = $38;
+ $546 = $67;
+ $547 = ($546|0)!=(0);
+ if ($547) {
+ $565 = 0;
+ } else {
+ $548 = $45;
+ $549 = $49;
+ $550 = $44;
+ $551 = $42;
+ $552 = (($550) + ($551<<1)|0);
+ $553 = HEAP16[$552>>1]|0;
+ $554 = $553 << 16 >> 16;
+ $555 = Math_imul($549, $554)|0;
+ $556 = (($548) + ($555<<2)|0);
+ $557 = $53;
+ $558 = (0 - ($557))|0;
+ $559 = (($556) + ($558<<2)|0);
+ $565 = $559;
+ }
+ $560 = $47;
+ $561 = $65;
+ $562 = $66;
+ $563 = $561 | $562;
+ $566 = (_quant_band_stereo($55,$535,$536,$537,$538,$539,$564,$545,$565,$560,$563)|0);
+ $65 = $566;
+ } else {
+ $567 = $59;
+ $568 = $58;
+ $569 = $48;
+ $570 = $61;
+ $571 = ($570|0)!=(-1);
+ if ($571) {
+ $572 = $45;
+ $573 = $61;
+ $574 = (($572) + ($573<<2)|0);
+ $594 = $574;
+ } else {
+ $594 = 0;
+ }
+ $575 = $38;
+ $576 = $67;
+ $577 = ($576|0)!=(0);
+ if ($577) {
+ $595 = 0;
+ } else {
+ $578 = $45;
+ $579 = $49;
+ $580 = $44;
+ $581 = $42;
+ $582 = (($580) + ($581<<1)|0);
+ $583 = HEAP16[$582>>1]|0;
+ $584 = $583 << 16 >> 16;
+ $585 = Math_imul($579, $584)|0;
+ $586 = (($578) + ($585<<2)|0);
+ $587 = $53;
+ $588 = (0 - ($587))|0;
+ $589 = (($586) + ($588<<2)|0);
+ $595 = $589;
+ }
+ $590 = $47;
+ $591 = $65;
+ $592 = $66;
+ $593 = $591 | $592;
+ $596 = (_quant_band($55,$535,$567,$568,$569,$594,$575,$595,1.0,$590,$593)|0);
+ $65 = $596;
+ }
+ $597 = $65;
+ $66 = $597;
+ }
+ $598 = $65;
+ $599 = $598&255;
+ $600 = $27;
+ $601 = $42;
+ $602 = $52;
+ $603 = Math_imul($601, $602)|0;
+ $604 = (($603) + 0)|0;
+ $605 = (($600) + ($604)|0);
+ HEAP8[$605>>0] = $599;
+ $606 = $66;
+ $607 = $606&255;
+ $608 = $27;
+ $609 = $42;
+ $610 = $52;
+ $611 = Math_imul($609, $610)|0;
+ $612 = $52;
+ $613 = (($611) + ($612))|0;
+ $614 = (($613) - 1)|0;
+ $615 = (($608) + ($614)|0);
+ HEAP8[$615>>0] = $607;
+ $616 = $29;
+ $617 = $42;
+ $618 = (($616) + ($617<<2)|0);
+ $619 = HEAP32[$618>>2]|0;
+ $620 = $57;
+ $621 = (($619) + ($620))|0;
+ $622 = $36;
+ $623 = (($622) + ($621))|0;
+ $36 = $623;
+ $624 = $58;
+ $625 = $59;
+ $626 = $625 << 3;
+ $627 = ($624|0)>($626|0);
+ $628 = $627&1;
+ $51 = $628;
+ $629 = $42;
+ $630 = (($629) + 1)|0;
+ $42 = $630;
+ }
+ $631 = ((($55)) + 36|0);
+ $632 = HEAP32[$631>>2]|0;
+ $633 = $40;
+ HEAP32[$633>>2] = $632;
+ $634 = $56;
+ _llvm_stackrestore(($634|0));
+ STACKTOP = sp;return;
+}
+function _celt_sudiv($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = (($4|0) / ($5|0))&-1;
+ STACKTOP = sp;return ($6|0);
+}
+function _quant_band($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = +$8;
+ $9 = $9|0;
+ $10 = $10|0;
+ var $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0;
+ var $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0;
+ var $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0;
+ var $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0;
+ var $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0;
+ var $191 = 0.0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0.0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0;
+ var $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0;
+ var $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0;
+ var $246 = 0.0, $247 = 0.0, $248 = 0.0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0.0, $253 = 0, $254 = 0, $255 = 0, $256 = 0.0, $257 = 0.0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0;
+ var $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0;
+ var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0;
+ var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0;
+ var $or$cond3 = 0, $or$cond5 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $12 = $0;
+ $13 = $1;
+ $14 = $2;
+ $15 = $3;
+ $16 = $4;
+ $17 = $5;
+ $18 = $6;
+ $19 = $7;
+ $20 = $8;
+ $21 = $9;
+ $22 = $10;
+ $37 = $14;
+ $23 = $37;
+ $38 = $14;
+ $24 = $38;
+ $39 = $16;
+ $26 = $39;
+ $27 = 0;
+ $28 = 0;
+ $30 = 0;
+ $40 = $12;
+ $41 = HEAP32[$40>>2]|0;
+ $42 = ($41|0)!=(0);
+ $43 = $42 ^ 1;
+ $44 = $43&1;
+ $31 = $44;
+ $45 = $12;
+ $46 = HEAP32[$45>>2]|0;
+ $33 = $46;
+ $47 = $12;
+ $48 = ((($47)) + 20|0);
+ $49 = HEAP32[$48>>2]|0;
+ $34 = $49;
+ $50 = $26;
+ $51 = ($50|0)==(1);
+ $52 = $51&1;
+ $29 = $52;
+ $53 = $24;
+ $54 = $16;
+ $55 = (_celt_udiv_358($53,$54)|0);
+ $24 = $55;
+ $56 = $14;
+ $57 = ($56|0)==(1);
+ if ($57) {
+ $58 = $12;
+ $59 = $13;
+ $60 = $15;
+ $61 = $19;
+ $62 = (_quant_band_n1($58,$59,0,$60,$61)|0);
+ $11 = $62;
+ $269 = $11;
+ STACKTOP = sp;return ($269|0);
+ }
+ $63 = $34;
+ $64 = ($63|0)>(0);
+ if ($64) {
+ $65 = $34;
+ $28 = $65;
+ }
+ $66 = $21;
+ $67 = ($66|0)!=(0|0);
+ $68 = $17;
+ $69 = ($68|0)!=(0|0);
+ $or$cond = $67 & $69;
+ do {
+ if ($or$cond) {
+ $70 = $28;
+ $71 = ($70|0)!=(0);
+ if (!($71)) {
+ $72 = $24;
+ $73 = $72 & 1;
+ $74 = ($73|0)==(0);
+ $75 = $34;
+ $76 = ($75|0)<(0);
+ $or$cond3 = $74 & $76;
+ $77 = $26;
+ $78 = ($77|0)>(1);
+ $or$cond5 = $or$cond3 | $78;
+ if (!($or$cond5)) {
+ break;
+ }
+ }
+ $79 = $21;
+ $80 = $17;
+ $81 = $14;
+ $82 = $81<<2;
+ $83 = $21;
+ $84 = $17;
+ $85 = $83;
+ $86 = $84;
+ $87 = (($85) - ($86))|0;
+ $88 = (($87|0) / 4)&-1;
+ $89 = 0;
+ $90 = (($82) + ($89))|0;
+ _memcpy(($79|0),($80|0),($90|0))|0;
+ $91 = $21;
+ $17 = $91;
+ }
+ } while(0);
+ $32 = 0;
+ while(1) {
+ $92 = $32;
+ $93 = $28;
+ $94 = ($92|0)<($93|0);
+ if (!($94)) {
+ break;
+ }
+ $95 = $33;
+ $96 = ($95|0)!=(0);
+ if ($96) {
+ $97 = $13;
+ $98 = $14;
+ $99 = $32;
+ $100 = $98 >> $99;
+ $101 = $32;
+ $102 = 1 << $101;
+ _haar1($97,$100,$102);
+ }
+ $103 = $17;
+ $104 = ($103|0)!=(0|0);
+ if ($104) {
+ $105 = $17;
+ $106 = $14;
+ $107 = $32;
+ $108 = $106 >> $107;
+ $109 = $32;
+ $110 = 1 << $109;
+ _haar1($105,$108,$110);
+ }
+ $111 = $22;
+ $112 = $111 & 15;
+ $113 = (28935 + ($112)|0);
+ $114 = HEAP8[$113>>0]|0;
+ $115 = $114&255;
+ $116 = $22;
+ $117 = $116 >> 4;
+ $118 = (28935 + ($117)|0);
+ $119 = HEAP8[$118>>0]|0;
+ $120 = $119&255;
+ $121 = $120 << 2;
+ $122 = $115 | $121;
+ $22 = $122;
+ $123 = $32;
+ $124 = (($123) + 1)|0;
+ $32 = $124;
+ }
+ $125 = $28;
+ $126 = $16;
+ $127 = $126 >> $125;
+ $16 = $127;
+ $128 = $28;
+ $129 = $24;
+ $130 = $129 << $128;
+ $24 = $130;
+ while(1) {
+ $131 = $24;
+ $132 = $131 & 1;
+ $133 = ($132|0)==(0);
+ $134 = $34;
+ $135 = ($134|0)<(0);
+ $136 = $133 ? $135 : 0;
+ if (!($136)) {
+ break;
+ }
+ $137 = $33;
+ $138 = ($137|0)!=(0);
+ if ($138) {
+ $139 = $13;
+ $140 = $24;
+ $141 = $16;
+ _haar1($139,$140,$141);
+ }
+ $142 = $17;
+ $143 = ($142|0)!=(0|0);
+ if ($143) {
+ $144 = $17;
+ $145 = $24;
+ $146 = $16;
+ _haar1($144,$145,$146);
+ }
+ $147 = $22;
+ $148 = $16;
+ $149 = $147 << $148;
+ $150 = $22;
+ $151 = $150 | $149;
+ $22 = $151;
+ $152 = $16;
+ $153 = $152 << 1;
+ $16 = $153;
+ $154 = $24;
+ $155 = $154 >> 1;
+ $24 = $155;
+ $156 = $27;
+ $157 = (($156) + 1)|0;
+ $27 = $157;
+ $158 = $34;
+ $159 = (($158) + 1)|0;
+ $34 = $159;
+ }
+ $160 = $16;
+ $26 = $160;
+ $161 = $24;
+ $25 = $161;
+ $162 = $26;
+ $163 = ($162|0)>(1);
+ if ($163) {
+ $164 = $33;
+ $165 = ($164|0)!=(0);
+ if ($165) {
+ $166 = $13;
+ $167 = $24;
+ $168 = $28;
+ $169 = $167 >> $168;
+ $170 = $26;
+ $171 = $28;
+ $172 = $170 << $171;
+ $173 = $29;
+ _deinterleave_hadamard($166,$169,$172,$173);
+ }
+ $174 = $17;
+ $175 = ($174|0)!=(0|0);
+ if ($175) {
+ $176 = $17;
+ $177 = $24;
+ $178 = $28;
+ $179 = $177 >> $178;
+ $180 = $26;
+ $181 = $28;
+ $182 = $180 << $181;
+ $183 = $29;
+ _deinterleave_hadamard($176,$179,$182,$183);
+ }
+ }
+ $184 = $12;
+ $185 = $13;
+ $186 = $14;
+ $187 = $15;
+ $188 = $16;
+ $189 = $17;
+ $190 = $18;
+ $191 = $20;
+ $192 = $22;
+ $193 = (_quant_partition($184,$185,$186,$187,$188,$189,$190,$191,$192)|0);
+ $30 = $193;
+ $194 = $31;
+ $195 = ($194|0)!=(0);
+ if ($195) {
+ $196 = $26;
+ $197 = ($196|0)>(1);
+ if ($197) {
+ $198 = $13;
+ $199 = $24;
+ $200 = $28;
+ $201 = $199 >> $200;
+ $202 = $26;
+ $203 = $28;
+ $204 = $202 << $203;
+ $205 = $29;
+ _interleave_hadamard($198,$201,$204,$205);
+ }
+ $206 = $25;
+ $24 = $206;
+ $207 = $26;
+ $16 = $207;
+ $32 = 0;
+ while(1) {
+ $208 = $32;
+ $209 = $27;
+ $210 = ($208|0)<($209|0);
+ if (!($210)) {
+ break;
+ }
+ $211 = $16;
+ $212 = $211 >> 1;
+ $16 = $212;
+ $213 = $24;
+ $214 = $213 << 1;
+ $24 = $214;
+ $215 = $30;
+ $216 = $16;
+ $217 = $215 >>> $216;
+ $218 = $30;
+ $219 = $218 | $217;
+ $30 = $219;
+ $220 = $13;
+ $221 = $24;
+ $222 = $16;
+ _haar1($220,$221,$222);
+ $223 = $32;
+ $224 = (($223) + 1)|0;
+ $32 = $224;
+ }
+ $32 = 0;
+ while(1) {
+ $225 = $32;
+ $226 = $28;
+ $227 = ($225|0)<($226|0);
+ if (!($227)) {
+ break;
+ }
+ $228 = $30;
+ $229 = (28951 + ($228)|0);
+ $230 = HEAP8[$229>>0]|0;
+ $231 = $230&255;
+ $30 = $231;
+ $232 = $13;
+ $233 = $23;
+ $234 = $32;
+ $235 = $233 >> $234;
+ $236 = $32;
+ $237 = 1 << $236;
+ _haar1($232,$235,$237);
+ $238 = $32;
+ $239 = (($238) + 1)|0;
+ $32 = $239;
+ }
+ $240 = $28;
+ $241 = $16;
+ $242 = $241 << $240;
+ $16 = $242;
+ $243 = $19;
+ $244 = ($243|0)!=(0|0);
+ L54: do {
+ if ($244) {
+ $245 = $23;
+ $246 = (+($245|0));
+ $247 = (+Math_sqrt((+$246)));
+ $248 = $247;
+ $36 = $248;
+ $35 = 0;
+ while(1) {
+ $249 = $35;
+ $250 = $23;
+ $251 = ($249|0)<($250|0);
+ if (!($251)) {
+ break L54;
+ }
+ $252 = $36;
+ $253 = $13;
+ $254 = $35;
+ $255 = (($253) + ($254<<2)|0);
+ $256 = +HEAPF32[$255>>2];
+ $257 = $252 * $256;
+ $258 = $19;
+ $259 = $35;
+ $260 = (($258) + ($259<<2)|0);
+ HEAPF32[$260>>2] = $257;
+ $261 = $35;
+ $262 = (($261) + 1)|0;
+ $35 = $262;
+ }
+ }
+ } while(0);
+ $263 = $16;
+ $264 = 1 << $263;
+ $265 = (($264) - 1)|0;
+ $266 = $30;
+ $267 = $266 & $265;
+ $30 = $267;
+ }
+ $268 = $30;
+ $11 = $268;
+ $269 = $11;
+ STACKTOP = sp;return ($269|0);
+}
+function _quant_band_stereo($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ var $$ = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0.0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0.0, $129 = 0, $13 = 0, $130 = 0, $131 = 0.0, $132 = 0, $133 = 0.0, $134 = 0.0, $135 = 0.0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0.0, $159 = 0, $16 = 0, $160 = 0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0.0, $166 = 0, $167 = 0.0, $168 = 0.0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0.0, $174 = 0, $175 = 0.0, $176 = 0.0, $177 = 0, $178 = 0.0, $179 = 0, $18 = 0, $180 = 0, $181 = 0.0, $182 = 0.0, $183 = 0, $184 = 0, $185 = 0.0, $186 = 0, $187 = 0.0, $188 = 0.0, $189 = 0, $19 = 0;
+ var $190 = 0.0, $191 = 0, $192 = 0, $193 = 0.0, $194 = 0.0, $195 = 0, $196 = 0, $197 = 0, $198 = 0.0, $199 = 0.0, $20 = 0, $200 = 0, $201 = 0.0, $202 = 0.0, $203 = 0, $204 = 0.0, $205 = 0, $206 = 0.0, $207 = 0.0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0.0, $212 = 0.0, $213 = 0, $214 = 0, $215 = 0.0, $216 = 0.0, $217 = 0, $218 = 0, $219 = 0.0, $22 = 0, $220 = 0, $221 = 0, $222 = 0.0, $223 = 0.0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0.0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0.0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0.0, $296 = 0, $297 = 0, $298 = 0, $299 = 0;
+ var $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0.0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0;
+ var $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0;
+ var $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0.0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0;
+ var $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0.0, $36 = 0, $360 = 0.0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0;
+ var $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0;
+ var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0;
+ var $82 = 0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0;
+ var $or$cond5 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
- $P = sp + 52|0;
- $Q = sp + 16|0;
- $PQ = sp + 8|0;
- $NLSF$addr = $NLSF;
- $a_Q16$addr = $a_Q16;
- $d$addr = $d;
- HEAP32[$PQ>>2] = $P;
- $arrayidx2 = ((($PQ)) + 4|0);
- HEAP32[$arrayidx2>>2] = $Q;
- $0 = $d$addr;
- $shr = $0 >> 1;
- $dd = $shr;
- $1 = $a_Q16$addr;
- $2 = $dd;
- _silk_A2NLSF_init($1,$P,$Q,$2);
- $p = $P;
- $3 = HEAP16[12731]|0;
- $conv = $3 << 16 >> 16;
- $xlo = $conv;
- $4 = $p;
- $5 = $xlo;
- $6 = $dd;
- $call = (_silk_A2NLSF_eval_poly($4,$5,$6)|0);
- $ylo = $call;
- $7 = $ylo;
- $cmp = ($7|0)<(0);
- if ($cmp) {
- $8 = $NLSF$addr;
- HEAP16[$8>>1] = 0;
- $p = $Q;
- $9 = $p;
- $10 = $xlo;
- $11 = $dd;
- $call9 = (_silk_A2NLSF_eval_poly($9,$10,$11)|0);
- $ylo = $call9;
- $root_ix = 1;
- } else {
- $root_ix = 0;
+ $16 = sp + 136|0;
+ $22 = sp + 112|0;
+ $35 = sp + 40|0;
+ $12 = $0;
+ $13 = $1;
+ $14 = $2;
+ $15 = $3;
+ HEAP32[$16>>2] = $4;
+ $17 = $5;
+ $18 = $6;
+ $19 = $7;
+ $20 = $8;
+ $21 = $9;
+ HEAP32[$22>>2] = $10;
+ $23 = 0;
+ $24 = 0;
+ $25 = 0;
+ $26 = 0.0;
+ $27 = 0.0;
+ $28 = 0;
+ $46 = $12;
+ $47 = HEAP32[$46>>2]|0;
+ $48 = ($47|0)!=(0);
+ $49 = $48 ^ 1;
+ $50 = $49&1;
+ $29 = $50;
+ $51 = $12;
+ $52 = HEAP32[$51>>2]|0;
+ $37 = $52;
+ $53 = $12;
+ $54 = ((($53)) + 24|0);
+ $55 = HEAP32[$54>>2]|0;
+ $38 = $55;
+ $56 = $15;
+ $57 = ($56|0)==(1);
+ if ($57) {
+ $58 = $12;
+ $59 = $13;
+ $60 = $14;
+ $61 = HEAP32[$16>>2]|0;
+ $62 = $20;
+ $63 = (_quant_band_n1($58,$59,$60,$61,$62)|0);
+ $11 = $63;
+ $367 = $11;
+ STACKTOP = sp;return ($367|0);
}
- $k = 1;
- $i = 0;
- $thr = 0;
+ $64 = HEAP32[$22>>2]|0;
+ $36 = $64;
+ $65 = $12;
+ $66 = $13;
+ $67 = $14;
+ $68 = $15;
+ $69 = $17;
+ $70 = $17;
+ $71 = $19;
+ _compute_theta($65,$35,$66,$67,$68,$16,$69,$70,$71,1,$22);
+ $72 = HEAP32[$35>>2]|0;
+ $25 = $72;
+ $73 = ((($35)) + 4|0);
+ $74 = HEAP32[$73>>2]|0;
+ $23 = $74;
+ $75 = ((($35)) + 8|0);
+ $76 = HEAP32[$75>>2]|0;
+ $24 = $76;
+ $77 = ((($35)) + 12|0);
+ $78 = HEAP32[$77>>2]|0;
+ $32 = $78;
+ $79 = ((($35)) + 16|0);
+ $80 = HEAP32[$79>>2]|0;
+ $33 = $80;
+ $81 = ((($35)) + 20|0);
+ $82 = HEAP32[$81>>2]|0;
+ $34 = $82;
+ $83 = $23;
+ $84 = (+($83|0));
+ $85 = 3.0517578125E-5 * $84;
+ $26 = $85;
+ $86 = $24;
+ $87 = (+($86|0));
+ $88 = 3.0517578125E-5 * $87;
+ $27 = $88;
+ $89 = $15;
+ $90 = ($89|0)==(2);
+ do {
+ if ($90) {
+ $40 = 0;
+ $91 = HEAP32[$16>>2]|0;
+ $30 = $91;
+ $31 = 0;
+ $92 = $33;
+ $93 = ($92|0)!=(0);
+ $94 = $33;
+ $95 = ($94|0)!=(16384);
+ $or$cond = $93 & $95;
+ $$ = $or$cond ? 8 : 0;
+ $31 = $$;
+ $96 = $31;
+ $97 = $30;
+ $98 = (($97) - ($96))|0;
+ $30 = $98;
+ $99 = $33;
+ $100 = ($99|0)>(8192);
+ $101 = $100&1;
+ $39 = $101;
+ $102 = $34;
+ $103 = $31;
+ $104 = (($102) + ($103))|0;
+ $105 = $12;
+ $106 = ((($105)) + 28|0);
+ $107 = HEAP32[$106>>2]|0;
+ $108 = (($107) - ($104))|0;
+ HEAP32[$106>>2] = $108;
+ $109 = $39;
+ $110 = ($109|0)!=(0);
+ $111 = $14;
+ $112 = $13;
+ $113 = $110 ? $111 : $112;
+ $41 = $113;
+ $114 = $39;
+ $115 = ($114|0)!=(0);
+ $116 = $13;
+ $117 = $14;
+ $118 = $115 ? $116 : $117;
+ $42 = $118;
+ $119 = $31;
+ $120 = ($119|0)!=(0);
+ do {
+ if ($120) {
+ $121 = $37;
+ $122 = ($121|0)!=(0);
+ if ($122) {
+ $123 = $41;
+ $124 = +HEAPF32[$123>>2];
+ $125 = $42;
+ $126 = ((($125)) + 4|0);
+ $127 = +HEAPF32[$126>>2];
+ $128 = $124 * $127;
+ $129 = $41;
+ $130 = ((($129)) + 4|0);
+ $131 = +HEAPF32[$130>>2];
+ $132 = $42;
+ $133 = +HEAPF32[$132>>2];
+ $134 = $131 * $133;
+ $135 = $128 - $134;
+ $136 = $135 < 0.0;
+ $137 = $136&1;
+ $40 = $137;
+ $138 = $38;
+ $139 = $40;
+ _ec_enc_bits($138,$139,1);
+ break;
+ } else {
+ $140 = $38;
+ $141 = (_ec_dec_bits($140,1)|0);
+ $40 = $141;
+ break;
+ }
+ }
+ } while(0);
+ $142 = $40;
+ $143 = $142<<1;
+ $144 = (1 - ($143))|0;
+ $40 = $144;
+ $145 = $12;
+ $146 = $41;
+ $147 = $15;
+ $148 = $30;
+ $149 = $17;
+ $150 = $18;
+ $151 = $19;
+ $152 = $20;
+ $153 = $21;
+ $154 = $36;
+ $155 = (_quant_band($145,$146,$147,$148,$149,$150,$151,$152,1.0,$153,$154)|0);
+ $28 = $155;
+ $156 = $40;
+ $157 = (0 - ($156))|0;
+ $158 = (+($157|0));
+ $159 = $41;
+ $160 = ((($159)) + 4|0);
+ $161 = +HEAPF32[$160>>2];
+ $162 = $158 * $161;
+ $163 = $42;
+ HEAPF32[$163>>2] = $162;
+ $164 = $40;
+ $165 = (+($164|0));
+ $166 = $41;
+ $167 = +HEAPF32[$166>>2];
+ $168 = $165 * $167;
+ $169 = $42;
+ $170 = ((($169)) + 4|0);
+ HEAPF32[$170>>2] = $168;
+ $171 = $29;
+ $172 = ($171|0)!=(0);
+ if ($172) {
+ $173 = $26;
+ $174 = $13;
+ $175 = +HEAPF32[$174>>2];
+ $176 = $173 * $175;
+ $177 = $13;
+ HEAPF32[$177>>2] = $176;
+ $178 = $26;
+ $179 = $13;
+ $180 = ((($179)) + 4|0);
+ $181 = +HEAPF32[$180>>2];
+ $182 = $178 * $181;
+ $183 = $13;
+ $184 = ((($183)) + 4|0);
+ HEAPF32[$184>>2] = $182;
+ $185 = $27;
+ $186 = $14;
+ $187 = +HEAPF32[$186>>2];
+ $188 = $185 * $187;
+ $189 = $14;
+ HEAPF32[$189>>2] = $188;
+ $190 = $27;
+ $191 = $14;
+ $192 = ((($191)) + 4|0);
+ $193 = +HEAPF32[$192>>2];
+ $194 = $190 * $193;
+ $195 = $14;
+ $196 = ((($195)) + 4|0);
+ HEAPF32[$196>>2] = $194;
+ $197 = $13;
+ $198 = +HEAPF32[$197>>2];
+ $43 = $198;
+ $199 = $43;
+ $200 = $14;
+ $201 = +HEAPF32[$200>>2];
+ $202 = $199 - $201;
+ $203 = $13;
+ HEAPF32[$203>>2] = $202;
+ $204 = $43;
+ $205 = $14;
+ $206 = +HEAPF32[$205>>2];
+ $207 = $204 + $206;
+ $208 = $14;
+ HEAPF32[$208>>2] = $207;
+ $209 = $13;
+ $210 = ((($209)) + 4|0);
+ $211 = +HEAPF32[$210>>2];
+ $43 = $211;
+ $212 = $43;
+ $213 = $14;
+ $214 = ((($213)) + 4|0);
+ $215 = +HEAPF32[$214>>2];
+ $216 = $212 - $215;
+ $217 = $13;
+ $218 = ((($217)) + 4|0);
+ HEAPF32[$218>>2] = $216;
+ $219 = $43;
+ $220 = $14;
+ $221 = ((($220)) + 4|0);
+ $222 = +HEAPF32[$221>>2];
+ $223 = $219 + $222;
+ $224 = $14;
+ $225 = ((($224)) + 4|0);
+ HEAPF32[$225>>2] = $223;
+ }
+ } else {
+ $226 = HEAP32[$16>>2]|0;
+ $227 = HEAP32[$16>>2]|0;
+ $228 = $32;
+ $229 = (($227) - ($228))|0;
+ $230 = (($229|0) / 2)&-1;
+ $231 = ($226|0)<($230|0);
+ $232 = HEAP32[$16>>2]|0;
+ if ($231) {
+ $237 = $232;
+ } else {
+ $233 = $32;
+ $234 = (($232) - ($233))|0;
+ $235 = (($234|0) / 2)&-1;
+ $237 = $235;
+ }
+ $236 = (0)>($237|0);
+ if ($236) {
+ $248 = 0;
+ } else {
+ $238 = HEAP32[$16>>2]|0;
+ $239 = HEAP32[$16>>2]|0;
+ $240 = $32;
+ $241 = (($239) - ($240))|0;
+ $242 = (($241|0) / 2)&-1;
+ $243 = ($238|0)<($242|0);
+ $244 = HEAP32[$16>>2]|0;
+ if ($243) {
+ $248 = $244;
+ } else {
+ $245 = $32;
+ $246 = (($244) - ($245))|0;
+ $247 = (($246|0) / 2)&-1;
+ $248 = $247;
+ }
+ }
+ $30 = $248;
+ $249 = HEAP32[$16>>2]|0;
+ $250 = $30;
+ $251 = (($249) - ($250))|0;
+ $31 = $251;
+ $252 = $34;
+ $253 = $12;
+ $254 = ((($253)) + 28|0);
+ $255 = HEAP32[$254>>2]|0;
+ $256 = (($255) - ($252))|0;
+ HEAP32[$254>>2] = $256;
+ $257 = $12;
+ $258 = ((($257)) + 28|0);
+ $259 = HEAP32[$258>>2]|0;
+ $44 = $259;
+ $260 = $30;
+ $261 = $31;
+ $262 = ($260|0)>=($261|0);
+ $263 = $12;
+ if ($262) {
+ $264 = $13;
+ $265 = $15;
+ $266 = $30;
+ $267 = $17;
+ $268 = $18;
+ $269 = $19;
+ $270 = $20;
+ $271 = $21;
+ $272 = HEAP32[$22>>2]|0;
+ $273 = (_quant_band($263,$264,$265,$266,$267,$268,$269,$270,1.0,$271,$272)|0);
+ $28 = $273;
+ $274 = $30;
+ $275 = $44;
+ $276 = $12;
+ $277 = ((($276)) + 28|0);
+ $278 = HEAP32[$277>>2]|0;
+ $279 = (($275) - ($278))|0;
+ $280 = (($274) - ($279))|0;
+ $44 = $280;
+ $281 = $44;
+ $282 = ($281|0)>(24);
+ $283 = $33;
+ $284 = ($283|0)!=(0);
+ $or$cond3 = $282 & $284;
+ if ($or$cond3) {
+ $285 = $44;
+ $286 = (($285) - 24)|0;
+ $287 = $31;
+ $288 = (($287) + ($286))|0;
+ $31 = $288;
+ }
+ $289 = $12;
+ $290 = $14;
+ $291 = $15;
+ $292 = $31;
+ $293 = $17;
+ $294 = $19;
+ $295 = $27;
+ $296 = HEAP32[$22>>2]|0;
+ $297 = $17;
+ $298 = $296 >> $297;
+ $299 = (_quant_band($289,$290,$291,$292,$293,0,$294,0,$295,0,$298)|0);
+ $300 = $28;
+ $301 = $300 | $299;
+ $28 = $301;
+ break;
+ } else {
+ $302 = $14;
+ $303 = $15;
+ $304 = $31;
+ $305 = $17;
+ $306 = $19;
+ $307 = $27;
+ $308 = HEAP32[$22>>2]|0;
+ $309 = $17;
+ $310 = $308 >> $309;
+ $311 = (_quant_band($263,$302,$303,$304,$305,0,$306,0,$307,0,$310)|0);
+ $28 = $311;
+ $312 = $31;
+ $313 = $44;
+ $314 = $12;
+ $315 = ((($314)) + 28|0);
+ $316 = HEAP32[$315>>2]|0;
+ $317 = (($313) - ($316))|0;
+ $318 = (($312) - ($317))|0;
+ $44 = $318;
+ $319 = $44;
+ $320 = ($319|0)>(24);
+ $321 = $33;
+ $322 = ($321|0)!=(16384);
+ $or$cond5 = $320 & $322;
+ if ($or$cond5) {
+ $323 = $44;
+ $324 = (($323) - 24)|0;
+ $325 = $30;
+ $326 = (($325) + ($324))|0;
+ $30 = $326;
+ }
+ $327 = $12;
+ $328 = $13;
+ $329 = $15;
+ $330 = $30;
+ $331 = $17;
+ $332 = $18;
+ $333 = $19;
+ $334 = $20;
+ $335 = $21;
+ $336 = HEAP32[$22>>2]|0;
+ $337 = (_quant_band($327,$328,$329,$330,$331,$332,$333,$334,1.0,$335,$336)|0);
+ $338 = $28;
+ $339 = $338 | $337;
+ $28 = $339;
+ break;
+ }
+ }
+ } while(0);
+ $340 = $29;
+ $341 = ($340|0)!=(0);
+ L32: do {
+ if ($341) {
+ $342 = $15;
+ $343 = ($342|0)!=(2);
+ if ($343) {
+ $344 = $13;
+ $345 = $14;
+ $346 = $26;
+ $347 = $15;
+ $348 = $12;
+ $349 = ((($348)) + 40|0);
+ $350 = HEAP32[$349>>2]|0;
+ _stereo_merge($344,$345,$346,$347,$350);
+ }
+ $351 = $25;
+ $352 = ($351|0)!=(0);
+ if ($352) {
+ $45 = 0;
+ while(1) {
+ $353 = $45;
+ $354 = $15;
+ $355 = ($353|0)<($354|0);
+ if (!($355)) {
+ break L32;
+ }
+ $356 = $14;
+ $357 = $45;
+ $358 = (($356) + ($357<<2)|0);
+ $359 = +HEAPF32[$358>>2];
+ $360 = - $359;
+ $361 = $14;
+ $362 = $45;
+ $363 = (($361) + ($362<<2)|0);
+ HEAPF32[$363>>2] = $360;
+ $364 = $45;
+ $365 = (($364) + 1)|0;
+ $45 = $365;
+ }
+ }
+ }
+ } while(0);
+ $366 = $28;
+ $11 = $366;
+ $367 = $11;
+ STACKTOP = sp;return ($367|0);
+}
+function _quant_band_n1($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0.0, $67 = 0;
+ var $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $17 = $5;
+ $18 = HEAP32[$17>>2]|0;
+ $19 = ($18|0)!=(0);
+ $20 = $19 ^ 1;
+ $21 = $20&1;
+ $10 = $21;
+ $22 = $6;
+ $13 = $22;
+ $23 = $5;
+ $24 = HEAP32[$23>>2]|0;
+ $14 = $24;
+ $25 = $5;
+ $26 = ((($25)) + 24|0);
+ $27 = HEAP32[$26>>2]|0;
+ $15 = $27;
+ $28 = $7;
+ $29 = ($28|0)!=(0|0);
+ $30 = $29&1;
+ $12 = $30;
+ $11 = 0;
+ while(1) {
+ $16 = 0;
+ $31 = $5;
+ $32 = ((($31)) + 28|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = ($33|0)>=(8);
+ if ($34) {
+ $35 = $14;
+ $36 = ($35|0)!=(0);
+ if ($36) {
+ $37 = $13;
+ $38 = +HEAPF32[$37>>2];
+ $39 = $38 < 0.0;
+ $40 = $39&1;
+ $16 = $40;
+ $41 = $15;
+ $42 = $16;
+ _ec_enc_bits($41,$42,1);
+ } else {
+ $43 = $15;
+ $44 = (_ec_dec_bits($43,1)|0);
+ $16 = $44;
+ }
+ $45 = $5;
+ $46 = ((($45)) + 28|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = (($47) - 8)|0;
+ HEAP32[$46>>2] = $48;
+ $49 = $8;
+ $50 = (($49) - 8)|0;
+ $8 = $50;
+ }
+ $51 = $10;
+ $52 = ($51|0)!=(0);
+ if ($52) {
+ $53 = $16;
+ $54 = ($53|0)!=(0);
+ $55 = $54 ? -1.0 : 1.0;
+ $56 = $13;
+ HEAPF32[$56>>2] = $55;
+ }
+ $57 = $7;
+ $13 = $57;
+ $58 = $11;
+ $59 = (($58) + 1)|0;
+ $11 = $59;
+ $60 = $12;
+ $61 = (1 + ($60))|0;
+ $62 = ($59|0)<($61|0);
+ if (!($62)) {
+ break;
+ }
+ }
+ $63 = $9;
+ $64 = ($63|0)!=(0|0);
+ if (!($64)) {
+ STACKTOP = sp;return 1;
+ }
+ $65 = $6;
+ $66 = +HEAPF32[$65>>2];
+ $67 = $9;
+ HEAPF32[$67>>2] = $66;
+ STACKTOP = sp;return 1;
+}
+function _compute_theta($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ var $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0;
+ var $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0;
+ var $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0;
+ var $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0;
+ var $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0;
+ var $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0;
+ var $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0;
+ var $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0;
+ var $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0;
+ var $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0;
+ var $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0;
+ var $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0;
+ var $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0;
+ var $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0;
+ var $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0;
+ var $373 = 0, $374 = 0, $375 = 0, $376 = 0.0, $377 = 0.0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0;
+ var $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0;
+ var $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0;
+ var $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0;
+ var $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0;
+ var $464 = 0, $465 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, $or$cond5 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
+ $11 = $0;
+ $12 = $1;
+ $13 = $2;
+ $14 = $3;
+ $15 = $4;
+ $16 = $5;
+ $17 = $6;
+ $18 = $7;
+ $19 = $8;
+ $20 = $9;
+ $21 = $10;
+ $23 = 0;
+ $31 = 0;
+ $49 = $11;
+ $50 = HEAP32[$49>>2]|0;
+ $32 = $50;
+ $51 = $11;
+ $52 = ((($51)) + 4|0);
+ $53 = HEAP32[$52>>2]|0;
+ $33 = $53;
+ $54 = $11;
+ $55 = ((($54)) + 8|0);
+ $56 = HEAP32[$55>>2]|0;
+ $34 = $56;
+ $57 = $11;
+ $58 = ((($57)) + 12|0);
+ $59 = HEAP32[$58>>2]|0;
+ $35 = $59;
+ $60 = $11;
+ $61 = ((($60)) + 24|0);
+ $62 = HEAP32[$61>>2]|0;
+ $36 = $62;
+ $63 = $11;
+ $64 = ((($63)) + 32|0);
+ $65 = HEAP32[$64>>2]|0;
+ $37 = $65;
+ $66 = $33;
+ $67 = ((($66)) + 56|0);
+ $68 = HEAP32[$67>>2]|0;
+ $69 = $34;
+ $70 = (($68) + ($69<<1)|0);
+ $71 = HEAP16[$70>>1]|0;
+ $72 = $71 << 16 >> 16;
+ $73 = $19;
+ $74 = $73<<3;
+ $75 = (($72) + ($74))|0;
+ $28 = $75;
+ $76 = $28;
+ $77 = $76 >> 1;
+ $78 = $20;
+ $79 = ($78|0)!=(0);
+ $80 = $15;
+ $81 = ($80|0)==(2);
+ $82 = $79 ? $81 : 0;
+ $83 = $82 ? 16 : 4;
+ $84 = (($77) - ($83))|0;
+ $29 = $84;
+ $85 = $15;
+ $86 = $16;
+ $87 = HEAP32[$86>>2]|0;
+ $88 = $29;
+ $89 = $28;
+ $90 = $20;
+ $91 = (_compute_qn($85,$87,$88,$89,$90)|0);
+ $22 = $91;
+ $92 = $20;
+ $93 = ($92|0)!=(0);
+ if ($93) {
+ $94 = $34;
+ $95 = $35;
+ $96 = ($94|0)>=($95|0);
+ if ($96) {
+ $22 = 1;
+ }
+ }
+ $97 = $32;
+ $98 = ($97|0)!=(0);
+ if ($98) {
+ $99 = $13;
+ $100 = $14;
+ $101 = $20;
+ $102 = $15;
+ $103 = $11;
+ $104 = ((($103)) + 40|0);
+ $105 = HEAP32[$104>>2]|0;
+ $106 = (_stereo_itheta($99,$100,$101,$102,$105)|0);
+ $23 = $106;
+ }
+ $107 = $36;
+ $108 = (_ec_tell_frac($107)|0);
+ $30 = $108;
+ $109 = $22;
+ $110 = ($109|0)!=(1);
+ do {
+ if ($110) {
+ $111 = $32;
+ $112 = ($111|0)!=(0);
+ if ($112) {
+ $113 = $23;
+ $114 = $22;
+ $115 = Math_imul($113, $114)|0;
+ $116 = (($115) + 8192)|0;
+ $117 = $116 >> 14;
+ $23 = $117;
+ }
+ $118 = $20;
+ $119 = ($118|0)!=(0);
+ $120 = $15;
+ $121 = ($120|0)>(2);
+ $or$cond = $119 & $121;
+ do {
+ if ($or$cond) {
+ $38 = 3;
+ $122 = $23;
+ $39 = $122;
+ $123 = $22;
+ $124 = (($123|0) / 2)&-1;
+ $40 = $124;
+ $125 = $38;
+ $126 = $40;
+ $127 = (($126) + 1)|0;
+ $128 = Math_imul($125, $127)|0;
+ $129 = $40;
+ $130 = (($128) + ($129))|0;
+ $41 = $130;
+ $131 = $32;
+ $132 = ($131|0)!=(0);
+ $133 = $36;
+ if ($132) {
+ $134 = $39;
+ $135 = $40;
+ $136 = ($134|0)<=($135|0);
+ if ($136) {
+ $137 = $38;
+ $138 = $39;
+ $139 = Math_imul($137, $138)|0;
+ $165 = $139;
+ } else {
+ $140 = $39;
+ $141 = (($140) - 1)|0;
+ $142 = $40;
+ $143 = (($141) - ($142))|0;
+ $144 = $40;
+ $145 = (($144) + 1)|0;
+ $146 = $38;
+ $147 = Math_imul($145, $146)|0;
+ $148 = (($143) + ($147))|0;
+ $165 = $148;
+ }
+ $149 = $39;
+ $150 = $40;
+ $151 = ($149|0)<=($150|0);
+ if ($151) {
+ $152 = $38;
+ $153 = $39;
+ $154 = (($153) + 1)|0;
+ $155 = Math_imul($152, $154)|0;
+ $166 = $155;
+ } else {
+ $156 = $39;
+ $157 = $40;
+ $158 = (($156) - ($157))|0;
+ $159 = $40;
+ $160 = (($159) + 1)|0;
+ $161 = $38;
+ $162 = Math_imul($160, $161)|0;
+ $163 = (($158) + ($162))|0;
+ $166 = $163;
+ }
+ $164 = $41;
+ _ec_encode($133,$165,$166,$164);
+ break;
+ }
+ $167 = $41;
+ $168 = (_ec_decode($133,$167)|0);
+ $42 = $168;
+ $169 = $42;
+ $170 = $40;
+ $171 = (($170) + 1)|0;
+ $172 = $38;
+ $173 = Math_imul($171, $172)|0;
+ $174 = ($169|0)<($173|0);
+ if ($174) {
+ $175 = $42;
+ $176 = $38;
+ $177 = (($175|0) / ($176|0))&-1;
+ $39 = $177;
+ } else {
+ $178 = $40;
+ $179 = (($178) + 1)|0;
+ $180 = $42;
+ $181 = $40;
+ $182 = (($181) + 1)|0;
+ $183 = $38;
+ $184 = Math_imul($182, $183)|0;
+ $185 = (($180) - ($184))|0;
+ $186 = (($179) + ($185))|0;
+ $39 = $186;
+ }
+ $187 = $36;
+ $188 = $39;
+ $189 = $40;
+ $190 = ($188|0)<=($189|0);
+ if ($190) {
+ $191 = $38;
+ $192 = $39;
+ $193 = Math_imul($191, $192)|0;
+ $219 = $193;
+ } else {
+ $194 = $39;
+ $195 = (($194) - 1)|0;
+ $196 = $40;
+ $197 = (($195) - ($196))|0;
+ $198 = $40;
+ $199 = (($198) + 1)|0;
+ $200 = $38;
+ $201 = Math_imul($199, $200)|0;
+ $202 = (($197) + ($201))|0;
+ $219 = $202;
+ }
+ $203 = $39;
+ $204 = $40;
+ $205 = ($203|0)<=($204|0);
+ if ($205) {
+ $206 = $38;
+ $207 = $39;
+ $208 = (($207) + 1)|0;
+ $209 = Math_imul($206, $208)|0;
+ $220 = $209;
+ } else {
+ $210 = $39;
+ $211 = $40;
+ $212 = (($210) - ($211))|0;
+ $213 = $40;
+ $214 = (($213) + 1)|0;
+ $215 = $38;
+ $216 = Math_imul($214, $215)|0;
+ $217 = (($212) + ($216))|0;
+ $220 = $217;
+ }
+ $218 = $41;
+ _ec_dec_update($187,$219,$220,$218);
+ $221 = $39;
+ $23 = $221;
+ } else {
+ $222 = $18;
+ $223 = ($222|0)>(1);
+ $224 = $20;
+ $225 = ($224|0)!=(0);
+ $or$cond3 = $223 | $225;
+ if ($or$cond3) {
+ $226 = $32;
+ $227 = ($226|0)!=(0);
+ $228 = $36;
+ if ($227) {
+ $229 = $23;
+ $230 = $22;
+ $231 = (($230) + 1)|0;
+ _ec_enc_uint($228,$229,$231);
+ break;
+ } else {
+ $232 = $22;
+ $233 = (($232) + 1)|0;
+ $234 = (_ec_dec_uint($228,$233)|0);
+ $23 = $234;
+ break;
+ }
+ }
+ $43 = 1;
+ $235 = $22;
+ $236 = $235 >> 1;
+ $237 = (($236) + 1)|0;
+ $238 = $22;
+ $239 = $238 >> 1;
+ $240 = (($239) + 1)|0;
+ $241 = Math_imul($237, $240)|0;
+ $44 = $241;
+ $242 = $32;
+ $243 = ($242|0)!=(0);
+ if (!($243)) {
+ $46 = 0;
+ $283 = $36;
+ $284 = $44;
+ $285 = (_ec_decode($283,$284)|0);
+ $47 = $285;
+ $286 = $47;
+ $287 = $22;
+ $288 = $287 >> 1;
+ $289 = $22;
+ $290 = $289 >> 1;
+ $291 = (($290) + 1)|0;
+ $292 = Math_imul($288, $291)|0;
+ $293 = $292 >> 1;
+ $294 = ($286|0)<($293|0);
+ if ($294) {
+ $295 = $47;
+ $296 = $295<<3;
+ $297 = (($296) + 1)|0;
+ $298 = (_isqrt32($297)|0);
+ $299 = (($298) - 1)|0;
+ $300 = $299 >>> 1;
+ $23 = $300;
+ $301 = $23;
+ $302 = (($301) + 1)|0;
+ $43 = $302;
+ $303 = $23;
+ $304 = $23;
+ $305 = (($304) + 1)|0;
+ $306 = Math_imul($303, $305)|0;
+ $307 = $306 >> 1;
+ $46 = $307;
+ } else {
+ $308 = $22;
+ $309 = (($308) + 1)|0;
+ $310 = $309<<1;
+ $311 = $44;
+ $312 = $47;
+ $313 = (($311) - ($312))|0;
+ $314 = (($313) - 1)|0;
+ $315 = $314<<3;
+ $316 = (($315) + 1)|0;
+ $317 = (_isqrt32($316)|0);
+ $318 = (($310) - ($317))|0;
+ $319 = $318 >>> 1;
+ $23 = $319;
+ $320 = $22;
+ $321 = (($320) + 1)|0;
+ $322 = $23;
+ $323 = (($321) - ($322))|0;
+ $43 = $323;
+ $324 = $44;
+ $325 = $22;
+ $326 = (($325) + 1)|0;
+ $327 = $23;
+ $328 = (($326) - ($327))|0;
+ $329 = $22;
+ $330 = (($329) + 2)|0;
+ $331 = $23;
+ $332 = (($330) - ($331))|0;
+ $333 = Math_imul($328, $332)|0;
+ $334 = $333 >> 1;
+ $335 = (($324) - ($334))|0;
+ $46 = $335;
+ }
+ $336 = $36;
+ $337 = $46;
+ $338 = $46;
+ $339 = $43;
+ $340 = (($338) + ($339))|0;
+ $341 = $44;
+ _ec_dec_update($336,$337,$340,$341);
+ break;
+ }
+ $244 = $23;
+ $245 = $22;
+ $246 = $245 >> 1;
+ $247 = ($244|0)<=($246|0);
+ if ($247) {
+ $248 = $23;
+ $249 = (($248) + 1)|0;
+ $254 = $249;
+ } else {
+ $250 = $22;
+ $251 = (($250) + 1)|0;
+ $252 = $23;
+ $253 = (($251) - ($252))|0;
+ $254 = $253;
+ }
+ $43 = $254;
+ $255 = $23;
+ $256 = $22;
+ $257 = $256 >> 1;
+ $258 = ($255|0)<=($257|0);
+ if ($258) {
+ $259 = $23;
+ $260 = $23;
+ $261 = (($260) + 1)|0;
+ $262 = Math_imul($259, $261)|0;
+ $263 = $262 >> 1;
+ $276 = $263;
+ } else {
+ $264 = $44;
+ $265 = $22;
+ $266 = (($265) + 1)|0;
+ $267 = $23;
+ $268 = (($266) - ($267))|0;
+ $269 = $22;
+ $270 = (($269) + 2)|0;
+ $271 = $23;
+ $272 = (($270) - ($271))|0;
+ $273 = Math_imul($268, $272)|0;
+ $274 = $273 >> 1;
+ $275 = (($264) - ($274))|0;
+ $276 = $275;
+ }
+ $45 = $276;
+ $277 = $36;
+ $278 = $45;
+ $279 = $45;
+ $280 = $43;
+ $281 = (($279) + ($280))|0;
+ $282 = $44;
+ _ec_encode($277,$278,$281,$282);
+ }
+ } while(0);
+ $342 = $23;
+ $343 = $342<<14;
+ $344 = $22;
+ $345 = (_celt_udiv_358($343,$344)|0);
+ $23 = $345;
+ $346 = $32;
+ $347 = ($346|0)!=(0);
+ $348 = $20;
+ $349 = ($348|0)!=(0);
+ $or$cond5 = $347 & $349;
+ if ($or$cond5) {
+ $350 = $23;
+ $351 = ($350|0)==(0);
+ if ($351) {
+ $352 = $33;
+ $353 = $13;
+ $354 = $14;
+ $355 = $37;
+ $356 = $34;
+ $357 = $15;
+ _intensity_stereo($352,$353,$354,$355,$356,$357);
+ break;
+ } else {
+ $358 = $13;
+ $359 = $14;
+ $360 = $15;
+ _stereo_split($358,$359,$360);
+ break;
+ }
+ }
+ } else {
+ $361 = $20;
+ $362 = ($361|0)!=(0);
+ if ($362) {
+ $363 = $32;
+ $364 = ($363|0)!=(0);
+ if ($364) {
+ $365 = $23;
+ $366 = ($365|0)>(8192);
+ $367 = $366&1;
+ $31 = $367;
+ $368 = $31;
+ $369 = ($368|0)!=(0);
+ L69: do {
+ if ($369) {
+ $48 = 0;
+ while(1) {
+ $370 = $48;
+ $371 = $15;
+ $372 = ($370|0)<($371|0);
+ if (!($372)) {
+ break L69;
+ }
+ $373 = $14;
+ $374 = $48;
+ $375 = (($373) + ($374<<2)|0);
+ $376 = +HEAPF32[$375>>2];
+ $377 = - $376;
+ $378 = $14;
+ $379 = $48;
+ $380 = (($378) + ($379<<2)|0);
+ HEAPF32[$380>>2] = $377;
+ $381 = $48;
+ $382 = (($381) + 1)|0;
+ $48 = $382;
+ }
+ }
+ } while(0);
+ $383 = $33;
+ $384 = $13;
+ $385 = $14;
+ $386 = $37;
+ $387 = $34;
+ $388 = $15;
+ _intensity_stereo($383,$384,$385,$386,$387,$388);
+ }
+ $389 = $16;
+ $390 = HEAP32[$389>>2]|0;
+ $391 = ($390|0)>(16);
+ do {
+ if ($391) {
+ $392 = $11;
+ $393 = ((($392)) + 28|0);
+ $394 = HEAP32[$393>>2]|0;
+ $395 = ($394|0)>(16);
+ if ($395) {
+ $396 = $32;
+ $397 = ($396|0)!=(0);
+ $398 = $36;
+ if ($397) {
+ $399 = $31;
+ _ec_enc_bit_logp($398,$399,2);
+ break;
+ } else {
+ $400 = (_ec_dec_bit_logp($398,2)|0);
+ $31 = $400;
+ break;
+ }
+ } else {
+ label = 60;
+ }
+ } else {
+ label = 60;
+ }
+ } while(0);
+ if ((label|0) == 60) {
+ $31 = 0;
+ }
+ $23 = 0;
+ }
+ }
+ } while(0);
+ $401 = $36;
+ $402 = (_ec_tell_frac($401)|0);
+ $403 = $30;
+ $404 = (($402) - ($403))|0;
+ $27 = $404;
+ $405 = $27;
+ $406 = $16;
+ $407 = HEAP32[$406>>2]|0;
+ $408 = (($407) - ($405))|0;
+ HEAP32[$406>>2] = $408;
+ $409 = $23;
+ $410 = ($409|0)==(0);
+ if ($410) {
+ $25 = 32767;
+ $26 = 0;
+ $411 = $17;
+ $412 = 1 << $411;
+ $413 = (($412) - 1)|0;
+ $414 = $21;
+ $415 = HEAP32[$414>>2]|0;
+ $416 = $415 & $413;
+ HEAP32[$414>>2] = $416;
+ $24 = -16384;
+ $449 = $31;
+ $450 = $12;
+ HEAP32[$450>>2] = $449;
+ $451 = $25;
+ $452 = $12;
+ $453 = ((($452)) + 4|0);
+ HEAP32[$453>>2] = $451;
+ $454 = $26;
+ $455 = $12;
+ $456 = ((($455)) + 8|0);
+ HEAP32[$456>>2] = $454;
+ $457 = $24;
+ $458 = $12;
+ $459 = ((($458)) + 12|0);
+ HEAP32[$459>>2] = $457;
+ $460 = $23;
+ $461 = $12;
+ $462 = ((($461)) + 16|0);
+ HEAP32[$462>>2] = $460;
+ $463 = $27;
+ $464 = $12;
+ $465 = ((($464)) + 20|0);
+ HEAP32[$465>>2] = $463;
+ STACKTOP = sp;return;
+ }
+ $417 = $23;
+ $418 = ($417|0)==(16384);
+ if ($418) {
+ $25 = 0;
+ $26 = 32767;
+ $419 = $17;
+ $420 = 1 << $419;
+ $421 = (($420) - 1)|0;
+ $422 = $17;
+ $423 = $421 << $422;
+ $424 = $21;
+ $425 = HEAP32[$424>>2]|0;
+ $426 = $425 & $423;
+ HEAP32[$424>>2] = $426;
+ $24 = 16384;
+ $449 = $31;
+ $450 = $12;
+ HEAP32[$450>>2] = $449;
+ $451 = $25;
+ $452 = $12;
+ $453 = ((($452)) + 4|0);
+ HEAP32[$453>>2] = $451;
+ $454 = $26;
+ $455 = $12;
+ $456 = ((($455)) + 8|0);
+ HEAP32[$456>>2] = $454;
+ $457 = $24;
+ $458 = $12;
+ $459 = ((($458)) + 12|0);
+ HEAP32[$459>>2] = $457;
+ $460 = $23;
+ $461 = $12;
+ $462 = ((($461)) + 16|0);
+ HEAP32[$462>>2] = $460;
+ $463 = $27;
+ $464 = $12;
+ $465 = ((($464)) + 20|0);
+ HEAP32[$465>>2] = $463;
+ STACKTOP = sp;return;
+ } else {
+ $427 = $23;
+ $428 = $427&65535;
+ $429 = (_bitexact_cos($428)|0);
+ $430 = $429 << 16 >> 16;
+ $25 = $430;
+ $431 = $23;
+ $432 = (16384 - ($431))|0;
+ $433 = $432&65535;
+ $434 = (_bitexact_cos($433)|0);
+ $435 = $434 << 16 >> 16;
+ $26 = $435;
+ $436 = $15;
+ $437 = (($436) - 1)|0;
+ $438 = $437 << 7;
+ $439 = $438&65535;
+ $440 = $439 << 16 >> 16;
+ $441 = $26;
+ $442 = $25;
+ $443 = (_bitexact_log2tan($441,$442)|0);
+ $444 = $443&65535;
+ $445 = $444 << 16 >> 16;
+ $446 = Math_imul($440, $445)|0;
+ $447 = (16384 + ($446))|0;
+ $448 = $447 >> 15;
+ $24 = $448;
+ $449 = $31;
+ $450 = $12;
+ HEAP32[$450>>2] = $449;
+ $451 = $25;
+ $452 = $12;
+ $453 = ((($452)) + 4|0);
+ HEAP32[$453>>2] = $451;
+ $454 = $26;
+ $455 = $12;
+ $456 = ((($455)) + 8|0);
+ HEAP32[$456>>2] = $454;
+ $457 = $24;
+ $458 = $12;
+ $459 = ((($458)) + 12|0);
+ HEAP32[$459>>2] = $457;
+ $460 = $23;
+ $461 = $12;
+ $462 = ((($461)) + 16|0);
+ HEAP32[$462>>2] = $460;
+ $463 = $27;
+ $464 = $12;
+ $465 = ((($464)) + 20|0);
+ HEAP32[$465>>2] = $463;
+ STACKTOP = sp;return;
+ }
+}
+function _stereo_merge($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0;
+ var $26 = 0.0, $27 = 0.0, $28 = 0.0, $29 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0;
+ var $46 = 0, $47 = 0.0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0.0, $62 = 0.0, $63 = 0.0;
+ var $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0.0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0.0, $81 = 0.0;
+ var $82 = 0, $83 = 0, $84 = 0, $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0.0, $96 = 0.0, $97 = 0.0, $98 = 0.0, $99 = 0, $or$cond = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $11 = sp + 36|0;
+ $12 = sp + 32|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ HEAPF32[$11>>2] = 0.0;
+ HEAPF32[$12>>2] = 0.0;
+ $21 = $6;
+ $22 = $5;
+ $23 = $6;
+ $24 = $8;
+ _dual_inner_prod_c_365($21,$22,$23,$24,$11,$12);
+ $25 = $7;
+ $26 = +HEAPF32[$11>>2];
+ $27 = $25 * $26;
+ HEAPF32[$11>>2] = $27;
+ $28 = $7;
+ $15 = $28;
+ $29 = $15;
+ $30 = $15;
+ $31 = $29 * $30;
+ $32 = +HEAPF32[$12>>2];
+ $33 = $31 + $32;
+ $34 = +HEAPF32[$11>>2];
+ $35 = 2.0 * $34;
+ $36 = $33 - $35;
+ $13 = $36;
+ $37 = $15;
+ $38 = $15;
+ $39 = $37 * $38;
+ $40 = +HEAPF32[$12>>2];
+ $41 = $39 + $40;
+ $42 = +HEAPF32[$11>>2];
+ $43 = 2.0 * $42;
+ $44 = $41 + $43;
+ $14 = $44;
+ $45 = $14;
+ $46 = $45 < 6.0000002849847078E-4;
+ $47 = $13;
+ $48 = $47 < 6.0000002849847078E-4;
+ $or$cond = $46 | $48;
+ if ($or$cond) {
+ $49 = $6;
+ $50 = $5;
+ $51 = $8;
+ $52 = $51<<2;
+ $53 = $6;
+ $54 = $5;
+ $55 = $53;
+ $56 = $54;
+ $57 = (($55) - ($56))|0;
+ $58 = (($57|0) / 4)&-1;
+ $59 = 0;
+ $60 = (($52) + ($59))|0;
+ _memcpy(($49|0),($50|0),($60|0))|0;
+ STACKTOP = sp;return;
+ }
+ $61 = $13;
+ $16 = $61;
+ $62 = $16;
+ $63 = $62;
+ $64 = (+Math_sqrt((+$63)));
+ $65 = $64;
+ $66 = 1.0 / $65;
+ $17 = $66;
+ $67 = $14;
+ $16 = $67;
+ $68 = $16;
+ $69 = $68;
+ $70 = (+Math_sqrt((+$69)));
+ $71 = $70;
+ $72 = 1.0 / $71;
+ $18 = $72;
+ $10 = 0;
+ while(1) {
+ $73 = $10;
+ $74 = $8;
+ $75 = ($73|0)<($74|0);
+ if (!($75)) {
+ break;
+ }
+ $76 = $7;
+ $77 = $5;
+ $78 = $10;
+ $79 = (($77) + ($78<<2)|0);
+ $80 = +HEAPF32[$79>>2];
+ $81 = $76 * $80;
+ $20 = $81;
+ $82 = $6;
+ $83 = $10;
+ $84 = (($82) + ($83<<2)|0);
+ $85 = +HEAPF32[$84>>2];
+ $19 = $85;
+ $86 = $17;
+ $87 = $20;
+ $88 = $19;
+ $89 = $87 - $88;
+ $90 = $86 * $89;
+ $91 = $5;
+ $92 = $10;
+ $93 = (($91) + ($92<<2)|0);
+ HEAPF32[$93>>2] = $90;
+ $94 = $18;
+ $95 = $20;
+ $96 = $19;
+ $97 = $95 + $96;
+ $98 = $94 * $97;
+ $99 = $6;
+ $100 = $10;
+ $101 = (($99) + ($100<<2)|0);
+ HEAPF32[$101>>2] = $98;
+ $102 = $10;
+ $103 = (($102) + 1)|0;
+ $10 = $103;
+ }
+ STACKTOP = sp;return;
+}
+function _dual_inner_prod_c_365($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0.0, $27 = 0.0, $28 = 0.0, $29 = 0.0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $13 = 0.0;
+ $14 = 0.0;
+ $12 = 0;
+ while(1) {
+ $15 = $12;
+ $16 = $9;
+ $17 = ($15|0)<($16|0);
+ $18 = $13;
+ if (!($17)) {
+ break;
+ }
+ $19 = $6;
+ $20 = $12;
+ $21 = (($19) + ($20<<2)|0);
+ $22 = +HEAPF32[$21>>2];
+ $23 = $7;
+ $24 = $12;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = +HEAPF32[$25>>2];
+ $27 = $22 * $26;
+ $28 = $18 + $27;
+ $13 = $28;
+ $29 = $14;
+ $30 = $6;
+ $31 = $12;
+ $32 = (($30) + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $8;
+ $35 = $12;
+ $36 = (($34) + ($35<<2)|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $33 * $37;
+ $39 = $29 + $38;
+ $14 = $39;
+ $40 = $12;
+ $41 = (($40) + 1)|0;
+ $12 = $41;
+ }
+ $42 = $10;
+ HEAPF32[$42>>2] = $18;
+ $43 = $14;
+ $44 = $11;
+ HEAPF32[$44>>2] = $43;
+ STACKTOP = sp;return;
+}
+function _compute_qn($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $13 = $5;
+ $14 = $13<<1;
+ $15 = (($14) - 1)|0;
+ $12 = $15;
+ $16 = $9;
+ $17 = ($16|0)!=(0);
+ $18 = $5;
+ $19 = ($18|0)==(2);
+ $or$cond = $17 & $19;
+ if ($or$cond) {
+ $20 = $12;
+ $21 = (($20) + -1)|0;
+ $12 = $21;
+ }
+ $22 = $6;
+ $23 = $12;
+ $24 = $7;
+ $25 = Math_imul($23, $24)|0;
+ $26 = (($22) + ($25))|0;
+ $27 = $12;
+ $28 = (_celt_sudiv($26,$27)|0);
+ $11 = $28;
+ $29 = $6;
+ $30 = $8;
+ $31 = (($29) - ($30))|0;
+ $32 = (($31) - 32)|0;
+ $33 = $11;
+ $34 = ($32|0)<($33|0);
+ if ($34) {
+ $35 = $6;
+ $36 = $8;
+ $37 = (($35) - ($36))|0;
+ $38 = (($37) - 32)|0;
+ $40 = $38;
+ } else {
+ $39 = $11;
+ $40 = $39;
+ }
+ $11 = $40;
+ $41 = $11;
+ $42 = (64)<($41|0);
+ $43 = $11;
+ $44 = $42 ? 64 : $43;
+ $11 = $44;
+ $45 = $11;
+ $46 = ($45|0)<(4);
+ if ($46) {
+ $10 = 1;
+ $60 = $10;
+ STACKTOP = sp;return ($60|0);
+ } else {
+ $47 = $11;
+ $48 = $47 & 7;
+ $49 = (25378 + ($48<<1)|0);
+ $50 = HEAP16[$49>>1]|0;
+ $51 = $50 << 16 >> 16;
+ $52 = $11;
+ $53 = $52 >> 3;
+ $54 = (14 - ($53))|0;
+ $55 = $51 >> $54;
+ $10 = $55;
+ $56 = $10;
+ $57 = (($56) + 1)|0;
+ $58 = $57 >> 1;
+ $59 = $58 << 1;
+ $10 = $59;
+ $60 = $10;
+ STACKTOP = sp;return ($60|0);
+ }
+ return (0)|0;
+}
+function _intensity_stereo($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0.0;
+ var $50 = 0.0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0;
+ var $69 = 0.0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $21 = $10;
+ $12 = $21;
+ $22 = $9;
+ $23 = $12;
+ $24 = (($22) + ($23<<2)|0);
+ $25 = +HEAPF32[$24>>2];
+ $16 = $25;
+ $26 = $9;
+ $27 = $12;
+ $28 = $6;
+ $29 = ((($28)) + 8|0);
+ $30 = HEAP32[$29>>2]|0;
+ $31 = (($27) + ($30))|0;
+ $32 = (($26) + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $17 = $33;
+ $34 = $16;
+ $35 = $16;
+ $36 = $34 * $35;
+ $37 = 1.0000000036274937E-15 + $36;
+ $38 = $17;
+ $39 = $17;
+ $40 = $38 * $39;
+ $41 = $37 + $40;
+ $42 = $41;
+ $43 = (+Math_sqrt((+$42)));
+ $44 = $43;
+ $45 = 1.0000000036274937E-15 + $44;
+ $18 = $45;
+ $46 = $16;
+ $47 = $18;
+ $48 = $46 / $47;
+ $14 = $48;
+ $49 = $17;
+ $50 = $18;
+ $51 = $49 / $50;
+ $15 = $51;
+ $13 = 0;
+ while(1) {
+ $52 = $13;
+ $53 = $11;
+ $54 = ($52|0)<($53|0);
+ if (!($54)) {
+ break;
+ }
+ $55 = $7;
+ $56 = $13;
+ $57 = (($55) + ($56<<2)|0);
+ $58 = +HEAPF32[$57>>2];
+ $20 = $58;
+ $59 = $8;
+ $60 = $13;
+ $61 = (($59) + ($60<<2)|0);
+ $62 = +HEAPF32[$61>>2];
+ $19 = $62;
+ $63 = $14;
+ $64 = $20;
+ $65 = $63 * $64;
+ $66 = $15;
+ $67 = $19;
+ $68 = $66 * $67;
+ $69 = $65 + $68;
+ $70 = $7;
+ $71 = $13;
+ $72 = (($70) + ($71<<2)|0);
+ HEAPF32[$72>>2] = $69;
+ $73 = $13;
+ $74 = (($73) + 1)|0;
+ $13 = $74;
+ }
+ STACKTOP = sp;return;
+}
+function _stereo_split($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0, $18 = 0, $19 = 0, $20 = 0.0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0.0;
+ var $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0.0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = 0;
+ while(1) {
+ $9 = $6;
+ $10 = $5;
+ $11 = ($9|0)<($10|0);
+ if (!($11)) {
+ break;
+ }
+ $12 = $3;
+ $13 = $6;
+ $14 = (($12) + ($13<<2)|0);
+ $15 = +HEAPF32[$14>>2];
+ $16 = 0.70710676908493042 * $15;
+ $8 = $16;
+ $17 = $4;
+ $18 = $6;
+ $19 = (($17) + ($18<<2)|0);
+ $20 = +HEAPF32[$19>>2];
+ $21 = 0.70710676908493042 * $20;
+ $7 = $21;
+ $22 = $8;
+ $23 = $7;
+ $24 = $22 + $23;
+ $25 = $3;
+ $26 = $6;
+ $27 = (($25) + ($26<<2)|0);
+ HEAPF32[$27>>2] = $24;
+ $28 = $7;
+ $29 = $8;
+ $30 = $28 - $29;
+ $31 = $4;
+ $32 = $6;
+ $33 = (($31) + ($32<<2)|0);
+ HEAPF32[$33>>2] = $30;
+ $34 = $6;
+ $35 = (($34) + 1)|0;
+ $6 = $35;
+ }
+ STACKTOP = sp;return;
+}
+function _bitexact_cos($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $4 = $1;
+ $5 = $4 << 16 >> 16;
+ $6 = $1;
+ $7 = $6 << 16 >> 16;
+ $8 = Math_imul($5, $7)|0;
+ $9 = (4096 + ($8))|0;
+ $10 = $9 >> 13;
+ $2 = $10;
+ $11 = $2;
+ $12 = $11&65535;
+ $3 = $12;
+ $13 = $3;
+ $14 = $13 << 16 >> 16;
+ $15 = (32767 - ($14))|0;
+ $16 = $3;
+ $17 = $16 << 16 >> 16;
+ $18 = $3;
+ $19 = $18 << 16 >> 16;
+ $20 = $3;
+ $21 = $20 << 16 >> 16;
+ $22 = Math_imul(-626, $21)|0;
+ $23 = (16384 + ($22))|0;
+ $24 = $23 >> 15;
+ $25 = (8277 + ($24))|0;
+ $26 = $25&65535;
+ $27 = $26 << 16 >> 16;
+ $28 = Math_imul($19, $27)|0;
+ $29 = (16384 + ($28))|0;
+ $30 = $29 >> 15;
+ $31 = (-7651 + ($30))|0;
+ $32 = $31&65535;
+ $33 = $32 << 16 >> 16;
+ $34 = Math_imul($17, $33)|0;
+ $35 = (16384 + ($34))|0;
+ $36 = $35 >> 15;
+ $37 = (($15) + ($36))|0;
+ $38 = $37&65535;
+ $3 = $38;
+ $39 = $3;
+ $40 = $39 << 16 >> 16;
+ $41 = (1 + ($40))|0;
+ $42 = $41&65535;
+ STACKTOP = sp;return ($42|0);
+}
+function _bitexact_log2tan($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $6 = $3;
+ $7 = (Math_clz32(($6|0))|0);
+ $8 = (32 - ($7))|0;
+ $4 = $8;
+ $9 = $2;
+ $10 = (Math_clz32(($9|0))|0);
+ $11 = (32 - ($10))|0;
+ $5 = $11;
+ $12 = $4;
+ $13 = (15 - ($12))|0;
+ $14 = $3;
+ $15 = $14 << $13;
+ $3 = $15;
+ $16 = $5;
+ $17 = (15 - ($16))|0;
+ $18 = $2;
+ $19 = $18 << $17;
+ $2 = $19;
+ $20 = $5;
+ $21 = $4;
+ $22 = (($20) - ($21))|0;
+ $23 = $22<<11;
+ $24 = $2;
+ $25 = $24&65535;
+ $26 = $25 << 16 >> 16;
+ $27 = $2;
+ $28 = $27&65535;
+ $29 = $28 << 16 >> 16;
+ $30 = Math_imul($29, -2597)|0;
+ $31 = (16384 + ($30))|0;
+ $32 = $31 >> 15;
+ $33 = (($32) + 7932)|0;
+ $34 = $33&65535;
+ $35 = $34 << 16 >> 16;
+ $36 = Math_imul($26, $35)|0;
+ $37 = (16384 + ($36))|0;
+ $38 = $37 >> 15;
+ $39 = (($23) + ($38))|0;
+ $40 = $3;
+ $41 = $40&65535;
+ $42 = $41 << 16 >> 16;
+ $43 = $3;
+ $44 = $43&65535;
+ $45 = $44 << 16 >> 16;
+ $46 = Math_imul($45, -2597)|0;
+ $47 = (16384 + ($46))|0;
+ $48 = $47 >> 15;
+ $49 = (($48) + 7932)|0;
+ $50 = $49&65535;
+ $51 = $50 << 16 >> 16;
+ $52 = Math_imul($42, $51)|0;
+ $53 = (16384 + ($52))|0;
+ $54 = $53 >> 15;
+ $55 = (($39) - ($54))|0;
+ STACKTOP = sp;return ($55|0);
+}
+function _deinterleave_hadamard($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$alloca_mul = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0.0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $13 = $5;
+ $14 = $6;
+ $15 = Math_imul($13, $14)|0;
+ $10 = $15;
+ $16 = $10;
+ $17 = (_llvm_stacksave()|0);
+ $11 = $17;
+ $$alloca_mul = $16<<2;
+ $18 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $19 = $7;
+ $20 = ($19|0)!=(0);
+ if ($20) {
+ $21 = $6;
+ $22 = (16912 + ($21<<2)|0);
+ $23 = ((($22)) + -8|0);
+ $12 = $23;
+ $8 = 0;
+ while(1) {
+ $24 = $8;
+ $25 = $6;
+ $26 = ($24|0)<($25|0);
+ if (!($26)) {
+ break;
+ }
+ $9 = 0;
+ while(1) {
+ $27 = $9;
+ $28 = $5;
+ $29 = ($27|0)<($28|0);
+ if (!($29)) {
+ break;
+ }
+ $30 = $4;
+ $31 = $9;
+ $32 = $6;
+ $33 = Math_imul($31, $32)|0;
+ $34 = $8;
+ $35 = (($33) + ($34))|0;
+ $36 = (($30) + ($35<<2)|0);
+ $37 = +HEAPF32[$36>>2];
+ $38 = $12;
+ $39 = $8;
+ $40 = (($38) + ($39<<2)|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = $5;
+ $43 = Math_imul($41, $42)|0;
+ $44 = $9;
+ $45 = (($43) + ($44))|0;
+ $46 = (($18) + ($45<<2)|0);
+ HEAPF32[$46>>2] = $37;
+ $47 = $9;
+ $48 = (($47) + 1)|0;
+ $9 = $48;
+ }
+ $49 = $8;
+ $50 = (($49) + 1)|0;
+ $8 = $50;
+ }
+ $75 = $4;
+ $76 = $10;
+ $77 = $76<<2;
+ $78 = $4;
+ $79 = $78;
+ $80 = $18;
+ $81 = (($79) - ($80))|0;
+ $82 = (($81|0) / 4)&-1;
+ $83 = 0;
+ $84 = (($77) + ($83))|0;
+ _memcpy(($75|0),($18|0),($84|0))|0;
+ $85 = $11;
+ _llvm_stackrestore(($85|0));
+ STACKTOP = sp;return;
+ } else {
+ $8 = 0;
+ while(1) {
+ $51 = $8;
+ $52 = $6;
+ $53 = ($51|0)<($52|0);
+ if (!($53)) {
+ break;
+ }
+ $9 = 0;
+ while(1) {
+ $54 = $9;
+ $55 = $5;
+ $56 = ($54|0)<($55|0);
+ if (!($56)) {
+ break;
+ }
+ $57 = $4;
+ $58 = $9;
+ $59 = $6;
+ $60 = Math_imul($58, $59)|0;
+ $61 = $8;
+ $62 = (($60) + ($61))|0;
+ $63 = (($57) + ($62<<2)|0);
+ $64 = +HEAPF32[$63>>2];
+ $65 = $8;
+ $66 = $5;
+ $67 = Math_imul($65, $66)|0;
+ $68 = $9;
+ $69 = (($67) + ($68))|0;
+ $70 = (($18) + ($69<<2)|0);
+ HEAPF32[$70>>2] = $64;
+ $71 = $9;
+ $72 = (($71) + 1)|0;
+ $9 = $72;
+ }
+ $73 = $8;
+ $74 = (($73) + 1)|0;
+ $8 = $74;
+ }
+ $75 = $4;
+ $76 = $10;
+ $77 = $76<<2;
+ $78 = $4;
+ $79 = $78;
+ $80 = $18;
+ $81 = (($79) - ($80))|0;
+ $82 = (($81|0) / 4)&-1;
+ $83 = 0;
+ $84 = (($77) + ($83))|0;
+ _memcpy(($75|0),($18|0),($84|0))|0;
+ $85 = $11;
+ _llvm_stackrestore(($85|0));
+ STACKTOP = sp;return;
+ }
+}
+function _quant_partition($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = +$7;
+ $8 = $8|0;
+ var $$sink8 = 0, $$sink9 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0.0, $136 = 0.0, $137 = 0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
+ var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0.0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
+ var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
+ var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0;
+ var $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0.0, $218 = 0.0, $219 = 0.0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0;
+ var $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0.0, $240 = 0, $241 = 0, $242 = 0;
+ var $243 = 0, $244 = 0.0, $245 = 0.0, $246 = 0.0, $247 = 0, $248 = 0, $249 = 0, $25 = 0.0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0;
+ var $261 = 0, $262 = 0.0, $263 = 0.0, $264 = 0.0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0;
+ var $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0.0, $295 = 0.0, $296 = 0.0, $297 = 0;
+ var $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0;
+ var $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0;
+ var $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0.0, $351 = 0;
+ var $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0;
+ var $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0.0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0;
+ var $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0.0, $402 = 0.0, $403 = 0.0, $404 = 0, $405 = 0, $406 = 0;
+ var $407 = 0.0, $408 = 0.0, $409 = 0.0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0.0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $43 = 0, $44 = 0;
+ var $45 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, $or$cond5 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
+ $12 = sp + 152|0;
+ $17 = sp + 132|0;
+ $39 = sp + 24|0;
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ HEAP32[$12>>2] = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ HEAP32[$17>>2] = $8;
+ $21 = 0;
+ $22 = 0;
+ $46 = $13;
+ $23 = $46;
+ $24 = 0.0;
+ $25 = 0.0;
+ $26 = 0;
+ $47 = $9;
+ $48 = HEAP32[$47>>2]|0;
+ $49 = ($48|0)!=(0);
+ $50 = $49 ^ 1;
+ $51 = $50&1;
+ $27 = $51;
+ $28 = 0;
+ $52 = $9;
+ $53 = HEAP32[$52>>2]|0;
+ $29 = $53;
+ $54 = $9;
+ $55 = ((($54)) + 4|0);
+ $56 = HEAP32[$55>>2]|0;
+ $30 = $56;
+ $57 = $9;
+ $58 = ((($57)) + 8|0);
+ $59 = HEAP32[$58>>2]|0;
+ $31 = $59;
+ $60 = $9;
+ $61 = ((($60)) + 16|0);
+ $62 = HEAP32[$61>>2]|0;
+ $32 = $62;
+ $63 = $9;
+ $64 = ((($63)) + 24|0);
+ $65 = HEAP32[$64>>2]|0;
+ $33 = $65;
+ $66 = $30;
+ $67 = ((($66)) + 92|0);
+ $68 = ((($67)) + 8|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = $30;
+ $71 = ((($70)) + 92|0);
+ $72 = ((($71)) + 4|0);
+ $73 = HEAP32[$72>>2]|0;
+ $74 = $15;
+ $75 = (($74) + 1)|0;
+ $76 = $30;
+ $77 = ((($76)) + 8|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = Math_imul($75, $78)|0;
+ $80 = $31;
+ $81 = (($79) + ($80))|0;
+ $82 = (($73) + ($81<<1)|0);
+ $83 = HEAP16[$82>>1]|0;
+ $84 = $83 << 16 >> 16;
+ $85 = (($69) + ($84)|0);
+ $18 = $85;
+ $86 = $15;
+ $87 = ($86|0)!=(-1);
+ if ($87) {
+ $88 = HEAP32[$12>>2]|0;
+ $89 = $18;
+ $90 = $18;
+ $91 = HEAP8[$90>>0]|0;
+ $92 = $91&255;
+ $93 = (($89) + ($92)|0);
+ $94 = HEAP8[$93>>0]|0;
+ $95 = $94&255;
+ $96 = (($95) + 12)|0;
+ $97 = ($88|0)>($96|0);
+ $98 = $11;
+ $99 = ($98|0)>(2);
+ $or$cond = $97 & $99;
+ if ($or$cond) {
+ $40 = 0;
+ $100 = $11;
+ $101 = $100 >> 1;
+ $11 = $101;
+ $102 = $10;
+ $103 = $11;
+ $104 = (($102) + ($103<<2)|0);
+ $28 = $104;
+ $105 = $15;
+ $106 = (($105) - 1)|0;
+ $15 = $106;
+ $107 = $13;
+ $108 = ($107|0)==(1);
+ if ($108) {
+ $109 = HEAP32[$17>>2]|0;
+ $110 = $109 & 1;
+ $111 = HEAP32[$17>>2]|0;
+ $112 = $111 << 1;
+ $113 = $110 | $112;
+ HEAP32[$17>>2] = $113;
+ }
+ $114 = $13;
+ $115 = (($114) + 1)|0;
+ $116 = $115 >> 1;
+ $13 = $116;
+ $117 = $9;
+ $118 = $10;
+ $119 = $28;
+ $120 = $11;
+ $121 = $13;
+ $122 = $23;
+ $123 = $15;
+ _compute_theta($117,$39,$118,$119,$120,$12,$121,$122,$123,0,$17);
+ $124 = ((($39)) + 4|0);
+ $125 = HEAP32[$124>>2]|0;
+ $21 = $125;
+ $126 = ((($39)) + 8|0);
+ $127 = HEAP32[$126>>2]|0;
+ $22 = $127;
+ $128 = ((($39)) + 12|0);
+ $129 = HEAP32[$128>>2]|0;
+ $36 = $129;
+ $130 = ((($39)) + 16|0);
+ $131 = HEAP32[$130>>2]|0;
+ $37 = $131;
+ $132 = ((($39)) + 20|0);
+ $133 = HEAP32[$132>>2]|0;
+ $38 = $133;
+ $134 = $21;
+ $135 = (+($134|0));
+ $136 = 3.0517578125E-5 * $135;
+ $24 = $136;
+ $137 = $22;
+ $138 = (+($137|0));
+ $139 = 3.0517578125E-5 * $138;
+ $25 = $139;
+ $140 = $23;
+ $141 = ($140|0)>(1);
+ do {
+ if ($141) {
+ $142 = $37;
+ $143 = $142 & 16383;
+ $144 = ($143|0)!=(0);
+ if ($144) {
+ $145 = $37;
+ $146 = ($145|0)>(8192);
+ $147 = $36;
+ if ($146) {
+ $148 = $15;
+ $149 = (4 - ($148))|0;
+ $150 = $147 >> $149;
+ $151 = $36;
+ $152 = (($151) - ($150))|0;
+ $36 = $152;
+ break;
+ }
+ $153 = $11;
+ $154 = $153 << 3;
+ $155 = $15;
+ $156 = (5 - ($155))|0;
+ $157 = $154 >> $156;
+ $158 = (($147) + ($157))|0;
+ $159 = (0)<($158|0);
+ if ($159) {
+ $167 = 0;
+ } else {
+ $160 = $36;
+ $161 = $11;
+ $162 = $161 << 3;
+ $163 = $15;
+ $164 = (5 - ($163))|0;
+ $165 = $162 >> $164;
+ $166 = (($160) + ($165))|0;
+ $167 = $166;
+ }
+ $36 = $167;
+ }
+ }
+ } while(0);
+ $168 = HEAP32[$12>>2]|0;
+ $169 = HEAP32[$12>>2]|0;
+ $170 = $36;
+ $171 = (($169) - ($170))|0;
+ $172 = (($171|0) / 2)&-1;
+ $173 = ($168|0)<($172|0);
+ $174 = HEAP32[$12>>2]|0;
+ if ($173) {
+ $179 = $174;
+ } else {
+ $175 = $36;
+ $176 = (($174) - ($175))|0;
+ $177 = (($176|0) / 2)&-1;
+ $179 = $177;
+ }
+ $178 = (0)>($179|0);
+ if ($178) {
+ $190 = 0;
+ } else {
+ $180 = HEAP32[$12>>2]|0;
+ $181 = HEAP32[$12>>2]|0;
+ $182 = $36;
+ $183 = (($181) - ($182))|0;
+ $184 = (($183|0) / 2)&-1;
+ $185 = ($180|0)<($184|0);
+ $186 = HEAP32[$12>>2]|0;
+ if ($185) {
+ $190 = $186;
+ } else {
+ $187 = $36;
+ $188 = (($186) - ($187))|0;
+ $189 = (($188|0) / 2)&-1;
+ $190 = $189;
+ }
+ }
+ $34 = $190;
+ $191 = HEAP32[$12>>2]|0;
+ $192 = $34;
+ $193 = (($191) - ($192))|0;
+ $35 = $193;
+ $194 = $38;
+ $195 = $9;
+ $196 = ((($195)) + 28|0);
+ $197 = HEAP32[$196>>2]|0;
+ $198 = (($197) - ($194))|0;
+ HEAP32[$196>>2] = $198;
+ $199 = $14;
+ $200 = ($199|0)!=(0|0);
+ if ($200) {
+ $201 = $14;
+ $202 = $11;
+ $203 = (($201) + ($202<<2)|0);
+ $40 = $203;
+ }
+ $204 = $9;
+ $205 = ((($204)) + 28|0);
+ $206 = HEAP32[$205>>2]|0;
+ $41 = $206;
+ $207 = $34;
+ $208 = $35;
+ $209 = ($207|0)>=($208|0);
+ $210 = $9;
+ if ($209) {
+ $211 = $10;
+ $212 = $11;
+ $213 = $34;
+ $214 = $13;
+ $215 = $14;
+ $216 = $15;
+ $217 = $16;
+ $218 = $24;
+ $219 = $217 * $218;
+ $220 = HEAP32[$17>>2]|0;
+ $221 = (_quant_partition($210,$211,$212,$213,$214,$215,$216,$219,$220)|0);
+ $26 = $221;
+ $222 = $34;
+ $223 = $41;
+ $224 = $9;
+ $225 = ((($224)) + 28|0);
+ $226 = HEAP32[$225>>2]|0;
+ $227 = (($223) - ($226))|0;
+ $228 = (($222) - ($227))|0;
+ $41 = $228;
+ $229 = $41;
+ $230 = ($229|0)>(24);
+ $231 = $37;
+ $232 = ($231|0)!=(0);
+ $or$cond3 = $230 & $232;
+ if ($or$cond3) {
+ $233 = $41;
+ $234 = (($233) - 24)|0;
+ $235 = $35;
+ $236 = (($235) + ($234))|0;
+ $35 = $236;
+ }
+ $237 = $9;
+ $238 = $28;
+ $239 = $11;
+ $240 = $35;
+ $241 = $13;
+ $242 = $40;
+ $243 = $15;
+ $244 = $16;
+ $245 = $25;
+ $246 = $244 * $245;
+ $247 = HEAP32[$17>>2]|0;
+ $248 = $13;
+ $249 = $247 >> $248;
+ $250 = (_quant_partition($237,$238,$239,$240,$241,$242,$243,$246,$249)|0);
+ $251 = $23;
+ $252 = $251 >> 1;
+ $253 = $250 << $252;
+ $254 = $26;
+ $255 = $254 | $253;
+ $26 = $255;
+ $422 = $26;
+ STACKTOP = sp;return ($422|0);
+ } else {
+ $256 = $28;
+ $257 = $11;
+ $258 = $35;
+ $259 = $13;
+ $260 = $40;
+ $261 = $15;
+ $262 = $16;
+ $263 = $25;
+ $264 = $262 * $263;
+ $265 = HEAP32[$17>>2]|0;
+ $266 = $13;
+ $267 = $265 >> $266;
+ $268 = (_quant_partition($210,$256,$257,$258,$259,$260,$261,$264,$267)|0);
+ $269 = $23;
+ $270 = $269 >> 1;
+ $271 = $268 << $270;
+ $26 = $271;
+ $272 = $35;
+ $273 = $41;
+ $274 = $9;
+ $275 = ((($274)) + 28|0);
+ $276 = HEAP32[$275>>2]|0;
+ $277 = (($273) - ($276))|0;
+ $278 = (($272) - ($277))|0;
+ $41 = $278;
+ $279 = $41;
+ $280 = ($279|0)>(24);
+ $281 = $37;
+ $282 = ($281|0)!=(16384);
+ $or$cond5 = $280 & $282;
+ if ($or$cond5) {
+ $283 = $41;
+ $284 = (($283) - 24)|0;
+ $285 = $34;
+ $286 = (($285) + ($284))|0;
+ $34 = $286;
+ }
+ $287 = $9;
+ $288 = $10;
+ $289 = $11;
+ $290 = $34;
+ $291 = $13;
+ $292 = $14;
+ $293 = $15;
+ $294 = $16;
+ $295 = $24;
+ $296 = $294 * $295;
+ $297 = HEAP32[$17>>2]|0;
+ $298 = (_quant_partition($287,$288,$289,$290,$291,$292,$293,$296,$297)|0);
+ $299 = $26;
+ $300 = $299 | $298;
+ $26 = $300;
+ $422 = $26;
+ STACKTOP = sp;return ($422|0);
+ }
+ }
+ }
+ $301 = $30;
+ $302 = $31;
+ $303 = $15;
+ $304 = HEAP32[$12>>2]|0;
+ $305 = (_bits2pulses($301,$302,$303,$304)|0);
+ $19 = $305;
+ $306 = $30;
+ $307 = $31;
+ $308 = $15;
+ $309 = $19;
+ $310 = (_pulses2bits($306,$307,$308,$309)|0);
+ $20 = $310;
+ $311 = $20;
+ $312 = $9;
+ $$sink8 = $311;$$sink9 = $312;
+ while(1) {
+ $313 = ((($$sink9)) + 28|0);
+ $314 = HEAP32[$313>>2]|0;
+ $315 = (($314) - ($$sink8))|0;
+ HEAP32[$313>>2] = $315;
+ $316 = $9;
+ $317 = ((($316)) + 28|0);
+ $318 = HEAP32[$317>>2]|0;
+ $319 = ($318|0)<(0);
+ $320 = $19;
+ $321 = ($320|0)>(0);
+ $322 = $319 ? $321 : 0;
+ if (!($322)) {
+ break;
+ }
+ $323 = $20;
+ $324 = $9;
+ $325 = ((($324)) + 28|0);
+ $326 = HEAP32[$325>>2]|0;
+ $327 = (($326) + ($323))|0;
+ HEAP32[$325>>2] = $327;
+ $328 = $19;
+ $329 = (($328) + -1)|0;
+ $19 = $329;
+ $330 = $30;
+ $331 = $31;
+ $332 = $15;
+ $333 = $19;
+ $334 = (_pulses2bits($330,$331,$332,$333)|0);
+ $20 = $334;
+ $335 = $20;
+ $336 = $9;
+ $$sink8 = $335;$$sink9 = $336;
+ }
+ $337 = $19;
+ $338 = ($337|0)!=(0);
+ if ($338) {
+ $339 = $19;
+ $340 = (_get_pulses($339)|0);
+ $42 = $340;
+ $341 = $29;
+ $342 = ($341|0)!=(0);
+ $343 = $10;
+ $344 = $11;
+ $345 = $42;
+ $346 = $32;
+ $347 = $13;
+ $348 = $33;
+ if ($342) {
+ $349 = (_alg_quant($343,$344,$345,$346,$347,$348)|0);
+ $26 = $349;
+ $422 = $26;
+ STACKTOP = sp;return ($422|0);
+ } else {
+ $350 = $16;
+ $351 = (_alg_unquant($343,$344,$345,$346,$347,$348,$350)|0);
+ $26 = $351;
+ $422 = $26;
+ STACKTOP = sp;return ($422|0);
+ }
+ }
+ $352 = $27;
+ $353 = ($352|0)!=(0);
+ if (!($353)) {
+ $422 = $26;
+ STACKTOP = sp;return ($422|0);
+ }
+ $354 = $13;
+ $355 = 1 << $354;
+ $356 = (($355) - 1)|0;
+ $44 = $356;
+ $357 = $44;
+ $358 = HEAP32[$17>>2]|0;
+ $359 = $358 & $357;
+ HEAP32[$17>>2] = $359;
+ $360 = HEAP32[$17>>2]|0;
+ $361 = ($360|0)!=(0);
+ if (!($361)) {
+ $362 = $10;
+ $363 = $11;
+ $364 = $363<<2;
+ _memset(($362|0),0,($364|0))|0;
+ $422 = $26;
+ STACKTOP = sp;return ($422|0);
+ }
+ $365 = $14;
+ $366 = ($365|0)==(0|0);
+ $43 = 0;
+ if ($366) {
+ while(1) {
+ $367 = $43;
+ $368 = $11;
+ $369 = ($367|0)<($368|0);
+ if (!($369)) {
+ break;
+ }
+ $370 = $9;
+ $371 = ((($370)) + 36|0);
+ $372 = HEAP32[$371>>2]|0;
+ $373 = (_celt_lcg_rand($372)|0);
+ $374 = $9;
+ $375 = ((($374)) + 36|0);
+ HEAP32[$375>>2] = $373;
+ $376 = $9;
+ $377 = ((($376)) + 36|0);
+ $378 = HEAP32[$377>>2]|0;
+ $379 = $378 >> 20;
+ $380 = (+($379|0));
+ $381 = $10;
+ $382 = $43;
+ $383 = (($381) + ($382<<2)|0);
+ HEAPF32[$383>>2] = $380;
+ $384 = $43;
+ $385 = (($384) + 1)|0;
+ $43 = $385;
+ }
+ $386 = $44;
+ $26 = $386;
+ } else {
+ while(1) {
+ $387 = $43;
+ $388 = $11;
+ $389 = ($387|0)<($388|0);
+ if (!($389)) {
+ break;
+ }
+ $390 = $9;
+ $391 = ((($390)) + 36|0);
+ $392 = HEAP32[$391>>2]|0;
+ $393 = (_celt_lcg_rand($392)|0);
+ $394 = $9;
+ $395 = ((($394)) + 36|0);
+ HEAP32[$395>>2] = $393;
+ $45 = 0.00390625;
+ $396 = $9;
+ $397 = ((($396)) + 36|0);
+ $398 = HEAP32[$397>>2]|0;
+ $399 = $398 & 32768;
+ $400 = ($399|0)!=(0);
+ $401 = $45;
+ $402 = - $401;
+ $403 = $400 ? $401 : $402;
+ $45 = $403;
+ $404 = $14;
+ $405 = $43;
+ $406 = (($404) + ($405<<2)|0);
+ $407 = +HEAPF32[$406>>2];
+ $408 = $45;
+ $409 = $407 + $408;
+ $410 = $10;
+ $411 = $43;
+ $412 = (($410) + ($411<<2)|0);
+ HEAPF32[$412>>2] = $409;
+ $413 = $43;
+ $414 = (($413) + 1)|0;
+ $43 = $414;
+ }
+ $415 = HEAP32[$17>>2]|0;
+ $26 = $415;
+ }
+ $416 = $10;
+ $417 = $11;
+ $418 = $16;
+ $419 = $9;
+ $420 = ((($419)) + 40|0);
+ $421 = HEAP32[$420>>2]|0;
+ _renormalise_vector($416,$417,$418,$421);
+ $422 = $26;
+ STACKTOP = sp;return ($422|0);
+}
+function _interleave_hadamard($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$alloca_mul = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0.0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $13 = $5;
+ $14 = $6;
+ $15 = Math_imul($13, $14)|0;
+ $10 = $15;
+ $16 = $10;
+ $17 = (_llvm_stacksave()|0);
+ $11 = $17;
+ $$alloca_mul = $16<<2;
+ $18 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $19 = $7;
+ $20 = ($19|0)!=(0);
+ if ($20) {
+ $21 = $6;
+ $22 = (16912 + ($21<<2)|0);
+ $23 = ((($22)) + -8|0);
+ $12 = $23;
+ $8 = 0;
+ while(1) {
+ $24 = $8;
+ $25 = $6;
+ $26 = ($24|0)<($25|0);
+ if (!($26)) {
+ break;
+ }
+ $9 = 0;
+ while(1) {
+ $27 = $9;
+ $28 = $5;
+ $29 = ($27|0)<($28|0);
+ if (!($29)) {
+ break;
+ }
+ $30 = $4;
+ $31 = $12;
+ $32 = $8;
+ $33 = (($31) + ($32<<2)|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = $5;
+ $36 = Math_imul($34, $35)|0;
+ $37 = $9;
+ $38 = (($36) + ($37))|0;
+ $39 = (($30) + ($38<<2)|0);
+ $40 = +HEAPF32[$39>>2];
+ $41 = $9;
+ $42 = $6;
+ $43 = Math_imul($41, $42)|0;
+ $44 = $8;
+ $45 = (($43) + ($44))|0;
+ $46 = (($18) + ($45<<2)|0);
+ HEAPF32[$46>>2] = $40;
+ $47 = $9;
+ $48 = (($47) + 1)|0;
+ $9 = $48;
+ }
+ $49 = $8;
+ $50 = (($49) + 1)|0;
+ $8 = $50;
+ }
+ $75 = $4;
+ $76 = $10;
+ $77 = $76<<2;
+ $78 = $4;
+ $79 = $78;
+ $80 = $18;
+ $81 = (($79) - ($80))|0;
+ $82 = (($81|0) / 4)&-1;
+ $83 = 0;
+ $84 = (($77) + ($83))|0;
+ _memcpy(($75|0),($18|0),($84|0))|0;
+ $85 = $11;
+ _llvm_stackrestore(($85|0));
+ STACKTOP = sp;return;
+ } else {
+ $8 = 0;
+ while(1) {
+ $51 = $8;
+ $52 = $6;
+ $53 = ($51|0)<($52|0);
+ if (!($53)) {
+ break;
+ }
+ $9 = 0;
+ while(1) {
+ $54 = $9;
+ $55 = $5;
+ $56 = ($54|0)<($55|0);
+ if (!($56)) {
+ break;
+ }
+ $57 = $4;
+ $58 = $8;
+ $59 = $5;
+ $60 = Math_imul($58, $59)|0;
+ $61 = $9;
+ $62 = (($60) + ($61))|0;
+ $63 = (($57) + ($62<<2)|0);
+ $64 = +HEAPF32[$63>>2];
+ $65 = $9;
+ $66 = $6;
+ $67 = Math_imul($65, $66)|0;
+ $68 = $8;
+ $69 = (($67) + ($68))|0;
+ $70 = (($18) + ($69<<2)|0);
+ HEAPF32[$70>>2] = $64;
+ $71 = $9;
+ $72 = (($71) + 1)|0;
+ $9 = $72;
+ }
+ $73 = $8;
+ $74 = (($73) + 1)|0;
+ $8 = $74;
+ }
+ $75 = $4;
+ $76 = $10;
+ $77 = $76<<2;
+ $78 = $4;
+ $79 = $78;
+ $80 = $18;
+ $81 = (($79) - ($80))|0;
+ $82 = (($81|0) / 4)&-1;
+ $83 = 0;
+ $84 = (($77) + ($83))|0;
+ _memcpy(($75|0),($18|0),($84|0))|0;
+ $85 = $11;
+ _llvm_stackrestore(($85|0));
+ STACKTOP = sp;return;
+ }
+}
+function _bits2pulses($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $14 = $7;
+ $15 = (($14) + 1)|0;
+ $7 = $15;
+ $16 = $5;
+ $17 = ((($16)) + 92|0);
+ $18 = ((($17)) + 8|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = $5;
+ $21 = ((($20)) + 92|0);
+ $22 = ((($21)) + 4|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = $7;
+ $25 = $5;
+ $26 = ((($25)) + 8|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = Math_imul($24, $27)|0;
+ $29 = $6;
+ $30 = (($28) + ($29))|0;
+ $31 = (($23) + ($30<<1)|0);
+ $32 = HEAP16[$31>>1]|0;
+ $33 = $32 << 16 >> 16;
+ $34 = (($19) + ($33)|0);
+ $12 = $34;
+ $10 = 0;
+ $35 = $12;
+ $36 = HEAP8[$35>>0]|0;
+ $37 = $36&255;
+ $11 = $37;
+ $38 = $8;
+ $39 = (($38) + -1)|0;
+ $8 = $39;
+ $9 = 0;
+ while(1) {
+ $40 = $9;
+ $41 = ($40|0)<(6);
+ if (!($41)) {
+ break;
+ }
+ $42 = $10;
+ $43 = $11;
+ $44 = (($42) + ($43))|0;
+ $45 = (($44) + 1)|0;
+ $46 = $45 >> 1;
+ $13 = $46;
+ $47 = $12;
+ $48 = $13;
+ $49 = (($47) + ($48)|0);
+ $50 = HEAP8[$49>>0]|0;
+ $51 = $50&255;
+ $52 = $8;
+ $53 = ($51|0)>=($52|0);
+ $54 = $13;
+ if ($53) {
+ $11 = $54;
+ } else {
+ $10 = $54;
+ }
+ $55 = $9;
+ $56 = (($55) + 1)|0;
+ $9 = $56;
+ }
+ $57 = $8;
+ $58 = $10;
+ $59 = ($58|0)==(0);
+ if ($59) {
+ $66 = -1;
+ } else {
+ $60 = $12;
+ $61 = $10;
+ $62 = (($60) + ($61)|0);
+ $63 = HEAP8[$62>>0]|0;
+ $64 = $63&255;
+ $66 = $64;
+ }
+ $65 = (($57) - ($66))|0;
+ $67 = $12;
+ $68 = $11;
+ $69 = (($67) + ($68)|0);
+ $70 = HEAP8[$69>>0]|0;
+ $71 = $70&255;
+ $72 = $8;
+ $73 = (($71) - ($72))|0;
+ $74 = ($65|0)<=($73|0);
+ if ($74) {
+ $75 = $10;
+ $4 = $75;
+ $77 = $4;
+ STACKTOP = sp;return ($77|0);
+ } else {
+ $76 = $11;
+ $4 = $76;
+ $77 = $4;
+ STACKTOP = sp;return ($77|0);
+ }
+ return (0)|0;
+}
+function _pulses2bits($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $6;
+ $10 = (($9) + 1)|0;
+ $6 = $10;
+ $11 = $4;
+ $12 = ((($11)) + 92|0);
+ $13 = ((($12)) + 8|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = $4;
+ $16 = ((($15)) + 92|0);
+ $17 = ((($16)) + 4|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = $6;
+ $20 = $4;
+ $21 = ((($20)) + 8|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = Math_imul($19, $22)|0;
+ $24 = $5;
+ $25 = (($23) + ($24))|0;
+ $26 = (($18) + ($25<<1)|0);
+ $27 = HEAP16[$26>>1]|0;
+ $28 = $27 << 16 >> 16;
+ $29 = (($14) + ($28)|0);
+ $8 = $29;
+ $30 = $7;
+ $31 = ($30|0)==(0);
+ if ($31) {
+ $38 = 0;
+ STACKTOP = sp;return ($38|0);
+ }
+ $32 = $8;
+ $33 = $7;
+ $34 = (($32) + ($33)|0);
+ $35 = HEAP8[$34>>0]|0;
+ $36 = $35&255;
+ $37 = (($36) + 1)|0;
+ $38 = $37;
+ STACKTOP = sp;return ($38|0);
+}
+function _get_pulses($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)<(8);
+ $4 = $1;
+ if ($3) {
+ $11 = $4;
+ STACKTOP = sp;return ($11|0);
+ }
+ $5 = $4 & 7;
+ $6 = (8 + ($5))|0;
+ $7 = $1;
+ $8 = $7 >> 3;
+ $9 = (($8) - 1)|0;
+ $10 = $6 << $9;
+ $11 = $10;
+ STACKTOP = sp;return ($11|0);
+}
+function _resampling_factor($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $switch$split22D = 0, $switch$split2D = 0, $switch$split52D = 0, $switch$split82D = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $3 = $1;
+ $switch$split2D = ($3|0)<(16000);
+ L1: do {
+ if ($switch$split2D) {
+ $switch$split22D = ($3|0)<(12000);
+ if ($switch$split22D) {
+ switch ($3|0) {
+ case 8000: {
+ break;
+ }
+ default: {
+ label = 7;
+ break L1;
+ }
+ }
+ $2 = 6;
+ break;
+ } else {
+ switch ($3|0) {
+ case 12000: {
+ break;
+ }
+ default: {
+ label = 7;
+ break L1;
+ }
+ }
+ $2 = 4;
+ break;
+ }
+ } else {
+ $switch$split52D = ($3|0)<(24000);
+ if ($switch$split52D) {
+ switch ($3|0) {
+ case 16000: {
+ break;
+ }
+ default: {
+ label = 7;
+ break L1;
+ }
+ }
+ $2 = 3;
+ break;
+ }
+ $switch$split82D = ($3|0)<(48000);
+ if ($switch$split82D) {
+ switch ($3|0) {
+ case 24000: {
+ break;
+ }
+ default: {
+ label = 7;
+ break L1;
+ }
+ }
+ $2 = 2;
+ break;
+ } else {
+ switch ($3|0) {
+ case 48000: {
+ break;
+ }
+ default: {
+ label = 7;
+ break L1;
+ }
+ }
+ $2 = 1;
+ break;
+ }
+ }
+ } while(0);
+ if ((label|0) == 7) {
+ $2 = 0;
+ }
+ $4 = $2;
+ STACKTOP = sp;return ($4|0);
+}
+function _comb_filter($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = +$5;
+ $6 = +$6;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ var $100 = 0.0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0.0, $114 = 0.0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0;
+ var $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0.0, $132 = 0, $133 = 0, $134 = 0, $135 = 0.0, $136 = 0, $137 = 0;
+ var $138 = 0, $139 = 0.0, $14 = 0, $140 = 0.0, $141 = 0, $142 = 0, $143 = 0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0.0, $155 = 0.0;
+ var $156 = 0.0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0, $160 = 0.0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0.0, $168 = 0, $169 = 0, $17 = 0.0, $170 = 0, $171 = 0, $172 = 0, $173 = 0;
+ var $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0.0, $178 = 0.0, $179 = 0.0, $18 = 0.0, $180 = 0.0, $181 = 0.0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0.0, $189 = 0, $19 = 0, $190 = 0, $191 = 0;
+ var $192 = 0, $193 = 0, $194 = 0, $195 = 0.0, $196 = 0.0, $197 = 0.0, $198 = 0.0, $199 = 0.0, $20 = 0, $200 = 0.0, $201 = 0.0, $202 = 0.0, $203 = 0.0, $204 = 0.0, $205 = 0.0, $206 = 0.0, $207 = 0.0, $208 = 0.0, $209 = 0.0, $21 = 0;
+ var $210 = 0.0, $211 = 0.0, $212 = 0.0, $213 = 0.0, $214 = 0.0, $215 = 0.0, $216 = 0.0, $217 = 0.0, $218 = 0.0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0, $222 = 0, $223 = 0, $224 = 0.0, $225 = 0.0, $226 = 0.0, $227 = 0.0, $228 = 0;
+ var $229 = 0, $23 = 0, $230 = 0.0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0;
+ var $247 = 0, $248 = 0, $249 = 0, $25 = 0.0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0.0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0;
+ var $265 = 0, $266 = 0, $267 = 0.0, $268 = 0.0, $269 = 0.0, $27 = 0.0, $28 = 0.0, $29 = 0.0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0, $39 = 0.0, $40 = 0, $41 = 0;
+ var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0, $59 = 0.0, $60 = 0.0, $61 = 0.0;
+ var $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0, $69 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0.0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0, $80 = 0, $81 = 0;
+ var $82 = 0.0, $83 = 0.0, $84 = 0.0, $85 = 0, $86 = 0, $87 = 0, $88 = 0.0, $89 = 0.0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $12 = $0;
+ $13 = $1;
+ $14 = $2;
+ $15 = $3;
+ $16 = $4;
+ $17 = $5;
+ $18 = $6;
+ $19 = $7;
+ $20 = $8;
+ $21 = $9;
+ $22 = $10;
+ $23 = $11;
+ $37 = $17;
+ $38 = $37 == 0.0;
+ $39 = $18;
+ $40 = $39 == 0.0;
+ $or$cond = $38 & $40;
+ if ($or$cond) {
+ $41 = $13;
+ $42 = $12;
+ $43 = ($41|0)!=($42|0);
+ if (!($43)) {
+ STACKTOP = sp;return;
+ }
+ $44 = $12;
+ $45 = $13;
+ $46 = $16;
+ $47 = $46<<2;
+ $48 = $12;
+ $49 = $13;
+ $50 = $48;
+ $51 = $49;
+ $52 = (($50) - ($51))|0;
+ $53 = (($52|0) / 4)&-1;
+ $54 = 0;
+ $55 = (($47) + ($54))|0;
+ _memmove(($44|0),($45|0),($55|0))|0;
+ STACKTOP = sp;return;
+ }
+ $56 = $17;
+ $57 = $19;
+ $58 = (17032 + (($57*12)|0)|0);
+ $59 = +HEAPF32[$58>>2];
+ $60 = $56 * $59;
+ $25 = $60;
+ $61 = $17;
+ $62 = $19;
+ $63 = (17032 + (($62*12)|0)|0);
+ $64 = ((($63)) + 4|0);
+ $65 = +HEAPF32[$64>>2];
+ $66 = $61 * $65;
+ $26 = $66;
+ $67 = $17;
+ $68 = $19;
+ $69 = (17032 + (($68*12)|0)|0);
+ $70 = ((($69)) + 8|0);
+ $71 = +HEAPF32[$70>>2];
+ $72 = $67 * $71;
+ $27 = $72;
+ $73 = $18;
+ $74 = $20;
+ $75 = (17032 + (($74*12)|0)|0);
+ $76 = +HEAPF32[$75>>2];
+ $77 = $73 * $76;
+ $28 = $77;
+ $78 = $18;
+ $79 = $20;
+ $80 = (17032 + (($79*12)|0)|0);
+ $81 = ((($80)) + 4|0);
+ $82 = +HEAPF32[$81>>2];
+ $83 = $78 * $82;
+ $29 = $83;
+ $84 = $18;
+ $85 = $20;
+ $86 = (17032 + (($85*12)|0)|0);
+ $87 = ((($86)) + 8|0);
+ $88 = +HEAPF32[$87>>2];
+ $89 = $84 * $88;
+ $30 = $89;
+ $90 = $13;
+ $91 = $15;
+ $92 = (0 - ($91))|0;
+ $93 = (($92) + 1)|0;
+ $94 = (($90) + ($93<<2)|0);
+ $95 = +HEAPF32[$94>>2];
+ $32 = $95;
+ $96 = $13;
+ $97 = $15;
+ $98 = (0 - ($97))|0;
+ $99 = (($96) + ($98<<2)|0);
+ $100 = +HEAPF32[$99>>2];
+ $33 = $100;
+ $101 = $13;
+ $102 = $15;
+ $103 = (0 - ($102))|0;
+ $104 = (($103) - 1)|0;
+ $105 = (($101) + ($104<<2)|0);
+ $106 = +HEAPF32[$105>>2];
+ $34 = $106;
+ $107 = $13;
+ $108 = $15;
+ $109 = (0 - ($108))|0;
+ $110 = (($109) - 2)|0;
+ $111 = (($107) + ($110<<2)|0);
+ $112 = +HEAPF32[$111>>2];
+ $35 = $112;
+ $113 = $17;
+ $114 = $18;
+ $115 = $113 == $114;
+ if ($115) {
+ $116 = $14;
+ $117 = $15;
+ $118 = ($116|0)==($117|0);
+ if ($118) {
+ $119 = $19;
+ $120 = $20;
+ $121 = ($119|0)==($120|0);
+ if ($121) {
+ $22 = 0;
+ }
+ }
+ }
+ $24 = 0;
+ while(1) {
+ $122 = $24;
+ $123 = $22;
+ $124 = ($122|0)<($123|0);
+ if (!($124)) {
+ break;
+ }
+ $125 = $13;
+ $126 = $24;
+ $127 = $15;
+ $128 = (($126) - ($127))|0;
+ $129 = (($128) + 2)|0;
+ $130 = (($125) + ($129<<2)|0);
+ $131 = +HEAPF32[$130>>2];
+ $31 = $131;
+ $132 = $21;
+ $133 = $24;
+ $134 = (($132) + ($133<<2)|0);
+ $135 = +HEAPF32[$134>>2];
+ $136 = $21;
+ $137 = $24;
+ $138 = (($136) + ($137<<2)|0);
+ $139 = +HEAPF32[$138>>2];
+ $140 = $135 * $139;
+ $36 = $140;
+ $141 = $13;
+ $142 = $24;
+ $143 = (($141) + ($142<<2)|0);
+ $144 = +HEAPF32[$143>>2];
+ $145 = $36;
+ $146 = 1.0 - $145;
+ $147 = $25;
+ $148 = $146 * $147;
+ $149 = $13;
+ $150 = $24;
+ $151 = $14;
+ $152 = (($150) - ($151))|0;
+ $153 = (($149) + ($152<<2)|0);
+ $154 = +HEAPF32[$153>>2];
+ $155 = $148 * $154;
+ $156 = $144 + $155;
+ $157 = $36;
+ $158 = 1.0 - $157;
+ $159 = $26;
+ $160 = $158 * $159;
+ $161 = $13;
+ $162 = $24;
+ $163 = $14;
+ $164 = (($162) - ($163))|0;
+ $165 = (($164) + 1)|0;
+ $166 = (($161) + ($165<<2)|0);
+ $167 = +HEAPF32[$166>>2];
+ $168 = $13;
+ $169 = $24;
+ $170 = $14;
+ $171 = (($169) - ($170))|0;
+ $172 = (($171) - 1)|0;
+ $173 = (($168) + ($172<<2)|0);
+ $174 = +HEAPF32[$173>>2];
+ $175 = $167 + $174;
+ $176 = $160 * $175;
+ $177 = $156 + $176;
+ $178 = $36;
+ $179 = 1.0 - $178;
+ $180 = $27;
+ $181 = $179 * $180;
+ $182 = $13;
+ $183 = $24;
+ $184 = $14;
+ $185 = (($183) - ($184))|0;
+ $186 = (($185) + 2)|0;
+ $187 = (($182) + ($186<<2)|0);
+ $188 = +HEAPF32[$187>>2];
+ $189 = $13;
+ $190 = $24;
+ $191 = $14;
+ $192 = (($190) - ($191))|0;
+ $193 = (($192) - 2)|0;
+ $194 = (($189) + ($193<<2)|0);
+ $195 = +HEAPF32[$194>>2];
+ $196 = $188 + $195;
+ $197 = $181 * $196;
+ $198 = $177 + $197;
+ $199 = $36;
+ $200 = $28;
+ $201 = $199 * $200;
+ $202 = $33;
+ $203 = $201 * $202;
+ $204 = $198 + $203;
+ $205 = $36;
+ $206 = $29;
+ $207 = $205 * $206;
+ $208 = $32;
+ $209 = $34;
+ $210 = $208 + $209;
+ $211 = $207 * $210;
+ $212 = $204 + $211;
+ $213 = $36;
+ $214 = $30;
+ $215 = $213 * $214;
+ $216 = $31;
+ $217 = $35;
+ $218 = $216 + $217;
+ $219 = $215 * $218;
+ $220 = $212 + $219;
+ $221 = $12;
+ $222 = $24;
+ $223 = (($221) + ($222<<2)|0);
+ HEAPF32[$223>>2] = $220;
+ $224 = $34;
+ $35 = $224;
+ $225 = $33;
+ $34 = $225;
+ $226 = $32;
+ $33 = $226;
+ $227 = $31;
+ $32 = $227;
+ $228 = $24;
+ $229 = (($228) + 1)|0;
+ $24 = $229;
+ }
+ $230 = $18;
+ $231 = $230 == 0.0;
+ if (!($231)) {
+ $257 = $12;
+ $258 = $24;
+ $259 = (($257) + ($258<<2)|0);
+ $260 = $13;
+ $261 = $24;
+ $262 = (($260) + ($261<<2)|0);
+ $263 = $15;
+ $264 = $16;
+ $265 = $24;
+ $266 = (($264) - ($265))|0;
+ $267 = $28;
+ $268 = $29;
+ $269 = $30;
+ _comb_filter_const_c($259,$262,$263,$266,$267,$268,$269);
+ STACKTOP = sp;return;
+ }
+ $232 = $13;
+ $233 = $12;
+ $234 = ($232|0)!=($233|0);
+ if (!($234)) {
+ STACKTOP = sp;return;
+ }
+ $235 = $12;
+ $236 = $22;
+ $237 = (($235) + ($236<<2)|0);
+ $238 = $13;
+ $239 = $22;
+ $240 = (($238) + ($239<<2)|0);
+ $241 = $16;
+ $242 = $22;
+ $243 = (($241) - ($242))|0;
+ $244 = $243<<2;
+ $245 = $12;
+ $246 = $22;
+ $247 = (($245) + ($246<<2)|0);
+ $248 = $13;
+ $249 = $22;
+ $250 = (($248) + ($249<<2)|0);
+ $251 = $247;
+ $252 = $250;
+ $253 = (($251) - ($252))|0;
+ $254 = (($253|0) / 4)&-1;
+ $255 = 0;
+ $256 = (($244) + ($255))|0;
+ _memmove(($237|0),($240|0),($256|0))|0;
+ STACKTOP = sp;return;
+}
+function _comb_filter_const_c($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = +$4;
+ $5 = +$5;
+ $6 = +$6;
+ var $10 = 0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0.0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0.0, $53 = 0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $60 = 0.0, $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0;
+ var $7 = 0, $70 = 0.0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0.0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0, $81 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $20 = $8;
+ $21 = $9;
+ $22 = (0 - ($21))|0;
+ $23 = (($22) - 2)|0;
+ $24 = (($20) + ($23<<2)|0);
+ $25 = +HEAPF32[$24>>2];
+ $18 = $25;
+ $26 = $8;
+ $27 = $9;
+ $28 = (0 - ($27))|0;
+ $29 = (($28) - 1)|0;
+ $30 = (($26) + ($29<<2)|0);
+ $31 = +HEAPF32[$30>>2];
+ $17 = $31;
+ $32 = $8;
+ $33 = $9;
+ $34 = (0 - ($33))|0;
+ $35 = (($32) + ($34<<2)|0);
+ $36 = +HEAPF32[$35>>2];
+ $16 = $36;
+ $37 = $8;
+ $38 = $9;
+ $39 = (0 - ($38))|0;
+ $40 = (($39) + 1)|0;
+ $41 = (($37) + ($40<<2)|0);
+ $42 = +HEAPF32[$41>>2];
+ $15 = $42;
+ $19 = 0;
+ while(1) {
+ $43 = $19;
+ $44 = $10;
+ $45 = ($43|0)<($44|0);
+ if (!($45)) {
+ break;
+ }
+ $46 = $8;
+ $47 = $19;
+ $48 = $9;
+ $49 = (($47) - ($48))|0;
+ $50 = (($49) + 2)|0;
+ $51 = (($46) + ($50<<2)|0);
+ $52 = +HEAPF32[$51>>2];
+ $14 = $52;
+ $53 = $8;
+ $54 = $19;
+ $55 = (($53) + ($54<<2)|0);
+ $56 = +HEAPF32[$55>>2];
+ $57 = $11;
+ $58 = $16;
+ $59 = $57 * $58;
+ $60 = $56 + $59;
+ $61 = $12;
+ $62 = $15;
+ $63 = $17;
+ $64 = $62 + $63;
+ $65 = $61 * $64;
+ $66 = $60 + $65;
+ $67 = $13;
+ $68 = $14;
+ $69 = $18;
+ $70 = $68 + $69;
+ $71 = $67 * $70;
+ $72 = $66 + $71;
+ $73 = $7;
+ $74 = $19;
+ $75 = (($73) + ($74<<2)|0);
+ HEAPF32[$75>>2] = $72;
+ $76 = $17;
+ $18 = $76;
+ $77 = $16;
+ $17 = $77;
+ $78 = $15;
+ $16 = $78;
+ $79 = $14;
+ $15 = $79;
+ $80 = $19;
+ $81 = (($80) + 1)|0;
+ $19 = $81;
+ }
+ STACKTOP = sp;return;
+}
+function _init_caps($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 0;
+ while(1) {
+ $10 = $8;
+ $11 = $4;
+ $12 = ((($11)) + 8|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = ($10|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $15 = $4;
+ $16 = ((($15)) + 32|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $8;
+ $19 = (($18) + 1)|0;
+ $20 = (($17) + ($19<<1)|0);
+ $21 = HEAP16[$20>>1]|0;
+ $22 = $21 << 16 >> 16;
+ $23 = $4;
+ $24 = ((($23)) + 32|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = $8;
+ $27 = (($25) + ($26<<1)|0);
+ $28 = HEAP16[$27>>1]|0;
+ $29 = $28 << 16 >> 16;
+ $30 = (($22) - ($29))|0;
+ $31 = $6;
+ $32 = $30 << $31;
+ $9 = $32;
+ $33 = $4;
+ $34 = ((($33)) + 92|0);
+ $35 = ((($34)) + 12|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = $4;
+ $38 = ((($37)) + 8|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = $6;
+ $41 = $40<<1;
+ $42 = $7;
+ $43 = (($41) + ($42))|0;
+ $44 = (($43) - 1)|0;
+ $45 = Math_imul($39, $44)|0;
+ $46 = $8;
+ $47 = (($45) + ($46))|0;
+ $48 = (($36) + ($47)|0);
+ $49 = HEAP8[$48>>0]|0;
+ $50 = $49&255;
+ $51 = (($50) + 64)|0;
+ $52 = $7;
+ $53 = Math_imul($51, $52)|0;
+ $54 = $9;
+ $55 = Math_imul($53, $54)|0;
+ $56 = $55 >> 2;
+ $57 = $5;
+ $58 = $8;
+ $59 = (($57) + ($58<<2)|0);
+ HEAP32[$59>>2] = $56;
+ $60 = $8;
+ $61 = (($60) + 1)|0;
+ $8 = $61;
+ }
+ STACKTOP = sp;return;
+}
+function _encode_pulses($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = $7;
+ $9 = $5;
+ $10 = $4;
+ $11 = (_icwrs($9,$10)|0);
+ $12 = $5;
+ $13 = $6;
+ $14 = ($12|0)<($13|0);
+ $15 = $5;
+ $16 = $6;
+ $17 = $14 ? $15 : $16;
+ $18 = (17068 + ($17<<2)|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = $5;
+ $21 = $6;
+ $22 = ($20|0)>($21|0);
+ $23 = $5;
+ $24 = $6;
+ $25 = $22 ? $23 : $24;
+ $26 = (($19) + ($25<<2)|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = $5;
+ $29 = $6;
+ $30 = (($29) + 1)|0;
+ $31 = ($28|0)<($30|0);
+ $32 = $5;
+ $33 = $6;
+ $34 = (($33) + 1)|0;
+ $35 = $31 ? $32 : $34;
+ $36 = (17068 + ($35<<2)|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = $5;
+ $39 = $6;
+ $40 = (($39) + 1)|0;
+ $41 = ($38|0)>($40|0);
+ $42 = $5;
+ $43 = $6;
+ $44 = (($43) + 1)|0;
+ $45 = $41 ? $42 : $44;
+ $46 = (($37) + ($45<<2)|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = (($27) + ($47))|0;
+ _ec_enc_uint($8,$11,$48);
+ STACKTOP = sp;return;
+}
+function _icwrs($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $7 = $2;
+ $8 = (($7) - 1)|0;
+ $5 = $8;
+ $9 = $3;
+ $10 = $5;
+ $11 = (($9) + ($10<<2)|0);
+ $12 = HEAP32[$11>>2]|0;
+ $13 = ($12|0)<(0);
+ $14 = $13&1;
+ $4 = $14;
+ $15 = $3;
+ $16 = $5;
+ $17 = (($15) + ($16<<2)|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = (Math_abs(($18|0))|0);
+ $6 = $19;
+ while(1) {
+ $20 = $5;
+ $21 = (($20) + -1)|0;
+ $5 = $21;
+ $22 = $2;
+ $23 = $5;
+ $24 = (($22) - ($23))|0;
+ $25 = $6;
+ $26 = ($24|0)<($25|0);
+ if ($26) {
+ $27 = $2;
+ $28 = $5;
+ $29 = (($27) - ($28))|0;
+ $32 = $29;
+ } else {
+ $30 = $6;
+ $32 = $30;
+ }
+ $31 = (17068 + ($32<<2)|0);
+ $33 = HEAP32[$31>>2]|0;
+ $34 = $2;
+ $35 = $5;
+ $36 = (($34) - ($35))|0;
+ $37 = $6;
+ $38 = ($36|0)>($37|0);
+ if ($38) {
+ $39 = $2;
+ $40 = $5;
+ $41 = (($39) - ($40))|0;
+ $44 = $41;
+ } else {
+ $42 = $6;
+ $44 = $42;
+ }
+ $43 = (($33) + ($44<<2)|0);
+ $45 = HEAP32[$43>>2]|0;
+ $46 = $4;
+ $47 = (($46) + ($45))|0;
+ $4 = $47;
+ $48 = $3;
+ $49 = $5;
+ $50 = (($48) + ($49<<2)|0);
+ $51 = HEAP32[$50>>2]|0;
+ $52 = (Math_abs(($51|0))|0);
+ $53 = $6;
+ $54 = (($53) + ($52))|0;
+ $6 = $54;
+ $55 = $3;
+ $56 = $5;
+ $57 = (($55) + ($56<<2)|0);
+ $58 = HEAP32[$57>>2]|0;
+ $59 = ($58|0)<(0);
+ if ($59) {
+ $60 = $2;
+ $61 = $5;
+ $62 = (($60) - ($61))|0;
+ $63 = $6;
+ $64 = (($63) + 1)|0;
+ $65 = ($62|0)<($64|0);
+ if ($65) {
+ $66 = $2;
+ $67 = $5;
+ $68 = (($66) - ($67))|0;
+ $72 = $68;
+ } else {
+ $69 = $6;
+ $70 = (($69) + 1)|0;
+ $72 = $70;
+ }
+ $71 = (17068 + ($72<<2)|0);
+ $73 = HEAP32[$71>>2]|0;
+ $74 = $2;
+ $75 = $5;
+ $76 = (($74) - ($75))|0;
+ $77 = $6;
+ $78 = (($77) + 1)|0;
+ $79 = ($76|0)>($78|0);
+ if ($79) {
+ $80 = $2;
+ $81 = $5;
+ $82 = (($80) - ($81))|0;
+ $86 = $82;
+ } else {
+ $83 = $6;
+ $84 = (($83) + 1)|0;
+ $86 = $84;
+ }
+ $85 = (($73) + ($86<<2)|0);
+ $87 = HEAP32[$85>>2]|0;
+ $88 = $4;
+ $89 = (($88) + ($87))|0;
+ $4 = $89;
+ }
+ $90 = $5;
+ $91 = ($90|0)>(0);
+ if (!($91)) {
+ break;
+ }
+ }
+ $92 = $4;
+ STACKTOP = sp;return ($92|0);
+}
+function _decode_pulses($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0.0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = $5;
+ $9 = $6;
+ $10 = $7;
+ $11 = $5;
+ $12 = $6;
+ $13 = ($11|0)<($12|0);
+ $14 = $5;
+ $15 = $6;
+ $16 = $13 ? $14 : $15;
+ $17 = (17068 + ($16<<2)|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = $5;
+ $20 = $6;
+ $21 = ($19|0)>($20|0);
+ $22 = $5;
+ $23 = $6;
+ $24 = $21 ? $22 : $23;
+ $25 = (($18) + ($24<<2)|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = $5;
+ $28 = $6;
+ $29 = (($28) + 1)|0;
+ $30 = ($27|0)<($29|0);
+ $31 = $5;
+ $32 = $6;
+ $33 = (($32) + 1)|0;
+ $34 = $30 ? $31 : $33;
+ $35 = (17068 + ($34<<2)|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = $5;
+ $38 = $6;
+ $39 = (($38) + 1)|0;
+ $40 = ($37|0)>($39|0);
+ $41 = $5;
+ $42 = $6;
+ $43 = (($42) + 1)|0;
+ $44 = $40 ? $41 : $43;
+ $45 = (($36) + ($44<<2)|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = (($26) + ($46))|0;
+ $48 = (_ec_dec_uint($10,$47)|0);
+ $49 = $4;
+ $50 = (+_cwrsi($8,$9,$48,$49));
+ STACKTOP = sp;return (+$50);
+}
+function _cwrsi($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0.0, $153 = 0;
+ var $154 = 0.0, $155 = 0, $156 = 0.0, $157 = 0.0, $158 = 0.0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0.0, $197 = 0, $198 = 0.0, $199 = 0, $20 = 0, $200 = 0.0, $201 = 0.0, $202 = 0.0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0.0, $215 = 0, $216 = 0.0, $217 = 0, $218 = 0.0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0.0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0.0, $86 = 0, $87 = 0.0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0.0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $12 = 0.0;
+ while(1) {
+ $15 = $4;
+ $16 = ($15|0)>(2);
+ $17 = $5;
+ if (!($16)) {
+ break;
+ }
+ $18 = $4;
+ $19 = ($17|0)>=($18|0);
+ do {
+ if ($19) {
+ $20 = $4;
+ $21 = (17068 + ($20<<2)|0);
+ $22 = HEAP32[$21>>2]|0;
+ $14 = $22;
+ $23 = $14;
+ $24 = $5;
+ $25 = (($24) + 1)|0;
+ $26 = (($23) + ($25<<2)|0);
+ $27 = HEAP32[$26>>2]|0;
+ $8 = $27;
+ $28 = $6;
+ $29 = $8;
+ $30 = ($28>>>0)>=($29>>>0);
+ $31 = $30&1;
+ $32 = (0 - ($31))|0;
+ $9 = $32;
+ $33 = $8;
+ $34 = $9;
+ $35 = $33 & $34;
+ $36 = $6;
+ $37 = (($36) - ($35))|0;
+ $6 = $37;
+ $38 = $5;
+ $10 = $38;
+ $39 = $14;
+ $40 = $4;
+ $41 = (($39) + ($40<<2)|0);
+ $42 = HEAP32[$41>>2]|0;
+ $13 = $42;
+ $43 = $13;
+ $44 = $6;
+ $45 = ($43>>>0)>($44>>>0);
+ L6: do {
+ if ($45) {
+ $46 = $4;
+ $5 = $46;
+ while(1) {
+ $47 = $5;
+ $48 = (($47) + -1)|0;
+ $5 = $48;
+ $49 = (17068 + ($48<<2)|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = $4;
+ $52 = (($50) + ($51<<2)|0);
+ $53 = HEAP32[$52>>2]|0;
+ $8 = $53;
+ $54 = $8;
+ $55 = $6;
+ $56 = ($54>>>0)>($55>>>0);
+ if (!($56)) {
+ break;
+ }
+ }
+ } else {
+ $57 = $14;
+ $58 = $5;
+ $59 = (($57) + ($58<<2)|0);
+ $60 = HEAP32[$59>>2]|0;
+ $8 = $60;
+ while(1) {
+ $61 = $8;
+ $62 = $6;
+ $63 = ($61>>>0)>($62>>>0);
+ if (!($63)) {
+ break L6;
+ }
+ $64 = $5;
+ $65 = (($64) + -1)|0;
+ $5 = $65;
+ $66 = $14;
+ $67 = $5;
+ $68 = (($66) + ($67<<2)|0);
+ $69 = HEAP32[$68>>2]|0;
+ $8 = $69;
+ }
+ }
+ } while(0);
+ $70 = $8;
+ $71 = $6;
+ $72 = (($71) - ($70))|0;
+ $6 = $72;
+ $73 = $10;
+ $74 = $5;
+ $75 = (($73) - ($74))|0;
+ $76 = $9;
+ $77 = (($75) + ($76))|0;
+ $78 = $9;
+ $79 = $77 ^ $78;
+ $80 = $79&65535;
+ $11 = $80;
+ $81 = $11;
+ $82 = $81 << 16 >> 16;
+ $83 = $7;
+ $84 = ((($83)) + 4|0);
+ $7 = $84;
+ HEAP32[$83>>2] = $82;
+ $85 = $12;
+ $86 = $11;
+ $87 = (+($86<<16>>16));
+ $88 = $11;
+ $89 = (+($88<<16>>16));
+ $90 = $87 * $89;
+ $91 = $85 + $90;
+ $12 = $91;
+ } else {
+ $92 = $5;
+ $93 = (17068 + ($92<<2)|0);
+ $94 = HEAP32[$93>>2]|0;
+ $95 = $4;
+ $96 = (($94) + ($95<<2)|0);
+ $97 = HEAP32[$96>>2]|0;
+ $8 = $97;
+ $98 = $5;
+ $99 = (($98) + 1)|0;
+ $100 = (17068 + ($99<<2)|0);
+ $101 = HEAP32[$100>>2]|0;
+ $102 = $4;
+ $103 = (($101) + ($102<<2)|0);
+ $104 = HEAP32[$103>>2]|0;
+ $13 = $104;
+ $105 = $8;
+ $106 = $6;
+ $107 = ($105>>>0)<=($106>>>0);
+ if ($107) {
+ $108 = $6;
+ $109 = $13;
+ $110 = ($108>>>0)<($109>>>0);
+ if ($110) {
+ $111 = $8;
+ $112 = $6;
+ $113 = (($112) - ($111))|0;
+ $6 = $113;
+ $114 = $7;
+ $115 = ((($114)) + 4|0);
+ $7 = $115;
+ HEAP32[$114>>2] = 0;
+ break;
+ }
+ }
+ $116 = $6;
+ $117 = $13;
+ $118 = ($116>>>0)>=($117>>>0);
+ $119 = $118&1;
+ $120 = (0 - ($119))|0;
+ $9 = $120;
+ $121 = $13;
+ $122 = $9;
+ $123 = $121 & $122;
+ $124 = $6;
+ $125 = (($124) - ($123))|0;
+ $6 = $125;
+ $126 = $5;
+ $10 = $126;
+ while(1) {
+ $127 = $5;
+ $128 = (($127) + -1)|0;
+ $5 = $128;
+ $129 = (17068 + ($128<<2)|0);
+ $130 = HEAP32[$129>>2]|0;
+ $131 = $4;
+ $132 = (($130) + ($131<<2)|0);
+ $133 = HEAP32[$132>>2]|0;
+ $8 = $133;
+ $134 = $8;
+ $135 = $6;
+ $136 = ($134>>>0)>($135>>>0);
+ if (!($136)) {
+ break;
+ }
+ }
+ $137 = $8;
+ $138 = $6;
+ $139 = (($138) - ($137))|0;
+ $6 = $139;
+ $140 = $10;
+ $141 = $5;
+ $142 = (($140) - ($141))|0;
+ $143 = $9;
+ $144 = (($142) + ($143))|0;
+ $145 = $9;
+ $146 = $144 ^ $145;
+ $147 = $146&65535;
+ $11 = $147;
+ $148 = $11;
+ $149 = $148 << 16 >> 16;
+ $150 = $7;
+ $151 = ((($150)) + 4|0);
+ $7 = $151;
+ HEAP32[$150>>2] = $149;
+ $152 = $12;
+ $153 = $11;
+ $154 = (+($153<<16>>16));
+ $155 = $11;
+ $156 = (+($155<<16>>16));
+ $157 = $154 * $156;
+ $158 = $152 + $157;
+ $12 = $158;
+ }
+ } while(0);
+ $159 = $4;
+ $160 = (($159) + -1)|0;
+ $4 = $160;
+ }
+ $161 = $17<<1;
+ $162 = (($161) + 1)|0;
+ $8 = $162;
+ $163 = $6;
+ $164 = $8;
+ $165 = ($163>>>0)>=($164>>>0);
+ $166 = $165&1;
+ $167 = (0 - ($166))|0;
+ $9 = $167;
+ $168 = $8;
+ $169 = $9;
+ $170 = $168 & $169;
+ $171 = $6;
+ $172 = (($171) - ($170))|0;
+ $6 = $172;
+ $173 = $5;
+ $10 = $173;
+ $174 = $6;
+ $175 = (($174) + 1)|0;
+ $176 = $175 >>> 1;
+ $5 = $176;
+ $177 = $5;
+ $178 = ($177|0)!=(0);
+ if (!($178)) {
+ $184 = $10;
+ $185 = $5;
+ $186 = (($184) - ($185))|0;
+ $187 = $9;
+ $188 = (($186) + ($187))|0;
+ $189 = $9;
+ $190 = $188 ^ $189;
+ $191 = $190&65535;
+ $11 = $191;
+ $192 = $11;
+ $193 = $192 << 16 >> 16;
+ $194 = $7;
+ $195 = ((($194)) + 4|0);
+ $7 = $195;
+ HEAP32[$194>>2] = $193;
+ $196 = $12;
+ $197 = $11;
+ $198 = (+($197<<16>>16));
+ $199 = $11;
+ $200 = (+($199<<16>>16));
+ $201 = $198 * $200;
+ $202 = $196 + $201;
+ $12 = $202;
+ $203 = $6;
+ $204 = (0 - ($203))|0;
+ $9 = $204;
+ $205 = $5;
+ $206 = $9;
+ $207 = (($205) + ($206))|0;
+ $208 = $9;
+ $209 = $207 ^ $208;
+ $210 = $209&65535;
+ $11 = $210;
+ $211 = $11;
+ $212 = $211 << 16 >> 16;
+ $213 = $7;
+ HEAP32[$213>>2] = $212;
+ $214 = $12;
+ $215 = $11;
+ $216 = (+($215<<16>>16));
+ $217 = $11;
+ $218 = (+($217<<16>>16));
+ $219 = $216 * $218;
+ $220 = $214 + $219;
+ $12 = $220;
+ $221 = $12;
+ STACKTOP = sp;return (+$221);
+ }
+ $179 = $5;
+ $180 = $179<<1;
+ $181 = (($180) - 1)|0;
+ $182 = $6;
+ $183 = (($182) - ($181))|0;
+ $6 = $183;
+ $184 = $10;
+ $185 = $5;
+ $186 = (($184) - ($185))|0;
+ $187 = $9;
+ $188 = (($186) + ($187))|0;
+ $189 = $9;
+ $190 = $188 ^ $189;
+ $191 = $190&65535;
+ $11 = $191;
+ $192 = $11;
+ $193 = $192 << 16 >> 16;
+ $194 = $7;
+ $195 = ((($194)) + 4|0);
+ $7 = $195;
+ HEAP32[$194>>2] = $193;
+ $196 = $12;
+ $197 = $11;
+ $198 = (+($197<<16>>16));
+ $199 = $11;
+ $200 = (+($199<<16>>16));
+ $201 = $198 * $200;
+ $202 = $196 + $201;
+ $12 = $202;
+ $203 = $6;
+ $204 = (0 - ($203))|0;
+ $9 = $204;
+ $205 = $5;
+ $206 = $9;
+ $207 = (($205) + ($206))|0;
+ $208 = $9;
+ $209 = $207 ^ $208;
+ $210 = $209&65535;
+ $11 = $210;
+ $211 = $11;
+ $212 = $211 << 16 >> 16;
+ $213 = $7;
+ HEAP32[$213>>2] = $212;
+ $214 = $12;
+ $215 = $11;
+ $216 = (+($215<<16>>16));
+ $217 = $11;
+ $218 = (+($217<<16>>16));
+ $219 = $216 * $218;
+ $220 = $214 + $219;
+ $12 = $220;
+ $221 = $12;
+ STACKTOP = sp;return (+$221);
+}
+function _ec_laplace_encode($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
+ var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
+ var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
+ var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
+ var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $14 = $5;
+ $15 = HEAP32[$14>>2]|0;
+ $9 = $15;
+ $8 = 0;
+ $16 = $9;
+ $17 = ($16|0)!=(0);
+ if (!($17)) {
+ $100 = $4;
+ $101 = $8;
+ $102 = $8;
+ $103 = $6;
+ $104 = (($102) + ($103))|0;
+ _ec_encode_bin($100,$101,$104,15);
+ STACKTOP = sp;return;
+ }
+ $18 = $9;
+ $19 = ($18|0)<(0);
+ $20 = $19&1;
+ $21 = (0 - ($20))|0;
+ $10 = $21;
+ $22 = $9;
+ $23 = $10;
+ $24 = (($22) + ($23))|0;
+ $25 = $10;
+ $26 = $24 ^ $25;
+ $9 = $26;
+ $27 = $6;
+ $8 = $27;
+ $28 = $6;
+ $29 = $7;
+ $30 = (_ec_laplace_get_freq1($28,$29)|0);
+ $6 = $30;
+ $11 = 1;
+ while(1) {
+ $31 = $6;
+ $32 = ($31>>>0)>(0);
+ if ($32) {
+ $33 = $11;
+ $34 = $9;
+ $35 = ($33|0)<($34|0);
+ $105 = $35;
+ } else {
+ $105 = 0;
+ }
+ $36 = $6;
+ if (!($105)) {
+ break;
+ }
+ $37 = $36<<1;
+ $6 = $37;
+ $38 = $6;
+ $39 = (($38) + 2)|0;
+ $40 = $8;
+ $41 = (($40) + ($39))|0;
+ $8 = $41;
+ $42 = $6;
+ $43 = $7;
+ $44 = Math_imul($42, $43)|0;
+ $45 = $44 >>> 15;
+ $6 = $45;
+ $46 = $11;
+ $47 = (($46) + 1)|0;
+ $11 = $47;
+ }
+ $48 = ($36|0)!=(0);
+ if ($48) {
+ $92 = $6;
+ $93 = (($92) + 1)|0;
+ $6 = $93;
+ $94 = $6;
+ $95 = $10;
+ $96 = $95 ^ -1;
+ $97 = $94 & $96;
+ $98 = $8;
+ $99 = (($98) + ($97))|0;
+ $8 = $99;
+ $100 = $4;
+ $101 = $8;
+ $102 = $8;
+ $103 = $6;
+ $104 = (($102) + ($103))|0;
+ _ec_encode_bin($100,$101,$104,15);
+ STACKTOP = sp;return;
+ }
+ $49 = $8;
+ $50 = (32768 - ($49))|0;
+ $51 = (($50) + 1)|0;
+ $52 = (($51) - 1)|0;
+ $53 = $52 >>> 0;
+ $13 = $53;
+ $54 = $13;
+ $55 = $10;
+ $56 = (($54) - ($55))|0;
+ $57 = $56 >> 1;
+ $13 = $57;
+ $58 = $9;
+ $59 = $11;
+ $60 = (($58) - ($59))|0;
+ $61 = $13;
+ $62 = (($61) - 1)|0;
+ $63 = ($60|0)<($62|0);
+ if ($63) {
+ $64 = $9;
+ $65 = $11;
+ $66 = (($64) - ($65))|0;
+ $69 = $66;
+ } else {
+ $67 = $13;
+ $68 = (($67) - 1)|0;
+ $69 = $68;
+ }
+ $12 = $69;
+ $70 = $12;
+ $71 = $70<<1;
+ $72 = (($71) + 1)|0;
+ $73 = $10;
+ $74 = (($72) + ($73))|0;
+ $75 = $74;
+ $76 = $8;
+ $77 = (($76) + ($75))|0;
+ $8 = $77;
+ $78 = $8;
+ $79 = (32768 - ($78))|0;
+ $80 = (1)<($79>>>0);
+ $81 = $8;
+ $82 = (32768 - ($81))|0;
+ $83 = $80 ? 1 : $82;
+ $6 = $83;
+ $84 = $11;
+ $85 = $12;
+ $86 = (($84) + ($85))|0;
+ $87 = $10;
+ $88 = (($86) + ($87))|0;
+ $89 = $10;
+ $90 = $88 ^ $89;
+ $91 = $5;
+ HEAP32[$91>>2] = $90;
+ $100 = $4;
+ $101 = $8;
+ $102 = $8;
+ $103 = $6;
+ $104 = (($102) + ($103))|0;
+ _ec_encode_bin($100,$101,$104,15);
+ STACKTOP = sp;return;
+}
+function _ec_laplace_get_freq1($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = $2;
+ $6 = (32736 - ($5))|0;
+ $4 = $6;
+ $7 = $4;
+ $8 = $3;
+ $9 = (16384 - ($8))|0;
+ $10 = Math_imul($7, $9)|0;
+ $11 = $10 >>> 15;
+ STACKTOP = sp;return ($11|0);
+}
+function _ec_laplace_decode($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $6 = 0;
+ $10 = $3;
+ $11 = (_ec_decode_bin($10,15)|0);
+ $8 = $11;
+ $7 = 0;
+ $12 = $8;
+ $13 = $4;
+ $14 = ($12>>>0)>=($13>>>0);
+ do {
+ if ($14) {
+ $15 = $6;
+ $16 = (($15) + 1)|0;
+ $6 = $16;
+ $17 = $4;
+ $7 = $17;
+ $18 = $4;
+ $19 = $5;
+ $20 = (_ec_laplace_get_freq1($18,$19)|0);
+ $21 = (($20) + 1)|0;
+ $4 = $21;
+ while(1) {
+ $22 = $4;
+ $23 = ($22>>>0)>(1);
+ if ($23) {
+ $24 = $8;
+ $25 = $7;
+ $26 = $4;
+ $27 = $26<<1;
+ $28 = (($25) + ($27))|0;
+ $29 = ($24>>>0)>=($28>>>0);
+ $78 = $29;
+ } else {
+ $78 = 0;
+ }
+ $30 = $4;
+ if (!($78)) {
+ break;
+ }
+ $31 = $30<<1;
+ $4 = $31;
+ $32 = $4;
+ $33 = $7;
+ $34 = (($33) + ($32))|0;
+ $7 = $34;
+ $35 = $4;
+ $36 = (($35) - 2)|0;
+ $37 = $5;
+ $38 = Math_imul($36, $37)|0;
+ $39 = $38 >>> 15;
+ $4 = $39;
+ $40 = $4;
+ $41 = (($40) + 1)|0;
+ $4 = $41;
+ $42 = $6;
+ $43 = (($42) + 1)|0;
+ $6 = $43;
+ }
+ $44 = ($30>>>0)<=(1);
+ if ($44) {
+ $45 = $8;
+ $46 = $7;
+ $47 = (($45) - ($46))|0;
+ $48 = $47 >>> 1;
+ $9 = $48;
+ $49 = $9;
+ $50 = $6;
+ $51 = (($50) + ($49))|0;
+ $6 = $51;
+ $52 = $9;
+ $53 = $52<<1;
+ $54 = $53;
+ $55 = $7;
+ $56 = (($55) + ($54))|0;
+ $7 = $56;
+ }
+ $57 = $8;
+ $58 = $7;
+ $59 = $4;
+ $60 = (($58) + ($59))|0;
+ $61 = ($57>>>0)<($60>>>0);
+ if ($61) {
+ $62 = $6;
+ $63 = (0 - ($62))|0;
+ $6 = $63;
+ break;
+ } else {
+ $64 = $4;
+ $65 = $7;
+ $66 = (($65) + ($64))|0;
+ $7 = $66;
+ break;
+ }
+ }
+ } while(0);
+ $67 = $3;
+ $68 = $7;
+ $69 = $7;
+ $70 = $4;
+ $71 = (($69) + ($70))|0;
+ $72 = ($71>>>0)<(32768);
+ if (!($72)) {
+ $76 = 32768;
+ _ec_dec_update($67,$68,$76,32768);
+ $77 = $6;
+ STACKTOP = sp;return ($77|0);
+ }
+ $73 = $7;
+ $74 = $4;
+ $75 = (($73) + ($74))|0;
+ $76 = $75;
+ _ec_dec_update($67,$68,$76,32768);
+ $77 = $6;
+ STACKTOP = sp;return ($77|0);
+}
+function _isqrt32($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $1 = $0;
+ $3 = 0;
+ $6 = $1;
+ $7 = (Math_clz32(($6|0))|0);
+ $8 = (32 - ($7))|0;
+ $9 = (($8) - 1)|0;
+ $10 = $9 >> 1;
+ $4 = $10;
+ $11 = $4;
+ $12 = 1 << $11;
+ $2 = $12;
+ while(1) {
+ $13 = $3;
+ $14 = $13 << 1;
+ $15 = $2;
+ $16 = (($14) + ($15))|0;
+ $17 = $4;
+ $18 = $16 << $17;
+ $5 = $18;
+ $19 = $5;
+ $20 = $1;
+ $21 = ($19>>>0)<=($20>>>0);
+ if ($21) {
+ $22 = $2;
+ $23 = $3;
+ $24 = (($23) + ($22))|0;
+ $3 = $24;
+ $25 = $5;
+ $26 = $1;
+ $27 = (($26) - ($25))|0;
+ $1 = $27;
+ }
+ $28 = $2;
+ $29 = $28 >>> 1;
+ $2 = $29;
+ $30 = $4;
+ $31 = (($30) + -1)|0;
+ $4 = $31;
+ $32 = $4;
+ $33 = ($32|0)>=(0);
+ if (!($33)) {
+ break;
+ }
+ }
+ $34 = $3;
+ STACKTOP = sp;return ($34|0);
+}
+function _silk_encode_signs($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0;
+ var $69 = 0, $7 = 0, $70 = 0, $71 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $15 = sp + 44|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $18 = ((($15)) + 1|0);
+ HEAP8[$18>>0] = 0;
+ $19 = $7;
+ $16 = $19;
+ $20 = $10;
+ $21 = $9;
+ $22 = $21 << 1;
+ $23 = (($20) + ($22))|0;
+ $24 = $23&65535;
+ $25 = $24 << 16 >> 16;
+ $26 = ($25*7)|0;
+ $12 = $26;
+ $27 = $12;
+ $28 = (28863 + ($27)|0);
+ $17 = $28;
+ $29 = $8;
+ $30 = (($29) + 8)|0;
+ $31 = $30 >> 4;
+ $8 = $31;
+ $12 = 0;
+ while(1) {
+ $32 = $12;
+ $33 = $8;
+ $34 = ($32|0)<($33|0);
+ if (!($34)) {
+ break;
+ }
+ $35 = $11;
+ $36 = $12;
+ $37 = (($35) + ($36<<2)|0);
+ $38 = HEAP32[$37>>2]|0;
+ $14 = $38;
+ $39 = $14;
+ $40 = ($39|0)>(0);
+ L4: do {
+ if ($40) {
+ $41 = $17;
+ $42 = $14;
+ $43 = $42 & 31;
+ $44 = ($43|0)<(6);
+ $45 = $14;
+ $46 = $45 & 31;
+ $47 = $44 ? $46 : 6;
+ $48 = (($41) + ($47)|0);
+ $49 = HEAP8[$48>>0]|0;
+ HEAP8[$15>>0] = $49;
+ $13 = 0;
+ while(1) {
+ $50 = $13;
+ $51 = ($50|0)<(16);
+ if (!($51)) {
+ break L4;
+ }
+ $52 = $16;
+ $53 = $13;
+ $54 = (($52) + ($53)|0);
+ $55 = HEAP8[$54>>0]|0;
+ $56 = $55 << 24 >> 24;
+ $57 = ($56|0)!=(0);
+ if ($57) {
+ $58 = $6;
+ $59 = $16;
+ $60 = $13;
+ $61 = (($59) + ($60)|0);
+ $62 = HEAP8[$61>>0]|0;
+ $63 = $62 << 24 >> 24;
+ $64 = $63 >> 15;
+ $65 = (($64) + 1)|0;
+ _ec_enc_icdf($58,$65,$15,8);
+ }
+ $66 = $13;
+ $67 = (($66) + 1)|0;
+ $13 = $67;
+ }
+ }
+ } while(0);
+ $68 = $16;
+ $69 = ((($68)) + 16|0);
+ $16 = $69;
+ $70 = $12;
+ $71 = (($70) + 1)|0;
+ $12 = $71;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_decode_signs($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0;
+ var $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $15 = sp + 44|0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $18 = ((($15)) + 1|0);
+ HEAP8[$18>>0] = 0;
+ $19 = $7;
+ $16 = $19;
+ $20 = $10;
+ $21 = $9;
+ $22 = $21 << 1;
+ $23 = (($20) + ($22))|0;
+ $24 = $23&65535;
+ $25 = $24 << 16 >> 16;
+ $26 = ($25*7)|0;
+ $12 = $26;
+ $27 = $12;
+ $28 = (28863 + ($27)|0);
+ $17 = $28;
+ $29 = $8;
+ $30 = (($29) + 8)|0;
+ $31 = $30 >> 4;
+ $8 = $31;
+ $12 = 0;
+ while(1) {
+ $32 = $12;
+ $33 = $8;
+ $34 = ($32|0)<($33|0);
+ if (!($34)) {
+ break;
+ }
+ $35 = $11;
+ $36 = $12;
+ $37 = (($35) + ($36<<2)|0);
+ $38 = HEAP32[$37>>2]|0;
+ $14 = $38;
+ $39 = $14;
+ $40 = ($39|0)>(0);
+ L4: do {
+ if ($40) {
+ $41 = $17;
+ $42 = $14;
+ $43 = $42 & 31;
+ $44 = ($43|0)<(6);
+ $45 = $14;
+ $46 = $45 & 31;
+ $47 = $44 ? $46 : 6;
+ $48 = (($41) + ($47)|0);
+ $49 = HEAP8[$48>>0]|0;
+ HEAP8[$15>>0] = $49;
+ $13 = 0;
+ while(1) {
+ $50 = $13;
+ $51 = ($50|0)<(16);
+ if (!($51)) {
+ break L4;
+ }
+ $52 = $16;
+ $53 = $13;
+ $54 = (($52) + ($53<<1)|0);
+ $55 = HEAP16[$54>>1]|0;
+ $56 = $55 << 16 >> 16;
+ $57 = ($56|0)>(0);
+ if ($57) {
+ $58 = $6;
+ $59 = (_ec_dec_icdf($58,$15,8)|0);
+ $60 = $59 << 1;
+ $61 = (($60) - 1)|0;
+ $62 = $16;
+ $63 = $13;
+ $64 = (($62) + ($63<<1)|0);
+ $65 = HEAP16[$64>>1]|0;
+ $66 = $65 << 16 >> 16;
+ $67 = Math_imul($66, $61)|0;
+ $68 = $67&65535;
+ HEAP16[$64>>1] = $68;
+ }
+ $69 = $13;
+ $70 = (($69) + 1)|0;
+ $13 = $70;
+ }
+ }
+ } while(0);
+ $71 = $16;
+ $72 = ((($71)) + 32|0);
+ $16 = $72;
+ $73 = $12;
+ $74 = (($73) + 1)|0;
+ $12 = $74;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_init_decoder($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ _memset(($2|0),0,4260)|0;
+ $3 = $1;
+ $4 = ((($3)) + 2376|0);
+ HEAP32[$4>>2] = 1;
+ $5 = $1;
+ HEAP32[$5>>2] = 65536;
+ $6 = $1;
+ _silk_CNG_Reset($6);
+ $7 = $1;
+ _silk_PLC_Reset($7);
+ STACKTOP = sp;return 0;
+}
+function _silk_decode_frame($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $$alloca_mul = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0;
+ var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0;
+ var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
+ var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
+ $17 = sp + 4|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $16 = 0;
+ $19 = $7;
+ $20 = ((($19)) + 2328|0);
+ $21 = HEAP32[$20>>2]|0;
+ $14 = $21;
+ $22 = ((($17)) + 136|0);
+ HEAP32[$22>>2] = 0;
+ $23 = $11;
+ $24 = ($23|0)==(0);
+ do {
+ if ($24) {
+ label = 4;
+ } else {
+ $25 = $11;
+ $26 = ($25|0)==(2);
+ if ($26) {
+ $27 = $7;
+ $28 = ((($27)) + 2420|0);
+ $29 = $7;
+ $30 = ((($29)) + 2388|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = (($28) + ($31<<2)|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = ($33|0)==(1);
+ if ($34) {
+ label = 4;
+ break;
+ }
+ }
+ $82 = $7;
+ $83 = $9;
+ $84 = $13;
+ _silk_PLC($82,$17,$83,1,$84);
+ }
+ } while(0);
+ if ((label|0) == 4) {
+ $35 = $14;
+ $36 = (($35) + 16)|0;
+ $37 = (($36) - 1)|0;
+ $38 = $37 & -16;
+ $39 = (_llvm_stacksave()|0);
+ $18 = $39;
+ $$alloca_mul = $38<<1;
+ $40 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $41 = $7;
+ $42 = $8;
+ $43 = $7;
+ $44 = ((($43)) + 2388|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = $11;
+ $47 = $12;
+ _silk_decode_indices($41,$42,$45,$46,$47);
+ $48 = $8;
+ $49 = $7;
+ $50 = ((($49)) + 2736|0);
+ $51 = ((($50)) + 29|0);
+ $52 = HEAP8[$51>>0]|0;
+ $53 = $52 << 24 >> 24;
+ $54 = $7;
+ $55 = ((($54)) + 2736|0);
+ $56 = ((($55)) + 30|0);
+ $57 = HEAP8[$56>>0]|0;
+ $58 = $57 << 24 >> 24;
+ $59 = $7;
+ $60 = ((($59)) + 2328|0);
+ $61 = HEAP32[$60>>2]|0;
+ _silk_decode_pulses($48,$40,$53,$58,$61);
+ $62 = $7;
+ $63 = $12;
+ _silk_decode_parameters($62,$17,$63);
+ $64 = $7;
+ $65 = $9;
+ $66 = $13;
+ _silk_decode_core($64,$17,$65,$40,$66);
+ $67 = $7;
+ $68 = $9;
+ $69 = $13;
+ _silk_PLC($67,$17,$68,0,$69);
+ $70 = $7;
+ $71 = ((($70)) + 4160|0);
+ HEAP32[$71>>2] = 0;
+ $72 = $7;
+ $73 = ((($72)) + 2736|0);
+ $74 = ((($73)) + 29|0);
+ $75 = HEAP8[$74>>0]|0;
+ $76 = $75 << 24 >> 24;
+ $77 = $7;
+ $78 = ((($77)) + 4164|0);
+ HEAP32[$78>>2] = $76;
+ $79 = $7;
+ $80 = ((($79)) + 2376|0);
+ HEAP32[$80>>2] = 0;
+ $81 = $18;
+ _llvm_stackrestore(($81|0));
+ }
+ $85 = $7;
+ $86 = ((($85)) + 2336|0);
+ $87 = HEAP32[$86>>2]|0;
+ $88 = $7;
+ $89 = ((($88)) + 2328|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = (($87) - ($90))|0;
+ $15 = $91;
+ $92 = $7;
+ $93 = ((($92)) + 1348|0);
+ $94 = $7;
+ $95 = ((($94)) + 1348|0);
+ $96 = $7;
+ $97 = ((($96)) + 2328|0);
+ $98 = HEAP32[$97>>2]|0;
+ $99 = (($95) + ($98<<1)|0);
+ $100 = $15;
+ $101 = $100<<1;
+ _memmove(($93|0),($99|0),($101|0))|0;
+ $102 = $7;
+ $103 = ((($102)) + 1348|0);
+ $104 = $15;
+ $105 = (($103) + ($104<<1)|0);
+ $106 = $9;
+ $107 = $7;
+ $108 = ((($107)) + 2328|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = $109<<1;
+ _memcpy(($105|0),($106|0),($110|0))|0;
+ $111 = $7;
+ $112 = $9;
+ $113 = $14;
+ _silk_CNG($111,$17,$112,$113);
+ $114 = $7;
+ $115 = $9;
+ $116 = $14;
+ _silk_PLC_glue_frames($114,$115,$116);
+ $117 = $7;
+ $118 = ((($117)) + 2324|0);
+ $119 = HEAP32[$118>>2]|0;
+ $120 = (($119) - 1)|0;
+ $121 = (($17) + ($120<<2)|0);
+ $122 = HEAP32[$121>>2]|0;
+ $123 = $7;
+ $124 = ((($123)) + 2308|0);
+ HEAP32[$124>>2] = $122;
+ $125 = $14;
+ $126 = $10;
+ HEAP32[$126>>2] = $125;
+ $127 = $16;
+ STACKTOP = sp;return ($127|0);
+}
+function _silk_decode_parameters($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$sink = 0, $$sink2 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
+ var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
+ var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
+ var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0;
+ var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0;
+ var $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0;
+ var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
+ var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0;
+ var $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $9 = sp + 64|0;
+ $10 = sp + 32|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $12 = $4;
+ $13 = ((($12)) + 16|0);
+ $14 = $3;
+ $15 = ((($14)) + 2736|0);
+ $16 = $3;
+ $17 = ((($16)) + 2312|0);
+ $18 = $5;
+ $19 = ($18|0)==(2);
+ $20 = $19&1;
+ $21 = $3;
+ $22 = ((($21)) + 2324|0);
+ $23 = HEAP32[$22>>2]|0;
+ _silk_gains_dequant($13,$15,$17,$20,$23);
+ $24 = $3;
+ $25 = ((($24)) + 2736|0);
+ $26 = ((($25)) + 8|0);
+ $27 = $3;
+ $28 = ((($27)) + 2732|0);
+ $29 = HEAP32[$28>>2]|0;
+ _silk_NLSF_decode($9,$26,$29);
+ $30 = $4;
+ $31 = ((($30)) + 32|0);
+ $32 = ((($31)) + 32|0);
+ $33 = $3;
+ $34 = ((($33)) + 2340|0);
+ $35 = HEAP32[$34>>2]|0;
+ _silk_NLSF2A($32,$9,$35);
+ $36 = $3;
+ $37 = ((($36)) + 2376|0);
+ $38 = HEAP32[$37>>2]|0;
+ $39 = ($38|0)==(1);
+ if ($39) {
+ $40 = $3;
+ $41 = ((($40)) + 2736|0);
+ $42 = ((($41)) + 31|0);
+ HEAP8[$42>>0] = 4;
+ }
+ $43 = $3;
+ $44 = ((($43)) + 2736|0);
+ $45 = ((($44)) + 31|0);
+ $46 = HEAP8[$45>>0]|0;
+ $47 = $46 << 24 >> 24;
+ $48 = ($47|0)<(4);
+ if ($48) {
+ $6 = 0;
+ while(1) {
+ $49 = $6;
+ $50 = $3;
+ $51 = ((($50)) + 2340|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = ($49|0)<($52|0);
+ if (!($53)) {
+ break;
+ }
+ $54 = $3;
+ $55 = ((($54)) + 2344|0);
+ $56 = $6;
+ $57 = (($55) + ($56<<1)|0);
+ $58 = HEAP16[$57>>1]|0;
+ $59 = $58 << 16 >> 16;
+ $60 = $3;
+ $61 = ((($60)) + 2736|0);
+ $62 = ((($61)) + 31|0);
+ $63 = HEAP8[$62>>0]|0;
+ $64 = $63 << 24 >> 24;
+ $65 = $6;
+ $66 = (($9) + ($65<<1)|0);
+ $67 = HEAP16[$66>>1]|0;
+ $68 = $67 << 16 >> 16;
+ $69 = $3;
+ $70 = ((($69)) + 2344|0);
+ $71 = $6;
+ $72 = (($70) + ($71<<1)|0);
+ $73 = HEAP16[$72>>1]|0;
+ $74 = $73 << 16 >> 16;
+ $75 = (($68) - ($74))|0;
+ $76 = Math_imul($64, $75)|0;
+ $77 = $76 >> 2;
+ $78 = (($59) + ($77))|0;
+ $79 = $78&65535;
+ $80 = $6;
+ $81 = (($10) + ($80<<1)|0);
+ HEAP16[$81>>1] = $79;
+ $82 = $6;
+ $83 = (($82) + 1)|0;
+ $6 = $83;
+ }
+ $84 = $4;
+ $85 = ((($84)) + 32|0);
+ $86 = $3;
+ $87 = ((($86)) + 2340|0);
+ $88 = HEAP32[$87>>2]|0;
+ _silk_NLSF2A($85,$10,$88);
+ } else {
+ $89 = $4;
+ $90 = ((($89)) + 32|0);
+ $91 = $4;
+ $92 = ((($91)) + 32|0);
+ $93 = ((($92)) + 32|0);
+ $94 = $3;
+ $95 = ((($94)) + 2340|0);
+ $96 = HEAP32[$95>>2]|0;
+ $97 = $96<<1;
+ _memcpy(($90|0),($93|0),($97|0))|0;
+ }
+ $98 = $3;
+ $99 = ((($98)) + 2344|0);
+ $100 = $3;
+ $101 = ((($100)) + 2340|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = $102<<1;
+ _memcpy(($99|0),($9|0),($103|0))|0;
+ $104 = $3;
+ $105 = ((($104)) + 4160|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = ($106|0)!=(0);
+ if ($107) {
+ $108 = $4;
+ $109 = ((($108)) + 32|0);
+ $110 = $3;
+ $111 = ((($110)) + 2340|0);
+ $112 = HEAP32[$111>>2]|0;
+ _silk_bwexpander($109,$112,63570);
+ $113 = $4;
+ $114 = ((($113)) + 32|0);
+ $115 = ((($114)) + 32|0);
+ $116 = $3;
+ $117 = ((($116)) + 2340|0);
+ $118 = HEAP32[$117>>2]|0;
+ _silk_bwexpander($115,$118,63570);
+ }
+ $119 = $3;
+ $120 = ((($119)) + 2736|0);
+ $121 = ((($120)) + 29|0);
+ $122 = HEAP8[$121>>0]|0;
+ $123 = $122 << 24 >> 24;
+ $124 = ($123|0)==(2);
+ if (!($124)) {
+ $190 = $4;
+ $191 = $3;
+ $192 = ((($191)) + 2324|0);
+ $193 = HEAP32[$192>>2]|0;
+ $194 = $193<<2;
+ _memset(($190|0),0,($194|0))|0;
+ $195 = $4;
+ $196 = ((($195)) + 96|0);
+ $197 = $3;
+ $198 = ((($197)) + 2324|0);
+ $199 = HEAP32[$198>>2]|0;
+ $200 = ($199*5)|0;
+ $201 = $200<<1;
+ _memset(($196|0),0,($201|0))|0;
+ $202 = $3;
+ $203 = ((($202)) + 2736|0);
+ $204 = ((($203)) + 32|0);
+ HEAP8[$204>>0] = 0;
+ $205 = $4;
+ $$sink = 0;$$sink2 = $205;
+ $206 = ((($$sink2)) + 136|0);
+ HEAP32[$206>>2] = $$sink;
+ STACKTOP = sp;return;
+ }
+ $125 = $3;
+ $126 = ((($125)) + 2736|0);
+ $127 = ((($126)) + 26|0);
+ $128 = HEAP16[$127>>1]|0;
+ $129 = $3;
+ $130 = ((($129)) + 2736|0);
+ $131 = ((($130)) + 28|0);
+ $132 = HEAP8[$131>>0]|0;
+ $133 = $4;
+ $134 = $3;
+ $135 = ((($134)) + 2316|0);
+ $136 = HEAP32[$135>>2]|0;
+ $137 = $3;
+ $138 = ((($137)) + 2324|0);
+ $139 = HEAP32[$138>>2]|0;
+ _silk_decode_pitch($128,$132,$133,$136,$139);
+ $140 = $3;
+ $141 = ((($140)) + 2736|0);
+ $142 = ((($141)) + 32|0);
+ $143 = HEAP8[$142>>0]|0;
+ $144 = $143 << 24 >> 24;
+ $145 = (16684 + ($144<<2)|0);
+ $146 = HEAP32[$145>>2]|0;
+ $11 = $146;
+ $7 = 0;
+ while(1) {
+ $147 = $7;
+ $148 = $3;
+ $149 = ((($148)) + 2324|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = ($147|0)<($150|0);
+ $152 = $3;
+ $153 = ((($152)) + 2736|0);
+ if (!($151)) {
+ break;
+ }
+ $154 = ((($153)) + 4|0);
+ $155 = $7;
+ $156 = (($154) + ($155)|0);
+ $157 = HEAP8[$156>>0]|0;
+ $158 = $157 << 24 >> 24;
+ $8 = $158;
+ $6 = 0;
+ while(1) {
+ $159 = $6;
+ $160 = ($159|0)<(5);
+ if (!($160)) {
+ break;
+ }
+ $161 = $11;
+ $162 = $8;
+ $163 = ($162*5)|0;
+ $164 = $6;
+ $165 = (($163) + ($164))|0;
+ $166 = (($161) + ($165)|0);
+ $167 = HEAP8[$166>>0]|0;
+ $168 = $167 << 24 >> 24;
+ $169 = $168 << 7;
+ $170 = $169&65535;
+ $171 = $4;
+ $172 = ((($171)) + 96|0);
+ $173 = $7;
+ $174 = ($173*5)|0;
+ $175 = $6;
+ $176 = (($174) + ($175))|0;
+ $177 = (($172) + ($176<<1)|0);
+ HEAP16[$177>>1] = $170;
+ $178 = $6;
+ $179 = (($178) + 1)|0;
+ $6 = $179;
+ }
+ $180 = $7;
+ $181 = (($180) + 1)|0;
+ $7 = $181;
+ }
+ $182 = ((($153)) + 33|0);
+ $183 = HEAP8[$182>>0]|0;
+ $184 = $183 << 24 >> 24;
+ $8 = $184;
+ $185 = $8;
+ $186 = (25006 + ($185<<1)|0);
+ $187 = HEAP16[$186>>1]|0;
+ $188 = $187 << 16 >> 16;
+ $189 = $4;
+ $$sink = $188;$$sink2 = $189;
+ $206 = ((($$sink2)) + 136|0);
+ HEAP32[$206>>2] = $$sink;
+ STACKTOP = sp;return;
+}
+function _silk_decode_indices($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$sink = 0, $$sink3 = 0, $$sink4 = 0, $$sink7 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0;
+ var $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0;
+ var $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0;
+ var $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0;
+ var $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0;
+ var $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0;
+ var $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0;
+ var $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0;
+ var $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0;
+ var $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0;
+ var $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $15 = sp + 40|0;
+ $16 = sp + 72|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $17 = $8;
+ $18 = ($17|0)!=(0);
+ if ($18) {
+ label = 3;
+ } else {
+ $19 = $5;
+ $20 = ((($19)) + 2404|0);
+ $21 = $7;
+ $22 = (($20) + ($21<<2)|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = ($23|0)!=(0);
+ if ($24) {
+ label = 3;
+ } else {
+ $28 = $6;
+ $29 = (_ec_dec_icdf($28,27703,8)|0);
+ $12 = $29;
+ }
+ }
+ if ((label|0) == 3) {
+ $25 = $6;
+ $26 = (_ec_dec_icdf($25,27699,8)|0);
+ $27 = (($26) + 2)|0;
+ $12 = $27;
+ }
+ $30 = $12;
+ $31 = $30 >> 1;
+ $32 = $31&255;
+ $33 = $5;
+ $34 = ((($33)) + 2736|0);
+ $35 = ((($34)) + 29|0);
+ HEAP8[$35>>0] = $32;
+ $36 = $12;
+ $37 = $36 & 1;
+ $38 = $37&255;
+ $39 = $5;
+ $40 = ((($39)) + 2736|0);
+ $41 = ((($40)) + 30|0);
+ HEAP8[$41>>0] = $38;
+ $42 = $9;
+ $43 = ($42|0)==(2);
+ $44 = $6;
+ if ($43) {
+ $45 = (_ec_dec_icdf($44,27162,8)|0);
+ $46 = $45&255;
+ $47 = $5;
+ $48 = ((($47)) + 2736|0);
+ HEAP8[$48>>0] = $46;
+ } else {
+ $49 = $5;
+ $50 = ((($49)) + 2736|0);
+ $51 = ((($50)) + 29|0);
+ $52 = HEAP8[$51>>0]|0;
+ $53 = $52 << 24 >> 24;
+ $54 = (27138 + ($53<<3)|0);
+ $55 = (_ec_dec_icdf($44,$54,8)|0);
+ $56 = $55 << 3;
+ $57 = $56&255;
+ $58 = $5;
+ $59 = ((($58)) + 2736|0);
+ HEAP8[$59>>0] = $57;
+ $60 = $6;
+ $61 = (_ec_dec_icdf($60,27728,8)|0);
+ $62 = $61&255;
+ $63 = $62 << 24 >> 24;
+ $64 = $5;
+ $65 = ((($64)) + 2736|0);
+ $66 = HEAP8[$65>>0]|0;
+ $67 = $66 << 24 >> 24;
+ $68 = (($67) + ($63))|0;
+ $69 = $68&255;
+ HEAP8[$65>>0] = $69;
+ }
+ $10 = 1;
+ while(1) {
+ $70 = $10;
+ $71 = $5;
+ $72 = ((($71)) + 2324|0);
+ $73 = HEAP32[$72>>2]|0;
+ $74 = ($70|0)<($73|0);
+ $75 = $6;
+ if (!($74)) {
+ break;
+ }
+ $76 = (_ec_dec_icdf($75,27162,8)|0);
+ $77 = $76&255;
+ $78 = $5;
+ $79 = ((($78)) + 2736|0);
+ $80 = $10;
+ $81 = (($79) + ($80)|0);
+ HEAP8[$81>>0] = $77;
+ $82 = $10;
+ $83 = (($82) + 1)|0;
+ $10 = $83;
+ }
+ $84 = $5;
+ $85 = ((($84)) + 2732|0);
+ $86 = HEAP32[$85>>2]|0;
+ $87 = ((($86)) + 12|0);
+ $88 = HEAP32[$87>>2]|0;
+ $89 = $5;
+ $90 = ((($89)) + 2736|0);
+ $91 = ((($90)) + 29|0);
+ $92 = HEAP8[$91>>0]|0;
+ $93 = $92 << 24 >> 24;
+ $94 = $93 >> 1;
+ $95 = $5;
+ $96 = ((($95)) + 2732|0);
+ $97 = HEAP32[$96>>2]|0;
+ $98 = HEAP16[$97>>1]|0;
+ $99 = $98 << 16 >> 16;
+ $100 = Math_imul($94, $99)|0;
+ $101 = (($88) + ($100)|0);
+ $102 = (_ec_dec_icdf($75,$101,8)|0);
+ $103 = $102&255;
+ $104 = $5;
+ $105 = ((($104)) + 2736|0);
+ $106 = ((($105)) + 8|0);
+ HEAP8[$106>>0] = $103;
+ $107 = $5;
+ $108 = ((($107)) + 2732|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = $5;
+ $111 = ((($110)) + 2736|0);
+ $112 = ((($111)) + 8|0);
+ $113 = HEAP8[$112>>0]|0;
+ $114 = $113 << 24 >> 24;
+ _silk_NLSF_unpack($15,$16,$109,$114);
+ $10 = 0;
+ while(1) {
+ $115 = $10;
+ $116 = $5;
+ $117 = ((($116)) + 2732|0);
+ $118 = HEAP32[$117>>2]|0;
+ $119 = ((($118)) + 2|0);
+ $120 = HEAP16[$119>>1]|0;
+ $121 = $120 << 16 >> 16;
+ $122 = ($115|0)<($121|0);
+ if (!($122)) {
+ break;
+ }
+ $123 = $6;
+ $124 = $5;
+ $125 = ((($124)) + 2732|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = ((($126)) + 24|0);
+ $128 = HEAP32[$127>>2]|0;
+ $129 = $10;
+ $130 = (($15) + ($129<<1)|0);
+ $131 = HEAP16[$130>>1]|0;
+ $132 = $131 << 16 >> 16;
+ $133 = (($128) + ($132)|0);
+ $134 = (_ec_dec_icdf($123,$133,8)|0);
+ $12 = $134;
+ $135 = $12;
+ $136 = ($135|0)==(0);
+ if ($136) {
+ $137 = $6;
+ $138 = (_ec_dec_icdf($137,27736,8)|0);
+ $139 = $12;
+ $140 = (($139) - ($138))|0;
+ $12 = $140;
+ } else {
+ $141 = $12;
+ $142 = ($141|0)==(8);
+ if ($142) {
+ $143 = $6;
+ $144 = (_ec_dec_icdf($143,27736,8)|0);
+ $145 = $12;
+ $146 = (($145) + ($144))|0;
+ $12 = $146;
+ }
+ }
+ $147 = $12;
+ $148 = (($147) - 4)|0;
+ $149 = $148&255;
+ $150 = $5;
+ $151 = ((($150)) + 2736|0);
+ $152 = ((($151)) + 8|0);
+ $153 = $10;
+ $154 = (($153) + 1)|0;
+ $155 = (($152) + ($154)|0);
+ HEAP8[$155>>0] = $149;
+ $156 = $10;
+ $157 = (($156) + 1)|0;
+ $10 = $157;
+ }
+ $158 = $5;
+ $159 = ((($158)) + 2324|0);
+ $160 = HEAP32[$159>>2]|0;
+ $161 = ($160|0)==(4);
+ if ($161) {
+ $162 = $6;
+ $163 = (_ec_dec_icdf($162,27705,8)|0);
+ $164 = $163&255;
+ $165 = $5;
+ $$sink = $164;$$sink3 = $165;
+ } else {
+ $166 = $5;
+ $$sink = 4;$$sink3 = $166;
+ }
+ $167 = ((($$sink3)) + 2736|0);
+ $168 = ((($167)) + 31|0);
+ HEAP8[$168>>0] = $$sink;
+ $169 = $5;
+ $170 = ((($169)) + 2736|0);
+ $171 = ((($170)) + 29|0);
+ $172 = HEAP8[$171>>0]|0;
+ $173 = $172 << 24 >> 24;
+ $174 = ($173|0)==(2);
+ if (!($174)) {
+ $280 = $5;
+ $281 = ((($280)) + 2736|0);
+ $282 = ((($281)) + 29|0);
+ $283 = HEAP8[$282>>0]|0;
+ $284 = $283 << 24 >> 24;
+ $285 = $5;
+ $286 = ((($285)) + 2396|0);
+ HEAP32[$286>>2] = $284;
+ $287 = $6;
+ $288 = (_ec_dec_icdf($287,27713,8)|0);
+ $289 = $288&255;
+ $290 = $5;
+ $291 = ((($290)) + 2736|0);
+ $292 = ((($291)) + 34|0);
+ HEAP8[$292>>0] = $289;
+ STACKTOP = sp;return;
+ }
+ $13 = 1;
+ $175 = $9;
+ $176 = ($175|0)==(2);
+ if ($176) {
+ $177 = $5;
+ $178 = ((($177)) + 2396|0);
+ $179 = HEAP32[$178>>2]|0;
+ $180 = ($179|0)==(2);
+ if ($180) {
+ $181 = $6;
+ $182 = (_ec_dec_icdf($181,27775,8)|0);
+ $183 = $182&65535;
+ $184 = $183 << 16 >> 16;
+ $14 = $184;
+ $185 = $14;
+ $186 = ($185|0)>(0);
+ if ($186) {
+ $187 = $14;
+ $188 = (($187) - 9)|0;
+ $14 = $188;
+ $189 = $5;
+ $190 = ((($189)) + 2400|0);
+ $191 = HEAP16[$190>>1]|0;
+ $192 = $191 << 16 >> 16;
+ $193 = $14;
+ $194 = (($192) + ($193))|0;
+ $195 = $194&65535;
+ $196 = $5;
+ $197 = ((($196)) + 2736|0);
+ $198 = ((($197)) + 26|0);
+ HEAP16[$198>>1] = $195;
+ $13 = 0;
+ }
+ }
+ }
+ $199 = $13;
+ $200 = ($199|0)!=(0);
+ if ($200) {
+ $201 = $6;
+ $202 = (_ec_dec_icdf($201,27743,8)|0);
+ $203 = $202&65535;
+ $204 = $203 << 16 >> 16;
+ $205 = $5;
+ $206 = ((($205)) + 2316|0);
+ $207 = HEAP32[$206>>2]|0;
+ $208 = $207 >> 1;
+ $209 = Math_imul($204, $208)|0;
+ $210 = $209&65535;
+ $211 = $5;
+ $212 = ((($211)) + 2736|0);
+ $213 = ((($212)) + 26|0);
+ HEAP16[$213>>1] = $210;
+ $214 = $6;
+ $215 = $5;
+ $216 = ((($215)) + 2380|0);
+ $217 = HEAP32[$216>>2]|0;
+ $218 = (_ec_dec_icdf($214,$217,8)|0);
+ $219 = $218&65535;
+ $220 = $219 << 16 >> 16;
+ $221 = $5;
+ $222 = ((($221)) + 2736|0);
+ $223 = ((($222)) + 26|0);
+ $224 = HEAP16[$223>>1]|0;
+ $225 = $224 << 16 >> 16;
+ $226 = (($225) + ($220))|0;
+ $227 = $226&65535;
+ HEAP16[$223>>1] = $227;
+ }
+ $228 = $5;
+ $229 = ((($228)) + 2736|0);
+ $230 = ((($229)) + 26|0);
+ $231 = HEAP16[$230>>1]|0;
+ $232 = $5;
+ $233 = ((($232)) + 2400|0);
+ HEAP16[$233>>1] = $231;
+ $234 = $6;
+ $235 = $5;
+ $236 = ((($235)) + 2384|0);
+ $237 = HEAP32[$236>>2]|0;
+ $238 = (_ec_dec_icdf($234,$237,8)|0);
+ $239 = $238&255;
+ $240 = $5;
+ $241 = ((($240)) + 2736|0);
+ $242 = ((($241)) + 28|0);
+ HEAP8[$242>>0] = $239;
+ $243 = $6;
+ $244 = (_ec_dec_icdf($243,27203,8)|0);
+ $245 = $244&255;
+ $246 = $5;
+ $247 = ((($246)) + 2736|0);
+ $248 = ((($247)) + 32|0);
+ HEAP8[$248>>0] = $245;
+ $11 = 0;
+ while(1) {
+ $249 = $11;
+ $250 = $5;
+ $251 = ((($250)) + 2324|0);
+ $252 = HEAP32[$251>>2]|0;
+ $253 = ($249|0)<($252|0);
+ if (!($253)) {
+ break;
+ }
+ $254 = $6;
+ $255 = $5;
+ $256 = ((($255)) + 2736|0);
+ $257 = ((($256)) + 32|0);
+ $258 = HEAP8[$257>>0]|0;
+ $259 = $258 << 24 >> 24;
+ $260 = (16660 + ($259<<2)|0);
+ $261 = HEAP32[$260>>2]|0;
+ $262 = (_ec_dec_icdf($254,$261,8)|0);
+ $263 = $262&255;
+ $264 = $5;
+ $265 = ((($264)) + 2736|0);
+ $266 = ((($265)) + 4|0);
+ $267 = $11;
+ $268 = (($266) + ($267)|0);
+ HEAP8[$268>>0] = $263;
+ $269 = $11;
+ $270 = (($269) + 1)|0;
+ $11 = $270;
+ }
+ $271 = $9;
+ $272 = ($271|0)==(0);
+ if ($272) {
+ $273 = $6;
+ $274 = (_ec_dec_icdf($273,27696,8)|0);
+ $275 = $274&255;
+ $276 = $5;
+ $$sink4 = $275;$$sink7 = $276;
+ } else {
+ $277 = $5;
+ $$sink4 = 0;$$sink7 = $277;
+ }
+ $278 = ((($$sink7)) + 2736|0);
+ $279 = ((($278)) + 33|0);
+ HEAP8[$279>>0] = $$sink4;
+ $280 = $5;
+ $281 = ((($280)) + 2736|0);
+ $282 = ((($281)) + 29|0);
+ $283 = HEAP8[$282>>0]|0;
+ $284 = $283 << 24 >> 24;
+ $285 = $5;
+ $286 = ((($285)) + 2396|0);
+ HEAP32[$286>>2] = $284;
+ $287 = $6;
+ $288 = (_ec_dec_icdf($287,27713,8)|0);
+ $289 = $288&255;
+ $290 = $5;
+ $291 = ((($290)) + 2736|0);
+ $292 = ((($291)) + 34|0);
+ HEAP8[$292>>0] = $289;
+ STACKTOP = sp;return;
+}
+function _silk_decode_pulses($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$sink = 0, $$sink2 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0;
+ var $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, dest = 0, label = 0, sp = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 224|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(224|0);
+ $17 = sp + 88|0;
+ $18 = sp + 8|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $21 = $5;
+ $22 = $7;
+ $23 = $22 >> 1;
+ $24 = (28202 + (($23*9)|0)|0);
+ $25 = (_ec_dec_icdf($21,$24,8)|0);
+ $16 = $25;
+ $26 = $9;
+ $27 = $26 >> 4;
+ $13 = $27;
+ $28 = $13;
+ $29 = $28<<4;
+ $30 = $9;
+ $31 = ($29|0)<($30|0);
+ if ($31) {
+ $32 = $13;
+ $33 = (($32) + 1)|0;
+ $13 = $33;
+ }
+ $34 = $16;
+ $35 = (27860 + (($34*18)|0)|0);
+ $20 = $35;
+ $10 = 0;
+ while(1) {
+ $36 = $10;
+ $37 = $13;
+ $38 = ($36|0)<($37|0);
+ if (!($38)) {
+ break;
+ }
+ $39 = $10;
+ $40 = (($18) + ($39<<2)|0);
+ HEAP32[$40>>2] = 0;
+ $41 = $5;
+ $42 = $20;
+ $43 = (_ec_dec_icdf($41,$42,8)|0);
+ $44 = $10;
+ $$sink = $43;$$sink2 = $44;
+ while(1) {
+ $45 = (($17) + ($$sink2<<2)|0);
+ HEAP32[$45>>2] = $$sink;
+ $46 = $10;
+ $47 = (($17) + ($46<<2)|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = ($48|0)==(17);
+ $50 = $10;
+ if (!($49)) {
+ break;
+ }
+ $51 = (($18) + ($50<<2)|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = (($52) + 1)|0;
+ HEAP32[$51>>2] = $53;
+ $54 = $5;
+ $55 = $10;
+ $56 = (($18) + ($55<<2)|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = ($57|0)==(10);
+ $59 = $58&1;
+ $60 = ((28022) + ($59)|0);
+ $61 = (_ec_dec_icdf($54,$60,8)|0);
+ $62 = $10;
+ $$sink = $61;$$sink2 = $62;
+ }
+ $63 = (($50) + 1)|0;
+ $10 = $63;
+ }
+ $10 = 0;
+ while(1) {
+ $64 = $10;
+ $65 = $13;
+ $66 = ($64|0)<($65|0);
+ if (!($66)) {
+ break;
+ }
+ $67 = $10;
+ $68 = (($17) + ($67<<2)|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = ($69|0)>(0);
+ $71 = $6;
+ $72 = $10;
+ $73 = $72&65535;
+ $74 = $73 << 16 >> 16;
+ $75 = $74<<4;
+ $76 = (($71) + ($75<<1)|0);
+ if ($70) {
+ $77 = $5;
+ $78 = $10;
+ $79 = (($17) + ($78<<2)|0);
+ $80 = HEAP32[$79>>2]|0;
+ _silk_shell_decoder($76,$77,$80);
+ } else {
+ dest=$76; stop=dest+32|0; do { HEAP16[dest>>1]=0|0; dest=dest+2|0; } while ((dest|0) < (stop|0));
+ }
+ $81 = $10;
+ $82 = (($81) + 1)|0;
+ $10 = $82;
+ }
+ $10 = 0;
+ while(1) {
+ $83 = $10;
+ $84 = $13;
+ $85 = ($83|0)<($84|0);
+ if (!($85)) {
+ break;
+ }
+ $86 = $10;
+ $87 = (($18) + ($86<<2)|0);
+ $88 = HEAP32[$87>>2]|0;
+ $89 = ($88|0)>(0);
+ if ($89) {
+ $90 = $10;
+ $91 = (($18) + ($90<<2)|0);
+ $92 = HEAP32[$91>>2]|0;
+ $15 = $92;
+ $93 = $6;
+ $94 = $10;
+ $95 = $94&65535;
+ $96 = $95 << 16 >> 16;
+ $97 = $96<<4;
+ $98 = (($93) + ($97<<1)|0);
+ $19 = $98;
+ $12 = 0;
+ while(1) {
+ $99 = $12;
+ $100 = ($99|0)<(16);
+ if (!($100)) {
+ break;
+ }
+ $101 = $19;
+ $102 = $12;
+ $103 = (($101) + ($102<<1)|0);
+ $104 = HEAP16[$103>>1]|0;
+ $105 = $104 << 16 >> 16;
+ $14 = $105;
+ $11 = 0;
+ while(1) {
+ $106 = $11;
+ $107 = $15;
+ $108 = ($106|0)<($107|0);
+ $109 = $14;
+ if (!($108)) {
+ break;
+ }
+ $110 = $109 << 1;
+ $14 = $110;
+ $111 = $5;
+ $112 = (_ec_dec_icdf($111,27694,8)|0);
+ $113 = $14;
+ $114 = (($113) + ($112))|0;
+ $14 = $114;
+ $115 = $11;
+ $116 = (($115) + 1)|0;
+ $11 = $116;
+ }
+ $117 = $109&65535;
+ $118 = $19;
+ $119 = $12;
+ $120 = (($118) + ($119<<1)|0);
+ HEAP16[$120>>1] = $117;
+ $121 = $12;
+ $122 = (($121) + 1)|0;
+ $12 = $122;
+ }
+ $123 = $15;
+ $124 = $123 << 5;
+ $125 = $10;
+ $126 = (($17) + ($125<<2)|0);
+ $127 = HEAP32[$126>>2]|0;
+ $128 = $127 | $124;
+ HEAP32[$126>>2] = $128;
+ }
+ $129 = $10;
+ $130 = (($129) + 1)|0;
+ $10 = $130;
+ }
+ $131 = $5;
+ $132 = $6;
+ $133 = $9;
+ $134 = $7;
+ $135 = $8;
+ _silk_decode_signs($131,$132,$133,$134,$135,$17);
+ STACKTOP = sp;return;
+}
+function _silk_decoder_set_fs($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$sink = 0, $$sink1 = 0, $$sink1$sink = 0, $$sink4 = 0, $$sink5 = 0, $$sink7 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0;
+ var $112 = 0, $113 = 0, $114 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $silk_NLSF_CB_WB$sink = 0;
+ var dest = 0, label = 0, sp = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = 0;
+ $8 = $4;
+ $9 = $8&65535;
+ $10 = $9 << 16 >> 16;
+ $11 = ($10*5)|0;
+ $12 = $3;
+ $13 = ((($12)) + 2332|0);
+ HEAP32[$13>>2] = $11;
+ $14 = $3;
+ $15 = ((($14)) + 2324|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = $16&65535;
+ $18 = $17 << 16 >> 16;
+ $19 = $3;
+ $20 = ((($19)) + 2332|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = $21&65535;
+ $23 = $22 << 16 >> 16;
+ $24 = Math_imul($18, $23)|0;
+ $6 = $24;
+ $25 = $3;
+ $26 = ((($25)) + 2316|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = $4;
+ $29 = ($27|0)!=($28|0);
+ if ($29) {
+ label = 3;
+ } else {
+ $30 = $3;
+ $31 = ((($30)) + 2320|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = $5;
+ $34 = ($32|0)!=($33|0);
+ if ($34) {
+ label = 3;
+ }
+ }
+ if ((label|0) == 3) {
+ $35 = $3;
+ $36 = ((($35)) + 2432|0);
+ $37 = $4;
+ $38 = $37&65535;
+ $39 = $38 << 16 >> 16;
+ $40 = ($39*1000)|0;
+ $41 = $5;
+ $42 = (_silk_resampler_init($36,$40,$41,0)|0);
+ $43 = $7;
+ $44 = (($43) + ($42))|0;
+ $7 = $44;
+ $45 = $5;
+ $46 = $3;
+ $47 = ((($46)) + 2320|0);
+ HEAP32[$47>>2] = $45;
+ }
+ $48 = $3;
+ $49 = ((($48)) + 2316|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = $4;
+ $52 = ($50|0)!=($51|0);
+ if (!($52)) {
+ $53 = $6;
+ $54 = $3;
+ $55 = ((($54)) + 2328|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = ($53|0)!=($56|0);
+ if (!($57)) {
+ $114 = $7;
+ STACKTOP = sp;return ($114|0);
+ }
+ }
+ $58 = $4;
+ $59 = ($58|0)==(8);
+ $60 = $3;
+ $61 = ((($60)) + 2324|0);
+ $62 = HEAP32[$61>>2]|0;
+ $63 = ($62|0)==(4);
+ $64 = $3;
+ $65 = ((($64)) + 2384|0);
+ $$sink1 = $63 ? 27796 : 27841;
+ $$sink = $63 ? 27830 : 27853;
+ $$sink1$sink = $59 ? $$sink : $$sink1;
+ HEAP32[$65>>2] = $$sink1$sink;
+ $66 = $3;
+ $67 = ((($66)) + 2316|0);
+ $68 = HEAP32[$67>>2]|0;
+ $69 = $4;
+ $70 = ($68|0)!=($69|0);
+ if ($70) {
+ $71 = $4;
+ $72 = $71&65535;
+ $73 = $72 << 16 >> 16;
+ $74 = ($73*20)|0;
+ $75 = $3;
+ $76 = ((($75)) + 2336|0);
+ HEAP32[$76>>2] = $74;
+ $77 = $4;
+ $78 = ($77|0)==(8);
+ $79 = $4;
+ $80 = ($79|0)==(12);
+ $or$cond = $78 | $80;
+ $81 = $3;
+ $82 = ((($81)) + 2340|0);
+ if ($or$cond) {
+ HEAP32[$82>>2] = 10;
+ $83 = $3;
+ $$sink4 = $83;$silk_NLSF_CB_WB$sink = 22216;
+ } else {
+ HEAP32[$82>>2] = 16;
+ $84 = $3;
+ $$sink4 = $84;$silk_NLSF_CB_WB$sink = 22252;
+ }
+ $85 = ((($$sink4)) + 2732|0);
+ HEAP32[$85>>2] = $silk_NLSF_CB_WB$sink;
+ $86 = $4;
+ $87 = ($86|0)==(16);
+ do {
+ if ($87) {
+ $88 = $3;
+ $$sink5 = 27728;$$sink7 = $88;
+ label = 16;
+ } else {
+ $89 = $4;
+ $90 = ($89|0)==(12);
+ if ($90) {
+ $91 = $3;
+ $$sink5 = 27722;$$sink7 = $91;
+ label = 16;
+ break;
+ }
+ $92 = $4;
+ $93 = ($92|0)==(8);
+ if ($93) {
+ $94 = $3;
+ $$sink5 = 27713;$$sink7 = $94;
+ label = 16;
+ }
+ }
+ } while(0);
+ if ((label|0) == 16) {
+ $95 = ((($$sink7)) + 2380|0);
+ HEAP32[$95>>2] = $$sink5;
+ }
+ $96 = $3;
+ $97 = ((($96)) + 2376|0);
+ HEAP32[$97>>2] = 1;
+ $98 = $3;
+ $99 = ((($98)) + 2308|0);
+ HEAP32[$99>>2] = 100;
+ $100 = $3;
+ $101 = ((($100)) + 2312|0);
+ HEAP8[$101>>0] = 10;
+ $102 = $3;
+ $103 = ((($102)) + 4164|0);
+ HEAP32[$103>>2] = 0;
+ $104 = $3;
+ $105 = ((($104)) + 1348|0);
+ _memset(($105|0),0,960)|0;
+ $106 = $3;
+ $107 = ((($106)) + 1284|0);
+ dest=$107; stop=dest+64|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
+ }
+ $108 = $4;
+ $109 = $3;
+ $110 = ((($109)) + 2316|0);
+ HEAP32[$110>>2] = $108;
+ $111 = $6;
+ $112 = $3;
+ $113 = ((($112)) + 2328|0);
+ HEAP32[$113>>2] = $111;
+ $114 = $7;
+ STACKTOP = sp;return ($114|0);
+}
+function _silk_gains_quant($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$sink = 0, $$sink4 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
+ var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
+ var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
+ var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0;
+ var $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0;
+ var $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0;
+ var $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0;
+ var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0;
+ var $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
+ var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0;
+ var $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = 0;
+ while(1) {
+ $12 = $10;
+ $13 = $9;
+ $14 = ($12|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $15 = $6;
+ $16 = $10;
+ $17 = (($15) + ($16<<2)|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = (_silk_lin2log($18)|0);
+ $20 = (($19) - 2090)|0;
+ $21 = $20&65535;
+ $22 = $21 << 16 >> 16;
+ $23 = 0;
+ $24 = $6;
+ $25 = $10;
+ $26 = (($24) + ($25<<2)|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = (_silk_lin2log($27)|0);
+ $29 = (($28) - 2090)|0;
+ $30 = $29&65535;
+ $31 = $30 << 16 >> 16;
+ $32 = ($31*2251)|0;
+ $33 = $32 >> 16;
+ $34 = (($23) + ($33))|0;
+ $35 = $34&255;
+ $36 = $5;
+ $37 = $10;
+ $38 = (($36) + ($37)|0);
+ HEAP8[$38>>0] = $35;
+ $39 = $5;
+ $40 = $10;
+ $41 = (($39) + ($40)|0);
+ $42 = HEAP8[$41>>0]|0;
+ $43 = $42 << 24 >> 24;
+ $44 = $7;
+ $45 = HEAP8[$44>>0]|0;
+ $46 = $45 << 24 >> 24;
+ $47 = ($43|0)<($46|0);
+ if ($47) {
+ $48 = $5;
+ $49 = $10;
+ $50 = (($48) + ($49)|0);
+ $51 = HEAP8[$50>>0]|0;
+ $52 = (($51) + 1)<<24>>24;
+ HEAP8[$50>>0] = $52;
+ }
+ $53 = $5;
+ $54 = $10;
+ $55 = (($53) + ($54)|0);
+ $56 = HEAP8[$55>>0]|0;
+ $57 = $56 << 24 >> 24;
+ $58 = ($57|0)>(63);
+ if ($58) {
+ $71 = 63;
+ } else {
+ $59 = $5;
+ $60 = $10;
+ $61 = (($59) + ($60)|0);
+ $62 = HEAP8[$61>>0]|0;
+ $63 = $62 << 24 >> 24;
+ $64 = ($63|0)<(0);
+ if ($64) {
+ $71 = 0;
+ } else {
+ $65 = $5;
+ $66 = $10;
+ $67 = (($65) + ($66)|0);
+ $68 = HEAP8[$67>>0]|0;
+ $69 = $68 << 24 >> 24;
+ $71 = $69;
+ }
+ }
+ $70 = $71&255;
+ $72 = $5;
+ $73 = $10;
+ $74 = (($72) + ($73)|0);
+ HEAP8[$74>>0] = $70;
+ $75 = $10;
+ $76 = ($75|0)==(0);
+ $77 = $8;
+ $78 = ($77|0)==(0);
+ $or$cond = $76 & $78;
+ if ($or$cond) {
+ $79 = $7;
+ $80 = HEAP8[$79>>0]|0;
+ $81 = $80 << 24 >> 24;
+ $82 = (($81) + -4)|0;
+ $83 = ($82|0)>(63);
+ $84 = $5;
+ $85 = $10;
+ $86 = (($84) + ($85)|0);
+ $87 = HEAP8[$86>>0]|0;
+ $88 = $87 << 24 >> 24;
+ do {
+ if ($83) {
+ $89 = $7;
+ $90 = HEAP8[$89>>0]|0;
+ $91 = $90 << 24 >> 24;
+ $92 = (($91) + -4)|0;
+ $93 = ($88|0)>($92|0);
+ if ($93) {
+ $94 = $7;
+ $95 = HEAP8[$94>>0]|0;
+ $96 = $95 << 24 >> 24;
+ $97 = (($96) + -4)|0;
+ $130 = $97;
+ break;
+ }
+ $98 = $5;
+ $99 = $10;
+ $100 = (($98) + ($99)|0);
+ $101 = HEAP8[$100>>0]|0;
+ $102 = $101 << 24 >> 24;
+ $103 = ($102|0)<(63);
+ if ($103) {
+ $130 = 63;
+ } else {
+ $104 = $5;
+ $105 = $10;
+ $106 = (($104) + ($105)|0);
+ $107 = HEAP8[$106>>0]|0;
+ $108 = $107 << 24 >> 24;
+ $130 = $108;
+ }
+ } else {
+ $109 = ($88|0)>(63);
+ if ($109) {
+ $130 = 63;
+ } else {
+ $110 = $5;
+ $111 = $10;
+ $112 = (($110) + ($111)|0);
+ $113 = HEAP8[$112>>0]|0;
+ $114 = $113 << 24 >> 24;
+ $115 = $7;
+ $116 = HEAP8[$115>>0]|0;
+ $117 = $116 << 24 >> 24;
+ $118 = (($117) + -4)|0;
+ $119 = ($114|0)<($118|0);
+ if ($119) {
+ $120 = $7;
+ $121 = HEAP8[$120>>0]|0;
+ $122 = $121 << 24 >> 24;
+ $123 = (($122) + -4)|0;
+ $130 = $123;
+ break;
+ } else {
+ $124 = $5;
+ $125 = $10;
+ $126 = (($124) + ($125)|0);
+ $127 = HEAP8[$126>>0]|0;
+ $128 = $127 << 24 >> 24;
+ $130 = $128;
+ break;
+ }
+ }
+ }
+ } while(0);
+ $129 = $130&255;
+ $131 = $5;
+ $132 = $10;
+ $133 = (($131) + ($132)|0);
+ HEAP8[$133>>0] = $129;
+ $134 = $5;
+ $135 = $10;
+ $136 = (($134) + ($135)|0);
+ $137 = HEAP8[$136>>0]|0;
+ $138 = $7;
+ HEAP8[$138>>0] = $137;
+ } else {
+ $139 = $5;
+ $140 = $10;
+ $141 = (($139) + ($140)|0);
+ $142 = HEAP8[$141>>0]|0;
+ $143 = $142 << 24 >> 24;
+ $144 = $7;
+ $145 = HEAP8[$144>>0]|0;
+ $146 = $145 << 24 >> 24;
+ $147 = (($143) - ($146))|0;
+ $148 = $147&255;
+ $149 = $5;
+ $150 = $10;
+ $151 = (($149) + ($150)|0);
+ HEAP8[$151>>0] = $148;
+ $152 = $7;
+ $153 = HEAP8[$152>>0]|0;
+ $154 = $153 << 24 >> 24;
+ $155 = (8 + ($154))|0;
+ $11 = $155;
+ $156 = $5;
+ $157 = $10;
+ $158 = (($156) + ($157)|0);
+ $159 = HEAP8[$158>>0]|0;
+ $160 = $159 << 24 >> 24;
+ $161 = $11;
+ $162 = ($160|0)>($161|0);
+ if ($162) {
+ $163 = $11;
+ $164 = $5;
+ $165 = $10;
+ $166 = (($164) + ($165)|0);
+ $167 = HEAP8[$166>>0]|0;
+ $168 = $167 << 24 >> 24;
+ $169 = $11;
+ $170 = (($168) - ($169))|0;
+ $171 = (($170) + 1)|0;
+ $172 = $171 >> 1;
+ $173 = (($163) + ($172))|0;
+ $174 = $173&255;
+ $175 = $5;
+ $176 = $10;
+ $177 = (($175) + ($176)|0);
+ HEAP8[$177>>0] = $174;
+ }
+ $178 = $5;
+ $179 = $10;
+ $180 = (($178) + ($179)|0);
+ $181 = HEAP8[$180>>0]|0;
+ $182 = $181 << 24 >> 24;
+ $183 = ($182|0)>(36);
+ if ($183) {
+ $196 = 36;
+ } else {
+ $184 = $5;
+ $185 = $10;
+ $186 = (($184) + ($185)|0);
+ $187 = HEAP8[$186>>0]|0;
+ $188 = $187 << 24 >> 24;
+ $189 = ($188|0)<(-4);
+ if ($189) {
+ $196 = -4;
+ } else {
+ $190 = $5;
+ $191 = $10;
+ $192 = (($190) + ($191)|0);
+ $193 = HEAP8[$192>>0]|0;
+ $194 = $193 << 24 >> 24;
+ $196 = $194;
+ }
+ }
+ $195 = $196&255;
+ $197 = $5;
+ $198 = $10;
+ $199 = (($197) + ($198)|0);
+ HEAP8[$199>>0] = $195;
+ $200 = $5;
+ $201 = $10;
+ $202 = (($200) + ($201)|0);
+ $203 = HEAP8[$202>>0]|0;
+ $204 = $203 << 24 >> 24;
+ $205 = $11;
+ $206 = ($204|0)>($205|0);
+ $207 = $5;
+ $208 = $10;
+ $209 = (($207) + ($208)|0);
+ $210 = HEAP8[$209>>0]|0;
+ $211 = $210 << 24 >> 24;
+ if ($206) {
+ $212 = $211 << 1;
+ $213 = $11;
+ $214 = (($212) - ($213))|0;
+ $215 = $7;
+ $$sink = $215;$$sink4 = $214;
+ } else {
+ $216 = $7;
+ $$sink = $216;$$sink4 = $211;
+ }
+ $217 = HEAP8[$$sink>>0]|0;
+ $218 = $217 << 24 >> 24;
+ $219 = (($218) + ($$sink4))|0;
+ $220 = $219&255;
+ HEAP8[$$sink>>0] = $220;
+ $221 = $5;
+ $222 = $10;
+ $223 = (($221) + ($222)|0);
+ $224 = HEAP8[$223>>0]|0;
+ $225 = $224 << 24 >> 24;
+ $226 = (($225) - -4)|0;
+ $227 = $226&255;
+ HEAP8[$223>>0] = $227;
+ }
+ $228 = $7;
+ $229 = HEAP8[$228>>0]|0;
+ $230 = $229 << 24 >> 24;
+ $231 = $230 << 16 >> 16;
+ $232 = ($231*29)|0;
+ $233 = $7;
+ $234 = HEAP8[$233>>0]|0;
+ $235 = $234 << 24 >> 24;
+ $236 = $235 << 16 >> 16;
+ $237 = ($236*7281)|0;
+ $238 = $237 >> 16;
+ $239 = (($232) + ($238))|0;
+ $240 = (($239) + 2090)|0;
+ $241 = (_silk_min_32_403($240,3967)|0);
+ $242 = (_silk_log2lin($241)|0);
+ $243 = $6;
+ $244 = $10;
+ $245 = (($243) + ($244<<2)|0);
+ HEAP32[$245>>2] = $242;
+ $246 = $10;
+ $247 = (($246) + 1)|0;
+ $10 = $247;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_min_32_403($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_gains_dequant($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$sink = 0, $$sink4 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $9 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = 0;
+ while(1) {
+ $13 = $10;
+ $14 = $9;
+ $15 = ($13|0)<($14|0);
+ if (!($15)) {
+ break;
+ }
+ $16 = $10;
+ $17 = ($16|0)==(0);
+ $18 = $8;
+ $19 = ($18|0)==(0);
+ $or$cond = $17 & $19;
+ $20 = $6;
+ $21 = $10;
+ $22 = (($20) + ($21)|0);
+ $23 = HEAP8[$22>>0]|0;
+ $24 = $23 << 24 >> 24;
+ if ($or$cond) {
+ $25 = $7;
+ $26 = HEAP8[$25>>0]|0;
+ $27 = $26 << 24 >> 24;
+ $28 = (($27) - 16)|0;
+ $29 = (_silk_max_int_406($24,$28)|0);
+ $30 = $29&255;
+ $31 = $7;
+ HEAP8[$31>>0] = $30;
+ } else {
+ $32 = (($24) + -4)|0;
+ $11 = $32;
+ $33 = $7;
+ $34 = HEAP8[$33>>0]|0;
+ $35 = $34 << 24 >> 24;
+ $36 = (8 + ($35))|0;
+ $12 = $36;
+ $37 = $11;
+ $38 = $12;
+ $39 = ($37|0)>($38|0);
+ $40 = $11;
+ if ($39) {
+ $41 = $40 << 1;
+ $42 = $12;
+ $43 = (($41) - ($42))|0;
+ $44 = $7;
+ $$sink = $44;$$sink4 = $43;
+ } else {
+ $45 = $7;
+ $$sink = $45;$$sink4 = $40;
+ }
+ $46 = HEAP8[$$sink>>0]|0;
+ $47 = $46 << 24 >> 24;
+ $48 = (($47) + ($$sink4))|0;
+ $49 = $48&255;
+ HEAP8[$$sink>>0] = $49;
+ }
+ $50 = $7;
+ $51 = HEAP8[$50>>0]|0;
+ $52 = $51 << 24 >> 24;
+ $53 = ($52|0)>(63);
+ if ($53) {
+ $62 = 63;
+ } else {
+ $54 = $7;
+ $55 = HEAP8[$54>>0]|0;
+ $56 = $55 << 24 >> 24;
+ $57 = ($56|0)<(0);
+ if ($57) {
+ $62 = 0;
+ } else {
+ $58 = $7;
+ $59 = HEAP8[$58>>0]|0;
+ $60 = $59 << 24 >> 24;
+ $62 = $60;
+ }
+ }
+ $61 = $62&255;
+ $63 = $7;
+ HEAP8[$63>>0] = $61;
+ $64 = $7;
+ $65 = HEAP8[$64>>0]|0;
+ $66 = $65 << 24 >> 24;
+ $67 = $66 << 16 >> 16;
+ $68 = ($67*29)|0;
+ $69 = $7;
+ $70 = HEAP8[$69>>0]|0;
+ $71 = $70 << 24 >> 24;
+ $72 = $71 << 16 >> 16;
+ $73 = ($72*7281)|0;
+ $74 = $73 >> 16;
+ $75 = (($68) + ($74))|0;
+ $76 = (($75) + 2090)|0;
+ $77 = (_silk_min_32_403($76,3967)|0);
+ $78 = (_silk_log2lin($77)|0);
+ $79 = $5;
+ $80 = $10;
+ $81 = (($79) + ($80<<2)|0);
+ HEAP32[$81>>2] = $78;
+ $82 = $10;
+ $83 = (($82) + 1)|0;
+ $10 = $83;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_max_int_406($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_gains_ID($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = 0;
+ $4 = 0;
+ while(1) {
+ $6 = $4;
+ $7 = $3;
+ $8 = ($6|0)<($7|0);
+ if (!($8)) {
+ break;
+ }
+ $9 = $2;
+ $10 = $4;
+ $11 = (($9) + ($10)|0);
+ $12 = HEAP8[$11>>0]|0;
+ $13 = $12 << 24 >> 24;
+ $14 = $5;
+ $15 = $14 << 8;
+ $16 = (($13) + ($15))|0;
+ $5 = $16;
+ $17 = $4;
+ $18 = (($17) + 1)|0;
+ $4 = $18;
+ }
+ $19 = $5;
+ STACKTOP = sp;return ($19|0);
+}
+function _silk_LP_variable_cutoff($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $6 = sp + 16|0;
+ $7 = sp + 8|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = 0;
+ $9 = 0;
+ $10 = $3;
+ $11 = ((($10)) + 12|0);
+ $12 = HEAP32[$11>>2]|0;
+ $13 = ($12|0)!=(0);
+ if (!($13)) {
+ STACKTOP = sp;return;
+ }
+ $14 = $3;
+ $15 = ((($14)) + 8|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = (256 - ($16))|0;
+ $18 = $17 << 10;
+ $8 = $18;
+ $19 = $8;
+ $20 = $19 >> 16;
+ $9 = $20;
+ $21 = $9;
+ $22 = $21 << 16;
+ $23 = $8;
+ $24 = (($23) - ($22))|0;
+ $8 = $24;
+ $25 = $9;
+ $26 = $8;
+ _silk_LP_interpolate_filter_taps($6,$7,$25,$26);
+ $27 = $3;
+ $28 = ((($27)) + 8|0);
+ $29 = HEAP32[$28>>2]|0;
+ $30 = $3;
+ $31 = ((($30)) + 12|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = (($29) + ($32))|0;
+ $34 = ($33|0)>(256);
+ if ($34) {
+ $52 = 256;
+ } else {
+ $35 = $3;
+ $36 = ((($35)) + 8|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = $3;
+ $39 = ((($38)) + 12|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = (($37) + ($40))|0;
+ $42 = ($41|0)<(0);
+ if ($42) {
+ $52 = 0;
+ } else {
+ $43 = $3;
+ $44 = ((($43)) + 8|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = $3;
+ $47 = ((($46)) + 12|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = (($45) + ($48))|0;
+ $52 = $49;
+ }
+ }
+ $50 = $3;
+ $51 = ((($50)) + 8|0);
+ HEAP32[$51>>2] = $52;
+ $53 = $4;
+ $54 = $3;
+ $55 = $4;
+ $56 = $5;
+ _silk_biquad_alt($53,$6,$7,$54,$55,$56,1);
+ STACKTOP = sp;return;
+}
+function _silk_LP_interpolate_filter_taps($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $23 = 0;
+ var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
+ var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
+ var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
+ var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $10 = $6;
+ $11 = ($10|0)<(4);
+ if (!($11)) {
+ $224 = $4;
+ ;HEAP32[$224>>2]=HEAP32[(16860)>>2]|0;HEAP32[$224+4>>2]=HEAP32[(16860)+4>>2]|0;HEAP32[$224+8>>2]=HEAP32[(16860)+8>>2]|0;
+ $225 = $5;
+ ;HEAP32[$225>>2]=HEAP32[(16904)>>2]|0;HEAP32[$225+4>>2]=HEAP32[(16904)+4>>2]|0;
+ STACKTOP = sp;return;
+ }
+ $12 = $7;
+ $13 = ($12|0)>(0);
+ if (!($13)) {
+ $218 = $4;
+ $219 = $6;
+ $220 = (16812 + (($219*12)|0)|0);
+ ;HEAP32[$218>>2]=HEAP32[$220>>2]|0;HEAP32[$218+4>>2]=HEAP32[$220+4>>2]|0;HEAP32[$218+8>>2]=HEAP32[$220+8>>2]|0;
+ $221 = $5;
+ $222 = $6;
+ $223 = (16872 + ($222<<3)|0);
+ ;HEAP32[$221>>2]=HEAP32[$223>>2]|0;HEAP32[$221+4>>2]=HEAP32[$223+4>>2]|0;
+ STACKTOP = sp;return;
+ }
+ $14 = $7;
+ $15 = ($14|0)<(32768);
+ $8 = 0;
+ if ($15) {
+ while(1) {
+ $16 = $8;
+ $17 = ($16|0)<(3);
+ if (!($17)) {
+ break;
+ }
+ $18 = $6;
+ $19 = (16812 + (($18*12)|0)|0);
+ $20 = $8;
+ $21 = (($19) + ($20<<2)|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = $6;
+ $24 = (($23) + 1)|0;
+ $25 = (16812 + (($24*12)|0)|0);
+ $26 = $8;
+ $27 = (($25) + ($26<<2)|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = $6;
+ $30 = (16812 + (($29*12)|0)|0);
+ $31 = $8;
+ $32 = (($30) + ($31<<2)|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = (($28) - ($33))|0;
+ $35 = $34 >> 16;
+ $36 = $7;
+ $37 = $36&65535;
+ $38 = $37 << 16 >> 16;
+ $39 = Math_imul($35, $38)|0;
+ $40 = $6;
+ $41 = (($40) + 1)|0;
+ $42 = (16812 + (($41*12)|0)|0);
+ $43 = $8;
+ $44 = (($42) + ($43<<2)|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = $6;
+ $47 = (16812 + (($46*12)|0)|0);
+ $48 = $8;
+ $49 = (($47) + ($48<<2)|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = (($45) - ($50))|0;
+ $52 = $51 & 65535;
+ $53 = $7;
+ $54 = $53&65535;
+ $55 = $54 << 16 >> 16;
+ $56 = Math_imul($52, $55)|0;
+ $57 = $56 >> 16;
+ $58 = (($39) + ($57))|0;
+ $59 = (($22) + ($58))|0;
+ $60 = $4;
+ $61 = $8;
+ $62 = (($60) + ($61<<2)|0);
+ HEAP32[$62>>2] = $59;
+ $63 = $8;
+ $64 = (($63) + 1)|0;
+ $8 = $64;
+ }
+ $9 = 0;
+ while(1) {
+ $65 = $9;
+ $66 = ($65|0)<(2);
+ if (!($66)) {
+ break;
+ }
+ $67 = $6;
+ $68 = (16872 + ($67<<3)|0);
+ $69 = $9;
+ $70 = (($68) + ($69<<2)|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = $6;
+ $73 = (($72) + 1)|0;
+ $74 = (16872 + ($73<<3)|0);
+ $75 = $9;
+ $76 = (($74) + ($75<<2)|0);
+ $77 = HEAP32[$76>>2]|0;
+ $78 = $6;
+ $79 = (16872 + ($78<<3)|0);
+ $80 = $9;
+ $81 = (($79) + ($80<<2)|0);
+ $82 = HEAP32[$81>>2]|0;
+ $83 = (($77) - ($82))|0;
+ $84 = $83 >> 16;
+ $85 = $7;
+ $86 = $85&65535;
+ $87 = $86 << 16 >> 16;
+ $88 = Math_imul($84, $87)|0;
+ $89 = $6;
+ $90 = (($89) + 1)|0;
+ $91 = (16872 + ($90<<3)|0);
+ $92 = $9;
+ $93 = (($91) + ($92<<2)|0);
+ $94 = HEAP32[$93>>2]|0;
+ $95 = $6;
+ $96 = (16872 + ($95<<3)|0);
+ $97 = $9;
+ $98 = (($96) + ($97<<2)|0);
+ $99 = HEAP32[$98>>2]|0;
+ $100 = (($94) - ($99))|0;
+ $101 = $100 & 65535;
+ $102 = $7;
+ $103 = $102&65535;
+ $104 = $103 << 16 >> 16;
+ $105 = Math_imul($101, $104)|0;
+ $106 = $105 >> 16;
+ $107 = (($88) + ($106))|0;
+ $108 = (($71) + ($107))|0;
+ $109 = $5;
+ $110 = $9;
+ $111 = (($109) + ($110<<2)|0);
+ HEAP32[$111>>2] = $108;
+ $112 = $9;
+ $113 = (($112) + 1)|0;
+ $9 = $113;
+ }
+ STACKTOP = sp;return;
+ } else {
+ while(1) {
+ $114 = $8;
+ $115 = ($114|0)<(3);
+ if (!($115)) {
+ break;
+ }
+ $116 = $6;
+ $117 = (($116) + 1)|0;
+ $118 = (16812 + (($117*12)|0)|0);
+ $119 = $8;
+ $120 = (($118) + ($119<<2)|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = $6;
+ $123 = (($122) + 1)|0;
+ $124 = (16812 + (($123*12)|0)|0);
+ $125 = $8;
+ $126 = (($124) + ($125<<2)|0);
+ $127 = HEAP32[$126>>2]|0;
+ $128 = $6;
+ $129 = (16812 + (($128*12)|0)|0);
+ $130 = $8;
+ $131 = (($129) + ($130<<2)|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = (($127) - ($132))|0;
+ $134 = $133 >> 16;
+ $135 = $7;
+ $136 = (($135) - 65536)|0;
+ $137 = $136&65535;
+ $138 = $137 << 16 >> 16;
+ $139 = Math_imul($134, $138)|0;
+ $140 = $6;
+ $141 = (($140) + 1)|0;
+ $142 = (16812 + (($141*12)|0)|0);
+ $143 = $8;
+ $144 = (($142) + ($143<<2)|0);
+ $145 = HEAP32[$144>>2]|0;
+ $146 = $6;
+ $147 = (16812 + (($146*12)|0)|0);
+ $148 = $8;
+ $149 = (($147) + ($148<<2)|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = (($145) - ($150))|0;
+ $152 = $151 & 65535;
+ $153 = $7;
+ $154 = (($153) - 65536)|0;
+ $155 = $154&65535;
+ $156 = $155 << 16 >> 16;
+ $157 = Math_imul($152, $156)|0;
+ $158 = $157 >> 16;
+ $159 = (($139) + ($158))|0;
+ $160 = (($121) + ($159))|0;
+ $161 = $4;
+ $162 = $8;
+ $163 = (($161) + ($162<<2)|0);
+ HEAP32[$163>>2] = $160;
+ $164 = $8;
+ $165 = (($164) + 1)|0;
+ $8 = $165;
+ }
+ $9 = 0;
+ while(1) {
+ $166 = $9;
+ $167 = ($166|0)<(2);
+ if (!($167)) {
+ break;
+ }
+ $168 = $6;
+ $169 = (($168) + 1)|0;
+ $170 = (16872 + ($169<<3)|0);
+ $171 = $9;
+ $172 = (($170) + ($171<<2)|0);
+ $173 = HEAP32[$172>>2]|0;
+ $174 = $6;
+ $175 = (($174) + 1)|0;
+ $176 = (16872 + ($175<<3)|0);
+ $177 = $9;
+ $178 = (($176) + ($177<<2)|0);
+ $179 = HEAP32[$178>>2]|0;
+ $180 = $6;
+ $181 = (16872 + ($180<<3)|0);
+ $182 = $9;
+ $183 = (($181) + ($182<<2)|0);
+ $184 = HEAP32[$183>>2]|0;
+ $185 = (($179) - ($184))|0;
+ $186 = $185 >> 16;
+ $187 = $7;
+ $188 = (($187) - 65536)|0;
+ $189 = $188&65535;
+ $190 = $189 << 16 >> 16;
+ $191 = Math_imul($186, $190)|0;
+ $192 = $6;
+ $193 = (($192) + 1)|0;
+ $194 = (16872 + ($193<<3)|0);
+ $195 = $9;
+ $196 = (($194) + ($195<<2)|0);
+ $197 = HEAP32[$196>>2]|0;
+ $198 = $6;
+ $199 = (16872 + ($198<<3)|0);
+ $200 = $9;
+ $201 = (($199) + ($200<<2)|0);
+ $202 = HEAP32[$201>>2]|0;
+ $203 = (($197) - ($202))|0;
+ $204 = $203 & 65535;
+ $205 = $7;
+ $206 = (($205) - 65536)|0;
+ $207 = $206&65535;
+ $208 = $207 << 16 >> 16;
+ $209 = Math_imul($204, $208)|0;
+ $210 = $209 >> 16;
+ $211 = (($191) + ($210))|0;
+ $212 = (($173) + ($211))|0;
+ $213 = $5;
+ $214 = $9;
+ $215 = (($213) + ($214<<2)|0);
+ HEAP32[$215>>2] = $212;
+ $216 = $9;
+ $217 = (($216) + 1)|0;
+ $9 = $217;
+ }
+ STACKTOP = sp;return;
+ }
+}
+function _silk_NLSF_decode($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0;
+ var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0;
+ var $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0;
+ var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
+ var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0;
+ var $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
+ $7 = sp + 128|0;
+ $8 = sp + 96|0;
+ $9 = sp + 64|0;
+ $10 = sp + 32|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $14 = $5;
+ $15 = ((($14)) + 8|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = $4;
+ $18 = HEAP8[$17>>0]|0;
+ $19 = $18 << 24 >> 24;
+ $20 = $5;
+ $21 = ((($20)) + 2|0);
+ $22 = HEAP16[$21>>1]|0;
+ $23 = $22 << 16 >> 16;
+ $24 = Math_imul($19, $23)|0;
+ $25 = (($16) + ($24)|0);
+ $13 = $25;
+ $6 = 0;
+ while(1) {
+ $26 = $6;
+ $27 = $5;
+ $28 = ((($27)) + 2|0);
+ $29 = HEAP16[$28>>1]|0;
+ $30 = $29 << 16 >> 16;
+ $31 = ($26|0)<($30|0);
+ if (!($31)) {
+ break;
+ }
+ $32 = $13;
+ $33 = $6;
+ $34 = (($32) + ($33)|0);
+ $35 = HEAP8[$34>>0]|0;
+ $36 = $35&255;
+ $37 = $36 << 16 >> 16;
+ $38 = $37 << 7;
+ $39 = $38&65535;
+ $40 = $3;
+ $41 = $6;
+ $42 = (($40) + ($41<<1)|0);
+ HEAP16[$42>>1] = $39;
+ $43 = $6;
+ $44 = (($43) + 1)|0;
+ $6 = $44;
+ }
+ $45 = $5;
+ $46 = $4;
+ $47 = HEAP8[$46>>0]|0;
+ $48 = $47 << 24 >> 24;
+ _silk_NLSF_unpack($8,$7,$45,$48);
+ $49 = $4;
+ $50 = ((($49)) + 1|0);
+ $51 = $5;
+ $52 = ((($51)) + 4|0);
+ $53 = HEAP16[$52>>1]|0;
+ $54 = $53 << 16 >> 16;
+ $55 = $5;
+ $56 = ((($55)) + 2|0);
+ $57 = HEAP16[$56>>1]|0;
+ _silk_NLSF_residual_dequant($9,$50,$7,$54,$57);
+ $58 = $3;
+ $59 = $5;
+ $60 = ((($59)) + 2|0);
+ $61 = HEAP16[$60>>1]|0;
+ $62 = $61 << 16 >> 16;
+ _silk_NLSF_VQ_weights_laroia($10,$58,$62);
+ $6 = 0;
+ while(1) {
+ $63 = $6;
+ $64 = $5;
+ $65 = ((($64)) + 2|0);
+ $66 = HEAP16[$65>>1]|0;
+ $67 = $66 << 16 >> 16;
+ $68 = ($63|0)<($67|0);
+ if (!($68)) {
+ break;
+ }
+ $69 = $6;
+ $70 = (($10) + ($69<<1)|0);
+ $71 = HEAP16[$70>>1]|0;
+ $72 = $71 << 16 >> 16;
+ $73 = $72 << 16;
+ $74 = (_silk_SQRT_APPROX_413($73)|0);
+ $11 = $74;
+ $75 = $3;
+ $76 = $6;
+ $77 = (($75) + ($76<<1)|0);
+ $78 = HEAP16[$77>>1]|0;
+ $79 = $78 << 16 >> 16;
+ $80 = $6;
+ $81 = (($9) + ($80<<1)|0);
+ $82 = HEAP16[$81>>1]|0;
+ $83 = $82 << 16 >> 16;
+ $84 = $83 << 14;
+ $85 = $11;
+ $86 = (($84|0) / ($85|0))&-1;
+ $87 = (($79) + ($86))|0;
+ $12 = $87;
+ $88 = $12;
+ $89 = ($88|0)>(32767);
+ if ($89) {
+ $95 = 32767;
+ } else {
+ $90 = $12;
+ $91 = ($90|0)<(0);
+ $92 = $12;
+ $93 = $91 ? 0 : $92;
+ $95 = $93;
+ }
+ $94 = $95&65535;
+ $96 = $3;
+ $97 = $6;
+ $98 = (($96) + ($97<<1)|0);
+ HEAP16[$98>>1] = $94;
+ $99 = $6;
+ $100 = (($99) + 1)|0;
+ $6 = $100;
+ }
+ $101 = $3;
+ $102 = $5;
+ $103 = ((($102)) + 32|0);
+ $104 = HEAP32[$103>>2]|0;
+ $105 = $5;
+ $106 = ((($105)) + 2|0);
+ $107 = HEAP16[$106>>1]|0;
+ $108 = $107 << 16 >> 16;
+ _silk_NLSF_stabilize($101,$104,$108);
+ STACKTOP = sp;return;
+}
+function _silk_NLSF_residual_dequant($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $7 = 0, $8 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $11 = 0;
+ $13 = $9;
+ $14 = $13 << 16 >> 16;
+ $15 = (($14) - 1)|0;
+ $10 = $15;
+ while(1) {
+ $16 = $10;
+ $17 = ($16|0)>=(0);
+ if (!($17)) {
+ break;
+ }
+ $18 = $11;
+ $19 = $18&65535;
+ $20 = $19 << 16 >> 16;
+ $21 = $7;
+ $22 = $10;
+ $23 = (($21) + ($22)|0);
+ $24 = HEAP8[$23>>0]|0;
+ $25 = $24&255;
+ $26 = $25 << 16 >> 16;
+ $27 = Math_imul($20, $26)|0;
+ $28 = $27 >> 8;
+ $12 = $28;
+ $29 = $6;
+ $30 = $10;
+ $31 = (($29) + ($30)|0);
+ $32 = HEAP8[$31>>0]|0;
+ $33 = $32 << 24 >> 24;
+ $34 = $33 << 10;
+ $11 = $34;
+ $35 = $11;
+ $36 = ($35|0)>(0);
+ $37 = $11;
+ if ($36) {
+ $38 = (($37) - 102)|0;
+ $11 = $38;
+ } else {
+ $39 = ($37|0)<(0);
+ if ($39) {
+ $40 = $11;
+ $41 = (($40) + 102)|0;
+ $11 = $41;
+ }
+ }
+ $42 = $12;
+ $43 = $11;
+ $44 = $43 >> 16;
+ $45 = $8;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $11;
+ $50 = $49 & 65535;
+ $51 = $8;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($50, $53)|0;
+ $55 = $54 >> 16;
+ $56 = (($48) + ($55))|0;
+ $57 = (($42) + ($56))|0;
+ $11 = $57;
+ $58 = $11;
+ $59 = $58&65535;
+ $60 = $5;
+ $61 = $10;
+ $62 = (($60) + ($61<<1)|0);
+ HEAP16[$62>>1] = $59;
+ $63 = $10;
+ $64 = (($63) + -1)|0;
+ $10 = $64;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_SQRT_APPROX_413($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = sp + 4|0;
+ $5 = sp;
+ $2 = $0;
+ $6 = $2;
+ $7 = ($6|0)<=(0);
+ if ($7) {
+ $1 = 0;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+ }
+ $8 = $2;
+ _silk_CLZ_FRAC_414($8,$4,$5);
+ $9 = HEAP32[$4>>2]|0;
+ $10 = $9 & 1;
+ $11 = ($10|0)!=(0);
+ if ($11) {
+ $3 = 32768;
+ } else {
+ $3 = 46214;
+ }
+ $12 = HEAP32[$4>>2]|0;
+ $13 = $12 >> 1;
+ $14 = $3;
+ $15 = $14 >> $13;
+ $3 = $15;
+ $16 = $3;
+ $17 = $3;
+ $18 = $17 >> 16;
+ $19 = HEAP32[$5>>2]|0;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = ($21*213)|0;
+ $23 = $22&65535;
+ $24 = $23 << 16 >> 16;
+ $25 = Math_imul($18, $24)|0;
+ $26 = $3;
+ $27 = $26 & 65535;
+ $28 = HEAP32[$5>>2]|0;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = ($30*213)|0;
+ $32 = $31&65535;
+ $33 = $32 << 16 >> 16;
+ $34 = Math_imul($27, $33)|0;
+ $35 = $34 >> 16;
+ $36 = (($25) + ($35))|0;
+ $37 = (($16) + ($36))|0;
+ $3 = $37;
+ $38 = $3;
+ $1 = $38;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+}
+function _silk_CLZ_FRAC_414($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $3;
+ $8 = (_silk_CLZ32_415($7)|0);
+ $6 = $8;
+ $9 = $6;
+ $10 = $4;
+ HEAP32[$10>>2] = $9;
+ $11 = $3;
+ $12 = $6;
+ $13 = (24 - ($12))|0;
+ $14 = (_silk_ROR32_416($11,$13)|0);
+ $15 = $14 & 127;
+ $16 = $5;
+ HEAP32[$16>>2] = $15;
+ STACKTOP = sp;return;
+}
+function _silk_CLZ32_415($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_ROR32_416($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $8 = $3;
+ $5 = $8;
+ $9 = $4;
+ $6 = $9;
+ $10 = $4;
+ $11 = (0 - ($10))|0;
+ $7 = $11;
+ $12 = $4;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $14 = $3;
+ $2 = $14;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ $15 = $4;
+ $16 = ($15|0)<(0);
+ $17 = $5;
+ if ($16) {
+ $18 = $7;
+ $19 = $17 << $18;
+ $20 = $5;
+ $21 = $7;
+ $22 = (32 - ($21))|0;
+ $23 = $20 >>> $22;
+ $24 = $19 | $23;
+ $2 = $24;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ } else {
+ $25 = $6;
+ $26 = (32 - ($25))|0;
+ $27 = $17 << $26;
+ $28 = $5;
+ $29 = $6;
+ $30 = $28 >>> $29;
+ $31 = $27 | $30;
+ $2 = $31;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ return (0)|0;
+}
+function _silk_NSQ_c($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ var $$alloca_mul = 0, $$alloca_mul27 = 0, $$alloca_mul29 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0;
+ var $137 = 0, $138 = 0, $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0;
+ var $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0;
+ var $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0;
+ var $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0;
+ var $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0;
+ var $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0;
+ var $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0;
+ var $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0;
+ var $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0;
+ var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0;
+ var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0;
+ var $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $15 = $0;
+ $16 = $1;
+ $17 = $2;
+ $18 = $3;
+ $19 = $4;
+ $20 = $5;
+ $21 = $6;
+ $22 = $7;
+ $23 = $8;
+ $24 = $9;
+ $25 = $10;
+ $26 = $11;
+ $27 = $12;
+ $28 = $13;
+ $29 = $14;
+ $41 = $17;
+ $42 = ((($41)) + 34|0);
+ $43 = HEAP8[$42>>0]|0;
+ $44 = $43 << 24 >> 24;
+ $45 = $16;
+ $46 = ((($45)) + 4368|0);
+ HEAP32[$46>>2] = $44;
+ $47 = $16;
+ $48 = ((($47)) + 4356|0);
+ $49 = HEAP32[$48>>2]|0;
+ $31 = $49;
+ $50 = $17;
+ $51 = ((($50)) + 29|0);
+ $52 = HEAP8[$51>>0]|0;
+ $53 = $52 << 24 >> 24;
+ $54 = $53 >> 1;
+ $55 = (24998 + ($54<<2)|0);
+ $56 = $17;
+ $57 = ((($56)) + 30|0);
+ $58 = HEAP8[$57>>0]|0;
+ $59 = $58 << 24 >> 24;
+ $60 = (($55) + ($59<<1)|0);
+ $61 = HEAP16[$60>>1]|0;
+ $62 = $61 << 16 >> 16;
+ $39 = $62;
+ $63 = $17;
+ $64 = ((($63)) + 31|0);
+ $65 = HEAP8[$64>>0]|0;
+ $66 = $65 << 24 >> 24;
+ $67 = ($66|0)==(4);
+ if ($67) {
+ $33 = 0;
+ } else {
+ $33 = 1;
+ }
+ $68 = $15;
+ $69 = ((($68)) + 4616|0);
+ $70 = HEAP32[$69>>2]|0;
+ $71 = $15;
+ $72 = ((($71)) + 4608|0);
+ $73 = HEAP32[$72>>2]|0;
+ $74 = (($70) + ($73))|0;
+ $75 = (_llvm_stacksave()|0);
+ $40 = $75;
+ $$alloca_mul = $74<<2;
+ $76 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $77 = $15;
+ $78 = ((($77)) + 4616|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = $15;
+ $81 = ((($80)) + 4608|0);
+ $82 = HEAP32[$81>>2]|0;
+ $83 = (($79) + ($82))|0;
+ $$alloca_mul27 = $83<<1;
+ $84 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul27)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul27)|0)+15)&-16)|0);;
+ $85 = $15;
+ $86 = ((($85)) + 4612|0);
+ $87 = HEAP32[$86>>2]|0;
+ $$alloca_mul29 = $87<<2;
+ $88 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul29)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul29)|0)+15)&-16)|0);;
+ $89 = $15;
+ $90 = ((($89)) + 4616|0);
+ $91 = HEAP32[$90>>2]|0;
+ $92 = $16;
+ $93 = ((($92)) + 4364|0);
+ HEAP32[$93>>2] = $91;
+ $94 = $15;
+ $95 = ((($94)) + 4616|0);
+ $96 = HEAP32[$95>>2]|0;
+ $97 = $16;
+ $98 = ((($97)) + 4360|0);
+ HEAP32[$98>>2] = $96;
+ $99 = $16;
+ $100 = $15;
+ $101 = ((($100)) + 4616|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = (($99) + ($102<<1)|0);
+ $37 = $103;
+ $30 = 0;
+ while(1) {
+ $104 = $30;
+ $105 = $15;
+ $106 = ((($105)) + 4604|0);
+ $107 = HEAP32[$106>>2]|0;
+ $108 = ($104|0)<($107|0);
+ if (!($108)) {
+ break;
+ }
+ $109 = $20;
+ $110 = $30;
+ $111 = $110 >> 1;
+ $112 = $33;
+ $113 = (1 - ($112))|0;
+ $114 = $111 | $113;
+ $115 = $114<<4;
+ $116 = (($109) + ($115<<1)|0);
+ $34 = $116;
+ $117 = $21;
+ $118 = $30;
+ $119 = ($118*5)|0;
+ $120 = (($117) + ($119<<1)|0);
+ $35 = $120;
+ $121 = $22;
+ $122 = $30;
+ $123 = $122<<4;
+ $124 = (($121) + ($123<<1)|0);
+ $36 = $124;
+ $125 = $23;
+ $126 = $30;
+ $127 = (($125) + ($126<<2)|0);
+ $128 = HEAP32[$127>>2]|0;
+ $129 = $128 >> 2;
+ $38 = $129;
+ $130 = $23;
+ $131 = $30;
+ $132 = (($130) + ($131<<2)|0);
+ $133 = HEAP32[$132>>2]|0;
+ $134 = $133 >> 1;
+ $135 = $134 << 16;
+ $136 = $38;
+ $137 = $136 | $135;
+ $38 = $137;
+ $138 = $16;
+ $139 = ((($138)) + 4376|0);
+ HEAP32[$139>>2] = 0;
+ $140 = $17;
+ $141 = ((($140)) + 29|0);
+ $142 = HEAP8[$141>>0]|0;
+ $143 = $142 << 24 >> 24;
+ $144 = ($143|0)==(2);
+ if ($144) {
+ $145 = $27;
+ $146 = $30;
+ $147 = (($145) + ($146<<2)|0);
+ $148 = HEAP32[$147>>2]|0;
+ $31 = $148;
+ $149 = $30;
+ $150 = $33;
+ $151 = $150 << 1;
+ $152 = (3 - ($151))|0;
+ $153 = $149 & $152;
+ $154 = ($153|0)==(0);
+ if ($154) {
+ $155 = $15;
+ $156 = ((($155)) + 4616|0);
+ $157 = HEAP32[$156>>2]|0;
+ $158 = $31;
+ $159 = (($157) - ($158))|0;
+ $160 = $15;
+ $161 = ((($160)) + 4664|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = (($159) - ($162))|0;
+ $164 = (($163) - 2)|0;
+ $32 = $164;
+ $165 = $32;
+ $166 = (($84) + ($165<<1)|0);
+ $167 = $16;
+ $168 = $32;
+ $169 = $30;
+ $170 = $15;
+ $171 = ((($170)) + 4612|0);
+ $172 = HEAP32[$171>>2]|0;
+ $173 = Math_imul($169, $172)|0;
+ $174 = (($168) + ($173))|0;
+ $175 = (($167) + ($174<<1)|0);
+ $176 = $34;
+ $177 = $15;
+ $178 = ((($177)) + 4616|0);
+ $179 = HEAP32[$178>>2]|0;
+ $180 = $32;
+ $181 = (($179) - ($180))|0;
+ $182 = $15;
+ $183 = ((($182)) + 4664|0);
+ $184 = HEAP32[$183>>2]|0;
+ $185 = $15;
+ $186 = ((($185)) + 5124|0);
+ $187 = HEAP32[$186>>2]|0;
+ _silk_LPC_analysis_filter($166,$175,$176,$181,$184,$187);
+ $188 = $16;
+ $189 = ((($188)) + 4376|0);
+ HEAP32[$189>>2] = 1;
+ $190 = $15;
+ $191 = ((($190)) + 4616|0);
+ $192 = HEAP32[$191>>2]|0;
+ $193 = $16;
+ $194 = ((($193)) + 4360|0);
+ HEAP32[$194>>2] = $192;
+ }
+ }
+ $195 = $15;
+ $196 = $16;
+ $197 = $18;
+ $198 = $30;
+ $199 = $29;
+ $200 = $26;
+ $201 = $27;
+ $202 = $17;
+ $203 = ((($202)) + 29|0);
+ $204 = HEAP8[$203>>0]|0;
+ $205 = $204 << 24 >> 24;
+ _silk_nsq_scale_states($195,$196,$197,$88,$84,$76,$198,$199,$200,$201,$205);
+ $206 = $16;
+ $207 = $17;
+ $208 = ((($207)) + 29|0);
+ $209 = HEAP8[$208>>0]|0;
+ $210 = $209 << 24 >> 24;
+ $211 = $19;
+ $212 = $37;
+ $213 = $34;
+ $214 = $35;
+ $215 = $36;
+ $216 = $31;
+ $217 = $38;
+ $218 = $24;
+ $219 = $30;
+ $220 = (($218) + ($219<<2)|0);
+ $221 = HEAP32[$220>>2]|0;
+ $222 = $25;
+ $223 = $30;
+ $224 = (($222) + ($223<<2)|0);
+ $225 = HEAP32[$224>>2]|0;
+ $226 = $26;
+ $227 = $30;
+ $228 = (($226) + ($227<<2)|0);
+ $229 = HEAP32[$228>>2]|0;
+ $230 = $28;
+ $231 = $39;
+ $232 = $15;
+ $233 = ((($232)) + 4612|0);
+ $234 = HEAP32[$233>>2]|0;
+ $235 = $15;
+ $236 = ((($235)) + 4660|0);
+ $237 = HEAP32[$236>>2]|0;
+ $238 = $15;
+ $239 = ((($238)) + 4664|0);
+ $240 = HEAP32[$239>>2]|0;
+ _silk_noise_shape_quantizer($206,$210,$88,$211,$212,$76,$213,$214,$215,$216,$217,$221,$225,$229,$230,$231,$234,$237,$240);
+ $241 = $15;
+ $242 = ((($241)) + 4612|0);
+ $243 = HEAP32[$242>>2]|0;
+ $244 = $18;
+ $245 = (($244) + ($243<<2)|0);
+ $18 = $245;
+ $246 = $15;
+ $247 = ((($246)) + 4612|0);
+ $248 = HEAP32[$247>>2]|0;
+ $249 = $19;
+ $250 = (($249) + ($248)|0);
+ $19 = $250;
+ $251 = $15;
+ $252 = ((($251)) + 4612|0);
+ $253 = HEAP32[$252>>2]|0;
+ $254 = $37;
+ $255 = (($254) + ($253<<1)|0);
+ $37 = $255;
+ $256 = $30;
+ $257 = (($256) + 1)|0;
+ $30 = $257;
+ }
+ $258 = $27;
+ $259 = $15;
+ $260 = ((($259)) + 4604|0);
+ $261 = HEAP32[$260>>2]|0;
+ $262 = (($261) - 1)|0;
+ $263 = (($258) + ($262<<2)|0);
+ $264 = HEAP32[$263>>2]|0;
+ $265 = $16;
+ $266 = ((($265)) + 4356|0);
+ HEAP32[$266>>2] = $264;
+ $267 = $16;
+ $268 = $16;
+ $269 = $15;
+ $270 = ((($269)) + 4608|0);
+ $271 = HEAP32[$270>>2]|0;
+ $272 = (($268) + ($271<<1)|0);
+ $273 = $15;
+ $274 = ((($273)) + 4616|0);
+ $275 = HEAP32[$274>>2]|0;
+ $276 = $275<<1;
+ _memmove(($267|0),($272|0),($276|0))|0;
+ $277 = $16;
+ $278 = ((($277)) + 1280|0);
+ $279 = $16;
+ $280 = ((($279)) + 1280|0);
+ $281 = $15;
+ $282 = ((($281)) + 4608|0);
+ $283 = HEAP32[$282>>2]|0;
+ $284 = (($280) + ($283<<2)|0);
+ $285 = $15;
+ $286 = ((($285)) + 4616|0);
+ $287 = HEAP32[$286>>2]|0;
+ $288 = $287<<2;
+ _memmove(($278|0),($284|0),($288|0))|0;
+ $289 = $40;
+ _llvm_stackrestore(($289|0));
+ STACKTOP = sp;return;
+}
+function _silk_nsq_scale_states($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ var $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0;
+ var $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0;
+ var $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0;
+ var $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0;
+ var $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0;
+ var $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0;
+ var $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0;
+ var $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0;
+ var $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0;
+ var $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0;
+ var $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0;
+ var $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0;
+ var $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0;
+ var $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0;
+ var $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0;
+ var $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0;
+ var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0;
+ var $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
+ $11 = $0;
+ $12 = $1;
+ $13 = $2;
+ $14 = $3;
+ $15 = $4;
+ $16 = $5;
+ $17 = $6;
+ $18 = $7;
+ $19 = $8;
+ $20 = $9;
+ $21 = $10;
+ $27 = $20;
+ $28 = $17;
+ $29 = (($27) + ($28<<2)|0);
+ $30 = HEAP32[$29>>2]|0;
+ $23 = $30;
+ $31 = $19;
+ $32 = $17;
+ $33 = (($31) + ($32<<2)|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = ($34|0)>(1);
+ if ($35) {
+ $36 = $19;
+ $37 = $17;
+ $38 = (($36) + ($37<<2)|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = $39;
+ } else {
+ $40 = 1;
+ }
+ $41 = (_silk_INVERSE32_varQ($40,47)|0);
+ $25 = $41;
+ $42 = $19;
+ $43 = $17;
+ $44 = (($42) + ($43<<2)|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = $12;
+ $47 = ((($46)) + 4372|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = ($45|0)!=($48|0);
+ if ($49) {
+ $50 = $12;
+ $51 = ((($50)) + 4372|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = $19;
+ $54 = $17;
+ $55 = (($53) + ($54<<2)|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = (_silk_DIV32_varQ_419($52,$56,16)|0);
+ $24 = $57;
+ } else {
+ $24 = 65536;
+ }
+ $58 = $25;
+ $59 = $58 >> 7;
+ $60 = (($59) + 1)|0;
+ $61 = $60 >> 1;
+ $26 = $61;
+ $22 = 0;
+ while(1) {
+ $62 = $22;
+ $63 = $11;
+ $64 = ((($63)) + 4612|0);
+ $65 = HEAP32[$64>>2]|0;
+ $66 = ($62|0)<($65|0);
+ if (!($66)) {
+ break;
+ }
+ $67 = $13;
+ $68 = $22;
+ $69 = (($67) + ($68<<2)|0);
+ $70 = HEAP32[$69>>2]|0;
+ $71 = $70 >> 16;
+ $72 = $26;
+ $73 = $72&65535;
+ $74 = $73 << 16 >> 16;
+ $75 = Math_imul($71, $74)|0;
+ $76 = $13;
+ $77 = $22;
+ $78 = (($76) + ($77<<2)|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = $79 & 65535;
+ $81 = $26;
+ $82 = $81&65535;
+ $83 = $82 << 16 >> 16;
+ $84 = Math_imul($80, $83)|0;
+ $85 = $84 >> 16;
+ $86 = (($75) + ($85))|0;
+ $87 = $13;
+ $88 = $22;
+ $89 = (($87) + ($88<<2)|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = $26;
+ $92 = $91 >> 15;
+ $93 = (($92) + 1)|0;
+ $94 = $93 >> 1;
+ $95 = Math_imul($90, $94)|0;
+ $96 = (($86) + ($95))|0;
+ $97 = $14;
+ $98 = $22;
+ $99 = (($97) + ($98<<2)|0);
+ HEAP32[$99>>2] = $96;
+ $100 = $22;
+ $101 = (($100) + 1)|0;
+ $22 = $101;
+ }
+ $102 = $19;
+ $103 = $17;
+ $104 = (($102) + ($103<<2)|0);
+ $105 = HEAP32[$104>>2]|0;
+ $106 = $12;
+ $107 = ((($106)) + 4372|0);
+ HEAP32[$107>>2] = $105;
+ $108 = $12;
+ $109 = ((($108)) + 4376|0);
+ $110 = HEAP32[$109>>2]|0;
+ $111 = ($110|0)!=(0);
+ L12: do {
+ if ($111) {
+ $112 = $17;
+ $113 = ($112|0)==(0);
+ if ($113) {
+ $114 = $25;
+ $115 = $114 >> 16;
+ $116 = $18;
+ $117 = $116&65535;
+ $118 = $117 << 16 >> 16;
+ $119 = Math_imul($115, $118)|0;
+ $120 = $25;
+ $121 = $120 & 65535;
+ $122 = $18;
+ $123 = $122&65535;
+ $124 = $123 << 16 >> 16;
+ $125 = Math_imul($121, $124)|0;
+ $126 = $125 >> 16;
+ $127 = (($119) + ($126))|0;
+ $128 = $127 << 2;
+ $25 = $128;
+ }
+ $129 = $12;
+ $130 = ((($129)) + 4360|0);
+ $131 = HEAP32[$130>>2]|0;
+ $132 = $23;
+ $133 = (($131) - ($132))|0;
+ $134 = (($133) - 2)|0;
+ $22 = $134;
+ while(1) {
+ $135 = $22;
+ $136 = $12;
+ $137 = ((($136)) + 4360|0);
+ $138 = HEAP32[$137>>2]|0;
+ $139 = ($135|0)<($138|0);
+ if (!($139)) {
+ break L12;
+ }
+ $140 = $25;
+ $141 = $140 >> 16;
+ $142 = $15;
+ $143 = $22;
+ $144 = (($142) + ($143<<1)|0);
+ $145 = HEAP16[$144>>1]|0;
+ $146 = $145 << 16 >> 16;
+ $147 = Math_imul($141, $146)|0;
+ $148 = $25;
+ $149 = $148 & 65535;
+ $150 = $15;
+ $151 = $22;
+ $152 = (($150) + ($151<<1)|0);
+ $153 = HEAP16[$152>>1]|0;
+ $154 = $153 << 16 >> 16;
+ $155 = Math_imul($149, $154)|0;
+ $156 = $155 >> 16;
+ $157 = (($147) + ($156))|0;
+ $158 = $16;
+ $159 = $22;
+ $160 = (($158) + ($159<<2)|0);
+ HEAP32[$160>>2] = $157;
+ $161 = $22;
+ $162 = (($161) + 1)|0;
+ $22 = $162;
+ }
+ }
+ } while(0);
+ $163 = $24;
+ $164 = ($163|0)!=(65536);
+ if (!($164)) {
+ STACKTOP = sp;return;
+ }
+ $165 = $12;
+ $166 = ((($165)) + 4364|0);
+ $167 = HEAP32[$166>>2]|0;
+ $168 = $11;
+ $169 = ((($168)) + 4616|0);
+ $170 = HEAP32[$169>>2]|0;
+ $171 = (($167) - ($170))|0;
+ $22 = $171;
+ while(1) {
+ $172 = $22;
+ $173 = $12;
+ $174 = ((($173)) + 4364|0);
+ $175 = HEAP32[$174>>2]|0;
+ $176 = ($172|0)<($175|0);
+ if (!($176)) {
+ break;
+ }
+ $177 = $24;
+ $178 = $177 >> 16;
+ $179 = $12;
+ $180 = ((($179)) + 1280|0);
+ $181 = $22;
+ $182 = (($180) + ($181<<2)|0);
+ $183 = HEAP32[$182>>2]|0;
+ $184 = $183&65535;
+ $185 = $184 << 16 >> 16;
+ $186 = Math_imul($178, $185)|0;
+ $187 = $24;
+ $188 = $187 & 65535;
+ $189 = $12;
+ $190 = ((($189)) + 1280|0);
+ $191 = $22;
+ $192 = (($190) + ($191<<2)|0);
+ $193 = HEAP32[$192>>2]|0;
+ $194 = $193&65535;
+ $195 = $194 << 16 >> 16;
+ $196 = Math_imul($188, $195)|0;
+ $197 = $196 >> 16;
+ $198 = (($186) + ($197))|0;
+ $199 = $24;
+ $200 = $12;
+ $201 = ((($200)) + 1280|0);
+ $202 = $22;
+ $203 = (($201) + ($202<<2)|0);
+ $204 = HEAP32[$203>>2]|0;
+ $205 = $204 >> 15;
+ $206 = (($205) + 1)|0;
+ $207 = $206 >> 1;
+ $208 = Math_imul($199, $207)|0;
+ $209 = (($198) + ($208))|0;
+ $210 = $12;
+ $211 = ((($210)) + 1280|0);
+ $212 = $22;
+ $213 = (($211) + ($212<<2)|0);
+ HEAP32[$213>>2] = $209;
+ $214 = $22;
+ $215 = (($214) + 1)|0;
+ $22 = $215;
+ }
+ $216 = $21;
+ $217 = ($216|0)==(2);
+ L28: do {
+ if ($217) {
+ $218 = $12;
+ $219 = ((($218)) + 4376|0);
+ $220 = HEAP32[$219>>2]|0;
+ $221 = ($220|0)==(0);
+ if ($221) {
+ $222 = $12;
+ $223 = ((($222)) + 4360|0);
+ $224 = HEAP32[$223>>2]|0;
+ $225 = $23;
+ $226 = (($224) - ($225))|0;
+ $227 = (($226) - 2)|0;
+ $22 = $227;
+ while(1) {
+ $228 = $22;
+ $229 = $12;
+ $230 = ((($229)) + 4360|0);
+ $231 = HEAP32[$230>>2]|0;
+ $232 = ($228|0)<($231|0);
+ if (!($232)) {
+ break L28;
+ }
+ $233 = $24;
+ $234 = $233 >> 16;
+ $235 = $16;
+ $236 = $22;
+ $237 = (($235) + ($236<<2)|0);
+ $238 = HEAP32[$237>>2]|0;
+ $239 = $238&65535;
+ $240 = $239 << 16 >> 16;
+ $241 = Math_imul($234, $240)|0;
+ $242 = $24;
+ $243 = $242 & 65535;
+ $244 = $16;
+ $245 = $22;
+ $246 = (($244) + ($245<<2)|0);
+ $247 = HEAP32[$246>>2]|0;
+ $248 = $247&65535;
+ $249 = $248 << 16 >> 16;
+ $250 = Math_imul($243, $249)|0;
+ $251 = $250 >> 16;
+ $252 = (($241) + ($251))|0;
+ $253 = $24;
+ $254 = $16;
+ $255 = $22;
+ $256 = (($254) + ($255<<2)|0);
+ $257 = HEAP32[$256>>2]|0;
+ $258 = $257 >> 15;
+ $259 = (($258) + 1)|0;
+ $260 = $259 >> 1;
+ $261 = Math_imul($253, $260)|0;
+ $262 = (($252) + ($261))|0;
+ $263 = $16;
+ $264 = $22;
+ $265 = (($263) + ($264<<2)|0);
+ HEAP32[$265>>2] = $262;
+ $266 = $22;
+ $267 = (($266) + 1)|0;
+ $22 = $267;
+ }
+ }
+ }
+ } while(0);
+ $268 = $24;
+ $269 = $268 >> 16;
+ $270 = $12;
+ $271 = ((($270)) + 4352|0);
+ $272 = HEAP32[$271>>2]|0;
+ $273 = $272&65535;
+ $274 = $273 << 16 >> 16;
+ $275 = Math_imul($269, $274)|0;
+ $276 = $24;
+ $277 = $276 & 65535;
+ $278 = $12;
+ $279 = ((($278)) + 4352|0);
+ $280 = HEAP32[$279>>2]|0;
+ $281 = $280&65535;
+ $282 = $281 << 16 >> 16;
+ $283 = Math_imul($277, $282)|0;
+ $284 = $283 >> 16;
+ $285 = (($275) + ($284))|0;
+ $286 = $24;
+ $287 = $12;
+ $288 = ((($287)) + 4352|0);
+ $289 = HEAP32[$288>>2]|0;
+ $290 = $289 >> 15;
+ $291 = (($290) + 1)|0;
+ $292 = $291 >> 1;
+ $293 = Math_imul($286, $292)|0;
+ $294 = (($285) + ($293))|0;
+ $295 = $12;
+ $296 = ((($295)) + 4352|0);
+ HEAP32[$296>>2] = $294;
+ $22 = 0;
+ while(1) {
+ $297 = $22;
+ $298 = ($297|0)<(32);
+ if (!($298)) {
+ break;
+ }
+ $299 = $24;
+ $300 = $299 >> 16;
+ $301 = $12;
+ $302 = ((($301)) + 3840|0);
+ $303 = $22;
+ $304 = (($302) + ($303<<2)|0);
+ $305 = HEAP32[$304>>2]|0;
+ $306 = $305&65535;
+ $307 = $306 << 16 >> 16;
+ $308 = Math_imul($300, $307)|0;
+ $309 = $24;
+ $310 = $309 & 65535;
+ $311 = $12;
+ $312 = ((($311)) + 3840|0);
+ $313 = $22;
+ $314 = (($312) + ($313<<2)|0);
+ $315 = HEAP32[$314>>2]|0;
+ $316 = $315&65535;
+ $317 = $316 << 16 >> 16;
+ $318 = Math_imul($310, $317)|0;
+ $319 = $318 >> 16;
+ $320 = (($308) + ($319))|0;
+ $321 = $24;
+ $322 = $12;
+ $323 = ((($322)) + 3840|0);
+ $324 = $22;
+ $325 = (($323) + ($324<<2)|0);
+ $326 = HEAP32[$325>>2]|0;
+ $327 = $326 >> 15;
+ $328 = (($327) + 1)|0;
+ $329 = $328 >> 1;
+ $330 = Math_imul($321, $329)|0;
+ $331 = (($320) + ($330))|0;
+ $332 = $12;
+ $333 = ((($332)) + 3840|0);
+ $334 = $22;
+ $335 = (($333) + ($334<<2)|0);
+ HEAP32[$335>>2] = $331;
+ $336 = $22;
+ $337 = (($336) + 1)|0;
+ $22 = $337;
+ }
+ $22 = 0;
+ while(1) {
+ $338 = $22;
+ $339 = ($338|0)<(16);
+ if (!($339)) {
+ break;
+ }
+ $340 = $24;
+ $341 = $340 >> 16;
+ $342 = $12;
+ $343 = ((($342)) + 4288|0);
+ $344 = $22;
+ $345 = (($343) + ($344<<2)|0);
+ $346 = HEAP32[$345>>2]|0;
+ $347 = $346&65535;
+ $348 = $347 << 16 >> 16;
+ $349 = Math_imul($341, $348)|0;
+ $350 = $24;
+ $351 = $350 & 65535;
+ $352 = $12;
+ $353 = ((($352)) + 4288|0);
+ $354 = $22;
+ $355 = (($353) + ($354<<2)|0);
+ $356 = HEAP32[$355>>2]|0;
+ $357 = $356&65535;
+ $358 = $357 << 16 >> 16;
+ $359 = Math_imul($351, $358)|0;
+ $360 = $359 >> 16;
+ $361 = (($349) + ($360))|0;
+ $362 = $24;
+ $363 = $12;
+ $364 = ((($363)) + 4288|0);
+ $365 = $22;
+ $366 = (($364) + ($365<<2)|0);
+ $367 = HEAP32[$366>>2]|0;
+ $368 = $367 >> 15;
+ $369 = (($368) + 1)|0;
+ $370 = $369 >> 1;
+ $371 = Math_imul($362, $370)|0;
+ $372 = (($361) + ($371))|0;
+ $373 = $12;
+ $374 = ((($373)) + 4288|0);
+ $375 = $22;
+ $376 = (($374) + ($375<<2)|0);
+ HEAP32[$376>>2] = $372;
+ $377 = $22;
+ $378 = (($377) + 1)|0;
+ $22 = $378;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_noise_shape_quantizer($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ $15 = $15|0;
+ $16 = $16|0;
+ $17 = $17|0;
+ $18 = $18|0;
+ var $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0, $1013 = 0, $1014 = 0, $1015 = 0, $1016 = 0, $1017 = 0;
+ var $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0, $1029 = 0, $103 = 0, $1030 = 0, $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0, $1035 = 0;
+ var $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0, $105 = 0, $1050 = 0, $1051 = 0, $1052 = 0, $1053 = 0;
+ var $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1065 = 0, $1066 = 0, $1067 = 0, $1068 = 0, $1069 = 0, $107 = 0, $1070 = 0, $1071 = 0;
+ var $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0, $1086 = 0, $1087 = 0, $1088 = 0, $1089 = 0, $109 = 0;
+ var $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0, $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0, $1103 = 0, $1104 = 0, $1105 = 0, $1106 = 0, $1107 = 0, $1108 = 0;
+ var $1109 = 0, $111 = 0, $1110 = 0, $1111 = 0, $1112 = 0, $1113 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0;
+ var $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0;
+ var $146 = 0, $147 = 0, $148 = 0, $149 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0;
+ var $166 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0;
+ var $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0;
+ var $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0;
+ var $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0;
+ var $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0;
+ var $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0;
+ var $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0;
+ var $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0;
+ var $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0;
+ var $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0;
+ var $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0;
+ var $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0;
+ var $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0;
+ var $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0;
+ var $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0;
+ var $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0;
+ var $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0;
+ var $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0;
+ var $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0;
+ var $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0;
+ var $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0;
+ var $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0;
+ var $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0;
+ var $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0;
+ var $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0;
+ var $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0;
+ var $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0;
+ var $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0;
+ var $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0;
+ var $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0;
+ var $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0;
+ var $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0;
+ var $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0;
+ var $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0;
+ var $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0;
+ var $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0;
+ var $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0;
+ var $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0;
+ var $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0, $872 = 0, $873 = 0, $874 = 0, $875 = 0, $876 = 0;
+ var $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0, $890 = 0, $891 = 0, $892 = 0, $893 = 0, $894 = 0;
+ var $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0, $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0;
+ var $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0, $927 = 0, $928 = 0, $929 = 0, $93 = 0, $930 = 0;
+ var $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0, $944 = 0, $945 = 0, $946 = 0, $947 = 0, $948 = 0, $949 = 0;
+ var $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0, $963 = 0, $964 = 0, $965 = 0, $966 = 0, $967 = 0;
+ var $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0, $980 = 0, $981 = 0, $982 = 0, $983 = 0, $984 = 0, $985 = 0;
+ var $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0, $999 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
+ $19 = $0;
+ $20 = $1;
+ $21 = $2;
+ $22 = $3;
+ $23 = $4;
+ $24 = $5;
+ $25 = $6;
+ $26 = $7;
+ $27 = $8;
+ $28 = $9;
+ $29 = $10;
+ $30 = $11;
+ $31 = $12;
+ $32 = $13;
+ $33 = $14;
+ $34 = $15;
+ $35 = $16;
+ $36 = $17;
+ $37 = $18;
+ $62 = $19;
+ $63 = ((($62)) + 1280|0);
+ $64 = $19;
+ $65 = ((($64)) + 4364|0);
+ $66 = HEAP32[$65>>2]|0;
+ $67 = $28;
+ $68 = (($66) - ($67))|0;
+ $69 = (($68) + 1)|0;
+ $70 = (($63) + ($69<<2)|0);
+ $60 = $70;
+ $71 = $24;
+ $72 = $19;
+ $73 = ((($72)) + 4360|0);
+ $74 = HEAP32[$73>>2]|0;
+ $75 = $28;
+ $76 = (($74) - ($75))|0;
+ $77 = (($76) + 2)|0;
+ $78 = (($71) + ($77<<2)|0);
+ $61 = $78;
+ $79 = $32;
+ $80 = $79 >> 6;
+ $55 = $80;
+ $81 = $19;
+ $82 = ((($81)) + 3840|0);
+ $83 = ((($82)) + 124|0);
+ $59 = $83;
+ $38 = 0;
+ while(1) {
+ $84 = $38;
+ $85 = $35;
+ $86 = ($84|0)<($85|0);
+ $87 = $19;
+ if (!($86)) {
+ break;
+ }
+ $88 = ((($87)) + 4368|0);
+ $89 = HEAP32[$88>>2]|0;
+ $90 = Math_imul($89, 196314165)|0;
+ $91 = (907633515 + ($90))|0;
+ $92 = $19;
+ $93 = ((($92)) + 4368|0);
+ HEAP32[$93>>2] = $91;
+ $94 = $37;
+ $95 = $94 >> 1;
+ $41 = $95;
+ $96 = $41;
+ $97 = $59;
+ $98 = HEAP32[$97>>2]|0;
+ $99 = $98 >> 16;
+ $100 = $25;
+ $101 = HEAP16[$100>>1]|0;
+ $102 = $101 << 16 >> 16;
+ $103 = Math_imul($99, $102)|0;
+ $104 = $59;
+ $105 = HEAP32[$104>>2]|0;
+ $106 = $105 & 65535;
+ $107 = $25;
+ $108 = HEAP16[$107>>1]|0;
+ $109 = $108 << 16 >> 16;
+ $110 = Math_imul($106, $109)|0;
+ $111 = $110 >> 16;
+ $112 = (($103) + ($111))|0;
+ $113 = (($96) + ($112))|0;
+ $41 = $113;
+ $114 = $41;
+ $115 = $59;
+ $116 = ((($115)) + -4|0);
+ $117 = HEAP32[$116>>2]|0;
+ $118 = $117 >> 16;
+ $119 = $25;
+ $120 = ((($119)) + 2|0);
+ $121 = HEAP16[$120>>1]|0;
+ $122 = $121 << 16 >> 16;
+ $123 = Math_imul($118, $122)|0;
+ $124 = $59;
+ $125 = ((($124)) + -4|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = $126 & 65535;
+ $128 = $25;
+ $129 = ((($128)) + 2|0);
+ $130 = HEAP16[$129>>1]|0;
+ $131 = $130 << 16 >> 16;
+ $132 = Math_imul($127, $131)|0;
+ $133 = $132 >> 16;
+ $134 = (($123) + ($133))|0;
+ $135 = (($114) + ($134))|0;
+ $41 = $135;
+ $136 = $41;
+ $137 = $59;
+ $138 = ((($137)) + -8|0);
+ $139 = HEAP32[$138>>2]|0;
+ $140 = $139 >> 16;
+ $141 = $25;
+ $142 = ((($141)) + 4|0);
+ $143 = HEAP16[$142>>1]|0;
+ $144 = $143 << 16 >> 16;
+ $145 = Math_imul($140, $144)|0;
+ $146 = $59;
+ $147 = ((($146)) + -8|0);
+ $148 = HEAP32[$147>>2]|0;
+ $149 = $148 & 65535;
+ $150 = $25;
+ $151 = ((($150)) + 4|0);
+ $152 = HEAP16[$151>>1]|0;
+ $153 = $152 << 16 >> 16;
+ $154 = Math_imul($149, $153)|0;
+ $155 = $154 >> 16;
+ $156 = (($145) + ($155))|0;
+ $157 = (($136) + ($156))|0;
+ $41 = $157;
+ $158 = $41;
+ $159 = $59;
+ $160 = ((($159)) + -12|0);
+ $161 = HEAP32[$160>>2]|0;
+ $162 = $161 >> 16;
+ $163 = $25;
+ $164 = ((($163)) + 6|0);
+ $165 = HEAP16[$164>>1]|0;
+ $166 = $165 << 16 >> 16;
+ $167 = Math_imul($162, $166)|0;
+ $168 = $59;
+ $169 = ((($168)) + -12|0);
+ $170 = HEAP32[$169>>2]|0;
+ $171 = $170 & 65535;
+ $172 = $25;
+ $173 = ((($172)) + 6|0);
+ $174 = HEAP16[$173>>1]|0;
+ $175 = $174 << 16 >> 16;
+ $176 = Math_imul($171, $175)|0;
+ $177 = $176 >> 16;
+ $178 = (($167) + ($177))|0;
+ $179 = (($158) + ($178))|0;
+ $41 = $179;
+ $180 = $41;
+ $181 = $59;
+ $182 = ((($181)) + -16|0);
+ $183 = HEAP32[$182>>2]|0;
+ $184 = $183 >> 16;
+ $185 = $25;
+ $186 = ((($185)) + 8|0);
+ $187 = HEAP16[$186>>1]|0;
+ $188 = $187 << 16 >> 16;
+ $189 = Math_imul($184, $188)|0;
+ $190 = $59;
+ $191 = ((($190)) + -16|0);
+ $192 = HEAP32[$191>>2]|0;
+ $193 = $192 & 65535;
+ $194 = $25;
+ $195 = ((($194)) + 8|0);
+ $196 = HEAP16[$195>>1]|0;
+ $197 = $196 << 16 >> 16;
+ $198 = Math_imul($193, $197)|0;
+ $199 = $198 >> 16;
+ $200 = (($189) + ($199))|0;
+ $201 = (($180) + ($200))|0;
+ $41 = $201;
+ $202 = $41;
+ $203 = $59;
+ $204 = ((($203)) + -20|0);
+ $205 = HEAP32[$204>>2]|0;
+ $206 = $205 >> 16;
+ $207 = $25;
+ $208 = ((($207)) + 10|0);
+ $209 = HEAP16[$208>>1]|0;
+ $210 = $209 << 16 >> 16;
+ $211 = Math_imul($206, $210)|0;
+ $212 = $59;
+ $213 = ((($212)) + -20|0);
+ $214 = HEAP32[$213>>2]|0;
+ $215 = $214 & 65535;
+ $216 = $25;
+ $217 = ((($216)) + 10|0);
+ $218 = HEAP16[$217>>1]|0;
+ $219 = $218 << 16 >> 16;
+ $220 = Math_imul($215, $219)|0;
+ $221 = $220 >> 16;
+ $222 = (($211) + ($221))|0;
+ $223 = (($202) + ($222))|0;
+ $41 = $223;
+ $224 = $41;
+ $225 = $59;
+ $226 = ((($225)) + -24|0);
+ $227 = HEAP32[$226>>2]|0;
+ $228 = $227 >> 16;
+ $229 = $25;
+ $230 = ((($229)) + 12|0);
+ $231 = HEAP16[$230>>1]|0;
+ $232 = $231 << 16 >> 16;
+ $233 = Math_imul($228, $232)|0;
+ $234 = $59;
+ $235 = ((($234)) + -24|0);
+ $236 = HEAP32[$235>>2]|0;
+ $237 = $236 & 65535;
+ $238 = $25;
+ $239 = ((($238)) + 12|0);
+ $240 = HEAP16[$239>>1]|0;
+ $241 = $240 << 16 >> 16;
+ $242 = Math_imul($237, $241)|0;
+ $243 = $242 >> 16;
+ $244 = (($233) + ($243))|0;
+ $245 = (($224) + ($244))|0;
+ $41 = $245;
+ $246 = $41;
+ $247 = $59;
+ $248 = ((($247)) + -28|0);
+ $249 = HEAP32[$248>>2]|0;
+ $250 = $249 >> 16;
+ $251 = $25;
+ $252 = ((($251)) + 14|0);
+ $253 = HEAP16[$252>>1]|0;
+ $254 = $253 << 16 >> 16;
+ $255 = Math_imul($250, $254)|0;
+ $256 = $59;
+ $257 = ((($256)) + -28|0);
+ $258 = HEAP32[$257>>2]|0;
+ $259 = $258 & 65535;
+ $260 = $25;
+ $261 = ((($260)) + 14|0);
+ $262 = HEAP16[$261>>1]|0;
+ $263 = $262 << 16 >> 16;
+ $264 = Math_imul($259, $263)|0;
+ $265 = $264 >> 16;
+ $266 = (($255) + ($265))|0;
+ $267 = (($246) + ($266))|0;
+ $41 = $267;
+ $268 = $41;
+ $269 = $59;
+ $270 = ((($269)) + -32|0);
+ $271 = HEAP32[$270>>2]|0;
+ $272 = $271 >> 16;
+ $273 = $25;
+ $274 = ((($273)) + 16|0);
+ $275 = HEAP16[$274>>1]|0;
+ $276 = $275 << 16 >> 16;
+ $277 = Math_imul($272, $276)|0;
+ $278 = $59;
+ $279 = ((($278)) + -32|0);
+ $280 = HEAP32[$279>>2]|0;
+ $281 = $280 & 65535;
+ $282 = $25;
+ $283 = ((($282)) + 16|0);
+ $284 = HEAP16[$283>>1]|0;
+ $285 = $284 << 16 >> 16;
+ $286 = Math_imul($281, $285)|0;
+ $287 = $286 >> 16;
+ $288 = (($277) + ($287))|0;
+ $289 = (($268) + ($288))|0;
+ $41 = $289;
+ $290 = $41;
+ $291 = $59;
+ $292 = ((($291)) + -36|0);
+ $293 = HEAP32[$292>>2]|0;
+ $294 = $293 >> 16;
+ $295 = $25;
+ $296 = ((($295)) + 18|0);
+ $297 = HEAP16[$296>>1]|0;
+ $298 = $297 << 16 >> 16;
+ $299 = Math_imul($294, $298)|0;
+ $300 = $59;
+ $301 = ((($300)) + -36|0);
+ $302 = HEAP32[$301>>2]|0;
+ $303 = $302 & 65535;
+ $304 = $25;
+ $305 = ((($304)) + 18|0);
+ $306 = HEAP16[$305>>1]|0;
+ $307 = $306 << 16 >> 16;
+ $308 = Math_imul($303, $307)|0;
+ $309 = $308 >> 16;
+ $310 = (($299) + ($309))|0;
+ $311 = (($290) + ($310))|0;
+ $41 = $311;
+ $312 = $37;
+ $313 = ($312|0)==(16);
+ if ($313) {
+ $314 = $41;
+ $315 = $59;
+ $316 = ((($315)) + -40|0);
+ $317 = HEAP32[$316>>2]|0;
+ $318 = $317 >> 16;
+ $319 = $25;
+ $320 = ((($319)) + 20|0);
+ $321 = HEAP16[$320>>1]|0;
+ $322 = $321 << 16 >> 16;
+ $323 = Math_imul($318, $322)|0;
+ $324 = $59;
+ $325 = ((($324)) + -40|0);
+ $326 = HEAP32[$325>>2]|0;
+ $327 = $326 & 65535;
+ $328 = $25;
+ $329 = ((($328)) + 20|0);
+ $330 = HEAP16[$329>>1]|0;
+ $331 = $330 << 16 >> 16;
+ $332 = Math_imul($327, $331)|0;
+ $333 = $332 >> 16;
+ $334 = (($323) + ($333))|0;
+ $335 = (($314) + ($334))|0;
+ $41 = $335;
+ $336 = $41;
+ $337 = $59;
+ $338 = ((($337)) + -44|0);
+ $339 = HEAP32[$338>>2]|0;
+ $340 = $339 >> 16;
+ $341 = $25;
+ $342 = ((($341)) + 22|0);
+ $343 = HEAP16[$342>>1]|0;
+ $344 = $343 << 16 >> 16;
+ $345 = Math_imul($340, $344)|0;
+ $346 = $59;
+ $347 = ((($346)) + -44|0);
+ $348 = HEAP32[$347>>2]|0;
+ $349 = $348 & 65535;
+ $350 = $25;
+ $351 = ((($350)) + 22|0);
+ $352 = HEAP16[$351>>1]|0;
+ $353 = $352 << 16 >> 16;
+ $354 = Math_imul($349, $353)|0;
+ $355 = $354 >> 16;
+ $356 = (($345) + ($355))|0;
+ $357 = (($336) + ($356))|0;
+ $41 = $357;
+ $358 = $41;
+ $359 = $59;
+ $360 = ((($359)) + -48|0);
+ $361 = HEAP32[$360>>2]|0;
+ $362 = $361 >> 16;
+ $363 = $25;
+ $364 = ((($363)) + 24|0);
+ $365 = HEAP16[$364>>1]|0;
+ $366 = $365 << 16 >> 16;
+ $367 = Math_imul($362, $366)|0;
+ $368 = $59;
+ $369 = ((($368)) + -48|0);
+ $370 = HEAP32[$369>>2]|0;
+ $371 = $370 & 65535;
+ $372 = $25;
+ $373 = ((($372)) + 24|0);
+ $374 = HEAP16[$373>>1]|0;
+ $375 = $374 << 16 >> 16;
+ $376 = Math_imul($371, $375)|0;
+ $377 = $376 >> 16;
+ $378 = (($367) + ($377))|0;
+ $379 = (($358) + ($378))|0;
+ $41 = $379;
+ $380 = $41;
+ $381 = $59;
+ $382 = ((($381)) + -52|0);
+ $383 = HEAP32[$382>>2]|0;
+ $384 = $383 >> 16;
+ $385 = $25;
+ $386 = ((($385)) + 26|0);
+ $387 = HEAP16[$386>>1]|0;
+ $388 = $387 << 16 >> 16;
+ $389 = Math_imul($384, $388)|0;
+ $390 = $59;
+ $391 = ((($390)) + -52|0);
+ $392 = HEAP32[$391>>2]|0;
+ $393 = $392 & 65535;
+ $394 = $25;
+ $395 = ((($394)) + 26|0);
+ $396 = HEAP16[$395>>1]|0;
+ $397 = $396 << 16 >> 16;
+ $398 = Math_imul($393, $397)|0;
+ $399 = $398 >> 16;
+ $400 = (($389) + ($399))|0;
+ $401 = (($380) + ($400))|0;
+ $41 = $401;
+ $402 = $41;
+ $403 = $59;
+ $404 = ((($403)) + -56|0);
+ $405 = HEAP32[$404>>2]|0;
+ $406 = $405 >> 16;
+ $407 = $25;
+ $408 = ((($407)) + 28|0);
+ $409 = HEAP16[$408>>1]|0;
+ $410 = $409 << 16 >> 16;
+ $411 = Math_imul($406, $410)|0;
+ $412 = $59;
+ $413 = ((($412)) + -56|0);
+ $414 = HEAP32[$413>>2]|0;
+ $415 = $414 & 65535;
+ $416 = $25;
+ $417 = ((($416)) + 28|0);
+ $418 = HEAP16[$417>>1]|0;
+ $419 = $418 << 16 >> 16;
+ $420 = Math_imul($415, $419)|0;
+ $421 = $420 >> 16;
+ $422 = (($411) + ($421))|0;
+ $423 = (($402) + ($422))|0;
+ $41 = $423;
+ $424 = $41;
+ $425 = $59;
+ $426 = ((($425)) + -60|0);
+ $427 = HEAP32[$426>>2]|0;
+ $428 = $427 >> 16;
+ $429 = $25;
+ $430 = ((($429)) + 30|0);
+ $431 = HEAP16[$430>>1]|0;
+ $432 = $431 << 16 >> 16;
+ $433 = Math_imul($428, $432)|0;
+ $434 = $59;
+ $435 = ((($434)) + -60|0);
+ $436 = HEAP32[$435>>2]|0;
+ $437 = $436 & 65535;
+ $438 = $25;
+ $439 = ((($438)) + 30|0);
+ $440 = HEAP16[$439>>1]|0;
+ $441 = $440 << 16 >> 16;
+ $442 = Math_imul($437, $441)|0;
+ $443 = $442 >> 16;
+ $444 = (($433) + ($443))|0;
+ $445 = (($424) + ($444))|0;
+ $41 = $445;
+ }
+ $446 = $20;
+ $447 = ($446|0)==(2);
+ if ($447) {
+ $40 = 2;
+ $448 = $40;
+ $449 = $61;
+ $450 = HEAP32[$449>>2]|0;
+ $451 = $450 >> 16;
+ $452 = $26;
+ $453 = HEAP16[$452>>1]|0;
+ $454 = $453 << 16 >> 16;
+ $455 = Math_imul($451, $454)|0;
+ $456 = $61;
+ $457 = HEAP32[$456>>2]|0;
+ $458 = $457 & 65535;
+ $459 = $26;
+ $460 = HEAP16[$459>>1]|0;
+ $461 = $460 << 16 >> 16;
+ $462 = Math_imul($458, $461)|0;
+ $463 = $462 >> 16;
+ $464 = (($455) + ($463))|0;
+ $465 = (($448) + ($464))|0;
+ $40 = $465;
+ $466 = $40;
+ $467 = $61;
+ $468 = ((($467)) + -4|0);
+ $469 = HEAP32[$468>>2]|0;
+ $470 = $469 >> 16;
+ $471 = $26;
+ $472 = ((($471)) + 2|0);
+ $473 = HEAP16[$472>>1]|0;
+ $474 = $473 << 16 >> 16;
+ $475 = Math_imul($470, $474)|0;
+ $476 = $61;
+ $477 = ((($476)) + -4|0);
+ $478 = HEAP32[$477>>2]|0;
+ $479 = $478 & 65535;
+ $480 = $26;
+ $481 = ((($480)) + 2|0);
+ $482 = HEAP16[$481>>1]|0;
+ $483 = $482 << 16 >> 16;
+ $484 = Math_imul($479, $483)|0;
+ $485 = $484 >> 16;
+ $486 = (($475) + ($485))|0;
+ $487 = (($466) + ($486))|0;
+ $40 = $487;
+ $488 = $40;
+ $489 = $61;
+ $490 = ((($489)) + -8|0);
+ $491 = HEAP32[$490>>2]|0;
+ $492 = $491 >> 16;
+ $493 = $26;
+ $494 = ((($493)) + 4|0);
+ $495 = HEAP16[$494>>1]|0;
+ $496 = $495 << 16 >> 16;
+ $497 = Math_imul($492, $496)|0;
+ $498 = $61;
+ $499 = ((($498)) + -8|0);
+ $500 = HEAP32[$499>>2]|0;
+ $501 = $500 & 65535;
+ $502 = $26;
+ $503 = ((($502)) + 4|0);
+ $504 = HEAP16[$503>>1]|0;
+ $505 = $504 << 16 >> 16;
+ $506 = Math_imul($501, $505)|0;
+ $507 = $506 >> 16;
+ $508 = (($497) + ($507))|0;
+ $509 = (($488) + ($508))|0;
+ $40 = $509;
+ $510 = $40;
+ $511 = $61;
+ $512 = ((($511)) + -12|0);
+ $513 = HEAP32[$512>>2]|0;
+ $514 = $513 >> 16;
+ $515 = $26;
+ $516 = ((($515)) + 6|0);
+ $517 = HEAP16[$516>>1]|0;
+ $518 = $517 << 16 >> 16;
+ $519 = Math_imul($514, $518)|0;
+ $520 = $61;
+ $521 = ((($520)) + -12|0);
+ $522 = HEAP32[$521>>2]|0;
+ $523 = $522 & 65535;
+ $524 = $26;
+ $525 = ((($524)) + 6|0);
+ $526 = HEAP16[$525>>1]|0;
+ $527 = $526 << 16 >> 16;
+ $528 = Math_imul($523, $527)|0;
+ $529 = $528 >> 16;
+ $530 = (($519) + ($529))|0;
+ $531 = (($510) + ($530))|0;
+ $40 = $531;
+ $532 = $40;
+ $533 = $61;
+ $534 = ((($533)) + -16|0);
+ $535 = HEAP32[$534>>2]|0;
+ $536 = $535 >> 16;
+ $537 = $26;
+ $538 = ((($537)) + 8|0);
+ $539 = HEAP16[$538>>1]|0;
+ $540 = $539 << 16 >> 16;
+ $541 = Math_imul($536, $540)|0;
+ $542 = $61;
+ $543 = ((($542)) + -16|0);
+ $544 = HEAP32[$543>>2]|0;
+ $545 = $544 & 65535;
+ $546 = $26;
+ $547 = ((($546)) + 8|0);
+ $548 = HEAP16[$547>>1]|0;
+ $549 = $548 << 16 >> 16;
+ $550 = Math_imul($545, $549)|0;
+ $551 = $550 >> 16;
+ $552 = (($541) + ($551))|0;
+ $553 = (($532) + ($552))|0;
+ $40 = $553;
+ $554 = $61;
+ $555 = ((($554)) + 4|0);
+ $61 = $555;
+ } else {
+ $40 = 0;
+ }
+ $556 = $59;
+ $557 = HEAP32[$556>>2]|0;
+ $57 = $557;
+ $558 = $19;
+ $559 = ((($558)) + 4288|0);
+ $560 = HEAP32[$559>>2]|0;
+ $56 = $560;
+ $561 = $57;
+ $562 = $19;
+ $563 = ((($562)) + 4288|0);
+ HEAP32[$563>>2] = $561;
+ $564 = $36;
+ $565 = $564 >> 1;
+ $42 = $565;
+ $566 = $42;
+ $567 = $57;
+ $568 = $567 >> 16;
+ $569 = $27;
+ $570 = HEAP16[$569>>1]|0;
+ $571 = $570 << 16 >> 16;
+ $572 = Math_imul($568, $571)|0;
+ $573 = $57;
+ $574 = $573 & 65535;
+ $575 = $27;
+ $576 = HEAP16[$575>>1]|0;
+ $577 = $576 << 16 >> 16;
+ $578 = Math_imul($574, $577)|0;
+ $579 = $578 >> 16;
+ $580 = (($572) + ($579))|0;
+ $581 = (($566) + ($580))|0;
+ $42 = $581;
+ $39 = 2;
+ while(1) {
+ $582 = $39;
+ $583 = $36;
+ $584 = ($582|0)<($583|0);
+ if (!($584)) {
+ break;
+ }
+ $585 = $19;
+ $586 = ((($585)) + 4288|0);
+ $587 = $39;
+ $588 = (($587) - 1)|0;
+ $589 = (($586) + ($588<<2)|0);
+ $590 = HEAP32[$589>>2]|0;
+ $57 = $590;
+ $591 = $56;
+ $592 = $19;
+ $593 = ((($592)) + 4288|0);
+ $594 = $39;
+ $595 = (($594) - 1)|0;
+ $596 = (($593) + ($595<<2)|0);
+ HEAP32[$596>>2] = $591;
+ $597 = $42;
+ $598 = $56;
+ $599 = $598 >> 16;
+ $600 = $27;
+ $601 = $39;
+ $602 = (($601) - 1)|0;
+ $603 = (($600) + ($602<<1)|0);
+ $604 = HEAP16[$603>>1]|0;
+ $605 = $604 << 16 >> 16;
+ $606 = Math_imul($599, $605)|0;
+ $607 = $56;
+ $608 = $607 & 65535;
+ $609 = $27;
+ $610 = $39;
+ $611 = (($610) - 1)|0;
+ $612 = (($609) + ($611<<1)|0);
+ $613 = HEAP16[$612>>1]|0;
+ $614 = $613 << 16 >> 16;
+ $615 = Math_imul($608, $614)|0;
+ $616 = $615 >> 16;
+ $617 = (($606) + ($616))|0;
+ $618 = (($597) + ($617))|0;
+ $42 = $618;
+ $619 = $19;
+ $620 = ((($619)) + 4288|0);
+ $621 = $39;
+ $622 = (($621) + 0)|0;
+ $623 = (($620) + ($622<<2)|0);
+ $624 = HEAP32[$623>>2]|0;
+ $56 = $624;
+ $625 = $57;
+ $626 = $19;
+ $627 = ((($626)) + 4288|0);
+ $628 = $39;
+ $629 = (($628) + 0)|0;
+ $630 = (($627) + ($629<<2)|0);
+ HEAP32[$630>>2] = $625;
+ $631 = $42;
+ $632 = $57;
+ $633 = $632 >> 16;
+ $634 = $27;
+ $635 = $39;
+ $636 = (($634) + ($635<<1)|0);
+ $637 = HEAP16[$636>>1]|0;
+ $638 = $637 << 16 >> 16;
+ $639 = Math_imul($633, $638)|0;
+ $640 = $57;
+ $641 = $640 & 65535;
+ $642 = $27;
+ $643 = $39;
+ $644 = (($642) + ($643<<1)|0);
+ $645 = HEAP16[$644>>1]|0;
+ $646 = $645 << 16 >> 16;
+ $647 = Math_imul($641, $646)|0;
+ $648 = $647 >> 16;
+ $649 = (($639) + ($648))|0;
+ $650 = (($631) + ($649))|0;
+ $42 = $650;
+ $651 = $39;
+ $652 = (($651) + 2)|0;
+ $39 = $652;
+ }
+ $653 = $56;
+ $654 = $19;
+ $655 = ((($654)) + 4288|0);
+ $656 = $36;
+ $657 = (($656) - 1)|0;
+ $658 = (($655) + ($657<<2)|0);
+ HEAP32[$658>>2] = $653;
+ $659 = $42;
+ $660 = $56;
+ $661 = $660 >> 16;
+ $662 = $27;
+ $663 = $36;
+ $664 = (($663) - 1)|0;
+ $665 = (($662) + ($664<<1)|0);
+ $666 = HEAP16[$665>>1]|0;
+ $667 = $666 << 16 >> 16;
+ $668 = Math_imul($661, $667)|0;
+ $669 = $56;
+ $670 = $669 & 65535;
+ $671 = $27;
+ $672 = $36;
+ $673 = (($672) - 1)|0;
+ $674 = (($671) + ($673<<1)|0);
+ $675 = HEAP16[$674>>1]|0;
+ $676 = $675 << 16 >> 16;
+ $677 = Math_imul($670, $676)|0;
+ $678 = $677 >> 16;
+ $679 = (($668) + ($678))|0;
+ $680 = (($659) + ($679))|0;
+ $42 = $680;
+ $681 = $42;
+ $682 = $681 << 1;
+ $42 = $682;
+ $683 = $42;
+ $684 = $19;
+ $685 = ((($684)) + 4352|0);
+ $686 = HEAP32[$685>>2]|0;
+ $687 = $686 >> 16;
+ $688 = $30;
+ $689 = $688&65535;
+ $690 = $689 << 16 >> 16;
+ $691 = Math_imul($687, $690)|0;
+ $692 = $19;
+ $693 = ((($692)) + 4352|0);
+ $694 = HEAP32[$693>>2]|0;
+ $695 = $694 & 65535;
+ $696 = $30;
+ $697 = $696&65535;
+ $698 = $697 << 16 >> 16;
+ $699 = Math_imul($695, $698)|0;
+ $700 = $699 >> 16;
+ $701 = (($691) + ($700))|0;
+ $702 = (($683) + ($701))|0;
+ $42 = $702;
+ $703 = $19;
+ $704 = ((($703)) + 1280|0);
+ $705 = $19;
+ $706 = ((($705)) + 4364|0);
+ $707 = HEAP32[$706>>2]|0;
+ $708 = (($707) - 1)|0;
+ $709 = (($704) + ($708<<2)|0);
+ $710 = HEAP32[$709>>2]|0;
+ $711 = $710 >> 16;
+ $712 = $31;
+ $713 = $712&65535;
+ $714 = $713 << 16 >> 16;
+ $715 = Math_imul($711, $714)|0;
+ $716 = $19;
+ $717 = ((($716)) + 1280|0);
+ $718 = $19;
+ $719 = ((($718)) + 4364|0);
+ $720 = HEAP32[$719>>2]|0;
+ $721 = (($720) - 1)|0;
+ $722 = (($717) + ($721<<2)|0);
+ $723 = HEAP32[$722>>2]|0;
+ $724 = $723 & 65535;
+ $725 = $31;
+ $726 = $725&65535;
+ $727 = $726 << 16 >> 16;
+ $728 = Math_imul($724, $727)|0;
+ $729 = $728 >> 16;
+ $730 = (($715) + ($729))|0;
+ $44 = $730;
+ $731 = $44;
+ $732 = $19;
+ $733 = ((($732)) + 4352|0);
+ $734 = HEAP32[$733>>2]|0;
+ $735 = $734 >> 16;
+ $736 = $31;
+ $737 = $736 >> 16;
+ $738 = Math_imul($735, $737)|0;
+ $739 = (($731) + ($738))|0;
+ $740 = $19;
+ $741 = ((($740)) + 4352|0);
+ $742 = HEAP32[$741>>2]|0;
+ $743 = $742 & 65535;
+ $744 = $31;
+ $745 = $744 >> 16;
+ $746 = Math_imul($743, $745)|0;
+ $747 = $746 >> 16;
+ $748 = (($739) + ($747))|0;
+ $44 = $748;
+ $749 = $41;
+ $750 = $749 << 2;
+ $751 = $42;
+ $752 = (($750) - ($751))|0;
+ $56 = $752;
+ $753 = $56;
+ $754 = $44;
+ $755 = (($753) - ($754))|0;
+ $56 = $755;
+ $756 = $28;
+ $757 = ($756|0)>(0);
+ if ($757) {
+ $758 = $60;
+ $759 = HEAP32[$758>>2]|0;
+ $760 = $60;
+ $761 = ((($760)) + -8|0);
+ $762 = HEAP32[$761>>2]|0;
+ $763 = (($759) + ($762))|0;
+ $764 = $763 >> 16;
+ $765 = $29;
+ $766 = $765&65535;
+ $767 = $766 << 16 >> 16;
+ $768 = Math_imul($764, $767)|0;
+ $769 = $60;
+ $770 = HEAP32[$769>>2]|0;
+ $771 = $60;
+ $772 = ((($771)) + -8|0);
+ $773 = HEAP32[$772>>2]|0;
+ $774 = (($770) + ($773))|0;
+ $775 = $774 & 65535;
+ $776 = $29;
+ $777 = $776&65535;
+ $778 = $777 << 16 >> 16;
+ $779 = Math_imul($775, $778)|0;
+ $780 = $779 >> 16;
+ $781 = (($768) + ($780))|0;
+ $43 = $781;
+ $782 = $43;
+ $783 = $60;
+ $784 = ((($783)) + -4|0);
+ $785 = HEAP32[$784>>2]|0;
+ $786 = $785 >> 16;
+ $787 = $29;
+ $788 = $787 >> 16;
+ $789 = Math_imul($786, $788)|0;
+ $790 = (($782) + ($789))|0;
+ $791 = $60;
+ $792 = ((($791)) + -4|0);
+ $793 = HEAP32[$792>>2]|0;
+ $794 = $793 & 65535;
+ $795 = $29;
+ $796 = $795 >> 16;
+ $797 = Math_imul($794, $796)|0;
+ $798 = $797 >> 16;
+ $799 = (($790) + ($798))|0;
+ $43 = $799;
+ $800 = $43;
+ $801 = $800 << 1;
+ $43 = $801;
+ $802 = $60;
+ $803 = ((($802)) + 4|0);
+ $60 = $803;
+ $804 = $40;
+ $805 = $43;
+ $806 = (($804) - ($805))|0;
+ $57 = $806;
+ $807 = $57;
+ $808 = $56;
+ $809 = $808 << 1;
+ $810 = (($807) + ($809))|0;
+ $56 = $810;
+ $811 = $56;
+ $812 = $811 >> 2;
+ $813 = (($812) + 1)|0;
+ $814 = $813 >> 1;
+ $56 = $814;
+ } else {
+ $815 = $56;
+ $816 = $815 >> 1;
+ $817 = (($816) + 1)|0;
+ $818 = $817 >> 1;
+ $56 = $818;
+ }
+ $819 = $21;
+ $820 = $38;
+ $821 = (($819) + ($820<<2)|0);
+ $822 = HEAP32[$821>>2]|0;
+ $823 = $56;
+ $824 = (($822) - ($823))|0;
+ $45 = $824;
+ $825 = $19;
+ $826 = ((($825)) + 4368|0);
+ $827 = HEAP32[$826>>2]|0;
+ $828 = ($827|0)<(0);
+ if ($828) {
+ $829 = $45;
+ $830 = (0 - ($829))|0;
+ $45 = $830;
+ }
+ $831 = $45;
+ $832 = ($831|0)>(30720);
+ if ($832) {
+ $837 = 30720;
+ } else {
+ $833 = $45;
+ $834 = ($833|0)<(-31744);
+ $835 = $45;
+ $836 = $834 ? -31744 : $835;
+ $837 = $836;
+ }
+ $45 = $837;
+ $838 = $45;
+ $839 = $34;
+ $840 = (($838) - ($839))|0;
+ $48 = $840;
+ $841 = $48;
+ $842 = $841 >> 10;
+ $47 = $842;
+ $843 = $47;
+ $844 = ($843|0)>(0);
+ $845 = $47;
+ do {
+ if ($844) {
+ $846 = $845 << 10;
+ $847 = (($846) - 80)|0;
+ $48 = $847;
+ $848 = $48;
+ $849 = $34;
+ $850 = (($848) + ($849))|0;
+ $48 = $850;
+ $851 = $48;
+ $852 = (($851) + 1024)|0;
+ $49 = $852;
+ $853 = $48;
+ $854 = $853&65535;
+ $855 = $854 << 16 >> 16;
+ $856 = $33;
+ $857 = $856&65535;
+ $858 = $857 << 16 >> 16;
+ $859 = Math_imul($855, $858)|0;
+ $50 = $859;
+ $860 = $49;
+ $861 = $860&65535;
+ $862 = $861 << 16 >> 16;
+ $863 = $33;
+ $864 = $863&65535;
+ $865 = $864 << 16 >> 16;
+ $866 = Math_imul($862, $865)|0;
+ $51 = $866;
+ } else {
+ $867 = ($845|0)==(0);
+ if ($867) {
+ $868 = $34;
+ $48 = $868;
+ $869 = $48;
+ $870 = (($869) + 944)|0;
+ $49 = $870;
+ $871 = $48;
+ $872 = $871&65535;
+ $873 = $872 << 16 >> 16;
+ $874 = $33;
+ $875 = $874&65535;
+ $876 = $875 << 16 >> 16;
+ $877 = Math_imul($873, $876)|0;
+ $50 = $877;
+ $878 = $49;
+ $879 = $878&65535;
+ $880 = $879 << 16 >> 16;
+ $881 = $33;
+ $882 = $881&65535;
+ $883 = $882 << 16 >> 16;
+ $884 = Math_imul($880, $883)|0;
+ $51 = $884;
+ break;
+ }
+ $885 = $47;
+ $886 = ($885|0)==(-1);
+ if ($886) {
+ $887 = $34;
+ $49 = $887;
+ $888 = $49;
+ $889 = (($888) - 944)|0;
+ $48 = $889;
+ $890 = $48;
+ $891 = (0 - ($890))|0;
+ $892 = $891&65535;
+ $893 = $892 << 16 >> 16;
+ $894 = $33;
+ $895 = $894&65535;
+ $896 = $895 << 16 >> 16;
+ $897 = Math_imul($893, $896)|0;
+ $50 = $897;
+ $898 = $49;
+ $899 = $898&65535;
+ $900 = $899 << 16 >> 16;
+ $901 = $33;
+ $902 = $901&65535;
+ $903 = $902 << 16 >> 16;
+ $904 = Math_imul($900, $903)|0;
+ $51 = $904;
+ break;
+ } else {
+ $905 = $47;
+ $906 = $905 << 10;
+ $907 = (($906) + 80)|0;
+ $48 = $907;
+ $908 = $48;
+ $909 = $34;
+ $910 = (($908) + ($909))|0;
+ $48 = $910;
+ $911 = $48;
+ $912 = (($911) + 1024)|0;
+ $49 = $912;
+ $913 = $48;
+ $914 = (0 - ($913))|0;
+ $915 = $914&65535;
+ $916 = $915 << 16 >> 16;
+ $917 = $33;
+ $918 = $917&65535;
+ $919 = $918 << 16 >> 16;
+ $920 = Math_imul($916, $919)|0;
+ $50 = $920;
+ $921 = $49;
+ $922 = (0 - ($921))|0;
+ $923 = $922&65535;
+ $924 = $923 << 16 >> 16;
+ $925 = $33;
+ $926 = $925&65535;
+ $927 = $926 << 16 >> 16;
+ $928 = Math_imul($924, $927)|0;
+ $51 = $928;
+ break;
+ }
+ }
+ } while(0);
+ $929 = $45;
+ $930 = $48;
+ $931 = (($929) - ($930))|0;
+ $46 = $931;
+ $932 = $50;
+ $933 = $46;
+ $934 = $933&65535;
+ $935 = $934 << 16 >> 16;
+ $936 = $46;
+ $937 = $936&65535;
+ $938 = $937 << 16 >> 16;
+ $939 = Math_imul($935, $938)|0;
+ $940 = (($932) + ($939))|0;
+ $50 = $940;
+ $941 = $45;
+ $942 = $49;
+ $943 = (($941) - ($942))|0;
+ $46 = $943;
+ $944 = $51;
+ $945 = $46;
+ $946 = $945&65535;
+ $947 = $946 << 16 >> 16;
+ $948 = $46;
+ $949 = $948&65535;
+ $950 = $949 << 16 >> 16;
+ $951 = Math_imul($947, $950)|0;
+ $952 = (($944) + ($951))|0;
+ $51 = $952;
+ $953 = $51;
+ $954 = $50;
+ $955 = ($953|0)<($954|0);
+ if ($955) {
+ $956 = $49;
+ $48 = $956;
+ }
+ $957 = $48;
+ $958 = $957 >> 9;
+ $959 = (($958) + 1)|0;
+ $960 = $959 >> 1;
+ $961 = $960&255;
+ $962 = $22;
+ $963 = $38;
+ $964 = (($962) + ($963)|0);
+ HEAP8[$964>>0] = $961;
+ $965 = $48;
+ $966 = $965 << 4;
+ $52 = $966;
+ $967 = $19;
+ $968 = ((($967)) + 4368|0);
+ $969 = HEAP32[$968>>2]|0;
+ $970 = ($969|0)<(0);
+ if ($970) {
+ $971 = $52;
+ $972 = (0 - ($971))|0;
+ $52 = $972;
+ }
+ $973 = $52;
+ $974 = $40;
+ $975 = $974 << 1;
+ $976 = (($973) + ($975))|0;
+ $53 = $976;
+ $977 = $53;
+ $978 = $41;
+ $979 = $978 << 4;
+ $980 = (($977) + ($979))|0;
+ $54 = $980;
+ $981 = $54;
+ $982 = $981 >> 16;
+ $983 = $55;
+ $984 = $983&65535;
+ $985 = $984 << 16 >> 16;
+ $986 = Math_imul($982, $985)|0;
+ $987 = $54;
+ $988 = $987 & 65535;
+ $989 = $55;
+ $990 = $989&65535;
+ $991 = $990 << 16 >> 16;
+ $992 = Math_imul($988, $991)|0;
+ $993 = $992 >> 16;
+ $994 = (($986) + ($993))|0;
+ $995 = $54;
+ $996 = $55;
+ $997 = $996 >> 15;
+ $998 = (($997) + 1)|0;
+ $999 = $998 >> 1;
+ $1000 = Math_imul($995, $999)|0;
+ $1001 = (($994) + ($1000))|0;
+ $1002 = $1001 >> 7;
+ $1003 = (($1002) + 1)|0;
+ $1004 = $1003 >> 1;
+ $1005 = ($1004|0)>(32767);
+ if ($1005) {
+ $1056 = 32767;
+ } else {
+ $1006 = $54;
+ $1007 = $1006 >> 16;
+ $1008 = $55;
+ $1009 = $1008&65535;
+ $1010 = $1009 << 16 >> 16;
+ $1011 = Math_imul($1007, $1010)|0;
+ $1012 = $54;
+ $1013 = $1012 & 65535;
+ $1014 = $55;
+ $1015 = $1014&65535;
+ $1016 = $1015 << 16 >> 16;
+ $1017 = Math_imul($1013, $1016)|0;
+ $1018 = $1017 >> 16;
+ $1019 = (($1011) + ($1018))|0;
+ $1020 = $54;
+ $1021 = $55;
+ $1022 = $1021 >> 15;
+ $1023 = (($1022) + 1)|0;
+ $1024 = $1023 >> 1;
+ $1025 = Math_imul($1020, $1024)|0;
+ $1026 = (($1019) + ($1025))|0;
+ $1027 = $1026 >> 7;
+ $1028 = (($1027) + 1)|0;
+ $1029 = $1028 >> 1;
+ $1030 = ($1029|0)<(-32768);
+ if ($1030) {
+ $1056 = -32768;
+ } else {
+ $1031 = $54;
+ $1032 = $1031 >> 16;
+ $1033 = $55;
+ $1034 = $1033&65535;
+ $1035 = $1034 << 16 >> 16;
+ $1036 = Math_imul($1032, $1035)|0;
+ $1037 = $54;
+ $1038 = $1037 & 65535;
+ $1039 = $55;
+ $1040 = $1039&65535;
+ $1041 = $1040 << 16 >> 16;
+ $1042 = Math_imul($1038, $1041)|0;
+ $1043 = $1042 >> 16;
+ $1044 = (($1036) + ($1043))|0;
+ $1045 = $54;
+ $1046 = $55;
+ $1047 = $1046 >> 15;
+ $1048 = (($1047) + 1)|0;
+ $1049 = $1048 >> 1;
+ $1050 = Math_imul($1045, $1049)|0;
+ $1051 = (($1044) + ($1050))|0;
+ $1052 = $1051 >> 7;
+ $1053 = (($1052) + 1)|0;
+ $1054 = $1053 >> 1;
+ $1056 = $1054;
+ }
+ }
+ $1055 = $1056&65535;
+ $1057 = $23;
+ $1058 = $38;
+ $1059 = (($1057) + ($1058<<1)|0);
+ HEAP16[$1059>>1] = $1055;
+ $1060 = $59;
+ $1061 = ((($1060)) + 4|0);
+ $59 = $1061;
+ $1062 = $54;
+ $1063 = $59;
+ HEAP32[$1063>>2] = $1062;
+ $1064 = $54;
+ $1065 = $42;
+ $1066 = $1065 << 2;
+ $1067 = (($1064) - ($1066))|0;
+ $58 = $1067;
+ $1068 = $58;
+ $1069 = $19;
+ $1070 = ((($1069)) + 4352|0);
+ HEAP32[$1070>>2] = $1068;
+ $1071 = $58;
+ $1072 = $44;
+ $1073 = $1072 << 2;
+ $1074 = (($1071) - ($1073))|0;
+ $1075 = $19;
+ $1076 = ((($1075)) + 1280|0);
+ $1077 = $19;
+ $1078 = ((($1077)) + 4364|0);
+ $1079 = HEAP32[$1078>>2]|0;
+ $1080 = (($1076) + ($1079<<2)|0);
+ HEAP32[$1080>>2] = $1074;
+ $1081 = $53;
+ $1082 = $1081 << 1;
+ $1083 = $24;
+ $1084 = $19;
+ $1085 = ((($1084)) + 4360|0);
+ $1086 = HEAP32[$1085>>2]|0;
+ $1087 = (($1083) + ($1086<<2)|0);
+ HEAP32[$1087>>2] = $1082;
+ $1088 = $19;
+ $1089 = ((($1088)) + 4364|0);
+ $1090 = HEAP32[$1089>>2]|0;
+ $1091 = (($1090) + 1)|0;
+ HEAP32[$1089>>2] = $1091;
+ $1092 = $19;
+ $1093 = ((($1092)) + 4360|0);
+ $1094 = HEAP32[$1093>>2]|0;
+ $1095 = (($1094) + 1)|0;
+ HEAP32[$1093>>2] = $1095;
+ $1096 = $19;
+ $1097 = ((($1096)) + 4368|0);
+ $1098 = HEAP32[$1097>>2]|0;
+ $1099 = $22;
+ $1100 = $38;
+ $1101 = (($1099) + ($1100)|0);
+ $1102 = HEAP8[$1101>>0]|0;
+ $1103 = $1102 << 24 >> 24;
+ $1104 = (($1098) + ($1103))|0;
+ $1105 = $19;
+ $1106 = ((($1105)) + 4368|0);
+ HEAP32[$1106>>2] = $1104;
+ $1107 = $38;
+ $1108 = (($1107) + 1)|0;
+ $38 = $1108;
+ }
+ $1109 = ((($87)) + 3840|0);
+ $1110 = $19;
+ $1111 = ((($1110)) + 3840|0);
+ $1112 = $35;
+ $1113 = (($1111) + ($1112<<2)|0);
+ dest=$1109; src=$1113; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ STACKTOP = sp;return;
+}
+function _silk_INVERSE32_varQ($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $3 = $0;
+ $4 = $1;
+ $11 = $3;
+ $12 = ($11|0)>(0);
+ $13 = $3;
+ $14 = (0 - ($13))|0;
+ $15 = $12 ? $13 : $14;
+ $16 = (_silk_CLZ32_420($15)|0);
+ $17 = (($16) - 1)|0;
+ $5 = $17;
+ $18 = $3;
+ $19 = $5;
+ $20 = $18 << $19;
+ $8 = $20;
+ $21 = $8;
+ $22 = $21 >> 16;
+ $23 = (536870911 / ($22|0))&-1;
+ $7 = $23;
+ $24 = $7;
+ $25 = $24 << 16;
+ $10 = $25;
+ $26 = $8;
+ $27 = $26 >> 16;
+ $28 = $7;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($27, $30)|0;
+ $32 = $8;
+ $33 = $32 & 65535;
+ $34 = $7;
+ $35 = $34&65535;
+ $36 = $35 << 16 >> 16;
+ $37 = Math_imul($33, $36)|0;
+ $38 = $37 >> 16;
+ $39 = (($31) + ($38))|0;
+ $40 = (536870912 - ($39))|0;
+ $41 = $40 << 3;
+ $9 = $41;
+ $42 = $10;
+ $43 = $9;
+ $44 = $43 >> 16;
+ $45 = $7;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $9;
+ $50 = $49 & 65535;
+ $51 = $7;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($50, $53)|0;
+ $55 = $54 >> 16;
+ $56 = (($48) + ($55))|0;
+ $57 = (($42) + ($56))|0;
+ $58 = $9;
+ $59 = $7;
+ $60 = $59 >> 15;
+ $61 = (($60) + 1)|0;
+ $62 = $61 >> 1;
+ $63 = Math_imul($58, $62)|0;
+ $64 = (($57) + ($63))|0;
+ $10 = $64;
+ $65 = $5;
+ $66 = (61 - ($65))|0;
+ $67 = $4;
+ $68 = (($66) - ($67))|0;
+ $6 = $68;
+ $69 = $6;
+ $70 = ($69|0)<=(0);
+ $71 = $6;
+ if (!($70)) {
+ $113 = ($71|0)<(32);
+ if ($113) {
+ $114 = $10;
+ $115 = $6;
+ $116 = $114 >> $115;
+ $2 = $116;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+ } else {
+ $2 = 0;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+ }
+ }
+ $72 = (0 - ($71))|0;
+ $73 = -2147483648 >> $72;
+ $74 = $6;
+ $75 = (0 - ($74))|0;
+ $76 = 2147483647 >> $75;
+ $77 = ($73|0)>($76|0);
+ $78 = $10;
+ $79 = $6;
+ $80 = (0 - ($79))|0;
+ do {
+ if ($77) {
+ $81 = -2147483648 >> $80;
+ $82 = ($78|0)>($81|0);
+ if ($82) {
+ $83 = $6;
+ $84 = (0 - ($83))|0;
+ $85 = -2147483648 >> $84;
+ $112 = $85;
+ break;
+ }
+ $86 = $10;
+ $87 = $6;
+ $88 = (0 - ($87))|0;
+ $89 = 2147483647 >> $88;
+ $90 = ($86|0)<($89|0);
+ if ($90) {
+ $91 = $6;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $112 = $93;
+ break;
+ } else {
+ $94 = $10;
+ $112 = $94;
+ break;
+ }
+ } else {
+ $95 = 2147483647 >> $80;
+ $96 = ($78|0)>($95|0);
+ if ($96) {
+ $97 = $6;
+ $98 = (0 - ($97))|0;
+ $99 = 2147483647 >> $98;
+ $112 = $99;
+ break;
+ }
+ $100 = $10;
+ $101 = $6;
+ $102 = (0 - ($101))|0;
+ $103 = -2147483648 >> $102;
+ $104 = ($100|0)<($103|0);
+ if ($104) {
+ $105 = $6;
+ $106 = (0 - ($105))|0;
+ $107 = -2147483648 >> $106;
+ $112 = $107;
+ break;
+ } else {
+ $108 = $10;
+ $112 = $108;
+ break;
+ }
+ }
+ } while(0);
+ $109 = $6;
+ $110 = (0 - ($109))|0;
+ $111 = $112 << $110;
+ $2 = $111;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+}
+function _silk_DIV32_varQ_419($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $14 = 0;
+ var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $14 = $4;
+ $15 = ($14|0)>(0);
+ $16 = $4;
+ $17 = (0 - ($16))|0;
+ $18 = $15 ? $16 : $17;
+ $19 = (_silk_CLZ32_420($18)|0);
+ $20 = (($19) - 1)|0;
+ $7 = $20;
+ $21 = $4;
+ $22 = $7;
+ $23 = $21 << $22;
+ $11 = $23;
+ $24 = $5;
+ $25 = ($24|0)>(0);
+ $26 = $5;
+ $27 = (0 - ($26))|0;
+ $28 = $25 ? $26 : $27;
+ $29 = (_silk_CLZ32_420($28)|0);
+ $30 = (($29) - 1)|0;
+ $8 = $30;
+ $31 = $5;
+ $32 = $8;
+ $33 = $31 << $32;
+ $12 = $33;
+ $34 = $12;
+ $35 = $34 >> 16;
+ $36 = (536870911 / ($35|0))&-1;
+ $10 = $36;
+ $37 = $11;
+ $38 = $37 >> 16;
+ $39 = $10;
+ $40 = $39&65535;
+ $41 = $40 << 16 >> 16;
+ $42 = Math_imul($38, $41)|0;
+ $43 = $11;
+ $44 = $43 & 65535;
+ $45 = $10;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $48 >> 16;
+ $50 = (($42) + ($49))|0;
+ $13 = $50;
+ $51 = $11;
+ $52 = $12;
+ $53 = ($52|0)<(0);
+ $54 = $53 << 31 >> 31;
+ $55 = $13;
+ $56 = ($55|0)<(0);
+ $57 = $56 << 31 >> 31;
+ $58 = (___muldi3(($52|0),($54|0),($55|0),($57|0))|0);
+ $59 = tempRet0;
+ $60 = (_bitshift64Ashr(($58|0),($59|0),32)|0);
+ $61 = tempRet0;
+ $62 = $60 << 3;
+ $63 = (($51) - ($62))|0;
+ $11 = $63;
+ $64 = $13;
+ $65 = $11;
+ $66 = $65 >> 16;
+ $67 = $10;
+ $68 = $67&65535;
+ $69 = $68 << 16 >> 16;
+ $70 = Math_imul($66, $69)|0;
+ $71 = $11;
+ $72 = $71 & 65535;
+ $73 = $10;
+ $74 = $73&65535;
+ $75 = $74 << 16 >> 16;
+ $76 = Math_imul($72, $75)|0;
+ $77 = $76 >> 16;
+ $78 = (($70) + ($77))|0;
+ $79 = (($64) + ($78))|0;
+ $13 = $79;
+ $80 = $7;
+ $81 = (29 + ($80))|0;
+ $82 = $8;
+ $83 = (($81) - ($82))|0;
+ $84 = $6;
+ $85 = (($83) - ($84))|0;
+ $9 = $85;
+ $86 = $9;
+ $87 = ($86|0)<(0);
+ $88 = $9;
+ if (!($87)) {
+ $130 = ($88|0)<(32);
+ if ($130) {
+ $131 = $13;
+ $132 = $9;
+ $133 = $131 >> $132;
+ $3 = $133;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ } else {
+ $3 = 0;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ }
+ }
+ $89 = (0 - ($88))|0;
+ $90 = -2147483648 >> $89;
+ $91 = $9;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $94 = ($90|0)>($93|0);
+ $95 = $13;
+ $96 = $9;
+ $97 = (0 - ($96))|0;
+ do {
+ if ($94) {
+ $98 = -2147483648 >> $97;
+ $99 = ($95|0)>($98|0);
+ if ($99) {
+ $100 = $9;
+ $101 = (0 - ($100))|0;
+ $102 = -2147483648 >> $101;
+ $129 = $102;
+ break;
+ }
+ $103 = $13;
+ $104 = $9;
+ $105 = (0 - ($104))|0;
+ $106 = 2147483647 >> $105;
+ $107 = ($103|0)<($106|0);
+ if ($107) {
+ $108 = $9;
+ $109 = (0 - ($108))|0;
+ $110 = 2147483647 >> $109;
+ $129 = $110;
+ break;
+ } else {
+ $111 = $13;
+ $129 = $111;
+ break;
+ }
+ } else {
+ $112 = 2147483647 >> $97;
+ $113 = ($95|0)>($112|0);
+ if ($113) {
+ $114 = $9;
+ $115 = (0 - ($114))|0;
+ $116 = 2147483647 >> $115;
+ $129 = $116;
+ break;
+ }
+ $117 = $13;
+ $118 = $9;
+ $119 = (0 - ($118))|0;
+ $120 = -2147483648 >> $119;
+ $121 = ($117|0)<($120|0);
+ if ($121) {
+ $122 = $9;
+ $123 = (0 - ($122))|0;
+ $124 = -2147483648 >> $123;
+ $129 = $124;
+ break;
+ } else {
+ $125 = $13;
+ $129 = $125;
+ break;
+ }
+ }
+ } while(0);
+ $126 = $9;
+ $127 = (0 - ($126))|0;
+ $128 = $129 << $127;
+ $3 = $128;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+}
+function _silk_CLZ32_420($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_NSQ_del_dec_c($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ var $$alloca_mul = 0, $$alloca_mul37 = 0, $$alloca_mul39 = 0, $$alloca_mul41 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0;
+ var $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0;
+ var $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0;
+ var $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0;
+ var $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0;
+ var $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0;
+ var $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0;
+ var $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0;
+ var $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0;
+ var $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0;
+ var $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0;
+ var $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0;
+ var $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0;
+ var $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0;
+ var $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0;
+ var $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0;
+ var $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0;
+ var $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0;
+ var $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0;
+ var $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0;
+ var $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0;
+ var $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0;
+ var $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0;
+ var $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0;
+ var $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0;
+ var $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0;
+ var $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0;
+ var $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0;
+ var $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0;
+ var $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0;
+ var $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $70 = 0;
+ var $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0;
+ var $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0;
+ var $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0;
+ var $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0;
+ var $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0;
+ var $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0;
+ var $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0;
+ var $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 272|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(272|0);
+ $38 = sp + 172|0;
+ $50 = sp;
+ $15 = $0;
+ $16 = $1;
+ $17 = $2;
+ $18 = $3;
+ $19 = $4;
+ $20 = $5;
+ $21 = $6;
+ $22 = $7;
+ $23 = $8;
+ $24 = $9;
+ $25 = $10;
+ $26 = $11;
+ $27 = $12;
+ $28 = $13;
+ $29 = $14;
+ $51 = $16;
+ $52 = ((($51)) + 4356|0);
+ $53 = HEAP32[$52>>2]|0;
+ $32 = $53;
+ $54 = $15;
+ $55 = ((($54)) + 4652|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = (_llvm_stacksave()|0);
+ $49 = $57;
+ $$alloca_mul = ($56*1168)|0;
+ $58 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $59 = $15;
+ $60 = ((($59)) + 4652|0);
+ $61 = HEAP32[$60>>2]|0;
+ $62 = ($61*1168)|0;
+ _memset(($58|0),0,($62|0))|0;
+ $31 = 0;
+ while(1) {
+ $63 = $31;
+ $64 = $15;
+ $65 = ((($64)) + 4652|0);
+ $66 = HEAP32[$65>>2]|0;
+ $67 = ($63|0)<($66|0);
+ if (!($67)) {
+ break;
+ }
+ $68 = $31;
+ $69 = (($58) + (($68*1168)|0)|0);
+ $48 = $69;
+ $70 = $31;
+ $71 = $17;
+ $72 = ((($71)) + 34|0);
+ $73 = HEAP8[$72>>0]|0;
+ $74 = $73 << 24 >> 24;
+ $75 = (($70) + ($74))|0;
+ $76 = $75 & 3;
+ $77 = $48;
+ $78 = ((($77)) + 1156|0);
+ HEAP32[$78>>2] = $76;
+ $79 = $48;
+ $80 = ((($79)) + 1156|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = $48;
+ $83 = ((($82)) + 1160|0);
+ HEAP32[$83>>2] = $81;
+ $84 = $48;
+ $85 = ((($84)) + 1164|0);
+ HEAP32[$85>>2] = 0;
+ $86 = $16;
+ $87 = ((($86)) + 4352|0);
+ $88 = HEAP32[$87>>2]|0;
+ $89 = $48;
+ $90 = ((($89)) + 1152|0);
+ HEAP32[$90>>2] = $88;
+ $91 = $16;
+ $92 = ((($91)) + 1280|0);
+ $93 = $15;
+ $94 = ((($93)) + 4616|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = (($95) - 1)|0;
+ $97 = (($92) + ($96<<2)|0);
+ $98 = HEAP32[$97>>2]|0;
+ $99 = $48;
+ $100 = ((($99)) + 960|0);
+ HEAP32[$100>>2] = $98;
+ $101 = $48;
+ $102 = $16;
+ $103 = ((($102)) + 3840|0);
+ dest=$101; src=$103; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $104 = $48;
+ $105 = ((($104)) + 1088|0);
+ $106 = $16;
+ $107 = ((($106)) + 4288|0);
+ dest=$105; src=$107; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $108 = $31;
+ $109 = (($108) + 1)|0;
+ $31 = $109;
+ }
+ $110 = $17;
+ $111 = ((($110)) + 29|0);
+ $112 = HEAP8[$111>>0]|0;
+ $113 = $112 << 24 >> 24;
+ $114 = $113 >> 1;
+ $115 = (24998 + ($114<<2)|0);
+ $116 = $17;
+ $117 = ((($116)) + 30|0);
+ $118 = HEAP8[$117>>0]|0;
+ $119 = $118 << 24 >> 24;
+ $120 = (($115) + ($119<<1)|0);
+ $121 = HEAP16[$120>>1]|0;
+ $122 = $121 << 16 >> 16;
+ $45 = $122;
+ HEAP32[$38>>2] = 0;
+ $123 = $15;
+ $124 = ((($123)) + 4612|0);
+ $125 = HEAP32[$124>>2]|0;
+ $126 = (_silk_min_int_423(32,$125)|0);
+ $39 = $126;
+ $127 = $17;
+ $128 = ((($127)) + 29|0);
+ $129 = HEAP8[$128>>0]|0;
+ $130 = $129 << 24 >> 24;
+ $131 = ($130|0)==(2);
+ L5: do {
+ if ($131) {
+ $31 = 0;
+ while(1) {
+ $132 = $31;
+ $133 = $15;
+ $134 = ((($133)) + 4604|0);
+ $135 = HEAP32[$134>>2]|0;
+ $136 = ($132|0)<($135|0);
+ if (!($136)) {
+ break L5;
+ }
+ $137 = $39;
+ $138 = $27;
+ $139 = $31;
+ $140 = (($138) + ($139<<2)|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = (($141) - 2)|0;
+ $143 = (($142) - 1)|0;
+ $144 = (_silk_min_int_423($137,$143)|0);
+ $39 = $144;
+ $145 = $31;
+ $146 = (($145) + 1)|0;
+ $31 = $146;
+ }
+ } else {
+ $147 = $32;
+ $148 = ($147|0)>(0);
+ if ($148) {
+ $149 = $39;
+ $150 = $32;
+ $151 = (($150) - 2)|0;
+ $152 = (($151) - 1)|0;
+ $153 = (_silk_min_int_423($149,$152)|0);
+ $39 = $153;
+ }
+ }
+ } while(0);
+ $154 = $17;
+ $155 = ((($154)) + 31|0);
+ $156 = HEAP8[$155>>0]|0;
+ $157 = $156 << 24 >> 24;
+ $158 = ($157|0)==(4);
+ if ($158) {
+ $34 = 0;
+ } else {
+ $34 = 1;
+ }
+ $159 = $15;
+ $160 = ((($159)) + 4616|0);
+ $161 = HEAP32[$160>>2]|0;
+ $162 = $15;
+ $163 = ((($162)) + 4608|0);
+ $164 = HEAP32[$163>>2]|0;
+ $165 = (($161) + ($164))|0;
+ $$alloca_mul37 = $165<<2;
+ $166 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul37)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul37)|0)+15)&-16)|0);;
+ $167 = $15;
+ $168 = ((($167)) + 4616|0);
+ $169 = HEAP32[$168>>2]|0;
+ $170 = $15;
+ $171 = ((($170)) + 4608|0);
+ $172 = HEAP32[$171>>2]|0;
+ $173 = (($169) + ($172))|0;
+ $$alloca_mul39 = $173<<1;
+ $174 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul39)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul39)|0)+15)&-16)|0);;
+ $175 = $15;
+ $176 = ((($175)) + 4612|0);
+ $177 = HEAP32[$176>>2]|0;
+ $$alloca_mul41 = $177<<2;
+ $178 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul41)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul41)|0)+15)&-16)|0);;
+ $179 = $16;
+ $180 = $15;
+ $181 = ((($180)) + 4616|0);
+ $182 = HEAP32[$181>>2]|0;
+ $183 = (($179) + ($182<<1)|0);
+ $43 = $183;
+ $184 = $15;
+ $185 = ((($184)) + 4616|0);
+ $186 = HEAP32[$185>>2]|0;
+ $187 = $16;
+ $188 = ((($187)) + 4364|0);
+ HEAP32[$188>>2] = $186;
+ $189 = $15;
+ $190 = ((($189)) + 4616|0);
+ $191 = HEAP32[$190>>2]|0;
+ $192 = $16;
+ $193 = ((($192)) + 4360|0);
+ HEAP32[$193>>2] = $191;
+ $36 = 0;
+ $31 = 0;
+ while(1) {
+ $194 = $31;
+ $195 = $15;
+ $196 = ((($195)) + 4604|0);
+ $197 = HEAP32[$196>>2]|0;
+ $198 = ($194|0)<($197|0);
+ if (!($198)) {
+ break;
+ }
+ $199 = $20;
+ $200 = $31;
+ $201 = $200 >> 1;
+ $202 = $34;
+ $203 = (1 - ($202))|0;
+ $204 = $201 | $203;
+ $205 = $204<<4;
+ $206 = (($199) + ($205<<1)|0);
+ $40 = $206;
+ $207 = $21;
+ $208 = $31;
+ $209 = ($208*5)|0;
+ $210 = (($207) + ($209<<1)|0);
+ $41 = $210;
+ $211 = $22;
+ $212 = $31;
+ $213 = $212<<4;
+ $214 = (($211) + ($213<<1)|0);
+ $42 = $214;
+ $215 = $23;
+ $216 = $31;
+ $217 = (($215) + ($216<<2)|0);
+ $218 = HEAP32[$217>>2]|0;
+ $219 = $218 >> 2;
+ $44 = $219;
+ $220 = $23;
+ $221 = $31;
+ $222 = (($220) + ($221<<2)|0);
+ $223 = HEAP32[$222>>2]|0;
+ $224 = $223 >> 1;
+ $225 = $224 << 16;
+ $226 = $44;
+ $227 = $226 | $225;
+ $44 = $227;
+ $228 = $16;
+ $229 = ((($228)) + 4376|0);
+ HEAP32[$229>>2] = 0;
+ $230 = $17;
+ $231 = ((($230)) + 29|0);
+ $232 = HEAP8[$231>>0]|0;
+ $233 = $232 << 24 >> 24;
+ $234 = ($233|0)==(2);
+ if ($234) {
+ $235 = $27;
+ $236 = $31;
+ $237 = (($235) + ($236<<2)|0);
+ $238 = HEAP32[$237>>2]|0;
+ $32 = $238;
+ $239 = $31;
+ $240 = $34;
+ $241 = $240 << 1;
+ $242 = (3 - ($241))|0;
+ $243 = $239 & $242;
+ $244 = ($243|0)==(0);
+ if ($244) {
+ $245 = $31;
+ $246 = ($245|0)==(2);
+ if ($246) {
+ $247 = ((($58)) + 1164|0);
+ $248 = HEAP32[$247>>2]|0;
+ $46 = $248;
+ $35 = 0;
+ $30 = 1;
+ while(1) {
+ $249 = $30;
+ $250 = $15;
+ $251 = ((($250)) + 4652|0);
+ $252 = HEAP32[$251>>2]|0;
+ $253 = ($249|0)<($252|0);
+ if (!($253)) {
+ break;
+ }
+ $254 = $30;
+ $255 = (($58) + (($254*1168)|0)|0);
+ $256 = ((($255)) + 1164|0);
+ $257 = HEAP32[$256>>2]|0;
+ $258 = $46;
+ $259 = ($257|0)<($258|0);
+ if ($259) {
+ $260 = $30;
+ $261 = (($58) + (($260*1168)|0)|0);
+ $262 = ((($261)) + 1164|0);
+ $263 = HEAP32[$262>>2]|0;
+ $46 = $263;
+ $264 = $30;
+ $35 = $264;
+ }
+ $265 = $30;
+ $266 = (($265) + 1)|0;
+ $30 = $266;
+ }
+ $30 = 0;
+ while(1) {
+ $267 = $30;
+ $268 = $15;
+ $269 = ((($268)) + 4652|0);
+ $270 = HEAP32[$269>>2]|0;
+ $271 = ($267|0)<($270|0);
+ if (!($271)) {
+ break;
+ }
+ $272 = $30;
+ $273 = $35;
+ $274 = ($272|0)!=($273|0);
+ if ($274) {
+ $275 = $30;
+ $276 = (($58) + (($275*1168)|0)|0);
+ $277 = ((($276)) + 1164|0);
+ $278 = HEAP32[$277>>2]|0;
+ $279 = (($278) + 134217727)|0;
+ HEAP32[$277>>2] = $279;
+ }
+ $280 = $30;
+ $281 = (($280) + 1)|0;
+ $30 = $281;
+ }
+ $282 = $35;
+ $283 = (($58) + (($282*1168)|0)|0);
+ $48 = $283;
+ $284 = HEAP32[$38>>2]|0;
+ $285 = $39;
+ $286 = (($284) + ($285))|0;
+ $37 = $286;
+ $30 = 0;
+ while(1) {
+ $287 = $30;
+ $288 = $39;
+ $289 = ($287|0)<($288|0);
+ if (!($289)) {
+ break;
+ }
+ $290 = $37;
+ $291 = (($290) - 1)|0;
+ $292 = $291 & 31;
+ $37 = $292;
+ $293 = $48;
+ $294 = ((($293)) + 576|0);
+ $295 = $37;
+ $296 = (($294) + ($295<<2)|0);
+ $297 = HEAP32[$296>>2]|0;
+ $298 = $297 >> 9;
+ $299 = (($298) + 1)|0;
+ $300 = $299 >> 1;
+ $301 = $300&255;
+ $302 = $19;
+ $303 = $30;
+ $304 = $39;
+ $305 = (($303) - ($304))|0;
+ $306 = (($302) + ($305)|0);
+ HEAP8[$306>>0] = $301;
+ $307 = $48;
+ $308 = ((($307)) + 704|0);
+ $309 = $37;
+ $310 = (($308) + ($309<<2)|0);
+ $311 = HEAP32[$310>>2]|0;
+ $312 = $311 >> 16;
+ $313 = $26;
+ $314 = ((($313)) + 4|0);
+ $315 = HEAP32[$314>>2]|0;
+ $316 = $315&65535;
+ $317 = $316 << 16 >> 16;
+ $318 = Math_imul($312, $317)|0;
+ $319 = $48;
+ $320 = ((($319)) + 704|0);
+ $321 = $37;
+ $322 = (($320) + ($321<<2)|0);
+ $323 = HEAP32[$322>>2]|0;
+ $324 = $323 & 65535;
+ $325 = $26;
+ $326 = ((($325)) + 4|0);
+ $327 = HEAP32[$326>>2]|0;
+ $328 = $327&65535;
+ $329 = $328 << 16 >> 16;
+ $330 = Math_imul($324, $329)|0;
+ $331 = $330 >> 16;
+ $332 = (($318) + ($331))|0;
+ $333 = $48;
+ $334 = ((($333)) + 704|0);
+ $335 = $37;
+ $336 = (($334) + ($335<<2)|0);
+ $337 = HEAP32[$336>>2]|0;
+ $338 = $26;
+ $339 = ((($338)) + 4|0);
+ $340 = HEAP32[$339>>2]|0;
+ $341 = $340 >> 15;
+ $342 = (($341) + 1)|0;
+ $343 = $342 >> 1;
+ $344 = Math_imul($337, $343)|0;
+ $345 = (($332) + ($344))|0;
+ $346 = $345 >> 13;
+ $347 = (($346) + 1)|0;
+ $348 = $347 >> 1;
+ $349 = ($348|0)>(32767);
+ if ($349) {
+ $436 = 32767;
+ } else {
+ $350 = $48;
+ $351 = ((($350)) + 704|0);
+ $352 = $37;
+ $353 = (($351) + ($352<<2)|0);
+ $354 = HEAP32[$353>>2]|0;
+ $355 = $354 >> 16;
+ $356 = $26;
+ $357 = ((($356)) + 4|0);
+ $358 = HEAP32[$357>>2]|0;
+ $359 = $358&65535;
+ $360 = $359 << 16 >> 16;
+ $361 = Math_imul($355, $360)|0;
+ $362 = $48;
+ $363 = ((($362)) + 704|0);
+ $364 = $37;
+ $365 = (($363) + ($364<<2)|0);
+ $366 = HEAP32[$365>>2]|0;
+ $367 = $366 & 65535;
+ $368 = $26;
+ $369 = ((($368)) + 4|0);
+ $370 = HEAP32[$369>>2]|0;
+ $371 = $370&65535;
+ $372 = $371 << 16 >> 16;
+ $373 = Math_imul($367, $372)|0;
+ $374 = $373 >> 16;
+ $375 = (($361) + ($374))|0;
+ $376 = $48;
+ $377 = ((($376)) + 704|0);
+ $378 = $37;
+ $379 = (($377) + ($378<<2)|0);
+ $380 = HEAP32[$379>>2]|0;
+ $381 = $26;
+ $382 = ((($381)) + 4|0);
+ $383 = HEAP32[$382>>2]|0;
+ $384 = $383 >> 15;
+ $385 = (($384) + 1)|0;
+ $386 = $385 >> 1;
+ $387 = Math_imul($380, $386)|0;
+ $388 = (($375) + ($387))|0;
+ $389 = $388 >> 13;
+ $390 = (($389) + 1)|0;
+ $391 = $390 >> 1;
+ $392 = ($391|0)<(-32768);
+ if ($392) {
+ $436 = -32768;
+ } else {
+ $393 = $48;
+ $394 = ((($393)) + 704|0);
+ $395 = $37;
+ $396 = (($394) + ($395<<2)|0);
+ $397 = HEAP32[$396>>2]|0;
+ $398 = $397 >> 16;
+ $399 = $26;
+ $400 = ((($399)) + 4|0);
+ $401 = HEAP32[$400>>2]|0;
+ $402 = $401&65535;
+ $403 = $402 << 16 >> 16;
+ $404 = Math_imul($398, $403)|0;
+ $405 = $48;
+ $406 = ((($405)) + 704|0);
+ $407 = $37;
+ $408 = (($406) + ($407<<2)|0);
+ $409 = HEAP32[$408>>2]|0;
+ $410 = $409 & 65535;
+ $411 = $26;
+ $412 = ((($411)) + 4|0);
+ $413 = HEAP32[$412>>2]|0;
+ $414 = $413&65535;
+ $415 = $414 << 16 >> 16;
+ $416 = Math_imul($410, $415)|0;
+ $417 = $416 >> 16;
+ $418 = (($404) + ($417))|0;
+ $419 = $48;
+ $420 = ((($419)) + 704|0);
+ $421 = $37;
+ $422 = (($420) + ($421<<2)|0);
+ $423 = HEAP32[$422>>2]|0;
+ $424 = $26;
+ $425 = ((($424)) + 4|0);
+ $426 = HEAP32[$425>>2]|0;
+ $427 = $426 >> 15;
+ $428 = (($427) + 1)|0;
+ $429 = $428 >> 1;
+ $430 = Math_imul($423, $429)|0;
+ $431 = (($418) + ($430))|0;
+ $432 = $431 >> 13;
+ $433 = (($432) + 1)|0;
+ $434 = $433 >> 1;
+ $436 = $434;
+ }
+ }
+ $435 = $436&65535;
+ $437 = $43;
+ $438 = $30;
+ $439 = $39;
+ $440 = (($438) - ($439))|0;
+ $441 = (($437) + ($440<<1)|0);
+ HEAP16[$441>>1] = $435;
+ $442 = $48;
+ $443 = ((($442)) + 960|0);
+ $444 = $37;
+ $445 = (($443) + ($444<<2)|0);
+ $446 = HEAP32[$445>>2]|0;
+ $447 = $16;
+ $448 = ((($447)) + 1280|0);
+ $449 = $16;
+ $450 = ((($449)) + 4364|0);
+ $451 = HEAP32[$450>>2]|0;
+ $452 = $39;
+ $453 = (($451) - ($452))|0;
+ $454 = $30;
+ $455 = (($453) + ($454))|0;
+ $456 = (($448) + ($455<<2)|0);
+ HEAP32[$456>>2] = $446;
+ $457 = $30;
+ $458 = (($457) + 1)|0;
+ $30 = $458;
+ }
+ $36 = 0;
+ }
+ $459 = $15;
+ $460 = ((($459)) + 4616|0);
+ $461 = HEAP32[$460>>2]|0;
+ $462 = $32;
+ $463 = (($461) - ($462))|0;
+ $464 = $15;
+ $465 = ((($464)) + 4664|0);
+ $466 = HEAP32[$465>>2]|0;
+ $467 = (($463) - ($466))|0;
+ $468 = (($467) - 2)|0;
+ $33 = $468;
+ $469 = $33;
+ $470 = (($174) + ($469<<1)|0);
+ $471 = $16;
+ $472 = $33;
+ $473 = $31;
+ $474 = $15;
+ $475 = ((($474)) + 4612|0);
+ $476 = HEAP32[$475>>2]|0;
+ $477 = Math_imul($473, $476)|0;
+ $478 = (($472) + ($477))|0;
+ $479 = (($471) + ($478<<1)|0);
+ $480 = $40;
+ $481 = $15;
+ $482 = ((($481)) + 4616|0);
+ $483 = HEAP32[$482>>2]|0;
+ $484 = $33;
+ $485 = (($483) - ($484))|0;
+ $486 = $15;
+ $487 = ((($486)) + 4664|0);
+ $488 = HEAP32[$487>>2]|0;
+ $489 = $15;
+ $490 = ((($489)) + 5124|0);
+ $491 = HEAP32[$490>>2]|0;
+ _silk_LPC_analysis_filter($470,$479,$480,$485,$488,$491);
+ $492 = $15;
+ $493 = ((($492)) + 4616|0);
+ $494 = HEAP32[$493>>2]|0;
+ $495 = $16;
+ $496 = ((($495)) + 4360|0);
+ HEAP32[$496>>2] = $494;
+ $497 = $16;
+ $498 = ((($497)) + 4376|0);
+ HEAP32[$498>>2] = 1;
+ }
+ }
+ $499 = $15;
+ $500 = $16;
+ $501 = $18;
+ $502 = $31;
+ $503 = $15;
+ $504 = ((($503)) + 4652|0);
+ $505 = HEAP32[$504>>2]|0;
+ $506 = $29;
+ $507 = $26;
+ $508 = $27;
+ $509 = $17;
+ $510 = ((($509)) + 29|0);
+ $511 = HEAP8[$510>>0]|0;
+ $512 = $511 << 24 >> 24;
+ $513 = $39;
+ _silk_nsq_del_dec_scale_states($499,$500,$58,$501,$178,$174,$166,$502,$505,$506,$507,$508,$512,$513);
+ $514 = $16;
+ $515 = $17;
+ $516 = ((($515)) + 29|0);
+ $517 = HEAP8[$516>>0]|0;
+ $518 = $517 << 24 >> 24;
+ $519 = $19;
+ $520 = $43;
+ $521 = $40;
+ $522 = $41;
+ $523 = $42;
+ $524 = $32;
+ $525 = $44;
+ $526 = $24;
+ $527 = $31;
+ $528 = (($526) + ($527<<2)|0);
+ $529 = HEAP32[$528>>2]|0;
+ $530 = $25;
+ $531 = $31;
+ $532 = (($530) + ($531<<2)|0);
+ $533 = HEAP32[$532>>2]|0;
+ $534 = $26;
+ $535 = $31;
+ $536 = (($534) + ($535<<2)|0);
+ $537 = HEAP32[$536>>2]|0;
+ $538 = $28;
+ $539 = $45;
+ $540 = $15;
+ $541 = ((($540)) + 4612|0);
+ $542 = HEAP32[$541>>2]|0;
+ $543 = $36;
+ $544 = (($543) + 1)|0;
+ $36 = $544;
+ $545 = $15;
+ $546 = ((($545)) + 4660|0);
+ $547 = HEAP32[$546>>2]|0;
+ $548 = $15;
+ $549 = ((($548)) + 4664|0);
+ $550 = HEAP32[$549>>2]|0;
+ $551 = $15;
+ $552 = ((($551)) + 4704|0);
+ $553 = HEAP32[$552>>2]|0;
+ $554 = $15;
+ $555 = ((($554)) + 4652|0);
+ $556 = HEAP32[$555>>2]|0;
+ $557 = $39;
+ _silk_noise_shape_quantizer_del_dec($514,$58,$518,$178,$519,$520,$166,$50,$521,$522,$523,$524,$525,$529,$533,$537,$538,$539,$542,$543,$547,$550,$553,$556,$38,$557);
+ $558 = $15;
+ $559 = ((($558)) + 4612|0);
+ $560 = HEAP32[$559>>2]|0;
+ $561 = $18;
+ $562 = (($561) + ($560<<2)|0);
+ $18 = $562;
+ $563 = $15;
+ $564 = ((($563)) + 4612|0);
+ $565 = HEAP32[$564>>2]|0;
+ $566 = $19;
+ $567 = (($566) + ($565)|0);
+ $19 = $567;
+ $568 = $15;
+ $569 = ((($568)) + 4612|0);
+ $570 = HEAP32[$569>>2]|0;
+ $571 = $43;
+ $572 = (($571) + ($570<<1)|0);
+ $43 = $572;
+ $573 = $31;
+ $574 = (($573) + 1)|0;
+ $31 = $574;
+ }
+ $575 = ((($58)) + 1164|0);
+ $576 = HEAP32[$575>>2]|0;
+ $46 = $576;
+ $35 = 0;
+ $31 = 1;
+ while(1) {
+ $577 = $31;
+ $578 = $15;
+ $579 = ((($578)) + 4652|0);
+ $580 = HEAP32[$579>>2]|0;
+ $581 = ($577|0)<($580|0);
+ if (!($581)) {
+ break;
+ }
+ $582 = $31;
+ $583 = (($58) + (($582*1168)|0)|0);
+ $584 = ((($583)) + 1164|0);
+ $585 = HEAP32[$584>>2]|0;
+ $586 = $46;
+ $587 = ($585|0)<($586|0);
+ if ($587) {
+ $588 = $31;
+ $589 = (($58) + (($588*1168)|0)|0);
+ $590 = ((($589)) + 1164|0);
+ $591 = HEAP32[$590>>2]|0;
+ $46 = $591;
+ $592 = $31;
+ $35 = $592;
+ }
+ $593 = $31;
+ $594 = (($593) + 1)|0;
+ $31 = $594;
+ }
+ $595 = $35;
+ $596 = (($58) + (($595*1168)|0)|0);
+ $48 = $596;
+ $597 = $48;
+ $598 = ((($597)) + 1160|0);
+ $599 = HEAP32[$598>>2]|0;
+ $600 = $599&255;
+ $601 = $17;
+ $602 = ((($601)) + 34|0);
+ HEAP8[$602>>0] = $600;
+ $603 = HEAP32[$38>>2]|0;
+ $604 = $39;
+ $605 = (($603) + ($604))|0;
+ $37 = $605;
+ $606 = $26;
+ $607 = $15;
+ $608 = ((($607)) + 4604|0);
+ $609 = HEAP32[$608>>2]|0;
+ $610 = (($609) - 1)|0;
+ $611 = (($606) + ($610<<2)|0);
+ $612 = HEAP32[$611>>2]|0;
+ $613 = $612 >> 6;
+ $47 = $613;
+ $30 = 0;
+ while(1) {
+ $614 = $30;
+ $615 = $39;
+ $616 = ($614|0)<($615|0);
+ if (!($616)) {
+ break;
+ }
+ $617 = $37;
+ $618 = (($617) - 1)|0;
+ $619 = $618 & 31;
+ $37 = $619;
+ $620 = $48;
+ $621 = ((($620)) + 576|0);
+ $622 = $37;
+ $623 = (($621) + ($622<<2)|0);
+ $624 = HEAP32[$623>>2]|0;
+ $625 = $624 >> 9;
+ $626 = (($625) + 1)|0;
+ $627 = $626 >> 1;
+ $628 = $627&255;
+ $629 = $19;
+ $630 = $30;
+ $631 = $39;
+ $632 = (($630) - ($631))|0;
+ $633 = (($629) + ($632)|0);
+ HEAP8[$633>>0] = $628;
+ $634 = $48;
+ $635 = ((($634)) + 704|0);
+ $636 = $37;
+ $637 = (($635) + ($636<<2)|0);
+ $638 = HEAP32[$637>>2]|0;
+ $639 = $638 >> 16;
+ $640 = $47;
+ $641 = $640&65535;
+ $642 = $641 << 16 >> 16;
+ $643 = Math_imul($639, $642)|0;
+ $644 = $48;
+ $645 = ((($644)) + 704|0);
+ $646 = $37;
+ $647 = (($645) + ($646<<2)|0);
+ $648 = HEAP32[$647>>2]|0;
+ $649 = $648 & 65535;
+ $650 = $47;
+ $651 = $650&65535;
+ $652 = $651 << 16 >> 16;
+ $653 = Math_imul($649, $652)|0;
+ $654 = $653 >> 16;
+ $655 = (($643) + ($654))|0;
+ $656 = $48;
+ $657 = ((($656)) + 704|0);
+ $658 = $37;
+ $659 = (($657) + ($658<<2)|0);
+ $660 = HEAP32[$659>>2]|0;
+ $661 = $47;
+ $662 = $661 >> 15;
+ $663 = (($662) + 1)|0;
+ $664 = $663 >> 1;
+ $665 = Math_imul($660, $664)|0;
+ $666 = (($655) + ($665))|0;
+ $667 = $666 >> 7;
+ $668 = (($667) + 1)|0;
+ $669 = $668 >> 1;
+ $670 = ($669|0)>(32767);
+ if ($670) {
+ $745 = 32767;
+ } else {
+ $671 = $48;
+ $672 = ((($671)) + 704|0);
+ $673 = $37;
+ $674 = (($672) + ($673<<2)|0);
+ $675 = HEAP32[$674>>2]|0;
+ $676 = $675 >> 16;
+ $677 = $47;
+ $678 = $677&65535;
+ $679 = $678 << 16 >> 16;
+ $680 = Math_imul($676, $679)|0;
+ $681 = $48;
+ $682 = ((($681)) + 704|0);
+ $683 = $37;
+ $684 = (($682) + ($683<<2)|0);
+ $685 = HEAP32[$684>>2]|0;
+ $686 = $685 & 65535;
+ $687 = $47;
+ $688 = $687&65535;
+ $689 = $688 << 16 >> 16;
+ $690 = Math_imul($686, $689)|0;
+ $691 = $690 >> 16;
+ $692 = (($680) + ($691))|0;
+ $693 = $48;
+ $694 = ((($693)) + 704|0);
+ $695 = $37;
+ $696 = (($694) + ($695<<2)|0);
+ $697 = HEAP32[$696>>2]|0;
+ $698 = $47;
+ $699 = $698 >> 15;
+ $700 = (($699) + 1)|0;
+ $701 = $700 >> 1;
+ $702 = Math_imul($697, $701)|0;
+ $703 = (($692) + ($702))|0;
+ $704 = $703 >> 7;
+ $705 = (($704) + 1)|0;
+ $706 = $705 >> 1;
+ $707 = ($706|0)<(-32768);
+ if ($707) {
+ $745 = -32768;
+ } else {
+ $708 = $48;
+ $709 = ((($708)) + 704|0);
+ $710 = $37;
+ $711 = (($709) + ($710<<2)|0);
+ $712 = HEAP32[$711>>2]|0;
+ $713 = $712 >> 16;
+ $714 = $47;
+ $715 = $714&65535;
+ $716 = $715 << 16 >> 16;
+ $717 = Math_imul($713, $716)|0;
+ $718 = $48;
+ $719 = ((($718)) + 704|0);
+ $720 = $37;
+ $721 = (($719) + ($720<<2)|0);
+ $722 = HEAP32[$721>>2]|0;
+ $723 = $722 & 65535;
+ $724 = $47;
+ $725 = $724&65535;
+ $726 = $725 << 16 >> 16;
+ $727 = Math_imul($723, $726)|0;
+ $728 = $727 >> 16;
+ $729 = (($717) + ($728))|0;
+ $730 = $48;
+ $731 = ((($730)) + 704|0);
+ $732 = $37;
+ $733 = (($731) + ($732<<2)|0);
+ $734 = HEAP32[$733>>2]|0;
+ $735 = $47;
+ $736 = $735 >> 15;
+ $737 = (($736) + 1)|0;
+ $738 = $737 >> 1;
+ $739 = Math_imul($734, $738)|0;
+ $740 = (($729) + ($739))|0;
+ $741 = $740 >> 7;
+ $742 = (($741) + 1)|0;
+ $743 = $742 >> 1;
+ $745 = $743;
+ }
+ }
+ $744 = $745&65535;
+ $746 = $43;
+ $747 = $30;
+ $748 = $39;
+ $749 = (($747) - ($748))|0;
+ $750 = (($746) + ($749<<1)|0);
+ HEAP16[$750>>1] = $744;
+ $751 = $48;
+ $752 = ((($751)) + 960|0);
+ $753 = $37;
+ $754 = (($752) + ($753<<2)|0);
+ $755 = HEAP32[$754>>2]|0;
+ $756 = $16;
+ $757 = ((($756)) + 1280|0);
+ $758 = $16;
+ $759 = ((($758)) + 4364|0);
+ $760 = HEAP32[$759>>2]|0;
+ $761 = $39;
+ $762 = (($760) - ($761))|0;
+ $763 = $30;
+ $764 = (($762) + ($763))|0;
+ $765 = (($757) + ($764<<2)|0);
+ HEAP32[$765>>2] = $755;
+ $766 = $30;
+ $767 = (($766) + 1)|0;
+ $30 = $767;
+ }
+ $768 = $16;
+ $769 = ((($768)) + 3840|0);
+ $770 = $48;
+ $771 = $15;
+ $772 = ((($771)) + 4612|0);
+ $773 = HEAP32[$772>>2]|0;
+ $774 = (($770) + ($773<<2)|0);
+ dest=$769; src=$774; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $775 = $16;
+ $776 = ((($775)) + 4288|0);
+ $777 = $48;
+ $778 = ((($777)) + 1088|0);
+ dest=$776; src=$778; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $779 = $48;
+ $780 = ((($779)) + 1152|0);
+ $781 = HEAP32[$780>>2]|0;
+ $782 = $16;
+ $783 = ((($782)) + 4352|0);
+ HEAP32[$783>>2] = $781;
+ $784 = $27;
+ $785 = $15;
+ $786 = ((($785)) + 4604|0);
+ $787 = HEAP32[$786>>2]|0;
+ $788 = (($787) - 1)|0;
+ $789 = (($784) + ($788<<2)|0);
+ $790 = HEAP32[$789>>2]|0;
+ $791 = $16;
+ $792 = ((($791)) + 4356|0);
+ HEAP32[$792>>2] = $790;
+ $793 = $16;
+ $794 = $16;
+ $795 = $15;
+ $796 = ((($795)) + 4608|0);
+ $797 = HEAP32[$796>>2]|0;
+ $798 = (($794) + ($797<<1)|0);
+ $799 = $15;
+ $800 = ((($799)) + 4616|0);
+ $801 = HEAP32[$800>>2]|0;
+ $802 = $801<<1;
+ _memmove(($793|0),($798|0),($802|0))|0;
+ $803 = $16;
+ $804 = ((($803)) + 1280|0);
+ $805 = $16;
+ $806 = ((($805)) + 1280|0);
+ $807 = $15;
+ $808 = ((($807)) + 4608|0);
+ $809 = HEAP32[$808>>2]|0;
+ $810 = (($806) + ($809<<2)|0);
+ $811 = $15;
+ $812 = ((($811)) + 4616|0);
+ $813 = HEAP32[$812>>2]|0;
+ $814 = $813<<2;
+ _memmove(($804|0),($810|0),($814|0))|0;
+ $815 = $49;
+ _llvm_stackrestore(($815|0));
+ STACKTOP = sp;return;
+}
+function _silk_min_int_423($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_nsq_del_dec_scale_states($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ var $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0;
+ var $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0;
+ var $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0;
+ var $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0;
+ var $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0;
+ var $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0;
+ var $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0;
+ var $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0;
+ var $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0;
+ var $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0;
+ var $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0;
+ var $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0;
+ var $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0;
+ var $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0;
+ var $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0;
+ var $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0;
+ var $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0;
+ var $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0;
+ var $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0;
+ var $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0;
+ var $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0;
+ var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 96|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(96|0);
+ $14 = $0;
+ $15 = $1;
+ $16 = $2;
+ $17 = $3;
+ $18 = $4;
+ $19 = $5;
+ $20 = $6;
+ $21 = $7;
+ $22 = $8;
+ $23 = $9;
+ $24 = $10;
+ $25 = $11;
+ $26 = $12;
+ $27 = $13;
+ $35 = $25;
+ $36 = $21;
+ $37 = (($35) + ($36<<2)|0);
+ $38 = HEAP32[$37>>2]|0;
+ $30 = $38;
+ $39 = $24;
+ $40 = $21;
+ $41 = (($39) + ($40<<2)|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = ($42|0)>(1);
+ if ($43) {
+ $44 = $24;
+ $45 = $21;
+ $46 = (($44) + ($45<<2)|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = $47;
+ } else {
+ $48 = 1;
+ }
+ $49 = (_silk_INVERSE32_varQ_424($48,47)|0);
+ $32 = $49;
+ $50 = $24;
+ $51 = $21;
+ $52 = (($50) + ($51<<2)|0);
+ $53 = HEAP32[$52>>2]|0;
+ $54 = $15;
+ $55 = ((($54)) + 4372|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = ($53|0)!=($56|0);
+ if ($57) {
+ $58 = $15;
+ $59 = ((($58)) + 4372|0);
+ $60 = HEAP32[$59>>2]|0;
+ $61 = $24;
+ $62 = $21;
+ $63 = (($61) + ($62<<2)|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = (_silk_DIV32_varQ_425($60,$64,16)|0);
+ $31 = $65;
+ } else {
+ $31 = 65536;
+ }
+ $66 = $32;
+ $67 = $66 >> 7;
+ $68 = (($67) + 1)|0;
+ $69 = $68 >> 1;
+ $33 = $69;
+ $28 = 0;
+ while(1) {
+ $70 = $28;
+ $71 = $14;
+ $72 = ((($71)) + 4612|0);
+ $73 = HEAP32[$72>>2]|0;
+ $74 = ($70|0)<($73|0);
+ if (!($74)) {
+ break;
+ }
+ $75 = $17;
+ $76 = $28;
+ $77 = (($75) + ($76<<2)|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = $78 >> 16;
+ $80 = $33;
+ $81 = $80&65535;
+ $82 = $81 << 16 >> 16;
+ $83 = Math_imul($79, $82)|0;
+ $84 = $17;
+ $85 = $28;
+ $86 = (($84) + ($85<<2)|0);
+ $87 = HEAP32[$86>>2]|0;
+ $88 = $87 & 65535;
+ $89 = $33;
+ $90 = $89&65535;
+ $91 = $90 << 16 >> 16;
+ $92 = Math_imul($88, $91)|0;
+ $93 = $92 >> 16;
+ $94 = (($83) + ($93))|0;
+ $95 = $17;
+ $96 = $28;
+ $97 = (($95) + ($96<<2)|0);
+ $98 = HEAP32[$97>>2]|0;
+ $99 = $33;
+ $100 = $99 >> 15;
+ $101 = (($100) + 1)|0;
+ $102 = $101 >> 1;
+ $103 = Math_imul($98, $102)|0;
+ $104 = (($94) + ($103))|0;
+ $105 = $18;
+ $106 = $28;
+ $107 = (($105) + ($106<<2)|0);
+ HEAP32[$107>>2] = $104;
+ $108 = $28;
+ $109 = (($108) + 1)|0;
+ $28 = $109;
+ }
+ $110 = $24;
+ $111 = $21;
+ $112 = (($110) + ($111<<2)|0);
+ $113 = HEAP32[$112>>2]|0;
+ $114 = $15;
+ $115 = ((($114)) + 4372|0);
+ HEAP32[$115>>2] = $113;
+ $116 = $15;
+ $117 = ((($116)) + 4376|0);
+ $118 = HEAP32[$117>>2]|0;
+ $119 = ($118|0)!=(0);
+ L12: do {
+ if ($119) {
+ $120 = $21;
+ $121 = ($120|0)==(0);
+ if ($121) {
+ $122 = $32;
+ $123 = $122 >> 16;
+ $124 = $23;
+ $125 = $124&65535;
+ $126 = $125 << 16 >> 16;
+ $127 = Math_imul($123, $126)|0;
+ $128 = $32;
+ $129 = $128 & 65535;
+ $130 = $23;
+ $131 = $130&65535;
+ $132 = $131 << 16 >> 16;
+ $133 = Math_imul($129, $132)|0;
+ $134 = $133 >> 16;
+ $135 = (($127) + ($134))|0;
+ $136 = $135 << 2;
+ $32 = $136;
+ }
+ $137 = $15;
+ $138 = ((($137)) + 4360|0);
+ $139 = HEAP32[$138>>2]|0;
+ $140 = $30;
+ $141 = (($139) - ($140))|0;
+ $142 = (($141) - 2)|0;
+ $28 = $142;
+ while(1) {
+ $143 = $28;
+ $144 = $15;
+ $145 = ((($144)) + 4360|0);
+ $146 = HEAP32[$145>>2]|0;
+ $147 = ($143|0)<($146|0);
+ if (!($147)) {
+ break L12;
+ }
+ $148 = $32;
+ $149 = $148 >> 16;
+ $150 = $19;
+ $151 = $28;
+ $152 = (($150) + ($151<<1)|0);
+ $153 = HEAP16[$152>>1]|0;
+ $154 = $153 << 16 >> 16;
+ $155 = Math_imul($149, $154)|0;
+ $156 = $32;
+ $157 = $156 & 65535;
+ $158 = $19;
+ $159 = $28;
+ $160 = (($158) + ($159<<1)|0);
+ $161 = HEAP16[$160>>1]|0;
+ $162 = $161 << 16 >> 16;
+ $163 = Math_imul($157, $162)|0;
+ $164 = $163 >> 16;
+ $165 = (($155) + ($164))|0;
+ $166 = $20;
+ $167 = $28;
+ $168 = (($166) + ($167<<2)|0);
+ HEAP32[$168>>2] = $165;
+ $169 = $28;
+ $170 = (($169) + 1)|0;
+ $28 = $170;
+ }
+ }
+ } while(0);
+ $171 = $31;
+ $172 = ($171|0)!=(65536);
+ if (!($172)) {
+ STACKTOP = sp;return;
+ }
+ $173 = $15;
+ $174 = ((($173)) + 4364|0);
+ $175 = HEAP32[$174>>2]|0;
+ $176 = $14;
+ $177 = ((($176)) + 4616|0);
+ $178 = HEAP32[$177>>2]|0;
+ $179 = (($175) - ($178))|0;
+ $28 = $179;
+ while(1) {
+ $180 = $28;
+ $181 = $15;
+ $182 = ((($181)) + 4364|0);
+ $183 = HEAP32[$182>>2]|0;
+ $184 = ($180|0)<($183|0);
+ if (!($184)) {
+ break;
+ }
+ $185 = $31;
+ $186 = $185 >> 16;
+ $187 = $15;
+ $188 = ((($187)) + 1280|0);
+ $189 = $28;
+ $190 = (($188) + ($189<<2)|0);
+ $191 = HEAP32[$190>>2]|0;
+ $192 = $191&65535;
+ $193 = $192 << 16 >> 16;
+ $194 = Math_imul($186, $193)|0;
+ $195 = $31;
+ $196 = $195 & 65535;
+ $197 = $15;
+ $198 = ((($197)) + 1280|0);
+ $199 = $28;
+ $200 = (($198) + ($199<<2)|0);
+ $201 = HEAP32[$200>>2]|0;
+ $202 = $201&65535;
+ $203 = $202 << 16 >> 16;
+ $204 = Math_imul($196, $203)|0;
+ $205 = $204 >> 16;
+ $206 = (($194) + ($205))|0;
+ $207 = $31;
+ $208 = $15;
+ $209 = ((($208)) + 1280|0);
+ $210 = $28;
+ $211 = (($209) + ($210<<2)|0);
+ $212 = HEAP32[$211>>2]|0;
+ $213 = $212 >> 15;
+ $214 = (($213) + 1)|0;
+ $215 = $214 >> 1;
+ $216 = Math_imul($207, $215)|0;
+ $217 = (($206) + ($216))|0;
+ $218 = $15;
+ $219 = ((($218)) + 1280|0);
+ $220 = $28;
+ $221 = (($219) + ($220<<2)|0);
+ HEAP32[$221>>2] = $217;
+ $222 = $28;
+ $223 = (($222) + 1)|0;
+ $28 = $223;
+ }
+ $224 = $26;
+ $225 = ($224|0)==(2);
+ L28: do {
+ if ($225) {
+ $226 = $15;
+ $227 = ((($226)) + 4376|0);
+ $228 = HEAP32[$227>>2]|0;
+ $229 = ($228|0)==(0);
+ if ($229) {
+ $230 = $15;
+ $231 = ((($230)) + 4360|0);
+ $232 = HEAP32[$231>>2]|0;
+ $233 = $30;
+ $234 = (($232) - ($233))|0;
+ $235 = (($234) - 2)|0;
+ $28 = $235;
+ while(1) {
+ $236 = $28;
+ $237 = $15;
+ $238 = ((($237)) + 4360|0);
+ $239 = HEAP32[$238>>2]|0;
+ $240 = $27;
+ $241 = (($239) - ($240))|0;
+ $242 = ($236|0)<($241|0);
+ if (!($242)) {
+ break L28;
+ }
+ $243 = $31;
+ $244 = $243 >> 16;
+ $245 = $20;
+ $246 = $28;
+ $247 = (($245) + ($246<<2)|0);
+ $248 = HEAP32[$247>>2]|0;
+ $249 = $248&65535;
+ $250 = $249 << 16 >> 16;
+ $251 = Math_imul($244, $250)|0;
+ $252 = $31;
+ $253 = $252 & 65535;
+ $254 = $20;
+ $255 = $28;
+ $256 = (($254) + ($255<<2)|0);
+ $257 = HEAP32[$256>>2]|0;
+ $258 = $257&65535;
+ $259 = $258 << 16 >> 16;
+ $260 = Math_imul($253, $259)|0;
+ $261 = $260 >> 16;
+ $262 = (($251) + ($261))|0;
+ $263 = $31;
+ $264 = $20;
+ $265 = $28;
+ $266 = (($264) + ($265<<2)|0);
+ $267 = HEAP32[$266>>2]|0;
+ $268 = $267 >> 15;
+ $269 = (($268) + 1)|0;
+ $270 = $269 >> 1;
+ $271 = Math_imul($263, $270)|0;
+ $272 = (($262) + ($271))|0;
+ $273 = $20;
+ $274 = $28;
+ $275 = (($273) + ($274<<2)|0);
+ HEAP32[$275>>2] = $272;
+ $276 = $28;
+ $277 = (($276) + 1)|0;
+ $28 = $277;
+ }
+ }
+ }
+ } while(0);
+ $29 = 0;
+ while(1) {
+ $278 = $29;
+ $279 = $22;
+ $280 = ($278|0)<($279|0);
+ if (!($280)) {
+ break;
+ }
+ $281 = $16;
+ $282 = $29;
+ $283 = (($281) + (($282*1168)|0)|0);
+ $34 = $283;
+ $284 = $31;
+ $285 = $284 >> 16;
+ $286 = $34;
+ $287 = ((($286)) + 1152|0);
+ $288 = HEAP32[$287>>2]|0;
+ $289 = $288&65535;
+ $290 = $289 << 16 >> 16;
+ $291 = Math_imul($285, $290)|0;
+ $292 = $31;
+ $293 = $292 & 65535;
+ $294 = $34;
+ $295 = ((($294)) + 1152|0);
+ $296 = HEAP32[$295>>2]|0;
+ $297 = $296&65535;
+ $298 = $297 << 16 >> 16;
+ $299 = Math_imul($293, $298)|0;
+ $300 = $299 >> 16;
+ $301 = (($291) + ($300))|0;
+ $302 = $31;
+ $303 = $34;
+ $304 = ((($303)) + 1152|0);
+ $305 = HEAP32[$304>>2]|0;
+ $306 = $305 >> 15;
+ $307 = (($306) + 1)|0;
+ $308 = $307 >> 1;
+ $309 = Math_imul($302, $308)|0;
+ $310 = (($301) + ($309))|0;
+ $311 = $34;
+ $312 = ((($311)) + 1152|0);
+ HEAP32[$312>>2] = $310;
+ $28 = 0;
+ while(1) {
+ $313 = $28;
+ $314 = ($313|0)<(32);
+ if (!($314)) {
+ break;
+ }
+ $315 = $31;
+ $316 = $315 >> 16;
+ $317 = $34;
+ $318 = $28;
+ $319 = (($317) + ($318<<2)|0);
+ $320 = HEAP32[$319>>2]|0;
+ $321 = $320&65535;
+ $322 = $321 << 16 >> 16;
+ $323 = Math_imul($316, $322)|0;
+ $324 = $31;
+ $325 = $324 & 65535;
+ $326 = $34;
+ $327 = $28;
+ $328 = (($326) + ($327<<2)|0);
+ $329 = HEAP32[$328>>2]|0;
+ $330 = $329&65535;
+ $331 = $330 << 16 >> 16;
+ $332 = Math_imul($325, $331)|0;
+ $333 = $332 >> 16;
+ $334 = (($323) + ($333))|0;
+ $335 = $31;
+ $336 = $34;
+ $337 = $28;
+ $338 = (($336) + ($337<<2)|0);
+ $339 = HEAP32[$338>>2]|0;
+ $340 = $339 >> 15;
+ $341 = (($340) + 1)|0;
+ $342 = $341 >> 1;
+ $343 = Math_imul($335, $342)|0;
+ $344 = (($334) + ($343))|0;
+ $345 = $34;
+ $346 = $28;
+ $347 = (($345) + ($346<<2)|0);
+ HEAP32[$347>>2] = $344;
+ $348 = $28;
+ $349 = (($348) + 1)|0;
+ $28 = $349;
+ }
+ $28 = 0;
+ while(1) {
+ $350 = $28;
+ $351 = ($350|0)<(16);
+ if (!($351)) {
+ break;
+ }
+ $352 = $31;
+ $353 = $352 >> 16;
+ $354 = $34;
+ $355 = ((($354)) + 1088|0);
+ $356 = $28;
+ $357 = (($355) + ($356<<2)|0);
+ $358 = HEAP32[$357>>2]|0;
+ $359 = $358&65535;
+ $360 = $359 << 16 >> 16;
+ $361 = Math_imul($353, $360)|0;
+ $362 = $31;
+ $363 = $362 & 65535;
+ $364 = $34;
+ $365 = ((($364)) + 1088|0);
+ $366 = $28;
+ $367 = (($365) + ($366<<2)|0);
+ $368 = HEAP32[$367>>2]|0;
+ $369 = $368&65535;
+ $370 = $369 << 16 >> 16;
+ $371 = Math_imul($363, $370)|0;
+ $372 = $371 >> 16;
+ $373 = (($361) + ($372))|0;
+ $374 = $31;
+ $375 = $34;
+ $376 = ((($375)) + 1088|0);
+ $377 = $28;
+ $378 = (($376) + ($377<<2)|0);
+ $379 = HEAP32[$378>>2]|0;
+ $380 = $379 >> 15;
+ $381 = (($380) + 1)|0;
+ $382 = $381 >> 1;
+ $383 = Math_imul($374, $382)|0;
+ $384 = (($373) + ($383))|0;
+ $385 = $34;
+ $386 = ((($385)) + 1088|0);
+ $387 = $28;
+ $388 = (($386) + ($387<<2)|0);
+ HEAP32[$388>>2] = $384;
+ $389 = $28;
+ $390 = (($389) + 1)|0;
+ $28 = $390;
+ }
+ $28 = 0;
+ while(1) {
+ $391 = $28;
+ $392 = ($391|0)<(32);
+ if (!($392)) {
+ break;
+ }
+ $393 = $31;
+ $394 = $393 >> 16;
+ $395 = $34;
+ $396 = ((($395)) + 832|0);
+ $397 = $28;
+ $398 = (($396) + ($397<<2)|0);
+ $399 = HEAP32[$398>>2]|0;
+ $400 = $399&65535;
+ $401 = $400 << 16 >> 16;
+ $402 = Math_imul($394, $401)|0;
+ $403 = $31;
+ $404 = $403 & 65535;
+ $405 = $34;
+ $406 = ((($405)) + 832|0);
+ $407 = $28;
+ $408 = (($406) + ($407<<2)|0);
+ $409 = HEAP32[$408>>2]|0;
+ $410 = $409&65535;
+ $411 = $410 << 16 >> 16;
+ $412 = Math_imul($404, $411)|0;
+ $413 = $412 >> 16;
+ $414 = (($402) + ($413))|0;
+ $415 = $31;
+ $416 = $34;
+ $417 = ((($416)) + 832|0);
+ $418 = $28;
+ $419 = (($417) + ($418<<2)|0);
+ $420 = HEAP32[$419>>2]|0;
+ $421 = $420 >> 15;
+ $422 = (($421) + 1)|0;
+ $423 = $422 >> 1;
+ $424 = Math_imul($415, $423)|0;
+ $425 = (($414) + ($424))|0;
+ $426 = $34;
+ $427 = ((($426)) + 832|0);
+ $428 = $28;
+ $429 = (($427) + ($428<<2)|0);
+ HEAP32[$429>>2] = $425;
+ $430 = $31;
+ $431 = $430 >> 16;
+ $432 = $34;
+ $433 = ((($432)) + 960|0);
+ $434 = $28;
+ $435 = (($433) + ($434<<2)|0);
+ $436 = HEAP32[$435>>2]|0;
+ $437 = $436&65535;
+ $438 = $437 << 16 >> 16;
+ $439 = Math_imul($431, $438)|0;
+ $440 = $31;
+ $441 = $440 & 65535;
+ $442 = $34;
+ $443 = ((($442)) + 960|0);
+ $444 = $28;
+ $445 = (($443) + ($444<<2)|0);
+ $446 = HEAP32[$445>>2]|0;
+ $447 = $446&65535;
+ $448 = $447 << 16 >> 16;
+ $449 = Math_imul($441, $448)|0;
+ $450 = $449 >> 16;
+ $451 = (($439) + ($450))|0;
+ $452 = $31;
+ $453 = $34;
+ $454 = ((($453)) + 960|0);
+ $455 = $28;
+ $456 = (($454) + ($455<<2)|0);
+ $457 = HEAP32[$456>>2]|0;
+ $458 = $457 >> 15;
+ $459 = (($458) + 1)|0;
+ $460 = $459 >> 1;
+ $461 = Math_imul($452, $460)|0;
+ $462 = (($451) + ($461))|0;
+ $463 = $34;
+ $464 = ((($463)) + 960|0);
+ $465 = $28;
+ $466 = (($464) + ($465<<2)|0);
+ HEAP32[$466>>2] = $462;
+ $467 = $28;
+ $468 = (($467) + 1)|0;
+ $28 = $468;
+ }
+ $469 = $29;
+ $470 = (($469) + 1)|0;
+ $29 = $470;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_noise_shape_quantizer_del_dec($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ $11 = $11|0;
+ $12 = $12|0;
+ $13 = $13|0;
+ $14 = $14|0;
+ $15 = $15|0;
+ $16 = $16|0;
+ $17 = $17|0;
+ $18 = $18|0;
+ $19 = $19|0;
+ $20 = $20|0;
+ $21 = $21|0;
+ $22 = $22|0;
+ $23 = $23|0;
+ $24 = $24|0;
+ $25 = $25|0;
+ var $$alloca_mul = 0, $$sink = 0, $$sink3 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0, $1013 = 0, $1014 = 0;
+ var $1015 = 0, $1016 = 0, $1017 = 0, $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0, $1029 = 0, $103 = 0, $1030 = 0, $1031 = 0, $1032 = 0;
+ var $1033 = 0, $1034 = 0, $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0, $105 = 0, $1050 = 0;
+ var $1051 = 0, $1052 = 0, $1053 = 0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1065 = 0, $1066 = 0, $1067 = 0, $1068 = 0, $1069 = 0;
+ var $107 = 0, $1070 = 0, $1071 = 0, $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0, $1086 = 0, $1087 = 0;
+ var $1088 = 0, $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0, $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0, $1103 = 0, $1104 = 0, $1105 = 0;
+ var $1106 = 0, $1107 = 0, $1108 = 0, $1109 = 0, $111 = 0, $1110 = 0, $1111 = 0, $1112 = 0, $1113 = 0, $1114 = 0, $1115 = 0, $1116 = 0, $1117 = 0, $1118 = 0, $1119 = 0, $112 = 0, $1120 = 0, $1121 = 0, $1122 = 0, $1123 = 0;
+ var $1124 = 0, $1125 = 0, $1126 = 0, $1127 = 0, $1128 = 0, $1129 = 0, $113 = 0, $1130 = 0, $1131 = 0, $1132 = 0, $1133 = 0, $1134 = 0, $1135 = 0, $1136 = 0, $1137 = 0, $1138 = 0, $1139 = 0, $114 = 0, $1140 = 0, $1141 = 0;
+ var $1142 = 0, $1143 = 0, $1144 = 0, $1145 = 0, $1146 = 0, $1147 = 0, $1148 = 0, $1149 = 0, $115 = 0, $1150 = 0, $1151 = 0, $1152 = 0, $1153 = 0, $1154 = 0, $1155 = 0, $1156 = 0, $1157 = 0, $1158 = 0, $1159 = 0, $116 = 0;
+ var $1160 = 0, $1161 = 0, $1162 = 0, $1163 = 0, $1164 = 0, $1165 = 0, $1166 = 0, $1167 = 0, $1168 = 0, $1169 = 0, $117 = 0, $1170 = 0, $1171 = 0, $1172 = 0, $1173 = 0, $1174 = 0, $1175 = 0, $1176 = 0, $1177 = 0, $1178 = 0;
+ var $1179 = 0, $118 = 0, $1180 = 0, $1181 = 0, $1182 = 0, $1183 = 0, $1184 = 0, $1185 = 0, $1186 = 0, $1187 = 0, $1188 = 0, $1189 = 0, $119 = 0, $1190 = 0, $1191 = 0, $1192 = 0, $1193 = 0, $1194 = 0, $1195 = 0, $1196 = 0;
+ var $1197 = 0, $1198 = 0, $1199 = 0, $120 = 0, $1200 = 0, $1201 = 0, $1202 = 0, $1203 = 0, $1204 = 0, $1205 = 0, $1206 = 0, $1207 = 0, $1208 = 0, $1209 = 0, $121 = 0, $1210 = 0, $1211 = 0, $1212 = 0, $1213 = 0, $1214 = 0;
+ var $1215 = 0, $1216 = 0, $1217 = 0, $1218 = 0, $1219 = 0, $122 = 0, $1220 = 0, $1221 = 0, $1222 = 0, $1223 = 0, $1224 = 0, $1225 = 0, $1226 = 0, $1227 = 0, $1228 = 0, $1229 = 0, $123 = 0, $1230 = 0, $1231 = 0, $1232 = 0;
+ var $1233 = 0, $1234 = 0, $1235 = 0, $1236 = 0, $1237 = 0, $1238 = 0, $1239 = 0, $124 = 0, $1240 = 0, $1241 = 0, $1242 = 0, $1243 = 0, $1244 = 0, $1245 = 0, $1246 = 0, $1247 = 0, $1248 = 0, $1249 = 0, $125 = 0, $1250 = 0;
+ var $1251 = 0, $1252 = 0, $1253 = 0, $1254 = 0, $1255 = 0, $1256 = 0, $1257 = 0, $1258 = 0, $1259 = 0, $126 = 0, $1260 = 0, $1261 = 0, $1262 = 0, $1263 = 0, $1264 = 0, $1265 = 0, $1266 = 0, $1267 = 0, $1268 = 0, $1269 = 0;
+ var $127 = 0, $1270 = 0, $1271 = 0, $1272 = 0, $1273 = 0, $1274 = 0, $1275 = 0, $1276 = 0, $1277 = 0, $1278 = 0, $1279 = 0, $128 = 0, $1280 = 0, $1281 = 0, $1282 = 0, $1283 = 0, $1284 = 0, $1285 = 0, $1286 = 0, $1287 = 0;
+ var $1288 = 0, $1289 = 0, $129 = 0, $1290 = 0, $1291 = 0, $1292 = 0, $1293 = 0, $1294 = 0, $1295 = 0, $1296 = 0, $1297 = 0, $1298 = 0, $1299 = 0, $130 = 0, $1300 = 0, $1301 = 0, $1302 = 0, $1303 = 0, $1304 = 0, $1305 = 0;
+ var $1306 = 0, $1307 = 0, $1308 = 0, $1309 = 0, $131 = 0, $1310 = 0, $1311 = 0, $1312 = 0, $1313 = 0, $1314 = 0, $1315 = 0, $1316 = 0, $1317 = 0, $1318 = 0, $1319 = 0, $132 = 0, $1320 = 0, $1321 = 0, $1322 = 0, $1323 = 0;
+ var $1324 = 0, $1325 = 0, $1326 = 0, $1327 = 0, $1328 = 0, $1329 = 0, $133 = 0, $1330 = 0, $1331 = 0, $1332 = 0, $1333 = 0, $1334 = 0, $1335 = 0, $1336 = 0, $1337 = 0, $1338 = 0, $1339 = 0, $134 = 0, $1340 = 0, $1341 = 0;
+ var $1342 = 0, $1343 = 0, $1344 = 0, $1345 = 0, $1346 = 0, $1347 = 0, $1348 = 0, $1349 = 0, $135 = 0, $1350 = 0, $1351 = 0, $1352 = 0, $1353 = 0, $1354 = 0, $1355 = 0, $1356 = 0, $1357 = 0, $1358 = 0, $1359 = 0, $136 = 0;
+ var $1360 = 0, $1361 = 0, $1362 = 0, $1363 = 0, $1364 = 0, $1365 = 0, $1366 = 0, $1367 = 0, $1368 = 0, $1369 = 0, $137 = 0, $1370 = 0, $1371 = 0, $1372 = 0, $1373 = 0, $1374 = 0, $1375 = 0, $1376 = 0, $1377 = 0, $1378 = 0;
+ var $1379 = 0, $138 = 0, $1380 = 0, $1381 = 0, $1382 = 0, $1383 = 0, $1384 = 0, $1385 = 0, $1386 = 0, $1387 = 0, $1388 = 0, $1389 = 0, $139 = 0, $1390 = 0, $1391 = 0, $1392 = 0, $1393 = 0, $1394 = 0, $1395 = 0, $1396 = 0;
+ var $1397 = 0, $1398 = 0, $1399 = 0, $140 = 0, $1400 = 0, $1401 = 0, $1402 = 0, $1403 = 0, $1404 = 0, $1405 = 0, $1406 = 0, $1407 = 0, $1408 = 0, $1409 = 0, $141 = 0, $1410 = 0, $1411 = 0, $1412 = 0, $1413 = 0, $1414 = 0;
+ var $1415 = 0, $1416 = 0, $1417 = 0, $1418 = 0, $1419 = 0, $142 = 0, $1420 = 0, $1421 = 0, $1422 = 0, $1423 = 0, $1424 = 0, $1425 = 0, $1426 = 0, $1427 = 0, $1428 = 0, $1429 = 0, $143 = 0, $1430 = 0, $1431 = 0, $1432 = 0;
+ var $1433 = 0, $1434 = 0, $1435 = 0, $1436 = 0, $1437 = 0, $1438 = 0, $1439 = 0, $144 = 0, $1440 = 0, $1441 = 0, $1442 = 0, $1443 = 0, $1444 = 0, $1445 = 0, $1446 = 0, $1447 = 0, $1448 = 0, $1449 = 0, $145 = 0, $1450 = 0;
+ var $1451 = 0, $1452 = 0, $1453 = 0, $1454 = 0, $1455 = 0, $1456 = 0, $1457 = 0, $1458 = 0, $1459 = 0, $146 = 0, $1460 = 0, $1461 = 0, $1462 = 0, $1463 = 0, $1464 = 0, $1465 = 0, $1466 = 0, $1467 = 0, $1468 = 0, $1469 = 0;
+ var $147 = 0, $1470 = 0, $1471 = 0, $1472 = 0, $1473 = 0, $1474 = 0, $1475 = 0, $1476 = 0, $1477 = 0, $1478 = 0, $1479 = 0, $148 = 0, $1480 = 0, $1481 = 0, $1482 = 0, $1483 = 0, $1484 = 0, $1485 = 0, $1486 = 0, $1487 = 0;
+ var $1488 = 0, $1489 = 0, $149 = 0, $1490 = 0, $1491 = 0, $1492 = 0, $1493 = 0, $1494 = 0, $1495 = 0, $1496 = 0, $1497 = 0, $1498 = 0, $1499 = 0, $150 = 0, $1500 = 0, $1501 = 0, $1502 = 0, $1503 = 0, $1504 = 0, $1505 = 0;
+ var $1506 = 0, $1507 = 0, $1508 = 0, $1509 = 0, $151 = 0, $1510 = 0, $1511 = 0, $1512 = 0, $1513 = 0, $1514 = 0, $1515 = 0, $1516 = 0, $1517 = 0, $1518 = 0, $1519 = 0, $152 = 0, $1520 = 0, $1521 = 0, $1522 = 0, $1523 = 0;
+ var $1524 = 0, $1525 = 0, $1526 = 0, $1527 = 0, $1528 = 0, $1529 = 0, $153 = 0, $1530 = 0, $1531 = 0, $1532 = 0, $1533 = 0, $1534 = 0, $1535 = 0, $1536 = 0, $1537 = 0, $1538 = 0, $1539 = 0, $154 = 0, $1540 = 0, $1541 = 0;
+ var $1542 = 0, $1543 = 0, $1544 = 0, $1545 = 0, $1546 = 0, $1547 = 0, $1548 = 0, $1549 = 0, $155 = 0, $1550 = 0, $1551 = 0, $1552 = 0, $1553 = 0, $1554 = 0, $1555 = 0, $1556 = 0, $1557 = 0, $1558 = 0, $1559 = 0, $156 = 0;
+ var $1560 = 0, $1561 = 0, $1562 = 0, $1563 = 0, $1564 = 0, $1565 = 0, $1566 = 0, $1567 = 0, $1568 = 0, $1569 = 0, $157 = 0, $1570 = 0, $1571 = 0, $1572 = 0, $1573 = 0, $1574 = 0, $1575 = 0, $1576 = 0, $1577 = 0, $1578 = 0;
+ var $1579 = 0, $158 = 0, $1580 = 0, $1581 = 0, $1582 = 0, $1583 = 0, $1584 = 0, $1585 = 0, $1586 = 0, $1587 = 0, $1588 = 0, $1589 = 0, $159 = 0, $1590 = 0, $1591 = 0, $1592 = 0, $1593 = 0, $1594 = 0, $1595 = 0, $1596 = 0;
+ var $1597 = 0, $1598 = 0, $1599 = 0, $160 = 0, $1600 = 0, $1601 = 0, $1602 = 0, $1603 = 0, $1604 = 0, $1605 = 0, $1606 = 0, $1607 = 0, $1608 = 0, $1609 = 0, $161 = 0, $1610 = 0, $1611 = 0, $1612 = 0, $1613 = 0, $1614 = 0;
+ var $1615 = 0, $1616 = 0, $1617 = 0, $1618 = 0, $1619 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0;
+ var $177 = 0, $178 = 0, $179 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0;
+ var $197 = 0, $198 = 0, $199 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0;
+ var $217 = 0, $218 = 0, $219 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0;
+ var $237 = 0, $238 = 0, $239 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0;
+ var $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0;
+ var $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0;
+ var $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0;
+ var $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0;
+ var $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0;
+ var $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0;
+ var $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0;
+ var $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0;
+ var $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0;
+ var $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0;
+ var $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0;
+ var $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0;
+ var $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0;
+ var $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0;
+ var $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0;
+ var $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0;
+ var $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0;
+ var $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0;
+ var $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $60 = 0, $600 = 0, $601 = 0;
+ var $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0;
+ var $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0;
+ var $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0;
+ var $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0;
+ var $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0;
+ var $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0;
+ var $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0;
+ var $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0;
+ var $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0;
+ var $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0;
+ var $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $80 = 0, $800 = 0, $801 = 0;
+ var $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0;
+ var $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0;
+ var $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0;
+ var $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0, $872 = 0, $873 = 0, $874 = 0;
+ var $875 = 0, $876 = 0, $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0, $890 = 0, $891 = 0, $892 = 0;
+ var $893 = 0, $894 = 0, $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0, $909 = 0, $91 = 0, $910 = 0;
+ var $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0, $927 = 0, $928 = 0, $929 = 0;
+ var $93 = 0, $930 = 0, $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0, $944 = 0, $945 = 0, $946 = 0, $947 = 0;
+ var $948 = 0, $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0, $963 = 0, $964 = 0, $965 = 0;
+ var $966 = 0, $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0, $980 = 0, $981 = 0, $982 = 0, $983 = 0;
+ var $984 = 0, $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0, $999 = 0, dest = 0, label = 0, sp = 0;
+ var src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 256|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(256|0);
+ $26 = $0;
+ $27 = $1;
+ $28 = $2;
+ $29 = $3;
+ $30 = $4;
+ $31 = $5;
+ $32 = $6;
+ $33 = $7;
+ $34 = $8;
+ $35 = $9;
+ $36 = $10;
+ $37 = $11;
+ $38 = $12;
+ $39 = $13;
+ $40 = $14;
+ $41 = $15;
+ $42 = $16;
+ $43 = $17;
+ $44 = $18;
+ $45 = $19;
+ $46 = $20;
+ $47 = $21;
+ $48 = $22;
+ $49 = $23;
+ $50 = $24;
+ $51 = $25;
+ $87 = $49;
+ $88 = (_llvm_stacksave()|0);
+ $86 = $88;
+ $$alloca_mul = ($87*48)|0;
+ $89 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $90 = $26;
+ $91 = ((($90)) + 1280|0);
+ $92 = $26;
+ $93 = ((($92)) + 4364|0);
+ $94 = HEAP32[$93>>2]|0;
+ $95 = $37;
+ $96 = (($94) - ($95))|0;
+ $97 = (($96) + 1)|0;
+ $98 = (($91) + ($97<<2)|0);
+ $82 = $98;
+ $99 = $32;
+ $100 = $26;
+ $101 = ((($100)) + 4360|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = $37;
+ $104 = (($102) - ($103))|0;
+ $105 = (($104) + 2)|0;
+ $106 = (($99) + ($105<<2)|0);
+ $81 = $106;
+ $107 = $41;
+ $108 = $107 >> 6;
+ $77 = $108;
+ $52 = 0;
+ while(1) {
+ $109 = $52;
+ $110 = $44;
+ $111 = ($109|0)<($110|0);
+ if (!($111)) {
+ break;
+ }
+ $112 = $28;
+ $113 = ($112|0)==(2);
+ if ($113) {
+ $60 = 2;
+ $114 = $60;
+ $115 = $81;
+ $116 = HEAP32[$115>>2]|0;
+ $117 = $116 >> 16;
+ $118 = $35;
+ $119 = HEAP16[$118>>1]|0;
+ $120 = $119 << 16 >> 16;
+ $121 = Math_imul($117, $120)|0;
+ $122 = $81;
+ $123 = HEAP32[$122>>2]|0;
+ $124 = $123 & 65535;
+ $125 = $35;
+ $126 = HEAP16[$125>>1]|0;
+ $127 = $126 << 16 >> 16;
+ $128 = Math_imul($124, $127)|0;
+ $129 = $128 >> 16;
+ $130 = (($121) + ($129))|0;
+ $131 = (($114) + ($130))|0;
+ $60 = $131;
+ $132 = $60;
+ $133 = $81;
+ $134 = ((($133)) + -4|0);
+ $135 = HEAP32[$134>>2]|0;
+ $136 = $135 >> 16;
+ $137 = $35;
+ $138 = ((($137)) + 2|0);
+ $139 = HEAP16[$138>>1]|0;
+ $140 = $139 << 16 >> 16;
+ $141 = Math_imul($136, $140)|0;
+ $142 = $81;
+ $143 = ((($142)) + -4|0);
+ $144 = HEAP32[$143>>2]|0;
+ $145 = $144 & 65535;
+ $146 = $35;
+ $147 = ((($146)) + 2|0);
+ $148 = HEAP16[$147>>1]|0;
+ $149 = $148 << 16 >> 16;
+ $150 = Math_imul($145, $149)|0;
+ $151 = $150 >> 16;
+ $152 = (($141) + ($151))|0;
+ $153 = (($132) + ($152))|0;
+ $60 = $153;
+ $154 = $60;
+ $155 = $81;
+ $156 = ((($155)) + -8|0);
+ $157 = HEAP32[$156>>2]|0;
+ $158 = $157 >> 16;
+ $159 = $35;
+ $160 = ((($159)) + 4|0);
+ $161 = HEAP16[$160>>1]|0;
+ $162 = $161 << 16 >> 16;
+ $163 = Math_imul($158, $162)|0;
+ $164 = $81;
+ $165 = ((($164)) + -8|0);
+ $166 = HEAP32[$165>>2]|0;
+ $167 = $166 & 65535;
+ $168 = $35;
+ $169 = ((($168)) + 4|0);
+ $170 = HEAP16[$169>>1]|0;
+ $171 = $170 << 16 >> 16;
+ $172 = Math_imul($167, $171)|0;
+ $173 = $172 >> 16;
+ $174 = (($163) + ($173))|0;
+ $175 = (($154) + ($174))|0;
+ $60 = $175;
+ $176 = $60;
+ $177 = $81;
+ $178 = ((($177)) + -12|0);
+ $179 = HEAP32[$178>>2]|0;
+ $180 = $179 >> 16;
+ $181 = $35;
+ $182 = ((($181)) + 6|0);
+ $183 = HEAP16[$182>>1]|0;
+ $184 = $183 << 16 >> 16;
+ $185 = Math_imul($180, $184)|0;
+ $186 = $81;
+ $187 = ((($186)) + -12|0);
+ $188 = HEAP32[$187>>2]|0;
+ $189 = $188 & 65535;
+ $190 = $35;
+ $191 = ((($190)) + 6|0);
+ $192 = HEAP16[$191>>1]|0;
+ $193 = $192 << 16 >> 16;
+ $194 = Math_imul($189, $193)|0;
+ $195 = $194 >> 16;
+ $196 = (($185) + ($195))|0;
+ $197 = (($176) + ($196))|0;
+ $60 = $197;
+ $198 = $60;
+ $199 = $81;
+ $200 = ((($199)) + -16|0);
+ $201 = HEAP32[$200>>2]|0;
+ $202 = $201 >> 16;
+ $203 = $35;
+ $204 = ((($203)) + 8|0);
+ $205 = HEAP16[$204>>1]|0;
+ $206 = $205 << 16 >> 16;
+ $207 = Math_imul($202, $206)|0;
+ $208 = $81;
+ $209 = ((($208)) + -16|0);
+ $210 = HEAP32[$209>>2]|0;
+ $211 = $210 & 65535;
+ $212 = $35;
+ $213 = ((($212)) + 8|0);
+ $214 = HEAP16[$213>>1]|0;
+ $215 = $214 << 16 >> 16;
+ $216 = Math_imul($211, $215)|0;
+ $217 = $216 >> 16;
+ $218 = (($207) + ($217))|0;
+ $219 = (($198) + ($218))|0;
+ $60 = $219;
+ $220 = $60;
+ $221 = $220 << 1;
+ $60 = $221;
+ $222 = $81;
+ $223 = ((($222)) + 4|0);
+ $81 = $223;
+ } else {
+ $60 = 0;
+ }
+ $224 = $37;
+ $225 = ($224|0)>(0);
+ if ($225) {
+ $226 = $82;
+ $227 = HEAP32[$226>>2]|0;
+ $228 = $82;
+ $229 = ((($228)) + -8|0);
+ $230 = HEAP32[$229>>2]|0;
+ $231 = (($227) + ($230))|0;
+ $232 = $231 >> 16;
+ $233 = $38;
+ $234 = $233&65535;
+ $235 = $234 << 16 >> 16;
+ $236 = Math_imul($232, $235)|0;
+ $237 = $82;
+ $238 = HEAP32[$237>>2]|0;
+ $239 = $82;
+ $240 = ((($239)) + -8|0);
+ $241 = HEAP32[$240>>2]|0;
+ $242 = (($238) + ($241))|0;
+ $243 = $242 & 65535;
+ $244 = $38;
+ $245 = $244&65535;
+ $246 = $245 << 16 >> 16;
+ $247 = Math_imul($243, $246)|0;
+ $248 = $247 >> 16;
+ $249 = (($236) + ($248))|0;
+ $63 = $249;
+ $250 = $63;
+ $251 = $82;
+ $252 = ((($251)) + -4|0);
+ $253 = HEAP32[$252>>2]|0;
+ $254 = $253 >> 16;
+ $255 = $38;
+ $256 = $255 >> 16;
+ $257 = Math_imul($254, $256)|0;
+ $258 = (($250) + ($257))|0;
+ $259 = $82;
+ $260 = ((($259)) + -4|0);
+ $261 = HEAP32[$260>>2]|0;
+ $262 = $261 & 65535;
+ $263 = $38;
+ $264 = $263 >> 16;
+ $265 = Math_imul($262, $264)|0;
+ $266 = $265 >> 16;
+ $267 = (($258) + ($266))|0;
+ $63 = $267;
+ $268 = $60;
+ $269 = $63;
+ $270 = $269 << 2;
+ $271 = (($268) - ($270))|0;
+ $63 = $271;
+ $272 = $82;
+ $273 = ((($272)) + 4|0);
+ $82 = $273;
+ } else {
+ $63 = 0;
+ }
+ $54 = 0;
+ while(1) {
+ $274 = $54;
+ $275 = $49;
+ $276 = ($274|0)<($275|0);
+ if (!($276)) {
+ break;
+ }
+ $277 = $27;
+ $278 = $54;
+ $279 = (($277) + (($278*1168)|0)|0);
+ $84 = $279;
+ $280 = $54;
+ $281 = (($89) + (($280*48)|0)|0);
+ $85 = $281;
+ $282 = $84;
+ $283 = ((($282)) + 1156|0);
+ $284 = HEAP32[$283>>2]|0;
+ $285 = Math_imul($284, 196314165)|0;
+ $286 = (907633515 + ($285))|0;
+ $287 = $84;
+ $288 = ((($287)) + 1156|0);
+ HEAP32[$288>>2] = $286;
+ $289 = $84;
+ $290 = $52;
+ $291 = (31 + ($290))|0;
+ $292 = (($289) + ($291<<2)|0);
+ $83 = $292;
+ $293 = $47;
+ $294 = $293 >> 1;
+ $61 = $294;
+ $295 = $61;
+ $296 = $83;
+ $297 = HEAP32[$296>>2]|0;
+ $298 = $297 >> 16;
+ $299 = $34;
+ $300 = HEAP16[$299>>1]|0;
+ $301 = $300 << 16 >> 16;
+ $302 = Math_imul($298, $301)|0;
+ $303 = $83;
+ $304 = HEAP32[$303>>2]|0;
+ $305 = $304 & 65535;
+ $306 = $34;
+ $307 = HEAP16[$306>>1]|0;
+ $308 = $307 << 16 >> 16;
+ $309 = Math_imul($305, $308)|0;
+ $310 = $309 >> 16;
+ $311 = (($302) + ($310))|0;
+ $312 = (($295) + ($311))|0;
+ $61 = $312;
+ $313 = $61;
+ $314 = $83;
+ $315 = ((($314)) + -4|0);
+ $316 = HEAP32[$315>>2]|0;
+ $317 = $316 >> 16;
+ $318 = $34;
+ $319 = ((($318)) + 2|0);
+ $320 = HEAP16[$319>>1]|0;
+ $321 = $320 << 16 >> 16;
+ $322 = Math_imul($317, $321)|0;
+ $323 = $83;
+ $324 = ((($323)) + -4|0);
+ $325 = HEAP32[$324>>2]|0;
+ $326 = $325 & 65535;
+ $327 = $34;
+ $328 = ((($327)) + 2|0);
+ $329 = HEAP16[$328>>1]|0;
+ $330 = $329 << 16 >> 16;
+ $331 = Math_imul($326, $330)|0;
+ $332 = $331 >> 16;
+ $333 = (($322) + ($332))|0;
+ $334 = (($313) + ($333))|0;
+ $61 = $334;
+ $335 = $61;
+ $336 = $83;
+ $337 = ((($336)) + -8|0);
+ $338 = HEAP32[$337>>2]|0;
+ $339 = $338 >> 16;
+ $340 = $34;
+ $341 = ((($340)) + 4|0);
+ $342 = HEAP16[$341>>1]|0;
+ $343 = $342 << 16 >> 16;
+ $344 = Math_imul($339, $343)|0;
+ $345 = $83;
+ $346 = ((($345)) + -8|0);
+ $347 = HEAP32[$346>>2]|0;
+ $348 = $347 & 65535;
+ $349 = $34;
+ $350 = ((($349)) + 4|0);
+ $351 = HEAP16[$350>>1]|0;
+ $352 = $351 << 16 >> 16;
+ $353 = Math_imul($348, $352)|0;
+ $354 = $353 >> 16;
+ $355 = (($344) + ($354))|0;
+ $356 = (($335) + ($355))|0;
+ $61 = $356;
+ $357 = $61;
+ $358 = $83;
+ $359 = ((($358)) + -12|0);
+ $360 = HEAP32[$359>>2]|0;
+ $361 = $360 >> 16;
+ $362 = $34;
+ $363 = ((($362)) + 6|0);
+ $364 = HEAP16[$363>>1]|0;
+ $365 = $364 << 16 >> 16;
+ $366 = Math_imul($361, $365)|0;
+ $367 = $83;
+ $368 = ((($367)) + -12|0);
+ $369 = HEAP32[$368>>2]|0;
+ $370 = $369 & 65535;
+ $371 = $34;
+ $372 = ((($371)) + 6|0);
+ $373 = HEAP16[$372>>1]|0;
+ $374 = $373 << 16 >> 16;
+ $375 = Math_imul($370, $374)|0;
+ $376 = $375 >> 16;
+ $377 = (($366) + ($376))|0;
+ $378 = (($357) + ($377))|0;
+ $61 = $378;
+ $379 = $61;
+ $380 = $83;
+ $381 = ((($380)) + -16|0);
+ $382 = HEAP32[$381>>2]|0;
+ $383 = $382 >> 16;
+ $384 = $34;
+ $385 = ((($384)) + 8|0);
+ $386 = HEAP16[$385>>1]|0;
+ $387 = $386 << 16 >> 16;
+ $388 = Math_imul($383, $387)|0;
+ $389 = $83;
+ $390 = ((($389)) + -16|0);
+ $391 = HEAP32[$390>>2]|0;
+ $392 = $391 & 65535;
+ $393 = $34;
+ $394 = ((($393)) + 8|0);
+ $395 = HEAP16[$394>>1]|0;
+ $396 = $395 << 16 >> 16;
+ $397 = Math_imul($392, $396)|0;
+ $398 = $397 >> 16;
+ $399 = (($388) + ($398))|0;
+ $400 = (($379) + ($399))|0;
+ $61 = $400;
+ $401 = $61;
+ $402 = $83;
+ $403 = ((($402)) + -20|0);
+ $404 = HEAP32[$403>>2]|0;
+ $405 = $404 >> 16;
+ $406 = $34;
+ $407 = ((($406)) + 10|0);
+ $408 = HEAP16[$407>>1]|0;
+ $409 = $408 << 16 >> 16;
+ $410 = Math_imul($405, $409)|0;
+ $411 = $83;
+ $412 = ((($411)) + -20|0);
+ $413 = HEAP32[$412>>2]|0;
+ $414 = $413 & 65535;
+ $415 = $34;
+ $416 = ((($415)) + 10|0);
+ $417 = HEAP16[$416>>1]|0;
+ $418 = $417 << 16 >> 16;
+ $419 = Math_imul($414, $418)|0;
+ $420 = $419 >> 16;
+ $421 = (($410) + ($420))|0;
+ $422 = (($401) + ($421))|0;
+ $61 = $422;
+ $423 = $61;
+ $424 = $83;
+ $425 = ((($424)) + -24|0);
+ $426 = HEAP32[$425>>2]|0;
+ $427 = $426 >> 16;
+ $428 = $34;
+ $429 = ((($428)) + 12|0);
+ $430 = HEAP16[$429>>1]|0;
+ $431 = $430 << 16 >> 16;
+ $432 = Math_imul($427, $431)|0;
+ $433 = $83;
+ $434 = ((($433)) + -24|0);
+ $435 = HEAP32[$434>>2]|0;
+ $436 = $435 & 65535;
+ $437 = $34;
+ $438 = ((($437)) + 12|0);
+ $439 = HEAP16[$438>>1]|0;
+ $440 = $439 << 16 >> 16;
+ $441 = Math_imul($436, $440)|0;
+ $442 = $441 >> 16;
+ $443 = (($432) + ($442))|0;
+ $444 = (($423) + ($443))|0;
+ $61 = $444;
+ $445 = $61;
+ $446 = $83;
+ $447 = ((($446)) + -28|0);
+ $448 = HEAP32[$447>>2]|0;
+ $449 = $448 >> 16;
+ $450 = $34;
+ $451 = ((($450)) + 14|0);
+ $452 = HEAP16[$451>>1]|0;
+ $453 = $452 << 16 >> 16;
+ $454 = Math_imul($449, $453)|0;
+ $455 = $83;
+ $456 = ((($455)) + -28|0);
+ $457 = HEAP32[$456>>2]|0;
+ $458 = $457 & 65535;
+ $459 = $34;
+ $460 = ((($459)) + 14|0);
+ $461 = HEAP16[$460>>1]|0;
+ $462 = $461 << 16 >> 16;
+ $463 = Math_imul($458, $462)|0;
+ $464 = $463 >> 16;
+ $465 = (($454) + ($464))|0;
+ $466 = (($445) + ($465))|0;
+ $61 = $466;
+ $467 = $61;
+ $468 = $83;
+ $469 = ((($468)) + -32|0);
+ $470 = HEAP32[$469>>2]|0;
+ $471 = $470 >> 16;
+ $472 = $34;
+ $473 = ((($472)) + 16|0);
+ $474 = HEAP16[$473>>1]|0;
+ $475 = $474 << 16 >> 16;
+ $476 = Math_imul($471, $475)|0;
+ $477 = $83;
+ $478 = ((($477)) + -32|0);
+ $479 = HEAP32[$478>>2]|0;
+ $480 = $479 & 65535;
+ $481 = $34;
+ $482 = ((($481)) + 16|0);
+ $483 = HEAP16[$482>>1]|0;
+ $484 = $483 << 16 >> 16;
+ $485 = Math_imul($480, $484)|0;
+ $486 = $485 >> 16;
+ $487 = (($476) + ($486))|0;
+ $488 = (($467) + ($487))|0;
+ $61 = $488;
+ $489 = $61;
+ $490 = $83;
+ $491 = ((($490)) + -36|0);
+ $492 = HEAP32[$491>>2]|0;
+ $493 = $492 >> 16;
+ $494 = $34;
+ $495 = ((($494)) + 18|0);
+ $496 = HEAP16[$495>>1]|0;
+ $497 = $496 << 16 >> 16;
+ $498 = Math_imul($493, $497)|0;
+ $499 = $83;
+ $500 = ((($499)) + -36|0);
+ $501 = HEAP32[$500>>2]|0;
+ $502 = $501 & 65535;
+ $503 = $34;
+ $504 = ((($503)) + 18|0);
+ $505 = HEAP16[$504>>1]|0;
+ $506 = $505 << 16 >> 16;
+ $507 = Math_imul($502, $506)|0;
+ $508 = $507 >> 16;
+ $509 = (($498) + ($508))|0;
+ $510 = (($489) + ($509))|0;
+ $61 = $510;
+ $511 = $47;
+ $512 = ($511|0)==(16);
+ if ($512) {
+ $513 = $61;
+ $514 = $83;
+ $515 = ((($514)) + -40|0);
+ $516 = HEAP32[$515>>2]|0;
+ $517 = $516 >> 16;
+ $518 = $34;
+ $519 = ((($518)) + 20|0);
+ $520 = HEAP16[$519>>1]|0;
+ $521 = $520 << 16 >> 16;
+ $522 = Math_imul($517, $521)|0;
+ $523 = $83;
+ $524 = ((($523)) + -40|0);
+ $525 = HEAP32[$524>>2]|0;
+ $526 = $525 & 65535;
+ $527 = $34;
+ $528 = ((($527)) + 20|0);
+ $529 = HEAP16[$528>>1]|0;
+ $530 = $529 << 16 >> 16;
+ $531 = Math_imul($526, $530)|0;
+ $532 = $531 >> 16;
+ $533 = (($522) + ($532))|0;
+ $534 = (($513) + ($533))|0;
+ $61 = $534;
+ $535 = $61;
+ $536 = $83;
+ $537 = ((($536)) + -44|0);
+ $538 = HEAP32[$537>>2]|0;
+ $539 = $538 >> 16;
+ $540 = $34;
+ $541 = ((($540)) + 22|0);
+ $542 = HEAP16[$541>>1]|0;
+ $543 = $542 << 16 >> 16;
+ $544 = Math_imul($539, $543)|0;
+ $545 = $83;
+ $546 = ((($545)) + -44|0);
+ $547 = HEAP32[$546>>2]|0;
+ $548 = $547 & 65535;
+ $549 = $34;
+ $550 = ((($549)) + 22|0);
+ $551 = HEAP16[$550>>1]|0;
+ $552 = $551 << 16 >> 16;
+ $553 = Math_imul($548, $552)|0;
+ $554 = $553 >> 16;
+ $555 = (($544) + ($554))|0;
+ $556 = (($535) + ($555))|0;
+ $61 = $556;
+ $557 = $61;
+ $558 = $83;
+ $559 = ((($558)) + -48|0);
+ $560 = HEAP32[$559>>2]|0;
+ $561 = $560 >> 16;
+ $562 = $34;
+ $563 = ((($562)) + 24|0);
+ $564 = HEAP16[$563>>1]|0;
+ $565 = $564 << 16 >> 16;
+ $566 = Math_imul($561, $565)|0;
+ $567 = $83;
+ $568 = ((($567)) + -48|0);
+ $569 = HEAP32[$568>>2]|0;
+ $570 = $569 & 65535;
+ $571 = $34;
+ $572 = ((($571)) + 24|0);
+ $573 = HEAP16[$572>>1]|0;
+ $574 = $573 << 16 >> 16;
+ $575 = Math_imul($570, $574)|0;
+ $576 = $575 >> 16;
+ $577 = (($566) + ($576))|0;
+ $578 = (($557) + ($577))|0;
+ $61 = $578;
+ $579 = $61;
+ $580 = $83;
+ $581 = ((($580)) + -52|0);
+ $582 = HEAP32[$581>>2]|0;
+ $583 = $582 >> 16;
+ $584 = $34;
+ $585 = ((($584)) + 26|0);
+ $586 = HEAP16[$585>>1]|0;
+ $587 = $586 << 16 >> 16;
+ $588 = Math_imul($583, $587)|0;
+ $589 = $83;
+ $590 = ((($589)) + -52|0);
+ $591 = HEAP32[$590>>2]|0;
+ $592 = $591 & 65535;
+ $593 = $34;
+ $594 = ((($593)) + 26|0);
+ $595 = HEAP16[$594>>1]|0;
+ $596 = $595 << 16 >> 16;
+ $597 = Math_imul($592, $596)|0;
+ $598 = $597 >> 16;
+ $599 = (($588) + ($598))|0;
+ $600 = (($579) + ($599))|0;
+ $61 = $600;
+ $601 = $61;
+ $602 = $83;
+ $603 = ((($602)) + -56|0);
+ $604 = HEAP32[$603>>2]|0;
+ $605 = $604 >> 16;
+ $606 = $34;
+ $607 = ((($606)) + 28|0);
+ $608 = HEAP16[$607>>1]|0;
+ $609 = $608 << 16 >> 16;
+ $610 = Math_imul($605, $609)|0;
+ $611 = $83;
+ $612 = ((($611)) + -56|0);
+ $613 = HEAP32[$612>>2]|0;
+ $614 = $613 & 65535;
+ $615 = $34;
+ $616 = ((($615)) + 28|0);
+ $617 = HEAP16[$616>>1]|0;
+ $618 = $617 << 16 >> 16;
+ $619 = Math_imul($614, $618)|0;
+ $620 = $619 >> 16;
+ $621 = (($610) + ($620))|0;
+ $622 = (($601) + ($621))|0;
+ $61 = $622;
+ $623 = $61;
+ $624 = $83;
+ $625 = ((($624)) + -60|0);
+ $626 = HEAP32[$625>>2]|0;
+ $627 = $626 >> 16;
+ $628 = $34;
+ $629 = ((($628)) + 30|0);
+ $630 = HEAP16[$629>>1]|0;
+ $631 = $630 << 16 >> 16;
+ $632 = Math_imul($627, $631)|0;
+ $633 = $83;
+ $634 = ((($633)) + -60|0);
+ $635 = HEAP32[$634>>2]|0;
+ $636 = $635 & 65535;
+ $637 = $34;
+ $638 = ((($637)) + 30|0);
+ $639 = HEAP16[$638>>1]|0;
+ $640 = $639 << 16 >> 16;
+ $641 = Math_imul($636, $640)|0;
+ $642 = $641 >> 16;
+ $643 = (($632) + ($642))|0;
+ $644 = (($623) + ($643))|0;
+ $61 = $644;
+ }
+ $645 = $61;
+ $646 = $645 << 4;
+ $61 = $646;
+ $647 = $83;
+ $648 = HEAP32[$647>>2]|0;
+ $649 = $84;
+ $650 = ((($649)) + 1088|0);
+ $651 = HEAP32[$650>>2]|0;
+ $652 = $651 >> 16;
+ $653 = $48;
+ $654 = $653&65535;
+ $655 = $654 << 16 >> 16;
+ $656 = Math_imul($652, $655)|0;
+ $657 = $84;
+ $658 = ((($657)) + 1088|0);
+ $659 = HEAP32[$658>>2]|0;
+ $660 = $659 & 65535;
+ $661 = $48;
+ $662 = $661&65535;
+ $663 = $662 << 16 >> 16;
+ $664 = Math_imul($660, $663)|0;
+ $665 = $664 >> 16;
+ $666 = (($656) + ($665))|0;
+ $667 = (($648) + ($666))|0;
+ $79 = $667;
+ $668 = $84;
+ $669 = ((($668)) + 1088|0);
+ $670 = HEAP32[$669>>2]|0;
+ $671 = $84;
+ $672 = ((($671)) + 1088|0);
+ $673 = ((($672)) + 4|0);
+ $674 = HEAP32[$673>>2]|0;
+ $675 = $79;
+ $676 = (($674) - ($675))|0;
+ $677 = $676 >> 16;
+ $678 = $48;
+ $679 = $678&65535;
+ $680 = $679 << 16 >> 16;
+ $681 = Math_imul($677, $680)|0;
+ $682 = $84;
+ $683 = ((($682)) + 1088|0);
+ $684 = ((($683)) + 4|0);
+ $685 = HEAP32[$684>>2]|0;
+ $686 = $79;
+ $687 = (($685) - ($686))|0;
+ $688 = $687 & 65535;
+ $689 = $48;
+ $690 = $689&65535;
+ $691 = $690 << 16 >> 16;
+ $692 = Math_imul($688, $691)|0;
+ $693 = $692 >> 16;
+ $694 = (($681) + ($693))|0;
+ $695 = (($670) + ($694))|0;
+ $78 = $695;
+ $696 = $79;
+ $697 = $84;
+ $698 = ((($697)) + 1088|0);
+ HEAP32[$698>>2] = $696;
+ $699 = $46;
+ $700 = $699 >> 1;
+ $62 = $700;
+ $701 = $62;
+ $702 = $79;
+ $703 = $702 >> 16;
+ $704 = $36;
+ $705 = HEAP16[$704>>1]|0;
+ $706 = $705 << 16 >> 16;
+ $707 = Math_imul($703, $706)|0;
+ $708 = $79;
+ $709 = $708 & 65535;
+ $710 = $36;
+ $711 = HEAP16[$710>>1]|0;
+ $712 = $711 << 16 >> 16;
+ $713 = Math_imul($709, $712)|0;
+ $714 = $713 >> 16;
+ $715 = (($707) + ($714))|0;
+ $716 = (($701) + ($715))|0;
+ $62 = $716;
+ $53 = 2;
+ while(1) {
+ $717 = $53;
+ $718 = $46;
+ $719 = ($717|0)<($718|0);
+ if (!($719)) {
+ break;
+ }
+ $720 = $84;
+ $721 = ((($720)) + 1088|0);
+ $722 = $53;
+ $723 = (($722) - 1)|0;
+ $724 = (($721) + ($723<<2)|0);
+ $725 = HEAP32[$724>>2]|0;
+ $726 = $84;
+ $727 = ((($726)) + 1088|0);
+ $728 = $53;
+ $729 = (($728) + 0)|0;
+ $730 = (($727) + ($729<<2)|0);
+ $731 = HEAP32[$730>>2]|0;
+ $732 = $78;
+ $733 = (($731) - ($732))|0;
+ $734 = $733 >> 16;
+ $735 = $48;
+ $736 = $735&65535;
+ $737 = $736 << 16 >> 16;
+ $738 = Math_imul($734, $737)|0;
+ $739 = $84;
+ $740 = ((($739)) + 1088|0);
+ $741 = $53;
+ $742 = (($741) + 0)|0;
+ $743 = (($740) + ($742<<2)|0);
+ $744 = HEAP32[$743>>2]|0;
+ $745 = $78;
+ $746 = (($744) - ($745))|0;
+ $747 = $746 & 65535;
+ $748 = $48;
+ $749 = $748&65535;
+ $750 = $749 << 16 >> 16;
+ $751 = Math_imul($747, $750)|0;
+ $752 = $751 >> 16;
+ $753 = (($738) + ($752))|0;
+ $754 = (($725) + ($753))|0;
+ $79 = $754;
+ $755 = $78;
+ $756 = $84;
+ $757 = ((($756)) + 1088|0);
+ $758 = $53;
+ $759 = (($758) - 1)|0;
+ $760 = (($757) + ($759<<2)|0);
+ HEAP32[$760>>2] = $755;
+ $761 = $62;
+ $762 = $78;
+ $763 = $762 >> 16;
+ $764 = $36;
+ $765 = $53;
+ $766 = (($765) - 1)|0;
+ $767 = (($764) + ($766<<1)|0);
+ $768 = HEAP16[$767>>1]|0;
+ $769 = $768 << 16 >> 16;
+ $770 = Math_imul($763, $769)|0;
+ $771 = $78;
+ $772 = $771 & 65535;
+ $773 = $36;
+ $774 = $53;
+ $775 = (($774) - 1)|0;
+ $776 = (($773) + ($775<<1)|0);
+ $777 = HEAP16[$776>>1]|0;
+ $778 = $777 << 16 >> 16;
+ $779 = Math_imul($772, $778)|0;
+ $780 = $779 >> 16;
+ $781 = (($770) + ($780))|0;
+ $782 = (($761) + ($781))|0;
+ $62 = $782;
+ $783 = $84;
+ $784 = ((($783)) + 1088|0);
+ $785 = $53;
+ $786 = (($785) + 0)|0;
+ $787 = (($784) + ($786<<2)|0);
+ $788 = HEAP32[$787>>2]|0;
+ $789 = $84;
+ $790 = ((($789)) + 1088|0);
+ $791 = $53;
+ $792 = (($791) + 1)|0;
+ $793 = (($790) + ($792<<2)|0);
+ $794 = HEAP32[$793>>2]|0;
+ $795 = $79;
+ $796 = (($794) - ($795))|0;
+ $797 = $796 >> 16;
+ $798 = $48;
+ $799 = $798&65535;
+ $800 = $799 << 16 >> 16;
+ $801 = Math_imul($797, $800)|0;
+ $802 = $84;
+ $803 = ((($802)) + 1088|0);
+ $804 = $53;
+ $805 = (($804) + 1)|0;
+ $806 = (($803) + ($805<<2)|0);
+ $807 = HEAP32[$806>>2]|0;
+ $808 = $79;
+ $809 = (($807) - ($808))|0;
+ $810 = $809 & 65535;
+ $811 = $48;
+ $812 = $811&65535;
+ $813 = $812 << 16 >> 16;
+ $814 = Math_imul($810, $813)|0;
+ $815 = $814 >> 16;
+ $816 = (($801) + ($815))|0;
+ $817 = (($788) + ($816))|0;
+ $78 = $817;
+ $818 = $79;
+ $819 = $84;
+ $820 = ((($819)) + 1088|0);
+ $821 = $53;
+ $822 = (($821) + 0)|0;
+ $823 = (($820) + ($822<<2)|0);
+ HEAP32[$823>>2] = $818;
+ $824 = $62;
+ $825 = $79;
+ $826 = $825 >> 16;
+ $827 = $36;
+ $828 = $53;
+ $829 = (($827) + ($828<<1)|0);
+ $830 = HEAP16[$829>>1]|0;
+ $831 = $830 << 16 >> 16;
+ $832 = Math_imul($826, $831)|0;
+ $833 = $79;
+ $834 = $833 & 65535;
+ $835 = $36;
+ $836 = $53;
+ $837 = (($835) + ($836<<1)|0);
+ $838 = HEAP16[$837>>1]|0;
+ $839 = $838 << 16 >> 16;
+ $840 = Math_imul($834, $839)|0;
+ $841 = $840 >> 16;
+ $842 = (($832) + ($841))|0;
+ $843 = (($824) + ($842))|0;
+ $62 = $843;
+ $844 = $53;
+ $845 = (($844) + 2)|0;
+ $53 = $845;
+ }
+ $846 = $78;
+ $847 = $84;
+ $848 = ((($847)) + 1088|0);
+ $849 = $46;
+ $850 = (($849) - 1)|0;
+ $851 = (($848) + ($850<<2)|0);
+ HEAP32[$851>>2] = $846;
+ $852 = $62;
+ $853 = $78;
+ $854 = $853 >> 16;
+ $855 = $36;
+ $856 = $46;
+ $857 = (($856) - 1)|0;
+ $858 = (($855) + ($857<<1)|0);
+ $859 = HEAP16[$858>>1]|0;
+ $860 = $859 << 16 >> 16;
+ $861 = Math_imul($854, $860)|0;
+ $862 = $78;
+ $863 = $862 & 65535;
+ $864 = $36;
+ $865 = $46;
+ $866 = (($865) - 1)|0;
+ $867 = (($864) + ($866<<1)|0);
+ $868 = HEAP16[$867>>1]|0;
+ $869 = $868 << 16 >> 16;
+ $870 = Math_imul($863, $869)|0;
+ $871 = $870 >> 16;
+ $872 = (($861) + ($871))|0;
+ $873 = (($852) + ($872))|0;
+ $62 = $873;
+ $874 = $62;
+ $875 = $874 << 1;
+ $62 = $875;
+ $876 = $62;
+ $877 = $84;
+ $878 = ((($877)) + 1152|0);
+ $879 = HEAP32[$878>>2]|0;
+ $880 = $879 >> 16;
+ $881 = $39;
+ $882 = $881&65535;
+ $883 = $882 << 16 >> 16;
+ $884 = Math_imul($880, $883)|0;
+ $885 = $84;
+ $886 = ((($885)) + 1152|0);
+ $887 = HEAP32[$886>>2]|0;
+ $888 = $887 & 65535;
+ $889 = $39;
+ $890 = $889&65535;
+ $891 = $890 << 16 >> 16;
+ $892 = Math_imul($888, $891)|0;
+ $893 = $892 >> 16;
+ $894 = (($884) + ($893))|0;
+ $895 = (($876) + ($894))|0;
+ $62 = $895;
+ $896 = $62;
+ $897 = $896 << 2;
+ $62 = $897;
+ $898 = $84;
+ $899 = ((($898)) + 960|0);
+ $900 = $50;
+ $901 = HEAP32[$900>>2]|0;
+ $902 = (($899) + ($901<<2)|0);
+ $903 = HEAP32[$902>>2]|0;
+ $904 = $903 >> 16;
+ $905 = $40;
+ $906 = $905&65535;
+ $907 = $906 << 16 >> 16;
+ $908 = Math_imul($904, $907)|0;
+ $909 = $84;
+ $910 = ((($909)) + 960|0);
+ $911 = $50;
+ $912 = HEAP32[$911>>2]|0;
+ $913 = (($910) + ($912<<2)|0);
+ $914 = HEAP32[$913>>2]|0;
+ $915 = $914 & 65535;
+ $916 = $40;
+ $917 = $916&65535;
+ $918 = $917 << 16 >> 16;
+ $919 = Math_imul($915, $918)|0;
+ $920 = $919 >> 16;
+ $921 = (($908) + ($920))|0;
+ $64 = $921;
+ $922 = $64;
+ $923 = $84;
+ $924 = ((($923)) + 1152|0);
+ $925 = HEAP32[$924>>2]|0;
+ $926 = $925 >> 16;
+ $927 = $40;
+ $928 = $927 >> 16;
+ $929 = Math_imul($926, $928)|0;
+ $930 = (($922) + ($929))|0;
+ $931 = $84;
+ $932 = ((($931)) + 1152|0);
+ $933 = HEAP32[$932>>2]|0;
+ $934 = $933 & 65535;
+ $935 = $40;
+ $936 = $935 >> 16;
+ $937 = Math_imul($934, $936)|0;
+ $938 = $937 >> 16;
+ $939 = (($930) + ($938))|0;
+ $64 = $939;
+ $940 = $64;
+ $941 = $940 << 2;
+ $64 = $941;
+ $942 = $62;
+ $943 = $64;
+ $944 = (($942) + ($943))|0;
+ $78 = $944;
+ $945 = $63;
+ $946 = $61;
+ $947 = (($945) + ($946))|0;
+ $79 = $947;
+ $948 = $79;
+ $949 = $78;
+ $950 = (($948) - ($949))|0;
+ $78 = $950;
+ $951 = $78;
+ $952 = $951 >> 3;
+ $953 = (($952) + 1)|0;
+ $954 = $953 >> 1;
+ $78 = $954;
+ $955 = $29;
+ $956 = $52;
+ $957 = (($955) + ($956<<2)|0);
+ $958 = HEAP32[$957>>2]|0;
+ $959 = $78;
+ $960 = (($958) - ($959))|0;
+ $65 = $960;
+ $961 = $84;
+ $962 = ((($961)) + 1156|0);
+ $963 = HEAP32[$962>>2]|0;
+ $964 = ($963|0)<(0);
+ if ($964) {
+ $965 = $65;
+ $966 = (0 - ($965))|0;
+ $65 = $966;
+ }
+ $967 = $65;
+ $968 = ($967|0)>(30720);
+ if ($968) {
+ $973 = 30720;
+ } else {
+ $969 = $65;
+ $970 = ($969|0)<(-31744);
+ $971 = $65;
+ $972 = $970 ? -31744 : $971;
+ $973 = $972;
+ }
+ $65 = $973;
+ $974 = $65;
+ $975 = $43;
+ $976 = (($974) - ($975))|0;
+ $72 = $976;
+ $977 = $72;
+ $978 = $977 >> 10;
+ $71 = $978;
+ $979 = $71;
+ $980 = ($979|0)>(0);
+ $981 = $71;
+ do {
+ if ($980) {
+ $982 = $981 << 10;
+ $983 = (($982) - 80)|0;
+ $72 = $983;
+ $984 = $72;
+ $985 = $43;
+ $986 = (($984) + ($985))|0;
+ $72 = $986;
+ $987 = $72;
+ $988 = (($987) + 1024)|0;
+ $73 = $988;
+ $989 = $72;
+ $990 = $989&65535;
+ $991 = $990 << 16 >> 16;
+ $992 = $42;
+ $993 = $992&65535;
+ $994 = $993 << 16 >> 16;
+ $995 = Math_imul($991, $994)|0;
+ $67 = $995;
+ $996 = $73;
+ $997 = $996&65535;
+ $998 = $997 << 16 >> 16;
+ $999 = $42;
+ $1000 = $999&65535;
+ $1001 = $1000 << 16 >> 16;
+ $1002 = Math_imul($998, $1001)|0;
+ $68 = $1002;
+ } else {
+ $1003 = ($981|0)==(0);
+ if ($1003) {
+ $1004 = $43;
+ $72 = $1004;
+ $1005 = $72;
+ $1006 = (($1005) + 944)|0;
+ $73 = $1006;
+ $1007 = $72;
+ $1008 = $1007&65535;
+ $1009 = $1008 << 16 >> 16;
+ $1010 = $42;
+ $1011 = $1010&65535;
+ $1012 = $1011 << 16 >> 16;
+ $1013 = Math_imul($1009, $1012)|0;
+ $67 = $1013;
+ $1014 = $73;
+ $1015 = $1014&65535;
+ $1016 = $1015 << 16 >> 16;
+ $1017 = $42;
+ $1018 = $1017&65535;
+ $1019 = $1018 << 16 >> 16;
+ $1020 = Math_imul($1016, $1019)|0;
+ $68 = $1020;
+ break;
+ }
+ $1021 = $71;
+ $1022 = ($1021|0)==(-1);
+ if ($1022) {
+ $1023 = $43;
+ $73 = $1023;
+ $1024 = $73;
+ $1025 = (($1024) - 944)|0;
+ $72 = $1025;
+ $1026 = $72;
+ $1027 = (0 - ($1026))|0;
+ $1028 = $1027&65535;
+ $1029 = $1028 << 16 >> 16;
+ $1030 = $42;
+ $1031 = $1030&65535;
+ $1032 = $1031 << 16 >> 16;
+ $1033 = Math_imul($1029, $1032)|0;
+ $67 = $1033;
+ $1034 = $73;
+ $1035 = $1034&65535;
+ $1036 = $1035 << 16 >> 16;
+ $1037 = $42;
+ $1038 = $1037&65535;
+ $1039 = $1038 << 16 >> 16;
+ $1040 = Math_imul($1036, $1039)|0;
+ $68 = $1040;
+ break;
+ } else {
+ $1041 = $71;
+ $1042 = $1041 << 10;
+ $1043 = (($1042) + 80)|0;
+ $72 = $1043;
+ $1044 = $72;
+ $1045 = $43;
+ $1046 = (($1044) + ($1045))|0;
+ $72 = $1046;
+ $1047 = $72;
+ $1048 = (($1047) + 1024)|0;
+ $73 = $1048;
+ $1049 = $72;
+ $1050 = (0 - ($1049))|0;
+ $1051 = $1050&65535;
+ $1052 = $1051 << 16 >> 16;
+ $1053 = $42;
+ $1054 = $1053&65535;
+ $1055 = $1054 << 16 >> 16;
+ $1056 = Math_imul($1052, $1055)|0;
+ $67 = $1056;
+ $1057 = $73;
+ $1058 = (0 - ($1057))|0;
+ $1059 = $1058&65535;
+ $1060 = $1059 << 16 >> 16;
+ $1061 = $42;
+ $1062 = $1061&65535;
+ $1063 = $1062 << 16 >> 16;
+ $1064 = Math_imul($1060, $1063)|0;
+ $68 = $1064;
+ break;
+ }
+ }
+ } while(0);
+ $1065 = $65;
+ $1066 = $72;
+ $1067 = (($1065) - ($1066))|0;
+ $66 = $1067;
+ $1068 = $67;
+ $1069 = $66;
+ $1070 = $1069&65535;
+ $1071 = $1070 << 16 >> 16;
+ $1072 = $66;
+ $1073 = $1072&65535;
+ $1074 = $1073 << 16 >> 16;
+ $1075 = Math_imul($1071, $1074)|0;
+ $1076 = (($1068) + ($1075))|0;
+ $1077 = $1076 >> 10;
+ $67 = $1077;
+ $1078 = $65;
+ $1079 = $73;
+ $1080 = (($1078) - ($1079))|0;
+ $66 = $1080;
+ $1081 = $68;
+ $1082 = $66;
+ $1083 = $1082&65535;
+ $1084 = $1083 << 16 >> 16;
+ $1085 = $66;
+ $1086 = $1085&65535;
+ $1087 = $1086 << 16 >> 16;
+ $1088 = Math_imul($1084, $1087)|0;
+ $1089 = (($1081) + ($1088))|0;
+ $1090 = $1089 >> 10;
+ $68 = $1090;
+ $1091 = $67;
+ $1092 = $68;
+ $1093 = ($1091|0)<($1092|0);
+ $1094 = $84;
+ $1095 = ((($1094)) + 1164|0);
+ $1096 = HEAP32[$1095>>2]|0;
+ if ($1093) {
+ $1097 = $67;
+ $1098 = (($1096) + ($1097))|0;
+ $1099 = $85;
+ $1100 = ((($1099)) + 4|0);
+ HEAP32[$1100>>2] = $1098;
+ $1101 = $84;
+ $1102 = ((($1101)) + 1164|0);
+ $1103 = HEAP32[$1102>>2]|0;
+ $1104 = $68;
+ $1105 = (($1103) + ($1104))|0;
+ $1106 = $85;
+ $1107 = ((($1106)) + 24|0);
+ $1108 = ((($1107)) + 4|0);
+ HEAP32[$1108>>2] = $1105;
+ $1109 = $72;
+ $1110 = $85;
+ HEAP32[$1110>>2] = $1109;
+ $1111 = $73;
+ $1112 = $85;
+ $$sink = $1111;$$sink3 = $1112;
+ } else {
+ $1113 = $68;
+ $1114 = (($1096) + ($1113))|0;
+ $1115 = $85;
+ $1116 = ((($1115)) + 4|0);
+ HEAP32[$1116>>2] = $1114;
+ $1117 = $84;
+ $1118 = ((($1117)) + 1164|0);
+ $1119 = HEAP32[$1118>>2]|0;
+ $1120 = $67;
+ $1121 = (($1119) + ($1120))|0;
+ $1122 = $85;
+ $1123 = ((($1122)) + 24|0);
+ $1124 = ((($1123)) + 4|0);
+ HEAP32[$1124>>2] = $1121;
+ $1125 = $73;
+ $1126 = $85;
+ HEAP32[$1126>>2] = $1125;
+ $1127 = $72;
+ $1128 = $85;
+ $$sink = $1127;$$sink3 = $1128;
+ }
+ $1129 = ((($$sink3)) + 24|0);
+ HEAP32[$1129>>2] = $$sink;
+ $1130 = $85;
+ $1131 = HEAP32[$1130>>2]|0;
+ $1132 = $1131 << 4;
+ $74 = $1132;
+ $1133 = $84;
+ $1134 = ((($1133)) + 1156|0);
+ $1135 = HEAP32[$1134>>2]|0;
+ $1136 = ($1135|0)<(0);
+ if ($1136) {
+ $1137 = $74;
+ $1138 = (0 - ($1137))|0;
+ $74 = $1138;
+ }
+ $1139 = $74;
+ $1140 = $60;
+ $1141 = (($1139) + ($1140))|0;
+ $75 = $1141;
+ $1142 = $75;
+ $1143 = $61;
+ $1144 = (($1142) + ($1143))|0;
+ $76 = $1144;
+ $1145 = $76;
+ $1146 = $62;
+ $1147 = (($1145) - ($1146))|0;
+ $80 = $1147;
+ $1148 = $80;
+ $1149 = $64;
+ $1150 = (($1148) - ($1149))|0;
+ $1151 = $85;
+ $1152 = ((($1151)) + 16|0);
+ HEAP32[$1152>>2] = $1150;
+ $1153 = $80;
+ $1154 = $85;
+ $1155 = ((($1154)) + 12|0);
+ HEAP32[$1155>>2] = $1153;
+ $1156 = $75;
+ $1157 = $85;
+ $1158 = ((($1157)) + 20|0);
+ HEAP32[$1158>>2] = $1156;
+ $1159 = $76;
+ $1160 = $85;
+ $1161 = ((($1160)) + 8|0);
+ HEAP32[$1161>>2] = $1159;
+ $1162 = $85;
+ $1163 = ((($1162)) + 24|0);
+ $1164 = HEAP32[$1163>>2]|0;
+ $1165 = $1164 << 4;
+ $74 = $1165;
+ $1166 = $84;
+ $1167 = ((($1166)) + 1156|0);
+ $1168 = HEAP32[$1167>>2]|0;
+ $1169 = ($1168|0)<(0);
+ if ($1169) {
+ $1170 = $74;
+ $1171 = (0 - ($1170))|0;
+ $74 = $1171;
+ }
+ $1172 = $74;
+ $1173 = $60;
+ $1174 = (($1172) + ($1173))|0;
+ $75 = $1174;
+ $1175 = $75;
+ $1176 = $61;
+ $1177 = (($1175) + ($1176))|0;
+ $76 = $1177;
+ $1178 = $76;
+ $1179 = $62;
+ $1180 = (($1178) - ($1179))|0;
+ $80 = $1180;
+ $1181 = $80;
+ $1182 = $64;
+ $1183 = (($1181) - ($1182))|0;
+ $1184 = $85;
+ $1185 = ((($1184)) + 24|0);
+ $1186 = ((($1185)) + 16|0);
+ HEAP32[$1186>>2] = $1183;
+ $1187 = $80;
+ $1188 = $85;
+ $1189 = ((($1188)) + 24|0);
+ $1190 = ((($1189)) + 12|0);
+ HEAP32[$1190>>2] = $1187;
+ $1191 = $75;
+ $1192 = $85;
+ $1193 = ((($1192)) + 24|0);
+ $1194 = ((($1193)) + 20|0);
+ HEAP32[$1194>>2] = $1191;
+ $1195 = $76;
+ $1196 = $85;
+ $1197 = ((($1196)) + 24|0);
+ $1198 = ((($1197)) + 8|0);
+ HEAP32[$1198>>2] = $1195;
+ $1199 = $54;
+ $1200 = (($1199) + 1)|0;
+ $54 = $1200;
+ }
+ $1201 = $50;
+ $1202 = HEAP32[$1201>>2]|0;
+ $1203 = (($1202) - 1)|0;
+ $1204 = $1203 & 31;
+ $1205 = $50;
+ HEAP32[$1205>>2] = $1204;
+ $1206 = $50;
+ $1207 = HEAP32[$1206>>2]|0;
+ $1208 = $51;
+ $1209 = (($1207) + ($1208))|0;
+ $1210 = $1209 & 31;
+ $58 = $1210;
+ $1211 = ((($89)) + 4|0);
+ $1212 = HEAP32[$1211>>2]|0;
+ $69 = $1212;
+ $55 = 0;
+ $54 = 1;
+ while(1) {
+ $1213 = $54;
+ $1214 = $49;
+ $1215 = ($1213|0)<($1214|0);
+ if (!($1215)) {
+ break;
+ }
+ $1216 = $54;
+ $1217 = (($89) + (($1216*48)|0)|0);
+ $1218 = ((($1217)) + 4|0);
+ $1219 = HEAP32[$1218>>2]|0;
+ $1220 = $69;
+ $1221 = ($1219|0)<($1220|0);
+ if ($1221) {
+ $1222 = $54;
+ $1223 = (($89) + (($1222*48)|0)|0);
+ $1224 = ((($1223)) + 4|0);
+ $1225 = HEAP32[$1224>>2]|0;
+ $69 = $1225;
+ $1226 = $54;
+ $55 = $1226;
+ }
+ $1227 = $54;
+ $1228 = (($1227) + 1)|0;
+ $54 = $1228;
+ }
+ $1229 = $27;
+ $1230 = $55;
+ $1231 = (($1229) + (($1230*1168)|0)|0);
+ $1232 = ((($1231)) + 448|0);
+ $1233 = $58;
+ $1234 = (($1232) + ($1233<<2)|0);
+ $1235 = HEAP32[$1234>>2]|0;
+ $59 = $1235;
+ $54 = 0;
+ while(1) {
+ $1236 = $54;
+ $1237 = $49;
+ $1238 = ($1236|0)<($1237|0);
+ if (!($1238)) {
+ break;
+ }
+ $1239 = $27;
+ $1240 = $54;
+ $1241 = (($1239) + (($1240*1168)|0)|0);
+ $1242 = ((($1241)) + 448|0);
+ $1243 = $58;
+ $1244 = (($1242) + ($1243<<2)|0);
+ $1245 = HEAP32[$1244>>2]|0;
+ $1246 = $59;
+ $1247 = ($1245|0)!=($1246|0);
+ if ($1247) {
+ $1248 = $54;
+ $1249 = (($89) + (($1248*48)|0)|0);
+ $1250 = ((($1249)) + 4|0);
+ $1251 = HEAP32[$1250>>2]|0;
+ $1252 = (($1251) + 134217727)|0;
+ $1253 = $54;
+ $1254 = (($89) + (($1253*48)|0)|0);
+ $1255 = ((($1254)) + 4|0);
+ HEAP32[$1255>>2] = $1252;
+ $1256 = $54;
+ $1257 = (($89) + (($1256*48)|0)|0);
+ $1258 = ((($1257)) + 24|0);
+ $1259 = ((($1258)) + 4|0);
+ $1260 = HEAP32[$1259>>2]|0;
+ $1261 = (($1260) + 134217727)|0;
+ $1262 = $54;
+ $1263 = (($89) + (($1262*48)|0)|0);
+ $1264 = ((($1263)) + 24|0);
+ $1265 = ((($1264)) + 4|0);
+ HEAP32[$1265>>2] = $1261;
+ }
+ $1266 = $54;
+ $1267 = (($1266) + 1)|0;
+ $54 = $1267;
+ }
+ $1268 = ((($89)) + 4|0);
+ $1269 = HEAP32[$1268>>2]|0;
+ $70 = $1269;
+ $1270 = ((($89)) + 24|0);
+ $1271 = ((($1270)) + 4|0);
+ $1272 = HEAP32[$1271>>2]|0;
+ $69 = $1272;
+ $57 = 0;
+ $56 = 0;
+ $54 = 1;
+ while(1) {
+ $1273 = $54;
+ $1274 = $49;
+ $1275 = ($1273|0)<($1274|0);
+ if (!($1275)) {
+ break;
+ }
+ $1276 = $54;
+ $1277 = (($89) + (($1276*48)|0)|0);
+ $1278 = ((($1277)) + 4|0);
+ $1279 = HEAP32[$1278>>2]|0;
+ $1280 = $70;
+ $1281 = ($1279|0)>($1280|0);
+ if ($1281) {
+ $1282 = $54;
+ $1283 = (($89) + (($1282*48)|0)|0);
+ $1284 = ((($1283)) + 4|0);
+ $1285 = HEAP32[$1284>>2]|0;
+ $70 = $1285;
+ $1286 = $54;
+ $57 = $1286;
+ }
+ $1287 = $54;
+ $1288 = (($89) + (($1287*48)|0)|0);
+ $1289 = ((($1288)) + 24|0);
+ $1290 = ((($1289)) + 4|0);
+ $1291 = HEAP32[$1290>>2]|0;
+ $1292 = $69;
+ $1293 = ($1291|0)<($1292|0);
+ if ($1293) {
+ $1294 = $54;
+ $1295 = (($89) + (($1294*48)|0)|0);
+ $1296 = ((($1295)) + 24|0);
+ $1297 = ((($1296)) + 4|0);
+ $1298 = HEAP32[$1297>>2]|0;
+ $69 = $1298;
+ $1299 = $54;
+ $56 = $1299;
+ }
+ $1300 = $54;
+ $1301 = (($1300) + 1)|0;
+ $54 = $1301;
+ }
+ $1302 = $69;
+ $1303 = $70;
+ $1304 = ($1302|0)<($1303|0);
+ if ($1304) {
+ $1305 = $27;
+ $1306 = $57;
+ $1307 = (($1305) + (($1306*1168)|0)|0);
+ $1308 = $52;
+ $1309 = (($1307) + ($1308<<2)|0);
+ $1310 = $27;
+ $1311 = $56;
+ $1312 = (($1310) + (($1311*1168)|0)|0);
+ $1313 = $52;
+ $1314 = (($1312) + ($1313<<2)|0);
+ $1315 = $52;
+ $1316 = $1315<<2;
+ $1317 = (1168 - ($1316))|0;
+ _memcpy(($1309|0),($1314|0),($1317|0))|0;
+ $1318 = $57;
+ $1319 = (($89) + (($1318*48)|0)|0);
+ $1320 = $56;
+ $1321 = (($89) + (($1320*48)|0)|0);
+ $1322 = ((($1321)) + 24|0);
+ ;HEAP32[$1319>>2]=HEAP32[$1322>>2]|0;HEAP32[$1319+4>>2]=HEAP32[$1322+4>>2]|0;HEAP32[$1319+8>>2]=HEAP32[$1322+8>>2]|0;HEAP32[$1319+12>>2]=HEAP32[$1322+12>>2]|0;HEAP32[$1319+16>>2]=HEAP32[$1322+16>>2]|0;HEAP32[$1319+20>>2]=HEAP32[$1322+20>>2]|0;
+ }
+ $1323 = $27;
+ $1324 = $55;
+ $1325 = (($1323) + (($1324*1168)|0)|0);
+ $84 = $1325;
+ $1326 = $45;
+ $1327 = ($1326|0)>(0);
+ if ($1327) {
+ label = 56;
+ } else {
+ $1328 = $52;
+ $1329 = $51;
+ $1330 = ($1328|0)>=($1329|0);
+ if ($1330) {
+ label = 56;
+ }
+ }
+ if ((label|0) == 56) {
+ label = 0;
+ $1331 = $84;
+ $1332 = ((($1331)) + 576|0);
+ $1333 = $58;
+ $1334 = (($1332) + ($1333<<2)|0);
+ $1335 = HEAP32[$1334>>2]|0;
+ $1336 = $1335 >> 9;
+ $1337 = (($1336) + 1)|0;
+ $1338 = $1337 >> 1;
+ $1339 = $1338&255;
+ $1340 = $30;
+ $1341 = $52;
+ $1342 = $51;
+ $1343 = (($1341) - ($1342))|0;
+ $1344 = (($1340) + ($1343)|0);
+ HEAP8[$1344>>0] = $1339;
+ $1345 = $84;
+ $1346 = ((($1345)) + 704|0);
+ $1347 = $58;
+ $1348 = (($1346) + ($1347<<2)|0);
+ $1349 = HEAP32[$1348>>2]|0;
+ $1350 = $1349 >> 16;
+ $1351 = $33;
+ $1352 = $58;
+ $1353 = (($1351) + ($1352<<2)|0);
+ $1354 = HEAP32[$1353>>2]|0;
+ $1355 = $1354&65535;
+ $1356 = $1355 << 16 >> 16;
+ $1357 = Math_imul($1350, $1356)|0;
+ $1358 = $84;
+ $1359 = ((($1358)) + 704|0);
+ $1360 = $58;
+ $1361 = (($1359) + ($1360<<2)|0);
+ $1362 = HEAP32[$1361>>2]|0;
+ $1363 = $1362 & 65535;
+ $1364 = $33;
+ $1365 = $58;
+ $1366 = (($1364) + ($1365<<2)|0);
+ $1367 = HEAP32[$1366>>2]|0;
+ $1368 = $1367&65535;
+ $1369 = $1368 << 16 >> 16;
+ $1370 = Math_imul($1363, $1369)|0;
+ $1371 = $1370 >> 16;
+ $1372 = (($1357) + ($1371))|0;
+ $1373 = $84;
+ $1374 = ((($1373)) + 704|0);
+ $1375 = $58;
+ $1376 = (($1374) + ($1375<<2)|0);
+ $1377 = HEAP32[$1376>>2]|0;
+ $1378 = $33;
+ $1379 = $58;
+ $1380 = (($1378) + ($1379<<2)|0);
+ $1381 = HEAP32[$1380>>2]|0;
+ $1382 = $1381 >> 15;
+ $1383 = (($1382) + 1)|0;
+ $1384 = $1383 >> 1;
+ $1385 = Math_imul($1377, $1384)|0;
+ $1386 = (($1372) + ($1385))|0;
+ $1387 = $1386 >> 7;
+ $1388 = (($1387) + 1)|0;
+ $1389 = $1388 >> 1;
+ $1390 = ($1389|0)>(32767);
+ if ($1390) {
+ $1483 = 32767;
+ } else {
+ $1391 = $84;
+ $1392 = ((($1391)) + 704|0);
+ $1393 = $58;
+ $1394 = (($1392) + ($1393<<2)|0);
+ $1395 = HEAP32[$1394>>2]|0;
+ $1396 = $1395 >> 16;
+ $1397 = $33;
+ $1398 = $58;
+ $1399 = (($1397) + ($1398<<2)|0);
+ $1400 = HEAP32[$1399>>2]|0;
+ $1401 = $1400&65535;
+ $1402 = $1401 << 16 >> 16;
+ $1403 = Math_imul($1396, $1402)|0;
+ $1404 = $84;
+ $1405 = ((($1404)) + 704|0);
+ $1406 = $58;
+ $1407 = (($1405) + ($1406<<2)|0);
+ $1408 = HEAP32[$1407>>2]|0;
+ $1409 = $1408 & 65535;
+ $1410 = $33;
+ $1411 = $58;
+ $1412 = (($1410) + ($1411<<2)|0);
+ $1413 = HEAP32[$1412>>2]|0;
+ $1414 = $1413&65535;
+ $1415 = $1414 << 16 >> 16;
+ $1416 = Math_imul($1409, $1415)|0;
+ $1417 = $1416 >> 16;
+ $1418 = (($1403) + ($1417))|0;
+ $1419 = $84;
+ $1420 = ((($1419)) + 704|0);
+ $1421 = $58;
+ $1422 = (($1420) + ($1421<<2)|0);
+ $1423 = HEAP32[$1422>>2]|0;
+ $1424 = $33;
+ $1425 = $58;
+ $1426 = (($1424) + ($1425<<2)|0);
+ $1427 = HEAP32[$1426>>2]|0;
+ $1428 = $1427 >> 15;
+ $1429 = (($1428) + 1)|0;
+ $1430 = $1429 >> 1;
+ $1431 = Math_imul($1423, $1430)|0;
+ $1432 = (($1418) + ($1431))|0;
+ $1433 = $1432 >> 7;
+ $1434 = (($1433) + 1)|0;
+ $1435 = $1434 >> 1;
+ $1436 = ($1435|0)<(-32768);
+ if ($1436) {
+ $1483 = -32768;
+ } else {
+ $1437 = $84;
+ $1438 = ((($1437)) + 704|0);
+ $1439 = $58;
+ $1440 = (($1438) + ($1439<<2)|0);
+ $1441 = HEAP32[$1440>>2]|0;
+ $1442 = $1441 >> 16;
+ $1443 = $33;
+ $1444 = $58;
+ $1445 = (($1443) + ($1444<<2)|0);
+ $1446 = HEAP32[$1445>>2]|0;
+ $1447 = $1446&65535;
+ $1448 = $1447 << 16 >> 16;
+ $1449 = Math_imul($1442, $1448)|0;
+ $1450 = $84;
+ $1451 = ((($1450)) + 704|0);
+ $1452 = $58;
+ $1453 = (($1451) + ($1452<<2)|0);
+ $1454 = HEAP32[$1453>>2]|0;
+ $1455 = $1454 & 65535;
+ $1456 = $33;
+ $1457 = $58;
+ $1458 = (($1456) + ($1457<<2)|0);
+ $1459 = HEAP32[$1458>>2]|0;
+ $1460 = $1459&65535;
+ $1461 = $1460 << 16 >> 16;
+ $1462 = Math_imul($1455, $1461)|0;
+ $1463 = $1462 >> 16;
+ $1464 = (($1449) + ($1463))|0;
+ $1465 = $84;
+ $1466 = ((($1465)) + 704|0);
+ $1467 = $58;
+ $1468 = (($1466) + ($1467<<2)|0);
+ $1469 = HEAP32[$1468>>2]|0;
+ $1470 = $33;
+ $1471 = $58;
+ $1472 = (($1470) + ($1471<<2)|0);
+ $1473 = HEAP32[$1472>>2]|0;
+ $1474 = $1473 >> 15;
+ $1475 = (($1474) + 1)|0;
+ $1476 = $1475 >> 1;
+ $1477 = Math_imul($1469, $1476)|0;
+ $1478 = (($1464) + ($1477))|0;
+ $1479 = $1478 >> 7;
+ $1480 = (($1479) + 1)|0;
+ $1481 = $1480 >> 1;
+ $1483 = $1481;
+ }
+ }
+ $1482 = $1483&65535;
+ $1484 = $31;
+ $1485 = $52;
+ $1486 = $51;
+ $1487 = (($1485) - ($1486))|0;
+ $1488 = (($1484) + ($1487<<1)|0);
+ HEAP16[$1488>>1] = $1482;
+ $1489 = $84;
+ $1490 = ((($1489)) + 960|0);
+ $1491 = $58;
+ $1492 = (($1490) + ($1491<<2)|0);
+ $1493 = HEAP32[$1492>>2]|0;
+ $1494 = $26;
+ $1495 = ((($1494)) + 1280|0);
+ $1496 = $26;
+ $1497 = ((($1496)) + 4364|0);
+ $1498 = HEAP32[$1497>>2]|0;
+ $1499 = $51;
+ $1500 = (($1498) - ($1499))|0;
+ $1501 = (($1495) + ($1500<<2)|0);
+ HEAP32[$1501>>2] = $1493;
+ $1502 = $84;
+ $1503 = ((($1502)) + 832|0);
+ $1504 = $58;
+ $1505 = (($1503) + ($1504<<2)|0);
+ $1506 = HEAP32[$1505>>2]|0;
+ $1507 = $32;
+ $1508 = $26;
+ $1509 = ((($1508)) + 4360|0);
+ $1510 = HEAP32[$1509>>2]|0;
+ $1511 = $51;
+ $1512 = (($1510) - ($1511))|0;
+ $1513 = (($1507) + ($1512<<2)|0);
+ HEAP32[$1513>>2] = $1506;
+ }
+ $1514 = $26;
+ $1515 = ((($1514)) + 4364|0);
+ $1516 = HEAP32[$1515>>2]|0;
+ $1517 = (($1516) + 1)|0;
+ HEAP32[$1515>>2] = $1517;
+ $1518 = $26;
+ $1519 = ((($1518)) + 4360|0);
+ $1520 = HEAP32[$1519>>2]|0;
+ $1521 = (($1520) + 1)|0;
+ HEAP32[$1519>>2] = $1521;
+ $54 = 0;
+ while(1) {
+ $1522 = $54;
+ $1523 = $49;
+ $1524 = ($1522|0)<($1523|0);
+ if (!($1524)) {
+ break;
+ }
+ $1525 = $27;
+ $1526 = $54;
+ $1527 = (($1525) + (($1526*1168)|0)|0);
+ $84 = $1527;
+ $1528 = $54;
+ $1529 = (($89) + (($1528*48)|0)|0);
+ $85 = $1529;
+ $1530 = $85;
+ $1531 = ((($1530)) + 12|0);
+ $1532 = HEAP32[$1531>>2]|0;
+ $1533 = $84;
+ $1534 = ((($1533)) + 1152|0);
+ HEAP32[$1534>>2] = $1532;
+ $1535 = $85;
+ $1536 = ((($1535)) + 8|0);
+ $1537 = HEAP32[$1536>>2]|0;
+ $1538 = $84;
+ $1539 = $52;
+ $1540 = (32 + ($1539))|0;
+ $1541 = (($1538) + ($1540<<2)|0);
+ HEAP32[$1541>>2] = $1537;
+ $1542 = $85;
+ $1543 = ((($1542)) + 8|0);
+ $1544 = HEAP32[$1543>>2]|0;
+ $1545 = $84;
+ $1546 = ((($1545)) + 704|0);
+ $1547 = $50;
+ $1548 = HEAP32[$1547>>2]|0;
+ $1549 = (($1546) + ($1548<<2)|0);
+ HEAP32[$1549>>2] = $1544;
+ $1550 = $85;
+ $1551 = HEAP32[$1550>>2]|0;
+ $1552 = $84;
+ $1553 = ((($1552)) + 576|0);
+ $1554 = $50;
+ $1555 = HEAP32[$1554>>2]|0;
+ $1556 = (($1553) + ($1555<<2)|0);
+ HEAP32[$1556>>2] = $1551;
+ $1557 = $85;
+ $1558 = ((($1557)) + 20|0);
+ $1559 = HEAP32[$1558>>2]|0;
+ $1560 = $1559 << 1;
+ $1561 = $84;
+ $1562 = ((($1561)) + 832|0);
+ $1563 = $50;
+ $1564 = HEAP32[$1563>>2]|0;
+ $1565 = (($1562) + ($1564<<2)|0);
+ HEAP32[$1565>>2] = $1560;
+ $1566 = $85;
+ $1567 = ((($1566)) + 16|0);
+ $1568 = HEAP32[$1567>>2]|0;
+ $1569 = $84;
+ $1570 = ((($1569)) + 960|0);
+ $1571 = $50;
+ $1572 = HEAP32[$1571>>2]|0;
+ $1573 = (($1570) + ($1572<<2)|0);
+ HEAP32[$1573>>2] = $1568;
+ $1574 = $84;
+ $1575 = ((($1574)) + 1156|0);
+ $1576 = HEAP32[$1575>>2]|0;
+ $1577 = $85;
+ $1578 = HEAP32[$1577>>2]|0;
+ $1579 = $1578 >> 9;
+ $1580 = (($1579) + 1)|0;
+ $1581 = $1580 >> 1;
+ $1582 = (($1576) + ($1581))|0;
+ $1583 = $84;
+ $1584 = ((($1583)) + 1156|0);
+ HEAP32[$1584>>2] = $1582;
+ $1585 = $84;
+ $1586 = ((($1585)) + 1156|0);
+ $1587 = HEAP32[$1586>>2]|0;
+ $1588 = $84;
+ $1589 = ((($1588)) + 448|0);
+ $1590 = $50;
+ $1591 = HEAP32[$1590>>2]|0;
+ $1592 = (($1589) + ($1591<<2)|0);
+ HEAP32[$1592>>2] = $1587;
+ $1593 = $85;
+ $1594 = ((($1593)) + 4|0);
+ $1595 = HEAP32[$1594>>2]|0;
+ $1596 = $84;
+ $1597 = ((($1596)) + 1164|0);
+ HEAP32[$1597>>2] = $1595;
+ $1598 = $54;
+ $1599 = (($1598) + 1)|0;
+ $54 = $1599;
+ }
+ $1600 = $77;
+ $1601 = $33;
+ $1602 = $50;
+ $1603 = HEAP32[$1602>>2]|0;
+ $1604 = (($1601) + ($1603<<2)|0);
+ HEAP32[$1604>>2] = $1600;
+ $1605 = $52;
+ $1606 = (($1605) + 1)|0;
+ $52 = $1606;
+ }
+ $54 = 0;
+ while(1) {
+ $1607 = $54;
+ $1608 = $49;
+ $1609 = ($1607|0)<($1608|0);
+ if (!($1609)) {
+ break;
+ }
+ $1610 = $27;
+ $1611 = $54;
+ $1612 = (($1610) + (($1611*1168)|0)|0);
+ $84 = $1612;
+ $1613 = $84;
+ $1614 = $84;
+ $1615 = $44;
+ $1616 = (($1614) + ($1615<<2)|0);
+ dest=$1613; src=$1616; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $1617 = $54;
+ $1618 = (($1617) + 1)|0;
+ $54 = $1618;
+ }
+ $1619 = $86;
+ _llvm_stackrestore(($1619|0));
+ STACKTOP = sp;return;
+}
+function _silk_INVERSE32_varQ_424($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $3 = $0;
+ $4 = $1;
+ $11 = $3;
+ $12 = ($11|0)>(0);
+ $13 = $3;
+ $14 = (0 - ($13))|0;
+ $15 = $12 ? $13 : $14;
+ $16 = (_silk_CLZ32_426($15)|0);
+ $17 = (($16) - 1)|0;
+ $5 = $17;
+ $18 = $3;
+ $19 = $5;
+ $20 = $18 << $19;
+ $8 = $20;
+ $21 = $8;
+ $22 = $21 >> 16;
+ $23 = (536870911 / ($22|0))&-1;
+ $7 = $23;
+ $24 = $7;
+ $25 = $24 << 16;
+ $10 = $25;
+ $26 = $8;
+ $27 = $26 >> 16;
+ $28 = $7;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($27, $30)|0;
+ $32 = $8;
+ $33 = $32 & 65535;
+ $34 = $7;
+ $35 = $34&65535;
+ $36 = $35 << 16 >> 16;
+ $37 = Math_imul($33, $36)|0;
+ $38 = $37 >> 16;
+ $39 = (($31) + ($38))|0;
+ $40 = (536870912 - ($39))|0;
+ $41 = $40 << 3;
+ $9 = $41;
+ $42 = $10;
+ $43 = $9;
+ $44 = $43 >> 16;
+ $45 = $7;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $9;
+ $50 = $49 & 65535;
+ $51 = $7;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($50, $53)|0;
+ $55 = $54 >> 16;
+ $56 = (($48) + ($55))|0;
+ $57 = (($42) + ($56))|0;
+ $58 = $9;
+ $59 = $7;
+ $60 = $59 >> 15;
+ $61 = (($60) + 1)|0;
+ $62 = $61 >> 1;
+ $63 = Math_imul($58, $62)|0;
+ $64 = (($57) + ($63))|0;
+ $10 = $64;
+ $65 = $5;
+ $66 = (61 - ($65))|0;
+ $67 = $4;
+ $68 = (($66) - ($67))|0;
+ $6 = $68;
+ $69 = $6;
+ $70 = ($69|0)<=(0);
+ $71 = $6;
+ if (!($70)) {
+ $113 = ($71|0)<(32);
+ if ($113) {
+ $114 = $10;
+ $115 = $6;
+ $116 = $114 >> $115;
+ $2 = $116;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+ } else {
+ $2 = 0;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+ }
+ }
+ $72 = (0 - ($71))|0;
+ $73 = -2147483648 >> $72;
+ $74 = $6;
+ $75 = (0 - ($74))|0;
+ $76 = 2147483647 >> $75;
+ $77 = ($73|0)>($76|0);
+ $78 = $10;
+ $79 = $6;
+ $80 = (0 - ($79))|0;
+ do {
+ if ($77) {
+ $81 = -2147483648 >> $80;
+ $82 = ($78|0)>($81|0);
+ if ($82) {
+ $83 = $6;
+ $84 = (0 - ($83))|0;
+ $85 = -2147483648 >> $84;
+ $112 = $85;
+ break;
+ }
+ $86 = $10;
+ $87 = $6;
+ $88 = (0 - ($87))|0;
+ $89 = 2147483647 >> $88;
+ $90 = ($86|0)<($89|0);
+ if ($90) {
+ $91 = $6;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $112 = $93;
+ break;
+ } else {
+ $94 = $10;
+ $112 = $94;
+ break;
+ }
+ } else {
+ $95 = 2147483647 >> $80;
+ $96 = ($78|0)>($95|0);
+ if ($96) {
+ $97 = $6;
+ $98 = (0 - ($97))|0;
+ $99 = 2147483647 >> $98;
+ $112 = $99;
+ break;
+ }
+ $100 = $10;
+ $101 = $6;
+ $102 = (0 - ($101))|0;
+ $103 = -2147483648 >> $102;
+ $104 = ($100|0)<($103|0);
+ if ($104) {
+ $105 = $6;
+ $106 = (0 - ($105))|0;
+ $107 = -2147483648 >> $106;
+ $112 = $107;
+ break;
+ } else {
+ $108 = $10;
+ $112 = $108;
+ break;
+ }
+ }
+ } while(0);
+ $109 = $6;
+ $110 = (0 - ($109))|0;
+ $111 = $112 << $110;
+ $2 = $111;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+}
+function _silk_DIV32_varQ_425($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $14 = 0;
+ var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $14 = $4;
+ $15 = ($14|0)>(0);
+ $16 = $4;
+ $17 = (0 - ($16))|0;
+ $18 = $15 ? $16 : $17;
+ $19 = (_silk_CLZ32_426($18)|0);
+ $20 = (($19) - 1)|0;
+ $7 = $20;
+ $21 = $4;
+ $22 = $7;
+ $23 = $21 << $22;
+ $11 = $23;
+ $24 = $5;
+ $25 = ($24|0)>(0);
+ $26 = $5;
+ $27 = (0 - ($26))|0;
+ $28 = $25 ? $26 : $27;
+ $29 = (_silk_CLZ32_426($28)|0);
+ $30 = (($29) - 1)|0;
+ $8 = $30;
+ $31 = $5;
+ $32 = $8;
+ $33 = $31 << $32;
+ $12 = $33;
+ $34 = $12;
+ $35 = $34 >> 16;
+ $36 = (536870911 / ($35|0))&-1;
+ $10 = $36;
+ $37 = $11;
+ $38 = $37 >> 16;
+ $39 = $10;
+ $40 = $39&65535;
+ $41 = $40 << 16 >> 16;
+ $42 = Math_imul($38, $41)|0;
+ $43 = $11;
+ $44 = $43 & 65535;
+ $45 = $10;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $48 >> 16;
+ $50 = (($42) + ($49))|0;
+ $13 = $50;
+ $51 = $11;
+ $52 = $12;
+ $53 = ($52|0)<(0);
+ $54 = $53 << 31 >> 31;
+ $55 = $13;
+ $56 = ($55|0)<(0);
+ $57 = $56 << 31 >> 31;
+ $58 = (___muldi3(($52|0),($54|0),($55|0),($57|0))|0);
+ $59 = tempRet0;
+ $60 = (_bitshift64Ashr(($58|0),($59|0),32)|0);
+ $61 = tempRet0;
+ $62 = $60 << 3;
+ $63 = (($51) - ($62))|0;
+ $11 = $63;
+ $64 = $13;
+ $65 = $11;
+ $66 = $65 >> 16;
+ $67 = $10;
+ $68 = $67&65535;
+ $69 = $68 << 16 >> 16;
+ $70 = Math_imul($66, $69)|0;
+ $71 = $11;
+ $72 = $71 & 65535;
+ $73 = $10;
+ $74 = $73&65535;
+ $75 = $74 << 16 >> 16;
+ $76 = Math_imul($72, $75)|0;
+ $77 = $76 >> 16;
+ $78 = (($70) + ($77))|0;
+ $79 = (($64) + ($78))|0;
+ $13 = $79;
+ $80 = $7;
+ $81 = (29 + ($80))|0;
+ $82 = $8;
+ $83 = (($81) - ($82))|0;
+ $84 = $6;
+ $85 = (($83) - ($84))|0;
+ $9 = $85;
+ $86 = $9;
+ $87 = ($86|0)<(0);
+ $88 = $9;
+ if (!($87)) {
+ $130 = ($88|0)<(32);
+ if ($130) {
+ $131 = $13;
+ $132 = $9;
+ $133 = $131 >> $132;
+ $3 = $133;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ } else {
+ $3 = 0;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ }
+ }
+ $89 = (0 - ($88))|0;
+ $90 = -2147483648 >> $89;
+ $91 = $9;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $94 = ($90|0)>($93|0);
+ $95 = $13;
+ $96 = $9;
+ $97 = (0 - ($96))|0;
+ do {
+ if ($94) {
+ $98 = -2147483648 >> $97;
+ $99 = ($95|0)>($98|0);
+ if ($99) {
+ $100 = $9;
+ $101 = (0 - ($100))|0;
+ $102 = -2147483648 >> $101;
+ $129 = $102;
+ break;
+ }
+ $103 = $13;
+ $104 = $9;
+ $105 = (0 - ($104))|0;
+ $106 = 2147483647 >> $105;
+ $107 = ($103|0)<($106|0);
+ if ($107) {
+ $108 = $9;
+ $109 = (0 - ($108))|0;
+ $110 = 2147483647 >> $109;
+ $129 = $110;
+ break;
+ } else {
+ $111 = $13;
+ $129 = $111;
+ break;
+ }
+ } else {
+ $112 = 2147483647 >> $97;
+ $113 = ($95|0)>($112|0);
+ if ($113) {
+ $114 = $9;
+ $115 = (0 - ($114))|0;
+ $116 = 2147483647 >> $115;
+ $129 = $116;
+ break;
+ }
+ $117 = $13;
+ $118 = $9;
+ $119 = (0 - ($118))|0;
+ $120 = -2147483648 >> $119;
+ $121 = ($117|0)<($120|0);
+ if ($121) {
+ $122 = $9;
+ $123 = (0 - ($122))|0;
+ $124 = -2147483648 >> $123;
+ $129 = $124;
+ break;
+ } else {
+ $125 = $13;
+ $129 = $125;
+ break;
+ }
+ }
+ } while(0);
+ $126 = $9;
+ $127 = (0 - ($126))|0;
+ $128 = $129 << $127;
+ $3 = $128;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+}
+function _silk_CLZ32_426($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_PLC_Reset($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ((($2)) + 2328|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = $4 << 7;
+ $6 = $1;
+ $7 = ((($6)) + 4168|0);
+ HEAP32[$7>>2] = $5;
+ $8 = $1;
+ $9 = ((($8)) + 4168|0);
+ $10 = ((($9)) + 72|0);
+ HEAP32[$10>>2] = 65536;
+ $11 = $1;
+ $12 = ((($11)) + 4168|0);
+ $13 = ((($12)) + 72|0);
+ $14 = ((($13)) + 4|0);
+ HEAP32[$14>>2] = 65536;
+ $15 = $1;
+ $16 = ((($15)) + 4168|0);
+ $17 = ((($16)) + 88|0);
+ HEAP32[$17>>2] = 20;
+ $18 = $1;
+ $19 = ((($18)) + 4168|0);
+ $20 = ((($19)) + 84|0);
+ HEAP32[$20>>2] = 2;
+ STACKTOP = sp;return;
+}
+function _silk_PLC($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = $5;
+ $11 = ((($10)) + 2316|0);
+ $12 = HEAP32[$11>>2]|0;
+ $13 = $5;
+ $14 = ((($13)) + 4168|0);
+ $15 = ((($14)) + 80|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = ($12|0)!=($16|0);
+ if ($17) {
+ $18 = $5;
+ _silk_PLC_Reset($18);
+ $19 = $5;
+ $20 = ((($19)) + 2316|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = $5;
+ $23 = ((($22)) + 4168|0);
+ $24 = ((($23)) + 80|0);
+ HEAP32[$24>>2] = $21;
+ }
+ $25 = $8;
+ $26 = ($25|0)!=(0);
+ $27 = $5;
+ $28 = $6;
+ if ($26) {
+ $29 = $7;
+ $30 = $9;
+ _silk_PLC_conceal($27,$28,$29,$30);
+ $31 = $5;
+ $32 = ((($31)) + 4160|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = (($33) + 1)|0;
+ HEAP32[$32>>2] = $34;
+ STACKTOP = sp;return;
+ } else {
+ _silk_PLC_update($27,$28);
+ STACKTOP = sp;return;
+ }
+}
+function _silk_PLC_conceal($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$alloca_mul = 0, $$alloca_mul32 = 0, $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0, $1013 = 0, $1014 = 0;
+ var $1015 = 0, $1016 = 0, $1017 = 0, $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0, $1029 = 0, $103 = 0, $1030 = 0, $1031 = 0, $1032 = 0;
+ var $1033 = 0, $1034 = 0, $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0, $105 = 0, $1050 = 0;
+ var $1051 = 0, $1052 = 0, $1053 = 0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1065 = 0, $1066 = 0, $1067 = 0, $1068 = 0, $1069 = 0;
+ var $107 = 0, $1070 = 0, $1071 = 0, $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0, $1086 = 0, $1087 = 0;
+ var $1088 = 0, $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0, $11 = 0, $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0, $1103 = 0, $1104 = 0;
+ var $1105 = 0, $1106 = 0, $1107 = 0, $1108 = 0, $1109 = 0, $111 = 0, $1110 = 0, $1111 = 0, $1112 = 0, $1113 = 0, $1114 = 0, $1115 = 0, $1116 = 0, $1117 = 0, $1118 = 0, $1119 = 0, $112 = 0, $1120 = 0, $1121 = 0, $1122 = 0;
+ var $1123 = 0, $1124 = 0, $1125 = 0, $1126 = 0, $1127 = 0, $1128 = 0, $1129 = 0, $113 = 0, $1130 = 0, $1131 = 0, $1132 = 0, $1133 = 0, $1134 = 0, $1135 = 0, $1136 = 0, $1137 = 0, $1138 = 0, $1139 = 0, $114 = 0, $1140 = 0;
+ var $1141 = 0, $1142 = 0, $1143 = 0, $1144 = 0, $1145 = 0, $1146 = 0, $1147 = 0, $1148 = 0, $1149 = 0, $115 = 0, $1150 = 0, $1151 = 0, $1152 = 0, $1153 = 0, $1154 = 0, $1155 = 0, $1156 = 0, $1157 = 0, $1158 = 0, $1159 = 0;
+ var $116 = 0, $1160 = 0, $1161 = 0, $1162 = 0, $1163 = 0, $1164 = 0, $1165 = 0, $1166 = 0, $1167 = 0, $1168 = 0, $1169 = 0, $117 = 0, $1170 = 0, $1171 = 0, $1172 = 0, $1173 = 0, $1174 = 0, $1175 = 0, $1176 = 0, $1177 = 0;
+ var $1178 = 0, $1179 = 0, $118 = 0, $1180 = 0, $1181 = 0, $1182 = 0, $1183 = 0, $1184 = 0, $1185 = 0, $1186 = 0, $1187 = 0, $1188 = 0, $1189 = 0, $119 = 0, $1190 = 0, $1191 = 0, $1192 = 0, $1193 = 0, $1194 = 0, $1195 = 0;
+ var $1196 = 0, $1197 = 0, $1198 = 0, $1199 = 0, $12 = 0, $120 = 0, $1200 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0;
+ var $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0;
+ var $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0;
+ var $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0;
+ var $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
+ var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
+ var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
+ var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
+ var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
+ var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
+ var $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0;
+ var $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0;
+ var $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0;
+ var $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0;
+ var $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0;
+ var $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0;
+ var $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0;
+ var $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0;
+ var $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0;
+ var $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0;
+ var $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0;
+ var $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0;
+ var $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0;
+ var $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0;
+ var $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0;
+ var $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0;
+ var $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $6 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0;
+ var $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0;
+ var $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0;
+ var $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0;
+ var $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0;
+ var $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0;
+ var $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0;
+ var $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0;
+ var $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0;
+ var $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0;
+ var $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0;
+ var $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $8 = 0, $80 = 0, $800 = 0;
+ var $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0;
+ var $82 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0;
+ var $838 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0;
+ var $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0, $872 = 0, $873 = 0;
+ var $874 = 0, $875 = 0, $876 = 0, $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0, $890 = 0, $891 = 0;
+ var $892 = 0, $893 = 0, $894 = 0, $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0, $909 = 0;
+ var $91 = 0, $910 = 0, $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0, $927 = 0;
+ var $928 = 0, $929 = 0, $93 = 0, $930 = 0, $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0, $944 = 0, $945 = 0;
+ var $946 = 0, $947 = 0, $948 = 0, $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0, $963 = 0;
+ var $964 = 0, $965 = 0, $966 = 0, $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0, $980 = 0, $981 = 0;
+ var $982 = 0, $983 = 0, $984 = 0, $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0, $999 = 0, dest = 0;
+ var label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 176|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(176|0);
+ $14 = sp + 80|0;
+ $15 = sp + 76|0;
+ $20 = sp + 56|0;
+ $21 = sp + 52|0;
+ $29 = sp + 128|0;
+ $31 = sp + 16|0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $35 = $4;
+ $36 = ((($35)) + 4168|0);
+ $30 = $36;
+ $37 = $4;
+ $38 = ((($37)) + 2336|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = $4;
+ $41 = ((($40)) + 2328|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = (($39) + ($42))|0;
+ $44 = (_llvm_stacksave()|0);
+ $32 = $44;
+ $$alloca_mul = $43<<2;
+ $45 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $46 = $4;
+ $47 = ((($46)) + 2336|0);
+ $48 = HEAP32[$47>>2]|0;
+ $$alloca_mul32 = $48<<1;
+ $49 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul32)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul32)|0)+15)&-16)|0);;
+ $50 = $30;
+ $51 = ((($50)) + 72|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = $52 >> 6;
+ HEAP32[$31>>2] = $53;
+ $54 = $30;
+ $55 = ((($54)) + 72|0);
+ $56 = ((($55)) + 4|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = $57 >> 6;
+ $59 = ((($31)) + 4|0);
+ HEAP32[$59>>2] = $58;
+ $60 = $4;
+ $61 = ((($60)) + 2376|0);
+ $62 = HEAP32[$61>>2]|0;
+ $63 = ($62|0)!=(0);
+ if ($63) {
+ $64 = $30;
+ $65 = ((($64)) + 14|0);
+ dest=$65; stop=dest+32|0; do { HEAP16[dest>>1]=0|0; dest=dest+2|0; } while ((dest|0) < (stop|0));
+ }
+ $66 = $4;
+ $67 = ((($66)) + 4|0);
+ $68 = $4;
+ $69 = ((($68)) + 2332|0);
+ $70 = HEAP32[$69>>2]|0;
+ $71 = $4;
+ $72 = ((($71)) + 2324|0);
+ $73 = HEAP32[$72>>2]|0;
+ _silk_PLC_energy($20,$14,$21,$15,$67,$31,$70,$73);
+ $74 = HEAP32[$20>>2]|0;
+ $75 = HEAP32[$15>>2]|0;
+ $76 = $74 >> $75;
+ $77 = HEAP32[$21>>2]|0;
+ $78 = HEAP32[$14>>2]|0;
+ $79 = $77 >> $78;
+ $80 = ($76|0)<($79|0);
+ $81 = $4;
+ $82 = ((($81)) + 4|0);
+ $83 = $30;
+ $84 = ((($83)) + 84|0);
+ $85 = HEAP32[$84>>2]|0;
+ if ($80) {
+ $86 = (($85) - 1)|0;
+ $87 = $30;
+ $88 = ((($87)) + 88|0);
+ $89 = HEAP32[$88>>2]|0;
+ $90 = Math_imul($86, $89)|0;
+ $91 = (($90) - 128)|0;
+ $92 = (_silk_max_int_431(0,$91)|0);
+ $93 = (($82) + ($92<<2)|0);
+ $22 = $93;
+ } else {
+ $94 = $30;
+ $95 = ((($94)) + 88|0);
+ $96 = HEAP32[$95>>2]|0;
+ $97 = Math_imul($85, $96)|0;
+ $98 = (($97) - 128)|0;
+ $99 = (_silk_max_int_431(0,$98)|0);
+ $100 = (($82) + ($99<<2)|0);
+ $22 = $100;
+ }
+ $101 = $30;
+ $102 = ((($101)) + 4|0);
+ $27 = $102;
+ $103 = $30;
+ $104 = ((($103)) + 56|0);
+ $105 = HEAP16[$104>>1]|0;
+ $26 = $105;
+ $106 = $4;
+ $107 = ((($106)) + 4160|0);
+ $108 = HEAP32[$107>>2]|0;
+ $109 = (_silk_min_int_432(1,$108)|0);
+ $110 = (25394 + ($109<<1)|0);
+ $111 = HEAP16[$110>>1]|0;
+ $112 = $111 << 16 >> 16;
+ $17 = $112;
+ $113 = $4;
+ $114 = ((($113)) + 4164|0);
+ $115 = HEAP32[$114>>2]|0;
+ $116 = ($115|0)==(2);
+ $117 = $4;
+ $118 = ((($117)) + 4160|0);
+ $119 = HEAP32[$118>>2]|0;
+ $120 = (_silk_min_int_432(1,$119)|0);
+ if ($116) {
+ $121 = (25398 + ($120<<1)|0);
+ $122 = HEAP16[$121>>1]|0;
+ $123 = $122 << 16 >> 16;
+ $18 = $123;
+ } else {
+ $124 = (25402 + ($120<<1)|0);
+ $125 = HEAP16[$124>>1]|0;
+ $126 = $125 << 16 >> 16;
+ $18 = $126;
+ }
+ $127 = $30;
+ $128 = ((($127)) + 14|0);
+ $129 = $4;
+ $130 = ((($129)) + 2340|0);
+ $131 = HEAP32[$130>>2]|0;
+ _silk_bwexpander($128,$131,64881);
+ $132 = $30;
+ $133 = ((($132)) + 14|0);
+ $134 = $4;
+ $135 = ((($134)) + 2340|0);
+ $136 = HEAP32[$135>>2]|0;
+ $137 = $136<<1;
+ _memcpy(($29|0),($133|0),($137|0))|0;
+ $138 = $4;
+ $139 = ((($138)) + 4160|0);
+ $140 = HEAP32[$139>>2]|0;
+ $141 = ($140|0)==(0);
+ do {
+ if ($141) {
+ $26 = 16384;
+ $142 = $4;
+ $143 = ((($142)) + 4164|0);
+ $144 = HEAP32[$143>>2]|0;
+ $145 = ($144|0)==(2);
+ if (!($145)) {
+ $170 = $30;
+ $171 = ((($170)) + 14|0);
+ $172 = $4;
+ $173 = ((($172)) + 2340|0);
+ $174 = HEAP32[$173>>2]|0;
+ $175 = (_silk_LPC_inverse_pred_gain($171,$174)|0);
+ $33 = $175;
+ $176 = $33;
+ $177 = (_silk_min_32_433(134217728,$176)|0);
+ $34 = $177;
+ $178 = $34;
+ $179 = (_silk_max_32_434(4194304,$178)|0);
+ $34 = $179;
+ $180 = $34;
+ $181 = $180 << 3;
+ $34 = $181;
+ $182 = $34;
+ $183 = $182 >> 16;
+ $184 = $18;
+ $185 = $184&65535;
+ $186 = $185 << 16 >> 16;
+ $187 = Math_imul($183, $186)|0;
+ $188 = $34;
+ $189 = $188 & 65535;
+ $190 = $18;
+ $191 = $190&65535;
+ $192 = $191 << 16 >> 16;
+ $193 = Math_imul($189, $192)|0;
+ $194 = $193 >> 16;
+ $195 = (($187) + ($194))|0;
+ $196 = $195 >> 14;
+ $18 = $196;
+ break;
+ }
+ $8 = 0;
+ while(1) {
+ $146 = $8;
+ $147 = ($146|0)<(5);
+ if (!($147)) {
+ break;
+ }
+ $148 = $27;
+ $149 = $8;
+ $150 = (($148) + ($149<<1)|0);
+ $151 = HEAP16[$150>>1]|0;
+ $152 = $151 << 16 >> 16;
+ $153 = $26;
+ $154 = $153 << 16 >> 16;
+ $155 = (($154) - ($152))|0;
+ $156 = $155&65535;
+ $26 = $156;
+ $157 = $8;
+ $158 = (($157) + 1)|0;
+ $8 = $158;
+ }
+ $159 = $26;
+ $160 = (_silk_max_16(3277,$159)|0);
+ $26 = $160;
+ $161 = $26;
+ $162 = $161 << 16 >> 16;
+ $163 = $30;
+ $164 = ((($163)) + 68|0);
+ $165 = HEAP16[$164>>1]|0;
+ $166 = $165 << 16 >> 16;
+ $167 = Math_imul($162, $166)|0;
+ $168 = $167 >> 14;
+ $169 = $168&65535;
+ $26 = $169;
+ }
+ } while(0);
+ $197 = $30;
+ $198 = ((($197)) + 52|0);
+ $199 = HEAP32[$198>>2]|0;
+ $16 = $199;
+ $200 = $30;
+ $201 = HEAP32[$200>>2]|0;
+ $202 = $201 >> 7;
+ $203 = (($202) + 1)|0;
+ $204 = $203 >> 1;
+ $11 = $204;
+ $205 = $4;
+ $206 = ((($205)) + 2336|0);
+ $207 = HEAP32[$206>>2]|0;
+ $13 = $207;
+ $208 = $4;
+ $209 = ((($208)) + 2336|0);
+ $210 = HEAP32[$209>>2]|0;
+ $211 = $11;
+ $212 = (($210) - ($211))|0;
+ $213 = $4;
+ $214 = ((($213)) + 2340|0);
+ $215 = HEAP32[$214>>2]|0;
+ $216 = (($212) - ($215))|0;
+ $217 = (($216) - 2)|0;
+ $12 = $217;
+ $218 = $12;
+ $219 = (($49) + ($218<<1)|0);
+ $220 = $4;
+ $221 = ((($220)) + 1348|0);
+ $222 = $12;
+ $223 = (($221) + ($222<<1)|0);
+ $224 = $4;
+ $225 = ((($224)) + 2336|0);
+ $226 = HEAP32[$225>>2]|0;
+ $227 = $12;
+ $228 = (($226) - ($227))|0;
+ $229 = $4;
+ $230 = ((($229)) + 2340|0);
+ $231 = HEAP32[$230>>2]|0;
+ $232 = $7;
+ _silk_LPC_analysis_filter($219,$223,$29,$228,$231,$232);
+ $233 = $30;
+ $234 = ((($233)) + 72|0);
+ $235 = ((($234)) + 4|0);
+ $236 = HEAP32[$235>>2]|0;
+ $237 = (_silk_INVERSE32_varQ_435($236,46)|0);
+ $19 = $237;
+ $238 = $19;
+ $239 = ($238|0)<(1073741823);
+ $240 = $19;
+ $241 = $239 ? $240 : 1073741823;
+ $19 = $241;
+ $242 = $12;
+ $243 = $4;
+ $244 = ((($243)) + 2340|0);
+ $245 = HEAP32[$244>>2]|0;
+ $246 = (($242) + ($245))|0;
+ $8 = $246;
+ while(1) {
+ $247 = $8;
+ $248 = $4;
+ $249 = ((($248)) + 2336|0);
+ $250 = HEAP32[$249>>2]|0;
+ $251 = ($247|0)<($250|0);
+ if (!($251)) {
+ break;
+ }
+ $252 = $19;
+ $253 = $252 >> 16;
+ $254 = $8;
+ $255 = (($49) + ($254<<1)|0);
+ $256 = HEAP16[$255>>1]|0;
+ $257 = $256 << 16 >> 16;
+ $258 = Math_imul($253, $257)|0;
+ $259 = $19;
+ $260 = $259 & 65535;
+ $261 = $8;
+ $262 = (($49) + ($261<<1)|0);
+ $263 = HEAP16[$262>>1]|0;
+ $264 = $263 << 16 >> 16;
+ $265 = Math_imul($260, $264)|0;
+ $266 = $265 >> 16;
+ $267 = (($258) + ($266))|0;
+ $268 = $8;
+ $269 = (($45) + ($268<<2)|0);
+ HEAP32[$269>>2] = $267;
+ $270 = $8;
+ $271 = (($270) + 1)|0;
+ $8 = $271;
+ }
+ $10 = 0;
+ while(1) {
+ $272 = $10;
+ $273 = $4;
+ $274 = ((($273)) + 2324|0);
+ $275 = HEAP32[$274>>2]|0;
+ $276 = ($272|0)<($275|0);
+ if (!($276)) {
+ break;
+ }
+ $277 = $13;
+ $278 = $11;
+ $279 = (($277) - ($278))|0;
+ $280 = (($279) + 2)|0;
+ $281 = (($45) + ($280<<2)|0);
+ $23 = $281;
+ $8 = 0;
+ while(1) {
+ $282 = $8;
+ $283 = $4;
+ $284 = ((($283)) + 2332|0);
+ $285 = HEAP32[$284>>2]|0;
+ $286 = ($282|0)<($285|0);
+ if (!($286)) {
+ break;
+ }
+ $25 = 2;
+ $287 = $25;
+ $288 = $23;
+ $289 = HEAP32[$288>>2]|0;
+ $290 = $289 >> 16;
+ $291 = $27;
+ $292 = HEAP16[$291>>1]|0;
+ $293 = $292 << 16 >> 16;
+ $294 = Math_imul($290, $293)|0;
+ $295 = $23;
+ $296 = HEAP32[$295>>2]|0;
+ $297 = $296 & 65535;
+ $298 = $27;
+ $299 = HEAP16[$298>>1]|0;
+ $300 = $299 << 16 >> 16;
+ $301 = Math_imul($297, $300)|0;
+ $302 = $301 >> 16;
+ $303 = (($294) + ($302))|0;
+ $304 = (($287) + ($303))|0;
+ $25 = $304;
+ $305 = $25;
+ $306 = $23;
+ $307 = ((($306)) + -4|0);
+ $308 = HEAP32[$307>>2]|0;
+ $309 = $308 >> 16;
+ $310 = $27;
+ $311 = ((($310)) + 2|0);
+ $312 = HEAP16[$311>>1]|0;
+ $313 = $312 << 16 >> 16;
+ $314 = Math_imul($309, $313)|0;
+ $315 = $23;
+ $316 = ((($315)) + -4|0);
+ $317 = HEAP32[$316>>2]|0;
+ $318 = $317 & 65535;
+ $319 = $27;
+ $320 = ((($319)) + 2|0);
+ $321 = HEAP16[$320>>1]|0;
+ $322 = $321 << 16 >> 16;
+ $323 = Math_imul($318, $322)|0;
+ $324 = $323 >> 16;
+ $325 = (($314) + ($324))|0;
+ $326 = (($305) + ($325))|0;
+ $25 = $326;
+ $327 = $25;
+ $328 = $23;
+ $329 = ((($328)) + -8|0);
+ $330 = HEAP32[$329>>2]|0;
+ $331 = $330 >> 16;
+ $332 = $27;
+ $333 = ((($332)) + 4|0);
+ $334 = HEAP16[$333>>1]|0;
+ $335 = $334 << 16 >> 16;
+ $336 = Math_imul($331, $335)|0;
+ $337 = $23;
+ $338 = ((($337)) + -8|0);
+ $339 = HEAP32[$338>>2]|0;
+ $340 = $339 & 65535;
+ $341 = $27;
+ $342 = ((($341)) + 4|0);
+ $343 = HEAP16[$342>>1]|0;
+ $344 = $343 << 16 >> 16;
+ $345 = Math_imul($340, $344)|0;
+ $346 = $345 >> 16;
+ $347 = (($336) + ($346))|0;
+ $348 = (($327) + ($347))|0;
+ $25 = $348;
+ $349 = $25;
+ $350 = $23;
+ $351 = ((($350)) + -12|0);
+ $352 = HEAP32[$351>>2]|0;
+ $353 = $352 >> 16;
+ $354 = $27;
+ $355 = ((($354)) + 6|0);
+ $356 = HEAP16[$355>>1]|0;
+ $357 = $356 << 16 >> 16;
+ $358 = Math_imul($353, $357)|0;
+ $359 = $23;
+ $360 = ((($359)) + -12|0);
+ $361 = HEAP32[$360>>2]|0;
+ $362 = $361 & 65535;
+ $363 = $27;
+ $364 = ((($363)) + 6|0);
+ $365 = HEAP16[$364>>1]|0;
+ $366 = $365 << 16 >> 16;
+ $367 = Math_imul($362, $366)|0;
+ $368 = $367 >> 16;
+ $369 = (($358) + ($368))|0;
+ $370 = (($349) + ($369))|0;
+ $25 = $370;
+ $371 = $25;
+ $372 = $23;
+ $373 = ((($372)) + -16|0);
+ $374 = HEAP32[$373>>2]|0;
+ $375 = $374 >> 16;
+ $376 = $27;
+ $377 = ((($376)) + 8|0);
+ $378 = HEAP16[$377>>1]|0;
+ $379 = $378 << 16 >> 16;
+ $380 = Math_imul($375, $379)|0;
+ $381 = $23;
+ $382 = ((($381)) + -16|0);
+ $383 = HEAP32[$382>>2]|0;
+ $384 = $383 & 65535;
+ $385 = $27;
+ $386 = ((($385)) + 8|0);
+ $387 = HEAP16[$386>>1]|0;
+ $388 = $387 << 16 >> 16;
+ $389 = Math_imul($384, $388)|0;
+ $390 = $389 >> 16;
+ $391 = (($380) + ($390))|0;
+ $392 = (($371) + ($391))|0;
+ $25 = $392;
+ $393 = $23;
+ $394 = ((($393)) + 4|0);
+ $23 = $394;
+ $395 = $16;
+ $396 = Math_imul($395, 196314165)|0;
+ $397 = (907633515 + ($396))|0;
+ $16 = $397;
+ $398 = $16;
+ $399 = $398 >> 25;
+ $400 = $399 & 127;
+ $12 = $400;
+ $401 = $25;
+ $402 = $22;
+ $403 = $12;
+ $404 = (($402) + ($403<<2)|0);
+ $405 = HEAP32[$404>>2]|0;
+ $406 = $405 >> 16;
+ $407 = $26;
+ $408 = $407 << 16 >> 16;
+ $409 = Math_imul($406, $408)|0;
+ $410 = $22;
+ $411 = $12;
+ $412 = (($410) + ($411<<2)|0);
+ $413 = HEAP32[$412>>2]|0;
+ $414 = $413 & 65535;
+ $415 = $26;
+ $416 = $415 << 16 >> 16;
+ $417 = Math_imul($414, $416)|0;
+ $418 = $417 >> 16;
+ $419 = (($409) + ($418))|0;
+ $420 = (($401) + ($419))|0;
+ $421 = $420 << 2;
+ $422 = $13;
+ $423 = (($45) + ($422<<2)|0);
+ HEAP32[$423>>2] = $421;
+ $424 = $13;
+ $425 = (($424) + 1)|0;
+ $13 = $425;
+ $426 = $8;
+ $427 = (($426) + 1)|0;
+ $8 = $427;
+ }
+ $9 = 0;
+ while(1) {
+ $428 = $9;
+ $429 = ($428|0)<(5);
+ if (!($429)) {
+ break;
+ }
+ $430 = $17;
+ $431 = $430&65535;
+ $432 = $431 << 16 >> 16;
+ $433 = $27;
+ $434 = $9;
+ $435 = (($433) + ($434<<1)|0);
+ $436 = HEAP16[$435>>1]|0;
+ $437 = $436 << 16 >> 16;
+ $438 = Math_imul($432, $437)|0;
+ $439 = $438 >> 15;
+ $440 = $439&65535;
+ $441 = $27;
+ $442 = $9;
+ $443 = (($441) + ($442<<1)|0);
+ HEAP16[$443>>1] = $440;
+ $444 = $9;
+ $445 = (($444) + 1)|0;
+ $9 = $445;
+ }
+ $446 = $26;
+ $447 = $446 << 16 >> 16;
+ $448 = $18;
+ $449 = $448&65535;
+ $450 = $449 << 16 >> 16;
+ $451 = Math_imul($447, $450)|0;
+ $452 = $451 >> 15;
+ $453 = $452&65535;
+ $26 = $453;
+ $454 = $30;
+ $455 = HEAP32[$454>>2]|0;
+ $456 = $30;
+ $457 = HEAP32[$456>>2]|0;
+ $458 = $457 >> 16;
+ $459 = ($458*655)|0;
+ $460 = $30;
+ $461 = HEAP32[$460>>2]|0;
+ $462 = $461 & 65535;
+ $463 = ($462*655)|0;
+ $464 = $463 >> 16;
+ $465 = (($459) + ($464))|0;
+ $466 = (($455) + ($465))|0;
+ $467 = $30;
+ HEAP32[$467>>2] = $466;
+ $468 = $30;
+ $469 = HEAP32[$468>>2]|0;
+ $470 = $4;
+ $471 = ((($470)) + 2316|0);
+ $472 = HEAP32[$471>>2]|0;
+ $473 = $472&65535;
+ $474 = $473 << 16 >> 16;
+ $475 = ($474*18)|0;
+ $476 = $475 << 8;
+ $477 = (_silk_min_32_433($469,$476)|0);
+ $478 = $30;
+ HEAP32[$478>>2] = $477;
+ $479 = $30;
+ $480 = HEAP32[$479>>2]|0;
+ $481 = $480 >> 7;
+ $482 = (($481) + 1)|0;
+ $483 = $482 >> 1;
+ $11 = $483;
+ $484 = $10;
+ $485 = (($484) + 1)|0;
+ $10 = $485;
+ }
+ $486 = $4;
+ $487 = ((($486)) + 2336|0);
+ $488 = HEAP32[$487>>2]|0;
+ $489 = (($488) - 16)|0;
+ $490 = (($45) + ($489<<2)|0);
+ $28 = $490;
+ $491 = $28;
+ $492 = $4;
+ $493 = ((($492)) + 1284|0);
+ dest=$491; src=$493; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $8 = 0;
+ while(1) {
+ $494 = $8;
+ $495 = $4;
+ $496 = ((($495)) + 2328|0);
+ $497 = HEAP32[$496>>2]|0;
+ $498 = ($494|0)<($497|0);
+ $499 = $4;
+ if (!($498)) {
+ break;
+ }
+ $500 = ((($499)) + 2340|0);
+ $501 = HEAP32[$500>>2]|0;
+ $502 = $501 >> 1;
+ $24 = $502;
+ $503 = $24;
+ $504 = $28;
+ $505 = $8;
+ $506 = (16 + ($505))|0;
+ $507 = (($506) - 1)|0;
+ $508 = (($504) + ($507<<2)|0);
+ $509 = HEAP32[$508>>2]|0;
+ $510 = $509 >> 16;
+ $511 = HEAP16[$29>>1]|0;
+ $512 = $511 << 16 >> 16;
+ $513 = Math_imul($510, $512)|0;
+ $514 = $28;
+ $515 = $8;
+ $516 = (16 + ($515))|0;
+ $517 = (($516) - 1)|0;
+ $518 = (($514) + ($517<<2)|0);
+ $519 = HEAP32[$518>>2]|0;
+ $520 = $519 & 65535;
+ $521 = HEAP16[$29>>1]|0;
+ $522 = $521 << 16 >> 16;
+ $523 = Math_imul($520, $522)|0;
+ $524 = $523 >> 16;
+ $525 = (($513) + ($524))|0;
+ $526 = (($503) + ($525))|0;
+ $24 = $526;
+ $527 = $24;
+ $528 = $28;
+ $529 = $8;
+ $530 = (16 + ($529))|0;
+ $531 = (($530) - 2)|0;
+ $532 = (($528) + ($531<<2)|0);
+ $533 = HEAP32[$532>>2]|0;
+ $534 = $533 >> 16;
+ $535 = ((($29)) + 2|0);
+ $536 = HEAP16[$535>>1]|0;
+ $537 = $536 << 16 >> 16;
+ $538 = Math_imul($534, $537)|0;
+ $539 = $28;
+ $540 = $8;
+ $541 = (16 + ($540))|0;
+ $542 = (($541) - 2)|0;
+ $543 = (($539) + ($542<<2)|0);
+ $544 = HEAP32[$543>>2]|0;
+ $545 = $544 & 65535;
+ $546 = ((($29)) + 2|0);
+ $547 = HEAP16[$546>>1]|0;
+ $548 = $547 << 16 >> 16;
+ $549 = Math_imul($545, $548)|0;
+ $550 = $549 >> 16;
+ $551 = (($538) + ($550))|0;
+ $552 = (($527) + ($551))|0;
+ $24 = $552;
+ $553 = $24;
+ $554 = $28;
+ $555 = $8;
+ $556 = (16 + ($555))|0;
+ $557 = (($556) - 3)|0;
+ $558 = (($554) + ($557<<2)|0);
+ $559 = HEAP32[$558>>2]|0;
+ $560 = $559 >> 16;
+ $561 = ((($29)) + 4|0);
+ $562 = HEAP16[$561>>1]|0;
+ $563 = $562 << 16 >> 16;
+ $564 = Math_imul($560, $563)|0;
+ $565 = $28;
+ $566 = $8;
+ $567 = (16 + ($566))|0;
+ $568 = (($567) - 3)|0;
+ $569 = (($565) + ($568<<2)|0);
+ $570 = HEAP32[$569>>2]|0;
+ $571 = $570 & 65535;
+ $572 = ((($29)) + 4|0);
+ $573 = HEAP16[$572>>1]|0;
+ $574 = $573 << 16 >> 16;
+ $575 = Math_imul($571, $574)|0;
+ $576 = $575 >> 16;
+ $577 = (($564) + ($576))|0;
+ $578 = (($553) + ($577))|0;
+ $24 = $578;
+ $579 = $24;
+ $580 = $28;
+ $581 = $8;
+ $582 = (16 + ($581))|0;
+ $583 = (($582) - 4)|0;
+ $584 = (($580) + ($583<<2)|0);
+ $585 = HEAP32[$584>>2]|0;
+ $586 = $585 >> 16;
+ $587 = ((($29)) + 6|0);
+ $588 = HEAP16[$587>>1]|0;
+ $589 = $588 << 16 >> 16;
+ $590 = Math_imul($586, $589)|0;
+ $591 = $28;
+ $592 = $8;
+ $593 = (16 + ($592))|0;
+ $594 = (($593) - 4)|0;
+ $595 = (($591) + ($594<<2)|0);
+ $596 = HEAP32[$595>>2]|0;
+ $597 = $596 & 65535;
+ $598 = ((($29)) + 6|0);
+ $599 = HEAP16[$598>>1]|0;
+ $600 = $599 << 16 >> 16;
+ $601 = Math_imul($597, $600)|0;
+ $602 = $601 >> 16;
+ $603 = (($590) + ($602))|0;
+ $604 = (($579) + ($603))|0;
+ $24 = $604;
+ $605 = $24;
+ $606 = $28;
+ $607 = $8;
+ $608 = (16 + ($607))|0;
+ $609 = (($608) - 5)|0;
+ $610 = (($606) + ($609<<2)|0);
+ $611 = HEAP32[$610>>2]|0;
+ $612 = $611 >> 16;
+ $613 = ((($29)) + 8|0);
+ $614 = HEAP16[$613>>1]|0;
+ $615 = $614 << 16 >> 16;
+ $616 = Math_imul($612, $615)|0;
+ $617 = $28;
+ $618 = $8;
+ $619 = (16 + ($618))|0;
+ $620 = (($619) - 5)|0;
+ $621 = (($617) + ($620<<2)|0);
+ $622 = HEAP32[$621>>2]|0;
+ $623 = $622 & 65535;
+ $624 = ((($29)) + 8|0);
+ $625 = HEAP16[$624>>1]|0;
+ $626 = $625 << 16 >> 16;
+ $627 = Math_imul($623, $626)|0;
+ $628 = $627 >> 16;
+ $629 = (($616) + ($628))|0;
+ $630 = (($605) + ($629))|0;
+ $24 = $630;
+ $631 = $24;
+ $632 = $28;
+ $633 = $8;
+ $634 = (16 + ($633))|0;
+ $635 = (($634) - 6)|0;
+ $636 = (($632) + ($635<<2)|0);
+ $637 = HEAP32[$636>>2]|0;
+ $638 = $637 >> 16;
+ $639 = ((($29)) + 10|0);
+ $640 = HEAP16[$639>>1]|0;
+ $641 = $640 << 16 >> 16;
+ $642 = Math_imul($638, $641)|0;
+ $643 = $28;
+ $644 = $8;
+ $645 = (16 + ($644))|0;
+ $646 = (($645) - 6)|0;
+ $647 = (($643) + ($646<<2)|0);
+ $648 = HEAP32[$647>>2]|0;
+ $649 = $648 & 65535;
+ $650 = ((($29)) + 10|0);
+ $651 = HEAP16[$650>>1]|0;
+ $652 = $651 << 16 >> 16;
+ $653 = Math_imul($649, $652)|0;
+ $654 = $653 >> 16;
+ $655 = (($642) + ($654))|0;
+ $656 = (($631) + ($655))|0;
+ $24 = $656;
+ $657 = $24;
+ $658 = $28;
+ $659 = $8;
+ $660 = (16 + ($659))|0;
+ $661 = (($660) - 7)|0;
+ $662 = (($658) + ($661<<2)|0);
+ $663 = HEAP32[$662>>2]|0;
+ $664 = $663 >> 16;
+ $665 = ((($29)) + 12|0);
+ $666 = HEAP16[$665>>1]|0;
+ $667 = $666 << 16 >> 16;
+ $668 = Math_imul($664, $667)|0;
+ $669 = $28;
+ $670 = $8;
+ $671 = (16 + ($670))|0;
+ $672 = (($671) - 7)|0;
+ $673 = (($669) + ($672<<2)|0);
+ $674 = HEAP32[$673>>2]|0;
+ $675 = $674 & 65535;
+ $676 = ((($29)) + 12|0);
+ $677 = HEAP16[$676>>1]|0;
+ $678 = $677 << 16 >> 16;
+ $679 = Math_imul($675, $678)|0;
+ $680 = $679 >> 16;
+ $681 = (($668) + ($680))|0;
+ $682 = (($657) + ($681))|0;
+ $24 = $682;
+ $683 = $24;
+ $684 = $28;
+ $685 = $8;
+ $686 = (16 + ($685))|0;
+ $687 = (($686) - 8)|0;
+ $688 = (($684) + ($687<<2)|0);
+ $689 = HEAP32[$688>>2]|0;
+ $690 = $689 >> 16;
+ $691 = ((($29)) + 14|0);
+ $692 = HEAP16[$691>>1]|0;
+ $693 = $692 << 16 >> 16;
+ $694 = Math_imul($690, $693)|0;
+ $695 = $28;
+ $696 = $8;
+ $697 = (16 + ($696))|0;
+ $698 = (($697) - 8)|0;
+ $699 = (($695) + ($698<<2)|0);
+ $700 = HEAP32[$699>>2]|0;
+ $701 = $700 & 65535;
+ $702 = ((($29)) + 14|0);
+ $703 = HEAP16[$702>>1]|0;
+ $704 = $703 << 16 >> 16;
+ $705 = Math_imul($701, $704)|0;
+ $706 = $705 >> 16;
+ $707 = (($694) + ($706))|0;
+ $708 = (($683) + ($707))|0;
+ $24 = $708;
+ $709 = $24;
+ $710 = $28;
+ $711 = $8;
+ $712 = (16 + ($711))|0;
+ $713 = (($712) - 9)|0;
+ $714 = (($710) + ($713<<2)|0);
+ $715 = HEAP32[$714>>2]|0;
+ $716 = $715 >> 16;
+ $717 = ((($29)) + 16|0);
+ $718 = HEAP16[$717>>1]|0;
+ $719 = $718 << 16 >> 16;
+ $720 = Math_imul($716, $719)|0;
+ $721 = $28;
+ $722 = $8;
+ $723 = (16 + ($722))|0;
+ $724 = (($723) - 9)|0;
+ $725 = (($721) + ($724<<2)|0);
+ $726 = HEAP32[$725>>2]|0;
+ $727 = $726 & 65535;
+ $728 = ((($29)) + 16|0);
+ $729 = HEAP16[$728>>1]|0;
+ $730 = $729 << 16 >> 16;
+ $731 = Math_imul($727, $730)|0;
+ $732 = $731 >> 16;
+ $733 = (($720) + ($732))|0;
+ $734 = (($709) + ($733))|0;
+ $24 = $734;
+ $735 = $24;
+ $736 = $28;
+ $737 = $8;
+ $738 = (16 + ($737))|0;
+ $739 = (($738) - 10)|0;
+ $740 = (($736) + ($739<<2)|0);
+ $741 = HEAP32[$740>>2]|0;
+ $742 = $741 >> 16;
+ $743 = ((($29)) + 18|0);
+ $744 = HEAP16[$743>>1]|0;
+ $745 = $744 << 16 >> 16;
+ $746 = Math_imul($742, $745)|0;
+ $747 = $28;
+ $748 = $8;
+ $749 = (16 + ($748))|0;
+ $750 = (($749) - 10)|0;
+ $751 = (($747) + ($750<<2)|0);
+ $752 = HEAP32[$751>>2]|0;
+ $753 = $752 & 65535;
+ $754 = ((($29)) + 18|0);
+ $755 = HEAP16[$754>>1]|0;
+ $756 = $755 << 16 >> 16;
+ $757 = Math_imul($753, $756)|0;
+ $758 = $757 >> 16;
+ $759 = (($746) + ($758))|0;
+ $760 = (($735) + ($759))|0;
+ $24 = $760;
+ $9 = 10;
+ while(1) {
+ $761 = $9;
+ $762 = $4;
+ $763 = ((($762)) + 2340|0);
+ $764 = HEAP32[$763>>2]|0;
+ $765 = ($761|0)<($764|0);
+ if (!($765)) {
+ break;
+ }
+ $766 = $24;
+ $767 = $28;
+ $768 = $8;
+ $769 = (16 + ($768))|0;
+ $770 = $9;
+ $771 = (($769) - ($770))|0;
+ $772 = (($771) - 1)|0;
+ $773 = (($767) + ($772<<2)|0);
+ $774 = HEAP32[$773>>2]|0;
+ $775 = $774 >> 16;
+ $776 = $9;
+ $777 = (($29) + ($776<<1)|0);
+ $778 = HEAP16[$777>>1]|0;
+ $779 = $778 << 16 >> 16;
+ $780 = Math_imul($775, $779)|0;
+ $781 = $28;
+ $782 = $8;
+ $783 = (16 + ($782))|0;
+ $784 = $9;
+ $785 = (($783) - ($784))|0;
+ $786 = (($785) - 1)|0;
+ $787 = (($781) + ($786<<2)|0);
+ $788 = HEAP32[$787>>2]|0;
+ $789 = $788 & 65535;
+ $790 = $9;
+ $791 = (($29) + ($790<<1)|0);
+ $792 = HEAP16[$791>>1]|0;
+ $793 = $792 << 16 >> 16;
+ $794 = Math_imul($789, $793)|0;
+ $795 = $794 >> 16;
+ $796 = (($780) + ($795))|0;
+ $797 = (($766) + ($796))|0;
+ $24 = $797;
+ $798 = $9;
+ $799 = (($798) + 1)|0;
+ $9 = $799;
+ }
+ $800 = $28;
+ $801 = $8;
+ $802 = (16 + ($801))|0;
+ $803 = (($800) + ($802<<2)|0);
+ $804 = HEAP32[$803>>2]|0;
+ $805 = $24;
+ $806 = $805 << 4;
+ $807 = (($804) + ($806))|0;
+ $808 = $28;
+ $809 = $8;
+ $810 = (16 + ($809))|0;
+ $811 = (($808) + ($810<<2)|0);
+ HEAP32[$811>>2] = $807;
+ $812 = $28;
+ $813 = $8;
+ $814 = (16 + ($813))|0;
+ $815 = (($812) + ($814<<2)|0);
+ $816 = HEAP32[$815>>2]|0;
+ $817 = $816 >> 16;
+ $818 = ((($31)) + 4|0);
+ $819 = HEAP32[$818>>2]|0;
+ $820 = $819&65535;
+ $821 = $820 << 16 >> 16;
+ $822 = Math_imul($817, $821)|0;
+ $823 = $28;
+ $824 = $8;
+ $825 = (16 + ($824))|0;
+ $826 = (($823) + ($825<<2)|0);
+ $827 = HEAP32[$826>>2]|0;
+ $828 = $827 & 65535;
+ $829 = ((($31)) + 4|0);
+ $830 = HEAP32[$829>>2]|0;
+ $831 = $830&65535;
+ $832 = $831 << 16 >> 16;
+ $833 = Math_imul($828, $832)|0;
+ $834 = $833 >> 16;
+ $835 = (($822) + ($834))|0;
+ $836 = $28;
+ $837 = $8;
+ $838 = (16 + ($837))|0;
+ $839 = (($836) + ($838<<2)|0);
+ $840 = HEAP32[$839>>2]|0;
+ $841 = ((($31)) + 4|0);
+ $842 = HEAP32[$841>>2]|0;
+ $843 = $842 >> 15;
+ $844 = (($843) + 1)|0;
+ $845 = $844 >> 1;
+ $846 = Math_imul($840, $845)|0;
+ $847 = (($835) + ($846))|0;
+ $848 = $847 >> 7;
+ $849 = (($848) + 1)|0;
+ $850 = $849 >> 1;
+ $851 = ($850|0)>(32767);
+ if ($851) {
+ $931 = 32767;
+ } else {
+ $852 = $28;
+ $853 = $8;
+ $854 = (16 + ($853))|0;
+ $855 = (($852) + ($854<<2)|0);
+ $856 = HEAP32[$855>>2]|0;
+ $857 = $856 >> 16;
+ $858 = ((($31)) + 4|0);
+ $859 = HEAP32[$858>>2]|0;
+ $860 = $859&65535;
+ $861 = $860 << 16 >> 16;
+ $862 = Math_imul($857, $861)|0;
+ $863 = $28;
+ $864 = $8;
+ $865 = (16 + ($864))|0;
+ $866 = (($863) + ($865<<2)|0);
+ $867 = HEAP32[$866>>2]|0;
+ $868 = $867 & 65535;
+ $869 = ((($31)) + 4|0);
+ $870 = HEAP32[$869>>2]|0;
+ $871 = $870&65535;
+ $872 = $871 << 16 >> 16;
+ $873 = Math_imul($868, $872)|0;
+ $874 = $873 >> 16;
+ $875 = (($862) + ($874))|0;
+ $876 = $28;
+ $877 = $8;
+ $878 = (16 + ($877))|0;
+ $879 = (($876) + ($878<<2)|0);
+ $880 = HEAP32[$879>>2]|0;
+ $881 = ((($31)) + 4|0);
+ $882 = HEAP32[$881>>2]|0;
+ $883 = $882 >> 15;
+ $884 = (($883) + 1)|0;
+ $885 = $884 >> 1;
+ $886 = Math_imul($880, $885)|0;
+ $887 = (($875) + ($886))|0;
+ $888 = $887 >> 7;
+ $889 = (($888) + 1)|0;
+ $890 = $889 >> 1;
+ $891 = ($890|0)<(-32768);
+ if ($891) {
+ $931 = -32768;
+ } else {
+ $892 = $28;
+ $893 = $8;
+ $894 = (16 + ($893))|0;
+ $895 = (($892) + ($894<<2)|0);
+ $896 = HEAP32[$895>>2]|0;
+ $897 = $896 >> 16;
+ $898 = ((($31)) + 4|0);
+ $899 = HEAP32[$898>>2]|0;
+ $900 = $899&65535;
+ $901 = $900 << 16 >> 16;
+ $902 = Math_imul($897, $901)|0;
+ $903 = $28;
+ $904 = $8;
+ $905 = (16 + ($904))|0;
+ $906 = (($903) + ($905<<2)|0);
+ $907 = HEAP32[$906>>2]|0;
+ $908 = $907 & 65535;
+ $909 = ((($31)) + 4|0);
+ $910 = HEAP32[$909>>2]|0;
+ $911 = $910&65535;
+ $912 = $911 << 16 >> 16;
+ $913 = Math_imul($908, $912)|0;
+ $914 = $913 >> 16;
+ $915 = (($902) + ($914))|0;
+ $916 = $28;
+ $917 = $8;
+ $918 = (16 + ($917))|0;
+ $919 = (($916) + ($918<<2)|0);
+ $920 = HEAP32[$919>>2]|0;
+ $921 = ((($31)) + 4|0);
+ $922 = HEAP32[$921>>2]|0;
+ $923 = $922 >> 15;
+ $924 = (($923) + 1)|0;
+ $925 = $924 >> 1;
+ $926 = Math_imul($920, $925)|0;
+ $927 = (($915) + ($926))|0;
+ $928 = $927 >> 7;
+ $929 = (($928) + 1)|0;
+ $930 = $929 >> 1;
+ $931 = $930;
+ }
+ }
+ $932 = ($931|0)>(32767);
+ if ($932) {
+ $1174 = 32767;
+ } else {
+ $933 = $28;
+ $934 = $8;
+ $935 = (16 + ($934))|0;
+ $936 = (($933) + ($935<<2)|0);
+ $937 = HEAP32[$936>>2]|0;
+ $938 = $937 >> 16;
+ $939 = ((($31)) + 4|0);
+ $940 = HEAP32[$939>>2]|0;
+ $941 = $940&65535;
+ $942 = $941 << 16 >> 16;
+ $943 = Math_imul($938, $942)|0;
+ $944 = $28;
+ $945 = $8;
+ $946 = (16 + ($945))|0;
+ $947 = (($944) + ($946<<2)|0);
+ $948 = HEAP32[$947>>2]|0;
+ $949 = $948 & 65535;
+ $950 = ((($31)) + 4|0);
+ $951 = HEAP32[$950>>2]|0;
+ $952 = $951&65535;
+ $953 = $952 << 16 >> 16;
+ $954 = Math_imul($949, $953)|0;
+ $955 = $954 >> 16;
+ $956 = (($943) + ($955))|0;
+ $957 = $28;
+ $958 = $8;
+ $959 = (16 + ($958))|0;
+ $960 = (($957) + ($959<<2)|0);
+ $961 = HEAP32[$960>>2]|0;
+ $962 = ((($31)) + 4|0);
+ $963 = HEAP32[$962>>2]|0;
+ $964 = $963 >> 15;
+ $965 = (($964) + 1)|0;
+ $966 = $965 >> 1;
+ $967 = Math_imul($961, $966)|0;
+ $968 = (($956) + ($967))|0;
+ $969 = $968 >> 7;
+ $970 = (($969) + 1)|0;
+ $971 = $970 >> 1;
+ $972 = ($971|0)>(32767);
+ if ($972) {
+ $1052 = 32767;
+ } else {
+ $973 = $28;
+ $974 = $8;
+ $975 = (16 + ($974))|0;
+ $976 = (($973) + ($975<<2)|0);
+ $977 = HEAP32[$976>>2]|0;
+ $978 = $977 >> 16;
+ $979 = ((($31)) + 4|0);
+ $980 = HEAP32[$979>>2]|0;
+ $981 = $980&65535;
+ $982 = $981 << 16 >> 16;
+ $983 = Math_imul($978, $982)|0;
+ $984 = $28;
+ $985 = $8;
+ $986 = (16 + ($985))|0;
+ $987 = (($984) + ($986<<2)|0);
+ $988 = HEAP32[$987>>2]|0;
+ $989 = $988 & 65535;
+ $990 = ((($31)) + 4|0);
+ $991 = HEAP32[$990>>2]|0;
+ $992 = $991&65535;
+ $993 = $992 << 16 >> 16;
+ $994 = Math_imul($989, $993)|0;
+ $995 = $994 >> 16;
+ $996 = (($983) + ($995))|0;
+ $997 = $28;
+ $998 = $8;
+ $999 = (16 + ($998))|0;
+ $1000 = (($997) + ($999<<2)|0);
+ $1001 = HEAP32[$1000>>2]|0;
+ $1002 = ((($31)) + 4|0);
+ $1003 = HEAP32[$1002>>2]|0;
+ $1004 = $1003 >> 15;
+ $1005 = (($1004) + 1)|0;
+ $1006 = $1005 >> 1;
+ $1007 = Math_imul($1001, $1006)|0;
+ $1008 = (($996) + ($1007))|0;
+ $1009 = $1008 >> 7;
+ $1010 = (($1009) + 1)|0;
+ $1011 = $1010 >> 1;
+ $1012 = ($1011|0)<(-32768);
+ if ($1012) {
+ $1052 = -32768;
+ } else {
+ $1013 = $28;
+ $1014 = $8;
+ $1015 = (16 + ($1014))|0;
+ $1016 = (($1013) + ($1015<<2)|0);
+ $1017 = HEAP32[$1016>>2]|0;
+ $1018 = $1017 >> 16;
+ $1019 = ((($31)) + 4|0);
+ $1020 = HEAP32[$1019>>2]|0;
+ $1021 = $1020&65535;
+ $1022 = $1021 << 16 >> 16;
+ $1023 = Math_imul($1018, $1022)|0;
+ $1024 = $28;
+ $1025 = $8;
+ $1026 = (16 + ($1025))|0;
+ $1027 = (($1024) + ($1026<<2)|0);
+ $1028 = HEAP32[$1027>>2]|0;
+ $1029 = $1028 & 65535;
+ $1030 = ((($31)) + 4|0);
+ $1031 = HEAP32[$1030>>2]|0;
+ $1032 = $1031&65535;
+ $1033 = $1032 << 16 >> 16;
+ $1034 = Math_imul($1029, $1033)|0;
+ $1035 = $1034 >> 16;
+ $1036 = (($1023) + ($1035))|0;
+ $1037 = $28;
+ $1038 = $8;
+ $1039 = (16 + ($1038))|0;
+ $1040 = (($1037) + ($1039<<2)|0);
+ $1041 = HEAP32[$1040>>2]|0;
+ $1042 = ((($31)) + 4|0);
+ $1043 = HEAP32[$1042>>2]|0;
+ $1044 = $1043 >> 15;
+ $1045 = (($1044) + 1)|0;
+ $1046 = $1045 >> 1;
+ $1047 = Math_imul($1041, $1046)|0;
+ $1048 = (($1036) + ($1047))|0;
+ $1049 = $1048 >> 7;
+ $1050 = (($1049) + 1)|0;
+ $1051 = $1050 >> 1;
+ $1052 = $1051;
+ }
+ }
+ $1053 = ($1052|0)<(-32768);
+ if ($1053) {
+ $1174 = -32768;
+ } else {
+ $1054 = $28;
+ $1055 = $8;
+ $1056 = (16 + ($1055))|0;
+ $1057 = (($1054) + ($1056<<2)|0);
+ $1058 = HEAP32[$1057>>2]|0;
+ $1059 = $1058 >> 16;
+ $1060 = ((($31)) + 4|0);
+ $1061 = HEAP32[$1060>>2]|0;
+ $1062 = $1061&65535;
+ $1063 = $1062 << 16 >> 16;
+ $1064 = Math_imul($1059, $1063)|0;
+ $1065 = $28;
+ $1066 = $8;
+ $1067 = (16 + ($1066))|0;
+ $1068 = (($1065) + ($1067<<2)|0);
+ $1069 = HEAP32[$1068>>2]|0;
+ $1070 = $1069 & 65535;
+ $1071 = ((($31)) + 4|0);
+ $1072 = HEAP32[$1071>>2]|0;
+ $1073 = $1072&65535;
+ $1074 = $1073 << 16 >> 16;
+ $1075 = Math_imul($1070, $1074)|0;
+ $1076 = $1075 >> 16;
+ $1077 = (($1064) + ($1076))|0;
+ $1078 = $28;
+ $1079 = $8;
+ $1080 = (16 + ($1079))|0;
+ $1081 = (($1078) + ($1080<<2)|0);
+ $1082 = HEAP32[$1081>>2]|0;
+ $1083 = ((($31)) + 4|0);
+ $1084 = HEAP32[$1083>>2]|0;
+ $1085 = $1084 >> 15;
+ $1086 = (($1085) + 1)|0;
+ $1087 = $1086 >> 1;
+ $1088 = Math_imul($1082, $1087)|0;
+ $1089 = (($1077) + ($1088))|0;
+ $1090 = $1089 >> 7;
+ $1091 = (($1090) + 1)|0;
+ $1092 = $1091 >> 1;
+ $1093 = ($1092|0)>(32767);
+ if ($1093) {
+ $1174 = 32767;
+ } else {
+ $1094 = $28;
+ $1095 = $8;
+ $1096 = (16 + ($1095))|0;
+ $1097 = (($1094) + ($1096<<2)|0);
+ $1098 = HEAP32[$1097>>2]|0;
+ $1099 = $1098 >> 16;
+ $1100 = ((($31)) + 4|0);
+ $1101 = HEAP32[$1100>>2]|0;
+ $1102 = $1101&65535;
+ $1103 = $1102 << 16 >> 16;
+ $1104 = Math_imul($1099, $1103)|0;
+ $1105 = $28;
+ $1106 = $8;
+ $1107 = (16 + ($1106))|0;
+ $1108 = (($1105) + ($1107<<2)|0);
+ $1109 = HEAP32[$1108>>2]|0;
+ $1110 = $1109 & 65535;
+ $1111 = ((($31)) + 4|0);
+ $1112 = HEAP32[$1111>>2]|0;
+ $1113 = $1112&65535;
+ $1114 = $1113 << 16 >> 16;
+ $1115 = Math_imul($1110, $1114)|0;
+ $1116 = $1115 >> 16;
+ $1117 = (($1104) + ($1116))|0;
+ $1118 = $28;
+ $1119 = $8;
+ $1120 = (16 + ($1119))|0;
+ $1121 = (($1118) + ($1120<<2)|0);
+ $1122 = HEAP32[$1121>>2]|0;
+ $1123 = ((($31)) + 4|0);
+ $1124 = HEAP32[$1123>>2]|0;
+ $1125 = $1124 >> 15;
+ $1126 = (($1125) + 1)|0;
+ $1127 = $1126 >> 1;
+ $1128 = Math_imul($1122, $1127)|0;
+ $1129 = (($1117) + ($1128))|0;
+ $1130 = $1129 >> 7;
+ $1131 = (($1130) + 1)|0;
+ $1132 = $1131 >> 1;
+ $1133 = ($1132|0)<(-32768);
+ if ($1133) {
+ $1174 = -32768;
+ } else {
+ $1134 = $28;
+ $1135 = $8;
+ $1136 = (16 + ($1135))|0;
+ $1137 = (($1134) + ($1136<<2)|0);
+ $1138 = HEAP32[$1137>>2]|0;
+ $1139 = $1138 >> 16;
+ $1140 = ((($31)) + 4|0);
+ $1141 = HEAP32[$1140>>2]|0;
+ $1142 = $1141&65535;
+ $1143 = $1142 << 16 >> 16;
+ $1144 = Math_imul($1139, $1143)|0;
+ $1145 = $28;
+ $1146 = $8;
+ $1147 = (16 + ($1146))|0;
+ $1148 = (($1145) + ($1147<<2)|0);
+ $1149 = HEAP32[$1148>>2]|0;
+ $1150 = $1149 & 65535;
+ $1151 = ((($31)) + 4|0);
+ $1152 = HEAP32[$1151>>2]|0;
+ $1153 = $1152&65535;
+ $1154 = $1153 << 16 >> 16;
+ $1155 = Math_imul($1150, $1154)|0;
+ $1156 = $1155 >> 16;
+ $1157 = (($1144) + ($1156))|0;
+ $1158 = $28;
+ $1159 = $8;
+ $1160 = (16 + ($1159))|0;
+ $1161 = (($1158) + ($1160<<2)|0);
+ $1162 = HEAP32[$1161>>2]|0;
+ $1163 = ((($31)) + 4|0);
+ $1164 = HEAP32[$1163>>2]|0;
+ $1165 = $1164 >> 15;
+ $1166 = (($1165) + 1)|0;
+ $1167 = $1166 >> 1;
+ $1168 = Math_imul($1162, $1167)|0;
+ $1169 = (($1157) + ($1168))|0;
+ $1170 = $1169 >> 7;
+ $1171 = (($1170) + 1)|0;
+ $1172 = $1171 >> 1;
+ $1174 = $1172;
+ }
+ }
+ }
+ }
+ $1173 = $1174&65535;
+ $1175 = $6;
+ $1176 = $8;
+ $1177 = (($1175) + ($1176<<1)|0);
+ HEAP16[$1177>>1] = $1173;
+ $1178 = $8;
+ $1179 = (($1178) + 1)|0;
+ $8 = $1179;
+ }
+ $1180 = ((($499)) + 1284|0);
+ $1181 = $28;
+ $1182 = $4;
+ $1183 = ((($1182)) + 2328|0);
+ $1184 = HEAP32[$1183>>2]|0;
+ $1185 = (($1181) + ($1184<<2)|0);
+ dest=$1180; src=$1185; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $1186 = $16;
+ $1187 = $30;
+ $1188 = ((($1187)) + 52|0);
+ HEAP32[$1188>>2] = $1186;
+ $1189 = $26;
+ $1190 = $30;
+ $1191 = ((($1190)) + 56|0);
+ HEAP16[$1191>>1] = $1189;
+ $8 = 0;
+ while(1) {
+ $1192 = $8;
+ $1193 = ($1192|0)<(4);
+ if (!($1193)) {
+ break;
+ }
+ $1194 = $11;
+ $1195 = $5;
+ $1196 = $8;
+ $1197 = (($1195) + ($1196<<2)|0);
+ HEAP32[$1197>>2] = $1194;
+ $1198 = $8;
+ $1199 = (($1198) + 1)|0;
+ $8 = $1199;
+ }
+ $1200 = $32;
+ _llvm_stackrestore(($1200|0));
+ STACKTOP = sp;return;
+}
+function _silk_PLC_update($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
+ var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0;
+ var $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0;
+ var $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0;
+ var $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0;
+ var $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $2 = $0;
+ $3 = $1;
+ $13 = $2;
+ $14 = ((($13)) + 4168|0);
+ $8 = $14;
+ $15 = $2;
+ $16 = ((($15)) + 2736|0);
+ $17 = ((($16)) + 29|0);
+ $18 = HEAP8[$17>>0]|0;
+ $19 = $18 << 24 >> 24;
+ $20 = $2;
+ $21 = ((($20)) + 4164|0);
+ HEAP32[$21>>2] = $19;
+ $4 = 0;
+ $22 = $2;
+ $23 = ((($22)) + 2736|0);
+ $24 = ((($23)) + 29|0);
+ $25 = HEAP8[$24>>0]|0;
+ $26 = $25 << 24 >> 24;
+ $27 = ($26|0)==(2);
+ L1: do {
+ if ($27) {
+ $7 = 0;
+ while(1) {
+ $28 = $7;
+ $29 = $2;
+ $30 = ((($29)) + 2332|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = Math_imul($28, $31)|0;
+ $33 = $3;
+ $34 = $2;
+ $35 = ((($34)) + 2324|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = (($36) - 1)|0;
+ $38 = (($33) + ($37<<2)|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = ($32|0)<($39|0);
+ if (!($40)) {
+ break;
+ }
+ $41 = $7;
+ $42 = $2;
+ $43 = ((($42)) + 2324|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = ($41|0)==($44|0);
+ if ($45) {
+ break;
+ }
+ $5 = 0;
+ $6 = 0;
+ while(1) {
+ $46 = $6;
+ $47 = ($46|0)<(5);
+ if (!($47)) {
+ break;
+ }
+ $48 = $3;
+ $49 = ((($48)) + 96|0);
+ $50 = $2;
+ $51 = ((($50)) + 2324|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = (($52) - 1)|0;
+ $54 = $7;
+ $55 = (($53) - ($54))|0;
+ $56 = ($55*5)|0;
+ $57 = $6;
+ $58 = (($56) + ($57))|0;
+ $59 = (($49) + ($58<<1)|0);
+ $60 = HEAP16[$59>>1]|0;
+ $61 = $60 << 16 >> 16;
+ $62 = $5;
+ $63 = (($62) + ($61))|0;
+ $5 = $63;
+ $64 = $6;
+ $65 = (($64) + 1)|0;
+ $6 = $65;
+ }
+ $66 = $5;
+ $67 = $4;
+ $68 = ($66|0)>($67|0);
+ if ($68) {
+ $69 = $5;
+ $4 = $69;
+ $70 = $8;
+ $71 = ((($70)) + 4|0);
+ $72 = $3;
+ $73 = ((($72)) + 96|0);
+ $74 = $2;
+ $75 = ((($74)) + 2324|0);
+ $76 = HEAP32[$75>>2]|0;
+ $77 = (($76) - 1)|0;
+ $78 = $7;
+ $79 = (($77) - ($78))|0;
+ $80 = $79&65535;
+ $81 = $80 << 16 >> 16;
+ $82 = ($81*5)|0;
+ $83 = (($73) + ($82<<1)|0);
+ ;HEAP16[$71>>1]=HEAP16[$83>>1]|0;HEAP16[$71+2>>1]=HEAP16[$83+2>>1]|0;HEAP16[$71+4>>1]=HEAP16[$83+4>>1]|0;HEAP16[$71+6>>1]=HEAP16[$83+6>>1]|0;HEAP16[$71+8>>1]=HEAP16[$83+8>>1]|0;
+ $84 = $3;
+ $85 = $2;
+ $86 = ((($85)) + 2324|0);
+ $87 = HEAP32[$86>>2]|0;
+ $88 = (($87) - 1)|0;
+ $89 = $7;
+ $90 = (($88) - ($89))|0;
+ $91 = (($84) + ($90<<2)|0);
+ $92 = HEAP32[$91>>2]|0;
+ $93 = $92 << 8;
+ $94 = $8;
+ HEAP32[$94>>2] = $93;
+ }
+ $95 = $7;
+ $96 = (($95) + 1)|0;
+ $7 = $96;
+ }
+ $97 = $8;
+ $98 = ((($97)) + 4|0);
+ ;HEAP32[$98>>2]=0|0;HEAP32[$98+4>>2]=0|0;HEAP16[$98+8>>1]=0|0;
+ $99 = $4;
+ $100 = $99&65535;
+ $101 = $8;
+ $102 = ((($101)) + 4|0);
+ $103 = ((($102)) + 4|0);
+ HEAP16[$103>>1] = $100;
+ $104 = $4;
+ $105 = ($104|0)<(11469);
+ if ($105) {
+ $10 = 11744256;
+ $106 = $10;
+ $107 = $4;
+ $108 = ($107|0)>(1);
+ $109 = $4;
+ $110 = $108 ? $109 : 1;
+ $111 = (($106|0) / ($110|0))&-1;
+ $9 = $111;
+ $6 = 0;
+ while(1) {
+ $112 = $6;
+ $113 = ($112|0)<(5);
+ if (!($113)) {
+ break L1;
+ }
+ $114 = $8;
+ $115 = ((($114)) + 4|0);
+ $116 = $6;
+ $117 = (($115) + ($116<<1)|0);
+ $118 = HEAP16[$117>>1]|0;
+ $119 = $118 << 16 >> 16;
+ $120 = $9;
+ $121 = $120&65535;
+ $122 = $121 << 16 >> 16;
+ $123 = Math_imul($119, $122)|0;
+ $124 = $123 >> 10;
+ $125 = $124&65535;
+ $126 = $8;
+ $127 = ((($126)) + 4|0);
+ $128 = $6;
+ $129 = (($127) + ($128<<1)|0);
+ HEAP16[$129>>1] = $125;
+ $130 = $6;
+ $131 = (($130) + 1)|0;
+ $6 = $131;
+ }
+ }
+ $132 = $4;
+ $133 = ($132|0)>(15565);
+ if ($133) {
+ $12 = 255016960;
+ $134 = $12;
+ $135 = $4;
+ $136 = ($135|0)>(1);
+ $137 = $4;
+ $138 = $136 ? $137 : 1;
+ $139 = (($134|0) / ($138|0))&-1;
+ $11 = $139;
+ $6 = 0;
+ while(1) {
+ $140 = $6;
+ $141 = ($140|0)<(5);
+ if (!($141)) {
+ break L1;
+ }
+ $142 = $8;
+ $143 = ((($142)) + 4|0);
+ $144 = $6;
+ $145 = (($143) + ($144<<1)|0);
+ $146 = HEAP16[$145>>1]|0;
+ $147 = $146 << 16 >> 16;
+ $148 = $11;
+ $149 = $148&65535;
+ $150 = $149 << 16 >> 16;
+ $151 = Math_imul($147, $150)|0;
+ $152 = $151 >> 14;
+ $153 = $152&65535;
+ $154 = $8;
+ $155 = ((($154)) + 4|0);
+ $156 = $6;
+ $157 = (($155) + ($156<<1)|0);
+ HEAP16[$157>>1] = $153;
+ $158 = $6;
+ $159 = (($158) + 1)|0;
+ $6 = $159;
+ }
+ }
+ } else {
+ $160 = $2;
+ $161 = ((($160)) + 2316|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = $162&65535;
+ $164 = $163 << 16 >> 16;
+ $165 = ($164*18)|0;
+ $166 = $165 << 8;
+ $167 = $8;
+ HEAP32[$167>>2] = $166;
+ $168 = $8;
+ $169 = ((($168)) + 4|0);
+ ;HEAP32[$169>>2]=0|0;HEAP32[$169+4>>2]=0|0;HEAP16[$169+8>>1]=0|0;
+ }
+ } while(0);
+ $170 = $8;
+ $171 = ((($170)) + 14|0);
+ $172 = $3;
+ $173 = ((($172)) + 32|0);
+ $174 = ((($173)) + 32|0);
+ $175 = $2;
+ $176 = ((($175)) + 2340|0);
+ $177 = HEAP32[$176>>2]|0;
+ $178 = $177<<1;
+ _memcpy(($171|0),($174|0),($178|0))|0;
+ $179 = $3;
+ $180 = ((($179)) + 136|0);
+ $181 = HEAP32[$180>>2]|0;
+ $182 = $181&65535;
+ $183 = $8;
+ $184 = ((($183)) + 68|0);
+ HEAP16[$184>>1] = $182;
+ $185 = $8;
+ $186 = ((($185)) + 72|0);
+ $187 = $3;
+ $188 = ((($187)) + 16|0);
+ $189 = $2;
+ $190 = ((($189)) + 2324|0);
+ $191 = HEAP32[$190>>2]|0;
+ $192 = (($191) - 2)|0;
+ $193 = (($188) + ($192<<2)|0);
+ ;HEAP32[$186>>2]=HEAP32[$193>>2]|0;HEAP32[$186+4>>2]=HEAP32[$193+4>>2]|0;
+ $194 = $2;
+ $195 = ((($194)) + 2332|0);
+ $196 = HEAP32[$195>>2]|0;
+ $197 = $8;
+ $198 = ((($197)) + 88|0);
+ HEAP32[$198>>2] = $196;
+ $199 = $2;
+ $200 = ((($199)) + 2324|0);
+ $201 = HEAP32[$200>>2]|0;
+ $202 = $8;
+ $203 = ((($202)) + 84|0);
+ HEAP32[$203>>2] = $201;
+ STACKTOP = sp;return;
+}
+function _silk_PLC_energy($0,$1,$2,$3,$4,$5,$6,$7) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ var $$alloca_mul = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0;
+ var $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0;
+ var $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0;
+ var $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0;
+ var $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0;
+ var $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0;
+ var $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $8 = $0;
+ $9 = $1;
+ $10 = $2;
+ $11 = $3;
+ $12 = $4;
+ $13 = $5;
+ $14 = $6;
+ $15 = $7;
+ $20 = $14;
+ $21 = $20<<1;
+ $22 = (_llvm_stacksave()|0);
+ $19 = $22;
+ $$alloca_mul = $21<<1;
+ $23 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $18 = $23;
+ $17 = 0;
+ while(1) {
+ $24 = $17;
+ $25 = ($24|0)<(2);
+ if (!($25)) {
+ break;
+ }
+ $16 = 0;
+ while(1) {
+ $26 = $16;
+ $27 = $14;
+ $28 = ($26|0)<($27|0);
+ if (!($28)) {
+ break;
+ }
+ $29 = $12;
+ $30 = $16;
+ $31 = $17;
+ $32 = $15;
+ $33 = (($31) + ($32))|0;
+ $34 = (($33) - 2)|0;
+ $35 = $14;
+ $36 = Math_imul($34, $35)|0;
+ $37 = (($30) + ($36))|0;
+ $38 = (($29) + ($37<<2)|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = $39 >> 16;
+ $41 = $13;
+ $42 = $17;
+ $43 = (($41) + ($42<<2)|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = $44&65535;
+ $46 = $45 << 16 >> 16;
+ $47 = Math_imul($40, $46)|0;
+ $48 = $12;
+ $49 = $16;
+ $50 = $17;
+ $51 = $15;
+ $52 = (($50) + ($51))|0;
+ $53 = (($52) - 2)|0;
+ $54 = $14;
+ $55 = Math_imul($53, $54)|0;
+ $56 = (($49) + ($55))|0;
+ $57 = (($48) + ($56<<2)|0);
+ $58 = HEAP32[$57>>2]|0;
+ $59 = $58 & 65535;
+ $60 = $13;
+ $61 = $17;
+ $62 = (($60) + ($61<<2)|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = $63&65535;
+ $65 = $64 << 16 >> 16;
+ $66 = Math_imul($59, $65)|0;
+ $67 = $66 >> 16;
+ $68 = (($47) + ($67))|0;
+ $69 = $12;
+ $70 = $16;
+ $71 = $17;
+ $72 = $15;
+ $73 = (($71) + ($72))|0;
+ $74 = (($73) - 2)|0;
+ $75 = $14;
+ $76 = Math_imul($74, $75)|0;
+ $77 = (($70) + ($76))|0;
+ $78 = (($69) + ($77<<2)|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = $13;
+ $81 = $17;
+ $82 = (($80) + ($81<<2)|0);
+ $83 = HEAP32[$82>>2]|0;
+ $84 = $83 >> 15;
+ $85 = (($84) + 1)|0;
+ $86 = $85 >> 1;
+ $87 = Math_imul($79, $86)|0;
+ $88 = (($68) + ($87))|0;
+ $89 = $88 >> 8;
+ $90 = ($89|0)>(32767);
+ if ($90) {
+ $215 = 32767;
+ } else {
+ $91 = $12;
+ $92 = $16;
+ $93 = $17;
+ $94 = $15;
+ $95 = (($93) + ($94))|0;
+ $96 = (($95) - 2)|0;
+ $97 = $14;
+ $98 = Math_imul($96, $97)|0;
+ $99 = (($92) + ($98))|0;
+ $100 = (($91) + ($99<<2)|0);
+ $101 = HEAP32[$100>>2]|0;
+ $102 = $101 >> 16;
+ $103 = $13;
+ $104 = $17;
+ $105 = (($103) + ($104<<2)|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = $106&65535;
+ $108 = $107 << 16 >> 16;
+ $109 = Math_imul($102, $108)|0;
+ $110 = $12;
+ $111 = $16;
+ $112 = $17;
+ $113 = $15;
+ $114 = (($112) + ($113))|0;
+ $115 = (($114) - 2)|0;
+ $116 = $14;
+ $117 = Math_imul($115, $116)|0;
+ $118 = (($111) + ($117))|0;
+ $119 = (($110) + ($118<<2)|0);
+ $120 = HEAP32[$119>>2]|0;
+ $121 = $120 & 65535;
+ $122 = $13;
+ $123 = $17;
+ $124 = (($122) + ($123<<2)|0);
+ $125 = HEAP32[$124>>2]|0;
+ $126 = $125&65535;
+ $127 = $126 << 16 >> 16;
+ $128 = Math_imul($121, $127)|0;
+ $129 = $128 >> 16;
+ $130 = (($109) + ($129))|0;
+ $131 = $12;
+ $132 = $16;
+ $133 = $17;
+ $134 = $15;
+ $135 = (($133) + ($134))|0;
+ $136 = (($135) - 2)|0;
+ $137 = $14;
+ $138 = Math_imul($136, $137)|0;
+ $139 = (($132) + ($138))|0;
+ $140 = (($131) + ($139<<2)|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = $13;
+ $143 = $17;
+ $144 = (($142) + ($143<<2)|0);
+ $145 = HEAP32[$144>>2]|0;
+ $146 = $145 >> 15;
+ $147 = (($146) + 1)|0;
+ $148 = $147 >> 1;
+ $149 = Math_imul($141, $148)|0;
+ $150 = (($130) + ($149))|0;
+ $151 = $150 >> 8;
+ $152 = ($151|0)<(-32768);
+ if ($152) {
+ $215 = -32768;
+ } else {
+ $153 = $12;
+ $154 = $16;
+ $155 = $17;
+ $156 = $15;
+ $157 = (($155) + ($156))|0;
+ $158 = (($157) - 2)|0;
+ $159 = $14;
+ $160 = Math_imul($158, $159)|0;
+ $161 = (($154) + ($160))|0;
+ $162 = (($153) + ($161<<2)|0);
+ $163 = HEAP32[$162>>2]|0;
+ $164 = $163 >> 16;
+ $165 = $13;
+ $166 = $17;
+ $167 = (($165) + ($166<<2)|0);
+ $168 = HEAP32[$167>>2]|0;
+ $169 = $168&65535;
+ $170 = $169 << 16 >> 16;
+ $171 = Math_imul($164, $170)|0;
+ $172 = $12;
+ $173 = $16;
+ $174 = $17;
+ $175 = $15;
+ $176 = (($174) + ($175))|0;
+ $177 = (($176) - 2)|0;
+ $178 = $14;
+ $179 = Math_imul($177, $178)|0;
+ $180 = (($173) + ($179))|0;
+ $181 = (($172) + ($180<<2)|0);
+ $182 = HEAP32[$181>>2]|0;
+ $183 = $182 & 65535;
+ $184 = $13;
+ $185 = $17;
+ $186 = (($184) + ($185<<2)|0);
+ $187 = HEAP32[$186>>2]|0;
+ $188 = $187&65535;
+ $189 = $188 << 16 >> 16;
+ $190 = Math_imul($183, $189)|0;
+ $191 = $190 >> 16;
+ $192 = (($171) + ($191))|0;
+ $193 = $12;
+ $194 = $16;
+ $195 = $17;
+ $196 = $15;
+ $197 = (($195) + ($196))|0;
+ $198 = (($197) - 2)|0;
+ $199 = $14;
+ $200 = Math_imul($198, $199)|0;
+ $201 = (($194) + ($200))|0;
+ $202 = (($193) + ($201<<2)|0);
+ $203 = HEAP32[$202>>2]|0;
+ $204 = $13;
+ $205 = $17;
+ $206 = (($204) + ($205<<2)|0);
+ $207 = HEAP32[$206>>2]|0;
+ $208 = $207 >> 15;
+ $209 = (($208) + 1)|0;
+ $210 = $209 >> 1;
+ $211 = Math_imul($203, $210)|0;
+ $212 = (($192) + ($211))|0;
+ $213 = $212 >> 8;
+ $215 = $213;
+ }
+ }
+ $214 = $215&65535;
+ $216 = $18;
+ $217 = $16;
+ $218 = (($216) + ($217<<1)|0);
+ HEAP16[$218>>1] = $214;
+ $219 = $16;
+ $220 = (($219) + 1)|0;
+ $16 = $220;
+ }
+ $221 = $14;
+ $222 = $18;
+ $223 = (($222) + ($221<<1)|0);
+ $18 = $223;
+ $224 = $17;
+ $225 = (($224) + 1)|0;
+ $17 = $225;
+ }
+ $226 = $8;
+ $227 = $9;
+ $228 = $14;
+ _silk_sum_sqr_shift($226,$227,$23,$228);
+ $229 = $10;
+ $230 = $11;
+ $231 = $14;
+ $232 = (($23) + ($231<<1)|0);
+ $233 = $14;
+ _silk_sum_sqr_shift($229,$230,$232,$233);
+ $234 = $19;
+ _llvm_stackrestore(($234|0));
+ STACKTOP = sp;return;
+}
+function _silk_max_int_431($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_min_int_432($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_max_16($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$sink = 0, $10 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $4 << 16 >> 16;
+ $6 = $3;
+ $7 = $6 << 16 >> 16;
+ $8 = ($5|0)>($7|0);
+ $9 = $3;
+ $10 = $2;
+ $$sink = $8 ? $10 : $9;
+ $11 = $$sink << 16 >> 16;
+ $12 = $11&65535;
+ STACKTOP = sp;return ($12|0);
+}
+function _silk_min_32_433($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_max_32_434($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_INVERSE32_varQ_435($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $3 = $0;
+ $4 = $1;
+ $11 = $3;
+ $12 = ($11|0)>(0);
+ $13 = $3;
+ $14 = (0 - ($13))|0;
+ $15 = $12 ? $13 : $14;
+ $16 = (_silk_CLZ32_436($15)|0);
+ $17 = (($16) - 1)|0;
+ $5 = $17;
+ $18 = $3;
+ $19 = $5;
+ $20 = $18 << $19;
+ $8 = $20;
+ $21 = $8;
+ $22 = $21 >> 16;
+ $23 = (536870911 / ($22|0))&-1;
+ $7 = $23;
+ $24 = $7;
+ $25 = $24 << 16;
+ $10 = $25;
+ $26 = $8;
+ $27 = $26 >> 16;
+ $28 = $7;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($27, $30)|0;
+ $32 = $8;
+ $33 = $32 & 65535;
+ $34 = $7;
+ $35 = $34&65535;
+ $36 = $35 << 16 >> 16;
+ $37 = Math_imul($33, $36)|0;
+ $38 = $37 >> 16;
+ $39 = (($31) + ($38))|0;
+ $40 = (536870912 - ($39))|0;
+ $41 = $40 << 3;
+ $9 = $41;
+ $42 = $10;
+ $43 = $9;
+ $44 = $43 >> 16;
+ $45 = $7;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $9;
+ $50 = $49 & 65535;
+ $51 = $7;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($50, $53)|0;
+ $55 = $54 >> 16;
+ $56 = (($48) + ($55))|0;
+ $57 = (($42) + ($56))|0;
+ $58 = $9;
+ $59 = $7;
+ $60 = $59 >> 15;
+ $61 = (($60) + 1)|0;
+ $62 = $61 >> 1;
+ $63 = Math_imul($58, $62)|0;
+ $64 = (($57) + ($63))|0;
+ $10 = $64;
+ $65 = $5;
+ $66 = (61 - ($65))|0;
+ $67 = $4;
+ $68 = (($66) - ($67))|0;
+ $6 = $68;
+ $69 = $6;
+ $70 = ($69|0)<=(0);
+ $71 = $6;
+ if (!($70)) {
+ $113 = ($71|0)<(32);
+ if ($113) {
+ $114 = $10;
+ $115 = $6;
+ $116 = $114 >> $115;
+ $2 = $116;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+ } else {
+ $2 = 0;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+ }
+ }
+ $72 = (0 - ($71))|0;
+ $73 = -2147483648 >> $72;
+ $74 = $6;
+ $75 = (0 - ($74))|0;
+ $76 = 2147483647 >> $75;
+ $77 = ($73|0)>($76|0);
+ $78 = $10;
+ $79 = $6;
+ $80 = (0 - ($79))|0;
+ do {
+ if ($77) {
+ $81 = -2147483648 >> $80;
+ $82 = ($78|0)>($81|0);
+ if ($82) {
+ $83 = $6;
+ $84 = (0 - ($83))|0;
+ $85 = -2147483648 >> $84;
+ $112 = $85;
+ break;
+ }
+ $86 = $10;
+ $87 = $6;
+ $88 = (0 - ($87))|0;
+ $89 = 2147483647 >> $88;
+ $90 = ($86|0)<($89|0);
+ if ($90) {
+ $91 = $6;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $112 = $93;
+ break;
+ } else {
+ $94 = $10;
+ $112 = $94;
+ break;
+ }
+ } else {
+ $95 = 2147483647 >> $80;
+ $96 = ($78|0)>($95|0);
+ if ($96) {
+ $97 = $6;
+ $98 = (0 - ($97))|0;
+ $99 = 2147483647 >> $98;
+ $112 = $99;
+ break;
+ }
+ $100 = $10;
+ $101 = $6;
+ $102 = (0 - ($101))|0;
+ $103 = -2147483648 >> $102;
+ $104 = ($100|0)<($103|0);
+ if ($104) {
+ $105 = $6;
+ $106 = (0 - ($105))|0;
+ $107 = -2147483648 >> $106;
+ $112 = $107;
+ break;
+ } else {
+ $108 = $10;
+ $112 = $108;
+ break;
+ }
+ }
+ } while(0);
+ $109 = $6;
+ $110 = (0 - ($109))|0;
+ $111 = $112 << $110;
+ $2 = $111;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+}
+function _silk_CLZ32_436($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_PLC_glue_frames($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$sink = 0, $$sink2 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0;
+ var $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0;
+ var $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $7 = sp + 24|0;
+ $8 = sp + 20|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $14 = $3;
+ $15 = ((($14)) + 4168|0);
+ $9 = $15;
+ $16 = $3;
+ $17 = ((($16)) + 4160|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = ($18|0)!=(0);
+ if ($19) {
+ $20 = $9;
+ $21 = ((($20)) + 60|0);
+ $22 = $9;
+ $23 = ((($22)) + 64|0);
+ $24 = $4;
+ $25 = $5;
+ _silk_sum_sqr_shift($21,$23,$24,$25);
+ $26 = $9;
+ $$sink = 1;$$sink2 = $26;
+ $135 = ((($$sink2)) + 48|0);
+ HEAP32[$135>>2] = $$sink;
+ STACKTOP = sp;return;
+ }
+ $27 = $3;
+ $28 = ((($27)) + 4168|0);
+ $29 = ((($28)) + 48|0);
+ $30 = HEAP32[$29>>2]|0;
+ $31 = ($30|0)!=(0);
+ L5: do {
+ if ($31) {
+ $32 = $4;
+ $33 = $5;
+ _silk_sum_sqr_shift($8,$7,$32,$33);
+ $34 = HEAP32[$7>>2]|0;
+ $35 = $9;
+ $36 = ((($35)) + 64|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = ($34|0)>($37|0);
+ if ($38) {
+ $39 = $9;
+ $40 = ((($39)) + 60|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = HEAP32[$7>>2]|0;
+ $43 = $9;
+ $44 = ((($43)) + 64|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = (($42) - ($45))|0;
+ $47 = $41 >> $46;
+ $48 = $9;
+ $49 = ((($48)) + 60|0);
+ HEAP32[$49>>2] = $47;
+ } else {
+ $50 = HEAP32[$7>>2]|0;
+ $51 = $9;
+ $52 = ((($51)) + 64|0);
+ $53 = HEAP32[$52>>2]|0;
+ $54 = ($50|0)<($53|0);
+ if ($54) {
+ $55 = HEAP32[$8>>2]|0;
+ $56 = $9;
+ $57 = ((($56)) + 64|0);
+ $58 = HEAP32[$57>>2]|0;
+ $59 = HEAP32[$7>>2]|0;
+ $60 = (($58) - ($59))|0;
+ $61 = $55 >> $60;
+ HEAP32[$8>>2] = $61;
+ }
+ }
+ $62 = HEAP32[$8>>2]|0;
+ $63 = $9;
+ $64 = ((($63)) + 60|0);
+ $65 = HEAP32[$64>>2]|0;
+ $66 = ($62|0)>($65|0);
+ if ($66) {
+ $67 = $9;
+ $68 = ((($67)) + 60|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = (_silk_CLZ32_436($69)|0);
+ $11 = $70;
+ $71 = $11;
+ $72 = (($71) - 1)|0;
+ $11 = $72;
+ $73 = $9;
+ $74 = ((($73)) + 60|0);
+ $75 = HEAP32[$74>>2]|0;
+ $76 = $11;
+ $77 = $75 << $76;
+ $78 = $9;
+ $79 = ((($78)) + 60|0);
+ HEAP32[$79>>2] = $77;
+ $80 = HEAP32[$8>>2]|0;
+ $81 = $11;
+ $82 = (24 - ($81))|0;
+ $83 = (_silk_max_32_434($82,0)|0);
+ $84 = $80 >> $83;
+ HEAP32[$8>>2] = $84;
+ $85 = $9;
+ $86 = ((($85)) + 60|0);
+ $87 = HEAP32[$86>>2]|0;
+ $88 = HEAP32[$8>>2]|0;
+ $89 = ($88|0)>(1);
+ $90 = HEAP32[$8>>2]|0;
+ $91 = $89 ? $90 : 1;
+ $92 = (($87|0) / ($91|0))&-1;
+ $10 = $92;
+ $93 = $10;
+ $94 = (_silk_SQRT_APPROX_439($93)|0);
+ $95 = $94 << 4;
+ $12 = $95;
+ $96 = $12;
+ $97 = (65536 - ($96))|0;
+ $98 = $5;
+ $99 = (($97|0) / ($98|0))&-1;
+ $13 = $99;
+ $100 = $13;
+ $101 = $100 << 2;
+ $13 = $101;
+ $6 = 0;
+ while(1) {
+ $102 = $6;
+ $103 = $5;
+ $104 = ($102|0)<($103|0);
+ if (!($104)) {
+ break L5;
+ }
+ $105 = $12;
+ $106 = $105 >> 16;
+ $107 = $4;
+ $108 = $6;
+ $109 = (($107) + ($108<<1)|0);
+ $110 = HEAP16[$109>>1]|0;
+ $111 = $110 << 16 >> 16;
+ $112 = Math_imul($106, $111)|0;
+ $113 = $12;
+ $114 = $113 & 65535;
+ $115 = $4;
+ $116 = $6;
+ $117 = (($115) + ($116<<1)|0);
+ $118 = HEAP16[$117>>1]|0;
+ $119 = $118 << 16 >> 16;
+ $120 = Math_imul($114, $119)|0;
+ $121 = $120 >> 16;
+ $122 = (($112) + ($121))|0;
+ $123 = $122&65535;
+ $124 = $4;
+ $125 = $6;
+ $126 = (($124) + ($125<<1)|0);
+ HEAP16[$126>>1] = $123;
+ $127 = $13;
+ $128 = $12;
+ $129 = (($128) + ($127))|0;
+ $12 = $129;
+ $130 = $12;
+ $131 = ($130|0)>(65536);
+ if ($131) {
+ break L5;
+ }
+ $132 = $6;
+ $133 = (($132) + 1)|0;
+ $6 = $133;
+ }
+ }
+ }
+ } while(0);
+ $134 = $9;
+ $$sink = 0;$$sink2 = $134;
+ $135 = ((($$sink2)) + 48|0);
+ HEAP32[$135>>2] = $$sink;
+ STACKTOP = sp;return;
+}
+function _silk_SQRT_APPROX_439($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = sp + 4|0;
+ $5 = sp;
+ $2 = $0;
+ $6 = $2;
+ $7 = ($6|0)<=(0);
+ if ($7) {
+ $1 = 0;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+ }
+ $8 = $2;
+ _silk_CLZ_FRAC_440($8,$4,$5);
+ $9 = HEAP32[$4>>2]|0;
+ $10 = $9 & 1;
+ $11 = ($10|0)!=(0);
+ if ($11) {
+ $3 = 32768;
+ } else {
+ $3 = 46214;
+ }
+ $12 = HEAP32[$4>>2]|0;
+ $13 = $12 >> 1;
+ $14 = $3;
+ $15 = $14 >> $13;
+ $3 = $15;
+ $16 = $3;
+ $17 = $3;
+ $18 = $17 >> 16;
+ $19 = HEAP32[$5>>2]|0;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = ($21*213)|0;
+ $23 = $22&65535;
+ $24 = $23 << 16 >> 16;
+ $25 = Math_imul($18, $24)|0;
+ $26 = $3;
+ $27 = $26 & 65535;
+ $28 = HEAP32[$5>>2]|0;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = ($30*213)|0;
+ $32 = $31&65535;
+ $33 = $32 << 16 >> 16;
+ $34 = Math_imul($27, $33)|0;
+ $35 = $34 >> 16;
+ $36 = (($25) + ($35))|0;
+ $37 = (($16) + ($36))|0;
+ $3 = $37;
+ $38 = $3;
+ $1 = $38;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+}
+function _silk_CLZ_FRAC_440($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $3;
+ $8 = (_silk_CLZ32_436($7)|0);
+ $6 = $8;
+ $9 = $6;
+ $10 = $4;
+ HEAP32[$10>>2] = $9;
+ $11 = $3;
+ $12 = $6;
+ $13 = (24 - ($12))|0;
+ $14 = (_silk_ROR32_441($11,$13)|0);
+ $15 = $14 & 127;
+ $16 = $5;
+ HEAP32[$16>>2] = $15;
+ STACKTOP = sp;return;
+}
+function _silk_ROR32_441($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $8 = $3;
+ $5 = $8;
+ $9 = $4;
+ $6 = $9;
+ $10 = $4;
+ $11 = (0 - ($10))|0;
+ $7 = $11;
+ $12 = $4;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $14 = $3;
+ $2 = $14;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ $15 = $4;
+ $16 = ($15|0)<(0);
+ $17 = $5;
+ if ($16) {
+ $18 = $7;
+ $19 = $17 << $18;
+ $20 = $5;
+ $21 = $7;
+ $22 = (32 - ($21))|0;
+ $23 = $20 >>> $22;
+ $24 = $19 | $23;
+ $2 = $24;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ } else {
+ $25 = $6;
+ $26 = (32 - ($25))|0;
+ $27 = $17 << $26;
+ $28 = $5;
+ $29 = $6;
+ $30 = $28 >>> $29;
+ $31 = $27 | $30;
+ $2 = $31;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ return (0)|0;
+}
+function _silk_VAD_Init($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0;
+ var $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, dest = 0, label = 0, sp = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $3 = 0;
+ $4 = $1;
+ dest=$4; stop=dest+112|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
+ $2 = 0;
+ while(1) {
+ $5 = $2;
+ $6 = ($5|0)<(4);
+ if (!($6)) {
+ break;
+ }
+ $7 = $2;
+ $8 = (($7) + 1)|0;
+ $9 = (50 / ($8|0))&-1;
+ $10 = (_silk_max_32_448($9,1)|0);
+ $11 = $1;
+ $12 = ((($11)) + 92|0);
+ $13 = $2;
+ $14 = (($12) + ($13<<2)|0);
+ HEAP32[$14>>2] = $10;
+ $15 = $2;
+ $16 = (($15) + 1)|0;
+ $2 = $16;
+ }
+ $2 = 0;
+ while(1) {
+ $17 = $2;
+ $18 = ($17|0)<(4);
+ $19 = $1;
+ if (!($18)) {
+ break;
+ }
+ $20 = ((($19)) + 92|0);
+ $21 = $2;
+ $22 = (($20) + ($21<<2)|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = ($23*100)|0;
+ $25 = $1;
+ $26 = ((($25)) + 60|0);
+ $27 = $2;
+ $28 = (($26) + ($27<<2)|0);
+ HEAP32[$28>>2] = $24;
+ $29 = $1;
+ $30 = ((($29)) + 60|0);
+ $31 = $2;
+ $32 = (($30) + ($31<<2)|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = (2147483647 / ($33|0))&-1;
+ $35 = $1;
+ $36 = ((($35)) + 76|0);
+ $37 = $2;
+ $38 = (($36) + ($37<<2)|0);
+ HEAP32[$38>>2] = $34;
+ $39 = $2;
+ $40 = (($39) + 1)|0;
+ $2 = $40;
+ }
+ $41 = ((($19)) + 108|0);
+ HEAP32[$41>>2] = 15;
+ $2 = 0;
+ while(1) {
+ $42 = $2;
+ $43 = ($42|0)<(4);
+ if (!($43)) {
+ break;
+ }
+ $44 = $1;
+ $45 = ((($44)) + 40|0);
+ $46 = $2;
+ $47 = (($45) + ($46<<2)|0);
+ HEAP32[$47>>2] = 25600;
+ $48 = $2;
+ $49 = (($48) + 1)|0;
+ $2 = $49;
+ }
+ $50 = $3;
+ STACKTOP = sp;return ($50|0);
+}
+function _silk_max_32_448($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_VAD_GetSA_Q8_c($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$alloca_mul = 0, $$sink = 0, $$sink2 = 0, $$sink3 = 0, $$sink5 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0;
+ var $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0;
+ var $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0;
+ var $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0;
+ var $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0;
+ var $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0;
+ var $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0;
+ var $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0;
+ var $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0;
+ var $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0;
+ var $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0;
+ var $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0;
+ var $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0;
+ var $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0;
+ var $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0;
+ var $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0;
+ var $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0;
+ var $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0;
+ var $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0;
+ var $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0;
+ var $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0;
+ var $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0;
+ var $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0;
+ var $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
+ var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
+ var $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
+ $19 = sp + 56|0;
+ $20 = sp + 40|0;
+ $23 = sp + 16|0;
+ $2 = $0;
+ $3 = $1;
+ $24 = 0;
+ $27 = $2;
+ $28 = ((($27)) + 32|0);
+ $25 = $28;
+ $29 = $2;
+ $30 = ((($29)) + 4608|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = $31 >> 1;
+ $7 = $32;
+ $33 = $2;
+ $34 = ((($33)) + 4608|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = $35 >> 2;
+ $8 = $36;
+ $37 = $2;
+ $38 = ((($37)) + 4608|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = $39 >> 3;
+ $9 = $40;
+ HEAP32[$23>>2] = 0;
+ $41 = $9;
+ $42 = $8;
+ $43 = (($41) + ($42))|0;
+ $44 = ((($23)) + 4|0);
+ HEAP32[$44>>2] = $43;
+ $45 = ((($23)) + 4|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = $9;
+ $48 = (($46) + ($47))|0;
+ $49 = ((($23)) + 8|0);
+ HEAP32[$49>>2] = $48;
+ $50 = ((($23)) + 8|0);
+ $51 = HEAP32[$50>>2]|0;
+ $52 = $8;
+ $53 = (($51) + ($52))|0;
+ $54 = ((($23)) + 12|0);
+ HEAP32[$54>>2] = $53;
+ $55 = ((($23)) + 12|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = $7;
+ $58 = (($56) + ($57))|0;
+ $59 = (_llvm_stacksave()|0);
+ $26 = $59;
+ $$alloca_mul = $58<<1;
+ $60 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $61 = $3;
+ $62 = $25;
+ $63 = ((($23)) + 12|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = (($60) + ($64<<1)|0);
+ $66 = $2;
+ $67 = ((($66)) + 4608|0);
+ $68 = HEAP32[$67>>2]|0;
+ _silk_ana_filt_bank_1($61,$62,$60,$65,$68);
+ $69 = $25;
+ $70 = ((($69)) + 8|0);
+ $71 = ((($23)) + 8|0);
+ $72 = HEAP32[$71>>2]|0;
+ $73 = (($60) + ($72<<1)|0);
+ $74 = $7;
+ _silk_ana_filt_bank_1($60,$70,$60,$73,$74);
+ $75 = $25;
+ $76 = ((($75)) + 16|0);
+ $77 = ((($23)) + 4|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = (($60) + ($78<<1)|0);
+ $80 = $8;
+ _silk_ana_filt_bank_1($60,$76,$60,$79,$80);
+ $81 = $9;
+ $82 = (($81) - 1)|0;
+ $83 = (($60) + ($82<<1)|0);
+ $84 = HEAP16[$83>>1]|0;
+ $85 = $84 << 16 >> 16;
+ $86 = $85 >> 1;
+ $87 = $86&65535;
+ $88 = $9;
+ $89 = (($88) - 1)|0;
+ $90 = (($60) + ($89<<1)|0);
+ HEAP16[$90>>1] = $87;
+ $91 = $9;
+ $92 = (($91) - 1)|0;
+ $93 = (($60) + ($92<<1)|0);
+ $94 = HEAP16[$93>>1]|0;
+ $18 = $94;
+ $95 = $9;
+ $96 = (($95) - 1)|0;
+ $13 = $96;
+ while(1) {
+ $97 = $13;
+ $98 = ($97|0)>(0);
+ if (!($98)) {
+ break;
+ }
+ $99 = $13;
+ $100 = (($99) - 1)|0;
+ $101 = (($60) + ($100<<1)|0);
+ $102 = HEAP16[$101>>1]|0;
+ $103 = $102 << 16 >> 16;
+ $104 = $103 >> 1;
+ $105 = $104&65535;
+ $106 = $13;
+ $107 = (($106) - 1)|0;
+ $108 = (($60) + ($107<<1)|0);
+ HEAP16[$108>>1] = $105;
+ $109 = $13;
+ $110 = (($109) - 1)|0;
+ $111 = (($60) + ($110<<1)|0);
+ $112 = HEAP16[$111>>1]|0;
+ $113 = $112 << 16 >> 16;
+ $114 = $13;
+ $115 = (($60) + ($114<<1)|0);
+ $116 = HEAP16[$115>>1]|0;
+ $117 = $116 << 16 >> 16;
+ $118 = (($117) - ($113))|0;
+ $119 = $118&65535;
+ HEAP16[$115>>1] = $119;
+ $120 = $13;
+ $121 = (($120) + -1)|0;
+ $13 = $121;
+ }
+ $122 = $25;
+ $123 = ((($122)) + 56|0);
+ $124 = HEAP16[$123>>1]|0;
+ $125 = $124 << 16 >> 16;
+ $126 = HEAP16[$60>>1]|0;
+ $127 = $126 << 16 >> 16;
+ $128 = (($127) - ($125))|0;
+ $129 = $128&65535;
+ HEAP16[$60>>1] = $129;
+ $130 = $18;
+ $131 = $25;
+ $132 = ((($131)) + 56|0);
+ HEAP16[$132>>1] = $130;
+ $14 = 0;
+ while(1) {
+ $133 = $14;
+ $134 = ($133|0)<(4);
+ if (!($134)) {
+ break;
+ }
+ $135 = $2;
+ $136 = ((($135)) + 4608|0);
+ $137 = HEAP32[$136>>2]|0;
+ $138 = $14;
+ $139 = (4 - ($138))|0;
+ $140 = (_silk_min_int_451($139,3)|0);
+ $141 = $137 >> $140;
+ $9 = $141;
+ $142 = $9;
+ $143 = $142 >> 2;
+ $10 = $143;
+ $11 = 0;
+ $144 = $25;
+ $145 = ((($144)) + 24|0);
+ $146 = $14;
+ $147 = (($145) + ($146<<2)|0);
+ $148 = HEAP32[$147>>2]|0;
+ $149 = $14;
+ $150 = (($19) + ($149<<2)|0);
+ HEAP32[$150>>2] = $148;
+ $15 = 0;
+ while(1) {
+ $151 = $15;
+ $152 = ($151|0)<(4);
+ if (!($152)) {
+ break;
+ }
+ $16 = 0;
+ $13 = 0;
+ while(1) {
+ $153 = $13;
+ $154 = $10;
+ $155 = ($153|0)<($154|0);
+ if (!($155)) {
+ break;
+ }
+ $156 = $14;
+ $157 = (($23) + ($156<<2)|0);
+ $158 = HEAP32[$157>>2]|0;
+ $159 = $13;
+ $160 = (($158) + ($159))|0;
+ $161 = $11;
+ $162 = (($160) + ($161))|0;
+ $163 = (($60) + ($162<<1)|0);
+ $164 = HEAP16[$163>>1]|0;
+ $165 = $164 << 16 >> 16;
+ $166 = $165 >> 3;
+ $22 = $166;
+ $167 = $16;
+ $168 = $22;
+ $169 = $168&65535;
+ $170 = $169 << 16 >> 16;
+ $171 = $22;
+ $172 = $171&65535;
+ $173 = $172 << 16 >> 16;
+ $174 = Math_imul($170, $173)|0;
+ $175 = (($167) + ($174))|0;
+ $16 = $175;
+ $176 = $13;
+ $177 = (($176) + 1)|0;
+ $13 = $177;
+ }
+ $178 = $15;
+ $179 = ($178|0)<(3);
+ $180 = $14;
+ $181 = (($19) + ($180<<2)|0);
+ $182 = HEAP32[$181>>2]|0;
+ $183 = $16;
+ if ($179) {
+ $184 = (($182) + ($183))|0;
+ $185 = $184 & -2147483648;
+ $186 = ($185|0)!=(0);
+ if ($186) {
+ $519 = 2147483647;
+ } else {
+ $187 = $14;
+ $188 = (($19) + ($187<<2)|0);
+ $189 = HEAP32[$188>>2]|0;
+ $190 = $16;
+ $191 = (($189) + ($190))|0;
+ $519 = $191;
+ }
+ $192 = $14;
+ $$sink = $519;$$sink2 = $192;
+ } else {
+ $193 = $183 >> 1;
+ $194 = (($182) + ($193))|0;
+ $195 = $194 & -2147483648;
+ $196 = ($195|0)!=(0);
+ if ($196) {
+ $520 = 2147483647;
+ } else {
+ $197 = $14;
+ $198 = (($19) + ($197<<2)|0);
+ $199 = HEAP32[$198>>2]|0;
+ $200 = $16;
+ $201 = $200 >> 1;
+ $202 = (($199) + ($201))|0;
+ $520 = $202;
+ }
+ $203 = $14;
+ $$sink = $520;$$sink2 = $203;
+ }
+ $204 = (($19) + ($$sink2<<2)|0);
+ HEAP32[$204>>2] = $$sink;
+ $205 = $10;
+ $206 = $11;
+ $207 = (($206) + ($205))|0;
+ $11 = $207;
+ $208 = $15;
+ $209 = (($208) + 1)|0;
+ $15 = $209;
+ }
+ $210 = $16;
+ $211 = $25;
+ $212 = ((($211)) + 24|0);
+ $213 = $14;
+ $214 = (($212) + ($213<<2)|0);
+ HEAP32[$214>>2] = $210;
+ $215 = $14;
+ $216 = (($215) + 1)|0;
+ $14 = $216;
+ }
+ $217 = $25;
+ _silk_VAD_GetNoiseLevels($19,$217);
+ $16 = 0;
+ $6 = 0;
+ $14 = 0;
+ while(1) {
+ $218 = $14;
+ $219 = ($218|0)<(4);
+ if (!($219)) {
+ break;
+ }
+ $220 = $14;
+ $221 = (($19) + ($220<<2)|0);
+ $222 = HEAP32[$221>>2]|0;
+ $223 = $25;
+ $224 = ((($223)) + 60|0);
+ $225 = $14;
+ $226 = (($224) + ($225<<2)|0);
+ $227 = HEAP32[$226>>2]|0;
+ $228 = (($222) - ($227))|0;
+ $21 = $228;
+ $229 = $21;
+ $230 = ($229|0)>(0);
+ $231 = $14;
+ if ($230) {
+ $232 = (($19) + ($231<<2)|0);
+ $233 = HEAP32[$232>>2]|0;
+ $234 = $233 & -8388608;
+ $235 = ($234|0)==(0);
+ $236 = $14;
+ $237 = (($19) + ($236<<2)|0);
+ $238 = HEAP32[$237>>2]|0;
+ if ($235) {
+ $239 = $238 << 8;
+ $240 = $25;
+ $241 = ((($240)) + 60|0);
+ $242 = $14;
+ $243 = (($241) + ($242<<2)|0);
+ $244 = HEAP32[$243>>2]|0;
+ $245 = (($244) + 1)|0;
+ $246 = (($239|0) / ($245|0))&-1;
+ $247 = $14;
+ $$sink3 = $246;$$sink5 = $247;
+ } else {
+ $248 = $25;
+ $249 = ((($248)) + 60|0);
+ $250 = $14;
+ $251 = (($249) + ($250<<2)|0);
+ $252 = HEAP32[$251>>2]|0;
+ $253 = $252 >> 8;
+ $254 = (($253) + 1)|0;
+ $255 = (($238|0) / ($254|0))&-1;
+ $256 = $14;
+ $$sink3 = $255;$$sink5 = $256;
+ }
+ $257 = (($20) + ($$sink5<<2)|0);
+ HEAP32[$257>>2] = $$sink3;
+ $258 = $14;
+ $259 = (($20) + ($258<<2)|0);
+ $260 = HEAP32[$259>>2]|0;
+ $261 = (_silk_lin2log($260)|0);
+ $262 = (($261) - 1024)|0;
+ $12 = $262;
+ $263 = $16;
+ $264 = $12;
+ $265 = $264&65535;
+ $266 = $265 << 16 >> 16;
+ $267 = $12;
+ $268 = $267&65535;
+ $269 = $268 << 16 >> 16;
+ $270 = Math_imul($266, $269)|0;
+ $271 = (($263) + ($270))|0;
+ $16 = $271;
+ $272 = $21;
+ $273 = ($272|0)<(1048576);
+ if ($273) {
+ $274 = $21;
+ $275 = (_silk_SQRT_APPROX_452($274)|0);
+ $276 = $275 << 6;
+ $277 = $276 >> 16;
+ $278 = $12;
+ $279 = $278&65535;
+ $280 = $279 << 16 >> 16;
+ $281 = Math_imul($277, $280)|0;
+ $282 = $21;
+ $283 = (_silk_SQRT_APPROX_452($282)|0);
+ $284 = $283 << 6;
+ $285 = $284 & 65535;
+ $286 = $12;
+ $287 = $286&65535;
+ $288 = $287 << 16 >> 16;
+ $289 = Math_imul($285, $288)|0;
+ $290 = $289 >> 16;
+ $291 = (($281) + ($290))|0;
+ $12 = $291;
+ }
+ $292 = $6;
+ $293 = $14;
+ $294 = (22288 + ($293<<2)|0);
+ $295 = HEAP32[$294>>2]|0;
+ $296 = $295 >> 16;
+ $297 = $12;
+ $298 = $297&65535;
+ $299 = $298 << 16 >> 16;
+ $300 = Math_imul($296, $299)|0;
+ $301 = $14;
+ $302 = (22288 + ($301<<2)|0);
+ $303 = HEAP32[$302>>2]|0;
+ $304 = $303 & 65535;
+ $305 = $12;
+ $306 = $305&65535;
+ $307 = $306 << 16 >> 16;
+ $308 = Math_imul($304, $307)|0;
+ $309 = $308 >> 16;
+ $310 = (($300) + ($309))|0;
+ $311 = (($292) + ($310))|0;
+ $6 = $311;
+ } else {
+ $312 = (($20) + ($231<<2)|0);
+ HEAP32[$312>>2] = 256;
+ }
+ $313 = $14;
+ $314 = (($313) + 1)|0;
+ $14 = $314;
+ }
+ $315 = $16;
+ $316 = (($315|0) / 4)&-1;
+ $16 = $316;
+ $317 = $16;
+ $318 = (_silk_SQRT_APPROX_452($317)|0);
+ $319 = ($318*3)|0;
+ $320 = $319&65535;
+ $321 = $320 << 16 >> 16;
+ $5 = $321;
+ $322 = $5;
+ $323 = $322&65535;
+ $324 = $323 << 16 >> 16;
+ $325 = 0;
+ $326 = $5;
+ $327 = $326&65535;
+ $328 = $327 << 16 >> 16;
+ $329 = ($328*45000)|0;
+ $330 = $329 >> 16;
+ $331 = (($325) + ($330))|0;
+ $332 = (($331) - 128)|0;
+ $333 = (_silk_sigm_Q15($332)|0);
+ $4 = $333;
+ $334 = $6;
+ $335 = (_silk_sigm_Q15($334)|0);
+ $336 = (($335) - 16384)|0;
+ $337 = $336 << 1;
+ $338 = $2;
+ $339 = ((($338)) + 4744|0);
+ HEAP32[$339>>2] = $337;
+ $21 = 0;
+ $14 = 0;
+ while(1) {
+ $340 = $14;
+ $341 = ($340|0)<(4);
+ if (!($341)) {
+ break;
+ }
+ $342 = $14;
+ $343 = (($342) + 1)|0;
+ $344 = $14;
+ $345 = (($19) + ($344<<2)|0);
+ $346 = HEAP32[$345>>2]|0;
+ $347 = $25;
+ $348 = ((($347)) + 60|0);
+ $349 = $14;
+ $350 = (($348) + ($349<<2)|0);
+ $351 = HEAP32[$350>>2]|0;
+ $352 = (($346) - ($351))|0;
+ $353 = $352 >> 4;
+ $354 = Math_imul($343, $353)|0;
+ $355 = $21;
+ $356 = (($355) + ($354))|0;
+ $21 = $356;
+ $357 = $14;
+ $358 = (($357) + 1)|0;
+ $14 = $358;
+ }
+ $359 = $21;
+ $360 = ($359|0)<=(0);
+ if ($360) {
+ $361 = $4;
+ $362 = $361 >> 1;
+ $4 = $362;
+ } else {
+ $363 = $21;
+ $364 = ($363|0)<(32768);
+ if ($364) {
+ $365 = $2;
+ $366 = ((($365)) + 4608|0);
+ $367 = HEAP32[$366>>2]|0;
+ $368 = $2;
+ $369 = ((($368)) + 4600|0);
+ $370 = HEAP32[$369>>2]|0;
+ $371 = ($370*10)|0;
+ $372 = ($367|0)==($371|0);
+ $373 = $21;
+ if ($372) {
+ $374 = ($373|0)>(32767);
+ if ($374) {
+ $380 = 32767;
+ } else {
+ $375 = $21;
+ $376 = ($375|0)<(-32768);
+ $377 = $21;
+ $378 = $376 ? -32768 : $377;
+ $380 = $378;
+ }
+ $379 = $380 << 16;
+ $21 = $379;
+ } else {
+ $381 = ($373|0)>(65535);
+ if ($381) {
+ $387 = 65535;
+ } else {
+ $382 = $21;
+ $383 = ($382|0)<(-65536);
+ $384 = $21;
+ $385 = $383 ? -65536 : $384;
+ $387 = $385;
+ }
+ $386 = $387 << 15;
+ $21 = $386;
+ }
+ $388 = $21;
+ $389 = (_silk_SQRT_APPROX_452($388)|0);
+ $21 = $389;
+ $390 = $21;
+ $391 = (32768 + ($390))|0;
+ $392 = $391 >> 16;
+ $393 = $4;
+ $394 = $393&65535;
+ $395 = $394 << 16 >> 16;
+ $396 = Math_imul($392, $395)|0;
+ $397 = $21;
+ $398 = (32768 + ($397))|0;
+ $399 = $398 & 65535;
+ $400 = $4;
+ $401 = $400&65535;
+ $402 = $401 << 16 >> 16;
+ $403 = Math_imul($399, $402)|0;
+ $404 = $403 >> 16;
+ $405 = (($396) + ($404))|0;
+ $4 = $405;
+ }
+ }
+ $406 = $4;
+ $407 = $406 >> 7;
+ $408 = (_silk_min_int_451($407,255)|0);
+ $409 = $2;
+ $410 = ((($409)) + 4556|0);
+ HEAP32[$410>>2] = $408;
+ $411 = $4;
+ $412 = $411 >> 16;
+ $413 = $4;
+ $414 = $413&65535;
+ $415 = $414 << 16 >> 16;
+ $416 = Math_imul($412, $415)|0;
+ $417 = $4;
+ $418 = $417 & 65535;
+ $419 = $4;
+ $420 = $419&65535;
+ $421 = $420 << 16 >> 16;
+ $422 = Math_imul($418, $421)|0;
+ $423 = $422 >> 16;
+ $424 = (($416) + ($423))|0;
+ $425 = $424&65535;
+ $426 = $425 << 16 >> 16;
+ $427 = 0;
+ $428 = $4;
+ $429 = $428 >> 16;
+ $430 = $4;
+ $431 = $430&65535;
+ $432 = $431 << 16 >> 16;
+ $433 = Math_imul($429, $432)|0;
+ $434 = $4;
+ $435 = $434 & 65535;
+ $436 = $4;
+ $437 = $436&65535;
+ $438 = $437 << 16 >> 16;
+ $439 = Math_imul($435, $438)|0;
+ $440 = $439 >> 16;
+ $441 = (($433) + ($440))|0;
+ $442 = $441&65535;
+ $443 = $442 << 16 >> 16;
+ $444 = $443<<12;
+ $445 = $444 >> 16;
+ $446 = (($427) + ($445))|0;
+ $17 = $446;
+ $447 = $2;
+ $448 = ((($447)) + 4608|0);
+ $449 = HEAP32[$448>>2]|0;
+ $450 = $2;
+ $451 = ((($450)) + 4600|0);
+ $452 = HEAP32[$451>>2]|0;
+ $453 = ($452*10)|0;
+ $454 = ($449|0)==($453|0);
+ if ($454) {
+ $455 = $17;
+ $456 = $455 >> 1;
+ $17 = $456;
+ }
+ $14 = 0;
+ while(1) {
+ $457 = $14;
+ $458 = ($457|0)<(4);
+ if (!($458)) {
+ break;
+ }
+ $459 = $25;
+ $460 = ((($459)) + 40|0);
+ $461 = $14;
+ $462 = (($460) + ($461<<2)|0);
+ $463 = HEAP32[$462>>2]|0;
+ $464 = $14;
+ $465 = (($20) + ($464<<2)|0);
+ $466 = HEAP32[$465>>2]|0;
+ $467 = $25;
+ $468 = ((($467)) + 40|0);
+ $469 = $14;
+ $470 = (($468) + ($469<<2)|0);
+ $471 = HEAP32[$470>>2]|0;
+ $472 = (($466) - ($471))|0;
+ $473 = $472 >> 16;
+ $474 = $17;
+ $475 = $474&65535;
+ $476 = $475 << 16 >> 16;
+ $477 = Math_imul($473, $476)|0;
+ $478 = $14;
+ $479 = (($20) + ($478<<2)|0);
+ $480 = HEAP32[$479>>2]|0;
+ $481 = $25;
+ $482 = ((($481)) + 40|0);
+ $483 = $14;
+ $484 = (($482) + ($483<<2)|0);
+ $485 = HEAP32[$484>>2]|0;
+ $486 = (($480) - ($485))|0;
+ $487 = $486 & 65535;
+ $488 = $17;
+ $489 = $488&65535;
+ $490 = $489 << 16 >> 16;
+ $491 = Math_imul($487, $490)|0;
+ $492 = $491 >> 16;
+ $493 = (($477) + ($492))|0;
+ $494 = (($463) + ($493))|0;
+ $495 = $25;
+ $496 = ((($495)) + 40|0);
+ $497 = $14;
+ $498 = (($496) + ($497<<2)|0);
+ HEAP32[$498>>2] = $494;
+ $499 = $25;
+ $500 = ((($499)) + 40|0);
+ $501 = $14;
+ $502 = (($500) + ($501<<2)|0);
+ $503 = HEAP32[$502>>2]|0;
+ $504 = (_silk_lin2log($503)|0);
+ $505 = (($504) - 1024)|0;
+ $506 = ($505*3)|0;
+ $12 = $506;
+ $507 = $12;
+ $508 = (($507) - 2048)|0;
+ $509 = $508 >> 4;
+ $510 = (_silk_sigm_Q15($509)|0);
+ $511 = $2;
+ $512 = ((($511)) + 4728|0);
+ $513 = $14;
+ $514 = (($512) + ($513<<2)|0);
+ HEAP32[$514>>2] = $510;
+ $515 = $14;
+ $516 = (($515) + 1)|0;
+ $14 = $516;
+ }
+ $517 = $24;
+ $518 = $26;
+ _llvm_stackrestore(($518|0));
+ STACKTOP = sp;return ($517|0);
+}
+function _silk_min_int_451($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_VAD_GetNoiseLevels($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0;
+ var $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
+ var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
+ var $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $10 = $3;
+ $11 = ((($10)) + 108|0);
+ $12 = HEAP32[$11>>2]|0;
+ $13 = ($12|0)<(1000);
+ if ($13) {
+ $14 = $3;
+ $15 = ((($14)) + 108|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = $16 >> 4;
+ $18 = (($17) + 1)|0;
+ $19 = (32767 / ($18|0))&-1;
+ $9 = $19;
+ } else {
+ $9 = 0;
+ }
+ $4 = 0;
+ while(1) {
+ $20 = $4;
+ $21 = ($20|0)<(4);
+ $22 = $3;
+ if (!($21)) {
+ break;
+ }
+ $23 = ((($22)) + 60|0);
+ $24 = $4;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = HEAP32[$25>>2]|0;
+ $5 = $26;
+ $27 = $2;
+ $28 = $4;
+ $29 = (($27) + ($28<<2)|0);
+ $30 = HEAP32[$29>>2]|0;
+ $31 = $3;
+ $32 = ((($31)) + 92|0);
+ $33 = $4;
+ $34 = (($32) + ($33<<2)|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = (($30) + ($35))|0;
+ $37 = $36 & -2147483648;
+ $38 = ($37|0)!=(0);
+ if ($38) {
+ $49 = 2147483647;
+ } else {
+ $39 = $2;
+ $40 = $4;
+ $41 = (($39) + ($40<<2)|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = $3;
+ $44 = ((($43)) + 92|0);
+ $45 = $4;
+ $46 = (($44) + ($45<<2)|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = (($42) + ($47))|0;
+ $49 = $48;
+ }
+ $6 = $49;
+ $50 = $6;
+ $51 = (2147483647 / ($50|0))&-1;
+ $7 = $51;
+ $52 = $6;
+ $53 = $5;
+ $54 = $53 << 3;
+ $55 = ($52|0)>($54|0);
+ do {
+ if ($55) {
+ $8 = 128;
+ } else {
+ $56 = $6;
+ $57 = $5;
+ $58 = ($56|0)<($57|0);
+ if ($58) {
+ $8 = 1024;
+ break;
+ } else {
+ $59 = $7;
+ $60 = $59 >> 16;
+ $61 = $5;
+ $62 = $61&65535;
+ $63 = $62 << 16 >> 16;
+ $64 = Math_imul($60, $63)|0;
+ $65 = $7;
+ $66 = $65 & 65535;
+ $67 = $5;
+ $68 = $67&65535;
+ $69 = $68 << 16 >> 16;
+ $70 = Math_imul($66, $69)|0;
+ $71 = $70 >> 16;
+ $72 = (($64) + ($71))|0;
+ $73 = $7;
+ $74 = $5;
+ $75 = $74 >> 15;
+ $76 = (($75) + 1)|0;
+ $77 = $76 >> 1;
+ $78 = Math_imul($73, $77)|0;
+ $79 = (($72) + ($78))|0;
+ $80 = $79 >> 16;
+ $81 = $80<<11;
+ $82 = $7;
+ $83 = $82 >> 16;
+ $84 = $5;
+ $85 = $84&65535;
+ $86 = $85 << 16 >> 16;
+ $87 = Math_imul($83, $86)|0;
+ $88 = $7;
+ $89 = $88 & 65535;
+ $90 = $5;
+ $91 = $90&65535;
+ $92 = $91 << 16 >> 16;
+ $93 = Math_imul($89, $92)|0;
+ $94 = $93 >> 16;
+ $95 = (($87) + ($94))|0;
+ $96 = $7;
+ $97 = $5;
+ $98 = $97 >> 15;
+ $99 = (($98) + 1)|0;
+ $100 = $99 >> 1;
+ $101 = Math_imul($96, $100)|0;
+ $102 = (($95) + ($101))|0;
+ $103 = $102 & 65535;
+ $104 = $103<<11;
+ $105 = $104 >> 16;
+ $106 = (($81) + ($105))|0;
+ $8 = $106;
+ break;
+ }
+ }
+ } while(0);
+ $107 = $8;
+ $108 = $9;
+ $109 = (_silk_max_int_456($107,$108)|0);
+ $8 = $109;
+ $110 = $3;
+ $111 = ((($110)) + 76|0);
+ $112 = $4;
+ $113 = (($111) + ($112<<2)|0);
+ $114 = HEAP32[$113>>2]|0;
+ $115 = $7;
+ $116 = $3;
+ $117 = ((($116)) + 76|0);
+ $118 = $4;
+ $119 = (($117) + ($118<<2)|0);
+ $120 = HEAP32[$119>>2]|0;
+ $121 = (($115) - ($120))|0;
+ $122 = $121 >> 16;
+ $123 = $8;
+ $124 = $123&65535;
+ $125 = $124 << 16 >> 16;
+ $126 = Math_imul($122, $125)|0;
+ $127 = $7;
+ $128 = $3;
+ $129 = ((($128)) + 76|0);
+ $130 = $4;
+ $131 = (($129) + ($130<<2)|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = (($127) - ($132))|0;
+ $134 = $133 & 65535;
+ $135 = $8;
+ $136 = $135&65535;
+ $137 = $136 << 16 >> 16;
+ $138 = Math_imul($134, $137)|0;
+ $139 = $138 >> 16;
+ $140 = (($126) + ($139))|0;
+ $141 = (($114) + ($140))|0;
+ $142 = $3;
+ $143 = ((($142)) + 76|0);
+ $144 = $4;
+ $145 = (($143) + ($144<<2)|0);
+ HEAP32[$145>>2] = $141;
+ $146 = $3;
+ $147 = ((($146)) + 76|0);
+ $148 = $4;
+ $149 = (($147) + ($148<<2)|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = (2147483647 / ($150|0))&-1;
+ $5 = $151;
+ $152 = $5;
+ $153 = ($152|0)<(16777215);
+ $154 = $5;
+ $155 = $153 ? $154 : 16777215;
+ $5 = $155;
+ $156 = $5;
+ $157 = $3;
+ $158 = ((($157)) + 60|0);
+ $159 = $4;
+ $160 = (($158) + ($159<<2)|0);
+ HEAP32[$160>>2] = $156;
+ $161 = $4;
+ $162 = (($161) + 1)|0;
+ $4 = $162;
+ }
+ $163 = ((($22)) + 108|0);
+ $164 = HEAP32[$163>>2]|0;
+ $165 = (($164) + 1)|0;
+ HEAP32[$163>>2] = $165;
+ STACKTOP = sp;return;
+}
+function _silk_SQRT_APPROX_452($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = sp + 4|0;
+ $5 = sp;
+ $2 = $0;
+ $6 = $2;
+ $7 = ($6|0)<=(0);
+ if ($7) {
+ $1 = 0;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+ }
+ $8 = $2;
+ _silk_CLZ_FRAC_453($8,$4,$5);
+ $9 = HEAP32[$4>>2]|0;
+ $10 = $9 & 1;
+ $11 = ($10|0)!=(0);
+ if ($11) {
+ $3 = 32768;
+ } else {
+ $3 = 46214;
+ }
+ $12 = HEAP32[$4>>2]|0;
+ $13 = $12 >> 1;
+ $14 = $3;
+ $15 = $14 >> $13;
+ $3 = $15;
+ $16 = $3;
+ $17 = $3;
+ $18 = $17 >> 16;
+ $19 = HEAP32[$5>>2]|0;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = ($21*213)|0;
+ $23 = $22&65535;
+ $24 = $23 << 16 >> 16;
+ $25 = Math_imul($18, $24)|0;
+ $26 = $3;
+ $27 = $26 & 65535;
+ $28 = HEAP32[$5>>2]|0;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = ($30*213)|0;
+ $32 = $31&65535;
+ $33 = $32 << 16 >> 16;
+ $34 = Math_imul($27, $33)|0;
+ $35 = $34 >> 16;
+ $36 = (($25) + ($35))|0;
+ $37 = (($16) + ($36))|0;
+ $3 = $37;
+ $38 = $3;
+ $1 = $38;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+}
+function _silk_CLZ_FRAC_453($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $3;
+ $8 = (_silk_CLZ32_454($7)|0);
+ $6 = $8;
+ $9 = $6;
+ $10 = $4;
+ HEAP32[$10>>2] = $9;
+ $11 = $3;
+ $12 = $6;
+ $13 = (24 - ($12))|0;
+ $14 = (_silk_ROR32_455($11,$13)|0);
+ $15 = $14 & 127;
+ $16 = $5;
+ HEAP32[$16>>2] = $15;
+ STACKTOP = sp;return;
+}
+function _silk_CLZ32_454($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_ROR32_455($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $8 = $3;
+ $5 = $8;
+ $9 = $4;
+ $6 = $9;
+ $10 = $4;
+ $11 = (0 - ($10))|0;
+ $7 = $11;
+ $12 = $4;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $14 = $3;
+ $2 = $14;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ $15 = $4;
+ $16 = ($15|0)<(0);
+ $17 = $5;
+ if ($16) {
+ $18 = $7;
+ $19 = $17 << $18;
+ $20 = $5;
+ $21 = $7;
+ $22 = (32 - ($21))|0;
+ $23 = $20 >>> $22;
+ $24 = $19 | $23;
+ $2 = $24;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ } else {
+ $25 = $6;
+ $26 = (32 - ($25))|0;
+ $27 = $17 << $26;
+ $28 = $5;
+ $29 = $6;
+ $30 = $28 >>> $29;
+ $31 = $27 | $30;
+ $2 = $31;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ return (0)|0;
+}
+function _silk_max_int_456($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_control_audio_bandwidth($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$sink = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+ var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
+ var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0;
+ var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0;
+ var $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0;
+ var $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $6 = $2;
+ $7 = ((($6)) + 4600|0);
+ $8 = HEAP32[$7>>2]|0;
+ $4 = $8;
+ $9 = $4;
+ $10 = $9&65535;
+ $11 = $10 << 16 >> 16;
+ $12 = ($11*1000)|0;
+ $5 = $12;
+ $13 = $5;
+ $14 = ($13|0)==(0);
+ if ($14) {
+ $15 = $2;
+ $16 = ((($15)) + 4596|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $2;
+ $19 = ((($18)) + 4580|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = ($17|0)<($20|0);
+ $22 = $2;
+ $23 = ((($22)) + 4580|0);
+ $24 = ((($22)) + 4596|0);
+ $$sink = $21 ? $24 : $23;
+ $25 = HEAP32[$$sink>>2]|0;
+ $5 = $25;
+ $26 = $5;
+ $27 = (($26|0) / 1000)&-1;
+ $4 = $27;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ }
+ $28 = $5;
+ $29 = $2;
+ $30 = ((($29)) + 4580|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = ($28|0)>($31|0);
+ if (!($32)) {
+ $33 = $5;
+ $34 = $2;
+ $35 = ((($34)) + 4588|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = ($33|0)>($36|0);
+ if (!($37)) {
+ $38 = $5;
+ $39 = $2;
+ $40 = ((($39)) + 4592|0);
+ $41 = HEAP32[$40>>2]|0;
+ $42 = ($38|0)<($41|0);
+ if (!($42)) {
+ $68 = $2;
+ $69 = ((($68)) + 16|0);
+ $70 = ((($69)) + 8|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = ($71|0)>=(256);
+ if ($72) {
+ $73 = $2;
+ $74 = ((($73)) + 16|0);
+ $75 = ((($74)) + 12|0);
+ HEAP32[$75>>2] = 0;
+ }
+ $76 = $2;
+ $77 = ((($76)) + 4560|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = ($78|0)!=(0);
+ if (!($79)) {
+ $80 = $3;
+ $81 = ((($80)) + 60|0);
+ $82 = HEAP32[$81>>2]|0;
+ $83 = ($82|0)!=(0);
+ if (!($83)) {
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ }
+ }
+ $84 = $2;
+ $85 = ((($84)) + 4600|0);
+ $86 = HEAP32[$85>>2]|0;
+ $87 = $86&65535;
+ $88 = $87 << 16 >> 16;
+ $89 = ($88*1000)|0;
+ $90 = $2;
+ $91 = ((($90)) + 4596|0);
+ $92 = HEAP32[$91>>2]|0;
+ $93 = ($89|0)>($92|0);
+ $94 = $2;
+ if ($93) {
+ $95 = ((($94)) + 16|0);
+ $96 = ((($95)) + 12|0);
+ $97 = HEAP32[$96>>2]|0;
+ $98 = ($97|0)==(0);
+ if ($98) {
+ $99 = $2;
+ $100 = ((($99)) + 16|0);
+ $101 = ((($100)) + 8|0);
+ HEAP32[$101>>2] = 256;
+ $102 = $2;
+ $103 = ((($102)) + 16|0);
+ ;HEAP32[$103>>2]=0|0;HEAP32[$103+4>>2]=0|0;
+ }
+ $104 = $3;
+ $105 = ((($104)) + 60|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = ($106|0)!=(0);
+ $108 = $2;
+ $109 = ((($108)) + 16|0);
+ if ($107) {
+ $110 = ((($109)) + 12|0);
+ HEAP32[$110>>2] = 0;
+ $111 = $2;
+ $112 = ((($111)) + 4600|0);
+ $113 = HEAP32[$112>>2]|0;
+ $114 = ($113|0)==(16);
+ $115 = $114 ? 12 : 8;
+ $4 = $115;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ }
+ $116 = ((($109)) + 8|0);
+ $117 = HEAP32[$116>>2]|0;
+ $118 = ($117|0)<=(0);
+ if ($118) {
+ $119 = $3;
+ $120 = ((($119)) + 84|0);
+ HEAP32[$120>>2] = 1;
+ $121 = $3;
+ $122 = ((($121)) + 52|0);
+ $123 = HEAP32[$122>>2]|0;
+ $124 = ($123*5)|0;
+ $125 = $3;
+ $126 = ((($125)) + 24|0);
+ $127 = HEAP32[$126>>2]|0;
+ $128 = (($127) + 5)|0;
+ $129 = (($124|0) / ($128|0))&-1;
+ $130 = $3;
+ $131 = ((($130)) + 52|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = (($132) - ($129))|0;
+ HEAP32[$131>>2] = $133;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ } else {
+ $134 = $2;
+ $135 = ((($134)) + 16|0);
+ $136 = ((($135)) + 12|0);
+ HEAP32[$136>>2] = -2;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ }
+ }
+ $137 = ((($94)) + 4600|0);
+ $138 = HEAP32[$137>>2]|0;
+ $139 = $138&65535;
+ $140 = $139 << 16 >> 16;
+ $141 = ($140*1000)|0;
+ $142 = $2;
+ $143 = ((($142)) + 4596|0);
+ $144 = HEAP32[$143>>2]|0;
+ $145 = ($141|0)<($144|0);
+ if (!($145)) {
+ $185 = $2;
+ $186 = ((($185)) + 16|0);
+ $187 = ((($186)) + 12|0);
+ $188 = HEAP32[$187>>2]|0;
+ $189 = ($188|0)<(0);
+ if (!($189)) {
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ }
+ $190 = $2;
+ $191 = ((($190)) + 16|0);
+ $192 = ((($191)) + 12|0);
+ HEAP32[$192>>2] = 1;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ }
+ $146 = $3;
+ $147 = ((($146)) + 60|0);
+ $148 = HEAP32[$147>>2]|0;
+ $149 = ($148|0)!=(0);
+ $150 = $2;
+ if ($149) {
+ $151 = ((($150)) + 4600|0);
+ $152 = HEAP32[$151>>2]|0;
+ $153 = ($152|0)==(8);
+ $154 = $153 ? 12 : 16;
+ $4 = $154;
+ $155 = $2;
+ $156 = ((($155)) + 16|0);
+ $157 = ((($156)) + 8|0);
+ HEAP32[$157>>2] = 0;
+ $158 = $2;
+ $159 = ((($158)) + 16|0);
+ ;HEAP32[$159>>2]=0|0;HEAP32[$159+4>>2]=0|0;
+ $160 = $2;
+ $161 = ((($160)) + 16|0);
+ $162 = ((($161)) + 12|0);
+ HEAP32[$162>>2] = 1;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ }
+ $163 = ((($150)) + 16|0);
+ $164 = ((($163)) + 12|0);
+ $165 = HEAP32[$164>>2]|0;
+ $166 = ($165|0)==(0);
+ if ($166) {
+ $167 = $3;
+ $168 = ((($167)) + 84|0);
+ HEAP32[$168>>2] = 1;
+ $169 = $3;
+ $170 = ((($169)) + 52|0);
+ $171 = HEAP32[$170>>2]|0;
+ $172 = ($171*5)|0;
+ $173 = $3;
+ $174 = ((($173)) + 24|0);
+ $175 = HEAP32[$174>>2]|0;
+ $176 = (($175) + 5)|0;
+ $177 = (($172|0) / ($176|0))&-1;
+ $178 = $3;
+ $179 = ((($178)) + 52|0);
+ $180 = HEAP32[$179>>2]|0;
+ $181 = (($180) - ($177))|0;
+ HEAP32[$179>>2] = $181;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ } else {
+ $182 = $2;
+ $183 = ((($182)) + 16|0);
+ $184 = ((($183)) + 12|0);
+ HEAP32[$184>>2] = 1;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+ }
+ }
+ }
+ }
+ $43 = $2;
+ $44 = ((($43)) + 4580|0);
+ $45 = HEAP32[$44>>2]|0;
+ $5 = $45;
+ $46 = $5;
+ $47 = $2;
+ $48 = ((($47)) + 4588|0);
+ $49 = HEAP32[$48>>2]|0;
+ $50 = ($46|0)<($49|0);
+ if ($50) {
+ $51 = $5;
+ $55 = $51;
+ } else {
+ $52 = $2;
+ $53 = ((($52)) + 4588|0);
+ $54 = HEAP32[$53>>2]|0;
+ $55 = $54;
+ }
+ $5 = $55;
+ $56 = $5;
+ $57 = $2;
+ $58 = ((($57)) + 4592|0);
+ $59 = HEAP32[$58>>2]|0;
+ $60 = ($56|0)>($59|0);
+ if ($60) {
+ $61 = $5;
+ $65 = $61;
+ } else {
+ $62 = $2;
+ $63 = ((($62)) + 4592|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = $64;
+ }
+ $5 = $65;
+ $66 = $5;
+ $67 = (($66|0) / 1000)&-1;
+ $4 = $67;
+ $193 = $4;
+ STACKTOP = sp;return ($193|0);
+}
+function _silk_quant_LTP_gains($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0;
+ var $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 112|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(112|0);
+ $21 = sp + 100|0;
+ $27 = sp + 28|0;
+ $33 = sp + 4|0;
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $29 = 2147483647;
+ $31 = 0;
+ $19 = 0;
+ while(1) {
+ $35 = $19;
+ $36 = ($35|0)<(3);
+ if (!($36)) {
+ break;
+ }
+ $34 = 51;
+ $37 = $19;
+ $38 = (16672 + ($37<<2)|0);
+ $39 = HEAP32[$38>>2]|0;
+ $22 = $39;
+ $40 = $19;
+ $41 = (16684 + ($40<<2)|0);
+ $42 = HEAP32[$41>>2]|0;
+ $23 = $42;
+ $43 = $19;
+ $44 = (16696 + ($43<<2)|0);
+ $45 = HEAP32[$44>>2]|0;
+ $24 = $45;
+ $46 = $19;
+ $47 = (27654 + ($46)|0);
+ $48 = HEAP8[$47>>0]|0;
+ $49 = $48 << 24 >> 24;
+ $20 = $49;
+ $50 = $13;
+ $26 = $50;
+ $51 = $9;
+ $25 = $51;
+ $28 = 0;
+ $52 = $12;
+ $53 = HEAP32[$52>>2]|0;
+ $30 = $53;
+ $18 = 0;
+ while(1) {
+ $54 = $18;
+ $55 = $16;
+ $56 = ($54|0)<($55|0);
+ if (!($56)) {
+ break;
+ }
+ $57 = $30;
+ $58 = (5333 - ($57))|0;
+ $59 = (($58) + 896)|0;
+ $60 = (_silk_log2lin($59)|0);
+ $61 = $34;
+ $62 = (($60) - ($61))|0;
+ $32 = $62;
+ $63 = $18;
+ $64 = (($21) + ($63)|0);
+ $65 = $25;
+ $66 = $26;
+ $67 = $23;
+ $68 = $24;
+ $69 = $22;
+ $70 = $14;
+ $71 = $32;
+ $72 = $20;
+ _silk_VQ_WMat_EC_c($64,$27,$33,$65,$66,$67,$68,$69,$70,$71,$72);
+ $73 = $28;
+ $74 = HEAP32[$27>>2]|0;
+ $75 = (($73) + ($74))|0;
+ $76 = $75 & -2147483648;
+ $77 = ($76|0)!=(0);
+ if ($77) {
+ $81 = 2147483647;
+ } else {
+ $78 = $28;
+ $79 = HEAP32[$27>>2]|0;
+ $80 = (($78) + ($79))|0;
+ $81 = $80;
+ }
+ $28 = $81;
+ $82 = $30;
+ $83 = $34;
+ $84 = HEAP32[$33>>2]|0;
+ $85 = (($83) + ($84))|0;
+ $86 = (_silk_lin2log($85)|0);
+ $87 = (($82) + ($86))|0;
+ $88 = (($87) - 896)|0;
+ $89 = (0)>($88|0);
+ if ($89) {
+ $97 = 0;
+ } else {
+ $90 = $30;
+ $91 = $34;
+ $92 = HEAP32[$33>>2]|0;
+ $93 = (($91) + ($92))|0;
+ $94 = (_silk_lin2log($93)|0);
+ $95 = (($90) + ($94))|0;
+ $96 = (($95) - 896)|0;
+ $97 = $96;
+ }
+ $30 = $97;
+ $98 = $25;
+ $99 = ((($98)) + 10|0);
+ $25 = $99;
+ $100 = $26;
+ $101 = ((($100)) + 100|0);
+ $26 = $101;
+ $102 = $18;
+ $103 = (($102) + 1)|0;
+ $18 = $103;
+ }
+ $104 = $28;
+ $105 = (2147483646)<($104|0);
+ $106 = $28;
+ $107 = $105 ? 2147483646 : $106;
+ $28 = $107;
+ $108 = $28;
+ $109 = $29;
+ $110 = ($108|0)<($109|0);
+ if ($110) {
+ $111 = $28;
+ $29 = $111;
+ $112 = $19;
+ $113 = $112&255;
+ $114 = $11;
+ HEAP8[$114>>0] = $113;
+ $115 = $10;
+ $116 = $16;
+ $117 = $116;
+ _memcpy(($115|0),($21|0),($117|0))|0;
+ $118 = $30;
+ $31 = $118;
+ }
+ $119 = $15;
+ $120 = ($119|0)!=(0);
+ if ($120) {
+ $121 = $28;
+ $122 = HEAP16[12474]|0;
+ $123 = $122 << 16 >> 16;
+ $124 = ($121|0)<($123|0);
+ if ($124) {
+ break;
+ }
+ }
+ $125 = $19;
+ $126 = (($125) + 1)|0;
+ $19 = $126;
+ }
+ $127 = $11;
+ $128 = HEAP8[$127>>0]|0;
+ $129 = $128 << 24 >> 24;
+ $130 = (16684 + ($129<<2)|0);
+ $131 = HEAP32[$130>>2]|0;
+ $23 = $131;
+ $18 = 0;
+ while(1) {
+ $132 = $18;
+ $133 = $16;
+ $134 = ($132|0)<($133|0);
+ if (!($134)) {
+ break;
+ }
+ $19 = 0;
+ while(1) {
+ $135 = $19;
+ $136 = ($135|0)<(5);
+ if (!($136)) {
+ break;
+ }
+ $137 = $23;
+ $138 = $10;
+ $139 = $18;
+ $140 = (($138) + ($139)|0);
+ $141 = HEAP8[$140>>0]|0;
+ $142 = $141 << 24 >> 24;
+ $143 = ($142*5)|0;
+ $144 = $19;
+ $145 = (($143) + ($144))|0;
+ $146 = (($137) + ($145)|0);
+ $147 = HEAP8[$146>>0]|0;
+ $148 = $147 << 24 >> 24;
+ $149 = $148 << 7;
+ $150 = $149&65535;
+ $151 = $9;
+ $152 = $18;
+ $153 = ($152*5)|0;
+ $154 = $19;
+ $155 = (($153) + ($154))|0;
+ $156 = (($151) + ($155<<1)|0);
+ HEAP16[$156>>1] = $150;
+ $157 = $19;
+ $158 = (($157) + 1)|0;
+ $19 = $158;
+ }
+ $159 = $18;
+ $160 = (($159) + 1)|0;
+ $18 = $160;
+ }
+ $161 = $31;
+ $162 = $12;
+ HEAP32[$162>>2] = $161;
+ STACKTOP = sp;return;
+}
+function _silk_VQ_WMat_EC_c($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ $10 = $10|0;
+ var $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0;
+ var $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0;
+ var $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0;
+ var $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0;
+ var $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0;
+ var $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0;
+ var $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0;
+ var $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0;
+ var $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0;
+ var $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0;
+ var $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0;
+ var $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0;
+ var $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0;
+ var $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0;
+ var $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0;
+ var $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0;
+ var $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0;
+ var $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0;
+ var $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0;
+ var $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0;
+ var $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0;
+ var $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $50 = 0;
+ var $500 = 0, $501 = 0, $502 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $25 = sp + 64|0;
+ $11 = $0;
+ $12 = $1;
+ $13 = $2;
+ $14 = $3;
+ $15 = $4;
+ $16 = $5;
+ $17 = $6;
+ $18 = $7;
+ $19 = $8;
+ $20 = $9;
+ $21 = $10;
+ $28 = $12;
+ HEAP32[$28>>2] = 2147483647;
+ $29 = $16;
+ $24 = $29;
+ $22 = 0;
+ while(1) {
+ $30 = $22;
+ $31 = $21;
+ $32 = ($30|0)<($31|0);
+ if (!($32)) {
+ break;
+ }
+ $33 = $17;
+ $34 = $22;
+ $35 = (($33) + ($34)|0);
+ $36 = HEAP8[$35>>0]|0;
+ $37 = $36&255;
+ $23 = $37;
+ $38 = $14;
+ $39 = HEAP16[$38>>1]|0;
+ $40 = $39 << 16 >> 16;
+ $41 = $24;
+ $42 = HEAP8[$41>>0]|0;
+ $43 = $42 << 24 >> 24;
+ $44 = $43 << 7;
+ $45 = (($40) - ($44))|0;
+ $46 = $45&65535;
+ HEAP16[$25>>1] = $46;
+ $47 = $14;
+ $48 = ((($47)) + 2|0);
+ $49 = HEAP16[$48>>1]|0;
+ $50 = $49 << 16 >> 16;
+ $51 = $24;
+ $52 = ((($51)) + 1|0);
+ $53 = HEAP8[$52>>0]|0;
+ $54 = $53 << 24 >> 24;
+ $55 = $54 << 7;
+ $56 = (($50) - ($55))|0;
+ $57 = $56&65535;
+ $58 = ((($25)) + 2|0);
+ HEAP16[$58>>1] = $57;
+ $59 = $14;
+ $60 = ((($59)) + 4|0);
+ $61 = HEAP16[$60>>1]|0;
+ $62 = $61 << 16 >> 16;
+ $63 = $24;
+ $64 = ((($63)) + 2|0);
+ $65 = HEAP8[$64>>0]|0;
+ $66 = $65 << 24 >> 24;
+ $67 = $66 << 7;
+ $68 = (($62) - ($67))|0;
+ $69 = $68&65535;
+ $70 = ((($25)) + 4|0);
+ HEAP16[$70>>1] = $69;
+ $71 = $14;
+ $72 = ((($71)) + 6|0);
+ $73 = HEAP16[$72>>1]|0;
+ $74 = $73 << 16 >> 16;
+ $75 = $24;
+ $76 = ((($75)) + 3|0);
+ $77 = HEAP8[$76>>0]|0;
+ $78 = $77 << 24 >> 24;
+ $79 = $78 << 7;
+ $80 = (($74) - ($79))|0;
+ $81 = $80&65535;
+ $82 = ((($25)) + 6|0);
+ HEAP16[$82>>1] = $81;
+ $83 = $14;
+ $84 = ((($83)) + 8|0);
+ $85 = HEAP16[$84>>1]|0;
+ $86 = $85 << 16 >> 16;
+ $87 = $24;
+ $88 = ((($87)) + 4|0);
+ $89 = HEAP8[$88>>0]|0;
+ $90 = $89 << 24 >> 24;
+ $91 = $90 << 7;
+ $92 = (($86) - ($91))|0;
+ $93 = $92&65535;
+ $94 = ((($25)) + 8|0);
+ HEAP16[$94>>1] = $93;
+ $95 = $19;
+ $96 = $95&65535;
+ $97 = $96 << 16 >> 16;
+ $98 = $18;
+ $99 = $22;
+ $100 = (($98) + ($99)|0);
+ $101 = HEAP8[$100>>0]|0;
+ $102 = $101&255;
+ $103 = $102 << 16 >> 16;
+ $104 = Math_imul($97, $103)|0;
+ $26 = $104;
+ $105 = $26;
+ $106 = $23;
+ $107 = $20;
+ $108 = (($106) - ($107))|0;
+ $109 = ($108|0)>(0);
+ if ($109) {
+ $110 = $23;
+ $111 = $20;
+ $112 = (($110) - ($111))|0;
+ $114 = $112;
+ } else {
+ $114 = 0;
+ }
+ $113 = $114 << 10;
+ $115 = (($105) + ($113))|0;
+ $26 = $115;
+ $116 = $15;
+ $117 = ((($116)) + 4|0);
+ $118 = HEAP32[$117>>2]|0;
+ $119 = $118 >> 16;
+ $120 = ((($25)) + 2|0);
+ $121 = HEAP16[$120>>1]|0;
+ $122 = $121 << 16 >> 16;
+ $123 = Math_imul($119, $122)|0;
+ $124 = $15;
+ $125 = ((($124)) + 4|0);
+ $126 = HEAP32[$125>>2]|0;
+ $127 = $126 & 65535;
+ $128 = ((($25)) + 2|0);
+ $129 = HEAP16[$128>>1]|0;
+ $130 = $129 << 16 >> 16;
+ $131 = Math_imul($127, $130)|0;
+ $132 = $131 >> 16;
+ $133 = (($123) + ($132))|0;
+ $27 = $133;
+ $134 = $27;
+ $135 = $15;
+ $136 = ((($135)) + 8|0);
+ $137 = HEAP32[$136>>2]|0;
+ $138 = $137 >> 16;
+ $139 = ((($25)) + 4|0);
+ $140 = HEAP16[$139>>1]|0;
+ $141 = $140 << 16 >> 16;
+ $142 = Math_imul($138, $141)|0;
+ $143 = $15;
+ $144 = ((($143)) + 8|0);
+ $145 = HEAP32[$144>>2]|0;
+ $146 = $145 & 65535;
+ $147 = ((($25)) + 4|0);
+ $148 = HEAP16[$147>>1]|0;
+ $149 = $148 << 16 >> 16;
+ $150 = Math_imul($146, $149)|0;
+ $151 = $150 >> 16;
+ $152 = (($142) + ($151))|0;
+ $153 = (($134) + ($152))|0;
+ $27 = $153;
+ $154 = $27;
+ $155 = $15;
+ $156 = ((($155)) + 12|0);
+ $157 = HEAP32[$156>>2]|0;
+ $158 = $157 >> 16;
+ $159 = ((($25)) + 6|0);
+ $160 = HEAP16[$159>>1]|0;
+ $161 = $160 << 16 >> 16;
+ $162 = Math_imul($158, $161)|0;
+ $163 = $15;
+ $164 = ((($163)) + 12|0);
+ $165 = HEAP32[$164>>2]|0;
+ $166 = $165 & 65535;
+ $167 = ((($25)) + 6|0);
+ $168 = HEAP16[$167>>1]|0;
+ $169 = $168 << 16 >> 16;
+ $170 = Math_imul($166, $169)|0;
+ $171 = $170 >> 16;
+ $172 = (($162) + ($171))|0;
+ $173 = (($154) + ($172))|0;
+ $27 = $173;
+ $174 = $27;
+ $175 = $15;
+ $176 = ((($175)) + 16|0);
+ $177 = HEAP32[$176>>2]|0;
+ $178 = $177 >> 16;
+ $179 = ((($25)) + 8|0);
+ $180 = HEAP16[$179>>1]|0;
+ $181 = $180 << 16 >> 16;
+ $182 = Math_imul($178, $181)|0;
+ $183 = $15;
+ $184 = ((($183)) + 16|0);
+ $185 = HEAP32[$184>>2]|0;
+ $186 = $185 & 65535;
+ $187 = ((($25)) + 8|0);
+ $188 = HEAP16[$187>>1]|0;
+ $189 = $188 << 16 >> 16;
+ $190 = Math_imul($186, $189)|0;
+ $191 = $190 >> 16;
+ $192 = (($182) + ($191))|0;
+ $193 = (($174) + ($192))|0;
+ $27 = $193;
+ $194 = $27;
+ $195 = $194 << 1;
+ $27 = $195;
+ $196 = $27;
+ $197 = $15;
+ $198 = HEAP32[$197>>2]|0;
+ $199 = $198 >> 16;
+ $200 = HEAP16[$25>>1]|0;
+ $201 = $200 << 16 >> 16;
+ $202 = Math_imul($199, $201)|0;
+ $203 = $15;
+ $204 = HEAP32[$203>>2]|0;
+ $205 = $204 & 65535;
+ $206 = HEAP16[$25>>1]|0;
+ $207 = $206 << 16 >> 16;
+ $208 = Math_imul($205, $207)|0;
+ $209 = $208 >> 16;
+ $210 = (($202) + ($209))|0;
+ $211 = (($196) + ($210))|0;
+ $27 = $211;
+ $212 = $26;
+ $213 = $27;
+ $214 = $213 >> 16;
+ $215 = HEAP16[$25>>1]|0;
+ $216 = $215 << 16 >> 16;
+ $217 = Math_imul($214, $216)|0;
+ $218 = $27;
+ $219 = $218 & 65535;
+ $220 = HEAP16[$25>>1]|0;
+ $221 = $220 << 16 >> 16;
+ $222 = Math_imul($219, $221)|0;
+ $223 = $222 >> 16;
+ $224 = (($217) + ($223))|0;
+ $225 = (($212) + ($224))|0;
+ $26 = $225;
+ $226 = $15;
+ $227 = ((($226)) + 28|0);
+ $228 = HEAP32[$227>>2]|0;
+ $229 = $228 >> 16;
+ $230 = ((($25)) + 4|0);
+ $231 = HEAP16[$230>>1]|0;
+ $232 = $231 << 16 >> 16;
+ $233 = Math_imul($229, $232)|0;
+ $234 = $15;
+ $235 = ((($234)) + 28|0);
+ $236 = HEAP32[$235>>2]|0;
+ $237 = $236 & 65535;
+ $238 = ((($25)) + 4|0);
+ $239 = HEAP16[$238>>1]|0;
+ $240 = $239 << 16 >> 16;
+ $241 = Math_imul($237, $240)|0;
+ $242 = $241 >> 16;
+ $243 = (($233) + ($242))|0;
+ $27 = $243;
+ $244 = $27;
+ $245 = $15;
+ $246 = ((($245)) + 32|0);
+ $247 = HEAP32[$246>>2]|0;
+ $248 = $247 >> 16;
+ $249 = ((($25)) + 6|0);
+ $250 = HEAP16[$249>>1]|0;
+ $251 = $250 << 16 >> 16;
+ $252 = Math_imul($248, $251)|0;
+ $253 = $15;
+ $254 = ((($253)) + 32|0);
+ $255 = HEAP32[$254>>2]|0;
+ $256 = $255 & 65535;
+ $257 = ((($25)) + 6|0);
+ $258 = HEAP16[$257>>1]|0;
+ $259 = $258 << 16 >> 16;
+ $260 = Math_imul($256, $259)|0;
+ $261 = $260 >> 16;
+ $262 = (($252) + ($261))|0;
+ $263 = (($244) + ($262))|0;
+ $27 = $263;
+ $264 = $27;
+ $265 = $15;
+ $266 = ((($265)) + 36|0);
+ $267 = HEAP32[$266>>2]|0;
+ $268 = $267 >> 16;
+ $269 = ((($25)) + 8|0);
+ $270 = HEAP16[$269>>1]|0;
+ $271 = $270 << 16 >> 16;
+ $272 = Math_imul($268, $271)|0;
+ $273 = $15;
+ $274 = ((($273)) + 36|0);
+ $275 = HEAP32[$274>>2]|0;
+ $276 = $275 & 65535;
+ $277 = ((($25)) + 8|0);
+ $278 = HEAP16[$277>>1]|0;
+ $279 = $278 << 16 >> 16;
+ $280 = Math_imul($276, $279)|0;
+ $281 = $280 >> 16;
+ $282 = (($272) + ($281))|0;
+ $283 = (($264) + ($282))|0;
+ $27 = $283;
+ $284 = $27;
+ $285 = $284 << 1;
+ $27 = $285;
+ $286 = $27;
+ $287 = $15;
+ $288 = ((($287)) + 24|0);
+ $289 = HEAP32[$288>>2]|0;
+ $290 = $289 >> 16;
+ $291 = ((($25)) + 2|0);
+ $292 = HEAP16[$291>>1]|0;
+ $293 = $292 << 16 >> 16;
+ $294 = Math_imul($290, $293)|0;
+ $295 = $15;
+ $296 = ((($295)) + 24|0);
+ $297 = HEAP32[$296>>2]|0;
+ $298 = $297 & 65535;
+ $299 = ((($25)) + 2|0);
+ $300 = HEAP16[$299>>1]|0;
+ $301 = $300 << 16 >> 16;
+ $302 = Math_imul($298, $301)|0;
+ $303 = $302 >> 16;
+ $304 = (($294) + ($303))|0;
+ $305 = (($286) + ($304))|0;
+ $27 = $305;
+ $306 = $26;
+ $307 = $27;
+ $308 = $307 >> 16;
+ $309 = ((($25)) + 2|0);
+ $310 = HEAP16[$309>>1]|0;
+ $311 = $310 << 16 >> 16;
+ $312 = Math_imul($308, $311)|0;
+ $313 = $27;
+ $314 = $313 & 65535;
+ $315 = ((($25)) + 2|0);
+ $316 = HEAP16[$315>>1]|0;
+ $317 = $316 << 16 >> 16;
+ $318 = Math_imul($314, $317)|0;
+ $319 = $318 >> 16;
+ $320 = (($312) + ($319))|0;
+ $321 = (($306) + ($320))|0;
+ $26 = $321;
+ $322 = $15;
+ $323 = ((($322)) + 52|0);
+ $324 = HEAP32[$323>>2]|0;
+ $325 = $324 >> 16;
+ $326 = ((($25)) + 6|0);
+ $327 = HEAP16[$326>>1]|0;
+ $328 = $327 << 16 >> 16;
+ $329 = Math_imul($325, $328)|0;
+ $330 = $15;
+ $331 = ((($330)) + 52|0);
+ $332 = HEAP32[$331>>2]|0;
+ $333 = $332 & 65535;
+ $334 = ((($25)) + 6|0);
+ $335 = HEAP16[$334>>1]|0;
+ $336 = $335 << 16 >> 16;
+ $337 = Math_imul($333, $336)|0;
+ $338 = $337 >> 16;
+ $339 = (($329) + ($338))|0;
+ $27 = $339;
+ $340 = $27;
+ $341 = $15;
+ $342 = ((($341)) + 56|0);
+ $343 = HEAP32[$342>>2]|0;
+ $344 = $343 >> 16;
+ $345 = ((($25)) + 8|0);
+ $346 = HEAP16[$345>>1]|0;
+ $347 = $346 << 16 >> 16;
+ $348 = Math_imul($344, $347)|0;
+ $349 = $15;
+ $350 = ((($349)) + 56|0);
+ $351 = HEAP32[$350>>2]|0;
+ $352 = $351 & 65535;
+ $353 = ((($25)) + 8|0);
+ $354 = HEAP16[$353>>1]|0;
+ $355 = $354 << 16 >> 16;
+ $356 = Math_imul($352, $355)|0;
+ $357 = $356 >> 16;
+ $358 = (($348) + ($357))|0;
+ $359 = (($340) + ($358))|0;
+ $27 = $359;
+ $360 = $27;
+ $361 = $360 << 1;
+ $27 = $361;
+ $362 = $27;
+ $363 = $15;
+ $364 = ((($363)) + 48|0);
+ $365 = HEAP32[$364>>2]|0;
+ $366 = $365 >> 16;
+ $367 = ((($25)) + 4|0);
+ $368 = HEAP16[$367>>1]|0;
+ $369 = $368 << 16 >> 16;
+ $370 = Math_imul($366, $369)|0;
+ $371 = $15;
+ $372 = ((($371)) + 48|0);
+ $373 = HEAP32[$372>>2]|0;
+ $374 = $373 & 65535;
+ $375 = ((($25)) + 4|0);
+ $376 = HEAP16[$375>>1]|0;
+ $377 = $376 << 16 >> 16;
+ $378 = Math_imul($374, $377)|0;
+ $379 = $378 >> 16;
+ $380 = (($370) + ($379))|0;
+ $381 = (($362) + ($380))|0;
+ $27 = $381;
+ $382 = $26;
+ $383 = $27;
+ $384 = $383 >> 16;
+ $385 = ((($25)) + 4|0);
+ $386 = HEAP16[$385>>1]|0;
+ $387 = $386 << 16 >> 16;
+ $388 = Math_imul($384, $387)|0;
+ $389 = $27;
+ $390 = $389 & 65535;
+ $391 = ((($25)) + 4|0);
+ $392 = HEAP16[$391>>1]|0;
+ $393 = $392 << 16 >> 16;
+ $394 = Math_imul($390, $393)|0;
+ $395 = $394 >> 16;
+ $396 = (($388) + ($395))|0;
+ $397 = (($382) + ($396))|0;
+ $26 = $397;
+ $398 = $15;
+ $399 = ((($398)) + 76|0);
+ $400 = HEAP32[$399>>2]|0;
+ $401 = $400 >> 16;
+ $402 = ((($25)) + 8|0);
+ $403 = HEAP16[$402>>1]|0;
+ $404 = $403 << 16 >> 16;
+ $405 = Math_imul($401, $404)|0;
+ $406 = $15;
+ $407 = ((($406)) + 76|0);
+ $408 = HEAP32[$407>>2]|0;
+ $409 = $408 & 65535;
+ $410 = ((($25)) + 8|0);
+ $411 = HEAP16[$410>>1]|0;
+ $412 = $411 << 16 >> 16;
+ $413 = Math_imul($409, $412)|0;
+ $414 = $413 >> 16;
+ $415 = (($405) + ($414))|0;
+ $27 = $415;
+ $416 = $27;
+ $417 = $416 << 1;
+ $27 = $417;
+ $418 = $27;
+ $419 = $15;
+ $420 = ((($419)) + 72|0);
+ $421 = HEAP32[$420>>2]|0;
+ $422 = $421 >> 16;
+ $423 = ((($25)) + 6|0);
+ $424 = HEAP16[$423>>1]|0;
+ $425 = $424 << 16 >> 16;
+ $426 = Math_imul($422, $425)|0;
+ $427 = $15;
+ $428 = ((($427)) + 72|0);
+ $429 = HEAP32[$428>>2]|0;
+ $430 = $429 & 65535;
+ $431 = ((($25)) + 6|0);
+ $432 = HEAP16[$431>>1]|0;
+ $433 = $432 << 16 >> 16;
+ $434 = Math_imul($430, $433)|0;
+ $435 = $434 >> 16;
+ $436 = (($426) + ($435))|0;
+ $437 = (($418) + ($436))|0;
+ $27 = $437;
+ $438 = $26;
+ $439 = $27;
+ $440 = $439 >> 16;
+ $441 = ((($25)) + 6|0);
+ $442 = HEAP16[$441>>1]|0;
+ $443 = $442 << 16 >> 16;
+ $444 = Math_imul($440, $443)|0;
+ $445 = $27;
+ $446 = $445 & 65535;
+ $447 = ((($25)) + 6|0);
+ $448 = HEAP16[$447>>1]|0;
+ $449 = $448 << 16 >> 16;
+ $450 = Math_imul($446, $449)|0;
+ $451 = $450 >> 16;
+ $452 = (($444) + ($451))|0;
+ $453 = (($438) + ($452))|0;
+ $26 = $453;
+ $454 = $15;
+ $455 = ((($454)) + 96|0);
+ $456 = HEAP32[$455>>2]|0;
+ $457 = $456 >> 16;
+ $458 = ((($25)) + 8|0);
+ $459 = HEAP16[$458>>1]|0;
+ $460 = $459 << 16 >> 16;
+ $461 = Math_imul($457, $460)|0;
+ $462 = $15;
+ $463 = ((($462)) + 96|0);
+ $464 = HEAP32[$463>>2]|0;
+ $465 = $464 & 65535;
+ $466 = ((($25)) + 8|0);
+ $467 = HEAP16[$466>>1]|0;
+ $468 = $467 << 16 >> 16;
+ $469 = Math_imul($465, $468)|0;
+ $470 = $469 >> 16;
+ $471 = (($461) + ($470))|0;
+ $27 = $471;
+ $472 = $26;
+ $473 = $27;
+ $474 = $473 >> 16;
+ $475 = ((($25)) + 8|0);
+ $476 = HEAP16[$475>>1]|0;
+ $477 = $476 << 16 >> 16;
+ $478 = Math_imul($474, $477)|0;
+ $479 = $27;
+ $480 = $479 & 65535;
+ $481 = ((($25)) + 8|0);
+ $482 = HEAP16[$481>>1]|0;
+ $483 = $482 << 16 >> 16;
+ $484 = Math_imul($480, $483)|0;
+ $485 = $484 >> 16;
+ $486 = (($478) + ($485))|0;
+ $487 = (($472) + ($486))|0;
+ $26 = $487;
+ $488 = $26;
+ $489 = $12;
+ $490 = HEAP32[$489>>2]|0;
+ $491 = ($488|0)<($490|0);
+ if ($491) {
+ $492 = $26;
+ $493 = $12;
+ HEAP32[$493>>2] = $492;
+ $494 = $22;
+ $495 = $494&255;
+ $496 = $11;
+ HEAP8[$496>>0] = $495;
+ $497 = $23;
+ $498 = $13;
+ HEAP32[$498>>2] = $497;
+ }
+ $499 = $24;
+ $500 = ((($499)) + 5|0);
+ $24 = $500;
+ $501 = $22;
+ $502 = (($501) + 1)|0;
+ $22 = $502;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_process_NLSFs($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
+ var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
+ var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
+ var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
+ var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 128|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(128|0);
+ $12 = sp + 96|0;
+ $13 = sp + 64|0;
+ $14 = sp + 32|0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $15 = $4;
+ $16 = ((($15)) + 4556|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $17&65535;
+ $19 = $18 << 16 >> 16;
+ $20 = Math_imul(-5, $19)|0;
+ $21 = $4;
+ $22 = ((($21)) + 4556|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = $23&65535;
+ $25 = $24 << 16 >> 16;
+ $26 = ($25*59246)|0;
+ $27 = $26 >> 16;
+ $28 = (($20) + ($27))|0;
+ $29 = (3146 + ($28))|0;
+ $10 = $29;
+ $30 = $4;
+ $31 = ((($30)) + 4604|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = ($32|0)==(2);
+ if ($33) {
+ $34 = $10;
+ $35 = $10;
+ $36 = $35 >> 1;
+ $37 = (($34) + ($36))|0;
+ $10 = $37;
+ }
+ $38 = $6;
+ $39 = $4;
+ $40 = ((($39)) + 4664|0);
+ $41 = HEAP32[$40>>2]|0;
+ _silk_NLSF_VQ_weights_laroia($13,$38,$41);
+ $42 = $4;
+ $43 = ((($42)) + 4656|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = ($44|0)==(1);
+ if ($45) {
+ $46 = $4;
+ $47 = ((($46)) + 4768|0);
+ $48 = ((($47)) + 31|0);
+ $49 = HEAP8[$48>>0]|0;
+ $50 = $49 << 24 >> 24;
+ $51 = ($50|0)<(4);
+ $53 = $51;
+ } else {
+ $53 = 0;
+ }
+ $52 = $53&1;
+ $9 = $52;
+ $54 = $9;
+ $55 = ($54|0)!=(0);
+ L7: do {
+ if ($55) {
+ $56 = $7;
+ $57 = $6;
+ $58 = $4;
+ $59 = ((($58)) + 4768|0);
+ $60 = ((($59)) + 31|0);
+ $61 = HEAP8[$60>>0]|0;
+ $62 = $61 << 24 >> 24;
+ $63 = $4;
+ $64 = ((($63)) + 4664|0);
+ $65 = HEAP32[$64>>2]|0;
+ _silk_interpolate($12,$56,$57,$62,$65);
+ $66 = $4;
+ $67 = ((($66)) + 4664|0);
+ $68 = HEAP32[$67>>2]|0;
+ _silk_NLSF_VQ_weights_laroia($14,$12,$68);
+ $69 = $4;
+ $70 = ((($69)) + 4768|0);
+ $71 = ((($70)) + 31|0);
+ $72 = HEAP8[$71>>0]|0;
+ $73 = $72 << 24 >> 24;
+ $74 = $73 << 16 >> 16;
+ $75 = $4;
+ $76 = ((($75)) + 4768|0);
+ $77 = ((($76)) + 31|0);
+ $78 = HEAP8[$77>>0]|0;
+ $79 = $78 << 24 >> 24;
+ $80 = $79 << 16 >> 16;
+ $81 = Math_imul($74, $80)|0;
+ $82 = $81 << 11;
+ $11 = $82;
+ $8 = 0;
+ while(1) {
+ $83 = $8;
+ $84 = $4;
+ $85 = ((($84)) + 4664|0);
+ $86 = HEAP32[$85>>2]|0;
+ $87 = ($83|0)<($86|0);
+ if (!($87)) {
+ break L7;
+ }
+ $88 = $8;
+ $89 = (($13) + ($88<<1)|0);
+ $90 = HEAP16[$89>>1]|0;
+ $91 = $90 << 16 >> 16;
+ $92 = $91 >> 1;
+ $93 = $8;
+ $94 = (($14) + ($93<<1)|0);
+ $95 = HEAP16[$94>>1]|0;
+ $96 = $95 << 16 >> 16;
+ $97 = $96 >> 16;
+ $98 = $11;
+ $99 = $98&65535;
+ $100 = $99 << 16 >> 16;
+ $101 = Math_imul($97, $100)|0;
+ $102 = $8;
+ $103 = (($14) + ($102<<1)|0);
+ $104 = HEAP16[$103>>1]|0;
+ $105 = $104 << 16 >> 16;
+ $106 = $105 & 65535;
+ $107 = $11;
+ $108 = $107&65535;
+ $109 = $108 << 16 >> 16;
+ $110 = Math_imul($106, $109)|0;
+ $111 = $110 >> 16;
+ $112 = (($101) + ($111))|0;
+ $113 = (($92) + ($112))|0;
+ $114 = $113&65535;
+ $115 = $8;
+ $116 = (($13) + ($115<<1)|0);
+ HEAP16[$116>>1] = $114;
+ $117 = $8;
+ $118 = (($117) + 1)|0;
+ $8 = $118;
+ }
+ }
+ } while(0);
+ $119 = $4;
+ $120 = ((($119)) + 4768|0);
+ $121 = ((($120)) + 8|0);
+ $122 = $6;
+ $123 = $4;
+ $124 = ((($123)) + 4724|0);
+ $125 = HEAP32[$124>>2]|0;
+ $126 = $10;
+ $127 = $4;
+ $128 = ((($127)) + 4692|0);
+ $129 = HEAP32[$128>>2]|0;
+ $130 = $4;
+ $131 = ((($130)) + 4768|0);
+ $132 = ((($131)) + 29|0);
+ $133 = HEAP8[$132>>0]|0;
+ $134 = $133 << 24 >> 24;
+ (_silk_NLSF_encode($121,$122,$125,$13,$126,$129,$134)|0);
+ $135 = $5;
+ $136 = ((($135)) + 32|0);
+ $137 = $6;
+ $138 = $4;
+ $139 = ((($138)) + 4664|0);
+ $140 = HEAP32[$139>>2]|0;
+ _silk_NLSF2A($136,$137,$140);
+ $141 = $9;
+ $142 = ($141|0)!=(0);
+ if ($142) {
+ $143 = $7;
+ $144 = $6;
+ $145 = $4;
+ $146 = ((($145)) + 4768|0);
+ $147 = ((($146)) + 31|0);
+ $148 = HEAP8[$147>>0]|0;
+ $149 = $148 << 24 >> 24;
+ $150 = $4;
+ $151 = ((($150)) + 4664|0);
+ $152 = HEAP32[$151>>2]|0;
+ _silk_interpolate($12,$143,$144,$149,$152);
+ $153 = $5;
+ $154 = $4;
+ $155 = ((($154)) + 4664|0);
+ $156 = HEAP32[$155>>2]|0;
+ _silk_NLSF2A($153,$12,$156);
+ STACKTOP = sp;return;
+ } else {
+ $157 = $5;
+ $158 = $5;
+ $159 = ((($158)) + 32|0);
+ $160 = $4;
+ $161 = ((($160)) + 4664|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = $162<<1;
+ _memcpy(($157|0),($159|0),($163|0))|0;
+ STACKTOP = sp;return;
+ }
+}
+function _silk_A2NLSF($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0;
+ var $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0;
+ var $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0;
+ var $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0;
+ var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $or$cond = 0, $or$cond3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
+ $21 = sp + 52|0;
+ $22 = sp + 16|0;
+ $23 = sp + 8|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ HEAP32[$23>>2] = $21;
+ $25 = ((($23)) + 4|0);
+ HEAP32[$25>>2] = $22;
+ $26 = $5;
+ $27 = $26 >> 1;
+ $9 = $27;
+ $28 = $4;
+ $29 = $9;
+ _silk_A2NLSF_init($28,$21,$22,$29);
+ $24 = $21;
+ $30 = HEAP16[12731]|0;
+ $31 = $30 << 16 >> 16;
+ $12 = $31;
+ $32 = $24;
+ $33 = $12;
+ $34 = $9;
+ $35 = (_silk_A2NLSF_eval_poly($32,$33,$34)|0);
+ $15 = $35;
+ $36 = $15;
+ $37 = ($36|0)<(0);
+ if ($37) {
+ $38 = $3;
+ HEAP16[$38>>1] = 0;
+ $24 = $22;
+ $39 = $24;
+ $40 = $12;
+ $41 = $9;
+ $42 = (_silk_A2NLSF_eval_poly($39,$40,$41)|0);
+ $15 = $42;
+ $10 = 1;
+ } else {
+ $10 = 0;
+ }
+ $7 = 1;
+ $6 = 0;
+ $18 = 0;
L5: while(1) {
- $12 = $k;
- $arrayidx10 = (25462 + ($12<<1)|0);
- $13 = HEAP16[$arrayidx10>>1]|0;
- $conv11 = $13 << 16 >> 16;
- $xhi = $conv11;
- $14 = $p;
- $15 = $xhi;
- $16 = $dd;
- $call12 = (_silk_A2NLSF_eval_poly($14,$15,$16)|0);
- $yhi = $call12;
- $17 = $ylo;
- $cmp13 = ($17|0)<=(0);
- if ($cmp13) {
- $18 = $yhi;
- $19 = $thr;
- $cmp15 = ($18|0)>=($19|0);
- if (!($cmp15)) {
+ $43 = $7;
+ $44 = (25462 + ($43<<1)|0);
+ $45 = HEAP16[$44>>1]|0;
+ $46 = $45 << 16 >> 16;
+ $13 = $46;
+ $47 = $24;
+ $48 = $13;
+ $49 = $9;
+ $50 = (_silk_A2NLSF_eval_poly($47,$48,$49)|0);
+ $16 = $50;
+ $51 = $15;
+ $52 = ($51|0)<=(0);
+ if ($52) {
+ $53 = $16;
+ $54 = $18;
+ $55 = ($53|0)>=($54|0);
+ if (!($55)) {
label = 7;
}
} else {
@@ -85666,11067 +85667,11067 @@ function _silk_A2NLSF($NLSF,$a_Q16,$d) {
do {
if ((label|0) == 7) {
label = 0;
- $20 = $ylo;
- $cmp17 = ($20|0)>=(0);
- if ($cmp17) {
- $21 = $yhi;
- $22 = $thr;
- $sub = (0 - ($22))|0;
- $cmp20 = ($21|0)<=($sub|0);
- if ($cmp20) {
+ $56 = $15;
+ $57 = ($56|0)>=(0);
+ if ($57) {
+ $58 = $16;
+ $59 = $18;
+ $60 = (0 - ($59))|0;
+ $61 = ($58|0)<=($60|0);
+ if ($61) {
break;
}
}
- $68 = $k;
- $inc89 = (($68) + 1)|0;
- $k = $inc89;
- $69 = $xhi;
- $xlo = $69;
- $70 = $yhi;
- $ylo = $70;
- $thr = 0;
- $71 = $k;
- $cmp90 = ($71|0)>(128);
- if (!($cmp90)) {
+ $152 = $7;
+ $153 = (($152) + 1)|0;
+ $7 = $153;
+ $154 = $13;
+ $12 = $154;
+ $155 = $16;
+ $15 = $155;
+ $18 = 0;
+ $156 = $7;
+ $157 = ($156|0)>(128);
+ if (!($157)) {
continue L5;
}
- $72 = $i;
- $inc93 = (($72) + 1)|0;
- $i = $inc93;
- $73 = $i;
- $cmp94 = ($73|0)>(30);
- if ($cmp94) {
+ $158 = $6;
+ $159 = (($158) + 1)|0;
+ $6 = $159;
+ $160 = $6;
+ $161 = ($160|0)>(30);
+ if ($161) {
break L5;
}
- $84 = $a_Q16$addr;
- $85 = $d$addr;
- $86 = $i;
- $add116 = (10 + ($86))|0;
- $conv117 = $add116&65535;
- $conv118 = $conv117 << 16 >> 16;
- $87 = $i;
- $conv119 = $87&65535;
- $conv120 = $conv119 << 16 >> 16;
- $mul121 = Math_imul($conv118, $conv120)|0;
- $sub122 = (65536 - ($mul121))|0;
- _silk_bwexpander_32($84,$85,$sub122);
- $88 = $a_Q16$addr;
- $89 = $dd;
- _silk_A2NLSF_init($88,$P,$Q,$89);
- $p = $P;
- $90 = HEAP16[12731]|0;
- $conv126 = $90 << 16 >> 16;
- $xlo = $conv126;
- $91 = $p;
- $92 = $xlo;
- $93 = $dd;
- $call127 = (_silk_A2NLSF_eval_poly($91,$92,$93)|0);
- $ylo = $call127;
- $94 = $ylo;
- $cmp128 = ($94|0)<(0);
- if ($cmp128) {
- $95 = $NLSF$addr;
- HEAP16[$95>>1] = 0;
- $p = $Q;
- $96 = $p;
- $97 = $xlo;
- $98 = $dd;
- $call133 = (_silk_A2NLSF_eval_poly($96,$97,$98)|0);
- $ylo = $call133;
- $root_ix = 1;
+ $184 = $4;
+ $185 = $5;
+ $186 = $6;
+ $187 = (10 + ($186))|0;
+ $188 = $187&65535;
+ $189 = $188 << 16 >> 16;
+ $190 = $6;
+ $191 = $190&65535;
+ $192 = $191 << 16 >> 16;
+ $193 = Math_imul($189, $192)|0;
+ $194 = (65536 - ($193))|0;
+ _silk_bwexpander_32($184,$185,$194);
+ $195 = $4;
+ $196 = $9;
+ _silk_A2NLSF_init($195,$21,$22,$196);
+ $24 = $21;
+ $197 = HEAP16[12731]|0;
+ $198 = $197 << 16 >> 16;
+ $12 = $198;
+ $199 = $24;
+ $200 = $12;
+ $201 = $9;
+ $202 = (_silk_A2NLSF_eval_poly($199,$200,$201)|0);
+ $15 = $202;
+ $203 = $15;
+ $204 = ($203|0)<(0);
+ if ($204) {
+ $205 = $3;
+ HEAP16[$205>>1] = 0;
+ $24 = $22;
+ $206 = $24;
+ $207 = $12;
+ $208 = $9;
+ $209 = (_silk_A2NLSF_eval_poly($206,$207,$208)|0);
+ $15 = $209;
+ $10 = 1;
} else {
- $root_ix = 0;
+ $10 = 0;
}
- $k = 1;
+ $7 = 1;
continue L5;
}
} while(0);
- $23 = $yhi;
- $cmp23 = ($23|0)==(0);
- if ($cmp23) {
- $thr = 1;
+ $62 = $16;
+ $63 = ($62|0)==(0);
+ if ($63) {
+ $18 = 1;
} else {
- $thr = 0;
+ $18 = 0;
}
- $ffrac = -256;
- $m = 0;
+ $11 = -256;
+ $8 = 0;
while(1) {
- $24 = $m;
- $cmp28 = ($24|0)<(3);
- if (!($cmp28)) {
+ $64 = $8;
+ $65 = ($64|0)<(3);
+ if (!($65)) {
break;
}
- $25 = $xlo;
- $26 = $xhi;
- $add = (($25) + ($26))|0;
- $shr30 = $add >> 1;
- $27 = $xlo;
- $28 = $xhi;
- $add31 = (($27) + ($28))|0;
- $and = $add31 & 1;
- $add32 = (($shr30) + ($and))|0;
- $xmid = $add32;
- $29 = $p;
- $30 = $xmid;
- $31 = $dd;
- $call33 = (_silk_A2NLSF_eval_poly($29,$30,$31)|0);
- $ymid = $call33;
- $32 = $ylo;
- $cmp34 = ($32|0)<=(0);
- $33 = $ymid;
- $cmp37 = ($33|0)>=(0);
- $or$cond = $cmp34 & $cmp37;
+ $66 = $12;
+ $67 = $13;
+ $68 = (($66) + ($67))|0;
+ $69 = $68 >> 1;
+ $70 = $12;
+ $71 = $13;
+ $72 = (($70) + ($71))|0;
+ $73 = $72 & 1;
+ $74 = (($69) + ($73))|0;
+ $14 = $74;
+ $75 = $24;
+ $76 = $14;
+ $77 = $9;
+ $78 = (_silk_A2NLSF_eval_poly($75,$76,$77)|0);
+ $17 = $78;
+ $79 = $15;
+ $80 = ($79|0)<=(0);
+ $81 = $17;
+ $82 = ($81|0)>=(0);
+ $or$cond = $80 & $82;
if ($or$cond) {
label = 16;
} else {
- $34 = $ylo;
- $cmp40 = ($34|0)>=(0);
- $35 = $ymid;
- $cmp43 = ($35|0)<=(0);
- $or$cond1 = $cmp40 & $cmp43;
- if ($or$cond1) {
+ $83 = $15;
+ $84 = ($83|0)>=(0);
+ $85 = $17;
+ $86 = ($85|0)<=(0);
+ $or$cond3 = $84 & $86;
+ if ($or$cond3) {
label = 16;
} else {
- $38 = $xmid;
- $xlo = $38;
- $39 = $ymid;
- $ylo = $39;
- $40 = $ffrac;
- $41 = $m;
- $shr47 = 128 >> $41;
- $add48 = (($40) + ($shr47))|0;
- $ffrac = $add48;
+ $89 = $14;
+ $12 = $89;
+ $90 = $17;
+ $15 = $90;
+ $91 = $11;
+ $92 = $8;
+ $93 = 128 >> $92;
+ $94 = (($91) + ($93))|0;
+ $11 = $94;
}
}
if ((label|0) == 16) {
label = 0;
- $36 = $xmid;
- $xhi = $36;
- $37 = $ymid;
- $yhi = $37;
+ $87 = $14;
+ $13 = $87;
+ $88 = $17;
+ $16 = $88;
}
- $42 = $m;
- $inc = (($42) + 1)|0;
- $m = $inc;
+ $95 = $8;
+ $96 = (($95) + 1)|0;
+ $8 = $96;
}
- $43 = $ylo;
- $cmp50 = ($43|0)>(0);
- $44 = $ylo;
- $sub52 = (0 - ($44))|0;
- $cond = $cmp50 ? $44 : $sub52;
- $cmp53 = ($cond|0)<(65536);
- $45 = $ylo;
- if ($cmp53) {
- $46 = $yhi;
- $sub56 = (($45) - ($46))|0;
- $den = $sub56;
- $47 = $ylo;
- $shl = $47 << 5;
- $48 = $den;
- $shr57 = $48 >> 1;
- $add58 = (($shl) + ($shr57))|0;
- $nom = $add58;
- $49 = $den;
- $cmp59 = ($49|0)!=(0);
- if ($cmp59) {
- $50 = $nom;
- $51 = $den;
- $div = (($50|0) / ($51|0))&-1;
- $52 = $ffrac;
- $add62 = (($52) + ($div))|0;
- $ffrac = $add62;
+ $97 = $15;
+ $98 = ($97|0)>(0);
+ $99 = $15;
+ $100 = (0 - ($99))|0;
+ $101 = $98 ? $99 : $100;
+ $102 = ($101|0)<(65536);
+ $103 = $15;
+ if ($102) {
+ $104 = $16;
+ $105 = (($103) - ($104))|0;
+ $20 = $105;
+ $106 = $15;
+ $107 = $106 << 5;
+ $108 = $20;
+ $109 = $108 >> 1;
+ $110 = (($107) + ($109))|0;
+ $19 = $110;
+ $111 = $20;
+ $112 = ($111|0)!=(0);
+ if ($112) {
+ $113 = $19;
+ $114 = $20;
+ $115 = (($113|0) / ($114|0))&-1;
+ $116 = $11;
+ $117 = (($116) + ($115))|0;
+ $11 = $117;
}
} else {
- $53 = $ylo;
- $54 = $yhi;
- $sub65 = (($53) - ($54))|0;
- $shr66 = $sub65 >> 5;
- $div67 = (($45|0) / ($shr66|0))&-1;
- $55 = $ffrac;
- $add68 = (($55) + ($div67))|0;
- $ffrac = $add68;
+ $118 = $15;
+ $119 = $16;
+ $120 = (($118) - ($119))|0;
+ $121 = $120 >> 5;
+ $122 = (($103|0) / ($121|0))&-1;
+ $123 = $11;
+ $124 = (($123) + ($122))|0;
+ $11 = $124;
}
- $56 = $k;
- $shl70 = $56 << 8;
- $57 = $ffrac;
- $add71 = (($shl70) + ($57))|0;
- $call72 = (_silk_min_32_467($add71,32767)|0);
- $conv73 = $call72&65535;
- $58 = $NLSF$addr;
- $59 = $root_ix;
- $arrayidx74 = (($58) + ($59<<1)|0);
- HEAP16[$arrayidx74>>1] = $conv73;
- $60 = $root_ix;
- $inc75 = (($60) + 1)|0;
- $root_ix = $inc75;
- $61 = $root_ix;
- $62 = $d$addr;
- $cmp76 = ($61|0)>=($62|0);
- if ($cmp76) {
+ $125 = $7;
+ $126 = $125 << 8;
+ $127 = $11;
+ $128 = (($126) + ($127))|0;
+ $129 = (_silk_min_32_467($128,32767)|0);
+ $130 = $129&65535;
+ $131 = $3;
+ $132 = $10;
+ $133 = (($131) + ($132<<1)|0);
+ HEAP16[$133>>1] = $130;
+ $134 = $10;
+ $135 = (($134) + 1)|0;
+ $10 = $135;
+ $136 = $10;
+ $137 = $5;
+ $138 = ($136|0)>=($137|0);
+ if ($138) {
label = 34;
break;
}
- $63 = $root_ix;
- $and80 = $63 & 1;
- $arrayidx81 = (($PQ) + ($and80<<2)|0);
- $64 = HEAP32[$arrayidx81>>2]|0;
- $p = $64;
- $65 = $k;
- $sub82 = (($65) - 1)|0;
- $arrayidx83 = (25462 + ($sub82<<1)|0);
- $66 = HEAP16[$arrayidx83>>1]|0;
- $conv84 = $66 << 16 >> 16;
- $xlo = $conv84;
- $67 = $root_ix;
- $and85 = $67 & 2;
- $sub86 = (1 - ($and85))|0;
- $shl87 = $sub86 << 12;
- $ylo = $shl87;
+ $139 = $10;
+ $140 = $139 & 1;
+ $141 = (($23) + ($140<<2)|0);
+ $142 = HEAP32[$141>>2]|0;
+ $24 = $142;
+ $143 = $7;
+ $144 = (($143) - 1)|0;
+ $145 = (25462 + ($144<<1)|0);
+ $146 = HEAP16[$145>>1]|0;
+ $147 = $146 << 16 >> 16;
+ $12 = $147;
+ $148 = $10;
+ $149 = $148 & 2;
+ $150 = (1 - ($149))|0;
+ $151 = $150 << 12;
+ $15 = $151;
}
if ((label|0) == 34) {
STACKTOP = sp;return;
}
- $74 = $d$addr;
- $add97 = (($74) + 1)|0;
- $div98 = (32768 / ($add97|0))&-1;
- $conv99 = $div98&65535;
- $75 = $NLSF$addr;
- HEAP16[$75>>1] = $conv99;
- $k = 1;
+ $162 = $5;
+ $163 = (($162) + 1)|0;
+ $164 = (32768 / ($163|0))&-1;
+ $165 = $164&65535;
+ $166 = $3;
+ HEAP16[$166>>1] = $165;
+ $7 = 1;
while(1) {
- $76 = $k;
- $77 = $d$addr;
- $cmp102 = ($76|0)<($77|0);
- if (!($cmp102)) {
+ $167 = $7;
+ $168 = $5;
+ $169 = ($167|0)<($168|0);
+ if (!($169)) {
break;
}
- $78 = $k;
- $add105 = (($78) + 1)|0;
- $conv106 = $add105&65535;
- $conv107 = $conv106 << 16 >> 16;
- $79 = $NLSF$addr;
- $80 = HEAP16[$79>>1]|0;
- $conv109 = $80 << 16 >> 16;
- $mul = Math_imul($conv107, $conv109)|0;
- $conv110 = $mul&65535;
- $81 = $NLSF$addr;
- $82 = $k;
- $arrayidx111 = (($81) + ($82<<1)|0);
- HEAP16[$arrayidx111>>1] = $conv110;
- $83 = $k;
- $inc113 = (($83) + 1)|0;
- $k = $inc113;
+ $170 = $7;
+ $171 = (($170) + 1)|0;
+ $172 = $171&65535;
+ $173 = $172 << 16 >> 16;
+ $174 = $3;
+ $175 = HEAP16[$174>>1]|0;
+ $176 = $175 << 16 >> 16;
+ $177 = Math_imul($173, $176)|0;
+ $178 = $177&65535;
+ $179 = $3;
+ $180 = $7;
+ $181 = (($179) + ($180<<1)|0);
+ HEAP16[$181>>1] = $178;
+ $182 = $7;
+ $183 = (($182) + 1)|0;
+ $7 = $183;
}
STACKTOP = sp;return;
}
-function _silk_A2NLSF_init($a_Q16,$P,$Q,$dd) {
- $a_Q16 = $a_Q16|0;
- $P = $P|0;
- $Q = $Q|0;
- $dd = $dd|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $P$addr = 0, $Q$addr = 0, $a_Q16$addr = 0, $add = 0, $add12 = 0, $add14 = 0, $add26 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx15 = 0, $arrayidx19 = 0, $arrayidx21 = 0, $arrayidx23 = 0;
- var $arrayidx25 = 0, $arrayidx3 = 0, $arrayidx5 = 0, $arrayidx7 = 0, $cmp = 0, $cmp17 = 0, $dd$addr = 0, $dec = 0, $inc = 0, $k = 0, $sub = 0, $sub11 = 0, $sub2 = 0, $sub20 = 0, $sub22 = 0, $sub24 = 0, $sub4 = 0, $sub6 = 0, $sub8 = 0, $sub9 = 0;
+function _silk_A2NLSF_init($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $9 = 0;
var label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a_Q16$addr = $a_Q16;
- $P$addr = $P;
- $Q$addr = $Q;
- $dd$addr = $dd;
- $0 = $P$addr;
- $1 = $dd$addr;
- $arrayidx = (($0) + ($1<<2)|0);
- HEAP32[$arrayidx>>2] = 65536;
- $2 = $Q$addr;
- $3 = $dd$addr;
- $arrayidx1 = (($2) + ($3<<2)|0);
- HEAP32[$arrayidx1>>2] = 65536;
- $k = 0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = $5;
+ $10 = $7;
+ $11 = (($9) + ($10<<2)|0);
+ HEAP32[$11>>2] = 65536;
+ $12 = $6;
+ $13 = $7;
+ $14 = (($12) + ($13<<2)|0);
+ HEAP32[$14>>2] = 65536;
+ $8 = 0;
while(1) {
- $4 = $k;
- $5 = $dd$addr;
- $cmp = ($4|0)<($5|0);
- if (!($cmp)) {
+ $15 = $8;
+ $16 = $7;
+ $17 = ($15|0)<($16|0);
+ if (!($17)) {
break;
}
- $6 = $a_Q16$addr;
- $7 = $dd$addr;
- $8 = $k;
- $sub = (($7) - ($8))|0;
- $sub2 = (($sub) - 1)|0;
- $arrayidx3 = (($6) + ($sub2<<2)|0);
- $9 = HEAP32[$arrayidx3>>2]|0;
- $sub4 = (0 - ($9))|0;
- $10 = $a_Q16$addr;
- $11 = $dd$addr;
- $12 = $k;
- $add = (($11) + ($12))|0;
- $arrayidx5 = (($10) + ($add<<2)|0);
- $13 = HEAP32[$arrayidx5>>2]|0;
- $sub6 = (($sub4) - ($13))|0;
- $14 = $P$addr;
- $15 = $k;
- $arrayidx7 = (($14) + ($15<<2)|0);
- HEAP32[$arrayidx7>>2] = $sub6;
- $16 = $a_Q16$addr;
- $17 = $dd$addr;
- $18 = $k;
- $sub8 = (($17) - ($18))|0;
- $sub9 = (($sub8) - 1)|0;
- $arrayidx10 = (($16) + ($sub9<<2)|0);
- $19 = HEAP32[$arrayidx10>>2]|0;
- $sub11 = (0 - ($19))|0;
- $20 = $a_Q16$addr;
- $21 = $dd$addr;
- $22 = $k;
- $add12 = (($21) + ($22))|0;
- $arrayidx13 = (($20) + ($add12<<2)|0);
- $23 = HEAP32[$arrayidx13>>2]|0;
- $add14 = (($sub11) + ($23))|0;
- $24 = $Q$addr;
- $25 = $k;
- $arrayidx15 = (($24) + ($25<<2)|0);
- HEAP32[$arrayidx15>>2] = $add14;
- $26 = $k;
- $inc = (($26) + 1)|0;
- $k = $inc;
+ $18 = $4;
+ $19 = $7;
+ $20 = $8;
+ $21 = (($19) - ($20))|0;
+ $22 = (($21) - 1)|0;
+ $23 = (($18) + ($22<<2)|0);
+ $24 = HEAP32[$23>>2]|0;
+ $25 = (0 - ($24))|0;
+ $26 = $4;
+ $27 = $7;
+ $28 = $8;
+ $29 = (($27) + ($28))|0;
+ $30 = (($26) + ($29<<2)|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = (($25) - ($31))|0;
+ $33 = $5;
+ $34 = $8;
+ $35 = (($33) + ($34<<2)|0);
+ HEAP32[$35>>2] = $32;
+ $36 = $4;
+ $37 = $7;
+ $38 = $8;
+ $39 = (($37) - ($38))|0;
+ $40 = (($39) - 1)|0;
+ $41 = (($36) + ($40<<2)|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = (0 - ($42))|0;
+ $44 = $4;
+ $45 = $7;
+ $46 = $8;
+ $47 = (($45) + ($46))|0;
+ $48 = (($44) + ($47<<2)|0);
+ $49 = HEAP32[$48>>2]|0;
+ $50 = (($43) + ($49))|0;
+ $51 = $6;
+ $52 = $8;
+ $53 = (($51) + ($52<<2)|0);
+ HEAP32[$53>>2] = $50;
+ $54 = $8;
+ $55 = (($54) + 1)|0;
+ $8 = $55;
}
- $27 = $dd$addr;
- $k = $27;
+ $56 = $7;
+ $8 = $56;
while(1) {
- $28 = $k;
- $cmp17 = ($28|0)>(0);
- $29 = $P$addr;
- if (!($cmp17)) {
+ $57 = $8;
+ $58 = ($57|0)>(0);
+ $59 = $5;
+ if (!($58)) {
break;
}
- $30 = $k;
- $arrayidx19 = (($29) + ($30<<2)|0);
- $31 = HEAP32[$arrayidx19>>2]|0;
- $32 = $P$addr;
- $33 = $k;
- $sub20 = (($33) - 1)|0;
- $arrayidx21 = (($32) + ($sub20<<2)|0);
- $34 = HEAP32[$arrayidx21>>2]|0;
- $sub22 = (($34) - ($31))|0;
- HEAP32[$arrayidx21>>2] = $sub22;
- $35 = $Q$addr;
- $36 = $k;
- $arrayidx23 = (($35) + ($36<<2)|0);
- $37 = HEAP32[$arrayidx23>>2]|0;
- $38 = $Q$addr;
- $39 = $k;
- $sub24 = (($39) - 1)|0;
- $arrayidx25 = (($38) + ($sub24<<2)|0);
- $40 = HEAP32[$arrayidx25>>2]|0;
- $add26 = (($40) + ($37))|0;
- HEAP32[$arrayidx25>>2] = $add26;
- $41 = $k;
- $dec = (($41) + -1)|0;
- $k = $dec;
+ $60 = $8;
+ $61 = (($59) + ($60<<2)|0);
+ $62 = HEAP32[$61>>2]|0;
+ $63 = $5;
+ $64 = $8;
+ $65 = (($64) - 1)|0;
+ $66 = (($63) + ($65<<2)|0);
+ $67 = HEAP32[$66>>2]|0;
+ $68 = (($67) - ($62))|0;
+ HEAP32[$66>>2] = $68;
+ $69 = $6;
+ $70 = $8;
+ $71 = (($69) + ($70<<2)|0);
+ $72 = HEAP32[$71>>2]|0;
+ $73 = $6;
+ $74 = $8;
+ $75 = (($74) - 1)|0;
+ $76 = (($73) + ($75<<2)|0);
+ $77 = HEAP32[$76>>2]|0;
+ $78 = (($77) + ($72))|0;
+ HEAP32[$76>>2] = $78;
+ $79 = $8;
+ $80 = (($79) + -1)|0;
+ $8 = $80;
}
- $42 = $dd$addr;
- _silk_A2NLSF_trans_poly($29,$42);
- $43 = $Q$addr;
- $44 = $dd$addr;
- _silk_A2NLSF_trans_poly($43,$44);
+ $81 = $7;
+ _silk_A2NLSF_trans_poly($59,$81);
+ $82 = $6;
+ $83 = $7;
+ _silk_A2NLSF_trans_poly($82,$83);
STACKTOP = sp;return;
}
-function _silk_A2NLSF_eval_poly($p,$x,$dd) {
- $p = $p|0;
- $x = $x|0;
- $dd = $dd|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0;
- var $81 = 0, $9 = 0, $add = 0, $add10 = 0, $add109 = 0, $add110 = 0, $add112 = 0, $add115 = 0, $add126 = 0, $add127 = 0, $add129 = 0, $add13 = 0, $add132 = 0, $add145 = 0, $add146 = 0, $add148 = 0, $add151 = 0, $add24 = 0, $add25 = 0, $add27 = 0;
- var $add30 = 0, $add41 = 0, $add42 = 0, $add44 = 0, $add47 = 0, $add58 = 0, $add59 = 0, $add61 = 0, $add64 = 0, $add75 = 0, $add76 = 0, $add78 = 0, $add8 = 0, $add81 = 0, $add92 = 0, $add93 = 0, $add95 = 0, $add98 = 0, $and = 0, $and104 = 0;
- var $and121 = 0, $and140 = 0, $and19 = 0, $and36 = 0, $and53 = 0, $and70 = 0, $and87 = 0, $arrayidx = 0, $arrayidx135 = 0, $arrayidx14 = 0, $arrayidx2 = 0, $arrayidx31 = 0, $arrayidx48 = 0, $arrayidx65 = 0, $arrayidx82 = 0, $arrayidx99 = 0, $cmp = 0, $cmp133 = 0, $conv = 0, $conv101 = 0;
- var $conv102 = 0, $conv105 = 0, $conv106 = 0, $conv118 = 0, $conv119 = 0, $conv122 = 0, $conv123 = 0, $conv137 = 0, $conv138 = 0, $conv141 = 0, $conv142 = 0, $conv16 = 0, $conv17 = 0, $conv20 = 0, $conv21 = 0, $conv3 = 0, $conv33 = 0, $conv34 = 0, $conv37 = 0, $conv38 = 0;
- var $conv4 = 0, $conv5 = 0, $conv50 = 0, $conv51 = 0, $conv54 = 0, $conv55 = 0, $conv67 = 0, $conv68 = 0, $conv71 = 0, $conv72 = 0, $conv84 = 0, $conv85 = 0, $conv88 = 0, $conv89 = 0, $dd$addr = 0, $dec = 0, $lnot = 0, $lnot1 = 0, $mul = 0, $mul103 = 0;
- var $mul107 = 0, $mul114 = 0, $mul12 = 0, $mul120 = 0, $mul124 = 0, $mul131 = 0, $mul139 = 0, $mul143 = 0, $mul150 = 0, $mul18 = 0, $mul22 = 0, $mul29 = 0, $mul35 = 0, $mul39 = 0, $mul46 = 0, $mul52 = 0, $mul56 = 0, $mul6 = 0, $mul63 = 0, $mul69 = 0;
- var $mul73 = 0, $mul80 = 0, $mul86 = 0, $mul90 = 0, $mul97 = 0, $n = 0, $p$addr = 0, $shl = 0, $shr = 0, $shr100 = 0, $shr108 = 0, $shr11 = 0, $shr111 = 0, $shr113 = 0, $shr117 = 0, $shr125 = 0, $shr128 = 0, $shr130 = 0, $shr136 = 0, $shr144 = 0;
- var $shr147 = 0, $shr149 = 0, $shr15 = 0, $shr23 = 0, $shr26 = 0, $shr28 = 0, $shr32 = 0, $shr40 = 0, $shr43 = 0, $shr45 = 0, $shr49 = 0, $shr57 = 0, $shr60 = 0, $shr62 = 0, $shr66 = 0, $shr7 = 0, $shr74 = 0, $shr77 = 0, $shr79 = 0, $shr83 = 0;
- var $shr9 = 0, $shr91 = 0, $shr94 = 0, $shr96 = 0, $sub = 0, $x$addr = 0, $x_Q16 = 0, $y32 = 0, label = 0, sp = 0;
+function _silk_A2NLSF_eval_poly($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
+ var $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0;
+ var $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0;
+ var $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0;
+ var $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $p$addr = $p;
- $x$addr = $x;
- $dd$addr = $dd;
- $0 = $p$addr;
- $1 = $dd$addr;
- $arrayidx = (($0) + ($1<<2)|0);
- $2 = HEAP32[$arrayidx>>2]|0;
- $y32 = $2;
- $3 = $x$addr;
- $shl = $3 << 4;
- $x_Q16 = $shl;
- $4 = $dd$addr;
- $cmp = (8)==($4|0);
- $lnot = $cmp ^ 1;
- $lnot1 = $lnot ^ 1;
- if ($lnot1) {
- $5 = $p$addr;
- $arrayidx2 = ((($5)) + 28|0);
- $6 = HEAP32[$arrayidx2>>2]|0;
- $7 = $y32;
- $shr = $7 >> 16;
- $8 = $x_Q16;
- $conv = $8&65535;
- $conv3 = $conv << 16 >> 16;
- $mul = Math_imul($shr, $conv3)|0;
- $9 = $y32;
- $and = $9 & 65535;
- $10 = $x_Q16;
- $conv4 = $10&65535;
- $conv5 = $conv4 << 16 >> 16;
- $mul6 = Math_imul($and, $conv5)|0;
- $shr7 = $mul6 >> 16;
- $add = (($mul) + ($shr7))|0;
- $add8 = (($6) + ($add))|0;
- $11 = $y32;
- $12 = $x_Q16;
- $shr9 = $12 >> 15;
- $add10 = (($shr9) + 1)|0;
- $shr11 = $add10 >> 1;
- $mul12 = Math_imul($11, $shr11)|0;
- $add13 = (($add8) + ($mul12))|0;
- $y32 = $add13;
- $13 = $p$addr;
- $arrayidx14 = ((($13)) + 24|0);
- $14 = HEAP32[$arrayidx14>>2]|0;
- $15 = $y32;
- $shr15 = $15 >> 16;
- $16 = $x_Q16;
- $conv16 = $16&65535;
- $conv17 = $conv16 << 16 >> 16;
- $mul18 = Math_imul($shr15, $conv17)|0;
- $17 = $y32;
- $and19 = $17 & 65535;
- $18 = $x_Q16;
- $conv20 = $18&65535;
- $conv21 = $conv20 << 16 >> 16;
- $mul22 = Math_imul($and19, $conv21)|0;
- $shr23 = $mul22 >> 16;
- $add24 = (($mul18) + ($shr23))|0;
- $add25 = (($14) + ($add24))|0;
- $19 = $y32;
- $20 = $x_Q16;
- $shr26 = $20 >> 15;
- $add27 = (($shr26) + 1)|0;
- $shr28 = $add27 >> 1;
- $mul29 = Math_imul($19, $shr28)|0;
- $add30 = (($add25) + ($mul29))|0;
- $y32 = $add30;
- $21 = $p$addr;
- $arrayidx31 = ((($21)) + 20|0);
- $22 = HEAP32[$arrayidx31>>2]|0;
- $23 = $y32;
- $shr32 = $23 >> 16;
- $24 = $x_Q16;
- $conv33 = $24&65535;
- $conv34 = $conv33 << 16 >> 16;
- $mul35 = Math_imul($shr32, $conv34)|0;
- $25 = $y32;
- $and36 = $25 & 65535;
- $26 = $x_Q16;
- $conv37 = $26&65535;
- $conv38 = $conv37 << 16 >> 16;
- $mul39 = Math_imul($and36, $conv38)|0;
- $shr40 = $mul39 >> 16;
- $add41 = (($mul35) + ($shr40))|0;
- $add42 = (($22) + ($add41))|0;
- $27 = $y32;
- $28 = $x_Q16;
- $shr43 = $28 >> 15;
- $add44 = (($shr43) + 1)|0;
- $shr45 = $add44 >> 1;
- $mul46 = Math_imul($27, $shr45)|0;
- $add47 = (($add42) + ($mul46))|0;
- $y32 = $add47;
- $29 = $p$addr;
- $arrayidx48 = ((($29)) + 16|0);
- $30 = HEAP32[$arrayidx48>>2]|0;
- $31 = $y32;
- $shr49 = $31 >> 16;
- $32 = $x_Q16;
- $conv50 = $32&65535;
- $conv51 = $conv50 << 16 >> 16;
- $mul52 = Math_imul($shr49, $conv51)|0;
- $33 = $y32;
- $and53 = $33 & 65535;
- $34 = $x_Q16;
- $conv54 = $34&65535;
- $conv55 = $conv54 << 16 >> 16;
- $mul56 = Math_imul($and53, $conv55)|0;
- $shr57 = $mul56 >> 16;
- $add58 = (($mul52) + ($shr57))|0;
- $add59 = (($30) + ($add58))|0;
- $35 = $y32;
- $36 = $x_Q16;
- $shr60 = $36 >> 15;
- $add61 = (($shr60) + 1)|0;
- $shr62 = $add61 >> 1;
- $mul63 = Math_imul($35, $shr62)|0;
- $add64 = (($add59) + ($mul63))|0;
- $y32 = $add64;
- $37 = $p$addr;
- $arrayidx65 = ((($37)) + 12|0);
- $38 = HEAP32[$arrayidx65>>2]|0;
- $39 = $y32;
- $shr66 = $39 >> 16;
- $40 = $x_Q16;
- $conv67 = $40&65535;
- $conv68 = $conv67 << 16 >> 16;
- $mul69 = Math_imul($shr66, $conv68)|0;
- $41 = $y32;
- $and70 = $41 & 65535;
- $42 = $x_Q16;
- $conv71 = $42&65535;
- $conv72 = $conv71 << 16 >> 16;
- $mul73 = Math_imul($and70, $conv72)|0;
- $shr74 = $mul73 >> 16;
- $add75 = (($mul69) + ($shr74))|0;
- $add76 = (($38) + ($add75))|0;
- $43 = $y32;
- $44 = $x_Q16;
- $shr77 = $44 >> 15;
- $add78 = (($shr77) + 1)|0;
- $shr79 = $add78 >> 1;
- $mul80 = Math_imul($43, $shr79)|0;
- $add81 = (($add76) + ($mul80))|0;
- $y32 = $add81;
- $45 = $p$addr;
- $arrayidx82 = ((($45)) + 8|0);
- $46 = HEAP32[$arrayidx82>>2]|0;
- $47 = $y32;
- $shr83 = $47 >> 16;
- $48 = $x_Q16;
- $conv84 = $48&65535;
- $conv85 = $conv84 << 16 >> 16;
- $mul86 = Math_imul($shr83, $conv85)|0;
- $49 = $y32;
- $and87 = $49 & 65535;
- $50 = $x_Q16;
- $conv88 = $50&65535;
- $conv89 = $conv88 << 16 >> 16;
- $mul90 = Math_imul($and87, $conv89)|0;
- $shr91 = $mul90 >> 16;
- $add92 = (($mul86) + ($shr91))|0;
- $add93 = (($46) + ($add92))|0;
- $51 = $y32;
- $52 = $x_Q16;
- $shr94 = $52 >> 15;
- $add95 = (($shr94) + 1)|0;
- $shr96 = $add95 >> 1;
- $mul97 = Math_imul($51, $shr96)|0;
- $add98 = (($add93) + ($mul97))|0;
- $y32 = $add98;
- $53 = $p$addr;
- $arrayidx99 = ((($53)) + 4|0);
- $54 = HEAP32[$arrayidx99>>2]|0;
- $55 = $y32;
- $shr100 = $55 >> 16;
- $56 = $x_Q16;
- $conv101 = $56&65535;
- $conv102 = $conv101 << 16 >> 16;
- $mul103 = Math_imul($shr100, $conv102)|0;
- $57 = $y32;
- $and104 = $57 & 65535;
- $58 = $x_Q16;
- $conv105 = $58&65535;
- $conv106 = $conv105 << 16 >> 16;
- $mul107 = Math_imul($and104, $conv106)|0;
- $shr108 = $mul107 >> 16;
- $add109 = (($mul103) + ($shr108))|0;
- $add110 = (($54) + ($add109))|0;
- $59 = $y32;
- $60 = $x_Q16;
- $shr111 = $60 >> 15;
- $add112 = (($shr111) + 1)|0;
- $shr113 = $add112 >> 1;
- $mul114 = Math_imul($59, $shr113)|0;
- $add115 = (($add110) + ($mul114))|0;
- $y32 = $add115;
- $61 = $p$addr;
- $62 = HEAP32[$61>>2]|0;
- $63 = $y32;
- $shr117 = $63 >> 16;
- $64 = $x_Q16;
- $conv118 = $64&65535;
- $conv119 = $conv118 << 16 >> 16;
- $mul120 = Math_imul($shr117, $conv119)|0;
- $65 = $y32;
- $and121 = $65 & 65535;
- $66 = $x_Q16;
- $conv122 = $66&65535;
- $conv123 = $conv122 << 16 >> 16;
- $mul124 = Math_imul($and121, $conv123)|0;
- $shr125 = $mul124 >> 16;
- $add126 = (($mul120) + ($shr125))|0;
- $add127 = (($62) + ($add126))|0;
- $67 = $y32;
- $68 = $x_Q16;
- $shr128 = $68 >> 15;
- $add129 = (($shr128) + 1)|0;
- $shr130 = $add129 >> 1;
- $mul131 = Math_imul($67, $shr130)|0;
- $add132 = (($add127) + ($mul131))|0;
- $y32 = $add132;
- $81 = $y32;
- STACKTOP = sp;return ($81|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $9 = $3;
+ $10 = $5;
+ $11 = (($9) + ($10<<2)|0);
+ $12 = HEAP32[$11>>2]|0;
+ $8 = $12;
+ $13 = $4;
+ $14 = $13 << 4;
+ $7 = $14;
+ $15 = $5;
+ $16 = (8)==($15|0);
+ $17 = $16 ^ 1;
+ $18 = $17 ^ 1;
+ if ($18) {
+ $19 = $3;
+ $20 = ((($19)) + 28|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = $8;
+ $23 = $22 >> 16;
+ $24 = $7;
+ $25 = $24&65535;
+ $26 = $25 << 16 >> 16;
+ $27 = Math_imul($23, $26)|0;
+ $28 = $8;
+ $29 = $28 & 65535;
+ $30 = $7;
+ $31 = $30&65535;
+ $32 = $31 << 16 >> 16;
+ $33 = Math_imul($29, $32)|0;
+ $34 = $33 >> 16;
+ $35 = (($27) + ($34))|0;
+ $36 = (($21) + ($35))|0;
+ $37 = $8;
+ $38 = $7;
+ $39 = $38 >> 15;
+ $40 = (($39) + 1)|0;
+ $41 = $40 >> 1;
+ $42 = Math_imul($37, $41)|0;
+ $43 = (($36) + ($42))|0;
+ $8 = $43;
+ $44 = $3;
+ $45 = ((($44)) + 24|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = $8;
+ $48 = $47 >> 16;
+ $49 = $7;
+ $50 = $49&65535;
+ $51 = $50 << 16 >> 16;
+ $52 = Math_imul($48, $51)|0;
+ $53 = $8;
+ $54 = $53 & 65535;
+ $55 = $7;
+ $56 = $55&65535;
+ $57 = $56 << 16 >> 16;
+ $58 = Math_imul($54, $57)|0;
+ $59 = $58 >> 16;
+ $60 = (($52) + ($59))|0;
+ $61 = (($46) + ($60))|0;
+ $62 = $8;
+ $63 = $7;
+ $64 = $63 >> 15;
+ $65 = (($64) + 1)|0;
+ $66 = $65 >> 1;
+ $67 = Math_imul($62, $66)|0;
+ $68 = (($61) + ($67))|0;
+ $8 = $68;
+ $69 = $3;
+ $70 = ((($69)) + 20|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = $8;
+ $73 = $72 >> 16;
+ $74 = $7;
+ $75 = $74&65535;
+ $76 = $75 << 16 >> 16;
+ $77 = Math_imul($73, $76)|0;
+ $78 = $8;
+ $79 = $78 & 65535;
+ $80 = $7;
+ $81 = $80&65535;
+ $82 = $81 << 16 >> 16;
+ $83 = Math_imul($79, $82)|0;
+ $84 = $83 >> 16;
+ $85 = (($77) + ($84))|0;
+ $86 = (($71) + ($85))|0;
+ $87 = $8;
+ $88 = $7;
+ $89 = $88 >> 15;
+ $90 = (($89) + 1)|0;
+ $91 = $90 >> 1;
+ $92 = Math_imul($87, $91)|0;
+ $93 = (($86) + ($92))|0;
+ $8 = $93;
+ $94 = $3;
+ $95 = ((($94)) + 16|0);
+ $96 = HEAP32[$95>>2]|0;
+ $97 = $8;
+ $98 = $97 >> 16;
+ $99 = $7;
+ $100 = $99&65535;
+ $101 = $100 << 16 >> 16;
+ $102 = Math_imul($98, $101)|0;
+ $103 = $8;
+ $104 = $103 & 65535;
+ $105 = $7;
+ $106 = $105&65535;
+ $107 = $106 << 16 >> 16;
+ $108 = Math_imul($104, $107)|0;
+ $109 = $108 >> 16;
+ $110 = (($102) + ($109))|0;
+ $111 = (($96) + ($110))|0;
+ $112 = $8;
+ $113 = $7;
+ $114 = $113 >> 15;
+ $115 = (($114) + 1)|0;
+ $116 = $115 >> 1;
+ $117 = Math_imul($112, $116)|0;
+ $118 = (($111) + ($117))|0;
+ $8 = $118;
+ $119 = $3;
+ $120 = ((($119)) + 12|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = $8;
+ $123 = $122 >> 16;
+ $124 = $7;
+ $125 = $124&65535;
+ $126 = $125 << 16 >> 16;
+ $127 = Math_imul($123, $126)|0;
+ $128 = $8;
+ $129 = $128 & 65535;
+ $130 = $7;
+ $131 = $130&65535;
+ $132 = $131 << 16 >> 16;
+ $133 = Math_imul($129, $132)|0;
+ $134 = $133 >> 16;
+ $135 = (($127) + ($134))|0;
+ $136 = (($121) + ($135))|0;
+ $137 = $8;
+ $138 = $7;
+ $139 = $138 >> 15;
+ $140 = (($139) + 1)|0;
+ $141 = $140 >> 1;
+ $142 = Math_imul($137, $141)|0;
+ $143 = (($136) + ($142))|0;
+ $8 = $143;
+ $144 = $3;
+ $145 = ((($144)) + 8|0);
+ $146 = HEAP32[$145>>2]|0;
+ $147 = $8;
+ $148 = $147 >> 16;
+ $149 = $7;
+ $150 = $149&65535;
+ $151 = $150 << 16 >> 16;
+ $152 = Math_imul($148, $151)|0;
+ $153 = $8;
+ $154 = $153 & 65535;
+ $155 = $7;
+ $156 = $155&65535;
+ $157 = $156 << 16 >> 16;
+ $158 = Math_imul($154, $157)|0;
+ $159 = $158 >> 16;
+ $160 = (($152) + ($159))|0;
+ $161 = (($146) + ($160))|0;
+ $162 = $8;
+ $163 = $7;
+ $164 = $163 >> 15;
+ $165 = (($164) + 1)|0;
+ $166 = $165 >> 1;
+ $167 = Math_imul($162, $166)|0;
+ $168 = (($161) + ($167))|0;
+ $8 = $168;
+ $169 = $3;
+ $170 = ((($169)) + 4|0);
+ $171 = HEAP32[$170>>2]|0;
+ $172 = $8;
+ $173 = $172 >> 16;
+ $174 = $7;
+ $175 = $174&65535;
+ $176 = $175 << 16 >> 16;
+ $177 = Math_imul($173, $176)|0;
+ $178 = $8;
+ $179 = $178 & 65535;
+ $180 = $7;
+ $181 = $180&65535;
+ $182 = $181 << 16 >> 16;
+ $183 = Math_imul($179, $182)|0;
+ $184 = $183 >> 16;
+ $185 = (($177) + ($184))|0;
+ $186 = (($171) + ($185))|0;
+ $187 = $8;
+ $188 = $7;
+ $189 = $188 >> 15;
+ $190 = (($189) + 1)|0;
+ $191 = $190 >> 1;
+ $192 = Math_imul($187, $191)|0;
+ $193 = (($186) + ($192))|0;
+ $8 = $193;
+ $194 = $3;
+ $195 = HEAP32[$194>>2]|0;
+ $196 = $8;
+ $197 = $196 >> 16;
+ $198 = $7;
+ $199 = $198&65535;
+ $200 = $199 << 16 >> 16;
+ $201 = Math_imul($197, $200)|0;
+ $202 = $8;
+ $203 = $202 & 65535;
+ $204 = $7;
+ $205 = $204&65535;
+ $206 = $205 << 16 >> 16;
+ $207 = Math_imul($203, $206)|0;
+ $208 = $207 >> 16;
+ $209 = (($201) + ($208))|0;
+ $210 = (($195) + ($209))|0;
+ $211 = $8;
+ $212 = $7;
+ $213 = $212 >> 15;
+ $214 = (($213) + 1)|0;
+ $215 = $214 >> 1;
+ $216 = Math_imul($211, $215)|0;
+ $217 = (($210) + ($216))|0;
+ $8 = $217;
+ $250 = $8;
+ STACKTOP = sp;return ($250|0);
}
- $69 = $dd$addr;
- $sub = (($69) - 1)|0;
- $n = $sub;
+ $218 = $5;
+ $219 = (($218) - 1)|0;
+ $6 = $219;
while(1) {
- $70 = $n;
- $cmp133 = ($70|0)>=(0);
- if (!($cmp133)) {
+ $220 = $6;
+ $221 = ($220|0)>=(0);
+ if (!($221)) {
break;
}
- $71 = $p$addr;
- $72 = $n;
- $arrayidx135 = (($71) + ($72<<2)|0);
- $73 = HEAP32[$arrayidx135>>2]|0;
- $74 = $y32;
- $shr136 = $74 >> 16;
- $75 = $x_Q16;
- $conv137 = $75&65535;
- $conv138 = $conv137 << 16 >> 16;
- $mul139 = Math_imul($shr136, $conv138)|0;
- $76 = $y32;
- $and140 = $76 & 65535;
- $77 = $x_Q16;
- $conv141 = $77&65535;
- $conv142 = $conv141 << 16 >> 16;
- $mul143 = Math_imul($and140, $conv142)|0;
- $shr144 = $mul143 >> 16;
- $add145 = (($mul139) + ($shr144))|0;
- $add146 = (($73) + ($add145))|0;
- $78 = $y32;
- $79 = $x_Q16;
- $shr147 = $79 >> 15;
- $add148 = (($shr147) + 1)|0;
- $shr149 = $add148 >> 1;
- $mul150 = Math_imul($78, $shr149)|0;
- $add151 = (($add146) + ($mul150))|0;
- $y32 = $add151;
- $80 = $n;
- $dec = (($80) + -1)|0;
- $n = $dec;
+ $222 = $3;
+ $223 = $6;
+ $224 = (($222) + ($223<<2)|0);
+ $225 = HEAP32[$224>>2]|0;
+ $226 = $8;
+ $227 = $226 >> 16;
+ $228 = $7;
+ $229 = $228&65535;
+ $230 = $229 << 16 >> 16;
+ $231 = Math_imul($227, $230)|0;
+ $232 = $8;
+ $233 = $232 & 65535;
+ $234 = $7;
+ $235 = $234&65535;
+ $236 = $235 << 16 >> 16;
+ $237 = Math_imul($233, $236)|0;
+ $238 = $237 >> 16;
+ $239 = (($231) + ($238))|0;
+ $240 = (($225) + ($239))|0;
+ $241 = $8;
+ $242 = $7;
+ $243 = $242 >> 15;
+ $244 = (($243) + 1)|0;
+ $245 = $244 >> 1;
+ $246 = Math_imul($241, $245)|0;
+ $247 = (($240) + ($246))|0;
+ $8 = $247;
+ $248 = $6;
+ $249 = (($248) + -1)|0;
+ $6 = $249;
}
- $81 = $y32;
- STACKTOP = sp;return ($81|0);
+ $250 = $8;
+ STACKTOP = sp;return ($250|0);
}
-function _silk_min_32_467($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
+function _silk_min_32_467($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
}
-function _silk_A2NLSF_trans_poly($p,$dd) {
- $p = $p|0;
- $dd = $dd|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arrayidx = 0, $arrayidx4 = 0;
- var $arrayidx6 = 0, $arrayidx8 = 0, $cmp = 0, $cmp2 = 0, $dd$addr = 0, $dec = 0, $inc = 0, $k = 0, $n = 0, $p$addr = 0, $shl = 0, $sub = 0, $sub5 = 0, $sub7 = 0, $sub9 = 0, label = 0, sp = 0;
+function _silk_A2NLSF_trans_poly($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $p$addr = $p;
- $dd$addr = $dd;
- $k = 2;
+ $2 = $0;
+ $3 = $1;
+ $4 = 2;
while(1) {
- $0 = $k;
- $1 = $dd$addr;
- $cmp = ($0|0)<=($1|0);
- if (!($cmp)) {
+ $6 = $4;
+ $7 = $3;
+ $8 = ($6|0)<=($7|0);
+ if (!($8)) {
break;
}
- $2 = $dd$addr;
- $n = $2;
+ $9 = $3;
+ $5 = $9;
while(1) {
- $3 = $n;
- $4 = $k;
- $cmp2 = ($3|0)>($4|0);
- $5 = $p$addr;
- if (!($cmp2)) {
+ $10 = $5;
+ $11 = $4;
+ $12 = ($10|0)>($11|0);
+ $13 = $2;
+ if (!($12)) {
break;
}
- $6 = $n;
- $arrayidx = (($5) + ($6<<2)|0);
- $7 = HEAP32[$arrayidx>>2]|0;
- $8 = $p$addr;
- $9 = $n;
- $sub = (($9) - 2)|0;
- $arrayidx4 = (($8) + ($sub<<2)|0);
- $10 = HEAP32[$arrayidx4>>2]|0;
- $sub5 = (($10) - ($7))|0;
- HEAP32[$arrayidx4>>2] = $sub5;
- $11 = $n;
- $dec = (($11) + -1)|0;
- $n = $dec;
+ $14 = $5;
+ $15 = (($13) + ($14<<2)|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = $2;
+ $18 = $5;
+ $19 = (($18) - 2)|0;
+ $20 = (($17) + ($19<<2)|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = (($21) - ($16))|0;
+ HEAP32[$20>>2] = $22;
+ $23 = $5;
+ $24 = (($23) + -1)|0;
+ $5 = $24;
}
- $12 = $k;
- $arrayidx6 = (($5) + ($12<<2)|0);
- $13 = HEAP32[$arrayidx6>>2]|0;
- $shl = $13 << 1;
- $14 = $p$addr;
- $15 = $k;
- $sub7 = (($15) - 2)|0;
- $arrayidx8 = (($14) + ($sub7<<2)|0);
- $16 = HEAP32[$arrayidx8>>2]|0;
- $sub9 = (($16) - ($shl))|0;
- HEAP32[$arrayidx8>>2] = $sub9;
- $17 = $k;
- $inc = (($17) + 1)|0;
- $k = $inc;
+ $25 = $4;
+ $26 = (($13) + ($25<<2)|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = $27 << 1;
+ $29 = $2;
+ $30 = $4;
+ $31 = (($30) - 2)|0;
+ $32 = (($29) + ($31<<2)|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = (($33) - ($28))|0;
+ HEAP32[$32>>2] = $34;
+ $35 = $4;
+ $36 = (($35) + 1)|0;
+ $4 = $36;
}
STACKTOP = sp;return;
}
-function _silk_ana_filt_bank_1($in,$S,$outL,$outH,$N) {
- $in = $in|0;
- $S = $S|0;
- $outL = $outL|0;
- $outH = $outH|0;
- $N = $N|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $N$addr = 0, $N2 = 0, $S$addr = 0, $X = 0, $Y = 0, $add = 0, $add10 = 0, $add11 = 0, $add14 = 0, $add27 = 0, $add29 = 0;
- var $add30 = 0, $add32 = 0, $add34 = 0, $add38 = 0, $add40 = 0, $add46 = 0, $add48 = 0, $add56 = 0, $add64 = 0, $add72 = 0, $add8 = 0, $and = 0, $and23 = 0, $arrayidx = 0, $arrayidx15 = 0, $arrayidx18 = 0, $arrayidx28 = 0, $arrayidx31 = 0, $arrayidx53 = 0, $arrayidx79 = 0;
- var $cmp = 0, $cmp36 = 0, $cmp42 = 0, $cmp58 = 0, $cmp66 = 0, $cond51 = 0, $cond77 = 0, $conv = 0, $conv16 = 0, $conv21 = 0, $conv24 = 0, $conv3 = 0, $conv5 = 0, $conv52 = 0, $conv78 = 0, $in$addr = 0, $in32 = 0, $inc = 0, $k = 0, $mul = 0;
- var $mul13 = 0, $mul22 = 0, $mul25 = 0, $mul4 = 0, $mul6 = 0, $outH$addr = 0, $outL$addr = 0, $out_1 = 0, $out_2 = 0, $shl = 0, $shl17 = 0, $shr = 0, $shr2 = 0, $shr20 = 0, $shr26 = 0, $shr33 = 0, $shr35 = 0, $shr39 = 0, $shr41 = 0, $shr47 = 0;
- var $shr49 = 0, $shr55 = 0, $shr57 = 0, $shr63 = 0, $shr65 = 0, $shr7 = 0, $shr71 = 0, $shr73 = 0, $sub = 0, $sub19 = 0, $sub54 = 0, $sub62 = 0, $sub70 = 0, label = 0, sp = 0;
+function _silk_ana_filt_bank_1($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0;
+ var $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $in$addr = $in;
- $S$addr = $S;
- $outL$addr = $outL;
- $outH$addr = $outH;
- $N$addr = $N;
- $0 = $N$addr;
- $shr = $0 >> 1;
- $N2 = $shr;
- $k = 0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $17 = $9;
+ $18 = $17 >> 1;
+ $11 = $18;
+ $10 = 0;
while(1) {
- $1 = $k;
- $2 = $N2;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
+ $19 = $10;
+ $20 = $11;
+ $21 = ($19|0)<($20|0);
+ if (!($21)) {
break;
}
- $3 = $in$addr;
- $4 = $k;
- $mul = $4<<1;
- $arrayidx = (($3) + ($mul<<1)|0);
- $5 = HEAP16[$arrayidx>>1]|0;
- $conv = $5 << 16 >> 16;
- $shl = $conv << 10;
- $in32 = $shl;
- $6 = $in32;
- $7 = $S$addr;
- $8 = HEAP32[$7>>2]|0;
- $sub = (($6) - ($8))|0;
- $Y = $sub;
- $9 = $Y;
- $10 = $Y;
- $shr2 = $10 >> 16;
- $conv3 = -24290 << 16 >> 16;
- $mul4 = Math_imul($shr2, $conv3)|0;
- $11 = $Y;
- $and = $11 & 65535;
- $conv5 = -24290 << 16 >> 16;
- $mul6 = Math_imul($and, $conv5)|0;
- $shr7 = $mul6 >> 16;
- $add = (($mul4) + ($shr7))|0;
- $add8 = (($9) + ($add))|0;
- $X = $add8;
- $12 = $S$addr;
- $13 = HEAP32[$12>>2]|0;
- $14 = $X;
- $add10 = (($13) + ($14))|0;
- $out_1 = $add10;
- $15 = $in32;
- $16 = $X;
- $add11 = (($15) + ($16))|0;
- $17 = $S$addr;
- HEAP32[$17>>2] = $add11;
- $18 = $in$addr;
- $19 = $k;
- $mul13 = $19<<1;
- $add14 = (($mul13) + 1)|0;
- $arrayidx15 = (($18) + ($add14<<1)|0);
- $20 = HEAP16[$arrayidx15>>1]|0;
- $conv16 = $20 << 16 >> 16;
- $shl17 = $conv16 << 10;
- $in32 = $shl17;
- $21 = $in32;
- $22 = $S$addr;
- $arrayidx18 = ((($22)) + 4|0);
- $23 = HEAP32[$arrayidx18>>2]|0;
- $sub19 = (($21) - ($23))|0;
- $Y = $sub19;
- $24 = $Y;
- $shr20 = $24 >> 16;
- $conv21 = 10788 << 16 >> 16;
- $mul22 = Math_imul($shr20, $conv21)|0;
- $25 = $Y;
- $and23 = $25 & 65535;
- $conv24 = 10788 << 16 >> 16;
- $mul25 = Math_imul($and23, $conv24)|0;
- $shr26 = $mul25 >> 16;
- $add27 = (($mul22) + ($shr26))|0;
- $X = $add27;
- $26 = $S$addr;
- $arrayidx28 = ((($26)) + 4|0);
- $27 = HEAP32[$arrayidx28>>2]|0;
- $28 = $X;
- $add29 = (($27) + ($28))|0;
- $out_2 = $add29;
- $29 = $in32;
- $30 = $X;
- $add30 = (($29) + ($30))|0;
- $31 = $S$addr;
- $arrayidx31 = ((($31)) + 4|0);
- HEAP32[$arrayidx31>>2] = $add30;
- $32 = $out_2;
- $33 = $out_1;
- $add32 = (($32) + ($33))|0;
- $shr33 = $add32 >> 10;
- $add34 = (($shr33) + 1)|0;
- $shr35 = $add34 >> 1;
- $cmp36 = ($shr35|0)>(32767);
- if ($cmp36) {
- $cond51 = 32767;
+ $22 = $5;
+ $23 = $10;
+ $24 = $23<<1;
+ $25 = (($22) + ($24<<1)|0);
+ $26 = HEAP16[$25>>1]|0;
+ $27 = $26 << 16 >> 16;
+ $28 = $27 << 10;
+ $12 = $28;
+ $29 = $12;
+ $30 = $6;
+ $31 = HEAP32[$30>>2]|0;
+ $32 = (($29) - ($31))|0;
+ $14 = $32;
+ $33 = $14;
+ $34 = $14;
+ $35 = $34 >> 16;
+ $36 = -24290 << 16 >> 16;
+ $37 = Math_imul($35, $36)|0;
+ $38 = $14;
+ $39 = $38 & 65535;
+ $40 = -24290 << 16 >> 16;
+ $41 = Math_imul($39, $40)|0;
+ $42 = $41 >> 16;
+ $43 = (($37) + ($42))|0;
+ $44 = (($33) + ($43))|0;
+ $13 = $44;
+ $45 = $6;
+ $46 = HEAP32[$45>>2]|0;
+ $47 = $13;
+ $48 = (($46) + ($47))|0;
+ $15 = $48;
+ $49 = $12;
+ $50 = $13;
+ $51 = (($49) + ($50))|0;
+ $52 = $6;
+ HEAP32[$52>>2] = $51;
+ $53 = $5;
+ $54 = $10;
+ $55 = $54<<1;
+ $56 = (($55) + 1)|0;
+ $57 = (($53) + ($56<<1)|0);
+ $58 = HEAP16[$57>>1]|0;
+ $59 = $58 << 16 >> 16;
+ $60 = $59 << 10;
+ $12 = $60;
+ $61 = $12;
+ $62 = $6;
+ $63 = ((($62)) + 4|0);
+ $64 = HEAP32[$63>>2]|0;
+ $65 = (($61) - ($64))|0;
+ $14 = $65;
+ $66 = $14;
+ $67 = $66 >> 16;
+ $68 = 10788 << 16 >> 16;
+ $69 = Math_imul($67, $68)|0;
+ $70 = $14;
+ $71 = $70 & 65535;
+ $72 = 10788 << 16 >> 16;
+ $73 = Math_imul($71, $72)|0;
+ $74 = $73 >> 16;
+ $75 = (($69) + ($74))|0;
+ $13 = $75;
+ $76 = $6;
+ $77 = ((($76)) + 4|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = $13;
+ $80 = (($78) + ($79))|0;
+ $16 = $80;
+ $81 = $12;
+ $82 = $13;
+ $83 = (($81) + ($82))|0;
+ $84 = $6;
+ $85 = ((($84)) + 4|0);
+ HEAP32[$85>>2] = $83;
+ $86 = $16;
+ $87 = $15;
+ $88 = (($86) + ($87))|0;
+ $89 = $88 >> 10;
+ $90 = (($89) + 1)|0;
+ $91 = $90 >> 1;
+ $92 = ($91|0)>(32767);
+ if ($92) {
+ $107 = 32767;
} else {
- $34 = $out_2;
- $35 = $out_1;
- $add38 = (($34) + ($35))|0;
- $shr39 = $add38 >> 10;
- $add40 = (($shr39) + 1)|0;
- $shr41 = $add40 >> 1;
- $cmp42 = ($shr41|0)<(-32768);
- if ($cmp42) {
- $cond51 = -32768;
+ $93 = $16;
+ $94 = $15;
+ $95 = (($93) + ($94))|0;
+ $96 = $95 >> 10;
+ $97 = (($96) + 1)|0;
+ $98 = $97 >> 1;
+ $99 = ($98|0)<(-32768);
+ if ($99) {
+ $107 = -32768;
} else {
- $36 = $out_2;
- $37 = $out_1;
- $add46 = (($36) + ($37))|0;
- $shr47 = $add46 >> 10;
- $add48 = (($shr47) + 1)|0;
- $shr49 = $add48 >> 1;
- $cond51 = $shr49;
+ $100 = $16;
+ $101 = $15;
+ $102 = (($100) + ($101))|0;
+ $103 = $102 >> 10;
+ $104 = (($103) + 1)|0;
+ $105 = $104 >> 1;
+ $107 = $105;
}
}
- $conv52 = $cond51&65535;
- $38 = $outL$addr;
- $39 = $k;
- $arrayidx53 = (($38) + ($39<<1)|0);
- HEAP16[$arrayidx53>>1] = $conv52;
- $40 = $out_2;
- $41 = $out_1;
- $sub54 = (($40) - ($41))|0;
- $shr55 = $sub54 >> 10;
- $add56 = (($shr55) + 1)|0;
- $shr57 = $add56 >> 1;
- $cmp58 = ($shr57|0)>(32767);
- if ($cmp58) {
- $cond77 = 32767;
+ $106 = $107&65535;
+ $108 = $7;
+ $109 = $10;
+ $110 = (($108) + ($109<<1)|0);
+ HEAP16[$110>>1] = $106;
+ $111 = $16;
+ $112 = $15;
+ $113 = (($111) - ($112))|0;
+ $114 = $113 >> 10;
+ $115 = (($114) + 1)|0;
+ $116 = $115 >> 1;
+ $117 = ($116|0)>(32767);
+ if ($117) {
+ $132 = 32767;
} else {
- $42 = $out_2;
- $43 = $out_1;
- $sub62 = (($42) - ($43))|0;
- $shr63 = $sub62 >> 10;
- $add64 = (($shr63) + 1)|0;
- $shr65 = $add64 >> 1;
- $cmp66 = ($shr65|0)<(-32768);
- if ($cmp66) {
- $cond77 = -32768;
+ $118 = $16;
+ $119 = $15;
+ $120 = (($118) - ($119))|0;
+ $121 = $120 >> 10;
+ $122 = (($121) + 1)|0;
+ $123 = $122 >> 1;
+ $124 = ($123|0)<(-32768);
+ if ($124) {
+ $132 = -32768;
} else {
- $44 = $out_2;
- $45 = $out_1;
- $sub70 = (($44) - ($45))|0;
- $shr71 = $sub70 >> 10;
- $add72 = (($shr71) + 1)|0;
- $shr73 = $add72 >> 1;
- $cond77 = $shr73;
+ $125 = $16;
+ $126 = $15;
+ $127 = (($125) - ($126))|0;
+ $128 = $127 >> 10;
+ $129 = (($128) + 1)|0;
+ $130 = $129 >> 1;
+ $132 = $130;
}
}
- $conv78 = $cond77&65535;
- $46 = $outH$addr;
- $47 = $k;
- $arrayidx79 = (($46) + ($47<<1)|0);
- HEAP16[$arrayidx79>>1] = $conv78;
- $48 = $k;
- $inc = (($48) + 1)|0;
- $k = $inc;
+ $131 = $132&65535;
+ $133 = $8;
+ $134 = $10;
+ $135 = (($133) + ($134<<1)|0);
+ HEAP16[$135>>1] = $131;
+ $136 = $10;
+ $137 = (($136) + 1)|0;
+ $10 = $137;
}
STACKTOP = sp;return;
}
-function _silk_biquad_alt($in,$B_Q28,$A_Q28,$S,$out,$len,$stride) {
- $in = $in|0;
- $B_Q28 = $B_Q28|0;
- $A_Q28 = $A_Q28|0;
- $S = $S|0;
- $out = $out|0;
- $len = $len|0;
- $stride = $stride|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $8 = 0, $9 = 0, $A0_L_Q28 = 0, $A0_U_Q28 = 0, $A1_L_Q28 = 0, $A1_U_Q28 = 0, $A_Q28$addr = 0, $B_Q28$addr = 0, $S$addr = 0;
- var $add = 0, $add106 = 0, $add107 = 0, $add109 = 0, $add114 = 0, $add121 = 0, $add22 = 0, $add33 = 0, $add35 = 0, $add37 = 0, $add49 = 0, $add50 = 0, $add64 = 0, $add65 = 0, $add76 = 0, $add78 = 0, $add91 = 0, $add92 = 0, $and = 0, $and101 = 0;
- var $and17 = 0, $and28 = 0, $and44 = 0, $and5 = 0, $and59 = 0, $and71 = 0, $and86 = 0, $arrayidx100 = 0, $arrayidx108 = 0, $arrayidx128 = 0, $arrayidx23 = 0, $arrayidx3 = 0, $arrayidx53 = 0, $arrayidx58 = 0, $arrayidx6 = 0, $arrayidx80 = 0, $arrayidx81 = 0, $arrayidx9 = 0, $arrayidx93 = 0, $arrayidx94 = 0;
- var $arrayidx95 = 0, $cmp = 0, $cmp112 = 0, $cmp117 = 0, $cond125 = 0, $conv = 0, $conv102 = 0, $conv103 = 0, $conv126 = 0, $conv13 = 0, $conv14 = 0, $conv18 = 0, $conv19 = 0, $conv25 = 0, $conv26 = 0, $conv29 = 0, $conv30 = 0, $conv41 = 0, $conv42 = 0, $conv45 = 0;
- var $conv46 = 0, $conv55 = 0, $conv56 = 0, $conv60 = 0, $conv61 = 0, $conv68 = 0, $conv69 = 0, $conv72 = 0, $conv73 = 0, $conv83 = 0, $conv84 = 0, $conv87 = 0, $conv88 = 0, $conv97 = 0, $conv98 = 0, $in$addr = 0, $inc = 0, $inval = 0, $k = 0, $len$addr = 0;
- var $mul = 0, $mul104 = 0, $mul127 = 0, $mul15 = 0, $mul20 = 0, $mul27 = 0, $mul31 = 0, $mul43 = 0, $mul47 = 0, $mul57 = 0, $mul62 = 0, $mul70 = 0, $mul74 = 0, $mul85 = 0, $mul89 = 0, $mul99 = 0, $out$addr = 0, $out32_Q14 = 0, $shl = 0, $shr = 0;
- var $shr105 = 0, $shr111 = 0, $shr116 = 0, $shr12 = 0, $shr123 = 0, $shr21 = 0, $shr24 = 0, $shr32 = 0, $shr34 = 0, $shr36 = 0, $shr40 = 0, $shr48 = 0, $shr54 = 0, $shr63 = 0, $shr67 = 0, $shr75 = 0, $shr77 = 0, $shr79 = 0, $shr8 = 0, $shr82 = 0;
- var $shr90 = 0, $shr96 = 0, $stride$addr = 0, $sub = 0, $sub110 = 0, $sub115 = 0, $sub122 = 0, $sub2 = 0, $sub4 = 0, $sub7 = 0, label = 0, sp = 0;
+function _silk_biquad_alt($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0;
+ var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0;
+ var $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0;
+ var $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $in$addr = $in;
- $B_Q28$addr = $B_Q28;
- $A_Q28$addr = $A_Q28;
- $S$addr = $S;
- $out$addr = $out;
- $len$addr = $len;
- $stride$addr = $stride;
- $0 = $A_Q28$addr;
- $1 = HEAP32[$0>>2]|0;
- $sub = (0 - ($1))|0;
- $and = $sub & 16383;
- $A0_L_Q28 = $and;
- $2 = $A_Q28$addr;
- $3 = HEAP32[$2>>2]|0;
- $sub2 = (0 - ($3))|0;
- $shr = $sub2 >> 14;
- $A0_U_Q28 = $shr;
- $4 = $A_Q28$addr;
- $arrayidx3 = ((($4)) + 4|0);
- $5 = HEAP32[$arrayidx3>>2]|0;
- $sub4 = (0 - ($5))|0;
- $and5 = $sub4 & 16383;
- $A1_L_Q28 = $and5;
- $6 = $A_Q28$addr;
- $arrayidx6 = ((($6)) + 4|0);
- $7 = HEAP32[$arrayidx6>>2]|0;
- $sub7 = (0 - ($7))|0;
- $shr8 = $sub7 >> 14;
- $A1_U_Q28 = $shr8;
- $k = 0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $21 = $9;
+ $22 = HEAP32[$21>>2]|0;
+ $23 = (0 - ($22))|0;
+ $24 = $23 & 16383;
+ $17 = $24;
+ $25 = $9;
+ $26 = HEAP32[$25>>2]|0;
+ $27 = (0 - ($26))|0;
+ $28 = $27 >> 14;
+ $16 = $28;
+ $29 = $9;
+ $30 = ((($29)) + 4|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = (0 - ($31))|0;
+ $33 = $32 & 16383;
+ $19 = $33;
+ $34 = $9;
+ $35 = ((($34)) + 4|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = (0 - ($36))|0;
+ $38 = $37 >> 14;
+ $18 = $38;
+ $14 = 0;
while(1) {
- $8 = $k;
- $9 = $len$addr;
- $cmp = ($8|0)<($9|0);
- if (!($cmp)) {
+ $39 = $14;
+ $40 = $12;
+ $41 = ($39|0)<($40|0);
+ if (!($41)) {
break;
}
- $10 = $in$addr;
- $11 = $k;
- $12 = $stride$addr;
- $mul = Math_imul($11, $12)|0;
- $arrayidx9 = (($10) + ($mul<<1)|0);
- $13 = HEAP16[$arrayidx9>>1]|0;
- $conv = $13 << 16 >> 16;
- $inval = $conv;
- $14 = $S$addr;
- $15 = HEAP32[$14>>2]|0;
- $16 = $B_Q28$addr;
- $17 = HEAP32[$16>>2]|0;
- $shr12 = $17 >> 16;
- $18 = $inval;
- $conv13 = $18&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($shr12, $conv14)|0;
- $19 = $B_Q28$addr;
- $20 = HEAP32[$19>>2]|0;
- $and17 = $20 & 65535;
- $21 = $inval;
- $conv18 = $21&65535;
- $conv19 = $conv18 << 16 >> 16;
- $mul20 = Math_imul($and17, $conv19)|0;
- $shr21 = $mul20 >> 16;
- $add = (($mul15) + ($shr21))|0;
- $add22 = (($15) + ($add))|0;
- $shl = $add22 << 2;
- $out32_Q14 = $shl;
- $22 = $S$addr;
- $arrayidx23 = ((($22)) + 4|0);
- $23 = HEAP32[$arrayidx23>>2]|0;
- $24 = $out32_Q14;
- $shr24 = $24 >> 16;
- $25 = $A0_L_Q28;
- $conv25 = $25&65535;
- $conv26 = $conv25 << 16 >> 16;
- $mul27 = Math_imul($shr24, $conv26)|0;
- $26 = $out32_Q14;
- $and28 = $26 & 65535;
- $27 = $A0_L_Q28;
- $conv29 = $27&65535;
- $conv30 = $conv29 << 16 >> 16;
- $mul31 = Math_imul($and28, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul27) + ($shr32))|0;
- $shr34 = $add33 >> 13;
- $add35 = (($shr34) + 1)|0;
- $shr36 = $add35 >> 1;
- $add37 = (($23) + ($shr36))|0;
- $28 = $S$addr;
- HEAP32[$28>>2] = $add37;
- $29 = $S$addr;
- $30 = HEAP32[$29>>2]|0;
- $31 = $out32_Q14;
- $shr40 = $31 >> 16;
- $32 = $A0_U_Q28;
- $conv41 = $32&65535;
- $conv42 = $conv41 << 16 >> 16;
- $mul43 = Math_imul($shr40, $conv42)|0;
- $33 = $out32_Q14;
- $and44 = $33 & 65535;
- $34 = $A0_U_Q28;
- $conv45 = $34&65535;
- $conv46 = $conv45 << 16 >> 16;
- $mul47 = Math_imul($and44, $conv46)|0;
- $shr48 = $mul47 >> 16;
- $add49 = (($mul43) + ($shr48))|0;
- $add50 = (($30) + ($add49))|0;
- $35 = $S$addr;
- HEAP32[$35>>2] = $add50;
- $36 = $S$addr;
- $37 = HEAP32[$36>>2]|0;
- $38 = $B_Q28$addr;
- $arrayidx53 = ((($38)) + 4|0);
- $39 = HEAP32[$arrayidx53>>2]|0;
- $shr54 = $39 >> 16;
- $40 = $inval;
- $conv55 = $40&65535;
- $conv56 = $conv55 << 16 >> 16;
- $mul57 = Math_imul($shr54, $conv56)|0;
- $41 = $B_Q28$addr;
- $arrayidx58 = ((($41)) + 4|0);
- $42 = HEAP32[$arrayidx58>>2]|0;
- $and59 = $42 & 65535;
- $43 = $inval;
- $conv60 = $43&65535;
- $conv61 = $conv60 << 16 >> 16;
- $mul62 = Math_imul($and59, $conv61)|0;
- $shr63 = $mul62 >> 16;
- $add64 = (($mul57) + ($shr63))|0;
- $add65 = (($37) + ($add64))|0;
- $44 = $S$addr;
- HEAP32[$44>>2] = $add65;
- $45 = $out32_Q14;
- $shr67 = $45 >> 16;
- $46 = $A1_L_Q28;
- $conv68 = $46&65535;
- $conv69 = $conv68 << 16 >> 16;
- $mul70 = Math_imul($shr67, $conv69)|0;
- $47 = $out32_Q14;
- $and71 = $47 & 65535;
- $48 = $A1_L_Q28;
- $conv72 = $48&65535;
- $conv73 = $conv72 << 16 >> 16;
- $mul74 = Math_imul($and71, $conv73)|0;
- $shr75 = $mul74 >> 16;
- $add76 = (($mul70) + ($shr75))|0;
- $shr77 = $add76 >> 13;
- $add78 = (($shr77) + 1)|0;
- $shr79 = $add78 >> 1;
- $49 = $S$addr;
- $arrayidx80 = ((($49)) + 4|0);
- HEAP32[$arrayidx80>>2] = $shr79;
- $50 = $S$addr;
- $arrayidx81 = ((($50)) + 4|0);
- $51 = HEAP32[$arrayidx81>>2]|0;
- $52 = $out32_Q14;
- $shr82 = $52 >> 16;
- $53 = $A1_U_Q28;
- $conv83 = $53&65535;
- $conv84 = $conv83 << 16 >> 16;
- $mul85 = Math_imul($shr82, $conv84)|0;
- $54 = $out32_Q14;
- $and86 = $54 & 65535;
- $55 = $A1_U_Q28;
- $conv87 = $55&65535;
- $conv88 = $conv87 << 16 >> 16;
- $mul89 = Math_imul($and86, $conv88)|0;
- $shr90 = $mul89 >> 16;
- $add91 = (($mul85) + ($shr90))|0;
- $add92 = (($51) + ($add91))|0;
- $56 = $S$addr;
- $arrayidx93 = ((($56)) + 4|0);
- HEAP32[$arrayidx93>>2] = $add92;
- $57 = $S$addr;
- $arrayidx94 = ((($57)) + 4|0);
- $58 = HEAP32[$arrayidx94>>2]|0;
- $59 = $B_Q28$addr;
- $arrayidx95 = ((($59)) + 8|0);
- $60 = HEAP32[$arrayidx95>>2]|0;
- $shr96 = $60 >> 16;
- $61 = $inval;
- $conv97 = $61&65535;
- $conv98 = $conv97 << 16 >> 16;
- $mul99 = Math_imul($shr96, $conv98)|0;
- $62 = $B_Q28$addr;
- $arrayidx100 = ((($62)) + 8|0);
- $63 = HEAP32[$arrayidx100>>2]|0;
- $and101 = $63 & 65535;
- $64 = $inval;
- $conv102 = $64&65535;
- $conv103 = $conv102 << 16 >> 16;
- $mul104 = Math_imul($and101, $conv103)|0;
- $shr105 = $mul104 >> 16;
- $add106 = (($mul99) + ($shr105))|0;
- $add107 = (($58) + ($add106))|0;
- $65 = $S$addr;
- $arrayidx108 = ((($65)) + 4|0);
- HEAP32[$arrayidx108>>2] = $add107;
- $66 = $out32_Q14;
- $add109 = (($66) + 16384)|0;
- $sub110 = (($add109) - 1)|0;
- $shr111 = $sub110 >> 14;
- $cmp112 = ($shr111|0)>(32767);
- if ($cmp112) {
- $cond125 = 32767;
+ $42 = $7;
+ $43 = $14;
+ $44 = $13;
+ $45 = Math_imul($43, $44)|0;
+ $46 = (($42) + ($45<<1)|0);
+ $47 = HEAP16[$46>>1]|0;
+ $48 = $47 << 16 >> 16;
+ $15 = $48;
+ $49 = $10;
+ $50 = HEAP32[$49>>2]|0;
+ $51 = $8;
+ $52 = HEAP32[$51>>2]|0;
+ $53 = $52 >> 16;
+ $54 = $15;
+ $55 = $54&65535;
+ $56 = $55 << 16 >> 16;
+ $57 = Math_imul($53, $56)|0;
+ $58 = $8;
+ $59 = HEAP32[$58>>2]|0;
+ $60 = $59 & 65535;
+ $61 = $15;
+ $62 = $61&65535;
+ $63 = $62 << 16 >> 16;
+ $64 = Math_imul($60, $63)|0;
+ $65 = $64 >> 16;
+ $66 = (($57) + ($65))|0;
+ $67 = (($50) + ($66))|0;
+ $68 = $67 << 2;
+ $20 = $68;
+ $69 = $10;
+ $70 = ((($69)) + 4|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = $20;
+ $73 = $72 >> 16;
+ $74 = $17;
+ $75 = $74&65535;
+ $76 = $75 << 16 >> 16;
+ $77 = Math_imul($73, $76)|0;
+ $78 = $20;
+ $79 = $78 & 65535;
+ $80 = $17;
+ $81 = $80&65535;
+ $82 = $81 << 16 >> 16;
+ $83 = Math_imul($79, $82)|0;
+ $84 = $83 >> 16;
+ $85 = (($77) + ($84))|0;
+ $86 = $85 >> 13;
+ $87 = (($86) + 1)|0;
+ $88 = $87 >> 1;
+ $89 = (($71) + ($88))|0;
+ $90 = $10;
+ HEAP32[$90>>2] = $89;
+ $91 = $10;
+ $92 = HEAP32[$91>>2]|0;
+ $93 = $20;
+ $94 = $93 >> 16;
+ $95 = $16;
+ $96 = $95&65535;
+ $97 = $96 << 16 >> 16;
+ $98 = Math_imul($94, $97)|0;
+ $99 = $20;
+ $100 = $99 & 65535;
+ $101 = $16;
+ $102 = $101&65535;
+ $103 = $102 << 16 >> 16;
+ $104 = Math_imul($100, $103)|0;
+ $105 = $104 >> 16;
+ $106 = (($98) + ($105))|0;
+ $107 = (($92) + ($106))|0;
+ $108 = $10;
+ HEAP32[$108>>2] = $107;
+ $109 = $10;
+ $110 = HEAP32[$109>>2]|0;
+ $111 = $8;
+ $112 = ((($111)) + 4|0);
+ $113 = HEAP32[$112>>2]|0;
+ $114 = $113 >> 16;
+ $115 = $15;
+ $116 = $115&65535;
+ $117 = $116 << 16 >> 16;
+ $118 = Math_imul($114, $117)|0;
+ $119 = $8;
+ $120 = ((($119)) + 4|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = $121 & 65535;
+ $123 = $15;
+ $124 = $123&65535;
+ $125 = $124 << 16 >> 16;
+ $126 = Math_imul($122, $125)|0;
+ $127 = $126 >> 16;
+ $128 = (($118) + ($127))|0;
+ $129 = (($110) + ($128))|0;
+ $130 = $10;
+ HEAP32[$130>>2] = $129;
+ $131 = $20;
+ $132 = $131 >> 16;
+ $133 = $19;
+ $134 = $133&65535;
+ $135 = $134 << 16 >> 16;
+ $136 = Math_imul($132, $135)|0;
+ $137 = $20;
+ $138 = $137 & 65535;
+ $139 = $19;
+ $140 = $139&65535;
+ $141 = $140 << 16 >> 16;
+ $142 = Math_imul($138, $141)|0;
+ $143 = $142 >> 16;
+ $144 = (($136) + ($143))|0;
+ $145 = $144 >> 13;
+ $146 = (($145) + 1)|0;
+ $147 = $146 >> 1;
+ $148 = $10;
+ $149 = ((($148)) + 4|0);
+ HEAP32[$149>>2] = $147;
+ $150 = $10;
+ $151 = ((($150)) + 4|0);
+ $152 = HEAP32[$151>>2]|0;
+ $153 = $20;
+ $154 = $153 >> 16;
+ $155 = $18;
+ $156 = $155&65535;
+ $157 = $156 << 16 >> 16;
+ $158 = Math_imul($154, $157)|0;
+ $159 = $20;
+ $160 = $159 & 65535;
+ $161 = $18;
+ $162 = $161&65535;
+ $163 = $162 << 16 >> 16;
+ $164 = Math_imul($160, $163)|0;
+ $165 = $164 >> 16;
+ $166 = (($158) + ($165))|0;
+ $167 = (($152) + ($166))|0;
+ $168 = $10;
+ $169 = ((($168)) + 4|0);
+ HEAP32[$169>>2] = $167;
+ $170 = $10;
+ $171 = ((($170)) + 4|0);
+ $172 = HEAP32[$171>>2]|0;
+ $173 = $8;
+ $174 = ((($173)) + 8|0);
+ $175 = HEAP32[$174>>2]|0;
+ $176 = $175 >> 16;
+ $177 = $15;
+ $178 = $177&65535;
+ $179 = $178 << 16 >> 16;
+ $180 = Math_imul($176, $179)|0;
+ $181 = $8;
+ $182 = ((($181)) + 8|0);
+ $183 = HEAP32[$182>>2]|0;
+ $184 = $183 & 65535;
+ $185 = $15;
+ $186 = $185&65535;
+ $187 = $186 << 16 >> 16;
+ $188 = Math_imul($184, $187)|0;
+ $189 = $188 >> 16;
+ $190 = (($180) + ($189))|0;
+ $191 = (($172) + ($190))|0;
+ $192 = $10;
+ $193 = ((($192)) + 4|0);
+ HEAP32[$193>>2] = $191;
+ $194 = $20;
+ $195 = (($194) + 16384)|0;
+ $196 = (($195) - 1)|0;
+ $197 = $196 >> 14;
+ $198 = ($197|0)>(32767);
+ if ($198) {
+ $209 = 32767;
} else {
- $67 = $out32_Q14;
- $add114 = (($67) + 16384)|0;
- $sub115 = (($add114) - 1)|0;
- $shr116 = $sub115 >> 14;
- $cmp117 = ($shr116|0)<(-32768);
- if ($cmp117) {
- $cond125 = -32768;
+ $199 = $20;
+ $200 = (($199) + 16384)|0;
+ $201 = (($200) - 1)|0;
+ $202 = $201 >> 14;
+ $203 = ($202|0)<(-32768);
+ if ($203) {
+ $209 = -32768;
} else {
- $68 = $out32_Q14;
- $add121 = (($68) + 16384)|0;
- $sub122 = (($add121) - 1)|0;
- $shr123 = $sub122 >> 14;
- $cond125 = $shr123;
+ $204 = $20;
+ $205 = (($204) + 16384)|0;
+ $206 = (($205) - 1)|0;
+ $207 = $206 >> 14;
+ $209 = $207;
}
}
- $conv126 = $cond125&65535;
- $69 = $out$addr;
- $70 = $k;
- $71 = $stride$addr;
- $mul127 = Math_imul($70, $71)|0;
- $arrayidx128 = (($69) + ($mul127<<1)|0);
- HEAP16[$arrayidx128>>1] = $conv126;
- $72 = $k;
- $inc = (($72) + 1)|0;
- $k = $inc;
+ $208 = $209&65535;
+ $210 = $11;
+ $211 = $14;
+ $212 = $13;
+ $213 = Math_imul($211, $212)|0;
+ $214 = (($210) + ($213<<1)|0);
+ HEAP16[$214>>1] = $208;
+ $215 = $14;
+ $216 = (($215) + 1)|0;
+ $14 = $216;
}
STACKTOP = sp;return;
}
-function _silk_bwexpander_32($ar,$d,$chirp_Q16) {
- $ar = $ar|0;
- $d = $d|0;
- $chirp_Q16 = $chirp_Q16|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add10 = 0, $add13 = 0, $add17 = 0, $add19 = 0, $add33 = 0, $add37 = 0;
- var $add40 = 0, $and = 0, $and26 = 0, $ar$addr = 0, $arrayidx = 0, $arrayidx14 = 0, $arrayidx22 = 0, $arrayidx28 = 0, $arrayidx3 = 0, $arrayidx35 = 0, $arrayidx42 = 0, $arrayidx8 = 0, $chirp_Q16$addr = 0, $chirp_minus_one_Q16 = 0, $cmp = 0, $conv = 0, $conv2 = 0, $conv23 = 0, $conv24 = 0, $conv29 = 0;
- var $conv30 = 0, $conv4 = 0, $conv5 = 0, $d$addr = 0, $i = 0, $inc = 0, $mul = 0, $mul12 = 0, $mul15 = 0, $mul25 = 0, $mul31 = 0, $mul39 = 0, $mul6 = 0, $shr = 0, $shr11 = 0, $shr16 = 0, $shr18 = 0, $shr32 = 0, $shr36 = 0, $shr38 = 0;
- var $shr7 = 0, $shr9 = 0, $sub = 0, $sub1 = 0, $sub21 = 0, $sub27 = 0, $sub34 = 0, $sub41 = 0, label = 0, sp = 0;
+function _silk_bwexpander_32($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $ar$addr = $ar;
- $d$addr = $d;
- $chirp_Q16$addr = $chirp_Q16;
- $0 = $chirp_Q16$addr;
- $sub = (($0) - 65536)|0;
- $chirp_minus_one_Q16 = $sub;
- $i = 0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $5;
+ $9 = (($8) - 65536)|0;
+ $7 = $9;
+ $6 = 0;
while(1) {
- $1 = $i;
- $2 = $d$addr;
- $sub1 = (($2) - 1)|0;
- $cmp = ($1|0)<($sub1|0);
- $3 = $chirp_Q16$addr;
- $shr = $3 >> 16;
- $4 = $ar$addr;
- if (!($cmp)) {
+ $10 = $6;
+ $11 = $4;
+ $12 = (($11) - 1)|0;
+ $13 = ($10|0)<($12|0);
+ $14 = $5;
+ $15 = $14 >> 16;
+ $16 = $3;
+ if (!($13)) {
break;
}
- $5 = $i;
- $arrayidx = (($4) + ($5<<2)|0);
- $6 = HEAP32[$arrayidx>>2]|0;
- $conv = $6&65535;
- $conv2 = $conv << 16 >> 16;
- $mul = Math_imul($shr, $conv2)|0;
- $7 = $chirp_Q16$addr;
- $and = $7 & 65535;
- $8 = $ar$addr;
- $9 = $i;
- $arrayidx3 = (($8) + ($9<<2)|0);
- $10 = HEAP32[$arrayidx3>>2]|0;
- $conv4 = $10&65535;
- $conv5 = $conv4 << 16 >> 16;
- $mul6 = Math_imul($and, $conv5)|0;
- $shr7 = $mul6 >> 16;
- $add = (($mul) + ($shr7))|0;
- $11 = $chirp_Q16$addr;
- $12 = $ar$addr;
- $13 = $i;
- $arrayidx8 = (($12) + ($13<<2)|0);
- $14 = HEAP32[$arrayidx8>>2]|0;
- $shr9 = $14 >> 15;
- $add10 = (($shr9) + 1)|0;
- $shr11 = $add10 >> 1;
- $mul12 = Math_imul($11, $shr11)|0;
- $add13 = (($add) + ($mul12))|0;
- $15 = $ar$addr;
- $16 = $i;
- $arrayidx14 = (($15) + ($16<<2)|0);
- HEAP32[$arrayidx14>>2] = $add13;
- $17 = $chirp_Q16$addr;
- $18 = $chirp_minus_one_Q16;
- $mul15 = Math_imul($17, $18)|0;
- $shr16 = $mul15 >> 15;
- $add17 = (($shr16) + 1)|0;
- $shr18 = $add17 >> 1;
- $19 = $chirp_Q16$addr;
- $add19 = (($19) + ($shr18))|0;
- $chirp_Q16$addr = $add19;
- $20 = $i;
- $inc = (($20) + 1)|0;
- $i = $inc;
+ $17 = $6;
+ $18 = (($16) + ($17<<2)|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = Math_imul($15, $21)|0;
+ $23 = $5;
+ $24 = $23 & 65535;
+ $25 = $3;
+ $26 = $6;
+ $27 = (($25) + ($26<<2)|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($24, $30)|0;
+ $32 = $31 >> 16;
+ $33 = (($22) + ($32))|0;
+ $34 = $5;
+ $35 = $3;
+ $36 = $6;
+ $37 = (($35) + ($36<<2)|0);
+ $38 = HEAP32[$37>>2]|0;
+ $39 = $38 >> 15;
+ $40 = (($39) + 1)|0;
+ $41 = $40 >> 1;
+ $42 = Math_imul($34, $41)|0;
+ $43 = (($33) + ($42))|0;
+ $44 = $3;
+ $45 = $6;
+ $46 = (($44) + ($45<<2)|0);
+ HEAP32[$46>>2] = $43;
+ $47 = $5;
+ $48 = $7;
+ $49 = Math_imul($47, $48)|0;
+ $50 = $49 >> 15;
+ $51 = (($50) + 1)|0;
+ $52 = $51 >> 1;
+ $53 = $5;
+ $54 = (($53) + ($52))|0;
+ $5 = $54;
+ $55 = $6;
+ $56 = (($55) + 1)|0;
+ $6 = $56;
}
- $21 = $d$addr;
- $sub21 = (($21) - 1)|0;
- $arrayidx22 = (($4) + ($sub21<<2)|0);
- $22 = HEAP32[$arrayidx22>>2]|0;
- $conv23 = $22&65535;
- $conv24 = $conv23 << 16 >> 16;
- $mul25 = Math_imul($shr, $conv24)|0;
- $23 = $chirp_Q16$addr;
- $and26 = $23 & 65535;
- $24 = $ar$addr;
- $25 = $d$addr;
- $sub27 = (($25) - 1)|0;
- $arrayidx28 = (($24) + ($sub27<<2)|0);
- $26 = HEAP32[$arrayidx28>>2]|0;
- $conv29 = $26&65535;
- $conv30 = $conv29 << 16 >> 16;
- $mul31 = Math_imul($and26, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul25) + ($shr32))|0;
- $27 = $chirp_Q16$addr;
- $28 = $ar$addr;
- $29 = $d$addr;
- $sub34 = (($29) - 1)|0;
- $arrayidx35 = (($28) + ($sub34<<2)|0);
- $30 = HEAP32[$arrayidx35>>2]|0;
- $shr36 = $30 >> 15;
- $add37 = (($shr36) + 1)|0;
- $shr38 = $add37 >> 1;
- $mul39 = Math_imul($27, $shr38)|0;
- $add40 = (($add33) + ($mul39))|0;
- $31 = $ar$addr;
- $32 = $d$addr;
- $sub41 = (($32) - 1)|0;
- $arrayidx42 = (($31) + ($sub41<<2)|0);
- HEAP32[$arrayidx42>>2] = $add40;
+ $57 = $4;
+ $58 = (($57) - 1)|0;
+ $59 = (($16) + ($58<<2)|0);
+ $60 = HEAP32[$59>>2]|0;
+ $61 = $60&65535;
+ $62 = $61 << 16 >> 16;
+ $63 = Math_imul($15, $62)|0;
+ $64 = $5;
+ $65 = $64 & 65535;
+ $66 = $3;
+ $67 = $4;
+ $68 = (($67) - 1)|0;
+ $69 = (($66) + ($68<<2)|0);
+ $70 = HEAP32[$69>>2]|0;
+ $71 = $70&65535;
+ $72 = $71 << 16 >> 16;
+ $73 = Math_imul($65, $72)|0;
+ $74 = $73 >> 16;
+ $75 = (($63) + ($74))|0;
+ $76 = $5;
+ $77 = $3;
+ $78 = $4;
+ $79 = (($78) - 1)|0;
+ $80 = (($77) + ($79<<2)|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = $81 >> 15;
+ $83 = (($82) + 1)|0;
+ $84 = $83 >> 1;
+ $85 = Math_imul($76, $84)|0;
+ $86 = (($75) + ($85))|0;
+ $87 = $3;
+ $88 = $4;
+ $89 = (($88) - 1)|0;
+ $90 = (($87) + ($89<<2)|0);
+ HEAP32[$90>>2] = $86;
STACKTOP = sp;return;
}
-function _silk_bwexpander($ar,$d,$chirp_Q16) {
- $ar = $ar|0;
- $d = $d|0;
- $chirp_Q16 = $chirp_Q16|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add15 = 0, $add7 = 0;
- var $add9 = 0, $ar$addr = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx19 = 0, $arrayidx4 = 0, $chirp_Q16$addr = 0, $chirp_minus_one_Q16 = 0, $cmp = 0, $conv = 0, $conv12 = 0, $conv17 = 0, $conv3 = 0, $d$addr = 0, $i = 0, $inc = 0, $mul = 0, $mul13 = 0, $mul5 = 0, $shr = 0;
- var $shr14 = 0, $shr16 = 0, $shr2 = 0, $shr6 = 0, $shr8 = 0, $sub = 0, $sub1 = 0, $sub10 = 0, $sub18 = 0, label = 0, sp = 0;
+function _silk_bwexpander($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $ar$addr = $ar;
- $d$addr = $d;
- $chirp_Q16$addr = $chirp_Q16;
- $0 = $chirp_Q16$addr;
- $sub = (($0) - 65536)|0;
- $chirp_minus_one_Q16 = $sub;
- $i = 0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $5;
+ $9 = (($8) - 65536)|0;
+ $7 = $9;
+ $6 = 0;
while(1) {
- $1 = $i;
- $2 = $d$addr;
- $sub1 = (($2) - 1)|0;
- $cmp = ($1|0)<($sub1|0);
- $3 = $chirp_Q16$addr;
- $4 = $ar$addr;
- if (!($cmp)) {
+ $10 = $6;
+ $11 = $4;
+ $12 = (($11) - 1)|0;
+ $13 = ($10|0)<($12|0);
+ $14 = $5;
+ $15 = $3;
+ if (!($13)) {
break;
}
- $5 = $i;
- $arrayidx = (($4) + ($5<<1)|0);
- $6 = HEAP16[$arrayidx>>1]|0;
- $conv = $6 << 16 >> 16;
- $mul = Math_imul($3, $conv)|0;
- $shr = $mul >> 15;
- $add = (($shr) + 1)|0;
- $shr2 = $add >> 1;
- $conv3 = $shr2&65535;
- $7 = $ar$addr;
- $8 = $i;
- $arrayidx4 = (($7) + ($8<<1)|0);
- HEAP16[$arrayidx4>>1] = $conv3;
- $9 = $chirp_Q16$addr;
- $10 = $chirp_minus_one_Q16;
- $mul5 = Math_imul($9, $10)|0;
- $shr6 = $mul5 >> 15;
- $add7 = (($shr6) + 1)|0;
- $shr8 = $add7 >> 1;
- $11 = $chirp_Q16$addr;
- $add9 = (($11) + ($shr8))|0;
- $chirp_Q16$addr = $add9;
- $12 = $i;
- $inc = (($12) + 1)|0;
- $i = $inc;
+ $16 = $6;
+ $17 = (($15) + ($16<<1)|0);
+ $18 = HEAP16[$17>>1]|0;
+ $19 = $18 << 16 >> 16;
+ $20 = Math_imul($14, $19)|0;
+ $21 = $20 >> 15;
+ $22 = (($21) + 1)|0;
+ $23 = $22 >> 1;
+ $24 = $23&65535;
+ $25 = $3;
+ $26 = $6;
+ $27 = (($25) + ($26<<1)|0);
+ HEAP16[$27>>1] = $24;
+ $28 = $5;
+ $29 = $7;
+ $30 = Math_imul($28, $29)|0;
+ $31 = $30 >> 15;
+ $32 = (($31) + 1)|0;
+ $33 = $32 >> 1;
+ $34 = $5;
+ $35 = (($34) + ($33))|0;
+ $5 = $35;
+ $36 = $6;
+ $37 = (($36) + 1)|0;
+ $6 = $37;
}
- $13 = $d$addr;
- $sub10 = (($13) - 1)|0;
- $arrayidx11 = (($4) + ($sub10<<1)|0);
- $14 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $14 << 16 >> 16;
- $mul13 = Math_imul($3, $conv12)|0;
- $shr14 = $mul13 >> 15;
- $add15 = (($shr14) + 1)|0;
- $shr16 = $add15 >> 1;
- $conv17 = $shr16&65535;
- $15 = $ar$addr;
- $16 = $d$addr;
- $sub18 = (($16) - 1)|0;
- $arrayidx19 = (($15) + ($sub18<<1)|0);
- HEAP16[$arrayidx19>>1] = $conv17;
+ $38 = $4;
+ $39 = (($38) - 1)|0;
+ $40 = (($15) + ($39<<1)|0);
+ $41 = HEAP16[$40>>1]|0;
+ $42 = $41 << 16 >> 16;
+ $43 = Math_imul($14, $42)|0;
+ $44 = $43 >> 15;
+ $45 = (($44) + 1)|0;
+ $46 = $45 >> 1;
+ $47 = $46&65535;
+ $48 = $3;
+ $49 = $4;
+ $50 = (($49) - 1)|0;
+ $51 = (($48) + ($50<<1)|0);
+ HEAP16[$51>>1] = $47;
STACKTOP = sp;return;
}
-function _silk_decode_pitch($lagIndex,$contourIndex,$pitch_lags,$Fs_kHz,$nb_subfr) {
- $lagIndex = $lagIndex|0;
- $contourIndex = $contourIndex|0;
- $pitch_lags = $pitch_lags|0;
- $Fs_kHz = $Fs_kHz|0;
- $nb_subfr = $nb_subfr|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0;
- var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Fs_kHz$addr = 0, $Lag_CB_ptr = 0, $add = 0, $add$ptr = 0, $add18 = 0, $add20 = 0, $arrayidx = 0, $arrayidx23 = 0, $arrayidx27 = 0, $arrayidx32 = 0, $arrayidx41 = 0, $arrayidx46 = 0, $arrayidx53 = 0, $cbk_size = 0, $cmp = 0, $cmp1 = 0;
- var $cmp14 = 0, $cmp21 = 0, $cmp24 = 0, $cmp28 = 0, $cmp37 = 0, $cmp42 = 0, $cond52 = 0, $contourIndex$addr = 0, $conv = 0, $conv10 = 0, $conv11 = 0, $conv13 = 0, $conv17 = 0, $conv19 = 0, $conv9 = 0, $inc = 0, $k = 0, $lag = 0, $lagIndex$addr = 0, $max_lag = 0;
- var $min_lag = 0, $mul = 0, $mul12 = 0, $mul16 = 0, $nb_subfr$addr = 0, $pitch_lags$addr = 0, label = 0, sp = 0;
+function _silk_decode_pitch($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0;
+ var $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $lagIndex$addr = $lagIndex;
- $contourIndex$addr = $contourIndex;
- $pitch_lags$addr = $pitch_lags;
- $Fs_kHz$addr = $Fs_kHz;
- $nb_subfr$addr = $nb_subfr;
- $0 = $Fs_kHz$addr;
- $cmp = ($0|0)==(8);
- $1 = $nb_subfr$addr;
- $cmp1 = ($1|0)==(4);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $16 = $8;
+ $17 = ($16|0)==(8);
+ $18 = $9;
+ $19 = ($18|0)==(4);
do {
- if ($cmp) {
- if ($cmp1) {
- $Lag_CB_ptr = 30737;
- $cbk_size = 11;
+ if ($17) {
+ if ($19) {
+ $15 = 30771;
+ $14 = 11;
break;
} else {
- $Lag_CB_ptr = 30703;
- $cbk_size = 3;
+ $15 = 30737;
+ $14 = 3;
break;
}
} else {
- if ($cmp1) {
- $Lag_CB_ptr = 30781;
- $cbk_size = 34;
+ if ($19) {
+ $15 = 30815;
+ $14 = 34;
break;
} else {
- $Lag_CB_ptr = 30709;
- $cbk_size = 12;
+ $15 = 30743;
+ $14 = 12;
break;
}
}
} while(0);
- $2 = $Fs_kHz$addr;
- $conv = $2&65535;
- $conv9 = $conv << 16 >> 16;
- $mul = $conv9<<1;
- $min_lag = $mul;
- $3 = $Fs_kHz$addr;
- $conv10 = $3&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = ($conv11*18)|0;
- $max_lag = $mul12;
- $4 = $min_lag;
- $5 = $lagIndex$addr;
- $conv13 = $5 << 16 >> 16;
- $add = (($4) + ($conv13))|0;
- $lag = $add;
- $k = 0;
+ $20 = $8;
+ $21 = $20&65535;
+ $22 = $21 << 16 >> 16;
+ $23 = $22<<1;
+ $12 = $23;
+ $24 = $8;
+ $25 = $24&65535;
+ $26 = $25 << 16 >> 16;
+ $27 = ($26*18)|0;
+ $13 = $27;
+ $28 = $12;
+ $29 = $5;
+ $30 = $29 << 16 >> 16;
+ $31 = (($28) + ($30))|0;
+ $10 = $31;
+ $11 = 0;
while(1) {
- $6 = $k;
- $7 = $nb_subfr$addr;
- $cmp14 = ($6|0)<($7|0);
- if (!($cmp14)) {
+ $32 = $11;
+ $33 = $9;
+ $34 = ($32|0)<($33|0);
+ if (!($34)) {
break;
}
- $8 = $lag;
- $9 = $Lag_CB_ptr;
- $10 = $k;
- $11 = $cbk_size;
- $mul16 = Math_imul($10, $11)|0;
- $12 = $contourIndex$addr;
- $conv17 = $12 << 24 >> 24;
- $add18 = (($mul16) + ($conv17))|0;
- $add$ptr = (($9) + ($add18)|0);
- $13 = HEAP8[$add$ptr>>0]|0;
- $conv19 = $13 << 24 >> 24;
- $add20 = (($8) + ($conv19))|0;
- $14 = $pitch_lags$addr;
- $15 = $k;
- $arrayidx = (($14) + ($15<<2)|0);
- HEAP32[$arrayidx>>2] = $add20;
- $16 = $min_lag;
- $17 = $max_lag;
- $cmp21 = ($16|0)>($17|0);
- $18 = $pitch_lags$addr;
- $19 = $k;
- $arrayidx23 = (($18) + ($19<<2)|0);
- $20 = HEAP32[$arrayidx23>>2]|0;
+ $35 = $10;
+ $36 = $15;
+ $37 = $11;
+ $38 = $14;
+ $39 = Math_imul($37, $38)|0;
+ $40 = $6;
+ $41 = $40 << 24 >> 24;
+ $42 = (($39) + ($41))|0;
+ $43 = (($36) + ($42)|0);
+ $44 = HEAP8[$43>>0]|0;
+ $45 = $44 << 24 >> 24;
+ $46 = (($35) + ($45))|0;
+ $47 = $7;
+ $48 = $11;
+ $49 = (($47) + ($48<<2)|0);
+ HEAP32[$49>>2] = $46;
+ $50 = $12;
+ $51 = $13;
+ $52 = ($50|0)>($51|0);
+ $53 = $7;
+ $54 = $11;
+ $55 = (($53) + ($54<<2)|0);
+ $56 = HEAP32[$55>>2]|0;
do {
- if ($cmp21) {
- $21 = $min_lag;
- $cmp24 = ($20|0)>($21|0);
- if ($cmp24) {
- $22 = $min_lag;
- $cond52 = $22;
+ if ($52) {
+ $57 = $12;
+ $58 = ($56|0)>($57|0);
+ if ($58) {
+ $59 = $12;
+ $88 = $59;
break;
}
- $23 = $pitch_lags$addr;
- $24 = $k;
- $arrayidx27 = (($23) + ($24<<2)|0);
- $25 = HEAP32[$arrayidx27>>2]|0;
- $26 = $max_lag;
- $cmp28 = ($25|0)<($26|0);
- if ($cmp28) {
- $27 = $max_lag;
- $cond52 = $27;
+ $60 = $7;
+ $61 = $11;
+ $62 = (($60) + ($61<<2)|0);
+ $63 = HEAP32[$62>>2]|0;
+ $64 = $13;
+ $65 = ($63|0)<($64|0);
+ if ($65) {
+ $66 = $13;
+ $88 = $66;
break;
} else {
- $28 = $pitch_lags$addr;
- $29 = $k;
- $arrayidx32 = (($28) + ($29<<2)|0);
- $30 = HEAP32[$arrayidx32>>2]|0;
- $cond52 = $30;
+ $67 = $7;
+ $68 = $11;
+ $69 = (($67) + ($68<<2)|0);
+ $70 = HEAP32[$69>>2]|0;
+ $88 = $70;
break;
}
} else {
- $31 = $max_lag;
- $cmp37 = ($20|0)>($31|0);
- if ($cmp37) {
- $32 = $max_lag;
- $cond52 = $32;
+ $71 = $13;
+ $72 = ($56|0)>($71|0);
+ if ($72) {
+ $73 = $13;
+ $88 = $73;
break;
}
- $33 = $pitch_lags$addr;
- $34 = $k;
- $arrayidx41 = (($33) + ($34<<2)|0);
- $35 = HEAP32[$arrayidx41>>2]|0;
- $36 = $min_lag;
- $cmp42 = ($35|0)<($36|0);
- if ($cmp42) {
- $37 = $min_lag;
- $cond52 = $37;
+ $74 = $7;
+ $75 = $11;
+ $76 = (($74) + ($75<<2)|0);
+ $77 = HEAP32[$76>>2]|0;
+ $78 = $12;
+ $79 = ($77|0)<($78|0);
+ if ($79) {
+ $80 = $12;
+ $88 = $80;
break;
} else {
- $38 = $pitch_lags$addr;
- $39 = $k;
- $arrayidx46 = (($38) + ($39<<2)|0);
- $40 = HEAP32[$arrayidx46>>2]|0;
- $cond52 = $40;
+ $81 = $7;
+ $82 = $11;
+ $83 = (($81) + ($82<<2)|0);
+ $84 = HEAP32[$83>>2]|0;
+ $88 = $84;
break;
}
}
} while(0);
- $41 = $pitch_lags$addr;
- $42 = $k;
- $arrayidx53 = (($41) + ($42<<2)|0);
- HEAP32[$arrayidx53>>2] = $cond52;
- $43 = $k;
- $inc = (($43) + 1)|0;
- $k = $inc;
+ $85 = $7;
+ $86 = $11;
+ $87 = (($85) + ($86<<2)|0);
+ HEAP32[$87>>2] = $88;
+ $89 = $11;
+ $90 = (($89) + 1)|0;
+ $11 = $90;
}
STACKTOP = sp;return;
}
-function _silk_inner_prod_aligned_scale($inVec1,$inVec2,$scale,$len) {
- $inVec1 = $inVec1|0;
- $inVec2 = $inVec2|0;
- $scale = $scale|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $arrayidx = 0, $arrayidx1 = 0, $cmp = 0, $conv = 0, $conv2 = 0, $i = 0, $inVec1$addr = 0, $inVec2$addr = 0;
- var $inc = 0, $len$addr = 0, $mul = 0, $scale$addr = 0, $shr = 0, $sum = 0, label = 0, sp = 0;
+function _silk_inner_prod_aligned_scale($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $inVec1$addr = $inVec1;
- $inVec2$addr = $inVec2;
- $scale$addr = $scale;
- $len$addr = $len;
- $sum = 0;
- $i = 0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = 0;
+ $8 = 0;
while(1) {
- $0 = $i;
- $1 = $len$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $sum;
- if (!($cmp)) {
+ $10 = $8;
+ $11 = $7;
+ $12 = ($10|0)<($11|0);
+ $13 = $9;
+ if (!($12)) {
break;
}
- $3 = $inVec1$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<1)|0);
- $5 = HEAP16[$arrayidx>>1]|0;
- $conv = $5 << 16 >> 16;
- $6 = $inVec2$addr;
- $7 = $i;
- $arrayidx1 = (($6) + ($7<<1)|0);
- $8 = HEAP16[$arrayidx1>>1]|0;
- $conv2 = $8 << 16 >> 16;
- $mul = Math_imul($conv, $conv2)|0;
- $9 = $scale$addr;
- $shr = $mul >> $9;
- $add = (($2) + ($shr))|0;
- $sum = $add;
- $10 = $i;
- $inc = (($10) + 1)|0;
- $i = $inc;
+ $14 = $4;
+ $15 = $8;
+ $16 = (($14) + ($15<<1)|0);
+ $17 = HEAP16[$16>>1]|0;
+ $18 = $17 << 16 >> 16;
+ $19 = $5;
+ $20 = $8;
+ $21 = (($19) + ($20<<1)|0);
+ $22 = HEAP16[$21>>1]|0;
+ $23 = $22 << 16 >> 16;
+ $24 = Math_imul($18, $23)|0;
+ $25 = $6;
+ $26 = $24 >> $25;
+ $27 = (($13) + ($26))|0;
+ $9 = $27;
+ $28 = $8;
+ $29 = (($28) + 1)|0;
+ $8 = $29;
}
- STACKTOP = sp;return ($2|0);
+ STACKTOP = sp;return ($13|0);
}
-function _silk_LPC_analysis_filter($out,$in,$B,$len,$d,$arch) {
- $out = $out|0;
- $in = $in|0;
- $B = $B|0;
- $len = $len|0;
- $d = $d|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $B$addr = 0, $add = 0, $add14 = 0, $add20 = 0, $add26 = 0, $add32 = 0, $add43 = 0, $add48 = 0, $add52 = 0, $add53 = 0, $add57 = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx15 = 0, $arrayidx17 = 0, $arrayidx21 = 0;
- var $arrayidx23 = 0, $arrayidx27 = 0, $arrayidx29 = 0, $arrayidx38 = 0, $arrayidx4 = 0, $arrayidx40 = 0, $arrayidx46 = 0, $arrayidx49 = 0, $arrayidx54 = 0, $arrayidx6 = 0, $arrayidx68 = 0, $arrayidx9 = 0, $cmp = 0, $cmp34 = 0, $cmp59 = 0, $cmp61 = 0, $cond = 0, $cond66 = 0, $conv = 0, $conv10 = 0;
- var $conv12 = 0, $conv16 = 0, $conv18 = 0, $conv22 = 0, $conv24 = 0, $conv28 = 0, $conv3 = 0, $conv30 = 0, $conv39 = 0, $conv41 = 0, $conv47 = 0, $conv5 = 0, $conv50 = 0, $conv55 = 0, $conv67 = 0, $conv7 = 0, $d$addr = 0, $in$addr = 0, $in_ptr = 0, $inc = 0;
- var $ix = 0, $j = 0, $len$addr = 0, $mul = 0, $mul13 = 0, $mul19 = 0, $mul25 = 0, $mul31 = 0, $mul42 = 0, $mul51 = 0, $mul71 = 0, $mul8 = 0, $out$addr = 0, $out32 = 0, $out32_Q12 = 0, $shl = 0, $shr = 0, $shr58 = 0, $sub = 0, $sub37 = 0;
- var $sub44 = 0, $sub45 = 0, $sub56 = 0, label = 0, sp = 0;
+function _silk_LPC_analysis_filter($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0;
+ var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
+ var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $out$addr = $out;
- $in$addr = $in;
- $B$addr = $B;
- $len$addr = $len;
- $d$addr = $d;
- $arch$addr = $arch;
- $0 = $d$addr;
- $ix = $0;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $17 = $10;
+ $13 = $17;
while(1) {
- $1 = $ix;
- $2 = $len$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
+ $18 = $13;
+ $19 = $9;
+ $20 = ($18|0)<($19|0);
+ if (!($20)) {
break;
}
- $3 = $in$addr;
- $4 = $ix;
- $sub = (($4) - 1)|0;
- $arrayidx = (($3) + ($sub<<1)|0);
- $in_ptr = $arrayidx;
- $5 = $in_ptr;
- $6 = HEAP16[$5>>1]|0;
- $conv = $6 << 16 >> 16;
- $7 = $B$addr;
- $8 = HEAP16[$7>>1]|0;
- $conv3 = $8 << 16 >> 16;
- $mul = Math_imul($conv, $conv3)|0;
- $out32_Q12 = $mul;
- $9 = $out32_Q12;
- $10 = $in_ptr;
- $arrayidx4 = ((($10)) + -2|0);
- $11 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $11 << 16 >> 16;
- $12 = $B$addr;
- $arrayidx6 = ((($12)) + 2|0);
- $13 = HEAP16[$arrayidx6>>1]|0;
- $conv7 = $13 << 16 >> 16;
- $mul8 = Math_imul($conv5, $conv7)|0;
- $add = (($9) + ($mul8))|0;
- $out32_Q12 = $add;
- $14 = $out32_Q12;
- $15 = $in_ptr;
- $arrayidx9 = ((($15)) + -4|0);
- $16 = HEAP16[$arrayidx9>>1]|0;
- $conv10 = $16 << 16 >> 16;
- $17 = $B$addr;
- $arrayidx11 = ((($17)) + 4|0);
- $18 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $18 << 16 >> 16;
- $mul13 = Math_imul($conv10, $conv12)|0;
- $add14 = (($14) + ($mul13))|0;
- $out32_Q12 = $add14;
- $19 = $out32_Q12;
- $20 = $in_ptr;
- $arrayidx15 = ((($20)) + -6|0);
- $21 = HEAP16[$arrayidx15>>1]|0;
- $conv16 = $21 << 16 >> 16;
- $22 = $B$addr;
- $arrayidx17 = ((($22)) + 6|0);
- $23 = HEAP16[$arrayidx17>>1]|0;
- $conv18 = $23 << 16 >> 16;
- $mul19 = Math_imul($conv16, $conv18)|0;
- $add20 = (($19) + ($mul19))|0;
- $out32_Q12 = $add20;
- $24 = $out32_Q12;
- $25 = $in_ptr;
- $arrayidx21 = ((($25)) + -8|0);
- $26 = HEAP16[$arrayidx21>>1]|0;
- $conv22 = $26 << 16 >> 16;
- $27 = $B$addr;
- $arrayidx23 = ((($27)) + 8|0);
- $28 = HEAP16[$arrayidx23>>1]|0;
- $conv24 = $28 << 16 >> 16;
- $mul25 = Math_imul($conv22, $conv24)|0;
- $add26 = (($24) + ($mul25))|0;
- $out32_Q12 = $add26;
- $29 = $out32_Q12;
- $30 = $in_ptr;
- $arrayidx27 = ((($30)) + -10|0);
- $31 = HEAP16[$arrayidx27>>1]|0;
- $conv28 = $31 << 16 >> 16;
- $32 = $B$addr;
- $arrayidx29 = ((($32)) + 10|0);
- $33 = HEAP16[$arrayidx29>>1]|0;
- $conv30 = $33 << 16 >> 16;
- $mul31 = Math_imul($conv28, $conv30)|0;
- $add32 = (($29) + ($mul31))|0;
- $out32_Q12 = $add32;
- $j = 6;
+ $21 = $7;
+ $22 = $13;
+ $23 = (($22) - 1)|0;
+ $24 = (($21) + ($23<<1)|0);
+ $16 = $24;
+ $25 = $16;
+ $26 = HEAP16[$25>>1]|0;
+ $27 = $26 << 16 >> 16;
+ $28 = $8;
+ $29 = HEAP16[$28>>1]|0;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($27, $30)|0;
+ $14 = $31;
+ $32 = $14;
+ $33 = $16;
+ $34 = ((($33)) + -2|0);
+ $35 = HEAP16[$34>>1]|0;
+ $36 = $35 << 16 >> 16;
+ $37 = $8;
+ $38 = ((($37)) + 2|0);
+ $39 = HEAP16[$38>>1]|0;
+ $40 = $39 << 16 >> 16;
+ $41 = Math_imul($36, $40)|0;
+ $42 = (($32) + ($41))|0;
+ $14 = $42;
+ $43 = $14;
+ $44 = $16;
+ $45 = ((($44)) + -4|0);
+ $46 = HEAP16[$45>>1]|0;
+ $47 = $46 << 16 >> 16;
+ $48 = $8;
+ $49 = ((($48)) + 4|0);
+ $50 = HEAP16[$49>>1]|0;
+ $51 = $50 << 16 >> 16;
+ $52 = Math_imul($47, $51)|0;
+ $53 = (($43) + ($52))|0;
+ $14 = $53;
+ $54 = $14;
+ $55 = $16;
+ $56 = ((($55)) + -6|0);
+ $57 = HEAP16[$56>>1]|0;
+ $58 = $57 << 16 >> 16;
+ $59 = $8;
+ $60 = ((($59)) + 6|0);
+ $61 = HEAP16[$60>>1]|0;
+ $62 = $61 << 16 >> 16;
+ $63 = Math_imul($58, $62)|0;
+ $64 = (($54) + ($63))|0;
+ $14 = $64;
+ $65 = $14;
+ $66 = $16;
+ $67 = ((($66)) + -8|0);
+ $68 = HEAP16[$67>>1]|0;
+ $69 = $68 << 16 >> 16;
+ $70 = $8;
+ $71 = ((($70)) + 8|0);
+ $72 = HEAP16[$71>>1]|0;
+ $73 = $72 << 16 >> 16;
+ $74 = Math_imul($69, $73)|0;
+ $75 = (($65) + ($74))|0;
+ $14 = $75;
+ $76 = $14;
+ $77 = $16;
+ $78 = ((($77)) + -10|0);
+ $79 = HEAP16[$78>>1]|0;
+ $80 = $79 << 16 >> 16;
+ $81 = $8;
+ $82 = ((($81)) + 10|0);
+ $83 = HEAP16[$82>>1]|0;
+ $84 = $83 << 16 >> 16;
+ $85 = Math_imul($80, $84)|0;
+ $86 = (($76) + ($85))|0;
+ $14 = $86;
+ $12 = 6;
while(1) {
- $34 = $j;
- $35 = $d$addr;
- $cmp34 = ($34|0)<($35|0);
- if (!($cmp34)) {
+ $87 = $12;
+ $88 = $10;
+ $89 = ($87|0)<($88|0);
+ if (!($89)) {
break;
}
- $36 = $out32_Q12;
- $37 = $in_ptr;
- $38 = $j;
- $sub37 = (0 - ($38))|0;
- $arrayidx38 = (($37) + ($sub37<<1)|0);
- $39 = HEAP16[$arrayidx38>>1]|0;
- $conv39 = $39 << 16 >> 16;
- $40 = $B$addr;
- $41 = $j;
- $arrayidx40 = (($40) + ($41<<1)|0);
- $42 = HEAP16[$arrayidx40>>1]|0;
- $conv41 = $42 << 16 >> 16;
- $mul42 = Math_imul($conv39, $conv41)|0;
- $add43 = (($36) + ($mul42))|0;
- $out32_Q12 = $add43;
- $43 = $out32_Q12;
- $44 = $in_ptr;
- $45 = $j;
- $sub44 = (0 - ($45))|0;
- $sub45 = (($sub44) - 1)|0;
- $arrayidx46 = (($44) + ($sub45<<1)|0);
- $46 = HEAP16[$arrayidx46>>1]|0;
- $conv47 = $46 << 16 >> 16;
- $47 = $B$addr;
- $48 = $j;
- $add48 = (($48) + 1)|0;
- $arrayidx49 = (($47) + ($add48<<1)|0);
- $49 = HEAP16[$arrayidx49>>1]|0;
- $conv50 = $49 << 16 >> 16;
- $mul51 = Math_imul($conv47, $conv50)|0;
- $add52 = (($43) + ($mul51))|0;
- $out32_Q12 = $add52;
- $50 = $j;
- $add53 = (($50) + 2)|0;
- $j = $add53;
+ $90 = $14;
+ $91 = $16;
+ $92 = $12;
+ $93 = (0 - ($92))|0;
+ $94 = (($91) + ($93<<1)|0);
+ $95 = HEAP16[$94>>1]|0;
+ $96 = $95 << 16 >> 16;
+ $97 = $8;
+ $98 = $12;
+ $99 = (($97) + ($98<<1)|0);
+ $100 = HEAP16[$99>>1]|0;
+ $101 = $100 << 16 >> 16;
+ $102 = Math_imul($96, $101)|0;
+ $103 = (($90) + ($102))|0;
+ $14 = $103;
+ $104 = $14;
+ $105 = $16;
+ $106 = $12;
+ $107 = (0 - ($106))|0;
+ $108 = (($107) - 1)|0;
+ $109 = (($105) + ($108<<1)|0);
+ $110 = HEAP16[$109>>1]|0;
+ $111 = $110 << 16 >> 16;
+ $112 = $8;
+ $113 = $12;
+ $114 = (($113) + 1)|0;
+ $115 = (($112) + ($114<<1)|0);
+ $116 = HEAP16[$115>>1]|0;
+ $117 = $116 << 16 >> 16;
+ $118 = Math_imul($111, $117)|0;
+ $119 = (($104) + ($118))|0;
+ $14 = $119;
+ $120 = $12;
+ $121 = (($120) + 2)|0;
+ $12 = $121;
}
- $51 = $in_ptr;
- $arrayidx54 = ((($51)) + 2|0);
- $52 = HEAP16[$arrayidx54>>1]|0;
- $conv55 = $52 << 16 >> 16;
- $shl = $conv55 << 12;
- $53 = $out32_Q12;
- $sub56 = (($shl) - ($53))|0;
- $out32_Q12 = $sub56;
- $54 = $out32_Q12;
- $shr = $54 >> 11;
- $add57 = (($shr) + 1)|0;
- $shr58 = $add57 >> 1;
- $out32 = $shr58;
- $55 = $out32;
- $cmp59 = ($55|0)>(32767);
- if ($cmp59) {
- $cond66 = 32767;
+ $122 = $16;
+ $123 = ((($122)) + 2|0);
+ $124 = HEAP16[$123>>1]|0;
+ $125 = $124 << 16 >> 16;
+ $126 = $125 << 12;
+ $127 = $14;
+ $128 = (($126) - ($127))|0;
+ $14 = $128;
+ $129 = $14;
+ $130 = $129 >> 11;
+ $131 = (($130) + 1)|0;
+ $132 = $131 >> 1;
+ $15 = $132;
+ $133 = $15;
+ $134 = ($133|0)>(32767);
+ if ($134) {
+ $140 = 32767;
} else {
- $56 = $out32;
- $cmp61 = ($56|0)<(-32768);
- $57 = $out32;
- $cond = $cmp61 ? -32768 : $57;
- $cond66 = $cond;
+ $135 = $15;
+ $136 = ($135|0)<(-32768);
+ $137 = $15;
+ $138 = $136 ? -32768 : $137;
+ $140 = $138;
}
- $conv67 = $cond66&65535;
- $58 = $out$addr;
- $59 = $ix;
- $arrayidx68 = (($58) + ($59<<1)|0);
- HEAP16[$arrayidx68>>1] = $conv67;
- $60 = $ix;
- $inc = (($60) + 1)|0;
- $ix = $inc;
+ $139 = $140&65535;
+ $141 = $6;
+ $142 = $13;
+ $143 = (($141) + ($142<<1)|0);
+ HEAP16[$143>>1] = $139;
+ $144 = $13;
+ $145 = (($144) + 1)|0;
+ $13 = $145;
}
- $61 = $out$addr;
- $62 = $d$addr;
- $mul71 = $62<<1;
- _memset(($61|0),0,($mul71|0))|0;
+ $146 = $6;
+ $147 = $10;
+ $148 = $147<<1;
+ _memset(($146|0),0,($148|0))|0;
STACKTOP = sp;return;
}
-function _silk_LPC_inverse_pred_gain($A_Q12,$order) {
- $A_Q12 = $A_Q12|0;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $A_Q12$addr = 0, $Anew_QA = 0, $Atmp_QA = 0, $DC_resp = 0;
- var $add = 0, $and = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx2 = 0, $arrayidx4 = 0, $call = 0, $cmp = 0, $cmp5 = 0, $conv = 0, $conv3 = 0, $inc = 0, $k = 0, $order$addr = 0, $retval = 0, $shl = 0, label = 0, sp = 0;
+function _silk_LPC_inverse_pred_gain($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 160|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(160|0);
- $Atmp_QA = sp + 8|0;
- $A_Q12$addr = $A_Q12;
- $order$addr = $order;
- $DC_resp = 0;
- $0 = $order$addr;
- $and = $0 & 1;
- $arrayidx = (($Atmp_QA) + ($and<<6)|0);
- $Anew_QA = $arrayidx;
- $k = 0;
+ $6 = sp + 8|0;
+ $3 = $0;
+ $4 = $1;
+ $8 = 0;
+ $9 = $4;
+ $10 = $9 & 1;
+ $11 = (($6) + ($10<<6)|0);
+ $7 = $11;
+ $5 = 0;
while(1) {
- $1 = $k;
- $2 = $order$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
+ $12 = $5;
+ $13 = $4;
+ $14 = ($12|0)<($13|0);
+ if (!($14)) {
break;
}
- $3 = $A_Q12$addr;
- $4 = $k;
- $arrayidx1 = (($3) + ($4<<1)|0);
- $5 = HEAP16[$arrayidx1>>1]|0;
- $conv = $5 << 16 >> 16;
- $6 = $DC_resp;
- $add = (($6) + ($conv))|0;
- $DC_resp = $add;
- $7 = $A_Q12$addr;
- $8 = $k;
- $arrayidx2 = (($7) + ($8<<1)|0);
- $9 = HEAP16[$arrayidx2>>1]|0;
- $conv3 = $9 << 16 >> 16;
- $shl = $conv3 << 12;
- $10 = $Anew_QA;
- $11 = $k;
- $arrayidx4 = (($10) + ($11<<2)|0);
- HEAP32[$arrayidx4>>2] = $shl;
- $12 = $k;
- $inc = (($12) + 1)|0;
- $k = $inc;
+ $15 = $3;
+ $16 = $5;
+ $17 = (($15) + ($16<<1)|0);
+ $18 = HEAP16[$17>>1]|0;
+ $19 = $18 << 16 >> 16;
+ $20 = $8;
+ $21 = (($20) + ($19))|0;
+ $8 = $21;
+ $22 = $3;
+ $23 = $5;
+ $24 = (($22) + ($23<<1)|0);
+ $25 = HEAP16[$24>>1]|0;
+ $26 = $25 << 16 >> 16;
+ $27 = $26 << 12;
+ $28 = $7;
+ $29 = $5;
+ $30 = (($28) + ($29<<2)|0);
+ HEAP32[$30>>2] = $27;
+ $31 = $5;
+ $32 = (($31) + 1)|0;
+ $5 = $32;
}
- $13 = $DC_resp;
- $cmp5 = ($13|0)>=(4096);
- if ($cmp5) {
- $retval = 0;
- $15 = $retval;
- STACKTOP = sp;return ($15|0);
+ $33 = $8;
+ $34 = ($33|0)>=(4096);
+ if ($34) {
+ $2 = 0;
+ $37 = $2;
+ STACKTOP = sp;return ($37|0);
} else {
- $14 = $order$addr;
- $call = (_LPC_inverse_pred_gain_QA($Atmp_QA,$14)|0);
- $retval = $call;
- $15 = $retval;
- STACKTOP = sp;return ($15|0);
+ $35 = $4;
+ $36 = (_LPC_inverse_pred_gain_QA($6,$35)|0);
+ $2 = $36;
+ $37 = $2;
+ STACKTOP = sp;return ($37|0);
}
return (0)|0;
}
-function _LPC_inverse_pred_gain_QA($A_QA,$order) {
- $A_QA = $A_QA|0;
- $order = $order|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0;
- var $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
- var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
- var $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0;
- var $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0;
- var $96 = 0, $97 = 0, $98 = 0, $99 = 0, $A_QA$addr = 0, $Anew_QA = 0, $Aold_QA = 0, $add = 0, $and = 0, $and21 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx22 = 0, $arrayidx28 = 0, $arrayidx3 = 0, $arrayidx31 = 0, $arrayidx5 = 0, $arrayidx63 = 0, $call = 0, $call14 = 0;
- var $cmp = 0, $cmp10 = 0, $cmp2 = 0, $cmp25 = 0, $cmp4 = 0, $cmp40 = 0, $cmp67 = 0, $cmp71 = 0, $cond = 0, $dec = 0, $inc = 0, $invGain_Q30 = 0, $k = 0, $mult2Q = 0, $n = 0, $order$addr = 0, $rc_Q31 = 0, $rc_mult1_Q30 = 0, $rc_mult2 = 0, $retval = 0;
- var $shl = 0, $shl20 = 0, $shl76 = 0, $shl89 = 0, $sub = 0, $sub12 = 0, $sub13 = 0, $sub29 = 0, $sub30 = 0, $sub39 = 0, $sub56 = 0, $sub6 = 0, $sub77 = 0, $sub83 = 0, $sub9 = 0, $tmp_QA = 0, label = 0, sp = 0;
+function _LPC_inverse_pred_gain_QA($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $A_QA$addr = $A_QA;
- $order$addr = $order;
- $0 = $A_QA$addr;
- $1 = $order$addr;
- $and = $1 & 1;
- $arrayidx = (($0) + ($and<<6)|0);
- $Anew_QA = $arrayidx;
- $invGain_Q30 = 1073741824;
- $2 = $order$addr;
- $sub = (($2) - 1)|0;
- $k = $sub;
+ $3 = $0;
+ $4 = $1;
+ $15 = $3;
+ $16 = $4;
+ $17 = $16 & 1;
+ $18 = (($15) + ($17<<6)|0);
+ $14 = $18;
+ $8 = 1073741824;
+ $19 = $4;
+ $20 = (($19) - 1)|0;
+ $5 = $20;
while(1) {
- $3 = $k;
- $cmp = ($3|0)>(0);
- $4 = $Anew_QA;
- if (!($cmp)) {
+ $21 = $5;
+ $22 = ($21|0)>(0);
+ $23 = $14;
+ if (!($22)) {
break;
}
- $5 = $k;
- $arrayidx1 = (($4) + ($5<<2)|0);
- $6 = HEAP32[$arrayidx1>>2]|0;
- $cmp2 = ($6|0)>(16773022);
- if ($cmp2) {
+ $24 = $5;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = ($26|0)>(16773022);
+ if ($27) {
label = 5;
break;
}
- $7 = $Anew_QA;
- $8 = $k;
- $arrayidx3 = (($7) + ($8<<2)|0);
- $9 = HEAP32[$arrayidx3>>2]|0;
- $cmp4 = ($9|0)<(-16773022);
- if ($cmp4) {
+ $28 = $14;
+ $29 = $5;
+ $30 = (($28) + ($29<<2)|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = ($31|0)<(-16773022);
+ if ($32) {
label = 5;
break;
}
- $10 = $Anew_QA;
- $11 = $k;
- $arrayidx5 = (($10) + ($11<<2)|0);
- $12 = HEAP32[$arrayidx5>>2]|0;
- $shl = $12 << 7;
- $sub6 = (0 - ($shl))|0;
- $rc_Q31 = $sub6;
- $13 = $rc_Q31;
- $14 = ($13|0)<(0);
- $15 = $14 << 31 >> 31;
- $16 = $rc_Q31;
- $17 = ($16|0)<(0);
- $18 = $17 << 31 >> 31;
- $19 = (___muldi3(($13|0),($15|0),($16|0),($18|0))|0);
- $20 = tempRet0;
- $21 = (_bitshift64Ashr(($19|0),($20|0),32)|0);
- $22 = tempRet0;
- $sub9 = (1073741824 - ($21))|0;
- $rc_mult1_Q30 = $sub9;
- $23 = $rc_mult1_Q30;
- $cmp10 = ($23|0)>(0);
- $24 = $rc_mult1_Q30;
- $sub12 = (0 - ($24))|0;
- $cond = $cmp10 ? $24 : $sub12;
- $call = (_silk_CLZ32_484($cond)|0);
- $sub13 = (32 - ($call))|0;
- $mult2Q = $sub13;
- $25 = $rc_mult1_Q30;
- $26 = $mult2Q;
- $add = (($26) + 30)|0;
- $call14 = (_silk_INVERSE32_varQ_485($25,$add)|0);
- $rc_mult2 = $call14;
- $27 = $invGain_Q30;
- $28 = ($27|0)<(0);
- $29 = $28 << 31 >> 31;
- $30 = $rc_mult1_Q30;
- $31 = ($30|0)<(0);
- $32 = $31 << 31 >> 31;
- $33 = (___muldi3(($27|0),($29|0),($30|0),($32|0))|0);
- $34 = tempRet0;
- $35 = (_bitshift64Ashr(($33|0),($34|0),32)|0);
- $36 = tempRet0;
- $shl20 = $35 << 2;
- $invGain_Q30 = $shl20;
- $37 = $Anew_QA;
- $Aold_QA = $37;
- $38 = $A_QA$addr;
- $39 = $k;
- $and21 = $39 & 1;
- $arrayidx22 = (($38) + ($and21<<6)|0);
- $Anew_QA = $arrayidx22;
- $n = 0;
+ $33 = $14;
+ $34 = $5;
+ $35 = (($33) + ($34<<2)|0);
+ $36 = HEAP32[$35>>2]|0;
+ $37 = $36 << 7;
+ $38 = (0 - ($37))|0;
+ $9 = $38;
+ $39 = $9;
+ $40 = ($39|0)<(0);
+ $41 = $40 << 31 >> 31;
+ $42 = $9;
+ $43 = ($42|0)<(0);
+ $44 = $43 << 31 >> 31;
+ $45 = (___muldi3(($39|0),($41|0),($42|0),($44|0))|0);
+ $46 = tempRet0;
+ $47 = (_bitshift64Ashr(($45|0),($46|0),32)|0);
+ $48 = tempRet0;
+ $49 = (1073741824 - ($47))|0;
+ $10 = $49;
+ $50 = $10;
+ $51 = ($50|0)>(0);
+ $52 = $10;
+ $53 = (0 - ($52))|0;
+ $54 = $51 ? $52 : $53;
+ $55 = (_silk_CLZ32_484($54)|0);
+ $56 = (32 - ($55))|0;
+ $7 = $56;
+ $57 = $10;
+ $58 = $7;
+ $59 = (($58) + 30)|0;
+ $60 = (_silk_INVERSE32_varQ_485($57,$59)|0);
+ $11 = $60;
+ $61 = $8;
+ $62 = ($61|0)<(0);
+ $63 = $62 << 31 >> 31;
+ $64 = $10;
+ $65 = ($64|0)<(0);
+ $66 = $65 << 31 >> 31;
+ $67 = (___muldi3(($61|0),($63|0),($64|0),($66|0))|0);
+ $68 = tempRet0;
+ $69 = (_bitshift64Ashr(($67|0),($68|0),32)|0);
+ $70 = tempRet0;
+ $71 = $69 << 2;
+ $8 = $71;
+ $72 = $14;
+ $13 = $72;
+ $73 = $3;
+ $74 = $5;
+ $75 = $74 & 1;
+ $76 = (($73) + ($75<<6)|0);
+ $14 = $76;
+ $6 = 0;
while(1) {
- $40 = $n;
- $41 = $k;
- $cmp25 = ($40|0)<($41|0);
- if (!($cmp25)) {
+ $77 = $6;
+ $78 = $5;
+ $79 = ($77|0)<($78|0);
+ if (!($79)) {
break;
}
- $42 = $Aold_QA;
- $43 = $n;
- $arrayidx28 = (($42) + ($43<<2)|0);
- $44 = HEAP32[$arrayidx28>>2]|0;
- $45 = $Aold_QA;
- $46 = $k;
- $47 = $n;
- $sub29 = (($46) - ($47))|0;
- $sub30 = (($sub29) - 1)|0;
- $arrayidx31 = (($45) + ($sub30<<2)|0);
- $48 = HEAP32[$arrayidx31>>2]|0;
- $49 = ($48|0)<(0);
- $50 = $49 << 31 >> 31;
- $51 = $rc_Q31;
- $52 = ($51|0)<(0);
- $53 = $52 << 31 >> 31;
- $54 = (___muldi3(($48|0),($50|0),($51|0),($53|0))|0);
- $55 = tempRet0;
- $56 = (_bitshift64Ashr(($54|0),($55|0),30)|0);
- $57 = tempRet0;
- $58 = (_i64Add(($56|0),($57|0),1,0)|0);
- $59 = tempRet0;
- $60 = (_bitshift64Ashr(($58|0),($59|0),1)|0);
- $61 = tempRet0;
- $sub39 = (($44) - ($60))|0;
- $tmp_QA = $sub39;
- $62 = $mult2Q;
- $cmp40 = ($62|0)==(1);
- $63 = $tmp_QA;
- $64 = ($63|0)<(0);
- $65 = $64 << 31 >> 31;
- $66 = $rc_mult2;
- $67 = ($66|0)<(0);
- $68 = $67 << 31 >> 31;
- $69 = (___muldi3(($63|0),($65|0),($66|0),($68|0))|0);
- $70 = tempRet0;
- if ($cmp40) {
- $71 = (_bitshift64Ashr(($69|0),($70|0),1)|0);
- $72 = tempRet0;
- $73 = $tmp_QA;
- $74 = ($73|0)<(0);
- $75 = $74 << 31 >> 31;
- $76 = $rc_mult2;
- $77 = ($76|0)<(0);
- $78 = $77 << 31 >> 31;
- $79 = (___muldi3(($73|0),($75|0),($76|0),($78|0))|0);
- $80 = tempRet0;
- $81 = $79 & 1;
- $82 = (_i64Add(($71|0),($72|0),($81|0),0)|0);
- $83 = tempRet0;
- $123 = $83;$93 = $82;
+ $80 = $13;
+ $81 = $6;
+ $82 = (($80) + ($81<<2)|0);
+ $83 = HEAP32[$82>>2]|0;
+ $84 = $13;
+ $85 = $5;
+ $86 = $6;
+ $87 = (($85) - ($86))|0;
+ $88 = (($87) - 1)|0;
+ $89 = (($84) + ($88<<2)|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = ($90|0)<(0);
+ $92 = $91 << 31 >> 31;
+ $93 = $9;
+ $94 = ($93|0)<(0);
+ $95 = $94 << 31 >> 31;
+ $96 = (___muldi3(($90|0),($92|0),($93|0),($95|0))|0);
+ $97 = tempRet0;
+ $98 = (_bitshift64Ashr(($96|0),($97|0),30)|0);
+ $99 = tempRet0;
+ $100 = (_i64Add(($98|0),($99|0),1,0)|0);
+ $101 = tempRet0;
+ $102 = (_bitshift64Ashr(($100|0),($101|0),1)|0);
+ $103 = tempRet0;
+ $104 = (($83) - ($102))|0;
+ $12 = $104;
+ $105 = $7;
+ $106 = ($105|0)==(1);
+ $107 = $12;
+ $108 = ($107|0)<(0);
+ $109 = $108 << 31 >> 31;
+ $110 = $11;
+ $111 = ($110|0)<(0);
+ $112 = $111 << 31 >> 31;
+ $113 = (___muldi3(($107|0),($109|0),($110|0),($112|0))|0);
+ $114 = tempRet0;
+ if ($106) {
+ $115 = (_bitshift64Ashr(($113|0),($114|0),1)|0);
+ $116 = tempRet0;
+ $117 = $12;
+ $118 = ($117|0)<(0);
+ $119 = $118 << 31 >> 31;
+ $120 = $11;
+ $121 = ($120|0)<(0);
+ $122 = $121 << 31 >> 31;
+ $123 = (___muldi3(($117|0),($119|0),($120|0),($122|0))|0);
+ $124 = tempRet0;
+ $125 = $123 & 1;
+ $126 = (_i64Add(($115|0),($116|0),($125|0),0)|0);
+ $127 = tempRet0;
+ $139 = $126;$177 = $127;
} else {
- $84 = $mult2Q;
- $sub56 = (($84) - 1)|0;
- $85 = (_bitshift64Ashr(($69|0),($70|0),($sub56|0))|0);
- $86 = tempRet0;
- $87 = (_i64Add(($85|0),($86|0),1,0)|0);
- $88 = tempRet0;
- $89 = (_bitshift64Ashr(($87|0),($88|0),1)|0);
- $90 = tempRet0;
- $123 = $90;$93 = $89;
+ $128 = $7;
+ $129 = (($128) - 1)|0;
+ $130 = (_bitshift64Ashr(($113|0),($114|0),($129|0))|0);
+ $131 = tempRet0;
+ $132 = (_i64Add(($130|0),($131|0),1,0)|0);
+ $133 = tempRet0;
+ $134 = (_bitshift64Ashr(($132|0),($133|0),1)|0);
+ $135 = tempRet0;
+ $139 = $134;$177 = $135;
}
- $91 = $Anew_QA;
- $92 = $n;
- $arrayidx63 = (($91) + ($92<<2)|0);
- HEAP32[$arrayidx63>>2] = $93;
- $94 = $n;
- $inc = (($94) + 1)|0;
- $n = $inc;
+ $136 = $14;
+ $137 = $6;
+ $138 = (($136) + ($137<<2)|0);
+ HEAP32[$138>>2] = $139;
+ $140 = $6;
+ $141 = (($140) + 1)|0;
+ $6 = $141;
}
- $95 = $k;
- $dec = (($95) + -1)|0;
- $k = $dec;
+ $142 = $5;
+ $143 = (($142) + -1)|0;
+ $5 = $143;
}
if ((label|0) == 5) {
- $retval = 0;
- $122 = $retval;
- STACKTOP = sp;return ($122|0);
+ $2 = 0;
+ $176 = $2;
+ STACKTOP = sp;return ($176|0);
}
- $96 = HEAP32[$4>>2]|0;
- $cmp67 = ($96|0)>(16773022);
- if (!($cmp67)) {
- $97 = $Anew_QA;
- $98 = HEAP32[$97>>2]|0;
- $cmp71 = ($98|0)<(-16773022);
- if (!($cmp71)) {
- $99 = $Anew_QA;
- $100 = HEAP32[$99>>2]|0;
- $shl76 = $100 << 7;
- $sub77 = (0 - ($shl76))|0;
- $rc_Q31 = $sub77;
- $101 = $rc_Q31;
- $102 = ($101|0)<(0);
- $103 = $102 << 31 >> 31;
- $104 = $rc_Q31;
- $105 = ($104|0)<(0);
- $106 = $105 << 31 >> 31;
- $107 = (___muldi3(($101|0),($103|0),($104|0),($106|0))|0);
- $108 = tempRet0;
- $109 = (_bitshift64Ashr(($107|0),($108|0),32)|0);
- $110 = tempRet0;
- $sub83 = (1073741824 - ($109))|0;
- $rc_mult1_Q30 = $sub83;
- $111 = $invGain_Q30;
- $112 = ($111|0)<(0);
- $113 = $112 << 31 >> 31;
- $114 = $rc_mult1_Q30;
- $115 = ($114|0)<(0);
- $116 = $115 << 31 >> 31;
- $117 = (___muldi3(($111|0),($113|0),($114|0),($116|0))|0);
- $118 = tempRet0;
- $119 = (_bitshift64Ashr(($117|0),($118|0),32)|0);
- $120 = tempRet0;
- $shl89 = $119 << 2;
- $invGain_Q30 = $shl89;
- $121 = $invGain_Q30;
- $retval = $121;
- $122 = $retval;
- STACKTOP = sp;return ($122|0);
+ $144 = HEAP32[$23>>2]|0;
+ $145 = ($144|0)>(16773022);
+ if (!($145)) {
+ $146 = $14;
+ $147 = HEAP32[$146>>2]|0;
+ $148 = ($147|0)<(-16773022);
+ if (!($148)) {
+ $149 = $14;
+ $150 = HEAP32[$149>>2]|0;
+ $151 = $150 << 7;
+ $152 = (0 - ($151))|0;
+ $9 = $152;
+ $153 = $9;
+ $154 = ($153|0)<(0);
+ $155 = $154 << 31 >> 31;
+ $156 = $9;
+ $157 = ($156|0)<(0);
+ $158 = $157 << 31 >> 31;
+ $159 = (___muldi3(($153|0),($155|0),($156|0),($158|0))|0);
+ $160 = tempRet0;
+ $161 = (_bitshift64Ashr(($159|0),($160|0),32)|0);
+ $162 = tempRet0;
+ $163 = (1073741824 - ($161))|0;
+ $10 = $163;
+ $164 = $8;
+ $165 = ($164|0)<(0);
+ $166 = $165 << 31 >> 31;
+ $167 = $10;
+ $168 = ($167|0)<(0);
+ $169 = $168 << 31 >> 31;
+ $170 = (___muldi3(($164|0),($166|0),($167|0),($169|0))|0);
+ $171 = tempRet0;
+ $172 = (_bitshift64Ashr(($170|0),($171|0),32)|0);
+ $173 = tempRet0;
+ $174 = $172 << 2;
+ $8 = $174;
+ $175 = $8;
+ $2 = $175;
+ $176 = $2;
+ STACKTOP = sp;return ($176|0);
}
}
- $retval = 0;
- $122 = $retval;
- STACKTOP = sp;return ($122|0);
+ $2 = 0;
+ $176 = $2;
+ STACKTOP = sp;return ($176|0);
}
-function _silk_CLZ32_484($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
+function _silk_CLZ32_484($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
}
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
+ STACKTOP = sp;return ($8|0);
}
-function _silk_INVERSE32_varQ_485($b32,$Qres) {
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $add = 0;
- var $add20 = 0, $add21 = 0, $add23 = 0, $add26 = 0, $and = 0, $and15 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $cmp = 0, $cmp29 = 0, $cmp35 = 0, $cmp40 = 0, $cmp48 = 0, $cmp61 = 0, $cmp69 = 0, $cmp83 = 0, $cond = 0;
- var $cond80 = 0, $conv = 0, $conv12 = 0, $conv13 = 0, $conv16 = 0, $conv17 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $div = 0, $err_Q32 = 0, $lshift = 0, $mul = 0, $mul14 = 0, $mul18 = 0, $mul25 = 0, $mul7 = 0, $result = 0, $retval = 0, $shl = 0;
- var $shl10 = 0, $shl2 = 0, $shl82 = 0, $shr = 0, $shr11 = 0, $shr19 = 0, $shr22 = 0, $shr24 = 0, $shr3 = 0, $shr32 = 0, $shr34 = 0, $shr39 = 0, $shr44 = 0, $shr47 = 0, $shr52 = 0, $shr60 = 0, $shr65 = 0, $shr68 = 0, $shr73 = 0, $shr8 = 0;
- var $shr86 = 0, $sub = 0, $sub1 = 0, $sub27 = 0, $sub28 = 0, $sub31 = 0, $sub33 = 0, $sub38 = 0, $sub43 = 0, $sub46 = 0, $sub51 = 0, $sub64 = 0, $sub67 = 0, $sub72 = 0, $sub81 = 0, $sub9 = 0, label = 0, sp = 0;
+function _silk_INVERSE32_varQ_485($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $b32$addr;
- $cmp = ($0|0)>(0);
- $1 = $b32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_484($cond)|0);
- $sub1 = (($call) - 1)|0;
- $b_headrm = $sub1;
- $2 = $b32$addr;
- $3 = $b_headrm;
- $shl = $2 << $3;
- $b32_nrm = $shl;
- $4 = $b32_nrm;
- $shr = $4 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $5 = $b32_inv;
- $shl2 = $5 << 16;
- $result = $shl2;
- $6 = $b32_nrm;
- $shr3 = $6 >> 16;
- $7 = $b32_inv;
- $conv = $7&65535;
- $conv4 = $conv << 16 >> 16;
- $mul = Math_imul($shr3, $conv4)|0;
- $8 = $b32_nrm;
- $and = $8 & 65535;
- $9 = $b32_inv;
- $conv5 = $9&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = Math_imul($and, $conv6)|0;
- $shr8 = $mul7 >> 16;
- $add = (($mul) + ($shr8))|0;
- $sub9 = (536870912 - ($add))|0;
- $shl10 = $sub9 << 3;
- $err_Q32 = $shl10;
- $10 = $result;
- $11 = $err_Q32;
- $shr11 = $11 >> 16;
- $12 = $b32_inv;
- $conv12 = $12&65535;
- $conv13 = $conv12 << 16 >> 16;
- $mul14 = Math_imul($shr11, $conv13)|0;
- $13 = $err_Q32;
- $and15 = $13 & 65535;
- $14 = $b32_inv;
- $conv16 = $14&65535;
- $conv17 = $conv16 << 16 >> 16;
- $mul18 = Math_imul($and15, $conv17)|0;
- $shr19 = $mul18 >> 16;
- $add20 = (($mul14) + ($shr19))|0;
- $add21 = (($10) + ($add20))|0;
- $15 = $err_Q32;
- $16 = $b32_inv;
- $shr22 = $16 >> 15;
- $add23 = (($shr22) + 1)|0;
- $shr24 = $add23 >> 1;
- $mul25 = Math_imul($15, $shr24)|0;
- $add26 = (($add21) + ($mul25))|0;
- $result = $add26;
- $17 = $b_headrm;
- $sub27 = (61 - ($17))|0;
- $18 = $Qres$addr;
- $sub28 = (($sub27) - ($18))|0;
- $lshift = $sub28;
- $19 = $lshift;
- $cmp29 = ($19|0)<=(0);
- $20 = $lshift;
- if (!($cmp29)) {
- $cmp83 = ($20|0)<(32);
- if ($cmp83) {
- $35 = $result;
- $36 = $lshift;
- $shr86 = $35 >> $36;
- $retval = $shr86;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
+ $3 = $0;
+ $4 = $1;
+ $11 = $3;
+ $12 = ($11|0)>(0);
+ $13 = $3;
+ $14 = (0 - ($13))|0;
+ $15 = $12 ? $13 : $14;
+ $16 = (_silk_CLZ32_484($15)|0);
+ $17 = (($16) - 1)|0;
+ $5 = $17;
+ $18 = $3;
+ $19 = $5;
+ $20 = $18 << $19;
+ $8 = $20;
+ $21 = $8;
+ $22 = $21 >> 16;
+ $23 = (536870911 / ($22|0))&-1;
+ $7 = $23;
+ $24 = $7;
+ $25 = $24 << 16;
+ $10 = $25;
+ $26 = $8;
+ $27 = $26 >> 16;
+ $28 = $7;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($27, $30)|0;
+ $32 = $8;
+ $33 = $32 & 65535;
+ $34 = $7;
+ $35 = $34&65535;
+ $36 = $35 << 16 >> 16;
+ $37 = Math_imul($33, $36)|0;
+ $38 = $37 >> 16;
+ $39 = (($31) + ($38))|0;
+ $40 = (536870912 - ($39))|0;
+ $41 = $40 << 3;
+ $9 = $41;
+ $42 = $10;
+ $43 = $9;
+ $44 = $43 >> 16;
+ $45 = $7;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $9;
+ $50 = $49 & 65535;
+ $51 = $7;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($50, $53)|0;
+ $55 = $54 >> 16;
+ $56 = (($48) + ($55))|0;
+ $57 = (($42) + ($56))|0;
+ $58 = $9;
+ $59 = $7;
+ $60 = $59 >> 15;
+ $61 = (($60) + 1)|0;
+ $62 = $61 >> 1;
+ $63 = Math_imul($58, $62)|0;
+ $64 = (($57) + ($63))|0;
+ $10 = $64;
+ $65 = $5;
+ $66 = (61 - ($65))|0;
+ $67 = $4;
+ $68 = (($66) - ($67))|0;
+ $6 = $68;
+ $69 = $6;
+ $70 = ($69|0)<=(0);
+ $71 = $6;
+ if (!($70)) {
+ $113 = ($71|0)<(32);
+ if ($113) {
+ $114 = $10;
+ $115 = $6;
+ $116 = $114 >> $115;
+ $2 = $116;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
} else {
- $retval = 0;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
+ $2 = 0;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
}
}
- $sub31 = (0 - ($20))|0;
- $shr32 = -2147483648 >> $sub31;
- $21 = $lshift;
- $sub33 = (0 - ($21))|0;
- $shr34 = 2147483647 >> $sub33;
- $cmp35 = ($shr32|0)>($shr34|0);
- $22 = $result;
- $23 = $lshift;
- $sub38 = (0 - ($23))|0;
+ $72 = (0 - ($71))|0;
+ $73 = -2147483648 >> $72;
+ $74 = $6;
+ $75 = (0 - ($74))|0;
+ $76 = 2147483647 >> $75;
+ $77 = ($73|0)>($76|0);
+ $78 = $10;
+ $79 = $6;
+ $80 = (0 - ($79))|0;
do {
- if ($cmp35) {
- $shr39 = -2147483648 >> $sub38;
- $cmp40 = ($22|0)>($shr39|0);
- if ($cmp40) {
- $24 = $lshift;
- $sub43 = (0 - ($24))|0;
- $shr44 = -2147483648 >> $sub43;
- $cond80 = $shr44;
+ if ($77) {
+ $81 = -2147483648 >> $80;
+ $82 = ($78|0)>($81|0);
+ if ($82) {
+ $83 = $6;
+ $84 = (0 - ($83))|0;
+ $85 = -2147483648 >> $84;
+ $112 = $85;
break;
}
- $25 = $result;
- $26 = $lshift;
- $sub46 = (0 - ($26))|0;
- $shr47 = 2147483647 >> $sub46;
- $cmp48 = ($25|0)<($shr47|0);
- if ($cmp48) {
- $27 = $lshift;
- $sub51 = (0 - ($27))|0;
- $shr52 = 2147483647 >> $sub51;
- $cond80 = $shr52;
+ $86 = $10;
+ $87 = $6;
+ $88 = (0 - ($87))|0;
+ $89 = 2147483647 >> $88;
+ $90 = ($86|0)<($89|0);
+ if ($90) {
+ $91 = $6;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $112 = $93;
break;
} else {
- $28 = $result;
- $cond80 = $28;
+ $94 = $10;
+ $112 = $94;
break;
}
} else {
- $shr60 = 2147483647 >> $sub38;
- $cmp61 = ($22|0)>($shr60|0);
- if ($cmp61) {
- $29 = $lshift;
- $sub64 = (0 - ($29))|0;
- $shr65 = 2147483647 >> $sub64;
- $cond80 = $shr65;
+ $95 = 2147483647 >> $80;
+ $96 = ($78|0)>($95|0);
+ if ($96) {
+ $97 = $6;
+ $98 = (0 - ($97))|0;
+ $99 = 2147483647 >> $98;
+ $112 = $99;
break;
}
- $30 = $result;
- $31 = $lshift;
- $sub67 = (0 - ($31))|0;
- $shr68 = -2147483648 >> $sub67;
- $cmp69 = ($30|0)<($shr68|0);
- if ($cmp69) {
- $32 = $lshift;
- $sub72 = (0 - ($32))|0;
- $shr73 = -2147483648 >> $sub72;
- $cond80 = $shr73;
+ $100 = $10;
+ $101 = $6;
+ $102 = (0 - ($101))|0;
+ $103 = -2147483648 >> $102;
+ $104 = ($100|0)<($103|0);
+ if ($104) {
+ $105 = $6;
+ $106 = (0 - ($105))|0;
+ $107 = -2147483648 >> $106;
+ $112 = $107;
break;
} else {
- $33 = $result;
- $cond80 = $33;
+ $108 = $10;
+ $112 = $108;
break;
}
}
} while(0);
- $34 = $lshift;
- $sub81 = (0 - ($34))|0;
- $shl82 = $cond80 << $sub81;
- $retval = $shl82;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
+ $109 = $6;
+ $110 = (0 - ($109))|0;
+ $111 = $112 << $110;
+ $2 = $111;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
}
-function _silk_NLSF2A($a_Q12,$NLSF,$d) {
- $a_Q12 = $a_Q12|0;
- $NLSF = $NLSF|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
- var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
- var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
- var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0;
- var $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0;
- var $99 = 0, $NLSF$addr = 0, $P = 0, $Ptmp = 0, $Q = 0, $Qtmp = 0, $a32_QA1 = 0, $a_Q12$addr = 0, $absval = 0, $add = 0, $add10 = 0, $add102 = 0, $add110 = 0, $add12 = 0, $add132 = 0, $add156 = 0, $add24 = 0, $add27 = 0, $add28 = 0, $add63 = 0;
- var $add76 = 0, $add94 = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx108 = 0, $arrayidx117 = 0, $arrayidx118 = 0, $arrayidx121 = 0, $arrayidx130 = 0, $arrayidx135 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx154 = 0, $arrayidx159 = 0, $arrayidx19 = 0, $arrayidx2 = 0, $arrayidx25 = 0, $arrayidx26 = 0, $arrayidx29 = 0, $arrayidx30 = 0;
- var $arrayidx34 = 0, $arrayidx38 = 0, $arrayidx4 = 0, $arrayidx50 = 0, $arrayidx53 = 0, $arrayidx6 = 0, $arrayidx92 = 0, $call = 0, $cmp = 0, $cmp1 = 0, $cmp104 = 0, $cmp127 = 0, $cmp141 = 0, $cmp144 = 0, $cmp151 = 0, $cmp21 = 0, $cmp43 = 0, $cmp47 = 0, $cmp51 = 0, $cmp57 = 0;
- var $cmp65 = 0, $cmp68 = 0, $cmp85 = 0, $cmp89 = 0, $cmp96 = 0, $cond = 0, $cond115 = 0, $cond56 = 0, $cond73 = 0, $conv = 0, $conv116 = 0, $conv119 = 0, $conv134 = 0, $conv158 = 0, $conv3 = 0, $conv5 = 0, $conv7 = 0, $cos_LSF_QA = 0, $cos_val = 0, $d$addr = 0;
- var $dd = 0, $delta = 0, $div = 0, $f_frac = 0, $f_int = 0, $i = 0, $idx = 0, $idxprom = 0, $inc = 0, $inc123 = 0, $inc137 = 0, $inc161 = 0, $inc166 = 0, $inc40 = 0, $inc60 = 0, $inc83 = 0, $k = 0, $maxabs = 0, $mul = 0, $mul77 = 0;
- var $ordering = 0, $sc_Q16 = 0, $shl = 0, $shl120 = 0, $shl148 = 0, $shl75 = 0, $shl9 = 0, $shr = 0, $shr101 = 0, $shr103 = 0, $shr109 = 0, $shr11 = 0, $shr111 = 0, $shr13 = 0, $shr131 = 0, $shr133 = 0, $shr155 = 0, $shr157 = 0, $shr16 = 0, $shr62 = 0;
- var $shr64 = 0, $shr78 = 0, $shr93 = 0, $shr95 = 0, $sub = 0, $sub149 = 0, $sub31 = 0, $sub32 = 0, $sub33 = 0, $sub35 = 0, $sub36 = 0, $sub37 = 0, $sub55 = 0, $sub74 = 0, $sub79 = 0, $sub8 = 0, label = 0, sp = 0;
+function _silk_NLSF2A($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 272|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(272|0);
- $cos_LSF_QA = sp + 176|0;
- $P = sp + 140|0;
- $Q = sp + 104|0;
- $a32_QA1 = sp + 16|0;
- $a_Q12$addr = $a_Q12;
- $NLSF$addr = $NLSF;
- $d$addr = $d;
- $idx = 0;
- $0 = $d$addr;
- $cmp = ($0|0)==(16);
- $cond = $cmp ? 30677 : 30693;
- $ordering = $cond;
- $k = 0;
+ $10 = sp + 176|0;
+ $11 = sp + 140|0;
+ $12 = sp + 104|0;
+ $19 = sp + 16|0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $22 = 0;
+ $24 = $5;
+ $25 = ($24|0)==(16);
+ $26 = $25 ? 30711 : 30727;
+ $6 = $26;
+ $7 = 0;
while(1) {
- $1 = $k;
- $2 = $d$addr;
- $cmp1 = ($1|0)<($2|0);
- if (!($cmp1)) {
+ $27 = $7;
+ $28 = $5;
+ $29 = ($27|0)<($28|0);
+ if (!($29)) {
break;
}
- $3 = $NLSF$addr;
- $4 = $k;
- $arrayidx = (($3) + ($4<<1)|0);
- $5 = HEAP16[$arrayidx>>1]|0;
- $conv = $5 << 16 >> 16;
- $shr = $conv >> 8;
- $f_int = $shr;
- $6 = $NLSF$addr;
- $7 = $k;
- $arrayidx2 = (($6) + ($7<<1)|0);
- $8 = HEAP16[$arrayidx2>>1]|0;
- $conv3 = $8 << 16 >> 16;
- $9 = $f_int;
- $shl = $9 << 8;
- $sub = (($conv3) - ($shl))|0;
- $f_frac = $sub;
- $10 = $f_int;
- $arrayidx4 = (25462 + ($10<<1)|0);
- $11 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $11 << 16 >> 16;
- $cos_val = $conv5;
- $12 = $f_int;
- $add = (($12) + 1)|0;
- $arrayidx6 = (25462 + ($add<<1)|0);
- $13 = HEAP16[$arrayidx6>>1]|0;
- $conv7 = $13 << 16 >> 16;
- $14 = $cos_val;
- $sub8 = (($conv7) - ($14))|0;
- $delta = $sub8;
- $15 = $cos_val;
- $shl9 = $15 << 8;
- $16 = $delta;
- $17 = $f_frac;
- $mul = Math_imul($16, $17)|0;
- $add10 = (($shl9) + ($mul))|0;
- $shr11 = $add10 >> 3;
- $add12 = (($shr11) + 1)|0;
- $shr13 = $add12 >> 1;
- $18 = $ordering;
- $19 = $k;
- $arrayidx14 = (($18) + ($19)|0);
- $20 = HEAP8[$arrayidx14>>0]|0;
- $idxprom = $20&255;
- $arrayidx15 = (($cos_LSF_QA) + ($idxprom<<2)|0);
- HEAP32[$arrayidx15>>2] = $shr13;
- $21 = $k;
- $inc = (($21) + 1)|0;
- $k = $inc;
+ $30 = $4;
+ $31 = $7;
+ $32 = (($30) + ($31<<1)|0);
+ $33 = HEAP16[$32>>1]|0;
+ $34 = $33 << 16 >> 16;
+ $35 = $34 >> 8;
+ $15 = $35;
+ $36 = $4;
+ $37 = $7;
+ $38 = (($36) + ($37<<1)|0);
+ $39 = HEAP16[$38>>1]|0;
+ $40 = $39 << 16 >> 16;
+ $41 = $15;
+ $42 = $41 << 8;
+ $43 = (($40) - ($42))|0;
+ $16 = $43;
+ $44 = $15;
+ $45 = (25462 + ($44<<1)|0);
+ $46 = HEAP16[$45>>1]|0;
+ $47 = $46 << 16 >> 16;
+ $17 = $47;
+ $48 = $15;
+ $49 = (($48) + 1)|0;
+ $50 = (25462 + ($49<<1)|0);
+ $51 = HEAP16[$50>>1]|0;
+ $52 = $51 << 16 >> 16;
+ $53 = $17;
+ $54 = (($52) - ($53))|0;
+ $18 = $54;
+ $55 = $17;
+ $56 = $55 << 8;
+ $57 = $18;
+ $58 = $16;
+ $59 = Math_imul($57, $58)|0;
+ $60 = (($56) + ($59))|0;
+ $61 = $60 >> 3;
+ $62 = (($61) + 1)|0;
+ $63 = $62 >> 1;
+ $64 = $6;
+ $65 = $7;
+ $66 = (($64) + ($65)|0);
+ $67 = HEAP8[$66>>0]|0;
+ $68 = $67&255;
+ $69 = (($10) + ($68<<2)|0);
+ HEAP32[$69>>2] = $63;
+ $70 = $7;
+ $71 = (($70) + 1)|0;
+ $7 = $71;
}
- $22 = $d$addr;
- $shr16 = $22 >> 1;
- $dd = $shr16;
- $23 = $dd;
- _silk_NLSF2A_find_poly($P,$cos_LSF_QA,$23);
- $arrayidx19 = ((($cos_LSF_QA)) + 4|0);
- $24 = $dd;
- _silk_NLSF2A_find_poly($Q,$arrayidx19,$24);
- $k = 0;
+ $72 = $5;
+ $73 = $72 >> 1;
+ $9 = $73;
+ $74 = $9;
+ _silk_NLSF2A_find_poly($11,$10,$74);
+ $75 = ((($10)) + 4|0);
+ $76 = $9;
+ _silk_NLSF2A_find_poly($12,$75,$76);
+ $7 = 0;
while(1) {
- $25 = $k;
- $26 = $dd;
- $cmp21 = ($25|0)<($26|0);
- if (!($cmp21)) {
+ $77 = $7;
+ $78 = $9;
+ $79 = ($77|0)<($78|0);
+ if (!($79)) {
break;
}
- $27 = $k;
- $add24 = (($27) + 1)|0;
- $arrayidx25 = (($P) + ($add24<<2)|0);
- $28 = HEAP32[$arrayidx25>>2]|0;
- $29 = $k;
- $arrayidx26 = (($P) + ($29<<2)|0);
- $30 = HEAP32[$arrayidx26>>2]|0;
- $add27 = (($28) + ($30))|0;
- $Ptmp = $add27;
- $31 = $k;
- $add28 = (($31) + 1)|0;
- $arrayidx29 = (($Q) + ($add28<<2)|0);
- $32 = HEAP32[$arrayidx29>>2]|0;
- $33 = $k;
- $arrayidx30 = (($Q) + ($33<<2)|0);
- $34 = HEAP32[$arrayidx30>>2]|0;
- $sub31 = (($32) - ($34))|0;
- $Qtmp = $sub31;
- $35 = $Qtmp;
- $sub32 = (0 - ($35))|0;
- $36 = $Ptmp;
- $sub33 = (($sub32) - ($36))|0;
- $37 = $k;
- $arrayidx34 = (($a32_QA1) + ($37<<2)|0);
- HEAP32[$arrayidx34>>2] = $sub33;
- $38 = $Qtmp;
- $39 = $Ptmp;
- $sub35 = (($38) - ($39))|0;
- $40 = $d$addr;
- $41 = $k;
- $sub36 = (($40) - ($41))|0;
- $sub37 = (($sub36) - 1)|0;
- $arrayidx38 = (($a32_QA1) + ($sub37<<2)|0);
- HEAP32[$arrayidx38>>2] = $sub35;
- $42 = $k;
- $inc40 = (($42) + 1)|0;
- $k = $inc40;
+ $80 = $7;
+ $81 = (($80) + 1)|0;
+ $82 = (($11) + ($81<<2)|0);
+ $83 = HEAP32[$82>>2]|0;
+ $84 = $7;
+ $85 = (($11) + ($84<<2)|0);
+ $86 = HEAP32[$85>>2]|0;
+ $87 = (($83) + ($86))|0;
+ $13 = $87;
+ $88 = $7;
+ $89 = (($88) + 1)|0;
+ $90 = (($12) + ($89<<2)|0);
+ $91 = HEAP32[$90>>2]|0;
+ $92 = $7;
+ $93 = (($12) + ($92<<2)|0);
+ $94 = HEAP32[$93>>2]|0;
+ $95 = (($91) - ($94))|0;
+ $14 = $95;
+ $96 = $14;
+ $97 = (0 - ($96))|0;
+ $98 = $13;
+ $99 = (($97) - ($98))|0;
+ $100 = $7;
+ $101 = (($19) + ($100<<2)|0);
+ HEAP32[$101>>2] = $99;
+ $102 = $14;
+ $103 = $13;
+ $104 = (($102) - ($103))|0;
+ $105 = $5;
+ $106 = $7;
+ $107 = (($105) - ($106))|0;
+ $108 = (($107) - 1)|0;
+ $109 = (($19) + ($108<<2)|0);
+ HEAP32[$109>>2] = $104;
+ $110 = $7;
+ $111 = (($110) + 1)|0;
+ $7 = $111;
}
- $i = 0;
+ $8 = 0;
while(1) {
- $43 = $i;
- $cmp43 = ($43|0)<(10);
- if (!($cmp43)) {
+ $112 = $8;
+ $113 = ($112|0)<(10);
+ if (!($113)) {
break;
}
- $maxabs = 0;
- $k = 0;
+ $20 = 0;
+ $7 = 0;
while(1) {
- $44 = $k;
- $45 = $d$addr;
- $cmp47 = ($44|0)<($45|0);
- if (!($cmp47)) {
+ $114 = $7;
+ $115 = $5;
+ $116 = ($114|0)<($115|0);
+ if (!($116)) {
break;
}
- $46 = $k;
- $arrayidx50 = (($a32_QA1) + ($46<<2)|0);
- $47 = HEAP32[$arrayidx50>>2]|0;
- $cmp51 = ($47|0)>(0);
- $48 = $k;
- $arrayidx53 = (($a32_QA1) + ($48<<2)|0);
- $49 = HEAP32[$arrayidx53>>2]|0;
- $sub55 = (0 - ($49))|0;
- $cond56 = $cmp51 ? $49 : $sub55;
- $absval = $cond56;
- $50 = $absval;
- $51 = $maxabs;
- $cmp57 = ($50|0)>($51|0);
- if ($cmp57) {
- $52 = $absval;
- $maxabs = $52;
- $53 = $k;
- $idx = $53;
+ $117 = $7;
+ $118 = (($19) + ($117<<2)|0);
+ $119 = HEAP32[$118>>2]|0;
+ $120 = ($119|0)>(0);
+ $121 = $7;
+ $122 = (($19) + ($121<<2)|0);
+ $123 = HEAP32[$122>>2]|0;
+ $124 = (0 - ($123))|0;
+ $125 = $120 ? $123 : $124;
+ $21 = $125;
+ $126 = $21;
+ $127 = $20;
+ $128 = ($126|0)>($127|0);
+ if ($128) {
+ $129 = $21;
+ $20 = $129;
+ $130 = $7;
+ $22 = $130;
}
- $54 = $k;
- $inc60 = (($54) + 1)|0;
- $k = $inc60;
+ $131 = $7;
+ $132 = (($131) + 1)|0;
+ $7 = $132;
}
- $55 = $maxabs;
- $shr62 = $55 >> 4;
- $add63 = (($shr62) + 1)|0;
- $shr64 = $add63 >> 1;
- $maxabs = $shr64;
- $56 = $maxabs;
- $cmp65 = ($56|0)>(32767);
- if (!($cmp65)) {
+ $133 = $20;
+ $134 = $133 >> 4;
+ $135 = (($134) + 1)|0;
+ $136 = $135 >> 1;
+ $20 = $136;
+ $137 = $20;
+ $138 = ($137|0)>(32767);
+ if (!($138)) {
break;
}
- $57 = $maxabs;
- $cmp68 = ($57|0)<(163838);
- $58 = $maxabs;
- $cond73 = $cmp68 ? $58 : 163838;
- $maxabs = $cond73;
- $59 = $maxabs;
- $sub74 = (($59) - 32767)|0;
- $shl75 = $sub74 << 14;
- $60 = $maxabs;
- $61 = $idx;
- $add76 = (($61) + 1)|0;
- $mul77 = Math_imul($60, $add76)|0;
- $shr78 = $mul77 >> 2;
- $div = (($shl75|0) / ($shr78|0))&-1;
- $sub79 = (65470 - ($div))|0;
- $sc_Q16 = $sub79;
- $62 = $d$addr;
- $63 = $sc_Q16;
- _silk_bwexpander_32($a32_QA1,$62,$63);
- $64 = $i;
- $inc83 = (($64) + 1)|0;
- $i = $inc83;
+ $139 = $20;
+ $140 = ($139|0)<(163838);
+ $141 = $20;
+ $142 = $140 ? $141 : 163838;
+ $20 = $142;
+ $143 = $20;
+ $144 = (($143) - 32767)|0;
+ $145 = $144 << 14;
+ $146 = $20;
+ $147 = $22;
+ $148 = (($147) + 1)|0;
+ $149 = Math_imul($146, $148)|0;
+ $150 = $149 >> 2;
+ $151 = (($145|0) / ($150|0))&-1;
+ $152 = (65470 - ($151))|0;
+ $23 = $152;
+ $153 = $5;
+ $154 = $23;
+ _silk_bwexpander_32($19,$153,$154);
+ $155 = $8;
+ $156 = (($155) + 1)|0;
+ $8 = $156;
}
- $65 = $i;
- $cmp85 = ($65|0)==(10);
- $k = 0;
+ $157 = $8;
+ $158 = ($157|0)==(10);
+ $7 = 0;
L21: do {
- if ($cmp85) {
+ if ($158) {
while(1) {
- $66 = $k;
- $67 = $d$addr;
- $cmp89 = ($66|0)<($67|0);
- if (!($cmp89)) {
+ $159 = $7;
+ $160 = $5;
+ $161 = ($159|0)<($160|0);
+ if (!($161)) {
break L21;
}
- $68 = $k;
- $arrayidx92 = (($a32_QA1) + ($68<<2)|0);
- $69 = HEAP32[$arrayidx92>>2]|0;
- $shr93 = $69 >> 4;
- $add94 = (($shr93) + 1)|0;
- $shr95 = $add94 >> 1;
- $cmp96 = ($shr95|0)>(32767);
- if ($cmp96) {
- $cond115 = 32767;
+ $162 = $7;
+ $163 = (($19) + ($162<<2)|0);
+ $164 = HEAP32[$163>>2]|0;
+ $165 = $164 >> 4;
+ $166 = (($165) + 1)|0;
+ $167 = $166 >> 1;
+ $168 = ($167|0)>(32767);
+ if ($168) {
+ $183 = 32767;
} else {
- $70 = $k;
- $arrayidx100 = (($a32_QA1) + ($70<<2)|0);
- $71 = HEAP32[$arrayidx100>>2]|0;
- $shr101 = $71 >> 4;
- $add102 = (($shr101) + 1)|0;
- $shr103 = $add102 >> 1;
- $cmp104 = ($shr103|0)<(-32768);
- if ($cmp104) {
- $cond115 = -32768;
+ $169 = $7;
+ $170 = (($19) + ($169<<2)|0);
+ $171 = HEAP32[$170>>2]|0;
+ $172 = $171 >> 4;
+ $173 = (($172) + 1)|0;
+ $174 = $173 >> 1;
+ $175 = ($174|0)<(-32768);
+ if ($175) {
+ $183 = -32768;
} else {
- $72 = $k;
- $arrayidx108 = (($a32_QA1) + ($72<<2)|0);
- $73 = HEAP32[$arrayidx108>>2]|0;
- $shr109 = $73 >> 4;
- $add110 = (($shr109) + 1)|0;
- $shr111 = $add110 >> 1;
- $cond115 = $shr111;
+ $176 = $7;
+ $177 = (($19) + ($176<<2)|0);
+ $178 = HEAP32[$177>>2]|0;
+ $179 = $178 >> 4;
+ $180 = (($179) + 1)|0;
+ $181 = $180 >> 1;
+ $183 = $181;
}
}
- $conv116 = $cond115&65535;
- $74 = $a_Q12$addr;
- $75 = $k;
- $arrayidx117 = (($74) + ($75<<1)|0);
- HEAP16[$arrayidx117>>1] = $conv116;
- $76 = $a_Q12$addr;
- $77 = $k;
- $arrayidx118 = (($76) + ($77<<1)|0);
- $78 = HEAP16[$arrayidx118>>1]|0;
- $conv119 = $78 << 16 >> 16;
- $shl120 = $conv119 << 5;
- $79 = $k;
- $arrayidx121 = (($a32_QA1) + ($79<<2)|0);
- HEAP32[$arrayidx121>>2] = $shl120;
- $80 = $k;
- $inc123 = (($80) + 1)|0;
- $k = $inc123;
+ $182 = $183&65535;
+ $184 = $3;
+ $185 = $7;
+ $186 = (($184) + ($185<<1)|0);
+ HEAP16[$186>>1] = $182;
+ $187 = $3;
+ $188 = $7;
+ $189 = (($187) + ($188<<1)|0);
+ $190 = HEAP16[$189>>1]|0;
+ $191 = $190 << 16 >> 16;
+ $192 = $191 << 5;
+ $193 = $7;
+ $194 = (($19) + ($193<<2)|0);
+ HEAP32[$194>>2] = $192;
+ $195 = $7;
+ $196 = (($195) + 1)|0;
+ $7 = $196;
}
} else {
while(1) {
- $81 = $k;
- $82 = $d$addr;
- $cmp127 = ($81|0)<($82|0);
- if (!($cmp127)) {
+ $197 = $7;
+ $198 = $5;
+ $199 = ($197|0)<($198|0);
+ if (!($199)) {
break L21;
}
- $83 = $k;
- $arrayidx130 = (($a32_QA1) + ($83<<2)|0);
- $84 = HEAP32[$arrayidx130>>2]|0;
- $shr131 = $84 >> 4;
- $add132 = (($shr131) + 1)|0;
- $shr133 = $add132 >> 1;
- $conv134 = $shr133&65535;
- $85 = $a_Q12$addr;
- $86 = $k;
- $arrayidx135 = (($85) + ($86<<1)|0);
- HEAP16[$arrayidx135>>1] = $conv134;
- $87 = $k;
- $inc137 = (($87) + 1)|0;
- $k = $inc137;
+ $200 = $7;
+ $201 = (($19) + ($200<<2)|0);
+ $202 = HEAP32[$201>>2]|0;
+ $203 = $202 >> 4;
+ $204 = (($203) + 1)|0;
+ $205 = $204 >> 1;
+ $206 = $205&65535;
+ $207 = $3;
+ $208 = $7;
+ $209 = (($207) + ($208<<1)|0);
+ HEAP16[$209>>1] = $206;
+ $210 = $7;
+ $211 = (($210) + 1)|0;
+ $7 = $211;
}
}
} while(0);
- $i = 0;
+ $8 = 0;
while(1) {
- $88 = $i;
- $cmp141 = ($88|0)<(16);
- if (!($cmp141)) {
+ $212 = $8;
+ $213 = ($212|0)<(16);
+ if (!($213)) {
label = 31;
break;
}
- $89 = $a_Q12$addr;
- $90 = $d$addr;
- $call = (_silk_LPC_inverse_pred_gain($89,$90)|0);
- $cmp144 = ($call|0)<(107374);
- if (!($cmp144)) {
+ $214 = $3;
+ $215 = $5;
+ $216 = (_silk_LPC_inverse_pred_gain($214,$215)|0);
+ $217 = ($216|0)<(107374);
+ if (!($217)) {
label = 31;
break;
}
- $91 = $d$addr;
- $92 = $i;
- $shl148 = 2 << $92;
- $sub149 = (65536 - ($shl148))|0;
- _silk_bwexpander_32($a32_QA1,$91,$sub149);
- $k = 0;
+ $218 = $5;
+ $219 = $8;
+ $220 = 2 << $219;
+ $221 = (65536 - ($220))|0;
+ _silk_bwexpander_32($19,$218,$221);
+ $7 = 0;
while(1) {
- $93 = $k;
- $94 = $d$addr;
- $cmp151 = ($93|0)<($94|0);
- if (!($cmp151)) {
+ $222 = $7;
+ $223 = $5;
+ $224 = ($222|0)<($223|0);
+ if (!($224)) {
break;
}
- $95 = $k;
- $arrayidx154 = (($a32_QA1) + ($95<<2)|0);
- $96 = HEAP32[$arrayidx154>>2]|0;
- $shr155 = $96 >> 4;
- $add156 = (($shr155) + 1)|0;
- $shr157 = $add156 >> 1;
- $conv158 = $shr157&65535;
- $97 = $a_Q12$addr;
- $98 = $k;
- $arrayidx159 = (($97) + ($98<<1)|0);
- HEAP16[$arrayidx159>>1] = $conv158;
- $99 = $k;
- $inc161 = (($99) + 1)|0;
- $k = $inc161;
+ $225 = $7;
+ $226 = (($19) + ($225<<2)|0);
+ $227 = HEAP32[$226>>2]|0;
+ $228 = $227 >> 4;
+ $229 = (($228) + 1)|0;
+ $230 = $229 >> 1;
+ $231 = $230&65535;
+ $232 = $3;
+ $233 = $7;
+ $234 = (($232) + ($233<<1)|0);
+ HEAP16[$234>>1] = $231;
+ $235 = $7;
+ $236 = (($235) + 1)|0;
+ $7 = $236;
}
- $100 = $i;
- $inc166 = (($100) + 1)|0;
- $i = $inc166;
+ $237 = $8;
+ $238 = (($237) + 1)|0;
+ $8 = $238;
}
if ((label|0) == 31) {
STACKTOP = sp;return;
}
}
-function _silk_NLSF2A_find_poly($out,$cLSF,$dd) {
- $out = $out|0;
- $cLSF = $cLSF|0;
- $dd = $dd|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add12 = 0;
- var $add31 = 0, $arrayidx13 = 0, $arrayidx19 = 0, $arrayidx2 = 0, $arrayidx22 = 0, $arrayidx3 = 0, $arrayidx30 = 0, $arrayidx32 = 0, $arrayidx5 = 0, $arrayidx6 = 0, $cLSF$addr = 0, $cmp = 0, $cmp15 = 0, $dd$addr = 0, $dec = 0, $ftmp = 0, $inc = 0, $k = 0, $mul = 0, $n = 0;
- var $out$addr = 0, $shl = 0, $sub = 0, $sub11 = 0, $sub18 = 0, $sub21 = 0, $sub29 = 0, $sub33 = 0, $sub4 = 0, label = 0, sp = 0;
+function _silk_NLSF2A_find_poly($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
+ var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
+ var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $out$addr = $out;
- $cLSF$addr = $cLSF;
- $dd$addr = $dd;
- $0 = $out$addr;
- HEAP32[$0>>2] = 65536;
- $1 = $cLSF$addr;
- $2 = HEAP32[$1>>2]|0;
- $sub = (0 - ($2))|0;
- $3 = $out$addr;
- $arrayidx2 = ((($3)) + 4|0);
- HEAP32[$arrayidx2>>2] = $sub;
- $k = 1;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $9 = $3;
+ HEAP32[$9>>2] = 65536;
+ $10 = $4;
+ $11 = HEAP32[$10>>2]|0;
+ $12 = (0 - ($11))|0;
+ $13 = $3;
+ $14 = ((($13)) + 4|0);
+ HEAP32[$14>>2] = $12;
+ $6 = 1;
while(1) {
- $4 = $k;
- $5 = $dd$addr;
- $cmp = ($4|0)<($5|0);
- if (!($cmp)) {
+ $15 = $6;
+ $16 = $5;
+ $17 = ($15|0)<($16|0);
+ if (!($17)) {
break;
}
- $6 = $cLSF$addr;
- $7 = $k;
- $mul = $7<<1;
- $arrayidx3 = (($6) + ($mul<<2)|0);
- $8 = HEAP32[$arrayidx3>>2]|0;
- $ftmp = $8;
- $9 = $out$addr;
- $10 = $k;
- $sub4 = (($10) - 1)|0;
- $arrayidx5 = (($9) + ($sub4<<2)|0);
- $11 = HEAP32[$arrayidx5>>2]|0;
- $shl = $11 << 1;
- $12 = $ftmp;
- $13 = ($12|0)<(0);
- $14 = $13 << 31 >> 31;
- $15 = $out$addr;
- $16 = $k;
- $arrayidx6 = (($15) + ($16<<2)|0);
- $17 = HEAP32[$arrayidx6>>2]|0;
- $18 = ($17|0)<(0);
- $19 = $18 << 31 >> 31;
- $20 = (___muldi3(($12|0),($14|0),($17|0),($19|0))|0);
- $21 = tempRet0;
- $22 = (_bitshift64Ashr(($20|0),($21|0),15)|0);
- $23 = tempRet0;
- $24 = (_i64Add(($22|0),($23|0),1,0)|0);
- $25 = tempRet0;
- $26 = (_bitshift64Ashr(($24|0),($25|0),1)|0);
- $27 = tempRet0;
- $sub11 = (($shl) - ($26))|0;
- $28 = $out$addr;
- $29 = $k;
- $add12 = (($29) + 1)|0;
- $arrayidx13 = (($28) + ($add12<<2)|0);
- HEAP32[$arrayidx13>>2] = $sub11;
- $30 = $k;
- $n = $30;
+ $18 = $4;
+ $19 = $6;
+ $20 = $19<<1;
+ $21 = (($18) + ($20<<2)|0);
+ $22 = HEAP32[$21>>2]|0;
+ $8 = $22;
+ $23 = $3;
+ $24 = $6;
+ $25 = (($24) - 1)|0;
+ $26 = (($23) + ($25<<2)|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = $27 << 1;
+ $29 = $8;
+ $30 = ($29|0)<(0);
+ $31 = $30 << 31 >> 31;
+ $32 = $3;
+ $33 = $6;
+ $34 = (($32) + ($33<<2)|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = ($35|0)<(0);
+ $37 = $36 << 31 >> 31;
+ $38 = (___muldi3(($29|0),($31|0),($35|0),($37|0))|0);
+ $39 = tempRet0;
+ $40 = (_bitshift64Ashr(($38|0),($39|0),15)|0);
+ $41 = tempRet0;
+ $42 = (_i64Add(($40|0),($41|0),1,0)|0);
+ $43 = tempRet0;
+ $44 = (_bitshift64Ashr(($42|0),($43|0),1)|0);
+ $45 = tempRet0;
+ $46 = (($28) - ($44))|0;
+ $47 = $3;
+ $48 = $6;
+ $49 = (($48) + 1)|0;
+ $50 = (($47) + ($49<<2)|0);
+ HEAP32[$50>>2] = $46;
+ $51 = $6;
+ $7 = $51;
while(1) {
- $31 = $n;
- $cmp15 = ($31|0)>(1);
- if (!($cmp15)) {
+ $52 = $7;
+ $53 = ($52|0)>(1);
+ if (!($53)) {
break;
}
- $32 = $out$addr;
- $33 = $n;
- $sub18 = (($33) - 2)|0;
- $arrayidx19 = (($32) + ($sub18<<2)|0);
- $34 = HEAP32[$arrayidx19>>2]|0;
- $35 = $ftmp;
- $36 = ($35|0)<(0);
- $37 = $36 << 31 >> 31;
- $38 = $out$addr;
- $39 = $n;
- $sub21 = (($39) - 1)|0;
- $arrayidx22 = (($38) + ($sub21<<2)|0);
- $40 = HEAP32[$arrayidx22>>2]|0;
- $41 = ($40|0)<(0);
- $42 = $41 << 31 >> 31;
- $43 = (___muldi3(($35|0),($37|0),($40|0),($42|0))|0);
- $44 = tempRet0;
- $45 = (_bitshift64Ashr(($43|0),($44|0),15)|0);
- $46 = tempRet0;
- $47 = (_i64Add(($45|0),($46|0),1,0)|0);
- $48 = tempRet0;
- $49 = (_bitshift64Ashr(($47|0),($48|0),1)|0);
- $50 = tempRet0;
- $sub29 = (($34) - ($49))|0;
- $51 = $out$addr;
- $52 = $n;
- $arrayidx30 = (($51) + ($52<<2)|0);
- $53 = HEAP32[$arrayidx30>>2]|0;
- $add31 = (($53) + ($sub29))|0;
- HEAP32[$arrayidx30>>2] = $add31;
- $54 = $n;
- $dec = (($54) + -1)|0;
- $n = $dec;
+ $54 = $3;
+ $55 = $7;
+ $56 = (($55) - 2)|0;
+ $57 = (($54) + ($56<<2)|0);
+ $58 = HEAP32[$57>>2]|0;
+ $59 = $8;
+ $60 = ($59|0)<(0);
+ $61 = $60 << 31 >> 31;
+ $62 = $3;
+ $63 = $7;
+ $64 = (($63) - 1)|0;
+ $65 = (($62) + ($64<<2)|0);
+ $66 = HEAP32[$65>>2]|0;
+ $67 = ($66|0)<(0);
+ $68 = $67 << 31 >> 31;
+ $69 = (___muldi3(($59|0),($61|0),($66|0),($68|0))|0);
+ $70 = tempRet0;
+ $71 = (_bitshift64Ashr(($69|0),($70|0),15)|0);
+ $72 = tempRet0;
+ $73 = (_i64Add(($71|0),($72|0),1,0)|0);
+ $74 = tempRet0;
+ $75 = (_bitshift64Ashr(($73|0),($74|0),1)|0);
+ $76 = tempRet0;
+ $77 = (($58) - ($75))|0;
+ $78 = $3;
+ $79 = $7;
+ $80 = (($78) + ($79<<2)|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = (($81) + ($77))|0;
+ HEAP32[$80>>2] = $82;
+ $83 = $7;
+ $84 = (($83) + -1)|0;
+ $7 = $84;
}
- $55 = $ftmp;
- $56 = $out$addr;
- $arrayidx32 = ((($56)) + 4|0);
- $57 = HEAP32[$arrayidx32>>2]|0;
- $sub33 = (($57) - ($55))|0;
- HEAP32[$arrayidx32>>2] = $sub33;
- $58 = $k;
- $inc = (($58) + 1)|0;
- $k = $inc;
+ $85 = $8;
+ $86 = $3;
+ $87 = ((($86)) + 4|0);
+ $88 = HEAP32[$87>>2]|0;
+ $89 = (($88) - ($85))|0;
+ HEAP32[$87>>2] = $89;
+ $90 = $6;
+ $91 = (($90) + 1)|0;
+ $6 = $91;
}
STACKTOP = sp;return;
}
-function _silk_NLSF_stabilize($NLSF_Q15,$NDeltaMin_Q15,$L) {
- $NLSF_Q15 = $NLSF_Q15|0;
- $NDeltaMin_Q15 = $NDeltaMin_Q15|0;
- $L = $L|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+function _silk_NLSF_stabilize($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$sink = 0, $$sink1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0;
- var $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0;
- var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0;
- var $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0;
- var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $I = 0, $L$addr = 0, $NDeltaMin_Q15$addr = 0, $NLSF_Q15$addr = 0, $add = 0, $add105 = 0, $add107 = 0, $add117 = 0, $add124 = 0;
- var $add126 = 0, $add154 = 0, $add161 = 0, $add163 = 0, $add173 = 0, $add180 = 0, $add182 = 0, $add203 = 0, $add23 = 0, $add232 = 0, $add256 = 0, $add259 = 0, $add54 = 0, $add60 = 0, $add81 = 0, $add88 = 0, $add89 = 0, $add98 = 0, $and = 0, $and106 = 0;
- var $and125 = 0, $and162 = 0, $and181 = 0, $arrayidx101 = 0, $arrayidx103 = 0, $arrayidx11 = 0, $arrayidx113 = 0, $arrayidx115 = 0, $arrayidx120 = 0, $arrayidx122 = 0, $arrayidx13 = 0, $arrayidx150 = 0, $arrayidx152 = 0, $arrayidx157 = 0, $arrayidx159 = 0, $arrayidx169 = 0, $arrayidx171 = 0, $arrayidx176 = 0, $arrayidx178 = 0, $arrayidx19 = 0;
- var $arrayidx191 = 0, $arrayidx197 = 0, $arrayidx199 = 0, $arrayidx201 = 0, $arrayidx205 = 0, $arrayidx205$sink = 0, $arrayidx21 = 0, $arrayidx225 = 0, $arrayidx228 = 0, $arrayidx230 = 0, $arrayidx235 = 0, $arrayidx240 = 0, $arrayidx242 = 0, $arrayidx248 = 0, $arrayidx254 = 0, $arrayidx257 = 0, $arrayidx260 = 0, $arrayidx265 = 0, $arrayidx41 = 0, $arrayidx46 = 0;
- var $arrayidx52 = 0, $arrayidx58 = 0, $arrayidx65 = 0, $arrayidx70 = 0, $arrayidx77 = 0, $arrayidx79 = 0, $arrayidx8 = 0, $arrayidx84 = 0, $arrayidx86 = 0, $arrayidx94 = 0, $arrayidx96 = 0, $call = 0, $call233 = 0, $call245 = 0, $call263 = 0, $center_freq_Q15 = 0, $cmp = 0, $cmp108 = 0, $cmp145 = 0, $cmp16 = 0;
- var $cmp164 = 0, $cmp211 = 0, $cmp222 = 0, $cmp25 = 0, $cmp251 = 0, $cmp29 = 0, $cmp33 = 0, $cmp38 = 0, $cmp49 = 0, $cmp5 = 0, $cmp62 = 0, $cmp74 = 0, $cmp90 = 0, $cond188 = 0, $conv = 0, $conv102 = 0, $conv104 = 0, $conv114 = 0, $conv116 = 0, $conv12 = 0;
- var $conv121 = 0, $conv123 = 0, $conv14 = 0, $conv151 = 0, $conv153 = 0, $conv158 = 0, $conv160 = 0, $conv170 = 0, $conv172 = 0, $conv177 = 0, $conv179 = 0, $conv189 = 0, $conv190 = 0, $conv192 = 0, $conv195 = 0, $conv2 = 0, $conv20 = 0, $conv200 = 0, $conv202 = 0, $conv204 = 0;
- var $conv204$sink = 0, $conv216 = 0, $conv218 = 0, $conv219 = 0, $conv22 = 0, $conv226 = 0, $conv229 = 0, $conv231 = 0, $conv234 = 0, $conv241 = 0, $conv243 = 0, $conv246 = 0, $conv255 = 0, $conv258 = 0, $conv261 = 0, $conv264 = 0, $conv42 = 0, $conv44 = 0, $conv53 = 0, $conv59 = 0;
- var $conv66 = 0, $conv71 = 0, $conv78 = 0, $conv80 = 0, $conv85 = 0, $conv87 = 0, $conv9 = 0, $conv95 = 0, $conv97 = 0, $dec = 0, $dec267 = 0, $diff_Q15 = 0, $i = 0, $inc = 0, $inc209 = 0, $inc237 = 0, $inc56 = 0, $k = 0, $loops = 0, $max_center_Q15 = 0;
- var $min_center_Q15 = 0, $min_diff_Q15 = 0, $shr = 0, $shr118 = 0, $shr155 = 0, $shr174 = 0, $shr193 = 0, $shr72 = 0, $shr82 = 0, $shr99 = 0, $sub = 0, $sub10 = 0, $sub100 = 0, $sub112 = 0, $sub119 = 0, $sub149 = 0, $sub15 = 0, $sub156 = 0, $sub168 = 0, $sub175 = 0;
- var $sub18 = 0, $sub194 = 0, $sub196 = 0, $sub198 = 0, $sub227 = 0, $sub239 = 0, $sub24 = 0, $sub244 = 0, $sub247 = 0, $sub249 = 0, $sub262 = 0, $sub4 = 0, $sub43 = 0, $sub45 = 0, $sub67 = 0, $sub73 = 0, $sub76 = 0, $sub83 = 0, $sub93 = 0, label = 0;
+ var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0;
+ var $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0;
+ var $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0;
+ var $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0;
+ var $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0;
+ var $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0;
+ var $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0;
+ var $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0;
+ var $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0;
+ var $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0;
+ var $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0;
+ var $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0;
+ var $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0;
+ var $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0;
+ var $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0;
var sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $NLSF_Q15$addr = $NLSF_Q15;
- $NDeltaMin_Q15$addr = $NDeltaMin_Q15;
- $L$addr = $L;
- $I = 0;
- $loops = 0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = 0;
+ $9 = 0;
while(1) {
- $0 = $loops;
- $cmp = ($0|0)<(20);
- if (!($cmp)) {
+ $15 = $9;
+ $16 = ($15|0)<(20);
+ if (!($16)) {
break;
}
- $1 = $NLSF_Q15$addr;
- $2 = HEAP16[$1>>1]|0;
- $conv = $2 << 16 >> 16;
- $3 = $NDeltaMin_Q15$addr;
- $4 = HEAP16[$3>>1]|0;
- $conv2 = $4 << 16 >> 16;
- $sub = (($conv) - ($conv2))|0;
- $min_diff_Q15 = $sub;
- $I = 0;
- $i = 1;
+ $17 = $3;
+ $18 = HEAP16[$17>>1]|0;
+ $19 = $18 << 16 >> 16;
+ $20 = $4;
+ $21 = HEAP16[$20>>1]|0;
+ $22 = $21 << 16 >> 16;
+ $23 = (($19) - ($22))|0;
+ $12 = $23;
+ $7 = 0;
+ $6 = 1;
while(1) {
- $5 = $i;
- $6 = $L$addr;
- $sub4 = (($6) - 1)|0;
- $cmp5 = ($5|0)<=($sub4|0);
- $7 = $NLSF_Q15$addr;
- if (!($cmp5)) {
+ $24 = $6;
+ $25 = $5;
+ $26 = (($25) - 1)|0;
+ $27 = ($24|0)<=($26|0);
+ $28 = $3;
+ if (!($27)) {
break;
}
- $8 = $i;
- $arrayidx8 = (($7) + ($8<<1)|0);
- $9 = HEAP16[$arrayidx8>>1]|0;
- $conv9 = $9 << 16 >> 16;
- $10 = $NLSF_Q15$addr;
- $11 = $i;
- $sub10 = (($11) - 1)|0;
- $arrayidx11 = (($10) + ($sub10<<1)|0);
- $12 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $12 << 16 >> 16;
- $13 = $NDeltaMin_Q15$addr;
- $14 = $i;
- $arrayidx13 = (($13) + ($14<<1)|0);
- $15 = HEAP16[$arrayidx13>>1]|0;
- $conv14 = $15 << 16 >> 16;
- $add = (($conv12) + ($conv14))|0;
- $sub15 = (($conv9) - ($add))|0;
- $diff_Q15 = $sub15;
- $16 = $diff_Q15;
- $17 = $min_diff_Q15;
- $cmp16 = ($16|0)<($17|0);
- if ($cmp16) {
- $18 = $diff_Q15;
- $min_diff_Q15 = $18;
- $19 = $i;
- $I = $19;
+ $29 = $6;
+ $30 = (($28) + ($29<<1)|0);
+ $31 = HEAP16[$30>>1]|0;
+ $32 = $31 << 16 >> 16;
+ $33 = $3;
+ $34 = $6;
+ $35 = (($34) - 1)|0;
+ $36 = (($33) + ($35<<1)|0);
+ $37 = HEAP16[$36>>1]|0;
+ $38 = $37 << 16 >> 16;
+ $39 = $4;
+ $40 = $6;
+ $41 = (($39) + ($40<<1)|0);
+ $42 = HEAP16[$41>>1]|0;
+ $43 = $42 << 16 >> 16;
+ $44 = (($38) + ($43))|0;
+ $45 = (($32) - ($44))|0;
+ $11 = $45;
+ $46 = $11;
+ $47 = $12;
+ $48 = ($46|0)<($47|0);
+ if ($48) {
+ $49 = $11;
+ $12 = $49;
+ $50 = $6;
+ $7 = $50;
}
- $20 = $i;
- $inc = (($20) + 1)|0;
- $i = $inc;
+ $51 = $6;
+ $52 = (($51) + 1)|0;
+ $6 = $52;
}
- $21 = $L$addr;
- $sub18 = (($21) - 1)|0;
- $arrayidx19 = (($7) + ($sub18<<1)|0);
- $22 = HEAP16[$arrayidx19>>1]|0;
- $conv20 = $22 << 16 >> 16;
- $23 = $NDeltaMin_Q15$addr;
- $24 = $L$addr;
- $arrayidx21 = (($23) + ($24<<1)|0);
- $25 = HEAP16[$arrayidx21>>1]|0;
- $conv22 = $25 << 16 >> 16;
- $add23 = (($conv20) + ($conv22))|0;
- $sub24 = (32768 - ($add23))|0;
- $diff_Q15 = $sub24;
- $26 = $diff_Q15;
- $27 = $min_diff_Q15;
- $cmp25 = ($26|0)<($27|0);
- if ($cmp25) {
- $28 = $diff_Q15;
- $min_diff_Q15 = $28;
- $29 = $L$addr;
- $I = $29;
+ $53 = $5;
+ $54 = (($53) - 1)|0;
+ $55 = (($28) + ($54<<1)|0);
+ $56 = HEAP16[$55>>1]|0;
+ $57 = $56 << 16 >> 16;
+ $58 = $4;
+ $59 = $5;
+ $60 = (($58) + ($59<<1)|0);
+ $61 = HEAP16[$60>>1]|0;
+ $62 = $61 << 16 >> 16;
+ $63 = (($57) + ($62))|0;
+ $64 = (32768 - ($63))|0;
+ $11 = $64;
+ $65 = $11;
+ $66 = $12;
+ $67 = ($65|0)<($66|0);
+ if ($67) {
+ $68 = $11;
+ $12 = $68;
+ $69 = $5;
+ $7 = $69;
}
- $30 = $min_diff_Q15;
- $cmp29 = ($30|0)>=(0);
- if ($cmp29) {
+ $70 = $12;
+ $71 = ($70|0)>=(0);
+ if ($71) {
label = 42;
break;
}
- $31 = $I;
- $cmp33 = ($31|0)==(0);
- if ($cmp33) {
- $32 = $NDeltaMin_Q15$addr;
- $33 = HEAP16[$32>>1]|0;
- $34 = $NLSF_Q15$addr;
- HEAP16[$34>>1] = $33;
+ $72 = $7;
+ $73 = ($72|0)==(0);
+ if ($73) {
+ $74 = $4;
+ $75 = HEAP16[$74>>1]|0;
+ $76 = $3;
+ HEAP16[$76>>1] = $75;
} else {
- $35 = $I;
- $36 = $L$addr;
- $cmp38 = ($35|0)==($36|0);
- if ($cmp38) {
- $37 = $NDeltaMin_Q15$addr;
- $38 = $L$addr;
- $arrayidx41 = (($37) + ($38<<1)|0);
- $39 = HEAP16[$arrayidx41>>1]|0;
- $conv42 = $39 << 16 >> 16;
- $sub43 = (32768 - ($conv42))|0;
- $conv44 = $sub43&65535;
- $40 = $NLSF_Q15$addr;
- $41 = $L$addr;
- $sub45 = (($41) - 1)|0;
- $arrayidx46 = (($40) + ($sub45<<1)|0);
- $arrayidx205$sink = $arrayidx46;$conv204$sink = $conv44;
+ $77 = $7;
+ $78 = $5;
+ $79 = ($77|0)==($78|0);
+ if ($79) {
+ $80 = $4;
+ $81 = $5;
+ $82 = (($80) + ($81<<1)|0);
+ $83 = HEAP16[$82>>1]|0;
+ $84 = $83 << 16 >> 16;
+ $85 = (32768 - ($84))|0;
+ $86 = $85&65535;
+ $87 = $3;
+ $88 = $5;
+ $89 = (($88) - 1)|0;
+ $90 = (($87) + ($89<<1)|0);
+ $$sink = $86;$$sink1 = $90;
} else {
- $min_center_Q15 = 0;
- $k = 0;
+ $13 = 0;
+ $8 = 0;
while(1) {
- $42 = $k;
- $43 = $I;
- $cmp49 = ($42|0)<($43|0);
- $44 = $NDeltaMin_Q15$addr;
- if (!($cmp49)) {
+ $91 = $8;
+ $92 = $7;
+ $93 = ($91|0)<($92|0);
+ $94 = $4;
+ if (!($93)) {
break;
}
- $45 = $k;
- $arrayidx52 = (($44) + ($45<<1)|0);
- $46 = HEAP16[$arrayidx52>>1]|0;
- $conv53 = $46 << 16 >> 16;
- $47 = $min_center_Q15;
- $add54 = (($47) + ($conv53))|0;
- $min_center_Q15 = $add54;
- $48 = $k;
- $inc56 = (($48) + 1)|0;
- $k = $inc56;
+ $95 = $8;
+ $96 = (($94) + ($95<<1)|0);
+ $97 = HEAP16[$96>>1]|0;
+ $98 = $97 << 16 >> 16;
+ $99 = $13;
+ $100 = (($99) + ($98))|0;
+ $13 = $100;
+ $101 = $8;
+ $102 = (($101) + 1)|0;
+ $8 = $102;
}
- $49 = $I;
- $arrayidx58 = (($44) + ($49<<1)|0);
- $50 = HEAP16[$arrayidx58>>1]|0;
- $conv59 = $50 << 16 >> 16;
- $shr = $conv59 >> 1;
- $51 = $min_center_Q15;
- $add60 = (($51) + ($shr))|0;
- $min_center_Q15 = $add60;
- $max_center_Q15 = 32768;
- $52 = $L$addr;
- $k = $52;
+ $103 = $7;
+ $104 = (($94) + ($103<<1)|0);
+ $105 = HEAP16[$104>>1]|0;
+ $106 = $105 << 16 >> 16;
+ $107 = $106 >> 1;
+ $108 = $13;
+ $109 = (($108) + ($107))|0;
+ $13 = $109;
+ $14 = 32768;
+ $110 = $5;
+ $8 = $110;
while(1) {
- $53 = $k;
- $54 = $I;
- $cmp62 = ($53|0)>($54|0);
- $55 = $NDeltaMin_Q15$addr;
- if (!($cmp62)) {
+ $111 = $8;
+ $112 = $7;
+ $113 = ($111|0)>($112|0);
+ $114 = $4;
+ if (!($113)) {
break;
}
- $56 = $k;
- $arrayidx65 = (($55) + ($56<<1)|0);
- $57 = HEAP16[$arrayidx65>>1]|0;
- $conv66 = $57 << 16 >> 16;
- $58 = $max_center_Q15;
- $sub67 = (($58) - ($conv66))|0;
- $max_center_Q15 = $sub67;
- $59 = $k;
- $dec = (($59) + -1)|0;
- $k = $dec;
+ $115 = $8;
+ $116 = (($114) + ($115<<1)|0);
+ $117 = HEAP16[$116>>1]|0;
+ $118 = $117 << 16 >> 16;
+ $119 = $14;
+ $120 = (($119) - ($118))|0;
+ $14 = $120;
+ $121 = $8;
+ $122 = (($121) + -1)|0;
+ $8 = $122;
}
- $60 = $I;
- $arrayidx70 = (($55) + ($60<<1)|0);
- $61 = HEAP16[$arrayidx70>>1]|0;
- $conv71 = $61 << 16 >> 16;
- $shr72 = $conv71 >> 1;
- $62 = $max_center_Q15;
- $sub73 = (($62) - ($shr72))|0;
- $max_center_Q15 = $sub73;
- $63 = $min_center_Q15;
- $64 = $max_center_Q15;
- $cmp74 = ($63|0)>($64|0);
- $65 = $NLSF_Q15$addr;
- $66 = $I;
- $sub76 = (($66) - 1)|0;
- $arrayidx77 = (($65) + ($sub76<<1)|0);
- $67 = HEAP16[$arrayidx77>>1]|0;
- $conv78 = $67 << 16 >> 16;
- $68 = $NLSF_Q15$addr;
- $69 = $I;
- $arrayidx79 = (($68) + ($69<<1)|0);
- $70 = HEAP16[$arrayidx79>>1]|0;
- $conv80 = $70 << 16 >> 16;
- $add81 = (($conv78) + ($conv80))|0;
- $shr82 = $add81 >> 1;
- $71 = $NLSF_Q15$addr;
- $72 = $I;
- $sub83 = (($72) - 1)|0;
- $arrayidx84 = (($71) + ($sub83<<1)|0);
- $73 = HEAP16[$arrayidx84>>1]|0;
- $conv85 = $73 << 16 >> 16;
- $74 = $NLSF_Q15$addr;
- $75 = $I;
- $arrayidx86 = (($74) + ($75<<1)|0);
- $76 = HEAP16[$arrayidx86>>1]|0;
- $conv87 = $76 << 16 >> 16;
- $add88 = (($conv85) + ($conv87))|0;
- $and = $add88 & 1;
- $add89 = (($shr82) + ($and))|0;
+ $123 = $7;
+ $124 = (($114) + ($123<<1)|0);
+ $125 = HEAP16[$124>>1]|0;
+ $126 = $125 << 16 >> 16;
+ $127 = $126 >> 1;
+ $128 = $14;
+ $129 = (($128) - ($127))|0;
+ $14 = $129;
+ $130 = $13;
+ $131 = $14;
+ $132 = ($130|0)>($131|0);
+ $133 = $3;
+ $134 = $7;
+ $135 = (($134) - 1)|0;
+ $136 = (($133) + ($135<<1)|0);
+ $137 = HEAP16[$136>>1]|0;
+ $138 = $137 << 16 >> 16;
+ $139 = $3;
+ $140 = $7;
+ $141 = (($139) + ($140<<1)|0);
+ $142 = HEAP16[$141>>1]|0;
+ $143 = $142 << 16 >> 16;
+ $144 = (($138) + ($143))|0;
+ $145 = $144 >> 1;
+ $146 = $3;
+ $147 = $7;
+ $148 = (($147) - 1)|0;
+ $149 = (($146) + ($148<<1)|0);
+ $150 = HEAP16[$149>>1]|0;
+ $151 = $150 << 16 >> 16;
+ $152 = $3;
+ $153 = $7;
+ $154 = (($152) + ($153<<1)|0);
+ $155 = HEAP16[$154>>1]|0;
+ $156 = $155 << 16 >> 16;
+ $157 = (($151) + ($156))|0;
+ $158 = $157 & 1;
+ $159 = (($145) + ($158))|0;
do {
- if ($cmp74) {
- $77 = $min_center_Q15;
- $cmp90 = ($add89|0)>($77|0);
- if ($cmp90) {
- $78 = $min_center_Q15;
- $cond188 = $78;
+ if ($132) {
+ $160 = $13;
+ $161 = ($159|0)>($160|0);
+ if ($161) {
+ $162 = $13;
+ $281 = $162;
break;
}
- $79 = $NLSF_Q15$addr;
- $80 = $I;
- $sub93 = (($80) - 1)|0;
- $arrayidx94 = (($79) + ($sub93<<1)|0);
- $81 = HEAP16[$arrayidx94>>1]|0;
- $conv95 = $81 << 16 >> 16;
- $82 = $NLSF_Q15$addr;
- $83 = $I;
- $arrayidx96 = (($82) + ($83<<1)|0);
- $84 = HEAP16[$arrayidx96>>1]|0;
- $conv97 = $84 << 16 >> 16;
- $add98 = (($conv95) + ($conv97))|0;
- $shr99 = $add98 >> 1;
- $85 = $NLSF_Q15$addr;
- $86 = $I;
- $sub100 = (($86) - 1)|0;
- $arrayidx101 = (($85) + ($sub100<<1)|0);
- $87 = HEAP16[$arrayidx101>>1]|0;
- $conv102 = $87 << 16 >> 16;
- $88 = $NLSF_Q15$addr;
- $89 = $I;
- $arrayidx103 = (($88) + ($89<<1)|0);
- $90 = HEAP16[$arrayidx103>>1]|0;
- $conv104 = $90 << 16 >> 16;
- $add105 = (($conv102) + ($conv104))|0;
- $and106 = $add105 & 1;
- $add107 = (($shr99) + ($and106))|0;
- $91 = $max_center_Q15;
- $cmp108 = ($add107|0)<($91|0);
- if ($cmp108) {
- $92 = $max_center_Q15;
- $cond188 = $92;
+ $163 = $3;
+ $164 = $7;
+ $165 = (($164) - 1)|0;
+ $166 = (($163) + ($165<<1)|0);
+ $167 = HEAP16[$166>>1]|0;
+ $168 = $167 << 16 >> 16;
+ $169 = $3;
+ $170 = $7;
+ $171 = (($169) + ($170<<1)|0);
+ $172 = HEAP16[$171>>1]|0;
+ $173 = $172 << 16 >> 16;
+ $174 = (($168) + ($173))|0;
+ $175 = $174 >> 1;
+ $176 = $3;
+ $177 = $7;
+ $178 = (($177) - 1)|0;
+ $179 = (($176) + ($178<<1)|0);
+ $180 = HEAP16[$179>>1]|0;
+ $181 = $180 << 16 >> 16;
+ $182 = $3;
+ $183 = $7;
+ $184 = (($182) + ($183<<1)|0);
+ $185 = HEAP16[$184>>1]|0;
+ $186 = $185 << 16 >> 16;
+ $187 = (($181) + ($186))|0;
+ $188 = $187 & 1;
+ $189 = (($175) + ($188))|0;
+ $190 = $14;
+ $191 = ($189|0)<($190|0);
+ if ($191) {
+ $192 = $14;
+ $281 = $192;
break;
} else {
- $93 = $NLSF_Q15$addr;
- $94 = $I;
- $sub112 = (($94) - 1)|0;
- $arrayidx113 = (($93) + ($sub112<<1)|0);
- $95 = HEAP16[$arrayidx113>>1]|0;
- $conv114 = $95 << 16 >> 16;
- $96 = $NLSF_Q15$addr;
- $97 = $I;
- $arrayidx115 = (($96) + ($97<<1)|0);
- $98 = HEAP16[$arrayidx115>>1]|0;
- $conv116 = $98 << 16 >> 16;
- $add117 = (($conv114) + ($conv116))|0;
- $shr118 = $add117 >> 1;
- $99 = $NLSF_Q15$addr;
- $100 = $I;
- $sub119 = (($100) - 1)|0;
- $arrayidx120 = (($99) + ($sub119<<1)|0);
- $101 = HEAP16[$arrayidx120>>1]|0;
- $conv121 = $101 << 16 >> 16;
- $102 = $NLSF_Q15$addr;
- $103 = $I;
- $arrayidx122 = (($102) + ($103<<1)|0);
- $104 = HEAP16[$arrayidx122>>1]|0;
- $conv123 = $104 << 16 >> 16;
- $add124 = (($conv121) + ($conv123))|0;
- $and125 = $add124 & 1;
- $add126 = (($shr118) + ($and125))|0;
- $cond188 = $add126;
+ $193 = $3;
+ $194 = $7;
+ $195 = (($194) - 1)|0;
+ $196 = (($193) + ($195<<1)|0);
+ $197 = HEAP16[$196>>1]|0;
+ $198 = $197 << 16 >> 16;
+ $199 = $3;
+ $200 = $7;
+ $201 = (($199) + ($200<<1)|0);
+ $202 = HEAP16[$201>>1]|0;
+ $203 = $202 << 16 >> 16;
+ $204 = (($198) + ($203))|0;
+ $205 = $204 >> 1;
+ $206 = $3;
+ $207 = $7;
+ $208 = (($207) - 1)|0;
+ $209 = (($206) + ($208<<1)|0);
+ $210 = HEAP16[$209>>1]|0;
+ $211 = $210 << 16 >> 16;
+ $212 = $3;
+ $213 = $7;
+ $214 = (($212) + ($213<<1)|0);
+ $215 = HEAP16[$214>>1]|0;
+ $216 = $215 << 16 >> 16;
+ $217 = (($211) + ($216))|0;
+ $218 = $217 & 1;
+ $219 = (($205) + ($218))|0;
+ $281 = $219;
break;
}
} else {
- $105 = $max_center_Q15;
- $cmp145 = ($add89|0)>($105|0);
- if ($cmp145) {
- $106 = $max_center_Q15;
- $cond188 = $106;
+ $220 = $14;
+ $221 = ($159|0)>($220|0);
+ if ($221) {
+ $222 = $14;
+ $281 = $222;
break;
}
- $107 = $NLSF_Q15$addr;
- $108 = $I;
- $sub149 = (($108) - 1)|0;
- $arrayidx150 = (($107) + ($sub149<<1)|0);
- $109 = HEAP16[$arrayidx150>>1]|0;
- $conv151 = $109 << 16 >> 16;
- $110 = $NLSF_Q15$addr;
- $111 = $I;
- $arrayidx152 = (($110) + ($111<<1)|0);
- $112 = HEAP16[$arrayidx152>>1]|0;
- $conv153 = $112 << 16 >> 16;
- $add154 = (($conv151) + ($conv153))|0;
- $shr155 = $add154 >> 1;
- $113 = $NLSF_Q15$addr;
- $114 = $I;
- $sub156 = (($114) - 1)|0;
- $arrayidx157 = (($113) + ($sub156<<1)|0);
- $115 = HEAP16[$arrayidx157>>1]|0;
- $conv158 = $115 << 16 >> 16;
- $116 = $NLSF_Q15$addr;
- $117 = $I;
- $arrayidx159 = (($116) + ($117<<1)|0);
- $118 = HEAP16[$arrayidx159>>1]|0;
- $conv160 = $118 << 16 >> 16;
- $add161 = (($conv158) + ($conv160))|0;
- $and162 = $add161 & 1;
- $add163 = (($shr155) + ($and162))|0;
- $119 = $min_center_Q15;
- $cmp164 = ($add163|0)<($119|0);
- if ($cmp164) {
- $120 = $min_center_Q15;
- $cond188 = $120;
+ $223 = $3;
+ $224 = $7;
+ $225 = (($224) - 1)|0;
+ $226 = (($223) + ($225<<1)|0);
+ $227 = HEAP16[$226>>1]|0;
+ $228 = $227 << 16 >> 16;
+ $229 = $3;
+ $230 = $7;
+ $231 = (($229) + ($230<<1)|0);
+ $232 = HEAP16[$231>>1]|0;
+ $233 = $232 << 16 >> 16;
+ $234 = (($228) + ($233))|0;
+ $235 = $234 >> 1;
+ $236 = $3;
+ $237 = $7;
+ $238 = (($237) - 1)|0;
+ $239 = (($236) + ($238<<1)|0);
+ $240 = HEAP16[$239>>1]|0;
+ $241 = $240 << 16 >> 16;
+ $242 = $3;
+ $243 = $7;
+ $244 = (($242) + ($243<<1)|0);
+ $245 = HEAP16[$244>>1]|0;
+ $246 = $245 << 16 >> 16;
+ $247 = (($241) + ($246))|0;
+ $248 = $247 & 1;
+ $249 = (($235) + ($248))|0;
+ $250 = $13;
+ $251 = ($249|0)<($250|0);
+ if ($251) {
+ $252 = $13;
+ $281 = $252;
break;
} else {
- $121 = $NLSF_Q15$addr;
- $122 = $I;
- $sub168 = (($122) - 1)|0;
- $arrayidx169 = (($121) + ($sub168<<1)|0);
- $123 = HEAP16[$arrayidx169>>1]|0;
- $conv170 = $123 << 16 >> 16;
- $124 = $NLSF_Q15$addr;
- $125 = $I;
- $arrayidx171 = (($124) + ($125<<1)|0);
- $126 = HEAP16[$arrayidx171>>1]|0;
- $conv172 = $126 << 16 >> 16;
- $add173 = (($conv170) + ($conv172))|0;
- $shr174 = $add173 >> 1;
- $127 = $NLSF_Q15$addr;
- $128 = $I;
- $sub175 = (($128) - 1)|0;
- $arrayidx176 = (($127) + ($sub175<<1)|0);
- $129 = HEAP16[$arrayidx176>>1]|0;
- $conv177 = $129 << 16 >> 16;
- $130 = $NLSF_Q15$addr;
- $131 = $I;
- $arrayidx178 = (($130) + ($131<<1)|0);
- $132 = HEAP16[$arrayidx178>>1]|0;
- $conv179 = $132 << 16 >> 16;
- $add180 = (($conv177) + ($conv179))|0;
- $and181 = $add180 & 1;
- $add182 = (($shr174) + ($and181))|0;
- $cond188 = $add182;
+ $253 = $3;
+ $254 = $7;
+ $255 = (($254) - 1)|0;
+ $256 = (($253) + ($255<<1)|0);
+ $257 = HEAP16[$256>>1]|0;
+ $258 = $257 << 16 >> 16;
+ $259 = $3;
+ $260 = $7;
+ $261 = (($259) + ($260<<1)|0);
+ $262 = HEAP16[$261>>1]|0;
+ $263 = $262 << 16 >> 16;
+ $264 = (($258) + ($263))|0;
+ $265 = $264 >> 1;
+ $266 = $3;
+ $267 = $7;
+ $268 = (($267) - 1)|0;
+ $269 = (($266) + ($268<<1)|0);
+ $270 = HEAP16[$269>>1]|0;
+ $271 = $270 << 16 >> 16;
+ $272 = $3;
+ $273 = $7;
+ $274 = (($272) + ($273<<1)|0);
+ $275 = HEAP16[$274>>1]|0;
+ $276 = $275 << 16 >> 16;
+ $277 = (($271) + ($276))|0;
+ $278 = $277 & 1;
+ $279 = (($265) + ($278))|0;
+ $281 = $279;
break;
}
}
} while(0);
- $conv189 = $cond188&65535;
- $center_freq_Q15 = $conv189;
- $133 = $center_freq_Q15;
- $conv190 = $133 << 16 >> 16;
- $134 = $NDeltaMin_Q15$addr;
- $135 = $I;
- $arrayidx191 = (($134) + ($135<<1)|0);
- $136 = HEAP16[$arrayidx191>>1]|0;
- $conv192 = $136 << 16 >> 16;
- $shr193 = $conv192 >> 1;
- $sub194 = (($conv190) - ($shr193))|0;
- $conv195 = $sub194&65535;
- $137 = $NLSF_Q15$addr;
- $138 = $I;
- $sub196 = (($138) - 1)|0;
- $arrayidx197 = (($137) + ($sub196<<1)|0);
- HEAP16[$arrayidx197>>1] = $conv195;
- $139 = $NLSF_Q15$addr;
- $140 = $I;
- $sub198 = (($140) - 1)|0;
- $arrayidx199 = (($139) + ($sub198<<1)|0);
- $141 = HEAP16[$arrayidx199>>1]|0;
- $conv200 = $141 << 16 >> 16;
- $142 = $NDeltaMin_Q15$addr;
- $143 = $I;
- $arrayidx201 = (($142) + ($143<<1)|0);
- $144 = HEAP16[$arrayidx201>>1]|0;
- $conv202 = $144 << 16 >> 16;
- $add203 = (($conv200) + ($conv202))|0;
- $conv204 = $add203&65535;
- $145 = $NLSF_Q15$addr;
- $146 = $I;
- $arrayidx205 = (($145) + ($146<<1)|0);
- $arrayidx205$sink = $arrayidx205;$conv204$sink = $conv204;
+ $280 = $281&65535;
+ $10 = $280;
+ $282 = $10;
+ $283 = $282 << 16 >> 16;
+ $284 = $4;
+ $285 = $7;
+ $286 = (($284) + ($285<<1)|0);
+ $287 = HEAP16[$286>>1]|0;
+ $288 = $287 << 16 >> 16;
+ $289 = $288 >> 1;
+ $290 = (($283) - ($289))|0;
+ $291 = $290&65535;
+ $292 = $3;
+ $293 = $7;
+ $294 = (($293) - 1)|0;
+ $295 = (($292) + ($294<<1)|0);
+ HEAP16[$295>>1] = $291;
+ $296 = $3;
+ $297 = $7;
+ $298 = (($297) - 1)|0;
+ $299 = (($296) + ($298<<1)|0);
+ $300 = HEAP16[$299>>1]|0;
+ $301 = $300 << 16 >> 16;
+ $302 = $4;
+ $303 = $7;
+ $304 = (($302) + ($303<<1)|0);
+ $305 = HEAP16[$304>>1]|0;
+ $306 = $305 << 16 >> 16;
+ $307 = (($301) + ($306))|0;
+ $308 = $307&65535;
+ $309 = $3;
+ $310 = $7;
+ $311 = (($309) + ($310<<1)|0);
+ $$sink = $308;$$sink1 = $311;
}
- HEAP16[$arrayidx205$sink>>1] = $conv204$sink;
+ HEAP16[$$sink1>>1] = $$sink;
}
- $147 = $loops;
- $inc209 = (($147) + 1)|0;
- $loops = $inc209;
+ $312 = $9;
+ $313 = (($312) + 1)|0;
+ $9 = $313;
}
if ((label|0) == 42) {
STACKTOP = sp;return;
}
- $148 = $loops;
- $cmp211 = ($148|0)==(20);
- if (!($cmp211)) {
+ $314 = $9;
+ $315 = ($314|0)==(20);
+ if (!($315)) {
STACKTOP = sp;return;
}
- $149 = $NLSF_Q15$addr;
- $150 = $L$addr;
- _silk_insertion_sort_increasing_all_values_int16($149,$150);
- $151 = $NLSF_Q15$addr;
- $152 = HEAP16[$151>>1]|0;
- $conv216 = $152 << 16 >> 16;
- $153 = $NDeltaMin_Q15$addr;
- $154 = HEAP16[$153>>1]|0;
- $conv218 = $154 << 16 >> 16;
- $call = (_silk_max_int_492($conv216,$conv218)|0);
- $conv219 = $call&65535;
- $155 = $NLSF_Q15$addr;
- HEAP16[$155>>1] = $conv219;
- $i = 1;
+ $316 = $3;
+ $317 = $5;
+ _silk_insertion_sort_increasing_all_values_int16($316,$317);
+ $318 = $3;
+ $319 = HEAP16[$318>>1]|0;
+ $320 = $319 << 16 >> 16;
+ $321 = $4;
+ $322 = HEAP16[$321>>1]|0;
+ $323 = $322 << 16 >> 16;
+ $324 = (_silk_max_int_492($320,$323)|0);
+ $325 = $324&65535;
+ $326 = $3;
+ HEAP16[$326>>1] = $325;
+ $6 = 1;
while(1) {
- $156 = $i;
- $157 = $L$addr;
- $cmp222 = ($156|0)<($157|0);
- $158 = $NLSF_Q15$addr;
- if (!($cmp222)) {
+ $327 = $6;
+ $328 = $5;
+ $329 = ($327|0)<($328|0);
+ $330 = $3;
+ if (!($329)) {
break;
}
- $159 = $i;
- $arrayidx225 = (($158) + ($159<<1)|0);
- $160 = HEAP16[$arrayidx225>>1]|0;
- $conv226 = $160 << 16 >> 16;
- $161 = $NLSF_Q15$addr;
- $162 = $i;
- $sub227 = (($162) - 1)|0;
- $arrayidx228 = (($161) + ($sub227<<1)|0);
- $163 = HEAP16[$arrayidx228>>1]|0;
- $conv229 = $163 << 16 >> 16;
- $164 = $NDeltaMin_Q15$addr;
- $165 = $i;
- $arrayidx230 = (($164) + ($165<<1)|0);
- $166 = HEAP16[$arrayidx230>>1]|0;
- $conv231 = $166 << 16 >> 16;
- $add232 = (($conv229) + ($conv231))|0;
- $call233 = (_silk_max_int_492($conv226,$add232)|0);
- $conv234 = $call233&65535;
- $167 = $NLSF_Q15$addr;
- $168 = $i;
- $arrayidx235 = (($167) + ($168<<1)|0);
- HEAP16[$arrayidx235>>1] = $conv234;
- $169 = $i;
- $inc237 = (($169) + 1)|0;
- $i = $inc237;
+ $331 = $6;
+ $332 = (($330) + ($331<<1)|0);
+ $333 = HEAP16[$332>>1]|0;
+ $334 = $333 << 16 >> 16;
+ $335 = $3;
+ $336 = $6;
+ $337 = (($336) - 1)|0;
+ $338 = (($335) + ($337<<1)|0);
+ $339 = HEAP16[$338>>1]|0;
+ $340 = $339 << 16 >> 16;
+ $341 = $4;
+ $342 = $6;
+ $343 = (($341) + ($342<<1)|0);
+ $344 = HEAP16[$343>>1]|0;
+ $345 = $344 << 16 >> 16;
+ $346 = (($340) + ($345))|0;
+ $347 = (_silk_max_int_492($334,$346)|0);
+ $348 = $347&65535;
+ $349 = $3;
+ $350 = $6;
+ $351 = (($349) + ($350<<1)|0);
+ HEAP16[$351>>1] = $348;
+ $352 = $6;
+ $353 = (($352) + 1)|0;
+ $6 = $353;
}
- $170 = $L$addr;
- $sub239 = (($170) - 1)|0;
- $arrayidx240 = (($158) + ($sub239<<1)|0);
- $171 = HEAP16[$arrayidx240>>1]|0;
- $conv241 = $171 << 16 >> 16;
- $172 = $NDeltaMin_Q15$addr;
- $173 = $L$addr;
- $arrayidx242 = (($172) + ($173<<1)|0);
- $174 = HEAP16[$arrayidx242>>1]|0;
- $conv243 = $174 << 16 >> 16;
- $sub244 = (32768 - ($conv243))|0;
- $call245 = (_silk_min_int_493($conv241,$sub244)|0);
- $conv246 = $call245&65535;
- $175 = $NLSF_Q15$addr;
- $176 = $L$addr;
- $sub247 = (($176) - 1)|0;
- $arrayidx248 = (($175) + ($sub247<<1)|0);
- HEAP16[$arrayidx248>>1] = $conv246;
- $177 = $L$addr;
- $sub249 = (($177) - 2)|0;
- $i = $sub249;
+ $354 = $5;
+ $355 = (($354) - 1)|0;
+ $356 = (($330) + ($355<<1)|0);
+ $357 = HEAP16[$356>>1]|0;
+ $358 = $357 << 16 >> 16;
+ $359 = $4;
+ $360 = $5;
+ $361 = (($359) + ($360<<1)|0);
+ $362 = HEAP16[$361>>1]|0;
+ $363 = $362 << 16 >> 16;
+ $364 = (32768 - ($363))|0;
+ $365 = (_silk_min_int_493($358,$364)|0);
+ $366 = $365&65535;
+ $367 = $3;
+ $368 = $5;
+ $369 = (($368) - 1)|0;
+ $370 = (($367) + ($369<<1)|0);
+ HEAP16[$370>>1] = $366;
+ $371 = $5;
+ $372 = (($371) - 2)|0;
+ $6 = $372;
while(1) {
- $178 = $i;
- $cmp251 = ($178|0)>=(0);
- if (!($cmp251)) {
+ $373 = $6;
+ $374 = ($373|0)>=(0);
+ if (!($374)) {
break;
}
- $179 = $NLSF_Q15$addr;
- $180 = $i;
- $arrayidx254 = (($179) + ($180<<1)|0);
- $181 = HEAP16[$arrayidx254>>1]|0;
- $conv255 = $181 << 16 >> 16;
- $182 = $NLSF_Q15$addr;
- $183 = $i;
- $add256 = (($183) + 1)|0;
- $arrayidx257 = (($182) + ($add256<<1)|0);
- $184 = HEAP16[$arrayidx257>>1]|0;
- $conv258 = $184 << 16 >> 16;
- $185 = $NDeltaMin_Q15$addr;
- $186 = $i;
- $add259 = (($186) + 1)|0;
- $arrayidx260 = (($185) + ($add259<<1)|0);
- $187 = HEAP16[$arrayidx260>>1]|0;
- $conv261 = $187 << 16 >> 16;
- $sub262 = (($conv258) - ($conv261))|0;
- $call263 = (_silk_min_int_493($conv255,$sub262)|0);
- $conv264 = $call263&65535;
- $188 = $NLSF_Q15$addr;
- $189 = $i;
- $arrayidx265 = (($188) + ($189<<1)|0);
- HEAP16[$arrayidx265>>1] = $conv264;
- $190 = $i;
- $dec267 = (($190) + -1)|0;
- $i = $dec267;
+ $375 = $3;
+ $376 = $6;
+ $377 = (($375) + ($376<<1)|0);
+ $378 = HEAP16[$377>>1]|0;
+ $379 = $378 << 16 >> 16;
+ $380 = $3;
+ $381 = $6;
+ $382 = (($381) + 1)|0;
+ $383 = (($380) + ($382<<1)|0);
+ $384 = HEAP16[$383>>1]|0;
+ $385 = $384 << 16 >> 16;
+ $386 = $4;
+ $387 = $6;
+ $388 = (($387) + 1)|0;
+ $389 = (($386) + ($388<<1)|0);
+ $390 = HEAP16[$389>>1]|0;
+ $391 = $390 << 16 >> 16;
+ $392 = (($385) - ($391))|0;
+ $393 = (_silk_min_int_493($379,$392)|0);
+ $394 = $393&65535;
+ $395 = $3;
+ $396 = $6;
+ $397 = (($395) + ($396<<1)|0);
+ HEAP16[$397>>1] = $394;
+ $398 = $6;
+ $399 = (($398) + -1)|0;
+ $6 = $399;
}
STACKTOP = sp;return;
}
-function _silk_max_int_492($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
+function _silk_max_int_492($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
}
-function _silk_min_int_493($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
+function _silk_min_int_493($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
}
-function _silk_NLSF_VQ_weights_laroia($pNLSFW_Q_OUT,$pNLSF_Q15,$D) {
- $pNLSFW_Q_OUT = $pNLSFW_Q_OUT|0;
- $pNLSF_Q15 = $pNLSF_Q15|0;
- $D = $D|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0, $D$addr = 0, $add = 0, $add12 = 0, $add20 = 0, $add24 = 0, $add27 = 0, $add33 = 0, $add36 = 0, $add38 = 0, $add45 = 0, $arrayidx1 = 0, $arrayidx13 = 0, $arrayidx15 = 0, $arrayidx23 = 0, $arrayidx25 = 0, $arrayidx28 = 0, $arrayidx37 = 0;
- var $arrayidx40 = 0, $arrayidx49 = 0, $call = 0, $call18 = 0, $call21 = 0, $call31 = 0, $call34 = 0, $call43 = 0, $call46 = 0, $call5 = 0, $call7 = 0, $cmp = 0, $conv = 0, $conv14 = 0, $conv16 = 0, $conv2 = 0, $conv22 = 0, $conv26 = 0, $conv29 = 0, $conv35 = 0;
- var $conv4 = 0, $conv41 = 0, $conv47 = 0, $conv8 = 0, $div = 0, $div19 = 0, $div32 = 0, $div44 = 0, $div6 = 0, $k = 0, $pNLSFW_Q_OUT$addr = 0, $pNLSF_Q15$addr = 0, $sub = 0, $sub10 = 0, $sub17 = 0, $sub30 = 0, $sub39 = 0, $sub42 = 0, $sub48 = 0, $tmp1_int = 0;
- var $tmp2_int = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $pNLSFW_Q_OUT$addr = $pNLSFW_Q_OUT;
- $pNLSF_Q15$addr = $pNLSF_Q15;
- $D$addr = $D;
- $0 = $pNLSF_Q15$addr;
- $1 = HEAP16[$0>>1]|0;
- $conv = $1 << 16 >> 16;
- $call = (_silk_max_int_496($conv,1)|0);
- $tmp1_int = $call;
- $2 = $tmp1_int;
- $div = (131072 / ($2|0))&-1;
- $tmp1_int = $div;
- $3 = $pNLSF_Q15$addr;
- $arrayidx1 = ((($3)) + 2|0);
- $4 = HEAP16[$arrayidx1>>1]|0;
- $conv2 = $4 << 16 >> 16;
- $5 = $pNLSF_Q15$addr;
- $6 = HEAP16[$5>>1]|0;
- $conv4 = $6 << 16 >> 16;
- $sub = (($conv2) - ($conv4))|0;
- $call5 = (_silk_max_int_496($sub,1)|0);
- $tmp2_int = $call5;
- $7 = $tmp2_int;
- $div6 = (131072 / ($7|0))&-1;
- $tmp2_int = $div6;
- $8 = $tmp1_int;
- $9 = $tmp2_int;
- $add = (($8) + ($9))|0;
- $call7 = (_silk_min_int_497($add,32767)|0);
- $conv8 = $call7&65535;
- $10 = $pNLSFW_Q_OUT$addr;
- HEAP16[$10>>1] = $conv8;
- $k = 1;
- while(1) {
- $11 = $k;
- $12 = $D$addr;
- $sub10 = (($12) - 1)|0;
- $cmp = ($11|0)<($sub10|0);
- $13 = $pNLSF_Q15$addr;
- if (!($cmp)) {
- break;
- }
- $14 = $k;
- $add12 = (($14) + 1)|0;
- $arrayidx13 = (($13) + ($add12<<1)|0);
- $15 = HEAP16[$arrayidx13>>1]|0;
- $conv14 = $15 << 16 >> 16;
- $16 = $pNLSF_Q15$addr;
- $17 = $k;
- $arrayidx15 = (($16) + ($17<<1)|0);
- $18 = HEAP16[$arrayidx15>>1]|0;
- $conv16 = $18 << 16 >> 16;
- $sub17 = (($conv14) - ($conv16))|0;
- $call18 = (_silk_max_int_496($sub17,1)|0);
- $tmp1_int = $call18;
- $19 = $tmp1_int;
- $div19 = (131072 / ($19|0))&-1;
- $tmp1_int = $div19;
- $20 = $tmp1_int;
- $21 = $tmp2_int;
- $add20 = (($20) + ($21))|0;
- $call21 = (_silk_min_int_497($add20,32767)|0);
- $conv22 = $call21&65535;
- $22 = $pNLSFW_Q_OUT$addr;
- $23 = $k;
- $arrayidx23 = (($22) + ($23<<1)|0);
- HEAP16[$arrayidx23>>1] = $conv22;
- $24 = $pNLSF_Q15$addr;
- $25 = $k;
- $add24 = (($25) + 2)|0;
- $arrayidx25 = (($24) + ($add24<<1)|0);
- $26 = HEAP16[$arrayidx25>>1]|0;
- $conv26 = $26 << 16 >> 16;
- $27 = $pNLSF_Q15$addr;
- $28 = $k;
- $add27 = (($28) + 1)|0;
- $arrayidx28 = (($27) + ($add27<<1)|0);
- $29 = HEAP16[$arrayidx28>>1]|0;
- $conv29 = $29 << 16 >> 16;
- $sub30 = (($conv26) - ($conv29))|0;
- $call31 = (_silk_max_int_496($sub30,1)|0);
- $tmp2_int = $call31;
- $30 = $tmp2_int;
- $div32 = (131072 / ($30|0))&-1;
- $tmp2_int = $div32;
- $31 = $tmp1_int;
- $32 = $tmp2_int;
- $add33 = (($31) + ($32))|0;
- $call34 = (_silk_min_int_497($add33,32767)|0);
- $conv35 = $call34&65535;
- $33 = $pNLSFW_Q_OUT$addr;
- $34 = $k;
- $add36 = (($34) + 1)|0;
- $arrayidx37 = (($33) + ($add36<<1)|0);
- HEAP16[$arrayidx37>>1] = $conv35;
- $35 = $k;
- $add38 = (($35) + 2)|0;
- $k = $add38;
- }
- $36 = $D$addr;
- $sub39 = (($36) - 1)|0;
- $arrayidx40 = (($13) + ($sub39<<1)|0);
- $37 = HEAP16[$arrayidx40>>1]|0;
- $conv41 = $37 << 16 >> 16;
- $sub42 = (32768 - ($conv41))|0;
- $call43 = (_silk_max_int_496($sub42,1)|0);
- $tmp1_int = $call43;
- $38 = $tmp1_int;
- $div44 = (131072 / ($38|0))&-1;
- $tmp1_int = $div44;
- $39 = $tmp1_int;
- $40 = $tmp2_int;
- $add45 = (($39) + ($40))|0;
- $call46 = (_silk_min_int_497($add45,32767)|0);
- $conv47 = $call46&65535;
- $41 = $pNLSFW_Q_OUT$addr;
- $42 = $D$addr;
- $sub48 = (($42) - 1)|0;
- $arrayidx49 = (($41) + ($sub48<<1)|0);
- HEAP16[$arrayidx49>>1] = $conv47;
- STACKTOP = sp;return;
-}
-function _silk_max_int_496($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)>($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_min_int_497($a,$b) {
- $a = $a|0;
- $b = $b|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $a$addr = 0, $b$addr = 0, $cmp = 0, $cond = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $a$addr = $a;
- $b$addr = $b;
- $0 = $a$addr;
- $1 = $b$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $a$addr;
- $3 = $b$addr;
- $cond = $cmp ? $2 : $3;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_resampler_down2_3($S,$out,$in,$inLen) {
- $S = $S|0;
- $out = $out|0;
- $in = $in|0;
- $inLen = $inLen|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $9 = 0;
- var $S$addr = 0, $add = 0, $add$ptr = 0, $add$ptr132 = 0, $add107 = 0, $add108 = 0, $add110 = 0, $add117 = 0, $add124 = 0, $add20 = 0, $add21 = 0, $add31 = 0, $add32 = 0, $add42 = 0, $add43 = 0, $add45 = 0, $add52 = 0, $add59 = 0, $add75 = 0, $add85 = 0;
- var $add86 = 0, $add96 = 0, $add97 = 0, $and = 0, $and103 = 0, $and16 = 0, $and27 = 0, $and38 = 0, $and71 = 0, $and81 = 0, $and92 = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx102 = 0, $arrayidx11 = 0, $arrayidx137 = 0, $arrayidx139 = 0, $arrayidx15 = 0, $arrayidx22 = 0, $arrayidx26 = 0;
- var $arrayidx33 = 0, $arrayidx37 = 0, $arrayidx66 = 0, $arrayidx70 = 0, $arrayidx76 = 0, $arrayidx80 = 0, $arrayidx87 = 0, $arrayidx91 = 0, $arrayidx98 = 0, $buf = 0, $buf_ptr = 0, $cmp = 0, $cmp112 = 0, $cmp119 = 0, $cmp134 = 0, $cmp4 = 0, $cmp47 = 0, $cmp54 = 0, $cond = 0, $cond129 = 0;
- var $cond64 = 0, $conv = 0, $conv100 = 0, $conv104 = 0, $conv13 = 0, $conv130 = 0, $conv17 = 0, $conv24 = 0, $conv28 = 0, $conv35 = 0, $conv39 = 0, $conv65 = 0, $conv68 = 0, $conv72 = 0, $conv78 = 0, $conv8 = 0, $conv82 = 0, $conv89 = 0, $conv93 = 0, $counter = 0;
- var $in$addr = 0, $inLen$addr = 0, $incdec$ptr = 0, $incdec$ptr131 = 0, $mul = 0, $mul101 = 0, $mul105 = 0, $mul14 = 0, $mul18 = 0, $mul25 = 0, $mul29 = 0, $mul36 = 0, $mul40 = 0, $mul69 = 0, $mul73 = 0, $mul79 = 0, $mul83 = 0, $mul9 = 0, $mul90 = 0, $mul94 = 0;
- var $nSamplesIn = 0, $out$addr = 0, $res_Q6 = 0, $shr = 0, $shr10 = 0, $shr106 = 0, $shr109 = 0, $shr111 = 0, $shr116 = 0, $shr118 = 0, $shr12 = 0, $shr123 = 0, $shr125 = 0, $shr19 = 0, $shr23 = 0, $shr30 = 0, $shr34 = 0, $shr41 = 0, $shr44 = 0, $shr46 = 0;
- var $shr51 = 0, $shr53 = 0, $shr58 = 0, $shr60 = 0, $shr67 = 0, $shr74 = 0, $shr77 = 0, $shr84 = 0, $shr88 = 0, $shr95 = 0, $shr99 = 0, $sub = 0, $sub133 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 1968|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1968|0);
- $buf = sp;
- $S$addr = $S;
- $out$addr = $out;
- $in$addr = $in;
- $inLen$addr = $inLen;
- $0 = $S$addr;
- ;HEAP32[$buf>>2]=HEAP32[$0>>2]|0;HEAP32[$buf+4>>2]=HEAP32[$0+4>>2]|0;HEAP32[$buf+8>>2]=HEAP32[$0+8>>2]|0;HEAP32[$buf+12>>2]=HEAP32[$0+12>>2]|0;
- while(1) {
- $1 = $inLen$addr;
- $cmp = ($1|0)<(480);
- $2 = $inLen$addr;
- $cond = $cmp ? $2 : 480;
- $nSamplesIn = $cond;
- $3 = $S$addr;
- $arrayidx = ((($3)) + 16|0);
- $arrayidx1 = ((($buf)) + 16|0);
- $4 = $in$addr;
- $5 = $nSamplesIn;
- _silk_resampler_private_AR2($arrayidx,$arrayidx1,$4,25270,$5);
- $buf_ptr = $buf;
- $6 = $nSamplesIn;
- $counter = $6;
- while(1) {
- $7 = $counter;
- $cmp4 = ($7|0)>(2);
- if (!($cmp4)) {
- break;
- }
- $8 = $buf_ptr;
- $9 = HEAP32[$8>>2]|0;
- $shr = $9 >> 16;
- $10 = HEAP16[(25274)>>1]|0;
- $conv = $10 << 16 >> 16;
- $mul = Math_imul($shr, $conv)|0;
- $11 = $buf_ptr;
- $12 = HEAP32[$11>>2]|0;
- $and = $12 & 65535;
- $13 = HEAP16[(25274)>>1]|0;
- $conv8 = $13 << 16 >> 16;
- $mul9 = Math_imul($and, $conv8)|0;
- $shr10 = $mul9 >> 16;
- $add = (($mul) + ($shr10))|0;
- $res_Q6 = $add;
- $14 = $res_Q6;
- $15 = $buf_ptr;
- $arrayidx11 = ((($15)) + 4|0);
- $16 = HEAP32[$arrayidx11>>2]|0;
- $shr12 = $16 >> 16;
- $17 = HEAP16[(25276)>>1]|0;
- $conv13 = $17 << 16 >> 16;
- $mul14 = Math_imul($shr12, $conv13)|0;
- $18 = $buf_ptr;
- $arrayidx15 = ((($18)) + 4|0);
- $19 = HEAP32[$arrayidx15>>2]|0;
- $and16 = $19 & 65535;
- $20 = HEAP16[(25276)>>1]|0;
- $conv17 = $20 << 16 >> 16;
- $mul18 = Math_imul($and16, $conv17)|0;
- $shr19 = $mul18 >> 16;
- $add20 = (($mul14) + ($shr19))|0;
- $add21 = (($14) + ($add20))|0;
- $res_Q6 = $add21;
- $21 = $res_Q6;
- $22 = $buf_ptr;
- $arrayidx22 = ((($22)) + 8|0);
- $23 = HEAP32[$arrayidx22>>2]|0;
- $shr23 = $23 >> 16;
- $24 = HEAP16[(25280)>>1]|0;
- $conv24 = $24 << 16 >> 16;
- $mul25 = Math_imul($shr23, $conv24)|0;
- $25 = $buf_ptr;
- $arrayidx26 = ((($25)) + 8|0);
- $26 = HEAP32[$arrayidx26>>2]|0;
- $and27 = $26 & 65535;
- $27 = HEAP16[(25280)>>1]|0;
- $conv28 = $27 << 16 >> 16;
- $mul29 = Math_imul($and27, $conv28)|0;
- $shr30 = $mul29 >> 16;
- $add31 = (($mul25) + ($shr30))|0;
- $add32 = (($21) + ($add31))|0;
- $res_Q6 = $add32;
- $28 = $res_Q6;
- $29 = $buf_ptr;
- $arrayidx33 = ((($29)) + 12|0);
- $30 = HEAP32[$arrayidx33>>2]|0;
- $shr34 = $30 >> 16;
- $31 = HEAP16[(25278)>>1]|0;
- $conv35 = $31 << 16 >> 16;
- $mul36 = Math_imul($shr34, $conv35)|0;
- $32 = $buf_ptr;
- $arrayidx37 = ((($32)) + 12|0);
- $33 = HEAP32[$arrayidx37>>2]|0;
- $and38 = $33 & 65535;
- $34 = HEAP16[(25278)>>1]|0;
- $conv39 = $34 << 16 >> 16;
- $mul40 = Math_imul($and38, $conv39)|0;
- $shr41 = $mul40 >> 16;
- $add42 = (($mul36) + ($shr41))|0;
- $add43 = (($28) + ($add42))|0;
- $res_Q6 = $add43;
- $35 = $res_Q6;
- $shr44 = $35 >> 5;
- $add45 = (($shr44) + 1)|0;
- $shr46 = $add45 >> 1;
- $cmp47 = ($shr46|0)>(32767);
- if ($cmp47) {
- $cond64 = 32767;
- } else {
- $36 = $res_Q6;
- $shr51 = $36 >> 5;
- $add52 = (($shr51) + 1)|0;
- $shr53 = $add52 >> 1;
- $cmp54 = ($shr53|0)<(-32768);
- if ($cmp54) {
- $cond64 = -32768;
- } else {
- $37 = $res_Q6;
- $shr58 = $37 >> 5;
- $add59 = (($shr58) + 1)|0;
- $shr60 = $add59 >> 1;
- $cond64 = $shr60;
- }
- }
- $conv65 = $cond64&65535;
- $38 = $out$addr;
- $incdec$ptr = ((($38)) + 2|0);
- $out$addr = $incdec$ptr;
- HEAP16[$38>>1] = $conv65;
- $39 = $buf_ptr;
- $arrayidx66 = ((($39)) + 4|0);
- $40 = HEAP32[$arrayidx66>>2]|0;
- $shr67 = $40 >> 16;
- $41 = HEAP16[(25278)>>1]|0;
- $conv68 = $41 << 16 >> 16;
- $mul69 = Math_imul($shr67, $conv68)|0;
- $42 = $buf_ptr;
- $arrayidx70 = ((($42)) + 4|0);
- $43 = HEAP32[$arrayidx70>>2]|0;
- $and71 = $43 & 65535;
- $44 = HEAP16[(25278)>>1]|0;
- $conv72 = $44 << 16 >> 16;
- $mul73 = Math_imul($and71, $conv72)|0;
- $shr74 = $mul73 >> 16;
- $add75 = (($mul69) + ($shr74))|0;
- $res_Q6 = $add75;
- $45 = $res_Q6;
- $46 = $buf_ptr;
- $arrayidx76 = ((($46)) + 8|0);
- $47 = HEAP32[$arrayidx76>>2]|0;
- $shr77 = $47 >> 16;
- $48 = HEAP16[(25280)>>1]|0;
- $conv78 = $48 << 16 >> 16;
- $mul79 = Math_imul($shr77, $conv78)|0;
- $49 = $buf_ptr;
- $arrayidx80 = ((($49)) + 8|0);
- $50 = HEAP32[$arrayidx80>>2]|0;
- $and81 = $50 & 65535;
- $51 = HEAP16[(25280)>>1]|0;
- $conv82 = $51 << 16 >> 16;
- $mul83 = Math_imul($and81, $conv82)|0;
- $shr84 = $mul83 >> 16;
- $add85 = (($mul79) + ($shr84))|0;
- $add86 = (($45) + ($add85))|0;
- $res_Q6 = $add86;
- $52 = $res_Q6;
- $53 = $buf_ptr;
- $arrayidx87 = ((($53)) + 12|0);
- $54 = HEAP32[$arrayidx87>>2]|0;
- $shr88 = $54 >> 16;
- $55 = HEAP16[(25276)>>1]|0;
- $conv89 = $55 << 16 >> 16;
- $mul90 = Math_imul($shr88, $conv89)|0;
- $56 = $buf_ptr;
- $arrayidx91 = ((($56)) + 12|0);
- $57 = HEAP32[$arrayidx91>>2]|0;
- $and92 = $57 & 65535;
- $58 = HEAP16[(25276)>>1]|0;
- $conv93 = $58 << 16 >> 16;
- $mul94 = Math_imul($and92, $conv93)|0;
- $shr95 = $mul94 >> 16;
- $add96 = (($mul90) + ($shr95))|0;
- $add97 = (($52) + ($add96))|0;
- $res_Q6 = $add97;
- $59 = $res_Q6;
- $60 = $buf_ptr;
- $arrayidx98 = ((($60)) + 16|0);
- $61 = HEAP32[$arrayidx98>>2]|0;
- $shr99 = $61 >> 16;
- $62 = HEAP16[(25274)>>1]|0;
- $conv100 = $62 << 16 >> 16;
- $mul101 = Math_imul($shr99, $conv100)|0;
- $63 = $buf_ptr;
- $arrayidx102 = ((($63)) + 16|0);
- $64 = HEAP32[$arrayidx102>>2]|0;
- $and103 = $64 & 65535;
- $65 = HEAP16[(25274)>>1]|0;
- $conv104 = $65 << 16 >> 16;
- $mul105 = Math_imul($and103, $conv104)|0;
- $shr106 = $mul105 >> 16;
- $add107 = (($mul101) + ($shr106))|0;
- $add108 = (($59) + ($add107))|0;
- $res_Q6 = $add108;
- $66 = $res_Q6;
- $shr109 = $66 >> 5;
- $add110 = (($shr109) + 1)|0;
- $shr111 = $add110 >> 1;
- $cmp112 = ($shr111|0)>(32767);
- if ($cmp112) {
- $cond129 = 32767;
- } else {
- $67 = $res_Q6;
- $shr116 = $67 >> 5;
- $add117 = (($shr116) + 1)|0;
- $shr118 = $add117 >> 1;
- $cmp119 = ($shr118|0)<(-32768);
- if ($cmp119) {
- $cond129 = -32768;
- } else {
- $68 = $res_Q6;
- $shr123 = $68 >> 5;
- $add124 = (($shr123) + 1)|0;
- $shr125 = $add124 >> 1;
- $cond129 = $shr125;
- }
- }
- $conv130 = $cond129&65535;
- $69 = $out$addr;
- $incdec$ptr131 = ((($69)) + 2|0);
- $out$addr = $incdec$ptr131;
- HEAP16[$69>>1] = $conv130;
- $70 = $buf_ptr;
- $add$ptr = ((($70)) + 12|0);
- $buf_ptr = $add$ptr;
- $71 = $counter;
- $sub = (($71) - 3)|0;
- $counter = $sub;
- }
- $72 = $nSamplesIn;
- $73 = $in$addr;
- $add$ptr132 = (($73) + ($72<<1)|0);
- $in$addr = $add$ptr132;
- $74 = $nSamplesIn;
- $75 = $inLen$addr;
- $sub133 = (($75) - ($74))|0;
- $inLen$addr = $sub133;
- $76 = $inLen$addr;
- $cmp134 = ($76|0)>(0);
- if (!($cmp134)) {
- break;
- }
- $77 = $nSamplesIn;
- $arrayidx137 = (($buf) + ($77<<2)|0);
- ;HEAP32[$buf>>2]=HEAP32[$arrayidx137>>2]|0;HEAP32[$buf+4>>2]=HEAP32[$arrayidx137+4>>2]|0;HEAP32[$buf+8>>2]=HEAP32[$arrayidx137+8>>2]|0;HEAP32[$buf+12>>2]=HEAP32[$arrayidx137+12>>2]|0;
- }
- $78 = $S$addr;
- $79 = $nSamplesIn;
- $arrayidx139 = (($buf) + ($79<<2)|0);
- ;HEAP32[$78>>2]=HEAP32[$arrayidx139>>2]|0;HEAP32[$78+4>>2]=HEAP32[$arrayidx139+4>>2]|0;HEAP32[$78+8>>2]=HEAP32[$arrayidx139+8>>2]|0;HEAP32[$78+12>>2]=HEAP32[$arrayidx139+12>>2]|0;
- STACKTOP = sp;return;
-}
-function _silk_resampler_down2($S,$out,$in,$inLen) {
- $S = $S|0;
- $out = $out|0;
- $in = $in|0;
- $inLen = $inLen|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
- var $S$addr = 0, $X = 0, $Y = 0, $add = 0, $add12 = 0, $add23 = 0, $add25 = 0, $add26 = 0, $add27 = 0, $add30 = 0, $add35 = 0, $add42 = 0, $add6 = 0, $add8 = 0, $add9 = 0, $and = 0, $and20 = 0, $arrayidx = 0, $arrayidx13 = 0, $arrayidx16 = 0;
- var $arrayidx24 = 0, $arrayidx28 = 0, $arrayidx47 = 0, $cmp = 0, $cmp32 = 0, $cmp37 = 0, $cond45 = 0, $conv = 0, $conv14 = 0, $conv46 = 0, $in$addr = 0, $in32 = 0, $inLen$addr = 0, $inc = 0, $k = 0, $len2 = 0, $mul = 0, $mul11 = 0, $mul19 = 0, $mul21 = 0;
- var $mul3 = 0, $mul4 = 0, $out$addr = 0, $out32 = 0, $shl = 0, $shl15 = 0, $shr = 0, $shr18 = 0, $shr2 = 0, $shr22 = 0, $shr29 = 0, $shr31 = 0, $shr34 = 0, $shr36 = 0, $shr41 = 0, $shr43 = 0, $shr5 = 0, $sub = 0, $sub17 = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $S$addr = $S;
- $out$addr = $out;
- $in$addr = $in;
- $inLen$addr = $inLen;
- $0 = $inLen$addr;
- $shr = $0 >> 1;
- $len2 = $shr;
- $k = 0;
- while(1) {
- $1 = $k;
- $2 = $len2;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $in$addr;
- $4 = $k;
- $mul = $4<<1;
- $arrayidx = (($3) + ($mul<<1)|0);
- $5 = HEAP16[$arrayidx>>1]|0;
- $conv = $5 << 16 >> 16;
- $shl = $conv << 10;
- $in32 = $shl;
- $6 = $in32;
- $7 = $S$addr;
- $8 = HEAP32[$7>>2]|0;
- $sub = (($6) - ($8))|0;
- $Y = $sub;
- $9 = $Y;
- $10 = $Y;
- $shr2 = $10 >> 16;
- $mul3 = Math_imul($shr2, -25727)|0;
- $11 = $Y;
- $and = $11 & 65535;
- $mul4 = Math_imul($and, -25727)|0;
- $shr5 = $mul4 >> 16;
- $add = (($mul3) + ($shr5))|0;
- $add6 = (($9) + ($add))|0;
- $X = $add6;
- $12 = $S$addr;
- $13 = HEAP32[$12>>2]|0;
- $14 = $X;
- $add8 = (($13) + ($14))|0;
- $out32 = $add8;
- $15 = $in32;
- $16 = $X;
- $add9 = (($15) + ($16))|0;
- $17 = $S$addr;
- HEAP32[$17>>2] = $add9;
- $18 = $in$addr;
- $19 = $k;
- $mul11 = $19<<1;
- $add12 = (($mul11) + 1)|0;
- $arrayidx13 = (($18) + ($add12<<1)|0);
- $20 = HEAP16[$arrayidx13>>1]|0;
- $conv14 = $20 << 16 >> 16;
- $shl15 = $conv14 << 10;
- $in32 = $shl15;
- $21 = $in32;
- $22 = $S$addr;
- $arrayidx16 = ((($22)) + 4|0);
- $23 = HEAP32[$arrayidx16>>2]|0;
- $sub17 = (($21) - ($23))|0;
- $Y = $sub17;
- $24 = $Y;
- $shr18 = $24 >> 16;
- $mul19 = ($shr18*9872)|0;
- $25 = $Y;
- $and20 = $25 & 65535;
- $mul21 = ($and20*9872)|0;
- $shr22 = $mul21 >> 16;
- $add23 = (($mul19) + ($shr22))|0;
- $X = $add23;
- $26 = $out32;
- $27 = $S$addr;
- $arrayidx24 = ((($27)) + 4|0);
- $28 = HEAP32[$arrayidx24>>2]|0;
- $add25 = (($26) + ($28))|0;
- $out32 = $add25;
- $29 = $out32;
- $30 = $X;
- $add26 = (($29) + ($30))|0;
- $out32 = $add26;
- $31 = $in32;
- $32 = $X;
- $add27 = (($31) + ($32))|0;
- $33 = $S$addr;
- $arrayidx28 = ((($33)) + 4|0);
- HEAP32[$arrayidx28>>2] = $add27;
- $34 = $out32;
- $shr29 = $34 >> 10;
- $add30 = (($shr29) + 1)|0;
- $shr31 = $add30 >> 1;
- $cmp32 = ($shr31|0)>(32767);
- if ($cmp32) {
- $cond45 = 32767;
- } else {
- $35 = $out32;
- $shr34 = $35 >> 10;
- $add35 = (($shr34) + 1)|0;
- $shr36 = $add35 >> 1;
- $cmp37 = ($shr36|0)<(-32768);
- if ($cmp37) {
- $cond45 = -32768;
- } else {
- $36 = $out32;
- $shr41 = $36 >> 10;
- $add42 = (($shr41) + 1)|0;
- $shr43 = $add42 >> 1;
- $cond45 = $shr43;
- }
- }
- $conv46 = $cond45&65535;
- $37 = $out$addr;
- $38 = $k;
- $arrayidx47 = (($37) + ($38<<1)|0);
- HEAP16[$arrayidx47>>1] = $conv46;
- $39 = $k;
- $inc = (($39) + 1)|0;
- $k = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_resampler_private_AR2($S,$out_Q8,$in,$A_Q14,$len) {
- $S = $S|0;
- $out_Q8 = $out_Q8|0;
- $in = $in|0;
- $A_Q14 = $A_Q14|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $A_Q14$addr = 0, $S$addr = 0, $add = 0, $add11 = 0, $add12 = 0, $add23 = 0, $and = 0, $and18 = 0, $arrayidx1 = 0, $arrayidx15 = 0, $arrayidx19 = 0, $arrayidx2 = 0;
- var $arrayidx24 = 0, $arrayidx4 = 0, $cmp = 0, $conv = 0, $conv16 = 0, $conv20 = 0, $conv6 = 0, $conv8 = 0, $in$addr = 0, $inc = 0, $k = 0, $len$addr = 0, $mul = 0, $mul17 = 0, $mul21 = 0, $mul9 = 0, $out32 = 0, $out_Q8$addr = 0, $shl = 0, $shl3 = 0;
- var $shr = 0, $shr10 = 0, $shr14 = 0, $shr22 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $S$addr = $S;
- $out_Q8$addr = $out_Q8;
- $in$addr = $in;
- $A_Q14$addr = $A_Q14;
- $len$addr = $len;
- $k = 0;
- while(1) {
- $0 = $k;
- $1 = $len$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $S$addr;
- $3 = HEAP32[$2>>2]|0;
- $4 = $in$addr;
- $5 = $k;
- $arrayidx1 = (($4) + ($5<<1)|0);
- $6 = HEAP16[$arrayidx1>>1]|0;
- $conv = $6 << 16 >> 16;
- $shl = $conv << 8;
- $add = (($3) + ($shl))|0;
- $out32 = $add;
- $7 = $out32;
- $8 = $out_Q8$addr;
- $9 = $k;
- $arrayidx2 = (($8) + ($9<<2)|0);
- HEAP32[$arrayidx2>>2] = $7;
- $10 = $out32;
- $shl3 = $10 << 2;
- $out32 = $shl3;
- $11 = $S$addr;
- $arrayidx4 = ((($11)) + 4|0);
- $12 = HEAP32[$arrayidx4>>2]|0;
- $13 = $out32;
- $shr = $13 >> 16;
- $14 = $A_Q14$addr;
- $15 = HEAP16[$14>>1]|0;
- $conv6 = $15 << 16 >> 16;
- $mul = Math_imul($shr, $conv6)|0;
- $16 = $out32;
- $and = $16 & 65535;
- $17 = $A_Q14$addr;
- $18 = HEAP16[$17>>1]|0;
- $conv8 = $18 << 16 >> 16;
- $mul9 = Math_imul($and, $conv8)|0;
- $shr10 = $mul9 >> 16;
- $add11 = (($mul) + ($shr10))|0;
- $add12 = (($12) + ($add11))|0;
- $19 = $S$addr;
- HEAP32[$19>>2] = $add12;
- $20 = $out32;
- $shr14 = $20 >> 16;
- $21 = $A_Q14$addr;
- $arrayidx15 = ((($21)) + 2|0);
- $22 = HEAP16[$arrayidx15>>1]|0;
- $conv16 = $22 << 16 >> 16;
- $mul17 = Math_imul($shr14, $conv16)|0;
- $23 = $out32;
- $and18 = $23 & 65535;
- $24 = $A_Q14$addr;
- $arrayidx19 = ((($24)) + 2|0);
- $25 = HEAP16[$arrayidx19>>1]|0;
- $conv20 = $25 << 16 >> 16;
- $mul21 = Math_imul($and18, $conv20)|0;
- $shr22 = $mul21 >> 16;
- $add23 = (($mul17) + ($shr22))|0;
- $26 = $S$addr;
- $arrayidx24 = ((($26)) + 4|0);
- HEAP32[$arrayidx24>>2] = $add23;
- $27 = $k;
- $inc = (($27) + 1)|0;
- $k = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_sigm_Q15($in_Q5) {
- $in_Q5 = $in_Q5|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $and = 0, $and18 = 0, $arrayidx = 0;
- var $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx3 = 0, $cmp = 0, $cmp1 = 0, $cmp9 = 0, $conv = 0, $conv16 = 0, $conv17 = 0, $conv19 = 0, $conv20 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $in_Q5$addr = 0, $ind = 0, $mul = 0, $mul21 = 0, $retval = 0, $shr = 0;
- var $shr13 = 0, $sub = 0, $sub7 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in_Q5$addr = $in_Q5;
- $0 = $in_Q5$addr;
- $cmp = ($0|0)<(0);
- $1 = $in_Q5$addr;
- if ($cmp) {
- $sub = (0 - ($1))|0;
- $in_Q5$addr = $sub;
- $2 = $in_Q5$addr;
- $cmp1 = ($2|0)>=(192);
- if ($cmp1) {
- $retval = 0;
- $15 = $retval;
- STACKTOP = sp;return ($15|0);
- } else {
- $3 = $in_Q5$addr;
- $shr = $3 >> 5;
- $ind = $shr;
- $4 = $ind;
- $arrayidx = (22304 + ($4<<2)|0);
- $5 = HEAP32[$arrayidx>>2]|0;
- $6 = $ind;
- $arrayidx3 = (22328 + ($6<<2)|0);
- $7 = HEAP32[$arrayidx3>>2]|0;
- $conv = $7&65535;
- $conv4 = $conv << 16 >> 16;
- $8 = $in_Q5$addr;
- $and = $8 & 31;
- $conv5 = $and&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul = Math_imul($conv4, $conv6)|0;
- $sub7 = (($5) - ($mul))|0;
- $retval = $sub7;
- $15 = $retval;
- STACKTOP = sp;return ($15|0);
- }
- } else {
- $cmp9 = ($1|0)>=(192);
- if ($cmp9) {
- $retval = 32767;
- $15 = $retval;
- STACKTOP = sp;return ($15|0);
- } else {
- $9 = $in_Q5$addr;
- $shr13 = $9 >> 5;
- $ind = $shr13;
- $10 = $ind;
- $arrayidx14 = (22352 + ($10<<2)|0);
- $11 = HEAP32[$arrayidx14>>2]|0;
- $12 = $ind;
- $arrayidx15 = (22328 + ($12<<2)|0);
- $13 = HEAP32[$arrayidx15>>2]|0;
- $conv16 = $13&65535;
- $conv17 = $conv16 << 16 >> 16;
- $14 = $in_Q5$addr;
- $and18 = $14 & 31;
- $conv19 = $and18&65535;
- $conv20 = $conv19 << 16 >> 16;
- $mul21 = Math_imul($conv17, $conv20)|0;
- $add = (($11) + ($mul21))|0;
- $retval = $add;
- $15 = $retval;
- STACKTOP = sp;return ($15|0);
- }
- }
- return (0)|0;
-}
-function _silk_insertion_sort_increasing($a,$idx,$L,$K) {
- $a = $a|0;
- $idx = $idx|0;
- $L = $L|0;
- $K = $K|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $7 = 0, $8 = 0, $9 = 0, $K$addr = 0, $L$addr = 0, $a$addr = 0, $add = 0, $add13 = 0, $add17 = 0, $add19 = 0, $add40 = 0, $add43 = 0, $add48 = 0, $add50 = 0;
- var $arrayidx = 0, $arrayidx10 = 0, $arrayidx11 = 0, $arrayidx12 = 0, $arrayidx14 = 0, $arrayidx18 = 0, $arrayidx20 = 0, $arrayidx27 = 0, $arrayidx29 = 0, $arrayidx35 = 0, $arrayidx39 = 0, $arrayidx4 = 0, $arrayidx41 = 0, $arrayidx42 = 0, $arrayidx44 = 0, $arrayidx49 = 0, $arrayidx51 = 0, $arrayidx7 = 0, $cmp = 0, $cmp2 = 0;
- var $cmp25 = 0, $cmp30 = 0, $cmp33 = 0, $cmp36 = 0, $cmp6 = 0, $cmp8 = 0, $dec = 0, $dec46 = 0, $i = 0, $idx$addr = 0, $inc = 0, $inc22 = 0, $inc53 = 0, $j = 0, $sub = 0, $sub28 = 0, $sub31 = 0, $value = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a$addr = $a;
- $idx$addr = $idx;
- $L$addr = $L;
- $K$addr = $K;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $K$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $i;
- $3 = $idx$addr;
- $4 = $i;
- $arrayidx = (($3) + ($4<<2)|0);
- HEAP32[$arrayidx>>2] = $2;
- $5 = $i;
- $inc = (($5) + 1)|0;
- $i = $inc;
- }
- $i = 1;
- while(1) {
- $6 = $i;
- $7 = $K$addr;
- $cmp2 = ($6|0)<($7|0);
- if (!($cmp2)) {
- break;
- }
- $8 = $a$addr;
- $9 = $i;
- $arrayidx4 = (($8) + ($9<<2)|0);
- $10 = HEAP32[$arrayidx4>>2]|0;
- $value = $10;
- $11 = $i;
- $sub = (($11) - 1)|0;
- $j = $sub;
- while(1) {
- $12 = $j;
- $cmp6 = ($12|0)>=(0);
- if (!($cmp6)) {
- break;
- }
- $13 = $value;
- $14 = $a$addr;
- $15 = $j;
- $arrayidx7 = (($14) + ($15<<2)|0);
- $16 = HEAP32[$arrayidx7>>2]|0;
- $cmp8 = ($13|0)<($16|0);
- if (!($cmp8)) {
- break;
- }
- $17 = $a$addr;
- $18 = $j;
- $arrayidx10 = (($17) + ($18<<2)|0);
- $19 = HEAP32[$arrayidx10>>2]|0;
- $20 = $a$addr;
- $21 = $j;
- $add = (($21) + 1)|0;
- $arrayidx11 = (($20) + ($add<<2)|0);
- HEAP32[$arrayidx11>>2] = $19;
- $22 = $idx$addr;
- $23 = $j;
- $arrayidx12 = (($22) + ($23<<2)|0);
- $24 = HEAP32[$arrayidx12>>2]|0;
- $25 = $idx$addr;
- $26 = $j;
- $add13 = (($26) + 1)|0;
- $arrayidx14 = (($25) + ($add13<<2)|0);
- HEAP32[$arrayidx14>>2] = $24;
- $27 = $j;
- $dec = (($27) + -1)|0;
- $j = $dec;
- }
- $28 = $value;
- $29 = $a$addr;
- $30 = $j;
- $add17 = (($30) + 1)|0;
- $arrayidx18 = (($29) + ($add17<<2)|0);
- HEAP32[$arrayidx18>>2] = $28;
- $31 = $i;
- $32 = $idx$addr;
- $33 = $j;
- $add19 = (($33) + 1)|0;
- $arrayidx20 = (($32) + ($add19<<2)|0);
- HEAP32[$arrayidx20>>2] = $31;
- $34 = $i;
- $inc22 = (($34) + 1)|0;
- $i = $inc22;
- }
- $35 = $K$addr;
- $i = $35;
- while(1) {
- $36 = $i;
- $37 = $L$addr;
- $cmp25 = ($36|0)<($37|0);
- if (!($cmp25)) {
- break;
- }
- $38 = $a$addr;
- $39 = $i;
- $arrayidx27 = (($38) + ($39<<2)|0);
- $40 = HEAP32[$arrayidx27>>2]|0;
- $value = $40;
- $41 = $value;
- $42 = $a$addr;
- $43 = $K$addr;
- $sub28 = (($43) - 1)|0;
- $arrayidx29 = (($42) + ($sub28<<2)|0);
- $44 = HEAP32[$arrayidx29>>2]|0;
- $cmp30 = ($41|0)<($44|0);
- if ($cmp30) {
- $45 = $K$addr;
- $sub31 = (($45) - 2)|0;
- $j = $sub31;
- while(1) {
- $46 = $j;
- $cmp33 = ($46|0)>=(0);
- if (!($cmp33)) {
- break;
- }
- $47 = $value;
- $48 = $a$addr;
- $49 = $j;
- $arrayidx35 = (($48) + ($49<<2)|0);
- $50 = HEAP32[$arrayidx35>>2]|0;
- $cmp36 = ($47|0)<($50|0);
- if (!($cmp36)) {
- break;
- }
- $51 = $a$addr;
- $52 = $j;
- $arrayidx39 = (($51) + ($52<<2)|0);
- $53 = HEAP32[$arrayidx39>>2]|0;
- $54 = $a$addr;
- $55 = $j;
- $add40 = (($55) + 1)|0;
- $arrayidx41 = (($54) + ($add40<<2)|0);
- HEAP32[$arrayidx41>>2] = $53;
- $56 = $idx$addr;
- $57 = $j;
- $arrayidx42 = (($56) + ($57<<2)|0);
- $58 = HEAP32[$arrayidx42>>2]|0;
- $59 = $idx$addr;
- $60 = $j;
- $add43 = (($60) + 1)|0;
- $arrayidx44 = (($59) + ($add43<<2)|0);
- HEAP32[$arrayidx44>>2] = $58;
- $61 = $j;
- $dec46 = (($61) + -1)|0;
- $j = $dec46;
- }
- $62 = $value;
- $63 = $a$addr;
- $64 = $j;
- $add48 = (($64) + 1)|0;
- $arrayidx49 = (($63) + ($add48<<2)|0);
- HEAP32[$arrayidx49>>2] = $62;
- $65 = $i;
- $66 = $idx$addr;
- $67 = $j;
- $add50 = (($67) + 1)|0;
- $arrayidx51 = (($66) + ($add50<<2)|0);
- HEAP32[$arrayidx51>>2] = $65;
- }
- $68 = $i;
- $inc53 = (($68) + 1)|0;
- $i = $inc53;
- }
- STACKTOP = sp;return;
-}
-function _silk_insertion_sort_increasing_all_values_int16($a,$L) {
- $a = $a|0;
- $L = $L|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $L$addr = 0, $a$addr = 0, $add = 0, $add12 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx13 = 0, $arrayidx4 = 0, $arrayidx9 = 0, $cmp = 0, $cmp2 = 0, $cmp6 = 0, $conv = 0, $conv11 = 0, $conv5 = 0, $dec = 0, $i = 0, $inc = 0, $j = 0;
- var $sub = 0, $value = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a$addr = $a;
- $L$addr = $L;
- $i = 1;
- while(1) {
- $0 = $i;
- $1 = $L$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $a$addr;
- $3 = $i;
- $arrayidx = (($2) + ($3<<1)|0);
- $4 = HEAP16[$arrayidx>>1]|0;
- $conv = $4 << 16 >> 16;
- $value = $conv;
- $5 = $i;
- $sub = (($5) - 1)|0;
- $j = $sub;
- while(1) {
- $6 = $j;
- $cmp2 = ($6|0)>=(0);
- if (!($cmp2)) {
- break;
- }
- $7 = $value;
- $8 = $a$addr;
- $9 = $j;
- $arrayidx4 = (($8) + ($9<<1)|0);
- $10 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $10 << 16 >> 16;
- $cmp6 = ($7|0)<($conv5|0);
- if (!($cmp6)) {
- break;
- }
- $11 = $a$addr;
- $12 = $j;
- $arrayidx9 = (($11) + ($12<<1)|0);
- $13 = HEAP16[$arrayidx9>>1]|0;
- $14 = $a$addr;
- $15 = $j;
- $add = (($15) + 1)|0;
- $arrayidx10 = (($14) + ($add<<1)|0);
- HEAP16[$arrayidx10>>1] = $13;
- $16 = $j;
- $dec = (($16) + -1)|0;
- $j = $dec;
- }
- $17 = $value;
- $conv11 = $17&65535;
- $18 = $a$addr;
- $19 = $j;
- $add12 = (($19) + 1)|0;
- $arrayidx13 = (($18) + ($add12<<1)|0);
- HEAP16[$arrayidx13>>1] = $conv11;
- $20 = $i;
- $inc = (($20) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_sum_sqr_shift($energy,$shift,$x,$len) {
- $energy = $energy|0;
- $shift = $shift|0;
- $x = $x|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $add = 0, $add10 = 0, $add13 = 0, $add14 = 0, $add24 = 0, $add27 = 0, $add3 = 0, $add31 = 0, $add33 = 0, $add38 = 0, $add41 = 0, $add52 = 0, $add56 = 0, $add6 = 0, $and = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx19 = 0, $arrayidx21 = 0;
- var $arrayidx25 = 0, $arrayidx28 = 0, $arrayidx4 = 0, $arrayidx46 = 0, $arrayidx48 = 0, $arrayidx7 = 0, $cmp = 0, $cmp11 = 0, $cmp16 = 0, $cmp34 = 0, $cmp43 = 0, $conv = 0, $conv2 = 0, $conv20 = 0, $conv22 = 0, $conv26 = 0, $conv29 = 0, $conv47 = 0, $conv49 = 0, $conv5 = 0;
- var $conv8 = 0, $dec = 0, $energy$addr = 0, $i = 0, $len$addr = 0, $mul = 0, $mul23 = 0, $mul30 = 0, $mul50 = 0, $mul9 = 0, $nrg = 0, $nrg_tmp = 0, $shft = 0, $shift$addr = 0, $shr = 0, $shr32 = 0, $shr37 = 0, $shr51 = 0, $shr55 = 0, $tobool = 0;
- var $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $energy$addr = $energy;
- $shift$addr = $shift;
- $x$addr = $x;
- $len$addr = $len;
- $nrg = 0;
- $shft = 0;
- $0 = $len$addr;
- $dec = (($0) + -1)|0;
- $len$addr = $dec;
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $len$addr;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $nrg;
- $4 = $x$addr;
- $5 = $i;
- $arrayidx = (($4) + ($5<<1)|0);
- $6 = HEAP16[$arrayidx>>1]|0;
- $conv = $6 << 16 >> 16;
- $7 = $x$addr;
- $8 = $i;
- $arrayidx1 = (($7) + ($8<<1)|0);
- $9 = HEAP16[$arrayidx1>>1]|0;
- $conv2 = $9 << 16 >> 16;
- $mul = Math_imul($conv, $conv2)|0;
- $add = (($3) + ($mul))|0;
- $nrg = $add;
- $10 = $nrg;
- $11 = $x$addr;
- $12 = $i;
- $add3 = (($12) + 1)|0;
- $arrayidx4 = (($11) + ($add3<<1)|0);
- $13 = HEAP16[$arrayidx4>>1]|0;
- $conv5 = $13 << 16 >> 16;
- $14 = $x$addr;
- $15 = $i;
- $add6 = (($15) + 1)|0;
- $arrayidx7 = (($14) + ($add6<<1)|0);
- $16 = HEAP16[$arrayidx7>>1]|0;
- $conv8 = $16 << 16 >> 16;
- $mul9 = Math_imul($conv5, $conv8)|0;
- $add10 = (($10) + ($mul9))|0;
- $nrg = $add10;
- $17 = $nrg;
- $cmp11 = ($17|0)<(0);
- if ($cmp11) {
- label = 4;
- break;
- }
- $20 = $i;
- $add14 = (($20) + 2)|0;
- $i = $add14;
- }
- if ((label|0) == 4) {
- $18 = $nrg;
- $shr = $18 >>> 2;
- $nrg = $shr;
- $shft = 2;
- $19 = $i;
- $add13 = (($19) + 2)|0;
- $i = $add13;
- }
- while(1) {
- $21 = $i;
- $22 = $len$addr;
- $cmp16 = ($21|0)<($22|0);
- if (!($cmp16)) {
- break;
- }
- $23 = $x$addr;
- $24 = $i;
- $arrayidx19 = (($23) + ($24<<1)|0);
- $25 = HEAP16[$arrayidx19>>1]|0;
- $conv20 = $25 << 16 >> 16;
- $26 = $x$addr;
- $27 = $i;
- $arrayidx21 = (($26) + ($27<<1)|0);
- $28 = HEAP16[$arrayidx21>>1]|0;
- $conv22 = $28 << 16 >> 16;
- $mul23 = Math_imul($conv20, $conv22)|0;
- $nrg_tmp = $mul23;
- $29 = $nrg_tmp;
- $30 = $x$addr;
- $31 = $i;
- $add24 = (($31) + 1)|0;
- $arrayidx25 = (($30) + ($add24<<1)|0);
- $32 = HEAP16[$arrayidx25>>1]|0;
- $conv26 = $32 << 16 >> 16;
- $33 = $x$addr;
- $34 = $i;
- $add27 = (($34) + 1)|0;
- $arrayidx28 = (($33) + ($add27<<1)|0);
- $35 = HEAP16[$arrayidx28>>1]|0;
- $conv29 = $35 << 16 >> 16;
- $mul30 = Math_imul($conv26, $conv29)|0;
- $add31 = (($29) + ($mul30))|0;
- $nrg_tmp = $add31;
- $36 = $nrg;
- $37 = $nrg_tmp;
- $38 = $shft;
- $shr32 = $37 >>> $38;
- $add33 = (($36) + ($shr32))|0;
- $nrg = $add33;
- $39 = $nrg;
- $cmp34 = ($39|0)<(0);
- if ($cmp34) {
- $40 = $nrg;
- $shr37 = $40 >>> 2;
- $nrg = $shr37;
- $41 = $shft;
- $add38 = (($41) + 2)|0;
- $shft = $add38;
- }
- $42 = $i;
- $add41 = (($42) + 2)|0;
- $i = $add41;
- }
- $43 = $i;
- $44 = $len$addr;
- $cmp43 = ($43|0)==($44|0);
- if ($cmp43) {
- $45 = $x$addr;
- $46 = $i;
- $arrayidx46 = (($45) + ($46<<1)|0);
- $47 = HEAP16[$arrayidx46>>1]|0;
- $conv47 = $47 << 16 >> 16;
- $48 = $x$addr;
- $49 = $i;
- $arrayidx48 = (($48) + ($49<<1)|0);
- $50 = HEAP16[$arrayidx48>>1]|0;
- $conv49 = $50 << 16 >> 16;
- $mul50 = Math_imul($conv47, $conv49)|0;
- $nrg_tmp = $mul50;
- $51 = $nrg;
- $52 = $nrg_tmp;
- $53 = $shft;
- $shr51 = $52 >> $53;
- $add52 = (($51) + ($shr51))|0;
- $nrg = $add52;
- }
- $54 = $nrg;
- $and = $54 & -1073741824;
- $tobool = ($and|0)!=(0);
- if (!($tobool)) {
- $57 = $shft;
- $58 = $shift$addr;
- HEAP32[$58>>2] = $57;
- $59 = $nrg;
- $60 = $energy$addr;
- HEAP32[$60>>2] = $59;
- STACKTOP = sp;return;
- }
- $55 = $nrg;
- $shr55 = $55 >>> 2;
- $nrg = $shr55;
- $56 = $shft;
- $add56 = (($56) + 2)|0;
- $shft = $add56;
- $57 = $shft;
- $58 = $shift$addr;
- HEAP32[$58>>2] = $57;
- $59 = $nrg;
- $60 = $energy$addr;
- HEAP32[$60>>2] = $59;
- STACKTOP = sp;return;
-}
-function _silk_apply_sine_window_FLP($px_win,$px,$win_type,$length) {
- $px_win = $px_win|0;
- $px = $px|0;
- $win_type = $win_type|0;
- $length = $length|0;
- var $0 = 0, $1 = 0.0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0.0, $19 = 0, $2 = 0.0, $20 = 0, $21 = 0.0, $22 = 0.0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0.0;
- var $27 = 0.0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0.0, $40 = 0, $5 = 0.0, $6 = 0, $7 = 0, $8 = 0;
- var $9 = 0, $S0 = 0.0, $S1 = 0.0, $add = 0, $add11 = 0, $add14 = 0, $add18 = 0, $add21 = 0.0, $add23 = 0, $add25 = 0, $add28 = 0, $add32 = 0, $add5 = 0, $add7 = 0.0, $add9 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx12 = 0, $arrayidx15 = 0, $arrayidx19 = 0;
- var $arrayidx24 = 0, $arrayidx26 = 0, $arrayidx29 = 0, $c = 0.0, $cmp = 0, $cmp3 = 0, $conv = 0.0, $div = 0.0, $freq = 0.0, $k = 0, $length$addr = 0, $mul = 0.0, $mul13 = 0.0, $mul16 = 0.0, $mul2 = 0.0, $mul20 = 0.0, $mul22 = 0.0, $mul27 = 0.0, $mul30 = 0.0, $mul6 = 0.0;
- var $mul8 = 0.0, $px$addr = 0, $px_win$addr = 0, $sub = 0.0, $sub17 = 0.0, $sub31 = 0.0, $win_type$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $px_win$addr = $px_win;
- $px$addr = $px;
- $win_type$addr = $win_type;
- $length$addr = $length;
- $0 = $length$addr;
- $add = (($0) + 1)|0;
- $conv = (+($add|0));
- $div = 3.1415927410125732 / $conv;
- $freq = $div;
- $1 = $freq;
- $2 = $freq;
- $mul = $1 * $2;
- $sub = 2.0 - $mul;
- $c = $sub;
- $3 = $win_type$addr;
- $cmp = ($3|0)<(2);
- if ($cmp) {
- $S0 = 0.0;
- $4 = $freq;
- $S1 = $4;
- } else {
- $S0 = 1.0;
- $5 = $c;
- $mul2 = 0.5 * $5;
- $S1 = $mul2;
- }
- $k = 0;
- while(1) {
- $6 = $k;
- $7 = $length$addr;
- $cmp3 = ($6|0)<($7|0);
- if (!($cmp3)) {
- break;
- }
- $8 = $px$addr;
- $9 = $k;
- $add5 = (($9) + 0)|0;
- $arrayidx = (($8) + ($add5<<2)|0);
- $10 = +HEAPF32[$arrayidx>>2];
- $mul6 = $10 * 0.5;
- $11 = $S0;
- $12 = $S1;
- $add7 = $11 + $12;
- $mul8 = $mul6 * $add7;
- $13 = $px_win$addr;
- $14 = $k;
- $add9 = (($14) + 0)|0;
- $arrayidx10 = (($13) + ($add9<<2)|0);
- HEAPF32[$arrayidx10>>2] = $mul8;
- $15 = $px$addr;
- $16 = $k;
- $add11 = (($16) + 1)|0;
- $arrayidx12 = (($15) + ($add11<<2)|0);
- $17 = +HEAPF32[$arrayidx12>>2];
- $18 = $S1;
- $mul13 = $17 * $18;
- $19 = $px_win$addr;
- $20 = $k;
- $add14 = (($20) + 1)|0;
- $arrayidx15 = (($19) + ($add14<<2)|0);
- HEAPF32[$arrayidx15>>2] = $mul13;
- $21 = $c;
- $22 = $S1;
- $mul16 = $21 * $22;
- $23 = $S0;
- $sub17 = $mul16 - $23;
- $S0 = $sub17;
- $24 = $px$addr;
- $25 = $k;
- $add18 = (($25) + 2)|0;
- $arrayidx19 = (($24) + ($add18<<2)|0);
- $26 = +HEAPF32[$arrayidx19>>2];
- $mul20 = $26 * 0.5;
- $27 = $S1;
- $28 = $S0;
- $add21 = $27 + $28;
- $mul22 = $mul20 * $add21;
- $29 = $px_win$addr;
- $30 = $k;
- $add23 = (($30) + 2)|0;
- $arrayidx24 = (($29) + ($add23<<2)|0);
- HEAPF32[$arrayidx24>>2] = $mul22;
- $31 = $px$addr;
- $32 = $k;
- $add25 = (($32) + 3)|0;
- $arrayidx26 = (($31) + ($add25<<2)|0);
- $33 = +HEAPF32[$arrayidx26>>2];
- $34 = $S0;
- $mul27 = $33 * $34;
- $35 = $px_win$addr;
- $36 = $k;
- $add28 = (($36) + 3)|0;
- $arrayidx29 = (($35) + ($add28<<2)|0);
- HEAPF32[$arrayidx29>>2] = $mul27;
- $37 = $c;
- $38 = $S0;
- $mul30 = $37 * $38;
- $39 = $S1;
- $sub31 = $mul30 - $39;
- $S1 = $sub31;
- $40 = $k;
- $add32 = (($40) + 4)|0;
- $k = $add32;
- }
- STACKTOP = sp;return;
-}
-function _silk_find_LPC_FLP($psEncC,$NLSF_Q15,$x,$minInvGain) {
- $psEncC = $psEncC|0;
- $NLSF_Q15 = $NLSF_Q15|0;
- $x = $x|0;
- $minInvGain = +$minInvGain;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0.0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0.0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $7 = 0, $8 = 0, $9 = 0, $LPC_res = 0, $NLSF0_Q15 = 0, $NLSFInterpCoef_Q2 = 0, $NLSFInterpCoef_Q241 = 0, $NLSFInterpCoef_Q248 = 0, $NLSF_Q15$addr = 0, $a = 0, $a_tmp = 0, $add = 0, $add$ptr = 0, $add$ptr24 = 0, $add$ptr30 = 0, $add$ptr31 = 0, $add35 = 0.0, $call = 0.0, $call27 = 0.0;
- var $call34 = 0.0, $call8 = 0.0, $cmp = 0, $cmp11 = 0, $cmp36 = 0, $cmp42 = 0, $cmp50 = 0, $conv = 0.0, $conv39 = 0, $conv49 = 0, $dec = 0, $first_frame_after_reset = 0, $indices = 0, $indices40 = 0, $indices47 = 0, $k = 0, $minInvGain$addr = 0.0, $mul = 0, $mul20 = 0, $nb_subfr = 0;
- var $nb_subfr5 = 0, $predictLPCOrder = 0, $predictLPCOrder10 = 0, $predictLPCOrder14 = 0, $predictLPCOrder17 = 0, $predictLPCOrder2 = 0, $predictLPCOrder21 = 0, $predictLPCOrder23 = 0, $predictLPCOrder25 = 0, $predictLPCOrder29 = 0, $predictLPCOrder32 = 0, $predictLPCOrder54 = 0, $predictLPCOrder7 = 0, $prev_NLSFq_Q15 = 0, $psEncC$addr = 0, $res_nrg = 0.0, $res_nrg_2nd = 0.0, $res_nrg_interp = 0.0, $sub = 0.0, $sub26 = 0;
- var $sub33 = 0, $subfr_length = 0, $subfr_length1 = 0, $tobool = 0, $tobool3 = 0, $useInterpolatedNLSFs = 0, $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 1744|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1744|0);
- $a = sp + 1616|0;
- $NLSF0_Q15 = sp + 1704|0;
- $a_tmp = sp + 1536|0;
- $LPC_res = sp;
- $psEncC$addr = $psEncC;
- $NLSF_Q15$addr = $NLSF_Q15;
- $x$addr = $x;
- $minInvGain$addr = $minInvGain;
- $0 = $psEncC$addr;
- $subfr_length1 = ((($0)) + 4612|0);
- $1 = HEAP32[$subfr_length1>>2]|0;
- $2 = $psEncC$addr;
- $predictLPCOrder = ((($2)) + 4664|0);
- $3 = HEAP32[$predictLPCOrder>>2]|0;
- $add = (($1) + ($3))|0;
- $subfr_length = $add;
- $4 = $psEncC$addr;
- $indices = ((($4)) + 4768|0);
- $NLSFInterpCoef_Q2 = ((($indices)) + 31|0);
- HEAP8[$NLSFInterpCoef_Q2>>0] = 4;
- $5 = $x$addr;
- $6 = $minInvGain$addr;
- $7 = $subfr_length;
- $8 = $psEncC$addr;
- $nb_subfr = ((($8)) + 4604|0);
- $9 = HEAP32[$nb_subfr>>2]|0;
- $10 = $psEncC$addr;
- $predictLPCOrder2 = ((($10)) + 4664|0);
- $11 = HEAP32[$predictLPCOrder2>>2]|0;
- $call = (+_silk_burg_modified_FLP($a,$5,$6,$7,$9,$11));
- $res_nrg = $call;
- $12 = $psEncC$addr;
- $useInterpolatedNLSFs = ((($12)) + 4656|0);
- $13 = HEAP32[$useInterpolatedNLSFs>>2]|0;
- $tobool = ($13|0)!=(0);
- L1: do {
- if ($tobool) {
- $14 = $psEncC$addr;
- $first_frame_after_reset = ((($14)) + 4696|0);
- $15 = HEAP32[$first_frame_after_reset>>2]|0;
- $tobool3 = ($15|0)!=(0);
- if (!($tobool3)) {
- $16 = $psEncC$addr;
- $nb_subfr5 = ((($16)) + 4604|0);
- $17 = HEAP32[$nb_subfr5>>2]|0;
- $cmp = ($17|0)==(4);
- if ($cmp) {
- $18 = $x$addr;
- $19 = $subfr_length;
- $mul = $19<<1;
- $add$ptr = (($18) + ($mul<<2)|0);
- $20 = $minInvGain$addr;
- $21 = $subfr_length;
- $22 = $psEncC$addr;
- $predictLPCOrder7 = ((($22)) + 4664|0);
- $23 = HEAP32[$predictLPCOrder7>>2]|0;
- $call8 = (+_silk_burg_modified_FLP($a_tmp,$add$ptr,$20,$21,2,$23));
- $24 = $res_nrg;
- $sub = $24 - $call8;
- $res_nrg = $sub;
- $25 = $NLSF_Q15$addr;
- $26 = $psEncC$addr;
- $predictLPCOrder10 = ((($26)) + 4664|0);
- $27 = HEAP32[$predictLPCOrder10>>2]|0;
- _silk_A2NLSF_FLP($25,$a_tmp,$27);
- $res_nrg_2nd = 3.4028234663852886E+38;
- $k = 3;
- while(1) {
- $28 = $k;
- $cmp11 = ($28|0)>=(0);
- if (!($cmp11)) {
- break L1;
- }
- $29 = $psEncC$addr;
- $prev_NLSFq_Q15 = ((($29)) + 4524|0);
- $30 = $NLSF_Q15$addr;
- $31 = $k;
- $32 = $psEncC$addr;
- $predictLPCOrder14 = ((($32)) + 4664|0);
- $33 = HEAP32[$predictLPCOrder14>>2]|0;
- _silk_interpolate($NLSF0_Q15,$prev_NLSFq_Q15,$30,$31,$33);
- $34 = $psEncC$addr;
- $predictLPCOrder17 = ((($34)) + 4664|0);
- $35 = HEAP32[$predictLPCOrder17>>2]|0;
- _silk_NLSF2A_FLP($a_tmp,$NLSF0_Q15,$35);
- $36 = $x$addr;
- $37 = $subfr_length;
- $mul20 = $37<<1;
- $38 = $psEncC$addr;
- $predictLPCOrder21 = ((($38)) + 4664|0);
- $39 = HEAP32[$predictLPCOrder21>>2]|0;
- _silk_LPC_analysis_filter_FLP($LPC_res,$a_tmp,$36,$mul20,$39);
- $40 = $psEncC$addr;
- $predictLPCOrder23 = ((($40)) + 4664|0);
- $41 = HEAP32[$predictLPCOrder23>>2]|0;
- $add$ptr24 = (($LPC_res) + ($41<<2)|0);
- $42 = $subfr_length;
- $43 = $psEncC$addr;
- $predictLPCOrder25 = ((($43)) + 4664|0);
- $44 = HEAP32[$predictLPCOrder25>>2]|0;
- $sub26 = (($42) - ($44))|0;
- $call27 = (+_silk_energy_FLP($add$ptr24,$sub26));
- $45 = $psEncC$addr;
- $predictLPCOrder29 = ((($45)) + 4664|0);
- $46 = HEAP32[$predictLPCOrder29>>2]|0;
- $add$ptr30 = (($LPC_res) + ($46<<2)|0);
- $47 = $subfr_length;
- $add$ptr31 = (($add$ptr30) + ($47<<2)|0);
- $48 = $subfr_length;
- $49 = $psEncC$addr;
- $predictLPCOrder32 = ((($49)) + 4664|0);
- $50 = HEAP32[$predictLPCOrder32>>2]|0;
- $sub33 = (($48) - ($50))|0;
- $call34 = (+_silk_energy_FLP($add$ptr31,$sub33));
- $add35 = $call27 + $call34;
- $conv = $add35;
- $res_nrg_interp = $conv;
- $51 = $res_nrg_interp;
- $52 = $res_nrg;
- $cmp36 = $51 < $52;
- $53 = $res_nrg_interp;
- if ($cmp36) {
- $res_nrg = $53;
- $54 = $k;
- $conv39 = $54&255;
- $55 = $psEncC$addr;
- $indices40 = ((($55)) + 4768|0);
- $NLSFInterpCoef_Q241 = ((($indices40)) + 31|0);
- HEAP8[$NLSFInterpCoef_Q241>>0] = $conv39;
- } else {
- $56 = $res_nrg_2nd;
- $cmp42 = $53 > $56;
- if ($cmp42) {
- break L1;
- }
- }
- $57 = $res_nrg_interp;
- $res_nrg_2nd = $57;
- $58 = $k;
- $dec = (($58) + -1)|0;
- $k = $dec;
- }
- }
- }
- }
- } while(0);
- $59 = $psEncC$addr;
- $indices47 = ((($59)) + 4768|0);
- $NLSFInterpCoef_Q248 = ((($indices47)) + 31|0);
- $60 = HEAP8[$NLSFInterpCoef_Q248>>0]|0;
- $conv49 = $60 << 24 >> 24;
- $cmp50 = ($conv49|0)==(4);
- if (!($cmp50)) {
- STACKTOP = sp;return;
- }
- $61 = $NLSF_Q15$addr;
- $62 = $psEncC$addr;
- $predictLPCOrder54 = ((($62)) + 4664|0);
- $63 = HEAP32[$predictLPCOrder54>>2]|0;
- _silk_A2NLSF_FLP($61,$a,$63);
- STACKTOP = sp;return;
-}
-function _silk_find_LTP_FLP($b,$WLTP,$LTPredCodGain,$r_lpc,$lag,$Wght,$subfr_length,$nb_subfr,$mem_offset) {
- $b = $b|0;
- $WLTP = $WLTP|0;
- $LTPredCodGain = $LTPredCodGain|0;
- $r_lpc = $r_lpc|0;
- $lag = $lag|0;
- $Wght = $Wght|0;
- $subfr_length = $subfr_length|0;
- $nb_subfr = $nb_subfr|0;
- $mem_offset = $mem_offset|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0.0, $101 = 0.0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0.0, $107 = 0.0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0.0, $114 = 0, $115 = 0;
- var $116 = 0.0, $117 = 0, $118 = 0, $119 = 0.0, $12 = 0, $120 = 0.0, $121 = 0, $122 = 0.0, $123 = 0.0, $124 = 0, $125 = 0, $126 = 0, $127 = 0.0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0.0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0, $3 = 0, $30 = 0;
- var $31 = 0, $32 = 0, $33 = 0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0.0, $47 = 0, $48 = 0.0, $49 = 0;
- var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0.0, $64 = 0, $65 = 0.0, $66 = 0, $67 = 0;
- var $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0.0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0, $83 = 0.0, $84 = 0, $85 = 0;
- var $86 = 0, $87 = 0, $88 = 0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0.0, $96 = 0, $97 = 0.0, $98 = 0.0, $99 = 0, $LPC_LTP_res_nrg = 0.0, $LPC_res_nrg = 0.0, $LTPredCodGain$addr = 0, $Rr = 0, $WLTP$addr = 0;
- var $WLTP_ptr = 0, $Wght$addr = 0, $add = 0, $add$ptr = 0, $add$ptr124 = 0, $add$ptr22 = 0, $add$ptr24 = 0, $add$ptr25 = 0, $add$ptr26 = 0, $add$ptr63 = 0, $add$ptr7 = 0, $add107 = 0.0, $add119 = 0.0, $add21 = 0.0, $add36 = 0.0, $add4 = 0.0, $add40 = 0.0, $add59 = 0.0, $add6 = 0.0, $add72 = 0.0;
- var $add8 = 0.0, $add83 = 0.0, $add93 = 0.0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx101 = 0, $arrayidx104 = 0, $arrayidx105 = 0, $arrayidx106 = 0, $arrayidx116 = 0, $arrayidx117 = 0, $arrayidx12 = 0, $arrayidx120 = 0, $arrayidx14 = 0, $arrayidx15 = 0, $arrayidx16 = 0, $arrayidx17 = 0, $arrayidx2 = 0, $arrayidx23 = 0, $arrayidx3 = 0;
- var $arrayidx33 = 0, $arrayidx34 = 0, $arrayidx37 = 0, $arrayidx38 = 0, $arrayidx52 = 0, $arrayidx57 = 0, $arrayidx58 = 0, $arrayidx71 = 0, $arrayidx80 = 0, $arrayidx81 = 0, $arrayidx9 = 0, $arrayidx92 = 0, $arrayidx95 = 0, $b$addr = 0, $b_ptr = 0, $call = 0.0, $call13 = 0.0, $call46 = 0.0, $cmp = 0, $cmp102 = 0;
- var $cmp113 = 0, $cmp27 = 0, $cmp30 = 0, $cmp49 = 0, $cmp54 = 0, $cmp68 = 0, $cmp77 = 0, $cmp89 = 0, $cmp98 = 0, $cond = 0.0, $conv = 0.0, $conv19 = 0.0, $conv45 = 0.0, $d = 0, $delta_b = 0, $div = 0.0, $div111 = 0.0, $div44 = 0.0, $div87 = 0.0, $div94 = 0.0;
- var $g = 0.0, $i = 0, $idx$neg = 0, $inc = 0, $inc109 = 0, $inc122 = 0, $inc126 = 0, $inc42 = 0, $inc61 = 0, $inc65 = 0, $inc74 = 0, $inc85 = 0, $k = 0, $lag$addr = 0, $lag_ptr = 0, $m = 0.0, $mem_offset$addr = 0, $mul = 0.0, $mul118 = 0.0, $mul18 = 0.0;
- var $mul20 = 0.0, $mul35 = 0.0, $mul39 = 0.0, $mul47 = 0.0, $mul82 = 0.0, $mul96 = 0.0, $nb_subfr$addr = 0, $nrg = 0, $r_lpc$addr = 0, $r_ptr = 0, $regu = 0.0, $rr = 0, $sub = 0.0, $subfr_length$addr = 0, $temp = 0.0, $w = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
- $d = sp + 112|0;
- $delta_b = sp + 80|0;
- $w = sp + 64|0;
- $nrg = sp + 48|0;
- $Rr = sp + 24|0;
- $rr = sp + 8|0;
- $b$addr = $b;
- $WLTP$addr = $WLTP;
- $LTPredCodGain$addr = $LTPredCodGain;
- $r_lpc$addr = $r_lpc;
- $lag$addr = $lag;
- $Wght$addr = $Wght;
- $subfr_length$addr = $subfr_length;
- $nb_subfr$addr = $nb_subfr;
- $mem_offset$addr = $mem_offset;
- $0 = $b$addr;
- $b_ptr = $0;
- $1 = $WLTP$addr;
- $WLTP_ptr = $1;
- $2 = $r_lpc$addr;
- $3 = $mem_offset$addr;
- $arrayidx = (($2) + ($3<<2)|0);
- $r_ptr = $arrayidx;
- $k = 0;
- while(1) {
- $4 = $k;
- $5 = $nb_subfr$addr;
- $cmp = ($4|0)<($5|0);
- if (!($cmp)) {
- break;
- }
- $6 = $r_ptr;
- $7 = $lag$addr;
- $8 = $k;
- $arrayidx1 = (($7) + ($8<<2)|0);
- $9 = HEAP32[$arrayidx1>>2]|0;
- $add = (($9) + 2)|0;
- $idx$neg = (0 - ($add))|0;
- $add$ptr = (($6) + ($idx$neg<<2)|0);
- $lag_ptr = $add$ptr;
- $10 = $lag_ptr;
- $11 = $subfr_length$addr;
- $12 = $WLTP_ptr;
- _silk_corrMatrix_FLP($10,$11,5,$12);
- $13 = $lag_ptr;
- $14 = $r_ptr;
- $15 = $subfr_length$addr;
- _silk_corrVector_FLP($13,$14,$15,5,$Rr);
- $16 = $r_ptr;
- $17 = $subfr_length$addr;
- $call = (+_silk_energy_FLP($16,$17));
- $conv = $call;
- $18 = $k;
- $arrayidx2 = (($rr) + ($18<<2)|0);
- HEAPF32[$arrayidx2>>2] = $conv;
- $19 = $k;
- $arrayidx3 = (($rr) + ($19<<2)|0);
- $20 = +HEAPF32[$arrayidx3>>2];
- $add4 = 1.0 + $20;
- $21 = $WLTP_ptr;
- $22 = +HEAPF32[$21>>2];
- $add6 = $add4 + $22;
- $23 = $WLTP_ptr;
- $add$ptr7 = ((($23)) + 96|0);
- $24 = +HEAPF32[$add$ptr7>>2];
- $add8 = $add6 + $24;
- $regu = $add8;
- $25 = $regu;
- $mul = $25 * 0.01666666753590107;
- $regu = $mul;
- $26 = $WLTP_ptr;
- $27 = $k;
- $arrayidx9 = (($rr) + ($27<<2)|0);
- $28 = $regu;
- _silk_regularize_correlations_FLP($26,$arrayidx9,$28,5);
- $29 = $WLTP_ptr;
- $30 = $b_ptr;
- _silk_solve_LDL_FLP($29,5,$Rr,$30);
- $31 = $b_ptr;
- $32 = $WLTP_ptr;
- $33 = $k;
- $arrayidx12 = (($rr) + ($33<<2)|0);
- $34 = +HEAPF32[$arrayidx12>>2];
- $call13 = (+_silk_residual_energy_covar_FLP($31,$32,$Rr,$34,5));
- $35 = $k;
- $arrayidx14 = (($nrg) + ($35<<2)|0);
- HEAPF32[$arrayidx14>>2] = $call13;
- $36 = $Wght$addr;
- $37 = $k;
- $arrayidx15 = (($36) + ($37<<2)|0);
- $38 = +HEAPF32[$arrayidx15>>2];
- $39 = $k;
- $arrayidx16 = (($nrg) + ($39<<2)|0);
- $40 = +HEAPF32[$arrayidx16>>2];
- $41 = $Wght$addr;
- $42 = $k;
- $arrayidx17 = (($41) + ($42<<2)|0);
- $43 = +HEAPF32[$arrayidx17>>2];
- $mul18 = $40 * $43;
- $44 = $subfr_length$addr;
- $conv19 = (+($44|0));
- $mul20 = 0.0099999997764825821 * $conv19;
- $add21 = $mul18 + $mul20;
- $div = $38 / $add21;
- $temp = $div;
- $45 = $WLTP_ptr;
- $46 = $temp;
- _silk_scale_vector_FLP($45,$46,25);
- $47 = $WLTP_ptr;
- $add$ptr22 = ((($47)) + 48|0);
- $48 = +HEAPF32[$add$ptr22>>2];
- $49 = $k;
- $arrayidx23 = (($w) + ($49<<2)|0);
- HEAPF32[$arrayidx23>>2] = $48;
- $50 = $subfr_length$addr;
- $51 = $r_ptr;
- $add$ptr24 = (($51) + ($50<<2)|0);
- $r_ptr = $add$ptr24;
- $52 = $b_ptr;
- $add$ptr25 = ((($52)) + 20|0);
- $b_ptr = $add$ptr25;
- $53 = $WLTP_ptr;
- $add$ptr26 = ((($53)) + 100|0);
- $WLTP_ptr = $add$ptr26;
- $54 = $k;
- $inc = (($54) + 1)|0;
- $k = $inc;
- }
- $55 = $LTPredCodGain$addr;
- $cmp27 = ($55|0)!=(0|0);
- if ($cmp27) {
- $LPC_LTP_res_nrg = 9.9999999747524271E-7;
- $LPC_res_nrg = 0.0;
- $k = 0;
- while(1) {
- $56 = $k;
- $57 = $nb_subfr$addr;
- $cmp30 = ($56|0)<($57|0);
- if (!($cmp30)) {
- break;
- }
- $58 = $k;
- $arrayidx33 = (($rr) + ($58<<2)|0);
- $59 = +HEAPF32[$arrayidx33>>2];
- $60 = $Wght$addr;
- $61 = $k;
- $arrayidx34 = (($60) + ($61<<2)|0);
- $62 = +HEAPF32[$arrayidx34>>2];
- $mul35 = $59 * $62;
- $63 = $LPC_res_nrg;
- $add36 = $63 + $mul35;
- $LPC_res_nrg = $add36;
- $64 = $k;
- $arrayidx37 = (($nrg) + ($64<<2)|0);
- $65 = +HEAPF32[$arrayidx37>>2];
- $66 = $Wght$addr;
- $67 = $k;
- $arrayidx38 = (($66) + ($67<<2)|0);
- $68 = +HEAPF32[$arrayidx38>>2];
- $mul39 = $65 * $68;
- $69 = $LPC_LTP_res_nrg;
- $add40 = $69 + $mul39;
- $LPC_LTP_res_nrg = $add40;
- $70 = $k;
- $inc42 = (($70) + 1)|0;
- $k = $inc42;
- }
- $71 = $LPC_res_nrg;
- $72 = $LPC_LTP_res_nrg;
- $div44 = $71 / $72;
- $conv45 = $div44;
- $call46 = (+_silk_log2_530($conv45));
- $mul47 = 3.0 * $call46;
- $73 = $LTPredCodGain$addr;
- HEAPF32[$73>>2] = $mul47;
- }
- $74 = $b$addr;
- $b_ptr = $74;
- $k = 0;
- while(1) {
- $75 = $k;
- $76 = $nb_subfr$addr;
- $cmp49 = ($75|0)<($76|0);
- if (!($cmp49)) {
- break;
- }
- $77 = $k;
- $arrayidx52 = (($d) + ($77<<2)|0);
- HEAPF32[$arrayidx52>>2] = 0.0;
- $i = 0;
- while(1) {
- $78 = $i;
- $cmp54 = ($78|0)<(5);
- $79 = $b_ptr;
- if (!($cmp54)) {
- break;
- }
- $80 = $i;
- $arrayidx57 = (($79) + ($80<<2)|0);
- $81 = +HEAPF32[$arrayidx57>>2];
- $82 = $k;
- $arrayidx58 = (($d) + ($82<<2)|0);
- $83 = +HEAPF32[$arrayidx58>>2];
- $add59 = $83 + $81;
- HEAPF32[$arrayidx58>>2] = $add59;
- $84 = $i;
- $inc61 = (($84) + 1)|0;
- $i = $inc61;
- }
- $add$ptr63 = ((($79)) + 20|0);
- $b_ptr = $add$ptr63;
- $85 = $k;
- $inc65 = (($85) + 1)|0;
- $k = $inc65;
- }
- $temp = 0.0010000000474974513;
- $k = 0;
- while(1) {
- $86 = $k;
- $87 = $nb_subfr$addr;
- $cmp68 = ($86|0)<($87|0);
- if (!($cmp68)) {
- break;
- }
- $88 = $k;
- $arrayidx71 = (($w) + ($88<<2)|0);
- $89 = +HEAPF32[$arrayidx71>>2];
- $90 = $temp;
- $add72 = $90 + $89;
- $temp = $add72;
- $91 = $k;
- $inc74 = (($91) + 1)|0;
- $k = $inc74;
- }
- $m = 0.0;
- $k = 0;
- while(1) {
- $92 = $k;
- $93 = $nb_subfr$addr;
- $cmp77 = ($92|0)<($93|0);
- if (!($cmp77)) {
- break;
- }
- $94 = $k;
- $arrayidx80 = (($d) + ($94<<2)|0);
- $95 = +HEAPF32[$arrayidx80>>2];
- $96 = $k;
- $arrayidx81 = (($w) + ($96<<2)|0);
- $97 = +HEAPF32[$arrayidx81>>2];
- $mul82 = $95 * $97;
- $98 = $m;
- $add83 = $98 + $mul82;
- $m = $add83;
- $99 = $k;
- $inc85 = (($99) + 1)|0;
- $k = $inc85;
- }
- $100 = $m;
- $101 = $temp;
- $div87 = $100 / $101;
- $m = $div87;
- $102 = $b$addr;
- $b_ptr = $102;
- $k = 0;
- while(1) {
- $103 = $k;
- $104 = $nb_subfr$addr;
- $cmp89 = ($103|0)<($104|0);
- if (!($cmp89)) {
- break;
- }
- $105 = $k;
- $arrayidx92 = (($w) + ($105<<2)|0);
- $106 = +HEAPF32[$arrayidx92>>2];
- $add93 = 0.10000000149011612 + $106;
- $div94 = 0.10000000149011612 / $add93;
- $107 = $m;
- $108 = $k;
- $arrayidx95 = (($d) + ($108<<2)|0);
- $109 = +HEAPF32[$arrayidx95>>2];
- $sub = $107 - $109;
- $mul96 = $div94 * $sub;
- $g = $mul96;
- $temp = 0.0;
- $i = 0;
- while(1) {
- $110 = $i;
- $cmp98 = ($110|0)<(5);
- if (!($cmp98)) {
- break;
- }
- $111 = $b_ptr;
- $112 = $i;
- $arrayidx101 = (($111) + ($112<<2)|0);
- $113 = +HEAPF32[$arrayidx101>>2];
- $cmp102 = $113 > 0.10000000149011612;
- if ($cmp102) {
- $114 = $b_ptr;
- $115 = $i;
- $arrayidx104 = (($114) + ($115<<2)|0);
- $116 = +HEAPF32[$arrayidx104>>2];
- $cond = $116;
- } else {
- $cond = 0.10000000149011612;
- }
- $117 = $i;
- $arrayidx105 = (($delta_b) + ($117<<2)|0);
- HEAPF32[$arrayidx105>>2] = $cond;
- $118 = $i;
- $arrayidx106 = (($delta_b) + ($118<<2)|0);
- $119 = +HEAPF32[$arrayidx106>>2];
- $120 = $temp;
- $add107 = $120 + $119;
- $temp = $add107;
- $121 = $i;
- $inc109 = (($121) + 1)|0;
- $i = $inc109;
- }
- $122 = $g;
- $123 = $temp;
- $div111 = $122 / $123;
- $temp = $div111;
- $i = 0;
- while(1) {
- $124 = $i;
- $cmp113 = ($124|0)<(5);
- $125 = $b_ptr;
- if (!($cmp113)) {
- break;
- }
- $126 = $i;
- $arrayidx116 = (($125) + ($126<<2)|0);
- $127 = +HEAPF32[$arrayidx116>>2];
- $128 = $i;
- $arrayidx117 = (($delta_b) + ($128<<2)|0);
- $129 = +HEAPF32[$arrayidx117>>2];
- $130 = $temp;
- $mul118 = $129 * $130;
- $add119 = $127 + $mul118;
- $131 = $b_ptr;
- $132 = $i;
- $arrayidx120 = (($131) + ($132<<2)|0);
- HEAPF32[$arrayidx120>>2] = $add119;
- $133 = $i;
- $inc122 = (($133) + 1)|0;
- $i = $inc122;
- }
- $add$ptr124 = ((($125)) + 20|0);
- $b_ptr = $add$ptr124;
- $134 = $k;
- $inc126 = (($134) + 1)|0;
- $k = $inc126;
- }
- STACKTOP = sp;return;
-}
-function _silk_log2_530($x) {
- $x = +$x;
- var $0 = 0.0, $call = 0.0, $conv = 0.0, $mul = 0.0, $x$addr = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $x$addr = $x;
- $0 = $x$addr;
- $call = (+_log10($0));
- $mul = 3.32192809488736 * $call;
- $conv = $mul;
- STACKTOP = sp;return (+$conv);
-}
-function _silk_regularize_correlations_FLP($XX,$xx,$noise,$D) {
- $XX = $XX|0;
- $xx = $xx|0;
- $noise = +$noise;
- $D = $D|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $2 = 0.0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0, $D$addr = 0, $XX$addr = 0, $add = 0, $add$ptr = 0, $add1 = 0.0, $add3 = 0.0, $cmp = 0, $i = 0, $inc = 0;
- var $mul = 0, $noise$addr = 0.0, $xx$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $XX$addr = $XX;
- $xx$addr = $xx;
- $noise$addr = $noise;
- $D$addr = $D;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $D$addr;
- $cmp = ($0|0)<($1|0);
- $2 = $noise$addr;
- if (!($cmp)) {
- break;
- }
- $3 = $XX$addr;
- $4 = $i;
- $5 = $D$addr;
- $mul = Math_imul($4, $5)|0;
- $6 = $i;
- $add = (($mul) + ($6))|0;
- $add$ptr = (($3) + ($add<<2)|0);
- $7 = +HEAPF32[$add$ptr>>2];
- $add1 = $7 + $2;
- HEAPF32[$add$ptr>>2] = $add1;
- $8 = $i;
- $inc = (($8) + 1)|0;
- $i = $inc;
- }
- $9 = $xx$addr;
- $10 = +HEAPF32[$9>>2];
- $add3 = $10 + $2;
- HEAPF32[$9>>2] = $add3;
- STACKTOP = sp;return;
-}
-function _silk_solve_LDL_FLP($A,$M,$b,$x) {
- $A = $A|0;
- $M = $M|0;
- $b = $b|0;
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0.0, $8 = 0, $9 = 0.0, $A$addr = 0, $Dinv = 0, $L = 0, $M$addr = 0, $T = 0, $arrayidx5 = 0;
- var $arrayidx6 = 0, $arrayidx7 = 0, $b$addr = 0, $cmp = 0, $i = 0, $inc = 0, $mul = 0.0, $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 1184|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1184|0);
- $L = sp + 128|0;
- $T = sp + 64|0;
- $Dinv = sp;
- $A$addr = $A;
- $M$addr = $M;
- $b$addr = $b;
- $x$addr = $x;
- $0 = $A$addr;
- $1 = $M$addr;
- _silk_LDL_FLP($0,$1,$L,$Dinv);
- $2 = $M$addr;
- $3 = $b$addr;
- _silk_SolveWithLowerTriangularWdiagOnes_FLP($L,$2,$3,$T);
- $i = 0;
- while(1) {
- $4 = $i;
- $5 = $M$addr;
- $cmp = ($4|0)<($5|0);
- if (!($cmp)) {
- break;
- }
- $6 = $i;
- $arrayidx5 = (($T) + ($6<<2)|0);
- $7 = +HEAPF32[$arrayidx5>>2];
- $8 = $i;
- $arrayidx6 = (($Dinv) + ($8<<2)|0);
- $9 = +HEAPF32[$arrayidx6>>2];
- $mul = $7 * $9;
- $10 = $i;
- $arrayidx7 = (($T) + ($10<<2)|0);
- HEAPF32[$arrayidx7>>2] = $mul;
- $11 = $i;
- $inc = (($11) + 1)|0;
- $i = $inc;
- }
- $12 = $M$addr;
- $13 = $x$addr;
- _silk_SolveWithUpperTriangularFromLowerWdiagOnes_FLP($L,$12,$T,$13);
- STACKTOP = sp;return;
-}
-function _silk_LDL_FLP($A,$M,$L,$Dinv) {
- $A = $A|0;
- $M = $M|0;
- $L = $L|0;
- $Dinv = $Dinv|0;
- var $0 = 0, $1 = 0.0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0, $26 = 0.0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0, $35 = 0.0, $36 = 0.0, $37 = 0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0.0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0.0, $48 = 0, $49 = 0.0, $5 = 0.0, $50 = 0, $51 = 0.0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0;
- var $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0, $73 = 0.0, $74 = 0.0, $75 = 0, $76 = 0, $77 = 0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0;
- var $81 = 0, $82 = 0.0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $A$addr = 0, $D = 0, $Dinv$addr = 0, $L$addr = 0, $M$addr = 0, $add = 0.0, $add$ptr = 0, $add$ptr14 = 0;
- var $add$ptr42 = 0, $add$ptr53 = 0, $add$ptr56 = 0, $add$ptr60 = 0, $add$ptr87 = 0, $add$ptr88 = 0, $add11 = 0, $add13 = 0, $add31 = 0, $add41 = 0, $add43 = 0.0, $add52 = 0, $add55 = 0, $add57 = 0, $add59 = 0, $add61 = 0, $add74 = 0.0, $add86 = 0, $arrayidx1 = 0, $arrayidx20 = 0;
- var $arrayidx21 = 0, $arrayidx23 = 0, $arrayidx24 = 0, $arrayidx25 = 0, $arrayidx48 = 0, $arrayidx50 = 0, $arrayidx70 = 0, $arrayidx71 = 0, $arrayidx78 = 0, $arrayidx81 = 0, $cmp = 0, $cmp17 = 0, $cmp29 = 0, $cmp36 = 0, $cmp4 = 0, $cmp63 = 0, $cmp67 = 0, $cmp7 = 0, $conv = 0.0, $conv15 = 0.0;
- var $conv27 = 0.0, $conv32 = 0.0, $conv39 = 0.0, $conv47 = 0.0, $conv49 = 0.0, $conv73 = 0.0, $conv79 = 0.0, $conv82 = 0.0, $conv84 = 0.0, $diag_min_value = 0.0, $div = 0.0, $err = 0, $i = 0, $inc = 0, $inc45 = 0, $inc76 = 0, $inc90 = 0, $inc93 = 0, $inc96 = 0, $j = 0;
- var $k = 0, $loop_count = 0, $mul = 0, $mul10 = 0, $mul12 = 0, $mul2 = 0.0, $mul22 = 0.0, $mul26 = 0.0, $mul33 = 0.0, $mul40 = 0, $mul51 = 0, $mul54 = 0, $mul58 = 0, $mul72 = 0.0, $mul83 = 0.0, $mul85 = 0, $ptr1 = 0, $ptr2 = 0, $sub = 0, $sub28 = 0.0;
- var $sub34 = 0.0, $sub80 = 0.0, $temp = 0.0, $v = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
- $v = sp + 80|0;
- $D = sp + 16|0;
- $A$addr = $A;
- $M$addr = $M;
- $L$addr = $L;
- $Dinv$addr = $Dinv;
- $err = 1;
- $0 = $A$addr;
- $1 = +HEAPF32[$0>>2];
- $2 = $A$addr;
- $3 = $M$addr;
- $4 = $M$addr;
- $mul = Math_imul($3, $4)|0;
- $sub = (($mul) - 1)|0;
- $arrayidx1 = (($2) + ($sub<<2)|0);
- $5 = +HEAPF32[$arrayidx1>>2];
- $add = $1 + $5;
- $mul2 = 4.9999998736893758E-6 * $add;
- $conv = $mul2;
- $diag_min_value = $conv;
- $loop_count = 0;
- while(1) {
- $6 = $loop_count;
- $7 = $M$addr;
- $cmp = ($6|0)<($7|0);
- $8 = $err;
- $cmp4 = ($8|0)==(1);
- $9 = $cmp ? $cmp4 : 0;
- if (!($9)) {
- break;
- }
- $err = 0;
- $j = 0;
- while(1) {
- $10 = $j;
- $11 = $M$addr;
- $cmp7 = ($10|0)<($11|0);
- if (!($cmp7)) {
- break;
- }
- $12 = $L$addr;
- $13 = $j;
- $14 = $M$addr;
- $mul10 = Math_imul($13, $14)|0;
- $add11 = (($mul10) + 0)|0;
- $add$ptr = (($12) + ($add11<<2)|0);
- $ptr1 = $add$ptr;
- $15 = $A$addr;
- $16 = $j;
- $17 = $M$addr;
- $mul12 = Math_imul($16, $17)|0;
- $18 = $j;
- $add13 = (($mul12) + ($18))|0;
- $add$ptr14 = (($15) + ($add13<<2)|0);
- $19 = +HEAPF32[$add$ptr14>>2];
- $conv15 = $19;
- $temp = $conv15;
- $i = 0;
- while(1) {
- $20 = $i;
- $21 = $j;
- $cmp17 = ($20|0)<($21|0);
- if (!($cmp17)) {
- break;
- }
- $22 = $ptr1;
- $23 = $i;
- $arrayidx20 = (($22) + ($23<<2)|0);
- $24 = +HEAPF32[$arrayidx20>>2];
- $25 = $i;
- $arrayidx21 = (($D) + ($25<<2)|0);
- $26 = +HEAPF32[$arrayidx21>>2];
- $mul22 = $24 * $26;
- $27 = $i;
- $arrayidx23 = (($v) + ($27<<2)|0);
- HEAPF32[$arrayidx23>>2] = $mul22;
- $28 = $ptr1;
- $29 = $i;
- $arrayidx24 = (($28) + ($29<<2)|0);
- $30 = +HEAPF32[$arrayidx24>>2];
- $31 = $i;
- $arrayidx25 = (($v) + ($31<<2)|0);
- $32 = +HEAPF32[$arrayidx25>>2];
- $mul26 = $30 * $32;
- $conv27 = $mul26;
- $33 = $temp;
- $sub28 = $33 - $conv27;
- $temp = $sub28;
- $34 = $i;
- $inc = (($34) + 1)|0;
- $i = $inc;
- }
- $35 = $temp;
- $36 = $diag_min_value;
- $cmp29 = $35 < $36;
- if ($cmp29) {
- label = 9;
- break;
- }
- $49 = $temp;
- $conv47 = $49;
- $50 = $j;
- $arrayidx48 = (($D) + ($50<<2)|0);
- HEAPF32[$arrayidx48>>2] = $conv47;
- $51 = $temp;
- $div = 1.0 / $51;
- $conv49 = $div;
- $52 = $Dinv$addr;
- $53 = $j;
- $arrayidx50 = (($52) + ($53<<2)|0);
- HEAPF32[$arrayidx50>>2] = $conv49;
- $54 = $L$addr;
- $55 = $j;
- $56 = $M$addr;
- $mul51 = Math_imul($55, $56)|0;
- $57 = $j;
- $add52 = (($mul51) + ($57))|0;
- $add$ptr53 = (($54) + ($add52<<2)|0);
- HEAPF32[$add$ptr53>>2] = 1.0;
- $58 = $A$addr;
- $59 = $j;
- $60 = $M$addr;
- $mul54 = Math_imul($59, $60)|0;
- $add55 = (($mul54) + 0)|0;
- $add$ptr56 = (($58) + ($add55<<2)|0);
- $ptr1 = $add$ptr56;
- $61 = $L$addr;
- $62 = $j;
- $add57 = (($62) + 1)|0;
- $63 = $M$addr;
- $mul58 = Math_imul($add57, $63)|0;
- $add59 = (($mul58) + 0)|0;
- $add$ptr60 = (($61) + ($add59<<2)|0);
- $ptr2 = $add$ptr60;
- $64 = $j;
- $add61 = (($64) + 1)|0;
- $i = $add61;
- while(1) {
- $65 = $i;
- $66 = $M$addr;
- $cmp63 = ($65|0)<($66|0);
- if (!($cmp63)) {
- break;
- }
- $temp = 0.0;
- $k = 0;
- while(1) {
- $67 = $k;
- $68 = $j;
- $cmp67 = ($67|0)<($68|0);
- if (!($cmp67)) {
- break;
- }
- $69 = $ptr2;
- $70 = $k;
- $arrayidx70 = (($69) + ($70<<2)|0);
- $71 = +HEAPF32[$arrayidx70>>2];
- $72 = $k;
- $arrayidx71 = (($v) + ($72<<2)|0);
- $73 = +HEAPF32[$arrayidx71>>2];
- $mul72 = $71 * $73;
- $conv73 = $mul72;
- $74 = $temp;
- $add74 = $74 + $conv73;
- $temp = $add74;
- $75 = $k;
- $inc76 = (($75) + 1)|0;
- $k = $inc76;
- }
- $76 = $ptr1;
- $77 = $i;
- $arrayidx78 = (($76) + ($77<<2)|0);
- $78 = +HEAPF32[$arrayidx78>>2];
- $conv79 = $78;
- $79 = $temp;
- $sub80 = $conv79 - $79;
- $80 = $Dinv$addr;
- $81 = $j;
- $arrayidx81 = (($80) + ($81<<2)|0);
- $82 = +HEAPF32[$arrayidx81>>2];
- $conv82 = $82;
- $mul83 = $sub80 * $conv82;
- $conv84 = $mul83;
- $83 = $L$addr;
- $84 = $i;
- $85 = $M$addr;
- $mul85 = Math_imul($84, $85)|0;
- $86 = $j;
- $add86 = (($mul85) + ($86))|0;
- $add$ptr87 = (($83) + ($add86<<2)|0);
- HEAPF32[$add$ptr87>>2] = $conv84;
- $87 = $M$addr;
- $88 = $ptr2;
- $add$ptr88 = (($88) + ($87<<2)|0);
- $ptr2 = $add$ptr88;
- $89 = $i;
- $inc90 = (($89) + 1)|0;
- $i = $inc90;
- }
- $90 = $j;
- $inc93 = (($90) + 1)|0;
- $j = $inc93;
- }
- if ((label|0) == 9) {
- label = 0;
- $37 = $loop_count;
- $add31 = (($37) + 1)|0;
- $conv32 = (+($add31|0));
- $38 = $diag_min_value;
- $mul33 = $conv32 * $38;
- $39 = $temp;
- $sub34 = $mul33 - $39;
- $temp = $sub34;
- $i = 0;
- while(1) {
- $40 = $i;
- $41 = $M$addr;
- $cmp36 = ($40|0)<($41|0);
- if (!($cmp36)) {
- break;
- }
- $42 = $temp;
- $conv39 = $42;
- $43 = $A$addr;
- $44 = $i;
- $45 = $M$addr;
- $mul40 = Math_imul($44, $45)|0;
- $46 = $i;
- $add41 = (($mul40) + ($46))|0;
- $add$ptr42 = (($43) + ($add41<<2)|0);
- $47 = +HEAPF32[$add$ptr42>>2];
- $add43 = $47 + $conv39;
- HEAPF32[$add$ptr42>>2] = $add43;
- $48 = $i;
- $inc45 = (($48) + 1)|0;
- $i = $inc45;
- }
- $err = 1;
- }
- $91 = $loop_count;
- $inc96 = (($91) + 1)|0;
- $loop_count = $inc96;
- }
- STACKTOP = sp;return;
-}
-function _silk_SolveWithLowerTriangularWdiagOnes_FLP($L,$M,$b,$x) {
- $L = $L|0;
- $M = $M|0;
- $b = $b|0;
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0;
- var $7 = 0, $8 = 0, $9 = 0.0, $L$addr = 0, $M$addr = 0, $add = 0, $add$ptr = 0, $add6 = 0.0, $arrayidx = 0, $arrayidx4 = 0, $arrayidx7 = 0, $arrayidx8 = 0, $b$addr = 0, $cmp = 0, $cmp2 = 0, $i = 0, $inc = 0, $inc10 = 0, $j = 0, $mul = 0;
- var $mul5 = 0.0, $ptr1 = 0, $sub = 0.0, $temp = 0.0, $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $L$addr = $L;
- $M$addr = $M;
- $b$addr = $b;
- $x$addr = $x;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $M$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $L$addr;
- $3 = $i;
- $4 = $M$addr;
- $mul = Math_imul($3, $4)|0;
- $add = (($mul) + 0)|0;
- $add$ptr = (($2) + ($add<<2)|0);
- $ptr1 = $add$ptr;
- $temp = 0.0;
- $j = 0;
- while(1) {
- $5 = $j;
- $6 = $i;
- $cmp2 = ($5|0)<($6|0);
- if (!($cmp2)) {
- break;
- }
- $7 = $ptr1;
- $8 = $j;
- $arrayidx = (($7) + ($8<<2)|0);
- $9 = +HEAPF32[$arrayidx>>2];
- $10 = $x$addr;
- $11 = $j;
- $arrayidx4 = (($10) + ($11<<2)|0);
- $12 = +HEAPF32[$arrayidx4>>2];
- $mul5 = $9 * $12;
- $13 = $temp;
- $add6 = $13 + $mul5;
- $temp = $add6;
- $14 = $j;
- $inc = (($14) + 1)|0;
- $j = $inc;
- }
- $15 = $b$addr;
- $16 = $i;
- $arrayidx7 = (($15) + ($16<<2)|0);
- $17 = +HEAPF32[$arrayidx7>>2];
- $18 = $temp;
- $sub = $17 - $18;
- $temp = $sub;
- $19 = $temp;
- $20 = $x$addr;
- $21 = $i;
- $arrayidx8 = (($20) + ($21<<2)|0);
- HEAPF32[$arrayidx8>>2] = $19;
- $22 = $i;
- $inc10 = (($22) + 1)|0;
- $i = $inc10;
- }
- STACKTOP = sp;return;
-}
-function _silk_SolveWithUpperTriangularFromLowerWdiagOnes_FLP($L,$M,$b,$x) {
- $L = $L|0;
- $M = $M|0;
- $b = $b|0;
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $2 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $3 = 0, $4 = 0;
- var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $L$addr = 0, $M$addr = 0, $add = 0, $add$ptr = 0, $add8 = 0.0, $arrayidx = 0, $arrayidx11 = 0, $arrayidx6 = 0, $arrayidx9 = 0, $b$addr = 0, $cmp = 0, $cmp3 = 0, $dec = 0, $dec13 = 0, $i = 0;
- var $j = 0, $mul = 0, $mul5 = 0, $mul7 = 0.0, $ptr1 = 0, $sub = 0, $sub1 = 0, $sub10 = 0.0, $temp = 0.0, $x$addr = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $L$addr = $L;
- $M$addr = $M;
- $b$addr = $b;
- $x$addr = $x;
- $0 = $M$addr;
- $sub = (($0) - 1)|0;
- $i = $sub;
- while(1) {
- $1 = $i;
- $cmp = ($1|0)>=(0);
- if (!($cmp)) {
- break;
- }
- $2 = $L$addr;
- $3 = $M$addr;
- $mul = 0;
- $4 = $i;
- $add = (($mul) + ($4))|0;
- $add$ptr = (($2) + ($add<<2)|0);
- $ptr1 = $add$ptr;
- $temp = 0.0;
- $5 = $M$addr;
- $sub1 = (($5) - 1)|0;
- $j = $sub1;
- while(1) {
- $6 = $j;
- $7 = $i;
- $cmp3 = ($6|0)>($7|0);
- if (!($cmp3)) {
- break;
- }
- $8 = $ptr1;
- $9 = $j;
- $10 = $M$addr;
- $mul5 = Math_imul($9, $10)|0;
- $arrayidx = (($8) + ($mul5<<2)|0);
- $11 = +HEAPF32[$arrayidx>>2];
- $12 = $x$addr;
- $13 = $j;
- $arrayidx6 = (($12) + ($13<<2)|0);
- $14 = +HEAPF32[$arrayidx6>>2];
- $mul7 = $11 * $14;
- $15 = $temp;
- $add8 = $15 + $mul7;
- $temp = $add8;
- $16 = $j;
- $dec = (($16) + -1)|0;
- $j = $dec;
- }
- $17 = $b$addr;
- $18 = $i;
- $arrayidx9 = (($17) + ($18<<2)|0);
- $19 = +HEAPF32[$arrayidx9>>2];
- $20 = $temp;
- $sub10 = $19 - $20;
- $temp = $sub10;
- $21 = $temp;
- $22 = $x$addr;
- $23 = $i;
- $arrayidx11 = (($22) + ($23<<2)|0);
- HEAPF32[$arrayidx11>>2] = $21;
- $24 = $i;
- $dec13 = (($24) + -1)|0;
- $i = $dec13;
- }
- STACKTOP = sp;return;
-}
-function _silk_burg_modified_FLP($A,$x,$minInvGain,$subfr_length,$nb_subfr,$D) {
- $A = $A|0;
- $x = $x|0;
- $minInvGain = +$minInvGain;
- $subfr_length = $subfr_length|0;
- $nb_subfr = $nb_subfr|0;
- $D = $D|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0.0, $103 = 0.0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0, $113 = 0.0, $114 = 0, $115 = 0;
- var $116 = 0.0, $117 = 0.0, $118 = 0.0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0.0, $123 = 0, $124 = 0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0.0, $132 = 0, $133 = 0.0;
- var $134 = 0.0, $135 = 0.0, $136 = 0, $137 = 0.0, $138 = 0.0, $139 = 0.0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0.0, $143 = 0.0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0.0, $15 = 0, $150 = 0.0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0.0, $155 = 0, $156 = 0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0.0, $160 = 0.0, $161 = 0, $162 = 0.0, $163 = 0.0, $164 = 0.0, $165 = 0, $166 = 0, $167 = 0, $168 = 0.0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0, $180 = 0.0, $181 = 0, $182 = 0, $183 = 0.0, $184 = 0, $185 = 0.0, $186 = 0.0, $187 = 0.0, $188 = 0;
- var $189 = 0, $19 = 0.0, $190 = 0.0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0.0, $198 = 0, $199 = 0, $2 = 0, $20 = 0.0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0.0, $208 = 0, $209 = 0.0, $21 = 0, $210 = 0.0, $211 = 0.0, $212 = 0, $213 = 0, $214 = 0, $215 = 0.0, $216 = 0, $217 = 0.0, $218 = 0.0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0.0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0.0, $228 = 0.0, $229 = 0.0, $23 = 0, $230 = 0.0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0.0;
- var $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0.0, $44 = 0, $45 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0;
- var $53 = 0, $54 = 0.0, $55 = 0, $56 = 0.0, $57 = 0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0.0;
- var $71 = 0.0, $72 = 0, $73 = 0, $74 = 0, $75 = 0.0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0.0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0, $89 = 0.0;
- var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0.0, $94 = 0, $95 = 0.0, $96 = 0, $97 = 0, $98 = 0, $99 = 0.0, $A$addr = 0, $Af = 0, $Atmp = 0.0, $C0 = 0.0, $CAb = 0, $CAf = 0, $C_first_row = 0, $C_last_row = 0, $D$addr = 0;
- var $add = 0, $add$ptr = 0, $add$ptr233 = 0, $add$ptr26 = 0, $add$ptr5 = 0, $add105 = 0.0, $add110 = 0.0, $add114 = 0, $add116 = 0, $add118 = 0, $add130 = 0.0, $add131 = 0, $add134 = 0.0, $add135 = 0, $add138 = 0.0, $add143 = 0.0, $add15 = 0.0, $add16 = 0.0, $add161 = 0, $add170 = 0.0;
- var $add173 = 0.0, $add182 = 0, $add193 = 0, $add199 = 0, $add203 = 0.0, $add206 = 0, $add208 = 0.0, $add247 = 0, $add250 = 0.0, $add252 = 0.0, $add48 = 0, $add60 = 0.0, $add62 = 0, $add66 = 0.0, $add8 = 0.0, $add81 = 0, $arrayidx = 0, $arrayidx100 = 0, $arrayidx103 = 0, $arrayidx108 = 0;
- var $arrayidx115 = 0, $arrayidx117 = 0, $arrayidx119 = 0, $arrayidx126 = 0, $arrayidx128 = 0, $arrayidx132 = 0, $arrayidx136 = 0, $arrayidx165 = 0, $arrayidx168 = 0, $arrayidx171 = 0, $arrayidx176 = 0, $arrayidx180 = 0, $arrayidx187 = 0, $arrayidx197 = 0, $arrayidx200 = 0, $arrayidx202 = 0, $arrayidx207 = 0, $arrayidx221 = 0, $arrayidx224 = 0, $arrayidx246 = 0;
- var $arrayidx248 = 0, $arrayidx255 = 0, $arrayidx27 = 0, $arrayidx30 = 0, $arrayidx36 = 0, $arrayidx39 = 0, $arrayidx42 = 0, $arrayidx46 = 0, $arrayidx49 = 0, $arrayidx52 = 0, $arrayidx54 = 0, $arrayidx57 = 0, $arrayidx63 = 0, $arrayidx75 = 0, $arrayidx78 = 0, $arrayidx83 = 0, $arrayidx86 = 0, $arrayidx94 = 0, $arrayidx95 = 0, $call = 0.0;
- var $call153 = 0.0, $call234 = 0.0, $call6 = 0.0, $cmp = 0, $cmp123 = 0, $cmp148 = 0, $cmp154 = 0, $cmp162 = 0, $cmp184 = 0, $cmp194 = 0, $cmp20 = 0, $cmp218 = 0, $cmp229 = 0, $cmp23 = 0, $cmp243 = 0, $cmp3 = 0, $cmp33 = 0, $cmp71 = 0, $cmp97 = 0, $conv = 0.0;
- var $conv147 = 0.0, $conv150 = 0.0, $conv158 = 0.0, $conv223 = 0.0, $conv254 = 0.0, $conv263 = 0.0, $conv31 = 0.0, $conv41 = 0.0, $conv51 = 0.0, $conv58 = 0.0, $conv64 = 0.0, $conv76 = 0.0, $conv84 = 0.0, $div = 0.0, $div151 = 0.0, $inc = 0, $inc10 = 0, $inc112 = 0, $inc140 = 0, $inc178 = 0;
- var $inc189 = 0, $inc210 = 0, $inc213 = 0, $inc226 = 0, $inc237 = 0, $inc257 = 0, $inc68 = 0, $inc89 = 0, $inc92 = 0, $invGain = 0.0, $k = 0, $minInvGain$addr = 0.0, $mul = 0, $mul1 = 0, $mul104 = 0.0, $mul109 = 0.0, $mul129 = 0.0, $mul133 = 0.0, $mul137 = 0.0, $mul14 = 0.0;
- var $mul142 = 0.0, $mul144 = 0.0, $mul146 = 0.0, $mul169 = 0.0, $mul172 = 0.0, $mul201 = 0.0, $mul204 = 0.0, $mul232 = 0, $mul239 = 0.0, $mul249 = 0.0, $mul25 = 0, $mul251 = 0.0, $mul259 = 0.0, $mul260 = 0.0, $mul40 = 0.0, $mul50 = 0.0, $mul59 = 0.0, $mul65 = 0.0, $mul77 = 0.0, $mul85 = 0.0;
- var $n = 0, $nb_subfr$addr = 0, $nrg_b = 0.0, $nrg_f = 0.0, $num = 0.0, $rc = 0.0, $reached_max_gain = 0, $s = 0, $shr = 0, $sub = 0, $sub101 = 0, $sub102 = 0, $sub106 = 0, $sub107 = 0, $sub127 = 0, $sub145 = 0.0, $sub152 = 0.0, $sub157 = 0.0, $sub166 = 0, $sub167 = 0;
- var $sub174 = 0, $sub175 = 0, $sub198 = 0, $sub205 = 0, $sub222 = 0.0, $sub235 = 0.0, $sub253 = 0.0, $sub261 = 0.0, $sub28 = 0, $sub29 = 0, $sub37 = 0, $sub38 = 0, $sub43 = 0.0, $sub44 = 0, $sub45 = 0, $sub47 = 0, $sub53 = 0.0, $sub55 = 0, $sub56 = 0, $sub61 = 0;
- var $sub7 = 0, $sub74 = 0, $sub79 = 0.0, $sub80 = 0, $sub82 = 0, $sub87 = 0.0, $subfr_length$addr = 0, $tmp1 = 0.0, $tmp2 = 0.0, $tobool = 0, $tobool215 = 0, $x$addr = 0, $x_ptr = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 784|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(784|0);
- $C_first_row = sp + 528|0;
- $C_last_row = sp + 400|0;
- $CAf = sp + 264|0;
- $CAb = sp + 128|0;
- $Af = sp;
- $A$addr = $A;
- $x$addr = $x;
- $minInvGain$addr = $minInvGain;
- $subfr_length$addr = $subfr_length;
- $nb_subfr$addr = $nb_subfr;
- $D$addr = $D;
- $0 = $x$addr;
- $1 = $nb_subfr$addr;
- $2 = $subfr_length$addr;
- $mul = Math_imul($1, $2)|0;
- $call = (+_silk_energy_FLP($0,$mul));
- $C0 = $call;
- dest=$C_first_row; stop=dest+128|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
- $s = 0;
- while(1) {
- $3 = $s;
- $4 = $nb_subfr$addr;
- $cmp = ($3|0)<($4|0);
- if (!($cmp)) {
- break;
- }
- $5 = $x$addr;
- $6 = $s;
- $7 = $subfr_length$addr;
- $mul1 = Math_imul($6, $7)|0;
- $add$ptr = (($5) + ($mul1<<2)|0);
- $x_ptr = $add$ptr;
- $n = 1;
- while(1) {
- $8 = $n;
- $9 = $D$addr;
- $add = (($9) + 1)|0;
- $cmp3 = ($8|0)<($add|0);
- if (!($cmp3)) {
- break;
- }
- $10 = $x_ptr;
- $11 = $x_ptr;
- $12 = $n;
- $add$ptr5 = (($11) + ($12<<2)|0);
- $13 = $subfr_length$addr;
- $14 = $n;
- $sub = (($13) - ($14))|0;
- $call6 = (+_silk_inner_product_FLP($10,$add$ptr5,$sub));
- $15 = $n;
- $sub7 = (($15) - 1)|0;
- $arrayidx = (($C_first_row) + ($sub7<<3)|0);
- $16 = +HEAPF64[$arrayidx>>3];
- $add8 = $16 + $call6;
- HEAPF64[$arrayidx>>3] = $add8;
- $17 = $n;
- $inc = (($17) + 1)|0;
- $n = $inc;
- }
- $18 = $s;
- $inc10 = (($18) + 1)|0;
- $s = $inc10;
- }
- dest=$C_last_row; src=$C_first_row; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $19 = $C0;
- $20 = $C0;
- $mul14 = 9.9999997473787516E-6 * $20;
- $add15 = $19 + $mul14;
- $add16 = $add15 + 9.9999997171806853E-10;
- HEAPF64[$CAf>>3] = $add16;
- HEAPF64[$CAb>>3] = $add16;
- $invGain = 1.0;
- $reached_max_gain = 0;
- $n = 0;
- while(1) {
- $21 = $n;
- $22 = $D$addr;
- $cmp20 = ($21|0)<($22|0);
- if (!($cmp20)) {
- break;
- }
- $s = 0;
- while(1) {
- $23 = $s;
- $24 = $nb_subfr$addr;
- $cmp23 = ($23|0)<($24|0);
- if (!($cmp23)) {
- break;
- }
- $25 = $x$addr;
- $26 = $s;
- $27 = $subfr_length$addr;
- $mul25 = Math_imul($26, $27)|0;
- $add$ptr26 = (($25) + ($mul25<<2)|0);
- $x_ptr = $add$ptr26;
- $28 = $x_ptr;
- $29 = $n;
- $arrayidx27 = (($28) + ($29<<2)|0);
- $30 = +HEAPF32[$arrayidx27>>2];
- $conv = $30;
- $tmp1 = $conv;
- $31 = $x_ptr;
- $32 = $subfr_length$addr;
- $33 = $n;
- $sub28 = (($32) - ($33))|0;
- $sub29 = (($sub28) - 1)|0;
- $arrayidx30 = (($31) + ($sub29<<2)|0);
- $34 = +HEAPF32[$arrayidx30>>2];
- $conv31 = $34;
- $tmp2 = $conv31;
- $k = 0;
- while(1) {
- $35 = $k;
- $36 = $n;
- $cmp33 = ($35|0)<($36|0);
- if (!($cmp33)) {
- break;
- }
- $37 = $x_ptr;
- $38 = $n;
- $arrayidx36 = (($37) + ($38<<2)|0);
- $39 = +HEAPF32[$arrayidx36>>2];
- $40 = $x_ptr;
- $41 = $n;
- $42 = $k;
- $sub37 = (($41) - ($42))|0;
- $sub38 = (($sub37) - 1)|0;
- $arrayidx39 = (($40) + ($sub38<<2)|0);
- $43 = +HEAPF32[$arrayidx39>>2];
- $mul40 = $39 * $43;
- $conv41 = $mul40;
- $44 = $k;
- $arrayidx42 = (($C_first_row) + ($44<<3)|0);
- $45 = +HEAPF64[$arrayidx42>>3];
- $sub43 = $45 - $conv41;
- HEAPF64[$arrayidx42>>3] = $sub43;
- $46 = $x_ptr;
- $47 = $subfr_length$addr;
- $48 = $n;
- $sub44 = (($47) - ($48))|0;
- $sub45 = (($sub44) - 1)|0;
- $arrayidx46 = (($46) + ($sub45<<2)|0);
- $49 = +HEAPF32[$arrayidx46>>2];
- $50 = $x_ptr;
- $51 = $subfr_length$addr;
- $52 = $n;
- $sub47 = (($51) - ($52))|0;
- $53 = $k;
- $add48 = (($sub47) + ($53))|0;
- $arrayidx49 = (($50) + ($add48<<2)|0);
- $54 = +HEAPF32[$arrayidx49>>2];
- $mul50 = $49 * $54;
- $conv51 = $mul50;
- $55 = $k;
- $arrayidx52 = (($C_last_row) + ($55<<3)|0);
- $56 = +HEAPF64[$arrayidx52>>3];
- $sub53 = $56 - $conv51;
- HEAPF64[$arrayidx52>>3] = $sub53;
- $57 = $k;
- $arrayidx54 = (($Af) + ($57<<3)|0);
- $58 = +HEAPF64[$arrayidx54>>3];
- $Atmp = $58;
- $59 = $x_ptr;
- $60 = $n;
- $61 = $k;
- $sub55 = (($60) - ($61))|0;
- $sub56 = (($sub55) - 1)|0;
- $arrayidx57 = (($59) + ($sub56<<2)|0);
- $62 = +HEAPF32[$arrayidx57>>2];
- $conv58 = $62;
- $63 = $Atmp;
- $mul59 = $conv58 * $63;
- $64 = $tmp1;
- $add60 = $64 + $mul59;
- $tmp1 = $add60;
- $65 = $x_ptr;
- $66 = $subfr_length$addr;
- $67 = $n;
- $sub61 = (($66) - ($67))|0;
- $68 = $k;
- $add62 = (($sub61) + ($68))|0;
- $arrayidx63 = (($65) + ($add62<<2)|0);
- $69 = +HEAPF32[$arrayidx63>>2];
- $conv64 = $69;
- $70 = $Atmp;
- $mul65 = $conv64 * $70;
- $71 = $tmp2;
- $add66 = $71 + $mul65;
- $tmp2 = $add66;
- $72 = $k;
- $inc68 = (($72) + 1)|0;
- $k = $inc68;
- }
- $k = 0;
- while(1) {
- $73 = $k;
- $74 = $n;
- $cmp71 = ($73|0)<=($74|0);
- if (!($cmp71)) {
- break;
- }
- $75 = $tmp1;
- $76 = $x_ptr;
- $77 = $n;
- $78 = $k;
- $sub74 = (($77) - ($78))|0;
- $arrayidx75 = (($76) + ($sub74<<2)|0);
- $79 = +HEAPF32[$arrayidx75>>2];
- $conv76 = $79;
- $mul77 = $75 * $conv76;
- $80 = $k;
- $arrayidx78 = (($CAf) + ($80<<3)|0);
- $81 = +HEAPF64[$arrayidx78>>3];
- $sub79 = $81 - $mul77;
- HEAPF64[$arrayidx78>>3] = $sub79;
- $82 = $tmp2;
- $83 = $x_ptr;
- $84 = $subfr_length$addr;
- $85 = $n;
- $sub80 = (($84) - ($85))|0;
- $86 = $k;
- $add81 = (($sub80) + ($86))|0;
- $sub82 = (($add81) - 1)|0;
- $arrayidx83 = (($83) + ($sub82<<2)|0);
- $87 = +HEAPF32[$arrayidx83>>2];
- $conv84 = $87;
- $mul85 = $82 * $conv84;
- $88 = $k;
- $arrayidx86 = (($CAb) + ($88<<3)|0);
- $89 = +HEAPF64[$arrayidx86>>3];
- $sub87 = $89 - $mul85;
- HEAPF64[$arrayidx86>>3] = $sub87;
- $90 = $k;
- $inc89 = (($90) + 1)|0;
- $k = $inc89;
- }
- $91 = $s;
- $inc92 = (($91) + 1)|0;
- $s = $inc92;
- }
- $92 = $n;
- $arrayidx94 = (($C_first_row) + ($92<<3)|0);
- $93 = +HEAPF64[$arrayidx94>>3];
- $tmp1 = $93;
- $94 = $n;
- $arrayidx95 = (($C_last_row) + ($94<<3)|0);
- $95 = +HEAPF64[$arrayidx95>>3];
- $tmp2 = $95;
- $k = 0;
- while(1) {
- $96 = $k;
- $97 = $n;
- $cmp97 = ($96|0)<($97|0);
- if (!($cmp97)) {
- break;
- }
- $98 = $k;
- $arrayidx100 = (($Af) + ($98<<3)|0);
- $99 = +HEAPF64[$arrayidx100>>3];
- $Atmp = $99;
- $100 = $n;
- $101 = $k;
- $sub101 = (($100) - ($101))|0;
- $sub102 = (($sub101) - 1)|0;
- $arrayidx103 = (($C_last_row) + ($sub102<<3)|0);
- $102 = +HEAPF64[$arrayidx103>>3];
- $103 = $Atmp;
- $mul104 = $102 * $103;
- $104 = $tmp1;
- $add105 = $104 + $mul104;
- $tmp1 = $add105;
- $105 = $n;
- $106 = $k;
- $sub106 = (($105) - ($106))|0;
- $sub107 = (($sub106) - 1)|0;
- $arrayidx108 = (($C_first_row) + ($sub107<<3)|0);
- $107 = +HEAPF64[$arrayidx108>>3];
- $108 = $Atmp;
- $mul109 = $107 * $108;
- $109 = $tmp2;
- $add110 = $109 + $mul109;
- $tmp2 = $add110;
- $110 = $k;
- $inc112 = (($110) + 1)|0;
- $k = $inc112;
- }
- $111 = $tmp1;
- $112 = $n;
- $add114 = (($112) + 1)|0;
- $arrayidx115 = (($CAf) + ($add114<<3)|0);
- HEAPF64[$arrayidx115>>3] = $111;
- $113 = $tmp2;
- $114 = $n;
- $add116 = (($114) + 1)|0;
- $arrayidx117 = (($CAb) + ($add116<<3)|0);
- HEAPF64[$arrayidx117>>3] = $113;
- $115 = $n;
- $add118 = (($115) + 1)|0;
- $arrayidx119 = (($CAb) + ($add118<<3)|0);
- $116 = +HEAPF64[$arrayidx119>>3];
- $num = $116;
- $117 = +HEAPF64[$CAb>>3];
- $nrg_b = $117;
- $118 = +HEAPF64[$CAf>>3];
- $nrg_f = $118;
- $k = 0;
- while(1) {
- $119 = $k;
- $120 = $n;
- $cmp123 = ($119|0)<($120|0);
- if (!($cmp123)) {
- break;
- }
- $121 = $k;
- $arrayidx126 = (($Af) + ($121<<3)|0);
- $122 = +HEAPF64[$arrayidx126>>3];
- $Atmp = $122;
- $123 = $n;
- $124 = $k;
- $sub127 = (($123) - ($124))|0;
- $arrayidx128 = (($CAb) + ($sub127<<3)|0);
- $125 = +HEAPF64[$arrayidx128>>3];
- $126 = $Atmp;
- $mul129 = $125 * $126;
- $127 = $num;
- $add130 = $127 + $mul129;
- $num = $add130;
- $128 = $k;
- $add131 = (($128) + 1)|0;
- $arrayidx132 = (($CAb) + ($add131<<3)|0);
- $129 = +HEAPF64[$arrayidx132>>3];
- $130 = $Atmp;
- $mul133 = $129 * $130;
- $131 = $nrg_b;
- $add134 = $131 + $mul133;
- $nrg_b = $add134;
- $132 = $k;
- $add135 = (($132) + 1)|0;
- $arrayidx136 = (($CAf) + ($add135<<3)|0);
- $133 = +HEAPF64[$arrayidx136>>3];
- $134 = $Atmp;
- $mul137 = $133 * $134;
- $135 = $nrg_f;
- $add138 = $135 + $mul137;
- $nrg_f = $add138;
- $136 = $k;
- $inc140 = (($136) + 1)|0;
- $k = $inc140;
- }
- $137 = $num;
- $mul142 = -2.0 * $137;
- $138 = $nrg_f;
- $139 = $nrg_b;
- $add143 = $138 + $139;
- $div = $mul142 / $add143;
- $rc = $div;
- $140 = $invGain;
- $141 = $rc;
- $142 = $rc;
- $mul144 = $141 * $142;
- $sub145 = 1.0 - $mul144;
- $mul146 = $140 * $sub145;
- $tmp1 = $mul146;
- $143 = $tmp1;
- $144 = $minInvGain$addr;
- $conv147 = $144;
- $cmp148 = $143 <= $conv147;
- if ($cmp148) {
- $145 = $minInvGain$addr;
- $conv150 = $145;
- $146 = $invGain;
- $div151 = $conv150 / $146;
- $sub152 = 1.0 - $div151;
- $call153 = (+Math_sqrt((+$sub152)));
- $rc = $call153;
- $147 = $num;
- $cmp154 = $147 > 0.0;
- if ($cmp154) {
- $148 = $rc;
- $sub157 = - $148;
- $rc = $sub157;
- }
- $149 = $minInvGain$addr;
- $conv158 = $149;
- $invGain = $conv158;
- $reached_max_gain = 1;
- } else {
- $150 = $tmp1;
- $invGain = $150;
- }
- $k = 0;
- while(1) {
- $151 = $k;
- $152 = $n;
- $add161 = (($152) + 1)|0;
- $shr = $add161 >> 1;
- $cmp162 = ($151|0)<($shr|0);
- if (!($cmp162)) {
- break;
- }
- $153 = $k;
- $arrayidx165 = (($Af) + ($153<<3)|0);
- $154 = +HEAPF64[$arrayidx165>>3];
- $tmp1 = $154;
- $155 = $n;
- $156 = $k;
- $sub166 = (($155) - ($156))|0;
- $sub167 = (($sub166) - 1)|0;
- $arrayidx168 = (($Af) + ($sub167<<3)|0);
- $157 = +HEAPF64[$arrayidx168>>3];
- $tmp2 = $157;
- $158 = $tmp1;
- $159 = $rc;
- $160 = $tmp2;
- $mul169 = $159 * $160;
- $add170 = $158 + $mul169;
- $161 = $k;
- $arrayidx171 = (($Af) + ($161<<3)|0);
- HEAPF64[$arrayidx171>>3] = $add170;
- $162 = $tmp2;
- $163 = $rc;
- $164 = $tmp1;
- $mul172 = $163 * $164;
- $add173 = $162 + $mul172;
- $165 = $n;
- $166 = $k;
- $sub174 = (($165) - ($166))|0;
- $sub175 = (($sub174) - 1)|0;
- $arrayidx176 = (($Af) + ($sub175<<3)|0);
- HEAPF64[$arrayidx176>>3] = $add173;
- $167 = $k;
- $inc178 = (($167) + 1)|0;
- $k = $inc178;
- }
- $168 = $rc;
- $169 = $n;
- $arrayidx180 = (($Af) + ($169<<3)|0);
- HEAPF64[$arrayidx180>>3] = $168;
- $170 = $reached_max_gain;
- $tobool = ($170|0)!=(0);
- if ($tobool) {
- label = 33;
- break;
- }
- $k = 0;
- while(1) {
- $176 = $k;
- $177 = $n;
- $add193 = (($177) + 1)|0;
- $cmp194 = ($176|0)<=($add193|0);
- if (!($cmp194)) {
- break;
- }
- $178 = $k;
- $arrayidx197 = (($CAf) + ($178<<3)|0);
- $179 = +HEAPF64[$arrayidx197>>3];
- $tmp1 = $179;
- $180 = $rc;
- $181 = $n;
- $182 = $k;
- $sub198 = (($181) - ($182))|0;
- $add199 = (($sub198) + 1)|0;
- $arrayidx200 = (($CAb) + ($add199<<3)|0);
- $183 = +HEAPF64[$arrayidx200>>3];
- $mul201 = $180 * $183;
- $184 = $k;
- $arrayidx202 = (($CAf) + ($184<<3)|0);
- $185 = +HEAPF64[$arrayidx202>>3];
- $add203 = $185 + $mul201;
- HEAPF64[$arrayidx202>>3] = $add203;
- $186 = $rc;
- $187 = $tmp1;
- $mul204 = $186 * $187;
- $188 = $n;
- $189 = $k;
- $sub205 = (($188) - ($189))|0;
- $add206 = (($sub205) + 1)|0;
- $arrayidx207 = (($CAb) + ($add206<<3)|0);
- $190 = +HEAPF64[$arrayidx207>>3];
- $add208 = $190 + $mul204;
- HEAPF64[$arrayidx207>>3] = $add208;
- $191 = $k;
- $inc210 = (($191) + 1)|0;
- $k = $inc210;
- }
- $192 = $n;
- $inc213 = (($192) + 1)|0;
- $n = $inc213;
- }
- L48: do {
- if ((label|0) == 33) {
- $171 = $n;
- $add182 = (($171) + 1)|0;
- $k = $add182;
- while(1) {
- $172 = $k;
- $173 = $D$addr;
- $cmp184 = ($172|0)<($173|0);
- if (!($cmp184)) {
- break L48;
- }
- $174 = $k;
- $arrayidx187 = (($Af) + ($174<<3)|0);
- HEAPF64[$arrayidx187>>3] = 0.0;
- $175 = $k;
- $inc189 = (($175) + 1)|0;
- $k = $inc189;
- }
- }
- } while(0);
- $193 = $reached_max_gain;
- $tobool215 = ($193|0)!=(0);
- if (!($tobool215)) {
- $211 = +HEAPF64[$CAf>>3];
- $nrg_f = $211;
- $tmp1 = 1.0;
- $k = 0;
- while(1) {
- $212 = $k;
- $213 = $D$addr;
- $cmp243 = ($212|0)<($213|0);
- if (!($cmp243)) {
- break;
- }
- $214 = $k;
- $arrayidx246 = (($Af) + ($214<<3)|0);
- $215 = +HEAPF64[$arrayidx246>>3];
- $Atmp = $215;
- $216 = $k;
- $add247 = (($216) + 1)|0;
- $arrayidx248 = (($CAf) + ($add247<<3)|0);
- $217 = +HEAPF64[$arrayidx248>>3];
- $218 = $Atmp;
- $mul249 = $217 * $218;
- $219 = $nrg_f;
- $add250 = $219 + $mul249;
- $nrg_f = $add250;
- $220 = $Atmp;
- $221 = $Atmp;
- $mul251 = $220 * $221;
- $222 = $tmp1;
- $add252 = $222 + $mul251;
- $tmp1 = $add252;
- $223 = $Atmp;
- $sub253 = - $223;
- $conv254 = $sub253;
- $224 = $A$addr;
- $225 = $k;
- $arrayidx255 = (($224) + ($225<<2)|0);
- HEAPF32[$arrayidx255>>2] = $conv254;
- $226 = $k;
- $inc257 = (($226) + 1)|0;
- $k = $inc257;
- }
- $227 = $C0;
- $mul259 = 9.9999997473787516E-6 * $227;
- $228 = $tmp1;
- $mul260 = $mul259 * $228;
- $229 = $nrg_f;
- $sub261 = $229 - $mul260;
- $nrg_f = $sub261;
- $230 = $nrg_f;
- $conv263 = $230;
- STACKTOP = sp;return (+$conv263);
- }
- $k = 0;
- while(1) {
- $194 = $k;
- $195 = $D$addr;
- $cmp218 = ($194|0)<($195|0);
- if (!($cmp218)) {
- break;
- }
- $196 = $k;
- $arrayidx221 = (($Af) + ($196<<3)|0);
- $197 = +HEAPF64[$arrayidx221>>3];
- $sub222 = - $197;
- $conv223 = $sub222;
- $198 = $A$addr;
- $199 = $k;
- $arrayidx224 = (($198) + ($199<<2)|0);
- HEAPF32[$arrayidx224>>2] = $conv223;
- $200 = $k;
- $inc226 = (($200) + 1)|0;
- $k = $inc226;
- }
- $s = 0;
- while(1) {
- $201 = $s;
- $202 = $nb_subfr$addr;
- $cmp229 = ($201|0)<($202|0);
- if (!($cmp229)) {
- break;
- }
- $203 = $x$addr;
- $204 = $s;
- $205 = $subfr_length$addr;
- $mul232 = Math_imul($204, $205)|0;
- $add$ptr233 = (($203) + ($mul232<<2)|0);
- $206 = $D$addr;
- $call234 = (+_silk_energy_FLP($add$ptr233,$206));
- $207 = $C0;
- $sub235 = $207 - $call234;
- $C0 = $sub235;
- $208 = $s;
- $inc237 = (($208) + 1)|0;
- $s = $inc237;
- }
- $209 = $C0;
- $210 = $invGain;
- $mul239 = $209 * $210;
- $nrg_f = $mul239;
- $230 = $nrg_f;
- $conv263 = $230;
- STACKTOP = sp;return (+$conv263);
-}
-function _silk_scale_vector_FLP($data1,$gain,$dataSize) {
- $data1 = $data1|0;
- $gain = +$gain;
- $dataSize = $dataSize|0;
- var $0 = 0, $1 = 0, $10 = 0.0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0.0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0;
- var $3 = 0.0, $4 = 0, $5 = 0, $6 = 0.0, $7 = 0.0, $8 = 0, $9 = 0, $add = 0, $add1 = 0, $add10 = 0, $add4 = 0, $add7 = 0, $and = 0, $arrayidx = 0, $arrayidx14 = 0, $arrayidx2 = 0, $arrayidx5 = 0, $arrayidx8 = 0, $cmp = 0, $cmp12 = 0;
- var $data1$addr = 0, $dataSize$addr = 0, $dataSize4 = 0, $gain$addr = 0.0, $i = 0, $inc = 0, $mul = 0.0, $mul15 = 0.0, $mul3 = 0.0, $mul6 = 0.0, $mul9 = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $data1$addr = $data1;
- $gain$addr = $gain;
- $dataSize$addr = $dataSize;
- $0 = $dataSize$addr;
- $and = $0 & 65532;
- $dataSize4 = $and;
- $i = 0;
- while(1) {
- $1 = $i;
- $2 = $dataSize4;
- $cmp = ($1|0)<($2|0);
- if (!($cmp)) {
- break;
- }
- $3 = $gain$addr;
- $4 = $data1$addr;
- $5 = $i;
- $add = (($5) + 0)|0;
- $arrayidx = (($4) + ($add<<2)|0);
- $6 = +HEAPF32[$arrayidx>>2];
- $mul = $6 * $3;
- HEAPF32[$arrayidx>>2] = $mul;
- $7 = $gain$addr;
- $8 = $data1$addr;
- $9 = $i;
- $add1 = (($9) + 1)|0;
- $arrayidx2 = (($8) + ($add1<<2)|0);
- $10 = +HEAPF32[$arrayidx2>>2];
- $mul3 = $10 * $7;
- HEAPF32[$arrayidx2>>2] = $mul3;
- $11 = $gain$addr;
- $12 = $data1$addr;
- $13 = $i;
- $add4 = (($13) + 2)|0;
- $arrayidx5 = (($12) + ($add4<<2)|0);
- $14 = +HEAPF32[$arrayidx5>>2];
- $mul6 = $14 * $11;
- HEAPF32[$arrayidx5>>2] = $mul6;
- $15 = $gain$addr;
- $16 = $data1$addr;
- $17 = $i;
- $add7 = (($17) + 3)|0;
- $arrayidx8 = (($16) + ($add7<<2)|0);
- $18 = +HEAPF32[$arrayidx8>>2];
- $mul9 = $18 * $15;
- HEAPF32[$arrayidx8>>2] = $mul9;
- $19 = $i;
- $add10 = (($19) + 4)|0;
- $i = $add10;
- }
- while(1) {
- $20 = $i;
- $21 = $dataSize$addr;
- $cmp12 = ($20|0)<($21|0);
- if (!($cmp12)) {
- break;
- }
- $22 = $gain$addr;
- $23 = $data1$addr;
- $24 = $i;
- $arrayidx14 = (($23) + ($24<<2)|0);
- $25 = +HEAPF32[$arrayidx14>>2];
- $mul15 = $25 * $22;
- HEAPF32[$arrayidx14>>2] = $mul15;
- $26 = $i;
- $inc = (($26) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_CNG_Reset($psDec) {
- $psDec = $psDec|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $CNG_smth_Gain_Q16 = 0, $CNG_smth_NLSF_Q15 = 0, $LPC_order = 0, $LPC_order1 = 0, $NLSF_acc_Q15 = 0, $NLSF_step_Q15 = 0, $add = 0;
- var $add2 = 0, $arrayidx = 0, $cmp = 0, $conv = 0, $div = 0, $i = 0, $inc = 0, $psDec$addr = 0, $rand_seed = 0, $sCNG = 0, $sCNG3 = 0, $sCNG4 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $psDec$addr = $psDec;
- $0 = $psDec$addr;
- $LPC_order = ((($0)) + 2340|0);
- $1 = HEAP32[$LPC_order>>2]|0;
- $add = (($1) + 1)|0;
- $div = (32767 / ($add|0))&-1;
- $NLSF_step_Q15 = $div;
- $NLSF_acc_Q15 = 0;
- $i = 0;
- while(1) {
- $2 = $i;
- $3 = $psDec$addr;
- $LPC_order1 = ((($3)) + 2340|0);
- $4 = HEAP32[$LPC_order1>>2]|0;
- $cmp = ($2|0)<($4|0);
- if (!($cmp)) {
- break;
- }
- $5 = $NLSF_step_Q15;
- $6 = $NLSF_acc_Q15;
- $add2 = (($6) + ($5))|0;
- $NLSF_acc_Q15 = $add2;
- $7 = $NLSF_acc_Q15;
- $conv = $7&65535;
- $8 = $psDec$addr;
- $sCNG = ((($8)) + 2772|0);
- $CNG_smth_NLSF_Q15 = ((($sCNG)) + 1280|0);
- $9 = $i;
- $arrayidx = (($CNG_smth_NLSF_Q15) + ($9<<1)|0);
- HEAP16[$arrayidx>>1] = $conv;
- $10 = $i;
- $inc = (($10) + 1)|0;
- $i = $inc;
- }
- $11 = $psDec$addr;
- $sCNG3 = ((($11)) + 2772|0);
- $CNG_smth_Gain_Q16 = ((($sCNG3)) + 1376|0);
- HEAP32[$CNG_smth_Gain_Q16>>2] = 0;
- $12 = $psDec$addr;
- $sCNG4 = ((($12)) + 2772|0);
- $rand_seed = ((($sCNG4)) + 1380|0);
- HEAP32[$rand_seed>>2] = 3176576;
- STACKTOP = sp;return;
-}
-function _silk_CNG($psDec,$psDecCtrl,$frame,$length) {
- $psDec = $psDec|0;
- $psDecCtrl = $psDecCtrl|0;
- $frame = $frame|0;
- $length = $length|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $28 = 0, $29 = 0, $3 = 0;
- var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
- var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
- var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
- var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $A_Q12 = 0, $CNG_smth_Gain_Q16 = 0, $CNG_smth_Gain_Q16111 = 0, $CNG_smth_Gain_Q16118 = 0;
- var $CNG_smth_Gain_Q16120 = 0, $CNG_smth_Gain_Q16140 = 0, $CNG_smth_Gain_Q16142 = 0, $CNG_smth_Gain_Q16146 = 0, $CNG_smth_Gain_Q16148 = 0, $CNG_smth_Gain_Q16154 = 0, $CNG_smth_Gain_Q16155 = 0, $CNG_smth_Gain_Q1664 = 0, $CNG_smth_Gain_Q1670 = 0, $CNG_smth_NLSF_Q15 = 0, $CNG_smth_NLSF_Q1513 = 0, $CNG_smth_NLSF_Q15169 = 0, $CNG_smth_NLSF_Q1519 = 0, $CNG_synth_state = 0, $CNG_synth_state499 = 0, $CNG_synth_state503 = 0, $Gains_Q16 = 0, $Gains_Q1632 = 0, $Gains_Q1657 = 0, $Gains_Q1662 = 0;
- var $LPC_order = 0, $LPC_order171 = 0, $LPC_order177 = 0, $LPC_order349 = 0, $LPC_order505 = 0, $add = 0, $add$ptr = 0, $add105 = 0, $add108 = 0, $add134 = 0, $add136 = 0, $add139 = 0, $add153 = 0, $add157 = 0, $add160 = 0, $add179 = 0, $add186 = 0, $add194 = 0, $add195 = 0, $add196 = 0;
- var $add203 = 0, $add211 = 0, $add212 = 0, $add213 = 0, $add22 = 0, $add220 = 0, $add228 = 0, $add229 = 0, $add230 = 0, $add237 = 0, $add245 = 0, $add246 = 0, $add247 = 0, $add254 = 0, $add262 = 0, $add263 = 0, $add264 = 0, $add271 = 0, $add279 = 0, $add280 = 0;
- var $add281 = 0, $add288 = 0, $add296 = 0, $add297 = 0, $add298 = 0, $add305 = 0, $add313 = 0, $add314 = 0, $add315 = 0, $add322 = 0, $add330 = 0, $add331 = 0, $add332 = 0, $add339 = 0, $add347 = 0, $add348 = 0, $add353 = 0, $add360 = 0, $add368 = 0, $add369 = 0;
- var $add370 = 0, $add377 = 0, $add385 = 0, $add386 = 0, $add387 = 0, $add394 = 0, $add402 = 0, $add403 = 0, $add404 = 0, $add411 = 0, $add419 = 0, $add420 = 0, $add421 = 0, $add428 = 0, $add436 = 0, $add437 = 0, $add438 = 0, $add445 = 0, $add453 = 0, $add454 = 0;
- var $add456 = 0, $add459 = 0, $add460 = 0, $add464 = 0, $add467 = 0, $add469 = 0, $add474 = 0, $add477 = 0, $add479 = 0, $add486 = 0, $add489 = 0, $add491 = 0, $add69 = 0, $add71 = 0, $add78 = 0, $add97 = 0, $and = 0, $and129 = 0, $and147 = 0, $and189 = 0;
- var $and206 = 0, $and223 = 0, $and240 = 0, $and257 = 0, $and274 = 0, $and291 = 0, $and308 = 0, $and325 = 0, $and342 = 0, $and363 = 0, $and380 = 0, $and397 = 0, $and414 = 0, $and431 = 0, $and448 = 0, $and66 = 0, $and89 = 0, $arrayidx = 0, $arrayidx103 = 0, $arrayidx11 = 0;
- var $arrayidx14 = 0, $arrayidx181 = 0, $arrayidx188 = 0, $arrayidx198 = 0, $arrayidx20 = 0, $arrayidx200 = 0, $arrayidx205 = 0, $arrayidx207 = 0, $arrayidx215 = 0, $arrayidx217 = 0, $arrayidx222 = 0, $arrayidx224 = 0, $arrayidx232 = 0, $arrayidx234 = 0, $arrayidx239 = 0, $arrayidx241 = 0, $arrayidx249 = 0, $arrayidx251 = 0, $arrayidx256 = 0, $arrayidx258 = 0;
- var $arrayidx266 = 0, $arrayidx268 = 0, $arrayidx273 = 0, $arrayidx275 = 0, $arrayidx28 = 0, $arrayidx283 = 0, $arrayidx285 = 0, $arrayidx290 = 0, $arrayidx292 = 0, $arrayidx300 = 0, $arrayidx302 = 0, $arrayidx307 = 0, $arrayidx309 = 0, $arrayidx317 = 0, $arrayidx319 = 0, $arrayidx324 = 0, $arrayidx326 = 0, $arrayidx33 = 0, $arrayidx334 = 0, $arrayidx336 = 0;
- var $arrayidx341 = 0, $arrayidx343 = 0, $arrayidx355 = 0, $arrayidx357 = 0, $arrayidx362 = 0, $arrayidx364 = 0, $arrayidx372 = 0, $arrayidx374 = 0, $arrayidx379 = 0, $arrayidx38 = 0, $arrayidx381 = 0, $arrayidx389 = 0, $arrayidx391 = 0, $arrayidx396 = 0, $arrayidx398 = 0, $arrayidx406 = 0, $arrayidx408 = 0, $arrayidx413 = 0, $arrayidx415 = 0, $arrayidx423 = 0;
- var $arrayidx425 = 0, $arrayidx430 = 0, $arrayidx432 = 0, $arrayidx440 = 0, $arrayidx442 = 0, $arrayidx447 = 0, $arrayidx449 = 0, $arrayidx457 = 0, $arrayidx461 = 0, $arrayidx462 = 0, $arrayidx465 = 0, $arrayidx472 = 0, $arrayidx475 = 0, $arrayidx484 = 0, $arrayidx487 = 0, $arrayidx49 = 0, $arrayidx495 = 0, $arrayidx501 = 0, $arrayidx58 = 0, $arrayidx63 = 0;
- var $arrayidx8 = 0, $arrayidx82 = 0, $arrayidx92 = 0, $call = 0, $call163 = 0, $cmp = 0, $cmp109 = 0, $cmp112 = 0, $cmp174 = 0, $cmp25 = 0, $cmp29 = 0, $cmp350 = 0, $cmp4 = 0, $cmp470 = 0, $cmp480 = 0, $cmp5 = 0, $cmp54 = 0, $cmp7 = 0, $cond493 = 0, $conv = 0;
- var $conv100 = 0, $conv12 = 0, $conv126 = 0, $conv127 = 0, $conv130 = 0, $conv131 = 0, $conv143 = 0, $conv144 = 0, $conv149 = 0, $conv15 = 0, $conv150 = 0, $conv184 = 0, $conv191 = 0, $conv201 = 0, $conv208 = 0, $conv21 = 0, $conv218 = 0, $conv225 = 0, $conv23 = 0, $conv235 = 0;
- var $conv242 = 0, $conv252 = 0, $conv259 = 0, $conv269 = 0, $conv276 = 0, $conv286 = 0, $conv293 = 0, $conv303 = 0, $conv310 = 0, $conv320 = 0, $conv327 = 0, $conv337 = 0, $conv344 = 0, $conv358 = 0, $conv365 = 0, $conv375 = 0, $conv382 = 0, $conv392 = 0, $conv399 = 0, $conv409 = 0;
- var $conv416 = 0, $conv426 = 0, $conv433 = 0, $conv443 = 0, $conv450 = 0, $conv463 = 0, $conv473 = 0, $conv485 = 0, $conv494 = 0, $conv79 = 0, $conv83 = 0, $conv84 = 0, $conv88 = 0, $conv9 = 0, $conv93 = 0, $conv94 = 0, $exc_Q14 = 0, $frame$addr = 0, $fs_kHz = 0, $fs_kHz1 = 0;
- var $fs_kHz2 = 0, $fs_kHz3 = 0, $gain_Q16 = 0, $i = 0, $inc = 0, $inc36 = 0, $inc497 = 0, $inc73 = 0, $length$addr = 0, $lossCnt = 0, $lossCnt76 = 0, $max_Gain_Q16 = 0, $mul = 0, $mul107 = 0, $mul117 = 0, $mul122 = 0, $mul128 = 0, $mul132 = 0, $mul138 = 0, $mul145 = 0;
- var $mul151 = 0, $mul159 = 0, $mul17 = 0, $mul185 = 0, $mul192 = 0, $mul202 = 0, $mul209 = 0, $mul219 = 0, $mul226 = 0, $mul236 = 0, $mul243 = 0, $mul253 = 0, $mul260 = 0, $mul270 = 0, $mul277 = 0, $mul287 = 0, $mul294 = 0, $mul304 = 0, $mul311 = 0, $mul321 = 0;
- var $mul328 = 0, $mul338 = 0, $mul345 = 0, $mul359 = 0, $mul366 = 0, $mul376 = 0, $mul383 = 0, $mul393 = 0, $mul400 = 0, $mul410 = 0, $mul417 = 0, $mul427 = 0, $mul43 = 0, $mul434 = 0, $mul44 = 0, $mul444 = 0, $mul451 = 0, $mul48 = 0, $mul506 = 0, $mul51 = 0;
- var $mul61 = 0, $mul67 = 0, $mul85 = 0, $mul95 = 0, $nb_subfr = 0, $nb_subfr40 = 0, $nb_subfr53 = 0, $prevGain_Q16 = 0, $prevGain_Q16102 = 0, $prevGain_Q1691 = 0, $prevNLSF_Q15 = 0, $prevNLSF_Q1510 = 0, $prevSignalType = 0, $psCNG = 0, $psDec$addr = 0, $psDecCtrl$addr = 0, $randScale_Q14 = 0, $randScale_Q1487 = 0, $randScale_Q1499 = 0, $rand_seed = 0;
- var $sCNG = 0, $sPLC = 0, $sPLC101 = 0, $sPLC81 = 0, $sPLC86 = 0, $sPLC90 = 0, $sPLC98 = 0, $saved_stack = 0, $shl = 0, $shl124 = 0, $shl161 = 0, $shl164 = 0, $shl458 = 0, $shr = 0, $shr104 = 0, $shr106 = 0, $shr115 = 0, $shr116 = 0, $shr119 = 0, $shr121 = 0;
- var $shr125 = 0, $shr133 = 0, $shr135 = 0, $shr137 = 0, $shr141 = 0, $shr152 = 0, $shr156 = 0, $shr158 = 0, $shr178 = 0, $shr18 = 0, $shr182 = 0, $shr193 = 0, $shr199 = 0, $shr210 = 0, $shr216 = 0, $shr227 = 0, $shr233 = 0, $shr244 = 0, $shr250 = 0, $shr261 = 0;
- var $shr267 = 0, $shr278 = 0, $shr284 = 0, $shr295 = 0, $shr301 = 0, $shr312 = 0, $shr318 = 0, $shr329 = 0, $shr335 = 0, $shr346 = 0, $shr356 = 0, $shr367 = 0, $shr373 = 0, $shr384 = 0, $shr390 = 0, $shr401 = 0, $shr407 = 0, $shr418 = 0, $shr424 = 0, $shr435 = 0;
- var $shr441 = 0, $shr452 = 0, $shr466 = 0, $shr468 = 0, $shr476 = 0, $shr478 = 0, $shr488 = 0, $shr490 = 0, $shr60 = 0, $shr68 = 0, $shr80 = 0, $shr96 = 0, $sub = 0, $sub123 = 0, $sub16 = 0, $sub162 = 0, $sub180 = 0, $sub187 = 0, $sub197 = 0, $sub204 = 0;
- var $sub214 = 0, $sub221 = 0, $sub231 = 0, $sub238 = 0, $sub248 = 0, $sub255 = 0, $sub265 = 0, $sub272 = 0, $sub282 = 0, $sub289 = 0, $sub299 = 0, $sub306 = 0, $sub316 = 0, $sub323 = 0, $sub333 = 0, $sub340 = 0, $sub354 = 0, $sub361 = 0, $sub371 = 0, $sub378 = 0;
- var $sub388 = 0, $sub395 = 0, $sub405 = 0, $sub41 = 0, $sub412 = 0, $sub422 = 0, $sub429 = 0, $sub439 = 0, $sub446 = 0, $sub59 = 0, $sub65 = 0, $subfr = 0, $subfr_length = 0, $subfr_length42 = 0, $subfr_length47 = 0, $subfr_length50 = 0, $sum_Q6 = 0, $tobool = 0, $vla = 0, $vla$alloca_mul = 0;
- var dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
- $A_Q12 = sp + 48|0;
- $psDec$addr = $psDec;
- $psDecCtrl$addr = $psDecCtrl;
- $frame$addr = $frame;
- $length$addr = $length;
- $0 = $psDec$addr;
- $sCNG = ((($0)) + 2772|0);
- $psCNG = $sCNG;
- $1 = $psDec$addr;
- $fs_kHz = ((($1)) + 2316|0);
- $2 = HEAP32[$fs_kHz>>2]|0;
- $3 = $psCNG;
- $fs_kHz1 = ((($3)) + 1384|0);
- $4 = HEAP32[$fs_kHz1>>2]|0;
- $cmp = ($2|0)!=($4|0);
- if ($cmp) {
- $5 = $psDec$addr;
- _silk_CNG_Reset($5);
- $6 = $psDec$addr;
- $fs_kHz2 = ((($6)) + 2316|0);
- $7 = HEAP32[$fs_kHz2>>2]|0;
- $8 = $psCNG;
- $fs_kHz3 = ((($8)) + 1384|0);
- HEAP32[$fs_kHz3>>2] = $7;
- }
- $9 = $psDec$addr;
- $lossCnt = ((($9)) + 4160|0);
- $10 = HEAP32[$lossCnt>>2]|0;
- $cmp4 = ($10|0)==(0);
- L4: do {
- if ($cmp4) {
- $11 = $psDec$addr;
- $prevSignalType = ((($11)) + 4164|0);
- $12 = HEAP32[$prevSignalType>>2]|0;
- $cmp5 = ($12|0)==(0);
- if ($cmp5) {
- $i = 0;
- while(1) {
- $13 = $i;
- $14 = $psDec$addr;
- $LPC_order = ((($14)) + 2340|0);
- $15 = HEAP32[$LPC_order>>2]|0;
- $cmp7 = ($13|0)<($15|0);
- if (!($cmp7)) {
- break;
- }
- $16 = $psDec$addr;
- $prevNLSF_Q15 = ((($16)) + 2344|0);
- $17 = $i;
- $arrayidx = (($prevNLSF_Q15) + ($17<<1)|0);
- $18 = HEAP16[$arrayidx>>1]|0;
- $conv = $18 << 16 >> 16;
- $19 = $psCNG;
- $CNG_smth_NLSF_Q15 = ((($19)) + 1280|0);
- $20 = $i;
- $arrayidx8 = (($CNG_smth_NLSF_Q15) + ($20<<1)|0);
- $21 = HEAP16[$arrayidx8>>1]|0;
- $conv9 = $21 << 16 >> 16;
- $sub = (($conv) - ($conv9))|0;
- $shr = $sub >> 16;
- $mul = ($shr*16348)|0;
- $22 = $psDec$addr;
- $prevNLSF_Q1510 = ((($22)) + 2344|0);
- $23 = $i;
- $arrayidx11 = (($prevNLSF_Q1510) + ($23<<1)|0);
- $24 = HEAP16[$arrayidx11>>1]|0;
- $conv12 = $24 << 16 >> 16;
- $25 = $psCNG;
- $CNG_smth_NLSF_Q1513 = ((($25)) + 1280|0);
- $26 = $i;
- $arrayidx14 = (($CNG_smth_NLSF_Q1513) + ($26<<1)|0);
- $27 = HEAP16[$arrayidx14>>1]|0;
- $conv15 = $27 << 16 >> 16;
- $sub16 = (($conv12) - ($conv15))|0;
- $and = $sub16 & 65535;
- $mul17 = ($and*16348)|0;
- $shr18 = $mul17 >> 16;
- $add = (($mul) + ($shr18))|0;
- $28 = $psCNG;
- $CNG_smth_NLSF_Q1519 = ((($28)) + 1280|0);
- $29 = $i;
- $arrayidx20 = (($CNG_smth_NLSF_Q1519) + ($29<<1)|0);
- $30 = HEAP16[$arrayidx20>>1]|0;
- $conv21 = $30 << 16 >> 16;
- $add22 = (($conv21) + ($add))|0;
- $conv23 = $add22&65535;
- HEAP16[$arrayidx20>>1] = $conv23;
- $31 = $i;
- $inc = (($31) + 1)|0;
- $i = $inc;
- }
- $max_Gain_Q16 = 0;
- $subfr = 0;
- $i = 0;
- while(1) {
- $32 = $i;
- $33 = $psDec$addr;
- $nb_subfr = ((($33)) + 2324|0);
- $34 = HEAP32[$nb_subfr>>2]|0;
- $cmp25 = ($32|0)<($34|0);
- if (!($cmp25)) {
- break;
- }
- $35 = $psDecCtrl$addr;
- $Gains_Q16 = ((($35)) + 16|0);
- $36 = $i;
- $arrayidx28 = (($Gains_Q16) + ($36<<2)|0);
- $37 = HEAP32[$arrayidx28>>2]|0;
- $38 = $max_Gain_Q16;
- $cmp29 = ($37|0)>($38|0);
- if ($cmp29) {
- $39 = $psDecCtrl$addr;
- $Gains_Q1632 = ((($39)) + 16|0);
- $40 = $i;
- $arrayidx33 = (($Gains_Q1632) + ($40<<2)|0);
- $41 = HEAP32[$arrayidx33>>2]|0;
- $max_Gain_Q16 = $41;
- $42 = $i;
- $subfr = $42;
- }
- $43 = $i;
- $inc36 = (($43) + 1)|0;
- $i = $inc36;
- }
- $44 = $psCNG;
- $45 = $psDec$addr;
- $subfr_length = ((($45)) + 2332|0);
- $46 = HEAP32[$subfr_length>>2]|0;
- $arrayidx38 = (($44) + ($46<<2)|0);
- $47 = $psCNG;
- $48 = $psDec$addr;
- $nb_subfr40 = ((($48)) + 2324|0);
- $49 = HEAP32[$nb_subfr40>>2]|0;
- $sub41 = (($49) - 1)|0;
- $50 = $psDec$addr;
- $subfr_length42 = ((($50)) + 2332|0);
- $51 = HEAP32[$subfr_length42>>2]|0;
- $mul43 = Math_imul($sub41, $51)|0;
- $mul44 = $mul43<<2;
- _memmove(($arrayidx38|0),($47|0),($mul44|0))|0;
- $52 = $psCNG;
- $53 = $psDec$addr;
- $exc_Q14 = ((($53)) + 4|0);
- $54 = $subfr;
- $55 = $psDec$addr;
- $subfr_length47 = ((($55)) + 2332|0);
- $56 = HEAP32[$subfr_length47>>2]|0;
- $mul48 = Math_imul($54, $56)|0;
- $arrayidx49 = (($exc_Q14) + ($mul48<<2)|0);
- $57 = $psDec$addr;
- $subfr_length50 = ((($57)) + 2332|0);
- $58 = HEAP32[$subfr_length50>>2]|0;
- $mul51 = $58<<2;
- _memcpy(($52|0),($arrayidx49|0),($mul51|0))|0;
- $i = 0;
- while(1) {
- $59 = $i;
- $60 = $psDec$addr;
- $nb_subfr53 = ((($60)) + 2324|0);
- $61 = HEAP32[$nb_subfr53>>2]|0;
- $cmp54 = ($59|0)<($61|0);
- if (!($cmp54)) {
- break L4;
- }
- $62 = $psDecCtrl$addr;
- $Gains_Q1657 = ((($62)) + 16|0);
- $63 = $i;
- $arrayidx58 = (($Gains_Q1657) + ($63<<2)|0);
- $64 = HEAP32[$arrayidx58>>2]|0;
- $65 = $psCNG;
- $CNG_smth_Gain_Q16 = ((($65)) + 1376|0);
- $66 = HEAP32[$CNG_smth_Gain_Q16>>2]|0;
- $sub59 = (($64) - ($66))|0;
- $shr60 = $sub59 >> 16;
- $mul61 = ($shr60*4634)|0;
- $67 = $psDecCtrl$addr;
- $Gains_Q1662 = ((($67)) + 16|0);
- $68 = $i;
- $arrayidx63 = (($Gains_Q1662) + ($68<<2)|0);
- $69 = HEAP32[$arrayidx63>>2]|0;
- $70 = $psCNG;
- $CNG_smth_Gain_Q1664 = ((($70)) + 1376|0);
- $71 = HEAP32[$CNG_smth_Gain_Q1664>>2]|0;
- $sub65 = (($69) - ($71))|0;
- $and66 = $sub65 & 65535;
- $mul67 = ($and66*4634)|0;
- $shr68 = $mul67 >> 16;
- $add69 = (($mul61) + ($shr68))|0;
- $72 = $psCNG;
- $CNG_smth_Gain_Q1670 = ((($72)) + 1376|0);
- $73 = HEAP32[$CNG_smth_Gain_Q1670>>2]|0;
- $add71 = (($73) + ($add69))|0;
- HEAP32[$CNG_smth_Gain_Q1670>>2] = $add71;
- $74 = $i;
- $inc73 = (($74) + 1)|0;
- $i = $inc73;
- }
- }
- }
- } while(0);
- $75 = $psDec$addr;
- $lossCnt76 = ((($75)) + 4160|0);
- $76 = HEAP32[$lossCnt76>>2]|0;
- $tobool = ($76|0)!=(0);
- if (!($tobool)) {
- $273 = $psCNG;
- $CNG_synth_state503 = ((($273)) + 1312|0);
- $274 = $psDec$addr;
- $LPC_order505 = ((($274)) + 2340|0);
- $275 = HEAP32[$LPC_order505>>2]|0;
- $mul506 = $275<<2;
- _memset(($CNG_synth_state503|0),0,($mul506|0))|0;
- STACKTOP = sp;return;
- }
- $77 = $length$addr;
- $add78 = (($77) + 16)|0;
- $78 = (_llvm_stacksave()|0);
- $saved_stack = $78;
- $vla$alloca_mul = $add78<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $79 = $psDec$addr;
- $sPLC = ((($79)) + 4168|0);
- $randScale_Q14 = ((($sPLC)) + 56|0);
- $80 = HEAP16[$randScale_Q14>>1]|0;
- $conv79 = $80 << 16 >> 16;
- $shr80 = $conv79 >> 16;
- $81 = $psDec$addr;
- $sPLC81 = ((($81)) + 4168|0);
- $prevGain_Q16 = ((($sPLC81)) + 72|0);
- $arrayidx82 = ((($prevGain_Q16)) + 4|0);
- $82 = HEAP32[$arrayidx82>>2]|0;
- $conv83 = $82&65535;
- $conv84 = $conv83 << 16 >> 16;
- $mul85 = Math_imul($shr80, $conv84)|0;
- $83 = $psDec$addr;
- $sPLC86 = ((($83)) + 4168|0);
- $randScale_Q1487 = ((($sPLC86)) + 56|0);
- $84 = HEAP16[$randScale_Q1487>>1]|0;
- $conv88 = $84 << 16 >> 16;
- $and89 = $conv88 & 65535;
- $85 = $psDec$addr;
- $sPLC90 = ((($85)) + 4168|0);
- $prevGain_Q1691 = ((($sPLC90)) + 72|0);
- $arrayidx92 = ((($prevGain_Q1691)) + 4|0);
- $86 = HEAP32[$arrayidx92>>2]|0;
- $conv93 = $86&65535;
- $conv94 = $conv93 << 16 >> 16;
- $mul95 = Math_imul($and89, $conv94)|0;
- $shr96 = $mul95 >> 16;
- $add97 = (($mul85) + ($shr96))|0;
- $87 = $psDec$addr;
- $sPLC98 = ((($87)) + 4168|0);
- $randScale_Q1499 = ((($sPLC98)) + 56|0);
- $88 = HEAP16[$randScale_Q1499>>1]|0;
- $conv100 = $88 << 16 >> 16;
- $89 = $psDec$addr;
- $sPLC101 = ((($89)) + 4168|0);
- $prevGain_Q16102 = ((($sPLC101)) + 72|0);
- $arrayidx103 = ((($prevGain_Q16102)) + 4|0);
- $90 = HEAP32[$arrayidx103>>2]|0;
- $shr104 = $90 >> 15;
- $add105 = (($shr104) + 1)|0;
- $shr106 = $add105 >> 1;
- $mul107 = Math_imul($conv100, $shr106)|0;
- $add108 = (($add97) + ($mul107))|0;
- $gain_Q16 = $add108;
- $91 = $gain_Q16;
- $cmp109 = ($91|0)>=(2097152);
- if ($cmp109) {
- label = 19;
- } else {
- $92 = $psCNG;
- $CNG_smth_Gain_Q16111 = ((($92)) + 1376|0);
- $93 = HEAP32[$CNG_smth_Gain_Q16111>>2]|0;
- $cmp112 = ($93|0)>(8388608);
- if ($cmp112) {
- label = 19;
- } else {
- $102 = $gain_Q16;
- $shr125 = $102 >> 16;
- $103 = $gain_Q16;
- $conv126 = $103&65535;
- $conv127 = $conv126 << 16 >> 16;
- $mul128 = Math_imul($shr125, $conv127)|0;
- $104 = $gain_Q16;
- $and129 = $104 & 65535;
- $105 = $gain_Q16;
- $conv130 = $105&65535;
- $conv131 = $conv130 << 16 >> 16;
- $mul132 = Math_imul($and129, $conv131)|0;
- $shr133 = $mul132 >> 16;
- $add134 = (($mul128) + ($shr133))|0;
- $106 = $gain_Q16;
- $107 = $gain_Q16;
- $shr135 = $107 >> 15;
- $add136 = (($shr135) + 1)|0;
- $shr137 = $add136 >> 1;
- $mul138 = Math_imul($106, $shr137)|0;
- $add139 = (($add134) + ($mul138))|0;
- $gain_Q16 = $add139;
- $108 = $psCNG;
- $CNG_smth_Gain_Q16140 = ((($108)) + 1376|0);
- $109 = HEAP32[$CNG_smth_Gain_Q16140>>2]|0;
- $shr141 = $109 >> 16;
- $110 = $psCNG;
- $CNG_smth_Gain_Q16142 = ((($110)) + 1376|0);
- $111 = HEAP32[$CNG_smth_Gain_Q16142>>2]|0;
- $conv143 = $111&65535;
- $conv144 = $conv143 << 16 >> 16;
- $mul145 = Math_imul($shr141, $conv144)|0;
- $112 = $psCNG;
- $CNG_smth_Gain_Q16146 = ((($112)) + 1376|0);
- $113 = HEAP32[$CNG_smth_Gain_Q16146>>2]|0;
- $and147 = $113 & 65535;
- $114 = $psCNG;
- $CNG_smth_Gain_Q16148 = ((($114)) + 1376|0);
- $115 = HEAP32[$CNG_smth_Gain_Q16148>>2]|0;
- $conv149 = $115&65535;
- $conv150 = $conv149 << 16 >> 16;
- $mul151 = Math_imul($and147, $conv150)|0;
- $shr152 = $mul151 >> 16;
- $add153 = (($mul145) + ($shr152))|0;
- $116 = $psCNG;
- $CNG_smth_Gain_Q16154 = ((($116)) + 1376|0);
- $117 = HEAP32[$CNG_smth_Gain_Q16154>>2]|0;
- $118 = $psCNG;
- $CNG_smth_Gain_Q16155 = ((($118)) + 1376|0);
- $119 = HEAP32[$CNG_smth_Gain_Q16155>>2]|0;
- $shr156 = $119 >> 15;
- $add157 = (($shr156) + 1)|0;
- $shr158 = $add157 >> 1;
- $mul159 = Math_imul($117, $shr158)|0;
- $add160 = (($add153) + ($mul159))|0;
- $120 = $gain_Q16;
- $shl161 = $120 << 5;
- $sub162 = (($add160) - ($shl161))|0;
- $gain_Q16 = $sub162;
- $121 = $gain_Q16;
- $call163 = (_silk_SQRT_APPROX_543($121)|0);
- $shl164 = $call163 << 8;
- $gain_Q16 = $shl164;
- }
- }
- if ((label|0) == 19) {
- $94 = $gain_Q16;
- $shr115 = $94 >> 16;
- $95 = $gain_Q16;
- $shr116 = $95 >> 16;
- $mul117 = Math_imul($shr115, $shr116)|0;
- $gain_Q16 = $mul117;
- $96 = $psCNG;
- $CNG_smth_Gain_Q16118 = ((($96)) + 1376|0);
- $97 = HEAP32[$CNG_smth_Gain_Q16118>>2]|0;
- $shr119 = $97 >> 16;
- $98 = $psCNG;
- $CNG_smth_Gain_Q16120 = ((($98)) + 1376|0);
- $99 = HEAP32[$CNG_smth_Gain_Q16120>>2]|0;
- $shr121 = $99 >> 16;
- $mul122 = Math_imul($shr119, $shr121)|0;
- $100 = $gain_Q16;
- $shl = $100 << 5;
- $sub123 = (($mul122) - ($shl))|0;
- $gain_Q16 = $sub123;
- $101 = $gain_Q16;
- $call = (_silk_SQRT_APPROX_543($101)|0);
- $shl124 = $call << 16;
- $gain_Q16 = $shl124;
- }
- $add$ptr = ((($vla)) + 64|0);
- $122 = $psCNG;
- $123 = $gain_Q16;
- $124 = $length$addr;
- $125 = $psCNG;
- $rand_seed = ((($125)) + 1380|0);
- _silk_CNG_exc($add$ptr,$122,$123,$124,$rand_seed);
- $126 = $psCNG;
- $CNG_smth_NLSF_Q15169 = ((($126)) + 1280|0);
- $127 = $psDec$addr;
- $LPC_order171 = ((($127)) + 2340|0);
- $128 = HEAP32[$LPC_order171>>2]|0;
- _silk_NLSF2A($A_Q12,$CNG_smth_NLSF_Q15169,$128);
- $129 = $psCNG;
- $CNG_synth_state = ((($129)) + 1312|0);
- dest=$vla; src=$CNG_synth_state; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $i = 0;
- while(1) {
- $130 = $i;
- $131 = $length$addr;
- $cmp174 = ($130|0)<($131|0);
- if (!($cmp174)) {
- break;
- }
- $132 = $psDec$addr;
- $LPC_order177 = ((($132)) + 2340|0);
- $133 = HEAP32[$LPC_order177>>2]|0;
- $shr178 = $133 >> 1;
- $sum_Q6 = $shr178;
- $134 = $sum_Q6;
- $135 = $i;
- $add179 = (16 + ($135))|0;
- $sub180 = (($add179) - 1)|0;
- $arrayidx181 = (($vla) + ($sub180<<2)|0);
- $136 = HEAP32[$arrayidx181>>2]|0;
- $shr182 = $136 >> 16;
- $137 = HEAP16[$A_Q12>>1]|0;
- $conv184 = $137 << 16 >> 16;
- $mul185 = Math_imul($shr182, $conv184)|0;
- $138 = $i;
- $add186 = (16 + ($138))|0;
- $sub187 = (($add186) - 1)|0;
- $arrayidx188 = (($vla) + ($sub187<<2)|0);
- $139 = HEAP32[$arrayidx188>>2]|0;
- $and189 = $139 & 65535;
- $140 = HEAP16[$A_Q12>>1]|0;
- $conv191 = $140 << 16 >> 16;
- $mul192 = Math_imul($and189, $conv191)|0;
- $shr193 = $mul192 >> 16;
- $add194 = (($mul185) + ($shr193))|0;
- $add195 = (($134) + ($add194))|0;
- $sum_Q6 = $add195;
- $141 = $sum_Q6;
- $142 = $i;
- $add196 = (16 + ($142))|0;
- $sub197 = (($add196) - 2)|0;
- $arrayidx198 = (($vla) + ($sub197<<2)|0);
- $143 = HEAP32[$arrayidx198>>2]|0;
- $shr199 = $143 >> 16;
- $arrayidx200 = ((($A_Q12)) + 2|0);
- $144 = HEAP16[$arrayidx200>>1]|0;
- $conv201 = $144 << 16 >> 16;
- $mul202 = Math_imul($shr199, $conv201)|0;
- $145 = $i;
- $add203 = (16 + ($145))|0;
- $sub204 = (($add203) - 2)|0;
- $arrayidx205 = (($vla) + ($sub204<<2)|0);
- $146 = HEAP32[$arrayidx205>>2]|0;
- $and206 = $146 & 65535;
- $arrayidx207 = ((($A_Q12)) + 2|0);
- $147 = HEAP16[$arrayidx207>>1]|0;
- $conv208 = $147 << 16 >> 16;
- $mul209 = Math_imul($and206, $conv208)|0;
- $shr210 = $mul209 >> 16;
- $add211 = (($mul202) + ($shr210))|0;
- $add212 = (($141) + ($add211))|0;
- $sum_Q6 = $add212;
- $148 = $sum_Q6;
- $149 = $i;
- $add213 = (16 + ($149))|0;
- $sub214 = (($add213) - 3)|0;
- $arrayidx215 = (($vla) + ($sub214<<2)|0);
- $150 = HEAP32[$arrayidx215>>2]|0;
- $shr216 = $150 >> 16;
- $arrayidx217 = ((($A_Q12)) + 4|0);
- $151 = HEAP16[$arrayidx217>>1]|0;
- $conv218 = $151 << 16 >> 16;
- $mul219 = Math_imul($shr216, $conv218)|0;
- $152 = $i;
- $add220 = (16 + ($152))|0;
- $sub221 = (($add220) - 3)|0;
- $arrayidx222 = (($vla) + ($sub221<<2)|0);
- $153 = HEAP32[$arrayidx222>>2]|0;
- $and223 = $153 & 65535;
- $arrayidx224 = ((($A_Q12)) + 4|0);
- $154 = HEAP16[$arrayidx224>>1]|0;
- $conv225 = $154 << 16 >> 16;
- $mul226 = Math_imul($and223, $conv225)|0;
- $shr227 = $mul226 >> 16;
- $add228 = (($mul219) + ($shr227))|0;
- $add229 = (($148) + ($add228))|0;
- $sum_Q6 = $add229;
- $155 = $sum_Q6;
- $156 = $i;
- $add230 = (16 + ($156))|0;
- $sub231 = (($add230) - 4)|0;
- $arrayidx232 = (($vla) + ($sub231<<2)|0);
- $157 = HEAP32[$arrayidx232>>2]|0;
- $shr233 = $157 >> 16;
- $arrayidx234 = ((($A_Q12)) + 6|0);
- $158 = HEAP16[$arrayidx234>>1]|0;
- $conv235 = $158 << 16 >> 16;
- $mul236 = Math_imul($shr233, $conv235)|0;
- $159 = $i;
- $add237 = (16 + ($159))|0;
- $sub238 = (($add237) - 4)|0;
- $arrayidx239 = (($vla) + ($sub238<<2)|0);
- $160 = HEAP32[$arrayidx239>>2]|0;
- $and240 = $160 & 65535;
- $arrayidx241 = ((($A_Q12)) + 6|0);
- $161 = HEAP16[$arrayidx241>>1]|0;
- $conv242 = $161 << 16 >> 16;
- $mul243 = Math_imul($and240, $conv242)|0;
- $shr244 = $mul243 >> 16;
- $add245 = (($mul236) + ($shr244))|0;
- $add246 = (($155) + ($add245))|0;
- $sum_Q6 = $add246;
- $162 = $sum_Q6;
- $163 = $i;
- $add247 = (16 + ($163))|0;
- $sub248 = (($add247) - 5)|0;
- $arrayidx249 = (($vla) + ($sub248<<2)|0);
- $164 = HEAP32[$arrayidx249>>2]|0;
- $shr250 = $164 >> 16;
- $arrayidx251 = ((($A_Q12)) + 8|0);
- $165 = HEAP16[$arrayidx251>>1]|0;
- $conv252 = $165 << 16 >> 16;
- $mul253 = Math_imul($shr250, $conv252)|0;
- $166 = $i;
- $add254 = (16 + ($166))|0;
- $sub255 = (($add254) - 5)|0;
- $arrayidx256 = (($vla) + ($sub255<<2)|0);
- $167 = HEAP32[$arrayidx256>>2]|0;
- $and257 = $167 & 65535;
- $arrayidx258 = ((($A_Q12)) + 8|0);
- $168 = HEAP16[$arrayidx258>>1]|0;
- $conv259 = $168 << 16 >> 16;
- $mul260 = Math_imul($and257, $conv259)|0;
- $shr261 = $mul260 >> 16;
- $add262 = (($mul253) + ($shr261))|0;
- $add263 = (($162) + ($add262))|0;
- $sum_Q6 = $add263;
- $169 = $sum_Q6;
- $170 = $i;
- $add264 = (16 + ($170))|0;
- $sub265 = (($add264) - 6)|0;
- $arrayidx266 = (($vla) + ($sub265<<2)|0);
- $171 = HEAP32[$arrayidx266>>2]|0;
- $shr267 = $171 >> 16;
- $arrayidx268 = ((($A_Q12)) + 10|0);
- $172 = HEAP16[$arrayidx268>>1]|0;
- $conv269 = $172 << 16 >> 16;
- $mul270 = Math_imul($shr267, $conv269)|0;
- $173 = $i;
- $add271 = (16 + ($173))|0;
- $sub272 = (($add271) - 6)|0;
- $arrayidx273 = (($vla) + ($sub272<<2)|0);
- $174 = HEAP32[$arrayidx273>>2]|0;
- $and274 = $174 & 65535;
- $arrayidx275 = ((($A_Q12)) + 10|0);
- $175 = HEAP16[$arrayidx275>>1]|0;
- $conv276 = $175 << 16 >> 16;
- $mul277 = Math_imul($and274, $conv276)|0;
- $shr278 = $mul277 >> 16;
- $add279 = (($mul270) + ($shr278))|0;
- $add280 = (($169) + ($add279))|0;
- $sum_Q6 = $add280;
- $176 = $sum_Q6;
- $177 = $i;
- $add281 = (16 + ($177))|0;
- $sub282 = (($add281) - 7)|0;
- $arrayidx283 = (($vla) + ($sub282<<2)|0);
- $178 = HEAP32[$arrayidx283>>2]|0;
- $shr284 = $178 >> 16;
- $arrayidx285 = ((($A_Q12)) + 12|0);
- $179 = HEAP16[$arrayidx285>>1]|0;
- $conv286 = $179 << 16 >> 16;
- $mul287 = Math_imul($shr284, $conv286)|0;
- $180 = $i;
- $add288 = (16 + ($180))|0;
- $sub289 = (($add288) - 7)|0;
- $arrayidx290 = (($vla) + ($sub289<<2)|0);
- $181 = HEAP32[$arrayidx290>>2]|0;
- $and291 = $181 & 65535;
- $arrayidx292 = ((($A_Q12)) + 12|0);
- $182 = HEAP16[$arrayidx292>>1]|0;
- $conv293 = $182 << 16 >> 16;
- $mul294 = Math_imul($and291, $conv293)|0;
- $shr295 = $mul294 >> 16;
- $add296 = (($mul287) + ($shr295))|0;
- $add297 = (($176) + ($add296))|0;
- $sum_Q6 = $add297;
- $183 = $sum_Q6;
- $184 = $i;
- $add298 = (16 + ($184))|0;
- $sub299 = (($add298) - 8)|0;
- $arrayidx300 = (($vla) + ($sub299<<2)|0);
- $185 = HEAP32[$arrayidx300>>2]|0;
- $shr301 = $185 >> 16;
- $arrayidx302 = ((($A_Q12)) + 14|0);
- $186 = HEAP16[$arrayidx302>>1]|0;
- $conv303 = $186 << 16 >> 16;
- $mul304 = Math_imul($shr301, $conv303)|0;
- $187 = $i;
- $add305 = (16 + ($187))|0;
- $sub306 = (($add305) - 8)|0;
- $arrayidx307 = (($vla) + ($sub306<<2)|0);
- $188 = HEAP32[$arrayidx307>>2]|0;
- $and308 = $188 & 65535;
- $arrayidx309 = ((($A_Q12)) + 14|0);
- $189 = HEAP16[$arrayidx309>>1]|0;
- $conv310 = $189 << 16 >> 16;
- $mul311 = Math_imul($and308, $conv310)|0;
- $shr312 = $mul311 >> 16;
- $add313 = (($mul304) + ($shr312))|0;
- $add314 = (($183) + ($add313))|0;
- $sum_Q6 = $add314;
- $190 = $sum_Q6;
- $191 = $i;
- $add315 = (16 + ($191))|0;
- $sub316 = (($add315) - 9)|0;
- $arrayidx317 = (($vla) + ($sub316<<2)|0);
- $192 = HEAP32[$arrayidx317>>2]|0;
- $shr318 = $192 >> 16;
- $arrayidx319 = ((($A_Q12)) + 16|0);
- $193 = HEAP16[$arrayidx319>>1]|0;
- $conv320 = $193 << 16 >> 16;
- $mul321 = Math_imul($shr318, $conv320)|0;
- $194 = $i;
- $add322 = (16 + ($194))|0;
- $sub323 = (($add322) - 9)|0;
- $arrayidx324 = (($vla) + ($sub323<<2)|0);
- $195 = HEAP32[$arrayidx324>>2]|0;
- $and325 = $195 & 65535;
- $arrayidx326 = ((($A_Q12)) + 16|0);
- $196 = HEAP16[$arrayidx326>>1]|0;
- $conv327 = $196 << 16 >> 16;
- $mul328 = Math_imul($and325, $conv327)|0;
- $shr329 = $mul328 >> 16;
- $add330 = (($mul321) + ($shr329))|0;
- $add331 = (($190) + ($add330))|0;
- $sum_Q6 = $add331;
- $197 = $sum_Q6;
- $198 = $i;
- $add332 = (16 + ($198))|0;
- $sub333 = (($add332) - 10)|0;
- $arrayidx334 = (($vla) + ($sub333<<2)|0);
- $199 = HEAP32[$arrayidx334>>2]|0;
- $shr335 = $199 >> 16;
- $arrayidx336 = ((($A_Q12)) + 18|0);
- $200 = HEAP16[$arrayidx336>>1]|0;
- $conv337 = $200 << 16 >> 16;
- $mul338 = Math_imul($shr335, $conv337)|0;
- $201 = $i;
- $add339 = (16 + ($201))|0;
- $sub340 = (($add339) - 10)|0;
- $arrayidx341 = (($vla) + ($sub340<<2)|0);
- $202 = HEAP32[$arrayidx341>>2]|0;
- $and342 = $202 & 65535;
- $arrayidx343 = ((($A_Q12)) + 18|0);
- $203 = HEAP16[$arrayidx343>>1]|0;
- $conv344 = $203 << 16 >> 16;
- $mul345 = Math_imul($and342, $conv344)|0;
- $shr346 = $mul345 >> 16;
- $add347 = (($mul338) + ($shr346))|0;
- $add348 = (($197) + ($add347))|0;
- $sum_Q6 = $add348;
- $204 = $psDec$addr;
- $LPC_order349 = ((($204)) + 2340|0);
- $205 = HEAP32[$LPC_order349>>2]|0;
- $cmp350 = ($205|0)==(16);
- if ($cmp350) {
- $206 = $sum_Q6;
- $207 = $i;
- $add353 = (16 + ($207))|0;
- $sub354 = (($add353) - 11)|0;
- $arrayidx355 = (($vla) + ($sub354<<2)|0);
- $208 = HEAP32[$arrayidx355>>2]|0;
- $shr356 = $208 >> 16;
- $arrayidx357 = ((($A_Q12)) + 20|0);
- $209 = HEAP16[$arrayidx357>>1]|0;
- $conv358 = $209 << 16 >> 16;
- $mul359 = Math_imul($shr356, $conv358)|0;
- $210 = $i;
- $add360 = (16 + ($210))|0;
- $sub361 = (($add360) - 11)|0;
- $arrayidx362 = (($vla) + ($sub361<<2)|0);
- $211 = HEAP32[$arrayidx362>>2]|0;
- $and363 = $211 & 65535;
- $arrayidx364 = ((($A_Q12)) + 20|0);
- $212 = HEAP16[$arrayidx364>>1]|0;
- $conv365 = $212 << 16 >> 16;
- $mul366 = Math_imul($and363, $conv365)|0;
- $shr367 = $mul366 >> 16;
- $add368 = (($mul359) + ($shr367))|0;
- $add369 = (($206) + ($add368))|0;
- $sum_Q6 = $add369;
- $213 = $sum_Q6;
- $214 = $i;
- $add370 = (16 + ($214))|0;
- $sub371 = (($add370) - 12)|0;
- $arrayidx372 = (($vla) + ($sub371<<2)|0);
- $215 = HEAP32[$arrayidx372>>2]|0;
- $shr373 = $215 >> 16;
- $arrayidx374 = ((($A_Q12)) + 22|0);
- $216 = HEAP16[$arrayidx374>>1]|0;
- $conv375 = $216 << 16 >> 16;
- $mul376 = Math_imul($shr373, $conv375)|0;
- $217 = $i;
- $add377 = (16 + ($217))|0;
- $sub378 = (($add377) - 12)|0;
- $arrayidx379 = (($vla) + ($sub378<<2)|0);
- $218 = HEAP32[$arrayidx379>>2]|0;
- $and380 = $218 & 65535;
- $arrayidx381 = ((($A_Q12)) + 22|0);
- $219 = HEAP16[$arrayidx381>>1]|0;
- $conv382 = $219 << 16 >> 16;
- $mul383 = Math_imul($and380, $conv382)|0;
- $shr384 = $mul383 >> 16;
- $add385 = (($mul376) + ($shr384))|0;
- $add386 = (($213) + ($add385))|0;
- $sum_Q6 = $add386;
- $220 = $sum_Q6;
- $221 = $i;
- $add387 = (16 + ($221))|0;
- $sub388 = (($add387) - 13)|0;
- $arrayidx389 = (($vla) + ($sub388<<2)|0);
- $222 = HEAP32[$arrayidx389>>2]|0;
- $shr390 = $222 >> 16;
- $arrayidx391 = ((($A_Q12)) + 24|0);
- $223 = HEAP16[$arrayidx391>>1]|0;
- $conv392 = $223 << 16 >> 16;
- $mul393 = Math_imul($shr390, $conv392)|0;
- $224 = $i;
- $add394 = (16 + ($224))|0;
- $sub395 = (($add394) - 13)|0;
- $arrayidx396 = (($vla) + ($sub395<<2)|0);
- $225 = HEAP32[$arrayidx396>>2]|0;
- $and397 = $225 & 65535;
- $arrayidx398 = ((($A_Q12)) + 24|0);
- $226 = HEAP16[$arrayidx398>>1]|0;
- $conv399 = $226 << 16 >> 16;
- $mul400 = Math_imul($and397, $conv399)|0;
- $shr401 = $mul400 >> 16;
- $add402 = (($mul393) + ($shr401))|0;
- $add403 = (($220) + ($add402))|0;
- $sum_Q6 = $add403;
- $227 = $sum_Q6;
- $228 = $i;
- $add404 = (16 + ($228))|0;
- $sub405 = (($add404) - 14)|0;
- $arrayidx406 = (($vla) + ($sub405<<2)|0);
- $229 = HEAP32[$arrayidx406>>2]|0;
- $shr407 = $229 >> 16;
- $arrayidx408 = ((($A_Q12)) + 26|0);
- $230 = HEAP16[$arrayidx408>>1]|0;
- $conv409 = $230 << 16 >> 16;
- $mul410 = Math_imul($shr407, $conv409)|0;
- $231 = $i;
- $add411 = (16 + ($231))|0;
- $sub412 = (($add411) - 14)|0;
- $arrayidx413 = (($vla) + ($sub412<<2)|0);
- $232 = HEAP32[$arrayidx413>>2]|0;
- $and414 = $232 & 65535;
- $arrayidx415 = ((($A_Q12)) + 26|0);
- $233 = HEAP16[$arrayidx415>>1]|0;
- $conv416 = $233 << 16 >> 16;
- $mul417 = Math_imul($and414, $conv416)|0;
- $shr418 = $mul417 >> 16;
- $add419 = (($mul410) + ($shr418))|0;
- $add420 = (($227) + ($add419))|0;
- $sum_Q6 = $add420;
- $234 = $sum_Q6;
- $235 = $i;
- $add421 = (16 + ($235))|0;
- $sub422 = (($add421) - 15)|0;
- $arrayidx423 = (($vla) + ($sub422<<2)|0);
- $236 = HEAP32[$arrayidx423>>2]|0;
- $shr424 = $236 >> 16;
- $arrayidx425 = ((($A_Q12)) + 28|0);
- $237 = HEAP16[$arrayidx425>>1]|0;
- $conv426 = $237 << 16 >> 16;
- $mul427 = Math_imul($shr424, $conv426)|0;
- $238 = $i;
- $add428 = (16 + ($238))|0;
- $sub429 = (($add428) - 15)|0;
- $arrayidx430 = (($vla) + ($sub429<<2)|0);
- $239 = HEAP32[$arrayidx430>>2]|0;
- $and431 = $239 & 65535;
- $arrayidx432 = ((($A_Q12)) + 28|0);
- $240 = HEAP16[$arrayidx432>>1]|0;
- $conv433 = $240 << 16 >> 16;
- $mul434 = Math_imul($and431, $conv433)|0;
- $shr435 = $mul434 >> 16;
- $add436 = (($mul427) + ($shr435))|0;
- $add437 = (($234) + ($add436))|0;
- $sum_Q6 = $add437;
- $241 = $sum_Q6;
- $242 = $i;
- $add438 = (16 + ($242))|0;
- $sub439 = (($add438) - 16)|0;
- $arrayidx440 = (($vla) + ($sub439<<2)|0);
- $243 = HEAP32[$arrayidx440>>2]|0;
- $shr441 = $243 >> 16;
- $arrayidx442 = ((($A_Q12)) + 30|0);
- $244 = HEAP16[$arrayidx442>>1]|0;
- $conv443 = $244 << 16 >> 16;
- $mul444 = Math_imul($shr441, $conv443)|0;
- $245 = $i;
- $add445 = (16 + ($245))|0;
- $sub446 = (($add445) - 16)|0;
- $arrayidx447 = (($vla) + ($sub446<<2)|0);
- $246 = HEAP32[$arrayidx447>>2]|0;
- $and448 = $246 & 65535;
- $arrayidx449 = ((($A_Q12)) + 30|0);
- $247 = HEAP16[$arrayidx449>>1]|0;
- $conv450 = $247 << 16 >> 16;
- $mul451 = Math_imul($and448, $conv450)|0;
- $shr452 = $mul451 >> 16;
- $add453 = (($mul444) + ($shr452))|0;
- $add454 = (($241) + ($add453))|0;
- $sum_Q6 = $add454;
- }
- $248 = $i;
- $add456 = (16 + ($248))|0;
- $arrayidx457 = (($vla) + ($add456<<2)|0);
- $249 = HEAP32[$arrayidx457>>2]|0;
- $250 = $sum_Q6;
- $shl458 = $250 << 4;
- $add459 = (($249) + ($shl458))|0;
- $251 = $i;
- $add460 = (16 + ($251))|0;
- $arrayidx461 = (($vla) + ($add460<<2)|0);
- HEAP32[$arrayidx461>>2] = $add459;
- $252 = $frame$addr;
- $253 = $i;
- $arrayidx462 = (($252) + ($253<<1)|0);
- $254 = HEAP16[$arrayidx462>>1]|0;
- $conv463 = $254 << 16 >> 16;
- $255 = $i;
- $add464 = (16 + ($255))|0;
- $arrayidx465 = (($vla) + ($add464<<2)|0);
- $256 = HEAP32[$arrayidx465>>2]|0;
- $shr466 = $256 >> 9;
- $add467 = (($shr466) + 1)|0;
- $shr468 = $add467 >> 1;
- $add469 = (($conv463) + ($shr468))|0;
- $cmp470 = ($add469|0)>(32767);
- if ($cmp470) {
- $cond493 = 32767;
- } else {
- $257 = $frame$addr;
- $258 = $i;
- $arrayidx472 = (($257) + ($258<<1)|0);
- $259 = HEAP16[$arrayidx472>>1]|0;
- $conv473 = $259 << 16 >> 16;
- $260 = $i;
- $add474 = (16 + ($260))|0;
- $arrayidx475 = (($vla) + ($add474<<2)|0);
- $261 = HEAP32[$arrayidx475>>2]|0;
- $shr476 = $261 >> 9;
- $add477 = (($shr476) + 1)|0;
- $shr478 = $add477 >> 1;
- $add479 = (($conv473) + ($shr478))|0;
- $cmp480 = ($add479|0)<(-32768);
- if ($cmp480) {
- $cond493 = -32768;
- } else {
- $262 = $frame$addr;
- $263 = $i;
- $arrayidx484 = (($262) + ($263<<1)|0);
- $264 = HEAP16[$arrayidx484>>1]|0;
- $conv485 = $264 << 16 >> 16;
- $265 = $i;
- $add486 = (16 + ($265))|0;
- $arrayidx487 = (($vla) + ($add486<<2)|0);
- $266 = HEAP32[$arrayidx487>>2]|0;
- $shr488 = $266 >> 9;
- $add489 = (($shr488) + 1)|0;
- $shr490 = $add489 >> 1;
- $add491 = (($conv485) + ($shr490))|0;
- $cond493 = $add491;
- }
- }
- $conv494 = $cond493&65535;
- $267 = $frame$addr;
- $268 = $i;
- $arrayidx495 = (($267) + ($268<<1)|0);
- HEAP16[$arrayidx495>>1] = $conv494;
- $269 = $i;
- $inc497 = (($269) + 1)|0;
- $i = $inc497;
- }
- $270 = $psCNG;
- $CNG_synth_state499 = ((($270)) + 1312|0);
- $271 = $length$addr;
- $arrayidx501 = (($vla) + ($271<<2)|0);
- dest=$CNG_synth_state499; src=$arrayidx501; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $272 = $saved_stack;
- _llvm_stackrestore(($272|0));
- STACKTOP = sp;return;
-}
-function _silk_SQRT_APPROX_543($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add17 = 0, $and = 0, $and9 = 0, $cmp = 0, $conv = 0, $conv10 = 0, $conv11 = 0;
- var $conv13 = 0, $conv14 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $frac_Q7 = 0, $lz = 0, $mul = 0, $mul12 = 0, $mul15 = 0, $mul8 = 0, $retval = 0, $shr = 0, $shr16 = 0, $shr3 = 0, $shr4 = 0, $tobool = 0, $x$addr = 0, $y = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $lz = sp + 4|0;
- $frac_Q7 = sp;
- $x$addr = $x;
- $0 = $x$addr;
- $cmp = ($0|0)<=(0);
- if ($cmp) {
- $retval = 0;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
- }
- $1 = $x$addr;
- _silk_CLZ_FRAC_544($1,$lz,$frac_Q7);
- $2 = HEAP32[$lz>>2]|0;
- $and = $2 & 1;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $y = 32768;
- } else {
- $y = 46214;
- }
- $3 = HEAP32[$lz>>2]|0;
- $shr = $3 >> 1;
- $4 = $y;
- $shr3 = $4 >> $shr;
- $y = $shr3;
- $5 = $y;
- $6 = $y;
- $shr4 = $6 >> 16;
- $7 = HEAP32[$frac_Q7>>2]|0;
- $conv = $7&65535;
- $conv5 = $conv << 16 >> 16;
- $mul = ($conv5*213)|0;
- $conv6 = $mul&65535;
- $conv7 = $conv6 << 16 >> 16;
- $mul8 = Math_imul($shr4, $conv7)|0;
- $8 = $y;
- $and9 = $8 & 65535;
- $9 = HEAP32[$frac_Q7>>2]|0;
- $conv10 = $9&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = ($conv11*213)|0;
- $conv13 = $mul12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and9, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul8) + ($shr16))|0;
- $add17 = (($5) + ($add))|0;
- $y = $add17;
- $10 = $y;
- $retval = $10;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
-}
-function _silk_CNG_exc($exc_Q10,$exc_buf_Q14,$Gain_Q16,$length,$rand_seed) {
- $exc_Q10 = $exc_Q10|0;
- $exc_buf_Q14 = $exc_buf_Q14|0;
- $Gain_Q16 = $Gain_Q16|0;
- $length = $length|0;
- $rand_seed = $rand_seed|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Gain_Q16$addr = 0, $add = 0, $add14 = 0, $add18 = 0, $add21 = 0, $add37 = 0, $add41 = 0, $add44 = 0, $add62 = 0, $add66 = 0;
- var $add69 = 0, $and = 0, $and31 = 0, $and56 = 0, $and8 = 0, $arrayidx = 0, $arrayidx15 = 0, $arrayidx24 = 0, $arrayidx30 = 0, $arrayidx38 = 0, $arrayidx49 = 0, $arrayidx55 = 0, $arrayidx63 = 0, $arrayidx7 = 0, $arrayidx74 = 0, $cmp = 0, $cmp1 = 0, $cmp22 = 0, $cmp45 = 0, $cond71 = 0;
- var $conv = 0, $conv10 = 0, $conv11 = 0, $conv27 = 0, $conv28 = 0, $conv33 = 0, $conv34 = 0, $conv5 = 0, $conv52 = 0, $conv53 = 0, $conv58 = 0, $conv59 = 0, $conv72 = 0, $conv73 = 0, $exc_Q10$addr = 0, $exc_buf_Q14$addr = 0, $exc_mask = 0, $i = 0, $idx = 0, $inc = 0;
- var $length$addr = 0, $mul = 0, $mul12 = 0, $mul20 = 0, $mul29 = 0, $mul35 = 0, $mul43 = 0, $mul54 = 0, $mul6 = 0, $mul60 = 0, $mul68 = 0, $rand_seed$addr = 0, $seed = 0, $shr = 0, $shr13 = 0, $shr16 = 0, $shr17 = 0, $shr19 = 0, $shr2 = 0, $shr25 = 0;
- var $shr26 = 0, $shr3 = 0, $shr32 = 0, $shr36 = 0, $shr39 = 0, $shr4 = 0, $shr40 = 0, $shr42 = 0, $shr50 = 0, $shr51 = 0, $shr57 = 0, $shr61 = 0, $shr64 = 0, $shr65 = 0, $shr67 = 0, $shr9 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $exc_Q10$addr = $exc_Q10;
- $exc_buf_Q14$addr = $exc_buf_Q14;
- $Gain_Q16$addr = $Gain_Q16;
- $length$addr = $length;
- $rand_seed$addr = $rand_seed;
- $exc_mask = 255;
- while(1) {
- $0 = $exc_mask;
- $1 = $length$addr;
- $cmp = ($0|0)>($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $exc_mask;
- $shr = $2 >> 1;
- $exc_mask = $shr;
- }
- $3 = $rand_seed$addr;
- $4 = HEAP32[$3>>2]|0;
- $seed = $4;
- $i = 0;
- while(1) {
- $5 = $i;
- $6 = $length$addr;
- $cmp1 = ($5|0)<($6|0);
- $7 = $seed;
- if (!($cmp1)) {
- break;
- }
- $mul = Math_imul($7, 196314165)|0;
- $add = (907633515 + ($mul))|0;
- $seed = $add;
- $8 = $seed;
- $shr2 = $8 >> 24;
- $9 = $exc_mask;
- $and = $shr2 & $9;
- $idx = $and;
- $10 = $exc_buf_Q14$addr;
- $11 = $idx;
- $arrayidx = (($10) + ($11<<2)|0);
- $12 = HEAP32[$arrayidx>>2]|0;
- $shr3 = $12 >> 16;
- $13 = $Gain_Q16$addr;
- $shr4 = $13 >> 4;
- $conv = $shr4&65535;
- $conv5 = $conv << 16 >> 16;
- $mul6 = Math_imul($shr3, $conv5)|0;
- $14 = $exc_buf_Q14$addr;
- $15 = $idx;
- $arrayidx7 = (($14) + ($15<<2)|0);
- $16 = HEAP32[$arrayidx7>>2]|0;
- $and8 = $16 & 65535;
- $17 = $Gain_Q16$addr;
- $shr9 = $17 >> 4;
- $conv10 = $shr9&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = Math_imul($and8, $conv11)|0;
- $shr13 = $mul12 >> 16;
- $add14 = (($mul6) + ($shr13))|0;
- $18 = $exc_buf_Q14$addr;
- $19 = $idx;
- $arrayidx15 = (($18) + ($19<<2)|0);
- $20 = HEAP32[$arrayidx15>>2]|0;
- $21 = $Gain_Q16$addr;
- $shr16 = $21 >> 4;
- $shr17 = $shr16 >> 15;
- $add18 = (($shr17) + 1)|0;
- $shr19 = $add18 >> 1;
- $mul20 = Math_imul($20, $shr19)|0;
- $add21 = (($add14) + ($mul20))|0;
- $cmp22 = ($add21|0)>(32767);
- if ($cmp22) {
- $cond71 = 32767;
- } else {
- $22 = $exc_buf_Q14$addr;
- $23 = $idx;
- $arrayidx24 = (($22) + ($23<<2)|0);
- $24 = HEAP32[$arrayidx24>>2]|0;
- $shr25 = $24 >> 16;
- $25 = $Gain_Q16$addr;
- $shr26 = $25 >> 4;
- $conv27 = $shr26&65535;
- $conv28 = $conv27 << 16 >> 16;
- $mul29 = Math_imul($shr25, $conv28)|0;
- $26 = $exc_buf_Q14$addr;
- $27 = $idx;
- $arrayidx30 = (($26) + ($27<<2)|0);
- $28 = HEAP32[$arrayidx30>>2]|0;
- $and31 = $28 & 65535;
- $29 = $Gain_Q16$addr;
- $shr32 = $29 >> 4;
- $conv33 = $shr32&65535;
- $conv34 = $conv33 << 16 >> 16;
- $mul35 = Math_imul($and31, $conv34)|0;
- $shr36 = $mul35 >> 16;
- $add37 = (($mul29) + ($shr36))|0;
- $30 = $exc_buf_Q14$addr;
- $31 = $idx;
- $arrayidx38 = (($30) + ($31<<2)|0);
- $32 = HEAP32[$arrayidx38>>2]|0;
- $33 = $Gain_Q16$addr;
- $shr39 = $33 >> 4;
- $shr40 = $shr39 >> 15;
- $add41 = (($shr40) + 1)|0;
- $shr42 = $add41 >> 1;
- $mul43 = Math_imul($32, $shr42)|0;
- $add44 = (($add37) + ($mul43))|0;
- $cmp45 = ($add44|0)<(-32768);
- if ($cmp45) {
- $cond71 = -32768;
- } else {
- $34 = $exc_buf_Q14$addr;
- $35 = $idx;
- $arrayidx49 = (($34) + ($35<<2)|0);
- $36 = HEAP32[$arrayidx49>>2]|0;
- $shr50 = $36 >> 16;
- $37 = $Gain_Q16$addr;
- $shr51 = $37 >> 4;
- $conv52 = $shr51&65535;
- $conv53 = $conv52 << 16 >> 16;
- $mul54 = Math_imul($shr50, $conv53)|0;
- $38 = $exc_buf_Q14$addr;
- $39 = $idx;
- $arrayidx55 = (($38) + ($39<<2)|0);
- $40 = HEAP32[$arrayidx55>>2]|0;
- $and56 = $40 & 65535;
- $41 = $Gain_Q16$addr;
- $shr57 = $41 >> 4;
- $conv58 = $shr57&65535;
- $conv59 = $conv58 << 16 >> 16;
- $mul60 = Math_imul($and56, $conv59)|0;
- $shr61 = $mul60 >> 16;
- $add62 = (($mul54) + ($shr61))|0;
- $42 = $exc_buf_Q14$addr;
- $43 = $idx;
- $arrayidx63 = (($42) + ($43<<2)|0);
- $44 = HEAP32[$arrayidx63>>2]|0;
- $45 = $Gain_Q16$addr;
- $shr64 = $45 >> 4;
- $shr65 = $shr64 >> 15;
- $add66 = (($shr65) + 1)|0;
- $shr67 = $add66 >> 1;
- $mul68 = Math_imul($44, $shr67)|0;
- $add69 = (($add62) + ($mul68))|0;
- $cond71 = $add69;
- }
- }
- $conv72 = $cond71&65535;
- $conv73 = $conv72 << 16 >> 16;
- $46 = $exc_Q10$addr;
- $47 = $i;
- $arrayidx74 = (($46) + ($47<<2)|0);
- HEAP32[$arrayidx74>>2] = $conv73;
- $48 = $i;
- $inc = (($48) + 1)|0;
- $i = $inc;
- }
- $49 = $rand_seed$addr;
- HEAP32[$49>>2] = $7;
- STACKTOP = sp;return;
-}
-function _silk_CLZ_FRAC_544($in,$lz,$frac_Q7) {
- $in = $in|0;
- $lz = $lz|0;
- $frac_Q7 = $frac_Q7|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $and = 0, $call = 0, $call1 = 0, $frac_Q7$addr = 0, $in$addr = 0, $lz$addr = 0, $lzeros = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in$addr = $in;
- $lz$addr = $lz;
- $frac_Q7$addr = $frac_Q7;
- $0 = $in$addr;
- $call = (_silk_CLZ32_545($0)|0);
- $lzeros = $call;
- $1 = $lzeros;
- $2 = $lz$addr;
- HEAP32[$2>>2] = $1;
- $3 = $in$addr;
- $4 = $lzeros;
- $sub = (24 - ($4))|0;
- $call1 = (_silk_ROR32_546($3,$sub)|0);
- $and = $call1 & 127;
- $5 = $frac_Q7$addr;
- HEAP32[$5>>2] = $and;
- STACKTOP = sp;return;
-}
-function _silk_CLZ32_545($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_ROR32_546($a32,$rot) {
- $a32 = $a32|0;
- $rot = $rot|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $a32$addr = 0, $cmp = 0, $cmp1 = 0, $m = 0, $or = 0, $or8 = 0;
- var $r = 0, $retval = 0, $rot$addr = 0, $shl = 0, $shl6 = 0, $shr = 0, $shr7 = 0, $sub = 0, $sub3 = 0, $sub5 = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a32$addr = $a32;
- $rot$addr = $rot;
- $0 = $a32$addr;
- $x = $0;
- $1 = $rot$addr;
- $r = $1;
- $2 = $rot$addr;
- $sub = (0 - ($2))|0;
- $m = $sub;
- $3 = $rot$addr;
- $cmp = ($3|0)==(0);
- if ($cmp) {
- $4 = $a32$addr;
- $retval = $4;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- $5 = $rot$addr;
- $cmp1 = ($5|0)<(0);
- $6 = $x;
- if ($cmp1) {
- $7 = $m;
- $shl = $6 << $7;
- $8 = $x;
- $9 = $m;
- $sub3 = (32 - ($9))|0;
- $shr = $8 >>> $sub3;
- $or = $shl | $shr;
- $retval = $or;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- } else {
- $10 = $r;
- $sub5 = (32 - ($10))|0;
- $shl6 = $6 << $sub5;
- $11 = $x;
- $12 = $r;
- $shr7 = $11 >>> $12;
- $or8 = $shl6 | $shr7;
- $retval = $or8;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- return (0)|0;
-}
-function _silk_decode_core($psDec,$psDecCtrl,$xq,$pulses,$arch) {
- $psDec = $psDec|0;
- $psDecCtrl = $psDecCtrl|0;
- $xq = $xq|0;
- $pulses = $pulses|0;
- $arch = $arch|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
- var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
- var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
- var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
- var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
- var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0;
- var $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0;
- var $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0;
- var $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0;
- var $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0;
- var $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0;
- var $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0;
- var $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0;
- var $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0;
- var $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0;
- var $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0;
- var $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0;
- var $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
- var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
- var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
- var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $A_Q12 = 0, $A_Q12_tmp = 0, $B_Q14 = 0;
- var $Gain_Q10 = 0, $Gains_Q16 = 0, $Gains_Q16114 = 0, $Gains_Q1676 = 0, $Gains_Q1678 = 0, $Gains_Q1684 = 0, $LPC_order = 0, $LPC_order146 = 0, $LPC_order166 = 0, $LPC_order346 = 0, $LPC_order518 = 0, $LPC_pred_Q10 = 0, $LTPCoef_Q14 = 0, $LTP_pred_Q13 = 0, $LTP_scale_Q14 = 0, $LTP_scale_Q14175 = 0, $NLSFInterpCoef_Q2 = 0, $NLSF_interpolation_flag = 0, $PredCoef_Q12 = 0, $Seed = 0;
- var $add = 0, $add$ptr = 0, $add$ptr719 = 0, $add101 = 0, $add104 = 0, $add107 = 0, $add162 = 0, $add180 = 0, $add184 = 0, $add19 = 0, $add203 = 0, $add215 = 0, $add234 = 0, $add239 = 0, $add242 = 0, $add256 = 0, $add274 = 0, $add275 = 0, $add287 = 0, $add288 = 0;
- var $add300 = 0, $add301 = 0, $add313 = 0, $add314 = 0, $add326 = 0, $add327 = 0, $add330 = 0, $add348 = 0, $add355 = 0, $add363 = 0, $add364 = 0, $add365 = 0, $add372 = 0, $add38 = 0, $add380 = 0, $add381 = 0, $add382 = 0, $add389 = 0, $add397 = 0, $add398 = 0;
- var $add399 = 0, $add406 = 0, $add414 = 0, $add415 = 0, $add416 = 0, $add423 = 0, $add431 = 0, $add432 = 0, $add433 = 0, $add44 = 0, $add440 = 0, $add448 = 0, $add449 = 0, $add450 = 0, $add457 = 0, $add465 = 0, $add466 = 0, $add467 = 0, $add474 = 0, $add482 = 0;
- var $add483 = 0, $add484 = 0, $add491 = 0, $add499 = 0, $add5 = 0, $add500 = 0, $add501 = 0, $add508 = 0, $add516 = 0, $add517 = 0, $add522 = 0, $add529 = 0, $add537 = 0, $add538 = 0, $add539 = 0, $add546 = 0, $add554 = 0, $add555 = 0, $add556 = 0, $add56 = 0;
- var $add563 = 0, $add571 = 0, $add572 = 0, $add573 = 0, $add580 = 0, $add588 = 0, $add589 = 0, $add590 = 0, $add597 = 0, $add605 = 0, $add606 = 0, $add607 = 0, $add614 = 0, $add622 = 0, $add623 = 0, $add627 = 0, $add628 = 0, $add630 = 0, $add636 = 0, $add643 = 0;
- var $add644 = 0, $add647 = 0, $add650 = 0, $add652 = 0, $add656 = 0, $add662 = 0, $add669 = 0, $add670 = 0, $add673 = 0, $add676 = 0, $add678 = 0, $add684 = 0, $add690 = 0, $add697 = 0, $add698 = 0, $add701 = 0, $add704 = 0, $add706 = 0, $and = 0, $and174 = 0;
- var $and195 = 0, $and226 = 0, $and269 = 0, $and282 = 0, $and295 = 0, $and308 = 0, $and321 = 0, $and358 = 0, $and375 = 0, $and392 = 0, $and409 = 0, $and426 = 0, $and443 = 0, $and460 = 0, $and477 = 0, $and494 = 0, $and511 = 0, $and532 = 0, $and549 = 0, $and566 = 0;
- var $and583 = 0, $and600 = 0, $and617 = 0, $and638 = 0, $and664 = 0, $and692 = 0, $arch$addr = 0, $arrayidx = 0, $arrayidx102 = 0, $arrayidx108 = 0, $arrayidx115 = 0, $arrayidx129 = 0, $arrayidx130 = 0, $arrayidx136 = 0, $arrayidx153 = 0, $arrayidx158 = 0, $arrayidx163 = 0, $arrayidx192 = 0, $arrayidx199 = 0, $arrayidx20 = 0;
- var $arrayidx206 = 0, $arrayidx22 = 0, $arrayidx222 = 0, $arrayidx229 = 0, $arrayidx237 = 0, $arrayidx24 = 0, $arrayidx245 = 0, $arrayidx257 = 0, $arrayidx276 = 0, $arrayidx278 = 0, $arrayidx281 = 0, $arrayidx283 = 0, $arrayidx289 = 0, $arrayidx29 = 0, $arrayidx291 = 0, $arrayidx294 = 0, $arrayidx296 = 0, $arrayidx302 = 0, $arrayidx304 = 0, $arrayidx307 = 0;
- var $arrayidx309 = 0, $arrayidx315 = 0, $arrayidx317 = 0, $arrayidx320 = 0, $arrayidx322 = 0, $arrayidx328 = 0, $arrayidx331 = 0, $arrayidx332 = 0, $arrayidx334 = 0, $arrayidx350 = 0, $arrayidx357 = 0, $arrayidx367 = 0, $arrayidx369 = 0, $arrayidx37 = 0, $arrayidx374 = 0, $arrayidx376 = 0, $arrayidx384 = 0, $arrayidx386 = 0, $arrayidx391 = 0, $arrayidx393 = 0;
- var $arrayidx401 = 0, $arrayidx403 = 0, $arrayidx408 = 0, $arrayidx410 = 0, $arrayidx418 = 0, $arrayidx420 = 0, $arrayidx425 = 0, $arrayidx427 = 0, $arrayidx43 = 0, $arrayidx435 = 0, $arrayidx437 = 0, $arrayidx442 = 0, $arrayidx444 = 0, $arrayidx452 = 0, $arrayidx454 = 0, $arrayidx459 = 0, $arrayidx461 = 0, $arrayidx469 = 0, $arrayidx471 = 0, $arrayidx476 = 0;
- var $arrayidx478 = 0, $arrayidx486 = 0, $arrayidx488 = 0, $arrayidx49 = 0, $arrayidx493 = 0, $arrayidx495 = 0, $arrayidx503 = 0, $arrayidx505 = 0, $arrayidx510 = 0, $arrayidx512 = 0, $arrayidx52 = 0, $arrayidx524 = 0, $arrayidx526 = 0, $arrayidx531 = 0, $arrayidx533 = 0, $arrayidx54 = 0, $arrayidx541 = 0, $arrayidx543 = 0, $arrayidx548 = 0, $arrayidx550 = 0;
- var $arrayidx558 = 0, $arrayidx560 = 0, $arrayidx565 = 0, $arrayidx567 = 0, $arrayidx575 = 0, $arrayidx577 = 0, $arrayidx582 = 0, $arrayidx584 = 0, $arrayidx592 = 0, $arrayidx594 = 0, $arrayidx599 = 0, $arrayidx601 = 0, $arrayidx609 = 0, $arrayidx611 = 0, $arrayidx616 = 0, $arrayidx618 = 0, $arrayidx625 = 0, $arrayidx629 = 0, $arrayidx631 = 0, $arrayidx637 = 0;
- var $arrayidx645 = 0, $arrayidx65 = 0, $arrayidx657 = 0, $arrayidx663 = 0, $arrayidx671 = 0, $arrayidx685 = 0, $arrayidx691 = 0, $arrayidx699 = 0, $arrayidx70 = 0, $arrayidx711 = 0, $arrayidx716 = 0, $arrayidx74 = 0, $arrayidx77 = 0, $arrayidx79 = 0, $arrayidx85 = 0, $arrayidx9 = 0, $arrayidx92 = 0, $arrayidx96 = 0, $call = 0, $call86 = 0;
- var $cmp = 0, $cmp117 = 0, $cmp123 = 0, $cmp126 = 0, $cmp132 = 0, $cmp137 = 0, $cmp139 = 0, $cmp149 = 0, $cmp167 = 0, $cmp17 = 0, $cmp185 = 0, $cmp211 = 0, $cmp216 = 0, $cmp25 = 0, $cmp252 = 0, $cmp260 = 0, $cmp33 = 0, $cmp343 = 0, $cmp45 = 0, $cmp519 = 0;
- var $cmp61 = 0, $cmp654 = 0, $cmp680 = 0, $cmp80 = 0, $cmp88 = 0, $cond709 = 0, $conv = 0, $conv10 = 0, $conv12 = 0, $conv122 = 0, $conv15 = 0, $conv171 = 0, $conv172 = 0, $conv176 = 0, $conv177 = 0, $conv193 = 0, $conv200 = 0, $conv21 = 0, $conv223 = 0, $conv224 = 0;
- var $conv230 = 0, $conv231 = 0, $conv266 = 0, $conv271 = 0, $conv279 = 0, $conv284 = 0, $conv292 = 0, $conv297 = 0, $conv305 = 0, $conv310 = 0, $conv318 = 0, $conv323 = 0, $conv353 = 0, $conv360 = 0, $conv370 = 0, $conv377 = 0, $conv387 = 0, $conv394 = 0, $conv404 = 0, $conv411 = 0;
- var $conv421 = 0, $conv428 = 0, $conv438 = 0, $conv445 = 0, $conv455 = 0, $conv462 = 0, $conv472 = 0, $conv479 = 0, $conv489 = 0, $conv496 = 0, $conv506 = 0, $conv513 = 0, $conv527 = 0, $conv534 = 0, $conv544 = 0, $conv55 = 0, $conv551 = 0, $conv561 = 0, $conv568 = 0, $conv578 = 0;
- var $conv585 = 0, $conv595 = 0, $conv602 = 0, $conv612 = 0, $conv619 = 0, $conv633 = 0, $conv634 = 0, $conv639 = 0, $conv640 = 0, $conv659 = 0, $conv660 = 0, $conv665 = 0, $conv666 = 0, $conv687 = 0, $conv688 = 0, $conv693 = 0, $conv694 = 0, $conv710 = 0, $conv73 = 0, $conv93 = 0;
- var $conv94 = 0, $conv97 = 0, $conv98 = 0, $exc_Q14 = 0, $exc_Q1423 = 0, $exc_Q1428 = 0, $exc_Q1436 = 0, $exc_Q1442 = 0, $exc_Q1448 = 0, $exc_Q1451 = 0, $exc_Q1457 = 0, $frame_length = 0, $frame_length16 = 0, $gain_adj_Q16 = 0, $i = 0, $idxprom = 0, $inc = 0, $inc110 = 0, $inc208 = 0, $inc247 = 0;
- var $inc335 = 0, $inc337 = 0, $inc713 = 0, $inc721 = 0, $incdec$ptr = 0, $indices = 0, $indices11 = 0, $indices120 = 0, $indices14 = 0, $indices71 = 0, $indices8 = 0, $inv_gain_Q31 = 0, $k = 0, $lag = 0, $lagPrev = 0, $lossCnt = 0, $ltp_mem_length = 0, $ltp_mem_length1 = 0, $ltp_mem_length144 = 0, $ltp_mem_length152 = 0;
- var $ltp_mem_length164 = 0, $ltp_mem_length189 = 0, $ltp_mem_length196 = 0, $ltp_mem_length59 = 0, $mul = 0, $mul106 = 0, $mul155 = 0, $mul156 = 0, $mul161 = 0, $mul173 = 0, $mul178 = 0, $mul194 = 0, $mul201 = 0, $mul225 = 0, $mul232 = 0, $mul241 = 0, $mul267 = 0, $mul272 = 0, $mul280 = 0, $mul285 = 0;
- var $mul293 = 0, $mul298 = 0, $mul306 = 0, $mul311 = 0, $mul319 = 0, $mul324 = 0, $mul354 = 0, $mul361 = 0, $mul371 = 0, $mul378 = 0, $mul388 = 0, $mul395 = 0, $mul405 = 0, $mul412 = 0, $mul422 = 0, $mul429 = 0, $mul439 = 0, $mul446 = 0, $mul456 = 0, $mul463 = 0;
- var $mul473 = 0, $mul480 = 0, $mul490 = 0, $mul497 = 0, $mul507 = 0, $mul514 = 0, $mul528 = 0, $mul535 = 0, $mul545 = 0, $mul552 = 0, $mul562 = 0, $mul569 = 0, $mul579 = 0, $mul586 = 0, $mul596 = 0, $mul603 = 0, $mul613 = 0, $mul620 = 0, $mul635 = 0, $mul641 = 0;
- var $mul649 = 0, $mul661 = 0, $mul667 = 0, $mul675 = 0, $mul68 = 0, $mul689 = 0, $mul69 = 0, $mul695 = 0, $mul703 = 0, $mul95 = 0, $mul99 = 0, $nb_subfr = 0, $offset_Q10 = 0, $or$cond = 0, $or$cond1 = 0, $outBuf = 0, $outBuf159 = 0, $pexc_Q14 = 0, $pred_lag_ptr = 0, $pres_Q14 = 0;
- var $prevSignalType = 0, $psDec$addr = 0, $psDecCtrl$addr = 0, $pulses$addr = 0, $pxq = 0, $quantOffsetType = 0, $rand_seed = 0, $sLPC_Q14_buf = 0, $sLPC_Q14_buf723 = 0, $sLTP_buf_idx = 0, $saved_stack = 0, $shl = 0, $shl181 = 0, $shl329 = 0, $shl333 = 0, $shl41 = 0, $shl626 = 0, $shr = 0, $shr100 = 0, $shr103 = 0;
- var $shr105 = 0, $shr170 = 0, $shr179 = 0, $shr188 = 0, $shr202 = 0, $shr219 = 0, $shr233 = 0, $shr238 = 0, $shr240 = 0, $shr264 = 0, $shr273 = 0, $shr277 = 0, $shr286 = 0, $shr290 = 0, $shr299 = 0, $shr303 = 0, $shr312 = 0, $shr316 = 0, $shr325 = 0, $shr347 = 0;
- var $shr351 = 0, $shr362 = 0, $shr368 = 0, $shr379 = 0, $shr385 = 0, $shr396 = 0, $shr402 = 0, $shr413 = 0, $shr419 = 0, $shr430 = 0, $shr436 = 0, $shr447 = 0, $shr453 = 0, $shr464 = 0, $shr470 = 0, $shr481 = 0, $shr487 = 0, $shr498 = 0, $shr504 = 0, $shr515 = 0;
- var $shr525 = 0, $shr536 = 0, $shr542 = 0, $shr553 = 0, $shr559 = 0, $shr570 = 0, $shr576 = 0, $shr587 = 0, $shr593 = 0, $shr604 = 0, $shr610 = 0, $shr621 = 0, $shr632 = 0, $shr64 = 0, $shr642 = 0, $shr646 = 0, $shr648 = 0, $shr651 = 0, $shr653 = 0, $shr658 = 0;
- var $shr668 = 0, $shr672 = 0, $shr674 = 0, $shr677 = 0, $shr679 = 0, $shr686 = 0, $shr696 = 0, $shr700 = 0, $shr702 = 0, $shr705 = 0, $shr707 = 0, $shr75 = 0, $shr91 = 0, $signalType = 0, $signalType121 = 0, $signalType7 = 0, $signalType72 = 0, $start_idx = 0, $sub = 0, $sub145 = 0;
- var $sub147 = 0, $sub148 = 0, $sub165 = 0, $sub190 = 0, $sub191 = 0, $sub197 = 0, $sub198 = 0, $sub204 = 0, $sub205 = 0, $sub220 = 0, $sub221 = 0, $sub227 = 0, $sub228 = 0, $sub235 = 0, $sub236 = 0, $sub243 = 0, $sub244 = 0, $sub255 = 0, $sub349 = 0, $sub356 = 0;
- var $sub366 = 0, $sub373 = 0, $sub383 = 0, $sub390 = 0, $sub400 = 0, $sub407 = 0, $sub417 = 0, $sub424 = 0, $sub434 = 0, $sub441 = 0, $sub451 = 0, $sub458 = 0, $sub468 = 0, $sub475 = 0, $sub485 = 0, $sub492 = 0, $sub50 = 0, $sub502 = 0, $sub509 = 0, $sub523 = 0;
- var $sub530 = 0, $sub540 = 0, $sub547 = 0, $sub557 = 0, $sub564 = 0, $sub574 = 0, $sub581 = 0, $sub591 = 0, $sub598 = 0, $sub608 = 0, $sub615 = 0, $subfr_length = 0, $subfr_length154 = 0, $subfr_length160 = 0, $subfr_length259 = 0, $subfr_length342 = 0, $subfr_length4 = 0, $subfr_length715 = 0, $subfr_length717 = 0, $subfr_length718 = 0;
- var $tobool = 0, $tobool142 = 0, $vla = 0, $vla$alloca_mul = 0, $vla2 = 0, $vla2$alloca_mul = 0, $vla3 = 0, $vla3$alloca_mul = 0, $vla6 = 0, $vla6$alloca_mul = 0, $xq$addr = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
- $A_Q12_tmp = sp + 104|0;
- $psDec$addr = $psDec;
- $psDecCtrl$addr = $psDecCtrl;
- $xq$addr = $xq;
- $pulses$addr = $pulses;
- $arch$addr = $arch;
- $lag = 0;
- $0 = $psDec$addr;
- $ltp_mem_length = ((($0)) + 2336|0);
- $1 = HEAP32[$ltp_mem_length>>2]|0;
- $2 = (_llvm_stacksave()|0);
- $saved_stack = $2;
- $vla$alloca_mul = $1<<1;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $3 = $psDec$addr;
- $ltp_mem_length1 = ((($3)) + 2336|0);
- $4 = HEAP32[$ltp_mem_length1>>2]|0;
- $5 = $psDec$addr;
- $frame_length = ((($5)) + 2328|0);
- $6 = HEAP32[$frame_length>>2]|0;
- $add = (($4) + ($6))|0;
- $vla2$alloca_mul = $add<<2;
- $vla2 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla2$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla2$alloca_mul)|0)+15)&-16)|0);;
- $7 = $psDec$addr;
- $subfr_length = ((($7)) + 2332|0);
- $8 = HEAP32[$subfr_length>>2]|0;
- $vla3$alloca_mul = $8<<2;
- $vla3 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla3$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla3$alloca_mul)|0)+15)&-16)|0);;
- $9 = $psDec$addr;
- $subfr_length4 = ((($9)) + 2332|0);
- $10 = HEAP32[$subfr_length4>>2]|0;
- $add5 = (($10) + 16)|0;
- $vla6$alloca_mul = $add5<<2;
- $vla6 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla6$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla6$alloca_mul)|0)+15)&-16)|0);;
- $11 = $psDec$addr;
- $indices = ((($11)) + 2736|0);
- $signalType7 = ((($indices)) + 29|0);
- $12 = HEAP8[$signalType7>>0]|0;
- $conv = $12 << 24 >> 24;
- $shr = $conv >> 1;
- $arrayidx = (24998 + ($shr<<2)|0);
- $13 = $psDec$addr;
- $indices8 = ((($13)) + 2736|0);
- $quantOffsetType = ((($indices8)) + 30|0);
- $14 = HEAP8[$quantOffsetType>>0]|0;
- $idxprom = $14 << 24 >> 24;
- $arrayidx9 = (($arrayidx) + ($idxprom<<1)|0);
- $15 = HEAP16[$arrayidx9>>1]|0;
- $conv10 = $15 << 16 >> 16;
- $offset_Q10 = $conv10;
- $16 = $psDec$addr;
- $indices11 = ((($16)) + 2736|0);
- $NLSFInterpCoef_Q2 = ((($indices11)) + 31|0);
- $17 = HEAP8[$NLSFInterpCoef_Q2>>0]|0;
- $conv12 = $17 << 24 >> 24;
- $cmp = ($conv12|0)<(4);
- if ($cmp) {
- $NLSF_interpolation_flag = 1;
- } else {
- $NLSF_interpolation_flag = 0;
- }
- $18 = $psDec$addr;
- $indices14 = ((($18)) + 2736|0);
- $Seed = ((($indices14)) + 34|0);
- $19 = HEAP8[$Seed>>0]|0;
- $conv15 = $19 << 24 >> 24;
- $rand_seed = $conv15;
- $i = 0;
- while(1) {
- $20 = $i;
- $21 = $psDec$addr;
- $frame_length16 = ((($21)) + 2328|0);
- $22 = HEAP32[$frame_length16>>2]|0;
- $cmp17 = ($20|0)<($22|0);
- if (!($cmp17)) {
- break;
- }
- $23 = $rand_seed;
- $mul = Math_imul($23, 196314165)|0;
- $add19 = (907633515 + ($mul))|0;
- $rand_seed = $add19;
- $24 = $pulses$addr;
- $25 = $i;
- $arrayidx20 = (($24) + ($25<<1)|0);
- $26 = HEAP16[$arrayidx20>>1]|0;
- $conv21 = $26 << 16 >> 16;
- $shl = $conv21 << 14;
- $27 = $psDec$addr;
- $exc_Q14 = ((($27)) + 4|0);
- $28 = $i;
- $arrayidx22 = (($exc_Q14) + ($28<<2)|0);
- HEAP32[$arrayidx22>>2] = $shl;
- $29 = $psDec$addr;
- $exc_Q1423 = ((($29)) + 4|0);
- $30 = $i;
- $arrayidx24 = (($exc_Q1423) + ($30<<2)|0);
- $31 = HEAP32[$arrayidx24>>2]|0;
- $cmp25 = ($31|0)>(0);
- $32 = $psDec$addr;
- $exc_Q1428 = ((($32)) + 4|0);
- $33 = $i;
- $arrayidx29 = (($exc_Q1428) + ($33<<2)|0);
- $34 = HEAP32[$arrayidx29>>2]|0;
- if ($cmp25) {
- $sub = (($34) - 1280)|0;
- HEAP32[$arrayidx29>>2] = $sub;
- } else {
- $cmp33 = ($34|0)<(0);
- if ($cmp33) {
- $35 = $psDec$addr;
- $exc_Q1436 = ((($35)) + 4|0);
- $36 = $i;
- $arrayidx37 = (($exc_Q1436) + ($36<<2)|0);
- $37 = HEAP32[$arrayidx37>>2]|0;
- $add38 = (($37) + 1280)|0;
- HEAP32[$arrayidx37>>2] = $add38;
- }
- }
- $38 = $offset_Q10;
- $shl41 = $38 << 4;
- $39 = $psDec$addr;
- $exc_Q1442 = ((($39)) + 4|0);
- $40 = $i;
- $arrayidx43 = (($exc_Q1442) + ($40<<2)|0);
- $41 = HEAP32[$arrayidx43>>2]|0;
- $add44 = (($41) + ($shl41))|0;
- HEAP32[$arrayidx43>>2] = $add44;
- $42 = $rand_seed;
- $cmp45 = ($42|0)<(0);
- if ($cmp45) {
- $43 = $psDec$addr;
- $exc_Q1448 = ((($43)) + 4|0);
- $44 = $i;
- $arrayidx49 = (($exc_Q1448) + ($44<<2)|0);
- $45 = HEAP32[$arrayidx49>>2]|0;
- $sub50 = (0 - ($45))|0;
- $46 = $psDec$addr;
- $exc_Q1451 = ((($46)) + 4|0);
- $47 = $i;
- $arrayidx52 = (($exc_Q1451) + ($47<<2)|0);
- HEAP32[$arrayidx52>>2] = $sub50;
- }
- $48 = $rand_seed;
- $49 = $pulses$addr;
- $50 = $i;
- $arrayidx54 = (($49) + ($50<<1)|0);
- $51 = HEAP16[$arrayidx54>>1]|0;
- $conv55 = $51 << 16 >> 16;
- $add56 = (($48) + ($conv55))|0;
- $rand_seed = $add56;
- $52 = $i;
- $inc = (($52) + 1)|0;
- $i = $inc;
- }
- $53 = $psDec$addr;
- $sLPC_Q14_buf = ((($53)) + 1284|0);
- dest=$vla6; src=$sLPC_Q14_buf; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $54 = $psDec$addr;
- $exc_Q1457 = ((($54)) + 4|0);
- $pexc_Q14 = $exc_Q1457;
- $55 = $xq$addr;
- $pxq = $55;
- $56 = $psDec$addr;
- $ltp_mem_length59 = ((($56)) + 2336|0);
- $57 = HEAP32[$ltp_mem_length59>>2]|0;
- $sLTP_buf_idx = $57;
- $k = 0;
- while(1) {
- $58 = $k;
- $59 = $psDec$addr;
- $nb_subfr = ((($59)) + 2324|0);
- $60 = HEAP32[$nb_subfr>>2]|0;
- $cmp61 = ($58|0)<($60|0);
- if (!($cmp61)) {
- break;
- }
- $pres_Q14 = $vla3;
- $61 = $psDecCtrl$addr;
- $PredCoef_Q12 = ((($61)) + 32|0);
- $62 = $k;
- $shr64 = $62 >> 1;
- $arrayidx65 = (($PredCoef_Q12) + ($shr64<<5)|0);
- $A_Q12 = $arrayidx65;
- $63 = $A_Q12;
- $64 = $psDec$addr;
- $LPC_order = ((($64)) + 2340|0);
- $65 = HEAP32[$LPC_order>>2]|0;
- $mul68 = $65<<1;
- _memcpy(($A_Q12_tmp|0),($63|0),($mul68|0))|0;
- $66 = $psDecCtrl$addr;
- $LTPCoef_Q14 = ((($66)) + 96|0);
- $67 = $k;
- $mul69 = ($67*5)|0;
- $arrayidx70 = (($LTPCoef_Q14) + ($mul69<<1)|0);
- $B_Q14 = $arrayidx70;
- $68 = $psDec$addr;
- $indices71 = ((($68)) + 2736|0);
- $signalType72 = ((($indices71)) + 29|0);
- $69 = HEAP8[$signalType72>>0]|0;
- $conv73 = $69 << 24 >> 24;
- $signalType = $conv73;
- $70 = $psDecCtrl$addr;
- $Gains_Q16 = ((($70)) + 16|0);
- $71 = $k;
- $arrayidx74 = (($Gains_Q16) + ($71<<2)|0);
- $72 = HEAP32[$arrayidx74>>2]|0;
- $shr75 = $72 >> 6;
- $Gain_Q10 = $shr75;
- $73 = $psDecCtrl$addr;
- $Gains_Q1676 = ((($73)) + 16|0);
- $74 = $k;
- $arrayidx77 = (($Gains_Q1676) + ($74<<2)|0);
- $75 = HEAP32[$arrayidx77>>2]|0;
- $call = (_silk_INVERSE32_varQ_549($75,47)|0);
- $inv_gain_Q31 = $call;
- $76 = $psDecCtrl$addr;
- $Gains_Q1678 = ((($76)) + 16|0);
- $77 = $k;
- $arrayidx79 = (($Gains_Q1678) + ($77<<2)|0);
- $78 = HEAP32[$arrayidx79>>2]|0;
- $79 = $psDec$addr;
- $80 = HEAP32[$79>>2]|0;
- $cmp80 = ($78|0)!=($80|0);
- L20: do {
- if ($cmp80) {
- $81 = $psDec$addr;
- $82 = HEAP32[$81>>2]|0;
- $83 = $psDecCtrl$addr;
- $Gains_Q1684 = ((($83)) + 16|0);
- $84 = $k;
- $arrayidx85 = (($Gains_Q1684) + ($84<<2)|0);
- $85 = HEAP32[$arrayidx85>>2]|0;
- $call86 = (_silk_DIV32_varQ_550($82,$85,16)|0);
- $gain_adj_Q16 = $call86;
- $i = 0;
- while(1) {
- $86 = $i;
- $cmp88 = ($86|0)<(16);
- if (!($cmp88)) {
- break L20;
- }
- $87 = $gain_adj_Q16;
- $shr91 = $87 >> 16;
- $88 = $i;
- $arrayidx92 = (($vla6) + ($88<<2)|0);
- $89 = HEAP32[$arrayidx92>>2]|0;
- $conv93 = $89&65535;
- $conv94 = $conv93 << 16 >> 16;
- $mul95 = Math_imul($shr91, $conv94)|0;
- $90 = $gain_adj_Q16;
- $and = $90 & 65535;
- $91 = $i;
- $arrayidx96 = (($vla6) + ($91<<2)|0);
- $92 = HEAP32[$arrayidx96>>2]|0;
- $conv97 = $92&65535;
- $conv98 = $conv97 << 16 >> 16;
- $mul99 = Math_imul($and, $conv98)|0;
- $shr100 = $mul99 >> 16;
- $add101 = (($mul95) + ($shr100))|0;
- $93 = $gain_adj_Q16;
- $94 = $i;
- $arrayidx102 = (($vla6) + ($94<<2)|0);
- $95 = HEAP32[$arrayidx102>>2]|0;
- $shr103 = $95 >> 15;
- $add104 = (($shr103) + 1)|0;
- $shr105 = $add104 >> 1;
- $mul106 = Math_imul($93, $shr105)|0;
- $add107 = (($add101) + ($mul106))|0;
- $96 = $i;
- $arrayidx108 = (($vla6) + ($96<<2)|0);
- HEAP32[$arrayidx108>>2] = $add107;
- $97 = $i;
- $inc110 = (($97) + 1)|0;
- $i = $inc110;
- }
- } else {
- $gain_adj_Q16 = 65536;
- }
- } while(0);
- $98 = $psDecCtrl$addr;
- $Gains_Q16114 = ((($98)) + 16|0);
- $99 = $k;
- $arrayidx115 = (($Gains_Q16114) + ($99<<2)|0);
- $100 = HEAP32[$arrayidx115>>2]|0;
- $101 = $psDec$addr;
- HEAP32[$101>>2] = $100;
- $102 = $psDec$addr;
- $lossCnt = ((($102)) + 4160|0);
- $103 = HEAP32[$lossCnt>>2]|0;
- $tobool = ($103|0)!=(0);
- if ($tobool) {
- $104 = $psDec$addr;
- $prevSignalType = ((($104)) + 4164|0);
- $105 = HEAP32[$prevSignalType>>2]|0;
- $cmp117 = ($105|0)==(2);
- if ($cmp117) {
- $106 = $psDec$addr;
- $indices120 = ((($106)) + 2736|0);
- $signalType121 = ((($indices120)) + 29|0);
- $107 = HEAP8[$signalType121>>0]|0;
- $conv122 = $107 << 24 >> 24;
- $cmp123 = ($conv122|0)!=(2);
- $108 = $k;
- $cmp126 = ($108|0)<(2);
- $or$cond = $cmp123 & $cmp126;
- if ($or$cond) {
- $109 = $B_Q14;
- ;HEAP16[$109>>1]=0|0;HEAP16[$109+2>>1]=0|0;HEAP16[$109+4>>1]=0|0;HEAP16[$109+6>>1]=0|0;HEAP16[$109+8>>1]=0|0;
- $110 = $B_Q14;
- $arrayidx129 = ((($110)) + 4|0);
- HEAP16[$arrayidx129>>1] = 4096;
- $signalType = 2;
- $111 = $psDec$addr;
- $lagPrev = ((($111)) + 2308|0);
- $112 = HEAP32[$lagPrev>>2]|0;
- $113 = $psDecCtrl$addr;
- $114 = $k;
- $arrayidx130 = (($113) + ($114<<2)|0);
- HEAP32[$arrayidx130>>2] = $112;
- }
- }
- }
- $115 = $signalType;
- $cmp132 = ($115|0)==(2);
- L32: do {
- if ($cmp132) {
- $116 = $psDecCtrl$addr;
- $117 = $k;
- $arrayidx136 = (($116) + ($117<<2)|0);
- $118 = HEAP32[$arrayidx136>>2]|0;
- $lag = $118;
- $119 = $k;
- $cmp137 = ($119|0)==(0);
- if (!($cmp137)) {
- $120 = $k;
- $cmp139 = ($120|0)==(2);
- $121 = $NLSF_interpolation_flag;
- $tobool142 = ($121|0)!=(0);
- $or$cond1 = $cmp139 & $tobool142;
- if (!($or$cond1)) {
- $169 = $gain_adj_Q16;
- $cmp211 = ($169|0)!=(65536);
- if (!($cmp211)) {
- break;
- }
- $i = 0;
- while(1) {
- $170 = $i;
- $171 = $lag;
- $add215 = (($171) + 2)|0;
- $cmp216 = ($170|0)<($add215|0);
- if (!($cmp216)) {
- break L32;
- }
- $172 = $gain_adj_Q16;
- $shr219 = $172 >> 16;
- $173 = $sLTP_buf_idx;
- $174 = $i;
- $sub220 = (($173) - ($174))|0;
- $sub221 = (($sub220) - 1)|0;
- $arrayidx222 = (($vla2) + ($sub221<<2)|0);
- $175 = HEAP32[$arrayidx222>>2]|0;
- $conv223 = $175&65535;
- $conv224 = $conv223 << 16 >> 16;
- $mul225 = Math_imul($shr219, $conv224)|0;
- $176 = $gain_adj_Q16;
- $and226 = $176 & 65535;
- $177 = $sLTP_buf_idx;
- $178 = $i;
- $sub227 = (($177) - ($178))|0;
- $sub228 = (($sub227) - 1)|0;
- $arrayidx229 = (($vla2) + ($sub228<<2)|0);
- $179 = HEAP32[$arrayidx229>>2]|0;
- $conv230 = $179&65535;
- $conv231 = $conv230 << 16 >> 16;
- $mul232 = Math_imul($and226, $conv231)|0;
- $shr233 = $mul232 >> 16;
- $add234 = (($mul225) + ($shr233))|0;
- $180 = $gain_adj_Q16;
- $181 = $sLTP_buf_idx;
- $182 = $i;
- $sub235 = (($181) - ($182))|0;
- $sub236 = (($sub235) - 1)|0;
- $arrayidx237 = (($vla2) + ($sub236<<2)|0);
- $183 = HEAP32[$arrayidx237>>2]|0;
- $shr238 = $183 >> 15;
- $add239 = (($shr238) + 1)|0;
- $shr240 = $add239 >> 1;
- $mul241 = Math_imul($180, $shr240)|0;
- $add242 = (($add234) + ($mul241))|0;
- $184 = $sLTP_buf_idx;
- $185 = $i;
- $sub243 = (($184) - ($185))|0;
- $sub244 = (($sub243) - 1)|0;
- $arrayidx245 = (($vla2) + ($sub244<<2)|0);
- HEAP32[$arrayidx245>>2] = $add242;
- $186 = $i;
- $inc247 = (($186) + 1)|0;
- $i = $inc247;
- }
- }
- }
- $122 = $psDec$addr;
- $ltp_mem_length144 = ((($122)) + 2336|0);
- $123 = HEAP32[$ltp_mem_length144>>2]|0;
- $124 = $lag;
- $sub145 = (($123) - ($124))|0;
- $125 = $psDec$addr;
- $LPC_order146 = ((($125)) + 2340|0);
- $126 = HEAP32[$LPC_order146>>2]|0;
- $sub147 = (($sub145) - ($126))|0;
- $sub148 = (($sub147) - 2)|0;
- $start_idx = $sub148;
- $127 = $k;
- $cmp149 = ($127|0)==(2);
- if ($cmp149) {
- $128 = $psDec$addr;
- $outBuf = ((($128)) + 1348|0);
- $129 = $psDec$addr;
- $ltp_mem_length152 = ((($129)) + 2336|0);
- $130 = HEAP32[$ltp_mem_length152>>2]|0;
- $arrayidx153 = (($outBuf) + ($130<<1)|0);
- $131 = $xq$addr;
- $132 = $psDec$addr;
- $subfr_length154 = ((($132)) + 2332|0);
- $133 = HEAP32[$subfr_length154>>2]|0;
- $mul155 = $133<<1;
- $mul156 = $mul155<<1;
- _memcpy(($arrayidx153|0),($131|0),($mul156|0))|0;
- }
- $134 = $start_idx;
- $arrayidx158 = (($vla) + ($134<<1)|0);
- $135 = $psDec$addr;
- $outBuf159 = ((($135)) + 1348|0);
- $136 = $start_idx;
- $137 = $k;
- $138 = $psDec$addr;
- $subfr_length160 = ((($138)) + 2332|0);
- $139 = HEAP32[$subfr_length160>>2]|0;
- $mul161 = Math_imul($137, $139)|0;
- $add162 = (($136) + ($mul161))|0;
- $arrayidx163 = (($outBuf159) + ($add162<<1)|0);
- $140 = $A_Q12;
- $141 = $psDec$addr;
- $ltp_mem_length164 = ((($141)) + 2336|0);
- $142 = HEAP32[$ltp_mem_length164>>2]|0;
- $143 = $start_idx;
- $sub165 = (($142) - ($143))|0;
- $144 = $psDec$addr;
- $LPC_order166 = ((($144)) + 2340|0);
- $145 = HEAP32[$LPC_order166>>2]|0;
- $146 = $arch$addr;
- _silk_LPC_analysis_filter($arrayidx158,$arrayidx163,$140,$sub165,$145,$146);
- $147 = $k;
- $cmp167 = ($147|0)==(0);
- if ($cmp167) {
- $148 = $inv_gain_Q31;
- $shr170 = $148 >> 16;
- $149 = $psDecCtrl$addr;
- $LTP_scale_Q14 = ((($149)) + 136|0);
- $150 = HEAP32[$LTP_scale_Q14>>2]|0;
- $conv171 = $150&65535;
- $conv172 = $conv171 << 16 >> 16;
- $mul173 = Math_imul($shr170, $conv172)|0;
- $151 = $inv_gain_Q31;
- $and174 = $151 & 65535;
- $152 = $psDecCtrl$addr;
- $LTP_scale_Q14175 = ((($152)) + 136|0);
- $153 = HEAP32[$LTP_scale_Q14175>>2]|0;
- $conv176 = $153&65535;
- $conv177 = $conv176 << 16 >> 16;
- $mul178 = Math_imul($and174, $conv177)|0;
- $shr179 = $mul178 >> 16;
- $add180 = (($mul173) + ($shr179))|0;
- $shl181 = $add180 << 2;
- $inv_gain_Q31 = $shl181;
- }
- $i = 0;
- while(1) {
- $154 = $i;
- $155 = $lag;
- $add184 = (($155) + 2)|0;
- $cmp185 = ($154|0)<($add184|0);
- if (!($cmp185)) {
- break L32;
- }
- $156 = $inv_gain_Q31;
- $shr188 = $156 >> 16;
- $157 = $psDec$addr;
- $ltp_mem_length189 = ((($157)) + 2336|0);
- $158 = HEAP32[$ltp_mem_length189>>2]|0;
- $159 = $i;
- $sub190 = (($158) - ($159))|0;
- $sub191 = (($sub190) - 1)|0;
- $arrayidx192 = (($vla) + ($sub191<<1)|0);
- $160 = HEAP16[$arrayidx192>>1]|0;
- $conv193 = $160 << 16 >> 16;
- $mul194 = Math_imul($shr188, $conv193)|0;
- $161 = $inv_gain_Q31;
- $and195 = $161 & 65535;
- $162 = $psDec$addr;
- $ltp_mem_length196 = ((($162)) + 2336|0);
- $163 = HEAP32[$ltp_mem_length196>>2]|0;
- $164 = $i;
- $sub197 = (($163) - ($164))|0;
- $sub198 = (($sub197) - 1)|0;
- $arrayidx199 = (($vla) + ($sub198<<1)|0);
- $165 = HEAP16[$arrayidx199>>1]|0;
- $conv200 = $165 << 16 >> 16;
- $mul201 = Math_imul($and195, $conv200)|0;
- $shr202 = $mul201 >> 16;
- $add203 = (($mul194) + ($shr202))|0;
- $166 = $sLTP_buf_idx;
- $167 = $i;
- $sub204 = (($166) - ($167))|0;
- $sub205 = (($sub204) - 1)|0;
- $arrayidx206 = (($vla2) + ($sub205<<2)|0);
- HEAP32[$arrayidx206>>2] = $add203;
- $168 = $i;
- $inc208 = (($168) + 1)|0;
- $i = $inc208;
- }
- }
- } while(0);
- $187 = $signalType;
- $cmp252 = ($187|0)==(2);
- L52: do {
- if ($cmp252) {
- $188 = $sLTP_buf_idx;
- $189 = $lag;
- $sub255 = (($188) - ($189))|0;
- $add256 = (($sub255) + 2)|0;
- $arrayidx257 = (($vla2) + ($add256<<2)|0);
- $pred_lag_ptr = $arrayidx257;
- $i = 0;
- while(1) {
- $190 = $i;
- $191 = $psDec$addr;
- $subfr_length259 = ((($191)) + 2332|0);
- $192 = HEAP32[$subfr_length259>>2]|0;
- $cmp260 = ($190|0)<($192|0);
- if (!($cmp260)) {
- break L52;
- }
- $LTP_pred_Q13 = 2;
- $193 = $LTP_pred_Q13;
- $194 = $pred_lag_ptr;
- $195 = HEAP32[$194>>2]|0;
- $shr264 = $195 >> 16;
- $196 = $B_Q14;
- $197 = HEAP16[$196>>1]|0;
- $conv266 = $197 << 16 >> 16;
- $mul267 = Math_imul($shr264, $conv266)|0;
- $198 = $pred_lag_ptr;
- $199 = HEAP32[$198>>2]|0;
- $and269 = $199 & 65535;
- $200 = $B_Q14;
- $201 = HEAP16[$200>>1]|0;
- $conv271 = $201 << 16 >> 16;
- $mul272 = Math_imul($and269, $conv271)|0;
- $shr273 = $mul272 >> 16;
- $add274 = (($mul267) + ($shr273))|0;
- $add275 = (($193) + ($add274))|0;
- $LTP_pred_Q13 = $add275;
- $202 = $LTP_pred_Q13;
- $203 = $pred_lag_ptr;
- $arrayidx276 = ((($203)) + -4|0);
- $204 = HEAP32[$arrayidx276>>2]|0;
- $shr277 = $204 >> 16;
- $205 = $B_Q14;
- $arrayidx278 = ((($205)) + 2|0);
- $206 = HEAP16[$arrayidx278>>1]|0;
- $conv279 = $206 << 16 >> 16;
- $mul280 = Math_imul($shr277, $conv279)|0;
- $207 = $pred_lag_ptr;
- $arrayidx281 = ((($207)) + -4|0);
- $208 = HEAP32[$arrayidx281>>2]|0;
- $and282 = $208 & 65535;
- $209 = $B_Q14;
- $arrayidx283 = ((($209)) + 2|0);
- $210 = HEAP16[$arrayidx283>>1]|0;
- $conv284 = $210 << 16 >> 16;
- $mul285 = Math_imul($and282, $conv284)|0;
- $shr286 = $mul285 >> 16;
- $add287 = (($mul280) + ($shr286))|0;
- $add288 = (($202) + ($add287))|0;
- $LTP_pred_Q13 = $add288;
- $211 = $LTP_pred_Q13;
- $212 = $pred_lag_ptr;
- $arrayidx289 = ((($212)) + -8|0);
- $213 = HEAP32[$arrayidx289>>2]|0;
- $shr290 = $213 >> 16;
- $214 = $B_Q14;
- $arrayidx291 = ((($214)) + 4|0);
- $215 = HEAP16[$arrayidx291>>1]|0;
- $conv292 = $215 << 16 >> 16;
- $mul293 = Math_imul($shr290, $conv292)|0;
- $216 = $pred_lag_ptr;
- $arrayidx294 = ((($216)) + -8|0);
- $217 = HEAP32[$arrayidx294>>2]|0;
- $and295 = $217 & 65535;
- $218 = $B_Q14;
- $arrayidx296 = ((($218)) + 4|0);
- $219 = HEAP16[$arrayidx296>>1]|0;
- $conv297 = $219 << 16 >> 16;
- $mul298 = Math_imul($and295, $conv297)|0;
- $shr299 = $mul298 >> 16;
- $add300 = (($mul293) + ($shr299))|0;
- $add301 = (($211) + ($add300))|0;
- $LTP_pred_Q13 = $add301;
- $220 = $LTP_pred_Q13;
- $221 = $pred_lag_ptr;
- $arrayidx302 = ((($221)) + -12|0);
- $222 = HEAP32[$arrayidx302>>2]|0;
- $shr303 = $222 >> 16;
- $223 = $B_Q14;
- $arrayidx304 = ((($223)) + 6|0);
- $224 = HEAP16[$arrayidx304>>1]|0;
- $conv305 = $224 << 16 >> 16;
- $mul306 = Math_imul($shr303, $conv305)|0;
- $225 = $pred_lag_ptr;
- $arrayidx307 = ((($225)) + -12|0);
- $226 = HEAP32[$arrayidx307>>2]|0;
- $and308 = $226 & 65535;
- $227 = $B_Q14;
- $arrayidx309 = ((($227)) + 6|0);
- $228 = HEAP16[$arrayidx309>>1]|0;
- $conv310 = $228 << 16 >> 16;
- $mul311 = Math_imul($and308, $conv310)|0;
- $shr312 = $mul311 >> 16;
- $add313 = (($mul306) + ($shr312))|0;
- $add314 = (($220) + ($add313))|0;
- $LTP_pred_Q13 = $add314;
- $229 = $LTP_pred_Q13;
- $230 = $pred_lag_ptr;
- $arrayidx315 = ((($230)) + -16|0);
- $231 = HEAP32[$arrayidx315>>2]|0;
- $shr316 = $231 >> 16;
- $232 = $B_Q14;
- $arrayidx317 = ((($232)) + 8|0);
- $233 = HEAP16[$arrayidx317>>1]|0;
- $conv318 = $233 << 16 >> 16;
- $mul319 = Math_imul($shr316, $conv318)|0;
- $234 = $pred_lag_ptr;
- $arrayidx320 = ((($234)) + -16|0);
- $235 = HEAP32[$arrayidx320>>2]|0;
- $and321 = $235 & 65535;
- $236 = $B_Q14;
- $arrayidx322 = ((($236)) + 8|0);
- $237 = HEAP16[$arrayidx322>>1]|0;
- $conv323 = $237 << 16 >> 16;
- $mul324 = Math_imul($and321, $conv323)|0;
- $shr325 = $mul324 >> 16;
- $add326 = (($mul319) + ($shr325))|0;
- $add327 = (($229) + ($add326))|0;
- $LTP_pred_Q13 = $add327;
- $238 = $pred_lag_ptr;
- $incdec$ptr = ((($238)) + 4|0);
- $pred_lag_ptr = $incdec$ptr;
- $239 = $pexc_Q14;
- $240 = $i;
- $arrayidx328 = (($239) + ($240<<2)|0);
- $241 = HEAP32[$arrayidx328>>2]|0;
- $242 = $LTP_pred_Q13;
- $shl329 = $242 << 1;
- $add330 = (($241) + ($shl329))|0;
- $243 = $pres_Q14;
- $244 = $i;
- $arrayidx331 = (($243) + ($244<<2)|0);
- HEAP32[$arrayidx331>>2] = $add330;
- $245 = $pres_Q14;
- $246 = $i;
- $arrayidx332 = (($245) + ($246<<2)|0);
- $247 = HEAP32[$arrayidx332>>2]|0;
- $shl333 = $247 << 1;
- $248 = $sLTP_buf_idx;
- $arrayidx334 = (($vla2) + ($248<<2)|0);
- HEAP32[$arrayidx334>>2] = $shl333;
- $249 = $sLTP_buf_idx;
- $inc335 = (($249) + 1)|0;
- $sLTP_buf_idx = $inc335;
- $250 = $i;
- $inc337 = (($250) + 1)|0;
- $i = $inc337;
- }
- } else {
- $251 = $pexc_Q14;
- $pres_Q14 = $251;
- }
- } while(0);
- $i = 0;
- while(1) {
- $252 = $i;
- $253 = $psDec$addr;
- $subfr_length342 = ((($253)) + 2332|0);
- $254 = HEAP32[$subfr_length342>>2]|0;
- $cmp343 = ($252|0)<($254|0);
- if (!($cmp343)) {
- break;
- }
- $255 = $psDec$addr;
- $LPC_order346 = ((($255)) + 2340|0);
- $256 = HEAP32[$LPC_order346>>2]|0;
- $shr347 = $256 >> 1;
- $LPC_pred_Q10 = $shr347;
- $257 = $LPC_pred_Q10;
- $258 = $i;
- $add348 = (16 + ($258))|0;
- $sub349 = (($add348) - 1)|0;
- $arrayidx350 = (($vla6) + ($sub349<<2)|0);
- $259 = HEAP32[$arrayidx350>>2]|0;
- $shr351 = $259 >> 16;
- $260 = HEAP16[$A_Q12_tmp>>1]|0;
- $conv353 = $260 << 16 >> 16;
- $mul354 = Math_imul($shr351, $conv353)|0;
- $261 = $i;
- $add355 = (16 + ($261))|0;
- $sub356 = (($add355) - 1)|0;
- $arrayidx357 = (($vla6) + ($sub356<<2)|0);
- $262 = HEAP32[$arrayidx357>>2]|0;
- $and358 = $262 & 65535;
- $263 = HEAP16[$A_Q12_tmp>>1]|0;
- $conv360 = $263 << 16 >> 16;
- $mul361 = Math_imul($and358, $conv360)|0;
- $shr362 = $mul361 >> 16;
- $add363 = (($mul354) + ($shr362))|0;
- $add364 = (($257) + ($add363))|0;
- $LPC_pred_Q10 = $add364;
- $264 = $LPC_pred_Q10;
- $265 = $i;
- $add365 = (16 + ($265))|0;
- $sub366 = (($add365) - 2)|0;
- $arrayidx367 = (($vla6) + ($sub366<<2)|0);
- $266 = HEAP32[$arrayidx367>>2]|0;
- $shr368 = $266 >> 16;
- $arrayidx369 = ((($A_Q12_tmp)) + 2|0);
- $267 = HEAP16[$arrayidx369>>1]|0;
- $conv370 = $267 << 16 >> 16;
- $mul371 = Math_imul($shr368, $conv370)|0;
- $268 = $i;
- $add372 = (16 + ($268))|0;
- $sub373 = (($add372) - 2)|0;
- $arrayidx374 = (($vla6) + ($sub373<<2)|0);
- $269 = HEAP32[$arrayidx374>>2]|0;
- $and375 = $269 & 65535;
- $arrayidx376 = ((($A_Q12_tmp)) + 2|0);
- $270 = HEAP16[$arrayidx376>>1]|0;
- $conv377 = $270 << 16 >> 16;
- $mul378 = Math_imul($and375, $conv377)|0;
- $shr379 = $mul378 >> 16;
- $add380 = (($mul371) + ($shr379))|0;
- $add381 = (($264) + ($add380))|0;
- $LPC_pred_Q10 = $add381;
- $271 = $LPC_pred_Q10;
- $272 = $i;
- $add382 = (16 + ($272))|0;
- $sub383 = (($add382) - 3)|0;
- $arrayidx384 = (($vla6) + ($sub383<<2)|0);
- $273 = HEAP32[$arrayidx384>>2]|0;
- $shr385 = $273 >> 16;
- $arrayidx386 = ((($A_Q12_tmp)) + 4|0);
- $274 = HEAP16[$arrayidx386>>1]|0;
- $conv387 = $274 << 16 >> 16;
- $mul388 = Math_imul($shr385, $conv387)|0;
- $275 = $i;
- $add389 = (16 + ($275))|0;
- $sub390 = (($add389) - 3)|0;
- $arrayidx391 = (($vla6) + ($sub390<<2)|0);
- $276 = HEAP32[$arrayidx391>>2]|0;
- $and392 = $276 & 65535;
- $arrayidx393 = ((($A_Q12_tmp)) + 4|0);
- $277 = HEAP16[$arrayidx393>>1]|0;
- $conv394 = $277 << 16 >> 16;
- $mul395 = Math_imul($and392, $conv394)|0;
- $shr396 = $mul395 >> 16;
- $add397 = (($mul388) + ($shr396))|0;
- $add398 = (($271) + ($add397))|0;
- $LPC_pred_Q10 = $add398;
- $278 = $LPC_pred_Q10;
- $279 = $i;
- $add399 = (16 + ($279))|0;
- $sub400 = (($add399) - 4)|0;
- $arrayidx401 = (($vla6) + ($sub400<<2)|0);
- $280 = HEAP32[$arrayidx401>>2]|0;
- $shr402 = $280 >> 16;
- $arrayidx403 = ((($A_Q12_tmp)) + 6|0);
- $281 = HEAP16[$arrayidx403>>1]|0;
- $conv404 = $281 << 16 >> 16;
- $mul405 = Math_imul($shr402, $conv404)|0;
- $282 = $i;
- $add406 = (16 + ($282))|0;
- $sub407 = (($add406) - 4)|0;
- $arrayidx408 = (($vla6) + ($sub407<<2)|0);
- $283 = HEAP32[$arrayidx408>>2]|0;
- $and409 = $283 & 65535;
- $arrayidx410 = ((($A_Q12_tmp)) + 6|0);
- $284 = HEAP16[$arrayidx410>>1]|0;
- $conv411 = $284 << 16 >> 16;
- $mul412 = Math_imul($and409, $conv411)|0;
- $shr413 = $mul412 >> 16;
- $add414 = (($mul405) + ($shr413))|0;
- $add415 = (($278) + ($add414))|0;
- $LPC_pred_Q10 = $add415;
- $285 = $LPC_pred_Q10;
- $286 = $i;
- $add416 = (16 + ($286))|0;
- $sub417 = (($add416) - 5)|0;
- $arrayidx418 = (($vla6) + ($sub417<<2)|0);
- $287 = HEAP32[$arrayidx418>>2]|0;
- $shr419 = $287 >> 16;
- $arrayidx420 = ((($A_Q12_tmp)) + 8|0);
- $288 = HEAP16[$arrayidx420>>1]|0;
- $conv421 = $288 << 16 >> 16;
- $mul422 = Math_imul($shr419, $conv421)|0;
- $289 = $i;
- $add423 = (16 + ($289))|0;
- $sub424 = (($add423) - 5)|0;
- $arrayidx425 = (($vla6) + ($sub424<<2)|0);
- $290 = HEAP32[$arrayidx425>>2]|0;
- $and426 = $290 & 65535;
- $arrayidx427 = ((($A_Q12_tmp)) + 8|0);
- $291 = HEAP16[$arrayidx427>>1]|0;
- $conv428 = $291 << 16 >> 16;
- $mul429 = Math_imul($and426, $conv428)|0;
- $shr430 = $mul429 >> 16;
- $add431 = (($mul422) + ($shr430))|0;
- $add432 = (($285) + ($add431))|0;
- $LPC_pred_Q10 = $add432;
- $292 = $LPC_pred_Q10;
- $293 = $i;
- $add433 = (16 + ($293))|0;
- $sub434 = (($add433) - 6)|0;
- $arrayidx435 = (($vla6) + ($sub434<<2)|0);
- $294 = HEAP32[$arrayidx435>>2]|0;
- $shr436 = $294 >> 16;
- $arrayidx437 = ((($A_Q12_tmp)) + 10|0);
- $295 = HEAP16[$arrayidx437>>1]|0;
- $conv438 = $295 << 16 >> 16;
- $mul439 = Math_imul($shr436, $conv438)|0;
- $296 = $i;
- $add440 = (16 + ($296))|0;
- $sub441 = (($add440) - 6)|0;
- $arrayidx442 = (($vla6) + ($sub441<<2)|0);
- $297 = HEAP32[$arrayidx442>>2]|0;
- $and443 = $297 & 65535;
- $arrayidx444 = ((($A_Q12_tmp)) + 10|0);
- $298 = HEAP16[$arrayidx444>>1]|0;
- $conv445 = $298 << 16 >> 16;
- $mul446 = Math_imul($and443, $conv445)|0;
- $shr447 = $mul446 >> 16;
- $add448 = (($mul439) + ($shr447))|0;
- $add449 = (($292) + ($add448))|0;
- $LPC_pred_Q10 = $add449;
- $299 = $LPC_pred_Q10;
- $300 = $i;
- $add450 = (16 + ($300))|0;
- $sub451 = (($add450) - 7)|0;
- $arrayidx452 = (($vla6) + ($sub451<<2)|0);
- $301 = HEAP32[$arrayidx452>>2]|0;
- $shr453 = $301 >> 16;
- $arrayidx454 = ((($A_Q12_tmp)) + 12|0);
- $302 = HEAP16[$arrayidx454>>1]|0;
- $conv455 = $302 << 16 >> 16;
- $mul456 = Math_imul($shr453, $conv455)|0;
- $303 = $i;
- $add457 = (16 + ($303))|0;
- $sub458 = (($add457) - 7)|0;
- $arrayidx459 = (($vla6) + ($sub458<<2)|0);
- $304 = HEAP32[$arrayidx459>>2]|0;
- $and460 = $304 & 65535;
- $arrayidx461 = ((($A_Q12_tmp)) + 12|0);
- $305 = HEAP16[$arrayidx461>>1]|0;
- $conv462 = $305 << 16 >> 16;
- $mul463 = Math_imul($and460, $conv462)|0;
- $shr464 = $mul463 >> 16;
- $add465 = (($mul456) + ($shr464))|0;
- $add466 = (($299) + ($add465))|0;
- $LPC_pred_Q10 = $add466;
- $306 = $LPC_pred_Q10;
- $307 = $i;
- $add467 = (16 + ($307))|0;
- $sub468 = (($add467) - 8)|0;
- $arrayidx469 = (($vla6) + ($sub468<<2)|0);
- $308 = HEAP32[$arrayidx469>>2]|0;
- $shr470 = $308 >> 16;
- $arrayidx471 = ((($A_Q12_tmp)) + 14|0);
- $309 = HEAP16[$arrayidx471>>1]|0;
- $conv472 = $309 << 16 >> 16;
- $mul473 = Math_imul($shr470, $conv472)|0;
- $310 = $i;
- $add474 = (16 + ($310))|0;
- $sub475 = (($add474) - 8)|0;
- $arrayidx476 = (($vla6) + ($sub475<<2)|0);
- $311 = HEAP32[$arrayidx476>>2]|0;
- $and477 = $311 & 65535;
- $arrayidx478 = ((($A_Q12_tmp)) + 14|0);
- $312 = HEAP16[$arrayidx478>>1]|0;
- $conv479 = $312 << 16 >> 16;
- $mul480 = Math_imul($and477, $conv479)|0;
- $shr481 = $mul480 >> 16;
- $add482 = (($mul473) + ($shr481))|0;
- $add483 = (($306) + ($add482))|0;
- $LPC_pred_Q10 = $add483;
- $313 = $LPC_pred_Q10;
- $314 = $i;
- $add484 = (16 + ($314))|0;
- $sub485 = (($add484) - 9)|0;
- $arrayidx486 = (($vla6) + ($sub485<<2)|0);
- $315 = HEAP32[$arrayidx486>>2]|0;
- $shr487 = $315 >> 16;
- $arrayidx488 = ((($A_Q12_tmp)) + 16|0);
- $316 = HEAP16[$arrayidx488>>1]|0;
- $conv489 = $316 << 16 >> 16;
- $mul490 = Math_imul($shr487, $conv489)|0;
- $317 = $i;
- $add491 = (16 + ($317))|0;
- $sub492 = (($add491) - 9)|0;
- $arrayidx493 = (($vla6) + ($sub492<<2)|0);
- $318 = HEAP32[$arrayidx493>>2]|0;
- $and494 = $318 & 65535;
- $arrayidx495 = ((($A_Q12_tmp)) + 16|0);
- $319 = HEAP16[$arrayidx495>>1]|0;
- $conv496 = $319 << 16 >> 16;
- $mul497 = Math_imul($and494, $conv496)|0;
- $shr498 = $mul497 >> 16;
- $add499 = (($mul490) + ($shr498))|0;
- $add500 = (($313) + ($add499))|0;
- $LPC_pred_Q10 = $add500;
- $320 = $LPC_pred_Q10;
- $321 = $i;
- $add501 = (16 + ($321))|0;
- $sub502 = (($add501) - 10)|0;
- $arrayidx503 = (($vla6) + ($sub502<<2)|0);
- $322 = HEAP32[$arrayidx503>>2]|0;
- $shr504 = $322 >> 16;
- $arrayidx505 = ((($A_Q12_tmp)) + 18|0);
- $323 = HEAP16[$arrayidx505>>1]|0;
- $conv506 = $323 << 16 >> 16;
- $mul507 = Math_imul($shr504, $conv506)|0;
- $324 = $i;
- $add508 = (16 + ($324))|0;
- $sub509 = (($add508) - 10)|0;
- $arrayidx510 = (($vla6) + ($sub509<<2)|0);
- $325 = HEAP32[$arrayidx510>>2]|0;
- $and511 = $325 & 65535;
- $arrayidx512 = ((($A_Q12_tmp)) + 18|0);
- $326 = HEAP16[$arrayidx512>>1]|0;
- $conv513 = $326 << 16 >> 16;
- $mul514 = Math_imul($and511, $conv513)|0;
- $shr515 = $mul514 >> 16;
- $add516 = (($mul507) + ($shr515))|0;
- $add517 = (($320) + ($add516))|0;
- $LPC_pred_Q10 = $add517;
- $327 = $psDec$addr;
- $LPC_order518 = ((($327)) + 2340|0);
- $328 = HEAP32[$LPC_order518>>2]|0;
- $cmp519 = ($328|0)==(16);
- if ($cmp519) {
- $329 = $LPC_pred_Q10;
- $330 = $i;
- $add522 = (16 + ($330))|0;
- $sub523 = (($add522) - 11)|0;
- $arrayidx524 = (($vla6) + ($sub523<<2)|0);
- $331 = HEAP32[$arrayidx524>>2]|0;
- $shr525 = $331 >> 16;
- $arrayidx526 = ((($A_Q12_tmp)) + 20|0);
- $332 = HEAP16[$arrayidx526>>1]|0;
- $conv527 = $332 << 16 >> 16;
- $mul528 = Math_imul($shr525, $conv527)|0;
- $333 = $i;
- $add529 = (16 + ($333))|0;
- $sub530 = (($add529) - 11)|0;
- $arrayidx531 = (($vla6) + ($sub530<<2)|0);
- $334 = HEAP32[$arrayidx531>>2]|0;
- $and532 = $334 & 65535;
- $arrayidx533 = ((($A_Q12_tmp)) + 20|0);
- $335 = HEAP16[$arrayidx533>>1]|0;
- $conv534 = $335 << 16 >> 16;
- $mul535 = Math_imul($and532, $conv534)|0;
- $shr536 = $mul535 >> 16;
- $add537 = (($mul528) + ($shr536))|0;
- $add538 = (($329) + ($add537))|0;
- $LPC_pred_Q10 = $add538;
- $336 = $LPC_pred_Q10;
- $337 = $i;
- $add539 = (16 + ($337))|0;
- $sub540 = (($add539) - 12)|0;
- $arrayidx541 = (($vla6) + ($sub540<<2)|0);
- $338 = HEAP32[$arrayidx541>>2]|0;
- $shr542 = $338 >> 16;
- $arrayidx543 = ((($A_Q12_tmp)) + 22|0);
- $339 = HEAP16[$arrayidx543>>1]|0;
- $conv544 = $339 << 16 >> 16;
- $mul545 = Math_imul($shr542, $conv544)|0;
- $340 = $i;
- $add546 = (16 + ($340))|0;
- $sub547 = (($add546) - 12)|0;
- $arrayidx548 = (($vla6) + ($sub547<<2)|0);
- $341 = HEAP32[$arrayidx548>>2]|0;
- $and549 = $341 & 65535;
- $arrayidx550 = ((($A_Q12_tmp)) + 22|0);
- $342 = HEAP16[$arrayidx550>>1]|0;
- $conv551 = $342 << 16 >> 16;
- $mul552 = Math_imul($and549, $conv551)|0;
- $shr553 = $mul552 >> 16;
- $add554 = (($mul545) + ($shr553))|0;
- $add555 = (($336) + ($add554))|0;
- $LPC_pred_Q10 = $add555;
- $343 = $LPC_pred_Q10;
- $344 = $i;
- $add556 = (16 + ($344))|0;
- $sub557 = (($add556) - 13)|0;
- $arrayidx558 = (($vla6) + ($sub557<<2)|0);
- $345 = HEAP32[$arrayidx558>>2]|0;
- $shr559 = $345 >> 16;
- $arrayidx560 = ((($A_Q12_tmp)) + 24|0);
- $346 = HEAP16[$arrayidx560>>1]|0;
- $conv561 = $346 << 16 >> 16;
- $mul562 = Math_imul($shr559, $conv561)|0;
- $347 = $i;
- $add563 = (16 + ($347))|0;
- $sub564 = (($add563) - 13)|0;
- $arrayidx565 = (($vla6) + ($sub564<<2)|0);
- $348 = HEAP32[$arrayidx565>>2]|0;
- $and566 = $348 & 65535;
- $arrayidx567 = ((($A_Q12_tmp)) + 24|0);
- $349 = HEAP16[$arrayidx567>>1]|0;
- $conv568 = $349 << 16 >> 16;
- $mul569 = Math_imul($and566, $conv568)|0;
- $shr570 = $mul569 >> 16;
- $add571 = (($mul562) + ($shr570))|0;
- $add572 = (($343) + ($add571))|0;
- $LPC_pred_Q10 = $add572;
- $350 = $LPC_pred_Q10;
- $351 = $i;
- $add573 = (16 + ($351))|0;
- $sub574 = (($add573) - 14)|0;
- $arrayidx575 = (($vla6) + ($sub574<<2)|0);
- $352 = HEAP32[$arrayidx575>>2]|0;
- $shr576 = $352 >> 16;
- $arrayidx577 = ((($A_Q12_tmp)) + 26|0);
- $353 = HEAP16[$arrayidx577>>1]|0;
- $conv578 = $353 << 16 >> 16;
- $mul579 = Math_imul($shr576, $conv578)|0;
- $354 = $i;
- $add580 = (16 + ($354))|0;
- $sub581 = (($add580) - 14)|0;
- $arrayidx582 = (($vla6) + ($sub581<<2)|0);
- $355 = HEAP32[$arrayidx582>>2]|0;
- $and583 = $355 & 65535;
- $arrayidx584 = ((($A_Q12_tmp)) + 26|0);
- $356 = HEAP16[$arrayidx584>>1]|0;
- $conv585 = $356 << 16 >> 16;
- $mul586 = Math_imul($and583, $conv585)|0;
- $shr587 = $mul586 >> 16;
- $add588 = (($mul579) + ($shr587))|0;
- $add589 = (($350) + ($add588))|0;
- $LPC_pred_Q10 = $add589;
- $357 = $LPC_pred_Q10;
- $358 = $i;
- $add590 = (16 + ($358))|0;
- $sub591 = (($add590) - 15)|0;
- $arrayidx592 = (($vla6) + ($sub591<<2)|0);
- $359 = HEAP32[$arrayidx592>>2]|0;
- $shr593 = $359 >> 16;
- $arrayidx594 = ((($A_Q12_tmp)) + 28|0);
- $360 = HEAP16[$arrayidx594>>1]|0;
- $conv595 = $360 << 16 >> 16;
- $mul596 = Math_imul($shr593, $conv595)|0;
- $361 = $i;
- $add597 = (16 + ($361))|0;
- $sub598 = (($add597) - 15)|0;
- $arrayidx599 = (($vla6) + ($sub598<<2)|0);
- $362 = HEAP32[$arrayidx599>>2]|0;
- $and600 = $362 & 65535;
- $arrayidx601 = ((($A_Q12_tmp)) + 28|0);
- $363 = HEAP16[$arrayidx601>>1]|0;
- $conv602 = $363 << 16 >> 16;
- $mul603 = Math_imul($and600, $conv602)|0;
- $shr604 = $mul603 >> 16;
- $add605 = (($mul596) + ($shr604))|0;
- $add606 = (($357) + ($add605))|0;
- $LPC_pred_Q10 = $add606;
- $364 = $LPC_pred_Q10;
- $365 = $i;
- $add607 = (16 + ($365))|0;
- $sub608 = (($add607) - 16)|0;
- $arrayidx609 = (($vla6) + ($sub608<<2)|0);
- $366 = HEAP32[$arrayidx609>>2]|0;
- $shr610 = $366 >> 16;
- $arrayidx611 = ((($A_Q12_tmp)) + 30|0);
- $367 = HEAP16[$arrayidx611>>1]|0;
- $conv612 = $367 << 16 >> 16;
- $mul613 = Math_imul($shr610, $conv612)|0;
- $368 = $i;
- $add614 = (16 + ($368))|0;
- $sub615 = (($add614) - 16)|0;
- $arrayidx616 = (($vla6) + ($sub615<<2)|0);
- $369 = HEAP32[$arrayidx616>>2]|0;
- $and617 = $369 & 65535;
- $arrayidx618 = ((($A_Q12_tmp)) + 30|0);
- $370 = HEAP16[$arrayidx618>>1]|0;
- $conv619 = $370 << 16 >> 16;
- $mul620 = Math_imul($and617, $conv619)|0;
- $shr621 = $mul620 >> 16;
- $add622 = (($mul613) + ($shr621))|0;
- $add623 = (($364) + ($add622))|0;
- $LPC_pred_Q10 = $add623;
- }
- $371 = $pres_Q14;
- $372 = $i;
- $arrayidx625 = (($371) + ($372<<2)|0);
- $373 = HEAP32[$arrayidx625>>2]|0;
- $374 = $LPC_pred_Q10;
- $shl626 = $374 << 4;
- $add627 = (($373) + ($shl626))|0;
- $375 = $i;
- $add628 = (16 + ($375))|0;
- $arrayidx629 = (($vla6) + ($add628<<2)|0);
- HEAP32[$arrayidx629>>2] = $add627;
- $376 = $i;
- $add630 = (16 + ($376))|0;
- $arrayidx631 = (($vla6) + ($add630<<2)|0);
- $377 = HEAP32[$arrayidx631>>2]|0;
- $shr632 = $377 >> 16;
- $378 = $Gain_Q10;
- $conv633 = $378&65535;
- $conv634 = $conv633 << 16 >> 16;
- $mul635 = Math_imul($shr632, $conv634)|0;
- $379 = $i;
- $add636 = (16 + ($379))|0;
- $arrayidx637 = (($vla6) + ($add636<<2)|0);
- $380 = HEAP32[$arrayidx637>>2]|0;
- $and638 = $380 & 65535;
- $381 = $Gain_Q10;
- $conv639 = $381&65535;
- $conv640 = $conv639 << 16 >> 16;
- $mul641 = Math_imul($and638, $conv640)|0;
- $shr642 = $mul641 >> 16;
- $add643 = (($mul635) + ($shr642))|0;
- $382 = $i;
- $add644 = (16 + ($382))|0;
- $arrayidx645 = (($vla6) + ($add644<<2)|0);
- $383 = HEAP32[$arrayidx645>>2]|0;
- $384 = $Gain_Q10;
- $shr646 = $384 >> 15;
- $add647 = (($shr646) + 1)|0;
- $shr648 = $add647 >> 1;
- $mul649 = Math_imul($383, $shr648)|0;
- $add650 = (($add643) + ($mul649))|0;
- $shr651 = $add650 >> 7;
- $add652 = (($shr651) + 1)|0;
- $shr653 = $add652 >> 1;
- $cmp654 = ($shr653|0)>(32767);
- if ($cmp654) {
- $cond709 = 32767;
- } else {
- $385 = $i;
- $add656 = (16 + ($385))|0;
- $arrayidx657 = (($vla6) + ($add656<<2)|0);
- $386 = HEAP32[$arrayidx657>>2]|0;
- $shr658 = $386 >> 16;
- $387 = $Gain_Q10;
- $conv659 = $387&65535;
- $conv660 = $conv659 << 16 >> 16;
- $mul661 = Math_imul($shr658, $conv660)|0;
- $388 = $i;
- $add662 = (16 + ($388))|0;
- $arrayidx663 = (($vla6) + ($add662<<2)|0);
- $389 = HEAP32[$arrayidx663>>2]|0;
- $and664 = $389 & 65535;
- $390 = $Gain_Q10;
- $conv665 = $390&65535;
- $conv666 = $conv665 << 16 >> 16;
- $mul667 = Math_imul($and664, $conv666)|0;
- $shr668 = $mul667 >> 16;
- $add669 = (($mul661) + ($shr668))|0;
- $391 = $i;
- $add670 = (16 + ($391))|0;
- $arrayidx671 = (($vla6) + ($add670<<2)|0);
- $392 = HEAP32[$arrayidx671>>2]|0;
- $393 = $Gain_Q10;
- $shr672 = $393 >> 15;
- $add673 = (($shr672) + 1)|0;
- $shr674 = $add673 >> 1;
- $mul675 = Math_imul($392, $shr674)|0;
- $add676 = (($add669) + ($mul675))|0;
- $shr677 = $add676 >> 7;
- $add678 = (($shr677) + 1)|0;
- $shr679 = $add678 >> 1;
- $cmp680 = ($shr679|0)<(-32768);
- if ($cmp680) {
- $cond709 = -32768;
- } else {
- $394 = $i;
- $add684 = (16 + ($394))|0;
- $arrayidx685 = (($vla6) + ($add684<<2)|0);
- $395 = HEAP32[$arrayidx685>>2]|0;
- $shr686 = $395 >> 16;
- $396 = $Gain_Q10;
- $conv687 = $396&65535;
- $conv688 = $conv687 << 16 >> 16;
- $mul689 = Math_imul($shr686, $conv688)|0;
- $397 = $i;
- $add690 = (16 + ($397))|0;
- $arrayidx691 = (($vla6) + ($add690<<2)|0);
- $398 = HEAP32[$arrayidx691>>2]|0;
- $and692 = $398 & 65535;
- $399 = $Gain_Q10;
- $conv693 = $399&65535;
- $conv694 = $conv693 << 16 >> 16;
- $mul695 = Math_imul($and692, $conv694)|0;
- $shr696 = $mul695 >> 16;
- $add697 = (($mul689) + ($shr696))|0;
- $400 = $i;
- $add698 = (16 + ($400))|0;
- $arrayidx699 = (($vla6) + ($add698<<2)|0);
- $401 = HEAP32[$arrayidx699>>2]|0;
- $402 = $Gain_Q10;
- $shr700 = $402 >> 15;
- $add701 = (($shr700) + 1)|0;
- $shr702 = $add701 >> 1;
- $mul703 = Math_imul($401, $shr702)|0;
- $add704 = (($add697) + ($mul703))|0;
- $shr705 = $add704 >> 7;
- $add706 = (($shr705) + 1)|0;
- $shr707 = $add706 >> 1;
- $cond709 = $shr707;
- }
- }
- $conv710 = $cond709&65535;
- $403 = $pxq;
- $404 = $i;
- $arrayidx711 = (($403) + ($404<<1)|0);
- HEAP16[$arrayidx711>>1] = $conv710;
- $405 = $i;
- $inc713 = (($405) + 1)|0;
- $i = $inc713;
- }
- $406 = $psDec$addr;
- $subfr_length715 = ((($406)) + 2332|0);
- $407 = HEAP32[$subfr_length715>>2]|0;
- $arrayidx716 = (($vla6) + ($407<<2)|0);
- dest=$vla6; src=$arrayidx716; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $408 = $psDec$addr;
- $subfr_length717 = ((($408)) + 2332|0);
- $409 = HEAP32[$subfr_length717>>2]|0;
- $410 = $pexc_Q14;
- $add$ptr = (($410) + ($409<<2)|0);
- $pexc_Q14 = $add$ptr;
- $411 = $psDec$addr;
- $subfr_length718 = ((($411)) + 2332|0);
- $412 = HEAP32[$subfr_length718>>2]|0;
- $413 = $pxq;
- $add$ptr719 = (($413) + ($412<<1)|0);
- $pxq = $add$ptr719;
- $414 = $k;
- $inc721 = (($414) + 1)|0;
- $k = $inc721;
- }
- $415 = $psDec$addr;
- $sLPC_Q14_buf723 = ((($415)) + 1284|0);
- dest=$sLPC_Q14_buf723; src=$vla6; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
- $416 = $saved_stack;
- _llvm_stackrestore(($416|0));
- STACKTOP = sp;return;
-}
-function _silk_INVERSE32_varQ_549($b32,$Qres) {
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $add = 0;
- var $add20 = 0, $add21 = 0, $add23 = 0, $add26 = 0, $and = 0, $and15 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $cmp = 0, $cmp29 = 0, $cmp35 = 0, $cmp40 = 0, $cmp48 = 0, $cmp61 = 0, $cmp69 = 0, $cmp83 = 0, $cond = 0;
- var $cond80 = 0, $conv = 0, $conv12 = 0, $conv13 = 0, $conv16 = 0, $conv17 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $div = 0, $err_Q32 = 0, $lshift = 0, $mul = 0, $mul14 = 0, $mul18 = 0, $mul25 = 0, $mul7 = 0, $result = 0, $retval = 0, $shl = 0;
- var $shl10 = 0, $shl2 = 0, $shl82 = 0, $shr = 0, $shr11 = 0, $shr19 = 0, $shr22 = 0, $shr24 = 0, $shr3 = 0, $shr32 = 0, $shr34 = 0, $shr39 = 0, $shr44 = 0, $shr47 = 0, $shr52 = 0, $shr60 = 0, $shr65 = 0, $shr68 = 0, $shr73 = 0, $shr8 = 0;
- var $shr86 = 0, $sub = 0, $sub1 = 0, $sub27 = 0, $sub28 = 0, $sub31 = 0, $sub33 = 0, $sub38 = 0, $sub43 = 0, $sub46 = 0, $sub51 = 0, $sub64 = 0, $sub67 = 0, $sub72 = 0, $sub81 = 0, $sub9 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $b32$addr;
- $cmp = ($0|0)>(0);
- $1 = $b32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_551($cond)|0);
- $sub1 = (($call) - 1)|0;
- $b_headrm = $sub1;
- $2 = $b32$addr;
- $3 = $b_headrm;
- $shl = $2 << $3;
- $b32_nrm = $shl;
- $4 = $b32_nrm;
- $shr = $4 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $5 = $b32_inv;
- $shl2 = $5 << 16;
- $result = $shl2;
- $6 = $b32_nrm;
- $shr3 = $6 >> 16;
- $7 = $b32_inv;
- $conv = $7&65535;
- $conv4 = $conv << 16 >> 16;
- $mul = Math_imul($shr3, $conv4)|0;
- $8 = $b32_nrm;
- $and = $8 & 65535;
- $9 = $b32_inv;
- $conv5 = $9&65535;
- $conv6 = $conv5 << 16 >> 16;
- $mul7 = Math_imul($and, $conv6)|0;
- $shr8 = $mul7 >> 16;
- $add = (($mul) + ($shr8))|0;
- $sub9 = (536870912 - ($add))|0;
- $shl10 = $sub9 << 3;
- $err_Q32 = $shl10;
- $10 = $result;
- $11 = $err_Q32;
- $shr11 = $11 >> 16;
- $12 = $b32_inv;
- $conv12 = $12&65535;
- $conv13 = $conv12 << 16 >> 16;
- $mul14 = Math_imul($shr11, $conv13)|0;
- $13 = $err_Q32;
- $and15 = $13 & 65535;
- $14 = $b32_inv;
- $conv16 = $14&65535;
- $conv17 = $conv16 << 16 >> 16;
- $mul18 = Math_imul($and15, $conv17)|0;
- $shr19 = $mul18 >> 16;
- $add20 = (($mul14) + ($shr19))|0;
- $add21 = (($10) + ($add20))|0;
- $15 = $err_Q32;
- $16 = $b32_inv;
- $shr22 = $16 >> 15;
- $add23 = (($shr22) + 1)|0;
- $shr24 = $add23 >> 1;
- $mul25 = Math_imul($15, $shr24)|0;
- $add26 = (($add21) + ($mul25))|0;
- $result = $add26;
- $17 = $b_headrm;
- $sub27 = (61 - ($17))|0;
- $18 = $Qres$addr;
- $sub28 = (($sub27) - ($18))|0;
- $lshift = $sub28;
- $19 = $lshift;
- $cmp29 = ($19|0)<=(0);
- $20 = $lshift;
- if (!($cmp29)) {
- $cmp83 = ($20|0)<(32);
- if ($cmp83) {
- $35 = $result;
- $36 = $lshift;
- $shr86 = $35 >> $36;
- $retval = $shr86;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
- } else {
- $retval = 0;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
- }
- }
- $sub31 = (0 - ($20))|0;
- $shr32 = -2147483648 >> $sub31;
- $21 = $lshift;
- $sub33 = (0 - ($21))|0;
- $shr34 = 2147483647 >> $sub33;
- $cmp35 = ($shr32|0)>($shr34|0);
- $22 = $result;
- $23 = $lshift;
- $sub38 = (0 - ($23))|0;
- do {
- if ($cmp35) {
- $shr39 = -2147483648 >> $sub38;
- $cmp40 = ($22|0)>($shr39|0);
- if ($cmp40) {
- $24 = $lshift;
- $sub43 = (0 - ($24))|0;
- $shr44 = -2147483648 >> $sub43;
- $cond80 = $shr44;
- break;
- }
- $25 = $result;
- $26 = $lshift;
- $sub46 = (0 - ($26))|0;
- $shr47 = 2147483647 >> $sub46;
- $cmp48 = ($25|0)<($shr47|0);
- if ($cmp48) {
- $27 = $lshift;
- $sub51 = (0 - ($27))|0;
- $shr52 = 2147483647 >> $sub51;
- $cond80 = $shr52;
- break;
- } else {
- $28 = $result;
- $cond80 = $28;
- break;
- }
- } else {
- $shr60 = 2147483647 >> $sub38;
- $cmp61 = ($22|0)>($shr60|0);
- if ($cmp61) {
- $29 = $lshift;
- $sub64 = (0 - ($29))|0;
- $shr65 = 2147483647 >> $sub64;
- $cond80 = $shr65;
- break;
- }
- $30 = $result;
- $31 = $lshift;
- $sub67 = (0 - ($31))|0;
- $shr68 = -2147483648 >> $sub67;
- $cmp69 = ($30|0)<($shr68|0);
- if ($cmp69) {
- $32 = $lshift;
- $sub72 = (0 - ($32))|0;
- $shr73 = -2147483648 >> $sub72;
- $cond80 = $shr73;
- break;
- } else {
- $33 = $result;
- $cond80 = $33;
- break;
- }
- }
- } while(0);
- $34 = $lshift;
- $sub81 = (0 - ($34))|0;
- $shl82 = $cond80 << $sub81;
- $retval = $shl82;
- $37 = $retval;
- STACKTOP = sp;return ($37|0);
-}
-function _silk_DIV32_varQ_550($a32,$b32,$Qres) {
- $a32 = $a32|0;
- $b32 = $b32|0;
- $Qres = $Qres|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $Qres$addr = 0, $a32$addr = 0, $a32_nrm = 0, $a_headrm = 0, $add = 0, $add33 = 0, $add34 = 0, $add35 = 0, $and = 0;
- var $and28 = 0, $b32$addr = 0, $b32_inv = 0, $b32_nrm = 0, $b_headrm = 0, $call = 0, $call8 = 0, $cmp = 0, $cmp2 = 0, $cmp38 = 0, $cmp44 = 0, $cmp49 = 0, $cmp57 = 0, $cmp70 = 0, $cmp78 = 0, $cmp92 = 0, $cond = 0, $cond7 = 0, $cond89 = 0, $conv = 0;
- var $conv12 = 0, $conv13 = 0, $conv14 = 0, $conv25 = 0, $conv26 = 0, $conv29 = 0, $conv30 = 0, $div = 0, $lshift = 0, $mul = 0, $mul15 = 0, $mul27 = 0, $mul31 = 0, $result = 0, $retval = 0, $shl = 0, $shl10 = 0, $shl22 = 0, $shl91 = 0, $shr = 0;
- var $shr11 = 0, $shr16 = 0, $shr24 = 0, $shr32 = 0, $shr41 = 0, $shr43 = 0, $shr48 = 0, $shr53 = 0, $shr56 = 0, $shr61 = 0, $shr69 = 0, $shr74 = 0, $shr77 = 0, $shr82 = 0, $shr95 = 0, $sub = 0, $sub1 = 0, $sub23 = 0, $sub36 = 0, $sub37 = 0;
- var $sub40 = 0, $sub42 = 0, $sub47 = 0, $sub5 = 0, $sub52 = 0, $sub55 = 0, $sub60 = 0, $sub73 = 0, $sub76 = 0, $sub81 = 0, $sub9 = 0, $sub90 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $a32$addr = $a32;
- $b32$addr = $b32;
- $Qres$addr = $Qres;
- $0 = $a32$addr;
- $cmp = ($0|0)>(0);
- $1 = $a32$addr;
- $sub = (0 - ($1))|0;
- $cond = $cmp ? $1 : $sub;
- $call = (_silk_CLZ32_551($cond)|0);
- $sub1 = (($call) - 1)|0;
- $a_headrm = $sub1;
- $2 = $a32$addr;
- $3 = $a_headrm;
- $shl = $2 << $3;
- $a32_nrm = $shl;
- $4 = $b32$addr;
- $cmp2 = ($4|0)>(0);
- $5 = $b32$addr;
- $sub5 = (0 - ($5))|0;
- $cond7 = $cmp2 ? $5 : $sub5;
- $call8 = (_silk_CLZ32_551($cond7)|0);
- $sub9 = (($call8) - 1)|0;
- $b_headrm = $sub9;
- $6 = $b32$addr;
- $7 = $b_headrm;
- $shl10 = $6 << $7;
- $b32_nrm = $shl10;
- $8 = $b32_nrm;
- $shr = $8 >> 16;
- $div = (536870911 / ($shr|0))&-1;
- $b32_inv = $div;
- $9 = $a32_nrm;
- $shr11 = $9 >> 16;
- $10 = $b32_inv;
- $conv = $10&65535;
- $conv12 = $conv << 16 >> 16;
- $mul = Math_imul($shr11, $conv12)|0;
- $11 = $a32_nrm;
- $and = $11 & 65535;
- $12 = $b32_inv;
- $conv13 = $12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul) + ($shr16))|0;
- $result = $add;
- $13 = $a32_nrm;
- $14 = $b32_nrm;
- $15 = ($14|0)<(0);
- $16 = $15 << 31 >> 31;
- $17 = $result;
- $18 = ($17|0)<(0);
- $19 = $18 << 31 >> 31;
- $20 = (___muldi3(($14|0),($16|0),($17|0),($19|0))|0);
- $21 = tempRet0;
- $22 = (_bitshift64Ashr(($20|0),($21|0),32)|0);
- $23 = tempRet0;
- $shl22 = $22 << 3;
- $sub23 = (($13) - ($shl22))|0;
- $a32_nrm = $sub23;
- $24 = $result;
- $25 = $a32_nrm;
- $shr24 = $25 >> 16;
- $26 = $b32_inv;
- $conv25 = $26&65535;
- $conv26 = $conv25 << 16 >> 16;
- $mul27 = Math_imul($shr24, $conv26)|0;
- $27 = $a32_nrm;
- $and28 = $27 & 65535;
- $28 = $b32_inv;
- $conv29 = $28&65535;
- $conv30 = $conv29 << 16 >> 16;
- $mul31 = Math_imul($and28, $conv30)|0;
- $shr32 = $mul31 >> 16;
- $add33 = (($mul27) + ($shr32))|0;
- $add34 = (($24) + ($add33))|0;
- $result = $add34;
- $29 = $a_headrm;
- $add35 = (29 + ($29))|0;
- $30 = $b_headrm;
- $sub36 = (($add35) - ($30))|0;
- $31 = $Qres$addr;
- $sub37 = (($sub36) - ($31))|0;
- $lshift = $sub37;
- $32 = $lshift;
- $cmp38 = ($32|0)<(0);
- $33 = $lshift;
- if (!($cmp38)) {
- $cmp92 = ($33|0)<(32);
- if ($cmp92) {
- $48 = $result;
- $49 = $lshift;
- $shr95 = $48 >> $49;
- $retval = $shr95;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- } else {
- $retval = 0;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
- }
- }
- $sub40 = (0 - ($33))|0;
- $shr41 = -2147483648 >> $sub40;
- $34 = $lshift;
- $sub42 = (0 - ($34))|0;
- $shr43 = 2147483647 >> $sub42;
- $cmp44 = ($shr41|0)>($shr43|0);
- $35 = $result;
- $36 = $lshift;
- $sub47 = (0 - ($36))|0;
- do {
- if ($cmp44) {
- $shr48 = -2147483648 >> $sub47;
- $cmp49 = ($35|0)>($shr48|0);
- if ($cmp49) {
- $37 = $lshift;
- $sub52 = (0 - ($37))|0;
- $shr53 = -2147483648 >> $sub52;
- $cond89 = $shr53;
- break;
- }
- $38 = $result;
- $39 = $lshift;
- $sub55 = (0 - ($39))|0;
- $shr56 = 2147483647 >> $sub55;
- $cmp57 = ($38|0)<($shr56|0);
- if ($cmp57) {
- $40 = $lshift;
- $sub60 = (0 - ($40))|0;
- $shr61 = 2147483647 >> $sub60;
- $cond89 = $shr61;
- break;
- } else {
- $41 = $result;
- $cond89 = $41;
- break;
- }
- } else {
- $shr69 = 2147483647 >> $sub47;
- $cmp70 = ($35|0)>($shr69|0);
- if ($cmp70) {
- $42 = $lshift;
- $sub73 = (0 - ($42))|0;
- $shr74 = 2147483647 >> $sub73;
- $cond89 = $shr74;
- break;
- }
- $43 = $result;
- $44 = $lshift;
- $sub76 = (0 - ($44))|0;
- $shr77 = -2147483648 >> $sub76;
- $cmp78 = ($43|0)<($shr77|0);
- if ($cmp78) {
- $45 = $lshift;
- $sub81 = (0 - ($45))|0;
- $shr82 = -2147483648 >> $sub81;
- $cond89 = $shr82;
- break;
- } else {
- $46 = $result;
- $cond89 = $46;
- break;
- }
- }
- } while(0);
- $47 = $lshift;
- $sub90 = (0 - ($47))|0;
- $shl91 = $cond89 << $sub90;
- $retval = $shl91;
- $50 = $retval;
- STACKTOP = sp;return ($50|0);
-}
-function _silk_CLZ32_551($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_interpolate($xi,$x0,$x1,$ifact_Q2,$d) {
- $xi = $xi|0;
- $x0 = $x0|0;
- $x1 = $x1|0;
- $ifact_Q2 = $ifact_Q2|0;
- $d = $d|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $arrayidx = 0, $arrayidx1 = 0, $arrayidx10 = 0, $arrayidx3 = 0;
- var $cmp = 0, $conv = 0, $conv2 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $conv8 = 0, $conv9 = 0, $d$addr = 0, $i = 0, $ifact_Q2$addr = 0, $inc = 0, $mul = 0, $shr = 0, $sub = 0, $x0$addr = 0, $x1$addr = 0, $xi$addr = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $xi$addr = $xi;
- $x0$addr = $x0;
- $x1$addr = $x1;
- $ifact_Q2$addr = $ifact_Q2;
- $d$addr = $d;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $d$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $2 = $x0$addr;
- $3 = $i;
- $arrayidx = (($2) + ($3<<1)|0);
- $4 = HEAP16[$arrayidx>>1]|0;
- $conv = $4 << 16 >> 16;
- $5 = $x1$addr;
- $6 = $i;
- $arrayidx1 = (($5) + ($6<<1)|0);
- $7 = HEAP16[$arrayidx1>>1]|0;
- $conv2 = $7 << 16 >> 16;
- $8 = $x0$addr;
- $9 = $i;
- $arrayidx3 = (($8) + ($9<<1)|0);
- $10 = HEAP16[$arrayidx3>>1]|0;
- $conv4 = $10 << 16 >> 16;
- $sub = (($conv2) - ($conv4))|0;
- $conv5 = $sub&65535;
- $conv6 = $conv5 << 16 >> 16;
- $11 = $ifact_Q2$addr;
- $conv7 = $11&65535;
- $conv8 = $conv7 << 16 >> 16;
- $mul = Math_imul($conv6, $conv8)|0;
- $shr = $mul >> 2;
- $add = (($conv) + ($shr))|0;
- $conv9 = $add&65535;
- $12 = $xi$addr;
- $13 = $i;
- $arrayidx10 = (($12) + ($13<<1)|0);
- HEAP16[$arrayidx10>>1] = $conv9;
- $14 = $i;
- $inc = (($14) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_NLSF_encode($NLSFIndices,$pNLSF_Q15,$psNLSF_CB,$pW_QW,$NLSF_mu_Q20,$nSurvivors,$signalType) {
- $NLSFIndices = $NLSFIndices|0;
- $pNLSF_Q15 = $pNLSF_Q15|0;
- $psNLSF_CB = $psNLSF_CB|0;
- $pW_QW = $pW_QW|0;
- $NLSF_mu_Q20 = $NLSF_mu_Q20|0;
- $nSurvivors = $nSurvivors|0;
- $signalType = $signalType|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $12 = 0, $13 = 0, $14 = 0;
- var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0;
- var $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0;
- var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
- var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
- var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $CB1_NLSF_Q8 = 0, $CB1_NLSF_Q811 = 0, $CB1_iCDF = 0, $NLSFIndices$addr = 0, $NLSF_mu_Q20$addr = 0, $NLSF_tmp_Q15 = 0, $W_adj_Q5 = 0;
- var $W_tmp_Q9 = 0, $W_tmp_QW = 0, $add = 0, $arrayidx = 0, $arrayidx101 = 0, $arrayidx108 = 0, $arrayidx112 = 0, $arrayidx115 = 0, $arrayidx117 = 0, $arrayidx15 = 0, $arrayidx22 = 0, $arrayidx26 = 0, $arrayidx27 = 0, $arrayidx29 = 0, $arrayidx32 = 0, $arrayidx42 = 0, $arrayidx45 = 0, $arrayidx51 = 0, $arrayidx61 = 0, $arrayidx64 = 0;
- var $arrayidx67 = 0, $arrayidx74 = 0, $arrayidx82 = 0, $arrayidx87 = 0, $arrayidx90 = 0, $arrayidx94 = 0, $arrayidx96 = 0, $bestIndex = 0, $bits_q7 = 0, $call = 0, $call81 = 0, $call99 = 0, $cmp = 0, $cmp19 = 0, $cmp39 = 0, $cmp58 = 0, $cmp88 = 0, $conv = 0, $conv102 = 0, $conv103 = 0;
- var $conv105 = 0, $conv106 = 0, $conv113 = 0, $conv119 = 0, $conv13 = 0, $conv18 = 0, $conv2 = 0, $conv23 = 0, $conv24 = 0, $conv25 = 0, $conv28 = 0, $conv30 = 0, $conv31 = 0, $conv35 = 0, $conv38 = 0, $conv4 = 0, $conv43 = 0, $conv46 = 0, $conv47 = 0, $conv48 = 0;
- var $conv50 = 0, $conv57 = 0, $conv62 = 0, $conv65 = 0, $conv66 = 0, $conv7 = 0, $conv79 = 0, $conv85 = 0, $conv91 = 0, $conv95 = 0, $conv97 = 0, $deltaMin_Q15 = 0, $div = 0, $ec_Rates_Q5 = 0, $ec_ix = 0, $i = 0, $iCDF_ptr = 0, $inc = 0, $inc110 = 0, $inc53 = 0;
- var $inc69 = 0, $ind1 = 0, $invQuantStepSize_Q6 = 0, $mul = 0, $mul107 = 0, $mul116 = 0, $mul120 = 0, $mul14 = 0, $mul49 = 0, $mul73 = 0, $mul86 = 0, $nSurvivors$addr = 0, $order = 0, $order118 = 0, $order12 = 0, $order17 = 0, $order3 = 0, $order34 = 0, $order37 = 0, $order56 = 0;
- var $order80 = 0, $pCB_element = 0, $pNLSF_Q15$addr = 0, $pW_QW$addr = 0, $pred_Q8 = 0, $prob_Q8 = 0, $psNLSF_CB$addr = 0, $quantStepSize_Q16 = 0, $res_Q10 = 0, $res_Q15 = 0, $s = 0, $saved_stack = 0, $shl = 0, $shl44 = 0, $shl63 = 0, $shr = 0, $shr104 = 0, $shr83 = 0, $signalType$addr = 0, $sub = 0;
- var $sub100 = 0, $sub92 = 0, $sub93 = 0, $sub98 = 0, $vla = 0, $vla$alloca_mul = 0, $vla5 = 0, $vla5$alloca_mul = 0, $vla8 = 0, $vla8$alloca_mul = 0, $vla9 = 0, $vla9$alloca_mul = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 288|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(288|0);
- $bestIndex = sp + 24|0;
- $res_Q15 = sp + 232|0;
- $res_Q10 = sp + 200|0;
- $NLSF_tmp_Q15 = sp + 168|0;
- $W_tmp_QW = sp + 136|0;
- $W_adj_Q5 = sp + 104|0;
- $pred_Q8 = sp + 264|0;
- $ec_ix = sp + 72|0;
- $NLSFIndices$addr = $NLSFIndices;
- $pNLSF_Q15$addr = $pNLSF_Q15;
- $psNLSF_CB$addr = $psNLSF_CB;
- $pW_QW$addr = $pW_QW;
- $NLSF_mu_Q20$addr = $NLSF_mu_Q20;
- $nSurvivors$addr = $nSurvivors;
- $signalType$addr = $signalType;
- $0 = $pNLSF_Q15$addr;
- $1 = $psNLSF_CB$addr;
- $deltaMin_Q15 = ((($1)) + 32|0);
- $2 = HEAP32[$deltaMin_Q15>>2]|0;
- $3 = $psNLSF_CB$addr;
- $order = ((($3)) + 2|0);
- $4 = HEAP16[$order>>1]|0;
- $conv = $4 << 16 >> 16;
- _silk_NLSF_stabilize($0,$2,$conv);
- $5 = $psNLSF_CB$addr;
- $6 = HEAP16[$5>>1]|0;
- $7 = $6&65535;
- $8 = (_llvm_stacksave()|0);
- $saved_stack = $8;
- $vla$alloca_mul = $7<<2;
- $vla = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla$alloca_mul)|0)+15)&-16)|0);;
- $9 = $pNLSF_Q15$addr;
- $10 = $psNLSF_CB$addr;
- $CB1_NLSF_Q8 = ((($10)) + 8|0);
- $11 = HEAP32[$CB1_NLSF_Q8>>2]|0;
- $12 = $psNLSF_CB$addr;
- $13 = HEAP16[$12>>1]|0;
- $conv2 = $13 << 16 >> 16;
- $14 = $psNLSF_CB$addr;
- $order3 = ((($14)) + 2|0);
- $15 = HEAP16[$order3>>1]|0;
- $conv4 = $15 << 16 >> 16;
- _silk_NLSF_VQ($vla,$9,$11,$conv2,$conv4);
- $16 = $nSurvivors$addr;
- $vla5$alloca_mul = $16<<2;
- $vla5 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla5$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla5$alloca_mul)|0)+15)&-16)|0);;
- $17 = $psNLSF_CB$addr;
- $18 = HEAP16[$17>>1]|0;
- $conv7 = $18 << 16 >> 16;
- $19 = $nSurvivors$addr;
- _silk_insertion_sort_increasing($vla,$vla5,$conv7,$19);
- $20 = $nSurvivors$addr;
- $vla8$alloca_mul = $20<<2;
- $vla8 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla8$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla8$alloca_mul)|0)+15)&-16)|0);;
- $21 = $nSurvivors$addr;
- $mul = $21<<4;
- $vla9$alloca_mul = $mul;
- $vla9 = STACKTOP; STACKTOP = STACKTOP + ((((1*$vla9$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$vla9$alloca_mul)|0)+15)&-16)|0);;
- $s = 0;
- while(1) {
- $22 = $s;
- $23 = $nSurvivors$addr;
- $cmp = ($22|0)<($23|0);
- if (!($cmp)) {
- break;
- }
- $24 = $s;
- $arrayidx = (($vla5) + ($24<<2)|0);
- $25 = HEAP32[$arrayidx>>2]|0;
- $ind1 = $25;
- $26 = $psNLSF_CB$addr;
- $CB1_NLSF_Q811 = ((($26)) + 8|0);
- $27 = HEAP32[$CB1_NLSF_Q811>>2]|0;
- $28 = $ind1;
- $29 = $psNLSF_CB$addr;
- $order12 = ((($29)) + 2|0);
- $30 = HEAP16[$order12>>1]|0;
- $conv13 = $30 << 16 >> 16;
- $mul14 = Math_imul($28, $conv13)|0;
- $arrayidx15 = (($27) + ($mul14)|0);
- $pCB_element = $arrayidx15;
- $i = 0;
- while(1) {
- $31 = $i;
- $32 = $psNLSF_CB$addr;
- $order17 = ((($32)) + 2|0);
- $33 = HEAP16[$order17>>1]|0;
- $conv18 = $33 << 16 >> 16;
- $cmp19 = ($31|0)<($conv18|0);
- if (!($cmp19)) {
- break;
- }
- $34 = $pCB_element;
- $35 = $i;
- $arrayidx22 = (($34) + ($35)|0);
- $36 = HEAP8[$arrayidx22>>0]|0;
- $conv23 = $36&255;
- $conv24 = $conv23&65535;
- $shl = $conv24 << 7;
- $conv25 = $shl&65535;
- $37 = $i;
- $arrayidx26 = (($NLSF_tmp_Q15) + ($37<<1)|0);
- HEAP16[$arrayidx26>>1] = $conv25;
- $38 = $pNLSF_Q15$addr;
- $39 = $i;
- $arrayidx27 = (($38) + ($39<<1)|0);
- $40 = HEAP16[$arrayidx27>>1]|0;
- $conv28 = $40 << 16 >> 16;
- $41 = $i;
- $arrayidx29 = (($NLSF_tmp_Q15) + ($41<<1)|0);
- $42 = HEAP16[$arrayidx29>>1]|0;
- $conv30 = $42 << 16 >> 16;
- $sub = (($conv28) - ($conv30))|0;
- $conv31 = $sub&65535;
- $43 = $i;
- $arrayidx32 = (($res_Q15) + ($43<<1)|0);
- HEAP16[$arrayidx32>>1] = $conv31;
- $44 = $i;
- $inc = (($44) + 1)|0;
- $i = $inc;
- }
- $45 = $psNLSF_CB$addr;
- $order34 = ((($45)) + 2|0);
- $46 = HEAP16[$order34>>1]|0;
- $conv35 = $46 << 16 >> 16;
- _silk_NLSF_VQ_weights_laroia($W_tmp_QW,$NLSF_tmp_Q15,$conv35);
- $i = 0;
- while(1) {
- $47 = $i;
- $48 = $psNLSF_CB$addr;
- $order37 = ((($48)) + 2|0);
- $49 = HEAP16[$order37>>1]|0;
- $conv38 = $49 << 16 >> 16;
- $cmp39 = ($47|0)<($conv38|0);
- if (!($cmp39)) {
- break;
- }
- $50 = $i;
- $arrayidx42 = (($W_tmp_QW) + ($50<<1)|0);
- $51 = HEAP16[$arrayidx42>>1]|0;
- $conv43 = $51 << 16 >> 16;
- $shl44 = $conv43 << 16;
- $call = (_silk_SQRT_APPROX_556($shl44)|0);
- $W_tmp_Q9 = $call;
- $52 = $i;
- $arrayidx45 = (($res_Q15) + ($52<<1)|0);
- $53 = HEAP16[$arrayidx45>>1]|0;
- $conv46 = $53 << 16 >> 16;
- $54 = $W_tmp_Q9;
- $conv47 = $54&65535;
- $conv48 = $conv47 << 16 >> 16;
- $mul49 = Math_imul($conv46, $conv48)|0;
- $shr = $mul49 >> 14;
- $conv50 = $shr&65535;
- $55 = $i;
- $arrayidx51 = (($res_Q10) + ($55<<1)|0);
- HEAP16[$arrayidx51>>1] = $conv50;
- $56 = $i;
- $inc53 = (($56) + 1)|0;
- $i = $inc53;
- }
- $i = 0;
- while(1) {
- $57 = $i;
- $58 = $psNLSF_CB$addr;
- $order56 = ((($58)) + 2|0);
- $59 = HEAP16[$order56>>1]|0;
- $conv57 = $59 << 16 >> 16;
- $cmp58 = ($57|0)<($conv57|0);
- if (!($cmp58)) {
- break;
- }
- $60 = $pW_QW$addr;
- $61 = $i;
- $arrayidx61 = (($60) + ($61<<1)|0);
- $62 = HEAP16[$arrayidx61>>1]|0;
- $conv62 = $62 << 16 >> 16;
- $shl63 = $conv62 << 5;
- $63 = $i;
- $arrayidx64 = (($W_tmp_QW) + ($63<<1)|0);
- $64 = HEAP16[$arrayidx64>>1]|0;
- $conv65 = $64 << 16 >> 16;
- $div = (($shl63|0) / ($conv65|0))&-1;
- $conv66 = $div&65535;
- $65 = $i;
- $arrayidx67 = (($W_adj_Q5) + ($65<<1)|0);
- HEAP16[$arrayidx67>>1] = $conv66;
- $66 = $i;
- $inc69 = (($66) + 1)|0;
- $i = $inc69;
- }
- $67 = $psNLSF_CB$addr;
- $68 = $ind1;
- _silk_NLSF_unpack($ec_ix,$pred_Q8,$67,$68);
- $69 = $s;
- $mul73 = $69<<4;
- $arrayidx74 = (($vla9) + ($mul73)|0);
- $70 = $psNLSF_CB$addr;
- $ec_Rates_Q5 = ((($70)) + 28|0);
- $71 = HEAP32[$ec_Rates_Q5>>2]|0;
- $72 = $psNLSF_CB$addr;
- $quantStepSize_Q16 = ((($72)) + 4|0);
- $73 = HEAP16[$quantStepSize_Q16>>1]|0;
- $conv79 = $73 << 16 >> 16;
- $74 = $psNLSF_CB$addr;
- $invQuantStepSize_Q6 = ((($74)) + 6|0);
- $75 = HEAP16[$invQuantStepSize_Q6>>1]|0;
- $76 = $NLSF_mu_Q20$addr;
- $77 = $psNLSF_CB$addr;
- $order80 = ((($77)) + 2|0);
- $78 = HEAP16[$order80>>1]|0;
- $call81 = (_silk_NLSF_del_dec_quant($arrayidx74,$res_Q10,$W_adj_Q5,$pred_Q8,$ec_ix,$71,$conv79,$75,$76,$78)|0);
- $79 = $s;
- $arrayidx82 = (($vla8) + ($79<<2)|0);
- HEAP32[$arrayidx82>>2] = $call81;
- $80 = $psNLSF_CB$addr;
- $CB1_iCDF = ((($80)) + 12|0);
- $81 = HEAP32[$CB1_iCDF>>2]|0;
- $82 = $signalType$addr;
- $shr83 = $82 >> 1;
- $83 = $psNLSF_CB$addr;
- $84 = HEAP16[$83>>1]|0;
- $conv85 = $84 << 16 >> 16;
- $mul86 = Math_imul($shr83, $conv85)|0;
- $arrayidx87 = (($81) + ($mul86)|0);
- $iCDF_ptr = $arrayidx87;
- $85 = $ind1;
- $cmp88 = ($85|0)==(0);
- $86 = $iCDF_ptr;
- $87 = $ind1;
- if ($cmp88) {
- $arrayidx90 = (($86) + ($87)|0);
- $88 = HEAP8[$arrayidx90>>0]|0;
- $conv91 = $88&255;
- $sub92 = (256 - ($conv91))|0;
- $prob_Q8 = $sub92;
- } else {
- $sub93 = (($87) - 1)|0;
- $arrayidx94 = (($86) + ($sub93)|0);
- $89 = HEAP8[$arrayidx94>>0]|0;
- $conv95 = $89&255;
- $90 = $iCDF_ptr;
- $91 = $ind1;
- $arrayidx96 = (($90) + ($91)|0);
- $92 = HEAP8[$arrayidx96>>0]|0;
- $conv97 = $92&255;
- $sub98 = (($conv95) - ($conv97))|0;
- $prob_Q8 = $sub98;
- }
- $93 = $prob_Q8;
- $call99 = (_silk_lin2log($93)|0);
- $sub100 = (1024 - ($call99))|0;
- $bits_q7 = $sub100;
- $94 = $s;
- $arrayidx101 = (($vla8) + ($94<<2)|0);
- $95 = HEAP32[$arrayidx101>>2]|0;
- $96 = $bits_q7;
- $conv102 = $96&65535;
- $conv103 = $conv102 << 16 >> 16;
- $97 = $NLSF_mu_Q20$addr;
- $shr104 = $97 >> 2;
- $conv105 = $shr104&65535;
- $conv106 = $conv105 << 16 >> 16;
- $mul107 = Math_imul($conv103, $conv106)|0;
- $add = (($95) + ($mul107))|0;
- $98 = $s;
- $arrayidx108 = (($vla8) + ($98<<2)|0);
- HEAP32[$arrayidx108>>2] = $add;
- $99 = $s;
- $inc110 = (($99) + 1)|0;
- $s = $inc110;
- }
- $100 = $nSurvivors$addr;
- _silk_insertion_sort_increasing($vla8,$bestIndex,$100,1);
- $101 = HEAP32[$bestIndex>>2]|0;
- $arrayidx112 = (($vla5) + ($101<<2)|0);
- $102 = HEAP32[$arrayidx112>>2]|0;
- $conv113 = $102&255;
- $103 = $NLSFIndices$addr;
- HEAP8[$103>>0] = $conv113;
- $104 = $NLSFIndices$addr;
- $arrayidx115 = ((($104)) + 1|0);
- $105 = HEAP32[$bestIndex>>2]|0;
- $mul116 = $105<<4;
- $arrayidx117 = (($vla9) + ($mul116)|0);
- $106 = $psNLSF_CB$addr;
- $order118 = ((($106)) + 2|0);
- $107 = HEAP16[$order118>>1]|0;
- $conv119 = $107 << 16 >> 16;
- $mul120 = $conv119;
- _memcpy(($arrayidx115|0),($arrayidx117|0),($mul120|0))|0;
- $108 = $pNLSF_Q15$addr;
- $109 = $NLSFIndices$addr;
- $110 = $psNLSF_CB$addr;
- _silk_NLSF_decode($108,$109,$110);
- $111 = HEAP32[$vla8>>2]|0;
- $112 = $saved_stack;
- _llvm_stackrestore(($112|0));
- STACKTOP = sp;return ($111|0);
-}
-function _silk_SQRT_APPROX_556($x) {
- $x = $x|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add17 = 0, $and = 0, $and9 = 0, $cmp = 0, $conv = 0, $conv10 = 0, $conv11 = 0;
- var $conv13 = 0, $conv14 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $frac_Q7 = 0, $lz = 0, $mul = 0, $mul12 = 0, $mul15 = 0, $mul8 = 0, $retval = 0, $shr = 0, $shr16 = 0, $shr3 = 0, $shr4 = 0, $tobool = 0, $x$addr = 0, $y = 0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $lz = sp + 4|0;
- $frac_Q7 = sp;
- $x$addr = $x;
- $0 = $x$addr;
- $cmp = ($0|0)<=(0);
- if ($cmp) {
- $retval = 0;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
- }
- $1 = $x$addr;
- _silk_CLZ_FRAC_557($1,$lz,$frac_Q7);
- $2 = HEAP32[$lz>>2]|0;
- $and = $2 & 1;
- $tobool = ($and|0)!=(0);
- if ($tobool) {
- $y = 32768;
- } else {
- $y = 46214;
- }
- $3 = HEAP32[$lz>>2]|0;
- $shr = $3 >> 1;
- $4 = $y;
- $shr3 = $4 >> $shr;
- $y = $shr3;
- $5 = $y;
- $6 = $y;
- $shr4 = $6 >> 16;
- $7 = HEAP32[$frac_Q7>>2]|0;
- $conv = $7&65535;
- $conv5 = $conv << 16 >> 16;
- $mul = ($conv5*213)|0;
- $conv6 = $mul&65535;
- $conv7 = $conv6 << 16 >> 16;
- $mul8 = Math_imul($shr4, $conv7)|0;
- $8 = $y;
- $and9 = $8 & 65535;
- $9 = HEAP32[$frac_Q7>>2]|0;
- $conv10 = $9&65535;
- $conv11 = $conv10 << 16 >> 16;
- $mul12 = ($conv11*213)|0;
- $conv13 = $mul12&65535;
- $conv14 = $conv13 << 16 >> 16;
- $mul15 = Math_imul($and9, $conv14)|0;
- $shr16 = $mul15 >> 16;
- $add = (($mul8) + ($shr16))|0;
- $add17 = (($5) + ($add))|0;
- $y = $add17;
- $10 = $y;
- $retval = $10;
- $11 = $retval;
- STACKTOP = sp;return ($11|0);
-}
-function _silk_CLZ_FRAC_557($in,$lz,$frac_Q7) {
- $in = $in|0;
- $lz = $lz|0;
- $frac_Q7 = $frac_Q7|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $and = 0, $call = 0, $call1 = 0, $frac_Q7$addr = 0, $in$addr = 0, $lz$addr = 0, $lzeros = 0, $sub = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in$addr = $in;
- $lz$addr = $lz;
- $frac_Q7$addr = $frac_Q7;
- $0 = $in$addr;
- $call = (_silk_CLZ32_558($0)|0);
- $lzeros = $call;
- $1 = $lzeros;
- $2 = $lz$addr;
- HEAP32[$2>>2] = $1;
- $3 = $in$addr;
- $4 = $lzeros;
- $sub = (24 - ($4))|0;
- $call1 = (_silk_ROR32_559($3,$sub)|0);
- $and = $call1 & 127;
- $5 = $frac_Q7$addr;
- HEAP32[$5>>2] = $and;
- STACKTOP = sp;return;
-}
-function _silk_CLZ32_558($in32) {
- $in32 = $in32|0;
- var $0 = 0, $1 = 0, $2 = 0, $cond = 0, $in32$addr = 0, $sub = 0, $sub1 = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $in32$addr = $in32;
- $0 = $in32$addr;
- $tobool = ($0|0)!=(0);
- if (!($tobool)) {
- $cond = 32;
- STACKTOP = sp;return ($cond|0);
- }
- $1 = $in32$addr;
- $2 = (Math_clz32(($1|0))|0);
- $sub = (32 - ($2))|0;
- $sub1 = (32 - ($sub))|0;
- $cond = $sub1;
- STACKTOP = sp;return ($cond|0);
-}
-function _silk_ROR32_559($a32,$rot) {
- $a32 = $a32|0;
- $rot = $rot|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $a32$addr = 0, $cmp = 0, $cmp1 = 0, $m = 0, $or = 0, $or8 = 0;
- var $r = 0, $retval = 0, $rot$addr = 0, $shl = 0, $shl6 = 0, $shr = 0, $shr7 = 0, $sub = 0, $sub3 = 0, $sub5 = 0, $x = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $a32$addr = $a32;
- $rot$addr = $rot;
- $0 = $a32$addr;
- $x = $0;
- $1 = $rot$addr;
- $r = $1;
- $2 = $rot$addr;
- $sub = (0 - ($2))|0;
- $m = $sub;
- $3 = $rot$addr;
- $cmp = ($3|0)==(0);
- if ($cmp) {
- $4 = $a32$addr;
- $retval = $4;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- $5 = $rot$addr;
- $cmp1 = ($5|0)<(0);
- $6 = $x;
- if ($cmp1) {
- $7 = $m;
- $shl = $6 << $7;
- $8 = $x;
- $9 = $m;
- $sub3 = (32 - ($9))|0;
- $shr = $8 >>> $sub3;
- $or = $shl | $shr;
- $retval = $or;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- } else {
- $10 = $r;
- $sub5 = (32 - ($10))|0;
- $shl6 = $6 << $sub5;
- $11 = $x;
- $12 = $r;
- $shr7 = $11 >>> $12;
- $or8 = $shl6 | $shr7;
- $retval = $or8;
- $13 = $retval;
- STACKTOP = sp;return ($13|0);
- }
- return (0)|0;
-}
-function _silk_NLSF_VQ($err_Q26,$in_Q15,$pCB_Q8,$K,$LPC_order) {
- $err_Q26 = $err_Q26|0;
- $in_Q15 = $in_Q15|0;
- $pCB_Q8 = $pCB_Q8|0;
- $K = $K|0;
- $LPC_order = $LPC_order|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $3 = 0;
- var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $K$addr = 0, $LPC_order$addr = 0, $add = 0, $add20 = 0, $add21 = 0, $add22 = 0, $arrayidx = 0, $arrayidx23 = 0, $arrayidx9 = 0, $cmp = 0, $cmp2 = 0, $conv = 0, $conv10 = 0, $conv12 = 0;
- var $conv15 = 0, $conv16 = 0, $conv17 = 0, $conv18 = 0, $conv4 = 0, $conv5 = 0, $conv6 = 0, $conv7 = 0, $conv8 = 0, $diff_Q15 = 0, $err_Q26$addr = 0, $i = 0, $in_Q15$addr = 0, $inc = 0, $incdec$ptr = 0, $incdec$ptr11 = 0, $m = 0, $mul = 0, $mul19 = 0, $pCB_Q8$addr = 0;
- var $shl = 0, $shl13 = 0, $shr = 0, $sub = 0, $sub14 = 0, $sum_error_Q26 = 0, $sum_error_Q30 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $err_Q26$addr = $err_Q26;
- $in_Q15$addr = $in_Q15;
- $pCB_Q8$addr = $pCB_Q8;
- $K$addr = $K;
- $LPC_order$addr = $LPC_order;
- $i = 0;
- while(1) {
- $0 = $i;
- $1 = $K$addr;
- $cmp = ($0|0)<($1|0);
- if (!($cmp)) {
- break;
- }
- $sum_error_Q26 = 0;
- $m = 0;
- while(1) {
- $2 = $m;
- $3 = $LPC_order$addr;
- $cmp2 = ($2|0)<($3|0);
- if (!($cmp2)) {
- break;
- }
- $4 = $in_Q15$addr;
- $5 = $m;
- $arrayidx = (($4) + ($5<<1)|0);
- $6 = HEAP16[$arrayidx>>1]|0;
- $conv = $6 << 16 >> 16;
- $7 = $pCB_Q8$addr;
- $incdec$ptr = ((($7)) + 1|0);
- $pCB_Q8$addr = $incdec$ptr;
- $8 = HEAP8[$7>>0]|0;
- $conv4 = $8&255;
- $shl = $conv4 << 7;
- $sub = (($conv) - ($shl))|0;
- $diff_Q15 = $sub;
- $9 = $diff_Q15;
- $conv5 = $9&65535;
- $conv6 = $conv5 << 16 >> 16;
- $10 = $diff_Q15;
- $conv7 = $10&65535;
- $conv8 = $conv7 << 16 >> 16;
- $mul = Math_imul($conv6, $conv8)|0;
- $sum_error_Q30 = $mul;
- $11 = $in_Q15$addr;
- $12 = $m;
- $add = (($12) + 1)|0;
- $arrayidx9 = (($11) + ($add<<1)|0);
- $13 = HEAP16[$arrayidx9>>1]|0;
- $conv10 = $13 << 16 >> 16;
- $14 = $pCB_Q8$addr;
- $incdec$ptr11 = ((($14)) + 1|0);
- $pCB_Q8$addr = $incdec$ptr11;
- $15 = HEAP8[$14>>0]|0;
- $conv12 = $15&255;
- $shl13 = $conv12 << 7;
- $sub14 = (($conv10) - ($shl13))|0;
- $diff_Q15 = $sub14;
- $16 = $sum_error_Q30;
- $17 = $diff_Q15;
- $conv15 = $17&65535;
- $conv16 = $conv15 << 16 >> 16;
- $18 = $diff_Q15;
- $conv17 = $18&65535;
- $conv18 = $conv17 << 16 >> 16;
- $mul19 = Math_imul($conv16, $conv18)|0;
- $add20 = (($16) + ($mul19))|0;
- $sum_error_Q30 = $add20;
- $19 = $sum_error_Q26;
- $20 = $sum_error_Q30;
- $shr = $20 >> 4;
- $add21 = (($19) + ($shr))|0;
- $sum_error_Q26 = $add21;
- $21 = $m;
- $add22 = (($21) + 2)|0;
- $m = $add22;
- }
- $22 = $sum_error_Q26;
- $23 = $err_Q26$addr;
- $24 = $i;
- $arrayidx23 = (($23) + ($24<<2)|0);
- HEAP32[$arrayidx23>>2] = $22;
- $25 = $i;
- $inc = (($25) + 1)|0;
- $i = $inc;
- }
- STACKTOP = sp;return;
-}
-function _silk_NLSF_del_dec_quant($indices,$x_Q10,$w_Q5,$pred_coef_Q8,$ec_ix,$ec_rates_Q5,$quant_step_size_Q16,$inv_quant_step_size_Q6,$mu_Q20,$order) {
- $indices = $indices|0;
- $x_Q10 = $x_Q10|0;
- $w_Q5 = $w_Q5|0;
- $pred_coef_Q8 = $pred_coef_Q8|0;
- $ec_ix = $ec_ix|0;
- $ec_rates_Q5 = $ec_rates_Q5|0;
- $quant_step_size_Q16 = $quant_step_size_Q16|0;
- $inv_quant_step_size_Q6 = $inv_quant_step_size_Q6|0;
- $mu_Q20 = $mu_Q20|0;
- $order = $order|0;
- var $$sink = 0, $$sink1 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0;
- var $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0;
- var $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0;
- var $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0;
- var $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0;
- var $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0;
- var $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
+function _silk_NLSF_VQ_weights_laroia($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0;
var $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0;
- var $99 = 0, $RD_Q25 = 0, $RD_max_Q25 = 0, $RD_min_Q25 = 0, $RD_tmp_Q25 = 0, $add = 0, $add103 = 0, $add110 = 0, $add111 = 0, $add12 = 0, $add120 = 0, $add121 = 0, $add128 = 0, $add132 = 0, $add135 = 0, $add136 = 0, $add151 = 0, $add157 = 0, $add168 = 0, $add174 = 0;
- var $add175 = 0, $add190 = 0, $add192 = 0, $add20 = 0, $add21 = 0, $add220 = 0, $add227 = 0, $add233 = 0, $add237 = 0, $add241 = 0, $add243 = 0, $add248 = 0, $add281 = 0, $add284 = 0, $add301 = 0, $add31 = 0, $add32 = 0, $add339 = 0, $add59 = 0, $add72 = 0;
- var $add84 = 0, $add86 = 0, $add88 = 0, $add89 = 0, $add9 = 0, $add93 = 0, $add95 = 0, $add99 = 0, $and = 0, $and26 = 0, $and329 = 0, $and54 = 0, $and67 = 0, $arrayidx = 0, $arrayidx104 = 0, $arrayidx122 = 0, $arrayidx133 = 0, $arrayidx137 = 0, $arrayidx141 = 0, $arrayidx148 = 0;
- var $arrayidx158 = 0, $arrayidx165 = 0, $arrayidx176 = 0, $arrayidx187 = 0, $arrayidx188 = 0, $arrayidx193 = 0, $arrayidx194 = 0, $arrayidx204 = 0, $arrayidx205 = 0, $arrayidx206 = 0, $arrayidx207 = 0, $arrayidx219 = 0, $arrayidx221 = 0, $arrayidx225 = 0, $arrayidx226 = 0, $arrayidx228 = 0, $arrayidx229 = 0, $arrayidx230 = 0, $arrayidx231 = 0, $arrayidx232 = 0;
- var $arrayidx234 = 0, $arrayidx235 = 0, $arrayidx238 = 0, $arrayidx239 = 0, $arrayidx242 = 0, $arrayidx247 = 0, $arrayidx249 = 0, $arrayidx250 = 0, $arrayidx251 = 0, $arrayidx260 = 0, $arrayidx264 = 0, $arrayidx266 = 0, $arrayidx270 = 0, $arrayidx279 = 0, $arrayidx280 = 0, $arrayidx282 = 0, $arrayidx283 = 0, $arrayidx285 = 0, $arrayidx286 = 0, $arrayidx287 = 0;
- var $arrayidx288 = 0, $arrayidx289 = 0, $arrayidx290 = 0, $arrayidx296 = 0, $arrayidx298 = 0, $arrayidx299 = 0, $arrayidx315 = 0, $arrayidx319 = 0, $arrayidx33 = 0, $arrayidx330 = 0, $arrayidx331 = 0, $arrayidx332 = 0, $arrayidx39 = 0, $arrayidx40 = 0, $arrayidx41 = 0, $arrayidx44 = 0, $arrayidx51 = 0, $arrayidx55 = 0, $arrayidx82 = 0, $arrayidx83 = 0;
- var $arrayidx85 = 0, $arrayidx87 = 0, $arrayidx91 = 0, $arrayidx94 = 0, $cmp = 0, $cmp1 = 0, $cmp100 = 0, $cmp114 = 0, $cmp117 = 0, $cmp180 = 0, $cmp184 = 0, $cmp200 = 0, $cmp212 = 0, $cmp216 = 0, $cmp222 = 0, $cmp257 = 0, $cmp261 = 0, $cmp267 = 0, $cmp275 = 0, $cmp293 = 0;
- var $cmp3 = 0, $cmp312 = 0, $cmp316 = 0, $cmp326 = 0, $cmp47 = 0, $cmp7 = 0, $cmp73 = 0, $cmp75 = 0, $cmp96 = 0, $cond = 0, $cond80 = 0, $conv = 0, $conv105 = 0, $conv107 = 0, $conv108 = 0, $conv123 = 0, $conv125 = 0, $conv126 = 0, $conv134 = 0, $conv138 = 0;
- var $conv143 = 0, $conv144 = 0, $conv145 = 0, $conv146 = 0, $conv149 = 0, $conv15 = 0, $conv152 = 0, $conv153 = 0, $conv154 = 0, $conv155 = 0, $conv16 = 0, $conv160 = 0, $conv161 = 0, $conv162 = 0, $conv163 = 0, $conv166 = 0, $conv169 = 0, $conv17 = 0, $conv170 = 0, $conv171 = 0;
- var $conv172 = 0, $conv189 = 0, $conv191 = 0, $conv23 = 0, $conv236 = 0, $conv24 = 0, $conv240 = 0, $conv27 = 0, $conv28 = 0, $conv300 = 0, $conv302 = 0, $conv325 = 0, $conv338 = 0, $conv340 = 0, $conv36 = 0, $conv42 = 0, $conv45 = 0, $conv52 = 0, $conv56 = 0, $conv61 = 0;
- var $conv63 = 0, $conv64 = 0, $conv66 = 0, $conv68 = 0, $conv69 = 0, $conv81 = 0, $conv90 = 0, $conv92 = 0, $dec = 0, $diff_Q10 = 0, $ec_ix$addr = 0, $ec_rates_Q5$addr = 0, $i = 0, $idxprom = 0, $in_Q10 = 0, $inc = 0, $inc178 = 0, $inc196 = 0, $inc209 = 0, $inc254 = 0;
- var $inc273 = 0, $inc304 = 0, $inc322 = 0, $inc334 = 0, $ind = 0, $ind_max_min = 0, $ind_min_max = 0, $ind_sort = 0, $ind_tmp = 0, $indices$addr = 0, $inv_quant_step_size_Q6$addr = 0, $j = 0, $max_min_Q25 = 0, $min_Q25 = 0, $min_max_Q25 = 0, $mu_Q20$addr = 0, $mul = 0, $mul109 = 0, $mul127 = 0, $mul147 = 0;
- var $mul150 = 0, $mul156 = 0, $mul164 = 0, $mul167 = 0, $mul173 = 0, $mul18 = 0, $mul25 = 0, $mul29 = 0, $mul53 = 0, $mul57 = 0, $mul65 = 0, $mul70 = 0, $nStates = 0, $order$addr = 0, $out0_Q10 = 0, $out0_Q10_table = 0, $out1_Q10 = 0, $out1_Q10_table = 0, $pred_Q10 = 0, $pred_coef_Q16 = 0;
- var $pred_coef_Q8$addr = 0, $prev_out_Q10 = 0, $quant_step_size_Q16$addr = 0, $rate0_Q5 = 0, $rate1_Q5 = 0, $rates_Q5 = 0, $res_Q10 = 0, $shl = 0, $shl198 = 0, $shl43 = 0, $shr = 0, $shr19 = 0, $shr22 = 0, $shr297 = 0, $shr30 = 0, $shr336 = 0, $shr50 = 0, $shr58 = 0, $shr62 = 0, $shr71 = 0;
- var $sub = 0, $sub129 = 0, $sub142 = 0, $sub159 = 0, $sub2 = 0, $sub203 = 0, $sub37 = 0, $sub5 = 0, $sub60 = 0, $w_Q5$addr = 0, $x_Q10$addr = 0, $xor = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 448|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(448|0);
- $ind_sort = sp + 232|0;
- $ind = sp + 384|0;
- $prev_out_Q10 = sp + 360|0;
- $RD_Q25 = sp + 200|0;
- $RD_min_Q25 = sp + 184|0;
- $RD_max_Q25 = sp + 168|0;
- $out0_Q10_table = sp + 80|0;
- $out1_Q10_table = sp;
- $indices$addr = $indices;
- $x_Q10$addr = $x_Q10;
- $w_Q5$addr = $w_Q5;
- $pred_coef_Q8$addr = $pred_coef_Q8;
- $ec_ix$addr = $ec_ix;
- $ec_rates_Q5$addr = $ec_rates_Q5;
- $quant_step_size_Q16$addr = $quant_step_size_Q16;
- $inv_quant_step_size_Q6$addr = $inv_quant_step_size_Q6;
- $mu_Q20$addr = $mu_Q20;
- $order$addr = $order;
- $i = -10;
- while(1) {
- $0 = $i;
- $cmp = ($0|0)<=(9);
- if (!($cmp)) {
- break;
- }
- $1 = $i;
- $shl = $1 << 10;
- $out0_Q10 = $shl;
- $2 = $out0_Q10;
- $add = (($2) + 1024)|0;
- $out1_Q10 = $add;
- $3 = $i;
- $cmp1 = ($3|0)>(0);
- do {
- if ($cmp1) {
- $4 = $out0_Q10;
- $sub = (($4) - 102)|0;
- $out0_Q10 = $sub;
- $5 = $out1_Q10;
- $sub2 = (($5) - 102)|0;
- $out1_Q10 = $sub2;
- } else {
- $6 = $i;
- $cmp3 = ($6|0)==(0);
- if ($cmp3) {
- $7 = $out1_Q10;
- $sub5 = (($7) - 102)|0;
- $out1_Q10 = $sub5;
- break;
- }
- $8 = $i;
- $cmp7 = ($8|0)==(-1);
- $9 = $out0_Q10;
- $add9 = (($9) + 102)|0;
- $out0_Q10 = $add9;
- if (!($cmp7)) {
- $10 = $out1_Q10;
- $add12 = (($10) + 102)|0;
- $out1_Q10 = $add12;
- }
- }
- } while(0);
- $11 = $out0_Q10;
- $shr = $11 >> 16;
- $12 = $quant_step_size_Q16$addr;
- $conv = $12&65535;
- $conv15 = $conv << 16 >> 16;
- $mul = Math_imul($shr, $conv15)|0;
- $13 = $out0_Q10;
- $and = $13 & 65535;
- $14 = $quant_step_size_Q16$addr;
- $conv16 = $14&65535;
- $conv17 = $conv16 << 16 >> 16;
- $mul18 = Math_imul($and, $conv17)|0;
- $shr19 = $mul18 >> 16;
- $add20 = (($mul) + ($shr19))|0;
- $15 = $i;
- $add21 = (($15) + 10)|0;
- $arrayidx = (($out0_Q10_table) + ($add21<<2)|0);
- HEAP32[$arrayidx>>2] = $add20;
- $16 = $out1_Q10;
- $shr22 = $16 >> 16;
- $17 = $quant_step_size_Q16$addr;
- $conv23 = $17&65535;
- $conv24 = $conv23 << 16 >> 16;
- $mul25 = Math_imul($shr22, $conv24)|0;
- $18 = $out1_Q10;
- $and26 = $18 & 65535;
- $19 = $quant_step_size_Q16$addr;
- $conv27 = $19&65535;
- $conv28 = $conv27 << 16 >> 16;
- $mul29 = Math_imul($and26, $conv28)|0;
- $shr30 = $mul29 >> 16;
- $add31 = (($mul25) + ($shr30))|0;
- $20 = $i;
- $add32 = (($20) + 10)|0;
- $arrayidx33 = (($out1_Q10_table) + ($add32<<2)|0);
- HEAP32[$arrayidx33>>2] = $add31;
- $21 = $i;
- $inc = (($21) + 1)|0;
- $i = $inc;
- }
- $nStates = 1;
- HEAP32[$RD_Q25>>2] = 0;
- HEAP16[$prev_out_Q10>>1] = 0;
- $22 = $order$addr;
- $conv36 = $22 << 16 >> 16;
- $sub37 = (($conv36) - 1)|0;
- $i = $sub37;
- L13: while(1) {
- $23 = $ec_rates_Q5$addr;
- $24 = $ec_ix$addr;
- $25 = $i;
- $arrayidx39 = (($24) + ($25<<1)|0);
- $26 = HEAP16[$arrayidx39>>1]|0;
- $idxprom = $26 << 16 >> 16;
- $arrayidx40 = (($23) + ($idxprom)|0);
- $rates_Q5 = $arrayidx40;
- $27 = $pred_coef_Q8$addr;
- $28 = $i;
- $arrayidx41 = (($27) + ($28)|0);
- $29 = HEAP8[$arrayidx41>>0]|0;
- $conv42 = $29&255;
- $shl43 = $conv42 << 8;
- $pred_coef_Q16 = $shl43;
- $30 = $x_Q10$addr;
- $31 = $i;
- $arrayidx44 = (($30) + ($31<<1)|0);
- $32 = HEAP16[$arrayidx44>>1]|0;
- $conv45 = $32 << 16 >> 16;
- $in_Q10 = $conv45;
- $j = 0;
- while(1) {
- $33 = $j;
- $34 = $nStates;
- $cmp47 = ($33|0)<($34|0);
- if (!($cmp47)) {
- break;
- }
- $35 = $pred_coef_Q16;
- $shr50 = $35 >> 16;
- $36 = $j;
- $arrayidx51 = (($prev_out_Q10) + ($36<<1)|0);
- $37 = HEAP16[$arrayidx51>>1]|0;
- $conv52 = $37 << 16 >> 16;
- $mul53 = Math_imul($shr50, $conv52)|0;
- $38 = $pred_coef_Q16;
- $and54 = $38 & 65535;
- $39 = $j;
- $arrayidx55 = (($prev_out_Q10) + ($39<<1)|0);
- $40 = HEAP16[$arrayidx55>>1]|0;
- $conv56 = $40 << 16 >> 16;
- $mul57 = Math_imul($and54, $conv56)|0;
- $shr58 = $mul57 >> 16;
- $add59 = (($mul53) + ($shr58))|0;
- $pred_Q10 = $add59;
- $41 = $in_Q10;
- $42 = $pred_Q10;
- $sub60 = (($41) - ($42))|0;
- $res_Q10 = $sub60;
- $43 = $inv_quant_step_size_Q6$addr;
- $conv61 = $43 << 16 >> 16;
- $shr62 = $conv61 >> 16;
- $44 = $res_Q10;
- $conv63 = $44&65535;
- $conv64 = $conv63 << 16 >> 16;
- $mul65 = Math_imul($shr62, $conv64)|0;
- $45 = $inv_quant_step_size_Q6$addr;
- $conv66 = $45 << 16 >> 16;
- $and67 = $conv66 & 65535;
- $46 = $res_Q10;
- $conv68 = $46&65535;
- $conv69 = $conv68 << 16 >> 16;
- $mul70 = Math_imul($and67, $conv69)|0;
- $shr71 = $mul70 >> 16;
- $add72 = (($mul65) + ($shr71))|0;
- $ind_tmp = $add72;
- $47 = $ind_tmp;
- $cmp73 = ($47|0)>(9);
- if ($cmp73) {
- $cond80 = 9;
- } else {
- $48 = $ind_tmp;
- $cmp75 = ($48|0)<(-10);
- $49 = $ind_tmp;
- $cond = $cmp75 ? -10 : $49;
- $cond80 = $cond;
- }
- $ind_tmp = $cond80;
- $50 = $ind_tmp;
- $conv81 = $50&255;
- $51 = $j;
- $arrayidx82 = (($ind) + ($51<<4)|0);
- $52 = $i;
- $arrayidx83 = (($arrayidx82) + ($52)|0);
- HEAP8[$arrayidx83>>0] = $conv81;
- $53 = $ind_tmp;
- $add84 = (($53) + 10)|0;
- $arrayidx85 = (($out0_Q10_table) + ($add84<<2)|0);
- $54 = HEAP32[$arrayidx85>>2]|0;
- $out0_Q10 = $54;
- $55 = $ind_tmp;
- $add86 = (($55) + 10)|0;
- $arrayidx87 = (($out1_Q10_table) + ($add86<<2)|0);
- $56 = HEAP32[$arrayidx87>>2]|0;
- $out1_Q10 = $56;
- $57 = $out0_Q10;
- $58 = $pred_Q10;
- $add88 = (($57) + ($58))|0;
- $out0_Q10 = $add88;
- $59 = $out1_Q10;
- $60 = $pred_Q10;
- $add89 = (($59) + ($60))|0;
- $out1_Q10 = $add89;
- $61 = $out0_Q10;
- $conv90 = $61&65535;
- $62 = $j;
- $arrayidx91 = (($prev_out_Q10) + ($62<<1)|0);
- HEAP16[$arrayidx91>>1] = $conv90;
- $63 = $out1_Q10;
- $conv92 = $63&65535;
- $64 = $j;
- $65 = $nStates;
- $add93 = (($64) + ($65))|0;
- $arrayidx94 = (($prev_out_Q10) + ($add93<<1)|0);
- HEAP16[$arrayidx94>>1] = $conv92;
- $66 = $ind_tmp;
- $add95 = (($66) + 1)|0;
- $cmp96 = ($add95|0)>=(4);
- $67 = $ind_tmp;
- do {
- if ($cmp96) {
- $add99 = (($67) + 1)|0;
- $cmp100 = ($add99|0)==(4);
- if ($cmp100) {
- $68 = $rates_Q5;
- $69 = $ind_tmp;
- $add103 = (($69) + 4)|0;
- $arrayidx104 = (($68) + ($add103)|0);
- $70 = HEAP8[$arrayidx104>>0]|0;
- $conv105 = $70&255;
- $rate0_Q5 = $conv105;
- $rate1_Q5 = 280;
- break;
- } else {
- $71 = $ind_tmp;
- $conv107 = $71&65535;
- $conv108 = $conv107 << 16 >> 16;
- $mul109 = ($conv108*43)|0;
- $add110 = (108 + ($mul109))|0;
- $rate0_Q5 = $add110;
- $72 = $rate0_Q5;
- $add111 = (($72) + 43)|0;
- $rate1_Q5 = $add111;
- break;
- }
- } else {
- $cmp114 = ($67|0)<=(-4);
- if (!($cmp114)) {
- $79 = $rates_Q5;
- $80 = $ind_tmp;
- $add132 = (($80) + 4)|0;
- $arrayidx133 = (($79) + ($add132)|0);
- $81 = HEAP8[$arrayidx133>>0]|0;
- $conv134 = $81&255;
- $rate0_Q5 = $conv134;
- $82 = $rates_Q5;
- $83 = $ind_tmp;
- $add135 = (($83) + 1)|0;
- $add136 = (($add135) + 4)|0;
- $arrayidx137 = (($82) + ($add136)|0);
- $84 = HEAP8[$arrayidx137>>0]|0;
- $conv138 = $84&255;
- $rate1_Q5 = $conv138;
- break;
- }
- $73 = $ind_tmp;
- $cmp117 = ($73|0)==(-4);
- if ($cmp117) {
- $rate0_Q5 = 280;
- $74 = $rates_Q5;
- $75 = $ind_tmp;
- $add120 = (($75) + 1)|0;
- $add121 = (($add120) + 4)|0;
- $arrayidx122 = (($74) + ($add121)|0);
- $76 = HEAP8[$arrayidx122>>0]|0;
- $conv123 = $76&255;
- $rate1_Q5 = $conv123;
- break;
- } else {
- $77 = $ind_tmp;
- $conv125 = $77&65535;
- $conv126 = $conv125 << 16 >> 16;
- $mul127 = Math_imul(-43, $conv126)|0;
- $add128 = (108 + ($mul127))|0;
- $rate0_Q5 = $add128;
- $78 = $rate0_Q5;
- $sub129 = (($78) - 43)|0;
- $rate1_Q5 = $sub129;
- break;
- }
- }
- } while(0);
- $85 = $j;
- $arrayidx141 = (($RD_Q25) + ($85<<2)|0);
- $86 = HEAP32[$arrayidx141>>2]|0;
- $RD_tmp_Q25 = $86;
- $87 = $in_Q10;
- $88 = $out0_Q10;
- $sub142 = (($87) - ($88))|0;
- $diff_Q10 = $sub142;
- $89 = $RD_tmp_Q25;
- $90 = $diff_Q10;
- $conv143 = $90&65535;
- $conv144 = $conv143 << 16 >> 16;
- $91 = $diff_Q10;
- $conv145 = $91&65535;
- $conv146 = $conv145 << 16 >> 16;
- $mul147 = Math_imul($conv144, $conv146)|0;
- $92 = $w_Q5$addr;
- $93 = $i;
- $arrayidx148 = (($92) + ($93<<1)|0);
- $94 = HEAP16[$arrayidx148>>1]|0;
- $conv149 = $94 << 16 >> 16;
- $mul150 = Math_imul($mul147, $conv149)|0;
- $add151 = (($89) + ($mul150))|0;
- $95 = $mu_Q20$addr;
- $conv152 = $95&65535;
- $conv153 = $conv152 << 16 >> 16;
- $96 = $rate0_Q5;
- $conv154 = $96&65535;
- $conv155 = $conv154 << 16 >> 16;
- $mul156 = Math_imul($conv153, $conv155)|0;
- $add157 = (($add151) + ($mul156))|0;
- $97 = $j;
- $arrayidx158 = (($RD_Q25) + ($97<<2)|0);
- HEAP32[$arrayidx158>>2] = $add157;
- $98 = $in_Q10;
- $99 = $out1_Q10;
- $sub159 = (($98) - ($99))|0;
- $diff_Q10 = $sub159;
- $100 = $RD_tmp_Q25;
- $101 = $diff_Q10;
- $conv160 = $101&65535;
- $conv161 = $conv160 << 16 >> 16;
- $102 = $diff_Q10;
- $conv162 = $102&65535;
- $conv163 = $conv162 << 16 >> 16;
- $mul164 = Math_imul($conv161, $conv163)|0;
- $103 = $w_Q5$addr;
- $104 = $i;
- $arrayidx165 = (($103) + ($104<<1)|0);
- $105 = HEAP16[$arrayidx165>>1]|0;
- $conv166 = $105 << 16 >> 16;
- $mul167 = Math_imul($mul164, $conv166)|0;
- $add168 = (($100) + ($mul167))|0;
- $106 = $mu_Q20$addr;
- $conv169 = $106&65535;
- $conv170 = $conv169 << 16 >> 16;
- $107 = $rate1_Q5;
- $conv171 = $107&65535;
- $conv172 = $conv171 << 16 >> 16;
- $mul173 = Math_imul($conv170, $conv172)|0;
- $add174 = (($add168) + ($mul173))|0;
- $108 = $j;
- $109 = $nStates;
- $add175 = (($108) + ($109))|0;
- $arrayidx176 = (($RD_Q25) + ($add175<<2)|0);
- HEAP32[$arrayidx176>>2] = $add174;
- $110 = $j;
- $inc178 = (($110) + 1)|0;
- $j = $inc178;
- }
- $111 = $nStates;
- $cmp180 = ($111|0)<=(2);
- L35: do {
- if ($cmp180) {
- $j = 0;
- while(1) {
- $112 = $j;
- $113 = $nStates;
- $cmp184 = ($112|0)<($113|0);
- if (!($cmp184)) {
- break;
- }
- $114 = $j;
- $arrayidx187 = (($ind) + ($114<<4)|0);
- $115 = $i;
- $arrayidx188 = (($arrayidx187) + ($115)|0);
- $116 = HEAP8[$arrayidx188>>0]|0;
- $conv189 = $116 << 24 >> 24;
- $add190 = (($conv189) + 1)|0;
- $conv191 = $add190&255;
- $117 = $j;
- $118 = $nStates;
- $add192 = (($117) + ($118))|0;
- $arrayidx193 = (($ind) + ($add192<<4)|0);
- $119 = $i;
- $arrayidx194 = (($arrayidx193) + ($119)|0);
- HEAP8[$arrayidx194>>0] = $conv191;
- $120 = $j;
- $inc196 = (($120) + 1)|0;
- $j = $inc196;
- }
- $121 = $nStates;
- $shl198 = $121 << 1;
- $nStates = $shl198;
- $122 = $nStates;
- $j = $122;
- while(1) {
- $123 = $j;
- $cmp200 = ($123|0)<(4);
- if (!($cmp200)) {
- break L35;
- }
- $124 = $j;
- $125 = $nStates;
- $sub203 = (($124) - ($125))|0;
- $arrayidx204 = (($ind) + ($sub203<<4)|0);
- $126 = $i;
- $arrayidx205 = (($arrayidx204) + ($126)|0);
- $127 = HEAP8[$arrayidx205>>0]|0;
- $128 = $j;
- $arrayidx206 = (($ind) + ($128<<4)|0);
- $129 = $i;
- $arrayidx207 = (($arrayidx206) + ($129)|0);
- HEAP8[$arrayidx207>>0] = $127;
- $130 = $j;
- $inc209 = (($130) + 1)|0;
- $j = $inc209;
- }
- } else {
- $131 = $i;
- $cmp212 = ($131|0)>(0);
- if (!($cmp212)) {
- break L13;
- }
- $j = 0;
- while(1) {
- $132 = $j;
- $cmp216 = ($132|0)<(4);
- if (!($cmp216)) {
- break;
- }
- $133 = $j;
- $arrayidx219 = (($RD_Q25) + ($133<<2)|0);
- $134 = HEAP32[$arrayidx219>>2]|0;
- $135 = $j;
- $add220 = (($135) + 4)|0;
- $arrayidx221 = (($RD_Q25) + ($add220<<2)|0);
- $136 = HEAP32[$arrayidx221>>2]|0;
- $cmp222 = ($134|0)>($136|0);
- $137 = $j;
- $arrayidx225 = (($RD_Q25) + ($137<<2)|0);
- $138 = HEAP32[$arrayidx225>>2]|0;
- $139 = $j;
- if ($cmp222) {
- $arrayidx226 = (($RD_max_Q25) + ($139<<2)|0);
- HEAP32[$arrayidx226>>2] = $138;
- $140 = $j;
- $add227 = (($140) + 4)|0;
- $arrayidx228 = (($RD_Q25) + ($add227<<2)|0);
- $141 = HEAP32[$arrayidx228>>2]|0;
- $142 = $j;
- $arrayidx229 = (($RD_min_Q25) + ($142<<2)|0);
- HEAP32[$arrayidx229>>2] = $141;
- $143 = $j;
- $arrayidx230 = (($RD_min_Q25) + ($143<<2)|0);
- $144 = HEAP32[$arrayidx230>>2]|0;
- $145 = $j;
- $arrayidx231 = (($RD_Q25) + ($145<<2)|0);
- HEAP32[$arrayidx231>>2] = $144;
- $146 = $j;
- $arrayidx232 = (($RD_max_Q25) + ($146<<2)|0);
- $147 = HEAP32[$arrayidx232>>2]|0;
- $148 = $j;
- $add233 = (($148) + 4)|0;
- $arrayidx234 = (($RD_Q25) + ($add233<<2)|0);
- HEAP32[$arrayidx234>>2] = $147;
- $149 = $j;
- $arrayidx235 = (($prev_out_Q10) + ($149<<1)|0);
- $150 = HEAP16[$arrayidx235>>1]|0;
- $conv236 = $150 << 16 >> 16;
- $out0_Q10 = $conv236;
- $151 = $j;
- $add237 = (($151) + 4)|0;
- $arrayidx238 = (($prev_out_Q10) + ($add237<<1)|0);
- $152 = HEAP16[$arrayidx238>>1]|0;
- $153 = $j;
- $arrayidx239 = (($prev_out_Q10) + ($153<<1)|0);
- HEAP16[$arrayidx239>>1] = $152;
- $154 = $out0_Q10;
- $conv240 = $154&65535;
- $155 = $j;
- $add241 = (($155) + 4)|0;
- $arrayidx242 = (($prev_out_Q10) + ($add241<<1)|0);
- HEAP16[$arrayidx242>>1] = $conv240;
- $156 = $j;
- $add243 = (($156) + 4)|0;
- $157 = $j;
- $$sink = $add243;$$sink1 = $157;
- } else {
- $arrayidx247 = (($RD_min_Q25) + ($139<<2)|0);
- HEAP32[$arrayidx247>>2] = $138;
- $158 = $j;
- $add248 = (($158) + 4)|0;
- $arrayidx249 = (($RD_Q25) + ($add248<<2)|0);
- $159 = HEAP32[$arrayidx249>>2]|0;
- $160 = $j;
- $arrayidx250 = (($RD_max_Q25) + ($160<<2)|0);
- HEAP32[$arrayidx250>>2] = $159;
- $161 = $j;
- $162 = $j;
- $$sink = $161;$$sink1 = $162;
- }
- $arrayidx251 = (($ind_sort) + ($$sink1<<2)|0);
- HEAP32[$arrayidx251>>2] = $$sink;
- $163 = $j;
- $inc254 = (($163) + 1)|0;
- $j = $inc254;
- }
- while(1) {
- $min_max_Q25 = 2147483647;
- $max_min_Q25 = 0;
- $ind_min_max = 0;
- $ind_max_min = 0;
- $j = 0;
- while(1) {
- $164 = $j;
- $cmp257 = ($164|0)<(4);
- $165 = $min_max_Q25;
- if (!($cmp257)) {
- break;
- }
- $166 = $j;
- $arrayidx260 = (($RD_max_Q25) + ($166<<2)|0);
- $167 = HEAP32[$arrayidx260>>2]|0;
- $cmp261 = ($165|0)>($167|0);
- if ($cmp261) {
- $168 = $j;
- $arrayidx264 = (($RD_max_Q25) + ($168<<2)|0);
- $169 = HEAP32[$arrayidx264>>2]|0;
- $min_max_Q25 = $169;
- $170 = $j;
- $ind_min_max = $170;
- }
- $171 = $max_min_Q25;
- $172 = $j;
- $arrayidx266 = (($RD_min_Q25) + ($172<<2)|0);
- $173 = HEAP32[$arrayidx266>>2]|0;
- $cmp267 = ($171|0)<($173|0);
- if ($cmp267) {
- $174 = $j;
- $arrayidx270 = (($RD_min_Q25) + ($174<<2)|0);
- $175 = HEAP32[$arrayidx270>>2]|0;
- $max_min_Q25 = $175;
- $176 = $j;
- $ind_max_min = $176;
- }
- $177 = $j;
- $inc273 = (($177) + 1)|0;
- $j = $inc273;
- }
- $178 = $max_min_Q25;
- $cmp275 = ($165|0)>=($178|0);
- if ($cmp275) {
- break;
- }
- $179 = $ind_min_max;
- $arrayidx279 = (($ind_sort) + ($179<<2)|0);
- $180 = HEAP32[$arrayidx279>>2]|0;
- $xor = $180 ^ 4;
- $181 = $ind_max_min;
- $arrayidx280 = (($ind_sort) + ($181<<2)|0);
- HEAP32[$arrayidx280>>2] = $xor;
- $182 = $ind_min_max;
- $add281 = (($182) + 4)|0;
- $arrayidx282 = (($RD_Q25) + ($add281<<2)|0);
- $183 = HEAP32[$arrayidx282>>2]|0;
- $184 = $ind_max_min;
- $arrayidx283 = (($RD_Q25) + ($184<<2)|0);
- HEAP32[$arrayidx283>>2] = $183;
- $185 = $ind_min_max;
- $add284 = (($185) + 4)|0;
- $arrayidx285 = (($prev_out_Q10) + ($add284<<1)|0);
- $186 = HEAP16[$arrayidx285>>1]|0;
- $187 = $ind_max_min;
- $arrayidx286 = (($prev_out_Q10) + ($187<<1)|0);
- HEAP16[$arrayidx286>>1] = $186;
- $188 = $ind_max_min;
- $arrayidx287 = (($RD_min_Q25) + ($188<<2)|0);
- HEAP32[$arrayidx287>>2] = 0;
- $189 = $ind_min_max;
- $arrayidx288 = (($RD_max_Q25) + ($189<<2)|0);
- HEAP32[$arrayidx288>>2] = 2147483647;
- $190 = $ind_max_min;
- $arrayidx289 = (($ind) + ($190<<4)|0);
- $191 = $ind_min_max;
- $arrayidx290 = (($ind) + ($191<<4)|0);
- dest=$arrayidx289; src=$arrayidx290; stop=dest+16|0; do { HEAP8[dest>>0]=HEAP8[src>>0]|0; dest=dest+1|0; src=src+1|0; } while ((dest|0) < (stop|0));
- }
- $j = 0;
- while(1) {
- $192 = $j;
- $cmp293 = ($192|0)<(4);
- if (!($cmp293)) {
- break L35;
- }
- $193 = $j;
- $arrayidx296 = (($ind_sort) + ($193<<2)|0);
- $194 = HEAP32[$arrayidx296>>2]|0;
- $shr297 = $194 >> 2;
- $195 = $j;
- $arrayidx298 = (($ind) + ($195<<4)|0);
- $196 = $i;
- $arrayidx299 = (($arrayidx298) + ($196)|0);
- $197 = HEAP8[$arrayidx299>>0]|0;
- $conv300 = $197 << 24 >> 24;
- $add301 = (($conv300) + ($shr297))|0;
- $conv302 = $add301&255;
- HEAP8[$arrayidx299>>0] = $conv302;
- $198 = $j;
- $inc304 = (($198) + 1)|0;
- $j = $inc304;
- }
- }
- } while(0);
- $199 = $i;
- $dec = (($199) + -1)|0;
- $i = $dec;
- }
- $ind_tmp = 0;
- $min_Q25 = 2147483647;
- $j = 0;
- while(1) {
- $200 = $j;
- $cmp312 = ($200|0)<(8);
- if (!($cmp312)) {
- break;
- }
- $201 = $min_Q25;
- $202 = $j;
- $arrayidx315 = (($RD_Q25) + ($202<<2)|0);
- $203 = HEAP32[$arrayidx315>>2]|0;
- $cmp316 = ($201|0)>($203|0);
- if ($cmp316) {
- $204 = $j;
- $arrayidx319 = (($RD_Q25) + ($204<<2)|0);
- $205 = HEAP32[$arrayidx319>>2]|0;
- $min_Q25 = $205;
- $206 = $j;
- $ind_tmp = $206;
- }
- $207 = $j;
- $inc322 = (($207) + 1)|0;
- $j = $inc322;
- }
- $j = 0;
- while(1) {
- $208 = $j;
- $209 = $order$addr;
- $conv325 = $209 << 16 >> 16;
- $cmp326 = ($208|0)<($conv325|0);
- $210 = $ind_tmp;
- if (!($cmp326)) {
- break;
- }
- $and329 = $210 & 3;
- $arrayidx330 = (($ind) + ($and329<<4)|0);
- $211 = $j;
- $arrayidx331 = (($arrayidx330) + ($211)|0);
- $212 = HEAP8[$arrayidx331>>0]|0;
- $213 = $indices$addr;
- $214 = $j;
- $arrayidx332 = (($213) + ($214)|0);
- HEAP8[$arrayidx332>>0] = $212;
- $215 = $j;
- $inc334 = (($215) + 1)|0;
- $j = $inc334;
- }
- $shr336 = $210 >> 2;
- $216 = $indices$addr;
- $217 = HEAP8[$216>>0]|0;
- $conv338 = $217 << 24 >> 24;
- $add339 = (($conv338) + ($shr336))|0;
- $conv340 = $add339&255;
- HEAP8[$216>>0] = $conv340;
- $218 = $min_Q25;
- STACKTOP = sp;return ($218|0);
-}
-function _silk_corrVector_FLP($x,$t,$L,$Order,$Xt) {
- $x = $x|0;
- $t = $t|0;
- $L = $L|0;
- $Order = $Order|0;
- $Xt = $Xt|0;
- var $0 = 0, $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $L$addr = 0, $Order$addr = 0, $Xt$addr = 0, $arrayidx = 0, $arrayidx1 = 0, $call = 0.0, $cmp = 0, $conv = 0.0, $inc = 0;
- var $incdec$ptr = 0, $lag = 0, $ptr1 = 0, $sub = 0, $t$addr = 0, $x$addr = 0, label = 0, sp = 0;
+ var $99 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $x$addr = $x;
- $t$addr = $t;
- $L$addr = $L;
- $Order$addr = $Order;
- $Xt$addr = $Xt;
- $0 = $x$addr;
- $1 = $Order$addr;
- $sub = (($1) - 1)|0;
- $arrayidx = (($0) + ($sub<<2)|0);
- $ptr1 = $arrayidx;
- $lag = 0;
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $9 = $4;
+ $10 = HEAP16[$9>>1]|0;
+ $11 = $10 << 16 >> 16;
+ $12 = (_silk_max_int_496($11,1)|0);
+ $7 = $12;
+ $13 = $7;
+ $14 = (131072 / ($13|0))&-1;
+ $7 = $14;
+ $15 = $4;
+ $16 = ((($15)) + 2|0);
+ $17 = HEAP16[$16>>1]|0;
+ $18 = $17 << 16 >> 16;
+ $19 = $4;
+ $20 = HEAP16[$19>>1]|0;
+ $21 = $20 << 16 >> 16;
+ $22 = (($18) - ($21))|0;
+ $23 = (_silk_max_int_496($22,1)|0);
+ $8 = $23;
+ $24 = $8;
+ $25 = (131072 / ($24|0))&-1;
+ $8 = $25;
+ $26 = $7;
+ $27 = $8;
+ $28 = (($26) + ($27))|0;
+ $29 = (_silk_min_int_497($28,32767)|0);
+ $30 = $29&65535;
+ $31 = $3;
+ HEAP16[$31>>1] = $30;
+ $6 = 1;
while(1) {
- $2 = $lag;
- $3 = $Order$addr;
- $cmp = ($2|0)<($3|0);
- if (!($cmp)) {
+ $32 = $6;
+ $33 = $5;
+ $34 = (($33) - 1)|0;
+ $35 = ($32|0)<($34|0);
+ $36 = $4;
+ if (!($35)) {
break;
}
- $4 = $ptr1;
- $5 = $t$addr;
- $6 = $L$addr;
- $call = (+_silk_inner_product_FLP($4,$5,$6));
- $conv = $call;
- $7 = $Xt$addr;
- $8 = $lag;
- $arrayidx1 = (($7) + ($8<<2)|0);
- HEAPF32[$arrayidx1>>2] = $conv;
- $9 = $ptr1;
- $incdec$ptr = ((($9)) + -4|0);
- $ptr1 = $incdec$ptr;
- $10 = $lag;
- $inc = (($10) + 1)|0;
- $lag = $inc;
+ $37 = $6;
+ $38 = (($37) + 1)|0;
+ $39 = (($36) + ($38<<1)|0);
+ $40 = HEAP16[$39>>1]|0;
+ $41 = $40 << 16 >> 16;
+ $42 = $4;
+ $43 = $6;
+ $44 = (($42) + ($43<<1)|0);
+ $45 = HEAP16[$44>>1]|0;
+ $46 = $45 << 16 >> 16;
+ $47 = (($41) - ($46))|0;
+ $48 = (_silk_max_int_496($47,1)|0);
+ $7 = $48;
+ $49 = $7;
+ $50 = (131072 / ($49|0))&-1;
+ $7 = $50;
+ $51 = $7;
+ $52 = $8;
+ $53 = (($51) + ($52))|0;
+ $54 = (_silk_min_int_497($53,32767)|0);
+ $55 = $54&65535;
+ $56 = $3;
+ $57 = $6;
+ $58 = (($56) + ($57<<1)|0);
+ HEAP16[$58>>1] = $55;
+ $59 = $4;
+ $60 = $6;
+ $61 = (($60) + 2)|0;
+ $62 = (($59) + ($61<<1)|0);
+ $63 = HEAP16[$62>>1]|0;
+ $64 = $63 << 16 >> 16;
+ $65 = $4;
+ $66 = $6;
+ $67 = (($66) + 1)|0;
+ $68 = (($65) + ($67<<1)|0);
+ $69 = HEAP16[$68>>1]|0;
+ $70 = $69 << 16 >> 16;
+ $71 = (($64) - ($70))|0;
+ $72 = (_silk_max_int_496($71,1)|0);
+ $8 = $72;
+ $73 = $8;
+ $74 = (131072 / ($73|0))&-1;
+ $8 = $74;
+ $75 = $7;
+ $76 = $8;
+ $77 = (($75) + ($76))|0;
+ $78 = (_silk_min_int_497($77,32767)|0);
+ $79 = $78&65535;
+ $80 = $3;
+ $81 = $6;
+ $82 = (($81) + 1)|0;
+ $83 = (($80) + ($82<<1)|0);
+ HEAP16[$83>>1] = $79;
+ $84 = $6;
+ $85 = (($84) + 2)|0;
+ $6 = $85;
}
+ $86 = $5;
+ $87 = (($86) - 1)|0;
+ $88 = (($36) + ($87<<1)|0);
+ $89 = HEAP16[$88>>1]|0;
+ $90 = $89 << 16 >> 16;
+ $91 = (32768 - ($90))|0;
+ $92 = (_silk_max_int_496($91,1)|0);
+ $7 = $92;
+ $93 = $7;
+ $94 = (131072 / ($93|0))&-1;
+ $7 = $94;
+ $95 = $7;
+ $96 = $8;
+ $97 = (($95) + ($96))|0;
+ $98 = (_silk_min_int_497($97,32767)|0);
+ $99 = $98&65535;
+ $100 = $3;
+ $101 = $5;
+ $102 = (($101) - 1)|0;
+ $103 = (($100) + ($102<<1)|0);
+ HEAP16[$103>>1] = $99;
STACKTOP = sp;return;
}
-function _silk_corrMatrix_FLP($x,$L,$Order,$XX) {
- $x = $x|0;
- $L = $L|0;
- $Order = $Order|0;
- $XX = $XX|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0.0, $12 = 0, $13 = 0, $14 = 0.0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0.0, $24 = 0.0, $25 = 0, $26 = 0;
- var $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0.0, $38 = 0, $39 = 0, $4 = 0.0, $40 = 0, $41 = 0.0, $42 = 0, $43 = 0, $44 = 0;
- var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0, $57 = 0.0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0.0, $62 = 0.0;
- var $63 = 0.0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0.0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $8 = 0, $9 = 0, $L$addr = 0, $Order$addr = 0;
- var $XX$addr = 0, $add = 0, $add$ptr = 0, $add$ptr18 = 0, $add$ptr29 = 0, $add$ptr33 = 0, $add$ptr56 = 0, $add$ptr61 = 0, $add14 = 0.0, $add17 = 0, $add28 = 0, $add32 = 0, $add51 = 0.0, $add53 = 0, $add55 = 0, $add59 = 0, $add60 = 0, $arrayidx = 0, $arrayidx10 = 0, $arrayidx20 = 0;
- var $arrayidx3 = 0, $arrayidx40 = 0, $arrayidx42 = 0, $arrayidx45 = 0, $arrayidx47 = 0, $arrayidx5 = 0, $arrayidx8 = 0, $call = 0.0, $call25 = 0.0, $cmp = 0, $cmp22 = 0, $cmp36 = 0, $conv = 0.0, $conv13 = 0.0, $conv15 = 0.0, $conv26 = 0.0, $conv30 = 0.0, $conv50 = 0.0, $conv52 = 0.0, $conv57 = 0.0;
- var $energy = 0.0, $inc = 0, $inc63 = 0, $inc66 = 0, $incdec$ptr = 0, $j = 0, $lag = 0, $mul = 0, $mul11 = 0.0, $mul16 = 0, $mul27 = 0, $mul31 = 0, $mul43 = 0.0, $mul48 = 0.0, $mul54 = 0, $mul58 = 0, $mul6 = 0.0, $ptr1 = 0, $ptr2 = 0, $sub = 0;
- var $sub12 = 0.0, $sub19 = 0, $sub2 = 0, $sub35 = 0, $sub39 = 0, $sub4 = 0, $sub41 = 0, $sub44 = 0, $sub46 = 0, $sub49 = 0.0, $sub7 = 0, $sub9 = 0, $x$addr = 0, label = 0, sp = 0;
+function _silk_max_int_496($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
- $x$addr = $x;
- $L$addr = $L;
- $Order$addr = $Order;
- $XX$addr = $XX;
- $0 = $x$addr;
- $1 = $Order$addr;
- $sub = (($1) - 1)|0;
- $arrayidx = (($0) + ($sub<<2)|0);
- $ptr1 = $arrayidx;
- $2 = $ptr1;
- $3 = $L$addr;
- $call = (+_silk_energy_FLP($2,$3));
- $energy = $call;
- $4 = $energy;
- $conv = $4;
- $5 = $XX$addr;
- $6 = $Order$addr;
- $mul = 0;
- $add = (($mul) + 0)|0;
- $add$ptr = (($5) + ($add<<2)|0);
- HEAPF32[$add$ptr>>2] = $conv;
- $j = 1;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)>($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_min_int_497($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $3 = $1;
+ $4 = $2;
+ $5 = $3;
+ $6 = ($4|0)<($5|0);
+ $7 = $2;
+ $8 = $3;
+ $9 = $6 ? $7 : $8;
+ STACKTOP = sp;return ($9|0);
+}
+function _silk_resampler_down2_3($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 1968|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1968|0);
+ $12 = sp;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $13 = $4;
+ ;HEAP32[$12>>2]=HEAP32[$13>>2]|0;HEAP32[$12+4>>2]=HEAP32[$13+4>>2]|0;HEAP32[$12+8>>2]=HEAP32[$13+8>>2]|0;HEAP32[$12+12>>2]=HEAP32[$13+12>>2]|0;
while(1) {
- $7 = $j;
- $8 = $Order$addr;
- $cmp = ($7|0)<($8|0);
- if (!($cmp)) {
- break;
- }
- $9 = $ptr1;
- $10 = $j;
- $sub2 = (0 - ($10))|0;
- $arrayidx3 = (($9) + ($sub2<<2)|0);
- $11 = +HEAPF32[$arrayidx3>>2];
- $12 = $ptr1;
- $13 = $j;
- $sub4 = (0 - ($13))|0;
- $arrayidx5 = (($12) + ($sub4<<2)|0);
- $14 = +HEAPF32[$arrayidx5>>2];
- $mul6 = $11 * $14;
- $15 = $ptr1;
- $16 = $L$addr;
- $17 = $j;
- $sub7 = (($16) - ($17))|0;
- $arrayidx8 = (($15) + ($sub7<<2)|0);
- $18 = +HEAPF32[$arrayidx8>>2];
- $19 = $ptr1;
- $20 = $L$addr;
- $21 = $j;
- $sub9 = (($20) - ($21))|0;
- $arrayidx10 = (($19) + ($sub9<<2)|0);
- $22 = +HEAPF32[$arrayidx10>>2];
- $mul11 = $18 * $22;
- $sub12 = $mul6 - $mul11;
- $conv13 = $sub12;
- $23 = $energy;
- $add14 = $23 + $conv13;
- $energy = $add14;
- $24 = $energy;
- $conv15 = $24;
- $25 = $XX$addr;
- $26 = $j;
- $27 = $Order$addr;
- $mul16 = Math_imul($26, $27)|0;
- $28 = $j;
- $add17 = (($mul16) + ($28))|0;
- $add$ptr18 = (($25) + ($add17<<2)|0);
- HEAPF32[$add$ptr18>>2] = $conv15;
- $29 = $j;
- $inc = (($29) + 1)|0;
- $j = $inc;
- }
- $30 = $x$addr;
- $31 = $Order$addr;
- $sub19 = (($31) - 2)|0;
- $arrayidx20 = (($30) + ($sub19<<2)|0);
- $ptr2 = $arrayidx20;
- $lag = 1;
- while(1) {
- $32 = $lag;
- $33 = $Order$addr;
- $cmp22 = ($32|0)<($33|0);
- if (!($cmp22)) {
- break;
- }
- $34 = $ptr1;
- $35 = $ptr2;
- $36 = $L$addr;
- $call25 = (+_silk_inner_product_FLP($34,$35,$36));
- $energy = $call25;
- $37 = $energy;
- $conv26 = $37;
- $38 = $XX$addr;
- $39 = $lag;
- $40 = $Order$addr;
- $mul27 = Math_imul($39, $40)|0;
- $add28 = (($mul27) + 0)|0;
- $add$ptr29 = (($38) + ($add28<<2)|0);
- HEAPF32[$add$ptr29>>2] = $conv26;
- $41 = $energy;
- $conv30 = $41;
- $42 = $XX$addr;
- $43 = $Order$addr;
- $mul31 = 0;
- $44 = $lag;
- $add32 = (($mul31) + ($44))|0;
- $add$ptr33 = (($42) + ($add32<<2)|0);
- HEAPF32[$add$ptr33>>2] = $conv30;
- $j = 1;
+ $14 = $7;
+ $15 = ($14|0)<(480);
+ $16 = $7;
+ $17 = $15 ? $16 : 480;
+ $8 = $17;
+ $18 = $4;
+ $19 = ((($18)) + 16|0);
+ $20 = ((($12)) + 16|0);
+ $21 = $6;
+ $22 = $8;
+ _silk_resampler_private_AR2($19,$20,$21,25270,$22);
+ $11 = $12;
+ $23 = $8;
+ $9 = $23;
while(1) {
- $45 = $j;
- $46 = $Order$addr;
- $47 = $lag;
- $sub35 = (($46) - ($47))|0;
- $cmp36 = ($45|0)<($sub35|0);
- if (!($cmp36)) {
+ $24 = $9;
+ $25 = ($24|0)>(2);
+ if (!($25)) {
break;
}
- $48 = $ptr1;
- $49 = $j;
- $sub39 = (0 - ($49))|0;
- $arrayidx40 = (($48) + ($sub39<<2)|0);
- $50 = +HEAPF32[$arrayidx40>>2];
- $51 = $ptr2;
- $52 = $j;
- $sub41 = (0 - ($52))|0;
- $arrayidx42 = (($51) + ($sub41<<2)|0);
- $53 = +HEAPF32[$arrayidx42>>2];
- $mul43 = $50 * $53;
- $54 = $ptr1;
- $55 = $L$addr;
- $56 = $j;
- $sub44 = (($55) - ($56))|0;
- $arrayidx45 = (($54) + ($sub44<<2)|0);
- $57 = +HEAPF32[$arrayidx45>>2];
- $58 = $ptr2;
- $59 = $L$addr;
- $60 = $j;
- $sub46 = (($59) - ($60))|0;
- $arrayidx47 = (($58) + ($sub46<<2)|0);
- $61 = +HEAPF32[$arrayidx47>>2];
- $mul48 = $57 * $61;
- $sub49 = $mul43 - $mul48;
- $conv50 = $sub49;
- $62 = $energy;
- $add51 = $62 + $conv50;
- $energy = $add51;
- $63 = $energy;
- $conv52 = $63;
- $64 = $XX$addr;
- $65 = $lag;
- $66 = $j;
- $add53 = (($65) + ($66))|0;
- $67 = $Order$addr;
- $mul54 = Math_imul($add53, $67)|0;
- $68 = $j;
- $add55 = (($mul54) + ($68))|0;
- $add$ptr56 = (($64) + ($add55<<2)|0);
- HEAPF32[$add$ptr56>>2] = $conv52;
- $69 = $energy;
- $conv57 = $69;
- $70 = $XX$addr;
- $71 = $j;
- $72 = $Order$addr;
- $mul58 = Math_imul($71, $72)|0;
- $73 = $lag;
- $74 = $j;
- $add59 = (($73) + ($74))|0;
- $add60 = (($mul58) + ($add59))|0;
- $add$ptr61 = (($70) + ($add60<<2)|0);
- HEAPF32[$add$ptr61>>2] = $conv57;
- $75 = $j;
- $inc63 = (($75) + 1)|0;
- $j = $inc63;
+ $26 = $11;
+ $27 = HEAP32[$26>>2]|0;
+ $28 = $27 >> 16;
+ $29 = HEAP16[(25274)>>1]|0;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($28, $30)|0;
+ $32 = $11;
+ $33 = HEAP32[$32>>2]|0;
+ $34 = $33 & 65535;
+ $35 = HEAP16[(25274)>>1]|0;
+ $36 = $35 << 16 >> 16;
+ $37 = Math_imul($34, $36)|0;
+ $38 = $37 >> 16;
+ $39 = (($31) + ($38))|0;
+ $10 = $39;
+ $40 = $10;
+ $41 = $11;
+ $42 = ((($41)) + 4|0);
+ $43 = HEAP32[$42>>2]|0;
+ $44 = $43 >> 16;
+ $45 = HEAP16[(25276)>>1]|0;
+ $46 = $45 << 16 >> 16;
+ $47 = Math_imul($44, $46)|0;
+ $48 = $11;
+ $49 = ((($48)) + 4|0);
+ $50 = HEAP32[$49>>2]|0;
+ $51 = $50 & 65535;
+ $52 = HEAP16[(25276)>>1]|0;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($51, $53)|0;
+ $55 = $54 >> 16;
+ $56 = (($47) + ($55))|0;
+ $57 = (($40) + ($56))|0;
+ $10 = $57;
+ $58 = $10;
+ $59 = $11;
+ $60 = ((($59)) + 8|0);
+ $61 = HEAP32[$60>>2]|0;
+ $62 = $61 >> 16;
+ $63 = HEAP16[(25280)>>1]|0;
+ $64 = $63 << 16 >> 16;
+ $65 = Math_imul($62, $64)|0;
+ $66 = $11;
+ $67 = ((($66)) + 8|0);
+ $68 = HEAP32[$67>>2]|0;
+ $69 = $68 & 65535;
+ $70 = HEAP16[(25280)>>1]|0;
+ $71 = $70 << 16 >> 16;
+ $72 = Math_imul($69, $71)|0;
+ $73 = $72 >> 16;
+ $74 = (($65) + ($73))|0;
+ $75 = (($58) + ($74))|0;
+ $10 = $75;
+ $76 = $10;
+ $77 = $11;
+ $78 = ((($77)) + 12|0);
+ $79 = HEAP32[$78>>2]|0;
+ $80 = $79 >> 16;
+ $81 = HEAP16[(25278)>>1]|0;
+ $82 = $81 << 16 >> 16;
+ $83 = Math_imul($80, $82)|0;
+ $84 = $11;
+ $85 = ((($84)) + 12|0);
+ $86 = HEAP32[$85>>2]|0;
+ $87 = $86 & 65535;
+ $88 = HEAP16[(25278)>>1]|0;
+ $89 = $88 << 16 >> 16;
+ $90 = Math_imul($87, $89)|0;
+ $91 = $90 >> 16;
+ $92 = (($83) + ($91))|0;
+ $93 = (($76) + ($92))|0;
+ $10 = $93;
+ $94 = $10;
+ $95 = $94 >> 5;
+ $96 = (($95) + 1)|0;
+ $97 = $96 >> 1;
+ $98 = ($97|0)>(32767);
+ if ($98) {
+ $109 = 32767;
+ } else {
+ $99 = $10;
+ $100 = $99 >> 5;
+ $101 = (($100) + 1)|0;
+ $102 = $101 >> 1;
+ $103 = ($102|0)<(-32768);
+ if ($103) {
+ $109 = -32768;
+ } else {
+ $104 = $10;
+ $105 = $104 >> 5;
+ $106 = (($105) + 1)|0;
+ $107 = $106 >> 1;
+ $109 = $107;
+ }
+ }
+ $108 = $109&65535;
+ $110 = $5;
+ $111 = ((($110)) + 2|0);
+ $5 = $111;
+ HEAP16[$110>>1] = $108;
+ $112 = $11;
+ $113 = ((($112)) + 4|0);
+ $114 = HEAP32[$113>>2]|0;
+ $115 = $114 >> 16;
+ $116 = HEAP16[(25278)>>1]|0;
+ $117 = $116 << 16 >> 16;
+ $118 = Math_imul($115, $117)|0;
+ $119 = $11;
+ $120 = ((($119)) + 4|0);
+ $121 = HEAP32[$120>>2]|0;
+ $122 = $121 & 65535;
+ $123 = HEAP16[(25278)>>1]|0;
+ $124 = $123 << 16 >> 16;
+ $125 = Math_imul($122, $124)|0;
+ $126 = $125 >> 16;
+ $127 = (($118) + ($126))|0;
+ $10 = $127;
+ $128 = $10;
+ $129 = $11;
+ $130 = ((($129)) + 8|0);
+ $131 = HEAP32[$130>>2]|0;
+ $132 = $131 >> 16;
+ $133 = HEAP16[(25280)>>1]|0;
+ $134 = $133 << 16 >> 16;
+ $135 = Math_imul($132, $134)|0;
+ $136 = $11;
+ $137 = ((($136)) + 8|0);
+ $138 = HEAP32[$137>>2]|0;
+ $139 = $138 & 65535;
+ $140 = HEAP16[(25280)>>1]|0;
+ $141 = $140 << 16 >> 16;
+ $142 = Math_imul($139, $141)|0;
+ $143 = $142 >> 16;
+ $144 = (($135) + ($143))|0;
+ $145 = (($128) + ($144))|0;
+ $10 = $145;
+ $146 = $10;
+ $147 = $11;
+ $148 = ((($147)) + 12|0);
+ $149 = HEAP32[$148>>2]|0;
+ $150 = $149 >> 16;
+ $151 = HEAP16[(25276)>>1]|0;
+ $152 = $151 << 16 >> 16;
+ $153 = Math_imul($150, $152)|0;
+ $154 = $11;
+ $155 = ((($154)) + 12|0);
+ $156 = HEAP32[$155>>2]|0;
+ $157 = $156 & 65535;
+ $158 = HEAP16[(25276)>>1]|0;
+ $159 = $158 << 16 >> 16;
+ $160 = Math_imul($157, $159)|0;
+ $161 = $160 >> 16;
+ $162 = (($153) + ($161))|0;
+ $163 = (($146) + ($162))|0;
+ $10 = $163;
+ $164 = $10;
+ $165 = $11;
+ $166 = ((($165)) + 16|0);
+ $167 = HEAP32[$166>>2]|0;
+ $168 = $167 >> 16;
+ $169 = HEAP16[(25274)>>1]|0;
+ $170 = $169 << 16 >> 16;
+ $171 = Math_imul($168, $170)|0;
+ $172 = $11;
+ $173 = ((($172)) + 16|0);
+ $174 = HEAP32[$173>>2]|0;
+ $175 = $174 & 65535;
+ $176 = HEAP16[(25274)>>1]|0;
+ $177 = $176 << 16 >> 16;
+ $178 = Math_imul($175, $177)|0;
+ $179 = $178 >> 16;
+ $180 = (($171) + ($179))|0;
+ $181 = (($164) + ($180))|0;
+ $10 = $181;
+ $182 = $10;
+ $183 = $182 >> 5;
+ $184 = (($183) + 1)|0;
+ $185 = $184 >> 1;
+ $186 = ($185|0)>(32767);
+ if ($186) {
+ $197 = 32767;
+ } else {
+ $187 = $10;
+ $188 = $187 >> 5;
+ $189 = (($188) + 1)|0;
+ $190 = $189 >> 1;
+ $191 = ($190|0)<(-32768);
+ if ($191) {
+ $197 = -32768;
+ } else {
+ $192 = $10;
+ $193 = $192 >> 5;
+ $194 = (($193) + 1)|0;
+ $195 = $194 >> 1;
+ $197 = $195;
+ }
+ }
+ $196 = $197&65535;
+ $198 = $5;
+ $199 = ((($198)) + 2|0);
+ $5 = $199;
+ HEAP16[$198>>1] = $196;
+ $200 = $11;
+ $201 = ((($200)) + 12|0);
+ $11 = $201;
+ $202 = $9;
+ $203 = (($202) - 3)|0;
+ $9 = $203;
}
- $76 = $ptr2;
- $incdec$ptr = ((($76)) + -4|0);
- $ptr2 = $incdec$ptr;
- $77 = $lag;
- $inc66 = (($77) + 1)|0;
- $lag = $inc66;
+ $204 = $8;
+ $205 = $6;
+ $206 = (($205) + ($204<<1)|0);
+ $6 = $206;
+ $207 = $8;
+ $208 = $7;
+ $209 = (($208) - ($207))|0;
+ $7 = $209;
+ $210 = $7;
+ $211 = ($210|0)>(0);
+ if (!($211)) {
+ break;
+ }
+ $212 = $8;
+ $213 = (($12) + ($212<<2)|0);
+ ;HEAP32[$12>>2]=HEAP32[$213>>2]|0;HEAP32[$12+4>>2]=HEAP32[$213+4>>2]|0;HEAP32[$12+8>>2]=HEAP32[$213+8>>2]|0;HEAP32[$12+12>>2]=HEAP32[$213+12>>2]|0;
+ }
+ $214 = $4;
+ $215 = $8;
+ $216 = (($12) + ($215<<2)|0);
+ ;HEAP32[$214>>2]=HEAP32[$216>>2]|0;HEAP32[$214+4>>2]=HEAP32[$216+4>>2]|0;HEAP32[$214+8>>2]=HEAP32[$216+8>>2]|0;HEAP32[$214+12>>2]=HEAP32[$216+12>>2]|0;
+ STACKTOP = sp;return;
+}
+function _silk_resampler_down2($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0;
+ var $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0;
+ var $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0;
+ var $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $14 = $7;
+ $15 = $14 >> 1;
+ $9 = $15;
+ $8 = 0;
+ while(1) {
+ $16 = $8;
+ $17 = $9;
+ $18 = ($16|0)<($17|0);
+ if (!($18)) {
+ break;
+ }
+ $19 = $6;
+ $20 = $8;
+ $21 = $20<<1;
+ $22 = (($19) + ($21<<1)|0);
+ $23 = HEAP16[$22>>1]|0;
+ $24 = $23 << 16 >> 16;
+ $25 = $24 << 10;
+ $10 = $25;
+ $26 = $10;
+ $27 = $4;
+ $28 = HEAP32[$27>>2]|0;
+ $29 = (($26) - ($28))|0;
+ $12 = $29;
+ $30 = $12;
+ $31 = $12;
+ $32 = $31 >> 16;
+ $33 = Math_imul($32, -25727)|0;
+ $34 = $12;
+ $35 = $34 & 65535;
+ $36 = Math_imul($35, -25727)|0;
+ $37 = $36 >> 16;
+ $38 = (($33) + ($37))|0;
+ $39 = (($30) + ($38))|0;
+ $13 = $39;
+ $40 = $4;
+ $41 = HEAP32[$40>>2]|0;
+ $42 = $13;
+ $43 = (($41) + ($42))|0;
+ $11 = $43;
+ $44 = $10;
+ $45 = $13;
+ $46 = (($44) + ($45))|0;
+ $47 = $4;
+ HEAP32[$47>>2] = $46;
+ $48 = $6;
+ $49 = $8;
+ $50 = $49<<1;
+ $51 = (($50) + 1)|0;
+ $52 = (($48) + ($51<<1)|0);
+ $53 = HEAP16[$52>>1]|0;
+ $54 = $53 << 16 >> 16;
+ $55 = $54 << 10;
+ $10 = $55;
+ $56 = $10;
+ $57 = $4;
+ $58 = ((($57)) + 4|0);
+ $59 = HEAP32[$58>>2]|0;
+ $60 = (($56) - ($59))|0;
+ $12 = $60;
+ $61 = $12;
+ $62 = $61 >> 16;
+ $63 = ($62*9872)|0;
+ $64 = $12;
+ $65 = $64 & 65535;
+ $66 = ($65*9872)|0;
+ $67 = $66 >> 16;
+ $68 = (($63) + ($67))|0;
+ $13 = $68;
+ $69 = $11;
+ $70 = $4;
+ $71 = ((($70)) + 4|0);
+ $72 = HEAP32[$71>>2]|0;
+ $73 = (($69) + ($72))|0;
+ $11 = $73;
+ $74 = $11;
+ $75 = $13;
+ $76 = (($74) + ($75))|0;
+ $11 = $76;
+ $77 = $10;
+ $78 = $13;
+ $79 = (($77) + ($78))|0;
+ $80 = $4;
+ $81 = ((($80)) + 4|0);
+ HEAP32[$81>>2] = $79;
+ $82 = $11;
+ $83 = $82 >> 10;
+ $84 = (($83) + 1)|0;
+ $85 = $84 >> 1;
+ $86 = ($85|0)>(32767);
+ if ($86) {
+ $97 = 32767;
+ } else {
+ $87 = $11;
+ $88 = $87 >> 10;
+ $89 = (($88) + 1)|0;
+ $90 = $89 >> 1;
+ $91 = ($90|0)<(-32768);
+ if ($91) {
+ $97 = -32768;
+ } else {
+ $92 = $11;
+ $93 = $92 >> 10;
+ $94 = (($93) + 1)|0;
+ $95 = $94 >> 1;
+ $97 = $95;
+ }
+ }
+ $96 = $97&65535;
+ $98 = $5;
+ $99 = $8;
+ $100 = (($98) + ($99<<1)|0);
+ HEAP16[$100>>1] = $96;
+ $101 = $8;
+ $102 = (($101) + 1)|0;
+ $8 = $102;
}
STACKTOP = sp;return;
}
-function _malloc($bytes) {
- $bytes = $bytes|0;
- var $$pre = 0, $$pre$i = 0, $$pre$i$i = 0, $$pre$i179 = 0, $$pre$i182 = 0, $$pre$i44$i = 0, $$pre$phi$i$iZ2D = 0, $$pre$phi$i180Z2D = 0, $$pre$phi$i45$iZ2D = 0, $$pre$phi$iZ2D = 0, $$pre$phiZ2D = 0, $$pre6$i$i = 0, $$sink$i = 0, $$sink$i$i = 0, $$sink$i158 = 0, $$sink2$i = 0, $$sink2$i176 = 0, $$sink5$i = 0, $$v$0$i = 0, $0 = 0;
- var $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
+function _silk_resampler_private_AR2($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = 0;
+ while(1) {
+ $12 = $10;
+ $13 = $9;
+ $14 = ($12|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $15 = $5;
+ $16 = HEAP32[$15>>2]|0;
+ $17 = $7;
+ $18 = $10;
+ $19 = (($17) + ($18<<1)|0);
+ $20 = HEAP16[$19>>1]|0;
+ $21 = $20 << 16 >> 16;
+ $22 = $21 << 8;
+ $23 = (($16) + ($22))|0;
+ $11 = $23;
+ $24 = $11;
+ $25 = $6;
+ $26 = $10;
+ $27 = (($25) + ($26<<2)|0);
+ HEAP32[$27>>2] = $24;
+ $28 = $11;
+ $29 = $28 << 2;
+ $11 = $29;
+ $30 = $5;
+ $31 = ((($30)) + 4|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = $11;
+ $34 = $33 >> 16;
+ $35 = $8;
+ $36 = HEAP16[$35>>1]|0;
+ $37 = $36 << 16 >> 16;
+ $38 = Math_imul($34, $37)|0;
+ $39 = $11;
+ $40 = $39 & 65535;
+ $41 = $8;
+ $42 = HEAP16[$41>>1]|0;
+ $43 = $42 << 16 >> 16;
+ $44 = Math_imul($40, $43)|0;
+ $45 = $44 >> 16;
+ $46 = (($38) + ($45))|0;
+ $47 = (($32) + ($46))|0;
+ $48 = $5;
+ HEAP32[$48>>2] = $47;
+ $49 = $11;
+ $50 = $49 >> 16;
+ $51 = $8;
+ $52 = ((($51)) + 2|0);
+ $53 = HEAP16[$52>>1]|0;
+ $54 = $53 << 16 >> 16;
+ $55 = Math_imul($50, $54)|0;
+ $56 = $11;
+ $57 = $56 & 65535;
+ $58 = $8;
+ $59 = ((($58)) + 2|0);
+ $60 = HEAP16[$59>>1]|0;
+ $61 = $60 << 16 >> 16;
+ $62 = Math_imul($57, $61)|0;
+ $63 = $62 >> 16;
+ $64 = (($55) + ($63))|0;
+ $65 = $5;
+ $66 = ((($65)) + 4|0);
+ HEAP32[$66>>2] = $64;
+ $67 = $10;
+ $68 = (($67) + 1)|0;
+ $10 = $68;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_sigm_Q15($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0, $6 = 0;
+ var $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $2 = $0;
+ $4 = $2;
+ $5 = ($4|0)<(0);
+ $6 = $2;
+ if ($5) {
+ $7 = (0 - ($6))|0;
+ $2 = $7;
+ $8 = $2;
+ $9 = ($8|0)>=(192);
+ if ($9) {
+ $1 = 0;
+ $43 = $1;
+ STACKTOP = sp;return ($43|0);
+ } else {
+ $10 = $2;
+ $11 = $10 >> 5;
+ $3 = $11;
+ $12 = $3;
+ $13 = (22304 + ($12<<2)|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = $3;
+ $16 = (22328 + ($15<<2)|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = $17&65535;
+ $19 = $18 << 16 >> 16;
+ $20 = $2;
+ $21 = $20 & 31;
+ $22 = $21&65535;
+ $23 = $22 << 16 >> 16;
+ $24 = Math_imul($19, $23)|0;
+ $25 = (($14) - ($24))|0;
+ $1 = $25;
+ $43 = $1;
+ STACKTOP = sp;return ($43|0);
+ }
+ } else {
+ $26 = ($6|0)>=(192);
+ if ($26) {
+ $1 = 32767;
+ $43 = $1;
+ STACKTOP = sp;return ($43|0);
+ } else {
+ $27 = $2;
+ $28 = $27 >> 5;
+ $3 = $28;
+ $29 = $3;
+ $30 = (22352 + ($29<<2)|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = $3;
+ $33 = (22328 + ($32<<2)|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = $34&65535;
+ $36 = $35 << 16 >> 16;
+ $37 = $2;
+ $38 = $37 & 31;
+ $39 = $38&65535;
+ $40 = $39 << 16 >> 16;
+ $41 = Math_imul($36, $40)|0;
+ $42 = (($31) + ($41))|0;
+ $1 = $42;
+ $43 = $1;
+ STACKTOP = sp;return ($43|0);
+ }
+ }
+ return (0)|0;
+}
+function _silk_insertion_sort_increasing($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0;
+ var $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $9 = 0;
+ while(1) {
+ $11 = $9;
+ $12 = $7;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $9;
+ $15 = $5;
+ $16 = $9;
+ $17 = (($15) + ($16<<2)|0);
+ HEAP32[$17>>2] = $14;
+ $18 = $9;
+ $19 = (($18) + 1)|0;
+ $9 = $19;
+ }
+ $9 = 1;
+ while(1) {
+ $20 = $9;
+ $21 = $7;
+ $22 = ($20|0)<($21|0);
+ if (!($22)) {
+ break;
+ }
+ $23 = $4;
+ $24 = $9;
+ $25 = (($23) + ($24<<2)|0);
+ $26 = HEAP32[$25>>2]|0;
+ $8 = $26;
+ $27 = $9;
+ $28 = (($27) - 1)|0;
+ $10 = $28;
+ while(1) {
+ $29 = $10;
+ $30 = ($29|0)>=(0);
+ if (!($30)) {
+ break;
+ }
+ $31 = $8;
+ $32 = $4;
+ $33 = $10;
+ $34 = (($32) + ($33<<2)|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = ($31|0)<($35|0);
+ if (!($36)) {
+ break;
+ }
+ $37 = $4;
+ $38 = $10;
+ $39 = (($37) + ($38<<2)|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = $4;
+ $42 = $10;
+ $43 = (($42) + 1)|0;
+ $44 = (($41) + ($43<<2)|0);
+ HEAP32[$44>>2] = $40;
+ $45 = $5;
+ $46 = $10;
+ $47 = (($45) + ($46<<2)|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = $5;
+ $50 = $10;
+ $51 = (($50) + 1)|0;
+ $52 = (($49) + ($51<<2)|0);
+ HEAP32[$52>>2] = $48;
+ $53 = $10;
+ $54 = (($53) + -1)|0;
+ $10 = $54;
+ }
+ $55 = $8;
+ $56 = $4;
+ $57 = $10;
+ $58 = (($57) + 1)|0;
+ $59 = (($56) + ($58<<2)|0);
+ HEAP32[$59>>2] = $55;
+ $60 = $9;
+ $61 = $5;
+ $62 = $10;
+ $63 = (($62) + 1)|0;
+ $64 = (($61) + ($63<<2)|0);
+ HEAP32[$64>>2] = $60;
+ $65 = $9;
+ $66 = (($65) + 1)|0;
+ $9 = $66;
+ }
+ $67 = $7;
+ $9 = $67;
+ while(1) {
+ $68 = $9;
+ $69 = $6;
+ $70 = ($68|0)<($69|0);
+ if (!($70)) {
+ break;
+ }
+ $71 = $4;
+ $72 = $9;
+ $73 = (($71) + ($72<<2)|0);
+ $74 = HEAP32[$73>>2]|0;
+ $8 = $74;
+ $75 = $8;
+ $76 = $4;
+ $77 = $7;
+ $78 = (($77) - 1)|0;
+ $79 = (($76) + ($78<<2)|0);
+ $80 = HEAP32[$79>>2]|0;
+ $81 = ($75|0)<($80|0);
+ if ($81) {
+ $82 = $7;
+ $83 = (($82) - 2)|0;
+ $10 = $83;
+ while(1) {
+ $84 = $10;
+ $85 = ($84|0)>=(0);
+ if (!($85)) {
+ break;
+ }
+ $86 = $8;
+ $87 = $4;
+ $88 = $10;
+ $89 = (($87) + ($88<<2)|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = ($86|0)<($90|0);
+ if (!($91)) {
+ break;
+ }
+ $92 = $4;
+ $93 = $10;
+ $94 = (($92) + ($93<<2)|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = $4;
+ $97 = $10;
+ $98 = (($97) + 1)|0;
+ $99 = (($96) + ($98<<2)|0);
+ HEAP32[$99>>2] = $95;
+ $100 = $5;
+ $101 = $10;
+ $102 = (($100) + ($101<<2)|0);
+ $103 = HEAP32[$102>>2]|0;
+ $104 = $5;
+ $105 = $10;
+ $106 = (($105) + 1)|0;
+ $107 = (($104) + ($106<<2)|0);
+ HEAP32[$107>>2] = $103;
+ $108 = $10;
+ $109 = (($108) + -1)|0;
+ $10 = $109;
+ }
+ $110 = $8;
+ $111 = $4;
+ $112 = $10;
+ $113 = (($112) + 1)|0;
+ $114 = (($111) + ($113<<2)|0);
+ HEAP32[$114>>2] = $110;
+ $115 = $9;
+ $116 = $5;
+ $117 = $10;
+ $118 = (($117) + 1)|0;
+ $119 = (($116) + ($118<<2)|0);
+ HEAP32[$119>>2] = $115;
+ }
+ $120 = $9;
+ $121 = (($120) + 1)|0;
+ $9 = $121;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_insertion_sort_increasing_all_values_int16($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $2 = $0;
+ $3 = $1;
+ $5 = 1;
+ while(1) {
+ $7 = $5;
+ $8 = $3;
+ $9 = ($7|0)<($8|0);
+ if (!($9)) {
+ break;
+ }
+ $10 = $2;
+ $11 = $5;
+ $12 = (($10) + ($11<<1)|0);
+ $13 = HEAP16[$12>>1]|0;
+ $14 = $13 << 16 >> 16;
+ $4 = $14;
+ $15 = $5;
+ $16 = (($15) - 1)|0;
+ $6 = $16;
+ while(1) {
+ $17 = $6;
+ $18 = ($17|0)>=(0);
+ if (!($18)) {
+ break;
+ }
+ $19 = $4;
+ $20 = $2;
+ $21 = $6;
+ $22 = (($20) + ($21<<1)|0);
+ $23 = HEAP16[$22>>1]|0;
+ $24 = $23 << 16 >> 16;
+ $25 = ($19|0)<($24|0);
+ if (!($25)) {
+ break;
+ }
+ $26 = $2;
+ $27 = $6;
+ $28 = (($26) + ($27<<1)|0);
+ $29 = HEAP16[$28>>1]|0;
+ $30 = $2;
+ $31 = $6;
+ $32 = (($31) + 1)|0;
+ $33 = (($30) + ($32<<1)|0);
+ HEAP16[$33>>1] = $29;
+ $34 = $6;
+ $35 = (($34) + -1)|0;
+ $6 = $35;
+ }
+ $36 = $4;
+ $37 = $36&65535;
+ $38 = $2;
+ $39 = $6;
+ $40 = (($39) + 1)|0;
+ $41 = (($38) + ($40<<1)|0);
+ HEAP16[$41>>1] = $37;
+ $42 = $5;
+ $43 = (($42) + 1)|0;
+ $5 = $43;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_sum_sqr_shift($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
+ var $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0;
+ var $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0;
+ var $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0;
+ var $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0;
+ var $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $11 = 0;
+ $9 = 0;
+ $12 = $7;
+ $13 = (($12) + -1)|0;
+ $7 = $13;
+ $8 = 0;
+ while(1) {
+ $14 = $8;
+ $15 = $7;
+ $16 = ($14|0)<($15|0);
+ if (!($16)) {
+ break;
+ }
+ $17 = $11;
+ $18 = $6;
+ $19 = $8;
+ $20 = (($18) + ($19<<1)|0);
+ $21 = HEAP16[$20>>1]|0;
+ $22 = $21 << 16 >> 16;
+ $23 = $6;
+ $24 = $8;
+ $25 = (($23) + ($24<<1)|0);
+ $26 = HEAP16[$25>>1]|0;
+ $27 = $26 << 16 >> 16;
+ $28 = Math_imul($22, $27)|0;
+ $29 = (($17) + ($28))|0;
+ $11 = $29;
+ $30 = $11;
+ $31 = $6;
+ $32 = $8;
+ $33 = (($32) + 1)|0;
+ $34 = (($31) + ($33<<1)|0);
+ $35 = HEAP16[$34>>1]|0;
+ $36 = $35 << 16 >> 16;
+ $37 = $6;
+ $38 = $8;
+ $39 = (($38) + 1)|0;
+ $40 = (($37) + ($39<<1)|0);
+ $41 = HEAP16[$40>>1]|0;
+ $42 = $41 << 16 >> 16;
+ $43 = Math_imul($36, $42)|0;
+ $44 = (($30) + ($43))|0;
+ $11 = $44;
+ $45 = $11;
+ $46 = ($45|0)<(0);
+ if ($46) {
+ label = 4;
+ break;
+ }
+ $51 = $8;
+ $52 = (($51) + 2)|0;
+ $8 = $52;
+ }
+ if ((label|0) == 4) {
+ $47 = $11;
+ $48 = $47 >>> 2;
+ $11 = $48;
+ $9 = 2;
+ $49 = $8;
+ $50 = (($49) + 2)|0;
+ $8 = $50;
+ }
+ while(1) {
+ $53 = $8;
+ $54 = $7;
+ $55 = ($53|0)<($54|0);
+ if (!($55)) {
+ break;
+ }
+ $56 = $6;
+ $57 = $8;
+ $58 = (($56) + ($57<<1)|0);
+ $59 = HEAP16[$58>>1]|0;
+ $60 = $59 << 16 >> 16;
+ $61 = $6;
+ $62 = $8;
+ $63 = (($61) + ($62<<1)|0);
+ $64 = HEAP16[$63>>1]|0;
+ $65 = $64 << 16 >> 16;
+ $66 = Math_imul($60, $65)|0;
+ $10 = $66;
+ $67 = $10;
+ $68 = $6;
+ $69 = $8;
+ $70 = (($69) + 1)|0;
+ $71 = (($68) + ($70<<1)|0);
+ $72 = HEAP16[$71>>1]|0;
+ $73 = $72 << 16 >> 16;
+ $74 = $6;
+ $75 = $8;
+ $76 = (($75) + 1)|0;
+ $77 = (($74) + ($76<<1)|0);
+ $78 = HEAP16[$77>>1]|0;
+ $79 = $78 << 16 >> 16;
+ $80 = Math_imul($73, $79)|0;
+ $81 = (($67) + ($80))|0;
+ $10 = $81;
+ $82 = $11;
+ $83 = $10;
+ $84 = $9;
+ $85 = $83 >>> $84;
+ $86 = (($82) + ($85))|0;
+ $11 = $86;
+ $87 = $11;
+ $88 = ($87|0)<(0);
+ if ($88) {
+ $89 = $11;
+ $90 = $89 >>> 2;
+ $11 = $90;
+ $91 = $9;
+ $92 = (($91) + 2)|0;
+ $9 = $92;
+ }
+ $93 = $8;
+ $94 = (($93) + 2)|0;
+ $8 = $94;
+ }
+ $95 = $8;
+ $96 = $7;
+ $97 = ($95|0)==($96|0);
+ if ($97) {
+ $98 = $6;
+ $99 = $8;
+ $100 = (($98) + ($99<<1)|0);
+ $101 = HEAP16[$100>>1]|0;
+ $102 = $101 << 16 >> 16;
+ $103 = $6;
+ $104 = $8;
+ $105 = (($103) + ($104<<1)|0);
+ $106 = HEAP16[$105>>1]|0;
+ $107 = $106 << 16 >> 16;
+ $108 = Math_imul($102, $107)|0;
+ $10 = $108;
+ $109 = $11;
+ $110 = $10;
+ $111 = $9;
+ $112 = $110 >> $111;
+ $113 = (($109) + ($112))|0;
+ $11 = $113;
+ }
+ $114 = $11;
+ $115 = $114 & -1073741824;
+ $116 = ($115|0)!=(0);
+ if (!($116)) {
+ $121 = $9;
+ $122 = $5;
+ HEAP32[$122>>2] = $121;
+ $123 = $11;
+ $124 = $4;
+ HEAP32[$124>>2] = $123;
+ STACKTOP = sp;return;
+ }
+ $117 = $11;
+ $118 = $117 >>> 2;
+ $11 = $118;
+ $119 = $9;
+ $120 = (($119) + 2)|0;
+ $9 = $120;
+ $121 = $9;
+ $122 = $5;
+ HEAP32[$122>>2] = $121;
+ $123 = $11;
+ $124 = $4;
+ HEAP32[$124>>2] = $123;
+ STACKTOP = sp;return;
+}
+function _silk_apply_sine_window_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0.0, $16 = 0.0, $17 = 0.0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0.0, $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0.0, $48 = 0.0;
+ var $49 = 0.0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0;
+ var $67 = 0.0, $68 = 0.0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0.0, $78 = 0.0, $79 = 0.0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0.0;
+ var $85 = 0.0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0.0, $90 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $13 = $7;
+ $14 = (($13) + 1)|0;
+ $15 = (+($14|0));
+ $16 = 3.1415927410125732 / $15;
+ $9 = $16;
+ $17 = $9;
+ $18 = $9;
+ $19 = $17 * $18;
+ $20 = 2.0 - $19;
+ $10 = $20;
+ $21 = $6;
+ $22 = ($21|0)<(2);
+ if ($22) {
+ $11 = 0.0;
+ $23 = $9;
+ $12 = $23;
+ } else {
+ $11 = 1.0;
+ $24 = $10;
+ $25 = 0.5 * $24;
+ $12 = $25;
+ }
+ $8 = 0;
+ while(1) {
+ $26 = $8;
+ $27 = $7;
+ $28 = ($26|0)<($27|0);
+ if (!($28)) {
+ break;
+ }
+ $29 = $5;
+ $30 = $8;
+ $31 = (($30) + 0)|0;
+ $32 = (($29) + ($31<<2)|0);
+ $33 = +HEAPF32[$32>>2];
+ $34 = $33 * 0.5;
+ $35 = $11;
+ $36 = $12;
+ $37 = $35 + $36;
+ $38 = $34 * $37;
+ $39 = $4;
+ $40 = $8;
+ $41 = (($40) + 0)|0;
+ $42 = (($39) + ($41<<2)|0);
+ HEAPF32[$42>>2] = $38;
+ $43 = $5;
+ $44 = $8;
+ $45 = (($44) + 1)|0;
+ $46 = (($43) + ($45<<2)|0);
+ $47 = +HEAPF32[$46>>2];
+ $48 = $12;
+ $49 = $47 * $48;
+ $50 = $4;
+ $51 = $8;
+ $52 = (($51) + 1)|0;
+ $53 = (($50) + ($52<<2)|0);
+ HEAPF32[$53>>2] = $49;
+ $54 = $10;
+ $55 = $12;
+ $56 = $54 * $55;
+ $57 = $11;
+ $58 = $56 - $57;
+ $11 = $58;
+ $59 = $5;
+ $60 = $8;
+ $61 = (($60) + 2)|0;
+ $62 = (($59) + ($61<<2)|0);
+ $63 = +HEAPF32[$62>>2];
+ $64 = $63 * 0.5;
+ $65 = $12;
+ $66 = $11;
+ $67 = $65 + $66;
+ $68 = $64 * $67;
+ $69 = $4;
+ $70 = $8;
+ $71 = (($70) + 2)|0;
+ $72 = (($69) + ($71<<2)|0);
+ HEAPF32[$72>>2] = $68;
+ $73 = $5;
+ $74 = $8;
+ $75 = (($74) + 3)|0;
+ $76 = (($73) + ($75<<2)|0);
+ $77 = +HEAPF32[$76>>2];
+ $78 = $11;
+ $79 = $77 * $78;
+ $80 = $4;
+ $81 = $8;
+ $82 = (($81) + 3)|0;
+ $83 = (($80) + ($82<<2)|0);
+ HEAPF32[$83>>2] = $79;
+ $84 = $10;
+ $85 = $11;
+ $86 = $84 * $85;
+ $87 = $12;
+ $88 = $86 - $87;
+ $12 = $88;
+ $89 = $8;
+ $90 = (($89) + 4)|0;
+ $8 = $90;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_find_LPC_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = +$3;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0.0, $109 = 0, $11 = 0.0, $110 = 0.0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0.0, $117 = 0;
+ var $118 = 0.0, $119 = 0, $12 = 0.0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0.0, $130 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0;
+ var $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0.0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0, $38 = 0;
+ var $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0, $55 = 0, $56 = 0;
+ var $57 = 0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0.0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0;
+ var $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0;
+ var $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 1744|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1744|0);
+ $10 = sp + 1616|0;
+ $14 = sp + 1704|0;
+ $15 = sp + 1536|0;
+ $16 = sp;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $17 = $4;
+ $18 = ((($17)) + 4612|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = $4;
+ $21 = ((($20)) + 4664|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = (($19) + ($22))|0;
+ $9 = $23;
+ $24 = $4;
+ $25 = ((($24)) + 4768|0);
+ $26 = ((($25)) + 31|0);
+ HEAP8[$26>>0] = 4;
+ $27 = $6;
+ $28 = $7;
+ $29 = $9;
+ $30 = $4;
+ $31 = ((($30)) + 4604|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = $4;
+ $34 = ((($33)) + 4664|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = (+_silk_burg_modified_FLP($10,$27,$28,$29,$32,$35));
+ $11 = $36;
+ $37 = $4;
+ $38 = ((($37)) + 4656|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = ($39|0)!=(0);
+ L1: do {
+ if ($40) {
+ $41 = $4;
+ $42 = ((($41)) + 4696|0);
+ $43 = HEAP32[$42>>2]|0;
+ $44 = ($43|0)!=(0);
+ if (!($44)) {
+ $45 = $4;
+ $46 = ((($45)) + 4604|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = ($47|0)==(4);
+ if ($48) {
+ $49 = $6;
+ $50 = $9;
+ $51 = $50<<1;
+ $52 = (($49) + ($51<<2)|0);
+ $53 = $7;
+ $54 = $9;
+ $55 = $4;
+ $56 = ((($55)) + 4664|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = (+_silk_burg_modified_FLP($15,$52,$53,$54,2,$57));
+ $59 = $11;
+ $60 = $59 - $58;
+ $11 = $60;
+ $61 = $5;
+ $62 = $4;
+ $63 = ((($62)) + 4664|0);
+ $64 = HEAP32[$63>>2]|0;
+ _silk_A2NLSF_FLP($61,$15,$64);
+ $12 = 3.4028234663852886E+38;
+ $8 = 3;
+ while(1) {
+ $65 = $8;
+ $66 = ($65|0)>=(0);
+ if (!($66)) {
+ break L1;
+ }
+ $67 = $4;
+ $68 = ((($67)) + 4524|0);
+ $69 = $5;
+ $70 = $8;
+ $71 = $4;
+ $72 = ((($71)) + 4664|0);
+ $73 = HEAP32[$72>>2]|0;
+ _silk_interpolate($14,$68,$69,$70,$73);
+ $74 = $4;
+ $75 = ((($74)) + 4664|0);
+ $76 = HEAP32[$75>>2]|0;
+ _silk_NLSF2A_FLP($15,$14,$76);
+ $77 = $6;
+ $78 = $9;
+ $79 = $78<<1;
+ $80 = $4;
+ $81 = ((($80)) + 4664|0);
+ $82 = HEAP32[$81>>2]|0;
+ _silk_LPC_analysis_filter_FLP($16,$15,$77,$79,$82);
+ $83 = $4;
+ $84 = ((($83)) + 4664|0);
+ $85 = HEAP32[$84>>2]|0;
+ $86 = (($16) + ($85<<2)|0);
+ $87 = $9;
+ $88 = $4;
+ $89 = ((($88)) + 4664|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = (($87) - ($90))|0;
+ $92 = (+_silk_energy_FLP($86,$91));
+ $93 = $4;
+ $94 = ((($93)) + 4664|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = (($16) + ($95<<2)|0);
+ $97 = $9;
+ $98 = (($96) + ($97<<2)|0);
+ $99 = $9;
+ $100 = $4;
+ $101 = ((($100)) + 4664|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = (($99) - ($102))|0;
+ $104 = (+_silk_energy_FLP($98,$103));
+ $105 = $92 + $104;
+ $106 = $105;
+ $13 = $106;
+ $107 = $13;
+ $108 = $11;
+ $109 = $107 < $108;
+ $110 = $13;
+ if ($109) {
+ $11 = $110;
+ $111 = $8;
+ $112 = $111&255;
+ $113 = $4;
+ $114 = ((($113)) + 4768|0);
+ $115 = ((($114)) + 31|0);
+ HEAP8[$115>>0] = $112;
+ } else {
+ $116 = $12;
+ $117 = $110 > $116;
+ if ($117) {
+ break L1;
+ }
+ }
+ $118 = $13;
+ $12 = $118;
+ $119 = $8;
+ $120 = (($119) + -1)|0;
+ $8 = $120;
+ }
+ }
+ }
+ }
+ } while(0);
+ $121 = $4;
+ $122 = ((($121)) + 4768|0);
+ $123 = ((($122)) + 31|0);
+ $124 = HEAP8[$123>>0]|0;
+ $125 = $124 << 24 >> 24;
+ $126 = ($125|0)==(4);
+ if (!($126)) {
+ STACKTOP = sp;return;
+ }
+ $127 = $5;
+ $128 = $4;
+ $129 = ((($128)) + 4664|0);
+ $130 = HEAP32[$129>>2]|0;
+ _silk_A2NLSF_FLP($127,$10,$130);
+ STACKTOP = sp;return;
+}
+function _silk_find_LTP_FLP($0,$1,$2,$3,$4,$5,$6,$7,$8) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ var $10 = 0, $100 = 0, $101 = 0.0, $102 = 0.0, $103 = 0, $104 = 0.0, $105 = 0.0, $106 = 0.0, $107 = 0.0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0.0, $132 = 0, $133 = 0, $134 = 0, $135 = 0.0;
+ var $136 = 0.0, $137 = 0.0, $138 = 0.0, $139 = 0, $14 = 0, $140 = 0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0, $15 = 0, $150 = 0, $151 = 0.0, $152 = 0.0, $153 = 0.0;
+ var $154 = 0.0, $155 = 0.0, $156 = 0.0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0.0, $17 = 0, $170 = 0, $171 = 0;
+ var $172 = 0.0, $173 = 0.0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0.0, $185 = 0.0, $186 = 0.0, $187 = 0, $188 = 0, $189 = 0, $19 = 0;
+ var $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0.0, $195 = 0, $196 = 0, $197 = 0.0, $198 = 0.0, $199 = 0.0, $20 = 0, $200 = 0.0, $201 = 0, $202 = 0, $203 = 0.0, $204 = 0.0, $205 = 0.0, $206 = 0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0.0, $210 = 0, $211 = 0, $212 = 0.0, $213 = 0.0, $214 = 0.0, $215 = 0.0, $216 = 0, $217 = 0, $218 = 0.0, $219 = 0.0, $22 = 0, $220 = 0.0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0.0;
+ var $227 = 0, $228 = 0, $229 = 0, $23 = 0.0, $230 = 0, $231 = 0.0, $232 = 0, $233 = 0, $234 = 0.0, $235 = 0, $236 = 0, $237 = 0.0, $238 = 0.0, $239 = 0.0, $24 = 0.0, $240 = 0, $241 = 0, $242 = 0.0, $243 = 0.0, $244 = 0.0;
+ var $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0.0, $251 = 0, $252 = 0, $253 = 0.0, $254 = 0.0, $255 = 0.0, $256 = 0.0, $257 = 0, $258 = 0, $259 = 0, $26 = 0.0, $260 = 0, $261 = 0, $262 = 0;
+ var $263 = 0, $264 = 0, $27 = 0.0, $28 = 0, $29 = 0, $30 = 0, $31 = 0.0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0;
+ var $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0.0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0;
+ var $65 = 0, $66 = 0.0, $67 = 0.0, $68 = 0, $69 = 0.0, $70 = 0.0, $71 = 0, $72 = 0, $73 = 0.0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0, $78 = 0, $79 = 0, $80 = 0.0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0, $96 = 0, $97 = 0.0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
+ $25 = sp + 112|0;
+ $28 = sp + 80|0;
+ $29 = sp + 64|0;
+ $30 = sp + 48|0;
+ $32 = sp + 24|0;
+ $33 = sp + 8|0;
+ $9 = $0;
+ $10 = $1;
+ $11 = $2;
+ $12 = $3;
+ $13 = $4;
+ $14 = $5;
+ $15 = $6;
+ $16 = $7;
+ $17 = $8;
+ $36 = $9;
+ $20 = $36;
+ $37 = $10;
+ $22 = $37;
+ $38 = $12;
+ $39 = $17;
+ $40 = (($38) + ($39<<2)|0);
+ $34 = $40;
+ $19 = 0;
+ while(1) {
+ $41 = $19;
+ $42 = $16;
+ $43 = ($41|0)<($42|0);
+ if (!($43)) {
+ break;
+ }
+ $44 = $34;
+ $45 = $13;
+ $46 = $19;
+ $47 = (($45) + ($46<<2)|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = (($48) + 2)|0;
+ $50 = (0 - ($49))|0;
+ $51 = (($44) + ($50<<2)|0);
+ $35 = $51;
+ $52 = $35;
+ $53 = $15;
+ $54 = $22;
+ _silk_corrMatrix_FLP($52,$53,5,$54);
+ $55 = $35;
+ $56 = $34;
+ $57 = $15;
+ _silk_corrVector_FLP($55,$56,$57,5,$32);
+ $58 = $34;
+ $59 = $15;
+ $60 = (+_silk_energy_FLP($58,$59));
+ $61 = $60;
+ $62 = $19;
+ $63 = (($33) + ($62<<2)|0);
+ HEAPF32[$63>>2] = $61;
+ $64 = $19;
+ $65 = (($33) + ($64<<2)|0);
+ $66 = +HEAPF32[$65>>2];
+ $67 = 1.0 + $66;
+ $68 = $22;
+ $69 = +HEAPF32[$68>>2];
+ $70 = $67 + $69;
+ $71 = $22;
+ $72 = ((($71)) + 96|0);
+ $73 = +HEAPF32[$72>>2];
+ $74 = $70 + $73;
+ $31 = $74;
+ $75 = $31;
+ $76 = $75 * 0.01666666753590107;
+ $31 = $76;
+ $77 = $22;
+ $78 = $19;
+ $79 = (($33) + ($78<<2)|0);
+ $80 = $31;
+ _silk_regularize_correlations_FLP($77,$79,$80,5);
+ $81 = $22;
+ $82 = $20;
+ _silk_solve_LDL_FLP($81,5,$32,$82);
+ $83 = $20;
+ $84 = $22;
+ $85 = $19;
+ $86 = (($33) + ($85<<2)|0);
+ $87 = +HEAPF32[$86>>2];
+ $88 = (+_silk_residual_energy_covar_FLP($83,$84,$32,$87,5));
+ $89 = $19;
+ $90 = (($30) + ($89<<2)|0);
+ HEAPF32[$90>>2] = $88;
+ $91 = $14;
+ $92 = $19;
+ $93 = (($91) + ($92<<2)|0);
+ $94 = +HEAPF32[$93>>2];
+ $95 = $19;
+ $96 = (($30) + ($95<<2)|0);
+ $97 = +HEAPF32[$96>>2];
+ $98 = $14;
+ $99 = $19;
+ $100 = (($98) + ($99<<2)|0);
+ $101 = +HEAPF32[$100>>2];
+ $102 = $97 * $101;
+ $103 = $15;
+ $104 = (+($103|0));
+ $105 = 0.0099999997764825821 * $104;
+ $106 = $102 + $105;
+ $107 = $94 / $106;
+ $21 = $107;
+ $108 = $22;
+ $109 = $21;
+ _silk_scale_vector_FLP($108,$109,25);
+ $110 = $22;
+ $111 = ((($110)) + 48|0);
+ $112 = +HEAPF32[$111>>2];
+ $113 = $19;
+ $114 = (($29) + ($113<<2)|0);
+ HEAPF32[$114>>2] = $112;
+ $115 = $15;
+ $116 = $34;
+ $117 = (($116) + ($115<<2)|0);
+ $34 = $117;
+ $118 = $20;
+ $119 = ((($118)) + 20|0);
+ $20 = $119;
+ $120 = $22;
+ $121 = ((($120)) + 100|0);
+ $22 = $121;
+ $122 = $19;
+ $123 = (($122) + 1)|0;
+ $19 = $123;
+ }
+ $124 = $11;
+ $125 = ($124|0)!=(0|0);
+ if ($125) {
+ $24 = 9.9999999747524271E-7;
+ $23 = 0.0;
+ $19 = 0;
+ while(1) {
+ $126 = $19;
+ $127 = $16;
+ $128 = ($126|0)<($127|0);
+ if (!($128)) {
+ break;
+ }
+ $129 = $19;
+ $130 = (($33) + ($129<<2)|0);
+ $131 = +HEAPF32[$130>>2];
+ $132 = $14;
+ $133 = $19;
+ $134 = (($132) + ($133<<2)|0);
+ $135 = +HEAPF32[$134>>2];
+ $136 = $131 * $135;
+ $137 = $23;
+ $138 = $137 + $136;
+ $23 = $138;
+ $139 = $19;
+ $140 = (($30) + ($139<<2)|0);
+ $141 = +HEAPF32[$140>>2];
+ $142 = $14;
+ $143 = $19;
+ $144 = (($142) + ($143<<2)|0);
+ $145 = +HEAPF32[$144>>2];
+ $146 = $141 * $145;
+ $147 = $24;
+ $148 = $147 + $146;
+ $24 = $148;
+ $149 = $19;
+ $150 = (($149) + 1)|0;
+ $19 = $150;
+ }
+ $151 = $23;
+ $152 = $24;
+ $153 = $151 / $152;
+ $154 = $153;
+ $155 = (+_silk_log2_530($154));
+ $156 = 3.0 * $155;
+ $157 = $11;
+ HEAPF32[$157>>2] = $156;
+ }
+ $158 = $9;
+ $20 = $158;
+ $19 = 0;
+ while(1) {
+ $159 = $19;
+ $160 = $16;
+ $161 = ($159|0)<($160|0);
+ if (!($161)) {
+ break;
+ }
+ $162 = $19;
+ $163 = (($25) + ($162<<2)|0);
+ HEAPF32[$163>>2] = 0.0;
+ $18 = 0;
+ while(1) {
+ $164 = $18;
+ $165 = ($164|0)<(5);
+ $166 = $20;
+ if (!($165)) {
+ break;
+ }
+ $167 = $18;
+ $168 = (($166) + ($167<<2)|0);
+ $169 = +HEAPF32[$168>>2];
+ $170 = $19;
+ $171 = (($25) + ($170<<2)|0);
+ $172 = +HEAPF32[$171>>2];
+ $173 = $172 + $169;
+ HEAPF32[$171>>2] = $173;
+ $174 = $18;
+ $175 = (($174) + 1)|0;
+ $18 = $175;
+ }
+ $176 = ((($166)) + 20|0);
+ $20 = $176;
+ $177 = $19;
+ $178 = (($177) + 1)|0;
+ $19 = $178;
+ }
+ $21 = 0.0010000000474974513;
+ $19 = 0;
+ while(1) {
+ $179 = $19;
+ $180 = $16;
+ $181 = ($179|0)<($180|0);
+ if (!($181)) {
+ break;
+ }
+ $182 = $19;
+ $183 = (($29) + ($182<<2)|0);
+ $184 = +HEAPF32[$183>>2];
+ $185 = $21;
+ $186 = $185 + $184;
+ $21 = $186;
+ $187 = $19;
+ $188 = (($187) + 1)|0;
+ $19 = $188;
+ }
+ $26 = 0.0;
+ $19 = 0;
+ while(1) {
+ $189 = $19;
+ $190 = $16;
+ $191 = ($189|0)<($190|0);
+ if (!($191)) {
+ break;
+ }
+ $192 = $19;
+ $193 = (($25) + ($192<<2)|0);
+ $194 = +HEAPF32[$193>>2];
+ $195 = $19;
+ $196 = (($29) + ($195<<2)|0);
+ $197 = +HEAPF32[$196>>2];
+ $198 = $194 * $197;
+ $199 = $26;
+ $200 = $199 + $198;
+ $26 = $200;
+ $201 = $19;
+ $202 = (($201) + 1)|0;
+ $19 = $202;
+ }
+ $203 = $26;
+ $204 = $21;
+ $205 = $203 / $204;
+ $26 = $205;
+ $206 = $9;
+ $20 = $206;
+ $19 = 0;
+ while(1) {
+ $207 = $19;
+ $208 = $16;
+ $209 = ($207|0)<($208|0);
+ if (!($209)) {
+ break;
+ }
+ $210 = $19;
+ $211 = (($29) + ($210<<2)|0);
+ $212 = +HEAPF32[$211>>2];
+ $213 = 0.10000000149011612 + $212;
+ $214 = 0.10000000149011612 / $213;
+ $215 = $26;
+ $216 = $19;
+ $217 = (($25) + ($216<<2)|0);
+ $218 = +HEAPF32[$217>>2];
+ $219 = $215 - $218;
+ $220 = $214 * $219;
+ $27 = $220;
+ $21 = 0.0;
+ $18 = 0;
+ while(1) {
+ $221 = $18;
+ $222 = ($221|0)<(5);
+ if (!($222)) {
+ break;
+ }
+ $223 = $20;
+ $224 = $18;
+ $225 = (($223) + ($224<<2)|0);
+ $226 = +HEAPF32[$225>>2];
+ $227 = $226 > 0.10000000149011612;
+ if ($227) {
+ $228 = $20;
+ $229 = $18;
+ $230 = (($228) + ($229<<2)|0);
+ $231 = +HEAPF32[$230>>2];
+ $234 = $231;
+ } else {
+ $234 = 0.10000000149011612;
+ }
+ $232 = $18;
+ $233 = (($28) + ($232<<2)|0);
+ HEAPF32[$233>>2] = $234;
+ $235 = $18;
+ $236 = (($28) + ($235<<2)|0);
+ $237 = +HEAPF32[$236>>2];
+ $238 = $21;
+ $239 = $238 + $237;
+ $21 = $239;
+ $240 = $18;
+ $241 = (($240) + 1)|0;
+ $18 = $241;
+ }
+ $242 = $27;
+ $243 = $21;
+ $244 = $242 / $243;
+ $21 = $244;
+ $18 = 0;
+ while(1) {
+ $245 = $18;
+ $246 = ($245|0)<(5);
+ $247 = $20;
+ if (!($246)) {
+ break;
+ }
+ $248 = $18;
+ $249 = (($247) + ($248<<2)|0);
+ $250 = +HEAPF32[$249>>2];
+ $251 = $18;
+ $252 = (($28) + ($251<<2)|0);
+ $253 = +HEAPF32[$252>>2];
+ $254 = $21;
+ $255 = $253 * $254;
+ $256 = $250 + $255;
+ $257 = $20;
+ $258 = $18;
+ $259 = (($257) + ($258<<2)|0);
+ HEAPF32[$259>>2] = $256;
+ $260 = $18;
+ $261 = (($260) + 1)|0;
+ $18 = $261;
+ }
+ $262 = ((($247)) + 20|0);
+ $20 = $262;
+ $263 = $19;
+ $264 = (($263) + 1)|0;
+ $19 = $264;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_log2_530($0) {
+ $0 = +$0;
+ var $1 = 0.0, $2 = 0.0, $3 = 0.0, $4 = 0.0, $5 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = (+_log10($2));
+ $4 = 3.32192809488736 * $3;
+ $5 = $4;
+ STACKTOP = sp;return (+$5);
+}
+function _silk_regularize_correlations_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0.0, $4 = 0, $5 = 0, $6 = 0.0;
+ var $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 0;
+ while(1) {
+ $9 = $8;
+ $10 = $7;
+ $11 = ($9|0)<($10|0);
+ $12 = $6;
+ if (!($11)) {
+ break;
+ }
+ $13 = $4;
+ $14 = $8;
+ $15 = $7;
+ $16 = Math_imul($14, $15)|0;
+ $17 = $8;
+ $18 = (($16) + ($17))|0;
+ $19 = (($13) + ($18<<2)|0);
+ $20 = +HEAPF32[$19>>2];
+ $21 = $20 + $12;
+ HEAPF32[$19>>2] = $21;
+ $22 = $8;
+ $23 = (($22) + 1)|0;
+ $8 = $23;
+ }
+ $24 = $5;
+ $25 = +HEAPF32[$24>>2];
+ $26 = $25 + $12;
+ HEAPF32[$24>>2] = $26;
+ STACKTOP = sp;return;
+}
+function _silk_solve_LDL_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0.0, $25 = 0.0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 1184|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(1184|0);
+ $9 = sp + 128|0;
+ $10 = sp + 64|0;
+ $11 = sp;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $12 = $4;
+ $13 = $5;
+ _silk_LDL_FLP($12,$13,$9,$11);
+ $14 = $5;
+ $15 = $6;
+ _silk_SolveWithLowerTriangularWdiagOnes_FLP($9,$14,$15,$10);
+ $8 = 0;
+ while(1) {
+ $16 = $8;
+ $17 = $5;
+ $18 = ($16|0)<($17|0);
+ if (!($18)) {
+ break;
+ }
+ $19 = $8;
+ $20 = (($10) + ($19<<2)|0);
+ $21 = +HEAPF32[$20>>2];
+ $22 = $8;
+ $23 = (($11) + ($22<<2)|0);
+ $24 = +HEAPF32[$23>>2];
+ $25 = $21 * $24;
+ $26 = $8;
+ $27 = (($10) + ($26<<2)|0);
+ HEAPF32[$27>>2] = $25;
+ $28 = $8;
+ $29 = (($28) + 1)|0;
+ $8 = $29;
+ }
+ $30 = $5;
+ $31 = $7;
+ _silk_SolveWithUpperTriangularFromLowerWdiagOnes_FLP($9,$30,$10,$31);
+ STACKTOP = sp;return;
+}
+function _silk_LDL_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0.0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0.0, $109 = 0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0.0, $113 = 0.0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0.0, $149 = 0, $15 = 0.0, $150 = 0, $151 = 0.0, $152 = 0.0, $153 = 0.0;
+ var $154 = 0.0, $155 = 0.0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0.0, $160 = 0, $161 = 0.0, $162 = 0.0, $163 = 0.0, $164 = 0.0, $165 = 0, $166 = 0, $167 = 0, $168 = 0.0, $169 = 0.0, $17 = 0, $170 = 0.0, $171 = 0.0;
+ var $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $19 = 0, $20 = 0.0, $21 = 0;
+ var $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0.0, $29 = 0.0, $30 = 0.0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0.0, $54 = 0.0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0;
+ var $6 = 0, $60 = 0, $61 = 0.0, $62 = 0, $63 = 0, $64 = 0.0, $65 = 0.0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0.0, $72 = 0, $73 = 0, $74 = 0.0, $75 = 0.0, $76 = 0.0, $77 = 0.0;
+ var $78 = 0.0, $79 = 0, $8 = 0, $80 = 0, $81 = 0.0, $82 = 0.0, $83 = 0, $84 = 0, $85 = 0, $86 = 0.0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0.0, $91 = 0, $92 = 0, $93 = 0, $94 = 0.0, $95 = 0.0;
+ var $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 192|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(192|0);
+ $17 = sp + 80|0;
+ $18 = sp + 16|0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $12 = 1;
+ $19 = $4;
+ $20 = +HEAPF32[$19>>2];
+ $21 = $4;
+ $22 = $5;
+ $23 = $5;
+ $24 = Math_imul($22, $23)|0;
+ $25 = (($24) - 1)|0;
+ $26 = (($21) + ($25<<2)|0);
+ $27 = +HEAPF32[$26>>2];
+ $28 = $20 + $27;
+ $29 = 4.9999998736893758E-6 * $28;
+ $30 = $29;
+ $16 = $30;
+ $11 = 0;
+ while(1) {
+ $31 = $11;
+ $32 = $5;
+ $33 = ($31|0)<($32|0);
+ $34 = $12;
+ $35 = ($34|0)==(1);
+ $36 = $33 ? $35 : 0;
+ if (!($36)) {
+ break;
+ }
+ $12 = 0;
+ $9 = 0;
+ while(1) {
+ $37 = $9;
+ $38 = $5;
+ $39 = ($37|0)<($38|0);
+ if (!($39)) {
+ break;
+ }
+ $40 = $6;
+ $41 = $9;
+ $42 = $5;
+ $43 = Math_imul($41, $42)|0;
+ $44 = (($43) + 0)|0;
+ $45 = (($40) + ($44<<2)|0);
+ $13 = $45;
+ $46 = $4;
+ $47 = $9;
+ $48 = $5;
+ $49 = Math_imul($47, $48)|0;
+ $50 = $9;
+ $51 = (($49) + ($50))|0;
+ $52 = (($46) + ($51<<2)|0);
+ $53 = +HEAPF32[$52>>2];
+ $54 = $53;
+ $15 = $54;
+ $8 = 0;
+ while(1) {
+ $55 = $8;
+ $56 = $9;
+ $57 = ($55|0)<($56|0);
+ if (!($57)) {
+ break;
+ }
+ $58 = $13;
+ $59 = $8;
+ $60 = (($58) + ($59<<2)|0);
+ $61 = +HEAPF32[$60>>2];
+ $62 = $8;
+ $63 = (($18) + ($62<<2)|0);
+ $64 = +HEAPF32[$63>>2];
+ $65 = $61 * $64;
+ $66 = $8;
+ $67 = (($17) + ($66<<2)|0);
+ HEAPF32[$67>>2] = $65;
+ $68 = $13;
+ $69 = $8;
+ $70 = (($68) + ($69<<2)|0);
+ $71 = +HEAPF32[$70>>2];
+ $72 = $8;
+ $73 = (($17) + ($72<<2)|0);
+ $74 = +HEAPF32[$73>>2];
+ $75 = $71 * $74;
+ $76 = $75;
+ $77 = $15;
+ $78 = $77 - $76;
+ $15 = $78;
+ $79 = $8;
+ $80 = (($79) + 1)|0;
+ $8 = $80;
+ }
+ $81 = $15;
+ $82 = $16;
+ $83 = $81 < $82;
+ if ($83) {
+ label = 9;
+ break;
+ }
+ $107 = $15;
+ $108 = $107;
+ $109 = $9;
+ $110 = (($18) + ($109<<2)|0);
+ HEAPF32[$110>>2] = $108;
+ $111 = $15;
+ $112 = 1.0 / $111;
+ $113 = $112;
+ $114 = $7;
+ $115 = $9;
+ $116 = (($114) + ($115<<2)|0);
+ HEAPF32[$116>>2] = $113;
+ $117 = $6;
+ $118 = $9;
+ $119 = $5;
+ $120 = Math_imul($118, $119)|0;
+ $121 = $9;
+ $122 = (($120) + ($121))|0;
+ $123 = (($117) + ($122<<2)|0);
+ HEAPF32[$123>>2] = 1.0;
+ $124 = $4;
+ $125 = $9;
+ $126 = $5;
+ $127 = Math_imul($125, $126)|0;
+ $128 = (($127) + 0)|0;
+ $129 = (($124) + ($128<<2)|0);
+ $13 = $129;
+ $130 = $6;
+ $131 = $9;
+ $132 = (($131) + 1)|0;
+ $133 = $5;
+ $134 = Math_imul($132, $133)|0;
+ $135 = (($134) + 0)|0;
+ $136 = (($130) + ($135<<2)|0);
+ $14 = $136;
+ $137 = $9;
+ $138 = (($137) + 1)|0;
+ $8 = $138;
+ while(1) {
+ $139 = $8;
+ $140 = $5;
+ $141 = ($139|0)<($140|0);
+ if (!($141)) {
+ break;
+ }
+ $15 = 0.0;
+ $10 = 0;
+ while(1) {
+ $142 = $10;
+ $143 = $9;
+ $144 = ($142|0)<($143|0);
+ if (!($144)) {
+ break;
+ }
+ $145 = $14;
+ $146 = $10;
+ $147 = (($145) + ($146<<2)|0);
+ $148 = +HEAPF32[$147>>2];
+ $149 = $10;
+ $150 = (($17) + ($149<<2)|0);
+ $151 = +HEAPF32[$150>>2];
+ $152 = $148 * $151;
+ $153 = $152;
+ $154 = $15;
+ $155 = $154 + $153;
+ $15 = $155;
+ $156 = $10;
+ $157 = (($156) + 1)|0;
+ $10 = $157;
+ }
+ $158 = $13;
+ $159 = $8;
+ $160 = (($158) + ($159<<2)|0);
+ $161 = +HEAPF32[$160>>2];
+ $162 = $161;
+ $163 = $15;
+ $164 = $162 - $163;
+ $165 = $7;
+ $166 = $9;
+ $167 = (($165) + ($166<<2)|0);
+ $168 = +HEAPF32[$167>>2];
+ $169 = $168;
+ $170 = $164 * $169;
+ $171 = $170;
+ $172 = $6;
+ $173 = $8;
+ $174 = $5;
+ $175 = Math_imul($173, $174)|0;
+ $176 = $9;
+ $177 = (($175) + ($176))|0;
+ $178 = (($172) + ($177<<2)|0);
+ HEAPF32[$178>>2] = $171;
+ $179 = $5;
+ $180 = $14;
+ $181 = (($180) + ($179<<2)|0);
+ $14 = $181;
+ $182 = $8;
+ $183 = (($182) + 1)|0;
+ $8 = $183;
+ }
+ $184 = $9;
+ $185 = (($184) + 1)|0;
+ $9 = $185;
+ }
+ if ((label|0) == 9) {
+ label = 0;
+ $84 = $11;
+ $85 = (($84) + 1)|0;
+ $86 = (+($85|0));
+ $87 = $16;
+ $88 = $86 * $87;
+ $89 = $15;
+ $90 = $88 - $89;
+ $15 = $90;
+ $8 = 0;
+ while(1) {
+ $91 = $8;
+ $92 = $5;
+ $93 = ($91|0)<($92|0);
+ if (!($93)) {
+ break;
+ }
+ $94 = $15;
+ $95 = $94;
+ $96 = $4;
+ $97 = $8;
+ $98 = $5;
+ $99 = Math_imul($97, $98)|0;
+ $100 = $8;
+ $101 = (($99) + ($100))|0;
+ $102 = (($96) + ($101<<2)|0);
+ $103 = +HEAPF32[$102>>2];
+ $104 = $103 + $95;
+ HEAPF32[$102>>2] = $104;
+ $105 = $8;
+ $106 = (($105) + 1)|0;
+ $8 = $106;
+ }
+ $12 = 1;
+ }
+ $186 = $11;
+ $187 = (($186) + 1)|0;
+ $11 = $187;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_SolveWithLowerTriangularWdiagOnes_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0.0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0, $43 = 0.0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $8 = 0;
+ while(1) {
+ $12 = $8;
+ $13 = $5;
+ $14 = ($12|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $15 = $4;
+ $16 = $8;
+ $17 = $5;
+ $18 = Math_imul($16, $17)|0;
+ $19 = (($18) + 0)|0;
+ $20 = (($15) + ($19<<2)|0);
+ $11 = $20;
+ $10 = 0.0;
+ $9 = 0;
+ while(1) {
+ $21 = $9;
+ $22 = $8;
+ $23 = ($21|0)<($22|0);
+ if (!($23)) {
+ break;
+ }
+ $24 = $11;
+ $25 = $9;
+ $26 = (($24) + ($25<<2)|0);
+ $27 = +HEAPF32[$26>>2];
+ $28 = $7;
+ $29 = $9;
+ $30 = (($28) + ($29<<2)|0);
+ $31 = +HEAPF32[$30>>2];
+ $32 = $27 * $31;
+ $33 = $10;
+ $34 = $33 + $32;
+ $10 = $34;
+ $35 = $9;
+ $36 = (($35) + 1)|0;
+ $9 = $36;
+ }
+ $37 = $6;
+ $38 = $8;
+ $39 = (($37) + ($38<<2)|0);
+ $40 = +HEAPF32[$39>>2];
+ $41 = $10;
+ $42 = $40 - $41;
+ $10 = $42;
+ $43 = $10;
+ $44 = $7;
+ $45 = $8;
+ $46 = (($44) + ($45<<2)|0);
+ HEAPF32[$46>>2] = $43;
+ $47 = $8;
+ $48 = (($47) + 1)|0;
+ $8 = $48;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_SolveWithUpperTriangularFromLowerWdiagOnes_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0.0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0.0, $33 = 0, $34 = 0, $35 = 0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $12 = $5;
+ $13 = (($12) - 1)|0;
+ $8 = $13;
+ while(1) {
+ $14 = $8;
+ $15 = ($14|0)>=(0);
+ if (!($15)) {
+ break;
+ }
+ $16 = $4;
+ $17 = $5;
+ $18 = 0;
+ $19 = $8;
+ $20 = (($18) + ($19))|0;
+ $21 = (($16) + ($20<<2)|0);
+ $11 = $21;
+ $10 = 0.0;
+ $22 = $5;
+ $23 = (($22) - 1)|0;
+ $9 = $23;
+ while(1) {
+ $24 = $9;
+ $25 = $8;
+ $26 = ($24|0)>($25|0);
+ if (!($26)) {
+ break;
+ }
+ $27 = $11;
+ $28 = $9;
+ $29 = $5;
+ $30 = Math_imul($28, $29)|0;
+ $31 = (($27) + ($30<<2)|0);
+ $32 = +HEAPF32[$31>>2];
+ $33 = $7;
+ $34 = $9;
+ $35 = (($33) + ($34<<2)|0);
+ $36 = +HEAPF32[$35>>2];
+ $37 = $32 * $36;
+ $38 = $10;
+ $39 = $38 + $37;
+ $10 = $39;
+ $40 = $9;
+ $41 = (($40) + -1)|0;
+ $9 = $41;
+ }
+ $42 = $6;
+ $43 = $8;
+ $44 = (($42) + ($43<<2)|0);
+ $45 = +HEAPF32[$44>>2];
+ $46 = $10;
+ $47 = $45 - $46;
+ $10 = $47;
+ $48 = $10;
+ $49 = $7;
+ $50 = $8;
+ $51 = (($49) + ($50<<2)|0);
+ HEAPF32[$51>>2] = $48;
+ $52 = $8;
+ $53 = (($52) + -1)|0;
+ $8 = $53;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_burg_modified_FLP($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = +$2;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $100 = 0.0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0.0, $108 = 0.0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0.0, $113 = 0.0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0.0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0.0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0, $132 = 0, $133 = 0.0, $134 = 0.0, $135 = 0;
+ var $136 = 0, $137 = 0.0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0.0, $145 = 0.0, $146 = 0.0, $147 = 0.0, $148 = 0.0, $149 = 0.0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $157 = 0.0, $158 = 0.0, $159 = 0.0, $16 = 0.0, $160 = 0.0, $161 = 0.0, $162 = 0.0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0.0, $169 = 0, $17 = 0.0, $170 = 0, $171 = 0;
+ var $172 = 0, $173 = 0, $174 = 0.0, $175 = 0.0, $176 = 0.0, $177 = 0, $178 = 0, $179 = 0.0, $18 = 0.0, $180 = 0.0, $181 = 0.0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0.0;
+ var $190 = 0.0, $191 = 0.0, $192 = 0.0, $193 = 0, $194 = 0, $195 = 0.0, $196 = 0.0, $197 = 0, $198 = 0, $199 = 0, $20 = 0.0, $200 = 0, $201 = 0, $202 = 0, $203 = 0.0, $204 = 0, $205 = 0, $206 = 0.0, $207 = 0, $208 = 0;
+ var $209 = 0, $21 = 0.0, $210 = 0, $211 = 0, $212 = 0.0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0.0, $219 = 0.0, $22 = 0.0, $220 = 0.0, $221 = 0.0, $222 = 0.0, $223 = 0, $224 = 0, $225 = 0, $226 = 0;
+ var $227 = 0, $228 = 0.0, $229 = 0.0, $23 = 0.0, $230 = 0.0, $231 = 0.0, $232 = 0.0, $233 = 0, $234 = 0, $235 = 0.0, $236 = 0, $237 = 0, $238 = 0, $239 = 0.0, $24 = 0.0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0;
+ var $245 = 0, $246 = 0.0, $247 = 0.0, $248 = 0.0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0.0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0.0, $26 = 0, $260 = 0.0, $261 = 0.0, $262 = 0.0;
+ var $263 = 0.0, $264 = 0, $265 = 0, $266 = 0, $267 = 0.0, $268 = 0.0, $269 = 0.0, $27 = 0, $270 = 0.0, $271 = 0.0, $272 = 0, $273 = 0, $274 = 0, $275 = 0.0, $276 = 0.0, $277 = 0.0, $278 = 0.0, $279 = 0.0, $28 = 0, $280 = 0;
+ var $281 = 0, $282 = 0.0, $283 = 0.0, $284 = 0.0, $285 = 0.0, $286 = 0.0, $287 = 0.0, $288 = 0.0, $289 = 0.0, $29 = 0, $290 = 0.0, $291 = 0.0, $292 = 0.0, $293 = 0.0, $294 = 0.0, $295 = 0.0, $296 = 0.0, $297 = 0, $298 = 0.0, $299 = 0.0;
+ var $30 = 0, $300 = 0.0, $301 = 0.0, $302 = 0.0, $303 = 0.0, $304 = 0.0, $305 = 0, $306 = 0.0, $307 = 0.0, $308 = 0.0, $309 = 0.0, $31 = 0, $310 = 0.0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0;
+ var $318 = 0.0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0.0, $325 = 0.0, $326 = 0.0, $327 = 0.0, $328 = 0.0, $329 = 0.0, $33 = 0, $330 = 0, $331 = 0, $332 = 0.0, $333 = 0.0, $334 = 0.0, $335 = 0.0;
+ var $336 = 0.0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0.0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0.0, $350 = 0, $351 = 0, $352 = 0, $353 = 0;
+ var $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0.0, $365 = 0.0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0.0;
+ var $372 = 0.0, $373 = 0, $374 = 0, $375 = 0.0, $376 = 0.0, $377 = 0.0, $378 = 0.0, $379 = 0.0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0.0, $386 = 0.0, $387 = 0, $388 = 0, $389 = 0, $39 = 0;
+ var $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0.0, $399 = 0.0, $40 = 0, $400 = 0.0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0;
+ var $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0.0, $416 = 0.0, $417 = 0.0, $418 = 0, $419 = 0, $42 = 0, $420 = 0.0, $421 = 0.0, $422 = 0.0, $423 = 0.0, $424 = 0, $425 = 0, $426 = 0;
+ var $427 = 0, $428 = 0, $429 = 0.0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0.0, $434 = 0.0, $435 = 0.0, $436 = 0.0, $437 = 0.0, $438 = 0.0, $439 = 0.0, $44 = 0, $440 = 0.0, $441 = 0.0, $442 = 0.0, $443 = 0.0, $444 = 0.0;
+ var $445 = 0.0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0.0, $452 = 0.0, $453 = 0.0, $454 = 0.0, $455 = 0.0, $456 = 0.0, $457 = 0.0, $458 = 0.0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0.0, $56 = 0, $57 = 0, $58 = 0, $59 = 0.0, $6 = 0, $60 = 0.0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0.0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0.0, $85 = 0.0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0.0, $93 = 0.0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 784|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(784|0);
+ $26 = sp + 528|0;
+ $27 = sp + 400|0;
+ $28 = sp + 264|0;
+ $29 = sp + 128|0;
+ $30 = sp;
+ $6 = $0;
+ $7 = $1;
+ $8 = $2;
+ $9 = $3;
+ $10 = $4;
+ $11 = $5;
+ $31 = $7;
+ $32 = $10;
+ $33 = $9;
+ $34 = Math_imul($32, $33)|0;
+ $35 = (+_silk_energy_FLP($31,$34));
+ $16 = $35;
+ dest=$26; stop=dest+128|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
+ $14 = 0;
+ while(1) {
+ $36 = $14;
+ $37 = $10;
+ $38 = ($36|0)<($37|0);
+ if (!($38)) {
+ break;
+ }
+ $39 = $7;
+ $40 = $14;
+ $41 = $9;
+ $42 = Math_imul($40, $41)|0;
+ $43 = (($39) + ($42<<2)|0);
+ $25 = $43;
+ $13 = 1;
+ while(1) {
+ $44 = $13;
+ $45 = $11;
+ $46 = (($45) + 1)|0;
+ $47 = ($44|0)<($46|0);
+ if (!($47)) {
+ break;
+ }
+ $48 = $25;
+ $49 = $25;
+ $50 = $13;
+ $51 = (($49) + ($50<<2)|0);
+ $52 = $9;
+ $53 = $13;
+ $54 = (($52) - ($53))|0;
+ $55 = (+_silk_inner_product_FLP($48,$51,$54));
+ $56 = $13;
+ $57 = (($56) - 1)|0;
+ $58 = (($26) + ($57<<3)|0);
+ $59 = +HEAPF64[$58>>3];
+ $60 = $59 + $55;
+ HEAPF64[$58>>3] = $60;
+ $61 = $13;
+ $62 = (($61) + 1)|0;
+ $13 = $62;
+ }
+ $63 = $14;
+ $64 = (($63) + 1)|0;
+ $14 = $64;
+ }
+ dest=$27; src=$26; stop=dest+128|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $65 = $16;
+ $66 = $16;
+ $67 = 9.9999997473787516E-6 * $66;
+ $68 = $65 + $67;
+ $69 = $68 + 9.9999997171806853E-10;
+ HEAPF64[$28>>3] = $69;
+ HEAPF64[$29>>3] = $69;
+ $17 = 1.0;
+ $15 = 0;
+ $13 = 0;
+ while(1) {
+ $70 = $13;
+ $71 = $11;
+ $72 = ($70|0)<($71|0);
+ if (!($72)) {
+ break;
+ }
+ $14 = 0;
+ while(1) {
+ $73 = $14;
+ $74 = $10;
+ $75 = ($73|0)<($74|0);
+ if (!($75)) {
+ break;
+ }
+ $76 = $7;
+ $77 = $14;
+ $78 = $9;
+ $79 = Math_imul($77, $78)|0;
+ $80 = (($76) + ($79<<2)|0);
+ $25 = $80;
+ $81 = $25;
+ $82 = $13;
+ $83 = (($81) + ($82<<2)|0);
+ $84 = +HEAPF32[$83>>2];
+ $85 = $84;
+ $23 = $85;
+ $86 = $25;
+ $87 = $9;
+ $88 = $13;
+ $89 = (($87) - ($88))|0;
+ $90 = (($89) - 1)|0;
+ $91 = (($86) + ($90<<2)|0);
+ $92 = +HEAPF32[$91>>2];
+ $93 = $92;
+ $24 = $93;
+ $12 = 0;
+ while(1) {
+ $94 = $12;
+ $95 = $13;
+ $96 = ($94|0)<($95|0);
+ if (!($96)) {
+ break;
+ }
+ $97 = $25;
+ $98 = $13;
+ $99 = (($97) + ($98<<2)|0);
+ $100 = +HEAPF32[$99>>2];
+ $101 = $25;
+ $102 = $13;
+ $103 = $12;
+ $104 = (($102) - ($103))|0;
+ $105 = (($104) - 1)|0;
+ $106 = (($101) + ($105<<2)|0);
+ $107 = +HEAPF32[$106>>2];
+ $108 = $100 * $107;
+ $109 = $108;
+ $110 = $12;
+ $111 = (($26) + ($110<<3)|0);
+ $112 = +HEAPF64[$111>>3];
+ $113 = $112 - $109;
+ HEAPF64[$111>>3] = $113;
+ $114 = $25;
+ $115 = $9;
+ $116 = $13;
+ $117 = (($115) - ($116))|0;
+ $118 = (($117) - 1)|0;
+ $119 = (($114) + ($118<<2)|0);
+ $120 = +HEAPF32[$119>>2];
+ $121 = $25;
+ $122 = $9;
+ $123 = $13;
+ $124 = (($122) - ($123))|0;
+ $125 = $12;
+ $126 = (($124) + ($125))|0;
+ $127 = (($121) + ($126<<2)|0);
+ $128 = +HEAPF32[$127>>2];
+ $129 = $120 * $128;
+ $130 = $129;
+ $131 = $12;
+ $132 = (($27) + ($131<<3)|0);
+ $133 = +HEAPF64[$132>>3];
+ $134 = $133 - $130;
+ HEAPF64[$132>>3] = $134;
+ $135 = $12;
+ $136 = (($30) + ($135<<3)|0);
+ $137 = +HEAPF64[$136>>3];
+ $22 = $137;
+ $138 = $25;
+ $139 = $13;
+ $140 = $12;
+ $141 = (($139) - ($140))|0;
+ $142 = (($141) - 1)|0;
+ $143 = (($138) + ($142<<2)|0);
+ $144 = +HEAPF32[$143>>2];
+ $145 = $144;
+ $146 = $22;
+ $147 = $145 * $146;
+ $148 = $23;
+ $149 = $148 + $147;
+ $23 = $149;
+ $150 = $25;
+ $151 = $9;
+ $152 = $13;
+ $153 = (($151) - ($152))|0;
+ $154 = $12;
+ $155 = (($153) + ($154))|0;
+ $156 = (($150) + ($155<<2)|0);
+ $157 = +HEAPF32[$156>>2];
+ $158 = $157;
+ $159 = $22;
+ $160 = $158 * $159;
+ $161 = $24;
+ $162 = $161 + $160;
+ $24 = $162;
+ $163 = $12;
+ $164 = (($163) + 1)|0;
+ $12 = $164;
+ }
+ $12 = 0;
+ while(1) {
+ $165 = $12;
+ $166 = $13;
+ $167 = ($165|0)<=($166|0);
+ if (!($167)) {
+ break;
+ }
+ $168 = $23;
+ $169 = $25;
+ $170 = $13;
+ $171 = $12;
+ $172 = (($170) - ($171))|0;
+ $173 = (($169) + ($172<<2)|0);
+ $174 = +HEAPF32[$173>>2];
+ $175 = $174;
+ $176 = $168 * $175;
+ $177 = $12;
+ $178 = (($28) + ($177<<3)|0);
+ $179 = +HEAPF64[$178>>3];
+ $180 = $179 - $176;
+ HEAPF64[$178>>3] = $180;
+ $181 = $24;
+ $182 = $25;
+ $183 = $9;
+ $184 = $13;
+ $185 = (($183) - ($184))|0;
+ $186 = $12;
+ $187 = (($185) + ($186))|0;
+ $188 = (($187) - 1)|0;
+ $189 = (($182) + ($188<<2)|0);
+ $190 = +HEAPF32[$189>>2];
+ $191 = $190;
+ $192 = $181 * $191;
+ $193 = $12;
+ $194 = (($29) + ($193<<3)|0);
+ $195 = +HEAPF64[$194>>3];
+ $196 = $195 - $192;
+ HEAPF64[$194>>3] = $196;
+ $197 = $12;
+ $198 = (($197) + 1)|0;
+ $12 = $198;
+ }
+ $199 = $14;
+ $200 = (($199) + 1)|0;
+ $14 = $200;
+ }
+ $201 = $13;
+ $202 = (($26) + ($201<<3)|0);
+ $203 = +HEAPF64[$202>>3];
+ $23 = $203;
+ $204 = $13;
+ $205 = (($27) + ($204<<3)|0);
+ $206 = +HEAPF64[$205>>3];
+ $24 = $206;
+ $12 = 0;
+ while(1) {
+ $207 = $12;
+ $208 = $13;
+ $209 = ($207|0)<($208|0);
+ if (!($209)) {
+ break;
+ }
+ $210 = $12;
+ $211 = (($30) + ($210<<3)|0);
+ $212 = +HEAPF64[$211>>3];
+ $22 = $212;
+ $213 = $13;
+ $214 = $12;
+ $215 = (($213) - ($214))|0;
+ $216 = (($215) - 1)|0;
+ $217 = (($27) + ($216<<3)|0);
+ $218 = +HEAPF64[$217>>3];
+ $219 = $22;
+ $220 = $218 * $219;
+ $221 = $23;
+ $222 = $221 + $220;
+ $23 = $222;
+ $223 = $13;
+ $224 = $12;
+ $225 = (($223) - ($224))|0;
+ $226 = (($225) - 1)|0;
+ $227 = (($26) + ($226<<3)|0);
+ $228 = +HEAPF64[$227>>3];
+ $229 = $22;
+ $230 = $228 * $229;
+ $231 = $24;
+ $232 = $231 + $230;
+ $24 = $232;
+ $233 = $12;
+ $234 = (($233) + 1)|0;
+ $12 = $234;
+ }
+ $235 = $23;
+ $236 = $13;
+ $237 = (($236) + 1)|0;
+ $238 = (($28) + ($237<<3)|0);
+ HEAPF64[$238>>3] = $235;
+ $239 = $24;
+ $240 = $13;
+ $241 = (($240) + 1)|0;
+ $242 = (($29) + ($241<<3)|0);
+ HEAPF64[$242>>3] = $239;
+ $243 = $13;
+ $244 = (($243) + 1)|0;
+ $245 = (($29) + ($244<<3)|0);
+ $246 = +HEAPF64[$245>>3];
+ $18 = $246;
+ $247 = +HEAPF64[$29>>3];
+ $20 = $247;
+ $248 = +HEAPF64[$28>>3];
+ $19 = $248;
+ $12 = 0;
+ while(1) {
+ $249 = $12;
+ $250 = $13;
+ $251 = ($249|0)<($250|0);
+ if (!($251)) {
+ break;
+ }
+ $252 = $12;
+ $253 = (($30) + ($252<<3)|0);
+ $254 = +HEAPF64[$253>>3];
+ $22 = $254;
+ $255 = $13;
+ $256 = $12;
+ $257 = (($255) - ($256))|0;
+ $258 = (($29) + ($257<<3)|0);
+ $259 = +HEAPF64[$258>>3];
+ $260 = $22;
+ $261 = $259 * $260;
+ $262 = $18;
+ $263 = $262 + $261;
+ $18 = $263;
+ $264 = $12;
+ $265 = (($264) + 1)|0;
+ $266 = (($29) + ($265<<3)|0);
+ $267 = +HEAPF64[$266>>3];
+ $268 = $22;
+ $269 = $267 * $268;
+ $270 = $20;
+ $271 = $270 + $269;
+ $20 = $271;
+ $272 = $12;
+ $273 = (($272) + 1)|0;
+ $274 = (($28) + ($273<<3)|0);
+ $275 = +HEAPF64[$274>>3];
+ $276 = $22;
+ $277 = $275 * $276;
+ $278 = $19;
+ $279 = $278 + $277;
+ $19 = $279;
+ $280 = $12;
+ $281 = (($280) + 1)|0;
+ $12 = $281;
+ }
+ $282 = $18;
+ $283 = -2.0 * $282;
+ $284 = $19;
+ $285 = $20;
+ $286 = $284 + $285;
+ $287 = $283 / $286;
+ $21 = $287;
+ $288 = $17;
+ $289 = $21;
+ $290 = $21;
+ $291 = $289 * $290;
+ $292 = 1.0 - $291;
+ $293 = $288 * $292;
+ $23 = $293;
+ $294 = $23;
+ $295 = $8;
+ $296 = $295;
+ $297 = $294 <= $296;
+ if ($297) {
+ $298 = $8;
+ $299 = $298;
+ $300 = $17;
+ $301 = $299 / $300;
+ $302 = 1.0 - $301;
+ $303 = (+Math_sqrt((+$302)));
+ $21 = $303;
+ $304 = $18;
+ $305 = $304 > 0.0;
+ if ($305) {
+ $306 = $21;
+ $307 = - $306;
+ $21 = $307;
+ }
+ $308 = $8;
+ $309 = $308;
+ $17 = $309;
+ $15 = 1;
+ } else {
+ $310 = $23;
+ $17 = $310;
+ }
+ $12 = 0;
+ while(1) {
+ $311 = $12;
+ $312 = $13;
+ $313 = (($312) + 1)|0;
+ $314 = $313 >> 1;
+ $315 = ($311|0)<($314|0);
+ if (!($315)) {
+ break;
+ }
+ $316 = $12;
+ $317 = (($30) + ($316<<3)|0);
+ $318 = +HEAPF64[$317>>3];
+ $23 = $318;
+ $319 = $13;
+ $320 = $12;
+ $321 = (($319) - ($320))|0;
+ $322 = (($321) - 1)|0;
+ $323 = (($30) + ($322<<3)|0);
+ $324 = +HEAPF64[$323>>3];
+ $24 = $324;
+ $325 = $23;
+ $326 = $21;
+ $327 = $24;
+ $328 = $326 * $327;
+ $329 = $325 + $328;
+ $330 = $12;
+ $331 = (($30) + ($330<<3)|0);
+ HEAPF64[$331>>3] = $329;
+ $332 = $24;
+ $333 = $21;
+ $334 = $23;
+ $335 = $333 * $334;
+ $336 = $332 + $335;
+ $337 = $13;
+ $338 = $12;
+ $339 = (($337) - ($338))|0;
+ $340 = (($339) - 1)|0;
+ $341 = (($30) + ($340<<3)|0);
+ HEAPF64[$341>>3] = $336;
+ $342 = $12;
+ $343 = (($342) + 1)|0;
+ $12 = $343;
+ }
+ $344 = $21;
+ $345 = $13;
+ $346 = (($30) + ($345<<3)|0);
+ HEAPF64[$346>>3] = $344;
+ $347 = $15;
+ $348 = ($347|0)!=(0);
+ if ($348) {
+ label = 33;
+ break;
+ }
+ $12 = 0;
+ while(1) {
+ $358 = $12;
+ $359 = $13;
+ $360 = (($359) + 1)|0;
+ $361 = ($358|0)<=($360|0);
+ if (!($361)) {
+ break;
+ }
+ $362 = $12;
+ $363 = (($28) + ($362<<3)|0);
+ $364 = +HEAPF64[$363>>3];
+ $23 = $364;
+ $365 = $21;
+ $366 = $13;
+ $367 = $12;
+ $368 = (($366) - ($367))|0;
+ $369 = (($368) + 1)|0;
+ $370 = (($29) + ($369<<3)|0);
+ $371 = +HEAPF64[$370>>3];
+ $372 = $365 * $371;
+ $373 = $12;
+ $374 = (($28) + ($373<<3)|0);
+ $375 = +HEAPF64[$374>>3];
+ $376 = $375 + $372;
+ HEAPF64[$374>>3] = $376;
+ $377 = $21;
+ $378 = $23;
+ $379 = $377 * $378;
+ $380 = $13;
+ $381 = $12;
+ $382 = (($380) - ($381))|0;
+ $383 = (($382) + 1)|0;
+ $384 = (($29) + ($383<<3)|0);
+ $385 = +HEAPF64[$384>>3];
+ $386 = $385 + $379;
+ HEAPF64[$384>>3] = $386;
+ $387 = $12;
+ $388 = (($387) + 1)|0;
+ $12 = $388;
+ }
+ $389 = $13;
+ $390 = (($389) + 1)|0;
+ $13 = $390;
+ }
+ L48: do {
+ if ((label|0) == 33) {
+ $349 = $13;
+ $350 = (($349) + 1)|0;
+ $12 = $350;
+ while(1) {
+ $351 = $12;
+ $352 = $11;
+ $353 = ($351|0)<($352|0);
+ if (!($353)) {
+ break L48;
+ }
+ $354 = $12;
+ $355 = (($30) + ($354<<3)|0);
+ HEAPF64[$355>>3] = 0.0;
+ $356 = $12;
+ $357 = (($356) + 1)|0;
+ $12 = $357;
+ }
+ }
+ } while(0);
+ $391 = $15;
+ $392 = ($391|0)!=(0);
+ if (!($392)) {
+ $423 = +HEAPF64[$28>>3];
+ $19 = $423;
+ $23 = 1.0;
+ $12 = 0;
+ while(1) {
+ $424 = $12;
+ $425 = $11;
+ $426 = ($424|0)<($425|0);
+ if (!($426)) {
+ break;
+ }
+ $427 = $12;
+ $428 = (($30) + ($427<<3)|0);
+ $429 = +HEAPF64[$428>>3];
+ $22 = $429;
+ $430 = $12;
+ $431 = (($430) + 1)|0;
+ $432 = (($28) + ($431<<3)|0);
+ $433 = +HEAPF64[$432>>3];
+ $434 = $22;
+ $435 = $433 * $434;
+ $436 = $19;
+ $437 = $436 + $435;
+ $19 = $437;
+ $438 = $22;
+ $439 = $22;
+ $440 = $438 * $439;
+ $441 = $23;
+ $442 = $441 + $440;
+ $23 = $442;
+ $443 = $22;
+ $444 = - $443;
+ $445 = $444;
+ $446 = $6;
+ $447 = $12;
+ $448 = (($446) + ($447<<2)|0);
+ HEAPF32[$448>>2] = $445;
+ $449 = $12;
+ $450 = (($449) + 1)|0;
+ $12 = $450;
+ }
+ $451 = $16;
+ $452 = 9.9999997473787516E-6 * $451;
+ $453 = $23;
+ $454 = $452 * $453;
+ $455 = $19;
+ $456 = $455 - $454;
+ $19 = $456;
+ $457 = $19;
+ $458 = $457;
+ STACKTOP = sp;return (+$458);
+ }
+ $12 = 0;
+ while(1) {
+ $393 = $12;
+ $394 = $11;
+ $395 = ($393|0)<($394|0);
+ if (!($395)) {
+ break;
+ }
+ $396 = $12;
+ $397 = (($30) + ($396<<3)|0);
+ $398 = +HEAPF64[$397>>3];
+ $399 = - $398;
+ $400 = $399;
+ $401 = $6;
+ $402 = $12;
+ $403 = (($401) + ($402<<2)|0);
+ HEAPF32[$403>>2] = $400;
+ $404 = $12;
+ $405 = (($404) + 1)|0;
+ $12 = $405;
+ }
+ $14 = 0;
+ while(1) {
+ $406 = $14;
+ $407 = $10;
+ $408 = ($406|0)<($407|0);
+ if (!($408)) {
+ break;
+ }
+ $409 = $7;
+ $410 = $14;
+ $411 = $9;
+ $412 = Math_imul($410, $411)|0;
+ $413 = (($409) + ($412<<2)|0);
+ $414 = $11;
+ $415 = (+_silk_energy_FLP($413,$414));
+ $416 = $16;
+ $417 = $416 - $415;
+ $16 = $417;
+ $418 = $14;
+ $419 = (($418) + 1)|0;
+ $14 = $419;
+ }
+ $420 = $16;
+ $421 = $17;
+ $422 = $420 * $421;
+ $19 = $422;
+ $457 = $19;
+ $458 = $457;
+ STACKTOP = sp;return (+$458);
+}
+function _silk_scale_vector_FLP($0,$1,$2) {
+ $0 = $0|0;
+ $1 = +$1;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0.0, $19 = 0.0, $20 = 0.0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0.0, $26 = 0.0, $27 = 0.0, $28 = 0, $29 = 0;
+ var $3 = 0, $30 = 0, $31 = 0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0.0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0.0, $47 = 0;
+ var $48 = 0, $49 = 0, $5 = 0, $50 = 0.0, $51 = 0.0, $52 = 0, $53 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $8 = $5;
+ $9 = $8 & 65532;
+ $7 = $9;
+ $6 = 0;
+ while(1) {
+ $10 = $6;
+ $11 = $7;
+ $12 = ($10|0)<($11|0);
+ if (!($12)) {
+ break;
+ }
+ $13 = $4;
+ $14 = $3;
+ $15 = $6;
+ $16 = (($15) + 0)|0;
+ $17 = (($14) + ($16<<2)|0);
+ $18 = +HEAPF32[$17>>2];
+ $19 = $18 * $13;
+ HEAPF32[$17>>2] = $19;
+ $20 = $4;
+ $21 = $3;
+ $22 = $6;
+ $23 = (($22) + 1)|0;
+ $24 = (($21) + ($23<<2)|0);
+ $25 = +HEAPF32[$24>>2];
+ $26 = $25 * $20;
+ HEAPF32[$24>>2] = $26;
+ $27 = $4;
+ $28 = $3;
+ $29 = $6;
+ $30 = (($29) + 2)|0;
+ $31 = (($28) + ($30<<2)|0);
+ $32 = +HEAPF32[$31>>2];
+ $33 = $32 * $27;
+ HEAPF32[$31>>2] = $33;
+ $34 = $4;
+ $35 = $3;
+ $36 = $6;
+ $37 = (($36) + 3)|0;
+ $38 = (($35) + ($37<<2)|0);
+ $39 = +HEAPF32[$38>>2];
+ $40 = $39 * $34;
+ HEAPF32[$38>>2] = $40;
+ $41 = $6;
+ $42 = (($41) + 4)|0;
+ $6 = $42;
+ }
+ while(1) {
+ $43 = $6;
+ $44 = $5;
+ $45 = ($43|0)<($44|0);
+ if (!($45)) {
+ break;
+ }
+ $46 = $4;
+ $47 = $3;
+ $48 = $6;
+ $49 = (($47) + ($48<<2)|0);
+ $50 = +HEAPF32[$49>>2];
+ $51 = $50 * $46;
+ HEAPF32[$49>>2] = $51;
+ $52 = $6;
+ $53 = (($52) + 1)|0;
+ $6 = $53;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_CNG_Reset($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $5 = $1;
+ $6 = ((($5)) + 2340|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (($7) + 1)|0;
+ $9 = (32767 / ($8|0))&-1;
+ $3 = $9;
+ $4 = 0;
+ $2 = 0;
+ while(1) {
+ $10 = $2;
+ $11 = $1;
+ $12 = ((($11)) + 2340|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = ($10|0)<($13|0);
+ if (!($14)) {
+ break;
+ }
+ $15 = $3;
+ $16 = $4;
+ $17 = (($16) + ($15))|0;
+ $4 = $17;
+ $18 = $4;
+ $19 = $18&65535;
+ $20 = $1;
+ $21 = ((($20)) + 2772|0);
+ $22 = ((($21)) + 1280|0);
+ $23 = $2;
+ $24 = (($22) + ($23<<1)|0);
+ HEAP16[$24>>1] = $19;
+ $25 = $2;
+ $26 = (($25) + 1)|0;
+ $2 = $26;
+ }
+ $27 = $1;
+ $28 = ((($27)) + 2772|0);
+ $29 = ((($28)) + 1376|0);
+ HEAP32[$29>>2] = 0;
+ $30 = $1;
+ $31 = ((($30)) + 2772|0);
+ $32 = ((($31)) + 1380|0);
+ HEAP32[$32>>2] = 3176576;
+ STACKTOP = sp;return;
+}
+function _silk_CNG($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$alloca_mul = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0;
var $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0;
var $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0;
var $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0;
var $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0;
- var $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
- var $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
- var $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0;
- var $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0;
- var $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $F$0$i$i = 0, $F104$0 = 0, $F197$0$i = 0;
- var $F224$0$i$i = 0, $F290$0$i = 0, $I252$0$i$i = 0, $I316$0$i = 0, $I57$0$i$i = 0, $K105$0$i$i = 0, $K305$0$i$i = 0, $K373$0$i = 0, $R$1$i = 0, $R$1$i$i = 0, $R$1$i169 = 0, $R$3$i = 0, $R$3$i$i = 0, $R$3$i172 = 0, $RP$1$i = 0, $RP$1$i$i = 0, $RP$1$i168 = 0, $T$0$i = 0, $T$0$i$i = 0, $T$0$i46$i = 0;
- var $add$i = 0, $add$i$i = 0, $add$i148 = 0, $add$i183 = 0, $add$ptr = 0, $add$ptr$i = 0, $add$ptr$i$i = 0, $add$ptr$i$i$i = 0, $add$ptr$i13$i = 0, $add$ptr$i162 = 0, $add$ptr$i19$i = 0, $add$ptr$i196 = 0, $add$ptr$i3$i$i = 0, $add$ptr$i48$i = 0, $add$ptr14$i$i = 0, $add$ptr15$i$i = 0, $add$ptr16$i$i = 0, $add$ptr166 = 0, $add$ptr169 = 0, $add$ptr17$i$i = 0;
- var $add$ptr178 = 0, $add$ptr181$i = 0, $add$ptr182 = 0, $add$ptr189$i = 0, $add$ptr190$i = 0, $add$ptr193 = 0, $add$ptr199 = 0, $add$ptr2$i$i = 0, $add$ptr205$i$i = 0, $add$ptr212$i$i = 0, $add$ptr225$i = 0, $add$ptr227$i = 0, $add$ptr24$i$i = 0, $add$ptr262$i = 0, $add$ptr269$i = 0, $add$ptr273$i = 0, $add$ptr282$i = 0, $add$ptr3$i$i = 0, $add$ptr30$i$i = 0, $add$ptr369$i$i = 0;
- var $add$ptr4$i$i = 0, $add$ptr4$i$i$i = 0, $add$ptr4$i25$i = 0, $add$ptr4$i54$i = 0, $add$ptr441$i = 0, $add$ptr5$i$i = 0, $add$ptr6$i$i = 0, $add$ptr6$i$i$i = 0, $add$ptr6$i58$i = 0, $add$ptr7$i$i = 0, $add$ptr81$i$i = 0, $add$ptr95 = 0, $add$ptr98 = 0, $add10$i = 0, $add101$i = 0, $add110$i = 0, $add13$i = 0, $add14$i = 0, $add140$i = 0, $add144 = 0;
- var $add150$i = 0, $add17$i = 0, $add17$i186 = 0, $add177$i = 0, $add18$i = 0, $add19$i = 0, $add2 = 0, $add20$i = 0, $add206$i$i = 0, $add212$i = 0, $add215$i = 0, $add22$i = 0, $add246$i = 0, $add26$i$i = 0, $add268$i = 0, $add269$i$i = 0, $add274$i$i = 0, $add278$i$i = 0, $add280$i$i = 0, $add283$i$i = 0;
- var $add337$i = 0, $add342$i = 0, $add346$i = 0, $add348$i = 0, $add351$i = 0, $add46$i = 0, $add50 = 0, $add51$i = 0, $add54 = 0, $add54$i = 0, $add58 = 0, $add62 = 0, $add64 = 0, $add74$i$i = 0, $add77$i = 0, $add78$i = 0, $add79$i$i = 0, $add8 = 0, $add82$i = 0, $add83$i$i = 0;
- var $add85$i$i = 0, $add86$i = 0, $add88$i$i = 0, $add9$i = 0, $add90$i = 0, $add92$i = 0, $and = 0, $and$i = 0, $and$i$i = 0, $and$i$i$i = 0, $and$i14$i = 0, $and$i145 = 0, $and$i20$i = 0, $and$i49$i = 0, $and100$i = 0, $and103$i = 0, $and104$i = 0, $and106 = 0, $and11$add51$i = 0, $and11$i = 0;
- var $and119$i$i = 0, $and12$i = 0, $and13$i = 0, $and13$i$i = 0, $and133$i$i = 0, $and14 = 0, $and145 = 0, $and17$i = 0, $and194$i = 0, $and194$i207 = 0, $and199$i = 0, $and209$i$i = 0, $and21$i = 0, $and21$i151 = 0, $and227$i$i = 0, $and236$i = 0, $and264$i$i = 0, $and268$i$i = 0, $and273$i$i = 0, $and282$i$i = 0;
- var $and29$i = 0, $and292$i = 0, $and295$i$i = 0, $and3$i = 0, $and3$i$i = 0, $and3$i$i$i = 0, $and3$i23$i = 0, $and3$i52$i = 0, $and30$i = 0, $and318$i$i = 0, $and32$i = 0, $and32$i$i = 0, $and33$i$i = 0, $and331$i = 0, $and336$i = 0, $and341$i = 0, $and350$i = 0, $and363$i = 0, $and37$i$i = 0, $and387$i = 0;
- var $and4 = 0, $and40$i$i = 0, $and41 = 0, $and42$i = 0, $and43 = 0, $and46 = 0, $and49 = 0, $and49$i = 0, $and49$i$i = 0, $and53 = 0, $and57 = 0, $and6$i = 0, $and6$i$i = 0, $and6$i10$i = 0, $and6$i26$i = 0, $and61 = 0, $and64$i = 0, $and68$i = 0, $and69$i$i = 0, $and7 = 0;
- var $and73$i = 0, $and73$i$i = 0, $and74 = 0, $and77$i = 0, $and78$i$i = 0, $and8$i = 0, $and80$i = 0, $and81$i = 0, $and85$i = 0, $and87$i$i = 0, $and89$i = 0, $and9$i = 0, $and96$i$i = 0, $arrayidx = 0, $arrayidx$i = 0, $arrayidx$i$i = 0, $arrayidx$i152 = 0, $arrayidx$i36$i = 0, $arrayidx103 = 0, $arrayidx103$i$i = 0;
- var $arrayidx106$i = 0, $arrayidx107$i$i = 0, $arrayidx113$i = 0, $arrayidx113$i159 = 0, $arrayidx121$i = 0, $arrayidx123$i$i = 0, $arrayidx126$i$i = 0, $arrayidx137$i = 0, $arrayidx143$i$i = 0, $arrayidx148$i = 0, $arrayidx151$i = 0, $arrayidx151$i$i = 0, $arrayidx154$i = 0, $arrayidx155$i = 0, $arrayidx161$i = 0, $arrayidx165$i = 0, $arrayidx165$i170 = 0, $arrayidx178$i$i = 0, $arrayidx184$i = 0, $arrayidx184$i$i = 0;
- var $arrayidx195$i$i = 0, $arrayidx196$i = 0, $arrayidx204$i = 0, $arrayidx212$i = 0, $arrayidx223$i$i = 0, $arrayidx228$i = 0, $arrayidx23$i = 0, $arrayidx233$i = 0, $arrayidx239$i = 0, $arrayidx245$i = 0, $arrayidx256$i = 0, $arrayidx27$i = 0, $arrayidx276$i = 0, $arrayidx287$i$i = 0, $arrayidx289$i = 0, $arrayidx290$i$i = 0, $arrayidx325$i$i = 0, $arrayidx355$i = 0, $arrayidx358$i = 0, $arrayidx394$i = 0;
- var $arrayidx40$i = 0, $arrayidx44$i = 0, $arrayidx61$i = 0, $arrayidx65$i = 0, $arrayidx66 = 0, $arrayidx71$i = 0, $arrayidx75$i = 0, $arrayidx91$i$i = 0, $arrayidx92$i$i = 0, $arrayidx94$i = 0, $arrayidx94$i156 = 0, $arrayidx96$i$i = 0, $bk = 0, $bk$i = 0, $bk$i$i = 0, $bk$i164 = 0, $bk$i34$i = 0, $bk102$i$i = 0, $bk122 = 0, $bk124 = 0;
- var $bk136$i = 0, $bk139$i$i = 0, $bk158$i$i = 0, $bk161$i$i = 0, $bk218$i = 0, $bk220$i = 0, $bk246$i$i = 0, $bk248$i$i = 0, $bk302$i$i = 0, $bk311$i = 0, $bk313$i = 0, $bk338$i$i = 0, $bk357$i$i = 0, $bk360$i$i = 0, $bk370$i = 0, $bk407$i = 0, $bk429$i = 0, $bk43$i$i = 0, $bk432$i = 0, $bk47$i = 0;
- var $bk55$i$i = 0, $bk67$i$i = 0, $bk74$i$i = 0, $bk78 = 0, $bk82$i$i = 0, $br$2$ph$i = 0, $call107$i = 0, $call131$i = 0, $call132$i = 0, $call275$i = 0, $call37$i = 0, $call68$i = 0, $call83$i = 0, $child$i$i = 0, $child166$i$i = 0, $child289$i$i = 0, $child357$i = 0, $cmp = 0, $cmp$i = 0, $cmp$i$i$i = 0;
- var $cmp$i11$i = 0, $cmp$i142 = 0, $cmp$i15$i = 0, $cmp$i181 = 0, $cmp$i21$i = 0, $cmp$i4$i$i = 0, $cmp$i50$i = 0, $cmp$i9$i = 0, $cmp1 = 0, $cmp1$i = 0, $cmp10 = 0, $cmp100$i$i = 0, $cmp102$i = 0, $cmp104$i$i = 0, $cmp105$i = 0, $cmp106$i$i = 0, $cmp107$i = 0, $cmp107$i157 = 0, $cmp108$i = 0, $cmp108$i$i = 0;
- var $cmp112$i$i = 0, $cmp113 = 0, $cmp114$i = 0, $cmp116$i = 0, $cmp118$i = 0, $cmp119$i = 0, $cmp12$i = 0, $cmp120$i$i = 0, $cmp120$i41$i = 0, $cmp121$i = 0, $cmp123$i = 0, $cmp124$i$i = 0, $cmp126$i = 0, $cmp127$i = 0, $cmp128 = 0, $cmp128$i = 0, $cmp128$i$i = 0, $cmp130$i = 0, $cmp133$i = 0, $cmp133$i$i = 0;
- var $cmp133$i199 = 0, $cmp135$i = 0, $cmp137$i = 0, $cmp137$i$i = 0, $cmp137$i200 = 0, $cmp138$i = 0, $cmp139 = 0, $cmp140$i = 0, $cmp141$i = 0, $cmp142$i = 0, $cmp144$i$i = 0, $cmp146 = 0, $cmp147$i = 0, $cmp14799$i = 0, $cmp15 = 0, $cmp15$i = 0, $cmp150$i$i = 0, $cmp151$i = 0, $cmp152$i = 0, $cmp153$i$i = 0;
- var $cmp155$i = 0, $cmp156 = 0, $cmp156$i = 0, $cmp156$i$i = 0, $cmp157$i = 0, $cmp159$i = 0, $cmp159$i202 = 0, $cmp16 = 0, $cmp160$i$i = 0, $cmp162 = 0, $cmp162$i = 0, $cmp162$i203 = 0, $cmp166$i = 0, $cmp168$i$i = 0, $cmp171$i = 0, $cmp172$i$i = 0, $cmp174$i = 0, $cmp180$i = 0, $cmp185$i = 0, $cmp185$i$i = 0;
- var $cmp186 = 0, $cmp186$i = 0, $cmp189$i$i = 0, $cmp19$i = 0, $cmp190$i = 0, $cmp191$i = 0, $cmp198$i = 0, $cmp2$i$i = 0, $cmp2$i$i$i = 0, $cmp20$i$i = 0, $cmp203$i = 0, $cmp205$i = 0, $cmp208$i = 0, $cmp209$i = 0, $cmp21$i = 0, $cmp215$i$i = 0, $cmp217$i = 0, $cmp218$i = 0, $cmp221$i = 0, $cmp224$i = 0;
- var $cmp228$i = 0, $cmp229$i = 0, $cmp233$i = 0, $cmp236$i$i = 0, $cmp24$i = 0, $cmp24$i$i = 0, $cmp246$i = 0, $cmp250$i = 0, $cmp254$i$i = 0, $cmp257$i = 0, $cmp258$i$i = 0, $cmp26$i = 0, $cmp265$i = 0, $cmp27$i$i = 0, $cmp28$i = 0, $cmp28$i$i = 0, $cmp284$i = 0, $cmp287$i = 0, $cmp29 = 0, $cmp3$i$i = 0;
- var $cmp301$i = 0, $cmp306$i$i = 0, $cmp31 = 0, $cmp319$i = 0, $cmp319$i$i = 0, $cmp32$i = 0, $cmp32$i187 = 0, $cmp323$i = 0, $cmp327$i$i = 0, $cmp33$i = 0, $cmp332$i$i = 0, $cmp34$i = 0, $cmp34$i$i = 0, $cmp346$i$i = 0, $cmp35$i = 0, $cmp350$i$i = 0, $cmp36$i = 0, $cmp36$i$i = 0, $cmp374$i = 0, $cmp38$i = 0;
- var $cmp38$i$i = 0, $cmp388$i = 0, $cmp396$i = 0, $cmp4$i = 0, $cmp40$i = 0, $cmp401$i = 0, $cmp41$i$i = 0, $cmp418$i = 0, $cmp42$i$i = 0, $cmp422$i = 0, $cmp43$i = 0, $cmp44$i$i = 0, $cmp45$i = 0, $cmp45$i155 = 0, $cmp46$i = 0, $cmp46$i$i = 0, $cmp46$i37$i = 0, $cmp48$i = 0, $cmp49$i = 0, $cmp5 = 0;
- var $cmp51$i = 0, $cmp54$i$i = 0, $cmp55$i = 0, $cmp55$i188 = 0, $cmp57$i = 0, $cmp57$i$i = 0, $cmp57$i189 = 0, $cmp59$i$i = 0, $cmp60$i = 0, $cmp60$i$i = 0, $cmp62$i = 0, $cmp63$i = 0, $cmp63$i$i = 0, $cmp65$i = 0, $cmp66$i = 0, $cmp66$i192 = 0, $cmp69$i = 0, $cmp7$i$i = 0, $cmp70 = 0, $cmp72$i = 0;
- var $cmp75$i$i = 0, $cmp76 = 0, $cmp76$i = 0, $cmp79 = 0, $cmp81$i = 0, $cmp81$i$i = 0, $cmp81$i194 = 0, $cmp83$i$i = 0, $cmp85$i = 0, $cmp86$i$i = 0, $cmp89$i = 0, $cmp9$i$i = 0, $cmp90$i = 0, $cmp91$i = 0, $cmp93$i = 0, $cmp95$i = 0, $cmp96$i = 0, $cmp97$i = 0, $cmp97$i$i = 0, $cmp978$i = 0;
- var $cmp99 = 0, $cond = 0, $cond$i = 0, $cond$i$i = 0, $cond$i$i$i = 0, $cond$i153 = 0, $cond$i17$i = 0, $cond$i24$i = 0, $cond$i53$i = 0, $cond115$i$i = 0, $cond13$i$i = 0, $cond15$i$i = 0, $cond3$i$i = 0, $cond315$i$i = 0, $cond383$i = 0, $cond4$i = 0, $fd$i = 0, $fd$i$i = 0, $fd$i165 = 0, $fd103$i$i = 0;
- var $fd123 = 0, $fd139$i = 0, $fd140$i$i = 0, $fd148$i$i = 0, $fd160$i$i = 0, $fd219$i = 0, $fd247$i$i = 0, $fd303$i$i = 0, $fd312$i = 0, $fd339$i$i = 0, $fd344$i$i = 0, $fd359$i$i = 0, $fd371$i = 0, $fd408$i = 0, $fd416$i = 0, $fd431$i = 0, $fd50$i = 0, $fd54$i$i = 0, $fd59$i$i = 0, $fd68$pre$phi$i$iZ2D = 0;
- var $fd69 = 0, $fd78$i$i = 0, $fd85$i$i = 0, $fd9 = 0, $head = 0, $head$i = 0, $head$i$i = 0, $head$i$i$i = 0, $head$i154 = 0, $head$i18$i = 0, $head$i30$i = 0, $head$i57$i = 0, $head118$i$i = 0, $head168 = 0, $head173 = 0, $head177 = 0, $head179 = 0, $head179$i = 0, $head182$i = 0, $head187$i = 0;
- var $head189$i = 0, $head195 = 0, $head198 = 0, $head208$i$i = 0, $head211$i$i = 0, $head23$i$i = 0, $head25 = 0, $head26$i$i = 0, $head265$i = 0, $head268$i = 0, $head271$i = 0, $head274$i = 0, $head279$i = 0, $head281$i = 0, $head29$i = 0, $head29$i$i = 0, $head317$i$i = 0, $head32$i$i = 0, $head34$i$i = 0, $head386$i = 0;
- var $head7$i$i = 0, $head7$i$i$i = 0, $head7$i59$i = 0, $head94 = 0, $head97 = 0, $head99$i = 0, $idx$0$i = 0, $index$i = 0, $index$i$i = 0, $index$i173 = 0, $index$i42$i = 0, $index288$i$i = 0, $index356$i = 0, $magic$i$i = 0, $nb$0 = 0, $neg = 0, $neg$i = 0, $neg$i$i = 0, $neg$i174 = 0, $neg$i185 = 0;
- var $neg103$i = 0, $neg13 = 0, $neg132$i$i = 0, $neg48$i = 0, $neg73 = 0, $next$i = 0, $next$i$i = 0, $next$i$i$i = 0, $next231$i = 0, $not$cmp141$i = 0, $not$cmp495$i = 0, $oldfirst$0$i$i = 0, $or$cond$i = 0, $or$cond$i190 = 0, $or$cond1$i = 0, $or$cond2$i = 0, $or$cond2$i193 = 0, $or$cond3$i = 0, $or$cond4$i = 0, $or$cond5$i = 0;
- var $or$cond7$i = 0, $or$cond7$not$i = 0, $or$cond8$i = 0, $or$cond97$i = 0, $or$cond98$i = 0, $or$i = 0, $or$i$i = 0, $or$i$i$i = 0, $or$i198 = 0, $or$i56$i = 0, $or101$i$i = 0, $or110 = 0, $or167 = 0, $or172 = 0, $or176 = 0, $or178$i = 0, $or180 = 0, $or183$i = 0, $or186$i = 0, $or188$i = 0;
- var $or19$i$i = 0, $or194 = 0, $or197 = 0, $or204$i = 0, $or210$i$i = 0, $or22$i$i = 0, $or23 = 0, $or232$i$i = 0, $or26 = 0, $or264$i = 0, $or267$i = 0, $or270$i = 0, $or275$i = 0, $or278$i = 0, $or28$i$i = 0, $or280$i = 0, $or297$i = 0, $or300$i$i = 0, $or33$i$i = 0, $or368$i = 0;
- var $or40 = 0, $or44$i$i = 0, $or93 = 0, $or96 = 0, $parent$i = 0, $parent$i$i = 0, $parent$i163 = 0, $parent$i39$i = 0, $parent135$i = 0, $parent138$i$i = 0, $parent149$i = 0, $parent162$i$i = 0, $parent165$i$i = 0, $parent166$i = 0, $parent179$i$i = 0, $parent196$i$i = 0, $parent226$i = 0, $parent240$i = 0, $parent257$i = 0, $parent301$i$i = 0;
- var $parent337$i$i = 0, $parent361$i$i = 0, $parent369$i = 0, $parent406$i = 0, $parent433$i = 0, $qsize$0$i$i = 0, $retval$0 = 0, $rsize$0$i = 0, $rsize$0$lcssa$i = 0, $rsize$08$i = 0, $rsize$1$i = 0, $rsize$3$i = 0, $rsize$4$lcssa$i = 0, $rsize$410$i = 0, $rst$0$i = 0, $rst$1$i = 0, $sflags193$i = 0, $sflags235$i = 0, $shl = 0, $shl$i = 0;
- var $shl$i$i = 0, $shl$i146 = 0, $shl$i35$i = 0, $shl102 = 0, $shl105 = 0, $shl116$i$i = 0, $shl12 = 0, $shl127$i$i = 0, $shl131$i$i = 0, $shl15$i = 0, $shl18$i = 0, $shl192$i = 0, $shl195$i = 0, $shl198$i = 0, $shl22 = 0, $shl222$i$i = 0, $shl226$i$i = 0, $shl265$i$i = 0, $shl270$i$i = 0, $shl276$i$i = 0;
- var $shl279$i$i = 0, $shl288$i = 0, $shl291$i = 0, $shl294$i$i = 0, $shl31$i = 0, $shl316$i$i = 0, $shl326$i$i = 0, $shl333$i = 0, $shl338$i = 0, $shl344$i = 0, $shl347$i = 0, $shl35 = 0, $shl362$i = 0, $shl37 = 0, $shl384$i = 0, $shl39$i$i = 0, $shl395$i = 0, $shl48$i$i = 0, $shl52$i = 0, $shl60$i = 0;
- var $shl65 = 0, $shl70$i$i = 0, $shl72 = 0, $shl75$i$i = 0, $shl81$i$i = 0, $shl84$i$i = 0, $shl9$i = 0, $shl90 = 0, $shl95$i$i = 0, $shr = 0, $shr$i = 0, $shr$i$i = 0, $shr$i141 = 0, $shr$i33$i = 0, $shr101 = 0, $shr11$i = 0, $shr11$i149 = 0, $shr110$i$i = 0, $shr12$i = 0, $shr124$i$i = 0;
- var $shr15$i = 0, $shr16$i = 0, $shr16$i150 = 0, $shr19$i = 0, $shr194$i = 0, $shr20$i = 0, $shr214$i$i = 0, $shr253$i$i = 0, $shr263$i$i = 0, $shr267$i$i = 0, $shr27$i = 0, $shr272$i$i = 0, $shr277$i$i = 0, $shr281$i$i = 0, $shr283$i = 0, $shr3 = 0, $shr310$i$i = 0, $shr318$i = 0, $shr323$i$i = 0, $shr330$i = 0;
- var $shr335$i = 0, $shr340$i = 0, $shr345$i = 0, $shr349$i = 0, $shr378$i = 0, $shr392$i = 0, $shr4$i = 0, $shr42$i = 0, $shr45 = 0, $shr47 = 0, $shr48 = 0, $shr5$i = 0, $shr5$i144 = 0, $shr51 = 0, $shr52 = 0, $shr55 = 0, $shr56 = 0, $shr58$i$i = 0, $shr59 = 0, $shr60 = 0;
- var $shr63 = 0, $shr68$i$i = 0, $shr7$i = 0, $shr7$i147 = 0, $shr72$i = 0, $shr72$i$i = 0, $shr75$i = 0, $shr76$i = 0, $shr77$i$i = 0, $shr79$i = 0, $shr8$i = 0, $shr80$i = 0, $shr82$i$i = 0, $shr83$i = 0, $shr84$i = 0, $shr86$i$i = 0, $shr87$i = 0, $shr88$i = 0, $shr91$i = 0, $size$i$i = 0;
- var $size$i$i$i = 0, $size188$i = 0, $size245$i = 0, $sizebits$0$i = 0, $sizebits$0$shl52$i = 0, $sp$0$i$i = 0, $sp$0$i$i$i = 0, $sp$0108$i = 0, $sp$1107$i = 0, $ssize$2$ph$i = 0, $sub = 0, $sub$i = 0, $sub$i$i = 0, $sub$i$i$i = 0, $sub$i140 = 0, $sub$i16$i = 0, $sub$i184 = 0, $sub$i22$i = 0, $sub$i51$i = 0, $sub$ptr$lhs$cast$i = 0;
- var $sub$ptr$lhs$cast$i$i = 0, $sub$ptr$lhs$cast$i27$i = 0, $sub$ptr$rhs$cast$i = 0, $sub$ptr$rhs$cast$i$i = 0, $sub$ptr$rhs$cast$i28$i = 0, $sub$ptr$sub$i = 0, $sub$ptr$sub$i$i = 0, $sub$ptr$sub$i29$i = 0, $sub$ptr$sub$tsize$4$i = 0, $sub10$i = 0, $sub101$i = 0, $sub101$rsize$4$i = 0, $sub112$i = 0, $sub113$i$i = 0, $sub118$i = 0, $sub12$i$i = 0, $sub14$i = 0, $sub16$i$i = 0, $sub160 = 0, $sub172$i = 0;
- var $sub18$i$i = 0, $sub190 = 0, $sub2$i = 0, $sub22$i = 0, $sub260$i = 0, $sub262$i$i = 0, $sub266$i$i = 0, $sub271$i$i = 0, $sub275$i$i = 0, $sub30$i = 0, $sub31$i = 0, $sub31$rsize$0$i = 0, $sub313$i$i = 0, $sub329$i = 0, $sub33$i = 0, $sub334$i = 0, $sub339$i = 0, $sub343$i = 0, $sub381$i = 0, $sub4$i = 0;
- var $sub41$i = 0, $sub42 = 0, $sub44 = 0, $sub5$i$i = 0, $sub5$i$i$i = 0, $sub5$i55$i = 0, $sub50$i = 0, $sub6$i = 0, $sub63$i = 0, $sub67$i = 0, $sub67$i$i = 0, $sub70$i = 0, $sub71$i$i = 0, $sub76$i$i = 0, $sub80$i$i = 0, $sub91 = 0, $sub99$i = 0, $t$0$i = 0, $t$2$i = 0, $t$4$ph$i = 0;
- var $t$4$v$4$i = 0, $t$49$i = 0, $tbase$796$i = 0, $tobool$i$i = 0, $tobool107 = 0, $tobool195$i = 0, $tobool200$i = 0, $tobool228$i$i = 0, $tobool237$i = 0, $tobool293$i = 0, $tobool296$i$i = 0, $tobool30$i = 0, $tobool364$i = 0, $tobool97$i$i = 0, $tsize$2657583$i = 0, $tsize$4$i = 0, $tsize$795$i = 0, $v$0$i = 0, $v$0$lcssa$i = 0, $v$09$i = 0;
- var $v$1$i = 0, $v$3$i = 0, $v$4$lcssa$i = 0, $v$4$ph$i = 0, $v$411$i = 0, $xor$i$i = 0, label = 0, sp = 0;
+ var $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0;
+ var $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0;
+ var $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0;
+ var $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0;
+ var $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0;
+ var $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0;
+ var $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0;
+ var $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0;
+ var $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0;
+ var $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0;
+ var $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0;
+ var $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0;
+ var $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0;
+ var $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0;
+ var $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0;
+ var $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0;
+ var $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0;
+ var $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0;
+ var $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0;
+ var $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0;
+ var $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0;
+ var $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0;
+ var $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $6 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0;
+ var $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0;
+ var $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0;
+ var $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0;
+ var $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0;
+ var $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0;
+ var $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0;
+ var $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0;
+ var $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0;
+ var $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0;
+ var $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $79 = 0, $8 = 0, $80 = 0;
+ var $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0;
+ var dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 80|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(80|0);
+ $13 = sp + 48|0;
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $16 = $4;
+ $17 = ((($16)) + 2772|0);
+ $14 = $17;
+ $18 = $4;
+ $19 = ((($18)) + 2316|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = $14;
+ $22 = ((($21)) + 1384|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = ($20|0)!=($23|0);
+ if ($24) {
+ $25 = $4;
+ _silk_CNG_Reset($25);
+ $26 = $4;
+ $27 = ((($26)) + 2316|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = $14;
+ $30 = ((($29)) + 1384|0);
+ HEAP32[$30>>2] = $28;
+ }
+ $31 = $4;
+ $32 = ((($31)) + 4160|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = ($33|0)==(0);
+ L4: do {
+ if ($34) {
+ $35 = $4;
+ $36 = ((($35)) + 4164|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = ($37|0)==(0);
+ if ($38) {
+ $8 = 0;
+ while(1) {
+ $39 = $8;
+ $40 = $4;
+ $41 = ((($40)) + 2340|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = ($39|0)<($42|0);
+ if (!($43)) {
+ break;
+ }
+ $44 = $4;
+ $45 = ((($44)) + 2344|0);
+ $46 = $8;
+ $47 = (($45) + ($46<<1)|0);
+ $48 = HEAP16[$47>>1]|0;
+ $49 = $48 << 16 >> 16;
+ $50 = $14;
+ $51 = ((($50)) + 1280|0);
+ $52 = $8;
+ $53 = (($51) + ($52<<1)|0);
+ $54 = HEAP16[$53>>1]|0;
+ $55 = $54 << 16 >> 16;
+ $56 = (($49) - ($55))|0;
+ $57 = $56 >> 16;
+ $58 = ($57*16348)|0;
+ $59 = $4;
+ $60 = ((($59)) + 2344|0);
+ $61 = $8;
+ $62 = (($60) + ($61<<1)|0);
+ $63 = HEAP16[$62>>1]|0;
+ $64 = $63 << 16 >> 16;
+ $65 = $14;
+ $66 = ((($65)) + 1280|0);
+ $67 = $8;
+ $68 = (($66) + ($67<<1)|0);
+ $69 = HEAP16[$68>>1]|0;
+ $70 = $69 << 16 >> 16;
+ $71 = (($64) - ($70))|0;
+ $72 = $71 & 65535;
+ $73 = ($72*16348)|0;
+ $74 = $73 >> 16;
+ $75 = (($58) + ($74))|0;
+ $76 = $14;
+ $77 = ((($76)) + 1280|0);
+ $78 = $8;
+ $79 = (($77) + ($78<<1)|0);
+ $80 = HEAP16[$79>>1]|0;
+ $81 = $80 << 16 >> 16;
+ $82 = (($81) + ($75))|0;
+ $83 = $82&65535;
+ HEAP16[$79>>1] = $83;
+ $84 = $8;
+ $85 = (($84) + 1)|0;
+ $8 = $85;
+ }
+ $11 = 0;
+ $9 = 0;
+ $8 = 0;
+ while(1) {
+ $86 = $8;
+ $87 = $4;
+ $88 = ((($87)) + 2324|0);
+ $89 = HEAP32[$88>>2]|0;
+ $90 = ($86|0)<($89|0);
+ if (!($90)) {
+ break;
+ }
+ $91 = $5;
+ $92 = ((($91)) + 16|0);
+ $93 = $8;
+ $94 = (($92) + ($93<<2)|0);
+ $95 = HEAP32[$94>>2]|0;
+ $96 = $11;
+ $97 = ($95|0)>($96|0);
+ if ($97) {
+ $98 = $5;
+ $99 = ((($98)) + 16|0);
+ $100 = $8;
+ $101 = (($99) + ($100<<2)|0);
+ $102 = HEAP32[$101>>2]|0;
+ $11 = $102;
+ $103 = $8;
+ $9 = $103;
+ }
+ $104 = $8;
+ $105 = (($104) + 1)|0;
+ $8 = $105;
+ }
+ $106 = $14;
+ $107 = $4;
+ $108 = ((($107)) + 2332|0);
+ $109 = HEAP32[$108>>2]|0;
+ $110 = (($106) + ($109<<2)|0);
+ $111 = $14;
+ $112 = $4;
+ $113 = ((($112)) + 2324|0);
+ $114 = HEAP32[$113>>2]|0;
+ $115 = (($114) - 1)|0;
+ $116 = $4;
+ $117 = ((($116)) + 2332|0);
+ $118 = HEAP32[$117>>2]|0;
+ $119 = Math_imul($115, $118)|0;
+ $120 = $119<<2;
+ _memmove(($110|0),($111|0),($120|0))|0;
+ $121 = $14;
+ $122 = $4;
+ $123 = ((($122)) + 4|0);
+ $124 = $9;
+ $125 = $4;
+ $126 = ((($125)) + 2332|0);
+ $127 = HEAP32[$126>>2]|0;
+ $128 = Math_imul($124, $127)|0;
+ $129 = (($123) + ($128<<2)|0);
+ $130 = $4;
+ $131 = ((($130)) + 2332|0);
+ $132 = HEAP32[$131>>2]|0;
+ $133 = $132<<2;
+ _memcpy(($121|0),($129|0),($133|0))|0;
+ $8 = 0;
+ while(1) {
+ $134 = $8;
+ $135 = $4;
+ $136 = ((($135)) + 2324|0);
+ $137 = HEAP32[$136>>2]|0;
+ $138 = ($134|0)<($137|0);
+ if (!($138)) {
+ break L4;
+ }
+ $139 = $5;
+ $140 = ((($139)) + 16|0);
+ $141 = $8;
+ $142 = (($140) + ($141<<2)|0);
+ $143 = HEAP32[$142>>2]|0;
+ $144 = $14;
+ $145 = ((($144)) + 1376|0);
+ $146 = HEAP32[$145>>2]|0;
+ $147 = (($143) - ($146))|0;
+ $148 = $147 >> 16;
+ $149 = ($148*4634)|0;
+ $150 = $5;
+ $151 = ((($150)) + 16|0);
+ $152 = $8;
+ $153 = (($151) + ($152<<2)|0);
+ $154 = HEAP32[$153>>2]|0;
+ $155 = $14;
+ $156 = ((($155)) + 1376|0);
+ $157 = HEAP32[$156>>2]|0;
+ $158 = (($154) - ($157))|0;
+ $159 = $158 & 65535;
+ $160 = ($159*4634)|0;
+ $161 = $160 >> 16;
+ $162 = (($149) + ($161))|0;
+ $163 = $14;
+ $164 = ((($163)) + 1376|0);
+ $165 = HEAP32[$164>>2]|0;
+ $166 = (($165) + ($162))|0;
+ HEAP32[$164>>2] = $166;
+ $167 = $8;
+ $168 = (($167) + 1)|0;
+ $8 = $168;
+ }
+ }
+ }
+ } while(0);
+ $169 = $4;
+ $170 = ((($169)) + 4160|0);
+ $171 = HEAP32[$170>>2]|0;
+ $172 = ($171|0)!=(0);
+ if (!($172)) {
+ $777 = $14;
+ $778 = ((($777)) + 1312|0);
+ $779 = $4;
+ $780 = ((($779)) + 2340|0);
+ $781 = HEAP32[$780>>2]|0;
+ $782 = $781<<2;
+ _memset(($778|0),0,($782|0))|0;
+ STACKTOP = sp;return;
+ }
+ $173 = $7;
+ $174 = (($173) + 16)|0;
+ $175 = (_llvm_stacksave()|0);
+ $15 = $175;
+ $$alloca_mul = $174<<2;
+ $176 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $177 = $4;
+ $178 = ((($177)) + 4168|0);
+ $179 = ((($178)) + 56|0);
+ $180 = HEAP16[$179>>1]|0;
+ $181 = $180 << 16 >> 16;
+ $182 = $181 >> 16;
+ $183 = $4;
+ $184 = ((($183)) + 4168|0);
+ $185 = ((($184)) + 72|0);
+ $186 = ((($185)) + 4|0);
+ $187 = HEAP32[$186>>2]|0;
+ $188 = $187&65535;
+ $189 = $188 << 16 >> 16;
+ $190 = Math_imul($182, $189)|0;
+ $191 = $4;
+ $192 = ((($191)) + 4168|0);
+ $193 = ((($192)) + 56|0);
+ $194 = HEAP16[$193>>1]|0;
+ $195 = $194 << 16 >> 16;
+ $196 = $195 & 65535;
+ $197 = $4;
+ $198 = ((($197)) + 4168|0);
+ $199 = ((($198)) + 72|0);
+ $200 = ((($199)) + 4|0);
+ $201 = HEAP32[$200>>2]|0;
+ $202 = $201&65535;
+ $203 = $202 << 16 >> 16;
+ $204 = Math_imul($196, $203)|0;
+ $205 = $204 >> 16;
+ $206 = (($190) + ($205))|0;
+ $207 = $4;
+ $208 = ((($207)) + 4168|0);
+ $209 = ((($208)) + 56|0);
+ $210 = HEAP16[$209>>1]|0;
+ $211 = $210 << 16 >> 16;
+ $212 = $4;
+ $213 = ((($212)) + 4168|0);
+ $214 = ((($213)) + 72|0);
+ $215 = ((($214)) + 4|0);
+ $216 = HEAP32[$215>>2]|0;
+ $217 = $216 >> 15;
+ $218 = (($217) + 1)|0;
+ $219 = $218 >> 1;
+ $220 = Math_imul($211, $219)|0;
+ $221 = (($206) + ($220))|0;
+ $12 = $221;
+ $222 = $12;
+ $223 = ($222|0)>=(2097152);
+ if ($223) {
+ label = 19;
+ } else {
+ $224 = $14;
+ $225 = ((($224)) + 1376|0);
+ $226 = HEAP32[$225>>2]|0;
+ $227 = ($226|0)>(8388608);
+ if ($227) {
+ label = 19;
+ } else {
+ $248 = $12;
+ $249 = $248 >> 16;
+ $250 = $12;
+ $251 = $250&65535;
+ $252 = $251 << 16 >> 16;
+ $253 = Math_imul($249, $252)|0;
+ $254 = $12;
+ $255 = $254 & 65535;
+ $256 = $12;
+ $257 = $256&65535;
+ $258 = $257 << 16 >> 16;
+ $259 = Math_imul($255, $258)|0;
+ $260 = $259 >> 16;
+ $261 = (($253) + ($260))|0;
+ $262 = $12;
+ $263 = $12;
+ $264 = $263 >> 15;
+ $265 = (($264) + 1)|0;
+ $266 = $265 >> 1;
+ $267 = Math_imul($262, $266)|0;
+ $268 = (($261) + ($267))|0;
+ $12 = $268;
+ $269 = $14;
+ $270 = ((($269)) + 1376|0);
+ $271 = HEAP32[$270>>2]|0;
+ $272 = $271 >> 16;
+ $273 = $14;
+ $274 = ((($273)) + 1376|0);
+ $275 = HEAP32[$274>>2]|0;
+ $276 = $275&65535;
+ $277 = $276 << 16 >> 16;
+ $278 = Math_imul($272, $277)|0;
+ $279 = $14;
+ $280 = ((($279)) + 1376|0);
+ $281 = HEAP32[$280>>2]|0;
+ $282 = $281 & 65535;
+ $283 = $14;
+ $284 = ((($283)) + 1376|0);
+ $285 = HEAP32[$284>>2]|0;
+ $286 = $285&65535;
+ $287 = $286 << 16 >> 16;
+ $288 = Math_imul($282, $287)|0;
+ $289 = $288 >> 16;
+ $290 = (($278) + ($289))|0;
+ $291 = $14;
+ $292 = ((($291)) + 1376|0);
+ $293 = HEAP32[$292>>2]|0;
+ $294 = $14;
+ $295 = ((($294)) + 1376|0);
+ $296 = HEAP32[$295>>2]|0;
+ $297 = $296 >> 15;
+ $298 = (($297) + 1)|0;
+ $299 = $298 >> 1;
+ $300 = Math_imul($293, $299)|0;
+ $301 = (($290) + ($300))|0;
+ $302 = $12;
+ $303 = $302 << 5;
+ $304 = (($301) - ($303))|0;
+ $12 = $304;
+ $305 = $12;
+ $306 = (_silk_SQRT_APPROX_543($305)|0);
+ $307 = $306 << 8;
+ $12 = $307;
+ }
+ }
+ if ((label|0) == 19) {
+ $228 = $12;
+ $229 = $228 >> 16;
+ $230 = $12;
+ $231 = $230 >> 16;
+ $232 = Math_imul($229, $231)|0;
+ $12 = $232;
+ $233 = $14;
+ $234 = ((($233)) + 1376|0);
+ $235 = HEAP32[$234>>2]|0;
+ $236 = $235 >> 16;
+ $237 = $14;
+ $238 = ((($237)) + 1376|0);
+ $239 = HEAP32[$238>>2]|0;
+ $240 = $239 >> 16;
+ $241 = Math_imul($236, $240)|0;
+ $242 = $12;
+ $243 = $242 << 5;
+ $244 = (($241) - ($243))|0;
+ $12 = $244;
+ $245 = $12;
+ $246 = (_silk_SQRT_APPROX_543($245)|0);
+ $247 = $246 << 16;
+ $12 = $247;
+ }
+ $308 = ((($176)) + 64|0);
+ $309 = $14;
+ $310 = $12;
+ $311 = $7;
+ $312 = $14;
+ $313 = ((($312)) + 1380|0);
+ _silk_CNG_exc($308,$309,$310,$311,$313);
+ $314 = $14;
+ $315 = ((($314)) + 1280|0);
+ $316 = $4;
+ $317 = ((($316)) + 2340|0);
+ $318 = HEAP32[$317>>2]|0;
+ _silk_NLSF2A($13,$315,$318);
+ $319 = $14;
+ $320 = ((($319)) + 1312|0);
+ dest=$176; src=$320; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $8 = 0;
+ while(1) {
+ $321 = $8;
+ $322 = $7;
+ $323 = ($321|0)<($322|0);
+ if (!($323)) {
+ break;
+ }
+ $324 = $4;
+ $325 = ((($324)) + 2340|0);
+ $326 = HEAP32[$325>>2]|0;
+ $327 = $326 >> 1;
+ $10 = $327;
+ $328 = $10;
+ $329 = $8;
+ $330 = (16 + ($329))|0;
+ $331 = (($330) - 1)|0;
+ $332 = (($176) + ($331<<2)|0);
+ $333 = HEAP32[$332>>2]|0;
+ $334 = $333 >> 16;
+ $335 = HEAP16[$13>>1]|0;
+ $336 = $335 << 16 >> 16;
+ $337 = Math_imul($334, $336)|0;
+ $338 = $8;
+ $339 = (16 + ($338))|0;
+ $340 = (($339) - 1)|0;
+ $341 = (($176) + ($340<<2)|0);
+ $342 = HEAP32[$341>>2]|0;
+ $343 = $342 & 65535;
+ $344 = HEAP16[$13>>1]|0;
+ $345 = $344 << 16 >> 16;
+ $346 = Math_imul($343, $345)|0;
+ $347 = $346 >> 16;
+ $348 = (($337) + ($347))|0;
+ $349 = (($328) + ($348))|0;
+ $10 = $349;
+ $350 = $10;
+ $351 = $8;
+ $352 = (16 + ($351))|0;
+ $353 = (($352) - 2)|0;
+ $354 = (($176) + ($353<<2)|0);
+ $355 = HEAP32[$354>>2]|0;
+ $356 = $355 >> 16;
+ $357 = ((($13)) + 2|0);
+ $358 = HEAP16[$357>>1]|0;
+ $359 = $358 << 16 >> 16;
+ $360 = Math_imul($356, $359)|0;
+ $361 = $8;
+ $362 = (16 + ($361))|0;
+ $363 = (($362) - 2)|0;
+ $364 = (($176) + ($363<<2)|0);
+ $365 = HEAP32[$364>>2]|0;
+ $366 = $365 & 65535;
+ $367 = ((($13)) + 2|0);
+ $368 = HEAP16[$367>>1]|0;
+ $369 = $368 << 16 >> 16;
+ $370 = Math_imul($366, $369)|0;
+ $371 = $370 >> 16;
+ $372 = (($360) + ($371))|0;
+ $373 = (($350) + ($372))|0;
+ $10 = $373;
+ $374 = $10;
+ $375 = $8;
+ $376 = (16 + ($375))|0;
+ $377 = (($376) - 3)|0;
+ $378 = (($176) + ($377<<2)|0);
+ $379 = HEAP32[$378>>2]|0;
+ $380 = $379 >> 16;
+ $381 = ((($13)) + 4|0);
+ $382 = HEAP16[$381>>1]|0;
+ $383 = $382 << 16 >> 16;
+ $384 = Math_imul($380, $383)|0;
+ $385 = $8;
+ $386 = (16 + ($385))|0;
+ $387 = (($386) - 3)|0;
+ $388 = (($176) + ($387<<2)|0);
+ $389 = HEAP32[$388>>2]|0;
+ $390 = $389 & 65535;
+ $391 = ((($13)) + 4|0);
+ $392 = HEAP16[$391>>1]|0;
+ $393 = $392 << 16 >> 16;
+ $394 = Math_imul($390, $393)|0;
+ $395 = $394 >> 16;
+ $396 = (($384) + ($395))|0;
+ $397 = (($374) + ($396))|0;
+ $10 = $397;
+ $398 = $10;
+ $399 = $8;
+ $400 = (16 + ($399))|0;
+ $401 = (($400) - 4)|0;
+ $402 = (($176) + ($401<<2)|0);
+ $403 = HEAP32[$402>>2]|0;
+ $404 = $403 >> 16;
+ $405 = ((($13)) + 6|0);
+ $406 = HEAP16[$405>>1]|0;
+ $407 = $406 << 16 >> 16;
+ $408 = Math_imul($404, $407)|0;
+ $409 = $8;
+ $410 = (16 + ($409))|0;
+ $411 = (($410) - 4)|0;
+ $412 = (($176) + ($411<<2)|0);
+ $413 = HEAP32[$412>>2]|0;
+ $414 = $413 & 65535;
+ $415 = ((($13)) + 6|0);
+ $416 = HEAP16[$415>>1]|0;
+ $417 = $416 << 16 >> 16;
+ $418 = Math_imul($414, $417)|0;
+ $419 = $418 >> 16;
+ $420 = (($408) + ($419))|0;
+ $421 = (($398) + ($420))|0;
+ $10 = $421;
+ $422 = $10;
+ $423 = $8;
+ $424 = (16 + ($423))|0;
+ $425 = (($424) - 5)|0;
+ $426 = (($176) + ($425<<2)|0);
+ $427 = HEAP32[$426>>2]|0;
+ $428 = $427 >> 16;
+ $429 = ((($13)) + 8|0);
+ $430 = HEAP16[$429>>1]|0;
+ $431 = $430 << 16 >> 16;
+ $432 = Math_imul($428, $431)|0;
+ $433 = $8;
+ $434 = (16 + ($433))|0;
+ $435 = (($434) - 5)|0;
+ $436 = (($176) + ($435<<2)|0);
+ $437 = HEAP32[$436>>2]|0;
+ $438 = $437 & 65535;
+ $439 = ((($13)) + 8|0);
+ $440 = HEAP16[$439>>1]|0;
+ $441 = $440 << 16 >> 16;
+ $442 = Math_imul($438, $441)|0;
+ $443 = $442 >> 16;
+ $444 = (($432) + ($443))|0;
+ $445 = (($422) + ($444))|0;
+ $10 = $445;
+ $446 = $10;
+ $447 = $8;
+ $448 = (16 + ($447))|0;
+ $449 = (($448) - 6)|0;
+ $450 = (($176) + ($449<<2)|0);
+ $451 = HEAP32[$450>>2]|0;
+ $452 = $451 >> 16;
+ $453 = ((($13)) + 10|0);
+ $454 = HEAP16[$453>>1]|0;
+ $455 = $454 << 16 >> 16;
+ $456 = Math_imul($452, $455)|0;
+ $457 = $8;
+ $458 = (16 + ($457))|0;
+ $459 = (($458) - 6)|0;
+ $460 = (($176) + ($459<<2)|0);
+ $461 = HEAP32[$460>>2]|0;
+ $462 = $461 & 65535;
+ $463 = ((($13)) + 10|0);
+ $464 = HEAP16[$463>>1]|0;
+ $465 = $464 << 16 >> 16;
+ $466 = Math_imul($462, $465)|0;
+ $467 = $466 >> 16;
+ $468 = (($456) + ($467))|0;
+ $469 = (($446) + ($468))|0;
+ $10 = $469;
+ $470 = $10;
+ $471 = $8;
+ $472 = (16 + ($471))|0;
+ $473 = (($472) - 7)|0;
+ $474 = (($176) + ($473<<2)|0);
+ $475 = HEAP32[$474>>2]|0;
+ $476 = $475 >> 16;
+ $477 = ((($13)) + 12|0);
+ $478 = HEAP16[$477>>1]|0;
+ $479 = $478 << 16 >> 16;
+ $480 = Math_imul($476, $479)|0;
+ $481 = $8;
+ $482 = (16 + ($481))|0;
+ $483 = (($482) - 7)|0;
+ $484 = (($176) + ($483<<2)|0);
+ $485 = HEAP32[$484>>2]|0;
+ $486 = $485 & 65535;
+ $487 = ((($13)) + 12|0);
+ $488 = HEAP16[$487>>1]|0;
+ $489 = $488 << 16 >> 16;
+ $490 = Math_imul($486, $489)|0;
+ $491 = $490 >> 16;
+ $492 = (($480) + ($491))|0;
+ $493 = (($470) + ($492))|0;
+ $10 = $493;
+ $494 = $10;
+ $495 = $8;
+ $496 = (16 + ($495))|0;
+ $497 = (($496) - 8)|0;
+ $498 = (($176) + ($497<<2)|0);
+ $499 = HEAP32[$498>>2]|0;
+ $500 = $499 >> 16;
+ $501 = ((($13)) + 14|0);
+ $502 = HEAP16[$501>>1]|0;
+ $503 = $502 << 16 >> 16;
+ $504 = Math_imul($500, $503)|0;
+ $505 = $8;
+ $506 = (16 + ($505))|0;
+ $507 = (($506) - 8)|0;
+ $508 = (($176) + ($507<<2)|0);
+ $509 = HEAP32[$508>>2]|0;
+ $510 = $509 & 65535;
+ $511 = ((($13)) + 14|0);
+ $512 = HEAP16[$511>>1]|0;
+ $513 = $512 << 16 >> 16;
+ $514 = Math_imul($510, $513)|0;
+ $515 = $514 >> 16;
+ $516 = (($504) + ($515))|0;
+ $517 = (($494) + ($516))|0;
+ $10 = $517;
+ $518 = $10;
+ $519 = $8;
+ $520 = (16 + ($519))|0;
+ $521 = (($520) - 9)|0;
+ $522 = (($176) + ($521<<2)|0);
+ $523 = HEAP32[$522>>2]|0;
+ $524 = $523 >> 16;
+ $525 = ((($13)) + 16|0);
+ $526 = HEAP16[$525>>1]|0;
+ $527 = $526 << 16 >> 16;
+ $528 = Math_imul($524, $527)|0;
+ $529 = $8;
+ $530 = (16 + ($529))|0;
+ $531 = (($530) - 9)|0;
+ $532 = (($176) + ($531<<2)|0);
+ $533 = HEAP32[$532>>2]|0;
+ $534 = $533 & 65535;
+ $535 = ((($13)) + 16|0);
+ $536 = HEAP16[$535>>1]|0;
+ $537 = $536 << 16 >> 16;
+ $538 = Math_imul($534, $537)|0;
+ $539 = $538 >> 16;
+ $540 = (($528) + ($539))|0;
+ $541 = (($518) + ($540))|0;
+ $10 = $541;
+ $542 = $10;
+ $543 = $8;
+ $544 = (16 + ($543))|0;
+ $545 = (($544) - 10)|0;
+ $546 = (($176) + ($545<<2)|0);
+ $547 = HEAP32[$546>>2]|0;
+ $548 = $547 >> 16;
+ $549 = ((($13)) + 18|0);
+ $550 = HEAP16[$549>>1]|0;
+ $551 = $550 << 16 >> 16;
+ $552 = Math_imul($548, $551)|0;
+ $553 = $8;
+ $554 = (16 + ($553))|0;
+ $555 = (($554) - 10)|0;
+ $556 = (($176) + ($555<<2)|0);
+ $557 = HEAP32[$556>>2]|0;
+ $558 = $557 & 65535;
+ $559 = ((($13)) + 18|0);
+ $560 = HEAP16[$559>>1]|0;
+ $561 = $560 << 16 >> 16;
+ $562 = Math_imul($558, $561)|0;
+ $563 = $562 >> 16;
+ $564 = (($552) + ($563))|0;
+ $565 = (($542) + ($564))|0;
+ $10 = $565;
+ $566 = $4;
+ $567 = ((($566)) + 2340|0);
+ $568 = HEAP32[$567>>2]|0;
+ $569 = ($568|0)==(16);
+ if ($569) {
+ $570 = $10;
+ $571 = $8;
+ $572 = (16 + ($571))|0;
+ $573 = (($572) - 11)|0;
+ $574 = (($176) + ($573<<2)|0);
+ $575 = HEAP32[$574>>2]|0;
+ $576 = $575 >> 16;
+ $577 = ((($13)) + 20|0);
+ $578 = HEAP16[$577>>1]|0;
+ $579 = $578 << 16 >> 16;
+ $580 = Math_imul($576, $579)|0;
+ $581 = $8;
+ $582 = (16 + ($581))|0;
+ $583 = (($582) - 11)|0;
+ $584 = (($176) + ($583<<2)|0);
+ $585 = HEAP32[$584>>2]|0;
+ $586 = $585 & 65535;
+ $587 = ((($13)) + 20|0);
+ $588 = HEAP16[$587>>1]|0;
+ $589 = $588 << 16 >> 16;
+ $590 = Math_imul($586, $589)|0;
+ $591 = $590 >> 16;
+ $592 = (($580) + ($591))|0;
+ $593 = (($570) + ($592))|0;
+ $10 = $593;
+ $594 = $10;
+ $595 = $8;
+ $596 = (16 + ($595))|0;
+ $597 = (($596) - 12)|0;
+ $598 = (($176) + ($597<<2)|0);
+ $599 = HEAP32[$598>>2]|0;
+ $600 = $599 >> 16;
+ $601 = ((($13)) + 22|0);
+ $602 = HEAP16[$601>>1]|0;
+ $603 = $602 << 16 >> 16;
+ $604 = Math_imul($600, $603)|0;
+ $605 = $8;
+ $606 = (16 + ($605))|0;
+ $607 = (($606) - 12)|0;
+ $608 = (($176) + ($607<<2)|0);
+ $609 = HEAP32[$608>>2]|0;
+ $610 = $609 & 65535;
+ $611 = ((($13)) + 22|0);
+ $612 = HEAP16[$611>>1]|0;
+ $613 = $612 << 16 >> 16;
+ $614 = Math_imul($610, $613)|0;
+ $615 = $614 >> 16;
+ $616 = (($604) + ($615))|0;
+ $617 = (($594) + ($616))|0;
+ $10 = $617;
+ $618 = $10;
+ $619 = $8;
+ $620 = (16 + ($619))|0;
+ $621 = (($620) - 13)|0;
+ $622 = (($176) + ($621<<2)|0);
+ $623 = HEAP32[$622>>2]|0;
+ $624 = $623 >> 16;
+ $625 = ((($13)) + 24|0);
+ $626 = HEAP16[$625>>1]|0;
+ $627 = $626 << 16 >> 16;
+ $628 = Math_imul($624, $627)|0;
+ $629 = $8;
+ $630 = (16 + ($629))|0;
+ $631 = (($630) - 13)|0;
+ $632 = (($176) + ($631<<2)|0);
+ $633 = HEAP32[$632>>2]|0;
+ $634 = $633 & 65535;
+ $635 = ((($13)) + 24|0);
+ $636 = HEAP16[$635>>1]|0;
+ $637 = $636 << 16 >> 16;
+ $638 = Math_imul($634, $637)|0;
+ $639 = $638 >> 16;
+ $640 = (($628) + ($639))|0;
+ $641 = (($618) + ($640))|0;
+ $10 = $641;
+ $642 = $10;
+ $643 = $8;
+ $644 = (16 + ($643))|0;
+ $645 = (($644) - 14)|0;
+ $646 = (($176) + ($645<<2)|0);
+ $647 = HEAP32[$646>>2]|0;
+ $648 = $647 >> 16;
+ $649 = ((($13)) + 26|0);
+ $650 = HEAP16[$649>>1]|0;
+ $651 = $650 << 16 >> 16;
+ $652 = Math_imul($648, $651)|0;
+ $653 = $8;
+ $654 = (16 + ($653))|0;
+ $655 = (($654) - 14)|0;
+ $656 = (($176) + ($655<<2)|0);
+ $657 = HEAP32[$656>>2]|0;
+ $658 = $657 & 65535;
+ $659 = ((($13)) + 26|0);
+ $660 = HEAP16[$659>>1]|0;
+ $661 = $660 << 16 >> 16;
+ $662 = Math_imul($658, $661)|0;
+ $663 = $662 >> 16;
+ $664 = (($652) + ($663))|0;
+ $665 = (($642) + ($664))|0;
+ $10 = $665;
+ $666 = $10;
+ $667 = $8;
+ $668 = (16 + ($667))|0;
+ $669 = (($668) - 15)|0;
+ $670 = (($176) + ($669<<2)|0);
+ $671 = HEAP32[$670>>2]|0;
+ $672 = $671 >> 16;
+ $673 = ((($13)) + 28|0);
+ $674 = HEAP16[$673>>1]|0;
+ $675 = $674 << 16 >> 16;
+ $676 = Math_imul($672, $675)|0;
+ $677 = $8;
+ $678 = (16 + ($677))|0;
+ $679 = (($678) - 15)|0;
+ $680 = (($176) + ($679<<2)|0);
+ $681 = HEAP32[$680>>2]|0;
+ $682 = $681 & 65535;
+ $683 = ((($13)) + 28|0);
+ $684 = HEAP16[$683>>1]|0;
+ $685 = $684 << 16 >> 16;
+ $686 = Math_imul($682, $685)|0;
+ $687 = $686 >> 16;
+ $688 = (($676) + ($687))|0;
+ $689 = (($666) + ($688))|0;
+ $10 = $689;
+ $690 = $10;
+ $691 = $8;
+ $692 = (16 + ($691))|0;
+ $693 = (($692) - 16)|0;
+ $694 = (($176) + ($693<<2)|0);
+ $695 = HEAP32[$694>>2]|0;
+ $696 = $695 >> 16;
+ $697 = ((($13)) + 30|0);
+ $698 = HEAP16[$697>>1]|0;
+ $699 = $698 << 16 >> 16;
+ $700 = Math_imul($696, $699)|0;
+ $701 = $8;
+ $702 = (16 + ($701))|0;
+ $703 = (($702) - 16)|0;
+ $704 = (($176) + ($703<<2)|0);
+ $705 = HEAP32[$704>>2]|0;
+ $706 = $705 & 65535;
+ $707 = ((($13)) + 30|0);
+ $708 = HEAP16[$707>>1]|0;
+ $709 = $708 << 16 >> 16;
+ $710 = Math_imul($706, $709)|0;
+ $711 = $710 >> 16;
+ $712 = (($700) + ($711))|0;
+ $713 = (($690) + ($712))|0;
+ $10 = $713;
+ }
+ $714 = $8;
+ $715 = (16 + ($714))|0;
+ $716 = (($176) + ($715<<2)|0);
+ $717 = HEAP32[$716>>2]|0;
+ $718 = $10;
+ $719 = $718 << 4;
+ $720 = (($717) + ($719))|0;
+ $721 = $8;
+ $722 = (16 + ($721))|0;
+ $723 = (($176) + ($722<<2)|0);
+ HEAP32[$723>>2] = $720;
+ $724 = $6;
+ $725 = $8;
+ $726 = (($724) + ($725<<1)|0);
+ $727 = HEAP16[$726>>1]|0;
+ $728 = $727 << 16 >> 16;
+ $729 = $8;
+ $730 = (16 + ($729))|0;
+ $731 = (($176) + ($730<<2)|0);
+ $732 = HEAP32[$731>>2]|0;
+ $733 = $732 >> 9;
+ $734 = (($733) + 1)|0;
+ $735 = $734 >> 1;
+ $736 = (($728) + ($735))|0;
+ $737 = ($736|0)>(32767);
+ if ($737) {
+ $766 = 32767;
+ } else {
+ $738 = $6;
+ $739 = $8;
+ $740 = (($738) + ($739<<1)|0);
+ $741 = HEAP16[$740>>1]|0;
+ $742 = $741 << 16 >> 16;
+ $743 = $8;
+ $744 = (16 + ($743))|0;
+ $745 = (($176) + ($744<<2)|0);
+ $746 = HEAP32[$745>>2]|0;
+ $747 = $746 >> 9;
+ $748 = (($747) + 1)|0;
+ $749 = $748 >> 1;
+ $750 = (($742) + ($749))|0;
+ $751 = ($750|0)<(-32768);
+ if ($751) {
+ $766 = -32768;
+ } else {
+ $752 = $6;
+ $753 = $8;
+ $754 = (($752) + ($753<<1)|0);
+ $755 = HEAP16[$754>>1]|0;
+ $756 = $755 << 16 >> 16;
+ $757 = $8;
+ $758 = (16 + ($757))|0;
+ $759 = (($176) + ($758<<2)|0);
+ $760 = HEAP32[$759>>2]|0;
+ $761 = $760 >> 9;
+ $762 = (($761) + 1)|0;
+ $763 = $762 >> 1;
+ $764 = (($756) + ($763))|0;
+ $766 = $764;
+ }
+ }
+ $765 = $766&65535;
+ $767 = $6;
+ $768 = $8;
+ $769 = (($767) + ($768<<1)|0);
+ HEAP16[$769>>1] = $765;
+ $770 = $8;
+ $771 = (($770) + 1)|0;
+ $8 = $771;
+ }
+ $772 = $14;
+ $773 = ((($772)) + 1312|0);
+ $774 = $7;
+ $775 = (($176) + ($774<<2)|0);
+ dest=$773; src=$775; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $776 = $15;
+ _llvm_stackrestore(($776|0));
+ STACKTOP = sp;return;
+}
+function _silk_SQRT_APPROX_543($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = sp + 4|0;
+ $5 = sp;
+ $2 = $0;
+ $6 = $2;
+ $7 = ($6|0)<=(0);
+ if ($7) {
+ $1 = 0;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+ }
+ $8 = $2;
+ _silk_CLZ_FRAC_544($8,$4,$5);
+ $9 = HEAP32[$4>>2]|0;
+ $10 = $9 & 1;
+ $11 = ($10|0)!=(0);
+ if ($11) {
+ $3 = 32768;
+ } else {
+ $3 = 46214;
+ }
+ $12 = HEAP32[$4>>2]|0;
+ $13 = $12 >> 1;
+ $14 = $3;
+ $15 = $14 >> $13;
+ $3 = $15;
+ $16 = $3;
+ $17 = $3;
+ $18 = $17 >> 16;
+ $19 = HEAP32[$5>>2]|0;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = ($21*213)|0;
+ $23 = $22&65535;
+ $24 = $23 << 16 >> 16;
+ $25 = Math_imul($18, $24)|0;
+ $26 = $3;
+ $27 = $26 & 65535;
+ $28 = HEAP32[$5>>2]|0;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = ($30*213)|0;
+ $32 = $31&65535;
+ $33 = $32 << 16 >> 16;
+ $34 = Math_imul($27, $33)|0;
+ $35 = $34 >> 16;
+ $36 = (($25) + ($35))|0;
+ $37 = (($16) + ($36))|0;
+ $3 = $37;
+ $38 = $3;
+ $1 = $38;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+}
+function _silk_CNG_exc($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $13 = 255;
+ while(1) {
+ $14 = $13;
+ $15 = $8;
+ $16 = ($14|0)>($15|0);
+ if (!($16)) {
+ break;
+ }
+ $17 = $13;
+ $18 = $17 >> 1;
+ $13 = $18;
+ }
+ $19 = $9;
+ $20 = HEAP32[$19>>2]|0;
+ $10 = $20;
+ $11 = 0;
+ while(1) {
+ $21 = $11;
+ $22 = $8;
+ $23 = ($21|0)<($22|0);
+ $24 = $10;
+ if (!($23)) {
+ break;
+ }
+ $25 = Math_imul($24, 196314165)|0;
+ $26 = (907633515 + ($25))|0;
+ $10 = $26;
+ $27 = $10;
+ $28 = $27 >> 24;
+ $29 = $13;
+ $30 = $28 & $29;
+ $12 = $30;
+ $31 = $6;
+ $32 = $12;
+ $33 = (($31) + ($32<<2)|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = $34 >> 16;
+ $36 = $7;
+ $37 = $36 >> 4;
+ $38 = $37&65535;
+ $39 = $38 << 16 >> 16;
+ $40 = Math_imul($35, $39)|0;
+ $41 = $6;
+ $42 = $12;
+ $43 = (($41) + ($42<<2)|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = $44 & 65535;
+ $46 = $7;
+ $47 = $46 >> 4;
+ $48 = $47&65535;
+ $49 = $48 << 16 >> 16;
+ $50 = Math_imul($45, $49)|0;
+ $51 = $50 >> 16;
+ $52 = (($40) + ($51))|0;
+ $53 = $6;
+ $54 = $12;
+ $55 = (($53) + ($54<<2)|0);
+ $56 = HEAP32[$55>>2]|0;
+ $57 = $7;
+ $58 = $57 >> 4;
+ $59 = $58 >> 15;
+ $60 = (($59) + 1)|0;
+ $61 = $60 >> 1;
+ $62 = Math_imul($56, $61)|0;
+ $63 = (($52) + ($62))|0;
+ $64 = ($63|0)>(32767);
+ if ($64) {
+ $133 = 32767;
+ } else {
+ $65 = $6;
+ $66 = $12;
+ $67 = (($65) + ($66<<2)|0);
+ $68 = HEAP32[$67>>2]|0;
+ $69 = $68 >> 16;
+ $70 = $7;
+ $71 = $70 >> 4;
+ $72 = $71&65535;
+ $73 = $72 << 16 >> 16;
+ $74 = Math_imul($69, $73)|0;
+ $75 = $6;
+ $76 = $12;
+ $77 = (($75) + ($76<<2)|0);
+ $78 = HEAP32[$77>>2]|0;
+ $79 = $78 & 65535;
+ $80 = $7;
+ $81 = $80 >> 4;
+ $82 = $81&65535;
+ $83 = $82 << 16 >> 16;
+ $84 = Math_imul($79, $83)|0;
+ $85 = $84 >> 16;
+ $86 = (($74) + ($85))|0;
+ $87 = $6;
+ $88 = $12;
+ $89 = (($87) + ($88<<2)|0);
+ $90 = HEAP32[$89>>2]|0;
+ $91 = $7;
+ $92 = $91 >> 4;
+ $93 = $92 >> 15;
+ $94 = (($93) + 1)|0;
+ $95 = $94 >> 1;
+ $96 = Math_imul($90, $95)|0;
+ $97 = (($86) + ($96))|0;
+ $98 = ($97|0)<(-32768);
+ if ($98) {
+ $133 = -32768;
+ } else {
+ $99 = $6;
+ $100 = $12;
+ $101 = (($99) + ($100<<2)|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = $102 >> 16;
+ $104 = $7;
+ $105 = $104 >> 4;
+ $106 = $105&65535;
+ $107 = $106 << 16 >> 16;
+ $108 = Math_imul($103, $107)|0;
+ $109 = $6;
+ $110 = $12;
+ $111 = (($109) + ($110<<2)|0);
+ $112 = HEAP32[$111>>2]|0;
+ $113 = $112 & 65535;
+ $114 = $7;
+ $115 = $114 >> 4;
+ $116 = $115&65535;
+ $117 = $116 << 16 >> 16;
+ $118 = Math_imul($113, $117)|0;
+ $119 = $118 >> 16;
+ $120 = (($108) + ($119))|0;
+ $121 = $6;
+ $122 = $12;
+ $123 = (($121) + ($122<<2)|0);
+ $124 = HEAP32[$123>>2]|0;
+ $125 = $7;
+ $126 = $125 >> 4;
+ $127 = $126 >> 15;
+ $128 = (($127) + 1)|0;
+ $129 = $128 >> 1;
+ $130 = Math_imul($124, $129)|0;
+ $131 = (($120) + ($130))|0;
+ $133 = $131;
+ }
+ }
+ $132 = $133&65535;
+ $134 = $132 << 16 >> 16;
+ $135 = $5;
+ $136 = $11;
+ $137 = (($135) + ($136<<2)|0);
+ HEAP32[$137>>2] = $134;
+ $138 = $11;
+ $139 = (($138) + 1)|0;
+ $11 = $139;
+ }
+ $140 = $9;
+ HEAP32[$140>>2] = $24;
+ STACKTOP = sp;return;
+}
+function _silk_CLZ_FRAC_544($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $magic$i$i = sp;
- $cmp = ($bytes>>>0)<(245);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $3;
+ $8 = (_silk_CLZ32_545($7)|0);
+ $6 = $8;
+ $9 = $6;
+ $10 = $4;
+ HEAP32[$10>>2] = $9;
+ $11 = $3;
+ $12 = $6;
+ $13 = (24 - ($12))|0;
+ $14 = (_silk_ROR32_546($11,$13)|0);
+ $15 = $14 & 127;
+ $16 = $5;
+ HEAP32[$16>>2] = $15;
+ STACKTOP = sp;return;
+}
+function _silk_CLZ32_545($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_ROR32_546($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $8 = $3;
+ $5 = $8;
+ $9 = $4;
+ $6 = $9;
+ $10 = $4;
+ $11 = (0 - ($10))|0;
+ $7 = $11;
+ $12 = $4;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $14 = $3;
+ $2 = $14;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ $15 = $4;
+ $16 = ($15|0)<(0);
+ $17 = $5;
+ if ($16) {
+ $18 = $7;
+ $19 = $17 << $18;
+ $20 = $5;
+ $21 = $7;
+ $22 = (32 - ($21))|0;
+ $23 = $20 >>> $22;
+ $24 = $19 | $23;
+ $2 = $24;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ } else {
+ $25 = $6;
+ $26 = (32 - ($25))|0;
+ $27 = $17 << $26;
+ $28 = $5;
+ $29 = $6;
+ $30 = $28 >>> $29;
+ $31 = $27 | $30;
+ $2 = $31;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ return (0)|0;
+}
+function _silk_decode_core($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$alloca_mul = 0, $$alloca_mul31 = 0, $$alloca_mul33 = 0, $$alloca_mul35 = 0, $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0, $1010 = 0, $1011 = 0, $1012 = 0;
+ var $1013 = 0, $1014 = 0, $1015 = 0, $1016 = 0, $1017 = 0, $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0, $1029 = 0, $103 = 0, $1030 = 0;
+ var $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0, $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0, $1047 = 0, $1048 = 0, $1049 = 0;
+ var $105 = 0, $1050 = 0, $1051 = 0, $1052 = 0, $1053 = 0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $1063 = 0, $1064 = 0, $1065 = 0, $1066 = 0, $1067 = 0;
+ var $1068 = 0, $1069 = 0, $107 = 0, $1070 = 0, $1071 = 0, $1072 = 0, $1073 = 0, $1074 = 0, $1075 = 0, $1076 = 0, $1077 = 0, $1078 = 0, $1079 = 0, $108 = 0, $1080 = 0, $1081 = 0, $1082 = 0, $1083 = 0, $1084 = 0, $1085 = 0;
+ var $1086 = 0, $1087 = 0, $1088 = 0, $1089 = 0, $109 = 0, $1090 = 0, $1091 = 0, $1092 = 0, $1093 = 0, $1094 = 0, $1095 = 0, $1096 = 0, $1097 = 0, $1098 = 0, $1099 = 0, $11 = 0, $110 = 0, $1100 = 0, $1101 = 0, $1102 = 0;
+ var $1103 = 0, $1104 = 0, $1105 = 0, $1106 = 0, $1107 = 0, $1108 = 0, $1109 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0;
+ var $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0;
+ var $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0;
+ var $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0;
+ var $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0;
+ var $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0;
+ var $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0;
+ var $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0;
+ var $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0;
+ var $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0;
+ var $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0;
+ var $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0;
+ var $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0;
+ var $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0;
+ var $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0;
+ var $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0;
+ var $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0;
+ var $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0;
+ var $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0;
+ var $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0;
+ var $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0;
+ var $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0;
+ var $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0;
+ var $522 = 0, $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0;
+ var $540 = 0, $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0;
+ var $559 = 0, $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0;
+ var $577 = 0, $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0;
+ var $595 = 0, $596 = 0, $597 = 0, $598 = 0, $599 = 0, $6 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0;
+ var $612 = 0, $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0;
+ var $630 = 0, $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0;
+ var $649 = 0, $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0;
+ var $667 = 0, $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0;
+ var $685 = 0, $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0;
+ var $702 = 0, $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0;
+ var $720 = 0, $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0;
+ var $739 = 0, $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0;
+ var $757 = 0, $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0;
+ var $775 = 0, $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0;
+ var $793 = 0, $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $8 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0;
+ var $810 = 0, $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0;
+ var $829 = 0, $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0;
+ var $847 = 0, $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0;
+ var $865 = 0, $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0, $872 = 0, $873 = 0, $874 = 0, $875 = 0, $876 = 0, $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0;
+ var $883 = 0, $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0, $890 = 0, $891 = 0, $892 = 0, $893 = 0, $894 = 0, $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0;
+ var $900 = 0, $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0, $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0;
+ var $919 = 0, $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0, $927 = 0, $928 = 0, $929 = 0, $93 = 0, $930 = 0, $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0;
+ var $937 = 0, $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0, $944 = 0, $945 = 0, $946 = 0, $947 = 0, $948 = 0, $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0;
+ var $955 = 0, $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0, $963 = 0, $964 = 0, $965 = 0, $966 = 0, $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0;
+ var $973 = 0, $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0, $980 = 0, $981 = 0, $982 = 0, $983 = 0, $984 = 0, $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0;
+ var $991 = 0, $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0, $999 = 0, $or$cond = 0, $or$cond3 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 144|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(144|0);
+ $20 = sp + 104|0;
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $12 = 0;
+ $32 = $5;
+ $33 = ((($32)) + 2336|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = (_llvm_stacksave()|0);
+ $31 = $35;
+ $$alloca_mul = $34<<1;
+ $36 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $37 = $5;
+ $38 = ((($37)) + 2336|0);
+ $39 = HEAP32[$38>>2]|0;
+ $40 = $5;
+ $41 = ((($40)) + 2328|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = (($39) + ($42))|0;
+ $$alloca_mul31 = $43<<2;
+ $44 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul31)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul31)|0)+15)&-16)|0);;
+ $45 = $5;
+ $46 = ((($45)) + 2332|0);
+ $47 = HEAP32[$46>>2]|0;
+ $$alloca_mul33 = $47<<2;
+ $48 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul33)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul33)|0)+15)&-16)|0);;
+ $49 = $5;
+ $50 = ((($49)) + 2332|0);
+ $51 = HEAP32[$50>>2]|0;
+ $52 = (($51) + 16)|0;
+ $$alloca_mul35 = $52<<2;
+ $53 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul35)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul35)|0)+15)&-16)|0);;
+ $54 = $5;
+ $55 = ((($54)) + 2736|0);
+ $56 = ((($55)) + 29|0);
+ $57 = HEAP8[$56>>0]|0;
+ $58 = $57 << 24 >> 24;
+ $59 = $58 >> 1;
+ $60 = (24998 + ($59<<2)|0);
+ $61 = $5;
+ $62 = ((($61)) + 2736|0);
+ $63 = ((($62)) + 30|0);
+ $64 = HEAP8[$63>>0]|0;
+ $65 = $64 << 24 >> 24;
+ $66 = (($60) + ($65<<1)|0);
+ $67 = HEAP16[$66>>1]|0;
+ $68 = $67 << 16 >> 16;
+ $27 = $68;
+ $69 = $5;
+ $70 = ((($69)) + 2736|0);
+ $71 = ((($70)) + 31|0);
+ $72 = HEAP8[$71>>0]|0;
+ $73 = $72 << 24 >> 24;
+ $74 = ($73|0)<(4);
+ if ($74) {
+ $15 = 1;
+ } else {
+ $15 = 0;
+ }
+ $75 = $5;
+ $76 = ((($75)) + 2736|0);
+ $77 = ((($76)) + 34|0);
+ $78 = HEAP8[$77>>0]|0;
+ $79 = $78 << 24 >> 24;
+ $26 = $79;
+ $10 = 0;
+ while(1) {
+ $80 = $10;
+ $81 = $5;
+ $82 = ((($81)) + 2328|0);
+ $83 = HEAP32[$82>>2]|0;
+ $84 = ($80|0)<($83|0);
+ if (!($84)) {
+ break;
+ }
+ $85 = $26;
+ $86 = Math_imul($85, 196314165)|0;
+ $87 = (907633515 + ($86))|0;
+ $26 = $87;
+ $88 = $8;
+ $89 = $10;
+ $90 = (($88) + ($89<<1)|0);
+ $91 = HEAP16[$90>>1]|0;
+ $92 = $91 << 16 >> 16;
+ $93 = $92 << 14;
+ $94 = $5;
+ $95 = ((($94)) + 4|0);
+ $96 = $10;
+ $97 = (($95) + ($96<<2)|0);
+ HEAP32[$97>>2] = $93;
+ $98 = $5;
+ $99 = ((($98)) + 4|0);
+ $100 = $10;
+ $101 = (($99) + ($100<<2)|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = ($102|0)>(0);
+ $104 = $5;
+ $105 = ((($104)) + 4|0);
+ $106 = $10;
+ $107 = (($105) + ($106<<2)|0);
+ $108 = HEAP32[$107>>2]|0;
+ if ($103) {
+ $109 = (($108) - 1280)|0;
+ HEAP32[$107>>2] = $109;
+ } else {
+ $110 = ($108|0)<(0);
+ if ($110) {
+ $111 = $5;
+ $112 = ((($111)) + 4|0);
+ $113 = $10;
+ $114 = (($112) + ($113<<2)|0);
+ $115 = HEAP32[$114>>2]|0;
+ $116 = (($115) + 1280)|0;
+ HEAP32[$114>>2] = $116;
+ }
+ }
+ $117 = $27;
+ $118 = $117 << 4;
+ $119 = $5;
+ $120 = ((($119)) + 4|0);
+ $121 = $10;
+ $122 = (($120) + ($121<<2)|0);
+ $123 = HEAP32[$122>>2]|0;
+ $124 = (($123) + ($118))|0;
+ HEAP32[$122>>2] = $124;
+ $125 = $26;
+ $126 = ($125|0)<(0);
+ if ($126) {
+ $127 = $5;
+ $128 = ((($127)) + 4|0);
+ $129 = $10;
+ $130 = (($128) + ($129<<2)|0);
+ $131 = HEAP32[$130>>2]|0;
+ $132 = (0 - ($131))|0;
+ $133 = $5;
+ $134 = ((($133)) + 4|0);
+ $135 = $10;
+ $136 = (($134) + ($135<<2)|0);
+ HEAP32[$136>>2] = $132;
+ }
+ $137 = $26;
+ $138 = $8;
+ $139 = $10;
+ $140 = (($138) + ($139<<1)|0);
+ $141 = HEAP16[$140>>1]|0;
+ $142 = $141 << 16 >> 16;
+ $143 = (($137) + ($142))|0;
+ $26 = $143;
+ $144 = $10;
+ $145 = (($144) + 1)|0;
+ $10 = $145;
+ }
+ $146 = $5;
+ $147 = ((($146)) + 1284|0);
+ dest=$53; src=$147; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $148 = $5;
+ $149 = ((($148)) + 4|0);
+ $29 = $149;
+ $150 = $7;
+ $19 = $150;
+ $151 = $5;
+ $152 = ((($151)) + 2336|0);
+ $153 = HEAP32[$152>>2]|0;
+ $14 = $153;
+ $11 = 0;
+ while(1) {
+ $154 = $11;
+ $155 = $5;
+ $156 = ((($155)) + 2324|0);
+ $157 = HEAP32[$156>>2]|0;
+ $158 = ($154|0)<($157|0);
+ if (!($158)) {
+ break;
+ }
+ $30 = $48;
+ $159 = $6;
+ $160 = ((($159)) + 32|0);
+ $161 = $11;
+ $162 = $161 >> 1;
+ $163 = (($160) + ($162<<5)|0);
+ $17 = $163;
+ $164 = $17;
+ $165 = $5;
+ $166 = ((($165)) + 2340|0);
+ $167 = HEAP32[$166>>2]|0;
+ $168 = $167<<1;
+ _memcpy(($20|0),($164|0),($168|0))|0;
+ $169 = $6;
+ $170 = ((($169)) + 96|0);
+ $171 = $11;
+ $172 = ($171*5)|0;
+ $173 = (($170) + ($172<<1)|0);
+ $18 = $173;
+ $174 = $5;
+ $175 = ((($174)) + 2736|0);
+ $176 = ((($175)) + 29|0);
+ $177 = HEAP8[$176>>0]|0;
+ $178 = $177 << 24 >> 24;
+ $16 = $178;
+ $179 = $6;
+ $180 = ((($179)) + 16|0);
+ $181 = $11;
+ $182 = (($180) + ($181<<2)|0);
+ $183 = HEAP32[$182>>2]|0;
+ $184 = $183 >> 6;
+ $23 = $184;
+ $185 = $6;
+ $186 = ((($185)) + 16|0);
+ $187 = $11;
+ $188 = (($186) + ($187<<2)|0);
+ $189 = HEAP32[$188>>2]|0;
+ $190 = (_silk_INVERSE32_varQ_549($189,47)|0);
+ $24 = $190;
+ $191 = $6;
+ $192 = ((($191)) + 16|0);
+ $193 = $11;
+ $194 = (($192) + ($193<<2)|0);
+ $195 = HEAP32[$194>>2]|0;
+ $196 = $5;
+ $197 = HEAP32[$196>>2]|0;
+ $198 = ($195|0)!=($197|0);
+ L20: do {
+ if ($198) {
+ $199 = $5;
+ $200 = HEAP32[$199>>2]|0;
+ $201 = $6;
+ $202 = ((($201)) + 16|0);
+ $203 = $11;
+ $204 = (($202) + ($203<<2)|0);
+ $205 = HEAP32[$204>>2]|0;
+ $206 = (_silk_DIV32_varQ_550($200,$205,16)|0);
+ $25 = $206;
+ $10 = 0;
+ while(1) {
+ $207 = $10;
+ $208 = ($207|0)<(16);
+ if (!($208)) {
+ break L20;
+ }
+ $209 = $25;
+ $210 = $209 >> 16;
+ $211 = $10;
+ $212 = (($53) + ($211<<2)|0);
+ $213 = HEAP32[$212>>2]|0;
+ $214 = $213&65535;
+ $215 = $214 << 16 >> 16;
+ $216 = Math_imul($210, $215)|0;
+ $217 = $25;
+ $218 = $217 & 65535;
+ $219 = $10;
+ $220 = (($53) + ($219<<2)|0);
+ $221 = HEAP32[$220>>2]|0;
+ $222 = $221&65535;
+ $223 = $222 << 16 >> 16;
+ $224 = Math_imul($218, $223)|0;
+ $225 = $224 >> 16;
+ $226 = (($216) + ($225))|0;
+ $227 = $25;
+ $228 = $10;
+ $229 = (($53) + ($228<<2)|0);
+ $230 = HEAP32[$229>>2]|0;
+ $231 = $230 >> 15;
+ $232 = (($231) + 1)|0;
+ $233 = $232 >> 1;
+ $234 = Math_imul($227, $233)|0;
+ $235 = (($226) + ($234))|0;
+ $236 = $10;
+ $237 = (($53) + ($236<<2)|0);
+ HEAP32[$237>>2] = $235;
+ $238 = $10;
+ $239 = (($238) + 1)|0;
+ $10 = $239;
+ }
+ } else {
+ $25 = 65536;
+ }
+ } while(0);
+ $240 = $6;
+ $241 = ((($240)) + 16|0);
+ $242 = $11;
+ $243 = (($241) + ($242<<2)|0);
+ $244 = HEAP32[$243>>2]|0;
+ $245 = $5;
+ HEAP32[$245>>2] = $244;
+ $246 = $5;
+ $247 = ((($246)) + 4160|0);
+ $248 = HEAP32[$247>>2]|0;
+ $249 = ($248|0)!=(0);
+ if ($249) {
+ $250 = $5;
+ $251 = ((($250)) + 4164|0);
+ $252 = HEAP32[$251>>2]|0;
+ $253 = ($252|0)==(2);
+ if ($253) {
+ $254 = $5;
+ $255 = ((($254)) + 2736|0);
+ $256 = ((($255)) + 29|0);
+ $257 = HEAP8[$256>>0]|0;
+ $258 = $257 << 24 >> 24;
+ $259 = ($258|0)!=(2);
+ $260 = $11;
+ $261 = ($260|0)<(2);
+ $or$cond = $259 & $261;
+ if ($or$cond) {
+ $262 = $18;
+ ;HEAP16[$262>>1]=0|0;HEAP16[$262+2>>1]=0|0;HEAP16[$262+4>>1]=0|0;HEAP16[$262+6>>1]=0|0;HEAP16[$262+8>>1]=0|0;
+ $263 = $18;
+ $264 = ((($263)) + 4|0);
+ HEAP16[$264>>1] = 4096;
+ $16 = 2;
+ $265 = $5;
+ $266 = ((($265)) + 2308|0);
+ $267 = HEAP32[$266>>2]|0;
+ $268 = $6;
+ $269 = $11;
+ $270 = (($268) + ($269<<2)|0);
+ HEAP32[$270>>2] = $267;
+ }
+ }
+ }
+ $271 = $16;
+ $272 = ($271|0)==(2);
+ L32: do {
+ if ($272) {
+ $273 = $6;
+ $274 = $11;
+ $275 = (($273) + ($274<<2)|0);
+ $276 = HEAP32[$275>>2]|0;
+ $12 = $276;
+ $277 = $11;
+ $278 = ($277|0)==(0);
+ if (!($278)) {
+ $279 = $11;
+ $280 = ($279|0)==(2);
+ $281 = $15;
+ $282 = ($281|0)!=(0);
+ $or$cond3 = $280 & $282;
+ if (!($or$cond3)) {
+ $387 = $25;
+ $388 = ($387|0)!=(65536);
+ if (!($388)) {
+ break;
+ }
+ $10 = 0;
+ while(1) {
+ $389 = $10;
+ $390 = $12;
+ $391 = (($390) + 2)|0;
+ $392 = ($389|0)<($391|0);
+ if (!($392)) {
+ break L32;
+ }
+ $393 = $25;
+ $394 = $393 >> 16;
+ $395 = $14;
+ $396 = $10;
+ $397 = (($395) - ($396))|0;
+ $398 = (($397) - 1)|0;
+ $399 = (($44) + ($398<<2)|0);
+ $400 = HEAP32[$399>>2]|0;
+ $401 = $400&65535;
+ $402 = $401 << 16 >> 16;
+ $403 = Math_imul($394, $402)|0;
+ $404 = $25;
+ $405 = $404 & 65535;
+ $406 = $14;
+ $407 = $10;
+ $408 = (($406) - ($407))|0;
+ $409 = (($408) - 1)|0;
+ $410 = (($44) + ($409<<2)|0);
+ $411 = HEAP32[$410>>2]|0;
+ $412 = $411&65535;
+ $413 = $412 << 16 >> 16;
+ $414 = Math_imul($405, $413)|0;
+ $415 = $414 >> 16;
+ $416 = (($403) + ($415))|0;
+ $417 = $25;
+ $418 = $14;
+ $419 = $10;
+ $420 = (($418) - ($419))|0;
+ $421 = (($420) - 1)|0;
+ $422 = (($44) + ($421<<2)|0);
+ $423 = HEAP32[$422>>2]|0;
+ $424 = $423 >> 15;
+ $425 = (($424) + 1)|0;
+ $426 = $425 >> 1;
+ $427 = Math_imul($417, $426)|0;
+ $428 = (($416) + ($427))|0;
+ $429 = $14;
+ $430 = $10;
+ $431 = (($429) - ($430))|0;
+ $432 = (($431) - 1)|0;
+ $433 = (($44) + ($432<<2)|0);
+ HEAP32[$433>>2] = $428;
+ $434 = $10;
+ $435 = (($434) + 1)|0;
+ $10 = $435;
+ }
+ }
+ }
+ $283 = $5;
+ $284 = ((($283)) + 2336|0);
+ $285 = HEAP32[$284>>2]|0;
+ $286 = $12;
+ $287 = (($285) - ($286))|0;
+ $288 = $5;
+ $289 = ((($288)) + 2340|0);
+ $290 = HEAP32[$289>>2]|0;
+ $291 = (($287) - ($290))|0;
+ $292 = (($291) - 2)|0;
+ $13 = $292;
+ $293 = $11;
+ $294 = ($293|0)==(2);
+ if ($294) {
+ $295 = $5;
+ $296 = ((($295)) + 1348|0);
+ $297 = $5;
+ $298 = ((($297)) + 2336|0);
+ $299 = HEAP32[$298>>2]|0;
+ $300 = (($296) + ($299<<1)|0);
+ $301 = $7;
+ $302 = $5;
+ $303 = ((($302)) + 2332|0);
+ $304 = HEAP32[$303>>2]|0;
+ $305 = $304<<1;
+ $306 = $305<<1;
+ _memcpy(($300|0),($301|0),($306|0))|0;
+ }
+ $307 = $13;
+ $308 = (($36) + ($307<<1)|0);
+ $309 = $5;
+ $310 = ((($309)) + 1348|0);
+ $311 = $13;
+ $312 = $11;
+ $313 = $5;
+ $314 = ((($313)) + 2332|0);
+ $315 = HEAP32[$314>>2]|0;
+ $316 = Math_imul($312, $315)|0;
+ $317 = (($311) + ($316))|0;
+ $318 = (($310) + ($317<<1)|0);
+ $319 = $17;
+ $320 = $5;
+ $321 = ((($320)) + 2336|0);
+ $322 = HEAP32[$321>>2]|0;
+ $323 = $13;
+ $324 = (($322) - ($323))|0;
+ $325 = $5;
+ $326 = ((($325)) + 2340|0);
+ $327 = HEAP32[$326>>2]|0;
+ $328 = $9;
+ _silk_LPC_analysis_filter($308,$318,$319,$324,$327,$328);
+ $329 = $11;
+ $330 = ($329|0)==(0);
+ if ($330) {
+ $331 = $24;
+ $332 = $331 >> 16;
+ $333 = $6;
+ $334 = ((($333)) + 136|0);
+ $335 = HEAP32[$334>>2]|0;
+ $336 = $335&65535;
+ $337 = $336 << 16 >> 16;
+ $338 = Math_imul($332, $337)|0;
+ $339 = $24;
+ $340 = $339 & 65535;
+ $341 = $6;
+ $342 = ((($341)) + 136|0);
+ $343 = HEAP32[$342>>2]|0;
+ $344 = $343&65535;
+ $345 = $344 << 16 >> 16;
+ $346 = Math_imul($340, $345)|0;
+ $347 = $346 >> 16;
+ $348 = (($338) + ($347))|0;
+ $349 = $348 << 2;
+ $24 = $349;
+ }
+ $10 = 0;
+ while(1) {
+ $350 = $10;
+ $351 = $12;
+ $352 = (($351) + 2)|0;
+ $353 = ($350|0)<($352|0);
+ if (!($353)) {
+ break L32;
+ }
+ $354 = $24;
+ $355 = $354 >> 16;
+ $356 = $5;
+ $357 = ((($356)) + 2336|0);
+ $358 = HEAP32[$357>>2]|0;
+ $359 = $10;
+ $360 = (($358) - ($359))|0;
+ $361 = (($360) - 1)|0;
+ $362 = (($36) + ($361<<1)|0);
+ $363 = HEAP16[$362>>1]|0;
+ $364 = $363 << 16 >> 16;
+ $365 = Math_imul($355, $364)|0;
+ $366 = $24;
+ $367 = $366 & 65535;
+ $368 = $5;
+ $369 = ((($368)) + 2336|0);
+ $370 = HEAP32[$369>>2]|0;
+ $371 = $10;
+ $372 = (($370) - ($371))|0;
+ $373 = (($372) - 1)|0;
+ $374 = (($36) + ($373<<1)|0);
+ $375 = HEAP16[$374>>1]|0;
+ $376 = $375 << 16 >> 16;
+ $377 = Math_imul($367, $376)|0;
+ $378 = $377 >> 16;
+ $379 = (($365) + ($378))|0;
+ $380 = $14;
+ $381 = $10;
+ $382 = (($380) - ($381))|0;
+ $383 = (($382) - 1)|0;
+ $384 = (($44) + ($383<<2)|0);
+ HEAP32[$384>>2] = $379;
+ $385 = $10;
+ $386 = (($385) + 1)|0;
+ $10 = $386;
+ }
+ }
+ } while(0);
+ $436 = $16;
+ $437 = ($436|0)==(2);
+ L52: do {
+ if ($437) {
+ $438 = $14;
+ $439 = $12;
+ $440 = (($438) - ($439))|0;
+ $441 = (($440) + 2)|0;
+ $442 = (($44) + ($441<<2)|0);
+ $28 = $442;
+ $10 = 0;
+ while(1) {
+ $443 = $10;
+ $444 = $5;
+ $445 = ((($444)) + 2332|0);
+ $446 = HEAP32[$445>>2]|0;
+ $447 = ($443|0)<($446|0);
+ if (!($447)) {
+ break L52;
+ }
+ $21 = 2;
+ $448 = $21;
+ $449 = $28;
+ $450 = HEAP32[$449>>2]|0;
+ $451 = $450 >> 16;
+ $452 = $18;
+ $453 = HEAP16[$452>>1]|0;
+ $454 = $453 << 16 >> 16;
+ $455 = Math_imul($451, $454)|0;
+ $456 = $28;
+ $457 = HEAP32[$456>>2]|0;
+ $458 = $457 & 65535;
+ $459 = $18;
+ $460 = HEAP16[$459>>1]|0;
+ $461 = $460 << 16 >> 16;
+ $462 = Math_imul($458, $461)|0;
+ $463 = $462 >> 16;
+ $464 = (($455) + ($463))|0;
+ $465 = (($448) + ($464))|0;
+ $21 = $465;
+ $466 = $21;
+ $467 = $28;
+ $468 = ((($467)) + -4|0);
+ $469 = HEAP32[$468>>2]|0;
+ $470 = $469 >> 16;
+ $471 = $18;
+ $472 = ((($471)) + 2|0);
+ $473 = HEAP16[$472>>1]|0;
+ $474 = $473 << 16 >> 16;
+ $475 = Math_imul($470, $474)|0;
+ $476 = $28;
+ $477 = ((($476)) + -4|0);
+ $478 = HEAP32[$477>>2]|0;
+ $479 = $478 & 65535;
+ $480 = $18;
+ $481 = ((($480)) + 2|0);
+ $482 = HEAP16[$481>>1]|0;
+ $483 = $482 << 16 >> 16;
+ $484 = Math_imul($479, $483)|0;
+ $485 = $484 >> 16;
+ $486 = (($475) + ($485))|0;
+ $487 = (($466) + ($486))|0;
+ $21 = $487;
+ $488 = $21;
+ $489 = $28;
+ $490 = ((($489)) + -8|0);
+ $491 = HEAP32[$490>>2]|0;
+ $492 = $491 >> 16;
+ $493 = $18;
+ $494 = ((($493)) + 4|0);
+ $495 = HEAP16[$494>>1]|0;
+ $496 = $495 << 16 >> 16;
+ $497 = Math_imul($492, $496)|0;
+ $498 = $28;
+ $499 = ((($498)) + -8|0);
+ $500 = HEAP32[$499>>2]|0;
+ $501 = $500 & 65535;
+ $502 = $18;
+ $503 = ((($502)) + 4|0);
+ $504 = HEAP16[$503>>1]|0;
+ $505 = $504 << 16 >> 16;
+ $506 = Math_imul($501, $505)|0;
+ $507 = $506 >> 16;
+ $508 = (($497) + ($507))|0;
+ $509 = (($488) + ($508))|0;
+ $21 = $509;
+ $510 = $21;
+ $511 = $28;
+ $512 = ((($511)) + -12|0);
+ $513 = HEAP32[$512>>2]|0;
+ $514 = $513 >> 16;
+ $515 = $18;
+ $516 = ((($515)) + 6|0);
+ $517 = HEAP16[$516>>1]|0;
+ $518 = $517 << 16 >> 16;
+ $519 = Math_imul($514, $518)|0;
+ $520 = $28;
+ $521 = ((($520)) + -12|0);
+ $522 = HEAP32[$521>>2]|0;
+ $523 = $522 & 65535;
+ $524 = $18;
+ $525 = ((($524)) + 6|0);
+ $526 = HEAP16[$525>>1]|0;
+ $527 = $526 << 16 >> 16;
+ $528 = Math_imul($523, $527)|0;
+ $529 = $528 >> 16;
+ $530 = (($519) + ($529))|0;
+ $531 = (($510) + ($530))|0;
+ $21 = $531;
+ $532 = $21;
+ $533 = $28;
+ $534 = ((($533)) + -16|0);
+ $535 = HEAP32[$534>>2]|0;
+ $536 = $535 >> 16;
+ $537 = $18;
+ $538 = ((($537)) + 8|0);
+ $539 = HEAP16[$538>>1]|0;
+ $540 = $539 << 16 >> 16;
+ $541 = Math_imul($536, $540)|0;
+ $542 = $28;
+ $543 = ((($542)) + -16|0);
+ $544 = HEAP32[$543>>2]|0;
+ $545 = $544 & 65535;
+ $546 = $18;
+ $547 = ((($546)) + 8|0);
+ $548 = HEAP16[$547>>1]|0;
+ $549 = $548 << 16 >> 16;
+ $550 = Math_imul($545, $549)|0;
+ $551 = $550 >> 16;
+ $552 = (($541) + ($551))|0;
+ $553 = (($532) + ($552))|0;
+ $21 = $553;
+ $554 = $28;
+ $555 = ((($554)) + 4|0);
+ $28 = $555;
+ $556 = $29;
+ $557 = $10;
+ $558 = (($556) + ($557<<2)|0);
+ $559 = HEAP32[$558>>2]|0;
+ $560 = $21;
+ $561 = $560 << 1;
+ $562 = (($559) + ($561))|0;
+ $563 = $30;
+ $564 = $10;
+ $565 = (($563) + ($564<<2)|0);
+ HEAP32[$565>>2] = $562;
+ $566 = $30;
+ $567 = $10;
+ $568 = (($566) + ($567<<2)|0);
+ $569 = HEAP32[$568>>2]|0;
+ $570 = $569 << 1;
+ $571 = $14;
+ $572 = (($44) + ($571<<2)|0);
+ HEAP32[$572>>2] = $570;
+ $573 = $14;
+ $574 = (($573) + 1)|0;
+ $14 = $574;
+ $575 = $10;
+ $576 = (($575) + 1)|0;
+ $10 = $576;
+ }
+ } else {
+ $577 = $29;
+ $30 = $577;
+ }
+ } while(0);
+ $10 = 0;
+ while(1) {
+ $578 = $10;
+ $579 = $5;
+ $580 = ((($579)) + 2332|0);
+ $581 = HEAP32[$580>>2]|0;
+ $582 = ($578|0)<($581|0);
+ if (!($582)) {
+ break;
+ }
+ $583 = $5;
+ $584 = ((($583)) + 2340|0);
+ $585 = HEAP32[$584>>2]|0;
+ $586 = $585 >> 1;
+ $22 = $586;
+ $587 = $22;
+ $588 = $10;
+ $589 = (16 + ($588))|0;
+ $590 = (($589) - 1)|0;
+ $591 = (($53) + ($590<<2)|0);
+ $592 = HEAP32[$591>>2]|0;
+ $593 = $592 >> 16;
+ $594 = HEAP16[$20>>1]|0;
+ $595 = $594 << 16 >> 16;
+ $596 = Math_imul($593, $595)|0;
+ $597 = $10;
+ $598 = (16 + ($597))|0;
+ $599 = (($598) - 1)|0;
+ $600 = (($53) + ($599<<2)|0);
+ $601 = HEAP32[$600>>2]|0;
+ $602 = $601 & 65535;
+ $603 = HEAP16[$20>>1]|0;
+ $604 = $603 << 16 >> 16;
+ $605 = Math_imul($602, $604)|0;
+ $606 = $605 >> 16;
+ $607 = (($596) + ($606))|0;
+ $608 = (($587) + ($607))|0;
+ $22 = $608;
+ $609 = $22;
+ $610 = $10;
+ $611 = (16 + ($610))|0;
+ $612 = (($611) - 2)|0;
+ $613 = (($53) + ($612<<2)|0);
+ $614 = HEAP32[$613>>2]|0;
+ $615 = $614 >> 16;
+ $616 = ((($20)) + 2|0);
+ $617 = HEAP16[$616>>1]|0;
+ $618 = $617 << 16 >> 16;
+ $619 = Math_imul($615, $618)|0;
+ $620 = $10;
+ $621 = (16 + ($620))|0;
+ $622 = (($621) - 2)|0;
+ $623 = (($53) + ($622<<2)|0);
+ $624 = HEAP32[$623>>2]|0;
+ $625 = $624 & 65535;
+ $626 = ((($20)) + 2|0);
+ $627 = HEAP16[$626>>1]|0;
+ $628 = $627 << 16 >> 16;
+ $629 = Math_imul($625, $628)|0;
+ $630 = $629 >> 16;
+ $631 = (($619) + ($630))|0;
+ $632 = (($609) + ($631))|0;
+ $22 = $632;
+ $633 = $22;
+ $634 = $10;
+ $635 = (16 + ($634))|0;
+ $636 = (($635) - 3)|0;
+ $637 = (($53) + ($636<<2)|0);
+ $638 = HEAP32[$637>>2]|0;
+ $639 = $638 >> 16;
+ $640 = ((($20)) + 4|0);
+ $641 = HEAP16[$640>>1]|0;
+ $642 = $641 << 16 >> 16;
+ $643 = Math_imul($639, $642)|0;
+ $644 = $10;
+ $645 = (16 + ($644))|0;
+ $646 = (($645) - 3)|0;
+ $647 = (($53) + ($646<<2)|0);
+ $648 = HEAP32[$647>>2]|0;
+ $649 = $648 & 65535;
+ $650 = ((($20)) + 4|0);
+ $651 = HEAP16[$650>>1]|0;
+ $652 = $651 << 16 >> 16;
+ $653 = Math_imul($649, $652)|0;
+ $654 = $653 >> 16;
+ $655 = (($643) + ($654))|0;
+ $656 = (($633) + ($655))|0;
+ $22 = $656;
+ $657 = $22;
+ $658 = $10;
+ $659 = (16 + ($658))|0;
+ $660 = (($659) - 4)|0;
+ $661 = (($53) + ($660<<2)|0);
+ $662 = HEAP32[$661>>2]|0;
+ $663 = $662 >> 16;
+ $664 = ((($20)) + 6|0);
+ $665 = HEAP16[$664>>1]|0;
+ $666 = $665 << 16 >> 16;
+ $667 = Math_imul($663, $666)|0;
+ $668 = $10;
+ $669 = (16 + ($668))|0;
+ $670 = (($669) - 4)|0;
+ $671 = (($53) + ($670<<2)|0);
+ $672 = HEAP32[$671>>2]|0;
+ $673 = $672 & 65535;
+ $674 = ((($20)) + 6|0);
+ $675 = HEAP16[$674>>1]|0;
+ $676 = $675 << 16 >> 16;
+ $677 = Math_imul($673, $676)|0;
+ $678 = $677 >> 16;
+ $679 = (($667) + ($678))|0;
+ $680 = (($657) + ($679))|0;
+ $22 = $680;
+ $681 = $22;
+ $682 = $10;
+ $683 = (16 + ($682))|0;
+ $684 = (($683) - 5)|0;
+ $685 = (($53) + ($684<<2)|0);
+ $686 = HEAP32[$685>>2]|0;
+ $687 = $686 >> 16;
+ $688 = ((($20)) + 8|0);
+ $689 = HEAP16[$688>>1]|0;
+ $690 = $689 << 16 >> 16;
+ $691 = Math_imul($687, $690)|0;
+ $692 = $10;
+ $693 = (16 + ($692))|0;
+ $694 = (($693) - 5)|0;
+ $695 = (($53) + ($694<<2)|0);
+ $696 = HEAP32[$695>>2]|0;
+ $697 = $696 & 65535;
+ $698 = ((($20)) + 8|0);
+ $699 = HEAP16[$698>>1]|0;
+ $700 = $699 << 16 >> 16;
+ $701 = Math_imul($697, $700)|0;
+ $702 = $701 >> 16;
+ $703 = (($691) + ($702))|0;
+ $704 = (($681) + ($703))|0;
+ $22 = $704;
+ $705 = $22;
+ $706 = $10;
+ $707 = (16 + ($706))|0;
+ $708 = (($707) - 6)|0;
+ $709 = (($53) + ($708<<2)|0);
+ $710 = HEAP32[$709>>2]|0;
+ $711 = $710 >> 16;
+ $712 = ((($20)) + 10|0);
+ $713 = HEAP16[$712>>1]|0;
+ $714 = $713 << 16 >> 16;
+ $715 = Math_imul($711, $714)|0;
+ $716 = $10;
+ $717 = (16 + ($716))|0;
+ $718 = (($717) - 6)|0;
+ $719 = (($53) + ($718<<2)|0);
+ $720 = HEAP32[$719>>2]|0;
+ $721 = $720 & 65535;
+ $722 = ((($20)) + 10|0);
+ $723 = HEAP16[$722>>1]|0;
+ $724 = $723 << 16 >> 16;
+ $725 = Math_imul($721, $724)|0;
+ $726 = $725 >> 16;
+ $727 = (($715) + ($726))|0;
+ $728 = (($705) + ($727))|0;
+ $22 = $728;
+ $729 = $22;
+ $730 = $10;
+ $731 = (16 + ($730))|0;
+ $732 = (($731) - 7)|0;
+ $733 = (($53) + ($732<<2)|0);
+ $734 = HEAP32[$733>>2]|0;
+ $735 = $734 >> 16;
+ $736 = ((($20)) + 12|0);
+ $737 = HEAP16[$736>>1]|0;
+ $738 = $737 << 16 >> 16;
+ $739 = Math_imul($735, $738)|0;
+ $740 = $10;
+ $741 = (16 + ($740))|0;
+ $742 = (($741) - 7)|0;
+ $743 = (($53) + ($742<<2)|0);
+ $744 = HEAP32[$743>>2]|0;
+ $745 = $744 & 65535;
+ $746 = ((($20)) + 12|0);
+ $747 = HEAP16[$746>>1]|0;
+ $748 = $747 << 16 >> 16;
+ $749 = Math_imul($745, $748)|0;
+ $750 = $749 >> 16;
+ $751 = (($739) + ($750))|0;
+ $752 = (($729) + ($751))|0;
+ $22 = $752;
+ $753 = $22;
+ $754 = $10;
+ $755 = (16 + ($754))|0;
+ $756 = (($755) - 8)|0;
+ $757 = (($53) + ($756<<2)|0);
+ $758 = HEAP32[$757>>2]|0;
+ $759 = $758 >> 16;
+ $760 = ((($20)) + 14|0);
+ $761 = HEAP16[$760>>1]|0;
+ $762 = $761 << 16 >> 16;
+ $763 = Math_imul($759, $762)|0;
+ $764 = $10;
+ $765 = (16 + ($764))|0;
+ $766 = (($765) - 8)|0;
+ $767 = (($53) + ($766<<2)|0);
+ $768 = HEAP32[$767>>2]|0;
+ $769 = $768 & 65535;
+ $770 = ((($20)) + 14|0);
+ $771 = HEAP16[$770>>1]|0;
+ $772 = $771 << 16 >> 16;
+ $773 = Math_imul($769, $772)|0;
+ $774 = $773 >> 16;
+ $775 = (($763) + ($774))|0;
+ $776 = (($753) + ($775))|0;
+ $22 = $776;
+ $777 = $22;
+ $778 = $10;
+ $779 = (16 + ($778))|0;
+ $780 = (($779) - 9)|0;
+ $781 = (($53) + ($780<<2)|0);
+ $782 = HEAP32[$781>>2]|0;
+ $783 = $782 >> 16;
+ $784 = ((($20)) + 16|0);
+ $785 = HEAP16[$784>>1]|0;
+ $786 = $785 << 16 >> 16;
+ $787 = Math_imul($783, $786)|0;
+ $788 = $10;
+ $789 = (16 + ($788))|0;
+ $790 = (($789) - 9)|0;
+ $791 = (($53) + ($790<<2)|0);
+ $792 = HEAP32[$791>>2]|0;
+ $793 = $792 & 65535;
+ $794 = ((($20)) + 16|0);
+ $795 = HEAP16[$794>>1]|0;
+ $796 = $795 << 16 >> 16;
+ $797 = Math_imul($793, $796)|0;
+ $798 = $797 >> 16;
+ $799 = (($787) + ($798))|0;
+ $800 = (($777) + ($799))|0;
+ $22 = $800;
+ $801 = $22;
+ $802 = $10;
+ $803 = (16 + ($802))|0;
+ $804 = (($803) - 10)|0;
+ $805 = (($53) + ($804<<2)|0);
+ $806 = HEAP32[$805>>2]|0;
+ $807 = $806 >> 16;
+ $808 = ((($20)) + 18|0);
+ $809 = HEAP16[$808>>1]|0;
+ $810 = $809 << 16 >> 16;
+ $811 = Math_imul($807, $810)|0;
+ $812 = $10;
+ $813 = (16 + ($812))|0;
+ $814 = (($813) - 10)|0;
+ $815 = (($53) + ($814<<2)|0);
+ $816 = HEAP32[$815>>2]|0;
+ $817 = $816 & 65535;
+ $818 = ((($20)) + 18|0);
+ $819 = HEAP16[$818>>1]|0;
+ $820 = $819 << 16 >> 16;
+ $821 = Math_imul($817, $820)|0;
+ $822 = $821 >> 16;
+ $823 = (($811) + ($822))|0;
+ $824 = (($801) + ($823))|0;
+ $22 = $824;
+ $825 = $5;
+ $826 = ((($825)) + 2340|0);
+ $827 = HEAP32[$826>>2]|0;
+ $828 = ($827|0)==(16);
+ if ($828) {
+ $829 = $22;
+ $830 = $10;
+ $831 = (16 + ($830))|0;
+ $832 = (($831) - 11)|0;
+ $833 = (($53) + ($832<<2)|0);
+ $834 = HEAP32[$833>>2]|0;
+ $835 = $834 >> 16;
+ $836 = ((($20)) + 20|0);
+ $837 = HEAP16[$836>>1]|0;
+ $838 = $837 << 16 >> 16;
+ $839 = Math_imul($835, $838)|0;
+ $840 = $10;
+ $841 = (16 + ($840))|0;
+ $842 = (($841) - 11)|0;
+ $843 = (($53) + ($842<<2)|0);
+ $844 = HEAP32[$843>>2]|0;
+ $845 = $844 & 65535;
+ $846 = ((($20)) + 20|0);
+ $847 = HEAP16[$846>>1]|0;
+ $848 = $847 << 16 >> 16;
+ $849 = Math_imul($845, $848)|0;
+ $850 = $849 >> 16;
+ $851 = (($839) + ($850))|0;
+ $852 = (($829) + ($851))|0;
+ $22 = $852;
+ $853 = $22;
+ $854 = $10;
+ $855 = (16 + ($854))|0;
+ $856 = (($855) - 12)|0;
+ $857 = (($53) + ($856<<2)|0);
+ $858 = HEAP32[$857>>2]|0;
+ $859 = $858 >> 16;
+ $860 = ((($20)) + 22|0);
+ $861 = HEAP16[$860>>1]|0;
+ $862 = $861 << 16 >> 16;
+ $863 = Math_imul($859, $862)|0;
+ $864 = $10;
+ $865 = (16 + ($864))|0;
+ $866 = (($865) - 12)|0;
+ $867 = (($53) + ($866<<2)|0);
+ $868 = HEAP32[$867>>2]|0;
+ $869 = $868 & 65535;
+ $870 = ((($20)) + 22|0);
+ $871 = HEAP16[$870>>1]|0;
+ $872 = $871 << 16 >> 16;
+ $873 = Math_imul($869, $872)|0;
+ $874 = $873 >> 16;
+ $875 = (($863) + ($874))|0;
+ $876 = (($853) + ($875))|0;
+ $22 = $876;
+ $877 = $22;
+ $878 = $10;
+ $879 = (16 + ($878))|0;
+ $880 = (($879) - 13)|0;
+ $881 = (($53) + ($880<<2)|0);
+ $882 = HEAP32[$881>>2]|0;
+ $883 = $882 >> 16;
+ $884 = ((($20)) + 24|0);
+ $885 = HEAP16[$884>>1]|0;
+ $886 = $885 << 16 >> 16;
+ $887 = Math_imul($883, $886)|0;
+ $888 = $10;
+ $889 = (16 + ($888))|0;
+ $890 = (($889) - 13)|0;
+ $891 = (($53) + ($890<<2)|0);
+ $892 = HEAP32[$891>>2]|0;
+ $893 = $892 & 65535;
+ $894 = ((($20)) + 24|0);
+ $895 = HEAP16[$894>>1]|0;
+ $896 = $895 << 16 >> 16;
+ $897 = Math_imul($893, $896)|0;
+ $898 = $897 >> 16;
+ $899 = (($887) + ($898))|0;
+ $900 = (($877) + ($899))|0;
+ $22 = $900;
+ $901 = $22;
+ $902 = $10;
+ $903 = (16 + ($902))|0;
+ $904 = (($903) - 14)|0;
+ $905 = (($53) + ($904<<2)|0);
+ $906 = HEAP32[$905>>2]|0;
+ $907 = $906 >> 16;
+ $908 = ((($20)) + 26|0);
+ $909 = HEAP16[$908>>1]|0;
+ $910 = $909 << 16 >> 16;
+ $911 = Math_imul($907, $910)|0;
+ $912 = $10;
+ $913 = (16 + ($912))|0;
+ $914 = (($913) - 14)|0;
+ $915 = (($53) + ($914<<2)|0);
+ $916 = HEAP32[$915>>2]|0;
+ $917 = $916 & 65535;
+ $918 = ((($20)) + 26|0);
+ $919 = HEAP16[$918>>1]|0;
+ $920 = $919 << 16 >> 16;
+ $921 = Math_imul($917, $920)|0;
+ $922 = $921 >> 16;
+ $923 = (($911) + ($922))|0;
+ $924 = (($901) + ($923))|0;
+ $22 = $924;
+ $925 = $22;
+ $926 = $10;
+ $927 = (16 + ($926))|0;
+ $928 = (($927) - 15)|0;
+ $929 = (($53) + ($928<<2)|0);
+ $930 = HEAP32[$929>>2]|0;
+ $931 = $930 >> 16;
+ $932 = ((($20)) + 28|0);
+ $933 = HEAP16[$932>>1]|0;
+ $934 = $933 << 16 >> 16;
+ $935 = Math_imul($931, $934)|0;
+ $936 = $10;
+ $937 = (16 + ($936))|0;
+ $938 = (($937) - 15)|0;
+ $939 = (($53) + ($938<<2)|0);
+ $940 = HEAP32[$939>>2]|0;
+ $941 = $940 & 65535;
+ $942 = ((($20)) + 28|0);
+ $943 = HEAP16[$942>>1]|0;
+ $944 = $943 << 16 >> 16;
+ $945 = Math_imul($941, $944)|0;
+ $946 = $945 >> 16;
+ $947 = (($935) + ($946))|0;
+ $948 = (($925) + ($947))|0;
+ $22 = $948;
+ $949 = $22;
+ $950 = $10;
+ $951 = (16 + ($950))|0;
+ $952 = (($951) - 16)|0;
+ $953 = (($53) + ($952<<2)|0);
+ $954 = HEAP32[$953>>2]|0;
+ $955 = $954 >> 16;
+ $956 = ((($20)) + 30|0);
+ $957 = HEAP16[$956>>1]|0;
+ $958 = $957 << 16 >> 16;
+ $959 = Math_imul($955, $958)|0;
+ $960 = $10;
+ $961 = (16 + ($960))|0;
+ $962 = (($961) - 16)|0;
+ $963 = (($53) + ($962<<2)|0);
+ $964 = HEAP32[$963>>2]|0;
+ $965 = $964 & 65535;
+ $966 = ((($20)) + 30|0);
+ $967 = HEAP16[$966>>1]|0;
+ $968 = $967 << 16 >> 16;
+ $969 = Math_imul($965, $968)|0;
+ $970 = $969 >> 16;
+ $971 = (($959) + ($970))|0;
+ $972 = (($949) + ($971))|0;
+ $22 = $972;
+ }
+ $973 = $30;
+ $974 = $10;
+ $975 = (($973) + ($974<<2)|0);
+ $976 = HEAP32[$975>>2]|0;
+ $977 = $22;
+ $978 = $977 << 4;
+ $979 = (($976) + ($978))|0;
+ $980 = $10;
+ $981 = (16 + ($980))|0;
+ $982 = (($53) + ($981<<2)|0);
+ HEAP32[$982>>2] = $979;
+ $983 = $10;
+ $984 = (16 + ($983))|0;
+ $985 = (($53) + ($984<<2)|0);
+ $986 = HEAP32[$985>>2]|0;
+ $987 = $986 >> 16;
+ $988 = $23;
+ $989 = $988&65535;
+ $990 = $989 << 16 >> 16;
+ $991 = Math_imul($987, $990)|0;
+ $992 = $10;
+ $993 = (16 + ($992))|0;
+ $994 = (($53) + ($993<<2)|0);
+ $995 = HEAP32[$994>>2]|0;
+ $996 = $995 & 65535;
+ $997 = $23;
+ $998 = $997&65535;
+ $999 = $998 << 16 >> 16;
+ $1000 = Math_imul($996, $999)|0;
+ $1001 = $1000 >> 16;
+ $1002 = (($991) + ($1001))|0;
+ $1003 = $10;
+ $1004 = (16 + ($1003))|0;
+ $1005 = (($53) + ($1004<<2)|0);
+ $1006 = HEAP32[$1005>>2]|0;
+ $1007 = $23;
+ $1008 = $1007 >> 15;
+ $1009 = (($1008) + 1)|0;
+ $1010 = $1009 >> 1;
+ $1011 = Math_imul($1006, $1010)|0;
+ $1012 = (($1002) + ($1011))|0;
+ $1013 = $1012 >> 7;
+ $1014 = (($1013) + 1)|0;
+ $1015 = $1014 >> 1;
+ $1016 = ($1015|0)>(32767);
+ if ($1016) {
+ $1085 = 32767;
+ } else {
+ $1017 = $10;
+ $1018 = (16 + ($1017))|0;
+ $1019 = (($53) + ($1018<<2)|0);
+ $1020 = HEAP32[$1019>>2]|0;
+ $1021 = $1020 >> 16;
+ $1022 = $23;
+ $1023 = $1022&65535;
+ $1024 = $1023 << 16 >> 16;
+ $1025 = Math_imul($1021, $1024)|0;
+ $1026 = $10;
+ $1027 = (16 + ($1026))|0;
+ $1028 = (($53) + ($1027<<2)|0);
+ $1029 = HEAP32[$1028>>2]|0;
+ $1030 = $1029 & 65535;
+ $1031 = $23;
+ $1032 = $1031&65535;
+ $1033 = $1032 << 16 >> 16;
+ $1034 = Math_imul($1030, $1033)|0;
+ $1035 = $1034 >> 16;
+ $1036 = (($1025) + ($1035))|0;
+ $1037 = $10;
+ $1038 = (16 + ($1037))|0;
+ $1039 = (($53) + ($1038<<2)|0);
+ $1040 = HEAP32[$1039>>2]|0;
+ $1041 = $23;
+ $1042 = $1041 >> 15;
+ $1043 = (($1042) + 1)|0;
+ $1044 = $1043 >> 1;
+ $1045 = Math_imul($1040, $1044)|0;
+ $1046 = (($1036) + ($1045))|0;
+ $1047 = $1046 >> 7;
+ $1048 = (($1047) + 1)|0;
+ $1049 = $1048 >> 1;
+ $1050 = ($1049|0)<(-32768);
+ if ($1050) {
+ $1085 = -32768;
+ } else {
+ $1051 = $10;
+ $1052 = (16 + ($1051))|0;
+ $1053 = (($53) + ($1052<<2)|0);
+ $1054 = HEAP32[$1053>>2]|0;
+ $1055 = $1054 >> 16;
+ $1056 = $23;
+ $1057 = $1056&65535;
+ $1058 = $1057 << 16 >> 16;
+ $1059 = Math_imul($1055, $1058)|0;
+ $1060 = $10;
+ $1061 = (16 + ($1060))|0;
+ $1062 = (($53) + ($1061<<2)|0);
+ $1063 = HEAP32[$1062>>2]|0;
+ $1064 = $1063 & 65535;
+ $1065 = $23;
+ $1066 = $1065&65535;
+ $1067 = $1066 << 16 >> 16;
+ $1068 = Math_imul($1064, $1067)|0;
+ $1069 = $1068 >> 16;
+ $1070 = (($1059) + ($1069))|0;
+ $1071 = $10;
+ $1072 = (16 + ($1071))|0;
+ $1073 = (($53) + ($1072<<2)|0);
+ $1074 = HEAP32[$1073>>2]|0;
+ $1075 = $23;
+ $1076 = $1075 >> 15;
+ $1077 = (($1076) + 1)|0;
+ $1078 = $1077 >> 1;
+ $1079 = Math_imul($1074, $1078)|0;
+ $1080 = (($1070) + ($1079))|0;
+ $1081 = $1080 >> 7;
+ $1082 = (($1081) + 1)|0;
+ $1083 = $1082 >> 1;
+ $1085 = $1083;
+ }
+ }
+ $1084 = $1085&65535;
+ $1086 = $19;
+ $1087 = $10;
+ $1088 = (($1086) + ($1087<<1)|0);
+ HEAP16[$1088>>1] = $1084;
+ $1089 = $10;
+ $1090 = (($1089) + 1)|0;
+ $10 = $1090;
+ }
+ $1091 = $5;
+ $1092 = ((($1091)) + 2332|0);
+ $1093 = HEAP32[$1092>>2]|0;
+ $1094 = (($53) + ($1093<<2)|0);
+ dest=$53; src=$1094; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $1095 = $5;
+ $1096 = ((($1095)) + 2332|0);
+ $1097 = HEAP32[$1096>>2]|0;
+ $1098 = $29;
+ $1099 = (($1098) + ($1097<<2)|0);
+ $29 = $1099;
+ $1100 = $5;
+ $1101 = ((($1100)) + 2332|0);
+ $1102 = HEAP32[$1101>>2]|0;
+ $1103 = $19;
+ $1104 = (($1103) + ($1102<<1)|0);
+ $19 = $1104;
+ $1105 = $11;
+ $1106 = (($1105) + 1)|0;
+ $11 = $1106;
+ }
+ $1107 = $5;
+ $1108 = ((($1107)) + 1284|0);
+ dest=$1108; src=$53; stop=dest+64|0; do { HEAP32[dest>>2]=HEAP32[src>>2]|0; dest=dest+4|0; src=src+4|0; } while ((dest|0) < (stop|0));
+ $1109 = $31;
+ _llvm_stackrestore(($1109|0));
+ STACKTOP = sp;return;
+}
+function _silk_INVERSE32_varQ_549($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $3 = $0;
+ $4 = $1;
+ $11 = $3;
+ $12 = ($11|0)>(0);
+ $13 = $3;
+ $14 = (0 - ($13))|0;
+ $15 = $12 ? $13 : $14;
+ $16 = (_silk_CLZ32_551($15)|0);
+ $17 = (($16) - 1)|0;
+ $5 = $17;
+ $18 = $3;
+ $19 = $5;
+ $20 = $18 << $19;
+ $8 = $20;
+ $21 = $8;
+ $22 = $21 >> 16;
+ $23 = (536870911 / ($22|0))&-1;
+ $7 = $23;
+ $24 = $7;
+ $25 = $24 << 16;
+ $10 = $25;
+ $26 = $8;
+ $27 = $26 >> 16;
+ $28 = $7;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = Math_imul($27, $30)|0;
+ $32 = $8;
+ $33 = $32 & 65535;
+ $34 = $7;
+ $35 = $34&65535;
+ $36 = $35 << 16 >> 16;
+ $37 = Math_imul($33, $36)|0;
+ $38 = $37 >> 16;
+ $39 = (($31) + ($38))|0;
+ $40 = (536870912 - ($39))|0;
+ $41 = $40 << 3;
+ $9 = $41;
+ $42 = $10;
+ $43 = $9;
+ $44 = $43 >> 16;
+ $45 = $7;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $9;
+ $50 = $49 & 65535;
+ $51 = $7;
+ $52 = $51&65535;
+ $53 = $52 << 16 >> 16;
+ $54 = Math_imul($50, $53)|0;
+ $55 = $54 >> 16;
+ $56 = (($48) + ($55))|0;
+ $57 = (($42) + ($56))|0;
+ $58 = $9;
+ $59 = $7;
+ $60 = $59 >> 15;
+ $61 = (($60) + 1)|0;
+ $62 = $61 >> 1;
+ $63 = Math_imul($58, $62)|0;
+ $64 = (($57) + ($63))|0;
+ $10 = $64;
+ $65 = $5;
+ $66 = (61 - ($65))|0;
+ $67 = $4;
+ $68 = (($66) - ($67))|0;
+ $6 = $68;
+ $69 = $6;
+ $70 = ($69|0)<=(0);
+ $71 = $6;
+ if (!($70)) {
+ $113 = ($71|0)<(32);
+ if ($113) {
+ $114 = $10;
+ $115 = $6;
+ $116 = $114 >> $115;
+ $2 = $116;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+ } else {
+ $2 = 0;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+ }
+ }
+ $72 = (0 - ($71))|0;
+ $73 = -2147483648 >> $72;
+ $74 = $6;
+ $75 = (0 - ($74))|0;
+ $76 = 2147483647 >> $75;
+ $77 = ($73|0)>($76|0);
+ $78 = $10;
+ $79 = $6;
+ $80 = (0 - ($79))|0;
do {
- if ($cmp) {
- $cmp1 = ($bytes>>>0)<(11);
- $add2 = (($bytes) + 11)|0;
- $and = $add2 & -8;
- $cond = $cmp1 ? 16 : $and;
- $shr = $cond >>> 3;
- $0 = HEAP32[8382]|0;
- $shr3 = $0 >>> $shr;
- $and4 = $shr3 & 3;
- $cmp5 = ($and4|0)==(0);
- if (!($cmp5)) {
- $neg = $shr3 & 1;
- $and7 = $neg ^ 1;
- $add8 = (($and7) + ($shr))|0;
- $shl = $add8 << 1;
- $arrayidx = (33568 + ($shl<<2)|0);
- $1 = ((($arrayidx)) + 8|0);
- $2 = HEAP32[$1>>2]|0;
- $fd9 = ((($2)) + 8|0);
- $3 = HEAP32[$fd9>>2]|0;
- $cmp10 = ($3|0)==($arrayidx|0);
- do {
- if ($cmp10) {
- $shl12 = 1 << $add8;
- $neg13 = $shl12 ^ -1;
- $and14 = $0 & $neg13;
- HEAP32[8382] = $and14;
+ if ($77) {
+ $81 = -2147483648 >> $80;
+ $82 = ($78|0)>($81|0);
+ if ($82) {
+ $83 = $6;
+ $84 = (0 - ($83))|0;
+ $85 = -2147483648 >> $84;
+ $112 = $85;
+ break;
+ }
+ $86 = $10;
+ $87 = $6;
+ $88 = (0 - ($87))|0;
+ $89 = 2147483647 >> $88;
+ $90 = ($86|0)<($89|0);
+ if ($90) {
+ $91 = $6;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $112 = $93;
+ break;
+ } else {
+ $94 = $10;
+ $112 = $94;
+ break;
+ }
+ } else {
+ $95 = 2147483647 >> $80;
+ $96 = ($78|0)>($95|0);
+ if ($96) {
+ $97 = $6;
+ $98 = (0 - ($97))|0;
+ $99 = 2147483647 >> $98;
+ $112 = $99;
+ break;
+ }
+ $100 = $10;
+ $101 = $6;
+ $102 = (0 - ($101))|0;
+ $103 = -2147483648 >> $102;
+ $104 = ($100|0)<($103|0);
+ if ($104) {
+ $105 = $6;
+ $106 = (0 - ($105))|0;
+ $107 = -2147483648 >> $106;
+ $112 = $107;
+ break;
+ } else {
+ $108 = $10;
+ $112 = $108;
+ break;
+ }
+ }
+ } while(0);
+ $109 = $6;
+ $110 = (0 - ($109))|0;
+ $111 = $112 << $110;
+ $2 = $111;
+ $117 = $2;
+ STACKTOP = sp;return ($117|0);
+}
+function _silk_DIV32_varQ_550($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $14 = 0;
+ var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0;
+ var $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $14 = $4;
+ $15 = ($14|0)>(0);
+ $16 = $4;
+ $17 = (0 - ($16))|0;
+ $18 = $15 ? $16 : $17;
+ $19 = (_silk_CLZ32_551($18)|0);
+ $20 = (($19) - 1)|0;
+ $7 = $20;
+ $21 = $4;
+ $22 = $7;
+ $23 = $21 << $22;
+ $11 = $23;
+ $24 = $5;
+ $25 = ($24|0)>(0);
+ $26 = $5;
+ $27 = (0 - ($26))|0;
+ $28 = $25 ? $26 : $27;
+ $29 = (_silk_CLZ32_551($28)|0);
+ $30 = (($29) - 1)|0;
+ $8 = $30;
+ $31 = $5;
+ $32 = $8;
+ $33 = $31 << $32;
+ $12 = $33;
+ $34 = $12;
+ $35 = $34 >> 16;
+ $36 = (536870911 / ($35|0))&-1;
+ $10 = $36;
+ $37 = $11;
+ $38 = $37 >> 16;
+ $39 = $10;
+ $40 = $39&65535;
+ $41 = $40 << 16 >> 16;
+ $42 = Math_imul($38, $41)|0;
+ $43 = $11;
+ $44 = $43 & 65535;
+ $45 = $10;
+ $46 = $45&65535;
+ $47 = $46 << 16 >> 16;
+ $48 = Math_imul($44, $47)|0;
+ $49 = $48 >> 16;
+ $50 = (($42) + ($49))|0;
+ $13 = $50;
+ $51 = $11;
+ $52 = $12;
+ $53 = ($52|0)<(0);
+ $54 = $53 << 31 >> 31;
+ $55 = $13;
+ $56 = ($55|0)<(0);
+ $57 = $56 << 31 >> 31;
+ $58 = (___muldi3(($52|0),($54|0),($55|0),($57|0))|0);
+ $59 = tempRet0;
+ $60 = (_bitshift64Ashr(($58|0),($59|0),32)|0);
+ $61 = tempRet0;
+ $62 = $60 << 3;
+ $63 = (($51) - ($62))|0;
+ $11 = $63;
+ $64 = $13;
+ $65 = $11;
+ $66 = $65 >> 16;
+ $67 = $10;
+ $68 = $67&65535;
+ $69 = $68 << 16 >> 16;
+ $70 = Math_imul($66, $69)|0;
+ $71 = $11;
+ $72 = $71 & 65535;
+ $73 = $10;
+ $74 = $73&65535;
+ $75 = $74 << 16 >> 16;
+ $76 = Math_imul($72, $75)|0;
+ $77 = $76 >> 16;
+ $78 = (($70) + ($77))|0;
+ $79 = (($64) + ($78))|0;
+ $13 = $79;
+ $80 = $7;
+ $81 = (29 + ($80))|0;
+ $82 = $8;
+ $83 = (($81) - ($82))|0;
+ $84 = $6;
+ $85 = (($83) - ($84))|0;
+ $9 = $85;
+ $86 = $9;
+ $87 = ($86|0)<(0);
+ $88 = $9;
+ if (!($87)) {
+ $130 = ($88|0)<(32);
+ if ($130) {
+ $131 = $13;
+ $132 = $9;
+ $133 = $131 >> $132;
+ $3 = $133;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ } else {
+ $3 = 0;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+ }
+ }
+ $89 = (0 - ($88))|0;
+ $90 = -2147483648 >> $89;
+ $91 = $9;
+ $92 = (0 - ($91))|0;
+ $93 = 2147483647 >> $92;
+ $94 = ($90|0)>($93|0);
+ $95 = $13;
+ $96 = $9;
+ $97 = (0 - ($96))|0;
+ do {
+ if ($94) {
+ $98 = -2147483648 >> $97;
+ $99 = ($95|0)>($98|0);
+ if ($99) {
+ $100 = $9;
+ $101 = (0 - ($100))|0;
+ $102 = -2147483648 >> $101;
+ $129 = $102;
+ break;
+ }
+ $103 = $13;
+ $104 = $9;
+ $105 = (0 - ($104))|0;
+ $106 = 2147483647 >> $105;
+ $107 = ($103|0)<($106|0);
+ if ($107) {
+ $108 = $9;
+ $109 = (0 - ($108))|0;
+ $110 = 2147483647 >> $109;
+ $129 = $110;
+ break;
+ } else {
+ $111 = $13;
+ $129 = $111;
+ break;
+ }
+ } else {
+ $112 = 2147483647 >> $97;
+ $113 = ($95|0)>($112|0);
+ if ($113) {
+ $114 = $9;
+ $115 = (0 - ($114))|0;
+ $116 = 2147483647 >> $115;
+ $129 = $116;
+ break;
+ }
+ $117 = $13;
+ $118 = $9;
+ $119 = (0 - ($118))|0;
+ $120 = -2147483648 >> $119;
+ $121 = ($117|0)<($120|0);
+ if ($121) {
+ $122 = $9;
+ $123 = (0 - ($122))|0;
+ $124 = -2147483648 >> $123;
+ $129 = $124;
+ break;
+ } else {
+ $125 = $13;
+ $129 = $125;
+ break;
+ }
+ }
+ } while(0);
+ $126 = $9;
+ $127 = (0 - ($126))|0;
+ $128 = $129 << $127;
+ $3 = $128;
+ $134 = $3;
+ STACKTOP = sp;return ($134|0);
+}
+function _silk_CLZ32_551($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_interpolate($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = 0;
+ while(1) {
+ $11 = $10;
+ $12 = $9;
+ $13 = ($11|0)<($12|0);
+ if (!($13)) {
+ break;
+ }
+ $14 = $6;
+ $15 = $10;
+ $16 = (($14) + ($15<<1)|0);
+ $17 = HEAP16[$16>>1]|0;
+ $18 = $17 << 16 >> 16;
+ $19 = $7;
+ $20 = $10;
+ $21 = (($19) + ($20<<1)|0);
+ $22 = HEAP16[$21>>1]|0;
+ $23 = $22 << 16 >> 16;
+ $24 = $6;
+ $25 = $10;
+ $26 = (($24) + ($25<<1)|0);
+ $27 = HEAP16[$26>>1]|0;
+ $28 = $27 << 16 >> 16;
+ $29 = (($23) - ($28))|0;
+ $30 = $29&65535;
+ $31 = $30 << 16 >> 16;
+ $32 = $8;
+ $33 = $32&65535;
+ $34 = $33 << 16 >> 16;
+ $35 = Math_imul($31, $34)|0;
+ $36 = $35 >> 2;
+ $37 = (($18) + ($36))|0;
+ $38 = $37&65535;
+ $39 = $5;
+ $40 = $10;
+ $41 = (($39) + ($40<<1)|0);
+ HEAP16[$41>>1] = $38;
+ $42 = $10;
+ $43 = (($42) + 1)|0;
+ $10 = $43;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_NLSF_encode($0,$1,$2,$3,$4,$5,$6) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ var $$alloca_mul = 0, $$alloca_mul25 = 0, $$alloca_mul27 = 0, $$alloca_mul29 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0;
+ var $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0;
+ var $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0;
+ var $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0;
+ var $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0;
+ var $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0;
+ var $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0;
+ var $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0;
+ var $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0;
+ var $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0;
+ var $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0;
+ var $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0;
+ var $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 288|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(288|0);
+ $17 = sp + 24|0;
+ $21 = sp + 232|0;
+ $22 = sp + 200|0;
+ $23 = sp + 168|0;
+ $24 = sp + 136|0;
+ $25 = sp + 104|0;
+ $26 = sp + 264|0;
+ $27 = sp + 72|0;
+ $7 = $0;
+ $8 = $1;
+ $9 = $2;
+ $10 = $3;
+ $11 = $4;
+ $12 = $5;
+ $13 = $6;
+ $31 = $8;
+ $32 = $9;
+ $33 = ((($32)) + 32|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = $9;
+ $36 = ((($35)) + 2|0);
+ $37 = HEAP16[$36>>1]|0;
+ $38 = $37 << 16 >> 16;
+ _silk_NLSF_stabilize($31,$34,$38);
+ $39 = $9;
+ $40 = HEAP16[$39>>1]|0;
+ $41 = $40&65535;
+ $42 = (_llvm_stacksave()|0);
+ $30 = $42;
+ $$alloca_mul = $41<<2;
+ $43 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul)|0)+15)&-16)|0);;
+ $44 = $8;
+ $45 = $9;
+ $46 = ((($45)) + 8|0);
+ $47 = HEAP32[$46>>2]|0;
+ $48 = $9;
+ $49 = HEAP16[$48>>1]|0;
+ $50 = $49 << 16 >> 16;
+ $51 = $9;
+ $52 = ((($51)) + 2|0);
+ $53 = HEAP16[$52>>1]|0;
+ $54 = $53 << 16 >> 16;
+ _silk_NLSF_VQ($43,$44,$47,$50,$54);
+ $55 = $12;
+ $$alloca_mul25 = $55<<2;
+ $56 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul25)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul25)|0)+15)&-16)|0);;
+ $57 = $9;
+ $58 = HEAP16[$57>>1]|0;
+ $59 = $58 << 16 >> 16;
+ $60 = $12;
+ _silk_insertion_sort_increasing($43,$56,$59,$60);
+ $61 = $12;
+ $$alloca_mul27 = $61<<2;
+ $62 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul27)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul27)|0)+15)&-16)|0);;
+ $63 = $12;
+ $64 = $63<<4;
+ $$alloca_mul29 = $64;
+ $65 = STACKTOP; STACKTOP = STACKTOP + ((((1*$$alloca_mul29)|0)+15)&-16)|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(((((1*$$alloca_mul29)|0)+15)&-16)|0);;
+ $15 = 0;
+ while(1) {
+ $66 = $15;
+ $67 = $12;
+ $68 = ($66|0)<($67|0);
+ if (!($68)) {
+ break;
+ }
+ $69 = $15;
+ $70 = (($56) + ($69<<2)|0);
+ $71 = HEAP32[$70>>2]|0;
+ $16 = $71;
+ $72 = $9;
+ $73 = ((($72)) + 8|0);
+ $74 = HEAP32[$73>>2]|0;
+ $75 = $16;
+ $76 = $9;
+ $77 = ((($76)) + 2|0);
+ $78 = HEAP16[$77>>1]|0;
+ $79 = $78 << 16 >> 16;
+ $80 = Math_imul($75, $79)|0;
+ $81 = (($74) + ($80)|0);
+ $28 = $81;
+ $14 = 0;
+ while(1) {
+ $82 = $14;
+ $83 = $9;
+ $84 = ((($83)) + 2|0);
+ $85 = HEAP16[$84>>1]|0;
+ $86 = $85 << 16 >> 16;
+ $87 = ($82|0)<($86|0);
+ if (!($87)) {
+ break;
+ }
+ $88 = $28;
+ $89 = $14;
+ $90 = (($88) + ($89)|0);
+ $91 = HEAP8[$90>>0]|0;
+ $92 = $91&255;
+ $93 = $92&65535;
+ $94 = $93 << 7;
+ $95 = $94&65535;
+ $96 = $14;
+ $97 = (($23) + ($96<<1)|0);
+ HEAP16[$97>>1] = $95;
+ $98 = $8;
+ $99 = $14;
+ $100 = (($98) + ($99<<1)|0);
+ $101 = HEAP16[$100>>1]|0;
+ $102 = $101 << 16 >> 16;
+ $103 = $14;
+ $104 = (($23) + ($103<<1)|0);
+ $105 = HEAP16[$104>>1]|0;
+ $106 = $105 << 16 >> 16;
+ $107 = (($102) - ($106))|0;
+ $108 = $107&65535;
+ $109 = $14;
+ $110 = (($21) + ($109<<1)|0);
+ HEAP16[$110>>1] = $108;
+ $111 = $14;
+ $112 = (($111) + 1)|0;
+ $14 = $112;
+ }
+ $113 = $9;
+ $114 = ((($113)) + 2|0);
+ $115 = HEAP16[$114>>1]|0;
+ $116 = $115 << 16 >> 16;
+ _silk_NLSF_VQ_weights_laroia($24,$23,$116);
+ $14 = 0;
+ while(1) {
+ $117 = $14;
+ $118 = $9;
+ $119 = ((($118)) + 2|0);
+ $120 = HEAP16[$119>>1]|0;
+ $121 = $120 << 16 >> 16;
+ $122 = ($117|0)<($121|0);
+ if (!($122)) {
+ break;
+ }
+ $123 = $14;
+ $124 = (($24) + ($123<<1)|0);
+ $125 = HEAP16[$124>>1]|0;
+ $126 = $125 << 16 >> 16;
+ $127 = $126 << 16;
+ $128 = (_silk_SQRT_APPROX_556($127)|0);
+ $20 = $128;
+ $129 = $14;
+ $130 = (($21) + ($129<<1)|0);
+ $131 = HEAP16[$130>>1]|0;
+ $132 = $131 << 16 >> 16;
+ $133 = $20;
+ $134 = $133&65535;
+ $135 = $134 << 16 >> 16;
+ $136 = Math_imul($132, $135)|0;
+ $137 = $136 >> 14;
+ $138 = $137&65535;
+ $139 = $14;
+ $140 = (($22) + ($139<<1)|0);
+ HEAP16[$140>>1] = $138;
+ $141 = $14;
+ $142 = (($141) + 1)|0;
+ $14 = $142;
+ }
+ $14 = 0;
+ while(1) {
+ $143 = $14;
+ $144 = $9;
+ $145 = ((($144)) + 2|0);
+ $146 = HEAP16[$145>>1]|0;
+ $147 = $146 << 16 >> 16;
+ $148 = ($143|0)<($147|0);
+ if (!($148)) {
+ break;
+ }
+ $149 = $10;
+ $150 = $14;
+ $151 = (($149) + ($150<<1)|0);
+ $152 = HEAP16[$151>>1]|0;
+ $153 = $152 << 16 >> 16;
+ $154 = $153 << 5;
+ $155 = $14;
+ $156 = (($24) + ($155<<1)|0);
+ $157 = HEAP16[$156>>1]|0;
+ $158 = $157 << 16 >> 16;
+ $159 = (($154|0) / ($158|0))&-1;
+ $160 = $159&65535;
+ $161 = $14;
+ $162 = (($25) + ($161<<1)|0);
+ HEAP16[$162>>1] = $160;
+ $163 = $14;
+ $164 = (($163) + 1)|0;
+ $14 = $164;
+ }
+ $165 = $9;
+ $166 = $16;
+ _silk_NLSF_unpack($27,$26,$165,$166);
+ $167 = $15;
+ $168 = $167<<4;
+ $169 = (($65) + ($168)|0);
+ $170 = $9;
+ $171 = ((($170)) + 28|0);
+ $172 = HEAP32[$171>>2]|0;
+ $173 = $9;
+ $174 = ((($173)) + 4|0);
+ $175 = HEAP16[$174>>1]|0;
+ $176 = $175 << 16 >> 16;
+ $177 = $9;
+ $178 = ((($177)) + 6|0);
+ $179 = HEAP16[$178>>1]|0;
+ $180 = $11;
+ $181 = $9;
+ $182 = ((($181)) + 2|0);
+ $183 = HEAP16[$182>>1]|0;
+ $184 = (_silk_NLSF_del_dec_quant($169,$22,$25,$26,$27,$172,$176,$179,$180,$183)|0);
+ $185 = $15;
+ $186 = (($62) + ($185<<2)|0);
+ HEAP32[$186>>2] = $184;
+ $187 = $9;
+ $188 = ((($187)) + 12|0);
+ $189 = HEAP32[$188>>2]|0;
+ $190 = $13;
+ $191 = $190 >> 1;
+ $192 = $9;
+ $193 = HEAP16[$192>>1]|0;
+ $194 = $193 << 16 >> 16;
+ $195 = Math_imul($191, $194)|0;
+ $196 = (($189) + ($195)|0);
+ $29 = $196;
+ $197 = $16;
+ $198 = ($197|0)==(0);
+ $199 = $29;
+ $200 = $16;
+ if ($198) {
+ $201 = (($199) + ($200)|0);
+ $202 = HEAP8[$201>>0]|0;
+ $203 = $202&255;
+ $204 = (256 - ($203))|0;
+ $18 = $204;
+ } else {
+ $205 = (($200) - 1)|0;
+ $206 = (($199) + ($205)|0);
+ $207 = HEAP8[$206>>0]|0;
+ $208 = $207&255;
+ $209 = $29;
+ $210 = $16;
+ $211 = (($209) + ($210)|0);
+ $212 = HEAP8[$211>>0]|0;
+ $213 = $212&255;
+ $214 = (($208) - ($213))|0;
+ $18 = $214;
+ }
+ $215 = $18;
+ $216 = (_silk_lin2log($215)|0);
+ $217 = (1024 - ($216))|0;
+ $19 = $217;
+ $218 = $15;
+ $219 = (($62) + ($218<<2)|0);
+ $220 = HEAP32[$219>>2]|0;
+ $221 = $19;
+ $222 = $221&65535;
+ $223 = $222 << 16 >> 16;
+ $224 = $11;
+ $225 = $224 >> 2;
+ $226 = $225&65535;
+ $227 = $226 << 16 >> 16;
+ $228 = Math_imul($223, $227)|0;
+ $229 = (($220) + ($228))|0;
+ $230 = $15;
+ $231 = (($62) + ($230<<2)|0);
+ HEAP32[$231>>2] = $229;
+ $232 = $15;
+ $233 = (($232) + 1)|0;
+ $15 = $233;
+ }
+ $234 = $12;
+ _silk_insertion_sort_increasing($62,$17,$234,1);
+ $235 = HEAP32[$17>>2]|0;
+ $236 = (($56) + ($235<<2)|0);
+ $237 = HEAP32[$236>>2]|0;
+ $238 = $237&255;
+ $239 = $7;
+ HEAP8[$239>>0] = $238;
+ $240 = $7;
+ $241 = ((($240)) + 1|0);
+ $242 = HEAP32[$17>>2]|0;
+ $243 = $242<<4;
+ $244 = (($65) + ($243)|0);
+ $245 = $9;
+ $246 = ((($245)) + 2|0);
+ $247 = HEAP16[$246>>1]|0;
+ $248 = $247 << 16 >> 16;
+ $249 = $248;
+ _memcpy(($241|0),($244|0),($249|0))|0;
+ $250 = $8;
+ $251 = $7;
+ $252 = $9;
+ _silk_NLSF_decode($250,$251,$252);
+ $253 = HEAP32[$62>>2]|0;
+ $254 = $30;
+ _llvm_stackrestore(($254|0));
+ STACKTOP = sp;return ($253|0);
+}
+function _silk_SQRT_APPROX_556($0) {
+ $0 = $0|0;
+ var $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $4 = sp + 4|0;
+ $5 = sp;
+ $2 = $0;
+ $6 = $2;
+ $7 = ($6|0)<=(0);
+ if ($7) {
+ $1 = 0;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+ }
+ $8 = $2;
+ _silk_CLZ_FRAC_557($8,$4,$5);
+ $9 = HEAP32[$4>>2]|0;
+ $10 = $9 & 1;
+ $11 = ($10|0)!=(0);
+ if ($11) {
+ $3 = 32768;
+ } else {
+ $3 = 46214;
+ }
+ $12 = HEAP32[$4>>2]|0;
+ $13 = $12 >> 1;
+ $14 = $3;
+ $15 = $14 >> $13;
+ $3 = $15;
+ $16 = $3;
+ $17 = $3;
+ $18 = $17 >> 16;
+ $19 = HEAP32[$5>>2]|0;
+ $20 = $19&65535;
+ $21 = $20 << 16 >> 16;
+ $22 = ($21*213)|0;
+ $23 = $22&65535;
+ $24 = $23 << 16 >> 16;
+ $25 = Math_imul($18, $24)|0;
+ $26 = $3;
+ $27 = $26 & 65535;
+ $28 = HEAP32[$5>>2]|0;
+ $29 = $28&65535;
+ $30 = $29 << 16 >> 16;
+ $31 = ($30*213)|0;
+ $32 = $31&65535;
+ $33 = $32 << 16 >> 16;
+ $34 = Math_imul($27, $33)|0;
+ $35 = $34 >> 16;
+ $36 = (($25) + ($35))|0;
+ $37 = (($16) + ($36))|0;
+ $3 = $37;
+ $38 = $3;
+ $1 = $38;
+ $39 = $1;
+ STACKTOP = sp;return ($39|0);
+}
+function _silk_CLZ_FRAC_557($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $3 = $0;
+ $4 = $1;
+ $5 = $2;
+ $7 = $3;
+ $8 = (_silk_CLZ32_558($7)|0);
+ $6 = $8;
+ $9 = $6;
+ $10 = $4;
+ HEAP32[$10>>2] = $9;
+ $11 = $3;
+ $12 = $6;
+ $13 = (24 - ($12))|0;
+ $14 = (_silk_ROR32_559($11,$13)|0);
+ $15 = $14 & 127;
+ $16 = $5;
+ HEAP32[$16>>2] = $15;
+ STACKTOP = sp;return;
+}
+function _silk_CLZ32_558($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = $0;
+ $2 = $1;
+ $3 = ($2|0)!=(0);
+ if ($3) {
+ $4 = $1;
+ $5 = (Math_clz32(($4|0))|0);
+ $6 = (32 - ($5))|0;
+ $7 = (32 - ($6))|0;
+ $8 = $7;
+ } else {
+ $8 = 32;
+ }
+ STACKTOP = sp;return ($8|0);
+}
+function _silk_ROR32_559($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $3 = $0;
+ $4 = $1;
+ $8 = $3;
+ $5 = $8;
+ $9 = $4;
+ $6 = $9;
+ $10 = $4;
+ $11 = (0 - ($10))|0;
+ $7 = $11;
+ $12 = $4;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $14 = $3;
+ $2 = $14;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ $15 = $4;
+ $16 = ($15|0)<(0);
+ $17 = $5;
+ if ($16) {
+ $18 = $7;
+ $19 = $17 << $18;
+ $20 = $5;
+ $21 = $7;
+ $22 = (32 - ($21))|0;
+ $23 = $20 >>> $22;
+ $24 = $19 | $23;
+ $2 = $24;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ } else {
+ $25 = $6;
+ $26 = (32 - ($25))|0;
+ $27 = $17 << $26;
+ $28 = $5;
+ $29 = $6;
+ $30 = $28 >>> $29;
+ $31 = $27 | $30;
+ $2 = $31;
+ $32 = $2;
+ STACKTOP = sp;return ($32|0);
+ }
+ return (0)|0;
+}
+function _silk_NLSF_VQ($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0;
+ var $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $10 = 0;
+ while(1) {
+ $15 = $10;
+ $16 = $8;
+ $17 = ($15|0)<($16|0);
+ if (!($17)) {
+ break;
+ }
+ $14 = 0;
+ $11 = 0;
+ while(1) {
+ $18 = $11;
+ $19 = $9;
+ $20 = ($18|0)<($19|0);
+ if (!($20)) {
+ break;
+ }
+ $21 = $6;
+ $22 = $11;
+ $23 = (($21) + ($22<<1)|0);
+ $24 = HEAP16[$23>>1]|0;
+ $25 = $24 << 16 >> 16;
+ $26 = $7;
+ $27 = ((($26)) + 1|0);
+ $7 = $27;
+ $28 = HEAP8[$26>>0]|0;
+ $29 = $28&255;
+ $30 = $29 << 7;
+ $31 = (($25) - ($30))|0;
+ $12 = $31;
+ $32 = $12;
+ $33 = $32&65535;
+ $34 = $33 << 16 >> 16;
+ $35 = $12;
+ $36 = $35&65535;
+ $37 = $36 << 16 >> 16;
+ $38 = Math_imul($34, $37)|0;
+ $13 = $38;
+ $39 = $6;
+ $40 = $11;
+ $41 = (($40) + 1)|0;
+ $42 = (($39) + ($41<<1)|0);
+ $43 = HEAP16[$42>>1]|0;
+ $44 = $43 << 16 >> 16;
+ $45 = $7;
+ $46 = ((($45)) + 1|0);
+ $7 = $46;
+ $47 = HEAP8[$45>>0]|0;
+ $48 = $47&255;
+ $49 = $48 << 7;
+ $50 = (($44) - ($49))|0;
+ $12 = $50;
+ $51 = $13;
+ $52 = $12;
+ $53 = $52&65535;
+ $54 = $53 << 16 >> 16;
+ $55 = $12;
+ $56 = $55&65535;
+ $57 = $56 << 16 >> 16;
+ $58 = Math_imul($54, $57)|0;
+ $59 = (($51) + ($58))|0;
+ $13 = $59;
+ $60 = $14;
+ $61 = $13;
+ $62 = $61 >> 4;
+ $63 = (($60) + ($62))|0;
+ $14 = $63;
+ $64 = $11;
+ $65 = (($64) + 2)|0;
+ $11 = $65;
+ }
+ $66 = $14;
+ $67 = $5;
+ $68 = $10;
+ $69 = (($67) + ($68<<2)|0);
+ HEAP32[$69>>2] = $66;
+ $70 = $10;
+ $71 = (($70) + 1)|0;
+ $10 = $71;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_NLSF_del_dec_quant($0,$1,$2,$3,$4,$5,$6,$7,$8,$9) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ $6 = $6|0;
+ $7 = $7|0;
+ $8 = $8|0;
+ $9 = $9|0;
+ var $$sink = 0, $$sink2 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0;
+ var $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0;
+ var $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0;
+ var $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0;
+ var $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0;
+ var $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0;
+ var $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0;
+ var $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0;
+ var $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0;
+ var $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0;
+ var $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0;
+ var $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0;
+ var $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0;
+ var $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0;
+ var $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0;
+ var $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0, $398 = 0, $399 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0;
+ var $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0, $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0;
+ var $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0, $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0;
+ var $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0, $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0;
+ var $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0, $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0;
+ var $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0, $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0;
+ var $498 = 0, $499 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0, $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0;
+ var $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0;
+ var $68 = 0, $69 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0, $89 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, dest = 0, label = 0, sp = 0, src = 0, stop = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 448|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(448|0);
+ $39 = sp + 232|0;
+ $40 = sp + 384|0;
+ $41 = sp + 360|0;
+ $42 = sp + 200|0;
+ $43 = sp + 184|0;
+ $44 = sp + 168|0;
+ $46 = sp + 80|0;
+ $47 = sp;
+ $10 = $0;
+ $11 = $1;
+ $12 = $2;
+ $13 = $3;
+ $14 = $4;
+ $15 = $5;
+ $16 = $6;
+ $17 = $7;
+ $18 = $8;
+ $19 = $9;
+ $20 = -10;
+ while(1) {
+ $48 = $20;
+ $49 = ($48|0)<=(9);
+ if (!($49)) {
+ break;
+ }
+ $50 = $20;
+ $51 = $50 << 10;
+ $30 = $51;
+ $52 = $30;
+ $53 = (($52) + 1024)|0;
+ $31 = $53;
+ $54 = $20;
+ $55 = ($54|0)>(0);
+ do {
+ if ($55) {
+ $56 = $30;
+ $57 = (($56) - 102)|0;
+ $30 = $57;
+ $58 = $31;
+ $59 = (($58) - 102)|0;
+ $31 = $59;
+ } else {
+ $60 = $20;
+ $61 = ($60|0)==(0);
+ if ($61) {
+ $62 = $31;
+ $63 = (($62) - 102)|0;
+ $31 = $63;
+ break;
+ }
+ $64 = $20;
+ $65 = ($64|0)==(-1);
+ $66 = $30;
+ $67 = (($66) + 102)|0;
+ $30 = $67;
+ if (!($65)) {
+ $68 = $31;
+ $69 = (($68) + 102)|0;
+ $31 = $69;
+ }
+ }
+ } while(0);
+ $70 = $30;
+ $71 = $70 >> 16;
+ $72 = $16;
+ $73 = $72&65535;
+ $74 = $73 << 16 >> 16;
+ $75 = Math_imul($71, $74)|0;
+ $76 = $30;
+ $77 = $76 & 65535;
+ $78 = $16;
+ $79 = $78&65535;
+ $80 = $79 << 16 >> 16;
+ $81 = Math_imul($77, $80)|0;
+ $82 = $81 >> 16;
+ $83 = (($75) + ($82))|0;
+ $84 = $20;
+ $85 = (($84) + 10)|0;
+ $86 = (($46) + ($85<<2)|0);
+ HEAP32[$86>>2] = $83;
+ $87 = $31;
+ $88 = $87 >> 16;
+ $89 = $16;
+ $90 = $89&65535;
+ $91 = $90 << 16 >> 16;
+ $92 = Math_imul($88, $91)|0;
+ $93 = $31;
+ $94 = $93 & 65535;
+ $95 = $16;
+ $96 = $95&65535;
+ $97 = $96 << 16 >> 16;
+ $98 = Math_imul($94, $97)|0;
+ $99 = $98 >> 16;
+ $100 = (($92) + ($99))|0;
+ $101 = $20;
+ $102 = (($101) + 10)|0;
+ $103 = (($47) + ($102<<2)|0);
+ HEAP32[$103>>2] = $100;
+ $104 = $20;
+ $105 = (($104) + 1)|0;
+ $20 = $105;
+ }
+ $22 = 1;
+ HEAP32[$42>>2] = 0;
+ HEAP16[$41>>1] = 0;
+ $106 = $19;
+ $107 = $106 << 16 >> 16;
+ $108 = (($107) - 1)|0;
+ $20 = $108;
+ L13: while(1) {
+ $109 = $15;
+ $110 = $14;
+ $111 = $20;
+ $112 = (($110) + ($111<<1)|0);
+ $113 = HEAP16[$112>>1]|0;
+ $114 = $113 << 16 >> 16;
+ $115 = (($109) + ($114)|0);
+ $45 = $115;
+ $116 = $13;
+ $117 = $20;
+ $118 = (($116) + ($117)|0);
+ $119 = HEAP8[$118>>0]|0;
+ $120 = $119&255;
+ $121 = $120 << 8;
+ $38 = $121;
+ $122 = $11;
+ $123 = $20;
+ $124 = (($122) + ($123<<1)|0);
+ $125 = HEAP16[$124>>1]|0;
+ $126 = $125 << 16 >> 16;
+ $26 = $126;
+ $21 = 0;
+ while(1) {
+ $127 = $21;
+ $128 = $22;
+ $129 = ($127|0)<($128|0);
+ if (!($129)) {
+ break;
+ }
+ $130 = $38;
+ $131 = $130 >> 16;
+ $132 = $21;
+ $133 = (($41) + ($132<<1)|0);
+ $134 = HEAP16[$133>>1]|0;
+ $135 = $134 << 16 >> 16;
+ $136 = Math_imul($131, $135)|0;
+ $137 = $38;
+ $138 = $137 & 65535;
+ $139 = $21;
+ $140 = (($41) + ($139<<1)|0);
+ $141 = HEAP16[$140>>1]|0;
+ $142 = $141 << 16 >> 16;
+ $143 = Math_imul($138, $142)|0;
+ $144 = $143 >> 16;
+ $145 = (($136) + ($144))|0;
+ $28 = $145;
+ $146 = $26;
+ $147 = $28;
+ $148 = (($146) - ($147))|0;
+ $27 = $148;
+ $149 = $17;
+ $150 = $149 << 16 >> 16;
+ $151 = $150 >> 16;
+ $152 = $27;
+ $153 = $152&65535;
+ $154 = $153 << 16 >> 16;
+ $155 = Math_imul($151, $154)|0;
+ $156 = $17;
+ $157 = $156 << 16 >> 16;
+ $158 = $157 & 65535;
+ $159 = $27;
+ $160 = $159&65535;
+ $161 = $160 << 16 >> 16;
+ $162 = Math_imul($158, $161)|0;
+ $163 = $162 >> 16;
+ $164 = (($155) + ($163))|0;
+ $23 = $164;
+ $165 = $23;
+ $166 = ($165|0)>(9);
+ if ($166) {
+ $171 = 9;
+ } else {
+ $167 = $23;
+ $168 = ($167|0)<(-10);
+ $169 = $23;
+ $170 = $168 ? -10 : $169;
+ $171 = $170;
+ }
+ $23 = $171;
+ $172 = $23;
+ $173 = $172&255;
+ $174 = $21;
+ $175 = (($40) + ($174<<4)|0);
+ $176 = $20;
+ $177 = (($175) + ($176)|0);
+ HEAP8[$177>>0] = $173;
+ $178 = $23;
+ $179 = (($178) + 10)|0;
+ $180 = (($46) + ($179<<2)|0);
+ $181 = HEAP32[$180>>2]|0;
+ $30 = $181;
+ $182 = $23;
+ $183 = (($182) + 10)|0;
+ $184 = (($47) + ($183<<2)|0);
+ $185 = HEAP32[$184>>2]|0;
+ $31 = $185;
+ $186 = $30;
+ $187 = $28;
+ $188 = (($186) + ($187))|0;
+ $30 = $188;
+ $189 = $31;
+ $190 = $28;
+ $191 = (($189) + ($190))|0;
+ $31 = $191;
+ $192 = $30;
+ $193 = $192&65535;
+ $194 = $21;
+ $195 = (($41) + ($194<<1)|0);
+ HEAP16[$195>>1] = $193;
+ $196 = $31;
+ $197 = $196&65535;
+ $198 = $21;
+ $199 = $22;
+ $200 = (($198) + ($199))|0;
+ $201 = (($41) + ($200<<1)|0);
+ HEAP16[$201>>1] = $197;
+ $202 = $23;
+ $203 = (($202) + 1)|0;
+ $204 = ($203|0)>=(4);
+ $205 = $23;
+ do {
+ if ($204) {
+ $206 = (($205) + 1)|0;
+ $207 = ($206|0)==(4);
+ if ($207) {
+ $208 = $45;
+ $209 = $23;
+ $210 = (($209) + 4)|0;
+ $211 = (($208) + ($210)|0);
+ $212 = HEAP8[$211>>0]|0;
+ $213 = $212&255;
+ $32 = $213;
+ $33 = 280;
+ break;
} else {
- $4 = HEAP32[(33544)>>2]|0;
- $cmp15 = ($4>>>0)>($3>>>0);
- if ($cmp15) {
+ $214 = $23;
+ $215 = $214&65535;
+ $216 = $215 << 16 >> 16;
+ $217 = ($216*43)|0;
+ $218 = (108 + ($217))|0;
+ $32 = $218;
+ $219 = $32;
+ $220 = (($219) + 43)|0;
+ $33 = $220;
+ break;
+ }
+ } else {
+ $221 = ($205|0)<=(-4);
+ if (!($221)) {
+ $238 = $45;
+ $239 = $23;
+ $240 = (($239) + 4)|0;
+ $241 = (($238) + ($240)|0);
+ $242 = HEAP8[$241>>0]|0;
+ $243 = $242&255;
+ $32 = $243;
+ $244 = $45;
+ $245 = $23;
+ $246 = (($245) + 1)|0;
+ $247 = (($246) + 4)|0;
+ $248 = (($244) + ($247)|0);
+ $249 = HEAP8[$248>>0]|0;
+ $250 = $249&255;
+ $33 = $250;
+ break;
+ }
+ $222 = $23;
+ $223 = ($222|0)==(-4);
+ if ($223) {
+ $32 = 280;
+ $224 = $45;
+ $225 = $23;
+ $226 = (($225) + 1)|0;
+ $227 = (($226) + 4)|0;
+ $228 = (($224) + ($227)|0);
+ $229 = HEAP8[$228>>0]|0;
+ $230 = $229&255;
+ $33 = $230;
+ break;
+ } else {
+ $231 = $23;
+ $232 = $231&65535;
+ $233 = $232 << 16 >> 16;
+ $234 = Math_imul(-43, $233)|0;
+ $235 = (108 + ($234))|0;
+ $32 = $235;
+ $236 = $32;
+ $237 = (($236) - 43)|0;
+ $33 = $237;
+ break;
+ }
+ }
+ } while(0);
+ $251 = $21;
+ $252 = (($42) + ($251<<2)|0);
+ $253 = HEAP32[$252>>2]|0;
+ $34 = $253;
+ $254 = $26;
+ $255 = $30;
+ $256 = (($254) - ($255))|0;
+ $29 = $256;
+ $257 = $34;
+ $258 = $29;
+ $259 = $258&65535;
+ $260 = $259 << 16 >> 16;
+ $261 = $29;
+ $262 = $261&65535;
+ $263 = $262 << 16 >> 16;
+ $264 = Math_imul($260, $263)|0;
+ $265 = $12;
+ $266 = $20;
+ $267 = (($265) + ($266<<1)|0);
+ $268 = HEAP16[$267>>1]|0;
+ $269 = $268 << 16 >> 16;
+ $270 = Math_imul($264, $269)|0;
+ $271 = (($257) + ($270))|0;
+ $272 = $18;
+ $273 = $272&65535;
+ $274 = $273 << 16 >> 16;
+ $275 = $32;
+ $276 = $275&65535;
+ $277 = $276 << 16 >> 16;
+ $278 = Math_imul($274, $277)|0;
+ $279 = (($271) + ($278))|0;
+ $280 = $21;
+ $281 = (($42) + ($280<<2)|0);
+ HEAP32[$281>>2] = $279;
+ $282 = $26;
+ $283 = $31;
+ $284 = (($282) - ($283))|0;
+ $29 = $284;
+ $285 = $34;
+ $286 = $29;
+ $287 = $286&65535;
+ $288 = $287 << 16 >> 16;
+ $289 = $29;
+ $290 = $289&65535;
+ $291 = $290 << 16 >> 16;
+ $292 = Math_imul($288, $291)|0;
+ $293 = $12;
+ $294 = $20;
+ $295 = (($293) + ($294<<1)|0);
+ $296 = HEAP16[$295>>1]|0;
+ $297 = $296 << 16 >> 16;
+ $298 = Math_imul($292, $297)|0;
+ $299 = (($285) + ($298))|0;
+ $300 = $18;
+ $301 = $300&65535;
+ $302 = $301 << 16 >> 16;
+ $303 = $33;
+ $304 = $303&65535;
+ $305 = $304 << 16 >> 16;
+ $306 = Math_imul($302, $305)|0;
+ $307 = (($299) + ($306))|0;
+ $308 = $21;
+ $309 = $22;
+ $310 = (($308) + ($309))|0;
+ $311 = (($42) + ($310<<2)|0);
+ HEAP32[$311>>2] = $307;
+ $312 = $21;
+ $313 = (($312) + 1)|0;
+ $21 = $313;
+ }
+ $314 = $22;
+ $315 = ($314|0)<=(2);
+ L35: do {
+ if ($315) {
+ $21 = 0;
+ while(1) {
+ $316 = $21;
+ $317 = $22;
+ $318 = ($316|0)<($317|0);
+ if (!($318)) {
+ break;
+ }
+ $319 = $21;
+ $320 = (($40) + ($319<<4)|0);
+ $321 = $20;
+ $322 = (($320) + ($321)|0);
+ $323 = HEAP8[$322>>0]|0;
+ $324 = $323 << 24 >> 24;
+ $325 = (($324) + 1)|0;
+ $326 = $325&255;
+ $327 = $21;
+ $328 = $22;
+ $329 = (($327) + ($328))|0;
+ $330 = (($40) + ($329<<4)|0);
+ $331 = $20;
+ $332 = (($330) + ($331)|0);
+ HEAP8[$332>>0] = $326;
+ $333 = $21;
+ $334 = (($333) + 1)|0;
+ $21 = $334;
+ }
+ $335 = $22;
+ $336 = $335 << 1;
+ $22 = $336;
+ $337 = $22;
+ $21 = $337;
+ while(1) {
+ $338 = $21;
+ $339 = ($338|0)<(4);
+ if (!($339)) {
+ break L35;
+ }
+ $340 = $21;
+ $341 = $22;
+ $342 = (($340) - ($341))|0;
+ $343 = (($40) + ($342<<4)|0);
+ $344 = $20;
+ $345 = (($343) + ($344)|0);
+ $346 = HEAP8[$345>>0]|0;
+ $347 = $21;
+ $348 = (($40) + ($347<<4)|0);
+ $349 = $20;
+ $350 = (($348) + ($349)|0);
+ HEAP8[$350>>0] = $346;
+ $351 = $21;
+ $352 = (($351) + 1)|0;
+ $21 = $352;
+ }
+ } else {
+ $353 = $20;
+ $354 = ($353|0)>(0);
+ if (!($354)) {
+ break L13;
+ }
+ $21 = 0;
+ while(1) {
+ $355 = $21;
+ $356 = ($355|0)<(4);
+ if (!($356)) {
+ break;
+ }
+ $357 = $21;
+ $358 = (($42) + ($357<<2)|0);
+ $359 = HEAP32[$358>>2]|0;
+ $360 = $21;
+ $361 = (($360) + 4)|0;
+ $362 = (($42) + ($361<<2)|0);
+ $363 = HEAP32[$362>>2]|0;
+ $364 = ($359|0)>($363|0);
+ $365 = $21;
+ $366 = (($42) + ($365<<2)|0);
+ $367 = HEAP32[$366>>2]|0;
+ $368 = $21;
+ if ($364) {
+ $369 = (($44) + ($368<<2)|0);
+ HEAP32[$369>>2] = $367;
+ $370 = $21;
+ $371 = (($370) + 4)|0;
+ $372 = (($42) + ($371<<2)|0);
+ $373 = HEAP32[$372>>2]|0;
+ $374 = $21;
+ $375 = (($43) + ($374<<2)|0);
+ HEAP32[$375>>2] = $373;
+ $376 = $21;
+ $377 = (($43) + ($376<<2)|0);
+ $378 = HEAP32[$377>>2]|0;
+ $379 = $21;
+ $380 = (($42) + ($379<<2)|0);
+ HEAP32[$380>>2] = $378;
+ $381 = $21;
+ $382 = (($44) + ($381<<2)|0);
+ $383 = HEAP32[$382>>2]|0;
+ $384 = $21;
+ $385 = (($384) + 4)|0;
+ $386 = (($42) + ($385<<2)|0);
+ HEAP32[$386>>2] = $383;
+ $387 = $21;
+ $388 = (($41) + ($387<<1)|0);
+ $389 = HEAP16[$388>>1]|0;
+ $390 = $389 << 16 >> 16;
+ $30 = $390;
+ $391 = $21;
+ $392 = (($391) + 4)|0;
+ $393 = (($41) + ($392<<1)|0);
+ $394 = HEAP16[$393>>1]|0;
+ $395 = $21;
+ $396 = (($41) + ($395<<1)|0);
+ HEAP16[$396>>1] = $394;
+ $397 = $30;
+ $398 = $397&65535;
+ $399 = $21;
+ $400 = (($399) + 4)|0;
+ $401 = (($41) + ($400<<1)|0);
+ HEAP16[$401>>1] = $398;
+ $402 = $21;
+ $403 = (($402) + 4)|0;
+ $404 = $21;
+ $$sink = $403;$$sink2 = $404;
+ } else {
+ $405 = (($43) + ($368<<2)|0);
+ HEAP32[$405>>2] = $367;
+ $406 = $21;
+ $407 = (($406) + 4)|0;
+ $408 = (($42) + ($407<<2)|0);
+ $409 = HEAP32[$408>>2]|0;
+ $410 = $21;
+ $411 = (($44) + ($410<<2)|0);
+ HEAP32[$411>>2] = $409;
+ $412 = $21;
+ $413 = $21;
+ $$sink = $412;$$sink2 = $413;
+ }
+ $414 = (($39) + ($$sink2<<2)|0);
+ HEAP32[$414>>2] = $$sink;
+ $415 = $21;
+ $416 = (($415) + 1)|0;
+ $21 = $416;
+ }
+ while(1) {
+ $36 = 2147483647;
+ $37 = 0;
+ $24 = 0;
+ $25 = 0;
+ $21 = 0;
+ while(1) {
+ $417 = $21;
+ $418 = ($417|0)<(4);
+ $419 = $36;
+ if (!($418)) {
+ break;
+ }
+ $420 = $21;
+ $421 = (($44) + ($420<<2)|0);
+ $422 = HEAP32[$421>>2]|0;
+ $423 = ($419|0)>($422|0);
+ if ($423) {
+ $424 = $21;
+ $425 = (($44) + ($424<<2)|0);
+ $426 = HEAP32[$425>>2]|0;
+ $36 = $426;
+ $427 = $21;
+ $24 = $427;
+ }
+ $428 = $37;
+ $429 = $21;
+ $430 = (($43) + ($429<<2)|0);
+ $431 = HEAP32[$430>>2]|0;
+ $432 = ($428|0)<($431|0);
+ if ($432) {
+ $433 = $21;
+ $434 = (($43) + ($433<<2)|0);
+ $435 = HEAP32[$434>>2]|0;
+ $37 = $435;
+ $436 = $21;
+ $25 = $436;
+ }
+ $437 = $21;
+ $438 = (($437) + 1)|0;
+ $21 = $438;
+ }
+ $439 = $37;
+ $440 = ($419|0)>=($439|0);
+ if ($440) {
+ break;
+ }
+ $441 = $24;
+ $442 = (($39) + ($441<<2)|0);
+ $443 = HEAP32[$442>>2]|0;
+ $444 = $443 ^ 4;
+ $445 = $25;
+ $446 = (($39) + ($445<<2)|0);
+ HEAP32[$446>>2] = $444;
+ $447 = $24;
+ $448 = (($447) + 4)|0;
+ $449 = (($42) + ($448<<2)|0);
+ $450 = HEAP32[$449>>2]|0;
+ $451 = $25;
+ $452 = (($42) + ($451<<2)|0);
+ HEAP32[$452>>2] = $450;
+ $453 = $24;
+ $454 = (($453) + 4)|0;
+ $455 = (($41) + ($454<<1)|0);
+ $456 = HEAP16[$455>>1]|0;
+ $457 = $25;
+ $458 = (($41) + ($457<<1)|0);
+ HEAP16[$458>>1] = $456;
+ $459 = $25;
+ $460 = (($43) + ($459<<2)|0);
+ HEAP32[$460>>2] = 0;
+ $461 = $24;
+ $462 = (($44) + ($461<<2)|0);
+ HEAP32[$462>>2] = 2147483647;
+ $463 = $25;
+ $464 = (($40) + ($463<<4)|0);
+ $465 = $24;
+ $466 = (($40) + ($465<<4)|0);
+ dest=$464; src=$466; stop=dest+16|0; do { HEAP8[dest>>0]=HEAP8[src>>0]|0; dest=dest+1|0; src=src+1|0; } while ((dest|0) < (stop|0));
+ }
+ $21 = 0;
+ while(1) {
+ $467 = $21;
+ $468 = ($467|0)<(4);
+ if (!($468)) {
+ break L35;
+ }
+ $469 = $21;
+ $470 = (($39) + ($469<<2)|0);
+ $471 = HEAP32[$470>>2]|0;
+ $472 = $471 >> 2;
+ $473 = $21;
+ $474 = (($40) + ($473<<4)|0);
+ $475 = $20;
+ $476 = (($474) + ($475)|0);
+ $477 = HEAP8[$476>>0]|0;
+ $478 = $477 << 24 >> 24;
+ $479 = (($478) + ($472))|0;
+ $480 = $479&255;
+ HEAP8[$476>>0] = $480;
+ $481 = $21;
+ $482 = (($481) + 1)|0;
+ $21 = $482;
+ }
+ }
+ } while(0);
+ $483 = $20;
+ $484 = (($483) + -1)|0;
+ $20 = $484;
+ }
+ $23 = 0;
+ $35 = 2147483647;
+ $21 = 0;
+ while(1) {
+ $485 = $21;
+ $486 = ($485|0)<(8);
+ if (!($486)) {
+ break;
+ }
+ $487 = $35;
+ $488 = $21;
+ $489 = (($42) + ($488<<2)|0);
+ $490 = HEAP32[$489>>2]|0;
+ $491 = ($487|0)>($490|0);
+ if ($491) {
+ $492 = $21;
+ $493 = (($42) + ($492<<2)|0);
+ $494 = HEAP32[$493>>2]|0;
+ $35 = $494;
+ $495 = $21;
+ $23 = $495;
+ }
+ $496 = $21;
+ $497 = (($496) + 1)|0;
+ $21 = $497;
+ }
+ $21 = 0;
+ while(1) {
+ $498 = $21;
+ $499 = $19;
+ $500 = $499 << 16 >> 16;
+ $501 = ($498|0)<($500|0);
+ $502 = $23;
+ if (!($501)) {
+ break;
+ }
+ $503 = $502 & 3;
+ $504 = (($40) + ($503<<4)|0);
+ $505 = $21;
+ $506 = (($504) + ($505)|0);
+ $507 = HEAP8[$506>>0]|0;
+ $508 = $10;
+ $509 = $21;
+ $510 = (($508) + ($509)|0);
+ HEAP8[$510>>0] = $507;
+ $511 = $21;
+ $512 = (($511) + 1)|0;
+ $21 = $512;
+ }
+ $513 = $502 >> 2;
+ $514 = $10;
+ $515 = HEAP8[$514>>0]|0;
+ $516 = $515 << 24 >> 24;
+ $517 = (($516) + ($513))|0;
+ $518 = $517&255;
+ HEAP8[$514>>0] = $518;
+ $519 = $35;
+ STACKTOP = sp;return ($519|0);
+}
+function _silk_corrVector_FLP($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0.0, $23 = 0.0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $5 = $0;
+ $6 = $1;
+ $7 = $2;
+ $8 = $3;
+ $9 = $4;
+ $12 = $5;
+ $13 = $8;
+ $14 = (($13) - 1)|0;
+ $15 = (($12) + ($14<<2)|0);
+ $11 = $15;
+ $10 = 0;
+ while(1) {
+ $16 = $10;
+ $17 = $8;
+ $18 = ($16|0)<($17|0);
+ if (!($18)) {
+ break;
+ }
+ $19 = $11;
+ $20 = $6;
+ $21 = $7;
+ $22 = (+_silk_inner_product_FLP($19,$20,$21));
+ $23 = $22;
+ $24 = $9;
+ $25 = $10;
+ $26 = (($24) + ($25<<2)|0);
+ HEAPF32[$26>>2] = $23;
+ $27 = $11;
+ $28 = ((($27)) + -4|0);
+ $11 = $28;
+ $29 = $10;
+ $30 = (($29) + 1)|0;
+ $10 = $30;
+ }
+ STACKTOP = sp;return;
+}
+function _silk_corrMatrix_FLP($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0.0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0.0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0.0;
+ var $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0.0, $124 = 0.0, $125 = 0.0, $126 = 0.0, $127 = 0.0, $128 = 0.0, $129 = 0.0, $13 = 0, $130 = 0.0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0;
+ var $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0.0, $141 = 0.0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0;
+ var $154 = 0, $155 = 0, $156 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0.0, $20 = 0.0, $21 = 0.0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0;
+ var $33 = 0, $34 = 0.0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0.0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0;
+ var $51 = 0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0;
+ var $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0.0, $8 = 0, $80 = 0.0, $81 = 0.0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0;
+ var $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
+ $4 = $0;
+ $5 = $1;
+ $6 = $2;
+ $7 = $3;
+ $13 = $4;
+ $14 = $6;
+ $15 = (($14) - 1)|0;
+ $16 = (($13) + ($15<<2)|0);
+ $11 = $16;
+ $17 = $11;
+ $18 = $5;
+ $19 = (+_silk_energy_FLP($17,$18));
+ $10 = $19;
+ $20 = $10;
+ $21 = $20;
+ $22 = $7;
+ $23 = $6;
+ $24 = 0;
+ $25 = (($24) + 0)|0;
+ $26 = (($22) + ($25<<2)|0);
+ HEAPF32[$26>>2] = $21;
+ $8 = 1;
+ while(1) {
+ $27 = $8;
+ $28 = $6;
+ $29 = ($27|0)<($28|0);
+ if (!($29)) {
+ break;
+ }
+ $30 = $11;
+ $31 = $8;
+ $32 = (0 - ($31))|0;
+ $33 = (($30) + ($32<<2)|0);
+ $34 = +HEAPF32[$33>>2];
+ $35 = $11;
+ $36 = $8;
+ $37 = (0 - ($36))|0;
+ $38 = (($35) + ($37<<2)|0);
+ $39 = +HEAPF32[$38>>2];
+ $40 = $34 * $39;
+ $41 = $11;
+ $42 = $5;
+ $43 = $8;
+ $44 = (($42) - ($43))|0;
+ $45 = (($41) + ($44<<2)|0);
+ $46 = +HEAPF32[$45>>2];
+ $47 = $11;
+ $48 = $5;
+ $49 = $8;
+ $50 = (($48) - ($49))|0;
+ $51 = (($47) + ($50<<2)|0);
+ $52 = +HEAPF32[$51>>2];
+ $53 = $46 * $52;
+ $54 = $40 - $53;
+ $55 = $54;
+ $56 = $10;
+ $57 = $56 + $55;
+ $10 = $57;
+ $58 = $10;
+ $59 = $58;
+ $60 = $7;
+ $61 = $8;
+ $62 = $6;
+ $63 = Math_imul($61, $62)|0;
+ $64 = $8;
+ $65 = (($63) + ($64))|0;
+ $66 = (($60) + ($65<<2)|0);
+ HEAPF32[$66>>2] = $59;
+ $67 = $8;
+ $68 = (($67) + 1)|0;
+ $8 = $68;
+ }
+ $69 = $4;
+ $70 = $6;
+ $71 = (($70) - 2)|0;
+ $72 = (($69) + ($71<<2)|0);
+ $12 = $72;
+ $9 = 1;
+ while(1) {
+ $73 = $9;
+ $74 = $6;
+ $75 = ($73|0)<($74|0);
+ if (!($75)) {
+ break;
+ }
+ $76 = $11;
+ $77 = $12;
+ $78 = $5;
+ $79 = (+_silk_inner_product_FLP($76,$77,$78));
+ $10 = $79;
+ $80 = $10;
+ $81 = $80;
+ $82 = $7;
+ $83 = $9;
+ $84 = $6;
+ $85 = Math_imul($83, $84)|0;
+ $86 = (($85) + 0)|0;
+ $87 = (($82) + ($86<<2)|0);
+ HEAPF32[$87>>2] = $81;
+ $88 = $10;
+ $89 = $88;
+ $90 = $7;
+ $91 = $6;
+ $92 = 0;
+ $93 = $9;
+ $94 = (($92) + ($93))|0;
+ $95 = (($90) + ($94<<2)|0);
+ HEAPF32[$95>>2] = $89;
+ $8 = 1;
+ while(1) {
+ $96 = $8;
+ $97 = $6;
+ $98 = $9;
+ $99 = (($97) - ($98))|0;
+ $100 = ($96|0)<($99|0);
+ if (!($100)) {
+ break;
+ }
+ $101 = $11;
+ $102 = $8;
+ $103 = (0 - ($102))|0;
+ $104 = (($101) + ($103<<2)|0);
+ $105 = +HEAPF32[$104>>2];
+ $106 = $12;
+ $107 = $8;
+ $108 = (0 - ($107))|0;
+ $109 = (($106) + ($108<<2)|0);
+ $110 = +HEAPF32[$109>>2];
+ $111 = $105 * $110;
+ $112 = $11;
+ $113 = $5;
+ $114 = $8;
+ $115 = (($113) - ($114))|0;
+ $116 = (($112) + ($115<<2)|0);
+ $117 = +HEAPF32[$116>>2];
+ $118 = $12;
+ $119 = $5;
+ $120 = $8;
+ $121 = (($119) - ($120))|0;
+ $122 = (($118) + ($121<<2)|0);
+ $123 = +HEAPF32[$122>>2];
+ $124 = $117 * $123;
+ $125 = $111 - $124;
+ $126 = $125;
+ $127 = $10;
+ $128 = $127 + $126;
+ $10 = $128;
+ $129 = $10;
+ $130 = $129;
+ $131 = $7;
+ $132 = $9;
+ $133 = $8;
+ $134 = (($132) + ($133))|0;
+ $135 = $6;
+ $136 = Math_imul($134, $135)|0;
+ $137 = $8;
+ $138 = (($136) + ($137))|0;
+ $139 = (($131) + ($138<<2)|0);
+ HEAPF32[$139>>2] = $130;
+ $140 = $10;
+ $141 = $140;
+ $142 = $7;
+ $143 = $8;
+ $144 = $6;
+ $145 = Math_imul($143, $144)|0;
+ $146 = $9;
+ $147 = $8;
+ $148 = (($146) + ($147))|0;
+ $149 = (($145) + ($148))|0;
+ $150 = (($142) + ($149<<2)|0);
+ HEAPF32[$150>>2] = $141;
+ $151 = $8;
+ $152 = (($151) + 1)|0;
+ $8 = $152;
+ }
+ $153 = $12;
+ $154 = ((($153)) + -4|0);
+ $12 = $154;
+ $155 = $9;
+ $156 = (($155) + 1)|0;
+ $9 = $156;
+ }
+ STACKTOP = sp;return;
+}
+function _malloc($0) {
+ $0 = $0|0;
+ var $$$0192$i = 0, $$$0193$i = 0, $$$4236$i = 0, $$$4351$i = 0, $$$i = 0, $$0 = 0, $$0$i$i = 0, $$0$i$i$i = 0, $$0$i17$i = 0, $$0189$i = 0, $$0192$lcssa$i = 0, $$01926$i = 0, $$0193$lcssa$i = 0, $$01935$i = 0, $$0197 = 0, $$0199 = 0, $$0206$i$i = 0, $$0207$i$i = 0, $$0211$i$i = 0, $$0212$i$i = 0;
+ var $$024367$i = 0, $$0287$i$i = 0, $$0288$i$i = 0, $$0289$i$i = 0, $$0295$i$i = 0, $$0296$i$i = 0, $$0342$i = 0, $$0344$i = 0, $$0345$i = 0, $$0347$i = 0, $$0353$i = 0, $$0358$i = 0, $$0359$$i = 0, $$0359$i = 0, $$0361$i = 0, $$0362$i = 0, $$0368$i = 0, $$1196$i = 0, $$1198$i = 0, $$124466$i = 0;
+ var $$1291$i$i = 0, $$1293$i$i = 0, $$1343$i = 0, $$1348$i = 0, $$1363$i = 0, $$1370$i = 0, $$1374$i = 0, $$2234243136$i = 0, $$2247$ph$i = 0, $$2253$ph$i = 0, $$2355$i = 0, $$3$i = 0, $$3$i$i = 0, $$3$i203 = 0, $$3350$i = 0, $$3372$i = 0, $$4$lcssa$i = 0, $$4$ph$i = 0, $$414$i = 0, $$4236$i = 0;
+ var $$4351$lcssa$i = 0, $$435113$i = 0, $$4357$$4$i = 0, $$4357$ph$i = 0, $$435712$i = 0, $$723947$i = 0, $$748$i = 0, $$pre = 0, $$pre$i = 0, $$pre$i$i = 0, $$pre$i18$i = 0, $$pre$i210 = 0, $$pre$i212 = 0, $$pre$phi$i$iZ2D = 0, $$pre$phi$i19$iZ2D = 0, $$pre$phi$i211Z2D = 0, $$pre$phi$iZ2D = 0, $$pre$phi11$i$iZ2D = 0, $$pre$phiZ2D = 0, $$pre10$i$i = 0;
+ var $$sink1$i = 0, $$sink1$i$i = 0, $$sink14$i = 0, $$sink2$i = 0, $$sink2$i205 = 0, $$sink3$i = 0, $1 = 0, $10 = 0, $100 = 0, $1000 = 0, $1001 = 0, $1002 = 0, $1003 = 0, $1004 = 0, $1005 = 0, $1006 = 0, $1007 = 0, $1008 = 0, $1009 = 0, $101 = 0;
+ var $1010 = 0, $1011 = 0, $1012 = 0, $1013 = 0, $1014 = 0, $1015 = 0, $1016 = 0, $1017 = 0, $1018 = 0, $1019 = 0, $102 = 0, $1020 = 0, $1021 = 0, $1022 = 0, $1023 = 0, $1024 = 0, $1025 = 0, $1026 = 0, $1027 = 0, $1028 = 0;
+ var $1029 = 0, $103 = 0, $1030 = 0, $1031 = 0, $1032 = 0, $1033 = 0, $1034 = 0, $1035 = 0, $1036 = 0, $1037 = 0, $1038 = 0, $1039 = 0, $104 = 0, $1040 = 0, $1041 = 0, $1042 = 0, $1043 = 0, $1044 = 0, $1045 = 0, $1046 = 0;
+ var $1047 = 0, $1048 = 0, $1049 = 0, $105 = 0, $1050 = 0, $1051 = 0, $1052 = 0, $1053 = 0, $1054 = 0, $1055 = 0, $1056 = 0, $1057 = 0, $1058 = 0, $1059 = 0, $106 = 0, $1060 = 0, $1061 = 0, $1062 = 0, $107 = 0, $108 = 0;
+ var $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0;
+ var $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0;
+ var $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0;
+ var $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0;
+ var $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0;
+ var $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0;
+ var $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0;
+ var $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0;
+ var $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0;
+ var $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0;
+ var $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0;
+ var $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0;
+ var $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $340 = 0, $341 = 0, $342 = 0;
+ var $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0, $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0;
+ var $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0, $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0;
+ var $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $392 = 0, $393 = 0, $394 = 0, $395 = 0, $396 = 0, $397 = 0;
+ var $398 = 0, $399 = 0, $4 = 0, $40 = 0, $400 = 0, $401 = 0, $402 = 0, $403 = 0, $404 = 0, $405 = 0, $406 = 0, $407 = 0, $408 = 0, $409 = 0, $41 = 0, $410 = 0, $411 = 0, $412 = 0, $413 = 0, $414 = 0;
+ var $415 = 0, $416 = 0, $417 = 0, $418 = 0, $419 = 0, $42 = 0, $420 = 0, $421 = 0, $422 = 0, $423 = 0, $424 = 0, $425 = 0, $426 = 0, $427 = 0, $428 = 0, $429 = 0, $43 = 0, $430 = 0, $431 = 0, $432 = 0;
+ var $433 = 0, $434 = 0, $435 = 0, $436 = 0, $437 = 0, $438 = 0, $439 = 0, $44 = 0, $440 = 0, $441 = 0, $442 = 0, $443 = 0, $444 = 0, $445 = 0, $446 = 0, $447 = 0, $448 = 0, $449 = 0, $45 = 0, $450 = 0;
+ var $451 = 0, $452 = 0, $453 = 0, $454 = 0, $455 = 0, $456 = 0, $457 = 0, $458 = 0, $459 = 0, $46 = 0, $460 = 0, $461 = 0, $462 = 0, $463 = 0, $464 = 0, $465 = 0, $466 = 0, $467 = 0, $468 = 0, $469 = 0;
+ var $47 = 0, $470 = 0, $471 = 0, $472 = 0, $473 = 0, $474 = 0, $475 = 0, $476 = 0, $477 = 0, $478 = 0, $479 = 0, $48 = 0, $480 = 0, $481 = 0, $482 = 0, $483 = 0, $484 = 0, $485 = 0, $486 = 0, $487 = 0;
+ var $488 = 0, $489 = 0, $49 = 0, $490 = 0, $491 = 0, $492 = 0, $493 = 0, $494 = 0, $495 = 0, $496 = 0, $497 = 0, $498 = 0, $499 = 0, $5 = 0, $50 = 0, $500 = 0, $501 = 0, $502 = 0, $503 = 0, $504 = 0;
+ var $505 = 0, $506 = 0, $507 = 0, $508 = 0, $509 = 0, $51 = 0, $510 = 0, $511 = 0, $512 = 0, $513 = 0, $514 = 0, $515 = 0, $516 = 0, $517 = 0, $518 = 0, $519 = 0, $52 = 0, $520 = 0, $521 = 0, $522 = 0;
+ var $523 = 0, $524 = 0, $525 = 0, $526 = 0, $527 = 0, $528 = 0, $529 = 0, $53 = 0, $530 = 0, $531 = 0, $532 = 0, $533 = 0, $534 = 0, $535 = 0, $536 = 0, $537 = 0, $538 = 0, $539 = 0, $54 = 0, $540 = 0;
+ var $541 = 0, $542 = 0, $543 = 0, $544 = 0, $545 = 0, $546 = 0, $547 = 0, $548 = 0, $549 = 0, $55 = 0, $550 = 0, $551 = 0, $552 = 0, $553 = 0, $554 = 0, $555 = 0, $556 = 0, $557 = 0, $558 = 0, $559 = 0;
+ var $56 = 0, $560 = 0, $561 = 0, $562 = 0, $563 = 0, $564 = 0, $565 = 0, $566 = 0, $567 = 0, $568 = 0, $569 = 0, $57 = 0, $570 = 0, $571 = 0, $572 = 0, $573 = 0, $574 = 0, $575 = 0, $576 = 0, $577 = 0;
+ var $578 = 0, $579 = 0, $58 = 0, $580 = 0, $581 = 0, $582 = 0, $583 = 0, $584 = 0, $585 = 0, $586 = 0, $587 = 0, $588 = 0, $589 = 0, $59 = 0, $590 = 0, $591 = 0, $592 = 0, $593 = 0, $594 = 0, $595 = 0;
+ var $596 = 0, $597 = 0, $598 = 0, $599 = 0, $6 = 0, $60 = 0, $600 = 0, $601 = 0, $602 = 0, $603 = 0, $604 = 0, $605 = 0, $606 = 0, $607 = 0, $608 = 0, $609 = 0, $61 = 0, $610 = 0, $611 = 0, $612 = 0;
+ var $613 = 0, $614 = 0, $615 = 0, $616 = 0, $617 = 0, $618 = 0, $619 = 0, $62 = 0, $620 = 0, $621 = 0, $622 = 0, $623 = 0, $624 = 0, $625 = 0, $626 = 0, $627 = 0, $628 = 0, $629 = 0, $63 = 0, $630 = 0;
+ var $631 = 0, $632 = 0, $633 = 0, $634 = 0, $635 = 0, $636 = 0, $637 = 0, $638 = 0, $639 = 0, $64 = 0, $640 = 0, $641 = 0, $642 = 0, $643 = 0, $644 = 0, $645 = 0, $646 = 0, $647 = 0, $648 = 0, $649 = 0;
+ var $65 = 0, $650 = 0, $651 = 0, $652 = 0, $653 = 0, $654 = 0, $655 = 0, $656 = 0, $657 = 0, $658 = 0, $659 = 0, $66 = 0, $660 = 0, $661 = 0, $662 = 0, $663 = 0, $664 = 0, $665 = 0, $666 = 0, $667 = 0;
+ var $668 = 0, $669 = 0, $67 = 0, $670 = 0, $671 = 0, $672 = 0, $673 = 0, $674 = 0, $675 = 0, $676 = 0, $677 = 0, $678 = 0, $679 = 0, $68 = 0, $680 = 0, $681 = 0, $682 = 0, $683 = 0, $684 = 0, $685 = 0;
+ var $686 = 0, $687 = 0, $688 = 0, $689 = 0, $69 = 0, $690 = 0, $691 = 0, $692 = 0, $693 = 0, $694 = 0, $695 = 0, $696 = 0, $697 = 0, $698 = 0, $699 = 0, $7 = 0, $70 = 0, $700 = 0, $701 = 0, $702 = 0;
+ var $703 = 0, $704 = 0, $705 = 0, $706 = 0, $707 = 0, $708 = 0, $709 = 0, $71 = 0, $710 = 0, $711 = 0, $712 = 0, $713 = 0, $714 = 0, $715 = 0, $716 = 0, $717 = 0, $718 = 0, $719 = 0, $72 = 0, $720 = 0;
+ var $721 = 0, $722 = 0, $723 = 0, $724 = 0, $725 = 0, $726 = 0, $727 = 0, $728 = 0, $729 = 0, $73 = 0, $730 = 0, $731 = 0, $732 = 0, $733 = 0, $734 = 0, $735 = 0, $736 = 0, $737 = 0, $738 = 0, $739 = 0;
+ var $74 = 0, $740 = 0, $741 = 0, $742 = 0, $743 = 0, $744 = 0, $745 = 0, $746 = 0, $747 = 0, $748 = 0, $749 = 0, $75 = 0, $750 = 0, $751 = 0, $752 = 0, $753 = 0, $754 = 0, $755 = 0, $756 = 0, $757 = 0;
+ var $758 = 0, $759 = 0, $76 = 0, $760 = 0, $761 = 0, $762 = 0, $763 = 0, $764 = 0, $765 = 0, $766 = 0, $767 = 0, $768 = 0, $769 = 0, $77 = 0, $770 = 0, $771 = 0, $772 = 0, $773 = 0, $774 = 0, $775 = 0;
+ var $776 = 0, $777 = 0, $778 = 0, $779 = 0, $78 = 0, $780 = 0, $781 = 0, $782 = 0, $783 = 0, $784 = 0, $785 = 0, $786 = 0, $787 = 0, $788 = 0, $789 = 0, $79 = 0, $790 = 0, $791 = 0, $792 = 0, $793 = 0;
+ var $794 = 0, $795 = 0, $796 = 0, $797 = 0, $798 = 0, $799 = 0, $8 = 0, $80 = 0, $800 = 0, $801 = 0, $802 = 0, $803 = 0, $804 = 0, $805 = 0, $806 = 0, $807 = 0, $808 = 0, $809 = 0, $81 = 0, $810 = 0;
+ var $811 = 0, $812 = 0, $813 = 0, $814 = 0, $815 = 0, $816 = 0, $817 = 0, $818 = 0, $819 = 0, $82 = 0, $820 = 0, $821 = 0, $822 = 0, $823 = 0, $824 = 0, $825 = 0, $826 = 0, $827 = 0, $828 = 0, $829 = 0;
+ var $83 = 0, $830 = 0, $831 = 0, $832 = 0, $833 = 0, $834 = 0, $835 = 0, $836 = 0, $837 = 0, $838 = 0, $839 = 0, $84 = 0, $840 = 0, $841 = 0, $842 = 0, $843 = 0, $844 = 0, $845 = 0, $846 = 0, $847 = 0;
+ var $848 = 0, $849 = 0, $85 = 0, $850 = 0, $851 = 0, $852 = 0, $853 = 0, $854 = 0, $855 = 0, $856 = 0, $857 = 0, $858 = 0, $859 = 0, $86 = 0, $860 = 0, $861 = 0, $862 = 0, $863 = 0, $864 = 0, $865 = 0;
+ var $866 = 0, $867 = 0, $868 = 0, $869 = 0, $87 = 0, $870 = 0, $871 = 0, $872 = 0, $873 = 0, $874 = 0, $875 = 0, $876 = 0, $877 = 0, $878 = 0, $879 = 0, $88 = 0, $880 = 0, $881 = 0, $882 = 0, $883 = 0;
+ var $884 = 0, $885 = 0, $886 = 0, $887 = 0, $888 = 0, $889 = 0, $89 = 0, $890 = 0, $891 = 0, $892 = 0, $893 = 0, $894 = 0, $895 = 0, $896 = 0, $897 = 0, $898 = 0, $899 = 0, $9 = 0, $90 = 0, $900 = 0;
+ var $901 = 0, $902 = 0, $903 = 0, $904 = 0, $905 = 0, $906 = 0, $907 = 0, $908 = 0, $909 = 0, $91 = 0, $910 = 0, $911 = 0, $912 = 0, $913 = 0, $914 = 0, $915 = 0, $916 = 0, $917 = 0, $918 = 0, $919 = 0;
+ var $92 = 0, $920 = 0, $921 = 0, $922 = 0, $923 = 0, $924 = 0, $925 = 0, $926 = 0, $927 = 0, $928 = 0, $929 = 0, $93 = 0, $930 = 0, $931 = 0, $932 = 0, $933 = 0, $934 = 0, $935 = 0, $936 = 0, $937 = 0;
+ var $938 = 0, $939 = 0, $94 = 0, $940 = 0, $941 = 0, $942 = 0, $943 = 0, $944 = 0, $945 = 0, $946 = 0, $947 = 0, $948 = 0, $949 = 0, $95 = 0, $950 = 0, $951 = 0, $952 = 0, $953 = 0, $954 = 0, $955 = 0;
+ var $956 = 0, $957 = 0, $958 = 0, $959 = 0, $96 = 0, $960 = 0, $961 = 0, $962 = 0, $963 = 0, $964 = 0, $965 = 0, $966 = 0, $967 = 0, $968 = 0, $969 = 0, $97 = 0, $970 = 0, $971 = 0, $972 = 0, $973 = 0;
+ var $974 = 0, $975 = 0, $976 = 0, $977 = 0, $978 = 0, $979 = 0, $98 = 0, $980 = 0, $981 = 0, $982 = 0, $983 = 0, $984 = 0, $985 = 0, $986 = 0, $987 = 0, $988 = 0, $989 = 0, $99 = 0, $990 = 0, $991 = 0;
+ var $992 = 0, $993 = 0, $994 = 0, $995 = 0, $996 = 0, $997 = 0, $998 = 0, $999 = 0, $cond$i = 0, $cond$i$i = 0, $cond$i209 = 0, $not$$i = 0, $not$7$i = 0, $or$cond$i = 0, $or$cond$i214 = 0, $or$cond1$i = 0, $or$cond10$i = 0, $or$cond11$i = 0, $or$cond11$not$i = 0, $or$cond12$i = 0;
+ var $or$cond2$i = 0, $or$cond2$i215 = 0, $or$cond49$i = 0, $or$cond5$i = 0, $or$cond50$i = 0, $or$cond7$i = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
+ $1 = sp;
+ $2 = ($0>>>0)<(245);
+ do {
+ if ($2) {
+ $3 = ($0>>>0)<(11);
+ $4 = (($0) + 11)|0;
+ $5 = $4 & -8;
+ $6 = $3 ? 16 : $5;
+ $7 = $6 >>> 3;
+ $8 = HEAP32[8392]|0;
+ $9 = $8 >>> $7;
+ $10 = $9 & 3;
+ $11 = ($10|0)==(0);
+ if (!($11)) {
+ $12 = $9 & 1;
+ $13 = $12 ^ 1;
+ $14 = (($13) + ($7))|0;
+ $15 = $14 << 1;
+ $16 = (33608 + ($15<<2)|0);
+ $17 = ((($16)) + 8|0);
+ $18 = HEAP32[$17>>2]|0;
+ $19 = ((($18)) + 8|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = ($20|0)==($16|0);
+ do {
+ if ($21) {
+ $22 = 1 << $14;
+ $23 = $22 ^ -1;
+ $24 = $8 & $23;
+ HEAP32[8392] = $24;
+ } else {
+ $25 = HEAP32[(33584)>>2]|0;
+ $26 = ($25>>>0)>($20>>>0);
+ if ($26) {
_abort();
// unreachable;
}
- $bk = ((($3)) + 12|0);
- $5 = HEAP32[$bk>>2]|0;
- $cmp16 = ($5|0)==($2|0);
- if ($cmp16) {
- HEAP32[$bk>>2] = $arrayidx;
- HEAP32[$1>>2] = $3;
+ $27 = ((($20)) + 12|0);
+ $28 = HEAP32[$27>>2]|0;
+ $29 = ($28|0)==($18|0);
+ if ($29) {
+ HEAP32[$27>>2] = $16;
+ HEAP32[$17>>2] = $20;
break;
} else {
_abort();
@@ -96734,79 +96735,79 @@ function _malloc($bytes) {
}
}
} while(0);
- $shl22 = $add8 << 3;
- $or23 = $shl22 | 3;
- $head = ((($2)) + 4|0);
- HEAP32[$head>>2] = $or23;
- $add$ptr = (($2) + ($shl22)|0);
- $head25 = ((($add$ptr)) + 4|0);
- $6 = HEAP32[$head25>>2]|0;
- $or26 = $6 | 1;
- HEAP32[$head25>>2] = $or26;
- $retval$0 = $fd9;
- STACKTOP = sp;return ($retval$0|0);
+ $30 = $14 << 3;
+ $31 = $30 | 3;
+ $32 = ((($18)) + 4|0);
+ HEAP32[$32>>2] = $31;
+ $33 = (($18) + ($30)|0);
+ $34 = ((($33)) + 4|0);
+ $35 = HEAP32[$34>>2]|0;
+ $36 = $35 | 1;
+ HEAP32[$34>>2] = $36;
+ $$0 = $19;
+ STACKTOP = sp;return ($$0|0);
}
- $7 = HEAP32[(33536)>>2]|0;
- $cmp29 = ($cond>>>0)>($7>>>0);
- if ($cmp29) {
- $cmp31 = ($shr3|0)==(0);
- if (!($cmp31)) {
- $shl35 = $shr3 << $shr;
- $shl37 = 2 << $shr;
- $sub = (0 - ($shl37))|0;
- $or40 = $shl37 | $sub;
- $and41 = $shl35 & $or40;
- $sub42 = (0 - ($and41))|0;
- $and43 = $and41 & $sub42;
- $sub44 = (($and43) + -1)|0;
- $shr45 = $sub44 >>> 12;
- $and46 = $shr45 & 16;
- $shr47 = $sub44 >>> $and46;
- $shr48 = $shr47 >>> 5;
- $and49 = $shr48 & 8;
- $add50 = $and49 | $and46;
- $shr51 = $shr47 >>> $and49;
- $shr52 = $shr51 >>> 2;
- $and53 = $shr52 & 4;
- $add54 = $add50 | $and53;
- $shr55 = $shr51 >>> $and53;
- $shr56 = $shr55 >>> 1;
- $and57 = $shr56 & 2;
- $add58 = $add54 | $and57;
- $shr59 = $shr55 >>> $and57;
- $shr60 = $shr59 >>> 1;
- $and61 = $shr60 & 1;
- $add62 = $add58 | $and61;
- $shr63 = $shr59 >>> $and61;
- $add64 = (($add62) + ($shr63))|0;
- $shl65 = $add64 << 1;
- $arrayidx66 = (33568 + ($shl65<<2)|0);
- $8 = ((($arrayidx66)) + 8|0);
- $9 = HEAP32[$8>>2]|0;
- $fd69 = ((($9)) + 8|0);
- $10 = HEAP32[$fd69>>2]|0;
- $cmp70 = ($10|0)==($arrayidx66|0);
+ $37 = HEAP32[(33576)>>2]|0;
+ $38 = ($6>>>0)>($37>>>0);
+ if ($38) {
+ $39 = ($9|0)==(0);
+ if (!($39)) {
+ $40 = $9 << $7;
+ $41 = 2 << $7;
+ $42 = (0 - ($41))|0;
+ $43 = $41 | $42;
+ $44 = $40 & $43;
+ $45 = (0 - ($44))|0;
+ $46 = $44 & $45;
+ $47 = (($46) + -1)|0;
+ $48 = $47 >>> 12;
+ $49 = $48 & 16;
+ $50 = $47 >>> $49;
+ $51 = $50 >>> 5;
+ $52 = $51 & 8;
+ $53 = $52 | $49;
+ $54 = $50 >>> $52;
+ $55 = $54 >>> 2;
+ $56 = $55 & 4;
+ $57 = $53 | $56;
+ $58 = $54 >>> $56;
+ $59 = $58 >>> 1;
+ $60 = $59 & 2;
+ $61 = $57 | $60;
+ $62 = $58 >>> $60;
+ $63 = $62 >>> 1;
+ $64 = $63 & 1;
+ $65 = $61 | $64;
+ $66 = $62 >>> $64;
+ $67 = (($65) + ($66))|0;
+ $68 = $67 << 1;
+ $69 = (33608 + ($68<<2)|0);
+ $70 = ((($69)) + 8|0);
+ $71 = HEAP32[$70>>2]|0;
+ $72 = ((($71)) + 8|0);
+ $73 = HEAP32[$72>>2]|0;
+ $74 = ($73|0)==($69|0);
do {
- if ($cmp70) {
- $shl72 = 1 << $add64;
- $neg73 = $shl72 ^ -1;
- $and74 = $0 & $neg73;
- HEAP32[8382] = $and74;
- $14 = $and74;
+ if ($74) {
+ $75 = 1 << $67;
+ $76 = $75 ^ -1;
+ $77 = $8 & $76;
+ HEAP32[8392] = $77;
+ $98 = $77;
} else {
- $11 = HEAP32[(33544)>>2]|0;
- $cmp76 = ($11>>>0)>($10>>>0);
- if ($cmp76) {
+ $78 = HEAP32[(33584)>>2]|0;
+ $79 = ($78>>>0)>($73>>>0);
+ if ($79) {
_abort();
// unreachable;
}
- $bk78 = ((($10)) + 12|0);
- $12 = HEAP32[$bk78>>2]|0;
- $cmp79 = ($12|0)==($9|0);
- if ($cmp79) {
- HEAP32[$bk78>>2] = $arrayidx66;
- HEAP32[$8>>2] = $10;
- $14 = $0;
+ $80 = ((($73)) + 12|0);
+ $81 = HEAP32[$80>>2]|0;
+ $82 = ($81|0)==($71|0);
+ if ($82) {
+ HEAP32[$80>>2] = $69;
+ HEAP32[$70>>2] = $73;
+ $98 = $8;
break;
} else {
_abort();
@@ -96814,207 +96815,207 @@ function _malloc($bytes) {
}
}
} while(0);
- $shl90 = $add64 << 3;
- $sub91 = (($shl90) - ($cond))|0;
- $or93 = $cond | 3;
- $head94 = ((($9)) + 4|0);
- HEAP32[$head94>>2] = $or93;
- $add$ptr95 = (($9) + ($cond)|0);
- $or96 = $sub91 | 1;
- $head97 = ((($add$ptr95)) + 4|0);
- HEAP32[$head97>>2] = $or96;
- $add$ptr98 = (($9) + ($shl90)|0);
- HEAP32[$add$ptr98>>2] = $sub91;
- $cmp99 = ($7|0)==(0);
- if (!($cmp99)) {
- $13 = HEAP32[(33548)>>2]|0;
- $shr101 = $7 >>> 3;
- $shl102 = $shr101 << 1;
- $arrayidx103 = (33568 + ($shl102<<2)|0);
- $shl105 = 1 << $shr101;
- $and106 = $14 & $shl105;
- $tobool107 = ($and106|0)==(0);
- if ($tobool107) {
- $or110 = $14 | $shl105;
- HEAP32[8382] = $or110;
- $$pre = ((($arrayidx103)) + 8|0);
- $$pre$phiZ2D = $$pre;$F104$0 = $arrayidx103;
+ $83 = $67 << 3;
+ $84 = (($83) - ($6))|0;
+ $85 = $6 | 3;
+ $86 = ((($71)) + 4|0);
+ HEAP32[$86>>2] = $85;
+ $87 = (($71) + ($6)|0);
+ $88 = $84 | 1;
+ $89 = ((($87)) + 4|0);
+ HEAP32[$89>>2] = $88;
+ $90 = (($71) + ($83)|0);
+ HEAP32[$90>>2] = $84;
+ $91 = ($37|0)==(0);
+ if (!($91)) {
+ $92 = HEAP32[(33588)>>2]|0;
+ $93 = $37 >>> 3;
+ $94 = $93 << 1;
+ $95 = (33608 + ($94<<2)|0);
+ $96 = 1 << $93;
+ $97 = $98 & $96;
+ $99 = ($97|0)==(0);
+ if ($99) {
+ $100 = $98 | $96;
+ HEAP32[8392] = $100;
+ $$pre = ((($95)) + 8|0);
+ $$0199 = $95;$$pre$phiZ2D = $$pre;
} else {
- $15 = ((($arrayidx103)) + 8|0);
- $16 = HEAP32[$15>>2]|0;
- $17 = HEAP32[(33544)>>2]|0;
- $cmp113 = ($17>>>0)>($16>>>0);
- if ($cmp113) {
+ $101 = ((($95)) + 8|0);
+ $102 = HEAP32[$101>>2]|0;
+ $103 = HEAP32[(33584)>>2]|0;
+ $104 = ($103>>>0)>($102>>>0);
+ if ($104) {
_abort();
// unreachable;
} else {
- $$pre$phiZ2D = $15;$F104$0 = $16;
+ $$0199 = $102;$$pre$phiZ2D = $101;
}
}
- HEAP32[$$pre$phiZ2D>>2] = $13;
- $bk122 = ((($F104$0)) + 12|0);
- HEAP32[$bk122>>2] = $13;
- $fd123 = ((($13)) + 8|0);
- HEAP32[$fd123>>2] = $F104$0;
- $bk124 = ((($13)) + 12|0);
- HEAP32[$bk124>>2] = $arrayidx103;
+ HEAP32[$$pre$phiZ2D>>2] = $92;
+ $105 = ((($$0199)) + 12|0);
+ HEAP32[$105>>2] = $92;
+ $106 = ((($92)) + 8|0);
+ HEAP32[$106>>2] = $$0199;
+ $107 = ((($92)) + 12|0);
+ HEAP32[$107>>2] = $95;
}
- HEAP32[(33536)>>2] = $sub91;
- HEAP32[(33548)>>2] = $add$ptr95;
- $retval$0 = $fd69;
- STACKTOP = sp;return ($retval$0|0);
+ HEAP32[(33576)>>2] = $84;
+ HEAP32[(33588)>>2] = $87;
+ $$0 = $72;
+ STACKTOP = sp;return ($$0|0);
}
- $18 = HEAP32[(33532)>>2]|0;
- $cmp128 = ($18|0)==(0);
- if ($cmp128) {
- $nb$0 = $cond;
+ $108 = HEAP32[(33572)>>2]|0;
+ $109 = ($108|0)==(0);
+ if ($109) {
+ $$0197 = $6;
} else {
- $sub$i = (0 - ($18))|0;
- $and$i = $18 & $sub$i;
- $sub2$i = (($and$i) + -1)|0;
- $shr$i = $sub2$i >>> 12;
- $and3$i = $shr$i & 16;
- $shr4$i = $sub2$i >>> $and3$i;
- $shr5$i = $shr4$i >>> 5;
- $and6$i = $shr5$i & 8;
- $add$i = $and6$i | $and3$i;
- $shr7$i = $shr4$i >>> $and6$i;
- $shr8$i = $shr7$i >>> 2;
- $and9$i = $shr8$i & 4;
- $add10$i = $add$i | $and9$i;
- $shr11$i = $shr7$i >>> $and9$i;
- $shr12$i = $shr11$i >>> 1;
- $and13$i = $shr12$i & 2;
- $add14$i = $add10$i | $and13$i;
- $shr15$i = $shr11$i >>> $and13$i;
- $shr16$i = $shr15$i >>> 1;
- $and17$i = $shr16$i & 1;
- $add18$i = $add14$i | $and17$i;
- $shr19$i = $shr15$i >>> $and17$i;
- $add20$i = (($add18$i) + ($shr19$i))|0;
- $arrayidx$i = (33832 + ($add20$i<<2)|0);
- $19 = HEAP32[$arrayidx$i>>2]|0;
- $head$i = ((($19)) + 4|0);
- $20 = HEAP32[$head$i>>2]|0;
- $and21$i = $20 & -8;
- $sub22$i = (($and21$i) - ($cond))|0;
- $arrayidx233$i = ((($19)) + 16|0);
- $21 = HEAP32[$arrayidx233$i>>2]|0;
- $cmp4$i = ($21|0)==(0|0);
- $$sink5$i = $cmp4$i&1;
- $arrayidx276$i = (((($19)) + 16|0) + ($$sink5$i<<2)|0);
- $22 = HEAP32[$arrayidx276$i>>2]|0;
- $cmp287$i = ($22|0)==(0|0);
- if ($cmp287$i) {
- $rsize$0$lcssa$i = $sub22$i;$v$0$lcssa$i = $19;
+ $110 = (0 - ($108))|0;
+ $111 = $108 & $110;
+ $112 = (($111) + -1)|0;
+ $113 = $112 >>> 12;
+ $114 = $113 & 16;
+ $115 = $112 >>> $114;
+ $116 = $115 >>> 5;
+ $117 = $116 & 8;
+ $118 = $117 | $114;
+ $119 = $115 >>> $117;
+ $120 = $119 >>> 2;
+ $121 = $120 & 4;
+ $122 = $118 | $121;
+ $123 = $119 >>> $121;
+ $124 = $123 >>> 1;
+ $125 = $124 & 2;
+ $126 = $122 | $125;
+ $127 = $123 >>> $125;
+ $128 = $127 >>> 1;
+ $129 = $128 & 1;
+ $130 = $126 | $129;
+ $131 = $127 >>> $129;
+ $132 = (($130) + ($131))|0;
+ $133 = (33872 + ($132<<2)|0);
+ $134 = HEAP32[$133>>2]|0;
+ $135 = ((($134)) + 4|0);
+ $136 = HEAP32[$135>>2]|0;
+ $137 = $136 & -8;
+ $138 = (($137) - ($6))|0;
+ $139 = ((($134)) + 16|0);
+ $140 = HEAP32[$139>>2]|0;
+ $141 = ($140|0)==(0|0);
+ $$sink14$i = $141&1;
+ $142 = (((($134)) + 16|0) + ($$sink14$i<<2)|0);
+ $143 = HEAP32[$142>>2]|0;
+ $144 = ($143|0)==(0|0);
+ if ($144) {
+ $$0192$lcssa$i = $134;$$0193$lcssa$i = $138;
} else {
- $23 = $22;$rsize$08$i = $sub22$i;$v$09$i = $19;
+ $$01926$i = $134;$$01935$i = $138;$146 = $143;
while(1) {
- $head29$i = ((($23)) + 4|0);
- $24 = HEAP32[$head29$i>>2]|0;
- $and30$i = $24 & -8;
- $sub31$i = (($and30$i) - ($cond))|0;
- $cmp32$i = ($sub31$i>>>0)<($rsize$08$i>>>0);
- $sub31$rsize$0$i = $cmp32$i ? $sub31$i : $rsize$08$i;
- $$v$0$i = $cmp32$i ? $23 : $v$09$i;
- $arrayidx23$i = ((($23)) + 16|0);
- $25 = HEAP32[$arrayidx23$i>>2]|0;
- $cmp$i = ($25|0)==(0|0);
- $$sink$i = $cmp$i&1;
- $arrayidx27$i = (((($23)) + 16|0) + ($$sink$i<<2)|0);
- $26 = HEAP32[$arrayidx27$i>>2]|0;
- $cmp28$i = ($26|0)==(0|0);
- if ($cmp28$i) {
- $rsize$0$lcssa$i = $sub31$rsize$0$i;$v$0$lcssa$i = $$v$0$i;
+ $145 = ((($146)) + 4|0);
+ $147 = HEAP32[$145>>2]|0;
+ $148 = $147 & -8;
+ $149 = (($148) - ($6))|0;
+ $150 = ($149>>>0)<($$01935$i>>>0);
+ $$$0193$i = $150 ? $149 : $$01935$i;
+ $$$0192$i = $150 ? $146 : $$01926$i;
+ $151 = ((($146)) + 16|0);
+ $152 = HEAP32[$151>>2]|0;
+ $153 = ($152|0)==(0|0);
+ $$sink1$i = $153&1;
+ $154 = (((($146)) + 16|0) + ($$sink1$i<<2)|0);
+ $155 = HEAP32[$154>>2]|0;
+ $156 = ($155|0)==(0|0);
+ if ($156) {
+ $$0192$lcssa$i = $$$0192$i;$$0193$lcssa$i = $$$0193$i;
break;
} else {
- $23 = $26;$rsize$08$i = $sub31$rsize$0$i;$v$09$i = $$v$0$i;
+ $$01926$i = $$$0192$i;$$01935$i = $$$0193$i;$146 = $155;
}
}
}
- $27 = HEAP32[(33544)>>2]|0;
- $cmp33$i = ($27>>>0)>($v$0$lcssa$i>>>0);
- if ($cmp33$i) {
+ $157 = HEAP32[(33584)>>2]|0;
+ $158 = ($157>>>0)>($$0192$lcssa$i>>>0);
+ if ($158) {
_abort();
// unreachable;
}
- $add$ptr$i = (($v$0$lcssa$i) + ($cond)|0);
- $cmp35$i = ($add$ptr$i>>>0)>($v$0$lcssa$i>>>0);
- if (!($cmp35$i)) {
+ $159 = (($$0192$lcssa$i) + ($6)|0);
+ $160 = ($159>>>0)>($$0192$lcssa$i>>>0);
+ if (!($160)) {
_abort();
// unreachable;
}
- $parent$i = ((($v$0$lcssa$i)) + 24|0);
- $28 = HEAP32[$parent$i>>2]|0;
- $bk$i = ((($v$0$lcssa$i)) + 12|0);
- $29 = HEAP32[$bk$i>>2]|0;
- $cmp40$i = ($29|0)==($v$0$lcssa$i|0);
+ $161 = ((($$0192$lcssa$i)) + 24|0);
+ $162 = HEAP32[$161>>2]|0;
+ $163 = ((($$0192$lcssa$i)) + 12|0);
+ $164 = HEAP32[$163>>2]|0;
+ $165 = ($164|0)==($$0192$lcssa$i|0);
do {
- if ($cmp40$i) {
- $arrayidx61$i = ((($v$0$lcssa$i)) + 20|0);
- $33 = HEAP32[$arrayidx61$i>>2]|0;
- $cmp62$i = ($33|0)==(0|0);
- if ($cmp62$i) {
- $arrayidx65$i = ((($v$0$lcssa$i)) + 16|0);
- $34 = HEAP32[$arrayidx65$i>>2]|0;
- $cmp66$i = ($34|0)==(0|0);
- if ($cmp66$i) {
- $R$3$i = 0;
+ if ($165) {
+ $175 = ((($$0192$lcssa$i)) + 20|0);
+ $176 = HEAP32[$175>>2]|0;
+ $177 = ($176|0)==(0|0);
+ if ($177) {
+ $178 = ((($$0192$lcssa$i)) + 16|0);
+ $179 = HEAP32[$178>>2]|0;
+ $180 = ($179|0)==(0|0);
+ if ($180) {
+ $$3$i = 0;
break;
} else {
- $R$1$i = $34;$RP$1$i = $arrayidx65$i;
+ $$1196$i = $179;$$1198$i = $178;
}
} else {
- $R$1$i = $33;$RP$1$i = $arrayidx61$i;
+ $$1196$i = $176;$$1198$i = $175;
}
while(1) {
- $arrayidx71$i = ((($R$1$i)) + 20|0);
- $35 = HEAP32[$arrayidx71$i>>2]|0;
- $cmp72$i = ($35|0)==(0|0);
- if (!($cmp72$i)) {
- $R$1$i = $35;$RP$1$i = $arrayidx71$i;
+ $181 = ((($$1196$i)) + 20|0);
+ $182 = HEAP32[$181>>2]|0;
+ $183 = ($182|0)==(0|0);
+ if (!($183)) {
+ $$1196$i = $182;$$1198$i = $181;
continue;
}
- $arrayidx75$i = ((($R$1$i)) + 16|0);
- $36 = HEAP32[$arrayidx75$i>>2]|0;
- $cmp76$i = ($36|0)==(0|0);
- if ($cmp76$i) {
+ $184 = ((($$1196$i)) + 16|0);
+ $185 = HEAP32[$184>>2]|0;
+ $186 = ($185|0)==(0|0);
+ if ($186) {
break;
} else {
- $R$1$i = $36;$RP$1$i = $arrayidx75$i;
+ $$1196$i = $185;$$1198$i = $184;
}
}
- $cmp81$i = ($27>>>0)>($RP$1$i>>>0);
- if ($cmp81$i) {
+ $187 = ($157>>>0)>($$1198$i>>>0);
+ if ($187) {
_abort();
// unreachable;
} else {
- HEAP32[$RP$1$i>>2] = 0;
- $R$3$i = $R$1$i;
+ HEAP32[$$1198$i>>2] = 0;
+ $$3$i = $$1196$i;
break;
}
} else {
- $fd$i = ((($v$0$lcssa$i)) + 8|0);
- $30 = HEAP32[$fd$i>>2]|0;
- $cmp45$i = ($27>>>0)>($30>>>0);
- if ($cmp45$i) {
+ $166 = ((($$0192$lcssa$i)) + 8|0);
+ $167 = HEAP32[$166>>2]|0;
+ $168 = ($157>>>0)>($167>>>0);
+ if ($168) {
_abort();
// unreachable;
}
- $bk47$i = ((($30)) + 12|0);
- $31 = HEAP32[$bk47$i>>2]|0;
- $cmp48$i = ($31|0)==($v$0$lcssa$i|0);
- if (!($cmp48$i)) {
+ $169 = ((($167)) + 12|0);
+ $170 = HEAP32[$169>>2]|0;
+ $171 = ($170|0)==($$0192$lcssa$i|0);
+ if (!($171)) {
_abort();
// unreachable;
}
- $fd50$i = ((($29)) + 8|0);
- $32 = HEAP32[$fd50$i>>2]|0;
- $cmp51$i = ($32|0)==($v$0$lcssa$i|0);
- if ($cmp51$i) {
- HEAP32[$bk47$i>>2] = $29;
- HEAP32[$fd50$i>>2] = $30;
- $R$3$i = $29;
+ $172 = ((($164)) + 8|0);
+ $173 = HEAP32[$172>>2]|0;
+ $174 = ($173|0)==($$0192$lcssa$i|0);
+ if ($174) {
+ HEAP32[$169>>2] = $164;
+ HEAP32[$172>>2] = $167;
+ $$3$i = $164;
break;
} else {
_abort();
@@ -97022,40 +97023,40 @@ function _malloc($bytes) {
}
}
} while(0);
- $cmp90$i = ($28|0)==(0|0);
+ $188 = ($162|0)==(0|0);
L73: do {
- if (!($cmp90$i)) {
- $index$i = ((($v$0$lcssa$i)) + 28|0);
- $37 = HEAP32[$index$i>>2]|0;
- $arrayidx94$i = (33832 + ($37<<2)|0);
- $38 = HEAP32[$arrayidx94$i>>2]|0;
- $cmp95$i = ($v$0$lcssa$i|0)==($38|0);
+ if (!($188)) {
+ $189 = ((($$0192$lcssa$i)) + 28|0);
+ $190 = HEAP32[$189>>2]|0;
+ $191 = (33872 + ($190<<2)|0);
+ $192 = HEAP32[$191>>2]|0;
+ $193 = ($$0192$lcssa$i|0)==($192|0);
do {
- if ($cmp95$i) {
- HEAP32[$arrayidx94$i>>2] = $R$3$i;
- $cond$i = ($R$3$i|0)==(0|0);
+ if ($193) {
+ HEAP32[$191>>2] = $$3$i;
+ $cond$i = ($$3$i|0)==(0|0);
if ($cond$i) {
- $shl$i = 1 << $37;
- $neg$i = $shl$i ^ -1;
- $and103$i = $18 & $neg$i;
- HEAP32[(33532)>>2] = $and103$i;
+ $194 = 1 << $190;
+ $195 = $194 ^ -1;
+ $196 = $108 & $195;
+ HEAP32[(33572)>>2] = $196;
break L73;
}
} else {
- $39 = HEAP32[(33544)>>2]|0;
- $cmp107$i = ($39>>>0)>($28>>>0);
- if ($cmp107$i) {
+ $197 = HEAP32[(33584)>>2]|0;
+ $198 = ($197>>>0)>($162>>>0);
+ if ($198) {
_abort();
// unreachable;
} else {
- $arrayidx113$i = ((($28)) + 16|0);
- $40 = HEAP32[$arrayidx113$i>>2]|0;
- $cmp114$i = ($40|0)!=($v$0$lcssa$i|0);
- $$sink2$i = $cmp114$i&1;
- $arrayidx121$i = (((($28)) + 16|0) + ($$sink2$i<<2)|0);
- HEAP32[$arrayidx121$i>>2] = $R$3$i;
- $cmp126$i = ($R$3$i|0)==(0|0);
- if ($cmp126$i) {
+ $199 = ((($162)) + 16|0);
+ $200 = HEAP32[$199>>2]|0;
+ $201 = ($200|0)!=($$0192$lcssa$i|0);
+ $$sink2$i = $201&1;
+ $202 = (((($162)) + 16|0) + ($$sink2$i<<2)|0);
+ HEAP32[$202>>2] = $$3$i;
+ $203 = ($$3$i|0)==(0|0);
+ if ($203) {
break L73;
} else {
break;
@@ -97063,385 +97064,385 @@ function _malloc($bytes) {
}
}
} while(0);
- $41 = HEAP32[(33544)>>2]|0;
- $cmp130$i = ($41>>>0)>($R$3$i>>>0);
- if ($cmp130$i) {
+ $204 = HEAP32[(33584)>>2]|0;
+ $205 = ($204>>>0)>($$3$i>>>0);
+ if ($205) {
_abort();
// unreachable;
}
- $parent135$i = ((($R$3$i)) + 24|0);
- HEAP32[$parent135$i>>2] = $28;
- $arrayidx137$i = ((($v$0$lcssa$i)) + 16|0);
- $42 = HEAP32[$arrayidx137$i>>2]|0;
- $cmp138$i = ($42|0)==(0|0);
+ $206 = ((($$3$i)) + 24|0);
+ HEAP32[$206>>2] = $162;
+ $207 = ((($$0192$lcssa$i)) + 16|0);
+ $208 = HEAP32[$207>>2]|0;
+ $209 = ($208|0)==(0|0);
do {
- if (!($cmp138$i)) {
- $cmp142$i = ($41>>>0)>($42>>>0);
- if ($cmp142$i) {
+ if (!($209)) {
+ $210 = ($204>>>0)>($208>>>0);
+ if ($210) {
_abort();
// unreachable;
} else {
- $arrayidx148$i = ((($R$3$i)) + 16|0);
- HEAP32[$arrayidx148$i>>2] = $42;
- $parent149$i = ((($42)) + 24|0);
- HEAP32[$parent149$i>>2] = $R$3$i;
+ $211 = ((($$3$i)) + 16|0);
+ HEAP32[$211>>2] = $208;
+ $212 = ((($208)) + 24|0);
+ HEAP32[$212>>2] = $$3$i;
break;
}
}
} while(0);
- $arrayidx154$i = ((($v$0$lcssa$i)) + 20|0);
- $43 = HEAP32[$arrayidx154$i>>2]|0;
- $cmp155$i = ($43|0)==(0|0);
- if (!($cmp155$i)) {
- $44 = HEAP32[(33544)>>2]|0;
- $cmp159$i = ($44>>>0)>($43>>>0);
- if ($cmp159$i) {
+ $213 = ((($$0192$lcssa$i)) + 20|0);
+ $214 = HEAP32[$213>>2]|0;
+ $215 = ($214|0)==(0|0);
+ if (!($215)) {
+ $216 = HEAP32[(33584)>>2]|0;
+ $217 = ($216>>>0)>($214>>>0);
+ if ($217) {
_abort();
// unreachable;
} else {
- $arrayidx165$i = ((($R$3$i)) + 20|0);
- HEAP32[$arrayidx165$i>>2] = $43;
- $parent166$i = ((($43)) + 24|0);
- HEAP32[$parent166$i>>2] = $R$3$i;
+ $218 = ((($$3$i)) + 20|0);
+ HEAP32[$218>>2] = $214;
+ $219 = ((($214)) + 24|0);
+ HEAP32[$219>>2] = $$3$i;
break;
}
}
}
} while(0);
- $cmp174$i = ($rsize$0$lcssa$i>>>0)<(16);
- if ($cmp174$i) {
- $add177$i = (($rsize$0$lcssa$i) + ($cond))|0;
- $or178$i = $add177$i | 3;
- $head179$i = ((($v$0$lcssa$i)) + 4|0);
- HEAP32[$head179$i>>2] = $or178$i;
- $add$ptr181$i = (($v$0$lcssa$i) + ($add177$i)|0);
- $head182$i = ((($add$ptr181$i)) + 4|0);
- $45 = HEAP32[$head182$i>>2]|0;
- $or183$i = $45 | 1;
- HEAP32[$head182$i>>2] = $or183$i;
+ $220 = ($$0193$lcssa$i>>>0)<(16);
+ if ($220) {
+ $221 = (($$0193$lcssa$i) + ($6))|0;
+ $222 = $221 | 3;
+ $223 = ((($$0192$lcssa$i)) + 4|0);
+ HEAP32[$223>>2] = $222;
+ $224 = (($$0192$lcssa$i) + ($221)|0);
+ $225 = ((($224)) + 4|0);
+ $226 = HEAP32[$225>>2]|0;
+ $227 = $226 | 1;
+ HEAP32[$225>>2] = $227;
} else {
- $or186$i = $cond | 3;
- $head187$i = ((($v$0$lcssa$i)) + 4|0);
- HEAP32[$head187$i>>2] = $or186$i;
- $or188$i = $rsize$0$lcssa$i | 1;
- $head189$i = ((($add$ptr$i)) + 4|0);
- HEAP32[$head189$i>>2] = $or188$i;
- $add$ptr190$i = (($add$ptr$i) + ($rsize$0$lcssa$i)|0);
- HEAP32[$add$ptr190$i>>2] = $rsize$0$lcssa$i;
- $cmp191$i = ($7|0)==(0);
- if (!($cmp191$i)) {
- $46 = HEAP32[(33548)>>2]|0;
- $shr194$i = $7 >>> 3;
- $shl195$i = $shr194$i << 1;
- $arrayidx196$i = (33568 + ($shl195$i<<2)|0);
- $shl198$i = 1 << $shr194$i;
- $and199$i = $0 & $shl198$i;
- $tobool200$i = ($and199$i|0)==(0);
- if ($tobool200$i) {
- $or204$i = $0 | $shl198$i;
- HEAP32[8382] = $or204$i;
- $$pre$i = ((($arrayidx196$i)) + 8|0);
- $$pre$phi$iZ2D = $$pre$i;$F197$0$i = $arrayidx196$i;
+ $228 = $6 | 3;
+ $229 = ((($$0192$lcssa$i)) + 4|0);
+ HEAP32[$229>>2] = $228;
+ $230 = $$0193$lcssa$i | 1;
+ $231 = ((($159)) + 4|0);
+ HEAP32[$231>>2] = $230;
+ $232 = (($159) + ($$0193$lcssa$i)|0);
+ HEAP32[$232>>2] = $$0193$lcssa$i;
+ $233 = ($37|0)==(0);
+ if (!($233)) {
+ $234 = HEAP32[(33588)>>2]|0;
+ $235 = $37 >>> 3;
+ $236 = $235 << 1;
+ $237 = (33608 + ($236<<2)|0);
+ $238 = 1 << $235;
+ $239 = $8 & $238;
+ $240 = ($239|0)==(0);
+ if ($240) {
+ $241 = $8 | $238;
+ HEAP32[8392] = $241;
+ $$pre$i = ((($237)) + 8|0);
+ $$0189$i = $237;$$pre$phi$iZ2D = $$pre$i;
} else {
- $47 = ((($arrayidx196$i)) + 8|0);
- $48 = HEAP32[$47>>2]|0;
- $49 = HEAP32[(33544)>>2]|0;
- $cmp208$i = ($49>>>0)>($48>>>0);
- if ($cmp208$i) {
+ $242 = ((($237)) + 8|0);
+ $243 = HEAP32[$242>>2]|0;
+ $244 = HEAP32[(33584)>>2]|0;
+ $245 = ($244>>>0)>($243>>>0);
+ if ($245) {
_abort();
// unreachable;
} else {
- $$pre$phi$iZ2D = $47;$F197$0$i = $48;
+ $$0189$i = $243;$$pre$phi$iZ2D = $242;
}
}
- HEAP32[$$pre$phi$iZ2D>>2] = $46;
- $bk218$i = ((($F197$0$i)) + 12|0);
- HEAP32[$bk218$i>>2] = $46;
- $fd219$i = ((($46)) + 8|0);
- HEAP32[$fd219$i>>2] = $F197$0$i;
- $bk220$i = ((($46)) + 12|0);
- HEAP32[$bk220$i>>2] = $arrayidx196$i;
+ HEAP32[$$pre$phi$iZ2D>>2] = $234;
+ $246 = ((($$0189$i)) + 12|0);
+ HEAP32[$246>>2] = $234;
+ $247 = ((($234)) + 8|0);
+ HEAP32[$247>>2] = $$0189$i;
+ $248 = ((($234)) + 12|0);
+ HEAP32[$248>>2] = $237;
}
- HEAP32[(33536)>>2] = $rsize$0$lcssa$i;
- HEAP32[(33548)>>2] = $add$ptr$i;
+ HEAP32[(33576)>>2] = $$0193$lcssa$i;
+ HEAP32[(33588)>>2] = $159;
}
- $add$ptr225$i = ((($v$0$lcssa$i)) + 8|0);
- $retval$0 = $add$ptr225$i;
- STACKTOP = sp;return ($retval$0|0);
+ $249 = ((($$0192$lcssa$i)) + 8|0);
+ $$0 = $249;
+ STACKTOP = sp;return ($$0|0);
}
} else {
- $nb$0 = $cond;
+ $$0197 = $6;
}
} else {
- $cmp139 = ($bytes>>>0)>(4294967231);
- if ($cmp139) {
- $nb$0 = -1;
+ $250 = ($0>>>0)>(4294967231);
+ if ($250) {
+ $$0197 = -1;
} else {
- $add144 = (($bytes) + 11)|0;
- $and145 = $add144 & -8;
- $50 = HEAP32[(33532)>>2]|0;
- $cmp146 = ($50|0)==(0);
- if ($cmp146) {
- $nb$0 = $and145;
+ $251 = (($0) + 11)|0;
+ $252 = $251 & -8;
+ $253 = HEAP32[(33572)>>2]|0;
+ $254 = ($253|0)==(0);
+ if ($254) {
+ $$0197 = $252;
} else {
- $sub$i140 = (0 - ($and145))|0;
- $shr$i141 = $add144 >>> 8;
- $cmp$i142 = ($shr$i141|0)==(0);
- if ($cmp$i142) {
- $idx$0$i = 0;
+ $255 = (0 - ($252))|0;
+ $256 = $251 >>> 8;
+ $257 = ($256|0)==(0);
+ if ($257) {
+ $$0358$i = 0;
} else {
- $cmp1$i = ($and145>>>0)>(16777215);
- if ($cmp1$i) {
- $idx$0$i = 31;
+ $258 = ($252>>>0)>(16777215);
+ if ($258) {
+ $$0358$i = 31;
} else {
- $sub4$i = (($shr$i141) + 1048320)|0;
- $shr5$i144 = $sub4$i >>> 16;
- $and$i145 = $shr5$i144 & 8;
- $shl$i146 = $shr$i141 << $and$i145;
- $sub6$i = (($shl$i146) + 520192)|0;
- $shr7$i147 = $sub6$i >>> 16;
- $and8$i = $shr7$i147 & 4;
- $add$i148 = $and8$i | $and$i145;
- $shl9$i = $shl$i146 << $and8$i;
- $sub10$i = (($shl9$i) + 245760)|0;
- $shr11$i149 = $sub10$i >>> 16;
- $and12$i = $shr11$i149 & 2;
- $add13$i = $add$i148 | $and12$i;
- $sub14$i = (14 - ($add13$i))|0;
- $shl15$i = $shl9$i << $and12$i;
- $shr16$i150 = $shl15$i >>> 15;
- $add17$i = (($sub14$i) + ($shr16$i150))|0;
- $shl18$i = $add17$i << 1;
- $add19$i = (($add17$i) + 7)|0;
- $shr20$i = $and145 >>> $add19$i;
- $and21$i151 = $shr20$i & 1;
- $add22$i = $and21$i151 | $shl18$i;
- $idx$0$i = $add22$i;
+ $259 = (($256) + 1048320)|0;
+ $260 = $259 >>> 16;
+ $261 = $260 & 8;
+ $262 = $256 << $261;
+ $263 = (($262) + 520192)|0;
+ $264 = $263 >>> 16;
+ $265 = $264 & 4;
+ $266 = $265 | $261;
+ $267 = $262 << $265;
+ $268 = (($267) + 245760)|0;
+ $269 = $268 >>> 16;
+ $270 = $269 & 2;
+ $271 = $266 | $270;
+ $272 = (14 - ($271))|0;
+ $273 = $267 << $270;
+ $274 = $273 >>> 15;
+ $275 = (($272) + ($274))|0;
+ $276 = $275 << 1;
+ $277 = (($275) + 7)|0;
+ $278 = $252 >>> $277;
+ $279 = $278 & 1;
+ $280 = $279 | $276;
+ $$0358$i = $280;
}
}
- $arrayidx$i152 = (33832 + ($idx$0$i<<2)|0);
- $51 = HEAP32[$arrayidx$i152>>2]|0;
- $cmp24$i = ($51|0)==(0|0);
+ $281 = (33872 + ($$0358$i<<2)|0);
+ $282 = HEAP32[$281>>2]|0;
+ $283 = ($282|0)==(0|0);
L117: do {
- if ($cmp24$i) {
- $rsize$3$i = $sub$i140;$t$2$i = 0;$v$3$i = 0;
+ if ($283) {
+ $$2355$i = 0;$$3$i203 = 0;$$3350$i = $255;
label = 81;
} else {
- $cmp26$i = ($idx$0$i|0)==(31);
- $shr27$i = $idx$0$i >>> 1;
- $sub30$i = (25 - ($shr27$i))|0;
- $cond$i153 = $cmp26$i ? 0 : $sub30$i;
- $shl31$i = $and145 << $cond$i153;
- $rsize$0$i = $sub$i140;$rst$0$i = 0;$sizebits$0$i = $shl31$i;$t$0$i = $51;$v$0$i = 0;
+ $284 = ($$0358$i|0)==(31);
+ $285 = $$0358$i >>> 1;
+ $286 = (25 - ($285))|0;
+ $287 = $284 ? 0 : $286;
+ $288 = $252 << $287;
+ $$0342$i = 0;$$0347$i = $255;$$0353$i = $282;$$0359$i = $288;$$0362$i = 0;
while(1) {
- $head$i154 = ((($t$0$i)) + 4|0);
- $52 = HEAP32[$head$i154>>2]|0;
- $and32$i = $52 & -8;
- $sub33$i = (($and32$i) - ($and145))|0;
- $cmp34$i = ($sub33$i>>>0)<($rsize$0$i>>>0);
- if ($cmp34$i) {
- $cmp36$i = ($sub33$i|0)==(0);
- if ($cmp36$i) {
- $rsize$410$i = 0;$t$49$i = $t$0$i;$v$411$i = $t$0$i;
+ $289 = ((($$0353$i)) + 4|0);
+ $290 = HEAP32[$289>>2]|0;
+ $291 = $290 & -8;
+ $292 = (($291) - ($252))|0;
+ $293 = ($292>>>0)<($$0347$i>>>0);
+ if ($293) {
+ $294 = ($292|0)==(0);
+ if ($294) {
+ $$414$i = $$0353$i;$$435113$i = 0;$$435712$i = $$0353$i;
label = 85;
break L117;
} else {
- $rsize$1$i = $sub33$i;$v$1$i = $t$0$i;
+ $$1343$i = $$0353$i;$$1348$i = $292;
}
} else {
- $rsize$1$i = $rsize$0$i;$v$1$i = $v$0$i;
+ $$1343$i = $$0342$i;$$1348$i = $$0347$i;
}
- $arrayidx40$i = ((($t$0$i)) + 20|0);
- $53 = HEAP32[$arrayidx40$i>>2]|0;
- $shr42$i = $sizebits$0$i >>> 31;
- $arrayidx44$i = (((($t$0$i)) + 16|0) + ($shr42$i<<2)|0);
- $54 = HEAP32[$arrayidx44$i>>2]|0;
- $cmp45$i155 = ($53|0)==(0|0);
- $cmp46$i = ($53|0)==($54|0);
- $or$cond2$i = $cmp45$i155 | $cmp46$i;
- $rst$1$i = $or$cond2$i ? $rst$0$i : $53;
- $cmp49$i = ($54|0)==(0|0);
- $not$cmp495$i = $cmp49$i ^ 1;
- $shl52$i = $not$cmp495$i&1;
- $sizebits$0$shl52$i = $sizebits$0$i << $shl52$i;
- if ($cmp49$i) {
- $rsize$3$i = $rsize$1$i;$t$2$i = $rst$1$i;$v$3$i = $v$1$i;
+ $295 = ((($$0353$i)) + 20|0);
+ $296 = HEAP32[$295>>2]|0;
+ $297 = $$0359$i >>> 31;
+ $298 = (((($$0353$i)) + 16|0) + ($297<<2)|0);
+ $299 = HEAP32[$298>>2]|0;
+ $300 = ($296|0)==(0|0);
+ $301 = ($296|0)==($299|0);
+ $or$cond2$i = $300 | $301;
+ $$1363$i = $or$cond2$i ? $$0362$i : $296;
+ $302 = ($299|0)==(0|0);
+ $not$7$i = $302 ^ 1;
+ $303 = $not$7$i&1;
+ $$0359$$i = $$0359$i << $303;
+ if ($302) {
+ $$2355$i = $$1363$i;$$3$i203 = $$1343$i;$$3350$i = $$1348$i;
label = 81;
break;
} else {
- $rsize$0$i = $rsize$1$i;$rst$0$i = $rst$1$i;$sizebits$0$i = $sizebits$0$shl52$i;$t$0$i = $54;$v$0$i = $v$1$i;
+ $$0342$i = $$1343$i;$$0347$i = $$1348$i;$$0353$i = $299;$$0359$i = $$0359$$i;$$0362$i = $$1363$i;
}
}
}
} while(0);
if ((label|0) == 81) {
- $cmp55$i = ($t$2$i|0)==(0|0);
- $cmp57$i = ($v$3$i|0)==(0|0);
- $or$cond$i = $cmp55$i & $cmp57$i;
+ $304 = ($$2355$i|0)==(0|0);
+ $305 = ($$3$i203|0)==(0|0);
+ $or$cond$i = $304 & $305;
if ($or$cond$i) {
- $shl60$i = 2 << $idx$0$i;
- $sub63$i = (0 - ($shl60$i))|0;
- $or$i = $shl60$i | $sub63$i;
- $and64$i = $50 & $or$i;
- $cmp65$i = ($and64$i|0)==(0);
- if ($cmp65$i) {
- $nb$0 = $and145;
+ $306 = 2 << $$0358$i;
+ $307 = (0 - ($306))|0;
+ $308 = $306 | $307;
+ $309 = $253 & $308;
+ $310 = ($309|0)==(0);
+ if ($310) {
+ $$0197 = $252;
break;
}
- $sub67$i = (0 - ($and64$i))|0;
- $and68$i = $and64$i & $sub67$i;
- $sub70$i = (($and68$i) + -1)|0;
- $shr72$i = $sub70$i >>> 12;
- $and73$i = $shr72$i & 16;
- $shr75$i = $sub70$i >>> $and73$i;
- $shr76$i = $shr75$i >>> 5;
- $and77$i = $shr76$i & 8;
- $add78$i = $and77$i | $and73$i;
- $shr79$i = $shr75$i >>> $and77$i;
- $shr80$i = $shr79$i >>> 2;
- $and81$i = $shr80$i & 4;
- $add82$i = $add78$i | $and81$i;
- $shr83$i = $shr79$i >>> $and81$i;
- $shr84$i = $shr83$i >>> 1;
- $and85$i = $shr84$i & 2;
- $add86$i = $add82$i | $and85$i;
- $shr87$i = $shr83$i >>> $and85$i;
- $shr88$i = $shr87$i >>> 1;
- $and89$i = $shr88$i & 1;
- $add90$i = $add86$i | $and89$i;
- $shr91$i = $shr87$i >>> $and89$i;
- $add92$i = (($add90$i) + ($shr91$i))|0;
- $arrayidx94$i156 = (33832 + ($add92$i<<2)|0);
- $55 = HEAP32[$arrayidx94$i156>>2]|0;
- $t$4$ph$i = $55;$v$4$ph$i = 0;
+ $311 = (0 - ($309))|0;
+ $312 = $309 & $311;
+ $313 = (($312) + -1)|0;
+ $314 = $313 >>> 12;
+ $315 = $314 & 16;
+ $316 = $313 >>> $315;
+ $317 = $316 >>> 5;
+ $318 = $317 & 8;
+ $319 = $318 | $315;
+ $320 = $316 >>> $318;
+ $321 = $320 >>> 2;
+ $322 = $321 & 4;
+ $323 = $319 | $322;
+ $324 = $320 >>> $322;
+ $325 = $324 >>> 1;
+ $326 = $325 & 2;
+ $327 = $323 | $326;
+ $328 = $324 >>> $326;
+ $329 = $328 >>> 1;
+ $330 = $329 & 1;
+ $331 = $327 | $330;
+ $332 = $328 >>> $330;
+ $333 = (($331) + ($332))|0;
+ $334 = (33872 + ($333<<2)|0);
+ $335 = HEAP32[$334>>2]|0;
+ $$4$ph$i = 0;$$4357$ph$i = $335;
} else {
- $t$4$ph$i = $t$2$i;$v$4$ph$i = $v$3$i;
+ $$4$ph$i = $$3$i203;$$4357$ph$i = $$2355$i;
}
- $cmp978$i = ($t$4$ph$i|0)==(0|0);
- if ($cmp978$i) {
- $rsize$4$lcssa$i = $rsize$3$i;$v$4$lcssa$i = $v$4$ph$i;
+ $336 = ($$4357$ph$i|0)==(0|0);
+ if ($336) {
+ $$4$lcssa$i = $$4$ph$i;$$4351$lcssa$i = $$3350$i;
} else {
- $rsize$410$i = $rsize$3$i;$t$49$i = $t$4$ph$i;$v$411$i = $v$4$ph$i;
+ $$414$i = $$4$ph$i;$$435113$i = $$3350$i;$$435712$i = $$4357$ph$i;
label = 85;
}
}
if ((label|0) == 85) {
while(1) {
label = 0;
- $head99$i = ((($t$49$i)) + 4|0);
- $56 = HEAP32[$head99$i>>2]|0;
- $and100$i = $56 & -8;
- $sub101$i = (($and100$i) - ($and145))|0;
- $cmp102$i = ($sub101$i>>>0)<($rsize$410$i>>>0);
- $sub101$rsize$4$i = $cmp102$i ? $sub101$i : $rsize$410$i;
- $t$4$v$4$i = $cmp102$i ? $t$49$i : $v$411$i;
- $arrayidx106$i = ((($t$49$i)) + 16|0);
- $57 = HEAP32[$arrayidx106$i>>2]|0;
- $cmp107$i157 = ($57|0)==(0|0);
- $$sink$i158 = $cmp107$i157&1;
- $arrayidx113$i159 = (((($t$49$i)) + 16|0) + ($$sink$i158<<2)|0);
- $58 = HEAP32[$arrayidx113$i159>>2]|0;
- $cmp97$i = ($58|0)==(0|0);
- if ($cmp97$i) {
- $rsize$4$lcssa$i = $sub101$rsize$4$i;$v$4$lcssa$i = $t$4$v$4$i;
+ $337 = ((($$435712$i)) + 4|0);
+ $338 = HEAP32[$337>>2]|0;
+ $339 = $338 & -8;
+ $340 = (($339) - ($252))|0;
+ $341 = ($340>>>0)<($$435113$i>>>0);
+ $$$4351$i = $341 ? $340 : $$435113$i;
+ $$4357$$4$i = $341 ? $$435712$i : $$414$i;
+ $342 = ((($$435712$i)) + 16|0);
+ $343 = HEAP32[$342>>2]|0;
+ $344 = ($343|0)==(0|0);
+ $$sink2$i205 = $344&1;
+ $345 = (((($$435712$i)) + 16|0) + ($$sink2$i205<<2)|0);
+ $346 = HEAP32[$345>>2]|0;
+ $347 = ($346|0)==(0|0);
+ if ($347) {
+ $$4$lcssa$i = $$4357$$4$i;$$4351$lcssa$i = $$$4351$i;
break;
} else {
- $rsize$410$i = $sub101$rsize$4$i;$t$49$i = $58;$v$411$i = $t$4$v$4$i;
+ $$414$i = $$4357$$4$i;$$435113$i = $$$4351$i;$$435712$i = $346;
label = 85;
}
}
}
- $cmp116$i = ($v$4$lcssa$i|0)==(0|0);
- if ($cmp116$i) {
- $nb$0 = $and145;
+ $348 = ($$4$lcssa$i|0)==(0|0);
+ if ($348) {
+ $$0197 = $252;
} else {
- $59 = HEAP32[(33536)>>2]|0;
- $sub118$i = (($59) - ($and145))|0;
- $cmp119$i = ($rsize$4$lcssa$i>>>0)<($sub118$i>>>0);
- if ($cmp119$i) {
- $60 = HEAP32[(33544)>>2]|0;
- $cmp121$i = ($60>>>0)>($v$4$lcssa$i>>>0);
- if ($cmp121$i) {
+ $349 = HEAP32[(33576)>>2]|0;
+ $350 = (($349) - ($252))|0;
+ $351 = ($$4351$lcssa$i>>>0)<($350>>>0);
+ if ($351) {
+ $352 = HEAP32[(33584)>>2]|0;
+ $353 = ($352>>>0)>($$4$lcssa$i>>>0);
+ if ($353) {
_abort();
// unreachable;
}
- $add$ptr$i162 = (($v$4$lcssa$i) + ($and145)|0);
- $cmp123$i = ($add$ptr$i162>>>0)>($v$4$lcssa$i>>>0);
- if (!($cmp123$i)) {
+ $354 = (($$4$lcssa$i) + ($252)|0);
+ $355 = ($354>>>0)>($$4$lcssa$i>>>0);
+ if (!($355)) {
_abort();
// unreachable;
}
- $parent$i163 = ((($v$4$lcssa$i)) + 24|0);
- $61 = HEAP32[$parent$i163>>2]|0;
- $bk$i164 = ((($v$4$lcssa$i)) + 12|0);
- $62 = HEAP32[$bk$i164>>2]|0;
- $cmp128$i = ($62|0)==($v$4$lcssa$i|0);
+ $356 = ((($$4$lcssa$i)) + 24|0);
+ $357 = HEAP32[$356>>2]|0;
+ $358 = ((($$4$lcssa$i)) + 12|0);
+ $359 = HEAP32[$358>>2]|0;
+ $360 = ($359|0)==($$4$lcssa$i|0);
do {
- if ($cmp128$i) {
- $arrayidx151$i = ((($v$4$lcssa$i)) + 20|0);
- $66 = HEAP32[$arrayidx151$i>>2]|0;
- $cmp152$i = ($66|0)==(0|0);
- if ($cmp152$i) {
- $arrayidx155$i = ((($v$4$lcssa$i)) + 16|0);
- $67 = HEAP32[$arrayidx155$i>>2]|0;
- $cmp156$i = ($67|0)==(0|0);
- if ($cmp156$i) {
- $R$3$i172 = 0;
+ if ($360) {
+ $370 = ((($$4$lcssa$i)) + 20|0);
+ $371 = HEAP32[$370>>2]|0;
+ $372 = ($371|0)==(0|0);
+ if ($372) {
+ $373 = ((($$4$lcssa$i)) + 16|0);
+ $374 = HEAP32[$373>>2]|0;
+ $375 = ($374|0)==(0|0);
+ if ($375) {
+ $$3372$i = 0;
break;
} else {
- $R$1$i169 = $67;$RP$1$i168 = $arrayidx155$i;
+ $$1370$i = $374;$$1374$i = $373;
}
} else {
- $R$1$i169 = $66;$RP$1$i168 = $arrayidx151$i;
+ $$1370$i = $371;$$1374$i = $370;
}
while(1) {
- $arrayidx161$i = ((($R$1$i169)) + 20|0);
- $68 = HEAP32[$arrayidx161$i>>2]|0;
- $cmp162$i = ($68|0)==(0|0);
- if (!($cmp162$i)) {
- $R$1$i169 = $68;$RP$1$i168 = $arrayidx161$i;
+ $376 = ((($$1370$i)) + 20|0);
+ $377 = HEAP32[$376>>2]|0;
+ $378 = ($377|0)==(0|0);
+ if (!($378)) {
+ $$1370$i = $377;$$1374$i = $376;
continue;
}
- $arrayidx165$i170 = ((($R$1$i169)) + 16|0);
- $69 = HEAP32[$arrayidx165$i170>>2]|0;
- $cmp166$i = ($69|0)==(0|0);
- if ($cmp166$i) {
+ $379 = ((($$1370$i)) + 16|0);
+ $380 = HEAP32[$379>>2]|0;
+ $381 = ($380|0)==(0|0);
+ if ($381) {
break;
} else {
- $R$1$i169 = $69;$RP$1$i168 = $arrayidx165$i170;
+ $$1370$i = $380;$$1374$i = $379;
}
}
- $cmp171$i = ($60>>>0)>($RP$1$i168>>>0);
- if ($cmp171$i) {
+ $382 = ($352>>>0)>($$1374$i>>>0);
+ if ($382) {
_abort();
// unreachable;
} else {
- HEAP32[$RP$1$i168>>2] = 0;
- $R$3$i172 = $R$1$i169;
+ HEAP32[$$1374$i>>2] = 0;
+ $$3372$i = $$1370$i;
break;
}
} else {
- $fd$i165 = ((($v$4$lcssa$i)) + 8|0);
- $63 = HEAP32[$fd$i165>>2]|0;
- $cmp133$i = ($60>>>0)>($63>>>0);
- if ($cmp133$i) {
+ $361 = ((($$4$lcssa$i)) + 8|0);
+ $362 = HEAP32[$361>>2]|0;
+ $363 = ($352>>>0)>($362>>>0);
+ if ($363) {
_abort();
// unreachable;
}
- $bk136$i = ((($63)) + 12|0);
- $64 = HEAP32[$bk136$i>>2]|0;
- $cmp137$i = ($64|0)==($v$4$lcssa$i|0);
- if (!($cmp137$i)) {
+ $364 = ((($362)) + 12|0);
+ $365 = HEAP32[$364>>2]|0;
+ $366 = ($365|0)==($$4$lcssa$i|0);
+ if (!($366)) {
_abort();
// unreachable;
}
- $fd139$i = ((($62)) + 8|0);
- $65 = HEAP32[$fd139$i>>2]|0;
- $cmp140$i = ($65|0)==($v$4$lcssa$i|0);
- if ($cmp140$i) {
- HEAP32[$bk136$i>>2] = $62;
- HEAP32[$fd139$i>>2] = $63;
- $R$3$i172 = $62;
+ $367 = ((($359)) + 8|0);
+ $368 = HEAP32[$367>>2]|0;
+ $369 = ($368|0)==($$4$lcssa$i|0);
+ if ($369) {
+ HEAP32[$364>>2] = $359;
+ HEAP32[$367>>2] = $362;
+ $$3372$i = $359;
break;
} else {
_abort();
@@ -97449,44 +97450,44 @@ function _malloc($bytes) {
}
}
} while(0);
- $cmp180$i = ($61|0)==(0|0);
+ $383 = ($357|0)==(0|0);
L164: do {
- if ($cmp180$i) {
- $83 = $50;
+ if ($383) {
+ $475 = $253;
} else {
- $index$i173 = ((($v$4$lcssa$i)) + 28|0);
- $70 = HEAP32[$index$i173>>2]|0;
- $arrayidx184$i = (33832 + ($70<<2)|0);
- $71 = HEAP32[$arrayidx184$i>>2]|0;
- $cmp185$i = ($v$4$lcssa$i|0)==($71|0);
+ $384 = ((($$4$lcssa$i)) + 28|0);
+ $385 = HEAP32[$384>>2]|0;
+ $386 = (33872 + ($385<<2)|0);
+ $387 = HEAP32[$386>>2]|0;
+ $388 = ($$4$lcssa$i|0)==($387|0);
do {
- if ($cmp185$i) {
- HEAP32[$arrayidx184$i>>2] = $R$3$i172;
- $cond4$i = ($R$3$i172|0)==(0|0);
- if ($cond4$i) {
- $shl192$i = 1 << $70;
- $neg$i174 = $shl192$i ^ -1;
- $and194$i = $50 & $neg$i174;
- HEAP32[(33532)>>2] = $and194$i;
- $83 = $and194$i;
+ if ($388) {
+ HEAP32[$386>>2] = $$3372$i;
+ $cond$i209 = ($$3372$i|0)==(0|0);
+ if ($cond$i209) {
+ $389 = 1 << $385;
+ $390 = $389 ^ -1;
+ $391 = $253 & $390;
+ HEAP32[(33572)>>2] = $391;
+ $475 = $391;
break L164;
}
} else {
- $72 = HEAP32[(33544)>>2]|0;
- $cmp198$i = ($72>>>0)>($61>>>0);
- if ($cmp198$i) {
+ $392 = HEAP32[(33584)>>2]|0;
+ $393 = ($392>>>0)>($357>>>0);
+ if ($393) {
_abort();
// unreachable;
} else {
- $arrayidx204$i = ((($61)) + 16|0);
- $73 = HEAP32[$arrayidx204$i>>2]|0;
- $cmp205$i = ($73|0)!=($v$4$lcssa$i|0);
- $$sink2$i176 = $cmp205$i&1;
- $arrayidx212$i = (((($61)) + 16|0) + ($$sink2$i176<<2)|0);
- HEAP32[$arrayidx212$i>>2] = $R$3$i172;
- $cmp217$i = ($R$3$i172|0)==(0|0);
- if ($cmp217$i) {
- $83 = $50;
+ $394 = ((($357)) + 16|0);
+ $395 = HEAP32[$394>>2]|0;
+ $396 = ($395|0)!=($$4$lcssa$i|0);
+ $$sink3$i = $396&1;
+ $397 = (((($357)) + 16|0) + ($$sink3$i<<2)|0);
+ HEAP32[$397>>2] = $$3372$i;
+ $398 = ($$3372$i|0)==(0|0);
+ if ($398) {
+ $475 = $253;
break L164;
} else {
break;
@@ -97494,228 +97495,228 @@ function _malloc($bytes) {
}
}
} while(0);
- $74 = HEAP32[(33544)>>2]|0;
- $cmp221$i = ($74>>>0)>($R$3$i172>>>0);
- if ($cmp221$i) {
+ $399 = HEAP32[(33584)>>2]|0;
+ $400 = ($399>>>0)>($$3372$i>>>0);
+ if ($400) {
_abort();
// unreachable;
}
- $parent226$i = ((($R$3$i172)) + 24|0);
- HEAP32[$parent226$i>>2] = $61;
- $arrayidx228$i = ((($v$4$lcssa$i)) + 16|0);
- $75 = HEAP32[$arrayidx228$i>>2]|0;
- $cmp229$i = ($75|0)==(0|0);
+ $401 = ((($$3372$i)) + 24|0);
+ HEAP32[$401>>2] = $357;
+ $402 = ((($$4$lcssa$i)) + 16|0);
+ $403 = HEAP32[$402>>2]|0;
+ $404 = ($403|0)==(0|0);
do {
- if (!($cmp229$i)) {
- $cmp233$i = ($74>>>0)>($75>>>0);
- if ($cmp233$i) {
+ if (!($404)) {
+ $405 = ($399>>>0)>($403>>>0);
+ if ($405) {
_abort();
// unreachable;
} else {
- $arrayidx239$i = ((($R$3$i172)) + 16|0);
- HEAP32[$arrayidx239$i>>2] = $75;
- $parent240$i = ((($75)) + 24|0);
- HEAP32[$parent240$i>>2] = $R$3$i172;
+ $406 = ((($$3372$i)) + 16|0);
+ HEAP32[$406>>2] = $403;
+ $407 = ((($403)) + 24|0);
+ HEAP32[$407>>2] = $$3372$i;
break;
}
}
} while(0);
- $arrayidx245$i = ((($v$4$lcssa$i)) + 20|0);
- $76 = HEAP32[$arrayidx245$i>>2]|0;
- $cmp246$i = ($76|0)==(0|0);
- if ($cmp246$i) {
- $83 = $50;
+ $408 = ((($$4$lcssa$i)) + 20|0);
+ $409 = HEAP32[$408>>2]|0;
+ $410 = ($409|0)==(0|0);
+ if ($410) {
+ $475 = $253;
} else {
- $77 = HEAP32[(33544)>>2]|0;
- $cmp250$i = ($77>>>0)>($76>>>0);
- if ($cmp250$i) {
+ $411 = HEAP32[(33584)>>2]|0;
+ $412 = ($411>>>0)>($409>>>0);
+ if ($412) {
_abort();
// unreachable;
} else {
- $arrayidx256$i = ((($R$3$i172)) + 20|0);
- HEAP32[$arrayidx256$i>>2] = $76;
- $parent257$i = ((($76)) + 24|0);
- HEAP32[$parent257$i>>2] = $R$3$i172;
- $83 = $50;
+ $413 = ((($$3372$i)) + 20|0);
+ HEAP32[$413>>2] = $409;
+ $414 = ((($409)) + 24|0);
+ HEAP32[$414>>2] = $$3372$i;
+ $475 = $253;
break;
}
}
}
} while(0);
- $cmp265$i = ($rsize$4$lcssa$i>>>0)<(16);
+ $415 = ($$4351$lcssa$i>>>0)<(16);
do {
- if ($cmp265$i) {
- $add268$i = (($rsize$4$lcssa$i) + ($and145))|0;
- $or270$i = $add268$i | 3;
- $head271$i = ((($v$4$lcssa$i)) + 4|0);
- HEAP32[$head271$i>>2] = $or270$i;
- $add$ptr273$i = (($v$4$lcssa$i) + ($add268$i)|0);
- $head274$i = ((($add$ptr273$i)) + 4|0);
- $78 = HEAP32[$head274$i>>2]|0;
- $or275$i = $78 | 1;
- HEAP32[$head274$i>>2] = $or275$i;
+ if ($415) {
+ $416 = (($$4351$lcssa$i) + ($252))|0;
+ $417 = $416 | 3;
+ $418 = ((($$4$lcssa$i)) + 4|0);
+ HEAP32[$418>>2] = $417;
+ $419 = (($$4$lcssa$i) + ($416)|0);
+ $420 = ((($419)) + 4|0);
+ $421 = HEAP32[$420>>2]|0;
+ $422 = $421 | 1;
+ HEAP32[$420>>2] = $422;
} else {
- $or278$i = $and145 | 3;
- $head279$i = ((($v$4$lcssa$i)) + 4|0);
- HEAP32[$head279$i>>2] = $or278$i;
- $or280$i = $rsize$4$lcssa$i | 1;
- $head281$i = ((($add$ptr$i162)) + 4|0);
- HEAP32[$head281$i>>2] = $or280$i;
- $add$ptr282$i = (($add$ptr$i162) + ($rsize$4$lcssa$i)|0);
- HEAP32[$add$ptr282$i>>2] = $rsize$4$lcssa$i;
- $shr283$i = $rsize$4$lcssa$i >>> 3;
- $cmp284$i = ($rsize$4$lcssa$i>>>0)<(256);
- if ($cmp284$i) {
- $shl288$i = $shr283$i << 1;
- $arrayidx289$i = (33568 + ($shl288$i<<2)|0);
- $79 = HEAP32[8382]|0;
- $shl291$i = 1 << $shr283$i;
- $and292$i = $79 & $shl291$i;
- $tobool293$i = ($and292$i|0)==(0);
- if ($tobool293$i) {
- $or297$i = $79 | $shl291$i;
- HEAP32[8382] = $or297$i;
- $$pre$i179 = ((($arrayidx289$i)) + 8|0);
- $$pre$phi$i180Z2D = $$pre$i179;$F290$0$i = $arrayidx289$i;
+ $423 = $252 | 3;
+ $424 = ((($$4$lcssa$i)) + 4|0);
+ HEAP32[$424>>2] = $423;
+ $425 = $$4351$lcssa$i | 1;
+ $426 = ((($354)) + 4|0);
+ HEAP32[$426>>2] = $425;
+ $427 = (($354) + ($$4351$lcssa$i)|0);
+ HEAP32[$427>>2] = $$4351$lcssa$i;
+ $428 = $$4351$lcssa$i >>> 3;
+ $429 = ($$4351$lcssa$i>>>0)<(256);
+ if ($429) {
+ $430 = $428 << 1;
+ $431 = (33608 + ($430<<2)|0);
+ $432 = HEAP32[8392]|0;
+ $433 = 1 << $428;
+ $434 = $432 & $433;
+ $435 = ($434|0)==(0);
+ if ($435) {
+ $436 = $432 | $433;
+ HEAP32[8392] = $436;
+ $$pre$i210 = ((($431)) + 8|0);
+ $$0368$i = $431;$$pre$phi$i211Z2D = $$pre$i210;
} else {
- $80 = ((($arrayidx289$i)) + 8|0);
- $81 = HEAP32[$80>>2]|0;
- $82 = HEAP32[(33544)>>2]|0;
- $cmp301$i = ($82>>>0)>($81>>>0);
- if ($cmp301$i) {
+ $437 = ((($431)) + 8|0);
+ $438 = HEAP32[$437>>2]|0;
+ $439 = HEAP32[(33584)>>2]|0;
+ $440 = ($439>>>0)>($438>>>0);
+ if ($440) {
_abort();
// unreachable;
} else {
- $$pre$phi$i180Z2D = $80;$F290$0$i = $81;
+ $$0368$i = $438;$$pre$phi$i211Z2D = $437;
}
}
- HEAP32[$$pre$phi$i180Z2D>>2] = $add$ptr$i162;
- $bk311$i = ((($F290$0$i)) + 12|0);
- HEAP32[$bk311$i>>2] = $add$ptr$i162;
- $fd312$i = ((($add$ptr$i162)) + 8|0);
- HEAP32[$fd312$i>>2] = $F290$0$i;
- $bk313$i = ((($add$ptr$i162)) + 12|0);
- HEAP32[$bk313$i>>2] = $arrayidx289$i;
+ HEAP32[$$pre$phi$i211Z2D>>2] = $354;
+ $441 = ((($$0368$i)) + 12|0);
+ HEAP32[$441>>2] = $354;
+ $442 = ((($354)) + 8|0);
+ HEAP32[$442>>2] = $$0368$i;
+ $443 = ((($354)) + 12|0);
+ HEAP32[$443>>2] = $431;
break;
}
- $shr318$i = $rsize$4$lcssa$i >>> 8;
- $cmp319$i = ($shr318$i|0)==(0);
- if ($cmp319$i) {
- $I316$0$i = 0;
+ $444 = $$4351$lcssa$i >>> 8;
+ $445 = ($444|0)==(0);
+ if ($445) {
+ $$0361$i = 0;
} else {
- $cmp323$i = ($rsize$4$lcssa$i>>>0)>(16777215);
- if ($cmp323$i) {
- $I316$0$i = 31;
+ $446 = ($$4351$lcssa$i>>>0)>(16777215);
+ if ($446) {
+ $$0361$i = 31;
} else {
- $sub329$i = (($shr318$i) + 1048320)|0;
- $shr330$i = $sub329$i >>> 16;
- $and331$i = $shr330$i & 8;
- $shl333$i = $shr318$i << $and331$i;
- $sub334$i = (($shl333$i) + 520192)|0;
- $shr335$i = $sub334$i >>> 16;
- $and336$i = $shr335$i & 4;
- $add337$i = $and336$i | $and331$i;
- $shl338$i = $shl333$i << $and336$i;
- $sub339$i = (($shl338$i) + 245760)|0;
- $shr340$i = $sub339$i >>> 16;
- $and341$i = $shr340$i & 2;
- $add342$i = $add337$i | $and341$i;
- $sub343$i = (14 - ($add342$i))|0;
- $shl344$i = $shl338$i << $and341$i;
- $shr345$i = $shl344$i >>> 15;
- $add346$i = (($sub343$i) + ($shr345$i))|0;
- $shl347$i = $add346$i << 1;
- $add348$i = (($add346$i) + 7)|0;
- $shr349$i = $rsize$4$lcssa$i >>> $add348$i;
- $and350$i = $shr349$i & 1;
- $add351$i = $and350$i | $shl347$i;
- $I316$0$i = $add351$i;
+ $447 = (($444) + 1048320)|0;
+ $448 = $447 >>> 16;
+ $449 = $448 & 8;
+ $450 = $444 << $449;
+ $451 = (($450) + 520192)|0;
+ $452 = $451 >>> 16;
+ $453 = $452 & 4;
+ $454 = $453 | $449;
+ $455 = $450 << $453;
+ $456 = (($455) + 245760)|0;
+ $457 = $456 >>> 16;
+ $458 = $457 & 2;
+ $459 = $454 | $458;
+ $460 = (14 - ($459))|0;
+ $461 = $455 << $458;
+ $462 = $461 >>> 15;
+ $463 = (($460) + ($462))|0;
+ $464 = $463 << 1;
+ $465 = (($463) + 7)|0;
+ $466 = $$4351$lcssa$i >>> $465;
+ $467 = $466 & 1;
+ $468 = $467 | $464;
+ $$0361$i = $468;
}
}
- $arrayidx355$i = (33832 + ($I316$0$i<<2)|0);
- $index356$i = ((($add$ptr$i162)) + 28|0);
- HEAP32[$index356$i>>2] = $I316$0$i;
- $child357$i = ((($add$ptr$i162)) + 16|0);
- $arrayidx358$i = ((($child357$i)) + 4|0);
- HEAP32[$arrayidx358$i>>2] = 0;
- HEAP32[$child357$i>>2] = 0;
- $shl362$i = 1 << $I316$0$i;
- $and363$i = $83 & $shl362$i;
- $tobool364$i = ($and363$i|0)==(0);
- if ($tobool364$i) {
- $or368$i = $83 | $shl362$i;
- HEAP32[(33532)>>2] = $or368$i;
- HEAP32[$arrayidx355$i>>2] = $add$ptr$i162;
- $parent369$i = ((($add$ptr$i162)) + 24|0);
- HEAP32[$parent369$i>>2] = $arrayidx355$i;
- $bk370$i = ((($add$ptr$i162)) + 12|0);
- HEAP32[$bk370$i>>2] = $add$ptr$i162;
- $fd371$i = ((($add$ptr$i162)) + 8|0);
- HEAP32[$fd371$i>>2] = $add$ptr$i162;
+ $469 = (33872 + ($$0361$i<<2)|0);
+ $470 = ((($354)) + 28|0);
+ HEAP32[$470>>2] = $$0361$i;
+ $471 = ((($354)) + 16|0);
+ $472 = ((($471)) + 4|0);
+ HEAP32[$472>>2] = 0;
+ HEAP32[$471>>2] = 0;
+ $473 = 1 << $$0361$i;
+ $474 = $475 & $473;
+ $476 = ($474|0)==(0);
+ if ($476) {
+ $477 = $475 | $473;
+ HEAP32[(33572)>>2] = $477;
+ HEAP32[$469>>2] = $354;
+ $478 = ((($354)) + 24|0);
+ HEAP32[$478>>2] = $469;
+ $479 = ((($354)) + 12|0);
+ HEAP32[$479>>2] = $354;
+ $480 = ((($354)) + 8|0);
+ HEAP32[$480>>2] = $354;
break;
}
- $84 = HEAP32[$arrayidx355$i>>2]|0;
- $cmp374$i = ($I316$0$i|0)==(31);
- $shr378$i = $I316$0$i >>> 1;
- $sub381$i = (25 - ($shr378$i))|0;
- $cond383$i = $cmp374$i ? 0 : $sub381$i;
- $shl384$i = $rsize$4$lcssa$i << $cond383$i;
- $K373$0$i = $shl384$i;$T$0$i = $84;
+ $481 = HEAP32[$469>>2]|0;
+ $482 = ($$0361$i|0)==(31);
+ $483 = $$0361$i >>> 1;
+ $484 = (25 - ($483))|0;
+ $485 = $482 ? 0 : $484;
+ $486 = $$4351$lcssa$i << $485;
+ $$0344$i = $486;$$0345$i = $481;
while(1) {
- $head386$i = ((($T$0$i)) + 4|0);
- $85 = HEAP32[$head386$i>>2]|0;
- $and387$i = $85 & -8;
- $cmp388$i = ($and387$i|0)==($rsize$4$lcssa$i|0);
- if ($cmp388$i) {
+ $487 = ((($$0345$i)) + 4|0);
+ $488 = HEAP32[$487>>2]|0;
+ $489 = $488 & -8;
+ $490 = ($489|0)==($$4351$lcssa$i|0);
+ if ($490) {
label = 139;
break;
}
- $shr392$i = $K373$0$i >>> 31;
- $arrayidx394$i = (((($T$0$i)) + 16|0) + ($shr392$i<<2)|0);
- $shl395$i = $K373$0$i << 1;
- $86 = HEAP32[$arrayidx394$i>>2]|0;
- $cmp396$i = ($86|0)==(0|0);
- if ($cmp396$i) {
+ $491 = $$0344$i >>> 31;
+ $492 = (((($$0345$i)) + 16|0) + ($491<<2)|0);
+ $493 = $$0344$i << 1;
+ $494 = HEAP32[$492>>2]|0;
+ $495 = ($494|0)==(0|0);
+ if ($495) {
label = 136;
break;
} else {
- $K373$0$i = $shl395$i;$T$0$i = $86;
+ $$0344$i = $493;$$0345$i = $494;
}
}
if ((label|0) == 136) {
- $87 = HEAP32[(33544)>>2]|0;
- $cmp401$i = ($87>>>0)>($arrayidx394$i>>>0);
- if ($cmp401$i) {
+ $496 = HEAP32[(33584)>>2]|0;
+ $497 = ($496>>>0)>($492>>>0);
+ if ($497) {
_abort();
// unreachable;
} else {
- HEAP32[$arrayidx394$i>>2] = $add$ptr$i162;
- $parent406$i = ((($add$ptr$i162)) + 24|0);
- HEAP32[$parent406$i>>2] = $T$0$i;
- $bk407$i = ((($add$ptr$i162)) + 12|0);
- HEAP32[$bk407$i>>2] = $add$ptr$i162;
- $fd408$i = ((($add$ptr$i162)) + 8|0);
- HEAP32[$fd408$i>>2] = $add$ptr$i162;
+ HEAP32[$492>>2] = $354;
+ $498 = ((($354)) + 24|0);
+ HEAP32[$498>>2] = $$0345$i;
+ $499 = ((($354)) + 12|0);
+ HEAP32[$499>>2] = $354;
+ $500 = ((($354)) + 8|0);
+ HEAP32[$500>>2] = $354;
break;
}
}
else if ((label|0) == 139) {
- $fd416$i = ((($T$0$i)) + 8|0);
- $88 = HEAP32[$fd416$i>>2]|0;
- $89 = HEAP32[(33544)>>2]|0;
- $cmp418$i = ($89>>>0)<=($T$0$i>>>0);
- $cmp422$i = ($89>>>0)<=($88>>>0);
- $90 = $cmp422$i & $cmp418$i;
- if ($90) {
- $bk429$i = ((($88)) + 12|0);
- HEAP32[$bk429$i>>2] = $add$ptr$i162;
- HEAP32[$fd416$i>>2] = $add$ptr$i162;
- $fd431$i = ((($add$ptr$i162)) + 8|0);
- HEAP32[$fd431$i>>2] = $88;
- $bk432$i = ((($add$ptr$i162)) + 12|0);
- HEAP32[$bk432$i>>2] = $T$0$i;
- $parent433$i = ((($add$ptr$i162)) + 24|0);
- HEAP32[$parent433$i>>2] = 0;
+ $501 = ((($$0345$i)) + 8|0);
+ $502 = HEAP32[$501>>2]|0;
+ $503 = HEAP32[(33584)>>2]|0;
+ $504 = ($503>>>0)<=($$0345$i>>>0);
+ $505 = ($503>>>0)<=($502>>>0);
+ $506 = $505 & $504;
+ if ($506) {
+ $507 = ((($502)) + 12|0);
+ HEAP32[$507>>2] = $354;
+ HEAP32[$501>>2] = $354;
+ $508 = ((($354)) + 8|0);
+ HEAP32[$508>>2] = $502;
+ $509 = ((($354)) + 12|0);
+ HEAP32[$509>>2] = $$0345$i;
+ $510 = ((($354)) + 24|0);
+ HEAP32[$510>>2] = 0;
break;
} else {
_abort();
@@ -97724,339 +97725,329 @@ function _malloc($bytes) {
}
}
} while(0);
- $add$ptr441$i = ((($v$4$lcssa$i)) + 8|0);
- $retval$0 = $add$ptr441$i;
- STACKTOP = sp;return ($retval$0|0);
+ $511 = ((($$4$lcssa$i)) + 8|0);
+ $$0 = $511;
+ STACKTOP = sp;return ($$0|0);
} else {
- $nb$0 = $and145;
+ $$0197 = $252;
}
}
}
}
}
} while(0);
- $91 = HEAP32[(33536)>>2]|0;
- $cmp156 = ($91>>>0)<($nb$0>>>0);
- if (!($cmp156)) {
- $sub160 = (($91) - ($nb$0))|0;
- $92 = HEAP32[(33548)>>2]|0;
- $cmp162 = ($sub160>>>0)>(15);
- if ($cmp162) {
- $add$ptr166 = (($92) + ($nb$0)|0);
- HEAP32[(33548)>>2] = $add$ptr166;
- HEAP32[(33536)>>2] = $sub160;
- $or167 = $sub160 | 1;
- $head168 = ((($add$ptr166)) + 4|0);
- HEAP32[$head168>>2] = $or167;
- $add$ptr169 = (($92) + ($91)|0);
- HEAP32[$add$ptr169>>2] = $sub160;
- $or172 = $nb$0 | 3;
- $head173 = ((($92)) + 4|0);
- HEAP32[$head173>>2] = $or172;
+ $512 = HEAP32[(33576)>>2]|0;
+ $513 = ($512>>>0)<($$0197>>>0);
+ if (!($513)) {
+ $514 = (($512) - ($$0197))|0;
+ $515 = HEAP32[(33588)>>2]|0;
+ $516 = ($514>>>0)>(15);
+ if ($516) {
+ $517 = (($515) + ($$0197)|0);
+ HEAP32[(33588)>>2] = $517;
+ HEAP32[(33576)>>2] = $514;
+ $518 = $514 | 1;
+ $519 = ((($517)) + 4|0);
+ HEAP32[$519>>2] = $518;
+ $520 = (($515) + ($512)|0);
+ HEAP32[$520>>2] = $514;
+ $521 = $$0197 | 3;
+ $522 = ((($515)) + 4|0);
+ HEAP32[$522>>2] = $521;
} else {
- HEAP32[(33536)>>2] = 0;
- HEAP32[(33548)>>2] = 0;
- $or176 = $91 | 3;
- $head177 = ((($92)) + 4|0);
- HEAP32[$head177>>2] = $or176;
- $add$ptr178 = (($92) + ($91)|0);
- $head179 = ((($add$ptr178)) + 4|0);
- $93 = HEAP32[$head179>>2]|0;
- $or180 = $93 | 1;
- HEAP32[$head179>>2] = $or180;
+ HEAP32[(33576)>>2] = 0;
+ HEAP32[(33588)>>2] = 0;
+ $523 = $512 | 3;
+ $524 = ((($515)) + 4|0);
+ HEAP32[$524>>2] = $523;
+ $525 = (($515) + ($512)|0);
+ $526 = ((($525)) + 4|0);
+ $527 = HEAP32[$526>>2]|0;
+ $528 = $527 | 1;
+ HEAP32[$526>>2] = $528;
}
- $add$ptr182 = ((($92)) + 8|0);
- $retval$0 = $add$ptr182;
- STACKTOP = sp;return ($retval$0|0);
+ $529 = ((($515)) + 8|0);
+ $$0 = $529;
+ STACKTOP = sp;return ($$0|0);
}
- $94 = HEAP32[(33540)>>2]|0;
- $cmp186 = ($94>>>0)>($nb$0>>>0);
- if ($cmp186) {
- $sub190 = (($94) - ($nb$0))|0;
- HEAP32[(33540)>>2] = $sub190;
- $95 = HEAP32[(33552)>>2]|0;
- $add$ptr193 = (($95) + ($nb$0)|0);
- HEAP32[(33552)>>2] = $add$ptr193;
- $or194 = $sub190 | 1;
- $head195 = ((($add$ptr193)) + 4|0);
- HEAP32[$head195>>2] = $or194;
- $or197 = $nb$0 | 3;
- $head198 = ((($95)) + 4|0);
- HEAP32[$head198>>2] = $or197;
- $add$ptr199 = ((($95)) + 8|0);
- $retval$0 = $add$ptr199;
- STACKTOP = sp;return ($retval$0|0);
+ $530 = HEAP32[(33580)>>2]|0;
+ $531 = ($530>>>0)>($$0197>>>0);
+ if ($531) {
+ $532 = (($530) - ($$0197))|0;
+ HEAP32[(33580)>>2] = $532;
+ $533 = HEAP32[(33592)>>2]|0;
+ $534 = (($533) + ($$0197)|0);
+ HEAP32[(33592)>>2] = $534;
+ $535 = $532 | 1;
+ $536 = ((($534)) + 4|0);
+ HEAP32[$536>>2] = $535;
+ $537 = $$0197 | 3;
+ $538 = ((($533)) + 4|0);
+ HEAP32[$538>>2] = $537;
+ $539 = ((($533)) + 8|0);
+ $$0 = $539;
+ STACKTOP = sp;return ($$0|0);
}
- $96 = HEAP32[8500]|0;
- $cmp$i181 = ($96|0)==(0);
- if ($cmp$i181) {
- HEAP32[(34008)>>2] = 4096;
- HEAP32[(34004)>>2] = 4096;
- HEAP32[(34012)>>2] = -1;
- HEAP32[(34016)>>2] = -1;
- HEAP32[(34020)>>2] = 0;
- HEAP32[(33972)>>2] = 0;
- $97 = $magic$i$i;
- $xor$i$i = $97 & -16;
- $and6$i$i = $xor$i$i ^ 1431655768;
- HEAP32[8500] = $and6$i$i;
- $98 = 4096;
+ $540 = HEAP32[8510]|0;
+ $541 = ($540|0)==(0);
+ if ($541) {
+ HEAP32[(34048)>>2] = 4096;
+ HEAP32[(34044)>>2] = 4096;
+ HEAP32[(34052)>>2] = -1;
+ HEAP32[(34056)>>2] = -1;
+ HEAP32[(34060)>>2] = 0;
+ HEAP32[(34012)>>2] = 0;
+ $542 = $1;
+ $543 = $542 & -16;
+ $544 = $543 ^ 1431655768;
+ HEAP32[8510] = $544;
+ $548 = 4096;
} else {
- $$pre$i182 = HEAP32[(34008)>>2]|0;
- $98 = $$pre$i182;
+ $$pre$i212 = HEAP32[(34048)>>2]|0;
+ $548 = $$pre$i212;
}
- $add$i183 = (($nb$0) + 48)|0;
- $sub$i184 = (($nb$0) + 47)|0;
- $add9$i = (($98) + ($sub$i184))|0;
- $neg$i185 = (0 - ($98))|0;
- $and11$i = $add9$i & $neg$i185;
- $cmp12$i = ($and11$i>>>0)>($nb$0>>>0);
- if (!($cmp12$i)) {
- $retval$0 = 0;
- STACKTOP = sp;return ($retval$0|0);
+ $545 = (($$0197) + 48)|0;
+ $546 = (($$0197) + 47)|0;
+ $547 = (($548) + ($546))|0;
+ $549 = (0 - ($548))|0;
+ $550 = $547 & $549;
+ $551 = ($550>>>0)>($$0197>>>0);
+ if (!($551)) {
+ $$0 = 0;
+ STACKTOP = sp;return ($$0|0);
}
- $99 = HEAP32[(33968)>>2]|0;
- $cmp15$i = ($99|0)==(0);
- if (!($cmp15$i)) {
- $100 = HEAP32[(33960)>>2]|0;
- $add17$i186 = (($100) + ($and11$i))|0;
- $cmp19$i = ($add17$i186>>>0)<=($100>>>0);
- $cmp21$i = ($add17$i186>>>0)>($99>>>0);
- $or$cond1$i = $cmp19$i | $cmp21$i;
+ $552 = HEAP32[(34008)>>2]|0;
+ $553 = ($552|0)==(0);
+ if (!($553)) {
+ $554 = HEAP32[(34000)>>2]|0;
+ $555 = (($554) + ($550))|0;
+ $556 = ($555>>>0)<=($554>>>0);
+ $557 = ($555>>>0)>($552>>>0);
+ $or$cond1$i = $556 | $557;
if ($or$cond1$i) {
- $retval$0 = 0;
- STACKTOP = sp;return ($retval$0|0);
+ $$0 = 0;
+ STACKTOP = sp;return ($$0|0);
}
}
- $101 = HEAP32[(33972)>>2]|0;
- $and29$i = $101 & 4;
- $tobool30$i = ($and29$i|0)==(0);
+ $558 = HEAP32[(34012)>>2]|0;
+ $559 = $558 & 4;
+ $560 = ($559|0)==(0);
L244: do {
- if ($tobool30$i) {
- $102 = HEAP32[(33552)>>2]|0;
- $cmp32$i187 = ($102|0)==(0|0);
+ if ($560) {
+ $561 = HEAP32[(33592)>>2]|0;
+ $562 = ($561|0)==(0|0);
L246: do {
- if ($cmp32$i187) {
+ if ($562) {
label = 163;
} else {
- $sp$0$i$i = (33976);
+ $$0$i$i = (34016);
while(1) {
- $103 = HEAP32[$sp$0$i$i>>2]|0;
- $cmp$i11$i = ($103>>>0)>($102>>>0);
- if (!($cmp$i11$i)) {
- $size$i$i = ((($sp$0$i$i)) + 4|0);
- $104 = HEAP32[$size$i$i>>2]|0;
- $add$ptr$i$i = (($103) + ($104)|0);
- $cmp2$i$i = ($add$ptr$i$i>>>0)>($102>>>0);
- if ($cmp2$i$i) {
+ $563 = HEAP32[$$0$i$i>>2]|0;
+ $564 = ($563>>>0)>($561>>>0);
+ if (!($564)) {
+ $565 = ((($$0$i$i)) + 4|0);
+ $566 = HEAP32[$565>>2]|0;
+ $567 = (($563) + ($566)|0);
+ $568 = ($567>>>0)>($561>>>0);
+ if ($568) {
break;
}
}
- $next$i$i = ((($sp$0$i$i)) + 8|0);
- $105 = HEAP32[$next$i$i>>2]|0;
- $cmp3$i$i = ($105|0)==(0|0);
- if ($cmp3$i$i) {
+ $569 = ((($$0$i$i)) + 8|0);
+ $570 = HEAP32[$569>>2]|0;
+ $571 = ($570|0)==(0|0);
+ if ($571) {
label = 163;
break L246;
} else {
- $sp$0$i$i = $105;
+ $$0$i$i = $570;
}
}
- $add77$i = (($add9$i) - ($94))|0;
- $and80$i = $add77$i & $neg$i185;
- $cmp81$i194 = ($and80$i>>>0)<(2147483647);
- if ($cmp81$i194) {
- $call83$i = (_sbrk(($and80$i|0))|0);
- $110 = HEAP32[$sp$0$i$i>>2]|0;
- $111 = HEAP32[$size$i$i>>2]|0;
- $add$ptr$i196 = (($110) + ($111)|0);
- $cmp85$i = ($call83$i|0)==($add$ptr$i196|0);
- if ($cmp85$i) {
- $cmp89$i = ($call83$i|0)==((-1)|0);
- if ($cmp89$i) {
- $tsize$2657583$i = $and80$i;
+ $594 = (($547) - ($530))|0;
+ $595 = $594 & $549;
+ $596 = ($595>>>0)<(2147483647);
+ if ($596) {
+ $597 = (_sbrk(($595|0))|0);
+ $598 = HEAP32[$$0$i$i>>2]|0;
+ $599 = HEAP32[$565>>2]|0;
+ $600 = (($598) + ($599)|0);
+ $601 = ($597|0)==($600|0);
+ if ($601) {
+ $602 = ($597|0)==((-1)|0);
+ if ($602) {
+ $$2234243136$i = $595;
} else {
- $tbase$796$i = $call83$i;$tsize$795$i = $and80$i;
+ $$723947$i = $595;$$748$i = $597;
label = 180;
break L244;
}
} else {
- $br$2$ph$i = $call83$i;$ssize$2$ph$i = $and80$i;
+ $$2247$ph$i = $597;$$2253$ph$i = $595;
label = 171;
}
} else {
- $tsize$2657583$i = 0;
+ $$2234243136$i = 0;
}
}
} while(0);
do {
if ((label|0) == 163) {
- $call37$i = (_sbrk(0)|0);
- $cmp38$i = ($call37$i|0)==((-1)|0);
- if ($cmp38$i) {
- $tsize$2657583$i = 0;
+ $572 = (_sbrk(0)|0);
+ $573 = ($572|0)==((-1)|0);
+ if ($573) {
+ $$2234243136$i = 0;
} else {
- $106 = $call37$i;
- $107 = HEAP32[(34004)>>2]|0;
- $sub41$i = (($107) + -1)|0;
- $and42$i = $sub41$i & $106;
- $cmp43$i = ($and42$i|0)==(0);
- $add46$i = (($sub41$i) + ($106))|0;
- $neg48$i = (0 - ($107))|0;
- $and49$i = $add46$i & $neg48$i;
- $sub50$i = (($and49$i) - ($106))|0;
- $add51$i = $cmp43$i ? 0 : $sub50$i;
- $and11$add51$i = (($add51$i) + ($and11$i))|0;
- $108 = HEAP32[(33960)>>2]|0;
- $add54$i = (($and11$add51$i) + ($108))|0;
- $cmp55$i188 = ($and11$add51$i>>>0)>($nb$0>>>0);
- $cmp57$i189 = ($and11$add51$i>>>0)<(2147483647);
- $or$cond$i190 = $cmp55$i188 & $cmp57$i189;
- if ($or$cond$i190) {
- $109 = HEAP32[(33968)>>2]|0;
- $cmp60$i = ($109|0)==(0);
- if (!($cmp60$i)) {
- $cmp63$i = ($add54$i>>>0)<=($108>>>0);
- $cmp66$i192 = ($add54$i>>>0)>($109>>>0);
- $or$cond2$i193 = $cmp63$i | $cmp66$i192;
- if ($or$cond2$i193) {
- $tsize$2657583$i = 0;
+ $574 = $572;
+ $575 = HEAP32[(34044)>>2]|0;
+ $576 = (($575) + -1)|0;
+ $577 = $576 & $574;
+ $578 = ($577|0)==(0);
+ $579 = (($576) + ($574))|0;
+ $580 = (0 - ($575))|0;
+ $581 = $579 & $580;
+ $582 = (($581) - ($574))|0;
+ $583 = $578 ? 0 : $582;
+ $$$i = (($583) + ($550))|0;
+ $584 = HEAP32[(34000)>>2]|0;
+ $585 = (($$$i) + ($584))|0;
+ $586 = ($$$i>>>0)>($$0197>>>0);
+ $587 = ($$$i>>>0)<(2147483647);
+ $or$cond$i214 = $586 & $587;
+ if ($or$cond$i214) {
+ $588 = HEAP32[(34008)>>2]|0;
+ $589 = ($588|0)==(0);
+ if (!($589)) {
+ $590 = ($585>>>0)<=($584>>>0);
+ $591 = ($585>>>0)>($588>>>0);
+ $or$cond2$i215 = $590 | $591;
+ if ($or$cond2$i215) {
+ $$2234243136$i = 0;
break;
}
}
- $call68$i = (_sbrk(($and11$add51$i|0))|0);
- $cmp69$i = ($call68$i|0)==($call37$i|0);
- if ($cmp69$i) {
- $tbase$796$i = $call37$i;$tsize$795$i = $and11$add51$i;
+ $592 = (_sbrk(($$$i|0))|0);
+ $593 = ($592|0)==($572|0);
+ if ($593) {
+ $$723947$i = $$$i;$$748$i = $572;
label = 180;
break L244;
} else {
- $br$2$ph$i = $call68$i;$ssize$2$ph$i = $and11$add51$i;
+ $$2247$ph$i = $592;$$2253$ph$i = $$$i;
label = 171;
}
} else {
- $tsize$2657583$i = 0;
+ $$2234243136$i = 0;
}
}
}
} while(0);
do {
if ((label|0) == 171) {
- $sub112$i = (0 - ($ssize$2$ph$i))|0;
- $cmp91$i = ($br$2$ph$i|0)!=((-1)|0);
- $cmp93$i = ($ssize$2$ph$i>>>0)<(2147483647);
- $or$cond5$i = $cmp93$i & $cmp91$i;
- $cmp96$i = ($add$i183>>>0)>($ssize$2$ph$i>>>0);
- $or$cond3$i = $cmp96$i & $or$cond5$i;
- if (!($or$cond3$i)) {
- $cmp118$i = ($br$2$ph$i|0)==((-1)|0);
- if ($cmp118$i) {
- $tsize$2657583$i = 0;
+ $603 = (0 - ($$2253$ph$i))|0;
+ $604 = ($$2247$ph$i|0)!=((-1)|0);
+ $605 = ($$2253$ph$i>>>0)<(2147483647);
+ $or$cond7$i = $605 & $604;
+ $606 = ($545>>>0)>($$2253$ph$i>>>0);
+ $or$cond10$i = $606 & $or$cond7$i;
+ if (!($or$cond10$i)) {
+ $616 = ($$2247$ph$i|0)==((-1)|0);
+ if ($616) {
+ $$2234243136$i = 0;
break;
} else {
- $tbase$796$i = $br$2$ph$i;$tsize$795$i = $ssize$2$ph$i;
+ $$723947$i = $$2253$ph$i;$$748$i = $$2247$ph$i;
label = 180;
break L244;
}
}
- $112 = HEAP32[(34008)>>2]|0;
- $sub99$i = (($sub$i184) - ($ssize$2$ph$i))|0;
- $add101$i = (($sub99$i) + ($112))|0;
- $neg103$i = (0 - ($112))|0;
- $and104$i = $add101$i & $neg103$i;
- $cmp105$i = ($and104$i>>>0)<(2147483647);
- if (!($cmp105$i)) {
- $tbase$796$i = $br$2$ph$i;$tsize$795$i = $ssize$2$ph$i;
+ $607 = HEAP32[(34048)>>2]|0;
+ $608 = (($546) - ($$2253$ph$i))|0;
+ $609 = (($608) + ($607))|0;
+ $610 = (0 - ($607))|0;
+ $611 = $609 & $610;
+ $612 = ($611>>>0)<(2147483647);
+ if (!($612)) {
+ $$723947$i = $$2253$ph$i;$$748$i = $$2247$ph$i;
label = 180;
break L244;
}
- $call107$i = (_sbrk(($and104$i|0))|0);
- $cmp108$i = ($call107$i|0)==((-1)|0);
- if ($cmp108$i) {
- (_sbrk(($sub112$i|0))|0);
- $tsize$2657583$i = 0;
+ $613 = (_sbrk(($611|0))|0);
+ $614 = ($613|0)==((-1)|0);
+ if ($614) {
+ (_sbrk(($603|0))|0);
+ $$2234243136$i = 0;
break;
} else {
- $add110$i = (($and104$i) + ($ssize$2$ph$i))|0;
- $tbase$796$i = $br$2$ph$i;$tsize$795$i = $add110$i;
+ $615 = (($611) + ($$2253$ph$i))|0;
+ $$723947$i = $615;$$748$i = $$2247$ph$i;
label = 180;
break L244;
}
}
} while(0);
- $113 = HEAP32[(33972)>>2]|0;
- $or$i198 = $113 | 4;
- HEAP32[(33972)>>2] = $or$i198;
- $tsize$4$i = $tsize$2657583$i;
+ $617 = HEAP32[(34012)>>2]|0;
+ $618 = $617 | 4;
+ HEAP32[(34012)>>2] = $618;
+ $$4236$i = $$2234243136$i;
label = 178;
} else {
- $tsize$4$i = 0;
+ $$4236$i = 0;
label = 178;
}
} while(0);
if ((label|0) == 178) {
- $cmp127$i = ($and11$i>>>0)<(2147483647);
- if ($cmp127$i) {
- $call131$i = (_sbrk(($and11$i|0))|0);
- $call132$i = (_sbrk(0)|0);
- $cmp133$i199 = ($call131$i|0)!=((-1)|0);
- $cmp135$i = ($call132$i|0)!=((-1)|0);
- $or$cond4$i = $cmp133$i199 & $cmp135$i;
- $cmp137$i200 = ($call131$i>>>0)<($call132$i>>>0);
- $or$cond7$i = $cmp137$i200 & $or$cond4$i;
- $sub$ptr$lhs$cast$i = $call132$i;
- $sub$ptr$rhs$cast$i = $call131$i;
- $sub$ptr$sub$i = (($sub$ptr$lhs$cast$i) - ($sub$ptr$rhs$cast$i))|0;
- $add140$i = (($nb$0) + 40)|0;
- $cmp141$i = ($sub$ptr$sub$i>>>0)>($add140$i>>>0);
- $sub$ptr$sub$tsize$4$i = $cmp141$i ? $sub$ptr$sub$i : $tsize$4$i;
- $or$cond7$not$i = $or$cond7$i ^ 1;
- $cmp14799$i = ($call131$i|0)==((-1)|0);
- $not$cmp141$i = $cmp141$i ^ 1;
- $cmp147$i = $cmp14799$i | $not$cmp141$i;
- $or$cond97$i = $cmp147$i | $or$cond7$not$i;
- if (!($or$cond97$i)) {
- $tbase$796$i = $call131$i;$tsize$795$i = $sub$ptr$sub$tsize$4$i;
+ $619 = ($550>>>0)<(2147483647);
+ if ($619) {
+ $620 = (_sbrk(($550|0))|0);
+ $621 = (_sbrk(0)|0);
+ $622 = ($620|0)!=((-1)|0);
+ $623 = ($621|0)!=((-1)|0);
+ $or$cond5$i = $622 & $623;
+ $624 = ($620>>>0)<($621>>>0);
+ $or$cond11$i = $624 & $or$cond5$i;
+ $625 = $621;
+ $626 = $620;
+ $627 = (($625) - ($626))|0;
+ $628 = (($$0197) + 40)|0;
+ $629 = ($627>>>0)>($628>>>0);
+ $$$4236$i = $629 ? $627 : $$4236$i;
+ $or$cond11$not$i = $or$cond11$i ^ 1;
+ $630 = ($620|0)==((-1)|0);
+ $not$$i = $629 ^ 1;
+ $631 = $630 | $not$$i;
+ $or$cond49$i = $631 | $or$cond11$not$i;
+ if (!($or$cond49$i)) {
+ $$723947$i = $$$4236$i;$$748$i = $620;
label = 180;
}
}
}
if ((label|0) == 180) {
- $114 = HEAP32[(33960)>>2]|0;
- $add150$i = (($114) + ($tsize$795$i))|0;
- HEAP32[(33960)>>2] = $add150$i;
- $115 = HEAP32[(33964)>>2]|0;
- $cmp151$i = ($add150$i>>>0)>($115>>>0);
- if ($cmp151$i) {
- HEAP32[(33964)>>2] = $add150$i;
+ $632 = HEAP32[(34000)>>2]|0;
+ $633 = (($632) + ($$723947$i))|0;
+ HEAP32[(34000)>>2] = $633;
+ $634 = HEAP32[(34004)>>2]|0;
+ $635 = ($633>>>0)>($634>>>0);
+ if ($635) {
+ HEAP32[(34004)>>2] = $633;
}
- $116 = HEAP32[(33552)>>2]|0;
- $cmp157$i = ($116|0)==(0|0);
+ $636 = HEAP32[(33592)>>2]|0;
+ $637 = ($636|0)==(0|0);
do {
- if ($cmp157$i) {
- $117 = HEAP32[(33544)>>2]|0;
- $cmp159$i202 = ($117|0)==(0|0);
- $cmp162$i203 = ($tbase$796$i>>>0)<($117>>>0);
- $or$cond8$i = $cmp159$i202 | $cmp162$i203;
- if ($or$cond8$i) {
- HEAP32[(33544)>>2] = $tbase$796$i;
+ if ($637) {
+ $638 = HEAP32[(33584)>>2]|0;
+ $639 = ($638|0)==(0|0);
+ $640 = ($$748$i>>>0)<($638>>>0);
+ $or$cond12$i = $639 | $640;
+ if ($or$cond12$i) {
+ HEAP32[(33584)>>2] = $$748$i;
}
- HEAP32[(33976)>>2] = $tbase$796$i;
- HEAP32[(33980)>>2] = $tsize$795$i;
- HEAP32[(33988)>>2] = 0;
- $118 = HEAP32[8500]|0;
- HEAP32[(33564)>>2] = $118;
- HEAP32[(33560)>>2] = -1;
- HEAP32[(33580)>>2] = (33568);
- HEAP32[(33576)>>2] = (33568);
- HEAP32[(33588)>>2] = (33576);
- HEAP32[(33584)>>2] = (33576);
- HEAP32[(33596)>>2] = (33584);
- HEAP32[(33592)>>2] = (33584);
- HEAP32[(33604)>>2] = (33592);
- HEAP32[(33600)>>2] = (33592);
- HEAP32[(33612)>>2] = (33600);
- HEAP32[(33608)>>2] = (33600);
+ HEAP32[(34016)>>2] = $$748$i;
+ HEAP32[(34020)>>2] = $$723947$i;
+ HEAP32[(34028)>>2] = 0;
+ $641 = HEAP32[8510]|0;
+ HEAP32[(33604)>>2] = $641;
+ HEAP32[(33600)>>2] = -1;
HEAP32[(33620)>>2] = (33608);
HEAP32[(33616)>>2] = (33608);
HEAP32[(33628)>>2] = (33616);
@@ -98111,311 +98102,321 @@ function _malloc($bytes) {
HEAP32[(33816)>>2] = (33808);
HEAP32[(33828)>>2] = (33816);
HEAP32[(33824)>>2] = (33816);
- $sub172$i = (($tsize$795$i) + -40)|0;
- $add$ptr$i13$i = ((($tbase$796$i)) + 8|0);
- $119 = $add$ptr$i13$i;
- $and$i14$i = $119 & 7;
- $cmp$i15$i = ($and$i14$i|0)==(0);
- $sub$i16$i = (0 - ($119))|0;
- $and3$i$i = $sub$i16$i & 7;
- $cond$i17$i = $cmp$i15$i ? 0 : $and3$i$i;
- $add$ptr4$i$i = (($tbase$796$i) + ($cond$i17$i)|0);
- $sub5$i$i = (($sub172$i) - ($cond$i17$i))|0;
- HEAP32[(33552)>>2] = $add$ptr4$i$i;
- HEAP32[(33540)>>2] = $sub5$i$i;
- $or$i$i = $sub5$i$i | 1;
- $head$i18$i = ((($add$ptr4$i$i)) + 4|0);
- HEAP32[$head$i18$i>>2] = $or$i$i;
- $add$ptr6$i$i = (($tbase$796$i) + ($sub172$i)|0);
- $head7$i$i = ((($add$ptr6$i$i)) + 4|0);
- HEAP32[$head7$i$i>>2] = 40;
- $120 = HEAP32[(34016)>>2]|0;
- HEAP32[(33556)>>2] = $120;
+ HEAP32[(33836)>>2] = (33824);
+ HEAP32[(33832)>>2] = (33824);
+ HEAP32[(33844)>>2] = (33832);
+ HEAP32[(33840)>>2] = (33832);
+ HEAP32[(33852)>>2] = (33840);
+ HEAP32[(33848)>>2] = (33840);
+ HEAP32[(33860)>>2] = (33848);
+ HEAP32[(33856)>>2] = (33848);
+ HEAP32[(33868)>>2] = (33856);
+ HEAP32[(33864)>>2] = (33856);
+ $642 = (($$723947$i) + -40)|0;
+ $643 = ((($$748$i)) + 8|0);
+ $644 = $643;
+ $645 = $644 & 7;
+ $646 = ($645|0)==(0);
+ $647 = (0 - ($644))|0;
+ $648 = $647 & 7;
+ $649 = $646 ? 0 : $648;
+ $650 = (($$748$i) + ($649)|0);
+ $651 = (($642) - ($649))|0;
+ HEAP32[(33592)>>2] = $650;
+ HEAP32[(33580)>>2] = $651;
+ $652 = $651 | 1;
+ $653 = ((($650)) + 4|0);
+ HEAP32[$653>>2] = $652;
+ $654 = (($$748$i) + ($642)|0);
+ $655 = ((($654)) + 4|0);
+ HEAP32[$655>>2] = 40;
+ $656 = HEAP32[(34056)>>2]|0;
+ HEAP32[(33596)>>2] = $656;
} else {
- $sp$0108$i = (33976);
+ $$024367$i = (34016);
while(1) {
- $121 = HEAP32[$sp$0108$i>>2]|0;
- $size188$i = ((($sp$0108$i)) + 4|0);
- $122 = HEAP32[$size188$i>>2]|0;
- $add$ptr189$i = (($121) + ($122)|0);
- $cmp190$i = ($tbase$796$i|0)==($add$ptr189$i|0);
- if ($cmp190$i) {
+ $657 = HEAP32[$$024367$i>>2]|0;
+ $658 = ((($$024367$i)) + 4|0);
+ $659 = HEAP32[$658>>2]|0;
+ $660 = (($657) + ($659)|0);
+ $661 = ($$748$i|0)==($660|0);
+ if ($661) {
label = 188;
break;
}
- $next$i = ((($sp$0108$i)) + 8|0);
- $123 = HEAP32[$next$i>>2]|0;
- $cmp186$i = ($123|0)==(0|0);
- if ($cmp186$i) {
+ $662 = ((($$024367$i)) + 8|0);
+ $663 = HEAP32[$662>>2]|0;
+ $664 = ($663|0)==(0|0);
+ if ($664) {
break;
} else {
- $sp$0108$i = $123;
+ $$024367$i = $663;
}
}
if ((label|0) == 188) {
- $sflags193$i = ((($sp$0108$i)) + 12|0);
- $124 = HEAP32[$sflags193$i>>2]|0;
- $and194$i207 = $124 & 8;
- $tobool195$i = ($and194$i207|0)==(0);
- if ($tobool195$i) {
- $cmp203$i = ($121>>>0)<=($116>>>0);
- $cmp209$i = ($tbase$796$i>>>0)>($116>>>0);
- $or$cond98$i = $cmp209$i & $cmp203$i;
- if ($or$cond98$i) {
- $add212$i = (($122) + ($tsize$795$i))|0;
- HEAP32[$size188$i>>2] = $add212$i;
- $125 = HEAP32[(33540)>>2]|0;
- $add215$i = (($125) + ($tsize$795$i))|0;
- $add$ptr$i48$i = ((($116)) + 8|0);
- $126 = $add$ptr$i48$i;
- $and$i49$i = $126 & 7;
- $cmp$i50$i = ($and$i49$i|0)==(0);
- $sub$i51$i = (0 - ($126))|0;
- $and3$i52$i = $sub$i51$i & 7;
- $cond$i53$i = $cmp$i50$i ? 0 : $and3$i52$i;
- $add$ptr4$i54$i = (($116) + ($cond$i53$i)|0);
- $sub5$i55$i = (($add215$i) - ($cond$i53$i))|0;
- HEAP32[(33552)>>2] = $add$ptr4$i54$i;
- HEAP32[(33540)>>2] = $sub5$i55$i;
- $or$i56$i = $sub5$i55$i | 1;
- $head$i57$i = ((($add$ptr4$i54$i)) + 4|0);
- HEAP32[$head$i57$i>>2] = $or$i56$i;
- $add$ptr6$i58$i = (($116) + ($add215$i)|0);
- $head7$i59$i = ((($add$ptr6$i58$i)) + 4|0);
- HEAP32[$head7$i59$i>>2] = 40;
- $127 = HEAP32[(34016)>>2]|0;
- HEAP32[(33556)>>2] = $127;
+ $665 = ((($$024367$i)) + 12|0);
+ $666 = HEAP32[$665>>2]|0;
+ $667 = $666 & 8;
+ $668 = ($667|0)==(0);
+ if ($668) {
+ $669 = ($657>>>0)<=($636>>>0);
+ $670 = ($$748$i>>>0)>($636>>>0);
+ $or$cond50$i = $670 & $669;
+ if ($or$cond50$i) {
+ $671 = (($659) + ($$723947$i))|0;
+ HEAP32[$658>>2] = $671;
+ $672 = HEAP32[(33580)>>2]|0;
+ $673 = (($672) + ($$723947$i))|0;
+ $674 = ((($636)) + 8|0);
+ $675 = $674;
+ $676 = $675 & 7;
+ $677 = ($676|0)==(0);
+ $678 = (0 - ($675))|0;
+ $679 = $678 & 7;
+ $680 = $677 ? 0 : $679;
+ $681 = (($636) + ($680)|0);
+ $682 = (($673) - ($680))|0;
+ HEAP32[(33592)>>2] = $681;
+ HEAP32[(33580)>>2] = $682;
+ $683 = $682 | 1;
+ $684 = ((($681)) + 4|0);
+ HEAP32[$684>>2] = $683;
+ $685 = (($636) + ($673)|0);
+ $686 = ((($685)) + 4|0);
+ HEAP32[$686>>2] = 40;
+ $687 = HEAP32[(34056)>>2]|0;
+ HEAP32[(33596)>>2] = $687;
break;
}
}
}
- $128 = HEAP32[(33544)>>2]|0;
- $cmp218$i = ($tbase$796$i>>>0)<($128>>>0);
- if ($cmp218$i) {
- HEAP32[(33544)>>2] = $tbase$796$i;
- $141 = $tbase$796$i;
+ $688 = HEAP32[(33584)>>2]|0;
+ $689 = ($$748$i>>>0)<($688>>>0);
+ if ($689) {
+ HEAP32[(33584)>>2] = $$748$i;
+ $752 = $$748$i;
} else {
- $141 = $128;
+ $752 = $688;
}
- $add$ptr227$i = (($tbase$796$i) + ($tsize$795$i)|0);
- $sp$1107$i = (33976);
+ $690 = (($$748$i) + ($$723947$i)|0);
+ $$124466$i = (34016);
while(1) {
- $129 = HEAP32[$sp$1107$i>>2]|0;
- $cmp228$i = ($129|0)==($add$ptr227$i|0);
- if ($cmp228$i) {
+ $691 = HEAP32[$$124466$i>>2]|0;
+ $692 = ($691|0)==($690|0);
+ if ($692) {
label = 196;
break;
}
- $next231$i = ((($sp$1107$i)) + 8|0);
- $130 = HEAP32[$next231$i>>2]|0;
- $cmp224$i = ($130|0)==(0|0);
- if ($cmp224$i) {
- $sp$0$i$i$i = (33976);
+ $693 = ((($$124466$i)) + 8|0);
+ $694 = HEAP32[$693>>2]|0;
+ $695 = ($694|0)==(0|0);
+ if ($695) {
+ $$0$i$i$i = (34016);
break;
} else {
- $sp$1107$i = $130;
+ $$124466$i = $694;
}
}
if ((label|0) == 196) {
- $sflags235$i = ((($sp$1107$i)) + 12|0);
- $131 = HEAP32[$sflags235$i>>2]|0;
- $and236$i = $131 & 8;
- $tobool237$i = ($and236$i|0)==(0);
- if ($tobool237$i) {
- HEAP32[$sp$1107$i>>2] = $tbase$796$i;
- $size245$i = ((($sp$1107$i)) + 4|0);
- $132 = HEAP32[$size245$i>>2]|0;
- $add246$i = (($132) + ($tsize$795$i))|0;
- HEAP32[$size245$i>>2] = $add246$i;
- $add$ptr$i19$i = ((($tbase$796$i)) + 8|0);
- $133 = $add$ptr$i19$i;
- $and$i20$i = $133 & 7;
- $cmp$i21$i = ($and$i20$i|0)==(0);
- $sub$i22$i = (0 - ($133))|0;
- $and3$i23$i = $sub$i22$i & 7;
- $cond$i24$i = $cmp$i21$i ? 0 : $and3$i23$i;
- $add$ptr4$i25$i = (($tbase$796$i) + ($cond$i24$i)|0);
- $add$ptr5$i$i = ((($add$ptr227$i)) + 8|0);
- $134 = $add$ptr5$i$i;
- $and6$i26$i = $134 & 7;
- $cmp7$i$i = ($and6$i26$i|0)==(0);
- $sub12$i$i = (0 - ($134))|0;
- $and13$i$i = $sub12$i$i & 7;
- $cond15$i$i = $cmp7$i$i ? 0 : $and13$i$i;
- $add$ptr16$i$i = (($add$ptr227$i) + ($cond15$i$i)|0);
- $sub$ptr$lhs$cast$i27$i = $add$ptr16$i$i;
- $sub$ptr$rhs$cast$i28$i = $add$ptr4$i25$i;
- $sub$ptr$sub$i29$i = (($sub$ptr$lhs$cast$i27$i) - ($sub$ptr$rhs$cast$i28$i))|0;
- $add$ptr17$i$i = (($add$ptr4$i25$i) + ($nb$0)|0);
- $sub18$i$i = (($sub$ptr$sub$i29$i) - ($nb$0))|0;
- $or19$i$i = $nb$0 | 3;
- $head$i30$i = ((($add$ptr4$i25$i)) + 4|0);
- HEAP32[$head$i30$i>>2] = $or19$i$i;
- $cmp20$i$i = ($116|0)==($add$ptr16$i$i|0);
+ $696 = ((($$124466$i)) + 12|0);
+ $697 = HEAP32[$696>>2]|0;
+ $698 = $697 & 8;
+ $699 = ($698|0)==(0);
+ if ($699) {
+ HEAP32[$$124466$i>>2] = $$748$i;
+ $700 = ((($$124466$i)) + 4|0);
+ $701 = HEAP32[$700>>2]|0;
+ $702 = (($701) + ($$723947$i))|0;
+ HEAP32[$700>>2] = $702;
+ $703 = ((($$748$i)) + 8|0);
+ $704 = $703;
+ $705 = $704 & 7;
+ $706 = ($705|0)==(0);
+ $707 = (0 - ($704))|0;
+ $708 = $707 & 7;
+ $709 = $706 ? 0 : $708;
+ $710 = (($$748$i) + ($709)|0);
+ $711 = ((($690)) + 8|0);
+ $712 = $711;
+ $713 = $712 & 7;
+ $714 = ($713|0)==(0);
+ $715 = (0 - ($712))|0;
+ $716 = $715 & 7;
+ $717 = $714 ? 0 : $716;
+ $718 = (($690) + ($717)|0);
+ $719 = $718;
+ $720 = $710;
+ $721 = (($719) - ($720))|0;
+ $722 = (($710) + ($$0197)|0);
+ $723 = (($721) - ($$0197))|0;
+ $724 = $$0197 | 3;
+ $725 = ((($710)) + 4|0);
+ HEAP32[$725>>2] = $724;
+ $726 = ($636|0)==($718|0);
do {
- if ($cmp20$i$i) {
- $135 = HEAP32[(33540)>>2]|0;
- $add$i$i = (($135) + ($sub18$i$i))|0;
- HEAP32[(33540)>>2] = $add$i$i;
- HEAP32[(33552)>>2] = $add$ptr17$i$i;
- $or22$i$i = $add$i$i | 1;
- $head23$i$i = ((($add$ptr17$i$i)) + 4|0);
- HEAP32[$head23$i$i>>2] = $or22$i$i;
+ if ($726) {
+ $727 = HEAP32[(33580)>>2]|0;
+ $728 = (($727) + ($723))|0;
+ HEAP32[(33580)>>2] = $728;
+ HEAP32[(33592)>>2] = $722;
+ $729 = $728 | 1;
+ $730 = ((($722)) + 4|0);
+ HEAP32[$730>>2] = $729;
} else {
- $136 = HEAP32[(33548)>>2]|0;
- $cmp24$i$i = ($136|0)==($add$ptr16$i$i|0);
- if ($cmp24$i$i) {
- $137 = HEAP32[(33536)>>2]|0;
- $add26$i$i = (($137) + ($sub18$i$i))|0;
- HEAP32[(33536)>>2] = $add26$i$i;
- HEAP32[(33548)>>2] = $add$ptr17$i$i;
- $or28$i$i = $add26$i$i | 1;
- $head29$i$i = ((($add$ptr17$i$i)) + 4|0);
- HEAP32[$head29$i$i>>2] = $or28$i$i;
- $add$ptr30$i$i = (($add$ptr17$i$i) + ($add26$i$i)|0);
- HEAP32[$add$ptr30$i$i>>2] = $add26$i$i;
+ $731 = HEAP32[(33588)>>2]|0;
+ $732 = ($731|0)==($718|0);
+ if ($732) {
+ $733 = HEAP32[(33576)>>2]|0;
+ $734 = (($733) + ($723))|0;
+ HEAP32[(33576)>>2] = $734;
+ HEAP32[(33588)>>2] = $722;
+ $735 = $734 | 1;
+ $736 = ((($722)) + 4|0);
+ HEAP32[$736>>2] = $735;
+ $737 = (($722) + ($734)|0);
+ HEAP32[$737>>2] = $734;
break;
}
- $head32$i$i = ((($add$ptr16$i$i)) + 4|0);
- $138 = HEAP32[$head32$i$i>>2]|0;
- $and33$i$i = $138 & 3;
- $cmp34$i$i = ($and33$i$i|0)==(1);
- if ($cmp34$i$i) {
- $and37$i$i = $138 & -8;
- $shr$i33$i = $138 >>> 3;
- $cmp38$i$i = ($138>>>0)<(256);
+ $738 = ((($718)) + 4|0);
+ $739 = HEAP32[$738>>2]|0;
+ $740 = $739 & 3;
+ $741 = ($740|0)==(1);
+ if ($741) {
+ $742 = $739 & -8;
+ $743 = $739 >>> 3;
+ $744 = ($739>>>0)<(256);
L311: do {
- if ($cmp38$i$i) {
- $fd$i$i = ((($add$ptr16$i$i)) + 8|0);
- $139 = HEAP32[$fd$i$i>>2]|0;
- $bk$i34$i = ((($add$ptr16$i$i)) + 12|0);
- $140 = HEAP32[$bk$i34$i>>2]|0;
- $shl$i35$i = $shr$i33$i << 1;
- $arrayidx$i36$i = (33568 + ($shl$i35$i<<2)|0);
- $cmp41$i$i = ($139|0)==($arrayidx$i36$i|0);
+ if ($744) {
+ $745 = ((($718)) + 8|0);
+ $746 = HEAP32[$745>>2]|0;
+ $747 = ((($718)) + 12|0);
+ $748 = HEAP32[$747>>2]|0;
+ $749 = $743 << 1;
+ $750 = (33608 + ($749<<2)|0);
+ $751 = ($746|0)==($750|0);
do {
- if (!($cmp41$i$i)) {
- $cmp42$i$i = ($141>>>0)>($139>>>0);
- if ($cmp42$i$i) {
+ if (!($751)) {
+ $753 = ($752>>>0)>($746>>>0);
+ if ($753) {
_abort();
// unreachable;
}
- $bk43$i$i = ((($139)) + 12|0);
- $142 = HEAP32[$bk43$i$i>>2]|0;
- $cmp44$i$i = ($142|0)==($add$ptr16$i$i|0);
- if ($cmp44$i$i) {
+ $754 = ((($746)) + 12|0);
+ $755 = HEAP32[$754>>2]|0;
+ $756 = ($755|0)==($718|0);
+ if ($756) {
break;
}
_abort();
// unreachable;
}
} while(0);
- $cmp46$i37$i = ($140|0)==($139|0);
- if ($cmp46$i37$i) {
- $shl48$i$i = 1 << $shr$i33$i;
- $neg$i$i = $shl48$i$i ^ -1;
- $143 = HEAP32[8382]|0;
- $and49$i$i = $143 & $neg$i$i;
- HEAP32[8382] = $and49$i$i;
+ $757 = ($748|0)==($746|0);
+ if ($757) {
+ $758 = 1 << $743;
+ $759 = $758 ^ -1;
+ $760 = HEAP32[8392]|0;
+ $761 = $760 & $759;
+ HEAP32[8392] = $761;
break;
}
- $cmp54$i$i = ($140|0)==($arrayidx$i36$i|0);
+ $762 = ($748|0)==($750|0);
do {
- if ($cmp54$i$i) {
- $$pre6$i$i = ((($140)) + 8|0);
- $fd68$pre$phi$i$iZ2D = $$pre6$i$i;
+ if ($762) {
+ $$pre10$i$i = ((($748)) + 8|0);
+ $$pre$phi11$i$iZ2D = $$pre10$i$i;
} else {
- $cmp57$i$i = ($141>>>0)>($140>>>0);
- if ($cmp57$i$i) {
+ $763 = ($752>>>0)>($748>>>0);
+ if ($763) {
_abort();
// unreachable;
}
- $fd59$i$i = ((($140)) + 8|0);
- $144 = HEAP32[$fd59$i$i>>2]|0;
- $cmp60$i$i = ($144|0)==($add$ptr16$i$i|0);
- if ($cmp60$i$i) {
- $fd68$pre$phi$i$iZ2D = $fd59$i$i;
+ $764 = ((($748)) + 8|0);
+ $765 = HEAP32[$764>>2]|0;
+ $766 = ($765|0)==($718|0);
+ if ($766) {
+ $$pre$phi11$i$iZ2D = $764;
break;
}
_abort();
// unreachable;
}
} while(0);
- $bk67$i$i = ((($139)) + 12|0);
- HEAP32[$bk67$i$i>>2] = $140;
- HEAP32[$fd68$pre$phi$i$iZ2D>>2] = $139;
+ $767 = ((($746)) + 12|0);
+ HEAP32[$767>>2] = $748;
+ HEAP32[$$pre$phi11$i$iZ2D>>2] = $746;
} else {
- $parent$i39$i = ((($add$ptr16$i$i)) + 24|0);
- $145 = HEAP32[$parent$i39$i>>2]|0;
- $bk74$i$i = ((($add$ptr16$i$i)) + 12|0);
- $146 = HEAP32[$bk74$i$i>>2]|0;
- $cmp75$i$i = ($146|0)==($add$ptr16$i$i|0);
+ $768 = ((($718)) + 24|0);
+ $769 = HEAP32[$768>>2]|0;
+ $770 = ((($718)) + 12|0);
+ $771 = HEAP32[$770>>2]|0;
+ $772 = ($771|0)==($718|0);
do {
- if ($cmp75$i$i) {
- $child$i$i = ((($add$ptr16$i$i)) + 16|0);
- $arrayidx96$i$i = ((($child$i$i)) + 4|0);
- $150 = HEAP32[$arrayidx96$i$i>>2]|0;
- $cmp97$i$i = ($150|0)==(0|0);
- if ($cmp97$i$i) {
- $151 = HEAP32[$child$i$i>>2]|0;
- $cmp100$i$i = ($151|0)==(0|0);
- if ($cmp100$i$i) {
- $R$3$i$i = 0;
+ if ($772) {
+ $782 = ((($718)) + 16|0);
+ $783 = ((($782)) + 4|0);
+ $784 = HEAP32[$783>>2]|0;
+ $785 = ($784|0)==(0|0);
+ if ($785) {
+ $786 = HEAP32[$782>>2]|0;
+ $787 = ($786|0)==(0|0);
+ if ($787) {
+ $$3$i$i = 0;
break;
} else {
- $R$1$i$i = $151;$RP$1$i$i = $child$i$i;
+ $$1291$i$i = $786;$$1293$i$i = $782;
}
} else {
- $R$1$i$i = $150;$RP$1$i$i = $arrayidx96$i$i;
+ $$1291$i$i = $784;$$1293$i$i = $783;
}
while(1) {
- $arrayidx103$i$i = ((($R$1$i$i)) + 20|0);
- $152 = HEAP32[$arrayidx103$i$i>>2]|0;
- $cmp104$i$i = ($152|0)==(0|0);
- if (!($cmp104$i$i)) {
- $R$1$i$i = $152;$RP$1$i$i = $arrayidx103$i$i;
+ $788 = ((($$1291$i$i)) + 20|0);
+ $789 = HEAP32[$788>>2]|0;
+ $790 = ($789|0)==(0|0);
+ if (!($790)) {
+ $$1291$i$i = $789;$$1293$i$i = $788;
continue;
}
- $arrayidx107$i$i = ((($R$1$i$i)) + 16|0);
- $153 = HEAP32[$arrayidx107$i$i>>2]|0;
- $cmp108$i$i = ($153|0)==(0|0);
- if ($cmp108$i$i) {
+ $791 = ((($$1291$i$i)) + 16|0);
+ $792 = HEAP32[$791>>2]|0;
+ $793 = ($792|0)==(0|0);
+ if ($793) {
break;
} else {
- $R$1$i$i = $153;$RP$1$i$i = $arrayidx107$i$i;
+ $$1291$i$i = $792;$$1293$i$i = $791;
}
}
- $cmp112$i$i = ($141>>>0)>($RP$1$i$i>>>0);
- if ($cmp112$i$i) {
+ $794 = ($752>>>0)>($$1293$i$i>>>0);
+ if ($794) {
_abort();
// unreachable;
} else {
- HEAP32[$RP$1$i$i>>2] = 0;
- $R$3$i$i = $R$1$i$i;
+ HEAP32[$$1293$i$i>>2] = 0;
+ $$3$i$i = $$1291$i$i;
break;
}
} else {
- $fd78$i$i = ((($add$ptr16$i$i)) + 8|0);
- $147 = HEAP32[$fd78$i$i>>2]|0;
- $cmp81$i$i = ($141>>>0)>($147>>>0);
- if ($cmp81$i$i) {
+ $773 = ((($718)) + 8|0);
+ $774 = HEAP32[$773>>2]|0;
+ $775 = ($752>>>0)>($774>>>0);
+ if ($775) {
_abort();
// unreachable;
}
- $bk82$i$i = ((($147)) + 12|0);
- $148 = HEAP32[$bk82$i$i>>2]|0;
- $cmp83$i$i = ($148|0)==($add$ptr16$i$i|0);
- if (!($cmp83$i$i)) {
+ $776 = ((($774)) + 12|0);
+ $777 = HEAP32[$776>>2]|0;
+ $778 = ($777|0)==($718|0);
+ if (!($778)) {
_abort();
// unreachable;
}
- $fd85$i$i = ((($146)) + 8|0);
- $149 = HEAP32[$fd85$i$i>>2]|0;
- $cmp86$i$i = ($149|0)==($add$ptr16$i$i|0);
- if ($cmp86$i$i) {
- HEAP32[$bk82$i$i>>2] = $146;
- HEAP32[$fd85$i$i>>2] = $147;
- $R$3$i$i = $146;
+ $779 = ((($771)) + 8|0);
+ $780 = HEAP32[$779>>2]|0;
+ $781 = ($780|0)==($718|0);
+ if ($781) {
+ HEAP32[$776>>2] = $771;
+ HEAP32[$779>>2] = $774;
+ $$3$i$i = $771;
break;
} else {
_abort();
@@ -98423,43 +98424,43 @@ function _malloc($bytes) {
}
}
} while(0);
- $cmp120$i41$i = ($145|0)==(0|0);
- if ($cmp120$i41$i) {
+ $795 = ($769|0)==(0|0);
+ if ($795) {
break;
}
- $index$i42$i = ((($add$ptr16$i$i)) + 28|0);
- $154 = HEAP32[$index$i42$i>>2]|0;
- $arrayidx123$i$i = (33832 + ($154<<2)|0);
- $155 = HEAP32[$arrayidx123$i$i>>2]|0;
- $cmp124$i$i = ($155|0)==($add$ptr16$i$i|0);
+ $796 = ((($718)) + 28|0);
+ $797 = HEAP32[$796>>2]|0;
+ $798 = (33872 + ($797<<2)|0);
+ $799 = HEAP32[$798>>2]|0;
+ $800 = ($799|0)==($718|0);
do {
- if ($cmp124$i$i) {
- HEAP32[$arrayidx123$i$i>>2] = $R$3$i$i;
- $cond3$i$i = ($R$3$i$i|0)==(0|0);
- if (!($cond3$i$i)) {
+ if ($800) {
+ HEAP32[$798>>2] = $$3$i$i;
+ $cond$i$i = ($$3$i$i|0)==(0|0);
+ if (!($cond$i$i)) {
break;
}
- $shl131$i$i = 1 << $154;
- $neg132$i$i = $shl131$i$i ^ -1;
- $156 = HEAP32[(33532)>>2]|0;
- $and133$i$i = $156 & $neg132$i$i;
- HEAP32[(33532)>>2] = $and133$i$i;
+ $801 = 1 << $797;
+ $802 = $801 ^ -1;
+ $803 = HEAP32[(33572)>>2]|0;
+ $804 = $803 & $802;
+ HEAP32[(33572)>>2] = $804;
break L311;
} else {
- $157 = HEAP32[(33544)>>2]|0;
- $cmp137$i$i = ($157>>>0)>($145>>>0);
- if ($cmp137$i$i) {
+ $805 = HEAP32[(33584)>>2]|0;
+ $806 = ($805>>>0)>($769>>>0);
+ if ($806) {
_abort();
// unreachable;
} else {
- $arrayidx143$i$i = ((($145)) + 16|0);
- $158 = HEAP32[$arrayidx143$i$i>>2]|0;
- $cmp144$i$i = ($158|0)!=($add$ptr16$i$i|0);
- $$sink$i$i = $cmp144$i$i&1;
- $arrayidx151$i$i = (((($145)) + 16|0) + ($$sink$i$i<<2)|0);
- HEAP32[$arrayidx151$i$i>>2] = $R$3$i$i;
- $cmp156$i$i = ($R$3$i$i|0)==(0|0);
- if ($cmp156$i$i) {
+ $807 = ((($769)) + 16|0);
+ $808 = HEAP32[$807>>2]|0;
+ $809 = ($808|0)!=($718|0);
+ $$sink1$i$i = $809&1;
+ $810 = (((($769)) + 16|0) + ($$sink1$i$i<<2)|0);
+ HEAP32[$810>>2] = $$3$i$i;
+ $811 = ($$3$i$i|0)==(0|0);
+ if ($811) {
break L311;
} else {
break;
@@ -98467,225 +98468,225 @@ function _malloc($bytes) {
}
}
} while(0);
- $159 = HEAP32[(33544)>>2]|0;
- $cmp160$i$i = ($159>>>0)>($R$3$i$i>>>0);
- if ($cmp160$i$i) {
+ $812 = HEAP32[(33584)>>2]|0;
+ $813 = ($812>>>0)>($$3$i$i>>>0);
+ if ($813) {
_abort();
// unreachable;
}
- $parent165$i$i = ((($R$3$i$i)) + 24|0);
- HEAP32[$parent165$i$i>>2] = $145;
- $child166$i$i = ((($add$ptr16$i$i)) + 16|0);
- $160 = HEAP32[$child166$i$i>>2]|0;
- $cmp168$i$i = ($160|0)==(0|0);
+ $814 = ((($$3$i$i)) + 24|0);
+ HEAP32[$814>>2] = $769;
+ $815 = ((($718)) + 16|0);
+ $816 = HEAP32[$815>>2]|0;
+ $817 = ($816|0)==(0|0);
do {
- if (!($cmp168$i$i)) {
- $cmp172$i$i = ($159>>>0)>($160>>>0);
- if ($cmp172$i$i) {
+ if (!($817)) {
+ $818 = ($812>>>0)>($816>>>0);
+ if ($818) {
_abort();
// unreachable;
} else {
- $arrayidx178$i$i = ((($R$3$i$i)) + 16|0);
- HEAP32[$arrayidx178$i$i>>2] = $160;
- $parent179$i$i = ((($160)) + 24|0);
- HEAP32[$parent179$i$i>>2] = $R$3$i$i;
+ $819 = ((($$3$i$i)) + 16|0);
+ HEAP32[$819>>2] = $816;
+ $820 = ((($816)) + 24|0);
+ HEAP32[$820>>2] = $$3$i$i;
break;
}
}
} while(0);
- $arrayidx184$i$i = ((($child166$i$i)) + 4|0);
- $161 = HEAP32[$arrayidx184$i$i>>2]|0;
- $cmp185$i$i = ($161|0)==(0|0);
- if ($cmp185$i$i) {
+ $821 = ((($815)) + 4|0);
+ $822 = HEAP32[$821>>2]|0;
+ $823 = ($822|0)==(0|0);
+ if ($823) {
break;
}
- $162 = HEAP32[(33544)>>2]|0;
- $cmp189$i$i = ($162>>>0)>($161>>>0);
- if ($cmp189$i$i) {
+ $824 = HEAP32[(33584)>>2]|0;
+ $825 = ($824>>>0)>($822>>>0);
+ if ($825) {
_abort();
// unreachable;
} else {
- $arrayidx195$i$i = ((($R$3$i$i)) + 20|0);
- HEAP32[$arrayidx195$i$i>>2] = $161;
- $parent196$i$i = ((($161)) + 24|0);
- HEAP32[$parent196$i$i>>2] = $R$3$i$i;
+ $826 = ((($$3$i$i)) + 20|0);
+ HEAP32[$826>>2] = $822;
+ $827 = ((($822)) + 24|0);
+ HEAP32[$827>>2] = $$3$i$i;
break;
}
}
} while(0);
- $add$ptr205$i$i = (($add$ptr16$i$i) + ($and37$i$i)|0);
- $add206$i$i = (($and37$i$i) + ($sub18$i$i))|0;
- $oldfirst$0$i$i = $add$ptr205$i$i;$qsize$0$i$i = $add206$i$i;
+ $828 = (($718) + ($742)|0);
+ $829 = (($742) + ($723))|0;
+ $$0$i17$i = $828;$$0287$i$i = $829;
} else {
- $oldfirst$0$i$i = $add$ptr16$i$i;$qsize$0$i$i = $sub18$i$i;
+ $$0$i17$i = $718;$$0287$i$i = $723;
}
- $head208$i$i = ((($oldfirst$0$i$i)) + 4|0);
- $163 = HEAP32[$head208$i$i>>2]|0;
- $and209$i$i = $163 & -2;
- HEAP32[$head208$i$i>>2] = $and209$i$i;
- $or210$i$i = $qsize$0$i$i | 1;
- $head211$i$i = ((($add$ptr17$i$i)) + 4|0);
- HEAP32[$head211$i$i>>2] = $or210$i$i;
- $add$ptr212$i$i = (($add$ptr17$i$i) + ($qsize$0$i$i)|0);
- HEAP32[$add$ptr212$i$i>>2] = $qsize$0$i$i;
- $shr214$i$i = $qsize$0$i$i >>> 3;
- $cmp215$i$i = ($qsize$0$i$i>>>0)<(256);
- if ($cmp215$i$i) {
- $shl222$i$i = $shr214$i$i << 1;
- $arrayidx223$i$i = (33568 + ($shl222$i$i<<2)|0);
- $164 = HEAP32[8382]|0;
- $shl226$i$i = 1 << $shr214$i$i;
- $and227$i$i = $164 & $shl226$i$i;
- $tobool228$i$i = ($and227$i$i|0)==(0);
+ $830 = ((($$0$i17$i)) + 4|0);
+ $831 = HEAP32[$830>>2]|0;
+ $832 = $831 & -2;
+ HEAP32[$830>>2] = $832;
+ $833 = $$0287$i$i | 1;
+ $834 = ((($722)) + 4|0);
+ HEAP32[$834>>2] = $833;
+ $835 = (($722) + ($$0287$i$i)|0);
+ HEAP32[$835>>2] = $$0287$i$i;
+ $836 = $$0287$i$i >>> 3;
+ $837 = ($$0287$i$i>>>0)<(256);
+ if ($837) {
+ $838 = $836 << 1;
+ $839 = (33608 + ($838<<2)|0);
+ $840 = HEAP32[8392]|0;
+ $841 = 1 << $836;
+ $842 = $840 & $841;
+ $843 = ($842|0)==(0);
do {
- if ($tobool228$i$i) {
- $or232$i$i = $164 | $shl226$i$i;
- HEAP32[8382] = $or232$i$i;
- $$pre$i44$i = ((($arrayidx223$i$i)) + 8|0);
- $$pre$phi$i45$iZ2D = $$pre$i44$i;$F224$0$i$i = $arrayidx223$i$i;
+ if ($843) {
+ $844 = $840 | $841;
+ HEAP32[8392] = $844;
+ $$pre$i18$i = ((($839)) + 8|0);
+ $$0295$i$i = $839;$$pre$phi$i19$iZ2D = $$pre$i18$i;
} else {
- $165 = ((($arrayidx223$i$i)) + 8|0);
- $166 = HEAP32[$165>>2]|0;
- $167 = HEAP32[(33544)>>2]|0;
- $cmp236$i$i = ($167>>>0)>($166>>>0);
- if (!($cmp236$i$i)) {
- $$pre$phi$i45$iZ2D = $165;$F224$0$i$i = $166;
+ $845 = ((($839)) + 8|0);
+ $846 = HEAP32[$845>>2]|0;
+ $847 = HEAP32[(33584)>>2]|0;
+ $848 = ($847>>>0)>($846>>>0);
+ if (!($848)) {
+ $$0295$i$i = $846;$$pre$phi$i19$iZ2D = $845;
break;
}
_abort();
// unreachable;
}
} while(0);
- HEAP32[$$pre$phi$i45$iZ2D>>2] = $add$ptr17$i$i;
- $bk246$i$i = ((($F224$0$i$i)) + 12|0);
- HEAP32[$bk246$i$i>>2] = $add$ptr17$i$i;
- $fd247$i$i = ((($add$ptr17$i$i)) + 8|0);
- HEAP32[$fd247$i$i>>2] = $F224$0$i$i;
- $bk248$i$i = ((($add$ptr17$i$i)) + 12|0);
- HEAP32[$bk248$i$i>>2] = $arrayidx223$i$i;
+ HEAP32[$$pre$phi$i19$iZ2D>>2] = $722;
+ $849 = ((($$0295$i$i)) + 12|0);
+ HEAP32[$849>>2] = $722;
+ $850 = ((($722)) + 8|0);
+ HEAP32[$850>>2] = $$0295$i$i;
+ $851 = ((($722)) + 12|0);
+ HEAP32[$851>>2] = $839;
break;
}
- $shr253$i$i = $qsize$0$i$i >>> 8;
- $cmp254$i$i = ($shr253$i$i|0)==(0);
+ $852 = $$0287$i$i >>> 8;
+ $853 = ($852|0)==(0);
do {
- if ($cmp254$i$i) {
- $I252$0$i$i = 0;
+ if ($853) {
+ $$0296$i$i = 0;
} else {
- $cmp258$i$i = ($qsize$0$i$i>>>0)>(16777215);
- if ($cmp258$i$i) {
- $I252$0$i$i = 31;
+ $854 = ($$0287$i$i>>>0)>(16777215);
+ if ($854) {
+ $$0296$i$i = 31;
break;
}
- $sub262$i$i = (($shr253$i$i) + 1048320)|0;
- $shr263$i$i = $sub262$i$i >>> 16;
- $and264$i$i = $shr263$i$i & 8;
- $shl265$i$i = $shr253$i$i << $and264$i$i;
- $sub266$i$i = (($shl265$i$i) + 520192)|0;
- $shr267$i$i = $sub266$i$i >>> 16;
- $and268$i$i = $shr267$i$i & 4;
- $add269$i$i = $and268$i$i | $and264$i$i;
- $shl270$i$i = $shl265$i$i << $and268$i$i;
- $sub271$i$i = (($shl270$i$i) + 245760)|0;
- $shr272$i$i = $sub271$i$i >>> 16;
- $and273$i$i = $shr272$i$i & 2;
- $add274$i$i = $add269$i$i | $and273$i$i;
- $sub275$i$i = (14 - ($add274$i$i))|0;
- $shl276$i$i = $shl270$i$i << $and273$i$i;
- $shr277$i$i = $shl276$i$i >>> 15;
- $add278$i$i = (($sub275$i$i) + ($shr277$i$i))|0;
- $shl279$i$i = $add278$i$i << 1;
- $add280$i$i = (($add278$i$i) + 7)|0;
- $shr281$i$i = $qsize$0$i$i >>> $add280$i$i;
- $and282$i$i = $shr281$i$i & 1;
- $add283$i$i = $and282$i$i | $shl279$i$i;
- $I252$0$i$i = $add283$i$i;
+ $855 = (($852) + 1048320)|0;
+ $856 = $855 >>> 16;
+ $857 = $856 & 8;
+ $858 = $852 << $857;
+ $859 = (($858) + 520192)|0;
+ $860 = $859 >>> 16;
+ $861 = $860 & 4;
+ $862 = $861 | $857;
+ $863 = $858 << $861;
+ $864 = (($863) + 245760)|0;
+ $865 = $864 >>> 16;
+ $866 = $865 & 2;
+ $867 = $862 | $866;
+ $868 = (14 - ($867))|0;
+ $869 = $863 << $866;
+ $870 = $869 >>> 15;
+ $871 = (($868) + ($870))|0;
+ $872 = $871 << 1;
+ $873 = (($871) + 7)|0;
+ $874 = $$0287$i$i >>> $873;
+ $875 = $874 & 1;
+ $876 = $875 | $872;
+ $$0296$i$i = $876;
}
} while(0);
- $arrayidx287$i$i = (33832 + ($I252$0$i$i<<2)|0);
- $index288$i$i = ((($add$ptr17$i$i)) + 28|0);
- HEAP32[$index288$i$i>>2] = $I252$0$i$i;
- $child289$i$i = ((($add$ptr17$i$i)) + 16|0);
- $arrayidx290$i$i = ((($child289$i$i)) + 4|0);
- HEAP32[$arrayidx290$i$i>>2] = 0;
- HEAP32[$child289$i$i>>2] = 0;
- $168 = HEAP32[(33532)>>2]|0;
- $shl294$i$i = 1 << $I252$0$i$i;
- $and295$i$i = $168 & $shl294$i$i;
- $tobool296$i$i = ($and295$i$i|0)==(0);
- if ($tobool296$i$i) {
- $or300$i$i = $168 | $shl294$i$i;
- HEAP32[(33532)>>2] = $or300$i$i;
- HEAP32[$arrayidx287$i$i>>2] = $add$ptr17$i$i;
- $parent301$i$i = ((($add$ptr17$i$i)) + 24|0);
- HEAP32[$parent301$i$i>>2] = $arrayidx287$i$i;
- $bk302$i$i = ((($add$ptr17$i$i)) + 12|0);
- HEAP32[$bk302$i$i>>2] = $add$ptr17$i$i;
- $fd303$i$i = ((($add$ptr17$i$i)) + 8|0);
- HEAP32[$fd303$i$i>>2] = $add$ptr17$i$i;
+ $877 = (33872 + ($$0296$i$i<<2)|0);
+ $878 = ((($722)) + 28|0);
+ HEAP32[$878>>2] = $$0296$i$i;
+ $879 = ((($722)) + 16|0);
+ $880 = ((($879)) + 4|0);
+ HEAP32[$880>>2] = 0;
+ HEAP32[$879>>2] = 0;
+ $881 = HEAP32[(33572)>>2]|0;
+ $882 = 1 << $$0296$i$i;
+ $883 = $881 & $882;
+ $884 = ($883|0)==(0);
+ if ($884) {
+ $885 = $881 | $882;
+ HEAP32[(33572)>>2] = $885;
+ HEAP32[$877>>2] = $722;
+ $886 = ((($722)) + 24|0);
+ HEAP32[$886>>2] = $877;
+ $887 = ((($722)) + 12|0);
+ HEAP32[$887>>2] = $722;
+ $888 = ((($722)) + 8|0);
+ HEAP32[$888>>2] = $722;
break;
}
- $169 = HEAP32[$arrayidx287$i$i>>2]|0;
- $cmp306$i$i = ($I252$0$i$i|0)==(31);
- $shr310$i$i = $I252$0$i$i >>> 1;
- $sub313$i$i = (25 - ($shr310$i$i))|0;
- $cond315$i$i = $cmp306$i$i ? 0 : $sub313$i$i;
- $shl316$i$i = $qsize$0$i$i << $cond315$i$i;
- $K305$0$i$i = $shl316$i$i;$T$0$i46$i = $169;
+ $889 = HEAP32[$877>>2]|0;
+ $890 = ($$0296$i$i|0)==(31);
+ $891 = $$0296$i$i >>> 1;
+ $892 = (25 - ($891))|0;
+ $893 = $890 ? 0 : $892;
+ $894 = $$0287$i$i << $893;
+ $$0288$i$i = $894;$$0289$i$i = $889;
while(1) {
- $head317$i$i = ((($T$0$i46$i)) + 4|0);
- $170 = HEAP32[$head317$i$i>>2]|0;
- $and318$i$i = $170 & -8;
- $cmp319$i$i = ($and318$i$i|0)==($qsize$0$i$i|0);
- if ($cmp319$i$i) {
+ $895 = ((($$0289$i$i)) + 4|0);
+ $896 = HEAP32[$895>>2]|0;
+ $897 = $896 & -8;
+ $898 = ($897|0)==($$0287$i$i|0);
+ if ($898) {
label = 263;
break;
}
- $shr323$i$i = $K305$0$i$i >>> 31;
- $arrayidx325$i$i = (((($T$0$i46$i)) + 16|0) + ($shr323$i$i<<2)|0);
- $shl326$i$i = $K305$0$i$i << 1;
- $171 = HEAP32[$arrayidx325$i$i>>2]|0;
- $cmp327$i$i = ($171|0)==(0|0);
- if ($cmp327$i$i) {
+ $899 = $$0288$i$i >>> 31;
+ $900 = (((($$0289$i$i)) + 16|0) + ($899<<2)|0);
+ $901 = $$0288$i$i << 1;
+ $902 = HEAP32[$900>>2]|0;
+ $903 = ($902|0)==(0|0);
+ if ($903) {
label = 260;
break;
} else {
- $K305$0$i$i = $shl326$i$i;$T$0$i46$i = $171;
+ $$0288$i$i = $901;$$0289$i$i = $902;
}
}
if ((label|0) == 260) {
- $172 = HEAP32[(33544)>>2]|0;
- $cmp332$i$i = ($172>>>0)>($arrayidx325$i$i>>>0);
- if ($cmp332$i$i) {
+ $904 = HEAP32[(33584)>>2]|0;
+ $905 = ($904>>>0)>($900>>>0);
+ if ($905) {
_abort();
// unreachable;
} else {
- HEAP32[$arrayidx325$i$i>>2] = $add$ptr17$i$i;
- $parent337$i$i = ((($add$ptr17$i$i)) + 24|0);
- HEAP32[$parent337$i$i>>2] = $T$0$i46$i;
- $bk338$i$i = ((($add$ptr17$i$i)) + 12|0);
- HEAP32[$bk338$i$i>>2] = $add$ptr17$i$i;
- $fd339$i$i = ((($add$ptr17$i$i)) + 8|0);
- HEAP32[$fd339$i$i>>2] = $add$ptr17$i$i;
+ HEAP32[$900>>2] = $722;
+ $906 = ((($722)) + 24|0);
+ HEAP32[$906>>2] = $$0289$i$i;
+ $907 = ((($722)) + 12|0);
+ HEAP32[$907>>2] = $722;
+ $908 = ((($722)) + 8|0);
+ HEAP32[$908>>2] = $722;
break;
}
}
else if ((label|0) == 263) {
- $fd344$i$i = ((($T$0$i46$i)) + 8|0);
- $173 = HEAP32[$fd344$i$i>>2]|0;
- $174 = HEAP32[(33544)>>2]|0;
- $cmp346$i$i = ($174>>>0)<=($T$0$i46$i>>>0);
- $cmp350$i$i = ($174>>>0)<=($173>>>0);
- $175 = $cmp350$i$i & $cmp346$i$i;
- if ($175) {
- $bk357$i$i = ((($173)) + 12|0);
- HEAP32[$bk357$i$i>>2] = $add$ptr17$i$i;
- HEAP32[$fd344$i$i>>2] = $add$ptr17$i$i;
- $fd359$i$i = ((($add$ptr17$i$i)) + 8|0);
- HEAP32[$fd359$i$i>>2] = $173;
- $bk360$i$i = ((($add$ptr17$i$i)) + 12|0);
- HEAP32[$bk360$i$i>>2] = $T$0$i46$i;
- $parent361$i$i = ((($add$ptr17$i$i)) + 24|0);
- HEAP32[$parent361$i$i>>2] = 0;
+ $909 = ((($$0289$i$i)) + 8|0);
+ $910 = HEAP32[$909>>2]|0;
+ $911 = HEAP32[(33584)>>2]|0;
+ $912 = ($911>>>0)<=($$0289$i$i>>>0);
+ $913 = ($911>>>0)<=($910>>>0);
+ $914 = $913 & $912;
+ if ($914) {
+ $915 = ((($910)) + 12|0);
+ HEAP32[$915>>2] = $722;
+ HEAP32[$909>>2] = $722;
+ $916 = ((($722)) + 8|0);
+ HEAP32[$916>>2] = $910;
+ $917 = ((($722)) + 12|0);
+ HEAP32[$917>>2] = $$0289$i$i;
+ $918 = ((($722)) + 24|0);
+ HEAP32[$918>>2] = 0;
break;
} else {
_abort();
@@ -98694,247 +98695,247 @@ function _malloc($bytes) {
}
}
} while(0);
- $add$ptr369$i$i = ((($add$ptr4$i25$i)) + 8|0);
- $retval$0 = $add$ptr369$i$i;
- STACKTOP = sp;return ($retval$0|0);
+ $1051 = ((($710)) + 8|0);
+ $$0 = $1051;
+ STACKTOP = sp;return ($$0|0);
} else {
- $sp$0$i$i$i = (33976);
+ $$0$i$i$i = (34016);
}
}
while(1) {
- $176 = HEAP32[$sp$0$i$i$i>>2]|0;
- $cmp$i$i$i = ($176>>>0)>($116>>>0);
- if (!($cmp$i$i$i)) {
- $size$i$i$i = ((($sp$0$i$i$i)) + 4|0);
- $177 = HEAP32[$size$i$i$i>>2]|0;
- $add$ptr$i$i$i = (($176) + ($177)|0);
- $cmp2$i$i$i = ($add$ptr$i$i$i>>>0)>($116>>>0);
- if ($cmp2$i$i$i) {
+ $919 = HEAP32[$$0$i$i$i>>2]|0;
+ $920 = ($919>>>0)>($636>>>0);
+ if (!($920)) {
+ $921 = ((($$0$i$i$i)) + 4|0);
+ $922 = HEAP32[$921>>2]|0;
+ $923 = (($919) + ($922)|0);
+ $924 = ($923>>>0)>($636>>>0);
+ if ($924) {
break;
}
}
- $next$i$i$i = ((($sp$0$i$i$i)) + 8|0);
- $178 = HEAP32[$next$i$i$i>>2]|0;
- $sp$0$i$i$i = $178;
+ $925 = ((($$0$i$i$i)) + 8|0);
+ $926 = HEAP32[$925>>2]|0;
+ $$0$i$i$i = $926;
}
- $add$ptr2$i$i = ((($add$ptr$i$i$i)) + -47|0);
- $add$ptr3$i$i = ((($add$ptr2$i$i)) + 8|0);
- $179 = $add$ptr3$i$i;
- $and$i$i = $179 & 7;
- $cmp$i9$i = ($and$i$i|0)==(0);
- $sub$i$i = (0 - ($179))|0;
- $and6$i10$i = $sub$i$i & 7;
- $cond$i$i = $cmp$i9$i ? 0 : $and6$i10$i;
- $add$ptr7$i$i = (($add$ptr2$i$i) + ($cond$i$i)|0);
- $add$ptr81$i$i = ((($116)) + 16|0);
- $cmp9$i$i = ($add$ptr7$i$i>>>0)<($add$ptr81$i$i>>>0);
- $cond13$i$i = $cmp9$i$i ? $116 : $add$ptr7$i$i;
- $add$ptr14$i$i = ((($cond13$i$i)) + 8|0);
- $add$ptr15$i$i = ((($cond13$i$i)) + 24|0);
- $sub16$i$i = (($tsize$795$i) + -40)|0;
- $add$ptr$i3$i$i = ((($tbase$796$i)) + 8|0);
- $180 = $add$ptr$i3$i$i;
- $and$i$i$i = $180 & 7;
- $cmp$i4$i$i = ($and$i$i$i|0)==(0);
- $sub$i$i$i = (0 - ($180))|0;
- $and3$i$i$i = $sub$i$i$i & 7;
- $cond$i$i$i = $cmp$i4$i$i ? 0 : $and3$i$i$i;
- $add$ptr4$i$i$i = (($tbase$796$i) + ($cond$i$i$i)|0);
- $sub5$i$i$i = (($sub16$i$i) - ($cond$i$i$i))|0;
- HEAP32[(33552)>>2] = $add$ptr4$i$i$i;
- HEAP32[(33540)>>2] = $sub5$i$i$i;
- $or$i$i$i = $sub5$i$i$i | 1;
- $head$i$i$i = ((($add$ptr4$i$i$i)) + 4|0);
- HEAP32[$head$i$i$i>>2] = $or$i$i$i;
- $add$ptr6$i$i$i = (($tbase$796$i) + ($sub16$i$i)|0);
- $head7$i$i$i = ((($add$ptr6$i$i$i)) + 4|0);
- HEAP32[$head7$i$i$i>>2] = 40;
- $181 = HEAP32[(34016)>>2]|0;
- HEAP32[(33556)>>2] = $181;
- $head$i$i = ((($cond13$i$i)) + 4|0);
- HEAP32[$head$i$i>>2] = 27;
- ;HEAP32[$add$ptr14$i$i>>2]=HEAP32[(33976)>>2]|0;HEAP32[$add$ptr14$i$i+4>>2]=HEAP32[(33976)+4>>2]|0;HEAP32[$add$ptr14$i$i+8>>2]=HEAP32[(33976)+8>>2]|0;HEAP32[$add$ptr14$i$i+12>>2]=HEAP32[(33976)+12>>2]|0;
- HEAP32[(33976)>>2] = $tbase$796$i;
- HEAP32[(33980)>>2] = $tsize$795$i;
- HEAP32[(33988)>>2] = 0;
- HEAP32[(33984)>>2] = $add$ptr14$i$i;
- $182 = $add$ptr15$i$i;
+ $927 = ((($923)) + -47|0);
+ $928 = ((($927)) + 8|0);
+ $929 = $928;
+ $930 = $929 & 7;
+ $931 = ($930|0)==(0);
+ $932 = (0 - ($929))|0;
+ $933 = $932 & 7;
+ $934 = $931 ? 0 : $933;
+ $935 = (($927) + ($934)|0);
+ $936 = ((($636)) + 16|0);
+ $937 = ($935>>>0)<($936>>>0);
+ $938 = $937 ? $636 : $935;
+ $939 = ((($938)) + 8|0);
+ $940 = ((($938)) + 24|0);
+ $941 = (($$723947$i) + -40)|0;
+ $942 = ((($$748$i)) + 8|0);
+ $943 = $942;
+ $944 = $943 & 7;
+ $945 = ($944|0)==(0);
+ $946 = (0 - ($943))|0;
+ $947 = $946 & 7;
+ $948 = $945 ? 0 : $947;
+ $949 = (($$748$i) + ($948)|0);
+ $950 = (($941) - ($948))|0;
+ HEAP32[(33592)>>2] = $949;
+ HEAP32[(33580)>>2] = $950;
+ $951 = $950 | 1;
+ $952 = ((($949)) + 4|0);
+ HEAP32[$952>>2] = $951;
+ $953 = (($$748$i) + ($941)|0);
+ $954 = ((($953)) + 4|0);
+ HEAP32[$954>>2] = 40;
+ $955 = HEAP32[(34056)>>2]|0;
+ HEAP32[(33596)>>2] = $955;
+ $956 = ((($938)) + 4|0);
+ HEAP32[$956>>2] = 27;
+ ;HEAP32[$939>>2]=HEAP32[(34016)>>2]|0;HEAP32[$939+4>>2]=HEAP32[(34016)+4>>2]|0;HEAP32[$939+8>>2]=HEAP32[(34016)+8>>2]|0;HEAP32[$939+12>>2]=HEAP32[(34016)+12>>2]|0;
+ HEAP32[(34016)>>2] = $$748$i;
+ HEAP32[(34020)>>2] = $$723947$i;
+ HEAP32[(34028)>>2] = 0;
+ HEAP32[(34024)>>2] = $939;
+ $958 = $940;
while(1) {
- $add$ptr24$i$i = ((($182)) + 4|0);
- HEAP32[$add$ptr24$i$i>>2] = 7;
- $head26$i$i = ((($182)) + 8|0);
- $cmp27$i$i = ($head26$i$i>>>0)<($add$ptr$i$i$i>>>0);
- if ($cmp27$i$i) {
- $182 = $add$ptr24$i$i;
+ $957 = ((($958)) + 4|0);
+ HEAP32[$957>>2] = 7;
+ $959 = ((($958)) + 8|0);
+ $960 = ($959>>>0)<($923>>>0);
+ if ($960) {
+ $958 = $957;
} else {
break;
}
}
- $cmp28$i$i = ($cond13$i$i|0)==($116|0);
- if (!($cmp28$i$i)) {
- $sub$ptr$lhs$cast$i$i = $cond13$i$i;
- $sub$ptr$rhs$cast$i$i = $116;
- $sub$ptr$sub$i$i = (($sub$ptr$lhs$cast$i$i) - ($sub$ptr$rhs$cast$i$i))|0;
- $183 = HEAP32[$head$i$i>>2]|0;
- $and32$i$i = $183 & -2;
- HEAP32[$head$i$i>>2] = $and32$i$i;
- $or33$i$i = $sub$ptr$sub$i$i | 1;
- $head34$i$i = ((($116)) + 4|0);
- HEAP32[$head34$i$i>>2] = $or33$i$i;
- HEAP32[$cond13$i$i>>2] = $sub$ptr$sub$i$i;
- $shr$i$i = $sub$ptr$sub$i$i >>> 3;
- $cmp36$i$i = ($sub$ptr$sub$i$i>>>0)<(256);
- if ($cmp36$i$i) {
- $shl$i$i = $shr$i$i << 1;
- $arrayidx$i$i = (33568 + ($shl$i$i<<2)|0);
- $184 = HEAP32[8382]|0;
- $shl39$i$i = 1 << $shr$i$i;
- $and40$i$i = $184 & $shl39$i$i;
- $tobool$i$i = ($and40$i$i|0)==(0);
- if ($tobool$i$i) {
- $or44$i$i = $184 | $shl39$i$i;
- HEAP32[8382] = $or44$i$i;
- $$pre$i$i = ((($arrayidx$i$i)) + 8|0);
- $$pre$phi$i$iZ2D = $$pre$i$i;$F$0$i$i = $arrayidx$i$i;
+ $961 = ($938|0)==($636|0);
+ if (!($961)) {
+ $962 = $938;
+ $963 = $636;
+ $964 = (($962) - ($963))|0;
+ $965 = HEAP32[$956>>2]|0;
+ $966 = $965 & -2;
+ HEAP32[$956>>2] = $966;
+ $967 = $964 | 1;
+ $968 = ((($636)) + 4|0);
+ HEAP32[$968>>2] = $967;
+ HEAP32[$938>>2] = $964;
+ $969 = $964 >>> 3;
+ $970 = ($964>>>0)<(256);
+ if ($970) {
+ $971 = $969 << 1;
+ $972 = (33608 + ($971<<2)|0);
+ $973 = HEAP32[8392]|0;
+ $974 = 1 << $969;
+ $975 = $973 & $974;
+ $976 = ($975|0)==(0);
+ if ($976) {
+ $977 = $973 | $974;
+ HEAP32[8392] = $977;
+ $$pre$i$i = ((($972)) + 8|0);
+ $$0211$i$i = $972;$$pre$phi$i$iZ2D = $$pre$i$i;
} else {
- $185 = ((($arrayidx$i$i)) + 8|0);
- $186 = HEAP32[$185>>2]|0;
- $187 = HEAP32[(33544)>>2]|0;
- $cmp46$i$i = ($187>>>0)>($186>>>0);
- if ($cmp46$i$i) {
+ $978 = ((($972)) + 8|0);
+ $979 = HEAP32[$978>>2]|0;
+ $980 = HEAP32[(33584)>>2]|0;
+ $981 = ($980>>>0)>($979>>>0);
+ if ($981) {
_abort();
// unreachable;
} else {
- $$pre$phi$i$iZ2D = $185;$F$0$i$i = $186;
+ $$0211$i$i = $979;$$pre$phi$i$iZ2D = $978;
}
}
- HEAP32[$$pre$phi$i$iZ2D>>2] = $116;
- $bk$i$i = ((($F$0$i$i)) + 12|0);
- HEAP32[$bk$i$i>>2] = $116;
- $fd54$i$i = ((($116)) + 8|0);
- HEAP32[$fd54$i$i>>2] = $F$0$i$i;
- $bk55$i$i = ((($116)) + 12|0);
- HEAP32[$bk55$i$i>>2] = $arrayidx$i$i;
+ HEAP32[$$pre$phi$i$iZ2D>>2] = $636;
+ $982 = ((($$0211$i$i)) + 12|0);
+ HEAP32[$982>>2] = $636;
+ $983 = ((($636)) + 8|0);
+ HEAP32[$983>>2] = $$0211$i$i;
+ $984 = ((($636)) + 12|0);
+ HEAP32[$984>>2] = $972;
break;
}
- $shr58$i$i = $sub$ptr$sub$i$i >>> 8;
- $cmp59$i$i = ($shr58$i$i|0)==(0);
- if ($cmp59$i$i) {
- $I57$0$i$i = 0;
+ $985 = $964 >>> 8;
+ $986 = ($985|0)==(0);
+ if ($986) {
+ $$0212$i$i = 0;
} else {
- $cmp63$i$i = ($sub$ptr$sub$i$i>>>0)>(16777215);
- if ($cmp63$i$i) {
- $I57$0$i$i = 31;
+ $987 = ($964>>>0)>(16777215);
+ if ($987) {
+ $$0212$i$i = 31;
} else {
- $sub67$i$i = (($shr58$i$i) + 1048320)|0;
- $shr68$i$i = $sub67$i$i >>> 16;
- $and69$i$i = $shr68$i$i & 8;
- $shl70$i$i = $shr58$i$i << $and69$i$i;
- $sub71$i$i = (($shl70$i$i) + 520192)|0;
- $shr72$i$i = $sub71$i$i >>> 16;
- $and73$i$i = $shr72$i$i & 4;
- $add74$i$i = $and73$i$i | $and69$i$i;
- $shl75$i$i = $shl70$i$i << $and73$i$i;
- $sub76$i$i = (($shl75$i$i) + 245760)|0;
- $shr77$i$i = $sub76$i$i >>> 16;
- $and78$i$i = $shr77$i$i & 2;
- $add79$i$i = $add74$i$i | $and78$i$i;
- $sub80$i$i = (14 - ($add79$i$i))|0;
- $shl81$i$i = $shl75$i$i << $and78$i$i;
- $shr82$i$i = $shl81$i$i >>> 15;
- $add83$i$i = (($sub80$i$i) + ($shr82$i$i))|0;
- $shl84$i$i = $add83$i$i << 1;
- $add85$i$i = (($add83$i$i) + 7)|0;
- $shr86$i$i = $sub$ptr$sub$i$i >>> $add85$i$i;
- $and87$i$i = $shr86$i$i & 1;
- $add88$i$i = $and87$i$i | $shl84$i$i;
- $I57$0$i$i = $add88$i$i;
+ $988 = (($985) + 1048320)|0;
+ $989 = $988 >>> 16;
+ $990 = $989 & 8;
+ $991 = $985 << $990;
+ $992 = (($991) + 520192)|0;
+ $993 = $992 >>> 16;
+ $994 = $993 & 4;
+ $995 = $994 | $990;
+ $996 = $991 << $994;
+ $997 = (($996) + 245760)|0;
+ $998 = $997 >>> 16;
+ $999 = $998 & 2;
+ $1000 = $995 | $999;
+ $1001 = (14 - ($1000))|0;
+ $1002 = $996 << $999;
+ $1003 = $1002 >>> 15;
+ $1004 = (($1001) + ($1003))|0;
+ $1005 = $1004 << 1;
+ $1006 = (($1004) + 7)|0;
+ $1007 = $964 >>> $1006;
+ $1008 = $1007 & 1;
+ $1009 = $1008 | $1005;
+ $$0212$i$i = $1009;
}
}
- $arrayidx91$i$i = (33832 + ($I57$0$i$i<<2)|0);
- $index$i$i = ((($116)) + 28|0);
- HEAP32[$index$i$i>>2] = $I57$0$i$i;
- $arrayidx92$i$i = ((($116)) + 20|0);
- HEAP32[$arrayidx92$i$i>>2] = 0;
- HEAP32[$add$ptr81$i$i>>2] = 0;
- $188 = HEAP32[(33532)>>2]|0;
- $shl95$i$i = 1 << $I57$0$i$i;
- $and96$i$i = $188 & $shl95$i$i;
- $tobool97$i$i = ($and96$i$i|0)==(0);
- if ($tobool97$i$i) {
- $or101$i$i = $188 | $shl95$i$i;
- HEAP32[(33532)>>2] = $or101$i$i;
- HEAP32[$arrayidx91$i$i>>2] = $116;
- $parent$i$i = ((($116)) + 24|0);
- HEAP32[$parent$i$i>>2] = $arrayidx91$i$i;
- $bk102$i$i = ((($116)) + 12|0);
- HEAP32[$bk102$i$i>>2] = $116;
- $fd103$i$i = ((($116)) + 8|0);
- HEAP32[$fd103$i$i>>2] = $116;
+ $1010 = (33872 + ($$0212$i$i<<2)|0);
+ $1011 = ((($636)) + 28|0);
+ HEAP32[$1011>>2] = $$0212$i$i;
+ $1012 = ((($636)) + 20|0);
+ HEAP32[$1012>>2] = 0;
+ HEAP32[$936>>2] = 0;
+ $1013 = HEAP32[(33572)>>2]|0;
+ $1014 = 1 << $$0212$i$i;
+ $1015 = $1013 & $1014;
+ $1016 = ($1015|0)==(0);
+ if ($1016) {
+ $1017 = $1013 | $1014;
+ HEAP32[(33572)>>2] = $1017;
+ HEAP32[$1010>>2] = $636;
+ $1018 = ((($636)) + 24|0);
+ HEAP32[$1018>>2] = $1010;
+ $1019 = ((($636)) + 12|0);
+ HEAP32[$1019>>2] = $636;
+ $1020 = ((($636)) + 8|0);
+ HEAP32[$1020>>2] = $636;
break;
}
- $189 = HEAP32[$arrayidx91$i$i>>2]|0;
- $cmp106$i$i = ($I57$0$i$i|0)==(31);
- $shr110$i$i = $I57$0$i$i >>> 1;
- $sub113$i$i = (25 - ($shr110$i$i))|0;
- $cond115$i$i = $cmp106$i$i ? 0 : $sub113$i$i;
- $shl116$i$i = $sub$ptr$sub$i$i << $cond115$i$i;
- $K105$0$i$i = $shl116$i$i;$T$0$i$i = $189;
+ $1021 = HEAP32[$1010>>2]|0;
+ $1022 = ($$0212$i$i|0)==(31);
+ $1023 = $$0212$i$i >>> 1;
+ $1024 = (25 - ($1023))|0;
+ $1025 = $1022 ? 0 : $1024;
+ $1026 = $964 << $1025;
+ $$0206$i$i = $1026;$$0207$i$i = $1021;
while(1) {
- $head118$i$i = ((($T$0$i$i)) + 4|0);
- $190 = HEAP32[$head118$i$i>>2]|0;
- $and119$i$i = $190 & -8;
- $cmp120$i$i = ($and119$i$i|0)==($sub$ptr$sub$i$i|0);
- if ($cmp120$i$i) {
+ $1027 = ((($$0207$i$i)) + 4|0);
+ $1028 = HEAP32[$1027>>2]|0;
+ $1029 = $1028 & -8;
+ $1030 = ($1029|0)==($964|0);
+ if ($1030) {
label = 289;
break;
}
- $shr124$i$i = $K105$0$i$i >>> 31;
- $arrayidx126$i$i = (((($T$0$i$i)) + 16|0) + ($shr124$i$i<<2)|0);
- $shl127$i$i = $K105$0$i$i << 1;
- $191 = HEAP32[$arrayidx126$i$i>>2]|0;
- $cmp128$i$i = ($191|0)==(0|0);
- if ($cmp128$i$i) {
+ $1031 = $$0206$i$i >>> 31;
+ $1032 = (((($$0207$i$i)) + 16|0) + ($1031<<2)|0);
+ $1033 = $$0206$i$i << 1;
+ $1034 = HEAP32[$1032>>2]|0;
+ $1035 = ($1034|0)==(0|0);
+ if ($1035) {
label = 286;
break;
} else {
- $K105$0$i$i = $shl127$i$i;$T$0$i$i = $191;
+ $$0206$i$i = $1033;$$0207$i$i = $1034;
}
}
if ((label|0) == 286) {
- $192 = HEAP32[(33544)>>2]|0;
- $cmp133$i$i = ($192>>>0)>($arrayidx126$i$i>>>0);
- if ($cmp133$i$i) {
+ $1036 = HEAP32[(33584)>>2]|0;
+ $1037 = ($1036>>>0)>($1032>>>0);
+ if ($1037) {
_abort();
// unreachable;
} else {
- HEAP32[$arrayidx126$i$i>>2] = $116;
- $parent138$i$i = ((($116)) + 24|0);
- HEAP32[$parent138$i$i>>2] = $T$0$i$i;
- $bk139$i$i = ((($116)) + 12|0);
- HEAP32[$bk139$i$i>>2] = $116;
- $fd140$i$i = ((($116)) + 8|0);
- HEAP32[$fd140$i$i>>2] = $116;
+ HEAP32[$1032>>2] = $636;
+ $1038 = ((($636)) + 24|0);
+ HEAP32[$1038>>2] = $$0207$i$i;
+ $1039 = ((($636)) + 12|0);
+ HEAP32[$1039>>2] = $636;
+ $1040 = ((($636)) + 8|0);
+ HEAP32[$1040>>2] = $636;
break;
}
}
else if ((label|0) == 289) {
- $fd148$i$i = ((($T$0$i$i)) + 8|0);
- $193 = HEAP32[$fd148$i$i>>2]|0;
- $194 = HEAP32[(33544)>>2]|0;
- $cmp150$i$i = ($194>>>0)<=($T$0$i$i>>>0);
- $cmp153$i$i = ($194>>>0)<=($193>>>0);
- $195 = $cmp153$i$i & $cmp150$i$i;
- if ($195) {
- $bk158$i$i = ((($193)) + 12|0);
- HEAP32[$bk158$i$i>>2] = $116;
- HEAP32[$fd148$i$i>>2] = $116;
- $fd160$i$i = ((($116)) + 8|0);
- HEAP32[$fd160$i$i>>2] = $193;
- $bk161$i$i = ((($116)) + 12|0);
- HEAP32[$bk161$i$i>>2] = $T$0$i$i;
- $parent162$i$i = ((($116)) + 24|0);
- HEAP32[$parent162$i$i>>2] = 0;
+ $1041 = ((($$0207$i$i)) + 8|0);
+ $1042 = HEAP32[$1041>>2]|0;
+ $1043 = HEAP32[(33584)>>2]|0;
+ $1044 = ($1043>>>0)<=($$0207$i$i>>>0);
+ $1045 = ($1043>>>0)<=($1042>>>0);
+ $1046 = $1045 & $1044;
+ if ($1046) {
+ $1047 = ((($1042)) + 12|0);
+ HEAP32[$1047>>2] = $636;
+ HEAP32[$1041>>2] = $636;
+ $1048 = ((($636)) + 8|0);
+ HEAP32[$1048>>2] = $1042;
+ $1049 = ((($636)) + 12|0);
+ HEAP32[$1049>>2] = $$0207$i$i;
+ $1050 = ((($636)) + 24|0);
+ HEAP32[$1050>>2] = 0;
break;
} else {
_abort();
@@ -98944,241 +98945,241 @@ function _malloc($bytes) {
}
}
} while(0);
- $196 = HEAP32[(33540)>>2]|0;
- $cmp257$i = ($196>>>0)>($nb$0>>>0);
- if ($cmp257$i) {
- $sub260$i = (($196) - ($nb$0))|0;
- HEAP32[(33540)>>2] = $sub260$i;
- $197 = HEAP32[(33552)>>2]|0;
- $add$ptr262$i = (($197) + ($nb$0)|0);
- HEAP32[(33552)>>2] = $add$ptr262$i;
- $or264$i = $sub260$i | 1;
- $head265$i = ((($add$ptr262$i)) + 4|0);
- HEAP32[$head265$i>>2] = $or264$i;
- $or267$i = $nb$0 | 3;
- $head268$i = ((($197)) + 4|0);
- HEAP32[$head268$i>>2] = $or267$i;
- $add$ptr269$i = ((($197)) + 8|0);
- $retval$0 = $add$ptr269$i;
- STACKTOP = sp;return ($retval$0|0);
+ $1052 = HEAP32[(33580)>>2]|0;
+ $1053 = ($1052>>>0)>($$0197>>>0);
+ if ($1053) {
+ $1054 = (($1052) - ($$0197))|0;
+ HEAP32[(33580)>>2] = $1054;
+ $1055 = HEAP32[(33592)>>2]|0;
+ $1056 = (($1055) + ($$0197)|0);
+ HEAP32[(33592)>>2] = $1056;
+ $1057 = $1054 | 1;
+ $1058 = ((($1056)) + 4|0);
+ HEAP32[$1058>>2] = $1057;
+ $1059 = $$0197 | 3;
+ $1060 = ((($1055)) + 4|0);
+ HEAP32[$1060>>2] = $1059;
+ $1061 = ((($1055)) + 8|0);
+ $$0 = $1061;
+ STACKTOP = sp;return ($$0|0);
}
}
- $call275$i = (___errno_location()|0);
- HEAP32[$call275$i>>2] = 12;
- $retval$0 = 0;
- STACKTOP = sp;return ($retval$0|0);
+ $1062 = (___errno_location()|0);
+ HEAP32[$1062>>2] = 12;
+ $$0 = 0;
+ STACKTOP = sp;return ($$0|0);
}
-function _free($mem) {
- $mem = $mem|0;
- var $$pre = 0, $$pre$phiZ2D = 0, $$pre309 = 0, $$pre310 = 0, $$sink = 0, $$sink4 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0;
- var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0;
- var $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0;
- var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
- var $8 = 0, $9 = 0, $F510$0 = 0, $I534$0 = 0, $K583$0 = 0, $R$1 = 0, $R$3 = 0, $R332$1 = 0, $R332$3 = 0, $RP$1 = 0, $RP360$1 = 0, $T$0 = 0, $add$ptr = 0, $add$ptr16 = 0, $add$ptr217 = 0, $add$ptr261 = 0, $add$ptr482 = 0, $add$ptr498 = 0, $add$ptr6 = 0, $add17 = 0;
- var $add246 = 0, $add258 = 0, $add267 = 0, $add550 = 0, $add555 = 0, $add559 = 0, $add561 = 0, $add564 = 0, $and = 0, $and140 = 0, $and210 = 0, $and215 = 0, $and232 = 0, $and240 = 0, $and266 = 0, $and301 = 0, $and410 = 0, $and46 = 0, $and495 = 0, $and5 = 0;
- var $and512 = 0, $and545 = 0, $and549 = 0, $and554 = 0, $and563 = 0, $and574 = 0, $and592 = 0, $and8 = 0, $arrayidx = 0, $arrayidx108 = 0, $arrayidx113 = 0, $arrayidx130 = 0, $arrayidx149 = 0, $arrayidx157 = 0, $arrayidx182 = 0, $arrayidx188 = 0, $arrayidx198 = 0, $arrayidx279 = 0, $arrayidx362 = 0, $arrayidx374 = 0;
- var $arrayidx379 = 0, $arrayidx400 = 0, $arrayidx419 = 0, $arrayidx427 = 0, $arrayidx454 = 0, $arrayidx460 = 0, $arrayidx470 = 0, $arrayidx509 = 0, $arrayidx567 = 0, $arrayidx570 = 0, $arrayidx599 = 0, $arrayidx99 = 0, $bk = 0, $bk275 = 0, $bk286 = 0, $bk321 = 0, $bk333 = 0, $bk34 = 0, $bk343 = 0, $bk529 = 0;
- var $bk531 = 0, $bk580 = 0, $bk611 = 0, $bk631 = 0, $bk634 = 0, $bk66 = 0, $bk73 = 0, $bk82 = 0, $child = 0, $child171 = 0, $child361 = 0, $child443 = 0, $child569 = 0, $cmp = 0, $cmp$i = 0, $cmp1 = 0, $cmp100 = 0, $cmp104 = 0, $cmp109 = 0, $cmp114 = 0;
- var $cmp118 = 0, $cmp127 = 0, $cmp13 = 0, $cmp131 = 0, $cmp143 = 0, $cmp150 = 0, $cmp162 = 0, $cmp165 = 0, $cmp173 = 0, $cmp176 = 0, $cmp18 = 0, $cmp189 = 0, $cmp192 = 0, $cmp2 = 0, $cmp211 = 0, $cmp22 = 0, $cmp228 = 0, $cmp243 = 0, $cmp249 = 0, $cmp25 = 0;
- var $cmp255 = 0, $cmp269 = 0, $cmp280 = 0, $cmp283 = 0, $cmp287 = 0, $cmp29 = 0, $cmp296 = 0, $cmp305 = 0, $cmp308 = 0, $cmp31 = 0, $cmp312 = 0, $cmp334 = 0, $cmp340 = 0, $cmp344 = 0, $cmp348 = 0, $cmp35 = 0, $cmp363 = 0, $cmp368 = 0, $cmp375 = 0, $cmp380 = 0;
- var $cmp386 = 0, $cmp395 = 0, $cmp401 = 0, $cmp413 = 0, $cmp42 = 0, $cmp420 = 0, $cmp432 = 0, $cmp435 = 0, $cmp445 = 0, $cmp448 = 0, $cmp461 = 0, $cmp464 = 0, $cmp484 = 0, $cmp50 = 0, $cmp502 = 0, $cmp519 = 0, $cmp53 = 0, $cmp536 = 0, $cmp540 = 0, $cmp57 = 0;
- var $cmp584 = 0, $cmp593 = 0, $cmp601 = 0, $cmp605 = 0, $cmp621 = 0, $cmp624 = 0, $cmp640 = 0, $cmp74 = 0, $cmp80 = 0, $cmp83 = 0, $cmp87 = 0, $cond = 0, $cond293 = 0, $cond294 = 0, $dec = 0, $fd = 0, $fd273 = 0, $fd311 = 0, $fd322$pre$phiZ2D = 0, $fd338 = 0;
- var $fd347 = 0, $fd530 = 0, $fd56 = 0, $fd581 = 0, $fd612 = 0, $fd620 = 0, $fd633 = 0, $fd67$pre$phiZ2D = 0, $fd78 = 0, $fd86 = 0, $head = 0, $head209 = 0, $head216 = 0, $head231 = 0, $head248 = 0, $head260 = 0, $head481 = 0, $head497 = 0, $head591 = 0, $idx$neg = 0;
- var $index = 0, $index399 = 0, $index568 = 0, $neg = 0, $neg139 = 0, $neg300 = 0, $neg409 = 0, $next4$i = 0, $or = 0, $or247 = 0, $or259 = 0, $or480 = 0, $or496 = 0, $or516 = 0, $or578 = 0, $p$1 = 0, $parent = 0, $parent170 = 0, $parent183 = 0, $parent199 = 0;
- var $parent331 = 0, $parent442 = 0, $parent455 = 0, $parent471 = 0, $parent579 = 0, $parent610 = 0, $parent635 = 0, $psize$1 = 0, $psize$2 = 0, $shl = 0, $shl138 = 0, $shl278 = 0, $shl299 = 0, $shl408 = 0, $shl45 = 0, $shl508 = 0, $shl511 = 0, $shl546 = 0, $shl551 = 0, $shl557 = 0;
- var $shl560 = 0, $shl573 = 0, $shl590 = 0, $shl600 = 0, $shr = 0, $shr268 = 0, $shr501 = 0, $shr535 = 0, $shr544 = 0, $shr548 = 0, $shr553 = 0, $shr558 = 0, $shr562 = 0, $shr586 = 0, $shr597 = 0, $sp$0$i = 0, $sp$0$in$i = 0, $sub = 0, $sub547 = 0, $sub552 = 0;
- var $sub556 = 0, $sub589 = 0, $tobool233 = 0, $tobool241 = 0, $tobool513 = 0, $tobool575 = 0, $tobool9 = 0, label = 0, sp = 0;
+function _free($0) {
+ $0 = $0|0;
+ var $$0212$i = 0, $$0212$in$i = 0, $$0383 = 0, $$0384 = 0, $$0396 = 0, $$0403 = 0, $$1 = 0, $$1382 = 0, $$1387 = 0, $$1390 = 0, $$1398 = 0, $$1402 = 0, $$2 = 0, $$3 = 0, $$3400 = 0, $$pre = 0, $$pre$phi442Z2D = 0, $$pre$phi444Z2D = 0, $$pre$phiZ2D = 0, $$pre441 = 0;
+ var $$pre443 = 0, $$sink3 = 0, $$sink5 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0;
+ var $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0;
+ var $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0;
+ var $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0;
+ var $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0;
+ var $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $2 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0;
+ var $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0;
+ var $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0, $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0;
+ var $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0;
+ var $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0;
+ var $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0;
+ var $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $3 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0;
+ var $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0;
+ var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0;
+ var $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
+ var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0;
+ var $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $cond421 = 0, $cond422 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $cmp = ($mem|0)==(0|0);
- if ($cmp) {
+ $1 = ($0|0)==(0|0);
+ if ($1) {
return;
}
- $add$ptr = ((($mem)) + -8|0);
- $0 = HEAP32[(33544)>>2]|0;
- $cmp1 = ($add$ptr>>>0)<($0>>>0);
- if ($cmp1) {
+ $2 = ((($0)) + -8|0);
+ $3 = HEAP32[(33584)>>2]|0;
+ $4 = ($2>>>0)<($3>>>0);
+ if ($4) {
_abort();
// unreachable;
}
- $head = ((($mem)) + -4|0);
- $1 = HEAP32[$head>>2]|0;
- $and = $1 & 3;
- $cmp2 = ($and|0)==(1);
- if ($cmp2) {
+ $5 = ((($0)) + -4|0);
+ $6 = HEAP32[$5>>2]|0;
+ $7 = $6 & 3;
+ $8 = ($7|0)==(1);
+ if ($8) {
_abort();
// unreachable;
}
- $and5 = $1 & -8;
- $add$ptr6 = (($add$ptr) + ($and5)|0);
- $and8 = $1 & 1;
- $tobool9 = ($and8|0)==(0);
+ $9 = $6 & -8;
+ $10 = (($2) + ($9)|0);
+ $11 = $6 & 1;
+ $12 = ($11|0)==(0);
L10: do {
- if ($tobool9) {
- $2 = HEAP32[$add$ptr>>2]|0;
- $cmp13 = ($and|0)==(0);
- if ($cmp13) {
+ if ($12) {
+ $13 = HEAP32[$2>>2]|0;
+ $14 = ($7|0)==(0);
+ if ($14) {
return;
}
- $idx$neg = (0 - ($2))|0;
- $add$ptr16 = (($add$ptr) + ($idx$neg)|0);
- $add17 = (($2) + ($and5))|0;
- $cmp18 = ($add$ptr16>>>0)<($0>>>0);
- if ($cmp18) {
+ $15 = (0 - ($13))|0;
+ $16 = (($2) + ($15)|0);
+ $17 = (($13) + ($9))|0;
+ $18 = ($16>>>0)<($3>>>0);
+ if ($18) {
_abort();
// unreachable;
}
- $3 = HEAP32[(33548)>>2]|0;
- $cmp22 = ($3|0)==($add$ptr16|0);
- if ($cmp22) {
- $head209 = ((($add$ptr6)) + 4|0);
- $27 = HEAP32[$head209>>2]|0;
- $and210 = $27 & 3;
- $cmp211 = ($and210|0)==(3);
- if (!($cmp211)) {
- $28 = $add$ptr16;$p$1 = $add$ptr16;$psize$1 = $add17;
+ $19 = HEAP32[(33588)>>2]|0;
+ $20 = ($19|0)==($16|0);
+ if ($20) {
+ $105 = ((($10)) + 4|0);
+ $106 = HEAP32[$105>>2]|0;
+ $107 = $106 & 3;
+ $108 = ($107|0)==(3);
+ if (!($108)) {
+ $$1 = $16;$$1382 = $17;$113 = $16;
break;
}
- HEAP32[(33536)>>2] = $add17;
- $and215 = $27 & -2;
- HEAP32[$head209>>2] = $and215;
- $or = $add17 | 1;
- $head216 = ((($add$ptr16)) + 4|0);
- HEAP32[$head216>>2] = $or;
- $add$ptr217 = (($add$ptr16) + ($add17)|0);
- HEAP32[$add$ptr217>>2] = $add17;
+ HEAP32[(33576)>>2] = $17;
+ $109 = $106 & -2;
+ HEAP32[$105>>2] = $109;
+ $110 = $17 | 1;
+ $111 = ((($16)) + 4|0);
+ HEAP32[$111>>2] = $110;
+ $112 = (($16) + ($17)|0);
+ HEAP32[$112>>2] = $17;
return;
}
- $shr = $2 >>> 3;
- $cmp25 = ($2>>>0)<(256);
- if ($cmp25) {
- $fd = ((($add$ptr16)) + 8|0);
- $4 = HEAP32[$fd>>2]|0;
- $bk = ((($add$ptr16)) + 12|0);
- $5 = HEAP32[$bk>>2]|0;
- $shl = $shr << 1;
- $arrayidx = (33568 + ($shl<<2)|0);
- $cmp29 = ($4|0)==($arrayidx|0);
- if (!($cmp29)) {
- $cmp31 = ($0>>>0)>($4>>>0);
- if ($cmp31) {
+ $21 = $13 >>> 3;
+ $22 = ($13>>>0)<(256);
+ if ($22) {
+ $23 = ((($16)) + 8|0);
+ $24 = HEAP32[$23>>2]|0;
+ $25 = ((($16)) + 12|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = $21 << 1;
+ $28 = (33608 + ($27<<2)|0);
+ $29 = ($24|0)==($28|0);
+ if (!($29)) {
+ $30 = ($3>>>0)>($24>>>0);
+ if ($30) {
_abort();
// unreachable;
}
- $bk34 = ((($4)) + 12|0);
- $6 = HEAP32[$bk34>>2]|0;
- $cmp35 = ($6|0)==($add$ptr16|0);
- if (!($cmp35)) {
+ $31 = ((($24)) + 12|0);
+ $32 = HEAP32[$31>>2]|0;
+ $33 = ($32|0)==($16|0);
+ if (!($33)) {
_abort();
// unreachable;
}
}
- $cmp42 = ($5|0)==($4|0);
- if ($cmp42) {
- $shl45 = 1 << $shr;
- $neg = $shl45 ^ -1;
- $7 = HEAP32[8382]|0;
- $and46 = $7 & $neg;
- HEAP32[8382] = $and46;
- $28 = $add$ptr16;$p$1 = $add$ptr16;$psize$1 = $add17;
+ $34 = ($26|0)==($24|0);
+ if ($34) {
+ $35 = 1 << $21;
+ $36 = $35 ^ -1;
+ $37 = HEAP32[8392]|0;
+ $38 = $37 & $36;
+ HEAP32[8392] = $38;
+ $$1 = $16;$$1382 = $17;$113 = $16;
break;
}
- $cmp50 = ($5|0)==($arrayidx|0);
- if ($cmp50) {
- $$pre310 = ((($5)) + 8|0);
- $fd67$pre$phiZ2D = $$pre310;
+ $39 = ($26|0)==($28|0);
+ if ($39) {
+ $$pre443 = ((($26)) + 8|0);
+ $$pre$phi444Z2D = $$pre443;
} else {
- $cmp53 = ($0>>>0)>($5>>>0);
- if ($cmp53) {
+ $40 = ($3>>>0)>($26>>>0);
+ if ($40) {
_abort();
// unreachable;
}
- $fd56 = ((($5)) + 8|0);
- $8 = HEAP32[$fd56>>2]|0;
- $cmp57 = ($8|0)==($add$ptr16|0);
- if ($cmp57) {
- $fd67$pre$phiZ2D = $fd56;
+ $41 = ((($26)) + 8|0);
+ $42 = HEAP32[$41>>2]|0;
+ $43 = ($42|0)==($16|0);
+ if ($43) {
+ $$pre$phi444Z2D = $41;
} else {
_abort();
// unreachable;
}
}
- $bk66 = ((($4)) + 12|0);
- HEAP32[$bk66>>2] = $5;
- HEAP32[$fd67$pre$phiZ2D>>2] = $4;
- $28 = $add$ptr16;$p$1 = $add$ptr16;$psize$1 = $add17;
+ $44 = ((($24)) + 12|0);
+ HEAP32[$44>>2] = $26;
+ HEAP32[$$pre$phi444Z2D>>2] = $24;
+ $$1 = $16;$$1382 = $17;$113 = $16;
break;
}
- $parent = ((($add$ptr16)) + 24|0);
- $9 = HEAP32[$parent>>2]|0;
- $bk73 = ((($add$ptr16)) + 12|0);
- $10 = HEAP32[$bk73>>2]|0;
- $cmp74 = ($10|0)==($add$ptr16|0);
+ $45 = ((($16)) + 24|0);
+ $46 = HEAP32[$45>>2]|0;
+ $47 = ((($16)) + 12|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = ($48|0)==($16|0);
do {
- if ($cmp74) {
- $child = ((($add$ptr16)) + 16|0);
- $arrayidx99 = ((($child)) + 4|0);
- $14 = HEAP32[$arrayidx99>>2]|0;
- $cmp100 = ($14|0)==(0|0);
- if ($cmp100) {
- $15 = HEAP32[$child>>2]|0;
- $cmp104 = ($15|0)==(0|0);
- if ($cmp104) {
- $R$3 = 0;
+ if ($49) {
+ $59 = ((($16)) + 16|0);
+ $60 = ((($59)) + 4|0);
+ $61 = HEAP32[$60>>2]|0;
+ $62 = ($61|0)==(0|0);
+ if ($62) {
+ $63 = HEAP32[$59>>2]|0;
+ $64 = ($63|0)==(0|0);
+ if ($64) {
+ $$3 = 0;
break;
} else {
- $R$1 = $15;$RP$1 = $child;
+ $$1387 = $63;$$1390 = $59;
}
} else {
- $R$1 = $14;$RP$1 = $arrayidx99;
+ $$1387 = $61;$$1390 = $60;
}
while(1) {
- $arrayidx108 = ((($R$1)) + 20|0);
- $16 = HEAP32[$arrayidx108>>2]|0;
- $cmp109 = ($16|0)==(0|0);
- if (!($cmp109)) {
- $R$1 = $16;$RP$1 = $arrayidx108;
+ $65 = ((($$1387)) + 20|0);
+ $66 = HEAP32[$65>>2]|0;
+ $67 = ($66|0)==(0|0);
+ if (!($67)) {
+ $$1387 = $66;$$1390 = $65;
continue;
}
- $arrayidx113 = ((($R$1)) + 16|0);
- $17 = HEAP32[$arrayidx113>>2]|0;
- $cmp114 = ($17|0)==(0|0);
- if ($cmp114) {
+ $68 = ((($$1387)) + 16|0);
+ $69 = HEAP32[$68>>2]|0;
+ $70 = ($69|0)==(0|0);
+ if ($70) {
break;
} else {
- $R$1 = $17;$RP$1 = $arrayidx113;
+ $$1387 = $69;$$1390 = $68;
}
}
- $cmp118 = ($0>>>0)>($RP$1>>>0);
- if ($cmp118) {
+ $71 = ($3>>>0)>($$1390>>>0);
+ if ($71) {
_abort();
// unreachable;
} else {
- HEAP32[$RP$1>>2] = 0;
- $R$3 = $R$1;
+ HEAP32[$$1390>>2] = 0;
+ $$3 = $$1387;
break;
}
} else {
- $fd78 = ((($add$ptr16)) + 8|0);
- $11 = HEAP32[$fd78>>2]|0;
- $cmp80 = ($0>>>0)>($11>>>0);
- if ($cmp80) {
+ $50 = ((($16)) + 8|0);
+ $51 = HEAP32[$50>>2]|0;
+ $52 = ($3>>>0)>($51>>>0);
+ if ($52) {
_abort();
// unreachable;
}
- $bk82 = ((($11)) + 12|0);
- $12 = HEAP32[$bk82>>2]|0;
- $cmp83 = ($12|0)==($add$ptr16|0);
- if (!($cmp83)) {
+ $53 = ((($51)) + 12|0);
+ $54 = HEAP32[$53>>2]|0;
+ $55 = ($54|0)==($16|0);
+ if (!($55)) {
_abort();
// unreachable;
}
- $fd86 = ((($10)) + 8|0);
- $13 = HEAP32[$fd86>>2]|0;
- $cmp87 = ($13|0)==($add$ptr16|0);
- if ($cmp87) {
- HEAP32[$bk82>>2] = $10;
- HEAP32[$fd86>>2] = $11;
- $R$3 = $10;
+ $56 = ((($48)) + 8|0);
+ $57 = HEAP32[$56>>2]|0;
+ $58 = ($57|0)==($16|0);
+ if ($58) {
+ HEAP32[$53>>2] = $48;
+ HEAP32[$56>>2] = $51;
+ $$3 = $48;
break;
} else {
_abort();
@@ -99186,44 +99187,44 @@ function _free($mem) {
}
}
} while(0);
- $cmp127 = ($9|0)==(0|0);
- if ($cmp127) {
- $28 = $add$ptr16;$p$1 = $add$ptr16;$psize$1 = $add17;
+ $72 = ($46|0)==(0|0);
+ if ($72) {
+ $$1 = $16;$$1382 = $17;$113 = $16;
} else {
- $index = ((($add$ptr16)) + 28|0);
- $18 = HEAP32[$index>>2]|0;
- $arrayidx130 = (33832 + ($18<<2)|0);
- $19 = HEAP32[$arrayidx130>>2]|0;
- $cmp131 = ($19|0)==($add$ptr16|0);
+ $73 = ((($16)) + 28|0);
+ $74 = HEAP32[$73>>2]|0;
+ $75 = (33872 + ($74<<2)|0);
+ $76 = HEAP32[$75>>2]|0;
+ $77 = ($76|0)==($16|0);
do {
- if ($cmp131) {
- HEAP32[$arrayidx130>>2] = $R$3;
- $cond293 = ($R$3|0)==(0|0);
- if ($cond293) {
- $shl138 = 1 << $18;
- $neg139 = $shl138 ^ -1;
- $20 = HEAP32[(33532)>>2]|0;
- $and140 = $20 & $neg139;
- HEAP32[(33532)>>2] = $and140;
- $28 = $add$ptr16;$p$1 = $add$ptr16;$psize$1 = $add17;
+ if ($77) {
+ HEAP32[$75>>2] = $$3;
+ $cond421 = ($$3|0)==(0|0);
+ if ($cond421) {
+ $78 = 1 << $74;
+ $79 = $78 ^ -1;
+ $80 = HEAP32[(33572)>>2]|0;
+ $81 = $80 & $79;
+ HEAP32[(33572)>>2] = $81;
+ $$1 = $16;$$1382 = $17;$113 = $16;
break L10;
}
} else {
- $21 = HEAP32[(33544)>>2]|0;
- $cmp143 = ($21>>>0)>($9>>>0);
- if ($cmp143) {
+ $82 = HEAP32[(33584)>>2]|0;
+ $83 = ($82>>>0)>($46>>>0);
+ if ($83) {
_abort();
// unreachable;
} else {
- $arrayidx149 = ((($9)) + 16|0);
- $22 = HEAP32[$arrayidx149>>2]|0;
- $cmp150 = ($22|0)!=($add$ptr16|0);
- $$sink = $cmp150&1;
- $arrayidx157 = (((($9)) + 16|0) + ($$sink<<2)|0);
- HEAP32[$arrayidx157>>2] = $R$3;
- $cmp162 = ($R$3|0)==(0|0);
- if ($cmp162) {
- $28 = $add$ptr16;$p$1 = $add$ptr16;$psize$1 = $add17;
+ $84 = ((($46)) + 16|0);
+ $85 = HEAP32[$84>>2]|0;
+ $86 = ($85|0)!=($16|0);
+ $$sink3 = $86&1;
+ $87 = (((($46)) + 16|0) + ($$sink3<<2)|0);
+ HEAP32[$87>>2] = $$3;
+ $88 = ($$3|0)==(0|0);
+ if ($88) {
+ $$1 = $16;$$1382 = $17;$113 = $16;
break L10;
} else {
break;
@@ -99231,241 +99232,241 @@ function _free($mem) {
}
}
} while(0);
- $23 = HEAP32[(33544)>>2]|0;
- $cmp165 = ($23>>>0)>($R$3>>>0);
- if ($cmp165) {
+ $89 = HEAP32[(33584)>>2]|0;
+ $90 = ($89>>>0)>($$3>>>0);
+ if ($90) {
_abort();
// unreachable;
}
- $parent170 = ((($R$3)) + 24|0);
- HEAP32[$parent170>>2] = $9;
- $child171 = ((($add$ptr16)) + 16|0);
- $24 = HEAP32[$child171>>2]|0;
- $cmp173 = ($24|0)==(0|0);
+ $91 = ((($$3)) + 24|0);
+ HEAP32[$91>>2] = $46;
+ $92 = ((($16)) + 16|0);
+ $93 = HEAP32[$92>>2]|0;
+ $94 = ($93|0)==(0|0);
do {
- if (!($cmp173)) {
- $cmp176 = ($23>>>0)>($24>>>0);
- if ($cmp176) {
+ if (!($94)) {
+ $95 = ($89>>>0)>($93>>>0);
+ if ($95) {
_abort();
// unreachable;
} else {
- $arrayidx182 = ((($R$3)) + 16|0);
- HEAP32[$arrayidx182>>2] = $24;
- $parent183 = ((($24)) + 24|0);
- HEAP32[$parent183>>2] = $R$3;
+ $96 = ((($$3)) + 16|0);
+ HEAP32[$96>>2] = $93;
+ $97 = ((($93)) + 24|0);
+ HEAP32[$97>>2] = $$3;
break;
}
}
} while(0);
- $arrayidx188 = ((($child171)) + 4|0);
- $25 = HEAP32[$arrayidx188>>2]|0;
- $cmp189 = ($25|0)==(0|0);
- if ($cmp189) {
- $28 = $add$ptr16;$p$1 = $add$ptr16;$psize$1 = $add17;
+ $98 = ((($92)) + 4|0);
+ $99 = HEAP32[$98>>2]|0;
+ $100 = ($99|0)==(0|0);
+ if ($100) {
+ $$1 = $16;$$1382 = $17;$113 = $16;
} else {
- $26 = HEAP32[(33544)>>2]|0;
- $cmp192 = ($26>>>0)>($25>>>0);
- if ($cmp192) {
+ $101 = HEAP32[(33584)>>2]|0;
+ $102 = ($101>>>0)>($99>>>0);
+ if ($102) {
_abort();
// unreachable;
} else {
- $arrayidx198 = ((($R$3)) + 20|0);
- HEAP32[$arrayidx198>>2] = $25;
- $parent199 = ((($25)) + 24|0);
- HEAP32[$parent199>>2] = $R$3;
- $28 = $add$ptr16;$p$1 = $add$ptr16;$psize$1 = $add17;
+ $103 = ((($$3)) + 20|0);
+ HEAP32[$103>>2] = $99;
+ $104 = ((($99)) + 24|0);
+ HEAP32[$104>>2] = $$3;
+ $$1 = $16;$$1382 = $17;$113 = $16;
break;
}
}
}
} else {
- $28 = $add$ptr;$p$1 = $add$ptr;$psize$1 = $and5;
+ $$1 = $2;$$1382 = $9;$113 = $2;
}
} while(0);
- $cmp228 = ($28>>>0)<($add$ptr6>>>0);
- if (!($cmp228)) {
+ $114 = ($113>>>0)<($10>>>0);
+ if (!($114)) {
_abort();
// unreachable;
}
- $head231 = ((($add$ptr6)) + 4|0);
- $29 = HEAP32[$head231>>2]|0;
- $and232 = $29 & 1;
- $tobool233 = ($and232|0)==(0);
- if ($tobool233) {
+ $115 = ((($10)) + 4|0);
+ $116 = HEAP32[$115>>2]|0;
+ $117 = $116 & 1;
+ $118 = ($117|0)==(0);
+ if ($118) {
_abort();
// unreachable;
}
- $and240 = $29 & 2;
- $tobool241 = ($and240|0)==(0);
- if ($tobool241) {
- $30 = HEAP32[(33552)>>2]|0;
- $cmp243 = ($30|0)==($add$ptr6|0);
- if ($cmp243) {
- $31 = HEAP32[(33540)>>2]|0;
- $add246 = (($31) + ($psize$1))|0;
- HEAP32[(33540)>>2] = $add246;
- HEAP32[(33552)>>2] = $p$1;
- $or247 = $add246 | 1;
- $head248 = ((($p$1)) + 4|0);
- HEAP32[$head248>>2] = $or247;
- $32 = HEAP32[(33548)>>2]|0;
- $cmp249 = ($p$1|0)==($32|0);
- if (!($cmp249)) {
+ $119 = $116 & 2;
+ $120 = ($119|0)==(0);
+ if ($120) {
+ $121 = HEAP32[(33592)>>2]|0;
+ $122 = ($121|0)==($10|0);
+ if ($122) {
+ $123 = HEAP32[(33580)>>2]|0;
+ $124 = (($123) + ($$1382))|0;
+ HEAP32[(33580)>>2] = $124;
+ HEAP32[(33592)>>2] = $$1;
+ $125 = $124 | 1;
+ $126 = ((($$1)) + 4|0);
+ HEAP32[$126>>2] = $125;
+ $127 = HEAP32[(33588)>>2]|0;
+ $128 = ($$1|0)==($127|0);
+ if (!($128)) {
return;
}
- HEAP32[(33548)>>2] = 0;
- HEAP32[(33536)>>2] = 0;
+ HEAP32[(33588)>>2] = 0;
+ HEAP32[(33576)>>2] = 0;
return;
}
- $33 = HEAP32[(33548)>>2]|0;
- $cmp255 = ($33|0)==($add$ptr6|0);
- if ($cmp255) {
- $34 = HEAP32[(33536)>>2]|0;
- $add258 = (($34) + ($psize$1))|0;
- HEAP32[(33536)>>2] = $add258;
- HEAP32[(33548)>>2] = $28;
- $or259 = $add258 | 1;
- $head260 = ((($p$1)) + 4|0);
- HEAP32[$head260>>2] = $or259;
- $add$ptr261 = (($28) + ($add258)|0);
- HEAP32[$add$ptr261>>2] = $add258;
+ $129 = HEAP32[(33588)>>2]|0;
+ $130 = ($129|0)==($10|0);
+ if ($130) {
+ $131 = HEAP32[(33576)>>2]|0;
+ $132 = (($131) + ($$1382))|0;
+ HEAP32[(33576)>>2] = $132;
+ HEAP32[(33588)>>2] = $113;
+ $133 = $132 | 1;
+ $134 = ((($$1)) + 4|0);
+ HEAP32[$134>>2] = $133;
+ $135 = (($113) + ($132)|0);
+ HEAP32[$135>>2] = $132;
return;
}
- $and266 = $29 & -8;
- $add267 = (($and266) + ($psize$1))|0;
- $shr268 = $29 >>> 3;
- $cmp269 = ($29>>>0)<(256);
+ $136 = $116 & -8;
+ $137 = (($136) + ($$1382))|0;
+ $138 = $116 >>> 3;
+ $139 = ($116>>>0)<(256);
L108: do {
- if ($cmp269) {
- $fd273 = ((($add$ptr6)) + 8|0);
- $35 = HEAP32[$fd273>>2]|0;
- $bk275 = ((($add$ptr6)) + 12|0);
- $36 = HEAP32[$bk275>>2]|0;
- $shl278 = $shr268 << 1;
- $arrayidx279 = (33568 + ($shl278<<2)|0);
- $cmp280 = ($35|0)==($arrayidx279|0);
- if (!($cmp280)) {
- $37 = HEAP32[(33544)>>2]|0;
- $cmp283 = ($37>>>0)>($35>>>0);
- if ($cmp283) {
+ if ($139) {
+ $140 = ((($10)) + 8|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = ((($10)) + 12|0);
+ $143 = HEAP32[$142>>2]|0;
+ $144 = $138 << 1;
+ $145 = (33608 + ($144<<2)|0);
+ $146 = ($141|0)==($145|0);
+ if (!($146)) {
+ $147 = HEAP32[(33584)>>2]|0;
+ $148 = ($147>>>0)>($141>>>0);
+ if ($148) {
_abort();
// unreachable;
}
- $bk286 = ((($35)) + 12|0);
- $38 = HEAP32[$bk286>>2]|0;
- $cmp287 = ($38|0)==($add$ptr6|0);
- if (!($cmp287)) {
+ $149 = ((($141)) + 12|0);
+ $150 = HEAP32[$149>>2]|0;
+ $151 = ($150|0)==($10|0);
+ if (!($151)) {
_abort();
// unreachable;
}
}
- $cmp296 = ($36|0)==($35|0);
- if ($cmp296) {
- $shl299 = 1 << $shr268;
- $neg300 = $shl299 ^ -1;
- $39 = HEAP32[8382]|0;
- $and301 = $39 & $neg300;
- HEAP32[8382] = $and301;
+ $152 = ($143|0)==($141|0);
+ if ($152) {
+ $153 = 1 << $138;
+ $154 = $153 ^ -1;
+ $155 = HEAP32[8392]|0;
+ $156 = $155 & $154;
+ HEAP32[8392] = $156;
break;
}
- $cmp305 = ($36|0)==($arrayidx279|0);
- if ($cmp305) {
- $$pre309 = ((($36)) + 8|0);
- $fd322$pre$phiZ2D = $$pre309;
+ $157 = ($143|0)==($145|0);
+ if ($157) {
+ $$pre441 = ((($143)) + 8|0);
+ $$pre$phi442Z2D = $$pre441;
} else {
- $40 = HEAP32[(33544)>>2]|0;
- $cmp308 = ($40>>>0)>($36>>>0);
- if ($cmp308) {
+ $158 = HEAP32[(33584)>>2]|0;
+ $159 = ($158>>>0)>($143>>>0);
+ if ($159) {
_abort();
// unreachable;
}
- $fd311 = ((($36)) + 8|0);
- $41 = HEAP32[$fd311>>2]|0;
- $cmp312 = ($41|0)==($add$ptr6|0);
- if ($cmp312) {
- $fd322$pre$phiZ2D = $fd311;
+ $160 = ((($143)) + 8|0);
+ $161 = HEAP32[$160>>2]|0;
+ $162 = ($161|0)==($10|0);
+ if ($162) {
+ $$pre$phi442Z2D = $160;
} else {
_abort();
// unreachable;
}
}
- $bk321 = ((($35)) + 12|0);
- HEAP32[$bk321>>2] = $36;
- HEAP32[$fd322$pre$phiZ2D>>2] = $35;
+ $163 = ((($141)) + 12|0);
+ HEAP32[$163>>2] = $143;
+ HEAP32[$$pre$phi442Z2D>>2] = $141;
} else {
- $parent331 = ((($add$ptr6)) + 24|0);
- $42 = HEAP32[$parent331>>2]|0;
- $bk333 = ((($add$ptr6)) + 12|0);
- $43 = HEAP32[$bk333>>2]|0;
- $cmp334 = ($43|0)==($add$ptr6|0);
+ $164 = ((($10)) + 24|0);
+ $165 = HEAP32[$164>>2]|0;
+ $166 = ((($10)) + 12|0);
+ $167 = HEAP32[$166>>2]|0;
+ $168 = ($167|0)==($10|0);
do {
- if ($cmp334) {
- $child361 = ((($add$ptr6)) + 16|0);
- $arrayidx362 = ((($child361)) + 4|0);
- $48 = HEAP32[$arrayidx362>>2]|0;
- $cmp363 = ($48|0)==(0|0);
- if ($cmp363) {
- $49 = HEAP32[$child361>>2]|0;
- $cmp368 = ($49|0)==(0|0);
- if ($cmp368) {
- $R332$3 = 0;
+ if ($168) {
+ $179 = ((($10)) + 16|0);
+ $180 = ((($179)) + 4|0);
+ $181 = HEAP32[$180>>2]|0;
+ $182 = ($181|0)==(0|0);
+ if ($182) {
+ $183 = HEAP32[$179>>2]|0;
+ $184 = ($183|0)==(0|0);
+ if ($184) {
+ $$3400 = 0;
break;
} else {
- $R332$1 = $49;$RP360$1 = $child361;
+ $$1398 = $183;$$1402 = $179;
}
} else {
- $R332$1 = $48;$RP360$1 = $arrayidx362;
+ $$1398 = $181;$$1402 = $180;
}
while(1) {
- $arrayidx374 = ((($R332$1)) + 20|0);
- $50 = HEAP32[$arrayidx374>>2]|0;
- $cmp375 = ($50|0)==(0|0);
- if (!($cmp375)) {
- $R332$1 = $50;$RP360$1 = $arrayidx374;
+ $185 = ((($$1398)) + 20|0);
+ $186 = HEAP32[$185>>2]|0;
+ $187 = ($186|0)==(0|0);
+ if (!($187)) {
+ $$1398 = $186;$$1402 = $185;
continue;
}
- $arrayidx379 = ((($R332$1)) + 16|0);
- $51 = HEAP32[$arrayidx379>>2]|0;
- $cmp380 = ($51|0)==(0|0);
- if ($cmp380) {
+ $188 = ((($$1398)) + 16|0);
+ $189 = HEAP32[$188>>2]|0;
+ $190 = ($189|0)==(0|0);
+ if ($190) {
break;
} else {
- $R332$1 = $51;$RP360$1 = $arrayidx379;
+ $$1398 = $189;$$1402 = $188;
}
}
- $52 = HEAP32[(33544)>>2]|0;
- $cmp386 = ($52>>>0)>($RP360$1>>>0);
- if ($cmp386) {
+ $191 = HEAP32[(33584)>>2]|0;
+ $192 = ($191>>>0)>($$1402>>>0);
+ if ($192) {
_abort();
// unreachable;
} else {
- HEAP32[$RP360$1>>2] = 0;
- $R332$3 = $R332$1;
+ HEAP32[$$1402>>2] = 0;
+ $$3400 = $$1398;
break;
}
} else {
- $fd338 = ((($add$ptr6)) + 8|0);
- $44 = HEAP32[$fd338>>2]|0;
- $45 = HEAP32[(33544)>>2]|0;
- $cmp340 = ($45>>>0)>($44>>>0);
- if ($cmp340) {
+ $169 = ((($10)) + 8|0);
+ $170 = HEAP32[$169>>2]|0;
+ $171 = HEAP32[(33584)>>2]|0;
+ $172 = ($171>>>0)>($170>>>0);
+ if ($172) {
_abort();
// unreachable;
}
- $bk343 = ((($44)) + 12|0);
- $46 = HEAP32[$bk343>>2]|0;
- $cmp344 = ($46|0)==($add$ptr6|0);
- if (!($cmp344)) {
+ $173 = ((($170)) + 12|0);
+ $174 = HEAP32[$173>>2]|0;
+ $175 = ($174|0)==($10|0);
+ if (!($175)) {
_abort();
// unreachable;
}
- $fd347 = ((($43)) + 8|0);
- $47 = HEAP32[$fd347>>2]|0;
- $cmp348 = ($47|0)==($add$ptr6|0);
- if ($cmp348) {
- HEAP32[$bk343>>2] = $43;
- HEAP32[$fd347>>2] = $44;
- $R332$3 = $43;
+ $176 = ((($167)) + 8|0);
+ $177 = HEAP32[$176>>2]|0;
+ $178 = ($177|0)==($10|0);
+ if ($178) {
+ HEAP32[$173>>2] = $167;
+ HEAP32[$176>>2] = $170;
+ $$3400 = $167;
break;
} else {
_abort();
@@ -99473,40 +99474,40 @@ function _free($mem) {
}
}
} while(0);
- $cmp395 = ($42|0)==(0|0);
- if (!($cmp395)) {
- $index399 = ((($add$ptr6)) + 28|0);
- $53 = HEAP32[$index399>>2]|0;
- $arrayidx400 = (33832 + ($53<<2)|0);
- $54 = HEAP32[$arrayidx400>>2]|0;
- $cmp401 = ($54|0)==($add$ptr6|0);
+ $193 = ($165|0)==(0|0);
+ if (!($193)) {
+ $194 = ((($10)) + 28|0);
+ $195 = HEAP32[$194>>2]|0;
+ $196 = (33872 + ($195<<2)|0);
+ $197 = HEAP32[$196>>2]|0;
+ $198 = ($197|0)==($10|0);
do {
- if ($cmp401) {
- HEAP32[$arrayidx400>>2] = $R332$3;
- $cond294 = ($R332$3|0)==(0|0);
- if ($cond294) {
- $shl408 = 1 << $53;
- $neg409 = $shl408 ^ -1;
- $55 = HEAP32[(33532)>>2]|0;
- $and410 = $55 & $neg409;
- HEAP32[(33532)>>2] = $and410;
+ if ($198) {
+ HEAP32[$196>>2] = $$3400;
+ $cond422 = ($$3400|0)==(0|0);
+ if ($cond422) {
+ $199 = 1 << $195;
+ $200 = $199 ^ -1;
+ $201 = HEAP32[(33572)>>2]|0;
+ $202 = $201 & $200;
+ HEAP32[(33572)>>2] = $202;
break L108;
}
} else {
- $56 = HEAP32[(33544)>>2]|0;
- $cmp413 = ($56>>>0)>($42>>>0);
- if ($cmp413) {
+ $203 = HEAP32[(33584)>>2]|0;
+ $204 = ($203>>>0)>($165>>>0);
+ if ($204) {
_abort();
// unreachable;
} else {
- $arrayidx419 = ((($42)) + 16|0);
- $57 = HEAP32[$arrayidx419>>2]|0;
- $cmp420 = ($57|0)!=($add$ptr6|0);
- $$sink4 = $cmp420&1;
- $arrayidx427 = (((($42)) + 16|0) + ($$sink4<<2)|0);
- HEAP32[$arrayidx427>>2] = $R332$3;
- $cmp432 = ($R332$3|0)==(0|0);
- if ($cmp432) {
+ $205 = ((($165)) + 16|0);
+ $206 = HEAP32[$205>>2]|0;
+ $207 = ($206|0)!=($10|0);
+ $$sink5 = $207&1;
+ $208 = (((($165)) + 16|0) + ($$sink5<<2)|0);
+ HEAP32[$208>>2] = $$3400;
+ $209 = ($$3400|0)==(0|0);
+ if ($209) {
break L108;
} else {
break;
@@ -99514,229 +99515,229 @@ function _free($mem) {
}
}
} while(0);
- $58 = HEAP32[(33544)>>2]|0;
- $cmp435 = ($58>>>0)>($R332$3>>>0);
- if ($cmp435) {
+ $210 = HEAP32[(33584)>>2]|0;
+ $211 = ($210>>>0)>($$3400>>>0);
+ if ($211) {
_abort();
// unreachable;
}
- $parent442 = ((($R332$3)) + 24|0);
- HEAP32[$parent442>>2] = $42;
- $child443 = ((($add$ptr6)) + 16|0);
- $59 = HEAP32[$child443>>2]|0;
- $cmp445 = ($59|0)==(0|0);
+ $212 = ((($$3400)) + 24|0);
+ HEAP32[$212>>2] = $165;
+ $213 = ((($10)) + 16|0);
+ $214 = HEAP32[$213>>2]|0;
+ $215 = ($214|0)==(0|0);
do {
- if (!($cmp445)) {
- $cmp448 = ($58>>>0)>($59>>>0);
- if ($cmp448) {
+ if (!($215)) {
+ $216 = ($210>>>0)>($214>>>0);
+ if ($216) {
_abort();
// unreachable;
} else {
- $arrayidx454 = ((($R332$3)) + 16|0);
- HEAP32[$arrayidx454>>2] = $59;
- $parent455 = ((($59)) + 24|0);
- HEAP32[$parent455>>2] = $R332$3;
+ $217 = ((($$3400)) + 16|0);
+ HEAP32[$217>>2] = $214;
+ $218 = ((($214)) + 24|0);
+ HEAP32[$218>>2] = $$3400;
break;
}
}
} while(0);
- $arrayidx460 = ((($child443)) + 4|0);
- $60 = HEAP32[$arrayidx460>>2]|0;
- $cmp461 = ($60|0)==(0|0);
- if (!($cmp461)) {
- $61 = HEAP32[(33544)>>2]|0;
- $cmp464 = ($61>>>0)>($60>>>0);
- if ($cmp464) {
+ $219 = ((($213)) + 4|0);
+ $220 = HEAP32[$219>>2]|0;
+ $221 = ($220|0)==(0|0);
+ if (!($221)) {
+ $222 = HEAP32[(33584)>>2]|0;
+ $223 = ($222>>>0)>($220>>>0);
+ if ($223) {
_abort();
// unreachable;
} else {
- $arrayidx470 = ((($R332$3)) + 20|0);
- HEAP32[$arrayidx470>>2] = $60;
- $parent471 = ((($60)) + 24|0);
- HEAP32[$parent471>>2] = $R332$3;
+ $224 = ((($$3400)) + 20|0);
+ HEAP32[$224>>2] = $220;
+ $225 = ((($220)) + 24|0);
+ HEAP32[$225>>2] = $$3400;
break;
}
}
}
}
} while(0);
- $or480 = $add267 | 1;
- $head481 = ((($p$1)) + 4|0);
- HEAP32[$head481>>2] = $or480;
- $add$ptr482 = (($28) + ($add267)|0);
- HEAP32[$add$ptr482>>2] = $add267;
- $62 = HEAP32[(33548)>>2]|0;
- $cmp484 = ($p$1|0)==($62|0);
- if ($cmp484) {
- HEAP32[(33536)>>2] = $add267;
+ $226 = $137 | 1;
+ $227 = ((($$1)) + 4|0);
+ HEAP32[$227>>2] = $226;
+ $228 = (($113) + ($137)|0);
+ HEAP32[$228>>2] = $137;
+ $229 = HEAP32[(33588)>>2]|0;
+ $230 = ($$1|0)==($229|0);
+ if ($230) {
+ HEAP32[(33576)>>2] = $137;
return;
} else {
- $psize$2 = $add267;
+ $$2 = $137;
}
} else {
- $and495 = $29 & -2;
- HEAP32[$head231>>2] = $and495;
- $or496 = $psize$1 | 1;
- $head497 = ((($p$1)) + 4|0);
- HEAP32[$head497>>2] = $or496;
- $add$ptr498 = (($28) + ($psize$1)|0);
- HEAP32[$add$ptr498>>2] = $psize$1;
- $psize$2 = $psize$1;
+ $231 = $116 & -2;
+ HEAP32[$115>>2] = $231;
+ $232 = $$1382 | 1;
+ $233 = ((($$1)) + 4|0);
+ HEAP32[$233>>2] = $232;
+ $234 = (($113) + ($$1382)|0);
+ HEAP32[$234>>2] = $$1382;
+ $$2 = $$1382;
}
- $shr501 = $psize$2 >>> 3;
- $cmp502 = ($psize$2>>>0)<(256);
- if ($cmp502) {
- $shl508 = $shr501 << 1;
- $arrayidx509 = (33568 + ($shl508<<2)|0);
- $63 = HEAP32[8382]|0;
- $shl511 = 1 << $shr501;
- $and512 = $63 & $shl511;
- $tobool513 = ($and512|0)==(0);
- if ($tobool513) {
- $or516 = $63 | $shl511;
- HEAP32[8382] = $or516;
- $$pre = ((($arrayidx509)) + 8|0);
- $$pre$phiZ2D = $$pre;$F510$0 = $arrayidx509;
+ $235 = $$2 >>> 3;
+ $236 = ($$2>>>0)<(256);
+ if ($236) {
+ $237 = $235 << 1;
+ $238 = (33608 + ($237<<2)|0);
+ $239 = HEAP32[8392]|0;
+ $240 = 1 << $235;
+ $241 = $239 & $240;
+ $242 = ($241|0)==(0);
+ if ($242) {
+ $243 = $239 | $240;
+ HEAP32[8392] = $243;
+ $$pre = ((($238)) + 8|0);
+ $$0403 = $238;$$pre$phiZ2D = $$pre;
} else {
- $64 = ((($arrayidx509)) + 8|0);
- $65 = HEAP32[$64>>2]|0;
- $66 = HEAP32[(33544)>>2]|0;
- $cmp519 = ($66>>>0)>($65>>>0);
- if ($cmp519) {
+ $244 = ((($238)) + 8|0);
+ $245 = HEAP32[$244>>2]|0;
+ $246 = HEAP32[(33584)>>2]|0;
+ $247 = ($246>>>0)>($245>>>0);
+ if ($247) {
_abort();
// unreachable;
} else {
- $$pre$phiZ2D = $64;$F510$0 = $65;
+ $$0403 = $245;$$pre$phiZ2D = $244;
}
}
- HEAP32[$$pre$phiZ2D>>2] = $p$1;
- $bk529 = ((($F510$0)) + 12|0);
- HEAP32[$bk529>>2] = $p$1;
- $fd530 = ((($p$1)) + 8|0);
- HEAP32[$fd530>>2] = $F510$0;
- $bk531 = ((($p$1)) + 12|0);
- HEAP32[$bk531>>2] = $arrayidx509;
+ HEAP32[$$pre$phiZ2D>>2] = $$1;
+ $248 = ((($$0403)) + 12|0);
+ HEAP32[$248>>2] = $$1;
+ $249 = ((($$1)) + 8|0);
+ HEAP32[$249>>2] = $$0403;
+ $250 = ((($$1)) + 12|0);
+ HEAP32[$250>>2] = $238;
return;
}
- $shr535 = $psize$2 >>> 8;
- $cmp536 = ($shr535|0)==(0);
- if ($cmp536) {
- $I534$0 = 0;
+ $251 = $$2 >>> 8;
+ $252 = ($251|0)==(0);
+ if ($252) {
+ $$0396 = 0;
} else {
- $cmp540 = ($psize$2>>>0)>(16777215);
- if ($cmp540) {
- $I534$0 = 31;
+ $253 = ($$2>>>0)>(16777215);
+ if ($253) {
+ $$0396 = 31;
} else {
- $sub = (($shr535) + 1048320)|0;
- $shr544 = $sub >>> 16;
- $and545 = $shr544 & 8;
- $shl546 = $shr535 << $and545;
- $sub547 = (($shl546) + 520192)|0;
- $shr548 = $sub547 >>> 16;
- $and549 = $shr548 & 4;
- $add550 = $and549 | $and545;
- $shl551 = $shl546 << $and549;
- $sub552 = (($shl551) + 245760)|0;
- $shr553 = $sub552 >>> 16;
- $and554 = $shr553 & 2;
- $add555 = $add550 | $and554;
- $sub556 = (14 - ($add555))|0;
- $shl557 = $shl551 << $and554;
- $shr558 = $shl557 >>> 15;
- $add559 = (($sub556) + ($shr558))|0;
- $shl560 = $add559 << 1;
- $add561 = (($add559) + 7)|0;
- $shr562 = $psize$2 >>> $add561;
- $and563 = $shr562 & 1;
- $add564 = $and563 | $shl560;
- $I534$0 = $add564;
+ $254 = (($251) + 1048320)|0;
+ $255 = $254 >>> 16;
+ $256 = $255 & 8;
+ $257 = $251 << $256;
+ $258 = (($257) + 520192)|0;
+ $259 = $258 >>> 16;
+ $260 = $259 & 4;
+ $261 = $260 | $256;
+ $262 = $257 << $260;
+ $263 = (($262) + 245760)|0;
+ $264 = $263 >>> 16;
+ $265 = $264 & 2;
+ $266 = $261 | $265;
+ $267 = (14 - ($266))|0;
+ $268 = $262 << $265;
+ $269 = $268 >>> 15;
+ $270 = (($267) + ($269))|0;
+ $271 = $270 << 1;
+ $272 = (($270) + 7)|0;
+ $273 = $$2 >>> $272;
+ $274 = $273 & 1;
+ $275 = $274 | $271;
+ $$0396 = $275;
}
}
- $arrayidx567 = (33832 + ($I534$0<<2)|0);
- $index568 = ((($p$1)) + 28|0);
- HEAP32[$index568>>2] = $I534$0;
- $child569 = ((($p$1)) + 16|0);
- $arrayidx570 = ((($p$1)) + 20|0);
- HEAP32[$arrayidx570>>2] = 0;
- HEAP32[$child569>>2] = 0;
- $67 = HEAP32[(33532)>>2]|0;
- $shl573 = 1 << $I534$0;
- $and574 = $67 & $shl573;
- $tobool575 = ($and574|0)==(0);
+ $276 = (33872 + ($$0396<<2)|0);
+ $277 = ((($$1)) + 28|0);
+ HEAP32[$277>>2] = $$0396;
+ $278 = ((($$1)) + 16|0);
+ $279 = ((($$1)) + 20|0);
+ HEAP32[$279>>2] = 0;
+ HEAP32[$278>>2] = 0;
+ $280 = HEAP32[(33572)>>2]|0;
+ $281 = 1 << $$0396;
+ $282 = $280 & $281;
+ $283 = ($282|0)==(0);
do {
- if ($tobool575) {
- $or578 = $67 | $shl573;
- HEAP32[(33532)>>2] = $or578;
- HEAP32[$arrayidx567>>2] = $p$1;
- $parent579 = ((($p$1)) + 24|0);
- HEAP32[$parent579>>2] = $arrayidx567;
- $bk580 = ((($p$1)) + 12|0);
- HEAP32[$bk580>>2] = $p$1;
- $fd581 = ((($p$1)) + 8|0);
- HEAP32[$fd581>>2] = $p$1;
+ if ($283) {
+ $284 = $280 | $281;
+ HEAP32[(33572)>>2] = $284;
+ HEAP32[$276>>2] = $$1;
+ $285 = ((($$1)) + 24|0);
+ HEAP32[$285>>2] = $276;
+ $286 = ((($$1)) + 12|0);
+ HEAP32[$286>>2] = $$1;
+ $287 = ((($$1)) + 8|0);
+ HEAP32[$287>>2] = $$1;
} else {
- $68 = HEAP32[$arrayidx567>>2]|0;
- $cmp584 = ($I534$0|0)==(31);
- $shr586 = $I534$0 >>> 1;
- $sub589 = (25 - ($shr586))|0;
- $cond = $cmp584 ? 0 : $sub589;
- $shl590 = $psize$2 << $cond;
- $K583$0 = $shl590;$T$0 = $68;
+ $288 = HEAP32[$276>>2]|0;
+ $289 = ($$0396|0)==(31);
+ $290 = $$0396 >>> 1;
+ $291 = (25 - ($290))|0;
+ $292 = $289 ? 0 : $291;
+ $293 = $$2 << $292;
+ $$0383 = $293;$$0384 = $288;
while(1) {
- $head591 = ((($T$0)) + 4|0);
- $69 = HEAP32[$head591>>2]|0;
- $and592 = $69 & -8;
- $cmp593 = ($and592|0)==($psize$2|0);
- if ($cmp593) {
+ $294 = ((($$0384)) + 4|0);
+ $295 = HEAP32[$294>>2]|0;
+ $296 = $295 & -8;
+ $297 = ($296|0)==($$2|0);
+ if ($297) {
label = 124;
break;
}
- $shr597 = $K583$0 >>> 31;
- $arrayidx599 = (((($T$0)) + 16|0) + ($shr597<<2)|0);
- $shl600 = $K583$0 << 1;
- $70 = HEAP32[$arrayidx599>>2]|0;
- $cmp601 = ($70|0)==(0|0);
- if ($cmp601) {
+ $298 = $$0383 >>> 31;
+ $299 = (((($$0384)) + 16|0) + ($298<<2)|0);
+ $300 = $$0383 << 1;
+ $301 = HEAP32[$299>>2]|0;
+ $302 = ($301|0)==(0|0);
+ if ($302) {
label = 121;
break;
} else {
- $K583$0 = $shl600;$T$0 = $70;
+ $$0383 = $300;$$0384 = $301;
}
}
if ((label|0) == 121) {
- $71 = HEAP32[(33544)>>2]|0;
- $cmp605 = ($71>>>0)>($arrayidx599>>>0);
- if ($cmp605) {
+ $303 = HEAP32[(33584)>>2]|0;
+ $304 = ($303>>>0)>($299>>>0);
+ if ($304) {
_abort();
// unreachable;
} else {
- HEAP32[$arrayidx599>>2] = $p$1;
- $parent610 = ((($p$1)) + 24|0);
- HEAP32[$parent610>>2] = $T$0;
- $bk611 = ((($p$1)) + 12|0);
- HEAP32[$bk611>>2] = $p$1;
- $fd612 = ((($p$1)) + 8|0);
- HEAP32[$fd612>>2] = $p$1;
+ HEAP32[$299>>2] = $$1;
+ $305 = ((($$1)) + 24|0);
+ HEAP32[$305>>2] = $$0384;
+ $306 = ((($$1)) + 12|0);
+ HEAP32[$306>>2] = $$1;
+ $307 = ((($$1)) + 8|0);
+ HEAP32[$307>>2] = $$1;
break;
}
}
else if ((label|0) == 124) {
- $fd620 = ((($T$0)) + 8|0);
- $72 = HEAP32[$fd620>>2]|0;
- $73 = HEAP32[(33544)>>2]|0;
- $cmp621 = ($73>>>0)<=($T$0>>>0);
- $cmp624 = ($73>>>0)<=($72>>>0);
- $74 = $cmp624 & $cmp621;
- if ($74) {
- $bk631 = ((($72)) + 12|0);
- HEAP32[$bk631>>2] = $p$1;
- HEAP32[$fd620>>2] = $p$1;
- $fd633 = ((($p$1)) + 8|0);
- HEAP32[$fd633>>2] = $72;
- $bk634 = ((($p$1)) + 12|0);
- HEAP32[$bk634>>2] = $T$0;
- $parent635 = ((($p$1)) + 24|0);
- HEAP32[$parent635>>2] = 0;
+ $308 = ((($$0384)) + 8|0);
+ $309 = HEAP32[$308>>2]|0;
+ $310 = HEAP32[(33584)>>2]|0;
+ $311 = ($310>>>0)<=($$0384>>>0);
+ $312 = ($310>>>0)<=($309>>>0);
+ $313 = $312 & $311;
+ if ($313) {
+ $314 = ((($309)) + 12|0);
+ HEAP32[$314>>2] = $$1;
+ HEAP32[$308>>2] = $$1;
+ $315 = ((($$1)) + 8|0);
+ HEAP32[$315>>2] = $309;
+ $316 = ((($$1)) + 12|0);
+ HEAP32[$316>>2] = $$0384;
+ $317 = ((($$1)) + 24|0);
+ HEAP32[$317>>2] = 0;
break;
} else {
_abort();
@@ -99745,582 +99746,1121 @@ function _free($mem) {
}
}
} while(0);
- $75 = HEAP32[(33560)>>2]|0;
- $dec = (($75) + -1)|0;
- HEAP32[(33560)>>2] = $dec;
- $cmp640 = ($dec|0)==(0);
- if ($cmp640) {
- $sp$0$in$i = (33984);
+ $318 = HEAP32[(33600)>>2]|0;
+ $319 = (($318) + -1)|0;
+ HEAP32[(33600)>>2] = $319;
+ $320 = ($319|0)==(0);
+ if ($320) {
+ $$0212$in$i = (34024);
} else {
return;
}
while(1) {
- $sp$0$i = HEAP32[$sp$0$in$i>>2]|0;
- $cmp$i = ($sp$0$i|0)==(0|0);
- $next4$i = ((($sp$0$i)) + 8|0);
- if ($cmp$i) {
+ $$0212$i = HEAP32[$$0212$in$i>>2]|0;
+ $321 = ($$0212$i|0)==(0|0);
+ $322 = ((($$0212$i)) + 8|0);
+ if ($321) {
break;
} else {
- $sp$0$in$i = $next4$i;
+ $$0212$in$i = $322;
}
}
- HEAP32[(33560)>>2] = -1;
+ HEAP32[(33600)>>2] = -1;
return;
}
-function ___stdio_close($f) {
- $f = $f|0;
- var $0 = 0, $call = 0, $call1 = 0, $call2 = 0, $fd = 0, $vararg_buffer = 0, label = 0, sp = 0;
+function ___stdio_close($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $vararg_buffer = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
$vararg_buffer = sp;
- $fd = ((($f)) + 60|0);
- $0 = HEAP32[$fd>>2]|0;
- $call = (_dummy($0)|0);
- HEAP32[$vararg_buffer>>2] = $call;
- $call1 = (___syscall6(6,($vararg_buffer|0))|0);
- $call2 = (___syscall_ret($call1)|0);
- STACKTOP = sp;return ($call2|0);
+ $1 = ((($0)) + 60|0);
+ $2 = HEAP32[$1>>2]|0;
+ $3 = (_dummy($2)|0);
+ HEAP32[$vararg_buffer>>2] = $3;
+ $4 = (___syscall6(6,($vararg_buffer|0))|0);
+ $5 = (___syscall_ret($4)|0);
+ STACKTOP = sp;return ($5|0);
}
-function ___stdio_seek($f,$off,$whence) {
- $f = $f|0;
- $off = $off|0;
- $whence = $whence|0;
- var $$pre = 0, $0 = 0, $1 = 0, $2 = 0, $call = 0, $call1 = 0, $cmp = 0, $fd = 0, $ret = 0, $vararg_buffer = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0, $vararg_ptr3 = 0, $vararg_ptr4 = 0, label = 0, sp = 0;
+function ___stdout_write($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
$vararg_buffer = sp;
- $ret = sp + 20|0;
- $fd = ((($f)) + 60|0);
- $0 = HEAP32[$fd>>2]|0;
- $1 = $ret;
- HEAP32[$vararg_buffer>>2] = $0;
+ $3 = sp + 16|0;
+ $4 = ((($0)) + 36|0);
+ HEAP32[$4>>2] = 20;
+ $5 = HEAP32[$0>>2]|0;
+ $6 = $5 & 64;
+ $7 = ($6|0)==(0);
+ if ($7) {
+ $8 = ((($0)) + 60|0);
+ $9 = HEAP32[$8>>2]|0;
+ $10 = $3;
+ HEAP32[$vararg_buffer>>2] = $9;
+ $vararg_ptr1 = ((($vararg_buffer)) + 4|0);
+ HEAP32[$vararg_ptr1>>2] = 21523;
+ $vararg_ptr2 = ((($vararg_buffer)) + 8|0);
+ HEAP32[$vararg_ptr2>>2] = $10;
+ $11 = (___syscall54(54,($vararg_buffer|0))|0);
+ $12 = ($11|0)==(0);
+ if (!($12)) {
+ $13 = ((($0)) + 75|0);
+ HEAP8[$13>>0] = -1;
+ }
+ }
+ $14 = (___stdio_write($0,$1,$2)|0);
+ STACKTOP = sp;return ($14|0);
+}
+function ___stdio_seek($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$pre = 0, $10 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0, $vararg_ptr3 = 0, $vararg_ptr4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
+ $vararg_buffer = sp;
+ $3 = sp + 20|0;
+ $4 = ((($0)) + 60|0);
+ $5 = HEAP32[$4>>2]|0;
+ $6 = $3;
+ HEAP32[$vararg_buffer>>2] = $5;
$vararg_ptr1 = ((($vararg_buffer)) + 4|0);
HEAP32[$vararg_ptr1>>2] = 0;
$vararg_ptr2 = ((($vararg_buffer)) + 8|0);
- HEAP32[$vararg_ptr2>>2] = $off;
+ HEAP32[$vararg_ptr2>>2] = $1;
$vararg_ptr3 = ((($vararg_buffer)) + 12|0);
- HEAP32[$vararg_ptr3>>2] = $1;
+ HEAP32[$vararg_ptr3>>2] = $6;
$vararg_ptr4 = ((($vararg_buffer)) + 16|0);
- HEAP32[$vararg_ptr4>>2] = $whence;
- $call = (___syscall140(140,($vararg_buffer|0))|0);
- $call1 = (___syscall_ret($call)|0);
- $cmp = ($call1|0)<(0);
- if ($cmp) {
- HEAP32[$ret>>2] = -1;
- $2 = -1;
+ HEAP32[$vararg_ptr4>>2] = $2;
+ $7 = (___syscall140(140,($vararg_buffer|0))|0);
+ $8 = (___syscall_ret($7)|0);
+ $9 = ($8|0)<(0);
+ if ($9) {
+ HEAP32[$3>>2] = -1;
+ $10 = -1;
} else {
- $$pre = HEAP32[$ret>>2]|0;
- $2 = $$pre;
+ $$pre = HEAP32[$3>>2]|0;
+ $10 = $$pre;
}
- STACKTOP = sp;return ($2|0);
+ STACKTOP = sp;return ($10|0);
}
-function ___syscall_ret($r) {
- $r = $r|0;
- var $call = 0, $cmp = 0, $retval$0 = 0, $sub = 0, label = 0, sp = 0;
+function ___syscall_ret($0) {
+ $0 = $0|0;
+ var $$0 = 0, $1 = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $cmp = ($r>>>0)>(4294963200);
- if ($cmp) {
- $sub = (0 - ($r))|0;
- $call = (___errno_location()|0);
- HEAP32[$call>>2] = $sub;
- $retval$0 = -1;
+ $1 = ($0>>>0)>(4294963200);
+ if ($1) {
+ $2 = (0 - ($0))|0;
+ $3 = (___errno_location()|0);
+ HEAP32[$3>>2] = $2;
+ $$0 = -1;
} else {
- $retval$0 = $r;
+ $$0 = $0;
}
- return ($retval$0|0);
+ return ($$0|0);
}
function ___errno_location() {
var label = 0, sp = 0;
sp = STACKTOP;
- return (34088|0);
+ return (34128|0);
}
-function _dummy($fd) {
- $fd = $fd|0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- return ($fd|0);
-}
-function ___stdout_write($f,$buf,$len) {
- $f = $f|0;
- $buf = $buf|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $2 = 0, $and = 0, $call = 0, $call3 = 0, $fd = 0, $lbf = 0, $tobool = 0, $tobool2 = 0, $vararg_buffer = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0, $write = 0, $wsz = 0, label = 0, sp = 0;
- sp = STACKTOP;
- STACKTOP = STACKTOP + 32|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(32|0);
- $vararg_buffer = sp;
- $wsz = sp + 16|0;
- $write = ((($f)) + 36|0);
- HEAP32[$write>>2] = 20;
- $0 = HEAP32[$f>>2]|0;
- $and = $0 & 64;
- $tobool = ($and|0)==(0);
- if ($tobool) {
- $fd = ((($f)) + 60|0);
- $1 = HEAP32[$fd>>2]|0;
- $2 = $wsz;
- HEAP32[$vararg_buffer>>2] = $1;
- $vararg_ptr1 = ((($vararg_buffer)) + 4|0);
- HEAP32[$vararg_ptr1>>2] = 21523;
- $vararg_ptr2 = ((($vararg_buffer)) + 8|0);
- HEAP32[$vararg_ptr2>>2] = $2;
- $call = (___syscall54(54,($vararg_buffer|0))|0);
- $tobool2 = ($call|0)==(0);
- if (!($tobool2)) {
- $lbf = ((($f)) + 75|0);
- HEAP8[$lbf>>0] = -1;
- }
- }
- $call3 = (___stdio_write($f,$buf,$len)|0);
- STACKTOP = sp;return ($call3|0);
-}
-function ___stdio_write($f,$buf,$len) {
- $f = $f|0;
- $buf = $buf|0;
- $len = $len|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add$ptr = 0, $add$ptr32 = 0, $buf8 = 0, $buf_size = 0, $call = 0;
- var $call40 = 0, $call7 = 0, $call741 = 0, $call746 = 0, $cmp = 0, $cmp12 = 0, $cmp17 = 0, $cmp24 = 0, $cmp42 = 0, $cnt$0 = 0, $dec = 0, $fd = 0, $incdec$ptr = 0, $iov$043 = 0, $iov$1 = 0, $iov_base2 = 0, $iov_len = 0, $iov_len19 = 0, $iov_len23 = 0, $iov_len3 = 0;
- var $iov_len36 = 0, $iovcnt$045 = 0, $iovcnt$1 = 0, $iovs = 0, $or = 0, $rem$044 = 0, $retval$0 = 0, $sub = 0, $sub$ptr$sub = 0, $sub21 = 0, $sub28 = 0, $sub37 = 0, $vararg_buffer = 0, $vararg_buffer3 = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0, $vararg_ptr6 = 0, $vararg_ptr7 = 0, $wbase = 0, $wend = 0;
- var $wend14 = 0, $wpos = 0, label = 0, sp = 0;
+function ___stdio_write($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$0 = 0, $$04756 = 0, $$04855 = 0, $$04954 = 0, $$051 = 0, $$1 = 0, $$150 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0;
+ var $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_buffer3 = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0;
+ var $vararg_ptr6 = 0, $vararg_ptr7 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 48|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(48|0);
$vararg_buffer3 = sp + 16|0;
$vararg_buffer = sp;
- $iovs = sp + 32|0;
- $wbase = ((($f)) + 28|0);
- $0 = HEAP32[$wbase>>2]|0;
- HEAP32[$iovs>>2] = $0;
- $iov_len = ((($iovs)) + 4|0);
- $wpos = ((($f)) + 20|0);
- $1 = HEAP32[$wpos>>2]|0;
- $sub$ptr$sub = (($1) - ($0))|0;
- HEAP32[$iov_len>>2] = $sub$ptr$sub;
- $iov_base2 = ((($iovs)) + 8|0);
- HEAP32[$iov_base2>>2] = $buf;
- $iov_len3 = ((($iovs)) + 12|0);
- HEAP32[$iov_len3>>2] = $len;
- $add = (($sub$ptr$sub) + ($len))|0;
- $fd = ((($f)) + 60|0);
- $2 = HEAP32[$fd>>2]|0;
- $3 = $iovs;
- HEAP32[$vararg_buffer>>2] = $2;
+ $3 = sp + 32|0;
+ $4 = ((($0)) + 28|0);
+ $5 = HEAP32[$4>>2]|0;
+ HEAP32[$3>>2] = $5;
+ $6 = ((($3)) + 4|0);
+ $7 = ((($0)) + 20|0);
+ $8 = HEAP32[$7>>2]|0;
+ $9 = (($8) - ($5))|0;
+ HEAP32[$6>>2] = $9;
+ $10 = ((($3)) + 8|0);
+ HEAP32[$10>>2] = $1;
+ $11 = ((($3)) + 12|0);
+ HEAP32[$11>>2] = $2;
+ $12 = (($9) + ($2))|0;
+ $13 = ((($0)) + 60|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = $3;
+ HEAP32[$vararg_buffer>>2] = $14;
$vararg_ptr1 = ((($vararg_buffer)) + 4|0);
- HEAP32[$vararg_ptr1>>2] = $3;
+ HEAP32[$vararg_ptr1>>2] = $15;
$vararg_ptr2 = ((($vararg_buffer)) + 8|0);
HEAP32[$vararg_ptr2>>2] = 2;
- $call40 = (___syscall146(146,($vararg_buffer|0))|0);
- $call741 = (___syscall_ret($call40)|0);
- $cmp42 = ($add|0)==($call741|0);
+ $16 = (___syscall146(146,($vararg_buffer|0))|0);
+ $17 = (___syscall_ret($16)|0);
+ $18 = ($12|0)==($17|0);
L1: do {
- if ($cmp42) {
+ if ($18) {
label = 3;
} else {
- $call746 = $call741;$iov$043 = $iovs;$iovcnt$045 = 2;$rem$044 = $add;
+ $$04756 = 2;$$04855 = $12;$$04954 = $3;$26 = $17;
while(1) {
- $cmp12 = ($call746|0)<(0);
- if ($cmp12) {
+ $27 = ($26|0)<(0);
+ if ($27) {
break;
}
- $sub21 = (($rem$044) - ($call746))|0;
- $iov_len23 = ((($iov$043)) + 4|0);
- $9 = HEAP32[$iov_len23>>2]|0;
- $cmp24 = ($call746>>>0)>($9>>>0);
- $incdec$ptr = ((($iov$043)) + 8|0);
- $iov$1 = $cmp24 ? $incdec$ptr : $iov$043;
- $dec = $cmp24 << 31 >> 31;
- $iovcnt$1 = (($iovcnt$045) + ($dec))|0;
- $sub28 = $cmp24 ? $9 : 0;
- $cnt$0 = (($call746) - ($sub28))|0;
- $10 = HEAP32[$iov$1>>2]|0;
- $add$ptr32 = (($10) + ($cnt$0)|0);
- HEAP32[$iov$1>>2] = $add$ptr32;
- $iov_len36 = ((($iov$1)) + 4|0);
- $11 = HEAP32[$iov_len36>>2]|0;
- $sub37 = (($11) - ($cnt$0))|0;
- HEAP32[$iov_len36>>2] = $sub37;
- $12 = HEAP32[$fd>>2]|0;
- $13 = $iov$1;
- HEAP32[$vararg_buffer3>>2] = $12;
+ $35 = (($$04855) - ($26))|0;
+ $36 = ((($$04954)) + 4|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = ($26>>>0)>($37>>>0);
+ $39 = ((($$04954)) + 8|0);
+ $$150 = $38 ? $39 : $$04954;
+ $40 = $38 << 31 >> 31;
+ $$1 = (($$04756) + ($40))|0;
+ $41 = $38 ? $37 : 0;
+ $$0 = (($26) - ($41))|0;
+ $42 = HEAP32[$$150>>2]|0;
+ $43 = (($42) + ($$0)|0);
+ HEAP32[$$150>>2] = $43;
+ $44 = ((($$150)) + 4|0);
+ $45 = HEAP32[$44>>2]|0;
+ $46 = (($45) - ($$0))|0;
+ HEAP32[$44>>2] = $46;
+ $47 = HEAP32[$13>>2]|0;
+ $48 = $$150;
+ HEAP32[$vararg_buffer3>>2] = $47;
$vararg_ptr6 = ((($vararg_buffer3)) + 4|0);
- HEAP32[$vararg_ptr6>>2] = $13;
+ HEAP32[$vararg_ptr6>>2] = $48;
$vararg_ptr7 = ((($vararg_buffer3)) + 8|0);
- HEAP32[$vararg_ptr7>>2] = $iovcnt$1;
- $call = (___syscall146(146,($vararg_buffer3|0))|0);
- $call7 = (___syscall_ret($call)|0);
- $cmp = ($sub21|0)==($call7|0);
- if ($cmp) {
+ HEAP32[$vararg_ptr7>>2] = $$1;
+ $49 = (___syscall146(146,($vararg_buffer3|0))|0);
+ $50 = (___syscall_ret($49)|0);
+ $51 = ($35|0)==($50|0);
+ if ($51) {
label = 3;
break L1;
} else {
- $call746 = $call7;$iov$043 = $iov$1;$iovcnt$045 = $iovcnt$1;$rem$044 = $sub21;
+ $$04756 = $$1;$$04855 = $35;$$04954 = $$150;$26 = $50;
}
}
- $wend14 = ((($f)) + 16|0);
- HEAP32[$wend14>>2] = 0;
- HEAP32[$wbase>>2] = 0;
- HEAP32[$wpos>>2] = 0;
- $7 = HEAP32[$f>>2]|0;
- $or = $7 | 32;
- HEAP32[$f>>2] = $or;
- $cmp17 = ($iovcnt$045|0)==(2);
- if ($cmp17) {
- $retval$0 = 0;
+ $28 = ((($0)) + 16|0);
+ HEAP32[$28>>2] = 0;
+ HEAP32[$4>>2] = 0;
+ HEAP32[$7>>2] = 0;
+ $29 = HEAP32[$0>>2]|0;
+ $30 = $29 | 32;
+ HEAP32[$0>>2] = $30;
+ $31 = ($$04756|0)==(2);
+ if ($31) {
+ $$051 = 0;
} else {
- $iov_len19 = ((($iov$043)) + 4|0);
- $8 = HEAP32[$iov_len19>>2]|0;
- $sub = (($len) - ($8))|0;
- $retval$0 = $sub;
+ $32 = ((($$04954)) + 4|0);
+ $33 = HEAP32[$32>>2]|0;
+ $34 = (($2) - ($33))|0;
+ $$051 = $34;
}
}
} while(0);
if ((label|0) == 3) {
- $buf8 = ((($f)) + 44|0);
- $4 = HEAP32[$buf8>>2]|0;
- $buf_size = ((($f)) + 48|0);
- $5 = HEAP32[$buf_size>>2]|0;
- $add$ptr = (($4) + ($5)|0);
- $wend = ((($f)) + 16|0);
- HEAP32[$wend>>2] = $add$ptr;
- $6 = $4;
- HEAP32[$wbase>>2] = $6;
- HEAP32[$wpos>>2] = $6;
- $retval$0 = $len;
+ $19 = ((($0)) + 44|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = ((($0)) + 48|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = (($20) + ($22)|0);
+ $24 = ((($0)) + 16|0);
+ HEAP32[$24>>2] = $23;
+ $25 = $20;
+ HEAP32[$4>>2] = $25;
+ HEAP32[$7>>2] = $25;
+ $$051 = $2;
}
- STACKTOP = sp;return ($retval$0|0);
+ STACKTOP = sp;return ($$051|0);
}
-function _strcmp($l,$r) {
- $l = $l|0;
- $r = $r|0;
- var $$lcssa = 0, $$lcssa6 = 0, $0 = 0, $1 = 0, $2 = 0, $3 = 0, $cmp = 0, $cmp7 = 0, $conv5 = 0, $conv6 = 0, $incdec$ptr = 0, $incdec$ptr4 = 0, $l$addr$010 = 0, $or$cond = 0, $or$cond9 = 0, $r$addr$011 = 0, $sub = 0, $tobool = 0, $tobool8 = 0, label = 0;
+function _dummy($0) {
+ $0 = $0|0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ return ($0|0);
+}
+function _memchr($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$0$lcssa = 0, $$035$lcssa = 0, $$035$lcssa65 = 0, $$03555 = 0, $$036$lcssa = 0, $$036$lcssa64 = 0, $$03654 = 0, $$046 = 0, $$137$lcssa = 0, $$13745 = 0, $$140 = 0, $$2 = 0, $$23839 = 0, $$3 = 0, $$lcssa = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0;
+ var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0;
+ var $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond53 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $3 = $1 & 255;
+ $4 = $0;
+ $5 = $4 & 3;
+ $6 = ($5|0)!=(0);
+ $7 = ($2|0)!=(0);
+ $or$cond53 = $7 & $6;
+ L1: do {
+ if ($or$cond53) {
+ $8 = $1&255;
+ $$03555 = $0;$$03654 = $2;
+ while(1) {
+ $9 = HEAP8[$$03555>>0]|0;
+ $10 = ($9<<24>>24)==($8<<24>>24);
+ if ($10) {
+ $$035$lcssa65 = $$03555;$$036$lcssa64 = $$03654;
+ label = 6;
+ break L1;
+ }
+ $11 = ((($$03555)) + 1|0);
+ $12 = (($$03654) + -1)|0;
+ $13 = $11;
+ $14 = $13 & 3;
+ $15 = ($14|0)!=(0);
+ $16 = ($12|0)!=(0);
+ $or$cond = $16 & $15;
+ if ($or$cond) {
+ $$03555 = $11;$$03654 = $12;
+ } else {
+ $$035$lcssa = $11;$$036$lcssa = $12;$$lcssa = $16;
+ label = 5;
+ break;
+ }
+ }
+ } else {
+ $$035$lcssa = $0;$$036$lcssa = $2;$$lcssa = $7;
+ label = 5;
+ }
+ } while(0);
+ if ((label|0) == 5) {
+ if ($$lcssa) {
+ $$035$lcssa65 = $$035$lcssa;$$036$lcssa64 = $$036$lcssa;
+ label = 6;
+ } else {
+ $$2 = $$035$lcssa;$$3 = 0;
+ }
+ }
+ L8: do {
+ if ((label|0) == 6) {
+ $17 = HEAP8[$$035$lcssa65>>0]|0;
+ $18 = $1&255;
+ $19 = ($17<<24>>24)==($18<<24>>24);
+ if ($19) {
+ $$2 = $$035$lcssa65;$$3 = $$036$lcssa64;
+ } else {
+ $20 = Math_imul($3, 16843009)|0;
+ $21 = ($$036$lcssa64>>>0)>(3);
+ L11: do {
+ if ($21) {
+ $$046 = $$035$lcssa65;$$13745 = $$036$lcssa64;
+ while(1) {
+ $22 = HEAP32[$$046>>2]|0;
+ $23 = $22 ^ $20;
+ $24 = (($23) + -16843009)|0;
+ $25 = $23 & -2139062144;
+ $26 = $25 ^ -2139062144;
+ $27 = $26 & $24;
+ $28 = ($27|0)==(0);
+ if (!($28)) {
+ break;
+ }
+ $29 = ((($$046)) + 4|0);
+ $30 = (($$13745) + -4)|0;
+ $31 = ($30>>>0)>(3);
+ if ($31) {
+ $$046 = $29;$$13745 = $30;
+ } else {
+ $$0$lcssa = $29;$$137$lcssa = $30;
+ label = 11;
+ break L11;
+ }
+ }
+ $$140 = $$046;$$23839 = $$13745;
+ } else {
+ $$0$lcssa = $$035$lcssa65;$$137$lcssa = $$036$lcssa64;
+ label = 11;
+ }
+ } while(0);
+ if ((label|0) == 11) {
+ $32 = ($$137$lcssa|0)==(0);
+ if ($32) {
+ $$2 = $$0$lcssa;$$3 = 0;
+ break;
+ } else {
+ $$140 = $$0$lcssa;$$23839 = $$137$lcssa;
+ }
+ }
+ while(1) {
+ $33 = HEAP8[$$140>>0]|0;
+ $34 = ($33<<24>>24)==($18<<24>>24);
+ if ($34) {
+ $$2 = $$140;$$3 = $$23839;
+ break L8;
+ }
+ $35 = ((($$140)) + 1|0);
+ $36 = (($$23839) + -1)|0;
+ $37 = ($36|0)==(0);
+ if ($37) {
+ $$2 = $35;$$3 = 0;
+ break;
+ } else {
+ $$140 = $35;$$23839 = $36;
+ }
+ }
+ }
+ }
+ } while(0);
+ $38 = ($$3|0)!=(0);
+ $39 = $38 ? $$2 : 0;
+ return ($39|0);
+}
+function _strcmp($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$011 = 0, $$0710 = 0, $$lcssa = 0, $$lcssa8 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond9 = 0, label = 0;
var sp = 0;
sp = STACKTOP;
- $0 = HEAP8[$l>>0]|0;
- $1 = HEAP8[$r>>0]|0;
- $cmp7 = ($0<<24>>24)!=($1<<24>>24);
- $tobool8 = ($0<<24>>24)==(0);
- $or$cond9 = $tobool8 | $cmp7;
+ $2 = HEAP8[$0>>0]|0;
+ $3 = HEAP8[$1>>0]|0;
+ $4 = ($2<<24>>24)!=($3<<24>>24);
+ $5 = ($2<<24>>24)==(0);
+ $or$cond9 = $5 | $4;
if ($or$cond9) {
- $$lcssa = $1;$$lcssa6 = $0;
+ $$lcssa = $3;$$lcssa8 = $2;
} else {
- $l$addr$010 = $l;$r$addr$011 = $r;
+ $$011 = $1;$$0710 = $0;
while(1) {
- $incdec$ptr = ((($l$addr$010)) + 1|0);
- $incdec$ptr4 = ((($r$addr$011)) + 1|0);
- $2 = HEAP8[$incdec$ptr>>0]|0;
- $3 = HEAP8[$incdec$ptr4>>0]|0;
- $cmp = ($2<<24>>24)!=($3<<24>>24);
- $tobool = ($2<<24>>24)==(0);
- $or$cond = $tobool | $cmp;
+ $6 = ((($$0710)) + 1|0);
+ $7 = ((($$011)) + 1|0);
+ $8 = HEAP8[$6>>0]|0;
+ $9 = HEAP8[$7>>0]|0;
+ $10 = ($8<<24>>24)!=($9<<24>>24);
+ $11 = ($8<<24>>24)==(0);
+ $or$cond = $11 | $10;
if ($or$cond) {
- $$lcssa = $3;$$lcssa6 = $2;
+ $$lcssa = $9;$$lcssa8 = $8;
break;
} else {
- $l$addr$010 = $incdec$ptr;$r$addr$011 = $incdec$ptr4;
+ $$011 = $7;$$0710 = $6;
}
}
}
- $conv5 = $$lcssa6&255;
- $conv6 = $$lcssa&255;
- $sub = (($conv5) - ($conv6))|0;
- return ($sub|0);
+ $12 = $$lcssa8&255;
+ $13 = $$lcssa&255;
+ $14 = (($12) - ($13))|0;
+ return ($14|0);
}
-function _vfprintf($f,$fmt,$ap) {
- $f = $f|0;
- $fmt = $fmt|0;
- $ap = $ap|0;
- var $$call21 = 0, $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $add$ptr = 0, $and = 0, $and11 = 0, $and36 = 0, $ap2 = 0, $buf = 0, $buf_size = 0, $call = 0, $call21 = 0, $call2130 = 0, $call6 = 0;
- var $cmp = 0, $cmp5 = 0, $cmp7 = 0, $cond = 0, $internal_buf = 0, $lock = 0, $mode = 0, $nl_arg = 0, $nl_type = 0, $or = 0, $ret$1 = 0, $ret$1$ = 0, $retval$0 = 0, $tobool = 0, $tobool22 = 0, $tobool26 = 0, $tobool37 = 0, $tobool41 = 0, $vacopy_currentptr = 0, $wbase = 0;
- var $wend = 0, $wpos = 0, $write = 0, dest = 0, label = 0, sp = 0, stop = 0;
+function _strerror($0) {
+ $0 = $0|0;
+ var $1 = 0, $2 = 0, $3 = 0, $4 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $1 = (___pthread_self_490()|0);
+ $2 = ((($1)) + 188|0);
+ $3 = HEAP32[$2>>2]|0;
+ $4 = (___strerror_l($0,$3)|0);
+ return ($4|0);
+}
+function ___pthread_self_490() {
+ var $0 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $0 = (_pthread_self()|0);
+ return ($0|0);
+}
+function ___strerror_l($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$012$lcssa = 0, $$01214 = 0, $$016 = 0, $$113 = 0, $$115 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ $$016 = 0;
+ while(1) {
+ $3 = (30978 + ($$016)|0);
+ $4 = HEAP8[$3>>0]|0;
+ $5 = $4&255;
+ $6 = ($5|0)==($0|0);
+ if ($6) {
+ label = 2;
+ break;
+ }
+ $7 = (($$016) + 1)|0;
+ $8 = ($7|0)==(87);
+ if ($8) {
+ $$01214 = 31066;$$115 = 87;
+ label = 5;
+ break;
+ } else {
+ $$016 = $7;
+ }
+ }
+ if ((label|0) == 2) {
+ $2 = ($$016|0)==(0);
+ if ($2) {
+ $$012$lcssa = 31066;
+ } else {
+ $$01214 = 31066;$$115 = $$016;
+ label = 5;
+ }
+ }
+ if ((label|0) == 5) {
+ while(1) {
+ label = 0;
+ $$113 = $$01214;
+ while(1) {
+ $9 = HEAP8[$$113>>0]|0;
+ $10 = ($9<<24>>24)==(0);
+ $11 = ((($$113)) + 1|0);
+ if ($10) {
+ break;
+ } else {
+ $$113 = $11;
+ }
+ }
+ $12 = (($$115) + -1)|0;
+ $13 = ($12|0)==(0);
+ if ($13) {
+ $$012$lcssa = $11;
+ break;
+ } else {
+ $$01214 = $11;$$115 = $12;
+ label = 5;
+ }
+ }
+ }
+ $14 = ((($1)) + 20|0);
+ $15 = HEAP32[$14>>2]|0;
+ $16 = (___lctrans($$012$lcssa,$15)|0);
+ return ($16|0);
+}
+function ___lctrans($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $2 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $2 = (___lctrans_impl($0,$1)|0);
+ return ($2|0);
+}
+function ___lctrans_impl($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$0 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $2 = ($1|0)==(0|0);
+ if ($2) {
+ $$0 = 0;
+ } else {
+ $3 = HEAP32[$1>>2]|0;
+ $4 = ((($1)) + 4|0);
+ $5 = HEAP32[$4>>2]|0;
+ $6 = (___mo_lookup($3,$5,$0)|0);
+ $$0 = $6;
+ }
+ $7 = ($$0|0)!=(0|0);
+ $8 = $7 ? $$0 : $0;
+ return ($8|0);
+}
+function ___mo_lookup($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$ = 0, $$090 = 0, $$094 = 0, $$191 = 0, $$195 = 0, $$4 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
+ var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
+ var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond102 = 0, $or$cond104 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $3 = HEAP32[$0>>2]|0;
+ $4 = (($3) + 1794895138)|0;
+ $5 = ((($0)) + 8|0);
+ $6 = HEAP32[$5>>2]|0;
+ $7 = (_swapc($6,$4)|0);
+ $8 = ((($0)) + 12|0);
+ $9 = HEAP32[$8>>2]|0;
+ $10 = (_swapc($9,$4)|0);
+ $11 = ((($0)) + 16|0);
+ $12 = HEAP32[$11>>2]|0;
+ $13 = (_swapc($12,$4)|0);
+ $14 = $1 >>> 2;
+ $15 = ($7>>>0)<($14>>>0);
+ L1: do {
+ if ($15) {
+ $16 = $7 << 2;
+ $17 = (($1) - ($16))|0;
+ $18 = ($10>>>0)<($17>>>0);
+ $19 = ($13>>>0)<($17>>>0);
+ $or$cond = $18 & $19;
+ if ($or$cond) {
+ $20 = $13 | $10;
+ $21 = $20 & 3;
+ $22 = ($21|0)==(0);
+ if ($22) {
+ $23 = $10 >>> 2;
+ $24 = $13 >>> 2;
+ $$090 = 0;$$094 = $7;
+ while(1) {
+ $25 = $$094 >>> 1;
+ $26 = (($$090) + ($25))|0;
+ $27 = $26 << 1;
+ $28 = (($27) + ($23))|0;
+ $29 = (($0) + ($28<<2)|0);
+ $30 = HEAP32[$29>>2]|0;
+ $31 = (_swapc($30,$4)|0);
+ $32 = (($28) + 1)|0;
+ $33 = (($0) + ($32<<2)|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = (_swapc($34,$4)|0);
+ $36 = ($35>>>0)<($1>>>0);
+ $37 = (($1) - ($35))|0;
+ $38 = ($31>>>0)<($37>>>0);
+ $or$cond102 = $36 & $38;
+ if (!($or$cond102)) {
+ $$4 = 0;
+ break L1;
+ }
+ $39 = (($35) + ($31))|0;
+ $40 = (($0) + ($39)|0);
+ $41 = HEAP8[$40>>0]|0;
+ $42 = ($41<<24>>24)==(0);
+ if (!($42)) {
+ $$4 = 0;
+ break L1;
+ }
+ $43 = (($0) + ($35)|0);
+ $44 = (_strcmp($2,$43)|0);
+ $45 = ($44|0)==(0);
+ if ($45) {
+ break;
+ }
+ $62 = ($$094|0)==(1);
+ $63 = ($44|0)<(0);
+ $64 = (($$094) - ($25))|0;
+ $$195 = $63 ? $25 : $64;
+ $$191 = $63 ? $$090 : $26;
+ if ($62) {
+ $$4 = 0;
+ break L1;
+ } else {
+ $$090 = $$191;$$094 = $$195;
+ }
+ }
+ $46 = (($27) + ($24))|0;
+ $47 = (($0) + ($46<<2)|0);
+ $48 = HEAP32[$47>>2]|0;
+ $49 = (_swapc($48,$4)|0);
+ $50 = (($46) + 1)|0;
+ $51 = (($0) + ($50<<2)|0);
+ $52 = HEAP32[$51>>2]|0;
+ $53 = (_swapc($52,$4)|0);
+ $54 = ($53>>>0)<($1>>>0);
+ $55 = (($1) - ($53))|0;
+ $56 = ($49>>>0)<($55>>>0);
+ $or$cond104 = $54 & $56;
+ if ($or$cond104) {
+ $57 = (($0) + ($53)|0);
+ $58 = (($53) + ($49))|0;
+ $59 = (($0) + ($58)|0);
+ $60 = HEAP8[$59>>0]|0;
+ $61 = ($60<<24>>24)==(0);
+ $$ = $61 ? $57 : 0;
+ $$4 = $$;
+ } else {
+ $$4 = 0;
+ }
+ } else {
+ $$4 = 0;
+ }
+ } else {
+ $$4 = 0;
+ }
+ } else {
+ $$4 = 0;
+ }
+ } while(0);
+ return ($$4|0);
+}
+function _swapc($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$ = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $2 = ($1|0)==(0);
+ $3 = (_llvm_bswap_i32(($0|0))|0);
+ $$ = $2 ? $0 : $3;
+ return ($$|0);
+}
+function _pthread_self() {
+ var label = 0, sp = 0;
+ sp = STACKTOP;
+ return (22508|0);
+}
+function _frexp($0,$1) {
+ $0 = +$0;
+ $1 = $1|0;
+ var $$0 = 0.0, $$016 = 0.0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0.0, $9 = 0.0, $storemerge = 0, $trunc$clear = 0, label = 0;
+ var sp = 0;
+ sp = STACKTOP;
+ HEAPF64[tempDoublePtr>>3] = $0;$2 = HEAP32[tempDoublePtr>>2]|0;
+ $3 = HEAP32[tempDoublePtr+4>>2]|0;
+ $4 = (_bitshift64Lshr(($2|0),($3|0),52)|0);
+ $5 = tempRet0;
+ $6 = $4&65535;
+ $trunc$clear = $6 & 2047;
+ switch ($trunc$clear<<16>>16) {
+ case 0: {
+ $7 = $0 != 0.0;
+ if ($7) {
+ $8 = $0 * 1.8446744073709552E+19;
+ $9 = (+_frexp($8,$1));
+ $10 = HEAP32[$1>>2]|0;
+ $11 = (($10) + -64)|0;
+ $$016 = $9;$storemerge = $11;
+ } else {
+ $$016 = $0;$storemerge = 0;
+ }
+ HEAP32[$1>>2] = $storemerge;
+ $$0 = $$016;
+ break;
+ }
+ case 2047: {
+ $$0 = $0;
+ break;
+ }
+ default: {
+ $12 = $4 & 2047;
+ $13 = (($12) + -1022)|0;
+ HEAP32[$1>>2] = $13;
+ $14 = $3 & -2146435073;
+ $15 = $14 | 1071644672;
+ HEAP32[tempDoublePtr>>2] = $2;HEAP32[tempDoublePtr+4>>2] = $15;$16 = +HEAPF64[tempDoublePtr>>3];
+ $$0 = $16;
+ }
+ }
+ return (+$$0);
+}
+function _log10($0) {
+ $0 = +$0;
+ var $$0 = 0, $$0100 = 0, $$0101 = 0.0, $1 = 0, $10 = 0.0, $11 = 0.0, $12 = 0.0, $13 = 0.0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0;
+ var $25 = 0, $26 = 0.0, $27 = 0, $28 = 0.0, $29 = 0.0, $3 = 0, $30 = 0.0, $31 = 0.0, $32 = 0.0, $33 = 0.0, $34 = 0.0, $35 = 0.0, $36 = 0.0, $37 = 0.0, $38 = 0.0, $39 = 0.0, $4 = 0, $40 = 0.0, $41 = 0.0, $42 = 0.0;
+ var $43 = 0.0, $44 = 0.0, $45 = 0.0, $46 = 0.0, $47 = 0.0, $48 = 0.0, $49 = 0, $5 = 0, $50 = 0, $51 = 0.0, $52 = 0.0, $53 = 0.0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0, $60 = 0.0;
+ var $61 = 0.0, $62 = 0.0, $63 = 0.0, $64 = 0.0, $65 = 0.0, $66 = 0.0, $67 = 0.0, $68 = 0.0, $69 = 0.0, $7 = 0, $70 = 0.0, $71 = 0, $8 = 0, $9 = 0.0, $or$cond = 0, $or$cond105 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ HEAPF64[tempDoublePtr>>3] = $0;$1 = HEAP32[tempDoublePtr>>2]|0;
+ $2 = HEAP32[tempDoublePtr+4>>2]|0;
+ $3 = ($2>>>0)<(1048576);
+ $4 = ($2|0)<(0);
+ $or$cond = $4 | $3;
+ do {
+ if ($or$cond) {
+ $5 = $2 & 2147483647;
+ $6 = ($1|0)==(0);
+ $7 = ($5|0)==(0);
+ $8 = $6 & $7;
+ if ($8) {
+ $9 = $0 * $0;
+ $10 = -1.0 / $9;
+ $$0101 = $10;
+ break;
+ }
+ if ($4) {
+ $11 = $0 - $0;
+ $12 = $11 / 0.0;
+ $$0101 = $12;
+ break;
+ } else {
+ $13 = $0 * 18014398509481984.0;
+ HEAPF64[tempDoublePtr>>3] = $13;$14 = HEAP32[tempDoublePtr>>2]|0;
+ $15 = HEAP32[tempDoublePtr+4>>2]|0;
+ $$0 = -1077;$$0100 = $15;$27 = $14;$71 = $15;
+ label = 9;
+ break;
+ }
+ } else {
+ $16 = ($2>>>0)>(2146435071);
+ if ($16) {
+ $$0101 = $0;
+ } else {
+ $17 = ($2|0)==(1072693248);
+ $18 = ($1|0)==(0);
+ $19 = (0)==(0);
+ $20 = $18 & $19;
+ $or$cond105 = $20 & $17;
+ if ($or$cond105) {
+ $$0101 = 0.0;
+ } else {
+ $$0 = -1023;$$0100 = $2;$27 = $1;$71 = $2;
+ label = 9;
+ }
+ }
+ }
+ } while(0);
+ if ((label|0) == 9) {
+ $21 = (($$0100) + 614242)|0;
+ $22 = $21 >>> 20;
+ $23 = (($$0) + ($22))|0;
+ $24 = $21 & 1048575;
+ $25 = (($24) + 1072079006)|0;
+ HEAP32[tempDoublePtr>>2] = $27;HEAP32[tempDoublePtr+4>>2] = $25;$26 = +HEAPF64[tempDoublePtr>>3];
+ $28 = $26 + -1.0;
+ $29 = $28 * 0.5;
+ $30 = $28 * $29;
+ $31 = $28 + 2.0;
+ $32 = $28 / $31;
+ $33 = $32 * $32;
+ $34 = $33 * $33;
+ $35 = $34 * 0.15313837699209373;
+ $36 = $35 + 0.22222198432149784;
+ $37 = $34 * $36;
+ $38 = $37 + 0.39999999999409419;
+ $39 = $34 * $38;
+ $40 = $34 * 0.14798198605116586;
+ $41 = $40 + 0.1818357216161805;
+ $42 = $34 * $41;
+ $43 = $42 + 0.28571428743662391;
+ $44 = $34 * $43;
+ $45 = $44 + 0.66666666666667351;
+ $46 = $33 * $45;
+ $47 = $39 + $46;
+ $48 = $28 - $30;
+ HEAPF64[tempDoublePtr>>3] = $48;$49 = HEAP32[tempDoublePtr>>2]|0;
+ $50 = HEAP32[tempDoublePtr+4>>2]|0;
+ HEAP32[tempDoublePtr>>2] = 0;HEAP32[tempDoublePtr+4>>2] = $50;$51 = +HEAPF64[tempDoublePtr>>3];
+ $52 = $28 - $51;
+ $53 = $52 - $30;
+ $54 = $30 + $47;
+ $55 = $32 * $54;
+ $56 = $53 + $55;
+ $57 = $51 * 0.43429448187816888;
+ $58 = (+($23|0));
+ $59 = $58 * 0.30102999566361177;
+ $60 = $58 * 3.6942390771589308E-13;
+ $61 = $56 + $51;
+ $62 = $61 * 2.5082946711645275E-11;
+ $63 = $60 + $62;
+ $64 = $56 * 0.43429448187816888;
+ $65 = $64 + $63;
+ $66 = $59 + $57;
+ $67 = $59 - $66;
+ $68 = $57 + $67;
+ $69 = $68 + $65;
+ $70 = $66 + $69;
+ $$0101 = $70;
+ }
+ return (+$$0101);
+}
+function _lrintf($0) {
+ $0 = +$0;
+ var $1 = 0.0, $2 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $1 = (+_rintf((+$0)));
+ $2 = (~~(($1)));
+ return ($2|0);
+}
+function _frexpl($0,$1) {
+ $0 = +$0;
+ $1 = $1|0;
+ var $2 = 0.0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $2 = (+_frexp($0,$1));
+ return (+$2);
+}
+function _vfprintf($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$ = 0, $$0 = 0, $$1 = 0, $$1$ = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0;
+ var $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, $vacopy_currentptr = 0, dest = 0, label = 0, sp = 0, stop = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 224|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(224|0);
- $ap2 = sp + 120|0;
- $nl_type = sp + 80|0;
- $nl_arg = sp;
- $internal_buf = sp + 136|0;
- dest=$nl_type; stop=dest+40|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
- $vacopy_currentptr = HEAP32[$ap>>2]|0;
- HEAP32[$ap2>>2] = $vacopy_currentptr;
- $call = (_printf_core(0,$fmt,$ap2,$nl_arg,$nl_type)|0);
- $cmp = ($call|0)<(0);
- if ($cmp) {
- $retval$0 = -1;
+ $3 = sp + 120|0;
+ $4 = sp + 80|0;
+ $5 = sp;
+ $6 = sp + 136|0;
+ dest=$4; stop=dest+40|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
+ $vacopy_currentptr = HEAP32[$2>>2]|0;
+ HEAP32[$3>>2] = $vacopy_currentptr;
+ $7 = (_printf_core(0,$1,$3,$5,$4)|0);
+ $8 = ($7|0)<(0);
+ if ($8) {
+ $$0 = -1;
} else {
- $lock = ((($f)) + 76|0);
- $0 = HEAP32[$lock>>2]|0;
- $cmp5 = ($0|0)>(-1);
- if ($cmp5) {
- $call6 = (___lockfile($f)|0);
- $cond = $call6;
+ $9 = ((($0)) + 76|0);
+ $10 = HEAP32[$9>>2]|0;
+ $11 = ($10|0)>(-1);
+ if ($11) {
+ $12 = (___lockfile($0)|0);
+ $39 = $12;
} else {
- $cond = 0;
+ $39 = 0;
}
- $1 = HEAP32[$f>>2]|0;
- $and = $1 & 32;
- $mode = ((($f)) + 74|0);
- $2 = HEAP8[$mode>>0]|0;
- $cmp7 = ($2<<24>>24)<(1);
- if ($cmp7) {
- $and11 = $1 & -33;
- HEAP32[$f>>2] = $and11;
+ $13 = HEAP32[$0>>2]|0;
+ $14 = $13 & 32;
+ $15 = ((($0)) + 74|0);
+ $16 = HEAP8[$15>>0]|0;
+ $17 = ($16<<24>>24)<(1);
+ if ($17) {
+ $18 = $13 & -33;
+ HEAP32[$0>>2] = $18;
}
- $buf_size = ((($f)) + 48|0);
- $3 = HEAP32[$buf_size>>2]|0;
- $tobool = ($3|0)==(0);
- if ($tobool) {
- $buf = ((($f)) + 44|0);
- $4 = HEAP32[$buf>>2]|0;
- HEAP32[$buf>>2] = $internal_buf;
- $wbase = ((($f)) + 28|0);
- HEAP32[$wbase>>2] = $internal_buf;
- $wpos = ((($f)) + 20|0);
- HEAP32[$wpos>>2] = $internal_buf;
- HEAP32[$buf_size>>2] = 80;
- $add$ptr = ((($internal_buf)) + 80|0);
- $wend = ((($f)) + 16|0);
- HEAP32[$wend>>2] = $add$ptr;
- $call21 = (_printf_core($f,$fmt,$ap2,$nl_arg,$nl_type)|0);
- $tobool22 = ($4|0)==(0|0);
- if ($tobool22) {
- $ret$1 = $call21;
+ $19 = ((($0)) + 48|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = ($20|0)==(0);
+ if ($21) {
+ $23 = ((($0)) + 44|0);
+ $24 = HEAP32[$23>>2]|0;
+ HEAP32[$23>>2] = $6;
+ $25 = ((($0)) + 28|0);
+ HEAP32[$25>>2] = $6;
+ $26 = ((($0)) + 20|0);
+ HEAP32[$26>>2] = $6;
+ HEAP32[$19>>2] = 80;
+ $27 = ((($6)) + 80|0);
+ $28 = ((($0)) + 16|0);
+ HEAP32[$28>>2] = $27;
+ $29 = (_printf_core($0,$1,$3,$5,$4)|0);
+ $30 = ($24|0)==(0|0);
+ if ($30) {
+ $$1 = $29;
} else {
- $write = ((($f)) + 36|0);
- $5 = HEAP32[$write>>2]|0;
- (FUNCTION_TABLE_iiii[$5 & 31]($f,0,0)|0);
- $6 = HEAP32[$wpos>>2]|0;
- $tobool26 = ($6|0)==(0|0);
- $$call21 = $tobool26 ? -1 : $call21;
- HEAP32[$buf>>2] = $4;
- HEAP32[$buf_size>>2] = 0;
- HEAP32[$wend>>2] = 0;
- HEAP32[$wbase>>2] = 0;
- HEAP32[$wpos>>2] = 0;
- $ret$1 = $$call21;
+ $31 = ((($0)) + 36|0);
+ $32 = HEAP32[$31>>2]|0;
+ (FUNCTION_TABLE_iiii[$32 & 31]($0,0,0)|0);
+ $33 = HEAP32[$26>>2]|0;
+ $34 = ($33|0)==(0|0);
+ $$ = $34 ? -1 : $29;
+ HEAP32[$23>>2] = $24;
+ HEAP32[$19>>2] = 0;
+ HEAP32[$28>>2] = 0;
+ HEAP32[$25>>2] = 0;
+ HEAP32[$26>>2] = 0;
+ $$1 = $$;
}
} else {
- $call2130 = (_printf_core($f,$fmt,$ap2,$nl_arg,$nl_type)|0);
- $ret$1 = $call2130;
+ $22 = (_printf_core($0,$1,$3,$5,$4)|0);
+ $$1 = $22;
}
- $7 = HEAP32[$f>>2]|0;
- $and36 = $7 & 32;
- $tobool37 = ($and36|0)==(0);
- $ret$1$ = $tobool37 ? $ret$1 : -1;
- $or = $7 | $and;
- HEAP32[$f>>2] = $or;
- $tobool41 = ($cond|0)==(0);
- if (!($tobool41)) {
- ___unlockfile($f);
+ $35 = HEAP32[$0>>2]|0;
+ $36 = $35 & 32;
+ $37 = ($36|0)==(0);
+ $$1$ = $37 ? $$1 : -1;
+ $38 = $35 | $14;
+ HEAP32[$0>>2] = $38;
+ $40 = ($39|0)==(0);
+ if (!($40)) {
+ ___unlockfile($0);
}
- $retval$0 = $ret$1$;
+ $$0 = $$1$;
}
- STACKTOP = sp;return ($retval$0|0);
+ STACKTOP = sp;return ($$0|0);
}
-function _printf_core($f,$fmt,$ap,$nl_arg,$nl_type) {
- $f = $f|0;
- $fmt = $fmt|0;
- $ap = $ap|0;
- $nl_arg = $nl_arg|0;
- $nl_type = $nl_type|0;
- var $$ = 0, $$$ = 0, $$194$ = 0, $$197 = 0, $$add$ptr258 = 0, $$l10n$0 = 0, $$lcssa = 0, $$pre = 0, $$pre248 = 0, $$pre249 = 0, $$pre249$pre = 0, $$pre250 = 0, $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0;
+function _printf_core($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$ = 0, $$$ = 0, $$$0259 = 0, $$$0262 = 0, $$$0269 = 0, $$$4266 = 0, $$$5 = 0, $$0 = 0, $$0228 = 0, $$0228$ = 0, $$0229320 = 0, $$0232 = 0, $$0235 = 0, $$0237 = 0, $$0240$lcssa = 0, $$0240$lcssa357 = 0, $$0240319 = 0, $$0243 = 0, $$0247 = 0, $$0249$lcssa = 0;
+ var $$0249307 = 0, $$0252 = 0, $$0253 = 0, $$0254 = 0, $$0254$$0254$ = 0, $$0259 = 0, $$0262$lcssa = 0, $$0262313 = 0, $$0269 = 0, $$0269$phi = 0, $$1 = 0, $$1230331 = 0, $$1233 = 0, $$1236 = 0, $$1238 = 0, $$1241330 = 0, $$1244318 = 0, $$1248 = 0, $$1250 = 0, $$1255 = 0;
+ var $$1260 = 0, $$1263 = 0, $$1263$ = 0, $$1270 = 0, $$2 = 0, $$2234 = 0, $$2239 = 0, $$2242$lcssa = 0, $$2242306 = 0, $$2245 = 0, $$2251 = 0, $$2256 = 0, $$2256$ = 0, $$2256$$$2256 = 0, $$2261 = 0, $$2271 = 0, $$283$ = 0, $$290 = 0, $$291 = 0, $$3257 = 0;
+ var $$3265 = 0, $$3272 = 0, $$3304 = 0, $$376 = 0, $$4258355 = 0, $$4266 = 0, $$5 = 0, $$6268 = 0, $$lcssa295 = 0, $$pre = 0, $$pre346 = 0, $$pre347 = 0, $$pre347$pre = 0, $$pre349 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0;
var $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0, $119 = 0, $12 = 0, $120 = 0, $121 = 0, $122 = 0;
var $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0, $139 = 0, $14 = 0, $140 = 0;
- var $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0.0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0;
- var $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0;
- var $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0;
- var $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0;
- var $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0;
- var $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $a$0 = 0, $a$0$add$ptr206 = 0, $a$1 = 0, $a$2 = 0, $add = 0, $add$ptr = 0, $add$ptr139 = 0, $add$ptr206 = 0, $add$ptr258 = 0, $add$ptr341 = 0, $add$ptr360 = 0, $add$ptr43 = 0, $add$ptr43$arrayidx31 = 0, $add$ptr474 = 0, $add$ptr88 = 0;
- var $add270 = 0, $add323 = 0, $add396 = 0, $add413 = 0, $add442 = 0, $and = 0, $and211 = 0, $and215 = 0, $and217 = 0, $and219 = 0, $and220 = 0, $and250 = 0, $and255 = 0, $and264 = 0, $and290 = 0, $and295 = 0, $and310 = 0, $and310$fl$4 = 0, $arg = 0, $arglist_current = 0;
- var $arglist_current2 = 0, $arglist_next = 0, $arglist_next3 = 0, $argpos$0 = 0, $arrayidx114 = 0, $arrayidx119 = 0, $arrayidx124 = 0, $arrayidx132 = 0, $arrayidx16 = 0, $arrayidx174 = 0, $arrayidx193 = 0, $arrayidx31 = 0, $arrayidx35 = 0, $arrayidx371 = 0, $arrayidx470 = 0, $arrayidx482 = 0, $arrayidx68 = 0, $arrayidx73 = 0, $arrayidx81 = 0, $brmerge = 0;
- var $brmerge221 = 0, $buf = 0, $call = 0, $call104 = 0, $call160 = 0, $call345 = 0, $call346 = 0, $call357 = 0, $call385 = 0, $call412 = 0, $call430 = 0, $cmp = 0, $cmp1 = 0, $cmp105 = 0, $cmp111 = 0, $cmp116 = 0, $cmp126 = 0, $cmp13 = 0, $cmp166 = 0, $cmp177 = 0;
- var $cmp18 = 0, $cmp182 = 0, $cmp185 = 0, $cmp212 = 0, $cmp241 = 0, $cmp271 = 0, $cmp307 = 0, $cmp324 = 0, $cmp37 = 0, $cmp378 = 0, $cmp378226 = 0, $cmp386 = 0, $cmp391 = 0, $cmp398 = 0, $cmp405 = 0, $cmp405236 = 0, $cmp414 = 0, $cmp422 = 0, $cmp435 = 0, $cmp443 = 0;
- var $cmp467 = 0, $cmp479 = 0, $cmp479206 = 0, $cmp50 = 0, $cmp50217 = 0, $cmp65 = 0, $cmp75 = 0, $cmp97 = 0, $cnt$0 = 0, $cnt$1 = 0, $cond149 = 0, $cond246 = 0, $cond355 = 0, $cond427 = 0, $conv120 = 0, $conv134 = 0, $conv164 = 0, $conv172 = 0, $conv175 = 0, $conv208 = 0;
- var $conv230 = 0, $conv233 = 0, $conv32 = 0, $conv48 = 0, $conv48215 = 0, $conv58 = 0, $conv69 = 0, $conv83 = 0, $expanded = 0, $expanded10 = 0, $expanded11 = 0, $expanded13 = 0, $expanded14 = 0, $expanded15 = 0, $expanded4 = 0, $expanded6 = 0, $expanded7 = 0, $expanded8 = 0, $fl$0$lcssa = 0, $fl$0222 = 0;
- var $fl$1 = 0, $fl$1$and220 = 0, $fl$3 = 0, $fl$4 = 0, $fl$6 = 0, $i$0$lcssa = 0, $i$0$lcssa257 = 0, $i$0228 = 0, $i$1237 = 0, $i$2$lcssa = 0, $i$2210 = 0, $i$3207 = 0, $i137 = 0, $i86 = 0, $inc = 0, $inc489 = 0, $incdec$ptr = 0, $incdec$ptr159 = 0, $incdec$ptr171 = 0, $incdec$ptr23 = 0;
- var $incdec$ptr384 = 0, $incdec$ptr411 = 0, $incdec$ptr62 = 0, $isdigit = 0, $isdigit188 = 0, $isdigit190 = 0, $isdigittmp = 0, $isdigittmp$ = 0, $isdigittmp187 = 0, $isdigittmp189 = 0, $l$0 = 0, $l$1227 = 0, $l$2 = 0, $l10n$0 = 0, $l10n$0$phi = 0, $l10n$1 = 0, $l10n$2 = 0, $l10n$3 = 0, $lnot = 0, $lnot$ext = 0;
- var $mb = 0, $or = 0, $or$cond = 0, $or$cond192 = 0, $or$cond193 = 0, $or$cond195 = 0, $or100 = 0, $or100$fl$0 = 0, $or247 = 0, $p$0 = 0, $p$0$p$0$add270 = 0, $p$1 = 0, $p$2 = 0, $p$2$add323 = 0, $p$2$add323$p$2 = 0, $p$3 = 0, $p$4254 = 0, $p$5 = 0, $pl$0 = 0, $pl$1 = 0;
- var $pl$2 = 0, $prefix$0 = 0, $prefix$1 = 0, $prefix$2 = 0, $retval$0 = 0, $s = 0, $shl = 0, $shl218 = 0, $shl60 = 0, $shr = 0, $st$0 = 0, $storemerge = 0, $storemerge191 = 0, $sub = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$lhs$cast318 = 0, $sub$ptr$lhs$cast362 = 0, $sub$ptr$lhs$cast432 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast268 = 0;
- var $sub$ptr$rhs$cast319 = 0, $sub$ptr$rhs$cast363 = 0, $sub$ptr$rhs$cast433 = 0, $sub$ptr$sub = 0, $sub$ptr$sub269 = 0, $sub$ptr$sub320 = 0, $sub$ptr$sub364 = 0, $sub$ptr$sub434 = 0, $sub$ptr$sub434$p$5 = 0, $sub101 = 0, $sub101$w$0 = 0, $sub135 = 0, $sub165 = 0, $sub173 = 0, $sub176 = 0, $sub390 = 0, $sub49 = 0, $sub49216 = 0, $sub59 = 0, $sub84 = 0;
- var $t$0 = 0, $t$1 = 0, $tobool = 0, $tobool141 = 0, $tobool179 = 0, $tobool209 = 0, $tobool218 = 0, $tobool25 = 0, $tobool256 = 0, $tobool265 = 0, $tobool28 = 0, $tobool291 = 0, $tobool296 = 0, $tobool315 = 0, $tobool350 = 0, $tobool358 = 0, $tobool381 = 0, $tobool408 = 0, $tobool460 = 0, $tobool463 = 0;
- var $tobool471 = 0, $tobool483 = 0, $tobool55 = 0, $tobool55220 = 0, $tobool90 = 0, $trunc = 0, $w$0 = 0, $w$1 = 0, $w$2 = 0, $wc = 0, $ws$0229 = 0, $ws$1238 = 0, $xor = 0, $xor450 = 0, $xor458 = 0, $z$0$lcssa = 0, $z$0212 = 0, $z$1 = 0, $z$2 = 0, label = 0;
+ var $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0, $157 = 0, $158 = 0, $159 = 0;
+ var $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0, $175 = 0, $176 = 0, $177 = 0;
+ var $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0, $193 = 0, $194 = 0, $195 = 0;
+ var $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0, $211 = 0, $212 = 0, $213 = 0;
+ var $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0, $23 = 0, $230 = 0, $231 = 0;
+ var $232 = 0, $233 = 0, $234 = 0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0, $248 = 0, $249 = 0, $25 = 0;
+ var $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0, $266 = 0, $267 = 0, $268 = 0;
+ var $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0, $284 = 0, $285 = 0, $286 = 0;
+ var $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0, $302 = 0, $303 = 0, $304 = 0;
+ var $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0.0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0, $320 = 0, $321 = 0, $322 = 0;
+ var $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0, $339 = 0, $34 = 0, $35 = 0;
+ var $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0;
+ var $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0;
+ var $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0;
+ var $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $arglist_current = 0, $arglist_current2 = 0, $arglist_next = 0, $arglist_next3 = 0, $brmerge = 0, $brmerge312 = 0, $expanded = 0, $expanded10 = 0, $expanded11 = 0, $expanded13 = 0, $expanded14 = 0;
+ var $expanded15 = 0, $expanded4 = 0, $expanded6 = 0, $expanded7 = 0, $expanded8 = 0, $isdigit = 0, $isdigit275 = 0, $isdigit277 = 0, $isdigittmp = 0, $isdigittmp$ = 0, $isdigittmp274 = 0, $isdigittmp276 = 0, $or$cond = 0, $or$cond280 = 0, $or$cond282 = 0, $or$cond285 = 0, $storemerge = 0, $storemerge278 = 0, $trunc = 0, label = 0;
var sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $s = sp + 16|0;
- $arg = sp;
- $buf = sp + 24|0;
- $wc = sp + 8|0;
- $mb = sp + 20|0;
- HEAP32[$s>>2] = $fmt;
- $tobool25 = ($f|0)!=(0|0);
- $add$ptr206 = ((($buf)) + 40|0);
- $sub$ptr$lhs$cast318 = $add$ptr206;
- $add$ptr341 = ((($buf)) + 39|0);
- $arrayidx371 = ((($wc)) + 4|0);
- $1 = $fmt;$cnt$0 = 0;$l$0 = 0;$l10n$0 = 0;
+ $5 = sp + 16|0;
+ $6 = sp;
+ $7 = sp + 24|0;
+ $8 = sp + 8|0;
+ $9 = sp + 20|0;
+ HEAP32[$5>>2] = $1;
+ $10 = ($0|0)!=(0|0);
+ $11 = ((($7)) + 40|0);
+ $12 = $11;
+ $13 = ((($7)) + 39|0);
+ $14 = ((($8)) + 4|0);
+ $$0243 = 0;$$0247 = 0;$$0269 = 0;$21 = $1;
L1: while(1) {
- $cmp = ($cnt$0|0)>(-1);
+ $15 = ($$0247|0)>(-1);
do {
- if ($cmp) {
- $sub = (2147483647 - ($cnt$0))|0;
- $cmp1 = ($l$0|0)>($sub|0);
- if ($cmp1) {
- $call = (___errno_location()|0);
- HEAP32[$call>>2] = 75;
- $cnt$1 = -1;
+ if ($15) {
+ $16 = (2147483647 - ($$0247))|0;
+ $17 = ($$0243|0)>($16|0);
+ if ($17) {
+ $18 = (___errno_location()|0);
+ HEAP32[$18>>2] = 75;
+ $$1248 = -1;
break;
} else {
- $add = (($l$0) + ($cnt$0))|0;
- $cnt$1 = $add;
+ $19 = (($$0243) + ($$0247))|0;
+ $$1248 = $19;
break;
}
} else {
- $cnt$1 = $cnt$0;
+ $$1248 = $$0247;
}
} while(0);
- $0 = HEAP8[$1>>0]|0;
- $tobool = ($0<<24>>24)==(0);
- if ($tobool) {
+ $20 = HEAP8[$21>>0]|0;
+ $22 = ($20<<24>>24)==(0);
+ if ($22) {
label = 86;
break;
} else {
- $2 = $0;$3 = $1;
+ $23 = $20;$25 = $21;
}
L9: while(1) {
- switch ($2<<24>>24) {
+ switch ($23<<24>>24) {
case 37: {
- $4 = $3;$z$0212 = $3;
+ $$0249307 = $25;$27 = $25;
label = 9;
break L9;
break;
}
case 0: {
- $7 = $3;$z$0$lcssa = $3;
+ $$0249$lcssa = $25;$39 = $25;
break L9;
break;
}
default: {
}
}
- $incdec$ptr = ((($3)) + 1|0);
- HEAP32[$s>>2] = $incdec$ptr;
- $$pre = HEAP8[$incdec$ptr>>0]|0;
- $2 = $$pre;$3 = $incdec$ptr;
+ $24 = ((($25)) + 1|0);
+ HEAP32[$5>>2] = $24;
+ $$pre = HEAP8[$24>>0]|0;
+ $23 = $$pre;$25 = $24;
}
L12: do {
if ((label|0) == 9) {
while(1) {
label = 0;
- $arrayidx16 = ((($4)) + 1|0);
- $5 = HEAP8[$arrayidx16>>0]|0;
- $cmp18 = ($5<<24>>24)==(37);
- if (!($cmp18)) {
- $7 = $4;$z$0$lcssa = $z$0212;
+ $26 = ((($27)) + 1|0);
+ $28 = HEAP8[$26>>0]|0;
+ $29 = ($28<<24>>24)==(37);
+ if (!($29)) {
+ $$0249$lcssa = $$0249307;$39 = $27;
break L12;
}
- $incdec$ptr23 = ((($z$0212)) + 1|0);
- $add$ptr = ((($4)) + 2|0);
- HEAP32[$s>>2] = $add$ptr;
- $6 = HEAP8[$add$ptr>>0]|0;
- $cmp13 = ($6<<24>>24)==(37);
- if ($cmp13) {
- $4 = $add$ptr;$z$0212 = $incdec$ptr23;
+ $30 = ((($$0249307)) + 1|0);
+ $31 = ((($27)) + 2|0);
+ HEAP32[$5>>2] = $31;
+ $32 = HEAP8[$31>>0]|0;
+ $33 = ($32<<24>>24)==(37);
+ if ($33) {
+ $$0249307 = $30;$27 = $31;
label = 9;
} else {
- $7 = $add$ptr;$z$0$lcssa = $incdec$ptr23;
+ $$0249$lcssa = $30;$39 = $31;
break;
}
}
}
} while(0);
- $sub$ptr$lhs$cast = $z$0$lcssa;
- $sub$ptr$rhs$cast = $1;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- if ($tobool25) {
- _out_102($f,$1,$sub$ptr$sub);
+ $34 = $$0249$lcssa;
+ $35 = $21;
+ $36 = (($34) - ($35))|0;
+ if ($10) {
+ _out_804($0,$21,$36);
}
- $tobool28 = ($sub$ptr$sub|0)==(0);
- if (!($tobool28)) {
- $l10n$0$phi = $l10n$0;$1 = $7;$cnt$0 = $cnt$1;$l$0 = $sub$ptr$sub;$l10n$0 = $l10n$0$phi;
+ $37 = ($36|0)==(0);
+ if (!($37)) {
+ $$0269$phi = $$0269;$$0243 = $36;$$0247 = $$1248;$21 = $39;$$0269 = $$0269$phi;
continue;
}
- $arrayidx31 = ((($7)) + 1|0);
- $8 = HEAP8[$arrayidx31>>0]|0;
- $conv32 = $8 << 24 >> 24;
- $isdigittmp = (($conv32) + -48)|0;
+ $38 = ((($39)) + 1|0);
+ $40 = HEAP8[$38>>0]|0;
+ $41 = $40 << 24 >> 24;
+ $isdigittmp = (($41) + -48)|0;
$isdigit = ($isdigittmp>>>0)<(10);
if ($isdigit) {
- $arrayidx35 = ((($7)) + 2|0);
- $9 = HEAP8[$arrayidx35>>0]|0;
- $cmp37 = ($9<<24>>24)==(36);
- $add$ptr43 = ((($7)) + 3|0);
- $add$ptr43$arrayidx31 = $cmp37 ? $add$ptr43 : $arrayidx31;
- $$l10n$0 = $cmp37 ? 1 : $l10n$0;
- $isdigittmp$ = $cmp37 ? $isdigittmp : -1;
- $argpos$0 = $isdigittmp$;$l10n$1 = $$l10n$0;$storemerge = $add$ptr43$arrayidx31;
+ $42 = ((($39)) + 2|0);
+ $43 = HEAP8[$42>>0]|0;
+ $44 = ($43<<24>>24)==(36);
+ $45 = ((($39)) + 3|0);
+ $$376 = $44 ? $45 : $38;
+ $$$0269 = $44 ? 1 : $$0269;
+ $isdigittmp$ = $44 ? $isdigittmp : -1;
+ $$0253 = $isdigittmp$;$$1270 = $$$0269;$storemerge = $$376;
} else {
- $argpos$0 = -1;$l10n$1 = $l10n$0;$storemerge = $arrayidx31;
+ $$0253 = -1;$$1270 = $$0269;$storemerge = $38;
}
- HEAP32[$s>>2] = $storemerge;
- $10 = HEAP8[$storemerge>>0]|0;
- $conv48215 = $10 << 24 >> 24;
- $sub49216 = (($conv48215) + -32)|0;
- $cmp50217 = ($sub49216>>>0)>(31);
- $shl218 = 1 << $sub49216;
- $and219 = $shl218 & 75913;
- $tobool55220 = ($and219|0)==(0);
- $brmerge221 = $cmp50217 | $tobool55220;
- if ($brmerge221) {
- $$lcssa = $10;$14 = $storemerge;$fl$0$lcssa = 0;
+ HEAP32[$5>>2] = $storemerge;
+ $46 = HEAP8[$storemerge>>0]|0;
+ $47 = $46 << 24 >> 24;
+ $48 = (($47) + -32)|0;
+ $49 = ($48>>>0)>(31);
+ $50 = 1 << $48;
+ $51 = $50 & 75913;
+ $52 = ($51|0)==(0);
+ $brmerge312 = $49 | $52;
+ if ($brmerge312) {
+ $$0262$lcssa = 0;$$lcssa295 = $46;$69 = $storemerge;
} else {
- $11 = $10;$12 = $storemerge;$fl$0222 = 0;
+ $$0262313 = 0;$54 = $46;$59 = $storemerge;
while(1) {
- $conv58 = $11 << 24 >> 24;
- $sub59 = (($conv58) + -32)|0;
- $shl60 = 1 << $sub59;
- $or = $shl60 | $fl$0222;
- $incdec$ptr62 = ((($12)) + 1|0);
- HEAP32[$s>>2] = $incdec$ptr62;
- $13 = HEAP8[$incdec$ptr62>>0]|0;
- $conv48 = $13 << 24 >> 24;
- $sub49 = (($conv48) + -32)|0;
- $cmp50 = ($sub49>>>0)>(31);
- $shl = 1 << $sub49;
- $and = $shl & 75913;
- $tobool55 = ($and|0)==(0);
- $brmerge = $cmp50 | $tobool55;
+ $53 = $54 << 24 >> 24;
+ $55 = (($53) + -32)|0;
+ $56 = 1 << $55;
+ $57 = $56 | $$0262313;
+ $58 = ((($59)) + 1|0);
+ HEAP32[$5>>2] = $58;
+ $60 = HEAP8[$58>>0]|0;
+ $61 = $60 << 24 >> 24;
+ $62 = (($61) + -32)|0;
+ $63 = ($62>>>0)>(31);
+ $64 = 1 << $62;
+ $65 = $64 & 75913;
+ $66 = ($65|0)==(0);
+ $brmerge = $63 | $66;
if ($brmerge) {
- $$lcssa = $13;$14 = $incdec$ptr62;$fl$0$lcssa = $or;
+ $$0262$lcssa = $57;$$lcssa295 = $60;$69 = $58;
break;
} else {
- $11 = $13;$12 = $incdec$ptr62;$fl$0222 = $or;
+ $$0262313 = $57;$54 = $60;$59 = $58;
}
}
}
- $cmp65 = ($$lcssa<<24>>24)==(42);
- if ($cmp65) {
- $arrayidx68 = ((($14)) + 1|0);
- $15 = HEAP8[$arrayidx68>>0]|0;
- $conv69 = $15 << 24 >> 24;
- $isdigittmp189 = (($conv69) + -48)|0;
- $isdigit190 = ($isdigittmp189>>>0)<(10);
- if ($isdigit190) {
- $arrayidx73 = ((($14)) + 2|0);
- $16 = HEAP8[$arrayidx73>>0]|0;
- $cmp75 = ($16<<24>>24)==(36);
- if ($cmp75) {
- $arrayidx81 = (($nl_type) + ($isdigittmp189<<2)|0);
- HEAP32[$arrayidx81>>2] = 10;
- $17 = HEAP8[$arrayidx68>>0]|0;
- $conv83 = $17 << 24 >> 24;
- $sub84 = (($conv83) + -48)|0;
- $i86 = (($nl_arg) + ($sub84<<3)|0);
- $18 = $i86;
- $19 = $18;
- $20 = HEAP32[$19>>2]|0;
- $21 = (($18) + 4)|0;
- $22 = $21;
- $23 = HEAP32[$22>>2]|0;
- $add$ptr88 = ((($14)) + 3|0);
- $l10n$2 = 1;$storemerge191 = $add$ptr88;$w$0 = $20;
+ $67 = ($$lcssa295<<24>>24)==(42);
+ if ($67) {
+ $68 = ((($69)) + 1|0);
+ $70 = HEAP8[$68>>0]|0;
+ $71 = $70 << 24 >> 24;
+ $isdigittmp276 = (($71) + -48)|0;
+ $isdigit277 = ($isdigittmp276>>>0)<(10);
+ if ($isdigit277) {
+ $72 = ((($69)) + 2|0);
+ $73 = HEAP8[$72>>0]|0;
+ $74 = ($73<<24>>24)==(36);
+ if ($74) {
+ $75 = (($4) + ($isdigittmp276<<2)|0);
+ HEAP32[$75>>2] = 10;
+ $76 = HEAP8[$68>>0]|0;
+ $77 = $76 << 24 >> 24;
+ $78 = (($77) + -48)|0;
+ $79 = (($3) + ($78<<3)|0);
+ $80 = $79;
+ $81 = $80;
+ $82 = HEAP32[$81>>2]|0;
+ $83 = (($80) + 4)|0;
+ $84 = $83;
+ $85 = HEAP32[$84>>2]|0;
+ $86 = ((($69)) + 3|0);
+ $$0259 = $82;$$2271 = 1;$storemerge278 = $86;
} else {
label = 22;
}
@@ -100329,540 +100869,540 @@ function _printf_core($f,$fmt,$ap,$nl_arg,$nl_type) {
}
if ((label|0) == 22) {
label = 0;
- $tobool90 = ($l10n$1|0)==(0);
- if (!($tobool90)) {
- $retval$0 = -1;
+ $87 = ($$1270|0)==(0);
+ if (!($87)) {
+ $$0 = -1;
break;
}
- if ($tobool25) {
- $arglist_current = HEAP32[$ap>>2]|0;
- $24 = $arglist_current;
- $25 = ((0) + 4|0);
- $expanded4 = $25;
+ if ($10) {
+ $arglist_current = HEAP32[$2>>2]|0;
+ $88 = $arglist_current;
+ $89 = ((0) + 4|0);
+ $expanded4 = $89;
$expanded = (($expanded4) - 1)|0;
- $26 = (($24) + ($expanded))|0;
- $27 = ((0) + 4|0);
- $expanded8 = $27;
+ $90 = (($88) + ($expanded))|0;
+ $91 = ((0) + 4|0);
+ $expanded8 = $91;
$expanded7 = (($expanded8) - 1)|0;
$expanded6 = $expanded7 ^ -1;
- $28 = $26 & $expanded6;
- $29 = $28;
- $30 = HEAP32[$29>>2]|0;
- $arglist_next = ((($29)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next;
- $l10n$2 = 0;$storemerge191 = $arrayidx68;$w$0 = $30;
+ $92 = $90 & $expanded6;
+ $93 = $92;
+ $94 = HEAP32[$93>>2]|0;
+ $arglist_next = ((($93)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next;
+ $$0259 = $94;$$2271 = 0;$storemerge278 = $68;
} else {
- $l10n$2 = 0;$storemerge191 = $arrayidx68;$w$0 = 0;
+ $$0259 = 0;$$2271 = 0;$storemerge278 = $68;
}
}
- HEAP32[$s>>2] = $storemerge191;
- $cmp97 = ($w$0|0)<(0);
- $or100 = $fl$0$lcssa | 8192;
- $sub101 = (0 - ($w$0))|0;
- $or100$fl$0 = $cmp97 ? $or100 : $fl$0$lcssa;
- $sub101$w$0 = $cmp97 ? $sub101 : $w$0;
- $32 = $storemerge191;$fl$1 = $or100$fl$0;$l10n$3 = $l10n$2;$w$1 = $sub101$w$0;
+ HEAP32[$5>>2] = $storemerge278;
+ $95 = ($$0259|0)<(0);
+ $96 = $$0262$lcssa | 8192;
+ $97 = (0 - ($$0259))|0;
+ $$$0262 = $95 ? $96 : $$0262$lcssa;
+ $$$0259 = $95 ? $97 : $$0259;
+ $$1260 = $$$0259;$$1263 = $$$0262;$$3272 = $$2271;$101 = $storemerge278;
} else {
- $call104 = (_getint_103($s)|0);
- $cmp105 = ($call104|0)<(0);
- if ($cmp105) {
- $retval$0 = -1;
+ $98 = (_getint_805($5)|0);
+ $99 = ($98|0)<(0);
+ if ($99) {
+ $$0 = -1;
break;
}
- $$pre248 = HEAP32[$s>>2]|0;
- $32 = $$pre248;$fl$1 = $fl$0$lcssa;$l10n$3 = $l10n$1;$w$1 = $call104;
+ $$pre346 = HEAP32[$5>>2]|0;
+ $$1260 = $98;$$1263 = $$0262$lcssa;$$3272 = $$1270;$101 = $$pre346;
}
- $31 = HEAP8[$32>>0]|0;
- $cmp111 = ($31<<24>>24)==(46);
+ $100 = HEAP8[$101>>0]|0;
+ $102 = ($100<<24>>24)==(46);
do {
- if ($cmp111) {
- $arrayidx114 = ((($32)) + 1|0);
- $33 = HEAP8[$arrayidx114>>0]|0;
- $cmp116 = ($33<<24>>24)==(42);
- if (!($cmp116)) {
- $incdec$ptr159 = ((($32)) + 1|0);
- HEAP32[$s>>2] = $incdec$ptr159;
- $call160 = (_getint_103($s)|0);
- $$pre249$pre = HEAP32[$s>>2]|0;
- $$pre249 = $$pre249$pre;$p$0 = $call160;
+ if ($102) {
+ $103 = ((($101)) + 1|0);
+ $104 = HEAP8[$103>>0]|0;
+ $105 = ($104<<24>>24)==(42);
+ if (!($105)) {
+ $132 = ((($101)) + 1|0);
+ HEAP32[$5>>2] = $132;
+ $133 = (_getint_805($5)|0);
+ $$pre347$pre = HEAP32[$5>>2]|0;
+ $$0254 = $133;$$pre347 = $$pre347$pre;
break;
}
- $arrayidx119 = ((($32)) + 2|0);
- $34 = HEAP8[$arrayidx119>>0]|0;
- $conv120 = $34 << 24 >> 24;
- $isdigittmp187 = (($conv120) + -48)|0;
- $isdigit188 = ($isdigittmp187>>>0)<(10);
- if ($isdigit188) {
- $arrayidx124 = ((($32)) + 3|0);
- $35 = HEAP8[$arrayidx124>>0]|0;
- $cmp126 = ($35<<24>>24)==(36);
- if ($cmp126) {
- $arrayidx132 = (($nl_type) + ($isdigittmp187<<2)|0);
- HEAP32[$arrayidx132>>2] = 10;
- $36 = HEAP8[$arrayidx119>>0]|0;
- $conv134 = $36 << 24 >> 24;
- $sub135 = (($conv134) + -48)|0;
- $i137 = (($nl_arg) + ($sub135<<3)|0);
- $37 = $i137;
- $38 = $37;
- $39 = HEAP32[$38>>2]|0;
- $40 = (($37) + 4)|0;
- $41 = $40;
- $42 = HEAP32[$41>>2]|0;
- $add$ptr139 = ((($32)) + 4|0);
- HEAP32[$s>>2] = $add$ptr139;
- $$pre249 = $add$ptr139;$p$0 = $39;
+ $106 = ((($101)) + 2|0);
+ $107 = HEAP8[$106>>0]|0;
+ $108 = $107 << 24 >> 24;
+ $isdigittmp274 = (($108) + -48)|0;
+ $isdigit275 = ($isdigittmp274>>>0)<(10);
+ if ($isdigit275) {
+ $109 = ((($101)) + 3|0);
+ $110 = HEAP8[$109>>0]|0;
+ $111 = ($110<<24>>24)==(36);
+ if ($111) {
+ $112 = (($4) + ($isdigittmp274<<2)|0);
+ HEAP32[$112>>2] = 10;
+ $113 = HEAP8[$106>>0]|0;
+ $114 = $113 << 24 >> 24;
+ $115 = (($114) + -48)|0;
+ $116 = (($3) + ($115<<3)|0);
+ $117 = $116;
+ $118 = $117;
+ $119 = HEAP32[$118>>2]|0;
+ $120 = (($117) + 4)|0;
+ $121 = $120;
+ $122 = HEAP32[$121>>2]|0;
+ $123 = ((($101)) + 4|0);
+ HEAP32[$5>>2] = $123;
+ $$0254 = $119;$$pre347 = $123;
break;
}
}
- $tobool141 = ($l10n$3|0)==(0);
- if (!($tobool141)) {
- $retval$0 = -1;
+ $124 = ($$3272|0)==(0);
+ if (!($124)) {
+ $$0 = -1;
break L1;
}
- if ($tobool25) {
- $arglist_current2 = HEAP32[$ap>>2]|0;
- $43 = $arglist_current2;
- $44 = ((0) + 4|0);
- $expanded11 = $44;
+ if ($10) {
+ $arglist_current2 = HEAP32[$2>>2]|0;
+ $125 = $arglist_current2;
+ $126 = ((0) + 4|0);
+ $expanded11 = $126;
$expanded10 = (($expanded11) - 1)|0;
- $45 = (($43) + ($expanded10))|0;
- $46 = ((0) + 4|0);
- $expanded15 = $46;
+ $127 = (($125) + ($expanded10))|0;
+ $128 = ((0) + 4|0);
+ $expanded15 = $128;
$expanded14 = (($expanded15) - 1)|0;
$expanded13 = $expanded14 ^ -1;
- $47 = $45 & $expanded13;
- $48 = $47;
- $49 = HEAP32[$48>>2]|0;
- $arglist_next3 = ((($48)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next3;
- $cond149 = $49;
+ $129 = $127 & $expanded13;
+ $130 = $129;
+ $131 = HEAP32[$130>>2]|0;
+ $arglist_next3 = ((($130)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next3;
+ $338 = $131;
} else {
- $cond149 = 0;
+ $338 = 0;
}
- HEAP32[$s>>2] = $arrayidx119;
- $$pre249 = $arrayidx119;$p$0 = $cond149;
+ HEAP32[$5>>2] = $106;
+ $$0254 = $338;$$pre347 = $106;
} else {
- $$pre249 = $32;$p$0 = -1;
+ $$0254 = -1;$$pre347 = $101;
}
} while(0);
- $51 = $$pre249;$st$0 = 0;
+ $$0252 = 0;$135 = $$pre347;
while(1) {
- $50 = HEAP8[$51>>0]|0;
- $conv164 = $50 << 24 >> 24;
- $sub165 = (($conv164) + -65)|0;
- $cmp166 = ($sub165>>>0)>(57);
- if ($cmp166) {
- $retval$0 = -1;
+ $134 = HEAP8[$135>>0]|0;
+ $136 = $134 << 24 >> 24;
+ $137 = (($136) + -65)|0;
+ $138 = ($137>>>0)>(57);
+ if ($138) {
+ $$0 = -1;
break L1;
}
- $incdec$ptr171 = ((($51)) + 1|0);
- HEAP32[$s>>2] = $incdec$ptr171;
- $52 = HEAP8[$51>>0]|0;
- $conv172 = $52 << 24 >> 24;
- $sub173 = (($conv172) + -65)|0;
- $arrayidx174 = ((30944 + (($st$0*58)|0)|0) + ($sub173)|0);
- $53 = HEAP8[$arrayidx174>>0]|0;
- $conv175 = $53&255;
- $sub176 = (($conv175) + -1)|0;
- $cmp177 = ($sub176>>>0)<(8);
- if ($cmp177) {
- $51 = $incdec$ptr171;$st$0 = $conv175;
+ $139 = ((($135)) + 1|0);
+ HEAP32[$5>>2] = $139;
+ $140 = HEAP8[$135>>0]|0;
+ $141 = $140 << 24 >> 24;
+ $142 = (($141) + -65)|0;
+ $143 = ((32870 + (($$0252*58)|0)|0) + ($142)|0);
+ $144 = HEAP8[$143>>0]|0;
+ $145 = $144&255;
+ $146 = (($145) + -1)|0;
+ $147 = ($146>>>0)<(8);
+ if ($147) {
+ $$0252 = $145;$135 = $139;
} else {
break;
}
}
- $tobool179 = ($53<<24>>24)==(0);
- if ($tobool179) {
- $retval$0 = -1;
+ $148 = ($144<<24>>24)==(0);
+ if ($148) {
+ $$0 = -1;
break;
}
- $cmp182 = ($53<<24>>24)==(19);
- $cmp185 = ($argpos$0|0)>(-1);
+ $149 = ($144<<24>>24)==(19);
+ $150 = ($$0253|0)>(-1);
do {
- if ($cmp182) {
- if ($cmp185) {
- $retval$0 = -1;
+ if ($149) {
+ if ($150) {
+ $$0 = -1;
break L1;
} else {
label = 48;
}
} else {
- if ($cmp185) {
- $arrayidx193 = (($nl_type) + ($argpos$0<<2)|0);
- HEAP32[$arrayidx193>>2] = $conv175;
- $54 = (($nl_arg) + ($argpos$0<<3)|0);
- $55 = $54;
- $56 = $55;
- $57 = HEAP32[$56>>2]|0;
- $58 = (($55) + 4)|0;
- $59 = $58;
- $60 = HEAP32[$59>>2]|0;
- $61 = $arg;
- $62 = $61;
- HEAP32[$62>>2] = $57;
- $63 = (($61) + 4)|0;
- $64 = $63;
- HEAP32[$64>>2] = $60;
+ if ($150) {
+ $151 = (($4) + ($$0253<<2)|0);
+ HEAP32[$151>>2] = $145;
+ $152 = (($3) + ($$0253<<3)|0);
+ $153 = $152;
+ $154 = $153;
+ $155 = HEAP32[$154>>2]|0;
+ $156 = (($153) + 4)|0;
+ $157 = $156;
+ $158 = HEAP32[$157>>2]|0;
+ $159 = $6;
+ $160 = $159;
+ HEAP32[$160>>2] = $155;
+ $161 = (($159) + 4)|0;
+ $162 = $161;
+ HEAP32[$162>>2] = $158;
label = 48;
break;
}
- if (!($tobool25)) {
- $retval$0 = 0;
+ if (!($10)) {
+ $$0 = 0;
break L1;
}
- _pop_arg_105($arg,$conv175,$ap);
+ _pop_arg_807($6,$145,$2);
}
} while(0);
if ((label|0) == 48) {
label = 0;
- if (!($tobool25)) {
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ if (!($10)) {
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue;
}
}
- $65 = HEAP8[$51>>0]|0;
- $conv208 = $65 << 24 >> 24;
- $tobool209 = ($st$0|0)!=(0);
- $and211 = $conv208 & 15;
- $cmp212 = ($and211|0)==(3);
- $or$cond192 = $tobool209 & $cmp212;
- $and215 = $conv208 & -33;
- $t$0 = $or$cond192 ? $and215 : $conv208;
- $and217 = $fl$1 & 8192;
- $tobool218 = ($and217|0)==(0);
- $and220 = $fl$1 & -65537;
- $fl$1$and220 = $tobool218 ? $fl$1 : $and220;
+ $163 = HEAP8[$135>>0]|0;
+ $164 = $163 << 24 >> 24;
+ $165 = ($$0252|0)!=(0);
+ $166 = $164 & 15;
+ $167 = ($166|0)==(3);
+ $or$cond280 = $165 & $167;
+ $168 = $164 & -33;
+ $$0235 = $or$cond280 ? $168 : $164;
+ $169 = $$1263 & 8192;
+ $170 = ($169|0)==(0);
+ $171 = $$1263 & -65537;
+ $$1263$ = $170 ? $$1263 : $171;
L70: do {
- switch ($t$0|0) {
+ switch ($$0235|0) {
case 110: {
- $trunc = $st$0&255;
+ $trunc = $$0252&255;
switch ($trunc<<24>>24) {
case 0: {
- $72 = HEAP32[$arg>>2]|0;
- HEAP32[$72>>2] = $cnt$1;
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ $178 = HEAP32[$6>>2]|0;
+ HEAP32[$178>>2] = $$1248;
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
break;
}
case 1: {
- $73 = HEAP32[$arg>>2]|0;
- HEAP32[$73>>2] = $cnt$1;
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ $179 = HEAP32[$6>>2]|0;
+ HEAP32[$179>>2] = $$1248;
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
break;
}
case 2: {
- $74 = ($cnt$1|0)<(0);
- $75 = $74 << 31 >> 31;
- $76 = HEAP32[$arg>>2]|0;
- $77 = $76;
- $78 = $77;
- HEAP32[$78>>2] = $cnt$1;
- $79 = (($77) + 4)|0;
- $80 = $79;
- HEAP32[$80>>2] = $75;
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ $180 = ($$1248|0)<(0);
+ $181 = $180 << 31 >> 31;
+ $182 = HEAP32[$6>>2]|0;
+ $183 = $182;
+ $184 = $183;
+ HEAP32[$184>>2] = $$1248;
+ $185 = (($183) + 4)|0;
+ $186 = $185;
+ HEAP32[$186>>2] = $181;
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
break;
}
case 3: {
- $conv230 = $cnt$1&65535;
- $81 = HEAP32[$arg>>2]|0;
- HEAP16[$81>>1] = $conv230;
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ $187 = $$1248&65535;
+ $188 = HEAP32[$6>>2]|0;
+ HEAP16[$188>>1] = $187;
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
break;
}
case 4: {
- $conv233 = $cnt$1&255;
- $82 = HEAP32[$arg>>2]|0;
- HEAP8[$82>>0] = $conv233;
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ $189 = $$1248&255;
+ $190 = HEAP32[$6>>2]|0;
+ HEAP8[$190>>0] = $189;
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
break;
}
case 6: {
- $83 = HEAP32[$arg>>2]|0;
- HEAP32[$83>>2] = $cnt$1;
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ $191 = HEAP32[$6>>2]|0;
+ HEAP32[$191>>2] = $$1248;
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
break;
}
case 7: {
- $84 = ($cnt$1|0)<(0);
- $85 = $84 << 31 >> 31;
- $86 = HEAP32[$arg>>2]|0;
- $87 = $86;
- $88 = $87;
- HEAP32[$88>>2] = $cnt$1;
- $89 = (($87) + 4)|0;
- $90 = $89;
- HEAP32[$90>>2] = $85;
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ $192 = ($$1248|0)<(0);
+ $193 = $192 << 31 >> 31;
+ $194 = HEAP32[$6>>2]|0;
+ $195 = $194;
+ $196 = $195;
+ HEAP32[$196>>2] = $$1248;
+ $197 = (($195) + 4)|0;
+ $198 = $197;
+ HEAP32[$198>>2] = $193;
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
break;
}
default: {
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = 0;$l10n$0 = $l10n$3;
+ $$0243 = 0;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
}
}
break;
}
case 112: {
- $cmp241 = ($p$0>>>0)>(8);
- $cond246 = $cmp241 ? $p$0 : 8;
- $or247 = $fl$1$and220 | 8;
- $fl$3 = $or247;$p$1 = $cond246;$t$1 = 120;
+ $199 = ($$0254>>>0)>(8);
+ $200 = $199 ? $$0254 : 8;
+ $201 = $$1263$ | 8;
+ $$1236 = 120;$$1255 = $200;$$3265 = $201;
label = 60;
break;
}
case 88: case 120: {
- $fl$3 = $fl$1$and220;$p$1 = $p$0;$t$1 = $t$0;
+ $$1236 = $$0235;$$1255 = $$0254;$$3265 = $$1263$;
label = 60;
break;
}
case 111: {
- $101 = $arg;
- $102 = $101;
- $103 = HEAP32[$102>>2]|0;
- $104 = (($101) + 4)|0;
- $105 = $104;
- $106 = HEAP32[$105>>2]|0;
- $107 = (_fmt_o($103,$106,$add$ptr206)|0);
- $and264 = $fl$1$and220 & 8;
- $tobool265 = ($and264|0)==(0);
- $sub$ptr$rhs$cast268 = $107;
- $sub$ptr$sub269 = (($sub$ptr$lhs$cast318) - ($sub$ptr$rhs$cast268))|0;
- $cmp271 = ($p$0|0)>($sub$ptr$sub269|0);
- $add270 = (($sub$ptr$sub269) + 1)|0;
- $108 = $tobool265 | $cmp271;
- $p$0$p$0$add270 = $108 ? $p$0 : $add270;
- $127 = $103;$129 = $106;$a$0 = $107;$fl$4 = $fl$1$and220;$p$2 = $p$0$p$0$add270;$pl$1 = 0;$prefix$1 = 31408;
+ $217 = $6;
+ $218 = $217;
+ $219 = HEAP32[$218>>2]|0;
+ $220 = (($217) + 4)|0;
+ $221 = $220;
+ $222 = HEAP32[$221>>2]|0;
+ $223 = (_fmt_o($219,$222,$11)|0);
+ $224 = $$1263$ & 8;
+ $225 = ($224|0)==(0);
+ $226 = $223;
+ $227 = (($12) - ($226))|0;
+ $228 = ($$0254|0)>($227|0);
+ $229 = (($227) + 1)|0;
+ $230 = $225 | $228;
+ $$0254$$0254$ = $230 ? $$0254 : $229;
+ $$0228 = $223;$$1233 = 0;$$1238 = 33334;$$2256 = $$0254$$0254$;$$4266 = $$1263$;$255 = $219;$257 = $222;
label = 66;
break;
}
case 105: case 100: {
- $109 = $arg;
- $110 = $109;
- $111 = HEAP32[$110>>2]|0;
- $112 = (($109) + 4)|0;
- $113 = $112;
- $114 = HEAP32[$113>>2]|0;
- $115 = ($114|0)<(0);
- if ($115) {
- $116 = (_i64Subtract(0,0,($111|0),($114|0))|0);
- $117 = tempRet0;
- $118 = $arg;
- $119 = $118;
- HEAP32[$119>>2] = $116;
- $120 = (($118) + 4)|0;
- $121 = $120;
- HEAP32[$121>>2] = $117;
- $124 = $116;$125 = $117;$pl$0 = 1;$prefix$0 = 31408;
+ $231 = $6;
+ $232 = $231;
+ $233 = HEAP32[$232>>2]|0;
+ $234 = (($231) + 4)|0;
+ $235 = $234;
+ $236 = HEAP32[$235>>2]|0;
+ $237 = ($236|0)<(0);
+ if ($237) {
+ $238 = (_i64Subtract(0,0,($233|0),($236|0))|0);
+ $239 = tempRet0;
+ $240 = $6;
+ $241 = $240;
+ HEAP32[$241>>2] = $238;
+ $242 = (($240) + 4)|0;
+ $243 = $242;
+ HEAP32[$243>>2] = $239;
+ $$0232 = 1;$$0237 = 33334;$250 = $238;$251 = $239;
label = 65;
break L70;
} else {
- $and290 = $fl$1$and220 & 2048;
- $tobool291 = ($and290|0)==(0);
- $and295 = $fl$1$and220 & 1;
- $tobool296 = ($and295|0)==(0);
- $$ = $tobool296 ? 31408 : (31410);
- $$$ = $tobool291 ? $$ : (31409);
- $122 = $fl$1$and220 & 2049;
- $123 = ($122|0)!=(0);
- $$194$ = $123&1;
- $124 = $111;$125 = $114;$pl$0 = $$194$;$prefix$0 = $$$;
+ $244 = $$1263$ & 2048;
+ $245 = ($244|0)==(0);
+ $246 = $$1263$ & 1;
+ $247 = ($246|0)==(0);
+ $$ = $247 ? 33334 : (33336);
+ $$$ = $245 ? $$ : (33335);
+ $248 = $$1263$ & 2049;
+ $249 = ($248|0)!=(0);
+ $$283$ = $249&1;
+ $$0232 = $$283$;$$0237 = $$$;$250 = $233;$251 = $236;
label = 65;
break L70;
}
break;
}
case 117: {
- $66 = $arg;
- $67 = $66;
- $68 = HEAP32[$67>>2]|0;
- $69 = (($66) + 4)|0;
- $70 = $69;
- $71 = HEAP32[$70>>2]|0;
- $124 = $68;$125 = $71;$pl$0 = 0;$prefix$0 = 31408;
+ $172 = $6;
+ $173 = $172;
+ $174 = HEAP32[$173>>2]|0;
+ $175 = (($172) + 4)|0;
+ $176 = $175;
+ $177 = HEAP32[$176>>2]|0;
+ $$0232 = 0;$$0237 = 33334;$250 = $174;$251 = $177;
label = 65;
break;
}
case 99: {
- $132 = $arg;
- $133 = $132;
- $134 = HEAP32[$133>>2]|0;
- $135 = (($132) + 4)|0;
- $136 = $135;
- $137 = HEAP32[$136>>2]|0;
- $138 = $134&255;
- HEAP8[$add$ptr341>>0] = $138;
- $a$2 = $add$ptr341;$fl$6 = $and220;$p$5 = 1;$pl$2 = 0;$prefix$2 = 31408;$z$2 = $add$ptr206;
+ $267 = $6;
+ $268 = $267;
+ $269 = HEAP32[$268>>2]|0;
+ $270 = (($267) + 4)|0;
+ $271 = $270;
+ $272 = HEAP32[$271>>2]|0;
+ $273 = $269&255;
+ HEAP8[$13>>0] = $273;
+ $$2 = $13;$$2234 = 0;$$2239 = 33334;$$2251 = $11;$$5 = 1;$$6268 = $171;
break;
}
case 109: {
- $call345 = (___errno_location()|0);
- $139 = HEAP32[$call345>>2]|0;
- $call346 = (_strerror($139)|0);
- $a$1 = $call346;
+ $274 = (___errno_location()|0);
+ $275 = HEAP32[$274>>2]|0;
+ $276 = (_strerror($275)|0);
+ $$1 = $276;
label = 70;
break;
}
case 115: {
- $140 = HEAP32[$arg>>2]|0;
- $tobool350 = ($140|0)!=(0|0);
- $cond355 = $tobool350 ? $140 : 31418;
- $a$1 = $cond355;
+ $277 = HEAP32[$6>>2]|0;
+ $278 = ($277|0)!=(0|0);
+ $279 = $278 ? $277 : 33344;
+ $$1 = $279;
label = 70;
break;
}
case 67: {
- $141 = $arg;
- $142 = $141;
- $143 = HEAP32[$142>>2]|0;
- $144 = (($141) + 4)|0;
- $145 = $144;
- $146 = HEAP32[$145>>2]|0;
- HEAP32[$wc>>2] = $143;
- HEAP32[$arrayidx371>>2] = 0;
- HEAP32[$arg>>2] = $wc;
- $152 = $wc;$p$4254 = -1;
+ $286 = $6;
+ $287 = $286;
+ $288 = HEAP32[$287>>2]|0;
+ $289 = (($286) + 4)|0;
+ $290 = $289;
+ $291 = HEAP32[$290>>2]|0;
+ HEAP32[$8>>2] = $288;
+ HEAP32[$14>>2] = 0;
+ HEAP32[$6>>2] = $8;
+ $$4258355 = -1;$339 = $8;
label = 74;
break;
}
case 83: {
- $$pre250 = HEAP32[$arg>>2]|0;
- $cmp378226 = ($p$0|0)==(0);
- if ($cmp378226) {
- _pad_108($f,32,$w$1,0,$fl$1$and220);
- $i$0$lcssa257 = 0;
+ $$pre349 = HEAP32[$6>>2]|0;
+ $292 = ($$0254|0)==(0);
+ if ($292) {
+ _pad_810($0,32,$$1260,0,$$1263$);
+ $$0240$lcssa357 = 0;
label = 83;
} else {
- $152 = $$pre250;$p$4254 = $p$0;
+ $$4258355 = $$0254;$339 = $$pre349;
label = 74;
}
break;
}
case 65: case 71: case 70: case 69: case 97: case 103: case 102: case 101: {
- $149 = +HEAPF64[$arg>>3];
- $call430 = (_fmt_fp($f,$149,$w$1,$p$0,$fl$1$and220,$t$0)|0);
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = $call430;$l10n$0 = $l10n$3;
+ $314 = +HEAPF64[$6>>3];
+ $315 = (_fmt_fp($0,$314,$$1260,$$0254,$$1263$,$$0235)|0);
+ $$0243 = $315;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue L1;
break;
}
default: {
- $a$2 = $1;$fl$6 = $fl$1$and220;$p$5 = $p$0;$pl$2 = 0;$prefix$2 = 31408;$z$2 = $add$ptr206;
+ $$2 = $21;$$2234 = 0;$$2239 = 33334;$$2251 = $11;$$5 = $$0254;$$6268 = $$1263$;
}
}
} while(0);
L94: do {
if ((label|0) == 60) {
label = 0;
- $91 = $arg;
- $92 = $91;
- $93 = HEAP32[$92>>2]|0;
- $94 = (($91) + 4)|0;
- $95 = $94;
- $96 = HEAP32[$95>>2]|0;
- $and250 = $t$1 & 32;
- $97 = (_fmt_x($93,$96,$add$ptr206,$and250)|0);
- $98 = ($93|0)==(0);
- $99 = ($96|0)==(0);
- $100 = $98 & $99;
- $and255 = $fl$3 & 8;
- $tobool256 = ($and255|0)==(0);
- $or$cond193 = $tobool256 | $100;
- $shr = $t$1 >> 4;
- $add$ptr258 = (31408 + ($shr)|0);
- $$add$ptr258 = $or$cond193 ? 31408 : $add$ptr258;
- $$197 = $or$cond193 ? 0 : 2;
- $127 = $93;$129 = $96;$a$0 = $97;$fl$4 = $fl$3;$p$2 = $p$1;$pl$1 = $$197;$prefix$1 = $$add$ptr258;
+ $202 = $6;
+ $203 = $202;
+ $204 = HEAP32[$203>>2]|0;
+ $205 = (($202) + 4)|0;
+ $206 = $205;
+ $207 = HEAP32[$206>>2]|0;
+ $208 = $$1236 & 32;
+ $209 = (_fmt_x($204,$207,$11,$208)|0);
+ $210 = ($204|0)==(0);
+ $211 = ($207|0)==(0);
+ $212 = $210 & $211;
+ $213 = $$3265 & 8;
+ $214 = ($213|0)==(0);
+ $or$cond282 = $214 | $212;
+ $215 = $$1236 >> 4;
+ $216 = (33334 + ($215)|0);
+ $$290 = $or$cond282 ? 33334 : $216;
+ $$291 = $or$cond282 ? 0 : 2;
+ $$0228 = $209;$$1233 = $$291;$$1238 = $$290;$$2256 = $$1255;$$4266 = $$3265;$255 = $204;$257 = $207;
label = 66;
}
else if ((label|0) == 65) {
label = 0;
- $126 = (_fmt_u($124,$125,$add$ptr206)|0);
- $127 = $124;$129 = $125;$a$0 = $126;$fl$4 = $fl$1$and220;$p$2 = $p$0;$pl$1 = $pl$0;$prefix$1 = $prefix$0;
+ $252 = (_fmt_u($250,$251,$11)|0);
+ $$0228 = $252;$$1233 = $$0232;$$1238 = $$0237;$$2256 = $$0254;$$4266 = $$1263$;$255 = $250;$257 = $251;
label = 66;
}
else if ((label|0) == 70) {
label = 0;
- $call357 = (_memchr($a$1,0,$p$0)|0);
- $tobool358 = ($call357|0)==(0|0);
- $sub$ptr$lhs$cast362 = $call357;
- $sub$ptr$rhs$cast363 = $a$1;
- $sub$ptr$sub364 = (($sub$ptr$lhs$cast362) - ($sub$ptr$rhs$cast363))|0;
- $add$ptr360 = (($a$1) + ($p$0)|0);
- $p$3 = $tobool358 ? $p$0 : $sub$ptr$sub364;
- $z$1 = $tobool358 ? $add$ptr360 : $call357;
- $a$2 = $a$1;$fl$6 = $and220;$p$5 = $p$3;$pl$2 = 0;$prefix$2 = 31408;$z$2 = $z$1;
+ $280 = (_memchr($$1,0,$$0254)|0);
+ $281 = ($280|0)==(0|0);
+ $282 = $280;
+ $283 = $$1;
+ $284 = (($282) - ($283))|0;
+ $285 = (($$1) + ($$0254)|0);
+ $$3257 = $281 ? $$0254 : $284;
+ $$1250 = $281 ? $285 : $280;
+ $$2 = $$1;$$2234 = 0;$$2239 = 33334;$$2251 = $$1250;$$5 = $$3257;$$6268 = $171;
}
else if ((label|0) == 74) {
label = 0;
- $i$0228 = 0;$l$1227 = 0;$ws$0229 = $152;
+ $$0229320 = $339;$$0240319 = 0;$$1244318 = 0;
while(1) {
- $147 = HEAP32[$ws$0229>>2]|0;
- $tobool381 = ($147|0)==(0);
- if ($tobool381) {
- $i$0$lcssa = $i$0228;$l$2 = $l$1227;
+ $293 = HEAP32[$$0229320>>2]|0;
+ $294 = ($293|0)==(0);
+ if ($294) {
+ $$0240$lcssa = $$0240319;$$2245 = $$1244318;
break;
}
- $call385 = (_wctomb($mb,$147)|0);
- $cmp386 = ($call385|0)<(0);
- $sub390 = (($p$4254) - ($i$0228))|0;
- $cmp391 = ($call385>>>0)>($sub390>>>0);
- $or$cond195 = $cmp386 | $cmp391;
- if ($or$cond195) {
- $i$0$lcssa = $i$0228;$l$2 = $call385;
+ $295 = (_wctomb($9,$293)|0);
+ $296 = ($295|0)<(0);
+ $297 = (($$4258355) - ($$0240319))|0;
+ $298 = ($295>>>0)>($297>>>0);
+ $or$cond285 = $296 | $298;
+ if ($or$cond285) {
+ $$0240$lcssa = $$0240319;$$2245 = $295;
break;
}
- $incdec$ptr384 = ((($ws$0229)) + 4|0);
- $add396 = (($call385) + ($i$0228))|0;
- $cmp378 = ($p$4254>>>0)>($add396>>>0);
- if ($cmp378) {
- $i$0228 = $add396;$l$1227 = $call385;$ws$0229 = $incdec$ptr384;
+ $299 = ((($$0229320)) + 4|0);
+ $300 = (($295) + ($$0240319))|0;
+ $301 = ($$4258355>>>0)>($300>>>0);
+ if ($301) {
+ $$0229320 = $299;$$0240319 = $300;$$1244318 = $295;
} else {
- $i$0$lcssa = $add396;$l$2 = $call385;
+ $$0240$lcssa = $300;$$2245 = $295;
break;
}
}
- $cmp398 = ($l$2|0)<(0);
- if ($cmp398) {
- $retval$0 = -1;
+ $302 = ($$2245|0)<(0);
+ if ($302) {
+ $$0 = -1;
break L1;
}
- _pad_108($f,32,$w$1,$i$0$lcssa,$fl$1$and220);
- $cmp405236 = ($i$0$lcssa|0)==(0);
- if ($cmp405236) {
- $i$0$lcssa257 = 0;
+ _pad_810($0,32,$$1260,$$0240$lcssa,$$1263$);
+ $303 = ($$0240$lcssa|0)==(0);
+ if ($303) {
+ $$0240$lcssa357 = 0;
label = 83;
} else {
- $i$1237 = 0;$ws$1238 = $152;
+ $$1230331 = $339;$$1241330 = 0;
while(1) {
- $148 = HEAP32[$ws$1238>>2]|0;
- $tobool408 = ($148|0)==(0);
- if ($tobool408) {
- $i$0$lcssa257 = $i$0$lcssa;
+ $304 = HEAP32[$$1230331>>2]|0;
+ $305 = ($304|0)==(0);
+ if ($305) {
+ $$0240$lcssa357 = $$0240$lcssa;
label = 83;
break L94;
}
- $call412 = (_wctomb($mb,$148)|0);
- $add413 = (($call412) + ($i$1237))|0;
- $cmp414 = ($add413|0)>($i$0$lcssa|0);
- if ($cmp414) {
- $i$0$lcssa257 = $i$0$lcssa;
+ $306 = (_wctomb($9,$304)|0);
+ $307 = (($306) + ($$1241330))|0;
+ $308 = ($307|0)>($$0240$lcssa|0);
+ if ($308) {
+ $$0240$lcssa357 = $$0240$lcssa;
label = 83;
break L94;
}
- $incdec$ptr411 = ((($ws$1238)) + 4|0);
- _out_102($f,$mb,$call412);
- $cmp405 = ($add413>>>0)<($i$0$lcssa>>>0);
- if ($cmp405) {
- $i$1237 = $add413;$ws$1238 = $incdec$ptr411;
+ $309 = ((($$1230331)) + 4|0);
+ _out_804($0,$9,$306);
+ $310 = ($307>>>0)<($$0240$lcssa>>>0);
+ if ($310) {
+ $$1230331 = $309;$$1241330 = $307;
} else {
- $i$0$lcssa257 = $i$0$lcssa;
+ $$0240$lcssa357 = $$0240$lcssa;
label = 83;
break;
}
@@ -100872,438 +101412,438 @@ function _printf_core($f,$fmt,$ap,$nl_arg,$nl_type) {
} while(0);
if ((label|0) == 66) {
label = 0;
- $cmp307 = ($p$2|0)>(-1);
- $and310 = $fl$4 & -65537;
- $and310$fl$4 = $cmp307 ? $and310 : $fl$4;
- $128 = ($127|0)!=(0);
- $130 = ($129|0)!=(0);
- $131 = $128 | $130;
- $tobool315 = ($p$2|0)!=(0);
- $or$cond = $tobool315 | $131;
- $sub$ptr$rhs$cast319 = $a$0;
- $sub$ptr$sub320 = (($sub$ptr$lhs$cast318) - ($sub$ptr$rhs$cast319))|0;
- $lnot = $131 ^ 1;
- $lnot$ext = $lnot&1;
- $add323 = (($sub$ptr$sub320) + ($lnot$ext))|0;
- $cmp324 = ($p$2|0)>($add323|0);
- $p$2$add323 = $cmp324 ? $p$2 : $add323;
- $p$2$add323$p$2 = $or$cond ? $p$2$add323 : $p$2;
- $a$0$add$ptr206 = $or$cond ? $a$0 : $add$ptr206;
- $a$2 = $a$0$add$ptr206;$fl$6 = $and310$fl$4;$p$5 = $p$2$add323$p$2;$pl$2 = $pl$1;$prefix$2 = $prefix$1;$z$2 = $add$ptr206;
+ $253 = ($$2256|0)>(-1);
+ $254 = $$4266 & -65537;
+ $$$4266 = $253 ? $254 : $$4266;
+ $256 = ($255|0)!=(0);
+ $258 = ($257|0)!=(0);
+ $259 = $256 | $258;
+ $260 = ($$2256|0)!=(0);
+ $or$cond = $260 | $259;
+ $261 = $$0228;
+ $262 = (($12) - ($261))|0;
+ $263 = $259 ^ 1;
+ $264 = $263&1;
+ $265 = (($262) + ($264))|0;
+ $266 = ($$2256|0)>($265|0);
+ $$2256$ = $266 ? $$2256 : $265;
+ $$2256$$$2256 = $or$cond ? $$2256$ : $$2256;
+ $$0228$ = $or$cond ? $$0228 : $11;
+ $$2 = $$0228$;$$2234 = $$1233;$$2239 = $$1238;$$2251 = $11;$$5 = $$2256$$$2256;$$6268 = $$$4266;
}
else if ((label|0) == 83) {
label = 0;
- $xor = $fl$1$and220 ^ 8192;
- _pad_108($f,32,$w$1,$i$0$lcssa257,$xor);
- $cmp422 = ($w$1|0)>($i$0$lcssa257|0);
- $cond427 = $cmp422 ? $w$1 : $i$0$lcssa257;
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = $cond427;$l10n$0 = $l10n$3;
+ $311 = $$1263$ ^ 8192;
+ _pad_810($0,32,$$1260,$$0240$lcssa357,$311);
+ $312 = ($$1260|0)>($$0240$lcssa357|0);
+ $313 = $312 ? $$1260 : $$0240$lcssa357;
+ $$0243 = $313;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
continue;
}
- $sub$ptr$lhs$cast432 = $z$2;
- $sub$ptr$rhs$cast433 = $a$2;
- $sub$ptr$sub434 = (($sub$ptr$lhs$cast432) - ($sub$ptr$rhs$cast433))|0;
- $cmp435 = ($p$5|0)<($sub$ptr$sub434|0);
- $sub$ptr$sub434$p$5 = $cmp435 ? $sub$ptr$sub434 : $p$5;
- $add442 = (($sub$ptr$sub434$p$5) + ($pl$2))|0;
- $cmp443 = ($w$1|0)<($add442|0);
- $w$2 = $cmp443 ? $add442 : $w$1;
- _pad_108($f,32,$w$2,$add442,$fl$6);
- _out_102($f,$prefix$2,$pl$2);
- $xor450 = $fl$6 ^ 65536;
- _pad_108($f,48,$w$2,$add442,$xor450);
- _pad_108($f,48,$sub$ptr$sub434$p$5,$sub$ptr$sub434,0);
- _out_102($f,$a$2,$sub$ptr$sub434);
- $xor458 = $fl$6 ^ 8192;
- _pad_108($f,32,$w$2,$add442,$xor458);
- $1 = $incdec$ptr171;$cnt$0 = $cnt$1;$l$0 = $w$2;$l10n$0 = $l10n$3;
+ $316 = $$2251;
+ $317 = $$2;
+ $318 = (($316) - ($317))|0;
+ $319 = ($$5|0)<($318|0);
+ $$$5 = $319 ? $318 : $$5;
+ $320 = (($$$5) + ($$2234))|0;
+ $321 = ($$1260|0)<($320|0);
+ $$2261 = $321 ? $320 : $$1260;
+ _pad_810($0,32,$$2261,$320,$$6268);
+ _out_804($0,$$2239,$$2234);
+ $322 = $$6268 ^ 65536;
+ _pad_810($0,48,$$2261,$320,$322);
+ _pad_810($0,48,$$$5,$318,0);
+ _out_804($0,$$2,$318);
+ $323 = $$6268 ^ 8192;
+ _pad_810($0,32,$$2261,$320,$323);
+ $$0243 = $$2261;$$0247 = $$1248;$$0269 = $$3272;$21 = $139;
}
L113: do {
if ((label|0) == 86) {
- $tobool460 = ($f|0)==(0|0);
- if ($tobool460) {
- $tobool463 = ($l10n$0|0)==(0);
- if ($tobool463) {
- $retval$0 = 0;
+ $324 = ($0|0)==(0|0);
+ if ($324) {
+ $325 = ($$0269|0)==(0);
+ if ($325) {
+ $$0 = 0;
} else {
- $i$2210 = 1;
+ $$2242306 = 1;
while(1) {
- $arrayidx470 = (($nl_type) + ($i$2210<<2)|0);
- $150 = HEAP32[$arrayidx470>>2]|0;
- $tobool471 = ($150|0)==(0);
- if ($tobool471) {
- $i$2$lcssa = $i$2210;
+ $326 = (($4) + ($$2242306<<2)|0);
+ $327 = HEAP32[$326>>2]|0;
+ $328 = ($327|0)==(0);
+ if ($328) {
+ $$2242$lcssa = $$2242306;
break;
}
- $add$ptr474 = (($nl_arg) + ($i$2210<<3)|0);
- _pop_arg_105($add$ptr474,$150,$ap);
- $inc = (($i$2210) + 1)|0;
- $cmp467 = ($i$2210|0)<(9);
- if ($cmp467) {
- $i$2210 = $inc;
+ $330 = (($3) + ($$2242306<<3)|0);
+ _pop_arg_807($330,$327,$2);
+ $331 = (($$2242306) + 1)|0;
+ $332 = ($$2242306|0)<(9);
+ if ($332) {
+ $$2242306 = $331;
} else {
- $i$2$lcssa = $inc;
+ $$2242$lcssa = $331;
break;
}
}
- $cmp479206 = ($i$2$lcssa|0)<(10);
- if ($cmp479206) {
- $i$3207 = $i$2$lcssa;
+ $329 = ($$2242$lcssa|0)<(10);
+ if ($329) {
+ $$3304 = $$2242$lcssa;
while(1) {
- $arrayidx482 = (($nl_type) + ($i$3207<<2)|0);
- $151 = HEAP32[$arrayidx482>>2]|0;
- $tobool483 = ($151|0)==(0);
- if (!($tobool483)) {
- $retval$0 = -1;
+ $335 = (($4) + ($$3304<<2)|0);
+ $336 = HEAP32[$335>>2]|0;
+ $337 = ($336|0)==(0);
+ if (!($337)) {
+ $$0 = -1;
break L113;
}
- $inc489 = (($i$3207) + 1)|0;
- $cmp479 = ($i$3207|0)<(9);
- if ($cmp479) {
- $i$3207 = $inc489;
+ $333 = (($$3304) + 1)|0;
+ $334 = ($$3304|0)<(9);
+ if ($334) {
+ $$3304 = $333;
} else {
- $retval$0 = 1;
+ $$0 = 1;
break;
}
}
} else {
- $retval$0 = 1;
+ $$0 = 1;
}
}
} else {
- $retval$0 = $cnt$1;
+ $$0 = $$1248;
}
}
} while(0);
- STACKTOP = sp;return ($retval$0|0);
+ STACKTOP = sp;return ($$0|0);
}
-function ___lockfile($f) {
- $f = $f|0;
+function ___lockfile($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
return 0;
}
-function ___unlockfile($f) {
- $f = $f|0;
+function ___unlockfile($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
return;
}
-function _out_102($f,$s,$l) {
- $f = $f|0;
- $s = $s|0;
- $l = $l|0;
- var $0 = 0, $and = 0, $tobool = 0, label = 0, sp = 0;
+function _out_804($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $3 = 0, $4 = 0, $5 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $0 = HEAP32[$f>>2]|0;
- $and = $0 & 32;
- $tobool = ($and|0)==(0);
- if ($tobool) {
- (___fwritex($s,$l,$f)|0);
+ $3 = HEAP32[$0>>2]|0;
+ $4 = $3 & 32;
+ $5 = ($4|0)==(0);
+ if ($5) {
+ (___fwritex($1,$2,$0)|0);
}
return;
}
-function _getint_103($s) {
- $s = $s|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $add = 0, $conv = 0, $conv4 = 0, $i$0$lcssa = 0, $i$07 = 0, $incdec$ptr = 0, $isdigit = 0, $isdigit6 = 0, $isdigittmp = 0, $isdigittmp5 = 0, $isdigittmp8 = 0, $mul = 0, label = 0, sp = 0;
+function _getint_805($0) {
+ $0 = $0|0;
+ var $$0$lcssa = 0, $$06 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $isdigit = 0, $isdigit5 = 0, $isdigittmp = 0, $isdigittmp4 = 0, $isdigittmp7 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $0 = HEAP32[$s>>2]|0;
- $1 = HEAP8[$0>>0]|0;
- $conv4 = $1 << 24 >> 24;
- $isdigittmp5 = (($conv4) + -48)|0;
- $isdigit6 = ($isdigittmp5>>>0)<(10);
- if ($isdigit6) {
- $2 = $0;$i$07 = 0;$isdigittmp8 = $isdigittmp5;
+ $1 = HEAP32[$0>>2]|0;
+ $2 = HEAP8[$1>>0]|0;
+ $3 = $2 << 24 >> 24;
+ $isdigittmp4 = (($3) + -48)|0;
+ $isdigit5 = ($isdigittmp4>>>0)<(10);
+ if ($isdigit5) {
+ $$06 = 0;$7 = $1;$isdigittmp7 = $isdigittmp4;
while(1) {
- $mul = ($i$07*10)|0;
- $add = (($isdigittmp8) + ($mul))|0;
- $incdec$ptr = ((($2)) + 1|0);
- HEAP32[$s>>2] = $incdec$ptr;
- $3 = HEAP8[$incdec$ptr>>0]|0;
- $conv = $3 << 24 >> 24;
- $isdigittmp = (($conv) + -48)|0;
+ $4 = ($$06*10)|0;
+ $5 = (($isdigittmp7) + ($4))|0;
+ $6 = ((($7)) + 1|0);
+ HEAP32[$0>>2] = $6;
+ $8 = HEAP8[$6>>0]|0;
+ $9 = $8 << 24 >> 24;
+ $isdigittmp = (($9) + -48)|0;
$isdigit = ($isdigittmp>>>0)<(10);
if ($isdigit) {
- $2 = $incdec$ptr;$i$07 = $add;$isdigittmp8 = $isdigittmp;
+ $$06 = $5;$7 = $6;$isdigittmp7 = $isdigittmp;
} else {
- $i$0$lcssa = $add;
+ $$0$lcssa = $5;
break;
}
}
} else {
- $i$0$lcssa = 0;
+ $$0$lcssa = 0;
}
- return ($i$0$lcssa|0);
+ return ($$0$lcssa|0);
}
-function _pop_arg_105($arg,$type,$ap) {
- $arg = $arg|0;
- $type = $type|0;
- $ap = $ap|0;
- var $0 = 0, $1 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0.0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0;
- var $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0;
- var $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0;
- var $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0;
- var $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0;
- var $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $arglist_current = 0, $arglist_current11 = 0, $arglist_current14 = 0, $arglist_current17 = 0, $arglist_current2 = 0, $arglist_current20 = 0, $arglist_current23 = 0, $arglist_current26 = 0, $arglist_current5 = 0;
- var $arglist_current8 = 0, $arglist_next = 0, $arglist_next12 = 0, $arglist_next15 = 0, $arglist_next18 = 0, $arglist_next21 = 0, $arglist_next24 = 0, $arglist_next27 = 0, $arglist_next3 = 0, $arglist_next6 = 0, $arglist_next9 = 0, $cmp = 0, $conv16 = 0, $conv22$mask = 0, $conv28 = 0, $conv34$mask = 0, $expanded = 0, $expanded28 = 0, $expanded30 = 0, $expanded31 = 0;
+function _pop_arg_807($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$mask = 0, $$mask31 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0.0, $11 = 0, $110 = 0, $111 = 0, $112 = 0, $113 = 0, $114 = 0, $115 = 0;
+ var $116 = 0.0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
+ var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
+ var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0;
+ var $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $arglist_current = 0, $arglist_current11 = 0, $arglist_current14 = 0, $arglist_current17 = 0;
+ var $arglist_current2 = 0, $arglist_current20 = 0, $arglist_current23 = 0, $arglist_current26 = 0, $arglist_current5 = 0, $arglist_current8 = 0, $arglist_next = 0, $arglist_next12 = 0, $arglist_next15 = 0, $arglist_next18 = 0, $arglist_next21 = 0, $arglist_next24 = 0, $arglist_next27 = 0, $arglist_next3 = 0, $arglist_next6 = 0, $arglist_next9 = 0, $expanded = 0, $expanded28 = 0, $expanded30 = 0, $expanded31 = 0;
var $expanded32 = 0, $expanded34 = 0, $expanded35 = 0, $expanded37 = 0, $expanded38 = 0, $expanded39 = 0, $expanded41 = 0, $expanded42 = 0, $expanded44 = 0, $expanded45 = 0, $expanded46 = 0, $expanded48 = 0, $expanded49 = 0, $expanded51 = 0, $expanded52 = 0, $expanded53 = 0, $expanded55 = 0, $expanded56 = 0, $expanded58 = 0, $expanded59 = 0;
var $expanded60 = 0, $expanded62 = 0, $expanded63 = 0, $expanded65 = 0, $expanded66 = 0, $expanded67 = 0, $expanded69 = 0, $expanded70 = 0, $expanded72 = 0, $expanded73 = 0, $expanded74 = 0, $expanded76 = 0, $expanded77 = 0, $expanded79 = 0, $expanded80 = 0, $expanded81 = 0, $expanded83 = 0, $expanded84 = 0, $expanded86 = 0, $expanded87 = 0;
var $expanded88 = 0, $expanded90 = 0, $expanded91 = 0, $expanded93 = 0, $expanded94 = 0, $expanded95 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $cmp = ($type>>>0)>(20);
+ $3 = ($1>>>0)>(20);
L1: do {
- if (!($cmp)) {
+ if (!($3)) {
do {
- switch ($type|0) {
+ switch ($1|0) {
case 9: {
- $arglist_current = HEAP32[$ap>>2]|0;
- $0 = $arglist_current;
- $1 = ((0) + 4|0);
- $expanded28 = $1;
+ $arglist_current = HEAP32[$2>>2]|0;
+ $4 = $arglist_current;
+ $5 = ((0) + 4|0);
+ $expanded28 = $5;
$expanded = (($expanded28) - 1)|0;
- $2 = (($0) + ($expanded))|0;
- $3 = ((0) + 4|0);
- $expanded32 = $3;
+ $6 = (($4) + ($expanded))|0;
+ $7 = ((0) + 4|0);
+ $expanded32 = $7;
$expanded31 = (($expanded32) - 1)|0;
$expanded30 = $expanded31 ^ -1;
- $4 = $2 & $expanded30;
- $5 = $4;
- $6 = HEAP32[$5>>2]|0;
- $arglist_next = ((($5)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next;
- HEAP32[$arg>>2] = $6;
+ $8 = $6 & $expanded30;
+ $9 = $8;
+ $10 = HEAP32[$9>>2]|0;
+ $arglist_next = ((($9)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next;
+ HEAP32[$0>>2] = $10;
break L1;
break;
}
case 10: {
- $arglist_current2 = HEAP32[$ap>>2]|0;
- $7 = $arglist_current2;
- $8 = ((0) + 4|0);
- $expanded35 = $8;
+ $arglist_current2 = HEAP32[$2>>2]|0;
+ $11 = $arglist_current2;
+ $12 = ((0) + 4|0);
+ $expanded35 = $12;
$expanded34 = (($expanded35) - 1)|0;
- $9 = (($7) + ($expanded34))|0;
- $10 = ((0) + 4|0);
- $expanded39 = $10;
+ $13 = (($11) + ($expanded34))|0;
+ $14 = ((0) + 4|0);
+ $expanded39 = $14;
$expanded38 = (($expanded39) - 1)|0;
$expanded37 = $expanded38 ^ -1;
- $11 = $9 & $expanded37;
- $12 = $11;
- $13 = HEAP32[$12>>2]|0;
- $arglist_next3 = ((($12)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next3;
- $14 = ($13|0)<(0);
- $15 = $14 << 31 >> 31;
- $16 = $arg;
- $17 = $16;
- HEAP32[$17>>2] = $13;
- $18 = (($16) + 4)|0;
- $19 = $18;
- HEAP32[$19>>2] = $15;
+ $15 = $13 & $expanded37;
+ $16 = $15;
+ $17 = HEAP32[$16>>2]|0;
+ $arglist_next3 = ((($16)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next3;
+ $18 = ($17|0)<(0);
+ $19 = $18 << 31 >> 31;
+ $20 = $0;
+ $21 = $20;
+ HEAP32[$21>>2] = $17;
+ $22 = (($20) + 4)|0;
+ $23 = $22;
+ HEAP32[$23>>2] = $19;
break L1;
break;
}
case 11: {
- $arglist_current5 = HEAP32[$ap>>2]|0;
- $20 = $arglist_current5;
- $21 = ((0) + 4|0);
- $expanded42 = $21;
+ $arglist_current5 = HEAP32[$2>>2]|0;
+ $24 = $arglist_current5;
+ $25 = ((0) + 4|0);
+ $expanded42 = $25;
$expanded41 = (($expanded42) - 1)|0;
- $22 = (($20) + ($expanded41))|0;
- $23 = ((0) + 4|0);
- $expanded46 = $23;
+ $26 = (($24) + ($expanded41))|0;
+ $27 = ((0) + 4|0);
+ $expanded46 = $27;
$expanded45 = (($expanded46) - 1)|0;
$expanded44 = $expanded45 ^ -1;
- $24 = $22 & $expanded44;
- $25 = $24;
- $26 = HEAP32[$25>>2]|0;
- $arglist_next6 = ((($25)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next6;
- $27 = $arg;
- $28 = $27;
- HEAP32[$28>>2] = $26;
- $29 = (($27) + 4)|0;
- $30 = $29;
- HEAP32[$30>>2] = 0;
+ $28 = $26 & $expanded44;
+ $29 = $28;
+ $30 = HEAP32[$29>>2]|0;
+ $arglist_next6 = ((($29)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next6;
+ $31 = $0;
+ $32 = $31;
+ HEAP32[$32>>2] = $30;
+ $33 = (($31) + 4)|0;
+ $34 = $33;
+ HEAP32[$34>>2] = 0;
break L1;
break;
}
case 12: {
- $arglist_current8 = HEAP32[$ap>>2]|0;
- $31 = $arglist_current8;
- $32 = ((0) + 8|0);
- $expanded49 = $32;
+ $arglist_current8 = HEAP32[$2>>2]|0;
+ $35 = $arglist_current8;
+ $36 = ((0) + 8|0);
+ $expanded49 = $36;
$expanded48 = (($expanded49) - 1)|0;
- $33 = (($31) + ($expanded48))|0;
- $34 = ((0) + 8|0);
- $expanded53 = $34;
+ $37 = (($35) + ($expanded48))|0;
+ $38 = ((0) + 8|0);
+ $expanded53 = $38;
$expanded52 = (($expanded53) - 1)|0;
$expanded51 = $expanded52 ^ -1;
- $35 = $33 & $expanded51;
- $36 = $35;
- $37 = $36;
- $38 = $37;
- $39 = HEAP32[$38>>2]|0;
- $40 = (($37) + 4)|0;
+ $39 = $37 & $expanded51;
+ $40 = $39;
$41 = $40;
- $42 = HEAP32[$41>>2]|0;
- $arglist_next9 = ((($36)) + 8|0);
- HEAP32[$ap>>2] = $arglist_next9;
- $43 = $arg;
- $44 = $43;
- HEAP32[$44>>2] = $39;
- $45 = (($43) + 4)|0;
- $46 = $45;
- HEAP32[$46>>2] = $42;
+ $42 = $41;
+ $43 = HEAP32[$42>>2]|0;
+ $44 = (($41) + 4)|0;
+ $45 = $44;
+ $46 = HEAP32[$45>>2]|0;
+ $arglist_next9 = ((($40)) + 8|0);
+ HEAP32[$2>>2] = $arglist_next9;
+ $47 = $0;
+ $48 = $47;
+ HEAP32[$48>>2] = $43;
+ $49 = (($47) + 4)|0;
+ $50 = $49;
+ HEAP32[$50>>2] = $46;
break L1;
break;
}
case 13: {
- $arglist_current11 = HEAP32[$ap>>2]|0;
- $47 = $arglist_current11;
- $48 = ((0) + 4|0);
- $expanded56 = $48;
+ $arglist_current11 = HEAP32[$2>>2]|0;
+ $51 = $arglist_current11;
+ $52 = ((0) + 4|0);
+ $expanded56 = $52;
$expanded55 = (($expanded56) - 1)|0;
- $49 = (($47) + ($expanded55))|0;
- $50 = ((0) + 4|0);
- $expanded60 = $50;
+ $53 = (($51) + ($expanded55))|0;
+ $54 = ((0) + 4|0);
+ $expanded60 = $54;
$expanded59 = (($expanded60) - 1)|0;
$expanded58 = $expanded59 ^ -1;
- $51 = $49 & $expanded58;
- $52 = $51;
- $53 = HEAP32[$52>>2]|0;
- $arglist_next12 = ((($52)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next12;
- $conv16 = $53&65535;
- $54 = $conv16 << 16 >> 16;
- $55 = ($54|0)<(0);
- $56 = $55 << 31 >> 31;
- $57 = $arg;
- $58 = $57;
- HEAP32[$58>>2] = $54;
- $59 = (($57) + 4)|0;
- $60 = $59;
- HEAP32[$60>>2] = $56;
+ $55 = $53 & $expanded58;
+ $56 = $55;
+ $57 = HEAP32[$56>>2]|0;
+ $arglist_next12 = ((($56)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next12;
+ $58 = $57&65535;
+ $59 = $58 << 16 >> 16;
+ $60 = ($59|0)<(0);
+ $61 = $60 << 31 >> 31;
+ $62 = $0;
+ $63 = $62;
+ HEAP32[$63>>2] = $59;
+ $64 = (($62) + 4)|0;
+ $65 = $64;
+ HEAP32[$65>>2] = $61;
break L1;
break;
}
case 14: {
- $arglist_current14 = HEAP32[$ap>>2]|0;
- $61 = $arglist_current14;
- $62 = ((0) + 4|0);
- $expanded63 = $62;
+ $arglist_current14 = HEAP32[$2>>2]|0;
+ $66 = $arglist_current14;
+ $67 = ((0) + 4|0);
+ $expanded63 = $67;
$expanded62 = (($expanded63) - 1)|0;
- $63 = (($61) + ($expanded62))|0;
- $64 = ((0) + 4|0);
- $expanded67 = $64;
+ $68 = (($66) + ($expanded62))|0;
+ $69 = ((0) + 4|0);
+ $expanded67 = $69;
$expanded66 = (($expanded67) - 1)|0;
$expanded65 = $expanded66 ^ -1;
- $65 = $63 & $expanded65;
- $66 = $65;
- $67 = HEAP32[$66>>2]|0;
- $arglist_next15 = ((($66)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next15;
- $conv22$mask = $67 & 65535;
- $68 = $arg;
- $69 = $68;
- HEAP32[$69>>2] = $conv22$mask;
- $70 = (($68) + 4)|0;
+ $70 = $68 & $expanded65;
$71 = $70;
- HEAP32[$71>>2] = 0;
+ $72 = HEAP32[$71>>2]|0;
+ $arglist_next15 = ((($71)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next15;
+ $$mask31 = $72 & 65535;
+ $73 = $0;
+ $74 = $73;
+ HEAP32[$74>>2] = $$mask31;
+ $75 = (($73) + 4)|0;
+ $76 = $75;
+ HEAP32[$76>>2] = 0;
break L1;
break;
}
case 15: {
- $arglist_current17 = HEAP32[$ap>>2]|0;
- $72 = $arglist_current17;
- $73 = ((0) + 4|0);
- $expanded70 = $73;
+ $arglist_current17 = HEAP32[$2>>2]|0;
+ $77 = $arglist_current17;
+ $78 = ((0) + 4|0);
+ $expanded70 = $78;
$expanded69 = (($expanded70) - 1)|0;
- $74 = (($72) + ($expanded69))|0;
- $75 = ((0) + 4|0);
- $expanded74 = $75;
+ $79 = (($77) + ($expanded69))|0;
+ $80 = ((0) + 4|0);
+ $expanded74 = $80;
$expanded73 = (($expanded74) - 1)|0;
$expanded72 = $expanded73 ^ -1;
- $76 = $74 & $expanded72;
- $77 = $76;
- $78 = HEAP32[$77>>2]|0;
- $arglist_next18 = ((($77)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next18;
- $conv28 = $78&255;
- $79 = $conv28 << 24 >> 24;
- $80 = ($79|0)<(0);
- $81 = $80 << 31 >> 31;
- $82 = $arg;
- $83 = $82;
- HEAP32[$83>>2] = $79;
- $84 = (($82) + 4)|0;
- $85 = $84;
- HEAP32[$85>>2] = $81;
+ $81 = $79 & $expanded72;
+ $82 = $81;
+ $83 = HEAP32[$82>>2]|0;
+ $arglist_next18 = ((($82)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next18;
+ $84 = $83&255;
+ $85 = $84 << 24 >> 24;
+ $86 = ($85|0)<(0);
+ $87 = $86 << 31 >> 31;
+ $88 = $0;
+ $89 = $88;
+ HEAP32[$89>>2] = $85;
+ $90 = (($88) + 4)|0;
+ $91 = $90;
+ HEAP32[$91>>2] = $87;
break L1;
break;
}
case 16: {
- $arglist_current20 = HEAP32[$ap>>2]|0;
- $86 = $arglist_current20;
- $87 = ((0) + 4|0);
- $expanded77 = $87;
+ $arglist_current20 = HEAP32[$2>>2]|0;
+ $92 = $arglist_current20;
+ $93 = ((0) + 4|0);
+ $expanded77 = $93;
$expanded76 = (($expanded77) - 1)|0;
- $88 = (($86) + ($expanded76))|0;
- $89 = ((0) + 4|0);
- $expanded81 = $89;
+ $94 = (($92) + ($expanded76))|0;
+ $95 = ((0) + 4|0);
+ $expanded81 = $95;
$expanded80 = (($expanded81) - 1)|0;
$expanded79 = $expanded80 ^ -1;
- $90 = $88 & $expanded79;
- $91 = $90;
- $92 = HEAP32[$91>>2]|0;
- $arglist_next21 = ((($91)) + 4|0);
- HEAP32[$ap>>2] = $arglist_next21;
- $conv34$mask = $92 & 255;
- $93 = $arg;
- $94 = $93;
- HEAP32[$94>>2] = $conv34$mask;
- $95 = (($93) + 4)|0;
- $96 = $95;
- HEAP32[$96>>2] = 0;
+ $96 = $94 & $expanded79;
+ $97 = $96;
+ $98 = HEAP32[$97>>2]|0;
+ $arglist_next21 = ((($97)) + 4|0);
+ HEAP32[$2>>2] = $arglist_next21;
+ $$mask = $98 & 255;
+ $99 = $0;
+ $100 = $99;
+ HEAP32[$100>>2] = $$mask;
+ $101 = (($99) + 4)|0;
+ $102 = $101;
+ HEAP32[$102>>2] = 0;
break L1;
break;
}
case 17: {
- $arglist_current23 = HEAP32[$ap>>2]|0;
- $97 = $arglist_current23;
- $98 = ((0) + 8|0);
- $expanded84 = $98;
+ $arglist_current23 = HEAP32[$2>>2]|0;
+ $103 = $arglist_current23;
+ $104 = ((0) + 8|0);
+ $expanded84 = $104;
$expanded83 = (($expanded84) - 1)|0;
- $99 = (($97) + ($expanded83))|0;
- $100 = ((0) + 8|0);
- $expanded88 = $100;
+ $105 = (($103) + ($expanded83))|0;
+ $106 = ((0) + 8|0);
+ $expanded88 = $106;
$expanded87 = (($expanded88) - 1)|0;
$expanded86 = $expanded87 ^ -1;
- $101 = $99 & $expanded86;
- $102 = $101;
- $103 = +HEAPF64[$102>>3];
- $arglist_next24 = ((($102)) + 8|0);
- HEAP32[$ap>>2] = $arglist_next24;
- HEAPF64[$arg>>3] = $103;
+ $107 = $105 & $expanded86;
+ $108 = $107;
+ $109 = +HEAPF64[$108>>3];
+ $arglist_next24 = ((($108)) + 8|0);
+ HEAP32[$2>>2] = $arglist_next24;
+ HEAPF64[$0>>3] = $109;
break L1;
break;
}
case 18: {
- $arglist_current26 = HEAP32[$ap>>2]|0;
- $104 = $arglist_current26;
- $105 = ((0) + 8|0);
- $expanded91 = $105;
+ $arglist_current26 = HEAP32[$2>>2]|0;
+ $110 = $arglist_current26;
+ $111 = ((0) + 8|0);
+ $expanded91 = $111;
$expanded90 = (($expanded91) - 1)|0;
- $106 = (($104) + ($expanded90))|0;
- $107 = ((0) + 8|0);
- $expanded95 = $107;
+ $112 = (($110) + ($expanded90))|0;
+ $113 = ((0) + 8|0);
+ $expanded95 = $113;
$expanded94 = (($expanded95) - 1)|0;
$expanded93 = $expanded94 ^ -1;
- $108 = $106 & $expanded93;
- $109 = $108;
- $110 = +HEAPF64[$109>>3];
- $arglist_next27 = ((($109)) + 8|0);
- HEAP32[$ap>>2] = $arglist_next27;
- HEAPF64[$arg>>3] = $110;
+ $114 = $112 & $expanded93;
+ $115 = $114;
+ $116 = +HEAPF64[$115>>3];
+ $arglist_next27 = ((($115)) + 8|0);
+ HEAP32[$2>>2] = $arglist_next27;
+ HEAPF64[$0>>3] = $116;
break L1;
break;
}
@@ -101316,1917 +101856,1496 @@ function _pop_arg_105($arg,$type,$ap) {
} while(0);
return;
}
-function _fmt_x($0,$1,$s,$lower) {
+function _fmt_x($0,$1,$2,$3) {
$0 = $0|0;
$1 = $1|0;
- $s = $s|0;
- $lower = $lower|0;
- var $10 = 0, $11 = 0, $12 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $arrayidx = 0, $conv1 = 0, $conv4 = 0, $idxprom = 0, $incdec$ptr = 0, $or = 0, $s$addr$0$lcssa = 0, $s$addr$06 = 0, label = 0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$05$lcssa = 0, $$056 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0;
var sp = 0;
sp = STACKTOP;
- $2 = ($0|0)==(0);
- $3 = ($1|0)==(0);
- $4 = $2 & $3;
- if ($4) {
- $s$addr$0$lcssa = $s;
- } else {
- $5 = $0;$7 = $1;$s$addr$06 = $s;
- while(1) {
- $idxprom = $5 & 15;
- $arrayidx = (31460 + ($idxprom)|0);
- $6 = HEAP8[$arrayidx>>0]|0;
- $conv4 = $6&255;
- $or = $conv4 | $lower;
- $conv1 = $or&255;
- $incdec$ptr = ((($s$addr$06)) + -1|0);
- HEAP8[$incdec$ptr>>0] = $conv1;
- $8 = (_bitshift64Lshr(($5|0),($7|0),4)|0);
- $9 = tempRet0;
- $10 = ($8|0)==(0);
- $11 = ($9|0)==(0);
- $12 = $10 & $11;
- if ($12) {
- $s$addr$0$lcssa = $incdec$ptr;
- break;
- } else {
- $5 = $8;$7 = $9;$s$addr$06 = $incdec$ptr;
- }
- }
- }
- return ($s$addr$0$lcssa|0);
-}
-function _fmt_o($0,$1,$s) {
- $0 = $0|0;
- $1 = $1|0;
- $s = $s|0;
- var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $conv = 0, $incdec$ptr = 0, $s$addr$0$lcssa = 0, $s$addr$06 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $2 = ($0|0)==(0);
- $3 = ($1|0)==(0);
- $4 = $2 & $3;
- if ($4) {
- $s$addr$0$lcssa = $s;
- } else {
- $6 = $0;$8 = $1;$s$addr$06 = $s;
- while(1) {
- $5 = $6&255;
- $7 = $5 & 7;
- $conv = $7 | 48;
- $incdec$ptr = ((($s$addr$06)) + -1|0);
- HEAP8[$incdec$ptr>>0] = $conv;
- $9 = (_bitshift64Lshr(($6|0),($8|0),3)|0);
- $10 = tempRet0;
- $11 = ($9|0)==(0);
- $12 = ($10|0)==(0);
- $13 = $11 & $12;
- if ($13) {
- $s$addr$0$lcssa = $incdec$ptr;
- break;
- } else {
- $6 = $9;$8 = $10;$s$addr$06 = $incdec$ptr;
- }
- }
- }
- return ($s$addr$0$lcssa|0);
-}
-function _fmt_u($0,$1,$s) {
- $0 = $0|0;
- $1 = $1|0;
- $s = $s|0;
- var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add5 = 0, $conv = 0;
- var $conv6 = 0, $div9 = 0, $incdec$ptr = 0, $incdec$ptr7 = 0, $rem4 = 0, $s$addr$0$lcssa = 0, $s$addr$013 = 0, $s$addr$1$lcssa = 0, $s$addr$19 = 0, $tobool8 = 0, $x$addr$0$lcssa$off0 = 0, $y$010 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $2 = ($1>>>0)>(0);
- $3 = ($0>>>0)>(4294967295);
- $4 = ($1|0)==(0);
- $5 = $4 & $3;
- $6 = $2 | $5;
+ $4 = ($0|0)==(0);
+ $5 = ($1|0)==(0);
+ $6 = $4 & $5;
if ($6) {
- $7 = $0;$8 = $1;$s$addr$013 = $s;
+ $$05$lcssa = $2;
+ } else {
+ $$056 = $2;$15 = $1;$8 = $0;
while(1) {
- $9 = (___uremdi3(($7|0),($8|0),10,0)|0);
- $10 = tempRet0;
- $11 = $9&255;
- $conv = $11 | 48;
- $incdec$ptr = ((($s$addr$013)) + -1|0);
- HEAP8[$incdec$ptr>>0] = $conv;
- $12 = (___udivdi3(($7|0),($8|0),10,0)|0);
+ $7 = $8 & 15;
+ $9 = (33386 + ($7)|0);
+ $10 = HEAP8[$9>>0]|0;
+ $11 = $10&255;
+ $12 = $11 | $3;
+ $13 = $12&255;
+ $14 = ((($$056)) + -1|0);
+ HEAP8[$14>>0] = $13;
+ $16 = (_bitshift64Lshr(($8|0),($15|0),4)|0);
+ $17 = tempRet0;
+ $18 = ($16|0)==(0);
+ $19 = ($17|0)==(0);
+ $20 = $18 & $19;
+ if ($20) {
+ $$05$lcssa = $14;
+ break;
+ } else {
+ $$056 = $14;$15 = $17;$8 = $16;
+ }
+ }
+ }
+ return ($$05$lcssa|0);
+}
+function _fmt_o($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$0$lcssa = 0, $$06 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $3 = ($0|0)==(0);
+ $4 = ($1|0)==(0);
+ $5 = $3 & $4;
+ if ($5) {
+ $$0$lcssa = $2;
+ } else {
+ $$06 = $2;$11 = $1;$7 = $0;
+ while(1) {
+ $6 = $7&255;
+ $8 = $6 & 7;
+ $9 = $8 | 48;
+ $10 = ((($$06)) + -1|0);
+ HEAP8[$10>>0] = $9;
+ $12 = (_bitshift64Lshr(($7|0),($11|0),3)|0);
$13 = tempRet0;
- $14 = ($8>>>0)>(9);
- $15 = ($7>>>0)>(4294967295);
- $16 = ($8|0)==(9);
- $17 = $16 & $15;
- $18 = $14 | $17;
- if ($18) {
- $7 = $12;$8 = $13;$s$addr$013 = $incdec$ptr;
- } else {
+ $14 = ($12|0)==(0);
+ $15 = ($13|0)==(0);
+ $16 = $14 & $15;
+ if ($16) {
+ $$0$lcssa = $10;
break;
+ } else {
+ $$06 = $10;$11 = $13;$7 = $12;
}
}
- $s$addr$0$lcssa = $incdec$ptr;$x$addr$0$lcssa$off0 = $12;
- } else {
- $s$addr$0$lcssa = $s;$x$addr$0$lcssa$off0 = $0;
}
- $tobool8 = ($x$addr$0$lcssa$off0|0)==(0);
- if ($tobool8) {
- $s$addr$1$lcssa = $s$addr$0$lcssa;
- } else {
- $s$addr$19 = $s$addr$0$lcssa;$y$010 = $x$addr$0$lcssa$off0;
+ return ($$0$lcssa|0);
+}
+function _fmt_u($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$010$lcssa$off0 = 0, $$012 = 0, $$09$lcssa = 0, $$0914 = 0, $$1$lcssa = 0, $$111 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
+ var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $3 = ($1>>>0)>(0);
+ $4 = ($0>>>0)>(4294967295);
+ $5 = ($1|0)==(0);
+ $6 = $5 & $4;
+ $7 = $3 | $6;
+ if ($7) {
+ $$0914 = $2;$8 = $0;$9 = $1;
while(1) {
- $rem4 = (($y$010>>>0) % 10)&-1;
- $add5 = $rem4 | 48;
- $conv6 = $add5&255;
- $incdec$ptr7 = ((($s$addr$19)) + -1|0);
- HEAP8[$incdec$ptr7>>0] = $conv6;
- $div9 = (($y$010>>>0) / 10)&-1;
- $19 = ($y$010>>>0)<(10);
- if ($19) {
- $s$addr$1$lcssa = $incdec$ptr7;
+ $10 = (___uremdi3(($8|0),($9|0),10,0)|0);
+ $11 = tempRet0;
+ $12 = $10&255;
+ $13 = $12 | 48;
+ $14 = ((($$0914)) + -1|0);
+ HEAP8[$14>>0] = $13;
+ $15 = (___udivdi3(($8|0),($9|0),10,0)|0);
+ $16 = tempRet0;
+ $17 = ($9>>>0)>(9);
+ $18 = ($8>>>0)>(4294967295);
+ $19 = ($9|0)==(9);
+ $20 = $19 & $18;
+ $21 = $17 | $20;
+ if ($21) {
+ $$0914 = $14;$8 = $15;$9 = $16;
+ } else {
+ break;
+ }
+ }
+ $$010$lcssa$off0 = $15;$$09$lcssa = $14;
+ } else {
+ $$010$lcssa$off0 = $0;$$09$lcssa = $2;
+ }
+ $22 = ($$010$lcssa$off0|0)==(0);
+ if ($22) {
+ $$1$lcssa = $$09$lcssa;
+ } else {
+ $$012 = $$010$lcssa$off0;$$111 = $$09$lcssa;
+ while(1) {
+ $23 = (($$012>>>0) % 10)&-1;
+ $24 = $23 | 48;
+ $25 = $24&255;
+ $26 = ((($$111)) + -1|0);
+ HEAP8[$26>>0] = $25;
+ $27 = (($$012>>>0) / 10)&-1;
+ $28 = ($$012>>>0)<(10);
+ if ($28) {
+ $$1$lcssa = $26;
break;
} else {
- $s$addr$19 = $incdec$ptr7;$y$010 = $div9;
+ $$012 = $27;$$111 = $26;
}
}
}
- return ($s$addr$1$lcssa|0);
+ return ($$1$lcssa|0);
}
-function _strerror($e) {
- $e = $e|0;
- var $0 = 0, $call = 0, $call1 = 0, $locale = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $call = (___pthread_self_822()|0);
- $locale = ((($call)) + 188|0);
- $0 = HEAP32[$locale>>2]|0;
- $call1 = (___strerror_l($e,$0)|0);
- return ($call1|0);
-}
-function _memchr($src,$c,$n) {
- $src = $src|0;
- $c = $c|0;
- $n = $n|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $and = 0, $and15 = 0, $and16 = 0, $and39 = 0, $cmp = 0, $cmp11 = 0, $cmp1132 = 0, $cmp28 = 0, $cmp8 = 0, $cond = 0, $conv1 = 0, $dec = 0;
- var $dec34 = 0, $incdec$ptr = 0, $incdec$ptr21 = 0, $incdec$ptr33 = 0, $mul = 0, $n$addr$0$lcssa = 0, $n$addr$0$lcssa52 = 0, $n$addr$043 = 0, $n$addr$1$lcssa = 0, $n$addr$133 = 0, $n$addr$227 = 0, $n$addr$3 = 0, $neg = 0, $or$cond = 0, $or$cond42 = 0, $s$0$lcssa = 0, $s$0$lcssa53 = 0, $s$044 = 0, $s$128 = 0, $s$2 = 0;
- var $sub = 0, $sub22 = 0, $tobool = 0, $tobool17 = 0, $tobool2 = 0, $tobool2$lcssa = 0, $tobool241 = 0, $tobool25 = 0, $tobool2526 = 0, $tobool36 = 0, $tobool40 = 0, $w$0$lcssa = 0, $w$034 = 0, $xor = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $conv1 = $c & 255;
- $0 = $src;
- $and39 = $0 & 3;
- $tobool40 = ($and39|0)!=(0);
- $tobool241 = ($n|0)!=(0);
- $or$cond42 = $tobool241 & $tobool40;
- L1: do {
- if ($or$cond42) {
- $1 = $c&255;
- $n$addr$043 = $n;$s$044 = $src;
- while(1) {
- $2 = HEAP8[$s$044>>0]|0;
- $cmp = ($2<<24>>24)==($1<<24>>24);
- if ($cmp) {
- $n$addr$0$lcssa52 = $n$addr$043;$s$0$lcssa53 = $s$044;
- label = 6;
- break L1;
- }
- $incdec$ptr = ((($s$044)) + 1|0);
- $dec = (($n$addr$043) + -1)|0;
- $3 = $incdec$ptr;
- $and = $3 & 3;
- $tobool = ($and|0)!=(0);
- $tobool2 = ($dec|0)!=(0);
- $or$cond = $tobool2 & $tobool;
- if ($or$cond) {
- $n$addr$043 = $dec;$s$044 = $incdec$ptr;
- } else {
- $n$addr$0$lcssa = $dec;$s$0$lcssa = $incdec$ptr;$tobool2$lcssa = $tobool2;
- label = 5;
- break;
- }
- }
- } else {
- $n$addr$0$lcssa = $n;$s$0$lcssa = $src;$tobool2$lcssa = $tobool241;
- label = 5;
- }
- } while(0);
- if ((label|0) == 5) {
- if ($tobool2$lcssa) {
- $n$addr$0$lcssa52 = $n$addr$0$lcssa;$s$0$lcssa53 = $s$0$lcssa;
- label = 6;
- } else {
- $n$addr$3 = 0;$s$2 = $s$0$lcssa;
- }
- }
- L8: do {
- if ((label|0) == 6) {
- $4 = HEAP8[$s$0$lcssa53>>0]|0;
- $5 = $c&255;
- $cmp8 = ($4<<24>>24)==($5<<24>>24);
- if ($cmp8) {
- $n$addr$3 = $n$addr$0$lcssa52;$s$2 = $s$0$lcssa53;
- } else {
- $mul = Math_imul($conv1, 16843009)|0;
- $cmp1132 = ($n$addr$0$lcssa52>>>0)>(3);
- L11: do {
- if ($cmp1132) {
- $n$addr$133 = $n$addr$0$lcssa52;$w$034 = $s$0$lcssa53;
- while(1) {
- $6 = HEAP32[$w$034>>2]|0;
- $xor = $6 ^ $mul;
- $sub = (($xor) + -16843009)|0;
- $neg = $xor & -2139062144;
- $and15 = $neg ^ -2139062144;
- $and16 = $and15 & $sub;
- $tobool17 = ($and16|0)==(0);
- if (!($tobool17)) {
- break;
- }
- $incdec$ptr21 = ((($w$034)) + 4|0);
- $sub22 = (($n$addr$133) + -4)|0;
- $cmp11 = ($sub22>>>0)>(3);
- if ($cmp11) {
- $n$addr$133 = $sub22;$w$034 = $incdec$ptr21;
- } else {
- $n$addr$1$lcssa = $sub22;$w$0$lcssa = $incdec$ptr21;
- label = 11;
- break L11;
- }
- }
- $n$addr$227 = $n$addr$133;$s$128 = $w$034;
- } else {
- $n$addr$1$lcssa = $n$addr$0$lcssa52;$w$0$lcssa = $s$0$lcssa53;
- label = 11;
- }
- } while(0);
- if ((label|0) == 11) {
- $tobool2526 = ($n$addr$1$lcssa|0)==(0);
- if ($tobool2526) {
- $n$addr$3 = 0;$s$2 = $w$0$lcssa;
- break;
- } else {
- $n$addr$227 = $n$addr$1$lcssa;$s$128 = $w$0$lcssa;
- }
- }
- while(1) {
- $7 = HEAP8[$s$128>>0]|0;
- $cmp28 = ($7<<24>>24)==($5<<24>>24);
- if ($cmp28) {
- $n$addr$3 = $n$addr$227;$s$2 = $s$128;
- break L8;
- }
- $incdec$ptr33 = ((($s$128)) + 1|0);
- $dec34 = (($n$addr$227) + -1)|0;
- $tobool25 = ($dec34|0)==(0);
- if ($tobool25) {
- $n$addr$3 = 0;$s$2 = $incdec$ptr33;
- break;
- } else {
- $n$addr$227 = $dec34;$s$128 = $incdec$ptr33;
- }
- }
- }
- }
- } while(0);
- $tobool36 = ($n$addr$3|0)!=(0);
- $cond = $tobool36 ? $s$2 : 0;
- return ($cond|0);
-}
-function _pad_108($f,$c,$w,$l,$fl) {
- $f = $f|0;
- $c = $c|0;
- $w = $w|0;
- $l = $l|0;
- $fl = $fl|0;
- var $0 = 0, $1 = 0, $2 = 0, $and = 0, $cmp = 0, $cmp3 = 0, $cmp38 = 0, $cond = 0, $l$addr$0$lcssa = 0, $l$addr$09 = 0, $or$cond = 0, $pad = 0, $sub = 0, $sub6 = 0, $tobool = 0, label = 0, sp = 0;
+function _pad_810($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$0$lcssa = 0, $$011 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 256|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(256|0);
- $pad = sp;
- $and = $fl & 73728;
- $tobool = ($and|0)==(0);
- $cmp = ($w|0)>($l|0);
- $or$cond = $cmp & $tobool;
+ $5 = sp;
+ $6 = $4 & 73728;
+ $7 = ($6|0)==(0);
+ $8 = ($2|0)>($3|0);
+ $or$cond = $8 & $7;
if ($or$cond) {
- $sub = (($w) - ($l))|0;
- $0 = ($sub>>>0)<(256);
- $cond = $0 ? $sub : 256;
- _memset(($pad|0),($c|0),($cond|0))|0;
- $cmp38 = ($sub>>>0)>(255);
- if ($cmp38) {
- $1 = (($w) - ($l))|0;
- $l$addr$09 = $sub;
+ $9 = (($2) - ($3))|0;
+ $10 = ($9>>>0)<(256);
+ $11 = $10 ? $9 : 256;
+ _memset(($5|0),($1|0),($11|0))|0;
+ $12 = ($9>>>0)>(255);
+ if ($12) {
+ $13 = (($2) - ($3))|0;
+ $$011 = $9;
while(1) {
- _out_102($f,$pad,256);
- $sub6 = (($l$addr$09) + -256)|0;
- $cmp3 = ($sub6>>>0)>(255);
- if ($cmp3) {
- $l$addr$09 = $sub6;
+ _out_804($0,$5,256);
+ $14 = (($$011) + -256)|0;
+ $15 = ($14>>>0)>(255);
+ if ($15) {
+ $$011 = $14;
} else {
break;
}
}
- $2 = $1 & 255;
- $l$addr$0$lcssa = $2;
+ $16 = $13 & 255;
+ $$0$lcssa = $16;
} else {
- $l$addr$0$lcssa = $sub;
+ $$0$lcssa = $9;
}
- _out_102($f,$pad,$l$addr$0$lcssa);
+ _out_804($0,$5,$$0$lcssa);
}
STACKTOP = sp;return;
}
-function _wctomb($s,$wc) {
- $s = $s|0;
- $wc = $wc|0;
- var $call = 0, $retval$0 = 0, $tobool = 0, label = 0, sp = 0;
+function _wctomb($0,$1) {
+ $0 = $0|0;
+ $1 = $1|0;
+ var $$0 = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $tobool = ($s|0)==(0|0);
- if ($tobool) {
- $retval$0 = 0;
+ $2 = ($0|0)==(0|0);
+ if ($2) {
+ $$0 = 0;
} else {
- $call = (_wcrtomb($s,$wc,0)|0);
- $retval$0 = $call;
+ $3 = (_wcrtomb($0,$1,0)|0);
+ $$0 = $3;
}
- return ($retval$0|0);
+ return ($$0|0);
}
-function _fmt_fp($f,$y,$w,$p,$fl,$t) {
- $f = $f|0;
- $y = +$y;
- $w = $w|0;
- $p = $p|0;
- $fl = $fl|0;
- $t = $t|0;
- var $$ = 0, $$$ = 0, $$$405 = 0.0, $$394$ = 0, $$396 = 0.0, $$405 = 0.0, $$p = 0, $$p$inc468 = 0, $$pr = 0, $$pr406 = 0, $$pre = 0, $$pre486 = 0, $$pre487 = 0, $$pre489 = 0, $$sub514 = 0, $$sub562 = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0;
- var $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0;
- var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0;
- var $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0;
- var $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $8 = 0, $9 = 0, $a$1$lcssa = 0, $a$1476 = 0, $a$2$ph = 0, $a$3$lcssa = 0, $a$3466 = 0, $a$5$lcssa = 0, $a$5449 = 0, $a$6 = 0;
- var $a$8 = 0, $a$9$ph = 0, $add = 0, $add$ptr213 = 0, $add$ptr311 = 0, $add$ptr311$z$4 = 0, $add$ptr354 = 0, $add$ptr358 = 0, $add$ptr373 = 0, $add$ptr442 = 0, $add$ptr442$z$3 = 0, $add$ptr65 = 0, $add$ptr671 = 0, $add$ptr742 = 0, $add$ptr756 = 0, $add113 = 0, $add150 = 0, $add163 = 0, $add165 = 0, $add273 = 0;
- var $add275 = 0, $add284 = 0, $add313 = 0, $add355 = 0, $add410 = 0.0, $add414 = 0, $add477$neg = 0, $add561 = 0, $add608 = 0, $add612 = 0, $add620 = 0, $add653 = 0, $add653$sink402 = 0, $add67 = 0, $add737 = 0, $add810 = 0, $add87 = 0.0, $add90 = 0.0, $and = 0, $and12 = 0;
- var $and134 = 0, $and282 = 0, $and36 = 0, $and379 = 0, $and45 = 0, $and483 = 0, $and610$pre$phiZ2D = 0, $and62 = 0, $arraydecay208$add$ptr213 = 0, $arrayidx = 0, $arrayidx117 = 0, $arrayidx251 = 0, $arrayidx453 = 0, $arrayidx489 = 0, $big = 0, $buf = 0, $call55 = 0.0, $carry$0471 = 0, $carry262$0462 = 0, $cmp103 = 0;
- var $cmp127 = 0, $cmp131 = 0, $cmp147 = 0, $cmp196 = 0, $cmp205 = 0, $cmp225 = 0, $cmp225474 = 0, $cmp235 = 0, $cmp235470 = 0, $cmp249 = 0, $cmp259 = 0, $cmp259464 = 0, $cmp277 = 0, $cmp277460 = 0, $cmp299 = 0, $cmp308 = 0, $cmp315 = 0, $cmp324 = 0, $cmp324456 = 0, $cmp333 = 0;
- var $cmp338 = 0, $cmp350 = 0, $cmp363 = 0, $cmp363452 = 0, $cmp374 = 0, $cmp38 = 0, $cmp385 = 0, $cmp390 = 0, $cmp403 = 0, $cmp411 = 0, $cmp416 = 0, $cmp416447 = 0, $cmp420 = 0, $cmp433 = 0, $cmp433443 = 0, $cmp443 = 0, $cmp450 = 0, $cmp450$lcssa = 0, $cmp470 = 0, $cmp473 = 0;
- var $cmp495 = 0, $cmp495439 = 0, $cmp505 = 0, $cmp528 = 0, $cmp577 = 0, $cmp59 = 0, $cmp614 = 0, $cmp617 = 0, $cmp623 = 0, $cmp636 = 0, $cmp636434 = 0, $cmp660 = 0, $cmp665 = 0, $cmp673 = 0, $cmp678 = 0, $cmp678420 = 0, $cmp686 = 0, $cmp707 = 0, $cmp707415 = 0, $cmp710 = 0;
- var $cmp710416 = 0, $cmp722 = 0, $cmp722412 = 0, $cmp745 = 0, $cmp748 = 0, $cmp748428 = 0, $cmp760 = 0, $cmp765 = 0, $cmp770 = 0, $cmp770424 = 0, $cmp777 = 0, $cmp790 = 0, $cmp818 = 0, $cmp82 = 0, $cmp94 = 0, $cond = 0, $cond100 = 0, $cond233 = 0, $cond271 = 0, $cond304 = 0;
- var $cond43 = 0, $cond629 = 0, $cond732 = 0, $cond800 = 0, $conv111 = 0, $conv114 = 0, $conv116 = 0, $conv118393 = 0, $conv121 = 0, $conv123 = 0.0, $conv216 = 0, $conv218 = 0.0, $conv644 = 0, $conv646 = 0, $d$0 = 0, $d$0469 = 0, $d$0472 = 0, $d$1461 = 0, $d$4 = 0, $d$5423 = 0;
- var $d$6417 = 0, $d$7429 = 0, $dec = 0, $dec476 = 0, $dec481 = 0, $dec78 = 0, $div274 = 0, $div356 = 0, $div378 = 0, $div384 = 0, $e$0458 = 0, $e$1 = 0, $e$2445 = 0, $e$4 = 0, $e$5$ph = 0, $e2 = 0, $ebuf0 = 0, $estr$0 = 0, $estr$1$lcssa = 0, $estr$1435 = 0;
- var $estr$2 = 0, $i$0457 = 0, $i$1$lcssa = 0, $i$1453 = 0, $i$2444 = 0, $i$3440 = 0, $inc = 0, $inc425 = 0, $inc438 = 0, $inc468 = 0, $inc500 = 0, $incdec$ptr106 = 0, $incdec$ptr112 = 0, $incdec$ptr115 = 0, $incdec$ptr122 = 0, $incdec$ptr137 = 0, $incdec$ptr217 = 0, $incdec$ptr246 = 0, $incdec$ptr288 = 0, $incdec$ptr292 = 0;
- var $incdec$ptr292$a$3 = 0, $incdec$ptr292$a$3494 = 0, $incdec$ptr292$a$3496 = 0, $incdec$ptr292493 = 0, $incdec$ptr296 = 0, $incdec$ptr419 = 0, $incdec$ptr419$sink$lcssa = 0, $incdec$ptr419$sink448 = 0, $incdec$ptr423 = 0, $incdec$ptr639 = 0, $incdec$ptr645 = 0, $incdec$ptr647 = 0, $incdec$ptr681 = 0, $incdec$ptr689 = 0, $incdec$ptr698 = 0, $incdec$ptr725 = 0, $incdec$ptr734 = 0, $incdec$ptr763 = 0, $incdec$ptr773 = 0, $incdec$ptr776 = 0;
- var $incdec$ptr808 = 0, $j$0 = 0, $j$0$in454 = 0, $j$1441 = 0, $j$2 = 0, $l$1 = 0, $land$ext$neg = 0, $lor$ext = 0, $mul = 0.0, $mul125 = 0.0, $mul202 = 0.0, $mul220 = 0.0, $mul286 = 0, $mul322 = 0, $mul328 = 0, $mul335 = 0, $mul349 = 0, $mul367 = 0, $mul406 = 0.0, $mul406$$396 = 0.0;
- var $mul407 = 0.0, $mul407$$$405 = 0.0, $mul431 = 0, $mul437 = 0, $mul499 = 0, $mul513 = 0, $mul80 = 0.0, $not$tobool341 = 0, $or = 0, $or$cond = 0, $or$cond1$not = 0, $or$cond2 = 0, $or$cond395 = 0, $or$cond397 = 0, $or$cond401 = 0, $or120 = 0, $or504 = 0, $or613 = 0, $p$addr$2 = 0, $p$addr$2$$sub514398 = 0;
- var $p$addr$2$$sub562399 = 0, $p$addr$3 = 0, $p$addr$4$lcssa = 0, $p$addr$4418 = 0, $p$addr$5$lcssa = 0, $p$addr$5430 = 0, $pl$0 = 0, $prefix$0 = 0, $prefix$0$add$ptr65 = 0, $r$0$a$9 = 0, $re$1411 = 0, $rem360 = 0, $rem370 = 0, $rem494 = 0, $rem494438 = 0, $round$0410 = 0.0, $round377$1 = 0.0, $s$0 = 0, $s$1 = 0, $s35$0 = 0;
- var $s668$0421 = 0, $s668$1 = 0, $s715$0$lcssa = 0, $s715$0413 = 0, $s753$0 = 0, $s753$1425 = 0, $s753$2 = 0, $scevgep483 = 0, $scevgep483484 = 0, $shl280 = 0, $shr283 = 0, $shr285 = 0, $small$1 = 0.0, $sub = 0.0, $sub$ptr$div = 0, $sub$ptr$div321 = 0, $sub$ptr$div347 = 0, $sub$ptr$div430 = 0, $sub$ptr$div511 = 0, $sub$ptr$lhs$cast = 0;
- var $sub$ptr$lhs$cast160 = 0, $sub$ptr$lhs$cast305 = 0, $sub$ptr$lhs$cast318 = 0, $sub$ptr$lhs$cast344 = 0, $sub$ptr$lhs$cast508 = 0, $sub$ptr$lhs$cast633 = 0, $sub$ptr$lhs$cast694 = 0, $sub$ptr$lhs$cast787 = 0, $sub$ptr$lhs$cast811 = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$rhs$cast161 = 0, $sub$ptr$rhs$cast306 = 0, $sub$ptr$rhs$cast319 = 0, $sub$ptr$rhs$cast428 = 0, $sub$ptr$rhs$cast634 = 0, $sub$ptr$rhs$cast634432 = 0, $sub$ptr$rhs$cast649 = 0, $sub$ptr$rhs$cast695 = 0, $sub$ptr$rhs$cast788 = 0, $sub$ptr$rhs$cast812 = 0;
- var $sub$ptr$sub = 0, $sub$ptr$sub145 = 0, $sub$ptr$sub159 = 0, $sub$ptr$sub159$sink = 0, $sub$ptr$sub162 = 0, $sub$ptr$sub172$pre$phiZZZ2D = 0, $sub$ptr$sub307 = 0, $sub$ptr$sub320 = 0, $sub$ptr$sub346 = 0, $sub$ptr$sub429 = 0, $sub$ptr$sub510 = 0, $sub$ptr$sub635 = 0, $sub$ptr$sub635433 = 0, $sub$ptr$sub650 = 0, $sub$ptr$sub650$pn = 0, $sub$ptr$sub696 = 0, $sub$ptr$sub789 = 0, $sub$ptr$sub813 = 0, $sub124 = 0.0, $sub146 = 0;
- var $sub181 = 0, $sub203 = 0, $sub219 = 0.0, $sub256 = 0, $sub264 = 0, $sub281 = 0, $sub336 = 0, $sub343 = 0, $sub357 = 0, $sub409 = 0, $sub478 = 0, $sub480 = 0, $sub514 = 0, $sub562 = 0, $sub626$le = 0, $sub735 = 0, $sub74 = 0, $sub806 = 0, $sub85 = 0.0, $sub86 = 0.0;
- var $sub88 = 0.0, $sub91 = 0.0, $sub97 = 0, $t$addr$0 = 0, $t$addr$1 = 0, $tobool129 = 0, $tobool13 = 0, $tobool135 = 0, $tobool139 = 0, $tobool140 = 0, $tobool222 = 0, $tobool244 = 0, $tobool252 = 0, $tobool290 = 0, $tobool290492 = 0, $tobool294 = 0, $tobool341 = 0, $tobool37 = 0, $tobool371 = 0, $tobool380 = 0;
- var $tobool400 = 0, $tobool454 = 0, $tobool484 = 0, $tobool490 = 0, $tobool56 = 0, $tobool63 = 0, $tobool76 = 0, $tobool76490 = 0, $tobool781 = 0, $tobool79 = 0, $tobool9 = 0, $w$add653 = 0, $xor = 0, $xor167 = 0, $xor186 = 0, $xor655 = 0, $xor816 = 0, $y$addr$0 = 0.0, $y$addr$1 = 0.0, $y$addr$2 = 0.0;
- var $y$addr$3 = 0.0, $y$addr$4 = 0.0, $z$0 = 0, $z$1$lcssa = 0, $z$1475 = 0, $z$2 = 0, $z$3$lcssa = 0, $z$3465 = 0, $z$4 = 0, $z$7 = 0, $z$7$add$ptr742 = 0, $z$7$ph = 0, label = 0, sp = 0;
+function _fmt_fp($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = +$1;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $$ = 0, $$$ = 0, $$$$564 = 0.0, $$$3484 = 0, $$$3484699 = 0, $$$3484700 = 0, $$$3501 = 0, $$$4502 = 0, $$$543 = 0.0, $$$564 = 0.0, $$0 = 0, $$0463$lcssa = 0, $$0463587 = 0, $$0464597 = 0, $$0471 = 0.0, $$0479 = 0, $$0487644 = 0, $$0488 = 0, $$0488655 = 0, $$0488657 = 0;
+ var $$0496$$9 = 0, $$0497656 = 0, $$0498 = 0, $$0509585 = 0.0, $$0510 = 0, $$0511 = 0, $$0514639 = 0, $$0520 = 0, $$0521 = 0, $$0521$ = 0, $$0523 = 0, $$0527 = 0, $$0527$in633 = 0, $$0530638 = 0, $$1465 = 0, $$1467 = 0.0, $$1469 = 0.0, $$1472 = 0.0, $$1480 = 0, $$1482$lcssa = 0;
+ var $$1482663 = 0, $$1489643 = 0, $$1499$lcssa = 0, $$1499662 = 0, $$1508586 = 0, $$1512$lcssa = 0, $$1512610 = 0, $$1515 = 0, $$1524 = 0, $$1526 = 0, $$1528617 = 0, $$1531$lcssa = 0, $$1531632 = 0, $$1601 = 0, $$2 = 0, $$2473 = 0.0, $$2476 = 0, $$2476$$549 = 0, $$2476$$551 = 0, $$2483$ph = 0;
+ var $$2500 = 0, $$2513 = 0, $$2516621 = 0, $$2529 = 0, $$2532620 = 0, $$3 = 0.0, $$3477 = 0, $$3484$lcssa = 0, $$3484650 = 0, $$3501$lcssa = 0, $$3501649 = 0, $$3533616 = 0, $$4 = 0.0, $$4478$lcssa = 0, $$4478593 = 0, $$4492 = 0, $$4502 = 0, $$4518 = 0, $$5$lcssa = 0, $$534$ = 0;
+ var $$540 = 0, $$540$ = 0, $$543 = 0.0, $$548 = 0, $$5486$lcssa = 0, $$5486626 = 0, $$5493600 = 0, $$550 = 0, $$5519$ph = 0, $$557 = 0, $$5605 = 0, $$561 = 0, $$564 = 0.0, $$6 = 0, $$6494592 = 0, $$7495604 = 0, $$7505 = 0, $$7505$ = 0, $$7505$ph = 0, $$8 = 0;
+ var $$9$ph = 0, $$lcssa675 = 0, $$neg = 0, $$neg568 = 0, $$pn = 0, $$pr = 0, $$pr566 = 0, $$pre = 0, $$pre$phi691Z2D = 0, $$pre$phi698Z2D = 0, $$pre690 = 0, $$pre693 = 0, $$pre697 = 0, $$sink = 0, $$sink547$lcssa = 0, $$sink547625 = 0, $$sink560 = 0, $10 = 0, $100 = 0, $101 = 0;
+ var $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $107 = 0, $108 = 0, $109 = 0, $11 = 0, $110 = 0, $111 = 0.0, $112 = 0, $113 = 0, $114 = 0, $115 = 0, $116 = 0, $117 = 0, $118 = 0.0, $119 = 0.0, $12 = 0;
+ var $120 = 0.0, $121 = 0, $122 = 0, $123 = 0, $124 = 0, $125 = 0, $126 = 0, $127 = 0, $128 = 0, $129 = 0, $13 = 0, $130 = 0, $131 = 0, $132 = 0, $133 = 0, $134 = 0, $135 = 0, $136 = 0, $137 = 0, $138 = 0;
+ var $139 = 0, $14 = 0.0, $140 = 0, $141 = 0, $142 = 0, $143 = 0, $144 = 0, $145 = 0, $146 = 0, $147 = 0, $148 = 0, $149 = 0, $15 = 0, $150 = 0, $151 = 0, $152 = 0, $153 = 0, $154 = 0, $155 = 0, $156 = 0;
+ var $157 = 0, $158 = 0, $159 = 0, $16 = 0, $160 = 0, $161 = 0, $162 = 0, $163 = 0, $164 = 0, $165 = 0, $166 = 0, $167 = 0, $168 = 0, $169 = 0, $17 = 0, $170 = 0, $171 = 0, $172 = 0, $173 = 0, $174 = 0;
+ var $175 = 0, $176 = 0, $177 = 0, $178 = 0, $179 = 0, $18 = 0, $180 = 0, $181 = 0, $182 = 0, $183 = 0, $184 = 0, $185 = 0, $186 = 0, $187 = 0, $188 = 0, $189 = 0, $19 = 0, $190 = 0, $191 = 0, $192 = 0;
+ var $193 = 0, $194 = 0, $195 = 0, $196 = 0, $197 = 0, $198 = 0, $199 = 0, $20 = 0, $200 = 0, $201 = 0, $202 = 0, $203 = 0, $204 = 0, $205 = 0, $206 = 0, $207 = 0, $208 = 0, $209 = 0, $21 = 0, $210 = 0;
+ var $211 = 0, $212 = 0, $213 = 0, $214 = 0, $215 = 0, $216 = 0, $217 = 0, $218 = 0, $219 = 0, $22 = 0, $220 = 0, $221 = 0, $222 = 0, $223 = 0, $224 = 0, $225 = 0, $226 = 0, $227 = 0, $228 = 0, $229 = 0;
+ var $23 = 0, $230 = 0, $231 = 0.0, $232 = 0.0, $233 = 0, $234 = 0.0, $235 = 0, $236 = 0, $237 = 0, $238 = 0, $239 = 0, $24 = 0, $240 = 0, $241 = 0, $242 = 0, $243 = 0, $244 = 0, $245 = 0, $246 = 0, $247 = 0;
+ var $248 = 0, $249 = 0, $25 = 0, $250 = 0, $251 = 0, $252 = 0, $253 = 0, $254 = 0, $255 = 0, $256 = 0, $257 = 0, $258 = 0, $259 = 0, $26 = 0, $260 = 0, $261 = 0, $262 = 0, $263 = 0, $264 = 0, $265 = 0;
+ var $266 = 0, $267 = 0, $268 = 0, $269 = 0, $27 = 0, $270 = 0, $271 = 0, $272 = 0, $273 = 0, $274 = 0, $275 = 0, $276 = 0, $277 = 0, $278 = 0, $279 = 0, $28 = 0, $280 = 0, $281 = 0, $282 = 0, $283 = 0;
+ var $284 = 0, $285 = 0, $286 = 0, $287 = 0, $288 = 0, $289 = 0, $29 = 0, $290 = 0, $291 = 0, $292 = 0, $293 = 0, $294 = 0, $295 = 0, $296 = 0, $297 = 0, $298 = 0, $299 = 0, $30 = 0, $300 = 0, $301 = 0;
+ var $302 = 0, $303 = 0, $304 = 0, $305 = 0, $306 = 0, $307 = 0, $308 = 0, $309 = 0, $31 = 0, $310 = 0, $311 = 0, $312 = 0, $313 = 0, $314 = 0, $315 = 0, $316 = 0, $317 = 0, $318 = 0, $319 = 0, $32 = 0;
+ var $320 = 0, $321 = 0, $322 = 0, $323 = 0, $324 = 0, $325 = 0, $326 = 0, $327 = 0, $328 = 0, $329 = 0, $33 = 0, $330 = 0, $331 = 0, $332 = 0, $333 = 0, $334 = 0, $335 = 0, $336 = 0, $337 = 0, $338 = 0;
+ var $339 = 0, $34 = 0.0, $340 = 0, $341 = 0, $342 = 0, $343 = 0, $344 = 0, $345 = 0, $346 = 0, $347 = 0, $348 = 0, $349 = 0, $35 = 0.0, $350 = 0, $351 = 0, $352 = 0, $353 = 0, $354 = 0, $355 = 0, $356 = 0;
+ var $357 = 0, $358 = 0, $359 = 0, $36 = 0, $360 = 0, $361 = 0, $362 = 0, $363 = 0, $364 = 0, $365 = 0, $366 = 0, $367 = 0, $368 = 0, $369 = 0, $37 = 0, $370 = 0, $371 = 0, $372 = 0, $373 = 0, $374 = 0;
+ var $375 = 0, $376 = 0, $377 = 0, $378 = 0, $379 = 0, $38 = 0, $380 = 0, $381 = 0, $382 = 0, $383 = 0, $384 = 0, $385 = 0, $386 = 0, $387 = 0, $388 = 0, $389 = 0, $39 = 0, $390 = 0, $391 = 0, $40 = 0;
+ var $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0.0, $51 = 0, $52 = 0, $53 = 0, $54 = 0.0, $55 = 0.0, $56 = 0.0, $57 = 0.0, $58 = 0.0, $59 = 0.0, $6 = 0;
+ var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
+ var $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0.0, $88 = 0.0, $89 = 0.0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0, $94 = 0, $95 = 0, $96 = 0;
+ var $97 = 0, $98 = 0, $99 = 0, $not$ = 0, $or$cond = 0, $or$cond3$not = 0, $or$cond542 = 0, $or$cond545 = 0, $or$cond556 = 0, $or$cond6 = 0, $scevgep686 = 0, $scevgep686687 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 560|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(560|0);
- $big = sp + 8|0;
- $e2 = sp;
- $buf = sp + 524|0;
- $sub$ptr$rhs$cast = $buf;
- $ebuf0 = sp + 512|0;
- HEAP32[$e2>>2] = 0;
- $arrayidx = ((($ebuf0)) + 12|0);
- (___DOUBLE_BITS($y)|0);
- $0 = tempRet0;
- $1 = ($0|0)<(0);
- if ($1) {
- $sub = - $y;
- $pl$0 = 1;$prefix$0 = 31425;$y$addr$0 = $sub;
+ $6 = sp + 8|0;
+ $7 = sp;
+ $8 = sp + 524|0;
+ $9 = $8;
+ $10 = sp + 512|0;
+ HEAP32[$7>>2] = 0;
+ $11 = ((($10)) + 12|0);
+ (___DOUBLE_BITS_811($1)|0);
+ $12 = tempRet0;
+ $13 = ($12|0)<(0);
+ if ($13) {
+ $14 = - $1;
+ $$0471 = $14;$$0520 = 1;$$0521 = 33351;
} else {
- $and = $fl & 2048;
- $tobool9 = ($and|0)==(0);
- $and12 = $fl & 1;
- $tobool13 = ($and12|0)==(0);
- $$ = $tobool13 ? (31426) : (31431);
- $$$ = $tobool9 ? $$ : (31428);
- $2 = $fl & 2049;
- $3 = ($2|0)!=(0);
- $$394$ = $3&1;
- $pl$0 = $$394$;$prefix$0 = $$$;$y$addr$0 = $y;
+ $15 = $4 & 2048;
+ $16 = ($15|0)==(0);
+ $17 = $4 & 1;
+ $18 = ($17|0)==(0);
+ $$ = $18 ? (33352) : (33357);
+ $$$ = $16 ? $$ : (33354);
+ $19 = $4 & 2049;
+ $20 = ($19|0)!=(0);
+ $$534$ = $20&1;
+ $$0471 = $1;$$0520 = $$534$;$$0521 = $$$;
}
- (___DOUBLE_BITS($y$addr$0)|0);
- $4 = tempRet0;
- $5 = $4 & 2146435072;
- $6 = (0)==(0);
- $7 = ($5|0)==(2146435072);
- $8 = $6 & $7;
+ (___DOUBLE_BITS_811($$0471)|0);
+ $21 = tempRet0;
+ $22 = $21 & 2146435072;
+ $23 = (0)==(0);
+ $24 = ($22|0)==(2146435072);
+ $25 = $23 & $24;
do {
- if ($8) {
- $and36 = $t & 32;
- $tobool37 = ($and36|0)!=(0);
- $cond = $tobool37 ? 31444 : 31448;
- $cmp38 = ($y$addr$0 != $y$addr$0) | (0.0 != 0.0);
- $cond43 = $tobool37 ? 31452 : 31456;
- $s35$0 = $cmp38 ? $cond43 : $cond;
- $add = (($pl$0) + 3)|0;
- $and45 = $fl & -65537;
- _pad_108($f,32,$w,$add,$and45);
- _out_102($f,$prefix$0,$pl$0);
- _out_102($f,$s35$0,3);
- $xor = $fl ^ 8192;
- _pad_108($f,32,$w,$add,$xor);
- $add653$sink402 = $add;
+ if ($25) {
+ $26 = $5 & 32;
+ $27 = ($26|0)!=(0);
+ $28 = $27 ? 33370 : 33374;
+ $29 = ($$0471 != $$0471) | (0.0 != 0.0);
+ $30 = $27 ? 33378 : 33382;
+ $$0510 = $29 ? $30 : $28;
+ $31 = (($$0520) + 3)|0;
+ $32 = $4 & -65537;
+ _pad_810($0,32,$2,$31,$32);
+ _out_804($0,$$0521,$$0520);
+ _out_804($0,$$0510,3);
+ $33 = $4 ^ 8192;
+ _pad_810($0,32,$2,$31,$33);
+ $$sink560 = $31;
} else {
- $call55 = (+_frexpl($y$addr$0,$e2));
- $mul = $call55 * 2.0;
- $tobool56 = $mul != 0.0;
- if ($tobool56) {
- $9 = HEAP32[$e2>>2]|0;
- $dec = (($9) + -1)|0;
- HEAP32[$e2>>2] = $dec;
+ $34 = (+_frexpl($$0471,$7));
+ $35 = $34 * 2.0;
+ $36 = $35 != 0.0;
+ if ($36) {
+ $37 = HEAP32[$7>>2]|0;
+ $38 = (($37) + -1)|0;
+ HEAP32[$7>>2] = $38;
}
- $or = $t | 32;
- $cmp59 = ($or|0)==(97);
- if ($cmp59) {
- $and62 = $t & 32;
- $tobool63 = ($and62|0)==(0);
- $add$ptr65 = ((($prefix$0)) + 9|0);
- $prefix$0$add$ptr65 = $tobool63 ? $prefix$0 : $add$ptr65;
- $add67 = $pl$0 | 2;
- $10 = ($p>>>0)>(11);
- $sub74 = (12 - ($p))|0;
- $tobool76490 = ($sub74|0)==(0);
- $tobool76 = $10 | $tobool76490;
+ $39 = $5 | 32;
+ $40 = ($39|0)==(97);
+ if ($40) {
+ $41 = $5 & 32;
+ $42 = ($41|0)==(0);
+ $43 = ((($$0521)) + 9|0);
+ $$0521$ = $42 ? $$0521 : $43;
+ $44 = $$0520 | 2;
+ $45 = ($3>>>0)>(11);
+ $46 = (12 - ($3))|0;
+ $47 = ($46|0)==(0);
+ $48 = $45 | $47;
do {
- if ($tobool76) {
- $y$addr$1 = $mul;
+ if ($48) {
+ $$1472 = $35;
} else {
- $re$1411 = $sub74;$round$0410 = 8.0;
+ $$0509585 = 8.0;$$1508586 = $46;
while(1) {
- $dec78 = (($re$1411) + -1)|0;
- $mul80 = $round$0410 * 16.0;
- $tobool79 = ($dec78|0)==(0);
- if ($tobool79) {
+ $49 = (($$1508586) + -1)|0;
+ $50 = $$0509585 * 16.0;
+ $51 = ($49|0)==(0);
+ if ($51) {
break;
} else {
- $re$1411 = $dec78;$round$0410 = $mul80;
+ $$0509585 = $50;$$1508586 = $49;
}
}
- $11 = HEAP8[$prefix$0$add$ptr65>>0]|0;
- $cmp82 = ($11<<24>>24)==(45);
- if ($cmp82) {
- $sub85 = - $mul;
- $sub86 = $sub85 - $mul80;
- $add87 = $mul80 + $sub86;
- $sub88 = - $add87;
- $y$addr$1 = $sub88;
+ $52 = HEAP8[$$0521$>>0]|0;
+ $53 = ($52<<24>>24)==(45);
+ if ($53) {
+ $54 = - $35;
+ $55 = $54 - $50;
+ $56 = $50 + $55;
+ $57 = - $56;
+ $$1472 = $57;
break;
} else {
- $add90 = $mul + $mul80;
- $sub91 = $add90 - $mul80;
- $y$addr$1 = $sub91;
+ $58 = $35 + $50;
+ $59 = $58 - $50;
+ $$1472 = $59;
break;
}
}
} while(0);
- $12 = HEAP32[$e2>>2]|0;
- $cmp94 = ($12|0)<(0);
- $sub97 = (0 - ($12))|0;
- $cond100 = $cmp94 ? $sub97 : $12;
- $13 = ($cond100|0)<(0);
- $14 = $13 << 31 >> 31;
- $15 = (_fmt_u($cond100,$14,$arrayidx)|0);
- $cmp103 = ($15|0)==($arrayidx|0);
- if ($cmp103) {
- $incdec$ptr106 = ((($ebuf0)) + 11|0);
- HEAP8[$incdec$ptr106>>0] = 48;
- $estr$0 = $incdec$ptr106;
+ $60 = HEAP32[$7>>2]|0;
+ $61 = ($60|0)<(0);
+ $62 = (0 - ($60))|0;
+ $63 = $61 ? $62 : $60;
+ $64 = ($63|0)<(0);
+ $65 = $64 << 31 >> 31;
+ $66 = (_fmt_u($63,$65,$11)|0);
+ $67 = ($66|0)==($11|0);
+ if ($67) {
+ $68 = ((($10)) + 11|0);
+ HEAP8[$68>>0] = 48;
+ $$0511 = $68;
} else {
- $estr$0 = $15;
+ $$0511 = $66;
}
- $16 = $12 >> 31;
- $17 = $16 & 2;
- $18 = (($17) + 43)|0;
- $conv111 = $18&255;
- $incdec$ptr112 = ((($estr$0)) + -1|0);
- HEAP8[$incdec$ptr112>>0] = $conv111;
- $add113 = (($t) + 15)|0;
- $conv114 = $add113&255;
- $incdec$ptr115 = ((($estr$0)) + -2|0);
- HEAP8[$incdec$ptr115>>0] = $conv114;
- $cmp131 = ($p|0)<(1);
- $and134 = $fl & 8;
- $tobool135 = ($and134|0)==(0);
- $s$0 = $buf;$y$addr$2 = $y$addr$1;
+ $69 = $60 >> 31;
+ $70 = $69 & 2;
+ $71 = (($70) + 43)|0;
+ $72 = $71&255;
+ $73 = ((($$0511)) + -1|0);
+ HEAP8[$73>>0] = $72;
+ $74 = (($5) + 15)|0;
+ $75 = $74&255;
+ $76 = ((($$0511)) + -2|0);
+ HEAP8[$76>>0] = $75;
+ $77 = ($3|0)<(1);
+ $78 = $4 & 8;
+ $79 = ($78|0)==(0);
+ $$0523 = $8;$$2473 = $$1472;
while(1) {
- $conv116 = (~~(($y$addr$2)));
- $arrayidx117 = (31460 + ($conv116)|0);
- $19 = HEAP8[$arrayidx117>>0]|0;
- $conv118393 = $19&255;
- $or120 = $and62 | $conv118393;
- $conv121 = $or120&255;
- $incdec$ptr122 = ((($s$0)) + 1|0);
- HEAP8[$s$0>>0] = $conv121;
- $conv123 = (+($conv116|0));
- $sub124 = $y$addr$2 - $conv123;
- $mul125 = $sub124 * 16.0;
- $sub$ptr$lhs$cast = $incdec$ptr122;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $cmp127 = ($sub$ptr$sub|0)==(1);
- if ($cmp127) {
- $tobool129 = $mul125 == 0.0;
- $or$cond1$not = $cmp131 & $tobool129;
- $or$cond = $tobool135 & $or$cond1$not;
+ $80 = (~~(($$2473)));
+ $81 = (33386 + ($80)|0);
+ $82 = HEAP8[$81>>0]|0;
+ $83 = $82&255;
+ $84 = $41 | $83;
+ $85 = $84&255;
+ $86 = ((($$0523)) + 1|0);
+ HEAP8[$$0523>>0] = $85;
+ $87 = (+($80|0));
+ $88 = $$2473 - $87;
+ $89 = $88 * 16.0;
+ $90 = $86;
+ $91 = (($90) - ($9))|0;
+ $92 = ($91|0)==(1);
+ if ($92) {
+ $93 = $89 == 0.0;
+ $or$cond3$not = $77 & $93;
+ $or$cond = $79 & $or$cond3$not;
if ($or$cond) {
- $s$1 = $incdec$ptr122;
+ $$1524 = $86;
} else {
- $incdec$ptr137 = ((($s$0)) + 2|0);
- HEAP8[$incdec$ptr122>>0] = 46;
- $s$1 = $incdec$ptr137;
+ $94 = ((($$0523)) + 2|0);
+ HEAP8[$86>>0] = 46;
+ $$1524 = $94;
}
} else {
- $s$1 = $incdec$ptr122;
+ $$1524 = $86;
}
- $tobool139 = $mul125 != 0.0;
- if ($tobool139) {
- $s$0 = $s$1;$y$addr$2 = $mul125;
+ $95 = $89 != 0.0;
+ if ($95) {
+ $$0523 = $$1524;$$2473 = $89;
} else {
break;
}
}
- $tobool140 = ($p|0)==(0);
- $$pre487 = $s$1;
- if ($tobool140) {
+ $96 = ($3|0)==(0);
+ $$pre693 = $$1524;
+ if ($96) {
label = 24;
} else {
- $sub$ptr$sub145 = (-2 - ($sub$ptr$rhs$cast))|0;
- $sub146 = (($sub$ptr$sub145) + ($$pre487))|0;
- $cmp147 = ($sub146|0)<($p|0);
- if ($cmp147) {
- $add150 = (($p) + 2)|0;
- $$pre486 = (($$pre487) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$sub159$sink = $add150;$sub$ptr$sub172$pre$phiZZZ2D = $$pre486;
+ $97 = (-2 - ($9))|0;
+ $98 = (($97) + ($$pre693))|0;
+ $99 = ($98|0)<($3|0);
+ if ($99) {
+ $100 = (($3) + 2)|0;
+ $$pre690 = (($$pre693) - ($9))|0;
+ $$pre$phi691Z2D = $$pre690;$$sink = $100;
} else {
label = 24;
}
}
if ((label|0) == 24) {
- $sub$ptr$sub159 = (($$pre487) - ($sub$ptr$rhs$cast))|0;
- $sub$ptr$sub159$sink = $sub$ptr$sub159;$sub$ptr$sub172$pre$phiZZZ2D = $sub$ptr$sub159;
+ $101 = (($$pre693) - ($9))|0;
+ $$pre$phi691Z2D = $101;$$sink = $101;
}
- $sub$ptr$lhs$cast160 = $arrayidx;
- $sub$ptr$rhs$cast161 = $incdec$ptr115;
- $sub$ptr$sub162 = (($sub$ptr$lhs$cast160) - ($sub$ptr$rhs$cast161))|0;
- $add163 = (($sub$ptr$sub162) + ($add67))|0;
- $add165 = (($add163) + ($sub$ptr$sub159$sink))|0;
- _pad_108($f,32,$w,$add165,$fl);
- _out_102($f,$prefix$0$add$ptr65,$add67);
- $xor167 = $fl ^ 65536;
- _pad_108($f,48,$w,$add165,$xor167);
- _out_102($f,$buf,$sub$ptr$sub172$pre$phiZZZ2D);
- $sub181 = (($sub$ptr$sub159$sink) - ($sub$ptr$sub172$pre$phiZZZ2D))|0;
- _pad_108($f,48,$sub181,0,0);
- _out_102($f,$incdec$ptr115,$sub$ptr$sub162);
- $xor186 = $fl ^ 8192;
- _pad_108($f,32,$w,$add165,$xor186);
- $add653$sink402 = $add165;
+ $102 = $11;
+ $103 = $76;
+ $104 = (($102) - ($103))|0;
+ $105 = (($104) + ($44))|0;
+ $106 = (($105) + ($$sink))|0;
+ _pad_810($0,32,$2,$106,$4);
+ _out_804($0,$$0521$,$44);
+ $107 = $4 ^ 65536;
+ _pad_810($0,48,$2,$106,$107);
+ _out_804($0,$8,$$pre$phi691Z2D);
+ $108 = (($$sink) - ($$pre$phi691Z2D))|0;
+ _pad_810($0,48,$108,0,0);
+ _out_804($0,$76,$104);
+ $109 = $4 ^ 8192;
+ _pad_810($0,32,$2,$106,$109);
+ $$sink560 = $106;
break;
}
- $cmp196 = ($p|0)<(0);
- $$p = $cmp196 ? 6 : $p;
- if ($tobool56) {
- $mul202 = $mul * 268435456.0;
- $20 = HEAP32[$e2>>2]|0;
- $sub203 = (($20) + -28)|0;
- HEAP32[$e2>>2] = $sub203;
- $$pr = $sub203;$y$addr$3 = $mul202;
+ $110 = ($3|0)<(0);
+ $$540 = $110 ? 6 : $3;
+ if ($36) {
+ $111 = $35 * 268435456.0;
+ $112 = HEAP32[$7>>2]|0;
+ $113 = (($112) + -28)|0;
+ HEAP32[$7>>2] = $113;
+ $$3 = $111;$$pr = $113;
} else {
- $$pre = HEAP32[$e2>>2]|0;
- $$pr = $$pre;$y$addr$3 = $mul;
+ $$pre = HEAP32[$7>>2]|0;
+ $$3 = $35;$$pr = $$pre;
}
- $cmp205 = ($$pr|0)<(0);
- $add$ptr213 = ((($big)) + 288|0);
- $arraydecay208$add$ptr213 = $cmp205 ? $big : $add$ptr213;
- $y$addr$4 = $y$addr$3;$z$0 = $arraydecay208$add$ptr213;
+ $114 = ($$pr|0)<(0);
+ $115 = ((($6)) + 288|0);
+ $$561 = $114 ? $6 : $115;
+ $$0498 = $$561;$$4 = $$3;
while(1) {
- $conv216 = (~~(($y$addr$4))>>>0);
- HEAP32[$z$0>>2] = $conv216;
- $incdec$ptr217 = ((($z$0)) + 4|0);
- $conv218 = (+($conv216>>>0));
- $sub219 = $y$addr$4 - $conv218;
- $mul220 = $sub219 * 1.0E+9;
- $tobool222 = $mul220 != 0.0;
- if ($tobool222) {
- $y$addr$4 = $mul220;$z$0 = $incdec$ptr217;
+ $116 = (~~(($$4))>>>0);
+ HEAP32[$$0498>>2] = $116;
+ $117 = ((($$0498)) + 4|0);
+ $118 = (+($116>>>0));
+ $119 = $$4 - $118;
+ $120 = $119 * 1.0E+9;
+ $121 = $120 != 0.0;
+ if ($121) {
+ $$0498 = $117;$$4 = $120;
} else {
break;
}
}
- $cmp225474 = ($$pr|0)>(0);
- if ($cmp225474) {
- $21 = $$pr;$a$1476 = $arraydecay208$add$ptr213;$z$1475 = $incdec$ptr217;
+ $122 = ($$pr|0)>(0);
+ if ($122) {
+ $$1482663 = $$561;$$1499662 = $117;$123 = $$pr;
while(1) {
- $22 = ($21|0)<(29);
- $cond233 = $22 ? $21 : 29;
- $d$0469 = ((($z$1475)) + -4|0);
- $cmp235470 = ($d$0469>>>0)<($a$1476>>>0);
- if ($cmp235470) {
- $a$2$ph = $a$1476;
+ $124 = ($123|0)<(29);
+ $125 = $124 ? $123 : 29;
+ $$0488655 = ((($$1499662)) + -4|0);
+ $126 = ($$0488655>>>0)<($$1482663>>>0);
+ if ($126) {
+ $$2483$ph = $$1482663;
} else {
- $carry$0471 = 0;$d$0472 = $d$0469;
+ $$0488657 = $$0488655;$$0497656 = 0;
while(1) {
- $23 = HEAP32[$d$0472>>2]|0;
- $24 = (_bitshift64Shl(($23|0),0,($cond233|0))|0);
- $25 = tempRet0;
- $26 = (_i64Add(($24|0),($25|0),($carry$0471|0),0)|0);
- $27 = tempRet0;
- $28 = (___uremdi3(($26|0),($27|0),1000000000,0)|0);
- $29 = tempRet0;
- HEAP32[$d$0472>>2] = $28;
- $30 = (___udivdi3(($26|0),($27|0),1000000000,0)|0);
- $31 = tempRet0;
- $d$0 = ((($d$0472)) + -4|0);
- $cmp235 = ($d$0>>>0)<($a$1476>>>0);
- if ($cmp235) {
+ $127 = HEAP32[$$0488657>>2]|0;
+ $128 = (_bitshift64Shl(($127|0),0,($125|0))|0);
+ $129 = tempRet0;
+ $130 = (_i64Add(($128|0),($129|0),($$0497656|0),0)|0);
+ $131 = tempRet0;
+ $132 = (___uremdi3(($130|0),($131|0),1000000000,0)|0);
+ $133 = tempRet0;
+ HEAP32[$$0488657>>2] = $132;
+ $134 = (___udivdi3(($130|0),($131|0),1000000000,0)|0);
+ $135 = tempRet0;
+ $$0488 = ((($$0488657)) + -4|0);
+ $136 = ($$0488>>>0)<($$1482663>>>0);
+ if ($136) {
break;
} else {
- $carry$0471 = $30;$d$0472 = $d$0;
+ $$0488657 = $$0488;$$0497656 = $134;
}
}
- $tobool244 = ($30|0)==(0);
- if ($tobool244) {
- $a$2$ph = $a$1476;
+ $137 = ($134|0)==(0);
+ if ($137) {
+ $$2483$ph = $$1482663;
} else {
- $incdec$ptr246 = ((($a$1476)) + -4|0);
- HEAP32[$incdec$ptr246>>2] = $30;
- $a$2$ph = $incdec$ptr246;
+ $138 = ((($$1482663)) + -4|0);
+ HEAP32[$138>>2] = $134;
+ $$2483$ph = $138;
}
}
- $z$2 = $z$1475;
+ $$2500 = $$1499662;
while(1) {
- $cmp249 = ($z$2>>>0)>($a$2$ph>>>0);
- if (!($cmp249)) {
+ $139 = ($$2500>>>0)>($$2483$ph>>>0);
+ if (!($139)) {
break;
}
- $arrayidx251 = ((($z$2)) + -4|0);
- $32 = HEAP32[$arrayidx251>>2]|0;
- $tobool252 = ($32|0)==(0);
- if ($tobool252) {
- $z$2 = $arrayidx251;
+ $140 = ((($$2500)) + -4|0);
+ $141 = HEAP32[$140>>2]|0;
+ $142 = ($141|0)==(0);
+ if ($142) {
+ $$2500 = $140;
} else {
break;
}
}
- $33 = HEAP32[$e2>>2]|0;
- $sub256 = (($33) - ($cond233))|0;
- HEAP32[$e2>>2] = $sub256;
- $cmp225 = ($sub256|0)>(0);
- if ($cmp225) {
- $21 = $sub256;$a$1476 = $a$2$ph;$z$1475 = $z$2;
+ $143 = HEAP32[$7>>2]|0;
+ $144 = (($143) - ($125))|0;
+ HEAP32[$7>>2] = $144;
+ $145 = ($144|0)>(0);
+ if ($145) {
+ $$1482663 = $$2483$ph;$$1499662 = $$2500;$123 = $144;
} else {
- $$pr406 = $sub256;$a$1$lcssa = $a$2$ph;$z$1$lcssa = $z$2;
+ $$1482$lcssa = $$2483$ph;$$1499$lcssa = $$2500;$$pr566 = $144;
break;
}
}
} else {
- $$pr406 = $$pr;$a$1$lcssa = $arraydecay208$add$ptr213;$z$1$lcssa = $incdec$ptr217;
+ $$1482$lcssa = $$561;$$1499$lcssa = $117;$$pr566 = $$pr;
}
- $cmp259464 = ($$pr406|0)<(0);
- if ($cmp259464) {
- $add273 = (($$p) + 25)|0;
- $div274 = (($add273|0) / 9)&-1;
- $add275 = (($div274) + 1)|0;
- $cmp299 = ($or|0)==(102);
- $34 = $$pr406;$a$3466 = $a$1$lcssa;$z$3465 = $z$1$lcssa;
+ $146 = ($$pr566|0)<(0);
+ if ($146) {
+ $147 = (($$540) + 25)|0;
+ $148 = (($147|0) / 9)&-1;
+ $149 = (($148) + 1)|0;
+ $150 = ($39|0)==(102);
+ $$3484650 = $$1482$lcssa;$$3501649 = $$1499$lcssa;$152 = $$pr566;
while(1) {
- $sub264 = (0 - ($34))|0;
- $35 = ($sub264|0)<(9);
- $cond271 = $35 ? $sub264 : 9;
- $cmp277460 = ($a$3466>>>0)<($z$3465>>>0);
- if ($cmp277460) {
- $shl280 = 1 << $cond271;
- $sub281 = (($shl280) + -1)|0;
- $shr285 = 1000000000 >>> $cond271;
- $carry262$0462 = 0;$d$1461 = $a$3466;
+ $151 = (0 - ($152))|0;
+ $153 = ($151|0)<(9);
+ $154 = $153 ? $151 : 9;
+ $155 = ($$3484650>>>0)<($$3501649>>>0);
+ if ($155) {
+ $159 = 1 << $154;
+ $160 = (($159) + -1)|0;
+ $161 = 1000000000 >>> $154;
+ $$0487644 = 0;$$1489643 = $$3484650;
while(1) {
- $37 = HEAP32[$d$1461>>2]|0;
- $and282 = $37 & $sub281;
- $shr283 = $37 >>> $cond271;
- $add284 = (($shr283) + ($carry262$0462))|0;
- HEAP32[$d$1461>>2] = $add284;
- $mul286 = Math_imul($and282, $shr285)|0;
- $incdec$ptr288 = ((($d$1461)) + 4|0);
- $cmp277 = ($incdec$ptr288>>>0)<($z$3465>>>0);
- if ($cmp277) {
- $carry262$0462 = $mul286;$d$1461 = $incdec$ptr288;
+ $162 = HEAP32[$$1489643>>2]|0;
+ $163 = $162 & $160;
+ $164 = $162 >>> $154;
+ $165 = (($164) + ($$0487644))|0;
+ HEAP32[$$1489643>>2] = $165;
+ $166 = Math_imul($163, $161)|0;
+ $167 = ((($$1489643)) + 4|0);
+ $168 = ($167>>>0)<($$3501649>>>0);
+ if ($168) {
+ $$0487644 = $166;$$1489643 = $167;
} else {
break;
}
}
- $38 = HEAP32[$a$3466>>2]|0;
- $tobool290 = ($38|0)==(0);
- $incdec$ptr292 = ((($a$3466)) + 4|0);
- $incdec$ptr292$a$3 = $tobool290 ? $incdec$ptr292 : $a$3466;
- $tobool294 = ($mul286|0)==(0);
- if ($tobool294) {
- $incdec$ptr292$a$3496 = $incdec$ptr292$a$3;$z$4 = $z$3465;
+ $169 = HEAP32[$$3484650>>2]|0;
+ $170 = ($169|0)==(0);
+ $171 = ((($$3484650)) + 4|0);
+ $$$3484 = $170 ? $171 : $$3484650;
+ $172 = ($166|0)==(0);
+ if ($172) {
+ $$$3484700 = $$$3484;$$4502 = $$3501649;
} else {
- $incdec$ptr296 = ((($z$3465)) + 4|0);
- HEAP32[$z$3465>>2] = $mul286;
- $incdec$ptr292$a$3496 = $incdec$ptr292$a$3;$z$4 = $incdec$ptr296;
+ $173 = ((($$3501649)) + 4|0);
+ HEAP32[$$3501649>>2] = $166;
+ $$$3484700 = $$$3484;$$4502 = $173;
}
} else {
- $36 = HEAP32[$a$3466>>2]|0;
- $tobool290492 = ($36|0)==(0);
- $incdec$ptr292493 = ((($a$3466)) + 4|0);
- $incdec$ptr292$a$3494 = $tobool290492 ? $incdec$ptr292493 : $a$3466;
- $incdec$ptr292$a$3496 = $incdec$ptr292$a$3494;$z$4 = $z$3465;
+ $156 = HEAP32[$$3484650>>2]|0;
+ $157 = ($156|0)==(0);
+ $158 = ((($$3484650)) + 4|0);
+ $$$3484699 = $157 ? $158 : $$3484650;
+ $$$3484700 = $$$3484699;$$4502 = $$3501649;
}
- $cond304 = $cmp299 ? $arraydecay208$add$ptr213 : $incdec$ptr292$a$3496;
- $sub$ptr$lhs$cast305 = $z$4;
- $sub$ptr$rhs$cast306 = $cond304;
- $sub$ptr$sub307 = (($sub$ptr$lhs$cast305) - ($sub$ptr$rhs$cast306))|0;
- $sub$ptr$div = $sub$ptr$sub307 >> 2;
- $cmp308 = ($sub$ptr$div|0)>($add275|0);
- $add$ptr311 = (($cond304) + ($add275<<2)|0);
- $add$ptr311$z$4 = $cmp308 ? $add$ptr311 : $z$4;
- $39 = HEAP32[$e2>>2]|0;
- $add313 = (($39) + ($cond271))|0;
- HEAP32[$e2>>2] = $add313;
- $cmp259 = ($add313|0)<(0);
- if ($cmp259) {
- $34 = $add313;$a$3466 = $incdec$ptr292$a$3496;$z$3465 = $add$ptr311$z$4;
+ $174 = $150 ? $$561 : $$$3484700;
+ $175 = $$4502;
+ $176 = $174;
+ $177 = (($175) - ($176))|0;
+ $178 = $177 >> 2;
+ $179 = ($178|0)>($149|0);
+ $180 = (($174) + ($149<<2)|0);
+ $$$4502 = $179 ? $180 : $$4502;
+ $181 = HEAP32[$7>>2]|0;
+ $182 = (($181) + ($154))|0;
+ HEAP32[$7>>2] = $182;
+ $183 = ($182|0)<(0);
+ if ($183) {
+ $$3484650 = $$$3484700;$$3501649 = $$$4502;$152 = $182;
} else {
- $a$3$lcssa = $incdec$ptr292$a$3496;$z$3$lcssa = $add$ptr311$z$4;
+ $$3484$lcssa = $$$3484700;$$3501$lcssa = $$$4502;
break;
}
}
} else {
- $a$3$lcssa = $a$1$lcssa;$z$3$lcssa = $z$1$lcssa;
+ $$3484$lcssa = $$1482$lcssa;$$3501$lcssa = $$1499$lcssa;
}
- $cmp315 = ($a$3$lcssa>>>0)<($z$3$lcssa>>>0);
- $sub$ptr$lhs$cast318 = $arraydecay208$add$ptr213;
- if ($cmp315) {
- $sub$ptr$rhs$cast319 = $a$3$lcssa;
- $sub$ptr$sub320 = (($sub$ptr$lhs$cast318) - ($sub$ptr$rhs$cast319))|0;
- $sub$ptr$div321 = $sub$ptr$sub320 >> 2;
- $mul322 = ($sub$ptr$div321*9)|0;
- $40 = HEAP32[$a$3$lcssa>>2]|0;
- $cmp324456 = ($40>>>0)<(10);
- if ($cmp324456) {
- $e$1 = $mul322;
+ $184 = ($$3484$lcssa>>>0)<($$3501$lcssa>>>0);
+ $185 = $$561;
+ if ($184) {
+ $186 = $$3484$lcssa;
+ $187 = (($185) - ($186))|0;
+ $188 = $187 >> 2;
+ $189 = ($188*9)|0;
+ $190 = HEAP32[$$3484$lcssa>>2]|0;
+ $191 = ($190>>>0)<(10);
+ if ($191) {
+ $$1515 = $189;
} else {
- $e$0458 = $mul322;$i$0457 = 10;
+ $$0514639 = $189;$$0530638 = 10;
while(1) {
- $mul328 = ($i$0457*10)|0;
- $inc = (($e$0458) + 1)|0;
- $cmp324 = ($40>>>0)<($mul328>>>0);
- if ($cmp324) {
- $e$1 = $inc;
+ $192 = ($$0530638*10)|0;
+ $193 = (($$0514639) + 1)|0;
+ $194 = ($190>>>0)<($192>>>0);
+ if ($194) {
+ $$1515 = $193;
break;
} else {
- $e$0458 = $inc;$i$0457 = $mul328;
+ $$0514639 = $193;$$0530638 = $192;
}
}
}
} else {
- $e$1 = 0;
+ $$1515 = 0;
}
- $cmp333 = ($or|0)!=(102);
- $mul335 = $cmp333 ? $e$1 : 0;
- $sub336 = (($$p) - ($mul335))|0;
- $cmp338 = ($or|0)==(103);
- $tobool341 = ($$p|0)!=(0);
- $41 = $tobool341 & $cmp338;
- $land$ext$neg = $41 << 31 >> 31;
- $sub343 = (($sub336) + ($land$ext$neg))|0;
- $sub$ptr$lhs$cast344 = $z$3$lcssa;
- $sub$ptr$sub346 = (($sub$ptr$lhs$cast344) - ($sub$ptr$lhs$cast318))|0;
- $sub$ptr$div347 = $sub$ptr$sub346 >> 2;
- $42 = ($sub$ptr$div347*9)|0;
- $mul349 = (($42) + -9)|0;
- $cmp350 = ($sub343|0)<($mul349|0);
- if ($cmp350) {
- $add$ptr354 = ((($arraydecay208$add$ptr213)) + 4|0);
- $add355 = (($sub343) + 9216)|0;
- $div356 = (($add355|0) / 9)&-1;
- $sub357 = (($div356) + -1024)|0;
- $add$ptr358 = (($add$ptr354) + ($sub357<<2)|0);
- $rem360 = (($add355|0) % 9)&-1;
- $cmp363452 = ($rem360|0)<(8);
- if ($cmp363452) {
- $i$1453 = 10;$j$0$in454 = $rem360;
+ $195 = ($39|0)!=(102);
+ $196 = $195 ? $$1515 : 0;
+ $197 = (($$540) - ($196))|0;
+ $198 = ($39|0)==(103);
+ $199 = ($$540|0)!=(0);
+ $200 = $199 & $198;
+ $$neg = $200 << 31 >> 31;
+ $201 = (($197) + ($$neg))|0;
+ $202 = $$3501$lcssa;
+ $203 = (($202) - ($185))|0;
+ $204 = $203 >> 2;
+ $205 = ($204*9)|0;
+ $206 = (($205) + -9)|0;
+ $207 = ($201|0)<($206|0);
+ if ($207) {
+ $208 = ((($$561)) + 4|0);
+ $209 = (($201) + 9216)|0;
+ $210 = (($209|0) / 9)&-1;
+ $211 = (($210) + -1024)|0;
+ $212 = (($208) + ($211<<2)|0);
+ $213 = (($209|0) % 9)&-1;
+ $214 = ($213|0)<(8);
+ if ($214) {
+ $$0527$in633 = $213;$$1531632 = 10;
while(1) {
- $j$0 = (($j$0$in454) + 1)|0;
- $mul367 = ($i$1453*10)|0;
- $cmp363 = ($j$0$in454|0)<(7);
- if ($cmp363) {
- $i$1453 = $mul367;$j$0$in454 = $j$0;
+ $$0527 = (($$0527$in633) + 1)|0;
+ $215 = ($$1531632*10)|0;
+ $216 = ($$0527$in633|0)<(7);
+ if ($216) {
+ $$0527$in633 = $$0527;$$1531632 = $215;
} else {
- $i$1$lcssa = $mul367;
+ $$1531$lcssa = $215;
break;
}
}
} else {
- $i$1$lcssa = 10;
+ $$1531$lcssa = 10;
}
- $43 = HEAP32[$add$ptr358>>2]|0;
- $rem370 = (($43>>>0) % ($i$1$lcssa>>>0))&-1;
- $tobool371 = ($rem370|0)==(0);
- $add$ptr373 = ((($add$ptr358)) + 4|0);
- $cmp374 = ($add$ptr373|0)==($z$3$lcssa|0);
- $or$cond395 = $cmp374 & $tobool371;
- if ($or$cond395) {
- $a$8 = $a$3$lcssa;$d$4 = $add$ptr358;$e$4 = $e$1;
+ $217 = HEAP32[$212>>2]|0;
+ $218 = (($217>>>0) % ($$1531$lcssa>>>0))&-1;
+ $219 = ($218|0)==(0);
+ $220 = ((($212)) + 4|0);
+ $221 = ($220|0)==($$3501$lcssa|0);
+ $or$cond542 = $221 & $219;
+ if ($or$cond542) {
+ $$4492 = $212;$$4518 = $$1515;$$8 = $$3484$lcssa;
} else {
- $div378 = (($43>>>0) / ($i$1$lcssa>>>0))&-1;
- $and379 = $div378 & 1;
- $tobool380 = ($and379|0)==(0);
- $$396 = $tobool380 ? 9007199254740992.0 : 9007199254740994.0;
- $div384 = (($i$1$lcssa|0) / 2)&-1;
- $cmp385 = ($rem370>>>0)<($div384>>>0);
- $cmp390 = ($rem370|0)==($div384|0);
- $or$cond397 = $cmp374 & $cmp390;
- $$405 = $or$cond397 ? 1.0 : 1.5;
- $$$405 = $cmp385 ? 0.5 : $$405;
- $tobool400 = ($pl$0|0)==(0);
- if ($tobool400) {
- $round377$1 = $$396;$small$1 = $$$405;
+ $222 = (($217>>>0) / ($$1531$lcssa>>>0))&-1;
+ $223 = $222 & 1;
+ $224 = ($223|0)==(0);
+ $$543 = $224 ? 9007199254740992.0 : 9007199254740994.0;
+ $225 = (($$1531$lcssa|0) / 2)&-1;
+ $226 = ($218>>>0)<($225>>>0);
+ $227 = ($218|0)==($225|0);
+ $or$cond545 = $221 & $227;
+ $$564 = $or$cond545 ? 1.0 : 1.5;
+ $$$564 = $226 ? 0.5 : $$564;
+ $228 = ($$0520|0)==(0);
+ if ($228) {
+ $$1467 = $$$564;$$1469 = $$543;
} else {
- $44 = HEAP8[$prefix$0>>0]|0;
- $cmp403 = ($44<<24>>24)==(45);
- $mul406 = - $$396;
- $mul407 = - $$$405;
- $mul406$$396 = $cmp403 ? $mul406 : $$396;
- $mul407$$$405 = $cmp403 ? $mul407 : $$$405;
- $round377$1 = $mul406$$396;$small$1 = $mul407$$$405;
+ $229 = HEAP8[$$0521>>0]|0;
+ $230 = ($229<<24>>24)==(45);
+ $231 = - $$543;
+ $232 = - $$$564;
+ $$$543 = $230 ? $231 : $$543;
+ $$$$564 = $230 ? $232 : $$$564;
+ $$1467 = $$$$564;$$1469 = $$$543;
}
- $sub409 = (($43) - ($rem370))|0;
- HEAP32[$add$ptr358>>2] = $sub409;
- $add410 = $round377$1 + $small$1;
- $cmp411 = $add410 != $round377$1;
- if ($cmp411) {
- $add414 = (($sub409) + ($i$1$lcssa))|0;
- HEAP32[$add$ptr358>>2] = $add414;
- $cmp416447 = ($add414>>>0)>(999999999);
- if ($cmp416447) {
- $a$5449 = $a$3$lcssa;$incdec$ptr419$sink448 = $add$ptr358;
+ $233 = (($217) - ($218))|0;
+ HEAP32[$212>>2] = $233;
+ $234 = $$1469 + $$1467;
+ $235 = $234 != $$1469;
+ if ($235) {
+ $236 = (($233) + ($$1531$lcssa))|0;
+ HEAP32[$212>>2] = $236;
+ $237 = ($236>>>0)>(999999999);
+ if ($237) {
+ $$5486626 = $$3484$lcssa;$$sink547625 = $212;
while(1) {
- $incdec$ptr419 = ((($incdec$ptr419$sink448)) + -4|0);
- HEAP32[$incdec$ptr419$sink448>>2] = 0;
- $cmp420 = ($incdec$ptr419>>>0)<($a$5449>>>0);
- if ($cmp420) {
- $incdec$ptr423 = ((($a$5449)) + -4|0);
- HEAP32[$incdec$ptr423>>2] = 0;
- $a$6 = $incdec$ptr423;
+ $238 = ((($$sink547625)) + -4|0);
+ HEAP32[$$sink547625>>2] = 0;
+ $239 = ($238>>>0)<($$5486626>>>0);
+ if ($239) {
+ $240 = ((($$5486626)) + -4|0);
+ HEAP32[$240>>2] = 0;
+ $$6 = $240;
} else {
- $a$6 = $a$5449;
+ $$6 = $$5486626;
}
- $45 = HEAP32[$incdec$ptr419>>2]|0;
- $inc425 = (($45) + 1)|0;
- HEAP32[$incdec$ptr419>>2] = $inc425;
- $cmp416 = ($inc425>>>0)>(999999999);
- if ($cmp416) {
- $a$5449 = $a$6;$incdec$ptr419$sink448 = $incdec$ptr419;
+ $241 = HEAP32[$238>>2]|0;
+ $242 = (($241) + 1)|0;
+ HEAP32[$238>>2] = $242;
+ $243 = ($242>>>0)>(999999999);
+ if ($243) {
+ $$5486626 = $$6;$$sink547625 = $238;
} else {
- $a$5$lcssa = $a$6;$incdec$ptr419$sink$lcssa = $incdec$ptr419;
+ $$5486$lcssa = $$6;$$sink547$lcssa = $238;
break;
}
}
} else {
- $a$5$lcssa = $a$3$lcssa;$incdec$ptr419$sink$lcssa = $add$ptr358;
+ $$5486$lcssa = $$3484$lcssa;$$sink547$lcssa = $212;
}
- $sub$ptr$rhs$cast428 = $a$5$lcssa;
- $sub$ptr$sub429 = (($sub$ptr$lhs$cast318) - ($sub$ptr$rhs$cast428))|0;
- $sub$ptr$div430 = $sub$ptr$sub429 >> 2;
- $mul431 = ($sub$ptr$div430*9)|0;
- $46 = HEAP32[$a$5$lcssa>>2]|0;
- $cmp433443 = ($46>>>0)<(10);
- if ($cmp433443) {
- $a$8 = $a$5$lcssa;$d$4 = $incdec$ptr419$sink$lcssa;$e$4 = $mul431;
+ $244 = $$5486$lcssa;
+ $245 = (($185) - ($244))|0;
+ $246 = $245 >> 2;
+ $247 = ($246*9)|0;
+ $248 = HEAP32[$$5486$lcssa>>2]|0;
+ $249 = ($248>>>0)<(10);
+ if ($249) {
+ $$4492 = $$sink547$lcssa;$$4518 = $247;$$8 = $$5486$lcssa;
} else {
- $e$2445 = $mul431;$i$2444 = 10;
+ $$2516621 = $247;$$2532620 = 10;
while(1) {
- $mul437 = ($i$2444*10)|0;
- $inc438 = (($e$2445) + 1)|0;
- $cmp433 = ($46>>>0)<($mul437>>>0);
- if ($cmp433) {
- $a$8 = $a$5$lcssa;$d$4 = $incdec$ptr419$sink$lcssa;$e$4 = $inc438;
+ $250 = ($$2532620*10)|0;
+ $251 = (($$2516621) + 1)|0;
+ $252 = ($248>>>0)<($250>>>0);
+ if ($252) {
+ $$4492 = $$sink547$lcssa;$$4518 = $251;$$8 = $$5486$lcssa;
break;
} else {
- $e$2445 = $inc438;$i$2444 = $mul437;
+ $$2516621 = $251;$$2532620 = $250;
}
}
}
} else {
- $a$8 = $a$3$lcssa;$d$4 = $add$ptr358;$e$4 = $e$1;
+ $$4492 = $212;$$4518 = $$1515;$$8 = $$3484$lcssa;
}
}
- $add$ptr442 = ((($d$4)) + 4|0);
- $cmp443 = ($z$3$lcssa>>>0)>($add$ptr442>>>0);
- $add$ptr442$z$3 = $cmp443 ? $add$ptr442 : $z$3$lcssa;
- $a$9$ph = $a$8;$e$5$ph = $e$4;$z$7$ph = $add$ptr442$z$3;
+ $253 = ((($$4492)) + 4|0);
+ $254 = ($$3501$lcssa>>>0)>($253>>>0);
+ $$$3501 = $254 ? $253 : $$3501$lcssa;
+ $$5519$ph = $$4518;$$7505$ph = $$$3501;$$9$ph = $$8;
} else {
- $a$9$ph = $a$3$lcssa;$e$5$ph = $e$1;$z$7$ph = $z$3$lcssa;
+ $$5519$ph = $$1515;$$7505$ph = $$3501$lcssa;$$9$ph = $$3484$lcssa;
}
- $z$7 = $z$7$ph;
+ $$7505 = $$7505$ph;
while(1) {
- $cmp450 = ($z$7>>>0)>($a$9$ph>>>0);
- if (!($cmp450)) {
- $cmp450$lcssa = 0;
+ $255 = ($$7505>>>0)>($$9$ph>>>0);
+ if (!($255)) {
+ $$lcssa675 = 0;
break;
}
- $arrayidx453 = ((($z$7)) + -4|0);
- $47 = HEAP32[$arrayidx453>>2]|0;
- $tobool454 = ($47|0)==(0);
- if ($tobool454) {
- $z$7 = $arrayidx453;
+ $256 = ((($$7505)) + -4|0);
+ $257 = HEAP32[$256>>2]|0;
+ $258 = ($257|0)==(0);
+ if ($258) {
+ $$7505 = $256;
} else {
- $cmp450$lcssa = 1;
+ $$lcssa675 = 1;
break;
}
}
- $sub626$le = (0 - ($e$5$ph))|0;
+ $259 = (0 - ($$5519$ph))|0;
do {
- if ($cmp338) {
- $not$tobool341 = $tobool341 ^ 1;
- $inc468 = $not$tobool341&1;
- $$p$inc468 = (($$p) + ($inc468))|0;
- $cmp470 = ($$p$inc468|0)>($e$5$ph|0);
- $cmp473 = ($e$5$ph|0)>(-5);
- $or$cond2 = $cmp470 & $cmp473;
- if ($or$cond2) {
- $dec476 = (($t) + -1)|0;
- $add477$neg = (($$p$inc468) + -1)|0;
- $sub478 = (($add477$neg) - ($e$5$ph))|0;
- $p$addr$2 = $sub478;$t$addr$0 = $dec476;
+ if ($198) {
+ $not$ = $199 ^ 1;
+ $260 = $not$&1;
+ $$540$ = (($$540) + ($260))|0;
+ $261 = ($$540$|0)>($$5519$ph|0);
+ $262 = ($$5519$ph|0)>(-5);
+ $or$cond6 = $261 & $262;
+ if ($or$cond6) {
+ $263 = (($5) + -1)|0;
+ $$neg568 = (($$540$) + -1)|0;
+ $264 = (($$neg568) - ($$5519$ph))|0;
+ $$0479 = $263;$$2476 = $264;
} else {
- $sub480 = (($t) + -2)|0;
- $dec481 = (($$p$inc468) + -1)|0;
- $p$addr$2 = $dec481;$t$addr$0 = $sub480;
+ $265 = (($5) + -2)|0;
+ $266 = (($$540$) + -1)|0;
+ $$0479 = $265;$$2476 = $266;
}
- $and483 = $fl & 8;
- $tobool484 = ($and483|0)==(0);
- if ($tobool484) {
- if ($cmp450$lcssa) {
- $arrayidx489 = ((($z$7)) + -4|0);
- $48 = HEAP32[$arrayidx489>>2]|0;
- $tobool490 = ($48|0)==(0);
- if ($tobool490) {
- $j$2 = 9;
+ $267 = $4 & 8;
+ $268 = ($267|0)==(0);
+ if ($268) {
+ if ($$lcssa675) {
+ $269 = ((($$7505)) + -4|0);
+ $270 = HEAP32[$269>>2]|0;
+ $271 = ($270|0)==(0);
+ if ($271) {
+ $$2529 = 9;
} else {
- $rem494438 = (($48>>>0) % 10)&-1;
- $cmp495439 = ($rem494438|0)==(0);
- if ($cmp495439) {
- $i$3440 = 10;$j$1441 = 0;
+ $272 = (($270>>>0) % 10)&-1;
+ $273 = ($272|0)==(0);
+ if ($273) {
+ $$1528617 = 0;$$3533616 = 10;
while(1) {
- $mul499 = ($i$3440*10)|0;
- $inc500 = (($j$1441) + 1)|0;
- $rem494 = (($48>>>0) % ($mul499>>>0))&-1;
- $cmp495 = ($rem494|0)==(0);
- if ($cmp495) {
- $i$3440 = $mul499;$j$1441 = $inc500;
+ $274 = ($$3533616*10)|0;
+ $275 = (($$1528617) + 1)|0;
+ $276 = (($270>>>0) % ($274>>>0))&-1;
+ $277 = ($276|0)==(0);
+ if ($277) {
+ $$1528617 = $275;$$3533616 = $274;
} else {
- $j$2 = $inc500;
+ $$2529 = $275;
break;
}
}
} else {
- $j$2 = 0;
+ $$2529 = 0;
}
}
} else {
- $j$2 = 9;
+ $$2529 = 9;
}
- $or504 = $t$addr$0 | 32;
- $cmp505 = ($or504|0)==(102);
- $sub$ptr$lhs$cast508 = $z$7;
- $sub$ptr$sub510 = (($sub$ptr$lhs$cast508) - ($sub$ptr$lhs$cast318))|0;
- $sub$ptr$div511 = $sub$ptr$sub510 >> 2;
- $49 = ($sub$ptr$div511*9)|0;
- $mul513 = (($49) + -9)|0;
- if ($cmp505) {
- $sub514 = (($mul513) - ($j$2))|0;
- $50 = ($sub514|0)>(0);
- $$sub514 = $50 ? $sub514 : 0;
- $cmp528 = ($p$addr$2|0)<($$sub514|0);
- $p$addr$2$$sub514398 = $cmp528 ? $p$addr$2 : $$sub514;
- $and610$pre$phiZ2D = 0;$p$addr$3 = $p$addr$2$$sub514398;$t$addr$1 = $t$addr$0;
+ $278 = $$0479 | 32;
+ $279 = ($278|0)==(102);
+ $280 = $$7505;
+ $281 = (($280) - ($185))|0;
+ $282 = $281 >> 2;
+ $283 = ($282*9)|0;
+ $284 = (($283) + -9)|0;
+ if ($279) {
+ $285 = (($284) - ($$2529))|0;
+ $286 = ($285|0)>(0);
+ $$548 = $286 ? $285 : 0;
+ $287 = ($$2476|0)<($$548|0);
+ $$2476$$549 = $287 ? $$2476 : $$548;
+ $$1480 = $$0479;$$3477 = $$2476$$549;$$pre$phi698Z2D = 0;
break;
} else {
- $add561 = (($mul513) + ($e$5$ph))|0;
- $sub562 = (($add561) - ($j$2))|0;
- $51 = ($sub562|0)>(0);
- $$sub562 = $51 ? $sub562 : 0;
- $cmp577 = ($p$addr$2|0)<($$sub562|0);
- $p$addr$2$$sub562399 = $cmp577 ? $p$addr$2 : $$sub562;
- $and610$pre$phiZ2D = 0;$p$addr$3 = $p$addr$2$$sub562399;$t$addr$1 = $t$addr$0;
+ $288 = (($284) + ($$5519$ph))|0;
+ $289 = (($288) - ($$2529))|0;
+ $290 = ($289|0)>(0);
+ $$550 = $290 ? $289 : 0;
+ $291 = ($$2476|0)<($$550|0);
+ $$2476$$551 = $291 ? $$2476 : $$550;
+ $$1480 = $$0479;$$3477 = $$2476$$551;$$pre$phi698Z2D = 0;
break;
}
} else {
- $and610$pre$phiZ2D = $and483;$p$addr$3 = $p$addr$2;$t$addr$1 = $t$addr$0;
+ $$1480 = $$0479;$$3477 = $$2476;$$pre$phi698Z2D = $267;
}
} else {
- $$pre489 = $fl & 8;
- $and610$pre$phiZ2D = $$pre489;$p$addr$3 = $$p;$t$addr$1 = $t;
+ $$pre697 = $4 & 8;
+ $$1480 = $5;$$3477 = $$540;$$pre$phi698Z2D = $$pre697;
}
} while(0);
- $52 = $p$addr$3 | $and610$pre$phiZ2D;
- $53 = ($52|0)!=(0);
- $lor$ext = $53&1;
- $or613 = $t$addr$1 | 32;
- $cmp614 = ($or613|0)==(102);
- if ($cmp614) {
- $cmp617 = ($e$5$ph|0)>(0);
- $add620 = $cmp617 ? $e$5$ph : 0;
- $estr$2 = 0;$sub$ptr$sub650$pn = $add620;
+ $292 = $$3477 | $$pre$phi698Z2D;
+ $293 = ($292|0)!=(0);
+ $294 = $293&1;
+ $295 = $$1480 | 32;
+ $296 = ($295|0)==(102);
+ if ($296) {
+ $297 = ($$5519$ph|0)>(0);
+ $298 = $297 ? $$5519$ph : 0;
+ $$2513 = 0;$$pn = $298;
} else {
- $cmp623 = ($e$5$ph|0)<(0);
- $cond629 = $cmp623 ? $sub626$le : $e$5$ph;
- $54 = ($cond629|0)<(0);
- $55 = $54 << 31 >> 31;
- $56 = (_fmt_u($cond629,$55,$arrayidx)|0);
- $sub$ptr$lhs$cast633 = $arrayidx;
- $sub$ptr$rhs$cast634432 = $56;
- $sub$ptr$sub635433 = (($sub$ptr$lhs$cast633) - ($sub$ptr$rhs$cast634432))|0;
- $cmp636434 = ($sub$ptr$sub635433|0)<(2);
- if ($cmp636434) {
- $estr$1435 = $56;
+ $299 = ($$5519$ph|0)<(0);
+ $300 = $299 ? $259 : $$5519$ph;
+ $301 = ($300|0)<(0);
+ $302 = $301 << 31 >> 31;
+ $303 = (_fmt_u($300,$302,$11)|0);
+ $304 = $11;
+ $305 = $303;
+ $306 = (($304) - ($305))|0;
+ $307 = ($306|0)<(2);
+ if ($307) {
+ $$1512610 = $303;
while(1) {
- $incdec$ptr639 = ((($estr$1435)) + -1|0);
- HEAP8[$incdec$ptr639>>0] = 48;
- $sub$ptr$rhs$cast634 = $incdec$ptr639;
- $sub$ptr$sub635 = (($sub$ptr$lhs$cast633) - ($sub$ptr$rhs$cast634))|0;
- $cmp636 = ($sub$ptr$sub635|0)<(2);
- if ($cmp636) {
- $estr$1435 = $incdec$ptr639;
+ $308 = ((($$1512610)) + -1|0);
+ HEAP8[$308>>0] = 48;
+ $309 = $308;
+ $310 = (($304) - ($309))|0;
+ $311 = ($310|0)<(2);
+ if ($311) {
+ $$1512610 = $308;
} else {
- $estr$1$lcssa = $incdec$ptr639;
+ $$1512$lcssa = $308;
break;
}
}
} else {
- $estr$1$lcssa = $56;
+ $$1512$lcssa = $303;
}
- $57 = $e$5$ph >> 31;
- $58 = $57 & 2;
- $59 = (($58) + 43)|0;
- $conv644 = $59&255;
- $incdec$ptr645 = ((($estr$1$lcssa)) + -1|0);
- HEAP8[$incdec$ptr645>>0] = $conv644;
- $conv646 = $t$addr$1&255;
- $incdec$ptr647 = ((($estr$1$lcssa)) + -2|0);
- HEAP8[$incdec$ptr647>>0] = $conv646;
- $sub$ptr$rhs$cast649 = $incdec$ptr647;
- $sub$ptr$sub650 = (($sub$ptr$lhs$cast633) - ($sub$ptr$rhs$cast649))|0;
- $estr$2 = $incdec$ptr647;$sub$ptr$sub650$pn = $sub$ptr$sub650;
+ $312 = $$5519$ph >> 31;
+ $313 = $312 & 2;
+ $314 = (($313) + 43)|0;
+ $315 = $314&255;
+ $316 = ((($$1512$lcssa)) + -1|0);
+ HEAP8[$316>>0] = $315;
+ $317 = $$1480&255;
+ $318 = ((($$1512$lcssa)) + -2|0);
+ HEAP8[$318>>0] = $317;
+ $319 = $318;
+ $320 = (($304) - ($319))|0;
+ $$2513 = $318;$$pn = $320;
}
- $add608 = (($pl$0) + 1)|0;
- $add612 = (($add608) + ($p$addr$3))|0;
- $l$1 = (($add612) + ($lor$ext))|0;
- $add653 = (($l$1) + ($sub$ptr$sub650$pn))|0;
- _pad_108($f,32,$w,$add653,$fl);
- _out_102($f,$prefix$0,$pl$0);
- $xor655 = $fl ^ 65536;
- _pad_108($f,48,$w,$add653,$xor655);
- if ($cmp614) {
- $cmp660 = ($a$9$ph>>>0)>($arraydecay208$add$ptr213>>>0);
- $r$0$a$9 = $cmp660 ? $arraydecay208$add$ptr213 : $a$9$ph;
- $add$ptr671 = ((($buf)) + 9|0);
- $sub$ptr$lhs$cast694 = $add$ptr671;
- $incdec$ptr689 = ((($buf)) + 8|0);
- $d$5423 = $r$0$a$9;
+ $321 = (($$0520) + 1)|0;
+ $322 = (($321) + ($$3477))|0;
+ $$1526 = (($322) + ($294))|0;
+ $323 = (($$1526) + ($$pn))|0;
+ _pad_810($0,32,$2,$323,$4);
+ _out_804($0,$$0521,$$0520);
+ $324 = $4 ^ 65536;
+ _pad_810($0,48,$2,$323,$324);
+ if ($296) {
+ $325 = ($$9$ph>>>0)>($$561>>>0);
+ $$0496$$9 = $325 ? $$561 : $$9$ph;
+ $326 = ((($8)) + 9|0);
+ $327 = $326;
+ $328 = ((($8)) + 8|0);
+ $$5493600 = $$0496$$9;
while(1) {
- $60 = HEAP32[$d$5423>>2]|0;
- $61 = (_fmt_u($60,0,$add$ptr671)|0);
- $cmp673 = ($d$5423|0)==($r$0$a$9|0);
- if ($cmp673) {
- $cmp686 = ($61|0)==($add$ptr671|0);
- if ($cmp686) {
- HEAP8[$incdec$ptr689>>0] = 48;
- $s668$1 = $incdec$ptr689;
+ $329 = HEAP32[$$5493600>>2]|0;
+ $330 = (_fmt_u($329,0,$326)|0);
+ $331 = ($$5493600|0)==($$0496$$9|0);
+ if ($331) {
+ $337 = ($330|0)==($326|0);
+ if ($337) {
+ HEAP8[$328>>0] = 48;
+ $$1465 = $328;
} else {
- $s668$1 = $61;
+ $$1465 = $330;
}
} else {
- $cmp678420 = ($61>>>0)>($buf>>>0);
- if ($cmp678420) {
- $62 = $61;
- $63 = (($62) - ($sub$ptr$rhs$cast))|0;
- _memset(($buf|0),48,($63|0))|0;
- $s668$0421 = $61;
+ $332 = ($330>>>0)>($8>>>0);
+ if ($332) {
+ $333 = $330;
+ $334 = (($333) - ($9))|0;
+ _memset(($8|0),48,($334|0))|0;
+ $$0464597 = $330;
while(1) {
- $incdec$ptr681 = ((($s668$0421)) + -1|0);
- $cmp678 = ($incdec$ptr681>>>0)>($buf>>>0);
- if ($cmp678) {
- $s668$0421 = $incdec$ptr681;
+ $335 = ((($$0464597)) + -1|0);
+ $336 = ($335>>>0)>($8>>>0);
+ if ($336) {
+ $$0464597 = $335;
} else {
- $s668$1 = $incdec$ptr681;
+ $$1465 = $335;
break;
}
}
} else {
- $s668$1 = $61;
+ $$1465 = $330;
}
}
- $sub$ptr$rhs$cast695 = $s668$1;
- $sub$ptr$sub696 = (($sub$ptr$lhs$cast694) - ($sub$ptr$rhs$cast695))|0;
- _out_102($f,$s668$1,$sub$ptr$sub696);
- $incdec$ptr698 = ((($d$5423)) + 4|0);
- $cmp665 = ($incdec$ptr698>>>0)>($arraydecay208$add$ptr213>>>0);
- if ($cmp665) {
+ $338 = $$1465;
+ $339 = (($327) - ($338))|0;
+ _out_804($0,$$1465,$339);
+ $340 = ((($$5493600)) + 4|0);
+ $341 = ($340>>>0)>($$561>>>0);
+ if ($341) {
break;
} else {
- $d$5423 = $incdec$ptr698;
+ $$5493600 = $340;
}
}
- $64 = ($52|0)==(0);
- if (!($64)) {
- _out_102($f,31476,1);
+ $342 = ($292|0)==(0);
+ if (!($342)) {
+ _out_804($0,33402,1);
}
- $cmp707415 = ($incdec$ptr698>>>0)<($z$7>>>0);
- $cmp710416 = ($p$addr$3|0)>(0);
- $65 = $cmp707415 & $cmp710416;
- if ($65) {
- $d$6417 = $incdec$ptr698;$p$addr$4418 = $p$addr$3;
+ $343 = ($340>>>0)<($$7505>>>0);
+ $344 = ($$3477|0)>(0);
+ $345 = $343 & $344;
+ if ($345) {
+ $$4478593 = $$3477;$$6494592 = $340;
while(1) {
- $66 = HEAP32[$d$6417>>2]|0;
- $67 = (_fmt_u($66,0,$add$ptr671)|0);
- $cmp722412 = ($67>>>0)>($buf>>>0);
- if ($cmp722412) {
- $68 = $67;
- $69 = (($68) - ($sub$ptr$rhs$cast))|0;
- _memset(($buf|0),48,($69|0))|0;
- $s715$0413 = $67;
+ $346 = HEAP32[$$6494592>>2]|0;
+ $347 = (_fmt_u($346,0,$326)|0);
+ $348 = ($347>>>0)>($8>>>0);
+ if ($348) {
+ $349 = $347;
+ $350 = (($349) - ($9))|0;
+ _memset(($8|0),48,($350|0))|0;
+ $$0463587 = $347;
while(1) {
- $incdec$ptr725 = ((($s715$0413)) + -1|0);
- $cmp722 = ($incdec$ptr725>>>0)>($buf>>>0);
- if ($cmp722) {
- $s715$0413 = $incdec$ptr725;
+ $351 = ((($$0463587)) + -1|0);
+ $352 = ($351>>>0)>($8>>>0);
+ if ($352) {
+ $$0463587 = $351;
} else {
- $s715$0$lcssa = $incdec$ptr725;
+ $$0463$lcssa = $351;
break;
}
}
} else {
- $s715$0$lcssa = $67;
+ $$0463$lcssa = $347;
}
- $70 = ($p$addr$4418|0)<(9);
- $cond732 = $70 ? $p$addr$4418 : 9;
- _out_102($f,$s715$0$lcssa,$cond732);
- $incdec$ptr734 = ((($d$6417)) + 4|0);
- $sub735 = (($p$addr$4418) + -9)|0;
- $cmp707 = ($incdec$ptr734>>>0)<($z$7>>>0);
- $cmp710 = ($p$addr$4418|0)>(9);
- $71 = $cmp707 & $cmp710;
- if ($71) {
- $d$6417 = $incdec$ptr734;$p$addr$4418 = $sub735;
+ $353 = ($$4478593|0)<(9);
+ $354 = $353 ? $$4478593 : 9;
+ _out_804($0,$$0463$lcssa,$354);
+ $355 = ((($$6494592)) + 4|0);
+ $356 = (($$4478593) + -9)|0;
+ $357 = ($355>>>0)<($$7505>>>0);
+ $358 = ($$4478593|0)>(9);
+ $359 = $357 & $358;
+ if ($359) {
+ $$4478593 = $356;$$6494592 = $355;
} else {
- $p$addr$4$lcssa = $sub735;
+ $$4478$lcssa = $356;
break;
}
}
} else {
- $p$addr$4$lcssa = $p$addr$3;
+ $$4478$lcssa = $$3477;
}
- $add737 = (($p$addr$4$lcssa) + 9)|0;
- _pad_108($f,48,$add737,9,0);
+ $360 = (($$4478$lcssa) + 9)|0;
+ _pad_810($0,48,$360,9,0);
} else {
- $add$ptr742 = ((($a$9$ph)) + 4|0);
- $z$7$add$ptr742 = $cmp450$lcssa ? $z$7 : $add$ptr742;
- $cmp748428 = ($p$addr$3|0)>(-1);
- if ($cmp748428) {
- $add$ptr756 = ((($buf)) + 9|0);
- $tobool781 = ($and610$pre$phiZ2D|0)==(0);
- $sub$ptr$lhs$cast787 = $add$ptr756;
- $72 = (0 - ($sub$ptr$rhs$cast))|0;
- $incdec$ptr763 = ((($buf)) + 8|0);
- $d$7429 = $a$9$ph;$p$addr$5430 = $p$addr$3;
+ $361 = ((($$9$ph)) + 4|0);
+ $$7505$ = $$lcssa675 ? $$7505 : $361;
+ $362 = ($$3477|0)>(-1);
+ if ($362) {
+ $363 = ((($8)) + 9|0);
+ $364 = ($$pre$phi698Z2D|0)==(0);
+ $365 = $363;
+ $366 = (0 - ($9))|0;
+ $367 = ((($8)) + 8|0);
+ $$5605 = $$3477;$$7495604 = $$9$ph;
while(1) {
- $73 = HEAP32[$d$7429>>2]|0;
- $74 = (_fmt_u($73,0,$add$ptr756)|0);
- $cmp760 = ($74|0)==($add$ptr756|0);
- if ($cmp760) {
- HEAP8[$incdec$ptr763>>0] = 48;
- $s753$0 = $incdec$ptr763;
+ $368 = HEAP32[$$7495604>>2]|0;
+ $369 = (_fmt_u($368,0,$363)|0);
+ $370 = ($369|0)==($363|0);
+ if ($370) {
+ HEAP8[$367>>0] = 48;
+ $$0 = $367;
} else {
- $s753$0 = $74;
+ $$0 = $369;
}
- $cmp765 = ($d$7429|0)==($a$9$ph|0);
+ $371 = ($$7495604|0)==($$9$ph|0);
do {
- if ($cmp765) {
- $incdec$ptr776 = ((($s753$0)) + 1|0);
- _out_102($f,$s753$0,1);
- $cmp777 = ($p$addr$5430|0)<(1);
- $or$cond401 = $tobool781 & $cmp777;
- if ($or$cond401) {
- $s753$2 = $incdec$ptr776;
+ if ($371) {
+ $375 = ((($$0)) + 1|0);
+ _out_804($0,$$0,1);
+ $376 = ($$5605|0)<(1);
+ $or$cond556 = $364 & $376;
+ if ($or$cond556) {
+ $$2 = $375;
break;
}
- _out_102($f,31476,1);
- $s753$2 = $incdec$ptr776;
+ _out_804($0,33402,1);
+ $$2 = $375;
} else {
- $cmp770424 = ($s753$0>>>0)>($buf>>>0);
- if (!($cmp770424)) {
- $s753$2 = $s753$0;
+ $372 = ($$0>>>0)>($8>>>0);
+ if (!($372)) {
+ $$2 = $$0;
break;
}
- $scevgep483 = (($s753$0) + ($72)|0);
- $scevgep483484 = $scevgep483;
- _memset(($buf|0),48,($scevgep483484|0))|0;
- $s753$1425 = $s753$0;
+ $scevgep686 = (($$0) + ($366)|0);
+ $scevgep686687 = $scevgep686;
+ _memset(($8|0),48,($scevgep686687|0))|0;
+ $$1601 = $$0;
while(1) {
- $incdec$ptr773 = ((($s753$1425)) + -1|0);
- $cmp770 = ($incdec$ptr773>>>0)>($buf>>>0);
- if ($cmp770) {
- $s753$1425 = $incdec$ptr773;
+ $373 = ((($$1601)) + -1|0);
+ $374 = ($373>>>0)>($8>>>0);
+ if ($374) {
+ $$1601 = $373;
} else {
- $s753$2 = $incdec$ptr773;
+ $$2 = $373;
break;
}
}
}
} while(0);
- $sub$ptr$rhs$cast788 = $s753$2;
- $sub$ptr$sub789 = (($sub$ptr$lhs$cast787) - ($sub$ptr$rhs$cast788))|0;
- $cmp790 = ($p$addr$5430|0)>($sub$ptr$sub789|0);
- $cond800 = $cmp790 ? $sub$ptr$sub789 : $p$addr$5430;
- _out_102($f,$s753$2,$cond800);
- $sub806 = (($p$addr$5430) - ($sub$ptr$sub789))|0;
- $incdec$ptr808 = ((($d$7429)) + 4|0);
- $cmp745 = ($incdec$ptr808>>>0)<($z$7$add$ptr742>>>0);
- $cmp748 = ($sub806|0)>(-1);
- $75 = $cmp745 & $cmp748;
- if ($75) {
- $d$7429 = $incdec$ptr808;$p$addr$5430 = $sub806;
+ $377 = $$2;
+ $378 = (($365) - ($377))|0;
+ $379 = ($$5605|0)>($378|0);
+ $380 = $379 ? $378 : $$5605;
+ _out_804($0,$$2,$380);
+ $381 = (($$5605) - ($378))|0;
+ $382 = ((($$7495604)) + 4|0);
+ $383 = ($382>>>0)<($$7505$>>>0);
+ $384 = ($381|0)>(-1);
+ $385 = $383 & $384;
+ if ($385) {
+ $$5605 = $381;$$7495604 = $382;
} else {
- $p$addr$5$lcssa = $sub806;
+ $$5$lcssa = $381;
break;
}
}
} else {
- $p$addr$5$lcssa = $p$addr$3;
+ $$5$lcssa = $$3477;
}
- $add810 = (($p$addr$5$lcssa) + 18)|0;
- _pad_108($f,48,$add810,18,0);
- $sub$ptr$lhs$cast811 = $arrayidx;
- $sub$ptr$rhs$cast812 = $estr$2;
- $sub$ptr$sub813 = (($sub$ptr$lhs$cast811) - ($sub$ptr$rhs$cast812))|0;
- _out_102($f,$estr$2,$sub$ptr$sub813);
+ $386 = (($$5$lcssa) + 18)|0;
+ _pad_810($0,48,$386,18,0);
+ $387 = $11;
+ $388 = $$2513;
+ $389 = (($387) - ($388))|0;
+ _out_804($0,$$2513,$389);
}
- $xor816 = $fl ^ 8192;
- _pad_108($f,32,$w,$add653,$xor816);
- $add653$sink402 = $add653;
+ $390 = $4 ^ 8192;
+ _pad_810($0,32,$2,$323,$390);
+ $$sink560 = $323;
}
} while(0);
- $cmp818 = ($add653$sink402|0)<($w|0);
- $w$add653 = $cmp818 ? $w : $add653$sink402;
- STACKTOP = sp;return ($w$add653|0);
+ $391 = ($$sink560|0)<($2|0);
+ $$557 = $391 ? $2 : $$sink560;
+ STACKTOP = sp;return ($$557|0);
}
-function ___DOUBLE_BITS($__f) {
- $__f = +$__f;
- var $0 = 0, $1 = 0, label = 0, sp = 0;
+function ___DOUBLE_BITS_811($0) {
+ $0 = +$0;
+ var $1 = 0, $2 = 0, label = 0, sp = 0;
sp = STACKTOP;
- HEAPF64[tempDoublePtr>>3] = $__f;$0 = HEAP32[tempDoublePtr>>2]|0;
- $1 = HEAP32[tempDoublePtr+4>>2]|0;
- tempRet0 = ($1);
+ HEAPF64[tempDoublePtr>>3] = $0;$1 = HEAP32[tempDoublePtr>>2]|0;
+ $2 = HEAP32[tempDoublePtr+4>>2]|0;
+ tempRet0 = ($2);
+ return ($1|0);
+}
+function _wcrtomb($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0;
+ var $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0;
+ var $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $3 = ($0|0)==(0|0);
+ do {
+ if ($3) {
+ $$0 = 1;
+ } else {
+ $4 = ($1>>>0)<(128);
+ if ($4) {
+ $5 = $1&255;
+ HEAP8[$0>>0] = $5;
+ $$0 = 1;
+ break;
+ }
+ $6 = (___pthread_self_618()|0);
+ $7 = ((($6)) + 188|0);
+ $8 = HEAP32[$7>>2]|0;
+ $9 = HEAP32[$8>>2]|0;
+ $10 = ($9|0)==(0|0);
+ if ($10) {
+ $11 = $1 & -128;
+ $12 = ($11|0)==(57216);
+ if ($12) {
+ $14 = $1&255;
+ HEAP8[$0>>0] = $14;
+ $$0 = 1;
+ break;
+ } else {
+ $13 = (___errno_location()|0);
+ HEAP32[$13>>2] = 84;
+ $$0 = -1;
+ break;
+ }
+ }
+ $15 = ($1>>>0)<(2048);
+ if ($15) {
+ $16 = $1 >>> 6;
+ $17 = $16 | 192;
+ $18 = $17&255;
+ $19 = ((($0)) + 1|0);
+ HEAP8[$0>>0] = $18;
+ $20 = $1 & 63;
+ $21 = $20 | 128;
+ $22 = $21&255;
+ HEAP8[$19>>0] = $22;
+ $$0 = 2;
+ break;
+ }
+ $23 = ($1>>>0)<(55296);
+ $24 = $1 & -8192;
+ $25 = ($24|0)==(57344);
+ $or$cond = $23 | $25;
+ if ($or$cond) {
+ $26 = $1 >>> 12;
+ $27 = $26 | 224;
+ $28 = $27&255;
+ $29 = ((($0)) + 1|0);
+ HEAP8[$0>>0] = $28;
+ $30 = $1 >>> 6;
+ $31 = $30 & 63;
+ $32 = $31 | 128;
+ $33 = $32&255;
+ $34 = ((($0)) + 2|0);
+ HEAP8[$29>>0] = $33;
+ $35 = $1 & 63;
+ $36 = $35 | 128;
+ $37 = $36&255;
+ HEAP8[$34>>0] = $37;
+ $$0 = 3;
+ break;
+ }
+ $38 = (($1) + -65536)|0;
+ $39 = ($38>>>0)<(1048576);
+ if ($39) {
+ $40 = $1 >>> 18;
+ $41 = $40 | 240;
+ $42 = $41&255;
+ $43 = ((($0)) + 1|0);
+ HEAP8[$0>>0] = $42;
+ $44 = $1 >>> 12;
+ $45 = $44 & 63;
+ $46 = $45 | 128;
+ $47 = $46&255;
+ $48 = ((($0)) + 2|0);
+ HEAP8[$43>>0] = $47;
+ $49 = $1 >>> 6;
+ $50 = $49 & 63;
+ $51 = $50 | 128;
+ $52 = $51&255;
+ $53 = ((($0)) + 3|0);
+ HEAP8[$48>>0] = $52;
+ $54 = $1 & 63;
+ $55 = $54 | 128;
+ $56 = $55&255;
+ HEAP8[$53>>0] = $56;
+ $$0 = 4;
+ break;
+ } else {
+ $57 = (___errno_location()|0);
+ HEAP32[$57>>2] = 84;
+ $$0 = -1;
+ break;
+ }
+ }
+ } while(0);
+ return ($$0|0);
+}
+function ___pthread_self_618() {
+ var $0 = 0, label = 0, sp = 0;
+ sp = STACKTOP;
+ $0 = (_pthread_self()|0);
return ($0|0);
}
-function _frexpl($x,$e) {
- $x = +$x;
- $e = $e|0;
- var $call = 0.0, label = 0, sp = 0;
- sp = STACKTOP;
- $call = (+_frexp($x,$e));
- return (+$call);
-}
-function _frexp($x,$e) {
- $x = +$x;
- $e = $e|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0.0, $call = 0.0, $conv = 0, $mul = 0.0, $retval$0 = 0.0, $storemerge = 0, $sub = 0, $sub8 = 0, $tobool1 = 0, $trunc$clear = 0, $x$addr$0 = 0.0, label = 0;
- var sp = 0;
- sp = STACKTOP;
- HEAPF64[tempDoublePtr>>3] = $x;$0 = HEAP32[tempDoublePtr>>2]|0;
- $1 = HEAP32[tempDoublePtr+4>>2]|0;
- $2 = (_bitshift64Lshr(($0|0),($1|0),52)|0);
- $3 = tempRet0;
- $4 = $2&65535;
- $trunc$clear = $4 & 2047;
- switch ($trunc$clear<<16>>16) {
- case 0: {
- $tobool1 = $x != 0.0;
- if ($tobool1) {
- $mul = $x * 1.8446744073709552E+19;
- $call = (+_frexp($mul,$e));
- $5 = HEAP32[$e>>2]|0;
- $sub = (($5) + -64)|0;
- $storemerge = $sub;$x$addr$0 = $call;
- } else {
- $storemerge = 0;$x$addr$0 = $x;
- }
- HEAP32[$e>>2] = $storemerge;
- $retval$0 = $x$addr$0;
- break;
- }
- case 2047: {
- $retval$0 = $x;
- break;
- }
- default: {
- $conv = $2 & 2047;
- $sub8 = (($conv) + -1022)|0;
- HEAP32[$e>>2] = $sub8;
- $6 = $1 & -2146435073;
- $7 = $6 | 1071644672;
- HEAP32[tempDoublePtr>>2] = $0;HEAP32[tempDoublePtr+4>>2] = $7;$8 = +HEAPF64[tempDoublePtr>>3];
- $retval$0 = $8;
- }
- }
- return (+$retval$0);
-}
-function _wcrtomb($s,$wc,$st) {
- $s = $s|0;
- $wc = $wc|0;
- $st = $st|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $and = 0, $and32 = 0, $and36 = 0, $and49 = 0, $and54 = 0, $and58 = 0, $call = 0, $call10 = 0, $call66 = 0, $cmp = 0;
- var $cmp14 = 0, $cmp21 = 0, $cmp24 = 0, $cmp41 = 0, $cmp7 = 0, $conv = 0, $conv12 = 0, $conv17 = 0, $conv19 = 0, $conv29 = 0, $conv34 = 0, $conv38 = 0, $conv46 = 0, $conv51 = 0, $conv56 = 0, $conv60 = 0, $incdec$ptr = 0, $incdec$ptr30 = 0, $incdec$ptr35 = 0, $incdec$ptr47 = 0;
- var $incdec$ptr52 = 0, $incdec$ptr57 = 0, $locale = 0, $or = 0, $or$cond = 0, $or18 = 0, $or28 = 0, $or33 = 0, $or37 = 0, $or45 = 0, $or50 = 0, $or55 = 0, $or59 = 0, $retval$0 = 0, $sub40 = 0, $tobool = 0, $tobool2 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $tobool = ($s|0)==(0|0);
- do {
- if ($tobool) {
- $retval$0 = 1;
- } else {
- $cmp = ($wc>>>0)<(128);
- if ($cmp) {
- $conv = $wc&255;
- HEAP8[$s>>0] = $conv;
- $retval$0 = 1;
- break;
- }
- $call = (___pthread_self_581()|0);
- $locale = ((($call)) + 188|0);
- $0 = HEAP32[$locale>>2]|0;
- $1 = HEAP32[$0>>2]|0;
- $tobool2 = ($1|0)==(0|0);
- if ($tobool2) {
- $2 = $wc & -128;
- $cmp7 = ($2|0)==(57216);
- if ($cmp7) {
- $conv12 = $wc&255;
- HEAP8[$s>>0] = $conv12;
- $retval$0 = 1;
- break;
- } else {
- $call10 = (___errno_location()|0);
- HEAP32[$call10>>2] = 84;
- $retval$0 = -1;
- break;
- }
- }
- $cmp14 = ($wc>>>0)<(2048);
- if ($cmp14) {
- $3 = $wc >>> 6;
- $or = $3 | 192;
- $conv17 = $or&255;
- $incdec$ptr = ((($s)) + 1|0);
- HEAP8[$s>>0] = $conv17;
- $and = $wc & 63;
- $or18 = $and | 128;
- $conv19 = $or18&255;
- HEAP8[$incdec$ptr>>0] = $conv19;
- $retval$0 = 2;
- break;
- }
- $cmp21 = ($wc>>>0)<(55296);
- $4 = $wc & -8192;
- $cmp24 = ($4|0)==(57344);
- $or$cond = $cmp21 | $cmp24;
- if ($or$cond) {
- $5 = $wc >>> 12;
- $or28 = $5 | 224;
- $conv29 = $or28&255;
- $incdec$ptr30 = ((($s)) + 1|0);
- HEAP8[$s>>0] = $conv29;
- $6 = $wc >>> 6;
- $and32 = $6 & 63;
- $or33 = $and32 | 128;
- $conv34 = $or33&255;
- $incdec$ptr35 = ((($s)) + 2|0);
- HEAP8[$incdec$ptr30>>0] = $conv34;
- $and36 = $wc & 63;
- $or37 = $and36 | 128;
- $conv38 = $or37&255;
- HEAP8[$incdec$ptr35>>0] = $conv38;
- $retval$0 = 3;
- break;
- }
- $sub40 = (($wc) + -65536)|0;
- $cmp41 = ($sub40>>>0)<(1048576);
- if ($cmp41) {
- $7 = $wc >>> 18;
- $or45 = $7 | 240;
- $conv46 = $or45&255;
- $incdec$ptr47 = ((($s)) + 1|0);
- HEAP8[$s>>0] = $conv46;
- $8 = $wc >>> 12;
- $and49 = $8 & 63;
- $or50 = $and49 | 128;
- $conv51 = $or50&255;
- $incdec$ptr52 = ((($s)) + 2|0);
- HEAP8[$incdec$ptr47>>0] = $conv51;
- $9 = $wc >>> 6;
- $and54 = $9 & 63;
- $or55 = $and54 | 128;
- $conv56 = $or55&255;
- $incdec$ptr57 = ((($s)) + 3|0);
- HEAP8[$incdec$ptr52>>0] = $conv56;
- $and58 = $wc & 63;
- $or59 = $and58 | 128;
- $conv60 = $or59&255;
- HEAP8[$incdec$ptr57>>0] = $conv60;
- $retval$0 = 4;
- break;
- } else {
- $call66 = (___errno_location()|0);
- HEAP32[$call66>>2] = 84;
- $retval$0 = -1;
- break;
- }
- }
- } while(0);
- return ($retval$0|0);
-}
-function ___pthread_self_581() {
- var $call = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $call = (_pthread_self()|0);
- return ($call|0);
-}
-function _pthread_self() {
+function ___fwritex($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$038 = 0, $$042 = 0, $$1 = 0, $$139 = 0, $$141 = 0, $$143 = 0, $$pre = 0, $$pre47 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0;
+ var $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
var label = 0, sp = 0;
sp = STACKTOP;
- return (22508|0);
-}
-function ___pthread_self_822() {
- var $call = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $call = (_pthread_self()|0);
- return ($call|0);
-}
-function ___strerror_l($e,$loc) {
- $e = $e|0;
- $loc = $loc|0;
- var $0 = 0, $1 = 0, $2 = 0, $arrayidx = 0, $arrayidx15 = 0, $call = 0, $cmp = 0, $conv = 0, $dec = 0, $i$012 = 0, $i$111 = 0, $inc = 0, $incdec$ptr = 0, $s$0$lcssa = 0, $s$010 = 0, $s$1 = 0, $tobool = 0, $tobool5 = 0, $tobool59 = 0, $tobool8 = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- $i$012 = 0;
- while(1) {
- $arrayidx = (31478 + ($i$012)|0);
- $0 = HEAP8[$arrayidx>>0]|0;
- $conv = $0&255;
- $cmp = ($conv|0)==($e|0);
- if ($cmp) {
- label = 2;
- break;
- }
- $inc = (($i$012) + 1)|0;
- $tobool = ($inc|0)==(87);
- if ($tobool) {
- $i$111 = 87;$s$010 = 31566;
- label = 5;
- break;
- } else {
- $i$012 = $inc;
- }
- }
- if ((label|0) == 2) {
- $tobool59 = ($i$012|0)==(0);
- if ($tobool59) {
- $s$0$lcssa = 31566;
- } else {
- $i$111 = $i$012;$s$010 = 31566;
- label = 5;
- }
- }
- if ((label|0) == 5) {
- while(1) {
- label = 0;
- $s$1 = $s$010;
- while(1) {
- $1 = HEAP8[$s$1>>0]|0;
- $tobool8 = ($1<<24>>24)==(0);
- $incdec$ptr = ((($s$1)) + 1|0);
- if ($tobool8) {
- break;
- } else {
- $s$1 = $incdec$ptr;
- }
- }
- $dec = (($i$111) + -1)|0;
- $tobool5 = ($dec|0)==(0);
- if ($tobool5) {
- $s$0$lcssa = $incdec$ptr;
- break;
- } else {
- $i$111 = $dec;$s$010 = $incdec$ptr;
- label = 5;
- }
- }
- }
- $arrayidx15 = ((($loc)) + 20|0);
- $2 = HEAP32[$arrayidx15>>2]|0;
- $call = (___lctrans($s$0$lcssa,$2)|0);
- return ($call|0);
-}
-function ___lctrans($msg,$lm) {
- $msg = $msg|0;
- $lm = $lm|0;
- var $call = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $call = (___lctrans_impl($msg,$lm)|0);
- return ($call|0);
-}
-function ___lctrans_impl($msg,$lm) {
- $msg = $msg|0;
- $lm = $lm|0;
- var $0 = 0, $1 = 0, $call = 0, $cond = 0, $map_size = 0, $tobool = 0, $tobool1 = 0, $trans$0 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $tobool = ($lm|0)==(0|0);
- if ($tobool) {
- $trans$0 = 0;
- } else {
- $0 = HEAP32[$lm>>2]|0;
- $map_size = ((($lm)) + 4|0);
- $1 = HEAP32[$map_size>>2]|0;
- $call = (___mo_lookup($0,$1,$msg)|0);
- $trans$0 = $call;
- }
- $tobool1 = ($trans$0|0)!=(0|0);
- $cond = $tobool1 ? $trans$0 : $msg;
- return ($cond|0);
-}
-function ___mo_lookup($p,$size,$s) {
- $p = $p|0;
- $size = $size|0;
- $s = $s|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add$ptr = 0, $add$ptr65 = 0, $add$ptr65$ = 0, $add16 = 0, $add23 = 0, $add31 = 0, $add42 = 0, $add49 = 0, $add59 = 0;
- var $arrayidx = 0, $arrayidx1 = 0, $arrayidx17 = 0, $arrayidx24 = 0, $arrayidx3 = 0, $arrayidx32 = 0, $arrayidx43 = 0, $arrayidx50 = 0, $arrayidx60 = 0, $b$0 = 0, $b$1 = 0, $call = 0, $call18 = 0, $call2 = 0, $call25 = 0, $call36 = 0, $call4 = 0, $call44 = 0, $call51 = 0, $cmp = 0;
- var $cmp10 = 0, $cmp26 = 0, $cmp29 = 0, $cmp52 = 0, $cmp56 = 0, $cmp6 = 0, $cmp67 = 0, $cmp71 = 0, $div = 0, $div12 = 0, $div13 = 0, $div14 = 0, $mul = 0, $mul15 = 0, $n$0 = 0, $n$1 = 0, $or = 0, $or$cond = 0, $or$cond66 = 0, $or$cond67 = 0;
- var $rem = 0, $retval$4 = 0, $sub = 0, $sub28 = 0, $sub5 = 0, $sub55 = 0, $sub79 = 0, $tobool = 0, $tobool33 = 0, $tobool37 = 0, $tobool62 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $0 = HEAP32[$p>>2]|0;
- $sub = (($0) + 1794895138)|0;
- $arrayidx = ((($p)) + 8|0);
- $1 = HEAP32[$arrayidx>>2]|0;
- $call = (_swapc($1,$sub)|0);
- $arrayidx1 = ((($p)) + 12|0);
- $2 = HEAP32[$arrayidx1>>2]|0;
- $call2 = (_swapc($2,$sub)|0);
- $arrayidx3 = ((($p)) + 16|0);
- $3 = HEAP32[$arrayidx3>>2]|0;
- $call4 = (_swapc($3,$sub)|0);
- $div = $size >>> 2;
- $cmp = ($call>>>0)<($div>>>0);
- L1: do {
- if ($cmp) {
- $mul = $call << 2;
- $sub5 = (($size) - ($mul))|0;
- $cmp6 = ($call2>>>0)<($sub5>>>0);
- $cmp10 = ($call4>>>0)<($sub5>>>0);
- $or$cond = $cmp6 & $cmp10;
- if ($or$cond) {
- $or = $call4 | $call2;
- $rem = $or & 3;
- $tobool = ($rem|0)==(0);
- if ($tobool) {
- $div12 = $call2 >>> 2;
- $div13 = $call4 >>> 2;
- $b$0 = 0;$n$0 = $call;
- while(1) {
- $div14 = $n$0 >>> 1;
- $add = (($b$0) + ($div14))|0;
- $mul15 = $add << 1;
- $add16 = (($mul15) + ($div12))|0;
- $arrayidx17 = (($p) + ($add16<<2)|0);
- $4 = HEAP32[$arrayidx17>>2]|0;
- $call18 = (_swapc($4,$sub)|0);
- $add23 = (($add16) + 1)|0;
- $arrayidx24 = (($p) + ($add23<<2)|0);
- $5 = HEAP32[$arrayidx24>>2]|0;
- $call25 = (_swapc($5,$sub)|0);
- $cmp26 = ($call25>>>0)<($size>>>0);
- $sub28 = (($size) - ($call25))|0;
- $cmp29 = ($call18>>>0)<($sub28>>>0);
- $or$cond66 = $cmp26 & $cmp29;
- if (!($or$cond66)) {
- $retval$4 = 0;
- break L1;
- }
- $add31 = (($call25) + ($call18))|0;
- $arrayidx32 = (($p) + ($add31)|0);
- $6 = HEAP8[$arrayidx32>>0]|0;
- $tobool33 = ($6<<24>>24)==(0);
- if (!($tobool33)) {
- $retval$4 = 0;
- break L1;
- }
- $add$ptr = (($p) + ($call25)|0);
- $call36 = (_strcmp($s,$add$ptr)|0);
- $tobool37 = ($call36|0)==(0);
- if ($tobool37) {
- break;
- }
- $cmp67 = ($n$0|0)==(1);
- $cmp71 = ($call36|0)<(0);
- $sub79 = (($n$0) - ($div14))|0;
- $n$1 = $cmp71 ? $div14 : $sub79;
- $b$1 = $cmp71 ? $b$0 : $add;
- if ($cmp67) {
- $retval$4 = 0;
- break L1;
- } else {
- $b$0 = $b$1;$n$0 = $n$1;
- }
- }
- $add42 = (($mul15) + ($div13))|0;
- $arrayidx43 = (($p) + ($add42<<2)|0);
- $7 = HEAP32[$arrayidx43>>2]|0;
- $call44 = (_swapc($7,$sub)|0);
- $add49 = (($add42) + 1)|0;
- $arrayidx50 = (($p) + ($add49<<2)|0);
- $8 = HEAP32[$arrayidx50>>2]|0;
- $call51 = (_swapc($8,$sub)|0);
- $cmp52 = ($call51>>>0)<($size>>>0);
- $sub55 = (($size) - ($call51))|0;
- $cmp56 = ($call44>>>0)<($sub55>>>0);
- $or$cond67 = $cmp52 & $cmp56;
- if ($or$cond67) {
- $add$ptr65 = (($p) + ($call51)|0);
- $add59 = (($call51) + ($call44))|0;
- $arrayidx60 = (($p) + ($add59)|0);
- $9 = HEAP8[$arrayidx60>>0]|0;
- $tobool62 = ($9<<24>>24)==(0);
- $add$ptr65$ = $tobool62 ? $add$ptr65 : 0;
- $retval$4 = $add$ptr65$;
- } else {
- $retval$4 = 0;
- }
- } else {
- $retval$4 = 0;
- }
- } else {
- $retval$4 = 0;
- }
- } else {
- $retval$4 = 0;
- }
- } while(0);
- return ($retval$4|0);
-}
-function _swapc($x,$c) {
- $x = $x|0;
- $c = $c|0;
- var $or5 = 0, $tobool = 0, $x$or5 = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $tobool = ($c|0)==(0);
- $or5 = (_llvm_bswap_i32(($x|0))|0);
- $x$or5 = $tobool ? $x : $or5;
- return ($x$or5|0);
-}
-function ___fwritex($s,$l,$f) {
- $s = $s|0;
- $l = $l|0;
- $f = $f|0;
- var $$pre = 0, $$pre33 = 0, $0 = 0, $1 = 0, $10 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add$ptr = 0, $add$ptr26 = 0, $arrayidx = 0, $call = 0, $call16 = 0, $call4 = 0;
- var $cmp = 0, $cmp11 = 0, $cmp17 = 0, $cmp6 = 0, $i$0 = 0, $i$1 = 0, $l$addr$0 = 0, $l$addr$1 = 0, $lbf = 0, $retval$1 = 0, $s$addr$1 = 0, $sub = 0, $sub$ptr$sub = 0, $tobool = 0, $tobool1 = 0, $tobool9 = 0, $wend = 0, $wpos = 0, $write = 0, $write15 = 0;
- var label = 0, sp = 0;
- sp = STACKTOP;
- $wend = ((($f)) + 16|0);
- $0 = HEAP32[$wend>>2]|0;
- $tobool = ($0|0)==(0|0);
- if ($tobool) {
- $call = (___towrite($f)|0);
- $tobool1 = ($call|0)==(0);
- if ($tobool1) {
- $$pre = HEAP32[$wend>>2]|0;
- $3 = $$pre;
+ $3 = ((($2)) + 16|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = ($4|0)==(0|0);
+ if ($5) {
+ $7 = (___towrite($2)|0);
+ $8 = ($7|0)==(0);
+ if ($8) {
+ $$pre = HEAP32[$3>>2]|0;
+ $12 = $$pre;
label = 5;
} else {
- $retval$1 = 0;
+ $$1 = 0;
}
} else {
- $1 = $0;
- $3 = $1;
+ $6 = $4;
+ $12 = $6;
label = 5;
}
L5: do {
if ((label|0) == 5) {
- $wpos = ((($f)) + 20|0);
- $2 = HEAP32[$wpos>>2]|0;
- $sub$ptr$sub = (($3) - ($2))|0;
- $cmp = ($sub$ptr$sub>>>0)<($l>>>0);
- $4 = $2;
- if ($cmp) {
- $write = ((($f)) + 36|0);
- $5 = HEAP32[$write>>2]|0;
- $call4 = (FUNCTION_TABLE_iiii[$5 & 31]($f,$s,$l)|0);
- $retval$1 = $call4;
+ $9 = ((($2)) + 20|0);
+ $10 = HEAP32[$9>>2]|0;
+ $11 = (($12) - ($10))|0;
+ $13 = ($11>>>0)<($1>>>0);
+ $14 = $10;
+ if ($13) {
+ $15 = ((($2)) + 36|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = (FUNCTION_TABLE_iiii[$16 & 31]($2,$0,$1)|0);
+ $$1 = $17;
break;
}
- $lbf = ((($f)) + 75|0);
- $6 = HEAP8[$lbf>>0]|0;
- $cmp6 = ($6<<24>>24)>(-1);
+ $18 = ((($2)) + 75|0);
+ $19 = HEAP8[$18>>0]|0;
+ $20 = ($19<<24>>24)>(-1);
L10: do {
- if ($cmp6) {
- $i$0 = $l;
+ if ($20) {
+ $$038 = $1;
while(1) {
- $tobool9 = ($i$0|0)==(0);
- if ($tobool9) {
- $9 = $4;$i$1 = 0;$l$addr$1 = $l;$s$addr$1 = $s;
+ $21 = ($$038|0)==(0);
+ if ($21) {
+ $$139 = 0;$$141 = $0;$$143 = $1;$31 = $14;
break L10;
}
- $sub = (($i$0) + -1)|0;
- $arrayidx = (($s) + ($sub)|0);
- $7 = HEAP8[$arrayidx>>0]|0;
- $cmp11 = ($7<<24>>24)==(10);
- if ($cmp11) {
+ $22 = (($$038) + -1)|0;
+ $23 = (($0) + ($22)|0);
+ $24 = HEAP8[$23>>0]|0;
+ $25 = ($24<<24>>24)==(10);
+ if ($25) {
break;
} else {
- $i$0 = $sub;
+ $$038 = $22;
}
}
- $write15 = ((($f)) + 36|0);
- $8 = HEAP32[$write15>>2]|0;
- $call16 = (FUNCTION_TABLE_iiii[$8 & 31]($f,$s,$i$0)|0);
- $cmp17 = ($call16>>>0)<($i$0>>>0);
- if ($cmp17) {
- $retval$1 = $call16;
+ $26 = ((($2)) + 36|0);
+ $27 = HEAP32[$26>>2]|0;
+ $28 = (FUNCTION_TABLE_iiii[$27 & 31]($2,$0,$$038)|0);
+ $29 = ($28>>>0)<($$038>>>0);
+ if ($29) {
+ $$1 = $28;
break L5;
}
- $add$ptr = (($s) + ($i$0)|0);
- $l$addr$0 = (($l) - ($i$0))|0;
- $$pre33 = HEAP32[$wpos>>2]|0;
- $9 = $$pre33;$i$1 = $i$0;$l$addr$1 = $l$addr$0;$s$addr$1 = $add$ptr;
+ $30 = (($0) + ($$038)|0);
+ $$042 = (($1) - ($$038))|0;
+ $$pre47 = HEAP32[$9>>2]|0;
+ $$139 = $$038;$$141 = $30;$$143 = $$042;$31 = $$pre47;
} else {
- $9 = $4;$i$1 = 0;$l$addr$1 = $l;$s$addr$1 = $s;
+ $$139 = 0;$$141 = $0;$$143 = $1;$31 = $14;
}
} while(0);
- _memcpy(($9|0),($s$addr$1|0),($l$addr$1|0))|0;
- $10 = HEAP32[$wpos>>2]|0;
- $add$ptr26 = (($10) + ($l$addr$1)|0);
- HEAP32[$wpos>>2] = $add$ptr26;
- $add = (($i$1) + ($l$addr$1))|0;
- $retval$1 = $add;
+ _memcpy(($31|0),($$141|0),($$143|0))|0;
+ $32 = HEAP32[$9>>2]|0;
+ $33 = (($32) + ($$143)|0);
+ HEAP32[$9>>2] = $33;
+ $34 = (($$139) + ($$143))|0;
+ $$1 = $34;
}
} while(0);
- return ($retval$1|0);
+ return ($$1|0);
}
-function ___towrite($f) {
- $f = $f|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $add$ptr = 0, $and = 0, $buf = 0, $buf_size = 0, $conv = 0, $conv3 = 0, $mode = 0, $or = 0, $or5 = 0, $rend = 0, $retval$0 = 0, $rpos = 0, $sub = 0, $tobool = 0, $wbase = 0;
- var $wend = 0, $wpos = 0, label = 0, sp = 0;
+function ___towrite($0) {
+ $0 = $0|0;
+ var $$0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
+ var $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $mode = ((($f)) + 74|0);
- $0 = HEAP8[$mode>>0]|0;
- $conv = $0 << 24 >> 24;
- $sub = (($conv) + 255)|0;
- $or = $sub | $conv;
- $conv3 = $or&255;
- HEAP8[$mode>>0] = $conv3;
- $1 = HEAP32[$f>>2]|0;
- $and = $1 & 8;
- $tobool = ($and|0)==(0);
- if ($tobool) {
- $rend = ((($f)) + 8|0);
- HEAP32[$rend>>2] = 0;
- $rpos = ((($f)) + 4|0);
- HEAP32[$rpos>>2] = 0;
- $buf = ((($f)) + 44|0);
- $2 = HEAP32[$buf>>2]|0;
- $wbase = ((($f)) + 28|0);
- HEAP32[$wbase>>2] = $2;
- $wpos = ((($f)) + 20|0);
- HEAP32[$wpos>>2] = $2;
- $3 = $2;
- $buf_size = ((($f)) + 48|0);
- $4 = HEAP32[$buf_size>>2]|0;
- $add$ptr = (($3) + ($4)|0);
- $wend = ((($f)) + 16|0);
- HEAP32[$wend>>2] = $add$ptr;
- $retval$0 = 0;
+ $1 = ((($0)) + 74|0);
+ $2 = HEAP8[$1>>0]|0;
+ $3 = $2 << 24 >> 24;
+ $4 = (($3) + 255)|0;
+ $5 = $4 | $3;
+ $6 = $5&255;
+ HEAP8[$1>>0] = $6;
+ $7 = HEAP32[$0>>2]|0;
+ $8 = $7 & 8;
+ $9 = ($8|0)==(0);
+ if ($9) {
+ $11 = ((($0)) + 8|0);
+ HEAP32[$11>>2] = 0;
+ $12 = ((($0)) + 4|0);
+ HEAP32[$12>>2] = 0;
+ $13 = ((($0)) + 44|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ((($0)) + 28|0);
+ HEAP32[$15>>2] = $14;
+ $16 = ((($0)) + 20|0);
+ HEAP32[$16>>2] = $14;
+ $17 = $14;
+ $18 = ((($0)) + 48|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = (($17) + ($19)|0);
+ $21 = ((($0)) + 16|0);
+ HEAP32[$21>>2] = $20;
+ $$0 = 0;
} else {
- $or5 = $1 | 32;
- HEAP32[$f>>2] = $or5;
- $retval$0 = -1;
+ $10 = $7 | 32;
+ HEAP32[$0>>2] = $10;
+ $$0 = -1;
}
- return ($retval$0|0);
+ return ($$0|0);
}
function ___ofl_lock() {
var label = 0, sp = 0;
sp = STACKTOP;
- ___lock((34092|0));
- return (34100|0);
+ ___lock((34132|0));
+ return (34140|0);
}
function ___ofl_unlock() {
var label = 0, sp = 0;
sp = STACKTOP;
- ___unlock((34092|0));
+ ___unlock((34132|0));
return;
}
-function _fflush($f) {
- $f = $f|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $call = 0, $call1 = 0, $call11 = 0, $call118 = 0, $call17 = 0, $call23 = 0, $call7 = 0, $cmp = 0, $cmp15 = 0, $cmp21 = 0, $cond10 = 0, $cond20 = 0, $f$addr$0 = 0, $f$addr$019 = 0;
- var $f$addr$022 = 0, $lock = 0, $lock14 = 0, $next = 0, $or = 0, $phitmp = 0, $r$0$lcssa = 0, $r$021 = 0, $r$1 = 0, $retval$0 = 0, $tobool = 0, $tobool12 = 0, $tobool1220 = 0, $tobool25 = 0, $tobool5 = 0, $wbase = 0, $wpos = 0, label = 0, sp = 0;
+function _fflush($0) {
+ $0 = $0|0;
+ var $$0 = 0, $$023 = 0, $$02325 = 0, $$02327 = 0, $$024$lcssa = 0, $$02426 = 0, $$1 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0;
+ var $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $phitmp = 0, label = 0, sp = 0;
sp = STACKTOP;
- $tobool = ($f|0)==(0|0);
+ $1 = ($0|0)==(0|0);
do {
- if ($tobool) {
- $1 = HEAP32[5626]|0;
- $tobool5 = ($1|0)==(0|0);
- if ($tobool5) {
- $cond10 = 0;
+ if ($1) {
+ $8 = HEAP32[5626]|0;
+ $9 = ($8|0)==(0|0);
+ if ($9) {
+ $29 = 0;
} else {
- $2 = HEAP32[5626]|0;
- $call7 = (_fflush($2)|0);
- $cond10 = $call7;
+ $10 = HEAP32[5626]|0;
+ $11 = (_fflush($10)|0);
+ $29 = $11;
}
- $call11 = (___ofl_lock()|0);
- $f$addr$019 = HEAP32[$call11>>2]|0;
- $tobool1220 = ($f$addr$019|0)==(0|0);
- if ($tobool1220) {
- $r$0$lcssa = $cond10;
+ $12 = (___ofl_lock()|0);
+ $$02325 = HEAP32[$12>>2]|0;
+ $13 = ($$02325|0)==(0|0);
+ if ($13) {
+ $$024$lcssa = $29;
} else {
- $f$addr$022 = $f$addr$019;$r$021 = $cond10;
+ $$02327 = $$02325;$$02426 = $29;
while(1) {
- $lock14 = ((($f$addr$022)) + 76|0);
- $3 = HEAP32[$lock14>>2]|0;
- $cmp15 = ($3|0)>(-1);
- if ($cmp15) {
- $call17 = (___lockfile($f$addr$022)|0);
- $cond20 = $call17;
+ $14 = ((($$02327)) + 76|0);
+ $15 = HEAP32[$14>>2]|0;
+ $16 = ($15|0)>(-1);
+ if ($16) {
+ $17 = (___lockfile($$02327)|0);
+ $25 = $17;
} else {
- $cond20 = 0;
+ $25 = 0;
}
- $wpos = ((($f$addr$022)) + 20|0);
- $4 = HEAP32[$wpos>>2]|0;
- $wbase = ((($f$addr$022)) + 28|0);
- $5 = HEAP32[$wbase>>2]|0;
- $cmp21 = ($4>>>0)>($5>>>0);
- if ($cmp21) {
- $call23 = (___fflush_unlocked($f$addr$022)|0);
- $or = $call23 | $r$021;
- $r$1 = $or;
+ $18 = ((($$02327)) + 20|0);
+ $19 = HEAP32[$18>>2]|0;
+ $20 = ((($$02327)) + 28|0);
+ $21 = HEAP32[$20>>2]|0;
+ $22 = ($19>>>0)>($21>>>0);
+ if ($22) {
+ $23 = (___fflush_unlocked($$02327)|0);
+ $24 = $23 | $$02426;
+ $$1 = $24;
} else {
- $r$1 = $r$021;
+ $$1 = $$02426;
}
- $tobool25 = ($cond20|0)==(0);
- if (!($tobool25)) {
- ___unlockfile($f$addr$022);
+ $26 = ($25|0)==(0);
+ if (!($26)) {
+ ___unlockfile($$02327);
}
- $next = ((($f$addr$022)) + 56|0);
- $f$addr$0 = HEAP32[$next>>2]|0;
- $tobool12 = ($f$addr$0|0)==(0|0);
- if ($tobool12) {
- $r$0$lcssa = $r$1;
+ $27 = ((($$02327)) + 56|0);
+ $$023 = HEAP32[$27>>2]|0;
+ $28 = ($$023|0)==(0|0);
+ if ($28) {
+ $$024$lcssa = $$1;
break;
} else {
- $f$addr$022 = $f$addr$0;$r$021 = $r$1;
+ $$02327 = $$023;$$02426 = $$1;
}
}
}
___ofl_unlock();
- $retval$0 = $r$0$lcssa;
+ $$0 = $$024$lcssa;
} else {
- $lock = ((($f)) + 76|0);
- $0 = HEAP32[$lock>>2]|0;
- $cmp = ($0|0)>(-1);
- if (!($cmp)) {
- $call118 = (___fflush_unlocked($f)|0);
- $retval$0 = $call118;
+ $2 = ((($0)) + 76|0);
+ $3 = HEAP32[$2>>2]|0;
+ $4 = ($3|0)>(-1);
+ if (!($4)) {
+ $5 = (___fflush_unlocked($0)|0);
+ $$0 = $5;
break;
}
- $call = (___lockfile($f)|0);
- $phitmp = ($call|0)==(0);
- $call1 = (___fflush_unlocked($f)|0);
+ $6 = (___lockfile($0)|0);
+ $phitmp = ($6|0)==(0);
+ $7 = (___fflush_unlocked($0)|0);
if ($phitmp) {
- $retval$0 = $call1;
+ $$0 = $7;
} else {
- ___unlockfile($f);
- $retval$0 = $call1;
+ ___unlockfile($0);
+ $$0 = $7;
}
}
} while(0);
- return ($retval$0|0);
+ return ($$0|0);
}
-function ___fflush_unlocked($f) {
- $f = $f|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $cmp = 0, $cmp4 = 0, $rend = 0, $retval$0 = 0, $rpos = 0, $seek = 0, $sub$ptr$lhs$cast = 0, $sub$ptr$rhs$cast = 0, $sub$ptr$sub = 0, $tobool = 0, $wbase = 0, $wend = 0, $wpos = 0;
- var $write = 0, label = 0, sp = 0;
+function ___fflush_unlocked($0) {
+ $0 = $0|0;
+ var $$0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0;
+ var $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $wpos = ((($f)) + 20|0);
- $0 = HEAP32[$wpos>>2]|0;
- $wbase = ((($f)) + 28|0);
- $1 = HEAP32[$wbase>>2]|0;
- $cmp = ($0>>>0)>($1>>>0);
- if ($cmp) {
- $write = ((($f)) + 36|0);
- $2 = HEAP32[$write>>2]|0;
- (FUNCTION_TABLE_iiii[$2 & 31]($f,0,0)|0);
- $3 = HEAP32[$wpos>>2]|0;
- $tobool = ($3|0)==(0|0);
- if ($tobool) {
- $retval$0 = -1;
+ $1 = ((($0)) + 20|0);
+ $2 = HEAP32[$1>>2]|0;
+ $3 = ((($0)) + 28|0);
+ $4 = HEAP32[$3>>2]|0;
+ $5 = ($2>>>0)>($4>>>0);
+ if ($5) {
+ $6 = ((($0)) + 36|0);
+ $7 = HEAP32[$6>>2]|0;
+ (FUNCTION_TABLE_iiii[$7 & 31]($0,0,0)|0);
+ $8 = HEAP32[$1>>2]|0;
+ $9 = ($8|0)==(0|0);
+ if ($9) {
+ $$0 = -1;
} else {
label = 3;
}
@@ -103234,574 +103353,456 @@ function ___fflush_unlocked($f) {
label = 3;
}
if ((label|0) == 3) {
- $rpos = ((($f)) + 4|0);
- $4 = HEAP32[$rpos>>2]|0;
- $rend = ((($f)) + 8|0);
- $5 = HEAP32[$rend>>2]|0;
- $cmp4 = ($4>>>0)<($5>>>0);
- if ($cmp4) {
- $sub$ptr$lhs$cast = $4;
- $sub$ptr$rhs$cast = $5;
- $sub$ptr$sub = (($sub$ptr$lhs$cast) - ($sub$ptr$rhs$cast))|0;
- $seek = ((($f)) + 40|0);
- $6 = HEAP32[$seek>>2]|0;
- (FUNCTION_TABLE_iiii[$6 & 31]($f,$sub$ptr$sub,1)|0);
+ $10 = ((($0)) + 4|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = ((($0)) + 8|0);
+ $13 = HEAP32[$12>>2]|0;
+ $14 = ($11>>>0)<($13>>>0);
+ if ($14) {
+ $15 = $11;
+ $16 = $13;
+ $17 = (($15) - ($16))|0;
+ $18 = ((($0)) + 40|0);
+ $19 = HEAP32[$18>>2]|0;
+ (FUNCTION_TABLE_iiii[$19 & 31]($0,$17,1)|0);
}
- $wend = ((($f)) + 16|0);
- HEAP32[$wend>>2] = 0;
- HEAP32[$wbase>>2] = 0;
- HEAP32[$wpos>>2] = 0;
- HEAP32[$rend>>2] = 0;
- HEAP32[$rpos>>2] = 0;
- $retval$0 = 0;
+ $20 = ((($0)) + 16|0);
+ HEAP32[$20>>2] = 0;
+ HEAP32[$3>>2] = 0;
+ HEAP32[$1>>2] = 0;
+ HEAP32[$12>>2] = 0;
+ HEAP32[$10>>2] = 0;
+ $$0 = 0;
}
- return ($retval$0|0);
+ return ($$0|0);
}
-function _printf($fmt,$varargs) {
- $fmt = $fmt|0;
+function _printf($0,$varargs) {
+ $0 = $0|0;
$varargs = $varargs|0;
- var $0 = 0, $ap = 0, $call = 0, label = 0, sp = 0;
+ var $1 = 0, $2 = 0, $3 = 0, label = 0, sp = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 16|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(16|0);
- $ap = sp;
- HEAP32[$ap>>2] = $varargs;
- $0 = HEAP32[5594]|0;
- $call = (_vfprintf($0,$fmt,$ap)|0);
- STACKTOP = sp;return ($call|0);
+ $1 = sp;
+ HEAP32[$1>>2] = $varargs;
+ $2 = HEAP32[5594]|0;
+ $3 = (_vfprintf($2,$0,$1)|0);
+ STACKTOP = sp;return ($3|0);
}
-function _log10($x) {
- $x = +$x;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0.0, $13 = 0, $14 = 0, $15 = 0, $16 = 0.0, $17 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add = 0, $add35 = 0;
- var $add36 = 0, $add46 = 0.0, $add51 = 0.0, $add53 = 0.0, $add56 = 0.0, $add58 = 0.0, $add60 = 0.0, $add62 = 0.0, $add70 = 0.0, $add72 = 0.0, $add77 = 0.0, $add79 = 0.0, $add81 = 0.0, $add82 = 0.0, $add84 = 0.0, $add85 = 0.0, $add86 = 0.0, $and = 0, $cmp = 0, $cmp19 = 0;
- var $cmp23 = 0, $conv74 = 0.0, $div = 0.0, $div11 = 0.0, $div47 = 0.0, $hx$0 = 0, $k$0 = 0, $mul = 0.0, $mul14 = 0.0, $mul44 = 0.0, $mul45 = 0.0, $mul48 = 0.0, $mul49 = 0.0, $mul50 = 0.0, $mul52 = 0.0, $mul54 = 0.0, $mul55 = 0.0, $mul57 = 0.0, $mul59 = 0.0, $mul61 = 0.0;
- var $mul71 = 0.0, $mul73 = 0.0, $mul75 = 0.0, $mul76 = 0.0, $mul78 = 0.0, $mul80 = 0.0, $or$cond = 0, $or$cond73 = 0, $retval$0 = 0.0, $shr33 = 0, $sub = 0.0, $sub43 = 0.0, $sub63 = 0.0, $sub68 = 0.0, $sub69 = 0.0, $sub83 = 0.0, label = 0, sp = 0;
+function __Znwj($0) {
+ $0 = $0|0;
+ var $$ = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
sp = STACKTOP;
- HEAPF64[tempDoublePtr>>3] = $x;$0 = HEAP32[tempDoublePtr>>2]|0;
- $1 = HEAP32[tempDoublePtr+4>>2]|0;
- $cmp = ($1>>>0)<(1048576);
- $2 = ($1|0)<(0);
- $or$cond = $2 | $cmp;
- do {
- if ($or$cond) {
- $3 = $1 & 2147483647;
- $4 = ($0|0)==(0);
- $5 = ($3|0)==(0);
- $6 = $4 & $5;
- if ($6) {
- $mul = $x * $x;
- $div = -1.0 / $mul;
- $retval$0 = $div;
- break;
- }
- if ($2) {
- $sub = $x - $x;
- $div11 = $sub / 0.0;
- $retval$0 = $div11;
- break;
- } else {
- $mul14 = $x * 18014398509481984.0;
- HEAPF64[tempDoublePtr>>3] = $mul14;$7 = HEAP32[tempDoublePtr>>2]|0;
- $8 = HEAP32[tempDoublePtr+4>>2]|0;
- $13 = $7;$17 = $8;$hx$0 = $8;$k$0 = -1077;
- label = 9;
- break;
- }
- } else {
- $cmp19 = ($1>>>0)>(2146435071);
- if ($cmp19) {
- $retval$0 = $x;
- } else {
- $cmp23 = ($1|0)==(1072693248);
- $9 = ($0|0)==(0);
- $10 = (0)==(0);
- $11 = $9 & $10;
- $or$cond73 = $11 & $cmp23;
- if ($or$cond73) {
- $retval$0 = 0.0;
- } else {
- $13 = $0;$17 = $1;$hx$0 = $1;$k$0 = -1023;
- label = 9;
- }
- }
- }
- } while(0);
- if ((label|0) == 9) {
- $add = (($hx$0) + 614242)|0;
- $shr33 = $add >>> 20;
- $add35 = (($k$0) + ($shr33))|0;
- $and = $add & 1048575;
- $add36 = (($and) + 1072079006)|0;
- HEAP32[tempDoublePtr>>2] = $13;HEAP32[tempDoublePtr+4>>2] = $add36;$12 = +HEAPF64[tempDoublePtr>>3];
- $sub43 = $12 + -1.0;
- $mul44 = $sub43 * 0.5;
- $mul45 = $sub43 * $mul44;
- $add46 = $sub43 + 2.0;
- $div47 = $sub43 / $add46;
- $mul48 = $div47 * $div47;
- $mul49 = $mul48 * $mul48;
- $mul50 = $mul49 * 0.15313837699209373;
- $add51 = $mul50 + 0.22222198432149784;
- $mul52 = $mul49 * $add51;
- $add53 = $mul52 + 0.39999999999409419;
- $mul54 = $mul49 * $add53;
- $mul55 = $mul49 * 0.14798198605116586;
- $add56 = $mul55 + 0.1818357216161805;
- $mul57 = $mul49 * $add56;
- $add58 = $mul57 + 0.28571428743662391;
- $mul59 = $mul49 * $add58;
- $add60 = $mul59 + 0.66666666666667351;
- $mul61 = $mul48 * $add60;
- $add62 = $mul54 + $mul61;
- $sub63 = $sub43 - $mul45;
- HEAPF64[tempDoublePtr>>3] = $sub63;$14 = HEAP32[tempDoublePtr>>2]|0;
- $15 = HEAP32[tempDoublePtr+4>>2]|0;
- HEAP32[tempDoublePtr>>2] = 0;HEAP32[tempDoublePtr+4>>2] = $15;$16 = +HEAPF64[tempDoublePtr>>3];
- $sub68 = $sub43 - $16;
- $sub69 = $sub68 - $mul45;
- $add70 = $mul45 + $add62;
- $mul71 = $div47 * $add70;
- $add72 = $sub69 + $mul71;
- $mul73 = $16 * 0.43429448187816888;
- $conv74 = (+($add35|0));
- $mul75 = $conv74 * 0.30102999566361177;
- $mul76 = $conv74 * 3.6942390771589308E-13;
- $add77 = $add72 + $16;
- $mul78 = $add77 * 2.5082946711645275E-11;
- $add79 = $mul76 + $mul78;
- $mul80 = $add72 * 0.43429448187816888;
- $add81 = $mul80 + $add79;
- $add82 = $mul75 + $mul73;
- $sub83 = $mul75 - $add82;
- $add84 = $mul73 + $sub83;
- $add85 = $add84 + $add81;
- $add86 = $add82 + $add85;
- $retval$0 = $add86;
- }
- return (+$retval$0);
-}
-function _lrintf($x) {
- $x = +$x;
- var $call = 0.0, $conv = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $call = (+_rintf((+$x)));
- $conv = (~~(($call)));
- return ($conv|0);
-}
-function __Znwj($size) {
- $size = $size|0;
- var $$size = 0, $call = 0, $call2 = 0, $cmp = 0, $cmp1 = 0, $exception = 0, $tobool = 0, label = 0, sp = 0;
- sp = STACKTOP;
- $cmp = ($size|0)==(0);
- $$size = $cmp ? 1 : $size;
+ $1 = ($0|0)==(0);
+ $$ = $1 ? 1 : $0;
while(1) {
- $call = (_malloc($$size)|0);
- $cmp1 = ($call|0)==(0|0);
- if (!($cmp1)) {
+ $2 = (_malloc($$)|0);
+ $3 = ($2|0)==(0|0);
+ if (!($3)) {
label = 6;
break;
}
- $call2 = (__ZSt15get_new_handlerv()|0);
- $tobool = ($call2|0)==(0|0);
- if ($tobool) {
+ $4 = (__ZSt15get_new_handlerv()|0);
+ $5 = ($4|0)==(0|0);
+ if ($5) {
label = 5;
break;
}
- FUNCTION_TABLE_v[$call2 & 0]();
+ FUNCTION_TABLE_v[$4 & 0]();
}
if ((label|0) == 5) {
- $exception = (___cxa_allocate_exception(4)|0);
- __ZNSt9bad_allocC2Ev($exception);
- ___cxa_throw(($exception|0),(72|0),(16|0));
+ $6 = (___cxa_allocate_exception(4)|0);
+ __ZNSt9bad_allocC2Ev($6);
+ ___cxa_throw(($6|0),(72|0),(16|0));
// unreachable;
}
else if ((label|0) == 6) {
- return ($call|0);
+ return ($2|0);
}
return (0)|0;
}
-function __ZdlPv($ptr) {
- $ptr = $ptr|0;
+function __ZdlPv($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
- _free($ptr);
+ _free($0);
return;
}
-function __ZN10__cxxabiv116__shim_type_infoD2Ev($this) {
- $this = $this|0;
+function __ZN10__cxxabiv116__shim_type_infoD2Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
return;
}
-function __ZN10__cxxabiv117__class_type_infoD0Ev($this) {
- $this = $this|0;
+function __ZN10__cxxabiv117__class_type_infoD0Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
- __ZN10__cxxabiv116__shim_type_infoD2Ev($this);
- __ZdlPv($this);
+ __ZN10__cxxabiv116__shim_type_infoD2Ev($0);
+ __ZdlPv($0);
return;
}
-function __ZNK10__cxxabiv116__shim_type_info5noop1Ev($this) {
- $this = $this|0;
+function __ZNK10__cxxabiv116__shim_type_info5noop1Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
return;
}
-function __ZNK10__cxxabiv116__shim_type_info5noop2Ev($this) {
- $this = $this|0;
+function __ZNK10__cxxabiv116__shim_type_info5noop2Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
return;
}
-function __ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv($this,$thrown_type,$adjustedPtr) {
- $this = $this|0;
- $thrown_type = $thrown_type|0;
- $adjustedPtr = $adjustedPtr|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $call = 0, $cmp = 0, $cmp4 = 0, $dst_ptr_leading_to_static_ptr = 0, $info = 0, $number_of_dst_type = 0, $path_dst_ptr_to_static_ptr = 0, $retval$0 = 0, $retval$2 = 0, $src2dst_offset = 0, $static_type = 0, $vfn = 0, $vtable = 0;
+function __ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv($0,$1,$2) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $$0 = 0, $$2 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0;
var dest = 0, label = 0, sp = 0, stop = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $info = sp;
- $call = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$thrown_type,0)|0);
- if ($call) {
- $retval$2 = 1;
+ $3 = sp;
+ $4 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$1,0)|0);
+ if ($4) {
+ $$2 = 1;
} else {
- $0 = ($thrown_type|0)==(0|0);
- if ($0) {
- $retval$2 = 0;
+ $5 = ($1|0)==(0|0);
+ if ($5) {
+ $$2 = 0;
} else {
- $1 = (___dynamic_cast($thrown_type,32,16,0)|0);
- $cmp = ($1|0)==(0|0);
- if ($cmp) {
- $retval$2 = 0;
+ $6 = (___dynamic_cast($1,32,16,0)|0);
+ $7 = ($6|0)==(0|0);
+ if ($7) {
+ $$2 = 0;
} else {
- $2 = ((($info)) + 4|0);
- dest=$2; stop=dest+52|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
- HEAP32[$info>>2] = $1;
- $static_type = ((($info)) + 8|0);
- HEAP32[$static_type>>2] = $this;
- $src2dst_offset = ((($info)) + 12|0);
- HEAP32[$src2dst_offset>>2] = -1;
- $number_of_dst_type = ((($info)) + 48|0);
- HEAP32[$number_of_dst_type>>2] = 1;
- $vtable = HEAP32[$1>>2]|0;
- $vfn = ((($vtable)) + 28|0);
- $3 = HEAP32[$vfn>>2]|0;
- $4 = HEAP32[$adjustedPtr>>2]|0;
- FUNCTION_TABLE_viiii[$3 & 15]($1,$info,$4,1);
- $path_dst_ptr_to_static_ptr = ((($info)) + 24|0);
- $5 = HEAP32[$path_dst_ptr_to_static_ptr>>2]|0;
- $cmp4 = ($5|0)==(1);
- if ($cmp4) {
- $dst_ptr_leading_to_static_ptr = ((($info)) + 16|0);
- $6 = HEAP32[$dst_ptr_leading_to_static_ptr>>2]|0;
- HEAP32[$adjustedPtr>>2] = $6;
- $retval$0 = 1;
+ $8 = ((($3)) + 4|0);
+ dest=$8; stop=dest+52|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));
+ HEAP32[$3>>2] = $6;
+ $9 = ((($3)) + 8|0);
+ HEAP32[$9>>2] = $0;
+ $10 = ((($3)) + 12|0);
+ HEAP32[$10>>2] = -1;
+ $11 = ((($3)) + 48|0);
+ HEAP32[$11>>2] = 1;
+ $12 = HEAP32[$6>>2]|0;
+ $13 = ((($12)) + 28|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = HEAP32[$2>>2]|0;
+ FUNCTION_TABLE_viiii[$14 & 15]($6,$3,$15,1);
+ $16 = ((($3)) + 24|0);
+ $17 = HEAP32[$16>>2]|0;
+ $18 = ($17|0)==(1);
+ if ($18) {
+ $19 = ((($3)) + 16|0);
+ $20 = HEAP32[$19>>2]|0;
+ HEAP32[$2>>2] = $20;
+ $$0 = 1;
} else {
- $retval$0 = 0;
+ $$0 = 0;
}
- $retval$2 = $retval$0;
+ $$2 = $$0;
}
}
}
- STACKTOP = sp;return ($retval$2|0);
+ STACKTOP = sp;return ($$2|0);
}
-function __ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($this,$info,$dst_ptr,$current_ptr,$path_below,$use_strcmp) {
- $this = $this|0;
- $info = $info|0;
- $dst_ptr = $dst_ptr|0;
- $current_ptr = $current_ptr|0;
- $path_below = $path_below|0;
- $use_strcmp = $use_strcmp|0;
- var $0 = 0, $call = 0, $static_type = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $6 = 0, $7 = 0, $8 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $static_type = ((($info)) + 8|0);
- $0 = HEAP32[$static_type>>2]|0;
- $call = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$0,$use_strcmp)|0);
- if ($call) {
- __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0,$info,$dst_ptr,$current_ptr,$path_below);
+ $6 = ((($1)) + 8|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$7,$5)|0);
+ if ($8) {
+ __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0,$1,$2,$3,$4);
}
return;
}
-function __ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($this,$info,$current_ptr,$path_below,$use_strcmp) {
- $this = $this|0;
- $info = $info|0;
- $current_ptr = $current_ptr|0;
- $path_below = $path_below|0;
- $use_strcmp = $use_strcmp|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $add = 0, $call = 0, $call3 = 0, $cmp = 0, $cmp12 = 0, $cmp13 = 0, $cmp5 = 0, $cmp7 = 0, $dst_ptr_leading_to_static_ptr = 0, $dst_ptr_not_leading_to_static_ptr = 0, $is_dst_type_derived_from_static_type = 0, $number_to_dst_ptr = 0, $number_to_static_ptr = 0;
- var $path_dst_ptr_to_static_ptr = 0, $path_dynamic_ptr_to_dst_ptr = 0, $path_dynamic_ptr_to_dst_ptr10 = 0, $search_done = 0, $static_type = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $static_type = ((($info)) + 8|0);
- $0 = HEAP32[$static_type>>2]|0;
- $call = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$0,$use_strcmp)|0);
+ $5 = ((($1)) + 8|0);
+ $6 = HEAP32[$5>>2]|0;
+ $7 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$6,$4)|0);
do {
- if ($call) {
- __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0,$info,$current_ptr,$path_below);
+ if ($7) {
+ __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0,$1,$2,$3);
} else {
- $1 = HEAP32[$info>>2]|0;
- $call3 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$1,$use_strcmp)|0);
- if ($call3) {
- $dst_ptr_leading_to_static_ptr = ((($info)) + 16|0);
- $2 = HEAP32[$dst_ptr_leading_to_static_ptr>>2]|0;
- $cmp = ($2|0)==($current_ptr|0);
- if (!($cmp)) {
- $dst_ptr_not_leading_to_static_ptr = ((($info)) + 20|0);
- $3 = HEAP32[$dst_ptr_not_leading_to_static_ptr>>2]|0;
- $cmp5 = ($3|0)==($current_ptr|0);
- if (!($cmp5)) {
- $path_dynamic_ptr_to_dst_ptr10 = ((($info)) + 32|0);
- HEAP32[$path_dynamic_ptr_to_dst_ptr10>>2] = $path_below;
- HEAP32[$dst_ptr_not_leading_to_static_ptr>>2] = $current_ptr;
- $number_to_dst_ptr = ((($info)) + 40|0);
- $4 = HEAP32[$number_to_dst_ptr>>2]|0;
- $add = (($4) + 1)|0;
- HEAP32[$number_to_dst_ptr>>2] = $add;
- $number_to_static_ptr = ((($info)) + 36|0);
- $5 = HEAP32[$number_to_static_ptr>>2]|0;
- $cmp12 = ($5|0)==(1);
- if ($cmp12) {
- $path_dst_ptr_to_static_ptr = ((($info)) + 24|0);
- $6 = HEAP32[$path_dst_ptr_to_static_ptr>>2]|0;
- $cmp13 = ($6|0)==(2);
- if ($cmp13) {
- $search_done = ((($info)) + 54|0);
- HEAP8[$search_done>>0] = 1;
+ $8 = HEAP32[$1>>2]|0;
+ $9 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$8,$4)|0);
+ if ($9) {
+ $10 = ((($1)) + 16|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = ($11|0)==($2|0);
+ if (!($12)) {
+ $13 = ((($1)) + 20|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ($14|0)==($2|0);
+ if (!($15)) {
+ $18 = ((($1)) + 32|0);
+ HEAP32[$18>>2] = $3;
+ HEAP32[$13>>2] = $2;
+ $19 = ((($1)) + 40|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = (($20) + 1)|0;
+ HEAP32[$19>>2] = $21;
+ $22 = ((($1)) + 36|0);
+ $23 = HEAP32[$22>>2]|0;
+ $24 = ($23|0)==(1);
+ if ($24) {
+ $25 = ((($1)) + 24|0);
+ $26 = HEAP32[$25>>2]|0;
+ $27 = ($26|0)==(2);
+ if ($27) {
+ $28 = ((($1)) + 54|0);
+ HEAP8[$28>>0] = 1;
}
}
- $is_dst_type_derived_from_static_type = ((($info)) + 44|0);
- HEAP32[$is_dst_type_derived_from_static_type>>2] = 4;
+ $29 = ((($1)) + 44|0);
+ HEAP32[$29>>2] = 4;
break;
}
}
- $cmp7 = ($path_below|0)==(1);
- if ($cmp7) {
- $path_dynamic_ptr_to_dst_ptr = ((($info)) + 32|0);
- HEAP32[$path_dynamic_ptr_to_dst_ptr>>2] = 1;
+ $16 = ($3|0)==(1);
+ if ($16) {
+ $17 = ((($1)) + 32|0);
+ HEAP32[$17>>2] = 1;
}
}
}
} while(0);
return;
}
-function __ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($this,$info,$adjustedPtr,$path_below) {
- $this = $this|0;
- $info = $info|0;
- $adjustedPtr = $adjustedPtr|0;
- $path_below = $path_below|0;
- var $0 = 0, $call = 0, $static_type = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $4 = 0, $5 = 0, $6 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $static_type = ((($info)) + 8|0);
- $0 = HEAP32[$static_type>>2]|0;
- $call = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$0,0)|0);
- if ($call) {
- __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0,$info,$adjustedPtr,$path_below);
+ $4 = ((($1)) + 8|0);
+ $5 = HEAP32[$4>>2]|0;
+ $6 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$5,0)|0);
+ if ($6) {
+ __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0,$1,$2,$3);
}
return;
}
-function __ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($x,$y,$0) {
- $x = $x|0;
- $y = $y|0;
+function __ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$1,$2) {
$0 = $0|0;
- var $cmp = 0, label = 0, sp = 0;
+ $1 = $1|0;
+ $2 = $2|0;
+ var $3 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $cmp = ($x|0)==($y|0);
- return ($cmp|0);
+ $3 = ($0|0)==($1|0);
+ return ($3|0);
}
-function __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi($this,$info,$adjustedPtr,$path_below) {
- $this = $this|0;
- $info = $info|0;
- $adjustedPtr = $adjustedPtr|0;
- $path_below = $path_below|0;
- var $0 = 0, $1 = 0, $2 = 0, $add = 0, $cmp = 0, $cmp4 = 0, $cmp7 = 0, $dst_ptr_leading_to_static_ptr = 0, $number_to_static_ptr = 0, $number_to_static_ptr11 = 0, $path_dst_ptr_to_static_ptr = 0, $path_dst_ptr_to_static_ptr12 = 0, $path_dst_ptr_to_static_ptr6 = 0, $search_done = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $dst_ptr_leading_to_static_ptr = ((($info)) + 16|0);
- $0 = HEAP32[$dst_ptr_leading_to_static_ptr>>2]|0;
- $cmp = ($0|0)==(0|0);
+ $4 = ((($1)) + 16|0);
+ $5 = HEAP32[$4>>2]|0;
+ $6 = ($5|0)==(0|0);
do {
- if ($cmp) {
- HEAP32[$dst_ptr_leading_to_static_ptr>>2] = $adjustedPtr;
- $path_dst_ptr_to_static_ptr = ((($info)) + 24|0);
- HEAP32[$path_dst_ptr_to_static_ptr>>2] = $path_below;
- $number_to_static_ptr = ((($info)) + 36|0);
- HEAP32[$number_to_static_ptr>>2] = 1;
+ if ($6) {
+ HEAP32[$4>>2] = $2;
+ $7 = ((($1)) + 24|0);
+ HEAP32[$7>>2] = $3;
+ $8 = ((($1)) + 36|0);
+ HEAP32[$8>>2] = 1;
} else {
- $cmp4 = ($0|0)==($adjustedPtr|0);
- if (!($cmp4)) {
- $number_to_static_ptr11 = ((($info)) + 36|0);
- $2 = HEAP32[$number_to_static_ptr11>>2]|0;
- $add = (($2) + 1)|0;
- HEAP32[$number_to_static_ptr11>>2] = $add;
- $path_dst_ptr_to_static_ptr12 = ((($info)) + 24|0);
- HEAP32[$path_dst_ptr_to_static_ptr12>>2] = 2;
- $search_done = ((($info)) + 54|0);
- HEAP8[$search_done>>0] = 1;
+ $9 = ($5|0)==($2|0);
+ if (!($9)) {
+ $13 = ((($1)) + 36|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = (($14) + 1)|0;
+ HEAP32[$13>>2] = $15;
+ $16 = ((($1)) + 24|0);
+ HEAP32[$16>>2] = 2;
+ $17 = ((($1)) + 54|0);
+ HEAP8[$17>>0] = 1;
break;
}
- $path_dst_ptr_to_static_ptr6 = ((($info)) + 24|0);
- $1 = HEAP32[$path_dst_ptr_to_static_ptr6>>2]|0;
- $cmp7 = ($1|0)==(2);
- if ($cmp7) {
- HEAP32[$path_dst_ptr_to_static_ptr6>>2] = $path_below;
+ $10 = ((($1)) + 24|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = ($11|0)==(2);
+ if ($12) {
+ HEAP32[$10>>2] = $3;
}
}
} while(0);
return;
}
-function __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi($this,$info,$current_ptr,$path_below) {
- $this = $this|0;
- $info = $info|0;
- $current_ptr = $current_ptr|0;
- $path_below = $path_below|0;
- var $0 = 0, $1 = 0, $cmp = 0, $cmp2 = 0, $path_dynamic_ptr_to_static_ptr = 0, $static_ptr = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $static_ptr = ((($info)) + 4|0);
- $0 = HEAP32[$static_ptr>>2]|0;
- $cmp = ($0|0)==($current_ptr|0);
- if ($cmp) {
- $path_dynamic_ptr_to_static_ptr = ((($info)) + 28|0);
- $1 = HEAP32[$path_dynamic_ptr_to_static_ptr>>2]|0;
- $cmp2 = ($1|0)==(1);
- if (!($cmp2)) {
- HEAP32[$path_dynamic_ptr_to_static_ptr>>2] = $path_below;
+ $4 = ((($1)) + 4|0);
+ $5 = HEAP32[$4>>2]|0;
+ $6 = ($5|0)==($2|0);
+ if ($6) {
+ $7 = ((($1)) + 28|0);
+ $8 = HEAP32[$7>>2]|0;
+ $9 = ($8|0)==(1);
+ if (!($9)) {
+ HEAP32[$7>>2] = $3;
}
}
return;
}
-function __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i($this,$info,$dst_ptr,$current_ptr,$path_below) {
- $this = $this|0;
- $info = $info|0;
- $dst_ptr = $dst_ptr|0;
- $current_ptr = $current_ptr|0;
- $path_below = $path_below|0;
- var $0 = 0, $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $add = 0, $cmp = 0, $cmp10 = 0, $cmp13 = 0, $cmp18 = 0, $cmp2 = 0, $cmp21 = 0, $cmp5 = 0, $cmp7 = 0, $dst_ptr_leading_to_static_ptr = 0, $found_any_static_type = 0, $found_our_static_ptr = 0, $number_of_dst_type = 0;
- var $number_of_dst_type17 = 0, $number_to_static_ptr = 0, $number_to_static_ptr26 = 0, $or$cond = 0, $or$cond19 = 0, $path_dst_ptr_to_static_ptr = 0, $path_dst_ptr_to_static_ptr12 = 0, $search_done = 0, $search_done23 = 0, $search_done27 = 0, $static_ptr = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0;
+ var $30 = 0, $31 = 0, $32 = 0, $33 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond22 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $found_any_static_type = ((($info)) + 53|0);
- HEAP8[$found_any_static_type>>0] = 1;
- $static_ptr = ((($info)) + 4|0);
- $0 = HEAP32[$static_ptr>>2]|0;
- $cmp = ($0|0)==($current_ptr|0);
+ $5 = ((($1)) + 53|0);
+ HEAP8[$5>>0] = 1;
+ $6 = ((($1)) + 4|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = ($7|0)==($3|0);
do {
- if ($cmp) {
- $found_our_static_ptr = ((($info)) + 52|0);
- HEAP8[$found_our_static_ptr>>0] = 1;
- $dst_ptr_leading_to_static_ptr = ((($info)) + 16|0);
- $1 = HEAP32[$dst_ptr_leading_to_static_ptr>>2]|0;
- $cmp2 = ($1|0)==(0|0);
- if ($cmp2) {
- HEAP32[$dst_ptr_leading_to_static_ptr>>2] = $dst_ptr;
- $path_dst_ptr_to_static_ptr = ((($info)) + 24|0);
- HEAP32[$path_dst_ptr_to_static_ptr>>2] = $path_below;
- $number_to_static_ptr = ((($info)) + 36|0);
- HEAP32[$number_to_static_ptr>>2] = 1;
- $number_of_dst_type = ((($info)) + 48|0);
- $2 = HEAP32[$number_of_dst_type>>2]|0;
- $cmp5 = ($2|0)==(1);
- $cmp7 = ($path_below|0)==(1);
- $or$cond = $cmp5 & $cmp7;
+ if ($8) {
+ $9 = ((($1)) + 52|0);
+ HEAP8[$9>>0] = 1;
+ $10 = ((($1)) + 16|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = ($11|0)==(0|0);
+ if ($12) {
+ HEAP32[$10>>2] = $2;
+ $13 = ((($1)) + 24|0);
+ HEAP32[$13>>2] = $4;
+ $14 = ((($1)) + 36|0);
+ HEAP32[$14>>2] = 1;
+ $15 = ((($1)) + 48|0);
+ $16 = HEAP32[$15>>2]|0;
+ $17 = ($16|0)==(1);
+ $18 = ($4|0)==(1);
+ $or$cond = $17 & $18;
if (!($or$cond)) {
break;
}
- $search_done = ((($info)) + 54|0);
- HEAP8[$search_done>>0] = 1;
+ $19 = ((($1)) + 54|0);
+ HEAP8[$19>>0] = 1;
break;
}
- $cmp10 = ($1|0)==($dst_ptr|0);
- if (!($cmp10)) {
- $number_to_static_ptr26 = ((($info)) + 36|0);
- $6 = HEAP32[$number_to_static_ptr26>>2]|0;
- $add = (($6) + 1)|0;
- HEAP32[$number_to_static_ptr26>>2] = $add;
- $search_done27 = ((($info)) + 54|0);
- HEAP8[$search_done27>>0] = 1;
+ $20 = ($11|0)==($2|0);
+ if (!($20)) {
+ $30 = ((($1)) + 36|0);
+ $31 = HEAP32[$30>>2]|0;
+ $32 = (($31) + 1)|0;
+ HEAP32[$30>>2] = $32;
+ $33 = ((($1)) + 54|0);
+ HEAP8[$33>>0] = 1;
break;
}
- $path_dst_ptr_to_static_ptr12 = ((($info)) + 24|0);
- $3 = HEAP32[$path_dst_ptr_to_static_ptr12>>2]|0;
- $cmp13 = ($3|0)==(2);
- if ($cmp13) {
- HEAP32[$path_dst_ptr_to_static_ptr12>>2] = $path_below;
- $5 = $path_below;
+ $21 = ((($1)) + 24|0);
+ $22 = HEAP32[$21>>2]|0;
+ $23 = ($22|0)==(2);
+ if ($23) {
+ HEAP32[$21>>2] = $4;
+ $27 = $4;
} else {
- $5 = $3;
+ $27 = $22;
}
- $number_of_dst_type17 = ((($info)) + 48|0);
- $4 = HEAP32[$number_of_dst_type17>>2]|0;
- $cmp18 = ($4|0)==(1);
- $cmp21 = ($5|0)==(1);
- $or$cond19 = $cmp18 & $cmp21;
- if ($or$cond19) {
- $search_done23 = ((($info)) + 54|0);
- HEAP8[$search_done23>>0] = 1;
+ $24 = ((($1)) + 48|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = ($25|0)==(1);
+ $28 = ($27|0)==(1);
+ $or$cond22 = $26 & $28;
+ if ($or$cond22) {
+ $29 = ((($1)) + 54|0);
+ HEAP8[$29>>0] = 1;
}
}
} while(0);
return;
}
-function ___dynamic_cast($static_ptr,$static_type,$dst_type,$src2dst_offset) {
- $static_ptr = $static_ptr|0;
- $static_type = $static_type|0;
- $dst_type = $dst_type|0;
- $src2dst_offset = $src2dst_offset|0;
- var $$ = 0, $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $add$ptr = 0, $add$ptr$ = 0, $arrayidx = 0;
- var $arrayidx1 = 0, $call = 0, $cmp = 0, $cmp14 = 0, $cmp16 = 0, $cmp19 = 0, $cmp25 = 0, $cmp27 = 0, $cmp30 = 0, $cmp33 = 0, $dst_ptr$0 = 0, $dst_ptr_leading_to_static_ptr = 0, $dst_ptr_not_leading_to_static_ptr = 0, $info = 0, $number_of_dst_type = 0, $number_to_dst_ptr = 0, $number_to_static_ptr = 0, $or$cond = 0, $or$cond15 = 0, $or$cond16 = 0;
- var $or$cond17 = 0, $path_dst_ptr_to_static_ptr = 0, $path_dynamic_ptr_to_dst_ptr = 0, $path_dynamic_ptr_to_static_ptr = 0, $src2dst_offset5 = 0, $static_ptr3 = 0, $static_type4 = 0, $vfn = 0, $vfn11 = 0, $vtable10 = 0, $vtable7 = 0, dest = 0, label = 0, sp = 0, stop = 0;
+function ___dynamic_cast($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $$ = 0, $$0 = 0, $$33 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0;
+ var $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0;
+ var $46 = 0, $47 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $or$cond = 0, $or$cond28 = 0, $or$cond30 = 0, $or$cond32 = 0, dest = 0, label = 0, sp = 0, stop = 0;
sp = STACKTOP;
STACKTOP = STACKTOP + 64|0; if ((STACKTOP|0) >= (STACK_MAX|0)) abortStackOverflow(64|0);
- $info = sp;
- $0 = HEAP32[$static_ptr>>2]|0;
- $arrayidx = ((($0)) + -8|0);
- $1 = HEAP32[$arrayidx>>2]|0;
- $add$ptr = (($static_ptr) + ($1)|0);
- $arrayidx1 = ((($0)) + -4|0);
- $2 = HEAP32[$arrayidx1>>2]|0;
- HEAP32[$info>>2] = $dst_type;
- $static_ptr3 = ((($info)) + 4|0);
- HEAP32[$static_ptr3>>2] = $static_ptr;
- $static_type4 = ((($info)) + 8|0);
- HEAP32[$static_type4>>2] = $static_type;
- $src2dst_offset5 = ((($info)) + 12|0);
- HEAP32[$src2dst_offset5>>2] = $src2dst_offset;
- $dst_ptr_leading_to_static_ptr = ((($info)) + 16|0);
- $dst_ptr_not_leading_to_static_ptr = ((($info)) + 20|0);
- $path_dst_ptr_to_static_ptr = ((($info)) + 24|0);
- $path_dynamic_ptr_to_static_ptr = ((($info)) + 28|0);
- $path_dynamic_ptr_to_dst_ptr = ((($info)) + 32|0);
- $number_to_dst_ptr = ((($info)) + 40|0);
- dest=$dst_ptr_leading_to_static_ptr; stop=dest+36|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));HEAP16[$dst_ptr_leading_to_static_ptr+36>>1]=0|0;HEAP8[$dst_ptr_leading_to_static_ptr+38>>0]=0|0;
- $call = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($2,$dst_type,0)|0);
+ $4 = sp;
+ $5 = HEAP32[$0>>2]|0;
+ $6 = ((($5)) + -8|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (($0) + ($7)|0);
+ $9 = ((($5)) + -4|0);
+ $10 = HEAP32[$9>>2]|0;
+ HEAP32[$4>>2] = $2;
+ $11 = ((($4)) + 4|0);
+ HEAP32[$11>>2] = $0;
+ $12 = ((($4)) + 8|0);
+ HEAP32[$12>>2] = $1;
+ $13 = ((($4)) + 12|0);
+ HEAP32[$13>>2] = $3;
+ $14 = ((($4)) + 16|0);
+ $15 = ((($4)) + 20|0);
+ $16 = ((($4)) + 24|0);
+ $17 = ((($4)) + 28|0);
+ $18 = ((($4)) + 32|0);
+ $19 = ((($4)) + 40|0);
+ dest=$14; stop=dest+36|0; do { HEAP32[dest>>2]=0|0; dest=dest+4|0; } while ((dest|0) < (stop|0));HEAP16[$14+36>>1]=0|0;HEAP8[$14+38>>0]=0|0;
+ $20 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($10,$2,0)|0);
L1: do {
- if ($call) {
- $number_of_dst_type = ((($info)) + 48|0);
- HEAP32[$number_of_dst_type>>2] = 1;
- $vtable7 = HEAP32[$2>>2]|0;
- $vfn = ((($vtable7)) + 20|0);
- $3 = HEAP32[$vfn>>2]|0;
- FUNCTION_TABLE_viiiiii[$3 & 15]($2,$info,$add$ptr,$add$ptr,1,0);
- $4 = HEAP32[$path_dst_ptr_to_static_ptr>>2]|0;
- $cmp = ($4|0)==(1);
- $add$ptr$ = $cmp ? $add$ptr : 0;
- $dst_ptr$0 = $add$ptr$;
+ if ($20) {
+ $21 = ((($4)) + 48|0);
+ HEAP32[$21>>2] = 1;
+ $22 = HEAP32[$10>>2]|0;
+ $23 = ((($22)) + 20|0);
+ $24 = HEAP32[$23>>2]|0;
+ FUNCTION_TABLE_viiiiii[$24 & 15]($10,$4,$8,$8,1,0);
+ $25 = HEAP32[$16>>2]|0;
+ $26 = ($25|0)==(1);
+ $$ = $26 ? $8 : 0;
+ $$0 = $$;
} else {
- $number_to_static_ptr = ((($info)) + 36|0);
- $vtable10 = HEAP32[$2>>2]|0;
- $vfn11 = ((($vtable10)) + 24|0);
- $5 = HEAP32[$vfn11>>2]|0;
- FUNCTION_TABLE_viiiii[$5 & 15]($2,$info,$add$ptr,1,0);
- $6 = HEAP32[$number_to_static_ptr>>2]|0;
- switch ($6|0) {
+ $27 = ((($4)) + 36|0);
+ $28 = HEAP32[$10>>2]|0;
+ $29 = ((($28)) + 24|0);
+ $30 = HEAP32[$29>>2]|0;
+ FUNCTION_TABLE_viiiii[$30 & 15]($10,$4,$8,1,0);
+ $31 = HEAP32[$27>>2]|0;
+ switch ($31|0) {
case 0: {
- $7 = HEAP32[$number_to_dst_ptr>>2]|0;
- $cmp14 = ($7|0)==(1);
- $8 = HEAP32[$path_dynamic_ptr_to_static_ptr>>2]|0;
- $cmp16 = ($8|0)==(1);
- $or$cond = $cmp14 & $cmp16;
- $9 = HEAP32[$path_dynamic_ptr_to_dst_ptr>>2]|0;
- $cmp19 = ($9|0)==(1);
- $or$cond15 = $or$cond & $cmp19;
- $10 = HEAP32[$dst_ptr_not_leading_to_static_ptr>>2]|0;
- $$ = $or$cond15 ? $10 : 0;
- $dst_ptr$0 = $$;
+ $32 = HEAP32[$19>>2]|0;
+ $33 = ($32|0)==(1);
+ $34 = HEAP32[$17>>2]|0;
+ $35 = ($34|0)==(1);
+ $or$cond = $33 & $35;
+ $36 = HEAP32[$18>>2]|0;
+ $37 = ($36|0)==(1);
+ $or$cond28 = $or$cond & $37;
+ $38 = HEAP32[$15>>2]|0;
+ $$33 = $or$cond28 ? $38 : 0;
+ $$0 = $$33;
break L1;
break;
}
@@ -103809,237 +103810,237 @@ function ___dynamic_cast($static_ptr,$static_type,$dst_type,$src2dst_offset) {
break;
}
default: {
- $dst_ptr$0 = 0;
+ $$0 = 0;
break L1;
}
}
- $11 = HEAP32[$path_dst_ptr_to_static_ptr>>2]|0;
- $cmp25 = ($11|0)==(1);
- if (!($cmp25)) {
- $12 = HEAP32[$number_to_dst_ptr>>2]|0;
- $cmp27 = ($12|0)==(0);
- $13 = HEAP32[$path_dynamic_ptr_to_static_ptr>>2]|0;
- $cmp30 = ($13|0)==(1);
- $or$cond16 = $cmp27 & $cmp30;
- $14 = HEAP32[$path_dynamic_ptr_to_dst_ptr>>2]|0;
- $cmp33 = ($14|0)==(1);
- $or$cond17 = $or$cond16 & $cmp33;
- if (!($or$cond17)) {
- $dst_ptr$0 = 0;
+ $39 = HEAP32[$16>>2]|0;
+ $40 = ($39|0)==(1);
+ if (!($40)) {
+ $41 = HEAP32[$19>>2]|0;
+ $42 = ($41|0)==(0);
+ $43 = HEAP32[$17>>2]|0;
+ $44 = ($43|0)==(1);
+ $or$cond30 = $42 & $44;
+ $45 = HEAP32[$18>>2]|0;
+ $46 = ($45|0)==(1);
+ $or$cond32 = $or$cond30 & $46;
+ if (!($or$cond32)) {
+ $$0 = 0;
break;
}
}
- $15 = HEAP32[$dst_ptr_leading_to_static_ptr>>2]|0;
- $dst_ptr$0 = $15;
+ $47 = HEAP32[$14>>2]|0;
+ $$0 = $47;
}
} while(0);
- STACKTOP = sp;return ($dst_ptr$0|0);
+ STACKTOP = sp;return ($$0|0);
}
-function __ZN10__cxxabiv120__si_class_type_infoD0Ev($this) {
- $this = $this|0;
+function __ZN10__cxxabiv120__si_class_type_infoD0Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
- __ZN10__cxxabiv116__shim_type_infoD2Ev($this);
- __ZdlPv($this);
+ __ZN10__cxxabiv116__shim_type_infoD2Ev($0);
+ __ZdlPv($0);
return;
}
-function __ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($this,$info,$dst_ptr,$current_ptr,$path_below,$use_strcmp) {
- $this = $this|0;
- $info = $info|0;
- $dst_ptr = $dst_ptr|0;
- $current_ptr = $current_ptr|0;
- $path_below = $path_below|0;
- $use_strcmp = $use_strcmp|0;
- var $0 = 0, $1 = 0, $2 = 0, $__base_type = 0, $call = 0, $static_type = 0, $vfn = 0, $vtable = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib($0,$1,$2,$3,$4,$5) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ $5 = $5|0;
+ var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $static_type = ((($info)) + 8|0);
- $0 = HEAP32[$static_type>>2]|0;
- $call = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$0,$use_strcmp)|0);
- if ($call) {
- __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0,$info,$dst_ptr,$current_ptr,$path_below);
+ $6 = ((($1)) + 8|0);
+ $7 = HEAP32[$6>>2]|0;
+ $8 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$7,$5)|0);
+ if ($8) {
+ __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0,$1,$2,$3,$4);
} else {
- $__base_type = ((($this)) + 8|0);
- $1 = HEAP32[$__base_type>>2]|0;
- $vtable = HEAP32[$1>>2]|0;
- $vfn = ((($vtable)) + 20|0);
- $2 = HEAP32[$vfn>>2]|0;
- FUNCTION_TABLE_viiiiii[$2 & 15]($1,$info,$dst_ptr,$current_ptr,$path_below,$use_strcmp);
+ $9 = ((($0)) + 8|0);
+ $10 = HEAP32[$9>>2]|0;
+ $11 = HEAP32[$10>>2]|0;
+ $12 = ((($11)) + 20|0);
+ $13 = HEAP32[$12>>2]|0;
+ FUNCTION_TABLE_viiiiii[$13 & 15]($10,$1,$2,$3,$4,$5);
}
return;
}
-function __ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($this,$info,$current_ptr,$path_below,$use_strcmp) {
- $this = $this|0;
- $info = $info|0;
- $current_ptr = $current_ptr|0;
- $path_below = $path_below|0;
- $use_strcmp = $use_strcmp|0;
- var $0 = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $__base_type = 0, $__base_type40 = 0, $add = 0, $call = 0, $call3 = 0, $cmp = 0;
- var $cmp11 = 0, $cmp26 = 0, $cmp27 = 0, $cmp5 = 0, $cmp7 = 0, $dst_ptr_leading_to_static_ptr = 0, $dst_ptr_not_leading_to_static_ptr = 0, $found_any_static_type = 0, $found_our_static_ptr = 0, $is_dst_type_derived_from_static_type = 0, $is_dst_type_derived_from_static_type13$0$off032 = 0, $is_dst_type_derived_from_static_type13$0$off033 = 0, $number_to_dst_ptr = 0, $number_to_static_ptr = 0, $path_dst_ptr_to_static_ptr = 0, $path_dynamic_ptr_to_dst_ptr = 0, $path_dynamic_ptr_to_dst_ptr10 = 0, $search_done = 0, $static_type = 0, $tobool16 = 0;
- var $tobool19 = 0, $vfn = 0, $vfn42 = 0, $vtable = 0, $vtable41 = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib($0,$1,$2,$3,$4) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ $4 = $4|0;
+ var $$037$off038 = 0, $$037$off039 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0;
+ var $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0;
+ var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $static_type = ((($info)) + 8|0);
- $0 = HEAP32[$static_type>>2]|0;
- $call = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$0,$use_strcmp)|0);
+ $5 = ((($1)) + 8|0);
+ $6 = HEAP32[$5>>2]|0;
+ $7 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$6,$4)|0);
do {
- if ($call) {
- __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0,$info,$current_ptr,$path_below);
+ if ($7) {
+ __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0,$1,$2,$3);
} else {
- $1 = HEAP32[$info>>2]|0;
- $call3 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$1,$use_strcmp)|0);
- if (!($call3)) {
- $__base_type40 = ((($this)) + 8|0);
- $12 = HEAP32[$__base_type40>>2]|0;
- $vtable41 = HEAP32[$12>>2]|0;
- $vfn42 = ((($vtable41)) + 24|0);
- $13 = HEAP32[$vfn42>>2]|0;
- FUNCTION_TABLE_viiiii[$13 & 15]($12,$info,$current_ptr,$path_below,$use_strcmp);
+ $8 = HEAP32[$1>>2]|0;
+ $9 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$8,$4)|0);
+ if (!($9)) {
+ $43 = ((($0)) + 8|0);
+ $44 = HEAP32[$43>>2]|0;
+ $45 = HEAP32[$44>>2]|0;
+ $46 = ((($45)) + 24|0);
+ $47 = HEAP32[$46>>2]|0;
+ FUNCTION_TABLE_viiiii[$47 & 15]($44,$1,$2,$3,$4);
break;
}
- $dst_ptr_leading_to_static_ptr = ((($info)) + 16|0);
- $2 = HEAP32[$dst_ptr_leading_to_static_ptr>>2]|0;
- $cmp = ($2|0)==($current_ptr|0);
- if (!($cmp)) {
- $dst_ptr_not_leading_to_static_ptr = ((($info)) + 20|0);
- $3 = HEAP32[$dst_ptr_not_leading_to_static_ptr>>2]|0;
- $cmp5 = ($3|0)==($current_ptr|0);
- if (!($cmp5)) {
- $path_dynamic_ptr_to_dst_ptr10 = ((($info)) + 32|0);
- HEAP32[$path_dynamic_ptr_to_dst_ptr10>>2] = $path_below;
- $is_dst_type_derived_from_static_type = ((($info)) + 44|0);
- $4 = HEAP32[$is_dst_type_derived_from_static_type>>2]|0;
- $cmp11 = ($4|0)==(4);
- if ($cmp11) {
+ $10 = ((($1)) + 16|0);
+ $11 = HEAP32[$10>>2]|0;
+ $12 = ($11|0)==($2|0);
+ if (!($12)) {
+ $13 = ((($1)) + 20|0);
+ $14 = HEAP32[$13>>2]|0;
+ $15 = ($14|0)==($2|0);
+ if (!($15)) {
+ $18 = ((($1)) + 32|0);
+ HEAP32[$18>>2] = $3;
+ $19 = ((($1)) + 44|0);
+ $20 = HEAP32[$19>>2]|0;
+ $21 = ($20|0)==(4);
+ if ($21) {
break;
}
- $found_our_static_ptr = ((($info)) + 52|0);
- HEAP8[$found_our_static_ptr>>0] = 0;
- $found_any_static_type = ((($info)) + 53|0);
- HEAP8[$found_any_static_type>>0] = 0;
- $__base_type = ((($this)) + 8|0);
- $5 = HEAP32[$__base_type>>2]|0;
- $vtable = HEAP32[$5>>2]|0;
- $vfn = ((($vtable)) + 20|0);
- $6 = HEAP32[$vfn>>2]|0;
- FUNCTION_TABLE_viiiiii[$6 & 15]($5,$info,$current_ptr,$current_ptr,1,$use_strcmp);
- $7 = HEAP8[$found_any_static_type>>0]|0;
- $tobool16 = ($7<<24>>24)==(0);
- if ($tobool16) {
- $is_dst_type_derived_from_static_type13$0$off032 = 4;
+ $22 = ((($1)) + 52|0);
+ HEAP8[$22>>0] = 0;
+ $23 = ((($1)) + 53|0);
+ HEAP8[$23>>0] = 0;
+ $24 = ((($0)) + 8|0);
+ $25 = HEAP32[$24>>2]|0;
+ $26 = HEAP32[$25>>2]|0;
+ $27 = ((($26)) + 20|0);
+ $28 = HEAP32[$27>>2]|0;
+ FUNCTION_TABLE_viiiiii[$28 & 15]($25,$1,$2,$2,1,$4);
+ $29 = HEAP8[$23>>0]|0;
+ $30 = ($29<<24>>24)==(0);
+ if ($30) {
+ $$037$off038 = 4;
label = 11;
} else {
- $8 = HEAP8[$found_our_static_ptr>>0]|0;
- $tobool19 = ($8<<24>>24)==(0);
- if ($tobool19) {
- $is_dst_type_derived_from_static_type13$0$off032 = 3;
+ $31 = HEAP8[$22>>0]|0;
+ $32 = ($31<<24>>24)==(0);
+ if ($32) {
+ $$037$off038 = 3;
label = 11;
} else {
- $is_dst_type_derived_from_static_type13$0$off033 = 3;
+ $$037$off039 = 3;
}
}
if ((label|0) == 11) {
- HEAP32[$dst_ptr_not_leading_to_static_ptr>>2] = $current_ptr;
- $number_to_dst_ptr = ((($info)) + 40|0);
- $9 = HEAP32[$number_to_dst_ptr>>2]|0;
- $add = (($9) + 1)|0;
- HEAP32[$number_to_dst_ptr>>2] = $add;
- $number_to_static_ptr = ((($info)) + 36|0);
- $10 = HEAP32[$number_to_static_ptr>>2]|0;
- $cmp26 = ($10|0)==(1);
- if ($cmp26) {
- $path_dst_ptr_to_static_ptr = ((($info)) + 24|0);
- $11 = HEAP32[$path_dst_ptr_to_static_ptr>>2]|0;
- $cmp27 = ($11|0)==(2);
- if ($cmp27) {
- $search_done = ((($info)) + 54|0);
- HEAP8[$search_done>>0] = 1;
- $is_dst_type_derived_from_static_type13$0$off033 = $is_dst_type_derived_from_static_type13$0$off032;
+ HEAP32[$13>>2] = $2;
+ $33 = ((($1)) + 40|0);
+ $34 = HEAP32[$33>>2]|0;
+ $35 = (($34) + 1)|0;
+ HEAP32[$33>>2] = $35;
+ $36 = ((($1)) + 36|0);
+ $37 = HEAP32[$36>>2]|0;
+ $38 = ($37|0)==(1);
+ if ($38) {
+ $39 = ((($1)) + 24|0);
+ $40 = HEAP32[$39>>2]|0;
+ $41 = ($40|0)==(2);
+ if ($41) {
+ $42 = ((($1)) + 54|0);
+ HEAP8[$42>>0] = 1;
+ $$037$off039 = $$037$off038;
} else {
- $is_dst_type_derived_from_static_type13$0$off033 = $is_dst_type_derived_from_static_type13$0$off032;
+ $$037$off039 = $$037$off038;
}
} else {
- $is_dst_type_derived_from_static_type13$0$off033 = $is_dst_type_derived_from_static_type13$0$off032;
+ $$037$off039 = $$037$off038;
}
}
- HEAP32[$is_dst_type_derived_from_static_type>>2] = $is_dst_type_derived_from_static_type13$0$off033;
+ HEAP32[$19>>2] = $$037$off039;
break;
}
}
- $cmp7 = ($path_below|0)==(1);
- if ($cmp7) {
- $path_dynamic_ptr_to_dst_ptr = ((($info)) + 32|0);
- HEAP32[$path_dynamic_ptr_to_dst_ptr>>2] = 1;
+ $16 = ($3|0)==(1);
+ if ($16) {
+ $17 = ((($1)) + 32|0);
+ HEAP32[$17>>2] = 1;
}
}
} while(0);
return;
}
-function __ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($this,$info,$adjustedPtr,$path_below) {
- $this = $this|0;
- $info = $info|0;
- $adjustedPtr = $adjustedPtr|0;
- $path_below = $path_below|0;
- var $0 = 0, $1 = 0, $2 = 0, $__base_type = 0, $call = 0, $static_type = 0, $vfn = 0, $vtable = 0, label = 0, sp = 0;
+function __ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi($0,$1,$2,$3) {
+ $0 = $0|0;
+ $1 = $1|0;
+ $2 = $2|0;
+ $3 = $3|0;
+ var $10 = 0, $11 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $static_type = ((($info)) + 8|0);
- $0 = HEAP32[$static_type>>2]|0;
- $call = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($this,$0,0)|0);
- if ($call) {
- __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0,$info,$adjustedPtr,$path_below);
+ $4 = ((($1)) + 8|0);
+ $5 = HEAP32[$4>>2]|0;
+ $6 = (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b($0,$5,0)|0);
+ if ($6) {
+ __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0,$1,$2,$3);
} else {
- $__base_type = ((($this)) + 8|0);
- $1 = HEAP32[$__base_type>>2]|0;
- $vtable = HEAP32[$1>>2]|0;
- $vfn = ((($vtable)) + 28|0);
- $2 = HEAP32[$vfn>>2]|0;
- FUNCTION_TABLE_viiii[$2 & 15]($1,$info,$adjustedPtr,$path_below);
+ $7 = ((($0)) + 8|0);
+ $8 = HEAP32[$7>>2]|0;
+ $9 = HEAP32[$8>>2]|0;
+ $10 = ((($9)) + 28|0);
+ $11 = HEAP32[$10>>2]|0;
+ FUNCTION_TABLE_viiii[$11 & 15]($8,$1,$2,$3);
}
return;
}
-function __ZNSt9type_infoD2Ev($this) {
- $this = $this|0;
+function __ZNSt9type_infoD2Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
return;
}
-function __ZNSt9bad_allocD2Ev($this) {
- $this = $this|0;
+function __ZNSt9bad_allocD2Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
return;
}
-function __ZNSt9bad_allocD0Ev($this) {
- $this = $this|0;
+function __ZNSt9bad_allocD0Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
- __ZNSt9bad_allocD2Ev($this);
- __ZdlPv($this);
+ __ZNSt9bad_allocD2Ev($0);
+ __ZdlPv($0);
return;
}
-function __ZNKSt9bad_alloc4whatEv($this) {
- $this = $this|0;
+function __ZNKSt9bad_alloc4whatEv($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
- return (33500|0);
+ return (33534|0);
}
-function __ZNSt9exceptionD2Ev($this) {
- $this = $this|0;
+function __ZNSt9exceptionD2Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
return;
}
-function __ZNSt9bad_allocC2Ev($this) {
- $this = $this|0;
+function __ZNSt9bad_allocC2Ev($0) {
+ $0 = $0|0;
var label = 0, sp = 0;
sp = STACKTOP;
- HEAP32[$this>>2] = (22840);
+ HEAP32[$0>>2] = (22840);
return;
}
function __ZSt15get_new_handlerv() {
var $0 = 0, $1 = 0, $2 = 0, label = 0, sp = 0;
sp = STACKTOP;
- $0 = HEAP32[8526]|0;
+ $0 = HEAP32[8536]|0;
$1 = (($0) + 0)|0;
- HEAP32[8526] = $1;
+ HEAP32[8536] = $1;
$2 = $0;
return ($2|0);
}
diff --git a/asm/generated/libopus.js b/asm/generated/libopus.js
index 3dc84e0c..29ee2a16 100644
--- a/asm/generated/libopus.js
+++ b/asm/generated/libopus.js
@@ -22,14 +22,13 @@ a.f={abort:y,assert:assert,enlargeMemory:function(){K()},getTotalMemory:function
var X=(/** @suppress {uselessCode} */ function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=0;var o=0;var p=0;var q=0;var r=global.NaN,s=global.Infinity;var t=0,u=0,v=0,w=0,x=0.0;var y=0;var z=global.Math.floor;var A=global.Math.abs;var B=global.Math.sqrt;var C=global.Math.pow;var D=global.Math.cos;var E=global.Math.sin;var F=global.Math.tan;var G=global.Math.acos;var H=global.Math.asin;var I=global.Math.atan;var J=global.Math.atan2;var K=global.Math.exp;var L=global.Math.log;var M=global.Math.ceil;var N=global.Math.imul;var O=global.Math.min;var P=global.Math.max;var Q=global.Math.clz32;var R=env.abort;var S=env.assert;var T=env.enlargeMemory;var U=env.getTotalMemory;var V=env.abortOnCannotGrowMemory;var W=env.invoke_viiiiiii;var X=env.___setErrNo;var Y=env._emscripten_memcpy_big;var Z=env._llvm_pow_f64;var _=env._llvm_stackrestore;var $=env._llvm_stacksave;var aa=0.0;
// EMSCRIPTEN_START_FUNCS
-function hb(a,d,e,f,h,i,j,k,m,n,o,p,q){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=+n;o=o|0;p=+p;q=q|0;var r=0,s=0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((c[t>>2]|0)+(b[(c[(c[I>>2]|0)+32>>2]|0)+(c[H>>2]<<1)>>1]<>2])<<2)|0,(b[(c[(c[I>>2]|0)+32>>2]|0)+((c[H>>2]|0)+1<<1)>>1]|0)-(b[(c[(c[I>>2]|0)+32>>2]|0)+(c[H>>2]<<1)>>1]|0)<>2]);if(+g[x>>2]<+A(+(+g[w>>2])))p=+g[x>>2];else p=+A(+(+g[w>>2]));g[x>>2]=p;c[H>>2]=(c[H>>2]|0)+1}if(1.0<+A(+(+g[x>>2])))p=1.0;else p=+A(+(+g[x>>2]));g[x>>2]=p;g[B>>2]=+L(+(1.0010000467300415-+g[y>>2]*+g[y>>2]))*1.4426950408889634;if(+g[B>>2]*.5>+L(+(1.0010000467300415-+g[x>>2]*+g[x>>2]))*1.4426950408889634)p=+g[B>>2]*.5;else p=+L(+(1.0010000467300415-+g[x>>2]*+g[x>>2]))*1.4426950408889634;g[C>>2]=p;g[Q>>2]=+g[Q>>2]+(-4.0>+g[B>>2]*.75?-4.0:+g[B>>2]*.75);if(+g[c[J>>2]>>2]+.25<-(+g[C>>2]*.5))p=+g[c[J>>2]>>2]+.25;else p=-(+g[C>>2]*.5);g[c[J>>2]>>2]=p}c[F>>2]=0;do{c[H>>2]=0;while(1){if((c[H>>2]|0)>=((c[G>>2]|0)-1|0))break;n=+g[(c[E>>2]|0)+((c[H>>2]|0)+(N(c[F>>2]|0,c[(c[I>>2]|0)+8>>2]|0)|0)<<2)>>2];g[K>>2]=+g[K>>2]+n*+(2+(c[H>>2]<<1)-(c[G>>2]|0)|0);c[H>>2]=(c[H>>2]|0)+1}J=(c[F>>2]|0)+1|0;c[F>>2]=J}while((J|0)<(c[D>>2]|0));n=+(N(c[D>>2]|0,(c[G>>2]|0)-1|0)|0);g[K>>2]=+g[K>>2]/n;if(2.0<(+g[K>>2]+1.0)/6.0)p=2.0;else p=(+g[K>>2]+1.0)/6.0;if(!(-2.0>p))if(2.0<(+g[K>>2]+1.0)/6.0)p=2.0;else p=(+g[K>>2]+1.0)/6.0;else p=-2.0;g[Q>>2]=+g[Q>>2]-p;g[Q>>2]=+g[Q>>2]-+g[M>>2];g[Q>>2]=+g[Q>>2]-+g[O>>2]*2.0;if(c[c[P>>2]>>2]|0){if(2.0<(+g[(c[P>>2]|0)+8>>2]+.05000000074505806)*2.0)p=2.0;else p=(+g[(c[P>>2]|0)+8>>2]+.05000000074505806)*2.0;if(!(-2.0>p))if(2.0<(+g[(c[P>>2]|0)+8>>2]+.05000000074505806)*2.0)p=2.0;else p=(+g[(c[P>>2]|0)+8>>2]+.05000000074505806)*2.0;else p=-2.0;g[Q>>2]=+g[Q>>2]-p}c[R>>2]=~~+z(+(+g[Q>>2]+.5));if(0>((10<(c[R>>2]|0)?10:c[R>>2]|0)|0)){Q=0;c[R>>2]=Q;R=c[R>>2]|0;l=S;return R|0}Q=10<(c[R>>2]|0)?10:c[R>>2]|0;c[R>>2]=Q;R=c[R>>2]|0;l=S;return R|0}function ib(a,d,e,f,h,i,j,k,m,n,o,p,q,r,s,t,u,v,w){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=+n;o=o|0;p=+p;q=q|0;r=+r;s=s|0;t=t|0;u=u|0;v=+v;w=+w;var x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0;ea=l;l=l+144|0;ga=ea+140|0;D=ea+136|0;aa=ea+132|0;P=ea+128|0;W=ea+124|0;fa=ea+120|0;O=ea+116|0;A=ea+112|0;X=ea+108|0;C=ea+104|0;F=ea+100|0;_=ea+96|0;I=ea+92|0;U=ea+88|0;G=ea+84|0;T=ea+80|0;Y=ea+76|0;J=ea+72|0;ca=ea+68|0;ba=ea+64|0;H=ea+60|0;x=ea+56|0;E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>>2]|0)-~~(r*+(j|0))}c[ba>>2]=(c[ba>>2]|0)+((c[F>>2]|0)-(16<>2]));g[E>>2]=(c[G>>2]|0)==5010?.019999999552965164:.03999999910593033;c[ba>>2]=(c[ba>>2]|0)+~~((+g[_>>2]-+g[E>>2])*+(c[ba>>2]|0));if(!(c[T>>2]|0?1:(c[c[D>>2]>>2]|0)==0)){if(0.0>+g[(c[D>>2]|0)+4>>2]-.15000000596046448)r=0.0;else r=+g[(c[D>>2]|0)+4>>2]-.15000000596046448;g[L>>2]=r-.09000000357627869;c[M>>2]=(c[ba>>2]|0)+~~(+(c[H>>2]<<3|0)*1.2000000476837158*+g[L>>2]);if(c[I>>2]|0)c[M>>2]=(c[M>>2]|0)+~~(+(c[H>>2]<<3|0)*.800000011920929);c[ba>>2]=c[M>>2]}if(!((c[Y>>2]|0)==0|(c[T>>2]|0)!=0)){c[K>>2]=(c[ba>>2]|0)+~~(+g[J>>2]*+(c[H>>2]<<3|0));if(((c[ba>>2]|0)/4|0|0)>(c[K>>2]|0))j=(c[ba>>2]|0)/4|0;else j=c[K>>2]|0;c[ba>>2]=j}c[Q>>2]=b[(c[R>>2]|0)+((c[V>>2]|0)-2<<1)>>1]<>2];p=+((N(c[O>>2]|0,c[Q>>2]|0)|0)<<3|0);c[S>>2]=~~(p*+g[U>>2]);c[S>>2]=(c[S>>2]|0)>(c[ba>>2]>>2|0)?c[S>>2]|0:c[ba>>2]>>2;c[ba>>2]=(c[ba>>2]|0)<(c[S>>2]|0)?c[ba>>2]|0:c[S>>2]|0;if((c[Y>>2]|0)==0|(c[T>>2]|0)!=0?(c[X>>2]|0)!=0|(c[W>>2]|0)<64e3:0){if(0.0>+((c[W>>2]|0)-32e3|0)*.000030517578125)r=0.0;else r=+((c[W>>2]|0)-32e3|0)*.000030517578125;g[Z>>2]=r;if(c[X>>2]|0)g[Z>>2]=+g[Z>>2]<.6700000166893005?+g[Z>>2]:.6700000166893005;c[ba>>2]=(c[aa>>2]|0)+~~(+g[Z>>2]*+((c[ba>>2]|0)-(c[aa>>2]|0)|0))}if(!((c[Y>>2]|0)==0&+g[_>>2]<.20000000298023224)){fa=c[aa>>2]|0;fa=fa<<1;da=c[ba>>2]|0;da=(fa|0)<(da|0);fa=c[aa>>2]|0;fa=fa<<1;ga=c[ba>>2]|0;ga=da?fa:ga;c[ba>>2]=ga;ga=c[ba>>2]|0;l=ea;return ga|0}if(0>((32e3<(96e3-(c[W>>2]|0)|0)?32e3:96e3-(c[W>>2]|0)|0)|0))j=0;else j=32e3<(96e3-(c[W>>2]|0)|0)?32e3:96e3-(c[W>>2]|0)|0;g[$>>2]=+(j|0)*3.099999958067201e-06;g[da>>2]=+g[ca>>2]*+g[$>>2];c[ba>>2]=(c[ba>>2]|0)+~~(+g[da>>2]*+(c[ba>>2]|0));fa=c[aa>>2]|0;fa=fa<<1;da=c[ba>>2]|0;da=(fa|0)<(da|0);fa=c[aa>>2]|0;fa=fa<<1;ga=c[ba>>2]|0;ga=da?fa:ga;c[ba>>2]=ga;ga=c[ba>>2]|0;l=ea;return ga|0}function jb(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;l=d;return c[(c[b>>2]|0)+44>>2]|0}function kb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;i=m+16|0;k=m+12|0;f=m+8|0;h=m+4|0;j=m;c[i>>2]=a;c[k>>2]=b;c[f>>2]=d;g[j>>2]=0.0;c[h>>2]=0;while(1){e=+g[j>>2];if((c[h>>2]|0)>=(c[f>>2]|0))break;g[j>>2]=e+ +g[(c[i>>2]|0)+(c[h>>2]<<2)>>2]*+g[(c[k>>2]|0)+(c[h>>2]<<2)>>2];c[h>>2]=(c[h>>2]|0)+1}l=m;return +e}function lb(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0.0;n=l;l=l+48|0;b=n+32|0;m=n+28|0;d=n+24|0;e=n+20|0;f=n+16|0;h=n+12|0;i=n+8|0;j=n+4|0;k=n;c[m>>2]=a;g[f>>2]=+g[(c[m>>2]|0)+8>>2];a=c[m>>2]|0;if(+g[c[m>>2]>>2]>+g[(c[m>>2]|0)+4>>2]){g[d>>2]=+g[a+4>>2];g[e>>2]=+g[c[m>>2]>>2]}else{g[d>>2]=+g[a>>2];g[e>>2]=+g[(c[m>>2]|0)+4>>2]}a=c[m>>2]|0;if(+g[(c[m>>2]|0)+12>>2]>+g[(c[m>>2]|0)+16>>2]){g[h>>2]=+g[a+16>>2];g[i>>2]=+g[(c[m>>2]|0)+12>>2]}else{g[h>>2]=+g[a+12>>2];g[i>>2]=+g[(c[m>>2]|0)+16>>2]}if(+g[d>>2]>+g[h>>2]){g[j>>2]=+g[d>>2];g[d>>2]=+g[h>>2];g[h>>2]=+g[j>>2];g[k>>2]=+g[e>>2];g[e>>2]=+g[i>>2];g[i>>2]=+g[k>>2]}if(+g[f>>2]>+g[e>>2])if(+g[e>>2]<+g[h>>2]){g[b>>2]=+g[f>>2]<+g[h>>2]?+g[f>>2]:+g[h>>2];o=+g[b>>2];l=n;return +o}else{g[b>>2]=+g[i>>2]<+g[e>>2]?+g[i>>2]:+g[e>>2];o=+g[b>>2];l=n;return +o}else if(+g[f>>2]<+g[h>>2]){g[b>>2]=+g[e>>2]<+g[h>>2]?+g[e>>2]:+g[h>>2];o=+g[b>>2];l=n;return +o}else{g[b>>2]=+g[f>>2]<+g[i>>2]?+g[f>>2]:+g[i>>2];o=+g[b>>2];l=n;return +o}return 0.0}function mb(a){a=a|0;var b=0,d=0,e=0,f=0,h=0,i=0,j=0.0;i=l;l=l+32|0;b=i+16|0;h=i+12|0;d=i+8|0;e=i+4|0;f=i;c[h>>2]=a;a=c[h>>2]|0;if(+g[c[h>>2]>>2]>+g[(c[h>>2]|0)+4>>2]){g[d>>2]=+g[a+4>>2];g[e>>2]=+g[c[h>>2]>>2]}else{g[d>>2]=+g[a>>2];g[e>>2]=+g[(c[h>>2]|0)+4>>2]}g[f>>2]=+g[(c[h>>2]|0)+8>>2];if(+g[e>>2]<+g[f>>2]){g[b>>2]=+g[e>>2];j=+g[b>>2];l=i;return +j}if(+g[d>>2]<+g[f>>2]){g[b>>2]=+g[f>>2];j=+g[b>>2];l=i;return +j}else{g[b>>2]=+g[d>>2];j=+g[b>>2];l=i;return +j}return 0.0}function nb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var f=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;m=n+20|0;i=n+16|0;h=n+12|0;j=n+8|0;k=n+4|0;f=n;c[m>>2]=a;c[i>>2]=b;c[h>>2]=d;g[j>>2]=e;g[f>>2]=0.0;c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[i>>2]|0))break;e=+A(+(+g[(c[m>>2]|0)+(c[k>>2]<<2)>>2]));g[f>>2]=+g[f>>2]+e;c[k>>2]=(c[k>>2]|0)+1}g[f>>2]=+g[f>>2]+ +(c[h>>2]|0)*+g[j>>2]*+g[f>>2];l=n;return +(+g[f>>2])}function ob(a){a=a|0;var b=0,d=0,e=0;b=l;l=l+16|0;d=b+4|0;e=b;c[d>>2]=a;c[e>>2]=sc(48e3,960,0)|0;a=pb(c[e>>2]|0,c[d>>2]|0)|0;l=b;return a|0}function pb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=l;l=l+16|0;f=e+8|0;g=e+4|0;d=e;c[f>>2]=a;c[g>>2]=b;a=88+((N(c[g>>2]|0,2048+(c[(c[f>>2]|0)+4>>2]|0)|0)|0)-1<<2)|0;c[d>>2]=a+((c[g>>2]|0)*24<<2)+(c[(c[f>>2]|0)+8>>2]<<3<<2);l=e;return c[d>>2]|0}function qb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=l;l=l+32|0;f=i+16|0;h=i+12|0;g=i+8|0;j=i+4|0;e=i;c[h>>2]=a;c[g>>2]=b;c[j>>2]=d;b=c[h>>2]|0;a=sc(48e3,960,0)|0;c[e>>2]=rb(b,a,c[j>>2]|0)|0;if(c[e>>2]|0){c[f>>2]=c[e>>2];j=c[f>>2]|0;l=i;return j|0}j=Ma(c[g>>2]|0)|0;c[(c[h>>2]|0)+16>>2]=j;if(!(c[(c[h>>2]|0)+16>>2]|0)){c[f>>2]=-1;j=c[f>>2]|0;l=i;return j|0}else{c[f>>2]=0;j=c[f>>2]|0;l=i;return j|0}return 0}function rb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+32|0;g=i+16|0;h=i+12|0;f=i+8|0;e=i+4|0;c[h>>2]=a;c[f>>2]=b;c[e>>2]=d;if((c[e>>2]|0)<0|(c[e>>2]|0)>2){c[g>>2]=-1;h=c[g>>2]|0;l=i;return h|0}if(!(c[h>>2]|0)){c[g>>2]=-7;h=c[g>>2]|0;l=i;return h|0}else{a=c[h>>2]|0;aj(a|0,0,pb(c[f>>2]|0,c[e>>2]|0)|0)|0;c[c[h>>2]>>2]=c[f>>2];c[(c[h>>2]|0)+4>>2]=c[(c[f>>2]|0)+4>>2];a=c[e>>2]|0;c[(c[h>>2]|0)+8>>2]=a;c[(c[h>>2]|0)+12>>2]=a;c[(c[h>>2]|0)+16>>2]=1;c[(c[h>>2]|0)+20>>2]=0;c[(c[h>>2]|0)+24>>2]=c[(c[c[h>>2]>>2]|0)+12>>2];c[(c[h>>2]|0)+28>>2]=1;a=sb()|0;c[(c[h>>2]|0)+32>>2]=a;c[(c[h>>2]|0)+48>>2]=0;tb(c[h>>2]|0,4028,i)|0;c[g>>2]=0;h=c[g>>2]|0;l=i;return h|0}return 0}function sb(){return 0}function tb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;G=l;l=l+128|0;F=G+120|0;m=G+116|0;H=G+112|0;e=G+96|0;n=G+88|0;w=G+84|0;r=G+80|0;B=G+76|0;o=G+72|0;x=G+68|0;p=G+64|0;y=G+60|0;q=G+56|0;z=G+52|0;f=G+48|0;h=G+44|0;i=G+40|0;j=G+36|0;k=G+32|0;s=G+28|0;A=G+24|0;t=G+20|0;C=G+16|0;u=G+12|0;D=G+8|0;v=G+4|0;E=G;c[m>>2]=a;c[H>>2]=b;c[e>>2]=d;a:do switch(c[H>>2]|0){case 10010:{E=(c[e>>2]|0)+(4-1)&~(4-1);H=c[E>>2]|0;c[e>>2]=E+4;c[w>>2]=H;c[n>>2]=c[w>>2];if((c[n>>2]|0)>=0?(c[n>>2]|0)<(c[(c[c[m>>2]>>2]|0)+8>>2]|0):0){c[(c[m>>2]|0)+20>>2]=c[n>>2];e=24}else e=25;break}case 10012:{E=(c[e>>2]|0)+(4-1)&~(4-1);H=c[E>>2]|0;c[e>>2]=E+4;c[B>>2]=H;c[r>>2]=c[B>>2];if((c[r>>2]|0)>=1?(c[r>>2]|0)<=(c[(c[c[m>>2]>>2]|0)+8>>2]|0):0){c[(c[m>>2]|0)+24>>2]=c[r>>2];e=24}else e=25;break}case 10008:{E=(c[e>>2]|0)+(4-1)&~(4-1);H=c[E>>2]|0;c[e>>2]=E+4;c[x>>2]=H;c[o>>2]=c[x>>2];if((c[o>>2]|0)<1|(c[o>>2]|0)>2)e=25;else{c[(c[m>>2]|0)+12>>2]=c[o>>2];e=24}break}case 10007:{E=(c[e>>2]|0)+(4-1)&~(4-1);H=c[E>>2]|0;c[e>>2]=E+4;c[y>>2]=H;c[p>>2]=c[y>>2];if(!(c[p>>2]|0))e=25;else{c[c[p>>2]>>2]=c[(c[m>>2]|0)+40>>2];c[(c[m>>2]|0)+40>>2]=0;e=24}break}case 4027:{E=(c[e>>2]|0)+(4-1)&~(4-1);H=c[E>>2]|0;c[e>>2]=E+4;c[z>>2]=H;c[q>>2]=c[z>>2];if(!(c[q>>2]|0))e=25;else{c[c[q>>2]>>2]=(c[(c[m>>2]|0)+4>>2]|0)/(c[(c[m>>2]|0)+16>>2]|0)|0;e=24}break}case 4028:{c[h>>2]=(c[m>>2]|0)+84+((N(2048+(c[(c[m>>2]|0)+4>>2]|0)|0,c[(c[m>>2]|0)+8>>2]|0)|0)<<2);c[i>>2]=(c[h>>2]|0)+((c[(c[m>>2]|0)+8>>2]|0)*24<<2);c[j>>2]=(c[i>>2]|0)+(c[(c[c[m>>2]>>2]|0)+8>>2]<<1<<2);c[k>>2]=(c[j>>2]|0)+(c[(c[c[m>>2]>>2]|0)+8>>2]<<1<<2);aj((c[m>>2]|0)+36|0,0,(pb(c[c[m>>2]>>2]|0,c[(c[m>>2]|0)+8>>2]|0)|0)-((c[m>>2]|0)+36-(c[m>>2]|0))|0)|0;c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[(c[c[m>>2]>>2]|0)+8>>2]<<1|0)){e=24;break a}g[(c[k>>2]|0)+(c[f>>2]<<2)>>2]=-28.0;g[(c[j>>2]|0)+(c[f>>2]<<2)>>2]=-28.0;c[f>>2]=(c[f>>2]|0)+1}}case 4033:{E=(c[e>>2]|0)+(4-1)&~(4-1);H=c[E>>2]|0;c[e>>2]=E+4;c[A>>2]=H;c[s>>2]=c[A>>2];if(!(c[s>>2]|0))e=25;else{c[c[s>>2]>>2]=c[(c[m>>2]|0)+52>>2];e=24}break}case 10015:{E=(c[e>>2]|0)+(4-1)&~(4-1);H=c[E>>2]|0;c[e>>2]=E+4;c[C>>2]=H;c[t>>2]=c[C>>2];if(!(c[t>>2]|0))e=25;else{c[c[t>>2]>>2]=c[c[m>>2]>>2];e=24}break}case 10016:{E=(c[e>>2]|0)+(4-1)&~(4-1);H=c[E>>2]|0;c[e>>2]=E+4;c[D>>2]=H;c[u>>2]=c[D>>2];c[(c[m>>2]|0)+28>>2]=c[u>>2];e=24;break}case 4031:{D=(c[e>>2]|0)+(4-1)&~(4-1);H=c[D>>2]|0;c[e>>2]=D+4;c[E>>2]=H;c[v>>2]=c[E>>2];if(!(c[v>>2]|0))e=25;else{c[c[v>>2]>>2]=c[(c[m>>2]|0)+36>>2];e=24}break}default:{c[F>>2]=-5;H=c[F>>2]|0;l=G;return H|0}}while(0);if((e|0)==24){c[F>>2]=0;H=c[F>>2]|0;l=G;return H|0}else if((e|0)==25){c[F>>2]=-1;H=c[F>>2]|0;l=G;return H|0}return 0}function ub(a,d,e,f,h,i,j){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,qa=0,ra=0,sa=0,ua=0,va=0,wa=0;va=l;l=l+304|0;qa=va+288|0;sa=va+284|0;n=va+280|0;ha=va+276|0;oa=va+272|0;fa=va+268|0;da=va+264|0;aa=va+260|0;ba=va+256|0;ga=va+252|0;Z=va+248|0;M=va+244|0;B=va+240|0;k=va+192|0;C=va+184|0;na=va+176|0;wa=va+168|0;ka=va+164|0;la=va+160|0;ma=va+156|0;W=va+152|0;K=va+148|0;R=va+144|0;q=va+140|0;Y=va+136|0;P=va+132|0;Q=va+128|0;ua=va+124|0;ea=va+120|0;I=va+116|0;G=va+112|0;A=va+108|0;U=va+104|0;T=va+100|0;J=va+96|0;H=va+92|0;z=va+88|0;F=va+84|0;y=va+80|0;s=va+76|0;V=va+72|0;E=va+68|0;D=va+64|0;L=va+60|0;O=va+56|0;ia=va+52|0;ja=va+48|0;S=va+44|0;u=va+40|0;p=va+36|0;o=va+32|0;ra=va+28|0;x=va+24|0;w=va+20|0;t=va+16|0;r=va+12|0;v=va+8|0;X=va+4|0;ca=va;c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[na+(c[ba>>2]<<2)>>2]=(c[C+(c[ba>>2]<<2)>>2]|0)+8192+(0-(c[Z>>2]|0)<<2);wa=(c[ba>>2]|0)+1|0;c[ba>>2]=wa}while((wa|0)<(c[Y>>2]|0));c[I>>2]=c[ea>>2];if((c[I>>2]|0)>(c[(c[ia>>2]|0)+12>>2]|0))c[I>>2]=c[(c[ia>>2]|0)+12>>2];if((c[n>>2]|0)==0|(c[ha>>2]|0)<=1){vb(c[sa>>2]|0,c[Z>>2]|0,c[P>>2]|0);wb(na,c[oa>>2]|0,c[Z>>2]|0,c[Y>>2]|0,c[(c[sa>>2]|0)+16>>2]|0,(c[ia>>2]|0)+16|0,(c[sa>>2]|0)+76|0,c[aa>>2]|0);c[qa>>2]=(c[fa>>2]|0)/(c[(c[sa>>2]|0)+16>>2]|0)|0;wa=c[qa>>2]|0;l=va;return wa|0}if(!(c[da>>2]|0)){Hb(k,c[n>>2]|0,c[ha>>2]|0);c[da>>2]=k}a:do if((c[O>>2]|0)==1){c[ga>>2]=0;while(1){if((c[ga>>2]|0)>=(c[ja>>2]|0))break a;if(+g[(c[ka>>2]|0)+(c[ga>>2]<<2)>>2]>+g[(c[ka>>2]|0)+((c[ja>>2]|0)+(c[ga>>2]|0)<<2)>>2])k=c[ga>>2]|0;else k=(c[ja>>2]|0)+(c[ga>>2]|0)|0;g[(c[ka>>2]|0)+(c[ga>>2]<<2)>>2]=+g[(c[ka>>2]|0)+(k<<2)>>2];c[ga>>2]=(c[ga>>2]|0)+1}}while(0);c[z>>2]=c[ha>>2]<<3;c[y>>2]=xb(c[da>>2]|0)|0;do if((c[y>>2]|0)<(c[z>>2]|0))if((c[y>>2]|0)==1){c[L>>2]=Ob(c[da>>2]|0,15)|0;break}else{c[L>>2]=0;break}else c[L>>2]=1;while(0);if(c[L>>2]|0){c[y>>2]=c[ha>>2]<<3;a=c[y>>2]|0;a=a-(xb(c[da>>2]|0)|0)|0;wa=(c[da>>2]|0)+20|0;c[wa>>2]=(c[wa>>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(Ab(c[da>>2]|0)|0)c[(c[sa>>2]|0)+40>>2]=1;c[qa>>2]=(c[fa>>2]|0)/(c[(c[sa>>2]|0)+16>>2]|0)|0;c[ca>>2]=1}_(c[ra>>2]|0);wa=c[qa>>2]|0;l=va;return wa|0}function vb(a,d,e){a=a|0;d=d|0;e=e|0;var f=0.0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,la=0,ma=0;ma=l;l=l+4608|0;la=ma+4596|0;ea=ma+4592|0;M=ma+4588|0;fa=ma+4584|0;ha=ma+4580|0;da=ma+4576|0;ga=ma+4568|0;Y=ma+4560|0;C=ma+4556|0;X=ma+4552|0;i=ma+4548|0;j=ma+4544|0;O=ma+4540|0;ca=ma+4536|0;W=ma+4532|0;ja=ma+4528|0;ba=ma+4524|0;ia=ma+4520|0;h=ma+4516|0;S=ma+4512|0;aa=ma+4508|0;U=ma+4504|0;T=ma+4500|0;R=ma+4496|0;Z=ma+4492|0;V=ma+4488|0;Q=ma+4484|0;P=ma+4480|0;L=ma+4476|0;z=ma+4472|0;F=ma+4468|0;H=ma+4464|0;v=ma+368|0;s=ma+360|0;q=ma+356|0;n=ma+352|0;r=ma+348|0;y=ma+344|0;x=ma+340|0;w=ma+336|0;A=ma+332|0;p=ma+232|0;D=ma+136|0;k=ma+128|0;m=ma+124|0;t=ma+120|0;u=ma+116|0;I=ma+112|0;E=ma+16|0;o=ma+12|0;J=ma+8|0;G=ma+4|0;K=ma;c[la>>2]=a;c[ea>>2]=d;c[M>>2]=e;c[da>>2]=c[(c[la>>2]|0)+8>>2];c[ca>>2]=c[c[la>>2]>>2];c[W>>2]=c[(c[ca>>2]|0)+8>>2];c[ja>>2]=c[(c[ca>>2]|0)+4>>2];c[S>>2]=c[(c[ca>>2]|0)+32>>2];c[fa>>2]=0;do{a=(c[la>>2]|0)+84+((N(c[fa>>2]|0,2048+(c[ja>>2]|0)|0)|0)<<2)|0;c[ga+(c[fa>>2]<<2)>>2]=a;c[Y+(c[fa>>2]<<2)>>2]=(c[ga+(c[fa>>2]<<2)>>2]|0)+8192+(0-(c[ea>>2]|0)<<2);a=(c[fa>>2]|0)+1|0;c[fa>>2]=a}while((a|0)<(c[da>>2]|0));c[C>>2]=(c[la>>2]|0)+84+((N(2048+(c[ja>>2]|0)|0,c[da>>2]|0)|0)<<2);c[X>>2]=(c[C>>2]|0)+((c[da>>2]|0)*24<<2);c[i>>2]=(c[X>>2]|0)+(c[W>>2]<<1<<2);c[j>>2]=(c[i>>2]|0)+(c[W>>2]<<1<<2);c[O>>2]=(c[j>>2]|0)+(c[W>>2]<<1<<2);c[ia>>2]=c[(c[la>>2]|0)+48>>2];c[ba>>2]=c[(c[la>>2]|0)+20>>2];c[h>>2]=((c[ia>>2]|0)>=5?1:(c[ba>>2]|0)!=0)&1;if(c[h>>2]|0){c[U>>2]=c[(c[la>>2]|0)+24>>2];if((c[U>>2]|0)<(c[(c[ca>>2]|0)+12>>2]|0))e=c[U>>2]|0;else e=c[(c[ca>>2]|0)+12>>2]|0;do if((c[ba>>2]|0)<=(e|0))if((c[U>>2]|0)<(c[(c[ca>>2]|0)+12>>2]|0)){e=c[U>>2]|0;break}else{e=c[(c[ca>>2]|0)+12>>2]|0;break}else e=c[ba>>2]|0;while(0);c[T>>2]=e;L=N(c[da>>2]|0,c[ea>>2]|0)|0;c[Z>>2]=$()|0;e=l;l=l+((1*(L<<2)|0)+15&-16)|0;g[R>>2]=(c[ia>>2]|0)==0?1.5:.5;c[fa>>2]=0;do{c[ha>>2]=c[ba>>2];while(1){if((c[ha>>2]|0)>=(c[U>>2]|0))break;K=N(c[fa>>2]|0,c[W>>2]|0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2]<<2)>>2]|0)+(c[ea>>2]<<2)|0,(2048-(c[ea>>2]|0)+(c[ja>>2]>>1)<<2)+0|0)|0;ha=(c[fa>>2]|0)+1|0;c[fa>>2]=ha}while((ha|0)<(c[da>>2]|0));zb(c[ca>>2]|0,e,Y,c[X>>2]|0,c[ba>>2]|0,c[T>>2]|0,c[da>>2]|0,c[da>>2]|0,0,c[M>>2]|0,c[(c[la>>2]|0)+16>>2]|0,0,c[(c[la>>2]|0)+32>>2]|0);_(c[Z>>2]|0);ja=c[ia>>2]|0;ja=ja+1|0;la=c[la>>2]|0;la=la+48|0;c[la>>2]=ja;l=ma;return}g[z>>2]=1.0;if(!(c[ia>>2]|0)){ba=Bb(ga,c[da>>2]|0,c[(c[la>>2]|0)+32>>2]|0)|0;c[F>>2]=ba;c[(c[la>>2]|0)+44>>2]=ba}else{c[F>>2]=c[(c[la>>2]|0)+44>>2];g[z>>2]=.800000011920929}ba=c[ja>>2]|0;c[H>>2]=$()|0;d=l;l=l+((1*(ba<<2)|0)+15&-16)|0;c[L>>2]=c[(c[ca>>2]|0)+60>>2];c[fa>>2]=0;do{g[n>>2]=0.0;c[r>>2]=c[ga+(c[fa>>2]<<2)>>2];c[ha>>2]=0;while(1){if((c[ha>>2]|0)>=1024)break;g[v+(c[ha>>2]<<2)>>2]=+g[(c[r>>2]|0)+(1024+(c[ha>>2]|0)<<2)>>2];c[ha>>2]=(c[ha>>2]|0)+1}if(!(c[ia>>2]|0)){Hc(v,p,c[L>>2]|0,c[ja>>2]|0,24,1024,c[(c[la>>2]|0)+32>>2]|0)|0;g[p>>2]=+g[p>>2]*1.000100016593933;c[ha>>2]=1;while(1){if((c[ha>>2]|0)>24)break;ca=p+(c[ha>>2]<<2)|0;g[ca>>2]=+g[ca>>2]-+g[p+(c[ha>>2]<<2)>>2]*6.400000711437315e-05*+(c[ha>>2]|0)*+(c[ha>>2]|0);c[ha>>2]=(c[ha>>2]|0)+1}Dc((c[C>>2]|0)+((c[fa>>2]|0)*24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56|0;D=C+52|0;v=C+48|0;p=C+40|0;n=C+36|0;o=C+32|0;q=C+28|0;x=C+24|0;t=C+20|0;A=C+16|0;B=C+12|0;u=C+8|0;y=C+4|0;z=C;c[s>>2]=a;c[w>>2]=b;c[m>>2]=d;c[k>>2]=e;c[r>>2]=f;c[D>>2]=h;c[v>>2]=i;c[C+44>>2]=j;c[o>>2]=0;b=c[m>>2]|0;c[x>>2]=$()|0;e=l;l=l+((1*(b<<2)|0)+15&-16)|0;g[q>>2]=+g[c[D>>2]>>2];c[n>>2]=(c[m>>2]|0)/(c[r>>2]|0)|0;c[p>>2]=0;do{g[u>>2]=+g[(c[v>>2]|0)+(c[p>>2]<<2)>>2];c[A>>2]=c[(c[s>>2]|0)+(c[p>>2]<<2)>>2];c[B>>2]=(c[w>>2]|0)+(c[p>>2]<<2);D=(c[r>>2]|0)>1;c[t>>2]=0;a:do if(D){while(1){if((c[t>>2]|0)>=(c[m>>2]|0))break;g[y>>2]=+g[(c[A>>2]|0)+(c[t>>2]<<2)>>2]+ +g[u>>2]+1.0000000031710769e-30;g[u>>2]=+g[q>>2]*+g[y>>2];g[e+(c[t>>2]<<2)>>2]=+g[y>>2];c[t>>2]=(c[t>>2]|0)+1}c[o>>2]=1}else while(1){if((c[t>>2]|0)>=(c[m>>2]|0))break a;g[z>>2]=+g[(c[A>>2]|0)+(c[t>>2]<<2)>>2]+ +g[u>>2]+1.0000000031710769e-30;g[u>>2]=+g[q>>2]*+g[z>>2];g[(c[B>>2]|0)+((N(c[t>>2]|0,c[k>>2]|0)|0)<<2)>>2]=+g[z>>2]*.000030517578125;c[t>>2]=(c[t>>2]|0)+1}while(0);g[(c[v>>2]|0)+(c[p>>2]<<2)>>2]=+g[u>>2];b:do if(c[o>>2]|0){c[t>>2]=0;while(1){if((c[t>>2]|0)>=(c[n>>2]|0))break b;E=+g[e+((N(c[t>>2]|0,c[r>>2]|0)|0)<<2)>>2]*.000030517578125;g[(c[B>>2]|0)+((N(c[t>>2]|0,c[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=(c[f>>2]|0)+((c[g>>2]|0)>>>0>(c[5512+(c[f>>2]<<2)>>2]|0)>>>0&1);c[b>>2]=(c[b>>2]<<3)+(c[f>>2]|0);l=e;return (c[d>>2]|0)-(c[b>>2]|0)|0}function Hb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+16|0;f=e+8|0;h=e+4|0;g=e;c[f>>2]=a;c[h>>2]=b;c[g>>2]=d;c[c[f>>2]>>2]=c[h>>2];c[(c[f>>2]|0)+4>>2]=c[g>>2];c[(c[f>>2]|0)+8>>2]=0;c[(c[f>>2]|0)+12>>2]=0;c[(c[f>>2]|0)+16>>2]=0;c[(c[f>>2]|0)+20>>2]=9;c[(c[f>>2]|0)+24>>2]=0;c[(c[f>>2]|0)+28>>2]=128;a=Ib(c[f>>2]|0)|0;c[(c[f>>2]|0)+40>>2]=a;c[(c[f>>2]|0)+32>>2]=(c[(c[f>>2]|0)+28>>2]|0)-1-(c[(c[f>>2]|0)+40>>2]>>1);c[(c[f>>2]|0)+44>>2]=0;Jb(c[f>>2]|0);l=e;return}function Ib(a){a=a|0;var b=0,e=0,f=0;e=l;l=l+16|0;b=e;c[b>>2]=a;if((c[(c[b>>2]|0)+24>>2]|0)>>>0>=(c[(c[b>>2]|0)+4>>2]|0)>>>0){b=0;l=e;return b|0}a=c[c[b>>2]>>2]|0;f=(c[b>>2]|0)+24|0;b=c[f>>2]|0;c[f>>2]=b+1;b=d[a+b>>0]|0;l=e;return b|0}function Jb(a){a=a|0;var b=0,d=0,e=0;e=l;l=l+16|0;b=e+4|0;d=e;c[b>>2]=a;while(1){if((c[(c[b>>2]|0)+28>>2]|0)>>>0>8388608)break;a=(c[b>>2]|0)+20|0;c[a>>2]=(c[a>>2]|0)+8;a=(c[b>>2]|0)+28|0;c[a>>2]=c[a>>2]<<8;c[d>>2]=c[(c[b>>2]|0)+40>>2];a=Ib(c[b>>2]|0)|0;c[(c[b>>2]|0)+40>>2]=a;c[d>>2]=(c[d>>2]<<8|c[(c[b>>2]|0)+40>>2])>>1;c[(c[b>>2]|0)+32>>2]=(c[(c[b>>2]|0)+32>>2]<<8)+(255&~c[d>>2])&2147483647}l=e;return}function Kb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;g=f+8|0;e=f+4|0;d=f;c[g>>2]=a;c[e>>2]=b;a=Lb(c[(c[g>>2]|0)+28>>2]|0,c[e>>2]|0)|0;c[(c[g>>2]|0)+36>>2]=a;c[d>>2]=((c[(c[g>>2]|0)+32>>2]|0)>>>0)/((c[(c[g>>2]|0)+36>>2]|0)>>>0)|0;l=f;return (c[e>>2]|0)-((c[d>>2]|0)+1+((c[e>>2]|0)-((c[d>>2]|0)+1)&0-((c[e>>2]|0)>>>0<((c[d>>2]|0)+1|0)>>>0&1)))|0}function Lb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>>>0)/((c[d>>2]|0)>>>0)|0|0}function Mb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;g=f+8|0;e=f+4|0;d=f;c[g>>2]=a;c[e>>2]=b;c[(c[g>>2]|0)+36>>2]=(c[(c[g>>2]|0)+28>>2]|0)>>>(c[e>>2]|0);c[d>>2]=((c[(c[g>>2]|0)+32>>2]|0)>>>0)/((c[(c[g>>2]|0)+36>>2]|0)>>>0)|0;l=f;return (1<>2])-((c[d>>2]|0)+1+((1<>2])-((c[d>>2]|0)+1)&0-(1<>2]>>>0<((c[d>>2]|0)+1|0)>>>0&1)))|0}function Nb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=l;l=l+32|0;h=j+16|0;g=j+12|0;f=j+8|0;k=j+4|0;i=j;c[h>>2]=a;c[g>>2]=b;c[f>>2]=d;c[k>>2]=e;c[i>>2]=N(c[(c[h>>2]|0)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+4>>2]=c[g>>2];c[(c[f>>2]|0)+44>>2]=0;l=e;return}function Ub(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;i=k+16|0;g=k+12|0;f=k+8|0;h=k+4|0;j=k;c[i>>2]=a;c[g>>2]=b;c[f>>2]=d;c[h>>2]=e;c[j>>2]=Vb(c[(c[i>>2]|0)+28>>2]|0,c[h>>2]|0)|0;if((c[g>>2]|0)>>>0>0){h=(c[(c[i>>2]|0)+28>>2]|0)-(N(c[j>>2]|0,(c[h>>2]|0)-(c[g>>2]|0)|0)|0)|0;a=(c[i>>2]|0)+32|0;c[a>>2]=(c[a>>2]|0)+h;j=N(c[j>>2]|0,(c[f>>2]|0)-(c[g>>2]|0)|0)|0;c[(c[i>>2]|0)+28>>2]=j;j=c[i>>2]|0;Wb(j);l=k;return}else{a=N(c[j>>2]|0,(c[h>>2]|0)-(c[f>>2]|0)|0)|0;j=(c[i>>2]|0)+28|0;c[j>>2]=(c[j>>2]|0)-a;j=c[i>>2]|0;Wb(j);l=k;return}}function Vb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>>>0)/((c[d>>2]|0)>>>0)|0|0}function Wb(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;while(1){if((c[(c[b>>2]|0)+28>>2]|0)>>>0>8388608)break;Xb(c[b>>2]|0,(c[(c[b>>2]|0)+32>>2]|0)>>>23);c[(c[b>>2]|0)+32>>2]=c[(c[b>>2]|0)+32>>2]<<8&2147483647;a=(c[b>>2]|0)+28|0;c[a>>2]=c[a>>2]<<8;a=(c[b>>2]|0)+20|0;c[a>>2]=(c[a>>2]|0)+8}l=d;return}function Xb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;e=h+12|0;d=h+8|0;f=h+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[i>>2]|c[f>>2]<>2];c[h>>2]=(c[h>>2]|0)+(c[e>>2]|0);c[(c[g>>2]|0)+12>>2]=c[i>>2];c[(c[g>>2]|0)+16>>2]=c[h>>2];i=(c[g>>2]|0)+20|0;c[i>>2]=(c[i>>2]|0)+(c[e>>2]|0);l=j;return}function cc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=l;l=l+16|0;g=h+8|0;e=h+4|0;f=h;c[e>>2]=b;c[f>>2]=d;if(((c[(c[e>>2]|0)+24>>2]|0)+(c[(c[e>>2]|0)+8>>2]|0)|0)>>>0>=(c[(c[e>>2]|0)+4>>2]|0)>>>0){c[g>>2]=-1;g=c[g>>2]|0;l=h;return g|0}else{i=c[f>>2]&255;b=c[c[e>>2]>>2]|0;d=c[(c[e>>2]|0)+4>>2]|0;e=(c[e>>2]|0)+8|0;f=(c[e>>2]|0)+1|0;c[e>>2]=f;a[b+(d-f)>>0]=i;c[g>>2]=0;g=c[g>>2]|0;l=h;return g|0}return 0}function dc(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;h=m+16|0;i=m+12|0;g=m+8|0;k=m+4|0;j=m;c[h>>2]=b;c[i>>2]=e;c[g>>2]=f;c[k>>2]=8-(c[g>>2]|0);c[j>>2]=(1<>2])-1<>2];f=c[h>>2]|0;if((c[(c[h>>2]|0)+24>>2]|0)>>>0>0){a[c[c[h>>2]>>2]>>0]=(d[c[f>>2]>>0]|0)&~c[j>>2]|c[i>>2]<>2];l=m;return}b=c[h>>2]|0;if((c[f+40>>2]|0)>=0){c[(c[h>>2]|0)+40>>2]=c[b+40>>2]&~c[j>>2]|c[i>>2]<>2];l=m;return}f=c[h>>2]|0;if((c[b+28>>2]|0)>>>0<=-2147483648>>>(c[g>>2]|0)>>>0){c[(c[h>>2]|0)+32>>2]=c[f+32>>2]&~(c[j>>2]<<23)|c[i>>2]<<23+(c[k>>2]|0);l=m;return}else{c[f+44>>2]=-1;l=m;return}}function ec(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;e=d+4|0;f=d;c[e>>2]=a;c[f>>2]=b;$i((c[c[e>>2]>>2]|0)+(c[f>>2]|0)+(0-(c[(c[e>>2]|0)+8>>2]|0))|0,(c[c[e>>2]>>2]|0)+(c[(c[e>>2]|0)+4>>2]|0)+(0-(c[(c[e>>2]|0)+8>>2]|0))|0,(c[(c[e>>2]|0)+8>>2]|0)+0|0)|0;c[(c[e>>2]|0)+4>>2]=c[f>>2];l=d;return}function fc(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;g=k+20|0;j=k+16|0;i=k+12|0;e=k+8|0;f=k+4|0;h=k;c[g>>2]=b;c[h>>2]=32-(32-(Q(c[(c[g>>2]|0)+28>>2]|0)|0));c[e>>2]=2147483647>>>(c[h>>2]|0);c[f>>2]=(c[(c[g>>2]|0)+32>>2]|0)+(c[e>>2]|0)&~c[e>>2];if((c[f>>2]|c[e>>2])>>>0>=((c[(c[g>>2]|0)+32>>2]|0)+(c[(c[g>>2]|0)+28>>2]|0)|0)>>>0){c[h>>2]=(c[h>>2]|0)+1;c[e>>2]=(c[e>>2]|0)>>>1;c[f>>2]=(c[(c[g>>2]|0)+32>>2]|0)+(c[e>>2]|0)&~c[e>>2]}while(1){b=c[g>>2]|0;if((c[h>>2]|0)<=0)break;Xb(b,(c[f>>2]|0)>>>23);c[f>>2]=c[f>>2]<<8&2147483647;c[h>>2]=(c[h>>2]|0)-8}if(!((c[b+40>>2]|0)<0?(c[(c[g>>2]|0)+36>>2]|0)>>>0<=0:0))Xb(c[g>>2]|0,0);c[j>>2]=c[(c[g>>2]|0)+12>>2];c[i>>2]=c[(c[g>>2]|0)+16>>2];while(1){b=c[g>>2]|0;if((c[i>>2]|0)<8)break;e=cc(b,c[j>>2]&255)|0;f=(c[g>>2]|0)+44|0;c[f>>2]=c[f>>2]|e;c[j>>2]=(c[j>>2]|0)>>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>>2]|0)+12+((c[e>>2]<<1)-1<<1)>>1];c[h>>2]=(c[e>>2]|0)-1;while(1){if((c[h>>2]|0)<0)break;if(c[h>>2]|0)c[j>>2]=b[(c[n>>2]|0)+12+((c[h>>2]<<1)-1<<1)>>1];else c[j>>2]=1;switch(b[(c[n>>2]|0)+12+(c[h>>2]<<1<<1)>>1]|0){case 2:{hc(c[f>>2]|0,c[i>>2]|0,c[g+(c[h>>2]<<2)>>2]|0);break}case 4:{ic(c[f>>2]|0,c[g+(c[h>>2]<<2)>>2]<>2],c[n>>2]|0,c[i>>2]|0,c[g+(c[h>>2]<<2)>>2]|0,c[j>>2]|0);break}case 3:{jc(c[f>>2]|0,c[g+(c[h>>2]<<2)>>2]<>2],c[n>>2]|0,c[i>>2]|0,c[g+(c[h>>2]<<2)>>2]|0,c[j>>2]|0);break}case 5:{kc(c[f>>2]|0,c[g+(c[h>>2]<<2)>>2]<>2],c[n>>2]|0,c[i>>2]|0,c[g+(c[h>>2]<<2)>>2]|0,c[j>>2]|0);break}default:{}}c[i>>2]=c[j>>2];c[h>>2]=(c[h>>2]|0)+-1}l=o;return}function hc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;e=m+28|0;h=m+20|0;f=m+16|0;i=m+12|0;k=m+8|0;j=m;c[e>>2]=a;c[m+24>>2]=b;c[h>>2]=d;g[k>>2]=.7071067690849304;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[h>>2]|0))break;c[f>>2]=(c[e>>2]|0)+32;b=c[f>>2]|0;c[j>>2]=c[b>>2];c[j+4>>2]=c[b+4>>2];g[c[f>>2]>>2]=+g[c[e>>2]>>2]-+g[j>>2];g[(c[f>>2]|0)+4>>2]=+g[(c[e>>2]|0)+4>>2]-+g[j+4>>2];b=c[e>>2]|0;g[b>>2]=+g[b>>2]+ +g[j>>2];b=(c[e>>2]|0)+4|0;g[b>>2]=+g[b>>2]+ +g[j+4>>2];g[j>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-4;c[q>>2]=(c[q>>2]|0)+1}l=W;return}function sc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;j=k+20|0;e=k+16|0;f=k+12|0;h=k+8|0;i=k+4|0;g=k;c[e>>2]=a;c[f>>2]=b;c[h>>2]=d;c[i>>2]=0;a:while(1){if((c[i>>2]|0)>=1){a=12;break}c[g>>2]=0;while(1){if((c[g>>2]|0)>=4)break;if((c[e>>2]|0)==(c[c[5544+(c[i>>2]<<2)>>2]>>2]|0)?(c[f>>2]<>2]|0)==(N(c[(c[5544+(c[i>>2]<<2)>>2]|0)+44>>2]|0,c[(c[5544+(c[i>>2]<<2)>>2]|0)+40>>2]|0)|0):0){a=7;break a}c[g>>2]=(c[g>>2]|0)+1}c[i>>2]=(c[i>>2]|0)+1}if((a|0)==7){if(c[h>>2]|0)c[c[h>>2]>>2]=0;c[j>>2]=c[5544+(c[i>>2]<<2)>>2];j=c[j>>2]|0;l=k;return j|0}else if((a|0)==12){if(c[h>>2]|0)c[c[h>>2]>>2]=-1;c[j>>2]=0;j=c[j>>2]|0;l=k;return j|0}return 0}function tc(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+112|0;s=u+108|0;t=u+104|0;n=u+100|0;h=u+96|0;j=u+92|0;m=u+88|0;i=u+68|0;r=u+64|0;o=u+48|0;q=u+24|0;p=u+4|0;k=u;c[s>>2]=a;c[t>>2]=b;c[n>>2]=d;c[h>>2]=e;c[j>>2]=f;g[r>>2]=1.0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[q+16>>2]=0;g[k>>2]=.800000011920929;c[m>>2]=1;while(1){e=c[c[s>>2]>>2]|0;if((c[m>>2]|0)>=(c[n>>2]>>1|0))break;g[(c[t>>2]|0)+(c[m>>2]<<2)>>2]=((+g[e+((c[m>>2]<<1)-1<<2)>>2]+ +g[(c[c[s>>2]>>2]|0)+((c[m>>2]<<1)+1<<2)>>2])*.5+ +g[(c[c[s>>2]>>2]|0)+(c[m>>2]<<1<<2)>>2])*.5;c[m>>2]=(c[m>>2]|0)+1}g[c[t>>2]>>2]=(+g[e+4>>2]*.5+ +g[c[c[s>>2]>>2]>>2])*.5;if((c[h>>2]|0)==2){c[m>>2]=1;while(1){e=c[(c[s>>2]|0)+4>>2]|0;if((c[m>>2]|0)>=(c[n>>2]>>1|0))break;h=(c[t>>2]|0)+(c[m>>2]<<2)|0;g[h>>2]=+g[h>>2]+((+g[e+((c[m>>2]<<1)-1<<2)>>2]+ +g[(c[(c[s>>2]|0)+4>>2]|0)+((c[m>>2]<<1)+1<<2)>>2])*.5+ +g[(c[(c[s>>2]|0)+4>>2]|0)+(c[m>>2]<<1<<2)>>2])*.5;c[m>>2]=(c[m>>2]|0)+1}h=c[t>>2]|0;g[h>>2]=+g[h>>2]+(+g[e+4>>2]*.5+ +g[c[(c[s>>2]|0)+4>>2]>>2])*.5}Hc(c[t>>2]|0,i,0,0,4,c[n>>2]>>1,c[j>>2]|0)|0;g[i>>2]=+g[i>>2]*1.000100016593933;c[m>>2]=1;while(1){if((c[m>>2]|0)>4)break;s=i+(c[m>>2]<<2)|0;g[s>>2]=+g[s>>2]-+g[i+(c[m>>2]<<2)>>2]*(+(c[m>>2]|0)*.00800000037997961)*(+(c[m>>2]|0)*.00800000037997961);c[m>>2]=(c[m>>2]|0)+1}Dc(o,i,4);c[m>>2]=0;while(1){if((c[m>>2]|0)>=4)break;g[r>>2]=+g[r>>2]*.8999999761581421;g[o+(c[m>>2]<<2)>>2]=+g[o+(c[m>>2]<<2)>>2]*+g[r>>2];c[m>>2]=(c[m>>2]|0)+1}g[p>>2]=+g[o>>2]+.800000011920929;g[p+4>>2]=+g[o+4>>2]+ +g[k>>2]*+g[o>>2];g[p+8>>2]=+g[o+8>>2]+ +g[k>>2]*+g[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=+g[O>>2];g[t>>2]=+g[Q>>2];i=+g[O>>2]/+B(+(+g[M>>2]*+g[Q>>2]+1.0));g[w>>2]=i;g[v>>2]=i;c[y>>2]=2;while(1){if((c[y>>2]|0)>15)break;g[u>>2]=0.0;c[q>>2]=Cc((c[o>>2]<<1)+(c[y>>2]|0)|0,c[y>>2]<<1)|0;if((c[q>>2]|0)<(c[C>>2]|0))break;do if((c[y>>2]|0)==2){e=c[o>>2]|0;if(((c[q>>2]|0)+(c[o>>2]|0)|0)>(c[z>>2]|0)){c[r>>2]=e;break}else{c[r>>2]=e+(c[q>>2]|0);break}}else{k=N(c[17400+(c[y>>2]<<2)>>2]<<1,c[o>>2]|0)|0;c[r>>2]=Cc(k+(c[y>>2]|0)|0,c[y>>2]<<1)|0}while(0);Bc(c[K>>2]|0,(c[K>>2]|0)+(0-(c[q>>2]|0)<<2)|0,(c[K>>2]|0)+(0-(c[r>>2]|0)<<2)|0,c[m>>2]|0,O,P);g[O>>2]=+g[O>>2]+ +g[P>>2];g[Q>>2]=+g[f+(c[q>>2]<<2)>>2]+ +g[f+(c[r>>2]<<2)>>2];g[x>>2]=+g[O>>2]/+B(+(+g[M>>2]*2.0*1.0*+g[Q>>2]+1.0));do if((A((c[q>>2]|0)-(c[H>>2]|0)|0)|0)<=1)g[u>>2]=+g[G>>2];else{if((A((c[q>>2]|0)-(c[H>>2]|0)|0)|0)<=2?(k=N((c[y>>2]|0)*5|0,c[y>>2]|0)|0,(k|0)<(c[o>>2]|0)):0){g[u>>2]=+g[G>>2]*.5;break}g[u>>2]=0.0}while(0);if(.30000001192092896>+g[w>>2]*.699999988079071-+g[u>>2])i=.30000001192092896;else i=+g[w>>2]*.699999988079071-+g[u>>2];g[J>>2]=i;if((c[q>>2]|0)>=((c[C>>2]|0)*3|0)){if((c[q>>2]|0)<(c[C>>2]<<1|0)){if(.5>+g[w>>2]*.8999999761581421-+g[u>>2])i=.5;else i=+g[w>>2]*.8999999761581421-+g[u>>2];g[J>>2]=i}}else{if(.4000000059604645>+g[w>>2]*.8500000238418579-+g[u>>2])i=.4000000059604645;else i=+g[w>>2]*.8500000238418579-+g[u>>2];g[J>>2]=i}if(+g[x>>2]>+g[J>>2]){g[s>>2]=+g[O>>2];g[t>>2]=+g[Q>>2];c[n>>2]=c[q>>2];g[v>>2]=+g[x>>2]}c[y>>2]=(c[y>>2]|0)+1}g[s>>2]=0.0>+g[s>>2]?0.0:+g[s>>2];if(+g[t>>2]<=+g[s>>2])g[F>>2]=1.0;else g[F>>2]=+g[s>>2]/(+g[t>>2]+1.0);c[y>>2]=0;while(1){if((c[y>>2]|0)>=3)break;i=+xc(c[K>>2]|0,(c[K>>2]|0)+(0-((c[n>>2]|0)+(c[y>>2]|0)-1)<<2)|0,c[m>>2]|0);g[L+(c[y>>2]<<2)>>2]=i;c[y>>2]=(c[y>>2]|0)+1}do if(!(+g[L+8>>2]-+g[L>>2]>(+g[L+4>>2]-+g[L>>2])*.699999988079071))if(+g[L>>2]-+g[L+8>>2]>(+g[L+4>>2]-+g[L+8>>2])*.699999988079071){c[E>>2]=-1;break}else{c[E>>2]=0;break}else c[E>>2]=1;while(0);if(+g[F>>2]>+g[v>>2])g[F>>2]=+g[v>>2];c[c[p>>2]>>2]=(c[n>>2]<<1)+(c[E>>2]|0);if((c[c[p>>2]>>2]|0)>=(c[D>>2]|0)){i=+g[F>>2];Q=c[I>>2]|0;_(Q|0);l=R;return +i}c[c[p>>2]>>2]=c[D>>2];i=+g[F>>2];Q=c[I>>2]|0;_(Q|0);l=R;return +i}function Bc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+48|0;m=t+32|0;r=t+28|0;s=t+24|0;j=t+20|0;p=t+16|0;q=t+12|0;k=t+8|0;n=t+4|0;o=t;c[m>>2]=a;c[r>>2]=b;c[s>>2]=d;c[j>>2]=e;c[p>>2]=f;c[q>>2]=h;g[n>>2]=0.0;g[o>>2]=0.0;c[k>>2]=0;while(1){i=+g[n>>2];if((c[k>>2]|0)>=(c[j>>2]|0))break;g[n>>2]=i+ +g[(c[m>>2]|0)+(c[k>>2]<<2)>>2]*+g[(c[r>>2]|0)+(c[k>>2]<<2)>>2];g[o>>2]=+g[o>>2]+ +g[(c[m>>2]|0)+(c[k>>2]<<2)>>2]*+g[(c[s>>2]|0)+(c[k>>2]<<2)>>2];c[k>>2]=(c[k>>2]|0)+1}g[c[p>>2]>>2]=i;g[c[q>>2]>>2]=+g[o>>2];l=t;return}function Cc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>>>0)/((c[d>>2]|0)>>>0)|0|0}function Dc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+48|0;r=q+40|0;e=q+36|0;k=q+32|0;h=q+28|0;i=q+24|0;m=q+20|0;f=q+16|0;j=q+12|0;n=q+8|0;o=q+4|0;p=q;c[r>>2]=a;c[e>>2]=b;c[k>>2]=d;g[f>>2]=+g[c[e>>2]>>2];c[j>>2]=c[r>>2];c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[k>>2]|0))break;g[(c[j>>2]|0)+(c[h>>2]<<2)>>2]=0.0;c[h>>2]=(c[h>>2]|0)+1}if(!(+g[c[e>>2]>>2]!=0.0)){l=q;return}c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[k>>2]|0)){a=15;break}g[n>>2]=0.0;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[h>>2]|0))break;g[n>>2]=+g[n>>2]+ +g[(c[j>>2]|0)+(c[i>>2]<<2)>>2]*+g[(c[e>>2]|0)+((c[h>>2]|0)-(c[i>>2]|0)<<2)>>2];c[i>>2]=(c[i>>2]|0)+1}g[n>>2]=+g[n>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0;da=(N(c[z>>2]|0,c[(c[Q>>2]|0)+8>>2]|0)|0)<<2;_i(c[V>>2]|0,n|0,da+0|0)|0;da=(N(c[z>>2]|0,c[(c[Q>>2]|0)+8>>2]|0)|0)<<2;_i(c[K>>2]|0,i|0,da+0|0)|0;c[L>>2]=1}while(0);_(c[X>>2]|0)}if(c[L>>2]|0){g[c[E>>2]>>2]=+g[S>>2];da=c[W>>2]|0;_(da|0);l=ca;return}else{g[c[E>>2]>>2]=+g[17564+(c[A>>2]<<2)>>2]*+g[17564+(c[A>>2]<<2)>>2]*+g[c[E>>2]>>2]+ +g[S>>2];da=c[W>>2]|0;_(da|0);l=ca;return}}function Jc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;t=l;l=l+48|0;n=t+36|0;r=t+32|0;s=t+28|0;o=t+24|0;q=t+20|0;i=t+16|0;j=t+12|0;p=t+8|0;m=t+4|0;k=t;c[n>>2]=a;c[r>>2]=b;c[s>>2]=d;c[o>>2]=e;c[q>>2]=f;c[i>>2]=h;g[m>>2]=0.0;c[j>>2]=0;do{c[p>>2]=c[s>>2];while(1){if((c[p>>2]|0)>=(c[o>>2]|0))break;u=+g[(c[n>>2]|0)+((c[p>>2]|0)+(N(c[j>>2]|0,c[q>>2]|0)|0)<<2)>>2];g[k>>2]=u-+g[(c[r>>2]|0)+((c[p>>2]|0)+(N(c[j>>2]|0,c[q>>2]|0)|0)<<2)>>2];g[m>>2]=+g[m>>2]+ +g[k>>2]*+g[k>>2];c[p>>2]=(c[p>>2]|0)+1}d=(c[j>>2]|0)+1|0;c[j>>2]=d}while((d|0)<(c[i>>2]|0));l=t;return +(200.0<+g[m>>2]?200.0:+g[m>>2])}function Kc(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=(c[(c[d>>2]|0)+20>>2]|0)-(32-(Q(c[(c[d>>2]|0)+28>>2]|0)|0))|0;l=b;return a|0}
-function gg(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+48|0;i=k+40|0;h=k+36|0;g=k+32|0;e=k+8|0;f=k+4|0;j=k;c[i>>2]=a;c[h>>2]=d;c[g>>2]=Pb(c[i>>2]|0,28974,8)|0;c[e+8>>2]=(c[g>>2]|0)/5|0;c[e+12+8>>2]=(c[g>>2]|0)-((c[e+8>>2]|0)*5|0);c[g>>2]=0;while(1){if((c[g>>2]|0)>=2)break;a=Pb(c[i>>2]|0,29027,8)|0;c[e+((c[g>>2]|0)*12|0)>>2]=a;a=Pb(c[i>>2]|0,29034,8)|0;c[e+((c[g>>2]|0)*12|0)+4>>2]=a;c[g>>2]=(c[g>>2]|0)+1}c[g>>2]=0;while(1){if((c[g>>2]|0)>=2)break;i=e+((c[g>>2]|0)*12|0)|0;c[i>>2]=(c[i>>2]|0)+((c[e+((c[g>>2]|0)*12|0)+8>>2]|0)*3|0);c[f>>2]=b[24526+(c[e+((c[g>>2]|0)*12|0)>>2]<<1)>>1];c[j>>2]=(((b[24526+((c[e+((c[g>>2]|0)*12|0)>>2]|0)+1<<1)>>1]|0)-(c[f>>2]|0)>>16)*6554|0)+(((b[24526+((c[e+((c[g>>2]|0)*12|0)>>2]|0)+1<<1)>>1]|0)-(c[f>>2]|0)&65535)*6554>>16);i=(c[f>>2]|0)+(N((c[j>>2]&65535)<<16>>16,((c[e+((c[g>>2]|0)*12|0)+4>>2]<<1)+1&65535)<<16>>16)|0)|0;c[(c[h>>2]|0)+(c[g>>2]<<2)>>2]=i;c[g>>2]=(c[g>>2]|0)+1}j=c[h>>2]|0;c[j>>2]=(c[j>>2]|0)-(c[(c[h>>2]|0)+4>>2]|0);l=k;return}function hg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;f=d+4|0;e=d;c[f>>2]=a;c[e>>2]=b;a=Pb(c[f>>2]|0,28999,8)|0;c[c[e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]|0,c[m>>2]|0,c[s>>2]|0)|0;c[p>>2]=mg(c[h>>2]|0,c[i>>2]|0,13)|0;if((c[p>>2]|0)>16384)f=16384;else f=(c[p>>2]|0)<-16384?-16384:c[p>>2]|0;c[p>>2]=f;w=N(c[p>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;c[k>>2]=w+((N(c[p>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16);w=c[k>>2]|0;c[n>>2]=lg(c[n>>2]|0,(c[k>>2]|0)>0?w:0-w|0)|0;c[m>>2]=c[m>>2]>>1;w=c[c[o>>2]>>2]|0;v=ng(c[i>>2]|0)|0;v=N((v<>2])-(c[c[o>>2]>>2]|0)>>16,(c[n>>2]&65535)<<16>>16)|0;u=ng(c[i>>2]|0)|0;u=w+(v+((N((u<>2])-(c[c[o>>2]>>2]|0)&65535,(c[n>>2]&65535)<<16>>16)|0)>>16))|0;c[c[o>>2]>>2]=u;u=N(c[h>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;c[j>>2]=(c[j>>2]|0)-(u+((N(c[h>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16)<<4);u=N(c[i>>2]>>16,(c[k>>2]&65535)<<16>>16)|0;c[j>>2]=(c[j>>2]|0)+(u+((N(c[i>>2]&65535,(c[k>>2]&65535)<<16>>16)|0)>>16)<<6);u=c[(c[o>>2]|0)+4>>2]|0;v=ng(c[j>>2]|0)|0;v=N((v<>2])-(c[(c[o>>2]|0)+4>>2]|0)>>16,(c[n>>2]&65535)<<16>>16)|0;w=ng(c[j>>2]|0)|0;w=u+(v+((N((w<>2])-(c[(c[o>>2]|0)+4>>2]|0)&65535,(c[n>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[o>>2]|0)+4>>2]=w;if((c[c[o>>2]>>2]|0)>1)f=c[c[o>>2]>>2]|0;else f=1;w=mg(c[(c[o>>2]|0)+4>>2]|0,f,14)|0;c[c[q>>2]>>2]=w;if((c[c[q>>2]>>2]|0)>32767){v=32767;w=c[q>>2]|0;c[w>>2]=v;w=c[p>>2]|0;l=r;return w|0}if((c[c[q>>2]>>2]|0)<0){v=0;w=c[q>>2]|0;c[w>>2]=v;w=c[p>>2]|0;l=r;return w|0}v=c[c[q>>2]>>2]|0;w=c[q>>2]|0;c[w>>2]=v;w=c[p>>2]|0;l=r;return w|0}function lg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function mg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+48|0;g=h+40|0;q=h+36|0;p=h+32|0;i=h+28|0;k=h+24|0;j=h+20|0;f=h+16|0;m=h+12|0;n=h+8|0;o=h+4|0;e=h;c[q>>2]=a;c[p>>2]=b;c[i>>2]=d;b=c[q>>2]|0;c[k>>2]=(pg((c[q>>2]|0)>0?b:0-b|0)|0)-1;c[n>>2]=c[q>>2]<>2];b=c[p>>2]|0;c[j>>2]=(pg((c[p>>2]|0)>0?b:0-b|0)|0)-1;c[o>>2]=c[p>>2]<>2];c[m>>2]=536870911/(c[o>>2]>>16|0)|0;b=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=b+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16);b=c[n>>2]|0;a=c[o>>2]|0;d=c[e>>2]|0;d=Xi(a|0,((a|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;d=Yi(d|0,y|0,32)|0;c[n>>2]=b-(d<<3);d=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(d+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));c[f>>2]=29+(c[k>>2]|0)-(c[j>>2]|0)-(c[i>>2]|0);d=c[f>>2]|0;if((c[f>>2]|0)>=0)if((d|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];q=c[g>>2]|0;l=h;return q|0}else{c[g>>2]=0;q=c[g>>2]|0;l=h;return q|0}a=c[e>>2]|0;b=0-(c[f>>2]|0)|0;do if((-2147483648>>0-d|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>b|0)){d=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){d=2147483647>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>b|0)){d=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){d=-2147483648>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}while(0);c[g>>2]=d<<0-(c[f>>2]|0);q=c[g>>2]|0;l=h;return q|0}function ng(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;e=h+16|0;f=h+12|0;g=h+8|0;d=h+4|0;b=h;c[f>>2]=a;if((c[f>>2]|0)<=0){c[e>>2]=0;g=c[e>>2]|0;l=h;return g|0}og(c[f>>2]|0,d,b);if(c[d>>2]&1|0)c[g>>2]=32768;else c[g>>2]=46214;c[g>>2]=c[g>>2]>>(c[d>>2]>>1);f=N(c[g>>2]>>16,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[g>>2]&65535,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[e>>2]=c[g>>2];g=c[e>>2]|0;l=h;return g|0}function og(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=pg(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];b=(qg(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=b;l=e;return}function pg(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function qg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;g=j+20|0;d=j+16|0;h=j+12|0;i=j+8|0;f=j+4|0;e=j;c[d>>2]=a;c[h>>2]=b;c[i>>2]=c[d>>2];c[f>>2]=c[h>>2];c[e>>2]=0-(c[h>>2]|0);if(!(c[h>>2]|0)){c[g>>2]=c[d>>2];i=c[g>>2]|0;l=j;return i|0}a=c[i>>2]|0;if((c[h>>2]|0)<0){c[g>>2]=a<>2]|(c[i>>2]|0)>>>(32-(c[e>>2]|0)|0);i=c[g>>2]|0;l=j;return i|0}else{c[g>>2]=a<<32-(c[f>>2]|0)|(c[i>>2]|0)>>>(c[f>>2]|0);i=c[g>>2]|0;l=j;return i|0}return 0}function rg(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;o=r+40|0;i=r+36|0;h=r+32|0;j=r+28|0;n=r+24|0;k=r+20|0;q=r+16|0;m=r+12|0;g=r+8|0;f=r+4|0;p=r;c[o>>2]=d;c[i>>2]=e;c[p>>2]=0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=2)break;c[g>>2]=2147483647;c[h>>2]=0;a:while(1){if((c[h>>2]|0)>=15)break;c[k>>2]=b[24526+(c[h>>2]<<1)>>1];c[q>>2]=(((b[24526+((c[h>>2]|0)+1<<1)>>1]|0)-(c[k>>2]|0)>>16)*6554|0)+(((b[24526+((c[h>>2]|0)+1<<1)>>1]|0)-(c[k>>2]|0)&65535)*6554>>16);c[j>>2]=0;while(1){if((c[j>>2]|0)>=5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h[k>>3];q=N(c[m>>2]|0,c[i>>2]|0)|0;g[(c[j>>2]|0)+(q+((c[n>>2]|0)+(c[m>>2]|0))<<2)>>2]=+h[k>>3];c[m>>2]=(c[m>>2]|0)+1}c[p>>2]=(c[p>>2]|0)+-4;c[n>>2]=(c[n>>2]|0)+1}l=r;return}function vg(b){b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;d=f;c[d>>2]=b;Fe(c[d>>2]|0,(c[d>>2]|0)+5128+2|0)|0;b=c[d>>2]|0;if((c[(c[d>>2]|0)+4556>>2]|0)>=13){c[b+6116>>2]=0;c[(c[d>>2]|0)+6112>>2]=0;a[(c[d>>2]|0)+4768+29>>0]=1;b=1;e=c[d>>2]|0;d=(c[d>>2]|0)+4752|0;e=e+5780|0;e=c[e>>2]|0;e=d+e|0;a[e>>0]=b;l=f;return}a[b+4768+29>>0]=0;b=(c[d>>2]|0)+6116|0;c[b>>2]=(c[b>>2]|0)+1;b=c[d>>2]|0;if((c[(c[d>>2]|0)+6116>>2]|0)>=10){if((c[b+6116>>2]|0)>30){c[(c[d>>2]|0)+6116>>2]=10;b=c[d>>2]|0;e=5}}else e=5;if((e|0)==5)c[b+6112>>2]=0;b=0;e=c[d>>2]|0;d=(c[d>>2]|0)+4752|0;e=e+5780|0;e=c[e>>2]|0;e=d+e|0;a[e>>0]=b;l=f;return}function wg(d,e,f,h,i,j){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=l;l=l+15152|0;P=Y+13856|0;L=Y+13852|0;K=Y+13848|0;M=Y+13844|0;p=Y+13840|0;E=Y+13836|0;W=Y+13832|0;Q=Y+12920|0;C=Y+12916|0;D=Y+12912|0;F=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0,c[p>>2]|0);Yg(c[L>>2]|0,Q,c[p>>2]|0);Vg(c[L>>2]|0,Q,X,c[n>>2]|0);yg(c[L>>2]|0,Q,X,c[p>>2]|0);c[F>>2]=6;b[v>>1]=256;c[t>>2]=0;c[u>>2]=0;c[z>>2]=Nd((c[L>>2]|0)+4768|0,c[(c[L>>2]|0)+4604>>2]|0)|0;c[A>>2]=-1;c[B>>2]=-1;h=T;i=c[M>>2]|0;e=h+48|0;do{c[h>>2]=c[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(e|0));_i(R|0,(c[L>>2]|0)+144|0,4380)|0;c[V>>2]=a[(c[L>>2]|0)+4768+34>>0];b[r>>1]=b[(c[L>>2]|0)+5804>>1]|0;c[s>>2]=c[(c[L>>2]|0)+5800>>2];c[D>>2]=0;while(1){do if((c[z>>2]|0)!=(c[A>>2]|0)){if((c[z>>2]|0)==(c[B>>2]|0)){c[G>>2]=c[I>>2];break}if((c[D>>2]|0)>0){h=c[M>>2]|0;i=T;e=h+48|0;do{c[h>>2]=c[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(e|0));_i((c[L>>2]|0)+144|0,R|0,4380)|0;a[(c[L>>2]|0)+4768+34>>0]=c[V>>2];b[(c[L>>2]|0)+5804>>1]=b[r>>1]|0;c[(c[L>>2]|0)+5800>>2]=c[s>>2]}kh(c[L>>2]|0,Q,(c[L>>2]|0)+4768|0,(c[L>>2]|0)+144|0,(c[L>>2]|0)+4804|0,X);Gd(c[L>>2]|0,c[M>>2]|0,c[(c[L>>2]|0)+5780>>2]|0,0,c[p>>2]|0);Hd(c[M>>2]|0,a[(c[L>>2]|0)+4768+29>>0]|0,a[(c[L>>2]|0)+4768+30>>0]|0,(c[L>>2]|0)+4804|0,c[(c[L>>2]|0)+4608>>2]|0);c[G>>2]=zg(c[M>>2]|0)|0;if((c[W>>2]|0)==0&(c[D>>2]|0)==0?(c[G>>2]|0)<=(c[E>>2]|0):0)break a}else c[G>>2]=c[H>>2];while(0);if((c[D>>2]|0)==(c[F>>2]|0))break;do if((c[G>>2]|0)>(c[E>>2]|0))if((c[t>>2]|0)==0&(c[D>>2]|0)>=2){n=Q+852|0;g[n>>2]=+g[n>>2]*1.5;c[u>>2]=0;c[B>>2]=-1;break}else{c[u>>2]=1;c[I>>2]=c[G>>2];c[x>>2]=b[v>>1];c[B>>2]=c[z>>2];break}else{if((c[G>>2]|0)>=((c[E>>2]|0)-5|0))break a;c[t>>2]=1;c[H>>2]=c[G>>2];c[w>>2]=b[v>>1];if((c[z>>2]|0)!=(c[A>>2]|0)){c[A>>2]=c[z>>2];h=U;i=c[M>>2]|0;e=h+48|0;do{c[h>>2]=c[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(e|0));_i(q|0,c[c[M>>2]>>2]|0,c[(c[M>>2]|0)+24>>2]|0)|0;_i(S|0,(c[L>>2]|0)+144|0,4380)|0;a[o>>0]=a[(c[L>>2]|0)+7200>>0]|0}}while(0);do if(c[t>>2]&c[u>>2]){n=N((c[x>>2]|0)-(c[w>>2]|0)|0,(c[E>>2]|0)-(c[H>>2]|0)|0)|0;b[v>>1]=(c[w>>2]|0)+((n|0)/((c[I>>2]|0)-(c[H>>2]|0)|0)|0);if((b[v>>1]|0)>((c[w>>2]|0)+((c[x>>2]|0)-(c[w>>2]|0)>>2)|0)){b[v>>1]=(c[w>>2]|0)+((c[x>>2]|0)-(c[w>>2]|0)>>2);break}if((b[v>>1]|0)<((c[x>>2]|0)-((c[x>>2]|0)-(c[w>>2]|0)>>2)|0))b[v>>1]=(c[x>>2]|0)-((c[x>>2]|0)-(c[w>>2]|0)>>2)}else{c[y>>2]=Ff((((c[G>>2]|0)-(c[E>>2]|0)<<7|0)/(c[(c[L>>2]|0)+4608>>2]|0)|0)+2048|0)|0;c[y>>2]=Ag(c[y>>2]|0,131072)|0;if((c[G>>2]|0)>(c[E>>2]|0))c[y>>2]=Bg(c[y>>2]|0,85197)|0;n=N(c[y>>2]>>16,b[v>>1]|0)|0;b[v>>1]=n+((N(c[y>>2]&65535,b[v>>1]|0)|0)>>16)}while(0);c[C>>2]=0;while(1){if((c[C>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;n=N(c[Q+892+(c[C>>2]<<2)>>2]>>16,b[v>>1]|0)|0;if((n+((N(c[Q+892+(c[C>>2]<<2)>>2]&65535,b[v>>1]|0)|0)>>16)|0)<=8388607){n=N(c[Q+892+(c[C>>2]<<2)>>2]>>16,b[v>>1]|0)|0;if((n+((N(c[Q+892+(c[C>>2]<<2)>>2]&65535,b[v>>1]|0)|0)>>16)|0)<-8388608)h=-8388608;else{h=N(c[Q+892+(c[C>>2]<<2)>>2]>>16,b[v>>1]|0)|0;h=h+((N(c[Q+892+(c[C>>2]<<2)>>2]&65535,b[v>>1]|0)|0)>>16)|0}}else h=8388607;c[J+(c[C>>2]<<2)>>2]=h<<8;c[C>>2]=(c[C>>2]|0)+1}a[(c[L>>2]|0)+7200>>0]=a[Q+908>>0]|0;Jd((c[L>>2]|0)+4768|0,J,(c[L>>2]|0)+7200|0,(c[p>>2]|0)==2&1,c[(c[L>>2]|0)+4604>>2]|0);c[z>>2]=Nd((c[L>>2]|0)+4768|0,c[(c[L>>2]|0)+4604>>2]|0)|0;c[C>>2]=0;while(1){if((c[C>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;g[Q+(c[C>>2]<<2)>>2]=+(c[J+(c[C>>2]<<2)>>2]|0)/65536.0;c[C>>2]=(c[C>>2]|0)+1}c[D>>2]=(c[D>>2]|0)+1}if(c[t>>2]|0){if((c[z>>2]|0)!=(c[A>>2]|0)?(c[G>>2]|0)<=(c[E>>2]|0):0)break;h=c[M>>2]|0;i=U;e=h+48|0;do{c[h>>2]=c[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(e|0));_i(c[c[M>>2]>>2]|0,q|0,c[U+24>>2]|0)|0;_i((c[L>>2]|0)+144|0,S|0,4380)|0;a[(c[L>>2]|0)+7200>>0]=a[o>>0]|0}}while(0);$i((c[L>>2]|0)+9356|0,(c[L>>2]|0)+9356+(c[(c[L>>2]|0)+4608>>2]<<2)|0,(c[(c[L>>2]|0)+4616>>2]|0)+((c[(c[L>>2]|0)+4600>>2]|0)*5|0)<<2|0)|0;if(c[(c[L>>2]|0)+4712>>2]|0){c[c[K>>2]>>2]=0;c[P>>2]=c[O>>2];X=c[P>>2]|0;l=Y;return X|0}else{c[(c[L>>2]|0)+4568>>2]=c[Q+228+((c[(c[L>>2]|0)+4604>>2]|0)-1<<2)>>2];a[(c[L>>2]|0)+4565>>0]=a[(c[L>>2]|0)+4768+29>>0]|0;c[(c[L>>2]|0)+4696>>2]=0;X=(zg(c[M>>2]|0)|0)+7>>3;c[c[K>>2]>>2]=X;c[P>>2]=c[O>>2];X=c[P>>2]|0;l=Y;return X|0}return 0}function xg(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;i=j+12|0;f=j+8|0;k=j+4|0;h=j;c[i>>2]=a;c[f>>2]=d;c[k>>2]=e;c[h>>2]=(c[k>>2]|0)-1;while(1){if((c[h>>2]|0)<0)break;g[(c[i>>2]|0)+(c[h>>2]<<2)>>2]=+(b[(c[f>>2]|0)+(c[h>>2]<<1)>>1]|0);c[h>>2]=(c[h>>2]|0)+-1}l=j;return}function yg(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+4448|0;n=s+4432|0;o=s+4428|0;r=s+4424|0;k=s+4420|0;m=s+4416|0;i=s+4400|0;j=s+4384|0;p=s+4380|0;q=s;c[n>>2]=d;c[o>>2]=e;c[r>>2]=f;c[k>>2]=h;c[p>>2]=(c[n>>2]|0)+6132+((c[(c[n>>2]|0)+5780>>2]|0)*36|0);if(!(c[(c[n>>2]|0)+6124>>2]|0)){l=s;return}if((c[(c[n>>2]|0)+4556>>2]|0)<=77){l=s;return}c[(c[n>>2]|0)+4756+(c[(c[n>>2]|0)+5780>>2]<<2)>>2]=1;_i(q|0,(c[n>>2]|0)+144|0,4380)|0;h=c[p>>2]|0;d=(c[n>>2]|0)+4768|0;e=h+36|0;do{b[h>>1]=b[d>>1]|0;h=h+2|0;d=d+2|0}while((h|0)<(e|0));_i(j|0,c[o>>2]|0,c[(c[n>>2]|0)+4604>>2]<<2|0)|0;if(!((c[(c[n>>2]|0)+5780>>2]|0)!=0?(c[(c[n>>2]|0)+4756+((c[(c[n>>2]|0)+5780>>2]|0)-1<<2)>>2]|0)!=0:0)){a[(c[n>>2]|0)+4564>>0]=a[(c[n>>2]|0)+7200>>0]|0;f=c[p>>2]|0;a[f>>0]=(a[f>>0]|0)+(c[(c[n>>2]|0)+6128>>2]|0);f=(Cg(a[c[p>>2]>>0]|0,63)|0)&255;a[c[p>>2]>>0]=f}Ld(i,c[p>>2]|0,(c[n>>2]|0)+4564|0,(c[k>>2]|0)==2&1,c[(c[n>>2]|0)+4604>>2]|0);c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[(c[n>>2]|0)+4604>>2]|0))break;g[(c[o>>2]|0)+(c[m>>2]<<2)>>2]=+(c[i+(c[m>>2]<<2)>>2]|0)*.0000152587890625;c[m>>2]=(c[m>>2]|0)+1}kh(c[n>>2]|0,c[o>>2]|0,c[p>>2]|0,q,(c[n>>2]|0)+6240+((c[(c[n>>2]|0)+5780>>2]|0)*320|0)|0,c[r>>2]|0);_i(c[o>>2]|0,j|0,c[(c[n>>2]|0)+4604>>2]<<2|0)|0;l=s;return}function zg(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=(c[(c[d>>2]|0)+20>>2]|0)-(32-(Q(c[(c[d>>2]|0)+28>>2]|0)|0))|0;l=b;return a|0}function Ag(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Bg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Cg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Dg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+1744|0;p=v+1700|0;k=v+1696|0;u=v+1692|0;h=v+1688|0;o=v+1684|0;t=v+1680|0;m=v+1616|0;q=v+1608|0;r=v+1604|0;s=v+1600|0;j=v+1704|0;n=v+1536|0;i=v;c[p>>2]=b;c[k>>2]=d;c[u>>2]=e;g[h>>2]=f;c[t>>2]=(c[(c[p>>2]|0)+4612>>2]|0)+(c[(c[p>>2]|0)+4664>>2]|0);a[(c[p>>2]|0)+4768+31>>0]=4;g[q>>2]=+nh(m,c[u>>2]|0,+g[h>>2],c[t>>2]|0,c[(c[p>>2]|0)+4604>>2]|0,c[(c[p>>2]|0)+4664>>2]|0);a:do if((c[(c[p>>2]|0)+4656>>2]|0?(c[(c[p>>2]|0)+4696>>2]|0)==0:0)?(c[(c[p>>2]|0)+4604>>2]|0)==4:0){f=+nh(n,(c[u>>2]|0)+(c[t>>2]<<1<<2)|0,+g[h>>2],c[t>>2]|0,2,c[(c[p>>2]|0)+4664>>2]|0);g[q>>2]=+g[q>>2]-f;gh(c[k>>2]|0,n,c[(c[p>>2]|0)+4664>>2]|0);g[r>>2]=3402823466385288598117041.0e14;c[o>>2]=3;while(1){if((c[o>>2]|0)<0)break a;Od(j,(c[p>>2]|0)+4524|0,c[k>>2]|0,c[o>>2]|0,c[(c[p>>2]|0)+4664>>2]|0);ih(n,j,c[(c[p>>2]|0)+4664>>2]|0);Ig(i,n,c[u>>2]|0,c[t>>2]<<1,c[(c[p>>2]|0)+4664>>2]|0);f=+ph(i+(c[(c[p>>2]|0)+4664>>2]<<2)|0,(c[t>>2]|0)-(c[(c[p>>2]|0)+4664>>2]|0)|0);g[s>>2]=f+ +ph(i+(c[(c[p>>2]|0)+4664>>2]<<2)+(c[t>>2]<<2)|0,(c[t>>2]|0)-(c[(c[p>>2]|0)+4664>>2]|0)|0);f=+g[s>>2];if(!(+g[s>>2]<+g[q>>2])){if(f>+g[r>>2])break a}else{g[q>>2]=f;a[(c[p>>2]|0)+4768+31>>0]=c[o>>2]}g[r>>2]=+g[s>>2];c[o>>2]=(c[o>>2]|0)+-1}}while(0);if((a[(c[p>>2]|0)+4768+31>>0]|0)!=4){l=v;return}gh(c[k>>2]|0,m,c[(c[p>>2]|0)+4664>>2]|0);l=v;return}function Eg(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;L=l;l=l+192|0;A=L+188|0;O=L+184|0;p=L+180|0;N=L+176|0;t=L+172|0;s=L+168|0;z=L+164|0;I=L+160|0;M=L+156|0;F=L+152|0;G=L+148|0;B=L+144|0;J=L+140|0;r=L+136|0;o=L+132|0;m=L+128|0;C=L+112|0;H=L+104|0;E=L+100|0;D=L+80|0;K=L+64|0;v=L+48|0;x=L+44|0;q=L+24|0;y=L+8|0;w=L+4|0;u=L;c[A>>2]=a;c[O>>2]=b;c[p>>2]=d;c[N>>2]=e;c[t>>2]=f;c[s>>2]=h;c[z>>2]=i;c[I>>2]=j;c[M>>2]=k;c[B>>2]=c[A>>2];c[r>>2]=c[O>>2];c[w>>2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+g[o>>2]/+g[m>>2])*3.0;g[c[p>>2]>>2]=n}c[B>>2]=c[A>>2];c[G>>2]=0;while(1){if((c[G>>2]|0)>=(c[I>>2]|0))break;g[C+(c[G>>2]<<2)>>2]=0.0;c[F>>2]=0;while(1){m=c[B>>2]|0;if((c[F>>2]|0)>=5)break;O=C+(c[G>>2]<<2)|0;g[O>>2]=+g[O>>2]+ +g[m+(c[F>>2]<<2)>>2];c[F>>2]=(c[F>>2]|0)+1}c[B>>2]=m+20;c[G>>2]=(c[G>>2]|0)+1}g[J>>2]=1.0000000474974513e-03;c[G>>2]=0;while(1){if((c[G>>2]|0)>=(c[I>>2]|0))break;g[J>>2]=+g[J>>2]+ +g[K+(c[G>>2]<<2)>>2];c[G>>2]=(c[G>>2]|0)+1}g[H>>2]=0.0;c[G>>2]=0;while(1){if((c[G>>2]|0)>=(c[I>>2]|0))break;g[H>>2]=+g[H>>2]+ +g[C+(c[G>>2]<<2)>>2]*+g[K+(c[G>>2]<<2)>>2];c[G>>2]=(c[G>>2]|0)+1}g[H>>2]=+g[H>>2]/+g[J>>2];c[B>>2]=c[A>>2];c[G>>2]=0;while(1){if((c[G>>2]|0)>=(c[I>>2]|0))break;g[E>>2]=.10000000149011612/(+g[K+(c[G>>2]<<2)>>2]+.10000000149011612)*(+g[H>>2]-+g[C+(c[G>>2]<<2)>>2]);g[J>>2]=0.0;c[F>>2]=0;while(1){if((c[F>>2]|0)>=5)break;if(+g[(c[B>>2]|0)+(c[F>>2]<<2)>>2]>.10000000149011612)n=+g[(c[B>>2]|0)+(c[F>>2]<<2)>>2];else n=.10000000149011612;g[D+(c[F>>2]<<2)>>2]=n;g[J>>2]=+g[J>>2]+ +g[D+(c[F>>2]<<2)>>2];c[F>>2]=(c[F>>2]|0)+1}g[J>>2]=+g[E>>2]/+g[J>>2];c[F>>2]=0;while(1){m=c[B>>2]|0;if((c[F>>2]|0)>=5)break;g[(c[B>>2]|0)+(c[F>>2]<<2)>>2]=+g[m+(c[F>>2]<<2)>>2]+ +g[D+(c[F>>2]<<2)>>2]*+g[J>>2];c[F>>2]=(c[F>>2]|0)+1}c[B>>2]=m+20;c[G>>2]=(c[G>>2]|0)+1}l=L;return}function Fg(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;h[c>>3]=a;a=+Ti(+h[c>>3])*3.32192809488736;l=b;return +a}function Gg(d,e,f,h,i){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;p=l;l=l+1792|0;k=p+1776|0;m=p+1772|0;n=p+1768|0;z=p+1764|0;j=p+1760|0;q=p+1756|0;o=p+1752|0;u=p+1748|0;x=p+1744|0;r=p+1740|0;v=p+1672|0;s=p+1608|0;t=p+1544|0;w=p+8|0;y=p;c[k>>2]=d;c[m>>2]=e;c[n>>2]=f;c[z>>2]=h;c[j>>2]=i;c[q>>2]=(c[(c[k>>2]|0)+4620>>2]|0)+(c[(c[k>>2]|0)+4608>>2]|0)+(c[(c[k>>2]|0)+4616>>2]|0);c[r>>2]=(c[z>>2]|0)+(0-(c[(c[k>>2]|0)+4616>>2]|0)<<2);c[x>>2]=(c[r>>2]|0)+(c[q>>2]<<2)+(0-(c[(c[k>>2]|0)+4572>>2]|0)<<2);c[y>>2]=w;sg(c[y>>2]|0,c[x>>2]|0,1,c[(c[k>>2]|0)+4620>>2]|0);c[y>>2]=(c[y>>2]|0)+(c[(c[k>>2]|0)+4620>>2]<<2);c[x>>2]=(c[x>>2]|0)+(c[(c[k>>2]|0)+4620>>2]<<2);_i(c[y>>2]|0,c[x>>2]|0,(c[(c[k>>2]|0)+4572>>2]|0)-(c[(c[k>>2]|0)+4620>>2]<<1)<<2|0)|0;c[y>>2]=(c[y>>2]|0)+((c[(c[k>>2]|0)+4572>>2]|0)-(c[(c[k>>2]|0)+4620>>2]<<1)<<2);c[x>>2]=(c[x>>2]|0)+((c[(c[k>>2]|0)+4572>>2]|0)-(c[(c[k>>2]|0)+4620>>2]<<1)<<2);sg(c[y>>2]|0,c[x>>2]|0,2,c[(c[k>>2]|0)+4620>>2]|0);mh(v,w,c[(c[k>>2]|0)+4572>>2]|0,(c[(c[k>>2]|0)+4672>>2]|0)+1|0);g[v>>2]=+g[v>>2]+(+g[v>>2]*1.0000000474974513e-03+1.0);g[u>>2]=+Eh(t,v,c[(c[k>>2]|0)+4672>>2]|0);g[(c[m>>2]|0)+868>>2]=+g[v>>2]/(+g[u>>2]>1.0?+g[u>>2]:1.0);rh(s,t,c[(c[k>>2]|0)+4672>>2]|0);oh(s,c[(c[k>>2]|0)+4672>>2]|0,.9900000095367432);Ig(c[n>>2]|0,s,c[r>>2]|0,c[q>>2]|0,c[(c[k>>2]|0)+4672>>2]|0);if(a[(c[k>>2]|0)+4768+29>>0]|0?(c[(c[k>>2]|0)+4696>>2]|0)==0:0){g[o>>2]=.6000000238418579;g[o>>2]=+g[o>>2]-+(c[(c[k>>2]|0)+4672>>2]|0)*.004000000189989805;g[o>>2]=+g[o>>2]-+(c[(c[k>>2]|0)+4556>>2]|0)*.10000000149011612*.00390625;g[o>>2]=+g[o>>2]-+(a[(c[k>>2]|0)+4565>>0]>>1|0)*.15000000596046448;g[o>>2]=+g[o>>2]-+(c[(c[k>>2]|0)+4744>>2]|0)*.10000000149011612*.000030517578125;z=(uh(c[n>>2]|0,(c[m>>2]|0)+228|0,(c[k>>2]|0)+4768+26|0,(c[k>>2]|0)+4768+28|0,(c[k>>2]|0)+12236|0,c[(c[k>>2]|0)+4568>>2]|0,+(c[(c[k>>2]|0)+4676>>2]|0)/65536.0,+g[o>>2],c[(c[k>>2]|0)+4600>>2]|0,c[(c[k>>2]|0)+4668>>2]|0,c[(c[k>>2]|0)+4604>>2]|0,c[j>>2]|0)|0)==0;a[(c[k>>2]|0)+4768+29>>0]=z?2:1;l=p;return}z=(c[m>>2]|0)+228|0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;c[z+12>>2]=0;b[(c[k>>2]|0)+4768+26>>1]=0;a[(c[k>>2]|0)+4768+28>>0]=0;g[(c[k>>2]|0)+12236>>2]=0.0;l=p;return}function Hg(d,e,f,h,i){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0;y=l;l=l+2048|0;s=y+2004|0;t=y+2e3|0;u=y+1996|0;v=y+1992|0;o=y+1988|0;p=y+1984|0;m=y+1584|0;q=y+1568|0;n=y+1552|0;j=y+2008|0;x=y+1548|0;w=y+1544|0;k=y+8|0;r=y;c[s>>2]=d;c[t>>2]=e;c[u>>2]=f;c[v>>2]=h;c[o>>2]=i;c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[(c[s>>2]|0)+4604>>2]|0))break;g[q+(c[p>>2]<<2)>>2]=1.0/+g[(c[t>>2]|0)+(c[p>>2]<<2)>>2];g[n+(c[p>>2]<<2)>>2]=+g[q+(c[p>>2]<<2)>>2]*+g[q+(c[p>>2]<<2)>>2];c[p>>2]=(c[p>>2]|0)+1}if((a[(c[s>>2]|0)+4768+29>>0]|0)==2){Eg((c[t>>2]|0)+144|0,m,(c[t>>2]|0)+872|0,c[u>>2]|0,(c[t>>2]|0)+228|0,n,c[(c[s>>2]|0)+4612>>2]|0,c[(c[s>>2]|0)+4604>>2]|0,c[(c[s>>2]|0)+4616>>2]|0);lh((c[t>>2]|0)+144|0,(c[s>>2]|0)+4768+4|0,(c[s>>2]|0)+4768+32|0,(c[s>>2]|0)+4688|0,m,c[(c[s>>2]|0)+4684>>2]|0,c[(c[s>>2]|0)+4680>>2]|0,c[(c[s>>2]|0)+4604>>2]|0,c[(c[s>>2]|0)+5124>>2]|0);Pg(c[s>>2]|0,c[t>>2]|0,c[o>>2]|0);Og(k,(c[v>>2]|0)+(0-(c[(c[s>>2]|0)+4664>>2]|0)<<2)|0,(c[t>>2]|0)+144|0,(c[t>>2]|0)+228|0,q,c[(c[s>>2]|0)+4612>>2]|0,c[(c[s>>2]|0)+4604>>2]|0,c[(c[s>>2]|0)+4664>>2]|0)}else{c[x>>2]=(c[v>>2]|0)+(0-(c[(c[s>>2]|0)+4664>>2]|0)<<2);c[w>>2]=k;c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[(c[s>>2]|0)+4604>>2]|0))break;Ch(c[w>>2]|0,c[x>>2]|0,+g[q+(c[p>>2]<<2)>>2],(c[(c[s>>2]|0)+4612>>2]|0)+(c[(c[s>>2]|0)+4664>>2]|0)|0);c[w>>2]=(c[w>>2]|0)+((c[(c[s>>2]|0)+4612>>2]|0)+(c[(c[s>>2]|0)+4664>>2]|0)<<2);c[x>>2]=(c[x>>2]|0)+(c[(c[s>>2]|0)+4612>>2]<<2);c[p>>2]=(c[p>>2]|0)+1}aj((c[t>>2]|0)+144|0,0,(c[(c[s>>2]|0)+4604>>2]|0)*5<<2|0)|0;g[(c[t>>2]|0)+872>>2]=0.0;c[(c[s>>2]|0)+4688>>2]=0}if(c[(c[s>>2]|0)+4696>>2]|0){g[r>>2]=.009999999776482582;v=c[s>>2]|0;z=+g[r>>2];Dg(v,j,k,z);v=c[s>>2]|0;h=c[t>>2]|0;h=h+16|0;u=c[s>>2]|0;u=u+4524|0;jh(v,h,j,u);u=c[t>>2]|0;u=u+876|0;h=c[t>>2]|0;h=h+16|0;v=c[t>>2]|0;w=c[s>>2]|0;w=w+4612|0;w=c[w>>2]|0;x=c[s>>2]|0;x=x+4604|0;x=c[x>>2]|0;m=c[s>>2]|0;m=m+4664|0;m=c[m>>2]|0;ah(u,k,h,v,w,x,m);m=c[s>>2]|0;m=m+4524|0;k=m+32|0;do{b[m>>1]=b[j>>1]|0;m=m+2|0;j=j+2|0}while((m|0)<(k|0));l=y;return}else{g[r>>2]=+C(2.0,+(+g[(c[t>>2]|0)+872>>2]/3.0))/1.0e4;g[r>>2]=+g[r>>2]/(+g[(c[t>>2]|0)+860>>2]*.75+.25);v=c[s>>2]|0;z=+g[r>>2];Dg(v,j,k,z);v=c[s>>2]|0;h=c[t>>2]|0;h=h+16|0;u=c[s>>2]|0;u=u+4524|0;jh(v,h,j,u);u=c[t>>2]|0;u=u+876|0;h=c[t>>2]|0;h=h+16|0;v=c[t>>2]|0;w=c[s>>2]|0;w=w+4612|0;w=c[w>>2]|0;x=c[s>>2]|0;x=x+4604|0;x=c[x>>2]|0;m=c[s>>2]|0;m=m+4664|0;m=c[m>>2]|0;ah(u,k,h,v,w,x,m);m=c[s>>2]|0;m=m+4524|0;k=m+32|0;do{b[m>>1]=b[j>>1]|0;m=m+2|0;j=j+2|0}while((m|0)<(k|0));l=y;return}}function Ig(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;j=m+16|0;h=m+12|0;k=m+8|0;i=m+4|0;g=m;c[j>>2]=a;c[h>>2]=b;c[k>>2]=d;c[i>>2]=e;c[g>>2]=f;switch(c[g>>2]|0){case 6:{Jg(c[j>>2]|0,c[h>>2]|0,c[k>>2]|0,c[i>>2]|0);break}case 8:{Kg(c[j>>2]|0,c[h>>2]|0,c[k>>2]|0,c[i>>2]|0);break}case 10:{Lg(c[j>>2]|0,c[h>>2]|0,c[k>>2]|0,c[i>>2]|0);break}case 12:{Mg(c[j>>2]|0,c[h>>2]|0,c[k>>2]|0,c[i>>2]|0);break}case 16:{Ng(c[j>>2]|0,c[h>>2]|0,c[k>>2]|0,c[i>>2]|0);break}default:{}}aj(c[j>>2]|0,0,c[g>>2]<<2|0)|0;l=m;return}function Jg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;k=o+24|0;h=o+20|0;m=o+16|0;j=o+12|0;i=o+8|0;f=o+4|0;n=o;c[k>>2]=a;c[h>>2]=b;c[m>>2]=d;c[j>>2]=e;c[i>>2]=6;while(1){if((c[i>>2]|0)>=(c[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10000000149011612>2.0))if(+(c[i>>2]|0)*+g[(c[k>>2]|0)+872>>2]*.10000000149011612<0.0)h=0.0;else h=+(c[i>>2]|0)*+g[(c[k>>2]|0)+872>>2]*.10000000149011612;else h=2.0;d=~~h;f=c[j>>2]|0}else d=0;a[f+4768+33>>0]=d;g[(c[k>>2]|0)+224>>2]=+(b[24566+(a[(c[j>>2]|0)+4768+33>>0]<<1)>>1]|0)/16384.0;l=m;return}function Qg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0.0,R=0;P=l;l=l+1152|0;L=P+1140|0;M=P+1136|0;v=P+1132|0;R=P+1128|0;N=P+1124|0;K=P+1120|0;t=P+1116|0;j=P+1112|0;G=P+1108|0;H=P+1104|0;I=P+1100|0;u=P+1096|0;x=P+1092|0;r=P+1088|0;s=P+1084|0;n=P+1080|0;m=P+1076|0;h=P+1072|0;i=P+1068|0;q=P+1064|0;p=P+1060|0;O=P+1056|0;J=P+1052|0;D=P+1048|0;F=P+88|0;k=P+20|0;E=P+16|0;w=P+12|0;y=P+8|0;z=P+4|0;o=P;c[L>>2]=b;c[M>>2]=d;c[v>>2]=e;c[R>>2]=f;c[N>>2]=(c[L>>2]|0)+7200;c[E>>2]=(c[R>>2]|0)+(0-(c[(c[L>>2]|0)+4624>>2]|0)<<2);g[j>>2]=+(c[(c[L>>2]|0)+4748>>2]|0)*.0078125;g[(c[M>>2]|0)+856>>2]=+((c[(c[L>>2]|0)+4728>>2]|0)+(c[(c[L>>2]|0)+4728+4>>2]|0)|0)*.5*.000030517578125;Q=+Rg((+g[j>>2]-20.0)*.25);g[(c[M>>2]|0)+860>>2]=Q;if(!(c[(c[L>>2]|0)+4708>>2]|0)){g[J>>2]=1.0-+(c[(c[L>>2]|0)+4556>>2]|0)*.00390625;g[j>>2]=+g[j>>2]-+g[(c[M>>2]|0)+860>>2]*2.0*(+g[(c[M>>2]|0)+856>>2]*.5+.5)*+g[J>>2]*+g[J>>2]}e=c[L>>2]|0;if((a[(c[L>>2]|0)+4768+29>>0]|0)==2)g[j>>2]=+g[j>>2]+ +g[e+12236>>2]*2.0;else g[j>>2]=+g[j>>2]+(+(c[e+4748>>2]|0)*-.4000000059604645*.0078125+6.0)*(1.0-+g[(c[M>>2]|0)+856>>2]);e=c[L>>2]|0;if((a[(c[L>>2]|0)+4768+29>>0]|0)==2){a[e+4768+30>>0]=0;g[(c[M>>2]|0)+864>>2]=0.0}else{c[t>>2]=c[e+4600>>2]<<1;g[n>>2]=0.0;g[s>>2]=0.0;c[w>>2]=c[v>>2];c[K>>2]=0;while(1){if((c[K>>2]|0)>=((((c[(c[L>>2]|0)+4604>>2]&65535)<<16>>16)*5|0)/2|0|0))break;Q=+(c[t>>2]|0);g[u>>2]=Q+ +ph(c[w>>2]|0,c[t>>2]|0);g[r>>2]=+Sg(+g[u>>2]);if((c[K>>2]|0)>0){Q=+A(+(+g[r>>2]-+g[s>>2]));g[n>>2]=+g[n>>2]+Q}g[s>>2]=+g[r>>2];c[w>>2]=(c[w>>2]|0)+(c[t>>2]<<2);c[K>>2]=(c[K>>2]|0)+1}Q=+Rg((+g[n>>2]-5.0)*.4000000059604645);g[(c[M>>2]|0)+864>>2]=Q;a[(c[L>>2]|0)+4768+30>>0]=+g[(c[M>>2]|0)+864>>2]>.75?0:1;g[j>>2]=+g[j>>2]+(+g[(c[M>>2]|0)+864>>2]-.5)*2.0}g[O>>2]=+g[(c[M>>2]|0)+868>>2]*1.0000000474974513e-03;Q=.949999988079071/(+g[O>>2]*+g[O>>2]+1.0);g[i>>2]=Q;g[h>>2]=Q;g[m>>2]=(1.0-+g[(c[M>>2]|0)+860>>2]*.75)*.009999999776482582;g[h>>2]=+g[h>>2]-+g[m>>2];g[i>>2]=+g[i>>2]+ +g[m>>2];g[h>>2]=+g[h>>2]/+g[i>>2];if((c[(c[L>>2]|0)+4704>>2]|0)>0)g[D>>2]=+(c[(c[L>>2]|0)+4704>>2]|0)/65536.0+ +g[(c[M>>2]|0)+860>>2]*.009999999776482582;else g[D>>2]=0.0;c[K>>2]=0;while(1){if((c[K>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;c[o>>2]=(c[(c[L>>2]|0)+4600>>2]|0)*3;c[z>>2]=((c[(c[L>>2]|0)+4628>>2]|0)-(c[o>>2]|0)|0)/2|0;sg(F,c[E>>2]|0,1,c[z>>2]|0);c[y>>2]=c[z>>2];_i(F+(c[y>>2]<<2)|0,(c[E>>2]|0)+(c[y>>2]<<2)|0,c[o>>2]<<2|0)|0;c[y>>2]=(c[y>>2]|0)+(c[o>>2]|0);sg(F+(c[y>>2]<<2)|0,(c[E>>2]|0)+(c[y>>2]<<2)|0,2,c[z>>2]|0);c[E>>2]=(c[E>>2]|0)+(c[(c[L>>2]|0)+4612>>2]<<2);if((c[(c[L>>2]|0)+4704>>2]|0)>0)fh(k,F,+g[D>>2],c[(c[L>>2]|0)+4628>>2]|0,c[(c[L>>2]|0)+4660>>2]|0);else mh(k,F,c[(c[L>>2]|0)+4628>>2]|0,(c[(c[L>>2]|0)+4660>>2]|0)+1|0);g[k>>2]=+g[k>>2]+ +g[k>>2]*4.999999873689376e-05;g[u>>2]=+sh((c[M>>2]|0)+500+(c[K>>2]<<4<<2)|0,k,c[(c[L>>2]|0)+4660>>2]|0);Q=+B(+(+g[u>>2]));g[(c[M>>2]|0)+(c[K>>2]<<2)>>2]=Q;if((c[(c[L>>2]|0)+4704>>2]|0)>0){Q=+Tg((c[M>>2]|0)+500+(c[K>>2]<<4<<2)|0,+g[D>>2],c[(c[L>>2]|0)+4660>>2]|0);R=(c[M>>2]|0)+(c[K>>2]<<2)|0;g[R>>2]=+g[R>>2]*Q}oh((c[M>>2]|0)+500+(c[K>>2]<<4<<2)|0,c[(c[L>>2]|0)+4660>>2]|0,+g[i>>2]);_i((c[M>>2]|0)+244+(c[K>>2]<<4<<2)|0,(c[M>>2]|0)+500+(c[K>>2]<<4<<2)|0,c[(c[L>>2]|0)+4660>>2]<<2|0)|0;oh((c[M>>2]|0)+244+(c[K>>2]<<4<<2)|0,c[(c[L>>2]|0)+4660>>2]|0,+g[h>>2]);g[x>>2]=+th((c[M>>2]|0)+500+(c[K>>2]<<4<<2)|0,c[(c[L>>2]|0)+4660>>2]|0);g[u>>2]=+th((c[M>>2]|0)+244+(c[K>>2]<<4<<2)|0,c[(c[L>>2]|0)+4660>>2]|0);g[(c[M>>2]|0)+788+(c[K>>2]<<2)>>2]=1.0-(1.0-+g[x>>2]/+g[u>>2])*.699999988079071;Ug((c[M>>2]|0)+500+(c[K>>2]<<4<<2)|0,(c[M>>2]|0)+244+(c[K>>2]<<4<<2)|0,+g[D>>2],3.999000072479248,c[(c[L>>2]|0)+4660>>2]|0);c[K>>2]=(c[K>>2]|0)+1}g[q>>2]=+C(2.0,+(+g[j>>2]*-.1599999964237213));g[p>>2]=+C(2.0,.3199999928474426);c[K>>2]=0;while(1){if((c[K>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;R=(c[M>>2]|0)+(c[K>>2]<<2)|0;g[R>>2]=+g[R>>2]*+g[q>>2];R=(c[M>>2]|0)+(c[K>>2]<<2)|0;g[R>>2]=+g[R>>2]+ +g[p>>2];c[K>>2]=(c[K>>2]|0)+1}g[q>>2]=+g[(c[M>>2]|0)+860>>2]*.10000000149011612+1.0499999523162842;c[K>>2]=0;while(1){if((c[K>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;R=(c[M>>2]|0)+788+(c[K>>2]<<2)|0;g[R>>2]=+g[R>>2]*+g[q>>2];c[K>>2]=(c[K>>2]|0)+1}g[O>>2]=((+(c[(c[L>>2]|0)+4728>>2]|0)*.000030517578125-1.0)*.5+1.0)*4.0;g[O>>2]=+g[O>>2]*(+(c[(c[L>>2]|0)+4556>>2]|0)*.00390625);if((a[(c[L>>2]|0)+4768+29>>0]|0)==2){c[K>>2]=0;while(1){e=c[L>>2]|0;if((c[K>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;g[J>>2]=.20000000298023224/+(c[e+4600>>2]|0)+3.0/+(c[(c[M>>2]|0)+228+(c[K>>2]<<2)>>2]|0);g[(c[M>>2]|0)+756+(c[K>>2]<<2)>>2]=+g[J>>2]+-1.0;g[(c[M>>2]|0)+772+(c[K>>2]<<2)>>2]=1.0-+g[J>>2]-+g[J>>2]*+g[O>>2];c[K>>2]=(c[K>>2]|0)+1}g[I>>2]=-.25-+(c[e+4556>>2]|0)*.26249998807907104*.00390625}else{g[J>>2]=1.2999999523162842/+(c[(c[L>>2]|0)+4600>>2]|0);g[(c[M>>2]|0)+756>>2]=+g[J>>2]+-1.0;g[(c[M>>2]|0)+772>>2]=1.0-+g[J>>2]-+g[J>>2]*+g[O>>2]*.6000000238418579;c[K>>2]=1;while(1){if((c[K>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;g[(c[M>>2]|0)+756+(c[K>>2]<<2)>>2]=+g[(c[M>>2]|0)+756>>2];g[(c[M>>2]|0)+772+(c[K>>2]<<2)>>2]=+g[(c[M>>2]|0)+772>>2];c[K>>2]=(c[K>>2]|0)+1}g[I>>2]=-.25}g[G>>2]=(1.0-+g[(c[M>>2]|0)+860>>2])*.10000000149011612*+g[(c[L>>2]|0)+12236>>2];g[G>>2]=+g[G>>2]+(1.0-+g[(c[M>>2]|0)+856>>2])*.10000000149011612;if((a[(c[L>>2]|0)+4768+29>>0]|0)==2){g[H>>2]=.30000001192092896;g[H>>2]=+g[H>>2]+(1.0-(1.0-+g[(c[M>>2]|0)+860>>2])*+g[(c[M>>2]|0)+856>>2])*.20000000298023224;Q=+B(+(+g[(c[L>>2]|0)+12236>>2]));g[H>>2]=+g[H>>2]*Q}else g[H>>2]=0.0;c[K>>2]=0;while(1){if((c[K>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;R=(c[N>>2]|0)+4|0;g[R>>2]=+g[R>>2]+(+g[G>>2]-+g[(c[N>>2]|0)+4>>2])*.4000000059604645;g[(c[M>>2]|0)+804+(c[K>>2]<<2)>>2]=+g[(c[N>>2]|0)+4>>2];R=(c[N>>2]|0)+8|0;g[R>>2]=+g[R>>2]+(+g[H>>2]-+g[(c[N>>2]|0)+8>>2])*.4000000059604645;g[(c[M>>2]|0)+836+(c[K>>2]<<2)>>2]=+g[(c[N>>2]|0)+8>>2];R=(c[N>>2]|0)+12|0;g[R>>2]=+g[R>>2]+(+g[I>>2]-+g[(c[N>>2]|0)+12>>2])*.4000000059604645;g[(c[M>>2]|0)+820+(c[K>>2]<<2)>>2]=+g[(c[N>>2]|0)+12>>2];c[K>>2]=(c[K>>2]|0)+1}l=P;return}function Rg(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;g[c>>2]=a;a=1.0/(+K(+-+g[c>>2])+1.0);l=b;return +a}function Sg(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;h[c>>3]=a;a=+Ti(+h[c>>3])*3.32192809488736;l=b;return +a}function Tg(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0;j=l;l=l+32|0;e=j+16|0;i=j+12|0;k=j+8|0;h=j+4|0;f=j;c[e>>2]=a;g[i>>2]=b;c[k>>2]=d;g[i>>2]=-+g[i>>2];g[f>>2]=+g[(c[e>>2]|0)+((c[k>>2]|0)-1<<2)>>2];c[h>>2]=(c[k>>2]|0)-2;while(1){b=+g[i>>2]*+g[f>>2];if((c[h>>2]|0)<0)break;g[f>>2]=b+ +g[(c[e>>2]|0)+(c[h>>2]<<2)>>2];c[h>>2]=(c[h>>2]|0)+-1}l=j;return +(1.0/(1.0-b))}function Ug(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=+e;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+64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if(+g[s>>2]<=+g[r>>2]){b=31;break}c[n>>2]=1;while(1){if((c[n>>2]|0)>=(c[t>>2]|0))break;f=(c[j>>2]|0)+((c[n>>2]|0)-1<<2)|0;g[f>>2]=+g[f>>2]+ +g[q>>2]*+g[(c[j>>2]|0)+(c[n>>2]<<2)>>2];f=(c[i>>2]|0)+((c[n>>2]|0)-1<<2)|0;g[f>>2]=+g[f>>2]+ +g[q>>2]*+g[(c[i>>2]|0)+(c[n>>2]<<2)>>2];c[n>>2]=(c[n>>2]|0)+1}g[m>>2]=1.0/+g[m>>2];g[k>>2]=1.0/+g[k>>2];c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[t>>2]|0))break;f=(c[j>>2]|0)+(c[n>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[m>>2];f=(c[i>>2]|0)+(c[n>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[k>>2];c[n>>2]=(c[n>>2]|0)+1}g[h>>2]=.9900000095367432-(+(c[p>>2]|0)*.10000000149011612+.800000011920929)*(+g[s>>2]-+g[r>>2])/(+g[s>>2]*+((c[o>>2]|0)+1|0));oh(c[j>>2]|0,c[t>>2]|0,+g[h>>2]);oh(c[i>>2]|0,c[t>>2]|0,+g[h>>2]);c[n>>2]=(c[t>>2]|0)-1;while(1){d=+g[q>>2];if((c[n>>2]|0)<=0)break;f=(c[j>>2]|0)+((c[n>>2]|0)-1<<2)|0;g[f>>2]=+g[f>>2]-d*+g[(c[j>>2]|0)+(c[n>>2]<<2)>>2];f=(c[i>>2]|0)+((c[n>>2]|0)-1<<2)|0;g[f>>2]=+g[f>>2]-+g[q>>2]*+g[(c[i>>2]|0)+(c[n>>2]<<2)>>2];c[n>>2]=(c[n>>2]|0)+-1}g[m>>2]=(1.0-d*+g[q>>2])/(+g[q>>2]*+g[c[j>>2]>>2]+1.0);g[k>>2]=(1.0-+g[q>>2]*+g[q>>2])/(+g[q>>2]*+g[c[i>>2]>>2]+1.0);c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[t>>2]|0))break;f=(c[j>>2]|0)+(c[n>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[m>>2];f=(c[i>>2]|0)+(c[n>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[k>>2];c[n>>2]=(c[n>>2]|0)+1}c[p>>2]=(c[p>>2]|0)+1}if((b|0)==31){l=v;return}}function Vg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;y=l;l=l+464|0;t=y+460|0;u=y+456|0;z=y+452|0;A=y+448|0;o=y+444|0;q=y+440|0;r=y+436|0;s=y+432|0;k=y+428|0;p=y+424|0;n=y+420|0;m=y+416|0;i=y+408|0;h=y+404|0;v=y+400|0;w=y+396|0;j=y+384|0;x=y;c[t>>2]=b;c[u>>2]=d;c[z>>2]=e;c[A>>2]=f;c[o>>2]=(c[t>>2]|0)+7216;c[v>>2]=c[A>>2];c[w>>2]=c[z>>2];c[s>>2]=c[(c[o>>2]|0)+2136>>2];c[r>>2]=0;while(1){if((c[r>>2]|0)>=(c[(c[t>>2]|0)+4604>>2]|0))break;if((a[(c[t>>2]|0)+4768+29>>0]|0)==2)c[s>>2]=c[(c[u>>2]|0)+228+(c[r>>2]<<2)>>2];g[k>>2]=+g[(c[u>>2]|0)+836+(c[r>>2]<<2)>>2]*(1.0-+g[(c[u>>2]|0)+804+(c[r>>2]<<2)>>2]);g[j>>2]=+g[k>>2]*.25;g[j+4>>2]=+g[k>>2]*.4999847412109375;g[j+8>>2]=+g[k>>2]*.25;g[p>>2]=+g[(c[u>>2]|0)+820+(c[r>>2]<<2)>>2];g[n>>2]=+g[(c[u>>2]|0)+756+(c[r>>2]<<2)>>2];g[m>>2]=+g[(c[u>>2]|0)+772+(c[r>>2]<<2)>>2];c[h>>2]=(c[u>>2]|0)+244+(c[r>>2]<<4<<2);Wg((c[o>>2]|0)+2048|0,x,c[h>>2]|0,c[v>>2]|0,+(c[(c[t>>2]|0)+4704>>2]|0)/65536.0,c[(c[t>>2]|0)+4612>>2]|0,c[(c[t>>2]|0)+4660>>2]|0);g[i>>2]=+g[(c[u>>2]|0)+788+(c[r>>2]<<2)>>2];g[i+4>>2]=-+g[(c[u>>2]|0)+788+(c[r>>2]<<2)>>2]*(+g[(c[u>>2]|0)+804+(c[r>>2]<<2)>>2]*+g[k>>2]+.05000000074505806+ +g[(c[u>>2]|0)+860>>2]*.10000000149011612);g[c[w>>2]>>2]=+g[i>>2]*+g[x>>2]+ +g[i+4>>2]*+g[(c[o>>2]|0)+2128>>2];c[q>>2]=1;while(1){if((c[q>>2]|0)>=(c[(c[t>>2]|0)+4612>>2]|0))break;g[(c[w>>2]|0)+(c[q>>2]<<2)>>2]=+g[i>>2]*+g[x+(c[q>>2]<<2)>>2]+ +g[i+4>>2]*+g[x+((c[q>>2]|0)-1<<2)>>2];c[q>>2]=(c[q>>2]|0)+1}g[(c[o>>2]|0)+2128>>2]=+g[x+((c[(c[t>>2]|0)+4612>>2]|0)-1<<2)>>2];Xg(c[o>>2]|0,c[w>>2]|0,c[w>>2]|0,j,+g[p>>2],+g[n>>2],+g[m>>2],c[s>>2]|0,c[(c[t>>2]|0)+4612>>2]|0);c[v>>2]=(c[v>>2]|0)+(c[(c[t>>2]|0)+4612>>2]<<2);c[w>>2]=(c[w>>2]|0)+(c[(c[t>>2]|0)+4612>>2]<<2);c[r>>2]=(c[r>>2]|0)+1}c[(c[o>>2]|0)+2136>>2]=c[(c[u>>2]|0)+228+((c[(c[t>>2]|0)+4604>>2]|0)-1<<2)>>2];l=y;return}function Wg(a,b,d,e,f,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+48|0;t=w+44|0;s=w+40|0;k=w+36|0;n=w+32|0;o=w+28|0;p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>>2]|0)+(c[q>>2]<<2)>>2]=+g[B>>2];g[(c[D>>2]|0)+(c[t>>2]<<2)>>2]=+g[B>>2]-+g[y>>2];c[t>>2]=(c[t>>2]|0)+1}g[(c[r>>2]|0)+2120>>2]=+g[A>>2];g[(c[r>>2]|0)+2124>>2]=+g[B>>2];c[(c[r>>2]|0)+2116>>2]=c[q>>2];l=E;return}function Yg(d,e,f){d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=l;l=l+64|0;o=s+48|0;p=s+44|0;k=s+40|0;q=s+36|0;m=s+32|0;n=s+16|0;j=s+12|0;h=s+8|0;i=s+4|0;r=s;c[o>>2]=d;c[p>>2]=e;c[k>>2]=f;c[q>>2]=(c[o>>2]|0)+7200;a:do if((a[(c[o>>2]|0)+4768+29>>0]|0)==2){g[j>>2]=1.0-+Zg((+g[(c[p>>2]|0)+872>>2]-12.0)*.25)*.5;c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[(c[o>>2]|0)+4604>>2]|0))break a;e=(c[p>>2]|0)+(c[m>>2]<<2)|0;g[e>>2]=+g[e>>2]*+g[j>>2];c[m>>2]=(c[m>>2]|0)+1}}while(0);t=+C(2.0,+((21.0-+(c[(c[o>>2]|0)+4748>>2]|0)*.0078125)*.33000001311302185));g[h>>2]=t/+(c[(c[o>>2]|0)+4612>>2]|0);c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[(c[o>>2]|0)+4604>>2]|0))break;g[i>>2]=+g[(c[p>>2]|0)+(c[m>>2]<<2)>>2];g[i>>2]=+B(+(+g[i>>2]*+g[i>>2]+ +g[(c[p>>2]|0)+876+(c[m>>2]<<2)>>2]*+g[h>>2]));g[(c[p>>2]|0)+(c[m>>2]<<2)>>2]=+g[i>>2]<32767.0?+g[i>>2]:32767.0;c[m>>2]=(c[m>>2]|0)+1}c[m>>2]=0;while(1){h=c[p>>2]|0;if((c[m>>2]|0)>=(c[(c[o>>2]|0)+4604>>2]|0))break;c[n+(c[m>>2]<<2)>>2]=~~(+g[h+(c[m>>2]<<2)>>2]*65536.0);c[m>>2]=(c[m>>2]|0)+1}_i(h+892|0,n|0,c[(c[o>>2]|0)+4604>>2]<<2|0)|0;a[(c[p>>2]|0)+908>>0]=a[c[q>>2]>>0]|0;Jd((c[o>>2]|0)+4768|0,n,c[q>>2]|0,(c[k>>2]|0)==2&1,c[(c[o>>2]|0)+4604>>2]|0);c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[(c[o>>2]|0)+4604>>2]|0))break;g[(c[p>>2]|0)+(c[m>>2]<<2)>>2]=+(c[n+(c[m>>2]<<2)>>2]|0)/65536.0;c[m>>2]=(c[m>>2]|0)+1}if((a[(c[o>>2]|0)+4768+29>>0]|0)==2)a[(c[o>>2]|0)+4768+30>>0]=+g[(c[p>>2]|0)+872>>2]+ +(c[(c[o>>2]|0)+4744>>2]|0)*.000030517578125>1.0?0:1;g[r>>2]=+(b[24558+(a[(c[o>>2]|0)+4768+29>>0]>>1<<2)+(a[(c[o>>2]|0)+4768+30>>0]<<1)>>1]|0)/1024.0;g[(c[p>>2]|0)+852>>2]=+(c[(c[o>>2]|0)+4652>>2]|0)*-.05000000074505806+1.2000000476837158+ +(c[(c[o>>2]|0)+4556>>2]|0)*-.20000000298023224*.00390625+ +g[(c[p>>2]|0)+856>>2]*-.10000000149011612+ +g[(c[p>>2]|0)+860>>2]*-.20000000298023224+ +g[r>>2]*.800000011920929;l=s;return}function Zg(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;g[c>>2]=a;a=1.0/(+K(+-+g[c>>2])+1.0);l=b;return +a}function _g(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;h=m+16|0;k=m+12|0;j=m+8|0;f=m+4|0;i=m;c[h>>2]=a;c[k>>2]=b;g[j>>2]=d;c[f>>2]=e;c[i>>2]=0;while(1){d=+g[j>>2];if((c[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=p+20|0;o=p+16|0;j=p+12|0;k=p+8|0;n=p+4|0;m=p;c[f>>2]=a;c[h>>2]=b;c[i>>2]=d;c[o>>2]=e;c[j>>2]=(c[h>>2]|0)-1;while(1){if((c[j>>2]|0)<0)break;c[m>>2]=(c[f>>2]|0)+(0+(c[j>>2]|0)<<2);g[n>>2]=0.0;c[k>>2]=(c[h>>2]|0)-1;while(1){if((c[k>>2]|0)<=(c[j>>2]|0))break;q=+g[(c[m>>2]|0)+((N(c[k>>2]|0,c[h>>2]|0)|0)<<2)>>2];g[n>>2]=+g[n>>2]+q*+g[(c[o>>2]|0)+(c[k>>2]<<2)>>2];c[k>>2]=(c[k>>2]|0)+-1}g[n>>2]=+g[(c[i>>2]|0)+(c[j>>2]<<2)>>2]-+g[n>>2];g[(c[o>>2]|0)+(c[j>>2]<<2)>>2]=+g[n>>2];c[j>>2]=(c[j>>2]|0)+-1}l=p;return}function fh(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+320|0;j=u+312|0;m=u+308|0;t=u+304|0;n=u+300|0;p=u+296|0;o=u+292|0;k=u+288|0;r=u+280|0;s=u+272|0;q=u+136|0;i=u;c[j>>2]=a;c[m>>2]=b;g[t>>2]=d;c[n>>2]=e;c[p>>2]=f;aj(q|0,0,136)|0;aj(i|0,0,136)|0;c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[n>>2]|0))break;h[r>>3]=+g[(c[m>>2]|0)+(c[o>>2]<<2)>>2];c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[p>>2]|0))break;h[s>>3]=+h[q+(c[k>>2]<<3)>>3]+ +g[t>>2]*(+h[q+((c[k>>2]|0)+1<<3)>>3]-+h[r>>3]);h[q+(c[k>>2]<<3)>>3]=+h[r>>3];f=i+(c[k>>2]<<3)|0;h[f>>3]=+h[f>>3]+ +h[q>>3]*+h[r>>3];h[r>>3]=+h[q+((c[k>>2]|0)+1<<3)>>3]+ +g[t>>2]*(+h[q+((c[k>>2]|0)+2<<3)>>3]-+h[s>>3]);h[q+((c[k>>2]|0)+1<<3)>>3]=+h[s>>3];f=i+((c[k>>2]|0)+1<<3)|0;h[f>>3]=+h[f>>3]+ +h[q>>3]*+h[s>>3];c[k>>2]=(c[k>>2]|0)+2}h[q+(c[p>>2]<<3)>>3]=+h[r>>3];f=i+(c[p>>2]<<3)|0;h[f>>3]=+h[f>>3]+ +h[q>>3]*+h[r>>3];c[o>>2]=(c[o>>2]|0)+1}c[k>>2]=0;while(1){if((c[k>>2]|0)>=((c[p>>2]|0)+1|0))break;g[(c[j>>2]|0)+(c[k>>2]<<2)>>2]=+h[i+(c[k>>2]<<3)>>3];c[k>>2]=(c[k>>2]|0)+1}l=u;return}function gh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0;k=l;l=l+80|0;f=k+76|0;j=k+72|0;e=k+68|0;i=k+64|0;h=k;c[f>>2]=a;c[j>>2]=b;c[e>>2]=d;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[e>>2]|0))break;b=hh(+g[(c[j>>2]|0)+(c[i>>2]<<2)>>2]*65536.0)|0;c[h+(c[i>>2]<<2)>>2]=b;c[i>>2]=(c[i>>2]|0)+1}qf(c[f>>2]|0,h,c[e>>2]|0);l=k;return}function hh(a){a=+a;var b=0,c=0;c=l;l=l+16|0;b=c;g[b>>2]=a;b=Ui(+g[b>>2])|0;l=c;return b|0}function ih(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+48|0;j=k+12|0;m=k+8|0;f=k+4|0;i=k;h=k+16|0;c[j>>2]=a;c[m>>2]=d;c[f>>2]=e;Lf(h,c[m>>2]|0,c[f>>2]|0);c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[f>>2]|0))break;g[(c[j>>2]|0)+(c[i>>2]<<2)>>2]=+(b[h+(c[i>>2]<<1)>>1]|0)*.000244140625;c[i>>2]=(c[i>>2]|0)+1}l=k;return}function jh(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;n=l;l=l+96|0;m=n+20|0;h=n+16|0;p=n+12|0;o=n+8|0;j=n+4|0;k=n;i=n+24|0;c[m>>2]=a;c[h>>2]=d;c[p>>2]=e;c[o>>2]=f;Ze(c[m>>2]|0,i,c[p>>2]|0,c[o>>2]|0);c[k>>2]=0;while(1){if((c[k>>2]|0)>=2)break;c[j>>2]=0;while(1){e=c[k>>2]|0;if((c[j>>2]|0)>=(c[(c[m>>2]|0)+4664>>2]|0))break;g[(c[h>>2]|0)+(c[k>>2]<<6)+(c[j>>2]<<2)>>2]=+(b[i+(e<<5)+(c[j>>2]<<1)>>1]|0)*.000244140625;c[j>>2]=(c[j>>2]|0)+1}c[k>>2]=e+1}l=n;return}function kh(d,e,f,h,i,j){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=l;l=l+1632|0;w=D+1388|0;x=D+1384|0;y=D+1380|0;z=D+1376|0;A=D+1372|0;B=D+1368|0;u=D+1364|0;v=D+1360|0;C=D+80|0;m=D+64|0;s=D+1560|0;p=D+1520|0;q=D+56|0;k=D+1392|0;o=D+40|0;r=D+32|0;t=D+16|0;n=D;c[w>>2]=d;c[x>>2]=e;c[y>>2]=f;c[z>>2]=h;c[A>>2]=i;c[B>>2]=j;c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[(c[w>>2]|0)+4604>>2]|0))break;c[v>>2]=0;while(1){if((c[v>>2]|0)>=(c[(c[w>>2]|0)+4660>>2]|0))break;j=(hh(+g[(c[x>>2]|0)+500+((c[u>>2]<<4)+(c[v>>2]|0)<<2)>>2]*8192.0)|0)&65535;b[k+((c[u>>2]<<4)+(c[v>>2]|0)<<1)>>1]=j;c[v>>2]=(c[v>>2]|0)+1}c[u>>2]=(c[u>>2]|0)+1}c[u>>2]=0;while(1){d=c[x>>2]|0;if((c[u>>2]|0)>=(c[(c[w>>2]|0)+4604>>2]|0))break;j=(hh(+g[d+772+(c[u>>2]<<2)>>2]*16384.0)|0)<<16;j=j|(hh(+g[(c[x>>2]|0)+756+(c[u>>2]<<2)>>2]*16384.0)|0)&65535;c[o+(c[u>>2]<<2)>>2]=j;j=hh(+g[(c[x>>2]|0)+820+(c[u>>2]<<2)>>2]*16384.0)|0;c[t+(c[u>>2]<<2)>>2]=j;j=hh(+g[(c[x>>2]|0)+836+(c[u>>2]<<2)>>2]*16384.0)|0;c[n+(c[u>>2]<<2)>>2]=j;c[u>>2]=(c[u>>2]|0)+1}c[r>>2]=hh(+g[d+852>>2]*1024.0)|0;c[u>>2]=0;while(1){if((c[u>>2]|0)>=((c[(c[w>>2]|0)+4604>>2]|0)*5|0))break;j=(hh(+g[(c[x>>2]|0)+144+(c[u>>2]<<2)>>2]*16384.0)|0)&65535;b[p+(c[u>>2]<<1)>>1]=j;c[u>>2]=(c[u>>2]|0)+1}c[v>>2]=0;while(1){j=(c[v>>2]|0)<2;c[u>>2]=0;if(!j)break;while(1){if((c[u>>2]|0)>=(c[(c[w>>2]|0)+4664>>2]|0))break;j=(hh(+g[(c[x>>2]|0)+16+(c[v>>2]<<6)+(c[u>>2]<<2)>>2]*4096.0)|0)&65535;b[s+(c[v>>2]<<5)+(c[u>>2]<<1)>>1]=j;c[u>>2]=(c[u>>2]|0)+1}c[v>>2]=(c[v>>2]|0)+1}while(1){if((c[u>>2]|0)>=(c[(c[w>>2]|0)+4604>>2]|0))break;v=hh(+g[(c[x>>2]|0)+(c[u>>2]<<2)>>2]*65536.0)|0;c[m+(c[u>>2]<<2)>>2]=v;c[u>>2]=(c[u>>2]|0)+1}if((a[(c[y>>2]|0)+29>>0]|0)==2)c[q>>2]=b[24566+(a[(c[y>>2]|0)+33>>0]<<1)>>1];else c[q>>2]=0;c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[(c[w>>2]|0)+4608>>2]|0))break;v=hh(+g[(c[B>>2]|0)+(c[u>>2]<<2)>>2]*8.0)|0;c[C+(c[u>>2]<<2)>>2]=v;c[u>>2]=(c[u>>2]|0)+1}if((c[(c[w>>2]|0)+4652>>2]|0)<=1?(c[(c[w>>2]|0)+4704>>2]|0)<=0:0){Xd(c[w>>2]|0,c[z>>2]|0,c[y>>2]|0,C,c[A>>2]|0,s,p,k,n,t,o,m,(c[x>>2]|0)+228|0,c[r>>2]|0,c[q>>2]|0);l=D;return}be(c[w>>2]|0,c[z>>2]|0,c[y>>2]|0,C,c[A>>2]|0,s,p,k,n,t,o,m,(c[x>>2]|0)+228|0,c[r>>2]|0,c[q>>2]|0);l=D;return}function lh(a,d,e,f,h,i,j,k,m){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=l;l=l+480|0;n=z+436|0;s=z+432|0;x=z+428|0;y=z+424|0;p=z+420|0;v=z+416|0;u=z+412|0;w=z+408|0;r=z+404|0;t=z+400|0;o=z+440|0;q=z;c[n>>2]=a;c[s>>2]=d;c[x>>2]=e;c[y>>2]=f;c[p>>2]=h;c[v>>2]=i;c[u>>2]=j;c[w>>2]=k;c[r>>2]=m;c[t>>2]=0;while(1){if((c[t>>2]|0)>=((c[w>>2]|0)*5|0))break;f=(hh(+g[(c[n>>2]|0)+(c[t>>2]<<2)>>2]*16384.0)|0)&65535;b[o+(c[t>>2]<<1)>>1]=f;c[t>>2]=(c[t>>2]|0)+1}c[t>>2]=0;while(1){if((c[t>>2]|0)>=(((c[w>>2]|0)*5|0)*5|0))break;f=hh(+g[(c[p>>2]|0)+(c[t>>2]<<2)>>2]*262144.0)|0;c[q+(c[t>>2]<<2)>>2]=f;c[t>>2]=(c[t>>2]|0)+1}Oe(o,c[s>>2]|0,c[x>>2]|0,c[y>>2]|0,q,c[v>>2]|0,c[u>>2]|0,c[w>>2]|0,c[r>>2]|0);c[t>>2]=0;while(1){if((c[t>>2]|0)>=((c[w>>2]|0)*5|0))break;g[(c[n>>2]|0)+(c[t>>2]<<2)>>2]=+(b[o+(c[t>>2]<<1)>>1]|0)*.00006103515625;c[t>>2]=(c[t>>2]|0)+1}l=z;return}function mh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0.0;m=l;l=l+32|0;k=m+16|0;i=m+12|0;j=m+8|0;f=m+4|0;h=m;c[k>>2]=a;c[i>>2]=b;c[j>>2]=d;c[f>>2]=e;if((c[f>>2]|0)>(c[j>>2]|0))c[f>>2]=c[j>>2];c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[f>>2]|0))break;n=+qh(c[i>>2]|0,(c[i>>2]|0)+(c[h>>2]<<2)|0,(c[j>>2]|0)-(c[h>>2]|0)|0);g[(c[k>>2]|0)+(c[h>>2]<<2)>>2]=n;c[h>>2]=(c[h>>2]|0)+1}l=m;return}function nh(a,b,d,e,f,i){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=l;l=l+784|0;j=L+768|0;I=L+764|0;v=L+760|0;F=L+756|0;x=L+752|0;s=L+748|0;u=L+744|0;w=L+740|0;E=L+736|0;D=L+732|0;n=L+720|0;t=L+712|0;A=L+704|0;z=L+696|0;y=L+688|0;C=L+680|0;m=L+672|0;G=L+664|0;H=L+656|0;J=L+728|0;q=L+528|0;r=L+400|0;p=L+264|0;o=L+128|0;k=L;c[j>>2]=a;c[I>>2]=b;g[v>>2]=d;c[F>>2]=e;c[x>>2]=f;c[s>>2]=i;h[n>>3]=+ph(c[I>>2]|0,N(c[x>>2]|0,c[F>>2]|0)|0);a=q;f=a+128|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(f|0));c[E>>2]=0;while(1){if((c[E>>2]|0)>=(c[x>>2]|0))break;c[J>>2]=(c[I>>2]|0)+((N(c[E>>2]|0,c[F>>2]|0)|0)<<2);c[w>>2]=1;while(1){if((c[w>>2]|0)>=((c[s>>2]|0)+1|0))break;d=+qh(c[J>>2]|0,(c[J>>2]|0)+(c[w>>2]<<2)|0,(c[F>>2]|0)-(c[w>>2]|0)|0);b=q+((c[w>>2]|0)-1<<3)|0;h[b>>3]=+h[b>>3]+d;c[w>>2]=(c[w>>2]|0)+1}c[E>>2]=(c[E>>2]|0)+1}a=r;i=q;f=a+128|0;do{c[a>>2]=c[i>>2];a=a+4|0;i=i+4|0}while((a|0)<(f|0));d=+h[n>>3]+ +h[n>>3]*9.999999747378752e-06+9.999999717180685e-10;h[p>>3]=d;h[o>>3]=d;h[t>>3]=1.0;c[D>>2]=0;c[w>>2]=0;while(1){if((c[w>>2]|0)>=(c[s>>2]|0))break;c[E>>2]=0;while(1){if((c[E>>2]|0)>=(c[x>>2]|0))break;c[J>>2]=(c[I>>2]|0)+((N(c[E>>2]|0,c[F>>2]|0)|0)<<2);h[G>>3]=+g[(c[J>>2]|0)+(c[w>>2]<<2)>>2];h[H>>3]=+g[(c[J>>2]|0)+((c[F>>2]|0)-(c[w>>2]|0)-1<<2)>>2];c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[w>>2]|0))break;b=q+(c[u>>2]<<3)|0;h[b>>3]=+h[b>>3]-+g[(c[J>>2]|0)+(c[w>>2]<<2)>>2]*+g[(c[J>>2]|0)+((c[w>>2]|0)-(c[u>>2]|0)-1<<2)>>2];b=r+(c[u>>2]<<3)|0;h[b>>3]=+h[b>>3]-+g[(c[J>>2]|0)+((c[F>>2]|0)-(c[w>>2]|0)-1<<2)>>2]*+g[(c[J>>2]|0)+((c[F>>2]|0)-(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|0))break a;h[k+(c[u>>2]<<3)>>3]=0.0;c[u>>2]=(c[u>>2]|0)+1}}while(0);if(!(c[D>>2]|0)){h[z>>3]=+h[p>>3];h[G>>3]=1.0;c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[s>>2]|0))break;h[m>>3]=+h[k+(c[u>>2]<<3)>>3];h[z>>3]=+h[z>>3]+ +h[p+((c[u>>2]|0)+1<<3)>>3]*+h[m>>3];h[G>>3]=+h[G>>3]+ +h[m>>3]*+h[m>>3];g[(c[j>>2]|0)+(c[u>>2]<<2)>>2]=-+h[m>>3];c[u>>2]=(c[u>>2]|0)+1}h[z>>3]=+h[z>>3]-+h[n>>3]*9.999999747378752e-06*+h[G>>3];d=+h[z>>3];l=L;return +d}c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[s>>2]|0))break;g[(c[j>>2]|0)+(c[u>>2]<<2)>>2]=-+h[k+(c[u>>2]<<3)>>3];c[u>>2]=(c[u>>2]|0)+1}c[E>>2]=0;while(1){if((c[E>>2]|0)>=(c[x>>2]|0))break;K=(c[I>>2]|0)+((N(c[E>>2]|0,c[F>>2]|0)|0)<<2)|0;d=+ph(K,c[s>>2]|0);h[n>>3]=+h[n>>3]-d;c[E>>2]=(c[E>>2]|0)+1}h[z>>3]=+h[n>>3]*+h[t>>3];d=+h[z>>3];l=L;return +d}function oh(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;e=k+16|0;i=k+12|0;h=k+8|0;j=k+4|0;f=k;c[e>>2]=a;c[i>>2]=b;g[h>>2]=d;g[f>>2]=+g[h>>2];c[j>>2]=0;while(1){d=+g[f>>2];a=c[e>>2]|0;if((c[j>>2]|0)>=((c[i>>2]|0)-1|0))break;b=a+(c[j>>2]<<2)|0;g[b>>2]=+g[b>>2]*d;g[f>>2]=+g[f>>2]*+g[h>>2];c[j>>2]=(c[j>>2]|0)+1}j=a+((c[i>>2]|0)-1<<2)|0;g[j>>2]=+g[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>2]=(c[j>>2]|0)+1}if(c[m>>2]&1|0){d=(c[e>>2]|0)+(c[n>>2]<<2)|0;g[d>>2]=+g[d>>2]-+g[k>>2]*+g[(c[e>>2]|0)+(c[n>>2]<<2)>>2]}g[(c[e>>2]|0)+(c[m>>2]<<2)>>2]=+g[k>>2];c[m>>2]=(c[m>>2]|0)+1}l=s;return +(+g[p>>2])}function th(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;r=l;l=l+192|0;p=r+184|0;t=r+180|0;s=r+176|0;j=r+172|0;k=r+168|0;i=r+24|0;m=r+16|0;n=r+8|0;o=r;f=r+40|0;e=r+36|0;d=r+32|0;c[t>>2]=a;c[s>>2]=b;c[d>>2]=f+((c[s>>2]&1)<<6);_i(c[d>>2]|0,c[t>>2]|0,c[s>>2]<<2|0)|0;h[i>>3]=1.0;c[j>>2]=(c[s>>2]|0)-1;while(1){a=c[d>>2]|0;if((c[j>>2]|0)<=0)break;h[m>>3]=-+g[a+(c[j>>2]<<2)>>2];if(+h[m>>3]>.9998999834060669|+h[m>>3]<-.9998999834060669){q=4;break}h[n>>3]=1.0-+h[m>>3]*+h[m>>3];h[o>>3]=1.0/+h[n>>3];h[i>>3]=+h[i>>3]*+h[n>>3];c[e>>2]=c[d>>2];c[d>>2]=f+((c[j>>2]&1)<<6);c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[j>>2]|0))break;g[(c[d>>2]|0)+(c[k>>2]<<2)>>2]=(+g[(c[e>>2]|0)+(c[k>>2]<<2)>>2]-+g[(c[e>>2]|0)+((c[j>>2]|0)-(c[k>>2]|0)-1<<2)>>2]*+h[m>>3])*+h[o>>3];c[k>>2]=(c[k>>2]|0)+1}c[j>>2]=(c[j>>2]|0)+-1}if((q|0)==4){g[p>>2]=0.0;u=+g[p>>2];l=r;return +u}h[m>>3]=-+g[a>>2];if(+h[m>>3]>.9998999834060669|+h[m>>3]<-.9998999834060669){g[p>>2]=0.0;u=+g[p>>2];l=r;return +u}else{h[n>>3]=1.0-+h[m>>3]*+h[m>>3];h[i>>3]=+h[i>>3]*+h[n>>3];g[p>>2]=+h[i>>3];u=+g[p>>2];l=r;return +u}return 0.0}function uh(d,e,f,i,j,k,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;i=i|0;j=j|0;k=k|0;m=+m;n=+n;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0;La=l;l=l+13936|0;Ka=La+10416|0;pa=La+10412|0;Ja=La+10408|0;Ha=La+10404|0;Fa=La+10400|0;S=La+10396|0;$=La+10392|0;E=La+10388|0;ba=La+10384|0;ya=La+10380|0;ga=La+10376|0;Ia=La+10372|0;fa=La+10368|0;X=La+10364|0;Ga=La+10360|0;ka=La+10356|0;qa=La+10352|0;H=La+9072|0;x=La+8432|0;y=La+13288|0;w=La+12968|0;t=La+8408|0;K=La+8404|0;ha=La+8400|0;M=La+6016|0;G=La+5756|0;P=La+5712|0;xa=La+5708|0;T=La+5704|0;ia=La+24|0;D=La+16|0;na=La+8|0;oa=La;V=La+5608|0;U=La+12664|0;_=La+5600|0;Z=La+5596|0;s=La+5592|0;da=La+5588|0;Q=La+5584|0;R=La+5580|0;ea=La+5576|0;Ca=La+5572|0;O=La+5568|0;za=La+5564|0;wa=La+5560|0;la=La+5556|0;Aa=La+5552|0;Ea=La+5548|0;Y=La+5544|0;aa=La+5540|0;W=La+5536|0;ma=La+2816|0;ja=La+96|0;ra=La+88|0;z=La+84|0;B=La+80|0;A=La+76|0;va=La+72|0;ca=La+68|0;F=La+64|0;Ba=La+60|0;ta=La+56|0;J=La+52|0;sa=La+48|0;I=La+44|0;C=La+40|0;ua=La+36|0;Da=La+32|0;v=La+11384|0;u=La+10424|0;c[pa>>2]=d;c[Ja>>2]=e;c[Ha>>2]=f;c[Fa>>2]=i;c[S>>2]=j;c[$>>2]=k;g[E>>2]=m;g[ba>>2]=n;c[ya>>2]=o;c[ga>>2]=p;c[Ia>>2]=q;c[fa>>2]=r;c[z>>2]=N(20+((c[Ia>>2]|0)*5|0)|0,c[ya>>2]|0)|0;c[A>>2]=20+((c[Ia>>2]|0)*5|0)<<2;c[B>>2]=20+((c[Ia>>2]|0)*5|0)<<3;c[va>>2]=(c[ya>>2]|0)*5;c[F>>2]=20;c[ca>>2]=40;c[Ba>>2]=c[ya>>2]<<1;c[J>>2]=8;c[ta>>2]=16;c[sa>>2]=((c[ya>>2]|0)*18|0)-1;c[C>>2]=72;c[I>>2]=143;do if((c[ya>>2]|0)!=16)if((c[ya>>2]|0)==12){vh(u,c[pa>>2]|0,c[z>>2]|0);c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[t+16>>2]=0;c[t+20>>2]=0;Vf(t,y,u,c[z>>2]|0);wh(H,y,c[B>>2]|0);break}else{vh(y,c[pa>>2]|0,c[B>>2]|0);break}else{vh(v,c[pa>>2]|0,c[z>>2]|0);c[t>>2]=0;c[t+4>>2]=0;Wf(t,y,v,c[z>>2]|0);wh(H,y,c[B>>2]|0)}while(0);c[t>>2]=0;c[t+4>>2]=0;Wf(t,w,y,c[B>>2]|0);wh(x,w,c[A>>2]|0);c[X>>2]=(c[A>>2]|0)-1;while(1){if((c[X>>2]|0)<=0)break;k=x+(c[X>>2]<<2)|0;g[k>>2]=+g[k>>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0)>0){if((c[ya>>2]|0)!=12){if((c[ya>>2]|0)==16)c[$>>2]=c[$>>2]>>1}else c[$>>2]=(c[$>>2]<<1|0)/3|0;g[aa>>2]=+xh(+(c[$>>2]|0))}else g[aa>>2]=0.0;do if((c[Ia>>2]|0)==4){c[Ea>>2]=11;c[Da>>2]=30282;if((c[ya>>2]|0)==8&(c[ga>>2]|0)>0){c[ua>>2]=11;break}else{c[ua>>2]=3;break}}else{c[Ea>>2]=3;c[Da>>2]=30248;c[ua>>2]=3}while(0);c[Ga>>2]=0;while(1){if((c[Ga>>2]|0)>=(c[_>>2]|0))break;c[ka>>2]=c[V+(c[Ga>>2]<<2)>>2];c[qa>>2]=0;while(1){if((c[qa>>2]|0)>=(c[ua>>2]|0))break;g[P+(c[qa>>2]<<2)>>2]=0.0;c[X>>2]=0;while(1){if((c[X>>2]|0)>=(c[Ia>>2]|0))break;Z=N(c[X>>2]|0,c[Ea>>2]|0)|0;ca=P+(c[qa>>2]<<2)|0;g[ca>>2]=+g[ca>>2]+ +g[M+((c[X>>2]|0)*596|0)+((c[ka>>2]|0)+(a[(c[Da>>2]|0)+(Z+(c[qa>>2]|0))>>0]|0)<<2)>>2];c[X>>2]=(c[X>>2]|0)+1}c[qa>>2]=(c[qa>>2]|0)+1}g[ea>>2]=-1.0e3;c[O>>2]=0;c[X>>2]=0;while(1){if((c[X>>2]|0)>=(c[ua>>2]|0))break;if(+g[P+(c[X>>2]<<2)>>2]>+g[ea>>2]){g[ea>>2]=+g[P+(c[X>>2]<<2)>>2];c[O>>2]=c[X>>2]}c[X>>2]=(c[X>>2]|0)+1}g[Y>>2]=+xh(+(c[ka>>2]|0));g[R>>2]=+g[ea>>2]-+(c[Ia>>2]|0)*.20000000298023224*+g[Y>>2];if((c[$>>2]|0)>0){g[W>>2]=+g[Y>>2]-+g[aa>>2];g[W>>2]=+g[W>>2]*+g[W>>2];g[R>>2]=+g[R>>2]-+(c[Ia>>2]|0)*.20000000298023224*+g[c[S>>2]>>2]*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0);c[(c[Ja>>2]|0)+(c[Ga>>2]<<2)>>2]=s;c[Ga>>2]=(c[Ga>>2]|0)+1}b[c[Ha>>2]>>1]=s-(c[ta>>2]|0);a[c[Fa>>2]>>0]=c[Ca>>2]}c[Ka>>2]=0;Ka=c[Ka>>2]|0;l=La;return Ka|0}function vh(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;i=j+12|0;f=j+8|0;k=j+4|0;h=j;c[i>>2]=a;c[f>>2]=d;c[k>>2]=e;c[h>>2]=(c[k>>2]|0)-1;while(1){if((c[h>>2]|0)<0)break;if((Ui(+g[(c[f>>2]|0)+(c[h>>2]<<2)>>2])|0)<=32767)if((Ui(+g[(c[f>>2]|0)+(c[h>>2]<<2)>>2])|0)<-32768)d=-32768;else d=Ui(+g[(c[f>>2]|0)+(c[h>>2]<<2)>>2])|0;else d=32767;b[(c[i>>2]|0)+(c[h>>2]<<1)>>1]=d;c[h>>2]=(c[h>>2]|0)+-1}l=j;return}function wh(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;i=j+12|0;f=j+8|0;k=j+4|0;h=j;c[i>>2]=a;c[f>>2]=d;c[k>>2]=e;c[h>>2]=(c[k>>2]|0)-1;while(1){if((c[h>>2]|0)<0)break;g[(c[i>>2]|0)+(c[h>>2]<<2)>>2]=+(b[(c[f>>2]|0)+(c[h>>2]<<1)>>1]|0);c[h>>2]=(c[h>>2]|0)+-1}l=j;return}function xh(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;h[c>>3]=a;a=+Ti(+h[c>>3])*3.32192809488736;l=b;return +a}function yh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function zh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Ah(b,d,e,f,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+256|0;q=H+252|0;s=H+248|0;E=H+244|0;D=H+240|0;B=H+236|0;p=H+232|0;n=H+228|0;F=H+224|0;t=H+220|0;v=H+216|0;w=H+212|0;x=H+208|0;z=H+204|0;y=H+200|0;A=H+196|0;r=H+192|0;u=H+188|0;o=H+184|0;C=H+96|0;G=H+8|0;m=H+4|0;k=H;c[q>>2]=b;c[s>>2]=d;c[E>>2]=e;c[D>>2]=f;c[B>>2]=h;c[p>>2]=i;c[n>>2]=j;if((c[B>>2]|0)==4){c[m>>2]=30462+(c[p>>2]<<3);c[k>>2]=30326;c[A>>2]=a[30486+(c[p>>2]|0)>>0];c[o>>2]=34}else{c[m>>2]=30278;c[k>>2]=30254;c[A>>2]=12;c[o>>2]=12}c[F>>2]=(c[s>>2]|0)+(c[D>>2]<<2<<2);c[w>>2]=0;while(1){if((c[w>>2]|0)>=(c[B>>2]|0))break;c[x>>2]=0;c[z>>2]=a[(c[m>>2]|0)+((c[w>>2]<<1)+0)>>0];c[y>>2]=a[(c[m>>2]|0)+((c[w>>2]<<1)+1)>>0];vc(c[F>>2]|0,(c[F>>2]|0)+(0-(c[E>>2]|0)<<2)+(0-(c[y>>2]|0)<<2)|0,G,c[D>>2]|0,(c[y>>2]|0)-(c[z>>2]|0)+1|0,c[n>>2]|0);c[v>>2]=c[z>>2];while(1){if((c[v>>2]|0)>(c[y>>2]|0))break;g[C+(c[x>>2]<<2)>>2]=+g[G+((c[y>>2]|0)-(c[v>>2]|0)<<2)>>2];c[x>>2]=(c[x>>2]|0)+1;c[v>>2]=(c[v>>2]|0)+1}c[r>>2]=a[(c[m>>2]|0)+((c[w>>2]<<1)+0)>>0];c[t>>2]=0;while(1){if((c[t>>2]|0)>=(c[A>>2]|0))break;e=N(c[w>>2]|0,c[o>>2]|0)|0;c[u>>2]=(a[(c[k>>2]|0)+(e+(c[t>>2]|0))>>0]|0)-(c[r>>2]|0);c[v>>2]=0;while(1){if((c[v>>2]|0)>=5)break;g[(c[q>>2]|0)+((c[w>>2]|0)*680|0)+((c[t>>2]|0)*20|0)+(c[v>>2]<<2)>>2]=+g[C+((c[u>>2]|0)+(c[v>>2]|0)<<2)>>2];c[v>>2]=(c[v>>2]|0)+1}c[t>>2]=(c[t>>2]|0)+1}c[F>>2]=(c[F>>2]|0)+(c[D>>2]<<2);c[w>>2]=(c[w>>2]|0)+1}l=H;return}function Bh(b,d,e,f,i,j){b=b|0;d=d|0;e=e|0;f=f|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+176|0;r=G+168|0;t=G+164|0;E=G+160|0;D=G+156|0;B=G+152|0;p=G+148|0;F=G+144|0;n=G+140|0;s=G;x=G+136|0;u=G+132|0;w=G+128|0;y=G+124|0;A=G+120|0;q=G+116|0;v=G+112|0;o=G+108|0;z=G+104|0;C=G+16|0;m=G+12|0;k=G+8|0;c[r>>2]=b;c[t>>2]=d;c[E>>2]=e;c[D>>2]=f;c[B>>2]=i;c[p>>2]=j;if((c[B>>2]|0)==4){c[m>>2]=30462+(c[p>>2]<<3);c[k>>2]=30326;c[A>>2]=a[30486+(c[p>>2]|0)>>0];c[o>>2]=34}else{c[m>>2]=30278;c[k>>2]=30254;c[A>>2]=12;c[o>>2]=12}c[F>>2]=(c[t>>2]|0)+(c[D>>2]<<2<<2);c[x>>2]=0;while(1){if((c[x>>2]|0)>=(c[B>>2]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d=(c[e>>2]|0)+((c[j>>2]|0)+3<<2)|0;g[d>>2]=+g[d>>2]*+g[i>>2];c[j>>2]=(c[j>>2]|0)+4}while(1){if((c[j>>2]|0)>=(c[f>>2]|0))break;h=(c[e>>2]|0)+(c[j>>2]<<2)|0;g[h>>2]=+g[h>>2]*+g[i>>2];c[j>>2]=(c[j>>2]|0)+1}l=k;return}function Eh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.0;p=l;l=l+176|0;o=p+168|0;i=p+164|0;m=p+160|0;j=p+156|0;k=p+152|0;e=p+16|0;f=p+8|0;h=p+4|0;n=p;c[o>>2]=a;c[i>>2]=b;c[m>>2]=d;c[j>>2]=0;while(1){if((c[j>>2]|0)>=((c[m>>2]|0)+1|0))break;q=+g[(c[i>>2]|0)+(c[j>>2]<<2)>>2];g[e+(c[j>>2]<<3)+4>>2]=q;g[e+(c[j>>2]<<3)>>2]=q;c[j>>2]=(c[j>>2]|0)+1}c[j>>2]=0;while(1){if((c[j>>2]|0)>=(c[m>>2]|0))break;g[n>>2]=-+g[e+((c[j>>2]|0)+1<<3)>>2]/(+g[e+4>>2]>9.999999717180685e-10?+g[e+4>>2]:9.999999717180685e-10);g[(c[o>>2]|0)+(c[j>>2]<<2)>>2]=+g[n>>2];c[k>>2]=0;while(1){if((c[k>>2]|0)>=((c[m>>2]|0)-(c[j>>2]|0)|0))break;g[f>>2]=+g[e+((c[k>>2]|0)+(c[j>>2]|0)+1<<3)>>2];g[h>>2]=+g[e+(c[k>>2]<<3)+4>>2];g[e+((c[k>>2]|0)+(c[j>>2]|0)+1<<3)>>2]=+g[f>>2]+ +g[h>>2]*+g[n>>2];g[e+(c[k>>2]<<3)+4>>2]=+g[h>>2]+ +g[f>>2]*+g[n>>2];c[k>>2]=(c[k>>2]|0)+1}c[j>>2]=(c[j>>2]|0)+1}l=p;return +(+g[e+4>>2])}function Fh(a,b,d,e){a=a|0;b=b|0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)+(c[m>>2]<<2)>>2];c[m>>2]=(c[m>>2]|0)+-1}g[(c[i>>2]|0)+((c[m>>2]|0)+1<<2)>>2]=+g[n>>2];c[(c[k>>2]|0)+((c[m>>2]|0)+1<<2)>>2]=c[j>>2]}c[j>>2]=(c[j>>2]|0)+1}l=o;return}function Gh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,C=0.0;B=l;l=l+80|0;j=B+64|0;i=B+60|0;h=B+56|0;o=B+52|0;m=B+48|0;r=B+44|0;x=B+40|0;k=B+36|0;y=B+32|0;n=B+28|0;w=B+24|0;q=B+20|0;s=B+16|0;v=B+12|0;u=B+8|0;p=B+4|0;t=B;c[j>>2]=a;c[i>>2]=b;c[h>>2]=d;c[o>>2]=e;if(!((((c[h>>2]|0)<1|(c[i>>2]|0)<1)^1)&(c[j>>2]|0)!=0&(c[o>>2]|0)!=0)){l=B;return}c[r>>2]=0;while(1){if((c[r>>2]|0)>=(N(c[i>>2]|0,c[h>>2]|0)|0))break;if(2.0<+g[(c[j>>2]|0)+(c[r>>2]<<2)>>2])f=2.0;else f=+g[(c[j>>2]|0)+(c[r>>2]<<2)>>2];if(!(-2.0>f))if(2.0<+g[(c[j>>2]|0)+(c[r>>2]<<2)>>2])f=2.0;else f=+g[(c[j>>2]|0)+(c[r>>2]<<2)>>2];else f=-2.0;g[(c[j>>2]|0)+(c[r>>2]<<2)>>2]=f;c[r>>2]=(c[r>>2]|0)+1}c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[h>>2]|0))break;c[x>>2]=(c[j>>2]|0)+(c[m>>2]<<2);g[k>>2]=+g[(c[o>>2]|0)+(c[m>>2]<<2)>>2];c[r>>2]=0;while(1){if((c[r>>2]|0)>=(c[i>>2]|0))break;f=+g[(c[x>>2]|0)+((N(c[r>>2]|0,c[h>>2]|0)|0)<<2)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g[(c[x>>2]|0)+((N(c[r>>2]|0,c[h>>2]|0)|0)<<2)>>2];else f=-1.0;g[(c[x>>2]|0)+((N(c[r>>2]|0,c[h>>2]|0)|0)<<2)>>2]=f;c[r>>2]=(c[r>>2]|0)+1}}while(0);c[n>>2]=c[q>>2]}while((c[n>>2]|0)!=(c[i>>2]|0));if((z|0)==23){z=0;g[k>>2]=0.0}g[(c[o>>2]|0)+(c[m>>2]<<2)>>2]=+g[k>>2];c[m>>2]=(c[m>>2]|0)+1}l=B;return}function Hh(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;i=l;l=l+16|0;g=i+8|0;h=i+4|0;f=i;c[h>>2]=b;c[f>>2]=e;e=c[h>>2]|0;if((c[h>>2]|0)<252){a[c[f>>2]>>0]=e;c[g>>2]=1;h=c[g>>2]|0;l=i;return h|0}else{a[c[f>>2]>>0]=252+(e&3);a[(c[f>>2]|0)+1>>0]=(c[h>>2]|0)-(d[c[f>>2]>>0]|0)>>2;c[g>>2]=2;h=c[g>>2]|0;l=i;return h|0}return 0}function Ih(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;h=l;l=l+16|0;e=h+8|0;f=h+4|0;g=h;c[e>>2]=a;c[f>>2]=b;a=d[c[e>>2]>>0]|0;if((d[c[e>>2]>>0]|0)&128|0){c[g>>2]=a>>3&3;c[g>>2]=(c[f>>2]<>2]|0)/400|0;g=c[g>>2]|0;l=h;return g|0}b=d[c[e>>2]>>0]|0;if((a&96|0)==96){c[g>>2]=(c[f>>2]|0)/((b&8|0?50:100)|0)|0;g=c[g>>2]|0;l=h;return g|0}c[g>>2]=b>>3&3;b=c[f>>2]|0;if((c[g>>2]|0)==3){c[g>>2]=(b*60|0)/1e3|0;g=c[g>>2]|0;l=h;return g|0}else{c[g>>2]=(b<>2]|0)/100|0;g=c[g>>2]|0;l=h;return g|0}return 0}function Jh(e,f,g,h,i,j,k,m){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=l;l=l+80|0;D=J+72|0;r=J+68|0;x=J+64|0;E=J+60|0;y=J+56|0;t=J+52|0;F=J+48|0;C=J+44|0;A=J+40|0;v=J+36|0;n=J+32|0;q=J+28|0;o=J+24|0;p=J+77|0;H=J+76|0;u=J+20|0;w=J+16|0;B=J+12|0;s=J+8|0;z=J+4|0;G=J;c[r>>2]=e;c[x>>2]=f;c[E>>2]=g;c[y>>2]=h;c[t>>2]=i;c[F>>2]=j;c[C>>2]=k;c[A>>2]=m;c[B>>2]=0;c[s>>2]=c[r>>2];if(!(c[F>>2]|0)){c[D>>2]=-1;I=c[D>>2]|0;l=J;return I|0}c[u>>2]=Ih(c[r>>2]|0,48e3)|0;c[o>>2]=0;j=c[r>>2]|0;c[r>>2]=j+1;a[H>>0]=a[j>>0]|0;c[x>>2]=(c[x>>2]|0)+-1;c[w>>2]=c[x>>2];a:do switch(d[H>>0]&3|0){case 0:{c[q>>2]=1;break}case 1:{c[q>>2]=2;c[o>>2]=1;if(!(c[E>>2]|0)){if(!(c[x>>2]&1)){c[w>>2]=(c[x>>2]|0)/2|0;b[c[F>>2]>>1]=c[w>>2];break a}c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}break}case 2:{c[q>>2]=2;c[n>>2]=Kh(c[r>>2]|0,c[x>>2]|0,c[F>>2]|0)|0;c[x>>2]=(c[x>>2]|0)-(c[n>>2]|0);if((b[c[F>>2]>>1]|0)>=0?(b[c[F>>2]>>1]|0)<=(c[x>>2]|0):0){c[r>>2]=(c[r>>2]|0)+(c[n>>2]|0);c[w>>2]=(c[x>>2]|0)-(b[c[F>>2]>>1]|0);break a}c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}default:{if((c[x>>2]|0)<1){c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}j=c[r>>2]|0;c[r>>2]=j+1;a[p>>0]=a[j>>0]|0;c[q>>2]=d[p>>0]&63;if((c[q>>2]|0)>0?(N(c[u>>2]|0,c[q>>2]|0)|0)<=5760:0){c[x>>2]=(c[x>>2]|0)+-1;b:do if(d[p>>0]&64|0){while(1){if((c[x>>2]|0)<=0)break;j=c[r>>2]|0;c[r>>2]=j+1;c[z>>2]=d[j>>0];c[x>>2]=(c[x>>2]|0)+-1;c[G>>2]=(c[z>>2]|0)==255?254:c[z>>2]|0;c[x>>2]=(c[x>>2]|0)-(c[G>>2]|0);c[B>>2]=(c[B>>2]|0)+(c[G>>2]|0);if((c[z>>2]|0)!=255)break b}c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}while(0);if((c[x>>2]|0)<0){c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}c[o>>2]=((d[p>>0]&128|0)!=0^1)&1;if(c[o>>2]|0){if(c[E>>2]|0)break a;c[w>>2]=(c[x>>2]|0)/(c[q>>2]|0)|0;I=N(c[w>>2]|0,c[q>>2]|0)|0;if((I|0)!=(c[x>>2]|0)){c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}c[v>>2]=0;while(1){if((c[v>>2]|0)>=((c[q>>2]|0)-1|0))break a;b[(c[F>>2]|0)+(c[v>>2]<<1)>>1]=c[w>>2];c[v>>2]=(c[v>>2]|0)+1}}c[w>>2]=c[x>>2];c[v>>2]=0;while(1){if((c[v>>2]|0)>=((c[q>>2]|0)-1|0))break;c[n>>2]=Kh(c[r>>2]|0,c[x>>2]|0,(c[F>>2]|0)+(c[v>>2]<<1)|0)|0;c[x>>2]=(c[x>>2]|0)-(c[n>>2]|0);if((b[(c[F>>2]|0)+(c[v>>2]<<1)>>1]|0)<0){I=29;break}if((b[(c[F>>2]|0)+(c[v>>2]<<1)>>1]|0)>(c[x>>2]|0)){I=29;break}c[r>>2]=(c[r>>2]|0)+(c[n>>2]|0);c[w>>2]=(c[w>>2]|0)-((c[n>>2]|0)+(b[(c[F>>2]|0)+(c[v>>2]<<1)>>1]|0));c[v>>2]=(c[v>>2]|0)+1}if((I|0)==29){c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}if((c[w>>2]|0)>=0)break a;c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}}while(0);c:do if(c[E>>2]|0){c[n>>2]=Kh(c[r>>2]|0,c[x>>2]|0,(c[F>>2]|0)+(c[q>>2]<<1)+-2|0)|0;c[x>>2]=(c[x>>2]|0)-(c[n>>2]|0);if((b[(c[F>>2]|0)+((c[q>>2]|0)-1<<1)>>1]|0)>=0?(b[(c[F>>2]|0)+((c[q>>2]|0)-1<<1)>>1]|0)<=(c[x>>2]|0):0){c[r>>2]=(c[r>>2]|0)+(c[n>>2]|0);if(!(c[o>>2]|0)){if(((c[n>>2]|0)+(b[(c[F>>2]|0)+((c[q>>2]|0)-1<<1)>>1]|0)|0)<=(c[w>>2]|0))break;c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}I=N(b[(c[F>>2]|0)+((c[q>>2]|0)-1<<1)>>1]|0,c[q>>2]|0)|0;if((I|0)>(c[x>>2]|0)){c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}c[v>>2]=0;while(1){if((c[v>>2]|0)>=((c[q>>2]|0)-1|0))break c;b[(c[F>>2]|0)+(c[v>>2]<<1)>>1]=b[(c[F>>2]|0)+((c[q>>2]|0)-1<<1)>>1]|0;c[v>>2]=(c[v>>2]|0)+1}}c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}else{if((c[w>>2]|0)<=1275){b[(c[F>>2]|0)+((c[q>>2]|0)-1<<1)>>1]=c[w>>2];break}c[D>>2]=-4;I=c[D>>2]|0;l=J;return I|0}while(0);if(c[C>>2]|0)c[c[C>>2]>>2]=(c[r>>2]|0)-(c[s>>2]|0);c[v>>2]=0;while(1){if((c[v>>2]|0)>=(c[q>>2]|0))break;if(c[t>>2]|0)c[(c[t>>2]|0)+(c[v>>2]<<2)>>2]=c[r>>2];c[r>>2]=(c[r>>2]|0)+(b[(c[F>>2]|0)+(c[v>>2]<<1)>>1]|0);c[v>>2]=(c[v>>2]|0)+1}if(c[A>>2]|0)c[c[A>>2]>>2]=(c[B>>2]|0)+((c[r>>2]|0)-(c[s>>2]|0));if(c[y>>2]|0)a[c[y>>2]>>0]=a[H>>0]|0;c[D>>2]=c[q>>2];I=c[D>>2]|0;l=J;return I|0}function Kh(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;i=k+12|0;g=k+8|0;h=k+4|0;j=k;c[g>>2]=a;c[h>>2]=e;c[j>>2]=f;if((c[h>>2]|0)<1){b[c[j>>2]>>1]=-1;c[i>>2]=-1;j=c[i>>2]|0;l=k;return j|0}if((d[c[g>>2]>>0]|0|0)<252){b[c[j>>2]>>1]=d[c[g>>2]>>0]|0;c[i>>2]=1;j=c[i>>2]|0;l=k;return j|0}if((c[h>>2]|0)<2){b[c[j>>2]>>1]=-1;c[i>>2]=-1;j=c[i>>2]|0;l=k;return j|0}else{b[c[j>>2]>>1]=((d[(c[g>>2]|0)+1>>0]|0)<<2)+(d[c[g>>2]>>0]|0);c[i>>2]=2;j=c[i>>2]|0;l=k;return j|0}return 0}function Lh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;f=h+16|0;d=h+12|0;g=h+8|0;b=h+4|0;e=h;c[d>>2]=a;if((c[d>>2]|0)<1|(c[d>>2]|0)>2){c[f>>2]=0;g=c[f>>2]|0;l=h;return g|0}c[e>>2]=yd(g)|0;if(c[e>>2]|0){c[f>>2]=0;g=c[f>>2]|0;l=h;return g|0}else{c[g>>2]=Mh(c[g>>2]|0)|0;c[b>>2]=ob(c[d>>2]|0)|0;e=Mh(88)|0;c[f>>2]=e+(c[g>>2]|0)+(c[b>>2]|0);g=c[f>>2]|0;l=h;return g|0}return 0}function Mh(a){a=a|0;var b=0,d=0,e=0;b=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;return n|0}else{a=c[f>>2]|0;c[n>>2]=0;tb(a,10016,n)|0;c[(c[m>>2]|0)+60>>2]=0;c[(c[m>>2]|0)+64>>2]=(c[e>>2]|0)/400|0;n=Oh()|0;c[(c[m>>2]|0)+44>>2]=n;c[i>>2]=0;n=c[i>>2]|0;l=o;return n|0}}c[i>>2]=-1;n=c[i>>2]|0;l=o;return n|0}function Oh(){return 0}function Ph(a,d,e,f,h,i,j,k,m){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0;O=l;l=l+208|0;K=O+88|0;L=O+84|0;o=O+80|0;s=O+76|0;H=O+72|0;G=O+68|0;p=O+64|0;C=O+60|0;y=O+56|0;E=O+52|0;r=O+48|0;t=O+44|0;n=O+40|0;u=O+36|0;F=O+192|0;w=O+32|0;v=O+28|0;x=O+24|0;z=O+20|0;D=O+96|0;I=O+16|0;J=O+12|0;q=O+8|0;A=O+4|0;B=O;c[L>>2]=a;c[o>>2]=d;c[s>>2]=e;c[H>>2]=f;c[G>>2]=h;c[p>>2]=i;c[C>>2]=j;c[y>>2]=k;c[E>>2]=m;if((c[p>>2]|0)<0|(c[p>>2]|0)>1){c[K>>2]=-1;M=c[K>>2]|0;l=O;return M|0}if((c[p>>2]|0)!=0|(c[s>>2]|0)==0|(c[o>>2]|0)==0?(c[G>>2]|0)%((c[(c[L>>2]|0)+12>>2]|0)/400|0|0)|0|0:0){c[K>>2]=-1;M=c[K>>2]|0;l=O;return M|0}if((c[s>>2]|0)==0|(c[o>>2]|0)==0){c[I>>2]=0;while(1){n=(c[H>>2]|0)+((N(c[I>>2]|0,c[(c[L>>2]|0)+8>>2]|0)|0)<<2)|0;c[J>>2]=Qh(c[L>>2]|0,0,0,n,(c[G>>2]|0)-(c[I>>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2]=Qh(c[L>>2]|0,c[o>>2]|0,b[D>>1]|0,M,c[w>>2]|0,1)|0;if((c[A>>2]|0)<0){c[K>>2]=c[A>>2];M=c[K>>2]|0;l=O;return M|0}else{Rh()|0;c[(c[L>>2]|0)+72>>2]=c[G>>2];c[K>>2]=c[G>>2];M=c[K>>2]|0;l=O;return M|0}}c[K>>2]=Ph(c[L>>2]|0,0,0,c[H>>2]|0,c[G>>2]|0,0,0,0,c[E>>2]|0)|0;M=c[K>>2]|0;l=O;return M|0}J=N(c[n>>2]|0,c[w>>2]|0)|0;if((J|0)>(c[G>>2]|0)){c[K>>2]=-2;M=c[K>>2]|0;l=O;return M|0}c[(c[L>>2]|0)+56>>2]=c[x>>2];c[(c[L>>2]|0)+52>>2]=c[v>>2];c[(c[L>>2]|0)+64>>2]=c[w>>2];c[(c[L>>2]|0)+48>>2]=c[z>>2];c[t>>2]=0;c[r>>2]=0;while(1){if((c[r>>2]|0)>=(c[n>>2]|0))break;J=(c[H>>2]|0)+((N(c[t>>2]|0,c[(c[L>>2]|0)+8>>2]|0)|0)<<2)|0;c[B>>2]=Qh(c[L>>2]|0,c[o>>2]|0,b[D+(c[r>>2]<<1)>>1]|0,J,(c[G>>2]|0)-(c[t>>2]|0)|0,0)|0;if((c[B>>2]|0)<0){M=31;break}c[o>>2]=(c[o>>2]|0)+(b[D+(c[r>>2]<<1)>>1]|0);c[t>>2]=(c[t>>2]|0)+(c[B>>2]|0);c[r>>2]=(c[r>>2]|0)+1}if((M|0)==31){c[K>>2]=c[B>>2];M=c[K>>2]|0;l=O;return M|0}c[(c[L>>2]|0)+72>>2]=c[t>>2];Rh()|0;if(c[E>>2]|0)Gh(c[H>>2]|0,c[t>>2]|0,c[(c[L>>2]|0)+8>>2]|0,(c[L>>2]|0)+76|0);else{g[(c[L>>2]|0)+76+4>>2]=0.0;g[(c[L>>2]|0)+76>>2]=0.0}c[K>>2]=c[t>>2];M=c[K>>2]|0;l=O;return M|0}
-function ca(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function da(){return l|0}function ea(a){a=a|0;l=a}function fa(a,b){a=a|0;b=b|0;l=a;m=b}function ga(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function ha(a){a=a|0;y=a}function ia(){return y|0}function ja(a,b,d,e,f){a=+a;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;n=o+20|0;m=o+16|0;i=o+12|0;h=o+8|0;k=o+4|0;j=o;g[n>>2]=a;c[m>>2]=b;c[i>>2]=d;c[h>>2]=e;c[k>>2]=f;c[j>>2]=0;while(1){if((c[j>>2]|0)>=(c[h>>2]|0))break;if(+g[n>>2]<+g[(c[m>>2]|0)+(c[j>>2]<<2)>>2])break;c[j>>2]=(c[j>>2]|0)+1}if((c[j>>2]|0)>(c[k>>2]|0)?+g[n>>2]<+g[(c[m>>2]|0)+(c[k>>2]<<2)>>2]+ +g[(c[i>>2]|0)+(c[k>>2]<<2)>>2]:0)c[j>>2]=c[k>>2];if((c[j>>2]|0)>=(c[k>>2]|0)){n=c[j>>2]|0;l=o;return n|0}if(!(+g[n>>2]>+g[(c[m>>2]|0)+((c[k>>2]|0)-1<<2)>>2]-+g[(c[i>>2]|0)+((c[k>>2]|0)-1<<2)>>2])){n=c[j>>2]|0;l=o;return n|0}c[j>>2]=c[k>>2];n=c[j>>2]|0;l=o;return n|0}function ka(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=(N(1664525,c[d>>2]|0)|0)+1013904223|0;l=b;return a|0}function la(a,d,e,f,h,i){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0;v=l;l=l+48|0;t=v+40|0;n=v+36|0;o=v+32|0;r=v+28|0;j=v+24|0;k=v+20|0;s=v+16|0;p=v+12|0;m=v+8|0;q=v+4|0;u=v;c[t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0)+32>>2]|0)+(c[G>>2]<<1)>>1]<>2]<<2);c[I>>2]=0;while(1){if((c[I>>2]|0)>=(1<>2]|0))break;Z=N(c[G>>2]|0,c[u>>2]|0)|0;if(!(d[(c[D>>2]|0)+(Z+(c[C>>2]|0))>>0]&1<>2])){c[H>>2]=0;while(1){if((c[H>>2]|0)>=(c[x>>2]|0))break;c[U>>2]=ka(c[U>>2]|0)|0;t=+g[S>>2];g[(c[y>>2]|0)+((c[H>>2]<>2])+(c[I>>2]|0)<<2)>>2]=c[U>>2]&32768|0?t:-t;c[H>>2]=(c[H>>2]|0)+1}c[T>>2]=1}c[I>>2]=(c[I>>2]|0)+1}if(c[T>>2]|0)cd(c[y>>2]|0,c[x>>2]<>2],1.0,c[A>>2]|0);Z=(c[C>>2]|0)+1|0;c[C>>2]=Z}while((Z|0)<(c[u>>2]|0));c[G>>2]=(c[G>>2]|0)+1}l=Y;return}function qa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>>>0)/((c[d>>2]|0)>>>0)|0|0}function ra(a,d,e,f,h,i,j,k,m,n){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0;O=l;l=l+112|0;F=O+104|0;D=O+100|0;s=O+96|0;t=O+92|0;C=O+88|0;y=O+84|0;H=O+80|0;K=O+76|0;x=O+72|0;o=O+68|0;p=O+64|0;A=O+60|0;u=O+56|0;r=O+52|0;G=O+48|0;E=O+44|0;w=O+40|0;v=O+36|0;z=O+32|0;B=O+28|0;q=O+24|0;J=O+20|0;I=O+8|0;L=O+4|0;M=O;c[D>>2]=a;c[s>>2]=d;c[t>>2]=e;c[C>>2]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=(c[q>>2]|0)&1)+((c[I+4>>2]<<1|0)>=(c[q>>2]|0)&1)+((c[I>>2]<<1|0)>=(c[q>>2]|0)&1);c[G>>2]=(c[G>>2]|0)+(c[J>>2]<<8);c[E>>2]=(c[E>>2]|0)+1}c[A>>2]=(c[A>>2]|0)+1}j=(c[u>>2]|0)+1|0;c[u>>2]=j}while((j|0)<(c[o>>2]|0));do if(c[K>>2]|0){if(c[z>>2]|0)c[z>>2]=qa(c[z>>2]|0,N(c[o>>2]|0,4-(c[(c[D>>2]|0)+8>>2]|0)+(c[x>>2]|0)|0)|0)|0;c[c[y>>2]>>2]=(c[c[y>>2]>>2]|0)+(c[z>>2]|0)>>1;c[z>>2]=c[c[y>>2]>>2];if((c[c[H>>2]>>2]|0)!=2){if(!(c[c[H>>2]>>2]|0))c[z>>2]=(c[z>>2]|0)-4}else c[z>>2]=(c[z>>2]|0)+4;if((c[z>>2]|0)>22){c[c[H>>2]>>2]=2;break}else{c[c[H>>2]>>2]=(c[z>>2]|0)>18?1:0;break}}while(0);c[G>>2]=qa(c[G>>2]|0,c[E>>2]|0)|0;c[G>>2]=(c[G>>2]|0)+(c[c[t>>2]>>2]|0)>>1;c[c[t>>2]>>2]=c[G>>2];c[G>>2]=((c[G>>2]|0)*3|0)+((3-(c[C>>2]|0)<<7)+64)+2>>2;do if((c[G>>2]|0)>=80){if((c[G>>2]|0)<256){c[v>>2]=2;break}if((c[G>>2]|0)<384){c[v>>2]=1;break}else{c[v>>2]=0;break}}else c[v>>2]=3;while(0);c[F>>2]=c[v>>2];M=c[F>>2]|0;l=O;return M|0}function sa(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;f=n+24|0;e=n+20|0;j=n+16|0;h=n+12|0;i=n+8|0;k=n+4|0;m=n;c[f>>2]=a;c[e>>2]=b;c[j>>2]=d;c[e>>2]=c[e>>2]>>1;c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[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0)+1-(c[V>>2]|0)|0,(c[I>>2]|0)+2-(c[V>>2]|0)|0)|0)>>1)}Nb(c[P>>2]|0,c[r>>2]|0,(c[r>>2]|0)+(c[x>>2]|0)|0,c[y>>2]|0);break}if((c[V>>2]|0)<=(c[I>>2]>>1|0))j=(c[V>>2]|0)+1|0;else j=(c[I>>2]|0)+1-(c[V>>2]|0)|0;c[x>>2]=j;if((c[V>>2]|0)<=(c[I>>2]>>1|0))j=(N(c[V>>2]|0,(c[V>>2]|0)+1|0)|0)>>1;else j=(c[y>>2]|0)-((N((c[I>>2]|0)+1-(c[V>>2]|0)|0,(c[I>>2]|0)+2-(c[V>>2]|0)|0)|0)>>1)|0;c[w>>2]=j;Ub(c[P>>2]|0,c[w>>2]|0,(c[w>>2]|0)+(c[x>>2]|0)|0,c[y>>2]|0)}while(0);c[V>>2]=qa(c[V>>2]<<14,c[I>>2]|0)|0;if((c[Q>>2]|0)!=0&(c[J>>2]|0)!=0)if(!(c[V>>2]|0)){Ga(c[H>>2]|0,c[D>>2]|0,c[E>>2]|0,c[F>>2]|0,c[G>>2]|0,c[L>>2]|0);break}else{Ha(c[D>>2]|0,c[E>>2]|0,c[L>>2]|0);break}}else if(c[J>>2]|0){if(c[Q>>2]|0){c[T>>2]=(c[V>>2]|0)>8192&1;a:do if(c[T>>2]|0){c[t>>2]=0;while(1){if((c[t>>2]|0)>=(c[L>>2]|0))break a;g[(c[E>>2]|0)+(c[t>>2]<<2)>>2]=-+g[(c[E>>2]|0)+(c[t>>2]<<2)>>2];c[t>>2]=(c[t>>2]|0)+1}}while(0);Ga(c[H>>2]|0,c[D>>2]|0,c[E>>2]|0,c[F>>2]|0,c[G>>2]|0,c[L>>2]|0)}do if((c[c[M>>2]>>2]|0)>16?(c[(c[q>>2]|0)+28>>2]|0)>16:0){j=c[P>>2]|0;if(c[Q>>2]|0){_b(j,c[T>>2]|0,2);break}else{c[T>>2]=Ob(j,2)|0;break}}else v=60;while(0);if((v|0)==60)c[T>>2]=0;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|0}else{c[o>>2]=c[m>>2];s=c[o>>2]|0;l=p;return s|0}return 0}function Da(a,e,f,g){a=a|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0;j=l;l=l+32|0;m=j+16|0;k=j+12|0;n=j+8|0;i=j+4|0;h=j;c[m>>2]=a;c[k>>2]=e;c[n>>2]=f;c[i>>2]=g;c[n>>2]=(c[n>>2]|0)+1;g=N(c[n>>2]|0,c[(c[m>>2]|0)+8>>2]|0)|0;c[h>>2]=(c[(c[m>>2]|0)+92+8>>2]|0)+(b[(c[(c[m>>2]|0)+92+4>>2]|0)+(g+(c[k>>2]|0)<<1)>>1]|0);if(!(c[i>>2]|0)){n=0;l=j;return n|0}n=(d[(c[h>>2]|0)+(c[i>>2]|0)>>0]|0)+1|0;l=j;return n|0}function Ea(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;a=c[b>>2]|0;if((c[b>>2]|0)<8){b=a;l=d;return b|0}b=8+(a&7)<<(c[b>>2]>>3)-1;l=d;return b|0}function Fa(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;o=l;l=l+32|0;p=o+28|0;i=o+24|0;j=o+20|0;k=o+16|0;q=o+12|0;n=o+8|0;m=o+4|0;h=o;c[p>>2]=a;c[i>>2]=d;c[j>>2]=e;c[k>>2]=f;c[q>>2]=g;c[h>>2]=(c[p>>2]<<1)-1;if((c[q>>2]|0)!=0&(c[p>>2]|0)==2)c[h>>2]=(c[h>>2]|0)+-1;q=(c[i>>2]|0)+(N(c[h>>2]|0,c[j>>2]|0)|0)|0;c[m>>2]=ua(q,c[h>>2]|0)|0;if(((c[i>>2]|0)-(c[k>>2]|0)-32|0)<(c[m>>2]|0))a=(c[i>>2]|0)-(c[k>>2]|0)-32|0;else a=c[m>>2]|0;c[m>>2]=a;c[m>>2]=64<(c[m>>2]|0)?64:c[m>>2]|0;if((c[m>>2]|0)<4){c[n>>2]=1;q=c[n>>2]|0;l=o;return q|0}else{c[n>>2]=b[22328+((c[m>>2]&7)<<1)>>1]>>14-(c[m>>2]>>3);c[n>>2]=(c[n>>2]|0)+1>>1<<1;q=c[n>>2]|0;l=o;return q|0}return 0}function Ga(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;r=l;l=l+64|0;v=r+56|0;j=r+52|0;k=r+48|0;x=r+44|0;y=r+40|0;i=r+36|0;w=r+32|0;o=r+28|0;m=r+24|0;n=r+20|0;u=r+16|0;t=r+12|0;s=r+8|0;q=r+4|0;p=r;c[v>>2]=a;c[j>>2]=b;c[k>>2]=d;c[x>>2]=e;c[y>>2]=f;c[i>>2]=h;c[w>>2]=c[y>>2];g[u>>2]=+g[(c[x>>2]|0)+(c[w>>2]<<2)>>2];g[t>>2]=+g[(c[x>>2]|0)+((c[w>>2]|0)+(c[(c[v>>2]|0)+8>>2]|0)<<2)>>2];g[s>>2]=+B(+(+g[u>>2]*+g[u>>2]+1.0000000036274937e-15+ +g[t>>2]*+g[t>>2]))+1.0000000036274937e-15;g[m>>2]=+g[u>>2]/+g[s>>2];g[n>>2]=+g[t>>2]/+g[s>>2];c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[i>>2]|0))break;g[p>>2]=+g[(c[j>>2]|0)+(c[o>>2]<<2)>>2];g[q>>2]=+g[(c[k>>2]|0)+(c[o>>2]<<2)>>2];g[(c[j>>2]|0)+(c[o>>2]<<2)>>2]=+g[m>>2]*+g[p>>2]+ +g[n>>2]*+g[q>>2];c[o>>2]=(c[o>>2]|0)+1}l=r;return}function Ha(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;f=m+20|0;h=m+16|0;e=m+12|0;i=m+8|0;k=m+4|0;j=m;c[f>>2]=a;c[h>>2]=b;c[e>>2]=d;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[e>>2]|0))break;g[j>>2]=+g[(c[f>>2]|0)+(c[i>>2]<<2)>>2]*.7071067690849304;g[k>>2]=+g[(c[h>>2]|0)+(c[i>>2]<<2)>>2]*.7071067690849304;g[(c[f>>2]|0)+(c[i>>2]<<2)>>2]=+g[j>>2]+ +g[k>>2];g[(c[h>>2]|0)+(c[i>>2]<<2)>>2]=+g[k>>2]-+g[j>>2];c[i>>2]=(c[i>>2]|0)+1}l=m;return}function Ia(a){a=a|0;var d=0,e=0,f=0,g=0;e=l;l=l+16|0;g=e+6|0;f=e;d=e+4|0;b[g>>1]=a;c[f>>2]=4096+(N(b[g>>1]|0,b[g>>1]|0)|0)>>13;b[d>>1]=c[f>>2];b[d>>1]=32767-(b[d>>1]|0)+(16384+(N(b[d>>1]|0,((16384+(N(b[d>>1]|0,(8277+(16384+(N(-626,b[d>>1]|0)|0)>>15)&65535)<<16>>16)|0)>>15)+-7651&65535)<<16>>16)|0)>>15);l=e;return 1+(b[d>>1]|0)&65535|0}function Ja(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=l;l=l+16|0;f=d+12|0;e=d+8|0;g=d+4|0;h=d;c[f>>2]=a;c[e>>2]=b;c[g>>2]=32-(Q(c[e>>2]|0)|0);c[h>>2]=32-(Q(c[f>>2]|0)|0);c[e>>2]=c[e>>2]<<15-(c[g>>2]|0);c[f>>2]=c[f>>2]<<15-(c[h>>2]|0);a=((c[h>>2]|0)-(c[g>>2]|0)<<11)+(16384+(N((c[f>>2]&65535)<<16>>16,((16384+(N((c[f>>2]&65535)<<16>>16,-2597)|0)>>15)+7932&65535)<<16>>16)|0)>>15)|0;a=a-(16384+(N((c[e>>2]&65535)<<16>>16,((16384+(N((c[e>>2]&65535)<<16>>16,-2597)|0)>>15)+7932&65535)<<16>>16)|0)>>15)|0;l=d;return a|0}function Ka(a,b,d,e,f){a=a|0;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0;t=l;l=l+48|0;m=t+32|0;r=t+28|0;s=t+24|0;j=t+20|0;p=t+16|0;q=t+12|0;k=t+8|0;n=t+4|0;o=t;c[m>>2]=a;c[r>>2]=b;c[s>>2]=d;c[j>>2]=e;c[p>>2]=f;c[q>>2]=h;g[n>>2]=0.0;g[o>>2]=0.0;c[k>>2]=0;while(1){i=+g[n>>2];if((c[k>>2]|0)>=(c[j>>2]|0))break;g[n>>2]=i+ +g[(c[m>>2]|0)+(c[k>>2]<<2)>>2]*+g[(c[r>>2]|0)+(c[k>>2]<<2)>>2];g[o>>2]=+g[o>>2]+ +g[(c[m>>2]|0)+(c[k>>2]<<2)>>2]*+g[(c[s>>2]|0)+(c[k>>2]<<2)>>2];c[k>>2]=(c[k>>2]|0)+1}g[c[p>>2]>>2]=i;g[c[q>>2]>>2]=+g[o>>2];l=t;return}function Ma(a){a=a|0;var b=0,d=0,e=0,f=0;e=l;l=l+16|0;f=e+4|0;b=e;c[f>>2]=a;a=c[f>>2]|0;a:do if((a|0)<16e3)if((a|0)<12e3){switch(a|0){case 8e3:break;default:{d=7;break a}}c[b>>2]=6;break}else{switch(a|0){case 12e3:break;default:{d=7;break a}}c[b>>2]=4;break}else{if((a|0)<24e3){switch(a|0){case 16e3:break;default:{d=7;break a}}c[b>>2]=3;break}if((a|0)<48e3){switch(a|0){case 24e3:break;default:{d=7;break a}}c[b>>2]=2;break}else{switch(a|0){case 48e3:break;default:{d=7;break a}}c[b>>2]=1;break}}while(0);if((d|0)==7)c[b>>2]=0;l=e;return c[b>>2]|0}function Na(a,b,d,e,f,h,i,j,k,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=+h;i=+i;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=l;l=l+112|0;M=N+96|0;G=N+92|0;q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<>2];a=N(c[(c[n>>2]|0)+8>>2]|0,(c[i>>2]<<1)+(c[h>>2]|0)-1|0)|0;a=N((d[(c[(c[n>>2]|0)+92+12>>2]|0)+(a+(c[m>>2]|0))>>0]|0)+64|0,c[h>>2]|0)|0;a=(N(a,c[j>>2]|0)|0)>>2;c[(c[k>>2]|0)+(c[m>>2]<<2)>>2]=a;c[m>>2]=(c[m>>2]|0)+1}l=o;return}function Qa(a){a=a|0;var b=0,d=0,e=0;e=l;l=l+16|0;d=e+4|0;b=e;c[b>>2]=a;if((c[b>>2]|0)>0|(c[b>>2]|0)<-7){c[d>>2]=25260;d=c[d>>2]|0;l=e;return d|0}else{c[d>>2]=c[164+(0-(c[b>>2]|0)<<2)>>2];d=c[d>>2]|0;l=e;return d|0}return 0}function Ra(){return 25411}function Sa(a){a=a|0;var b=0,d=0,e=0;b=l;l=l+16|0;d=b+4|0;e=b;c[d>>2]=a;c[e>>2]=sc(48e3,960,0)|0;a=Ta(c[e>>2]|0,c[d>>2]|0)|0;l=b;return a|0}function Ta(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=l;l=l+16|0;f=e+8|0;g=e+4|0;d=e;c[f>>2]=a;c[g>>2]=b;a=204+((N(c[g>>2]|0,c[(c[f>>2]|0)+4>>2]|0)|0)-1<<2)|0;c[d>>2]=a+(c[g>>2]<<10<<2)+((N((c[g>>2]|0)*3|0,c[(c[f>>2]|0)+8>>2]|0)|0)<<2);l=e;return c[d>>2]|0}function Ua(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;j=l;l=l+32|0;g=j+20|0;i=j+16|0;h=j+12|0;m=j+8|0;k=j+4|0;f=j;c[i>>2]=a;c[h>>2]=b;c[m>>2]=d;c[k>>2]=e;b=c[i>>2]|0;a=sc(48e3,960,0)|0;c[f>>2]=Va(b,a,c[m>>2]|0,c[k>>2]|0)|0;if(c[f>>2]|0){c[g>>2]=c[f>>2];m=c[g>>2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-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[K>>2]=Z;c[t>>2]=c[K>>2];if((c[t>>2]|0)<0|(c[t>>2]|0)>2)e=41;else{c[(c[V>>2]|0)+20>>2]=(c[t>>2]|0)<=1&1;c[(c[V>>2]|0)+12>>2]=(c[t>>2]|0)==0&1;e=40}break}case 4014:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[L>>2]=Z;c[u>>2]=c[L>>2];if((c[u>>2]|0)<0|(c[u>>2]|0)>100)e=41;else{c[(c[V>>2]|0)+56>>2]=c[u>>2];e=40}break}case 4020:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[M>>2]=Z;c[v>>2]=c[M>>2];c[(c[V>>2]|0)+52>>2]=c[v>>2];e=40;break}case 4006:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[O>>2]=Z;c[x>>2]=c[O>>2];c[(c[V>>2]|0)+44>>2]=c[x>>2];e=40;break}case 4002:{U=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[U>>2]|0;c[e>>2]=U+4;c[P>>2]=Z;c[W>>2]=c[P>>2];if((c[W>>2]|0)<=500&(c[W>>2]|0)!=-1)e=41;else{if((c[W>>2]|0)<((c[(c[V>>2]|0)+4>>2]|0)*26e4|0))e=c[W>>2]|0;else e=(c[(c[V>>2]|0)+4>>2]|0)*26e4|0;c[W>>2]=e;c[(c[V>>2]|0)+40>>2]=c[W>>2];e=40}break}case 10008:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[R>>2]=Z;c[y>>2]=c[R>>2];if((c[y>>2]|0)<1|(c[y>>2]|0)>2)e=41;else{c[(c[V>>2]|0)+8>>2]=c[y>>2];e=40}break}case 4036:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[S>>2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&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[D>>2]=Z;c[n>>2]=c[D>>2];c[(c[V>>2]|0)+48>>2]=c[n>>2];e=40;break}case 10022:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[E>>2]=Z;c[h>>2]=c[E>>2];if(c[h>>2]|0){_i((c[V>>2]|0)+120|0,c[h>>2]|0,28|0)|0;e=40}else e=40;break}case 10015:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[F>>2]=Z;c[p>>2]=c[F>>2];if(!(c[p>>2]|0))e=41;else{c[c[p>>2]>>2]=c[c[V>>2]>>2];e=40}break}case 4031:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[G>>2]=Z;c[q>>2]=c[G>>2];if(!(c[q>>2]|0))e=41;else{c[c[q>>2]>>2]=c[(c[V>>2]|0)+76>>2];e=40}break}case 10024:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[I>>2]=Z;c[r>>2]=c[I>>2];c[(c[V>>2]|0)+68>>2]=c[r>>2];e=40;break}case 10026:{W=(c[e>>2]|0)+(4-1)&~(4-1);Z=c[W>>2]|0;c[e>>2]=W+4;c[J>>2]=Z;c[s>>2]=c[J>>2];c[(c[V>>2]|0)+192>>2]=c[s>>2];e=40;break}default:{c[X>>2]=-5;Z=c[X>>2]|0;l=Y;return Z|0}}while(0);if((e|0)==40){c[X>>2]=0;Z=c[X>>2]|0;l=Y;return Z|0}else if((e|0)==41){c[X>>2]=-1;Z=c[X>>2]|0;l=Y;return Z|0}return 0}function Xa(a,b,d,e,f,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=l;l=l+64|0;o=z+52|0;u=z+48|0;q=z+44|0;m=z+40|0;x=z+36|0;A=z+32|0;w=z+28|0;n=z+24|0;t=z+20|0;s=z+16|0;v=z+12|0;r=z+8|0;p=z+4|0;y=z;c[o>>2]=a;c[u>>2]=b;c[q>>2]=d;c[m>>2]=e;c[x>>2]=f;c[A>>2]=h;c[w>>2]=i;c[n>>2]=j;g[s>>2]=+g[c[A>>2]>>2];g[v>>2]=+g[c[w>>2]>>2];if(!(((c[x>>2]|0)==1?+g[(c[A>>2]|0)+4>>2]==0.0:0)^1|(c[n>>2]|0)!=0)){c[t>>2]=0;while(1){if((c[t>>2]|0)>=(c[q>>2]|0))break;g[p>>2]=+g[(c[o>>2]|0)+((N(c[m>>2]|0,c[t>>2]|0)|0)<<2)>>2]*32768.0;g[(c[u>>2]|0)+(c[t>>2]<<2)>>2]=+g[p>>2]-+g[v>>2];g[v>>2]=+g[s>>2]*+g[p>>2];c[t>>2]=(c[t>>2]|0)+1}g[c[w>>2]>>2]=+g[v>>2];l=z;return}c[r>>2]=(c[q>>2]|0)/(c[x>>2]|0)|0;if((c[x>>2]|0)!=1)aj(c[u>>2]|0,0,c[q>>2]<<2|0)|0;c[t>>2]=0;while(1){if((c[t>>2]|0)>=(c[r>>2]|0))break;k=+g[(c[o>>2]|0)+((N(c[m>>2]|0,c[t>>2]|0)|0)<<2)>>2]*32768.0;g[(c[u>>2]|0)+((N(c[t>>2]|0,c[x>>2]|0)|0)<<2)>>2]=k;c[t>>2]=(c[t>>2]|0)+1}a:do if(c[n>>2]|0){c[t>>2]=0;while(1){if((c[t>>2]|0)>=(c[r>>2]|0))break a;if(65536.0<+g[(c[u>>2]|0)+((N(c[t>>2]|0,c[x>>2]|0)|0)<<2)>>2])k=65536.0;else k=+g[(c[u>>2]|0)+((N(c[t>>2]|0,c[x>>2]|0)|0)<<2)>>2];if(!(-65536.0>k))if(65536.0<+g[(c[u>>2]|0)+((N(c[t>>2]|0,c[x>>2]|0)|0)<<2)>>2])k=65536.0;else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|0)+16|0,(c[Bb>>2]|0)+148+(c[mb>>2]<<2)|0,c[s>>2]|0);r=(c[mb>>2]|0)+1|0;c[mb>>2]=r}while((r|0)<(c[lb>>2]|0));if((c[Ba>>2]|0)>3?(c[(c[Bb>>2]|0)+68>>2]|0)!=0:0)if((c[tb>>2]|0)!=0|(c[kb>>2]|0)!=0)f=0;else S=63;else if(((c[tb>>2]|0)==0?(c[Ba>>2]|0)>((c[Ka>>2]|0)*12|0):0)^1|(c[kb>>2]|0)!=0)f=0;else S=63;if((S|0)==63)if(!(c[(c[Bb>>2]|0)+20>>2]|0)?(c[(c[Bb>>2]|0)+24>>2]|0)>=5:0){if((c[La>>2]|0)!=3?(c[(c[Bb>>2]|0)+116>>2]|0)!=0:0)f=(c[(c[Bb>>2]|0)+64>>2]|0)==5010;else f=0;f=f^1}else f=0;c[v>>2]=f&1;c[Wa>>2]=c[(c[Bb>>2]|0)+100>>2];c[T>>2]=$a(c[Bb>>2]|0,k,c[y>>2]|0,c[lb>>2]|0,c[Ma>>2]|0,c[Wa>>2]|0,Va,Ta,z,c[v>>2]|0,c[Ba>>2]|0)|0;if(!(!(+g[Ta>>2]>.4000000059604645)?!(+g[(c[Bb>>2]|0)+108>>2]>.4000000059604645):0))S=70;do if((S|0)==70){if(c[(c[Bb>>2]|0)+120>>2]|0?!(+g[(c[Bb>>2]|0)+120+4>>2]>.3):0)break;if(!(+(c[Va>>2]|0)>+(c[(c[Bb>>2]|0)+104>>2]|0)*1.26)?!(+(c[Va>>2]|0)<+(c[(c[Bb>>2]|0)+104>>2]|0)*.79):0)break;c[oa>>2]=1}while(0);if(!(c[T>>2]|0)){if((c[tb>>2]|0)==0?((c[qa>>2]|0)+16|0)<=(c[ha>>2]|0):0)_b(c[xb>>2]|0,0,1)}else{_b(c[xb>>2]|0,1,1);c[Va>>2]=(c[Va>>2]|0)+1;c[w>>2]=32-(Q(c[Va>>2]|0)|0)-5;ac(c[xb>>2]|0,c[w>>2]|0,6);bc(c[xb>>2]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]=(c[ob>>2]|0)+1}}while(0);bb(c[Ua>>2]|0,c[Ya>>2]|0,k,j,c[Ka>>2]|0,c[lb>>2]|0,c[La>>2]|0,c[(c[Bb>>2]|0)+28>>2]|0,c[(c[Bb>>2]|0)+72>>2]|0);if((c[lb>>2]|0)==2&(c[Ka>>2]|0)==1)c[P>>2]=0;la(c[Ua>>2]|0,j,p,c[W>>2]|0,c[Ka>>2]|0,c[La>>2]|0);b:do if(c[(c[Bb>>2]|0)+68>>2]|0){c[ob>>2]=2;while(1){if((c[ob>>2]|0)>=(c[nb>>2]|0))break b;if(+g[p+(c[ob>>2]<<2)>>2]<+g[p>>2]*9.999999747378752e-05)m=+g[p+(c[ob>>2]<<2)>>2];else m=+g[p>>2]*9.999999747378752e-05;g[p+(c[ob>>2]<<2)>>2]=m;if(+g[p+(c[ob>>2]<<2)>>2]>1.0000000036274937e-15)m=+g[p+(c[ob>>2]<<2)>>2];else m=1.0000000036274937e-15;g[p+(c[ob>>2]<<2)>>2]=m;c[ob>>2]=(c[ob>>2]|0)+1}}while(0);Tc(c[Ua>>2]|0,c[W>>2]|0,c[nb>>2]|0,p,o,c[Ka>>2]|0);z=(N(c[Ka>>2]|0,c[pb>>2]|0)|0)<<2;i=l;l=l+((1*z|0)+15&-16)|0;aj(i|0,0,c[nb>>2]<<2|0)|0;do if(!(c[tb>>2]|0)){if(!(c[(c[Bb>>2]|0)+192>>2]|0))break;if(c[(c[Bb>>2]|0)+68>>2]|0)break;g[H>>2]=0.0;g[G>>2]=0.0;c[A>>2]=0;if(2>(c[(c[Bb>>2]|0)+92>>2]|0))f=2;else f=c[(c[Bb>>2]|0)+92>>2]|0;c[I>>2]=f;c[mb>>2]=0;while(1){if((c[mb>>2]|0)>=(c[Ka>>2]|0))break;c[ob>>2]=0;while(1){if((c[ob>>2]|0)>=(c[I>>2]|0))break;z=N(c[pb>>2]|0,c[mb>>2]|0)|0;if(+g[(c[(c[Bb>>2]|0)+192>>2]|0)+(z+(c[ob>>2]|0)<<2)>>2]<.25){z=N(c[pb>>2]|0,c[mb>>2]|0)|0;m=+g[(c[(c[Bb>>2]|0)+192>>2]|0)+(z+(c[ob>>2]|0)<<2)>>2]}else m=.25;do if(m>-2.0){z=N(c[pb>>2]|0,c[mb>>2]|0)|0;if(!(+g[(c[(c[Bb>>2]|0)+192>>2]|0)+(z+(c[ob>>2]|0)<<2)>>2]<.25)){m=.25;break}z=N(c[pb>>2]|0,c[mb>>2]|0)|0;m=+g[(c[(c[Bb>>2]|0)+192>>2]|0)+(z+(c[ob>>2]|0)<<2)>>2]}else m=-2.0;while(0);g[B>>2]=m;if(+g[B>>2]>0.0)g[B>>2]=+g[B>>2]*.5;g[H>>2]=+g[H>>2]+ +g[B>>2]*+((b[(c[ba>>2]|0)+((c[ob>>2]|0)+1<<1)>>1]|0)-(b[(c[ba>>2]|0)+(c[ob>>2]<<1)>>1]|0)|0);c[A>>2]=(c[A>>2]|0)+((b[(c[ba>>2]|0)+((c[ob>>2]|0)+1<<1)>>1]|0)-(b[(c[ba>>2]|0)+(c[ob>>2]<<1)>>1]|0));g[G>>2]=+g[G>>2]+ +g[B>>2]*+(1+(c[ob>>2]<<1)-(c[I>>2]|0)|0);c[ob>>2]=(c[ob>>2]|0)+1}c[mb>>2]=(c[mb>>2]|0)+1}g[H>>2]=+g[H>>2]/+(c[A>>2]|0);g[H>>2]=+g[H>>2]+.20000000298023224;B=N(c[Ka>>2]|0,(c[I>>2]|0)-1|0)|0;B=N(B,(c[I>>2]|0)+1|0)|0;g[G>>2]=+g[G>>2]*6.0/+(N(B,c[I>>2]|0)|0);g[G>>2]=+g[G>>2]*.5;if((+g[G>>2]<.03099999949336052?+g[G>>2]:.03099999949336052)>-.03099999949336052)m=+g[G>>2]<.03099999949336052?+g[G>>2]:.03099999949336052;else m=-.03099999949336052;g[G>>2]=m;c[E>>2]=0;while(1){if((b[(c[ba>>2]|0)+((c[E>>2]|0)+1<<1)>>1]|0)>=((b[(c[ba>>2]|0)+(c[I>>2]<<1)>>1]|0)/2|0|0))break;c[E>>2]=(c[E>>2]|0)+1}c[C>>2]=0;c[ob>>2]=0;while(1){if((c[ob>>2]|0)>=(c[I>>2]|0))break;g[D>>2]=+g[H>>2]+ +g[G>>2]*+((c[ob>>2]|0)-(c[E>>2]|0)|0);m=+g[(c[(c[Bb>>2]|0)+192>>2]|0)+(c[ob>>2]<<2)>>2];if((c[Ka>>2]|0)==2){if(m>+g[(c[(c[Bb>>2]|0)+192>>2]|0)+((c[pb>>2]|0)+(c[ob>>2]|0)<<2)>>2])f=c[ob>>2]|0;else f=(c[pb>>2]|0)+(c[ob>>2]|0)|0;g[F>>2]=+g[(c[(c[Bb>>2]|0)+192>>2]|0)+(f<<2)>>2]}else g[F>>2]=m;g[F>>2]=+g[F>>2]<0.0?+g[F>>2]:0.0;g[F>>2]=+g[F>>2]-+g[D>>2];if(+g[F>>2]>.25){g[i+(c[ob>>2]<<2)>>2]=+g[F>>2]-.25;c[C>>2]=(c[C>>2]|0)+1}c[ob>>2]=(c[ob>>2]|0)+1}c:do if((c[C>>2]|0)>=3){g[H>>2]=+g[H>>2]+.25;if(+g[H>>2]>0.0){g[H>>2]=0.0;g[G>>2]=0.0;aj(i|0,0,c[I>>2]<<2|0)|0;break}c[ob>>2]=0;while(1){if((c[ob>>2]|0)>=(c[I>>2]|0))break c;if(0.0>+g[i+(c[ob>>2]<<2)>>2]-.25)m=0.0;else m=+g[i+(c[ob>>2]<<2)>>2]-.25;g[i+(c[ob>>2]<<2)>>2]=m;c[ob>>2]=(c[ob>>2]|0)+1}}while(0);g[H>>2]=+g[H>>2]+.20000000298023224;g[ga>>2]=+g[G>>2]*64.0;g[pa>>2]=+g[H>>2]}while(0);if(!(c[(c[Bb>>2]|0)+68>>2]|0)){g[J>>2]=-10.0;g[K>>2]=0.0;if(c[Ya>>2]|0)m=+(c[La>>2]|0)*.5;else m=0.0;g[L>>2]=m;c[ob>>2]=c[tb>>2];while(1){if((c[ob>>2]|0)>=(c[nb>>2]|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[nb>>2]|0,p,o,c[Ka>>2]|0);c[ob>>2]=0;while(1){if((c[ob>>2]|0)>=(N(c[Ka>>2]|0,c[pb>>2]|0)|0))break;M=e+(c[ob>>2]<<2)|0;g[M>>2]=+g[M>>2]+ +(c[La>>2]|0)*.5;c[ob>>2]=(c[ob>>2]|0)+1}g[ua>>2]=.20000000298023224}while(0);do if((c[La>>2]|0)>0){M=(Za(c[xb>>2]|0)|0)+3|0;if((M|0)>(c[ha>>2]|0))break;_b(c[xb>>2]|0,c[ub>>2]|0,3)}while(0);a=(N(c[Ka>>2]|0,c[Ma>>2]|0)|0)<<2;n=l;l=l+((1*a|0)+15&-16)|0;na(c[Ua>>2]|0,j,n,p,c[W>>2]|0,c[Ka>>2]|0,c[V>>2]|0);a=l;l=l+((1*(c[pb>>2]<<2)|0)+15&-16)|0;d:do if((c[tb>>2]|0)==0?(c[X>>2]|0)>=((c[Ka>>2]|0)*15|0):0){if((c[(c[Bb>>2]|0)+24>>2]|0)<2){S=192;break}if(c[(c[Bb>>2]|0)+68>>2]|0){S=192;break}do if((c[X>>2]|0)>=40){if((c[X>>2]|0)<60){c[O>>2]=6;break}if((c[X>>2]|0)<100){c[O>>2]=4;break}else{c[O>>2]=3;break}}else c[O>>2]=12;while(0);c[O>>2]=c[O>>2]<<1;c[U>>2]=db(c[Ua>>2]|0,c[W>>2]|0,c[ub>>2]|0,a,c[O>>2]|0,n,c[Ma>>2]|0,c[La>>2]|0,R,+g[ua>>2],c[P>>2]|0)|0;c[ob>>2]=c[W>>2];while(1){if((c[ob>>2]|0)>=(c[nb>>2]|0))break d;c[a+(c[ob>>2]<<2)>>2]=c[a+((c[W>>2]|0)-1<<2)>>2];c[ob>>2]=(c[ob>>2]|0)+1}}else S=192;while(0);if((S|0)==192){c[R>>2]=0;c[ob>>2]=0;while(1){if((c[ob>>2]|0)>=(c[nb>>2]|0))break;c[a+(c[ob>>2]<<2)>>2]=c[ub>>2];c[ob>>2]=(c[ob>>2]|0)+1}c[U>>2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2]=c[c[M>>2]>>2];c[C>>2]=c[(c[y>>2]|0)+4>>2];k=N(c[s>>2]|0,(c[t>>2]|0)+1024|0)|0;c[L>>2]=$()|0;a=l;l=l+((1*(k<<2)|0)+15&-16)|0;c[G>>2]=a;c[G+4>>2]=a+((c[t>>2]|0)+1024<<2);c[u>>2]=0;do{_i(c[G+(c[u>>2]<<2)>>2]|0,(c[H>>2]|0)+(c[u>>2]<<10<<2)|0,4096|0)|0;a=(c[x>>2]|0)+((N(c[u>>2]|0,(c[t>>2]|0)+(c[C>>2]|0)|0)|0)<<2)|0;_i((c[G+(c[u>>2]<<2)>>2]|0)+4096|0,a+(c[C>>2]<<2)|0,(c[t>>2]<<2)+0|0)|0;a=(c[u>>2]|0)+1|0;c[u>>2]=a}while((a|0)<(c[s>>2]|0));if(c[o>>2]|0){k=1024+(c[t>>2]|0)>>1;c[r>>2]=$()|0;a=l;l=l+((1*(k<<2)|0)+15&-16)|0;tc(G,a,1024+(c[t>>2]|0)|0,c[s>>2]|0,c[(c[M>>2]|0)+72>>2]|0);yc(a+2048|0,a,c[t>>2]|0,979,F,c[(c[M>>2]|0)+72>>2]|0);c[F>>2]=1024-(c[F>>2]|0);g[w>>2]=+Ac(a,1024,15,c[t>>2]|0,F,c[(c[M>>2]|0)+104>>2]|0,+g[(c[M>>2]|0)+108>>2],c[(c[M>>2]|0)+72>>2]|0);if((c[F>>2]|0)>1022)c[F>>2]=1022;g[w>>2]=+g[w>>2]*.699999988079071;if((c[(c[M>>2]|0)+56>>2]|0)>2)g[w>>2]=+g[w>>2]*.5;if((c[(c[M>>2]|0)+56>>2]|0)>4)g[w>>2]=+g[w>>2]*.5;if((c[(c[M>>2]|0)+56>>2]|0)>8)g[w>>2]=0.0;_(c[r>>2]|0)}else{g[w>>2]=0.0;c[F>>2]=15}g[q>>2]=.20000000298023224;a=(A((c[F>>2]|0)-(c[(c[M>>2]|0)+104>>2]|0)|0)|0)*10|0;if((a|0)>(c[F>>2]|0))g[q>>2]=+g[q>>2]+.20000000298023224;if((c[p>>2]|0)<25)g[q>>2]=+g[q>>2]+.10000000149011612;if((c[p>>2]|0)<35)g[q>>2]=+g[q>>2]+.10000000149011612;if(+g[(c[M>>2]|0)+108>>2]>.4000000059604645)g[q>>2]=+g[q>>2]-.10000000149011612;if(+g[(c[M>>2]|0)+108>>2]>.550000011920929)g[q>>2]=+g[q>>2]-.10000000149011612;g[q>>2]=+g[q>>2]>.20000000298023224?+g[q>>2]:.20000000298023224;if(+g[w>>2]<+g[q>>2]){g[w>>2]=0.0;c[D>>2]=0;c[J>>2]=0}else{if(+A(+(+g[w>>2]-+g[(c[M>>2]|0)+108>>2]))<.10000000149011612)g[w>>2]=+g[(c[M>>2]|0)+108>>2];c[J>>2]=~~+z(+(+g[w>>2]*32.0/3.0+.5))-1;if(0>((7<(c[J>>2]|0)?7:c[J>>2]|0)|0))e=0;else e=7<(c[J>>2]|0)?7:c[J>>2]|0;c[J>>2]=e;g[w>>2]=+((c[J>>2]|0)+1|0)*.09375;c[D>>2]=1}c[u>>2]=0;do{c[B>>2]=(c[(c[y>>2]|0)+44>>2]|0)-(c[C>>2]|0);if((c[(c[M>>2]|0)+104>>2]|0)>15)e=c[(c[M>>2]|0)+104>>2]|0;else e=15;c[(c[M>>2]|0)+104>>2]=e;r=(c[x>>2]|0)+((N(c[u>>2]|0,(c[t>>2]|0)+(c[C>>2]|0)|0)|0)<<2)|0;a=(c[M>>2]|0)+200+((N(c[u>>2]|0,c[C>>2]|0)|0)<<2)|0;_i(r|0,a|0,(c[C>>2]<<2)+0|0)|0;if(c[B>>2]|0){a=(c[x>>2]|0)+((N(c[u>>2]|0,(c[t>>2]|0)+(c[C>>2]|0)|0)|0)<<2)|0;Na(a+(c[C>>2]<<2)|0,(c[G+(c[u>>2]<<2)>>2]|0)+4096|0,c[(c[M>>2]|0)+104>>2]|0,c[(c[M>>2]|0)+104>>2]|0,c[B>>2]|0,-+g[(c[M>>2]|0)+108>>2],-+g[(c[M>>2]|0)+108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=+g[u>>2]+(+g[C>>2]-+g[u>>2])*.0625;g[u>>2]=+g[b+(c[m>>2]<<2)>>2];c[m>>2]=(c[m>>2]|0)+1}g[u>>2]=0.0;g[s>>2]=0.0;c[m>>2]=(c[q>>2]|0)-1;while(1){if((c[m>>2]|0)<0)break;g[b+(c[m>>2]<<2)>>2]=+g[u>>2]+(+g[b+(c[m>>2]<<2)>>2]-+g[u>>2])*.125;g[u>>2]=+g[b+(c[m>>2]<<2)>>2];g[s>>2]=+g[s>>2]>+g[u>>2]?+g[s>>2]:+g[u>>2];c[m>>2]=(c[m>>2]|0)+-1}g[t>>2]=+B(+(+g[t>>2]*+g[s>>2]*.5*+(c[q>>2]|0)));g[w>>2]=+(c[q>>2]|0)/(+g[t>>2]+1.0000000036274937e-15);c[y>>2]=0;c[m>>2]=12;while(1){if((c[m>>2]|0)>=((c[q>>2]|0)-5|0))break;if(127.0<+z(+(+g[w>>2]*64.0*(+g[b+(c[m>>2]<<2)>>2]+1.0000000036274937e-15))))i=127.0;else i=+z(+(+g[w>>2]*64.0*(+g[b+(c[m>>2]<<2)>>2]+1.0000000036274937e-15)));if(!(0.0>i))if(127.0<+z(+(+g[w>>2]*64.0*(+g[b+(c[m>>2]<<2)>>2]+1.0000000036274937e-15))))i=127.0;else i=+z(+(+g[w>>2]*64.0*(+g[b+(c[m>>2]<<2)>>2]+1.0000000036274937e-15)));else i=0.0;c[n>>2]=~~i;c[y>>2]=(c[y>>2]|0)+(d[25443+(c[n>>2]|0)>>0]|0);c[m>>2]=(c[m>>2]|0)+4}c[y>>2]=(c[y>>2]<<6<<2|0)/(((c[q>>2]|0)-17|0)*6|0)|0;if((c[y>>2]|0)>(c[r>>2]|0)){c[c[x>>2]>>2]=c[k>>2];c[r>>2]=c[y>>2]}c[k>>2]=(c[k>>2]|0)+1}c[E>>2]=(c[r>>2]|0)>200&1;if(0.0>+B(+(+((c[r>>2]|0)*27|0)))-42.0)i=0.0;else i=+B(+(+((c[r>>2]|0)*27|0)))-42.0;g[H>>2]=i;if(0.0>(163.0<+g[H>>2]?163.0:+g[H>>2])*.006899999920278788-.139){i=0.0;i=+B(+i);H=c[G>>2]|0;g[H>>2]=i;H=c[E>>2]|0;G=c[F>>2]|0;_(G|0);l=I;return H|0}i=(163.0<+g[H>>2]?163.0:+g[H>>2])*.006899999920278788-.139;i=+B(+i);H=c[G>>2]|0;g[H>>2]=i;H=c[E>>2]|0;G=c[F>>2]|0;_(G|0);l=I;return H|0}function bb(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=l;l=l+80|0;x=D+64|0;B=D+60|0;w=D+56|0;y=D+52|0;n=D+48|0;o=D+44|0;p=D+40|0;C=D+36|0;r=D+32|0;z=D+28|0;q=D+24|0;m=D+20|0;A=D+16|0;v=D+12|0;s=D+8|0;u=D+4|0;t=D;c[x>>2]=a;c[B>>2]=b;c[w>>2]=d;c[y>>2]=e;c[n>>2]=f;c[o>>2]=h;c[p>>2]=i;c[C>>2]=j;c[r>>2]=k;c[z>>2]=c[(c[x>>2]|0)+4>>2];if(c[B>>2]|0){c[m>>2]=c[B>>2];c[q>>2]=c[(c[x>>2]|0)+44>>2];c[A>>2]=c[(c[x>>2]|0)+36>>2]}else{c[m>>2]=1;c[q>>2]=c[(c[x>>2]|0)+44>>2]<>2];c[A>>2]=(c[(c[x>>2]|0)+36>>2]|0)-(c[p>>2]|0)}c[u>>2]=0;do{c[s>>2]=0;while(1){if((c[s>>2]|0)>=(c[m>>2]|0))break;B=N(c[m>>2]|0,c[q>>2]|0)|0;B=(c[w>>2]|0)+((N(c[u>>2]|0,B+(c[z>>2]|0)|0)|0)<<2)|0;B=B+((N(c[s>>2]|0,c[q>>2]|0)|0)<<2)|0;j=N(c[u>>2]|0,c[q>>2]|0)|0;j=(c[y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}while(0);c[V>>2]=c[J>>2];while(1){if((c[V>>2]|0)>=(c[U>>2]|0)){ea=103;break}if((c[V>>2]|0)<8){K=d+(c[V>>2]<<2)|0;g[K>>2]=+g[K>>2]*2.0}if((c[V>>2]|0)>=12)g[d+(c[V>>2]<<2)>>2]=+g[d+(c[V>>2]<<2)>>2]*.5;if(+g[d+(c[V>>2]<<2)>>2]<4.0)w=+g[d+(c[V>>2]<<2)>>2];else w=4.0;g[d+(c[V>>2]<<2)>>2]=w;K=N(c[L>>2]|0,(b[(c[S>>2]|0)+((c[V>>2]|0)+1<<1)>>1]|0)-(b[(c[S>>2]|0)+(c[V>>2]<<1)>>1]|0)|0)|0;c[da>>2]=K<>2];do if((c[da>>2]|0)>=6){w=+g[d+(c[V>>2]<<2)>>2];if((c[da>>2]|0)>48){c[O>>2]=~~(w*8.0);c[P>>2]=((N(c[O>>2]|0,c[da>>2]|0)|0)<<3|0)/8|0;break}else{c[O>>2]=~~(w*+(c[da>>2]|0)/6.0);c[P>>2]=(c[O>>2]|0)*6<<3;break}}else{c[O>>2]=~~+g[d+(c[V>>2]<<2)>>2];c[P>>2]=(N(c[O>>2]|0,c[da>>2]|0)|0)<<3}while(0);if(!(c[ca>>2]|0?(c[R>>2]|0)==0|(c[W>>2]|0)!=0:0))ea=100;if((ea|0)==100?(ea=0,((c[aa>>2]|0)+(c[P>>2]|0)>>3>>3|0)>((c[T>>2]|0)/4|0|0)):0)break;c[(c[Y>>2]|0)+(c[V>>2]<<2)>>2]=c[O>>2];c[aa>>2]=(c[aa>>2]|0)+(c[P>>2]|0);c[V>>2]=(c[V>>2]|0)+1}if((ea|0)==103){da=c[aa>>2]|0;ea=c[ba>>2]|0;c[ea>>2]=da;x=+g[X>>2];ea=c[Z>>2]|0;_(ea|0);l=fa;return +x}c[Q>>2]=((c[T>>2]|0)/4|0)<<3<<3;c[(c[Y>>2]|0)+(c[V>>2]<<2)>>2]=(c[Q>>2]|0)-(c[aa>>2]|0);c[aa>>2]=c[Q>>2];da=c[aa>>2]|0;ea=c[ba>>2]|0;c[ea>>2]=da;x=+g[X>>2];ea=c[Z>>2]|0;_(ea|0);l=fa;return +x}function gb(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0;v=l;l=l+64|0;r=v+48|0;o=v+44|0;i=v+40|0;k=v+36|0;p=v+32|0;u=v+28|0;s=v+24|0;t=v+20|0;q=v+16|0;h=v+12|0;m=v+8|0;j=v+4|0;n=v;c[r>>2]=a;c[o>>2]=d;c[i>>2]=e;c[k>>2]=f;g[s>>2]=1.0000000036274937e-15;g[t>>2]=1.0000000036274937e-15;c[p>>2]=0;while(1){if((c[p>>2]|0)>=13)break;c[q>>2]=b[(c[(c[r>>2]|0)+32>>2]|0)+(c[p>>2]<<1)>>1]<>2];while(1){if((c[q>>2]|0)>=(b[(c[(c[r>>2]|0)+32>>2]|0)+((c[p>>2]|0)+1<<1)>>1]<>2]|0))break;g[h>>2]=+g[(c[o>>2]|0)+(c[q>>2]<<2)>>2];g[m>>2]=+g[(c[o>>2]|0)+((c[k>>2]|0)+(c[q>>2]|0)<<2)>>2];g[j>>2]=+g[h>>2]+ +g[m>>2];g[n>>2]=+g[h>>2]-+g[m>>2];w=+A(+(+g[h>>2]));g[s>>2]=+g[s>>2]+(w+ +A(+(+g[m>>2])));w=+A(+(+g[j>>2]));g[t>>2]=+g[t>>2]+(w+ +A(+(+g[n>>2])));c[q>>2]=(c[q>>2]|0)+1}c[p>>2]=(c[p>>2]|0)+1}g[t>>2]=+g[t>>2]*.7071070075035095;c[u>>2]=13;if((c[i>>2]|0)<=1)c[u>>2]=(c[u>>2]|0)-8;l=v;return +((b[(c[(c[r>>2]|0)+32>>2]|0)+26>>1]<<(c[i>>2]|0)+1)+(c[u>>2]|0)|0)*+g[t>>2]>+(b[(c[(c[r>>2]|0)+32>>2]|0)+26>>1]<<(c[i>>2]|0)+1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>>2]|0)){c[c[D>>2]>>2]=c[E>>2];a[c[z>>2]>>0]=c[A>>2];c[c[w>>2]>>2]=c[x>>2]}c[t>>2]=(c[t>>2]|0)+5;c[A>>2]=(c[A>>2]|0)+1}l=G;return}function Qe(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=l;l=l+32|0;j=i+20|0;f=i+16|0;d=i+12|0;e=i+8|0;g=i+4|0;h=i;c[j>>2]=b;c[h>>2]=c[j>>2];if((a[(c[h>>2]|0)+4565>>0]|0)!=2){l=i;return}c[d>>2]=((c[(c[h>>2]|0)+4600>>2]|0)*1e3<<16|0)/(c[(c[h>>2]|0)+4568>>2]|0)|0;c[e>>2]=(Bf(c[d>>2]|0)|0)-2048;c[f>>2]=c[(c[h>>2]|0)+4728>>2];k=c[e>>2]|0;b=N(0-(c[f>>2]|0)<<2>>16,(c[f>>2]&65535)<<16>>16)|0;b=b+((N(0-(c[f>>2]|0)<<2&65535,(c[f>>2]&65535)<<16>>16)|0)>>16)>>16;d=c[e>>2]|0;d=N(b,(d-((Bf(3932160)|0)-2048)&65535)<<16>>16)|0;b=N(0-(c[f>>2]|0)<<2>>16,(c[f>>2]&65535)<<16>>16)|0;b=b+((N(0-(c[f>>2]|0)<<2&65535,(c[f>>2]&65535)<<16>>16)|0)>>16)&65535;j=c[e>>2]|0;c[e>>2]=k+(d+((N(b,(j-((Bf(3932160)|0)-2048)&65535)<<16>>16)|0)>>16));c[g>>2]=(c[e>>2]|0)-(c[(c[h>>2]|0)+8>>2]>>8);if((c[g>>2]|0)<0)c[g>>2]=(c[g>>2]|0)*3;if((c[g>>2]|0)>51)d=51;else d=(c[g>>2]|0)<-51?-51:c[g>>2]|0;c[g>>2]=d;k=((N((c[(c[h>>2]|0)+4556>>2]&65535)<<16>>16,(c[g>>2]&65535)<<16>>16)|0)>>16)*6554|0;k=(c[(c[h>>2]|0)+8>>2]|0)+(k+(((N((c[(c[h>>2]|0)+4556>>2]&65535)<<16>>16,(c[g>>2]&65535)<<16>>16)|0)&65535)*6554>>16))|0;c[(c[h>>2]|0)+8>>2]=k;k=(Bf(60)|0)<<8;k=(k|0)>((Bf(100)|0)<<8|0);d=c[(c[h>>2]|0)+8>>2]|0;do if(k){if((d|0)>((Bf(60)|0)<<8|0)){d=(Bf(60)|0)<<8;break}k=c[(c[h>>2]|0)+8>>2]|0;if((k|0)<((Bf(100)|0)<<8|0)){d=(Bf(100)|0)<<8;break}else{d=c[(c[h>>2]|0)+8>>2]|0;break}}else{if((d|0)>((Bf(100)|0)<<8|0)){d=(Bf(100)|0)<<8;break}k=c[(c[h>>2]|0)+8>>2]|0;if((k|0)<((Bf(60)|0)<<8|0)){d=(Bf(60)|0)<<8;break}else{d=c[(c[h>>2]|0)+8>>2]|0;break}}while(0);c[(c[h>>2]|0)+8>>2]=d;l=i;return}function Re(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=l;l=l+288|0;n=L+64|0;B=L+60|0;F=L+56|0;C=L+52|0;o=L+48|0;z=L+44|0;K=L+40|0;w=L+36|0;I=L+32|0;y=L+28|0;t=L+24|0;E=L+20|0;u=L+16|0;r=L+12|0;H=L+232|0;G=L+200|0;p=L+168|0;s=L+136|0;q=L+104|0;D=L+264|0;v=L+72|0;A=L+8|0;x=L+4|0;J=L;c[n>>2]=f;c[B>>2]=g;c[F>>2]=h;c[C>>2]=i;c[o>>2]=j;c[z>>2]=k;c[K>>2]=m;Nf(c[B>>2]|0,c[(c[F>>2]|0)+32>>2]|0,b[(c[F>>2]|0)+2>>1]|0);k=e[c[F>>2]>>1]|0;c[J>>2]=$()|0;g=l;l=l+((1*(k<<2)|0)+15&-16)|0;We(g,c[B>>2]|0,c[(c[F>>2]|0)+8>>2]|0,b[c[F>>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>>1]|0,c[o>>2]|0,b[(c[F>>2]|0)+2>>1]|0)|0;c[g+(c[I>>2]<<2)>>2]=f;c[x>>2]=(c[(c[F>>2]|0)+12>>2]|0)+(N(c[K>>2]>>1,b[c[F>>2]>>1]|0)|0);f=c[x>>2]|0;j=c[y>>2]|0;if(!(c[y>>2]|0))c[E>>2]=256-(d[f+j>>0]|0);else c[E>>2]=(d[f+(j-1)>>0]|0)-(d[(c[x>>2]|0)+(c[y>>2]|0)>>0]|0);c[u>>2]=1024-(Bf(c[E>>2]|0)|0);m=(c[g+(c[I>>2]<<2)>>2]|0)+(N((c[u>>2]&65535)<<16>>16,(c[o>>2]>>2&65535)<<16>>16)|0)|0;c[g+(c[I>>2]<<2)>>2]=m;c[I>>2]=(c[I>>2]|0)+1}dg(g,t,c[z>>2]|0,1);a[c[n>>2]>>0]=c[k+(c[t>>2]<<2)>>2];_i((c[n>>2]|0)+1|0,i+(c[t>>2]<<4)|0,b[(c[F>>2]|0)+2>>1]|0)|0;Rd(c[B>>2]|0,c[n>>2]|0,c[F>>2]|0);K=c[g>>2]|0;_(c[J>>2]|0);l=L;return K|0}function Se(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;e=h+16|0;f=h+12|0;g=h+8|0;d=h+4|0;b=h;c[f>>2]=a;if((c[f>>2]|0)<=0){c[e>>2]=0;g=c[e>>2]|0;l=h;return g|0}Te(c[f>>2]|0,d,b);if(c[d>>2]&1|0)c[g>>2]=32768;else c[g>>2]=46214;c[g>>2]=c[g>>2]>>(c[d>>2]>>1);f=N(c[g>>2]>>16,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[g>>2]&65535,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[e>>2]=c[g>>2];g=c[e>>2]|0;l=h;return g|0}function Te(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=Ue(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];b=(Ve(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=b;l=e;return}function Ue(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Ve(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;g=j+20|0;d=j+16|0;h=j+12|0;i=j+8|0;f=j+4|0;e=j;c[d>>2]=a;c[h>>2]=b;c[i>>2]=c[d>>2];c[f>>2]=c[h>>2];c[e>>2]=0-(c[h>>2]|0);if(!(c[h>>2]|0)){c[g>>2]=c[d>>2];i=c[g>>2]|0;l=j;return i|0}a=c[i>>2]|0;if((c[h>>2]|0)<0){c[g>>2]=a<>2]|(c[i>>2]|0)>>>(32-(c[e>>2]|0)|0);i=c[g>>2]|0;l=j;return i|0}else{c[g>>2]=a<<32-(c[f>>2]|0)|(c[i>>2]|0)>>>(c[f>>2]|0);i=c[g>>2]|0;l=j;return i|0}return 0}function We(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+48|0;m=t+36|0;o=t+32|0;q=t+28|0;i=t+24|0;j=t+20|0;n=t+16|0;p=t+12|0;k=t+8|0;s=t+4|0;r=t;c[m>>2]=a;c[o>>2]=e;c[q>>2]=f;c[i>>2]=g;c[j>>2]=h;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[i>>2]|0))break;c[r>>2]=0;c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[j>>2]|0))break;f=b[(c[o>>2]|0)+(c[p>>2]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]|0)+2>>1]|0)-1|0)|0)+1)>>0]|0;a[(c[n>>2]|0)+((c[m>>2]|0)+1)>>0]=q;c[m>>2]=(c[m>>2]|0)+2}l=p;return}function Ye(e,f,g,h,i,j,k,m,n,o){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;aa=l;l=l+448|0;Y=aa+352|0;V=aa+348|0;U=aa+344|0;O=aa+340|0;v=aa+336|0;w=aa+332|0;p=aa+328|0;C=aa+378|0;F=aa+324|0;$=aa+376|0;x=aa+320|0;Z=aa+316|0;G=aa+312|0;X=aa+308|0;A=aa+304|0;z=aa+300|0;y=aa+296|0;T=aa+292|0;L=aa+288|0;u=aa+284|0;H=aa+280|0;J=aa+276|0;Q=aa+272|0;R=aa+268|0;t=aa+264|0;_=aa+260|0;E=aa+256|0;D=aa+252|0;M=aa+248|0;B=aa+232|0;W=aa+384|0;P=aa+360|0;q=aa+200|0;s=aa+184|0;r=aa+168|0;S=aa+160|0;I=aa+80|0;K=aa;c[Y>>2]=e;c[V>>2]=f;c[U>>2]=g;c[O>>2]=h;c[v>>2]=i;c[w>>2]=j;c[p>>2]=k;b[C>>1]=m;c[F>>2]=n;b[$>>1]=o;c[x>>2]=-10;while(1){if((c[x>>2]|0)>9)break;c[H>>2]=c[x>>2]<<10;c[J>>2]=(c[H>>2]|0)+1024;do if((c[x>>2]|0)<=0){if(!(c[x>>2]|0)){c[J>>2]=(c[J>>2]|0)-102;break}f=(c[x>>2]|0)==-1;c[H>>2]=(c[H>>2]|0)+102;if(!f)c[J>>2]=(c[J>>2]|0)+102}else{c[H>>2]=(c[H>>2]|0)-102;c[J>>2]=(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0;do if(((c[X>>2]|0)+1|0)>=4)if((i+1|0)==4){c[Q>>2]=d[(c[S>>2]|0)+((c[X>>2]|0)+4)>>0];c[R>>2]=280;break}else{c[Q>>2]=108+(((c[X>>2]&65535)<<16>>16)*43|0);c[R>>2]=(c[Q>>2]|0)+43;break}else{if((i|0)>-4){c[Q>>2]=d[(c[S>>2]|0)+((c[X>>2]|0)+4)>>0];c[R>>2]=d[(c[S>>2]|0)+((c[X>>2]|0)+1+4)>>0];break}if((c[X>>2]|0)==-4){c[Q>>2]=280;c[R>>2]=d[(c[S>>2]|0)+((c[X>>2]|0)+1+4)>>0];break}else{c[Q>>2]=108+(N(-43,(c[X>>2]&65535)<<16>>16)|0);c[R>>2]=(c[Q>>2]|0)-43;break}}while(0);c[t>>2]=c[q+(c[Z>>2]<<2)>>2];c[u>>2]=(c[y>>2]|0)-(c[H>>2]|0);f=N((c[u>>2]&65535)<<16>>16,(c[u>>2]&65535)<<16>>16)|0;f=(c[t>>2]|0)+(N(f,b[(c[U>>2]|0)+(c[x>>2]<<1)>>1]|0)|0)|0;f=f+(N((c[F>>2]&65535)<<16>>16,(c[Q>>2]&65535)<<16>>16)|0)|0;c[q+(c[Z>>2]<<2)>>2]=f;c[u>>2]=(c[y>>2]|0)-(c[J>>2]|0);f=N((c[u>>2]&65535)<<16>>16,(c[u>>2]&65535)<<16>>16)|0;f=(c[t>>2]|0)+(N(f,b[(c[U>>2]|0)+(c[x>>2]<<1)>>1]|0)|0)|0;f=f+(N((c[F>>2]&65535)<<16>>16,(c[R>>2]&65535)<<16>>16)|0)|0;c[q+((c[Z>>2]|0)+(c[G>>2]|0)<<2)>>2]=f;c[Z>>2]=(c[Z>>2]|0)+1}b:do if((c[G>>2]|0)<=2){c[Z>>2]=0;while(1){if((c[Z>>2]|0)>=(c[G>>2]|0))break;a[W+((c[Z>>2]|0)+(c[G>>2]|0)<<4)+(c[x>>2]|0)>>0]=(a[W+(c[Z>>2]<<4)+(c[x>>2]|0)>>0]|0)+1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|0;m=t;n=t+96|0;p=t+64|0;o=t+32|0;c[s>>2]=d;c[i>>2]=e;c[q>>2]=f;c[r>>2]=g;d=N(-5,(c[(c[s>>2]|0)+4556>>2]&65535)<<16>>16)|0;c[h>>2]=3146+(d+(((c[(c[s>>2]|0)+4556>>2]&65535)<<16>>16)*59246>>16));if((c[(c[s>>2]|0)+4604>>2]|0)==2)c[h>>2]=(c[h>>2]|0)+(c[h>>2]>>1);Qf(p,c[q>>2]|0,c[(c[s>>2]|0)+4664>>2]|0);if((c[(c[s>>2]|0)+4656>>2]|0)==1)e=(a[(c[s>>2]|0)+4768+31>>0]|0)<4;else e=0;c[j>>2]=e&1;a:do if(c[j>>2]|0){Od(n,c[r>>2]|0,c[q>>2]|0,a[(c[s>>2]|0)+4768+31>>0]|0,c[(c[s>>2]|0)+4664>>2]|0);Qf(o,n,c[(c[s>>2]|0)+4664>>2]|0);c[m>>2]=(N(a[(c[s>>2]|0)+4768+31>>0]<<16>>16,a[(c[s>>2]|0)+4768+31>>0]<<16>>16)|0)<<11;c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[(c[s>>2]|0)+4664>>2]|0))break a;d=N(b[o+(c[k>>2]<<1)>>1]>>16,(c[m>>2]&65535)<<16>>16)|0;d=(b[p+(c[k>>2]<<1)>>1]>>1)+(d+((N(b[o+(c[k>>2]<<1)>>1]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16))&65535;b[p+(c[k>>2]<<1)>>1]=d;c[k>>2]=(c[k>>2]|0)+1}}while(0);Re((c[s>>2]|0)+4768+8|0,c[q>>2]|0,c[(c[s>>2]|0)+4724>>2]|0,p,c[h>>2]|0,c[(c[s>>2]|0)+4692>>2]|0,a[(c[s>>2]|0)+4768+29>>0]|0)|0;Lf((c[i>>2]|0)+32|0,c[q>>2]|0,c[(c[s>>2]|0)+4664>>2]|0);if(c[j>>2]|0){Od(n,c[r>>2]|0,c[q>>2]|0,a[(c[s>>2]|0)+4768+31>>0]|0,c[(c[s>>2]|0)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>>2]|0)+2<<1)>>1]|0)+(b[i+((c[L>>2]|0)+1<<1)>>1]<<1)>>1)+1>>1;b[g+(c[L>>2]<<1)>>1]=c[S>>2];b[h+(c[L>>2]<<1)>>1]=(b[i+((c[L>>2]|0)+1<<1)>>1]|0)-(c[S>>2]|0);c[L>>2]=(c[L>>2]|0)+1}c[u>>2]=(c[J>>2]|0)==((c[I>>2]|0)*10|0)&1;c[C>>2]=c[u>>2]|0?328:655;q=(N((c[v>>2]&65535)<<16>>16,(c[v>>2]&65535)<<16>>16)|0)>>16;q=N(q,(c[C>>2]&65535)<<16>>16)|0;v=(N((c[v>>2]&65535)<<16>>16,(c[v>>2]&65535)<<16>>16)|0)&65535;c[C>>2]=q+((N(v,(c[C>>2]&65535)<<16>>16)|0)>>16);c[P>>2]=kg(s,o,g,(c[R>>2]|0)+12|0,c[J>>2]|0,c[C>>2]|0)|0;c[P+4>>2]=kg(r,n,h,(c[R>>2]|0)+12+8|0,c[J>>2]|0,c[C>>2]|0)|0;c[x>>2]=(c[r>>2]|0)+(((c[s>>2]&65535)<<16>>16)*3|0);c[x>>2]=(c[x>>2]|0)<65536?c[x>>2]|0:65536;v=(c[E>>2]|0)-(c[u>>2]|0?1200:600)|0;c[E>>2]=v;c[E>>2]=(c[E>>2]|0)<1?1:v;c[B>>2]=2e3+(((c[I>>2]&65535)<<16>>16)*900|0);c[t>>2]=(c[x>>2]|0)*3;v=$e(c[E>>2]|0,851968+(c[t>>2]|0)|0,19)|0;c[c[A>>2]>>2]=v;if((c[c[A>>2]>>2]|0)<(c[B>>2]|0)){c[c[A>>2]>>2]=c[B>>2];c[(c[A>>2]|0)+4>>2]=(c[E>>2]|0)-(c[c[A>>2]>>2]|0);v=N(65536+(c[t>>2]|0)>>16,(c[B>>2]&65535)<<16>>16)|0;c[U>>2]=$e((c[(c[A>>2]|0)+4>>2]<<1)-(c[B>>2]|0)|0,v+((N(65536+(c[t>>2]|0)&65535,(c[B>>2]&65535)<<16>>16)|0)>>16)|0,16)|0;if((c[U>>2]|0)>16384)o=16384;else o=(c[U>>2]|0)<0?0:c[U>>2]|0;c[U>>2]=o}else{c[(c[A>>2]|0)+4>>2]=(c[E>>2]|0)-(c[c[A>>2]>>2]|0);c[U>>2]=16384}v=N((c[U>>2]|0)-(b[(c[R>>2]|0)+28>>1]|0)>>16,(c[C>>2]&65535)<<16>>16)|0;C=(b[(c[R>>2]|0)+28>>1]|0)+(v+((N((c[U>>2]|0)-(b[(c[R>>2]|0)+28>>1]|0)&65535,(c[C>>2]&65535)<<16>>16)|0)>>16))&65535;b[(c[R>>2]|0)+28>>1]=C;a[c[z>>2]>>0]=0;a:do if(!(c[D>>2]|0)){do if(!(b[(c[R>>2]|0)+30>>1]|0)){if((c[E>>2]<<3|0)>=((c[B>>2]|0)*13|0)?(D=N(c[x>>2]>>16,b[(c[R>>2]|0)+28>>1]|0)|0,(D+((N(c[x>>2]&65535,b[(c[R>>2]|0)+28>>1]|0)|0)>>16)|0)>=819):0)break;c[P>>2]=(N(b[(c[R>>2]|0)+28>>1]|0,(c[P>>2]&65535)<<16>>16)|0)>>14;c[P+4>>2]=(N(b[(c[R>>2]|0)+28>>1]|0,(c[P+4>>2]&65535)<<16>>16)|0)>>14;rg(P,c[y>>2]|0);c[U>>2]=0;c[P>>2]=0;c[P+4>>2]=0;c[c[A>>2]>>2]=c[E>>2];c[(c[A>>2]|0)+4>>2]=0;a[c[z>>2]>>0]=1;break a}while(0);do if(b[(c[R>>2]|0)+30>>1]|0){if((c[E>>2]<<3|0)>=((c[B>>2]|0)*11|0)?(D=N(c[x>>2]>>16,b[(c[R>>2]|0)+28>>1]|0)|0,(D+((N(c[x>>2]&65535,b[(c[R>>2]|0)+28>>1]|0)|0)>>16)|0)>=328):0)break;c[P>>2]=(N(b[(c[R>>2]|0)+28>>1]|0,(c[P>>2]&65535)<<16>>16)|0)>>14;c[P+4>>2]=(N(b[(c[R>>2]|0)+28>>1]|0,(c[P+4>>2]&65535)<<16>>16)|0)>>14;rg(P,c[y>>2]|0);c[U>>2]=0;c[P>>2]=0;c[P+4>>2]=0;break a}while(0);if((b[(c[R>>2]|0)+28>>1]|0)>15565){rg(P,c[y>>2]|0);c[U>>2]=16384;break}else{c[P>>2]=(N(b[(c[R>>2]|0)+28>>1]|0,(c[P>>2]&65535)<<16>>16)|0)>>14;c[P+4>>2]=(N(b[(c[R>>2]|0)+28>>1]|0,(c[P+4>>2]&65535)<<16>>16)|0)>>14;rg(P,c[y>>2]|0);c[U>>2]=b[(c[R>>2]|0)+28>>1];break}}else{c[U>>2]=0;c[P>>2]=0;c[P+4>>2]=0;rg(P,c[y>>2]|0)}while(0);do if((a[c[z>>2]>>0]|0)==1){D=(c[R>>2]|0)+32|0;b[D>>1]=(b[D>>1]|0)+((c[J>>2]|0)-(c[I>>2]<<3));if((b[(c[R>>2]|0)+32>>1]|0)<((c[I>>2]|0)*5|0)){a[c[z>>2]>>0]=0;break}else{b[(c[R>>2]|0)+32>>1]=1e4;break}}else b[(c[R>>2]|0)+32>>1]=0;while(0);if((a[c[z>>2]>>0]|0)==0?(c[(c[A>>2]|0)+4>>2]|0)<1:0){c[(c[A>>2]|0)+4>>2]=1;E=af(1,(c[E>>2]|0)-(c[(c[A>>2]|0)+4>>2]|0)|0)|0;c[c[A>>2]>>2]=E}c[M>>2]=0-(b[c[R>>2]>>1]|0);c[O>>2]=0-(b[(c[R>>2]|0)+2>>1]|0);c[T>>2]=b[(c[R>>2]|0)+30>>1]<<10;c[w>>2]=65536/(c[I>>2]<<3|0)|0;c[F>>2]=0-(((N(((c[P>>2]|0)-(b[c[R>>2]>>1]|0)&65535)<<16>>16,(c[w>>2]&65535)<<16>>16)|0)>>15)+1>>1);c[G>>2]=0-(((N(((c[P+4>>2]|0)-(b[(c[R>>2]|0)+2>>1]|0)&65535)<<16>>16,(c[w>>2]&65535)<<16>>16)|0)>>15)+1>>1);E=N((c[U>>2]|0)-(b[(c[R>>2]|0)+30>>1]|0)>>16,(c[w>>2]&65535)<<16>>16)|0;c[H>>2]=E+((N((c[U>>2]|0)-(b[(c[R>>2]|0)+30>>1]|0)&65535,(c[w>>2]&65535)<<16>>16)|0)>>16)<<10;c[L>>2]=0;while(1){if((c[L>>2]|0)>=(c[I>>2]<<3|0))break;c[M>>2]=(c[M>>2]|0)+(c[F>>2]|0);c[O>>2]=(c[O>>2]|0)+(c[G>>2]|0);c[T>>2]=(c[T>>2]|0)+(c[H>>2]|0);c[S>>2]=(b[(c[K>>2]|0)+(c[L>>2]<<1)>>1]|0)+(b[(c[K>>2]|0)+((c[L>>2]|0)+2<<1)>>1]|0)+(b[(c[K>>2]|0)+((c[L>>2]|0)+1<<1)>>1]<<1)<<9;D=N(c[T>>2]>>16,b[i+((c[L>>2]|0)+1<<1)>>1]|0)|0;D=D+((N(c[T>>2]&65535,b[i+((c[L>>2]|0)+1<<1)>>1]|0)|0)>>16)|0;E=N(c[S>>2]>>16,(c[M>>2]&65535)<<16>>16)|0;c[S>>2]=D+(E+((N(c[S>>2]&65535,(c[M>>2]&65535)<<16>>16)|0)>>16));E=N(b[(c[K>>2]|0)+((c[L>>2]|0)+1<<1)>>1]<<11>>16,(c[O>>2]&65535)<<16>>16)|0;c[S>>2]=(c[S>>2]|0)+(E+((N(b[(c[K>>2]|0)+((c[L>>2]|0)+1<<1)>>1]<<11&65535,(c[O>>2]&65535)<<16>>16)|0)>>16));if(((c[S>>2]>>7)+1>>1|0)<=32767)if(((c[S>>2]>>7)+1>>1|0)<-32768)o=-32768;else o=(c[S>>2]>>7)+1>>1;else o=32767;b[(c[V>>2]|0)+((c[L>>2]|0)-1<<1)>>1]=o;c[L>>2]=(c[L>>2]|0)+1}c[M>>2]=0-(c[P>>2]|0);c[O>>2]=0-(c[P+4>>2]|0);c[T>>2]=c[U>>2]<<10;c[L>>2]=c[I>>2]<<3;while(1){if((c[L>>2]|0)>=(c[J>>2]|0))break;c[S>>2]=(b[(c[K>>2]|0)+(c[L>>2]<<1)>>1]|0)+(b[(c[K>>2]|0)+((c[L>>2]|0)+2<<1)>>1]|0)+(b[(c[K>>2]|0)+((c[L>>2]|0)+1<<1)>>1]<<1)<<9;H=N(c[T>>2]>>16,b[i+((c[L>>2]|0)+1<<1)>>1]|0)|0;H=H+((N(c[T>>2]&65535,b[i+((c[L>>2]|0)+1<<1)>>1]|0)|0)>>16)|0;I=N(c[S>>2]>>16,(c[M>>2]&65535)<<16>>16)|0;c[S>>2]=H+(I+((N(c[S>>2]&65535,(c[M>>2]&65535)<<16>>16)|0)>>16));I=N(b[(c[K>>2]|0)+((c[L>>2]|0)+1<<1)>>1]<<11>>16,(c[O>>2]&65535)<<16>>16)|0;c[S>>2]=(c[S>>2]|0)+(I+((N(b[(c[K>>2]|0)+((c[L>>2]|0)+1<<1)>>1]<<11&65535,(c[O>>2]&65535)<<16>>16)|0)>>16));if(((c[S>>2]>>7)+1>>1|0)<=32767)if(((c[S>>2]>>7)+1>>1|0)<-32768)o=-32768;else o=(c[S>>2]>>7)+1>>1;else o=32767;b[(c[V>>2]|0)+((c[L>>2]|0)-1<<1)>>1]=o;c[L>>2]=(c[L>>2]|0)+1}b[c[R>>2]>>1]=c[P>>2];b[(c[R>>2]|0)+2>>1]=c[P+4>>2];b[(c[R>>2]|0)+30>>1]=c[U>>2];_(c[Q>>2]|0);l=W;return}function $e(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+48|0;g=h+40|0;q=h+36|0;p=h+32|0;i=h+28|0;k=h+24|0;j=h+20|0;f=h+16|0;m=h+12|0;n=h+8|0;o=h+4|0;e=h;c[q>>2]=a;c[p>>2]=b;c[i>>2]=d;b=c[q>>2]|0;c[k>>2]=(bf((c[q>>2]|0)>0?b:0-b|0)|0)-1;c[n>>2]=c[q>>2]<>2];b=c[p>>2]|0;c[j>>2]=(bf((c[p>>2]|0)>0?b:0-b|0)|0)-1;c[o>>2]=c[p>>2]<>2];c[m>>2]=536870911/(c[o>>2]>>16|0)|0;b=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=b+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16);b=c[n>>2]|0;a=c[o>>2]|0;d=c[e>>2]|0;d=Xi(a|0,((a|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;d=Yi(d|0,y|0,32)|0;c[n>>2]=b-(d<<3);d=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(d+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));c[f>>2]=29+(c[k>>2]|0)-(c[j>>2]|0)-(c[i>>2]|0);d=c[f>>2]|0;if((c[f>>2]|0)>=0)if((d|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];q=c[g>>2]|0;l=h;return q|0}else{c[g>>2]=0;q=c[g>>2]|0;l=h;return q|0}a=c[e>>2]|0;b=0-(c[f>>2]|0)|0;do if((-2147483648>>0-d|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>b|0)){d=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){d=2147483647>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>b|0)){d=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){d=-2147483648>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}while(0);c[g>>2]=d<<0-(c[f>>2]|0);q=c[g>>2]|0;l=h;return q|0}function af(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function bf(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(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|0)+(c[j>>2]|0);c[t>>2]=(b[(c[u>>2]|0)+(c[s>>2]<<1)>>1]|0)+(b[(c[u>>2]|0)+((c[s>>2]|0)+2<<1)>>1]|0)+(b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]<<1)<<9;x=N(c[t>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[t>>2]=(b[(c[v>>2]|0)+((c[s>>2]|0)+1<<1)>>1]<<8)+(x+((N(c[t>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));x=N(b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]<<11>>16,(c[n>>2]&65535)<<16>>16)|0;c[t>>2]=(c[t>>2]|0)+(x+((N(b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]<<11&65535,(c[n>>2]&65535)<<16>>16)|0)>>16));if(((c[t>>2]>>7)+1>>1|0)<=32767)if(((c[t>>2]>>7)+1>>1|0)<-32768)h=-32768;else h=(c[t>>2]>>7)+1>>1;else h=32767;b[(c[v>>2]|0)+((c[s>>2]|0)+1<<1)>>1]=h;c[s>>2]=(c[s>>2]|0)+1}c[m>>2]=c[c[o>>2]>>2];c[n>>2]=c[(c[o>>2]|0)+4>>2];c[s>>2]=c[k>>2]<<3;while(1){if((c[s>>2]|0)>=(c[r>>2]|0))break;c[t>>2]=(b[(c[u>>2]|0)+(c[s>>2]<<1)>>1]|0)+(b[(c[u>>2]|0)+((c[s>>2]|0)+2<<1)>>1]|0)+(b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]<<1)<<9;x=N(c[t>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[t>>2]=(b[(c[v>>2]|0)+((c[s>>2]|0)+1<<1)>>1]<<8)+(x+((N(c[t>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));x=N(b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]<<11>>16,(c[n>>2]&65535)<<16>>16)|0;c[t>>2]=(c[t>>2]|0)+(x+((N(b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]<<11&65535,(c[n>>2]&65535)<<16>>16)|0)>>16));if(((c[t>>2]>>7)+1>>1|0)<=32767)if(((c[t>>2]>>7)+1>>1|0)<-32768)h=-32768;else h=(c[t>>2]>>7)+1>>1;else h=32767;b[(c[v>>2]|0)+((c[s>>2]|0)+1<<1)>>1]=h;c[s>>2]=(c[s>>2]|0)+1}b[c[p>>2]>>1]=c[c[o>>2]>>2];b[(c[p>>2]|0)+2>>1]=c[(c[o>>2]|0)+4>>2];c[s>>2]=0;while(1){if((c[s>>2]|0)>=(c[r>>2]|0))break;c[t>>2]=(b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]|0)+(b[(c[v>>2]|0)+((c[s>>2]|0)+1<<1)>>1]|0);c[q>>2]=(b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]|0)-(b[(c[v>>2]|0)+((c[s>>2]|0)+1<<1)>>1]|0);if((c[t>>2]|0)>32767)h=32767;else h=(c[t>>2]|0)<-32768?-32768:c[t>>2]|0;b[(c[u>>2]|0)+((c[s>>2]|0)+1<<1)>>1]=h;if((c[q>>2]|0)>32767)h=32767;else h=(c[q>>2]|0)<-32768?-32768:c[q>>2]|0;b[(c[v>>2]|0)+((c[s>>2]|0)+1<<1)>>1]=h;c[s>>2]=(c[s>>2]|0)+1}l=w;return}function df(a){a=a|0;var b=0,d=0,e=0,f=0;f=l;l=l+16|0;d=f+4|0;b=f;c[b>>2]=a;if(!(((((((c[(c[b>>2]|0)+8>>2]|0)!=8e3?(c[(c[b>>2]|0)+8>>2]|0)!=12e3:0)?(c[(c[b>>2]|0)+8>>2]|0)!=16e3:0)?(c[(c[b>>2]|0)+8>>2]|0)!=24e3:0)?(c[(c[b>>2]|0)+8>>2]|0)!=32e3:0)?(c[(c[b>>2]|0)+8>>2]|0)!=44100:0)?(c[(c[b>>2]|0)+8>>2]|0)!=48e3:0))e=8;do if((e|0)==8){if(((c[(c[b>>2]|0)+20>>2]|0)!=8e3?(c[(c[b>>2]|0)+20>>2]|0)!=12e3:0)?(c[(c[b>>2]|0)+20>>2]|0)!=16e3:0)break;if(((c[(c[b>>2]|0)+12>>2]|0)!=8e3?(c[(c[b>>2]|0)+12>>2]|0)!=12e3:0)?(c[(c[b>>2]|0)+12>>2]|0)!=16e3:0)break;if(((c[(c[b>>2]|0)+16>>2]|0)!=8e3?(c[(c[b>>2]|0)+16>>2]|0)!=12e3:0)?(c[(c[b>>2]|0)+16>>2]|0)!=16e3:0)break;if(((c[(c[b>>2]|0)+16>>2]|0)<=(c[(c[b>>2]|0)+20>>2]|0)?(c[(c[b>>2]|0)+12>>2]|0)>=(c[(c[b>>2]|0)+20>>2]|0):0)?(c[(c[b>>2]|0)+16>>2]|0)<=(c[(c[b>>2]|0)+12>>2]|0):0){if((((c[(c[b>>2]|0)+24>>2]|0)!=10?(c[(c[b>>2]|0)+24>>2]|0)!=20:0)?(c[(c[b>>2]|0)+24>>2]|0)!=40:0)?(c[(c[b>>2]|0)+24>>2]|0)!=60:0){c[d>>2]=-103;e=c[d>>2]|0;l=f;return e|0}if((c[(c[b>>2]|0)+32>>2]|0)>=0?(c[(c[b>>2]|0)+32>>2]|0)<=100:0){if((c[(c[b>>2]|0)+44>>2]|0)>=0?(c[(c[b>>2]|0)+44>>2]|0)<=1:0){if((c[(c[b>>2]|0)+48>>2]|0)>=0?(c[(c[b>>2]|0)+48>>2]|0)<=1:0){do if((c[(c[b>>2]|0)+40>>2]|0)>=0){if((c[(c[b>>2]|0)+40>>2]|0)>1)break;do if((c[c[b>>2]>>2]|0)>=1){if((c[c[b>>2]>>2]|0)>2)break;do if((c[(c[b>>2]|0)+4>>2]|0)>=1){if((c[(c[b>>2]|0)+4>>2]|0)>2)break;if((c[(c[b>>2]|0)+4>>2]|0)>(c[c[b>>2]>>2]|0)){c[d>>2]=-111;e=c[d>>2]|0;l=f;return e|0}do if((c[(c[b>>2]|0)+36>>2]|0)>=0){if((c[(c[b>>2]|0)+36>>2]|0)>10)break;c[d>>2]=0;e=c[d>>2]|0;l=f;return e|0}while(0);c[d>>2]=-106;e=c[d>>2]|0;l=f;return e|0}while(0);c[d>>2]=-111;e=c[d>>2]|0;l=f;return e|0}while(0);c[d>>2]=-111;e=c[d>>2]|0;l=f;return e|0}while(0);c[d>>2]=-107;e=c[d>>2]|0;l=f;return e|0}c[d>>2]=-109;e=c[d>>2]|0;l=f;return e|0}c[d>>2]=-108;e=c[d>>2]|0;l=f;return e|0}c[d>>2]=-105;e=c[d>>2]|0;l=f;return e|0}}while(0);c[d>>2]=-102;e=c[d>>2]|0;l=f;return e|0}function ef(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;h=m+20|0;e=m+16|0;g=m+12|0;j=m+8|0;f=m+4|0;i=m;c[h>>2]=a;c[e>>2]=d;c[j>>2]=0;if((c[e>>2]|0)>8e4)d=8e4;else d=(c[e>>2]|0)<5e3?5e3:c[e>>2]|0;c[e>>2]=d;if((c[e>>2]|0)==(c[(c[h>>2]|0)+4632>>2]|0)){k=c[j>>2]|0;l=m;return k|0}c[(c[h>>2]|0)+4632>>2]=c[e>>2];do if((c[(c[h>>2]|0)+4600>>2]|0)!=8)if((c[(c[h>>2]|0)+4600>>2]|0)==12){c[i>>2]=17772;break}else{c[i>>2]=17804;break}else c[i>>2]=17740;while(0);if((c[(c[h>>2]|0)+4604>>2]|0)==2)c[e>>2]=(c[e>>2]|0)-2200;c[g>>2]=1;while(1){if((c[g>>2]|0)>=8){k=16;break}if((c[e>>2]|0)<=(c[(c[i>>2]|0)+(c[g>>2]<<2)>>2]|0))break;c[g>>2]=(c[g>>2]|0)+1}if((k|0)==16){k=c[j>>2]|0;l=m;return k|0}c[f>>2]=((c[e>>2]|0)-(c[(c[i>>2]|0)+((c[g>>2]|0)-1<<2)>>2]|0)<<6|0)/((c[(c[i>>2]|0)+(c[g>>2]<<2)>>2]|0)-(c[(c[i>>2]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2]|0;l=n;return m|0}return 0}function jf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=l;l=l+16|0;h=j+12|0;g=j+8|0;f=j+4|0;i=j;c[h>>2]=b;c[g>>2]=d;c[f>>2]=e;c[i>>2]=0;if((c[f>>2]|0)!=(c[(c[h>>2]|0)+4636>>2]|0)){if((c[f>>2]|0)!=10&(c[f>>2]|0)!=20&(c[f>>2]|0)!=40&(c[f>>2]|0)!=60)c[i>>2]=-103;if((c[f>>2]|0)<=10){c[(c[h>>2]|0)+5776>>2]=1;c[(c[h>>2]|0)+4604>>2]=(c[f>>2]|0)==10?2:1;e=N((c[f>>2]&65535)<<16>>16,(c[g>>2]&65535)<<16>>16)|0;c[(c[h>>2]|0)+4608>>2]=e;c[(c[h>>2]|0)+4572>>2]=((c[g>>2]&65535)<<16>>16)*14;e=(c[(c[h>>2]|0)+4600>>2]|0)==8?29170:29158;d=(c[h>>2]|0)+4720|0}else{c[(c[h>>2]|0)+5776>>2]=(c[f>>2]|0)/20|0;c[(c[h>>2]|0)+4604>>2]=4;c[(c[h>>2]|0)+4608>>2]=((c[g>>2]&65535)<<16>>16)*20;c[(c[h>>2]|0)+4572>>2]=((c[g>>2]&65535)<<16>>16)*24;e=(c[(c[h>>2]|0)+4600>>2]|0)==8?29147:29113;d=(c[h>>2]|0)+4720|0}c[d>>2]=e;c[(c[h>>2]|0)+4636>>2]=c[f>>2];c[(c[h>>2]|0)+4632>>2]=0}if((c[(c[h>>2]|0)+4600>>2]|0)==(c[g>>2]|0)){i=c[i>>2]|0;l=j;return i|0}f=(c[h>>2]|0)+7200|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;aj((c[h>>2]|0)+7216|0,0,2140)|0;aj((c[h>>2]|0)+144|0,0,4380)|0;f=(c[h>>2]|0)+4524|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;f=(c[h>>2]|0)+16|0;c[f>>2]=0;c[f+4>>2]=0;c[(c[h>>2]|0)+5772>>2]=0;c[(c[h>>2]|0)+5780>>2]=0;c[(c[h>>2]|0)+4632>>2]=0;c[(c[h>>2]|0)+4568>>2]=100;c[(c[h>>2]|0)+4696>>2]=1;c[(c[h>>2]|0)+7216+2136>>2]=100;a[(c[h>>2]|0)+7200>>0]=10;c[(c[h>>2]|0)+144+4356>>2]=100;c[(c[h>>2]|0)+144+4372>>2]=65536;a[(c[h>>2]|0)+4565>>0]=0;c[(c[h>>2]|0)+4600>>2]=c[g>>2];f=(c[(c[h>>2]|0)+4604>>2]|0)==4;c[(c[h>>2]|0)+4720>>2]=(c[(c[h>>2]|0)+4600>>2]|0)==8?(f?29147:29170):f?29113:29158;if((c[(c[h>>2]|0)+4600>>2]|0)!=8?(c[(c[h>>2]|0)+4600>>2]|0)!=12:0){c[(c[h>>2]|0)+4664>>2]=16;e=c[h>>2]|0;d=17704}else{c[(c[h>>2]|0)+4664>>2]=10;e=c[h>>2]|0;d=17668}c[e+4724>>2]=d;c[(c[h>>2]|0)+4612>>2]=(c[g>>2]|0)*5;e=N((c[(c[h>>2]|0)+4612>>2]&65535)<<16>>16,(c[(c[h>>2]|0)+4604>>2]&65535)<<16>>16)|0;c[(c[h>>2]|0)+4608>>2]=e;c[(c[h>>2]|0)+4616>>2]=((c[g>>2]&65535)<<16>>16)*20;c[(c[h>>2]|0)+4620>>2]=(c[g>>2]&65535)<<16>>16<<1;c[(c[h>>2]|0)+4576>>2]=((c[g>>2]&65535)<<16>>16)*18;e=(c[(c[h>>2]|0)+4604>>2]|0)==4;g=(c[g>>2]&65535)<<16>>16;c[(e?c[h>>2]|0:c[h>>2]|0)+4572>>2]=e?g*24|0:g*14|0;e=c[h>>2]|0;do if((c[(c[h>>2]|0)+4600>>2]|0)!=16){d=(c[h>>2]|0)+4684|0;if((c[e+4600>>2]|0)==12){c[d>>2]=13;d=29039;e=c[h>>2]|0;break}else{c[d>>2]=15;d=29030;e=c[h>>2]|0;break}}else{c[e+4684>>2]=10;d=29045;e=c[h>>2]|0}while(0);c[e+4716>>2]=d;i=c[i>>2]|0;l=j;return i|0}function kf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+16|0;e=g+8|0;d=g+4|0;f=g;c[e>>2]=a;c[d>>2]=b;c[f>>2]=0;do if((c[d>>2]|0)>=2){if((c[d>>2]|0)<4){c[(c[e>>2]|0)+4668>>2]=1;c[(c[e>>2]|0)+4676>>2]=49807;c[(c[e>>2]|0)+4672>>2]=8;c[(c[e>>2]|0)+4660>>2]=10;c[(c[e>>2]|0)+4624>>2]=(c[(c[e>>2]|0)+4600>>2]|0)*5;c[(c[e>>2]|0)+4652>>2]=1;c[(c[e>>2]|0)+4656>>2]=0;c[(c[e>>2]|0)+4680>>2]=0;c[(c[e>>2]|0)+4692>>2]=4;b=c[e>>2]|0;a=0;break}if((c[d>>2]|0)<6){c[(c[e>>2]|0)+4668>>2]=1;c[(c[e>>2]|0)+4676>>2]=48497;c[(c[e>>2]|0)+4672>>2]=10;c[(c[e>>2]|0)+4660>>2]=12;c[(c[e>>2]|0)+4624>>2]=(c[(c[e>>2]|0)+4600>>2]|0)*5;c[(c[e>>2]|0)+4652>>2]=2;c[(c[e>>2]|0)+4656>>2]=1;c[(c[e>>2]|0)+4680>>2]=0;c[(c[e>>2]|0)+4692>>2]=8;b=c[e>>2]|0;a=(c[(c[e>>2]|0)+4600>>2]|0)*983|0;break}b=(c[e>>2]|0)+4668|0;if((c[d>>2]|0)<8){c[b>>2]=1;c[(c[e>>2]|0)+4676>>2]=47186;c[(c[e>>2]|0)+4672>>2]=12;c[(c[e>>2]|0)+4660>>2]=14;c[(c[e>>2]|0)+4624>>2]=(c[(c[e>>2]|0)+4600>>2]|0)*5;c[(c[e>>2]|0)+4652>>2]=3;c[(c[e>>2]|0)+4656>>2]=1;c[(c[e>>2]|0)+4680>>2]=0;c[(c[e>>2]|0)+4692>>2]=16;b=c[e>>2]|0;a=(c[(c[e>>2]|0)+4600>>2]|0)*983|0;break}else{c[b>>2]=2;c[(c[e>>2]|0)+4676>>2]=45875;c[(c[e>>2]|0)+4672>>2]=16;c[(c[e>>2]|0)+4660>>2]=16;c[(c[e>>2]|0)+4624>>2]=(c[(c[e>>2]|0)+4600>>2]|0)*5;c[(c[e>>2]|0)+4652>>2]=4;c[(c[e>>2]|0)+4656>>2]=1;c[(c[e>>2]|0)+4680>>2]=0;c[(c[e>>2]|0)+4692>>2]=32;b=c[e>>2]|0;a=(c[(c[e>>2]|0)+4600>>2]|0)*983|0;break}}else{c[(c[e>>2]|0)+4668>>2]=0;c[(c[e>>2]|0)+4676>>2]=52429;c[(c[e>>2]|0)+4672>>2]=6;c[(c[e>>2]|0)+4660>>2]=8;c[(c[e>>2]|0)+4624>>2]=(c[(c[e>>2]|0)+4600>>2]|0)*3;c[(c[e>>2]|0)+4652>>2]=1;c[(c[e>>2]|0)+4656>>2]=0;c[(c[e>>2]|0)+4680>>2]=1;c[(c[e>>2]|0)+4692>>2]=2;b=c[e>>2]|0;a=0}while(0);c[b+4704>>2]=a;a=nf(c[(c[e>>2]|0)+4672>>2]|0,c[(c[e>>2]|0)+4664>>2]|0)|0;c[(c[e>>2]|0)+4672>>2]=a;c[(c[e>>2]|0)+4628>>2]=((c[(c[e>>2]|0)+4600>>2]|0)*5|0)+(c[(c[e>>2]|0)+4624>>2]<<1);c[(c[e>>2]|0)+4648>>2]=c[d>>2];l=g;return c[f>>2]|0}function lf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=l;l=l+32|0;g=i+16|0;e=i+12|0;f=i+8|0;h=i+4|0;d=i;c[g>>2]=a;c[e>>2]=b;c[h>>2]=0;c[f>>2]=c[(c[g>>2]|0)+6124>>2];c[(c[g>>2]|0)+6124>>2]=0;if(!(c[(c[g>>2]|0)+6120>>2]|0)){h=c[h>>2]|0;l=i;return h|0}if((c[(c[g>>2]|0)+4640>>2]|0)<=0){h=c[h>>2]|0;l=i;return h|0}do if((c[(c[g>>2]|0)+4600>>2]|0)!=8)if((c[(c[g>>2]|0)+4600>>2]|0)==12){c[d>>2]=14e3;break}else{c[d>>2]=16e3;break}else c[d>>2]=12e3;while(0);if((c[(c[g>>2]|0)+4640>>2]|0)<25)b=c[(c[g>>2]|0)+4640>>2]|0;else b=25;a=((N(c[d>>2]|0,125-b|0)|0)>>16)*655|0;if((c[(c[g>>2]|0)+4640>>2]|0)<25)b=c[(c[g>>2]|0)+4640>>2]|0;else b=25;c[d>>2]=a+(((N(c[d>>2]|0,125-b|0)|0)&65535)*655>>16);if((c[e>>2]|0)<=(c[d>>2]|0)){h=c[h>>2]|0;l=i;return h|0}b=c[g>>2]|0;if(!(c[f>>2]|0))a=7;else{a=mf(7-(((c[b+4640>>2]>>16)*26214|0)+((c[(c[g>>2]|0)+4640>>2]&65535)*26214>>16))|0,2)|0;b=c[g>>2]|0}c[b+6128>>2]=a;c[(c[g>>2]|0)+6124>>2]=1;h=c[h>>2]|0;l=i;return h|0}function mf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function nf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function of(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;i=j+12|0;f=j+8|0;k=j+4|0;h=j;c[i>>2]=a;c[f>>2]=d;c[k>>2]=e;c[h>>2]=(c[k>>2]|0)-1;while(1){if((c[h>>2]|0)<0)break;if((Ui(+g[(c[f>>2]|0)+(c[h>>2]<<2)>>2])|0)<=32767)if((Ui(+g[(c[f>>2]|0)+(c[h>>2]<<2)>>2])|0)<-32768)d=-32768;else d=Ui(+g[(c[f>>2]|0)+(c[h>>2]<<2)>>2])|0;else d=32767;b[(c[i>>2]|0)+(c[h>>2]<<1)>>1]=d;c[h>>2]=(c[h>>2]|0)+-1}l=j;return}function pf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;i=j+12|0;f=j+8|0;k=j+4|0;h=j;c[i>>2]=a;c[f>>2]=d;c[k>>2]=e;c[h>>2]=(c[k>>2]|0)-1;while(1){if((c[h>>2]|0)<0)break;g[(c[i>>2]|0)+(c[h>>2]<<2)>>2]=+(b[(c[f>>2]|0)+(c[h>>2]<<1)>>1]|0);c[h>>2]=(c[h>>2]|0)+-1}l=j;return}function qf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=l;l=l+160|0;f=D+156|0;j=D+152|0;k=D+148|0;p=D+144|0;q=D+140|0;r=D+136|0;m=D+132|0;u=D+128|0;o=D+124|0;x=D+120|0;w=D+116|0;y=D+112|0;A=D+108|0;z=D+104|0;B=D+100|0;v=D+96|0;s=D+92|0;n=D+88|0;g=D+52|0;i=D+16|0;h=D+8|0;t=D;c[f>>2]=a;c[j>>2]=d;c[k>>2]=e;c[h>>2]=g;c[h+4>>2]=i;c[m>>2]=c[k>>2]>>1;rf(c[j>>2]|0,g,i,c[m>>2]|0);c[t>>2]=g;c[x>>2]=b[12286];c[A>>2]=sf(c[t>>2]|0,c[x>>2]|0,c[m>>2]|0)|0;if((c[A>>2]|0)<0){b[c[f>>2]>>1]=0;c[t>>2]=i;c[A>>2]=sf(c[t>>2]|0,c[x>>2]|0,c[m>>2]|0)|0;c[u>>2]=1}else c[u>>2]=0;c[q>>2]=1;c[p>>2]=0;c[v>>2]=0;a:while(1){c[w>>2]=b[24572+(c[q>>2]<<1)>>1];c[z>>2]=sf(c[t>>2]|0,c[w>>2]|0,c[m>>2]|0)|0;if(!((c[A>>2]|0)<=0?(c[z>>2]|0)>=(c[v>>2]|0):0))C=7;do if((C|0)==7){C=0;if((c[A>>2]|0)>=0?(c[z>>2]|0)<=(0-(c[v>>2]|0)|0):0)break;c[q>>2]=(c[q>>2]|0)+1;c[x>>2]=c[w>>2];c[A>>2]=c[z>>2];c[v>>2]=0;if((c[q>>2]|0)<=128)continue a;c[p>>2]=(c[p>>2]|0)+1;if((c[p>>2]|0)>30)break a;xf(c[j>>2]|0,c[k>>2]|0,65536-(N((10+(c[p>>2]|0)&65535)<<16>>16,(c[p>>2]&65535)<<16>>16)|0)|0);rf(c[j>>2]|0,g,i,c[m>>2]|0);c[t>>2]=g;c[x>>2]=b[12286];c[A>>2]=sf(c[t>>2]|0,c[x>>2]|0,c[m>>2]|0)|0;if((c[A>>2]|0)<0){b[c[f>>2]>>1]=0;c[t>>2]=i;c[A>>2]=sf(c[t>>2]|0,c[x>>2]|0,c[m>>2]|0)|0;c[u>>2]=1}else c[u>>2]=0;c[q>>2]=1;continue a}while(0);if(!(c[z>>2]|0))c[v>>2]=1;else c[v>>2]=0;c[o>>2]=-256;c[r>>2]=0;while(1){if((c[r>>2]|0)>=3)break;c[y>>2]=((c[x>>2]|0)+(c[w>>2]|0)>>1)+((c[x>>2]|0)+(c[w>>2]|0)&1);c[B>>2]=sf(c[t>>2]|0,c[y>>2]|0,c[m>>2]|0)|0;if(!((c[A>>2]|0)<=0&(c[B>>2]|0)>=0)?!((c[A>>2]|0)>=0&(c[B>>2]|0)<=0):0){c[x>>2]=c[y>>2];c[A>>2]=c[B>>2];c[o>>2]=(c[o>>2]|0)+(128>>c[r>>2])}else{c[w>>2]=c[y>>2];c[z>>2]=c[B>>2]}c[r>>2]=(c[r>>2]|0)+1}e=c[A>>2]|0;a=c[A>>2]|0;if((((c[A>>2]|0)>0?e:0-e|0)|0)<65536){c[n>>2]=a-(c[z>>2]|0);c[s>>2]=(c[A>>2]<<5)+(c[n>>2]>>1);if(c[n>>2]|0)c[o>>2]=(c[o>>2]|0)+((c[s>>2]|0)/(c[n>>2]|0)|0)}else c[o>>2]=(c[o>>2]|0)+((a|0)/((c[A>>2]|0)-(c[z>>2]|0)>>5|0)|0);e=(tf((c[q>>2]<<8)+(c[o>>2]|0)|0,32767)|0)&65535;b[(c[f>>2]|0)+(c[u>>2]<<1)>>1]=e;c[u>>2]=(c[u>>2]|0)+1;if((c[u>>2]|0)>=(c[k>>2]|0)){C=34;break}c[t>>2]=c[h+((c[u>>2]&1)<<2)>>2];c[x>>2]=b[24572+((c[q>>2]|0)-1<<1)>>1];c[A>>2]=1-(c[u>>2]&2)<<12}if((C|0)==34){l=D;return}b[c[f>>2]>>1]=32768/((c[k>>2]|0)+1|0)|0;c[q>>2]=1;while(1){if((c[q>>2]|0)>=(c[k>>2]|0))break;C=(N(((c[q>>2]|0)+1&65535)<<16>>16,b[c[f>>2]>>1]|0)|0)&65535;b[(c[f>>2]|0)+(c[q>>2]<<1)>>1]=C;c[q>>2]=(c[q>>2]|0)+1}l=D;return}function rf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;f=k+16|0;g=k+12|0;h=k+8|0;i=k+4|0;j=k;c[f>>2]=a;c[g>>2]=b;c[h>>2]=d;c[i>>2]=e;c[(c[g>>2]|0)+(c[i>>2]<<2)>>2]=65536;c[(c[h>>2]|0)+(c[i>>2]<<2)>>2]=65536;c[j>>2]=0;while(1){if((c[j>>2]|0)>=(c[i>>2]|0))break;c[(c[g>>2]|0)+(c[j>>2]<<2)>>2]=0-(c[(c[f>>2]|0)+((c[i>>2]|0)-(c[j>>2]|0)-1<<2)>>2]|0)-(c[(c[f>>2]|0)+((c[i>>2]|0)+(c[j>>2]|0)<<2)>>2]|0);c[(c[h>>2]|0)+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2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[g>>2]|0)+16>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[g>>2]|0)+12>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[g>>2]|0)+8>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[g>>2]|0)+4>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[c[g>>2]>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=c[i>>2]|0;l=j;return k|0}c[f>>2]=(c[e>>2]|0)-1;while(1){if((c[f>>2]|0)<0)break;k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[g>>2]|0)+(c[f>>2]<<2)>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);c[f>>2]=(c[f>>2]|0)+-1}k=c[i>>2]|0;l=j;return k|0}function tf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function uf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;g=h+12|0;d=h+8|0;e=h+4|0;f=h;c[g>>2]=a;c[d>>2]=b;c[e>>2]=2;while(1){if((c[e>>2]|0)>(c[d>>2]|0))break;c[f>>2]=c[d>>2];while(1){b=c[g>>2]|0;if((c[f>>2]|0)<=(c[e>>2]|0))break;a=(c[g>>2]|0)+((c[f>>2]|0)-2<<2)|0;c[a>>2]=(c[a>>2]|0)-(c[b+(c[f>>2]<<2)>>2]|0);c[f>>2]=(c[f>>2]|0)+-1}a=(c[g>>2]|0)+((c[e>>2]|0)-2<<2)|0;c[a>>2]=(c[a>>2]|0)-(c[b+(c[e>>2]<<2)>>2]<<1);c[e>>2]=(c[e>>2]|0)+1}l=h;return}function vf(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=l;l=l+48|0;m=t+44|0;i=t+40|0;q=t+36|0;p=t+32|0;u=t+28|0;o=t+24|0;h=t+20|0;n=t+16|0;j=t+12|0;k=t+8|0;r=t+4|0;s=t;c[m>>2]=a;c[i>>2]=d;c[q>>2]=e;c[p>>2]=f;c[u>>2]=g;c[h>>2]=c[u>>2]>>1;c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[h>>2]|0))break;c[n>>2]=b[(c[m>>2]|0)+(c[o>>2]<<1<<1)>>1]<<10;c[k>>2]=(c[n>>2]|0)-(c[c[i>>2]>>2]|0);u=N(c[k>>2]>>16,-24290<<16>>16)|0;c[j>>2]=(c[k>>2]|0)+(u+((N(c[k>>2]&65535,-24290<<16>>16)|0)>>16));c[r>>2]=(c[c[i>>2]>>2]|0)+(c[j>>2]|0);c[c[i>>2]>>2]=(c[n>>2]|0)+(c[j>>2]|0);c[n>>2]=b[(c[m>>2]|0)+((c[o>>2]<<1)+1<<1)>>1]<<10;c[k>>2]=(c[n>>2]|0)-(c[(c[i>>2]|0)+4>>2]|0);u=N(c[k>>2]>>16,10788<<16>>16)|0;c[j>>2]=u+((N(c[k>>2]&65535,10788<<16>>16)|0)>>16);c[s>>2]=(c[(c[i>>2]|0)+4>>2]|0)+(c[j>>2]|0);c[(c[i>>2]|0)+4>>2]=(c[n>>2]|0)+(c[j>>2]|0);if((((c[s>>2]|0)+(c[r>>2]|0)>>10)+1>>1|0)<=32767)if((((c[s>>2]|0)+(c[r>>2]|0)>>10)+1>>1|0)<-32768)g=-32768;else g=((c[s>>2]|0)+(c[r>>2]|0)>>10)+1>>1;else g=32767;b[(c[q>>2]|0)+(c[o>>2]<<1)>>1]=g;if((((c[s>>2]|0)-(c[r>>2]|0)>>10)+1>>1|0)<=32767)if((((c[s>>2]|0)-(c[r>>2]|0)>>10)+1>>1|0)<-32768)g=-32768;else g=((c[s>>2]|0)-(c[r>>2]|0)>>10)+1>>1;else g=32767;b[(c[p>>2]|0)+(c[o>>2]<<1)>>1]=g;c[o>>2]=(c[o>>2]|0)+1}l=t;return}function wf(a,d,e,f,g,h,i){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=l;l=l+64|0;q=x+52|0;o=x+48|0;y=x+44|0;p=x+40|0;u=x+36|0;t=x+32|0;w=x+28|0;s=x+24|0;r=x+20|0;k=x+16|0;j=x+12|0;n=x+8|0;m=x+4|0;v=x;c[q>>2]=a;c[o>>2]=d;c[y>>2]=e;c[p>>2]=f;c[u>>2]=g;c[t>>2]=h;c[w>>2]=i;c[j>>2]=0-(c[c[y>>2]>>2]|0)&16383;c[k>>2]=0-(c[c[y>>2]>>2]|0)>>14;c[m>>2]=0-(c[(c[y>>2]|0)+4>>2]|0)&16383;c[n>>2]=0-(c[(c[y>>2]|0)+4>>2]|0)>>14;c[s>>2]=0;while(1){if((c[s>>2]|0)>=(c[t>>2]|0))break;c[r>>2]=b[(c[q>>2]|0)+((N(c[s>>2]|0,c[w>>2]|0)|0)<<1)>>1];y=N(c[c[o>>2]>>2]>>16,(c[r>>2]&65535)<<16>>16)|0;c[v>>2]=(c[c[p>>2]>>2]|0)+(y+((N(c[c[o>>2]>>2]&65535,(c[r>>2]&65535)<<16>>16)|0)>>16))<<2;y=N(c[v>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;y=(c[(c[p>>2]|0)+4>>2]|0)+((y+((N(c[v>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16)>>13)+1>>1)|0;c[c[p>>2]>>2]=y;y=N(c[v>>2]>>16,(c[k>>2]&65535)<<16>>16)|0;y=(c[c[p>>2]>>2]|0)+(y+((N(c[v>>2]&65535,(c[k>>2]&65535)<<16>>16)|0)>>16))|0;c[c[p>>2]>>2]=y;y=N(c[(c[o>>2]|0)+4>>2]>>16,(c[r>>2]&65535)<<16>>16)|0;y=(c[c[p>>2]>>2]|0)+(y+((N(c[(c[o>>2]|0)+4>>2]&65535,(c[r>>2]&65535)<<16>>16)|0)>>16))|0;c[c[p>>2]>>2]=y;y=N(c[v>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;y=(y+((N(c[v>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16)>>13)+1>>1;c[(c[p>>2]|0)+4>>2]=y;y=N(c[v>>2]>>16,(c[n>>2]&65535)<<16>>16)|0;y=(c[(c[p>>2]|0)+4>>2]|0)+(y+((N(c[v>>2]&65535,(c[n>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[p>>2]|0)+4>>2]=y;y=N(c[(c[o>>2]|0)+8>>2]>>16,(c[r>>2]&65535)<<16>>16)|0;y=(c[(c[p>>2]|0)+4>>2]|0)+(y+((N(c[(c[o>>2]|0)+8>>2]&65535,(c[r>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[p>>2]|0)+4>>2]=y;if(((c[v>>2]|0)+16384-1>>14|0)<=32767)if(((c[v>>2]|0)+16384-1>>14|0)<-32768)e=-32768;else e=(c[v>>2]|0)+16384-1>>14;else e=32767;b[(c[u>>2]|0)+((N(c[s>>2]|0,c[w>>2]|0)|0)<<1)>>1]=e;c[s>>2]=(c[s>>2]|0)+1}l=x;return}function xf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;e=j+16|0;h=j+12|0;f=j+8|0;i=j+4|0;g=j;c[e>>2]=a;c[h>>2]=b;c[f>>2]=d;c[g>>2]=(c[f>>2]|0)-65536;c[i>>2]=0;while(1){d=c[f>>2]>>16;a=c[e>>2]|0;if((c[i>>2]|0)>=((c[h>>2]|0)-1|0))break;b=N(d,(c[a+(c[i>>2]<<2)>>2]&65535)<<16>>16)|0;b=b+((N(c[f>>2]&65535,(c[(c[e>>2]|0)+(c[i>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;b=b+(N(c[f>>2]|0,(c[(c[e>>2]|0)+(c[i>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[e>>2]|0)+(c[i>>2]<<2)>>2]=b;b=((N(c[f>>2]|0,c[g>>2]|0)|0)>>15)+1>>1;c[f>>2]=(c[f>>2]|0)+b;c[i>>2]=(c[i>>2]|0)+1}i=N(d,(c[a+((c[h>>2]|0)-1<<2)>>2]&65535)<<16>>16)|0;i=i+((N(c[f>>2]&65535,(c[(c[e>>2]|0)+((c[h>>2]|0)-1<<2)>>2]&65535)<<16>>16)|0)>>16)|0;i=i+(N(c[f>>2]|0,(c[(c[e>>2]|0)+((c[h>>2]|0)-1<<2)>>2]>>15)+1>>1)|0)|0;c[(c[e>>2]|0)+((c[h>>2]|0)-1<<2)>>2]=i;l=j;return}function yf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;f=k+16|0;i=k+12|0;g=k+8|0;j=k+4|0;h=k;c[f>>2]=a;c[i>>2]=d;c[g>>2]=e;c[h>>2]=(c[g>>2]|0)-65536;c[j>>2]=0;while(1){a=c[g>>2]|0;e=c[f>>2]|0;if((c[j>>2]|0)>=((c[i>>2]|0)-1|0))break;d=((N(a,b[e+(c[j>>2]<<1)>>1]|0)|0)>>15)+1>>1&65535;b[(c[f>>2]|0)+(c[j>>2]<<1)>>1]=d;d=((N(c[g>>2]|0,c[h>>2]|0)|0)>>15)+1>>1;c[g>>2]=(c[g>>2]|0)+d;c[j>>2]=(c[j>>2]|0)+1}j=((N(a,b[e+((c[i>>2]|0)-1<<1)>>1]|0)|0)>>15)+1>>1&65535;b[(c[f>>2]|0)+((c[i>>2]|0)-1<<1)>>1]=j;l=k;return}function zf(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+48|0;j=u+36|0;n=u+38|0;t=u+32|0;i=u+28|0;s=u+24|0;p=u+20|0;o=u+16|0;r=u+12|0;q=u+8|0;m=u+4|0;k=u;b[j>>1]=d;a[n>>0]=e;c[t>>2]=f;c[i>>2]=g;c[s>>2]=h;g=(c[s>>2]|0)==4;do if((c[i>>2]|0)==8)if(g){c[k>>2]=30282;c[m>>2]=11;break}else{c[k>>2]=30248;c[m>>2]=3;break}else if(g){c[k>>2]=30326;c[m>>2]=34;break}else{c[k>>2]=30254;c[m>>2]=12;break}while(0);c[r>>2]=(c[i>>2]&65535)<<16>>16<<1;c[q>>2]=((c[i>>2]&65535)<<16>>16)*18;c[p>>2]=(c[r>>2]|0)+(b[j>>1]|0);c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[s>>2]|0))break;g=N(c[o>>2]|0,c[m>>2]|0)|0;c[(c[t>>2]|0)+(c[o>>2]<<2)>>2]=(c[p>>2]|0)+(a[(c[k>>2]|0)+(g+(a[n>>0]|0))>>0]|0);g=c[(c[t>>2]|0)+(c[o>>2]<<2)>>2]|0;do if((c[r>>2]|0)>(c[q>>2]|0)){if((g|0)>(c[r>>2]|0)){g=c[r>>2]|0;break}if((c[(c[t>>2]|0)+(c[o>>2]<<2)>>2]|0)<(c[q>>2]|0)){g=c[q>>2]|0;break}else{g=c[(c[t>>2]|0)+(c[o>>2]<<2)>>2]|0;break}}else{if((g|0)>(c[q>>2]|0)){g=c[q>>2]|0;break}if((c[(c[t>>2]|0)+(c[o>>2]<<2)>>2]|0)<(c[r>>2]|0)){g=c[r>>2]|0;break}else{g=c[(c[t>>2]|0)+(c[o>>2]<<2)>>2]|0;break}}while(0);c[(c[t>>2]|0)+(c[o>>2]<<2)>>2]=g;c[o>>2]=(c[o>>2]|0)+1}l=u;return}function Af(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;h=n+20|0;i=n+16|0;k=n+12|0;j=n+8|0;g=n+4|0;m=n;c[h>>2]=a;c[i>>2]=d;c[k>>2]=e;c[j>>2]=f;c[m>>2]=0;c[g>>2]=0;while(1){a=c[m>>2]|0;if((c[g>>2]|0)>=(c[j>>2]|0))break;e=N(b[(c[h>>2]|0)+(c[g>>2]<<1)>>1]|0,b[(c[i>>2]|0)+(c[g>>2]<<1)>>1]|0)|0;c[m>>2]=a+(e>>c[k>>2]);c[g>>2]=(c[g>>2]|0)+1}l=n;return a|0}function Bf(a){a=a|0;var b=0,d=0,e=0,f=0;b=l;l=l+16|0;f=b+8|0;e=b+4|0;d=b;c[f>>2]=a;Cf(c[f>>2]|0,e,d);a=((N(c[d>>2]|0,128-(c[d>>2]|0)|0)|0)>>16)*179|0;a=(31-(c[e>>2]|0)<<7)+((c[d>>2]|0)+(a+(((N(c[d>>2]|0,128-(c[d>>2]|0)|0)|0)&65535)*179>>16)))|0;l=b;return a|0}function Cf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=Df(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];b=(Ef(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=b;l=e;return}function Df(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Ef(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;g=j+20|0;d=j+16|0;h=j+12|0;i=j+8|0;f=j+4|0;e=j;c[d>>2]=a;c[h>>2]=b;c[i>>2]=c[d>>2];c[f>>2]=c[h>>2];c[e>>2]=0-(c[h>>2]|0);if(!(c[h>>2]|0)){c[g>>2]=c[d>>2];i=c[g>>2]|0;l=j;return i|0}a=c[i>>2]|0;if((c[h>>2]|0)<0){c[g>>2]=a<>2]|(c[i>>2]|0)>>>(32-(c[e>>2]|0)|0);i=c[g>>2]|0;l=j;return i|0}else{c[g>>2]=a<<32-(c[f>>2]|0)|(c[i>>2]|0)>>>(c[f>>2]|0);i=c[g>>2]|0;l=j;return i|0}return 0}function Ff(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;g=h+12|0;e=h+8|0;f=h+4|0;d=h;c[e>>2]=a;if((c[e>>2]|0)<0){c[g>>2]=0;g=c[g>>2]|0;l=h;return g|0}if((c[e>>2]|0)>=3967){c[g>>2]=2147483647;g=c[g>>2]|0;l=h;return g|0}c[f>>2]=1<<(c[e>>2]>>7);c[d>>2]=c[e>>2]&127;a=c[f>>2]|0;b=c[f>>2]|0;if((c[e>>2]|0)<2048){e=N((N((c[d>>2]&65535)<<16>>16,(128-(c[d>>2]|0)&65535)<<16>>16)|0)>>16,-174)|0;c[f>>2]=a+((N(b,(c[d>>2]|0)+(e+((N((N((c[d>>2]&65535)<<16>>16,(128-(c[d>>2]|0)&65535)<<16>>16)|0)&65535,-174)|0)>>16))|0)|0)>>7)}else{e=N((N((c[d>>2]&65535)<<16>>16,(128-(c[d>>2]|0)&65535)<<16>>16)|0)>>16,-174)|0;c[f>>2]=a+(N(b>>7,(c[d>>2]|0)+(e+((N((N((c[d>>2]&65535)<<16>>16,(128-(c[d>>2]|0)&65535)<<16>>16)|0)&65535,-174)|0)>>16))|0)|0)}c[g>>2]=c[f>>2];g=c[g>>2]|0;l=h;return g|0}function Gf(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+48|0;q=t+40|0;k=t+36|0;i=t+32|0;p=t+28|0;j=t+24|0;o=t+16|0;n=t+12|0;s=t+8|0;r=t+4|0;m=t;c[q>>2]=a;c[k>>2]=d;c[i>>2]=e;c[p>>2]=f;c[j>>2]=g;c[t+20>>2]=h;c[n>>2]=c[j>>2];while(1){if((c[n>>2]|0)>=(c[p>>2]|0))break;c[m>>2]=(c[k>>2]|0)+((c[n>>2]|0)-1<<1);c[s>>2]=N(b[c[m>>2]>>1]|0,b[c[i>>2]>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(N(b[(c[m>>2]|0)+-2>>1]|0,b[(c[i>>2]|0)+2>>1]|0)|0);c[s>>2]=(c[s>>2]|0)+(N(b[(c[m>>2]|0)+-4>>1]|0,b[(c[i>>2]|0)+4>>1]|0)|0);c[s>>2]=(c[s>>2]|0)+(N(b[(c[m>>2]|0)+-6>>1]|0,b[(c[i>>2]|0)+6>>1]|0)|0);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|0}else{c[k>>2]=If(g,c[j>>2]|0)|0;k=c[k>>2]|0;l=m;return k|0}return 0}function If(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=l;l=l+64|0;o=r+48|0;d=r+44|0;s=r+40|0;h=r+36|0;j=r+32|0;i=r+28|0;g=r+24|0;k=r+20|0;m=r+16|0;n=r+12|0;p=r+8|0;f=r+4|0;e=r;c[d>>2]=a;c[s>>2]=b;c[e>>2]=(c[d>>2]|0)+((c[s>>2]&1)<<6);c[g>>2]=1073741824;c[h>>2]=(c[s>>2]|0)-1;while(1){a=c[e>>2]|0;if((c[h>>2]|0)<=0)break;if((c[a+(c[h>>2]<<2)>>2]|0)>16773022){q=5;break}if((c[(c[e>>2]|0)+(c[h>>2]<<2)>>2]|0)<-16773022){q=5;break}c[k>>2]=0-(c[(c[e>>2]|0)+(c[h>>2]<<2)>>2]<<7);s=c[k>>2]|0;b=c[k>>2]|0;b=Xi(s|0,((s|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;b=Yi(b|0,y|0,32)|0;c[m>>2]=1073741824-b;b=c[m>>2]|0;c[i>>2]=32-(Jf((c[m>>2]|0)>0?b:0-b|0)|0);c[n>>2]=Kf(c[m>>2]|0,(c[i>>2]|0)+30|0)|0;b=c[g>>2]|0;s=c[m>>2]|0;s=Xi(b|0,((b|0)<0)<<31>>31|0,s|0,((s|0)<0)<<31>>31|0)|0;s=Yi(s|0,y|0,32)|0;c[g>>2]=s<<2;c[f>>2]=c[e>>2];c[e>>2]=(c[d>>2]|0)+((c[h>>2]&1)<<6);c[j>>2]=0;while(1){if((c[j>>2]|0)>=(c[h>>2]|0))break;b=c[(c[f>>2]|0)+(c[j>>2]<<2)>>2]|0;a=c[(c[f>>2]|0)+((c[h>>2]|0)-(c[j>>2]|0)-1<<2)>>2]|0;s=c[k>>2]|0;s=Xi(a|0,((a|0)<0)<<31>>31|0,s|0,((s|0)<0)<<31>>31|0)|0;s=Yi(s|0,y|0,30)|0;s=Zi(s|0,y|0,1,0)|0;s=Yi(s|0,y|0,1)|0;c[p>>2]=b-s;s=(c[i>>2]|0)==1;b=c[p>>2]|0;a=c[n>>2]|0;a=Xi(b|0,((b|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;b=y;if(s){b=Yi(a|0,b|0,1)|0;s=y;t=c[p>>2]|0;a=c[n>>2]|0;a=Xi(t|0,((t|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;a=Zi(b|0,s|0,a&1|0,0)|0}else{a=Yi(a|0,b|0,(c[i>>2]|0)-1|0)|0;a=Zi(a|0,y|0,1,0)|0;a=Yi(a|0,y|0,1)|0}c[(c[e>>2]|0)+(c[j>>2]<<2)>>2]=a;c[j>>2]=(c[j>>2]|0)+1}c[h>>2]=(c[h>>2]|0)+-1}if((q|0)==5){c[o>>2]=0;t=c[o>>2]|0;l=r;return t|0}if((c[a>>2]|0)<=16773022?(c[c[e>>2]>>2]|0)>=-16773022:0){c[k>>2]=0-(c[c[e>>2]>>2]<<7);t=c[k>>2]|0;s=c[k>>2]|0;s=Xi(t|0,((t|0)<0)<<31>>31|0,s|0,((s|0)<0)<<31>>31|0)|0;s=Yi(s|0,y|0,32)|0;c[m>>2]=1073741824-s;s=c[g>>2]|0;t=c[m>>2]|0;t=Xi(s|0,((s|0)<0)<<31>>31|0,t|0,((t|0)<0)<<31>>31|0)|0;t=Yi(t|0,y|0,32)|0;c[g>>2]=t<<2;c[o>>2]=c[g>>2];t=c[o>>2]|0;l=r;return t|0}c[o>>2]=0;t=c[o>>2]|0;l=r;return t|0}function Jf(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Kf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;h=l;l=l+48|0;g=h+32|0;n=h+28|0;d=h+24|0;i=h+20|0;f=h+16|0;j=h+12|0;m=h+8|0;k=h+4|0;e=h;c[n>>2]=a;c[d>>2]=b;b=c[n>>2]|0;c[i>>2]=(Jf((c[n>>2]|0)>0?b:0-b|0)|0)-1;c[m>>2]=c[n>>2]<>2];c[j>>2]=536870911/(c[m>>2]>>16|0)|0;c[e>>2]=c[j>>2]<<16;b=N(c[m>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=536870912-(b+((N(c[m>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))<<3;b=N(c[k>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;b=(c[e>>2]|0)+(b+((N(c[k>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[e>>2]=b+(N(c[k>>2]|0,(c[j>>2]>>15)+1>>1)|0);c[f>>2]=61-(c[i>>2]|0)-(c[d>>2]|0);b=c[f>>2]|0;if((c[f>>2]|0)>0)if((b|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];n=c[g>>2]|0;l=h;return n|0}else{c[g>>2]=0;n=c[g>>2]|0;l=h;return n|0}a=c[e>>2]|0;d=0-(c[f>>2]|0)|0;do if((-2147483648>>0-b|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>d|0)){b=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){b=2147483647>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>d|0)){b=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){b=-2147483648>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}while(0);c[g>>2]=b<<0-(c[f>>2]|0);n=c[g>>2]|0;l=h;return n|0}function Lf(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,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1){if((c[A>>2]|0)>=10)break;c[u>>2]=0;c[B>>2]=0;while(1){if((c[B>>2]|0)>=(c[z>>2]|0))break;v=c[x+(c[B>>2]<<2)>>2]|0;c[m>>2]=(c[x+(c[B>>2]<<2)>>2]|0)>0?v:0-v|0;if((c[m>>2]|0)>(c[u>>2]|0)){c[u>>2]=c[m>>2];c[t>>2]=c[B>>2]}c[B>>2]=(c[B>>2]|0)+1}c[u>>2]=(c[u>>2]>>4)+1>>1;if((c[u>>2]|0)<=32767)break;c[u>>2]=(c[u>>2]|0)<163838?c[u>>2]|0:163838;c[w>>2]=65470-(((c[u>>2]|0)-32767<<14|0)/((N(c[u>>2]|0,(c[t>>2]|0)+1|0)|0)>>2|0)|0);xf(x,c[z>>2]|0,c[w>>2]|0);c[A>>2]=(c[A>>2]|0)+1}w=(c[A>>2]|0)==10;c[B>>2]=0;a:do if(w)while(1){if((c[B>>2]|0)>=(c[z>>2]|0))break a;if(((c[x+(c[B>>2]<<2)>>2]>>4)+1>>1|0)<=32767)if(((c[x+(c[B>>2]<<2)>>2]>>4)+1>>1|0)<-32768)e=-32768;else e=(c[x+(c[B>>2]<<2)>>2]>>4)+1>>1;else e=32767;b[(c[y>>2]|0)+(c[B>>2]<<1)>>1]=e;c[x+(c[B>>2]<<2)>>2]=b[(c[y>>2]|0)+(c[B>>2]<<1)>>1]<<5;c[B>>2]=(c[B>>2]|0)+1}else while(1){if((c[B>>2]|0)>=(c[z>>2]|0))break a;b[(c[y>>2]|0)+(c[B>>2]<<1)>>1]=(c[x+(c[B>>2]<<2)>>2]>>4)+1>>1;c[B>>2]=(c[B>>2]|0)+1}while(0);c[A>>2]=0;while(1){if((c[A>>2]|0)>=16){e=31;break}if((Hf(c[y>>2]|0,c[z>>2]|0)|0)>=107374){e=31;break}xf(x,c[z>>2]|0,65536-(2<>2])|0);c[B>>2]=0;while(1){if((c[B>>2]|0)>=(c[z>>2]|0))break;b[(c[y>>2]|0)+(c[B>>2]<<1)>>1]=(c[x+(c[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0)+-1}l=t;return}function Of(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Pf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Qf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;h=m+20|0;i=m+16|0;f=m+12|0;g=m+8|0;j=m+4|0;k=m;c[h>>2]=a;c[i>>2]=d;c[f>>2]=e;c[j>>2]=Rf(b[c[i>>2]>>1]|0,1)|0;c[j>>2]=131072/(c[j>>2]|0)|0;c[k>>2]=Rf((b[(c[i>>2]|0)+2>>1]|0)-(b[c[i>>2]>>1]|0)|0,1)|0;c[k>>2]=131072/(c[k>>2]|0)|0;d=(Sf((c[j>>2]|0)+(c[k>>2]|0)|0,32767)|0)&65535;b[c[h>>2]>>1]=d;c[g>>2]=1;while(1){e=c[i>>2]|0;if((c[g>>2]|0)>=((c[f>>2]|0)-1|0))break;c[j>>2]=Rf((b[e+((c[g>>2]|0)+1<<1)>>1]|0)-(b[(c[i>>2]|0)+(c[g>>2]<<1)>>1]|0)|0,1)|0;c[j>>2]=131072/(c[j>>2]|0)|0;d=(Sf((c[j>>2]|0)+(c[k>>2]|0)|0,32767)|0)&65535;b[(c[h>>2]|0)+(c[g>>2]<<1)>>1]=d;c[k>>2]=Rf((b[(c[i>>2]|0)+((c[g>>2]|0)+2<<1)>>1]|0)-(b[(c[i>>2]|0)+((c[g>>2]|0)+1<<1)>>1]|0)|0,1)|0;c[k>>2]=131072/(c[k>>2]|0)|0;d=(Sf((c[j>>2]|0)+(c[k>>2]|0)|0,32767)|0)&65535;b[(c[h>>2]|0)+((c[g>>2]|0)+1<<1)>>1]=d;c[g>>2]=(c[g>>2]|0)+2}c[j>>2]=Rf(32768-(b[e+((c[f>>2]|0)-1<<1)>>1]|0)|0,1)|0;c[j>>2]=131072/(c[j>>2]|0)|0;k=(Sf((c[j>>2]|0)+(c[k>>2]|0)|0,32767)|0)&65535;b[(c[h>>2]|0)+((c[f>>2]|0)-1<<1)>>1]=k;l=m;return}function Rf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Sf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Tf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+32|0;j=m+20|0;i=m+16|0;g=m+12|0;h=m+8|0;n=m+4|0;k=m;c[i>>2]=b;c[g>>2]=d;c[h>>2]=e;c[n>>2]=f;aj(c[i>>2]|0,0,300)|0;d=(c[g>>2]|0)!=8e3&(c[g>>2]|0)!=12e3&(c[g>>2]|0)!=16e3;do if(c[n>>2]|0){if(!(d&(c[g>>2]|0)!=24e3&(c[g>>2]|0)!=48e3)?!((c[h>>2]|0)!=8e3&(c[h>>2]|0)!=12e3&(c[h>>2]|0)!=16e3):0){d=c[i>>2]|0;e=a[30489+((((c[g>>2]>>12)-((c[g>>2]|0)>16e3&1)>>((c[g>>2]|0)>24e3&1))-1|0)*3|0)+(((c[h>>2]>>12)-((c[h>>2]|0)>16e3&1)>>((c[h>>2]|0)>24e3&1))-1)>>0]|0;break}c[j>>2]=-1;n=c[j>>2]|0;l=m;return n|0}else{if(!d?!((c[h>>2]|0)!=8e3&(c[h>>2]|0)!=12e3&(c[h>>2]|0)!=16e3&(c[h>>2]|0)!=24e3&(c[h>>2]|0)!=48e3):0){d=c[i>>2]|0;e=a[30504+((((c[g>>2]>>12)-((c[g>>2]|0)>16e3&1)>>((c[g>>2]|0)>24e3&1))-1|0)*5|0)+(((c[h>>2]>>12)-((c[h>>2]|0)>16e3&1)>>((c[h>>2]|0)>24e3&1))-1)>>0]|0;break}c[j>>2]=-1;n=c[j>>2]|0;l=m;return n|0}while(0);c[d+292>>2]=e;c[(c[i>>2]|0)+284>>2]=(c[g>>2]|0)/1e3|0;c[(c[i>>2]|0)+288>>2]=(c[h>>2]|0)/1e3|0;c[(c[i>>2]|0)+268>>2]=(c[(c[i>>2]|0)+284>>2]|0)*10;c[k>>2]=0;e=c[h>>2]|0;b=c[g>>2]|0;do if((c[h>>2]|0)>(c[g>>2]|0)){d=(c[i>>2]|0)+264|0;if((e|0)==(b<<1|0)){c[d>>2]=1;break}else{c[d>>2]=2;c[k>>2]=1;break}}else{d=(c[i>>2]|0)+264|0;if((e|0)>=(b|0)){c[d>>2]=0;break}c[d>>2]=3;if((c[h>>2]<<2|0)==((c[g>>2]|0)*3|0)){c[(c[i>>2]|0)+280>>2]=3;c[(c[i>>2]|0)+276>>2]=18;c[(c[i>>2]|0)+296>>2]=24842;break}if(((c[h>>2]|0)*3|0)==(c[g>>2]<<1|0)){c[(c[i>>2]|0)+280>>2]=2;c[(c[i>>2]|0)+276>>2]=18;c[(c[i>>2]|0)+296>>2]=24900;break}if((c[h>>2]<<1|0)==(c[g>>2]|0)){c[(c[i>>2]|0)+280>>2]=1;c[(c[i>>2]|0)+276>>2]=24;c[(c[i>>2]|0)+296>>2]=24940;break}if(((c[h>>2]|0)*3|0)==(c[g>>2]|0)){c[(c[i>>2]|0)+280>>2]=1;c[(c[i>>2]|0)+276>>2]=36;c[(c[i>>2]|0)+296>>2]=24968;break}if((c[h>>2]<<2|0)==(c[g>>2]|0)){c[(c[i>>2]|0)+280>>2]=1;c[(c[i>>2]|0)+276>>2]=36;c[(c[i>>2]|0)+296>>2]=25008;break}if(((c[h>>2]|0)*6|0)==(c[g>>2]|0)){c[(c[i>>2]|0)+280>>2]=1;c[(c[i>>2]|0)+276>>2]=36;c[(c[i>>2]|0)+296>>2]=25048;break}c[j>>2]=-1;n=c[j>>2]|0;l=m;return n|0}while(0);c[(c[i>>2]|0)+272>>2]=((c[g>>2]<<14+(c[k>>2]|0)|0)/(c[h>>2]|0)|0)<<2;while(1){n=N(c[(c[i>>2]|0)+272>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;n=n+((N(c[(c[i>>2]|0)+272>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16)|0;n=n+(N(c[(c[i>>2]|0)+272>>2]|0,(c[h>>2]>>15)+1>>1)|0)|0;if((n|0)>=(c[g>>2]<>2]|0))break;n=(c[i>>2]|0)+272|0;c[n>>2]=(c[n>>2]|0)+1}c[j>>2]=0;n=c[j>>2]|0;l=m;return n|0}function Uf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;f=k+16|0;j=k+12|0;g=k+8|0;h=k+4|0;i=k;c[f>>2]=a;c[j>>2]=b;c[g>>2]=d;c[h>>2]=e;c[i>>2]=(c[(c[f>>2]|0)+284>>2]|0)-(c[(c[f>>2]|0)+292>>2]|0);_i((c[f>>2]|0)+168+(c[(c[f>>2]|0)+292>>2]<<1)|0,c[g>>2]|0,c[i>>2]<<1|0)|0;switch(c[(c[f>>2]|0)+264>>2]|0){case 1:{bg(c[f>>2]|0,c[j>>2]|0,(c[f>>2]|0)+168|0,c[(c[f>>2]|0)+284>>2]|0);bg(c[f>>2]|0,(c[j>>2]|0)+(c[(c[f>>2]|0)+288>>2]<<1)|0,(c[g>>2]|0)+(c[i>>2]<<1)|0,(c[h>>2]|0)-(c[(c[f>>2]|0)+284>>2]|0)|0);break}case 2:{_f(c[f>>2]|0,c[j>>2]|0,(c[f>>2]|0)+168|0,c[(c[f>>2]|0)+284>>2]|0);_f(c[f>>2]|0,(c[j>>2]|0)+(c[(c[f>>2]|0)+288>>2]<<1)|0,(c[g>>2]|0)+(c[i>>2]<<1)|0,(c[h>>2]|0)-(c[(c[f>>2]|0)+284>>2]|0)|0);break}case 3:{Yf(c[f>>2]|0,c[j>>2]|0,(c[f>>2]|0)+168|0,c[(c[f>>2]|0)+284>>2]|0);Yf(c[f>>2]|0,(c[j>>2]|0)+(c[(c[f>>2]|0)+288>>2]<<1)|0,(c[g>>2]|0)+(c[i>>2]<<1)|0,(c[h>>2]|0)-(c[(c[f>>2]|0)+284>>2]|0)|0);break}default:{_i(c[j>>2]|0,(c[f>>2]|0)+168|0,c[(c[f>>2]|0)+284>>2]<<1|0)|0;_i((c[j>>2]|0)+(c[(c[f>>2]|0)+288>>2]<<1)|0,(c[g>>2]|0)+(c[i>>2]<<1)|0,(c[h>>2]|0)-(c[(c[f>>2]|0)+284>>2]|0)<<1|0)|0}}_i((c[f>>2]|0)+168|0,(c[g>>2]|0)+((c[h>>2]|0)-(c[(c[f>>2]|0)+292>>2]|0)<<1)|0,c[(c[f>>2]|0)+292>>2]<<1|0)|0;l=k;return 0}function Vf(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+1968|0;g=q+1964|0;o=q+1960|0;k=q+1956|0;m=q+1952|0;n=q+1948|0;j=q+1944|0;p=q+1940|0;i=q+1936|0;h=q;c[g>>2]=a;c[o>>2]=d;c[k>>2]=e;c[m>>2]=f;d=c[g>>2]|0;c[h>>2]=c[d>>2];c[h+4>>2]=c[d+4>>2];c[h+8>>2]=c[d+8>>2];c[h+12>>2]=c[d+12>>2];while(1){c[n>>2]=(c[m>>2]|0)<480?c[m>>2]|0:480;Xf((c[g>>2]|0)+16|0,h+16|0,c[k>>2]|0,25088,c[n>>2]|0);c[i>>2]=h;c[j>>2]=c[n>>2];while(1){if((c[j>>2]|0)<=2)break;d=N(c[c[i>>2]>>2]>>16,b[12546]|0)|0;c[p>>2]=d+((N(c[c[i>>2]>>2]&65535,b[12546]|0)|0)>>16);d=N(c[(c[i>>2]|0)+4>>2]>>16,b[12547]|0)|0;c[p>>2]=(c[p>>2]|0)+(d+((N(c[(c[i>>2]|0)+4>>2]&65535,b[12547]|0)|0)>>16));d=N(c[(c[i>>2]|0)+8>>2]>>16,b[12549]|0)|0;c[p>>2]=(c[p>>2]|0)+(d+((N(c[(c[i>>2]|0)+8>>2]&65535,b[12549]|0)|0)>>16));d=N(c[(c[i>>2]|0)+12>>2]>>16,b[12548]|0)|0;c[p>>2]=(c[p>>2]|0)+(d+((N(c[(c[i>>2]|0)+12>>2]&65535,b[12548]|0)|0)>>16));if(((c[p>>2]>>5)+1>>1|0)<=32767)if(((c[p>>2]>>5)+1>>1|0)<-32768)a=-32768;else a=(c[p>>2]>>5)+1>>1;else a=32767;d=c[o>>2]|0;c[o>>2]=d+2;b[d>>1]=a;d=N(c[(c[i>>2]|0)+4>>2]>>16,b[12548]|0)|0;c[p>>2]=d+((N(c[(c[i>>2]|0)+4>>2]&65535,b[12548]|0)|0)>>16);d=N(c[(c[i>>2]|0)+8>>2]>>16,b[12549]|0)|0;c[p>>2]=(c[p>>2]|0)+(d+((N(c[(c[i>>2]|0)+8>>2]&65535,b[12549]|0)|0)>>16));d=N(c[(c[i>>2]|0)+12>>2]>>16,b[12547]|0)|0;c[p>>2]=(c[p>>2]|0)+(d+((N(c[(c[i>>2]|0)+12>>2]&65535,b[12547]|0)|0)>>16));d=N(c[(c[i>>2]|0)+16>>2]>>16,b[12546]|0)|0;c[p>>2]=(c[p>>2]|0)+(d+((N(c[(c[i>>2]|0)+16>>2]&65535,b[12546]|0)|0)>>16));if(((c[p>>2]>>5)+1>>1|0)<=32767)if(((c[p>>2]>>5)+1>>1|0)<-32768)a=-32768;else a=(c[p>>2]>>5)+1>>1;else a=32767;d=c[o>>2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=h;c[r>>2]=i;switch(c[w>>2]|0){case 18:{c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[s>>2]|0))break;c[p>>2]=(c[o>>2]|0)+(c[q>>2]>>16<<2);w=N((c[q>>2]&65535)>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=w+((N(c[q>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16);c[m>>2]=(c[n>>2]|0)+((c[k>>2]|0)*9<<1);w=N(c[c[p>>2]>>2]>>16,b[c[m>>2]>>1]|0)|0;c[u>>2]=w+((N(c[c[p>>2]>>2]&65535,b[c[m>>2]>>1]|0)|0)>>16);w=N(c[(c[p>>2]|0)+4>>2]>>16,b[(c[m>>2]|0)+2>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+4>>2]&65535,b[(c[m>>2]|0)+2>>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+8>>2]>>16,b[(c[m>>2]|0)+4>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+8>>2]&65535,b[(c[m>>2]|0)+4>>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+12>>2]>>16,b[(c[m>>2]|0)+6>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+12>>2]&65535,b[(c[m>>2]|0)+6>>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+16>>2]>>16,b[(c[m>>2]|0)+8>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+16>>2]&65535,b[(c[m>>2]|0)+8>>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+20>>2]>>16,b[(c[m>>2]|0)+10>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+20>>2]&65535,b[(c[m>>2]|0)+10>>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+24>>2]>>16,b[(c[m>>2]|0)+12>>1]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>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+48>>2]>>16,b[(c[m>>2]|0)+10>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+48>>2]&65535,b[(c[m>>2]|0)+10>>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+44>>2]>>16,b[(c[m>>2]|0)+12>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+44>>2]&65535,b[(c[m>>2]|0)+12>>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+40>>2]>>16,b[(c[m>>2]|0)+14>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+40>>2]&65535,b[(c[m>>2]|0)+14>>1]|0)|0)>>16));w=N(c[(c[p>>2]|0)+36>>2]>>16,b[(c[m>>2]|0)+16>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N(c[(c[p>>2]|0)+36>>2]&65535,b[(c[m>>2]|0)+16>>1]|0)|0)>>16));if(((c[u>>2]>>5)+1>>1|0)<=32767)if(((c[u>>2]>>5)+1>>1|0)<-32768)e=-32768;else e=(c[u>>2]>>5)+1>>1;else e=32767;w=c[t>>2]|0;c[t>>2]=w+2;b[w>>1]=e;c[q>>2]=(c[q>>2]|0)+(c[r>>2]|0)}w=c[t>>2]|0;l=v;return w|0}case 24:{c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[s>>2]|0))break;c[p>>2]=(c[o>>2]|0)+(c[q>>2]>>16<<2);w=N((c[c[p>>2]>>2]|0)+(c[(c[p>>2]|0)+92>>2]|0)>>16,b[c[n>>2]>>1]|0)|0;c[u>>2]=w+((N((c[c[p>>2]>>2]|0)+(c[(c[p>>2]|0)+92>>2]|0)&65535,b[c[n>>2]>>1]|0)|0)>>16);w=N((c[(c[p>>2]|0)+4>>2]|0)+(c[(c[p>>2]|0)+88>>2]|0)>>16,b[(c[n>>2]|0)+2>>1]|0)|0;c[u>>2]=(c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p>>2]|0)+28>>2]|0)+(c[(c[p>>2]|0)+64>>2]|0)>>16,b[(c[n>>2]|0)+14>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N((c[(c[p>>2]|0)+28>>2]|0)+(c[(c[p>>2]|0)+64>>2]|0)&65535,b[(c[n>>2]|0)+14>>1]|0)|0)>>16));w=N((c[(c[p>>2]|0)+32>>2]|0)+(c[(c[p>>2]|0)+60>>2]|0)>>16,b[(c[n>>2]|0)+16>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N((c[(c[p>>2]|0)+32>>2]|0)+(c[(c[p>>2]|0)+60>>2]|0)&65535,b[(c[n>>2]|0)+16>>1]|0)|0)>>16));w=N((c[(c[p>>2]|0)+36>>2]|0)+(c[(c[p>>2]|0)+56>>2]|0)>>16,b[(c[n>>2]|0)+18>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N((c[(c[p>>2]|0)+36>>2]|0)+(c[(c[p>>2]|0)+56>>2]|0)&65535,b[(c[n>>2]|0)+18>>1]|0)|0)>>16));w=N((c[(c[p>>2]|0)+40>>2]|0)+(c[(c[p>>2]|0)+52>>2]|0)>>16,b[(c[n>>2]|0)+20>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N((c[(c[p>>2]|0)+40>>2]|0)+(c[(c[p>>2]|0)+52>>2]|0)&65535,b[(c[n>>2]|0)+20>>1]|0)|0)>>16));w=N((c[(c[p>>2]|0)+44>>2]|0)+(c[(c[p>>2]|0)+48>>2]|0)>>16,b[(c[n>>2]|0)+22>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N((c[(c[p>>2]|0)+44>>2]|0)+(c[(c[p>>2]|0)+48>>2]|0)&65535,b[(c[n>>2]|0)+22>>1]|0)|0)>>16));if(((c[u>>2]>>5)+1>>1|0)<=32767)if(((c[u>>2]>>5)+1>>1|0)<-32768)e=-32768;else e=(c[u>>2]>>5)+1>>1;else e=32767;w=c[t>>2]|0;c[t>>2]=w+2;b[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|0)+(c[(c[p>>2]|0)+76>>2]|0)>>16,b[(c[n>>2]|0)+32>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N((c[(c[p>>2]|0)+64>>2]|0)+(c[(c[p>>2]|0)+76>>2]|0)&65535,b[(c[n>>2]|0)+32>>1]|0)|0)>>16));w=N((c[(c[p>>2]|0)+68>>2]|0)+(c[(c[p>>2]|0)+72>>2]|0)>>16,b[(c[n>>2]|0)+34>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(w+((N((c[(c[p>>2]|0)+68>>2]|0)+(c[(c[p>>2]|0)+72>>2]|0)&65535,b[(c[n>>2]|0)+34>>1]|0)|0)>>16));if(((c[u>>2]>>5)+1>>1|0)<=32767)if(((c[u>>2]>>5)+1>>1|0)<-32768)e=-32768;else e=(c[u>>2]>>5)+1>>1;else e=32767;w=c[t>>2]|0;c[t>>2]=w+2;b[w>>1]=e;c[q>>2]=(c[q>>2]|0)+(c[r>>2]|0)}w=c[t>>2]|0;l=v;return w|0}default:{w=c[t>>2]|0;l=v;return w|0}}return 0}function _f(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;p=l;l=l+48|0;q=p+32|0;n=p+28|0;h=p+24|0;i=p+20|0;g=p+16|0;m=p+12|0;k=p+8|0;j=p+4|0;o=p;c[q>>2]=a;c[n>>2]=d;c[h>>2]=e;c[i>>2]=f;c[g>>2]=c[q>>2];d=(c[(c[g>>2]|0)+268>>2]<<1)+8|0;c[o>>2]=$()|0;e=l;l=l+((1*(d<<1)|0)+15&-16)|0;d=(c[g>>2]|0)+24|0;b[e>>1]=b[d>>1]|0;b[e+2>>1]=b[d+2>>1]|0;b[e+4>>1]=b[d+4>>1]|0;b[e+6>>1]=b[d+6>>1]|0;b[e+8>>1]=b[d+8>>1]|0;b[e+10>>1]=b[d+10>>1]|0;b[e+12>>1]=b[d+12>>1]|0;b[e+14>>1]=b[d+14>>1]|0;c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]>>16<<1);c[n>>2]=N(b[c[h>>2]>>1]|0,b[25100+(c[o>>2]<<3)>>1]|0)|0;c[n>>2]=(c[n>>2]|0)+(N(b[(c[h>>2]|0)+2>>1]|0,b[25100+(c[o>>2]<<3)+2>>1]|0)|0);c[n>>2]=(c[n>>2]|0)+(N(b[(c[h>>2]|0)+4>>1]|0,b[25100+(c[o>>2]<<3)+4>>1]|0)|0);c[n>>2]=(c[n>>2]|0)+(N(b[(c[h>>2]|0)+6>>1]|0,b[25100+(c[o>>2]<<3)+6>>1]|0)|0);c[n>>2]=(c[n>>2]|0)+(N(b[(c[h>>2]|0)+8>>1]|0,b[25100+(11-(c[o>>2]|0)<<3)+6>>1]|0)|0);c[n>>2]=(c[n>>2]|0)+(N(b[(c[h>>2]|0)+10>>1]|0,b[25100+(11-(c[o>>2]|0)<<3)+4>>1]|0)|0);c[n>>2]=(c[n>>2]|0)+(N(b[(c[h>>2]|0)+12>>1]|0,b[25100+(11-(c[o>>2]|0)<<3)+2>>1]|0)|0);c[n>>2]=(c[n>>2]|0)+(N(b[(c[h>>2]|0)+14>>1]|0,b[25100+(11-(c[o>>2]|0)<<3)>>1]|0)|0);if(((c[n>>2]>>14)+1>>1|0)<=32767)if(((c[n>>2]>>14)+1>>1|0)<-32768)d=-32768;else d=(c[n>>2]>>14)+1>>1;else d=32767;a=c[m>>2]|0;c[m>>2]=a+2;b[a>>1]=d;c[i>>2]=(c[i>>2]|0)+(c[j>>2]|0)}l=p;return c[m>>2]|0}function ag(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;g=r+36|0;o=r+32|0;j=r+28|0;n=r+24|0;m=r+20|0;k=r+16|0;p=r+12|0;q=r+8|0;i=r+4|0;h=r;c[g>>2]=a;c[o>>2]=d;c[j>>2]=e;c[n>>2]=f;c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[n>>2]|0))break;c[k>>2]=b[(c[j>>2]|0)+(c[m>>2]<<1)>>1]<<10;c[i>>2]=(c[k>>2]|0)-(c[c[g>>2]>>2]|0);d=N(c[i>>2]>>16,b[12415]|0)|0;c[h>>2]=d+((N(c[i>>2]&65535,b[12415]|0)|0)>>16);c[p>>2]=(c[c[g>>2]>>2]|0)+(c[h>>2]|0);c[c[g>>2]>>2]=(c[k>>2]|0)+(c[h>>2]|0);c[i>>2]=(c[p>>2]|0)-(c[(c[g>>2]|0)+4>>2]|0);d=N(c[i>>2]>>16,b[12416]|0)|0;c[h>>2]=d+((N(c[i>>2]&65535,b[12416]|0)|0)>>16);c[q>>2]=(c[(c[g>>2]|0)+4>>2]|0)+(c[h>>2]|0);c[(c[g>>2]|0)+4>>2]=(c[p>>2]|0)+(c[h>>2]|0);c[i>>2]=(c[q>>2]|0)-(c[(c[g>>2]|0)+8>>2]|0);d=N(c[i>>2]>>16,b[12417]|0)|0;c[h>>2]=(c[i>>2]|0)+(d+((N(c[i>>2]&65535,b[12417]|0)|0)>>16));c[p>>2]=(c[(c[g>>2]|0)+8>>2]|0)+(c[h>>2]|0);c[(c[g>>2]|0)+8>>2]=(c[q>>2]|0)+(c[h>>2]|0);if(((c[p>>2]>>9)+1>>1|0)<=32767)if(((c[p>>2]>>9)+1>>1|0)<-32768)a=-32768;else a=(c[p>>2]>>9)+1>>1;else a=32767;b[(c[o>>2]|0)+(c[m>>2]<<1<<1)>>1]=a;c[i>>2]=(c[k>>2]|0)-(c[(c[g>>2]|0)+12>>2]|0);d=N(c[i>>2]>>16,b[12418]|0)|0;c[h>>2]=d+((N(c[i>>2]&65535,b[12418]|0)|0)>>16);c[p>>2]=(c[(c[g>>2]|0)+12>>2]|0)+(c[h>>2]|0);c[(c[g>>2]|0)+12>>2]=(c[k>>2]|0)+(c[h>>2]|0);c[i>>2]=(c[p>>2]|0)-(c[(c[g>>2]|0)+16>>2]|0);d=N(c[i>>2]>>16,b[12419]|0)|0;c[h>>2]=d+((N(c[i>>2]&65535,b[12419]|0)|0)>>16);c[q>>2]=(c[(c[g>>2]|0)+16>>2]|0)+(c[h>>2]|0);c[(c[g>>2]|0)+16>>2]=(c[p>>2]|0)+(c[h>>2]|0);c[i>>2]=(c[q>>2]|0)-(c[(c[g>>2]|0)+20>>2]|0);d=N(c[i>>2]>>16,b[12420]|0)|0;c[h>>2]=(c[i>>2]|0)+(d+((N(c[i>>2]&65535,b[12420]|0)|0)>>16));c[p>>2]=(c[(c[g>>2]|0)+20>>2]|0)+(c[h>>2]|0);c[(c[g>>2]|0)+20>>2]=(c[q>>2]|0)+(c[h>>2]|0);if(((c[p>>2]>>9)+1>>1|0)<=32767)if(((c[p>>2]>>9)+1>>1|0)<-32768)a=-32768;else a=(c[p>>2]>>9)+1>>1;else a=32767;b[(c[o>>2]|0)+((c[m>>2]<<1)+1<<1)>>1]=a;c[m>>2]=(c[m>>2]|0)+1}l=r;return}function bg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=l;l=l+32|0;k=f+16|0;i=f+12|0;h=f+8|0;g=f+4|0;j=f;c[k>>2]=a;c[i>>2]=b;c[h>>2]=d;c[g>>2]=e;c[j>>2]=c[k>>2];ag(c[j>>2]|0,c[i>>2]|0,c[h>>2]|0,c[g>>2]|0);l=f;return}function cg(a){a=a|0;var b=0,d=0,e=0,f=0;f=l;l=l+16|0;e=f+8|0;b=f+4|0;d=f;c[b>>2]=a;a=c[b>>2]|0;if((c[b>>2]|0)<0){c[b>>2]=0-a;if((c[b>>2]|0)>=192){c[e>>2]=0;e=c[e>>2]|0;l=f;return e|0}else{c[d>>2]=c[b>>2]>>5;c[e>>2]=(c[17960+(c[d>>2]<<2)>>2]|0)-(N((c[17984+(c[d>>2]<<2)>>2]&65535)<<16>>16,(c[b>>2]&31)<<16>>16)|0);e=c[e>>2]|0;l=f;return e|0}}else if((a|0)>=192){c[e>>2]=32767;e=c[e>>2]|0;l=f;return e|0}else{c[d>>2]=c[b>>2]>>5;c[e>>2]=(c[18008+(c[d>>2]<<2)>>2]|0)+(N((c[17984+(c[d>>2]<<2)>>2]&65535)<<16>>16,(c[b>>2]&31)<<16>>16)|0);e=c[e>>2]|0;l=f;return e|0}return 0}function dg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;h=n+24|0;j=n+20|0;g=n+16|0;f=n+12|0;m=n+8|0;i=n+4|0;k=n;c[h>>2]=a;c[j>>2]=b;c[g>>2]=d;c[f>>2]=e;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[f>>2]|0))break;c[(c[j>>2]|0)+(c[i>>2]<<2)>>2]=c[i>>2];c[i>>2]=(c[i>>2]|0)+1}c[i>>2]=1;while(1){if((c[i>>2]|0)>=(c[f>>2]|0))break;c[m>>2]=c[(c[h>>2]|0)+(c[i>>2]<<2)>>2];c[k>>2]=(c[i>>2]|0)-1;while(1){if((c[k>>2]|0)<0)break;if((c[m>>2]|0)>=(c[(c[h>>2]|0)+(c[k>>2]<<2)>>2]|0))break;c[(c[h>>2]|0)+((c[k>>2]|0)+1<<2)>>2]=c[(c[h>>2]|0)+(c[k>>2]<<2)>>2];c[(c[j>>2]|0)+((c[k>>2]|0)+1<<2)>>2]=c[(c[j>>2]|0)+(c[k>>2]<<2)>>2];c[k>>2]=(c[k>>2]|0)+-1}c[(c[h>>2]|0)+((c[k>>2]|0)+1<<2)>>2]=c[m>>2];c[(c[j>>2]|0)+((c[k>>2]|0)+1<<2)>>2]=c[i>>2];c[i>>2]=(c[i>>2]|0)+1}c[i>>2]=c[f>>2];while(1){if((c[i>>2]|0)>=(c[g>>2]|0))break;c[m>>2]=c[(c[h>>2]|0)+(c[i>>2]<<2)>>2];if((c[m>>2]|0)<(c[(c[h>>2]|0)+((c[f>>2]|0)-1<<2)>>2]|0)){c[k>>2]=(c[f>>2]|0)-2;while(1){if((c[k>>2]|0)<0)break;if((c[m>>2]|0)>=(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=l;l=l+96|0;x=G+80|0;o=G+76|0;v=G+72|0;y=G+68|0;H=G+64|0;u=G+60|0;p=G+56|0;n=G+52|0;B=G+48|0;w=G+44|0;s=G+40|0;A=G+32|0;t=G+28|0;q=G+24|0;r=G+20|0;E=G+16|0;D=G+12|0;C=G+8|0;F=G+4|0;z=G;c[x>>2]=a;c[o>>2]=b;c[v>>2]=e;c[y>>2]=f;c[H>>2]=h;c[u>>2]=i;c[p>>2]=j;c[n>>2]=k;c[B>>2]=26380+((c[n>>2]|0)*84|0)+((c[H>>2]|0)*42|0);c[A>>2]=0;c[A+4>>2]=0;if(c[H>>2]|0){g[t>>2]=0.0;g[q>>2]=.149993896484375}else{g[q>>2]=+g[17580+(c[n>>2]<<2)>>2];g[t>>2]=+g[17564+(c[n>>2]<<2)>>2]}c[r>>2]=c[(c[u>>2]|0)+4>>2]<<3;c[w>>2]=c[o>>2];while(1){if((c[w>>2]|0)>=(c[v>>2]|0))break;c[s>>2]=0;do{c[E>>2]=Kc(c[u>>2]|0)|0;do if(((c[r>>2]|0)-(c[E>>2]|0)|0)<15){if(((c[r>>2]|0)-(c[E>>2]|0)|0)>=2){c[D>>2]=Pb(c[u>>2]|0,26716,2)|0;c[D>>2]=c[D>>2]>>1^0-(c[D>>2]&1);break}if(((c[r>>2]|0)-(c[E>>2]|0)|0)>=1){c[D>>2]=0-(Ob(c[u>>2]|0,1)|0);break}else{c[D>>2]=-1;break}}else{c[z>>2]=((c[w>>2]|0)<20?c[w>>2]|0:20)<<1;c[D>>2]=oc(c[u>>2]|0,(d[(c[B>>2]|0)+(c[z>>2]|0)>>0]|0)<<7,(d[(c[B>>2]|0)+((c[z>>2]|0)+1)>>0]|0)<<6)|0}while(0);g[C>>2]=+(c[D>>2]|0);if(-9.0>+g[(c[y>>2]|0)+((c[w>>2]|0)+(N(c[s>>2]|0,c[(c[x>>2]|0)+8>>2]|0)|0)<<2)>>2])m=-9.0;else m=+g[(c[y>>2]|0)+((c[w>>2]|0)+(N(c[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2]=b;c[m>>2]=d;c[t>>2]=e;c[i>>2]=f;c[s>>2]=h;c[u>>2]=0;if((c[s>>2]|0)==0?1:(c[i>>2]<<1|0)>=(c[q>>2]|0)){l=w;return}c[n>>2]=c[17596+((c[s>>2]|0)-1<<2)>>2];g[o>>2]=+(c[q>>2]|0)*1.0/+((c[q>>2]|0)+(N(c[n>>2]|0,c[i>>2]|0)|0)|0);g[v>>2]=+g[o>>2]*+g[o>>2]*.5;g[k>>2]=+D(+(+g[v>>2]*1.5707963705062866));g[r>>2]=+D(+((1.0-+g[v>>2])*1.5707963705062866));a:do if((c[q>>2]|0)>=(c[t>>2]<<3|0)){c[u>>2]=1;while(1){v=N(c[u>>2]|0,c[u>>2]|0)|0;v=N(v+(c[u>>2]|0)|0,c[t>>2]|0)|0;if((v+(c[t>>2]>>2)|0)>=(c[q>>2]|0))break a;c[u>>2]=(c[u>>2]|0)+1}}while(0);c[q>>2]=_c(c[q>>2]|0,c[t>>2]|0)|0;c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[t>>2]|0))break;if((c[m>>2]|0)>=0){v=(c[j>>2]|0)+((N(c[p>>2]|0,c[q>>2]|0)|0)<<2)|0;$c(v,c[q>>2]|0,1,+g[k>>2],-+g[r>>2]);if(c[u>>2]|0){v=(c[j>>2]|0)+((N(c[p>>2]|0,c[q>>2]|0)|0)<<2)|0;$c(v,c[q>>2]|0,c[u>>2]|0,+g[r>>2],-+g[k>>2])}}else{if(c[u>>2]|0){v=(c[j>>2]|0)+((N(c[p>>2]|0,c[q>>2]|0)|0)<<2)|0;$c(v,c[q>>2]|0,c[u>>2]|0,+g[r>>2],+g[k>>2])}v=(c[j>>2]|0)+((N(c[p>>2]|0,c[q>>2]|0)|0)<<2)|0;$c(v,c[q>>2]|0,1,+g[k>>2],+g[r>>2])}c[p>>2]=(c[p>>2]|0)+1}l=w;return}function Zc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,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;b=b|0;d=d|0;e=+e;f=+f;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;n=l;l=l+32|0;m=n+28|0;i=n+24|0;h=n+20|0;q=n+16|0;o=n+12|0;k=n+8|0;p=n+4|0;j=n;c[m>>2]=a;c[i>>2]=b;c[h>>2]=d;g[q>>2]=e;g[o>>2]=f;g[p>>2]=+g[q>>2];f=1.0/+B(+(+g[p>>2]));g[j>>2]=f*+g[o>>2];c[k>>2]=0;do{g[(c[i>>2]|0)+(c[k>>2]<<2)>>2]=+g[j>>2]*+(c[(c[m>>2]|0)+(c[k>>2]<<2)>>2]|0);q=(c[k>>2]|0)+1|0;c[k>>2]=q}while((q|0)<(c[h>>2]|0));l=n;return}function cd(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;k=l;l=l+48|0;m=k+32|0;f=k+28|0;n=k+24|0;i=k+16|0;p=k+12|0;h=k+8|0;o=k+4|0;j=k;c[m>>2]=a;c[f>>2]=b;g[n>>2]=d;c[k+20>>2]=e;g[p>>2]=+dd(c[m>>2]|0,c[m>>2]|0,c[f>>2]|0)+1.0000000036274937e-15;g[o>>2]=+g[p>>2];d=1.0/+B(+(+g[o>>2]));g[h>>2]=d*+g[n>>2];c[j>>2]=c[m>>2];c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[f>>2]|0))break;g[c[j>>2]>>2]=+g[h>>2]*+g[c[j>>2]>>2];c[j>>2]=(c[j>>2]|0)+4;c[i>>2]=(c[i>>2]|0)+1}l=k;return}function dd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;i=m+16|0;k=m+12|0;f=m+8|0;h=m+4|0;j=m;c[i>>2]=a;c[k>>2]=b;c[f>>2]=d;g[j>>2]=0.0;c[h>>2]=0;while(1){e=+g[j>>2];if((c[h>>2]|0)>=(c[f>>2]|0))break;g[j>>2]=e+ +g[(c[i>>2]|0)+(c[h>>2]<<2)>>2]*+g[(c[k>>2]|0)+(c[h>>2]<<2)>>2];c[h>>2]=(c[h>>2]|0)+1}l=m;return +e}function ed(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0;t=l;l=l+64|0;k=t+48|0;m=t+44|0;u=t+40|0;j=t+36|0;n=t+28|0;o=t+24|0;q=t+20|0;s=t+16|0;h=t+12|0;i=t+8|0;p=t+4|0;r=t;c[k>>2]=a;c[m>>2]=b;c[u>>2]=d;c[j>>2]=e;c[t+32>>2]=f;g[i>>2]=1.0000000036274937e-15;g[h>>2]=1.0000000036274937e-15;a:do if(c[u>>2]|0){c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[j>>2]|0))break a;g[p>>2]=+g[(c[k>>2]|0)+(c[n>>2]<<2)>>2]+ +g[(c[m>>2]|0)+(c[n>>2]<<2)>>2];g[r>>2]=+g[(c[k>>2]|0)+(c[n>>2]<<2)>>2]-+g[(c[m>>2]|0)+(c[n>>2]<<2)>>2];g[h>>2]=+g[h>>2]+ +g[p>>2]*+g[p>>2];g[i>>2]=+g[i>>2]+ +g[r>>2]*+g[r>>2];c[n>>2]=(c[n>>2]|0)+1}}else{v=+dd(c[k>>2]|0,c[k>>2]|0,c[j>>2]|0);g[h>>2]=+g[h>>2]+v;v=+dd(c[m>>2]|0,c[m>>2]|0,c[j>>2]|0);g[i>>2]=+g[i>>2]+v}while(0);g[q>>2]=+B(+(+g[h>>2]));g[s>>2]=+B(+(+g[i>>2]));c[o>>2]=~~+z(+(+J(+(+g[s>>2]),+(+g[q>>2]))*10430.3818359375+.5));l=t;return c[o>>2]|0}function fd(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;g=h+12|0;f=h+8|0;e=h+4|0;d=h;c[g>>2]=a;c[e>>2]=32767/((c[(c[g>>2]|0)+2340>>2]|0)+1|0)|0;c[d>>2]=0;c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[(c[g>>2]|0)+2340>>2]|0))break;c[d>>2]=(c[d>>2]|0)+(c[e>>2]|0);b[(c[g>>2]|0)+2772+1280+(c[f>>2]<<1)>>1]=c[d>>2];c[f>>2]=(c[f>>2]|0)+1}c[(c[g>>2]|0)+2772+1376>>2]=0;c[(c[g>>2]|0)+2772+1380>>2]=3176576;l=h;return}function gd(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+80|0;q=t+40|0;h=t+36|0;m=t+32|0;o=t+28|0;n=t+24|0;i=t+20|0;s=t+16|0;g=t+12|0;j=t+8|0;k=t+48|0;p=t+4|0;r=t;c[q>>2]=a;c[h>>2]=d;c[m>>2]=e;c[o>>2]=f;c[p>>2]=(c[q>>2]|0)+2772;if((c[(c[q>>2]|0)+2316>>2]|0)!=(c[(c[p>>2]|0)+1384>>2]|0)){fd(c[q>>2]|0);c[(c[p>>2]|0)+1384>>2]=c[(c[q>>2]|0)+2316>>2]}a:do if((c[(c[q>>2]|0)+4160>>2]|0)==0?(c[(c[q>>2]|0)+4164>>2]|0)==0:0){c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[(c[q>>2]|0)+2340>>2]|0))break;d=(c[p>>2]|0)+1280+(c[n>>2]<<1)|0;b[d>>1]=(b[d>>1]|0)+((((b[(c[q>>2]|0)+2344+(c[n>>2]<<1)>>1]|0)-(b[(c[p>>2]|0)+1280+(c[n>>2]<<1)>>1]|0)>>16)*16348|0)+(((b[(c[q>>2]|0)+2344+(c[n>>2]<<1)>>1]|0)-(b[(c[p>>2]|0)+1280+(c[n>>2]<<1)>>1]|0)&65535)*16348>>16));c[n>>2]=(c[n>>2]|0)+1}c[g>>2]=0;c[i>>2]=0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[(c[q>>2]|0)+2324>>2]|0))break;if((c[(c[h>>2]|0)+16+(c[n>>2]<<2)>>2]|0)>(c[g>>2]|0)){c[g>>2]=c[(c[h>>2]|0)+16+(c[n>>2]<<2)>>2];c[i>>2]=c[n>>2]}c[n>>2]=(c[n>>2]|0)+1}$i((c[p>>2]|0)+(c[(c[q>>2]|0)+2332>>2]<<2)|0,c[p>>2]|0,(N((c[(c[q>>2]|0)+2324>>2]|0)-1|0,c[(c[q>>2]|0)+2332>>2]|0)|0)<<2|0)|0;i=(c[q>>2]|0)+4+((N(c[i>>2]|0,c[(c[q>>2]|0)+2332>>2]|0)|0)<<2)|0;_i(c[p>>2]|0,i|0,c[(c[q>>2]|0)+2332>>2]<<2|0)|0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[(c[q>>2]|0)+2324>>2]|0))break a;i=(c[p>>2]|0)+1376|0;c[i>>2]=(c[i>>2]|0)+((((c[(c[h>>2]|0)+16+(c[n>>2]<<2)>>2]|0)-(c[(c[p>>2]|0)+1376>>2]|0)>>16)*4634|0)+(((c[(c[h>>2]|0)+16+(c[n>>2]<<2)>>2]|0)-(c[(c[p>>2]|0)+1376>>2]|0)&65535)*4634>>16));c[n>>2]=(c[n>>2]|0)+1}}while(0);if(!(c[(c[q>>2]|0)+4160>>2]|0)){aj((c[p>>2]|0)+1312|0,0,c[(c[q>>2]|0)+2340>>2]<<2|0)|0;l=t;return}i=(c[o>>2]|0)+16|0;c[r>>2]=$()|0;a=l;l=l+((1*(i<<2)|0)+15&-16)|0;i=N(b[(c[q>>2]|0)+4168+56>>1]>>16,(c[(c[q>>2]|0)+4168+72+4>>2]&65535)<<16>>16)|0;i=i+((N(b[(c[q>>2]|0)+4168+56>>1]&65535,(c[(c[q>>2]|0)+4168+72+4>>2]&65535)<<16>>16)|0)>>16)|0;c[j>>2]=i+(N(b[(c[q>>2]|0)+4168+56>>1]|0,(c[(c[q>>2]|0)+4168+72+4>>2]>>15)+1>>1)|0);if((c[j>>2]|0)<2097152?(c[(c[p>>2]|0)+1376>>2]|0)<=8388608:0){i=N(c[j>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;i=i+((N(c[j>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16)|0;c[j>>2]=i+(N(c[j>>2]|0,(c[j>>2]>>15)+1>>1)|0);i=N(c[(c[p>>2]|0)+1376>>2]>>16,(c[(c[p>>2]|0)+1376>>2]&65535)<<16>>16)|0;i=i+((N(c[(c[p>>2]|0)+1376>>2]&65535,(c[(c[p>>2]|0)+1376>>2]&65535)<<16>>16)|0)>>16)|0;i=i+(N(c[(c[p>>2]|0)+1376>>2]|0,(c[(c[p>>2]|0)+1376>>2]>>15)+1>>1)|0)|0;c[j>>2]=i-(c[j>>2]<<5);c[j>>2]=(hd(c[j>>2]|0)|0)<<8}else{c[j>>2]=N(c[j>>2]>>16,c[j>>2]>>16)|0;i=N(c[(c[p>>2]|0)+1376>>2]>>16,c[(c[p>>2]|0)+1376>>2]>>16)|0;c[j>>2]=i-(c[j>>2]<<5);c[j>>2]=(hd(c[j>>2]|0)|0)<<16}id(a+64|0,c[p>>2]|0,c[j>>2]|0,c[o>>2]|0,(c[p>>2]|0)+1380|0);Lf(k,(c[p>>2]|0)+1280|0,c[(c[q>>2]|0)+2340>>2]|0);e=a;f=(c[p>>2]|0)+1312|0;g=e+64|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[o>>2]|0))break;c[s>>2]=c[(c[q>>2]|0)+2340>>2]>>1;j=N(c[a+(16+(c[n>>2]|0)-1<<2)>>2]>>16,b[k>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(j+((N(c[a+(16+(c[n>>2]|0)-1<<2)>>2]&65535,b[k>>1]|0)|0)>>16));j=N(c[a+(16+(c[n>>2]|0)-2<<2)>>2]>>16,b[k+2>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(j+((N(c[a+(16+(c[n>>2]|0)-2<<2)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>>2]&65535,b[k+18>>1]|0)|0)>>16));if((c[(c[q>>2]|0)+2340>>2]|0)==16){j=N(c[a+(16+(c[n>>2]|0)-11<<2)>>2]>>16,b[k+20>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(j+((N(c[a+(16+(c[n>>2]|0)-11<<2)>>2]&65535,b[k+20>>1]|0)|0)>>16));j=N(c[a+(16+(c[n>>2]|0)-12<<2)>>2]>>16,b[k+22>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(j+((N(c[a+(16+(c[n>>2]|0)-12<<2)>>2]&65535,b[k+22>>1]|0)|0)>>16));j=N(c[a+(16+(c[n>>2]|0)-13<<2)>>2]>>16,b[k+24>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(j+((N(c[a+(16+(c[n>>2]|0)-13<<2)>>2]&65535,b[k+24>>1]|0)|0)>>16));j=N(c[a+(16+(c[n>>2]|0)-14<<2)>>2]>>16,b[k+26>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(j+((N(c[a+(16+(c[n>>2]|0)-14<<2)>>2]&65535,b[k+26>>1]|0)|0)>>16));j=N(c[a+(16+(c[n>>2]|0)-15<<2)>>2]>>16,b[k+28>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(j+((N(c[a+(16+(c[n>>2]|0)-15<<2)>>2]&65535,b[k+28>>1]|0)|0)>>16));j=N(c[a+(16+(c[n>>2]|0)-16<<2)>>2]>>16,b[k+30>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(j+((N(c[a+(16+(c[n>>2]|0)-16<<2)>>2]&65535,b[k+30>>1]|0)|0)>>16))}c[a+(16+(c[n>>2]|0)<<2)>>2]=(c[a+(16+(c[n>>2]|0)<<2)>>2]|0)+(c[s>>2]<<4);if(((b[(c[m>>2]|0)+(c[n>>2]<<1)>>1]|0)+((c[a+(16+(c[n>>2]|0)<<2)>>2]>>9)+1>>1)|0)<=32767)if(((b[(c[m>>2]|0)+(c[n>>2]<<1)>>1]|0)+((c[a+(16+(c[n>>2]|0)<<2)>>2]>>9)+1>>1)|0)<-32768)e=-32768;else e=(b[(c[m>>2]|0)+(c[n>>2]<<1)>>1]|0)+((c[a+(16+(c[n>>2]|0)<<2)>>2]>>9)+1>>1)|0;else e=32767;b[(c[m>>2]|0)+(c[n>>2]<<1)>>1]=e;c[n>>2]=(c[n>>2]|0)+1}e=(c[p>>2]|0)+1312|0;f=a+(c[o>>2]<<2)|0;g=e+64|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(g|0));_(c[r>>2]|0);l=t;return}function hd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;e=h+16|0;f=h+12|0;g=h+8|0;d=h+4|0;b=h;c[f>>2]=a;if((c[f>>2]|0)<=0){c[e>>2]=0;g=c[e>>2]|0;l=h;return g|0}jd(c[f>>2]|0,d,b);if(c[d>>2]&1|0)c[g>>2]=32768;else c[g>>2]=46214;c[g>>2]=c[g>>2]>>(c[d>>2]>>1);f=N(c[g>>2]>>16,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[g>>2]&65535,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[e>>2]=c[g>>2];g=c[e>>2]|0;l=h;return g|0}function id(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+48|0;h=q+32|0;i=q+28|0;g=q+24|0;n=q+20|0;o=q+16|0;p=q+12|0;k=q+8|0;m=q+4|0;j=q;c[h>>2]=a;c[i>>2]=b;c[g>>2]=d;c[n>>2]=e;c[o>>2]=f;c[j>>2]=255;while(1){if((c[j>>2]|0)<=(c[n>>2]|0))break;c[j>>2]=c[j>>2]>>1}c[p>>2]=c[c[o>>2]>>2];c[k>>2]=0;while(1){d=c[p>>2]|0;if((c[k>>2]|0)>=(c[n>>2]|0))break;c[p>>2]=907633515+(N(d,196314165)|0);c[m>>2]=c[p>>2]>>24&c[j>>2];f=N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]>>16,(c[g>>2]>>4&65535)<<16>>16)|0;f=f+((N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]&65535,(c[g>>2]>>4&65535)<<16>>16)|0)>>16)|0;if((f+(N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]|0,(c[g>>2]>>4>>15)+1>>1)|0)|0)<=32767){f=N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]>>16,(c[g>>2]>>4&65535)<<16>>16)|0;f=f+((N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]&65535,(c[g>>2]>>4&65535)<<16>>16)|0)>>16)|0;if((f+(N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]|0,(c[g>>2]>>4>>15)+1>>1)|0)|0)<-32768)d=-32768;else{d=N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]>>16,(c[g>>2]>>4&65535)<<16>>16)|0;d=d+((N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]&65535,(c[g>>2]>>4&65535)<<16>>16)|0)>>16)|0;d=d+(N(c[(c[i>>2]|0)+(c[m>>2]<<2)>>2]|0,(c[g>>2]>>4>>15)+1>>1)|0)|0}}else d=32767;c[(c[h>>2]|0)+(c[k>>2]<<2)>>2]=(d&65535)<<16>>16;c[k>>2]=(c[k>>2]|0)+1}c[c[o>>2]>>2]=d;l=q;return}function jd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=kd(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];b=(ld(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=b;l=e;return}function kd(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function ld(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;g=j+20|0;d=j+16|0;h=j+12|0;i=j+8|0;f=j+4|0;e=j;c[d>>2]=a;c[h>>2]=b;c[i>>2]=c[d>>2];c[f>>2]=c[h>>2];c[e>>2]=0-(c[h>>2]|0);if(!(c[h>>2]|0)){c[g>>2]=c[d>>2];i=c[g>>2]|0;l=j;return i|0}a=c[i>>2]|0;if((c[h>>2]|0)<0){c[g>>2]=a<>2]|(c[i>>2]|0)>>>(32-(c[e>>2]|0)|0);i=c[g>>2]|0;l=j;return i|0}else{c[g>>2]=a<<32-(c[f>>2]|0)|(c[i>>2]|0)>>>(c[f>>2]|0);i=c[g>>2]|0;l=j;return i|0}return 0}function md(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;s=l;l=l+48|0;p=s+40|0;v=s+36|0;n=s+32|0;t=s+28|0;u=s+24|0;r=s+20|0;i=s+16|0;m=s+12|0;o=s+8|0;j=s+44|0;q=s+4|0;k=s;c[p>>2]=b;c[v>>2]=d;c[n>>2]=e;c[t>>2]=f;c[u>>2]=g;c[r>>2]=h;a[j+1>>0]=0;c[q>>2]=c[v>>2];c[i>>2]=(((c[u>>2]|0)+(c[t>>2]<<1)&65535)<<16>>16)*7;c[k>>2]=30180+(c[i>>2]|0);c[n>>2]=(c[n>>2]|0)+8>>4;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[n>>2]|0))break;c[o>>2]=c[(c[r>>2]|0)+(c[i>>2]<<2)>>2];a:do if((c[o>>2]|0)>0){a[j>>0]=a[(c[k>>2]|0)+((c[o>>2]&31|0)<6?c[o>>2]&31:6)>>0]|0;c[m>>2]=0;while(1){if((c[m>>2]|0)>=16)break a;if(a[(c[q>>2]|0)+(c[m>>2]|0)>>0]|0)$b(c[p>>2]|0,(a[(c[q>>2]|0)+(c[m>>2]|0)>>0]>>15)+1|0,j,8);c[m>>2]=(c[m>>2]|0)+1}}while(0);c[q>>2]=(c[q>>2]|0)+16;c[i>>2]=(c[i>>2]|0)+1}l=s;return}function nd(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;t=l;l=l+48|0;q=t+40|0;w=t+36|0;o=t+32|0;u=t+28|0;v=t+24|0;s=t+20|0;j=t+16|0;n=t+12|0;p=t+8|0;k=t+44|0;r=t+4|0;m=t;c[q>>2]=d;c[w>>2]=e;c[o>>2]=f;c[u>>2]=g;c[v>>2]=h;c[s>>2]=i;a[k+1>>0]=0;c[r>>2]=c[w>>2];c[j>>2]=(((c[v>>2]|0)+(c[u>>2]<<1)&65535)<<16>>16)*7;c[m>>2]=30180+(c[j>>2]|0);c[o>>2]=(c[o>>2]|0)+8>>4;c[j>>2]=0;while(1){if((c[j>>2]|0)>=(c[o>>2]|0))break;c[p>>2]=c[(c[s>>2]|0)+(c[j>>2]<<2)>>2];a:do if((c[p>>2]|0)>0){a[k>>0]=a[(c[m>>2]|0)+((c[p>>2]&31|0)<6?c[p>>2]&31:6)>>0]|0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=16)break a;if((b[(c[r>>2]|0)+(c[n>>2]<<1)>>1]|0)>0){v=((Pb(c[q>>2]|0,k,8)|0)<<1)-1|0;w=(c[r>>2]|0)+(c[n>>2]<<1)|0;b[w>>1]=N(b[w>>1]|0,v)|0}c[n>>2]=(c[n>>2]|0)+1}}while(0);c[r>>2]=(c[r>>2]|0)+32;c[j>>2]=(c[j>>2]|0)+1}l=t;return}function od(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;aj(c[d>>2]|0,0,4260)|0;c[(c[d>>2]|0)+2376>>2]=1;c[c[d>>2]>>2]=65536;fd(c[d>>2]|0);ie(c[d>>2]|0);l=b;return 0}function pd(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=l;l=l+144|0;E=M+100|0;F=M+96|0;L=M+92|0;m=M+88|0;v=M+84|0;x=M+80|0;z=M+76|0;A=M+72|0;K=M+68|0;H=M+64|0;u=M+60|0;J=M+56|0;o=M+52|0;q=M+48|0;G=M+44|0;p=M+104|0;t=M+40|0;s=M+36|0;r=M+32|0;y=M+28|0;w=M+24|0;n=M+20|0;k=M+16|0;C=M+12|0;B=M+8|0;D=M+4|0;I=M;c[E>>2]=d;c[F>>2]=e;c[L>>2]=f;c[m>>2]=g;c[v>>2]=h;c[A>>2]=0;f=c[(c[E>>2]|0)+2336>>2]|0;c[I>>2]=$()|0;g=l;l=l+((1*(f<<1)|0)+15&-16)|0;f=l;l=l+((1*((c[(c[E>>2]|0)+2336>>2]|0)+(c[(c[E>>2]|0)+2328>>2]|0)<<2)|0)+15&-16)|0;i=l;l=l+((1*(c[(c[E>>2]|0)+2332>>2]<<2)|0)+15&-16)|0;j=l;l=l+((1*((c[(c[E>>2]|0)+2332>>2]|0)+16<<2)|0)+15&-16)|0;c[k>>2]=b[24558+(a[(c[E>>2]|0)+2736+29>>0]>>1<<2)+(a[(c[E>>2]|0)+2736+30>>0]<<1)>>1];if((a[(c[E>>2]|0)+2736+31>>0]|0)<4)c[u>>2]=1;else c[u>>2]=0;c[n>>2]=a[(c[E>>2]|0)+2736+34>>0];c[x>>2]=0;while(1){if((c[x>>2]|0)>=(c[(c[E>>2]|0)+2328>>2]|0))break;c[n>>2]=907633515+(N(c[n>>2]|0,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<<2)>>2]|0,16)|0;c[x>>2]=0;while(1){if((c[x>>2]|0)>=16)break a;n=N(c[w>>2]>>16,(c[j+(c[x>>2]<<2)>>2]&65535)<<16>>16)|0;n=n+((N(c[w>>2]&65535,(c[j+(c[x>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;n=n+(N(c[w>>2]|0,(c[j+(c[x>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[j+(c[x>>2]<<2)>>2]=n;c[x>>2]=(c[x>>2]|0)+1}}else c[w>>2]=65536;while(0);c[c[E>>2]>>2]=c[(c[F>>2]|0)+16+(c[z>>2]<<2)>>2];if((c[(c[E>>2]|0)+4160>>2]|0?(c[(c[E>>2]|0)+4164>>2]|0)==2:0)?((c[z>>2]|0)<2?(a[(c[E>>2]|0)+2736+29>>0]|0)!=2:0):0){n=c[q>>2]|0;b[n>>1]=0;b[n+2>>1]=0;b[n+4>>1]=0;b[n+6>>1]=0;b[n+8>>1]=0;b[(c[q>>2]|0)+4>>1]=4096;c[J>>2]=2;c[(c[F>>2]|0)+(c[z>>2]<<2)>>2]=c[(c[E>>2]|0)+2308>>2]}b:do if((c[J>>2]|0)==2){c[A>>2]=c[(c[F>>2]|0)+(c[z>>2]<<2)>>2];if(c[z>>2]|0?!((c[z>>2]|0)==2&(c[u>>2]|0)!=0):0){if((c[w>>2]|0)==65536)break;c[x>>2]=0;while(1){if((c[x>>2]|0)>=((c[A>>2]|0)+2|0))break b;n=N(c[w>>2]>>16,(c[f+((c[H>>2]|0)-(c[x>>2]|0)-1<<2)>>2]&65535)<<16>>16)|0;n=n+((N(c[w>>2]&65535,(c[f+((c[H>>2]|0)-(c[x>>2]|0)-1<<2)>>2]&65535)<<16>>16)|0)>>16)|0;n=n+(N(c[w>>2]|0,(c[f+((c[H>>2]|0)-(c[x>>2]|0)-1<<2)>>2]>>15)+1>>1)|0)|0;c[f+((c[H>>2]|0)-(c[x>>2]|0)-1<<2)>>2]=n;c[x>>2]=(c[x>>2]|0)+1}}c[K>>2]=(c[(c[E>>2]|0)+2336>>2]|0)-(c[A>>2]|0)-(c[(c[E>>2]|0)+2340>>2]|0)-2;if((c[z>>2]|0)==2)_i((c[E>>2]|0)+1348+(c[(c[E>>2]|0)+2336>>2]<<1)|0,c[L>>2]|0,c[(c[E>>2]|0)+2332>>2]<<1<<1|0)|0;n=(c[E>>2]|0)+1348+((c[K>>2]|0)+(N(c[z>>2]|0,c[(c[E>>2]|0)+2332>>2]|0)|0)<<1)|0;Gf(g+(c[K>>2]<<1)|0,n,c[o>>2]|0,(c[(c[E>>2]|0)+2336>>2]|0)-(c[K>>2]|0)|0,c[(c[E>>2]|0)+2340>>2]|0,c[v>>2]|0);if(!(c[z>>2]|0)){n=N(c[y>>2]>>16,(c[(c[F>>2]|0)+136>>2]&65535)<<16>>16)|0;c[y>>2]=n+((N(c[y>>2]&65535,(c[(c[F>>2]|0)+136>>2]&65535)<<16>>16)|0)>>16)<<2}c[x>>2]=0;while(1){if((c[x>>2]|0)>=((c[A>>2]|0)+2|0))break b;n=N(c[y>>2]>>16,b[g+((c[(c[E>>2]|0)+2336>>2]|0)-(c[x>>2]|0)-1<<1)>>1]|0)|0;n=n+((N(c[y>>2]&65535,b[g+((c[(c[E>>2]|0)+2336>>2]|0)-(c[x>>2]|0)-1<<1)>>1]|0)|0)>>16)|0;c[f+((c[H>>2]|0)-(c[x>>2]|0)-1<<2)>>2]=n;c[x>>2]=(c[x>>2]|0)+1}}while(0);c:do if((c[J>>2]|0)==2){c[C>>2]=f+((c[H>>2]|0)-(c[A>>2]|0)+2<<2);c[x>>2]=0;while(1){if((c[x>>2]|0)>=(c[(c[E>>2]|0)+2332>>2]|0))break c;c[t>>2]=2;n=N(c[c[C>>2]>>2]>>16,b[c[q>>2]>>1]|0)|0;c[t>>2]=(c[t>>2]|0)+(n+((N(c[c[C>>2]>>2]&65535,b[c[q>>2]>>1]|0)|0)>>16));n=N(c[(c[C>>2]|0)+-4>>2]>>16,b[(c[q>>2]|0)+2>>1]|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>>1]|0)|0)>>16));if((c[(c[E>>2]|0)+2340>>2]|0)==16){n=N(c[j+(16+(c[x>>2]|0)-11<<2)>>2]>>16,b[p+20>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(n+((N(c[j+(16+(c[x>>2]|0)-11<<2)>>2]&65535,b[p+20>>1]|0)|0)>>16));n=N(c[j+(16+(c[x>>2]|0)-12<<2)>>2]>>16,b[p+22>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(n+((N(c[j+(16+(c[x>>2]|0)-12<<2)>>2]&65535,b[p+22>>1]|0)|0)>>16));n=N(c[j+(16+(c[x>>2]|0)-13<<2)>>2]>>16,b[p+24>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(n+((N(c[j+(16+(c[x>>2]|0)-13<<2)>>2]&65535,b[p+24>>1]|0)|0)>>16));n=N(c[j+(16+(c[x>>2]|0)-14<<2)>>2]>>16,b[p+26>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(n+((N(c[j+(16+(c[x>>2]|0)-14<<2)>>2]&65535,b[p+26>>1]|0)|0)>>16));n=N(c[j+(16+(c[x>>2]|0)-15<<2)>>2]>>16,b[p+28>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(n+((N(c[j+(16+(c[x>>2]|0)-15<<2)>>2]&65535,b[p+28>>1]|0)|0)>>16));n=N(c[j+(16+(c[x>>2]|0)-16<<2)>>2]>>16,b[p+30>>1]|0)|0;c[s>>2]=(c[s>>2]|0)+(n+((N(c[j+(16+(c[x>>2]|0)-16<<2)>>2]&65535,b[p+30>>1]|0)|0)>>16))}c[j+(16+(c[x>>2]|0)<<2)>>2]=(c[(c[D>>2]|0)+(c[x>>2]<<2)>>2]|0)+(c[s>>2]<<4);n=N(c[j+(16+(c[x>>2]|0)<<2)>>2]>>16,(c[r>>2]&65535)<<16>>16)|0;n=n+((N(c[j+(16+(c[x>>2]|0)<<2)>>2]&65535,(c[r>>2]&65535)<<16>>16)|0)>>16)|0;if(((n+(N(c[j+(16+(c[x>>2]|0)<<2)>>2]|0,(c[r>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<=32767){n=N(c[j+(16+(c[x>>2]|0)<<2)>>2]>>16,(c[r>>2]&65535)<<16>>16)|0;n=n+((N(c[j+(16+(c[x>>2]|0)<<2)>>2]&65535,(c[r>>2]&65535)<<16>>16)|0)>>16)|0;if(((n+(N(c[j+(16+(c[x>>2]|0)<<2)>>2]|0,(c[r>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)h=-32768;else{h=N(c[j+(16+(c[x>>2]|0)<<2)>>2]>>16,(c[r>>2]&65535)<<16>>16)|0;h=h+((N(c[j+(16+(c[x>>2]|0)<<2)>>2]&65535,(c[r>>2]&65535)<<16>>16)|0)>>16)|0;h=(h+(N(c[j+(16+(c[x>>2]|0)<<2)>>2]|0,(c[r>>2]>>15)+1>>1)|0)>>7)+1>>1}}else h=32767;b[(c[G>>2]|0)+(c[x>>2]<<1)>>1]=h;c[x>>2]=(c[x>>2]|0)+1}h=j;d=j+(c[(c[E>>2]|0)+2332>>2]<<2)|0;e=h+64|0;do{c[h>>2]=c[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(e|0));c[B>>2]=(c[B>>2]|0)+(c[(c[E>>2]|0)+2332>>2]<<2);c[G>>2]=(c[G>>2]|0)+(c[(c[E>>2]|0)+2332>>2]<<1);c[z>>2]=(c[z>>2]|0)+1}h=(c[E>>2]|0)+1284|0;d=j;e=h+64|0;do{c[h>>2]=c[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(e|0));_(c[I>>2]|0);l=M;return}function qd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;h=l;l=l+48|0;g=h+32|0;n=h+28|0;d=h+24|0;i=h+20|0;f=h+16|0;j=h+12|0;m=h+8|0;k=h+4|0;e=h;c[n>>2]=a;c[d>>2]=b;b=c[n>>2]|0;c[i>>2]=(sd((c[n>>2]|0)>0?b:0-b|0)|0)-1;c[m>>2]=c[n>>2]<>2];c[j>>2]=536870911/(c[m>>2]>>16|0)|0;c[e>>2]=c[j>>2]<<16;b=N(c[m>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=536870912-(b+((N(c[m>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))<<3;b=N(c[k>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;b=(c[e>>2]|0)+(b+((N(c[k>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[e>>2]=b+(N(c[k>>2]|0,(c[j>>2]>>15)+1>>1)|0);c[f>>2]=61-(c[i>>2]|0)-(c[d>>2]|0);b=c[f>>2]|0;if((c[f>>2]|0)>0)if((b|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];n=c[g>>2]|0;l=h;return n|0}else{c[g>>2]=0;n=c[g>>2]|0;l=h;return n|0}a=c[e>>2]|0;d=0-(c[f>>2]|0)|0;do if((-2147483648>>0-b|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>d|0)){b=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){b=2147483647>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>d|0)){b=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){b=-2147483648>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}while(0);c[g>>2]=b<<0-(c[f>>2]|0);n=c[g>>2]|0;l=h;return n|0}function rd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+48|0;g=h+40|0;q=h+36|0;p=h+32|0;i=h+28|0;k=h+24|0;j=h+20|0;f=h+16|0;m=h+12|0;n=h+8|0;o=h+4|0;e=h;c[q>>2]=a;c[p>>2]=b;c[i>>2]=d;b=c[q>>2]|0;c[k>>2]=(sd((c[q>>2]|0)>0?b:0-b|0)|0)-1;c[n>>2]=c[q>>2]<>2];b=c[p>>2]|0;c[j>>2]=(sd((c[p>>2]|0)>0?b:0-b|0)|0)-1;c[o>>2]=c[p>>2]<>2];c[m>>2]=536870911/(c[o>>2]>>16|0)|0;b=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=b+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16);b=c[n>>2]|0;a=c[o>>2]|0;d=c[e>>2]|0;d=Xi(a|0,((a|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;d=Yi(d|0,y|0,32)|0;c[n>>2]=b-(d<<3);d=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(d+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));c[f>>2]=29+(c[k>>2]|0)-(c[j>>2]|0)-(c[i>>2]|0);d=c[f>>2]|0;if((c[f>>2]|0)>=0)if((d|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];q=c[g>>2]|0;l=h;return q|0}else{c[g>>2]=0;q=c[g>>2]|0;l=h;return q|0}a=c[e>>2]|0;b=0-(c[f>>2]|0)|0;do if((-2147483648>>0-d|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>b|0)){d=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){d=2147483647>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>b|0)){d=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){d=-2147483648>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}while(0);c[g>>2]=d<<0-(c[f>>2]|0);q=c[g>>2]|0;l=h;return q|0}function sd(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function td(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+192|0;r=x+180|0;t=x+176|0;q=x+172|0;p=x+168|0;n=x+164|0;m=x+160|0;k=x+156|0;j=x+152|0;o=x+148|0;u=x+144|0;s=x+4|0;v=x;c[r>>2]=b;c[t>>2]=d;c[q>>2]=e;c[p>>2]=f;c[n>>2]=g;c[m>>2]=h;c[k>>2]=i;c[u>>2]=0;c[j>>2]=c[(c[r>>2]|0)+2328>>2];c[s+136>>2]=0;do if(!(c[n>>2]|0))w=4;else{if((c[n>>2]|0)==2?(c[(c[r>>2]|0)+2420+(c[(c[r>>2]|0)+2388>>2]<<2)>>2]|0)==1:0){w=4;break}je(c[r>>2]|0,s,c[q>>2]|0,1,c[k>>2]|0)}while(0);if((w|0)==4){d=(c[j>>2]|0)+16-1&-16;c[v>>2]=$()|0;w=l;l=l+((1*(d<<1)|0)+15&-16)|0;vd(c[r>>2]|0,c[t>>2]|0,c[(c[r>>2]|0)+2388>>2]|0,c[n>>2]|0,c[m>>2]|0);wd(c[t>>2]|0,w,a[(c[r>>2]|0)+2736+29>>0]|0,a[(c[r>>2]|0)+2736+30>>0]|0,c[(c[r>>2]|0)+2328>>2]|0);ud(c[r>>2]|0,s,c[m>>2]|0);pd(c[r>>2]|0,s,c[q>>2]|0,w,c[k>>2]|0);je(c[r>>2]|0,s,c[q>>2]|0,0,c[k>>2]|0);c[(c[r>>2]|0)+4160>>2]=0;c[(c[r>>2]|0)+4164>>2]=a[(c[r>>2]|0)+2736+29>>0];c[(c[r>>2]|0)+2376>>2]=0;_(c[v>>2]|0)}c[o>>2]=(c[(c[r>>2]|0)+2336>>2]|0)-(c[(c[r>>2]|0)+2328>>2]|0);$i((c[r>>2]|0)+1348|0,(c[r>>2]|0)+1348+(c[(c[r>>2]|0)+2328>>2]<<1)|0,c[o>>2]<<1|0)|0;_i((c[r>>2]|0)+1348+(c[o>>2]<<1)|0,c[q>>2]|0,c[(c[r>>2]|0)+2328>>2]<<1|0)|0;gd(c[r>>2]|0,s,c[q>>2]|0,c[j>>2]|0);ue(c[r>>2]|0,c[q>>2]|0,c[j>>2]|0);c[(c[r>>2]|0)+2308>>2]=c[s+((c[(c[r>>2]|0)+2324>>2]|0)-1<<2)>>2];c[c[p>>2]>>2]=c[j>>2];l=x;return c[u>>2]|0}function ud(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;p=l;l=l+96|0;n=p+24|0;o=p+20|0;q=p+16|0;k=p+12|0;m=p+8|0;i=p+4|0;h=p+64|0;g=p+32|0;j=p;c[n>>2]=d;c[o>>2]=e;c[q>>2]=f;Ld((c[o>>2]|0)+16|0,(c[n>>2]|0)+2736|0,(c[n>>2]|0)+2312|0,(c[q>>2]|0)==2&1,c[(c[n>>2]|0)+2324>>2]|0);Rd(h,(c[n>>2]|0)+2736+8|0,c[(c[n>>2]|0)+2732>>2]|0);Lf((c[o>>2]|0)+32+32|0,h,c[(c[n>>2]|0)+2340>>2]|0);if((c[(c[n>>2]|0)+2376>>2]|0)==1)a[(c[n>>2]|0)+2736+31>>0]=4;if((a[(c[n>>2]|0)+2736+31>>0]|0)<4){c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[(c[n>>2]|0)+2340>>2]|0))break;q=(b[(c[n>>2]|0)+2344+(c[k>>2]<<1)>>1]|0)+((N(a[(c[n>>2]|0)+2736+31>>0]|0,(b[h+(c[k>>2]<<1)>>1]|0)-(b[(c[n>>2]|0)+2344+(c[k>>2]<<1)>>1]|0)|0)|0)>>2)&65535;b[g+(c[k>>2]<<1)>>1]=q;c[k>>2]=(c[k>>2]|0)+1}Lf((c[o>>2]|0)+32|0,g,c[(c[n>>2]|0)+2340>>2]|0)}else _i((c[o>>2]|0)+32|0,(c[o>>2]|0)+32+32|0,c[(c[n>>2]|0)+2340>>2]<<1|0)|0;_i((c[n>>2]|0)+2344|0,h|0,c[(c[n>>2]|0)+2340>>2]<<1|0)|0;if(c[(c[n>>2]|0)+4160>>2]|0){yf((c[o>>2]|0)+32|0,c[(c[n>>2]|0)+2340>>2]|0,63570);yf((c[o>>2]|0)+32+32|0,c[(c[n>>2]|0)+2340>>2]|0,63570)}if((a[(c[n>>2]|0)+2736+29>>0]|0)!=2){aj(c[o>>2]|0,0,c[(c[n>>2]|0)+2324>>2]<<2|0)|0;aj((c[o>>2]|0)+96|0,0,(c[(c[n>>2]|0)+2324>>2]|0)*5<<1|0)|0;a[(c[n>>2]|0)+2736+32>>0]=0;n=0;q=c[o>>2]|0;q=q+136|0;c[q>>2]=n;l=p;return}zf(b[(c[n>>2]|0)+2736+26>>1]|0,a[(c[n>>2]|0)+2736+28>>0]|0,c[o>>2]|0,c[(c[n>>2]|0)+2316>>2]|0,c[(c[n>>2]|0)+2324>>2]|0);c[j>>2]=c[17644+(a[(c[n>>2]|0)+2736+32>>0]<<2)>>2];c[m>>2]=0;while(1){f=(c[n>>2]|0)+2736|0;if((c[m>>2]|0)>=(c[(c[n>>2]|0)+2324>>2]|0))break;c[i>>2]=a[f+4+(c[m>>2]|0)>>0];c[k>>2]=0;while(1){if((c[k>>2]|0)>=5)break;b[(c[o>>2]|0)+96+(((c[m>>2]|0)*5|0)+(c[k>>2]|0)<<1)>>1]=a[(c[j>>2]|0)+(((c[i>>2]|0)*5|0)+(c[k>>2]|0))>>0]<<7;c[k>>2]=(c[k>>2]|0)+1}c[m>>2]=(c[m>>2]|0)+1}c[i>>2]=a[f+33>>0];n=b[24566+(c[i>>2]<<1)>>1]|0;q=c[o>>2]|0;q=q+136|0;c[q>>2]=n;l=p;return}function vd(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=l;l=l+96|0;r=t+36|0;s=t+32|0;u=t+28|0;v=t+24|0;n=t+20|0;k=t+16|0;q=t+12|0;i=t+8|0;o=t+4|0;p=t;j=t+40|0;m=t+72|0;c[r>>2]=d;c[s>>2]=e;c[u>>2]=f;c[v>>2]=g;c[n>>2]=h;if(!(c[v>>2]|0)?!(c[(c[r>>2]|0)+2404+(c[u>>2]<<2)>>2]|0):0)c[i>>2]=Pb(c[s>>2]|0,29020,8)|0;else c[i>>2]=(Pb(c[s>>2]|0,29016,8)|0)+2;a[(c[r>>2]|0)+2736+29>>0]=c[i>>2]>>1;a[(c[r>>2]|0)+2736+30>>0]=c[i>>2]&1;f=c[s>>2]|0;if((c[n>>2]|0)==2){v=(Pb(f,26767,8)|0)&255;a[(c[r>>2]|0)+2736>>0]=v}else{u=(Pb(f,26743+(a[(c[r>>2]|0)+2736+29>>0]<<3)|0,8)|0)<<3&255;a[(c[r>>2]|0)+2736>>0]=u;u=((Pb(c[s>>2]|0,29045,8)|0)&255)<<24>>24;v=(c[r>>2]|0)+2736|0;a[v>>0]=(a[v>>0]|0)+u}c[k>>2]=1;while(1){f=c[s>>2]|0;if((c[k>>2]|0)>=(c[(c[r>>2]|0)+2324>>2]|0))break;v=(Pb(f,26767,8)|0)&255;a[(c[r>>2]|0)+2736+(c[k>>2]|0)>>0]=v;c[k>>2]=(c[k>>2]|0)+1}v=(Pb(f,(c[(c[(c[r>>2]|0)+2732>>2]|0)+12>>2]|0)+(N(a[(c[r>>2]|0)+2736+29>>0]>>1,b[c[(c[r>>2]|0)+2732>>2]>>1]|0)|0)|0,8)|0)&255;a[(c[r>>2]|0)+2736+8>>0]=v;Xe(j,m,c[(c[r>>2]|0)+2732>>2]|0,a[(c[r>>2]|0)+2736+8>>0]|0);c[k>>2]=0;while(1){if((c[k>>2]|0)>=(b[(c[(c[r>>2]|0)+2732>>2]|0)+2>>1]|0))break;c[i>>2]=Pb(c[s>>2]|0,(c[(c[(c[r>>2]|0)+2732>>2]|0)+24>>2]|0)+(b[j+(c[k>>2]<<1)>>1]|0)|0,8)|0;if(c[i>>2]|0){if((c[i>>2]|0)==8){v=Pb(c[s>>2]|0,29053,8)|0;c[i>>2]=(c[i>>2]|0)+v}}else{v=Pb(c[s>>2]|0,29053,8)|0;c[i>>2]=(c[i>>2]|0)-v}a[(c[r>>2]|0)+2736+8+((c[k>>2]|0)+1)>>0]=(c[i>>2]|0)-4;c[k>>2]=(c[k>>2]|0)+1}if((c[(c[r>>2]|0)+2324>>2]|0)==4){f=(Pb(c[s>>2]|0,29022,8)|0)&255;h=c[r>>2]|0}else{f=4;h=c[r>>2]|0}a[h+2736+31>>0]=f;if((a[(c[r>>2]|0)+2736+29>>0]|0)!=2){v=c[r>>2]|0;v=v+2736|0;v=v+29|0;v=a[v>>0]|0;v=v<<24>>24;u=c[r>>2]|0;u=u+2396|0;c[u>>2]=v;u=c[s>>2]|0;u=Pb(u,29030,8)|0;u=u&255;v=c[r>>2]|0;v=v+2736|0;v=v+34|0;a[v>>0]=u;l=t;return}c[o>>2]=1;if(((c[n>>2]|0)==2?(c[(c[r>>2]|0)+2396>>2]|0)==2:0)?(c[p>>2]=((Pb(c[s>>2]|0,29092,8)|0)&65535)<<16>>16,(c[p>>2]|0)>0):0){c[p>>2]=(c[p>>2]|0)-9;b[(c[r>>2]|0)+2736+26>>1]=(b[(c[r>>2]|0)+2400>>1]|0)+(c[p>>2]|0);c[o>>2]=0}if(c[o>>2]|0){u=((Pb(c[s>>2]|0,29060,8)|0)&65535)<<16>>16;u=(N(u,c[(c[r>>2]|0)+2316>>2]>>1)|0)&65535;b[(c[r>>2]|0)+2736+26>>1]=u;u=((Pb(c[s>>2]|0,c[(c[r>>2]|0)+2380>>2]|0,8)|0)&65535)<<16>>16;v=(c[r>>2]|0)+2736+26|0;b[v>>1]=(b[v>>1]|0)+u}b[(c[r>>2]|0)+2400>>1]=b[(c[r>>2]|0)+2736+26>>1]|0;v=(Pb(c[s>>2]|0,c[(c[r>>2]|0)+2384>>2]|0,8)|0)&255;a[(c[r>>2]|0)+2736+28>>0]=v;v=(Pb(c[s>>2]|0,26808,8)|0)&255;a[(c[r>>2]|0)+2736+32>>0]=v;c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[(c[r>>2]|0)+2324>>2]|0))break;v=(Pb(c[s>>2]|0,c[17620+(a[(c[r>>2]|0)+2736+32>>0]<<2)>>2]|0,8)|0)&255;a[(c[r>>2]|0)+2736+4+(c[q>>2]|0)>>0]=v;c[q>>2]=(c[q>>2]|0)+1}if(!(c[n>>2]|0)){f=(Pb(c[s>>2]|0,29013,8)|0)&255;h=c[r>>2]|0}else{f=0;h=c[r>>2]|0}a[h+2736+33>>0]=f;v=c[r>>2]|0;v=v+2736|0;v=v+29|0;v=a[v>>0]|0;v=v<<24>>24;u=c[r>>2]|0;u=u+2396|0;c[u>>2]=v;u=c[s>>2]|0;u=Pb(u,29030,8)|0;u=u&255;v=c[r>>2]|0;v=v+2736|0;v=v+34|0;a[v>>0]=u;l=t;return}function wd(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+224|0;s=y+212|0;t=y+208|0;w=y+204|0;v=y+200|0;k=y+196|0;m=y+192|0;o=y+188|0;p=y+184|0;n=y+180|0;j=y+176|0;q=y+172|0;h=y+168|0;x=y+88|0;r=y+8|0;u=y+4|0;i=y;c[s>>2]=a;c[t>>2]=d;c[w>>2]=e;c[v>>2]=f;c[k>>2]=g;c[h>>2]=Pb(c[s>>2]|0,29519+((c[w>>2]>>1)*9|0)|0,8)|0;c[n>>2]=c[k>>2]>>4;if((c[n>>2]<<4|0)<(c[k>>2]|0))c[n>>2]=(c[n>>2]|0)+1;c[i>>2]=29177+((c[h>>2]|0)*18|0);c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[n>>2]|0))break;c[r+(c[m>>2]<<2)>>2]=0;g=Pb(c[s>>2]|0,c[i>>2]|0,8)|0;h=c[m>>2]|0;while(1){c[x+(h<<2)>>2]=g;h=c[m>>2]|0;if((c[x+(c[m>>2]<<2)>>2]|0)!=17)break;g=r+(h<<2)|0;c[g>>2]=(c[g>>2]|0)+1;g=Pb(c[s>>2]|0,29339+((c[r+(c[m>>2]<<2)>>2]|0)==10&1)|0,8)|0;h=c[m>>2]|0}c[m>>2]=h+1}c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[n>>2]|0))break;h=(c[t>>2]|0)+((c[m>>2]&65535)<<16>>16<<4<<1)|0;if((c[x+(c[m>>2]<<2)>>2]|0)>0)Be(h,c[s>>2]|0,c[x+(c[m>>2]<<2)>>2]|0);else{g=h+32|0;do{b[h>>1]=0;h=h+2|0}while((h|0)<(g|0))}c[m>>2]=(c[m>>2]|0)+1}c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[n>>2]|0))break;if((c[r+(c[m>>2]<<2)>>2]|0)>0){c[q>>2]=c[r+(c[m>>2]<<2)>>2];c[u>>2]=(c[t>>2]|0)+((c[m>>2]&65535)<<16>>16<<4<<1);c[p>>2]=0;while(1){if((c[p>>2]|0)>=16)break;c[j>>2]=b[(c[u>>2]|0)+(c[p>>2]<<1)>>1];c[o>>2]=0;while(1){h=c[j>>2]|0;if((c[o>>2]|0)>=(c[q>>2]|0))break;c[j>>2]=h<<1;i=Pb(c[s>>2]|0,29011,8)|0;c[j>>2]=(c[j>>2]|0)+i;c[o>>2]=(c[o>>2]|0)+1}b[(c[u>>2]|0)+(c[p>>2]<<1)>>1]=h;c[p>>2]=(c[p>>2]|0)+1}i=x+(c[m>>2]<<2)|0;c[i>>2]=c[i>>2]|c[q>>2]<<5}c[m>>2]=(c[m>>2]|0)+1}nd(c[s>>2]|0,c[t>>2]|0,c[k>>2]|0,c[w>>2]|0,c[v>>2]|0,x);l=y;return}function xd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;j=m+16|0;i=m+12|0;f=m+8|0;h=m+4|0;k=m;c[j>>2]=b;c[i>>2]=d;c[f>>2]=e;c[k>>2]=0;c[(c[j>>2]|0)+2332>>2]=((c[i>>2]&65535)<<16>>16)*5;c[h>>2]=N((c[(c[j>>2]|0)+2324>>2]&65535)<<16>>16,(c[(c[j>>2]|0)+2332>>2]&65535)<<16>>16)|0;if(!((c[(c[j>>2]|0)+2316>>2]|0)==(c[i>>2]|0)?(c[(c[j>>2]|0)+2320>>2]|0)==(c[f>>2]|0):0)){b=Tf((c[j>>2]|0)+2432|0,((c[i>>2]&65535)<<16>>16)*1e3|0,c[f>>2]|0,0)|0;c[k>>2]=(c[k>>2]|0)+b;c[(c[j>>2]|0)+2320>>2]=c[f>>2]}if((c[(c[j>>2]|0)+2316>>2]|0)==(c[i>>2]|0)?(c[h>>2]|0)==(c[(c[j>>2]|0)+2328>>2]|0):0){k=c[k>>2]|0;l=m;return k|0}b=(c[(c[j>>2]|0)+2324>>2]|0)==4;c[(c[j>>2]|0)+2384>>2]=(c[i>>2]|0)==8?(b?29147:29170):b?29113:29158;if((c[(c[j>>2]|0)+2316>>2]|0)!=(c[i>>2]|0)){c[(c[j>>2]|0)+2336>>2]=((c[i>>2]&65535)<<16>>16)*20;e=(c[j>>2]|0)+2340|0;if((c[i>>2]|0)==8|(c[i>>2]|0)==12){c[e>>2]=10;e=c[j>>2]|0;f=17668}else{c[e>>2]=16;e=c[j>>2]|0;f=17704}c[e+2732>>2]=f;do if((c[i>>2]|0)!=16){if((c[i>>2]|0)==12){e=29039;f=c[j>>2]|0;g=16;break}if((c[i>>2]|0)==8){e=29030;f=c[j>>2]|0;g=16}}else{e=29045;f=c[j>>2]|0;g=16}while(0);if((g|0)==16)c[f+2380>>2]=e;c[(c[j>>2]|0)+2376>>2]=1;c[(c[j>>2]|0)+2308>>2]=100;a[(c[j>>2]|0)+2312>>0]=10;c[(c[j>>2]|0)+4164>>2]=0;aj((c[j>>2]|0)+1348|0,0,960)|0;e=(c[j>>2]|0)+1284|0;f=e+64|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0))}c[(c[j>>2]|0)+2316>>2]=c[i>>2];c[(c[j>>2]|0)+2328>>2]=c[h>>2];k=c[k>>2]|0;l=m;return k|0}function yd(a){a=a|0;var b=0,d=0,e=0;d=l;l=l+16|0;e=d+4|0;b=d;c[e>>2]=a;c[b>>2]=0;c[c[e>>2]>>2]=8544;l=d;return c[b>>2]|0}function zd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=l;l=l+16|0;d=g+12|0;e=g+8|0;f=g+4|0;b=g;c[d>>2]=a;c[f>>2]=0;c[b>>2]=c[d>>2];c[e>>2]=0;while(1){if((c[e>>2]|0)>=2)break;c[f>>2]=od((c[b>>2]|0)+((c[e>>2]|0)*4260|0)|0)|0;c[e>>2]=(c[e>>2]|0)+1}e=(c[d>>2]|0)+8520|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[(c[d>>2]|0)+8540>>2]=0;l=g;return c[f>>2]|0}function Ad(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0;Q=l;l=l+784|0;O=Q+128|0;S=Q+124|0;H=Q+120|0;K=Q+116|0;R=Q+112|0;w=Q+108|0;E=Q+104|0;B=Q+100|0;t=Q+96|0;J=Q+92|0;A=Q+88|0;I=Q+84|0;M=Q+80|0;C=Q+76|0;n=Q+72|0;F=Q+64|0;s=Q+56|0;D=Q+52|0;L=Q+48|0;x=Q+44|0;v=Q+40|0;G=Q+36|0;y=Q+32|0;m=Q+28|0;p=Q+136|0;o=Q+24|0;P=Q+20|0;r=Q+16|0;u=Q+12|0;z=Q;c[S>>2]=d;c[H>>2]=e;c[K>>2]=f;c[R>>2]=g;c[w>>2]=h;c[E>>2]=i;c[B>>2]=j;c[t>>2]=k;c[I>>2]=0;c[M>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[L>>2]=c[S>>2];c[x>>2]=c[L>>2];a:do if(c[R>>2]|0){c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[(c[H>>2]|0)+4>>2]|0))break a;c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2388>>2]=0;c[A>>2]=(c[A>>2]|0)+1}}while(0);if((c[(c[H>>2]|0)+4>>2]|0)>(c[(c[L>>2]|0)+8536>>2]|0)){S=od((c[x>>2]|0)+4260|0)|0;c[M>>2]=(c[M>>2]|0)+S}if((c[(c[H>>2]|0)+4>>2]|0)==1?(c[(c[L>>2]|0)+8536>>2]|0)==2:0)k=(c[(c[H>>2]|0)+12>>2]|0)==((c[(c[x>>2]|0)+2316>>2]|0)*1e3|0);else k=0;c[G>>2]=k&1;b:do if(!(c[(c[x>>2]|0)+2388>>2]|0)){c[A>>2]=0;c:while(1){if((c[A>>2]|0)>=(c[(c[H>>2]|0)+4>>2]|0))break b;do if(!(c[(c[H>>2]|0)+16>>2]|0)){c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]=1;k=2;e=(c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0}else{if((c[(c[H>>2]|0)+16>>2]|0)==10){c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]=1;k=2;e=(c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0;break}if((c[(c[H>>2]|0)+16>>2]|0)==20){c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]=1;k=4;e=(c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0;break}if((c[(c[H>>2]|0)+16>>2]|0)==40){c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]=2;k=4;e=(c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0;break}if((c[(c[H>>2]|0)+16>>2]|0)!=60){q=23;break c}c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]=3;k=4;e=(c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0}while(0);c[e+2324>>2]=k;c[m>>2]=(c[(c[H>>2]|0)+12>>2]>>10)+1;if((c[m>>2]|0)!=8&(c[m>>2]|0)!=12&(c[m>>2]|0)!=16){q=25;break}S=xd((c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0,c[m>>2]|0,c[(c[H>>2]|0)+8>>2]|0)|0;c[M>>2]=(c[M>>2]|0)+S;c[A>>2]=(c[A>>2]|0)+1}if((q|0)==23){c[O>>2]=-203;S=c[O>>2]|0;l=Q;return S|0}else if((q|0)==25){c[O>>2]=-200;S=c[O>>2]|0;l=Q;return S|0}}while(0);do if((c[c[H>>2]>>2]|0)==2?(c[(c[H>>2]|0)+4>>2]|0)==2:0){if((c[(c[L>>2]|0)+8532>>2]|0)!=1?(c[(c[L>>2]|0)+8536>>2]|0)!=1:0)break;c[(c[L>>2]|0)+8520>>2]=0;c[(c[L>>2]|0)+8520+8>>2]=0;_i((c[x>>2]|0)+4260+2432|0,(c[x>>2]|0)+2432|0,300)|0}while(0);c[(c[L>>2]|0)+8532>>2]=c[c[H>>2]>>2];c[(c[L>>2]|0)+8536>>2]=c[(c[H>>2]|0)+4>>2];if((c[(c[H>>2]|0)+8>>2]|0)<=48e3?(c[(c[H>>2]|0)+8>>2]|0)>=8e3:0){d:do if((c[K>>2]|0)!=1?(c[(c[x>>2]|0)+2388>>2]|0)==0:0){c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[(c[H>>2]|0)+4>>2]|0))break;c[J>>2]=0;while(1){S=(c[J>>2]|0)<(c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]|0);e=Ob(c[w>>2]|0,1)|0;k=(c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0;if(!S)break;c[k+2404+(c[J>>2]<<2)>>2]=e;c[J>>2]=(c[J>>2]|0)+1}c[k+2416>>2]=e;c[A>>2]=(c[A>>2]|0)+1}c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[(c[H>>2]|0)+4>>2]|0))break;S=(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2420|0;c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;e:do if(c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2416>>2]|0){if((c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]|0)==1){c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2420>>2]=1;break}c[n>>2]=(Pb(c[w>>2]|0,c[17836+((c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]|0)-2<<2)>>2]|0,8)|0)+1;c[J>>2]=0;while(1){if((c[J>>2]|0)>=(c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2392>>2]|0))break e;c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2420+(c[J>>2]<<2)>>2]=c[n>>2]>>c[J>>2]&1;c[J>>2]=(c[J>>2]|0)+1}}while(0);c[A>>2]=(c[A>>2]|0)+1}if(!(c[K>>2]|0)){c[J>>2]=0;while(1){if((c[J>>2]|0)>=(c[(c[x>>2]|0)+2392>>2]|0))break d;c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[(c[H>>2]|0)+4>>2]|0))break;if(c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2420+(c[J>>2]<<2)>>2]|0){do if((c[A>>2]|0)==0?(c[(c[H>>2]|0)+4>>2]|0)==2:0){gg(c[w>>2]|0,s);if(c[(c[x>>2]|0)+4260+2420+(c[J>>2]<<2)>>2]|0)break;hg(c[w>>2]|0,I)}while(0);do if((c[J>>2]|0)>0){if(!(c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2420+((c[J>>2]|0)-1<<2)>>2]|0)){q=64;break}c[o>>2]=2}else q=64;while(0);if((q|0)==64){q=0;c[o>>2]=0}vd((c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0,c[w>>2]|0,c[J>>2]|0,1,c[o>>2]|0);wd(c[w>>2]|0,p,a[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2736+29>>0]|0,a[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2736+30>>0]|0,c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2328>>2]|0)}c[A>>2]=(c[A>>2]|0)+1}c[J>>2]=(c[J>>2]|0)+1}}}while(0);f:do if((c[(c[H>>2]|0)+4>>2]|0)==2){do if(c[K>>2]|0){if((c[K>>2]|0)==2?(c[(c[x>>2]|0)+2420+(c[(c[x>>2]|0)+2388>>2]<<2)>>2]|0)==1:0)break;c[A>>2]=0;while(1){if((c[A>>2]|0)>=2)break f;c[s+(c[A>>2]<<2)>>2]=b[(c[L>>2]|0)+8520+(c[A>>2]<<1)>>1];c[A>>2]=(c[A>>2]|0)+1}}while(0);gg(c[w>>2]|0,s);if(!((c[K>>2]|0)==0?!(c[(c[x>>2]|0)+4260+2404+(c[(c[x>>2]|0)+2388>>2]<<2)>>2]|0):0))q=74;do if((q|0)==74){if((c[K>>2]|0)==2?(c[(c[x>>2]|0)+4260+2420+(c[(c[x>>2]|0)+2388>>2]<<2)>>2]|0)==0:0)break;c[I>>2]=0;break f}while(0);hg(c[w>>2]|0,I)}while(0);if(((c[I>>2]|0)==0?(c[(c[H>>2]|0)+4>>2]|0)==2:0)?(c[(c[L>>2]|0)+8540>>2]|0)==1:0){aj((c[L>>2]|0)+4260+1348|0,0,960)|0;k=(c[L>>2]|0)+4260+1284|0;e=k+64|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(e|0));c[(c[L>>2]|0)+4260+2308>>2]=100;a[(c[L>>2]|0)+4260+2312>>0]=10;c[(c[L>>2]|0)+4260+4164>>2]=0;c[(c[L>>2]|0)+4260+2376>>2]=1}S=N(c[(c[H>>2]|0)+12>>2]|0,c[(c[H>>2]|0)+4>>2]|0)|0;c[y>>2]=(S|0)<(N(c[(c[H>>2]|0)+8>>2]|0,c[c[H>>2]>>2]|0)|0)&1;if(c[y>>2]|0)k=1;else k=N(c[(c[H>>2]|0)+4>>2]|0,(c[(c[x>>2]|0)+2328>>2]|0)+2|0)|0;c[P>>2]=$()|0;d=l;l=l+((1*(k<<1)|0)+15&-16)|0;if(c[y>>2]|0){c[F>>2]=c[E>>2];e=c[x>>2]|0;k=c[E>>2]|0}else{c[F>>2]=d;e=c[x>>2]|0;k=d}c[F+4>>2]=k+(c[e+2328>>2]<<1)+4;if(!(c[K>>2]|0))c[v>>2]=((c[I>>2]|0)!=0^1)&1;else{if(c[(c[L>>2]|0)+8540>>2]|0)if((c[K>>2]|0)==2?(c[(c[H>>2]|0)+4>>2]|0)==2:0)k=(c[(c[x>>2]|0)+4260+2420+(c[(c[x>>2]|0)+4260+2388>>2]<<2)>>2]|0)==1;else k=0;else k=1;c[v>>2]=k&1}c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[(c[H>>2]|0)+4>>2]|0))break;if((c[A>>2]|0)==0|(c[v>>2]|0)!=0){c[r>>2]=(c[(c[x>>2]|0)+2388>>2]|0)-(c[A>>2]|0);g:do if((c[r>>2]|0)<=0)c[u>>2]=0;else{if((c[K>>2]|0)==2){c[u>>2]=c[(c[x>>2]|0)+((c[A>>2]|0)*4260|0)+2420+((c[r>>2]|0)-1<<2)>>2]|0?2:0;break}do if((c[A>>2]|0)>0){if(!(c[(c[L>>2]|0)+8540>>2]|0))break;c[u>>2]=1;break g}while(0);c[u>>2]=2}while(0);S=td((c[x>>2]|0)+((c[A>>2]|0)*4260|0)|0,c[w>>2]|0,(c[F+(c[A>>2]<<2)>>2]|0)+4|0,C,c[K>>2]|0,c[u>>2]|0,c[t>>2]|0)|0;c[M>>2]=(c[M>>2]|0)+S}else aj((c[F+(c[A>>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0,c[D>>2]|0,(c[F+(c[A>>2]<<2)>>2]|0)+2|0,c[C>>2]|0)|0;c[M>>2]=(c[M>>2]|0)+S;h:do if((c[c[H>>2]>>2]|0)==2){c[J>>2]=0;while(1){if((c[J>>2]|0)>=(c[c[B>>2]>>2]|0))break h;b[(c[E>>2]|0)+((c[A>>2]|0)+(c[J>>2]<<1)<<1)>>1]=b[(c[D>>2]|0)+(c[J>>2]<<1)>>1]|0;c[J>>2]=(c[J>>2]|0)+1}}while(0);c[A>>2]=(c[A>>2]|0)+1}i:do if((c[c[H>>2]>>2]|0)==2){if((c[(c[H>>2]|0)+4>>2]|0)!=1)break;if(c[G>>2]|0){S=Uf((c[x>>2]|0)+4260+2432|0,c[D>>2]|0,(c[F>>2]|0)+2|0,c[C>>2]|0)|0;c[M>>2]=(c[M>>2]|0)+S;c[J>>2]=0;while(1){if((c[J>>2]|0)>=(c[c[B>>2]>>2]|0))break i;b[(c[E>>2]|0)+(1+(c[J>>2]<<1)<<1)>>1]=b[(c[D>>2]|0)+(c[J>>2]<<1)>>1]|0;c[J>>2]=(c[J>>2]|0)+1}}else{c[J>>2]=0;while(1){if((c[J>>2]|0)>=(c[c[B>>2]>>2]|0))break i;b[(c[E>>2]|0)+(1+(c[J>>2]<<1)<<1)>>1]=b[(c[E>>2]|0)+(0+(c[J>>2]<<1)<<1)>>1]|0;c[J>>2]=(c[J>>2]|0)+1}}}while(0);if((c[(c[x>>2]|0)+4164>>2]|0)==2){c[z>>2]=c[4402];c[z+4>>2]=c[4403];c[z+8>>2]=c[4404];e=N(c[(c[x>>2]|0)+2308>>2]|0,c[z+((c[(c[x>>2]|0)+2316>>2]|0)-8>>2<<2)>>2]|0)|0;k=c[H>>2]|0}else{e=0;k=c[H>>2]|0}c[k+20>>2]=e;j:do if((c[K>>2]|0)==1){c[J>>2]=0;while(1){if((c[J>>2]|0)>=(c[(c[L>>2]|0)+8536>>2]|0))break j;a[(c[L>>2]|0)+((c[J>>2]|0)*4260|0)+2312>>0]=10;c[J>>2]=(c[J>>2]|0)+1}}else c[(c[L>>2]|0)+8540>>2]=c[I>>2];while(0);c[O>>2]=c[M>>2];_(c[P>>2]|0);S=c[O>>2]|0;l=Q;return S|0}c[M>>2]=-200;c[O>>2]=c[M>>2];S=c[O>>2]|0;l=Q;return S|0}function Bd(a){a=a|0;var b=0,d=0,e=0;d=l;l=l+16|0;e=d+4|0;b=d;c[e>>2]=a;c[b>>2]=0;c[c[e>>2]>>2]=24568;l=d;return c[b>>2]|0}function Cd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;f=k+20|0;e=k+16|0;g=k+12|0;i=k+8|0;h=k+4|0;j=k;c[f>>2]=a;c[e>>2]=b;c[g>>2]=d;c[j>>2]=0;c[i>>2]=c[f>>2];aj(c[i>>2]|0,0,24568)|0;c[h>>2]=0;while(1){b=c[i>>2]|0;if((c[h>>2]|0)>=2)break;d=ff(b+((c[h>>2]|0)*12240|0)|0,c[e>>2]|0)|0;c[j>>2]=(c[j>>2]|0)+d;c[h>>2]=(c[h>>2]|0)+1}c[b+24544>>2]=1;c[(c[i>>2]|0)+24548>>2]=1;i=Dd(c[f>>2]|0,c[g>>2]|0)|0;c[j>>2]=(c[j>>2]|0)+i;l=k;return c[j>>2]|0}function Dd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=l;l=l+32|0;i=g+16|0;d=g+12|0;e=g+8|0;f=g+4|0;h=g;c[i>>2]=a;c[d>>2]=b;c[e>>2]=0;c[h>>2]=c[i>>2];c[f>>2]=c[h>>2];c[c[d>>2]>>2]=c[(c[h>>2]|0)+24544>>2];c[(c[d>>2]|0)+4>>2]=c[(c[h>>2]|0)+24548>>2];c[(c[d>>2]|0)+8>>2]=c[(c[f>>2]|0)+4580>>2];c[(c[d>>2]|0)+12>>2]=c[(c[f>>2]|0)+4588>>2];c[(c[d>>2]|0)+16>>2]=c[(c[f>>2]|0)+4592>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]|0)+4636>>2]|0))e=1;else e=(c[(c[T>>2]|0)+24548>>2]|0)!=(c[(c[Q>>2]|0)+4>>2]|0);c[n>>2]=e&1;c[(c[T>>2]|0)+24544>>2]=c[c[Q>>2]>>2];c[(c[T>>2]|0)+24548>>2]=c[(c[Q>>2]|0)+4>>2];c[C>>2]=((c[F>>2]|0)*100|0)/(c[(c[Q>>2]|0)+8>>2]|0)|0;c[M>>2]=(c[C>>2]|0)>1?c[C>>2]>>1:1;c[v>>2]=0;e=c[C>>2]|0;a:do if(!(c[S>>2]|0)){aa=N(e,c[(c[Q>>2]|0)+8>>2]|0)|0;if((c[F>>2]|0)<0?1:(aa|0)!=((c[F>>2]|0)*100|0)){c[V>>2]=-101;aa=c[V>>2]|0;l=Z;return aa|0}if(((c[F>>2]|0)*1e3|0)>(N(c[(c[Q>>2]|0)+24>>2]|0,c[(c[Q>>2]|0)+8>>2]|0)|0)){c[V>>2]=-101;aa=c[V>>2]|0;l=Z;return aa|0}}else{if((e|0)!=1){c[V>>2]=-101;aa=c[V>>2]|0;l=Z;return aa|0}c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break;c[U>>2]=ff((c[T>>2]|0)+((c[R>>2]|0)*12240|0)|0,c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+5124>>2]|0)|0;c[R>>2]=(c[R>>2]|0)+1}c[Y>>2]=c[(c[Q>>2]|0)+24>>2];c[(c[Q>>2]|0)+24>>2]=10;c[X>>2]=c[(c[Q>>2]|0)+36>>2];c[(c[Q>>2]|0)+36>>2]=0;c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break a;c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4700>>2]=0;c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4712>>2]=1;c[R>>2]=(c[R>>2]|0)+1}}while(0);c[q>>2]=c[(c[Q>>2]|0)+28>>2]>>(c[(c[Q>>2]|0)+4>>2]|0)-1;c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break;if((c[R>>2]|0)==1)e=c[(c[T>>2]|0)+4600>>2]|0;else e=0;c[k>>2]=e;aa=gf((c[T>>2]|0)+((c[R>>2]|0)*12240|0)|0,c[Q>>2]|0,c[q>>2]|0,c[(c[T>>2]|0)+24560>>2]|0,c[R>>2]|0,c[k>>2]|0)|0;c[U>>2]=aa;if(aa|0){P=28;break}b:do if(c[n>>2]|0?1:(c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4696>>2]|0)!=0){c[x>>2]=0;while(1){if((c[x>>2]|0)>=(c[(c[T>>2]|0)+5776>>2]|0))break b;c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4756+(c[x>>2]<<2)>>2]=0;c[x>>2]=(c[x>>2]|0)+1}}while(0);c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+6112>>2]=c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+6108>>2];c[R>>2]=(c[R>>2]|0)+1}if((P|0)==28){c[V>>2]=c[U>>2];aa=c[V>>2]|0;l=Z;return aa|0}c[H>>2]=N((c[C>>2]|0)*10|0,c[(c[T>>2]|0)+4600>>2]|0)|0;aa=N(c[H>>2]|0,c[(c[T>>2]|0)+4580>>2]|0)|0;c[m>>2]=(aa|0)/((c[(c[T>>2]|0)+4600>>2]|0)*1e3|0)|0;aa=c[m>>2]|0;c[W>>2]=$()|0;g=l;l=l+((1*(aa<<1)|0)+15&-16)|0;while(1){c[G>>2]=(c[(c[T>>2]|0)+4608>>2]|0)-(c[(c[T>>2]|0)+5772>>2]|0);c[G>>2]=(c[G>>2]|0)<(c[H>>2]|0)?c[G>>2]|0:c[H>>2]|0;aa=N(c[G>>2]|0,c[(c[T>>2]|0)+4580>>2]|0)|0;c[E>>2]=(aa|0)/((c[(c[T>>2]|0)+4600>>2]|0)*1e3|0)|0;if((c[c[Q>>2]>>2]|0)==2?(c[(c[Q>>2]|0)+4>>2]|0)==2:0){c[z>>2]=c[(c[T>>2]|0)+5780>>2];c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[E>>2]|0))break;b[g+(c[R>>2]<<1)>>1]=b[(c[J>>2]|0)+(c[R>>2]<<1<<1)>>1]|0;c[R>>2]=(c[R>>2]|0)+1}if((c[z>>2]|0)==0?(c[(c[T>>2]|0)+24552>>2]|0)==1:0)_i((c[T>>2]|0)+12240+5808|0,(c[T>>2]|0)+5808|0,300)|0;aa=Uf((c[T>>2]|0)+5808|0,(c[T>>2]|0)+5128+((c[(c[T>>2]|0)+5772>>2]|0)+2<<1)|0,g,c[E>>2]|0)|0;c[U>>2]=(c[U>>2]|0)+aa;aa=(c[T>>2]|0)+5772|0;c[aa>>2]=(c[aa>>2]|0)+(c[G>>2]|0);c[G>>2]=(c[(c[T>>2]|0)+12240+4608>>2]|0)-(c[(c[T>>2]|0)+12240+5772>>2]|0);if((c[G>>2]|0)<(N((c[C>>2]|0)*10|0,c[(c[T>>2]|0)+12240+4600>>2]|0)|0))e=c[G>>2]|0;else e=N((c[C>>2]|0)*10|0,c[(c[T>>2]|0)+12240+4600>>2]|0)|0;c[G>>2]=e;c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[E>>2]|0))break;b[g+(c[R>>2]<<1)>>1]=b[(c[J>>2]|0)+((c[R>>2]<<1)+1<<1)>>1]|0;c[R>>2]=(c[R>>2]|0)+1}e=Uf((c[T>>2]|0)+12240+5808|0,(c[T>>2]|0)+12240+5128+((c[(c[T>>2]|0)+12240+5772>>2]|0)+2<<1)|0,g,c[E>>2]|0)|0;c[U>>2]=(c[U>>2]|0)+e;e=c[T>>2]|0;d=c[G>>2]|0;i=1}else P=49;do if((P|0)==49){P=0;if((c[c[Q>>2]>>2]|0)==2?(c[(c[Q>>2]|0)+4>>2]|0)==1:0){c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[E>>2]|0))break;c[L>>2]=(b[(c[J>>2]|0)+(c[R>>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]|0)-(c[E>>2]|0);c[(c[T>>2]|0)+24560>>2]=0;if((c[(c[T>>2]|0)+5772>>2]|0)<(c[(c[T>>2]|0)+4608>>2]|0))break;if(!(c[S>>2]|0?1:(c[(c[T>>2]|0)+5780>>2]|0)!=0)){a[y>>0]=0;a[y+1>>0]=0;a[y>>0]=256-(256>>(N((c[(c[T>>2]|0)+5776>>2]|0)+1|0,c[(c[Q>>2]|0)+4>>2]|0)|0));$b(c[I>>2]|0,0,y,8);c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break;c[o>>2]=0;c[x>>2]=0;while(1){if((c[x>>2]|0)>=(c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+5776>>2]|0))break;c[o>>2]=c[o>>2]|c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4756+(c[x>>2]<<2)>>2]<>2];c[x>>2]=(c[x>>2]|0)+1}a[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4755>>0]=(c[o>>2]|0)>0?1:0;if(c[o>>2]|0?(c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+5776>>2]|0)>1:0)$b(c[I>>2]|0,(c[o>>2]|0)-1|0,c[17836+((c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+5776>>2]|0)-2<<2)>>2]|0,8);c[R>>2]=(c[R>>2]|0)+1}c[x>>2]=0;while(1){aa=(c[x>>2]|0)<(c[(c[T>>2]|0)+5776>>2]|0);c[R>>2]=0;if(!aa)break;while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break;if(c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4756+(c[x>>2]<<2)>>2]|0){if(((c[R>>2]|0)==0?(c[(c[Q>>2]|0)+4>>2]|0)==2:0)?(ig(c[I>>2]|0,(c[T>>2]|0)+24480+34+((c[x>>2]|0)*6|0)|0),(c[(c[T>>2]|0)+12240+4756+(c[x>>2]<<2)>>2]|0)==0):0)jg(c[I>>2]|0,a[(c[T>>2]|0)+24480+52+(c[x>>2]|0)>>0]|0);if((c[x>>2]|0)>0?c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4756+((c[x>>2]|0)-1<<2)>>2]|0:0)c[t>>2]=2;else c[t>>2]=0;Gd((c[T>>2]|0)+((c[R>>2]|0)*12240|0)|0,c[I>>2]|0,c[x>>2]|0,1,c[t>>2]|0);Hd(c[I>>2]|0,a[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+6132+((c[x>>2]|0)*36|0)+29>>0]|0,a[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+6132+((c[x>>2]|0)*36|0)+30>>0]|0,(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+6240+((c[x>>2]|0)*320|0)|0,c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4608>>2]|0)}c[R>>2]=(c[R>>2]|0)+1}c[x>>2]=(c[x>>2]|0)+1}while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break;aa=(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4756|0;c[aa>>2]=0;c[aa+4>>2]=0;c[aa+8>>2]=0;c[R>>2]=(c[R>>2]|0)+1}aa=Fd(c[I>>2]|0)|0;c[(c[T>>2]|0)+24536>>2]=aa}Qe(c[T>>2]|0);c[B>>2]=(N(c[(c[Q>>2]|0)+28>>2]|0,c[(c[Q>>2]|0)+24>>2]|0)|0)/1e3|0;if(!(c[S>>2]|0))c[B>>2]=(c[B>>2]|0)-(c[(c[T>>2]|0)+24536>>2]|0);c[B>>2]=(c[B>>2]|0)/(c[(c[T>>2]|0)+5776>>2]|0)|0;e=(c[B>>2]&65535)<<16>>16;if((c[(c[Q>>2]|0)+24>>2]|0)==10)c[q>>2]=e*100;else c[q>>2]=e*50;c[q>>2]=(c[q>>2]|0)-(((c[(c[T>>2]|0)+24540>>2]|0)*1e3|0)/500|0);if((c[S>>2]|0)==0?(c[(c[T>>2]|0)+5780>>2]|0)>0:0){aa=Fd(c[I>>2]|0)|0;c[r>>2]=aa-(c[(c[T>>2]|0)+24536>>2]|0)-(N(c[B>>2]|0,c[(c[T>>2]|0)+5780>>2]|0)|0);c[q>>2]=(c[q>>2]|0)-(((c[r>>2]|0)*1e3|0)/500|0)}e=c[q>>2]|0;do if((c[(c[Q>>2]|0)+28>>2]|0)>5e3)if((e|0)>(c[(c[Q>>2]|0)+28>>2]|0)){e=c[(c[Q>>2]|0)+28>>2]|0;break}else{e=(c[q>>2]|0)<5e3?5e3:c[q>>2]|0;break}else if((e|0)<=5e3)if((c[q>>2]|0)<(c[(c[Q>>2]|0)+28>>2]|0)){e=c[(c[Q>>2]|0)+28>>2]|0;break}else{e=c[q>>2]|0;break}else e=5e3;while(0);c[q>>2]=e;e=c[T>>2]|0;if((c[(c[Q>>2]|0)+4>>2]|0)==2){_e(e+24480|0,(c[T>>2]|0)+5128+4|0,(c[T>>2]|0)+12240+5128+4|0,(c[T>>2]|0)+24480+34+((c[(c[T>>2]|0)+5780>>2]|0)*6|0)|0,(c[T>>2]|0)+24480+52+(c[(c[T>>2]|0)+5780>>2]|0)|0,p,c[q>>2]|0,c[(c[T>>2]|0)+4556>>2]|0,c[(c[Q>>2]|0)+56>>2]|0,c[(c[T>>2]|0)+4600>>2]|0,c[(c[T>>2]|0)+4608>>2]|0);e=c[T>>2]|0;if(!(a[(c[T>>2]|0)+24480+52+(c[(c[T>>2]|0)+5780>>2]|0)>>0]|0)){if((c[e+24564>>2]|0)==1){aa=(c[T>>2]|0)+12240+7200|0;c[aa>>2]=0;c[aa+4>>2]=0;c[aa+8>>2]=0;c[aa+12>>2]=0;aj((c[T>>2]|0)+12240+7216|0,0,2140)|0;aj((c[T>>2]|0)+12240+144|0,0,4380)|0;aa=(c[T>>2]|0)+12240+4524|0;c[aa>>2]=0;c[aa+4>>2]=0;c[aa+8>>2]=0;c[aa+12>>2]=0;c[aa+16>>2]=0;c[aa+20>>2]=0;c[aa+24>>2]=0;c[aa+28>>2]=0;aa=(c[T>>2]|0)+12240+16|0;c[aa>>2]=0;c[aa+4>>2]=0;c[(c[T>>2]|0)+12240+4568>>2]=100;c[(c[T>>2]|0)+12240+144+4356>>2]=100;a[(c[T>>2]|0)+12240+7200>>0]=10;a[(c[T>>2]|0)+12240+4565>>0]=0;c[(c[T>>2]|0)+12240+144+4372>>2]=65536;c[(c[T>>2]|0)+12240+4696>>2]=1}vg((c[T>>2]|0)+12240|0)}else a[e+12240+4752+(c[(c[T>>2]|0)+5780>>2]|0)>>0]=0;if((c[S>>2]|0)==0?(ig(c[I>>2]|0,(c[T>>2]|0)+24480+34+((c[(c[T>>2]|0)+5780>>2]|0)*6|0)|0),(a[(c[T>>2]|0)+12240+4752+(c[(c[T>>2]|0)+5780>>2]|0)>>0]|0)==0):0)jg(c[I>>2]|0,a[(c[T>>2]|0)+24480+52+(c[(c[T>>2]|0)+5780>>2]|0)>>0]|0)}else{c[e+5128>>2]=c[(c[T>>2]|0)+24480+4>>2];aa=(c[T>>2]|0)+24480+4|0;n=(c[T>>2]|0)+5128+(c[(c[T>>2]|0)+4608>>2]<<1)|0;b[aa>>1]=b[n>>1]|0;b[aa+2>>1]=b[n+2>>1]|0}vg(c[T>>2]|0);c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break;c[A>>2]=c[(c[Q>>2]|0)+52>>2];do if(!((c[M>>2]|0)==2&(c[v>>2]|0)==0)){if((c[M>>2]|0)==3){if(!(c[v>>2]|0)){c[A>>2]=(c[A>>2]<<1|0)/5|0;break}if((c[v>>2]|0)!=1)break;c[A>>2]=((c[A>>2]|0)*3|0)/4|0}}else c[A>>2]=((c[A>>2]|0)*3|0)/5|0;while(0);if(c[(c[Q>>2]|0)+48>>2]|0)e=(c[v>>2]|0)==((c[M>>2]|0)-1|0);else e=0;c[O>>2]=e&1;do if((c[(c[Q>>2]|0)+4>>2]|0)==1)c[s>>2]=c[q>>2];else{c[s>>2]=c[p+(c[R>>2]<<2)>>2];if(c[R>>2]|0)break;if((c[p+4>>2]|0)<=0)break;c[O>>2]=0;c[A>>2]=(c[A>>2]|0)-((c[(c[Q>>2]|0)+52>>2]|0)/(c[M>>2]<<1|0)|0)}while(0);if((c[s>>2]|0)>0){ef((c[T>>2]|0)+((c[R>>2]|0)*12240|0)|0,c[s>>2]|0)|0;d:do if(((c[(c[T>>2]|0)+5780>>2]|0)-(c[R>>2]|0)|0)<=0)c[u>>2]=0;else{do if((c[R>>2]|0)>0){if(!(c[(c[T>>2]|0)+24564>>2]|0))break;c[u>>2]=1;break d}while(0);c[u>>2]=2}while(0);c[U>>2]=wg((c[T>>2]|0)+((c[R>>2]|0)*12240|0)|0,c[D>>2]|0,c[I>>2]|0,c[u>>2]|0,c[A>>2]|0,c[O>>2]|0)|0}c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4700>>2]=0;c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+5772>>2]=0;aa=(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+5780|0;c[aa>>2]=(c[aa>>2]|0)+1;c[R>>2]=(c[R>>2]|0)+1}c[(c[T>>2]|0)+24564>>2]=a[(c[T>>2]|0)+24480+52+((c[(c[T>>2]|0)+5780>>2]|0)-1)>>0];do if((c[c[D>>2]>>2]|0)>0?(c[(c[T>>2]|0)+5780>>2]|0)==(c[(c[T>>2]|0)+5776>>2]|0):0){c[w>>2]=0;c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break;c[x>>2]=0;while(1){aa=(c[x>>2]|0)<(c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+5776>>2]|0);c[w>>2]=c[w>>2]<<1;e=(c[T>>2]|0)+((c[R>>2]|0)*12240|0)|0;if(!aa)break;c[w>>2]=c[w>>2]|a[e+4752+(c[x>>2]|0)>>0];c[x>>2]=(c[x>>2]|0)+1}c[w>>2]=c[w>>2]|a[e+4755>>0];c[R>>2]=(c[R>>2]|0)+1}if(!(c[S>>2]|0))dc(c[I>>2]|0,c[w>>2]|0,N((c[(c[T>>2]|0)+5776>>2]|0)+1|0,c[(c[Q>>2]|0)+4>>2]|0)|0);do if(c[(c[T>>2]|0)+6112>>2]|0){if((c[(c[Q>>2]|0)+4>>2]|0)!=1?(c[(c[T>>2]|0)+12240+6112>>2]|0)==0:0)break;c[c[D>>2]>>2]=0}while(0);n=(c[T>>2]|0)+24540|0;c[n>>2]=(c[n>>2]|0)+(c[c[D>>2]>>2]<<3);n=(N(c[(c[Q>>2]|0)+28>>2]|0,c[(c[Q>>2]|0)+24>>2]|0)|0)/1e3|0;aa=(c[T>>2]|0)+24540|0;c[aa>>2]=(c[aa>>2]|0)-n;do if((c[(c[T>>2]|0)+24540>>2]|0)>1e4)e=1e4;else{if((c[(c[T>>2]|0)+24540>>2]|0)<0){e=0;break}e=c[(c[T>>2]|0)+24540>>2]|0}while(0);c[(c[T>>2]|0)+24540>>2]=e;c[K>>2]=13+(0+(((c[(c[T>>2]|0)+24556>>2]&65535)<<16>>16)*3188>>16));e=(c[T>>2]|0)+24560|0;if((c[(c[T>>2]|0)+4556>>2]|0)<(c[K>>2]|0)){c[e>>2]=1;c[(c[T>>2]|0)+24556>>2]=0;break}else{c[e>>2]=0;aa=(c[T>>2]|0)+24556|0;c[aa>>2]=(c[aa>>2]|0)+(c[(c[Q>>2]|0)+24>>2]|0);break}}while(0);if(!(c[F>>2]|0))break;c[v>>2]=(c[v>>2]|0)+1}c[(c[T>>2]|0)+24552>>2]=c[(c[Q>>2]|0)+4>>2];c[(c[Q>>2]|0)+72>>2]=c[(c[T>>2]|0)+24560>>2];if((c[(c[T>>2]|0)+4600>>2]|0)==16)e=(c[(c[T>>2]|0)+16+12>>2]|0)==0;else e=0;c[(c[Q>>2]|0)+76>>2]=e&1;c[(c[Q>>2]|0)+68>>2]=((c[(c[T>>2]|0)+4600>>2]&65535)<<16>>16)*1e3;if(c[(c[Q>>2]|0)+56>>2]|0)e=0;else e=b[(c[T>>2]|0)+24480+28>>1]|0;c[(c[Q>>2]|0)+80>>2]=e;e:do if(c[S>>2]|0){c[(c[Q>>2]|0)+24>>2]=c[Y>>2];c[(c[Q>>2]|0)+36>>2]=c[X>>2];c[R>>2]=0;while(1){if((c[R>>2]|0)>=(c[(c[Q>>2]|0)+4>>2]|0))break e;c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4700>>2]=0;c[(c[T>>2]|0)+((c[R>>2]|0)*12240|0)+4712>>2]=0;c[R>>2]=(c[R>>2]|0)+1}}while(0);c[V>>2]=c[U>>2];_(c[W>>2]|0);aa=c[V>>2]|0;l=Z;return aa|0}function Fd(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=(c[(c[d>>2]|0)+20>>2]|0)-(32-(Q(c[(c[d>>2]|0)+28>>2]|0)|0))|0;l=b;return a|0}function Gd(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+112|0;v=y+48|0;x=y+44|0;i=y+40|0;j=y+36|0;n=y+32|0;r=y+28|0;s=y+24|0;k=y+20|0;q=y+16|0;o=y+12|0;p=y+56|0;m=y+88|0;w=y+8|0;t=y+4|0;u=y;c[v>>2]=d;c[x>>2]=e;c[i>>2]=f;c[j>>2]=g;c[n>>2]=h;f=c[v>>2]|0;if(c[j>>2]|0)c[w>>2]=f+6132+((c[i>>2]|0)*36|0);else c[w>>2]=f+4768;c[k>>2]=(a[(c[w>>2]|0)+29>>0]<<1)+(a[(c[w>>2]|0)+30>>0]|0);h=c[x>>2]|0;f=c[k>>2]|0;if((c[j>>2]|0)!=0|(c[k>>2]|0)>=2)$b(h,f-2|0,29016,8);else $b(h,f,29020,8);f=c[x>>2]|0;h=a[c[w>>2]>>0]|0;if((c[n>>2]|0)==2)$b(f,h,26767,8);else{$b(f,h>>3,26743+(a[(c[w>>2]|0)+29>>0]<<3)|0,8);$b(c[x>>2]|0,a[c[w>>2]>>0]&7,29045,8)}c[r>>2]=1;while(1){f=c[x>>2]|0;h=c[w>>2]|0;if((c[r>>2]|0)>=(c[(c[v>>2]|0)+4604>>2]|0))break;$b(f,a[h+(c[r>>2]|0)>>0]|0,26767,8);c[r>>2]=(c[r>>2]|0)+1}$b(f,a[h+8>>0]|0,(c[(c[(c[v>>2]|0)+4724>>2]|0)+12>>2]|0)+(N(a[(c[w>>2]|0)+29>>0]>>1,b[c[(c[v>>2]|0)+4724>>2]>>1]|0)|0)|0,8);Xe(p,m,c[(c[v>>2]|0)+4724>>2]|0,a[(c[w>>2]|0)+8>>0]|0);c[r>>2]=0;while(1){if((c[r>>2]|0)>=(b[(c[(c[v>>2]|0)+4724>>2]|0)+2>>1]|0))break;do if((a[(c[w>>2]|0)+8+((c[r>>2]|0)+1)>>0]|0)<4){f=c[x>>2]|0;if((a[(c[w>>2]|0)+8+((c[r>>2]|0)+1)>>0]|0)<=-4){$b(f,0,(c[(c[(c[v>>2]|0)+4724>>2]|0)+24>>2]|0)+(b[p+(c[r>>2]<<1)>>1]|0)|0,8);$b(c[x>>2]|0,0-(a[(c[w>>2]|0)+8+((c[r>>2]|0)+1)>>0]|0)-4|0,29053,8);break}else{$b(f,(a[(c[w>>2]|0)+8+((c[r>>2]|0)+1)>>0]|0)+4|0,(c[(c[(c[v>>2]|0)+4724>>2]|0)+24>>2]|0)+(b[p+(c[r>>2]<<1)>>1]|0)|0,8);break}}else{$b(c[x>>2]|0,8,(c[(c[(c[v>>2]|0)+4724>>2]|0)+24>>2]|0)+(b[p+(c[r>>2]<<1)>>1]|0)|0,8);$b(c[x>>2]|0,(a[(c[w>>2]|0)+8+((c[r>>2]|0)+1)>>0]|0)-4|0,29053,8)}while(0);c[r>>2]=(c[r>>2]|0)+1}if((c[(c[v>>2]|0)+4604>>2]|0)==4)$b(c[x>>2]|0,a[(c[w>>2]|0)+31>>0]|0,29022,8);if((a[(c[w>>2]|0)+29>>0]|0)!=2){u=c[w>>2]|0;u=u+29|0;u=a[u>>0]|0;u=u<<24>>24;v=c[v>>2]|0;v=v+5800|0;c[v>>2]=u;v=c[x>>2]|0;x=c[w>>2]|0;x=x+34|0;x=a[x>>0]|0;x=x<<24>>24;$b(v,x,29030,8);l=y;return}c[q>>2]=1;if((c[n>>2]|0)==2?(c[(c[v>>2]|0)+5800>>2]|0)==2:0){c[o>>2]=(b[(c[w>>2]|0)+26>>1]|0)-(b[(c[v>>2]|0)+5804>>1]|0);if((c[o>>2]|0)<-8|(c[o>>2]|0)>11)c[o>>2]=0;else{c[o>>2]=(c[o>>2]|0)+9;c[q>>2]=0}$b(c[x>>2]|0,c[o>>2]|0,29092,8)}if(c[q>>2]|0){c[t>>2]=(b[(c[w>>2]|0)+26>>1]|0)/(c[(c[v>>2]|0)+4600>>2]>>1|0)|0;c[u>>2]=(b[(c[w>>2]|0)+26>>1]|0)-(N((c[t>>2]&65535)<<16>>16,(c[(c[v>>2]|0)+4600>>2]>>1&65535)<<16>>16)|0);$b(c[x>>2]|0,c[t>>2]|0,29060,8);$b(c[x>>2]|0,c[u>>2]|0,c[(c[v>>2]|0)+4716>>2]|0,8)}b[(c[v>>2]|0)+5804>>1]=b[(c[w>>2]|0)+26>>1]|0;$b(c[x>>2]|0,a[(c[w>>2]|0)+28>>0]|0,c[(c[v>>2]|0)+4720>>2]|0,8);$b(c[x>>2]|0,a[(c[w>>2]|0)+32>>0]|0,26808,8);c[s>>2]=0;while(1){if((c[s>>2]|0)>=(c[(c[v>>2]|0)+4604>>2]|0))break;$b(c[x>>2]|0,a[(c[w>>2]|0)+4+(c[s>>2]|0)>>0]|0,c[17620+(a[(c[w>>2]|0)+32>>0]<<2)>>2]|0,8);c[s>>2]=(c[s>>2]|0)+1}if(c[n>>2]|0){u=c[w>>2]|0;u=u+29|0;u=a[u>>0]|0;u=u<<24>>24;v=c[v>>2]|0;v=v+5800|0;c[v>>2]=u;v=c[x>>2]|0;x=c[w>>2]|0;x=x+34|0;x=a[x>>0]|0;x=x<<24>>24;$b(v,x,29030,8);l=y;return}$b(c[x>>2]|0,a[(c[w>>2]|0)+33>>0]|0,29013,8);u=c[w>>2]|0;u=u+29|0;u=a[u>>0]|0;u=u<<24>>24;v=c[v>>2]|0;v=v+5800|0;c[v>>2]=u;v=c[x>>2]|0;x=c[w>>2]|0;x=x+34|0;x=a[x>>0]|0;x=x<<24>>24;$b(v,x,29030,8);l=y;return}function Hd(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+128|0;z=F+116|0;E=F+112|0;C=F+108|0;A=F+104|0;t=F+100|0;u=F+96|0;x=F+92|0;w=F+88|0;v=F+84|0;s=F+80|0;y=F+76|0;k=F+72|0;m=F+68|0;r=F+64|0;n=F+60|0;p=F+56|0;j=F+24|0;i=F+16|0;B=F+12|0;q=F+8|0;o=F+4|0;D=F;c[z>>2]=b;c[E>>2]=e;c[C>>2]=f;c[A>>2]=g;c[t>>2]=h;c[m>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;c[j+20>>2]=0;c[j+24>>2]=0;c[j+28>>2]=0;c[v>>2]=c[t>>2]>>4;if((c[v>>2]<<4|0)<(c[t>>2]|0)){c[v>>2]=(c[v>>2]|0)+1;h=(c[A>>2]|0)+(c[t>>2]|0)|0;b=h+16|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(b|0))}e=c[v>>2]<<4;c[D>>2]=$()|0;b=l;l=l+((1*(e<<2)|0)+15&-16)|0;c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[v>>2]<<4|0))break;e=a[(c[A>>2]|0)+((c[u>>2]|0)+0)>>0]|0;c[b+((c[u>>2]|0)+0<<2)>>2]=(a[(c[A>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2]=d[29537+((c[E>>2]>>1)*9|0)+(c[x>>2]|0)>>0];c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[v>>2]|0))break;h=c[o>>2]|0;if((c[f+(c[u>>2]<<2)>>2]|0)>0)c[p>>2]=(c[p>>2]|0)+(d[h+17>>0]|0);else c[p>>2]=(c[p>>2]|0)+(d[h+(c[g+(c[u>>2]<<2)>>2]|0)>>0]|0);c[u>>2]=(c[u>>2]|0)+1}if((c[p>>2]|0)<(c[n>>2]|0)){c[n>>2]=c[p>>2];c[m>>2]=c[x>>2]}c[x>>2]=(c[x>>2]|0)+1}$b(c[z>>2]|0,c[m>>2]|0,29519+((c[E>>2]>>1)*9|0)|0,8);c[q>>2]=29177+((c[m>>2]|0)*18|0);c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[v>>2]|0))break;h=c[z>>2]|0;if(!(c[f+(c[u>>2]<<2)>>2]|0))$b(h,c[g+(c[u>>2]<<2)>>2]|0,c[q>>2]|0,8);else{$b(h,17,c[q>>2]|0,8);c[x>>2]=0;while(1){h=c[z>>2]|0;if((c[x>>2]|0)>=((c[f+(c[u>>2]<<2)>>2]|0)-1|0))break;$b(h,17,29339,8);c[x>>2]=(c[x>>2]|0)+1}$b(h,c[g+(c[u>>2]<<2)>>2]|0,29339,8)}c[u>>2]=(c[u>>2]|0)+1}c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[v>>2]|0))break;if((c[g+(c[u>>2]<<2)>>2]|0)>0)ye(c[z>>2]|0,b+(c[u>>2]<<4<<2)|0);c[u>>2]=(c[u>>2]|0)+1}c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[v>>2]|0))break;b:do if((c[f+(c[u>>2]<<2)>>2]|0)>0){c[B>>2]=(c[A>>2]|0)+(c[u>>2]<<4);c[y>>2]=(c[f+(c[u>>2]<<2)>>2]|0)-1;c[x>>2]=0;while(1){if((c[x>>2]|0)>=16)break b;q=a[(c[B>>2]|0)+(c[x>>2]|0)>>0]|0;c[r>>2]=(((a[(c[B>>2]|0)+(c[x>>2]|0)>>0]|0)>0?q:0-q|0)&255)<<24>>24;c[w>>2]=c[y>>2];while(1){h=c[r>>2]|0;if((c[w>>2]|0)<=0)break;c[s>>2]=h>>c[w>>2]&1;$b(c[z>>2]|0,c[s>>2]|0,29011,8);c[w>>2]=(c[w>>2]|0)+-1}c[s>>2]=h&1;$b(c[z>>2]|0,c[s>>2]|0,29011,8);c[x>>2]=(c[x>>2]|0)+1}}while(0);c[u>>2]=(c[u>>2]|0)+1}md(c[z>>2]|0,c[A>>2]|0,c[t>>2]|0,c[E>>2]|0,c[C>>2]|0,g);_(c[D>>2]|0);l=F;return}function Id(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;m=n+24|0;i=n+20|0;j=n+16|0;h=n+12|0;g=n+8|0;f=n+4|0;k=n;c[i>>2]=a;c[j>>2]=b;c[h>>2]=d;c[g>>2]=e;c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[g>>2]|0)){f=6;break}c[k>>2]=(c[(c[j>>2]|0)+(c[f>>2]<<1<<2)>>2]|0)+(c[(c[j>>2]|0)+((c[f>>2]<<1)+1<<2)>>2]|0);if((c[k>>2]|0)>(c[h>>2]|0)){f=4;break}c[(c[i>>2]|0)+(c[f>>2]<<2)>>2]=c[k>>2];c[f>>2]=(c[f>>2]|0)+1}if((f|0)==4){c[m>>2]=1;m=c[m>>2]|0;l=n;return m|0}else if((f|0)==6){c[m>>2]=0;m=c[m>>2]|0;l=n;return m|0}return 0}
-function Jd(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+32|0;k=p+24|0;j=p+20|0;o=p+16|0;h=p+12|0;n=p+8|0;m=p+4|0;i=p;c[k>>2]=b;c[j>>2]=d;c[o>>2]=e;c[h>>2]=f;c[n>>2]=g;c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[n>>2]|0))break;Bf(c[(c[j>>2]|0)+(c[m>>2]<<2)>>2]|0)|0;e=0+((((Bf(c[(c[j>>2]|0)+(c[m>>2]<<2)>>2]|0)|0)-2090&65535)<<16>>16)*2251>>16)&255;a[(c[k>>2]|0)+(c[m>>2]|0)>>0]=e;if((a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0)<(a[c[o>>2]>>0]|0)){e=(c[k>>2]|0)+(c[m>>2]|0)|0;a[e>>0]=(a[e>>0]|0)+1<<24>>24}if((a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0)<=63)if((a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0)<0)f=0;else f=a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0;else f=63;a[(c[k>>2]|0)+(c[m>>2]|0)>>0]=f;if((c[m>>2]|0)==0&(c[h>>2]|0)==0){f=a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0;do if(((a[c[o>>2]>>0]|0)+-4|0)>63){if((f|0)>((a[c[o>>2]>>0]|0)+-4|0)){f=(a[c[o>>2]>>0]|0)+-4|0;break}if((a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0)<63)f=63;else f=a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0}else if((f|0)<=63)if((a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0)<((a[c[o>>2]>>0]|0)+-4|0)){f=(a[c[o>>2]>>0]|0)+-4|0;break}else{f=a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0;break}else f=63;while(0);a[(c[k>>2]|0)+(c[m>>2]|0)>>0]=f;a[c[o>>2]>>0]=a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0}else{a[(c[k>>2]|0)+(c[m>>2]|0)>>0]=(a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|0)-(a[c[o>>2]>>0]|0);c[i>>2]=8+(a[c[o>>2]>>0]|0);if((a[(c[k>>2]|0)+(c[m>>2]|0)>>0]|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==0&(c[h>>2]|0)==0){e=(Md(f,(a[c[p>>2]>>0]|0)-16|0)|0)&255;a[c[p>>2]>>0]=e}else{c[m>>2]=f+-4;c[i>>2]=8+(a[c[p>>2]>>0]|0);f=c[m>>2]|0;if((c[m>>2]|0)>(c[i>>2]|0)){f=(f<<1)-(c[i>>2]|0)|0;b=c[p>>2]|0}else b=c[p>>2]|0;a[b>>0]=(a[b>>0]|0)+f}if((a[c[p>>2]>>0]|0)<=63)if((a[c[p>>2]>>0]|0)<0)f=0;else f=a[c[p>>2]>>0]|0;else f=63;a[c[p>>2]>>0]=f;e=Ff(Kd(((a[c[p>>2]>>0]<<16>>16)*29|0)+((a[c[p>>2]>>0]<<16>>16)*7281>>16)+2090|0,3967)|0)|0;c[(c[j>>2]|0)+(c[n>>2]<<2)>>2]=e;c[n>>2]=(c[n>>2]|0)+1}l=q;return}function Md(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Nd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;f=i+12|0;h=i+8|0;g=i+4|0;e=i;c[f>>2]=b;c[h>>2]=d;c[e>>2]=0;c[g>>2]=0;while(1){if((c[g>>2]|0)>=(c[h>>2]|0))break;c[e>>2]=(a[(c[f>>2]|0)+(c[g>>2]|0)>>0]|0)+(c[e>>2]<<8);c[g>>2]=(c[g>>2]|0)+1}l=i;return c[e>>2]|0}function Od(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;n=o+20|0;k=o+16|0;m=o+12|0;j=o+8|0;h=o+4|0;i=o;c[n>>2]=a;c[k>>2]=d;c[m>>2]=e;c[j>>2]=f;c[h>>2]=g;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[h>>2]|0))break;a=(b[(c[k>>2]|0)+(c[i>>2]<<1)>>1]|0)+((N(((b[(c[m>>2]|0)+(c[i>>2]<<1)>>1]|0)-(b[(c[k>>2]|0)+(c[i>>2]<<1)>>1]|0)&65535)<<16>>16,(c[j>>2]&65535)<<16>>16)|0)>>2)&65535;b[(c[n>>2]|0)+(c[i>>2]<<1)>>1]=a;c[i>>2]=(c[i>>2]|0)+1}l=o;return}function Pd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+48|0;k=m+36|0;i=m+32|0;j=m+28|0;h=m+16|0;g=m+8|0;e=m+4|0;f=m;c[k>>2]=a;c[i>>2]=b;c[j>>2]=d;c[e>>2]=0;c[f>>2]=0;if(!(c[(c[k>>2]|0)+12>>2]|0)){l=m;return}c[e>>2]=256-(c[(c[k>>2]|0)+8>>2]|0)<<10;c[f>>2]=c[e>>2]>>16;c[e>>2]=(c[e>>2]|0)-(c[f>>2]<<16);Qd(h,g,c[f>>2]|0,c[e>>2]|0);if(((c[(c[k>>2]|0)+8>>2]|0)+(c[(c[k>>2]|0)+12>>2]|0)|0)<=256)if(((c[(c[k>>2]|0)+8>>2]|0)+(c[(c[k>>2]|0)+12>>2]|0)|0)<0)e=0;else e=(c[(c[k>>2]|0)+8>>2]|0)+(c[(c[k>>2]|0)+12>>2]|0)|0;else e=256;c[(c[k>>2]|0)+8>>2]=e;wf(c[i>>2]|0,h,g,c[k>>2]|0,c[i>>2]|0,c[j>>2]|0,1);l=m;return}function Qd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;g=m+20|0;f=m+16|0;i=m+12|0;h=m+8|0;k=m+4|0;j=m;c[g>>2]=a;c[f>>2]=b;c[i>>2]=d;c[h>>2]=e;if((c[i>>2]|0)>=4){k=c[g>>2]|0;c[k>>2]=c[4473];c[k+4>>2]=c[4474];c[k+8>>2]=c[4475];k=c[f>>2]|0;c[k>>2]=c[4484];c[k+4>>2]=c[4485];l=m;return}if((c[h>>2]|0)<=0){k=c[g>>2]|0;j=17844+((c[i>>2]|0)*12|0)|0;c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];k=c[f>>2]|0;j=17904+(c[i>>2]<<3)|0;c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];l=m;return}d=(c[h>>2]|0)<32768;c[k>>2]=0;if(d){while(1){if((c[k>>2]|0)>=3)break;d=N((c[17844+(((c[i>>2]|0)+1|0)*12|0)+(c[k>>2]<<2)>>2]|0)-(c[17844+((c[i>>2]|0)*12|0)+(c[k>>2]<<2)>>2]|0)>>16,(c[h>>2]&65535)<<16>>16)|0;d=(c[17844+((c[i>>2]|0)*12|0)+(c[k>>2]<<2)>>2]|0)+(d+((N((c[17844+(((c[i>>2]|0)+1|0)*12|0)+(c[k>>2]<<2)>>2]|0)-(c[17844+((c[i>>2]|0)*12|0)+(c[k>>2]<<2)>>2]|0)&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[g>>2]|0)+(c[k>>2]<<2)>>2]=d;c[k>>2]=(c[k>>2]|0)+1}c[j>>2]=0;while(1){if((c[j>>2]|0)>=2)break;k=N((c[17904+((c[i>>2]|0)+1<<3)+(c[j>>2]<<2)>>2]|0)-(c[17904+(c[i>>2]<<3)+(c[j>>2]<<2)>>2]|0)>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[17904+(c[i>>2]<<3)+(c[j>>2]<<2)>>2]|0)+(k+((N((c[17904+((c[i>>2]|0)+1<<3)+(c[j>>2]<<2)>>2]|0)-(c[17904+(c[i>>2]<<3)+(c[j>>2]<<2)>>2]|0)&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[f>>2]|0)+(c[j>>2]<<2)>>2]=k;c[j>>2]=(c[j>>2]|0)+1}l=m;return}else{while(1){if((c[k>>2]|0)>=3)break;d=N((c[17844+(((c[i>>2]|0)+1|0)*12|0)+(c[k>>2]<<2)>>2]|0)-(c[17844+((c[i>>2]|0)*12|0)+(c[k>>2]<<2)>>2]|0)>>16,((c[h>>2]|0)-65536&65535)<<16>>16)|0;d=(c[17844+(((c[i>>2]|0)+1|0)*12|0)+(c[k>>2]<<2)>>2]|0)+(d+((N((c[17844+(((c[i>>2]|0)+1|0)*12|0)+(c[k>>2]<<2)>>2]|0)-(c[17844+((c[i>>2]|0)*12|0)+(c[k>>2]<<2)>>2]|0)&65535,((c[h>>2]|0)-65536&65535)<<16>>16)|0)>>16))|0;c[(c[g>>2]|0)+(c[k>>2]<<2)>>2]=d;c[k>>2]=(c[k>>2]|0)+1}c[j>>2]=0;while(1){if((c[j>>2]|0)>=2)break;k=N((c[17904+((c[i>>2]|0)+1<<3)+(c[j>>2]<<2)>>2]|0)-(c[17904+(c[i>>2]<<3)+(c[j>>2]<<2)>>2]|0)>>16,((c[h>>2]|0)-65536&65535)<<16>>16)|0;k=(c[17904+((c[i>>2]|0)+1<<3)+(c[j>>2]<<2)>>2]|0)+(k+((N((c[17904+((c[i>>2]|0)+1<<3)+(c[j>>2]<<2)>>2]|0)-(c[17904+(c[i>>2]<<3)+(c[j>>2]<<2)>>2]|0)&65535,((c[h>>2]|0)-65536&65535)<<16>>16)|0)>>16))|0;c[(c[f>>2]|0)+(c[j>>2]<<2)>>2]=k;c[j>>2]=(c[j>>2]|0)+1}l=m;return}}function Rd(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+144|0;q=t+24|0;h=t+20|0;r=t+16|0;p=t+12|0;k=t+128|0;i=t+96|0;s=t+64|0;o=t+32|0;n=t+8|0;m=t+4|0;j=t;c[q>>2]=e;c[h>>2]=f;c[r>>2]=g;c[j>>2]=(c[(c[r>>2]|0)+8>>2]|0)+(N(a[c[h>>2]>>0]|0,b[(c[r>>2]|0)+2>>1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){if((f|0)<0)c[m>>2]=(c[m>>2]|0)+102}else c[m>>2]=f-102;s=N(c[m>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;c[m>>2]=(c[n>>2]|0)+(s+((N(c[m>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16));b[(c[q>>2]|0)+(c[j>>2]<<1)>>1]=c[m>>2];c[j>>2]=(c[j>>2]|0)+-1}l=r;return}function Td(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;e=h+16|0;f=h+12|0;g=h+8|0;d=h+4|0;b=h;c[f>>2]=a;if((c[f>>2]|0)<=0){c[e>>2]=0;g=c[e>>2]|0;l=h;return g|0}Ud(c[f>>2]|0,d,b);if(c[d>>2]&1|0)c[g>>2]=32768;else c[g>>2]=46214;c[g>>2]=c[g>>2]>>(c[d>>2]>>1);f=N(c[g>>2]>>16,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[g>>2]&65535,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[e>>2]=c[g>>2];g=c[e>>2]|0;l=h;return g|0}function Ud(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=Vd(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];b=(Wd(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=b;l=e;return}function Vd(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Wd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;g=j+20|0;d=j+16|0;h=j+12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0)){E=N(c[u>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;c[u>>2]=E+((N(c[u>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16)<<2}c[s>>2]=(c[(c[q>>2]|0)+4360>>2]|0)-(c[v>>2]|0)-2;while(1){if((c[s>>2]|0)>=(c[(c[q>>2]|0)+4360>>2]|0))break a;E=N(c[u>>2]>>16,b[(c[x>>2]|0)+(c[s>>2]<<1)>>1]|0)|0;E=E+((N(c[u>>2]&65535,b[(c[x>>2]|0)+(c[s>>2]<<1)>>1]|0)|0)>>16)|0;c[(c[y>>2]|0)+(c[s>>2]<<2)>>2]=E;c[s>>2]=(c[s>>2]|0)+1}}while(0);if((c[r>>2]|0)==65536){l=D;return}c[s>>2]=(c[(c[q>>2]|0)+4364>>2]|0)-(c[(c[w>>2]|0)+4616>>2]|0);while(1){if((c[s>>2]|0)>=(c[(c[q>>2]|0)+4364>>2]|0))break;E=N(c[r>>2]>>16,(c[(c[q>>2]|0)+1280+(c[s>>2]<<2)>>2]&65535)<<16>>16)|0;E=E+((N(c[r>>2]&65535,(c[(c[q>>2]|0)+1280+(c[s>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;E=E+(N(c[r>>2]|0,(c[(c[q>>2]|0)+1280+(c[s>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[q>>2]|0)+1280+(c[s>>2]<<2)>>2]=E;c[s>>2]=(c[s>>2]|0)+1}b:do if((c[z>>2]|0)==2?(c[(c[q>>2]|0)+4376>>2]|0)==0:0){c[s>>2]=(c[(c[q>>2]|0)+4360>>2]|0)-(c[v>>2]|0)-2;while(1){if((c[s>>2]|0)>=(c[(c[q>>2]|0)+4360>>2]|0))break b;E=N(c[r>>2]>>16,(c[(c[y>>2]|0)+(c[s>>2]<<2)>>2]&65535)<<16>>16)|0;E=E+((N(c[r>>2]&65535,(c[(c[y>>2]|0)+(c[s>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;E=E+(N(c[r>>2]|0,(c[(c[y>>2]|0)+(c[s>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[y>>2]|0)+(c[s>>2]<<2)>>2]=E;c[s>>2]=(c[s>>2]|0)+1}}while(0);E=N(c[r>>2]>>16,(c[(c[q>>2]|0)+4352>>2]&65535)<<16>>16)|0;E=E+((N(c[r>>2]&65535,(c[(c[q>>2]|0)+4352>>2]&65535)<<16>>16)|0)>>16)|0;E=E+(N(c[r>>2]|0,(c[(c[q>>2]|0)+4352>>2]>>15)+1>>1)|0)|0;c[(c[q>>2]|0)+4352>>2]=E;c[s>>2]=0;while(1){if((c[s>>2]|0)>=32)break;E=N(c[r>>2]>>16,(c[(c[q>>2]|0)+3840+(c[s>>2]<<2)>>2]&65535)<<16>>16)|0;E=E+((N(c[r>>2]&65535,(c[(c[q>>2]|0)+3840+(c[s>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;E=E+(N(c[r>>2]|0,(c[(c[q>>2]|0)+3840+(c[s>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[q>>2]|0)+3840+(c[s>>2]<<2)>>2]=E;c[s>>2]=(c[s>>2]|0)+1}c[s>>2]=0;while(1){if((c[s>>2]|0)>=16)break;E=N(c[r>>2]>>16,(c[(c[q>>2]|0)+4288+(c[s>>2]<<2)>>2]&65535)<<16>>16)|0;E=E+((N(c[r>>2]&65535,(c[(c[q>>2]|0)+4288+(c[s>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;E=E+(N(c[r>>2]|0,(c[(c[q>>2]|0)+4288+(c[s>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[q>>2]|0)+4288+(c[s>>2]<<2)>>2]=E;c[s>>2]=(c[s>>2]|0)+1}l=D;return}function Zd(d,e,f,g,h,i,j,k,m,n,o,p,q,r,s,t,u,v,w){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;t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((c[J>>2]|0)>=(c[la>>2]|0))break;na=907633515+(N(c[m+4368>>2]|0,196314165)|0)|0;c[(c[ka>>2]|0)+4368>>2]=na;c[C>>2]=c[S>>2]>>1;na=N(c[c[T>>2]>>2]>>16,b[c[G>>2]>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[c[T>>2]>>2]&65535,b[c[G>>2]>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-4>>2]>>16,b[(c[G>>2]|0)+2>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-4>>2]&65535,b[(c[G>>2]|0)+2>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-8>>2]>>16,b[(c[G>>2]|0)+4>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-8>>2]&65535,b[(c[G>>2]|0)+4>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-12>>2]>>16,b[(c[G>>2]|0)+6>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-12>>2]&65535,b[(c[G>>2]|0)+6>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-16>>2]>>16,b[(c[G>>2]|0)+8>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-16>>2]&65535,b[(c[G>>2]|0)+8>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-20>>2]>>16,b[(c[G>>2]|0)+10>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-20>>2]&65535,b[(c[G>>2]|0)+10>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-24>>2]>>16,b[(c[G>>2]|0)+12>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-24>>2]&65535,b[(c[G>>2]|0)+12>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-28>>2]>>16,b[(c[G>>2]|0)+14>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-28>>2]&65535,b[(c[G>>2]|0)+14>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-32>>2]>>16,b[(c[G>>2]|0)+16>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-32>>2]&65535,b[(c[G>>2]|0)+16>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-36>>2]>>16,b[(c[G>>2]|0)+18>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-36>>2]&65535,b[(c[G>>2]|0)+18>>1]|0)|0)>>16));if((c[S>>2]|0)==16){na=N(c[(c[T>>2]|0)+-40>>2]>>16,b[(c[G>>2]|0)+20>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-40>>2]&65535,b[(c[G>>2]|0)+20>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-44>>2]>>16,b[(c[G>>2]|0)+22>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-44>>2]&65535,b[(c[G>>2]|0)+22>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-48>>2]>>16,b[(c[G>>2]|0)+24>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-48>>2]&65535,b[(c[G>>2]|0)+24>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-52>>2]>>16,b[(c[G>>2]|0)+26>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-52>>2]&65535,b[(c[G>>2]|0)+26>>1]|0)|0)>>16));na=N(c[(c[T>>2]|0)+-56>>2]>>16,b[(c[G>>2]|0)+28>>1]|0)|0;c[C>>2]=(c[C>>2]|0)+(na+((N(c[(c[T>>2]|0)+-56>>2]&65535,b[(c[G>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[c[x>>2]>>1]|0)|0)>>16));c[K>>2]=2;while(1){if((c[K>>2]|0)>=(c[ca>>2]|0))break;c[ga>>2]=c[(c[ka>>2]|0)+4288+((c[K>>2]|0)-1<<2)>>2];c[(c[ka>>2]|0)+4288+((c[K>>2]|0)-1<<2)>>2]=c[fa>>2];na=N(c[fa>>2]>>16,b[(c[x>>2]|0)+((c[K>>2]|0)-1<<1)>>1]|0)|0;c[M>>2]=(c[M>>2]|0)+(na+((N(c[fa>>2]&65535,b[(c[x>>2]|0)+((c[K>>2]|0)-1<<1)>>1]|0)|0)>>16));c[fa>>2]=c[(c[ka>>2]|0)+4288+((c[K>>2]|0)+0<<2)>>2];c[(c[ka>>2]|0)+4288+((c[K>>2]|0)+0<<2)>>2]=c[ga>>2];na=N(c[ga>>2]>>16,b[(c[x>>2]|0)+(c[K>>2]<<1)>>1]|0)|0;c[M>>2]=(c[M>>2]|0)+(na+((N(c[ga>>2]&65535,b[(c[x>>2]|0)+(c[K>>2]<<1)>>1]|0)|0)>>16));c[K>>2]=(c[K>>2]|0)+2}c[(c[ka>>2]|0)+4288+((c[ca>>2]|0)-1<<2)>>2]=c[fa>>2];na=N(c[fa>>2]>>16,b[(c[x>>2]|0)+((c[ca>>2]|0)-1<<1)>>1]|0)|0;c[M>>2]=(c[M>>2]|0)+(na+((N(c[fa>>2]&65535,b[(c[x>>2]|0)+((c[ca>>2]|0)-1<<1)>>1]|0)|0)>>16));c[M>>2]=c[M>>2]<<1;na=N(c[(c[ka>>2]|0)+4352>>2]>>16,(c[F>>2]&65535)<<16>>16)|0;c[M>>2]=(c[M>>2]|0)+(na+((N(c[(c[ka>>2]|0)+4352>>2]&65535,(c[F>>2]&65535)<<16>>16)|0)>>16));na=N(c[(c[ka>>2]|0)+1280+((c[(c[ka>>2]|0)+4364>>2]|0)-1<<2)>>2]>>16,(c[A>>2]&65535)<<16>>16)|0;c[O>>2]=na+((N(c[(c[ka>>2]|0)+1280+((c[(c[ka>>2]|0)+4364>>2]|0)-1<<2)>>2]&65535,(c[A>>2]&65535)<<16>>16)|0)>>16);na=(c[O>>2]|0)+(N(c[(c[ka>>2]|0)+4352>>2]>>16,c[A>>2]>>16)|0)|0;c[O>>2]=na+((N(c[(c[ka>>2]|0)+4352>>2]&65535,c[A>>2]>>16)|0)>>16);c[fa>>2]=(c[C>>2]<<2)-(c[M>>2]|0);c[fa>>2]=(c[fa>>2]|0)-(c[O>>2]|0);if((c[L>>2]|0)>0){na=N((c[c[da>>2]>>2]|0)+(c[(c[da>>2]|0)+-8>>2]|0)>>16,(c[z>>2]&65535)<<16>>16)|0;c[P>>2]=na+((N((c[c[da>>2]>>2]|0)+(c[(c[da>>2]|0)+-8>>2]|0)&65535,(c[z>>2]&65535)<<16>>16)|0)>>16);na=(c[P>>2]|0)+(N(c[(c[da>>2]|0)+-4>>2]>>16,c[z>>2]>>16)|0)|0;c[P>>2]=na+((N(c[(c[da>>2]|0)+-4>>2]&65535,c[z>>2]>>16)|0)>>16);c[P>>2]=c[P>>2]<<1;c[da>>2]=(c[da>>2]|0)+4;c[ga>>2]=(c[D>>2]|0)-(c[P>>2]|0);c[fa>>2]=(c[ga>>2]|0)+(c[fa>>2]<<1);c[fa>>2]=(c[fa>>2]>>2)+1>>1}else c[fa>>2]=(c[fa>>2]>>1)+1>>1;c[Y>>2]=(c[(c[ha>>2]|0)+(c[J>>2]<<2)>>2]|0)-(c[fa>>2]|0);if((c[(c[ka>>2]|0)+4368>>2]|0)<0)c[Y>>2]=0-(c[Y>>2]|0);if((c[Y>>2]|0)>30720)m=30720;else m=(c[Y>>2]|0)<-31744?-31744:c[Y>>2]|0;c[Y>>2]=m;c[W>>2]=(c[Y>>2]|0)-(c[Q>>2]|0);c[V>>2]=c[W>>2]>>10;m=c[V>>2]|0;do if((c[V>>2]|0)<=0){if(!m){c[W>>2]=c[Q>>2];c[X>>2]=(c[W>>2]|0)+944;c[Z>>2]=N((c[W>>2]&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;c[_>>2]=N((c[X>>2]&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;break}if((c[V>>2]|0)==-1){c[X>>2]=c[Q>>2];c[W>>2]=(c[X>>2]|0)-944;c[Z>>2]=N((0-(c[W>>2]|0)&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;c[_>>2]=N((c[X>>2]&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;break}else{c[W>>2]=(c[V>>2]<<10)+80;c[W>>2]=(c[W>>2]|0)+(c[Q>>2]|0);c[X>>2]=(c[W>>2]|0)+1024;c[Z>>2]=N((0-(c[W>>2]|0)&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;c[_>>2]=N((0-(c[X>>2]|0)&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;break}}else{c[W>>2]=(m<<10)-80;c[W>>2]=(c[W>>2]|0)+(c[Q>>2]|0);c[X>>2]=(c[W>>2]|0)+1024;c[Z>>2]=N((c[W>>2]&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;c[_>>2]=N((c[X>>2]&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0}while(0);c[$>>2]=(c[Y>>2]|0)-(c[W>>2]|0);c[Z>>2]=(c[Z>>2]|0)+(N((c[$>>2]&65535)<<16>>16,(c[$>>2]&65535)<<16>>16)|0);c[$>>2]=(c[Y>>2]|0)-(c[X>>2]|0);c[_>>2]=(c[_>>2]|0)+(N((c[$>>2]&65535)<<16>>16,(c[$>>2]&65535)<<16>>16)|0);if((c[_>>2]|0)<(c[Z>>2]|0))c[W>>2]=c[X>>2];a[(c[U>>2]|0)+(c[J>>2]|0)>>0]=(c[W>>2]>>9)+1>>1;c[I>>2]=c[W>>2]<<4;if((c[(c[ka>>2]|0)+4368>>2]|0)<0)c[I>>2]=0-(c[I>>2]|0);c[B>>2]=(c[I>>2]|0)+(c[D>>2]<<1);c[ja>>2]=(c[B>>2]|0)+(c[C>>2]<<4);na=N(c[ja>>2]>>16,(c[y>>2]&65535)<<16>>16)|0;na=na+((N(c[ja>>2]&65535,(c[y>>2]&65535)<<16>>16)|0)>>16)|0;if(((na+(N(c[ja>>2]|0,(c[y>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<=32767){na=N(c[ja>>2]>>16,(c[y>>2]&65535)<<16>>16)|0;na=na+((N(c[ja>>2]&65535,(c[y>>2]&65535)<<16>>16)|0)>>16)|0;if(((na+(N(c[ja>>2]|0,(c[y>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)m=-32768;else{m=N(c[ja>>2]>>16,(c[y>>2]&65535)<<16>>16)|0;m=m+((N(c[ja>>2]&65535,(c[y>>2]&65535)<<16>>16)|0)>>16)|0;m=(m+(N(c[ja>>2]|0,(c[y>>2]>>15)+1>>1)|0)>>7)+1>>1}}else m=32767;b[(c[ia>>2]|0)+(c[J>>2]<<1)>>1]=m;c[T>>2]=(c[T>>2]|0)+4;c[c[T>>2]>>2]=c[ja>>2];c[aa>>2]=(c[ja>>2]|0)-(c[M>>2]<<2);c[(c[ka>>2]|0)+4352>>2]=c[aa>>2];c[(c[ka>>2]|0)+1280+(c[(c[ka>>2]|0)+4364>>2]<<2)>>2]=(c[aa>>2]|0)-(c[O>>2]<<2);c[(c[ba>>2]|0)+(c[(c[ka>>2]|0)+4360>>2]<<2)>>2]=c[B>>2]<<1;na=(c[ka>>2]|0)+4364|0;c[na>>2]=(c[na>>2]|0)+1;na=(c[ka>>2]|0)+4360|0;c[na>>2]=(c[na>>2]|0)+1;c[(c[ka>>2]|0)+4368>>2]=(c[(c[ka>>2]|0)+4368>>2]|0)+(a[(c[U>>2]|0)+(c[J>>2]|0)>>0]|0);c[J>>2]=(c[J>>2]|0)+1}o=m+3840|0;m=(c[ka>>2]|0)+3840+(c[la>>2]<<2)|0;r=o+128|0;do{c[o>>2]=c[m>>2];o=o+4|0;m=m+4|0}while((o|0)<(r|0));l=ma;return}function _d(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;h=l;l=l+48|0;g=h+32|0;n=h+28|0;d=h+24|0;i=h+20|0;f=h+16|0;j=h+12|0;m=h+8|0;k=h+4|0;e=h;c[n>>2]=a;c[d>>2]=b;b=c[n>>2]|0;c[i>>2]=(ae((c[n>>2]|0)>0?b:0-b|0)|0)-1;c[m>>2]=c[n>>2]<>2];c[j>>2]=536870911/(c[m>>2]>>16|0)|0;c[e>>2]=c[j>>2]<<16;b=N(c[m>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=536870912-(b+((N(c[m>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))<<3;b=N(c[k>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;b=(c[e>>2]|0)+(b+((N(c[k>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[e>>2]=b+(N(c[k>>2]|0,(c[j>>2]>>15)+1>>1)|0);c[f>>2]=61-(c[i>>2]|0)-(c[d>>2]|0);b=c[f>>2]|0;if((c[f>>2]|0)>0)if((b|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];n=c[g>>2]|0;l=h;return n|0}else{c[g>>2]=0;n=c[g>>2]|0;l=h;return n|0}a=c[e>>2]|0;d=0-(c[f>>2]|0)|0;do if((-2147483648>>0-b|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>d|0)){b=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){b=2147483647>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>d|0)){b=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){b=-2147483648>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}while(0);c[g>>2]=b<<0-(c[f>>2]|0);n=c[g>>2]|0;l=h;return n|0}function $d(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+48|0;g=h+40|0;q=h+36|0;p=h+32|0;i=h+28|0;k=h+24|0;j=h+20|0;f=h+16|0;m=h+12|0;n=h+8|0;o=h+4|0;e=h;c[q>>2]=a;c[p>>2]=b;c[i>>2]=d;b=c[q>>2]|0;c[k>>2]=(ae((c[q>>2]|0)>0?b:0-b|0)|0)-1;c[n>>2]=c[q>>2]<>2];b=c[p>>2]|0;c[j>>2]=(ae((c[p>>2]|0)>0?b:0-b|0)|0)-1;c[o>>2]=c[p>>2]<>2];c[m>>2]=536870911/(c[o>>2]>>16|0)|0;b=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=b+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16);b=c[n>>2]|0;a=c[o>>2]|0;d=c[e>>2]|0;d=Xi(a|0,((a|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;d=Yi(d|0,y|0,32)|0;c[n>>2]=b-(d<<3);d=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(d+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));c[f>>2]=29+(c[k>>2]|0)-(c[j>>2]|0)-(c[i>>2]|0);d=c[f>>2]|0;if((c[f>>2]|0)>=0)if((d|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];q=c[g>>2]|0;l=h;return q|0}else{c[g>>2]=0;q=c[g>>2]|0;l=h;return q|0}a=c[e>>2]|0;b=0-(c[f>>2]|0)|0;do if((-2147483648>>0-d|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>b|0)){d=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){d=2147483647>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>b|0)){d=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){d=-2147483648>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}while(0);c[g>>2]=d<<0-(c[f>>2]|0);q=c[g>>2]|0;l=h;return q|0}function ae(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function be(d,e,f,g,h,i,j,k,m,n,o,p,q,r,s){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;var t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0;ea=l;l=l+272|0;aa=ea+264|0;U=ea+260|0;O=ea+256|0;S=ea+252|0;ba=ea+248|0;F=ea+244|0;C=ea+240|0;t=ea+236|0;z=ea+232|0;H=ea+228|0;A=ea+224|0;x=ea+220|0;Y=ea+216|0;E=ea+212|0;D=ea+208|0;W=ea+204|0;K=ea+200|0;L=ea+196|0;Q=ea+192|0;B=ea+188|0;I=ea+184|0;R=ea+180|0;X=ea+176|0;P=ea+172|0;V=ea+168|0;v=ea+164|0;w=ea+160|0;u=ea+156|0;ca=ea+152|0;y=ea+148|0;M=ea+144|0;G=ea+140|0;T=ea+136|0;Z=ea+132|0;da=ea+128|0;J=ea;c[aa>>2]=d;c[U>>2]=e;c[O>>2]=f;c[S>>2]=g;c[ba>>2]=h;c[F>>2]=i;c[C>>2]=j;c[t>>2]=k;c[z>>2]=m;c[H>>2]=n;c[A>>2]=o;c[x>>2]=p;c[Y>>2]=q;c[E>>2]=r;c[D>>2]=s;c[L>>2]=c[(c[U>>2]|0)+4356>>2];g=c[(c[aa>>2]|0)+4652>>2]|0;c[da>>2]=$()|0;j=l;l=l+((1*(g*1168|0)|0)+15&-16)|0;aj(j|0,0,(c[(c[aa>>2]|0)+4652>>2]|0)*1168|0)|0;c[K>>2]=0;while(1){if((c[K>>2]|0)>=(c[(c[aa>>2]|0)+4652>>2]|0))break;c[Z>>2]=j+((c[K>>2]|0)*1168|0);c[(c[Z>>2]|0)+1156>>2]=(c[K>>2]|0)+(a[(c[O>>2]|0)+34>>0]|0)&3;c[(c[Z>>2]|0)+1160>>2]=c[(c[Z>>2]|0)+1156>>2];c[(c[Z>>2]|0)+1164>>2]=0;c[(c[Z>>2]|0)+1152>>2]=c[(c[U>>2]|0)+4352>>2];c[(c[Z>>2]|0)+960>>2]=c[(c[U>>2]|0)+1280+((c[(c[aa>>2]|0)+4616>>2]|0)-1<<2)>>2];k=c[Z>>2]|0;p=(c[U>>2]|0)+3840|0;m=k+128|0;do{c[k>>2]=c[p>>2];k=k+4|0;p=p+4|0}while((k|0)<(m|0));k=(c[Z>>2]|0)+1088|0;p=(c[U>>2]|0)+4288|0;m=k+64|0;do{c[k>>2]=c[p>>2];k=k+4|0;p=p+4|0}while((k|0)<(m|0));c[K>>2]=(c[K>>2]|0)+1}c[M>>2]=b[24558+(a[(c[O>>2]|0)+29>>0]>>1<<2)+(a[(c[O>>2]|0)+30>>0]<<1)>>1];c[P>>2]=0;c[V>>2]=ce(32,c[(c[aa>>2]|0)+4612>>2]|0)|0;a:do if((a[(c[O>>2]|0)+29>>0]|0)!=2){if((c[L>>2]|0)>0)c[V>>2]=ce(c[V>>2]|0,(c[L>>2]|0)-2-1|0)|0}else{c[K>>2]=0;while(1){if((c[K>>2]|0)>=(c[(c[aa>>2]|0)+4604>>2]|0))break a;c[V>>2]=ce(c[V>>2]|0,(c[(c[Y>>2]|0)+(c[K>>2]<<2)>>2]|0)-2-1|0)|0;c[K>>2]=(c[K>>2]|0)+1}}while(0);if((a[(c[O>>2]|0)+31>>0]|0)==4)c[B>>2]=0;else c[B>>2]=1;p=l;l=l+((1*((c[(c[aa>>2]|0)+4616>>2]|0)+(c[(c[aa>>2]|0)+4608>>2]|0)<<2)|0)+15&-16)|0;m=l;l=l+((1*((c[(c[aa>>2]|0)+4616>>2]|0)+(c[(c[aa>>2]|0)+4608>>2]|0)<<1)|0)+15&-16)|0;o=l;l=l+((1*(c[(c[aa>>2]|0)+4612>>2]<<2)|0)+15&-16)|0;c[ca>>2]=(c[U>>2]|0)+(c[(c[aa>>2]|0)+4616>>2]<<1);c[(c[U>>2]|0)+4364>>2]=c[(c[aa>>2]|0)+4616>>2];c[(c[U>>2]|0)+4360>>2]=c[(c[aa>>2]|0)+4616>>2];c[R>>2]=0;c[K>>2]=0;while(1){if((c[K>>2]|0)>=(c[(c[aa>>2]|0)+4604>>2]|0))break;c[v>>2]=(c[F>>2]|0)+((c[K>>2]>>1|1-(c[B>>2]|0))<<4<<1);c[w>>2]=(c[C>>2]|0)+((c[K>>2]|0)*5<<1);c[u>>2]=(c[t>>2]|0)+(c[K>>2]<<4<<1);c[y>>2]=c[(c[z>>2]|0)+(c[K>>2]<<2)>>2]>>2;c[y>>2]=c[y>>2]|c[(c[z>>2]|0)+(c[K>>2]<<2)>>2]>>1<<16;c[(c[U>>2]|0)+4376>>2]=0;if((a[(c[O>>2]|0)+29>>0]|0)==2?(c[L>>2]=c[(c[Y>>2]|0)+(c[K>>2]<<2)>>2],(c[K>>2]&3-(c[B>>2]<<1)|0)==0):0){if((c[K>>2]|0)==2){c[G>>2]=c[j+1164>>2];c[I>>2]=0;c[W>>2]=1;while(1){if((c[W>>2]|0)>=(c[(c[aa>>2]|0)+4652>>2]|0))break;if((c[j+((c[W>>2]|0)*1168|0)+1164>>2]|0)<(c[G>>2]|0)){c[G>>2]=c[j+((c[W>>2]|0)*1168|0)+1164>>2];c[I>>2]=c[W>>2]}c[W>>2]=(c[W>>2]|0)+1}c[W>>2]=0;while(1){if((c[W>>2]|0)>=(c[(c[aa>>2]|0)+4652>>2]|0))break;if((c[W>>2]|0)!=(c[I>>2]|0)){g=j+((c[W>>2]|0)*1168|0)+1164|0;c[g>>2]=(c[g>>2]|0)+134217727}c[W>>2]=(c[W>>2]|0)+1}c[Z>>2]=j+((c[I>>2]|0)*1168|0);c[X>>2]=(c[P>>2]|0)+(c[V>>2]|0);c[W>>2]=0;while(1){if((c[W>>2]|0)>=(c[V>>2]|0))break;c[X>>2]=(c[X>>2]|0)-1&31;a[(c[ba>>2]|0)+((c[W>>2]|0)-(c[V>>2]|0))>>0]=(c[(c[Z>>2]|0)+576+(c[X>>2]<<2)>>2]>>9)+1>>1;g=N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]>>16,(c[(c[x>>2]|0)+4>>2]&65535)<<16>>16)|0;g=g+((N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]&65535,(c[(c[x>>2]|0)+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((g+(N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]|0,(c[(c[x>>2]|0)+4>>2]>>15)+1>>1)|0)>>13)+1>>1|0)<=32767){g=N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]>>16,(c[(c[x>>2]|0)+4>>2]&65535)<<16>>16)|0;g=g+((N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]&65535,(c[(c[x>>2]|0)+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((g+(N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]|0,(c[(c[x>>2]|0)+4>>2]>>15)+1>>1)|0)>>13)+1>>1|0)<-32768)k=-32768;else{k=N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]>>16,(c[(c[x>>2]|0)+4>>2]&65535)<<16>>16)|0;k=k+((N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]&65535,(c[(c[x>>2]|0)+4>>2]&65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)>>16)|0;if(((ja+(N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]|0,(c[T>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<=32767){ja=N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]>>16,(c[T>>2]&65535)<<16>>16)|0;ja=ja+((N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]&65535,(c[T>>2]&65535)<<16>>16)|0)>>16)|0;if(((ja+(N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]|0,(c[T>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)k=-32768;else{k=N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]>>16,(c[T>>2]&65535)<<16>>16)|0;k=k+((N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]&65535,(c[T>>2]&65535)<<16>>16)|0)>>16)|0;k=(k+(N(c[(c[Z>>2]|0)+704+(c[X>>2]<<2)>>2]|0,(c[T>>2]>>15)+1>>1)|0)>>7)+1>>1}}else k=32767;b[(c[ca>>2]|0)+((c[W>>2]|0)-(c[V>>2]|0)<<1)>>1]=k;c[(c[U>>2]|0)+1280+((c[(c[U>>2]|0)+4364>>2]|0)-(c[V>>2]|0)+(c[W>>2]|0)<<2)>>2]=c[(c[Z>>2]|0)+960+(c[X>>2]<<2)>>2];c[W>>2]=(c[W>>2]|0)+1}k=(c[U>>2]|0)+3840|0;p=(c[Z>>2]|0)+(c[(c[aa>>2]|0)+4612>>2]<<2)|0;m=k+128|0;do{c[k>>2]=c[p>>2];k=k+4|0;p=p+4|0}while((k|0)<(m|0));k=(c[U>>2]|0)+4288|0;p=(c[Z>>2]|0)+1088|0;m=k+64|0;do{c[k>>2]=c[p>>2];k=k+4|0;p=p+4|0}while((k|0)<(m|0));c[(c[U>>2]|0)+4352>>2]=c[(c[Z>>2]|0)+1152>>2];c[(c[U>>2]|0)+4356>>2]=c[(c[Y>>2]|0)+((c[(c[aa>>2]|0)+4604>>2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2]|0)!=(c[(c[t>>2]|0)+4372>>2]|0))c[v>>2]=ge(c[(c[t>>2]|0)+4372>>2]|0,c[(c[r>>2]|0)+(c[I>>2]<<2)>>2]|0,16)|0;else c[v>>2]=65536;c[x>>2]=(c[y>>2]>>7)+1>>1;c[w>>2]=0;while(1){if((c[w>>2]|0)>=(c[(c[E>>2]|0)+4612>>2]|0))break;M=N(c[(c[J>>2]|0)+(c[w>>2]<<2)>>2]>>16,(c[x>>2]&65535)<<16>>16)|0;M=M+((N(c[(c[J>>2]|0)+(c[w>>2]<<2)>>2]&65535,(c[x>>2]&65535)<<16>>16)|0)>>16)|0;M=M+(N(c[(c[J>>2]|0)+(c[w>>2]<<2)>>2]|0,(c[x>>2]>>15)+1>>1)|0)|0;c[(c[K>>2]|0)+(c[w>>2]<<2)>>2]=M;c[w>>2]=(c[w>>2]|0)+1}c[(c[t>>2]|0)+4372>>2]=c[(c[r>>2]|0)+(c[I>>2]<<2)>>2];a:do if(c[(c[t>>2]|0)+4376>>2]|0){if(!(c[I>>2]|0)){M=N(c[y>>2]>>16,(c[s>>2]&65535)<<16>>16)|0;c[y>>2]=M+((N(c[y>>2]&65535,(c[s>>2]&65535)<<16>>16)|0)>>16)<<2}c[w>>2]=(c[(c[t>>2]|0)+4360>>2]|0)-(c[A>>2]|0)-2;while(1){if((c[w>>2]|0)>=(c[(c[t>>2]|0)+4360>>2]|0))break a;M=N(c[y>>2]>>16,b[(c[F>>2]|0)+(c[w>>2]<<1)>>1]|0)|0;M=M+((N(c[y>>2]&65535,b[(c[F>>2]|0)+(c[w>>2]<<1)>>1]|0)|0)>>16)|0;c[(c[G>>2]|0)+(c[w>>2]<<2)>>2]=M;c[w>>2]=(c[w>>2]|0)+1}}while(0);if((c[v>>2]|0)==65536){l=L;return}c[w>>2]=(c[(c[t>>2]|0)+4364>>2]|0)-(c[(c[E>>2]|0)+4616>>2]|0);while(1){if((c[w>>2]|0)>=(c[(c[t>>2]|0)+4364>>2]|0))break;M=N(c[v>>2]>>16,(c[(c[t>>2]|0)+1280+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0;M=M+((N(c[v>>2]&65535,(c[(c[t>>2]|0)+1280+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;M=M+(N(c[v>>2]|0,(c[(c[t>>2]|0)+1280+(c[w>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[t>>2]|0)+1280+(c[w>>2]<<2)>>2]=M;c[w>>2]=(c[w>>2]|0)+1}b:do if((c[H>>2]|0)==2?(c[(c[t>>2]|0)+4376>>2]|0)==0:0){c[w>>2]=(c[(c[t>>2]|0)+4360>>2]|0)-(c[A>>2]|0)-2;while(1){if((c[w>>2]|0)>=((c[(c[t>>2]|0)+4360>>2]|0)-(c[u>>2]|0)|0))break b;M=N(c[v>>2]>>16,(c[(c[G>>2]|0)+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0;M=M+((N(c[v>>2]&65535,(c[(c[G>>2]|0)+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;M=M+(N(c[v>>2]|0,(c[(c[G>>2]|0)+(c[w>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[G>>2]|0)+(c[w>>2]<<2)>>2]=M;c[w>>2]=(c[w>>2]|0)+1}}while(0);c[z>>2]=0;while(1){if((c[z>>2]|0)>=(c[B>>2]|0))break;c[C>>2]=(c[D>>2]|0)+((c[z>>2]|0)*1168|0);M=N(c[v>>2]>>16,(c[(c[C>>2]|0)+1152>>2]&65535)<<16>>16)|0;M=M+((N(c[v>>2]&65535,(c[(c[C>>2]|0)+1152>>2]&65535)<<16>>16)|0)>>16)|0;M=M+(N(c[v>>2]|0,(c[(c[C>>2]|0)+1152>>2]>>15)+1>>1)|0)|0;c[(c[C>>2]|0)+1152>>2]=M;c[w>>2]=0;while(1){if((c[w>>2]|0)>=32)break;M=N(c[v>>2]>>16,(c[(c[C>>2]|0)+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0;M=M+((N(c[v>>2]&65535,(c[(c[C>>2]|0)+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;M=M+(N(c[v>>2]|0,(c[(c[C>>2]|0)+(c[w>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[C>>2]|0)+(c[w>>2]<<2)>>2]=M;c[w>>2]=(c[w>>2]|0)+1}c[w>>2]=0;while(1){if((c[w>>2]|0)>=16)break;M=N(c[v>>2]>>16,(c[(c[C>>2]|0)+1088+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0;M=M+((N(c[v>>2]&65535,(c[(c[C>>2]|0)+1088+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;M=M+(N(c[v>>2]|0,(c[(c[C>>2]|0)+1088+(c[w>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[C>>2]|0)+1088+(c[w>>2]<<2)>>2]=M;c[w>>2]=(c[w>>2]|0)+1}c[w>>2]=0;while(1){if((c[w>>2]|0)>=32)break;M=N(c[v>>2]>>16,(c[(c[C>>2]|0)+832+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0;M=M+((N(c[v>>2]&65535,(c[(c[C>>2]|0)+832+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;M=M+(N(c[v>>2]|0,(c[(c[C>>2]|0)+832+(c[w>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[C>>2]|0)+832+(c[w>>2]<<2)>>2]=M;M=N(c[v>>2]>>16,(c[(c[C>>2]|0)+960+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0;M=M+((N(c[v>>2]&65535,(c[(c[C>>2]|0)+960+(c[w>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;M=M+(N(c[v>>2]|0,(c[(c[C>>2]|0)+960+(c[w>>2]<<2)>>2]>>15)+1>>1)|0)|0;c[(c[C>>2]|0)+960+(c[w>>2]<<2)>>2]=M;c[w>>2]=(c[w>>2]|0)+1}c[z>>2]=(c[z>>2]|0)+1}l=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(c[c[za>>2]>>2]<<2)>>2]&65535,(c[H>>2]&65535)<<16>>16)|0)>>16);Oa=(c[fa>>2]|0)+(N(c[(c[Ka>>2]|0)+1152>>2]>>16,c[H>>2]>>16)|0)|0;c[fa>>2]=Oa+((N(c[(c[Ka>>2]|0)+1152>>2]&65535,c[H>>2]>>16)|0)>>16);c[fa>>2]=c[fa>>2]<<2;c[Ba>>2]=(c[ea>>2]|0)+(c[fa>>2]|0);c[Ca>>2]=(c[ga>>2]|0)+(c[J>>2]|0);c[Ba>>2]=(c[Ca>>2]|0)-(c[Ba>>2]|0);c[Ba>>2]=(c[Ba>>2]>>3)+1>>1;c[qa>>2]=(c[(c[Ea>>2]|0)+(c[aa>>2]<<2)>>2]|0)-(c[Ba>>2]|0);if((c[(c[Ka>>2]|0)+1156>>2]|0)<0)c[qa>>2]=0-(c[qa>>2]|0);if((c[qa>>2]|0)>30720)o=30720;else o=(c[qa>>2]|0)<-31744?-31744:c[qa>>2]|0;c[qa>>2]=o;c[oa>>2]=(c[qa>>2]|0)-(c[ha>>2]|0);c[na>>2]=c[oa>>2]>>10;o=c[na>>2]|0;do if((c[na>>2]|0)<=0){if(!o){c[oa>>2]=c[ha>>2];c[pa>>2]=(c[oa>>2]|0)+944;c[ra>>2]=N((c[oa>>2]&65535)<<16>>16,(c[L>>2]&65535)<<16>>16)|0;c[sa>>2]=N((c[pa>>2]&65535)<<16>>16,(c[L>>2]&65535)<<16>>16)|0;break}if((c[na>>2]|0)==-1){c[pa>>2]=c[ha>>2];c[oa>>2]=(c[pa>>2]|0)-944;c[ra>>2]=N((0-(c[oa>>2]|0)&65535)<<16>>16,(c[L>>2]&65535)<<16>>16)|0;c[sa>>2]=N((c[pa>>2]&65535)<<16>>16,(c[L>>2]&65535)<<16>>16)|0;break}else{c[oa>>2]=(c[na>>2]<<10)+80;c[oa>>2]=(c[oa>>2]|0)+(c[ha>>2]|0);c[pa>>2]=(c[oa>>2]|0)+1024;c[ra>>2]=N((0-(c[oa>>2]|0)&65535)<<16>>16,(c[L>>2]&65535)<<16>>16)|0;c[sa>>2]=N((0-(c[pa>>2]|0)&65535)<<16>>16,(c[L>>2]&65535)<<16>>16)|0;break}}else{c[oa>>2]=(o<<10)-80;c[oa>>2]=(c[oa>>2]|0)+(c[ha>>2]|0);c[pa>>2]=(c[oa>>2]|0)+1024;c[ra>>2]=N((c[oa>>2]&65535)<<16>>16,(c[L>>2]&65535)<<16>>16)|0;c[sa>>2]=N((c[pa>>2]&65535)<<16>>16,(c[L>>2]&65535)<<16>>16)|0}while(0);c[ta>>2]=(c[qa>>2]|0)-(c[oa>>2]|0);c[ra>>2]=(c[ra>>2]|0)+(N((c[ta>>2]&65535)<<16>>16,(c[ta>>2]&65535)<<16>>16)|0)>>10;c[ta>>2]=(c[qa>>2]|0)-(c[pa>>2]|0);c[sa>>2]=(c[sa>>2]|0)+(N((c[ta>>2]&65535)<<16>>16,(c[ta>>2]&65535)<<16>>16)|0)>>10;o=c[(c[Ka>>2]|0)+1164>>2]|0;if((c[ra>>2]|0)<(c[sa>>2]|0)){c[(c[la>>2]|0)+4>>2]=o+(c[ra>>2]|0);c[(c[la>>2]|0)+24+4>>2]=(c[(c[Ka>>2]|0)+1164>>2]|0)+(c[sa>>2]|0);c[c[la>>2]>>2]=c[oa>>2];o=c[pa>>2]|0;t=c[la>>2]|0}else{c[(c[la>>2]|0)+4>>2]=o+(c[sa>>2]|0);c[(c[la>>2]|0)+24+4>>2]=(c[(c[Ka>>2]|0)+1164>>2]|0)+(c[ra>>2]|0);c[c[la>>2]>>2]=c[pa>>2];o=c[oa>>2]|0;t=c[la>>2]|0}c[t+24>>2]=o;c[Z>>2]=c[c[la>>2]>>2]<<4;if((c[(c[Ka>>2]|0)+1156>>2]|0)<0)c[Z>>2]=0-(c[Z>>2]|0);c[I>>2]=(c[Z>>2]|0)+(c[K>>2]|0);c[Ga>>2]=(c[I>>2]|0)+(c[J>>2]|0);c[ua>>2]=(c[Ga>>2]|0)-(c[ea>>2]|0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|0)+1}_(c[Ma>>2]|0);l=Na;return}function fe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;h=l;l=l+48|0;g=h+32|0;n=h+28|0;d=h+24|0;i=h+20|0;f=h+16|0;j=h+12|0;m=h+8|0;k=h+4|0;e=h;c[n>>2]=a;c[d>>2]=b;b=c[n>>2]|0;c[i>>2]=(he((c[n>>2]|0)>0?b:0-b|0)|0)-1;c[m>>2]=c[n>>2]<>2];c[j>>2]=536870911/(c[m>>2]>>16|0)|0;c[e>>2]=c[j>>2]<<16;b=N(c[m>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=536870912-(b+((N(c[m>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))<<3;b=N(c[k>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;b=(c[e>>2]|0)+(b+((N(c[k>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[e>>2]=b+(N(c[k>>2]|0,(c[j>>2]>>15)+1>>1)|0);c[f>>2]=61-(c[i>>2]|0)-(c[d>>2]|0);b=c[f>>2]|0;if((c[f>>2]|0)>0)if((b|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];n=c[g>>2]|0;l=h;return n|0}else{c[g>>2]=0;n=c[g>>2]|0;l=h;return n|0}a=c[e>>2]|0;d=0-(c[f>>2]|0)|0;do if((-2147483648>>0-b|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>d|0)){b=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){b=2147483647>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>d|0)){b=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){b=-2147483648>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}while(0);c[g>>2]=b<<0-(c[f>>2]|0);n=c[g>>2]|0;l=h;return n|0}function ge(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+48|0;g=h+40|0;q=h+36|0;p=h+32|0;i=h+28|0;k=h+24|0;j=h+20|0;f=h+16|0;m=h+12|0;n=h+8|0;o=h+4|0;e=h;c[q>>2]=a;c[p>>2]=b;c[i>>2]=d;b=c[q>>2]|0;c[k>>2]=(he((c[q>>2]|0)>0?b:0-b|0)|0)-1;c[n>>2]=c[q>>2]<>2];b=c[p>>2]|0;c[j>>2]=(he((c[p>>2]|0)>0?b:0-b|0)|0)-1;c[o>>2]=c[p>>2]<>2];c[m>>2]=536870911/(c[o>>2]>>16|0)|0;b=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=b+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16);b=c[n>>2]|0;a=c[o>>2]|0;d=c[e>>2]|0;d=Xi(a|0,((a|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;d=Yi(d|0,y|0,32)|0;c[n>>2]=b-(d<<3);d=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(d+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));c[f>>2]=29+(c[k>>2]|0)-(c[j>>2]|0)-(c[i>>2]|0);d=c[f>>2]|0;if((c[f>>2]|0)>=0)if((d|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];q=c[g>>2]|0;l=h;return q|0}else{c[g>>2]=0;q=c[g>>2]|0;l=h;return q|0}a=c[e>>2]|0;b=0-(c[f>>2]|0)|0;do if((-2147483648>>0-d|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>b|0)){d=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){d=2147483647>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>b|0)){d=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){d=-2147483648>>0-(c[f>>2]|0);break}else{d=c[e>>2]|0;break}}while(0);c[g>>2]=d<<0-(c[f>>2]|0);q=c[g>>2]|0;l=h;return q|0}function he(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function ie(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;c[(c[d>>2]|0)+4168>>2]=c[(c[d>>2]|0)+2328>>2]<<7;c[(c[d>>2]|0)+4168+72>>2]=65536;c[(c[d>>2]|0)+4168+72+4>>2]=65536;c[(c[d>>2]|0)+4168+88>>2]=20;c[(c[d>>2]|0)+4168+84>>2]=2;l=b;return}function je(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;k=m+16|0;g=m+12|0;i=m+8|0;j=m+4|0;h=m;c[k>>2]=a;c[g>>2]=b;c[i>>2]=d;c[j>>2]=e;c[h>>2]=f;if((c[(c[k>>2]|0)+2316>>2]|0)!=(c[(c[k>>2]|0)+4168+80>>2]|0)){ie(c[k>>2]|0);c[(c[k>>2]|0)+4168+80>>2]=c[(c[k>>2]|0)+2316>>2]}d=c[k>>2]|0;f=c[g>>2]|0;if(c[j>>2]|0){ke(d,f,c[i>>2]|0,c[h>>2]|0);k=(c[k>>2]|0)+4160|0;c[k>>2]=(c[k>>2]|0)+1;l=m;return}else{le(d,f);l=m;return}}function ke(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x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((oe(1,c[(c[G>>2]|0)+4160>>2]|0)|0)<<1)>>1];k=(c[(c[G>>2]|0)+4164>>2]|0)==2;f=oe(1,c[(c[G>>2]|0)+4160>>2]|0)|0;if(k)c[w>>2]=b[24444+(f<<1)>>1];else c[w>>2]=b[24448+(f<<1)>>1];yf((c[I>>2]|0)+14|0,c[(c[G>>2]|0)+2340>>2]|0,64881);_i(z|0,(c[I>>2]|0)+14|0,c[(c[G>>2]|0)+2340>>2]<<1|0)|0;do if(!(c[(c[G>>2]|0)+4160>>2]|0)){b[J>>1]=16384;if((c[(c[G>>2]|0)+4164>>2]|0)!=2){c[s>>2]=Hf((c[I>>2]|0)+14|0,c[(c[G>>2]|0)+2340>>2]|0)|0;c[p>>2]=qe(134217728,c[s>>2]|0)|0;c[p>>2]=re(4194304,c[p>>2]|0)|0;c[p>>2]=c[p>>2]<<3;s=N(c[p>>2]>>16,(c[w>>2]&65535)<<16>>16)|0;c[w>>2]=s+((N(c[p>>2]&65535,(c[w>>2]&65535)<<16>>16)|0)>>16)>>14;break}c[C>>2]=0;while(1){if((c[C>>2]|0)>=5)break;b[J>>1]=(b[J>>1]|0)-(b[(c[m>>2]|0)+(c[C>>2]<<1)>>1]|0);c[C>>2]=(c[C>>2]|0)+1}b[J>>1]=pe(3277,b[J>>1]|0)|0;b[J>>1]=(N(b[J>>1]|0,b[(c[I>>2]|0)+68>>1]|0)|0)>>14}while(0);c[K>>2]=c[(c[I>>2]|0)+52>>2];c[E>>2]=(c[c[I>>2]>>2]>>7)+1>>1;c[y>>2]=c[(c[G>>2]|0)+2336>>2];c[r>>2]=(c[(c[G>>2]|0)+2336>>2]|0)-(c[E>>2]|0)-(c[(c[G>>2]|0)+2340>>2]|0)-2;Gf(g+(c[r>>2]<<1)|0,(c[G>>2]|0)+1348+(c[r>>2]<<1)|0,z,(c[(c[G>>2]|0)+2336>>2]|0)-(c[r>>2]|0)|0,c[(c[G>>2]|0)+2340>>2]|0,c[o>>2]|0);c[t>>2]=se(c[(c[I>>2]|0)+72+4>>2]|0,46)|0;c[t>>2]=(c[t>>2]|0)<1073741823?c[t>>2]|0:1073741823;c[C>>2]=(c[r>>2]|0)+(c[(c[G>>2]|0)+2340>>2]|0);while(1){if((c[C>>2]|0)>=(c[(c[G>>2]|0)+2336>>2]|0))break;s=N(c[t>>2]>>16,b[g+(c[C>>2]<<1)>>1]|0)|0;s=s+((N(c[t>>2]&65535,b[g+(c[C>>2]<<1)>>1]|0)|0)>>16)|0;c[d+(c[C>>2]<<2)>>2]=s;c[C>>2]=(c[C>>2]|0)+1}c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[(c[G>>2]|0)+2324>>2]|0))break;c[v>>2]=d+((c[y>>2]|0)-(c[E>>2]|0)+2<<2);c[C>>2]=0;while(1){if((c[C>>2]|0)>=(c[(c[G>>2]|0)+2332>>2]|0))break;c[n>>2]=2;t=N(c[c[v>>2]>>2]>>16,b[c[m>>2]>>1]|0)|0;c[n>>2]=(c[n>>2]|0)+(t+((N(c[c[v>>2]>>2]&65535,b[c[m>>2]>>1]|0)|0)>>16));t=N(c[(c[v>>2]|0)+-4>>2]>>16,b[(c[m>>2]|0)+2>>1]|0)|0;c[n>>2]=(c[n>>2]|0)+(t+((N(c[(c[v>>2]|0)+-4>>2]&65535,b[(c[m>>2]|0)+2>>1]|0)|0)>>16));t=N(c[(c[v>>2]|0)+-8>>2]>>16,b[(c[m>>2]|0)+4>>1]|0)|0;c[n>>2]=(c[n>>2]|0)+(t+((N(c[(c[v>>2]|0)+-8>>2]&65535,b[(c[m>>2]|0)+4>>1]|0)|0)>>16));t=N(c[(c[v>>2]|0)+-12>>2]>>16,b[(c[m>>2]|0)+6>>1]|0)|0;c[n>>2]=(c[n>>2]|0)+(t+((N(c[(c[v>>2]|0)+-12>>2]&65535,b[(c[m>>2]|0)+6>>1]|0)|0)>>16));t=N(c[(c[v>>2]|0)+-16>>2]>>16,b[(c[m>>2]|0)+8>>1]|0)|0;c[n>>2]=(c[n>>2]|0)+(t+((N(c[(c[v>>2]|0)+-16>>2]&65535,b[(c[m>>2]|0)+8>>1]|0)|0)>>16));c[v>>2]=(c[v>>2]|0)+4;c[K>>2]=907633515+(N(c[K>>2]|0,196314165)|0);c[r>>2]=c[K>>2]>>25&127;t=N(c[(c[x>>2]|0)+(c[r>>2]<<2)>>2]>>16,b[J>>1]|0)|0;t=(c[n>>2]|0)+(t+((N(c[(c[x>>2]|0)+(c[r>>2]<<2)>>2]&65535,b[J>>1]|0)|0)>>16))<<2;c[d+(c[y>>2]<<2)>>2]=t;c[y>>2]=(c[y>>2]|0)+1;c[C>>2]=(c[C>>2]|0)+1}c[D>>2]=0;while(1){if((c[D>>2]|0)>=5)break;t=(N((c[q>>2]&65535)<<16>>16,b[(c[m>>2]|0)+(c[D>>2]<<1)>>1]|0)|0)>>15&65535;b[(c[m>>2]|0)+(c[D>>2]<<1)>>1]=t;c[D>>2]=(c[D>>2]|0)+1}b[J>>1]=(N(b[J>>1]|0,(c[w>>2]&65535)<<16>>16)|0)>>15;c[c[I>>2]>>2]=(c[c[I>>2]>>2]|0)+(((c[c[I>>2]>>2]>>16)*655|0)+((c[c[I>>2]>>2]&65535)*655>>16));t=qe(c[c[I>>2]>>2]|0,((c[(c[G>>2]|0)+2316>>2]&65535)<<16>>16)*18<<8)|0;c[c[I>>2]>>2]=t;c[E>>2]=(c[c[I>>2]>>2]>>7)+1>>1;c[u>>2]=(c[u>>2]|0)+1}c[L>>2]=d+((c[(c[G>>2]|0)+2336>>2]|0)-16<<2);e=c[L>>2]|0;f=(c[G>>2]|0)+1284|0;a=e+64|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(a|0));c[C>>2]=0;while(1){f=c[G>>2]|0;if((c[C>>2]|0)>=(c[(c[G>>2]|0)+2328>>2]|0))break;c[A>>2]=c[f+2340>>2]>>1;y=N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)-1<<2)>>2]>>16,b[z>>1]|0)|0;c[A>>2]=(c[A>>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2]&65535)<<16>>16)|0;y=y+((N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]&65535,(c[F+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]|0,(c[F+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)f=-32768;else{f=N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]>>16,(c[F+4>>2]&65535)<<16>>16)|0;f=f+((N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]&65535,(c[F+4>>2]&65535)<<16>>16)|0)>>16)|0;f=(f+(N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]|0,(c[F+4>>2]>>15)+1>>1)|0)>>7)+1>>1}}else f=32767;if((f|0)<=32767){y=N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]>>16,(c[F+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]&65535,(c[F+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]|0,(c[F+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<=32767){y=N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]>>16,(c[F+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]&65535,(c[F+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]|0,(c[F+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)f=-32768;else{f=N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]>>16,(c[F+4>>2]&65535)<<16>>16)|0;f=f+((N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]&65535,(c[F+4>>2]&65535)<<16>>16)|0)>>16)|0;f=(f+(N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]|0,(c[F+4>>2]>>15)+1>>1)|0)>>7)+1>>1}}else f=32767;if((f|0)>=-32768){y=N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]>>16,(c[F+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]&65535,(c[F+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]|0,(c[F+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<=32767){y=N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]>>16,(c[F+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]&65535,(c[F+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]|0,(c[F+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)f=-32768;else{f=N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]>>16,(c[F+4>>2]&65535)<<16>>16)|0;f=f+((N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]&65535,(c[F+4>>2]&65535)<<16>>16)|0)>>16)|0;f=(f+(N(c[(c[L>>2]|0)+(16+(c[C>>2]|0)<<2)>>2]|0,(c[F+4>>2]>>15)+1>>1)|0)>>7)+1>>1}}else f=32767}else f=-32768}else f=32767;b[(c[B>>2]|0)+(c[C>>2]<<1)>>1]=f;c[C>>2]=(c[C>>2]|0)+1}e=f+1284|0;f=(c[L>>2]|0)+(c[(c[G>>2]|0)+2328>>2]<<2)|0;a=e+64|0;do{c[e>>2]=c[f>>2];e=e+4|0;f=f+4|0}while((e|0)<(a|0));c[(c[I>>2]|0)+52>>2]=c[K>>2];b[(c[I>>2]|0)+56>>1]=b[J>>1]|0;c[C>>2]=0;while(1){if((c[C>>2]|0)>=4)break;c[(c[H>>2]|0)+(c[C>>2]<<2)>>2]=c[E>>2];c[C>>2]=(c[C>>2]|0)+1}_(c[M>>2]|0);l=O;return}function le(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;i=r+40|0;j=r+36|0;f=r+32|0;o=r+28|0;g=r+24|0;h=r+20|0;k=r+16|0;m=r+12|0;p=r+8|0;n=r+4|0;q=r;c[i>>2]=d;c[j>>2]=e;c[k>>2]=(c[i>>2]|0)+4168;c[(c[i>>2]|0)+4164>>2]=a[(c[i>>2]|0)+2736+29>>0];c[f>>2]=0;a:do if((a[(c[i>>2]|0)+2736+29>>0]|0)==2){c[h>>2]=0;while(1){e=N(c[h>>2]|0,c[(c[i>>2]|0)+2332>>2]|0)|0;if((e|0)>=(c[(c[j>>2]|0)+((c[(c[i>>2]|0)+2324>>2]|0)-1<<2)>>2]|0))break;if((c[h>>2]|0)==(c[(c[i>>2]|0)+2324>>2]|0))break;c[o>>2]=0;c[g>>2]=0;while(1){if((c[g>>2]|0)>=5)break;c[o>>2]=(c[o>>2]|0)+(b[(c[j>>2]|0)+96+((((c[(c[i>>2]|0)+2324>>2]|0)-1-(c[h>>2]|0)|0)*5|0)+(c[g>>2]|0)<<1)>>1]|0);c[g>>2]=(c[g>>2]|0)+1}if((c[o>>2]|0)>(c[f>>2]|0)){c[f>>2]=c[o>>2];e=(c[k>>2]|0)+4|0;d=(c[j>>2]|0)+96+((((c[(c[i>>2]|0)+2324>>2]|0)-1-(c[h>>2]|0)&65535)<<16>>16)*5<<1)|0;b[e>>1]=b[d>>1]|0;b[e+2>>1]=b[d+2>>1]|0;b[e+4>>1]=b[d+4>>1]|0;b[e+6>>1]=b[d+6>>1]|0;b[e+8>>1]=b[d+8>>1]|0;c[c[k>>2]>>2]=c[(c[j>>2]|0)+((c[(c[i>>2]|0)+2324>>2]|0)-1-(c[h>>2]|0)<<2)>>2]<<8}c[h>>2]=(c[h>>2]|0)+1}o=(c[k>>2]|0)+4|0;c[o>>2]=0;c[o+4>>2]=0;b[o+8>>1]=0;b[(c[k>>2]|0)+4+4>>1]=c[f>>2];if((c[f>>2]|0)<11469){c[p>>2]=11744256;c[m>>2]=(c[p>>2]|0)/(((c[f>>2]|0)>1?c[f>>2]|0:1)|0)|0;c[g>>2]=0;while(1){if((c[g>>2]|0)>=5)break a;q=(N(b[(c[k>>2]|0)+4+(c[g>>2]<<1)>>1]|0,(c[m>>2]&65535)<<16>>16)|0)>>10&65535;b[(c[k>>2]|0)+4+(c[g>>2]<<1)>>1]=q;c[g>>2]=(c[g>>2]|0)+1}}if((c[f>>2]|0)>15565){c[q>>2]=255016960;c[n>>2]=(c[q>>2]|0)/(((c[f>>2]|0)>1?c[f>>2]|0:1)|0)|0;c[g>>2]=0;while(1){if((c[g>>2]|0)>=5)break a;q=(N(b[(c[k>>2]|0)+4+(c[g>>2]<<1)>>1]|0,(c[n>>2]&65535)<<16>>16)|0)>>14&65535;b[(c[k>>2]|0)+4+(c[g>>2]<<1)>>1]=q;c[g>>2]=(c[g>>2]|0)+1}}}else{c[c[k>>2]>>2]=((c[(c[i>>2]|0)+2316>>2]&65535)<<16>>16)*18<<8;q=(c[k>>2]|0)+4|0;c[q>>2]=0;c[q+4>>2]=0;b[q+8>>1]=0}while(0);_i((c[k>>2]|0)+14|0,(c[j>>2]|0)+32+32|0,c[(c[i>>2]|0)+2340>>2]<<1|0)|0;b[(c[k>>2]|0)+68>>1]=c[(c[j>>2]|0)+136>>2];q=(c[k>>2]|0)+72|0;p=(c[j>>2]|0)+16+((c[(c[i>>2]|0)+2324>>2]|0)-2<<2)|0;c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[(c[k>>2]|0)+88>>2]=c[(c[i>>2]|0)+2332>>2];c[(c[k>>2]|0)+84>>2]=c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2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function oe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function pe(a,c){a=a|0;c=c|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+2|0;d=f;b[e>>1]=a;b[d>>1]=c;l=f;return ((b[e>>1]|0)>(b[d>>1]|0)?b[e>>1]|0:b[d>>1]|0)&65535|0}function qe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function re(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function se(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;h=l;l=l+48|0;g=h+32|0;n=h+28|0;d=h+24|0;i=h+20|0;f=h+16|0;j=h+12|0;m=h+8|0;k=h+4|0;e=h;c[n>>2]=a;c[d>>2]=b;b=c[n>>2]|0;c[i>>2]=(te((c[n>>2]|0)>0?b:0-b|0)|0)-1;c[m>>2]=c[n>>2]<>2];c[j>>2]=536870911/(c[m>>2]>>16|0)|0;c[e>>2]=c[j>>2]<<16;b=N(c[m>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=536870912-(b+((N(c[m>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))<<3;b=N(c[k>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;b=(c[e>>2]|0)+(b+((N(c[k>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[e>>2]=b+(N(c[k>>2]|0,(c[j>>2]>>15)+1>>1)|0);c[f>>2]=61-(c[i>>2]|0)-(c[d>>2]|0);b=c[f>>2]|0;if((c[f>>2]|0)>0)if((b|0)<32){c[g>>2]=c[e>>2]>>c[f>>2];n=c[g>>2]|0;l=h;return n|0}else{c[g>>2]=0;n=c[g>>2]|0;l=h;return n|0}a=c[e>>2]|0;d=0-(c[f>>2]|0)|0;do if((-2147483648>>0-b|0)>(2147483647>>0-(c[f>>2]|0)|0)){if((a|0)>(-2147483648>>d|0)){b=-2147483648>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[f>>2]|0)|0)){b=2147483647>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}else{if((a|0)>(2147483647>>d|0)){b=2147483647>>0-(c[f>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[f>>2]|0)|0)){b=-2147483648>>0-(c[f>>2]|0);break}else{b=c[e>>2]|0;break}}while(0);c[g>>2]=b<<0-(c[f>>2]|0);n=c[g>>2]|0;l=h;return n|0}function te(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function ue(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;o=r+40|0;j=r+36|0;n=r+32|0;m=r+28|0;h=r+24|0;g=r+20|0;p=r+16|0;i=r+12|0;f=r+8|0;k=r+4|0;q=r;c[o>>2]=a;c[j>>2]=d;c[n>>2]=e;c[p>>2]=(c[o>>2]|0)+4168;if(c[(c[o>>2]|0)+4160>>2]|0){fg((c[p>>2]|0)+60|0,(c[p>>2]|0)+64|0,c[j>>2]|0,c[n>>2]|0);o=1;q=c[p>>2]|0;q=q+48|0;c[q>>2]=o;l=r;return}a:do if(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[e>>2]|0;l=h;return g|0}we(c[f>>2]|0,d,b);if(c[d>>2]&1|0)c[g>>2]=32768;else c[g>>2]=46214;c[g>>2]=c[g>>2]>>(c[d>>2]>>1);f=N(c[g>>2]>>16,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[g>>2]&65535,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[e>>2]=c[g>>2];g=c[e>>2]|0;l=h;return g|0}function we(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=te(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];b=(xe(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=b;l=e;return}function xe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;g=j+20|0;d=j+16|0;h=j+12|0;i=j+8|0;f=j+4|0;e=j;c[d>>2]=a;c[h>>2]=b;c[i>>2]=c[d>>2];c[f>>2]=c[h>>2];c[e>>2]=0-(c[h>>2]|0);if(!(c[h>>2]|0)){c[g>>2]=c[d>>2];i=c[g>>2]|0;l=j;return i|0}a=c[i>>2]|0;if((c[h>>2]|0)<0){c[g>>2]=a<>2]|(c[i>>2]|0)>>>(32-(c[e>>2]|0)|0);i=c[g>>2]|0;l=j;return i|0}else{c[g>>2]=a<<32-(c[f>>2]|0)|(c[i>>2]|0)>>>(c[f>>2]|0);i=c[g>>2]|0;l=j;return i|0}return 0}function ye(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=l;l=l+80|0;g=d+68|0;f=d+64|0;e=d+32|0;h=d+16|0;i=d+8|0;j=d;c[g>>2]=a;c[f>>2]=b;ze(e,c[f>>2]|0,8);ze(h,e,4);ze(i,h,2);ze(j,i,1);Ae(c[g>>2]|0,c[i>>2]|0,c[j>>2]|0,30011);Ae(c[g>>2]|0,c[h>>2]|0,c[i>>2]|0,29859);Ae(c[g>>2]|0,c[e>>2]|0,c[h>>2]|0,29707);Ae(c[g>>2]|0,c[c[f>>2]>>2]|0,c[e>>2]|0,29555);Ae(c[g>>2]|0,c[(c[f>>2]|0)+8>>2]|0,c[e+4>>2]|0,29555);Ae(c[g>>2]|0,c[e+8>>2]|0,c[h+4>>2]|0,29707);Ae(c[g>>2]|0,c[(c[f>>2]|0)+16>>2]|0,c[e+8>>2]|0,29555);Ae(c[g>>2]|0,c[(c[f>>2]|0)+24>>2]|0,c[e+12>>2]|0,29555);Ae(c[g>>2]|0,c[h+8>>2]|0,c[i+4>>2]|0,29859);Ae(c[g>>2]|0,c[e+16>>2]|0,c[h+8>>2]|0,29707);Ae(c[g>>2]|0,c[(c[f>>2]|0)+32>>2]|0,c[e+16>>2]|0,29555);Ae(c[g>>2]|0,c[(c[f>>2]|0)+40>>2]|0,c[e+20>>2]|0,29555);Ae(c[g>>2]|0,c[e+24>>2]|0,c[h+12>>2]|0,29707);Ae(c[g>>2]|0,c[(c[f>>2]|0)+48>>2]|0,c[e+24>>2]|0,29555);Ae(c[g>>2]|0,c[(c[f>>2]|0)+56>>2]|0,c[e+28>>2]|0,29555);l=d;return}function ze(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;h=i+12|0;e=i+8|0;g=i+4|0;f=i;c[h>>2]=a;c[e>>2]=b;c[g>>2]=d;c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[g>>2]|0))break;c[(c[h>>2]|0)+(c[f>>2]<<2)>>2]=(c[(c[e>>2]|0)+(c[f>>2]<<1<<2)>>2]|0)+(c[(c[e>>2]|0)+((c[f>>2]<<1)+1<<2)>>2]|0);c[f>>2]=(c[f>>2]|0)+1}l=i;return}function Ae(a,b,e,f){a=a|0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g+12>>1]|0,29555);Ce((c[i>>2]|0)+28|0,(c[i>>2]|0)+30|0,c[h>>2]|0,b[g+14>>1]|0,29555);l=f;return}function Ce(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;j=o+16|0;k=o+12|0;m=o+8|0;i=o+4|0;n=o;c[j>>2]=a;c[k>>2]=e;c[m>>2]=f;c[i>>2]=g;c[n>>2]=h;if((c[i>>2]|0)>0){h=(Pb(c[m>>2]|0,(c[n>>2]|0)+(d[30163+(c[i>>2]|0)>>0]|0)|0,8)|0)&65535;b[c[j>>2]>>1]=h;h=(c[i>>2]|0)-(b[c[j>>2]>>1]|0)&65535;n=c[k>>2]|0;b[n>>1]=h;l=o;return}else{b[c[j>>2]>>1]=0;h=0;n=c[k>>2]|0;b[n>>1]=h;l=o;return}}function De(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=l;l=l+16|0;e=g+8|0;d=g+4|0;f=g;c[e>>2]=a;c[f>>2]=0;a=c[e>>2]|0;b=a+112|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));c[d>>2]=0;while(1){if((c[d>>2]|0)>=4)break;b=Ee(50/((c[d>>2]|0)+1|0)|0,1)|0;c[(c[e>>2]|0)+92+(c[d>>2]<<2)>>2]=b;c[d>>2]=(c[d>>2]|0)+1}c[d>>2]=0;while(1){a=c[e>>2]|0;if((c[d>>2]|0)>=4)break;c[(c[e>>2]|0)+60+(c[d>>2]<<2)>>2]=(c[a+92+(c[d>>2]<<2)>>2]|0)*100;c[(c[e>>2]|0)+76+(c[d>>2]<<2)>>2]=2147483647/(c[(c[e>>2]|0)+60+(c[d>>2]<<2)>>2]|0)|0;c[d>>2]=(c[d>>2]|0)+1}c[a+108>>2]=15;c[d>>2]=0;while(1){if((c[d>>2]|0)>=4)break;c[(c[e>>2]|0)+40+(c[d>>2]<<2)>>2]=25600;c[d>>2]=(c[d>>2]|0)+1}l=g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0)-1<<1)>>1]>>1;b[e>>1]=b[f+((c[j>>2]|0)-1<<1)>>1]|0;c[k>>2]=(c[j>>2]|0)-1;while(1){if((c[k>>2]|0)<=0)break;b[f+((c[k>>2]|0)-1<<1)>>1]=b[f+((c[k>>2]|0)-1<<1)>>1]>>1;F=f+(c[k>>2]<<1)|0;b[F>>1]=(b[F>>1]|0)-(b[f+((c[k>>2]|0)-1<<1)>>1]|0);c[k>>2]=(c[k>>2]|0)+-1}b[f>>1]=(b[f>>1]|0)-(b[(c[x>>2]|0)+56>>1]|0);b[(c[x>>2]|0)+56>>1]=b[e>>1]|0;c[v>>2]=0;while(1){if((c[v>>2]|0)>=4)break;F=c[(c[w>>2]|0)+4608>>2]|0;c[j>>2]=F>>(Ge(4-(c[v>>2]|0)|0,3)|0);c[h>>2]=c[j>>2]>>2;c[i>>2]=0;c[o+(c[v>>2]<<2)>>2]=c[(c[x>>2]|0)+24+(c[v>>2]<<2)>>2];c[m>>2]=0;while(1){if((c[m>>2]|0)>=4)break;c[r>>2]=0;c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[h>>2]|0))break;c[n>>2]=b[f+((c[g+(c[v>>2]<<2)>>2]|0)+(c[k>>2]|0)+(c[i>>2]|0)<<1)>>1]>>3;c[r>>2]=(c[r>>2]|0)+(N((c[n>>2]&65535)<<16>>16,(c[n>>2]&65535)<<16>>16)|0);c[k>>2]=(c[k>>2]|0)+1}d=c[o+(c[v>>2]<<2)>>2]|0;a=c[r>>2]|0;if((c[m>>2]|0)<3){if(d+a&-2147483648|0)d=2147483647;else d=(c[o+(c[v>>2]<<2)>>2]|0)+(c[r>>2]|0)|0;a=c[v>>2]|0}else{if(d+(a>>1)&-2147483648|0)d=2147483647;else d=(c[o+(c[v>>2]<<2)>>2]|0)+(c[r>>2]>>1)|0;a=c[v>>2]|0}c[o+(a<<2)>>2]=d;c[i>>2]=(c[i>>2]|0)+(c[h>>2]|0);c[m>>2]=(c[m>>2]|0)+1}c[(c[x>>2]|0)+24+(c[v>>2]<<2)>>2]=c[r>>2];c[v>>2]=(c[v>>2]|0)+1}He(o,c[x>>2]|0);c[r>>2]=0;c[p>>2]=0;c[v>>2]=0;while(1){if((c[v>>2]|0)>=4)break;c[B>>2]=(c[o+(c[v>>2]<<2)>>2]|0)-(c[(c[x>>2]|0)+60+(c[v>>2]<<2)>>2]|0);d=c[v>>2]|0;if((c[B>>2]|0)>0){e=c[o+(c[v>>2]<<2)>>2]|0;if(!(c[o+(d<<2)>>2]&-8388608)){a=c[v>>2]|0;d=(e<<8|0)/((c[(c[x>>2]|0)+60+(c[v>>2]<<2)>>2]|0)+1|0)|0}else{a=c[v>>2]|0;d=(e|0)/((c[(c[x>>2]|0)+60+(c[v>>2]<<2)>>2]>>8)+1|0)|0}c[s+(a<<2)>>2]=d;c[u>>2]=(Bf(c[s+(c[v>>2]<<2)>>2]|0)|0)-1024;c[r>>2]=(c[r>>2]|0)+(N((c[u>>2]&65535)<<16>>16,(c[u>>2]&65535)<<16>>16)|0);if((c[B>>2]|0)<1048576){E=(Ie(c[B>>2]|0)|0)<<6>>16;E=N(E,(c[u>>2]&65535)<<16>>16)|0;F=(Ie(c[B>>2]|0)|0)<<6&65535;c[u>>2]=E+((N(F,(c[u>>2]&65535)<<16>>16)|0)>>16)}F=N(c[17944+(c[v>>2]<<2)>>2]>>16,(c[u>>2]&65535)<<16>>16)|0;c[p>>2]=(c[p>>2]|0)+(F+((N(c[17944+(c[v>>2]<<2)>>2]&65535,(c[u>>2]&65535)<<16>>16)|0)>>16))}else c[s+(d<<2)>>2]=256;c[v>>2]=(c[v>>2]|0)+1}c[r>>2]=(c[r>>2]|0)/4|0;c[q>>2]=((Ie(c[r>>2]|0)|0)*3&65535)<<16>>16;c[t>>2]=cg(0+(((c[q>>2]&65535)<<16>>16)*45e3>>16)-128|0)|0;F=(cg(c[p>>2]|0)|0)-16384<<1;c[(c[w>>2]|0)+4744>>2]=F;c[B>>2]=0;c[v>>2]=0;while(1){if((c[v>>2]|0)>=4)break;F=N((c[v>>2]|0)+1|0,(c[o+(c[v>>2]<<2)>>2]|0)-(c[(c[x>>2]|0)+60+(c[v>>2]<<2)>>2]|0)>>4)|0;c[B>>2]=(c[B>>2]|0)+F;c[v>>2]=(c[v>>2]|0)+1}if((c[B>>2]|0)>0){if((c[B>>2]|0)<32768){d=c[B>>2]|0;if((c[(c[w>>2]|0)+4608>>2]|0)==((c[(c[w>>2]|0)+4600>>2]|0)*10|0)){if((d|0)>32767)d=32767;else d=(c[B>>2]|0)<-32768?-32768:c[B>>2]|0;c[B>>2]=d<<16}else{if((d|0)>65535)d=65535;else d=(c[B>>2]|0)<-65536?-65536:c[B>>2]|0;c[B>>2]=d<<15}c[B>>2]=Ie(c[B>>2]|0)|0;F=N(32768+(c[B>>2]|0)>>16,(c[t>>2]&65535)<<16>>16)|0;c[t>>2]=F+((N(32768+(c[B>>2]|0)&65535,(c[t>>2]&65535)<<16>>16)|0)>>16)}}else c[t>>2]=c[t>>2]>>1;F=Ge(c[t>>2]>>7,255)|0;c[(c[w>>2]|0)+4556>>2]=F;F=N(c[t>>2]>>16,(c[t>>2]&65535)<<16>>16)|0;c[A>>2]=0+((F+((N(c[t>>2]&65535,(c[t>>2]&65535)<<16>>16)|0)>>16)&65535)<<16>>16<<12>>16);if((c[(c[w>>2]|0)+4608>>2]|0)==((c[(c[w>>2]|0)+4600>>2]|0)*10|0))c[A>>2]=c[A>>2]>>1;c[v>>2]=0;while(1){if((c[v>>2]|0)>=4)break;F=N((c[s+(c[v>>2]<<2)>>2]|0)-(c[(c[x>>2]|0)+40+(c[v>>2]<<2)>>2]|0)>>16,(c[A>>2]&65535)<<16>>16)|0;F=(c[(c[x>>2]|0)+40+(c[v>>2]<<2)>>2]|0)+(F+((N((c[s+(c[v>>2]<<2)>>2]|0)-(c[(c[x>>2]|0)+40+(c[v>>2]<<2)>>2]|0)&65535,(c[A>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[x>>2]|0)+40+(c[v>>2]<<2)>>2]=F;c[u>>2]=((Bf(c[(c[x>>2]|0)+40+(c[v>>2]<<2)>>2]|0)|0)-1024|0)*3;F=cg((c[u>>2]|0)-2048>>4)|0;c[(c[w>>2]|0)+4728+(c[v>>2]<<2)>>2]=F;c[v>>2]=(c[v>>2]|0)+1}F=c[y>>2]|0;_(c[z>>2]|0);l=C;return F|0}function Ge(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function He(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;j=m+28|0;k=m+24|0;f=m+20|0;h=m+16|0;i=m+12|0;e=m+8|0;d=m+4|0;g=m;c[j>>2]=a;c[k>>2]=b;if((c[(c[k>>2]|0)+108>>2]|0)<1e3)c[g>>2]=32767/((c[(c[k>>2]|0)+108>>2]>>4)+1|0)|0;else c[g>>2]=0;c[f>>2]=0;while(1){a=c[k>>2]|0;if((c[f>>2]|0)>=4)break;c[h>>2]=c[a+60+(c[f>>2]<<2)>>2];if((c[(c[j>>2]|0)+(c[f>>2]<<2)>>2]|0)+(c[(c[k>>2]|0)+92+(c[f>>2]<<2)>>2]|0)&-2147483648|0)a=2147483647;else a=(c[(c[j>>2]|0)+(c[f>>2]<<2)>>2]|0)+(c[(c[k>>2]|0)+92+(c[f>>2]<<2)>>2]|0)|0;c[i>>2]=a;c[e>>2]=2147483647/(c[i>>2]|0)|0;do if((c[i>>2]|0)<=(c[h>>2]<<3|0))if((c[i>>2]|0)<(c[h>>2]|0)){c[d>>2]=1024;break}else{a=N(c[e>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;a=a+((N(c[e>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16)|0;a=a+(N(c[e>>2]|0,(c[h>>2]>>15)+1>>1)|0)>>16<<11;b=N(c[e>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;b=b+((N(c[e>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16)|0;c[d>>2]=a+((b+(N(c[e>>2]|0,(c[h>>2]>>15)+1>>1)|0)&65535)<<11>>16);break}else c[d>>2]=128;while(0);c[d>>2]=Me(c[d>>2]|0,c[g>>2]|0)|0;b=N((c[e>>2]|0)-(c[(c[k>>2]|0)+76+(c[f>>2]<<2)>>2]|0)>>16,(c[d>>2]&65535)<<16>>16)|0;b=(c[(c[k>>2]|0)+76+(c[f>>2]<<2)>>2]|0)+(b+((N((c[e>>2]|0)-(c[(c[k>>2]|0)+76+(c[f>>2]<<2)>>2]|0)&65535,(c[d>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[k>>2]|0)+76+(c[f>>2]<<2)>>2]=b;c[h>>2]=2147483647/(c[(c[k>>2]|0)+76+(c[f>>2]<<2)>>2]|0)|0;c[h>>2]=(c[h>>2]|0)<16777215?c[h>>2]|0:16777215;c[(c[k>>2]|0)+60+(c[f>>2]<<2)>>2]=c[h>>2];c[f>>2]=(c[f>>2]|0)+1}k=a+108|0;c[k>>2]=(c[k>>2]|0)+1;l=m;return}function Ie(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;e=h+16|0;f=h+12|0;g=h+8|0;d=h+4|0;b=h;c[f>>2]=a;if((c[f>>2]|0)<=0){c[e>>2]=0;g=c[e>>2]|0;l=h;return g|0}Je(c[f>>2]|0,d,b);if(c[d>>2]&1|0)c[g>>2]=32768;else c[g>>2]=46214;c[g>>2]=c[g>>2]>>(c[d>>2]>>1);f=N(c[g>>2]>>16,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[g>>2]&65535,(((c[b>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[e>>2]=c[g>>2];g=c[e>>2]|0;l=h;return g|0}function Je(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=Ke(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];b=(Le(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=b;l=e;return}function Ke(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Le(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;g=j+20|0;d=j+16|0;h=j+12|0;i=j+8|0;f=j+4|0;e=j;c[d>>2]=a;c[h>>2]=b;c[i>>2]=c[d>>2];c[f>>2]=c[h>>2];c[e>>2]=0-(c[h>>2]|0);if(!(c[h>>2]|0)){c[g>>2]=c[d>>2];i=c[g>>2]|0;l=j;return i|0}a=c[i>>2]|0;if((c[h>>2]|0)<0){c[g>>2]=a<>2]|(c[i>>2]|0)>>>(32-(c[e>>2]|0)|0);i=c[g>>2]|0;l=j;return i|0}else{c[g>>2]=a<<32-(c[f>>2]|0)|(c[i>>2]|0)>>>(c[f>>2]|0);i=c[g>>2]|0;l=j;return i|0}return 0}function Me(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Ne(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;f=h+12|0;e=h+8|0;g=h+4|0;d=h;c[f>>2]=a;c[e>>2]=b;c[g>>2]=c[(c[f>>2]|0)+4600>>2];c[d>>2]=((c[g>>2]&65535)<<16>>16)*1e3;if(!(c[d>>2]|0)){e=c[f>>2]|0;c[d>>2]=c[((c[(c[f>>2]|0)+4596>>2]|0)<(c[(c[f>>2]|0)+4580>>2]|0)?e+4596|0:e+4580|0)>>2];c[g>>2]=(c[d>>2]|0)/1e3|0;g=c[g>>2]|0;l=h;return g|0}if(((c[d>>2]|0)<=(c[(c[f>>2]|0)+4580>>2]|0)?(c[d>>2]|0)<=(c[(c[f>>2]|0)+4588>>2]|0):0)?(c[d>>2]|0)>=(c[(c[f>>2]|0)+4592>>2]|0):0){if((c[(c[f>>2]|0)+16+8>>2]|0)>=256)c[(c[f>>2]|0)+16+12>>2]=0;if((c[(c[f>>2]|0)+4560>>2]|0)==0?(c[(c[e>>2]|0)+60>>2]|0)==0:0){g=c[g>>2]|0;l=h;return g|0}b=c[f>>2]|0;if((((c[(c[f>>2]|0)+4600>>2]&65535)<<16>>16)*1e3|0)>(c[(c[f>>2]|0)+4596>>2]|0)){if(!(c[b+16+12>>2]|0)){c[(c[f>>2]|0)+16+8>>2]=256;d=(c[f>>2]|0)+16|0;c[d>>2]=0;c[d+4>>2]=0}b=(c[f>>2]|0)+16|0;if(c[(c[e>>2]|0)+60>>2]|0){c[b+12>>2]=0;c[g>>2]=(c[(c[f>>2]|0)+4600>>2]|0)==16?12:8;g=c[g>>2]|0;l=h;return g|0}if((c[b+8>>2]|0)<=0){c[(c[e>>2]|0)+84>>2]=1;f=(c[e>>2]|0)+52|0;c[f>>2]=(c[f>>2]|0)-(((c[(c[e>>2]|0)+52>>2]|0)*5|0)/((c[(c[e>>2]|0)+24>>2]|0)+5|0)|0);g=c[g>>2]|0;l=h;return g|0}else{c[(c[f>>2]|0)+16+12>>2]=-2;g=c[g>>2]|0;l=h;return g|0}}if((((c[b+4600>>2]&65535)<<16>>16)*1e3|0)>=(c[(c[f>>2]|0)+4596>>2]|0)){if((c[(c[f>>2]|0)+16+12>>2]|0)>=0){g=c[g>>2]|0;l=h;return g|0}c[(c[f>>2]|0)+16+12>>2]=1;g=c[g>>2]|0;l=h;return g|0}b=c[f>>2]|0;if(c[(c[e>>2]|0)+60>>2]|0){c[g>>2]=(c[b+4600>>2]|0)==8?12:16;c[(c[f>>2]|0)+16+8>>2]=0;e=(c[f>>2]|0)+16|0;c[e>>2]=0;c[e+4>>2]=0;c[(c[f>>2]|0)+16+12>>2]=1;g=c[g>>2]|0;l=h;return g|0}if(!(c[b+16+12>>2]|0)){c[(c[e>>2]|0)+84>>2]=1;f=(c[e>>2]|0)+52|0;c[f>>2]=(c[f>>2]|0)-(((c[(c[e>>2]|0)+52>>2]|0)*5|0)/((c[(c[e>>2]|0)+24>>2]|0)+5|0)|0);g=c[g>>2]|0;l=h;return g|0}else{c[(c[f>>2]|0)+16+12>>2]=1;g=c[g>>2]|0;l=h;return g|0}}c[d>>2]=c[(c[f>>2]|0)+4580>>2];if((c[d>>2]|0)<(c[(c[f>>2]|0)+4588>>2]|0))b=c[d>>2]|0;else b=c[(c[f>>2]|0)+4588>>2]|0;c[d>>2]=b;if((c[d>>2]|0)>(c[(c[f>>2]|0)+4592>>2]|0))b=c[d>>2]|0;else b=c[(c[f>>2]|0)+4592>>2]|0;c[d>>2]=b;c[g>>2]=(c[d>>2]|0)/1e3|0;g=c[g>>2]|0;l=h;return g|0}function Oe(d,e,f,g,h,i,j,k,m){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=l;l=l+112|0;n=M+96|0;t=M+92|0;G=M+88|0;J=M+84|0;o=M+80|0;E=M+76|0;B=M+72|0;F=M+68|0;z=M+60|0;A=M+56|0;v=M+52|0;L=M+100|0;w=M+48|0;u=M+44|0;s=M+40|0;q=M+36|0;p=M+32|0;I=M+28|0;H=M+24|0;D=M+20|0;K=M+16|0;r=M+12|0;C=M+8|0;x=M+4|0;y=M;c[n>>2]=d;c[t>>2]=e;c[G>>2]=f;c[J>>2]=g;c[o>>2]=h;c[E>>2]=i;c[B>>2]=j;c[F>>2]=k;c[M+64>>2]=m;c[D>>2]=2147483647;c[r>>2]=0;c[A>>2]=0;while(1){if((c[A>>2]|0)>=3)break;c[y>>2]=51;c[w>>2]=c[17632+(c[A>>2]<<2)>>2];c[u>>2]=c[17644+(c[A>>2]<<2)>>2];c[s>>2]=c[17656+(c[A>>2]<<2)>>2];c[v>>2]=a[27259+(c[A>>2]|0)>>0];c[p>>2]=c[o>>2];c[q>>2]=c[n>>2];c[H>>2]=0;c[K>>2]=c[c[J>>2]>>2];c[z>>2]=0;while(1){if((c[z>>2]|0)>=(c[F>>2]|0))break;g=Ff(5333-(c[K>>2]|0)+896|0)|0;c[C>>2]=g-(c[y>>2]|0);Pe(L+(c[z>>2]|0)|0,I,x,c[q>>2]|0,c[p>>2]|0,c[u>>2]|0,c[s>>2]|0,c[w>>2]|0,c[E>>2]|0,c[C>>2]|0,c[v>>2]|0);if((c[H>>2]|0)+(c[I>>2]|0)&-2147483648|0)d=2147483647;else d=(c[H>>2]|0)+(c[I>>2]|0)|0;c[H>>2]=d;g=c[K>>2]|0;if(0>(g+(Bf((c[y>>2]|0)+(c[x>>2]|0)|0)|0)-896|0))d=0;else{d=c[K>>2]|0;d=d+(Bf((c[y>>2]|0)+(c[x>>2]|0)|0)|0)-896|0}c[K>>2]=d;c[q>>2]=(c[q>>2]|0)+10;c[p>>2]=(c[p>>2]|0)+100;c[z>>2]=(c[z>>2]|0)+1}c[H>>2]=2147483646<(c[H>>2]|0)?2147483646:c[H>>2]|0;if((c[H>>2]|0)<(c[D>>2]|0)){c[D>>2]=c[H>>2];a[c[G>>2]>>0]=c[A>>2];_i(c[t>>2]|0,L|0,c[F>>2]|0)|0;c[r>>2]=c[K>>2]}if(c[B>>2]|0?(c[H>>2]|0)<(b[12226]|0):0)break;c[A>>2]=(c[A>>2]|0)+1}c[u>>2]=c[17644+(a[c[G>>2]>>0]<<2)>>2];c[z>>2]=0;while(1){if((c[z>>2]|0)>=(c[F>>2]|0))break;c[A>>2]=0;while(1){if((c[A>>2]|0)>=5)break;b[(c[n>>2]|0)+(((c[z>>2]|0)*5|0)+(c[A>>2]|0)<<1)>>1]=a[(c[u>>2]|0)+(((a[(c[t>>2]|0)+(c[z>>2]|0)>>0]|0)*5|0)+(c[A>>2]|0))>>0]<<7;c[A>>2]=(c[A>>2]|0)+1}c[z>>2]=(c[z>>2]|0)+1}c[c[J>>2]>>2]=c[r>>2];l=M;return}
-function Qh(d,e,f,h,i,j){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0;ta=l;l=l+320|0;X=ta+80|0;W=ta+72|0;V=ta+64|0;U=ta+56|0;T=ta+48|0;S=ta+40|0;R=ta+32|0;Q=ta+24|0;P=ta+16|0;y=ta+8|0;x=ta;ra=ta+308|0;sa=ta+304|0;G=ta+300|0;ca=ta+296|0;ia=ta+292|0;ha=ta+288|0;H=ta+284|0;t=ta+280|0;D=ta+276|0;ba=ta+272|0;v=ta+268|0;na=ta+264|0;ga=ta+216|0;u=ta+212|0;o=ta+208|0;z=ta+204|0;m=ta+200|0;da=ta+196|0;J=ta+192|0;qa=ta+188|0;la=ta+184|0;O=ta+180|0;M=ta+176|0;ma=ta+172|0;I=ta+168|0;ka=ta+164|0;B=ta+160|0;Z=ta+156|0;A=ta+152|0;n=ta+148|0;Y=ta+144|0;ea=ta+140|0;ja=ta+136|0;C=ta+132|0;k=ta+128|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(c[sa>>2]|0,0,0,c[ia>>2]|0,(c[qa>>2]|0)<(c[Y>>2]|0)?c[qa>>2]|0:c[Y>>2]|0,0)|0;e=c[k>>2]|0;if((c[k>>2]|0)<0){j=20;break}pa=N(e,c[(c[sa>>2]|0)+8>>2]|0)|0;c[ia>>2]=(c[ia>>2]|0)+(pa<<2);c[qa>>2]=(c[qa>>2]|0)-(c[k>>2]|0);if((c[qa>>2]|0)<=0){j=22;break}}if((j|0)==20){c[ra>>2]=e;sa=c[ra>>2]|0;l=ta;return sa|0}else if((j|0)==22){c[ra>>2]=c[ha>>2];sa=c[ra>>2]|0;l=ta;return sa|0}}if((c[qa>>2]|0)<(c[Y>>2]|0)){if((c[qa>>2]|0)>(c[n>>2]|0)){c[qa>>2]=c[n>>2];break}if(((c[la>>2]|0)!=1e3?(c[qa>>2]|0)>(c[A>>2]|0):0)?(c[qa>>2]|0)<(c[n>>2]|0):0)c[qa>>2]=c[A>>2]}}else{c[qa>>2]=c[(c[sa>>2]|0)+64>>2];c[la>>2]=c[(c[sa>>2]|0)+56>>2];Hb(ga,c[G>>2]|0,c[ca>>2]|0)}while(0);c[C>>2]=0;c[z>>2]=1;c[m>>2]=1;do if(c[G>>2]|0?(c[(c[sa>>2]|0)+60>>2]|0)>0:0){if(!(((c[la>>2]|0)==1002?(c[(c[sa>>2]|0)+60>>2]|0)!=1002:0)?!(c[(c[sa>>2]|0)+68>>2]|0):0)){if((c[la>>2]|0)==1002)break;if((c[(c[sa>>2]|0)+60>>2]|0)!=1002)break}c[O>>2]=1;e=N(c[A>>2]|0,c[(c[sa>>2]|0)+8>>2]|0)|0;if((c[la>>2]|0)==1002){c[m>>2]=e;break}else{c[z>>2]=e;break}}while(0);m=c[m>>2]|0;c[pa>>2]=$()|0;e=l;l=l+((1*(m<<2)|0)+15&-16)|0;if((c[O>>2]|0)!=0&(c[la>>2]|0)==1002){c[da>>2]=e;Qh(c[sa>>2]|0,0,0,c[da>>2]|0,(c[A>>2]|0)<(c[qa>>2]|0)?c[A>>2]|0:c[qa>>2]|0,0)|0}a:do if((c[qa>>2]|0)>(c[ha>>2]|0)){c[ra>>2]=-1;c[oa>>2]=1}else{c[ha>>2]=c[qa>>2];if((c[la>>2]|0)==1002|(c[C>>2]|0)!=0)e=1;else e=N((c[n>>2]|0)>(c[ha>>2]|0)?c[n>>2]|0:c[ha>>2]|0,c[(c[sa>>2]|0)+8>>2]|0)|0;c[o>>2]=e;f=l;l=l+((1*(c[o>>2]<<1)|0)+15&-16)|0;b:do if((c[la>>2]|0)!=1002){c[s>>2]=f;if((c[(c[sa>>2]|0)+60>>2]|0)==1002)zd(c[t>>2]|0)|0;if(10>(((c[qa>>2]|0)*1e3|0)/(c[(c[sa>>2]|0)+12>>2]|0)|0|0))e=10;else e=((c[qa>>2]|0)*1e3|0)/(c[(c[sa>>2]|0)+12>>2]|0)|0;c[(c[sa>>2]|0)+16+16>>2]=e;if(c[G>>2]|0){c[(c[sa>>2]|0)+16+4>>2]=c[(c[sa>>2]|0)+48>>2];e=c[sa>>2]|0;if((c[la>>2]|0)==1e3){j=c[sa>>2]|0;if((c[e+52>>2]|0)==1101){i=8e3;e=j}else{e=(c[j+52>>2]|0)==1102;i=e?12e3:16e3;e=e?c[sa>>2]|0:c[sa>>2]|0}}else i=16e3;c[e+16+12>>2]=i}c[r>>2]=(c[G>>2]|0)==0?1:c[H>>2]<<1;c[p>>2]=0;c:while(1){c[q>>2]=(c[p>>2]|0)==0&1;c[v>>2]=Ad(c[t>>2]|0,(c[sa>>2]|0)+16|0,c[r>>2]|0,c[q>>2]|0,ga,c[s>>2]|0,u,c[(c[sa>>2]|0)+44>>2]|0)|0;d:do if(c[v>>2]|0){if(!(c[r>>2]|0))break c;c[u>>2]=c[ha>>2];c[ba>>2]=0;while(1){if((c[ba>>2]|0)>=(N(c[ha>>2]|0,c[(c[sa>>2]|0)+8>>2]|0)|0))break d;b[(c[s>>2]|0)+(c[ba>>2]<<1)>>1]=0;c[ba>>2]=(c[ba>>2]|0)+1}}while(0);o=N(c[u>>2]|0,c[(c[sa>>2]|0)+8>>2]|0)|0;c[s>>2]=(c[s>>2]|0)+(o<<1);c[p>>2]=(c[p>>2]|0)+(c[u>>2]|0);if((c[p>>2]|0)>=(c[ha>>2]|0))break b}c[ra>>2]=-3;c[oa>>2]=1;break a}while(0);c[M>>2]=0;if((c[H>>2]|0)==0&(c[la>>2]|0)!=1002&(c[G>>2]|0)!=0?(v=(Vh(ga)|0)+17|0,(v+(((c[(c[sa>>2]|0)+56>>2]|0)==1001&1)*20|0)|0)<=(c[ca>>2]<<3|0)):0){if((c[la>>2]|0)==1001)c[ma>>2]=Ob(ga,12)|0;else c[ma>>2]=1;if(c[ma>>2]|0){c[ka>>2]=Ob(ga,1)|0;if((c[la>>2]|0)==1001)e=(Qb(ga,256)|0)+2|0;else{e=c[ca>>2]|0;e=e-((Vh(ga)|0)+7>>3)|0}c[I>>2]=e;c[ca>>2]=(c[ca>>2]|0)-(c[I>>2]|0);v=c[ca>>2]<<3;if((v|0)<(Vh(ga)|0)){c[ca>>2]=0;c[I>>2]=0;c[ma>>2]=0}v=ga+4|0;c[v>>2]=(c[v>>2]|0)-(c[I>>2]|0)}}if((c[la>>2]|0)!=1002)c[M>>2]=17;c[w>>2]=21;switch(c[(c[sa>>2]|0)+52>>2]|0){case 1101:{c[w>>2]=13;break}case 1103:case 1102:{c[w>>2]=17;break}case 1104:{c[w>>2]=19;break}case 1105:{c[w>>2]=21;break}default:{}}v=c[D>>2]|0;c[x>>2]=c[w>>2];tb(v,10012,x)|0;x=c[D>>2]|0;c[y>>2]=c[(c[sa>>2]|0)+48>>2];tb(x,10008,y)|0;if(c[ma>>2]|0){c[O>>2]=0;c[z>>2]=1}e=l;l=l+((1*(c[z>>2]<<2)|0)+15&-16)|0;if((c[O>>2]|0)!=0&(c[la>>2]|0)!=1002){c[da>>2]=e;Qh(c[sa>>2]|0,0,0,c[da>>2]|0,(c[A>>2]|0)<(c[qa>>2]|0)?c[A>>2]|0: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|0)*6.488140788860619e-04*.6931471805599453));c[ba>>2]=0;while(1){if((c[ba>>2]|0)>=(N(c[ha>>2]|0,c[(c[sa>>2]|0)+8>>2]|0)|0))break g;g[fa>>2]=+g[(c[ia>>2]|0)+(c[ba>>2]<<2)>>2]*+g[aa>>2];g[(c[ia>>2]|0)+(c[ba>>2]<<2)>>2]=+g[fa>>2];c[ba>>2]=(c[ba>>2]|0)+1}}while(0);if((c[ca>>2]|0)<=1){j=c[sa>>2]|0;e=0}else{j=c[sa>>2]|0;e=c[ga+28>>2]^c[ja>>2]}c[j+84>>2]=e;c[(c[sa>>2]|0)+60>>2]=c[la>>2];if(c[ma>>2]|0)e=(c[ka>>2]|0)!=0^1;else e=0;c[(c[sa>>2]|0)+68>>2]=e&1;if((c[na>>2]|0)>=0)Rh()|0;c[ra>>2]=(c[na>>2]|0)<0?c[na>>2]|0:c[qa>>2]|0;c[oa>>2]=1}while(0);_(c[pa>>2]|0);sa=c[ra>>2]|0;l=ta;return sa|0}function Rh(){return 0}function Sh(a){a=a|0;var b=0,e=0,f=0;f=l;l=l+16|0;b=f+4|0;e=f;c[b>>2]=a;do if(!((d[c[b>>2]>>0]|0)&128|0))if(((d[c[b>>2]>>0]|0)&96|0)==96){c[e>>2]=1001;break}else{c[e>>2]=1e3;break}else c[e>>2]=1002;while(0);l=f;return c[e>>2]|0}function Th(a){a=a|0;var b=0,e=0,f=0,g=0;g=l;l=l+16|0;e=g+4|0;f=g;c[e>>2]=a;b=d[c[e>>2]>>0]|0;if((d[c[e>>2]>>0]|0)&128|0){e=1102+(b>>5&3)|0;c[f>>2]=e;c[f>>2]=(c[f>>2]|0)==1102?1101:e;f=c[f>>2]|0;l=g;return f|0}a=d[c[e>>2]>>0]|0;if((b&96|0)==96){c[f>>2]=a&16|0?1105:1104;f=c[f>>2]|0;l=g;return f|0}else{c[f>>2]=1101+(a>>5&3);f=c[f>>2]|0;l=g;return f|0}return 0}function Uh(a){a=a|0;var b=0,e=0;e=l;l=l+16|0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t=0,u=0,v=0;v=l;l=l+48|0;s=v+40|0;u=v+36|0;k=v+32|0;p=v+28|0;q=v+24|0;n=v+20|0;m=v+16|0;r=v+12|0;o=v+8|0;j=v+4|0;t=v;c[u>>2]=a;c[k>>2]=d;c[p>>2]=e;c[q>>2]=f;c[n>>2]=h;c[m>>2]=i;if((c[n>>2]|0)<=0){c[s>>2]=-1;u=c[s>>2]|0;l=v;return u|0}do if(!((c[k>>2]|0)!=0&(c[p>>2]|0)>0^1|(c[m>>2]|0)!=0)){c[j>>2]=Yh(c[u>>2]|0,c[k>>2]|0,c[p>>2]|0)|0;if((c[j>>2]|0)>0){c[n>>2]=(c[n>>2]|0)<(c[j>>2]|0)?c[n>>2]|0:c[j>>2]|0;break}c[s>>2]=-4;u=c[s>>2]|0;l=v;return u|0}while(0);a=N(c[n>>2]|0,c[(c[u>>2]|0)+8>>2]|0)|0;c[t>>2]=$()|0;d=l;l=l+((1*(a<<2)|0)+15&-16)|0;c[r>>2]=Ph(c[u>>2]|0,c[k>>2]|0,c[p>>2]|0,d,c[n>>2]|0,c[m>>2]|0,0,0,1)|0;a:do if((c[r>>2]|0)>0){c[o>>2]=0;while(1){if((c[o>>2]|0)>=(N(c[r>>2]|0,c[(c[u>>2]|0)+8>>2]|0)|0))break a;p=Zh(+g[d+(c[o>>2]<<2)>>2])|0;b[(c[q>>2]|0)+(c[o>>2]<<1)>>1]=p;c[o>>2]=(c[o>>2]|0)+1}}while(0);c[s>>2]=c[r>>2];_(c[t>>2]|0);u=c[s>>2]|0;l=v;return u|0}function Yh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+16|0;f=e+8|0;h=e+4|0;g=e;c[f>>2]=a;c[h>>2]=b;c[g>>2]=d;b=_h(c[h>>2]|0,c[g>>2]|0,c[(c[f>>2]|0)+12>>2]|0)|0;l=e;return b|0}function Zh(a){a=+a;var b=0,c=0;c=l;l=l+16|0;b=c;g[b>>2]=a;g[b>>2]=+g[b>>2]*32768.0;g[b>>2]=+g[b>>2]>-32768.0?+g[b>>2]:-32768.0;g[b>>2]=+g[b>>2]<32767.0?+g[b>>2]:32767.0;b=(Ui(+g[b>>2])|0)&65535;l=c;return b|0}function _h(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=l;l=l+32|0;g=i+20|0;f=i+16|0;k=i+12|0;e=i+8|0;h=i+4|0;j=i;c[f>>2]=a;c[k>>2]=b;c[e>>2]=d;c[j>>2]=$h(c[f>>2]|0,c[k>>2]|0)|0;d=c[j>>2]|0;if((c[j>>2]|0)<0){c[g>>2]=d;k=c[g>>2]|0;l=i;return k|0}c[h>>2]=N(d,Ih(c[f>>2]|0,c[e>>2]|0)|0)|0;if(((c[h>>2]|0)*25|0)>((c[e>>2]|0)*3|0)){c[g>>2]=-4;k=c[g>>2]|0;l=i;return k|0}else{c[g>>2]=c[h>>2];k=c[g>>2]|0;l=i;return k|0}return 0}function $h(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;h=i+12|0;g=i+8|0;f=i+4|0;e=i;c[g>>2]=a;c[f>>2]=b;do if((c[f>>2]|0)>=1){c[e>>2]=(d[c[g>>2]>>0]|0)&3;if(!(c[e>>2]|0)){c[h>>2]=1;break}if((c[e>>2]|0)!=3){c[h>>2]=2;break}if((c[f>>2]|0)<2){c[h>>2]=-4;break}else{c[h>>2]=(d[(c[g>>2]|0)+1>>0]|0)&63;break}}else c[h>>2]=-1;while(0);l=i;return c[h>>2]|0}function ai(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+32|0;n=p+24|0;o=p+20|0;h=p+16|0;k=p+12|0;m=p+8|0;j=p+4|0;i=p;c[o>>2]=a;c[h>>2]=b;c[k>>2]=d;c[m>>2]=e;c[j>>2]=f;c[i>>2]=g;if((c[j>>2]|0)<=0){c[n>>2]=-1;o=c[n>>2]|0;l=p;return o|0}else{c[n>>2]=Ph(c[o>>2]|0,c[h>>2]|0,c[k>>2]|0,c[m>>2]|0,c[j>>2]|0,c[i>>2]|0,0,0,0)|0;o=c[n>>2]|0;l=p;return o|0}return 0}function bi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=l;l=l+112|0;q=A+8|0;z=A+108|0;h=A+104|0;B=A+100|0;y=A+96|0;e=A+80|0;g=A+72|0;f=A+68|0;i=A+64|0;r=A+60|0;o=A+56|0;x=A+52|0;j=A+48|0;s=A+44|0;k=A+40|0;t=A+36|0;m=A+32|0;u=A+28|0;n=A+24|0;v=A+20|0;p=A+16|0;w=A+12|0;c[h>>2]=a;c[B>>2]=b;c[y>>2]=0;c[g>>2]=(c[h>>2]|0)+(c[(c[h>>2]|0)+4>>2]|0);c[f>>2]=(c[h>>2]|0)+(c[c[h>>2]>>2]|0);c[e>>2]=d;a:do switch(c[B>>2]|0){case 4009:{x=(c[e>>2]|0)+(4-1)&~(4-1);B=c[x>>2]|0;c[e>>2]=x+4;c[r>>2]=B;c[i>>2]=c[r>>2];if(c[i>>2]|0){c[c[i>>2]>>2]=c[(c[h>>2]|0)+52>>2];e=20}else e=21;break}case 4031:{w=(c[e>>2]|0)+(4-1)&~(4-1);B=c[w>>2]|0;c[e>>2]=w+4;c[x>>2]=B;c[o>>2]=c[x>>2];if(c[o>>2]|0){c[c[o>>2]>>2]=c[(c[h>>2]|0)+84>>2];e=20}else e=21;break}case 4028:{aj((c[h>>2]|0)+48|0,0,88-((c[h>>2]|0)+48-(c[h>>2]|0))|0)|0;tb(c[f>>2]|0,4028,A)|0;zd(c[g>>2]|0)|0;c[(c[h>>2]|0)+48>>2]=c[(c[h>>2]|0)+8>>2];c[(c[h>>2]|0)+64>>2]=(c[(c[h>>2]|0)+12>>2]|0)/400|0;e=20;break}case 4029:{x=(c[e>>2]|0)+(4-1)&~(4-1);B=c[x>>2]|0;c[e>>2]=x+4;c[s>>2]=B;c[j>>2]=c[s>>2];if(c[j>>2]|0){c[c[j>>2]>>2]=c[(c[h>>2]|0)+12>>2];e=20}else e=21;break}case 4033:{x=(c[e>>2]|0)+(4-1)&~(4-1);B=c[x>>2]|0;c[e>>2]=x+4;c[t>>2]=B;c[k>>2]=c[t>>2];if(c[k>>2]|0)if((c[(c[h>>2]|0)+60>>2]|0)==1002){e=c[f>>2]|0;c[q>>2]=(c[k>>2]|0)+((((c[k>>2]|0)-(c[k>>2]|0)|0)/4|0)<<2);tb(e,4033,q)|0;e=20;break a}else{c[c[k>>2]>>2]=c[(c[h>>2]|0)+16+20>>2];e=20;break a}else e=21;break}case 4045:{x=(c[e>>2]|0)+(4-1)&~(4-1);B=c[x>>2]|0;c[e>>2]=x+4;c[u>>2]=B;c[m>>2]=c[u>>2];if(c[m>>2]|0){c[c[m>>2]>>2]=c[(c[h>>2]|0)+40>>2];e=20}else e=21;break}case 4034:{x=(c[e>>2]|0)+(4-1)&~(4-1);B=c[x>>2]|0;c[e>>2]=x+4;c[v>>2]=B;c[n>>2]=c[v>>2];if((c[n>>2]|0)<-32768|(c[n>>2]|0)>32767)e=21;else{c[(c[h>>2]|0)+40>>2]=c[n>>2];e=20}break}case 4039:{x=(c[e>>2]|0)+(4-1)&~(4-1);B=c[x>>2]|0;c[e>>2]=x+4;c[w>>2]=B;c[p>>2]=c[w>>2];if(c[p>>2]|0){c[c[p>>2]>>2]=c[(c[h>>2]|0)+72>>2];e=20}else e=21;break}default:{c[y>>2]=-5;e=20}}while(0);if((e|0)==20){c[z>>2]=c[y>>2];B=c[z>>2]|0;l=A;return B|0}else if((e|0)==21){c[z>>2]=-1;B=c[z>>2]|0;l=A;return B|0}return 0}function ci(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;f=h+16|0;d=h+12|0;g=h+8|0;b=h+4|0;e=h;c[d>>2]=a;if((c[d>>2]|0)<1|(c[d>>2]|0)>2){c[f>>2]=0;g=c[f>>2]|0;l=h;return g|0}c[e>>2]=Bd(g)|0;if(c[e>>2]|0){c[f>>2]=0;g=c[f>>2]|0;l=h;return g|0}else{c[g>>2]=di(c[g>>2]|0)|0;c[b>>2]=Sa(c[d>>2]|0)|0;e=di(18220)|0;c[f>>2]=e+(c[g>>2]|0)+(c[b>>2]|0);g=c[f>>2]|0;l=h;return g|0}return 0}function di(a){a=a|0;var b=0,d=0,e=0;b=l;l=l+16|0;e=b+4|0;d=b;c[e>>2]=a;c[d>>2]=4;a=N((((c[e>>2]|0)+(c[d>>2]|0)-1|0)>>>0)/((c[d>>2]|0)>>>0)|0,c[d>>2]|0)|0;l=b;return a|0}function ei(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+64|0;t=u+8|0;s=u;o=u+48|0;r=u+44|0;h=u+40|0;k=u+36|0;i=u+32|0;q=u+28|0;j=u+24|0;m=u+20|0;n=u+16|0;p=u+12|0;c[r>>2]=a;c[h>>2]=d;c[k>>2]=e;c[i>>2]=f;if((!((c[h>>2]|0)!=48e3&(c[h>>2]|0)!=24e3&(c[h>>2]|0)!=16e3&(c[h>>2]|0)!=12e3&(c[h>>2]|0)!=8e3)?!((c[k>>2]|0)!=1&(c[k>>2]|0)!=2):0)?!((c[i>>2]|0)!=2048&(c[i>>2]|0)!=2049&(c[i>>2]|0)!=2051):0){a=c[r>>2]|0;aj(a|0,0,ci(c[k>>2]|0)|0)|0;c[n>>2]=Bd(p)|0;if(c[n>>2]|0){c[o>>2]=-1;t=c[o>>2]|0;l=u;return t|0}c[p>>2]=di(c[p>>2]|0)|0;a=di(18220)|0;c[(c[r>>2]|0)+4>>2]=a;c[c[r>>2]>>2]=(c[(c[r>>2]|0)+4>>2]|0)+(c[p>>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=c[i>>2];c[(c[r>>2]|0)+112>>2]=-1e3;c[(c[r>>2]|0)+116>>2]=-1e3;c[(c[r>>2]|0)+120>>2]=1105;c[(c[r>>2]|0)+108>>2]=-1e3;c[(c[r>>2]|0)+124>>2]=-1e3;c[(c[r>>2]|0)+128>>2]=-1;c[(c[r>>2]|0)+160>>2]=(c[(c[r>>2]|0)+132>>2]|0)/100|0;c[(c[r>>2]|0)+156>>2]=24;c[(c[r>>2]|0)+144>>2]=5e3;c[(c[r>>2]|0)+104>>2]=(c[(c[r>>2]|0)+132>>2]|0)/250|0;b[(c[r>>2]|0)+14292>>1]=16384;g[(c[r>>2]|0)+14300>>2]=1.0;t=(Bf(60)|0)<<8;c[(c[r>>2]|0)+14296>>2]=t;c[(c[r>>2]|0)+14344>>2]=1;c[(c[r>>2]|0)+14320>>2]=1001;c[(c[r>>2]|0)+14336>>2]=1105;Hi((c[r>>2]|0)+172|0);c[o>>2]=0;t=c[o>>2]|0;l=u;return t|0}}c[o>>2]=-1;t=c[o>>2]|0;l=u;return t|0}function fi(){return 0}function gi(a,b,d,e,f,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=l;l=l+48|0;v=u+40|0;r=u+36|0;s=u+32|0;p=u+28|0;m=u+24|0;n=u+20|0;j=u+16|0;t=u+12|0;q=u+8|0;o=u+4|0;k=u;c[v>>2]=a;c[r>>2]=b;c[s>>2]=d;c[p>>2]=e;c[m>>2]=f;c[n>>2]=h;c[j>>2]=i;c[t>>2]=c[v>>2];c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[s>>2]|0))break;v=N((c[o>>2]|0)+(c[p>>2]|0)|0,c[j>>2]|0)|0;g[(c[r>>2]|0)+(c[o>>2]<<2)>>2]=+g[(c[t>>2]|0)+(v+(c[m>>2]|0)<<2)>>2]*32768.0;c[o>>2]=(c[o>>2]|0)+1}a:do if((c[n>>2]|0)<=-1){if((c[n>>2]|0)==-2){c[k>>2]=1;while(1){if((c[k>>2]|0)>=(c[j>>2]|0))break a;c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[s>>2]|0))break;d=N((c[o>>2]|0)+(c[p>>2]|0)|0,c[j>>2]|0)|0;v=(c[r>>2]|0)+(c[o>>2]<<2)|0;g[v>>2]=+g[v>>2]+ +g[(c[t>>2]|0)+(d+(c[k>>2]|0)<<2)>>2]*32768.0;c[o>>2]=(c[o>>2]|0)+1}c[k>>2]=(c[k>>2]|0)+1}}}else{c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[s>>2]|0))break a;d=N((c[o>>2]|0)+(c[p>>2]|0)|0,c[j>>2]|0)|0;v=(c[r>>2]|0)+(c[o>>2]<<2)|0;g[v>>2]=+g[v>>2]+ +g[(c[t>>2]|0)+(d+(c[n>>2]|0)<<2)>>2]*32768.0;c[o>>2]=(c[o>>2]|0)+1}}while(0);g[q>>2]=1.0;if((c[j>>2]|0)==-2)g[q>>2]=+g[q>>2]/+(c[j>>2]|0);else g[q>>2]=+g[q>>2]/2.0;c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[s>>2]|0))break;v=(c[r>>2]|0)+(c[o>>2]<<2)|0;g[v>>2]=+g[v>>2]*+g[q>>2];c[o>>2]=(c[o>>2]|0)+1}l=u;return}function hi(a,d,e,f,h,i,j){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=l;l=l+48|0;w=v+40|0;s=v+36|0;t=v+32|0;q=v+28|0;n=v+24|0;o=v+20|0;k=v+16|0;u=v+12|0;r=v+8|0;p=v+4|0;m=v;c[w>>2]=a;c[s>>2]=d;c[t>>2]=e;c[q>>2]=f;c[n>>2]=h;c[o>>2]=i;c[k>>2]=j;c[u>>2]=c[w>>2];c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[t>>2]|0))break;w=N((c[p>>2]|0)+(c[q>>2]|0)|0,c[k>>2]|0)|0;g[(c[s>>2]|0)+(c[p>>2]<<2)>>2]=+(b[(c[u>>2]|0)+(w+(c[n>>2]|0)<<1)>>1]|0);c[p>>2]=(c[p>>2]|0)+1}a:do if((c[o>>2]|0)<=-1){if((c[o>>2]|0)==-2){c[m>>2]=1;while(1){if((c[m>>2]|0)>=(c[k>>2]|0))break a;c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[t>>2]|0))break;e=N((c[p>>2]|0)+(c[q>>2]|0)|0,c[k>>2]|0)|0;w=(c[s>>2]|0)+(c[p>>2]<<2)|0;g[w>>2]=+g[w>>2]+ +(b[(c[u>>2]|0)+(e+(c[m>>2]|0)<<1)>>1]|0);c[p>>2]=(c[p>>2]|0)+1}c[m>>2]=(c[m>>2]|0)+1}}}else{c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[t>>2]|0))break a;e=N((c[p>>2]|0)+(c[q>>2]|0)|0,c[k>>2]|0)|0;w=(c[s>>2]|0)+(c[p>>2]<<2)|0;g[w>>2]=+g[w>>2]+ +(b[(c[u>>2]|0)+(e+(c[o>>2]|0)<<1)>>1]|0);c[p>>2]=(c[p>>2]|0)+1}}while(0);g[r>>2]=.000030517578125;if((c[k>>2]|0)==-2)g[r>>2]=+g[r>>2]/+(c[k>>2]|0);else g[r>>2]=+g[r>>2]/2.0;c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[t>>2]|0))break;w=(c[s>>2]|0)+(c[p>>2]<<2)|0;g[w>>2]=+g[w>>2]*+g[r>>2];c[p>>2]=(c[p>>2]|0)+1}l=v;return}function ii(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;i=j+16|0;g=j+12|0;e=j+8|0;f=j+4|0;h=j;c[g>>2]=a;c[e>>2]=b;c[f>>2]=d;if((c[g>>2]|0)<((c[f>>2]|0)/400|0|0)){c[i>>2]=-1;i=c[i>>2]|0;l=j;return i|0}do if((c[e>>2]|0)==5e3)c[h>>2]=c[g>>2];else{if((c[e>>2]|0)==5010){c[h>>2]=(c[f>>2]|0)/50|0;break}if(!((c[e>>2]|0)>=5001&(c[e>>2]|0)<=5006)){c[i>>2]=-1;i=c[i>>2]|0;l=j;return i|0}d=c[f>>2]|0;if((((c[f>>2]|0)*3|0)/50|0|0)<(((c[f>>2]|0)/400|0)<<(c[e>>2]|0)-5001|0))d=(d*3|0)/50|0;else d=((d|0)/400|0)<<(c[e>>2]|0)-5001;c[h>>2]=d}while(0);if((c[h>>2]|0)>(c[g>>2]|0)){c[i>>2]=-1;i=c[i>>2]|0;l=j;return i|0}if(((((((c[h>>2]|0)*400|0)!=(c[f>>2]|0)?((c[h>>2]|0)*200|0)!=(c[f>>2]|0):0)?((c[h>>2]|0)*100|0)!=(c[f>>2]|0):0)?((c[h>>2]|0)*50|0)!=(c[f>>2]|0):0)?((c[h>>2]|0)*25|0)!=(c[f>>2]|0):0)?((c[h>>2]|0)*50|0)!=((c[f>>2]|0)*3|0):0){c[i>>2]=-1;i=c[i>>2]|0;l=j;return i|0}c[i>>2]=c[h>>2];i=c[i>>2]|0;l=j;return i|0}function ji(a,b,d,e,f,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+48|0;t=w+40|0;o=w+36|0;s=w+32|0;v=w+28|0;k=w+24|0;m=w+20|0;p=w+16|0;q=w+12|0;r=w+8|0;u=w+4|0;n=w;c[o>>2]=a;c[s>>2]=b;c[v>>2]=d;c[k>>2]=e;c[m>>2]=f;c[p>>2]=g;c[q>>2]=h;c[r>>2]=i;c[u>>2]=j;if((c[v>>2]|0)==5010?(c[s>>2]|0)>=((c[m>>2]|0)/200|0|0):0){c[n>>2]=3;c[n>>2]=ki(c[o>>2]|0,c[s>>2]|0,c[k>>2]|0,c[m>>2]|0,c[p>>2]|0,0.0,c[u>>2]|0,c[q>>2]|0,c[r>>2]|0)|0;while(1){if((((c[m>>2]|0)/400|0)<>2]|0)<=(c[s>>2]|0))break;c[n>>2]=(c[n>>2]|0)+-1}c[s>>2]=((c[m>>2]|0)/400|0)<>2]}else c[s>>2]=ii(c[s>>2]|0,c[v>>2]|0,c[m>>2]|0)|0;if((c[s>>2]|0)<0){c[t>>2]=-1;v=c[t>>2]|0;l=w;return v|0}else{c[t>>2]=c[s>>2];v=c[t>>2]|0;l=w;return v|0}return 0}function ki(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=+h;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;H=l;l=l+304|0;G=H+296|0;m=H+292|0;n=H+288|0;I=H+284|0;q=H+280|0;F=H+276|0;x=H+272|0;r=H+268|0;s=H+264|0;o=H+260|0;v=H+256|0;t=H+144|0;u=H+36|0;y=H+32|0;p=H+28|0;C=H+24|0;A=H+20|0;z=H+16|0;B=H+12|0;D=H+8|0;E=H+4|0;w=H;c[G>>2]=a;c[m>>2]=b;c[n>>2]=d;c[I>>2]=e;c[q>>2]=f;g[F>>2]=h;c[x>>2]=i;c[r>>2]=j;c[s>>2]=k;c[p>>2]=0;c[C>>2]=(c[I>>2]|0)/400|0;a=c[C>>2]|0;c[B>>2]=$()|0;e=l;l=l+((1*(a<<2)|0)+15&-16)|0;g[t>>2]=+g[c[x>>2]>>2];g[u>>2]=1.0/(+g[c[x>>2]>>2]+1.0000000036274937e-15);if(c[r>>2]|0){c[z>>2]=(c[C>>2]<<1)-(c[r>>2]|0);c[m>>2]=(c[m>>2]|0)-(c[z>>2]|0);g[t+4>>2]=+g[(c[x>>2]|0)+4>>2];g[u+4>>2]=1.0/(+g[(c[x>>2]|0)+4>>2]+1.0000000036274937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>>2]=+g[t+((1<>2])+2<<2)>>2];I=c[p>>2]|0;G=c[B>>2]|0;_(G|0);l=H;return I|0}function li(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0.0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0;z=l;l=l+3136|0;i=z+3124|0;j=z+3120|0;t=z+3116|0;n=z+3112|0;r=z+3108|0;x=z+3104|0;w=z+1568|0;y=z+32|0;u=z+28|0;v=z+24|0;m=z+20|0;o=z+16|0;p=z+12|0;q=z+8|0;k=z+4|0;s=z;c[i>>2]=a;c[j>>2]=b;c[t>>2]=d;c[n>>2]=e;c[r>>2]=f;do if((c[r>>2]|0)>=80)if((c[r>>2]|0)>160){g[m>>2]=1.0;break}else{g[m>>2]=(+(c[r>>2]|0)-80.0)/80.0;break}else g[m>>2]=0.0;while(0);c[x>>2]=0;while(1){if((c[x>>2]|0)>=16)break;c[y+(c[x>>2]<<2)>>2]=-1;g[w+(c[x>>2]<<2)>>2]=1.0e10;c[x>>2]=(c[x>>2]|0)+1}c[x>>2]=0;while(1){if((c[x>>2]|0)>=4)break;A=+((c[n>>2]|0)+(N(c[r>>2]|0,1<>2])|0)|0);h=+g[m>>2];h=A*(h*+mi(c[i>>2]|0,c[j>>2]|0,c[x>>2]|0,(c[t>>2]|0)+1|0)+1.0);g[w+(1<>2]<<2)>>2]=h;c[y+(1<>2]<<2)>>2]=c[x>>2];c[x>>2]=(c[x>>2]|0)+1}c[x>>2]=1;while(1){if((c[x>>2]|0)>=(c[t>>2]|0))break;c[o>>2]=2;while(1){if((c[o>>2]|0)>=16)break;g[w+(c[x>>2]<<6)+(c[o>>2]<<2)>>2]=+g[w+((c[x>>2]|0)-1<<6)+((c[o>>2]|0)-1<<2)>>2];c[y+(c[x>>2]<<6)+(c[o>>2]<<2)>>2]=(c[o>>2]|0)-1;c[o>>2]=(c[o>>2]|0)+1}c[o>>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>>2]|0)+-1}l=z;return c[v>>2]|0}function mi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;j=r+32|0;k=r+28|0;h=r+24|0;i=r+20|0;n=r+16|0;m=r+12|0;o=r+8|0;p=r+4|0;q=r;c[j>>2]=a;c[k>>2]=b;c[h>>2]=d;c[i>>2]=e;g[o>>2]=0.0;g[p>>2]=0.0;if((c[i>>2]|0)<((1<>2])+1|0))a=c[i>>2]|0;else a=(1<>2])+1|0;c[m>>2]=a;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[m>>2]|0))break;g[o>>2]=+g[o>>2]+ +g[(c[j>>2]|0)+(c[n>>2]<<2)>>2];g[p>>2]=+g[p>>2]+ +g[(c[k>>2]|0)+(c[n>>2]<<2)>>2];c[n>>2]=(c[n>>2]|0)+1}g[q>>2]=+g[o>>2]*+g[p>>2]/+(N(c[m>>2]|0,c[m>>2]|0)|0);if(0.0>(+g[q>>2]-2.0)*.05000000074505806)f=0.0;else f=(+g[q>>2]-2.0)*.05000000074505806;if(1.0<+B(+f)){f=1.0;l=r;return +f}if(0.0>(+g[q>>2]-2.0)*.05000000074505806)f=0.0;else f=(+g[q>>2]-2.0)*.05000000074505806;f=+B(+f);l=r;return +f}function ni(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0;F=l;l=l+96|0;j=F+84|0;h=F+80|0;G=F+76|0;E=F+72|0;u=F+68|0;v=F+64|0;C=F+60|0;q=F+56|0;r=F+52|0;t=F+48|0;y=F+44|0;z=F+40|0;w=F+36|0;x=F+32|0;D=F+28|0;i=F+24|0;o=F+20|0;k=F+16|0;m=F+12|0;n=F+8|0;p=F+4|0;s=F;c[j>>2]=a;c[h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0)<=0?1:((c[Gb>>2]|0)*400|0)<(c[(c[Qb>>2]|0)+132>>2]|0)):0){c[Ga>>2]=(c[Qb>>2]|0)+(c[(c[Qb>>2]|0)+4>>2]|0);c[ib>>2]=(c[Qb>>2]|0)+(c[c[Qb>>2]>>2]|0);if((c[(c[Qb>>2]|0)+96>>2]|0)==2051)c[x>>2]=0;else c[x>>2]=c[(c[Qb>>2]|0)+104>>2];if((c[ea>>2]|0)<(c[(c[Qb>>2]|0)+156>>2]|0))q=c[ea>>2]|0;else q=c[(c[Qb>>2]|0)+156>>2]|0;c[ea>>2]=q;e=c[ib>>2]|0;c[y>>2]=bb+(((bb-bb|0)/4|0)<<2);Wa(e,10015,y)|0;c[hb>>2]=0;if((c[(c[Qb>>2]|0)+8+36>>2]|0)>=7?(c[(c[Qb>>2]|0)+132>>2]|0)==48e3:0){c[T>>2]=c[(c[Qb>>2]|0)+172+8508>>2];c[U>>2]=c[(c[Qb>>2]|0)+172+8512>>2];Li((c[Qb>>2]|0)+172|0,c[bb>>2]|0,c[v>>2]|0,c[w>>2]|0,c[Gb>>2]|0,c[ba>>2]|0,c[ca>>2]|0,c[Z>>2]|0,c[(c[Qb>>2]|0)+132>>2]|0,c[ea>>2]|0,c[da>>2]|0,hb)}c[(c[Qb>>2]|0)+128>>2]=-1;c[(c[Qb>>2]|0)+18212>>2]=0;do if(c[hb>>2]|0){if((c[(c[Qb>>2]|0)+112>>2]|0)==-1e3){y=~~+z(+((1.0-+g[hb+20>>2])*100.0+.5));c[(c[Qb>>2]|0)+128>>2]=y}c[u>>2]=c[hb+24>>2];if((c[u>>2]|0)<=12){c[(c[Qb>>2]|0)+18212>>2]=1101;break}if((c[u>>2]|0)<=14){c[(c[Qb>>2]|0)+18212>>2]=1102;break}if((c[u>>2]|0)<=16){c[(c[Qb>>2]|0)+18212>>2]=1103;break}else{c[(c[Qb>>2]|0)+18212>>2]=(c[u>>2]|0)<=18?1104:1105;break}}while(0);if((c[(c[Qb>>2]|0)+100>>2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break;c[L>>2]=(c[L>>2]|0)<115?c[L>>2]|0:115;break}if((c[q+96>>2]|0)==2048){c[L>>2]=115;break}else{c[L>>2]=48;break}}else c[L>>2]=127;while(0);if((c[(c[Qb>>2]|0)+108>>2]|0)!=-1e3?(c[(c[Qb>>2]|0)+100>>2]|0)==2:0){q=c[(c[Qb>>2]|0)+108>>2]|0;m=c[Qb>>2]|0}else Eb=71;do if((Eb|0)==71){if((c[(c[Qb>>2]|0)+100>>2]|0)!=2){q=c[(c[Qb>>2]|0)+100>>2]|0;m=c[Qb>>2]|0;break}c[D>>2]=3e4;q=c[D>>2]|0;if((c[(c[Qb>>2]|0)+14288>>2]|0)==2)c[D>>2]=q-1e3;else c[D>>2]=q+1e3;q=(c[$a>>2]|0)>(c[D>>2]|0)?2:1;m=c[Qb>>2]|0}while(0);c[m+14288>>2]=q;c[$a>>2]=(c[(c[Qb>>2]|0)+148>>2]|0)-(N(((c[(c[Qb>>2]|0)+14288>>2]|0)*40|0)+20|0,((c[(c[Qb>>2]|0)+132>>2]|0)/(c[Gb>>2]|0)|0)-50|0)|0);q=c[Qb>>2]|0;do if((c[(c[Qb>>2]|0)+96>>2]|0)==2051){m=1002;Eb=91}else{if((c[q+124>>2]|0)!=-1e3){m=c[(c[Qb>>2]|0)+124>>2]|0;q=c[Qb>>2]|0;Eb=91;break}c[F>>2]=~~((1.0-+g[G>>2])*+(c[4508]|0)+ +g[G>>2]*+(c[4510]|0));c[E>>2]=~~((1.0-+g[G>>2])*+(c[4511]|0)+ +g[G>>2]*+(c[4511]|0));G=N(c[L>>2]|0,c[L>>2]|0)|0;c[H>>2]=(c[E>>2]|0)+((N(G,(c[F>>2]|0)-(c[E>>2]|0)|0)|0)>>14);if((c[(c[Qb>>2]|0)+96>>2]|0)==2048)c[H>>2]=(c[H>>2]|0)+8e3;do if((c[(c[Qb>>2]|0)+14324>>2]|0)==1002)c[H>>2]=(c[H>>2]|0)-4e3;else{if((c[(c[Qb>>2]|0)+14324>>2]|0)<=0)break;c[H>>2]=(c[H>>2]|0)+4e3}while(0);c[(c[Qb>>2]|0)+14320>>2]=(c[$a>>2]|0)>=(c[H>>2]|0)?1002:1e3;do if(c[(c[Qb>>2]|0)+8+40>>2]|0){if((c[(c[Qb>>2]|0)+8+32>>2]|0)<=(128-(c[L>>2]|0)>>4|0))break;c[(c[Qb>>2]|0)+14320>>2]=1e3}while(0);if(!((c[L>>2]|0)>100?(c[(c[Qb>>2]|0)+8+44>>2]|0)!=0:0))break;m=1e3;q=c[Qb>>2]|0;Eb=91}while(0);if((Eb|0)==91)c[q+14320>>2]=m;if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002?(c[Gb>>2]|0)<((c[(c[Qb>>2]|0)+132>>2]|0)/100|0|0):0)c[(c[Qb>>2]|0)+14320>>2]=1002;if(c[(c[Qb>>2]|0)+164>>2]|0)c[(c[Qb>>2]|0)+14320>>2]=1002;H=N((c[Da>>2]|0)>50?12e3:8e3,c[Gb>>2]|0)|0;if((c[Hb>>2]|0)<((H|0)/(c[(c[Qb>>2]|0)+132>>2]<<3|0)|0|0))c[(c[Qb>>2]|0)+14320>>2]=1002;do if((c[(c[Qb>>2]|0)+14288>>2]|0)==1){if((c[(c[Qb>>2]|0)+14328>>2]|0)!=2){Eb=105;break}if(c[(c[Qb>>2]|0)+8+56>>2]|0){Eb=105;break}if((c[(c[Qb>>2]|0)+14320>>2]|0)==1002){Eb=105;break}if((c[(c[Qb>>2]|0)+14324>>2]|0)==1002){Eb=105;break}c[(c[Qb>>2]|0)+8+56>>2]=1;c[(c[Qb>>2]|0)+14288>>2]=2}else Eb=105;while(0);if((Eb|0)==105)c[(c[Qb>>2]|0)+8+56>>2]=0;do if((c[(c[Qb>>2]|0)+14324>>2]|0)>0){if(!((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002?(c[(c[Qb>>2]|0)+14324>>2]|0)==1002:0)){if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002)break;if((c[(c[Qb>>2]|0)+14324>>2]|0)==1002)break}c[Ib>>2]=1;c[jb>>2]=(c[(c[Qb>>2]|0)+14320>>2]|0)!=1002&1;if(c[jb>>2]|0)break;if((c[Gb>>2]|0)>=((c[(c[Qb>>2]|0)+132>>2]|0)/100|0|0)){c[(c[Qb>>2]|0)+14320>>2]=c[(c[Qb>>2]|0)+14324>>2];c[Lb>>2]=1;break}else{c[Ib>>2]=0;break}}while(0);if(c[(c[Qb>>2]|0)+14340>>2]|0){c[Ib>>2]=1;c[jb>>2]=1;c[(c[Qb>>2]|0)+14340>>2]=0;c[Ea>>2]=1}do if(c[Ib>>2]|0){H=N(c[Hb>>2]|0,(c[(c[Qb>>2]|0)+132>>2]|0)/200|0)|0;if(257<((H|0)/((c[Gb>>2]|0)+((c[(c[Qb>>2]|0)+132>>2]|0)/200|0)|0)|0|0))q=257;else{q=N(c[Hb>>2]|0,(c[(c[Qb>>2]|0)+132>>2]|0)/200|0)|0;q=(q|0)/((c[Gb>>2]|0)+((c[(c[Qb>>2]|0)+132>>2]|0)/200|0)|0)|0}c[Jb>>2]=q;if(!(c[(c[Qb>>2]|0)+136>>2]|0))break;if((c[Jb>>2]|0)<((c[(c[Qb>>2]|0)+148>>2]|0)/1600|0|0))q=c[Jb>>2]|0;else q=(c[(c[Qb>>2]|0)+148>>2]|0)/1600|0;c[Jb>>2]=q}while(0);do if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002){if((c[(c[Qb>>2]|0)+14324>>2]|0)!=1002)break;Cd(c[Ga>>2]|0,c[(c[Qb>>2]|0)+168>>2]|0,I)|0;c[Ea>>2]=1}while(0);do if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002){if(c[(c[Qb>>2]|0)+14344>>2]|0){Eb=131;break}if(c[(c[Qb>>2]|0)+8+72>>2]|0)Eb=131}else Eb=131;while(0);do if((Eb|0)==131){c[M>>2]=1105;c[P>>2]=c[$a>>2];do if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002){c[P>>2]=(N(c[P>>2]|0,45+(c[(c[Qb>>2]|0)+8+36>>2]|0)|0)|0)/50|0;if(c[(c[Qb>>2]|0)+136>>2]|0)break;c[P>>2]=(c[P>>2]|0)-1e3}while(0);do if((c[(c[Qb>>2]|0)+100>>2]|0)==2){if((c[(c[Qb>>2]|0)+108>>2]|0)==1){Eb=137;break}c[K>>2]=18048;c[J>>2]=18080}else Eb=137;while(0);if((Eb|0)==137){c[K>>2]=18112;c[J>>2]=18144}c[Za>>2]=0;while(1){if((c[Za>>2]|0)>=8)break;I=N(c[L>>2]|0,c[L>>2]|0)|0;I=(c[(c[J>>2]|0)+(c[Za>>2]<<2)>>2]|0)+((N(I,(c[(c[K>>2]|0)+(c[Za>>2]<<2)>>2]|0)-(c[(c[J>>2]|0)+(c[Za>>2]<<2)>>2]|0)|0)|0)>>14)|0;c[O+(c[Za>>2]<<2)>>2]=I;c[Za>>2]=(c[Za>>2]|0)+1}do{c[R>>2]=c[O+((c[M>>2]|0)-1102<<1<<2)>>2];c[Q>>2]=c[O+(((c[M>>2]|0)-1102<<1)+1<<2)>>2];do if(!(c[(c[Qb>>2]|0)+14344>>2]|0)){q=c[Q>>2]|0;m=c[R>>2]|0;if((c[(c[Qb>>2]|0)+14336>>2]|0)>=(c[M>>2]|0)){c[R>>2]=m-q;break}else{c[R>>2]=m+q;break}}while(0);if((c[P>>2]|0)>=(c[R>>2]|0))break;L=(c[M>>2]|0)+-1|0;c[M>>2]=L}while((L|0)>1101);c[(c[Qb>>2]|0)+14336>>2]=c[M>>2];if(c[(c[Qb>>2]|0)+14344>>2]|0)break;if((c[(c[Qb>>2]|0)+14320>>2]|0)==1002)break;if(c[(c[Qb>>2]|0)+8+76>>2]|0)break;if((c[(c[Qb>>2]|0)+14336>>2]|0)<=1103)break;c[(c[Qb>>2]|0)+14336>>2]=1103}while(0);if((c[(c[Qb>>2]|0)+14336>>2]|0)>(c[(c[Qb>>2]|0)+120>>2]|0))c[(c[Qb>>2]|0)+14336>>2]=c[(c[Qb>>2]|0)+120>>2];if((c[(c[Qb>>2]|0)+116>>2]|0)!=-1e3)c[(c[Qb>>2]|0)+14336>>2]=c[(c[Qb>>2]|0)+116>>2];if((c[Aa>>2]|0)<15e3?(c[(c[Qb>>2]|0)+14320>>2]|0)!=1002:0){if((c[(c[Qb>>2]|0)+14336>>2]|0)<1103)q=c[(c[Qb>>2]|0)+14336>>2]|0;else q=1103;c[(c[Qb>>2]|0)+14336>>2]=q}do if((c[(c[Qb>>2]|0)+132>>2]|0)<=24e3){if((c[(c[Qb>>2]|0)+14336>>2]|0)<=1104)break;c[(c[Qb>>2]|0)+14336>>2]=1104}while(0);do if((c[(c[Qb>>2]|0)+132>>2]|0)<=16e3){if((c[(c[Qb>>2]|0)+14336>>2]|0)<=1103)break;c[(c[Qb>>2]|0)+14336>>2]=1103}while(0);do if((c[(c[Qb>>2]|0)+132>>2]|0)<=12e3){if((c[(c[Qb>>2]|0)+14336>>2]|0)<=1102)break;c[(c[Qb>>2]|0)+14336>>2]=1102}while(0);do if((c[(c[Qb>>2]|0)+132>>2]|0)<=8e3){if((c[(c[Qb>>2]|0)+14336>>2]|0)<=1101)break;c[(c[Qb>>2]|0)+14336>>2]=1101}while(0);do if(c[(c[Qb>>2]|0)+18212>>2]|0){if((c[(c[Qb>>2]|0)+116>>2]|0)!=-1e3)break;do if((c[$a>>2]|0)<=((c[(c[Qb>>2]|0)+14288>>2]|0)*18e3|0)){if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002){Eb=177;break}c[S>>2]=1101}else Eb=177;while(0);a:do if((Eb|0)==177){do if((c[$a>>2]|0)<=((c[(c[Qb>>2]|0)+14288>>2]|0)*24e3|0)){if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002)break;c[S>>2]=1102;break a}while(0);if((c[$a>>2]|0)<=((c[(c[Qb>>2]|0)+14288>>2]|0)*3e4|0)){c[S>>2]=1103;break}if((c[$a>>2]|0)<=((c[(c[Qb>>2]|0)+14288>>2]|0)*44e3|0)){c[S>>2]=1104;break}else{c[S>>2]=1105;break}}while(0);if((c[(c[Qb>>2]|0)+18212>>2]|0)>(c[S>>2]|0))q=c[(c[Qb>>2]|0)+18212>>2]|0;else q=c[S>>2]|0;c[(c[Qb>>2]|0)+18212>>2]=q;S=c[Qb>>2]|0;c[(c[Qb>>2]|0)+14336>>2]=c[((c[(c[Qb>>2]|0)+14336>>2]|0)<(c[(c[Qb>>2]|0)+18212>>2]|0)?S+14336|0:S+18212|0)>>2]}while(0);S=c[ib>>2]|0;c[V>>2]=c[ea>>2];Wa(S,4036,V)|0;do if((c[(c[Qb>>2]|0)+14320>>2]|0)==1002){if((c[(c[Qb>>2]|0)+14336>>2]|0)!=1102)break;c[(c[Qb>>2]|0)+14336>>2]=1103}while(0);if(c[(c[Qb>>2]|0)+164>>2]|0)c[(c[Qb>>2]|0)+14336>>2]=1101;do if((c[Gb>>2]|0)>((c[(c[Qb>>2]|0)+132>>2]|0)/50|0|0)){if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002?(c[(c[Qb>>2]|0)+14336>>2]|0)<=1103:0)break;if((c[T>>2]|0)!=-1){c[(c[Qb>>2]|0)+172+8508>>2]=c[T>>2];c[(c[Qb>>2]|0)+172+8512>>2]=c[U>>2]}c[la>>2]=(c[Gb>>2]|0)>((c[(c[Qb>>2]|0)+132>>2]|0)/25|0|0)?3:2;if(1276<(((c[fa>>2]|0)-3|0)/(c[la>>2]|0)|0|0))q=1276;else q=((c[fa>>2]|0)-3|0)/(c[la>>2]|0)|0;c[aa>>2]=q;q=N(c[la>>2]|0,c[aa>>2]|0)|0;c[oa>>2]=$()|0;m=l;l=l+((1*q|0)+15&-16)|0;Ci(na)|0;c[ja>>2]=c[(c[Qb>>2]|0)+124>>2];c[ha>>2]=c[(c[Qb>>2]|0)+116>>2];c[ia>>2]=c[(c[Qb>>2]|0)+108>>2];c[(c[Qb>>2]|0)+124>>2]=c[(c[Qb>>2]|0)+14320>>2];c[(c[Qb>>2]|0)+116>>2]=c[(c[Qb>>2]|0)+14336>>2];c[(c[Qb>>2]|0)+108>>2]=c[(c[Qb>>2]|0)+14288>>2];c[ka>>2]=c[(c[Qb>>2]|0)+8+56>>2];q=c[Qb>>2]|0;if(c[ka>>2]|0)c[q+108>>2]=1;else c[(c[Qb>>2]|0)+14328>>2]=c[q+14288>>2];c[Za>>2]=0;while(1){q=c[Qb>>2]|0;if((c[Za>>2]|0)>=(c[la>>2]|0)){Eb=214;break}c[q+8+56>>2]=0;do if(c[Lb>>2]|0){if((c[Za>>2]|0)!=((c[la>>2]|0)-1|0))break;c[(c[Qb>>2]|0)+124>>2]=1002}while(0);Jb=(c[pa>>2]|0)+((N(c[Za>>2]|0,(N(c[(c[Qb>>2]|0)+100>>2]|0,c[(c[Qb>>2]|0)+132>>2]|0)|0)/50|0)|0)<<2)|0;Kb=m+(N(c[Za>>2]|0,c[aa>>2]|0)|0)|0;c[ga>>2]=oi(c[Qb>>2]|0,Jb,(c[(c[Qb>>2]|0)+132>>2]|0)/50|0,Kb,c[aa>>2]|0,c[ea>>2]|0,0,0,c[ba>>2]|0,c[ca>>2]|0,c[Z>>2]|0,c[da>>2]|0,c[sa>>2]|0)|0;if((c[ga>>2]|0)<0){Eb=210;break}Kb=m+(N(c[Za>>2]|0,c[aa>>2]|0)|0)|0;c[Nb>>2]=Di(na,Kb,c[ga>>2]|0)|0;if((c[Nb>>2]|0)<0){Eb=212;break}c[Za>>2]=(c[Za>>2]|0)+1}do if((Eb|0)==210){c[Pb>>2]=-3;c[Mb>>2]=1}else if((Eb|0)==212){c[Pb>>2]=-3;c[Mb>>2]=1}else if((Eb|0)==214){if(c[q+136>>2]|0)c[ma>>2]=c[fa>>2];else{if((((c[(c[Qb>>2]|0)+148>>2]|0)*3|0)/(1200/(c[la>>2]|0)|0|0)|0|0)<(c[fa>>2]|0))q=((c[(c[Qb>>2]|0)+148>>2]|0)*3|0)/(1200/(c[la>>2]|0)|0|0)|0;else q=c[fa>>2]|0;c[ma>>2]=q}c[Nb>>2]=Fi(na,0,c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)+14304+12>>2]=0.0;g[(c[Qb>>2]|0)+14304+8>>2]=0.0;g[(c[Qb>>2]|0)+14304+4>>2]=0.0;g[(c[Qb>>2]|0)+14304>>2]=0.0}while(0);g[_a>>2]=1.0;if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002){sa=N(c[(c[Qb>>2]|0)+100>>2]|0,c[Gb>>2]|0)|0;c[Ma>>2]=$()|0;n=l;l=l+((1*(sa<<1)|0)+15&-16)|0;c[ta>>2]=N(c[Va>>2]<<3,c[Da>>2]|0)|0;do if((c[(c[Qb>>2]|0)+14320>>2]|0)==1001){q=N(c[(c[Qb>>2]|0)+14288>>2]|0,5e3+(((c[(c[Qb>>2]|0)+132>>2]|0)==((c[Gb>>2]|0)*100|0)&1)*1e3|0)|0)|0;c[(c[Qb>>2]|0)+8+28>>2]=q;q=(c[ta>>2]|0)-(c[(c[Qb>>2]|0)+8+28>>2]|0)|0;if((c[kb>>2]|0)==1104){m=c[Qb>>2]|0;q=(q<<1|0)/3|0}else{m=c[Qb>>2]|0;q=(q*3|0)/5|0}sa=m+8+28|0;c[sa>>2]=(c[sa>>2]|0)+q;if((c[(c[Qb>>2]|0)+8+28>>2]|0)>((c[ta>>2]<<2|0)/5|0|0))c[(c[Qb>>2]|0)+8+28>>2]=(c[ta>>2]<<2|0)/5|0;if(c[(c[Qb>>2]|0)+14348>>2]|0)break;c[ra>>2]=(c[ta>>2]|0)-(c[(c[Qb>>2]|0)+8+28>>2]|0);c[qa>>2]=(c[kb>>2]|0)==1104?3e3:3600;g[_a>>2]=+(c[ra>>2]|0)/(+(c[ra>>2]|0)+ +(N(c[(c[Qb>>2]|0)+14288>>2]|0,c[qa>>2]|0)|0));g[_a>>2]=+g[_a>>2]<.8571428656578064?+g[_a>>2]+.1428571492433548:1.0}else c[(c[Qb>>2]|0)+8+28>>2]=c[ta>>2];while(0);do if(c[(c[Qb>>2]|0)+14348>>2]|0){if(!(c[(c[Qb>>2]|0)+136>>2]|0))break;if(c[(c[Qb>>2]|0)+164>>2]|0)break;g[xa>>2]=0.0;c[va>>2]=17;b[za>>1]=16e3;do if((c[(c[Qb>>2]|0)+14336>>2]|0)==1101){c[va>>2]=13;b[za>>1]=8e3}else{if((c[(c[Qb>>2]|0)+14336>>2]|0)!=1102)break;c[va>>2]=15;b[za>>1]=12e3}while(0);c[ua>>2]=0;while(1){if((c[ua>>2]|0)>=(c[(c[Qb>>2]|0)+100>>2]|0))break;c[Za>>2]=0;while(1){if((c[Za>>2]|0)>=(c[va>>2]|0))break;if(+g[(c[(c[Qb>>2]|0)+14348>>2]|0)+(((c[ua>>2]|0)*21|0)+(c[Za>>2]|0)<<2)>>2]<.5)t=+g[(c[(c[Qb>>2]|0)+14348>>2]|0)+(((c[ua>>2]|0)*21|0)+(c[Za>>2]|0)<<2)>>2];else t=.5;do if(t>-2.0){if(!(+g[(c[(c[Qb>>2]|0)+14348>>2]|0)+(((c[ua>>2]|0)*21|0)+(c[Za>>2]|0)<<2)>>2]<.5)){t=.5;break}t=+g[(c[(c[Qb>>2]|0)+14348>>2]|0)+(((c[ua>>2]|0)*21|0)+(c[Za>>2]|0)<<2)>>2]}else t=-2.0;while(0);g[wa>>2]=t;if(+g[wa>>2]>0.0)g[wa>>2]=+g[wa>>2]*.5;g[xa>>2]=+g[xa>>2]+ +g[wa>>2];c[Za>>2]=(c[Za>>2]|0)+1}c[ua>>2]=(c[ua>>2]|0)+1}g[ya>>2]=+g[xa>>2]/+(c[va>>2]|0)*+(c[(c[Qb>>2]|0)+100>>2]|0);g[ya>>2]=+g[ya>>2]+.20000000298023224;c[Ba>>2]=~~(+(b[za>>1]|0)*+g[ya>>2]);if((c[Ba>>2]|0)>((N(-2,c[(c[Qb>>2]|0)+8+28>>2]|0)|0)/3|0|0))q=c[Ba>>2]|0;else q=(N(-2,c[(c[Qb>>2]|0)+8+28>>2]|0)|0)/3|0;c[Ba>>2]=q;do if((c[(c[Qb>>2]|0)+14336>>2]|0)==1104)Eb=276;else{if((c[(c[Qb>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kb>>2]|0){case 1101:{c[Ka>>2]=13;break}case 1103:case 1102:{c[Ka>>2]=17;break}case 1104:{c[Ka>>2]=19;break}case 1105:{c[Ka>>2]=21;break}default:{}}Za=c[ib>>2]|0;c[Na>>2]=c[Ka>>2];Wa(Za,10012,Na)|0;Za=c[ib>>2]|0;c[Oa>>2]=c[(c[Qb>>2]|0)+14288>>2];Wa(Za,10008,Oa)|0;Za=c[ib>>2]|0;c[Pa>>2]=-1;Wa(Za,4002,Pa)|0;do if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1e3){g[Ja>>2]=2.0;Za=c[ib>>2]|0;c[Qa>>2]=0;Wa(Za,4006,Qa)|0;if(c[(c[Qb>>2]|0)+8+64>>2]|0)g[Ja>>2]=0.0;Za=c[ib>>2]|0;c[Ra>>2]=~~+g[Ja>>2];Wa(Za,10002,Ra)|0;if((c[(c[Qb>>2]|0)+14320>>2]|0)==1001){c[Xa>>2]=(wi(Fb)|0)+7>>3;if(c[Ib>>2]|0)c[Xa>>2]=(c[Xa>>2]|0)+((c[(c[Qb>>2]|0)+14320>>2]|0)==1001?3:1);q=c[Xa>>2]|0;m=c[Va>>2]|0;if(c[(c[Qb>>2]|0)+136>>2]|0){Za=N(c[(c[Qb>>2]|0)+8+28>>2]|0,c[Gb>>2]|0)|0;c[pb>>2]=q+m-((Za|0)/(c[(c[Qb>>2]|0)+132>>2]<<3|0)|0);break}else{c[pb>>2]=(q|0)>(m|0)?c[Xa>>2]|0:c[Va>>2]|0;break}}if(!(c[(c[Qb>>2]|0)+136>>2]|0)){c[pb>>2]=c[Va>>2];break}c[Ia>>2]=0;do if((c[(c[Qb>>2]|0)+144>>2]|0)==5010){if((c[Gb>>2]|0)==((c[(c[Qb>>2]|0)+132>>2]|0)/50|0|0))break;c[Ia>>2]=N(((c[(c[Qb>>2]|0)+14288>>2]|0)*60|0)+40|0,((c[(c[Qb>>2]|0)+132>>2]|0)/(c[Gb>>2]|0)|0)-50|0)|0;if(!(c[hb>>2]|0))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2]=+g[cb>>2]*.00006103515625;g[db>>2]=+g[db>>2]*.00006103515625;xi(o,o,+g[cb>>2],+g[db>>2],c[(c[bb>>2]|0)+4>>2]|0,c[Gb>>2]|0,c[(c[Qb>>2]|0)+100>>2]|0,c[(c[bb>>2]|0)+60>>2]|0,c[(c[Qb>>2]|0)+132>>2]|0);b[(c[Qb>>2]|0)+14292>>1]=c[(c[Qb>>2]|0)+8+80>>2]}while(0);do if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002){db=(wi(Fb)|0)+17|0;if((db+(((c[(c[Qb>>2]|0)+14320>>2]|0)==1001&1)*20|0)|0)>((c[Hb>>2]|0)-1<<3|0)){Eb=383;break}do if((c[(c[Qb>>2]|0)+14320>>2]|0)==1001){if((c[Ib>>2]|0)==0?(db=(wi(Fb)|0)+37|0,(db|0)>(c[pb>>2]<<3|0)):0)break;_b(Fb,c[Ib>>2]|0,12)}while(0);if(!(c[Ib>>2]|0))break;_b(Fb,c[jb>>2]|0,1);q=(c[Hb>>2]|0)-1|0;if((c[(c[Qb>>2]|0)+14320>>2]|0)==1001)c[eb>>2]=q-(c[pb>>2]|0);else c[eb>>2]=q-((wi(Fb)|0)+7>>3);if((c[eb>>2]|0)<((c[(c[Qb>>2]|0)+148>>2]|0)/1600|0|0))q=c[eb>>2]|0;else q=(c[(c[Qb>>2]|0)+148>>2]|0)/1600|0;c[Jb>>2]=q;if(257<((2>(c[Jb>>2]|0)?2:c[Jb>>2]|0)|0))q=257;else q=2>(c[Jb>>2]|0)?2:c[Jb>>2]|0;c[Jb>>2]=q;if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1001)break;ac(Fb,(c[Jb>>2]|0)-2|0,256)}else Eb=383;while(0);if((Eb|0)==383)c[Ib>>2]=0;if(!(c[Ib>>2]|0)){c[(c[Qb>>2]|0)+14340>>2]=0;c[Jb>>2]=0}if((c[(c[Qb>>2]|0)+14320>>2]|0)!=1002)c[rb>>2]=17;if((c[(c[Qb>>2]|0)+14320>>2]|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(c[Qb>>2]|0)+14288>>2];c[(c[Qb>>2]|0)+14332>>2]=c[Gb>>2];c[(c[Qb>>2]|0)+14344>>2]=0;Lb=wi(Fb)|0;c:do if((Lb|0)>((c[Hb>>2]|0)-1<<3|0))if((c[Hb>>2]|0)<2){c[Pb>>2]=-2;c[Mb>>2]=1;break b}else{a[(c[Ob>>2]|0)+1>>0]=0;c[Nb>>2]=1;c[(c[Qb>>2]|0)+18216>>2]=0;break}else{if(!(((c[Ib>>2]|0?1:(c[(c[Qb>>2]|0)+14320>>2]|0)!=1e3)^1)&(c[Nb>>2]|0)>2))break;do{if(d[(c[Ob>>2]|0)+(c[Nb>>2]|0)>>0]|0)break c;c[Nb>>2]=(c[Nb>>2]|0)+-1}while((c[Nb>>2]|0)>2)}while(0);c[Nb>>2]=(c[Nb>>2]|0)+(1+(c[Jb>>2]|0));do if(!(c[(c[Qb>>2]|0)+136>>2]|0))if(Gi(c[Ob>>2]|0,c[Nb>>2]|0,c[Hb>>2]|0)|0){c[Pb>>2]=-3;c[Mb>>2]=1;break b}else{c[Nb>>2]=c[Hb>>2];break}while(0);c[Pb>>2]=c[Nb>>2];c[Mb>>2]=1}while(0);_(c[Kb>>2]|0);Qb=c[Pb>>2]|0;l=Rb;return Qb|0}while(0);c[C>>2]=c[(c[Qb>>2]|0)+14320>>2];if(!(c[(c[Qb>>2]|0)+14336>>2]|0))q=1101;else q=c[(c[Qb>>2]|0)+14336>>2]|0;c[A>>2]=q;if(!(c[C>>2]|0))c[C>>2]=1e3;if((c[Da>>2]|0)>100)c[C>>2]=1002;if((c[Da>>2]|0)<50)c[C>>2]=1e3;do if(!((c[C>>2]|0)==1e3&(c[A>>2]|0)>1103)){if((c[C>>2]|0)==1002&(c[A>>2]|0)==1102){c[A>>2]=1101;break}if((c[A>>2]|0)<=1104)c[A>>2]=1104}else c[A>>2]=1103;while(0);Qb=qi(c[C>>2]|0,c[Da>>2]|0,c[A>>2]|0,c[(c[Qb>>2]|0)+14288>>2]|0)|0;a[c[Ob>>2]>>0]=Qb;c[Pb>>2]=1;Qb=c[Pb>>2]|0;l=Rb;return Qb|0}c[Pb>>2]=-1;Qb=c[Pb>>2]|0;l=Rb;return Qb|0}function pi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;g=i+12|0;h=i+8|0;e=i+4|0;f=i;c[h>>2]=a;c[e>>2]=b;c[f>>2]=d;if(!(c[e>>2]|0))c[e>>2]=(c[(c[h>>2]|0)+132>>2]|0)/400|0;b=c[h>>2]|0;if((c[(c[h>>2]|0)+152>>2]|0)==-1e3){c[g>>2]=(((c[b+132>>2]|0)*60|0)/(c[e>>2]|0)|0)+(N(c[(c[h>>2]|0)+132>>2]|0,c[(c[h>>2]|0)+100>>2]|0)|0);h=c[g>>2]|0;l=i;return h|0}if((c[b+152>>2]|0)==-1){h=N(c[f>>2]<<3,c[(c[h>>2]|0)+132>>2]|0)|0;c[g>>2]=(h|0)/(c[e>>2]|0)|0;h=c[g>>2]|0;l=i;return h|0}else{c[g>>2]=c[(c[h>>2]|0)+152>>2];h=c[g>>2]|0;l=i;return h|0}return 0}function qi(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+32|0;k=p+20|0;j=p+16|0;h=p+12|0;i=p+8|0;m=p+4|0;o=p+24|0;n=p;c[k>>2]=b;c[j>>2]=e;c[h>>2]=f;c[i>>2]=g;c[m>>2]=0;while(1){if((c[j>>2]|0)>=400)break;c[j>>2]=c[j>>2]<<1;c[m>>2]=(c[m>>2]|0)+1}do if((c[k>>2]|0)!=1e3)if((c[k>>2]|0)==1002){k=(c[h>>2]|0)-1102|0;c[n>>2]=k;c[n>>2]=(c[n>>2]|0)<0?0:k;a[o>>0]=-128;a[o>>0]=d[o>>0]|0|c[n>>2]<<5;a[o>>0]=d[o>>0]|0|c[m>>2]<<3;break}else{a[o>>0]=96;a[o>>0]=d[o>>0]|0|(c[h>>2]|0)-1104<<4;a[o>>0]=d[o>>0]|0|(c[m>>2]|0)-2<<3;break}else{a[o>>0]=(c[h>>2]|0)-1101<<5;a[o>>0]=d[o>>0]|0|(c[m>>2]|0)-2<<3}while(0);a[o>>0]=d[o>>0]|0|((c[i>>2]|0)==2&1)<<2;l=p;return a[o>>0]|0}function ri(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;q=l;l=l+64|0;n=q+60|0;v=q+56|0;p=q+52|0;m=q+48|0;o=q+44|0;k=q+40|0;u=q+36|0;j=q+24|0;i=q+16|0;s=q+8|0;t=q+4|0;r=q;c[n>>2]=a;c[v>>2]=b;c[p>>2]=d;c[m>>2]=e;c[o>>2]=f;c[k>>2]=g;c[u>>2]=h;c[s>>2]=(((c[v>>2]&65535)<<16>>16)*2471|0)/((c[u>>2]|0)/1e3|0|0)|0;c[t>>2]=268435456-((c[s>>2]|0)*471|0);c[j>>2]=c[t>>2];c[j+4>>2]=0-(c[t>>2]|0)<<1;c[j+8>>2]=c[t>>2];c[r>>2]=c[t>>2]>>6;d=N(c[s>>2]>>16,(c[s>>2]&65535)<<16>>16)|0;d=d+((N(c[s>>2]&65535,(c[s>>2]&65535)<<16>>16)|0)>>16)|0;d=N(c[r>>2]>>16,(d+(N(c[s>>2]|0,(c[s>>2]>>15)+1>>1)|0)-8388608&65535)<<16>>16)|0;f=N(c[s>>2]>>16,(c[s>>2]&65535)<<16>>16)|0;f=f+((N(c[s>>2]&65535,(c[s>>2]&65535)<<16>>16)|0)>>16)|0;f=d+((N(c[r>>2]&65535,(f+(N(c[s>>2]|0,(c[s>>2]>>15)+1>>1)|0)-8388608&65535)<<16>>16)|0)>>16)|0;d=N(c[s>>2]>>16,(c[s>>2]&65535)<<16>>16)|0;d=d+((N(c[s>>2]&65535,(c[s>>2]&65535)<<16>>16)|0)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=B;return}function vi(a){a=+a;var b=0,c=0;c=l;l=l+16|0;b=c;g[b>>2]=a;g[b>>2]=+g[b>>2]*32768.0;g[b>>2]=+g[b>>2]>-32768.0?+g[b>>2]:-32768.0;g[b>>2]=+g[b>>2]<32767.0?+g[b>>2]:32767.0;b=(Ui(+g[b>>2])|0)&65535;l=c;return b|0}function wi(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=(c[(c[d>>2]|0)+20>>2]|0)-(32-(Q(c[(c[d>>2]|0)+28>>2]|0)|0))|0;l=b;return a|0}function xi(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=+d;e=+e;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;A=l;l=l+64|0;u=A+60|0;w=A+56|0;r=A+52|0;s=A+48|0;B=A+44|0;p=A+40|0;m=A+36|0;z=A+32|0;C=A+28|0;t=A+24|0;x=A+20|0;v=A+16|0;n=A+12|0;q=A+8|0;y=A+4|0;o=A;c[u>>2]=a;c[w>>2]=b;g[r>>2]=d;g[s>>2]=e;c[B>>2]=f;c[p>>2]=h;c[m>>2]=i;c[z>>2]=j;c[C>>2]=k;c[v>>2]=48e3/(c[C>>2]|0)|0;c[x>>2]=(c[B>>2]|0)/(c[v>>2]|0)|0;g[r>>2]=1.0-+g[r>>2];g[s>>2]=1.0-+g[s>>2];c[t>>2]=0;while(1){if((c[t>>2]|0)>=(c[x>>2]|0))break;e=+g[(c[z>>2]|0)+((N(c[t>>2]|0,c[v>>2]|0)|0)<<2)>>2];g[y>>2]=e*+g[(c[z>>2]|0)+((N(c[t>>2]|0,c[v>>2]|0)|0)<<2)>>2];g[q>>2]=+g[y>>2]*+g[s>>2]+(1.0-+g[y>>2])*+g[r>>2];e=+g[(c[u>>2]|0)+((N(c[t>>2]|0,c[m>>2]|0)|0)<<2)>>2];g[n>>2]=(e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>>2]=h;c[s>>2]=i;g[j>>2]=+(c[c[w>>2]>>2]|0)*3.725290298461914e-09;g[j+4>>2]=+(c[(c[w>>2]|0)+4>>2]|0)*3.725290298461914e-09;g[k>>2]=+(c[c[v>>2]>>2]|0)*3.725290298461914e-09;g[k+4>>2]=+(c[(c[v>>2]|0)+4>>2]|0)*3.725290298461914e-09;g[k+8>>2]=+(c[(c[v>>2]|0)+8>>2]|0)*3.725290298461914e-09;c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[q>>2]|0))break;g[o>>2]=+g[(c[n>>2]|0)+((N(c[p>>2]|0,c[s>>2]|0)|0)<<2)>>2];g[t>>2]=+g[c[m>>2]>>2]+ +g[k>>2]*+g[o>>2];g[c[m>>2]>>2]=+g[(c[m>>2]|0)+4>>2]-+g[t>>2]*+g[j>>2]+ +g[k+4>>2]*+g[o>>2];g[(c[m>>2]|0)+4>>2]=-+g[t>>2]*+g[j+4>>2]+ +g[k+8>>2]*+g[o>>2]+1.0000000031710769e-30;g[(c[r>>2]|0)+((N(c[p>>2]|0,c[s>>2]|0)|0)<<2)>>2]=+g[t>>2];c[p>>2]=(c[p>>2]|0)+1}l=u;return}function zi(a,d,e,f,h){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+48|0;s=t+36|0;p=t+32|0;j=t+28|0;k=t+24|0;o=t+20|0;n=t+16|0;q=t+12|0;m=t+8|0;i=t+4|0;r=t;c[s>>2]=a;c[p>>2]=d;c[j>>2]=e;c[k>>2]=f;c[o>>2]=h;if((c[(c[s>>2]|0)+96>>2]|0)==2051)c[i>>2]=0;else c[i>>2]=c[(c[s>>2]|0)+104>>2];c[m>>2]=ji(c[p>>2]|0,c[j>>2]|0,c[(c[s>>2]|0)+144>>2]|0,c[(c[s>>2]|0)+100>>2]|0,c[(c[s>>2]|0)+132>>2]|0,c[(c[s>>2]|0)+148>>2]|0,c[i>>2]|0,1,(c[s>>2]|0)+172+6872|0)|0;a=N(c[m>>2]|0,c[(c[s>>2]|0)+100>>2]|0)|0;c[r>>2]=$()|0;e=l;l=l+((1*(a<<2)|0)+15&-16)|0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(N(c[m>>2]|0,c[(c[s>>2]|0)+100>>2]|0)|0))break;g[e+(c[n>>2]<<2)>>2]=+(b[(c[p>>2]|0)+(c[n>>2]<<1)>>1]|0)*.000030517578125;c[n>>2]=(c[n>>2]|0)+1}c[q>>2]=oi(c[s>>2]|0,e,c[m>>2]|0,c[k>>2]|0,c[o>>2]|0,16,c[p>>2]|0,c[j>>2]|0,0,-2,c[(c[s>>2]|0)+100>>2]|0,1,0)|0;s=c[q>>2]|0;_(c[r>>2]|0);l=t;return s|0}function Ai(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;n=o+24|0;m=o+20|0;g=o+16|0;h=o+12|0;k=o+8|0;j=o+4|0;i=o;c[n>>2]=a;c[m>>2]=b;c[g>>2]=d;c[h>>2]=e;c[k>>2]=f;if((c[(c[n>>2]|0)+96>>2]|0)==2051)c[i>>2]=0;else c[i>>2]=c[(c[n>>2]|0)+104>>2];c[j>>2]=ji(c[m>>2]|0,c[g>>2]|0,c[(c[n>>2]|0)+144>>2]|0,c[(c[n>>2]|0)+100>>2]|0,c[(c[n>>2]|0)+132>>2]|0,c[(c[n>>2]|0)+148>>2]|0,c[i>>2]|0,2,(c[n>>2]|0)+172+6872|0)|0;n=oi(c[n>>2]|0,c[m>>2]|0,c[j>>2]|0,c[h>>2]|0,c[k>>2]|0,24,c[m>>2]|0,c[g>>2]|0,0,-2,c[(c[n>>2]|0)+100>>2]|0,2,1)|0;l=o;return n|0}function Bi(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=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>>2]|0)<=0){f=96;break a}if((c[u>>2]|0)<=500){c[u>>2]=500;break}if((c[u>>2]|0)>((c[(c[Ra>>2]|0)+100>>2]|0)*3e5|0))c[u>>2]=(c[(c[Ra>>2]|0)+100>>2]|0)*3e5}while(0);c[(c[Ra>>2]|0)+152>>2]=c[u>>2];f=95;break}case 4003:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Ga>>2]=Va;c[O>>2]=c[Ga>>2];if(c[O>>2]|0){f=pi(c[Ra>>2]|0,c[(c[Ra>>2]|0)+14332>>2]|0,1276)|0;c[c[O>>2]>>2]=f;f=95}else f=96;break}case 4022:{Pa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Pa>>2]|0;c[f>>2]=Pa+4;c[La>>2]=Va;c[Qa>>2]=c[La>>2];f=c[Qa>>2]|0;if((c[Qa>>2]|0)<1){if((f|0)!=-1e3){f=96;break a}}else if((c[Qa>>2]|0)!=-1e3?(f|0)>(c[(c[Ra>>2]|0)+100>>2]|0):0){f=96;break a}c[(c[Ra>>2]|0)+108>>2]=c[Qa>>2];f=95;break}case 4023:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Ma>>2]=Va;c[U>>2]=c[Ma>>2];if(c[U>>2]|0){c[c[U>>2]>>2]=c[(c[Ra>>2]|0)+108>>2];f=95}else f=96;break}case 4004:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Na>>2]=Va;c[V>>2]=c[Na>>2];if(!((c[V>>2]|0)<1101|(c[V>>2]|0)>1105)){c[(c[Ra>>2]|0)+120>>2]=c[V>>2];f=c[Ra>>2]|0;if((c[(c[Ra>>2]|0)+120>>2]|0)==1101){c[f+8+12>>2]=8e3;f=95;break a}else{c[(c[Ra>>2]|0)+8+12>>2]=(c[f+120>>2]|0)==1102?12e3:16e3;f=95;break a}}else f=96;break}case 4005:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Oa>>2]=Va;c[W>>2]=c[Oa>>2];if(c[W>>2]|0){c[c[W>>2]>>2]=c[(c[Ra>>2]|0)+120>>2];f=95}else f=96;break}case 4008:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Pa>>2]=Va;c[X>>2]=c[Pa>>2];if(!(((c[X>>2]|0)<1101|(c[X>>2]|0)>1105)&(c[X>>2]|0)!=-1e3)){c[(c[Ra>>2]|0)+116>>2]=c[X>>2];f=c[Ra>>2]|0;if((c[(c[Ra>>2]|0)+116>>2]|0)==1101){c[f+8+12>>2]=8e3;f=95;break a}else{c[(c[Ra>>2]|0)+8+12>>2]=(c[f+116>>2]|0)==1102?12e3:16e3;f=95;break a}}else f=96;break}case 4009:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[fa>>2]=Va;c[o>>2]=c[fa>>2];if(c[o>>2]|0){c[c[o>>2]>>2]=c[(c[Ra>>2]|0)+14336>>2];f=95}else f=96;break}case 4016:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ga>>2]=Va;c[p>>2]=c[ga>>2];if((c[p>>2]|0)<0|(c[p>>2]|0)>1)f=96;else{c[(c[Ra>>2]|0)+8+44>>2]=c[p>>2];f=95}break}case 4017:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ha>>2]=Va;c[q>>2]=c[ha>>2];if(c[q>>2]|0){c[c[q>>2]>>2]=c[(c[Ra>>2]|0)+8+44>>2];f=95}else f=96;break}case 4010:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ia>>2]=Va;c[r>>2]=c[ia>>2];if((c[r>>2]|0)<0|(c[r>>2]|0)>10)f=96;else{c[(c[Ra>>2]|0)+8+36>>2]=c[r>>2];f=c[h>>2]|0;c[Y>>2]=c[r>>2];Wa(f,4010,Y)|0;f=95}break}case 4011:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ja>>2]=Va;c[s>>2]=c[ja>>2];if(c[s>>2]|0){c[c[s>>2]>>2]=c[(c[Ra>>2]|0)+8+36>>2];f=95}else f=96;break}case 4012:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ka>>2]=Va;c[t>>2]=c[ka>>2];if((c[t>>2]|0)<0|(c[t>>2]|0)>1)f=96;else{c[(c[Ra>>2]|0)+8+40>>2]=c[t>>2];f=95}break}case 4013:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[la>>2]=Va;c[v>>2]=c[la>>2];if(c[v>>2]|0){c[c[v>>2]>>2]=c[(c[Ra>>2]|0)+8+40>>2];f=95}else f=96;break}case 4014:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ma>>2]=Va;c[w>>2]=c[ma>>2];if((c[w>>2]|0)<0|(c[w>>2]|0)>100)f=96;else{c[(c[Ra>>2]|0)+8+32>>2]=c[w>>2];f=c[h>>2]|0;c[ca>>2]=c[w>>2];Wa(f,4014,ca)|0;f=95}break}case 4015:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[oa>>2]=Va;c[x>>2]=c[oa>>2];if(c[x>>2]|0){c[c[x>>2]>>2]=c[(c[Ra>>2]|0)+8+32>>2];f=95}else f=96;break}case 4006:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[pa>>2]=Va;c[y>>2]=c[pa>>2];if((c[y>>2]|0)<0|(c[y>>2]|0)>1)f=96;else{c[(c[Ra>>2]|0)+136>>2]=c[y>>2];c[(c[Ra>>2]|0)+8+48>>2]=1-(c[y>>2]|0);f=95}break}case 4007:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[qa>>2]=Va;c[z>>2]=c[qa>>2];if(c[z>>2]|0){c[c[z>>2]>>2]=c[(c[Ra>>2]|0)+136>>2];f=95}else f=96;break}case 11018:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ra>>2]=Va;c[A>>2]=c[ra>>2];if((c[A>>2]|0)<-1|(c[A>>2]|0)>100)f=96;else{c[(c[Ra>>2]|0)+128>>2]=c[A>>2];f=95}break}case 11019:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[sa>>2]=Va;c[B>>2]=c[sa>>2];if(c[B>>2]|0){c[c[B>>2]>>2]=c[(c[Ra>>2]|0)+128>>2];f=95}else f=96;break}case 4020:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ta>>2]=Va;c[C>>2]=c[ta>>2];if((c[C>>2]|0)<0|(c[C>>2]|0)>1)f=96;else{c[(c[Ra>>2]|0)+140>>2]=c[C>>2];f=95}break}case 4021:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ua>>2]=Va;c[D>>2]=c[ua>>2];if(c[D>>2]|0){c[c[D>>2]>>2]=c[(c[Ra>>2]|0)+140>>2];f=95}else f=96;break}case 4024:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[va>>2]=Va;c[E>>2]=c[va>>2];if((c[E>>2]|0)!=-1e3&(c[E>>2]|0)!=3001&(c[E>>2]|0)!=3002)f=96;else{c[(c[Ra>>2]|0)+112>>2]=c[E>>2];f=95}break}case 4025:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[wa>>2]=Va;c[F>>2]=c[wa>>2];if(c[F>>2]|0){c[c[F>>2]>>2]=c[(c[Ra>>2]|0)+112>>2];f=95}else f=96;break}case 4027:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[xa>>2]=Va;c[G>>2]=c[xa>>2];if(c[G>>2]|0){c[c[G>>2]>>2]=(c[(c[Ra>>2]|0)+132>>2]|0)/400|0;if((c[(c[Ra>>2]|0)+96>>2]|0)!=2051){f=c[G>>2]|0;c[f>>2]=(c[f>>2]|0)+(c[(c[Ra>>2]|0)+104>>2]|0);f=95}else f=95}else f=96;break}case 4029:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[ya>>2]=Va;c[H>>2]=c[ya>>2];if(c[H>>2]|0){c[c[H>>2]>>2]=c[(c[Ra>>2]|0)+132>>2];f=95}else f=96;break}case 4031:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[za>>2]=Va;c[I>>2]=c[za>>2];if(c[I>>2]|0){c[c[I>>2]>>2]=c[(c[Ra>>2]|0)+18216>>2];f=95}else f=96;break}case 4036:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Aa>>2]=Va;c[J>>2]=c[Aa>>2];if((c[J>>2]|0)<8|(c[J>>2]|0)>24)f=96;else{c[(c[Ra>>2]|0)+156>>2]=c[J>>2];f=95}break}case 4037:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Ba>>2]=Va;c[K>>2]=c[Ba>>2];if(c[K>>2]|0){c[c[K>>2]>>2]=c[(c[Ra>>2]|0)+156>>2];f=95}else f=96;break}case 4040:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Ca>>2]=Va;c[L>>2]=c[Ca>>2];if((c[L>>2]|0)!=5e3&(c[L>>2]|0)!=5001&(c[L>>2]|0)!=5002&(c[L>>2]|0)!=5003&(c[L>>2]|0)!=5004&(c[L>>2]|0)!=5005&(c[L>>2]|0)!=5006&(c[L>>2]|0)!=5010)f=96;else{c[(c[Ra>>2]|0)+144>>2]=c[L>>2];f=c[h>>2]|0;c[Z>>2]=c[L>>2];Wa(f,4040,Z)|0;f=95}break}case 4041:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Da>>2]=Va;c[M>>2]=c[Da>>2];if(c[M>>2]|0){c[c[M>>2]>>2]=c[(c[Ra>>2]|0)+144>>2];f=95}else f=96;break}case 4042:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Ea>>2]=Va;c[N>>2]=c[Ea>>2];if((c[N>>2]|0)>1|(c[N>>2]|0)<0)f=96;else{c[(c[Ra>>2]|0)+8+64>>2]=c[N>>2];f=95}break}case 4043:{Qa=(c[f>>2]|0)+(4-1)&~(4-1);Va=c[Qa>>2]|0;c[f>>2]=Qa+4;c[Fa>>2]=Va;c[P>>2]=c[Fa>>2];if(c[P>>2]|0){c[c[P>>2]>>2]=c[(c[Ra>>2]|0)+8+64>>2];f=95}else f=96;break}case 4028:{c[j>>2]=(c[Ra>>2]|0)+(c[(c[Ra>>2]|0)+4>>2]|0);Ji((c[Ra>>2]|0)+172|0);c[k>>2]=(c[Ra>>2]|0)+14288;aj(c[k>>2]|0,0,18220-((c[k>>2]|0)-(c[Ra>>2]|0))|0)|0;Wa(c[h>>2]|0,4028,_)|0;Cd(c[j>>2]|0,c[(c[Ra>>2]|0)+168>>2]|0,i)|0;c[(c[Ra>>2]|0)+14288>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}}while(0);if((f|0)==95){c[Ta>>2]=c[Sa>>2];Va=c[Ta>>2]|0;l=Ua;return Va|0}else if((f|0)==96){c[Ta>>2]=-1;Va=c[Ta>>2]|0;l=Ua;return Va|0}return 0}function Ci(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;c[(c[b>>2]|0)+4>>2]=0;l=d;return c[b>>2]|0}function Di(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+16|0;h=e+8|0;g=e+4|0;f=e;c[h>>2]=a;c[g>>2]=b;c[f>>2]=d;a=Ei(c[h>>2]|0,c[g>>2]|0,c[f>>2]|0,0)|0;l=e;return a|0}function Ei(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+32|0;m=q+24|0;n=q+20|0;i=q+16|0;j=q+12|0;o=q+8|0;p=q+28|0;h=q+4|0;k=q;c[n>>2]=b;c[i>>2]=e;c[j>>2]=f;c[o>>2]=g;if((c[j>>2]|0)<1){c[m>>2]=-4;p=c[m>>2]|0;l=q;return p|0}if(c[(c[n>>2]|0)+4>>2]|0){if(((d[c[n>>2]>>0]|0)&252|0)!=((d[c[i>>2]>>0]|0)&252|0)){c[m>>2]=-4;p=c[m>>2]|0;l=q;return p|0}}else{a[c[n>>2]>>0]=a[c[i>>2]>>0]|0;g=Ih(c[i>>2]|0,8e3)|0;c[(c[n>>2]|0)+296>>2]=g}c[h>>2]=$h(c[i>>2]|0,c[j>>2]|0)|0;if((c[h>>2]|0)<1){c[m>>2]=-4;p=c[m>>2]|0;l=q;return p|0}if((N((c[h>>2]|0)+(c[(c[n>>2]|0)+4>>2]|0)|0,c[(c[n>>2]|0)+296>>2]|0)|0)>960){c[m>>2]=-4;p=c[m>>2]|0;l=q;return p|0}c[k>>2]=Jh(c[i>>2]|0,c[j>>2]|0,c[o>>2]|0,p,(c[n>>2]|0)+8+(c[(c[n>>2]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z>>2]=j+1;a[j>>0]=e;break}c[A>>2]=-2;E=c[A>>2]|0;l=F;return E|0}else{c[D>>2]=(c[D>>2]|0)+(f+(b[(c[u>>2]|0)+2>>1]|0)+2+((b[c[u>>2]>>1]|0)>=252&1));if((c[D>>2]|0)<=(c[v>>2]|0)){e=(d[c[p>>2]>>0]&252|2)&255;j=c[z>>2]|0;c[z>>2]=j+1;a[j>>0]=e;j=Hh(b[c[u>>2]>>1]|0,c[z>>2]|0)|0;c[z>>2]=(c[z>>2]|0)+j;break}c[A>>2]=-2;E=c[A>>2]|0;l=F;return E|0}}}else{c[D>>2]=(c[D>>2]|0)+((b[c[u>>2]>>1]|0)+1);if((c[D>>2]|0)<=(c[v>>2]|0)){e=d[c[p>>2]>>0]&252;j=c[z>>2]|0;c[z>>2]=j+1;a[j>>0]=e;break}c[A>>2]=-2;E=c[A>>2]|0;l=F;return E|0}while(0);if((c[q>>2]|0)<=2){if(c[x>>2]|0?(c[D>>2]|0)<(c[v>>2]|0):0)o=23}else o=23;a:do if((o|0)==23){c[y>>2]=0;c[z>>2]=c[r>>2];if(c[C>>2]|0)c[D>>2]=1+((b[(c[u>>2]|0)+((c[q>>2]|0)-1<<1)>>1]|0)>=252&1);else c[D>>2]=0;c[E>>2]=0;c[t>>2]=1;while(1){if((c[t>>2]|0)>=(c[q>>2]|0))break;if((b[(c[u>>2]|0)+(c[t>>2]<<1)>>1]|0)!=(b[c[u>>2]>>1]|0)){o=29;break}c[t>>2]=(c[t>>2]|0)+1}if((o|0)==29)c[E>>2]=1;do if(c[E>>2]|0){c[D>>2]=(c[D>>2]|0)+2;c[t>>2]=0;while(1){f=c[u>>2]|0;if((c[t>>2]|0)>=((c[q>>2]|0)-1|0))break;c[D>>2]=(c[D>>2]|0)+(1+((b[f+(c[t>>2]<<1)>>1]|0)>=252&1)+(b[(c[u>>2]|0)+(c[t>>2]<<1)>>1]|0));c[t>>2]=(c[t>>2]|0)+1}c[D>>2]=(c[D>>2]|0)+(b[f+((c[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2]=0;while(1){if((c[t>>2]|0)>=(c[q>>2]|0))break;$i(c[z>>2]|0,c[(c[s>>2]|0)+(c[t>>2]<<2)>>2]|0,(b[(c[u>>2]|0)+(c[t>>2]<<1)>>1]|0)+0|0)|0;c[z>>2]=(c[z>>2]|0)+(b[(c[u>>2]|0)+(c[t>>2]<<1)>>1]|0);c[t>>2]=(c[t>>2]|0)+1}b:do if(c[x>>2]|0)while(1){if((c[z>>2]|0)>>>0>=((c[r>>2]|0)+(c[v>>2]|0)|0)>>>0)break b;E=c[z>>2]|0;c[z>>2]=E+1;a[E>>0]=0}while(0);c[A>>2]=c[D>>2];E=c[A>>2]|0;l=F;return E|0}c[A>>2]=-1;E=c[A>>2]|0;l=F;return E|0}function Gi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+320|0;i=k+316|0;e=k+312|0;f=k+308|0;g=k+304|0;j=k+4|0;h=k;c[e>>2]=a;c[f>>2]=b;c[g>>2]=d;if((c[f>>2]|0)<1){c[i>>2]=-1;j=c[i>>2]|0;l=k;return j|0}if((c[f>>2]|0)==(c[g>>2]|0)){c[i>>2]=0;j=c[i>>2]|0;l=k;return j|0}if((c[f>>2]|0)>(c[g>>2]|0)){c[i>>2]=-1;j=c[i>>2]|0;l=k;return j|0}Ci(j)|0;$i((c[e>>2]|0)+(c[g>>2]|0)+(0-(c[f>>2]|0))|0,c[e>>2]|0,(c[f>>2]|0)+0|0)|0;Di(j,(c[e>>2]|0)+(c[g>>2]|0)+(0-(c[f>>2]|0))|0,c[f>>2]|0)|0;c[h>>2]=Fi(j,0,c[j+4>>2]|0,c[e>>2]|0,c[g>>2]|0,0,1)|0;if((c[h>>2]|0)>0){c[i>>2]=0;j=c[i>>2]|0;l=k;return j|0}else{c[i>>2]=c[h>>2];j=c[i>>2]|0;l=k;return j|0}return 0}function Hi(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=Ii()|0;c[c[d>>2]>>2]=a;Ji(c[d>>2]|0);l=b;return}function Ii(){return 0}function Ji(a){a=a|0;var b=0,d=0,e=0;b=l;l=l+16|0;d=b+4|0;e=b;c[d>>2]=a;c[e>>2]=(c[d>>2]|0)+4;aj(c[e>>2]|0,0,14116-((c[e>>2]|0)-(c[d>>2]|0))|0)|0;l=b;return}function Ki(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;m=n+24|0;j=n+20|0;e=n+16|0;f=n+12|0;h=n+8|0;k=n+4|0;i=n;c[m>>2]=a;c[j>>2]=b;c[e>>2]=d;c[f>>2]=c[(c[m>>2]|0)+8508>>2];c[h>>2]=(c[(c[m>>2]|0)+8504>>2]|0)-(c[(c[m>>2]|0)+8508>>2]|0);if((c[h>>2]|0)<0)c[h>>2]=(c[h>>2]|0)+200;if((c[e>>2]|0)>480?(c[f>>2]|0)!=(c[(c[m>>2]|0)+8504>>2]|0):0){a=(c[f>>2]|0)+1|0;c[f>>2]=a;c[f>>2]=(c[f>>2]|0)==200?0:a}if((c[f>>2]|0)==(c[(c[m>>2]|0)+8504>>2]|0))c[f>>2]=(c[f>>2]|0)+-1;if((c[f>>2]|0)<0)c[f>>2]=199;_i(c[j>>2]|0,(c[m>>2]|0)+8516+((c[f>>2]|0)*28|0)|0,28|0)|0;b=(c[e>>2]|0)/120|0;d=(c[m>>2]|0)+8512|0;while(1){c[d>>2]=(c[d>>2]|0)+b;b=c[m>>2]|0;if((c[(c[m>>2]|0)+8512>>2]|0)<4)break;b=b+8512|0;c[b>>2]=(c[b>>2]|0)-4;b=1;d=(c[m>>2]|0)+8508|0}if((c[b+8508>>2]|0)>=200){a=(c[m>>2]|0)+8508|0;c[a>>2]=(c[a>>2]|0)-200}c[h>>2]=((c[h>>2]|0)-10|0)>0?(c[h>>2]|0)-10|0:0;g[k>>2]=0.0;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(200-(c[h>>2]|0)|0))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18)break;g[W>>2]=0.0;g[ea>>2]=0.0;g[aa>>2]=0.0;c[Fa>>2]=c[19136+(c[sa>>2]<<2)>>2];while(1){if((c[Fa>>2]|0)>=(c[19136+((c[sa>>2]|0)+1<<2)>>2]|0))break;g[_>>2]=+g[qa+(c[Fa>>2]<<3)>>2]*+g[qa+(c[Fa>>2]<<3)>>2]+ +g[qa+((c[ia>>2]|0)-(c[Fa>>2]|0)<<3)>>2]*+g[qa+((c[ia>>2]|0)-(c[Fa>>2]|0)<<3)>>2]+ +g[qa+(c[Fa>>2]<<3)+4>>2]*+g[qa+(c[Fa>>2]<<3)+4>>2]+ +g[qa+((c[ia>>2]|0)-(c[Fa>>2]|0)<<3)+4>>2]*+g[qa+((c[ia>>2]|0)-(c[Fa>>2]|0)<<3)+4>>2];g[W>>2]=+g[W>>2]+ +g[_>>2];g[ea>>2]=+g[ea>>2]+ +g[_>>2]*+g[fa+(c[Fa>>2]<<2)>>2];g[aa>>2]=+g[aa>>2]+ +g[_>>2]*2.0*(.5-+g[ca+(c[Fa>>2]<<2)>>2]);c[Fa>>2]=(c[Fa>>2]|0)+1}if(!(+g[W>>2]<1.0e9)){ga=37;break}if(+g[W>>2]!=+g[W>>2]){ga=37;break}g[(c[Wa>>2]|0)+5844+((c[(c[Wa>>2]|0)+6856>>2]|0)*72|0)+(c[sa>>2]<<2)>>2]=+g[W>>2];g[Ua>>2]=+g[Ua>>2]+ +g[aa>>2]/(+g[W>>2]+1.0000000036274937e-15);n=+B(+(+g[W>>2]+1.000000013351432e-10));g[ta>>2]=+g[ta>>2]+n;n=+L(+(+g[W>>2]+1.000000013351432e-10));g[ua+(c[sa>>2]<<2)>>2]=n;if(+g[ua+(c[sa>>2]<<2)>>2]<+g[(c[Wa>>2]|0)+6420+(c[sa>>2]<<2)>>2]+.009999999776482582)n=+g[ua+(c[sa>>2]<<2)>>2];else n=+g[(c[Wa>>2]|0)+6420+(c[sa>>2]<<2)>>2]+.009999999776482582;g[(c[Wa>>2]|0)+6420+(c[sa>>2]<<2)>>2]=n;if(+g[ua+(c[sa>>2]<<2)>>2]>+g[(c[Wa>>2]|0)+6492+(c[sa>>2]<<2)>>2]-.10000000149011612)n=+g[ua+(c[sa>>2]<<2)>>2];else n=+g[(c[Wa>>2]|0)+6492+(c[sa>>2]<<2)>>2]-.10000000149011612;g[(c[Wa>>2]|0)+6492+(c[sa>>2]<<2)>>2]=n;if(+g[(c[Wa>>2]|0)+6492+(c[sa>>2]<<2)>>2]<+g[(c[Wa>>2]|0)+6420+(c[sa>>2]<<2)>>2]+1.0){V=(c[Wa>>2]|0)+6492+(c[sa>>2]<<2)|0;g[V>>2]=+g[V>>2]+.5;V=(c[Wa>>2]|0)+6420+(c[sa>>2]<<2)|0;g[V>>2]=+g[V>>2]-.5}g[wa>>2]=+g[wa>>2]+(+g[ua+(c[sa>>2]<<2)>>2]-+g[(c[Wa>>2]|0)+6420+(c[sa>>2]<<2)>>2])/(+g[(c[Wa>>2]|0)+6492+(c[sa>>2]<<2)>>2]+1.0000000036274937e-15-+g[(c[Wa>>2]|0)+6420+(c[sa>>2]<<2)>>2]);g[Y>>2]=0.0;g[X>>2]=0.0;c[Fa>>2]=0;while(1){if((c[Fa>>2]|0)>=8)break;n=+B(+(+g[(c[Wa>>2]|0)+5844+((c[Fa>>2]|0)*72|0)+(c[sa>>2]<<2)>>2]));g[X>>2]=+g[X>>2]+n;g[Y>>2]=+g[Y>>2]+ +g[(c[Wa>>2]|0)+5844+((c[Fa>>2]|0)*72|0)+(c[sa>>2]<<2)>>2];c[Fa>>2]=(c[Fa>>2]|0)+1}if(.9900000095367432<+g[X>>2]/+B(+(+g[Y>>2]*8.0+1.0e-15)))n=.9900000095367432;else n=+g[X>>2]/+B(+(+g[Y>>2]*8.0+1.0e-15));g[da>>2]=n;g[da>>2]=+g[da>>2]*+g[da>>2];g[da>>2]=+g[da>>2]*+g[da>>2];g[Ba>>2]=+g[Ba>>2]+ +g[da>>2];if(+g[ea>>2]/(+g[W>>2]+1.0000000036274937e-15)>+g[da>>2]*+g[(c[Wa>>2]|0)+5768+(c[sa>>2]<<2)>>2])n=+g[ea>>2]/(+g[W>>2]+1.0000000036274937e-15);else n=+g[da>>2]*+g[(c[Wa>>2]|0)+5768+(c[sa>>2]<<2)>>2];g[Z+(c[sa>>2]<<2)>>2]=n;g[Ca>>2]=+g[Ca>>2]+ +g[Z+(c[sa>>2]<<2)>>2];if((c[sa>>2]|0)>=9)g[Ca>>2]=+g[Ca>>2]-+g[Z+((c[sa>>2]|0)-18+9<<2)>>2];if(+g[va>>2]>(+((c[sa>>2]|0)-18|0)*.029999999329447746+1.0)*+g[Ca>>2])n=+g[va>>2];else n=(+((c[sa>>2]|0)-18|0)*.029999999329447746+1.0)*+g[Ca>>2];g[va>>2]=n;g[Da>>2]=+g[Da>>2]+ +g[Z+(c[sa>>2]<<2)>>2]*+((c[sa>>2]|0)-8|0);g[(c[Wa>>2]|0)+5768+(c[sa>>2]<<2)>>2]=+g[Z+(c[sa>>2]<<2)>>2];c[sa>>2]=(c[sa>>2]|0)+1}if((ga|0)==37){c[c[Va>>2]>>2]=0;l=Xa;return}g[ma>>2]=0.0;c[Ta>>2]=0;g[oa>>2]=0.0;g[pa>>2]=5.699999746866524e-04/+(1<<(0>((c[$>>2]|0)-8|0)?0:(c[$>>2]|0)-8|0)|0);g[pa>>2]=+g[pa>>2]*+g[pa>>2];c[sa>>2]=0;while(1){if((c[sa>>2]|0)>=21)break;g[ha>>2]=0.0;c[la>>2]=c[19212+(c[sa>>2]<<2)>>2];c[ka>>2]=c[19212+((c[sa>>2]|0)+1<<2)>>2];c[Fa>>2]=c[la>>2];while(1){if((c[Fa>>2]|0)>=(c[ka>>2]|0))break;g[na>>2]=+g[qa+(c[Fa>>2]<<3)>>2]*+g[qa+(c[Fa>>2]<<3)>>2]+ +g[qa+((c[ia>>2]|0)-(c[Fa>>2]|0)<<3)>>2]*+g[qa+((c[ia>>2]|0)-(c[Fa>>2]|0)<<3)>>2]+ +g[qa+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+16<<2)>>2])*.49195000529289246+ +g[(c[Wa>>2]|0)+6648+((c[Fa>>2]|0)+8<<2)>>2]*.6969299912452698-+g[(c[Wa>>2]|0)+6776+(c[Fa>>2]<<2)>>2]*1.4349000453948975;c[Fa>>2]=(c[Fa>>2]|0)+1}c[Fa>>2]=0;while(1){if((c[Fa>>2]|0)>=4)break;g[(c[Wa>>2]|0)+6776+(c[Fa>>2]<<2)>>2]=(1.0-+g[za>>2])*+g[(c[Wa>>2]|0)+6776+(c[Fa>>2]<<2)>>2]+ +g[za>>2]*+g[ya+(c[Fa>>2]<<2)>>2];c[Fa>>2]=(c[Fa>>2]|0)+1}c[Fa>>2]=0;while(1){if((c[Fa>>2]|0)>=4)break;g[Aa+(4+(c[Fa>>2]|0)<<2)>>2]=(+g[ya+(c[Fa>>2]<<2)>>2]-+g[(c[Wa>>2]|0)+6648+((c[Fa>>2]|0)+24<<2)>>2])*.6324599981307983+(+g[(c[Wa>>2]|0)+6648+(c[Fa>>2]<<2)>>2]-+g[(c[Wa>>2]|0)+6648+((c[Fa>>2]|0)+16<<2)>>2])*.31622999906539917;c[Fa>>2]=(c[Fa>>2]|0)+1}c[Fa>>2]=0;while(1){if((c[Fa>>2]|0)>=3)break;g[Aa+(8+(c[Fa>>2]|0)<<2)>>2]=(+g[ya+(c[Fa>>2]<<2)>>2]+ +g[(c[Wa>>2]|0)+6648+((c[Fa>>2]|0)+24<<2)>>2])*.5345199704170227-(+g[(c[Wa>>2]|0)+6648+(c[Fa>>2]<<2)>>2]+ +g[(c[Wa>>2]|0)+6648+((c[Fa>>2]|0)+16<<2)>>2])*.26725998520851135-+g[(c[Wa>>2]|0)+6648+((c[Fa>>2]|0)+8<<2)>>2]*.5345199704170227;c[Fa>>2]=(c[Fa>>2]|0)+1}b:do if((c[(c[Wa>>2]|0)+6868>>2]|0)>5){c[Fa>>2]=0;while(1){if((c[Fa>>2]|0)>=9)break b;g[(c[Wa>>2]|0)+6808+(c[Fa>>2]<<2)>>2]=(1.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;g[Pa>>2]=+g[Ra+4>>2]*4.999999873689376e-05;g[Ea>>2]=.05000000074505806;if(.05000000074505806>(.949999988079071<+g[Ra>>2]?.949999988079071:+g[Ra>>2]))n=.05000000074505806;else n=.949999988079071<+g[Ra>>2]?.949999988079071:+g[Ra>>2];g[Ia>>2]=n;if(.949999988079071<+g[(c[Wa>>2]|0)+6844>>2])n=.949999988079071;else n=+g[(c[Wa>>2]|0)+6844>>2];if(!(.05000000074505806>n))if(.949999988079071<+g[(c[Wa>>2]|0)+6844>>2])n=.949999988079071;else n=+g[(c[Wa>>2]|0)+6844>>2];else n=.05000000074505806;g[Ma>>2]=n;n=+A(+(+g[Ia>>2]-+g[Ma>>2]))*.05000000074505806;g[Ea>>2]=n/(+g[Ia>>2]*(1.0-+g[Ma>>2])+ +g[Ma>>2]*(1.0-+g[Ia>>2]))+.009999999776482582;g[Ja>>2]=(1.0-+g[(c[Wa>>2]|0)+6844>>2])*(1.0-+g[Pa>>2])+ +g[(c[Wa>>2]|0)+6844>>2]*+g[Pa>>2];g[Ka>>2]=+g[(c[Wa>>2]|0)+6844>>2]*(1.0-+g[Pa>>2])+(1.0-+g[(c[Wa>>2]|0)+6844>>2])*+g[Pa>>2];n=+C(+(1.0-+g[Ra>>2]),+(+g[Ea>>2]));g[Ja>>2]=+g[Ja>>2]*n;n=+C(+(+g[Ra>>2]),+(+g[Ea>>2]));g[Ka>>2]=+g[Ka>>2]*n;g[(c[Wa>>2]|0)+6844>>2]=+g[Ka>>2]/(+g[Ja>>2]+ +g[Ka>>2]);g[(c[Va>>2]|0)+20>>2]=+g[(c[Wa>>2]|0)+6844>>2];g[La>>2]=9.999999682655225e-21;g[Oa>>2]=+C(+(1.0-+g[Ra>>2]),+(+g[Ea>>2]));g[Ha>>2]=+C(+(+g[Ra>>2]),+(+g[Ea>>2]));if((c[(c[Wa>>2]|0)+6868>>2]|0)==1){g[(c[Wa>>2]|0)+6888>>2]=.5;g[(c[Wa>>2]|0)+7688>>2]=.5}g[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>>2]|0)>=200)break;g[La>>2]=+g[La>>2]+ +g[(c[Wa>>2]|0)+6888+(c[Fa>>2]<<2)>>2];c[Fa>>2]=(c[Fa>>2]|0)+1}j=c[Wa>>2]|0;do if(+g[Ra+4>>2]>.75){if(+g[j+6844>>2]>.9){Oa=(c[Wa>>2]|0)+8500|0;Pa=(c[Oa>>2]|0)+1|0;c[Oa>>2]=Pa;g[Qa>>2]=1.0/+(Pa|0);if((c[(c[Wa>>2]|0)+8500>>2]|0)<500)j=c[(c[Wa>>2]|0)+8500>>2]|0;else j=500;c[(c[Wa>>2]|0)+8500>>2]=j;if(-.20000000298023224>+g[Ra>>2]-+g[(c[Wa>>2]|0)+8492>>2])n=-.20000000298023224;else n=+g[Ra>>2]-+g[(c[Wa>>2]|0)+8492>>2];Pa=(c[Wa>>2]|0)+8492|0;g[Pa>>2]=+g[Pa>>2]+ +g[Qa>>2]*n}if(!(+g[(c[Wa>>2]|0)+6844>>2]<.1))break;Pa=(c[Wa>>2]|0)+8496|0;Qa=(c[Pa>>2]|0)+1|0;c[Pa>>2]=Qa;g[Sa>>2]=1.0/+(Qa|0);if((c[(c[Wa>>2]|0)+8496>>2]|0)<500)j=c[(c[Wa>>2]|0)+8496>>2]|0;else j=500;c[(c[Wa>>2]|0)+8496>>2]=j;if(.20000000298023224<+g[Ra>>2]-+g[(c[Wa>>2]|0)+8488>>2])n=.20000000298023224;else n=+g[Ra>>2]-+g[(c[Wa>>2]|0)+8488>>2];Ra=(c[Wa>>2]|0)+8488|0;g[Ra>>2]=+g[Ra>>2]+ +g[Sa>>2]*n}else{if(!(c[j+8500>>2]|0))g[(c[Wa>>2]|0)+8492>>2]=.8999999761581421;if(c[(c[Wa>>2]|0)+8496>>2]|0)break;g[(c[Wa>>2]|0)+8488>>2]=.10000000149011612}while(0);if((c[(c[Wa>>2]|0)+6860>>2]|0)!=(+g[(c[Wa>>2]|0)+6844>>2]>.5|0))c[(c[Wa>>2]|0)+6864>>2]=0;c[(c[Wa>>2]|0)+6860>>2]=+g[(c[Wa>>2]|0)+6844>>2]>.5&1;c[(c[Va>>2]|0)+24>>2]=c[Ta>>2];g[(c[Va>>2]|0)+12>>2]=+g[Ua>>2];c[c[Va>>2]>>2]=1;l=Xa;return}function Ni(a,b){a=+a;b=+b;var c=0,d=0,e=0,f=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;e=k+24|0;i=k+20|0;f=k+16|0;h=k+12|0;j=k+8|0;c=k+4|0;d=k;g[i>>2]=a;g[f>>2]=b;a=+A(+(+g[f>>2]));if(a+ +A(+(+g[i>>2]))<9.999999717180685e-10){g[f>>2]=+g[f>>2]*999999995904.0;g[i>>2]=+g[i>>2]*999999995904.0}g[h>>2]=+g[f>>2]*+g[f>>2];g[j>>2]=+g[i>>2]*+g[i>>2];if(+g[h>>2]<+g[j>>2]){g[c>>2]=(+g[j>>2]+ +g[h>>2]*.6784840226173401)*(+g[j>>2]+ +g[h>>2]*.0859554186463356);if(+g[c>>2]!=0.0){g[e>>2]=-+g[f>>2]*+g[i>>2]*(+g[j>>2]+ +g[h>>2]*.43157973885536194)/+g[c>>2]+(+g[i>>2]<0.0?-1.5707963705062866:1.5707963705062866);a=+g[e>>2];l=k;return +a}else{g[e>>2]=+g[i>>2]<0.0?-1.5707963705062866:1.5707963705062866;a=+g[e>>2];l=k;return +a}}else{g[d>>2]=(+g[h>>2]+ +g[j>>2]*.6784840226173401)*(+g[h>>2]+ +g[j>>2]*.0859554186463356);if(+g[d>>2]!=0.0){g[e>>2]=+g[f>>2]*+g[i>>2]*(+g[h>>2]+ +g[j>>2]*.43157973885536194)/+g[d>>2]+(+g[i>>2]<0.0?-1.5707963705062866:1.5707963705062866)-(+g[f>>2]*+g[i>>2]<0.0?-1.5707963705062866:1.5707963705062866);a=+g[e>>2];l=k;return +a}else{g[e>>2]=(+g[i>>2]<0.0?-1.5707963705062866:1.5707963705062866)-(+g[f>>2]*+g[i>>2]<0.0?-1.5707963705062866:1.5707963705062866);a=+g[e>>2];l=k;return +a}}return 0.0}function Oi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;r=l;l=l+448|0;o=r+436|0;f=r+432|0;p=r+428|0;m=r+424|0;k=r+24|0;j=r+16|0;h=r+12|0;i=r+8|0;n=r+4|0;q=r;c[o>>2]=a;c[f>>2]=b;c[p>>2]=d;c[j>>2]=c[(c[o>>2]|0)+8>>2];c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[(c[(c[o>>2]|0)+4>>2]|0)+4>>2]|0))break;d=c[j>>2]|0;c[j>>2]=d+4;g[i>>2]=+g[d>>2];c[h>>2]=0;while(1){e=+g[i>>2];if((c[h>>2]|0)>=(c[c[(c[o>>2]|0)+4>>2]>>2]|0))break;s=+g[(c[f>>2]|0)+(c[h>>2]<<2)>>2];d=c[j>>2]|0;c[j>>2]=d+4;g[i>>2]=e+s*+g[d>>2];c[h>>2]=(c[h>>2]|0)+1}s=+Pi(e);g[k+(c[m>>2]<<2)>>2]=s;c[m>>2]=(c[m>>2]|0)+1}c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[(c[(c[o>>2]|0)+4>>2]|0)+8>>2]|0))break;i=c[j>>2]|0;c[j>>2]=i+4;g[q>>2]=+g[i>>2];c[n>>2]=0;while(1){e=+g[q>>2];if((c[n>>2]|0)>=(c[(c[(c[o>>2]|0)+4>>2]|0)+4>>2]|0))break;s=+g[k+(c[n>>2]<<2)>>2];i=c[j>>2]|0;c[j>>2]=i+4;g[q>>2]=e+s*+g[i>>2];c[n>>2]=(c[n>>2]|0)+1}s=+Pi(e);g[(c[p>>2]|0)+(c[m>>2]<<2)>>2]=s;c[m>>2]=(c[m>>2]|0)+1}l=r;return}function Pi(a){a=+a;var b=0,d=0,e=0,f=0,h=0,i=0,j=0;j=l;l=l+32|0;e=j+20|0;h=j+16|0;d=j+12|0;i=j+8|0;b=j+4|0;f=j;g[h>>2]=a;g[f>>2]=1.0;if(!(+g[h>>2]<8.0)){g[e>>2]=1.0;a=+g[e>>2];l=j;return +a}if(!(+g[h>>2]>-8.0)){g[e>>2]=-1.0;a=+g[e>>2];l=j;return +a}if(+g[h>>2]!=+g[h>>2]){g[e>>2]=0.0;a=+g[e>>2];l=j;return +a}if(+g[h>>2]<0.0){g[h>>2]=-+g[h>>2];g[f>>2]=-1.0}c[d>>2]=~~+z(+(+g[h>>2]*25.0+.5));g[h>>2]=+g[h>>2]-+(c[d>>2]|0)*.03999999910593033;g[i>>2]=+g[19812+(c[d>>2]<<2)>>2];g[b>>2]=1.0-+g[i>>2]*+g[i>>2];g[i>>2]=+g[i>>2]+ +g[h>>2]*+g[b>>2]*(1.0-+g[i>>2]*+g[h>>2]);g[e>>2]=+g[f>>2]*+g[i>>2];a=+g[e>>2];l=j;return +a}function Qi(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+16|0;o=x;do if(a>>>0<245){k=a>>>0<11?16:a+11&-8;a=k>>>3;n=c[7631]|0;d=n>>>a;if(d&3|0){e=(d&1^1)+a|0;f=30564+(e<<1<<2)|0;b=f+8|0;a=c[b>>2]|0;g=a+8|0;d=c[g>>2]|0;if((d|0)==(f|0))c[7631]=n&~(1<>2]=f;c[b>>2]=d}w=e<<3;c[a+4>>2]=w|3;w=a+w+4|0;c[w>>2]=c[w>>2]|1;w=g;l=x;return w|0}m=c[7633]|0;if(k>>>0>m>>>0){if(d|0){i=2<>>12&16;d=d>>>i;a=d>>>5&8;d=d>>>a;g=d>>>2&4;d=d>>>g;b=d>>>1&2;d=d>>>b;e=d>>>1&1;e=(a|i|g|b|e)+(d>>>e)|0;d=30564+(e<<1<<2)|0;b=d+8|0;g=c[b>>2]|0;i=g+8|0;a=c[i>>2]|0;if((a|0)==(d|0)){a=n&~(1<>2]=d;c[b>>2]=a;a=n}w=e<<3;h=w-k|0;c[g+4>>2]=k|3;f=g+k|0;c[f+4>>2]=h|1;c[g+w>>2]=h;if(m|0){e=c[7636]|0;b=m>>>3;d=30564+(b<<1<<2)|0;b=1<>2]|0}c[b>>2]=e;c[a+12>>2]=e;c[e+8>>2]=a;c[e+12>>2]=d}c[7633]=h;c[7636]=f;w=i;l=x;return w|0}i=c[7632]|0;if(i){d=(i&0-i)+-1|0;h=d>>>12&16;d=d>>>h;g=d>>>5&8;d=d>>>g;j=d>>>2&4;d=d>>>j;a=d>>>1&2;d=d>>>a;e=d>>>1&1;e=c[30828+((g|h|j|a|e)+(d>>>e)<<2)>>2]|0;d=(c[e+4>>2]&-8)-k|0;a=c[e+16+(((c[e+16>>2]|0)==0&1)<<2)>>2]|0;if(!a){j=d;h=e}else{do{h=(c[a+4>>2]&-8)-k|0;j=h>>>0>>0;d=j?h:d;e=j?a:e;a=c[a+16+(((c[a+16>>2]|0)==0&1)<<2)>>2]|0}while((a|0)!=0);j=d;h=e}g=h+k|0;if(g>>>0>h>>>0){f=c[h+24>>2]|0;b=c[h+12>>2]|0;do if((b|0)==(h|0)){a=h+20|0;b=c[a>>2]|0;if(!b){a=h+16|0;b=c[a>>2]|0;if(!b){d=0;break}}while(1){e=b+20|0;d=c[e>>2]|0;if(d|0){b=d;a=e;continue}e=b+16|0;d=c[e>>2]|0;if(!d)break;else{b=d;a=e}}c[a>>2]=0;d=b}else{d=c[h+8>>2]|0;c[d+12>>2]=b;c[b+8>>2]=d;d=b}while(0);do if(f|0){b=c[h+28>>2]|0;a=30828+(b<<2)|0;if((h|0)==(c[a>>2]|0)){c[a>>2]=d;if(!d){c[7632]=i&~(1<>2]|0)!=(h|0)&1)<<2)>>2]=d;if(!d)break}c[d+24>>2]=f;b=c[h+16>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}b=c[h+20>>2]|0;if(b|0){c[d+20>>2]=b;c[b+24>>2]=d}}while(0);if(j>>>0<16){w=j+k|0;c[h+4>>2]=w|3;w=h+w+4|0;c[w>>2]=c[w>>2]|1}else{c[h+4>>2]=k|3;c[g+4>>2]=j|1;c[g+j>>2]=j;if(m|0){e=c[7636]|0;b=m>>>3;d=30564+(b<<1<<2)|0;b=1<>2]|0}c[b>>2]=e;c[a+12>>2]=e;c[e+8>>2]=a;c[e+12>>2]=d}c[7633]=j;c[7636]=g}w=h+8|0;l=x;return w|0}else n=k}else n=k}else n=k}else if(a>>>0<=4294967231){a=a+11|0;k=a&-8;e=c[7632]|0;if(e){d=0-k|0;a=a>>>8;if(a)if(k>>>0>16777215)j=31;else{n=(a+1048320|0)>>>16&8;v=a<>>16&4;v=v<>>16&2;j=14-(m|n|j)+(v<>>15)|0;j=k>>>(j+7|0)&1|j<<1}else j=0;a=c[30828+(j<<2)>>2]|0;a:do if(!a){f=0;a=0;v=57}else{f=0;h=k<<((j|0)==31?0:25-(j>>>1)|0);i=a;a=0;while(1){g=(c[i+4>>2]&-8)-k|0;if(g>>>0>>0)if(!g){d=0;f=i;a=i;v=61;break a}else{d=g;a=i}g=c[i+20>>2]|0;i=c[i+16+(h>>>31<<2)>>2]|0;f=(g|0)==0|(g|0)==(i|0)?f:g;g=(i|0)==0;if(g){v=57;break}else h=h<<((g^1)&1)}}while(0);if((v|0)==57){if((f|0)==0&(a|0)==0){a=2<>>12&16;a=a>>>j;i=a>>>5&8;a=a>>>i;m=a>>>2&4;a=a>>>m;n=a>>>1&2;a=a>>>n;f=a>>>1&1;f=c[30828+((i|j|m|n|f)+(a>>>f)<<2)>>2]|0;a=0}if(!f){i=d;j=a}else v=61}if((v|0)==61)while(1){v=0;m=(c[f+4>>2]&-8)-k|0;n=m>>>0>>0;d=n?m:d;a=n?f:a;f=c[f+16+(((c[f+16>>2]|0)==0&1)<<2)>>2]|0;if(!f){i=d;j=a;break}else v=61}if((j|0)!=0?i>>>0<((c[7633]|0)-k|0)>>>0:0){h=j+k|0;if(h>>>0<=j>>>0){w=0;l=x;return w|0}g=c[j+24>>2]|0;b=c[j+12>>2]|0;do if((b|0)==(j|0)){a=j+20|0;b=c[a>>2]|0;if(!b){a=j+16|0;b=c[a>>2]|0;if(!b){b=0;break}}while(1){f=b+20|0;d=c[f>>2]|0;if(d|0){b=d;a=f;continue}f=b+16|0;d=c[f>>2]|0;if(!d)break;else{b=d;a=f}}c[a>>2]=0}else{w=c[j+8>>2]|0;c[w+12>>2]=b;c[b+8>>2]=w}while(0);do if(g){a=c[j+28>>2]|0;d=30828+(a<<2)|0;if((j|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){e=e&~(1<>2]|0)!=(j|0)&1)<<2)>>2]=b;if(!b)break}c[b+24>>2]=g;a=c[j+16>>2]|0;if(a|0){c[b+16>>2]=a;c[a+24>>2]=b}a=c[j+20>>2]|0;if(a){c[b+20>>2]=a;c[a+24>>2]=b}}while(0);do if(i>>>0>=16){c[j+4>>2]=k|3;c[h+4>>2]=i|1;c[h+i>>2]=i;b=i>>>3;if(i>>>0<256){d=30564+(b<<1<<2)|0;a=c[7631]|0;b=1<>2]|0}c[b>>2]=h;c[a+12>>2]=h;c[h+8>>2]=a;c[h+12>>2]=d;break}b=i>>>8;if(b)if(i>>>0>16777215)b=31;else{v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;b=14-(u|v|b)+(w<>>15)|0;b=i>>>(b+7|0)&1|b<<1}else b=0;d=30828+(b<<2)|0;c[h+28>>2]=b;a=h+16|0;c[a+4>>2]=0;c[a>>2]=0;a=1<>2]=h;c[h+24>>2]=d;c[h+12>>2]=h;c[h+8>>2]=h;break}a=i<<((b|0)==31?0:25-(b>>>1)|0);d=c[d>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(i|0)){v=97;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=96;break}else{a=a<<1;d=b}}if((v|0)==96){c[e>>2]=h;c[h+24>>2]=d;c[h+12>>2]=h;c[h+8>>2]=h;break}else if((v|0)==97){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=h;c[v>>2]=h;c[h+8>>2]=w;c[h+12>>2]=d;c[h+24>>2]=0;break}}else{w=i+k|0;c[j+4>>2]=w|3;w=j+w+4|0;c[w>>2]=c[w>>2]|1}while(0);w=j+8|0;l=x;return w|0}else n=k}else n=k}else n=-1;while(0);d=c[7633]|0;if(d>>>0>=n>>>0){a=d-n|0;b=c[7636]|0;if(a>>>0>15){w=b+n|0;c[7636]=w;c[7633]=a;c[w+4>>2]=a|1;c[b+d>>2]=a;c[b+4>>2]=n|3}else{c[7633]=0;c[7636]=0;c[b+4>>2]=d|3;w=b+d+4|0;c[w>>2]=c[w>>2]|1}w=b+8|0;l=x;return w|0}h=c[7634]|0;if(h>>>0>n>>>0){u=h-n|0;c[7634]=u;w=c[7637]|0;v=w+n|0;c[7637]=v;c[v+4>>2]=u|1;c[w+4>>2]=n|3;w=w+8|0;l=x;return w|0}if(!(c[7749]|0)){c[7751]=4096;c[7750]=4096;c[7752]=-1;c[7753]=-1;c[7754]=0;c[7742]=0;c[7749]=o&-16^1431655768;a=4096}else a=c[7751]|0;i=n+48|0;j=n+47|0;g=a+j|0;e=0-a|0;k=g&e;if(k>>>0<=n>>>0){w=0;l=x;return w|0}a=c[7741]|0;if(a|0?(m=c[7739]|0,o=m+k|0,o>>>0<=m>>>0|o>>>0>a>>>0):0){w=0;l=x;return w|0}b:do if(!(c[7742]&4)){d=c[7637]|0;c:do if(d){f=30972;while(1){a=c[f>>2]|0;if(a>>>0<=d>>>0?(r=f+4|0,(a+(c[r>>2]|0)|0)>>>0>d>>>0):0)break;a=c[f+8>>2]|0;if(!a){v=118;break c}else f=a}b=g-h&e;if(b>>>0<2147483647){a=dj(b|0)|0;if((a|0)==((c[f>>2]|0)+(c[r>>2]|0)|0)){if((a|0)!=(-1|0)){h=a;g=b;v=135;break b}}else{e=a;v=126}}else b=0}else v=118;while(0);do if((v|0)==118){d=dj(0)|0;if((d|0)!=(-1|0)?(b=d,p=c[7750]|0,q=p+-1|0,b=((q&b|0)==0?0:(q+b&0-p)-b|0)+k|0,p=c[7739]|0,q=b+p|0,b>>>0>n>>>0&b>>>0<2147483647):0){r=c[7741]|0;if(r|0?q>>>0<=p>>>0|q>>>0>r>>>0:0){b=0;break}a=dj(b|0)|0;if((a|0)==(d|0)){h=d;g=b;v=135;break b}else{e=a;v=126}}else b=0}while(0);do if((v|0)==126){d=0-b|0;if(!(i>>>0>b>>>0&(b>>>0<2147483647&(e|0)!=(-1|0))))if((e|0)==(-1|0)){b=0;break}else{h=e;g=b;v=135;break b}a=c[7751]|0;a=j-b+a&0-a;if(a>>>0>=2147483647){h=e;g=b;v=135;break b}if((dj(a|0)|0)==(-1|0)){dj(d|0)|0;b=0;break}else{h=e;g=a+b|0;v=135;break b}}while(0);c[7742]=c[7742]|4;v=133}else{b=0;v=133}while(0);if(((v|0)==133?k>>>0<2147483647:0)?(s=dj(k|0)|0,r=dj(0)|0,u=r-s|0,t=u>>>0>(n+40|0)>>>0,!((s|0)==(-1|0)|t^1|s>>>0>>0&((s|0)!=(-1|0)&(r|0)!=(-1|0))^1)):0){h=s;g=t?u:b;v=135}if((v|0)==135){b=(c[7739]|0)+g|0;c[7739]=b;if(b>>>0>(c[7740]|0)>>>0)c[7740]=b;j=c[7637]|0;do if(j){f=30972;while(1){d=c[f>>2]|0;e=f+4|0;b=c[e>>2]|0;if((h|0)==(d+b|0)){v=143;break}a=c[f+8>>2]|0;if(!a)break;else f=a}if(((v|0)==143?(c[f+12>>2]&8|0)==0:0)?h>>>0>j>>>0&d>>>0<=j>>>0:0){c[e>>2]=b+g;w=(c[7634]|0)+g|0;u=j+8|0;u=(u&7|0)==0?0:0-u&7;v=j+u|0;u=w-u|0;c[7637]=v;c[7634]=u;c[v+4>>2]=u|1;c[j+w+4>>2]=40;c[7638]=c[7753];break}if(h>>>0<(c[7635]|0)>>>0)c[7635]=h;a=h+g|0;b=30972;while(1){if((c[b>>2]|0)==(a|0)){v=151;break}b=c[b+8>>2]|0;if(!b){a=30972;break}}if((v|0)==151)if(!(c[b+12>>2]&8)){c[b>>2]=h;m=b+4|0;c[m>>2]=(c[m>>2]|0)+g;m=h+8|0;m=h+((m&7|0)==0?0:0-m&7)|0;b=a+8|0;b=a+((b&7|0)==0?0:0-b&7)|0;k=m+n|0;i=b-m-n|0;c[m+4>>2]=n|3;do if((j|0)!=(b|0)){if((c[7636]|0)==(b|0)){w=(c[7633]|0)+i|0;c[7633]=w;c[7636]=k;c[k+4>>2]=w|1;c[k+w>>2]=w;break}a=c[b+4>>2]|0;if((a&3|0)==1){h=a&-8;e=a>>>3;d:do if(a>>>0<256){a=c[b+8>>2]|0;d=c[b+12>>2]|0;if((d|0)==(a|0)){c[7631]=c[7631]&~(1<>2]=d;c[d+8>>2]=a;break}}else{g=c[b+24>>2]|0;a=c[b+12>>2]|0;do if((a|0)==(b|0)){e=b+16|0;d=e+4|0;a=c[d>>2]|0;if(!a){a=c[e>>2]|0;if(!a){a=0;break}else f=e}else f=d;while(1){e=a+20|0;d=c[e>>2]|0;if(d|0){a=d;f=e;continue}e=a+16|0;d=c[e>>2]|0;if(!d)break;else{a=d;f=e}}c[f>>2]=0}else{w=c[b+8>>2]|0;c[w+12>>2]=a;c[a+8>>2]=w}while(0);if(!g)break;d=c[b+28>>2]|0;e=30828+(d<<2)|0;do if((c[e>>2]|0)!=(b|0)){c[g+16+(((c[g+16>>2]|0)!=(b|0)&1)<<2)>>2]=a;if(!a)break d}else{c[e>>2]=a;if(a|0)break;c[7632]=c[7632]&~(1<>2]=g;e=b+16|0;d=c[e>>2]|0;if(d|0){c[a+16>>2]=d;c[d+24>>2]=a}d=c[e+4>>2]|0;if(!d)break;c[a+20>>2]=d;c[d+24>>2]=a}while(0);b=b+h|0;f=h+i|0}else f=i;b=b+4|0;c[b>>2]=c[b>>2]&-2;c[k+4>>2]=f|1;c[k+f>>2]=f;b=f>>>3;if(f>>>0<256){d=30564+(b<<1<<2)|0;a=c[7631]|0;b=1<>2]|0}c[b>>2]=k;c[a+12>>2]=k;c[k+8>>2]=a;c[k+12>>2]=d;break}b=f>>>8;do if(!b)a=0;else{if(f>>>0>16777215){a=31;break}v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;a=14-(u|v|a)+(w<>>15)|0;a=f>>>(a+7|0)&1|a<<1}while(0);e=30828+(a<<2)|0;c[k+28>>2]=a;b=k+16|0;c[b+4>>2]=0;c[b>>2]=0;b=c[7632]|0;d=1<>2]=k;c[k+24>>2]=e;c[k+12>>2]=k;c[k+8>>2]=k;break}a=f<<((a|0)==31?0:25-(a>>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(f|0)){v=192;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=191;break}else{a=a<<1;d=b}}if((v|0)==191){c[e>>2]=k;c[k+24>>2]=d;c[k+12>>2]=k;c[k+8>>2]=k;break}else if((v|0)==192){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=k;c[v>>2]=k;c[k+8>>2]=w;c[k+12>>2]=d;c[k+24>>2]=0;break}}else{w=(c[7634]|0)+i|0;c[7634]=w;c[7637]=k;c[k+4>>2]=w|1}while(0);w=m+8|0;l=x;return w|0}else a=30972;while(1){b=c[a>>2]|0;if(b>>>0<=j>>>0?(w=b+(c[a+4>>2]|0)|0,w>>>0>j>>>0):0)break;a=c[a+8>>2]|0}f=w+-47|0;a=f+8|0;a=f+((a&7|0)==0?0:0-a&7)|0;f=j+16|0;a=a>>>0>>0?j:a;b=a+8|0;d=g+-40|0;u=h+8|0;u=(u&7|0)==0?0:0-u&7;v=h+u|0;u=d-u|0;c[7637]=v;c[7634]=u;c[v+4>>2]=u|1;c[h+d+4>>2]=40;c[7638]=c[7753];d=a+4|0;c[d>>2]=27;c[b>>2]=c[7743];c[b+4>>2]=c[7744];c[b+8>>2]=c[7745];c[b+12>>2]=c[7746];c[7743]=h;c[7744]=g;c[7746]=0;c[7745]=b;b=a+24|0;do{v=b;b=b+4|0;c[b>>2]=7}while((v+8|0)>>>0>>0);if((a|0)!=(j|0)){g=a-j|0;c[d>>2]=c[d>>2]&-2;c[j+4>>2]=g|1;c[a>>2]=g;b=g>>>3;if(g>>>0<256){d=30564+(b<<1<<2)|0;a=c[7631]|0;b=1<>2]|0}c[b>>2]=j;c[a+12>>2]=j;c[j+8>>2]=a;c[j+12>>2]=d;break}b=g>>>8;if(b)if(g>>>0>16777215)d=31;else{v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;d=14-(u|v|d)+(w<>>15)|0;d=g>>>(d+7|0)&1|d<<1}else d=0;e=30828+(d<<2)|0;c[j+28>>2]=d;c[j+20>>2]=0;c[f>>2]=0;b=c[7632]|0;a=1<>2]=j;c[j+24>>2]=e;c[j+12>>2]=j;c[j+8>>2]=j;break}a=g<<((d|0)==31?0:25-(d>>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(g|0)){v=213;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=212;break}else{a=a<<1;d=b}}if((v|0)==212){c[e>>2]=j;c[j+24>>2]=d;c[j+12>>2]=j;c[j+8>>2]=j;break}else if((v|0)==213){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=j;c[v>>2]=j;c[j+8>>2]=w;c[j+12>>2]=d;c[j+24>>2]=0;break}}}else{w=c[7635]|0;if((w|0)==0|h>>>0>>0)c[7635]=h;c[7743]=h;c[7744]=g;c[7746]=0;c[7640]=c[7749];c[7639]=-1;c[7644]=30564;c[7643]=30564;c[7646]=30572;c[7645]=30572;c[7648]=30580;c[7647]=30580;c[7650]=30588;c[7649]=30588;c[7652]=30596;c[7651]=30596;c[7654]=30604;c[7653]=30604;c[7656]=30612;c[7655]=30612;c[7658]=30620;c[7657]=30620;c[7660]=30628;c[7659]=30628;c[7662]=30636;c[7661]=30636;c[7664]=30644;c[7663]=30644;c[7666]=30652;c[7665]=30652;c[7668]=30660;c[7667]=30660;c[7670]=30668;c[7669]=30668;c[7672]=30676;c[7671]=30676;c[7674]=30684;c[7673]=30684;c[7676]=30692;c[7675]=30692;c[7678]=30700;c[7677]=30700;c[7680]=30708;c[7679]=30708;c[7682]=30716;c[7681]=30716;c[7684]=30724;c[7683]=30724;c[7686]=30732;c[7685]=30732;c[7688]=30740;c[7687]=30740;c[7690]=30748;c[7689]=30748;c[7692]=30756;c[7691]=30756;c[7694]=30764;c[7693]=30764;c[7696]=30772;c[7695]=30772;c[7698]=30780;c[7697]=30780;c[7700]=30788;c[7699]=30788;c[7702]=30796;c[7701]=30796;c[7704]=30804;c[7703]=30804;c[7706]=30812;c[7705]=30812;w=g+-40|0;u=h+8|0;u=(u&7|0)==0?0:0-u&7;v=h+u|0;u=w-u|0;c[7637]=v;c[7634]=u;c[v+4>>2]=u|1;c[h+w+4>>2]=40;c[7638]=c[7753]}while(0);b=c[7634]|0;if(b>>>0>n>>>0){u=b-n|0;c[7634]=u;w=c[7637]|0;v=w+n|0;c[7637]=v;c[v+4>>2]=u|1;c[w+4>>2]=n|3;w=w+8|0;l=x;return w|0}}c[(Si()|0)>>2]=12;w=0;l=x;return w|0}function Ri(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!a)return;d=a+-8|0;e=c[7635]|0;a=c[a+-4>>2]|0;b=a&-8;k=d+b|0;do if(!(a&1)){f=c[d>>2]|0;if(!(a&3))return;g=d+(0-f)|0;h=f+b|0;if(g>>>0>>0)return;if((c[7636]|0)==(g|0)){b=k+4|0;a=c[b>>2]|0;if((a&3|0)!=3){i=g;j=g;b=h;break}c[7633]=h;c[b>>2]=a&-2;c[g+4>>2]=h|1;c[g+h>>2]=h;return}d=f>>>3;if(f>>>0<256){a=c[g+8>>2]|0;b=c[g+12>>2]|0;if((b|0)==(a|0)){c[7631]=c[7631]&~(1<>2]=b;c[b+8>>2]=a;i=g;j=g;b=h;break}}f=c[g+24>>2]|0;a=c[g+12>>2]|0;do if((a|0)==(g|0)){d=g+16|0;b=d+4|0;a=c[b>>2]|0;if(!a){a=c[d>>2]|0;if(!a){d=0;break}else e=d}else e=b;while(1){d=a+20|0;b=c[d>>2]|0;if(b|0){a=b;e=d;continue}d=a+16|0;b=c[d>>2]|0;if(!b)break;else{a=b;e=d}}c[e>>2]=0;d=a}else{d=c[g+8>>2]|0;c[d+12>>2]=a;c[a+8>>2]=d;d=a}while(0);if(f){a=c[g+28>>2]|0;b=30828+(a<<2)|0;if((c[b>>2]|0)==(g|0)){c[b>>2]=d;if(!d){c[7632]=c[7632]&~(1<>2]|0)!=(g|0)&1)<<2)>>2]=d;if(!d){i=g;j=g;b=h;break}}c[d+24>>2]=f;b=g+16|0;a=c[b>>2]|0;if(a|0){c[d+16>>2]=a;c[a+24>>2]=d}a=c[b+4>>2]|0;if(a){c[d+20>>2]=a;c[a+24>>2]=d;i=g;j=g;b=h}else{i=g;j=g;b=h}}else{i=g;j=g;b=h}}else{i=d;j=d}while(0);if(i>>>0>=k>>>0)return;a=k+4|0;d=c[a>>2]|0;if(!(d&1))return;if(!(d&2)){if((c[7637]|0)==(k|0)){k=(c[7634]|0)+b|0;c[7634]=k;c[7637]=j;c[j+4>>2]=k|1;if((j|0)!=(c[7636]|0))return;c[7636]=0;c[7633]=0;return}if((c[7636]|0)==(k|0)){k=(c[7633]|0)+b|0;c[7633]=k;c[7636]=i;c[j+4>>2]=k|1;c[i+k>>2]=k;return}f=(d&-8)+b|0;e=d>>>3;do if(d>>>0<256){b=c[k+8>>2]|0;a=c[k+12>>2]|0;if((a|0)==(b|0)){c[7631]=c[7631]&~(1<>2]=a;c[a+8>>2]=b;break}}else{g=c[k+24>>2]|0;a=c[k+12>>2]|0;do if((a|0)==(k|0)){d=k+16|0;b=d+4|0;a=c[b>>2]|0;if(!a){a=c[d>>2]|0;if(!a){d=0;break}else e=d}else e=b;while(1){d=a+20|0;b=c[d>>2]|0;if(b|0){a=b;e=d;continue}d=a+16|0;b=c[d>>2]|0;if(!b)break;else{a=b;e=d}}c[e>>2]=0;d=a}else{d=c[k+8>>2]|0;c[d+12>>2]=a;c[a+8>>2]=d;d=a}while(0);if(g|0){a=c[k+28>>2]|0;b=30828+(a<<2)|0;if((c[b>>2]|0)==(k|0)){c[b>>2]=d;if(!d){c[7632]=c[7632]&~(1<>2]|0)!=(k|0)&1)<<2)>>2]=d;if(!d)break}c[d+24>>2]=g;b=k+16|0;a=c[b>>2]|0;if(a|0){c[d+16>>2]=a;c[a+24>>2]=d}a=c[b+4>>2]|0;if(a|0){c[d+20>>2]=a;c[a+24>>2]=d}}}while(0);c[j+4>>2]=f|1;c[i+f>>2]=f;if((j|0)==(c[7636]|0)){c[7633]=f;return}}else{c[a>>2]=d&-2;c[j+4>>2]=b|1;c[i+b>>2]=b;f=b}a=f>>>3;if(f>>>0<256){d=30564+(a<<1<<2)|0;b=c[7631]|0;a=1<>2]|0}c[a>>2]=j;c[b+12>>2]=j;c[j+8>>2]=b;c[j+12>>2]=d;return}a=f>>>8;if(a)if(f>>>0>16777215)b=31;else{i=(a+1048320|0)>>>16&8;k=a<>>16&4;k=k<>>16&2;b=14-(h|i|b)+(k<>>15)|0;b=f>>>(b+7|0)&1|b<<1}else b=0;e=30828+(b<<2)|0;c[j+28>>2]=b;c[j+20>>2]=0;c[j+16>>2]=0;a=c[7632]|0;d=1<>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(f|0)){a=73;break}e=d+16+(b>>>31<<2)|0;a=c[e>>2]|0;if(!a){a=72;break}else{b=b<<1;d=a}}if((a|0)==72){c[e>>2]=j;c[j+24>>2]=d;c[j+12>>2]=j;c[j+8>>2]=j;break}else if((a|0)==73){i=d+8|0;k=c[i>>2]|0;c[k+12>>2]=j;c[i>>2]=j;c[j+8>>2]=k;c[j+12>>2]=d;c[j+24>>2]=0;break}}else{c[7632]=a|d;c[e>>2]=j;c[j+24>>2]=e;c[j+12>>2]=j;c[j+8>>2]=j}while(0);k=(c[7639]|0)+-1|0;c[7639]=k;if(!k)a=30980;else return;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[7639]=-1;return}function Si(){return 31020}function Ti(a){a=+a;var b=0,d=0,e=0,f=0,g=0.0,i=0.0,k=0.0,l=0.0,m=0.0;h[j>>3]=a;d=c[j>>2]|0;b=c[j+4>>2]|0;e=(b|0)<0;do if(e|b>>>0<1048576){if((d|0)==0&(b&2147483647|0)==0){a=-1.0/(a*a);break}if(e){a=(a-a)/0.0;break}else{h[j>>3]=a*18014398509481984.0;b=c[j+4>>2]|0;e=c[j>>2]|0;d=-1077;f=9;break}}else if(b>>>0<=2146435071)if((d|0)==0&0==0&(b|0)==1072693248)a=0.0;else{e=d;d=-1023;f=9}while(0);if((f|0)==9){f=b+614242|0;c[j>>2]=e;c[j+4>>2]=(f&1048575)+1072079006;k=+h[j>>3]+-1.0;i=k*(k*.5);l=k/(k+2.0);m=l*l;g=m*m;h[j>>3]=k-i;e=c[j+4>>2]|0;c[j>>2]=0;c[j+4>>2]=e;a=+h[j>>3];g=k-a-i+l*(i+(g*(g*(g*.15313837699209373+.22222198432149784)+.3999999999940942)+m*(g*(g*(g*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));m=a*.4342944818781689;i=+(d+(f>>>20)|0);l=i*.30102999566361177;k=l+m;a=k+(m+(l-k)+(g*.4342944818781689+(i*3.694239077158931e-13+(g+a)*2.5082946711645275e-11)))}return +a}function Ui(a){a=+a;return ~~+cj(+a)|0}function Vi(){}function Wi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=N(e,f)|0;d=a>>>16;a=(c>>>16)+(N(e,d)|0)|0;e=b>>>16;b=N(e,f)|0;return (y=(a>>>16)+(N(e,d)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|c&65535|0)|0}function Xi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;c=Wi(e,f)|0;a=y;return (y=(N(b,f)|0)+(N(d,e)|0)+a|a&0,c|0|0)|0}function Yi(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){y=b>>c;return a>>>c|(b&(1<>c-32|0}function Zi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (y=b+d+(c>>>0>>0|0)>>>0,c|0)|0}function _i(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192)return Y(b|0,d|0,e|0)|0;h=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return h|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}e=g&-4|0;f=e-64|0;while((b|0)<=(f|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(e|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{e=g-4|0;while((b|0)<(e|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return h|0}function $i(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else _i(b,c,d)|0;return b|0}function aj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}f=h&-4|0;g=f-64|0;i=d|d<<8|d<<16|d<<24;while((b|0)<=(g|0)){c[b>>2]=i;c[b+4>>2]=i;c[b+8>>2]=i;c[b+12>>2]=i;c[b+16>>2]=i;c[b+20>>2]=i;c[b+24>>2]=i;c[b+28>>2]=i;c[b+32>>2]=i;c[b+36>>2]=i;c[b+40>>2]=i;c[b+44>>2]=i;c[b+48>>2]=i;c[b+52>>2]=i;c[b+56>>2]=i;c[b+60>>2]=i;b=b+64|0}while((b|0)<(f|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(h|0)){a[b>>0]=d;b=b+1|0}return h-e|0}function bj(a){a=+a;return a>=0.0?+z(a+.5):+M(a-.5)}function cj(a){a=+a;return a-+z(a)!=.5?+bj(a):+bj(a/2.0)*2.0}function dj(a){a=a|0;var b=0,d=0;d=a+15&-16|0;b=c[i>>2]|0;a=b+d|0;if((d|0)>0&(a|0)<(b|0)|(a|0)<0){V()|0;X(12);return -1}c[i>>2]=a;if((a|0)>(U()|0)?(T()|0)==0:0){c[i>>2]=b;X(12);return -1}return b|0}function ej(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;ba[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function fj(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;R(0)}
+function ub(a,d,e,f,h,i,j){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,qa=0,ra=0,sa=0,ua=0,va=0,wa=0;va=l;l=l+304|0;sa=va+288|0;ua=va+284|0;n=va+280|0;Y=va+276|0;Z=va+272|0;aa=va+268|0;ba=va+264|0;ca=va+260|0;da=va+256|0;ea=va+252|0;fa=va+248|0;D=va+244|0;A=va+240|0;m=va+192|0;B=va+184|0;ga=va+176|0;wa=va+168|0;ha=va+164|0;ia=va+160|0;ja=va+156|0;W=va+152|0;E=va+148|0;O=va+144|0;q=va+140|0;ka=va+136|0;P=va+132|0;Q=va+128|0;la=va+124|0;ma=va+120|0;F=va+116|0;G=va+112|0;C=va+108|0;R=va+104|0;S=va+100|0;H=va+96|0;I=va+92|0;y=va+88|0;J=va+84|0;z=va+80|0;r=va+76|0;T=va+72|0;K=va+68|0;L=va+64|0;M=va+60|0;U=va+56|0;na=va+52|0;oa=va+48|0;V=va+44|0;s=va+40|0;o=va+36|0;p=va+32|0;qa=va+28|0;t=va+24|0;u=va+20|0;v=va+16|0;w=va+12|0;x=va+8|0;X=va+4|0;ra=va;c[ua>>2]=a;c[n>>2]=d;c[Y>>2]=e;c[Z>>2]=f;c[aa>>2]=h;c[ba>>2]=i;c[ca>>2]=j;c[ka>>2]=c[(c[ua>>2]|0)+8>>2];c[H>>2]=0;c[I>>2]=0;c[L>>2]=0;c[U>>2]=c[(c[ua>>2]|0)+12>>2];c[na>>2]=c[c[ua>>2]>>2];c[oa>>2]=c[(c[na>>2]|0)+8>>2];c[V>>2]=c[(c[na>>2]|0)+4>>2];c[s>>2]=c[(c[na>>2]|0)+32>>2];c[la>>2]=c[(c[ua>>2]|0)+20>>2];c[ma>>2]=c[(c[ua>>2]|0)+24>>2];c[aa>>2]=N(c[aa>>2]|0,c[(c[ua>>2]|0)+16>>2]|0)|0;c[wa>>2]=(c[ua>>2]|0)+84+((N(2048+(c[V>>2]|0)|0,c[ka>>2]|0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ba=ma+4588|0;ha=ma+4584|0;ia=ma+4580|0;ja=ma+4576|0;la=ma+4568|0;M=ma+4560|0;k=ma+4556|0;O=ma+4552|0;h=ma+4548|0;i=ma+4544|0;P=ma+4540|0;ca=ma+4536|0;Q=ma+4532|0;da=ma+4528|0;R=ma+4524|0;ea=ma+4520|0;j=ma+4516|0;S=ma+4512|0;T=ma+4508|0;U=ma+4504|0;V=ma+4500|0;W=ma+4496|0;X=ma+4492|0;Y=ma+4488|0;Z=ma+4484|0;aa=ma+4480|0;m=ma+4476|0;n=ma+4472|0;o=ma+4468|0;p=ma+4464|0;q=ma+368|0;r=ma+360|0;s=ma+356|0;t=ma+352|0;u=ma+348|0;v=ma+344|0;w=ma+340|0;x=ma+336|0;y=ma+332|0;z=ma+232|0;A=ma+136|0;C=ma+128|0;D=ma+124|0;E=ma+120|0;F=ma+116|0;G=ma+112|0;H=ma+16|0;I=ma+12|0;J=ma+8|0;K=ma+4|0;L=ma;c[fa>>2]=a;c[ga>>2]=d;c[ba>>2]=e;c[ja>>2]=c[(c[fa>>2]|0)+8>>2];c[ca>>2]=c[c[fa>>2]>>2];c[Q>>2]=c[(c[ca>>2]|0)+8>>2];c[da>>2]=c[(c[ca>>2]|0)+4>>2];c[S>>2]=c[(c[ca>>2]|0)+32>>2];c[ha>>2]=0;do{e=(c[fa>>2]|0)+84+((N(c[ha>>2]|0,2048+(c[da>>2]|0)|0)|0)<<2)|0;c[la+(c[ha>>2]<<2)>>2]=e;c[M+(c[ha>>2]<<2)>>2]=(c[la+(c[ha>>2]<<2)>>2]|0)+8192+(0-(c[ga>>2]|0)<<2);e=(c[ha>>2]|0)+1|0;c[ha>>2]=e}while((e|0)<(c[ja>>2]|0));c[k>>2]=(c[fa>>2]|0)+84+((N(2048+(c[da>>2]|0)|0,c[ja>>2]|0)|0)<<2);c[O>>2]=(c[k>>2]|0)+((c[ja>>2]|0)*24<<2);c[h>>2]=(c[O>>2]|0)+(c[Q>>2]<<1<<2);c[i>>2]=(c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>2]|0)+44>>2]=ba}else{c[o>>2]=c[(c[fa>>2]|0)+44>>2];g[n>>2]=.800000011920929}ba=c[da>>2]|0;c[p>>2]=$()|0;d=l;l=l+((1*(ba<<2)|0)+15&-16)|0;c[m>>2]=c[(c[ca>>2]|0)+60>>2];c[ha>>2]=0;do{g[t>>2]=0.0;c[u>>2]=c[la+(c[ha>>2]<<2)>>2];c[ia>>2]=0;while(1){if((c[ia>>2]|0)>=1024)break;g[q+(c[ia>>2]<<2)>>2]=+g[(c[u>>2]|0)+(1024+(c[ia>>2]|0)<<2)>>2];c[ia>>2]=(c[ia>>2]|0)+1}if(!(c[ea>>2]|0)){Hc(q,z,c[m>>2]|0,c[da>>2]|0,24,1024,c[(c[fa>>2]|0)+32>>2]|0)|0;g[z>>2]=+g[z>>2]*1.000100016593933;c[ia>>2]=1;while(1){if((c[ia>>2]|0)>24)break;ca=z+(c[ia>>2]<<2)|0;g[ca>>2]=+g[ca>>2]-+g[z+(c[ia>>2]<<2)>>2]*6.400000711437315e-05*+(c[ia>>2]|0)*+(c[ia>>2]|0);c[ia>>2]=(c[ia>>2]|0)+1}Dc((c[k>>2]|0)+((c[ha>>2]|0)*24<<2)|0,z,24)}c[x>>2]=(c[o>>2]<<1|0)<1024?c[o>>2]<<1:1024;c[ia>>2]=0;while(1){if((c[ia>>2]|0)>=24)break;g[A+(c[ia>>2]<<2)>>2]=+g[(c[u>>2]|0)+(2048-(c[x>>2]|0)-1-(c[ia>>2]|0)<<2)>>2];c[ia>>2]=(c[ia>>2]|0)+1}Ec(q+4096+(0-(c[x>>2]|0)<<2)|0,(c[k>>2]|0)+((c[ha>>2]|0)*24<<2)|0,q+4096+(0-(c[x>>2]|0)<<2)|0,c[x>>2]|0,24,A,c[(c[fa>>2]|0)+32>>2]|0);g[C>>2]=1.0;g[D>>2]=1.0;c[E>>2]=c[x>>2]>>1;c[ia>>2]=0;while(1){if((c[ia>>2]|0)>=(c[E>>2]|0))break;g[F>>2]=+g[q+(1024-(c[E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0,24,H,c[(c[fa>>2]|0)+32>>2]|0);g[I>>2]=0.0;c[ia>>2]=0;while(1){if((c[ia>>2]|0)>=(c[w>>2]|0))break;g[J>>2]=+g[(c[u>>2]|0)+(2048-(c[ga>>2]|0)+(c[ia>>2]|0)<<2)>>2];g[I>>2]=+g[I>>2]+ +g[J>>2]*+g[J>>2];c[ia>>2]=(c[ia>>2]|0)+1}a:do if(+g[t>>2]>+g[I>>2]*.20000000298023224){if(+g[t>>2]<+g[I>>2]){g[K>>2]=+B(+((+g[t>>2]+1.0)/(+g[I>>2]+1.0)));c[ia>>2]=0;while(1){if((c[ia>>2]|0)>=(c[da>>2]|0))break;g[L>>2]=1.0-+g[(c[m>>2]|0)+(c[ia>>2]<<2)>>2]*(1.0-+g[K>>2]);g[(c[u>>2]|0)+(2048-(c[ga>>2]|0)+(c[ia>>2]|0)<<2)>>2]=+g[L>>2]*+g[(c[u>>2]|0)+(2048-(c[ga>>2]|0)+(c[ia>>2]|0)<<2)>>2];c[ia>>2]=(c[ia>>2]|0)+1}c[ia>>2]=c[da>>2];while(1){if((c[ia>>2]|0)>=(c[w>>2]|0))break a;g[(c[u>>2]|0)+(2048-(c[ga>>2]|0)+(c[ia>>2]|0)<<2)>>2]=+g[K>>2]*+g[(c[u>>2]|0)+(2048-(c[ga>>2]|0)+(c[ia>>2]|0)<<2)>>2];c[ia>>2]=(c[ia>>2]|0)+1}}}else{c[ia>>2]=0;while(1){if((c[ia>>2]|0)>=(c[w>>2]|0))break a;g[(c[u>>2]|0)+(2048-(c[ga>>2]|0)+(c[ia>>2]|0)<<2)>>2]=0.0;c[ia>>2]=(c[ia>>2]|0)+1}}while(0);Na(d,(c[u>>2]|0)+8192|0,c[(c[fa>>2]|0)+52>>2]|0,c[(c[fa>>2]|0)+52>>2]|0,c[da>>2]|0,-+g[(c[fa>>2]|0)+60>>2],-+g[(c[fa>>2]|0)+60>>2],c[(c[fa>>2]|0)+68>>2]|0,c[(c[fa>>2]|0)+68>>2]|0,0,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+(c[p>>2]<<2);D=(c[n>>2]|0)>1;c[u>>2]=0;a:do if(D){while(1){if((c[u>>2]|0)>=(c[k>>2]|0))break;g[y>>2]=+g[(c[v>>2]|0)+(c[u>>2]<<2)>>2]+ +g[x>>2]+1.0000000031710769e-30;g[x>>2]=+g[s>>2]*+g[y>>2];g[a+(c[u>>2]<<2)>>2]=+g[y>>2];c[u>>2]=(c[u>>2]|0)+1}c[r>>2]=1}else while(1){if((c[u>>2]|0)>=(c[k>>2]|0))break a;g[z>>2]=+g[(c[v>>2]|0)+(c[u>>2]<<2)>>2]+ +g[x>>2]+1.0000000031710769e-30;g[x>>2]=+g[s>>2]*+g[z>>2];g[(c[w>>2]|0)+((N(c[u>>2]|0,c[m>>2]|0)|0)<<2)>>2]=+g[z>>2]*.000030517578125;c[u>>2]=(c[u>>2]|0)+1}while(0);g[(c[o>>2]|0)+(c[p>>2]<<2)>>2]=+g[x>>2];b:do if(c[r>>2]|0){c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[q>>2]|0))break b;E=+g[a+((N(c[u>>2]|0,c[n>>2]|0)|0)<<2)>>2]*.000030517578125;g[(c[w>>2]|0)+((N(c[u>>2]|0,c[m>>2]|0)|0)<<2)>>2]=E;c[u>>2]=(c[u>>2]|0)+1}}while(0);D=(c[p>>2]|0)+1|0;c[p>>2]=D}while((D|0)<(c[m>>2]|0));_(c[t>>2]|0);l=C;return}function xb(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=(c[(c[d>>2]|0)+20>>2]|0)-(32-(Q(c[(c[d>>2]|0)+28>>2]|0)|0))|0;l=b;return a|0}function yb(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+64|0;t=x+52|0;u=x+48|0;v=x+44|0;w=x+40|0;i=x+36|0;j=x+32|0;k=x+28|0;m=x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)/2|0)<<2);oa(c[q>>2]|0,c[r>>2]|0,a,c[t>>2]|0,c[u>>2]|0,c[v>>2]|0,c[E>>2]|0,c[z>>2]|0,c[A>>2]|0);oa(c[q>>2]|0,(c[r>>2]|0)+(c[H>>2]<<2)|0,c[P>>2]|0,(c[t>>2]|0)+(c[K>>2]<<2)|0,c[u>>2]|0,c[v>>2]|0,c[E>>2]|0,c[z>>2]|0,c[A>>2]|0);c[D>>2]=0;while(1){if((c[D>>2]|0)>=(c[H>>2]|0))break;g[a+(c[D>>2]<<2)>>2]=(+g[a+(c[D>>2]<<2)>>2]+ +g[(c[P>>2]|0)+(c[D>>2]<<2)>>2])*.5;c[D>>2]=(c[D>>2]|0)+1}c[F>>2]=0;while(1){if((c[F>>2]|0)>=(c[G>>2]|0))break;R=(c[c[s>>2]>>2]|0)+((N(c[I>>2]|0,c[F>>2]|0)|0)<<2)|0;rc((c[q>>2]|0)+64|0,a+(c[F>>2]<<2)|0,R,c[(c[q>>2]|0)+60>>2]|0,c[L>>2]|0,c[J>>2]|0,c[G>>2]|0,c[B>>2]|0);c[F>>2]=(c[F>>2]|0)+1}R=c[M>>2]|0;_(R|0);l=Q;return}function Ab(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;l=d;return c[(c[b>>2]|0)+44>>2]|0}function Bb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=l;l=l+4112|0;j=f+4108|0;i=f+4104|0;g=f+4100|0;e=f+4096|0;h=f;c[j>>2]=a;c[i>>2]=b;c[g>>2]=d;tc(c[j>>2]|0,h,2048,c[i>>2]|0,c[g>>2]|0);yc(h+1440|0,h,1328,620,e,c[g>>2]|0);c[e>>2]=720-(c[e>>2]|0);l=f;return c[e>>2]|0}function Cb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=l;l=l+16|0;i=f+12|0;h=f+8|0;g=f+4|0;j=f;c[i>>2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Ib(c[f>>2]|0)|0;c[(c[f>>2]|0)+40>>2]=d;c[(c[f>>2]|0)+32>>2]=(c[(c[f>>2]|0)+28>>2]|0)-1-(c[(c[f>>2]|0)+40>>2]>>1);c[(c[f>>2]|0)+44>>2]=0;Jb(c[f>>2]|0);l=e;return}function Ib(a){a=a|0;var b=0,e=0,f=0;e=l;l=l+16|0;b=e;c[b>>2]=a;if((c[(c[b>>2]|0)+24>>2]|0)>>>0>=(c[(c[b>>2]|0)+4>>2]|0)>>>0){b=0;l=e;return b|0}a=c[c[b>>2]>>2]|0;f=(c[b>>2]|0)+24|0;b=c[f>>2]|0;c[f>>2]=b+1;b=d[a+b>>0]|0;l=e;return b|0}function Jb(a){a=a|0;var b=0,d=0,e=0;e=l;l=l+16|0;b=e+4|0;d=e;c[b>>2]=a;while(1){if((c[(c[b>>2]|0)+28>>2]|0)>>>0>8388608)break;a=(c[b>>2]|0)+20|0;c[a>>2]=(c[a>>2]|0)+8;a=(c[b>>2]|0)+28|0;c[a>>2]=c[a>>2]<<8;c[d>>2]=c[(c[b>>2]|0)+40>>2];a=Ib(c[b>>2]|0)|0;c[(c[b>>2]|0)+40>>2]=a;c[d>>2]=(c[d>>2]<<8|c[(c[b>>2]|0)+40>>2])>>1;c[(c[b>>2]|0)+32>>2]=(c[(c[b>>2]|0)+32>>2]<<8)+(255&~c[d>>2])&2147483647}l=e;return}function Kb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;g=f+8|0;e=f+4|0;d=f;c[g>>2]=a;c[e>>2]=b;b=Lb(c[(c[g>>2]|0)+28>>2]|0,c[e>>2]|0)|0;c[(c[g>>2]|0)+36>>2]=b;c[d>>2]=((c[(c[g>>2]|0)+32>>2]|0)>>>0)/((c[(c[g>>2]|0)+36>>2]|0)>>>0)|0;l=f;return (c[e>>2]|0)-((c[d>>2]|0)+1+((c[e>>2]|0)-((c[d>>2]|0)+1)&0-((c[e>>2]|0)>>>0<((c[d>>2]|0)+1|0)>>>0&1)))|0}function Lb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>>>0)/((c[d>>2]|0)>>>0)|0|0}function Mb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=l;l=l+16|0;g=f+8|0;e=f+4|0;d=f;c[g>>2]=a;c[e>>2]=b;c[(c[g>>2]|0)+36>>2]=(c[(c[g>>2]|0)+28>>2]|0)>>>(c[e>>2]|0);c[d>>2]=((c[(c[g>>2]|0)+32>>2]|0)>>>0)/((c[(c[g>>2]|0)+36>>2]|0)>>>0)|0;l=f;return (1<>2])-((c[d>>2]|0)+1+((1<>2])-((c[d>>2]|0)+1)&0-(1<>2]>>>0<((c[d>>2]|0)+1|0)>>>0&1)))|0}function Nb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=l;l=l+32|0;f=j+16|0;g=j+12|0;h=j+8|0;k=j+4|0;i=j;c[f>>2]=a;c[g>>2]=b;c[h>>2]=d;c[k>>2]=e;c[i>>2]=N(c[(c[f>>2]|0)+36>>2]|0,(c[k>>2]|0)-(c[h>>2]|0)|0)|0;a=(c[f>>2]|0)+32|0;c[a>>2]=(c[a>>2]|0)-(c[i>>2]|0);a=c[f>>2]|0;if((c[g>>2]|0)>>>0>0){i=N(c[a+36>>2]|0,(c[h>>2]|0)-(c[g>>2]|0)|0)|0;k=c[f>>2]|0;k=k+28|0;c[k>>2]=i;k=c[f>>2]|0;Jb(k);l=j;return}else{i=(c[a+28>>2]|0)-(c[i>>2]|0)|0;k=c[f>>2]|0;k=k+28|0;c[k>>2]=i;k=c[f>>2]|0;Jb(k);l=j;return}}function Ob(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=l;l=l+32|0;d=i+20|0;j=i+16|0;e=i+12|0;f=i+8|0;g=i+4|0;h=i;c[d>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(c[f>>2]|0)+28>>2]=j;j=c[f>>2]|0;Wb(j);l=k;return}else{i=N(c[j>>2]|0,(c[i>>2]|0)-(c[h>>2]|0)|0)|0;j=(c[f>>2]|0)+28|0;c[j>>2]=(c[j>>2]|0)-i;j=c[f>>2]|0;Wb(j);l=k;return}}function Vb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>>>0)/((c[d>>2]|0)>>>0)|0|0}function Wb(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;while(1){if((c[(c[b>>2]|0)+28>>2]|0)>>>0>8388608)break;Xb(c[b>>2]|0,(c[(c[b>>2]|0)+32>>2]|0)>>>23);c[(c[b>>2]|0)+32>>2]=c[(c[b>>2]|0)+32>>2]<<8&2147483647;a=(c[b>>2]|0)+28|0;c[a>>2]=c[a>>2]<<8;a=(c[b>>2]|0)+20|0;c[a>>2]=(c[a>>2]|0)+8}l=d;return}function Xb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;d=h+12|0;e=h+8|0;f=h+4|0;g=h;c[d>>2]=a;c[e>>2]=b;if((c[e>>2]|0)==255){g=(c[d>>2]|0)+36|0;c[g>>2]=(c[g>>2]|0)+1;l=h;return}c[f>>2]=c[e>>2]>>8;if((c[(c[d>>2]|0)+40>>2]|0)>=0){a=Yb(c[d>>2]|0,(c[(c[d>>2]|0)+40>>2]|0)+(c[f>>2]|0)|0)|0;b=(c[d>>2]|0)+44|0;c[b>>2]=c[b>>2]|a}if((c[(c[d>>2]|0)+36>>2]|0)>>>0>0){c[g>>2]=255+(c[f>>2]|0)&255;do{f=Yb(c[d>>2]|0,c[g>>2]|0)|0;b=(c[d>>2]|0)+44|0;c[b>>2]=c[b>>2]|f;b=(c[d>>2]|0)+36|0;f=(c[b>>2]|0)+-1|0;c[b>>2]=f}while(f>>>0>0)}c[(c[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0)+4>>2]|0;f=(c[f>>2]|0)+8|0;g=(c[f>>2]|0)+1|0;c[f>>2]=g;a[b+(d-g)>>0]=i;c[e>>2]=0;g=c[e>>2]|0;l=h;return g|0}return 0}function dc(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;g=m+16|0;h=m+12|0;i=m+8|0;j=m+4|0;k=m;c[g>>2]=b;c[h>>2]=e;c[i>>2]=f;c[j>>2]=8-(c[i>>2]|0);c[k>>2]=(1<>2])-1<>2];b=c[g>>2]|0;if((c[(c[g>>2]|0)+24>>2]|0)>>>0>0){a[c[c[g>>2]>>2]>>0]=(d[c[b>>2]>>0]|0)&~c[k>>2]|c[h>>2]<>2];l=m;return}e=c[g>>2]|0;if((c[b+40>>2]|0)>=0){c[(c[g>>2]|0)+40>>2]=c[e+40>>2]&~c[k>>2]|c[h>>2]<>2];l=m;return}b=c[g>>2]|0;if((c[e+28>>2]|0)>>>0<=-2147483648>>>(c[i>>2]|0)>>>0){c[(c[g>>2]|0)+32>>2]=c[b+32>>2]&~(c[k>>2]<<23)|c[h>>2]<<23+(c[j>>2]|0);l=m;return}else{c[b+44>>2]=-1;l=m;return}}function ec(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;e=d+4|0;f=d;c[e>>2]=a;c[f>>2]=b;$i((c[c[e>>2]>>2]|0)+(c[f>>2]|0)+(0-(c[(c[e>>2]|0)+8>>2]|0))|0,(c[c[e>>2]>>2]|0)+(c[(c[e>>2]|0)+4>>2]|0)+(0-(c[(c[e>>2]|0)+8>>2]|0))|0,(c[(c[e>>2]|0)+8>>2]|0)+0|0)|0;c[(c[e>>2]|0)+4>>2]=c[f>>2];l=d;return}function fc(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;g=k+20|0;h=k+16|0;i=k+12|0;e=k+8|0;f=k+4|0;j=k;c[g>>2]=b;c[j>>2]=32-(32-(Q(c[(c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>>2]=(c[j>>2]|0)+1}if(a>>>0<=1){c[h>>2]=((c[g>>2]|0)-(c[k>>2]|0)|0)>>>1;c[j>>2]=(c[j>>2]|0)+(c[h>>2]|0);c[k>>2]=(c[k>>2]|0)+(c[h>>2]<<1)}if((c[g>>2]|0)>>>0<((c[k>>2]|0)+(c[i>>2]|0)|0)>>>0){c[j>>2]=0-(c[j>>2]|0);break}else{c[k>>2]=(c[k>>2]|0)+(c[i>>2]|0);break}}while(0);a=c[e>>2]|0;b=c[k>>2]|0;if(((c[k>>2]|0)+(c[i>>2]|0)|0)>>>0>=32768){k=32768;Nb(a,b,k,32768);k=c[j>>2]|0;l=m;return k|0}k=(c[k>>2]|0)+(c[i>>2]|0)|0;Nb(a,b,k,32768);k=c[j>>2]|0;l=m;return k|0}function pc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;b=h+16|0;d=h+12|0;e=h+8|0;f=h+4|0;g=h;c[b>>2]=a;c[e>>2]=0;c[f>>2]=32-(Q(c[b>>2]|0)|0)-1>>1;c[d>>2]=1<>2];do{c[g>>2]=(c[e>>2]<<1)+(c[d>>2]|0)<>2];if((c[g>>2]|0)>>>0<=(c[b>>2]|0)>>>0){c[e>>2]=(c[e>>2]|0)+(c[d>>2]|0);c[b>>2]=(c[b>>2]|0)-(c[g>>2]|0)}c[d>>2]=(c[d>>2]|0)>>>1;c[f>>2]=(c[f>>2]|0)+-1}while((c[f>>2]|0)>=0);l=h;return c[e>>2]|0}function qc(a,d,e,f,h,i,j,k){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0.0;V=l;l=l+160|0;W=V+144|0;U=V+140|0;o=V+136|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1}c[j>>2]=(c[j>>2]|0)+1}if((a|0)==7){if(c[i>>2]|0)c[c[i>>2]>>2]=0;c[h>>2]=c[5544+(c[j>>2]<<2)>>2];j=c[h>>2]|0;l=k;return j|0}else if((a|0)==12){if(c[i>>2]|0)c[c[i>>2]>>2]=-1;c[h>>2]=0;j=c[h>>2]|0;l=k;return j|0}return 0}function tc(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+112|0;q=u+108|0;r=u+104|0;s=u+100|0;h=u+96|0;t=u+92|0;i=u+88|0;j=u+68|0;k=u+64|0;m=u+48|0;n=u+24|0;o=u+4|0;p=u;c[q>>2]=a;c[r>>2]=b;c[s>>2]=d;c[h>>2]=e;c[t>>2]=f;g[k>>2]=1.0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=0;c[n+16>>2]=0;g[p>>2]=.800000011920929;c[i>>2]=1;while(1){a=c[c[q>>2]>>2]|0;if((c[i>>2]|0)>=(c[s>>2]>>1|0))break;g[(c[r>>2]|0)+(c[i>>2]<<2)>>2]=((+g[a+((c[i>>2]<<1)-1<<2)>>2]+ +g[(c[c[q>>2]>>2]|0)+((c[i>>2]<<1)+1<<2)>>2])*.5+ +g[(c[c[q>>2]>>2]|0)+(c[i>>2]<<1<<2)>>2])*.5;c[i>>2]=(c[i>>2]|0)+1}g[c[r>>2]>>2]=(+g[a+4>>2]*.5+ +g[c[c[q>>2]>>2]>>2])*.5;if((c[h>>2]|0)==2){c[i>>2]=1;while(1){a=c[(c[q>>2]|0)+4>>2]|0;if((c[i>>2]|0)>=(c[s>>2]>>1|0))break;h=(c[r>>2]|0)+(c[i>>2]<<2)|0;g[h>>2]=+g[h>>2]+((+g[a+((c[i>>2]<<1)-1<<2)>>2]+ +g[(c[(c[q>>2]|0)+4>>2]|0)+((c[i>>2]<<1)+1<<2)>>2])*.5+ +g[(c[(c[q>>2]|0)+4>>2]|0)+(c[i>>2]<<1<<2)>>2])*.5;c[i>>2]=(c[i>>2]|0)+1}h=c[r>>2]|0;g[h>>2]=+g[h>>2]+(+g[a+4>>2]*.5+ +g[c[(c[q>>2]|0)+4>>2]>>2])*.5}Hc(c[r>>2]|0,j,0,0,4,c[s>>2]>>1,c[t>>2]|0)|0;g[j>>2]=+g[j>>2]*1.000100016593933;c[i>>2]=1;while(1){if((c[i>>2]|0)>4)break;t=j+(c[i>>2]<<2)|0;g[t>>2]=+g[t>>2]-+g[j+(c[i>>2]<<2)>>2]*(+(c[i>>2]|0)*.00800000037997961)*(+(c[i>>2]|0)*.00800000037997961);c[i>>2]=(c[i>>2]|0)+1}Dc(m,j,4);c[i>>2]=0;while(1){if((c[i>>2]|0)>=4)break;g[k>>2]=+g[k>>2]*.8999999761581421;g[m+(c[i>>2]<<2)>>2]=+g[m+(c[i>>2]<<2)>>2]*+g[k>>2];c[i>>2]=(c[i>>2]|0)+1}g[o>>2]=+g[m>>2]+.800000011920929;g[o+4>>2]=+g[m+4>>2]+ +g[p>>2]*+g[m>>2];g[o+8>>2]=+g[m+8>>2]+ +g[p>>2]*+g[m+4>>2];g[o+12>>2]=+g[m+12>>2]+ +g[p>>2]*+g[m+8>>2];g[o+16>>2]=+g[p>>2]*+g[m+12>>2];uc(c[r>>2]|0,o,c[r>>2]|0,c[s>>2]>>1,n);l=u;return}function uc(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=l;l=l+80|0;u=y+64|0;z=y+60|0;v=y+56|0;w=y+52|0;x=y+48|0;h=y+44|0;i=y+40|0;j=y+36|0;k=y+32|0;m=y+28|0;n=y+24|0;o=y+20|0;p=y+16|0;q=y+12|0;r=y+8|0;s=y+4|0;t=y;c[u>>2]=a;c[z>>2]=b;c[v>>2]=d;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>2]|0,(c[P>>2]|0)+(0-(c[J>>2]|0)<<2)|0,(c[P>>2]|0)+(0-(c[K>>2]|0)<<2)|0,c[n>>2]|0,x,C);g[x>>2]=+g[x>>2]+ +g[C>>2];g[z>>2]=+g[b+(c[J>>2]<<2)>>2]+ +g[b+(c[K>>2]<<2)>>2];g[L>>2]=+g[x>>2]/+B(+(+g[y>>2]*2.0*1.0*+g[z>>2]+1.0));do if((A((c[J>>2]|0)-(c[p>>2]|0)|0)|0)<=1)g[M>>2]=+g[q>>2];else{if((A((c[J>>2]|0)-(c[p>>2]|0)|0)|0)<=2?(k=N((c[r>>2]|0)*5|0,c[r>>2]|0)|0,(k|0)<(c[t>>2]|0)):0){g[M>>2]=+g[q>>2]*.5;break}g[M>>2]=0.0}while(0);if(.30000001192092896>+g[v>>2]*.699999988079071-+g[M>>2])i=.30000001192092896;else i=+g[v>>2]*.699999988079071-+g[M>>2];g[O>>2]=i;if((c[J>>2]|0)>=((c[m>>2]|0)*3|0)){if((c[J>>2]|0)<(c[m>>2]<<1|0)){if(.5>+g[v>>2]*.8999999761581421-+g[M>>2])i=.5;else i=+g[v>>2]*.8999999761581421-+g[M>>2];g[O>>2]=i}}else{if(.4000000059604645>+g[v>>2]*.8500000238418579-+g[M>>2])i=.4000000059604645;else i=+g[v>>2]*.8500000238418579-+g[M>>2];g[O>>2]=i}if(+g[L>>2]>+g[O>>2]){g[E>>2]=+g[x>>2];g[F>>2]=+g[z>>2];c[s>>2]=c[J>>2];g[u>>2]=+g[L>>2]}c[r>>2]=(c[r>>2]|0)+1}g[E>>2]=0.0>+g[E>>2]?0.0:+g[E>>2];if(+g[F>>2]<=+g[E>>2])g[w>>2]=1.0;else g[w>>2]=+g[E>>2]/(+g[F>>2]+1.0);c[r>>2]=0;while(1){if((c[r>>2]|0)>=3)break;i=+xc(c[P>>2]|0,(c[P>>2]|0)+(0-((c[s>>2]|0)+(c[r>>2]|0)-1)<<2)|0,c[n>>2]|0);g[D+(c[r>>2]<<2)>>2]=i;c[r>>2]=(c[r>>2]|0)+1}do if(!(+g[D+8>>2]-+g[D>>2]>(+g[D+4>>2]-+g[D>>2])*.699999988079071))if(+g[D>>2]-+g[D+8>>2]>(+g[D+4>>2]-+g[D+8>>2])*.699999988079071){c[G>>2]=-1;break}else{c[G>>2]=0;break}else c[G>>2]=1;while(0);if(+g[w>>2]>+g[u>>2])g[w>>2]=+g[u>>2];c[c[o>>2]>>2]=(c[s>>2]<<1)+(c[G>>2]|0);if((c[c[o>>2]>>2]|0)>=(c[H>>2]|0)){i=+g[w>>2];Q=c[I>>2]|0;_(Q|0);l=R;return +i}c[c[o>>2]>>2]=c[H>>2];i=+g[w>>2];Q=c[I>>2]|0;_(Q|0);l=R;return +i}function Bc(a,b,d,e,f,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;var i=0.0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+48|0;p=t+32|0;q=t+28|0;r=t+24|0;s=t+20|0;j=t+16|0;k=t+12|0;m=t+8|0;n=t+4|0;o=t;c[p>>2]=a;c[q>>2]=b;c[r>>2]=d;c[s>>2]=e;c[j>>2]=f;c[k>>2]=h;g[n>>2]=0.0;g[o>>2]=0.0;c[m>>2]=0;while(1){i=+g[n>>2];if((c[m>>2]|0)>=(c[s>>2]|0))break;g[n>>2]=i+ +g[(c[p>>2]|0)+(c[m>>2]<<2)>>2]*+g[(c[q>>2]|0)+(c[m>>2]<<2)>>2];g[o>>2]=+g[o>>2]+ +g[(c[p>>2]|0)+(c[m>>2]<<2)>>2]*+g[(c[r>>2]|0)+(c[m>>2]<<2)>>2];c[m>>2]=(c[m>>2]|0)+1}g[c[j>>2]>>2]=i;g[c[k>>2]>>2]=+g[o>>2];l=t;return}function Cc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>>>0)/((c[d>>2]|0)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=+g[p>>2]-+g[o>>2]*+g[o>>2]*+g[p>>2];if(+g[p>>2]<+g[c[j>>2]>>2]*1.0000000474974513e-03){a=15;break}c[m>>2]=(c[m>>2]|0)+1}if((a|0)==15){l=q;return}}function Ec(a,b,d,e,f,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+64|0;s=v+60|0;t=v+56|0;u=v+52|0;j=v+48|0;k=v+44|0;m=v+40|0;n=v+32|0;o=v+28|0;p=v+24|0;q=v+8|0;r=v;c[s>>2]=a;c[t>>2]=b;c[u>>2]=d;c[j>>2]=e;c[k>>2]=f;c[m>>2]=h;c[v+36>>2]=i;b=c[k>>2]|0;c[p>>2]=$()|0;a=l;l=l+((1*(b<<2)|0)+15&-16)|0;b=l;l=l+((1*((c[j>>2]|0)+(c[k>>2]|0)<<2)|0)+15&-16)|0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[k>>2]|0))break;g[a+(c[n>>2]<<2)>>2]=+g[(c[t>>2]|0)+((c[k>>2]|0)-(c[n>>2]|0)-1<<2)>>2];c[n>>2]=(c[n>>2]|0)+1}c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[k>>2]|0))break;g[b+(c[n>>2]<<2)>>2]=+g[(c[m>>2]|0)+((c[k>>2]|0)-(c[n>>2]|0)-1<<2)>>2];c[n>>2]=(c[n>>2]|0)+1}c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[j>>2]|0))break;g[b+((c[n>>2]|0)+(c[k>>2]|0)<<2)>>2]=+g[(c[s>>2]|0)+(c[n>>2]<<2)>>2];c[n>>2]=(c[n>>2]|0)+1}c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[k>>2]|0))break;g[(c[m>>2]|0)+(c[n>>2]<<2)>>2]=+g[(c[s>>2]|0)+((c[j>>2]|0)-(c[n>>2]|0)-1<<2)>>2];c[n>>2]=(c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d;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;k=l;l=l+48|0;m=k+32|0;i=k+28|0;n=k+24|0;j=k+16|0;p=k+12|0;f=k+8|0;o=k+4|0;h=k;c[m>>2]=a;c[i>>2]=b;g[n>>2]=d;c[k+20>>2]=e;g[p>>2]=+dd(c[m>>2]|0,c[m>>2]|0,c[i>>2]|0)+1.0000000036274937e-15;g[o>>2]=+g[p>>2];d=1.0/+B(+(+g[o>>2]));g[f>>2]=d*+g[n>>2];c[h>>2]=c[m>>2];c[j>>2]=0;while(1){if((c[j>>2]|0)>=(c[i>>2]|0))break;g[c[h>>2]>>2]=+g[f>>2]*+g[c[h>>2]>>2];c[h>>2]=(c[h>>2]|0)+4;c[j>>2]=(c[j>>2]|0)+1}l=k;return}function dd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;f=m+16|0;h=m+12|0;i=m+8|0;j=m+4|0;k=m;c[f>>2]=a;c[h>>2]=b;c[i>>2]=d;g[k>>2]=0.0;c[j>>2]=0;while(1){e=+g[k>>2];if((c[j>>2]|0)>=(c[i>>2]|0))break;g[k>>2]=e+ +g[(c[f>>2]|0)+(c[j>>2]<<2)>>2]*+g[(c[h>>2]|0)+(c[j>>2]<<2)>>2];c[j>>2]=(c[j>>2]|0)+1}l=m;return +e}function ed(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0;t=l;l=l+64|0;q=t+48|0;r=t+44|0;u=t+40|0;s=t+36|0;h=t+28|0;i=t+24|0;j=t+20|0;k=t+16|0;m=t+12|0;n=t+8|0;o=t+4|0;p=t;c[q>>2]=a;c[r>>2]=b;c[u>>2]=d;c[s>>2]=e;c[t+32>>2]=f;g[n>>2]=1.0000000036274937e-15;g[m>>2]=1.0000000036274937e-15;a:do if(c[u>>2]|0){c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[s>>2]|0))break a;g[o>>2]=+g[(c[q>>2]|0)+(c[h>>2]<<2)>>2]+ +g[(c[r>>2]|0)+(c[h>>2]<<2)>>2];g[p>>2]=+g[(c[q>>2]|0)+(c[h>>2]<<2)>>2]-+g[(c[r>>2]|0)+(c[h>>2]<<2)>>2];g[m>>2]=+g[m>>2]+ +g[o>>2]*+g[o>>2];g[n>>2]=+g[n>>2]+ +g[p>>2]*+g[p>>2];c[h>>2]=(c[h>>2]|0)+1}}else{v=+dd(c[q>>2]|0,c[q>>2]|0,c[s>>2]|0);g[m>>2]=+g[m>>2]+v;v=+dd(c[r>>2]|0,c[r>>2]|0,c[s>>2]|0);g[n>>2]=+g[n>>2]+v}while(0);g[j>>2]=+B(+(+g[m>>2]));g[k>>2]=+B(+(+g[n>>2]));c[i>>2]=~~+z(+(+J(+(+g[k>>2]),+(+g[j>>2]))*10430.3818359375+.5));l=t;return c[i>>2]|0}function fd(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;d=h+12|0;e=h+8|0;f=h+4|0;g=h;c[d>>2]=a;c[f>>2]=32767/((c[(c[d>>2]|0)+2340>>2]|0)+1|0)|0;c[g>>2]=0;c[e>>2]=0;while(1){if((c[e>>2]|0)>=(c[(c[d>>2]|0)+2340>>2]|0))break;c[g>>2]=(c[g>>2]|0)+(c[f>>2]|0);b[(c[d>>2]|0)+2772+1280+(c[e>>2]<<1)>>1]=c[g>>2];c[e>>2]=(c[e>>2]|0)+1}c[(c[d>>2]|0)+2772+1376>>2]=0;c[(c[d>>2]|0)+2772+1380>>2]=3176576;l=h;return}
+function Nf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+48|0;p=t+40|0;q=t+36|0;r=t+32|0;s=t+28|0;k=t+24|0;m=t+20|0;n=t+16|0;f=t+44|0;g=t+12|0;h=t+8|0;i=t+4|0;j=t;c[p>>2]=a;c[q>>2]=d;c[r>>2]=e;c[k>>2]=0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=20)break;c[h>>2]=(b[c[p>>2]>>1]|0)-(b[c[q>>2]>>1]|0);c[k>>2]=0;c[s>>2]=1;while(1){a=c[p>>2]|0;if((c[s>>2]|0)>((c[r>>2]|0)-1|0))break;c[g>>2]=(b[a+(c[s>>2]<<1)>>1]|0)-((b[(c[p>>2]|0)+((c[s>>2]|0)-1<<1)>>1]|0)+(b[(c[q>>2]|0)+(c[s>>2]<<1)>>1]|0));if((c[g>>2]|0)<(c[h>>2]|0)){c[h>>2]=c[g>>2];c[k>>2]=c[s>>2]}c[s>>2]=(c[s>>2]|0)+1}c[g>>2]=32768-((b[a+((c[r>>2]|0)-1<<1)>>1]|0)+(b[(c[q>>2]|0)+(c[r>>2]<<1)>>1]|0));if((c[g>>2]|0)<(c[h>>2]|0)){c[h>>2]=c[g>>2];c[k>>2]=c[r>>2]}if((c[h>>2]|0)>=0){o=42;break}if(!(c[k>>2]|0))b[c[p>>2]>>1]=b[c[q>>2]>>1]|0;else{if((c[k>>2]|0)==(c[r>>2]|0)){a=32768-(b[(c[q>>2]|0)+(c[r>>2]<<1)>>1]|0)&65535;d=(c[p>>2]|0)+((c[r>>2]|0)-1<<1)|0}else{c[i>>2]=0;c[m>>2]=0;while(1){a=c[q>>2]|0;if((c[m>>2]|0)>=(c[k>>2]|0))break;c[i>>2]=(c[i>>2]|0)+(b[a+(c[m>>2]<<1)>>1]|0);c[m>>2]=(c[m>>2]|0)+1}c[i>>2]=(c[i>>2]|0)+(b[a+(c[k>>2]<<1)>>1]>>1);c[j>>2]=32768;c[m>>2]=c[r>>2];while(1){a=c[q>>2]|0;if((c[m>>2]|0)<=(c[k>>2]|0))break;c[j>>2]=(c[j>>2]|0)-(b[a+(c[m>>2]<<1)>>1]|0);c[m>>2]=(c[m>>2]|0)+-1}c[j>>2]=(c[j>>2]|0)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k=(Sf((c[j>>2]|0)+(c[k>>2]|0)|0,32767)|0)&65535;b[(c[f>>2]|0)+((c[h>>2]|0)-1<<1)>>1]=k;l=m;return}function Rf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Sf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Tf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+32|0;g=m+20|0;h=m+16|0;i=m+12|0;j=m+8|0;n=m+4|0;k=m;c[h>>2]=b;c[i>>2]=d;c[j>>2]=e;c[n>>2]=f;aj(c[h>>2]|0,0,300)|0;b=(c[i>>2]|0)!=8e3&(c[i>>2]|0)!=12e3&(c[i>>2]|0)!=16e3;do if(c[n>>2]|0){if(!(b&(c[i>>2]|0)!=24e3&(c[i>>2]|0)!=48e3)?!((c[j>>2]|0)!=8e3&(c[j>>2]|0)!=12e3&(c[j>>2]|0)!=16e3):0){b=a[30489+((((c[i>>2]>>12)-((c[i>>2]|0)>16e3&1)>>((c[i>>2]|0)>24e3&1))-1|0)*3|0)+(((c[j>>2]>>12)-((c[j>>2]|0)>16e3&1)>>((c[j>>2]|0)>24e3&1))-1)>>0]|0;d=c[h>>2]|0;break}c[g>>2]=-1;n=c[g>>2]|0;l=m;return n|0}else{if(!b?!((c[j>>2]|0)!=8e3&(c[j>>2]|0)!=12e3&(c[j>>2]|0)!=16e3&(c[j>>2]|0)!=24e3&(c[j>>2]|0)!=48e3):0){b=a[30504+((((c[i>>2]>>12)-((c[i>>2]|0)>16e3&1)>>((c[i>>2]|0)>24e3&1))-1|0)*5|0)+(((c[j>>2]>>12)-((c[j>>2]|0)>16e3&1)>>((c[j>>2]|0)>24e3&1))-1)>>0]|0;d=c[h>>2]|0;break}c[g>>2]=-1;n=c[g>>2]|0;l=m;return n|0}while(0);c[d+292>>2]=b;c[(c[h>>2]|0)+284>>2]=(c[i>>2]|0)/1e3|0;c[(c[h>>2]|0)+288>>2]=(c[j>>2]|0)/1e3|0;c[(c[h>>2]|0)+268>>2]=(c[(c[h>>2]|0)+284>>2]|0)*10;c[k>>2]=0;d=c[j>>2]|0;e=c[i>>2]|0;do if((c[j>>2]|0)>(c[i>>2]|0)){b=(c[h>>2]|0)+264|0;if((d|0)==(e<<1|0)){c[b>>2]=1;break}else{c[b>>2]=2;c[k>>2]=1;break}}else{b=(c[h>>2]|0)+264|0;if((d|0)>=(e|0)){c[b>>2]=0;break}c[b>>2]=3;if((c[j>>2]<<2|0)==((c[i>>2]|0)*3|0)){c[(c[h>>2]|0)+280>>2]=3;c[(c[h>>2]|0)+276>>2]=18;c[(c[h>>2]|0)+296>>2]=24842;break}if(((c[j>>2]|0)*3|0)==(c[i>>2]<<1|0)){c[(c[h>>2]|0)+280>>2]=2;c[(c[h>>2]|0)+276>>2]=18;c[(c[h>>2]|0)+296>>2]=24900;break}if((c[j>>2]<<1|0)==(c[i>>2]|0)){c[(c[h>>2]|0)+280>>2]=1;c[(c[h>>2]|0)+276>>2]=24;c[(c[h>>2]|0)+296>>2]=24940;break}if(((c[j>>2]|0)*3|0)==(c[i>>2]|0)){c[(c[h>>2]|0)+280>>2]=1;c[(c[h>>2]|0)+276>>2]=36;c[(c[h>>2]|0)+296>>2]=24968;break}if((c[j>>2]<<2|0)==(c[i>>2]|0)){c[(c[h>>2]|0)+280>>2]=1;c[(c[h>>2]|0)+276>>2]=36;c[(c[h>>2]|0)+296>>2]=25008;break}if(((c[j>>2]|0)*6|0)==(c[i>>2]|0)){c[(c[h>>2]|0)+280>>2]=1;c[(c[h>>2]|0)+276>>2]=36;c[(c[h>>2]|0)+296>>2]=25048;break}c[g>>2]=-1;n=c[g>>2]|0;l=m;return n|0}while(0);c[(c[h>>2]|0)+272>>2]=((c[i>>2]<<14+(c[k>>2]|0)|0)/(c[j>>2]|0)|0)<<2;while(1){n=N(c[(c[h>>2]|0)+272>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;n=n+((N(c[(c[h>>2]|0)+272>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16)|0;n=n+(N(c[(c[h>>2]|0)+272>>2]|0,(c[j>>2]>>15)+1>>1)|0)|0;if((n|0)>=(c[i>>2]<>2]|0))break;n=(c[h>>2]|0)+272|0;c[n>>2]=(c[n>>2]|0)+1}c[g>>2]=0;n=c[g>>2]|0;l=m;return n|0}function Uf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;f=k+16|0;g=k+12|0;h=k+8|0;i=k+4|0;j=k;c[f>>2]=a;c[g>>2]=b;c[h>>2]=d;c[i>>2]=e;c[j>>2]=(c[(c[f>>2]|0)+284>>2]|0)-(c[(c[f>>2]|0)+292>>2]|0);_i((c[f>>2]|0)+168+(c[(c[f>>2]|0)+292>>2]<<1)|0,c[h>>2]|0,c[j>>2]<<1|0)|0;switch(c[(c[f>>2]|0)+264>>2]|0){case 1:{bg(c[f>>2]|0,c[g>>2]|0,(c[f>>2]|0)+168|0,c[(c[f>>2]|0)+284>>2]|0);bg(c[f>>2]|0,(c[g>>2]|0)+(c[(c[f>>2]|0)+288>>2]<<1)|0,(c[h>>2]|0)+(c[j>>2]<<1)|0,(c[i>>2]|0)-(c[(c[f>>2]|0)+284>>2]|0)|0);break}case 2:{_f(c[f>>2]|0,c[g>>2]|0,(c[f>>2]|0)+168|0,c[(c[f>>2]|0)+284>>2]|0);_f(c[f>>2]|0,(c[g>>2]|0)+(c[(c[f>>2]|0)+288>>2]<<1)|0,(c[h>>2]|0)+(c[j>>2]<<1)|0,(c[i>>2]|0)-(c[(c[f>>2]|0)+284>>2]|0)|0);break}case 3:{Yf(c[f>>2]|0,c[g>>2]|0,(c[f>>2]|0)+168|0,c[(c[f>>2]|0)+284>>2]|0);Yf(c[f>>2]|0,(c[g>>2]|0)+(c[(c[f>>2]|0)+288>>2]<<1)|0,(c[h>>2]|0)+(c[j>>2]<<1)|0,(c[i>>2]|0)-(c[(c[f>>2]|0)+284>>2]|0)|0);break}default:{_i(c[g>>2]|0,(c[f>>2]|0)+168|0,c[(c[f>>2]|0)+284>>2]<<1|0)|0;_i((c[g>>2]|0)+(c[(c[f>>2]|0)+288>>2]<<1)|0,(c[h>>2]|0)+(c[j>>2]<<1)|0,(c[i>>2]|0)-(c[(c[f>>2]|0)+284>>2]|0)<<1|0)|0}}_i((c[f>>2]|0)+168|0,(c[h>>2]|0)+((c[i>>2]|0)-(c[(c[f>>2]|0)+292>>2]|0)<<1)|0,c[(c[f>>2]|0)+292>>2]<<1|0)|0;l=k;return 0}function Vf(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+1968|0;j=q+1964|0;k=q+1960|0;m=q+1956|0;n=q+1952|0;o=q+1948|0;p=q+1944|0;g=q+1940|0;h=q+1936|0;i=q;c[j>>2]=a;c[k>>2]=d;c[m>>2]=e;c[n>>2]=f;f=c[j>>2]|0;c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];while(1){c[o>>2]=(c[n>>2]|0)<480?c[n>>2]|0:480;Xf((c[j>>2]|0)+16|0,i+16|0,c[m>>2]|0,25088,c[o>>2]|0);c[h>>2]=i;c[p>>2]=c[o>>2];while(1){if((c[p>>2]|0)<=2)break;f=N(c[c[h>>2]>>2]>>16,b[12546]|0)|0;c[g>>2]=f+((N(c[c[h>>2]>>2]&65535,b[12546]|0)|0)>>16);f=N(c[(c[h>>2]|0)+4>>2]>>16,b[12547]|0)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[(c[h>>2]|0)+4>>2]&65535,b[12547]|0)|0)>>16));f=N(c[(c[h>>2]|0)+8>>2]>>16,b[12549]|0)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[(c[h>>2]|0)+8>>2]&65535,b[12549]|0)|0)>>16));f=N(c[(c[h>>2]|0)+12>>2]>>16,b[12548]|0)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[(c[h>>2]|0)+12>>2]&65535,b[12548]|0)|0)>>16));if(((c[g>>2]>>5)+1>>1|0)<=32767)if(((c[g>>2]>>5)+1>>1|0)<-32768)a=-32768;else a=(c[g>>2]>>5)+1>>1;else a=32767;f=c[k>>2]|0;c[k>>2]=f+2;b[f>>1]=a;f=N(c[(c[h>>2]|0)+4>>2]>>16,b[12548]|0)|0;c[g>>2]=f+((N(c[(c[h>>2]|0)+4>>2]&65535,b[12548]|0)|0)>>16);f=N(c[(c[h>>2]|0)+8>>2]>>16,b[12549]|0)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[(c[h>>2]|0)+8>>2]&65535,b[12549]|0)|0)>>16));f=N(c[(c[h>>2]|0)+12>>2]>>16,b[12547]|0)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[(c[h>>2]|0)+12>>2]&65535,b[12547]|0)|0)>>16));f=N(c[(c[h>>2]|0)+16>>2]>>16,b[12546]|0)|0;c[g>>2]=(c[g>>2]|0)+(f+((N(c[(c[h>>2]|0)+16>>2]&65535,b[12546]|0)|0)>>16));if(((c[g>>2]>>5)+1>>1|0)<=32767)if(((c[g>>2]>>5)+1>>1|0)<-32768)a=-32768;else a=(c[g>>2]>>5)+1>>1;else a=32767;f=c[k>>2]|0;c[k>>2]=f+2;b[f>>1]=a;c[h>>2]=(c[h>>2]|0)+12;c[p>>2]=(c[p>>2]|0)-3}c[m>>2]=(c[m>>2]|0)+(c[o>>2]<<1);c[n>>2]=(c[n>>2]|0)-(c[o>>2]|0);if((c[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,(c[n>>2]|0)+24|0,c[(c[n>>2]|0)+276>>2]<<2|0)|0;c[h>>2]=(c[(c[n>>2]|0)+296>>2]|0)+4;c[g>>2]=c[(c[n>>2]|0)+272>>2];while(1){if((c[m>>2]|0)<(c[(c[n>>2]|0)+268>>2]|0))b=c[m>>2]|0;else b=c[(c[n>>2]|0)+268>>2]|0;c[o>>2]=b;Xf(c[n>>2]|0,a+(c[(c[n>>2]|0)+276>>2]<<2)|0,c[k>>2]|0,c[(c[n>>2]|0)+296>>2]|0,c[o>>2]|0);c[f>>2]=c[o>>2]<<16;c[j>>2]=Zf(c[j>>2]|0,a,c[h>>2]|0,c[(c[n>>2]|0)+276>>2]|0,c[(c[n>>2]|0)+280>>2]|0,c[f>>2]|0,c[g>>2]|0)|0;c[k>>2]=(c[k>>2]|0)+(c[o>>2]<<1);c[m>>2]=(c[m>>2]|0)-(c[o>>2]|0);if((c[m>>2]|0)<=1)break;_i(a|0,a+(c[o>>2]<<2)|0,c[(c[n>>2]|0)+276>>2]<<2|0)|0}_i((c[n>>2]|0)+24|0,a+(c[o>>2]<<2)|0,c[(c[n>>2]|0)+276>>2]<<2|0)|0;_(c[i>>2]|0);l=p;return}function Zf(a,d,e,f,g,h,i){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=l;l=l+48|0;s=v+44|0;t=v+40|0;u=v+36|0;w=v+32|0;j=v+28|0;n=v+24|0;o=v+20|0;p=v+16|0;q=v+12|0;r=v+8|0;k=v+4|0;m=v;c[s>>2]=a;c[t>>2]=d;c[u>>2]=e;c[w>>2]=f;c[j>>2]=g;c[n>>2]=h;c[o>>2]=i;switch(c[w>>2]|0){case 18:{c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[n>>2]|0))break;c[r>>2]=(c[t>>2]|0)+(c[p>>2]>>16<<2);w=N((c[p>>2]&65535)>>16,(c[j>>2]&65535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0)>>16));w=N(c[(c[r>>2]|0)+44>>2]>>16,b[(c[m>>2]|0)+12>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N(c[(c[r>>2]|0)+44>>2]&65535,b[(c[m>>2]|0)+12>>1]|0)|0)>>16));w=N(c[(c[r>>2]|0)+40>>2]>>16,b[(c[m>>2]|0)+14>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N(c[(c[r>>2]|0)+40>>2]&65535,b[(c[m>>2]|0)+14>>1]|0)|0)>>16));w=N(c[(c[r>>2]|0)+36>>2]>>16,b[(c[m>>2]|0)+16>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N(c[(c[r>>2]|0)+36>>2]&65535,b[(c[m>>2]|0)+16>>1]|0)|0)>>16));if(((c[q>>2]>>5)+1>>1|0)<=32767)if(((c[q>>2]>>5)+1>>1|0)<-32768)a=-32768;else a=(c[q>>2]>>5)+1>>1;else a=32767;w=c[s>>2]|0;c[s>>2]=w+2;b[w>>1]=a;c[p>>2]=(c[p>>2]|0)+(c[o>>2]|0)}w=c[s>>2]|0;l=v;return w|0}case 24:{c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[n>>2]|0))break;c[r>>2]=(c[t>>2]|0)+(c[p>>2]>>16<<2);w=N((c[c[r>>2]>>2]|0)+(c[(c[r>>2]|0)+92>>2]|0)>>16,b[c[u>>2]>>1]|0)|0;c[q>>2]=w+((N((c[c[r>>2]>>2]|0)+(c[(c[r>>2]|0)+92>>2]|0)&65535,b[c[u>>2]>>1]|0)|0)>>16);w=N((c[(c[r>>2]|0)+4>>2]|0)+(c[(c[r>>2]|0)+88>>2]|0)>>16,b[(c[u>>2]|0)+2>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+4>>2]|0)+(c[(c[r>>2]|0)+88>>2]|0)&65535,b[(c[u>>2]|0)+2>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+8>>2]|0)+(c[(c[r>>2]|0)+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2]|0)&65535,b[(c[u>>2]|0)+14>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+32>>2]|0)+(c[(c[r>>2]|0)+60>>2]|0)>>16,b[(c[u>>2]|0)+16>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+32>>2]|0)+(c[(c[r>>2]|0)+60>>2]|0)&65535,b[(c[u>>2]|0)+16>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+36>>2]|0)+(c[(c[r>>2]|0)+56>>2]|0)>>16,b[(c[u>>2]|0)+18>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+36>>2]|0)+(c[(c[r>>2]|0)+56>>2]|0)&65535,b[(c[u>>2]|0)+18>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+40>>2]|0)+(c[(c[r>>2]|0)+52>>2]|0)>>16,b[(c[u>>2]|0)+20>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+40>>2]|0)+(c[(c[r>>2]|0)+52>>2]|0)&65535,b[(c[u>>2]|0)+20>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+44>>2]|0)+(c[(c[r>>2]|0)+48>>2]|0)>>16,b[(c[u>>2]|0)+22>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+44>>2]|0)+(c[(c[r>>2]|0)+48>>2]|0)&65535,b[(c[u>>2]|0)+22>>1]|0)|0)>>16));if(((c[q>>2]>>5)+1>>1|0)<=32767)if(((c[q>>2]>>5)+1>>1|0)<-32768)a=-32768;else a=(c[q>>2]>>5)+1>>1;else a=32767;w=c[s>>2]|0;c[s>>2]=w+2;b[w>>1]=a;c[p>>2]=(c[p>>2]|0)+(c[o>>2]|0)}w=c[s>>2]|0;l=v;return w|0}case 36:{c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[n>>2]|0))break;c[r>>2]=(c[t>>2]|0)+(c[p>>2]>>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>2]|0)+120>>2]|0)&65535,b[(c[u>>2]|0)+10>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+24>>2]|0)+(c[(c[r>>2]|0)+116>>2]|0)>>16,b[(c[u>>2]|0)+12>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+24>>2]|0)+(c[(c[r>>2]|0)+116>>2]|0)&65535,b[(c[u>>2]|0)+12>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+28>>2]|0)+(c[(c[r>>2]|0)+112>>2]|0)>>16,b[(c[u>>2]|0)+14>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+28>>2]|0)+(c[(c[r>>2]|0)+112>>2]|0)&65535,b[(c[u>>2]|0)+14>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+32>>2]|0)+(c[(c[r>>2]|0)+108>>2]|0)>>16,b[(c[u>>2]|0)+16>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+32>>2]|0)+(c[(c[r>>2]|0)+108>>2]|0)&65535,b[(c[u>>2]|0)+16>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+36>>2]|0)+(c[(c[r>>2]|0)+104>>2]|0)>>16,b[(c[u>>2]|0)+18>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+36>>2]|0)+(c[(c[r>>2]|0)+104>>2]|0)&65535,b[(c[u>>2]|0)+18>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+40>>2]|0)+(c[(c[r>>2]|0)+100>>2]|0)>>16,b[(c[u>>2]|0)+20>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+40>>2]|0)+(c[(c[r>>2]|0)+100>>2]|0)&65535,b[(c[u>>2]|0)+20>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+44>>2]|0)+(c[(c[r>>2]|0)+96>>2]|0)>>16,b[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u>>2]|0)+32>>1]|0)|0)>>16));w=N((c[(c[r>>2]|0)+68>>2]|0)+(c[(c[r>>2]|0)+72>>2]|0)>>16,b[(c[u>>2]|0)+34>>1]|0)|0;c[q>>2]=(c[q>>2]|0)+(w+((N((c[(c[r>>2]|0)+68>>2]|0)+(c[(c[r>>2]|0)+72>>2]|0)&65535,b[(c[u>>2]|0)+34>>1]|0)|0)>>16));if(((c[q>>2]>>5)+1>>1|0)<=32767)if(((c[q>>2]>>5)+1>>1|0)<-32768)a=-32768;else a=(c[q>>2]>>5)+1>>1;else a=32767;w=c[s>>2]|0;c[s>>2]=w+2;b[w>>1]=a;c[p>>2]=(c[p>>2]|0)+(c[o>>2]|0)}w=c[s>>2]|0;l=v;return w|0}default:{w=c[s>>2]|0;l=v;return w|0}}return 0}function _f(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;p=l;l=l+48|0;q=p+32|0;j=p+28|0;k=p+24|0;m=p+20|0;n=p+16|0;o=p+12|0;g=p+8|0;h=p+4|0;i=p;c[q>>2]=a;c[j>>2]=d;c[k>>2]=e;c[m>>2]=f;c[n>>2]=c[q>>2];f=(c[(c[n>>2]|0)+268>>2]<<1)+8|0;c[i>>2]=$()|0;a=l;l=l+((1*(f<<1)|0)+15&-16)|0;f=(c[n>>2]|0)+24|0;b[a>>1]=b[f>>1]|0;b[a+2>>1]=b[f+2>>1]|0;b[a+4>>1]=b[f+4>>1]|0;b[a+6>>1]=b[f+6>>1]|0;b[a+8>>1]=b[f+8>>1]|0;b[a+10>>1]=b[f+10>>1]|0;b[a+12>>1]=b[f+12>>1]|0;b[a+14>>1]=b[f+14>>1]|0;c[h>>2]=c[(c[n>>2]|0)+272>>2];while(1){if((c[m>>2]|0)<(c[(c[n>>2]|0)+268>>2]|0))d=c[m>>2]|0;else d=c[(c[n>>2]|0)+268>>2]|0;c[o>>2]=d;ag(c[n>>2]|0,a+16|0,c[k>>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o>>2]=(c[o>>2]|0)+(N(b[(c[g>>2]|0)+4>>1]|0,b[25100+(c[h>>2]<<3)+4>>1]|0)|0);c[o>>2]=(c[o>>2]|0)+(N(b[(c[g>>2]|0)+6>>1]|0,b[25100+(c[h>>2]<<3)+6>>1]|0)|0);c[o>>2]=(c[o>>2]|0)+(N(b[(c[g>>2]|0)+8>>1]|0,b[25100+(11-(c[h>>2]|0)<<3)+6>>1]|0)|0);c[o>>2]=(c[o>>2]|0)+(N(b[(c[g>>2]|0)+10>>1]|0,b[25100+(11-(c[h>>2]|0)<<3)+4>>1]|0)|0);c[o>>2]=(c[o>>2]|0)+(N(b[(c[g>>2]|0)+12>>1]|0,b[25100+(11-(c[h>>2]|0)<<3)+2>>1]|0)|0);c[o>>2]=(c[o>>2]|0)+(N(b[(c[g>>2]|0)+14>>1]|0,b[25100+(11-(c[h>>2]|0)<<3)>>1]|0)|0);if(((c[o>>2]>>14)+1>>1|0)<=32767)if(((c[o>>2]>>14)+1>>1|0)<-32768)a=-32768;else a=(c[o>>2]>>14)+1>>1;else a=32767;f=c[i>>2]|0;c[i>>2]=f+2;b[f>>1]=a;c[n>>2]=(c[n>>2]|0)+(c[m>>2]|0)}l=p;return c[i>>2]|0}function ag(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;k=r+36|0;m=r+32|0;n=r+28|0;o=r+24|0;p=r+20|0;q=r+16|0;g=r+12|0;h=r+8|0;i=r+4|0;j=r;c[k>>2]=a;c[m>>2]=d;c[n>>2]=e;c[o>>2]=f;c[p>>2]=0;while(1){if((c[p>>2]|0)>=(c[o>>2]|0))break;c[q>>2]=b[(c[n>>2]|0)+(c[p>>2]<<1)>>1]<<10;c[i>>2]=(c[q>>2]|0)-(c[c[k>>2]>>2]|0);f=N(c[i>>2]>>16,b[12415]|0)|0;c[j>>2]=f+((N(c[i>>2]&65535,b[12415]|0)|0)>>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>>2]|0);f=N(c[i>>2]>>16,b[12420]|0)|0;c[j>>2]=(c[i>>2]|0)+(f+((N(c[i>>2]&65535,b[12420]|0)|0)>>16));c[g>>2]=(c[(c[k>>2]|0)+20>>2]|0)+(c[j>>2]|0);c[(c[k>>2]|0)+20>>2]=(c[h>>2]|0)+(c[j>>2]|0);if(((c[g>>2]>>9)+1>>1|0)<=32767)if(((c[g>>2]>>9)+1>>1|0)<-32768)a=-32768;else a=(c[g>>2]>>9)+1>>1;else a=32767;b[(c[m>>2]|0)+((c[p>>2]<<1)+1<<1)>>1]=a;c[p>>2]=(c[p>>2]|0)+1}l=r;return}function bg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=l;l=l+32|0;k=f+16|0;i=f+12|0;h=f+8|0;g=f+4|0;j=f;c[k>>2]=a;c[i>>2]=b;c[h>>2]=d;c[g>>2]=e;c[j>>2]=c[k>>2];ag(c[j>>2]|0,c[i>>2]|0,c[h>>2]|0,c[g>>2]|0);l=f;return}function cg(a){a=a|0;var b=0,d=0,e=0,f=0;f=l;l=l+16|0;b=f+8|0;d=f+4|0;e=f;c[d>>2]=a;a=c[d>>2]|0;if((c[d>>2]|0)<0){c[d>>2]=0-a;if((c[d>>2]|0)>=192){c[b>>2]=0;e=c[b>>2]|0;l=f;return e|0}else{c[e>>2]=c[d>>2]>>5;c[b>>2]=(c[17960+(c[e>>2]<<2)>>2]|0)-(N((c[17984+(c[e>>2]<<2)>>2]&65535)<<16>>16,(c[d>>2]&31)<<16>>16)|0);e=c[b>>2]|0;l=f;return e|0}}else if((a|0)>=192){c[b>>2]=32767;e=c[b>>2]|0;l=f;return e|0}else{c[e>>2]=c[d>>2]>>5;c[b>>2]=(c[18008+(c[e>>2]<<2)>>2]|0)+(N((c[17984+(c[e>>2]<<2)>>2]&65535)<<16>>16,(c[d>>2]&31)<<16>>16)|0);e=c[b>>2]|0;l=f;return e|0}return 0}function dg(a,b,d,e){a=a|0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2]=(c[g>>2]|0)/5|0;c[h+12+8>>2]=(c[g>>2]|0)-((c[h+8>>2]|0)*5|0);c[g>>2]=0;while(1){if((c[g>>2]|0)>=2)break;d=Pb(c[e>>2]|0,29027,8)|0;c[h+((c[g>>2]|0)*12|0)>>2]=d;d=Pb(c[e>>2]|0,29034,8)|0;c[h+((c[g>>2]|0)*12|0)+4>>2]=d;c[g>>2]=(c[g>>2]|0)+1}c[g>>2]=0;while(1){if((c[g>>2]|0)>=2)break;e=h+((c[g>>2]|0)*12|0)|0;c[e>>2]=(c[e>>2]|0)+((c[h+((c[g>>2]|0)*12|0)+8>>2]|0)*3|0);c[i>>2]=b[24526+(c[h+((c[g>>2]|0)*12|0)>>2]<<1)>>1];c[j>>2]=(((b[24526+((c[h+((c[g>>2]|0)*12|0)>>2]|0)+1<<1)>>1]|0)-(c[i>>2]|0)>>16)*6554|0)+(((b[24526+((c[h+((c[g>>2]|0)*12|0)>>2]|0)+1<<1)>>1]|0)-(c[i>>2]|0)&65535)*6554>>16);e=(c[i>>2]|0)+(N((c[j>>2]&65535)<<16>>16,((c[h+((c[g>>2]|0)*12|0)+4>>2]<<1)+1&65535)<<16>>16)|0)|0;c[(c[f>>2]|0)+(c[g>>2]<<2)>>2]=e;c[g>>2]=(c[g>>2]|0)+1}j=c[f>>2]|0;c[j>>2]=(c[j>>2]|0)-(c[(c[f>>2]|0)+4>>2]|0);l=k;return}function hg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;f=d+4|0;e=d;c[f>>2]=a;c[e>>2]=b;b=Pb(c[f>>2]|0,28999,8)|0;c[c[e>>2]>>2]=b;l=d;return}function ig(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+16|0;e=h+8|0;f=h+4|0;g=h;c[e>>2]=b;c[f>>2]=d;c[g>>2]=((a[(c[f>>2]|0)+2>>0]|0)*5|0)+(a[(c[f>>2]|0)+3+2>>0]|0);$b(c[e>>2]|0,c[g>>2]|0,28974,8);c[g>>2]=0;while(1){if((c[g>>2]|0)>=2)break;$b(c[e>>2]|0,a[(c[f>>2]|0)+((c[g>>2]|0)*3|0)>>0]|0,29027,8);$b(c[e>>2]|0,a[(c[f>>2]|0)+((c[g>>2]|0)*3|0)+1>>0]|0,29034,8);c[g>>2]=(c[g>>2]|0)+1}l=h;return}function jg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=l;l=l+16|0;g=e;f=e+4|0;c[g>>2]=b;a[f>>0]=d;$b(c[g>>2]|0,a[f>>0]|0,28999,8);l=e;return}function kg(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;r=l;l=l+64|0;p=r+52|0;u=r+48|0;t=r+44|0;q=r+40|0;s=r+36|0;h=r+32|0;i=r+28|0;v=r+24|0;w=r+20|0;j=r+16|0;k=r+12|0;m=r+8|0;o=r+4|0;n=r;c[p>>2]=a;c[u>>2]=b;c[t>>2]=d;c[q>>2]=e;c[s>>2]=f;c[h>>2]=g;fg(j,v,c[u>>2]|0,c[s>>2]|0);fg(k,w,c[t>>2]|0,c[s>>2]|0);c[i>>2]=lg(c[v>>2]|0,c[w>>2]|0)|0;c[i>>2]=(c[i>>2]|0)+(c[i>>2]&1);c[k>>2]=c[k>>2]>>(c[i>>2]|0)-(c[w>>2]|0);c[j>>2]=c[j>>2]>>(c[i>>2]|0)-(c[v>>2]|0);c[j>>2]=lg(c[j>>2]|0,1)|0;c[m>>2]=Af(c[u>>2]|0,c[t>>2]|0,c[i>>2]|0,c[s>>2]|0)|0;c[o>>2]=mg(c[m>>2]|0,c[j>>2]|0,13)|0;if((c[o>>2]|0)>16384)a=16384;else a=(c[o>>2]|0)<-16384?-16384:c[o>>2]|0;c[o>>2]=a;w=N(c[o>>2]>>16,(c[o>>2]&65535)<<16>>16)|0;c[n>>2]=w+((N(c[o>>2]&65535,(c[o>>2]&65535)<<16>>16)|0)>>16);w=c[n>>2]|0;c[h>>2]=lg(c[h>>2]|0,(c[n>>2]|0)>0?w:0-w|0)|0;c[i>>2]=c[i>>2]>>1;w=c[c[q>>2]>>2]|0;v=ng(c[j>>2]|0)|0;v=N((v<>2])-(c[c[q>>2]>>2]|0)>>16,(c[h>>2]&65535)<<16>>16)|0;u=ng(c[j>>2]|0)|0;u=w+(v+((N((u<>2])-(c[c[q>>2]>>2]|0)&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[c[q>>2]>>2]=u;u=N(c[m>>2]>>16,(c[o>>2]&65535)<<16>>16)|0;c[k>>2]=(c[k>>2]|0)-(u+((N(c[m>>2]&65535,(c[o>>2]&65535)<<16>>16)|0)>>16)<<4);u=N(c[j>>2]>>16,(c[n>>2]&65535)<<16>>16)|0;c[k>>2]=(c[k>>2]|0)+(u+((N(c[j>>2]&65535,(c[n>>2]&65535)<<16>>16)|0)>>16)<<6);u=c[(c[q>>2]|0)+4>>2]|0;v=ng(c[k>>2]|0)|0;v=N((v<>2])-(c[(c[q>>2]|0)+4>>2]|0)>>16,(c[h>>2]&65535)<<16>>16)|0;w=ng(c[k>>2]|0)|0;w=u+(v+((N((w<>2])-(c[(c[q>>2]|0)+4>>2]|0)&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[q>>2]|0)+4>>2]=w;if((c[c[q>>2]>>2]|0)>1)a=c[c[q>>2]>>2]|0;else a=1;w=mg(c[(c[q>>2]|0)+4>>2]|0,a,14)|0;c[c[p>>2]>>2]=w;if((c[c[p>>2]>>2]|0)>32767){v=32767;w=c[p>>2]|0;c[w>>2]=v;w=c[o>>2]|0;l=r;return w|0}if((c[c[p>>2]>>2]|0)<0){v=0;w=c[p>>2]|0;c[w>>2]=v;w=c[o>>2]|0;l=r;return w|0}v=c[c[p>>2]>>2]|0;w=c[p>>2]|0;c[w>>2]=v;w=c[o>>2]|0;l=r;return w|0}function lg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function mg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+48|0;f=h+40|0;q=h+36|0;p=h+32|0;i=h+28|0;k=h+24|0;j=h+20|0;g=h+16|0;m=h+12|0;n=h+8|0;o=h+4|0;e=h;c[q>>2]=a;c[p>>2]=b;c[i>>2]=d;d=c[q>>2]|0;c[k>>2]=(pg((c[q>>2]|0)>0?d:0-d|0)|0)-1;c[n>>2]=c[q>>2]<>2];d=c[p>>2]|0;c[j>>2]=(pg((c[p>>2]|0)>0?d:0-d|0)|0)-1;c[o>>2]=c[p>>2]<>2];c[m>>2]=536870911/(c[o>>2]>>16|0)|0;d=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=d+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16);d=c[n>>2]|0;b=c[o>>2]|0;a=c[e>>2]|0;a=Xi(b|0,((b|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;a=Yi(a|0,y|0,32)|0;c[n>>2]=d-(a<<3);a=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(a+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));c[g>>2]=29+(c[k>>2]|0)-(c[j>>2]|0)-(c[i>>2]|0);a=c[g>>2]|0;if((c[g>>2]|0)>=0)if((a|0)<32){c[f>>2]=c[e>>2]>>c[g>>2];q=c[f>>2]|0;l=h;return q|0}else{c[f>>2]=0;q=c[f>>2]|0;l=h;return q|0}b=c[e>>2]|0;d=0-(c[g>>2]|0)|0;do if((-2147483648>>0-a|0)>(2147483647>>0-(c[g>>2]|0)|0)){if((b|0)>(-2147483648>>d|0)){a=-2147483648>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[g>>2]|0)|0)){a=2147483647>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}else{if((b|0)>(2147483647>>d|0)){a=2147483647>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[g>>2]|0)|0)){a=-2147483648>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}while(0);c[f>>2]=a<<0-(c[g>>2]|0);q=c[f>>2]|0;l=h;return q|0}function ng(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;b=h+16|0;d=h+12|0;e=h+8|0;f=h+4|0;g=h;c[d>>2]=a;if((c[d>>2]|0)<=0){c[b>>2]=0;g=c[b>>2]|0;l=h;return g|0}og(c[d>>2]|0,f,g);if(c[f>>2]&1|0)c[e>>2]=32768;else c[e>>2]=46214;c[e>>2]=c[e>>2]>>(c[f>>2]>>1);f=N(c[e>>2]>>16,(((c[g>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(f+((N(c[e>>2]&65535,(((c[g>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[b>>2]=c[e>>2];g=c[b>>2]|0;l=h;return g|0}function og(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=pg(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];d=(qg(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=d;l=e;return}function pg(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function qg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;e=j+20|0;d=j+16|0;f=j+12|0;g=j+8|0;h=j+4|0;i=j;c[d>>2]=a;c[f>>2]=b;c[g>>2]=c[d>>2];c[h>>2]=c[f>>2];c[i>>2]=0-(c[f>>2]|0);if(!(c[f>>2]|0)){c[e>>2]=c[d>>2];i=c[e>>2]|0;l=j;return i|0}a=c[g>>2]|0;if((c[f>>2]|0)<0){c[e>>2]=a<>2]|(c[g>>2]|0)>>>(32-(c[i>>2]|0)|0);i=c[e>>2]|0;l=j;return i|0}else{c[e>>2]=a<<32-(c[h>>2]|0)|(c[g>>2]|0)>>>(c[h>>2]|0);i=c[e>>2]|0;l=j;return i|0}return 0}function rg(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;i=r+40|0;j=r+36|0;k=r+32|0;m=r+28|0;n=r+24|0;o=r+20|0;p=r+16|0;q=r+12|0;f=r+8|0;g=r+4|0;h=r;c[i>>2]=d;c[j>>2]=e;c[h>>2]=0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=2)break;c[f>>2]=2147483647;c[k>>2]=0;a:while(1){if((c[k>>2]|0)>=15)break;c[o>>2]=b[24526+(c[k>>2]<<1)>>1];c[p>>2]=(((b[24526+((c[k>>2]|0)+1<<1)>>1]|0)-(c[o>>2]|0)>>16)*6554|0)+(((b[24526+((c[k>>2]|0)+1<<1)>>1]|0)-(c[o>>2]|0)&65535)*6554>>16);c[m>>2]=0;while(1){if((c[m>>2]|0)>=5)break;c[q>>2]=(c[o>>2]|0)+(N((c[p>>2]&65535)<<16>>16,((c[m>>2]<<1)+1&65535)<<16>>16)|0);e=(c[(c[i>>2]|0)+(c[n>>2]<<2)>>2]|0)-(c[q>>2]|0)|0;c[g>>2]=((c[(c[i>>2]|0)+(c[n>>2]<<2)>>2]|0)-(c[q>>2]|0)|0)>0?e:0-e|0;if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;f=l;l=l+16|0;d=f;c[d>>2]=b;Fe(c[d>>2]|0,(c[d>>2]|0)+5128+2|0)|0;b=c[d>>2]|0;if((c[(c[d>>2]|0)+4556>>2]|0)>=13){c[b+6116>>2]=0;c[(c[d>>2]|0)+6112>>2]=0;a[(c[d>>2]|0)+4768+29>>0]=1;b=1;g=(c[d>>2]|0)+4752|0;e=c[d>>2]|0;e=e+5780|0;e=c[e>>2]|0;e=g+e|0;a[e>>0]=b;l=f;return}a[b+4768+29>>0]=0;b=(c[d>>2]|0)+6116|0;c[b>>2]=(c[b>>2]|0)+1;b=c[d>>2]|0;if((c[(c[d>>2]|0)+6116>>2]|0)>=10){if((c[b+6116>>2]|0)>30){c[(c[d>>2]|0)+6116>>2]=10;b=c[d>>2]|0;e=5}}else e=5;if((e|0)==5)c[b+6112>>2]=0;e=0;b=(c[d>>2]|0)+4752|0;g=c[d>>2]|0;g=g+5780|0;g=c[g>>2]|0;g=b+g|0;a[g>>0]=e;l=f;return}function wg(d,e,f,h,i,j){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=l;l=l+15152|0;U=Y+13856|0;V=Y+13852|0;W=Y+13848|0;X=Y+13844|0;o=Y+13840|0;p=Y+13836|0;q=Y+13832|0;r=Y+12920|0;s=Y+12916|0;t=Y+12912|0;u=Y+12908|0;v=Y+12904|0;w=Y+12900|0;x=Y+12896|0;k=Y+12892|0;m=Y+12888|0;y=Y+11608|0;n=Y+8920|0;z=Y+8872|0;A=Y+8824|0;B=Y+4444|0;C=Y+64|0;D=Y+60|0;E=Y+56|0;F=Y+52|0;G=Y+48|0;H=Y+44|0;I=Y+40|0;J=Y+36|0;K=Y+32|0;L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>>2]=-1;c[L>>2]=-1;d=z;e=c[X>>2]|0;f=d+48|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));_i(B|0,(c[V>>2]|0)+144|0,4380)|0;c[D>>2]=a[(c[V>>2]|0)+4768+34>>0];b[O>>1]=b[(c[V>>2]|0)+5804>>1]|0;c[P>>2]=c[(c[V>>2]|0)+5800>>2];c[t>>2]=0;while(1){do if((c[J>>2]|0)!=(c[K>>2]|0)){if((c[J>>2]|0)==(c[L>>2]|0)){c[E>>2]=c[G>>2];break}if((c[t>>2]|0)>0){d=c[X>>2]|0;e=z;f=d+48|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));_i((c[V>>2]|0)+144|0,B|0,4380)|0;a[(c[V>>2]|0)+4768+34>>0]=c[D>>2];b[(c[V>>2]|0)+5804>>1]=b[O>>1]|0;c[(c[V>>2]|0)+5800>>2]=c[P>>2]}kh(c[V>>2]|0,r,(c[V>>2]|0)+4768|0,(c[V>>2]|0)+144|0,(c[V>>2]|0)+4804|0,y);Gd(c[V>>2]|0,c[X>>2]|0,c[(c[V>>2]|0)+5780>>2]|0,0,c[o>>2]|0);Hd(c[X>>2]|0,a[(c[V>>2]|0)+4768+29>>0]|0,a[(c[V>>2]|0)+4768+30>>0]|0,(c[V>>2]|0)+4804|0,c[(c[V>>2]|0)+4608>>2]|0);c[E>>2]=zg(c[X>>2]|0)|0;if((c[q>>2]|0)==0&(c[t>>2]|0)==0?(c[E>>2]|0)<=(c[p>>2]|0):0)break a}else c[E>>2]=c[F>>2];while(0);if((c[t>>2]|0)==(c[u>>2]|0))break;do if((c[E>>2]|0)>(c[p>>2]|0))if((c[w>>2]|0)==0&(c[t>>2]|0)>=2){j=r+852|0;g[j>>2]=+g[j>>2]*1.5;c[v>>2]=0;c[L>>2]=-1;break}else{c[v>>2]=1;c[G>>2]=c[E>>2];c[I>>2]=b[M>>1];c[L>>2]=c[J>>2];break}else{if((c[E>>2]|0)>=((c[p>>2]|0)-5|0))break a;c[w>>2]=1;c[F>>2]=c[E>>2];c[H>>2]=b[M>>1];if((c[J>>2]|0)!=(c[K>>2]|0)){c[K>>2]=c[J>>2];d=A;e=c[X>>2]|0;f=d+48|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));_i(S|0,c[c[X>>2]>>2]|0,c[(c[X>>2]|0)+24>>2]|0)|0;_i(C|0,(c[V>>2]|0)+144|0,4380)|0;a[Q>>0]=a[(c[V>>2]|0)+7200>>0]|0}}while(0);do if(c[w>>2]&c[v>>2]){j=N((c[I>>2]|0)-(c[H>>2]|0)|0,(c[p>>2]|0)-(c[F>>2]|0)|0)|0;b[M>>1]=(c[H>>2]|0)+((j|0)/((c[G>>2]|0)-(c[F>>2]|0)|0)|0);if((b[M>>1]|0)>((c[H>>2]|0)+((c[I>>2]|0)-(c[H>>2]|0)>>2)|0)){b[M>>1]=(c[H>>2]|0)+((c[I>>2]|0)-(c[H>>2]|0)>>2);break}if((b[M>>1]|0)<((c[I>>2]|0)-((c[I>>2]|0)-(c[H>>2]|0)>>2)|0))b[M>>1]=(c[I>>2]|0)-((c[I>>2]|0)-(c[H>>2]|0)>>2)}else{c[T>>2]=Ff((((c[E>>2]|0)-(c[p>>2]|0)<<7|0)/(c[(c[V>>2]|0)+4608>>2]|0)|0)+2048|0)|0;c[T>>2]=Ag(c[T>>2]|0,131072)|0;if((c[E>>2]|0)>(c[p>>2]|0))c[T>>2]=Bg(c[T>>2]|0,85197)|0;j=N(c[T>>2]>>16,b[M>>1]|0)|0;b[M>>1]=j+((N(c[T>>2]&65535,b[M>>1]|0)|0)>>16)}while(0);c[s>>2]=0;while(1){if((c[s>>2]|0)>=(c[(c[V>>2]|0)+4604>>2]|0))break;j=N(c[r+892+(c[s>>2]<<2)>>2]>>16,b[M>>1]|0)|0;if((j+((N(c[r+892+(c[s>>2]<<2)>>2]&65535,b[M>>1]|0)|0)>>16)|0)<=8388607){j=N(c[r+892+(c[s>>2]<<2)>>2]>>16,b[M>>1]|0)|0;if((j+((N(c[r+892+(c[s>>2]<<2)>>2]&65535,b[M>>1]|0)|0)>>16)|0)<-8388608)d=-8388608;else{d=N(c[r+892+(c[s>>2]<<2)>>2]>>16,b[M>>1]|0)|0;d=d+((N(c[r+892+(c[s>>2]<<2)>>2]&65535,b[M>>1]|0)|0)>>16)|0}}else d=8388607;c[R+(c[s>>2]<<2)>>2]=d<<8;c[s>>2]=(c[s>>2]|0)+1}a[(c[V>>2]|0)+7200>>0]=a[r+908>>0]|0;Jd((c[V>>2]|0)+4768|0,R,(c[V>>2]|0)+7200|0,(c[o>>2]|0)==2&1,c[(c[V>>2]|0)+4604>>2]|0);c[J>>2]=Nd((c[V>>2]|0)+4768|0,c[(c[V>>2]|0)+4604>>2]|0)|0;c[s>>2]=0;while(1){if((c[s>>2]|0)>=(c[(c[V>>2]|0)+4604>>2]|0))break;g[r+(c[s>>2]<<2)>>2]=+(c[R+(c[s>>2]<<2)>>2]|0)/65536.0;c[s>>2]=(c[s>>2]|0)+1}c[t>>2]=(c[t>>2]|0)+1}if(c[w>>2]|0){if((c[J>>2]|0)!=(c[K>>2]|0)?(c[E>>2]|0)<=(c[p>>2]|0):0)break;d=c[X>>2]|0;e=A;f=d+48|0;do{c[d>>2]=c[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(f|0));_i(c[c[X>>2]>>2]|0,S|0,c[A+24>>2]|0)|0;_i((c[V>>2]|0)+144|0,C|0,4380)|0;a[(c[V>>2]|0)+7200>>0]=a[Q>>0]|0}}while(0);$i((c[V>>2]|0)+9356|0,(c[V>>2]|0)+9356+(c[(c[V>>2]|0)+4608>>2]<<2)|0,(c[(c[V>>2]|0)+4616>>2]|0)+((c[(c[V>>2]|0)+4600>>2]|0)*5|0)<<2|0)|0;if(c[(c[V>>2]|0)+4712>>2]|0){c[c[W>>2]>>2]=0;c[U>>2]=c[x>>2];X=c[U>>2]|0;l=Y;return X|0}else{c[(c[V>>2]|0)+4568>>2]=c[r+228+((c[(c[V>>2]|0)+4604>>2]|0)-1<<2)>>2];a[(c[V>>2]|0)+4565>>0]=a[(c[V>>2]|0)+4768+29>>0]|0;c[(c[V>>2]|0)+4696>>2]=0;X=(zg(c[X>>2]|0)|0)+7>>3;c[c[W>>2]>>2]=X;c[U>>2]=c[x>>2];X=c[U>>2]|0;l=Y;return X|0}return 0}function xg(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;f=j+12|0;h=j+8|0;k=j+4|0;i=j;c[f>>2]=a;c[h>>2]=d;c[k>>2]=e;c[i>>2]=(c[k>>2]|0)-1;while(1){if((c[i>>2]|0)<0)break;g[(c[f>>2]|0)+(c[i>>2]<<2)>>2]=+(b[(c[h>>2]|0)+(c[i>>2]<<1)>>1]|0);c[i>>2]=(c[i>>2]|0)+-1}l=j;return}function yg(d,e,f,h){d=d|0;e=e|0;f=f|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+4448|0;m=s+4432|0;n=s+4428|0;o=s+4424|0;p=s+4420|0;q=s+4416|0;r=s+4400|0;i=s+4384|0;j=s+4380|0;k=s;c[m>>2]=d;c[n>>2]=e;c[o>>2]=f;c[p>>2]=h;c[j>>2]=(c[m>>2]|0)+6132+((c[(c[m>>2]|0)+5780>>2]|0)*36|0);if(!(c[(c[m>>2]|0)+6124>>2]|0)){l=s;return}if((c[(c[m>>2]|0)+4556>>2]|0)<=77){l=s;return}c[(c[m>>2]|0)+4756+(c[(c[m>>2]|0)+5780>>2]<<2)>>2]=1;_i(k|0,(c[m>>2]|0)+144|0,4380)|0;d=c[j>>2]|0;e=(c[m>>2]|0)+4768|0;f=d+36|0;do{b[d>>1]=b[e>>1]|0;d=d+2|0;e=e+2|0}while((d|0)<(f|0));_i(i|0,c[n>>2]|0,c[(c[m>>2]|0)+4604>>2]<<2|0)|0;if(!((c[(c[m>>2]|0)+5780>>2]|0)!=0?(c[(c[m>>2]|0)+4756+((c[(c[m>>2]|0)+5780>>2]|0)-1<<2)>>2]|0)!=0:0)){a[(c[m>>2]|0)+4564>>0]=a[(c[m>>2]|0)+7200>>0]|0;h=c[j>>2]|0;a[h>>0]=(a[h>>0]|0)+(c[(c[m>>2]|0)+6128>>2]|0);h=(Cg(a[c[j>>2]>>0]|0,63)|0)&255;a[c[j>>2]>>0]=h}Ld(r,c[j>>2]|0,(c[m>>2]|0)+4564|0,(c[p>>2]|0)==2&1,c[(c[m>>2]|0)+4604>>2]|0);c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[(c[m>>2]|0)+4604>>2]|0))break;g[(c[n>>2]|0)+(c[q>>2]<<2)>>2]=+(c[r+(c[q>>2]<<2)>>2]|0)*.0000152587890625;c[q>>2]=(c[q>>2]|0)+1}kh(c[m>>2]|0,c[n>>2]|0,c[j>>2]|0,k,(c[m>>2]|0)+6240+((c[(c[m>>2]|0)+5780>>2]|0)*320|0)|0,c[o>>2]|0);_i(c[n>>2]|0,i|0,c[(c[m>>2]|0)+4604>>2]<<2|0)|0;l=s;return}function zg(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=(c[(c[d>>2]|0)+20>>2]|0)-(32-(Q(c[(c[d>>2]|0)+28>>2]|0)|0))|0;l=b;return a|0}function Ag(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Bg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Cg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Dg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=+f;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+1744|0;q=v+1700|0;r=v+1696|0;s=v+1692|0;h=v+1688|0;t=v+1684|0;u=v+1680|0;i=v+1616|0;j=v+1608|0;k=v+1604|0;m=v+1600|0;n=v+1704|0;o=v+1536|0;p=v;c[q>>2]=b;c[r>>2]=d;c[s>>2]=e;g[h>>2]=f;c[u>>2]=(c[(c[q>>2]|0)+4612>>2]|0)+(c[(c[q>>2]|0)+4664>>2]|0);a[(c[q>>2]|0)+4768+31>>0]=4;g[j>>2]=+nh(i,c[s>>2]|0,+g[h>>2],c[u>>2]|0,c[(c[q>>2]|0)+4604>>2]|0,c[(c[q>>2]|0)+4664>>2]|0);a:do if((c[(c[q>>2]|0)+4656>>2]|0?(c[(c[q>>2]|0)+4696>>2]|0)==0:0)?(c[(c[q>>2]|0)+4604>>2]|0)==4:0){f=+nh(o,(c[s>>2]|0)+(c[u>>2]<<1<<2)|0,+g[h>>2],c[u>>2]|0,2,c[(c[q>>2]|0)+4664>>2]|0);g[j>>2]=+g[j>>2]-f;gh(c[r>>2]|0,o,c[(c[q>>2]|0)+4664>>2]|0);g[k>>2]=3402823466385288598117041.0e14;c[t>>2]=3;while(1){if((c[t>>2]|0)<0)break a;Od(n,(c[q>>2]|0)+4524|0,c[r>>2]|0,c[t>>2]|0,c[(c[q>>2]|0)+4664>>2]|0);ih(o,n,c[(c[q>>2]|0)+4664>>2]|0);Ig(p,o,c[s>>2]|0,c[u>>2]<<1,c[(c[q>>2]|0)+4664>>2]|0);f=+ph(p+(c[(c[q>>2]|0)+4664>>2]<<2)|0,(c[u>>2]|0)-(c[(c[q>>2]|0)+4664>>2]|0)|0);g[m>>2]=f+ +ph(p+(c[(c[q>>2]|0)+4664>>2]<<2)+(c[u>>2]<<2)|0,(c[u>>2]|0)-(c[(c[q>>2]|0)+4664>>2]|0)|0);f=+g[m>>2];if(!(+g[m>>2]<+g[j>>2])){if(f>+g[k>>2])break a}else{g[j>>2]=f;a[(c[q>>2]|0)+4768+31>>0]=c[t>>2]}g[k>>2]=+g[m>>2];c[t>>2]=(c[t>>2]|0)+-1}}while(0);if((a[(c[q>>2]|0)+4768+31>>0]|0)!=4){l=v;return}gh(c[r>>2]|0,i,c[(c[q>>2]|0)+4664>>2]|0);l=v;return}function Eg(a,b,d,e,f,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;L=l;l=l+192|0;A=L+188|0;O=L+184|0;n=L+180|0;N=L+176|0;o=L+172|0;p=L+168|0;q=L+164|0;B=L+160|0;M=L+156|0;C=L+152|0;D=L+148|0;E=L+144|0;F=L+140|0;r=L+136|0;s=L+132|0;t=L+128|0;G=L+112|0;H=L+104|0;I=L+100|0;J=L+80|0;K=L+64|0;u=L+48|0;v=L+44|0;w=L+24|0;x=L+8|0;y=L+4|0;z=L;c[A>>2]=a;c[O>>2]=b;c[n>>2]=d;c[N>>2]=e;c[o>>2]=f;c[p>>2]=h;c[q>>2]=i;c[B>>2]=j;c[M>>2]=k;c[E>>2]=c[A>>2];c[r>>2]=c[O>>2];c[y>>2]=(c[N>>2]|0)+(c[M>>2]<<2);c[D>>2]=0;while(1){if((c[D>>2]|0)>=(c[B>>2]|0))break;c[z>>2]=(c[y>>2]|0)+(0-((c[(c[o>>2]|0)+(c[D>>2]<<2)>>2]|0)+2)<<2);ug(c[z>>2]|0,c[q>>2]|0,5,c[r>>2]|0);tg(c[z>>2]|0,c[y>>2]|0,c[q>>2]|0,5,w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[a+(c[C>>2]<<2)>>2];c[C>>2]=(c[C>>2]|0)+1}c[E>>2]=a+20;c[D>>2]=(c[D>>2]|0)+1}g[F>>2]=1.0000000474974513e-03;c[D>>2]=0;while(1){if((c[D>>2]|0)>=(c[B>>2]|0))break;g[F>>2]=+g[F>>2]+ +g[K+(c[D>>2]<<2)>>2];c[D>>2]=(c[D>>2]|0)+1}g[H>>2]=0.0;c[D>>2]=0;while(1){if((c[D>>2]|0)>=(c[B>>2]|0))break;g[H>>2]=+g[H>>2]+ +g[G+(c[D>>2]<<2)>>2]*+g[K+(c[D>>2]<<2)>>2];c[D>>2]=(c[D>>2]|0)+1}g[H>>2]=+g[H>>2]/+g[F>>2];c[E>>2]=c[A>>2];c[D>>2]=0;while(1){if((c[D>>2]|0)>=(c[B>>2]|0))break;g[I>>2]=.10000000149011612/(+g[K+(c[D>>2]<<2)>>2]+.10000000149011612)*(+g[H>>2]-+g[G+(c[D>>2]<<2)>>2]);g[F>>2]=0.0;c[C>>2]=0;while(1){if((c[C>>2]|0)>=5)break;if(+g[(c[E>>2]|0)+(c[C>>2]<<2)>>2]>.10000000149011612)m=+g[(c[E>>2]|0)+(c[C>>2]<<2)>>2];else m=.10000000149011612;g[J+(c[C>>2]<<2)>>2]=m;g[F>>2]=+g[F>>2]+ +g[J+(c[C>>2]<<2)>>2];c[C>>2]=(c[C>>2]|0)+1}g[F>>2]=+g[I>>2]/+g[F>>2];c[C>>2]=0;while(1){a=c[E>>2]|0;if((c[C>>2]|0)>=5)break;g[(c[E>>2]|0)+(c[C>>2]<<2)>>2]=+g[a+(c[C>>2]<<2)>>2]+ +g[J+(c[C>>2]<<2)>>2]*+g[F>>2];c[C>>2]=(c[C>>2]|0)+1}c[E>>2]=a+20;c[D>>2]=(c[D>>2]|0)+1}l=L;return}function Fg(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;h[c>>3]=a;a=+Ti(+h[c>>3])*3.32192809488736;l=b;return +a}function Gg(d,e,f,h,i){d=d|0;e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(c[k>>2]|0)+4672>>2]|0);g[(c[m>>2]|0)+868>>2]=+g[v>>2]/(+g[u>>2]>1.0?+g[u>>2]:1.0);rh(s,t,c[(c[k>>2]|0)+4672>>2]|0);oh(s,c[(c[k>>2]|0)+4672>>2]|0,.9900000095367432);Ig(c[n>>2]|0,s,c[r>>2]|0,c[q>>2]|0,c[(c[k>>2]|0)+4672>>2]|0);if(a[(c[k>>2]|0)+4768+29>>0]|0?(c[(c[k>>2]|0)+4696>>2]|0)==0:0){g[j>>2]=.6000000238418579;g[j>>2]=+g[j>>2]-+(c[(c[k>>2]|0)+4672>>2]|0)*.004000000189989805;g[j>>2]=+g[j>>2]-+(c[(c[k>>2]|0)+4556>>2]|0)*.10000000149011612*.00390625;g[j>>2]=+g[j>>2]-+(a[(c[k>>2]|0)+4565>>0]>>1|0)*.15000000596046448;g[j>>2]=+g[j>>2]-+(c[(c[k>>2]|0)+4744>>2]|0)*.10000000149011612*.000030517578125;z=(uh(c[n>>2]|0,(c[m>>2]|0)+228|0,(c[k>>2]|0)+4768+26|0,(c[k>>2]|0)+4768+28|0,(c[k>>2]|0)+12236|0,c[(c[k>>2]|0)+4568>>2]|0,+(c[(c[k>>2]|0)+4676>>2]|0)/65536.0,+g[j>>2],c[(c[k>>2]|0)+4600>>2]|0,c[(c[k>>2]|0)+4668>>2]|0,c[(c[k>>2]|0)+4604>>2]|0,c[o>>2]|0)|0)==0;a[(c[k>>2]|0)+4768+29>>0]=z?2:1;l=p;return}z=(c[m>>2]|0)+228|0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;c[z+12>>2]=0;b[(c[k>>2]|0)+4768+26>>1]=0;a[(c[k>>2]|0)+4768+28>>0]=0;g[(c[k>>2]|0)+12236>>2]=0.0;l=p;return}function Hg(d,e,f,h,i){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.0;y=l;l=l+2048|0;t=y+2004|0;u=y+2e3|0;v=y+1996|0;w=y+1992|0;x=y+1988|0;k=y+1984|0;m=y+1584|0;n=y+1568|0;o=y+1552|0;j=y+2008|0;p=y+1548|0;q=y+1544|0;r=y+8|0;s=y;c[t>>2]=d;c[u>>2]=e;c[v>>2]=f;c[w>>2]=h;c[x>>2]=i;c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[(c[t>>2]|0)+4604>>2]|0))break;g[n+(c[k>>2]<<2)>>2]=1.0/+g[(c[u>>2]|0)+(c[k>>2]<<2)>>2];g[o+(c[k>>2]<<2)>>2]=+g[n+(c[k>>2]<<2)>>2]*+g[n+(c[k>>2]<<2)>>2];c[k>>2]=(c[k>>2]|0)+1}if((a[(c[t>>2]|0)+4768+29>>0]|0)==2){Eg((c[u>>2]|0)+144|0,m,(c[u>>2]|0)+872|0,c[v>>2]|0,(c[u>>2]|0)+228|0,o,c[(c[t>>2]|0)+4612>>2]|0,c[(c[t>>2]|0)+4604>>2]|0,c[(c[t>>2]|0)+4616>>2]|0);lh((c[u>>2]|0)+144|0,(c[t>>2]|0)+4768+4|0,(c[t>>2]|0)+4768+32|0,(c[t>>2]|0)+4688|0,m,c[(c[t>>2]|0)+4684>>2]|0,c[(c[t>>2]|0)+4680>>2]|0,c[(c[t>>2]|0)+4604>>2]|0,c[(c[t>>2]|0)+5124>>2]|0);Pg(c[t>>2]|0,c[u>>2]|0,c[x>>2]|0);Og(r,(c[w>>2]|0)+(0-(c[(c[t>>2]|0)+4664>>2]|0)<<2)|0,(c[u>>2]|0)+144|0,(c[u>>2]|0)+228|0,n,c[(c[t>>2]|0)+4612>>2]|0,c[(c[t>>2]|0)+4604>>2]|0,c[(c[t>>2]|0)+4664>>2]|0)}else{c[p>>2]=(c[w>>2]|0)+(0-(c[(c[t>>2]|0)+4664>>2]|0)<<2);c[q>>2]=r;c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[(c[t>>2]|0)+4604>>2]|0))break;Ch(c[q>>2]|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2]|0;e=c[t>>2]|0;e=e+4664|0;e=c[e>>2]|0;ah(i,r,v,w,x,d,e);e=c[t>>2]|0;e=e+4524|0;d=e+32|0;do{b[e>>1]=b[j>>1]|0;e=e+2|0;j=j+2|0}while((e|0)<(d|0));l=y;return}}function Ig(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;g=m+16|0;h=m+12|0;i=m+8|0;j=m+4|0;k=m;c[g>>2]=a;c[h>>2]=b;c[i>>2]=d;c[j>>2]=e;c[k>>2]=f;switch(c[k>>2]|0){case 6:{Jg(c[g>>2]|0,c[h>>2]|0,c[i>>2]|0,c[j>>2]|0);break}case 8:{Kg(c[g>>2]|0,c[h>>2]|0,c[i>>2]|0,c[j>>2]|0);break}case 10:{Lg(c[g>>2]|0,c[h>>2]|0,c[i>>2]|0,c[j>>2]|0);break}case 12:{Mg(c[g>>2]|0,c[h>>2]|0,c[i>>2]|0,c[j>>2]|0);break}case 16:{Ng(c[g>>2]|0,c[h>>2]|0,c[i>>2]|0,c[j>>2]|0);break}default:{}}aj(c[g>>2]|0,0,c[k>>2]<<2|0)|0;l=m;return}function Jg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;h=o+24|0;i=o+20|0;j=o+16|0;k=o+12|0;m=o+8|0;n=o+4|0;f=o;c[h>>2]=a;c[i>>2]=b;c[j>>2]=d;c[k>>2]=e;c[m>>2]=6;while(1){if((c[m>>2]|0)>=(c[k>>2]|0))break;c[f>>2]=(c[j>>2]|0)+((c[m>>2]|0)-1<<2);g[n>>2]=+g[c[f>>2]>>2]*+g[c[i>>2]>>2]+ +g[(c[f>>2]|0)+-4>>2]*+g[(c[i>>2]|0)+4>>2]+ +g[(c[f>>2]|0)+-8>>2]*+g[(c[i>>2]|0)+8>>2]+ +g[(c[f>>2]|0)+-12>>2]*+g[(c[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>=5)break;g[t+(c[x>>2]<<2)>>2]=+g[(c[k>>2]|0)+(((c[w>>2]|0)*5|0)+(c[x>>2]|0)<<2)>>2];c[x>>2]=(c[x>>2]|0)+1}c[x>>2]=0;while(1){if((c[x>>2]|0)>=((c[o>>2]|0)+(c[q>>2]|0)|0))break;g[(c[u>>2]|0)+(c[x>>2]<<2)>>2]=+g[(c[r>>2]|0)+(c[x>>2]<<2)>>2];c[y>>2]=0;while(1){if((c[y>>2]|0)>=5)break;B=(c[u>>2]|0)+(c[x>>2]<<2)|0;g[B>>2]=+g[B>>2]-+g[t+(c[y>>2]<<2)>>2]*+g[(c[s>>2]|0)+(2-(c[y>>2]|0)<<2)>>2];c[y>>2]=(c[y>>2]|0)+1}B=(c[u>>2]|0)+(c[x>>2]<<2)|0;g[B>>2]=+g[B>>2]*+g[v>>2];c[s>>2]=(c[s>>2]|0)+4;c[x>>2]=(c[x>>2]|0)+1}c[u>>2]=(c[u>>2]|0)+((c[o>>2]|0)+(c[q>>2]|0)<<2);c[r>>2]=(c[r>>2]|0)+(c[o>>2]<<2);c[w>>2]=(c[w>>2]|0)+1}l=z;return}function Pg(d,e,f){d=d|0;e=e|0;f=f|0;var h=0.0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+16|0;j=m+12|0;k=m+8|0;n=m+4|0;i=m;c[j>>2]=d;c[k>>2]=e;c[n>>2]=f;d=c[j>>2]|0;if(!(c[n>>2]|0)){c[i>>2]=(c[d+4640>>2]|0)+(c[(c[j>>2]|0)+5776>>2]|0);if(!(+(c[i>>2]|0)*+g[(c[k>>2]|0)+872>>2]*.10000000149011612>2.0))if(+(c[i>>2]|0)*+g[(c[k>>2]|0)+872>>2]*.10000000149011612<0.0)h=0.0;else h=+(c[i>>2]|0)*+g[(c[k>>2]|0)+872>>2]*.10000000149011612;else h=2.0;e=~~h;d=c[j>>2]|0}else e=0;a[d+4768+33>>0]=e;g[(c[k>>2]|0)+224>>2]=+(b[24566+(a[(c[j>>2]|0)+4768+33>>0]<<1)>>1]|0)/16384.0;l=m;return}function Qg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0.0,R=0;P=l;l=l+1152|0;L=P+1140|0;M=P+1136|0;F=P+1132|0;R=P+1128|0;N=P+1124|0;O=P+1120|0;h=P+1116|0;i=P+1112|0;G=P+1108|0;H=P+1104|0;I=P+1100|0;j=P+1096|0;k=P+1092|0;m=P+1088|0;n=P+1084|0;o=P+1080|0;p=P+1076|0;q=P+1072|0;r=P+1068|0;s=P+1064|0;t=P+1060|0;J=P+1056|0;K=P+1052|0;u=P+1048|0;v=P+88|0;w=P+20|0;x=P+16|0;y=P+12|0;z=P+8|0;D=P+4|0;E=P;c[L>>2]=b;c[M>>2]=d;c[F>>2]=e;c[R>>2]=f;c[N>>2]=(c[L>>2]|0)+7200;c[x>>2]=(c[R>>2]|0)+(0-(c[(c[L>>2]|0)+4624>>2]|0)<<2);g[i>>2]=+(c[(c[L>>2]|0)+4748>>2]|0)*.0078125;g[(c[M>>2]|0)+856>>2]=+((c[(c[L>>2]|0)+4728>>2]|0)+(c[(c[L>>2]|0)+4728+4>>2]|0)|0)*.5*.000030517578125;Q=+Rg((+g[i>>2]-20.0)*.25);g[(c[M>>2]|0)+860>>2]=Q;if(!(c[(c[L>>2]|0)+4708>>2]|0)){g[K>>2]=1.0-+(c[(c[L>>2]|0)+4556>>2]|0)*.00390625;g[i>>2]=+g[i>>2]-+g[(c[M>>2]|0)+860>>2]*2.0*(+g[(c[M>>2]|0)+856>>2]*.5+.5)*+g[K>>2]*+g[K>>2]}b=c[L>>2]|0;if((a[(c[L>>2]|0)+4768+29>>0]|0)==2)g[i>>2]=+g[i>>2]+ +g[b+12236>>2]*2.0;else g[i>>2]=+g[i>>2]+(+(c[b+4748>>2]|0)*-.4000000059604645*.0078125+6.0)*(1.0-+g[(c[M>>2]|0)+856>>2]);b=c[L>>2]|0;if((a[(c[L>>2]|0)+4768+29>>0]|0)==2){a[b+4768+30>>0]=0;g[(c[M>>2]|0)+864>>2]=0.0}else{c[h>>2]=c[b+4600>>2]<<1;g[o>>2]=0.0;g[n>>2]=0.0;c[y>>2]=c[F>>2];c[O>>2]=0;while(1){if((c[O>>2]|0)>=((((c[(c[L>>2]|0)+4604>>2]&65535)<<16>>16)*5|0)/2|0|0))break;Q=+(c[h>>2]|0);g[j>>2]=Q+ +ph(c[y>>2]|0,c[h>>2]|0);g[m>>2]=+Sg(+g[j>>2]);if((c[O>>2]|0)>0){Q=+A(+(+g[m>>2]-+g[n>>2]));g[o>>2]=+g[o>>2]+Q}g[n>>2]=+g[m>>2];c[y>>2]=(c[y>>2]|0)+(c[h>>2]<<2);c[O>>2]=(c[O>>2]|0)+1}Q=+Rg((+g[o>>2]-5.0)*.4000000059604645);g[(c[M>>2]|0)+864>>2]=Q;a[(c[L>>2]|0)+4768+30>>0]=+g[(c[M>>2]|0)+864>>2]>.75?0:1;g[i>>2]=+g[i>>2]+(+g[(c[M>>2]|0)+864>>2]-.5)*2.0}g[J>>2]=+g[(c[M>>2]|0)+868>>2]*1.0000000474974513e-03;Q=.949999988079071/(+g[J>>2]*+g[J>>2]+1.0);g[r>>2]=Q;g[q>>2]=Q;g[p>>2]=(1.0-+g[(c[M>>2]|0)+860>>2]*.75)*.009999999776482582;g[q>>2]=+g[q>>2]-+g[p>>2];g[r>>2]=+g[r>>2]+ +g[p>>2];g[q>>2]=+g[q>>2]/+g[r>>2];if((c[(c[L>>2]|0)+4704>>2]|0)>0)g[u>>2]=+(c[(c[L>>2]|0)+4704>>2]|0)/65536.0+ +g[(c[M>>2]|0)+860>>2]*.009999999776482582;else g[u>>2]=0.0;c[O>>2]=0;while(1){if((c[O>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;c[E>>2]=(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[O>>2]<<4<<2)|0,c[(c[L>>2]|0)+4660>>2]|0);g[j>>2]=+th((c[M>>2]|0)+244+(c[O>>2]<<4<<2)|0,c[(c[L>>2]|0)+4660>>2]|0);g[(c[M>>2]|0)+788+(c[O>>2]<<2)>>2]=1.0-(1.0-+g[k>>2]/+g[j>>2])*.699999988079071;Ug((c[M>>2]|0)+500+(c[O>>2]<<4<<2)|0,(c[M>>2]|0)+244+(c[O>>2]<<4<<2)|0,+g[u>>2],3.999000072479248,c[(c[L>>2]|0)+4660>>2]|0);c[O>>2]=(c[O>>2]|0)+1}g[s>>2]=+C(2.0,+(+g[i>>2]*-.1599999964237213));g[t>>2]=+C(2.0,.3199999928474426);c[O>>2]=0;while(1){if((c[O>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;R=(c[M>>2]|0)+(c[O>>2]<<2)|0;g[R>>2]=+g[R>>2]*+g[s>>2];R=(c[M>>2]|0)+(c[O>>2]<<2)|0;g[R>>2]=+g[R>>2]+ +g[t>>2];c[O>>2]=(c[O>>2]|0)+1}g[s>>2]=+g[(c[M>>2]|0)+860>>2]*.10000000149011612+1.0499999523162842;c[O>>2]=0;while(1){if((c[O>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;R=(c[M>>2]|0)+788+(c[O>>2]<<2)|0;g[R>>2]=+g[R>>2]*+g[s>>2];c[O>>2]=(c[O>>2]|0)+1}g[J>>2]=((+(c[(c[L>>2]|0)+4728>>2]|0)*.000030517578125-1.0)*.5+1.0)*4.0;g[J>>2]=+g[J>>2]*(+(c[(c[L>>2]|0)+4556>>2]|0)*.00390625);if((a[(c[L>>2]|0)+4768+29>>0]|0)==2){c[O>>2]=0;while(1){b=c[L>>2]|0;if((c[O>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;g[K>>2]=.20000000298023224/+(c[b+4600>>2]|0)+3.0/+(c[(c[M>>2]|0)+228+(c[O>>2]<<2)>>2]|0);g[(c[M>>2]|0)+756+(c[O>>2]<<2)>>2]=+g[K>>2]+-1.0;g[(c[M>>2]|0)+772+(c[O>>2]<<2)>>2]=1.0-+g[K>>2]-+g[K>>2]*+g[J>>2];c[O>>2]=(c[O>>2]|0)+1}g[I>>2]=-.25-+(c[b+4556>>2]|0)*.26249998807907104*.00390625}else{g[K>>2]=1.2999999523162842/+(c[(c[L>>2]|0)+4600>>2]|0);g[(c[M>>2]|0)+756>>2]=+g[K>>2]+-1.0;g[(c[M>>2]|0)+772>>2]=1.0-+g[K>>2]-+g[K>>2]*+g[J>>2]*.6000000238418579;c[O>>2]=1;while(1){if((c[O>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;g[(c[M>>2]|0)+756+(c[O>>2]<<2)>>2]=+g[(c[M>>2]|0)+756>>2];g[(c[M>>2]|0)+772+(c[O>>2]<<2)>>2]=+g[(c[M>>2]|0)+772>>2];c[O>>2]=(c[O>>2]|0)+1}g[I>>2]=-.25}g[G>>2]=(1.0-+g[(c[M>>2]|0)+860>>2])*.10000000149011612*+g[(c[L>>2]|0)+12236>>2];g[G>>2]=+g[G>>2]+(1.0-+g[(c[M>>2]|0)+856>>2])*.10000000149011612;if((a[(c[L>>2]|0)+4768+29>>0]|0)==2){g[H>>2]=.30000001192092896;g[H>>2]=+g[H>>2]+(1.0-(1.0-+g[(c[M>>2]|0)+860>>2])*+g[(c[M>>2]|0)+856>>2])*.20000000298023224;Q=+B(+(+g[(c[L>>2]|0)+12236>>2]));g[H>>2]=+g[H>>2]*Q}else g[H>>2]=0.0;c[O>>2]=0;while(1){if((c[O>>2]|0)>=(c[(c[L>>2]|0)+4604>>2]|0))break;R=(c[N>>2]|0)+4|0;g[R>>2]=+g[R>>2]+(+g[G>>2]-+g[(c[N>>2]|0)+4>>2])*.4000000059604645;g[(c[M>>2]|0)+804+(c[O>>2]<<2)>>2]=+g[(c[N>>2]|0)+4>>2];R=(c[N>>2]|0)+8|0;g[R>>2]=+g[R>>2]+(+g[H>>2]-+g[(c[N>>2]|0)+8>>2])*.4000000059604645;g[(c[M>>2]|0)+836+(c[O>>2]<<2)>>2]=+g[(c[N>>2]|0)+8>>2];R=(c[N>>2]|0)+12|0;g[R>>2]=+g[R>>2]+(+g[I>>2]-+g[(c[N>>2]|0)+12>>2])*.4000000059604645;g[(c[M>>2]|0)+820+(c[O>>2]<<2)>>2]=+g[(c[N>>2]|0)+12>>2];c[O>>2]=(c[O>>2]|0)+1}l=P;return}function Rg(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;g[c>>2]=a;a=1.0/(+K(+-+g[c>>2])+1.0);l=b;return +a}function Sg(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;h[c>>3]=a;a=+Ti(+h[c>>3])*3.32192809488736;l=b;return +a}function Tg(a,b,d){a=a|0;b=+b;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0;j=l;l=l+32|0;e=j+16|0;f=j+12|0;k=j+8|0;h=j+4|0;i=j;c[e>>2]=a;g[f>>2]=b;c[k>>2]=d;g[f>>2]=-+g[f>>2];g[i>>2]=+g[(c[e>>2]|0)+((c[k>>2]|0)-1<<2)>>2];c[h>>2]=(c[k>>2]|0)-2;while(1){b=+g[f>>2]*+g[i>>2];if((c[h>>2]|0)<0)break;g[i>>2]=b+ +g[(c[e>>2]|0)+(c[h>>2]<<2)>>2];c[h>>2]=(c[h>>2]|0)+-1}l=j;return +(1.0/(1.0-b))}function Ug(a,b,d,e,f){a=a|0;b=b|0;d=+d;e=+e;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+64|0;q=v+48|0;r=v+44|0;s=v+40|0;t=v+36|0;u=v+32|0;h=v+28|0;i=v+24|0;j=v+20|0;k=v+16|0;m=v+12|0;n=v+8|0;o=v+4|0;p=v;c[q>>2]=a;c[r>>2]=b;g[s>>2]=d;g[t>>2]=e;c[u>>2]=f;c[j>>2]=0;c[h>>2]=(c[u>>2]|0)-1;while(1){d=+g[s>>2];if((c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+g[f>>2]+ +g[s>>2]*+g[(c[r>>2]|0)+(c[h>>2]<<2)>>2];c[h>>2]=(c[h>>2]|0)+1}g[o>>2]=1.0/+g[o>>2];g[p>>2]=1.0/+g[p>>2];c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[u>>2]|0))break;f=(c[q>>2]|0)+(c[h>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[o>>2];f=(c[r>>2]|0)+(c[h>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[p>>2];c[h>>2]=(c[h>>2]|0)+1}g[n>>2]=.9900000095367432-(+(c[i>>2]|0)*.10000000149011612+.800000011920929)*(+g[m>>2]-+g[t>>2])/(+g[m>>2]*+((c[j>>2]|0)+1|0));oh(c[q>>2]|0,c[u>>2]|0,+g[n>>2]);oh(c[r>>2]|0,c[u>>2]|0,+g[n>>2]);c[h>>2]=(c[u>>2]|0)-1;while(1){d=+g[s>>2];if((c[h>>2]|0)<=0)break;f=(c[q>>2]|0)+((c[h>>2]|0)-1<<2)|0;g[f>>2]=+g[f>>2]-d*+g[(c[q>>2]|0)+(c[h>>2]<<2)>>2];f=(c[r>>2]|0)+((c[h>>2]|0)-1<<2)|0;g[f>>2]=+g[f>>2]-+g[s>>2]*+g[(c[r>>2]|0)+(c[h>>2]<<2)>>2];c[h>>2]=(c[h>>2]|0)+-1}g[o>>2]=(1.0-d*+g[s>>2])/(+g[s>>2]*+g[c[q>>2]>>2]+1.0);g[p>>2]=(1.0-+g[s>>2]*+g[s>>2])/(+g[s>>2]*+g[c[r>>2]>>2]+1.0);c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[u>>2]|0))break;f=(c[q>>2]|0)+(c[h>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[o>>2];f=(c[r>>2]|0)+(c[h>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[p>>2];c[h>>2]=(c[h>>2]|0)+1}c[i>>2]=(c[i>>2]|0)+1}if((a|0)==31){l=v;return}}function Vg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;y=l;l=l+464|0;u=y+460|0;v=y+456|0;z=y+452|0;A=y+448|0;w=y+444|0;x=y+440|0;h=y+436|0;i=y+432|0;j=y+428|0;k=y+424|0;m=y+420|0;n=y+416|0;o=y+408|0;p=y+404|0;q=y+400|0;r=y+396|0;s=y+384|0;t=y;c[u>>2]=b;c[v>>2]=d;c[z>>2]=e;c[A>>2]=f;c[w>>2]=(c[u>>2]|0)+7216;c[q>>2]=c[A>>2];c[r>>2]=c[z>>2];c[i>>2]=c[(c[w>>2]|0)+2136>>2];c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[(c[u>>2]|0)+4604>>2]|0))break;if((a[(c[u>>2]|0)+4768+29>>0]|0)==2)c[i>>2]=c[(c[v>>2]|0)+228+(c[h>>2]<<2)>>2];g[j>>2]=+g[(c[v>>2]|0)+836+(c[h>>2]<<2)>>2]*(1.0-+g[(c[v>>2]|0)+804+(c[h>>2]<<2)>>2]);g[s>>2]=+g[j>>2]*.25;g[s+4>>2]=+g[j>>2]*.4999847412109375;g[s+8>>2]=+g[j>>2]*.25;g[k>>2]=+g[(c[v>>2]|0)+820+(c[h>>2]<<2)>>2];g[m>>2]=+g[(c[v>>2]|0)+756+(c[h>>2]<<2)>>2];g[n>>2]=+g[(c[v>>2]|0)+772+(c[h>>2]<<2)>>2];c[p>>2]=(c[v>>2]|0)+244+(c[h>>2]<<4<<2);Wg((c[w>>2]|0)+2048|0,t,c[p>>2]|0,c[q>>2]|0,+(c[(c[u>>2]|0)+4704>>2]|0)/65536.0,c[(c[u>>2]|0)+4612>>2]|0,c[(c[u>>2]|0)+4660>>2]|0);g[o>>2]=+g[(c[v>>2]|0)+788+(c[h>>2]<<2)>>2];g[o+4>>2]=-+g[(c[v>>2]|0)+788+(c[h>>2]<<2)>>2]*(+g[(c[v>>2]|0)+804+(c[h>>2]<<2)>>2]*+g[j>>2]+.05000000074505806+ +g[(c[v>>2]|0)+860>>2]*.10000000149011612);g[c[r>>2]>>2]=+g[o>>2]*+g[t>>2]+ +g[o+4>>2]*+g[(c[w>>2]|0)+2128>>2];c[x>>2]=1;while(1){if((c[x>>2]|0)>=(c[(c[u>>2]|0)+4612>>2]|0))break;g[(c[r>>2]|0)+(c[x>>2]<<2)>>2]=+g[o>>2]*+g[t+(c[x>>2]<<2)>>2]+ +g[o+4>>2]*+g[t+((c[x>>2]|0)-1<<2)>>2];c[x>>2]=(c[x>>2]|0)+1}g[(c[w>>2]|0)+2128>>2]=+g[t+((c[(c[u>>2]|0)+4612>>2]|0)-1<<2)>>2];Xg(c[w>>2]|0,c[r>>2]|0,c[r>>2]|0,s,+g[k>>2],+g[m>>2],+g[n>>2],c[i>>2]|0,c[(c[u>>2]|0)+4612>>2]|0);c[q>>2]=(c[q>>2]|0)+(c[(c[u>>2]|0)+4612>>2]<<2);c[r>>2]=(c[r>>2]|0)+(c[(c[u>>2]|0)+4612>>2]<<2);c[h>>2]=(c[h>>2]|0)+1}c[(c[w>>2]|0)+2136>>2]=c[(c[v>>2]|0)+228+((c[(c[u>>2]|0)+4604>>2]|0)-1<<2)>>2];l=y;return}function Wg(a,b,d,e,f,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+48|0;t=w+44|0;u=w+40|0;v=w+36|0;j=w+32|0;k=w+28|0;m=w+24|0;n=w+20|0;o=w+16|0;p=w+12|0;q=w+8|0;r=w+4|0;s=w;c[t>>2]=a;c[u>>2]=b;c[v>>2]=d;c[j>>2]=e;g[k>>2]=f;c[m>>2]=h;c[n>>2]=i;c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[m>>2]|0))break;g[s>>2]=+g[c[t>>2]>>2]+ +g[k>>2]*+g[(c[t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e,f){d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=l;l=l+64|0;m=s+48|0;n=s+44|0;o=s+40|0;p=s+36|0;q=s+32|0;r=s+16|0;j=s+12|0;h=s+8|0;i=s+4|0;k=s;c[m>>2]=d;c[n>>2]=e;c[o>>2]=f;c[p>>2]=(c[m>>2]|0)+7200;a:do if((a[(c[m>>2]|0)+4768+29>>0]|0)==2){g[j>>2]=1.0-+Zg((+g[(c[n>>2]|0)+872>>2]-12.0)*.25)*.5;c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[(c[m>>2]|0)+4604>>2]|0))break a;f=(c[n>>2]|0)+(c[q>>2]<<2)|0;g[f>>2]=+g[f>>2]*+g[j>>2];c[q>>2]=(c[q>>2]|0)+1}}while(0);t=+C(2.0,+((21.0-+(c[(c[m>>2]|0)+4748>>2]|0)*.0078125)*.33000001311302185));g[h>>2]=t/+(c[(c[m>>2]|0)+4612>>2]|0);c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[(c[m>>2]|0)+4604>>2]|0))break;g[i>>2]=+g[(c[n>>2]|0)+(c[q>>2]<<2)>>2];g[i>>2]=+B(+(+g[i>>2]*+g[i>>2]+ +g[(c[n>>2]|0)+876+(c[q>>2]<<2)>>2]*+g[h>>2]));g[(c[n>>2]|0)+(c[q>>2]<<2)>>2]=+g[i>>2]<32767.0?+g[i>>2]:32767.0;c[q>>2]=(c[q>>2]|0)+1}c[q>>2]=0;while(1){d=c[n>>2]|0;if((c[q>>2]|0)>=(c[(c[m>>2]|0)+4604>>2]|0))break;c[r+(c[q>>2]<<2)>>2]=~~(+g[d+(c[q>>2]<<2)>>2]*65536.0);c[q>>2]=(c[q>>2]|0)+1}_i(d+892|0,r|0,c[(c[m>>2]|0)+4604>>2]<<2|0)|0;a[(c[n>>2]|0)+908>>0]=a[c[p>>2]>>0]|0;Jd((c[m>>2]|0)+4768|0,r,c[p>>2]|0,(c[o>>2]|0)==2&1,c[(c[m>>2]|0)+4604>>2]|0);c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[(c[m>>2]|0)+4604>>2]|0))break;g[(c[n>>2]|0)+(c[q>>2]<<2)>>2]=+(c[r+(c[q>>2]<<2)>>2]|0)/65536.0;c[q>>2]=(c[q>>2]|0)+1}if((a[(c[m>>2]|0)+4768+29>>0]|0)==2)a[(c[m>>2]|0)+4768+30>>0]=+g[(c[n>>2]|0)+872>>2]+ +(c[(c[m>>2]|0)+4744>>2]|0)*.000030517578125>1.0?0:1;g[k>>2]=+(b[24558+(a[(c[m>>2]|0)+4768+29>>0]>>1<<2)+(a[(c[m>>2]|0)+4768+30>>0]<<1)>>1]|0)/1024.0;g[(c[n>>2]|0)+852>>2]=+(c[(c[m>>2]|0)+4652>>2]|0)*-.05000000074505806+1.2000000476837158+ +(c[(c[m>>2]|0)+4556>>2]|0)*-.20000000298023224*.00390625+ +g[(c[n>>2]|0)+856>>2]*-.10000000149011612+ +g[(c[n>>2]|0)+860>>2]*-.20000000298023224+ +g[k>>2]*.800000011920929;l=s;return}function Zg(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;g[c>>2]=a;a=1.0/(+K(+-+g[c>>2])+1.0);l=b;return +a}function _g(a,b,d,e){a=a|0;b=b|0;d=+d;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;f=m+16|0;h=m+12|0;i=m+8|0;j=m+4|0;k=m;c[f>>2]=a;c[h>>2]=b;g[i>>2]=d;c[j>>2]=e;c[k>>2]=0;while(1){d=+g[i>>2];if((c[k>>2]|0)>=(c[j>>2]|0))break;e=N(c[k>>2]|0,c[j>>2]|0)|0;e=(c[f>>2]|0)+(e+(c[k>>2]|0)<<2)|0;g[e>>2]=+g[e>>2]+d;c[k>>2]=(c[k>>2]|0)+1}k=c[h>>2]|0;g[k>>2]=+g[k>>2]+d;l=m;return}function $g(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=+e;f=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c[o>>2]|0)+(c[n>>2]<<2)|0,c[k>>2]|0);g[(c[q>>2]|0)+12>>2]=v;l=t;return}function bh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;n=l;l=l+1184|0;p=n+1168|0;i=n+1164|0;o=n+1160|0;j=n+1156|0;k=n+1152|0;m=n+128|0;f=n+64|0;h=n;c[p>>2]=a;c[i>>2]=b;c[o>>2]=d;c[j>>2]=e;ch(c[p>>2]|0,c[i>>2]|0,m,h);dh(m,c[i>>2]|0,c[o>>2]|0,f);c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[i>>2]|0))break;g[f+(c[k>>2]<<2)>>2]=+g[f+(c[k>>2]<<2)>>2]*+g[h+(c[k>>2]<<2)>>2];c[k>>2]=(c[k>>2]|0)+1}eh(m,c[i>>2]|0,f,c[j>>2]|0);l=n;return}function ch(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+192|0;r=y+184|0;s=y+180|0;t=y+176|0;u=y+172|0;v=y+168|0;w=y+164|0;f=y+160|0;i=y+156|0;j=y+152|0;k=y+148|0;m=y+144|0;n=y+8|0;o=y;p=y+80|0;q=y+16|0;c[r>>2]=a;c[s>>2]=b;c[t>>2]=d;c[u>>2]=e;c[j>>2]=1;h[o>>3]=(+g[c[r>>2]>>2]+ +g[(c[r>>2]|0)+((N(c[s>>2]|0,c[s>>2]|0)|0)-1<<2)>>2])*4.999999873689376e-06;c[i>>2]=0;while(1){if(!((c[i>>2]|0)<(c[s>>2]|0)?(c[j>>2]|0)==1:0))break;c[j>>2]=0;c[w>>2]=0;while(1){if((c[w>>2]|0)>=(c[s>>2]|0))break;c[k>>2]=(c[t>>2]|0)+((N(c[w>>2]|0,c[s>>2]|0)|0)+0<<2);e=N(c[w>>2]|0,c[s>>2]|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<3)>>3]=+h[k>>3];f=o+(c[t>>2]<<3)|0;h[f>>3]=+h[f>>3]+ +h[n>>3]*+h[k>>3];c[i>>2]=(c[i>>2]|0)+1}c[j>>2]=0;while(1){if((c[j>>2]|0)>=((c[t>>2]|0)+1|0))break;g[(c[p>>2]|0)+(c[j>>2]<<2)>>2]=+h[o+(c[j>>2]<<3)>>3];c[j>>2]=(c[j>>2]|0)+1}l=u;return}function gh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0;k=l;l=l+80|0;e=k+76|0;f=k+72|0;h=k+68|0;i=k+64|0;j=k;c[e>>2]=a;c[f>>2]=b;c[h>>2]=d;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[h>>2]|0))break;d=hh(+g[(c[f>>2]|0)+(c[i>>2]<<2)>>2]*65536.0)|0;c[j+(c[i>>2]<<2)>>2]=d;c[i>>2]=(c[i>>2]|0)+1}qf(c[e>>2]|0,j,c[h>>2]|0);l=k;return}function hh(a){a=+a;var b=0,c=0;c=l;l=l+16|0;b=c;g[b>>2]=a;b=Ui(+g[b>>2])|0;l=c;return b|0}function ih(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+48|0;f=k+12|0;m=k+8|0;h=k+4|0;i=k;j=k+16|0;c[f>>2]=a;c[m>>2]=d;c[h>>2]=e;Lf(j,c[m>>2]|0,c[h>>2]|0);c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[h>>2]|0))break;g[(c[f>>2]|0)+(c[i>>2]<<2)>>2]=+(b[j+(c[i>>2]<<1)>>1]|0)*.000244140625;c[i>>2]=(c[i>>2]|0)+1}l=k;return}function jh(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;n=l;l=l+96|0;i=n+20|0;j=n+16|0;p=n+12|0;o=n+8|0;k=n+4|0;m=n;h=n+24|0;c[i>>2]=a;c[j>>2]=d;c[p>>2]=e;c[o>>2]=f;Ze(c[i>>2]|0,h,c[p>>2]|0,c[o>>2]|0);c[m>>2]=0;while(1){if((c[m>>2]|0)>=2)break;c[k>>2]=0;while(1){a=c[m>>2]|0;if((c[k>>2]|0)>=(c[(c[i>>2]|0)+4664>>2]|0))break;g[(c[j>>2]|0)+(c[m>>2]<<6)+(c[k>>2]<<2)>>2]=+(b[h+(a<<5)+(c[k>>2]<<1)>>1]|0)*.000244140625;c[k>>2]=(c[k>>2]|0)+1}c[m>>2]=a+1}l=n;return}function kh(d,e,f,h,i,j){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=l;l=l+1632|0;z=D+1388|0;A=D+1384|0;B=D+1380|0;C=D+1376|0;k=D+1372|0;m=D+1368|0;n=D+1364|0;o=D+1360|0;p=D+80|0;q=D+64|0;r=D+1560|0;s=D+1520|0;t=D+56|0;u=D+1392|0;v=D+40|0;w=D+32|0;x=D+16|0;y=D;c[z>>2]=d;c[A>>2]=e;c[B>>2]=f;c[C>>2]=h;c[k>>2]=i;c[m>>2]=j;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[(c[z>>2]|0)+4604>>2]|0))break;c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[(c[z>>2]|0)+4660>>2]|0))break;j=(hh(+g[(c[A>>2]|0)+500+((c[n>>2]<<4)+(c[o>>2]|0)<<2)>>2]*8192.0)|0)&65535;b[u+((c[n>>2]<<4)+(c[o>>2]|0)<<1)>>1]=j;c[o>>2]=(c[o>>2]|0)+1}c[n>>2]=(c[n>>2]|0)+1}c[n>>2]=0;while(1){d=c[A>>2]|0;if((c[n>>2]|0)>=(c[(c[z>>2]|0)+4604>>2]|0))break;j=(hh(+g[d+772+(c[n>>2]<<2)>>2]*16384.0)|0)<<16;j=j|(hh(+g[(c[A>>2]|0)+756+(c[n>>2]<<2)>>2]*16384.0)|0)&65535;c[v+(c[n>>2]<<2)>>2]=j;j=hh(+g[(c[A>>2]|0)+820+(c[n>>2]<<2)>>2]*16384.0)|0;c[x+(c[n>>2]<<2)>>2]=j;j=hh(+g[(c[A>>2]|0)+836+(c[n>>2]<<2)>>2]*16384.0)|0;c[y+(c[n>>2]<<2)>>2]=j;c[n>>2]=(c[n>>2]|0)+1}c[w>>2]=hh(+g[d+852>>2]*1024.0)|0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=((c[(c[z>>2]|0)+4604>>2]|0)*5|0))break;j=(hh(+g[(c[A>>2]|0)+144+(c[n>>2]<<2)>>2]*16384.0)|0)&65535;b[s+(c[n>>2]<<1)>>1]=j;c[n>>2]=(c[n>>2]|0)+1}c[o>>2]=0;while(1){j=(c[o>>2]|0)<2;c[n>>2]=0;if(!j)break;while(1){if((c[n>>2]|0)>=(c[(c[z>>2]|0)+4664>>2]|0))break;j=(hh(+g[(c[A>>2]|0)+16+(c[o>>2]<<6)+(c[n>>2]<<2)>>2]*4096.0)|0)&65535;b[r+(c[o>>2]<<5)+(c[n>>2]<<1)>>1]=j;c[n>>2]=(c[n>>2]|0)+1}c[o>>2]=(c[o>>2]|0)+1}while(1){if((c[n>>2]|0)>=(c[(c[z>>2]|0)+4604>>2]|0))break;o=hh(+g[(c[A>>2]|0)+(c[n>>2]<<2)>>2]*65536.0)|0;c[q+(c[n>>2]<<2)>>2]=o;c[n>>2]=(c[n>>2]|0)+1}if((a[(c[B>>2]|0)+29>>0]|0)==2)c[t>>2]=b[24566+(a[(c[B>>2]|0)+33>>0]<<1)>>1];else c[t>>2]=0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[(c[z>>2]|0)+4608>>2]|0))break;o=hh(+g[(c[m>>2]|0)+(c[n>>2]<<2)>>2]*8.0)|0;c[p+(c[n>>2]<<2)>>2]=o;c[n>>2]=(c[n>>2]|0)+1}if((c[(c[z>>2]|0)+4652>>2]|0)<=1?(c[(c[z>>2]|0)+4704>>2]|0)<=0:0){Xd(c[z>>2]|0,c[C>>2]|0,c[B>>2]|0,p,c[k>>2]|0,r,s,u,y,x,v,q,(c[A>>2]|0)+228|0,c[w>>2]|0,c[t>>2]|0);l=D;return}be(c[z>>2]|0,c[C>>2]|0,c[B>>2]|0,p,c[k>>2]|0,r,s,u,y,x,v,q,(c[A>>2]|0)+228|0,c[w>>2]|0,c[t>>2]|0);l=D;return}function lh(a,d,e,f,h,i,j,k,m){a=a|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=l;l=l+480|0;y=z+436|0;n=z+432|0;o=z+428|0;p=z+424|0;q=z+420|0;r=z+416|0;s=z+412|0;t=z+408|0;u=z+404|0;v=z+400|0;w=z+440|0;x=z;c[y>>2]=a;c[n>>2]=d;c[o>>2]=e;c[p>>2]=f;c[q>>2]=h;c[r>>2]=i;c[s>>2]=j;c[t>>2]=k;c[u>>2]=m;c[v>>2]=0;while(1){if((c[v>>2]|0)>=((c[t>>2]|0)*5|0))break;m=(hh(+g[(c[y>>2]|0)+(c[v>>2]<<2)>>2]*16384.0)|0)&65535;b[w+(c[v>>2]<<1)>>1]=m;c[v>>2]=(c[v>>2]|0)+1}c[v>>2]=0;while(1){if((c[v>>2]|0)>=(((c[t>>2]|0)*5|0)*5|0))break;m=hh(+g[(c[q>>2]|0)+(c[v>>2]<<2)>>2]*262144.0)|0;c[x+(c[v>>2]<<2)>>2]=m;c[v>>2]=(c[v>>2]|0)+1}Oe(w,c[n>>2]|0,c[o>>2]|0,c[p>>2]|0,x,c[r>>2]|0,c[s>>2]|0,c[t>>2]|0,c[u>>2]|0);c[v>>2]=0;while(1){if((c[v>>2]|0)>=((c[t>>2]|0)*5|0))break;g[(c[y>>2]|0)+(c[v>>2]<<2)>>2]=+(b[w+(c[v>>2]<<1)>>1]|0)*.00006103515625;c[v>>2]=(c[v>>2]|0)+1}l=z;return}function mh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0.0;m=l;l=l+32|0;f=m+16|0;h=m+12|0;i=m+8|0;j=m+4|0;k=m;c[f>>2]=a;c[h>>2]=b;c[i>>2]=d;c[j>>2]=e;if((c[j>>2]|0)>(c[i>>2]|0))c[j>>2]=c[i>>2];c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[j>>2]|0))break;n=+qh(c[h>>2]|0,(c[h>>2]|0)+(c[k>>2]<<2)|0,(c[i>>2]|0)-(c[k>>2]|0)|0);g[(c[f>>2]|0)+(c[k>>2]<<2)>>2]=n;c[k>>2]=(c[k>>2]|0)+1}l=m;return}function nh(a,b,d,e,f,i){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=l;l=l+784|0;G=L+768|0;H=L+764|0;I=L+760|0;J=L+756|0;j=L+752|0;k=L+748|0;m=L+744|0;n=L+740|0;o=L+736|0;p=L+732|0;q=L+720|0;r=L+712|0;s=L+704|0;t=L+696|0;u=L+688|0;v=L+680|0;w=L+672|0;x=L+664|0;y=L+656|0;z=L+728|0;A=L+528|0;C=L+400|0;D=L+264|0;E=L+128|0;F=L;c[G>>2]=a;c[H>>2]=b;g[I>>2]=d;c[J>>2]=e;c[j>>2]=f;c[k>>2]=i;h[q>>3]=+ph(c[H>>2]|0,N(c[j>>2]|0,c[J>>2]|0)|0);a=A;e=a+128|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(e|0));c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[j>>2]|0))break;c[z>>2]=(c[H>>2]|0)+((N(c[o>>2]|0,c[J>>2]|0)|0)<<2);c[n>>2]=1;while(1){if((c[n>>2]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|0)+1<<3)>>3]*+h[w>>3];h[x>>3]=+h[x>>3]+ +h[w>>3]*+h[w>>3];g[(c[G>>2]|0)+(c[m>>2]<<2)>>2]=-+h[w>>3];c[m>>2]=(c[m>>2]|0)+1}h[t>>3]=+h[t>>3]-+h[q>>3]*9.999999747378752e-06*+h[x>>3];d=+h[t>>3];l=L;return +d}c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[k>>2]|0))break;g[(c[G>>2]|0)+(c[m>>2]<<2)>>2]=-+h[F+(c[m>>2]<<3)>>3];c[m>>2]=(c[m>>2]|0)+1}c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[j>>2]|0))break;K=(c[H>>2]|0)+((N(c[o>>2]|0,c[J>>2]|0)|0)<<2)|0;d=+ph(K,c[k>>2]|0);h[q>>3]=+h[q>>3]-d;c[o>>2]=(c[o>>2]|0)+1}h[t>>3]=+h[q>>3]*+h[r>>3];d=+h[t>>3];l=L;return +d}function oh(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;e=k+16|0;f=k+12|0;h=k+8|0;i=k+4|0;j=k;c[e>>2]=a;c[f>>2]=b;g[h>>2]=d;g[j>>2]=+g[h>>2];c[i>>2]=0;while(1){d=+g[j>>2];a=c[e>>2]|0;if((c[i>>2]|0)>=((c[f>>2]|0)-1|0))break;b=a+(c[i>>2]<<2)|0;g[b>>2]=+g[b>>2]*d;g[j>>2]=+g[j>>2]*+g[h>>2];c[i>>2]=(c[i>>2]|0)+1}j=a+((c[f>>2]|0)-1<<2)|0;g[j>>2]=+g[j>>2]*d;l=k;return}function ph(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,i=0,j=0,k=0;k=l;l=l+32|0;d=k+20|0;e=k+16|0;f=k+12|0;i=k+8|0;j=k;c[d>>2]=a;c[e>>2]=b;h[j>>3]=0.0;c[i>>2]=c[e>>2]&65532;c[f>>2]=0;while(1){if((c[f>>2]|0)>=(c[i>>2]|0))break;h[j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]=(c[j>>2]|0)+4}while(1){if((c[j>>2]|0)>=(c[i>>2]|0))break;h[m>>3]=+h[m>>3]+ +g[(c[e>>2]|0)+(c[j>>2]<<2)>>2]*+g[(c[f>>2]|0)+(c[j>>2]<<2)>>2];c[j>>2]=(c[j>>2]|0)+1}l=n;return +(+h[m>>3])}function rh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+96|0;e=m+80|0;f=m+76|0;h=m+72|0;i=m+68|0;j=m+64|0;k=m;c[e>>2]=a;c[f>>2]=b;c[h>>2]=d;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[h>>2]|0))break;c[j>>2]=0;while(1){if((c[j>>2]|0)>=(c[i>>2]|0))break;g[k+(c[j>>2]<<2)>>2]=+g[(c[e>>2]|0)+(c[j>>2]<<2)>>2];c[j>>2]=(c[j>>2]|0)+1}c[j>>2]=0;while(1){if((c[j>>2]|0)>=(c[i>>2]|0))break;d=(c[e>>2]|0)+(c[j>>2]<<2)|0;g[d>>2]=+g[d>>2]+ +g[k+((c[i>>2]|0)-(c[j>>2]|0)-1<<2)>>2]*+g[(c[f>>2]|0)+(c[i>>2]<<2)>>2];c[j>>2]=(c[j>>2]|0)+1}g[(c[e>>2]|0)+(c[i>>2]<<2)>>2]=-+g[(c[f>>2]|0)+(c[i>>2]<<2)>>2];c[i>>2]=(c[i>>2]|0)+1}l=m;return}function sh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+48|0;k=s+44|0;m=s+40|0;n=s+36|0;o=s+32|0;p=s+28|0;q=s+24|0;r=s+20|0;e=s+16|0;f=s+12|0;h=s+8|0;i=s+4|0;j=s;c[k>>2]=a;c[m>>2]=b;c[n>>2]=d;g[r>>2]=+g[c[m>>2]>>2]*9.999999960041972e-13+9.999999717180685e-10;g[e>>2]=+g[c[m>>2]>>2];g[e>>2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){a=a|0;b=b|0;var d=0,e=0,f=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0;r=l;l=l+192|0;j=r+184|0;t=r+180|0;s=r+176|0;k=r+172|0;m=r+168|0;n=r+24|0;o=r+16|0;p=r+8|0;d=r;e=r+40|0;f=r+36|0;i=r+32|0;c[t>>2]=a;c[s>>2]=b;c[i>>2]=e+((c[s>>2]&1)<<6);_i(c[i>>2]|0,c[t>>2]|0,c[s>>2]<<2|0)|0;h[n>>3]=1.0;c[k>>2]=(c[s>>2]|0)-1;while(1){a=c[i>>2]|0;if((c[k>>2]|0)<=0)break;h[o>>3]=-+g[a+(c[k>>2]<<2)>>2];if(+h[o>>3]>.9998999834060669|+h[o>>3]<-.9998999834060669){q=4;break}h[p>>3]=1.0-+h[o>>3]*+h[o>>3];h[d>>3]=1.0/+h[p>>3];h[n>>3]=+h[n>>3]*+h[p>>3];c[f>>2]=c[i>>2];c[i>>2]=e+((c[k>>2]&1)<<6);c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[k>>2]|0))break;g[(c[i>>2]|0)+(c[m>>2]<<2)>>2]=(+g[(c[f>>2]|0)+(c[m>>2]<<2)>>2]-+g[(c[f>>2]|0)+((c[k>>2]|0)-(c[m>>2]|0)-1<<2)>>2]*+h[o>>3])*+h[d>>3];c[m>>2]=(c[m>>2]|0)+1}c[k>>2]=(c[k>>2]|0)+-1}if((q|0)==4){g[j>>2]=0.0;u=+g[j>>2];l=r;return +u}h[o>>3]=-+g[a>>2];if(+h[o>>3]>.9998999834060669|+h[o>>3]<-.9998999834060669){g[j>>2]=0.0;u=+g[j>>2];l=r;return +u}else{h[p>>3]=1.0-+h[o>>3]*+h[o>>3];h[n>>3]=+h[n>>3]*+h[p>>3];g[j>>2]=+h[n>>3];u=+g[j>>2];l=r;return +u}return 0.0}function uh(d,e,f,i,j,k,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;i=i|0;j=j|0;k=k|0;m=+m;n=+n;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0;La=l;l=l+13936|0;Ca=La+10416|0;da=La+10412|0;Da=La+10408|0;Ea=La+10404|0;Fa=La+10400|0;M=La+10396|0;O=La+10392|0;s=La+10388|0;P=La+10384|0;ya=La+10380|0;ea=La+10376|0;Ga=La+10372|0;fa=La+10368|0;Q=La+10364|0;Ha=La+10360|0;ga=La+10356|0;ha=La+10352|0;H=La+9072|0;t=La+8432|0;u=La+13288|0;v=La+12968|0;w=La+8408|0;I=La+8404|0;ia=La+8400|0;R=La+6016|0;x=La+5756|0;S=La+5712|0;ja=La+5708|0;T=La+5704|0;ka=La+24|0;y=La+16|0;la=La+8|0;ma=La;U=La+5608|0;V=La+12664|0;W=La+5600|0;X=La+5596|0;z=La+5592|0;na=La+5588|0;Y=La+5584|0;Z=La+5580|0;oa=La+5576|0;Ia=La+5572|0;_=La+5568|0;za=La+5564|0;pa=La+5560|0;qa=La+5556|0;Aa=La+5552|0;Ja=La+5548|0;$=La+5544|0;aa=La+5540|0;ba=La+5536|0;ra=La+2816|0;sa=La+96|0;ta=La+88|0;A=La+84|0;B=La+80|0;C=La+76|0;ua=La+72|0;ca=La+68|0;D=La+64|0;Ba=La+60|0;va=La+56|0;J=La+52|0;wa=La+48|0;K=La+44|0;E=La+40|0;xa=La+36|0;Ka=La+32|0;F=La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[_>>2]}c[Ha>>2]=(c[Ha>>2]|0)+1}if((c[za>>2]|0)==-1){Ka=c[Da>>2]|0;c[Ka>>2]=0;c[Ka+4>>2]=0;c[Ka+8>>2]=0;c[Ka+12>>2]=0;g[c[M>>2]>>2]=0.0;b[c[Ea>>2]>>1]=0;a[c[Fa>>2]>>0]=0;c[Ca>>2]=1;Ka=c[Ca>>2]|0;l=La;return Ka|0}g[c[M>>2]>>2]=+g[na>>2]/+(c[Ga>>2]|0);if((c[ya>>2]|0)>8){d=c[za>>2]|0;if((c[ya>>2]|0)==12)c[za>>2]=(((d&65535)<<16>>16)*3>>1)+(((c[za>>2]&65535)<<16>>16)*3&1);else c[za>>2]=d<<1;d=c[za>>2]|0;do if((c[Ba>>2]|0)>(c[wa>>2]|0))if((d|0)>(c[Ba>>2]|0)){d=c[Ba>>2]|0;break}else{d=(c[za>>2]|0)<(c[wa>>2]|0)?c[wa>>2]|0:c[za>>2]|0;break}else if((d|0)>(c[wa>>2]|0)){d=c[wa>>2]|0;break}else{d=(c[za>>2]|0)<(c[Ba>>2]|0)?c[Ba>>2]|0:c[za>>2]|0;break}while(0);c[za>>2]=d;c[pa>>2]=yh((c[za>>2]|0)-2|0,c[Ba>>2]|0)|0;c[qa>>2]=zh((c[za>>2]|0)+2|0,c[wa>>2]|0)|0;c[Aa>>2]=c[za>>2];c[Ia>>2]=0;g[na>>2]=-1.0e3;Ah(sa,c[da>>2]|0,c[pa>>2]|0,c[ua>>2]|0,c[Ga>>2]|0,c[ea>>2]|0,c[fa>>2]|0);Bh(ra,c[da>>2]|0,c[pa>>2]|0,c[ua>>2]|0,c[Ga>>2]|0,c[ea>>2]|0);c[ta>>2]=0;g[ia>>2]=.05000000074505806/+(c[za>>2]|0);if((c[Ga>>2]|0)==4){c[xa>>2]=a[30486+(c[ea>>2]|0)>>0];c[Ja>>2]=34;c[Ka>>2]=30326}else{c[xa>>2]=12;c[Ja>>2]=12;c[Ka>>2]=30254}c[ja>>2]=(c[da>>2]|0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|0}function vh(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;f=j+12|0;h=j+8|0;k=j+4|0;i=j;c[f>>2]=a;c[h>>2]=d;c[k>>2]=e;c[i>>2]=(c[k>>2]|0)-1;while(1){if((c[i>>2]|0)<0)break;if((Ui(+g[(c[h>>2]|0)+(c[i>>2]<<2)>>2])|0)<=32767)if((Ui(+g[(c[h>>2]|0)+(c[i>>2]<<2)>>2])|0)<-32768)a=-32768;else a=Ui(+g[(c[h>>2]|0)+(c[i>>2]<<2)>>2])|0;else a=32767;b[(c[f>>2]|0)+(c[i>>2]<<1)>>1]=a;c[i>>2]=(c[i>>2]|0)+-1}l=j;return}function wh(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;f=j+12|0;h=j+8|0;k=j+4|0;i=j;c[f>>2]=a;c[h>>2]=d;c[k>>2]=e;c[i>>2]=(c[k>>2]|0)-1;while(1){if((c[i>>2]|0)<0)break;g[(c[f>>2]|0)+(c[i>>2]<<2)>>2]=+(b[(c[h>>2]|0)+(c[i>>2]<<1)>>1]|0);c[i>>2]=(c[i>>2]|0)+-1}l=j;return}function xh(a){a=+a;var b=0,c=0;b=l;l=l+16|0;c=b;h[c>>3]=a;a=+Ti(+h[c>>3])*3.32192809488736;l=b;return +a}function yh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function zh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Ah(b,d,e,f,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+256|0;E=H+252|0;F=H+248|0;G=H+244|0;k=H+240|0;m=H+236|0;n=H+232|0;o=H+228|0;p=H+224|0;q=H+220|0;r=H+216|0;s=H+212|0;t=H+208|0;u=H+204|0;v=H+200|0;w=H+196|0;x=H+192|0;y=H+188|0;z=H+184|0;A=H+96|0;B=H+8|0;C=H+4|0;D=H;c[E>>2]=b;c[F>>2]=d;c[G>>2]=e;c[k>>2]=f;c[m>>2]=h;c[n>>2]=i;c[o>>2]=j;if((c[m>>2]|0)==4){c[C>>2]=30462+(c[n>>2]<<3);c[D>>2]=30326;c[w>>2]=a[30486+(c[n>>2]|0)>>0];c[z>>2]=34}else{c[C>>2]=30278;c[D>>2]=30254;c[w>>2]=12;c[z>>2]=12}c[p>>2]=(c[F>>2]|0)+(c[k>>2]<<2<<2);c[s>>2]=0;while(1){if((c[s>>2]|0)>=(c[m>>2]|0))break;c[t>>2]=0;c[u>>2]=a[(c[C>>2]|0)+((c[s>>2]<<1)+0)>>0];c[v>>2]=a[(c[C>>2]|0)+((c[s>>2]<<1)+1)>>0];vc(c[p>>2]|0,(c[p>>2]|0)+(0-(c[G>>2]|0)<<2)+(0-(c[v>>2]|0)<<2)|0,B,c[k>>2]|0,(c[v>>2]|0)-(c[u>>2]|0)+1|0,c[o>>2]|0);c[r>>2]=c[u>>2];while(1){if((c[r>>2]|0)>(c[v>>2]|0))break;g[A+(c[t>>2]<<2)>>2]=+g[B+((c[v>>2]|0)-(c[r>>2]|0)<<2)>>2];c[t>>2]=(c[t>>2]|0)+1;c[r>>2]=(c[r>>2]|0)+1}c[x>>2]=a[(c[C>>2]|0)+((c[s>>2]<<1)+0)>>0];c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[w>>2]|0))break;F=N(c[s>>2]|0,c[z>>2]|0)|0;c[y>>2]=(a[(c[D>>2]|0)+(F+(c[q>>2]|0))>>0]|0)-(c[x>>2]|0);c[r>>2]=0;while(1){if((c[r>>2]|0)>=5)break;g[(c[E>>2]|0)+((c[s>>2]|0)*680|0)+((c[q>>2]|0)*20|0)+(c[r>>2]<<2)>>2]=+g[A+((c[y>>2]|0)+(c[r>>2]|0)<<2)>>2];c[r>>2]=(c[r>>2]|0)+1}c[q>>2]=(c[q>>2]|0)+1}c[p>>2]=(c[p>>2]|0)+(c[k>>2]<<2);c[s>>2]=(c[s>>2]|0)+1}l=H;return}function Bh(b,d,e,f,i,j){b=b|0;d=d|0;e=e|0;f=f|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+176|0;C=G+168|0;D=G+164|0;E=G+160|0;F=G+156|0;k=G+152|0;m=G+148|0;n=G+144|0;o=G+140|0;p=G;q=G+136|0;r=G+132|0;s=G+128|0;t=G+124|0;u=G+120|0;v=G+116|0;w=G+112|0;x=G+108|0;y=G+104|0;z=G+16|0;A=G+12|0;B=G+8|0;c[C>>2]=b;c[D>>2]=d;c[E>>2]=e;c[F>>2]=f;c[k>>2]=i;c[m>>2]=j;if((c[k>>2]|0)==4){c[A>>2]=30462+(c[m>>2]<<3);c[B>>2]=30326;c[u>>2]=a[30486+(c[m>>2]|0)>>0];c[x>>2]=34}else{c[A>>2]=30278;c[B>>2]=30254;c[u>>2]=12;c[x>>2]=12}c[n>>2]=(c[D>>2]|0)+(c[F>>2]<<2<<2);c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[k>>2]|0))break;c[t>>2]=0;c[o>>2]=(c[n>>2]|0)+(0-((c[E>>2]|0)+(a[(c[A>>2]|0)+((c[q>>2]<<1)+0)>>0]|0))<<2);h[p>>3]=+ph(c[o>>2]|0,c[F>>2]|0)+.001;g[z+(c[t>>2]<<2)>>2]=+h[p>>3];c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*+g[f>>2];c[i>>2]=(c[i>>2]|0)+1}l=k;return}function Eh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.0;p=l;l=l+176|0;h=p+168|0;i=p+164|0;j=p+160|0;k=p+156|0;m=p+152|0;n=p+16|0;o=p+8|0;e=p+4|0;f=p;c[h>>2]=a;c[i>>2]=b;c[j>>2]=d;c[k>>2]=0;while(1){if((c[k>>2]|0)>=((c[j>>2]|0)+1|0))break;q=+g[(c[i>>2]|0)+(c[k>>2]<<2)>>2];g[n+(c[k>>2]<<3)+4>>2]=q;g[n+(c[k>>2]<<3)>>2]=q;c[k>>2]=(c[k>>2]|0)+1}c[k>>2]=0;while(1){if((c[k>>2]|0)>=(c[j>>2]|0))break;g[f>>2]=-+g[n+((c[k>>2]|0)+1<<3)>>2]/(+g[n+4>>2]>9.999999717180685e-10?+g[n+4>>2]:9.999999717180685e-10);g[(c[h>>2]|0)+(c[k>>2]<<2)>>2]=+g[f>>2];c[m>>2]=0;while(1){if((c[m>>2]|0)>=((c[j>>2]|0)-(c[k>>2]|0)|0))break;g[o>>2]=+g[n+((c[m>>2]|0)+(c[k>>2]|0)+1<<3)>>2];g[e>>2]=+g[n+(c[m>>2]<<3)+4>>2];g[n+((c[m>>2]|0)+(c[k>>2]|0)+1<<3)>>2]=+g[o>>2]+ +g[e>>2]*+g[f>>2];g[n+(c[m>>2]<<3)+4>>2]=+g[e>>2]+ +g[o>>2]*+g[f>>2];c[m>>2]=(c[m>>2]|0)+1}c[k>>2]=(c[k>>2]|0)+1}l=p;return +(+g[n+4>>2])}function Fh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;h=o+24|0;i=o+20|0;j=o+16|0;k=o+12|0;m=o+8|0;n=o+4|0;f=o;c[h>>2]=a;c[i>>2]=b;c[j>>2]=d;c[k>>2]=e;c[n>>2]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ma>>2]=Oa+((N(c[(c[La>>2]|0)+960+(c[c[Z>>2]>>2]<<2)>>2]&65535,(c[S>>2]&65535)<<16>>16)|0)>>16);Oa=(c[ma>>2]|0)+(N(c[(c[La>>2]|0)+1152>>2]>>16,c[S>>2]>>16)|0)|0;c[ma>>2]=Oa+((N(c[(c[La>>2]|0)+1152>>2]&65535,c[S>>2]>>16)|0)>>16);c[ma>>2]=c[ma>>2]<<2;c[Aa>>2]=(c[ka>>2]|0)+(c[ma>>2]|0);c[Ba>>2]=(c[la>>2]|0)+(c[ja>>2]|0);c[Aa>>2]=(c[Ba>>2]|0)-(c[Aa>>2]|0);c[Aa>>2]=(c[Aa>>2]>>3)+1>>1;c[na>>2]=(c[(c[G>>2]|0)+(c[ba>>2]<<2)>>2]|0)-(c[Aa>>2]|0);if((c[(c[La>>2]|0)+1156>>2]|0)<0)c[na>>2]=0-(c[na>>2]|0);if((c[na>>2]|0)>30720)d=30720;else d=(c[na>>2]|0)<-31744?-31744:c[na>>2]|0;c[na>>2]=d;c[ua>>2]=(c[na>>2]|0)-(c[U>>2]|0);c[ta>>2]=c[ua>>2]>>10;d=c[ta>>2]|0;do if((c[ta>>2]|0)<=0){if(!d){c[ua>>2]=c[U>>2];c[va>>2]=(c[ua>>2]|0)+944;c[pa>>2]=N((c[ua>>2]&65535)<<16>>16,(c[T>>2]&65535)<<16>>16)|0;c[qa>>2]=N((c[va>>2]&65535)<<16>>16,(c[T>>2]&65535)<<16>>16)|0;break}if((c[ta>>2]|0)==-1){c[va>>2]=c[U>>2];c[ua>>2]=(c[va>>2]|0)-944;c[pa>>2]=N((0-(c[ua>>2]|0)&65535)<<16>>16,(c[T>>2]&65535)<<16>>16)|0;c[qa>>2]=N((c[va>>2]&65535)<<16>>16,(c[T>>2]&65535)<<16>>16)|0;break}else{c[ua>>2]=(c[ta>>2]<<10)+80;c[ua>>2]=(c[ua>>2]|0)+(c[U>>2]|0);c[va>>2]=(c[ua>>2]|0)+1024;c[pa>>2]=N((0-(c[ua>>2]|0)&65535)<<16>>16,(c[T>>2]&65535)<<16>>16)|0;c[qa>>2]=N((0-(c[va>>2]|0)&65535)<<16>>16,(c[T>>2]&65535)<<16>>16)|0;break}}else{c[ua>>2]=(d<<10)-80;c[ua>>2]=(c[ua>>2]|0)+(c[U>>2]|0);c[va>>2]=(c[ua>>2]|0)+1024;c[pa>>2]=N((c[ua>>2]&65535)<<16>>16,(c[T>>2]&65535)<<16>>16)|0;c[qa>>2]=N((c[va>>2]&65535)<<16>>16,(c[T>>2]&65535)<<16>>16)|0}while(0);c[oa>>2]=(c[na>>2]|0)-(c[ua>>2]|0);c[pa>>2]=(c[pa>>2]|0)+(N((c[oa>>2]&65535)<<16>>16,(c[oa>>2]&65535)<<16>>16)|0)>>10;c[oa>>2]=(c[na>>2]|0)-(c[va>>2]|0);c[qa>>2]=(c[qa>>2]|0)+(N((c[oa>>2]&65535)<<16>>16,(c[oa>>2]&65535)<<16>>16)|0)>>10;d=c[(c[La>>2]|0)+1164>>2]|0;if((c[pa>>2]|0)<(c[qa>>2]|0)){c[(c[Ga>>2]|0)+4>>2]=d+(c[pa>>2]|0);c[(c[Ga>>2]|0)+24+4>>2]=(c[(c[La>>2]|0)+1164>>2]|0)+(c[qa>>2]|0);c[c[Ga>>2]>>2]=c[ua>>2];d=c[va>>2]|0;e=c[Ga>>2]|0}else{c[(c[Ga>>2]|0)+4>>2]=d+(c[qa>>2]|0);c[(c[Ga>>2]|0)+24+4>>2]=(c[(c[La>>2]|0)+1164>>2]|0)+(c[pa>>2]|0);c[c[Ga>>2]>>2]=c[va>>2];d=c[ua>>2]|0;e=c[Ga>>2]|0}c[e+24>>2]=d;c[wa>>2]=c[c[Ga>>2]>>2]<<4;if((c[(c[La>>2]|0)+1156>>2]|0)<0)c[wa>>2]=0-(c[wa>>2]|0);c[xa>>2]=(c[wa>>2]|0)+(c[ia>>2]|0);c[ya>>2]=(c[xa>>2]|0)+(c[ja>>2]|0);c[Ca>>2]=(c[ya>>2]|0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>2]<<2)>>2]&65535)<<16>>16)|0;Oa=Oa+((N(c[(c[La>>2]|0)+704+(c[ga>>2]<<2)>>2]&65535,(c[(c[K>>2]|0)+(c[ga>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;if(((Oa+(N(c[(c[La>>2]|0)+704+(c[ga>>2]<<2)>>2]|0,(c[(c[K>>2]|0)+(c[ga>>2]<<2)>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<=32767){Oa=N(c[(c[La>>2]|0)+704+(c[ga>>2]<<2)>>2]>>16,(c[(c[K>>2]|0)+(c[ga>>2]<<2)>>2]&65535)<<16>>16)|0;Oa=Oa+((N(c[(c[La>>2]|0)+704+(c[ga>>2]<<2)>>2]&65535,(c[(c[K>>2]|0)+(c[ga>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;if(((Oa+(N(c[(c[La>>2]|0)+704+(c[ga>>2]<<2)>>2]|0,(c[(c[K>>2]|0)+(c[ga>>2]<<2)>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)d=-32768;else{d=N(c[(c[La>>2]|0)+704+(c[ga>>2]<<2)>>2]>>16,(c[(c[K>>2]|0)+(c[ga>>2]<<2)>>2]&65535)<<16>>16)|0;d=d+((N(c[(c[La>>2]|0)+704+(c[ga>>2]<<2)>>2]&65535,(c[(c[K>>2]|0)+(c[ga>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;d=(d+(N(c[(c[La>>2]|0)+704+(c[ga>>2]<<2)>>2]|0,(c[(c[K>>2]|0)+(c[ga>>2]<<2)>>2]>>15)+1>>1)|0)>>7)+1>>1}}else d=32767;b[(c[I>>2]|0)+((c[ba>>2]|0)-(c[aa>>2]|0)<<1)>>1]=d;c[(c[E>>2]|0)+1280+((c[(c[E>>2]|0)+4364>>2]|0)-(c[aa>>2]|0)<<2)>>2]=c[(c[La>>2]|0)+960+(c[ga>>2]<<2)>>2];c[(c[J>>2]|0)+((c[(c[E>>2]|0)+4360>>2]|0)-(c[aa>>2]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2];d=d+4|0;e=e+4|0}while((d|0)<(o|0));c[Ka>>2]=(c[Ka>>2]|0)+1}_(c[Ma>>2]|0);l=Na;return}function fe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;h=l;l=l+48|0;f=h+32|0;n=h+28|0;d=h+24|0;i=h+20|0;g=h+16|0;j=h+12|0;m=h+8|0;k=h+4|0;e=h;c[n>>2]=a;c[d>>2]=b;a=c[n>>2]|0;c[i>>2]=(he((c[n>>2]|0)>0?a:0-a|0)|0)-1;c[m>>2]=c[n>>2]<>2];c[j>>2]=536870911/(c[m>>2]>>16|0)|0;c[e>>2]=c[j>>2]<<16;a=N(c[m>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=536870912-(a+((N(c[m>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))<<3;a=N(c[k>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;a=(c[e>>2]|0)+(a+((N(c[k>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[e>>2]=a+(N(c[k>>2]|0,(c[j>>2]>>15)+1>>1)|0);c[g>>2]=61-(c[i>>2]|0)-(c[d>>2]|0);a=c[g>>2]|0;if((c[g>>2]|0)>0)if((a|0)<32){c[f>>2]=c[e>>2]>>c[g>>2];n=c[f>>2]|0;l=h;return n|0}else{c[f>>2]=0;n=c[f>>2]|0;l=h;return n|0}b=c[e>>2]|0;d=0-(c[g>>2]|0)|0;do if((-2147483648>>0-a|0)>(2147483647>>0-(c[g>>2]|0)|0)){if((b|0)>(-2147483648>>d|0)){a=-2147483648>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[g>>2]|0)|0)){a=2147483647>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}else{if((b|0)>(2147483647>>d|0)){a=2147483647>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[g>>2]|0)|0)){a=-2147483648>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}while(0);c[f>>2]=a<<0-(c[g>>2]|0);n=c[f>>2]|0;l=h;return n|0}function ge(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+48|0;f=h+40|0;q=h+36|0;p=h+32|0;i=h+28|0;k=h+24|0;j=h+20|0;g=h+16|0;m=h+12|0;n=h+8|0;o=h+4|0;e=h;c[q>>2]=a;c[p>>2]=b;c[i>>2]=d;d=c[q>>2]|0;c[k>>2]=(he((c[q>>2]|0)>0?d:0-d|0)|0)-1;c[n>>2]=c[q>>2]<>2];d=c[p>>2]|0;c[j>>2]=(he((c[p>>2]|0)>0?d:0-d|0)|0)-1;c[o>>2]=c[p>>2]<>2];c[m>>2]=536870911/(c[o>>2]>>16|0)|0;d=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=d+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16);d=c[n>>2]|0;b=c[o>>2]|0;a=c[e>>2]|0;a=Xi(b|0,((b|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;a=Yi(a|0,y|0,32)|0;c[n>>2]=d-(a<<3);a=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(a+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));c[g>>2]=29+(c[k>>2]|0)-(c[j>>2]|0)-(c[i>>2]|0);a=c[g>>2]|0;if((c[g>>2]|0)>=0)if((a|0)<32){c[f>>2]=c[e>>2]>>c[g>>2];q=c[f>>2]|0;l=h;return q|0}else{c[f>>2]=0;q=c[f>>2]|0;l=h;return q|0}b=c[e>>2]|0;d=0-(c[g>>2]|0)|0;do if((-2147483648>>0-a|0)>(2147483647>>0-(c[g>>2]|0)|0)){if((b|0)>(-2147483648>>d|0)){a=-2147483648>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[g>>2]|0)|0)){a=2147483647>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}else{if((b|0)>(2147483647>>d|0)){a=2147483647>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[g>>2]|0)|0)){a=-2147483648>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}while(0);c[f>>2]=a<<0-(c[g>>2]|0);q=c[f>>2]|0;l=h;return q|0}function he(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function ie(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;c[(c[d>>2]|0)+4168>>2]=c[(c[d>>2]|0)+2328>>2]<<7;c[(c[d>>2]|0)+4168+72>>2]=65536;c[(c[d>>2]|0)+4168+72+4>>2]=65536;c[(c[d>>2]|0)+4168+88>>2]=20;c[(c[d>>2]|0)+4168+84>>2]=2;l=b;return}function je(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;h=m+16|0;g=m+12|0;i=m+8|0;j=m+4|0;k=m;c[h>>2]=a;c[g>>2]=b;c[i>>2]=d;c[j>>2]=e;c[k>>2]=f;if((c[(c[h>>2]|0)+2316>>2]|0)!=(c[(c[h>>2]|0)+4168+80>>2]|0)){ie(c[h>>2]|0);c[(c[h>>2]|0)+4168+80>>2]=c[(c[h>>2]|0)+2316>>2]}b=c[h>>2]|0;a=c[g>>2]|0;if(c[j>>2]|0){ke(b,a,c[i>>2]|0,c[k>>2]|0);k=(c[h>>2]|0)+4160|0;c[k>>2]=(c[k>>2]|0)+1;l=m;return}else{le(b,a);l=m;return}}function ke(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0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]|0)+4;b[C>>1]=b[(c[F>>2]|0)+56>>1]|0;c[p>>2]=b[24440+((oe(1,c[(c[I>>2]|0)+4160>>2]|0)|0)<<1)>>1];k=(c[(c[I>>2]|0)+4164>>2]|0)==2;a=oe(1,c[(c[I>>2]|0)+4160>>2]|0)|0;if(k)c[q>>2]=b[24444+(a<<1)>>1];else c[q>>2]=b[24448+(a<<1)>>1];yf((c[F>>2]|0)+14|0,c[(c[I>>2]|0)+2340>>2]|0,64881);_i(E|0,(c[F>>2]|0)+14|0,c[(c[I>>2]|0)+2340>>2]<<1|0)|0;do if(!(c[(c[I>>2]|0)+4160>>2]|0)){b[C>>1]=16384;if((c[(c[I>>2]|0)+4164>>2]|0)!=2){c[w>>2]=Hf((c[F>>2]|0)+14|0,c[(c[I>>2]|0)+2340>>2]|0)|0;c[x>>2]=qe(134217728,c[w>>2]|0)|0;c[x>>2]=re(4194304,c[x>>2]|0)|0;c[x>>2]=c[x>>2]<<3;w=N(c[x>>2]>>16,(c[q>>2]&65535)<<16>>16)|0;c[q>>2]=w+((N(c[x>>2]&65535,(c[q>>2]&65535)<<16>>16)|0)>>16)>>14;break}c[L>>2]=0;while(1){if((c[L>>2]|0)>=5)break;b[C>>1]=(b[C>>1]|0)-(b[(c[v>>2]|0)+(c[L>>2]<<1)>>1]|0);c[L>>2]=(c[L>>2]|0)+1}b[C>>1]=pe(3277,b[C>>1]|0)|0;b[C>>1]=(N(b[C>>1]|0,b[(c[F>>2]|0)+68>>1]|0)|0)>>14}while(0);c[A>>2]=c[(c[F>>2]|0)+52>>2];c[z>>2]=(c[c[F>>2]>>2]>>7)+1>>1;c[o>>2]=c[(c[I>>2]|0)+2336>>2];c[n>>2]=(c[(c[I>>2]|0)+2336>>2]|0)-(c[z>>2]|0)-(c[(c[I>>2]|0)+2340>>2]|0)-2;Gf(g+(c[n>>2]<<1)|0,(c[I>>2]|0)+1348+(c[n>>2]<<1)|0,E,(c[(c[I>>2]|0)+2336>>2]|0)-(c[n>>2]|0)|0,c[(c[I>>2]|0)+2340>>2]|0,c[y>>2]|0);c[r>>2]=se(c[(c[F>>2]|0)+72+4>>2]|0,46)|0;c[r>>2]=(c[r>>2]|0)<1073741823?c[r>>2]|0:1073741823;c[L>>2]=(c[n>>2]|0)+(c[(c[I>>2]|0)+2340>>2]|0);while(1){if((c[L>>2]|0)>=(c[(c[I>>2]|0)+2336>>2]|0))break;y=N(c[r>>2]>>16,b[g+(c[L>>2]<<1)>>1]|0)|0;y=y+((N(c[r>>2]&65535,b[g+(c[L>>2]<<1)>>1]|0)|0)>>16)|0;c[f+(c[L>>2]<<2)>>2]=y;c[L>>2]=(c[L>>2]|0)+1}c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[(c[I>>2]|0)+2324>>2]|0))break;c[t>>2]=f+((c[o>>2]|0)-(c[z>>2]|0)+2<<2);c[L>>2]=0;while(1){if((c[L>>2]|0)>=(c[(c[I>>2]|0)+2332>>2]|0))break;c[u>>2]=2;y=N(c[c[t>>2]>>2]>>16,b[c[v>>2]>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(y+((N(c[c[t>>2]>>2]&65535,b[c[v>>2]>>1]|0)|0)>>16));y=N(c[(c[t>>2]|0)+-4>>2]>>16,b[(c[v>>2]|0)+2>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(y+((N(c[(c[t>>2]|0)+-4>>2]&65535,b[(c[v>>2]|0)+2>>1]|0)|0)>>16));y=N(c[(c[t>>2]|0)+-8>>2]>>16,b[(c[v>>2]|0)+4>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(y+((N(c[(c[t>>2]|0)+-8>>2]&65535,b[(c[v>>2]|0)+4>>1]|0)|0)>>16));y=N(c[(c[t>>2]|0)+-12>>2]>>16,b[(c[v>>2]|0)+6>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(y+((N(c[(c[t>>2]|0)+-12>>2]&65535,b[(c[v>>2]|0)+6>>1]|0)|0)>>16));y=N(c[(c[t>>2]|0)+-16>>2]>>16,b[(c[v>>2]|0)+8>>1]|0)|0;c[u>>2]=(c[u>>2]|0)+(y+((N(c[(c[t>>2]|0)+-16>>2]&65535,b[(c[v>>2]|0)+8>>1]|0)|0)>>16));c[t>>2]=(c[t>>2]|0)+4;c[A>>2]=907633515+(N(c[A>>2]|0,196314165)|0);c[n>>2]=c[A>>2]>>25&127;y=N(c[(c[s>>2]|0)+(c[n>>2]<<2)>>2]>>16,b[C>>1]|0)|0;y=(c[u>>2]|0)+(y+((N(c[(c[s>>2]|0)+(c[n>>2]<<2)>>2]&65535,b[C>>1]|0)|0)>>16))<<2;c[f+(c[o>>2]<<2)>>2]=y;c[o>>2]=(c[o>>2]|0)+1;c[L>>2]=(c[L>>2]|0)+1}c[M>>2]=0;while(1){if((c[M>>2]|0)>=5)break;y=(N((c[p>>2]&65535)<<16>>16,b[(c[v>>2]|0)+(c[M>>2]<<1)>>1]|0)|0)>>15&65535;b[(c[v>>2]|0)+(c[M>>2]<<1)>>1]=y;c[M>>2]=(c[M>>2]|0)+1}b[C>>1]=(N(b[C>>1]|0,(c[q>>2]&65535)<<16>>16)|0)>>15;c[c[F>>2]>>2]=(c[c[F>>2]>>2]|0)+(((c[c[F>>2]>>2]>>16)*655|0)+((c[c[F>>2]>>2]&65535)*655>>16));y=qe(c[c[F>>2]>>2]|0,((c[(c[I>>2]|0)+2316>>2]&65535)<<16>>16)*18<<8)|0;c[c[F>>2]>>2]=y;c[z>>2]=(c[c[F>>2]>>2]>>7)+1>>1;c[m>>2]=(c[m>>2]|0)+1}c[D>>2]=f+((c[(c[I>>2]|0)+2336>>2]|0)-16<<2);d=c[D>>2]|0;a=(c[I>>2]|0)+1284|0;e=d+64|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));c[L>>2]=0;while(1){a=c[I>>2]|0;if((c[L>>2]|0)>=(c[(c[I>>2]|0)+2328>>2]|0))break;c[B>>2]=c[a+2340>>2]>>1;y=N(c[(c[D>>2]|0)+(16+(c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N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]>>16,(c[G+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]&65535,(c[G+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]|0,(c[G+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)a=-32768;else{a=N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]>>16,(c[G+4>>2]&65535)<<16>>16)|0;a=a+((N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]&65535,(c[G+4>>2]&65535)<<16>>16)|0)>>16)|0;a=(a+(N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]|0,(c[G+4>>2]>>15)+1>>1)|0)>>7)+1>>1}}else a=32767;if((a|0)<=32767){y=N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]>>16,(c[G+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]&65535,(c[G+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]|0,(c[G+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<=32767){y=N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]>>16,(c[G+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]&65535,(c[G+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]|0,(c[G+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)a=-32768;else{a=N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]>>16,(c[G+4>>2]&65535)<<16>>16)|0;a=a+((N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]&65535,(c[G+4>>2]&65535)<<16>>16)|0)>>16)|0;a=(a+(N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]|0,(c[G+4>>2]>>15)+1>>1)|0)>>7)+1>>1}}else a=32767;if((a|0)>=-32768){y=N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]>>16,(c[G+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]&65535,(c[G+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]|0,(c[G+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<=32767){y=N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]>>16,(c[G+4>>2]&65535)<<16>>16)|0;y=y+((N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]&65535,(c[G+4>>2]&65535)<<16>>16)|0)>>16)|0;if(((y+(N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]|0,(c[G+4>>2]>>15)+1>>1)|0)>>7)+1>>1|0)<-32768)a=-32768;else{a=N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]>>16,(c[G+4>>2]&65535)<<16>>16)|0;a=a+((N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]&65535,(c[G+4>>2]&65535)<<16>>16)|0)>>16)|0;a=(a+(N(c[(c[D>>2]|0)+(16+(c[L>>2]|0)<<2)>>2]|0,(c[G+4>>2]>>15)+1>>1)|0)>>7)+1>>1}}else a=32767}else a=-32768}else a=32767;b[(c[K>>2]|0)+(c[L>>2]<<1)>>1]=a;c[L>>2]=(c[L>>2]|0)+1}d=a+1284|0;a=(c[D>>2]|0)+(c[(c[I>>2]|0)+2328>>2]<<2)|0;e=d+64|0;do{c[d>>2]=c[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));c[(c[F>>2]|0)+52>>2]=c[A>>2];b[(c[F>>2]|0)+56>>1]=b[C>>1]|0;c[L>>2]=0;while(1){if((c[L>>2]|0)>=4)break;c[(c[J>>2]|0)+(c[L>>2]<<2)>>2]=c[z>>2];c[L>>2]=(c[L>>2]|0)+1}_(c[H>>2]|0);l=O;return}function le(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;i=r+40|0;j=r+36|0;k=r+32|0;m=r+28|0;n=r+24|0;o=r+20|0;p=r+16|0;q=r+12|0;f=r+8|0;g=r+4|0;h=r;c[i>>2]=d;c[j>>2]=e;c[p>>2]=(c[i>>2]|0)+4168;c[(c[i>>2]|0)+4164>>2]=a[(c[i>>2]|0)+2736+29>>0];c[k>>2]=0;a:do if((a[(c[i>>2]|0)+2736+29>>0]|0)==2){c[o>>2]=0;while(1){e=N(c[o>>2]|0,c[(c[i>>2]|0)+2332>>2]|0)|0;if((e|0)>=(c[(c[j>>2]|0)+((c[(c[i>>2]|0)+2324>>2]|0)-1<<2)>>2]|0))break;if((c[o>>2]|0)==(c[(c[i>>2]|0)+2324>>2]|0))break;c[m>>2]=0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=5)break;c[m>>2]=(c[m>>2]|0)+(b[(c[j>>2]|0)+96+((((c[(c[i>>2]|0)+2324>>2]|0)-1-(c[o>>2]|0)|0)*5|0)+(c[n>>2]|0)<<1)>>1]|0);c[n>>2]=(c[n>>2]|0)+1}if((c[m>>2]|0)>(c[k>>2]|0)){c[k>>2]=c[m>>2];e=(c[p>>2]|0)+4|0;d=(c[j>>2]|0)+96+((((c[(c[i>>2]|0)+2324>>2]|0)-1-(c[o>>2]|0)&65535)<<16>>16)*5<<1)|0;b[e>>1]=b[d>>1]|0;b[e+2>>1]=b[d+2>>1]|0;b[e+4>>1]=b[d+4>>1]|0;b[e+6>>1]=b[d+6>>1]|0;b[e+8>>1]=b[d+8>>1]|0;c[c[p>>2]>>2]=c[(c[j>>2]|0)+((c[(c[i>>2]|0)+2324>>2]|0)-1-(c[o>>2]|0)<<2)>>2]<<8}c[o>>2]=(c[o>>2]|0)+1}o=(c[p>>2]|0)+4|0;c[o>>2]=0;c[o+4>>2]=0;b[o+8>>1]=0;b[(c[p>>2]|0)+4+4>>1]=c[k>>2];if((c[k>>2]|0)<11469){c[f>>2]=11744256;c[q>>2]=(c[f>>2]|0)/(((c[k>>2]|0)>1?c[k>>2]|0:1)|0)|0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=5)break a;o=(N(b[(c[p>>2]|0)+4+(c[n>>2]<<1)>>1]|0,(c[q>>2]&65535)<<16>>16)|0)>>10&65535;b[(c[p>>2]|0)+4+(c[n>>2]<<1)>>1]=o;c[n>>2]=(c[n>>2]|0)+1}}if((c[k>>2]|0)>15565){c[h>>2]=255016960;c[g>>2]=(c[h>>2]|0)/(((c[k>>2]|0)>1?c[k>>2]|0:1)|0)|0;c[n>>2]=0;while(1){if((c[n>>2]|0)>=5)break a;q=(N(b[(c[p>>2]|0)+4+(c[n>>2]<<1)>>1]|0,(c[g>>2]&65535)<<16>>16)|0)>>14&65535;b[(c[p>>2]|0)+4+(c[n>>2]<<1)>>1]=q;c[n>>2]=(c[n>>2]|0)+1}}}else{c[c[p>>2]>>2]=((c[(c[i>>2]|0)+2316>>2]&65535)<<16>>16)*18<<8;q=(c[p>>2]|0)+4|0;c[q>>2]=0;c[q+4>>2]=0;b[q+8>>1]=0}while(0);_i((c[p>>2]|0)+14|0,(c[j>>2]|0)+32+32|0,c[(c[i>>2]|0)+2340>>2]<<1|0)|0;b[(c[p>>2]|0)+68>>1]=c[(c[j>>2]|0)+136>>2];q=(c[p>>2]|0)+72|0;o=(c[j>>2]|0)+16+((c[(c[i>>2]|0)+2324>>2]|0)-2<<2)|0;c[q>>2]=c[o>>2];c[q+4>>2]=c[o+4>>2];c[(c[p>>2]|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l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function oe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function pe(a,c){a=a|0;c=c|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+2|0;d=f;b[e>>1]=a;b[d>>1]=c;l=f;return ((b[e>>1]|0)>(b[d>>1]|0)?b[e>>1]|0:b[d>>1]|0)&65535|0}function qe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function re(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function se(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;h=l;l=l+48|0;f=h+32|0;n=h+28|0;d=h+24|0;i=h+20|0;g=h+16|0;j=h+12|0;m=h+8|0;k=h+4|0;e=h;c[n>>2]=a;c[d>>2]=b;a=c[n>>2]|0;c[i>>2]=(te((c[n>>2]|0)>0?a:0-a|0)|0)-1;c[m>>2]=c[n>>2]<>2];c[j>>2]=536870911/(c[m>>2]>>16|0)|0;c[e>>2]=c[j>>2]<<16;a=N(c[m>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=536870912-(a+((N(c[m>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))<<3;a=N(c[k>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;a=(c[e>>2]|0)+(a+((N(c[k>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[e>>2]=a+(N(c[k>>2]|0,(c[j>>2]>>15)+1>>1)|0);c[g>>2]=61-(c[i>>2]|0)-(c[d>>2]|0);a=c[g>>2]|0;if((c[g>>2]|0)>0)if((a|0)<32){c[f>>2]=c[e>>2]>>c[g>>2];n=c[f>>2]|0;l=h;return n|0}else{c[f>>2]=0;n=c[f>>2]|0;l=h;return n|0}b=c[e>>2]|0;d=0-(c[g>>2]|0)|0;do if((-2147483648>>0-a|0)>(2147483647>>0-(c[g>>2]|0)|0)){if((b|0)>(-2147483648>>d|0)){a=-2147483648>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[g>>2]|0)|0)){a=2147483647>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}else{if((b|0)>(2147483647>>d|0)){a=2147483647>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[g>>2]|0)|0)){a=-2147483648>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}while(0);c[f>>2]=a<<0-(c[g>>2]|0);n=c[f>>2]|0;l=h;return n|0}function te(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function ue(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+48|0;j=r+40|0;k=r+36|0;m=r+32|0;n=r+28|0;o=r+24|0;p=r+20|0;q=r+16|0;f=r+12|0;g=r+8|0;h=r+4|0;i=r;c[j>>2]=a;c[k>>2]=d;c[m>>2]=e;c[q>>2]=(c[j>>2]|0)+4168;if(c[(c[j>>2]|0)+4160>>2]|0){fg((c[q>>2]|0)+60|0,(c[q>>2]|0)+64|0,c[k>>2]|0,c[m>>2]|0);p=1;q=c[q>>2]|0;q=q+48|0;c[q>>2]=p;l=r;return}a:do if(c[(c[j>>2]|0)+4168+48>>2]|0){fg(p,o,c[k>>2]|0,c[m>>2]|0);if((c[o>>2]|0)<=(c[(c[q>>2]|0)+64>>2]|0)){if((c[o>>2]|0)<(c[(c[q>>2]|0)+64>>2]|0))c[p>>2]=c[p>>2]>>(c[(c[q>>2]|0)+64>>2]|0)-(c[o>>2]|0)}else c[(c[q>>2]|0)+60>>2]=c[(c[q>>2]|0)+60>>2]>>(c[o>>2]|0)-(c[(c[q>>2]|0)+64>>2]|0);if((c[p>>2]|0)>(c[(c[q>>2]|0)+60>>2]|0)){c[g>>2]=te(c[(c[q>>2]|0)+60>>2]|0)|0;c[g>>2]=(c[g>>2]|0)-1;c[(c[q>>2]|0)+60>>2]=c[(c[q>>2]|0)+60>>2]<>2];o=c[p>>2]|0;c[p>>2]=o>>(re(24-(c[g>>2]|0)|0,0)|0);c[f>>2]=(c[(c[q>>2]|0)+60>>2]|0)/(((c[p>>2]|0)>1?c[p>>2]|0:1)|0)|0;c[h>>2]=(ve(c[f>>2]|0)|0)<<4;c[i>>2]=(65536-(c[h>>2]|0)|0)/(c[m>>2]|0)|0;c[i>>2]=c[i>>2]<<2;c[n>>2]=0;while(1){if((c[n>>2]|0)>=(c[m>>2]|0))break a;p=N(c[h>>2]>>16,b[(c[k>>2]|0)+(c[n>>2]<<1)>>1]|0)|0;p=p+((N(c[h>>2]&65535,b[(c[k>>2]|0)+(c[n>>2]<<1)>>1]|0)|0)>>16)&65535;b[(c[k>>2]|0)+(c[n>>2]<<1)>>1]=p;c[h>>2]=(c[h>>2]|0)+(c[i>>2]|0);if((c[h>>2]|0)>65536)break a;c[n>>2]=(c[n>>2]|0)+1}}}while(0);p=0;q=c[q>>2]|0;q=q+48|0;c[q>>2]=p;l=r;return}function ve(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;b=h+16|0;d=h+12|0;e=h+8|0;f=h+4|0;g=h;c[d>>2]=a;if((c[d>>2]|0)<=0){c[b>>2]=0;g=c[b>>2]|0;l=h;return g|0}we(c[d>>2]|0,f,g);if(c[f>>2]&1|0)c[e>>2]=32768;else c[e>>2]=46214;c[e>>2]=c[e>>2]>>(c[f>>2]>>1);f=N(c[e>>2]>>16,(((c[g>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(f+((N(c[e>>2]&65535,(((c[g>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[b>>2]=c[e>>2];g=c[b>>2]|0;l=h;return g|0}function we(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=te(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];d=(xe(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=d;l=e;return}function xe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;e=j+20|0;d=j+16|0;f=j+12|0;g=j+8|0;h=j+4|0;i=j;c[d>>2]=a;c[f>>2]=b;c[g>>2]=c[d>>2];c[h>>2]=c[f>>2];c[i>>2]=0-(c[f>>2]|0);if(!(c[f>>2]|0)){c[e>>2]=c[d>>2];i=c[e>>2]|0;l=j;return i|0}a=c[g>>2]|0;if((c[f>>2]|0)<0){c[e>>2]=a<>2]|(c[g>>2]|0)>>>(32-(c[i>>2]|0)|0);i=c[e>>2]|0;l=j;return i|0}else{c[e>>2]=a<<32-(c[h>>2]|0)|(c[g>>2]|0)>>>(c[h>>2]|0);i=c[e>>2]|0;l=j;return i|0}return 0}function ye(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=l;l=l+80|0;g=d+68|0;f=d+64|0;e=d+32|0;h=d+16|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]|0);c[h>>2]=(c[h>>2]|0)+1}l=i;return}function Ae(a,b,e,f){a=a|0;b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;g=k+12|0;h=k+8|0;i=k+4|0;j=k;c[g>>2]=a;c[h>>2]=b;c[i>>2]=e;c[j>>2]=f;if((c[i>>2]|0)<=0){l=k;return}$b(c[g>>2]|0,c[h>>2]|0,(c[j>>2]|0)+(d[30163+(c[i>>2]|0)>>0]|0)|0,8);l=k;return}function Be(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;f=l;l=l+48|0;i=f+8|0;h=f+4|0;m=f;k=f+40|0;j=f+32|0;g=f+16|0;c[i>>2]=a;c[h>>2]=d;c[m>>2]=e;Ce(k,k+2|0,c[h>>2]|0,c[m>>2]|0,30011);Ce(j,j+2|0,c[h>>2]|0,b[k>>1]|0,29859);Ce(g,g+2|0,c[h>>2]|0,b[j>>1]|0,29707);Ce(c[i>>2]|0,(c[i>>2]|0)+2|0,c[h>>2]|0,b[g>>1]|0,29555);Ce((c[i>>2]|0)+4|0,(c[i>>2]|0)+6|0,c[h>>2]|0,b[g+2>>1]|0,29555);Ce(g+4|0,g+6|0,c[h>>2]|0,b[j+2>>1]|0,29707);Ce((c[i>>2]|0)+8|0,(c[i>>2]|0)+10|0,c[h>>2]|0,b[g+4>>1]|0,29555);Ce((c[i>>2]|0)+12|0,(c[i>>2]|0)+14|0,c[h>>2]|0,b[g+6>>1]|0,29555);Ce(j+4|0,j+6|0,c[h>>2]|0,b[k+2>>1]|0,29859);Ce(g+8|0,g+10|0,c[h>>2]|0,b[j+4>>1]|0,29707);Ce((c[i>>2]|0)+16|0,(c[i>>2]|0)+18|0,c[h>>2]|0,b[g+8>>1]|0,29555);Ce((c[i>>2]|0)+20|0,(c[i>>2]|0)+22|0,c[h>>2]|0,b[g+10>>1]|0,29555);Ce(g+12|0,g+14|0,c[h>>2]|0,b[j+6>>1]|0,29707);Ce((c[i>>2]|0)+24|0,(c[i>>2]|0)+26|0,c[h>>2]|0,b[g+12>>1]|0,29555);Ce((c[i>>2]|0)+28|0,(c[i>>2]|0)+30|0,c[h>>2]|0,b[g+14>>1]|0,29555);l=f;return}function Ce(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;i=o+16|0;j=o+12|0;k=o+8|0;m=o+4|0;n=o;c[i>>2]=a;c[j>>2]=e;c[k>>2]=f;c[m>>2]=g;c[n>>2]=h;if((c[m>>2]|0)>0){n=(Pb(c[k>>2]|0,(c[n>>2]|0)+(d[30163+(c[m>>2]|0)>>0]|0)|0,8)|0)&65535;b[c[i>>2]>>1]=n;m=(c[m>>2]|0)-(b[c[i>>2]>>1]|0)&65535;n=c[j>>2]|0;b[n>>1]=m;l=o;return}else{b[c[i>>2]>>1]=0;m=0;n=c[j>>2]|0;b[n>>1]=m;l=o;return}}function De(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=l;l=l+16|0;d=g+8|0;e=g+4|0;f=g;c[d>>2]=a;c[f>>2]=0;a=c[d>>2]|0;b=a+112|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));c[e>>2]=0;while(1){if((c[e>>2]|0)>=4)break;b=Ee(50/((c[e>>2]|0)+1|0)|0,1)|0;c[(c[d>>2]|0)+92+(c[e>>2]<<2)>>2]=b;c[e>>2]=(c[e>>2]|0)+1}c[e>>2]=0;while(1){a=c[d>>2]|0;if((c[e>>2]|0)>=4)break;c[(c[d>>2]|0)+60+(c[e>>2]<<2)>>2]=(c[a+92+(c[e>>2]<<2)>>2]|0)*100;c[(c[d>>2]|0)+76+(c[e>>2]<<2)>>2]=2147483647/(c[(c[d>>2]|0)+60+(c[e>>2]<<2)>>2]|0)|0;c[e>>2]=(c[e>>2]|0)+1}c[a+108>>2]=15;c[e>>2]=0;while(1){if((c[e>>2]|0)>=4)break;c[(c[d>>2]|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,c[D>>2]|0);b[f+((c[n>>2]|0)-1<<1)>>1]=b[f+((c[n>>2]|0)-1<<1)>>1]>>1;b[e>>1]=b[f+((c[n>>2]|0)-1<<1)>>1]|0;c[i>>2]=(c[n>>2]|0)-1;while(1){if((c[i>>2]|0)<=0)break;b[f+((c[i>>2]|0)-1<<1)>>1]=b[f+((c[i>>2]|0)-1<<1)>>1]>>1;F=f+(c[i>>2]<<1)|0;b[F>>1]=(b[F>>1]|0)-(b[f+((c[i>>2]|0)-1<<1)>>1]|0);c[i>>2]=(c[i>>2]|0)+-1}b[f>>1]=(b[f>>1]|0)-(b[(c[z>>2]|0)+56>>1]|0);b[(c[z>>2]|0)+56>>1]=b[e>>1]|0;c[t>>2]=0;while(1){if((c[t>>2]|0)>=4)break;F=c[(c[v>>2]|0)+4608>>2]|0;c[n>>2]=F>>(Ge(4-(c[t>>2]|0)|0,3)|0);c[g>>2]=c[n>>2]>>2;c[h>>2]=0;c[p+(c[t>>2]<<2)>>2]=c[(c[z>>2]|0)+24+(c[t>>2]<<2)>>2];c[j>>2]=0;while(1){if((c[j>>2]|0)>=4)break;c[o>>2]=0;c[i>>2]=0;while(1){if((c[i>>2]|0)>=(c[g>>2]|0))break;c[k>>2]=b[f+((c[m+(c[t>>2]<<2)>>2]|0)+(c[i>>2]|0)+(c[h>>2]|0)<<1)>>1]>>3;c[o>>2]=(c[o>>2]|0)+(N((c[k>>2]&65535)<<16>>16,(c[k>>2]&65535)<<16>>16)|0);c[i>>2]=(c[i>>2]|0)+1}a=c[p+(c[t>>2]<<2)>>2]|0;d=c[o>>2]|0;if((c[j>>2]|0)<3){if(a+d&-2147483648|0)a=2147483647;else a=(c[p+(c[t>>2]<<2)>>2]|0)+(c[o>>2]|0)|0;d=c[t>>2]|0}else{if(a+(d>>1)&-2147483648|0)a=2147483647;else a=(c[p+(c[t>>2]<<2)>>2]|0)+(c[o>>2]>>1)|0;d=c[t>>2]|0}c[p+(d<<2)>>2]=a;c[h>>2]=(c[h>>2]|0)+(c[g>>2]|0);c[j>>2]=(c[j>>2]|0)+1}c[(c[z>>2]|0)+24+(c[t>>2]<<2)>>2]=c[o>>2];c[t>>2]=(c[t>>2]|0)+1}He(p,c[z>>2]|0);c[o>>2]=0;c[r>>2]=0;c[t>>2]=0;while(1){if((c[t>>2]|0)>=4)break;c[x>>2]=(c[p+(c[t>>2]<<2)>>2]|0)-(c[(c[z>>2]|0)+60+(c[t>>2]<<2)>>2]|0);a=c[t>>2]|0;if((c[x>>2]|0)>0){d=c[p+(c[t>>2]<<2)>>2]|0;if(!(c[p+(a<<2)>>2]&-8388608)){a=(d<<8|0)/((c[(c[z>>2]|0)+60+(c[t>>2]<<2)>>2]|0)+1|0)|0;d=c[t>>2]|0}else{a=(d|0)/((c[(c[z>>2]|0)+60+(c[t>>2]<<2)>>2]>>8)+1|0)|0;d=c[t>>2]|0}c[w+(d<<2)>>2]=a;c[s>>2]=(Bf(c[w+(c[t>>2]<<2)>>2]|0)|0)-1024;c[o>>2]=(c[o>>2]|0)+(N((c[s>>2]&65535)<<16>>16,(c[s>>2]&65535)<<16>>16)|0);if((c[x>>2]|0)<1048576){E=(Ie(c[x>>2]|0)|0)<<6>>16;E=N(E,(c[s>>2]&65535)<<16>>16)|0;F=(Ie(c[x>>2]|0)|0)<<6&65535;c[s>>2]=E+((N(F,(c[s>>2]&65535)<<16>>16)|0)>>16)}F=N(c[17944+(c[t>>2]<<2)>>2]>>16,(c[s>>2]&65535)<<16>>16)|0;c[r>>2]=(c[r>>2]|0)+(F+((N(c[17944+(c[t>>2]<<2)>>2]&65535,(c[s>>2]&65535)<<16>>16)|0)>>16))}else c[w+(a<<2)>>2]=256;c[t>>2]=(c[t>>2]|0)+1}c[o>>2]=(c[o>>2]|0)/4|0;c[q>>2]=((Ie(c[o>>2]|0)|0)*3&65535)<<16>>16;c[B>>2]=cg(0+(((c[q>>2]&65535)<<16>>16)*45e3>>16)-128|0)|0;F=(cg(c[r>>2]|0)|0)-16384<<1;c[(c[v>>2]|0)+4744>>2]=F;c[x>>2]=0;c[t>>2]=0;while(1){if((c[t>>2]|0)>=4)break;F=N((c[t>>2]|0)+1|0,(c[p+(c[t>>2]<<2)>>2]|0)-(c[(c[z>>2]|0)+60+(c[t>>2]<<2)>>2]|0)>>4)|0;c[x>>2]=(c[x>>2]|0)+F;c[t>>2]=(c[t>>2]|0)+1}if((c[x>>2]|0)>0){if((c[x>>2]|0)<32768){a=c[x>>2]|0;if((c[(c[v>>2]|0)+4608>>2]|0)==((c[(c[v>>2]|0)+4600>>2]|0)*10|0)){if((a|0)>32767)a=32767;else a=(c[x>>2]|0)<-32768?-32768:c[x>>2]|0;c[x>>2]=a<<16}else{if((a|0)>65535)a=65535;else a=(c[x>>2]|0)<-65536?-65536:c[x>>2]|0;c[x>>2]=a<<15}c[x>>2]=Ie(c[x>>2]|0)|0;F=N(32768+(c[x>>2]|0)>>16,(c[B>>2]&65535)<<16>>16)|0;c[B>>2]=F+((N(32768+(c[x>>2]|0)&65535,(c[B>>2]&65535)<<16>>16)|0)>>16)}}else c[B>>2]=c[B>>2]>>1;F=Ge(c[B>>2]>>7,255)|0;c[(c[v>>2]|0)+4556>>2]=F;F=N(c[B>>2]>>16,(c[B>>2]&65535)<<16>>16)|0;c[u>>2]=0+((F+((N(c[B>>2]&65535,(c[B>>2]&65535)<<16>>16)|0)>>16)&65535)<<16>>16<<12>>16);if((c[(c[v>>2]|0)+4608>>2]|0)==((c[(c[v>>2]|0)+4600>>2]|0)*10|0))c[u>>2]=c[u>>2]>>1;c[t>>2]=0;while(1){if((c[t>>2]|0)>=4)break;F=N((c[w+(c[t>>2]<<2)>>2]|0)-(c[(c[z>>2]|0)+40+(c[t>>2]<<2)>>2]|0)>>16,(c[u>>2]&65535)<<16>>16)|0;F=(c[(c[z>>2]|0)+40+(c[t>>2]<<2)>>2]|0)+(F+((N((c[w+(c[t>>2]<<2)>>2]|0)-(c[(c[z>>2]|0)+40+(c[t>>2]<<2)>>2]|0)&65535,(c[u>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[z>>2]|0)+40+(c[t>>2]<<2)>>2]=F;c[s>>2]=((Bf(c[(c[z>>2]|0)+40+(c[t>>2]<<2)>>2]|0)|0)-1024|0)*3;F=cg((c[s>>2]|0)-2048>>4)|0;c[(c[v>>2]|0)+4728+(c[t>>2]<<2)>>2]=F;c[t>>2]=(c[t>>2]|0)+1}F=c[y>>2]|0;_(c[A>>2]|0);l=C;return F|0}function Ge(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function He(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;d=m+28|0;e=m+24|0;f=m+20|0;g=m+16|0;h=m+12|0;i=m+8|0;j=m+4|0;k=m;c[d>>2]=a;c[e>>2]=b;if((c[(c[e>>2]|0)+108>>2]|0)<1e3)c[k>>2]=32767/((c[(c[e>>2]|0)+108>>2]>>4)+1|0)|0;else c[k>>2]=0;c[f>>2]=0;while(1){a=c[e>>2]|0;if((c[f>>2]|0)>=4)break;c[g>>2]=c[a+60+(c[f>>2]<<2)>>2];if((c[(c[d>>2]|0)+(c[f>>2]<<2)>>2]|0)+(c[(c[e>>2]|0)+92+(c[f>>2]<<2)>>2]|0)&-2147483648|0)a=2147483647;else a=(c[(c[d>>2]|0)+(c[f>>2]<<2)>>2]|0)+(c[(c[e>>2]|0)+92+(c[f>>2]<<2)>>2]|0)|0;c[h>>2]=a;c[i>>2]=2147483647/(c[h>>2]|0)|0;do if((c[h>>2]|0)<=(c[g>>2]<<3|0))if((c[h>>2]|0)<(c[g>>2]|0)){c[j>>2]=1024;break}else{a=N(c[i>>2]>>16,(c[g>>2]&65535)<<16>>16)|0;a=a+((N(c[i>>2]&65535,(c[g>>2]&65535)<<16>>16)|0)>>16)|0;a=a+(N(c[i>>2]|0,(c[g>>2]>>15)+1>>1)|0)>>16<<11;b=N(c[i>>2]>>16,(c[g>>2]&65535)<<16>>16)|0;b=b+((N(c[i>>2]&65535,(c[g>>2]&65535)<<16>>16)|0)>>16)|0;c[j>>2]=a+((b+(N(c[i>>2]|0,(c[g>>2]>>15)+1>>1)|0)&65535)<<11>>16);break}else c[j>>2]=128;while(0);c[j>>2]=Me(c[j>>2]|0,c[k>>2]|0)|0;b=N((c[i>>2]|0)-(c[(c[e>>2]|0)+76+(c[f>>2]<<2)>>2]|0)>>16,(c[j>>2]&65535)<<16>>16)|0;b=(c[(c[e>>2]|0)+76+(c[f>>2]<<2)>>2]|0)+(b+((N((c[i>>2]|0)-(c[(c[e>>2]|0)+76+(c[f>>2]<<2)>>2]|0)&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[e>>2]|0)+76+(c[f>>2]<<2)>>2]=b;c[g>>2]=2147483647/(c[(c[e>>2]|0)+76+(c[f>>2]<<2)>>2]|0)|0;c[g>>2]=(c[g>>2]|0)<16777215?c[g>>2]|0:16777215;c[(c[e>>2]|0)+60+(c[f>>2]<<2)>>2]=c[g>>2];c[f>>2]=(c[f>>2]|0)+1}k=a+108|0;c[k>>2]=(c[k>>2]|0)+1;l=m;return}function Ie(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+32|0;b=h+16|0;d=h+12|0;e=h+8|0;f=h+4|0;g=h;c[d>>2]=a;if((c[d>>2]|0)<=0){c[b>>2]=0;g=c[b>>2]|0;l=h;return g|0}Je(c[d>>2]|0,f,g);if(c[f>>2]&1|0)c[e>>2]=32768;else c[e>>2]=46214;c[e>>2]=c[e>>2]>>(c[f>>2]>>1);f=N(c[e>>2]>>16,(((c[g>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(f+((N(c[e>>2]&65535,(((c[g>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[b>>2]=c[e>>2];g=c[b>>2]|0;l=h;return g|0}function Je(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=Ke(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];d=(Le(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=d;l=e;return}function Ke(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Le(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;e=j+20|0;d=j+16|0;f=j+12|0;g=j+8|0;h=j+4|0;i=j;c[d>>2]=a;c[f>>2]=b;c[g>>2]=c[d>>2];c[h>>2]=c[f>>2];c[i>>2]=0-(c[f>>2]|0);if(!(c[f>>2]|0)){c[e>>2]=c[d>>2];i=c[e>>2]|0;l=j;return i|0}a=c[g>>2]|0;if((c[f>>2]|0)<0){c[e>>2]=a<>2]|(c[g>>2]|0)>>>(32-(c[i>>2]|0)|0);i=c[e>>2]|0;l=j;return i|0}else{c[e>>2]=a<<32-(c[h>>2]|0)|(c[g>>2]|0)>>>(c[h>>2]|0);i=c[e>>2]|0;l=j;return i|0}return 0}function Me(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function Ne(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;f=h+12|0;e=h+8|0;g=h+4|0;d=h;c[f>>2]=a;c[e>>2]=b;c[g>>2]=c[(c[f>>2]|0)+4600>>2];c[d>>2]=((c[g>>2]&65535)<<16>>16)*1e3;if(!(c[d>>2]|0)){e=c[f>>2]|0;c[d>>2]=c[((c[(c[f>>2]|0)+4596>>2]|0)<(c[(c[f>>2]|0)+4580>>2]|0)?e+4596|0:e+4580|0)>>2];c[g>>2]=(c[d>>2]|0)/1e3|0;g=c[g>>2]|0;l=h;return g|0}if(((c[d>>2]|0)<=(c[(c[f>>2]|0)+4580>>2]|0)?(c[d>>2]|0)<=(c[(c[f>>2]|0)+4588>>2]|0):0)?(c[d>>2]|0)>=(c[(c[f>>2]|0)+4592>>2]|0):0){if((c[(c[f>>2]|0)+16+8>>2]|0)>=256)c[(c[f>>2]|0)+16+12>>2]=0;if((c[(c[f>>2]|0)+4560>>2]|0)==0?(c[(c[e>>2]|0)+60>>2]|0)==0:0){g=c[g>>2]|0;l=h;return g|0}a=c[f>>2]|0;if((((c[(c[f>>2]|0)+4600>>2]&65535)<<16>>16)*1e3|0)>(c[(c[f>>2]|0)+4596>>2]|0)){if(!(c[a+16+12>>2]|0)){c[(c[f>>2]|0)+16+8>>2]=256;d=(c[f>>2]|0)+16|0;c[d>>2]=0;c[d+4>>2]=0}a=(c[f>>2]|0)+16|0;if(c[(c[e>>2]|0)+60>>2]|0){c[a+12>>2]=0;c[g>>2]=(c[(c[f>>2]|0)+4600>>2]|0)==16?12:8;g=c[g>>2]|0;l=h;return g|0}if((c[a+8>>2]|0)<=0){c[(c[e>>2]|0)+84>>2]=1;f=(c[e>>2]|0)+52|0;c[f>>2]=(c[f>>2]|0)-(((c[(c[e>>2]|0)+52>>2]|0)*5|0)/((c[(c[e>>2]|0)+24>>2]|0)+5|0)|0);g=c[g>>2]|0;l=h;return g|0}else{c[(c[f>>2]|0)+16+12>>2]=-2;g=c[g>>2]|0;l=h;return g|0}}if((((c[a+4600>>2]&65535)<<16>>16)*1e3|0)>=(c[(c[f>>2]|0)+4596>>2]|0)){if((c[(c[f>>2]|0)+16+12>>2]|0)>=0){g=c[g>>2]|0;l=h;return g|0}c[(c[f>>2]|0)+16+12>>2]=1;g=c[g>>2]|0;l=h;return g|0}a=c[f>>2]|0;if(c[(c[e>>2]|0)+60>>2]|0){c[g>>2]=(c[a+4600>>2]|0)==8?12:16;c[(c[f>>2]|0)+16+8>>2]=0;e=(c[f>>2]|0)+16|0;c[e>>2]=0;c[e+4>>2]=0;c[(c[f>>2]|0)+16+12>>2]=1;g=c[g>>2]|0;l=h;return g|0}if(!(c[a+16+12>>2]|0)){c[(c[e>>2]|0)+84>>2]=1;f=(c[e>>2]|0)+52|0;c[f>>2]=(c[f>>2]|0)-(((c[(c[e>>2]|0)+52>>2]|0)*5|0)/((c[(c[e>>2]|0)+24>>2]|0)+5|0)|0);g=c[g>>2]|0;l=h;return g|0}else{c[(c[f>>2]|0)+16+12>>2]=1;g=c[g>>2]|0;l=h;return g|0}}c[d>>2]=c[(c[f>>2]|0)+4580>>2];if((c[d>>2]|0)<(c[(c[f>>2]|0)+4588>>2]|0))a=c[d>>2]|0;else a=c[(c[f>>2]|0)+4588>>2]|0;c[d>>2]=a;if((c[d>>2]|0)>(c[(c[f>>2]|0)+4592>>2]|0))a=c[d>>2]|0;else a=c[(c[f>>2]|0)+4592>>2]|0;c[d>>2]=a;c[g>>2]=(c[d>>2]|0)/1e3|0;g=c[g>>2]|0;l=h;return g|0}function Oe(d,e,f,g,h,i,j,k,m){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;M=l;l=l+112|0;L=M+96|0;n=M+92|0;o=M+88|0;p=M+84|0;q=M+80|0;r=M+76|0;s=M+72|0;t=M+68|0;u=M+60|0;v=M+56|0;w=M+52|0;x=M+100|0;y=M+48|0;z=M+44|0;A=M+40|0;B=M+36|0;C=M+32|0;D=M+28|0;E=M+24|0;F=M+20|0;G=M+16|0;H=M+12|0;I=M+8|0;J=M+4|0;K=M;c[L>>2]=d;c[n>>2]=e;c[o>>2]=f;c[p>>2]=g;c[q>>2]=h;c[r>>2]=i;c[s>>2]=j;c[t>>2]=k;c[M+64>>2]=m;c[F>>2]=2147483647;c[H>>2]=0;c[v>>2]=0;while(1){if((c[v>>2]|0)>=3)break;c[K>>2]=51;c[y>>2]=c[17632+(c[v>>2]<<2)>>2];c[z>>2]=c[17644+(c[v>>2]<<2)>>2];c[A>>2]=c[17656+(c[v>>2]<<2)>>2];c[w>>2]=a[27259+(c[v>>2]|0)>>0];c[C>>2]=c[q>>2];c[B>>2]=c[L>>2];c[E>>2]=0;c[G>>2]=c[c[p>>2]>>2];c[u>>2]=0;while(1){if((c[u>>2]|0)>=(c[t>>2]|0))break;m=Ff(5333-(c[G>>2]|0)+896|0)|0;c[I>>2]=m-(c[K>>2]|0);Pe(x+(c[u>>2]|0)|0,D,J,c[B>>2]|0,c[C>>2]|0,c[z>>2]|0,c[A>>2]|0,c[y>>2]|0,c[r>>2]|0,c[I>>2]|0,c[w>>2]|0);if((c[E>>2]|0)+(c[D>>2]|0)&-2147483648|0)d=2147483647;else d=(c[E>>2]|0)+(c[D>>2]|0)|0;c[E>>2]=d;m=c[G>>2]|0;if(0>(m+(Bf((c[K>>2]|0)+(c[J>>2]|0)|0)|0)-896|0))d=0;else{d=c[G>>2]|0;d=d+(Bf((c[K>>2]|0)+(c[J>>2]|0)|0)|0)-896|0}c[G>>2]=d;c[B>>2]=(c[B>>2]|0)+10;c[C>>2]=(c[C>>2]|0)+100;c[u>>2]=(c[u>>2]|0)+1}c[E>>2]=2147483646<(c[E>>2]|0)?2147483646:c[E>>2]|0;if((c[E>>2]|0)<(c[F>>2]|0)){c[F>>2]=c[E>>2];a[c[o>>2]>>0]=c[v>>2];_i(c[n>>2]|0,x|0,c[t>>2]|0)|0;c[H>>2]=c[G>>2]}if(c[s>>2]|0?(c[E>>2]|0)<(b[12226]|0):0)break;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D+6>>1]|0)|0)>>16));H=N(c[F>>2]>>16,b[D+6>>1]|0)|0;c[E>>2]=(c[E>>2]|0)+(H+((N(c[F>>2]&65535,b[D+6>>1]|0)|0)>>16));H=N(c[(c[u>>2]|0)+96>>2]>>16,b[D+8>>1]|0)|0;c[F>>2]=H+((N(c[(c[u>>2]|0)+96>>2]&65535,b[D+8>>1]|0)|0)>>16);H=N(c[F>>2]>>16,b[D+8>>1]|0)|0;c[E>>2]=(c[E>>2]|0)+(H+((N(c[F>>2]&65535,b[D+8>>1]|0)|0)>>16));if((c[E>>2]|0)<(c[c[r>>2]>>2]|0)){c[c[r>>2]>>2]=c[E>>2];a[c[q>>2]>>0]=c[A>>2];c[c[s>>2]>>2]=c[B>>2]}c[C>>2]=(c[C>>2]|0)+5;c[A>>2]=(c[A>>2]|0)+1}l=G;return}function Qe(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=l;l=l+32|0;j=i+20|0;d=i+16|0;e=i+12|0;f=i+8|0;g=i+4|0;h=i;c[j>>2]=b;c[h>>2]=c[j>>2];if((a[(c[h>>2]|0)+4565>>0]|0)!=2){l=i;return}c[e>>2]=((c[(c[h>>2]|0)+4600>>2]|0)*1e3<<16|0)/(c[(c[h>>2]|0)+4568>>2]|0)|0;c[f>>2]=(Bf(c[e>>2]|0)|0)-2048;c[d>>2]=c[(c[h>>2]|0)+4728>>2];k=c[f>>2]|0;e=N(0-(c[d>>2]|0)<<2>>16,(c[d>>2]&65535)<<16>>16)|0;e=e+((N(0-(c[d>>2]|0)<<2&65535,(c[d>>2]&65535)<<16>>16)|0)>>16)>>16;b=c[f>>2]|0;b=N(e,(b-((Bf(3932160)|0)-2048)&65535)<<16>>16)|0;e=N(0-(c[d>>2]|0)<<2>>16,(c[d>>2]&65535)<<16>>16)|0;e=e+((N(0-(c[d>>2]|0)<<2&65535,(c[d>>2]&65535)<<16>>16)|0)>>16)&65535;j=c[f>>2]|0;c[f>>2]=k+(b+((N(e,(j-((Bf(3932160)|0)-2048)&65535)<<16>>16)|0)>>16));c[g>>2]=(c[f>>2]|0)-(c[(c[h>>2]|0)+8>>2]>>8);if((c[g>>2]|0)<0)c[g>>2]=(c[g>>2]|0)*3;if((c[g>>2]|0)>51)b=51;else b=(c[g>>2]|0)<-51?-51:c[g>>2]|0;c[g>>2]=b;k=((N((c[(c[h>>2]|0)+4556>>2]&65535)<<16>>16,(c[g>>2]&65535)<<16>>16)|0)>>16)*6554|0;k=(c[(c[h>>2]|0)+8>>2]|0)+(k+(((N((c[(c[h>>2]|0)+4556>>2]&65535)<<16>>16,(c[g>>2]&65535)<<16>>16)|0)&65535)*6554>>16))|0;c[(c[h>>2]|0)+8>>2]=k;k=(Bf(60)|0)<<8;k=(k|0)>((Bf(100)|0)<<8|0);b=c[(c[h>>2]|0)+8>>2]|0;do if(k){if((b|0)>((Bf(60)|0)<<8|0)){b=(Bf(60)|0)<<8;break}k=c[(c[h>>2]|0)+8>>2]|0;if((k|0)<((Bf(100)|0)<<8|0)){b=(Bf(100)|0)<<8;break}else{b=c[(c[h>>2]|0)+8>>2]|0;break}}else{if((b|0)>((Bf(100)|0)<<8|0)){b=(Bf(100)|0)<<8;break}k=c[(c[h>>2]|0)+8>>2]|0;if((k|0)<((Bf(60)|0)<<8|0)){b=(Bf(60)|0)<<8;break}else{b=c[(c[h>>2]|0)+8>>2]|0;break}}while(0);c[(c[h>>2]|0)+8>>2]=b;l=i;return}function Re(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;L=l;l=l+288|0;I=L+64|0;J=L+60|0;K=L+56|0;n=L+52|0;o=L+48|0;p=L+44|0;q=L+40|0;r=L+36|0;s=L+32|0;t=L+28|0;u=L+24|0;v=L+20|0;w=L+16|0;x=L+12|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=h;return g|0}Te(c[d>>2]|0,f,g);if(c[f>>2]&1|0)c[e>>2]=32768;else c[e>>2]=46214;c[e>>2]=c[e>>2]>>(c[f>>2]>>1);f=N(c[e>>2]>>16,(((c[g>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(f+((N(c[e>>2]&65535,(((c[g>>2]&65535)<<16>>16)*213&65535)<<16>>16)|0)>>16));c[b>>2]=c[e>>2];g=c[b>>2]|0;l=h;return g|0}function Te(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=Ue(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];d=(Ve(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=d;l=e;return}function Ue(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Ve(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;e=j+20|0;d=j+16|0;f=j+12|0;g=j+8|0;h=j+4|0;i=j;c[d>>2]=a;c[f>>2]=b;c[g>>2]=c[d>>2];c[h>>2]=c[f>>2];c[i>>2]=0-(c[f>>2]|0);if(!(c[f>>2]|0)){c[e>>2]=c[d>>2];i=c[e>>2]|0;l=j;return i|0}a=c[g>>2]|0;if((c[f>>2]|0)<0){c[e>>2]=a<>2]|(c[g>>2]|0)>>>(32-(c[i>>2]|0)|0);i=c[e>>2]|0;l=j;return i|0}else{c[e>>2]=a<<32-(c[h>>2]|0)|(c[g>>2]|0)>>>(c[h>>2]|0);i=c[e>>2]|0;l=j;return i|0}return 0}function We(a,e,f,g,h){a=a|0;e=e|0;f=f|0;g=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[r>>2]=g;c[s>>2]=h;c[t>>2]=i;c[u>>2]=j;c[p>>2]=k;b[v>>1]=m;c[w>>2]=n;b[X>>1]=o;c[x>>2]=-10;while(1){if((c[x>>2]|0)>9)break;c[F>>2]=c[x>>2]<<10;c[G>>2]=(c[F>>2]|0)+1024;do if((c[x>>2]|0)<=0){if(!(c[x>>2]|0)){c[G>>2]=(c[G>>2]|0)-102;break}o=(c[x>>2]|0)==-1;c[F>>2]=(c[F>>2]|0)+102;if(!o)c[G>>2]=(c[G>>2]|0)+102}else{c[F>>2]=(c[F>>2]|0)-102;c[G>>2]=(c[G>>2]|0)-102}while(0);o=N(c[F>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;o=o+((N(c[F>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16)|0;c[U+((c[x>>2]|0)+10<<2)>>2]=o;o=N(c[G>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;o=o+((N(c[G>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16)|0;c[V+((c[x>>2]|0)+10<<2)>>2]=o;c[x>>2]=(c[x>>2]|0)+1}c[y>>2]=1;c[Q>>2]=0;b[P>>1]=0;c[x>>2]=(b[X>>1]|0)-1;a:while(1){c[T>>2]=(c[u>>2]|0)+(b[(c[t>>2]|0)+(c[x>>2]<<1)>>1]|0);c[M>>2]=d[(c[s>>2]|0)+(c[x>>2]|0)>>0]<<8;c[B>>2]=b[(c[q>>2]|0)+(c[x>>2]<<1)>>1];c[Y>>2]=0;while(1){if((c[Y>>2]|0)>=(c[y>>2]|0))break;o=N(c[M>>2]>>16,b[P+(c[Y>>2]<<1)>>1]|0)|0;c[D>>2]=o+((N(c[M>>2]&65535,b[P+(c[Y>>2]<<1)>>1]|0)|0)>>16);c[C>>2]=(c[B>>2]|0)-(c[D>>2]|0);o=N(b[v>>1]>>16,(c[C>>2]&65535)<<16>>16)|0;c[Z>>2]=o+((N(b[v>>1]&65535,(c[C>>2]&65535)<<16>>16)|0)>>16);if((c[Z>>2]|0)>9)e=9;else e=(c[Z>>2]|0)<-10?-10:c[Z>>2]|0;c[Z>>2]=e;a[$+(c[Y>>2]<<4)+(c[x>>2]|0)>>0]=c[Z>>2];c[F>>2]=c[U+((c[Z>>2]|0)+10<<2)>>2];c[G>>2]=c[V+((c[Z>>2]|0)+10<<2)>>2];c[F>>2]=(c[F>>2]|0)+(c[D>>2]|0);c[G>>2]=(c[G>>2]|0)+(c[D>>2]|0);b[P+(c[Y>>2]<<1)>>1]=c[F>>2];b[P+((c[Y>>2]|0)+(c[y>>2]|0)<<1)>>1]=c[G>>2];e=c[Z>>2]|0;do if(((c[Z>>2]|0)+1|0)>=4)if((e+1|0)==4){c[H>>2]=d[(c[T>>2]|0)+((c[Z>>2]|0)+4)>>0];c[I>>2]=280;break}else{c[H>>2]=108+(((c[Z>>2]&65535)<<16>>16)*43|0);c[I>>2]=(c[H>>2]|0)+43;break}else{if((e|0)>-4){c[H>>2]=d[(c[T>>2]|0)+((c[Z>>2]|0)+4)>>0];c[I>>2]=d[(c[T>>2]|0)+((c[Z>>2]|0)+1+4)>>0];break}if((c[Z>>2]|0)==-4){c[H>>2]=280;c[I>>2]=d[(c[T>>2]|0)+((c[Z>>2]|0)+1+4)>>0];break}else{c[H>>2]=108+(N(-43,(c[Z>>2]&65535)<<16>>16)|0);c[I>>2]=(c[H>>2]|0)-43;break}}while(0);c[J>>2]=c[Q+(c[Y>>2]<<2)>>2];c[E>>2]=(c[B>>2]|0)-(c[F>>2]|0);o=N((c[E>>2]&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;o=(c[J>>2]|0)+(N(o,b[(c[r>>2]|0)+(c[x>>2]<<1)>>1]|0)|0)|0;o=o+(N((c[w>>2]&65535)<<16>>16,(c[H>>2]&65535)<<16>>16)|0)|0;c[Q+(c[Y>>2]<<2)>>2]=o;c[E>>2]=(c[B>>2]|0)-(c[G>>2]|0);o=N((c[E>>2]&65535)<<16>>16,(c[E>>2]&65535)<<16>>16)|0;o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=c[Z>>2]|0;if((c[Y>>2]|0)>=(b[X>>1]|0))break;a[(c[W>>2]|0)+(c[Y>>2]|0)>>0]=a[$+((e&3)<<4)+(c[Y>>2]|0)>>0]|0;c[Y>>2]=(c[Y>>2]|0)+1}$=c[W>>2]|0;a[$>>0]=(a[$>>0]|0)+(e>>2);l=aa;return c[_>>2]|0}function Ze(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+128|0;n=t+28|0;o=t+24|0;p=t+20|0;q=t+16|0;r=t+12|0;s=t+8|0;h=t+4|0;i=t;j=t+96|0;k=t+64|0;m=t+32|0;c[n>>2]=d;c[o>>2]=e;c[p>>2]=f;c[q>>2]=g;g=N(-5,(c[(c[n>>2]|0)+4556>>2]&65535)<<16>>16)|0;c[h>>2]=3146+(g+(((c[(c[n>>2]|0)+4556>>2]&65535)<<16>>16)*59246>>16));if((c[(c[n>>2]|0)+4604>>2]|0)==2)c[h>>2]=(c[h>>2]|0)+(c[h>>2]>>1);Qf(k,c[p>>2]|0,c[(c[n>>2]|0)+4664>>2]|0);if((c[(c[n>>2]|0)+4656>>2]|0)==1)d=(a[(c[n>>2]|0)+4768+31>>0]|0)<4;else d=0;c[s>>2]=d&1;a:do if(c[s>>2]|0){Od(j,c[q>>2]|0,c[p>>2]|0,a[(c[n>>2]|0)+4768+31>>0]|0,c[(c[n>>2]|0)+4664>>2]|0);Qf(m,j,c[(c[n>>2]|0)+4664>>2]|0);c[i>>2]=(N(a[(c[n>>2]|0)+4768+31>>0]<<16>>16,a[(c[n>>2]|0)+4768+31>>0]<<16>>16)|0)<<11;c[r>>2]=0;while(1){if((c[r>>2]|0)>=(c[(c[n>>2]|0)+4664>>2]|0))break a;g=N(b[m+(c[r>>2]<<1)>>1]>>16,(c[i>>2]&65535)<<16>>16)|0;g=(b[k+(c[r>>2]<<1)>>1]>>1)+(g+((N(b[m+(c[r>>2]<<1)>>1]&65535,(c[i>>2]&65535)<<16>>16)|0)>>16))&65535;b[k+(c[r>>2]<<1)>>1]=g;c[r>>2]=(c[r>>2]|0)+1}}while(0);Re((c[n>>2]|0)+4768+8|0,c[p>>2]|0,c[(c[n>>2]|0)+4724>>2]|0,k,c[h>>2]|0,c[(c[n>>2]|0)+4692>>2]|0,a[(c[n>>2]|0)+4768+29>>0]|0)|0;Lf((c[o>>2]|0)+32|0,c[p>>2]|0,c[(c[n>>2]|0)+4664>>2]|0);if(c[s>>2]|0){Od(j,c[q>>2]|0,c[p>>2]|0,a[(c[n>>2]|0)+4768+31>>0]|0,c[(c[n>>2]|0)+4664>>2]|0);Lf(c[o>>2]|0,j,c[(c[n>>2]|0)+4664>>2]|0);l=t;return}else{_i(c[o>>2]|0,(c[o>>2]|0)+32|0,c[(c[n>>2]|0)+4664>>2]<<1|0)|0;l=t;return}}function _e(d,e,f,g,h,i,j,k,m,n,o){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;W=l;l=l+144|0;J=W+128|0;p=W+124|0;K=W+120|0;w=W+116|0;x=W+112|0;y=W+108|0;z=W+104|0;r=W+100|0;A=W+96|0;F=W+92|0;L=W+88|0;M=W+84|0;s=W+80|0;B=W+76|0;G=W+72|0;H=W+68|0;O=W+64|0;q=W+60|0;C=W+56|0;P=W+48|0;Q=W+44|0;R=W+40|0;t=W+36|0;u=W+32|0;D=W+28|0;v=W+24|0;E=W+20|0;S=W+16|0;T=W+12|0;I=W+8|0;U=W+4|0;V=W;c[J>>2]=d;c[p>>2]=e;c[K>>2]=f;c[w>>2]=g;c[x>>2]=h;c[y>>2]=i;c[z>>2]=j;c[r>>2]=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<<16>>16)*900|0);c[v>>2]=(c[D>>2]|0)*3;u=$e(c[z>>2]|0,851968+(c[v>>2]|0)|0,19)|0;c[c[y>>2]>>2]=u;if((c[c[y>>2]>>2]|0)<(c[E>>2]|0)){c[c[y>>2]>>2]=c[E>>2];c[(c[y>>2]|0)+4>>2]=(c[z>>2]|0)-(c[c[y>>2]>>2]|0);u=N(65536+(c[v>>2]|0)>>16,(c[E>>2]&65535)<<16>>16)|0;c[S>>2]=$e((c[(c[y>>2]|0)+4>>2]<<1)-(c[E>>2]|0)|0,u+((N(65536+(c[v>>2]|0)&65535,(c[E>>2]&65535)<<16>>16)|0)>>16)|0,16)|0;if((c[S>>2]|0)>16384)d=16384;else d=(c[S>>2]|0)<0?0:c[S>>2]|0;c[S>>2]=d}else{c[(c[y>>2]|0)+4>>2]=(c[z>>2]|0)-(c[c[y>>2]>>2]|0);c[S>>2]=16384}v=N((c[S>>2]|0)-(b[(c[J>>2]|0)+28>>1]|0)>>16,(c[C>>2]&65535)<<16>>16)|0;C=(b[(c[J>>2]|0)+28>>1]|0)+(v+((N((c[S>>2]|0)-(b[(c[J>>2]|0)+28>>1]|0)&65535,(c[C>>2]&65535)<<16>>16)|0)>>16))&65535;b[(c[J>>2]|0)+28>>1]=C;a[c[x>>2]>>0]=0;a:do if(!(c[A>>2]|0)){do if(!(b[(c[J>>2]|0)+30>>1]|0)){if((c[z>>2]<<3|0)>=((c[E>>2]|0)*13|0)?(C=N(c[D>>2]>>16,b[(c[J>>2]|0)+28>>1]|0)|0,(C+((N(c[D>>2]&65535,b[(c[J>>2]|0)+28>>1]|0)|0)>>16)|0)>=819):0)break;c[P>>2]=(N(b[(c[J>>2]|0)+28>>1]|0,(c[P>>2]&65535)<<16>>16)|0)>>14;c[P+4>>2]=(N(b[(c[J>>2]|0)+28>>1]|0,(c[P+4>>2]&65535)<<16>>16)|0)>>14;rg(P,c[w>>2]|0);c[S>>2]=0;c[P>>2]=0;c[P+4>>2]=0;c[c[y>>2]>>2]=c[z>>2];c[(c[y>>2]|0)+4>>2]=0;a[c[x>>2]>>0]=1;break a}while(0);do if(b[(c[J>>2]|0)+30>>1]|0){if((c[z>>2]<<3|0)>=((c[E>>2]|0)*11|0)?(E=N(c[D>>2]>>16,b[(c[J>>2]|0)+28>>1]|0)|0,(E+((N(c[D>>2]&65535,b[(c[J>>2]|0)+28>>1]|0)|0)>>16)|0)>=328):0)break;c[P>>2]=(N(b[(c[J>>2]|0)+28>>1]|0,(c[P>>2]&65535)<<16>>16)|0)>>14;c[P+4>>2]=(N(b[(c[J>>2]|0)+28>>1]|0,(c[P+4>>2]&65535)<<16>>16)|0)>>14;rg(P,c[w>>2]|0);c[S>>2]=0;c[P>>2]=0;c[P+4>>2]=0;break a}while(0);if((b[(c[J>>2]|0)+28>>1]|0)>15565){rg(P,c[w>>2]|0);c[S>>2]=16384;break}else{c[P>>2]=(N(b[(c[J>>2]|0)+28>>1]|0,(c[P>>2]&65535)<<16>>16)|0)>>14;c[P+4>>2]=(N(b[(c[J>>2]|0)+28>>1]|0,(c[P+4>>2]&65535)<<16>>16)|0)>>14;rg(P,c[w>>2]|0);c[S>>2]=b[(c[J>>2]|0)+28>>1];break}}else{c[S>>2]=0;c[P>>2]=0;c[P+4>>2]=0;rg(P,c[w>>2]|0)}while(0);do if((a[c[x>>2]>>0]|0)==1){E=(c[J>>2]|0)+32|0;b[E>>1]=(b[E>>1]|0)+((c[L>>2]|0)-(c[F>>2]<<3));if((b[(c[J>>2]|0)+32>>1]|0)<((c[F>>2]|0)*5|0)){a[c[x>>2]>>0]=0;break}else{b[(c[J>>2]|0)+32>>1]=1e4;break}}else b[(c[J>>2]|0)+32>>1]=0;while(0);if((a[c[x>>2]>>0]|0)==0?(c[(c[y>>2]|0)+4>>2]|0)<1:0){c[(c[y>>2]|0)+4>>2]=1;E=af(1,(c[z>>2]|0)-(c[(c[y>>2]|0)+4>>2]|0)|0)|0;c[c[y>>2]>>2]=E}c[Q>>2]=0-(b[c[J>>2]>>1]|0);c[R>>2]=0-(b[(c[J>>2]|0)+2>>1]|0);c[T>>2]=b[(c[J>>2]|0)+30>>1]<<10;c[B>>2]=65536/(c[F>>2]<<3|0)|0;c[G>>2]=0-(((N(((c[P>>2]|0)-(b[c[J>>2]>>1]|0)&65535)<<16>>16,(c[B>>2]&65535)<<16>>16)|0)>>15)+1>>1);c[H>>2]=0-(((N(((c[P+4>>2]|0)-(b[(c[J>>2]|0)+2>>1]|0)&65535)<<16>>16,(c[B>>2]&65535)<<16>>16)|0)>>15)+1>>1);E=N((c[S>>2]|0)-(b[(c[J>>2]|0)+30>>1]|0)>>16,(c[B>>2]&65535)<<16>>16)|0;c[I>>2]=E+((N((c[S>>2]|0)-(b[(c[J>>2]|0)+30>>1]|0)&65535,(c[B>>2]&65535)<<16>>16)|0)>>16)<<10;c[M>>2]=0;while(1){if((c[M>>2]|0)>=(c[F>>2]<<3|0))break;c[Q>>2]=(c[Q>>2]|0)+(c[G>>2]|0);c[R>>2]=(c[R>>2]|0)+(c[H>>2]|0);c[T>>2]=(c[T>>2]|0)+(c[I>>2]|0);c[O>>2]=(b[(c[U>>2]|0)+(c[M>>2]<<1)>>1]|0)+(b[(c[U>>2]|0)+((c[M>>2]|0)+2<<1)>>1]|0)+(b[(c[U>>2]|0)+((c[M>>2]|0)+1<<1)>>1]<<1)<<9;D=N(c[T>>2]>>16,b[g+((c[M>>2]|0)+1<<1)>>1]|0)|0;D=D+((N(c[T>>2]&65535,b[g+((c[M>>2]|0)+1<<1)>>1]|0)|0)>>16)|0;E=N(c[O>>2]>>16,(c[Q>>2]&65535)<<16>>16)|0;c[O>>2]=D+(E+((N(c[O>>2]&65535,(c[Q>>2]&65535)<<16>>16)|0)>>16));E=N(b[(c[U>>2]|0)+((c[M>>2]|0)+1<<1)>>1]<<11>>16,(c[R>>2]&65535)<<16>>16)|0;c[O>>2]=(c[O>>2]|0)+(E+((N(b[(c[U>>2]|0)+((c[M>>2]|0)+1<<1)>>1]<<11&65535,(c[R>>2]&65535)<<16>>16)|0)>>16));if(((c[O>>2]>>7)+1>>1|0)<=32767)if(((c[O>>2]>>7)+1>>1|0)<-32768)d=-32768;else d=(c[O>>2]>>7)+1>>1;else d=32767;b[(c[K>>2]|0)+((c[M>>2]|0)-1<<1)>>1]=d;c[M>>2]=(c[M>>2]|0)+1}c[Q>>2]=0-(c[P>>2]|0);c[R>>2]=0-(c[P+4>>2]|0);c[T>>2]=c[S>>2]<<10;c[M>>2]=c[F>>2]<<3;while(1){if((c[M>>2]|0)>=(c[L>>2]|0))break;c[O>>2]=(b[(c[U>>2]|0)+(c[M>>2]<<1)>>1]|0)+(b[(c[U>>2]|0)+((c[M>>2]|0)+2<<1)>>1]|0)+(b[(c[U>>2]|0)+((c[M>>2]|0)+1<<1)>>1]<<1)<<9;H=N(c[T>>2]>>16,b[g+((c[M>>2]|0)+1<<1)>>1]|0)|0;H=H+((N(c[T>>2]&65535,b[g+((c[M>>2]|0)+1<<1)>>1]|0)|0)>>16)|0;I=N(c[O>>2]>>16,(c[Q>>2]&65535)<<16>>16)|0;c[O>>2]=H+(I+((N(c[O>>2]&65535,(c[Q>>2]&65535)<<16>>16)|0)>>16));I=N(b[(c[U>>2]|0)+((c[M>>2]|0)+1<<1)>>1]<<11>>16,(c[R>>2]&65535)<<16>>16)|0;c[O>>2]=(c[O>>2]|0)+(I+((N(b[(c[U>>2]|0)+((c[M>>2]|0)+1<<1)>>1]<<11&65535,(c[R>>2]&65535)<<16>>16)|0)>>16));if(((c[O>>2]>>7)+1>>1|0)<=32767)if(((c[O>>2]>>7)+1>>1|0)<-32768)d=-32768;else d=(c[O>>2]>>7)+1>>1;else d=32767;b[(c[K>>2]|0)+((c[M>>2]|0)-1<<1)>>1]=d;c[M>>2]=(c[M>>2]|0)+1}b[c[J>>2]>>1]=c[P>>2];b[(c[J>>2]|0)+2>>1]=c[P+4>>2];b[(c[J>>2]|0)+30>>1]=c[S>>2];_(c[V>>2]|0);l=W;return}function $e(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+48|0;f=h+40|0;q=h+36|0;p=h+32|0;i=h+28|0;k=h+24|0;j=h+20|0;g=h+16|0;m=h+12|0;n=h+8|0;o=h+4|0;e=h;c[q>>2]=a;c[p>>2]=b;c[i>>2]=d;d=c[q>>2]|0;c[k>>2]=(bf((c[q>>2]|0)>0?d:0-d|0)|0)-1;c[n>>2]=c[q>>2]<>2];d=c[p>>2]|0;c[j>>2]=(bf((c[p>>2]|0)>0?d:0-d|0)|0)-1;c[o>>2]=c[p>>2]<>2];c[m>>2]=536870911/(c[o>>2]>>16|0)|0;d=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=d+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16);d=c[n>>2]|0;b=c[o>>2]|0;a=c[e>>2]|0;a=Xi(b|0,((b|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;a=Yi(a|0,y|0,32)|0;c[n>>2]=d-(a<<3);a=N(c[n>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[e>>2]=(c[e>>2]|0)+(a+((N(c[n>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));c[g>>2]=29+(c[k>>2]|0)-(c[j>>2]|0)-(c[i>>2]|0);a=c[g>>2]|0;if((c[g>>2]|0)>=0)if((a|0)<32){c[f>>2]=c[e>>2]>>c[g>>2];q=c[f>>2]|0;l=h;return q|0}else{c[f>>2]=0;q=c[f>>2]|0;l=h;return q|0}b=c[e>>2]|0;d=0-(c[g>>2]|0)|0;do if((-2147483648>>0-a|0)>(2147483647>>0-(c[g>>2]|0)|0)){if((b|0)>(-2147483648>>d|0)){a=-2147483648>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[g>>2]|0)|0)){a=2147483647>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}else{if((b|0)>(2147483647>>d|0)){a=2147483647>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[g>>2]|0)|0)){a=-2147483648>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}while(0);c[f>>2]=a<<0-(c[g>>2]|0);q=c[f>>2]|0;l=h;return q|0}function af(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function bf(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function cf(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=l;l=l+64|0;o=w+52|0;u=w+48|0;v=w+44|0;p=w+40|0;i=w+36|0;q=w+32|0;r=w+28|0;x=w+24|0;j=w+20|0;k=w+16|0;s=w+12|0;t=w+8|0;m=w+4|0;n=w;c[o>>2]=a;c[u>>2]=d;c[v>>2]=e;c[p>>2]=f;c[i>>2]=g;c[q>>2]=h;h=c[u>>2]|0;g=(c[o>>2]|0)+4|0;b[h>>1]=b[g>>1]|0;b[h+2>>1]=b[g+2>>1]|0;h=c[v>>2]|0;g=(c[o>>2]|0)+8|0;b[h>>1]=b[g>>1]|0;b[h+2>>1]=b[g+2>>1]|0;h=(c[o>>2]|0)+4|0;g=(c[u>>2]|0)+(c[q>>2]<<1)|0;b[h>>1]=b[g>>1]|0;b[h+2>>1]=b[g+2>>1]|0;h=(c[o>>2]|0)+8|0;g=(c[v>>2]|0)+(c[q>>2]<<1)|0;b[h>>1]=b[g>>1]|0;b[h+2>>1]=b[g+2>>1]|0;c[m>>2]=b[c[o>>2]>>1];c[n>>2]=b[(c[o>>2]|0)+2>>1];c[x>>2]=65536/(c[i>>2]<<3|0)|0;c[j>>2]=((N(((c[c[p>>2]>>2]|0)-(b[c[o>>2]>>1]|0)&65535)<<16>>16,(c[x>>2]&65535)<<16>>16)|0)>>15)+1>>1;c[k>>2]=((N(((c[(c[p>>2]|0)+4>>2]|0)-(b[(c[o>>2]|0)+2>>1]|0)&65535)<<16>>16,(c[x>>2]&65535)<<16>>16)|0)>>15)+1>>1;c[r>>2]=0;while(1){if((c[r>>2]|0)>=(c[i>>2]<<3|0))break;c[m>>2]=(c[m>>2]|0)+(c[j>>2]|0);c[n>>2]=(c[n>>2]|0)+(c[k>>2]|0);c[s>>2]=(b[(c[u>>2]|0)+(c[r>>2]<<1)>>1]|0)+(b[(c[u>>2]|0)+((c[r>>2]|0)+2<<1)>>1]|0)+(b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]<<1)<<9;x=N(c[s>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[s>>2]=(b[(c[v>>2]|0)+((c[r>>2]|0)+1<<1)>>1]<<8)+(x+((N(c[s>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));x=N(b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]<<11>>16,(c[n>>2]&65535)<<16>>16)|0;c[s>>2]=(c[s>>2]|0)+(x+((N(b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]<<11&65535,(c[n>>2]&65535)<<16>>16)|0)>>16));if(((c[s>>2]>>7)+1>>1|0)<=32767)if(((c[s>>2]>>7)+1>>1|0)<-32768)a=-32768;else a=(c[s>>2]>>7)+1>>1;else a=32767;b[(c[v>>2]|0)+((c[r>>2]|0)+1<<1)>>1]=a;c[r>>2]=(c[r>>2]|0)+1}c[m>>2]=c[c[p>>2]>>2];c[n>>2]=c[(c[p>>2]|0)+4>>2];c[r>>2]=c[i>>2]<<3;while(1){if((c[r>>2]|0)>=(c[q>>2]|0))break;c[s>>2]=(b[(c[u>>2]|0)+(c[r>>2]<<1)>>1]|0)+(b[(c[u>>2]|0)+((c[r>>2]|0)+2<<1)>>1]|0)+(b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]<<1)<<9;x=N(c[s>>2]>>16,(c[m>>2]&65535)<<16>>16)|0;c[s>>2]=(b[(c[v>>2]|0)+((c[r>>2]|0)+1<<1)>>1]<<8)+(x+((N(c[s>>2]&65535,(c[m>>2]&65535)<<16>>16)|0)>>16));x=N(b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]<<11>>16,(c[n>>2]&65535)<<16>>16)|0;c[s>>2]=(c[s>>2]|0)+(x+((N(b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]<<11&65535,(c[n>>2]&65535)<<16>>16)|0)>>16));if(((c[s>>2]>>7)+1>>1|0)<=32767)if(((c[s>>2]>>7)+1>>1|0)<-32768)a=-32768;else a=(c[s>>2]>>7)+1>>1;else a=32767;b[(c[v>>2]|0)+((c[r>>2]|0)+1<<1)>>1]=a;c[r>>2]=(c[r>>2]|0)+1}b[c[o>>2]>>1]=c[c[p>>2]>>2];b[(c[o>>2]|0)+2>>1]=c[(c[p>>2]|0)+4>>2];c[r>>2]=0;while(1){if((c[r>>2]|0)>=(c[q>>2]|0))break;c[s>>2]=(b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]|0)+(b[(c[v>>2]|0)+((c[r>>2]|0)+1<<1)>>1]|0);c[t>>2]=(b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]|0)-(b[(c[v>>2]|0)+((c[r>>2]|0)+1<<1)>>1]|0);if((c[s>>2]|0)>32767)a=32767;else a=(c[s>>2]|0)<-32768?-32768:c[s>>2]|0;b[(c[u>>2]|0)+((c[r>>2]|0)+1<<1)>>1]=a;if((c[t>>2]|0)>32767)a=32767;else a=(c[t>>2]|0)<-32768?-32768:c[t>>2]|0;b[(c[v>>2]|0)+((c[r>>2]|0)+1<<1)>>1]=a;c[r>>2]=(c[r>>2]|0)+1}l=w;return}function df(a){a=a|0;var b=0,d=0,e=0,f=0;f=l;l=l+16|0;b=f+4|0;d=f;c[d>>2]=a;if(!(((((((c[(c[d>>2]|0)+8>>2]|0)!=8e3?(c[(c[d>>2]|0)+8>>2]|0)!=12e3:0)?(c[(c[d>>2]|0)+8>>2]|0)!=16e3:0)?(c[(c[d>>2]|0)+8>>2]|0)!=24e3:0)?(c[(c[d>>2]|0)+8>>2]|0)!=32e3:0)?(c[(c[d>>2]|0)+8>>2]|0)!=44100:0)?(c[(c[d>>2]|0)+8>>2]|0)!=48e3:0))e=8;do if((e|0)==8){if(((c[(c[d>>2]|0)+20>>2]|0)!=8e3?(c[(c[d>>2]|0)+20>>2]|0)!=12e3:0)?(c[(c[d>>2]|0)+20>>2]|0)!=16e3:0)break;if(((c[(c[d>>2]|0)+12>>2]|0)!=8e3?(c[(c[d>>2]|0)+12>>2]|0)!=12e3:0)?(c[(c[d>>2]|0)+12>>2]|0)!=16e3:0)break;if(((c[(c[d>>2]|0)+16>>2]|0)!=8e3?(c[(c[d>>2]|0)+16>>2]|0)!=12e3:0)?(c[(c[d>>2]|0)+16>>2]|0)!=16e3:0)break;if(((c[(c[d>>2]|0)+16>>2]|0)<=(c[(c[d>>2]|0)+20>>2]|0)?(c[(c[d>>2]|0)+12>>2]|0)>=(c[(c[d>>2]|0)+20>>2]|0):0)?(c[(c[d>>2]|0)+16>>2]|0)<=(c[(c[d>>2]|0)+12>>2]|0):0){if((((c[(c[d>>2]|0)+24>>2]|0)!=10?(c[(c[d>>2]|0)+24>>2]|0)!=20:0)?(c[(c[d>>2]|0)+24>>2]|0)!=40:0)?(c[(c[d>>2]|0)+24>>2]|0)!=60:0){c[b>>2]=-103;e=c[b>>2]|0;l=f;return e|0}if((c[(c[d>>2]|0)+32>>2]|0)>=0?(c[(c[d>>2]|0)+32>>2]|0)<=100:0){if((c[(c[d>>2]|0)+44>>2]|0)>=0?(c[(c[d>>2]|0)+44>>2]|0)<=1:0){if((c[(c[d>>2]|0)+48>>2]|0)>=0?(c[(c[d>>2]|0)+48>>2]|0)<=1:0){do if((c[(c[d>>2]|0)+40>>2]|0)>=0){if((c[(c[d>>2]|0)+40>>2]|0)>1)break;do if((c[c[d>>2]>>2]|0)>=1){if((c[c[d>>2]>>2]|0)>2)break;do if((c[(c[d>>2]|0)+4>>2]|0)>=1){if((c[(c[d>>2]|0)+4>>2]|0)>2)break;if((c[(c[d>>2]|0)+4>>2]|0)>(c[c[d>>2]>>2]|0)){c[b>>2]=-111;e=c[b>>2]|0;l=f;return e|0}do if((c[(c[d>>2]|0)+36>>2]|0)>=0){if((c[(c[d>>2]|0)+36>>2]|0)>10)break;c[b>>2]=0;e=c[b>>2]|0;l=f;return e|0}while(0);c[b>>2]=-106;e=c[b>>2]|0;l=f;return e|0}while(0);c[b>>2]=-111;e=c[b>>2]|0;l=f;return e|0}while(0);c[b>>2]=-111;e=c[b>>2]|0;l=f;return e|0}while(0);c[b>>2]=-107;e=c[b>>2]|0;l=f;return e|0}c[b>>2]=-109;e=c[b>>2]|0;l=f;return e|0}c[b>>2]=-108;e=c[b>>2]|0;l=f;return e|0}c[b>>2]=-105;e=c[b>>2]|0;l=f;return e|0}}while(0);c[b>>2]=-102;e=c[b>>2]|0;l=f;return e|0}function ef(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;e=m+20|0;f=m+16|0;g=m+12|0;h=m+8|0;i=m+4|0;j=m;c[e>>2]=a;c[f>>2]=d;c[h>>2]=0;if((c[f>>2]|0)>8e4)a=8e4;else a=(c[f>>2]|0)<5e3?5e3:c[f>>2]|0;c[f>>2]=a;if((c[f>>2]|0)==(c[(c[e>>2]|0)+4632>>2]|0)){k=c[h>>2]|0;l=m;return k|0}c[(c[e>>2]|0)+4632>>2]=c[f>>2];do if((c[(c[e>>2]|0)+4600>>2]|0)!=8)if((c[(c[e>>2]|0)+4600>>2]|0)==12){c[j>>2]=17772;break}else{c[j>>2]=17804;break}else c[j>>2]=17740;while(0);if((c[(c[e>>2]|0)+4604>>2]|0)==2)c[f>>2]=(c[f>>2]|0)-2200;c[g>>2]=1;while(1){if((c[g>>2]|0)>=8){k=16;break}if((c[f>>2]|0)<=(c[(c[j>>2]|0)+(c[g>>2]<<2)>>2]|0))break;c[g>>2]=(c[g>>2]|0)+1}if((k|0)==16){k=c[h>>2]|0;l=m;return k|0}c[i>>2]=((c[f>>2]|0)-(c[(c[j>>2]|0)+((c[g>>2]|0)-1<<2)>>2]|0)<<6|0)/((c[(c[j>>2]|0)+(c[g>>2]<<2)>>2]|0)-(c[(c[j>>2]|0)+((c[g>>2]|0)-1<<2)>>2]|0)|0)|0;k=(b[24510+((c[g>>2]|0)-1<<1)>>1]<<6)+(N(c[i>>2]|0,(b[24510+(c[g>>2]<<1)>>1]|0)-(b[24510+((c[g>>2]|0)-1<<1)>>1]|0)|0)|0)|0;c[(c[e>>2]|0)+4748>>2]=k;k=c[h>>2]|0;l=m;return k|0}function ff(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=l;l=l+16|0;f=e+8|0;g=e+4|0;d=e;c[f>>2]=a;c[g>>2]=b;c[d>>2]=0;aj(c[f>>2]|0,0,12240)|0;c[(c[f>>2]|0)+5124>>2]=c[g>>2];b=(Bf(3932160)|0)-2048<<8;c[(c[f>>2]|0)+8>>2]=b;c[(c[f>>2]|0)+12>>2]=c[(c[f>>2]|0)+8>>2];c[(c[f>>2]|0)+4696>>2]=1;b=De((c[f>>2]|0)+32|0)|0;c[d>>2]=(c[d>>2]|0)+b;l=e;return c[d>>2]|0}function gf(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;p=l;l=l+48|0;k=p+32|0;m=p+28|0;n=p+24|0;o=p+20|0;r=p+16|0;q=p+12|0;h=p+8|0;i=p+4|0;j=p;c[m>>2]=a;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]=(c[j>>2]|0)+r;c[(c[m>>2]|0)+4700>>2]=1;c[k>>2]=c[j>>2];r=c[k>>2]|0;l=p;return r|0}function hf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+336|0;e=n+328|0;f=n+324|0;g=n+320|0;h=n+316|0;i=n+312|0;j=n+308|0;k=n+304|0;m=n+300|0;d=n;c[e>>2]=a;c[f>>2]=b;c[g>>2]=0;if((c[(c[e>>2]|0)+4600>>2]|0)==(c[f>>2]|0)?(c[(c[e>>2]|0)+4584>>2]|0)==(c[(c[e>>2]|0)+4580>>2]|0):0){k=c[e>>2]|0;k=k+4580|0;k=c[k>>2]|0;m=c[e>>2]|0;m=m+4584|0;c[m>>2]=k;m=c[g>>2]|0;l=n;return m|0}a=c[e>>2]|0;if(!(c[(c[e>>2]|0)+4600>>2]|0)){k=Tf(a+5808|0,c[(c[e>>2]|0)+4580>>2]|0,(c[f>>2]|0)*1e3|0,1)|0;c[g>>2]=(c[g>>2]|0)+k;k=c[e>>2]|0;k=k+4580|0;k=c[k>>2]|0;m=c[e>>2]|0;m=m+4584|0;c[m>>2]=k;m=c[g>>2]|0;l=n;return m|0}else{c[k>>2]=((c[a+4604>>2]|0)*5<<1)+5;c[j>>2]=N(c[k>>2]|0,c[(c[e>>2]|0)+4600>>2]|0)|0;c[h>>2]=N(c[k>>2]|0,c[f>>2]|0)|0;a=(c[j>>2]|0)>(c[h>>2]|0)?c[j>>2]|0:c[h>>2]|0;c[m>>2]=$()|0;b=l;l=l+((1*(a<<1)|0)+15&-16)|0;of(b,(c[e>>2]|0)+9356|0,c[j>>2]|0);a=Tf(d,((c[(c[e>>2]|0)+4600>>2]&65535)<<16>>16)*1e3|0,c[(c[e>>2]|0)+4580>>2]|0,0)|0;c[g>>2]=(c[g>>2]|0)+a;c[i>>2]=N(c[k>>2]|0,(c[(c[e>>2]|0)+4580>>2]|0)/1e3|0)|0;k=l;l=l+((1*(c[i>>2]<<1)|0)+15&-16)|0;j=Uf(d,k,b,c[j>>2]|0)|0;c[g>>2]=(c[g>>2]|0)+j;j=Tf((c[e>>2]|0)+5808|0,c[(c[e>>2]|0)+4580>>2]|0,((c[f>>2]&65535)<<16>>16)*1e3|0,1)|0;c[g>>2]=(c[g>>2]|0)+j;k=Uf((c[e>>2]|0)+5808|0,b,k,c[i>>2]|0)|0;c[g>>2]=(c[g>>2]|0)+k;pf((c[e>>2]|0)+9356|0,b,c[h>>2]|0);_(c[m>>2]|0);k=c[e>>2]|0;k=k+4580|0;k=c[k>>2]|0;m=c[e>>2]|0;m=m+4584|0;c[m>>2]=k;m=c[g>>2]|0;l=n;return m|0}return 0}function jf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=l;l=l+16|0;h=j+12|0;g=j+8|0;f=j+4|0;i=j;c[h>>2]=b;c[g>>2]=d;c[f>>2]=e;c[i>>2]=0;if((c[f>>2]|0)!=(c[(c[h>>2]|0)+4636>>2]|0)){if((c[f>>2]|0)!=10&(c[f>>2]|0)!=20&(c[f>>2]|0)!=40&(c[f>>2]|0)!=60)c[i>>2]=-103;if((c[f>>2]|0)<=10){c[(c[h>>2]|0)+5776>>2]=1;c[(c[h>>2]|0)+4604>>2]=(c[f>>2]|0)==10?2:1;b=N((c[f>>2]&65535)<<16>>16,(c[g>>2]&65535)<<16>>16)|0;c[(c[h>>2]|0)+4608>>2]=b;c[(c[h>>2]|0)+4572>>2]=((c[g>>2]&65535)<<16>>16)*14;b=(c[h>>2]|0)+4720|0;d=(c[(c[h>>2]|0)+4600>>2]|0)==8?29170:29158}else{c[(c[h>>2]|0)+5776>>2]=(c[f>>2]|0)/20|0;c[(c[h>>2]|0)+4604>>2]=4;c[(c[h>>2]|0)+4608>>2]=((c[g>>2]&65535)<<16>>16)*20;c[(c[h>>2]|0)+4572>>2]=((c[g>>2]&65535)<<16>>16)*24;b=(c[h>>2]|0)+4720|0;d=(c[(c[h>>2]|0)+4600>>2]|0)==8?29147:29113}c[b>>2]=d;c[(c[h>>2]|0)+4636>>2]=c[f>>2];c[(c[h>>2]|0)+4632>>2]=0}if((c[(c[h>>2]|0)+4600>>2]|0)==(c[g>>2]|0)){i=c[i>>2]|0;l=j;return i|0}f=(c[h>>2]|0)+7200|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;aj((c[h>>2]|0)+7216|0,0,2140)|0;aj((c[h>>2]|0)+144|0,0,4380)|0;f=(c[h>>2]|0)+4524|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;f=(c[h>>2]|0)+16|0;c[f>>2]=0;c[f+4>>2]=0;c[(c[h>>2]|0)+5772>>2]=0;c[(c[h>>2]|0)+5780>>2]=0;c[(c[h>>2]|0)+4632>>2]=0;c[(c[h>>2]|0)+4568>>2]=100;c[(c[h>>2]|0)+4696>>2]=1;c[(c[h>>2]|0)+7216+2136>>2]=100;a[(c[h>>2]|0)+7200>>0]=10;c[(c[h>>2]|0)+144+4356>>2]=100;c[(c[h>>2]|0)+144+4372>>2]=65536;a[(c[h>>2]|0)+4565>>0]=0;c[(c[h>>2]|0)+4600>>2]=c[g>>2];f=(c[(c[h>>2]|0)+4604>>2]|0)==4;c[(c[h>>2]|0)+4720>>2]=(c[(c[h>>2]|0)+4600>>2]|0)==8?(f?29147:29170):f?29113:29158;if((c[(c[h>>2]|0)+4600>>2]|0)!=8?(c[(c[h>>2]|0)+4600>>2]|0)!=12:0){c[(c[h>>2]|0)+4664>>2]=16;b=c[h>>2]|0;d=17704}else{c[(c[h>>2]|0)+4664>>2]=10;b=c[h>>2]|0;d=17668}c[b+4724>>2]=d;c[(c[h>>2]|0)+4612>>2]=(c[g>>2]|0)*5;b=N((c[(c[h>>2]|0)+4612>>2]&65535)<<16>>16,(c[(c[h>>2]|0)+4604>>2]&65535)<<16>>16)|0;c[(c[h>>2]|0)+4608>>2]=b;c[(c[h>>2]|0)+4616>>2]=((c[g>>2]&65535)<<16>>16)*20;c[(c[h>>2]|0)+4620>>2]=(c[g>>2]&65535)<<16>>16<<1;c[(c[h>>2]|0)+4576>>2]=((c[g>>2]&65535)<<16>>16)*18;b=(c[(c[h>>2]|0)+4604>>2]|0)==4;g=(c[g>>2]&65535)<<16>>16;c[(b?c[h>>2]|0:c[h>>2]|0)+4572>>2]=b?g*24|0:g*14|0;b=c[h>>2]|0;do if((c[(c[h>>2]|0)+4600>>2]|0)!=16){d=(c[h>>2]|0)+4684|0;if((c[b+4600>>2]|0)==12){c[d>>2]=13;d=29039;b=c[h>>2]|0;break}else{c[d>>2]=15;d=29030;b=c[h>>2]|0;break}}else{c[b+4684>>2]=10;d=29045;b=c[h>>2]|0}while(0);c[b+4716>>2]=d;i=c[i>>2]|0;l=j;return i|0}function kf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+16|0;d=g+8|0;e=g+4|0;f=g;c[d>>2]=a;c[e>>2]=b;c[f>>2]=0;do if((c[e>>2]|0)>=2){if((c[e>>2]|0)<4){c[(c[d>>2]|0)+4668>>2]=1;c[(c[d>>2]|0)+4676>>2]=49807;c[(c[d>>2]|0)+4672>>2]=8;c[(c[d>>2]|0)+4660>>2]=10;c[(c[d>>2]|0)+4624>>2]=(c[(c[d>>2]|0)+4600>>2]|0)*5;c[(c[d>>2]|0)+4652>>2]=1;c[(c[d>>2]|0)+4656>>2]=0;c[(c[d>>2]|0)+4680>>2]=0;c[(c[d>>2]|0)+4692>>2]=4;a=0;b=c[d>>2]|0;break}if((c[e>>2]|0)<6){c[(c[d>>2]|0)+4668>>2]=1;c[(c[d>>2]|0)+4676>>2]=48497;c[(c[d>>2]|0)+4672>>2]=10;c[(c[d>>2]|0)+4660>>2]=12;c[(c[d>>2]|0)+4624>>2]=(c[(c[d>>2]|0)+4600>>2]|0)*5;c[(c[d>>2]|0)+4652>>2]=2;c[(c[d>>2]|0)+4656>>2]=1;c[(c[d>>2]|0)+4680>>2]=0;c[(c[d>>2]|0)+4692>>2]=8;a=(c[(c[d>>2]|0)+4600>>2]|0)*983|0;b=c[d>>2]|0;break}a=(c[d>>2]|0)+4668|0;if((c[e>>2]|0)<8){c[a>>2]=1;c[(c[d>>2]|0)+4676>>2]=47186;c[(c[d>>2]|0)+4672>>2]=12;c[(c[d>>2]|0)+4660>>2]=14;c[(c[d>>2]|0)+4624>>2]=(c[(c[d>>2]|0)+4600>>2]|0)*5;c[(c[d>>2]|0)+4652>>2]=3;c[(c[d>>2]|0)+4656>>2]=1;c[(c[d>>2]|0)+4680>>2]=0;c[(c[d>>2]|0)+4692>>2]=16;a=(c[(c[d>>2]|0)+4600>>2]|0)*983|0;b=c[d>>2]|0;break}else{c[a>>2]=2;c[(c[d>>2]|0)+4676>>2]=45875;c[(c[d>>2]|0)+4672>>2]=16;c[(c[d>>2]|0)+4660>>2]=16;c[(c[d>>2]|0)+4624>>2]=(c[(c[d>>2]|0)+4600>>2]|0)*5;c[(c[d>>2]|0)+4652>>2]=4;c[(c[d>>2]|0)+4656>>2]=1;c[(c[d>>2]|0)+4680>>2]=0;c[(c[d>>2]|0)+4692>>2]=32;a=(c[(c[d>>2]|0)+4600>>2]|0)*983|0;b=c[d>>2]|0;break}}else{c[(c[d>>2]|0)+4668>>2]=0;c[(c[d>>2]|0)+4676>>2]=52429;c[(c[d>>2]|0)+4672>>2]=6;c[(c[d>>2]|0)+4660>>2]=8;c[(c[d>>2]|0)+4624>>2]=(c[(c[d>>2]|0)+4600>>2]|0)*3;c[(c[d>>2]|0)+4652>>2]=1;c[(c[d>>2]|0)+4656>>2]=0;c[(c[d>>2]|0)+4680>>2]=1;c[(c[d>>2]|0)+4692>>2]=2;a=0;b=c[d>>2]|0}while(0);c[b+4704>>2]=a;b=nf(c[(c[d>>2]|0)+4672>>2]|0,c[(c[d>>2]|0)+4664>>2]|0)|0;c[(c[d>>2]|0)+4672>>2]=b;c[(c[d>>2]|0)+4628>>2]=((c[(c[d>>2]|0)+4600>>2]|0)*5|0)+(c[(c[d>>2]|0)+4624>>2]<<1);c[(c[d>>2]|0)+4648>>2]=c[e>>2];l=g;return c[f>>2]|0}function lf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=l;l=l+32|0;g=i+16|0;d=i+12|0;f=i+8|0;h=i+4|0;e=i;c[g>>2]=a;c[d>>2]=b;c[h>>2]=0;c[f>>2]=c[(c[g>>2]|0)+6124>>2];c[(c[g>>2]|0)+6124>>2]=0;if(!(c[(c[g>>2]|0)+6120>>2]|0)){h=c[h>>2]|0;l=i;return h|0}if((c[(c[g>>2]|0)+4640>>2]|0)<=0){h=c[h>>2]|0;l=i;return h|0}do if((c[(c[g>>2]|0)+4600>>2]|0)!=8)if((c[(c[g>>2]|0)+4600>>2]|0)==12){c[e>>2]=14e3;break}else{c[e>>2]=16e3;break}else c[e>>2]=12e3;while(0);if((c[(c[g>>2]|0)+4640>>2]|0)<25)a=c[(c[g>>2]|0)+4640>>2]|0;else a=25;a=((N(c[e>>2]|0,125-a|0)|0)>>16)*655|0;if((c[(c[g>>2]|0)+4640>>2]|0)<25)b=c[(c[g>>2]|0)+4640>>2]|0;else b=25;c[e>>2]=a+(((N(c[e>>2]|0,125-b|0)|0)&65535)*655>>16);if((c[d>>2]|0)<=(c[e>>2]|0)){h=c[h>>2]|0;l=i;return h|0}a=c[g>>2]|0;if(!(c[f>>2]|0))b=7;else{b=mf(7-(((c[a+4640>>2]>>16)*26214|0)+((c[(c[g>>2]|0)+4640>>2]&65535)*26214>>16))|0,2)|0;a=c[g>>2]|0}c[a+6128>>2]=b;c[(c[g>>2]|0)+6124>>2]=1;h=c[h>>2]|0;l=i;return h|0}function mf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)>(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function nf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function of(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;f=j+12|0;h=j+8|0;k=j+4|0;i=j;c[f>>2]=a;c[h>>2]=d;c[k>>2]=e;c[i>>2]=(c[k>>2]|0)-1;while(1){if((c[i>>2]|0)<0)break;if((Ui(+g[(c[h>>2]|0)+(c[i>>2]<<2)>>2])|0)<=32767)if((Ui(+g[(c[h>>2]|0)+(c[i>>2]<<2)>>2])|0)<-32768)a=-32768;else a=Ui(+g[(c[h>>2]|0)+(c[i>>2]<<2)>>2])|0;else a=32767;b[(c[f>>2]|0)+(c[i>>2]<<1)>>1]=a;c[i>>2]=(c[i>>2]|0)+-1}l=j;return}function pf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;f=j+12|0;h=j+8|0;k=j+4|0;i=j;c[f>>2]=a;c[h>>2]=d;c[k>>2]=e;c[i>>2]=(c[k>>2]|0)-1;while(1){if((c[i>>2]|0)<0)break;g[(c[f>>2]|0)+(c[i>>2]<<2)>>2]=+(b[(c[h>>2]|0)+(c[i>>2]<<1)>>1]|0);c[i>>2]=(c[i>>2]|0)+-1}l=j;return}function qf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=l;l=l+160|0;v=D+156|0;w=D+152|0;x=D+148|0;y=D+144|0;z=D+140|0;A=D+136|0;B=D+132|0;f=D+128|0;g=D+124|0;h=D+120|0;i=D+116|0;j=D+112|0;k=D+108|0;m=D+104|0;n=D+100|0;o=D+96|0;p=D+92|0;q=D+88|0;r=D+52|0;s=D+16|0;t=D+8|0;u=D;c[v>>2]=a;c[w>>2]=d;c[x>>2]=e;c[t>>2]=r;c[t+4>>2]=s;c[B>>2]=c[x>>2]>>1;rf(c[w>>2]|0,r,s,c[B>>2]|0);c[u>>2]=r;c[h>>2]=b[12286];c[k>>2]=sf(c[u>>2]|0,c[h>>2]|0,c[B>>2]|0)|0;if((c[k>>2]|0)<0){b[c[v>>2]>>1]=0;c[u>>2]=s;c[k>>2]=sf(c[u>>2]|0,c[h>>2]|0,c[B>>2]|0)|0;c[f>>2]=1}else c[f>>2]=0;c[z>>2]=1;c[y>>2]=0;c[o>>2]=0;a:while(1){c[i>>2]=b[24572+(c[z>>2]<<1)>>1];c[m>>2]=sf(c[u>>2]|0,c[i>>2]|0,c[B>>2]|0)|0;if(!((c[k>>2]|0)<=0?(c[m>>2]|0)>=(c[o>>2]|0):0))C=7;do if((C|0)==7){C=0;if((c[k>>2]|0)>=0?(c[m>>2]|0)<=(0-(c[o>>2]|0)|0):0)break;c[z>>2]=(c[z>>2]|0)+1;c[h>>2]=c[i>>2];c[k>>2]=c[m>>2];c[o>>2]=0;if((c[z>>2]|0)<=128)continue a;c[y>>2]=(c[y>>2]|0)+1;if((c[y>>2]|0)>30)break a;xf(c[w>>2]|0,c[x>>2]|0,65536-(N((10+(c[y>>2]|0)&65535)<<16>>16,(c[y>>2]&65535)<<16>>16)|0)|0);rf(c[w>>2]|0,r,s,c[B>>2]|0);c[u>>2]=r;c[h>>2]=b[12286];c[k>>2]=sf(c[u>>2]|0,c[h>>2]|0,c[B>>2]|0)|0;if((c[k>>2]|0)<0){b[c[v>>2]>>1]=0;c[u>>2]=s;c[k>>2]=sf(c[u>>2]|0,c[h>>2]|0,c[B>>2]|0)|0;c[f>>2]=1}else c[f>>2]=0;c[z>>2]=1;continue a}while(0);if(!(c[m>>2]|0))c[o>>2]=1;else c[o>>2]=0;c[g>>2]=-256;c[A>>2]=0;while(1){if((c[A>>2]|0)>=3)break;c[j>>2]=((c[h>>2]|0)+(c[i>>2]|0)>>1)+((c[h>>2]|0)+(c[i>>2]|0)&1);c[n>>2]=sf(c[u>>2]|0,c[j>>2]|0,c[B>>2]|0)|0;if(!((c[k>>2]|0)<=0&(c[n>>2]|0)>=0)?!((c[k>>2]|0)>=0&(c[n>>2]|0)<=0):0){c[h>>2]=c[j>>2];c[k>>2]=c[n>>2];c[g>>2]=(c[g>>2]|0)+(128>>c[A>>2])}else{c[i>>2]=c[j>>2];c[m>>2]=c[n>>2]}c[A>>2]=(c[A>>2]|0)+1}e=c[k>>2]|0;a=c[k>>2]|0;if((((c[k>>2]|0)>0?e:0-e|0)|0)<65536){c[q>>2]=a-(c[m>>2]|0);c[p>>2]=(c[k>>2]<<5)+(c[q>>2]>>1);if(c[q>>2]|0)c[g>>2]=(c[g>>2]|0)+((c[p>>2]|0)/(c[q>>2]|0)|0)}else c[g>>2]=(c[g>>2]|0)+((a|0)/((c[k>>2]|0)-(c[m>>2]|0)>>5|0)|0);e=(tf((c[z>>2]<<8)+(c[g>>2]|0)|0,32767)|0)&65535;b[(c[v>>2]|0)+(c[f>>2]<<1)>>1]=e;c[f>>2]=(c[f>>2]|0)+1;if((c[f>>2]|0)>=(c[x>>2]|0)){C=34;break}c[u>>2]=c[t+((c[f>>2]&1)<<2)>>2];c[h>>2]=b[24572+((c[z>>2]|0)-1<<1)>>1];c[k>>2]=1-(c[f>>2]&2)<<12}if((C|0)==34){l=D;return}b[c[v>>2]>>1]=32768/((c[x>>2]|0)+1|0)|0;c[z>>2]=1;while(1){if((c[z>>2]|0)>=(c[x>>2]|0))break;C=(N(((c[z>>2]|0)+1&65535)<<16>>16,b[c[v>>2]>>1]|0)|0)&65535;b[(c[v>>2]|0)+(c[z>>2]<<1)>>1]=C;c[z>>2]=(c[z>>2]|0)+1}l=D;return}function rf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=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[(c[e>>2]|0)+28>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[e>>2]|0)+24>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[e>>2]|0)+20>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[e>>2]|0)+16>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[e>>2]|0)+12>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[e>>2]|0)+8>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[e>>2]|0)+4>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[c[e>>2]>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);k=c[i>>2]|0;l=j;return k|0}c[g>>2]=(c[f>>2]|0)-1;while(1){if((c[g>>2]|0)<0)break;k=N(c[i>>2]>>16,(c[h>>2]&65535)<<16>>16)|0;k=(c[(c[e>>2]|0)+(c[g>>2]<<2)>>2]|0)+(k+((N(c[i>>2]&65535,(c[h>>2]&65535)<<16>>16)|0)>>16))|0;c[i>>2]=k+(N(c[i>>2]|0,(c[h>>2]>>15)+1>>1)|0);c[g>>2]=(c[g>>2]|0)+-1}k=c[i>>2]|0;l=j;return k|0}function tf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f+4|0;d=f;c[e>>2]=a;c[d>>2]=b;l=f;return ((c[e>>2]|0)<(c[d>>2]|0)?c[e>>2]|0:c[d>>2]|0)|0}function uf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;d=h+12|0;e=h+8|0;f=h+4|0;g=h;c[d>>2]=a;c[e>>2]=b;c[f>>2]=2;while(1){if((c[f>>2]|0)>(c[e>>2]|0))break;c[g>>2]=c[e>>2];while(1){a=c[d>>2]|0;if((c[g>>2]|0)<=(c[f>>2]|0))break;b=(c[d>>2]|0)+((c[g>>2]|0)-2<<2)|0;c[b>>2]=(c[b>>2]|0)-(c[a+(c[g>>2]<<2)>>2]|0);c[g>>2]=(c[g>>2]|0)+-1}b=(c[d>>2]|0)+((c[f>>2]|0)-2<<2)|0;c[b>>2]=(c[b>>2]|0)-(c[a+(c[f>>2]<<2)>>2]<<1);c[f>>2]=(c[f>>2]|0)+1}l=h;return}function vf(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=l;l=l+48|0;p=t+44|0;q=t+40|0;r=t+36|0;s=t+32|0;u=t+28|0;h=t+24|0;i=t+20|0;j=t+16|0;k=t+12|0;m=t+8|0;n=t+4|0;o=t;c[p>>2]=a;c[q>>2]=d;c[r>>2]=e;c[s>>2]=f;c[u>>2]=g;c[i>>2]=c[u>>2]>>1;c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[i>>2]|0))break;c[j>>2]=b[(c[p>>2]|0)+(c[h>>2]<<1<<1)>>1]<<10;c[m>>2]=(c[j>>2]|0)-(c[c[q>>2]>>2]|0);u=N(c[m>>2]>>16,-24290<<16>>16)|0;c[k>>2]=(c[m>>2]|0)+(u+((N(c[m>>2]&65535,-24290<<16>>16)|0)>>16));c[n>>2]=(c[c[q>>2]>>2]|0)+(c[k>>2]|0);c[c[q>>2]>>2]=(c[j>>2]|0)+(c[k>>2]|0);c[j>>2]=b[(c[p>>2]|0)+((c[h>>2]<<1)+1<<1)>>1]<<10;c[m>>2]=(c[j>>2]|0)-(c[(c[q>>2]|0)+4>>2]|0);u=N(c[m>>2]>>16,10788<<16>>16)|0;c[k>>2]=u+((N(c[m>>2]&65535,10788<<16>>16)|0)>>16);c[o>>2]=(c[(c[q>>2]|0)+4>>2]|0)+(c[k>>2]|0);c[(c[q>>2]|0)+4>>2]=(c[j>>2]|0)+(c[k>>2]|0);if((((c[o>>2]|0)+(c[n>>2]|0)>>10)+1>>1|0)<=32767)if((((c[o>>2]|0)+(c[n>>2]|0)>>10)+1>>1|0)<-32768)a=-32768;else a=((c[o>>2]|0)+(c[n>>2]|0)>>10)+1>>1;else a=32767;b[(c[r>>2]|0)+(c[h>>2]<<1)>>1]=a;if((((c[o>>2]|0)-(c[n>>2]|0)>>10)+1>>1|0)<=32767)if((((c[o>>2]|0)-(c[n>>2]|0)>>10)+1>>1|0)<-32768)a=-32768;else a=((c[o>>2]|0)-(c[n>>2]|0)>>10)+1>>1;else a=32767;b[(c[s>>2]|0)+(c[h>>2]<<1)>>1]=a;c[h>>2]=(c[h>>2]|0)+1}l=t;return}function wf(a,d,e,f,g,h,i){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=l;l=l+64|0;v=x+52|0;w=x+48|0;y=x+44|0;j=x+40|0;k=x+36|0;m=x+32|0;n=x+28|0;o=x+24|0;p=x+20|0;q=x+16|0;r=x+12|0;s=x+8|0;t=x+4|0;u=x;c[v>>2]=a;c[w>>2]=d;c[y>>2]=e;c[j>>2]=f;c[k>>2]=g;c[m>>2]=h;c[n>>2]=i;c[r>>2]=0-(c[c[y>>2]>>2]|0)&16383;c[q>>2]=0-(c[c[y>>2]>>2]|0)>>14;c[t>>2]=0-(c[(c[y>>2]|0)+4>>2]|0)&16383;c[s>>2]=0-(c[(c[y>>2]|0)+4>>2]|0)>>14;c[o>>2]=0;while(1){if((c[o>>2]|0)>=(c[m>>2]|0))break;c[p>>2]=b[(c[v>>2]|0)+((N(c[o>>2]|0,c[n>>2]|0)|0)<<1)>>1];y=N(c[c[w>>2]>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;c[u>>2]=(c[c[j>>2]>>2]|0)+(y+((N(c[c[w>>2]>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16))<<2;y=N(c[u>>2]>>16,(c[r>>2]&65535)<<16>>16)|0;y=(c[(c[j>>2]|0)+4>>2]|0)+((y+((N(c[u>>2]&65535,(c[r>>2]&65535)<<16>>16)|0)>>16)>>13)+1>>1)|0;c[c[j>>2]>>2]=y;y=N(c[u>>2]>>16,(c[q>>2]&65535)<<16>>16)|0;y=(c[c[j>>2]>>2]|0)+(y+((N(c[u>>2]&65535,(c[q>>2]&65535)<<16>>16)|0)>>16))|0;c[c[j>>2]>>2]=y;y=N(c[(c[w>>2]|0)+4>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;y=(c[c[j>>2]>>2]|0)+(y+((N(c[(c[w>>2]|0)+4>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16))|0;c[c[j>>2]>>2]=y;y=N(c[u>>2]>>16,(c[t>>2]&65535)<<16>>16)|0;y=(y+((N(c[u>>2]&65535,(c[t>>2]&65535)<<16>>16)|0)>>16)>>13)+1>>1;c[(c[j>>2]|0)+4>>2]=y;y=N(c[u>>2]>>16,(c[s>>2]&65535)<<16>>16)|0;y=(c[(c[j>>2]|0)+4>>2]|0)+(y+((N(c[u>>2]&65535,(c[s>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[j>>2]|0)+4>>2]=y;y=N(c[(c[w>>2]|0)+8>>2]>>16,(c[p>>2]&65535)<<16>>16)|0;y=(c[(c[j>>2]|0)+4>>2]|0)+(y+((N(c[(c[w>>2]|0)+8>>2]&65535,(c[p>>2]&65535)<<16>>16)|0)>>16))|0;c[(c[j>>2]|0)+4>>2]=y;if(((c[u>>2]|0)+16384-1>>14|0)<=32767)if(((c[u>>2]|0)+16384-1>>14|0)<-32768)a=-32768;else a=(c[u>>2]|0)+16384-1>>14;else a=32767;b[(c[k>>2]|0)+((N(c[o>>2]|0,c[n>>2]|0)|0)<<1)>>1]=a;c[o>>2]=(c[o>>2]|0)+1}l=x;return}function xf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;e=j+16|0;f=j+12|0;g=j+8|0;h=j+4|0;i=j;c[e>>2]=a;c[f>>2]=b;c[g>>2]=d;c[i>>2]=(c[g>>2]|0)-65536;c[h>>2]=0;while(1){a=c[g>>2]>>16;b=c[e>>2]|0;if((c[h>>2]|0)>=((c[f>>2]|0)-1|0))break;d=N(a,(c[b+(c[h>>2]<<2)>>2]&65535)<<16>>16)|0;d=d+((N(c[g>>2]&65535,(c[(c[e>>2]|0)+(c[h>>2]<<2)>>2]&65535)<<16>>16)|0)>>16)|0;d=d+(N(c[g>>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0;k=u+20|0;m=u+16|0;n=u+12|0;o=u+8|0;p=u+4|0;q=u;b[i>>1]=d;a[r>>0]=e;c[s>>2]=f;c[j>>2]=g;c[t>>2]=h;d=(c[t>>2]|0)==4;do if((c[j>>2]|0)==8)if(d){c[q>>2]=30282;c[p>>2]=11;break}else{c[q>>2]=30248;c[p>>2]=3;break}else if(d){c[q>>2]=30326;c[p>>2]=34;break}else{c[q>>2]=30254;c[p>>2]=12;break}while(0);c[n>>2]=(c[j>>2]&65535)<<16>>16<<1;c[o>>2]=((c[j>>2]&65535)<<16>>16)*18;c[k>>2]=(c[n>>2]|0)+(b[i>>1]|0);c[m>>2]=0;while(1){if((c[m>>2]|0)>=(c[t>>2]|0))break;d=N(c[m>>2]|0,c[p>>2]|0)|0;c[(c[s>>2]|0)+(c[m>>2]<<2)>>2]=(c[k>>2]|0)+(a[(c[q>>2]|0)+(d+(a[r>>0]|0))>>0]|0);d=c[(c[s>>2]|0)+(c[m>>2]<<2)>>2]|0;do if((c[n>>2]|0)>(c[o>>2]|0)){if((d|0)>(c[n>>2]|0)){d=c[n>>2]|0;break}if((c[(c[s>>2]|0)+(c[m>>2]<<2)>>2]|0)<(c[o>>2]|0)){d=c[o>>2]|0;break}else{d=c[(c[s>>2]|0)+(c[m>>2]<<2)>>2]|0;break}}else{if((d|0)>(c[o>>2]|0)){d=c[o>>2]|0;break}if((c[(c[s>>2]|0)+(c[m>>2]<<2)>>2]|0)<(c[n>>2]|0)){d=c[n>>2]|0;break}else{d=c[(c[s>>2]|0)+(c[m>>2]<<2)>>2]|0;break}}while(0);c[(c[s>>2]|0)+(c[m>>2]<<2)>>2]=d;c[m>>2]=(c[m>>2]|0)+1}l=u;return}function Af(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;g=n+20|0;h=n+16|0;i=n+12|0;j=n+8|0;k=n+4|0;m=n;c[g>>2]=a;c[h>>2]=d;c[i>>2]=e;c[j>>2]=f;c[m>>2]=0;c[k>>2]=0;while(1){a=c[m>>2]|0;if((c[k>>2]|0)>=(c[j>>2]|0))break;f=N(b[(c[g>>2]|0)+(c[k>>2]<<1)>>1]|0,b[(c[h>>2]|0)+(c[k>>2]<<1)>>1]|0)|0;c[m>>2]=a+(f>>c[i>>2]);c[k>>2]=(c[k>>2]|0)+1}l=n;return a|0}function Bf(a){a=a|0;var b=0,d=0,e=0,f=0;b=l;l=l+16|0;f=b+8|0;e=b+4|0;d=b;c[f>>2]=a;Cf(c[f>>2]|0,e,d);a=((N(c[d>>2]|0,128-(c[d>>2]|0)|0)|0)>>16)*179|0;a=(31-(c[e>>2]|0)<<7)+((c[d>>2]|0)+(a+(((N(c[d>>2]|0,128-(c[d>>2]|0)|0)|0)&65535)*179>>16)))|0;l=b;return a|0}function Cf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;h=e+12|0;i=e+8|0;f=e+4|0;g=e;c[h>>2]=a;c[i>>2]=b;c[f>>2]=d;c[g>>2]=Df(c[h>>2]|0)|0;c[c[i>>2]>>2]=c[g>>2];d=(Ef(c[h>>2]|0,24-(c[g>>2]|0)|0)|0)&127;c[c[f>>2]>>2]=d;l=e;return}function Df(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Ef(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;e=j+20|0;d=j+16|0;f=j+12|0;g=j+8|0;h=j+4|0;i=j;c[d>>2]=a;c[f>>2]=b;c[g>>2]=c[d>>2];c[h>>2]=c[f>>2];c[i>>2]=0-(c[f>>2]|0);if(!(c[f>>2]|0)){c[e>>2]=c[d>>2];i=c[e>>2]|0;l=j;return i|0}a=c[g>>2]|0;if((c[f>>2]|0)<0){c[e>>2]=a<>2]|(c[g>>2]|0)>>>(32-(c[i>>2]|0)|0);i=c[e>>2]|0;l=j;return i|0}else{c[e>>2]=a<<32-(c[h>>2]|0)|(c[g>>2]|0)>>>(c[h>>2]|0);i=c[e>>2]|0;l=j;return i|0}return 0}function Ff(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;d=h+12|0;e=h+8|0;f=h+4|0;g=h;c[e>>2]=a;if((c[e>>2]|0)<0){c[d>>2]=0;g=c[d>>2]|0;l=h;return g|0}if((c[e>>2]|0)>=3967){c[d>>2]=2147483647;g=c[d>>2]|0;l=h;return g|0}c[f>>2]=1<<(c[e>>2]>>7);c[g>>2]=c[e>>2]&127;a=c[f>>2]|0;b=c[f>>2]|0;if((c[e>>2]|0)<2048){e=N((N((c[g>>2]&65535)<<16>>16,(128-(c[g>>2]|0)&65535)<<16>>16)|0)>>16,-174)|0;c[f>>2]=a+((N(b,(c[g>>2]|0)+(e+((N((N((c[g>>2]&65535)<<16>>16,(128-(c[g>>2]|0)&65535)<<16>>16)|0)&65535,-174)|0)>>16))|0)|0)>>7)}else{e=N((N((c[g>>2]&65535)<<16>>16,(128-(c[g>>2]|0)&65535)<<16>>16)|0)>>16,-174)|0;c[f>>2]=a+(N(b>>7,(c[g>>2]|0)+(e+((N((N((c[g>>2]&65535)<<16>>16,(128-(c[g>>2]|0)&65535)<<16>>16)|0)&65535,-174)|0)>>16))|0)|0)}c[d>>2]=c[f>>2];g=c[d>>2]|0;l=h;return g|0}function Gf(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+48|0;p=t+40|0;q=t+36|0;r=t+32|0;s=t+28|0;i=t+24|0;j=t+16|0;k=t+12|0;m=t+8|0;n=t+4|0;o=t;c[p>>2]=a;c[q>>2]=d;c[r>>2]=e;c[s>>2]=f;c[i>>2]=g;c[t+20>>2]=h;c[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+160|0;e=m+148|0;f=m+144|0;g=m+140|0;h=m+136|0;i=m+8|0;j=m+4|0;k=m;c[f>>2]=a;c[g>>2]=d;c[k>>2]=0;c[j>>2]=i+((c[g>>2]&1)<<6);c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[g>>2]|0))break;c[k>>2]=(c[k>>2]|0)+(b[(c[f>>2]|0)+(c[h>>2]<<1)>>1]|0);c[(c[j>>2]|0)+(c[h>>2]<<2)>>2]=b[(c[f>>2]|0)+(c[h>>2]<<1)>>1]<<12;c[h>>2]=(c[h>>2]|0)+1}if((c[k>>2]|0)>=4096){c[e>>2]=0;k=c[e>>2]|0;l=m;return k|0}else{c[e>>2]=If(i,c[g>>2]|0)|0;k=c[e>>2]|0;l=m;return k|0}return 0}function If(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=l;l=l+64|0;i=r+48|0;j=r+44|0;s=r+40|0;k=r+36|0;m=r+32|0;n=r+28|0;o=r+24|0;p=r+20|0;d=r+16|0;e=r+12|0;f=r+8|0;g=r+4|0;h=r;c[j>>2]=a;c[s>>2]=b;c[h>>2]=(c[j>>2]|0)+((c[s>>2]&1)<<6);c[o>>2]=1073741824;c[k>>2]=(c[s>>2]|0)-1;while(1){a=c[h>>2]|0;if((c[k>>2]|0)<=0)break;if((c[a+(c[k>>2]<<2)>>2]|0)>16773022){q=5;break}if((c[(c[h>>2]|0)+(c[k>>2]<<2)>>2]|0)<-16773022){q=5;break}c[p>>2]=0-(c[(c[h>>2]|0)+(c[k>>2]<<2)>>2]<<7);s=c[p>>2]|0;b=c[p>>2]|0;b=Xi(s|0,((s|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;b=Yi(b|0,y|0,32)|0;c[d>>2]=1073741824-b;b=c[d>>2]|0;c[n>>2]=32-(Jf((c[d>>2]|0)>0?b:0-b|0)|0);c[e>>2]=Kf(c[d>>2]|0,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2]=1073741824-s;s=c[o>>2]|0;t=c[d>>2]|0;t=Xi(s|0,((s|0)<0)<<31>>31|0,t|0,((t|0)<0)<<31>>31|0)|0;t=Yi(t|0,y|0,32)|0;c[o>>2]=t<<2;c[i>>2]=c[o>>2];t=c[i>>2]|0;l=r;return t|0}c[i>>2]=0;t=c[i>>2]|0;l=r;return t|0}function Jf(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;if(!(c[b>>2]|0)){b=32;l=d;return b|0}b=32-(32-(Q(c[b>>2]|0)|0))|0;l=d;return b|0}function Kf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;h=l;l=l+48|0;f=h+32|0;n=h+28|0;d=h+24|0;i=h+20|0;g=h+16|0;j=h+12|0;m=h+8|0;k=h+4|0;e=h;c[n>>2]=a;c[d>>2]=b;a=c[n>>2]|0;c[i>>2]=(Jf((c[n>>2]|0)>0?a:0-a|0)|0)-1;c[m>>2]=c[n>>2]<>2];c[j>>2]=536870911/(c[m>>2]>>16|0)|0;c[e>>2]=c[j>>2]<<16;a=N(c[m>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;c[k>>2]=536870912-(a+((N(c[m>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))<<3;a=N(c[k>>2]>>16,(c[j>>2]&65535)<<16>>16)|0;a=(c[e>>2]|0)+(a+((N(c[k>>2]&65535,(c[j>>2]&65535)<<16>>16)|0)>>16))|0;c[e>>2]=a+(N(c[k>>2]|0,(c[j>>2]>>15)+1>>1)|0);c[g>>2]=61-(c[i>>2]|0)-(c[d>>2]|0);a=c[g>>2]|0;if((c[g>>2]|0)>0)if((a|0)<32){c[f>>2]=c[e>>2]>>c[g>>2];n=c[f>>2]|0;l=h;return n|0}else{c[f>>2]=0;n=c[f>>2]|0;l=h;return n|0}b=c[e>>2]|0;d=0-(c[g>>2]|0)|0;do if((-2147483648>>0-a|0)>(2147483647>>0-(c[g>>2]|0)|0)){if((b|0)>(-2147483648>>d|0)){a=-2147483648>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(2147483647>>0-(c[g>>2]|0)|0)){a=2147483647>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}else{if((b|0)>(2147483647>>d|0)){a=2147483647>>0-(c[g>>2]|0);break}if((c[e>>2]|0)<(-2147483648>>0-(c[g>>2]|0)|0)){a=-2147483648>>0-(c[g>>2]|0);break}else{a=c[e>>2]|0;break}}while(0);c[f>>2]=a<<0-(c[g>>2]|0);n=c[f>>2]|0;l=h;return n|0}function Lf(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=l;l=l+272|0;y=C+264|0;u=C+260|0;z=C+256|0;v=C+252|0;A=C+248|0;B=C+244|0;w=C+240|0;g=C+176|0;h=C+140|0;i=C+104|0;j=C+100|0;k=C+96|0;m=C+92|0;n=C+88|0;o=C+84|0;p=C+80|0;x=C+16|0;q=C+12|0;r=C+8|0;s=C+4|0;t=C;c[y>>2]=a;c[u>>2]=e;c[z>>2]=f;c[s>>2]=0;c[v>>2]=(c[z>>2]|0)==16?30222:30238;c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[z>>2]|0))break;c[m>>2]=b[(c[u>>2]|0)+(c[A>>2]<<1)>>1]>>8;c[n>>2]=(b[(c[u>>2]|0)+(c[A>>2]<<1)>>1]|0)-(c[m>>2]<<8);c[o>>2]=b[24572+(c[m>>2]<<1)>>1];c[p>>2]=(b[24572+((c[m>>2]|0)+1<<1)>>1]|0)-(c[o>>2]|0);f=((c[o>>2]<<8)+(N(c[p>>2]|0,c[n>>2]|0)|0)>>3)+1>>1;c[g+(d[(c[v>>2]|0)+(c[A>>2]|0)>>0]<<2)>>2]=f;c[A>>2]=(c[A>>2]|0)+1}c[w>>2]=c[z>>2]>>1;Mf(h,g,c[w>>2]|0);Mf(i,g+4|0,c[w>>2]|0);c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[w>>2]|0))break;c[j>>2]=(c[h+((c[A>>2]|0)+1<<2)>>2]|0)+(c[h+(c[A>>2]<<2)>>2]|0);c[k>>2]=(c[i+((c[A>>2]|0)+1<<2)>>2]|0)-(c[i+(c[A>>2]<<2)>>2]|0);c[x+(c[A>>2]<<2)>>2]=0-(c[k>>2]|0)-(c[j>>2]|0);c[x+((c[z>>2]|0)-(c[A>>2]|0)-1<<2)>>2]=(c[k>>2]|0)-(c[j>>2]|0);c[A>>2]=(c[A>>2]|0)+1}c[B>>2]=0;while(1){if((c[B>>2]|0)>=10)break;c[q>>2]=0;c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[z>>2]|0))break;w=c[x+(c[A>>2]<<2)>>2]|0;c[r>>2]=(c[x+(c[A>>2]<<2)>>2]|0)>0?w:0-w|0;if((c[r>>2]|0)>(c[q>>2]|0)){c[q>>2]=c[r>>2];c[s>>2]=c[A>>2]}c[A>>2]=(c[A>>2]|0)+1}c[q>>2]=(c[q>>2]>>4)+1>>1;if((c[q>>2]|0)<=32767)break;c[q>>2]=(c[q>>2]|0)<163838?c[q>>2]|0:163838;c[t>>2]=65470-(((c[q>>2]|0)-32767<<14|0)/((N(c[q>>2]|0,(c[s>>2]|0)+1|0)|0)>>2|0)|0);xf(x,c[z>>2]|0,c[t>>2]|0);c[B>>2]=(c[B>>2]|0)+1}w=(c[B>>2]|0)==10;c[A>>2]=0;a:do if(w)while(1){if((c[A>>2]|0)>=(c[z>>2]|0))break a;if(((c[x+(c[A>>2]<<2)>>2]>>4)+1>>1|0)<=32767)if(((c[x+(c[A>>2]<<2)>>2]>>4)+1>>1|0)<-32768)a=-32768;else a=(c[x+(c[A>>2]<<2)>>2]>>4)+1>>1;else a=32767;b[(c[y>>2]|0)+(c[A>>2]<<1)>>1]=a;c[x+(c[A>>2]<<2)>>2]=b[(c[y>>2]|0)+(c[A>>2]<<1)>>1]<<5;c[A>>2]=(c[A>>2]|0)+1}else while(1){if((c[A>>2]|0)>=(c[z>>2]|0))break a;b[(c[y>>2]|0)+(c[A>>2]<<1)>>1]=(c[x+(c[A>>2]<<2)>>2]>>4)+1>>1;c[A>>2]=(c[A>>2]|0)+1}while(0);c[B>>2]=0;while(1){if((c[B>>2]|0)>=16){a=31;break}if((Hf(c[y>>2]|0,c[z>>2]|0)|0)>=107374){a=31;break}xf(x,c[z>>2]|0,65536-(2<>2])|0);c[A>>2]=0;while(1){if((c[A>>2]|0)>=(c[z>>2]|0))break;b[(c[y>>2]|0)+(c[A>>2]<<1)>>1]=(c[x+(c[A>>2]<<2)>>2]>>4)+1>>1;c[A>>2]=(c[A>>2]|0)+1}c[B>>2]=(c[B>>2]|0)+1}if((a|0)==31){l=C;return}}function Mf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;e=k+20|0;f=k+16|0;g=k+12|0;h=k+8|0;i=k+4|0;j=k;c[e>>2]=a;c[f>>2]=b;c[g>>2]=d;c[c[e>>2]>>2]=65536;c[(c[e>>2]|0)+4>>2]=0-(c[c[f>>2]>>2]|0);c[h>>2]=1;while(1){if((c[h>>2]|0)>=(c[g>>2]|0))break;c[j>>2]=c[(c[f>>2]|0)+(c[h>>2]<<1<<2)>>2];b=c[(c[e>>2]|0)+((c[h>>2]|0)-1<<2)>>2]<<1;a=c[j>>2]|0;d=c[(c[e>>2]|0)+(c[h>>2]<<2)>>2]|0;d=Xi(a|0,((a|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;d=Yi(d|0,y|0,15)|0;d=Zi(d|0,y|0,1,0)|0;d=Yi(d|0,y|0,1)|0;c[(c[e>>2]|0)+((c[h>>2]|0)+1<<2)>>2]=b-d;c[i>>2]=c[h>>2];while(1){if((c[i>>2]|0)<=1)break;a=c[(c[e>>2]|0)+((c[i>>2]|0)-2<<2)>>2]|0;d=c[j>>2]|0;b=c[(c[e>>2]|0)+((c[i>>2]|0)-1<<2)>>2]|0;b=Xi(d|0,((d|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;b=Yi(b|0,y|0,15)|0;b=Zi(b|0,y|0,1,0)|0;b=Yi(b|0,y|0,1)|0;d=(c[e>>2]|0)+(c[i>>2]<<2)|0;c[d>>2]=(c[d>>2]|0)+(a-b);c[i>>2]=(c[i>>2]|0)+-1}d=(c[e>>2]|0)+4|0;c[d>>2]=(c[d>>2]|0)-(c[j>>2]|0);c[h>>2]=(c[h>>2]|0)+1}l=k;return}
+function ca(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function da(){return l|0}function ea(a){a=a|0;l=a}function fa(a,b){a=a|0;b=b|0;l=a;m=b}function ga(a,b){a=a|0;b=b|0;if(!n){n=a;o=b}}function ha(a){a=a|0;y=a}function ia(){return y|0}function ja(a,b,d,e,f){a=+a;b=b|0;d=d|0;e=e|0;f=f|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;i=o+20|0;j=o+16|0;k=o+12|0;m=o+8|0;n=o+4|0;h=o;g[i>>2]=a;c[j>>2]=b;c[k>>2]=d;c[m>>2]=e;c[n>>2]=f;c[h>>2]=0;while(1){if((c[h>>2]|0)>=(c[m>>2]|0))break;if(+g[i>>2]<+g[(c[j>>2]|0)+(c[h>>2]<<2)>>2])break;c[h>>2]=(c[h>>2]|0)+1}if((c[h>>2]|0)>(c[n>>2]|0)?+g[i>>2]<+g[(c[j>>2]|0)+(c[n>>2]<<2)>>2]+ +g[(c[k>>2]|0)+(c[n>>2]<<2)>>2]:0)c[h>>2]=c[n>>2];if((c[h>>2]|0)>=(c[n>>2]|0)){n=c[h>>2]|0;l=o;return n|0}if(!(+g[i>>2]>+g[(c[j>>2]|0)+((c[n>>2]|0)-1<<2)>>2]-+g[(c[k>>2]|0)+((c[n>>2]|0)-1<<2)>>2])){n=c[h>>2]|0;l=o;return n|0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